game_client_logic_deb 1.4.22 → 1.4.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Logic_Debertz-core.js +525 -503
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +5905 -5905
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +3 -3
- package/Logic_Debertz-game_client.js +2178 -2178
- package/package.json +1 -1
package/Logic_Debertz-core.js
CHANGED
|
@@ -178,13 +178,13 @@
|
|
|
178
178
|
setMetadataFor(_no_name_provided__qut3iv, undefined, classMeta, AbstractCoroutineContextElement, [AbstractCoroutineContextElement, Element], undefined, undefined, []);
|
|
179
179
|
function launchWorker$default(context, block, $mask0, $handler) {
|
|
180
180
|
if (!(($mask0 & 1) === 0))
|
|
181
|
-
context = this.
|
|
182
|
-
return $handler == null ? this.
|
|
181
|
+
context = this.w2h();
|
|
182
|
+
return $handler == null ? this.z2h(context, block) : $handler(context, block);
|
|
183
183
|
}
|
|
184
184
|
function launchStore$default(context, block, $mask0, $handler) {
|
|
185
185
|
if (!(($mask0 & 1) === 0))
|
|
186
|
-
context = this.
|
|
187
|
-
return $handler == null ? this.
|
|
186
|
+
context = this.w2h();
|
|
187
|
+
return $handler == null ? this.x2h(context, block) : $handler(context, block);
|
|
188
188
|
}
|
|
189
189
|
setMetadataFor(AsyncProvider, 'AsyncProvider', interfaceMeta, undefined, undefined, undefined, undefined, []);
|
|
190
190
|
setMetadataFor(AsyncProviderImpl, 'AsyncProviderImpl', classMeta, undefined, [AsyncProvider], undefined, undefined, []);
|
|
@@ -244,7 +244,7 @@
|
|
|
244
244
|
payload = null;
|
|
245
245
|
var tmp;
|
|
246
246
|
if ($handler == null) {
|
|
247
|
-
this.
|
|
247
|
+
this.o2l(tag, message, payload);
|
|
248
248
|
tmp = Unit_getInstance();
|
|
249
249
|
} else {
|
|
250
250
|
tmp = $handler(tag, message, payload);
|
|
@@ -262,7 +262,7 @@
|
|
|
262
262
|
payload = null;
|
|
263
263
|
var tmp;
|
|
264
264
|
if ($handler == null) {
|
|
265
|
-
this.
|
|
265
|
+
this.q2l(tag, message, exception, payload);
|
|
266
266
|
tmp = Unit_getInstance();
|
|
267
267
|
} else {
|
|
268
268
|
tmp = $handler(tag, message, exception, payload);
|
|
@@ -276,7 +276,7 @@
|
|
|
276
276
|
payload = null;
|
|
277
277
|
var tmp;
|
|
278
278
|
if ($handler == null) {
|
|
279
|
-
this.
|
|
279
|
+
this.r2l(tag, message, payload);
|
|
280
280
|
tmp = Unit_getInstance();
|
|
281
281
|
} else {
|
|
282
282
|
tmp = $handler(tag, message, payload);
|
|
@@ -292,7 +292,7 @@
|
|
|
292
292
|
//endregion
|
|
293
293
|
function GameEngineConfig() {
|
|
294
294
|
GameEngineConfig_instance = this;
|
|
295
|
-
this.version = '1.4.
|
|
295
|
+
this.version = '1.4.23';
|
|
296
296
|
}
|
|
297
297
|
GameEngineConfig.prototype.f2c = function () {
|
|
298
298
|
return this.version;
|
|
@@ -1504,7 +1504,7 @@
|
|
|
1504
1504
|
}
|
|
1505
1505
|
function playerTurnPredicate$lambda(p1) {
|
|
1506
1506
|
init_properties_Player_kt_txblev();
|
|
1507
|
-
return p1.xi().
|
|
1507
|
+
return p1.xi().v2d() ? true : p1.xi().u2d();
|
|
1508
1508
|
}
|
|
1509
1509
|
var properties_initialized_Player_kt_56shkt;
|
|
1510
1510
|
function init_properties_Player_kt_txblev() {
|
|
@@ -1528,10 +1528,10 @@
|
|
|
1528
1528
|
Companion_instance_8 = this;
|
|
1529
1529
|
var tmp = this;
|
|
1530
1530
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1531
|
-
tmp.
|
|
1531
|
+
tmp.w2d_1 = lazy(tmp_0, PlayerConnectionState$Companion$$cachedSerializer$delegate$_anonymous__bycx8c);
|
|
1532
1532
|
}
|
|
1533
1533
|
Companion_8.prototype.serializer = function () {
|
|
1534
|
-
return this.
|
|
1534
|
+
return this.w2d_1.j1();
|
|
1535
1535
|
};
|
|
1536
1536
|
Companion_8.prototype.b1l = function (typeParamsSerializers) {
|
|
1537
1537
|
return this.serializer();
|
|
@@ -1582,61 +1582,61 @@
|
|
|
1582
1582
|
function PlayerConnectionState(name, ordinal) {
|
|
1583
1583
|
Enum.call(this, name, ordinal);
|
|
1584
1584
|
}
|
|
1585
|
-
PlayerConnectionState.prototype.
|
|
1585
|
+
PlayerConnectionState.prototype.z2d = function () {
|
|
1586
1586
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1587
1587
|
};
|
|
1588
|
-
PlayerConnectionState.prototype.
|
|
1588
|
+
PlayerConnectionState.prototype.a2e = function () {
|
|
1589
1589
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1590
1590
|
};
|
|
1591
|
-
PlayerConnectionState.prototype.
|
|
1591
|
+
PlayerConnectionState.prototype.b2e = function () {
|
|
1592
1592
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1593
1593
|
};
|
|
1594
|
-
PlayerConnectionState.prototype.
|
|
1594
|
+
PlayerConnectionState.prototype.c2e = function () {
|
|
1595
1595
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1596
1596
|
};
|
|
1597
|
-
PlayerConnectionState.prototype.
|
|
1597
|
+
PlayerConnectionState.prototype.d2e = function () {
|
|
1598
1598
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1599
1599
|
};
|
|
1600
|
-
PlayerConnectionState.prototype.
|
|
1600
|
+
PlayerConnectionState.prototype.e2e = function () {
|
|
1601
1601
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1602
1602
|
};
|
|
1603
|
-
PlayerConnectionState.prototype.
|
|
1603
|
+
PlayerConnectionState.prototype.f2e = function () {
|
|
1604
1604
|
return ((this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft) ? true : this.isDeleted;
|
|
1605
1605
|
};
|
|
1606
|
-
PlayerConnectionState.prototype.
|
|
1606
|
+
PlayerConnectionState.prototype.g2e = function () {
|
|
1607
1607
|
return (this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft;
|
|
1608
1608
|
};
|
|
1609
1609
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLive', {
|
|
1610
1610
|
configurable: true,
|
|
1611
|
-
get: PlayerConnectionState.prototype.
|
|
1611
|
+
get: PlayerConnectionState.prototype.z2d
|
|
1612
1612
|
});
|
|
1613
1613
|
Object.defineProperty(PlayerConnectionState.prototype, 'isTimeOut', {
|
|
1614
1614
|
configurable: true,
|
|
1615
|
-
get: PlayerConnectionState.prototype.
|
|
1615
|
+
get: PlayerConnectionState.prototype.a2e
|
|
1616
1616
|
});
|
|
1617
1617
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLostConnection', {
|
|
1618
1618
|
configurable: true,
|
|
1619
|
-
get: PlayerConnectionState.prototype.
|
|
1619
|
+
get: PlayerConnectionState.prototype.b2e
|
|
1620
1620
|
});
|
|
1621
1621
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLeft', {
|
|
1622
1622
|
configurable: true,
|
|
1623
|
-
get: PlayerConnectionState.prototype.
|
|
1623
|
+
get: PlayerConnectionState.prototype.c2e
|
|
1624
1624
|
});
|
|
1625
1625
|
Object.defineProperty(PlayerConnectionState.prototype, 'isDeleted', {
|
|
1626
1626
|
configurable: true,
|
|
1627
|
-
get: PlayerConnectionState.prototype.
|
|
1627
|
+
get: PlayerConnectionState.prototype.d2e
|
|
1628
1628
|
});
|
|
1629
1629
|
Object.defineProperty(PlayerConnectionState.prototype, 'isDisconnecting', {
|
|
1630
1630
|
configurable: true,
|
|
1631
|
-
get: PlayerConnectionState.prototype.
|
|
1631
|
+
get: PlayerConnectionState.prototype.e2e
|
|
1632
1632
|
});
|
|
1633
1633
|
Object.defineProperty(PlayerConnectionState.prototype, 'isNotAlive', {
|
|
1634
1634
|
configurable: true,
|
|
1635
|
-
get: PlayerConnectionState.prototype.
|
|
1635
|
+
get: PlayerConnectionState.prototype.f2e
|
|
1636
1636
|
});
|
|
1637
1637
|
Object.defineProperty(PlayerConnectionState.prototype, 'isPossibleToBeLive', {
|
|
1638
1638
|
configurable: true,
|
|
1639
|
-
get: PlayerConnectionState.prototype.
|
|
1639
|
+
get: PlayerConnectionState.prototype.g2e
|
|
1640
1640
|
});
|
|
1641
1641
|
Object.defineProperty(PlayerConnectionState.prototype, 'name', {
|
|
1642
1642
|
configurable: true,
|
|
@@ -1680,10 +1680,10 @@
|
|
|
1680
1680
|
Companion_instance_9 = this;
|
|
1681
1681
|
var tmp = this;
|
|
1682
1682
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1683
|
-
tmp.
|
|
1683
|
+
tmp.h2e_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$$cachedSerializer$delegate$_anonymous__yamkar);
|
|
1684
1684
|
}
|
|
1685
1685
|
Companion_9.prototype.l1w = function () {
|
|
1686
|
-
return this.
|
|
1686
|
+
return this.h2e_1.j1();
|
|
1687
1687
|
};
|
|
1688
1688
|
Companion_9.prototype.b1l = function (typeParamsSerializers) {
|
|
1689
1689
|
return this.l1w();
|
|
@@ -1711,26 +1711,26 @@
|
|
|
1711
1711
|
function PlayerWaitingState(name, ordinal) {
|
|
1712
1712
|
Enum.call(this, name, ordinal);
|
|
1713
1713
|
}
|
|
1714
|
-
PlayerWaitingState.prototype.
|
|
1715
|
-
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance()) ? true : this.
|
|
1714
|
+
PlayerWaitingState.prototype.v2d = function () {
|
|
1715
|
+
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance()) ? true : this.u2d();
|
|
1716
1716
|
};
|
|
1717
|
-
PlayerWaitingState.prototype.
|
|
1717
|
+
PlayerWaitingState.prototype.u2d = function () {
|
|
1718
1718
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1719
1719
|
};
|
|
1720
1720
|
function Companion_10() {
|
|
1721
1721
|
Companion_instance_10 = this;
|
|
1722
1722
|
}
|
|
1723
|
-
Companion_10.prototype.
|
|
1723
|
+
Companion_10.prototype.k2e = function (connectionState) {
|
|
1724
1724
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1725
1725
|
return new PlayerState(null, null, tmp0_state, false, connectionState, null);
|
|
1726
1726
|
};
|
|
1727
|
-
Companion_10.prototype.
|
|
1727
|
+
Companion_10.prototype.l2e = function (_this__u8e3s4) {
|
|
1728
1728
|
var tmp = PlayerWaitingState_IDLE_getInstance();
|
|
1729
|
-
return _this__u8e3s4.
|
|
1729
|
+
return _this__u8e3s4.m2e(null, null, tmp, false, null, null, 26, null);
|
|
1730
1730
|
};
|
|
1731
|
-
Companion_10.prototype.
|
|
1731
|
+
Companion_10.prototype.n2e = function (_this__u8e3s4, startFromTime, tag) {
|
|
1732
1732
|
var tmp0_state = PlayerWaitingState_IN_PROGRESS_getInstance();
|
|
1733
|
-
return _this__u8e3s4.
|
|
1733
|
+
return _this__u8e3s4.m2e(startFromTime, null, tmp0_state, false, null, tag, 18, null);
|
|
1734
1734
|
};
|
|
1735
1735
|
var Companion_instance_10;
|
|
1736
1736
|
function Companion_getInstance_11() {
|
|
@@ -1758,8 +1758,30 @@
|
|
|
1758
1758
|
this.q2d_1 = ready;
|
|
1759
1759
|
this.r2d_1 = connectionState;
|
|
1760
1760
|
this.s2d_1 = tag;
|
|
1761
|
+
var tmp = this;
|
|
1762
|
+
var tmp$ret$2;
|
|
1763
|
+
// Inline function 'kotlin.requireNotNull' call
|
|
1764
|
+
var tmp0_requireNotNull = this.n2d_1;
|
|
1765
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
1766
|
+
var tmp$ret$1;
|
|
1767
|
+
$l$block: {
|
|
1768
|
+
// Inline function 'kotlin.requireNotNull' call
|
|
1769
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
1770
|
+
if (tmp0_requireNotNull == null) {
|
|
1771
|
+
var tmp$ret$0;
|
|
1772
|
+
// Inline function 'kotlin.requireNotNull.<anonymous>' call
|
|
1773
|
+
tmp$ret$0 = 'Required value was null.';
|
|
1774
|
+
var message = tmp$ret$0;
|
|
1775
|
+
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
1776
|
+
} else {
|
|
1777
|
+
tmp$ret$1 = tmp0_requireNotNull;
|
|
1778
|
+
break $l$block;
|
|
1779
|
+
}
|
|
1780
|
+
}
|
|
1781
|
+
tmp$ret$2 = tmp$ret$1;
|
|
1782
|
+
tmp.t2d_1 = tmp$ret$2;
|
|
1761
1783
|
}
|
|
1762
|
-
PlayerState.prototype.
|
|
1784
|
+
PlayerState.prototype.o2e = function () {
|
|
1763
1785
|
var tmp$ret$2;
|
|
1764
1786
|
// Inline function 'kotlin.requireNotNull' call
|
|
1765
1787
|
var tmp0_requireNotNull = this.s2d_1;
|
|
@@ -1782,20 +1804,20 @@
|
|
|
1782
1804
|
tmp$ret$2 = tmp$ret$1;
|
|
1783
1805
|
return tmp$ret$2;
|
|
1784
1806
|
};
|
|
1785
|
-
PlayerState.prototype.
|
|
1807
|
+
PlayerState.prototype.p2e = function () {
|
|
1786
1808
|
var tmp0_elvis_lhs = this.s2d_1;
|
|
1787
1809
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
1788
1810
|
};
|
|
1811
|
+
PlayerState.prototype.v2d = function () {
|
|
1812
|
+
return this.p2d_1.v2d();
|
|
1813
|
+
};
|
|
1789
1814
|
PlayerState.prototype.u2d = function () {
|
|
1790
1815
|
return this.p2d_1.u2d();
|
|
1791
1816
|
};
|
|
1792
|
-
PlayerState.prototype.
|
|
1793
|
-
return this.p2d_1.t2d();
|
|
1794
|
-
};
|
|
1795
|
-
PlayerState.prototype.p2e = function (startFromTime, waitPlayerUntilTime, state, ready, connectionState, tag) {
|
|
1817
|
+
PlayerState.prototype.q2e = function (startFromTime, waitPlayerUntilTime, state, ready, connectionState, tag) {
|
|
1796
1818
|
return new PlayerState(startFromTime, waitPlayerUntilTime, state, ready, connectionState, tag);
|
|
1797
1819
|
};
|
|
1798
|
-
PlayerState.prototype.
|
|
1820
|
+
PlayerState.prototype.m2e = function (startFromTime, waitPlayerUntilTime, state, ready, connectionState, tag, $mask0, $handler) {
|
|
1799
1821
|
if (!(($mask0 & 1) === 0))
|
|
1800
1822
|
startFromTime = this.n2d_1;
|
|
1801
1823
|
if (!(($mask0 & 2) === 0))
|
|
@@ -1808,7 +1830,7 @@
|
|
|
1808
1830
|
connectionState = this.r2d_1;
|
|
1809
1831
|
if (!(($mask0 & 32) === 0))
|
|
1810
1832
|
tag = this.s2d_1;
|
|
1811
|
-
return this.
|
|
1833
|
+
return this.q2e(startFromTime, waitPlayerUntilTime, state, ready, connectionState, tag);
|
|
1812
1834
|
};
|
|
1813
1835
|
PlayerState.prototype.toString = function () {
|
|
1814
1836
|
return 'PlayerState(startFromTime=' + this.n2d_1 + ', waitPlayerUntilTime=' + this.o2d_1 + ', state=' + this.p2d_1 + ', ready=' + this.q2d_1 + ', connectionState=' + this.r2d_1 + ', tag=' + this.s2d_1 + ')';
|
|
@@ -1843,13 +1865,13 @@
|
|
|
1843
1865
|
return true;
|
|
1844
1866
|
};
|
|
1845
1867
|
function Team(playerIds) {
|
|
1846
|
-
this.
|
|
1868
|
+
this.r2e_1 = playerIds;
|
|
1847
1869
|
}
|
|
1848
1870
|
Team.prototype.toString = function () {
|
|
1849
|
-
return 'Team(playerIds=' + this.
|
|
1871
|
+
return 'Team(playerIds=' + this.r2e_1 + ')';
|
|
1850
1872
|
};
|
|
1851
1873
|
Team.prototype.hashCode = function () {
|
|
1852
|
-
return hashCode(this.
|
|
1874
|
+
return hashCode(this.r2e_1);
|
|
1853
1875
|
};
|
|
1854
1876
|
Team.prototype.equals = function (other) {
|
|
1855
1877
|
if (this === other)
|
|
@@ -1857,7 +1879,7 @@
|
|
|
1857
1879
|
if (!(other instanceof Team))
|
|
1858
1880
|
return false;
|
|
1859
1881
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
1860
|
-
if (!equals(this.
|
|
1882
|
+
if (!equals(this.r2e_1, tmp0_other_with_cast.r2e_1))
|
|
1861
1883
|
return false;
|
|
1862
1884
|
return true;
|
|
1863
1885
|
};
|
|
@@ -1905,55 +1927,55 @@
|
|
|
1905
1927
|
this.checkOnlyTrumpDebertz = checkOnlyTrumpDebertz;
|
|
1906
1928
|
this.tenCardsInHand = tenCardsInHand;
|
|
1907
1929
|
}
|
|
1908
|
-
Rules.prototype.
|
|
1930
|
+
Rules.prototype.s2e = function () {
|
|
1909
1931
|
return this.needToPutHigherTrump;
|
|
1910
1932
|
};
|
|
1911
|
-
Rules.prototype.
|
|
1933
|
+
Rules.prototype.t2e = function () {
|
|
1912
1934
|
return this.distributePoints;
|
|
1913
1935
|
};
|
|
1914
|
-
Rules.prototype.
|
|
1936
|
+
Rules.prototype.u2e = function () {
|
|
1915
1937
|
return this.protectBella;
|
|
1916
1938
|
};
|
|
1917
|
-
Rules.prototype.
|
|
1939
|
+
Rules.prototype.v2e = function () {
|
|
1918
1940
|
return this.oneTryToProtectBella;
|
|
1919
1941
|
};
|
|
1920
|
-
Rules.prototype.
|
|
1942
|
+
Rules.prototype.w2e = function () {
|
|
1921
1943
|
return this.enableFourSevensCombination;
|
|
1922
1944
|
};
|
|
1923
|
-
Rules.prototype.
|
|
1945
|
+
Rules.prototype.x2e = function () {
|
|
1924
1946
|
return this.enableTrumpSevenCombination;
|
|
1925
1947
|
};
|
|
1926
|
-
Rules.prototype.
|
|
1948
|
+
Rules.prototype.y2e = function () {
|
|
1927
1949
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
1928
1950
|
};
|
|
1929
|
-
Rules.prototype.
|
|
1951
|
+
Rules.prototype.z2e = function () {
|
|
1930
1952
|
return this.playerWhoChooseSuitGoFirst;
|
|
1931
1953
|
};
|
|
1932
|
-
Rules.prototype.
|
|
1954
|
+
Rules.prototype.a2f = function () {
|
|
1933
1955
|
return this.winnerShuffleCards;
|
|
1934
1956
|
};
|
|
1935
|
-
Rules.prototype.
|
|
1957
|
+
Rules.prototype.b2f = function () {
|
|
1936
1958
|
return this.playWithoutLiabilities;
|
|
1937
1959
|
};
|
|
1938
|
-
Rules.prototype.
|
|
1960
|
+
Rules.prototype.c2f = function () {
|
|
1939
1961
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
1940
1962
|
};
|
|
1941
|
-
Rules.prototype.
|
|
1963
|
+
Rules.prototype.d2f = function () {
|
|
1942
1964
|
return this.enableFineIfNoBribes;
|
|
1943
1965
|
};
|
|
1944
|
-
Rules.prototype.
|
|
1966
|
+
Rules.prototype.e2f = function () {
|
|
1945
1967
|
return this.fineIfNoBribes;
|
|
1946
1968
|
};
|
|
1947
|
-
Rules.prototype.
|
|
1969
|
+
Rules.prototype.f2f = function () {
|
|
1948
1970
|
return this.enableFineAfterThirdByte;
|
|
1949
1971
|
};
|
|
1950
|
-
Rules.prototype.
|
|
1972
|
+
Rules.prototype.g2f = function () {
|
|
1951
1973
|
return this.checkTrumpCombination;
|
|
1952
1974
|
};
|
|
1953
|
-
Rules.prototype.
|
|
1975
|
+
Rules.prototype.h2f = function () {
|
|
1954
1976
|
return this.checkOnlyTrumpDebertz;
|
|
1955
1977
|
};
|
|
1956
|
-
Rules.prototype.
|
|
1978
|
+
Rules.prototype.i2f = function () {
|
|
1957
1979
|
return this.tenCardsInHand;
|
|
1958
1980
|
};
|
|
1959
1981
|
Rules.prototype.component1 = function () {
|
|
@@ -2008,12 +2030,12 @@
|
|
|
2008
2030
|
return this.tenCardsInHand;
|
|
2009
2031
|
};
|
|
2010
2032
|
Rules.prototype.copy = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2011
|
-
return this.
|
|
2033
|
+
return this.j2f(needToPutHigherTrump === void 1 ? this.needToPutHigherTrump : needToPutHigherTrump, distributePoints === void 1 ? this.distributePoints : distributePoints, protectBella === void 1 ? this.protectBella : protectBella, oneTryToProtectBella === void 1 ? this.oneTryToProtectBella : oneTryToProtectBella, enableFourSevensCombination === void 1 ? this.enableFourSevensCombination : enableFourSevensCombination, enableTrumpSevenCombination === void 1 ? this.enableTrumpSevenCombination : enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution === void 1 ? this.enableTrumpSevenCombinationAfterDistribution : enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst === void 1 ? this.playerWhoChooseSuitGoFirst : playerWhoChooseSuitGoFirst, winnerShuffleCards === void 1 ? this.winnerShuffleCards : winnerShuffleCards, playWithoutLiabilities === void 1 ? this.playWithoutLiabilities : playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards === void 1 ? this.trumpCardGoToPlayerWhoShuffleCards : trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes === void 1 ? this.enableFineIfNoBribes : enableFineIfNoBribes, fineIfNoBribes === void 1 ? this.fineIfNoBribes : fineIfNoBribes, enableFineAfterThirdByte === void 1 ? this.enableFineAfterThirdByte : enableFineAfterThirdByte, checkTrumpCombination === void 1 ? this.checkTrumpCombination : checkTrumpCombination, checkOnlyTrumpDebertz === void 1 ? this.checkOnlyTrumpDebertz : checkOnlyTrumpDebertz, tenCardsInHand === void 1 ? this.tenCardsInHand : tenCardsInHand);
|
|
2012
2034
|
};
|
|
2013
|
-
Rules.prototype.
|
|
2035
|
+
Rules.prototype.j2f = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2014
2036
|
return new Rules(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2015
2037
|
};
|
|
2016
|
-
Rules.prototype.
|
|
2038
|
+
Rules.prototype.k2f = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $mask0, $handler) {
|
|
2017
2039
|
if (!(($mask0 & 1) === 0))
|
|
2018
2040
|
needToPutHigherTrump = this.needToPutHigherTrump;
|
|
2019
2041
|
if (!(($mask0 & 2) === 0))
|
|
@@ -2048,7 +2070,7 @@
|
|
|
2048
2070
|
checkOnlyTrumpDebertz = this.checkOnlyTrumpDebertz;
|
|
2049
2071
|
if (!(($mask0 & 65536) === 0))
|
|
2050
2072
|
tenCardsInHand = this.tenCardsInHand;
|
|
2051
|
-
return this.
|
|
2073
|
+
return this.j2f(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2052
2074
|
};
|
|
2053
2075
|
Rules.prototype.toString = function () {
|
|
2054
2076
|
return 'Rules(needToPutHigherTrump=' + this.needToPutHigherTrump + ', distributePoints=' + this.distributePoints + ', protectBella=' + this.protectBella + ', oneTryToProtectBella=' + this.oneTryToProtectBella + ', enableFourSevensCombination=' + this.enableFourSevensCombination + ', enableTrumpSevenCombination=' + this.enableTrumpSevenCombination + ', enableTrumpSevenCombinationAfterDistribution=' + this.enableTrumpSevenCombinationAfterDistribution + ', playerWhoChooseSuitGoFirst=' + this.playerWhoChooseSuitGoFirst + ', winnerShuffleCards=' + this.winnerShuffleCards + ', playWithoutLiabilities=' + this.playWithoutLiabilities + ', trumpCardGoToPlayerWhoShuffleCards=' + this.trumpCardGoToPlayerWhoShuffleCards + ', enableFineIfNoBribes=' + this.enableFineIfNoBribes + ', fineIfNoBribes=' + this.fineIfNoBribes + ', enableFineAfterThirdByte=' + this.enableFineAfterThirdByte + ', checkTrumpCombination=' + this.checkTrumpCombination + ', checkOnlyTrumpDebertz=' + this.checkOnlyTrumpDebertz + ', tenCardsInHand=' + this.tenCardsInHand + ')';
|
|
@@ -2184,20 +2206,20 @@
|
|
|
2184
2206
|
return RulesSetType_custom_instance;
|
|
2185
2207
|
}
|
|
2186
2208
|
function mapToDto(_this__u8e3s4) {
|
|
2187
|
-
return _this__u8e3s4.
|
|
2209
|
+
return _this__u8e3s4.n2f_1;
|
|
2188
2210
|
}
|
|
2189
2211
|
function mapFromDto(_this__u8e3s4) {
|
|
2190
2212
|
return new GameCard(_this__u8e3s4);
|
|
2191
2213
|
}
|
|
2192
2214
|
function mapToDto_0(_this__u8e3s4) {
|
|
2193
|
-
return _this__u8e3s4.
|
|
2215
|
+
return _this__u8e3s4.p2f_1.n2f_1;
|
|
2194
2216
|
}
|
|
2195
2217
|
function mapToDto_1(_this__u8e3s4) {
|
|
2196
2218
|
return RulesDto_init_$Create$(_this__u8e3s4.needToPutHigherTrump, _this__u8e3s4.distributePoints, _this__u8e3s4.protectBella, null, _this__u8e3s4.enableFourSevensCombination, _this__u8e3s4.enableTrumpSevenCombination, _this__u8e3s4.enableTrumpSevenCombinationAfterDistribution, _this__u8e3s4.playerWhoChooseSuitGoFirst, _this__u8e3s4.winnerShuffleCards, _this__u8e3s4.playWithoutLiabilities, _this__u8e3s4.trumpCardGoToPlayerWhoShuffleCards, _this__u8e3s4.enableFineIfNoBribes, _this__u8e3s4.fineIfNoBribes, _this__u8e3s4.enableFineAfterThirdByte, _this__u8e3s4.checkTrumpCombination, _this__u8e3s4.checkOnlyTrumpDebertz, _this__u8e3s4.tenCardsInHand, 8, null);
|
|
2197
2219
|
}
|
|
2198
2220
|
function mapFromDto_0(_this__u8e3s4) {
|
|
2199
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2200
|
-
return new Rules(_this__u8e3s4.
|
|
2221
|
+
var tmp0_elvis_lhs = _this__u8e3s4.t2f_1;
|
|
2222
|
+
return new Rules(_this__u8e3s4.q2f_1, _this__u8e3s4.r2f_1, _this__u8e3s4.s2f_1, tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs, _this__u8e3s4.u2f_1, _this__u8e3s4.v2f_1, _this__u8e3s4.w2f_1, _this__u8e3s4.x2f_1, _this__u8e3s4.y2f_1, _this__u8e3s4.z2f_1, _this__u8e3s4.a2g_1, _this__u8e3s4.b2g_1, _this__u8e3s4.c2g_1, _this__u8e3s4.d2g_1, _this__u8e3s4.e2g_1, _this__u8e3s4.f2g_1, _this__u8e3s4.g2g_1);
|
|
2201
2223
|
}
|
|
2202
2224
|
function mapToDto_2(_this__u8e3s4) {
|
|
2203
2225
|
var tmp$ret$1;
|
|
@@ -2217,9 +2239,9 @@
|
|
|
2217
2239
|
return new GameUserInfoDto(_this__u8e3s4.h2d_1, _this__u8e3s4.name, _this__u8e3s4.avatarUrl, tmp$ret$1);
|
|
2218
2240
|
}
|
|
2219
2241
|
function mapFromDto_1(_this__u8e3s4) {
|
|
2220
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2242
|
+
var tmp0_elvis_lhs = _this__u8e3s4.k2g_1;
|
|
2221
2243
|
var tmp = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
2222
|
-
return GameUserInfo_init_$Create$(_this__u8e3s4.
|
|
2244
|
+
return GameUserInfo_init_$Create$(_this__u8e3s4.h2g_1, _this__u8e3s4.i2g_1, _this__u8e3s4.j2g_1, tmp, null, 16, null);
|
|
2223
2245
|
}
|
|
2224
2246
|
function mapToDto_3(_this__u8e3s4) {
|
|
2225
2247
|
var tmp0_safe_receiver = _this__u8e3s4.n2d_1;
|
|
@@ -2235,12 +2257,12 @@
|
|
|
2235
2257
|
return new PlayerStateDto(tmp4_startFromTime, tmp5_startFrom, tmp6_waitPlayerUntilTime, tmp7_state, tmp9_ready, tmp8_tag);
|
|
2236
2258
|
}
|
|
2237
2259
|
function mapFromDto_2(_this__u8e3s4, connectionState) {
|
|
2238
|
-
var tmp1_startFromTime = _this__u8e3s4.
|
|
2239
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2260
|
+
var tmp1_startFromTime = _this__u8e3s4.r2g();
|
|
2261
|
+
var tmp0_safe_receiver = _this__u8e3s4.n2g_1;
|
|
2240
2262
|
var tmp2_waitPlayerUntilTime = tmp0_safe_receiver == null ? null : toInstant(tmp0_safe_receiver);
|
|
2241
|
-
var tmp3_state = _this__u8e3s4.
|
|
2242
|
-
var tmp4_tag = _this__u8e3s4.
|
|
2243
|
-
var tmp5_ready = _this__u8e3s4.
|
|
2263
|
+
var tmp3_state = _this__u8e3s4.o2g_1;
|
|
2264
|
+
var tmp4_tag = _this__u8e3s4.q2g_1;
|
|
2265
|
+
var tmp5_ready = _this__u8e3s4.p2g_1;
|
|
2244
2266
|
return new PlayerState(tmp1_startFromTime, tmp2_waitPlayerUntilTime, tmp3_state, tmp5_ready, connectionState, tmp4_tag);
|
|
2245
2267
|
}
|
|
2246
2268
|
function Companion_12() {
|
|
@@ -2259,10 +2281,10 @@
|
|
|
2259
2281
|
tmp0_serialDesc.b1k('name', false);
|
|
2260
2282
|
tmp0_serialDesc.b1k('avatarUrl', false);
|
|
2261
2283
|
tmp0_serialDesc.b1k('isBot', true);
|
|
2262
|
-
this.
|
|
2284
|
+
this.s2g_1 = tmp0_serialDesc;
|
|
2263
2285
|
}
|
|
2264
2286
|
$serializer_5.prototype.p19 = function () {
|
|
2265
|
-
return this.
|
|
2287
|
+
return this.s2g_1;
|
|
2266
2288
|
};
|
|
2267
2289
|
$serializer_5.prototype.q1k = function () {
|
|
2268
2290
|
var tmp$ret$2;
|
|
@@ -2278,7 +2300,7 @@
|
|
|
2278
2300
|
return tmp$ret$2;
|
|
2279
2301
|
};
|
|
2280
2302
|
$serializer_5.prototype.r19 = function (decoder) {
|
|
2281
|
-
var tmp0_desc = this.
|
|
2303
|
+
var tmp0_desc = this.s2g_1;
|
|
2282
2304
|
var tmp1_flag = true;
|
|
2283
2305
|
var tmp2_index = 0;
|
|
2284
2306
|
var tmp3_bitMask0 = 0;
|
|
@@ -2326,19 +2348,19 @@
|
|
|
2326
2348
|
tmp8_input.x1c(tmp0_desc);
|
|
2327
2349
|
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
2328
2350
|
};
|
|
2329
|
-
$serializer_5.prototype.
|
|
2330
|
-
var tmp0_desc = this.
|
|
2351
|
+
$serializer_5.prototype.t2g = function (encoder, value) {
|
|
2352
|
+
var tmp0_desc = this.s2g_1;
|
|
2331
2353
|
var tmp1_output = encoder.w1c(tmp0_desc);
|
|
2332
|
-
tmp1_output.l1e(tmp0_desc, 0, value.
|
|
2333
|
-
tmp1_output.l1e(tmp0_desc, 1, value.
|
|
2334
|
-
tmp1_output.l1e(tmp0_desc, 2, value.
|
|
2335
|
-
if (tmp1_output.t1e(tmp0_desc, 3) ? true : !(value.
|
|
2336
|
-
tmp1_output.p1e(tmp0_desc, 3, BooleanSerializer_getInstance(), value.
|
|
2354
|
+
tmp1_output.l1e(tmp0_desc, 0, value.h2g_1);
|
|
2355
|
+
tmp1_output.l1e(tmp0_desc, 1, value.i2g_1);
|
|
2356
|
+
tmp1_output.l1e(tmp0_desc, 2, value.j2g_1);
|
|
2357
|
+
if (tmp1_output.t1e(tmp0_desc, 3) ? true : !(value.k2g_1 === false)) {
|
|
2358
|
+
tmp1_output.p1e(tmp0_desc, 3, BooleanSerializer_getInstance(), value.k2g_1);
|
|
2337
2359
|
}
|
|
2338
2360
|
tmp1_output.x1c(tmp0_desc);
|
|
2339
2361
|
};
|
|
2340
2362
|
$serializer_5.prototype.q19 = function (encoder, value) {
|
|
2341
|
-
return this.
|
|
2363
|
+
return this.t2g(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2342
2364
|
};
|
|
2343
2365
|
var $serializer_instance_5;
|
|
2344
2366
|
function $serializer_getInstance_5() {
|
|
@@ -2348,15 +2370,15 @@
|
|
|
2348
2370
|
}
|
|
2349
2371
|
function GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, isBot, serializationConstructorMarker, $this) {
|
|
2350
2372
|
if (!(7 === (7 & seen1))) {
|
|
2351
|
-
throwMissingFieldException(seen1, 7, $serializer_getInstance_5().
|
|
2373
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_5().s2g_1);
|
|
2352
2374
|
}
|
|
2353
|
-
$this.
|
|
2354
|
-
$this.
|
|
2355
|
-
$this.
|
|
2375
|
+
$this.h2g_1 = playerId;
|
|
2376
|
+
$this.i2g_1 = name;
|
|
2377
|
+
$this.j2g_1 = avatarUrl;
|
|
2356
2378
|
if (0 === (seen1 & 8))
|
|
2357
|
-
$this.
|
|
2379
|
+
$this.k2g_1 = false;
|
|
2358
2380
|
else
|
|
2359
|
-
$this.
|
|
2381
|
+
$this.k2g_1 = isBot;
|
|
2360
2382
|
return $this;
|
|
2361
2383
|
}
|
|
2362
2384
|
function GameUserInfoDto_init_$Create$(seen1, playerId, name, avatarUrl, isBot, serializationConstructorMarker) {
|
|
@@ -2364,19 +2386,19 @@
|
|
|
2364
2386
|
}
|
|
2365
2387
|
function GameUserInfoDto(playerId, name, avatarUrl, isBot) {
|
|
2366
2388
|
Companion_getInstance_13();
|
|
2367
|
-
this.
|
|
2368
|
-
this.
|
|
2369
|
-
this.
|
|
2370
|
-
this.
|
|
2389
|
+
this.h2g_1 = playerId;
|
|
2390
|
+
this.i2g_1 = name;
|
|
2391
|
+
this.j2g_1 = avatarUrl;
|
|
2392
|
+
this.k2g_1 = isBot;
|
|
2371
2393
|
}
|
|
2372
2394
|
GameUserInfoDto.prototype.toString = function () {
|
|
2373
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
2395
|
+
return 'GameUserInfoDto(playerId=' + this.h2g_1 + ', name=' + this.i2g_1 + ', avatarUrl=' + this.j2g_1 + ', isBot=' + this.k2g_1 + ')';
|
|
2374
2396
|
};
|
|
2375
2397
|
GameUserInfoDto.prototype.hashCode = function () {
|
|
2376
|
-
var result = getStringHashCode(this.
|
|
2377
|
-
result = imul(result, 31) + getStringHashCode(this.h2g_1) | 0;
|
|
2398
|
+
var result = getStringHashCode(this.h2g_1);
|
|
2378
2399
|
result = imul(result, 31) + getStringHashCode(this.i2g_1) | 0;
|
|
2379
|
-
result = imul(result, 31) + (this.j2g_1
|
|
2400
|
+
result = imul(result, 31) + getStringHashCode(this.j2g_1) | 0;
|
|
2401
|
+
result = imul(result, 31) + (this.k2g_1 == null ? 0 : this.k2g_1 | 0) | 0;
|
|
2380
2402
|
return result;
|
|
2381
2403
|
};
|
|
2382
2404
|
GameUserInfoDto.prototype.equals = function (other) {
|
|
@@ -2385,13 +2407,13 @@
|
|
|
2385
2407
|
if (!(other instanceof GameUserInfoDto))
|
|
2386
2408
|
return false;
|
|
2387
2409
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
2388
|
-
if (!(this.g2g_1 === tmp0_other_with_cast.g2g_1))
|
|
2389
|
-
return false;
|
|
2390
2410
|
if (!(this.h2g_1 === tmp0_other_with_cast.h2g_1))
|
|
2391
2411
|
return false;
|
|
2392
2412
|
if (!(this.i2g_1 === tmp0_other_with_cast.i2g_1))
|
|
2393
2413
|
return false;
|
|
2394
|
-
if (!(this.j2g_1
|
|
2414
|
+
if (!(this.j2g_1 === tmp0_other_with_cast.j2g_1))
|
|
2415
|
+
return false;
|
|
2416
|
+
if (!(this.k2g_1 == tmp0_other_with_cast.k2g_1))
|
|
2395
2417
|
return false;
|
|
2396
2418
|
return true;
|
|
2397
2419
|
};
|
|
@@ -2413,10 +2435,10 @@
|
|
|
2413
2435
|
tmp0_serialDesc.b1k('state', false);
|
|
2414
2436
|
tmp0_serialDesc.b1k('ready', false);
|
|
2415
2437
|
tmp0_serialDesc.b1k('tag', true);
|
|
2416
|
-
this.
|
|
2438
|
+
this.u2g_1 = tmp0_serialDesc;
|
|
2417
2439
|
}
|
|
2418
2440
|
$serializer_6.prototype.p19 = function () {
|
|
2419
|
-
return this.
|
|
2441
|
+
return this.u2g_1;
|
|
2420
2442
|
};
|
|
2421
2443
|
$serializer_6.prototype.q1k = function () {
|
|
2422
2444
|
var tmp$ret$2;
|
|
@@ -2432,7 +2454,7 @@
|
|
|
2432
2454
|
return tmp$ret$2;
|
|
2433
2455
|
};
|
|
2434
2456
|
$serializer_6.prototype.r19 = function (decoder) {
|
|
2435
|
-
var tmp0_desc = this.
|
|
2457
|
+
var tmp0_desc = this.u2g_1;
|
|
2436
2458
|
var tmp1_flag = true;
|
|
2437
2459
|
var tmp2_index = 0;
|
|
2438
2460
|
var tmp3_bitMask0 = 0;
|
|
@@ -2494,27 +2516,27 @@
|
|
|
2494
2516
|
tmp10_input.x1c(tmp0_desc);
|
|
2495
2517
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
|
|
2496
2518
|
};
|
|
2497
|
-
$serializer_6.prototype.
|
|
2498
|
-
var tmp0_desc = this.
|
|
2519
|
+
$serializer_6.prototype.v2g = function (encoder, value) {
|
|
2520
|
+
var tmp0_desc = this.u2g_1;
|
|
2499
2521
|
var tmp1_output = encoder.w1c(tmp0_desc);
|
|
2500
|
-
if (tmp1_output.t1e(tmp0_desc, 0) ? true : !(value.
|
|
2501
|
-
tmp1_output.p1e(tmp0_desc, 0, LongSerializer_getInstance(), value.
|
|
2522
|
+
if (tmp1_output.t1e(tmp0_desc, 0) ? true : !(value.l2g_1 == null)) {
|
|
2523
|
+
tmp1_output.p1e(tmp0_desc, 0, LongSerializer_getInstance(), value.l2g_1);
|
|
2502
2524
|
}
|
|
2503
|
-
if (tmp1_output.t1e(tmp0_desc, 1) ? true : !(value.
|
|
2504
|
-
tmp1_output.p1e(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
2525
|
+
if (tmp1_output.t1e(tmp0_desc, 1) ? true : !(value.m2g_1 == null)) {
|
|
2526
|
+
tmp1_output.p1e(tmp0_desc, 1, StringSerializer_getInstance(), value.m2g_1);
|
|
2505
2527
|
}
|
|
2506
|
-
if (tmp1_output.t1e(tmp0_desc, 2) ? true : !(value.
|
|
2507
|
-
tmp1_output.p1e(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
2528
|
+
if (tmp1_output.t1e(tmp0_desc, 2) ? true : !(value.n2g_1 == null)) {
|
|
2529
|
+
tmp1_output.p1e(tmp0_desc, 2, StringSerializer_getInstance(), value.n2g_1);
|
|
2508
2530
|
}
|
|
2509
|
-
tmp1_output.n1e(tmp0_desc, 3, Companion_getInstance_10().l1w(), value.
|
|
2510
|
-
tmp1_output.d1e(tmp0_desc, 4, value.
|
|
2511
|
-
if (tmp1_output.t1e(tmp0_desc, 5) ? true : !(value.
|
|
2512
|
-
tmp1_output.p1e(tmp0_desc, 5, StringSerializer_getInstance(), value.
|
|
2531
|
+
tmp1_output.n1e(tmp0_desc, 3, Companion_getInstance_10().l1w(), value.o2g_1);
|
|
2532
|
+
tmp1_output.d1e(tmp0_desc, 4, value.p2g_1);
|
|
2533
|
+
if (tmp1_output.t1e(tmp0_desc, 5) ? true : !(value.q2g_1 == null)) {
|
|
2534
|
+
tmp1_output.p1e(tmp0_desc, 5, StringSerializer_getInstance(), value.q2g_1);
|
|
2513
2535
|
}
|
|
2514
2536
|
tmp1_output.x1c(tmp0_desc);
|
|
2515
2537
|
};
|
|
2516
2538
|
$serializer_6.prototype.q19 = function (encoder, value) {
|
|
2517
|
-
return this.
|
|
2539
|
+
return this.v2g(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
2518
2540
|
};
|
|
2519
2541
|
var $serializer_instance_6;
|
|
2520
2542
|
function $serializer_getInstance_6() {
|
|
@@ -2524,26 +2546,26 @@
|
|
|
2524
2546
|
}
|
|
2525
2547
|
function PlayerStateDto_init_$Init$(seen1, startFromTime, startFrom, waitPlayerUntilTime, state, ready, tag, serializationConstructorMarker, $this) {
|
|
2526
2548
|
if (!(24 === (24 & seen1))) {
|
|
2527
|
-
throwMissingFieldException(seen1, 24, $serializer_getInstance_6().
|
|
2549
|
+
throwMissingFieldException(seen1, 24, $serializer_getInstance_6().u2g_1);
|
|
2528
2550
|
}
|
|
2529
2551
|
if (0 === (seen1 & 1))
|
|
2530
|
-
$this.
|
|
2552
|
+
$this.l2g_1 = null;
|
|
2531
2553
|
else
|
|
2532
|
-
$this.
|
|
2554
|
+
$this.l2g_1 = startFromTime;
|
|
2533
2555
|
if (0 === (seen1 & 2))
|
|
2534
|
-
$this.
|
|
2556
|
+
$this.m2g_1 = null;
|
|
2535
2557
|
else
|
|
2536
|
-
$this.
|
|
2558
|
+
$this.m2g_1 = startFrom;
|
|
2537
2559
|
if (0 === (seen1 & 4))
|
|
2538
|
-
$this.
|
|
2560
|
+
$this.n2g_1 = null;
|
|
2539
2561
|
else
|
|
2540
|
-
$this.
|
|
2541
|
-
$this.
|
|
2542
|
-
$this.
|
|
2562
|
+
$this.n2g_1 = waitPlayerUntilTime;
|
|
2563
|
+
$this.o2g_1 = state;
|
|
2564
|
+
$this.p2g_1 = ready;
|
|
2543
2565
|
if (0 === (seen1 & 32))
|
|
2544
|
-
$this.
|
|
2566
|
+
$this.q2g_1 = null;
|
|
2545
2567
|
else
|
|
2546
|
-
$this.
|
|
2568
|
+
$this.q2g_1 = tag;
|
|
2547
2569
|
return $this;
|
|
2548
2570
|
}
|
|
2549
2571
|
function PlayerStateDto_init_$Create$(seen1, startFromTime, startFrom, waitPlayerUntilTime, state, ready, tag, serializationConstructorMarker) {
|
|
@@ -2551,15 +2573,15 @@
|
|
|
2551
2573
|
}
|
|
2552
2574
|
function PlayerStateDto(startFromTime, startFrom, waitPlayerUntilTime, state, ready, tag) {
|
|
2553
2575
|
Companion_getInstance_14();
|
|
2554
|
-
this.
|
|
2555
|
-
this.
|
|
2556
|
-
this.
|
|
2557
|
-
this.
|
|
2558
|
-
this.
|
|
2559
|
-
this.
|
|
2560
|
-
}
|
|
2561
|
-
PlayerStateDto.prototype.
|
|
2562
|
-
var tmp0_safe_receiver = this.
|
|
2576
|
+
this.l2g_1 = startFromTime;
|
|
2577
|
+
this.m2g_1 = startFrom;
|
|
2578
|
+
this.n2g_1 = waitPlayerUntilTime;
|
|
2579
|
+
this.o2g_1 = state;
|
|
2580
|
+
this.p2g_1 = ready;
|
|
2581
|
+
this.q2g_1 = tag;
|
|
2582
|
+
}
|
|
2583
|
+
PlayerStateDto.prototype.r2g = function () {
|
|
2584
|
+
var tmp0_safe_receiver = this.l2g_1;
|
|
2563
2585
|
var tmp;
|
|
2564
2586
|
if (tmp0_safe_receiver == null) {
|
|
2565
2587
|
tmp = null;
|
|
@@ -2569,23 +2591,23 @@
|
|
|
2569
2591
|
// Inline function 'kotlin.contracts.contract' call
|
|
2570
2592
|
var tmp$ret$0;
|
|
2571
2593
|
// Inline function 'com.logic.data.models.serializable.player.PlayerStateDto.<get-time>.<anonymous>' call
|
|
2572
|
-
tmp$ret$0 = Companion_getInstance().v2b(this.
|
|
2594
|
+
tmp$ret$0 = Companion_getInstance().v2b(this.l2g_1);
|
|
2573
2595
|
tmp$ret$1 = tmp$ret$0;
|
|
2574
2596
|
tmp = tmp$ret$1;
|
|
2575
2597
|
}
|
|
2576
2598
|
var tmp1_elvis_lhs = tmp;
|
|
2577
|
-
return tmp1_elvis_lhs == null ? toInstant(ensureNotNull(this.
|
|
2599
|
+
return tmp1_elvis_lhs == null ? toInstant(ensureNotNull(this.m2g_1)) : tmp1_elvis_lhs;
|
|
2578
2600
|
};
|
|
2579
2601
|
PlayerStateDto.prototype.toString = function () {
|
|
2580
|
-
return 'PlayerStateDto(startFromTime=' + toString(this.
|
|
2602
|
+
return 'PlayerStateDto(startFromTime=' + toString(this.l2g_1) + ', startFrom=' + this.m2g_1 + ', waitPlayerUntilTime=' + this.n2g_1 + ', state=' + this.o2g_1 + ', ready=' + this.p2g_1 + ', tag=' + this.q2g_1 + ')';
|
|
2581
2603
|
};
|
|
2582
2604
|
PlayerStateDto.prototype.hashCode = function () {
|
|
2583
|
-
var result = this.
|
|
2584
|
-
result = imul(result, 31) + (this.l2g_1 == null ? 0 : getStringHashCode(this.l2g_1)) | 0;
|
|
2605
|
+
var result = this.l2g_1 == null ? 0 : this.l2g_1.hashCode();
|
|
2585
2606
|
result = imul(result, 31) + (this.m2g_1 == null ? 0 : getStringHashCode(this.m2g_1)) | 0;
|
|
2586
|
-
result = imul(result, 31) + this.n2g_1.
|
|
2587
|
-
result = imul(result, 31) +
|
|
2588
|
-
result = imul(result, 31) + (this.p2g_1
|
|
2607
|
+
result = imul(result, 31) + (this.n2g_1 == null ? 0 : getStringHashCode(this.n2g_1)) | 0;
|
|
2608
|
+
result = imul(result, 31) + this.o2g_1.hashCode() | 0;
|
|
2609
|
+
result = imul(result, 31) + (this.p2g_1 | 0) | 0;
|
|
2610
|
+
result = imul(result, 31) + (this.q2g_1 == null ? 0 : getStringHashCode(this.q2g_1)) | 0;
|
|
2589
2611
|
return result;
|
|
2590
2612
|
};
|
|
2591
2613
|
PlayerStateDto.prototype.equals = function (other) {
|
|
@@ -2594,17 +2616,17 @@
|
|
|
2594
2616
|
if (!(other instanceof PlayerStateDto))
|
|
2595
2617
|
return false;
|
|
2596
2618
|
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
2597
|
-
if (!equals(this.
|
|
2598
|
-
return false;
|
|
2599
|
-
if (!(this.l2g_1 == tmp0_other_with_cast.l2g_1))
|
|
2619
|
+
if (!equals(this.l2g_1, tmp0_other_with_cast.l2g_1))
|
|
2600
2620
|
return false;
|
|
2601
2621
|
if (!(this.m2g_1 == tmp0_other_with_cast.m2g_1))
|
|
2602
2622
|
return false;
|
|
2603
|
-
if (!this.n2g_1
|
|
2623
|
+
if (!(this.n2g_1 == tmp0_other_with_cast.n2g_1))
|
|
2604
2624
|
return false;
|
|
2605
|
-
if (!
|
|
2625
|
+
if (!this.o2g_1.equals(tmp0_other_with_cast.o2g_1))
|
|
2606
2626
|
return false;
|
|
2607
|
-
if (!(this.p2g_1
|
|
2627
|
+
if (!(this.p2g_1 === tmp0_other_with_cast.p2g_1))
|
|
2628
|
+
return false;
|
|
2629
|
+
if (!(this.q2g_1 == tmp0_other_with_cast.q2g_1))
|
|
2608
2630
|
return false;
|
|
2609
2631
|
return true;
|
|
2610
2632
|
};
|
|
@@ -2646,10 +2668,10 @@
|
|
|
2646
2668
|
tmp0_serialDesc.b1k('checkTrumpCombination', false);
|
|
2647
2669
|
tmp0_serialDesc.b1k('checkOnlyTrumpDebertz', false);
|
|
2648
2670
|
tmp0_serialDesc.b1k('tenCardsInHand', false);
|
|
2649
|
-
this.
|
|
2671
|
+
this.w2g_1 = tmp0_serialDesc;
|
|
2650
2672
|
}
|
|
2651
2673
|
$serializer_7.prototype.p19 = function () {
|
|
2652
|
-
return this.
|
|
2674
|
+
return this.w2g_1;
|
|
2653
2675
|
};
|
|
2654
2676
|
$serializer_7.prototype.q1k = function () {
|
|
2655
2677
|
var tmp$ret$2;
|
|
@@ -2665,7 +2687,7 @@
|
|
|
2665
2687
|
return tmp$ret$2;
|
|
2666
2688
|
};
|
|
2667
2689
|
$serializer_7.prototype.r19 = function (decoder) {
|
|
2668
|
-
var tmp0_desc = this.
|
|
2690
|
+
var tmp0_desc = this.w2g_1;
|
|
2669
2691
|
var tmp1_flag = true;
|
|
2670
2692
|
var tmp2_index = 0;
|
|
2671
2693
|
var tmp3_bitMask0 = 0;
|
|
@@ -2804,32 +2826,32 @@
|
|
|
2804
2826
|
tmp21_input.x1c(tmp0_desc);
|
|
2805
2827
|
return RulesDto_init_$Create$_0(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, tmp18_local14, tmp19_local15, tmp20_local16, null);
|
|
2806
2828
|
};
|
|
2807
|
-
$serializer_7.prototype.
|
|
2808
|
-
var tmp0_desc = this.
|
|
2829
|
+
$serializer_7.prototype.x2g = function (encoder, value) {
|
|
2830
|
+
var tmp0_desc = this.w2g_1;
|
|
2809
2831
|
var tmp1_output = encoder.w1c(tmp0_desc);
|
|
2810
|
-
tmp1_output.d1e(tmp0_desc, 0, value.
|
|
2811
|
-
tmp1_output.d1e(tmp0_desc, 1, value.
|
|
2812
|
-
tmp1_output.d1e(tmp0_desc, 2, value.
|
|
2813
|
-
if (tmp1_output.t1e(tmp0_desc, 3) ? true : !(value.
|
|
2814
|
-
tmp1_output.p1e(tmp0_desc, 3, BooleanSerializer_getInstance(), value.
|
|
2832
|
+
tmp1_output.d1e(tmp0_desc, 0, value.q2f_1);
|
|
2833
|
+
tmp1_output.d1e(tmp0_desc, 1, value.r2f_1);
|
|
2834
|
+
tmp1_output.d1e(tmp0_desc, 2, value.s2f_1);
|
|
2835
|
+
if (tmp1_output.t1e(tmp0_desc, 3) ? true : !(value.t2f_1 == null)) {
|
|
2836
|
+
tmp1_output.p1e(tmp0_desc, 3, BooleanSerializer_getInstance(), value.t2f_1);
|
|
2815
2837
|
}
|
|
2816
|
-
tmp1_output.d1e(tmp0_desc, 4, value.
|
|
2817
|
-
tmp1_output.d1e(tmp0_desc, 5, value.
|
|
2818
|
-
tmp1_output.d1e(tmp0_desc, 6, value.
|
|
2819
|
-
tmp1_output.d1e(tmp0_desc, 7, value.
|
|
2820
|
-
tmp1_output.d1e(tmp0_desc, 8, value.
|
|
2821
|
-
tmp1_output.d1e(tmp0_desc, 9, value.
|
|
2822
|
-
tmp1_output.d1e(tmp0_desc, 10, value.
|
|
2823
|
-
tmp1_output.d1e(tmp0_desc, 11, value.
|
|
2824
|
-
tmp1_output.g1e(tmp0_desc, 12, value.
|
|
2825
|
-
tmp1_output.d1e(tmp0_desc, 13, value.
|
|
2826
|
-
tmp1_output.d1e(tmp0_desc, 14, value.
|
|
2827
|
-
tmp1_output.d1e(tmp0_desc, 15, value.
|
|
2828
|
-
tmp1_output.d1e(tmp0_desc, 16, value.
|
|
2838
|
+
tmp1_output.d1e(tmp0_desc, 4, value.u2f_1);
|
|
2839
|
+
tmp1_output.d1e(tmp0_desc, 5, value.v2f_1);
|
|
2840
|
+
tmp1_output.d1e(tmp0_desc, 6, value.w2f_1);
|
|
2841
|
+
tmp1_output.d1e(tmp0_desc, 7, value.x2f_1);
|
|
2842
|
+
tmp1_output.d1e(tmp0_desc, 8, value.y2f_1);
|
|
2843
|
+
tmp1_output.d1e(tmp0_desc, 9, value.z2f_1);
|
|
2844
|
+
tmp1_output.d1e(tmp0_desc, 10, value.a2g_1);
|
|
2845
|
+
tmp1_output.d1e(tmp0_desc, 11, value.b2g_1);
|
|
2846
|
+
tmp1_output.g1e(tmp0_desc, 12, value.c2g_1);
|
|
2847
|
+
tmp1_output.d1e(tmp0_desc, 13, value.d2g_1);
|
|
2848
|
+
tmp1_output.d1e(tmp0_desc, 14, value.e2g_1);
|
|
2849
|
+
tmp1_output.d1e(tmp0_desc, 15, value.f2g_1);
|
|
2850
|
+
tmp1_output.d1e(tmp0_desc, 16, value.g2g_1);
|
|
2829
2851
|
tmp1_output.x1c(tmp0_desc);
|
|
2830
2852
|
};
|
|
2831
2853
|
$serializer_7.prototype.q19 = function (encoder, value) {
|
|
2832
|
-
return this.
|
|
2854
|
+
return this.x2g(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
2833
2855
|
};
|
|
2834
2856
|
var $serializer_instance_7;
|
|
2835
2857
|
function $serializer_getInstance_7() {
|
|
@@ -2839,28 +2861,28 @@
|
|
|
2839
2861
|
}
|
|
2840
2862
|
function RulesDto_init_$Init$_0(seen1, needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker, $this) {
|
|
2841
2863
|
if (!(131063 === (131063 & seen1))) {
|
|
2842
|
-
throwMissingFieldException(seen1, 131063, $serializer_getInstance_7().
|
|
2864
|
+
throwMissingFieldException(seen1, 131063, $serializer_getInstance_7().w2g_1);
|
|
2843
2865
|
}
|
|
2844
|
-
$this.
|
|
2845
|
-
$this.
|
|
2846
|
-
$this.
|
|
2866
|
+
$this.q2f_1 = needToPutHigherTrump;
|
|
2867
|
+
$this.r2f_1 = distributePoints;
|
|
2868
|
+
$this.s2f_1 = protectBella;
|
|
2847
2869
|
if (0 === (seen1 & 8))
|
|
2848
|
-
$this.
|
|
2870
|
+
$this.t2f_1 = null;
|
|
2849
2871
|
else
|
|
2850
|
-
$this.
|
|
2851
|
-
$this.
|
|
2852
|
-
$this.
|
|
2853
|
-
$this.
|
|
2854
|
-
$this.
|
|
2855
|
-
$this.
|
|
2856
|
-
$this.
|
|
2857
|
-
$this.
|
|
2858
|
-
$this.
|
|
2859
|
-
$this.
|
|
2860
|
-
$this.
|
|
2861
|
-
$this.
|
|
2862
|
-
$this.
|
|
2863
|
-
$this.
|
|
2872
|
+
$this.t2f_1 = oneTryToProtectBella;
|
|
2873
|
+
$this.u2f_1 = enableFourSevensCombination;
|
|
2874
|
+
$this.v2f_1 = enableTrumpSevenCombination;
|
|
2875
|
+
$this.w2f_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2876
|
+
$this.x2f_1 = playerWhoChooseSuitGoFirst;
|
|
2877
|
+
$this.y2f_1 = winnerShuffleCards;
|
|
2878
|
+
$this.z2f_1 = playWithoutLiabilities;
|
|
2879
|
+
$this.a2g_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2880
|
+
$this.b2g_1 = enableFineIfNoBribes;
|
|
2881
|
+
$this.c2g_1 = fineIfNoBribes;
|
|
2882
|
+
$this.d2g_1 = enableFineAfterThirdByte;
|
|
2883
|
+
$this.e2g_1 = checkTrumpCombination;
|
|
2884
|
+
$this.f2g_1 = checkOnlyTrumpDebertz;
|
|
2885
|
+
$this.g2g_1 = tenCardsInHand;
|
|
2864
2886
|
return $this;
|
|
2865
2887
|
}
|
|
2866
2888
|
function RulesDto_init_$Create$_0(seen1, needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker) {
|
|
@@ -2868,33 +2890,32 @@
|
|
|
2868
2890
|
}
|
|
2869
2891
|
function RulesDto(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2870
2892
|
Companion_getInstance_15();
|
|
2871
|
-
this.
|
|
2872
|
-
this.
|
|
2873
|
-
this.
|
|
2874
|
-
this.
|
|
2875
|
-
this.
|
|
2876
|
-
this.
|
|
2877
|
-
this.
|
|
2878
|
-
this.
|
|
2879
|
-
this.
|
|
2880
|
-
this.
|
|
2881
|
-
this.
|
|
2882
|
-
this.
|
|
2883
|
-
this.
|
|
2884
|
-
this.
|
|
2885
|
-
this.
|
|
2886
|
-
this.
|
|
2887
|
-
this.
|
|
2893
|
+
this.q2f_1 = needToPutHigherTrump;
|
|
2894
|
+
this.r2f_1 = distributePoints;
|
|
2895
|
+
this.s2f_1 = protectBella;
|
|
2896
|
+
this.t2f_1 = oneTryToProtectBella;
|
|
2897
|
+
this.u2f_1 = enableFourSevensCombination;
|
|
2898
|
+
this.v2f_1 = enableTrumpSevenCombination;
|
|
2899
|
+
this.w2f_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2900
|
+
this.x2f_1 = playerWhoChooseSuitGoFirst;
|
|
2901
|
+
this.y2f_1 = winnerShuffleCards;
|
|
2902
|
+
this.z2f_1 = playWithoutLiabilities;
|
|
2903
|
+
this.a2g_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2904
|
+
this.b2g_1 = enableFineIfNoBribes;
|
|
2905
|
+
this.c2g_1 = fineIfNoBribes;
|
|
2906
|
+
this.d2g_1 = enableFineAfterThirdByte;
|
|
2907
|
+
this.e2g_1 = checkTrumpCombination;
|
|
2908
|
+
this.f2g_1 = checkOnlyTrumpDebertz;
|
|
2909
|
+
this.g2g_1 = tenCardsInHand;
|
|
2888
2910
|
}
|
|
2889
2911
|
RulesDto.prototype.toString = function () {
|
|
2890
|
-
return 'RulesDto(needToPutHigherTrump=' + this.
|
|
2912
|
+
return 'RulesDto(needToPutHigherTrump=' + this.q2f_1 + ', distributePoints=' + this.r2f_1 + ', protectBella=' + this.s2f_1 + ', oneTryToProtectBella=' + this.t2f_1 + ', enableFourSevensCombination=' + this.u2f_1 + ', enableTrumpSevenCombination=' + this.v2f_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.w2f_1 + ', playerWhoChooseSuitGoFirst=' + this.x2f_1 + ', winnerShuffleCards=' + this.y2f_1 + ', playWithoutLiabilities=' + this.z2f_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.a2g_1 + ', enableFineIfNoBribes=' + this.b2g_1 + ', fineIfNoBribes=' + this.c2g_1 + ', enableFineAfterThirdByte=' + this.d2g_1 + ', checkTrumpCombination=' + this.e2g_1 + ', checkOnlyTrumpDebertz=' + this.f2g_1 + ', tenCardsInHand=' + this.g2g_1 + ')';
|
|
2891
2913
|
};
|
|
2892
2914
|
RulesDto.prototype.hashCode = function () {
|
|
2893
|
-
var result = this.
|
|
2894
|
-
result = imul(result, 31) + (this.q2f_1 | 0) | 0;
|
|
2915
|
+
var result = this.q2f_1 | 0;
|
|
2895
2916
|
result = imul(result, 31) + (this.r2f_1 | 0) | 0;
|
|
2896
|
-
result = imul(result, 31) + (this.s2f_1
|
|
2897
|
-
result = imul(result, 31) + (this.t2f_1 | 0) | 0;
|
|
2917
|
+
result = imul(result, 31) + (this.s2f_1 | 0) | 0;
|
|
2918
|
+
result = imul(result, 31) + (this.t2f_1 == null ? 0 : this.t2f_1 | 0) | 0;
|
|
2898
2919
|
result = imul(result, 31) + (this.u2f_1 | 0) | 0;
|
|
2899
2920
|
result = imul(result, 31) + (this.v2f_1 | 0) | 0;
|
|
2900
2921
|
result = imul(result, 31) + (this.w2f_1 | 0) | 0;
|
|
@@ -2902,11 +2923,12 @@
|
|
|
2902
2923
|
result = imul(result, 31) + (this.y2f_1 | 0) | 0;
|
|
2903
2924
|
result = imul(result, 31) + (this.z2f_1 | 0) | 0;
|
|
2904
2925
|
result = imul(result, 31) + (this.a2g_1 | 0) | 0;
|
|
2905
|
-
result = imul(result, 31) + this.b2g_1 | 0;
|
|
2906
|
-
result = imul(result, 31) +
|
|
2926
|
+
result = imul(result, 31) + (this.b2g_1 | 0) | 0;
|
|
2927
|
+
result = imul(result, 31) + this.c2g_1 | 0;
|
|
2907
2928
|
result = imul(result, 31) + (this.d2g_1 | 0) | 0;
|
|
2908
2929
|
result = imul(result, 31) + (this.e2g_1 | 0) | 0;
|
|
2909
2930
|
result = imul(result, 31) + (this.f2g_1 | 0) | 0;
|
|
2931
|
+
result = imul(result, 31) + (this.g2g_1 | 0) | 0;
|
|
2910
2932
|
return result;
|
|
2911
2933
|
};
|
|
2912
2934
|
RulesDto.prototype.equals = function (other) {
|
|
@@ -2915,15 +2937,13 @@
|
|
|
2915
2937
|
if (!(other instanceof RulesDto))
|
|
2916
2938
|
return false;
|
|
2917
2939
|
var tmp0_other_with_cast = other instanceof RulesDto ? other : THROW_CCE();
|
|
2918
|
-
if (!(this.p2f_1 === tmp0_other_with_cast.p2f_1))
|
|
2919
|
-
return false;
|
|
2920
2940
|
if (!(this.q2f_1 === tmp0_other_with_cast.q2f_1))
|
|
2921
2941
|
return false;
|
|
2922
2942
|
if (!(this.r2f_1 === tmp0_other_with_cast.r2f_1))
|
|
2923
2943
|
return false;
|
|
2924
|
-
if (!(this.s2f_1
|
|
2944
|
+
if (!(this.s2f_1 === tmp0_other_with_cast.s2f_1))
|
|
2925
2945
|
return false;
|
|
2926
|
-
if (!(this.t2f_1
|
|
2946
|
+
if (!(this.t2f_1 == tmp0_other_with_cast.t2f_1))
|
|
2927
2947
|
return false;
|
|
2928
2948
|
if (!(this.u2f_1 === tmp0_other_with_cast.u2f_1))
|
|
2929
2949
|
return false;
|
|
@@ -2949,18 +2969,20 @@
|
|
|
2949
2969
|
return false;
|
|
2950
2970
|
if (!(this.f2g_1 === tmp0_other_with_cast.f2g_1))
|
|
2951
2971
|
return false;
|
|
2972
|
+
if (!(this.g2g_1 === tmp0_other_with_cast.g2g_1))
|
|
2973
|
+
return false;
|
|
2952
2974
|
return true;
|
|
2953
2975
|
};
|
|
2954
2976
|
function CardGrowthComparator(trump, firstCardSuit) {
|
|
2955
|
-
this.
|
|
2956
|
-
this.
|
|
2977
|
+
this.y2g_1 = trump;
|
|
2978
|
+
this.z2g_1 = firstCardSuit;
|
|
2957
2979
|
}
|
|
2958
|
-
CardGrowthComparator.prototype.
|
|
2959
|
-
return getGrowth(b, this.
|
|
2980
|
+
CardGrowthComparator.prototype.a2h = function (a, b) {
|
|
2981
|
+
return getGrowth(b, this.y2g_1, this.z2g_1) - getGrowth(a, this.y2g_1, this.z2g_1) | 0;
|
|
2960
2982
|
};
|
|
2961
2983
|
CardGrowthComparator.prototype.compare = function (a, b) {
|
|
2962
2984
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2963
|
-
return this.
|
|
2985
|
+
return this.a2h(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2964
2986
|
};
|
|
2965
2987
|
function filterByCardName(_this__u8e3s4, name) {
|
|
2966
2988
|
var tmp$ret$1;
|
|
@@ -2983,12 +3005,12 @@
|
|
|
2983
3005
|
function CardIndexComparator() {
|
|
2984
3006
|
CardIndexComparator_instance = this;
|
|
2985
3007
|
}
|
|
2986
|
-
CardIndexComparator.prototype.
|
|
2987
|
-
return a.
|
|
3008
|
+
CardIndexComparator.prototype.a2h = function (a, b) {
|
|
3009
|
+
return a.n2f_1 - b.n2f_1 | 0;
|
|
2988
3010
|
};
|
|
2989
3011
|
CardIndexComparator.prototype.compare = function (a, b) {
|
|
2990
3012
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2991
|
-
return this.
|
|
3013
|
+
return this.a2h(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2992
3014
|
};
|
|
2993
3015
|
var CardIndexComparator_instance;
|
|
2994
3016
|
function CardIndexComparator_getInstance() {
|
|
@@ -3017,12 +3039,12 @@
|
|
|
3017
3039
|
function CardNumberComparator() {
|
|
3018
3040
|
CardNumberComparator_instance = this;
|
|
3019
3041
|
}
|
|
3020
|
-
CardNumberComparator.prototype.
|
|
3021
|
-
return b.
|
|
3042
|
+
CardNumberComparator.prototype.a2h = function (a, b) {
|
|
3043
|
+
return b.b2h() - a.b2h() | 0;
|
|
3022
3044
|
};
|
|
3023
3045
|
CardNumberComparator.prototype.compare = function (a, b) {
|
|
3024
3046
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
3025
|
-
return this.
|
|
3047
|
+
return this.a2h(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
3026
3048
|
};
|
|
3027
3049
|
var CardNumberComparator_instance;
|
|
3028
3050
|
function CardNumberComparator_getInstance() {
|
|
@@ -3031,7 +3053,7 @@
|
|
|
3031
3053
|
return CardNumberComparator_instance;
|
|
3032
3054
|
}
|
|
3033
3055
|
function getPoint(_this__u8e3s4, trump) {
|
|
3034
|
-
var isNotTrump = !trump.equals(_this__u8e3s4.
|
|
3056
|
+
var isNotTrump = !trump.equals(_this__u8e3s4.c2h());
|
|
3035
3057
|
var tmp0_subject = _this__u8e3s4.zf();
|
|
3036
3058
|
var tmp0 = tmp0_subject.n4_1;
|
|
3037
3059
|
var tmp;
|
|
@@ -3065,8 +3087,8 @@
|
|
|
3065
3087
|
}
|
|
3066
3088
|
function getGrowth(_this__u8e3s4, trump, firstCardSuit) {
|
|
3067
3089
|
var minPoint = 0;
|
|
3068
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
3069
|
-
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.
|
|
3090
|
+
var isTrump = trump.equals(_this__u8e3s4.c2h());
|
|
3091
|
+
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.c2h());
|
|
3070
3092
|
var minGrowth;
|
|
3071
3093
|
var maxGrowth;
|
|
3072
3094
|
var tmp0_subject = _this__u8e3s4.zf();
|
|
@@ -3164,7 +3186,7 @@
|
|
|
3164
3186
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3165
3187
|
var tmp$ret$0;
|
|
3166
3188
|
// Inline function 'com.logic.data.models.table.cards.bySuitPredicate.<anonymous>.<anonymous>' call
|
|
3167
|
-
tmp$ret$0 = p1.
|
|
3189
|
+
tmp$ret$0 = p1.c2h().equals(element);
|
|
3168
3190
|
if (tmp$ret$0) {
|
|
3169
3191
|
tmp$ret$1 = true;
|
|
3170
3192
|
break $l$block;
|
|
@@ -3212,10 +3234,10 @@
|
|
|
3212
3234
|
function Companion_15() {
|
|
3213
3235
|
Companion_instance_15 = this;
|
|
3214
3236
|
}
|
|
3215
|
-
Companion_15.prototype.
|
|
3237
|
+
Companion_15.prototype.d2h = function (suit, cardNumber) {
|
|
3216
3238
|
return new GameCard(getNumber(Companion_getInstance_17(), cardNumber, suit));
|
|
3217
3239
|
};
|
|
3218
|
-
Companion_15.prototype.
|
|
3240
|
+
Companion_15.prototype.e2h = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
|
|
3219
3241
|
var tmp0_safe_receiver = previousStubCardWithMaxIndex;
|
|
3220
3242
|
var tmp;
|
|
3221
3243
|
if (tmp0_safe_receiver == null) {
|
|
@@ -3227,7 +3249,7 @@
|
|
|
3227
3249
|
var tmp_0;
|
|
3228
3250
|
var tmp$ret$0;
|
|
3229
3251
|
// Inline function 'com.logic.data.models.table.cards.Companion.createUniqueStub.<anonymous>' call
|
|
3230
|
-
tmp$ret$0 = tmp0_safe_receiver.
|
|
3252
|
+
tmp$ret$0 = tmp0_safe_receiver.f2h();
|
|
3231
3253
|
if (tmp$ret$0) {
|
|
3232
3254
|
tmp_0 = tmp0_safe_receiver;
|
|
3233
3255
|
} else {
|
|
@@ -3237,8 +3259,8 @@
|
|
|
3237
3259
|
tmp = tmp$ret$1;
|
|
3238
3260
|
}
|
|
3239
3261
|
var tmp1_safe_receiver = tmp;
|
|
3240
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
3241
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_getInstance_17().
|
|
3262
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.n2f_1;
|
|
3263
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_getInstance_17().k2h(tmp2_safe_receiver, playerIndex, reverse);
|
|
3242
3264
|
var tmp_1;
|
|
3243
3265
|
if (tmp3_safe_receiver == null) {
|
|
3244
3266
|
tmp_1 = null;
|
|
@@ -3267,12 +3289,12 @@
|
|
|
3267
3289
|
var index = tmp_2;
|
|
3268
3290
|
return new GameCard(index);
|
|
3269
3291
|
};
|
|
3270
|
-
Companion_15.prototype.
|
|
3292
|
+
Companion_15.prototype.l2h = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $mask0, $handler) {
|
|
3271
3293
|
if (!(($mask0 & 4) === 0))
|
|
3272
3294
|
previousStubCardWithMaxIndex = null;
|
|
3273
3295
|
if (!(($mask0 & 8) === 0))
|
|
3274
3296
|
reverse = false;
|
|
3275
|
-
return this.
|
|
3297
|
+
return this.e2h(position, playerIndex, previousStubCardWithMaxIndex, reverse);
|
|
3276
3298
|
};
|
|
3277
3299
|
var Companion_instance_15;
|
|
3278
3300
|
function Companion_getInstance_16() {
|
|
@@ -3381,7 +3403,7 @@
|
|
|
3381
3403
|
return tmp;
|
|
3382
3404
|
}
|
|
3383
3405
|
function _get_isShirt__vd98rp($this) {
|
|
3384
|
-
var tmp = $this.
|
|
3406
|
+
var tmp = $this.n2f_1;
|
|
3385
3407
|
Companion_getInstance_17();
|
|
3386
3408
|
return tmp === 52;
|
|
3387
3409
|
}
|
|
@@ -3390,12 +3412,12 @@
|
|
|
3390
3412
|
}
|
|
3391
3413
|
function Companion_16() {
|
|
3392
3414
|
Companion_instance_16 = this;
|
|
3393
|
-
this.
|
|
3394
|
-
this.
|
|
3395
|
-
this.
|
|
3396
|
-
this.
|
|
3415
|
+
this.g2h_1 = -1;
|
|
3416
|
+
this.h2h_1 = 13;
|
|
3417
|
+
this.i2h_1 = 52;
|
|
3418
|
+
this.j2h_1 = 53;
|
|
3397
3419
|
}
|
|
3398
|
-
Companion_16.prototype.
|
|
3420
|
+
Companion_16.prototype.k2h = function (_this__u8e3s4, playerIndex, reverse) {
|
|
3399
3421
|
var tmp;
|
|
3400
3422
|
if (reverse) {
|
|
3401
3423
|
tmp = _this__u8e3s4 + (53 + imul(playerIndex, 14) | 0) | 0;
|
|
@@ -3468,55 +3490,55 @@
|
|
|
3468
3490
|
}
|
|
3469
3491
|
function GameCard(index) {
|
|
3470
3492
|
Companion_getInstance_17();
|
|
3471
|
-
this.
|
|
3493
|
+
this.n2f_1 = index;
|
|
3472
3494
|
}
|
|
3473
|
-
GameCard.prototype.
|
|
3495
|
+
GameCard.prototype.c2h = function () {
|
|
3474
3496
|
var tmp;
|
|
3475
3497
|
Companion_getInstance_17();
|
|
3476
3498
|
var containsUpper = 13;
|
|
3477
|
-
var containsArg = this.
|
|
3499
|
+
var containsArg = this.n2f_1;
|
|
3478
3500
|
if (0 <= containsArg ? containsArg <= containsUpper : false) {
|
|
3479
3501
|
tmp = Suit_DIAMOND_getInstance();
|
|
3480
3502
|
} else {
|
|
3481
|
-
var tmp_0 = this.
|
|
3503
|
+
var tmp_0 = this.n2f_1;
|
|
3482
3504
|
Companion_getInstance_17();
|
|
3483
3505
|
if (tmp_0 <= imul(13, 2)) {
|
|
3484
3506
|
tmp = Suit_SPADE_getInstance();
|
|
3485
3507
|
} else {
|
|
3486
|
-
var tmp_1 = this.
|
|
3508
|
+
var tmp_1 = this.n2f_1;
|
|
3487
3509
|
Companion_getInstance_17();
|
|
3488
3510
|
if (tmp_1 <= imul(13, 3)) {
|
|
3489
3511
|
tmp = Suit_HEART_getInstance();
|
|
3490
3512
|
} else {
|
|
3491
|
-
var tmp_2 = this.
|
|
3513
|
+
var tmp_2 = this.n2f_1;
|
|
3492
3514
|
Companion_getInstance_17();
|
|
3493
3515
|
if (tmp_2 <= imul(13, 4)) {
|
|
3494
3516
|
tmp = Suit_CLUB_getInstance();
|
|
3495
3517
|
} else {
|
|
3496
|
-
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.
|
|
3518
|
+
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.n2f_1);
|
|
3497
3519
|
}
|
|
3498
3520
|
}
|
|
3499
3521
|
}
|
|
3500
3522
|
}
|
|
3501
3523
|
return tmp;
|
|
3502
3524
|
};
|
|
3503
|
-
GameCard.prototype.
|
|
3525
|
+
GameCard.prototype.b2h = function () {
|
|
3504
3526
|
var tmp;
|
|
3505
|
-
if (this.
|
|
3527
|
+
if (this.f2h()) {
|
|
3506
3528
|
Companion_getInstance_17();
|
|
3507
3529
|
tmp = -1;
|
|
3508
3530
|
} else {
|
|
3509
|
-
var tmp_0 = this.
|
|
3531
|
+
var tmp_0 = this.n2f_1;
|
|
3510
3532
|
Companion_getInstance_17();
|
|
3511
|
-
tmp = tmp_0 - imul(13, getIndex(this.
|
|
3533
|
+
tmp = tmp_0 - imul(13, getIndex(this.c2h())) | 0;
|
|
3512
3534
|
}
|
|
3513
3535
|
return tmp;
|
|
3514
3536
|
};
|
|
3515
3537
|
GameCard.prototype.zf = function () {
|
|
3516
|
-
return this.
|
|
3538
|
+
return this.f2h() ? CardName_STUB_getInstance() : getName(Companion_getInstance_17(), this.b2h());
|
|
3517
3539
|
};
|
|
3518
|
-
GameCard.prototype.
|
|
3519
|
-
var tmp = this.
|
|
3540
|
+
GameCard.prototype.f2h = function () {
|
|
3541
|
+
var tmp = this.n2f_1;
|
|
3520
3542
|
Companion_getInstance_17();
|
|
3521
3543
|
return tmp >= 53;
|
|
3522
3544
|
};
|
|
@@ -3524,13 +3546,13 @@
|
|
|
3524
3546
|
if (_get_isShirt__vd98rp(this)) {
|
|
3525
3547
|
return 'GameCard(SHIRT)';
|
|
3526
3548
|
}
|
|
3527
|
-
if (this.
|
|
3528
|
-
return 'GameCard(STUB, ' + this.
|
|
3549
|
+
if (this.f2h()) {
|
|
3550
|
+
return 'GameCard(STUB, ' + this.n2f_1 + ')';
|
|
3529
3551
|
}
|
|
3530
|
-
return 'GameCard(' + this.zf() + ', suit: ' + this.
|
|
3552
|
+
return 'GameCard(' + this.zf() + ', suit: ' + this.c2h() + ', index=' + this.n2f_1 + ')';
|
|
3531
3553
|
};
|
|
3532
3554
|
GameCard.prototype.hashCode = function () {
|
|
3533
|
-
return this.
|
|
3555
|
+
return this.n2f_1;
|
|
3534
3556
|
};
|
|
3535
3557
|
GameCard.prototype.equals = function (other) {
|
|
3536
3558
|
if (this === other)
|
|
@@ -3538,23 +3560,23 @@
|
|
|
3538
3560
|
if (!(other instanceof GameCard))
|
|
3539
3561
|
return false;
|
|
3540
3562
|
var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
|
|
3541
|
-
if (!(this.
|
|
3563
|
+
if (!(this.n2f_1 === tmp0_other_with_cast.n2f_1))
|
|
3542
3564
|
return false;
|
|
3543
3565
|
return true;
|
|
3544
3566
|
};
|
|
3545
3567
|
function GameCardWIthPlayerId(playerId, gameCard) {
|
|
3546
|
-
this.
|
|
3547
|
-
this.
|
|
3568
|
+
this.o2f_1 = playerId;
|
|
3569
|
+
this.p2f_1 = gameCard;
|
|
3548
3570
|
}
|
|
3549
3571
|
GameCardWIthPlayerId.prototype.w2c = function () {
|
|
3550
|
-
return this.
|
|
3572
|
+
return this.o2f_1;
|
|
3551
3573
|
};
|
|
3552
3574
|
GameCardWIthPlayerId.prototype.toString = function () {
|
|
3553
|
-
return 'GameCardWIthPlayerId(playerId=' + this.
|
|
3575
|
+
return 'GameCardWIthPlayerId(playerId=' + this.o2f_1 + ', gameCard=' + this.p2f_1 + ')';
|
|
3554
3576
|
};
|
|
3555
3577
|
GameCardWIthPlayerId.prototype.hashCode = function () {
|
|
3556
|
-
var result = getStringHashCode(this.
|
|
3557
|
-
result = imul(result, 31) + this.
|
|
3578
|
+
var result = getStringHashCode(this.o2f_1);
|
|
3579
|
+
result = imul(result, 31) + this.p2f_1.hashCode() | 0;
|
|
3558
3580
|
return result;
|
|
3559
3581
|
};
|
|
3560
3582
|
GameCardWIthPlayerId.prototype.equals = function (other) {
|
|
@@ -3563,9 +3585,9 @@
|
|
|
3563
3585
|
if (!(other instanceof GameCardWIthPlayerId))
|
|
3564
3586
|
return false;
|
|
3565
3587
|
var tmp0_other_with_cast = other instanceof GameCardWIthPlayerId ? other : THROW_CCE();
|
|
3566
|
-
if (!(this.
|
|
3588
|
+
if (!(this.o2f_1 === tmp0_other_with_cast.o2f_1))
|
|
3567
3589
|
return false;
|
|
3568
|
-
if (!this.
|
|
3590
|
+
if (!this.p2f_1.equals(tmp0_other_with_cast.p2f_1))
|
|
3569
3591
|
return false;
|
|
3570
3592
|
return true;
|
|
3571
3593
|
};
|
|
@@ -3576,15 +3598,15 @@
|
|
|
3576
3598
|
}
|
|
3577
3599
|
});
|
|
3578
3600
|
function ProcessingCard(gameCard, payload) {
|
|
3579
|
-
this.
|
|
3580
|
-
this.
|
|
3601
|
+
this.m2h_1 = gameCard;
|
|
3602
|
+
this.n2h_1 = payload;
|
|
3581
3603
|
}
|
|
3582
3604
|
ProcessingCard.prototype.toString = function () {
|
|
3583
|
-
return 'ProcessingCard(gameCard=' + this.
|
|
3605
|
+
return 'ProcessingCard(gameCard=' + this.m2h_1 + ', payload=' + this.n2h_1 + ')';
|
|
3584
3606
|
};
|
|
3585
3607
|
ProcessingCard.prototype.hashCode = function () {
|
|
3586
|
-
var result = this.
|
|
3587
|
-
result = imul(result, 31) + (this.
|
|
3608
|
+
var result = this.m2h_1.hashCode();
|
|
3609
|
+
result = imul(result, 31) + (this.n2h_1 == null ? 0 : hashCode(this.n2h_1)) | 0;
|
|
3588
3610
|
return result;
|
|
3589
3611
|
};
|
|
3590
3612
|
ProcessingCard.prototype.equals = function (other) {
|
|
@@ -3593,9 +3615,9 @@
|
|
|
3593
3615
|
if (!(other instanceof ProcessingCard))
|
|
3594
3616
|
return false;
|
|
3595
3617
|
var tmp0_other_with_cast = other instanceof ProcessingCard ? other : THROW_CCE();
|
|
3596
|
-
if (!this.
|
|
3618
|
+
if (!this.m2h_1.equals(tmp0_other_with_cast.m2h_1))
|
|
3597
3619
|
return false;
|
|
3598
|
-
if (!equals(this.
|
|
3620
|
+
if (!equals(this.n2h_1, tmp0_other_with_cast.n2h_1))
|
|
3599
3621
|
return false;
|
|
3600
3622
|
return true;
|
|
3601
3623
|
};
|
|
@@ -3610,10 +3632,10 @@
|
|
|
3610
3632
|
Companion_instance_17 = this;
|
|
3611
3633
|
var tmp = this;
|
|
3612
3634
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3613
|
-
tmp.
|
|
3635
|
+
tmp.o2h_1 = lazy(tmp_0, Suit$Companion$$cachedSerializer$delegate$_anonymous__8wfs3b);
|
|
3614
3636
|
}
|
|
3615
3637
|
Companion_17.prototype.l1w = function () {
|
|
3616
|
-
return this.
|
|
3638
|
+
return this.o2h_1.j1();
|
|
3617
3639
|
};
|
|
3618
3640
|
Companion_17.prototype.b1l = function (typeParamsSerializers) {
|
|
3619
3641
|
return this.l1w();
|
|
@@ -3682,81 +3704,81 @@
|
|
|
3682
3704
|
return tmp;
|
|
3683
3705
|
}
|
|
3684
3706
|
function _no_name_provided__qut3iv($logger) {
|
|
3685
|
-
this.
|
|
3707
|
+
this.q2h_1 = $logger;
|
|
3686
3708
|
AbstractCoroutineContextElement.call(this, Key_getInstance());
|
|
3687
3709
|
}
|
|
3688
3710
|
_no_name_provided__qut3iv.prototype.vm = function (context, exception) {
|
|
3689
3711
|
var tmp = 'AsyncProvider error: ' + exception;
|
|
3690
|
-
return this.
|
|
3712
|
+
return this.q2h_1.r2h('AsyncErrorHandler', tmp, exception, null, 8, null);
|
|
3691
3713
|
};
|
|
3692
3714
|
function AsyncProviderImpl(logger) {
|
|
3693
3715
|
var tmp = this;
|
|
3694
|
-
tmp.
|
|
3716
|
+
tmp.s2h_1 = Job$default(null, 1, null);
|
|
3695
3717
|
var tmp_0 = this;
|
|
3696
3718
|
var tmp$ret$0;
|
|
3697
3719
|
// Inline function 'kotlinx.coroutines.CoroutineExceptionHandler' call
|
|
3698
3720
|
tmp$ret$0 = new _no_name_provided__qut3iv(logger);
|
|
3699
|
-
tmp_0.
|
|
3700
|
-
this.
|
|
3701
|
-
this.
|
|
3721
|
+
tmp_0.t2h_1 = tmp$ret$0;
|
|
3722
|
+
this.u2h_1 = CoroutineScope(Dispatchers_getInstance().vq().h4(this.s2h_1));
|
|
3723
|
+
this.v2h_1 = CoroutineScope(Dispatchers_getInstance().rq_1.h4(this.s2h_1));
|
|
3702
3724
|
}
|
|
3703
|
-
AsyncProviderImpl.prototype.
|
|
3704
|
-
return this.
|
|
3725
|
+
AsyncProviderImpl.prototype.w2h = function () {
|
|
3726
|
+
return this.t2h_1;
|
|
3705
3727
|
};
|
|
3706
|
-
AsyncProviderImpl.prototype.
|
|
3707
|
-
return launch$default(this.t2h_1, context, null, block, 2, null);
|
|
3708
|
-
};
|
|
3709
|
-
AsyncProviderImpl.prototype.y2h = function (context, block) {
|
|
3728
|
+
AsyncProviderImpl.prototype.x2h = function (context, block) {
|
|
3710
3729
|
return launch$default(this.u2h_1, context, null, block, 2, null);
|
|
3711
3730
|
};
|
|
3731
|
+
AsyncProviderImpl.prototype.z2h = function (context, block) {
|
|
3732
|
+
return launch$default(this.v2h_1, context, null, block, 2, null);
|
|
3733
|
+
};
|
|
3712
3734
|
AsyncProviderImpl.prototype.nk = function () {
|
|
3713
|
-
if (!this.
|
|
3714
|
-
this.
|
|
3735
|
+
if (!this.s2h_1.np()) {
|
|
3736
|
+
this.s2h_1.lj(null, 1, null);
|
|
3715
3737
|
}
|
|
3716
3738
|
};
|
|
3717
3739
|
function AsyncProvider() {
|
|
3718
3740
|
}
|
|
3719
3741
|
function UUIDIdsProvider() {
|
|
3720
3742
|
}
|
|
3721
|
-
UUIDIdsProvider.prototype.
|
|
3743
|
+
UUIDIdsProvider.prototype.b2i = function () {
|
|
3722
3744
|
return uuid4().toString();
|
|
3723
3745
|
};
|
|
3724
3746
|
function IdsProvider() {
|
|
3725
3747
|
}
|
|
3726
3748
|
function JobsProviderImpl(logger) {
|
|
3727
|
-
this.
|
|
3749
|
+
this.c2i_1 = logger;
|
|
3728
3750
|
var tmp = this;
|
|
3729
3751
|
var tmp$ret$0;
|
|
3730
3752
|
// Inline function 'kotlin.collections.hashMapOf' call
|
|
3731
3753
|
tmp$ret$0 = HashMap_init_$Create$();
|
|
3732
|
-
tmp.
|
|
3754
|
+
tmp.d2i_1 = tmp$ret$0;
|
|
3733
3755
|
}
|
|
3734
|
-
JobsProviderImpl.prototype.
|
|
3735
|
-
if (this.
|
|
3756
|
+
JobsProviderImpl.prototype.e2i = function (timerTag, job) {
|
|
3757
|
+
if (this.g2i(timerTag)) {
|
|
3736
3758
|
var tmp = 'Timer already exists for that tag: ' + timerTag;
|
|
3737
|
-
this.
|
|
3759
|
+
this.c2i_1.f2i(null, tmp, null, 5, null);
|
|
3738
3760
|
}
|
|
3739
3761
|
// Inline function 'kotlin.collections.set' call
|
|
3740
|
-
var tmp0_set = this.
|
|
3762
|
+
var tmp0_set = this.d2i_1;
|
|
3741
3763
|
tmp0_set.w2(timerTag, job);
|
|
3742
3764
|
};
|
|
3743
|
-
JobsProviderImpl.prototype.f2i = function (timerTag) {
|
|
3744
|
-
return this.c2i_1.q1(timerTag);
|
|
3745
|
-
};
|
|
3746
3765
|
JobsProviderImpl.prototype.g2i = function (timerTag) {
|
|
3747
|
-
|
|
3766
|
+
return this.d2i_1.q1(timerTag);
|
|
3767
|
+
};
|
|
3768
|
+
JobsProviderImpl.prototype.h2i = function (timerTag) {
|
|
3769
|
+
if (!this.g2i(timerTag)) {
|
|
3748
3770
|
var tmp = "Can't find timer for that tag: " + timerTag;
|
|
3749
|
-
this.
|
|
3771
|
+
this.c2i_1.f2i(null, tmp, null, 5, null);
|
|
3750
3772
|
}
|
|
3751
|
-
this.
|
|
3773
|
+
this.d2i_1.sb(timerTag);
|
|
3752
3774
|
};
|
|
3753
|
-
JobsProviderImpl.prototype.
|
|
3775
|
+
JobsProviderImpl.prototype.i2i = function (timers) {
|
|
3754
3776
|
// Inline function 'kotlin.collections.forEach' call
|
|
3755
3777
|
var tmp0_iterator = timers.g();
|
|
3756
3778
|
while (tmp0_iterator.h()) {
|
|
3757
3779
|
var element = tmp0_iterator.i();
|
|
3758
3780
|
// Inline function 'com.logic.data.providers.JobsProviderImpl.cancelJobs.<anonymous>' call
|
|
3759
|
-
var timer = this.
|
|
3781
|
+
var timer = this.d2i_1.t1(element);
|
|
3760
3782
|
var tmp0_safe_receiver = timer;
|
|
3761
3783
|
if (tmp0_safe_receiver == null)
|
|
3762
3784
|
null;
|
|
@@ -3764,11 +3786,11 @@
|
|
|
3764
3786
|
tmp0_safe_receiver.lj(null, 1, null);
|
|
3765
3787
|
}
|
|
3766
3788
|
}
|
|
3767
|
-
this.
|
|
3789
|
+
this.d2i_1.u1().qa(toSet(timers));
|
|
3768
3790
|
};
|
|
3769
|
-
JobsProviderImpl.prototype.
|
|
3770
|
-
var timer = this.
|
|
3771
|
-
this.
|
|
3791
|
+
JobsProviderImpl.prototype.j2i = function (timerTag) {
|
|
3792
|
+
var timer = this.d2i_1.t1(timerTag);
|
|
3793
|
+
this.d2i_1.sb(timerTag);
|
|
3772
3794
|
var tmp0_safe_receiver = timer;
|
|
3773
3795
|
if (tmp0_safe_receiver == null)
|
|
3774
3796
|
null;
|
|
@@ -3922,10 +3944,10 @@
|
|
|
3922
3944
|
}
|
|
3923
3945
|
function createStore$dispatch(currentState, currentReducer, $logger, action) {
|
|
3924
3946
|
try {
|
|
3925
|
-
currentState.fy(currentReducer._v.
|
|
3947
|
+
currentState.fy(currentReducer._v.k2i(currentState.j1(), action));
|
|
3926
3948
|
} catch ($p) {
|
|
3927
3949
|
if ($p instanceof Exception) {
|
|
3928
|
-
$logger.
|
|
3950
|
+
$logger.r2h('createStore.dispatch', null, $p, null, 10, null);
|
|
3929
3951
|
} else {
|
|
3930
3952
|
throw $p;
|
|
3931
3953
|
}
|
|
@@ -3957,46 +3979,46 @@
|
|
|
3957
3979
|
return l;
|
|
3958
3980
|
}
|
|
3959
3981
|
function createStore$2($currentState, $currentReducer, $logger) {
|
|
3960
|
-
this.
|
|
3982
|
+
this.n2i_1 = $currentState;
|
|
3961
3983
|
var tmp = this;
|
|
3962
|
-
tmp.
|
|
3984
|
+
tmp.l2i_1 = createStore$dispatch$ref($currentState, $currentReducer, $logger);
|
|
3963
3985
|
var tmp_0 = this;
|
|
3964
|
-
tmp_0.
|
|
3986
|
+
tmp_0.m2i_1 = createStore$replaceReducer$ref($currentReducer, $currentState, $logger);
|
|
3965
3987
|
}
|
|
3966
|
-
createStore$2.prototype.
|
|
3967
|
-
this.
|
|
3968
|
-
};
|
|
3969
|
-
createStore$2.prototype.o2i = function () {
|
|
3970
|
-
return this.k2i_1;
|
|
3988
|
+
createStore$2.prototype.o2i = function (_set____db54di) {
|
|
3989
|
+
this.l2i_1 = _set____db54di;
|
|
3971
3990
|
};
|
|
3972
3991
|
createStore$2.prototype.p2i = function () {
|
|
3973
|
-
return this.
|
|
3992
|
+
return this.l2i_1;
|
|
3974
3993
|
};
|
|
3975
3994
|
createStore$2.prototype.q2i = function () {
|
|
3976
|
-
return this.
|
|
3995
|
+
return this.n2i_1;
|
|
3996
|
+
};
|
|
3997
|
+
createStore$2.prototype.r2i = function () {
|
|
3998
|
+
return this.m2i_1;
|
|
3977
3999
|
};
|
|
3978
4000
|
createStore$2.prototype.xi = function () {
|
|
3979
|
-
return this.
|
|
4001
|
+
return this.n2i_1.j1();
|
|
3980
4002
|
};
|
|
3981
4003
|
Object.defineProperty(createStore$2.prototype, 'dispatch', {
|
|
3982
4004
|
configurable: true,
|
|
3983
4005
|
get: function () {
|
|
3984
|
-
return this.
|
|
4006
|
+
return this.p2i();
|
|
3985
4007
|
},
|
|
3986
4008
|
set: function (value) {
|
|
3987
|
-
this.
|
|
4009
|
+
this.o2i(value);
|
|
3988
4010
|
}
|
|
3989
4011
|
});
|
|
3990
4012
|
Object.defineProperty(createStore$2.prototype, 'observe', {
|
|
3991
4013
|
configurable: true,
|
|
3992
4014
|
get: function () {
|
|
3993
|
-
return this.
|
|
4015
|
+
return this.q2i();
|
|
3994
4016
|
}
|
|
3995
4017
|
});
|
|
3996
4018
|
Object.defineProperty(createStore$2.prototype, 'replaceReducer', {
|
|
3997
4019
|
configurable: true,
|
|
3998
4020
|
get: function () {
|
|
3999
|
-
return this.
|
|
4021
|
+
return this.r2i();
|
|
4000
4022
|
}
|
|
4001
4023
|
});
|
|
4002
4024
|
Object.defineProperty(createStore$2.prototype, 'state', {
|
|
@@ -4029,10 +4051,10 @@
|
|
|
4029
4051
|
return new middleware$1(dispatch);
|
|
4030
4052
|
}
|
|
4031
4053
|
function middleware$1($dispatch) {
|
|
4032
|
-
this.
|
|
4054
|
+
this.v2i_1 = $dispatch;
|
|
4033
4055
|
}
|
|
4034
|
-
middleware$1.prototype.
|
|
4035
|
-
this.
|
|
4056
|
+
middleware$1.prototype.u2i = function (store, next, action) {
|
|
4057
|
+
this.v2i_1(store, next, action);
|
|
4036
4058
|
};
|
|
4037
4059
|
function Reducer() {
|
|
4038
4060
|
}
|
|
@@ -4040,9 +4062,9 @@
|
|
|
4040
4062
|
return new combineReducers$1(reducers);
|
|
4041
4063
|
}
|
|
4042
4064
|
function combineReducers$1($reducers) {
|
|
4043
|
-
this.
|
|
4065
|
+
this.w2i_1 = $reducers;
|
|
4044
4066
|
}
|
|
4045
|
-
combineReducers$1.prototype.
|
|
4067
|
+
combineReducers$1.prototype.x2i = function (state, action) {
|
|
4046
4068
|
var tmp$ret$4;
|
|
4047
4069
|
// Inline function 'kotlin.collections.fold' call
|
|
4048
4070
|
var tmp$ret$2;
|
|
@@ -4050,7 +4072,7 @@
|
|
|
4050
4072
|
var tmp$ret$1;
|
|
4051
4073
|
// Inline function 'kotlin.collections.filterTo' call
|
|
4052
4074
|
var tmp0_filterTo = ArrayList_init_$Create$();
|
|
4053
|
-
var indexedObject = this.
|
|
4075
|
+
var indexedObject = this.w2i_1;
|
|
4054
4076
|
var inductionVariable = 0;
|
|
4055
4077
|
var last = indexedObject.length;
|
|
4056
4078
|
while (inductionVariable < last) {
|
|
@@ -4058,7 +4080,7 @@
|
|
|
4058
4080
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4059
4081
|
var tmp$ret$0;
|
|
4060
4082
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
4061
|
-
tmp$ret$0 = element.
|
|
4083
|
+
tmp$ret$0 = element.t2i(action);
|
|
4062
4084
|
if (tmp$ret$0) {
|
|
4063
4085
|
tmp0_filterTo.a(element);
|
|
4064
4086
|
}
|
|
@@ -4073,14 +4095,14 @@
|
|
|
4073
4095
|
var tmp$ret$3;
|
|
4074
4096
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
4075
4097
|
var tmp1__anonymous__uwfjfc = accumulator;
|
|
4076
|
-
tmp$ret$3 = element_0.
|
|
4098
|
+
tmp$ret$3 = element_0.k2i(tmp1__anonymous__uwfjfc, action);
|
|
4077
4099
|
accumulator = tmp$ret$3;
|
|
4078
4100
|
}
|
|
4079
4101
|
tmp$ret$4 = accumulator;
|
|
4080
4102
|
return tmp$ret$4;
|
|
4081
4103
|
};
|
|
4082
|
-
combineReducers$1.prototype.
|
|
4083
|
-
return this.
|
|
4104
|
+
combineReducers$1.prototype.k2i = function (state, action) {
|
|
4105
|
+
return this.x2i((state == null ? true : isObject(state)) ? state : THROW_CCE(), action);
|
|
4084
4106
|
};
|
|
4085
4107
|
function Store() {
|
|
4086
4108
|
}
|
|
@@ -4091,7 +4113,7 @@
|
|
|
4091
4113
|
Object.defineProperty(INIT.prototype, 'actionTag', {
|
|
4092
4114
|
configurable: true,
|
|
4093
4115
|
get: function () {
|
|
4094
|
-
return this.
|
|
4116
|
+
return this.s2i();
|
|
4095
4117
|
}
|
|
4096
4118
|
});
|
|
4097
4119
|
var INIT_instance;
|
|
@@ -4107,7 +4129,7 @@
|
|
|
4107
4129
|
Object.defineProperty(REPLACE.prototype, 'actionTag', {
|
|
4108
4130
|
configurable: true,
|
|
4109
4131
|
get: function () {
|
|
4110
|
-
return this.
|
|
4132
|
+
return this.s2i();
|
|
4111
4133
|
}
|
|
4112
4134
|
});
|
|
4113
4135
|
var REPLACE_instance;
|
|
@@ -4121,7 +4143,7 @@
|
|
|
4121
4143
|
Object.defineProperty(StoreLifecycleAction.prototype, 'actionTag', {
|
|
4122
4144
|
configurable: true,
|
|
4123
4145
|
get: function () {
|
|
4124
|
-
return this.
|
|
4146
|
+
return this.s2i();
|
|
4125
4147
|
}
|
|
4126
4148
|
});
|
|
4127
4149
|
function BufferedAction() {
|
|
@@ -4132,16 +4154,16 @@
|
|
|
4132
4154
|
}
|
|
4133
4155
|
function StopTimerAction(timerTag) {
|
|
4134
4156
|
TimerAction.call(this);
|
|
4135
|
-
this.
|
|
4157
|
+
this.z2i_1 = timerTag;
|
|
4136
4158
|
}
|
|
4137
|
-
StopTimerAction.prototype.
|
|
4138
|
-
return this.
|
|
4159
|
+
StopTimerAction.prototype.a2j = function () {
|
|
4160
|
+
return this.z2i_1;
|
|
4139
4161
|
};
|
|
4140
4162
|
StopTimerAction.prototype.toString = function () {
|
|
4141
|
-
return 'StopTimerAction(timerTag=' + this.
|
|
4163
|
+
return 'StopTimerAction(timerTag=' + this.z2i_1 + ')';
|
|
4142
4164
|
};
|
|
4143
4165
|
StopTimerAction.prototype.hashCode = function () {
|
|
4144
|
-
return hashCode(this.
|
|
4166
|
+
return hashCode(this.z2i_1);
|
|
4145
4167
|
};
|
|
4146
4168
|
StopTimerAction.prototype.equals = function (other) {
|
|
4147
4169
|
if (this === other)
|
|
@@ -4149,14 +4171,14 @@
|
|
|
4149
4171
|
if (!(other instanceof StopTimerAction))
|
|
4150
4172
|
return false;
|
|
4151
4173
|
var tmp0_other_with_cast = other instanceof StopTimerAction ? other : THROW_CCE();
|
|
4152
|
-
if (!equals(this.
|
|
4174
|
+
if (!equals(this.z2i_1, tmp0_other_with_cast.z2i_1))
|
|
4153
4175
|
return false;
|
|
4154
4176
|
return true;
|
|
4155
4177
|
};
|
|
4156
4178
|
Object.defineProperty(StopTimerAction.prototype, 'actionTag', {
|
|
4157
4179
|
configurable: true,
|
|
4158
4180
|
get: function () {
|
|
4159
|
-
return this.
|
|
4181
|
+
return this.s2i();
|
|
4160
4182
|
}
|
|
4161
4183
|
});
|
|
4162
4184
|
function StartTimerAction_init_$Init$(timerTag, delayMillis, initialDelay, type, $mask0, $marker, $this) {
|
|
@@ -4172,22 +4194,22 @@
|
|
|
4172
4194
|
}
|
|
4173
4195
|
function StartTimerAction(timerTag, delayMillis, initialDelay, type) {
|
|
4174
4196
|
TimerAction.call(this);
|
|
4175
|
-
this.
|
|
4176
|
-
this.
|
|
4177
|
-
this.
|
|
4178
|
-
this.
|
|
4197
|
+
this.b2j_1 = timerTag;
|
|
4198
|
+
this.c2j_1 = delayMillis;
|
|
4199
|
+
this.d2j_1 = initialDelay;
|
|
4200
|
+
this.e2j_1 = type;
|
|
4179
4201
|
}
|
|
4180
|
-
StartTimerAction.prototype.
|
|
4181
|
-
return this.
|
|
4202
|
+
StartTimerAction.prototype.a2j = function () {
|
|
4203
|
+
return this.b2j_1;
|
|
4182
4204
|
};
|
|
4183
4205
|
StartTimerAction.prototype.toString = function () {
|
|
4184
|
-
return 'StartTimerAction(timerTag=' + this.
|
|
4206
|
+
return 'StartTimerAction(timerTag=' + this.b2j_1 + ', delayMillis=' + toString_0(this.c2j_1) + ', initialDelay=' + toString_0(this.d2j_1) + ', type=' + this.e2j_1 + ')';
|
|
4185
4207
|
};
|
|
4186
4208
|
StartTimerAction.prototype.hashCode = function () {
|
|
4187
|
-
var result = hashCode(this.
|
|
4188
|
-
result = imul(result, 31) + this.b2j_1.hashCode() | 0;
|
|
4209
|
+
var result = hashCode(this.b2j_1);
|
|
4189
4210
|
result = imul(result, 31) + this.c2j_1.hashCode() | 0;
|
|
4190
4211
|
result = imul(result, 31) + this.d2j_1.hashCode() | 0;
|
|
4212
|
+
result = imul(result, 31) + this.e2j_1.hashCode() | 0;
|
|
4191
4213
|
return result;
|
|
4192
4214
|
};
|
|
4193
4215
|
StartTimerAction.prototype.equals = function (other) {
|
|
@@ -4196,20 +4218,20 @@
|
|
|
4196
4218
|
if (!(other instanceof StartTimerAction))
|
|
4197
4219
|
return false;
|
|
4198
4220
|
var tmp0_other_with_cast = other instanceof StartTimerAction ? other : THROW_CCE();
|
|
4199
|
-
if (!equals(this.
|
|
4200
|
-
return false;
|
|
4201
|
-
if (!this.b2j_1.equals(tmp0_other_with_cast.b2j_1))
|
|
4221
|
+
if (!equals(this.b2j_1, tmp0_other_with_cast.b2j_1))
|
|
4202
4222
|
return false;
|
|
4203
4223
|
if (!this.c2j_1.equals(tmp0_other_with_cast.c2j_1))
|
|
4204
4224
|
return false;
|
|
4205
4225
|
if (!this.d2j_1.equals(tmp0_other_with_cast.d2j_1))
|
|
4206
4226
|
return false;
|
|
4227
|
+
if (!this.e2j_1.equals(tmp0_other_with_cast.e2j_1))
|
|
4228
|
+
return false;
|
|
4207
4229
|
return true;
|
|
4208
4230
|
};
|
|
4209
4231
|
Object.defineProperty(StartTimerAction.prototype, 'actionTag', {
|
|
4210
4232
|
configurable: true,
|
|
4211
4233
|
get: function () {
|
|
4212
|
-
return this.
|
|
4234
|
+
return this.s2i();
|
|
4213
4235
|
}
|
|
4214
4236
|
});
|
|
4215
4237
|
var TimerType_DELAY_instance;
|
|
@@ -4227,21 +4249,21 @@
|
|
|
4227
4249
|
}
|
|
4228
4250
|
function TimerTickAction(timerTag, type) {
|
|
4229
4251
|
TimerAction.call(this);
|
|
4230
|
-
this.
|
|
4231
|
-
this.
|
|
4252
|
+
this.f2j_1 = timerTag;
|
|
4253
|
+
this.g2j_1 = type;
|
|
4232
4254
|
}
|
|
4233
|
-
TimerTickAction.prototype.
|
|
4234
|
-
return this.
|
|
4255
|
+
TimerTickAction.prototype.a2j = function () {
|
|
4256
|
+
return this.f2j_1;
|
|
4235
4257
|
};
|
|
4236
4258
|
TimerTickAction.prototype.notValidateWhenFinished = function () {
|
|
4237
|
-
return this.
|
|
4259
|
+
return this.f2j_1.notValidateWhenFinished();
|
|
4238
4260
|
};
|
|
4239
4261
|
TimerTickAction.prototype.toString = function () {
|
|
4240
|
-
return 'TimerTickAction(timerTag=' + this.
|
|
4262
|
+
return 'TimerTickAction(timerTag=' + this.f2j_1 + ', type=' + this.g2j_1 + ')';
|
|
4241
4263
|
};
|
|
4242
4264
|
TimerTickAction.prototype.hashCode = function () {
|
|
4243
|
-
var result = hashCode(this.
|
|
4244
|
-
result = imul(result, 31) + this.
|
|
4265
|
+
var result = hashCode(this.f2j_1);
|
|
4266
|
+
result = imul(result, 31) + this.g2j_1.hashCode() | 0;
|
|
4245
4267
|
return result;
|
|
4246
4268
|
};
|
|
4247
4269
|
TimerTickAction.prototype.equals = function (other) {
|
|
@@ -4250,16 +4272,16 @@
|
|
|
4250
4272
|
if (!(other instanceof TimerTickAction))
|
|
4251
4273
|
return false;
|
|
4252
4274
|
var tmp0_other_with_cast = other instanceof TimerTickAction ? other : THROW_CCE();
|
|
4253
|
-
if (!equals(this.
|
|
4275
|
+
if (!equals(this.f2j_1, tmp0_other_with_cast.f2j_1))
|
|
4254
4276
|
return false;
|
|
4255
|
-
if (!this.
|
|
4277
|
+
if (!this.g2j_1.equals(tmp0_other_with_cast.g2j_1))
|
|
4256
4278
|
return false;
|
|
4257
4279
|
return true;
|
|
4258
4280
|
};
|
|
4259
4281
|
Object.defineProperty(TimerTickAction.prototype, 'actionTag', {
|
|
4260
4282
|
configurable: true,
|
|
4261
4283
|
get: function () {
|
|
4262
|
-
return this.
|
|
4284
|
+
return this.s2i();
|
|
4263
4285
|
}
|
|
4264
4286
|
});
|
|
4265
4287
|
function TimerAction() {
|
|
@@ -4267,7 +4289,7 @@
|
|
|
4267
4289
|
Object.defineProperty(TimerAction.prototype, 'actionTag', {
|
|
4268
4290
|
configurable: true,
|
|
4269
4291
|
get: function () {
|
|
4270
|
-
return this.
|
|
4292
|
+
return this.s2i();
|
|
4271
4293
|
}
|
|
4272
4294
|
});
|
|
4273
4295
|
function TimerType_DELAY_getInstance() {
|
|
@@ -4294,7 +4316,7 @@
|
|
|
4294
4316
|
var tmp_0;
|
|
4295
4317
|
if ($p instanceof Exception) {
|
|
4296
4318
|
var tmp_1 = 'StoreEnhancer error: ' + $p;
|
|
4297
|
-
$logger.
|
|
4319
|
+
$logger.r2h('StoreEnhancer', tmp_1, $p, null, 8, null);
|
|
4298
4320
|
tmp_0 = Unit_getInstance();
|
|
4299
4321
|
} else {
|
|
4300
4322
|
throw $p;
|
|
@@ -4322,7 +4344,7 @@
|
|
|
4322
4344
|
}
|
|
4323
4345
|
function applyMiddleware$lambda$lambda$lambda$lambda($tmp0__anonymous__1nv1x1, $store, $tmp1__anonymous__6ijp4k) {
|
|
4324
4346
|
return function (action) {
|
|
4325
|
-
$tmp0__anonymous__1nv1x1.
|
|
4347
|
+
$tmp0__anonymous__1nv1x1.u2i($store, $tmp1__anonymous__6ijp4k, action);
|
|
4326
4348
|
return Unit_getInstance();
|
|
4327
4349
|
};
|
|
4328
4350
|
}
|
|
@@ -4341,7 +4363,7 @@
|
|
|
4341
4363
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4342
4364
|
var tmp$ret$0;
|
|
4343
4365
|
// Inline function 'com.logic.redux.enhancers.applyMiddleware.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
4344
|
-
tmp$ret$0 = element.
|
|
4366
|
+
tmp$ret$0 = element.t2i(action);
|
|
4345
4367
|
if (tmp$ret$0) {
|
|
4346
4368
|
tmp0_filterTo.a(element);
|
|
4347
4369
|
}
|
|
@@ -4389,9 +4411,9 @@
|
|
|
4389
4411
|
return tmp$ret$0;
|
|
4390
4412
|
}
|
|
4391
4413
|
function timerMiddleware$o$handle$slambda$slambda($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4392
|
-
this.
|
|
4393
|
-
this.
|
|
4394
|
-
this.
|
|
4414
|
+
this.p2j_1 = $jobsProvider;
|
|
4415
|
+
this.q2j_1 = $tmp0__anonymous__1nv1x1;
|
|
4416
|
+
this.r2j_1 = $store;
|
|
4395
4417
|
CoroutineImpl.call(this, resultContinuation);
|
|
4396
4418
|
}
|
|
4397
4419
|
timerMiddleware$o$handle$slambda$slambda.prototype.k12 = function ($this$launchStore, $cont) {
|
|
@@ -4410,8 +4432,8 @@
|
|
|
4410
4432
|
var tmp = this.xg_1;
|
|
4411
4433
|
if (tmp === 0) {
|
|
4412
4434
|
this.yg_1 = 1;
|
|
4413
|
-
if (this.
|
|
4414
|
-
this.
|
|
4435
|
+
if (this.p2j_1.g2i(this.q2j_1.a2j())) {
|
|
4436
|
+
this.r2j_1.dispatch(new TimerTickAction(this.q2j_1.a2j(), TimerType_DELAY_getInstance()));
|
|
4415
4437
|
}
|
|
4416
4438
|
return Unit_getInstance();
|
|
4417
4439
|
} else if (tmp === 1) {
|
|
@@ -4423,8 +4445,8 @@
|
|
|
4423
4445
|
while (true);
|
|
4424
4446
|
};
|
|
4425
4447
|
timerMiddleware$o$handle$slambda$slambda.prototype.l12 = function ($this$launchStore, completion) {
|
|
4426
|
-
var i = new timerMiddleware$o$handle$slambda$slambda(this.
|
|
4427
|
-
i.
|
|
4448
|
+
var i = new timerMiddleware$o$handle$slambda$slambda(this.p2j_1, this.q2j_1, this.r2j_1, completion);
|
|
4449
|
+
i.s2j_1 = $this$launchStore;
|
|
4428
4450
|
return i;
|
|
4429
4451
|
};
|
|
4430
4452
|
function timerMiddleware$o$handle$slambda$slambda_0($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
@@ -4436,9 +4458,9 @@
|
|
|
4436
4458
|
return l;
|
|
4437
4459
|
}
|
|
4438
4460
|
function timerMiddleware$o$handle$slambda$slambda_1($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4439
|
-
this.
|
|
4440
|
-
this.
|
|
4441
|
-
this.
|
|
4461
|
+
this.b2k_1 = $jobsProvider;
|
|
4462
|
+
this.c2k_1 = $tmp0__anonymous__1nv1x1;
|
|
4463
|
+
this.d2k_1 = $store;
|
|
4442
4464
|
CoroutineImpl.call(this, resultContinuation);
|
|
4443
4465
|
}
|
|
4444
4466
|
timerMiddleware$o$handle$slambda$slambda_1.prototype.k12 = function ($this$launchStore, $cont) {
|
|
@@ -4457,8 +4479,8 @@
|
|
|
4457
4479
|
var tmp = this.xg_1;
|
|
4458
4480
|
if (tmp === 0) {
|
|
4459
4481
|
this.yg_1 = 1;
|
|
4460
|
-
if (this.
|
|
4461
|
-
this.
|
|
4482
|
+
if (this.b2k_1.g2i(this.c2k_1.a2j())) {
|
|
4483
|
+
this.d2k_1.dispatch(new TimerTickAction(this.c2k_1.a2j(), TimerType_INTERVAL_getInstance()));
|
|
4462
4484
|
}
|
|
4463
4485
|
return Unit_getInstance();
|
|
4464
4486
|
} else if (tmp === 1) {
|
|
@@ -4470,8 +4492,8 @@
|
|
|
4470
4492
|
while (true);
|
|
4471
4493
|
};
|
|
4472
4494
|
timerMiddleware$o$handle$slambda$slambda_1.prototype.l12 = function ($this$launchStore, completion) {
|
|
4473
|
-
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.
|
|
4474
|
-
i.
|
|
4495
|
+
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.b2k_1, this.c2k_1, this.d2k_1, completion);
|
|
4496
|
+
i.e2k_1 = $this$launchStore;
|
|
4475
4497
|
return i;
|
|
4476
4498
|
};
|
|
4477
4499
|
function timerMiddleware$o$handle$slambda$slambda_2($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
@@ -4483,10 +4505,10 @@
|
|
|
4483
4505
|
return l;
|
|
4484
4506
|
}
|
|
4485
4507
|
function timerMiddleware$o$handle$slambda($tmp0__anonymous__1nv1x1, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
4486
|
-
this.
|
|
4487
|
-
this.
|
|
4488
|
-
this.
|
|
4489
|
-
this.
|
|
4508
|
+
this.n2k_1 = $tmp0__anonymous__1nv1x1;
|
|
4509
|
+
this.o2k_1 = $asyncProvider;
|
|
4510
|
+
this.p2k_1 = $jobsProvider;
|
|
4511
|
+
this.q2k_1 = $store;
|
|
4490
4512
|
CoroutineImpl.call(this, resultContinuation);
|
|
4491
4513
|
}
|
|
4492
4514
|
timerMiddleware$o$handle$slambda.prototype.k12 = function ($this$launchWorker, $cont) {
|
|
@@ -4506,9 +4528,9 @@
|
|
|
4506
4528
|
switch (tmp) {
|
|
4507
4529
|
case 0:
|
|
4508
4530
|
this.yg_1 = 10;
|
|
4509
|
-
if (!this.
|
|
4531
|
+
if (!this.n2k_1.d2j_1.equals(new Long(0, 0)) ? this.n2k_1.e2j_1.equals(TimerType_INTERVAL_getInstance()) : false) {
|
|
4510
4532
|
this.xg_1 = 1;
|
|
4511
|
-
suspendResult = delay(this.
|
|
4533
|
+
suspendResult = delay(this.n2k_1.d2j_1, this);
|
|
4512
4534
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4513
4535
|
return suspendResult;
|
|
4514
4536
|
}
|
|
@@ -4523,20 +4545,20 @@
|
|
|
4523
4545
|
this.xg_1 = 2;
|
|
4524
4546
|
continue $sm;
|
|
4525
4547
|
case 2:
|
|
4526
|
-
this.
|
|
4527
|
-
this.
|
|
4528
|
-
if (this.
|
|
4548
|
+
this.s2k_1 = this.n2k_1.e2j_1;
|
|
4549
|
+
this.t2k_1 = this.s2k_1.n4_1;
|
|
4550
|
+
if (this.t2k_1 === 0) {
|
|
4529
4551
|
this.xg_1 = 8;
|
|
4530
|
-
suspendResult = delay(this.
|
|
4552
|
+
suspendResult = delay(this.n2k_1.c2j_1, this);
|
|
4531
4553
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4532
4554
|
return suspendResult;
|
|
4533
4555
|
}
|
|
4534
4556
|
continue $sm;
|
|
4535
4557
|
} else {
|
|
4536
|
-
if (this.
|
|
4537
|
-
if (!this.
|
|
4558
|
+
if (this.t2k_1 === 1) {
|
|
4559
|
+
if (!this.n2k_1.d2j_1.equals(new Long(0, 0))) {
|
|
4538
4560
|
this.xg_1 = 3;
|
|
4539
|
-
suspendResult = delay(this.
|
|
4561
|
+
suspendResult = delay(this.n2k_1.d2j_1, this);
|
|
4540
4562
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4541
4563
|
return suspendResult;
|
|
4542
4564
|
}
|
|
@@ -4559,15 +4581,15 @@
|
|
|
4559
4581
|
this.xg_1 = 5;
|
|
4560
4582
|
continue $sm;
|
|
4561
4583
|
case 5:
|
|
4562
|
-
if (!get_isActive(this.
|
|
4584
|
+
if (!get_isActive(this.r2k_1)) {
|
|
4563
4585
|
this.xg_1 = 7;
|
|
4564
4586
|
continue $sm;
|
|
4565
4587
|
}
|
|
4566
4588
|
|
|
4567
|
-
this.
|
|
4589
|
+
this.o2k_1.y2h(null, timerMiddleware$o$handle$slambda$slambda_2(this.p2k_1, this.n2k_1, this.q2k_1, null), 1, null);
|
|
4568
4590
|
;
|
|
4569
4591
|
this.xg_1 = 6;
|
|
4570
|
-
suspendResult = delay(this.
|
|
4592
|
+
suspendResult = delay(this.n2k_1.d2j_1, this);
|
|
4571
4593
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4572
4594
|
return suspendResult;
|
|
4573
4595
|
}
|
|
@@ -4580,7 +4602,7 @@
|
|
|
4580
4602
|
this.xg_1 = 9;
|
|
4581
4603
|
continue $sm;
|
|
4582
4604
|
case 8:
|
|
4583
|
-
this.
|
|
4605
|
+
this.o2k_1.y2h(null, timerMiddleware$o$handle$slambda$slambda_0(this.p2k_1, this.n2k_1, this.q2k_1, null), 1, null);
|
|
4584
4606
|
;
|
|
4585
4607
|
this.xg_1 = 9;
|
|
4586
4608
|
continue $sm;
|
|
@@ -4600,8 +4622,8 @@
|
|
|
4600
4622
|
while (true);
|
|
4601
4623
|
};
|
|
4602
4624
|
timerMiddleware$o$handle$slambda.prototype.l12 = function ($this$launchWorker, completion) {
|
|
4603
|
-
var i = new timerMiddleware$o$handle$slambda(this.
|
|
4604
|
-
i.
|
|
4625
|
+
var i = new timerMiddleware$o$handle$slambda(this.n2k_1, this.o2k_1, this.p2k_1, this.q2k_1, completion);
|
|
4626
|
+
i.r2k_1 = $this$launchWorker;
|
|
4605
4627
|
return i;
|
|
4606
4628
|
};
|
|
4607
4629
|
function timerMiddleware$o$handle$slambda_0($tmp0__anonymous__1nv1x1, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
@@ -4613,34 +4635,34 @@
|
|
|
4613
4635
|
return l;
|
|
4614
4636
|
}
|
|
4615
4637
|
function _no_name_provided__qut3iv_0($asyncProvider, $jobsProvider) {
|
|
4616
|
-
this.
|
|
4617
|
-
this.
|
|
4638
|
+
this.u2k_1 = $asyncProvider;
|
|
4639
|
+
this.v2k_1 = $jobsProvider;
|
|
4618
4640
|
}
|
|
4619
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4641
|
+
_no_name_provided__qut3iv_0.prototype.t2i = function (action) {
|
|
4620
4642
|
return action instanceof TimerAction;
|
|
4621
4643
|
};
|
|
4622
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4644
|
+
_no_name_provided__qut3iv_0.prototype.w2k = function (store, next, action) {
|
|
4623
4645
|
// Inline function 'com.logic.redux.middlewares.timers.timerMiddleware.<anonymous>' call
|
|
4624
4646
|
var tmp0__anonymous__q1qw7t = action instanceof TimerAction ? action : THROW_CCE();
|
|
4625
4647
|
var tmp0_subject = tmp0__anonymous__q1qw7t;
|
|
4626
4648
|
if (tmp0_subject instanceof StartTimerAction) {
|
|
4627
|
-
var job = this.
|
|
4628
|
-
this.
|
|
4649
|
+
var job = this.u2k_1.a2i(null, timerMiddleware$o$handle$slambda_0(tmp0__anonymous__q1qw7t, this.u2k_1, this.v2k_1, store, null), 1, null);
|
|
4650
|
+
this.v2k_1.e2i(tmp0__anonymous__q1qw7t.a2j(), job);
|
|
4629
4651
|
} else {
|
|
4630
4652
|
if (tmp0_subject instanceof StopTimerAction) {
|
|
4631
|
-
this.
|
|
4653
|
+
this.v2k_1.j2i(tmp0__anonymous__q1qw7t.a2j());
|
|
4632
4654
|
} else {
|
|
4633
4655
|
if (tmp0_subject instanceof TimerTickAction) {
|
|
4634
|
-
if (tmp0__anonymous__q1qw7t.
|
|
4635
|
-
this.
|
|
4656
|
+
if (tmp0__anonymous__q1qw7t.g2j_1.equals(TimerType_DELAY_getInstance())) {
|
|
4657
|
+
this.v2k_1.h2i(tmp0__anonymous__q1qw7t.a2j());
|
|
4636
4658
|
}
|
|
4637
4659
|
}
|
|
4638
4660
|
}
|
|
4639
4661
|
}
|
|
4640
4662
|
next(tmp0__anonymous__q1qw7t);
|
|
4641
4663
|
};
|
|
4642
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4643
|
-
return this.
|
|
4664
|
+
_no_name_provided__qut3iv_0.prototype.u2i = function (store, next, action) {
|
|
4665
|
+
return this.w2k(store, next, action);
|
|
4644
4666
|
};
|
|
4645
4667
|
function enumToString(_this__u8e3s4, mapping) {
|
|
4646
4668
|
var tmp$ret$2;
|
|
@@ -4808,23 +4830,23 @@
|
|
|
4808
4830
|
Category_NONE_instance = new Category('NONE', 1, true);
|
|
4809
4831
|
}
|
|
4810
4832
|
function generateTag($this, tag) {
|
|
4811
|
-
return (!($this.
|
|
4833
|
+
return (!($this.z2k_1 == null) ? !(tag == null) : false) ? '' + $this.z2k_1 + ':' + tag : tag;
|
|
4812
4834
|
}
|
|
4813
4835
|
function Category(name, ordinal, isEnabled) {
|
|
4814
4836
|
Enum.call(this, name, ordinal);
|
|
4815
|
-
this.
|
|
4837
|
+
this.c2l_1 = isEnabled;
|
|
4816
4838
|
}
|
|
4817
4839
|
function Logger$loggerSource$1() {
|
|
4818
|
-
this.
|
|
4840
|
+
this.d2l_1 = new PlatformLogger();
|
|
4819
4841
|
}
|
|
4820
|
-
Logger$loggerSource$1.prototype.
|
|
4821
|
-
this.
|
|
4842
|
+
Logger$loggerSource$1.prototype.e2l = function (tag, msg) {
|
|
4843
|
+
this.d2l_1.e2l(tag, msg);
|
|
4822
4844
|
};
|
|
4823
|
-
Logger$loggerSource$1.prototype.
|
|
4824
|
-
this.
|
|
4845
|
+
Logger$loggerSource$1.prototype.f2l = function (tag, msg, exception) {
|
|
4846
|
+
this.d2l_1.f2l(tag, msg, exception);
|
|
4825
4847
|
};
|
|
4826
|
-
Logger$loggerSource$1.prototype.
|
|
4827
|
-
this.
|
|
4848
|
+
Logger$loggerSource$1.prototype.g2l = function (tag, msg) {
|
|
4849
|
+
this.d2l_1.g2l(tag, msg);
|
|
4828
4850
|
};
|
|
4829
4851
|
function Category_NONE_getInstance() {
|
|
4830
4852
|
Category_initEntries();
|
|
@@ -4833,42 +4855,42 @@
|
|
|
4833
4855
|
function Logger() {
|
|
4834
4856
|
Logger_instance = this;
|
|
4835
4857
|
var tmp = this;
|
|
4836
|
-
tmp.
|
|
4837
|
-
this.
|
|
4838
|
-
this.
|
|
4858
|
+
tmp.x2k_1 = new Logger$loggerSource$1();
|
|
4859
|
+
this.y2k_1 = true;
|
|
4860
|
+
this.z2k_1 = null;
|
|
4839
4861
|
}
|
|
4840
|
-
Logger.prototype.
|
|
4841
|
-
this.
|
|
4862
|
+
Logger.prototype.h2l = function (tag, message) {
|
|
4863
|
+
this.i2l(tag, message, Category_NONE_getInstance());
|
|
4842
4864
|
};
|
|
4843
|
-
Logger.prototype.
|
|
4844
|
-
if (this.
|
|
4845
|
-
this.
|
|
4865
|
+
Logger.prototype.j2l = function (tag, message, category) {
|
|
4866
|
+
if (this.y2k_1 ? category.c2l_1 : false) {
|
|
4867
|
+
this.x2k_1.g2l(generateTag(this, tag), message);
|
|
4846
4868
|
}
|
|
4847
4869
|
};
|
|
4848
|
-
Logger.prototype.
|
|
4870
|
+
Logger.prototype.k2l = function (tag, message, category, $mask0, $handler) {
|
|
4849
4871
|
if (!(($mask0 & 1) === 0))
|
|
4850
4872
|
tag = null;
|
|
4851
4873
|
if (!(($mask0 & 4) === 0))
|
|
4852
4874
|
category = Category_NONE_getInstance();
|
|
4853
|
-
return this.
|
|
4875
|
+
return this.j2l(tag, message, category);
|
|
4854
4876
|
};
|
|
4855
|
-
Logger.prototype.
|
|
4856
|
-
if (this.
|
|
4857
|
-
this.
|
|
4877
|
+
Logger.prototype.i2l = function (tag, message, category) {
|
|
4878
|
+
if (this.y2k_1 ? category.c2l_1 : false) {
|
|
4879
|
+
this.x2k_1.e2l(generateTag(this, tag), message);
|
|
4858
4880
|
}
|
|
4859
4881
|
};
|
|
4860
|
-
Logger.prototype.
|
|
4861
|
-
if (this.
|
|
4882
|
+
Logger.prototype.l2l = function (tag, message, exception, category) {
|
|
4883
|
+
if (this.y2k_1 ? category.c2l_1 : false) {
|
|
4862
4884
|
var tmp0_safe_receiver = exception;
|
|
4863
4885
|
if (tmp0_safe_receiver == null)
|
|
4864
4886
|
null;
|
|
4865
4887
|
else {
|
|
4866
4888
|
printStackTrace(tmp0_safe_receiver);
|
|
4867
4889
|
}
|
|
4868
|
-
this.
|
|
4890
|
+
this.x2k_1.f2l(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
4869
4891
|
}
|
|
4870
4892
|
};
|
|
4871
|
-
Logger.prototype.
|
|
4893
|
+
Logger.prototype.m2l = function (tag, message, exception, category, $mask0, $handler) {
|
|
4872
4894
|
if (!(($mask0 & 1) === 0))
|
|
4873
4895
|
tag = null;
|
|
4874
4896
|
if (!(($mask0 & 2) === 0))
|
|
@@ -4877,7 +4899,7 @@
|
|
|
4877
4899
|
exception = null;
|
|
4878
4900
|
if (!(($mask0 & 8) === 0))
|
|
4879
4901
|
category = Category_NONE_getInstance();
|
|
4880
|
-
return this.
|
|
4902
|
+
return this.l2l(tag, message, exception, category);
|
|
4881
4903
|
};
|
|
4882
4904
|
var Logger_instance;
|
|
4883
4905
|
function Logger_getInstance() {
|
|
@@ -4913,36 +4935,36 @@
|
|
|
4913
4935
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
4914
4936
|
}
|
|
4915
4937
|
function CombinedGameLogger(logOutputs) {
|
|
4916
|
-
this.
|
|
4938
|
+
this.n2l_1 = logOutputs;
|
|
4917
4939
|
}
|
|
4918
|
-
CombinedGameLogger.prototype.
|
|
4940
|
+
CombinedGameLogger.prototype.o2l = function (tag, message, payload) {
|
|
4919
4941
|
// Inline function 'kotlin.collections.forEach' call
|
|
4920
|
-
var tmp0_forEach = this.
|
|
4942
|
+
var tmp0_forEach = this.n2l_1;
|
|
4921
4943
|
var tmp0_iterator = tmp0_forEach.g();
|
|
4922
4944
|
while (tmp0_iterator.h()) {
|
|
4923
4945
|
var element = tmp0_iterator.i();
|
|
4924
4946
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.d.<anonymous>' call
|
|
4925
|
-
element.
|
|
4947
|
+
element.o2l(tag, message, payload);
|
|
4926
4948
|
}
|
|
4927
4949
|
};
|
|
4928
|
-
CombinedGameLogger.prototype.
|
|
4950
|
+
CombinedGameLogger.prototype.q2l = function (tag, message, exception, payload) {
|
|
4929
4951
|
// Inline function 'kotlin.collections.forEach' call
|
|
4930
|
-
var tmp0_forEach = this.
|
|
4952
|
+
var tmp0_forEach = this.n2l_1;
|
|
4931
4953
|
var tmp0_iterator = tmp0_forEach.g();
|
|
4932
4954
|
while (tmp0_iterator.h()) {
|
|
4933
4955
|
var element = tmp0_iterator.i();
|
|
4934
4956
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.e.<anonymous>' call
|
|
4935
|
-
element.
|
|
4957
|
+
element.q2l(tag, message, exception, payload);
|
|
4936
4958
|
}
|
|
4937
4959
|
};
|
|
4938
|
-
CombinedGameLogger.prototype.
|
|
4960
|
+
CombinedGameLogger.prototype.r2l = function (tag, message, payload) {
|
|
4939
4961
|
// Inline function 'kotlin.collections.forEach' call
|
|
4940
|
-
var tmp0_forEach = this.
|
|
4962
|
+
var tmp0_forEach = this.n2l_1;
|
|
4941
4963
|
var tmp0_iterator = tmp0_forEach.g();
|
|
4942
4964
|
while (tmp0_iterator.h()) {
|
|
4943
4965
|
var element = tmp0_iterator.i();
|
|
4944
4966
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.w.<anonymous>' call
|
|
4945
|
-
element.
|
|
4967
|
+
element.r2l(tag, message, payload);
|
|
4946
4968
|
}
|
|
4947
4969
|
};
|
|
4948
4970
|
function GameLogger() {
|
|
@@ -4959,40 +4981,40 @@
|
|
|
4959
4981
|
return PlatformGameLogger_init_$Init$(enabled, $mask0, $marker, Object.create(PlatformGameLogger.prototype));
|
|
4960
4982
|
}
|
|
4961
4983
|
function PlatformGameLogger(enabled) {
|
|
4962
|
-
this.
|
|
4984
|
+
this.s2l_1 = enabled;
|
|
4963
4985
|
}
|
|
4964
|
-
PlatformGameLogger.prototype.
|
|
4965
|
-
if (!this.
|
|
4986
|
+
PlatformGameLogger.prototype.o2l = function (tag, message, payload) {
|
|
4987
|
+
if (!this.s2l_1)
|
|
4966
4988
|
return Unit_getInstance();
|
|
4967
|
-
Logger_getInstance().
|
|
4989
|
+
Logger_getInstance().h2l(tag, message);
|
|
4968
4990
|
};
|
|
4969
|
-
PlatformGameLogger.prototype.
|
|
4970
|
-
if (!this.
|
|
4991
|
+
PlatformGameLogger.prototype.q2l = function (tag, message, exception, payload) {
|
|
4992
|
+
if (!this.s2l_1)
|
|
4971
4993
|
return Unit_getInstance();
|
|
4972
4994
|
var tmp = Logger_getInstance();
|
|
4973
|
-
tmp.
|
|
4995
|
+
tmp.m2l(tag, message, exception, null, 8, null);
|
|
4974
4996
|
};
|
|
4975
|
-
PlatformGameLogger.prototype.
|
|
4976
|
-
if (!this.
|
|
4997
|
+
PlatformGameLogger.prototype.r2l = function (tag, message, payload) {
|
|
4998
|
+
if (!this.s2l_1)
|
|
4977
4999
|
return Unit_getInstance();
|
|
4978
5000
|
var tmp = Logger_getInstance();
|
|
4979
|
-
tmp.
|
|
5001
|
+
tmp.k2l(tag, message, null, 4, null);
|
|
4980
5002
|
};
|
|
4981
5003
|
function LoggerOutput() {
|
|
4982
5004
|
}
|
|
4983
5005
|
function PlatformLogger() {
|
|
4984
5006
|
}
|
|
4985
|
-
PlatformLogger.prototype.
|
|
5007
|
+
PlatformLogger.prototype.e2l = function (tag, msg) {
|
|
4986
5008
|
console.log(getLogTag(tag) + ': ' + msg);
|
|
4987
5009
|
};
|
|
4988
|
-
PlatformLogger.prototype.
|
|
5010
|
+
PlatformLogger.prototype.f2l = function (tag, msg, exception) {
|
|
4989
5011
|
if (!(exception == null)) {
|
|
4990
5012
|
console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + exception);
|
|
4991
5013
|
} else {
|
|
4992
5014
|
console.error(getLogTag(tag) + ': ' + msg);
|
|
4993
5015
|
}
|
|
4994
5016
|
};
|
|
4995
|
-
PlatformLogger.prototype.
|
|
5017
|
+
PlatformLogger.prototype.g2l = function (tag, msg) {
|
|
4996
5018
|
console.warn(getLogTag(tag) + ': ' + msg);
|
|
4997
5019
|
};
|
|
4998
5020
|
//region block: post-declaration
|
|
@@ -5009,25 +5031,25 @@
|
|
|
5009
5031
|
_no_name_provided__qut3iv.prototype.g4 = fold;
|
|
5010
5032
|
_no_name_provided__qut3iv.prototype.f4 = minusKey;
|
|
5011
5033
|
_no_name_provided__qut3iv.prototype.h4 = plus;
|
|
5012
|
-
AsyncProviderImpl.prototype.
|
|
5013
|
-
AsyncProviderImpl.prototype.
|
|
5014
|
-
middleware$1.prototype.
|
|
5015
|
-
combineReducers$1.prototype.
|
|
5016
|
-
StoreLifecycleAction.prototype.
|
|
5017
|
-
INIT.prototype.
|
|
5018
|
-
REPLACE.prototype.
|
|
5019
|
-
TimerAction.prototype.
|
|
5020
|
-
StopTimerAction.prototype.
|
|
5034
|
+
AsyncProviderImpl.prototype.y2h = launchStore$default;
|
|
5035
|
+
AsyncProviderImpl.prototype.a2i = launchWorker$default;
|
|
5036
|
+
middleware$1.prototype.t2i = canHandle;
|
|
5037
|
+
combineReducers$1.prototype.t2i = canHandle_0;
|
|
5038
|
+
StoreLifecycleAction.prototype.s2i = get_actionTag;
|
|
5039
|
+
INIT.prototype.s2i = get_actionTag;
|
|
5040
|
+
REPLACE.prototype.s2i = get_actionTag;
|
|
5041
|
+
TimerAction.prototype.s2i = get_actionTag;
|
|
5042
|
+
StopTimerAction.prototype.s2i = get_actionTag;
|
|
5021
5043
|
StopTimerAction.prototype.notValidateWhenFinishing = notValidateWhenFinishing;
|
|
5022
5044
|
StopTimerAction.prototype.notValidateWhenFinished = notValidateWhenFinished;
|
|
5023
|
-
StartTimerAction.prototype.
|
|
5024
|
-
TimerTickAction.prototype.
|
|
5025
|
-
CombinedGameLogger.prototype.
|
|
5026
|
-
CombinedGameLogger.prototype.
|
|
5027
|
-
CombinedGameLogger.prototype.
|
|
5028
|
-
PlatformGameLogger.prototype.
|
|
5029
|
-
PlatformGameLogger.prototype.
|
|
5030
|
-
PlatformGameLogger.prototype.
|
|
5045
|
+
StartTimerAction.prototype.s2i = get_actionTag;
|
|
5046
|
+
TimerTickAction.prototype.s2i = get_actionTag;
|
|
5047
|
+
CombinedGameLogger.prototype.p2l = d$default;
|
|
5048
|
+
CombinedGameLogger.prototype.r2h = e$default;
|
|
5049
|
+
CombinedGameLogger.prototype.f2i = w$default;
|
|
5050
|
+
PlatformGameLogger.prototype.p2l = d$default;
|
|
5051
|
+
PlatformGameLogger.prototype.r2h = e$default;
|
|
5052
|
+
PlatformGameLogger.prototype.f2i = w$default;
|
|
5031
5053
|
//endregion
|
|
5032
5054
|
//region block: exports
|
|
5033
5055
|
function $jsExportAll$(_) {
|