game_client_logic_deb 1.6.56 → 1.7.58
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 +906 -888
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +8422 -8285
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +42 -33
- package/Logic_Debertz-game_client.js +2873 -2922
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +9 -9
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +8 -8
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
package/Logic_Debertz-core.js
CHANGED
|
@@ -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.b2m().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.h2r() : context;
|
|
230
|
+
return $super === VOID ? this.i2r(context, block) : $super.i2r.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.h2r() : context;
|
|
234
|
+
return $super === VOID ? this.k2r(context, block) : $super.k2r.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.h2r() : context;
|
|
238
|
+
return $super === VOID ? this.m2r(context, block) : $super.m2r.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.h2r() : context;
|
|
242
|
+
return $super === VOID ? this.o2r(context, block) : $super.o2r.call(this, context, block);
|
|
243
243
|
}
|
|
244
244
|
setMetadataFor(AsyncProvider, 'AsyncProvider', interfaceMeta);
|
|
245
245
|
setMetadataFor(_no_name_provided__qut3iv, VOID, classMeta, AbstractCoroutineContextElement, [AbstractCoroutineContextElement, Element]);
|
|
@@ -257,6 +257,7 @@
|
|
|
257
257
|
setMetadataFor($appendToFileCOROUTINE$0, '$appendToFileCOROUTINE$0', classMeta, CoroutineImpl);
|
|
258
258
|
setMetadataFor(LogsStorageControllerImpl, 'LogsStorageControllerImpl', classMeta, VOID, VOID, VOID, VOID, VOID, [1]);
|
|
259
259
|
setMetadataFor(BufferedAction, 'BufferedAction', interfaceMeta, VOID, [Action]);
|
|
260
|
+
setMetadataFor(IgnoreBufferForAction, 'IgnoreBufferForAction', interfaceMeta, VOID, [Action]);
|
|
260
261
|
setMetadataFor(ReleaseBufferTriggerAction, 'ReleaseBufferTriggerAction', interfaceMeta, VOID, [Action]);
|
|
261
262
|
function ignoreExpectant() {
|
|
262
263
|
return false;
|
|
@@ -268,7 +269,7 @@
|
|
|
268
269
|
return false;
|
|
269
270
|
}
|
|
270
271
|
function get_isAutoStartTimer() {
|
|
271
|
-
return !this.
|
|
272
|
+
return !this.k2u() ? !this.l2u() : false;
|
|
272
273
|
}
|
|
273
274
|
setMetadataFor(ExpectantAction, 'ExpectantAction', interfaceMeta, VOID, [BufferedAction]);
|
|
274
275
|
setMetadataFor(TimerAction, 'TimerAction', classMeta, VOID, [Action]);
|
|
@@ -315,19 +316,19 @@
|
|
|
315
316
|
function d(tag, message, payload, $super) {
|
|
316
317
|
tag = tag === VOID ? null : tag;
|
|
317
318
|
payload = payload === VOID ? null : payload;
|
|
318
|
-
return this.
|
|
319
|
+
return this.f2z(tag, message, payload);
|
|
319
320
|
}
|
|
320
321
|
function e(tag, message, exception, payload, $super) {
|
|
321
322
|
tag = tag === VOID ? null : tag;
|
|
322
323
|
message = message === VOID ? null : message;
|
|
323
324
|
exception = exception === VOID ? null : exception;
|
|
324
325
|
payload = payload === VOID ? null : payload;
|
|
325
|
-
return this.
|
|
326
|
+
return this.g2z(tag, message, exception, payload);
|
|
326
327
|
}
|
|
327
328
|
function w(tag, message, payload, $super) {
|
|
328
329
|
tag = tag === VOID ? null : tag;
|
|
329
330
|
payload = payload === VOID ? null : payload;
|
|
330
|
-
return this.
|
|
331
|
+
return this.h2z(tag, message, payload);
|
|
331
332
|
}
|
|
332
333
|
setMetadataFor(LoggerOutput, 'LoggerOutput', interfaceMeta);
|
|
333
334
|
setMetadataFor(GameLogger, 'GameLogger', interfaceMeta, VOID, [LoggerOutput]);
|
|
@@ -339,7 +340,7 @@
|
|
|
339
340
|
setMetadataFor(LogType, 'LogType', classMeta, Enum, VOID, VOID, VOID, {0: Companion_getInstance_24});
|
|
340
341
|
function observe(types, $super) {
|
|
341
342
|
types = types === VOID ? values_4() : types;
|
|
342
|
-
return this.
|
|
343
|
+
return this.o2z(types);
|
|
343
344
|
}
|
|
344
345
|
setMetadataFor(ObservableLoggerOutput, 'ObservableLoggerOutput', interfaceMeta, VOID, [LoggerOutput, LoggerEnabledTrigger]);
|
|
345
346
|
setMetadataFor(Companion_23, 'Companion', objectMeta);
|
|
@@ -348,7 +349,7 @@
|
|
|
348
349
|
setMetadataFor(PlatformLogger, 'PlatformLogger', classMeta, VOID, VOID, PlatformLogger);
|
|
349
350
|
//endregion
|
|
350
351
|
function GameEngineConfig() {
|
|
351
|
-
this.version = '1.
|
|
352
|
+
this.version = '1.7.58';
|
|
352
353
|
}
|
|
353
354
|
protoOf(GameEngineConfig).b2k = function () {
|
|
354
355
|
return this.version;
|
|
@@ -360,11 +361,22 @@
|
|
|
360
361
|
function Toggles() {
|
|
361
362
|
}
|
|
362
363
|
protoOf(Toggles).c2k = function (version) {
|
|
363
|
-
return version > 5;
|
|
364
|
+
return get_minorVersion(version) > 5;
|
|
364
365
|
};
|
|
365
366
|
protoOf(Toggles).d2k = function () {
|
|
366
367
|
return false;
|
|
367
368
|
};
|
|
369
|
+
protoOf(Toggles).e2k = function () {
|
|
370
|
+
return false;
|
|
371
|
+
};
|
|
372
|
+
protoOf(Toggles).f2k = function (version) {
|
|
373
|
+
var minorVersion = get_minorVersion(version);
|
|
374
|
+
return minorVersion > 6;
|
|
375
|
+
};
|
|
376
|
+
protoOf(Toggles).g2k = function (version) {
|
|
377
|
+
var minorVersion = get_minorVersion(version);
|
|
378
|
+
return minorVersion > 7;
|
|
379
|
+
};
|
|
368
380
|
var Toggles_instance;
|
|
369
381
|
function Toggles_getInstance() {
|
|
370
382
|
return Toggles_instance;
|
|
@@ -379,10 +391,10 @@
|
|
|
379
391
|
$serializer_instance = this;
|
|
380
392
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_RETURNS', this, 1);
|
|
381
393
|
tmp0_serialDesc.ku('playerId', false);
|
|
382
|
-
this.
|
|
394
|
+
this.h2k_1 = tmp0_serialDesc;
|
|
383
395
|
}
|
|
384
396
|
protoOf($serializer).pj = function () {
|
|
385
|
-
return this.
|
|
397
|
+
return this.h2k_1;
|
|
386
398
|
};
|
|
387
399
|
protoOf($serializer).zu = function () {
|
|
388
400
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -391,7 +403,7 @@
|
|
|
391
403
|
return [StringSerializer_getInstance()];
|
|
392
404
|
};
|
|
393
405
|
protoOf($serializer).rj = function (decoder) {
|
|
394
|
-
var tmp0_desc = this.
|
|
406
|
+
var tmp0_desc = this.h2k_1;
|
|
395
407
|
var tmp1_flag = true;
|
|
396
408
|
var tmp2_index = 0;
|
|
397
409
|
var tmp3_bitMask0 = 0;
|
|
@@ -418,14 +430,14 @@
|
|
|
418
430
|
tmp5_input.ym(tmp0_desc);
|
|
419
431
|
return PlayerReturnsReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
420
432
|
};
|
|
421
|
-
protoOf($serializer).
|
|
422
|
-
var tmp0_desc = this.
|
|
433
|
+
protoOf($serializer).i2k = function (encoder, value) {
|
|
434
|
+
var tmp0_desc = this.h2k_1;
|
|
423
435
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
424
|
-
tmp1_output.mo(tmp0_desc, 0, value.
|
|
436
|
+
tmp1_output.mo(tmp0_desc, 0, value.j2k_1);
|
|
425
437
|
tmp1_output.ym(tmp0_desc);
|
|
426
438
|
};
|
|
427
439
|
protoOf($serializer).qj = function (encoder, value) {
|
|
428
|
-
return this.
|
|
440
|
+
return this.i2k(encoder, value instanceof PlayerReturnsReason ? value : THROW_CCE());
|
|
429
441
|
};
|
|
430
442
|
var $serializer_instance;
|
|
431
443
|
function $serializer_getInstance() {
|
|
@@ -435,10 +447,10 @@
|
|
|
435
447
|
}
|
|
436
448
|
function PlayerReturnsReason_init_$Init$(seen1, playerId, serializationConstructorMarker, $this) {
|
|
437
449
|
if (!(1 === (1 & seen1))) {
|
|
438
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance().
|
|
450
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance().h2k_1);
|
|
439
451
|
}
|
|
440
452
|
ContinueGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
441
|
-
$this.
|
|
453
|
+
$this.j2k_1 = playerId;
|
|
442
454
|
return $this;
|
|
443
455
|
}
|
|
444
456
|
function PlayerReturnsReason_init_$Create$(seen1, playerId, serializationConstructorMarker) {
|
|
@@ -446,13 +458,13 @@
|
|
|
446
458
|
}
|
|
447
459
|
function PlayerReturnsReason(playerId) {
|
|
448
460
|
ContinueGameReason.call(this);
|
|
449
|
-
this.
|
|
461
|
+
this.j2k_1 = playerId;
|
|
450
462
|
}
|
|
451
463
|
protoOf(PlayerReturnsReason).toString = function () {
|
|
452
|
-
return 'PlayerReturnsReason(playerId=' + this.
|
|
464
|
+
return 'PlayerReturnsReason(playerId=' + this.j2k_1 + ')';
|
|
453
465
|
};
|
|
454
466
|
protoOf(PlayerReturnsReason).hashCode = function () {
|
|
455
|
-
return getStringHashCode(this.
|
|
467
|
+
return getStringHashCode(this.j2k_1);
|
|
456
468
|
};
|
|
457
469
|
protoOf(PlayerReturnsReason).equals = function (other) {
|
|
458
470
|
if (this === other)
|
|
@@ -460,12 +472,12 @@
|
|
|
460
472
|
if (!(other instanceof PlayerReturnsReason))
|
|
461
473
|
return false;
|
|
462
474
|
var tmp0_other_with_cast = other instanceof PlayerReturnsReason ? other : THROW_CCE();
|
|
463
|
-
if (!(this.
|
|
475
|
+
if (!(this.j2k_1 === tmp0_other_with_cast.j2k_1))
|
|
464
476
|
return false;
|
|
465
477
|
return true;
|
|
466
478
|
};
|
|
467
479
|
function _get_$cachedSerializer__te6jhj($this) {
|
|
468
|
-
return $this.
|
|
480
|
+
return $this.k2k_1.o2();
|
|
469
481
|
}
|
|
470
482
|
function ContinueGameReason$Companion$_anonymous__g3m3ym() {
|
|
471
483
|
var tmp = getKClass(ContinueGameReason);
|
|
@@ -487,7 +499,7 @@
|
|
|
487
499
|
Companion_instance_0 = this;
|
|
488
500
|
var tmp = this;
|
|
489
501
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
490
|
-
tmp.
|
|
502
|
+
tmp.k2k_1 = lazy(tmp_0, ContinueGameReason$Companion$_anonymous__g3m3ym);
|
|
491
503
|
}
|
|
492
504
|
protoOf(Companion_0).t16 = function () {
|
|
493
505
|
return _get_$cachedSerializer__te6jhj(this);
|
|
@@ -517,16 +529,16 @@
|
|
|
517
529
|
this.logsDirectoryPath = logsDirectoryPath;
|
|
518
530
|
this.fileNameFormat = fileNameFormat;
|
|
519
531
|
}
|
|
520
|
-
protoOf(CoreConfig).
|
|
532
|
+
protoOf(CoreConfig).l2k = function () {
|
|
521
533
|
return this.fileLogsEnabled;
|
|
522
534
|
};
|
|
523
|
-
protoOf(CoreConfig).
|
|
535
|
+
protoOf(CoreConfig).m2k = function () {
|
|
524
536
|
return this.deleteFilesOnClear;
|
|
525
537
|
};
|
|
526
|
-
protoOf(CoreConfig).
|
|
538
|
+
protoOf(CoreConfig).n2k = function () {
|
|
527
539
|
return this.logsDirectoryPath;
|
|
528
540
|
};
|
|
529
|
-
protoOf(CoreConfig).
|
|
541
|
+
protoOf(CoreConfig).o2k = function () {
|
|
530
542
|
return this.fileNameFormat;
|
|
531
543
|
};
|
|
532
544
|
protoOf(CoreConfig).cd = function () {
|
|
@@ -538,10 +550,10 @@
|
|
|
538
550
|
protoOf(CoreConfig).qh = function () {
|
|
539
551
|
return this.logsDirectoryPath;
|
|
540
552
|
};
|
|
541
|
-
protoOf(CoreConfig).
|
|
553
|
+
protoOf(CoreConfig).p2k = function () {
|
|
542
554
|
return this.fileNameFormat;
|
|
543
555
|
};
|
|
544
|
-
protoOf(CoreConfig).
|
|
556
|
+
protoOf(CoreConfig).q2k = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat) {
|
|
545
557
|
return new CoreConfig(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
546
558
|
};
|
|
547
559
|
protoOf(CoreConfig).copy = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat, $super) {
|
|
@@ -549,7 +561,7 @@
|
|
|
549
561
|
deleteFilesOnClear = deleteFilesOnClear === VOID ? this.deleteFilesOnClear : deleteFilesOnClear;
|
|
550
562
|
logsDirectoryPath = logsDirectoryPath === VOID ? this.logsDirectoryPath : logsDirectoryPath;
|
|
551
563
|
fileNameFormat = fileNameFormat === VOID ? this.fileNameFormat : fileNameFormat;
|
|
552
|
-
return this.
|
|
564
|
+
return this.q2k(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
553
565
|
};
|
|
554
566
|
protoOf(CoreConfig).toString = function () {
|
|
555
567
|
return 'CoreConfig(fileLogsEnabled=' + this.fileLogsEnabled + ', deleteFilesOnClear=' + this.deleteFilesOnClear + ', logsDirectoryPath=' + this.logsDirectoryPath + ', fileNameFormat=' + this.fileNameFormat + ')';
|
|
@@ -578,7 +590,7 @@
|
|
|
578
590
|
return true;
|
|
579
591
|
};
|
|
580
592
|
function _get_$cachedSerializer__te6jhj_0($this) {
|
|
581
|
-
return $this.
|
|
593
|
+
return $this.r2k_1.o2();
|
|
582
594
|
}
|
|
583
595
|
function RestartGameReason$_anonymous__zfkhim() {
|
|
584
596
|
var tmp = RestartGameReason_getInstance();
|
|
@@ -592,7 +604,7 @@
|
|
|
592
604
|
RestartGameReason_instance = this;
|
|
593
605
|
var tmp = this;
|
|
594
606
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
595
|
-
tmp.
|
|
607
|
+
tmp.r2k_1 = lazy(tmp_0, RestartGameReason$_anonymous__zfkhim);
|
|
596
608
|
}
|
|
597
609
|
protoOf(RestartGameReason).toString = function () {
|
|
598
610
|
return 'RestartGameReason';
|
|
@@ -610,7 +622,7 @@
|
|
|
610
622
|
return RestartGameReason_instance;
|
|
611
623
|
}
|
|
612
624
|
function _get_$cachedSerializer__te6jhj_1($this) {
|
|
613
|
-
return $this.
|
|
625
|
+
return $this.s2k_1.o2();
|
|
614
626
|
}
|
|
615
627
|
function TerminationGameReason$Companion$_anonymous__6itbqj() {
|
|
616
628
|
var tmp = getKClass(TerminationGameReason);
|
|
@@ -648,7 +660,7 @@
|
|
|
648
660
|
Companion_instance_1 = this;
|
|
649
661
|
var tmp = this;
|
|
650
662
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
651
|
-
tmp.
|
|
663
|
+
tmp.s2k_1 = lazy(tmp_0, TerminationGameReason$Companion$_anonymous__6itbqj);
|
|
652
664
|
}
|
|
653
665
|
protoOf(Companion_1).t16 = function () {
|
|
654
666
|
return _get_$cachedSerializer__te6jhj_1(this);
|
|
@@ -682,10 +694,10 @@
|
|
|
682
694
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
683
695
|
tmp0_serialDesc.ku('playerId', false);
|
|
684
696
|
tmp0_serialDesc.ku('tag', false);
|
|
685
|
-
this.
|
|
697
|
+
this.t2k_1 = tmp0_serialDesc;
|
|
686
698
|
}
|
|
687
699
|
protoOf($serializer_0).pj = function () {
|
|
688
|
-
return this.
|
|
700
|
+
return this.t2k_1;
|
|
689
701
|
};
|
|
690
702
|
protoOf($serializer_0).zu = function () {
|
|
691
703
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -694,7 +706,7 @@
|
|
|
694
706
|
return [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
695
707
|
};
|
|
696
708
|
protoOf($serializer_0).rj = function (decoder) {
|
|
697
|
-
var tmp0_desc = this.
|
|
709
|
+
var tmp0_desc = this.t2k_1;
|
|
698
710
|
var tmp1_flag = true;
|
|
699
711
|
var tmp2_index = 0;
|
|
700
712
|
var tmp3_bitMask0 = 0;
|
|
@@ -728,15 +740,15 @@
|
|
|
728
740
|
tmp6_input.ym(tmp0_desc);
|
|
729
741
|
return PlayerLostConnectionReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
730
742
|
};
|
|
731
|
-
protoOf($serializer_0).
|
|
732
|
-
var tmp0_desc = this.
|
|
743
|
+
protoOf($serializer_0).u2k = function (encoder, value) {
|
|
744
|
+
var tmp0_desc = this.t2k_1;
|
|
733
745
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
734
|
-
tmp1_output.mo(tmp0_desc, 0, value.
|
|
746
|
+
tmp1_output.mo(tmp0_desc, 0, value.v2k_1);
|
|
735
747
|
tmp1_output.qo(tmp0_desc, 1, StringSerializer_getInstance(), value.tag);
|
|
736
748
|
tmp1_output.ym(tmp0_desc);
|
|
737
749
|
};
|
|
738
750
|
protoOf($serializer_0).qj = function (encoder, value) {
|
|
739
|
-
return this.
|
|
751
|
+
return this.u2k(encoder, value instanceof PlayerLostConnectionReason ? value : THROW_CCE());
|
|
740
752
|
};
|
|
741
753
|
var $serializer_instance_0;
|
|
742
754
|
function $serializer_getInstance_0() {
|
|
@@ -746,10 +758,10 @@
|
|
|
746
758
|
}
|
|
747
759
|
function PlayerLostConnectionReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
748
760
|
if (!(3 === (3 & seen1))) {
|
|
749
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_0().
|
|
761
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_0().t2k_1);
|
|
750
762
|
}
|
|
751
763
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
752
|
-
$this.
|
|
764
|
+
$this.v2k_1 = playerId;
|
|
753
765
|
$this.tag = tag;
|
|
754
766
|
return $this;
|
|
755
767
|
}
|
|
@@ -758,37 +770,37 @@
|
|
|
758
770
|
}
|
|
759
771
|
function PlayerLostConnectionReason(playerId, tag) {
|
|
760
772
|
TerminationGameReason.call(this);
|
|
761
|
-
this.
|
|
773
|
+
this.v2k_1 = playerId;
|
|
762
774
|
this.tag = tag;
|
|
763
775
|
}
|
|
764
|
-
protoOf(PlayerLostConnectionReason).
|
|
765
|
-
return this.
|
|
776
|
+
protoOf(PlayerLostConnectionReason).w2k = function () {
|
|
777
|
+
return this.v2k_1;
|
|
766
778
|
};
|
|
767
|
-
protoOf(PlayerLostConnectionReason).
|
|
779
|
+
protoOf(PlayerLostConnectionReason).x2k = function () {
|
|
768
780
|
return this.tag;
|
|
769
781
|
};
|
|
770
|
-
protoOf(PlayerLostConnectionReason).
|
|
782
|
+
protoOf(PlayerLostConnectionReason).y2k = function () {
|
|
771
783
|
return PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
772
784
|
};
|
|
773
785
|
protoOf(PlayerLostConnectionReason).cd = function () {
|
|
774
|
-
return this.
|
|
786
|
+
return this.v2k_1;
|
|
775
787
|
};
|
|
776
788
|
protoOf(PlayerLostConnectionReason).dd = function () {
|
|
777
789
|
return this.tag;
|
|
778
790
|
};
|
|
779
|
-
protoOf(PlayerLostConnectionReason).
|
|
791
|
+
protoOf(PlayerLostConnectionReason).z2k = function (playerId, tag) {
|
|
780
792
|
return new PlayerLostConnectionReason(playerId, tag);
|
|
781
793
|
};
|
|
782
794
|
protoOf(PlayerLostConnectionReason).copy = function (playerId, tag, $super) {
|
|
783
|
-
playerId = playerId === VOID ? this.
|
|
795
|
+
playerId = playerId === VOID ? this.v2k_1 : playerId;
|
|
784
796
|
tag = tag === VOID ? this.tag : tag;
|
|
785
|
-
return this.
|
|
797
|
+
return this.z2k(playerId, tag);
|
|
786
798
|
};
|
|
787
799
|
protoOf(PlayerLostConnectionReason).toString = function () {
|
|
788
|
-
return 'PlayerLostConnectionReason(playerId=' + this.
|
|
800
|
+
return 'PlayerLostConnectionReason(playerId=' + this.v2k_1 + ', tag=' + this.tag + ')';
|
|
789
801
|
};
|
|
790
802
|
protoOf(PlayerLostConnectionReason).hashCode = function () {
|
|
791
|
-
var result = getStringHashCode(this.
|
|
803
|
+
var result = getStringHashCode(this.v2k_1);
|
|
792
804
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
793
805
|
return result;
|
|
794
806
|
};
|
|
@@ -798,7 +810,7 @@
|
|
|
798
810
|
if (!(other instanceof PlayerLostConnectionReason))
|
|
799
811
|
return false;
|
|
800
812
|
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReason ? other : THROW_CCE();
|
|
801
|
-
if (!(this.
|
|
813
|
+
if (!(this.v2k_1 === tmp0_other_with_cast.v2k_1))
|
|
802
814
|
return false;
|
|
803
815
|
if (!(this.tag == tmp0_other_with_cast.tag))
|
|
804
816
|
return false;
|
|
@@ -818,10 +830,10 @@
|
|
|
818
830
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
819
831
|
tmp0_serialDesc.ku('playerId', false);
|
|
820
832
|
tmp0_serialDesc.ku('tag', false);
|
|
821
|
-
this.
|
|
833
|
+
this.a2l_1 = tmp0_serialDesc;
|
|
822
834
|
}
|
|
823
835
|
protoOf($serializer_1).pj = function () {
|
|
824
|
-
return this.
|
|
836
|
+
return this.a2l_1;
|
|
825
837
|
};
|
|
826
838
|
protoOf($serializer_1).zu = function () {
|
|
827
839
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -830,7 +842,7 @@
|
|
|
830
842
|
return [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
831
843
|
};
|
|
832
844
|
protoOf($serializer_1).rj = function (decoder) {
|
|
833
|
-
var tmp0_desc = this.
|
|
845
|
+
var tmp0_desc = this.a2l_1;
|
|
834
846
|
var tmp1_flag = true;
|
|
835
847
|
var tmp2_index = 0;
|
|
836
848
|
var tmp3_bitMask0 = 0;
|
|
@@ -864,15 +876,15 @@
|
|
|
864
876
|
tmp6_input.ym(tmp0_desc);
|
|
865
877
|
return PlayerTimeoutReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
866
878
|
};
|
|
867
|
-
protoOf($serializer_1).
|
|
868
|
-
var tmp0_desc = this.
|
|
879
|
+
protoOf($serializer_1).b2l = function (encoder, value) {
|
|
880
|
+
var tmp0_desc = this.a2l_1;
|
|
869
881
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
870
|
-
tmp1_output.mo(tmp0_desc, 0, value.
|
|
882
|
+
tmp1_output.mo(tmp0_desc, 0, value.c2l_1);
|
|
871
883
|
tmp1_output.qo(tmp0_desc, 1, StringSerializer_getInstance(), value.tag);
|
|
872
884
|
tmp1_output.ym(tmp0_desc);
|
|
873
885
|
};
|
|
874
886
|
protoOf($serializer_1).qj = function (encoder, value) {
|
|
875
|
-
return this.
|
|
887
|
+
return this.b2l(encoder, value instanceof PlayerTimeoutReason ? value : THROW_CCE());
|
|
876
888
|
};
|
|
877
889
|
var $serializer_instance_1;
|
|
878
890
|
function $serializer_getInstance_1() {
|
|
@@ -882,10 +894,10 @@
|
|
|
882
894
|
}
|
|
883
895
|
function PlayerTimeoutReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
884
896
|
if (!(3 === (3 & seen1))) {
|
|
885
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_1().
|
|
897
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_1().a2l_1);
|
|
886
898
|
}
|
|
887
899
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
888
|
-
$this.
|
|
900
|
+
$this.c2l_1 = playerId;
|
|
889
901
|
$this.tag = tag;
|
|
890
902
|
return $this;
|
|
891
903
|
}
|
|
@@ -894,37 +906,37 @@
|
|
|
894
906
|
}
|
|
895
907
|
function PlayerTimeoutReason(playerId, tag) {
|
|
896
908
|
TerminationGameReason.call(this);
|
|
897
|
-
this.
|
|
909
|
+
this.c2l_1 = playerId;
|
|
898
910
|
this.tag = tag;
|
|
899
911
|
}
|
|
900
|
-
protoOf(PlayerTimeoutReason).
|
|
901
|
-
return this.
|
|
912
|
+
protoOf(PlayerTimeoutReason).w2k = function () {
|
|
913
|
+
return this.c2l_1;
|
|
902
914
|
};
|
|
903
|
-
protoOf(PlayerTimeoutReason).
|
|
915
|
+
protoOf(PlayerTimeoutReason).x2k = function () {
|
|
904
916
|
return this.tag;
|
|
905
917
|
};
|
|
906
|
-
protoOf(PlayerTimeoutReason).
|
|
918
|
+
protoOf(PlayerTimeoutReason).y2k = function () {
|
|
907
919
|
return PlayerConnectionState_TIMEOUT_getInstance();
|
|
908
920
|
};
|
|
909
921
|
protoOf(PlayerTimeoutReason).cd = function () {
|
|
910
|
-
return this.
|
|
922
|
+
return this.c2l_1;
|
|
911
923
|
};
|
|
912
924
|
protoOf(PlayerTimeoutReason).dd = function () {
|
|
913
925
|
return this.tag;
|
|
914
926
|
};
|
|
915
|
-
protoOf(PlayerTimeoutReason).
|
|
927
|
+
protoOf(PlayerTimeoutReason).z2k = function (playerId, tag) {
|
|
916
928
|
return new PlayerTimeoutReason(playerId, tag);
|
|
917
929
|
};
|
|
918
930
|
protoOf(PlayerTimeoutReason).copy = function (playerId, tag, $super) {
|
|
919
|
-
playerId = playerId === VOID ? this.
|
|
931
|
+
playerId = playerId === VOID ? this.c2l_1 : playerId;
|
|
920
932
|
tag = tag === VOID ? this.tag : tag;
|
|
921
|
-
return this.
|
|
933
|
+
return this.z2k(playerId, tag);
|
|
922
934
|
};
|
|
923
935
|
protoOf(PlayerTimeoutReason).toString = function () {
|
|
924
|
-
return 'PlayerTimeoutReason(playerId=' + this.
|
|
936
|
+
return 'PlayerTimeoutReason(playerId=' + this.c2l_1 + ', tag=' + this.tag + ')';
|
|
925
937
|
};
|
|
926
938
|
protoOf(PlayerTimeoutReason).hashCode = function () {
|
|
927
|
-
var result = getStringHashCode(this.
|
|
939
|
+
var result = getStringHashCode(this.c2l_1);
|
|
928
940
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
929
941
|
return result;
|
|
930
942
|
};
|
|
@@ -934,7 +946,7 @@
|
|
|
934
946
|
if (!(other instanceof PlayerTimeoutReason))
|
|
935
947
|
return false;
|
|
936
948
|
var tmp0_other_with_cast = other instanceof PlayerTimeoutReason ? other : THROW_CCE();
|
|
937
|
-
if (!(this.
|
|
949
|
+
if (!(this.c2l_1 === tmp0_other_with_cast.c2l_1))
|
|
938
950
|
return false;
|
|
939
951
|
if (!(this.tag == tmp0_other_with_cast.tag))
|
|
940
952
|
return false;
|
|
@@ -953,10 +965,10 @@
|
|
|
953
965
|
$serializer_instance_2 = this;
|
|
954
966
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
955
967
|
tmp0_serialDesc.ku('playerId', false);
|
|
956
|
-
this.
|
|
968
|
+
this.d2l_1 = tmp0_serialDesc;
|
|
957
969
|
}
|
|
958
970
|
protoOf($serializer_2).pj = function () {
|
|
959
|
-
return this.
|
|
971
|
+
return this.d2l_1;
|
|
960
972
|
};
|
|
961
973
|
protoOf($serializer_2).zu = function () {
|
|
962
974
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -965,7 +977,7 @@
|
|
|
965
977
|
return [StringSerializer_getInstance()];
|
|
966
978
|
};
|
|
967
979
|
protoOf($serializer_2).rj = function (decoder) {
|
|
968
|
-
var tmp0_desc = this.
|
|
980
|
+
var tmp0_desc = this.d2l_1;
|
|
969
981
|
var tmp1_flag = true;
|
|
970
982
|
var tmp2_index = 0;
|
|
971
983
|
var tmp3_bitMask0 = 0;
|
|
@@ -992,14 +1004,14 @@
|
|
|
992
1004
|
tmp5_input.ym(tmp0_desc);
|
|
993
1005
|
return PlayerExitReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
994
1006
|
};
|
|
995
|
-
protoOf($serializer_2).
|
|
996
|
-
var tmp0_desc = this.
|
|
1007
|
+
protoOf($serializer_2).e2l = function (encoder, value) {
|
|
1008
|
+
var tmp0_desc = this.d2l_1;
|
|
997
1009
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
998
|
-
tmp1_output.mo(tmp0_desc, 0, value.
|
|
1010
|
+
tmp1_output.mo(tmp0_desc, 0, value.f2l_1);
|
|
999
1011
|
tmp1_output.ym(tmp0_desc);
|
|
1000
1012
|
};
|
|
1001
1013
|
protoOf($serializer_2).qj = function (encoder, value) {
|
|
1002
|
-
return this.
|
|
1014
|
+
return this.e2l(encoder, value instanceof PlayerExitReason ? value : THROW_CCE());
|
|
1003
1015
|
};
|
|
1004
1016
|
var $serializer_instance_2;
|
|
1005
1017
|
function $serializer_getInstance_2() {
|
|
@@ -1009,10 +1021,10 @@
|
|
|
1009
1021
|
}
|
|
1010
1022
|
function PlayerExitReason_init_$Init$(seen1, playerId, serializationConstructorMarker, $this) {
|
|
1011
1023
|
if (!(1 === (1 & seen1))) {
|
|
1012
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_2().
|
|
1024
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_2().d2l_1);
|
|
1013
1025
|
}
|
|
1014
1026
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1015
|
-
$this.
|
|
1027
|
+
$this.f2l_1 = playerId;
|
|
1016
1028
|
return $this;
|
|
1017
1029
|
}
|
|
1018
1030
|
function PlayerExitReason_init_$Create$(seen1, playerId, serializationConstructorMarker) {
|
|
@@ -1020,29 +1032,29 @@
|
|
|
1020
1032
|
}
|
|
1021
1033
|
function PlayerExitReason(playerId) {
|
|
1022
1034
|
TerminationGameReason.call(this);
|
|
1023
|
-
this.
|
|
1035
|
+
this.f2l_1 = playerId;
|
|
1024
1036
|
}
|
|
1025
|
-
protoOf(PlayerExitReason).
|
|
1026
|
-
return this.
|
|
1037
|
+
protoOf(PlayerExitReason).w2k = function () {
|
|
1038
|
+
return this.f2l_1;
|
|
1027
1039
|
};
|
|
1028
|
-
protoOf(PlayerExitReason).
|
|
1040
|
+
protoOf(PlayerExitReason).y2k = function () {
|
|
1029
1041
|
return PlayerConnectionState_LEFT_getInstance();
|
|
1030
1042
|
};
|
|
1031
1043
|
protoOf(PlayerExitReason).cd = function () {
|
|
1032
|
-
return this.
|
|
1044
|
+
return this.f2l_1;
|
|
1033
1045
|
};
|
|
1034
|
-
protoOf(PlayerExitReason).
|
|
1046
|
+
protoOf(PlayerExitReason).g2l = function (playerId) {
|
|
1035
1047
|
return new PlayerExitReason(playerId);
|
|
1036
1048
|
};
|
|
1037
1049
|
protoOf(PlayerExitReason).copy = function (playerId, $super) {
|
|
1038
|
-
playerId = playerId === VOID ? this.
|
|
1039
|
-
return this.
|
|
1050
|
+
playerId = playerId === VOID ? this.f2l_1 : playerId;
|
|
1051
|
+
return this.g2l(playerId);
|
|
1040
1052
|
};
|
|
1041
1053
|
protoOf(PlayerExitReason).toString = function () {
|
|
1042
|
-
return 'PlayerExitReason(playerId=' + this.
|
|
1054
|
+
return 'PlayerExitReason(playerId=' + this.f2l_1 + ')';
|
|
1043
1055
|
};
|
|
1044
1056
|
protoOf(PlayerExitReason).hashCode = function () {
|
|
1045
|
-
return getStringHashCode(this.
|
|
1057
|
+
return getStringHashCode(this.f2l_1);
|
|
1046
1058
|
};
|
|
1047
1059
|
protoOf(PlayerExitReason).equals = function (other) {
|
|
1048
1060
|
if (this === other)
|
|
@@ -1050,12 +1062,12 @@
|
|
|
1050
1062
|
if (!(other instanceof PlayerExitReason))
|
|
1051
1063
|
return false;
|
|
1052
1064
|
var tmp0_other_with_cast = other instanceof PlayerExitReason ? other : THROW_CCE();
|
|
1053
|
-
if (!(this.
|
|
1065
|
+
if (!(this.f2l_1 === tmp0_other_with_cast.f2l_1))
|
|
1054
1066
|
return false;
|
|
1055
1067
|
return true;
|
|
1056
1068
|
};
|
|
1057
1069
|
function _get_$cachedSerializer__te6jhj_2($this) {
|
|
1058
|
-
return $this.
|
|
1070
|
+
return $this.h2l_1.o2();
|
|
1059
1071
|
}
|
|
1060
1072
|
function GameFinishedReason$Reason$Companion$_anonymous__q2gwr5() {
|
|
1061
1073
|
return createSimpleEnumSerializer('com.logic.data.models.GameFinishedReason.Reason', values());
|
|
@@ -1068,7 +1080,7 @@
|
|
|
1068
1080
|
Companion_instance_5 = this;
|
|
1069
1081
|
var tmp = this;
|
|
1070
1082
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1071
|
-
tmp.
|
|
1083
|
+
tmp.h2l_1 = lazy(tmp_0, GameFinishedReason$Reason$Companion$_anonymous__q2gwr5);
|
|
1072
1084
|
}
|
|
1073
1085
|
protoOf(Companion_5).t16 = function () {
|
|
1074
1086
|
return _get_$cachedSerializer__te6jhj_2(this);
|
|
@@ -1122,7 +1134,7 @@
|
|
|
1122
1134
|
// Inline function 'kotlin.arrayOf' call
|
|
1123
1135
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1124
1136
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1125
|
-
tmp.
|
|
1137
|
+
tmp.k2l_1 = [Companion_getInstance_7().t16()];
|
|
1126
1138
|
}
|
|
1127
1139
|
protoOf(Companion_6).t16 = function () {
|
|
1128
1140
|
return $serializer_getInstance_3();
|
|
@@ -1137,25 +1149,25 @@
|
|
|
1137
1149
|
$serializer_instance_3 = this;
|
|
1138
1150
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_FINISHED_TYPE', this, 1);
|
|
1139
1151
|
tmp0_serialDesc.ku('reason', false);
|
|
1140
|
-
this.
|
|
1152
|
+
this.l2l_1 = tmp0_serialDesc;
|
|
1141
1153
|
}
|
|
1142
1154
|
protoOf($serializer_3).pj = function () {
|
|
1143
|
-
return this.
|
|
1155
|
+
return this.l2l_1;
|
|
1144
1156
|
};
|
|
1145
1157
|
protoOf($serializer_3).zu = function () {
|
|
1146
1158
|
// Inline function 'kotlin.arrayOf' call
|
|
1147
1159
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1148
1160
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1149
|
-
return [Companion_getInstance_8().
|
|
1161
|
+
return [Companion_getInstance_8().k2l_1[0]];
|
|
1150
1162
|
};
|
|
1151
1163
|
protoOf($serializer_3).rj = function (decoder) {
|
|
1152
|
-
var tmp0_desc = this.
|
|
1164
|
+
var tmp0_desc = this.l2l_1;
|
|
1153
1165
|
var tmp1_flag = true;
|
|
1154
1166
|
var tmp2_index = 0;
|
|
1155
1167
|
var tmp3_bitMask0 = 0;
|
|
1156
1168
|
var tmp4_local0 = null;
|
|
1157
1169
|
var tmp5_input = decoder.xm(tmp0_desc);
|
|
1158
|
-
var tmp6_cached = Companion_getInstance_8().
|
|
1170
|
+
var tmp6_cached = Companion_getInstance_8().k2l_1;
|
|
1159
1171
|
if (tmp5_input.nn()) {
|
|
1160
1172
|
tmp4_local0 = tmp5_input.jn(tmp0_desc, 0, tmp6_cached[0], tmp4_local0);
|
|
1161
1173
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -1177,15 +1189,15 @@
|
|
|
1177
1189
|
tmp5_input.ym(tmp0_desc);
|
|
1178
1190
|
return GameFinishedReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1179
1191
|
};
|
|
1180
|
-
protoOf($serializer_3).
|
|
1181
|
-
var tmp0_desc = this.
|
|
1192
|
+
protoOf($serializer_3).m2l = function (encoder, value) {
|
|
1193
|
+
var tmp0_desc = this.l2l_1;
|
|
1182
1194
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
1183
|
-
var tmp2_cached = Companion_getInstance_8().
|
|
1195
|
+
var tmp2_cached = Companion_getInstance_8().k2l_1;
|
|
1184
1196
|
tmp1_output.oo(tmp0_desc, 0, tmp2_cached[0], value.reason);
|
|
1185
1197
|
tmp1_output.ym(tmp0_desc);
|
|
1186
1198
|
};
|
|
1187
1199
|
protoOf($serializer_3).qj = function (encoder, value) {
|
|
1188
|
-
return this.
|
|
1200
|
+
return this.m2l(encoder, value instanceof GameFinishedReason ? value : THROW_CCE());
|
|
1189
1201
|
};
|
|
1190
1202
|
var $serializer_instance_3;
|
|
1191
1203
|
function $serializer_getInstance_3() {
|
|
@@ -1195,7 +1207,7 @@
|
|
|
1195
1207
|
}
|
|
1196
1208
|
function GameFinishedReason_init_$Init$(seen1, reason, serializationConstructorMarker, $this) {
|
|
1197
1209
|
if (!(1 === (1 & seen1))) {
|
|
1198
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_3().
|
|
1210
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_3().l2l_1);
|
|
1199
1211
|
}
|
|
1200
1212
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1201
1213
|
$this.reason = reason;
|
|
@@ -1225,18 +1237,18 @@
|
|
|
1225
1237
|
TerminationGameReason.call(this);
|
|
1226
1238
|
this.reason = reason;
|
|
1227
1239
|
}
|
|
1228
|
-
protoOf(GameFinishedReason).
|
|
1240
|
+
protoOf(GameFinishedReason).n2l = function () {
|
|
1229
1241
|
return this.reason;
|
|
1230
1242
|
};
|
|
1231
1243
|
protoOf(GameFinishedReason).cd = function () {
|
|
1232
1244
|
return this.reason;
|
|
1233
1245
|
};
|
|
1234
|
-
protoOf(GameFinishedReason).
|
|
1246
|
+
protoOf(GameFinishedReason).o2l = function (reason) {
|
|
1235
1247
|
return new GameFinishedReason(reason);
|
|
1236
1248
|
};
|
|
1237
1249
|
protoOf(GameFinishedReason).copy = function (reason, $super) {
|
|
1238
1250
|
reason = reason === VOID ? this.reason : reason;
|
|
1239
|
-
return this.
|
|
1251
|
+
return this.o2l(reason);
|
|
1240
1252
|
};
|
|
1241
1253
|
protoOf(GameFinishedReason).toString = function () {
|
|
1242
1254
|
return 'GameFinishedReason(reason=' + this.reason + ')';
|
|
@@ -1267,10 +1279,10 @@
|
|
|
1267
1279
|
$serializer_instance_4 = this;
|
|
1268
1280
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
1269
1281
|
tmp0_serialDesc.ku('reason', false);
|
|
1270
|
-
this.
|
|
1282
|
+
this.p2l_1 = tmp0_serialDesc;
|
|
1271
1283
|
}
|
|
1272
1284
|
protoOf($serializer_4).pj = function () {
|
|
1273
|
-
return this.
|
|
1285
|
+
return this.p2l_1;
|
|
1274
1286
|
};
|
|
1275
1287
|
protoOf($serializer_4).zu = function () {
|
|
1276
1288
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1279,7 +1291,7 @@
|
|
|
1279
1291
|
return [StringSerializer_getInstance()];
|
|
1280
1292
|
};
|
|
1281
1293
|
protoOf($serializer_4).rj = function (decoder) {
|
|
1282
|
-
var tmp0_desc = this.
|
|
1294
|
+
var tmp0_desc = this.p2l_1;
|
|
1283
1295
|
var tmp1_flag = true;
|
|
1284
1296
|
var tmp2_index = 0;
|
|
1285
1297
|
var tmp3_bitMask0 = 0;
|
|
@@ -1306,14 +1318,14 @@
|
|
|
1306
1318
|
tmp5_input.ym(tmp0_desc);
|
|
1307
1319
|
return GameErrorReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1308
1320
|
};
|
|
1309
|
-
protoOf($serializer_4).
|
|
1310
|
-
var tmp0_desc = this.
|
|
1321
|
+
protoOf($serializer_4).q2l = function (encoder, value) {
|
|
1322
|
+
var tmp0_desc = this.p2l_1;
|
|
1311
1323
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
1312
1324
|
tmp1_output.mo(tmp0_desc, 0, value.reason);
|
|
1313
1325
|
tmp1_output.ym(tmp0_desc);
|
|
1314
1326
|
};
|
|
1315
1327
|
protoOf($serializer_4).qj = function (encoder, value) {
|
|
1316
|
-
return this.
|
|
1328
|
+
return this.q2l(encoder, value instanceof GameErrorReason ? value : THROW_CCE());
|
|
1317
1329
|
};
|
|
1318
1330
|
var $serializer_instance_4;
|
|
1319
1331
|
function $serializer_getInstance_4() {
|
|
@@ -1323,7 +1335,7 @@
|
|
|
1323
1335
|
}
|
|
1324
1336
|
function GameErrorReason_init_$Init$(seen1, reason, serializationConstructorMarker, $this) {
|
|
1325
1337
|
if (!(1 === (1 & seen1))) {
|
|
1326
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_4().
|
|
1338
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_4().p2l_1);
|
|
1327
1339
|
}
|
|
1328
1340
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1329
1341
|
$this.reason = reason;
|
|
@@ -1336,18 +1348,18 @@
|
|
|
1336
1348
|
TerminationGameReason.call(this);
|
|
1337
1349
|
this.reason = reason;
|
|
1338
1350
|
}
|
|
1339
|
-
protoOf(GameErrorReason).
|
|
1351
|
+
protoOf(GameErrorReason).n2l = function () {
|
|
1340
1352
|
return this.reason;
|
|
1341
1353
|
};
|
|
1342
1354
|
protoOf(GameErrorReason).cd = function () {
|
|
1343
1355
|
return this.reason;
|
|
1344
1356
|
};
|
|
1345
|
-
protoOf(GameErrorReason).
|
|
1357
|
+
protoOf(GameErrorReason).g2l = function (reason) {
|
|
1346
1358
|
return new GameErrorReason(reason);
|
|
1347
1359
|
};
|
|
1348
1360
|
protoOf(GameErrorReason).copy = function (reason, $super) {
|
|
1349
1361
|
reason = reason === VOID ? this.reason : reason;
|
|
1350
|
-
return this.
|
|
1362
|
+
return this.g2l(reason);
|
|
1351
1363
|
};
|
|
1352
1364
|
protoOf(GameErrorReason).toString = function () {
|
|
1353
1365
|
return 'GameErrorReason(reason=' + this.reason + ')';
|
|
@@ -1366,7 +1378,7 @@
|
|
|
1366
1378
|
return true;
|
|
1367
1379
|
};
|
|
1368
1380
|
function _get_$cachedSerializer__te6jhj_3($this) {
|
|
1369
|
-
return $this.
|
|
1381
|
+
return $this.r2l_1.o2();
|
|
1370
1382
|
}
|
|
1371
1383
|
function WaitingForConnectionReason$_anonymous__v65n7d() {
|
|
1372
1384
|
var tmp = WaitingForConnectionReason_getInstance();
|
|
@@ -1381,7 +1393,7 @@
|
|
|
1381
1393
|
TerminationGameReason.call(this);
|
|
1382
1394
|
var tmp = this;
|
|
1383
1395
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1384
|
-
tmp.
|
|
1396
|
+
tmp.r2l_1 = lazy(tmp_0, WaitingForConnectionReason$_anonymous__v65n7d);
|
|
1385
1397
|
}
|
|
1386
1398
|
protoOf(WaitingForConnectionReason).toString = function () {
|
|
1387
1399
|
return 'WaitingForConnectionReason';
|
|
@@ -1399,7 +1411,7 @@
|
|
|
1399
1411
|
return WaitingForConnectionReason_instance;
|
|
1400
1412
|
}
|
|
1401
1413
|
function _get_$cachedSerializer__te6jhj_4($this) {
|
|
1402
|
-
return $this.
|
|
1414
|
+
return $this.s2l_1.o2();
|
|
1403
1415
|
}
|
|
1404
1416
|
function ProcessingReason$_anonymous__fvp7fk() {
|
|
1405
1417
|
var tmp = ProcessingReason_getInstance();
|
|
@@ -1414,7 +1426,7 @@
|
|
|
1414
1426
|
TerminationGameReason.call(this);
|
|
1415
1427
|
var tmp = this;
|
|
1416
1428
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1417
|
-
tmp.
|
|
1429
|
+
tmp.s2l_1 = lazy(tmp_0, ProcessingReason$_anonymous__fvp7fk);
|
|
1418
1430
|
}
|
|
1419
1431
|
protoOf(ProcessingReason).toString = function () {
|
|
1420
1432
|
return 'ProcessingReason';
|
|
@@ -1442,33 +1454,33 @@
|
|
|
1442
1454
|
isBot = isBot === VOID ? false : isBot;
|
|
1443
1455
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
1444
1456
|
payload = payload === VOID ? null : payload;
|
|
1445
|
-
this.
|
|
1457
|
+
this.t2l_1 = playerId;
|
|
1446
1458
|
this.name = name;
|
|
1447
1459
|
this.avatarUrl = avatarUrl;
|
|
1448
1460
|
this.isBot = isBot;
|
|
1449
1461
|
this.initialLuckyFactor = initialLuckyFactor;
|
|
1450
1462
|
this.payload = payload;
|
|
1451
1463
|
}
|
|
1452
|
-
protoOf(GameUserInfo).
|
|
1453
|
-
return this.
|
|
1464
|
+
protoOf(GameUserInfo).w2k = function () {
|
|
1465
|
+
return this.t2l_1;
|
|
1454
1466
|
};
|
|
1455
1467
|
protoOf(GameUserInfo).g9 = function () {
|
|
1456
1468
|
return this.name;
|
|
1457
1469
|
};
|
|
1458
|
-
protoOf(GameUserInfo).
|
|
1470
|
+
protoOf(GameUserInfo).u2l = function () {
|
|
1459
1471
|
return this.avatarUrl;
|
|
1460
1472
|
};
|
|
1461
|
-
protoOf(GameUserInfo).
|
|
1473
|
+
protoOf(GameUserInfo).v2l = function () {
|
|
1462
1474
|
return this.isBot;
|
|
1463
1475
|
};
|
|
1464
|
-
protoOf(GameUserInfo).
|
|
1476
|
+
protoOf(GameUserInfo).w2l = function () {
|
|
1465
1477
|
return this.initialLuckyFactor;
|
|
1466
1478
|
};
|
|
1467
|
-
protoOf(GameUserInfo).
|
|
1479
|
+
protoOf(GameUserInfo).x2l = function () {
|
|
1468
1480
|
return this.payload;
|
|
1469
1481
|
};
|
|
1470
1482
|
protoOf(GameUserInfo).cd = function () {
|
|
1471
|
-
return this.
|
|
1483
|
+
return this.t2l_1;
|
|
1472
1484
|
};
|
|
1473
1485
|
protoOf(GameUserInfo).dd = function () {
|
|
1474
1486
|
return this.name;
|
|
@@ -1476,32 +1488,32 @@
|
|
|
1476
1488
|
protoOf(GameUserInfo).qh = function () {
|
|
1477
1489
|
return this.avatarUrl;
|
|
1478
1490
|
};
|
|
1479
|
-
protoOf(GameUserInfo).
|
|
1491
|
+
protoOf(GameUserInfo).p2k = function () {
|
|
1480
1492
|
return this.isBot;
|
|
1481
1493
|
};
|
|
1482
|
-
protoOf(GameUserInfo).
|
|
1494
|
+
protoOf(GameUserInfo).y2l = function () {
|
|
1483
1495
|
return this.initialLuckyFactor;
|
|
1484
1496
|
};
|
|
1485
|
-
protoOf(GameUserInfo).
|
|
1497
|
+
protoOf(GameUserInfo).z2l = function () {
|
|
1486
1498
|
return this.payload;
|
|
1487
1499
|
};
|
|
1488
|
-
protoOf(GameUserInfo).
|
|
1500
|
+
protoOf(GameUserInfo).a2m = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, payload) {
|
|
1489
1501
|
return new GameUserInfo(playerId, name, avatarUrl, isBot, initialLuckyFactor, payload);
|
|
1490
1502
|
};
|
|
1491
1503
|
protoOf(GameUserInfo).copy = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, payload, $super) {
|
|
1492
|
-
playerId = playerId === VOID ? this.
|
|
1504
|
+
playerId = playerId === VOID ? this.t2l_1 : playerId;
|
|
1493
1505
|
name = name === VOID ? this.name : name;
|
|
1494
1506
|
avatarUrl = avatarUrl === VOID ? this.avatarUrl : avatarUrl;
|
|
1495
1507
|
isBot = isBot === VOID ? this.isBot : isBot;
|
|
1496
1508
|
initialLuckyFactor = initialLuckyFactor === VOID ? this.initialLuckyFactor : initialLuckyFactor;
|
|
1497
1509
|
payload = payload === VOID ? this.payload : payload;
|
|
1498
|
-
return this.
|
|
1510
|
+
return this.a2m(playerId, name, avatarUrl, isBot, initialLuckyFactor, payload);
|
|
1499
1511
|
};
|
|
1500
1512
|
protoOf(GameUserInfo).toString = function () {
|
|
1501
|
-
return 'GameUserInfo(playerId=' + this.
|
|
1513
|
+
return 'GameUserInfo(playerId=' + this.t2l_1 + ', name=' + this.name + ', avatarUrl=' + this.avatarUrl + ', isBot=' + this.isBot + ', initialLuckyFactor=' + this.initialLuckyFactor + ', payload=' + toString(this.payload) + ')';
|
|
1502
1514
|
};
|
|
1503
1515
|
protoOf(GameUserInfo).hashCode = function () {
|
|
1504
|
-
var result = getStringHashCode(this.
|
|
1516
|
+
var result = getStringHashCode(this.t2l_1);
|
|
1505
1517
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
1506
1518
|
result = imul(result, 31) + (this.avatarUrl == null ? 0 : getStringHashCode(this.avatarUrl)) | 0;
|
|
1507
1519
|
result = imul(result, 31) + getBooleanHashCode(this.isBot) | 0;
|
|
@@ -1515,7 +1527,7 @@
|
|
|
1515
1527
|
if (!(other instanceof GameUserInfo))
|
|
1516
1528
|
return false;
|
|
1517
1529
|
var tmp0_other_with_cast = other instanceof GameUserInfo ? other : THROW_CCE();
|
|
1518
|
-
if (!(this.
|
|
1530
|
+
if (!(this.t2l_1 === tmp0_other_with_cast.t2l_1))
|
|
1519
1531
|
return false;
|
|
1520
1532
|
if (!(this.name === tmp0_other_with_cast.name))
|
|
1521
1533
|
return false;
|
|
@@ -1595,18 +1607,18 @@
|
|
|
1595
1607
|
return destination;
|
|
1596
1608
|
}
|
|
1597
1609
|
function PlayerIndex(playerId, index) {
|
|
1598
|
-
this.
|
|
1599
|
-
this.
|
|
1610
|
+
this.d2m_1 = playerId;
|
|
1611
|
+
this.e2m_1 = index;
|
|
1600
1612
|
}
|
|
1601
|
-
protoOf(PlayerIndex).
|
|
1602
|
-
return this.
|
|
1613
|
+
protoOf(PlayerIndex).w2k = function () {
|
|
1614
|
+
return this.d2m_1;
|
|
1603
1615
|
};
|
|
1604
1616
|
protoOf(PlayerIndex).toString = function () {
|
|
1605
|
-
return 'PlayerIndex(playerId=' + this.
|
|
1617
|
+
return 'PlayerIndex(playerId=' + this.d2m_1 + ', index=' + this.e2m_1 + ')';
|
|
1606
1618
|
};
|
|
1607
1619
|
protoOf(PlayerIndex).hashCode = function () {
|
|
1608
|
-
var result = getStringHashCode(this.
|
|
1609
|
-
result = imul(result, 31) + this.
|
|
1620
|
+
var result = getStringHashCode(this.d2m_1);
|
|
1621
|
+
result = imul(result, 31) + this.e2m_1 | 0;
|
|
1610
1622
|
return result;
|
|
1611
1623
|
};
|
|
1612
1624
|
protoOf(PlayerIndex).equals = function (other) {
|
|
@@ -1615,9 +1627,9 @@
|
|
|
1615
1627
|
if (!(other instanceof PlayerIndex))
|
|
1616
1628
|
return false;
|
|
1617
1629
|
var tmp0_other_with_cast = other instanceof PlayerIndex ? other : THROW_CCE();
|
|
1618
|
-
if (!(this.
|
|
1630
|
+
if (!(this.d2m_1 === tmp0_other_with_cast.d2m_1))
|
|
1619
1631
|
return false;
|
|
1620
|
-
if (!(this.
|
|
1632
|
+
if (!(this.e2m_1 === tmp0_other_with_cast.e2m_1))
|
|
1621
1633
|
return false;
|
|
1622
1634
|
return true;
|
|
1623
1635
|
};
|
|
@@ -1641,16 +1653,16 @@
|
|
|
1641
1653
|
return nextTo_0(_this__u8e3s4, get_byIdPlayerPredicate()(playerId));
|
|
1642
1654
|
}
|
|
1643
1655
|
function PlayerIdContractOrderComparator(players) {
|
|
1644
|
-
this.
|
|
1656
|
+
this.f2m_1 = players;
|
|
1645
1657
|
}
|
|
1646
|
-
protoOf(PlayerIdContractOrderComparator).
|
|
1647
|
-
var indexA = this.
|
|
1648
|
-
var indexB = this.
|
|
1658
|
+
protoOf(PlayerIdContractOrderComparator).g2m = function (a, b) {
|
|
1659
|
+
var indexA = this.f2m_1.y1(a.playerId);
|
|
1660
|
+
var indexB = this.f2m_1.y1(b.playerId);
|
|
1649
1661
|
return compareTo(indexA, indexB);
|
|
1650
1662
|
};
|
|
1651
1663
|
protoOf(PlayerIdContractOrderComparator).compare = function (a, b) {
|
|
1652
1664
|
var tmp = (!(a == null) ? isInterface(a, PlayerIdContract) : false) ? a : THROW_CCE();
|
|
1653
|
-
return this.
|
|
1665
|
+
return this.g2m(tmp, (!(b == null) ? isInterface(b, PlayerIdContract) : false) ? b : THROW_CCE());
|
|
1654
1666
|
};
|
|
1655
1667
|
function byIdPlayerPredicate$lambda(id) {
|
|
1656
1668
|
_init_properties_Player_kt__qi83pd();
|
|
@@ -1663,7 +1675,7 @@
|
|
|
1663
1675
|
}
|
|
1664
1676
|
function playerTurnPredicate$lambda(p1) {
|
|
1665
1677
|
_init_properties_Player_kt__qi83pd();
|
|
1666
|
-
return p1.i1r().
|
|
1678
|
+
return p1.i1r().o2m();
|
|
1667
1679
|
}
|
|
1668
1680
|
var properties_initialized_Player_kt_56shkt;
|
|
1669
1681
|
function _init_properties_Player_kt__qi83pd() {
|
|
@@ -1674,14 +1686,14 @@
|
|
|
1674
1686
|
}
|
|
1675
1687
|
}
|
|
1676
1688
|
function Companion_8() {
|
|
1677
|
-
this.
|
|
1689
|
+
this.p2m_1 = 75;
|
|
1678
1690
|
}
|
|
1679
|
-
protoOf(Companion_8).
|
|
1680
|
-
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
1691
|
+
protoOf(Companion_8).q2m = function (_this__u8e3s4) {
|
|
1692
|
+
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.v2m(PlayerConnectionState_LIVE_getInstance(), System_instance.q1m(), Duration__plus_impl_yu9v8f(_this__u8e3s4.t2m_1, _this__u8e3s4.u2m()));
|
|
1681
1693
|
return tmp1_elvis_lhs == null ? new PlayerConnection(PlayerConnectionState_LIVE_getInstance(), System_instance.q1m()) : tmp1_elvis_lhs;
|
|
1682
1694
|
};
|
|
1683
|
-
protoOf(Companion_8).
|
|
1684
|
-
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
1695
|
+
protoOf(Companion_8).w2m = function (_this__u8e3s4, state) {
|
|
1696
|
+
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.x2m(state, System_instance.q1m());
|
|
1685
1697
|
return tmp1_elvis_lhs == null ? new PlayerConnection(state, System_instance.q1m()) : tmp1_elvis_lhs;
|
|
1686
1698
|
};
|
|
1687
1699
|
var Companion_instance_8;
|
|
@@ -1691,54 +1703,54 @@
|
|
|
1691
1703
|
function PlayerConnection(state, connectionChangedTime, notLiveDurationRecord) {
|
|
1692
1704
|
connectionChangedTime = connectionChangedTime === VOID ? System_instance.q1m() : connectionChangedTime;
|
|
1693
1705
|
notLiveDurationRecord = notLiveDurationRecord === VOID ? Companion_getInstance().tg_1 : notLiveDurationRecord;
|
|
1694
|
-
this.
|
|
1695
|
-
this.
|
|
1696
|
-
this.
|
|
1706
|
+
this.r2m_1 = state;
|
|
1707
|
+
this.s2m_1 = connectionChangedTime;
|
|
1708
|
+
this.t2m_1 = notLiveDurationRecord;
|
|
1697
1709
|
}
|
|
1698
|
-
protoOf(PlayerConnection).
|
|
1699
|
-
return System_instance.q1m().v1n(this.
|
|
1710
|
+
protoOf(PlayerConnection).u2m = function () {
|
|
1711
|
+
return System_instance.q1m().v1n(this.s2m_1);
|
|
1700
1712
|
};
|
|
1701
|
-
protoOf(PlayerConnection).
|
|
1713
|
+
protoOf(PlayerConnection).y2m = function () {
|
|
1702
1714
|
var tmp;
|
|
1703
|
-
if (this.
|
|
1704
|
-
tmp = this.
|
|
1715
|
+
if (this.r2m_1.isLive) {
|
|
1716
|
+
tmp = this.t2m_1;
|
|
1705
1717
|
} else {
|
|
1706
|
-
tmp = Duration__plus_impl_yu9v8f(this.
|
|
1718
|
+
tmp = Duration__plus_impl_yu9v8f(this.t2m_1, this.u2m());
|
|
1707
1719
|
}
|
|
1708
1720
|
return tmp;
|
|
1709
1721
|
};
|
|
1710
|
-
protoOf(PlayerConnection).
|
|
1722
|
+
protoOf(PlayerConnection).z2m = function (gameDuration) {
|
|
1711
1723
|
// Inline function 'kotlin.Long.div' call
|
|
1712
1724
|
var percent = _Duration___get_inWholeMilliseconds__impl__msfiry(gameDuration).da() / 100.0;
|
|
1713
1725
|
// Inline function 'kotlin.math.round' call
|
|
1714
1726
|
// Inline function 'kotlin.Long.div' call
|
|
1715
|
-
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.
|
|
1727
|
+
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.y2m()).da() / percent;
|
|
1716
1728
|
var tmp$ret$2 = round(x);
|
|
1717
1729
|
return numberToInt(tmp$ret$2);
|
|
1718
1730
|
};
|
|
1719
|
-
protoOf(PlayerConnection).
|
|
1720
|
-
return 100 - this.
|
|
1731
|
+
protoOf(PlayerConnection).a2n = function (gameDuration) {
|
|
1732
|
+
return 100 - this.z2m(gameDuration) | 0;
|
|
1721
1733
|
};
|
|
1722
|
-
protoOf(PlayerConnection).
|
|
1723
|
-
var percentage = this.
|
|
1734
|
+
protoOf(PlayerConnection).b2n = function (gameDuration) {
|
|
1735
|
+
var percentage = this.a2n(gameDuration);
|
|
1724
1736
|
return percentage >= 75;
|
|
1725
1737
|
};
|
|
1726
|
-
protoOf(PlayerConnection).
|
|
1738
|
+
protoOf(PlayerConnection).v2m = function (state, connectionChangedTime, notLiveDurationRecord) {
|
|
1727
1739
|
return new PlayerConnection(state, connectionChangedTime, notLiveDurationRecord);
|
|
1728
1740
|
};
|
|
1729
|
-
protoOf(PlayerConnection).
|
|
1730
|
-
state = state === VOID ? this.
|
|
1731
|
-
connectionChangedTime = connectionChangedTime === VOID ? this.
|
|
1732
|
-
notLiveDurationRecord = notLiveDurationRecord === VOID ? this.
|
|
1733
|
-
return $super === VOID ? this.
|
|
1741
|
+
protoOf(PlayerConnection).x2m = function (state, connectionChangedTime, notLiveDurationRecord, $super) {
|
|
1742
|
+
state = state === VOID ? this.r2m_1 : state;
|
|
1743
|
+
connectionChangedTime = connectionChangedTime === VOID ? this.s2m_1 : connectionChangedTime;
|
|
1744
|
+
notLiveDurationRecord = notLiveDurationRecord === VOID ? this.t2m_1 : notLiveDurationRecord;
|
|
1745
|
+
return $super === VOID ? this.v2m(state, connectionChangedTime, notLiveDurationRecord) : $super.v2m.call(this, state, connectionChangedTime, new Duration(notLiveDurationRecord));
|
|
1734
1746
|
};
|
|
1735
1747
|
protoOf(PlayerConnection).toString = function () {
|
|
1736
|
-
return 'PlayerConnection(state=' + this.
|
|
1748
|
+
return 'PlayerConnection(state=' + this.r2m_1 + ', connectionChangedTime=' + this.s2m_1 + ', notLiveDurationRecord=' + new Duration(this.t2m_1) + ')';
|
|
1737
1749
|
};
|
|
1738
1750
|
protoOf(PlayerConnection).hashCode = function () {
|
|
1739
|
-
var result = this.
|
|
1740
|
-
result = imul(result, 31) + this.
|
|
1741
|
-
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.
|
|
1751
|
+
var result = this.r2m_1.hashCode();
|
|
1752
|
+
result = imul(result, 31) + this.s2m_1.hashCode() | 0;
|
|
1753
|
+
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.t2m_1) | 0;
|
|
1742
1754
|
return result;
|
|
1743
1755
|
};
|
|
1744
1756
|
protoOf(PlayerConnection).equals = function (other) {
|
|
@@ -1747,16 +1759,16 @@
|
|
|
1747
1759
|
if (!(other instanceof PlayerConnection))
|
|
1748
1760
|
return false;
|
|
1749
1761
|
var tmp0_other_with_cast = other instanceof PlayerConnection ? other : THROW_CCE();
|
|
1750
|
-
if (!this.
|
|
1762
|
+
if (!this.r2m_1.equals(tmp0_other_with_cast.r2m_1))
|
|
1751
1763
|
return false;
|
|
1752
|
-
if (!this.
|
|
1764
|
+
if (!this.s2m_1.equals(tmp0_other_with_cast.s2m_1))
|
|
1753
1765
|
return false;
|
|
1754
|
-
if (!equals(this.
|
|
1766
|
+
if (!equals(this.t2m_1, tmp0_other_with_cast.t2m_1))
|
|
1755
1767
|
return false;
|
|
1756
1768
|
return true;
|
|
1757
1769
|
};
|
|
1758
1770
|
function _get_$cachedSerializer__te6jhj_5($this) {
|
|
1759
|
-
return $this.
|
|
1771
|
+
return $this.c2n_1.o2();
|
|
1760
1772
|
}
|
|
1761
1773
|
function PlayerConnectionState$Companion$_anonymous__8wfaw3() {
|
|
1762
1774
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerConnectionState', values_0());
|
|
@@ -1771,7 +1783,7 @@
|
|
|
1771
1783
|
Companion_instance_9 = this;
|
|
1772
1784
|
var tmp = this;
|
|
1773
1785
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1774
|
-
tmp.
|
|
1786
|
+
tmp.c2n_1 = lazy(tmp_0, PlayerConnectionState$Companion$_anonymous__8wfaw3);
|
|
1775
1787
|
}
|
|
1776
1788
|
protoOf(Companion_9).t16 = function () {
|
|
1777
1789
|
return _get_$cachedSerializer__te6jhj_5(this);
|
|
@@ -1825,28 +1837,28 @@
|
|
|
1825
1837
|
function PlayerConnectionState(name, ordinal) {
|
|
1826
1838
|
Enum.call(this, name, ordinal);
|
|
1827
1839
|
}
|
|
1828
|
-
protoOf(PlayerConnectionState).
|
|
1840
|
+
protoOf(PlayerConnectionState).f2n = function () {
|
|
1829
1841
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1830
1842
|
};
|
|
1831
|
-
protoOf(PlayerConnectionState).
|
|
1843
|
+
protoOf(PlayerConnectionState).g2n = function () {
|
|
1832
1844
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1833
1845
|
};
|
|
1834
|
-
protoOf(PlayerConnectionState).
|
|
1846
|
+
protoOf(PlayerConnectionState).h2n = function () {
|
|
1835
1847
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1836
1848
|
};
|
|
1837
|
-
protoOf(PlayerConnectionState).
|
|
1849
|
+
protoOf(PlayerConnectionState).i2n = function () {
|
|
1838
1850
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1839
1851
|
};
|
|
1840
|
-
protoOf(PlayerConnectionState).
|
|
1852
|
+
protoOf(PlayerConnectionState).j2n = function () {
|
|
1841
1853
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1842
1854
|
};
|
|
1843
|
-
protoOf(PlayerConnectionState).
|
|
1855
|
+
protoOf(PlayerConnectionState).k2n = function () {
|
|
1844
1856
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1845
1857
|
};
|
|
1846
|
-
protoOf(PlayerConnectionState).
|
|
1858
|
+
protoOf(PlayerConnectionState).l2n = function () {
|
|
1847
1859
|
return this.isDisconnected ? true : this.isDeleted;
|
|
1848
1860
|
};
|
|
1849
|
-
protoOf(PlayerConnectionState).
|
|
1861
|
+
protoOf(PlayerConnectionState).m2n = function () {
|
|
1850
1862
|
return (this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft;
|
|
1851
1863
|
};
|
|
1852
1864
|
function PlayerConnectionState_LIVE_getInstance() {
|
|
@@ -1874,25 +1886,25 @@
|
|
|
1874
1886
|
return PlayerConnectionState_DELETED_instance;
|
|
1875
1887
|
}
|
|
1876
1888
|
function PlayerLuckyFactor(playerId, factor, wasLiveDuringGame, liveDurationPercentage) {
|
|
1877
|
-
this.
|
|
1889
|
+
this.n2n_1 = playerId;
|
|
1878
1890
|
this.factor = factor;
|
|
1879
1891
|
this.wasLiveDuringGame = wasLiveDuringGame;
|
|
1880
1892
|
this.liveDurationPercentage = liveDurationPercentage;
|
|
1881
1893
|
}
|
|
1882
|
-
protoOf(PlayerLuckyFactor).
|
|
1883
|
-
return this.
|
|
1894
|
+
protoOf(PlayerLuckyFactor).w2k = function () {
|
|
1895
|
+
return this.n2n_1;
|
|
1884
1896
|
};
|
|
1885
|
-
protoOf(PlayerLuckyFactor).
|
|
1897
|
+
protoOf(PlayerLuckyFactor).o2n = function () {
|
|
1886
1898
|
return this.factor;
|
|
1887
1899
|
};
|
|
1888
|
-
protoOf(PlayerLuckyFactor).
|
|
1900
|
+
protoOf(PlayerLuckyFactor).p2n = function () {
|
|
1889
1901
|
return this.wasLiveDuringGame;
|
|
1890
1902
|
};
|
|
1891
|
-
protoOf(PlayerLuckyFactor).
|
|
1903
|
+
protoOf(PlayerLuckyFactor).q2n = function () {
|
|
1892
1904
|
return this.liveDurationPercentage;
|
|
1893
1905
|
};
|
|
1894
1906
|
protoOf(PlayerLuckyFactor).cd = function () {
|
|
1895
|
-
return this.
|
|
1907
|
+
return this.n2n_1;
|
|
1896
1908
|
};
|
|
1897
1909
|
protoOf(PlayerLuckyFactor).dd = function () {
|
|
1898
1910
|
return this.factor;
|
|
@@ -1900,24 +1912,24 @@
|
|
|
1900
1912
|
protoOf(PlayerLuckyFactor).qh = function () {
|
|
1901
1913
|
return this.wasLiveDuringGame;
|
|
1902
1914
|
};
|
|
1903
|
-
protoOf(PlayerLuckyFactor).
|
|
1915
|
+
protoOf(PlayerLuckyFactor).p2k = function () {
|
|
1904
1916
|
return this.liveDurationPercentage;
|
|
1905
1917
|
};
|
|
1906
|
-
protoOf(PlayerLuckyFactor).
|
|
1918
|
+
protoOf(PlayerLuckyFactor).r2n = function (playerId, factor, wasLiveDuringGame, liveDurationPercentage) {
|
|
1907
1919
|
return new PlayerLuckyFactor(playerId, factor, wasLiveDuringGame, liveDurationPercentage);
|
|
1908
1920
|
};
|
|
1909
1921
|
protoOf(PlayerLuckyFactor).copy = function (playerId, factor, wasLiveDuringGame, liveDurationPercentage, $super) {
|
|
1910
|
-
playerId = playerId === VOID ? this.
|
|
1922
|
+
playerId = playerId === VOID ? this.n2n_1 : playerId;
|
|
1911
1923
|
factor = factor === VOID ? this.factor : factor;
|
|
1912
1924
|
wasLiveDuringGame = wasLiveDuringGame === VOID ? this.wasLiveDuringGame : wasLiveDuringGame;
|
|
1913
1925
|
liveDurationPercentage = liveDurationPercentage === VOID ? this.liveDurationPercentage : liveDurationPercentage;
|
|
1914
|
-
return this.
|
|
1926
|
+
return this.r2n(playerId, factor, wasLiveDuringGame, liveDurationPercentage);
|
|
1915
1927
|
};
|
|
1916
1928
|
protoOf(PlayerLuckyFactor).toString = function () {
|
|
1917
|
-
return 'PlayerLuckyFactor(playerId=' + this.
|
|
1929
|
+
return 'PlayerLuckyFactor(playerId=' + this.n2n_1 + ', factor=' + this.factor + ', wasLiveDuringGame=' + this.wasLiveDuringGame + ', liveDurationPercentage=' + this.liveDurationPercentage + ')';
|
|
1918
1930
|
};
|
|
1919
1931
|
protoOf(PlayerLuckyFactor).hashCode = function () {
|
|
1920
|
-
var result = getStringHashCode(this.
|
|
1932
|
+
var result = getStringHashCode(this.n2n_1);
|
|
1921
1933
|
result = imul(result, 31) + getNumberHashCode(this.factor) | 0;
|
|
1922
1934
|
result = imul(result, 31) + getBooleanHashCode(this.wasLiveDuringGame) | 0;
|
|
1923
1935
|
result = imul(result, 31) + (this.liveDurationPercentage == null ? 0 : this.liveDurationPercentage) | 0;
|
|
@@ -1929,7 +1941,7 @@
|
|
|
1929
1941
|
if (!(other instanceof PlayerLuckyFactor))
|
|
1930
1942
|
return false;
|
|
1931
1943
|
var tmp0_other_with_cast = other instanceof PlayerLuckyFactor ? other : THROW_CCE();
|
|
1932
|
-
if (!(this.
|
|
1944
|
+
if (!(this.n2n_1 === tmp0_other_with_cast.n2n_1))
|
|
1933
1945
|
return false;
|
|
1934
1946
|
if (!equals(this.factor, tmp0_other_with_cast.factor))
|
|
1935
1947
|
return false;
|
|
@@ -1940,7 +1952,7 @@
|
|
|
1940
1952
|
return true;
|
|
1941
1953
|
};
|
|
1942
1954
|
function _get_$cachedSerializer__te6jhj_6($this) {
|
|
1943
|
-
return $this.
|
|
1955
|
+
return $this.s2n_1.o2();
|
|
1944
1956
|
}
|
|
1945
1957
|
function PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2() {
|
|
1946
1958
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_1());
|
|
@@ -1952,7 +1964,7 @@
|
|
|
1952
1964
|
Companion_instance_10 = this;
|
|
1953
1965
|
var tmp = this;
|
|
1954
1966
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1955
|
-
tmp.
|
|
1967
|
+
tmp.s2n_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2);
|
|
1956
1968
|
}
|
|
1957
1969
|
protoOf(Companion_10).t16 = function () {
|
|
1958
1970
|
return _get_$cachedSerializer__te6jhj_6(this);
|
|
@@ -1983,25 +1995,25 @@
|
|
|
1983
1995
|
function PlayerWaitingState(name, ordinal) {
|
|
1984
1996
|
Enum.call(this, name, ordinal);
|
|
1985
1997
|
}
|
|
1986
|
-
protoOf(PlayerWaitingState).
|
|
1998
|
+
protoOf(PlayerWaitingState).v2n = function () {
|
|
1987
1999
|
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance());
|
|
1988
2000
|
};
|
|
1989
|
-
protoOf(PlayerWaitingState).
|
|
2001
|
+
protoOf(PlayerWaitingState).w2n = function () {
|
|
1990
2002
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1991
2003
|
};
|
|
1992
2004
|
function Companion_11() {
|
|
1993
2005
|
}
|
|
1994
|
-
protoOf(Companion_11).
|
|
2006
|
+
protoOf(Companion_11).x2n = function (connection) {
|
|
1995
2007
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1996
2008
|
return new PlayerState(null, null, null, tmp0_state, false, null, connection);
|
|
1997
2009
|
};
|
|
1998
|
-
protoOf(Companion_11).
|
|
1999
|
-
return _this__u8e3s4.
|
|
2010
|
+
protoOf(Companion_11).y2n = function (_this__u8e3s4) {
|
|
2011
|
+
return _this__u8e3s4.z2n(null, null, VOID, PlayerWaitingState_IDLE_getInstance(), VOID, null);
|
|
2000
2012
|
};
|
|
2001
|
-
protoOf(Companion_11).
|
|
2013
|
+
protoOf(Companion_11).a2o = function (_this__u8e3s4, playerTurnTimeout, tag) {
|
|
2002
2014
|
var tmp0_startFromTime = System_instance.q1m();
|
|
2003
2015
|
var tmp1_state = PlayerWaitingState_IN_PROGRESS_getInstance();
|
|
2004
|
-
return _this__u8e3s4.
|
|
2016
|
+
return _this__u8e3s4.z2n(tmp0_startFromTime, playerTurnTimeout, VOID, tmp1_state, false, tag);
|
|
2005
2017
|
};
|
|
2006
2018
|
var Companion_instance_11;
|
|
2007
2019
|
function Companion_getInstance_13() {
|
|
@@ -2022,17 +2034,17 @@
|
|
|
2022
2034
|
function PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
2023
2035
|
tag = tag === VOID ? null : tag;
|
|
2024
2036
|
connection = connection === VOID ? null : connection;
|
|
2025
|
-
this.
|
|
2026
|
-
this.
|
|
2027
|
-
this.
|
|
2028
|
-
this.
|
|
2029
|
-
this.
|
|
2030
|
-
this.
|
|
2031
|
-
this.
|
|
2032
|
-
}
|
|
2033
|
-
protoOf(PlayerState).
|
|
2037
|
+
this.h2m_1 = startFromTime;
|
|
2038
|
+
this.i2m_1 = playerTurnTimeout;
|
|
2039
|
+
this.j2m_1 = waitPlayerUntilTime;
|
|
2040
|
+
this.k2m_1 = state;
|
|
2041
|
+
this.l2m_1 = ready;
|
|
2042
|
+
this.m2m_1 = tag;
|
|
2043
|
+
this.n2m_1 = connection;
|
|
2044
|
+
}
|
|
2045
|
+
protoOf(PlayerState).b2o = function () {
|
|
2034
2046
|
// Inline function 'kotlin.requireNotNull' call
|
|
2035
|
-
var value = this.
|
|
2047
|
+
var value = this.n2m_1;
|
|
2036
2048
|
// Inline function 'kotlin.contracts.contract' call
|
|
2037
2049
|
var tmp$ret$1;
|
|
2038
2050
|
$l$block: {
|
|
@@ -2049,9 +2061,9 @@
|
|
|
2049
2061
|
}
|
|
2050
2062
|
return tmp$ret$1;
|
|
2051
2063
|
};
|
|
2052
|
-
protoOf(PlayerState).
|
|
2064
|
+
protoOf(PlayerState).c2o = function () {
|
|
2053
2065
|
// Inline function 'kotlin.requireNotNull' call
|
|
2054
|
-
var value = this.
|
|
2066
|
+
var value = this.m2m_1;
|
|
2055
2067
|
// Inline function 'kotlin.contracts.contract' call
|
|
2056
2068
|
var tmp$ret$1;
|
|
2057
2069
|
$l$block: {
|
|
@@ -2068,37 +2080,37 @@
|
|
|
2068
2080
|
}
|
|
2069
2081
|
return tmp$ret$1;
|
|
2070
2082
|
};
|
|
2071
|
-
protoOf(PlayerState).
|
|
2072
|
-
var tmp0_elvis_lhs = this.
|
|
2083
|
+
protoOf(PlayerState).d2o = function () {
|
|
2084
|
+
var tmp0_elvis_lhs = this.m2m_1;
|
|
2073
2085
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
2074
2086
|
};
|
|
2075
|
-
protoOf(PlayerState).
|
|
2076
|
-
return this.
|
|
2087
|
+
protoOf(PlayerState).o2m = function () {
|
|
2088
|
+
return this.k2m_1.v2n() ? true : this.k2m_1.w2n();
|
|
2077
2089
|
};
|
|
2078
|
-
protoOf(PlayerState).
|
|
2090
|
+
protoOf(PlayerState).e2o = function (startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
2079
2091
|
return new PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection);
|
|
2080
2092
|
};
|
|
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.
|
|
2093
|
+
protoOf(PlayerState).z2n = function (startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, $super) {
|
|
2094
|
+
startFromTime = startFromTime === VOID ? this.h2m_1 : startFromTime;
|
|
2095
|
+
playerTurnTimeout = playerTurnTimeout === VOID ? this.i2m_1 : playerTurnTimeout;
|
|
2096
|
+
waitPlayerUntilTime = waitPlayerUntilTime === VOID ? this.j2m_1 : waitPlayerUntilTime;
|
|
2097
|
+
state = state === VOID ? this.k2m_1 : state;
|
|
2098
|
+
ready = ready === VOID ? this.l2m_1 : ready;
|
|
2099
|
+
tag = tag === VOID ? this.m2m_1 : tag;
|
|
2100
|
+
connection = connection === VOID ? this.n2m_1 : connection;
|
|
2101
|
+
return $super === VOID ? this.e2o(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) : $super.e2o.call(this, startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection);
|
|
2090
2102
|
};
|
|
2091
2103
|
protoOf(PlayerState).toString = function () {
|
|
2092
|
-
return 'PlayerState(startFromTime=' + this.
|
|
2104
|
+
return 'PlayerState(startFromTime=' + this.h2m_1 + ', playerTurnTimeout=' + this.i2m_1 + ', waitPlayerUntilTime=' + this.j2m_1 + ', state=' + this.k2m_1 + ', ready=' + this.l2m_1 + ', tag=' + this.m2m_1 + ', connection=' + this.n2m_1 + ')';
|
|
2093
2105
|
};
|
|
2094
2106
|
protoOf(PlayerState).hashCode = function () {
|
|
2095
|
-
var result = this.
|
|
2096
|
-
result = imul(result, 31) + (this.
|
|
2097
|
-
result = imul(result, 31) + (this.
|
|
2098
|
-
result = imul(result, 31) + this.
|
|
2099
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
2100
|
-
result = imul(result, 31) + (this.
|
|
2101
|
-
result = imul(result, 31) + (this.
|
|
2107
|
+
var result = this.h2m_1 == null ? 0 : this.h2m_1.hashCode();
|
|
2108
|
+
result = imul(result, 31) + (this.i2m_1 == null ? 0 : this.i2m_1.hashCode()) | 0;
|
|
2109
|
+
result = imul(result, 31) + (this.j2m_1 == null ? 0 : this.j2m_1.hashCode()) | 0;
|
|
2110
|
+
result = imul(result, 31) + this.k2m_1.hashCode() | 0;
|
|
2111
|
+
result = imul(result, 31) + getBooleanHashCode(this.l2m_1) | 0;
|
|
2112
|
+
result = imul(result, 31) + (this.m2m_1 == null ? 0 : getStringHashCode(this.m2m_1)) | 0;
|
|
2113
|
+
result = imul(result, 31) + (this.n2m_1 == null ? 0 : this.n2m_1.hashCode()) | 0;
|
|
2102
2114
|
return result;
|
|
2103
2115
|
};
|
|
2104
2116
|
protoOf(PlayerState).equals = function (other) {
|
|
@@ -2107,30 +2119,30 @@
|
|
|
2107
2119
|
if (!(other instanceof PlayerState))
|
|
2108
2120
|
return false;
|
|
2109
2121
|
var tmp0_other_with_cast = other instanceof PlayerState ? other : THROW_CCE();
|
|
2110
|
-
if (!equals(this.
|
|
2122
|
+
if (!equals(this.h2m_1, tmp0_other_with_cast.h2m_1))
|
|
2111
2123
|
return false;
|
|
2112
|
-
if (!equals(this.
|
|
2124
|
+
if (!equals(this.i2m_1, tmp0_other_with_cast.i2m_1))
|
|
2113
2125
|
return false;
|
|
2114
|
-
if (!equals(this.
|
|
2126
|
+
if (!equals(this.j2m_1, tmp0_other_with_cast.j2m_1))
|
|
2115
2127
|
return false;
|
|
2116
|
-
if (!this.
|
|
2128
|
+
if (!this.k2m_1.equals(tmp0_other_with_cast.k2m_1))
|
|
2117
2129
|
return false;
|
|
2118
|
-
if (!(this.
|
|
2130
|
+
if (!(this.l2m_1 === tmp0_other_with_cast.l2m_1))
|
|
2119
2131
|
return false;
|
|
2120
|
-
if (!(this.
|
|
2132
|
+
if (!(this.m2m_1 == tmp0_other_with_cast.m2m_1))
|
|
2121
2133
|
return false;
|
|
2122
|
-
if (!equals(this.
|
|
2134
|
+
if (!equals(this.n2m_1, tmp0_other_with_cast.n2m_1))
|
|
2123
2135
|
return false;
|
|
2124
2136
|
return true;
|
|
2125
2137
|
};
|
|
2126
2138
|
function Team(playerIds) {
|
|
2127
|
-
this.
|
|
2139
|
+
this.f2o_1 = playerIds;
|
|
2128
2140
|
}
|
|
2129
2141
|
protoOf(Team).toString = function () {
|
|
2130
|
-
return 'Team(playerIds=' + this.
|
|
2142
|
+
return 'Team(playerIds=' + this.f2o_1 + ')';
|
|
2131
2143
|
};
|
|
2132
2144
|
protoOf(Team).hashCode = function () {
|
|
2133
|
-
return hashCode(this.
|
|
2145
|
+
return hashCode(this.f2o_1);
|
|
2134
2146
|
};
|
|
2135
2147
|
protoOf(Team).equals = function (other) {
|
|
2136
2148
|
if (this === other)
|
|
@@ -2138,7 +2150,7 @@
|
|
|
2138
2150
|
if (!(other instanceof Team))
|
|
2139
2151
|
return false;
|
|
2140
2152
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
2141
|
-
if (!equals(this.
|
|
2153
|
+
if (!equals(this.f2o_1, tmp0_other_with_cast.f2o_1))
|
|
2142
2154
|
return false;
|
|
2143
2155
|
return true;
|
|
2144
2156
|
};
|
|
@@ -2182,55 +2194,55 @@
|
|
|
2182
2194
|
this.checkOnlyTrumpDebertz = checkOnlyTrumpDebertz;
|
|
2183
2195
|
this.tenCardsInHand = tenCardsInHand;
|
|
2184
2196
|
}
|
|
2185
|
-
protoOf(Rules).
|
|
2197
|
+
protoOf(Rules).g2o = function () {
|
|
2186
2198
|
return this.needToPutHigherTrump;
|
|
2187
2199
|
};
|
|
2188
|
-
protoOf(Rules).
|
|
2200
|
+
protoOf(Rules).h2o = function () {
|
|
2189
2201
|
return this.distributePoints;
|
|
2190
2202
|
};
|
|
2191
|
-
protoOf(Rules).
|
|
2203
|
+
protoOf(Rules).i2o = function () {
|
|
2192
2204
|
return this.protectBella;
|
|
2193
2205
|
};
|
|
2194
|
-
protoOf(Rules).
|
|
2206
|
+
protoOf(Rules).j2o = function () {
|
|
2195
2207
|
return this.oneTryToProtectBella;
|
|
2196
2208
|
};
|
|
2197
|
-
protoOf(Rules).
|
|
2209
|
+
protoOf(Rules).k2o = function () {
|
|
2198
2210
|
return this.enableFourSevensCombination;
|
|
2199
2211
|
};
|
|
2200
|
-
protoOf(Rules).
|
|
2212
|
+
protoOf(Rules).l2o = function () {
|
|
2201
2213
|
return this.enableTrumpSevenCombination;
|
|
2202
2214
|
};
|
|
2203
|
-
protoOf(Rules).
|
|
2215
|
+
protoOf(Rules).m2o = function () {
|
|
2204
2216
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
2205
2217
|
};
|
|
2206
|
-
protoOf(Rules).
|
|
2218
|
+
protoOf(Rules).n2o = function () {
|
|
2207
2219
|
return this.playerWhoChooseSuitGoFirst;
|
|
2208
2220
|
};
|
|
2209
|
-
protoOf(Rules).
|
|
2221
|
+
protoOf(Rules).o2o = function () {
|
|
2210
2222
|
return this.winnerShuffleCards;
|
|
2211
2223
|
};
|
|
2212
|
-
protoOf(Rules).
|
|
2224
|
+
protoOf(Rules).p2o = function () {
|
|
2213
2225
|
return this.playWithoutLiabilities;
|
|
2214
2226
|
};
|
|
2215
|
-
protoOf(Rules).
|
|
2227
|
+
protoOf(Rules).q2o = function () {
|
|
2216
2228
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
2217
2229
|
};
|
|
2218
|
-
protoOf(Rules).
|
|
2230
|
+
protoOf(Rules).r2o = function () {
|
|
2219
2231
|
return this.enableFineIfNoBribes;
|
|
2220
2232
|
};
|
|
2221
|
-
protoOf(Rules).
|
|
2233
|
+
protoOf(Rules).s2o = function () {
|
|
2222
2234
|
return this.fineIfNoBribes;
|
|
2223
2235
|
};
|
|
2224
|
-
protoOf(Rules).
|
|
2236
|
+
protoOf(Rules).t2o = function () {
|
|
2225
2237
|
return this.enableFineAfterThirdByte;
|
|
2226
2238
|
};
|
|
2227
|
-
protoOf(Rules).
|
|
2239
|
+
protoOf(Rules).u2o = function () {
|
|
2228
2240
|
return this.checkTrumpCombination;
|
|
2229
2241
|
};
|
|
2230
|
-
protoOf(Rules).
|
|
2242
|
+
protoOf(Rules).v2o = function () {
|
|
2231
2243
|
return this.checkOnlyTrumpDebertz;
|
|
2232
2244
|
};
|
|
2233
|
-
protoOf(Rules).
|
|
2245
|
+
protoOf(Rules).w2o = function () {
|
|
2234
2246
|
return this.tenCardsInHand;
|
|
2235
2247
|
};
|
|
2236
2248
|
protoOf(Rules).cd = function () {
|
|
@@ -2242,49 +2254,49 @@
|
|
|
2242
2254
|
protoOf(Rules).qh = function () {
|
|
2243
2255
|
return this.protectBella;
|
|
2244
2256
|
};
|
|
2245
|
-
protoOf(Rules).
|
|
2257
|
+
protoOf(Rules).p2k = function () {
|
|
2246
2258
|
return this.oneTryToProtectBella;
|
|
2247
2259
|
};
|
|
2248
|
-
protoOf(Rules).
|
|
2260
|
+
protoOf(Rules).y2l = function () {
|
|
2249
2261
|
return this.enableFourSevensCombination;
|
|
2250
2262
|
};
|
|
2251
|
-
protoOf(Rules).
|
|
2263
|
+
protoOf(Rules).z2l = function () {
|
|
2252
2264
|
return this.enableTrumpSevenCombination;
|
|
2253
2265
|
};
|
|
2254
|
-
protoOf(Rules).
|
|
2266
|
+
protoOf(Rules).x2o = function () {
|
|
2255
2267
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
2256
2268
|
};
|
|
2257
|
-
protoOf(Rules).
|
|
2269
|
+
protoOf(Rules).y2o = function () {
|
|
2258
2270
|
return this.playerWhoChooseSuitGoFirst;
|
|
2259
2271
|
};
|
|
2260
|
-
protoOf(Rules).
|
|
2272
|
+
protoOf(Rules).z2o = function () {
|
|
2261
2273
|
return this.winnerShuffleCards;
|
|
2262
2274
|
};
|
|
2263
|
-
protoOf(Rules).
|
|
2275
|
+
protoOf(Rules).a2p = function () {
|
|
2264
2276
|
return this.playWithoutLiabilities;
|
|
2265
2277
|
};
|
|
2266
|
-
protoOf(Rules).
|
|
2278
|
+
protoOf(Rules).b2p = function () {
|
|
2267
2279
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
2268
2280
|
};
|
|
2269
|
-
protoOf(Rules).
|
|
2281
|
+
protoOf(Rules).c2p = function () {
|
|
2270
2282
|
return this.enableFineIfNoBribes;
|
|
2271
2283
|
};
|
|
2272
|
-
protoOf(Rules).
|
|
2284
|
+
protoOf(Rules).d2p = function () {
|
|
2273
2285
|
return this.fineIfNoBribes;
|
|
2274
2286
|
};
|
|
2275
|
-
protoOf(Rules).
|
|
2287
|
+
protoOf(Rules).e2p = function () {
|
|
2276
2288
|
return this.enableFineAfterThirdByte;
|
|
2277
2289
|
};
|
|
2278
|
-
protoOf(Rules).
|
|
2290
|
+
protoOf(Rules).f2p = function () {
|
|
2279
2291
|
return this.checkTrumpCombination;
|
|
2280
2292
|
};
|
|
2281
|
-
protoOf(Rules).
|
|
2293
|
+
protoOf(Rules).g2p = function () {
|
|
2282
2294
|
return this.checkOnlyTrumpDebertz;
|
|
2283
2295
|
};
|
|
2284
|
-
protoOf(Rules).
|
|
2296
|
+
protoOf(Rules).h2p = function () {
|
|
2285
2297
|
return this.tenCardsInHand;
|
|
2286
2298
|
};
|
|
2287
|
-
protoOf(Rules).
|
|
2299
|
+
protoOf(Rules).i2p = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2288
2300
|
return new Rules(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2289
2301
|
};
|
|
2290
2302
|
protoOf(Rules).copy = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $super) {
|
|
@@ -2305,7 +2317,7 @@
|
|
|
2305
2317
|
checkTrumpCombination = checkTrumpCombination === VOID ? this.checkTrumpCombination : checkTrumpCombination;
|
|
2306
2318
|
checkOnlyTrumpDebertz = checkOnlyTrumpDebertz === VOID ? this.checkOnlyTrumpDebertz : checkOnlyTrumpDebertz;
|
|
2307
2319
|
tenCardsInHand = tenCardsInHand === VOID ? this.tenCardsInHand : tenCardsInHand;
|
|
2308
|
-
return this.
|
|
2320
|
+
return this.i2p(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2309
2321
|
};
|
|
2310
2322
|
protoOf(Rules).toString = function () {
|
|
2311
2323
|
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 + ')';
|
|
@@ -2439,6 +2451,9 @@
|
|
|
2439
2451
|
}
|
|
2440
2452
|
return tmp;
|
|
2441
2453
|
};
|
|
2454
|
+
protoOf(RulesSetType).l2p = function () {
|
|
2455
|
+
return this.equals(RulesSetType_custom_getInstance());
|
|
2456
|
+
};
|
|
2442
2457
|
function RulesSetType_belot_getInstance() {
|
|
2443
2458
|
RulesSetType_initEntries();
|
|
2444
2459
|
return RulesSetType_belot_instance;
|
|
@@ -2460,7 +2475,7 @@
|
|
|
2460
2475
|
return RulesSetType_custom_instance;
|
|
2461
2476
|
}
|
|
2462
2477
|
function _get_$cachedSerializer__te6jhj_7($this) {
|
|
2463
|
-
return $this.
|
|
2478
|
+
return $this.m2p_1.o2();
|
|
2464
2479
|
}
|
|
2465
2480
|
function BufferedActionDto$Companion$_anonymous__7htcgr() {
|
|
2466
2481
|
var tmp = getKClass(BufferedActionDto);
|
|
@@ -2474,7 +2489,7 @@
|
|
|
2474
2489
|
Companion_instance_13 = this;
|
|
2475
2490
|
var tmp = this;
|
|
2476
2491
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2477
|
-
tmp.
|
|
2492
|
+
tmp.m2p_1 = lazy(tmp_0, BufferedActionDto$Companion$_anonymous__7htcgr);
|
|
2478
2493
|
}
|
|
2479
2494
|
protoOf(Companion_13).t16 = function () {
|
|
2480
2495
|
return _get_$cachedSerializer__te6jhj_7(this);
|
|
@@ -2495,7 +2510,7 @@
|
|
|
2495
2510
|
Companion_getInstance_15();
|
|
2496
2511
|
}
|
|
2497
2512
|
function mapToDto(_this__u8e3s4) {
|
|
2498
|
-
return _this__u8e3s4.
|
|
2513
|
+
return _this__u8e3s4.o2p_1;
|
|
2499
2514
|
}
|
|
2500
2515
|
function mapFromDto(_this__u8e3s4) {
|
|
2501
2516
|
return new GameCard(_this__u8e3s4);
|
|
@@ -2717,11 +2732,11 @@
|
|
|
2717
2732
|
tmp = null;
|
|
2718
2733
|
}
|
|
2719
2734
|
var tmp$ret$1 = tmp;
|
|
2720
|
-
return new GameUserInfoDto(_this__u8e3s4.
|
|
2735
|
+
return new GameUserInfoDto(_this__u8e3s4.t2l_1, _this__u8e3s4.name, _this__u8e3s4.avatarUrl, tmp$ret$1, _this__u8e3s4.initialLuckyFactor);
|
|
2721
2736
|
}
|
|
2722
2737
|
function mapFromDto_1(_this__u8e3s4) {
|
|
2723
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2724
|
-
return new GameUserInfo(_this__u8e3s4.
|
|
2738
|
+
var tmp0_elvis_lhs = _this__u8e3s4.s2p_1;
|
|
2739
|
+
return new GameUserInfo(_this__u8e3s4.p2p_1, _this__u8e3s4.q2p_1, _this__u8e3s4.r2p_1, tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs, _this__u8e3s4.t2p_1);
|
|
2725
2740
|
}
|
|
2726
2741
|
function Companion_14() {
|
|
2727
2742
|
}
|
|
@@ -2737,10 +2752,10 @@
|
|
|
2737
2752
|
tmp0_serialDesc.ku('avatarUrl', true);
|
|
2738
2753
|
tmp0_serialDesc.ku('isBot', true);
|
|
2739
2754
|
tmp0_serialDesc.ku('initialLuckyFactor', true);
|
|
2740
|
-
this.
|
|
2755
|
+
this.u2p_1 = tmp0_serialDesc;
|
|
2741
2756
|
}
|
|
2742
2757
|
protoOf($serializer_5).pj = function () {
|
|
2743
|
-
return this.
|
|
2758
|
+
return this.u2p_1;
|
|
2744
2759
|
};
|
|
2745
2760
|
protoOf($serializer_5).zu = function () {
|
|
2746
2761
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2749,7 +2764,7 @@
|
|
|
2749
2764
|
return [StringSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(FloatSerializer_getInstance())];
|
|
2750
2765
|
};
|
|
2751
2766
|
protoOf($serializer_5).rj = function (decoder) {
|
|
2752
|
-
var tmp0_desc = this.
|
|
2767
|
+
var tmp0_desc = this.u2p_1;
|
|
2753
2768
|
var tmp1_flag = true;
|
|
2754
2769
|
var tmp2_index = 0;
|
|
2755
2770
|
var tmp3_bitMask0 = 0;
|
|
@@ -2804,24 +2819,24 @@
|
|
|
2804
2819
|
tmp9_input.ym(tmp0_desc);
|
|
2805
2820
|
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
2806
2821
|
};
|
|
2807
|
-
protoOf($serializer_5).
|
|
2808
|
-
var tmp0_desc = this.
|
|
2822
|
+
protoOf($serializer_5).v2p = function (encoder, value) {
|
|
2823
|
+
var tmp0_desc = this.u2p_1;
|
|
2809
2824
|
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.
|
|
2825
|
+
tmp1_output.mo(tmp0_desc, 0, value.p2p_1);
|
|
2826
|
+
tmp1_output.mo(tmp0_desc, 1, value.q2p_1);
|
|
2827
|
+
if (tmp1_output.uo(tmp0_desc, 2) ? true : !(value.r2p_1 == null)) {
|
|
2828
|
+
tmp1_output.qo(tmp0_desc, 2, StringSerializer_getInstance(), value.r2p_1);
|
|
2814
2829
|
}
|
|
2815
|
-
if (tmp1_output.uo(tmp0_desc, 3) ? true : !(value.
|
|
2816
|
-
tmp1_output.qo(tmp0_desc, 3, BooleanSerializer_getInstance(), value.
|
|
2830
|
+
if (tmp1_output.uo(tmp0_desc, 3) ? true : !(value.s2p_1 == null)) {
|
|
2831
|
+
tmp1_output.qo(tmp0_desc, 3, BooleanSerializer_getInstance(), value.s2p_1);
|
|
2817
2832
|
}
|
|
2818
|
-
if (tmp1_output.uo(tmp0_desc, 4) ? true : !(value.
|
|
2819
|
-
tmp1_output.qo(tmp0_desc, 4, FloatSerializer_getInstance(), value.
|
|
2833
|
+
if (tmp1_output.uo(tmp0_desc, 4) ? true : !(value.t2p_1 == null)) {
|
|
2834
|
+
tmp1_output.qo(tmp0_desc, 4, FloatSerializer_getInstance(), value.t2p_1);
|
|
2820
2835
|
}
|
|
2821
2836
|
tmp1_output.ym(tmp0_desc);
|
|
2822
2837
|
};
|
|
2823
2838
|
protoOf($serializer_5).qj = function (encoder, value) {
|
|
2824
|
-
return this.
|
|
2839
|
+
return this.v2p(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2825
2840
|
};
|
|
2826
2841
|
var $serializer_instance_5;
|
|
2827
2842
|
function $serializer_getInstance_5() {
|
|
@@ -2831,22 +2846,22 @@
|
|
|
2831
2846
|
}
|
|
2832
2847
|
function GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, isBot, initialLuckyFactor, serializationConstructorMarker, $this) {
|
|
2833
2848
|
if (!(3 === (3 & seen1))) {
|
|
2834
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_5().
|
|
2849
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_5().u2p_1);
|
|
2835
2850
|
}
|
|
2836
|
-
$this.
|
|
2837
|
-
$this.
|
|
2851
|
+
$this.p2p_1 = playerId;
|
|
2852
|
+
$this.q2p_1 = name;
|
|
2838
2853
|
if (0 === (seen1 & 4))
|
|
2839
|
-
$this.
|
|
2854
|
+
$this.r2p_1 = null;
|
|
2840
2855
|
else
|
|
2841
|
-
$this.
|
|
2856
|
+
$this.r2p_1 = avatarUrl;
|
|
2842
2857
|
if (0 === (seen1 & 8))
|
|
2843
|
-
$this.
|
|
2858
|
+
$this.s2p_1 = null;
|
|
2844
2859
|
else
|
|
2845
|
-
$this.
|
|
2860
|
+
$this.s2p_1 = isBot;
|
|
2846
2861
|
if (0 === (seen1 & 16))
|
|
2847
|
-
$this.
|
|
2862
|
+
$this.t2p_1 = null;
|
|
2848
2863
|
else
|
|
2849
|
-
$this.
|
|
2864
|
+
$this.t2p_1 = initialLuckyFactor;
|
|
2850
2865
|
return $this;
|
|
2851
2866
|
}
|
|
2852
2867
|
function GameUserInfoDto_init_$Create$(seen1, playerId, name, avatarUrl, isBot, initialLuckyFactor, serializationConstructorMarker) {
|
|
@@ -2854,23 +2869,23 @@
|
|
|
2854
2869
|
}
|
|
2855
2870
|
function GameUserInfoDto(playerId, name, avatarUrl, isBot, initialLuckyFactor) {
|
|
2856
2871
|
avatarUrl = avatarUrl === VOID ? null : avatarUrl;
|
|
2857
|
-
isBot = isBot === VOID ?
|
|
2872
|
+
isBot = isBot === VOID ? null : isBot;
|
|
2858
2873
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
2859
|
-
this.
|
|
2860
|
-
this.
|
|
2861
|
-
this.
|
|
2862
|
-
this.
|
|
2863
|
-
this.
|
|
2874
|
+
this.p2p_1 = playerId;
|
|
2875
|
+
this.q2p_1 = name;
|
|
2876
|
+
this.r2p_1 = avatarUrl;
|
|
2877
|
+
this.s2p_1 = isBot;
|
|
2878
|
+
this.t2p_1 = initialLuckyFactor;
|
|
2864
2879
|
}
|
|
2865
2880
|
protoOf(GameUserInfoDto).toString = function () {
|
|
2866
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
2881
|
+
return 'GameUserInfoDto(playerId=' + this.p2p_1 + ', name=' + this.q2p_1 + ', avatarUrl=' + this.r2p_1 + ', isBot=' + this.s2p_1 + ', initialLuckyFactor=' + this.t2p_1 + ')';
|
|
2867
2882
|
};
|
|
2868
2883
|
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.
|
|
2884
|
+
var result = getStringHashCode(this.p2p_1);
|
|
2885
|
+
result = imul(result, 31) + getStringHashCode(this.q2p_1) | 0;
|
|
2886
|
+
result = imul(result, 31) + (this.r2p_1 == null ? 0 : getStringHashCode(this.r2p_1)) | 0;
|
|
2887
|
+
result = imul(result, 31) + (this.s2p_1 == null ? 0 : getBooleanHashCode(this.s2p_1)) | 0;
|
|
2888
|
+
result = imul(result, 31) + (this.t2p_1 == null ? 0 : getNumberHashCode(this.t2p_1)) | 0;
|
|
2874
2889
|
return result;
|
|
2875
2890
|
};
|
|
2876
2891
|
protoOf(GameUserInfoDto).equals = function (other) {
|
|
@@ -2879,15 +2894,15 @@
|
|
|
2879
2894
|
if (!(other instanceof GameUserInfoDto))
|
|
2880
2895
|
return false;
|
|
2881
2896
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
2882
|
-
if (!(this.
|
|
2897
|
+
if (!(this.p2p_1 === tmp0_other_with_cast.p2p_1))
|
|
2883
2898
|
return false;
|
|
2884
|
-
if (!(this.
|
|
2899
|
+
if (!(this.q2p_1 === tmp0_other_with_cast.q2p_1))
|
|
2885
2900
|
return false;
|
|
2886
|
-
if (!(this.
|
|
2901
|
+
if (!(this.r2p_1 == tmp0_other_with_cast.r2p_1))
|
|
2887
2902
|
return false;
|
|
2888
|
-
if (!(this.
|
|
2903
|
+
if (!(this.s2p_1 == tmp0_other_with_cast.s2p_1))
|
|
2889
2904
|
return false;
|
|
2890
|
-
if (!equals(this.
|
|
2905
|
+
if (!equals(this.t2p_1, tmp0_other_with_cast.t2p_1))
|
|
2891
2906
|
return false;
|
|
2892
2907
|
return true;
|
|
2893
2908
|
};
|
|
@@ -2897,7 +2912,7 @@
|
|
|
2897
2912
|
// Inline function 'kotlin.arrayOf' call
|
|
2898
2913
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2899
2914
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2900
|
-
tmp.
|
|
2915
|
+
tmp.w2p_1 = [Companion_getInstance_11().t16(), null, null];
|
|
2901
2916
|
}
|
|
2902
2917
|
var Companion_instance_15;
|
|
2903
2918
|
function Companion_getInstance_17() {
|
|
@@ -2911,19 +2926,19 @@
|
|
|
2911
2926
|
tmp0_serialDesc.ku('state', false);
|
|
2912
2927
|
tmp0_serialDesc.ku('connectionChangedTime', false);
|
|
2913
2928
|
tmp0_serialDesc.ku('notLiveDurationRecord', false);
|
|
2914
|
-
this.
|
|
2929
|
+
this.x2p_1 = tmp0_serialDesc;
|
|
2915
2930
|
}
|
|
2916
2931
|
protoOf($serializer_6).pj = function () {
|
|
2917
|
-
return this.
|
|
2932
|
+
return this.x2p_1;
|
|
2918
2933
|
};
|
|
2919
2934
|
protoOf($serializer_6).zu = function () {
|
|
2920
2935
|
// Inline function 'kotlin.arrayOf' call
|
|
2921
2936
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2922
2937
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2923
|
-
return [Companion_getInstance_17().
|
|
2938
|
+
return [Companion_getInstance_17().w2p_1[0], StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
2924
2939
|
};
|
|
2925
2940
|
protoOf($serializer_6).rj = function (decoder) {
|
|
2926
|
-
var tmp0_desc = this.
|
|
2941
|
+
var tmp0_desc = this.x2p_1;
|
|
2927
2942
|
var tmp1_flag = true;
|
|
2928
2943
|
var tmp2_index = 0;
|
|
2929
2944
|
var tmp3_bitMask0 = 0;
|
|
@@ -2931,7 +2946,7 @@
|
|
|
2931
2946
|
var tmp5_local1 = null;
|
|
2932
2947
|
var tmp6_local2 = null;
|
|
2933
2948
|
var tmp7_input = decoder.xm(tmp0_desc);
|
|
2934
|
-
var tmp8_cached = Companion_getInstance_17().
|
|
2949
|
+
var tmp8_cached = Companion_getInstance_17().w2p_1;
|
|
2935
2950
|
if (tmp7_input.nn()) {
|
|
2936
2951
|
tmp4_local0 = tmp7_input.jn(tmp0_desc, 0, tmp8_cached[0], tmp4_local0);
|
|
2937
2952
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -2965,17 +2980,17 @@
|
|
|
2965
2980
|
tmp7_input.ym(tmp0_desc);
|
|
2966
2981
|
return PlayerConnectionDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2967
2982
|
};
|
|
2968
|
-
protoOf($serializer_6).
|
|
2969
|
-
var tmp0_desc = this.
|
|
2983
|
+
protoOf($serializer_6).y2p = function (encoder, value) {
|
|
2984
|
+
var tmp0_desc = this.x2p_1;
|
|
2970
2985
|
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.
|
|
2986
|
+
var tmp2_cached = Companion_getInstance_17().w2p_1;
|
|
2987
|
+
tmp1_output.oo(tmp0_desc, 0, tmp2_cached[0], value.z2p_1);
|
|
2988
|
+
tmp1_output.mo(tmp0_desc, 1, value.a2q_1);
|
|
2989
|
+
tmp1_output.mo(tmp0_desc, 2, value.b2q_1);
|
|
2975
2990
|
tmp1_output.ym(tmp0_desc);
|
|
2976
2991
|
};
|
|
2977
2992
|
protoOf($serializer_6).qj = function (encoder, value) {
|
|
2978
|
-
return this.
|
|
2993
|
+
return this.y2p(encoder, value instanceof PlayerConnectionDto ? value : THROW_CCE());
|
|
2979
2994
|
};
|
|
2980
2995
|
var $serializer_instance_6;
|
|
2981
2996
|
function $serializer_getInstance_6() {
|
|
@@ -2985,11 +3000,11 @@
|
|
|
2985
3000
|
}
|
|
2986
3001
|
function PlayerConnectionDto_init_$Init$(seen1, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker, $this) {
|
|
2987
3002
|
if (!(7 === (7 & seen1))) {
|
|
2988
|
-
throwMissingFieldException(seen1, 7, $serializer_getInstance_6().
|
|
3003
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_6().x2p_1);
|
|
2989
3004
|
}
|
|
2990
|
-
$this.
|
|
2991
|
-
$this.
|
|
2992
|
-
$this.
|
|
3005
|
+
$this.z2p_1 = state;
|
|
3006
|
+
$this.a2q_1 = connectionChangedTime;
|
|
3007
|
+
$this.b2q_1 = notLiveDurationRecord;
|
|
2993
3008
|
return $this;
|
|
2994
3009
|
}
|
|
2995
3010
|
function PlayerConnectionDto_init_$Create$(seen1, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker) {
|
|
@@ -2998,12 +3013,12 @@
|
|
|
2998
3013
|
function PlayerConnectionDto() {
|
|
2999
3014
|
}
|
|
3000
3015
|
protoOf(PlayerConnectionDto).toString = function () {
|
|
3001
|
-
return 'PlayerConnectionDto(state=' + this.
|
|
3016
|
+
return 'PlayerConnectionDto(state=' + this.z2p_1 + ', connectionChangedTime=' + this.a2q_1 + ', notLiveDurationRecord=' + this.b2q_1 + ')';
|
|
3002
3017
|
};
|
|
3003
3018
|
protoOf(PlayerConnectionDto).hashCode = function () {
|
|
3004
|
-
var result = this.
|
|
3005
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3006
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3019
|
+
var result = this.z2p_1.hashCode();
|
|
3020
|
+
result = imul(result, 31) + getStringHashCode(this.a2q_1) | 0;
|
|
3021
|
+
result = imul(result, 31) + getStringHashCode(this.b2q_1) | 0;
|
|
3007
3022
|
return result;
|
|
3008
3023
|
};
|
|
3009
3024
|
protoOf(PlayerConnectionDto).equals = function (other) {
|
|
@@ -3012,11 +3027,11 @@
|
|
|
3012
3027
|
if (!(other instanceof PlayerConnectionDto))
|
|
3013
3028
|
return false;
|
|
3014
3029
|
var tmp0_other_with_cast = other instanceof PlayerConnectionDto ? other : THROW_CCE();
|
|
3015
|
-
if (!this.
|
|
3030
|
+
if (!this.z2p_1.equals(tmp0_other_with_cast.z2p_1))
|
|
3016
3031
|
return false;
|
|
3017
|
-
if (!(this.
|
|
3032
|
+
if (!(this.a2q_1 === tmp0_other_with_cast.a2q_1))
|
|
3018
3033
|
return false;
|
|
3019
|
-
if (!(this.
|
|
3034
|
+
if (!(this.b2q_1 === tmp0_other_with_cast.b2q_1))
|
|
3020
3035
|
return false;
|
|
3021
3036
|
return true;
|
|
3022
3037
|
};
|
|
@@ -3026,7 +3041,7 @@
|
|
|
3026
3041
|
// Inline function 'kotlin.arrayOf' call
|
|
3027
3042
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3028
3043
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3029
|
-
tmp.
|
|
3044
|
+
tmp.c2q_1 = [null, null, null, null, Companion_getInstance_12().t16(), null, null, null];
|
|
3030
3045
|
}
|
|
3031
3046
|
var Companion_instance_16;
|
|
3032
3047
|
function Companion_getInstance_18() {
|
|
@@ -3045,20 +3060,20 @@
|
|
|
3045
3060
|
tmp0_serialDesc.ku('ready', false);
|
|
3046
3061
|
tmp0_serialDesc.ku('tag', true);
|
|
3047
3062
|
tmp0_serialDesc.ku('connection', true);
|
|
3048
|
-
this.
|
|
3063
|
+
this.d2q_1 = tmp0_serialDesc;
|
|
3049
3064
|
}
|
|
3050
3065
|
protoOf($serializer_7).pj = function () {
|
|
3051
|
-
return this.
|
|
3066
|
+
return this.d2q_1;
|
|
3052
3067
|
};
|
|
3053
3068
|
protoOf($serializer_7).zu = function () {
|
|
3054
|
-
var tmp0_cached = Companion_getInstance_18().
|
|
3069
|
+
var tmp0_cached = Companion_getInstance_18().c2q_1;
|
|
3055
3070
|
// Inline function 'kotlin.arrayOf' call
|
|
3056
3071
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3057
3072
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3058
3073
|
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
3074
|
};
|
|
3060
3075
|
protoOf($serializer_7).rj = function (decoder) {
|
|
3061
|
-
var tmp0_desc = this.
|
|
3076
|
+
var tmp0_desc = this.d2q_1;
|
|
3062
3077
|
var tmp1_flag = true;
|
|
3063
3078
|
var tmp2_index = 0;
|
|
3064
3079
|
var tmp3_bitMask0 = 0;
|
|
@@ -3071,7 +3086,7 @@
|
|
|
3071
3086
|
var tmp10_local6 = null;
|
|
3072
3087
|
var tmp11_local7 = null;
|
|
3073
3088
|
var tmp12_input = decoder.xm(tmp0_desc);
|
|
3074
|
-
var tmp13_cached = Companion_getInstance_18().
|
|
3089
|
+
var tmp13_cached = Companion_getInstance_18().c2q_1;
|
|
3075
3090
|
if (tmp12_input.nn()) {
|
|
3076
3091
|
tmp4_local0 = tmp12_input.ln(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
|
|
3077
3092
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3135,34 +3150,34 @@
|
|
|
3135
3150
|
tmp12_input.ym(tmp0_desc);
|
|
3136
3151
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
3137
3152
|
};
|
|
3138
|
-
protoOf($serializer_7).
|
|
3139
|
-
var tmp0_desc = this.
|
|
3153
|
+
protoOf($serializer_7).e2q = function (encoder, value) {
|
|
3154
|
+
var tmp0_desc = this.d2q_1;
|
|
3140
3155
|
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.
|
|
3156
|
+
var tmp2_cached = Companion_getInstance_18().c2q_1;
|
|
3157
|
+
if (tmp1_output.uo(tmp0_desc, 0) ? true : !(value.f2q_1 == null)) {
|
|
3158
|
+
tmp1_output.qo(tmp0_desc, 0, LongSerializer_getInstance(), value.f2q_1);
|
|
3144
3159
|
}
|
|
3145
|
-
if (tmp1_output.uo(tmp0_desc, 1) ? true : !(value.
|
|
3146
|
-
tmp1_output.qo(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
3160
|
+
if (tmp1_output.uo(tmp0_desc, 1) ? true : !(value.g2q_1 == null)) {
|
|
3161
|
+
tmp1_output.qo(tmp0_desc, 1, StringSerializer_getInstance(), value.g2q_1);
|
|
3147
3162
|
}
|
|
3148
|
-
if (tmp1_output.uo(tmp0_desc, 2) ? true : !(value.
|
|
3149
|
-
tmp1_output.qo(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
3163
|
+
if (tmp1_output.uo(tmp0_desc, 2) ? true : !(value.h2q_1 == null)) {
|
|
3164
|
+
tmp1_output.qo(tmp0_desc, 2, StringSerializer_getInstance(), value.h2q_1);
|
|
3150
3165
|
}
|
|
3151
|
-
if (tmp1_output.uo(tmp0_desc, 3) ? true : !(value.
|
|
3152
|
-
tmp1_output.qo(tmp0_desc, 3, StringSerializer_getInstance(), value.
|
|
3166
|
+
if (tmp1_output.uo(tmp0_desc, 3) ? true : !(value.i2q_1 == null)) {
|
|
3167
|
+
tmp1_output.qo(tmp0_desc, 3, StringSerializer_getInstance(), value.i2q_1);
|
|
3153
3168
|
}
|
|
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.
|
|
3169
|
+
tmp1_output.oo(tmp0_desc, 4, tmp2_cached[4], value.j2q_1);
|
|
3170
|
+
tmp1_output.eo(tmp0_desc, 5, value.k2q_1);
|
|
3171
|
+
if (tmp1_output.uo(tmp0_desc, 6) ? true : !(value.l2q_1 == null)) {
|
|
3172
|
+
tmp1_output.qo(tmp0_desc, 6, StringSerializer_getInstance(), value.l2q_1);
|
|
3158
3173
|
}
|
|
3159
|
-
if (tmp1_output.uo(tmp0_desc, 7) ? true : !(value.
|
|
3160
|
-
tmp1_output.qo(tmp0_desc, 7, $serializer_getInstance_6(), value.
|
|
3174
|
+
if (tmp1_output.uo(tmp0_desc, 7) ? true : !(value.m2q_1 == null)) {
|
|
3175
|
+
tmp1_output.qo(tmp0_desc, 7, $serializer_getInstance_6(), value.m2q_1);
|
|
3161
3176
|
}
|
|
3162
3177
|
tmp1_output.ym(tmp0_desc);
|
|
3163
3178
|
};
|
|
3164
3179
|
protoOf($serializer_7).qj = function (encoder, value) {
|
|
3165
|
-
return this.
|
|
3180
|
+
return this.e2q(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
3166
3181
|
};
|
|
3167
3182
|
var $serializer_instance_7;
|
|
3168
3183
|
function $serializer_getInstance_7() {
|
|
@@ -3172,34 +3187,34 @@
|
|
|
3172
3187
|
}
|
|
3173
3188
|
function PlayerStateDto_init_$Init$(seen1, startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker, $this) {
|
|
3174
3189
|
if (!(48 === (48 & seen1))) {
|
|
3175
|
-
throwMissingFieldException(seen1, 48, $serializer_getInstance_7().
|
|
3190
|
+
throwMissingFieldException(seen1, 48, $serializer_getInstance_7().d2q_1);
|
|
3176
3191
|
}
|
|
3177
3192
|
if (0 === (seen1 & 1))
|
|
3178
|
-
$this.
|
|
3193
|
+
$this.f2q_1 = null;
|
|
3179
3194
|
else
|
|
3180
|
-
$this.
|
|
3195
|
+
$this.f2q_1 = startFromTime;
|
|
3181
3196
|
if (0 === (seen1 & 2))
|
|
3182
|
-
$this.
|
|
3197
|
+
$this.g2q_1 = null;
|
|
3183
3198
|
else
|
|
3184
|
-
$this.
|
|
3199
|
+
$this.g2q_1 = startFrom;
|
|
3185
3200
|
if (0 === (seen1 & 4))
|
|
3186
|
-
$this.
|
|
3201
|
+
$this.h2q_1 = null;
|
|
3187
3202
|
else
|
|
3188
|
-
$this.
|
|
3203
|
+
$this.h2q_1 = playerTurnTimeout;
|
|
3189
3204
|
if (0 === (seen1 & 8))
|
|
3190
|
-
$this.
|
|
3205
|
+
$this.i2q_1 = null;
|
|
3191
3206
|
else
|
|
3192
|
-
$this.
|
|
3193
|
-
$this.
|
|
3194
|
-
$this.
|
|
3207
|
+
$this.i2q_1 = waitPlayerUntilTime;
|
|
3208
|
+
$this.j2q_1 = state;
|
|
3209
|
+
$this.k2q_1 = ready;
|
|
3195
3210
|
if (0 === (seen1 & 64))
|
|
3196
|
-
$this.
|
|
3211
|
+
$this.l2q_1 = null;
|
|
3197
3212
|
else
|
|
3198
|
-
$this.
|
|
3213
|
+
$this.l2q_1 = tag;
|
|
3199
3214
|
if (0 === (seen1 & 128))
|
|
3200
|
-
$this.
|
|
3215
|
+
$this.m2q_1 = null;
|
|
3201
3216
|
else
|
|
3202
|
-
$this.
|
|
3217
|
+
$this.m2q_1 = connection;
|
|
3203
3218
|
return $this;
|
|
3204
3219
|
}
|
|
3205
3220
|
function PlayerStateDto_init_$Create$(seen1, startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker) {
|
|
@@ -3208,17 +3223,17 @@
|
|
|
3208
3223
|
function PlayerStateDto() {
|
|
3209
3224
|
}
|
|
3210
3225
|
protoOf(PlayerStateDto).toString = function () {
|
|
3211
|
-
return 'PlayerStateDto(startFromTime=' + toString(this.
|
|
3226
|
+
return 'PlayerStateDto(startFromTime=' + toString(this.f2q_1) + ', startFrom=' + this.g2q_1 + ', playerTurnTimeout=' + this.h2q_1 + ', waitPlayerUntilTime=' + this.i2q_1 + ', state=' + this.j2q_1 + ', ready=' + this.k2q_1 + ', tag=' + this.l2q_1 + ', connection=' + this.m2q_1 + ')';
|
|
3212
3227
|
};
|
|
3213
3228
|
protoOf(PlayerStateDto).hashCode = function () {
|
|
3214
|
-
var result = this.
|
|
3215
|
-
result = imul(result, 31) + (this.
|
|
3216
|
-
result = imul(result, 31) + (this.d2q_1 == null ? 0 : getStringHashCode(this.d2q_1)) | 0;
|
|
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;
|
|
3229
|
+
var result = this.f2q_1 == null ? 0 : this.f2q_1.hashCode();
|
|
3230
|
+
result = imul(result, 31) + (this.g2q_1 == null ? 0 : getStringHashCode(this.g2q_1)) | 0;
|
|
3220
3231
|
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
|
|
3232
|
+
result = imul(result, 31) + (this.i2q_1 == null ? 0 : getStringHashCode(this.i2q_1)) | 0;
|
|
3233
|
+
result = imul(result, 31) + this.j2q_1.hashCode() | 0;
|
|
3234
|
+
result = imul(result, 31) + getBooleanHashCode(this.k2q_1) | 0;
|
|
3235
|
+
result = imul(result, 31) + (this.l2q_1 == null ? 0 : getStringHashCode(this.l2q_1)) | 0;
|
|
3236
|
+
result = imul(result, 31) + (this.m2q_1 == null ? 0 : this.m2q_1.hashCode()) | 0;
|
|
3222
3237
|
return result;
|
|
3223
3238
|
};
|
|
3224
3239
|
protoOf(PlayerStateDto).equals = function (other) {
|
|
@@ -3227,21 +3242,21 @@
|
|
|
3227
3242
|
if (!(other instanceof PlayerStateDto))
|
|
3228
3243
|
return false;
|
|
3229
3244
|
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
3230
|
-
if (!equals(this.
|
|
3245
|
+
if (!equals(this.f2q_1, tmp0_other_with_cast.f2q_1))
|
|
3231
3246
|
return false;
|
|
3232
|
-
if (!(this.
|
|
3247
|
+
if (!(this.g2q_1 == tmp0_other_with_cast.g2q_1))
|
|
3233
3248
|
return false;
|
|
3234
|
-
if (!(this.
|
|
3249
|
+
if (!(this.h2q_1 == tmp0_other_with_cast.h2q_1))
|
|
3235
3250
|
return false;
|
|
3236
|
-
if (!(this.
|
|
3251
|
+
if (!(this.i2q_1 == tmp0_other_with_cast.i2q_1))
|
|
3237
3252
|
return false;
|
|
3238
|
-
if (!this.
|
|
3253
|
+
if (!this.j2q_1.equals(tmp0_other_with_cast.j2q_1))
|
|
3239
3254
|
return false;
|
|
3240
|
-
if (!(this.
|
|
3255
|
+
if (!(this.k2q_1 === tmp0_other_with_cast.k2q_1))
|
|
3241
3256
|
return false;
|
|
3242
|
-
if (!(this.
|
|
3257
|
+
if (!(this.l2q_1 == tmp0_other_with_cast.l2q_1))
|
|
3243
3258
|
return false;
|
|
3244
|
-
if (!equals(this.
|
|
3259
|
+
if (!equals(this.m2q_1, tmp0_other_with_cast.m2q_1))
|
|
3245
3260
|
return false;
|
|
3246
3261
|
return true;
|
|
3247
3262
|
};
|
|
@@ -3274,10 +3289,10 @@
|
|
|
3274
3289
|
tmp0_serialDesc.ku('checkTrumpCombination', true);
|
|
3275
3290
|
tmp0_serialDesc.ku('checkOnlyTrumpDebertz', true);
|
|
3276
3291
|
tmp0_serialDesc.ku('tenCardsInHand', true);
|
|
3277
|
-
this.
|
|
3292
|
+
this.n2q_1 = tmp0_serialDesc;
|
|
3278
3293
|
}
|
|
3279
3294
|
protoOf($serializer_8).pj = function () {
|
|
3280
|
-
return this.
|
|
3295
|
+
return this.n2q_1;
|
|
3281
3296
|
};
|
|
3282
3297
|
protoOf($serializer_8).zu = function () {
|
|
3283
3298
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3286,7 +3301,7 @@
|
|
|
3286
3301
|
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
3302
|
};
|
|
3288
3303
|
protoOf($serializer_8).rj = function (decoder) {
|
|
3289
|
-
var tmp0_desc = this.
|
|
3304
|
+
var tmp0_desc = this.n2q_1;
|
|
3290
3305
|
var tmp1_flag = true;
|
|
3291
3306
|
var tmp2_index = 0;
|
|
3292
3307
|
var tmp3_bitMask0 = 0;
|
|
@@ -3425,8 +3440,8 @@
|
|
|
3425
3440
|
tmp21_input.ym(tmp0_desc);
|
|
3426
3441
|
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
3442
|
};
|
|
3428
|
-
protoOf($serializer_8).
|
|
3429
|
-
var tmp0_desc = this.
|
|
3443
|
+
protoOf($serializer_8).o2q = function (encoder, value) {
|
|
3444
|
+
var tmp0_desc = this.n2q_1;
|
|
3430
3445
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
3431
3446
|
if (tmp1_output.uo(tmp0_desc, 0) ? true : !(value.needToPutHigherTrump == null)) {
|
|
3432
3447
|
tmp1_output.qo(tmp0_desc, 0, BooleanSerializer_getInstance(), value.needToPutHigherTrump);
|
|
@@ -3480,7 +3495,7 @@
|
|
|
3480
3495
|
tmp1_output.ym(tmp0_desc);
|
|
3481
3496
|
};
|
|
3482
3497
|
protoOf($serializer_8).qj = function (encoder, value) {
|
|
3483
|
-
return this.
|
|
3498
|
+
return this.o2q(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
3484
3499
|
};
|
|
3485
3500
|
var $serializer_instance_8;
|
|
3486
3501
|
function $serializer_getInstance_8() {
|
|
@@ -3490,7 +3505,7 @@
|
|
|
3490
3505
|
}
|
|
3491
3506
|
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
3507
|
if (!(4096 === (4096 & seen1))) {
|
|
3493
|
-
throwMissingFieldException(seen1, 4096, $serializer_getInstance_8().
|
|
3508
|
+
throwMissingFieldException(seen1, 4096, $serializer_getInstance_8().n2q_1);
|
|
3494
3509
|
}
|
|
3495
3510
|
if (0 === (seen1 & 1))
|
|
3496
3511
|
$this.needToPutHigherTrump = null;
|
|
@@ -3597,55 +3612,55 @@
|
|
|
3597
3612
|
this.checkOnlyTrumpDebertz = checkOnlyTrumpDebertz;
|
|
3598
3613
|
this.tenCardsInHand = tenCardsInHand;
|
|
3599
3614
|
}
|
|
3600
|
-
protoOf(RulesDto).
|
|
3615
|
+
protoOf(RulesDto).g2o = function () {
|
|
3601
3616
|
return this.needToPutHigherTrump;
|
|
3602
3617
|
};
|
|
3603
|
-
protoOf(RulesDto).
|
|
3618
|
+
protoOf(RulesDto).h2o = function () {
|
|
3604
3619
|
return this.distributePoints;
|
|
3605
3620
|
};
|
|
3606
|
-
protoOf(RulesDto).
|
|
3621
|
+
protoOf(RulesDto).i2o = function () {
|
|
3607
3622
|
return this.protectBella;
|
|
3608
3623
|
};
|
|
3609
|
-
protoOf(RulesDto).
|
|
3624
|
+
protoOf(RulesDto).j2o = function () {
|
|
3610
3625
|
return this.oneTryToProtectBella;
|
|
3611
3626
|
};
|
|
3612
|
-
protoOf(RulesDto).
|
|
3627
|
+
protoOf(RulesDto).k2o = function () {
|
|
3613
3628
|
return this.enableFourSevensCombination;
|
|
3614
3629
|
};
|
|
3615
|
-
protoOf(RulesDto).
|
|
3630
|
+
protoOf(RulesDto).l2o = function () {
|
|
3616
3631
|
return this.enableTrumpSevenCombination;
|
|
3617
3632
|
};
|
|
3618
|
-
protoOf(RulesDto).
|
|
3633
|
+
protoOf(RulesDto).m2o = function () {
|
|
3619
3634
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
3620
3635
|
};
|
|
3621
|
-
protoOf(RulesDto).
|
|
3636
|
+
protoOf(RulesDto).n2o = function () {
|
|
3622
3637
|
return this.playerWhoChooseSuitGoFirst;
|
|
3623
3638
|
};
|
|
3624
|
-
protoOf(RulesDto).
|
|
3639
|
+
protoOf(RulesDto).o2o = function () {
|
|
3625
3640
|
return this.winnerShuffleCards;
|
|
3626
3641
|
};
|
|
3627
|
-
protoOf(RulesDto).
|
|
3642
|
+
protoOf(RulesDto).p2o = function () {
|
|
3628
3643
|
return this.playWithoutLiabilities;
|
|
3629
3644
|
};
|
|
3630
|
-
protoOf(RulesDto).
|
|
3645
|
+
protoOf(RulesDto).q2o = function () {
|
|
3631
3646
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
3632
3647
|
};
|
|
3633
|
-
protoOf(RulesDto).
|
|
3648
|
+
protoOf(RulesDto).r2o = function () {
|
|
3634
3649
|
return this.enableFineIfNoBribes;
|
|
3635
3650
|
};
|
|
3636
|
-
protoOf(RulesDto).
|
|
3651
|
+
protoOf(RulesDto).s2o = function () {
|
|
3637
3652
|
return this.fineIfNoBribes;
|
|
3638
3653
|
};
|
|
3639
|
-
protoOf(RulesDto).
|
|
3654
|
+
protoOf(RulesDto).t2o = function () {
|
|
3640
3655
|
return this.enableFineAfterThirdByte;
|
|
3641
3656
|
};
|
|
3642
|
-
protoOf(RulesDto).
|
|
3657
|
+
protoOf(RulesDto).u2o = function () {
|
|
3643
3658
|
return this.checkTrumpCombination;
|
|
3644
3659
|
};
|
|
3645
|
-
protoOf(RulesDto).
|
|
3660
|
+
protoOf(RulesDto).v2o = function () {
|
|
3646
3661
|
return this.checkOnlyTrumpDebertz;
|
|
3647
3662
|
};
|
|
3648
|
-
protoOf(RulesDto).
|
|
3663
|
+
protoOf(RulesDto).w2o = function () {
|
|
3649
3664
|
return this.tenCardsInHand;
|
|
3650
3665
|
};
|
|
3651
3666
|
protoOf(RulesDto).cd = function () {
|
|
@@ -3657,49 +3672,49 @@
|
|
|
3657
3672
|
protoOf(RulesDto).qh = function () {
|
|
3658
3673
|
return this.protectBella;
|
|
3659
3674
|
};
|
|
3660
|
-
protoOf(RulesDto).
|
|
3675
|
+
protoOf(RulesDto).p2k = function () {
|
|
3661
3676
|
return this.oneTryToProtectBella;
|
|
3662
3677
|
};
|
|
3663
|
-
protoOf(RulesDto).
|
|
3678
|
+
protoOf(RulesDto).y2l = function () {
|
|
3664
3679
|
return this.enableFourSevensCombination;
|
|
3665
3680
|
};
|
|
3666
|
-
protoOf(RulesDto).
|
|
3681
|
+
protoOf(RulesDto).z2l = function () {
|
|
3667
3682
|
return this.enableTrumpSevenCombination;
|
|
3668
3683
|
};
|
|
3669
|
-
protoOf(RulesDto).
|
|
3684
|
+
protoOf(RulesDto).x2o = function () {
|
|
3670
3685
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
3671
3686
|
};
|
|
3672
|
-
protoOf(RulesDto).
|
|
3687
|
+
protoOf(RulesDto).y2o = function () {
|
|
3673
3688
|
return this.playerWhoChooseSuitGoFirst;
|
|
3674
3689
|
};
|
|
3675
|
-
protoOf(RulesDto).
|
|
3690
|
+
protoOf(RulesDto).z2o = function () {
|
|
3676
3691
|
return this.winnerShuffleCards;
|
|
3677
3692
|
};
|
|
3678
|
-
protoOf(RulesDto).
|
|
3693
|
+
protoOf(RulesDto).a2p = function () {
|
|
3679
3694
|
return this.playWithoutLiabilities;
|
|
3680
3695
|
};
|
|
3681
|
-
protoOf(RulesDto).
|
|
3696
|
+
protoOf(RulesDto).b2p = function () {
|
|
3682
3697
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
3683
3698
|
};
|
|
3684
|
-
protoOf(RulesDto).
|
|
3699
|
+
protoOf(RulesDto).c2p = function () {
|
|
3685
3700
|
return this.enableFineIfNoBribes;
|
|
3686
3701
|
};
|
|
3687
|
-
protoOf(RulesDto).
|
|
3702
|
+
protoOf(RulesDto).d2p = function () {
|
|
3688
3703
|
return this.fineIfNoBribes;
|
|
3689
3704
|
};
|
|
3690
|
-
protoOf(RulesDto).
|
|
3705
|
+
protoOf(RulesDto).e2p = function () {
|
|
3691
3706
|
return this.enableFineAfterThirdByte;
|
|
3692
3707
|
};
|
|
3693
|
-
protoOf(RulesDto).
|
|
3708
|
+
protoOf(RulesDto).f2p = function () {
|
|
3694
3709
|
return this.checkTrumpCombination;
|
|
3695
3710
|
};
|
|
3696
|
-
protoOf(RulesDto).
|
|
3711
|
+
protoOf(RulesDto).g2p = function () {
|
|
3697
3712
|
return this.checkOnlyTrumpDebertz;
|
|
3698
3713
|
};
|
|
3699
|
-
protoOf(RulesDto).
|
|
3714
|
+
protoOf(RulesDto).h2p = function () {
|
|
3700
3715
|
return this.tenCardsInHand;
|
|
3701
3716
|
};
|
|
3702
|
-
protoOf(RulesDto).
|
|
3717
|
+
protoOf(RulesDto).p2q = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
3703
3718
|
return new RulesDto(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
3704
3719
|
};
|
|
3705
3720
|
protoOf(RulesDto).copy = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $super) {
|
|
@@ -3720,7 +3735,7 @@
|
|
|
3720
3735
|
checkTrumpCombination = checkTrumpCombination === VOID ? this.checkTrumpCombination : checkTrumpCombination;
|
|
3721
3736
|
checkOnlyTrumpDebertz = checkOnlyTrumpDebertz === VOID ? this.checkOnlyTrumpDebertz : checkOnlyTrumpDebertz;
|
|
3722
3737
|
tenCardsInHand = tenCardsInHand === VOID ? this.tenCardsInHand : tenCardsInHand;
|
|
3723
|
-
return this.
|
|
3738
|
+
return this.p2q(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
3724
3739
|
};
|
|
3725
3740
|
protoOf(RulesDto).toString = function () {
|
|
3726
3741
|
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 +3804,27 @@
|
|
|
3789
3804
|
};
|
|
3790
3805
|
function CardIndexComparator() {
|
|
3791
3806
|
}
|
|
3792
|
-
protoOf(CardIndexComparator).
|
|
3793
|
-
return a.
|
|
3807
|
+
protoOf(CardIndexComparator).q2q = function (a, b) {
|
|
3808
|
+
return a.o2p_1 - b.o2p_1 | 0;
|
|
3794
3809
|
};
|
|
3795
3810
|
protoOf(CardIndexComparator).compare = function (a, b) {
|
|
3796
3811
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
3797
|
-
return this.
|
|
3812
|
+
return this.q2q(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
3798
3813
|
};
|
|
3799
3814
|
var CardIndexComparator_instance;
|
|
3800
3815
|
function CardIndexComparator_getInstance() {
|
|
3801
3816
|
return CardIndexComparator_instance;
|
|
3802
3817
|
}
|
|
3803
3818
|
function CardGrowthComparator(trump, firstCardSuit) {
|
|
3804
|
-
this.
|
|
3805
|
-
this.
|
|
3819
|
+
this.r2q_1 = trump;
|
|
3820
|
+
this.s2q_1 = firstCardSuit;
|
|
3806
3821
|
}
|
|
3807
|
-
protoOf(CardGrowthComparator).
|
|
3808
|
-
return getGrowth(b, this.
|
|
3822
|
+
protoOf(CardGrowthComparator).q2q = function (a, b) {
|
|
3823
|
+
return getGrowth(b, this.r2q_1, this.s2q_1) - getGrowth(a, this.r2q_1, this.s2q_1) | 0;
|
|
3809
3824
|
};
|
|
3810
3825
|
protoOf(CardGrowthComparator).compare = function (a, b) {
|
|
3811
3826
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
3812
|
-
return this.
|
|
3827
|
+
return this.q2q(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
3813
3828
|
};
|
|
3814
3829
|
function filterByCardName(_this__u8e3s4, name) {
|
|
3815
3830
|
// Inline function 'kotlin.collections.filter' call
|
|
@@ -3841,25 +3856,25 @@
|
|
|
3841
3856
|
}
|
|
3842
3857
|
function CardNumberComparator() {
|
|
3843
3858
|
}
|
|
3844
|
-
protoOf(CardNumberComparator).
|
|
3845
|
-
return b.
|
|
3859
|
+
protoOf(CardNumberComparator).q2q = function (a, b) {
|
|
3860
|
+
return b.t2q() - a.t2q() | 0;
|
|
3846
3861
|
};
|
|
3847
3862
|
protoOf(CardNumberComparator).compare = function (a, b) {
|
|
3848
3863
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
3849
|
-
return this.
|
|
3864
|
+
return this.q2q(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
3850
3865
|
};
|
|
3851
3866
|
var CardNumberComparator_instance;
|
|
3852
3867
|
function CardNumberComparator_getInstance() {
|
|
3853
3868
|
return CardNumberComparator_instance;
|
|
3854
3869
|
}
|
|
3855
3870
|
function getPoint(_this__u8e3s4, trump) {
|
|
3856
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
3871
|
+
var isTrump = trump.equals(_this__u8e3s4.u2q());
|
|
3857
3872
|
return getPoint_0(_this__u8e3s4, isTrump);
|
|
3858
3873
|
}
|
|
3859
3874
|
function getGrowth(_this__u8e3s4, trump, firstCardSuit) {
|
|
3860
3875
|
var minPoint = 0;
|
|
3861
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
3862
|
-
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.
|
|
3876
|
+
var isTrump = trump.equals(_this__u8e3s4.u2q());
|
|
3877
|
+
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.u2q());
|
|
3863
3878
|
var minGrowth;
|
|
3864
3879
|
var maxGrowth;
|
|
3865
3880
|
switch (_this__u8e3s4.g9().g8_1) {
|
|
@@ -3949,7 +3964,7 @@
|
|
|
3949
3964
|
return tmp;
|
|
3950
3965
|
}
|
|
3951
3966
|
function getValueInHand(_this__u8e3s4, trump, allCards) {
|
|
3952
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
3967
|
+
var isTrump = trump.equals(_this__u8e3s4.u2q());
|
|
3953
3968
|
return getValueInHand_0(_this__u8e3s4, isTrump, allCards);
|
|
3954
3969
|
}
|
|
3955
3970
|
function getValueInHand_0(_this__u8e3s4, isTrump, allCards) {
|
|
@@ -4033,7 +4048,7 @@
|
|
|
4033
4048
|
var element = indexedObject[inductionVariable];
|
|
4034
4049
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4035
4050
|
// Inline function 'com.logic.data.models.table.cards.bySuitPredicate.<anonymous>.<anonymous>' call
|
|
4036
|
-
if (p1.
|
|
4051
|
+
if (p1.u2q().equals(element)) {
|
|
4037
4052
|
tmp$ret$1 = true;
|
|
4038
4053
|
break $l$block;
|
|
4039
4054
|
}
|
|
@@ -4130,10 +4145,10 @@
|
|
|
4130
4145
|
}
|
|
4131
4146
|
function Companion_18() {
|
|
4132
4147
|
}
|
|
4133
|
-
protoOf(Companion_18).
|
|
4148
|
+
protoOf(Companion_18).v2q = function (suit, cardNumber) {
|
|
4134
4149
|
return new GameCard(getNumber(Companion_instance_19, cardNumber, suit));
|
|
4135
4150
|
};
|
|
4136
|
-
protoOf(Companion_18).
|
|
4151
|
+
protoOf(Companion_18).w2q = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
|
|
4137
4152
|
var tmp;
|
|
4138
4153
|
if (previousStubCardWithMaxIndex == null) {
|
|
4139
4154
|
tmp = null;
|
|
@@ -4142,7 +4157,7 @@
|
|
|
4142
4157
|
// Inline function 'kotlin.contracts.contract' call
|
|
4143
4158
|
var tmp_0;
|
|
4144
4159
|
// Inline function 'com.logic.data.models.table.cards.Companion.createUniqueStub.<anonymous>' call
|
|
4145
|
-
if (previousStubCardWithMaxIndex.
|
|
4160
|
+
if (previousStubCardWithMaxIndex.x2q()) {
|
|
4146
4161
|
tmp_0 = previousStubCardWithMaxIndex;
|
|
4147
4162
|
} else {
|
|
4148
4163
|
tmp_0 = null;
|
|
@@ -4150,8 +4165,8 @@
|
|
|
4150
4165
|
tmp = tmp_0;
|
|
4151
4166
|
}
|
|
4152
4167
|
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.
|
|
4168
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.o2p_1;
|
|
4169
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_instance_19.c2r(tmp2_safe_receiver, playerIndex, reverse);
|
|
4155
4170
|
var tmp_1;
|
|
4156
4171
|
if (tmp3_safe_receiver == null) {
|
|
4157
4172
|
tmp_1 = null;
|
|
@@ -4172,10 +4187,10 @@
|
|
|
4172
4187
|
var index = tmp_2;
|
|
4173
4188
|
return new GameCard(index);
|
|
4174
4189
|
};
|
|
4175
|
-
protoOf(Companion_18).
|
|
4190
|
+
protoOf(Companion_18).d2r = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $super) {
|
|
4176
4191
|
previousStubCardWithMaxIndex = previousStubCardWithMaxIndex === VOID ? null : previousStubCardWithMaxIndex;
|
|
4177
4192
|
reverse = reverse === VOID ? false : reverse;
|
|
4178
|
-
return $super === VOID ? this.
|
|
4193
|
+
return $super === VOID ? this.w2q(position, playerIndex, previousStubCardWithMaxIndex, reverse) : $super.w2q.call(this, position, playerIndex, previousStubCardWithMaxIndex, reverse);
|
|
4179
4194
|
};
|
|
4180
4195
|
var Companion_instance_18;
|
|
4181
4196
|
function Companion_getInstance_20() {
|
|
@@ -4279,7 +4294,7 @@
|
|
|
4279
4294
|
return tmp;
|
|
4280
4295
|
}
|
|
4281
4296
|
function _get_isShirt__vd98rp($this) {
|
|
4282
|
-
return $this.
|
|
4297
|
+
return $this.o2p_1 === 52;
|
|
4283
4298
|
}
|
|
4284
4299
|
function CardName(name, ordinal) {
|
|
4285
4300
|
Enum.call(this, name, ordinal);
|
|
@@ -4288,12 +4303,12 @@
|
|
|
4288
4303
|
return getShorName(this);
|
|
4289
4304
|
};
|
|
4290
4305
|
function Companion_19() {
|
|
4291
|
-
this.
|
|
4292
|
-
this.
|
|
4293
|
-
this.
|
|
4294
|
-
this.
|
|
4306
|
+
this.y2q_1 = -1;
|
|
4307
|
+
this.z2q_1 = 13;
|
|
4308
|
+
this.a2r_1 = 52;
|
|
4309
|
+
this.b2r_1 = 53;
|
|
4295
4310
|
}
|
|
4296
|
-
protoOf(Companion_19).
|
|
4311
|
+
protoOf(Companion_19).c2r = function (_this__u8e3s4, playerIndex, reverse) {
|
|
4297
4312
|
var tmp;
|
|
4298
4313
|
if (reverse) {
|
|
4299
4314
|
tmp = _this__u8e3s4 + (53 + imul(playerIndex, 14) | 0) | 0;
|
|
@@ -4363,56 +4378,56 @@
|
|
|
4363
4378
|
return CardName_STUB_instance;
|
|
4364
4379
|
}
|
|
4365
4380
|
function GameCard(index) {
|
|
4366
|
-
this.
|
|
4381
|
+
this.o2p_1 = index;
|
|
4367
4382
|
}
|
|
4368
|
-
protoOf(GameCard).
|
|
4383
|
+
protoOf(GameCard).u2q = function () {
|
|
4369
4384
|
var tmp;
|
|
4370
|
-
var containsArg = this.
|
|
4385
|
+
var containsArg = this.o2p_1;
|
|
4371
4386
|
if (0 <= containsArg ? containsArg <= 13 : false) {
|
|
4372
4387
|
tmp = Suit_DIAMOND_getInstance();
|
|
4373
4388
|
} else {
|
|
4374
|
-
if (this.
|
|
4389
|
+
if (this.o2p_1 <= 26) {
|
|
4375
4390
|
tmp = Suit_SPADE_getInstance();
|
|
4376
4391
|
} else {
|
|
4377
|
-
if (this.
|
|
4392
|
+
if (this.o2p_1 <= 39) {
|
|
4378
4393
|
tmp = Suit_HEART_getInstance();
|
|
4379
4394
|
} else {
|
|
4380
|
-
if (this.
|
|
4395
|
+
if (this.o2p_1 <= 52) {
|
|
4381
4396
|
tmp = Suit_CLUB_getInstance();
|
|
4382
4397
|
} else {
|
|
4383
|
-
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.
|
|
4398
|
+
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.o2p_1);
|
|
4384
4399
|
}
|
|
4385
4400
|
}
|
|
4386
4401
|
}
|
|
4387
4402
|
}
|
|
4388
4403
|
return tmp;
|
|
4389
4404
|
};
|
|
4390
|
-
protoOf(GameCard).
|
|
4405
|
+
protoOf(GameCard).t2q = function () {
|
|
4391
4406
|
var tmp;
|
|
4392
|
-
if (this.
|
|
4407
|
+
if (this.x2q()) {
|
|
4393
4408
|
tmp = -1;
|
|
4394
4409
|
} else {
|
|
4395
|
-
tmp = this.
|
|
4410
|
+
tmp = this.o2p_1 - imul(13, getIndex(this.u2q())) | 0;
|
|
4396
4411
|
}
|
|
4397
4412
|
return tmp;
|
|
4398
4413
|
};
|
|
4399
4414
|
protoOf(GameCard).g9 = function () {
|
|
4400
|
-
return this.
|
|
4415
|
+
return this.x2q() ? CardName_STUB_getInstance() : getName(Companion_instance_19, this.t2q());
|
|
4401
4416
|
};
|
|
4402
|
-
protoOf(GameCard).
|
|
4403
|
-
return this.
|
|
4417
|
+
protoOf(GameCard).x2q = function () {
|
|
4418
|
+
return this.o2p_1 >= 53;
|
|
4404
4419
|
};
|
|
4405
4420
|
protoOf(GameCard).toString = function () {
|
|
4406
4421
|
if (_get_isShirt__vd98rp(this)) {
|
|
4407
4422
|
return 'GameCard(SHIRT)';
|
|
4408
4423
|
}
|
|
4409
|
-
if (this.
|
|
4410
|
-
return 'GameCard(STUB, ' + this.
|
|
4424
|
+
if (this.x2q()) {
|
|
4425
|
+
return 'GameCard(STUB, ' + this.o2p_1 + ')';
|
|
4411
4426
|
}
|
|
4412
|
-
return 'GameCard(' + this.
|
|
4427
|
+
return 'GameCard(' + this.u2q() + this.g9() + ', ' + this.o2p_1 + ')';
|
|
4413
4428
|
};
|
|
4414
4429
|
protoOf(GameCard).hashCode = function () {
|
|
4415
|
-
return this.
|
|
4430
|
+
return this.o2p_1;
|
|
4416
4431
|
};
|
|
4417
4432
|
protoOf(GameCard).equals = function (other) {
|
|
4418
4433
|
if (this === other)
|
|
@@ -4420,20 +4435,20 @@
|
|
|
4420
4435
|
if (!(other instanceof GameCard))
|
|
4421
4436
|
return false;
|
|
4422
4437
|
var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
|
|
4423
|
-
if (!(this.
|
|
4438
|
+
if (!(this.o2p_1 === tmp0_other_with_cast.o2p_1))
|
|
4424
4439
|
return false;
|
|
4425
4440
|
return true;
|
|
4426
4441
|
};
|
|
4427
4442
|
function ProcessingCard(gameCard, payload) {
|
|
4428
|
-
this.
|
|
4429
|
-
this.
|
|
4443
|
+
this.e2r_1 = gameCard;
|
|
4444
|
+
this.f2r_1 = payload;
|
|
4430
4445
|
}
|
|
4431
4446
|
protoOf(ProcessingCard).toString = function () {
|
|
4432
|
-
return 'ProcessingCard(gameCard=' + this.
|
|
4447
|
+
return 'ProcessingCard(gameCard=' + this.e2r_1 + ', payload=' + this.f2r_1 + ')';
|
|
4433
4448
|
};
|
|
4434
4449
|
protoOf(ProcessingCard).hashCode = function () {
|
|
4435
|
-
var result = this.
|
|
4436
|
-
result = imul(result, 31) + (this.
|
|
4450
|
+
var result = this.e2r_1.hashCode();
|
|
4451
|
+
result = imul(result, 31) + (this.f2r_1 == null ? 0 : hashCode(this.f2r_1)) | 0;
|
|
4437
4452
|
return result;
|
|
4438
4453
|
};
|
|
4439
4454
|
protoOf(ProcessingCard).equals = function (other) {
|
|
@@ -4442,14 +4457,14 @@
|
|
|
4442
4457
|
if (!(other instanceof ProcessingCard))
|
|
4443
4458
|
return false;
|
|
4444
4459
|
var tmp0_other_with_cast = other instanceof ProcessingCard ? other : THROW_CCE();
|
|
4445
|
-
if (!this.
|
|
4460
|
+
if (!this.e2r_1.equals(tmp0_other_with_cast.e2r_1))
|
|
4446
4461
|
return false;
|
|
4447
|
-
if (!equals(this.
|
|
4462
|
+
if (!equals(this.f2r_1, tmp0_other_with_cast.f2r_1))
|
|
4448
4463
|
return false;
|
|
4449
4464
|
return true;
|
|
4450
4465
|
};
|
|
4451
4466
|
function _get_$cachedSerializer__te6jhj_8($this) {
|
|
4452
|
-
return $this.
|
|
4467
|
+
return $this.g2r_1.o2();
|
|
4453
4468
|
}
|
|
4454
4469
|
function Suit$Companion$_anonymous__cbm2iq() {
|
|
4455
4470
|
return createSimpleEnumSerializer('com.logic.data.models.table.cards.Suit', values_3());
|
|
@@ -4483,7 +4498,7 @@
|
|
|
4483
4498
|
Companion_instance_20 = this;
|
|
4484
4499
|
var tmp = this;
|
|
4485
4500
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
4486
|
-
tmp.
|
|
4501
|
+
tmp.g2r_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
|
|
4487
4502
|
}
|
|
4488
4503
|
protoOf(Companion_20).t16 = function () {
|
|
4489
4504
|
return _get_$cachedSerializer__te6jhj_8(this);
|
|
@@ -4564,16 +4579,16 @@
|
|
|
4564
4579
|
function AsyncProvider() {
|
|
4565
4580
|
}
|
|
4566
4581
|
function _no_name_provided__qut3iv($logger) {
|
|
4567
|
-
this.
|
|
4582
|
+
this.r2r_1 = $logger;
|
|
4568
4583
|
AbstractCoroutineContextElement.call(this, Key_instance);
|
|
4569
4584
|
}
|
|
4570
4585
|
protoOf(_no_name_provided__qut3iv).i1v = function (context, exception) {
|
|
4571
|
-
this.
|
|
4586
|
+
this.r2r_1.e('AsyncErrorHandler', 'AsyncProvider error: ' + exception, exception);
|
|
4572
4587
|
return Unit_instance;
|
|
4573
4588
|
};
|
|
4574
4589
|
function AsyncProviderImpl$launchUnconfinedWithLock$slambda(this$0, $block, resultContinuation) {
|
|
4575
|
-
this.
|
|
4576
|
-
this.
|
|
4590
|
+
this.a2s_1 = this$0;
|
|
4591
|
+
this.b2s_1 = $block;
|
|
4577
4592
|
CoroutineImpl.call(this, resultContinuation);
|
|
4578
4593
|
}
|
|
4579
4594
|
protoOf(AsyncProviderImpl$launchUnconfinedWithLock$slambda).a2b = function ($this$launch, $completion) {
|
|
@@ -4597,11 +4612,11 @@
|
|
|
4597
4612
|
continue $sm;
|
|
4598
4613
|
case 1:
|
|
4599
4614
|
var tmp_0 = this;
|
|
4600
|
-
tmp_0.
|
|
4615
|
+
tmp_0.e2s_1 = this.a2s_1.j2s_1;
|
|
4601
4616
|
var tmp_1 = this;
|
|
4602
|
-
tmp_1.
|
|
4617
|
+
tmp_1.f2s_1 = null;
|
|
4603
4618
|
this.la_1 = 2;
|
|
4604
|
-
suspendResult = this.
|
|
4619
|
+
suspendResult = this.e2s_1.x2h(this.f2s_1, this);
|
|
4605
4620
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4606
4621
|
return suspendResult;
|
|
4607
4622
|
}
|
|
@@ -4616,14 +4631,14 @@
|
|
|
4616
4631
|
case 4:
|
|
4617
4632
|
this.ma_1 = 9;
|
|
4618
4633
|
this.la_1 = 5;
|
|
4619
|
-
suspendResult = this.
|
|
4634
|
+
suspendResult = this.b2s_1(this.c2s_1, this);
|
|
4620
4635
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4621
4636
|
return suspendResult;
|
|
4622
4637
|
}
|
|
4623
4638
|
|
|
4624
4639
|
continue $sm;
|
|
4625
4640
|
case 5:
|
|
4626
|
-
this.
|
|
4641
|
+
this.g2s_1 = suspendResult;
|
|
4627
4642
|
this.ma_1 = 10;
|
|
4628
4643
|
this.la_1 = 6;
|
|
4629
4644
|
var tmp_2 = this;
|
|
@@ -4631,13 +4646,13 @@
|
|
|
4631
4646
|
case 6:
|
|
4632
4647
|
this.ma_1 = 10;
|
|
4633
4648
|
var tmp_3 = this;
|
|
4634
|
-
this.
|
|
4635
|
-
tmp_3.
|
|
4649
|
+
this.e2s_1.i2h(this.f2s_1);
|
|
4650
|
+
tmp_3.d2s_1 = Unit_instance;
|
|
4636
4651
|
this.la_1 = 8;
|
|
4637
4652
|
continue $sm;
|
|
4638
4653
|
case 7:
|
|
4639
4654
|
this.ma_1 = 10;
|
|
4640
|
-
this.
|
|
4655
|
+
this.e2s_1.i2h(this.f2s_1);
|
|
4641
4656
|
if (false) {
|
|
4642
4657
|
this.la_1 = 1;
|
|
4643
4658
|
continue $sm;
|
|
@@ -4650,7 +4665,7 @@
|
|
|
4650
4665
|
case 9:
|
|
4651
4666
|
this.ma_1 = 10;
|
|
4652
4667
|
var t = this.oa_1;
|
|
4653
|
-
this.
|
|
4668
|
+
this.e2s_1.i2h(this.f2s_1);
|
|
4654
4669
|
throw t;
|
|
4655
4670
|
case 10:
|
|
4656
4671
|
throw this.oa_1;
|
|
@@ -4667,8 +4682,8 @@
|
|
|
4667
4682
|
while (true);
|
|
4668
4683
|
};
|
|
4669
4684
|
protoOf(AsyncProviderImpl$launchUnconfinedWithLock$slambda).b2b = function ($this$launch, completion) {
|
|
4670
|
-
var i = new AsyncProviderImpl$launchUnconfinedWithLock$slambda(this.
|
|
4671
|
-
i.
|
|
4685
|
+
var i = new AsyncProviderImpl$launchUnconfinedWithLock$slambda(this.a2s_1, this.b2s_1, completion);
|
|
4686
|
+
i.c2s_1 = $this$launch;
|
|
4672
4687
|
return i;
|
|
4673
4688
|
};
|
|
4674
4689
|
function AsyncProviderImpl$launchUnconfinedWithLock$slambda_0(this$0, $block, resultContinuation) {
|
|
@@ -4680,8 +4695,8 @@
|
|
|
4680
4695
|
return l;
|
|
4681
4696
|
}
|
|
4682
4697
|
function AsyncProviderImpl$launchDefaultWithLock$slambda(this$0, $block, resultContinuation) {
|
|
4683
|
-
this.
|
|
4684
|
-
this.
|
|
4698
|
+
this.w2s_1 = this$0;
|
|
4699
|
+
this.x2s_1 = $block;
|
|
4685
4700
|
CoroutineImpl.call(this, resultContinuation);
|
|
4686
4701
|
}
|
|
4687
4702
|
protoOf(AsyncProviderImpl$launchDefaultWithLock$slambda).a2b = function ($this$launch, $completion) {
|
|
@@ -4705,11 +4720,11 @@
|
|
|
4705
4720
|
continue $sm;
|
|
4706
4721
|
case 1:
|
|
4707
4722
|
var tmp_0 = this;
|
|
4708
|
-
tmp_0.
|
|
4723
|
+
tmp_0.a2t_1 = this.w2s_1.i2s_1;
|
|
4709
4724
|
var tmp_1 = this;
|
|
4710
|
-
tmp_1.
|
|
4725
|
+
tmp_1.b2t_1 = null;
|
|
4711
4726
|
this.la_1 = 2;
|
|
4712
|
-
suspendResult = this.
|
|
4727
|
+
suspendResult = this.a2t_1.x2h(this.b2t_1, this);
|
|
4713
4728
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4714
4729
|
return suspendResult;
|
|
4715
4730
|
}
|
|
@@ -4724,14 +4739,14 @@
|
|
|
4724
4739
|
case 4:
|
|
4725
4740
|
this.ma_1 = 9;
|
|
4726
4741
|
this.la_1 = 5;
|
|
4727
|
-
suspendResult = this.
|
|
4742
|
+
suspendResult = this.x2s_1(this.y2s_1, this);
|
|
4728
4743
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4729
4744
|
return suspendResult;
|
|
4730
4745
|
}
|
|
4731
4746
|
|
|
4732
4747
|
continue $sm;
|
|
4733
4748
|
case 5:
|
|
4734
|
-
this.
|
|
4749
|
+
this.c2t_1 = suspendResult;
|
|
4735
4750
|
this.ma_1 = 10;
|
|
4736
4751
|
this.la_1 = 6;
|
|
4737
4752
|
var tmp_2 = this;
|
|
@@ -4739,13 +4754,13 @@
|
|
|
4739
4754
|
case 6:
|
|
4740
4755
|
this.ma_1 = 10;
|
|
4741
4756
|
var tmp_3 = this;
|
|
4742
|
-
this.
|
|
4743
|
-
tmp_3.
|
|
4757
|
+
this.a2t_1.i2h(this.b2t_1);
|
|
4758
|
+
tmp_3.z2s_1 = Unit_instance;
|
|
4744
4759
|
this.la_1 = 8;
|
|
4745
4760
|
continue $sm;
|
|
4746
4761
|
case 7:
|
|
4747
4762
|
this.ma_1 = 10;
|
|
4748
|
-
this.
|
|
4763
|
+
this.a2t_1.i2h(this.b2t_1);
|
|
4749
4764
|
if (false) {
|
|
4750
4765
|
this.la_1 = 1;
|
|
4751
4766
|
continue $sm;
|
|
@@ -4758,7 +4773,7 @@
|
|
|
4758
4773
|
case 9:
|
|
4759
4774
|
this.ma_1 = 10;
|
|
4760
4775
|
var t = this.oa_1;
|
|
4761
|
-
this.
|
|
4776
|
+
this.a2t_1.i2h(this.b2t_1);
|
|
4762
4777
|
throw t;
|
|
4763
4778
|
case 10:
|
|
4764
4779
|
throw this.oa_1;
|
|
@@ -4775,8 +4790,8 @@
|
|
|
4775
4790
|
while (true);
|
|
4776
4791
|
};
|
|
4777
4792
|
protoOf(AsyncProviderImpl$launchDefaultWithLock$slambda).b2b = function ($this$launch, completion) {
|
|
4778
|
-
var i = new AsyncProviderImpl$launchDefaultWithLock$slambda(this.
|
|
4779
|
-
i.
|
|
4793
|
+
var i = new AsyncProviderImpl$launchDefaultWithLock$slambda(this.w2s_1, this.x2s_1, completion);
|
|
4794
|
+
i.y2s_1 = $this$launch;
|
|
4780
4795
|
return i;
|
|
4781
4796
|
};
|
|
4782
4797
|
function AsyncProviderImpl$launchDefaultWithLock$slambda_0(this$0, $block, resultContinuation) {
|
|
@@ -4788,41 +4803,41 @@
|
|
|
4788
4803
|
return l;
|
|
4789
4804
|
}
|
|
4790
4805
|
function AsyncProviderImpl(logger) {
|
|
4791
|
-
this.
|
|
4792
|
-
this.
|
|
4793
|
-
this.
|
|
4806
|
+
this.h2s_1 = Job();
|
|
4807
|
+
this.i2s_1 = Mutex();
|
|
4808
|
+
this.j2s_1 = Mutex();
|
|
4794
4809
|
var tmp = this;
|
|
4795
4810
|
// Inline function 'kotlinx.coroutines.CoroutineExceptionHandler' call
|
|
4796
|
-
tmp.
|
|
4797
|
-
this.
|
|
4798
|
-
this.
|
|
4799
|
-
this.
|
|
4811
|
+
tmp.k2s_1 = new _no_name_provided__qut3iv(logger);
|
|
4812
|
+
this.l2s_1 = CoroutineScope_0(Dispatchers_getInstance().c1z().me(this.h2s_1));
|
|
4813
|
+
this.m2s_1 = CoroutineScope_0(Dispatchers_getInstance().y1y_1.me(this.h2s_1));
|
|
4814
|
+
this.n2s_1 = CoroutineScope_0(Dispatchers_getInstance().z1y_1.me(this.h2s_1));
|
|
4800
4815
|
}
|
|
4801
|
-
protoOf(AsyncProviderImpl).
|
|
4802
|
-
return this.
|
|
4816
|
+
protoOf(AsyncProviderImpl).h2r = function () {
|
|
4817
|
+
return this.k2s_1;
|
|
4803
4818
|
};
|
|
4804
|
-
protoOf(AsyncProviderImpl).
|
|
4805
|
-
return launch(this.
|
|
4819
|
+
protoOf(AsyncProviderImpl).o2r = function (context, block) {
|
|
4820
|
+
return launch(this.l2s_1, context, VOID, block);
|
|
4806
4821
|
};
|
|
4807
|
-
protoOf(AsyncProviderImpl).
|
|
4808
|
-
return launch(this.
|
|
4809
|
-
};
|
|
4810
|
-
protoOf(AsyncProviderImpl).e2r = function (context, block) {
|
|
4811
|
-
return launch(this.j2s_1, context, VOID, AsyncProviderImpl$launchUnconfinedWithLock$slambda_0(this, block, null));
|
|
4822
|
+
protoOf(AsyncProviderImpl).k2r = function (context, block) {
|
|
4823
|
+
return launch(this.m2s_1, context, VOID, block);
|
|
4812
4824
|
};
|
|
4813
4825
|
protoOf(AsyncProviderImpl).i2r = function (context, block) {
|
|
4814
|
-
return launch(this.
|
|
4826
|
+
return launch(this.n2s_1, context, VOID, AsyncProviderImpl$launchUnconfinedWithLock$slambda_0(this, block, null));
|
|
4827
|
+
};
|
|
4828
|
+
protoOf(AsyncProviderImpl).m2r = function (context, block) {
|
|
4829
|
+
return launch(this.m2s_1, context, VOID, AsyncProviderImpl$launchDefaultWithLock$slambda_0(this, block, null));
|
|
4815
4830
|
};
|
|
4816
4831
|
protoOf(AsyncProviderImpl).z1s = function () {
|
|
4817
|
-
if (!this.
|
|
4818
|
-
this.
|
|
4832
|
+
if (!this.h2s_1.k1r()) {
|
|
4833
|
+
this.h2s_1.x1r();
|
|
4819
4834
|
}
|
|
4820
4835
|
};
|
|
4821
4836
|
function IdsProvider() {
|
|
4822
4837
|
}
|
|
4823
4838
|
function UUIDIdsProvider() {
|
|
4824
4839
|
}
|
|
4825
|
-
protoOf(UUIDIdsProvider).
|
|
4840
|
+
protoOf(UUIDIdsProvider).d2t = function () {
|
|
4826
4841
|
return uuid4().toString();
|
|
4827
4842
|
};
|
|
4828
4843
|
var UUIDIdsProvider_instance;
|
|
@@ -4832,45 +4847,45 @@
|
|
|
4832
4847
|
function JobsProvider() {
|
|
4833
4848
|
}
|
|
4834
4849
|
function JobsProviderImpl(logger) {
|
|
4835
|
-
this.
|
|
4850
|
+
this.j2t_1 = logger;
|
|
4836
4851
|
var tmp = this;
|
|
4837
4852
|
// Inline function 'kotlin.collections.hashMapOf' call
|
|
4838
|
-
tmp.
|
|
4853
|
+
tmp.k2t_1 = HashMap_init_$Create$();
|
|
4839
4854
|
}
|
|
4840
|
-
protoOf(JobsProviderImpl).
|
|
4841
|
-
if (this.
|
|
4842
|
-
this.
|
|
4855
|
+
protoOf(JobsProviderImpl).e2t = function (timerTag, job) {
|
|
4856
|
+
if (this.i2t(timerTag)) {
|
|
4857
|
+
this.j2t_1.w(VOID, 'Timer already exists for that tag: ' + timerTag);
|
|
4843
4858
|
}
|
|
4844
4859
|
// Inline function 'kotlin.collections.set' call
|
|
4845
|
-
this.
|
|
4860
|
+
this.k2t_1.k2(timerTag, job);
|
|
4846
4861
|
};
|
|
4847
|
-
protoOf(JobsProviderImpl).
|
|
4848
|
-
return this.
|
|
4862
|
+
protoOf(JobsProviderImpl).i2t = function (timerTag) {
|
|
4863
|
+
return this.k2t_1.r2(timerTag);
|
|
4849
4864
|
};
|
|
4850
|
-
protoOf(JobsProviderImpl).
|
|
4851
|
-
if (!this.
|
|
4852
|
-
this.
|
|
4865
|
+
protoOf(JobsProviderImpl).g2t = function (timerTag) {
|
|
4866
|
+
if (!this.i2t(timerTag)) {
|
|
4867
|
+
this.j2t_1.w(VOID, "Can't find timer for that tag: " + timerTag);
|
|
4853
4868
|
}
|
|
4854
|
-
this.
|
|
4869
|
+
this.k2t_1.l2(timerTag);
|
|
4855
4870
|
};
|
|
4856
|
-
protoOf(JobsProviderImpl).
|
|
4871
|
+
protoOf(JobsProviderImpl).h2t = function (timers) {
|
|
4857
4872
|
// Inline function 'kotlin.collections.forEach' call
|
|
4858
4873
|
var tmp0_iterator = timers.v();
|
|
4859
4874
|
while (tmp0_iterator.w()) {
|
|
4860
4875
|
var element = tmp0_iterator.y();
|
|
4861
4876
|
// Inline function 'com.logic.data.providers.JobsProviderImpl.cancelJobs.<anonymous>' call
|
|
4862
|
-
var timer = this.
|
|
4877
|
+
var timer = this.k2t_1.t2(element);
|
|
4863
4878
|
if (timer == null)
|
|
4864
4879
|
null;
|
|
4865
4880
|
else {
|
|
4866
4881
|
timer.x1r();
|
|
4867
4882
|
}
|
|
4868
4883
|
}
|
|
4869
|
-
this.
|
|
4884
|
+
this.k2t_1.j2().a1(toSet(timers));
|
|
4870
4885
|
};
|
|
4871
|
-
protoOf(JobsProviderImpl).
|
|
4872
|
-
var timer = this.
|
|
4873
|
-
this.
|
|
4886
|
+
protoOf(JobsProviderImpl).f2t = function (timerTag) {
|
|
4887
|
+
var timer = this.k2t_1.t2(timerTag);
|
|
4888
|
+
this.k2t_1.l2(timerTag);
|
|
4874
4889
|
if (timer == null)
|
|
4875
4890
|
null;
|
|
4876
4891
|
else {
|
|
@@ -5148,27 +5163,27 @@
|
|
|
5148
5163
|
function FileSystemImpl(directory, fileSystem) {
|
|
5149
5164
|
directory = directory === VOID ? get_SystemTemporaryDirectory() : directory;
|
|
5150
5165
|
fileSystem = fileSystem === VOID ? get_SystemFileSystem() : fileSystem;
|
|
5151
|
-
this.
|
|
5152
|
-
this.
|
|
5166
|
+
this.n2t_1 = directory;
|
|
5167
|
+
this.o2t_1 = fileSystem;
|
|
5153
5168
|
}
|
|
5154
|
-
protoOf(FileSystemImpl).
|
|
5155
|
-
var exists = this.
|
|
5169
|
+
protoOf(FileSystemImpl).l2t = function (filePath, append, $completion) {
|
|
5170
|
+
var exists = this.o2t_1.k1p(this.n2t_1);
|
|
5156
5171
|
if (!exists) {
|
|
5157
|
-
this.
|
|
5172
|
+
this.o2t_1.o1p(this.n2t_1);
|
|
5158
5173
|
}
|
|
5159
|
-
return buffered(this.
|
|
5174
|
+
return buffered(this.o2t_1.p1p(Path_0(this.n2t_1, [filePath]), append));
|
|
5160
5175
|
};
|
|
5161
|
-
protoOf(FileSystemImpl).
|
|
5162
|
-
this.
|
|
5176
|
+
protoOf(FileSystemImpl).m2t = function ($completion) {
|
|
5177
|
+
this.o2t_1.m1p(this.n2t_1);
|
|
5163
5178
|
return Unit_instance;
|
|
5164
5179
|
};
|
|
5165
5180
|
function LoggerFactoryImpl(coreConfig, fileSystem) {
|
|
5166
|
-
this.
|
|
5167
|
-
this.
|
|
5181
|
+
this.p2t_1 = coreConfig;
|
|
5182
|
+
this.q2t_1 = fileSystem;
|
|
5168
5183
|
}
|
|
5169
|
-
protoOf(LoggerFactoryImpl).
|
|
5170
|
-
var fileName = replace(this.
|
|
5171
|
-
return new LogsStorageControllerImpl(fileName, this.
|
|
5184
|
+
protoOf(LoggerFactoryImpl).r2t = function (key) {
|
|
5185
|
+
var fileName = replace(this.p2t_1.fileNameFormat, '%S', key);
|
|
5186
|
+
return new LogsStorageControllerImpl(fileName, this.q2t_1);
|
|
5172
5187
|
};
|
|
5173
5188
|
function LoggerFactory() {
|
|
5174
5189
|
}
|
|
@@ -5180,8 +5195,8 @@
|
|
|
5180
5195
|
}
|
|
5181
5196
|
function $appendToFileCOROUTINE$0(_this__u8e3s4, message, resultContinuation) {
|
|
5182
5197
|
CoroutineImpl.call(this, resultContinuation);
|
|
5183
|
-
this.
|
|
5184
|
-
this.
|
|
5198
|
+
this.a2u_1 = _this__u8e3s4;
|
|
5199
|
+
this.b2u_1 = message;
|
|
5185
5200
|
}
|
|
5186
5201
|
protoOf($appendToFileCOROUTINE$0).ya = function () {
|
|
5187
5202
|
var suspendResult = this.na_1;
|
|
@@ -5193,7 +5208,7 @@
|
|
|
5193
5208
|
this.ma_1 = 3;
|
|
5194
5209
|
this.ma_1 = 2;
|
|
5195
5210
|
this.la_1 = 1;
|
|
5196
|
-
suspendResult = this.
|
|
5211
|
+
suspendResult = this.a2u_1.d2u_1.l2t(this.a2u_1.c2u_1, true, this);
|
|
5197
5212
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5198
5213
|
return suspendResult;
|
|
5199
5214
|
}
|
|
@@ -5204,7 +5219,7 @@
|
|
|
5204
5219
|
var sink = buffered(ARGUMENT);
|
|
5205
5220
|
l$ret$1: do {
|
|
5206
5221
|
try {
|
|
5207
|
-
writeString(sink, this.
|
|
5222
|
+
writeString(sink, this.b2u_1 + '\n');
|
|
5208
5223
|
break l$ret$1;
|
|
5209
5224
|
} catch ($p) {
|
|
5210
5225
|
var t = $p;
|
|
@@ -5222,7 +5237,7 @@
|
|
|
5222
5237
|
var tmp_0 = this.oa_1;
|
|
5223
5238
|
if (tmp_0 instanceof Exception) {
|
|
5224
5239
|
var e = this.oa_1;
|
|
5225
|
-
Logger_getInstance().
|
|
5240
|
+
Logger_getInstance().h2u(VOID, 'Error writing to log file: ' + e.message, e);
|
|
5226
5241
|
this.la_1 = 4;
|
|
5227
5242
|
continue $sm;
|
|
5228
5243
|
} else {
|
|
@@ -5247,14 +5262,16 @@
|
|
|
5247
5262
|
while (true);
|
|
5248
5263
|
};
|
|
5249
5264
|
function LogsStorageControllerImpl(fileName, fileSystem) {
|
|
5250
|
-
this.
|
|
5251
|
-
this.
|
|
5265
|
+
this.c2u_1 = fileName;
|
|
5266
|
+
this.d2u_1 = fileSystem;
|
|
5252
5267
|
}
|
|
5253
|
-
protoOf(LogsStorageControllerImpl).
|
|
5268
|
+
protoOf(LogsStorageControllerImpl).i2u = function (log, $completion) {
|
|
5254
5269
|
return appendToFile(this, log, $completion);
|
|
5255
5270
|
};
|
|
5256
5271
|
function BufferedAction() {
|
|
5257
5272
|
}
|
|
5273
|
+
function IgnoreBufferForAction() {
|
|
5274
|
+
}
|
|
5258
5275
|
function ReleaseBufferTriggerAction() {
|
|
5259
5276
|
}
|
|
5260
5277
|
function ExpectantAction() {
|
|
@@ -5263,22 +5280,22 @@
|
|
|
5263
5280
|
initialDelay = initialDelay === VOID ? new Long(0, 0) : initialDelay;
|
|
5264
5281
|
type = type === VOID ? TimerType_DELAY_getInstance() : type;
|
|
5265
5282
|
TimerAction.call(this);
|
|
5266
|
-
this.
|
|
5267
|
-
this.
|
|
5268
|
-
this.
|
|
5269
|
-
this.
|
|
5283
|
+
this.n2u_1 = timerTag;
|
|
5284
|
+
this.o2u_1 = delayMillis;
|
|
5285
|
+
this.p2u_1 = initialDelay;
|
|
5286
|
+
this.q2u_1 = type;
|
|
5270
5287
|
}
|
|
5271
|
-
protoOf(StartTimerAction).
|
|
5272
|
-
return this.
|
|
5288
|
+
protoOf(StartTimerAction).r2u = function () {
|
|
5289
|
+
return this.n2u_1;
|
|
5273
5290
|
};
|
|
5274
5291
|
protoOf(StartTimerAction).toString = function () {
|
|
5275
|
-
return 'StartTimerAction(timerTag=' + this.
|
|
5292
|
+
return 'StartTimerAction(timerTag=' + this.n2u_1 + ', delayMillis=' + this.o2u_1.toString() + ', initialDelay=' + this.p2u_1.toString() + ', type=' + this.q2u_1 + ')';
|
|
5276
5293
|
};
|
|
5277
5294
|
protoOf(StartTimerAction).hashCode = function () {
|
|
5278
|
-
var result = hashCode(this.
|
|
5279
|
-
result = imul(result, 31) + this.
|
|
5280
|
-
result = imul(result, 31) + this.
|
|
5281
|
-
result = imul(result, 31) + this.
|
|
5295
|
+
var result = hashCode(this.n2u_1);
|
|
5296
|
+
result = imul(result, 31) + this.o2u_1.hashCode() | 0;
|
|
5297
|
+
result = imul(result, 31) + this.p2u_1.hashCode() | 0;
|
|
5298
|
+
result = imul(result, 31) + this.q2u_1.hashCode() | 0;
|
|
5282
5299
|
return result;
|
|
5283
5300
|
};
|
|
5284
5301
|
protoOf(StartTimerAction).equals = function (other) {
|
|
@@ -5287,13 +5304,13 @@
|
|
|
5287
5304
|
if (!(other instanceof StartTimerAction))
|
|
5288
5305
|
return false;
|
|
5289
5306
|
var tmp0_other_with_cast = other instanceof StartTimerAction ? other : THROW_CCE();
|
|
5290
|
-
if (!equals(this.
|
|
5307
|
+
if (!equals(this.n2u_1, tmp0_other_with_cast.n2u_1))
|
|
5291
5308
|
return false;
|
|
5292
|
-
if (!this.
|
|
5309
|
+
if (!this.o2u_1.equals(tmp0_other_with_cast.o2u_1))
|
|
5293
5310
|
return false;
|
|
5294
|
-
if (!this.
|
|
5311
|
+
if (!this.p2u_1.equals(tmp0_other_with_cast.p2u_1))
|
|
5295
5312
|
return false;
|
|
5296
|
-
if (!this.
|
|
5313
|
+
if (!this.q2u_1.equals(tmp0_other_with_cast.q2u_1))
|
|
5297
5314
|
return false;
|
|
5298
5315
|
return true;
|
|
5299
5316
|
};
|
|
@@ -5312,21 +5329,21 @@
|
|
|
5312
5329
|
}
|
|
5313
5330
|
function TimerTickAction(timerTag, type) {
|
|
5314
5331
|
TimerAction.call(this);
|
|
5315
|
-
this.
|
|
5316
|
-
this.
|
|
5332
|
+
this.s2u_1 = timerTag;
|
|
5333
|
+
this.t2u_1 = type;
|
|
5317
5334
|
}
|
|
5318
|
-
protoOf(TimerTickAction).
|
|
5319
|
-
return this.
|
|
5335
|
+
protoOf(TimerTickAction).r2u = function () {
|
|
5336
|
+
return this.s2u_1;
|
|
5320
5337
|
};
|
|
5321
5338
|
protoOf(TimerTickAction).notValidateWhenFinished = function () {
|
|
5322
|
-
return this.
|
|
5339
|
+
return this.s2u_1.notValidateWhenFinished();
|
|
5323
5340
|
};
|
|
5324
5341
|
protoOf(TimerTickAction).toString = function () {
|
|
5325
|
-
return 'TimerTickAction(timerTag=' + this.
|
|
5342
|
+
return 'TimerTickAction(timerTag=' + this.s2u_1 + ', type=' + this.t2u_1 + ')';
|
|
5326
5343
|
};
|
|
5327
5344
|
protoOf(TimerTickAction).hashCode = function () {
|
|
5328
|
-
var result = hashCode(this.
|
|
5329
|
-
result = imul(result, 31) + this.
|
|
5345
|
+
var result = hashCode(this.s2u_1);
|
|
5346
|
+
result = imul(result, 31) + this.t2u_1.hashCode() | 0;
|
|
5330
5347
|
return result;
|
|
5331
5348
|
};
|
|
5332
5349
|
protoOf(TimerTickAction).equals = function (other) {
|
|
@@ -5335,24 +5352,24 @@
|
|
|
5335
5352
|
if (!(other instanceof TimerTickAction))
|
|
5336
5353
|
return false;
|
|
5337
5354
|
var tmp0_other_with_cast = other instanceof TimerTickAction ? other : THROW_CCE();
|
|
5338
|
-
if (!equals(this.
|
|
5355
|
+
if (!equals(this.s2u_1, tmp0_other_with_cast.s2u_1))
|
|
5339
5356
|
return false;
|
|
5340
|
-
if (!this.
|
|
5357
|
+
if (!this.t2u_1.equals(tmp0_other_with_cast.t2u_1))
|
|
5341
5358
|
return false;
|
|
5342
5359
|
return true;
|
|
5343
5360
|
};
|
|
5344
5361
|
function StopTimerAction(timerTag) {
|
|
5345
5362
|
TimerAction.call(this);
|
|
5346
|
-
this.
|
|
5363
|
+
this.u2u_1 = timerTag;
|
|
5347
5364
|
}
|
|
5348
|
-
protoOf(StopTimerAction).
|
|
5349
|
-
return this.
|
|
5365
|
+
protoOf(StopTimerAction).r2u = function () {
|
|
5366
|
+
return this.u2u_1;
|
|
5350
5367
|
};
|
|
5351
5368
|
protoOf(StopTimerAction).toString = function () {
|
|
5352
|
-
return 'StopTimerAction(timerTag=' + this.
|
|
5369
|
+
return 'StopTimerAction(timerTag=' + this.u2u_1 + ')';
|
|
5353
5370
|
};
|
|
5354
5371
|
protoOf(StopTimerAction).hashCode = function () {
|
|
5355
|
-
return hashCode(this.
|
|
5372
|
+
return hashCode(this.u2u_1);
|
|
5356
5373
|
};
|
|
5357
5374
|
protoOf(StopTimerAction).equals = function (other) {
|
|
5358
5375
|
if (this === other)
|
|
@@ -5360,7 +5377,7 @@
|
|
|
5360
5377
|
if (!(other instanceof StopTimerAction))
|
|
5361
5378
|
return false;
|
|
5362
5379
|
var tmp0_other_with_cast = other instanceof StopTimerAction ? other : THROW_CCE();
|
|
5363
|
-
if (!equals(this.
|
|
5380
|
+
if (!equals(this.u2u_1, tmp0_other_with_cast.u2u_1))
|
|
5364
5381
|
return false;
|
|
5365
5382
|
return true;
|
|
5366
5383
|
};
|
|
@@ -5383,7 +5400,7 @@
|
|
|
5383
5400
|
}
|
|
5384
5401
|
function applyMiddleware$lambda$lambda$lambda$lambda($middleware, $store, $dispatcher) {
|
|
5385
5402
|
return function (action) {
|
|
5386
|
-
$middleware.
|
|
5403
|
+
$middleware.v2u($store, $dispatcher, action);
|
|
5387
5404
|
return Unit_instance;
|
|
5388
5405
|
};
|
|
5389
5406
|
}
|
|
@@ -5399,7 +5416,7 @@
|
|
|
5399
5416
|
var element = this_0[inductionVariable];
|
|
5400
5417
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5401
5418
|
// Inline function 'com.logic.redux.enhancers.applyMiddleware.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
5402
|
-
if (element.
|
|
5419
|
+
if (element.w2u(action)) {
|
|
5403
5420
|
destination.s(element);
|
|
5404
5421
|
}
|
|
5405
5422
|
}
|
|
@@ -5437,8 +5454,8 @@
|
|
|
5437
5454
|
return applyThread$lambda(asyncProvider);
|
|
5438
5455
|
}
|
|
5439
5456
|
function applyThread$lambda$lambda$lambda$slambda($origDispatch, $action, resultContinuation) {
|
|
5440
|
-
this.
|
|
5441
|
-
this.
|
|
5457
|
+
this.f2v_1 = $origDispatch;
|
|
5458
|
+
this.g2v_1 = $action;
|
|
5442
5459
|
CoroutineImpl.call(this, resultContinuation);
|
|
5443
5460
|
}
|
|
5444
5461
|
protoOf(applyThread$lambda$lambda$lambda$slambda).a2b = function ($this$launchUnconfinedWithLock, $completion) {
|
|
@@ -5457,7 +5474,7 @@
|
|
|
5457
5474
|
var tmp = this.la_1;
|
|
5458
5475
|
if (tmp === 0) {
|
|
5459
5476
|
this.ma_1 = 1;
|
|
5460
|
-
this.
|
|
5477
|
+
this.f2v_1(this.g2v_1);
|
|
5461
5478
|
return Unit_instance;
|
|
5462
5479
|
} else if (tmp === 1) {
|
|
5463
5480
|
throw this.oa_1;
|
|
@@ -5469,8 +5486,8 @@
|
|
|
5469
5486
|
while (true);
|
|
5470
5487
|
};
|
|
5471
5488
|
protoOf(applyThread$lambda$lambda$lambda$slambda).b2b = function ($this$launchUnconfinedWithLock, completion) {
|
|
5472
|
-
var i = new applyThread$lambda$lambda$lambda$slambda(this.
|
|
5473
|
-
i.
|
|
5489
|
+
var i = new applyThread$lambda$lambda$lambda$slambda(this.f2v_1, this.g2v_1, completion);
|
|
5490
|
+
i.h2v_1 = $this$launchUnconfinedWithLock;
|
|
5474
5491
|
return i;
|
|
5475
5492
|
};
|
|
5476
5493
|
function applyThread$lambda$lambda$lambda$slambda_0($origDispatch, $action, resultContinuation) {
|
|
@@ -5483,7 +5500,7 @@
|
|
|
5483
5500
|
}
|
|
5484
5501
|
function applyThread$lambda$lambda$lambda($asyncProvider, $origDispatch) {
|
|
5485
5502
|
return function (action) {
|
|
5486
|
-
$asyncProvider.
|
|
5503
|
+
$asyncProvider.j2r(VOID, applyThread$lambda$lambda$lambda$slambda_0($origDispatch, action, null));
|
|
5487
5504
|
return Unit_instance;
|
|
5488
5505
|
};
|
|
5489
5506
|
}
|
|
@@ -5505,9 +5522,9 @@
|
|
|
5505
5522
|
return new _no_name_provided__qut3iv_0(asyncProvider, jobsProvider);
|
|
5506
5523
|
}
|
|
5507
5524
|
function timerMiddleware$o$handle$slambda$slambda($jobsProvider, $action, $store, resultContinuation) {
|
|
5508
|
-
this.
|
|
5509
|
-
this.
|
|
5510
|
-
this.
|
|
5525
|
+
this.q2v_1 = $jobsProvider;
|
|
5526
|
+
this.r2v_1 = $action;
|
|
5527
|
+
this.s2v_1 = $store;
|
|
5511
5528
|
CoroutineImpl.call(this, resultContinuation);
|
|
5512
5529
|
}
|
|
5513
5530
|
protoOf(timerMiddleware$o$handle$slambda$slambda).a2b = function ($this$launchMain, $completion) {
|
|
@@ -5526,8 +5543,8 @@
|
|
|
5526
5543
|
var tmp = this.la_1;
|
|
5527
5544
|
if (tmp === 0) {
|
|
5528
5545
|
this.ma_1 = 1;
|
|
5529
|
-
if (this.
|
|
5530
|
-
this.
|
|
5546
|
+
if (this.q2v_1.i2t(this.r2v_1.r2u())) {
|
|
5547
|
+
this.s2v_1.dispatch(new TimerTickAction(this.r2v_1.r2u(), TimerType_DELAY_getInstance()));
|
|
5531
5548
|
}
|
|
5532
5549
|
return Unit_instance;
|
|
5533
5550
|
} else if (tmp === 1) {
|
|
@@ -5540,8 +5557,8 @@
|
|
|
5540
5557
|
while (true);
|
|
5541
5558
|
};
|
|
5542
5559
|
protoOf(timerMiddleware$o$handle$slambda$slambda).b2b = function ($this$launchMain, completion) {
|
|
5543
|
-
var i = new timerMiddleware$o$handle$slambda$slambda(this.
|
|
5544
|
-
i.
|
|
5560
|
+
var i = new timerMiddleware$o$handle$slambda$slambda(this.q2v_1, this.r2v_1, this.s2v_1, completion);
|
|
5561
|
+
i.t2v_1 = $this$launchMain;
|
|
5545
5562
|
return i;
|
|
5546
5563
|
};
|
|
5547
5564
|
function timerMiddleware$o$handle$slambda$slambda_0($jobsProvider, $action, $store, resultContinuation) {
|
|
@@ -5553,9 +5570,9 @@
|
|
|
5553
5570
|
return l;
|
|
5554
5571
|
}
|
|
5555
5572
|
function timerMiddleware$o$handle$slambda$slambda_1($jobsProvider, $action, $store, resultContinuation) {
|
|
5556
|
-
this.
|
|
5557
|
-
this.
|
|
5558
|
-
this.
|
|
5573
|
+
this.c2w_1 = $jobsProvider;
|
|
5574
|
+
this.d2w_1 = $action;
|
|
5575
|
+
this.e2w_1 = $store;
|
|
5559
5576
|
CoroutineImpl.call(this, resultContinuation);
|
|
5560
5577
|
}
|
|
5561
5578
|
protoOf(timerMiddleware$o$handle$slambda$slambda_1).a2b = function ($this$launchMain, $completion) {
|
|
@@ -5574,8 +5591,8 @@
|
|
|
5574
5591
|
var tmp = this.la_1;
|
|
5575
5592
|
if (tmp === 0) {
|
|
5576
5593
|
this.ma_1 = 1;
|
|
5577
|
-
if (this.
|
|
5578
|
-
this.
|
|
5594
|
+
if (this.c2w_1.i2t(this.d2w_1.r2u())) {
|
|
5595
|
+
this.e2w_1.dispatch(new TimerTickAction(this.d2w_1.r2u(), TimerType_INTERVAL_getInstance()));
|
|
5579
5596
|
}
|
|
5580
5597
|
return Unit_instance;
|
|
5581
5598
|
} else if (tmp === 1) {
|
|
@@ -5588,8 +5605,8 @@
|
|
|
5588
5605
|
while (true);
|
|
5589
5606
|
};
|
|
5590
5607
|
protoOf(timerMiddleware$o$handle$slambda$slambda_1).b2b = function ($this$launchMain, completion) {
|
|
5591
|
-
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.
|
|
5592
|
-
i.
|
|
5608
|
+
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.c2w_1, this.d2w_1, this.e2w_1, completion);
|
|
5609
|
+
i.f2w_1 = $this$launchMain;
|
|
5593
5610
|
return i;
|
|
5594
5611
|
};
|
|
5595
5612
|
function timerMiddleware$o$handle$slambda$slambda_2($jobsProvider, $action, $store, resultContinuation) {
|
|
@@ -5601,10 +5618,10 @@
|
|
|
5601
5618
|
return l;
|
|
5602
5619
|
}
|
|
5603
5620
|
function timerMiddleware$o$handle$slambda($action, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
5604
|
-
this.
|
|
5605
|
-
this.
|
|
5606
|
-
this.
|
|
5607
|
-
this.
|
|
5621
|
+
this.o2w_1 = $action;
|
|
5622
|
+
this.p2w_1 = $asyncProvider;
|
|
5623
|
+
this.q2w_1 = $jobsProvider;
|
|
5624
|
+
this.r2w_1 = $store;
|
|
5608
5625
|
CoroutineImpl.call(this, resultContinuation);
|
|
5609
5626
|
}
|
|
5610
5627
|
protoOf(timerMiddleware$o$handle$slambda).a2b = function ($this$launchDefault, $completion) {
|
|
@@ -5624,9 +5641,9 @@
|
|
|
5624
5641
|
switch (tmp) {
|
|
5625
5642
|
case 0:
|
|
5626
5643
|
this.ma_1 = 10;
|
|
5627
|
-
if (!this.
|
|
5644
|
+
if (!this.o2w_1.p2u_1.equals(new Long(0, 0)) ? this.o2w_1.q2u_1.equals(TimerType_INTERVAL_getInstance()) : false) {
|
|
5628
5645
|
this.la_1 = 1;
|
|
5629
|
-
suspendResult = delay(this.
|
|
5646
|
+
suspendResult = delay(this.o2w_1.p2u_1, this);
|
|
5630
5647
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5631
5648
|
return suspendResult;
|
|
5632
5649
|
}
|
|
@@ -5640,20 +5657,20 @@
|
|
|
5640
5657
|
this.la_1 = 2;
|
|
5641
5658
|
continue $sm;
|
|
5642
5659
|
case 2:
|
|
5643
|
-
this.
|
|
5644
|
-
this.
|
|
5645
|
-
if (this.
|
|
5660
|
+
this.t2w_1 = this.o2w_1.q2u_1;
|
|
5661
|
+
this.u2w_1 = this.t2w_1.g8_1;
|
|
5662
|
+
if (this.u2w_1 === 0) {
|
|
5646
5663
|
this.la_1 = 8;
|
|
5647
|
-
suspendResult = delay(this.
|
|
5664
|
+
suspendResult = delay(this.o2w_1.o2u_1, this);
|
|
5648
5665
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5649
5666
|
return suspendResult;
|
|
5650
5667
|
}
|
|
5651
5668
|
continue $sm;
|
|
5652
5669
|
} else {
|
|
5653
|
-
if (this.
|
|
5654
|
-
if (!this.
|
|
5670
|
+
if (this.u2w_1 === 1) {
|
|
5671
|
+
if (!this.o2w_1.p2u_1.equals(new Long(0, 0))) {
|
|
5655
5672
|
this.la_1 = 3;
|
|
5656
|
-
suspendResult = delay(this.
|
|
5673
|
+
suspendResult = delay(this.o2w_1.p2u_1, this);
|
|
5657
5674
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5658
5675
|
return suspendResult;
|
|
5659
5676
|
}
|
|
@@ -5675,14 +5692,14 @@
|
|
|
5675
5692
|
this.la_1 = 5;
|
|
5676
5693
|
continue $sm;
|
|
5677
5694
|
case 5:
|
|
5678
|
-
if (!get_isActive(this.
|
|
5695
|
+
if (!get_isActive(this.s2w_1)) {
|
|
5679
5696
|
this.la_1 = 7;
|
|
5680
5697
|
continue $sm;
|
|
5681
5698
|
}
|
|
5682
5699
|
|
|
5683
|
-
this.
|
|
5700
|
+
this.p2w_1.p2r(VOID, timerMiddleware$o$handle$slambda$slambda_2(this.q2w_1, this.o2w_1, this.r2w_1, null));
|
|
5684
5701
|
this.la_1 = 6;
|
|
5685
|
-
suspendResult = delay(this.
|
|
5702
|
+
suspendResult = delay(this.o2w_1.p2u_1, this);
|
|
5686
5703
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5687
5704
|
return suspendResult;
|
|
5688
5705
|
}
|
|
@@ -5695,7 +5712,7 @@
|
|
|
5695
5712
|
this.la_1 = 9;
|
|
5696
5713
|
continue $sm;
|
|
5697
5714
|
case 8:
|
|
5698
|
-
this.
|
|
5715
|
+
this.p2w_1.p2r(VOID, timerMiddleware$o$handle$slambda$slambda_0(this.q2w_1, this.o2w_1, this.r2w_1, null));
|
|
5699
5716
|
this.la_1 = 9;
|
|
5700
5717
|
continue $sm;
|
|
5701
5718
|
case 9:
|
|
@@ -5715,8 +5732,8 @@
|
|
|
5715
5732
|
while (true);
|
|
5716
5733
|
};
|
|
5717
5734
|
protoOf(timerMiddleware$o$handle$slambda).b2b = function ($this$launchDefault, completion) {
|
|
5718
|
-
var i = new timerMiddleware$o$handle$slambda(this.
|
|
5719
|
-
i.
|
|
5735
|
+
var i = new timerMiddleware$o$handle$slambda(this.o2w_1, this.p2w_1, this.q2w_1, this.r2w_1, completion);
|
|
5736
|
+
i.s2w_1 = $this$launchDefault;
|
|
5720
5737
|
return i;
|
|
5721
5738
|
};
|
|
5722
5739
|
function timerMiddleware$o$handle$slambda_0($action, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
@@ -5728,33 +5745,33 @@
|
|
|
5728
5745
|
return l;
|
|
5729
5746
|
}
|
|
5730
5747
|
function _no_name_provided__qut3iv_0($asyncProvider, $jobsProvider) {
|
|
5731
|
-
this.
|
|
5732
|
-
this.
|
|
5748
|
+
this.v2w_1 = $asyncProvider;
|
|
5749
|
+
this.w2w_1 = $jobsProvider;
|
|
5733
5750
|
}
|
|
5734
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
5751
|
+
protoOf(_no_name_provided__qut3iv_0).w2u = function (action) {
|
|
5735
5752
|
return action instanceof TimerAction;
|
|
5736
5753
|
};
|
|
5737
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
5754
|
+
protoOf(_no_name_provided__qut3iv_0).x2w = function (store, next, action) {
|
|
5738
5755
|
// Inline function 'com.logic.redux.middlewares.timers.timerMiddleware.<anonymous>' call
|
|
5739
5756
|
var action_0 = action instanceof TimerAction ? action : THROW_CCE();
|
|
5740
5757
|
if (action_0 instanceof StartTimerAction) {
|
|
5741
|
-
var job = this.
|
|
5742
|
-
this.
|
|
5758
|
+
var job = this.v2w_1.l2r(VOID, timerMiddleware$o$handle$slambda_0(action_0, this.v2w_1, this.w2w_1, store, null));
|
|
5759
|
+
this.w2w_1.e2t(action_0.r2u(), job);
|
|
5743
5760
|
} else {
|
|
5744
5761
|
if (action_0 instanceof StopTimerAction) {
|
|
5745
|
-
this.
|
|
5762
|
+
this.w2w_1.f2t(action_0.r2u());
|
|
5746
5763
|
} else {
|
|
5747
5764
|
if (action_0 instanceof TimerTickAction) {
|
|
5748
|
-
if (action_0.
|
|
5749
|
-
this.
|
|
5765
|
+
if (action_0.t2u_1.equals(TimerType_DELAY_getInstance())) {
|
|
5766
|
+
this.w2w_1.g2t(action_0.r2u());
|
|
5750
5767
|
}
|
|
5751
5768
|
}
|
|
5752
5769
|
}
|
|
5753
5770
|
}
|
|
5754
5771
|
next(action_0);
|
|
5755
5772
|
};
|
|
5756
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
5757
|
-
return this.
|
|
5773
|
+
protoOf(_no_name_provided__qut3iv_0).v2u = function (store, next, action) {
|
|
5774
|
+
return this.x2w(store, next, action);
|
|
5758
5775
|
};
|
|
5759
5776
|
function compose(functions) {
|
|
5760
5777
|
return compose$lambda(functions);
|
|
@@ -5790,7 +5807,7 @@
|
|
|
5790
5807
|
}
|
|
5791
5808
|
function createStore$dispatch(currentState, currentReducer, $logger, stateTrigger, action) {
|
|
5792
5809
|
try {
|
|
5793
|
-
currentState._v = currentReducer._v.
|
|
5810
|
+
currentState._v = currentReducer._v.y2w(currentState._v, action);
|
|
5794
5811
|
} catch ($p) {
|
|
5795
5812
|
if ($p instanceof Exception) {
|
|
5796
5813
|
var exception = $p;
|
|
@@ -5811,18 +5828,18 @@
|
|
|
5811
5828
|
};
|
|
5812
5829
|
}
|
|
5813
5830
|
function createStore$o$_get_observe_$o$collect$slambda_h8loug($$this$unsafeFlow, this$0, resultContinuation) {
|
|
5814
|
-
this.
|
|
5815
|
-
this.
|
|
5831
|
+
this.h2x_1 = $$this$unsafeFlow;
|
|
5832
|
+
this.i2x_1 = this$0;
|
|
5816
5833
|
CoroutineImpl.call(this, resultContinuation);
|
|
5817
5834
|
}
|
|
5818
|
-
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).
|
|
5819
|
-
var tmp = this.
|
|
5835
|
+
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).m2x = function (value, $completion) {
|
|
5836
|
+
var tmp = this.n2x(value, $completion);
|
|
5820
5837
|
tmp.na_1 = Unit_instance;
|
|
5821
5838
|
tmp.oa_1 = null;
|
|
5822
5839
|
return tmp.ya();
|
|
5823
5840
|
};
|
|
5824
5841
|
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).lb = function (p1, $completion) {
|
|
5825
|
-
return this.
|
|
5842
|
+
return this.m2x(p1 instanceof Unit ? p1 : THROW_CCE(), $completion);
|
|
5826
5843
|
};
|
|
5827
5844
|
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).ya = function () {
|
|
5828
5845
|
var suspendResult = this.na_1;
|
|
@@ -5833,12 +5850,12 @@
|
|
|
5833
5850
|
case 0:
|
|
5834
5851
|
this.ma_1 = 2;
|
|
5835
5852
|
var tmp_0 = this;
|
|
5836
|
-
tmp_0.
|
|
5853
|
+
tmp_0.k2x_1 = this.h2x_1;
|
|
5837
5854
|
var tmp_1 = this;
|
|
5838
|
-
tmp_1.
|
|
5855
|
+
tmp_1.l2x_1 = this.j2x_1;
|
|
5839
5856
|
this.la_1 = 1;
|
|
5840
|
-
this.
|
|
5841
|
-
suspendResult = this.
|
|
5857
|
+
this.l2x_1;
|
|
5858
|
+
suspendResult = this.k2x_1.d26(this.i2x_1.state, this);
|
|
5842
5859
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5843
5860
|
return suspendResult;
|
|
5844
5861
|
}
|
|
@@ -5860,23 +5877,23 @@
|
|
|
5860
5877
|
}
|
|
5861
5878
|
while (true);
|
|
5862
5879
|
};
|
|
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.
|
|
5880
|
+
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).n2x = function (value, completion) {
|
|
5881
|
+
var i = new createStore$o$_get_observe_$o$collect$slambda_h8loug(this.h2x_1, this.i2x_1, completion);
|
|
5882
|
+
i.j2x_1 = value;
|
|
5866
5883
|
return i;
|
|
5867
5884
|
};
|
|
5868
5885
|
function createStore$o$_get_observe_$o$collect$slambda_h8loug_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
5869
5886
|
var i = new createStore$o$_get_observe_$o$collect$slambda_h8loug($$this$unsafeFlow, this$0, resultContinuation);
|
|
5870
5887
|
var l = function (value, $completion) {
|
|
5871
|
-
return i.
|
|
5888
|
+
return i.m2x(value, $completion);
|
|
5872
5889
|
};
|
|
5873
5890
|
l.$arity = 1;
|
|
5874
5891
|
return l;
|
|
5875
5892
|
}
|
|
5876
5893
|
function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
|
|
5877
5894
|
CoroutineImpl.call(this, resultContinuation);
|
|
5878
|
-
this.
|
|
5879
|
-
this.
|
|
5895
|
+
this.w2x_1 = _this__u8e3s4;
|
|
5896
|
+
this.x2x_1 = collector;
|
|
5880
5897
|
}
|
|
5881
5898
|
protoOf($collectCOROUTINE$1).ya = function () {
|
|
5882
5899
|
var suspendResult = this.na_1;
|
|
@@ -5887,10 +5904,10 @@
|
|
|
5887
5904
|
case 0:
|
|
5888
5905
|
this.ma_1 = 2;
|
|
5889
5906
|
var tmp_0 = this;
|
|
5890
|
-
tmp_0.
|
|
5907
|
+
tmp_0.y2x_1 = this.x2x_1;
|
|
5891
5908
|
this.la_1 = 1;
|
|
5892
|
-
var tmp_1 = createStore$o$_get_observe_$o$collect$slambda_h8loug_0(this.
|
|
5893
|
-
suspendResult = this.
|
|
5909
|
+
var tmp_1 = createStore$o$_get_observe_$o$collect$slambda_h8loug_0(this.y2x_1, this.w2x_1.a2y_1, null);
|
|
5910
|
+
suspendResult = this.w2x_1.z2x_1.n25(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
5894
5911
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5895
5912
|
return suspendResult;
|
|
5896
5913
|
}
|
|
@@ -5913,10 +5930,10 @@
|
|
|
5913
5930
|
while (true);
|
|
5914
5931
|
};
|
|
5915
5932
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
5916
|
-
this.
|
|
5933
|
+
this.b2y_1 = function_0;
|
|
5917
5934
|
}
|
|
5918
5935
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).d26 = function (value, $completion) {
|
|
5919
|
-
return this.
|
|
5936
|
+
return this.b2y_1(value, $completion);
|
|
5920
5937
|
};
|
|
5921
5938
|
function createStore$o$dispatch$lambda($currentState, $currentReducer, $logger, $stateTrigger) {
|
|
5922
5939
|
return function (action) {
|
|
@@ -5931,46 +5948,46 @@
|
|
|
5931
5948
|
};
|
|
5932
5949
|
}
|
|
5933
5950
|
function _no_name_provided__qut3iv_1($this, this$0) {
|
|
5934
|
-
this.
|
|
5935
|
-
this.
|
|
5951
|
+
this.z2x_1 = $this;
|
|
5952
|
+
this.a2y_1 = this$0;
|
|
5936
5953
|
}
|
|
5937
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
5954
|
+
protoOf(_no_name_provided__qut3iv_1).c2y = function (collector, $completion) {
|
|
5938
5955
|
var tmp = new $collectCOROUTINE$1(this, collector, $completion);
|
|
5939
5956
|
tmp.na_1 = Unit_instance;
|
|
5940
5957
|
tmp.oa_1 = null;
|
|
5941
5958
|
return tmp.ya();
|
|
5942
5959
|
};
|
|
5943
5960
|
protoOf(_no_name_provided__qut3iv_1).n25 = function (collector, $completion) {
|
|
5944
|
-
return this.
|
|
5961
|
+
return this.c2y(collector, $completion);
|
|
5945
5962
|
};
|
|
5946
5963
|
function createStore$2($currentState, $currentReducer, $logger, $stateTrigger) {
|
|
5947
|
-
this.
|
|
5948
|
-
this.
|
|
5949
|
-
this.
|
|
5964
|
+
this.g2y_1 = $currentState;
|
|
5965
|
+
this.h2y_1 = $stateTrigger;
|
|
5966
|
+
this.d2y_1 = this;
|
|
5950
5967
|
var tmp = this;
|
|
5951
|
-
tmp.
|
|
5968
|
+
tmp.e2y_1 = createStore$o$dispatch$lambda($currentState, $currentReducer, $logger, $stateTrigger);
|
|
5952
5969
|
var tmp_0 = this;
|
|
5953
|
-
tmp_0.
|
|
5970
|
+
tmp_0.f2y_1 = createStore$o$replaceReducer$lambda($currentReducer, $currentState, $logger, $stateTrigger);
|
|
5954
5971
|
}
|
|
5955
|
-
protoOf(createStore$2).
|
|
5956
|
-
return this.
|
|
5972
|
+
protoOf(createStore$2).i2y = function () {
|
|
5973
|
+
return this.d2y_1;
|
|
5957
5974
|
};
|
|
5958
5975
|
protoOf(createStore$2).i1r = function () {
|
|
5959
|
-
return createStore$getState(this.
|
|
5976
|
+
return createStore$getState(this.g2y_1);
|
|
5960
5977
|
};
|
|
5961
|
-
protoOf(createStore$2).
|
|
5962
|
-
this.
|
|
5978
|
+
protoOf(createStore$2).j2y = function (_set____db54di) {
|
|
5979
|
+
this.e2y_1 = _set____db54di;
|
|
5963
5980
|
};
|
|
5964
|
-
protoOf(createStore$2).
|
|
5965
|
-
return this.
|
|
5981
|
+
protoOf(createStore$2).k2y = function () {
|
|
5982
|
+
return this.e2y_1;
|
|
5966
5983
|
};
|
|
5967
|
-
protoOf(createStore$2).
|
|
5968
|
-
return this.
|
|
5984
|
+
protoOf(createStore$2).l2y = function () {
|
|
5985
|
+
return this.f2y_1;
|
|
5969
5986
|
};
|
|
5970
|
-
protoOf(createStore$2).
|
|
5987
|
+
protoOf(createStore$2).m2y = function () {
|
|
5971
5988
|
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
5972
5989
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
5973
|
-
var this_0 = this.
|
|
5990
|
+
var this_0 = this.h2y_1;
|
|
5974
5991
|
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
5975
5992
|
return new _no_name_provided__qut3iv_1(this_0, this);
|
|
5976
5993
|
};
|
|
@@ -6048,10 +6065,10 @@
|
|
|
6048
6065
|
return new middleware$1(dispatch);
|
|
6049
6066
|
}
|
|
6050
6067
|
function middleware$1($dispatch) {
|
|
6051
|
-
this.
|
|
6068
|
+
this.n2y_1 = $dispatch;
|
|
6052
6069
|
}
|
|
6053
|
-
protoOf(middleware$1).
|
|
6054
|
-
this.
|
|
6070
|
+
protoOf(middleware$1).v2u = function (store, next, action) {
|
|
6071
|
+
this.n2y_1(store, next, action);
|
|
6055
6072
|
};
|
|
6056
6073
|
function Reducer() {
|
|
6057
6074
|
}
|
|
@@ -6059,13 +6076,13 @@
|
|
|
6059
6076
|
return new combineReducers$1(reducers);
|
|
6060
6077
|
}
|
|
6061
6078
|
function combineReducers$1($reducers) {
|
|
6062
|
-
this.
|
|
6079
|
+
this.o2y_1 = $reducers;
|
|
6063
6080
|
}
|
|
6064
|
-
protoOf(combineReducers$1).
|
|
6081
|
+
protoOf(combineReducers$1).p2y = function (state, action) {
|
|
6065
6082
|
// Inline function 'kotlin.collections.fold' call
|
|
6066
6083
|
// Inline function 'kotlin.collections.filter' call
|
|
6067
6084
|
// Inline function 'kotlin.collections.filterTo' call
|
|
6068
|
-
var this_0 = this.
|
|
6085
|
+
var this_0 = this.o2y_1;
|
|
6069
6086
|
var destination = ArrayList_init_$Create$();
|
|
6070
6087
|
var inductionVariable = 0;
|
|
6071
6088
|
var last = this_0.length;
|
|
@@ -6073,7 +6090,7 @@
|
|
|
6073
6090
|
var element = this_0[inductionVariable];
|
|
6074
6091
|
inductionVariable = inductionVariable + 1 | 0;
|
|
6075
6092
|
// Inline function 'com.logic.redux.store.definitions.<no name provided>.reduce.<anonymous>' call
|
|
6076
|
-
if (element.
|
|
6093
|
+
if (element.w2u(action)) {
|
|
6077
6094
|
destination.s(element);
|
|
6078
6095
|
}
|
|
6079
6096
|
}
|
|
@@ -6083,12 +6100,12 @@
|
|
|
6083
6100
|
var element_0 = tmp0_iterator.y();
|
|
6084
6101
|
// Inline function 'com.logic.redux.store.definitions.<no name provided>.reduce.<anonymous>' call
|
|
6085
6102
|
var s = accumulator;
|
|
6086
|
-
accumulator = element_0.
|
|
6103
|
+
accumulator = element_0.y2w(s, action);
|
|
6087
6104
|
}
|
|
6088
6105
|
return accumulator;
|
|
6089
6106
|
};
|
|
6090
|
-
protoOf(combineReducers$1).
|
|
6091
|
-
return this.
|
|
6107
|
+
protoOf(combineReducers$1).y2w = function (state, action) {
|
|
6108
|
+
return this.p2y((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6092
6109
|
};
|
|
6093
6110
|
function Store() {
|
|
6094
6111
|
}
|
|
@@ -6235,23 +6252,23 @@
|
|
|
6235
6252
|
Category_NONE_instance = new Category('NONE', 1, true);
|
|
6236
6253
|
}
|
|
6237
6254
|
function generateTag($this, tag) {
|
|
6238
|
-
return (!($this.
|
|
6255
|
+
return (!($this.g2u_1 == null) ? !(tag == null) : false) ? '' + $this.g2u_1 + ':' + tag : tag;
|
|
6239
6256
|
}
|
|
6240
6257
|
function Category(name, ordinal, isEnabled) {
|
|
6241
6258
|
Enum.call(this, name, ordinal);
|
|
6242
|
-
this.
|
|
6259
|
+
this.s2y_1 = isEnabled;
|
|
6243
6260
|
}
|
|
6244
6261
|
function Logger$loggerSource$1() {
|
|
6245
|
-
this.
|
|
6262
|
+
this.t2y_1 = new PlatformLogger();
|
|
6246
6263
|
}
|
|
6247
|
-
protoOf(Logger$loggerSource$1).
|
|
6248
|
-
this.
|
|
6264
|
+
protoOf(Logger$loggerSource$1).u2y = function (tag, msg) {
|
|
6265
|
+
this.t2y_1.u2y(tag, msg);
|
|
6249
6266
|
};
|
|
6250
|
-
protoOf(Logger$loggerSource$1).
|
|
6251
|
-
this.
|
|
6267
|
+
protoOf(Logger$loggerSource$1).v2y = function (tag, msg, exception) {
|
|
6268
|
+
this.t2y_1.v2y(tag, msg, exception);
|
|
6252
6269
|
};
|
|
6253
|
-
protoOf(Logger$loggerSource$1).
|
|
6254
|
-
this.
|
|
6270
|
+
protoOf(Logger$loggerSource$1).w2y = function (tag, msg) {
|
|
6271
|
+
this.t2y_1.w2y(tag, msg);
|
|
6255
6272
|
};
|
|
6256
6273
|
function Category_NONE_getInstance() {
|
|
6257
6274
|
Category_initEntries();
|
|
@@ -6260,56 +6277,56 @@
|
|
|
6260
6277
|
function Logger() {
|
|
6261
6278
|
Logger_instance = this;
|
|
6262
6279
|
var tmp = this;
|
|
6263
|
-
tmp.
|
|
6264
|
-
this.
|
|
6265
|
-
this.
|
|
6280
|
+
tmp.e2u_1 = new Logger$loggerSource$1();
|
|
6281
|
+
this.f2u_1 = true;
|
|
6282
|
+
this.g2u_1 = null;
|
|
6266
6283
|
}
|
|
6267
|
-
protoOf(Logger).
|
|
6268
|
-
this.
|
|
6284
|
+
protoOf(Logger).x2y = function (tag, message) {
|
|
6285
|
+
this.y2y(tag, message, Category_NONE_getInstance());
|
|
6269
6286
|
};
|
|
6270
|
-
protoOf(Logger).
|
|
6271
|
-
if (this.
|
|
6272
|
-
this.
|
|
6287
|
+
protoOf(Logger).z2y = function (tag, message, category) {
|
|
6288
|
+
if (this.f2u_1 ? category.s2y_1 : false) {
|
|
6289
|
+
this.e2u_1.w2y(generateTag(this, tag), message);
|
|
6273
6290
|
}
|
|
6274
6291
|
};
|
|
6275
|
-
protoOf(Logger).
|
|
6292
|
+
protoOf(Logger).a2z = function (tag, message, category, $super) {
|
|
6276
6293
|
tag = tag === VOID ? null : tag;
|
|
6277
6294
|
category = category === VOID ? Category_NONE_getInstance() : category;
|
|
6278
6295
|
var tmp;
|
|
6279
6296
|
if ($super === VOID) {
|
|
6280
|
-
this.
|
|
6297
|
+
this.z2y(tag, message, category);
|
|
6281
6298
|
tmp = Unit_instance;
|
|
6282
6299
|
} else {
|
|
6283
|
-
tmp = $super.
|
|
6300
|
+
tmp = $super.z2y.call(this, tag, message, category);
|
|
6284
6301
|
}
|
|
6285
6302
|
return tmp;
|
|
6286
6303
|
};
|
|
6287
|
-
protoOf(Logger).
|
|
6288
|
-
if (this.
|
|
6289
|
-
this.
|
|
6304
|
+
protoOf(Logger).y2y = function (tag, message, category) {
|
|
6305
|
+
if (this.f2u_1 ? category.s2y_1 : false) {
|
|
6306
|
+
this.e2u_1.u2y(generateTag(this, tag), message);
|
|
6290
6307
|
}
|
|
6291
6308
|
};
|
|
6292
|
-
protoOf(Logger).
|
|
6293
|
-
if (this.
|
|
6309
|
+
protoOf(Logger).b2z = function (tag, message, exception, category) {
|
|
6310
|
+
if (this.f2u_1 ? category.s2y_1 : false) {
|
|
6294
6311
|
if (exception == null)
|
|
6295
6312
|
null;
|
|
6296
6313
|
else {
|
|
6297
6314
|
printStackTrace(exception);
|
|
6298
6315
|
}
|
|
6299
|
-
this.
|
|
6316
|
+
this.e2u_1.v2y(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
6300
6317
|
}
|
|
6301
6318
|
};
|
|
6302
|
-
protoOf(Logger).
|
|
6319
|
+
protoOf(Logger).h2u = function (tag, message, exception, category, $super) {
|
|
6303
6320
|
tag = tag === VOID ? null : tag;
|
|
6304
6321
|
message = message === VOID ? null : message;
|
|
6305
6322
|
exception = exception === VOID ? null : exception;
|
|
6306
6323
|
category = category === VOID ? Category_NONE_getInstance() : category;
|
|
6307
6324
|
var tmp;
|
|
6308
6325
|
if ($super === VOID) {
|
|
6309
|
-
this.
|
|
6326
|
+
this.b2z(tag, message, exception, category);
|
|
6310
6327
|
tmp = Unit_instance;
|
|
6311
6328
|
} else {
|
|
6312
|
-
tmp = $super.
|
|
6329
|
+
tmp = $super.b2z.call(this, tag, message, exception, category);
|
|
6313
6330
|
}
|
|
6314
6331
|
return tmp;
|
|
6315
6332
|
};
|
|
@@ -6342,7 +6359,7 @@
|
|
|
6342
6359
|
}
|
|
6343
6360
|
function Companion_21() {
|
|
6344
6361
|
}
|
|
6345
|
-
protoOf(Companion_21).
|
|
6362
|
+
protoOf(Companion_21).c2z = function () {
|
|
6346
6363
|
return new CombinedGameLogger(mutableListOf([new PlatformGameLogger()]));
|
|
6347
6364
|
};
|
|
6348
6365
|
var Companion_instance_21;
|
|
@@ -6350,32 +6367,32 @@
|
|
|
6350
6367
|
return Companion_instance_21;
|
|
6351
6368
|
}
|
|
6352
6369
|
function CombinedGameLogger(logOutputs) {
|
|
6353
|
-
this.
|
|
6370
|
+
this.d2z_1 = logOutputs;
|
|
6354
6371
|
}
|
|
6355
|
-
protoOf(CombinedGameLogger).
|
|
6356
|
-
this.
|
|
6372
|
+
protoOf(CombinedGameLogger).e2z = function (output) {
|
|
6373
|
+
this.d2z_1.s(output);
|
|
6357
6374
|
};
|
|
6358
|
-
protoOf(CombinedGameLogger).
|
|
6375
|
+
protoOf(CombinedGameLogger).f2z = function (tag, message, payload) {
|
|
6359
6376
|
// Inline function 'kotlin.collections.forEach' call
|
|
6360
|
-
var tmp0_iterator = this.
|
|
6377
|
+
var tmp0_iterator = this.d2z_1.v();
|
|
6361
6378
|
while (tmp0_iterator.w()) {
|
|
6362
6379
|
var element = tmp0_iterator.y();
|
|
6363
6380
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.d.<anonymous>' call
|
|
6364
6381
|
element.d(tag, message, payload);
|
|
6365
6382
|
}
|
|
6366
6383
|
};
|
|
6367
|
-
protoOf(CombinedGameLogger).
|
|
6384
|
+
protoOf(CombinedGameLogger).g2z = function (tag, message, exception, payload) {
|
|
6368
6385
|
// Inline function 'kotlin.collections.forEach' call
|
|
6369
|
-
var tmp0_iterator = this.
|
|
6386
|
+
var tmp0_iterator = this.d2z_1.v();
|
|
6370
6387
|
while (tmp0_iterator.w()) {
|
|
6371
6388
|
var element = tmp0_iterator.y();
|
|
6372
6389
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.e.<anonymous>' call
|
|
6373
6390
|
element.e(tag, message, exception, payload);
|
|
6374
6391
|
}
|
|
6375
6392
|
};
|
|
6376
|
-
protoOf(CombinedGameLogger).
|
|
6393
|
+
protoOf(CombinedGameLogger).h2z = function (tag, message, payload) {
|
|
6377
6394
|
// Inline function 'kotlin.collections.forEach' call
|
|
6378
|
-
var tmp0_iterator = this.
|
|
6395
|
+
var tmp0_iterator = this.d2z_1.v();
|
|
6379
6396
|
while (tmp0_iterator.w()) {
|
|
6380
6397
|
var element = tmp0_iterator.y();
|
|
6381
6398
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.w.<anonymous>' call
|
|
@@ -6388,31 +6405,31 @@
|
|
|
6388
6405
|
}
|
|
6389
6406
|
function PlatformGameLogger(enabled) {
|
|
6390
6407
|
enabled = enabled === VOID ? true : enabled;
|
|
6391
|
-
this.
|
|
6408
|
+
this.i2z_1 = enabled;
|
|
6392
6409
|
}
|
|
6393
|
-
protoOf(PlatformGameLogger).
|
|
6394
|
-
this.
|
|
6410
|
+
protoOf(PlatformGameLogger).j2z = function (_set____db54di) {
|
|
6411
|
+
this.i2z_1 = _set____db54di;
|
|
6395
6412
|
};
|
|
6396
|
-
protoOf(PlatformGameLogger).
|
|
6397
|
-
return this.
|
|
6413
|
+
protoOf(PlatformGameLogger).k2z = function () {
|
|
6414
|
+
return this.i2z_1;
|
|
6398
6415
|
};
|
|
6399
|
-
protoOf(PlatformGameLogger).
|
|
6400
|
-
if (!this.
|
|
6416
|
+
protoOf(PlatformGameLogger).f2z = function (tag, message, payload) {
|
|
6417
|
+
if (!this.i2z_1)
|
|
6401
6418
|
return Unit_instance;
|
|
6402
|
-
Logger_getInstance().
|
|
6419
|
+
Logger_getInstance().x2y(tag, message);
|
|
6403
6420
|
};
|
|
6404
|
-
protoOf(PlatformGameLogger).
|
|
6405
|
-
if (!this.
|
|
6421
|
+
protoOf(PlatformGameLogger).g2z = function (tag, message, exception, payload) {
|
|
6422
|
+
if (!this.i2z_1)
|
|
6406
6423
|
return Unit_instance;
|
|
6407
|
-
Logger_getInstance().
|
|
6424
|
+
Logger_getInstance().h2u(tag, message, exception);
|
|
6408
6425
|
};
|
|
6409
|
-
protoOf(PlatformGameLogger).
|
|
6410
|
-
if (!this.
|
|
6426
|
+
protoOf(PlatformGameLogger).h2z = function (tag, message, payload) {
|
|
6427
|
+
if (!this.i2z_1)
|
|
6411
6428
|
return Unit_instance;
|
|
6412
|
-
Logger_getInstance().
|
|
6429
|
+
Logger_getInstance().a2z(tag, message);
|
|
6413
6430
|
};
|
|
6414
6431
|
function _get_$cachedSerializer__te6jhj_9($this) {
|
|
6415
|
-
return $this.
|
|
6432
|
+
return $this.l2z_1.o2();
|
|
6416
6433
|
}
|
|
6417
6434
|
function LogType$Companion$_anonymous__d4fjnz() {
|
|
6418
6435
|
return createSimpleEnumSerializer('com.logic.utils.logger.outputs.LogType', values_4());
|
|
@@ -6424,7 +6441,7 @@
|
|
|
6424
6441
|
Companion_instance_22 = this;
|
|
6425
6442
|
var tmp = this;
|
|
6426
6443
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
6427
|
-
tmp.
|
|
6444
|
+
tmp.l2z_1 = lazy(tmp_0, LogType$Companion$_anonymous__d4fjnz);
|
|
6428
6445
|
}
|
|
6429
6446
|
protoOf(Companion_22).t16 = function () {
|
|
6430
6447
|
return _get_$cachedSerializer__te6jhj_9(this);
|
|
@@ -6499,7 +6516,7 @@
|
|
|
6499
6516
|
// Inline function 'kotlin.arrayOf' call
|
|
6500
6517
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
6501
6518
|
// Inline function 'kotlin.js.asDynamic' call
|
|
6502
|
-
tmp.
|
|
6519
|
+
tmp.p2z_1 = [Companion_getInstance_24().t16(), null, null, null];
|
|
6503
6520
|
}
|
|
6504
6521
|
protoOf(Companion_23).t16 = function () {
|
|
6505
6522
|
return $serializer_getInstance_9();
|
|
@@ -6517,19 +6534,19 @@
|
|
|
6517
6534
|
tmp0_serialDesc.ku('tag', false);
|
|
6518
6535
|
tmp0_serialDesc.ku('message', false);
|
|
6519
6536
|
tmp0_serialDesc.ku('stackTrace', false);
|
|
6520
|
-
this.
|
|
6537
|
+
this.q2z_1 = tmp0_serialDesc;
|
|
6521
6538
|
}
|
|
6522
6539
|
protoOf($serializer_9).pj = function () {
|
|
6523
|
-
return this.
|
|
6540
|
+
return this.q2z_1;
|
|
6524
6541
|
};
|
|
6525
6542
|
protoOf($serializer_9).zu = function () {
|
|
6526
6543
|
// Inline function 'kotlin.arrayOf' call
|
|
6527
6544
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
6528
6545
|
// Inline function 'kotlin.js.asDynamic' call
|
|
6529
|
-
return [Companion_getInstance_25().
|
|
6546
|
+
return [Companion_getInstance_25().p2z_1[0], get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
6530
6547
|
};
|
|
6531
6548
|
protoOf($serializer_9).rj = function (decoder) {
|
|
6532
|
-
var tmp0_desc = this.
|
|
6549
|
+
var tmp0_desc = this.q2z_1;
|
|
6533
6550
|
var tmp1_flag = true;
|
|
6534
6551
|
var tmp2_index = 0;
|
|
6535
6552
|
var tmp3_bitMask0 = 0;
|
|
@@ -6538,7 +6555,7 @@
|
|
|
6538
6555
|
var tmp6_local2 = null;
|
|
6539
6556
|
var tmp7_local3 = null;
|
|
6540
6557
|
var tmp8_input = decoder.xm(tmp0_desc);
|
|
6541
|
-
var tmp9_cached = Companion_getInstance_25().
|
|
6558
|
+
var tmp9_cached = Companion_getInstance_25().p2z_1;
|
|
6542
6559
|
if (tmp8_input.nn()) {
|
|
6543
6560
|
tmp4_local0 = tmp8_input.jn(tmp0_desc, 0, tmp9_cached[0], tmp4_local0);
|
|
6544
6561
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -6578,10 +6595,10 @@
|
|
|
6578
6595
|
tmp8_input.ym(tmp0_desc);
|
|
6579
6596
|
return LoggerOutputDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
6580
6597
|
};
|
|
6581
|
-
protoOf($serializer_9).
|
|
6582
|
-
var tmp0_desc = this.
|
|
6598
|
+
protoOf($serializer_9).r2z = function (encoder, value) {
|
|
6599
|
+
var tmp0_desc = this.q2z_1;
|
|
6583
6600
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
6584
|
-
var tmp2_cached = Companion_getInstance_25().
|
|
6601
|
+
var tmp2_cached = Companion_getInstance_25().p2z_1;
|
|
6585
6602
|
tmp1_output.oo(tmp0_desc, 0, tmp2_cached[0], value.type);
|
|
6586
6603
|
tmp1_output.qo(tmp0_desc, 1, StringSerializer_getInstance(), value.tag);
|
|
6587
6604
|
tmp1_output.qo(tmp0_desc, 2, StringSerializer_getInstance(), value.message);
|
|
@@ -6589,7 +6606,7 @@
|
|
|
6589
6606
|
tmp1_output.ym(tmp0_desc);
|
|
6590
6607
|
};
|
|
6591
6608
|
protoOf($serializer_9).qj = function (encoder, value) {
|
|
6592
|
-
return this.
|
|
6609
|
+
return this.r2z(encoder, value instanceof LoggerOutputDataDto ? value : THROW_CCE());
|
|
6593
6610
|
};
|
|
6594
6611
|
var $serializer_instance_9;
|
|
6595
6612
|
function $serializer_getInstance_9() {
|
|
@@ -6599,7 +6616,7 @@
|
|
|
6599
6616
|
}
|
|
6600
6617
|
function LoggerOutputDataDto_init_$Init$(seen1, type, tag, message, stackTrace, serializationConstructorMarker, $this) {
|
|
6601
6618
|
if (!(15 === (15 & seen1))) {
|
|
6602
|
-
throwMissingFieldException(seen1, 15, $serializer_getInstance_9().
|
|
6619
|
+
throwMissingFieldException(seen1, 15, $serializer_getInstance_9().q2z_1);
|
|
6603
6620
|
}
|
|
6604
6621
|
$this.type = type;
|
|
6605
6622
|
$this.tag = tag;
|
|
@@ -6620,13 +6637,13 @@
|
|
|
6620
6637
|
protoOf(LoggerOutputDataDto).k1h = function () {
|
|
6621
6638
|
return this.type;
|
|
6622
6639
|
};
|
|
6623
|
-
protoOf(LoggerOutputDataDto).
|
|
6640
|
+
protoOf(LoggerOutputDataDto).x2k = function () {
|
|
6624
6641
|
return this.tag;
|
|
6625
6642
|
};
|
|
6626
6643
|
protoOf(LoggerOutputDataDto).q5 = function () {
|
|
6627
6644
|
return this.message;
|
|
6628
6645
|
};
|
|
6629
|
-
protoOf(LoggerOutputDataDto).
|
|
6646
|
+
protoOf(LoggerOutputDataDto).s2z = function () {
|
|
6630
6647
|
return this.stackTrace;
|
|
6631
6648
|
};
|
|
6632
6649
|
protoOf(LoggerOutputDataDto).toMessageLog = function () {
|
|
@@ -6642,10 +6659,10 @@
|
|
|
6642
6659
|
protoOf(LoggerOutputDataDto).qh = function () {
|
|
6643
6660
|
return this.message;
|
|
6644
6661
|
};
|
|
6645
|
-
protoOf(LoggerOutputDataDto).
|
|
6662
|
+
protoOf(LoggerOutputDataDto).p2k = function () {
|
|
6646
6663
|
return this.stackTrace;
|
|
6647
6664
|
};
|
|
6648
|
-
protoOf(LoggerOutputDataDto).
|
|
6665
|
+
protoOf(LoggerOutputDataDto).t2z = function (type, tag, message, stackTrace) {
|
|
6649
6666
|
return new LoggerOutputDataDto(type, tag, message, stackTrace);
|
|
6650
6667
|
};
|
|
6651
6668
|
protoOf(LoggerOutputDataDto).copy = function (type, tag, message, stackTrace, $super) {
|
|
@@ -6653,7 +6670,7 @@
|
|
|
6653
6670
|
tag = tag === VOID ? this.tag : tag;
|
|
6654
6671
|
message = message === VOID ? this.message : message;
|
|
6655
6672
|
stackTrace = stackTrace === VOID ? this.stackTrace : stackTrace;
|
|
6656
|
-
return this.
|
|
6673
|
+
return this.t2z(type, tag, message, stackTrace);
|
|
6657
6674
|
};
|
|
6658
6675
|
protoOf(LoggerOutputDataDto).toString = function () {
|
|
6659
6676
|
return 'LoggerOutputDataDto(type=' + this.type + ', tag=' + this.tag + ', message=' + this.message + ', stackTrace=' + this.stackTrace + ')';
|
|
@@ -6683,17 +6700,17 @@
|
|
|
6683
6700
|
};
|
|
6684
6701
|
function PlatformLogger() {
|
|
6685
6702
|
}
|
|
6686
|
-
protoOf(PlatformLogger).
|
|
6703
|
+
protoOf(PlatformLogger).u2y = function (tag, msg) {
|
|
6687
6704
|
console.log(getLogTag(tag) + ': ' + msg);
|
|
6688
6705
|
};
|
|
6689
|
-
protoOf(PlatformLogger).
|
|
6706
|
+
protoOf(PlatformLogger).v2y = function (tag, msg, exception) {
|
|
6690
6707
|
if (!(exception == null)) {
|
|
6691
6708
|
console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + exception);
|
|
6692
6709
|
} else {
|
|
6693
6710
|
console.error(getLogTag(tag) + ': ' + msg);
|
|
6694
6711
|
}
|
|
6695
6712
|
};
|
|
6696
|
-
protoOf(PlatformLogger).
|
|
6713
|
+
protoOf(PlatformLogger).w2y = function (tag, msg) {
|
|
6697
6714
|
console.warn(getLogTag(tag) + ': ' + msg);
|
|
6698
6715
|
};
|
|
6699
6716
|
//region block: post-declaration
|
|
@@ -6706,82 +6723,83 @@
|
|
|
6706
6723
|
protoOf($serializer_3).av = typeParametersSerializers;
|
|
6707
6724
|
protoOf($serializer_4).av = typeParametersSerializers;
|
|
6708
6725
|
defineProp(protoOf(GameUserInfo), 'playerId', function () {
|
|
6709
|
-
return this.
|
|
6726
|
+
return this.w2k();
|
|
6710
6727
|
});
|
|
6711
6728
|
defineProp(protoOf(PlayerIndex), 'playerId', function () {
|
|
6712
|
-
return this.
|
|
6729
|
+
return this.w2k();
|
|
6713
6730
|
});
|
|
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).
|
|
6731
|
+
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).f2n);
|
|
6732
|
+
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).g2n);
|
|
6733
|
+
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).h2n);
|
|
6734
|
+
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).i2n);
|
|
6735
|
+
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).j2n);
|
|
6736
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).k2n);
|
|
6737
|
+
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).l2n);
|
|
6738
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).m2n);
|
|
6722
6739
|
defineProp(protoOf(PlayerConnectionState), 'name', protoOf(PlayerConnectionState).g9);
|
|
6723
6740
|
defineProp(protoOf(PlayerConnectionState), 'ordinal', protoOf(PlayerConnectionState).h9);
|
|
6724
6741
|
defineProp(protoOf(PlayerLuckyFactor), 'playerId', function () {
|
|
6725
|
-
return this.
|
|
6742
|
+
return this.w2k();
|
|
6726
6743
|
});
|
|
6744
|
+
defineProp(protoOf(RulesSetType), 'isCustom', protoOf(RulesSetType).l2p);
|
|
6727
6745
|
defineProp(protoOf(RulesSetType), 'name', protoOf(RulesSetType).g9);
|
|
6728
6746
|
defineProp(protoOf(RulesSetType), 'ordinal', protoOf(RulesSetType).h9);
|
|
6729
|
-
protoOf(BufferedActionDto).
|
|
6747
|
+
protoOf(BufferedActionDto).n2p = get_actionTag;
|
|
6730
6748
|
defineProp(protoOf(BufferedActionDto), 'actionTag', function () {
|
|
6731
|
-
return this.
|
|
6749
|
+
return this.n2p();
|
|
6732
6750
|
});
|
|
6733
6751
|
protoOf($serializer_5).av = typeParametersSerializers;
|
|
6734
6752
|
protoOf($serializer_6).av = typeParametersSerializers;
|
|
6735
6753
|
protoOf($serializer_7).av = typeParametersSerializers;
|
|
6736
6754
|
protoOf($serializer_8).av = typeParametersSerializers;
|
|
6737
|
-
protoOf(AsyncProviderImpl).
|
|
6738
|
-
protoOf(AsyncProviderImpl).
|
|
6739
|
-
protoOf(AsyncProviderImpl).
|
|
6740
|
-
protoOf(AsyncProviderImpl).
|
|
6741
|
-
protoOf(TimerAction).
|
|
6755
|
+
protoOf(AsyncProviderImpl).p2r = launchMain$default;
|
|
6756
|
+
protoOf(AsyncProviderImpl).l2r = launchDefault$default;
|
|
6757
|
+
protoOf(AsyncProviderImpl).j2r = launchUnconfinedWithLock$default;
|
|
6758
|
+
protoOf(AsyncProviderImpl).n2r = launchDefaultWithLock$default;
|
|
6759
|
+
protoOf(TimerAction).n2p = get_actionTag;
|
|
6742
6760
|
defineProp(protoOf(TimerAction), 'actionTag', function () {
|
|
6743
|
-
return this.
|
|
6761
|
+
return this.n2p();
|
|
6744
6762
|
});
|
|
6745
6763
|
defineProp(protoOf(StartTimerAction), 'actionTag', function () {
|
|
6746
|
-
return this.
|
|
6764
|
+
return this.n2p();
|
|
6747
6765
|
});
|
|
6748
6766
|
defineProp(protoOf(TimerTickAction), 'actionTag', function () {
|
|
6749
|
-
return this.
|
|
6767
|
+
return this.n2p();
|
|
6750
6768
|
});
|
|
6751
6769
|
protoOf(StopTimerAction).notValidateWhenFinishing = notValidateWhenFinishing;
|
|
6752
6770
|
protoOf(StopTimerAction).notValidateWhenFinished = notValidateWhenFinished;
|
|
6753
6771
|
defineProp(protoOf(StopTimerAction), 'actionTag', function () {
|
|
6754
|
-
return this.
|
|
6772
|
+
return this.n2p();
|
|
6755
6773
|
});
|
|
6756
6774
|
defineProp(protoOf(createStore$2), 'store', function () {
|
|
6757
|
-
return this.
|
|
6775
|
+
return this.i2y();
|
|
6758
6776
|
});
|
|
6759
6777
|
defineProp(protoOf(createStore$2), 'state', function () {
|
|
6760
6778
|
return this.i1r();
|
|
6761
6779
|
});
|
|
6762
6780
|
defineProp(protoOf(createStore$2), 'dispatch', function () {
|
|
6763
|
-
return this.
|
|
6781
|
+
return this.k2y();
|
|
6764
6782
|
}, function (value) {
|
|
6765
|
-
this.
|
|
6783
|
+
this.j2y(value);
|
|
6766
6784
|
});
|
|
6767
6785
|
defineProp(protoOf(createStore$2), 'replaceReducer', function () {
|
|
6768
|
-
return this.
|
|
6786
|
+
return this.l2y();
|
|
6769
6787
|
});
|
|
6770
6788
|
defineProp(protoOf(createStore$2), 'observe', function () {
|
|
6771
|
-
return this.
|
|
6789
|
+
return this.m2y();
|
|
6772
6790
|
});
|
|
6773
|
-
protoOf(ActionTypes).
|
|
6791
|
+
protoOf(ActionTypes).n2p = get_actionTag;
|
|
6774
6792
|
defineProp(protoOf(ActionTypes), 'actionTag', function () {
|
|
6775
|
-
return this.
|
|
6793
|
+
return this.n2p();
|
|
6776
6794
|
});
|
|
6777
6795
|
defineProp(protoOf(INIT), 'actionTag', function () {
|
|
6778
|
-
return this.
|
|
6796
|
+
return this.n2p();
|
|
6779
6797
|
});
|
|
6780
6798
|
defineProp(protoOf(REPLACE), 'actionTag', function () {
|
|
6781
|
-
return this.
|
|
6799
|
+
return this.n2p();
|
|
6782
6800
|
});
|
|
6783
|
-
protoOf(middleware$1).
|
|
6784
|
-
protoOf(combineReducers$1).
|
|
6801
|
+
protoOf(middleware$1).w2u = canHandle;
|
|
6802
|
+
protoOf(combineReducers$1).w2u = canHandle_0;
|
|
6785
6803
|
protoOf(CombinedGameLogger).d = d;
|
|
6786
6804
|
protoOf(CombinedGameLogger).e = e;
|
|
6787
6805
|
protoOf(CombinedGameLogger).w = w;
|
|
@@ -6789,9 +6807,9 @@
|
|
|
6789
6807
|
protoOf(PlatformGameLogger).e = e;
|
|
6790
6808
|
protoOf(PlatformGameLogger).w = w;
|
|
6791
6809
|
defineProp(protoOf(PlatformGameLogger), 'enabled', function () {
|
|
6792
|
-
return this.
|
|
6810
|
+
return this.k2z();
|
|
6793
6811
|
}, function (value) {
|
|
6794
|
-
this.
|
|
6812
|
+
this.j2z(value);
|
|
6795
6813
|
});
|
|
6796
6814
|
defineProp(protoOf(LogType), 'name', protoOf(LogType).g9);
|
|
6797
6815
|
defineProp(protoOf(LogType), 'ordinal', protoOf(LogType).h9);
|
|
@@ -7040,33 +7058,33 @@
|
|
|
7040
7058
|
_.$_$.d2 = manualExpectantHandling;
|
|
7041
7059
|
_.$_$.e2 = waitForExpectantAnimation;
|
|
7042
7060
|
_.$_$.f2 = ExpectantAction;
|
|
7043
|
-
_.$_$.g2 =
|
|
7044
|
-
_.$_$.h2 =
|
|
7045
|
-
_.$_$.i2 =
|
|
7046
|
-
_.$_$.j2 =
|
|
7047
|
-
_.$_$.k2 =
|
|
7048
|
-
_.$_$.l2 =
|
|
7049
|
-
_.$_$.m2 =
|
|
7050
|
-
_.$_$.n2 =
|
|
7051
|
-
_.$_$.o2 =
|
|
7052
|
-
_.$_$.p2 =
|
|
7053
|
-
_.$_$.q2 =
|
|
7054
|
-
_.$_$.r2 =
|
|
7055
|
-
_.$_$.s2 =
|
|
7056
|
-
_.$_$.t2 =
|
|
7057
|
-
_.$_$.u2 =
|
|
7058
|
-
_.$_$.v2 =
|
|
7059
|
-
_.$_$.w2 =
|
|
7060
|
-
_.$_$.x2 =
|
|
7061
|
-
_.$_$.y2 =
|
|
7062
|
-
_.$_$.z2 =
|
|
7063
|
-
_.$_$.a3 =
|
|
7064
|
-
_.$_$.b3 =
|
|
7065
|
-
_.$_$.c3 =
|
|
7066
|
-
_.$_$.d3 =
|
|
7067
|
-
_.$_$.e3 =
|
|
7068
|
-
_.$_$.f3 =
|
|
7069
|
-
_.$_$.g3 =
|
|
7061
|
+
_.$_$.g2 = IgnoreBufferForAction;
|
|
7062
|
+
_.$_$.h2 = ReleaseBufferTriggerAction;
|
|
7063
|
+
_.$_$.i2 = StartTimerAction;
|
|
7064
|
+
_.$_$.j2 = StopTimerAction;
|
|
7065
|
+
_.$_$.k2 = TimerAction;
|
|
7066
|
+
_.$_$.l2 = TimerTickAction;
|
|
7067
|
+
_.$_$.m2 = applyMiddleware;
|
|
7068
|
+
_.$_$.n2 = applyThread;
|
|
7069
|
+
_.$_$.o2 = timerMiddleware;
|
|
7070
|
+
_.$_$.p2 = get_actionTag;
|
|
7071
|
+
_.$_$.q2 = Action;
|
|
7072
|
+
_.$_$.r2 = Middleware;
|
|
7073
|
+
_.$_$.s2 = Reducer;
|
|
7074
|
+
_.$_$.t2 = combineReducers;
|
|
7075
|
+
_.$_$.u2 = middleware;
|
|
7076
|
+
_.$_$.v2 = parseActionName;
|
|
7077
|
+
_.$_$.w2 = compose;
|
|
7078
|
+
_.$_$.x2 = createStore;
|
|
7079
|
+
_.$_$.y2 = GameLogger;
|
|
7080
|
+
_.$_$.z2 = LoggerPayload;
|
|
7081
|
+
_.$_$.a3 = get_entries_0;
|
|
7082
|
+
_.$_$.b3 = LoggerEnabledTrigger;
|
|
7083
|
+
_.$_$.c3 = LoggerOutputDataDto;
|
|
7084
|
+
_.$_$.d3 = LoggerOutput;
|
|
7085
|
+
_.$_$.e3 = generateMsg;
|
|
7086
|
+
_.$_$.f3 = enumToString;
|
|
7087
|
+
_.$_$.g3 = getDataClassName;
|
|
7070
7088
|
_.$_$.h3 = nextTo;
|
|
7071
7089
|
_.$_$.i3 = toDomainEnumSafe;
|
|
7072
7090
|
_.$_$.j3 = updateItem;
|