game_client_logic_deb 1.3.79 → 1.3.82
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/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +32 -32
- package/Logic_Debertz-core.js +779 -720
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +6738 -6766
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +9 -7
- package/Logic_Debertz-game_client.js +2610 -2585
- package/Logic_Debertz-game_client.js.map +1 -1
- package/package.json +1 -1
- package/uuid-js-ir.js +13 -13
package/Logic_Debertz-core.js
CHANGED
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
var Long = kotlin_kotlin.$_$.xb;
|
|
58
58
|
var toString_0 = kotlin_kotlin.$_$.ba;
|
|
59
59
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.m1;
|
|
60
|
-
var LongSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
61
60
|
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
61
|
+
var LongSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
62
62
|
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
63
63
|
var Comparator = kotlin_kotlin.$_$.pb;
|
|
64
64
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
@@ -135,13 +135,13 @@
|
|
|
135
135
|
_no_name_provided__qut3iv.prototype.constructor = _no_name_provided__qut3iv;
|
|
136
136
|
function launchWorker$default(context, block, $mask0, $handler) {
|
|
137
137
|
if (!(($mask0 & 1) === 0))
|
|
138
|
-
context = this.
|
|
139
|
-
return $handler == null ? this.
|
|
138
|
+
context = this.m2q();
|
|
139
|
+
return $handler == null ? this.p2q(context, block) : $handler(context, block);
|
|
140
140
|
}
|
|
141
141
|
function launchStore$default(context, block, $mask0, $handler) {
|
|
142
142
|
if (!(($mask0 & 1) === 0))
|
|
143
|
-
context = this.
|
|
144
|
-
return $handler == null ? this.
|
|
143
|
+
context = this.m2q();
|
|
144
|
+
return $handler == null ? this.n2q(context, block) : $handler(context, block);
|
|
145
145
|
}
|
|
146
146
|
function get_actionTag() {
|
|
147
147
|
return toString_0(getKClassFromExpression(this));
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
payload = null;
|
|
187
187
|
var tmp;
|
|
188
188
|
if ($handler == null) {
|
|
189
|
-
this.
|
|
189
|
+
this.o2t(tag, message, payload);
|
|
190
190
|
tmp = Unit_getInstance();
|
|
191
191
|
} else {
|
|
192
192
|
tmp = $handler(tag, message, payload);
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
payload = null;
|
|
205
205
|
var tmp;
|
|
206
206
|
if ($handler == null) {
|
|
207
|
-
this.
|
|
207
|
+
this.q2t(tag, message, exception, payload);
|
|
208
208
|
tmp = Unit_getInstance();
|
|
209
209
|
} else {
|
|
210
210
|
tmp = $handler(tag, message, exception, payload);
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
payload = null;
|
|
219
219
|
var tmp;
|
|
220
220
|
if ($handler == null) {
|
|
221
|
-
this.
|
|
221
|
+
this.r2t(tag, message, payload);
|
|
222
222
|
tmp = Unit_getInstance();
|
|
223
223
|
} else {
|
|
224
224
|
tmp = $handler(tag, message, payload);
|
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
//endregion
|
|
231
231
|
function GameEngineConfig() {
|
|
232
232
|
GameEngineConfig_instance = this;
|
|
233
|
-
this.i2k_1 = '1.3.
|
|
233
|
+
this.i2k_1 = '1.3.82';
|
|
234
234
|
}
|
|
235
235
|
GameEngineConfig.prototype.j2k = function () {
|
|
236
236
|
return this.i2k_1;
|
|
@@ -1142,21 +1142,25 @@
|
|
|
1142
1142
|
captureStack(this, MechanicException);
|
|
1143
1143
|
}
|
|
1144
1144
|
MechanicException.$metadata$ = classMeta('MechanicException', undefined, undefined, undefined, undefined, Exception.prototype);
|
|
1145
|
-
function GameUserInfo_init_$Init$(playerId, name, avatarUrl, payload, $mask0, $marker, $this) {
|
|
1145
|
+
function GameUserInfo_init_$Init$(playerId, name, avatarUrl, isBot, payload, $mask0, $marker, $this) {
|
|
1146
1146
|
if (!(($mask0 & 8) === 0))
|
|
1147
|
+
isBot = false;
|
|
1148
|
+
if (!(($mask0 & 16) === 0))
|
|
1147
1149
|
payload = null;
|
|
1148
|
-
GameUserInfo.call($this, playerId, name, avatarUrl, payload);
|
|
1150
|
+
GameUserInfo.call($this, playerId, name, avatarUrl, isBot, payload);
|
|
1149
1151
|
return $this;
|
|
1150
1152
|
}
|
|
1151
|
-
function GameUserInfo_init_$Create$(playerId, name, avatarUrl, payload, $mask0, $marker) {
|
|
1152
|
-
return GameUserInfo_init_$Init$(playerId, name, avatarUrl, payload, $mask0, $marker, Object.create(GameUserInfo.prototype));
|
|
1153
|
+
function GameUserInfo_init_$Create$(playerId, name, avatarUrl, isBot, payload, $mask0, $marker) {
|
|
1154
|
+
return GameUserInfo_init_$Init$(playerId, name, avatarUrl, isBot, payload, $mask0, $marker, Object.create(GameUserInfo.prototype));
|
|
1153
1155
|
}
|
|
1154
|
-
function GameUserInfo(playerId, name, avatarUrl, payload) {
|
|
1156
|
+
function GameUserInfo(playerId, name, avatarUrl, isBot, payload) {
|
|
1157
|
+
var isBot_0 = isBot === void 1 ? false : isBot;
|
|
1155
1158
|
var payload_0 = payload === void 1 ? null : payload;
|
|
1156
1159
|
this.i2l_1 = playerId;
|
|
1157
1160
|
this.j2l_1 = name;
|
|
1158
1161
|
this.k2l_1 = avatarUrl;
|
|
1159
|
-
this.l2l_1 =
|
|
1162
|
+
this.l2l_1 = isBot_0;
|
|
1163
|
+
this.m2l_1 = payload_0;
|
|
1160
1164
|
}
|
|
1161
1165
|
GameUserInfo.prototype.x2k = function () {
|
|
1162
1166
|
return this.i2l_1;
|
|
@@ -1164,12 +1168,15 @@
|
|
|
1164
1168
|
GameUserInfo.prototype.f5 = function () {
|
|
1165
1169
|
return this.j2l_1;
|
|
1166
1170
|
};
|
|
1167
|
-
GameUserInfo.prototype.
|
|
1171
|
+
GameUserInfo.prototype.n2l = function () {
|
|
1168
1172
|
return this.k2l_1;
|
|
1169
1173
|
};
|
|
1170
|
-
GameUserInfo.prototype.
|
|
1174
|
+
GameUserInfo.prototype.o2l = function () {
|
|
1171
1175
|
return this.l2l_1;
|
|
1172
1176
|
};
|
|
1177
|
+
GameUserInfo.prototype.p2l = function () {
|
|
1178
|
+
return this.m2l_1;
|
|
1179
|
+
};
|
|
1173
1180
|
GameUserInfo.prototype.component1 = function () {
|
|
1174
1181
|
return this.i2l_1;
|
|
1175
1182
|
};
|
|
@@ -1182,13 +1189,16 @@
|
|
|
1182
1189
|
GameUserInfo.prototype.component4 = function () {
|
|
1183
1190
|
return this.l2l_1;
|
|
1184
1191
|
};
|
|
1185
|
-
GameUserInfo.prototype.
|
|
1186
|
-
return this.
|
|
1192
|
+
GameUserInfo.prototype.component5 = function () {
|
|
1193
|
+
return this.m2l_1;
|
|
1194
|
+
};
|
|
1195
|
+
GameUserInfo.prototype.copy = function (playerId, name, avatarUrl, isBot, payload) {
|
|
1196
|
+
return this.q2l(playerId === void 1 ? this.i2l_1 : playerId, name === void 1 ? this.j2l_1 : name, avatarUrl === void 1 ? this.k2l_1 : avatarUrl, isBot === void 1 ? this.l2l_1 : isBot, payload === void 1 ? this.m2l_1 : payload);
|
|
1187
1197
|
};
|
|
1188
|
-
GameUserInfo.prototype.
|
|
1189
|
-
return new GameUserInfo(playerId, name, avatarUrl, payload);
|
|
1198
|
+
GameUserInfo.prototype.q2l = function (playerId, name, avatarUrl, isBot, payload) {
|
|
1199
|
+
return new GameUserInfo(playerId, name, avatarUrl, isBot, payload);
|
|
1190
1200
|
};
|
|
1191
|
-
GameUserInfo.prototype.
|
|
1201
|
+
GameUserInfo.prototype.r2l = function (playerId, name, avatarUrl, isBot, payload, $mask0, $handler) {
|
|
1192
1202
|
if (!(($mask0 & 1) === 0))
|
|
1193
1203
|
playerId = this.i2l_1;
|
|
1194
1204
|
if (!(($mask0 & 2) === 0))
|
|
@@ -1196,17 +1206,20 @@
|
|
|
1196
1206
|
if (!(($mask0 & 4) === 0))
|
|
1197
1207
|
avatarUrl = this.k2l_1;
|
|
1198
1208
|
if (!(($mask0 & 8) === 0))
|
|
1199
|
-
|
|
1200
|
-
|
|
1209
|
+
isBot = this.l2l_1;
|
|
1210
|
+
if (!(($mask0 & 16) === 0))
|
|
1211
|
+
payload = this.m2l_1;
|
|
1212
|
+
return this.q2l(playerId, name, avatarUrl, isBot, payload);
|
|
1201
1213
|
};
|
|
1202
1214
|
GameUserInfo.prototype.toString = function () {
|
|
1203
|
-
return 'GameUserInfo(playerId=' + this.i2l_1 + ', name=' + this.j2l_1 + ', avatarUrl=' + this.k2l_1 + ', payload=' + toString(this.
|
|
1215
|
+
return 'GameUserInfo(playerId=' + this.i2l_1 + ', name=' + this.j2l_1 + ', avatarUrl=' + this.k2l_1 + ', isBot=' + this.l2l_1 + ', payload=' + toString(this.m2l_1) + ')';
|
|
1204
1216
|
};
|
|
1205
1217
|
GameUserInfo.prototype.hashCode = function () {
|
|
1206
1218
|
var result = getStringHashCode(this.i2l_1);
|
|
1207
1219
|
result = imul(result, 31) + getStringHashCode(this.j2l_1) | 0;
|
|
1208
1220
|
result = imul(result, 31) + getStringHashCode(this.k2l_1) | 0;
|
|
1209
|
-
result = imul(result, 31) + (this.l2l_1
|
|
1221
|
+
result = imul(result, 31) + (this.l2l_1 | 0) | 0;
|
|
1222
|
+
result = imul(result, 31) + (this.m2l_1 == null ? 0 : hashCode(this.m2l_1)) | 0;
|
|
1210
1223
|
return result;
|
|
1211
1224
|
};
|
|
1212
1225
|
GameUserInfo.prototype.equals = function (other) {
|
|
@@ -1221,7 +1234,9 @@
|
|
|
1221
1234
|
return false;
|
|
1222
1235
|
if (!(this.k2l_1 === tmp0_other_with_cast.k2l_1))
|
|
1223
1236
|
return false;
|
|
1224
|
-
if (!
|
|
1237
|
+
if (!(this.l2l_1 === tmp0_other_with_cast.l2l_1))
|
|
1238
|
+
return false;
|
|
1239
|
+
if (!equals(this.m2l_1, tmp0_other_with_cast.m2l_1))
|
|
1225
1240
|
return false;
|
|
1226
1241
|
return true;
|
|
1227
1242
|
};
|
|
@@ -1238,11 +1253,15 @@
|
|
|
1238
1253
|
});
|
|
1239
1254
|
Object.defineProperty(GameUserInfo.prototype, 'avatarUrl', {
|
|
1240
1255
|
configurable: true,
|
|
1241
|
-
get: GameUserInfo.prototype.
|
|
1256
|
+
get: GameUserInfo.prototype.n2l
|
|
1257
|
+
});
|
|
1258
|
+
Object.defineProperty(GameUserInfo.prototype, 'isBot', {
|
|
1259
|
+
configurable: true,
|
|
1260
|
+
get: GameUserInfo.prototype.o2l
|
|
1242
1261
|
});
|
|
1243
1262
|
Object.defineProperty(GameUserInfo.prototype, 'payload', {
|
|
1244
1263
|
configurable: true,
|
|
1245
|
-
get: GameUserInfo.prototype.
|
|
1264
|
+
get: GameUserInfo.prototype.p2l
|
|
1246
1265
|
});
|
|
1247
1266
|
function get_byIdPlayerPredicate() {
|
|
1248
1267
|
init_properties_Player_kt_txblev();
|
|
@@ -1319,6 +1338,9 @@
|
|
|
1319
1338
|
tmp$ret$1 = tmp$ret$0;
|
|
1320
1339
|
return tmp$ret$1;
|
|
1321
1340
|
}
|
|
1341
|
+
function PlayerIndexContract() {
|
|
1342
|
+
}
|
|
1343
|
+
PlayerIndexContract.$metadata$ = interfaceMeta('PlayerIndexContract');
|
|
1322
1344
|
function filterPlayerTurn(_this__u8e3s4) {
|
|
1323
1345
|
init_properties_Player_kt_txblev();
|
|
1324
1346
|
var tmp$ret$1;
|
|
@@ -1349,7 +1371,7 @@
|
|
|
1349
1371
|
}
|
|
1350
1372
|
function playerTurnPredicate$lambda(p1) {
|
|
1351
1373
|
init_properties_Player_kt_txblev();
|
|
1352
|
-
return p1.am().
|
|
1374
|
+
return p1.am().y2l() ? true : p1.am().x2l();
|
|
1353
1375
|
}
|
|
1354
1376
|
var properties_initialized_Player_kt_56shkt;
|
|
1355
1377
|
function init_properties_Player_kt_txblev() {
|
|
@@ -1373,10 +1395,10 @@
|
|
|
1373
1395
|
Companion_instance_6 = this;
|
|
1374
1396
|
var tmp = this;
|
|
1375
1397
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1376
|
-
tmp.
|
|
1398
|
+
tmp.z2l_1 = lazy(tmp_0, PlayerConnectionState$Companion$$cachedSerializer$delegate$_anonymous__bycx8c);
|
|
1377
1399
|
}
|
|
1378
1400
|
Companion_6.prototype.serializer = function () {
|
|
1379
|
-
return this.
|
|
1401
|
+
return this.z2l_1.c2();
|
|
1380
1402
|
};
|
|
1381
1403
|
Companion_6.prototype.t1t = function (typeParamsSerializers) {
|
|
1382
1404
|
return this.serializer();
|
|
@@ -1428,62 +1450,62 @@
|
|
|
1428
1450
|
function PlayerConnectionState(name, ordinal) {
|
|
1429
1451
|
Enum.call(this, name, ordinal);
|
|
1430
1452
|
}
|
|
1431
|
-
PlayerConnectionState.prototype.
|
|
1453
|
+
PlayerConnectionState.prototype.c2m = function () {
|
|
1432
1454
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1433
1455
|
};
|
|
1434
|
-
PlayerConnectionState.prototype.
|
|
1456
|
+
PlayerConnectionState.prototype.d2m = function () {
|
|
1435
1457
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1436
1458
|
};
|
|
1437
|
-
PlayerConnectionState.prototype.
|
|
1459
|
+
PlayerConnectionState.prototype.e2m = function () {
|
|
1438
1460
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1439
1461
|
};
|
|
1440
|
-
PlayerConnectionState.prototype.
|
|
1462
|
+
PlayerConnectionState.prototype.f2m = function () {
|
|
1441
1463
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1442
1464
|
};
|
|
1443
|
-
PlayerConnectionState.prototype.
|
|
1465
|
+
PlayerConnectionState.prototype.g2m = function () {
|
|
1444
1466
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1445
1467
|
};
|
|
1446
|
-
PlayerConnectionState.prototype.
|
|
1468
|
+
PlayerConnectionState.prototype.h2m = function () {
|
|
1447
1469
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1448
1470
|
};
|
|
1449
|
-
PlayerConnectionState.prototype.
|
|
1471
|
+
PlayerConnectionState.prototype.i2m = function () {
|
|
1450
1472
|
return ((this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft) ? true : this.isDeleted;
|
|
1451
1473
|
};
|
|
1452
|
-
PlayerConnectionState.prototype.
|
|
1474
|
+
PlayerConnectionState.prototype.j2m = function () {
|
|
1453
1475
|
return (this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft;
|
|
1454
1476
|
};
|
|
1455
1477
|
PlayerConnectionState.$metadata$ = classMeta('PlayerConnectionState', undefined, undefined, {0: Companion_getInstance_6}, undefined, Enum.prototype);
|
|
1456
1478
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLive', {
|
|
1457
1479
|
configurable: true,
|
|
1458
|
-
get: PlayerConnectionState.prototype.
|
|
1480
|
+
get: PlayerConnectionState.prototype.c2m
|
|
1459
1481
|
});
|
|
1460
1482
|
Object.defineProperty(PlayerConnectionState.prototype, 'isTimeOut', {
|
|
1461
1483
|
configurable: true,
|
|
1462
|
-
get: PlayerConnectionState.prototype.
|
|
1484
|
+
get: PlayerConnectionState.prototype.d2m
|
|
1463
1485
|
});
|
|
1464
1486
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLostConnection', {
|
|
1465
1487
|
configurable: true,
|
|
1466
|
-
get: PlayerConnectionState.prototype.
|
|
1488
|
+
get: PlayerConnectionState.prototype.e2m
|
|
1467
1489
|
});
|
|
1468
1490
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLeft', {
|
|
1469
1491
|
configurable: true,
|
|
1470
|
-
get: PlayerConnectionState.prototype.
|
|
1492
|
+
get: PlayerConnectionState.prototype.f2m
|
|
1471
1493
|
});
|
|
1472
1494
|
Object.defineProperty(PlayerConnectionState.prototype, 'isDeleted', {
|
|
1473
1495
|
configurable: true,
|
|
1474
|
-
get: PlayerConnectionState.prototype.
|
|
1496
|
+
get: PlayerConnectionState.prototype.g2m
|
|
1475
1497
|
});
|
|
1476
1498
|
Object.defineProperty(PlayerConnectionState.prototype, 'isDisconnecting', {
|
|
1477
1499
|
configurable: true,
|
|
1478
|
-
get: PlayerConnectionState.prototype.
|
|
1500
|
+
get: PlayerConnectionState.prototype.h2m
|
|
1479
1501
|
});
|
|
1480
1502
|
Object.defineProperty(PlayerConnectionState.prototype, 'isNotAlive', {
|
|
1481
1503
|
configurable: true,
|
|
1482
|
-
get: PlayerConnectionState.prototype.
|
|
1504
|
+
get: PlayerConnectionState.prototype.i2m
|
|
1483
1505
|
});
|
|
1484
1506
|
Object.defineProperty(PlayerConnectionState.prototype, 'isPossibleToBeLive', {
|
|
1485
1507
|
configurable: true,
|
|
1486
|
-
get: PlayerConnectionState.prototype.
|
|
1508
|
+
get: PlayerConnectionState.prototype.j2m
|
|
1487
1509
|
});
|
|
1488
1510
|
Object.defineProperty(PlayerConnectionState.prototype, 'name', {
|
|
1489
1511
|
configurable: true,
|
|
@@ -1527,10 +1549,10 @@
|
|
|
1527
1549
|
Companion_instance_7 = this;
|
|
1528
1550
|
var tmp = this;
|
|
1529
1551
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1530
|
-
tmp.
|
|
1552
|
+
tmp.k2m_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$$cachedSerializer$delegate$_anonymous__yamkar);
|
|
1531
1553
|
}
|
|
1532
1554
|
Companion_7.prototype.d25 = function () {
|
|
1533
|
-
return this.
|
|
1555
|
+
return this.k2m_1.c2();
|
|
1534
1556
|
};
|
|
1535
1557
|
Companion_7.prototype.t1t = function (typeParamsSerializers) {
|
|
1536
1558
|
return this.d25();
|
|
@@ -1559,28 +1581,28 @@
|
|
|
1559
1581
|
function PlayerWaitingState(name, ordinal) {
|
|
1560
1582
|
Enum.call(this, name, ordinal);
|
|
1561
1583
|
}
|
|
1562
|
-
PlayerWaitingState.prototype.
|
|
1563
|
-
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance()) ? true : this.
|
|
1584
|
+
PlayerWaitingState.prototype.y2l = function () {
|
|
1585
|
+
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance()) ? true : this.x2l();
|
|
1564
1586
|
};
|
|
1565
|
-
PlayerWaitingState.prototype.
|
|
1587
|
+
PlayerWaitingState.prototype.x2l = function () {
|
|
1566
1588
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1567
1589
|
};
|
|
1568
1590
|
PlayerWaitingState.$metadata$ = classMeta('PlayerWaitingState', undefined, undefined, {0: Companion_getInstance_7}, undefined, Enum.prototype);
|
|
1569
1591
|
function Companion_8() {
|
|
1570
1592
|
Companion_instance_8 = this;
|
|
1571
1593
|
}
|
|
1572
|
-
Companion_8.prototype.
|
|
1594
|
+
Companion_8.prototype.n2m = function (connectionState) {
|
|
1573
1595
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1574
1596
|
return new PlayerState(new Long(0, 0), tmp0_state, false, connectionState, null);
|
|
1575
1597
|
};
|
|
1576
|
-
Companion_8.prototype.
|
|
1598
|
+
Companion_8.prototype.o2m = function (_this__u8e3s4) {
|
|
1577
1599
|
var tmp = new Long(0, 0);
|
|
1578
1600
|
var tmp_0 = PlayerWaitingState_IDLE_getInstance();
|
|
1579
|
-
return _this__u8e3s4.
|
|
1601
|
+
return _this__u8e3s4.p2m(tmp, tmp_0, false, null, null, 12, null);
|
|
1580
1602
|
};
|
|
1581
|
-
Companion_8.prototype.
|
|
1603
|
+
Companion_8.prototype.q2m = function (_this__u8e3s4, startFromTime, tag) {
|
|
1582
1604
|
var tmp0_state = PlayerWaitingState_IN_PROGRESS_getInstance();
|
|
1583
|
-
return _this__u8e3s4.
|
|
1605
|
+
return _this__u8e3s4.p2m(startFromTime, tmp0_state, false, null, tag, 8, null);
|
|
1584
1606
|
};
|
|
1585
1607
|
Companion_8.$metadata$ = objectMeta('Companion');
|
|
1586
1608
|
var Companion_instance_8;
|
|
@@ -1603,25 +1625,25 @@
|
|
|
1603
1625
|
}
|
|
1604
1626
|
function PlayerState(startFromTime, state, ready, connectionState, tag) {
|
|
1605
1627
|
Companion_getInstance_8();
|
|
1606
|
-
this.
|
|
1607
|
-
this.
|
|
1608
|
-
this.
|
|
1609
|
-
this.
|
|
1610
|
-
this.
|
|
1628
|
+
this.s2l_1 = startFromTime;
|
|
1629
|
+
this.t2l_1 = state;
|
|
1630
|
+
this.u2l_1 = ready;
|
|
1631
|
+
this.v2l_1 = connectionState;
|
|
1632
|
+
this.w2l_1 = tag;
|
|
1611
1633
|
}
|
|
1612
|
-
PlayerState.prototype.
|
|
1613
|
-
return this.
|
|
1634
|
+
PlayerState.prototype.r2m = function () {
|
|
1635
|
+
return this.u2l_1;
|
|
1614
1636
|
};
|
|
1615
|
-
PlayerState.prototype.
|
|
1616
|
-
return this.
|
|
1637
|
+
PlayerState.prototype.s2m = function () {
|
|
1638
|
+
return this.v2l_1;
|
|
1617
1639
|
};
|
|
1618
1640
|
PlayerState.prototype.o2e = function () {
|
|
1619
|
-
return this.
|
|
1641
|
+
return this.w2l_1;
|
|
1620
1642
|
};
|
|
1621
|
-
PlayerState.prototype.
|
|
1643
|
+
PlayerState.prototype.t2m = function () {
|
|
1622
1644
|
var tmp$ret$2;
|
|
1623
1645
|
// Inline function 'kotlin.requireNotNull' call
|
|
1624
|
-
var tmp0_requireNotNull = this.
|
|
1646
|
+
var tmp0_requireNotNull = this.w2l_1;
|
|
1625
1647
|
// Inline function 'kotlin.contracts.contract' call
|
|
1626
1648
|
var tmp$ret$1;
|
|
1627
1649
|
$l$block: {
|
|
@@ -1641,41 +1663,41 @@
|
|
|
1641
1663
|
tmp$ret$2 = tmp$ret$1;
|
|
1642
1664
|
return tmp$ret$2;
|
|
1643
1665
|
};
|
|
1644
|
-
PlayerState.prototype.
|
|
1645
|
-
var tmp0_elvis_lhs = this.
|
|
1666
|
+
PlayerState.prototype.u2m = function () {
|
|
1667
|
+
var tmp0_elvis_lhs = this.w2l_1;
|
|
1646
1668
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
1647
1669
|
};
|
|
1648
|
-
PlayerState.prototype.
|
|
1649
|
-
return this.
|
|
1670
|
+
PlayerState.prototype.y2l = function () {
|
|
1671
|
+
return this.t2l_1.y2l();
|
|
1650
1672
|
};
|
|
1651
|
-
PlayerState.prototype.
|
|
1652
|
-
return this.
|
|
1673
|
+
PlayerState.prototype.x2l = function () {
|
|
1674
|
+
return this.t2l_1.x2l();
|
|
1653
1675
|
};
|
|
1654
|
-
PlayerState.prototype.
|
|
1676
|
+
PlayerState.prototype.v2m = function (startFromTime, state, ready, connectionState, tag) {
|
|
1655
1677
|
return new PlayerState(startFromTime, state, ready, connectionState, tag);
|
|
1656
1678
|
};
|
|
1657
|
-
PlayerState.prototype.
|
|
1679
|
+
PlayerState.prototype.p2m = function (startFromTime, state, ready, connectionState, tag, $mask0, $handler) {
|
|
1658
1680
|
if (!(($mask0 & 1) === 0))
|
|
1659
|
-
startFromTime = this.
|
|
1681
|
+
startFromTime = this.s2l_1;
|
|
1660
1682
|
if (!(($mask0 & 2) === 0))
|
|
1661
|
-
state = this.
|
|
1683
|
+
state = this.t2l_1;
|
|
1662
1684
|
if (!(($mask0 & 4) === 0))
|
|
1663
|
-
ready = this.
|
|
1685
|
+
ready = this.u2l_1;
|
|
1664
1686
|
if (!(($mask0 & 8) === 0))
|
|
1665
|
-
connectionState = this.
|
|
1687
|
+
connectionState = this.v2l_1;
|
|
1666
1688
|
if (!(($mask0 & 16) === 0))
|
|
1667
|
-
tag = this.
|
|
1668
|
-
return this.
|
|
1689
|
+
tag = this.w2l_1;
|
|
1690
|
+
return this.v2m(startFromTime, state, ready, connectionState, tag);
|
|
1669
1691
|
};
|
|
1670
1692
|
PlayerState.prototype.toString = function () {
|
|
1671
|
-
return 'PlayerState(startFromTime=' + toString_0(this.
|
|
1693
|
+
return 'PlayerState(startFromTime=' + toString_0(this.s2l_1) + ', state=' + this.t2l_1 + ', ready=' + this.u2l_1 + ', connectionState=' + this.v2l_1 + ', tag=' + this.w2l_1 + ')';
|
|
1672
1694
|
};
|
|
1673
1695
|
PlayerState.prototype.hashCode = function () {
|
|
1674
|
-
var result = this.
|
|
1675
|
-
result = imul(result, 31) + this.r2l_1.hashCode() | 0;
|
|
1676
|
-
result = imul(result, 31) + (this.s2l_1 | 0) | 0;
|
|
1696
|
+
var result = this.s2l_1.hashCode();
|
|
1677
1697
|
result = imul(result, 31) + this.t2l_1.hashCode() | 0;
|
|
1678
|
-
result = imul(result, 31) + (this.u2l_1
|
|
1698
|
+
result = imul(result, 31) + (this.u2l_1 | 0) | 0;
|
|
1699
|
+
result = imul(result, 31) + this.v2l_1.hashCode() | 0;
|
|
1700
|
+
result = imul(result, 31) + (this.w2l_1 == null ? 0 : getStringHashCode(this.w2l_1)) | 0;
|
|
1679
1701
|
return result;
|
|
1680
1702
|
};
|
|
1681
1703
|
PlayerState.prototype.equals = function (other) {
|
|
@@ -1684,27 +1706,27 @@
|
|
|
1684
1706
|
if (!(other instanceof PlayerState))
|
|
1685
1707
|
return false;
|
|
1686
1708
|
var tmp0_other_with_cast = other instanceof PlayerState ? other : THROW_CCE();
|
|
1687
|
-
if (!this.
|
|
1709
|
+
if (!this.s2l_1.equals(tmp0_other_with_cast.s2l_1))
|
|
1688
1710
|
return false;
|
|
1689
|
-
if (!this.
|
|
1711
|
+
if (!this.t2l_1.equals(tmp0_other_with_cast.t2l_1))
|
|
1690
1712
|
return false;
|
|
1691
|
-
if (!(this.
|
|
1713
|
+
if (!(this.u2l_1 === tmp0_other_with_cast.u2l_1))
|
|
1692
1714
|
return false;
|
|
1693
|
-
if (!this.
|
|
1715
|
+
if (!this.v2l_1.equals(tmp0_other_with_cast.v2l_1))
|
|
1694
1716
|
return false;
|
|
1695
|
-
if (!(this.
|
|
1717
|
+
if (!(this.w2l_1 == tmp0_other_with_cast.w2l_1))
|
|
1696
1718
|
return false;
|
|
1697
1719
|
return true;
|
|
1698
1720
|
};
|
|
1699
1721
|
PlayerState.$metadata$ = classMeta('PlayerState');
|
|
1700
1722
|
function Team(playerIds) {
|
|
1701
|
-
this.
|
|
1723
|
+
this.w2m_1 = playerIds;
|
|
1702
1724
|
}
|
|
1703
1725
|
Team.prototype.toString = function () {
|
|
1704
|
-
return 'Team(playerIds=' + this.
|
|
1726
|
+
return 'Team(playerIds=' + this.w2m_1 + ')';
|
|
1705
1727
|
};
|
|
1706
1728
|
Team.prototype.hashCode = function () {
|
|
1707
|
-
return hashCode(this.
|
|
1729
|
+
return hashCode(this.w2m_1);
|
|
1708
1730
|
};
|
|
1709
1731
|
Team.prototype.equals = function (other) {
|
|
1710
1732
|
if (this === other)
|
|
@@ -1712,7 +1734,7 @@
|
|
|
1712
1734
|
if (!(other instanceof Team))
|
|
1713
1735
|
return false;
|
|
1714
1736
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
1715
|
-
if (!equals(this.
|
|
1737
|
+
if (!equals(this.w2m_1, tmp0_other_with_cast.w2m_1))
|
|
1716
1738
|
return false;
|
|
1717
1739
|
return true;
|
|
1718
1740
|
};
|
|
@@ -1744,29 +1766,23 @@
|
|
|
1744
1766
|
}
|
|
1745
1767
|
function Rules(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
1746
1768
|
Companion_getInstance_9();
|
|
1747
|
-
this.
|
|
1748
|
-
this.
|
|
1749
|
-
this.
|
|
1750
|
-
this.
|
|
1751
|
-
this.
|
|
1752
|
-
this.
|
|
1753
|
-
this.
|
|
1754
|
-
this.
|
|
1755
|
-
this.
|
|
1756
|
-
this.
|
|
1757
|
-
this.
|
|
1758
|
-
this.
|
|
1759
|
-
this.
|
|
1760
|
-
this.
|
|
1761
|
-
this.
|
|
1762
|
-
this.
|
|
1763
|
-
}
|
|
1764
|
-
Rules.prototype.l2n = function () {
|
|
1765
|
-
return this.v2m_1;
|
|
1766
|
-
};
|
|
1767
|
-
Rules.prototype.m2n = function () {
|
|
1768
|
-
return this.w2m_1;
|
|
1769
|
-
};
|
|
1769
|
+
this.x2m_1 = needToPutHigherTrump;
|
|
1770
|
+
this.y2m_1 = distributePoints;
|
|
1771
|
+
this.z2m_1 = protectBella;
|
|
1772
|
+
this.a2n_1 = enableFourSevensCombination;
|
|
1773
|
+
this.b2n_1 = enableTrumpSevenCombination;
|
|
1774
|
+
this.c2n_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
1775
|
+
this.d2n_1 = playerWhoChooseSuitGoFirst;
|
|
1776
|
+
this.e2n_1 = winnerShuffleCards;
|
|
1777
|
+
this.f2n_1 = playWithoutLiabilities;
|
|
1778
|
+
this.g2n_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
1779
|
+
this.h2n_1 = enableFineIfNoBribes;
|
|
1780
|
+
this.i2n_1 = fineIfNoBribes;
|
|
1781
|
+
this.j2n_1 = enableFineAfterThirdByte;
|
|
1782
|
+
this.k2n_1 = checkTrumpCombination;
|
|
1783
|
+
this.l2n_1 = checkOnlyTrumpDebertz;
|
|
1784
|
+
this.m2n_1 = tenCardsInHand;
|
|
1785
|
+
}
|
|
1770
1786
|
Rules.prototype.n2n = function () {
|
|
1771
1787
|
return this.x2m_1;
|
|
1772
1788
|
};
|
|
@@ -1809,102 +1825,106 @@
|
|
|
1809
1825
|
Rules.prototype.a2o = function () {
|
|
1810
1826
|
return this.k2n_1;
|
|
1811
1827
|
};
|
|
1828
|
+
Rules.prototype.b2o = function () {
|
|
1829
|
+
return this.l2n_1;
|
|
1830
|
+
};
|
|
1831
|
+
Rules.prototype.c2o = function () {
|
|
1832
|
+
return this.m2n_1;
|
|
1833
|
+
};
|
|
1812
1834
|
Rules.prototype.component1 = function () {
|
|
1813
|
-
return this.
|
|
1835
|
+
return this.x2m_1;
|
|
1814
1836
|
};
|
|
1815
1837
|
Rules.prototype.component2 = function () {
|
|
1816
|
-
return this.
|
|
1838
|
+
return this.y2m_1;
|
|
1817
1839
|
};
|
|
1818
1840
|
Rules.prototype.component3 = function () {
|
|
1819
|
-
return this.
|
|
1841
|
+
return this.z2m_1;
|
|
1820
1842
|
};
|
|
1821
1843
|
Rules.prototype.component4 = function () {
|
|
1822
|
-
return this.
|
|
1844
|
+
return this.a2n_1;
|
|
1823
1845
|
};
|
|
1824
1846
|
Rules.prototype.component5 = function () {
|
|
1825
|
-
return this.
|
|
1847
|
+
return this.b2n_1;
|
|
1826
1848
|
};
|
|
1827
1849
|
Rules.prototype.component6 = function () {
|
|
1828
|
-
return this.
|
|
1850
|
+
return this.c2n_1;
|
|
1829
1851
|
};
|
|
1830
1852
|
Rules.prototype.component7 = function () {
|
|
1831
|
-
return this.
|
|
1853
|
+
return this.d2n_1;
|
|
1832
1854
|
};
|
|
1833
1855
|
Rules.prototype.component8 = function () {
|
|
1834
|
-
return this.
|
|
1856
|
+
return this.e2n_1;
|
|
1835
1857
|
};
|
|
1836
1858
|
Rules.prototype.component9 = function () {
|
|
1837
|
-
return this.
|
|
1859
|
+
return this.f2n_1;
|
|
1838
1860
|
};
|
|
1839
1861
|
Rules.prototype.component10 = function () {
|
|
1840
|
-
return this.
|
|
1862
|
+
return this.g2n_1;
|
|
1841
1863
|
};
|
|
1842
1864
|
Rules.prototype.component11 = function () {
|
|
1843
|
-
return this.
|
|
1865
|
+
return this.h2n_1;
|
|
1844
1866
|
};
|
|
1845
1867
|
Rules.prototype.component12 = function () {
|
|
1846
|
-
return this.
|
|
1868
|
+
return this.i2n_1;
|
|
1847
1869
|
};
|
|
1848
1870
|
Rules.prototype.component13 = function () {
|
|
1849
|
-
return this.
|
|
1871
|
+
return this.j2n_1;
|
|
1850
1872
|
};
|
|
1851
1873
|
Rules.prototype.component14 = function () {
|
|
1852
|
-
return this.
|
|
1874
|
+
return this.k2n_1;
|
|
1853
1875
|
};
|
|
1854
1876
|
Rules.prototype.component15 = function () {
|
|
1855
|
-
return this.
|
|
1877
|
+
return this.l2n_1;
|
|
1856
1878
|
};
|
|
1857
1879
|
Rules.prototype.component16 = function () {
|
|
1858
|
-
return this.
|
|
1880
|
+
return this.m2n_1;
|
|
1859
1881
|
};
|
|
1860
1882
|
Rules.prototype.copy = function (needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
1861
|
-
return this.
|
|
1883
|
+
return this.d2o(needToPutHigherTrump === void 1 ? this.x2m_1 : needToPutHigherTrump, distributePoints === void 1 ? this.y2m_1 : distributePoints, protectBella === void 1 ? this.z2m_1 : protectBella, enableFourSevensCombination === void 1 ? this.a2n_1 : enableFourSevensCombination, enableTrumpSevenCombination === void 1 ? this.b2n_1 : enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution === void 1 ? this.c2n_1 : enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst === void 1 ? this.d2n_1 : playerWhoChooseSuitGoFirst, winnerShuffleCards === void 1 ? this.e2n_1 : winnerShuffleCards, playWithoutLiabilities === void 1 ? this.f2n_1 : playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards === void 1 ? this.g2n_1 : trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes === void 1 ? this.h2n_1 : enableFineIfNoBribes, fineIfNoBribes === void 1 ? this.i2n_1 : fineIfNoBribes, enableFineAfterThirdByte === void 1 ? this.j2n_1 : enableFineAfterThirdByte, checkTrumpCombination === void 1 ? this.k2n_1 : checkTrumpCombination, checkOnlyTrumpDebertz === void 1 ? this.l2n_1 : checkOnlyTrumpDebertz, tenCardsInHand === void 1 ? this.m2n_1 : tenCardsInHand);
|
|
1862
1884
|
};
|
|
1863
|
-
Rules.prototype.
|
|
1885
|
+
Rules.prototype.d2o = function (needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
1864
1886
|
return new Rules(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
1865
1887
|
};
|
|
1866
|
-
Rules.prototype.
|
|
1888
|
+
Rules.prototype.e2o = function (needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $mask0, $handler) {
|
|
1867
1889
|
if (!(($mask0 & 1) === 0))
|
|
1868
|
-
needToPutHigherTrump = this.
|
|
1890
|
+
needToPutHigherTrump = this.x2m_1;
|
|
1869
1891
|
if (!(($mask0 & 2) === 0))
|
|
1870
|
-
distributePoints = this.
|
|
1892
|
+
distributePoints = this.y2m_1;
|
|
1871
1893
|
if (!(($mask0 & 4) === 0))
|
|
1872
|
-
protectBella = this.
|
|
1894
|
+
protectBella = this.z2m_1;
|
|
1873
1895
|
if (!(($mask0 & 8) === 0))
|
|
1874
|
-
enableFourSevensCombination = this.
|
|
1896
|
+
enableFourSevensCombination = this.a2n_1;
|
|
1875
1897
|
if (!(($mask0 & 16) === 0))
|
|
1876
|
-
enableTrumpSevenCombination = this.
|
|
1898
|
+
enableTrumpSevenCombination = this.b2n_1;
|
|
1877
1899
|
if (!(($mask0 & 32) === 0))
|
|
1878
|
-
enableTrumpSevenCombinationAfterDistribution = this.
|
|
1900
|
+
enableTrumpSevenCombinationAfterDistribution = this.c2n_1;
|
|
1879
1901
|
if (!(($mask0 & 64) === 0))
|
|
1880
|
-
playerWhoChooseSuitGoFirst = this.
|
|
1902
|
+
playerWhoChooseSuitGoFirst = this.d2n_1;
|
|
1881
1903
|
if (!(($mask0 & 128) === 0))
|
|
1882
|
-
winnerShuffleCards = this.
|
|
1904
|
+
winnerShuffleCards = this.e2n_1;
|
|
1883
1905
|
if (!(($mask0 & 256) === 0))
|
|
1884
|
-
playWithoutLiabilities = this.
|
|
1906
|
+
playWithoutLiabilities = this.f2n_1;
|
|
1885
1907
|
if (!(($mask0 & 512) === 0))
|
|
1886
|
-
trumpCardGoToPlayerWhoShuffleCards = this.
|
|
1908
|
+
trumpCardGoToPlayerWhoShuffleCards = this.g2n_1;
|
|
1887
1909
|
if (!(($mask0 & 1024) === 0))
|
|
1888
|
-
enableFineIfNoBribes = this.
|
|
1910
|
+
enableFineIfNoBribes = this.h2n_1;
|
|
1889
1911
|
if (!(($mask0 & 2048) === 0))
|
|
1890
|
-
fineIfNoBribes = this.
|
|
1912
|
+
fineIfNoBribes = this.i2n_1;
|
|
1891
1913
|
if (!(($mask0 & 4096) === 0))
|
|
1892
|
-
enableFineAfterThirdByte = this.
|
|
1914
|
+
enableFineAfterThirdByte = this.j2n_1;
|
|
1893
1915
|
if (!(($mask0 & 8192) === 0))
|
|
1894
|
-
checkTrumpCombination = this.
|
|
1916
|
+
checkTrumpCombination = this.k2n_1;
|
|
1895
1917
|
if (!(($mask0 & 16384) === 0))
|
|
1896
|
-
checkOnlyTrumpDebertz = this.
|
|
1918
|
+
checkOnlyTrumpDebertz = this.l2n_1;
|
|
1897
1919
|
if (!(($mask0 & 32768) === 0))
|
|
1898
|
-
tenCardsInHand = this.
|
|
1899
|
-
return this.
|
|
1920
|
+
tenCardsInHand = this.m2n_1;
|
|
1921
|
+
return this.d2o(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
1900
1922
|
};
|
|
1901
1923
|
Rules.prototype.toString = function () {
|
|
1902
|
-
return 'Rules(needToPutHigherTrump=' + this.
|
|
1924
|
+
return 'Rules(needToPutHigherTrump=' + this.x2m_1 + ', distributePoints=' + this.y2m_1 + ', protectBella=' + this.z2m_1 + ', enableFourSevensCombination=' + this.a2n_1 + ', enableTrumpSevenCombination=' + this.b2n_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.c2n_1 + ', playerWhoChooseSuitGoFirst=' + this.d2n_1 + ', winnerShuffleCards=' + this.e2n_1 + ', playWithoutLiabilities=' + this.f2n_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.g2n_1 + ', enableFineIfNoBribes=' + this.h2n_1 + ', fineIfNoBribes=' + this.i2n_1 + ', enableFineAfterThirdByte=' + this.j2n_1 + ', checkTrumpCombination=' + this.k2n_1 + ', checkOnlyTrumpDebertz=' + this.l2n_1 + ', tenCardsInHand=' + this.m2n_1 + ')';
|
|
1903
1925
|
};
|
|
1904
1926
|
Rules.prototype.hashCode = function () {
|
|
1905
|
-
var result = this.
|
|
1906
|
-
result = imul(result, 31) + (this.w2m_1 | 0) | 0;
|
|
1907
|
-
result = imul(result, 31) + (this.x2m_1 | 0) | 0;
|
|
1927
|
+
var result = this.x2m_1 | 0;
|
|
1908
1928
|
result = imul(result, 31) + (this.y2m_1 | 0) | 0;
|
|
1909
1929
|
result = imul(result, 31) + (this.z2m_1 | 0) | 0;
|
|
1910
1930
|
result = imul(result, 31) + (this.a2n_1 | 0) | 0;
|
|
@@ -1913,11 +1933,13 @@
|
|
|
1913
1933
|
result = imul(result, 31) + (this.d2n_1 | 0) | 0;
|
|
1914
1934
|
result = imul(result, 31) + (this.e2n_1 | 0) | 0;
|
|
1915
1935
|
result = imul(result, 31) + (this.f2n_1 | 0) | 0;
|
|
1916
|
-
result = imul(result, 31) + this.g2n_1 | 0;
|
|
1936
|
+
result = imul(result, 31) + (this.g2n_1 | 0) | 0;
|
|
1917
1937
|
result = imul(result, 31) + (this.h2n_1 | 0) | 0;
|
|
1918
|
-
result = imul(result, 31) +
|
|
1938
|
+
result = imul(result, 31) + this.i2n_1 | 0;
|
|
1919
1939
|
result = imul(result, 31) + (this.j2n_1 | 0) | 0;
|
|
1920
1940
|
result = imul(result, 31) + (this.k2n_1 | 0) | 0;
|
|
1941
|
+
result = imul(result, 31) + (this.l2n_1 | 0) | 0;
|
|
1942
|
+
result = imul(result, 31) + (this.m2n_1 | 0) | 0;
|
|
1921
1943
|
return result;
|
|
1922
1944
|
};
|
|
1923
1945
|
Rules.prototype.equals = function (other) {
|
|
@@ -1926,10 +1948,6 @@
|
|
|
1926
1948
|
if (!(other instanceof Rules))
|
|
1927
1949
|
return false;
|
|
1928
1950
|
var tmp0_other_with_cast = other instanceof Rules ? other : THROW_CCE();
|
|
1929
|
-
if (!(this.v2m_1 === tmp0_other_with_cast.v2m_1))
|
|
1930
|
-
return false;
|
|
1931
|
-
if (!(this.w2m_1 === tmp0_other_with_cast.w2m_1))
|
|
1932
|
-
return false;
|
|
1933
1951
|
if (!(this.x2m_1 === tmp0_other_with_cast.x2m_1))
|
|
1934
1952
|
return false;
|
|
1935
1953
|
if (!(this.y2m_1 === tmp0_other_with_cast.y2m_1))
|
|
@@ -1958,72 +1976,76 @@
|
|
|
1958
1976
|
return false;
|
|
1959
1977
|
if (!(this.k2n_1 === tmp0_other_with_cast.k2n_1))
|
|
1960
1978
|
return false;
|
|
1979
|
+
if (!(this.l2n_1 === tmp0_other_with_cast.l2n_1))
|
|
1980
|
+
return false;
|
|
1981
|
+
if (!(this.m2n_1 === tmp0_other_with_cast.m2n_1))
|
|
1982
|
+
return false;
|
|
1961
1983
|
return true;
|
|
1962
1984
|
};
|
|
1963
1985
|
Rules.$metadata$ = classMeta('Rules');
|
|
1964
1986
|
Object.defineProperty(Rules.prototype, 'needToPutHigherTrump', {
|
|
1965
1987
|
configurable: true,
|
|
1966
|
-
get: Rules.prototype.
|
|
1988
|
+
get: Rules.prototype.n2n
|
|
1967
1989
|
});
|
|
1968
1990
|
Object.defineProperty(Rules.prototype, 'distributePoints', {
|
|
1969
1991
|
configurable: true,
|
|
1970
|
-
get: Rules.prototype.
|
|
1992
|
+
get: Rules.prototype.o2n
|
|
1971
1993
|
});
|
|
1972
1994
|
Object.defineProperty(Rules.prototype, 'protectBella', {
|
|
1973
1995
|
configurable: true,
|
|
1974
|
-
get: Rules.prototype.
|
|
1996
|
+
get: Rules.prototype.p2n
|
|
1975
1997
|
});
|
|
1976
1998
|
Object.defineProperty(Rules.prototype, 'enableFourSevensCombination', {
|
|
1977
1999
|
configurable: true,
|
|
1978
|
-
get: Rules.prototype.
|
|
2000
|
+
get: Rules.prototype.q2n
|
|
1979
2001
|
});
|
|
1980
2002
|
Object.defineProperty(Rules.prototype, 'enableTrumpSevenCombination', {
|
|
1981
2003
|
configurable: true,
|
|
1982
|
-
get: Rules.prototype.
|
|
2004
|
+
get: Rules.prototype.r2n
|
|
1983
2005
|
});
|
|
1984
2006
|
Object.defineProperty(Rules.prototype, 'enableTrumpSevenCombinationAfterDistribution', {
|
|
1985
2007
|
configurable: true,
|
|
1986
|
-
get: Rules.prototype.
|
|
2008
|
+
get: Rules.prototype.s2n
|
|
1987
2009
|
});
|
|
1988
2010
|
Object.defineProperty(Rules.prototype, 'playerWhoChooseSuitGoFirst', {
|
|
1989
2011
|
configurable: true,
|
|
1990
|
-
get: Rules.prototype.
|
|
2012
|
+
get: Rules.prototype.t2n
|
|
1991
2013
|
});
|
|
1992
2014
|
Object.defineProperty(Rules.prototype, 'winnerShuffleCards', {
|
|
1993
2015
|
configurable: true,
|
|
1994
|
-
get: Rules.prototype.
|
|
2016
|
+
get: Rules.prototype.u2n
|
|
1995
2017
|
});
|
|
1996
2018
|
Object.defineProperty(Rules.prototype, 'playWithoutLiabilities', {
|
|
1997
2019
|
configurable: true,
|
|
1998
|
-
get: Rules.prototype.
|
|
2020
|
+
get: Rules.prototype.v2n
|
|
1999
2021
|
});
|
|
2000
2022
|
Object.defineProperty(Rules.prototype, 'trumpCardGoToPlayerWhoShuffleCards', {
|
|
2001
2023
|
configurable: true,
|
|
2002
|
-
get: Rules.prototype.
|
|
2024
|
+
get: Rules.prototype.w2n
|
|
2003
2025
|
});
|
|
2004
2026
|
Object.defineProperty(Rules.prototype, 'enableFineIfNoBribes', {
|
|
2005
2027
|
configurable: true,
|
|
2006
|
-
get: Rules.prototype.
|
|
2028
|
+
get: Rules.prototype.x2n
|
|
2007
2029
|
});
|
|
2008
2030
|
Object.defineProperty(Rules.prototype, 'fineIfNoBribes', {
|
|
2009
2031
|
configurable: true,
|
|
2010
|
-
get: Rules.prototype.
|
|
2032
|
+
get: Rules.prototype.y2n
|
|
2011
2033
|
});
|
|
2012
2034
|
Object.defineProperty(Rules.prototype, 'enableFineAfterThirdByte', {
|
|
2013
2035
|
configurable: true,
|
|
2014
|
-
get: Rules.prototype.
|
|
2036
|
+
get: Rules.prototype.z2n
|
|
2015
2037
|
});
|
|
2016
2038
|
Object.defineProperty(Rules.prototype, 'checkTrumpCombination', {
|
|
2017
2039
|
configurable: true,
|
|
2018
|
-
get: Rules.prototype.
|
|
2040
|
+
get: Rules.prototype.a2o
|
|
2019
2041
|
});
|
|
2020
2042
|
Object.defineProperty(Rules.prototype, 'checkOnlyTrumpDebertz', {
|
|
2021
2043
|
configurable: true,
|
|
2022
|
-
get: Rules.prototype.
|
|
2044
|
+
get: Rules.prototype.b2o
|
|
2023
2045
|
});
|
|
2024
2046
|
Object.defineProperty(Rules.prototype, 'tenCardsInHand', {
|
|
2025
2047
|
configurable: true,
|
|
2026
|
-
get: Rules.prototype.
|
|
2048
|
+
get: Rules.prototype.c2o
|
|
2027
2049
|
});
|
|
2028
2050
|
var RulesSetType_belot_instance;
|
|
2029
2051
|
var RulesSetType_klabor_instance;
|
|
@@ -2095,38 +2117,54 @@
|
|
|
2095
2117
|
return RulesSetType_custom_instance;
|
|
2096
2118
|
}
|
|
2097
2119
|
function mapToDto(_this__u8e3s4) {
|
|
2098
|
-
return _this__u8e3s4.
|
|
2120
|
+
return _this__u8e3s4.h2o_1;
|
|
2099
2121
|
}
|
|
2100
2122
|
function mapFromDto(_this__u8e3s4) {
|
|
2101
2123
|
return new GameCard(_this__u8e3s4);
|
|
2102
2124
|
}
|
|
2103
2125
|
function mapToDto_0(_this__u8e3s4) {
|
|
2104
|
-
return _this__u8e3s4.h2o_1
|
|
2126
|
+
return _this__u8e3s4.j2o_1.h2o_1;
|
|
2105
2127
|
}
|
|
2106
2128
|
function mapToDto_1(_this__u8e3s4) {
|
|
2107
|
-
return new RulesDto(_this__u8e3s4.
|
|
2129
|
+
return new RulesDto(_this__u8e3s4.x2m_1, _this__u8e3s4.y2m_1, _this__u8e3s4.z2m_1, _this__u8e3s4.a2n_1, _this__u8e3s4.b2n_1, _this__u8e3s4.c2n_1, _this__u8e3s4.d2n_1, _this__u8e3s4.e2n_1, _this__u8e3s4.f2n_1, _this__u8e3s4.g2n_1, _this__u8e3s4.h2n_1, _this__u8e3s4.i2n_1, _this__u8e3s4.j2n_1, _this__u8e3s4.k2n_1, _this__u8e3s4.l2n_1, _this__u8e3s4.m2n_1);
|
|
2108
2130
|
}
|
|
2109
2131
|
function mapFromDto_0(_this__u8e3s4) {
|
|
2110
|
-
return new Rules(_this__u8e3s4.
|
|
2132
|
+
return new Rules(_this__u8e3s4.k2o_1, _this__u8e3s4.l2o_1, _this__u8e3s4.m2o_1, _this__u8e3s4.n2o_1, _this__u8e3s4.o2o_1, _this__u8e3s4.p2o_1, _this__u8e3s4.q2o_1, _this__u8e3s4.r2o_1, _this__u8e3s4.s2o_1, _this__u8e3s4.t2o_1, _this__u8e3s4.u2o_1, _this__u8e3s4.v2o_1, _this__u8e3s4.w2o_1, _this__u8e3s4.x2o_1, _this__u8e3s4.y2o_1, _this__u8e3s4.z2o_1);
|
|
2111
2133
|
}
|
|
2112
2134
|
function mapToDto_2(_this__u8e3s4) {
|
|
2113
|
-
|
|
2135
|
+
var tmp$ret$1;
|
|
2136
|
+
// Inline function 'kotlin.takeIf' call
|
|
2137
|
+
var tmp0_takeIf = _this__u8e3s4.l2l_1;
|
|
2138
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
2139
|
+
var tmp;
|
|
2140
|
+
var tmp$ret$0;
|
|
2141
|
+
// Inline function 'com.logic.data.models.serializable.mappers.mapToDto.<anonymous>' call
|
|
2142
|
+
tmp$ret$0 = tmp0_takeIf;
|
|
2143
|
+
if (tmp$ret$0) {
|
|
2144
|
+
tmp = tmp0_takeIf;
|
|
2145
|
+
} else {
|
|
2146
|
+
tmp = null;
|
|
2147
|
+
}
|
|
2148
|
+
tmp$ret$1 = tmp;
|
|
2149
|
+
return new GameUserInfoDto(_this__u8e3s4.i2l_1, _this__u8e3s4.j2l_1, _this__u8e3s4.k2l_1, tmp$ret$1);
|
|
2114
2150
|
}
|
|
2115
2151
|
function mapFromDto_1(_this__u8e3s4) {
|
|
2116
|
-
|
|
2152
|
+
var tmp0_elvis_lhs = _this__u8e3s4.d2p_1;
|
|
2153
|
+
var tmp = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
2154
|
+
return GameUserInfo_init_$Create$(_this__u8e3s4.a2p_1, _this__u8e3s4.b2p_1, _this__u8e3s4.c2p_1, tmp, null, 16, null);
|
|
2117
2155
|
}
|
|
2118
2156
|
function mapToDto_3(_this__u8e3s4) {
|
|
2119
|
-
var tmp0_startFromTime = _this__u8e3s4.
|
|
2120
|
-
var tmp1_state = _this__u8e3s4.
|
|
2121
|
-
var tmp2_tag = _this__u8e3s4.
|
|
2122
|
-
var tmp3_ready = _this__u8e3s4.
|
|
2157
|
+
var tmp0_startFromTime = _this__u8e3s4.s2l_1;
|
|
2158
|
+
var tmp1_state = _this__u8e3s4.t2l_1;
|
|
2159
|
+
var tmp2_tag = _this__u8e3s4.w2l_1;
|
|
2160
|
+
var tmp3_ready = _this__u8e3s4.u2l_1;
|
|
2123
2161
|
return new PlayerStateDto(tmp0_startFromTime, tmp1_state, tmp3_ready, tmp2_tag);
|
|
2124
2162
|
}
|
|
2125
2163
|
function mapFromDto_2(_this__u8e3s4, connectionState) {
|
|
2126
|
-
var tmp0_startFromTime = _this__u8e3s4.
|
|
2127
|
-
var tmp1_state = _this__u8e3s4.
|
|
2128
|
-
var tmp2_tag = _this__u8e3s4.
|
|
2129
|
-
var tmp3_ready = _this__u8e3s4.
|
|
2164
|
+
var tmp0_startFromTime = _this__u8e3s4.e2p_1;
|
|
2165
|
+
var tmp1_state = _this__u8e3s4.f2p_1;
|
|
2166
|
+
var tmp2_tag = _this__u8e3s4.h2p_1;
|
|
2167
|
+
var tmp3_ready = _this__u8e3s4.g2p_1;
|
|
2130
2168
|
return new PlayerState(tmp0_startFromTime, tmp1_state, tmp3_ready, connectionState, tmp2_tag);
|
|
2131
2169
|
}
|
|
2132
2170
|
function Companion_10() {
|
|
@@ -2141,19 +2179,20 @@
|
|
|
2141
2179
|
}
|
|
2142
2180
|
function $serializer_4() {
|
|
2143
2181
|
$serializer_instance_4 = this;
|
|
2144
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.GameUserInfoDto', this,
|
|
2182
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.GameUserInfoDto', this, 4);
|
|
2145
2183
|
tmp0_serialDesc.v1s('playerId', false);
|
|
2146
2184
|
tmp0_serialDesc.v1s('name', false);
|
|
2147
2185
|
tmp0_serialDesc.v1s('avatarUrl', false);
|
|
2148
|
-
|
|
2186
|
+
tmp0_serialDesc.v1s('isBot', true);
|
|
2187
|
+
this.i2p_1 = tmp0_serialDesc;
|
|
2149
2188
|
}
|
|
2150
2189
|
$serializer_4.prototype.i1i = function () {
|
|
2151
|
-
return this.
|
|
2190
|
+
return this.i2p_1;
|
|
2152
2191
|
};
|
|
2153
2192
|
$serializer_4.prototype.k1t = function () {
|
|
2154
2193
|
var tmp$ret$2;
|
|
2155
2194
|
// Inline function 'kotlin.arrayOf' call
|
|
2156
|
-
var tmp0_arrayOf = [StringSerializer_getInstance(), StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
2195
|
+
var tmp0_arrayOf = [StringSerializer_getInstance(), StringSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance())];
|
|
2157
2196
|
var tmp$ret$1;
|
|
2158
2197
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2159
2198
|
var tmp$ret$0;
|
|
@@ -2164,57 +2203,67 @@
|
|
|
2164
2203
|
return tmp$ret$2;
|
|
2165
2204
|
};
|
|
2166
2205
|
$serializer_4.prototype.k1i = function (decoder) {
|
|
2167
|
-
var tmp0_desc = this.
|
|
2206
|
+
var tmp0_desc = this.i2p_1;
|
|
2168
2207
|
var tmp1_flag = true;
|
|
2169
2208
|
var tmp2_index = 0;
|
|
2170
2209
|
var tmp3_bitMask0 = 0;
|
|
2171
2210
|
var tmp4_local0 = null;
|
|
2172
2211
|
var tmp5_local1 = null;
|
|
2173
2212
|
var tmp6_local2 = null;
|
|
2174
|
-
var
|
|
2175
|
-
|
|
2176
|
-
|
|
2213
|
+
var tmp7_local3 = null;
|
|
2214
|
+
var tmp8_input = decoder.q1l(tmp0_desc);
|
|
2215
|
+
if (tmp8_input.f1m()) {
|
|
2216
|
+
tmp4_local0 = tmp8_input.a1m(tmp0_desc, 0);
|
|
2177
2217
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2178
|
-
tmp5_local1 =
|
|
2218
|
+
tmp5_local1 = tmp8_input.a1m(tmp0_desc, 1);
|
|
2179
2219
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2180
|
-
tmp6_local2 =
|
|
2220
|
+
tmp6_local2 = tmp8_input.a1m(tmp0_desc, 2);
|
|
2181
2221
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2222
|
+
tmp7_local3 = tmp8_input.e1m(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
2223
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2182
2224
|
} else
|
|
2183
2225
|
while (tmp1_flag) {
|
|
2184
|
-
tmp2_index =
|
|
2226
|
+
tmp2_index = tmp8_input.g1m(tmp0_desc);
|
|
2185
2227
|
switch (tmp2_index) {
|
|
2186
2228
|
case -1:
|
|
2187
2229
|
tmp1_flag = false;
|
|
2188
2230
|
break;
|
|
2189
2231
|
case 0:
|
|
2190
|
-
tmp4_local0 =
|
|
2232
|
+
tmp4_local0 = tmp8_input.a1m(tmp0_desc, 0);
|
|
2191
2233
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2192
2234
|
break;
|
|
2193
2235
|
case 1:
|
|
2194
|
-
tmp5_local1 =
|
|
2236
|
+
tmp5_local1 = tmp8_input.a1m(tmp0_desc, 1);
|
|
2195
2237
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2196
2238
|
break;
|
|
2197
2239
|
case 2:
|
|
2198
|
-
tmp6_local2 =
|
|
2240
|
+
tmp6_local2 = tmp8_input.a1m(tmp0_desc, 2);
|
|
2199
2241
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2200
2242
|
break;
|
|
2243
|
+
case 3:
|
|
2244
|
+
tmp7_local3 = tmp8_input.e1m(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
2245
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2246
|
+
break;
|
|
2201
2247
|
default:
|
|
2202
2248
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2203
2249
|
}
|
|
2204
2250
|
}
|
|
2205
|
-
|
|
2206
|
-
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2251
|
+
tmp8_input.r1l(tmp0_desc);
|
|
2252
|
+
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
2207
2253
|
};
|
|
2208
|
-
$serializer_4.prototype.
|
|
2209
|
-
var tmp0_desc = this.
|
|
2254
|
+
$serializer_4.prototype.j2p = function (encoder, value) {
|
|
2255
|
+
var tmp0_desc = this.i2p_1;
|
|
2210
2256
|
var tmp1_output = encoder.q1l(tmp0_desc);
|
|
2211
|
-
tmp1_output.e1n(tmp0_desc, 0, value.
|
|
2212
|
-
tmp1_output.e1n(tmp0_desc, 1, value.
|
|
2213
|
-
tmp1_output.e1n(tmp0_desc, 2, value.
|
|
2257
|
+
tmp1_output.e1n(tmp0_desc, 0, value.a2p_1);
|
|
2258
|
+
tmp1_output.e1n(tmp0_desc, 1, value.b2p_1);
|
|
2259
|
+
tmp1_output.e1n(tmp0_desc, 2, value.c2p_1);
|
|
2260
|
+
if (tmp1_output.m1n(tmp0_desc, 3) ? true : !(value.d2p_1 === false)) {
|
|
2261
|
+
tmp1_output.i1n(tmp0_desc, 3, BooleanSerializer_getInstance(), value.d2p_1);
|
|
2262
|
+
}
|
|
2214
2263
|
tmp1_output.r1l(tmp0_desc);
|
|
2215
2264
|
};
|
|
2216
2265
|
$serializer_4.prototype.j1i = function (encoder, value) {
|
|
2217
|
-
return this.
|
|
2266
|
+
return this.j2p(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2218
2267
|
};
|
|
2219
2268
|
$serializer_4.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
2220
2269
|
var $serializer_instance_4;
|
|
@@ -2223,31 +2272,37 @@
|
|
|
2223
2272
|
new $serializer_4();
|
|
2224
2273
|
return $serializer_instance_4;
|
|
2225
2274
|
}
|
|
2226
|
-
function GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, serializationConstructorMarker, $this) {
|
|
2275
|
+
function GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, isBot, serializationConstructorMarker, $this) {
|
|
2227
2276
|
if (!(7 === (7 & seen1))) {
|
|
2228
|
-
throwMissingFieldException(seen1, 7, $serializer_getInstance_4().
|
|
2277
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_4().i2p_1);
|
|
2229
2278
|
}
|
|
2230
|
-
$this.
|
|
2231
|
-
$this.
|
|
2232
|
-
$this.
|
|
2279
|
+
$this.a2p_1 = playerId;
|
|
2280
|
+
$this.b2p_1 = name;
|
|
2281
|
+
$this.c2p_1 = avatarUrl;
|
|
2282
|
+
if (0 === (seen1 & 8))
|
|
2283
|
+
$this.d2p_1 = false;
|
|
2284
|
+
else
|
|
2285
|
+
$this.d2p_1 = isBot;
|
|
2233
2286
|
return $this;
|
|
2234
2287
|
}
|
|
2235
|
-
function GameUserInfoDto_init_$Create$(seen1, playerId, name, avatarUrl, serializationConstructorMarker) {
|
|
2236
|
-
return GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, serializationConstructorMarker, Object.create(GameUserInfoDto.prototype));
|
|
2288
|
+
function GameUserInfoDto_init_$Create$(seen1, playerId, name, avatarUrl, isBot, serializationConstructorMarker) {
|
|
2289
|
+
return GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, isBot, serializationConstructorMarker, Object.create(GameUserInfoDto.prototype));
|
|
2237
2290
|
}
|
|
2238
|
-
function GameUserInfoDto(playerId, name, avatarUrl) {
|
|
2291
|
+
function GameUserInfoDto(playerId, name, avatarUrl, isBot) {
|
|
2239
2292
|
Companion_getInstance_10();
|
|
2240
|
-
this.
|
|
2241
|
-
this.
|
|
2242
|
-
this.
|
|
2293
|
+
this.a2p_1 = playerId;
|
|
2294
|
+
this.b2p_1 = name;
|
|
2295
|
+
this.c2p_1 = avatarUrl;
|
|
2296
|
+
this.d2p_1 = isBot;
|
|
2243
2297
|
}
|
|
2244
2298
|
GameUserInfoDto.prototype.toString = function () {
|
|
2245
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
2299
|
+
return 'GameUserInfoDto(playerId=' + this.a2p_1 + ', name=' + this.b2p_1 + ', avatarUrl=' + this.c2p_1 + ', isBot=' + this.d2p_1 + ')';
|
|
2246
2300
|
};
|
|
2247
2301
|
GameUserInfoDto.prototype.hashCode = function () {
|
|
2248
|
-
var result = getStringHashCode(this.
|
|
2249
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2250
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2302
|
+
var result = getStringHashCode(this.a2p_1);
|
|
2303
|
+
result = imul(result, 31) + getStringHashCode(this.b2p_1) | 0;
|
|
2304
|
+
result = imul(result, 31) + getStringHashCode(this.c2p_1) | 0;
|
|
2305
|
+
result = imul(result, 31) + (this.d2p_1 == null ? 0 : this.d2p_1 | 0) | 0;
|
|
2251
2306
|
return result;
|
|
2252
2307
|
};
|
|
2253
2308
|
GameUserInfoDto.prototype.equals = function (other) {
|
|
@@ -2256,11 +2311,13 @@
|
|
|
2256
2311
|
if (!(other instanceof GameUserInfoDto))
|
|
2257
2312
|
return false;
|
|
2258
2313
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
2259
|
-
if (!(this.
|
|
2314
|
+
if (!(this.a2p_1 === tmp0_other_with_cast.a2p_1))
|
|
2260
2315
|
return false;
|
|
2261
|
-
if (!(this.
|
|
2316
|
+
if (!(this.b2p_1 === tmp0_other_with_cast.b2p_1))
|
|
2262
2317
|
return false;
|
|
2263
|
-
if (!(this.
|
|
2318
|
+
if (!(this.c2p_1 === tmp0_other_with_cast.c2p_1))
|
|
2319
|
+
return false;
|
|
2320
|
+
if (!(this.d2p_1 == tmp0_other_with_cast.d2p_1))
|
|
2264
2321
|
return false;
|
|
2265
2322
|
return true;
|
|
2266
2323
|
};
|
|
@@ -2282,10 +2339,10 @@
|
|
|
2282
2339
|
tmp0_serialDesc.v1s('state', false);
|
|
2283
2340
|
tmp0_serialDesc.v1s('ready', false);
|
|
2284
2341
|
tmp0_serialDesc.v1s('tag', true);
|
|
2285
|
-
this.
|
|
2342
|
+
this.k2p_1 = tmp0_serialDesc;
|
|
2286
2343
|
}
|
|
2287
2344
|
$serializer_5.prototype.i1i = function () {
|
|
2288
|
-
return this.
|
|
2345
|
+
return this.k2p_1;
|
|
2289
2346
|
};
|
|
2290
2347
|
$serializer_5.prototype.k1t = function () {
|
|
2291
2348
|
var tmp$ret$2;
|
|
@@ -2301,7 +2358,7 @@
|
|
|
2301
2358
|
return tmp$ret$2;
|
|
2302
2359
|
};
|
|
2303
2360
|
$serializer_5.prototype.k1i = function (decoder) {
|
|
2304
|
-
var tmp0_desc = this.
|
|
2361
|
+
var tmp0_desc = this.k2p_1;
|
|
2305
2362
|
var tmp1_flag = true;
|
|
2306
2363
|
var tmp2_index = 0;
|
|
2307
2364
|
var tmp3_bitMask0 = 0;
|
|
@@ -2349,19 +2406,19 @@
|
|
|
2349
2406
|
tmp8_input.r1l(tmp0_desc);
|
|
2350
2407
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
2351
2408
|
};
|
|
2352
|
-
$serializer_5.prototype.
|
|
2353
|
-
var tmp0_desc = this.
|
|
2409
|
+
$serializer_5.prototype.l2p = function (encoder, value) {
|
|
2410
|
+
var tmp0_desc = this.k2p_1;
|
|
2354
2411
|
var tmp1_output = encoder.q1l(tmp0_desc);
|
|
2355
|
-
tmp1_output.a1n(tmp0_desc, 0, value.
|
|
2356
|
-
tmp1_output.g1n(tmp0_desc, 1, Companion_getInstance_7().d25(), value.
|
|
2357
|
-
tmp1_output.w1m(tmp0_desc, 2, value.
|
|
2358
|
-
if (tmp1_output.m1n(tmp0_desc, 3) ? true : !(value.
|
|
2359
|
-
tmp1_output.i1n(tmp0_desc, 3, StringSerializer_getInstance(), value.
|
|
2412
|
+
tmp1_output.a1n(tmp0_desc, 0, value.e2p_1);
|
|
2413
|
+
tmp1_output.g1n(tmp0_desc, 1, Companion_getInstance_7().d25(), value.f2p_1);
|
|
2414
|
+
tmp1_output.w1m(tmp0_desc, 2, value.g2p_1);
|
|
2415
|
+
if (tmp1_output.m1n(tmp0_desc, 3) ? true : !(value.h2p_1 == null)) {
|
|
2416
|
+
tmp1_output.i1n(tmp0_desc, 3, StringSerializer_getInstance(), value.h2p_1);
|
|
2360
2417
|
}
|
|
2361
2418
|
tmp1_output.r1l(tmp0_desc);
|
|
2362
2419
|
};
|
|
2363
2420
|
$serializer_5.prototype.j1i = function (encoder, value) {
|
|
2364
|
-
return this.
|
|
2421
|
+
return this.l2p(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
2365
2422
|
};
|
|
2366
2423
|
$serializer_5.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
2367
2424
|
var $serializer_instance_5;
|
|
@@ -2372,15 +2429,15 @@
|
|
|
2372
2429
|
}
|
|
2373
2430
|
function PlayerStateDto_init_$Init$(seen1, startFromTime, state, ready, tag, serializationConstructorMarker, $this) {
|
|
2374
2431
|
if (!(7 === (7 & seen1))) {
|
|
2375
|
-
throwMissingFieldException(seen1, 7, $serializer_getInstance_5().
|
|
2432
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_5().k2p_1);
|
|
2376
2433
|
}
|
|
2377
|
-
$this.
|
|
2378
|
-
$this.
|
|
2379
|
-
$this.
|
|
2434
|
+
$this.e2p_1 = startFromTime;
|
|
2435
|
+
$this.f2p_1 = state;
|
|
2436
|
+
$this.g2p_1 = ready;
|
|
2380
2437
|
if (0 === (seen1 & 8))
|
|
2381
|
-
$this.
|
|
2438
|
+
$this.h2p_1 = null;
|
|
2382
2439
|
else
|
|
2383
|
-
$this.
|
|
2440
|
+
$this.h2p_1 = tag;
|
|
2384
2441
|
return $this;
|
|
2385
2442
|
}
|
|
2386
2443
|
function PlayerStateDto_init_$Create$(seen1, startFromTime, state, ready, tag, serializationConstructorMarker) {
|
|
@@ -2388,19 +2445,19 @@
|
|
|
2388
2445
|
}
|
|
2389
2446
|
function PlayerStateDto(startFromTime, state, ready, tag) {
|
|
2390
2447
|
Companion_getInstance_11();
|
|
2391
|
-
this.
|
|
2392
|
-
this.
|
|
2393
|
-
this.
|
|
2394
|
-
this.
|
|
2448
|
+
this.e2p_1 = startFromTime;
|
|
2449
|
+
this.f2p_1 = state;
|
|
2450
|
+
this.g2p_1 = ready;
|
|
2451
|
+
this.h2p_1 = tag;
|
|
2395
2452
|
}
|
|
2396
2453
|
PlayerStateDto.prototype.toString = function () {
|
|
2397
|
-
return 'PlayerStateDto(startFromTime=' + toString_0(this.
|
|
2454
|
+
return 'PlayerStateDto(startFromTime=' + toString_0(this.e2p_1) + ', state=' + this.f2p_1 + ', ready=' + this.g2p_1 + ', tag=' + this.h2p_1 + ')';
|
|
2398
2455
|
};
|
|
2399
2456
|
PlayerStateDto.prototype.hashCode = function () {
|
|
2400
|
-
var result = this.
|
|
2401
|
-
result = imul(result, 31) + this.
|
|
2402
|
-
result = imul(result, 31) + (this.
|
|
2403
|
-
result = imul(result, 31) + (this.
|
|
2457
|
+
var result = this.e2p_1.hashCode();
|
|
2458
|
+
result = imul(result, 31) + this.f2p_1.hashCode() | 0;
|
|
2459
|
+
result = imul(result, 31) + (this.g2p_1 | 0) | 0;
|
|
2460
|
+
result = imul(result, 31) + (this.h2p_1 == null ? 0 : getStringHashCode(this.h2p_1)) | 0;
|
|
2404
2461
|
return result;
|
|
2405
2462
|
};
|
|
2406
2463
|
PlayerStateDto.prototype.equals = function (other) {
|
|
@@ -2409,13 +2466,13 @@
|
|
|
2409
2466
|
if (!(other instanceof PlayerStateDto))
|
|
2410
2467
|
return false;
|
|
2411
2468
|
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
2412
|
-
if (!this.
|
|
2469
|
+
if (!this.e2p_1.equals(tmp0_other_with_cast.e2p_1))
|
|
2413
2470
|
return false;
|
|
2414
|
-
if (!this.
|
|
2471
|
+
if (!this.f2p_1.equals(tmp0_other_with_cast.f2p_1))
|
|
2415
2472
|
return false;
|
|
2416
|
-
if (!(this.
|
|
2473
|
+
if (!(this.g2p_1 === tmp0_other_with_cast.g2p_1))
|
|
2417
2474
|
return false;
|
|
2418
|
-
if (!(this.
|
|
2475
|
+
if (!(this.h2p_1 == tmp0_other_with_cast.h2p_1))
|
|
2419
2476
|
return false;
|
|
2420
2477
|
return true;
|
|
2421
2478
|
};
|
|
@@ -2449,10 +2506,10 @@
|
|
|
2449
2506
|
tmp0_serialDesc.v1s('checkTrumpCombination', false);
|
|
2450
2507
|
tmp0_serialDesc.v1s('checkOnlyTrumpDebertz', false);
|
|
2451
2508
|
tmp0_serialDesc.v1s('tenCardsInHand', false);
|
|
2452
|
-
this.
|
|
2509
|
+
this.m2p_1 = tmp0_serialDesc;
|
|
2453
2510
|
}
|
|
2454
2511
|
$serializer_6.prototype.i1i = function () {
|
|
2455
|
-
return this.
|
|
2512
|
+
return this.m2p_1;
|
|
2456
2513
|
};
|
|
2457
2514
|
$serializer_6.prototype.k1t = function () {
|
|
2458
2515
|
var tmp$ret$2;
|
|
@@ -2468,7 +2525,7 @@
|
|
|
2468
2525
|
return tmp$ret$2;
|
|
2469
2526
|
};
|
|
2470
2527
|
$serializer_6.prototype.k1i = function (decoder) {
|
|
2471
|
-
var tmp0_desc = this.
|
|
2528
|
+
var tmp0_desc = this.m2p_1;
|
|
2472
2529
|
var tmp1_flag = true;
|
|
2473
2530
|
var tmp2_index = 0;
|
|
2474
2531
|
var tmp3_bitMask0 = 0;
|
|
@@ -2600,29 +2657,29 @@
|
|
|
2600
2657
|
tmp20_input.r1l(tmp0_desc);
|
|
2601
2658
|
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, null);
|
|
2602
2659
|
};
|
|
2603
|
-
$serializer_6.prototype.
|
|
2604
|
-
var tmp0_desc = this.
|
|
2660
|
+
$serializer_6.prototype.n2p = function (encoder, value) {
|
|
2661
|
+
var tmp0_desc = this.m2p_1;
|
|
2605
2662
|
var tmp1_output = encoder.q1l(tmp0_desc);
|
|
2606
|
-
tmp1_output.w1m(tmp0_desc, 0, value.
|
|
2607
|
-
tmp1_output.w1m(tmp0_desc, 1, value.
|
|
2608
|
-
tmp1_output.w1m(tmp0_desc, 2, value.
|
|
2609
|
-
tmp1_output.w1m(tmp0_desc, 3, value.
|
|
2610
|
-
tmp1_output.w1m(tmp0_desc, 4, value.
|
|
2611
|
-
tmp1_output.w1m(tmp0_desc, 5, value.
|
|
2612
|
-
tmp1_output.w1m(tmp0_desc, 6, value.
|
|
2613
|
-
tmp1_output.w1m(tmp0_desc, 7, value.
|
|
2614
|
-
tmp1_output.w1m(tmp0_desc, 8, value.
|
|
2615
|
-
tmp1_output.w1m(tmp0_desc, 9, value.
|
|
2616
|
-
tmp1_output.w1m(tmp0_desc, 10, value.
|
|
2617
|
-
tmp1_output.z1m(tmp0_desc, 11, value.
|
|
2618
|
-
tmp1_output.w1m(tmp0_desc, 12, value.
|
|
2619
|
-
tmp1_output.w1m(tmp0_desc, 13, value.
|
|
2620
|
-
tmp1_output.w1m(tmp0_desc, 14, value.
|
|
2621
|
-
tmp1_output.w1m(tmp0_desc, 15, value.
|
|
2663
|
+
tmp1_output.w1m(tmp0_desc, 0, value.k2o_1);
|
|
2664
|
+
tmp1_output.w1m(tmp0_desc, 1, value.l2o_1);
|
|
2665
|
+
tmp1_output.w1m(tmp0_desc, 2, value.m2o_1);
|
|
2666
|
+
tmp1_output.w1m(tmp0_desc, 3, value.n2o_1);
|
|
2667
|
+
tmp1_output.w1m(tmp0_desc, 4, value.o2o_1);
|
|
2668
|
+
tmp1_output.w1m(tmp0_desc, 5, value.p2o_1);
|
|
2669
|
+
tmp1_output.w1m(tmp0_desc, 6, value.q2o_1);
|
|
2670
|
+
tmp1_output.w1m(tmp0_desc, 7, value.r2o_1);
|
|
2671
|
+
tmp1_output.w1m(tmp0_desc, 8, value.s2o_1);
|
|
2672
|
+
tmp1_output.w1m(tmp0_desc, 9, value.t2o_1);
|
|
2673
|
+
tmp1_output.w1m(tmp0_desc, 10, value.u2o_1);
|
|
2674
|
+
tmp1_output.z1m(tmp0_desc, 11, value.v2o_1);
|
|
2675
|
+
tmp1_output.w1m(tmp0_desc, 12, value.w2o_1);
|
|
2676
|
+
tmp1_output.w1m(tmp0_desc, 13, value.x2o_1);
|
|
2677
|
+
tmp1_output.w1m(tmp0_desc, 14, value.y2o_1);
|
|
2678
|
+
tmp1_output.w1m(tmp0_desc, 15, value.z2o_1);
|
|
2622
2679
|
tmp1_output.r1l(tmp0_desc);
|
|
2623
2680
|
};
|
|
2624
2681
|
$serializer_6.prototype.j1i = function (encoder, value) {
|
|
2625
|
-
return this.
|
|
2682
|
+
return this.n2p(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
2626
2683
|
};
|
|
2627
2684
|
$serializer_6.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
2628
2685
|
var $serializer_instance_6;
|
|
@@ -2633,24 +2690,24 @@
|
|
|
2633
2690
|
}
|
|
2634
2691
|
function RulesDto_init_$Init$(seen1, needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker, $this) {
|
|
2635
2692
|
if (!(65535 === (65535 & seen1))) {
|
|
2636
|
-
throwMissingFieldException(seen1, 65535, $serializer_getInstance_6().
|
|
2693
|
+
throwMissingFieldException(seen1, 65535, $serializer_getInstance_6().m2p_1);
|
|
2637
2694
|
}
|
|
2638
|
-
$this.
|
|
2639
|
-
$this.
|
|
2640
|
-
$this.
|
|
2641
|
-
$this.
|
|
2642
|
-
$this.
|
|
2643
|
-
$this.
|
|
2644
|
-
$this.
|
|
2645
|
-
$this.
|
|
2646
|
-
$this.
|
|
2647
|
-
$this.
|
|
2648
|
-
$this.
|
|
2649
|
-
$this.
|
|
2650
|
-
$this.
|
|
2651
|
-
$this.
|
|
2652
|
-
$this.
|
|
2653
|
-
$this.
|
|
2695
|
+
$this.k2o_1 = needToPutHigherTrump;
|
|
2696
|
+
$this.l2o_1 = distributePoints;
|
|
2697
|
+
$this.m2o_1 = protectBella;
|
|
2698
|
+
$this.n2o_1 = enableFourSevensCombination;
|
|
2699
|
+
$this.o2o_1 = enableTrumpSevenCombination;
|
|
2700
|
+
$this.p2o_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2701
|
+
$this.q2o_1 = playerWhoChooseSuitGoFirst;
|
|
2702
|
+
$this.r2o_1 = winnerShuffleCards;
|
|
2703
|
+
$this.s2o_1 = playWithoutLiabilities;
|
|
2704
|
+
$this.t2o_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2705
|
+
$this.u2o_1 = enableFineIfNoBribes;
|
|
2706
|
+
$this.v2o_1 = fineIfNoBribes;
|
|
2707
|
+
$this.w2o_1 = enableFineAfterThirdByte;
|
|
2708
|
+
$this.x2o_1 = checkTrumpCombination;
|
|
2709
|
+
$this.y2o_1 = checkOnlyTrumpDebertz;
|
|
2710
|
+
$this.z2o_1 = tenCardsInHand;
|
|
2654
2711
|
return $this;
|
|
2655
2712
|
}
|
|
2656
2713
|
function RulesDto_init_$Create$(seen1, needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker) {
|
|
@@ -2658,30 +2715,28 @@
|
|
|
2658
2715
|
}
|
|
2659
2716
|
function RulesDto(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2660
2717
|
Companion_getInstance_12();
|
|
2661
|
-
this.
|
|
2662
|
-
this.
|
|
2663
|
-
this.
|
|
2664
|
-
this.
|
|
2665
|
-
this.
|
|
2666
|
-
this.
|
|
2667
|
-
this.
|
|
2668
|
-
this.
|
|
2669
|
-
this.
|
|
2670
|
-
this.
|
|
2671
|
-
this.
|
|
2672
|
-
this.
|
|
2673
|
-
this.
|
|
2674
|
-
this.
|
|
2675
|
-
this.
|
|
2676
|
-
this.
|
|
2718
|
+
this.k2o_1 = needToPutHigherTrump;
|
|
2719
|
+
this.l2o_1 = distributePoints;
|
|
2720
|
+
this.m2o_1 = protectBella;
|
|
2721
|
+
this.n2o_1 = enableFourSevensCombination;
|
|
2722
|
+
this.o2o_1 = enableTrumpSevenCombination;
|
|
2723
|
+
this.p2o_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2724
|
+
this.q2o_1 = playerWhoChooseSuitGoFirst;
|
|
2725
|
+
this.r2o_1 = winnerShuffleCards;
|
|
2726
|
+
this.s2o_1 = playWithoutLiabilities;
|
|
2727
|
+
this.t2o_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2728
|
+
this.u2o_1 = enableFineIfNoBribes;
|
|
2729
|
+
this.v2o_1 = fineIfNoBribes;
|
|
2730
|
+
this.w2o_1 = enableFineAfterThirdByte;
|
|
2731
|
+
this.x2o_1 = checkTrumpCombination;
|
|
2732
|
+
this.y2o_1 = checkOnlyTrumpDebertz;
|
|
2733
|
+
this.z2o_1 = tenCardsInHand;
|
|
2677
2734
|
}
|
|
2678
2735
|
RulesDto.prototype.toString = function () {
|
|
2679
|
-
return 'RulesDto(needToPutHigherTrump=' + this.
|
|
2736
|
+
return 'RulesDto(needToPutHigherTrump=' + this.k2o_1 + ', distributePoints=' + this.l2o_1 + ', protectBella=' + this.m2o_1 + ', enableFourSevensCombination=' + this.n2o_1 + ', enableTrumpSevenCombination=' + this.o2o_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.p2o_1 + ', playerWhoChooseSuitGoFirst=' + this.q2o_1 + ', winnerShuffleCards=' + this.r2o_1 + ', playWithoutLiabilities=' + this.s2o_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.t2o_1 + ', enableFineIfNoBribes=' + this.u2o_1 + ', fineIfNoBribes=' + this.v2o_1 + ', enableFineAfterThirdByte=' + this.w2o_1 + ', checkTrumpCombination=' + this.x2o_1 + ', checkOnlyTrumpDebertz=' + this.y2o_1 + ', tenCardsInHand=' + this.z2o_1 + ')';
|
|
2680
2737
|
};
|
|
2681
2738
|
RulesDto.prototype.hashCode = function () {
|
|
2682
|
-
var result = this.
|
|
2683
|
-
result = imul(result, 31) + (this.j2o_1 | 0) | 0;
|
|
2684
|
-
result = imul(result, 31) + (this.k2o_1 | 0) | 0;
|
|
2739
|
+
var result = this.k2o_1 | 0;
|
|
2685
2740
|
result = imul(result, 31) + (this.l2o_1 | 0) | 0;
|
|
2686
2741
|
result = imul(result, 31) + (this.m2o_1 | 0) | 0;
|
|
2687
2742
|
result = imul(result, 31) + (this.n2o_1 | 0) | 0;
|
|
@@ -2690,11 +2745,13 @@
|
|
|
2690
2745
|
result = imul(result, 31) + (this.q2o_1 | 0) | 0;
|
|
2691
2746
|
result = imul(result, 31) + (this.r2o_1 | 0) | 0;
|
|
2692
2747
|
result = imul(result, 31) + (this.s2o_1 | 0) | 0;
|
|
2693
|
-
result = imul(result, 31) + this.t2o_1 | 0;
|
|
2748
|
+
result = imul(result, 31) + (this.t2o_1 | 0) | 0;
|
|
2694
2749
|
result = imul(result, 31) + (this.u2o_1 | 0) | 0;
|
|
2695
|
-
result = imul(result, 31) +
|
|
2750
|
+
result = imul(result, 31) + this.v2o_1 | 0;
|
|
2696
2751
|
result = imul(result, 31) + (this.w2o_1 | 0) | 0;
|
|
2697
2752
|
result = imul(result, 31) + (this.x2o_1 | 0) | 0;
|
|
2753
|
+
result = imul(result, 31) + (this.y2o_1 | 0) | 0;
|
|
2754
|
+
result = imul(result, 31) + (this.z2o_1 | 0) | 0;
|
|
2698
2755
|
return result;
|
|
2699
2756
|
};
|
|
2700
2757
|
RulesDto.prototype.equals = function (other) {
|
|
@@ -2703,10 +2760,6 @@
|
|
|
2703
2760
|
if (!(other instanceof RulesDto))
|
|
2704
2761
|
return false;
|
|
2705
2762
|
var tmp0_other_with_cast = other instanceof RulesDto ? other : THROW_CCE();
|
|
2706
|
-
if (!(this.i2o_1 === tmp0_other_with_cast.i2o_1))
|
|
2707
|
-
return false;
|
|
2708
|
-
if (!(this.j2o_1 === tmp0_other_with_cast.j2o_1))
|
|
2709
|
-
return false;
|
|
2710
2763
|
if (!(this.k2o_1 === tmp0_other_with_cast.k2o_1))
|
|
2711
2764
|
return false;
|
|
2712
2765
|
if (!(this.l2o_1 === tmp0_other_with_cast.l2o_1))
|
|
@@ -2735,19 +2788,23 @@
|
|
|
2735
2788
|
return false;
|
|
2736
2789
|
if (!(this.x2o_1 === tmp0_other_with_cast.x2o_1))
|
|
2737
2790
|
return false;
|
|
2791
|
+
if (!(this.y2o_1 === tmp0_other_with_cast.y2o_1))
|
|
2792
|
+
return false;
|
|
2793
|
+
if (!(this.z2o_1 === tmp0_other_with_cast.z2o_1))
|
|
2794
|
+
return false;
|
|
2738
2795
|
return true;
|
|
2739
2796
|
};
|
|
2740
2797
|
RulesDto.$metadata$ = classMeta('RulesDto', undefined, undefined, {0: $serializer_getInstance_6});
|
|
2741
2798
|
function CardGrowthComparator(trump, firstCardSuit) {
|
|
2742
|
-
this.
|
|
2743
|
-
this.
|
|
2799
|
+
this.o2p_1 = trump;
|
|
2800
|
+
this.p2p_1 = firstCardSuit;
|
|
2744
2801
|
}
|
|
2745
|
-
CardGrowthComparator.prototype.
|
|
2746
|
-
return getGrowth(b, this.
|
|
2802
|
+
CardGrowthComparator.prototype.q2p = function (a, b) {
|
|
2803
|
+
return getGrowth(b, this.o2p_1, this.p2p_1) - getGrowth(a, this.o2p_1, this.p2p_1) | 0;
|
|
2747
2804
|
};
|
|
2748
2805
|
CardGrowthComparator.prototype.compare = function (a, b) {
|
|
2749
2806
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2750
|
-
return this.
|
|
2807
|
+
return this.q2p(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2751
2808
|
};
|
|
2752
2809
|
CardGrowthComparator.$metadata$ = classMeta('CardGrowthComparator', [Comparator]);
|
|
2753
2810
|
function filterByCardName(_this__u8e3s4, name) {
|
|
@@ -2771,12 +2828,12 @@
|
|
|
2771
2828
|
function CardIndexComparator() {
|
|
2772
2829
|
CardIndexComparator_instance = this;
|
|
2773
2830
|
}
|
|
2774
|
-
CardIndexComparator.prototype.
|
|
2775
|
-
return a.
|
|
2831
|
+
CardIndexComparator.prototype.q2p = function (a, b) {
|
|
2832
|
+
return a.h2o_1 - b.h2o_1 | 0;
|
|
2776
2833
|
};
|
|
2777
2834
|
CardIndexComparator.prototype.compare = function (a, b) {
|
|
2778
2835
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2779
|
-
return this.
|
|
2836
|
+
return this.q2p(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2780
2837
|
};
|
|
2781
2838
|
CardIndexComparator.$metadata$ = objectMeta('CardIndexComparator', [Comparator]);
|
|
2782
2839
|
var CardIndexComparator_instance;
|
|
@@ -2806,12 +2863,12 @@
|
|
|
2806
2863
|
function CardNumberComparator() {
|
|
2807
2864
|
CardNumberComparator_instance = this;
|
|
2808
2865
|
}
|
|
2809
|
-
CardNumberComparator.prototype.
|
|
2810
|
-
return b.
|
|
2866
|
+
CardNumberComparator.prototype.q2p = function (a, b) {
|
|
2867
|
+
return b.r2p() - a.r2p() | 0;
|
|
2811
2868
|
};
|
|
2812
2869
|
CardNumberComparator.prototype.compare = function (a, b) {
|
|
2813
2870
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2814
|
-
return this.
|
|
2871
|
+
return this.q2p(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2815
2872
|
};
|
|
2816
2873
|
CardNumberComparator.$metadata$ = objectMeta('CardNumberComparator', [Comparator]);
|
|
2817
2874
|
var CardNumberComparator_instance;
|
|
@@ -2821,7 +2878,7 @@
|
|
|
2821
2878
|
return CardNumberComparator_instance;
|
|
2822
2879
|
}
|
|
2823
2880
|
function getPoint(_this__u8e3s4, trump) {
|
|
2824
|
-
var isNotTrump = !trump.equals(_this__u8e3s4.
|
|
2881
|
+
var isNotTrump = !trump.equals(_this__u8e3s4.s2p());
|
|
2825
2882
|
var tmp0_subject = _this__u8e3s4.f5();
|
|
2826
2883
|
var tmp0 = tmp0_subject.e5_1;
|
|
2827
2884
|
var tmp;
|
|
@@ -2855,8 +2912,8 @@
|
|
|
2855
2912
|
}
|
|
2856
2913
|
function getGrowth(_this__u8e3s4, trump, firstCardSuit) {
|
|
2857
2914
|
var minPoint = 0;
|
|
2858
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
2859
|
-
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.
|
|
2915
|
+
var isTrump = trump.equals(_this__u8e3s4.s2p());
|
|
2916
|
+
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.s2p());
|
|
2860
2917
|
var minGrowth;
|
|
2861
2918
|
var maxGrowth;
|
|
2862
2919
|
var tmp0_subject = _this__u8e3s4.f5();
|
|
@@ -2954,7 +3011,7 @@
|
|
|
2954
3011
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2955
3012
|
var tmp$ret$0;
|
|
2956
3013
|
// Inline function 'com.logic.data.models.table.cards.bySuitPredicate.<anonymous>.<anonymous>' call
|
|
2957
|
-
tmp$ret$0 = p1.
|
|
3014
|
+
tmp$ret$0 = p1.s2p().equals(element);
|
|
2958
3015
|
if (tmp$ret$0) {
|
|
2959
3016
|
tmp$ret$1 = true;
|
|
2960
3017
|
break $l$block;
|
|
@@ -3002,10 +3059,10 @@
|
|
|
3002
3059
|
function Companion_13() {
|
|
3003
3060
|
Companion_instance_13 = this;
|
|
3004
3061
|
}
|
|
3005
|
-
Companion_13.prototype.
|
|
3062
|
+
Companion_13.prototype.t2p = function (suit, cardNumber) {
|
|
3006
3063
|
return new GameCard(getNumber(Companion_getInstance_14(), cardNumber, suit));
|
|
3007
3064
|
};
|
|
3008
|
-
Companion_13.prototype.
|
|
3065
|
+
Companion_13.prototype.u2p = function (position, playerIndex, reverse) {
|
|
3009
3066
|
var tmp;
|
|
3010
3067
|
if (reverse) {
|
|
3011
3068
|
Companion_getInstance_14();
|
|
@@ -3019,10 +3076,10 @@
|
|
|
3019
3076
|
var index = tmp;
|
|
3020
3077
|
return new GameCard(index);
|
|
3021
3078
|
};
|
|
3022
|
-
Companion_13.prototype.
|
|
3079
|
+
Companion_13.prototype.v2p = function (position, playerIndex, reverse, $mask0, $handler) {
|
|
3023
3080
|
if (!(($mask0 & 4) === 0))
|
|
3024
3081
|
reverse = false;
|
|
3025
|
-
return this.
|
|
3082
|
+
return this.u2p(position, playerIndex, reverse);
|
|
3026
3083
|
};
|
|
3027
3084
|
Companion_13.$metadata$ = objectMeta('Companion');
|
|
3028
3085
|
var Companion_instance_13;
|
|
@@ -3132,7 +3189,7 @@
|
|
|
3132
3189
|
return tmp;
|
|
3133
3190
|
}
|
|
3134
3191
|
function _get_isShirt__vd98rp($this) {
|
|
3135
|
-
var tmp = $this.
|
|
3192
|
+
var tmp = $this.h2o_1;
|
|
3136
3193
|
Companion_getInstance_14();
|
|
3137
3194
|
return tmp === 52;
|
|
3138
3195
|
}
|
|
@@ -3142,10 +3199,10 @@
|
|
|
3142
3199
|
CardName.$metadata$ = classMeta('CardName', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
3143
3200
|
function Companion_14() {
|
|
3144
3201
|
Companion_instance_14 = this;
|
|
3145
|
-
this.
|
|
3146
|
-
this.
|
|
3147
|
-
this.
|
|
3148
|
-
this.
|
|
3202
|
+
this.w2p_1 = -1;
|
|
3203
|
+
this.x2p_1 = 13;
|
|
3204
|
+
this.y2p_1 = 52;
|
|
3205
|
+
this.z2p_1 = 53;
|
|
3149
3206
|
}
|
|
3150
3207
|
Companion_14.$metadata$ = objectMeta('Companion');
|
|
3151
3208
|
var Companion_instance_14;
|
|
@@ -3212,58 +3269,58 @@
|
|
|
3212
3269
|
}
|
|
3213
3270
|
function GameCard(index) {
|
|
3214
3271
|
Companion_getInstance_14();
|
|
3215
|
-
this.
|
|
3272
|
+
this.h2o_1 = index;
|
|
3216
3273
|
}
|
|
3217
3274
|
GameCard.prototype.b3 = function () {
|
|
3218
|
-
return this.
|
|
3275
|
+
return this.h2o_1;
|
|
3219
3276
|
};
|
|
3220
|
-
GameCard.prototype.
|
|
3277
|
+
GameCard.prototype.s2p = function () {
|
|
3221
3278
|
var tmp;
|
|
3222
3279
|
Companion_getInstance_14();
|
|
3223
3280
|
var containsUpper = 13;
|
|
3224
|
-
var containsArg = this.
|
|
3281
|
+
var containsArg = this.h2o_1;
|
|
3225
3282
|
if (0 <= containsArg ? containsArg <= containsUpper : false) {
|
|
3226
3283
|
tmp = Suit_DIAMOND_getInstance();
|
|
3227
3284
|
} else {
|
|
3228
|
-
var tmp_0 = this.
|
|
3285
|
+
var tmp_0 = this.h2o_1;
|
|
3229
3286
|
Companion_getInstance_14();
|
|
3230
3287
|
if (tmp_0 <= imul(13, 2)) {
|
|
3231
3288
|
tmp = Suit_SPADE_getInstance();
|
|
3232
3289
|
} else {
|
|
3233
|
-
var tmp_1 = this.
|
|
3290
|
+
var tmp_1 = this.h2o_1;
|
|
3234
3291
|
Companion_getInstance_14();
|
|
3235
3292
|
if (tmp_1 <= imul(13, 3)) {
|
|
3236
3293
|
tmp = Suit_HEART_getInstance();
|
|
3237
3294
|
} else {
|
|
3238
|
-
var tmp_2 = this.
|
|
3295
|
+
var tmp_2 = this.h2o_1;
|
|
3239
3296
|
Companion_getInstance_14();
|
|
3240
3297
|
if (tmp_2 <= imul(13, 4)) {
|
|
3241
3298
|
tmp = Suit_CLUB_getInstance();
|
|
3242
3299
|
} else {
|
|
3243
|
-
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.
|
|
3300
|
+
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.h2o_1);
|
|
3244
3301
|
}
|
|
3245
3302
|
}
|
|
3246
3303
|
}
|
|
3247
3304
|
}
|
|
3248
3305
|
return tmp;
|
|
3249
3306
|
};
|
|
3250
|
-
GameCard.prototype.
|
|
3307
|
+
GameCard.prototype.r2p = function () {
|
|
3251
3308
|
var tmp;
|
|
3252
|
-
if (this.
|
|
3309
|
+
if (this.a2q()) {
|
|
3253
3310
|
Companion_getInstance_14();
|
|
3254
3311
|
tmp = -1;
|
|
3255
3312
|
} else {
|
|
3256
|
-
var tmp_0 = this.
|
|
3313
|
+
var tmp_0 = this.h2o_1;
|
|
3257
3314
|
Companion_getInstance_14();
|
|
3258
|
-
tmp = tmp_0 - imul(13, getIndex(this.
|
|
3315
|
+
tmp = tmp_0 - imul(13, getIndex(this.s2p())) | 0;
|
|
3259
3316
|
}
|
|
3260
3317
|
return tmp;
|
|
3261
3318
|
};
|
|
3262
3319
|
GameCard.prototype.f5 = function () {
|
|
3263
|
-
return this.
|
|
3320
|
+
return this.a2q() ? CardName_STUB_getInstance() : getName(Companion_getInstance_14(), this.r2p());
|
|
3264
3321
|
};
|
|
3265
|
-
GameCard.prototype.
|
|
3266
|
-
var tmp = this.
|
|
3322
|
+
GameCard.prototype.a2q = function () {
|
|
3323
|
+
var tmp = this.h2o_1;
|
|
3267
3324
|
Companion_getInstance_14();
|
|
3268
3325
|
return tmp >= 53;
|
|
3269
3326
|
};
|
|
@@ -3271,13 +3328,13 @@
|
|
|
3271
3328
|
if (_get_isShirt__vd98rp(this)) {
|
|
3272
3329
|
return 'GameCard(SHIRT)';
|
|
3273
3330
|
}
|
|
3274
|
-
if (this.
|
|
3275
|
-
return 'GameCard(STUB, ' + this.
|
|
3331
|
+
if (this.a2q()) {
|
|
3332
|
+
return 'GameCard(STUB, ' + this.h2o_1 + ')';
|
|
3276
3333
|
}
|
|
3277
|
-
return 'GameCard(' + this.f5() + ', suit: ' + this.
|
|
3334
|
+
return 'GameCard(' + this.f5() + ', suit: ' + this.s2p() + ', index=' + this.h2o_1 + ')';
|
|
3278
3335
|
};
|
|
3279
3336
|
GameCard.prototype.hashCode = function () {
|
|
3280
|
-
return this.
|
|
3337
|
+
return this.h2o_1;
|
|
3281
3338
|
};
|
|
3282
3339
|
GameCard.prototype.equals = function (other) {
|
|
3283
3340
|
if (this === other)
|
|
@@ -3285,24 +3342,24 @@
|
|
|
3285
3342
|
if (!(other instanceof GameCard))
|
|
3286
3343
|
return false;
|
|
3287
3344
|
var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
|
|
3288
|
-
if (!(this.
|
|
3345
|
+
if (!(this.h2o_1 === tmp0_other_with_cast.h2o_1))
|
|
3289
3346
|
return false;
|
|
3290
3347
|
return true;
|
|
3291
3348
|
};
|
|
3292
3349
|
GameCard.$metadata$ = classMeta('GameCard');
|
|
3293
3350
|
function GameCardWIthPlayerId(playerId, gameCard) {
|
|
3294
|
-
this.
|
|
3295
|
-
this.
|
|
3351
|
+
this.i2o_1 = playerId;
|
|
3352
|
+
this.j2o_1 = gameCard;
|
|
3296
3353
|
}
|
|
3297
3354
|
GameCardWIthPlayerId.prototype.x2k = function () {
|
|
3298
|
-
return this.
|
|
3355
|
+
return this.i2o_1;
|
|
3299
3356
|
};
|
|
3300
3357
|
GameCardWIthPlayerId.prototype.toString = function () {
|
|
3301
|
-
return 'GameCardWIthPlayerId(playerId=' + this.
|
|
3358
|
+
return 'GameCardWIthPlayerId(playerId=' + this.i2o_1 + ', gameCard=' + this.j2o_1 + ')';
|
|
3302
3359
|
};
|
|
3303
3360
|
GameCardWIthPlayerId.prototype.hashCode = function () {
|
|
3304
|
-
var result = getStringHashCode(this.
|
|
3305
|
-
result = imul(result, 31) + this.
|
|
3361
|
+
var result = getStringHashCode(this.i2o_1);
|
|
3362
|
+
result = imul(result, 31) + this.j2o_1.hashCode() | 0;
|
|
3306
3363
|
return result;
|
|
3307
3364
|
};
|
|
3308
3365
|
GameCardWIthPlayerId.prototype.equals = function (other) {
|
|
@@ -3311,9 +3368,9 @@
|
|
|
3311
3368
|
if (!(other instanceof GameCardWIthPlayerId))
|
|
3312
3369
|
return false;
|
|
3313
3370
|
var tmp0_other_with_cast = other instanceof GameCardWIthPlayerId ? other : THROW_CCE();
|
|
3314
|
-
if (!(this.
|
|
3371
|
+
if (!(this.i2o_1 === tmp0_other_with_cast.i2o_1))
|
|
3315
3372
|
return false;
|
|
3316
|
-
if (!this.
|
|
3373
|
+
if (!this.j2o_1.equals(tmp0_other_with_cast.j2o_1))
|
|
3317
3374
|
return false;
|
|
3318
3375
|
return true;
|
|
3319
3376
|
};
|
|
@@ -3325,18 +3382,18 @@
|
|
|
3325
3382
|
}
|
|
3326
3383
|
});
|
|
3327
3384
|
function ProcessingCard(gameCard, payload) {
|
|
3328
|
-
this.
|
|
3329
|
-
this.
|
|
3385
|
+
this.b2q_1 = gameCard;
|
|
3386
|
+
this.c2q_1 = payload;
|
|
3330
3387
|
}
|
|
3331
|
-
ProcessingCard.prototype.
|
|
3332
|
-
return this.
|
|
3388
|
+
ProcessingCard.prototype.d2q = function () {
|
|
3389
|
+
return this.b2q_1;
|
|
3333
3390
|
};
|
|
3334
3391
|
ProcessingCard.prototype.toString = function () {
|
|
3335
|
-
return 'ProcessingCard(gameCard=' + this.
|
|
3392
|
+
return 'ProcessingCard(gameCard=' + this.b2q_1 + ', payload=' + this.c2q_1 + ')';
|
|
3336
3393
|
};
|
|
3337
3394
|
ProcessingCard.prototype.hashCode = function () {
|
|
3338
|
-
var result = this.
|
|
3339
|
-
result = imul(result, 31) + (this.
|
|
3395
|
+
var result = this.b2q_1.hashCode();
|
|
3396
|
+
result = imul(result, 31) + (this.c2q_1 == null ? 0 : hashCode(this.c2q_1)) | 0;
|
|
3340
3397
|
return result;
|
|
3341
3398
|
};
|
|
3342
3399
|
ProcessingCard.prototype.equals = function (other) {
|
|
@@ -3345,9 +3402,9 @@
|
|
|
3345
3402
|
if (!(other instanceof ProcessingCard))
|
|
3346
3403
|
return false;
|
|
3347
3404
|
var tmp0_other_with_cast = other instanceof ProcessingCard ? other : THROW_CCE();
|
|
3348
|
-
if (!this.
|
|
3405
|
+
if (!this.b2q_1.equals(tmp0_other_with_cast.b2q_1))
|
|
3349
3406
|
return false;
|
|
3350
|
-
if (!equals(this.
|
|
3407
|
+
if (!equals(this.c2q_1, tmp0_other_with_cast.c2q_1))
|
|
3351
3408
|
return false;
|
|
3352
3409
|
return true;
|
|
3353
3410
|
};
|
|
@@ -3363,10 +3420,10 @@
|
|
|
3363
3420
|
Companion_instance_15 = this;
|
|
3364
3421
|
var tmp = this;
|
|
3365
3422
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3366
|
-
tmp.
|
|
3423
|
+
tmp.e2q_1 = lazy(tmp_0, Suit$Companion$$cachedSerializer$delegate$_anonymous__8wfs3b);
|
|
3367
3424
|
}
|
|
3368
3425
|
Companion_15.prototype.d25 = function () {
|
|
3369
|
-
return this.
|
|
3426
|
+
return this.e2q_1.c2();
|
|
3370
3427
|
};
|
|
3371
3428
|
Companion_15.prototype.t1t = function (typeParamsSerializers) {
|
|
3372
3429
|
return this.d25();
|
|
@@ -3437,37 +3494,37 @@
|
|
|
3437
3494
|
return tmp;
|
|
3438
3495
|
}
|
|
3439
3496
|
function _no_name_provided__qut3iv($logger) {
|
|
3440
|
-
this.
|
|
3497
|
+
this.g2q_1 = $logger;
|
|
3441
3498
|
AbstractCoroutineContextElement.call(this, Key_getInstance());
|
|
3442
3499
|
}
|
|
3443
3500
|
_no_name_provided__qut3iv.prototype.eq = function (context, exception) {
|
|
3444
3501
|
var tmp = 'AsyncProvider error: ' + exception;
|
|
3445
|
-
return this.
|
|
3502
|
+
return this.g2q_1.h2q('AsyncErrorHandler', tmp, exception, null, 8, null);
|
|
3446
3503
|
};
|
|
3447
3504
|
_no_name_provided__qut3iv.$metadata$ = classMeta(undefined, [CoroutineExceptionHandler], undefined, undefined, undefined, AbstractCoroutineContextElement.prototype);
|
|
3448
3505
|
function AsyncProviderImpl(logger) {
|
|
3449
3506
|
var tmp = this;
|
|
3450
|
-
tmp.
|
|
3507
|
+
tmp.i2q_1 = Job$default(null, 1, null);
|
|
3451
3508
|
var tmp_0 = this;
|
|
3452
3509
|
var tmp$ret$0;
|
|
3453
3510
|
// Inline function 'kotlinx.coroutines.CoroutineExceptionHandler' call
|
|
3454
3511
|
tmp$ret$0 = new _no_name_provided__qut3iv(logger);
|
|
3455
|
-
tmp_0.
|
|
3456
|
-
this.
|
|
3457
|
-
this.
|
|
3512
|
+
tmp_0.j2q_1 = tmp$ret$0;
|
|
3513
|
+
this.k2q_1 = CoroutineScope(Dispatchers_getInstance().lu().y4(this.i2q_1));
|
|
3514
|
+
this.l2q_1 = CoroutineScope(Dispatchers_getInstance().hu_1.y4(this.i2q_1));
|
|
3458
3515
|
}
|
|
3459
|
-
AsyncProviderImpl.prototype.
|
|
3460
|
-
return this.
|
|
3516
|
+
AsyncProviderImpl.prototype.m2q = function () {
|
|
3517
|
+
return this.j2q_1;
|
|
3461
3518
|
};
|
|
3462
|
-
AsyncProviderImpl.prototype.
|
|
3463
|
-
return launch$default(this.
|
|
3519
|
+
AsyncProviderImpl.prototype.n2q = function (context, block) {
|
|
3520
|
+
return launch$default(this.k2q_1, context, null, block, 2, null);
|
|
3464
3521
|
};
|
|
3465
|
-
AsyncProviderImpl.prototype.
|
|
3466
|
-
return launch$default(this.
|
|
3522
|
+
AsyncProviderImpl.prototype.p2q = function (context, block) {
|
|
3523
|
+
return launch$default(this.l2q_1, context, null, block, 2, null);
|
|
3467
3524
|
};
|
|
3468
3525
|
AsyncProviderImpl.prototype.rn = function () {
|
|
3469
|
-
if (!this.
|
|
3470
|
-
this.
|
|
3526
|
+
if (!this.i2q_1.xp()) {
|
|
3527
|
+
this.i2q_1.om(null, 1, null);
|
|
3471
3528
|
}
|
|
3472
3529
|
};
|
|
3473
3530
|
AsyncProviderImpl.$metadata$ = classMeta('AsyncProviderImpl', [AsyncProvider]);
|
|
@@ -3475,39 +3532,39 @@
|
|
|
3475
3532
|
}
|
|
3476
3533
|
AsyncProvider.$metadata$ = interfaceMeta('AsyncProvider');
|
|
3477
3534
|
function JobsProviderImpl(logger) {
|
|
3478
|
-
this.
|
|
3535
|
+
this.r2q_1 = logger;
|
|
3479
3536
|
var tmp = this;
|
|
3480
3537
|
var tmp$ret$0;
|
|
3481
3538
|
// Inline function 'kotlin.collections.hashMapOf' call
|
|
3482
3539
|
tmp$ret$0 = HashMap_init_$Create$();
|
|
3483
|
-
tmp.
|
|
3540
|
+
tmp.s2q_1 = tmp$ret$0;
|
|
3484
3541
|
}
|
|
3485
|
-
JobsProviderImpl.prototype.
|
|
3486
|
-
if (this.
|
|
3542
|
+
JobsProviderImpl.prototype.t2q = function (timerTag, job) {
|
|
3543
|
+
if (this.v2q(timerTag)) {
|
|
3487
3544
|
var tmp = 'Timer already exists for that tag: ' + timerTag;
|
|
3488
|
-
this.
|
|
3545
|
+
this.r2q_1.u2q(null, tmp, null, 5, null);
|
|
3489
3546
|
}
|
|
3490
3547
|
// Inline function 'kotlin.collections.set' call
|
|
3491
|
-
var tmp0_set = this.
|
|
3548
|
+
var tmp0_set = this.s2q_1;
|
|
3492
3549
|
tmp0_set.o(timerTag, job);
|
|
3493
3550
|
};
|
|
3494
|
-
JobsProviderImpl.prototype.
|
|
3495
|
-
return this.
|
|
3551
|
+
JobsProviderImpl.prototype.v2q = function (timerTag) {
|
|
3552
|
+
return this.s2q_1.j2(timerTag);
|
|
3496
3553
|
};
|
|
3497
|
-
JobsProviderImpl.prototype.
|
|
3498
|
-
if (!this.
|
|
3554
|
+
JobsProviderImpl.prototype.w2q = function (timerTag) {
|
|
3555
|
+
if (!this.v2q(timerTag)) {
|
|
3499
3556
|
var tmp = "Can't find timer for that tag: " + timerTag;
|
|
3500
|
-
this.
|
|
3557
|
+
this.r2q_1.u2q(null, tmp, null, 5, null);
|
|
3501
3558
|
}
|
|
3502
|
-
this.
|
|
3559
|
+
this.s2q_1.od(timerTag);
|
|
3503
3560
|
};
|
|
3504
|
-
JobsProviderImpl.prototype.
|
|
3561
|
+
JobsProviderImpl.prototype.x2q = function (timers) {
|
|
3505
3562
|
// Inline function 'kotlin.collections.forEach' call
|
|
3506
3563
|
var tmp0_iterator = timers.f();
|
|
3507
3564
|
while (tmp0_iterator.g()) {
|
|
3508
3565
|
var element = tmp0_iterator.h();
|
|
3509
3566
|
// Inline function 'com.logic.data.providers.JobsProviderImpl.cancelJobs.<anonymous>' call
|
|
3510
|
-
var timer = this.
|
|
3567
|
+
var timer = this.s2q_1.n(element);
|
|
3511
3568
|
var tmp0_safe_receiver = timer;
|
|
3512
3569
|
if (tmp0_safe_receiver == null)
|
|
3513
3570
|
null;
|
|
@@ -3515,11 +3572,11 @@
|
|
|
3515
3572
|
tmp0_safe_receiver.om(null, 1, null);
|
|
3516
3573
|
}
|
|
3517
3574
|
}
|
|
3518
|
-
this.
|
|
3575
|
+
this.s2q_1.m2().mc(toSet(timers));
|
|
3519
3576
|
};
|
|
3520
|
-
JobsProviderImpl.prototype.
|
|
3521
|
-
var timer = this.
|
|
3522
|
-
this.
|
|
3577
|
+
JobsProviderImpl.prototype.y2q = function (timerTag) {
|
|
3578
|
+
var timer = this.s2q_1.n(timerTag);
|
|
3579
|
+
this.s2q_1.od(timerTag);
|
|
3523
3580
|
var tmp0_safe_receiver = timer;
|
|
3524
3581
|
if (tmp0_safe_receiver == null)
|
|
3525
3582
|
null;
|
|
@@ -3650,7 +3707,7 @@
|
|
|
3650
3707
|
return createStore(reducer, preloadedState, enhancer);
|
|
3651
3708
|
}
|
|
3652
3709
|
function createStore$dispatch(currentState, currentReducer, action) {
|
|
3653
|
-
currentState.x11(currentReducer._v.
|
|
3710
|
+
currentState.x11(currentReducer._v.z2q(currentState.c2(), action));
|
|
3654
3711
|
}
|
|
3655
3712
|
function createStore$replaceReducer(currentReducer, currentState, nextReducer) {
|
|
3656
3713
|
currentReducer._v = nextReducer;
|
|
@@ -3676,47 +3733,47 @@
|
|
|
3676
3733
|
return l;
|
|
3677
3734
|
}
|
|
3678
3735
|
function createStore$2($currentState, $currentReducer) {
|
|
3679
|
-
this.
|
|
3736
|
+
this.c2r_1 = $currentState;
|
|
3680
3737
|
var tmp = this;
|
|
3681
|
-
tmp.
|
|
3738
|
+
tmp.a2r_1 = createStore$dispatch$ref($currentState, $currentReducer);
|
|
3682
3739
|
var tmp_0 = this;
|
|
3683
|
-
tmp_0.
|
|
3740
|
+
tmp_0.b2r_1 = createStore$replaceReducer$ref($currentReducer, $currentState);
|
|
3684
3741
|
}
|
|
3685
|
-
createStore$2.prototype.
|
|
3686
|
-
this.
|
|
3742
|
+
createStore$2.prototype.d2r = function (_set____db54di) {
|
|
3743
|
+
this.a2r_1 = _set____db54di;
|
|
3687
3744
|
};
|
|
3688
|
-
createStore$2.prototype.
|
|
3689
|
-
return this.
|
|
3745
|
+
createStore$2.prototype.e2r = function () {
|
|
3746
|
+
return this.a2r_1;
|
|
3690
3747
|
};
|
|
3691
|
-
createStore$2.prototype.
|
|
3692
|
-
return this.
|
|
3748
|
+
createStore$2.prototype.f2r = function () {
|
|
3749
|
+
return this.c2r_1;
|
|
3693
3750
|
};
|
|
3694
|
-
createStore$2.prototype.
|
|
3695
|
-
return this.
|
|
3751
|
+
createStore$2.prototype.g2r = function () {
|
|
3752
|
+
return this.b2r_1;
|
|
3696
3753
|
};
|
|
3697
3754
|
createStore$2.prototype.am = function () {
|
|
3698
|
-
return this.
|
|
3755
|
+
return this.c2r_1.c2();
|
|
3699
3756
|
};
|
|
3700
3757
|
createStore$2.$metadata$ = classMeta(undefined, [Store]);
|
|
3701
3758
|
Object.defineProperty(createStore$2.prototype, 'dispatch', {
|
|
3702
3759
|
configurable: true,
|
|
3703
3760
|
get: function () {
|
|
3704
|
-
return this.
|
|
3761
|
+
return this.e2r();
|
|
3705
3762
|
},
|
|
3706
3763
|
set: function (value) {
|
|
3707
|
-
this.
|
|
3764
|
+
this.d2r(value);
|
|
3708
3765
|
}
|
|
3709
3766
|
});
|
|
3710
3767
|
Object.defineProperty(createStore$2.prototype, 'observe', {
|
|
3711
3768
|
configurable: true,
|
|
3712
3769
|
get: function () {
|
|
3713
|
-
return this.
|
|
3770
|
+
return this.f2r();
|
|
3714
3771
|
}
|
|
3715
3772
|
});
|
|
3716
3773
|
Object.defineProperty(createStore$2.prototype, 'replaceReducer', {
|
|
3717
3774
|
configurable: true,
|
|
3718
3775
|
get: function () {
|
|
3719
|
-
return this.
|
|
3776
|
+
return this.g2r();
|
|
3720
3777
|
}
|
|
3721
3778
|
});
|
|
3722
3779
|
Object.defineProperty(createStore$2.prototype, 'state', {
|
|
@@ -3751,10 +3808,10 @@
|
|
|
3751
3808
|
return new middleware$1(dispatch);
|
|
3752
3809
|
}
|
|
3753
3810
|
function middleware$1($dispatch) {
|
|
3754
|
-
this.
|
|
3811
|
+
this.k2r_1 = $dispatch;
|
|
3755
3812
|
}
|
|
3756
|
-
middleware$1.prototype.
|
|
3757
|
-
this.
|
|
3813
|
+
middleware$1.prototype.j2r = function (store, next, action) {
|
|
3814
|
+
this.k2r_1(store, next, action);
|
|
3758
3815
|
};
|
|
3759
3816
|
middleware$1.$metadata$ = classMeta(undefined, [Middleware]);
|
|
3760
3817
|
function Reducer() {
|
|
@@ -3764,9 +3821,9 @@
|
|
|
3764
3821
|
return new combineReducers$1(reducers);
|
|
3765
3822
|
}
|
|
3766
3823
|
function combineReducers$1($reducers) {
|
|
3767
|
-
this.
|
|
3824
|
+
this.l2r_1 = $reducers;
|
|
3768
3825
|
}
|
|
3769
|
-
combineReducers$1.prototype.
|
|
3826
|
+
combineReducers$1.prototype.m2r = function (state, action) {
|
|
3770
3827
|
var tmp$ret$4;
|
|
3771
3828
|
// Inline function 'kotlin.collections.fold' call
|
|
3772
3829
|
var tmp$ret$2;
|
|
@@ -3774,7 +3831,7 @@
|
|
|
3774
3831
|
var tmp$ret$1;
|
|
3775
3832
|
// Inline function 'kotlin.collections.filterTo' call
|
|
3776
3833
|
var tmp0_filterTo = ArrayList_init_$Create$();
|
|
3777
|
-
var indexedObject = this.
|
|
3834
|
+
var indexedObject = this.l2r_1;
|
|
3778
3835
|
var inductionVariable = 0;
|
|
3779
3836
|
var last = indexedObject.length;
|
|
3780
3837
|
while (inductionVariable < last) {
|
|
@@ -3782,7 +3839,7 @@
|
|
|
3782
3839
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3783
3840
|
var tmp$ret$0;
|
|
3784
3841
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
3785
|
-
tmp$ret$0 = element.
|
|
3842
|
+
tmp$ret$0 = element.i2r(action);
|
|
3786
3843
|
if (tmp$ret$0) {
|
|
3787
3844
|
tmp0_filterTo.a(element);
|
|
3788
3845
|
}
|
|
@@ -3797,14 +3854,14 @@
|
|
|
3797
3854
|
var tmp$ret$3;
|
|
3798
3855
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
3799
3856
|
var tmp1__anonymous__uwfjfc = accumulator;
|
|
3800
|
-
tmp$ret$3 = element_0.
|
|
3857
|
+
tmp$ret$3 = element_0.z2q(tmp1__anonymous__uwfjfc, action);
|
|
3801
3858
|
accumulator = tmp$ret$3;
|
|
3802
3859
|
}
|
|
3803
3860
|
tmp$ret$4 = accumulator;
|
|
3804
3861
|
return tmp$ret$4;
|
|
3805
3862
|
};
|
|
3806
|
-
combineReducers$1.prototype.
|
|
3807
|
-
return this.
|
|
3863
|
+
combineReducers$1.prototype.z2q = function (state, action) {
|
|
3864
|
+
return this.m2r((state == null ? true : isObject(state)) ? state : THROW_CCE(), action);
|
|
3808
3865
|
};
|
|
3809
3866
|
combineReducers$1.$metadata$ = classMeta(undefined, [Reducer]);
|
|
3810
3867
|
function Store() {
|
|
@@ -3818,7 +3875,7 @@
|
|
|
3818
3875
|
Object.defineProperty(INIT.prototype, 'actionTag', {
|
|
3819
3876
|
configurable: true,
|
|
3820
3877
|
get: function () {
|
|
3821
|
-
return this.
|
|
3878
|
+
return this.h2r();
|
|
3822
3879
|
}
|
|
3823
3880
|
});
|
|
3824
3881
|
var INIT_instance;
|
|
@@ -3835,7 +3892,7 @@
|
|
|
3835
3892
|
Object.defineProperty(REPLACE.prototype, 'actionTag', {
|
|
3836
3893
|
configurable: true,
|
|
3837
3894
|
get: function () {
|
|
3838
|
-
return this.
|
|
3895
|
+
return this.h2r();
|
|
3839
3896
|
}
|
|
3840
3897
|
});
|
|
3841
3898
|
var REPLACE_instance;
|
|
@@ -3850,7 +3907,7 @@
|
|
|
3850
3907
|
Object.defineProperty(StoreLifecycleAction.prototype, 'actionTag', {
|
|
3851
3908
|
configurable: true,
|
|
3852
3909
|
get: function () {
|
|
3853
|
-
return this.
|
|
3910
|
+
return this.h2r();
|
|
3854
3911
|
}
|
|
3855
3912
|
});
|
|
3856
3913
|
function BufferedAction() {
|
|
@@ -3867,16 +3924,16 @@
|
|
|
3867
3924
|
TimerTag.$metadata$ = interfaceMeta('TimerTag');
|
|
3868
3925
|
function StopTimerAction(timerTag) {
|
|
3869
3926
|
TimerAction.call(this);
|
|
3870
|
-
this.
|
|
3927
|
+
this.o2r_1 = timerTag;
|
|
3871
3928
|
}
|
|
3872
|
-
StopTimerAction.prototype.
|
|
3873
|
-
return this.
|
|
3929
|
+
StopTimerAction.prototype.p2r = function () {
|
|
3930
|
+
return this.o2r_1;
|
|
3874
3931
|
};
|
|
3875
3932
|
StopTimerAction.prototype.toString = function () {
|
|
3876
|
-
return 'StopTimerAction(timerTag=' + this.
|
|
3933
|
+
return 'StopTimerAction(timerTag=' + this.o2r_1 + ')';
|
|
3877
3934
|
};
|
|
3878
3935
|
StopTimerAction.prototype.hashCode = function () {
|
|
3879
|
-
return hashCode(this.
|
|
3936
|
+
return hashCode(this.o2r_1);
|
|
3880
3937
|
};
|
|
3881
3938
|
StopTimerAction.prototype.equals = function (other) {
|
|
3882
3939
|
if (this === other)
|
|
@@ -3884,7 +3941,7 @@
|
|
|
3884
3941
|
if (!(other instanceof StopTimerAction))
|
|
3885
3942
|
return false;
|
|
3886
3943
|
var tmp0_other_with_cast = other instanceof StopTimerAction ? other : THROW_CCE();
|
|
3887
|
-
if (!equals(this.
|
|
3944
|
+
if (!equals(this.o2r_1, tmp0_other_with_cast.o2r_1))
|
|
3888
3945
|
return false;
|
|
3889
3946
|
return true;
|
|
3890
3947
|
};
|
|
@@ -3892,7 +3949,7 @@
|
|
|
3892
3949
|
Object.defineProperty(StopTimerAction.prototype, 'actionTag', {
|
|
3893
3950
|
configurable: true,
|
|
3894
3951
|
get: function () {
|
|
3895
|
-
return this.
|
|
3952
|
+
return this.h2r();
|
|
3896
3953
|
}
|
|
3897
3954
|
});
|
|
3898
3955
|
function StartTimerAction_init_$Init$(timerTag, delayMillis, initialDelay, type, $mask0, $marker, $this) {
|
|
@@ -3908,31 +3965,31 @@
|
|
|
3908
3965
|
}
|
|
3909
3966
|
function StartTimerAction(timerTag, delayMillis, initialDelay, type) {
|
|
3910
3967
|
TimerAction.call(this);
|
|
3911
|
-
this.
|
|
3912
|
-
this.
|
|
3913
|
-
this.
|
|
3914
|
-
this.
|
|
3968
|
+
this.q2r_1 = timerTag;
|
|
3969
|
+
this.r2r_1 = delayMillis;
|
|
3970
|
+
this.s2r_1 = initialDelay;
|
|
3971
|
+
this.t2r_1 = type;
|
|
3915
3972
|
}
|
|
3916
|
-
StartTimerAction.prototype.
|
|
3917
|
-
return this.
|
|
3973
|
+
StartTimerAction.prototype.p2r = function () {
|
|
3974
|
+
return this.q2r_1;
|
|
3918
3975
|
};
|
|
3919
|
-
StartTimerAction.prototype.
|
|
3920
|
-
return this.
|
|
3976
|
+
StartTimerAction.prototype.u2r = function () {
|
|
3977
|
+
return this.r2r_1;
|
|
3921
3978
|
};
|
|
3922
|
-
StartTimerAction.prototype.
|
|
3923
|
-
return this.
|
|
3979
|
+
StartTimerAction.prototype.v2r = function () {
|
|
3980
|
+
return this.s2r_1;
|
|
3924
3981
|
};
|
|
3925
3982
|
StartTimerAction.prototype.f7 = function () {
|
|
3926
|
-
return this.
|
|
3983
|
+
return this.t2r_1;
|
|
3927
3984
|
};
|
|
3928
3985
|
StartTimerAction.prototype.toString = function () {
|
|
3929
|
-
return 'StartTimerAction(timerTag=' + this.
|
|
3986
|
+
return 'StartTimerAction(timerTag=' + this.q2r_1 + ', delayMillis=' + toString_0(this.r2r_1) + ', initialDelay=' + toString_0(this.s2r_1) + ', type=' + this.t2r_1 + ')';
|
|
3930
3987
|
};
|
|
3931
3988
|
StartTimerAction.prototype.hashCode = function () {
|
|
3932
|
-
var result = hashCode(this.
|
|
3933
|
-
result = imul(result, 31) + this.
|
|
3934
|
-
result = imul(result, 31) + this.
|
|
3935
|
-
result = imul(result, 31) + this.
|
|
3989
|
+
var result = hashCode(this.q2r_1);
|
|
3990
|
+
result = imul(result, 31) + this.r2r_1.hashCode() | 0;
|
|
3991
|
+
result = imul(result, 31) + this.s2r_1.hashCode() | 0;
|
|
3992
|
+
result = imul(result, 31) + this.t2r_1.hashCode() | 0;
|
|
3936
3993
|
return result;
|
|
3937
3994
|
};
|
|
3938
3995
|
StartTimerAction.prototype.equals = function (other) {
|
|
@@ -3941,13 +3998,13 @@
|
|
|
3941
3998
|
if (!(other instanceof StartTimerAction))
|
|
3942
3999
|
return false;
|
|
3943
4000
|
var tmp0_other_with_cast = other instanceof StartTimerAction ? other : THROW_CCE();
|
|
3944
|
-
if (!equals(this.
|
|
4001
|
+
if (!equals(this.q2r_1, tmp0_other_with_cast.q2r_1))
|
|
3945
4002
|
return false;
|
|
3946
|
-
if (!this.
|
|
4003
|
+
if (!this.r2r_1.equals(tmp0_other_with_cast.r2r_1))
|
|
3947
4004
|
return false;
|
|
3948
|
-
if (!this.
|
|
4005
|
+
if (!this.s2r_1.equals(tmp0_other_with_cast.s2r_1))
|
|
3949
4006
|
return false;
|
|
3950
|
-
if (!this.
|
|
4007
|
+
if (!this.t2r_1.equals(tmp0_other_with_cast.t2r_1))
|
|
3951
4008
|
return false;
|
|
3952
4009
|
return true;
|
|
3953
4010
|
};
|
|
@@ -3955,7 +4012,7 @@
|
|
|
3955
4012
|
Object.defineProperty(StartTimerAction.prototype, 'actionTag', {
|
|
3956
4013
|
configurable: true,
|
|
3957
4014
|
get: function () {
|
|
3958
|
-
return this.
|
|
4015
|
+
return this.h2r();
|
|
3959
4016
|
}
|
|
3960
4017
|
});
|
|
3961
4018
|
var TimerType_DELAY_instance;
|
|
@@ -3974,21 +4031,21 @@
|
|
|
3974
4031
|
TimerType.$metadata$ = classMeta('TimerType', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
3975
4032
|
function TimerTickAction(timerTag, type) {
|
|
3976
4033
|
TimerAction.call(this);
|
|
3977
|
-
this.
|
|
3978
|
-
this.
|
|
4034
|
+
this.w2r_1 = timerTag;
|
|
4035
|
+
this.x2r_1 = type;
|
|
3979
4036
|
}
|
|
3980
|
-
TimerTickAction.prototype.
|
|
3981
|
-
return this.
|
|
4037
|
+
TimerTickAction.prototype.p2r = function () {
|
|
4038
|
+
return this.w2r_1;
|
|
3982
4039
|
};
|
|
3983
4040
|
TimerTickAction.prototype.f7 = function () {
|
|
3984
|
-
return this.
|
|
4041
|
+
return this.x2r_1;
|
|
3985
4042
|
};
|
|
3986
4043
|
TimerTickAction.prototype.toString = function () {
|
|
3987
|
-
return 'TimerTickAction(timerTag=' + this.
|
|
4044
|
+
return 'TimerTickAction(timerTag=' + this.w2r_1 + ', type=' + this.x2r_1 + ')';
|
|
3988
4045
|
};
|
|
3989
4046
|
TimerTickAction.prototype.hashCode = function () {
|
|
3990
|
-
var result = hashCode(this.
|
|
3991
|
-
result = imul(result, 31) + this.
|
|
4047
|
+
var result = hashCode(this.w2r_1);
|
|
4048
|
+
result = imul(result, 31) + this.x2r_1.hashCode() | 0;
|
|
3992
4049
|
return result;
|
|
3993
4050
|
};
|
|
3994
4051
|
TimerTickAction.prototype.equals = function (other) {
|
|
@@ -3997,9 +4054,9 @@
|
|
|
3997
4054
|
if (!(other instanceof TimerTickAction))
|
|
3998
4055
|
return false;
|
|
3999
4056
|
var tmp0_other_with_cast = other instanceof TimerTickAction ? other : THROW_CCE();
|
|
4000
|
-
if (!equals(this.
|
|
4057
|
+
if (!equals(this.w2r_1, tmp0_other_with_cast.w2r_1))
|
|
4001
4058
|
return false;
|
|
4002
|
-
if (!this.
|
|
4059
|
+
if (!this.x2r_1.equals(tmp0_other_with_cast.x2r_1))
|
|
4003
4060
|
return false;
|
|
4004
4061
|
return true;
|
|
4005
4062
|
};
|
|
@@ -4007,7 +4064,7 @@
|
|
|
4007
4064
|
Object.defineProperty(TimerTickAction.prototype, 'actionTag', {
|
|
4008
4065
|
configurable: true,
|
|
4009
4066
|
get: function () {
|
|
4010
|
-
return this.
|
|
4067
|
+
return this.h2r();
|
|
4011
4068
|
}
|
|
4012
4069
|
});
|
|
4013
4070
|
function TimerAction() {
|
|
@@ -4016,7 +4073,7 @@
|
|
|
4016
4073
|
Object.defineProperty(TimerAction.prototype, 'actionTag', {
|
|
4017
4074
|
configurable: true,
|
|
4018
4075
|
get: function () {
|
|
4019
|
-
return this.
|
|
4076
|
+
return this.h2r();
|
|
4020
4077
|
}
|
|
4021
4078
|
});
|
|
4022
4079
|
function TimerType_DELAY_getInstance() {
|
|
@@ -4045,7 +4102,7 @@
|
|
|
4045
4102
|
var tmp_0;
|
|
4046
4103
|
if ($p instanceof Exception) {
|
|
4047
4104
|
var tmp_1 = 'StoreEnhancer error: ' + $p;
|
|
4048
|
-
$logger.
|
|
4105
|
+
$logger.h2q('StoreEnhancer', tmp_1, $p, null, 8, null);
|
|
4049
4106
|
tmp_0 = Unit_getInstance();
|
|
4050
4107
|
} else {
|
|
4051
4108
|
throw $p;
|
|
@@ -4073,7 +4130,7 @@
|
|
|
4073
4130
|
}
|
|
4074
4131
|
function applyMiddleware$lambda$lambda$lambda$lambda($tmp0__anonymous__1nv1x1, $store, $tmp1__anonymous__6ijp4k) {
|
|
4075
4132
|
return function (action) {
|
|
4076
|
-
$tmp0__anonymous__1nv1x1.
|
|
4133
|
+
$tmp0__anonymous__1nv1x1.j2r($store, $tmp1__anonymous__6ijp4k, action);
|
|
4077
4134
|
return Unit_getInstance();
|
|
4078
4135
|
};
|
|
4079
4136
|
}
|
|
@@ -4092,7 +4149,7 @@
|
|
|
4092
4149
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4093
4150
|
var tmp$ret$0;
|
|
4094
4151
|
// Inline function 'com.logic.redux.enhancers.applyMiddleware.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
4095
|
-
tmp$ret$0 = element.
|
|
4152
|
+
tmp$ret$0 = element.i2r(action);
|
|
4096
4153
|
if (tmp$ret$0) {
|
|
4097
4154
|
tmp0_filterTo.a(element);
|
|
4098
4155
|
}
|
|
@@ -4140,9 +4197,9 @@
|
|
|
4140
4197
|
return tmp$ret$0;
|
|
4141
4198
|
}
|
|
4142
4199
|
function timerMiddleware$o$handle$slambda$slambda($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4143
|
-
this.
|
|
4144
|
-
this.
|
|
4145
|
-
this.
|
|
4200
|
+
this.g2s_1 = $jobsProvider;
|
|
4201
|
+
this.h2s_1 = $tmp0__anonymous__1nv1x1;
|
|
4202
|
+
this.i2s_1 = $store;
|
|
4146
4203
|
CoroutineImpl.call(this, resultContinuation);
|
|
4147
4204
|
}
|
|
4148
4205
|
timerMiddleware$o$handle$slambda$slambda.prototype.j16 = function ($this$launchStore, $cont) {
|
|
@@ -4161,8 +4218,8 @@
|
|
|
4161
4218
|
var tmp = this.mj_1;
|
|
4162
4219
|
if (tmp === 0) {
|
|
4163
4220
|
this.nj_1 = 1;
|
|
4164
|
-
if (this.
|
|
4165
|
-
this.
|
|
4221
|
+
if (this.g2s_1.v2q(this.h2s_1.p2r())) {
|
|
4222
|
+
this.i2s_1.dispatch(new TimerTickAction(this.h2s_1.p2r(), TimerType_DELAY_getInstance()));
|
|
4166
4223
|
}
|
|
4167
4224
|
return Unit_getInstance();
|
|
4168
4225
|
} else if (tmp === 1) {
|
|
@@ -4174,8 +4231,8 @@
|
|
|
4174
4231
|
while (true);
|
|
4175
4232
|
};
|
|
4176
4233
|
timerMiddleware$o$handle$slambda$slambda.prototype.k16 = function ($this$launchStore, completion) {
|
|
4177
|
-
var i = new timerMiddleware$o$handle$slambda$slambda(this.
|
|
4178
|
-
i.
|
|
4234
|
+
var i = new timerMiddleware$o$handle$slambda$slambda(this.g2s_1, this.h2s_1, this.i2s_1, completion);
|
|
4235
|
+
i.j2s_1 = $this$launchStore;
|
|
4179
4236
|
return i;
|
|
4180
4237
|
};
|
|
4181
4238
|
timerMiddleware$o$handle$slambda$slambda.$metadata$ = classMeta('timerMiddleware$o$handle$slambda$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -4188,9 +4245,9 @@
|
|
|
4188
4245
|
return l;
|
|
4189
4246
|
}
|
|
4190
4247
|
function timerMiddleware$o$handle$slambda$slambda_1($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4191
|
-
this.
|
|
4192
|
-
this.
|
|
4193
|
-
this.
|
|
4248
|
+
this.s2s_1 = $jobsProvider;
|
|
4249
|
+
this.t2s_1 = $tmp0__anonymous__1nv1x1;
|
|
4250
|
+
this.u2s_1 = $store;
|
|
4194
4251
|
CoroutineImpl.call(this, resultContinuation);
|
|
4195
4252
|
}
|
|
4196
4253
|
timerMiddleware$o$handle$slambda$slambda_1.prototype.j16 = function ($this$launchStore, $cont) {
|
|
@@ -4209,8 +4266,8 @@
|
|
|
4209
4266
|
var tmp = this.mj_1;
|
|
4210
4267
|
if (tmp === 0) {
|
|
4211
4268
|
this.nj_1 = 1;
|
|
4212
|
-
if (this.
|
|
4213
|
-
this.
|
|
4269
|
+
if (this.s2s_1.v2q(this.t2s_1.p2r())) {
|
|
4270
|
+
this.u2s_1.dispatch(new TimerTickAction(this.t2s_1.p2r(), TimerType_INTERVAL_getInstance()));
|
|
4214
4271
|
}
|
|
4215
4272
|
return Unit_getInstance();
|
|
4216
4273
|
} else if (tmp === 1) {
|
|
@@ -4222,8 +4279,8 @@
|
|
|
4222
4279
|
while (true);
|
|
4223
4280
|
};
|
|
4224
4281
|
timerMiddleware$o$handle$slambda$slambda_1.prototype.k16 = function ($this$launchStore, completion) {
|
|
4225
|
-
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.
|
|
4226
|
-
i.
|
|
4282
|
+
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.s2s_1, this.t2s_1, this.u2s_1, completion);
|
|
4283
|
+
i.v2s_1 = $this$launchStore;
|
|
4227
4284
|
return i;
|
|
4228
4285
|
};
|
|
4229
4286
|
timerMiddleware$o$handle$slambda$slambda_1.$metadata$ = classMeta('timerMiddleware$o$handle$slambda$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -4236,10 +4293,10 @@
|
|
|
4236
4293
|
return l;
|
|
4237
4294
|
}
|
|
4238
4295
|
function timerMiddleware$o$handle$slambda($tmp0__anonymous__1nv1x1, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
4239
|
-
this.
|
|
4240
|
-
this.
|
|
4241
|
-
this.
|
|
4242
|
-
this.
|
|
4296
|
+
this.e2t_1 = $tmp0__anonymous__1nv1x1;
|
|
4297
|
+
this.f2t_1 = $asyncProvider;
|
|
4298
|
+
this.g2t_1 = $jobsProvider;
|
|
4299
|
+
this.h2t_1 = $store;
|
|
4243
4300
|
CoroutineImpl.call(this, resultContinuation);
|
|
4244
4301
|
}
|
|
4245
4302
|
timerMiddleware$o$handle$slambda.prototype.j16 = function ($this$launchWorker, $cont) {
|
|
@@ -4259,9 +4316,9 @@
|
|
|
4259
4316
|
switch (tmp) {
|
|
4260
4317
|
case 0:
|
|
4261
4318
|
this.nj_1 = 10;
|
|
4262
|
-
if (!this.
|
|
4319
|
+
if (!this.e2t_1.s2r_1.equals(new Long(0, 0)) ? this.e2t_1.t2r_1.equals(TimerType_INTERVAL_getInstance()) : false) {
|
|
4263
4320
|
this.mj_1 = 1;
|
|
4264
|
-
suspendResult = delay(this.
|
|
4321
|
+
suspendResult = delay(this.e2t_1.s2r_1, this);
|
|
4265
4322
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4266
4323
|
return suspendResult;
|
|
4267
4324
|
}
|
|
@@ -4276,20 +4333,20 @@
|
|
|
4276
4333
|
this.mj_1 = 2;
|
|
4277
4334
|
continue $sm;
|
|
4278
4335
|
case 2:
|
|
4279
|
-
this.
|
|
4280
|
-
this.
|
|
4281
|
-
if (this.
|
|
4336
|
+
this.j2t_1 = this.e2t_1.t2r_1;
|
|
4337
|
+
this.k2t_1 = this.j2t_1.e5_1;
|
|
4338
|
+
if (this.k2t_1 === 0) {
|
|
4282
4339
|
this.mj_1 = 8;
|
|
4283
|
-
suspendResult = delay(this.
|
|
4340
|
+
suspendResult = delay(this.e2t_1.r2r_1, this);
|
|
4284
4341
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4285
4342
|
return suspendResult;
|
|
4286
4343
|
}
|
|
4287
4344
|
continue $sm;
|
|
4288
4345
|
} else {
|
|
4289
|
-
if (this.
|
|
4290
|
-
if (!this.
|
|
4346
|
+
if (this.k2t_1 === 1) {
|
|
4347
|
+
if (!this.e2t_1.s2r_1.equals(new Long(0, 0))) {
|
|
4291
4348
|
this.mj_1 = 3;
|
|
4292
|
-
suspendResult = delay(this.
|
|
4349
|
+
suspendResult = delay(this.e2t_1.s2r_1, this);
|
|
4293
4350
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4294
4351
|
return suspendResult;
|
|
4295
4352
|
}
|
|
@@ -4312,15 +4369,15 @@
|
|
|
4312
4369
|
this.mj_1 = 5;
|
|
4313
4370
|
continue $sm;
|
|
4314
4371
|
case 5:
|
|
4315
|
-
if (!get_isActive(this.
|
|
4372
|
+
if (!get_isActive(this.i2t_1)) {
|
|
4316
4373
|
this.mj_1 = 7;
|
|
4317
4374
|
continue $sm;
|
|
4318
4375
|
}
|
|
4319
4376
|
|
|
4320
|
-
this.
|
|
4377
|
+
this.f2t_1.o2q(null, timerMiddleware$o$handle$slambda$slambda_2(this.g2t_1, this.e2t_1, this.h2t_1, null), 1, null);
|
|
4321
4378
|
;
|
|
4322
4379
|
this.mj_1 = 6;
|
|
4323
|
-
suspendResult = delay(this.
|
|
4380
|
+
suspendResult = delay(this.e2t_1.s2r_1, this);
|
|
4324
4381
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4325
4382
|
return suspendResult;
|
|
4326
4383
|
}
|
|
@@ -4333,7 +4390,7 @@
|
|
|
4333
4390
|
this.mj_1 = 9;
|
|
4334
4391
|
continue $sm;
|
|
4335
4392
|
case 8:
|
|
4336
|
-
this.
|
|
4393
|
+
this.f2t_1.o2q(null, timerMiddleware$o$handle$slambda$slambda_0(this.g2t_1, this.e2t_1, this.h2t_1, null), 1, null);
|
|
4337
4394
|
;
|
|
4338
4395
|
this.mj_1 = 9;
|
|
4339
4396
|
continue $sm;
|
|
@@ -4353,8 +4410,8 @@
|
|
|
4353
4410
|
while (true);
|
|
4354
4411
|
};
|
|
4355
4412
|
timerMiddleware$o$handle$slambda.prototype.k16 = function ($this$launchWorker, completion) {
|
|
4356
|
-
var i = new timerMiddleware$o$handle$slambda(this.
|
|
4357
|
-
i.
|
|
4413
|
+
var i = new timerMiddleware$o$handle$slambda(this.e2t_1, this.f2t_1, this.g2t_1, this.h2t_1, completion);
|
|
4414
|
+
i.i2t_1 = $this$launchWorker;
|
|
4358
4415
|
return i;
|
|
4359
4416
|
};
|
|
4360
4417
|
timerMiddleware$o$handle$slambda.$metadata$ = classMeta('timerMiddleware$o$handle$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -4367,34 +4424,34 @@
|
|
|
4367
4424
|
return l;
|
|
4368
4425
|
}
|
|
4369
4426
|
function _no_name_provided__qut3iv_0($asyncProvider, $jobsProvider) {
|
|
4370
|
-
this.
|
|
4371
|
-
this.
|
|
4427
|
+
this.l2t_1 = $asyncProvider;
|
|
4428
|
+
this.m2t_1 = $jobsProvider;
|
|
4372
4429
|
}
|
|
4373
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4430
|
+
_no_name_provided__qut3iv_0.prototype.i2r = function (action) {
|
|
4374
4431
|
return action instanceof TimerAction;
|
|
4375
4432
|
};
|
|
4376
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4433
|
+
_no_name_provided__qut3iv_0.prototype.n2t = function (store, next, action) {
|
|
4377
4434
|
// Inline function 'com.logic.redux.middlewares.timers.timerMiddleware.<anonymous>' call
|
|
4378
4435
|
var tmp0__anonymous__q1qw7t = action instanceof TimerAction ? action : THROW_CCE();
|
|
4379
4436
|
var tmp0_subject = tmp0__anonymous__q1qw7t;
|
|
4380
4437
|
if (tmp0_subject instanceof StartTimerAction) {
|
|
4381
|
-
var job = this.
|
|
4382
|
-
this.
|
|
4438
|
+
var job = this.l2t_1.q2q(null, timerMiddleware$o$handle$slambda_0(tmp0__anonymous__q1qw7t, this.l2t_1, this.m2t_1, store, null), 1, null);
|
|
4439
|
+
this.m2t_1.t2q(tmp0__anonymous__q1qw7t.p2r(), job);
|
|
4383
4440
|
} else {
|
|
4384
4441
|
if (tmp0_subject instanceof StopTimerAction) {
|
|
4385
|
-
this.
|
|
4442
|
+
this.m2t_1.y2q(tmp0__anonymous__q1qw7t.p2r());
|
|
4386
4443
|
} else {
|
|
4387
4444
|
if (tmp0_subject instanceof TimerTickAction) {
|
|
4388
|
-
if (tmp0__anonymous__q1qw7t.
|
|
4389
|
-
this.
|
|
4445
|
+
if (tmp0__anonymous__q1qw7t.x2r_1.equals(TimerType_DELAY_getInstance())) {
|
|
4446
|
+
this.m2t_1.w2q(tmp0__anonymous__q1qw7t.p2r());
|
|
4390
4447
|
}
|
|
4391
4448
|
}
|
|
4392
4449
|
}
|
|
4393
4450
|
}
|
|
4394
4451
|
next(tmp0__anonymous__q1qw7t);
|
|
4395
4452
|
};
|
|
4396
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4397
|
-
return this.
|
|
4453
|
+
_no_name_provided__qut3iv_0.prototype.j2r = function (store, next, action) {
|
|
4454
|
+
return this.n2t(store, next, action);
|
|
4398
4455
|
};
|
|
4399
4456
|
_no_name_provided__qut3iv_0.$metadata$ = classMeta(undefined, [Middleware]);
|
|
4400
4457
|
function enumToString(_this__u8e3s4, mapping) {
|
|
@@ -4536,13 +4593,13 @@
|
|
|
4536
4593
|
_this__u8e3s4.m3(index, newValue);
|
|
4537
4594
|
return _this__u8e3s4;
|
|
4538
4595
|
}
|
|
4539
|
-
function sortWithItem(_this__u8e3s4, item) {
|
|
4540
|
-
return sortWithPosition(_this__u8e3s4, _this__u8e3s4.t2(item));
|
|
4541
|
-
}
|
|
4542
4596
|
function nextTo_0(_this__u8e3s4, predicate) {
|
|
4543
4597
|
var nextItemIndex = findItemIndex(_this__u8e3s4, predicate) + 1 | 0;
|
|
4544
4598
|
return nextItemIndex > get_lastIndex(_this__u8e3s4) ? _this__u8e3s4.j(0) : _this__u8e3s4.j(nextItemIndex);
|
|
4545
4599
|
}
|
|
4600
|
+
function sortWithItem(_this__u8e3s4, item) {
|
|
4601
|
+
return sortWithPosition(_this__u8e3s4, _this__u8e3s4.t2(item));
|
|
4602
|
+
}
|
|
4546
4603
|
function sortWithPosition(_this__u8e3s4, position) {
|
|
4547
4604
|
var tmp$ret$0;
|
|
4548
4605
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
@@ -4578,24 +4635,24 @@
|
|
|
4578
4635
|
Category_NONE_instance = new Category('NONE', 1, true);
|
|
4579
4636
|
}
|
|
4580
4637
|
function generateTag($this, tag) {
|
|
4581
|
-
return (!($this.
|
|
4638
|
+
return (!($this.u2t_1 == null) ? !(tag == null) : false) ? '' + $this.u2t_1 + ':' + tag : tag;
|
|
4582
4639
|
}
|
|
4583
4640
|
function Category(name, ordinal, isEnabled) {
|
|
4584
4641
|
Enum.call(this, name, ordinal);
|
|
4585
|
-
this.
|
|
4642
|
+
this.x2t_1 = isEnabled;
|
|
4586
4643
|
}
|
|
4587
4644
|
Category.$metadata$ = classMeta('Category', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
4588
4645
|
function Logger$loggerSource$1() {
|
|
4589
|
-
this.
|
|
4646
|
+
this.y2t_1 = new PlatformLogger();
|
|
4590
4647
|
}
|
|
4591
|
-
Logger$loggerSource$1.prototype.
|
|
4592
|
-
this.
|
|
4648
|
+
Logger$loggerSource$1.prototype.z2t = function (tag, msg) {
|
|
4649
|
+
this.y2t_1.z2t(tag, msg);
|
|
4593
4650
|
};
|
|
4594
|
-
Logger$loggerSource$1.prototype.
|
|
4595
|
-
this.
|
|
4651
|
+
Logger$loggerSource$1.prototype.a2u = function (tag, msg, exception) {
|
|
4652
|
+
this.y2t_1.a2u(tag, msg, exception);
|
|
4596
4653
|
};
|
|
4597
|
-
Logger$loggerSource$1.prototype.
|
|
4598
|
-
this.
|
|
4654
|
+
Logger$loggerSource$1.prototype.b2u = function (tag, msg) {
|
|
4655
|
+
this.y2t_1.b2u(tag, msg);
|
|
4599
4656
|
};
|
|
4600
4657
|
Logger$loggerSource$1.$metadata$ = classMeta(undefined, [LoggerSource]);
|
|
4601
4658
|
function Category_NONE_getInstance() {
|
|
@@ -4605,42 +4662,42 @@
|
|
|
4605
4662
|
function Logger() {
|
|
4606
4663
|
Logger_instance = this;
|
|
4607
4664
|
var tmp = this;
|
|
4608
|
-
tmp.
|
|
4609
|
-
this.
|
|
4610
|
-
this.
|
|
4665
|
+
tmp.s2t_1 = new Logger$loggerSource$1();
|
|
4666
|
+
this.t2t_1 = true;
|
|
4667
|
+
this.u2t_1 = null;
|
|
4611
4668
|
}
|
|
4612
|
-
Logger.prototype.
|
|
4613
|
-
this.
|
|
4669
|
+
Logger.prototype.c2u = function (tag, message) {
|
|
4670
|
+
this.d2u(tag, message, Category_NONE_getInstance());
|
|
4614
4671
|
};
|
|
4615
|
-
Logger.prototype.
|
|
4616
|
-
if (this.
|
|
4617
|
-
this.
|
|
4672
|
+
Logger.prototype.e2u = function (tag, message, category) {
|
|
4673
|
+
if (this.t2t_1 ? category.x2t_1 : false) {
|
|
4674
|
+
this.s2t_1.b2u(generateTag(this, tag), message);
|
|
4618
4675
|
}
|
|
4619
4676
|
};
|
|
4620
|
-
Logger.prototype.
|
|
4677
|
+
Logger.prototype.f2u = function (tag, message, category, $mask0, $handler) {
|
|
4621
4678
|
if (!(($mask0 & 1) === 0))
|
|
4622
4679
|
tag = null;
|
|
4623
4680
|
if (!(($mask0 & 4) === 0))
|
|
4624
4681
|
category = Category_NONE_getInstance();
|
|
4625
|
-
return this.
|
|
4682
|
+
return this.e2u(tag, message, category);
|
|
4626
4683
|
};
|
|
4627
|
-
Logger.prototype.
|
|
4628
|
-
if (this.
|
|
4629
|
-
this.
|
|
4684
|
+
Logger.prototype.d2u = function (tag, message, category) {
|
|
4685
|
+
if (this.t2t_1 ? category.x2t_1 : false) {
|
|
4686
|
+
this.s2t_1.z2t(generateTag(this, tag), message);
|
|
4630
4687
|
}
|
|
4631
4688
|
};
|
|
4632
|
-
Logger.prototype.
|
|
4633
|
-
if (this.
|
|
4689
|
+
Logger.prototype.g2u = function (tag, message, exception, category) {
|
|
4690
|
+
if (this.t2t_1 ? category.x2t_1 : false) {
|
|
4634
4691
|
var tmp0_safe_receiver = exception;
|
|
4635
4692
|
if (tmp0_safe_receiver == null)
|
|
4636
4693
|
null;
|
|
4637
4694
|
else {
|
|
4638
4695
|
printStackTrace(tmp0_safe_receiver);
|
|
4639
4696
|
}
|
|
4640
|
-
this.
|
|
4697
|
+
this.s2t_1.a2u(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
4641
4698
|
}
|
|
4642
4699
|
};
|
|
4643
|
-
Logger.prototype.
|
|
4700
|
+
Logger.prototype.h2u = function (tag, message, exception, category, $mask0, $handler) {
|
|
4644
4701
|
if (!(($mask0 & 1) === 0))
|
|
4645
4702
|
tag = null;
|
|
4646
4703
|
if (!(($mask0 & 2) === 0))
|
|
@@ -4649,7 +4706,7 @@
|
|
|
4649
4706
|
exception = null;
|
|
4650
4707
|
if (!(($mask0 & 8) === 0))
|
|
4651
4708
|
category = Category_NONE_getInstance();
|
|
4652
|
-
return this.
|
|
4709
|
+
return this.g2u(tag, message, exception, category);
|
|
4653
4710
|
};
|
|
4654
4711
|
Logger.$metadata$ = objectMeta('Logger');
|
|
4655
4712
|
var Logger_instance;
|
|
@@ -4689,36 +4746,36 @@
|
|
|
4689
4746
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
4690
4747
|
}
|
|
4691
4748
|
function CombinedGameLogger(logOutputs) {
|
|
4692
|
-
this.
|
|
4749
|
+
this.i2u_1 = logOutputs;
|
|
4693
4750
|
}
|
|
4694
|
-
CombinedGameLogger.prototype.
|
|
4751
|
+
CombinedGameLogger.prototype.o2t = function (tag, message, payload) {
|
|
4695
4752
|
// Inline function 'kotlin.collections.forEach' call
|
|
4696
|
-
var tmp0_forEach = this.
|
|
4753
|
+
var tmp0_forEach = this.i2u_1;
|
|
4697
4754
|
var tmp0_iterator = tmp0_forEach.f();
|
|
4698
4755
|
while (tmp0_iterator.g()) {
|
|
4699
4756
|
var element = tmp0_iterator.h();
|
|
4700
4757
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.d.<anonymous>' call
|
|
4701
|
-
element.
|
|
4758
|
+
element.o2t(tag, message, payload);
|
|
4702
4759
|
}
|
|
4703
4760
|
};
|
|
4704
|
-
CombinedGameLogger.prototype.
|
|
4761
|
+
CombinedGameLogger.prototype.q2t = function (tag, message, exception, payload) {
|
|
4705
4762
|
// Inline function 'kotlin.collections.forEach' call
|
|
4706
|
-
var tmp0_forEach = this.
|
|
4763
|
+
var tmp0_forEach = this.i2u_1;
|
|
4707
4764
|
var tmp0_iterator = tmp0_forEach.f();
|
|
4708
4765
|
while (tmp0_iterator.g()) {
|
|
4709
4766
|
var element = tmp0_iterator.h();
|
|
4710
4767
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.e.<anonymous>' call
|
|
4711
|
-
element.
|
|
4768
|
+
element.q2t(tag, message, exception, payload);
|
|
4712
4769
|
}
|
|
4713
4770
|
};
|
|
4714
|
-
CombinedGameLogger.prototype.
|
|
4771
|
+
CombinedGameLogger.prototype.r2t = function (tag, message, payload) {
|
|
4715
4772
|
// Inline function 'kotlin.collections.forEach' call
|
|
4716
|
-
var tmp0_forEach = this.
|
|
4773
|
+
var tmp0_forEach = this.i2u_1;
|
|
4717
4774
|
var tmp0_iterator = tmp0_forEach.f();
|
|
4718
4775
|
while (tmp0_iterator.g()) {
|
|
4719
4776
|
var element = tmp0_iterator.h();
|
|
4720
4777
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.w.<anonymous>' call
|
|
4721
|
-
element.
|
|
4778
|
+
element.r2t(tag, message, payload);
|
|
4722
4779
|
}
|
|
4723
4780
|
};
|
|
4724
4781
|
CombinedGameLogger.$metadata$ = classMeta('CombinedGameLogger', [GameLogger]);
|
|
@@ -4728,16 +4785,16 @@
|
|
|
4728
4785
|
function PlatformGameLogger() {
|
|
4729
4786
|
PlatformGameLogger_instance = this;
|
|
4730
4787
|
}
|
|
4731
|
-
PlatformGameLogger.prototype.
|
|
4732
|
-
Logger_getInstance().
|
|
4788
|
+
PlatformGameLogger.prototype.o2t = function (tag, message, payload) {
|
|
4789
|
+
Logger_getInstance().c2u(tag, message);
|
|
4733
4790
|
};
|
|
4734
|
-
PlatformGameLogger.prototype.
|
|
4791
|
+
PlatformGameLogger.prototype.q2t = function (tag, message, exception, payload) {
|
|
4735
4792
|
var tmp = Logger_getInstance();
|
|
4736
|
-
tmp.
|
|
4793
|
+
tmp.h2u(tag, message, exception, null, 8, null);
|
|
4737
4794
|
};
|
|
4738
|
-
PlatformGameLogger.prototype.
|
|
4795
|
+
PlatformGameLogger.prototype.r2t = function (tag, message, payload) {
|
|
4739
4796
|
var tmp = Logger_getInstance();
|
|
4740
|
-
tmp.
|
|
4797
|
+
tmp.f2u(tag, message, null, 4, null);
|
|
4741
4798
|
};
|
|
4742
4799
|
PlatformGameLogger.$metadata$ = objectMeta('PlatformGameLogger', [GameLogger]);
|
|
4743
4800
|
var PlatformGameLogger_instance;
|
|
@@ -4748,17 +4805,17 @@
|
|
|
4748
4805
|
}
|
|
4749
4806
|
function PlatformLogger() {
|
|
4750
4807
|
}
|
|
4751
|
-
PlatformLogger.prototype.
|
|
4808
|
+
PlatformLogger.prototype.z2t = function (tag, msg) {
|
|
4752
4809
|
console.log(getLogTag(tag) + ': ' + msg);
|
|
4753
4810
|
};
|
|
4754
|
-
PlatformLogger.prototype.
|
|
4811
|
+
PlatformLogger.prototype.a2u = function (tag, msg, exception) {
|
|
4755
4812
|
if (!(exception == null)) {
|
|
4756
4813
|
console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + exception);
|
|
4757
4814
|
} else {
|
|
4758
4815
|
console.error(getLogTag(tag) + ': ' + msg);
|
|
4759
4816
|
}
|
|
4760
4817
|
};
|
|
4761
|
-
PlatformLogger.prototype.
|
|
4818
|
+
PlatformLogger.prototype.b2u = function (tag, msg) {
|
|
4762
4819
|
console.warn(getLogTag(tag) + ': ' + msg);
|
|
4763
4820
|
};
|
|
4764
4821
|
PlatformLogger.$metadata$ = classMeta('PlatformLogger');
|
|
@@ -4775,25 +4832,25 @@
|
|
|
4775
4832
|
_no_name_provided__qut3iv.prototype.x4 = fold;
|
|
4776
4833
|
_no_name_provided__qut3iv.prototype.w4 = minusKey;
|
|
4777
4834
|
_no_name_provided__qut3iv.prototype.y4 = plus;
|
|
4778
|
-
AsyncProviderImpl.prototype.
|
|
4779
|
-
AsyncProviderImpl.prototype.
|
|
4780
|
-
middleware$1.prototype.
|
|
4781
|
-
combineReducers$1.prototype.
|
|
4782
|
-
StoreLifecycleAction.prototype.
|
|
4783
|
-
INIT.prototype.
|
|
4784
|
-
REPLACE.prototype.
|
|
4785
|
-
TimerAction.prototype.
|
|
4786
|
-
StopTimerAction.prototype.
|
|
4835
|
+
AsyncProviderImpl.prototype.o2q = launchStore$default;
|
|
4836
|
+
AsyncProviderImpl.prototype.q2q = launchWorker$default;
|
|
4837
|
+
middleware$1.prototype.i2r = canHandle;
|
|
4838
|
+
combineReducers$1.prototype.i2r = canHandle_0;
|
|
4839
|
+
StoreLifecycleAction.prototype.h2r = get_actionTag;
|
|
4840
|
+
INIT.prototype.h2r = get_actionTag;
|
|
4841
|
+
REPLACE.prototype.h2r = get_actionTag;
|
|
4842
|
+
TimerAction.prototype.h2r = get_actionTag;
|
|
4843
|
+
StopTimerAction.prototype.h2r = get_actionTag;
|
|
4787
4844
|
StopTimerAction.prototype.notValidateWhenFinishing = notValidateWhenFinishing;
|
|
4788
4845
|
StopTimerAction.prototype.notValidateWhenFinished = notValidateWhenFinished;
|
|
4789
|
-
StartTimerAction.prototype.
|
|
4790
|
-
TimerTickAction.prototype.
|
|
4791
|
-
CombinedGameLogger.prototype.
|
|
4792
|
-
CombinedGameLogger.prototype.
|
|
4793
|
-
CombinedGameLogger.prototype.
|
|
4794
|
-
PlatformGameLogger.prototype.
|
|
4795
|
-
PlatformGameLogger.prototype.
|
|
4796
|
-
PlatformGameLogger.prototype.
|
|
4846
|
+
StartTimerAction.prototype.h2r = get_actionTag;
|
|
4847
|
+
TimerTickAction.prototype.h2r = get_actionTag;
|
|
4848
|
+
CombinedGameLogger.prototype.p2t = d$default;
|
|
4849
|
+
CombinedGameLogger.prototype.h2q = e$default;
|
|
4850
|
+
CombinedGameLogger.prototype.u2q = w$default;
|
|
4851
|
+
PlatformGameLogger.prototype.p2t = d$default;
|
|
4852
|
+
PlatformGameLogger.prototype.h2q = e$default;
|
|
4853
|
+
PlatformGameLogger.prototype.u2q = w$default;
|
|
4797
4854
|
//endregion
|
|
4798
4855
|
//region block: exports
|
|
4799
4856
|
function $jsExportAll$(_) {
|
|
@@ -4935,116 +4992,118 @@
|
|
|
4935
4992
|
_.$_$ = _.$_$ || {};
|
|
4936
4993
|
_.$_$.a = MechanicException;
|
|
4937
4994
|
_.$_$.b = PlayerIdContract;
|
|
4938
|
-
_.$_$.c =
|
|
4939
|
-
_.$_$.d =
|
|
4940
|
-
_.$_$.e =
|
|
4941
|
-
_.$_$.f =
|
|
4942
|
-
_.$_$.g =
|
|
4943
|
-
_.$_$.h =
|
|
4944
|
-
_.$_$.i =
|
|
4945
|
-
_.$_$.j =
|
|
4946
|
-
_.$_$.k =
|
|
4947
|
-
_.$_$.l =
|
|
4948
|
-
_.$_$.m =
|
|
4949
|
-
_.$_$.n =
|
|
4950
|
-
_.$_$.o =
|
|
4951
|
-
_.$_$.p =
|
|
4952
|
-
_.$_$.q =
|
|
4953
|
-
_.$_$.r =
|
|
4954
|
-
_.$_$.s =
|
|
4955
|
-
_.$_$.t =
|
|
4956
|
-
_.$_$.u =
|
|
4957
|
-
_.$_$.v =
|
|
4958
|
-
_.$_$.w =
|
|
4959
|
-
_.$_$.x =
|
|
4960
|
-
_.$_$.y =
|
|
4961
|
-
_.$_$.z =
|
|
4962
|
-
_.$_$.a1 =
|
|
4963
|
-
_.$_$.b1 =
|
|
4964
|
-
_.$_$.c1 =
|
|
4965
|
-
_.$_$.d1 =
|
|
4966
|
-
_.$_$.e1 =
|
|
4967
|
-
_.$_$.f1 =
|
|
4968
|
-
_.$_$.g1 =
|
|
4969
|
-
_.$_$.h1 =
|
|
4970
|
-
_.$_$.i1 =
|
|
4971
|
-
_.$_$.j1 =
|
|
4972
|
-
_.$_$.k1 =
|
|
4973
|
-
_.$_$.l1 =
|
|
4974
|
-
_.$_$.m1 =
|
|
4975
|
-
_.$_$.n1 =
|
|
4976
|
-
_.$_$.o1 =
|
|
4977
|
-
_.$_$.p1 =
|
|
4978
|
-
_.$_$.q1 =
|
|
4979
|
-
_.$_$.r1 =
|
|
4980
|
-
_.$_$.s1 =
|
|
4981
|
-
_.$_$.t1 =
|
|
4982
|
-
_.$_$.u1 =
|
|
4983
|
-
_.$_$.v1 =
|
|
4984
|
-
_.$_$.w1 =
|
|
4985
|
-
_.$_$.x1 =
|
|
4986
|
-
_.$_$.y1 =
|
|
4987
|
-
_.$_$.z1 =
|
|
4988
|
-
_.$_$.a2 =
|
|
4989
|
-
_.$_$.b2 =
|
|
4990
|
-
_.$_$.c2 =
|
|
4991
|
-
_.$_$.d2 =
|
|
4992
|
-
_.$_$.e2 =
|
|
4993
|
-
_.$_$.f2 =
|
|
4994
|
-
_.$_$.g2 =
|
|
4995
|
-
_.$_$.h2 =
|
|
4996
|
-
_.$_$.i2 =
|
|
4997
|
-
_.$_$.j2 =
|
|
4998
|
-
_.$_$.k2 =
|
|
4999
|
-
_.$_$.l2 =
|
|
5000
|
-
_.$_$.m2 =
|
|
5001
|
-
_.$_$.n2 =
|
|
5002
|
-
_.$_$.o2 =
|
|
5003
|
-
_.$_$.p2 =
|
|
5004
|
-
_.$_$.q2 =
|
|
5005
|
-
_.$_$.r2 =
|
|
5006
|
-
_.$_$.s2 =
|
|
5007
|
-
_.$_$.t2 =
|
|
5008
|
-
_.$_$.u2 =
|
|
5009
|
-
_.$_$.v2 =
|
|
5010
|
-
_.$_$.w2 =
|
|
5011
|
-
_.$_$.x2 =
|
|
5012
|
-
_.$_$.y2 =
|
|
5013
|
-
_.$_$.z2 =
|
|
5014
|
-
_.$_$.a3 =
|
|
5015
|
-
_.$_$.b3 =
|
|
5016
|
-
_.$_$.c3 =
|
|
5017
|
-
_.$_$.d3 =
|
|
5018
|
-
_.$_$.e3 =
|
|
5019
|
-
_.$_$.f3 =
|
|
5020
|
-
_.$_$.g3 =
|
|
5021
|
-
_.$_$.h3 =
|
|
5022
|
-
_.$_$.i3 =
|
|
5023
|
-
_.$_$.j3 =
|
|
5024
|
-
_.$_$.k3 =
|
|
5025
|
-
_.$_$.l3 =
|
|
5026
|
-
_.$_$.m3 =
|
|
5027
|
-
_.$_$.n3 =
|
|
5028
|
-
_.$_$.o3 =
|
|
5029
|
-
_.$_$.p3 =
|
|
5030
|
-
_.$_$.q3 =
|
|
5031
|
-
_.$_$.r3 =
|
|
5032
|
-
_.$_$.s3 =
|
|
5033
|
-
_.$_$.t3 =
|
|
5034
|
-
_.$_$.u3 =
|
|
5035
|
-
_.$_$.v3 =
|
|
5036
|
-
_.$_$.w3 =
|
|
5037
|
-
_.$_$.x3 = $
|
|
5038
|
-
_.$_$.y3 =
|
|
5039
|
-
_.$_$.z3 =
|
|
5040
|
-
_.$_$.a4 =
|
|
5041
|
-
_.$_$.b4 =
|
|
5042
|
-
_.$_$.c4 =
|
|
5043
|
-
_.$_$.d4 =
|
|
5044
|
-
_.$_$.e4 =
|
|
5045
|
-
_.$_$.f4 =
|
|
5046
|
-
_.$_$.g4 =
|
|
5047
|
-
_.$_$.h4 =
|
|
4995
|
+
_.$_$.c = PlayerIndexContract;
|
|
4996
|
+
_.$_$.d = Player;
|
|
4997
|
+
_.$_$.e = Team;
|
|
4998
|
+
_.$_$.f = get_byIdPlayerPredicate;
|
|
4999
|
+
_.$_$.g = filterByPlayerId;
|
|
5000
|
+
_.$_$.h = filterPlayerTurn;
|
|
5001
|
+
_.$_$.i = getPlayerIndex;
|
|
5002
|
+
_.$_$.j = getPlayer;
|
|
5003
|
+
_.$_$.k = nextToPlayerId;
|
|
5004
|
+
_.$_$.l = mapFromDto_0;
|
|
5005
|
+
_.$_$.m = mapFromDto_2;
|
|
5006
|
+
_.$_$.n = mapFromDto;
|
|
5007
|
+
_.$_$.o = mapFromDto_1;
|
|
5008
|
+
_.$_$.p = mapToDto_3;
|
|
5009
|
+
_.$_$.q = mapToDto_0;
|
|
5010
|
+
_.$_$.r = mapToDto_1;
|
|
5011
|
+
_.$_$.s = mapToDto_2;
|
|
5012
|
+
_.$_$.t = mapToDto;
|
|
5013
|
+
_.$_$.u = CardGrowthComparator;
|
|
5014
|
+
_.$_$.v = GameCardWIthPlayerId;
|
|
5015
|
+
_.$_$.w = GameCard;
|
|
5016
|
+
_.$_$.x = ProcessingCard;
|
|
5017
|
+
_.$_$.y = values_2;
|
|
5018
|
+
_.$_$.z = filterByCardName;
|
|
5019
|
+
_.$_$.a1 = filterBySuit;
|
|
5020
|
+
_.$_$.b1 = getGrowth;
|
|
5021
|
+
_.$_$.c1 = getPoint;
|
|
5022
|
+
_.$_$.d1 = FinishPlayerReason;
|
|
5023
|
+
_.$_$.e1 = GameErrorReason;
|
|
5024
|
+
_.$_$.f1 = GameFinishedReason;
|
|
5025
|
+
_.$_$.g1 = PlayerExitReason;
|
|
5026
|
+
_.$_$.h1 = PlayerLostConnectionReason;
|
|
5027
|
+
_.$_$.i1 = PlayerTimeoutReason;
|
|
5028
|
+
_.$_$.j1 = ProcessingReason;
|
|
5029
|
+
_.$_$.k1 = WaitingForConnectionReason;
|
|
5030
|
+
_.$_$.l1 = AsyncProvider;
|
|
5031
|
+
_.$_$.m1 = JobsProvider;
|
|
5032
|
+
_.$_$.n1 = get_coreModule;
|
|
5033
|
+
_.$_$.o1 = get_actionTag;
|
|
5034
|
+
_.$_$.p1 = Action;
|
|
5035
|
+
_.$_$.q1 = Middleware;
|
|
5036
|
+
_.$_$.r1 = Reducer;
|
|
5037
|
+
_.$_$.s1 = combineReducers;
|
|
5038
|
+
_.$_$.t1 = middleware;
|
|
5039
|
+
_.$_$.u1 = parseActionName;
|
|
5040
|
+
_.$_$.v1 = compose;
|
|
5041
|
+
_.$_$.w1 = createStore;
|
|
5042
|
+
_.$_$.x1 = notValidateWhenFinished;
|
|
5043
|
+
_.$_$.y1 = NotValidateIfGameFinished;
|
|
5044
|
+
_.$_$.z1 = notValidateWhenFinishing;
|
|
5045
|
+
_.$_$.a2 = NotValidateIfGameFinishing;
|
|
5046
|
+
_.$_$.b2 = BufferedAction;
|
|
5047
|
+
_.$_$.c2 = ignoreExpectant;
|
|
5048
|
+
_.$_$.d2 = ExpectantAction;
|
|
5049
|
+
_.$_$.e2 = ReleaseBufferTriggerAction;
|
|
5050
|
+
_.$_$.f2 = StartTimerAction;
|
|
5051
|
+
_.$_$.g2 = StopTimerAction;
|
|
5052
|
+
_.$_$.h2 = TimerAction;
|
|
5053
|
+
_.$_$.i2 = TimerTag;
|
|
5054
|
+
_.$_$.j2 = TimerTickAction;
|
|
5055
|
+
_.$_$.k2 = applyCatcher;
|
|
5056
|
+
_.$_$.l2 = applyMiddleware;
|
|
5057
|
+
_.$_$.m2 = timerMiddleware;
|
|
5058
|
+
_.$_$.n2 = CombinedGameLogger;
|
|
5059
|
+
_.$_$.o2 = LoggerPayload;
|
|
5060
|
+
_.$_$.p2 = GameLogger;
|
|
5061
|
+
_.$_$.q2 = LoggerOutput;
|
|
5062
|
+
_.$_$.r2 = generateMsg;
|
|
5063
|
+
_.$_$.s2 = enumToString;
|
|
5064
|
+
_.$_$.t2 = nextTo;
|
|
5065
|
+
_.$_$.u2 = sortWithItem;
|
|
5066
|
+
_.$_$.v2 = toDomainEnumSafe;
|
|
5067
|
+
_.$_$.w2 = updateItem;
|
|
5068
|
+
_.$_$.x2 = updated;
|
|
5069
|
+
_.$_$.y2 = PlayerConnectionState_DELETED_getInstance;
|
|
5070
|
+
_.$_$.z2 = PlayerConnectionState_LEFT_getInstance;
|
|
5071
|
+
_.$_$.a3 = PlayerConnectionState_LIVE_getInstance;
|
|
5072
|
+
_.$_$.b3 = PlayerConnectionState_LOST_CONNECTION_getInstance;
|
|
5073
|
+
_.$_$.c3 = PlayerConnectionState_TIMEOUT_getInstance;
|
|
5074
|
+
_.$_$.d3 = RulesSetType_belot_getInstance;
|
|
5075
|
+
_.$_$.e3 = RulesSetType_custom_getInstance;
|
|
5076
|
+
_.$_$.f3 = RulesSetType_debertzCommon_getInstance;
|
|
5077
|
+
_.$_$.g3 = RulesSetType_debertzKharkiv_getInstance;
|
|
5078
|
+
_.$_$.h3 = RulesSetType_klabor_getInstance;
|
|
5079
|
+
_.$_$.i3 = CardName_ACE_getInstance;
|
|
5080
|
+
_.$_$.j3 = CardName_DAME_getInstance;
|
|
5081
|
+
_.$_$.k3 = CardName_EIGHT_getInstance;
|
|
5082
|
+
_.$_$.l3 = CardName_JACK_getInstance;
|
|
5083
|
+
_.$_$.m3 = CardName_KING_getInstance;
|
|
5084
|
+
_.$_$.n3 = CardName_NINE_getInstance;
|
|
5085
|
+
_.$_$.o3 = CardName_SEVEN_getInstance;
|
|
5086
|
+
_.$_$.p3 = CardName_TEN_getInstance;
|
|
5087
|
+
_.$_$.q3 = TimerType_DELAY_getInstance;
|
|
5088
|
+
_.$_$.r3 = d$default;
|
|
5089
|
+
_.$_$.s3 = e$default;
|
|
5090
|
+
_.$_$.t3 = w$default;
|
|
5091
|
+
_.$_$.u3 = StartTimerAction_init_$Create$;
|
|
5092
|
+
_.$_$.v3 = Companion_getInstance_6;
|
|
5093
|
+
_.$_$.w3 = Companion_getInstance_8;
|
|
5094
|
+
_.$_$.x3 = $serializer_getInstance_4;
|
|
5095
|
+
_.$_$.y3 = $serializer_getInstance_5;
|
|
5096
|
+
_.$_$.z3 = $serializer_getInstance_6;
|
|
5097
|
+
_.$_$.a4 = CardIndexComparator_getInstance;
|
|
5098
|
+
_.$_$.b4 = CardNumberComparator_getInstance;
|
|
5099
|
+
_.$_$.c4 = Companion_getInstance_13;
|
|
5100
|
+
_.$_$.d4 = Companion_getInstance_15;
|
|
5101
|
+
_.$_$.e4 = Companion_getInstance;
|
|
5102
|
+
_.$_$.f4 = ProcessingReason_getInstance;
|
|
5103
|
+
_.$_$.g4 = RestartGameReason_getInstance;
|
|
5104
|
+
_.$_$.h4 = Companion_getInstance_1;
|
|
5105
|
+
_.$_$.i4 = PlatformGameLogger_getInstance;
|
|
5106
|
+
_.$_$.j4 = Logger_getInstance;
|
|
5048
5107
|
//endregion
|
|
5049
5108
|
return _;
|
|
5050
5109
|
}));
|