raspberry_games_server_game_logic 1.8.268 → 1.8.269
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +2 -2
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +237 -256
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.js +475 -475
- package/kotlin-kotlin-stdlib.js +4 -4
- package/kotlinx-coroutines-core.js +1 -1
- package/package.json +1 -1
package/Logic_Debertz-engine.js
CHANGED
|
@@ -1222,7 +1222,7 @@
|
|
|
1222
1222
|
tmp = types;
|
|
1223
1223
|
}
|
|
1224
1224
|
types = tmp;
|
|
1225
|
-
return $super === VOID ? this.
|
|
1225
|
+
return $super === VOID ? this.z96(key, types) : $super.z96.call(this, key, types);
|
|
1226
1226
|
}
|
|
1227
1227
|
initMetadataForInterface(FileLoggerOutput, 'FileLoggerOutput', VOID, VOID, [LoggerOutput, LoggerEnabledTrigger]);
|
|
1228
1228
|
initMetadataForClass(FileLoggerOutputImpl, 'FileLoggerOutputImpl', FileLoggerOutputImpl, VOID, [FileLoggerOutput]);
|
|
@@ -1230,7 +1230,7 @@
|
|
|
1230
1230
|
dealerStrategy = dealerStrategy === VOID ? null : dealerStrategy;
|
|
1231
1231
|
mode = mode === VOID ? null : mode;
|
|
1232
1232
|
league = league === VOID ? null : league;
|
|
1233
|
-
return this.
|
|
1233
|
+
return this.a97(points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, mode, league);
|
|
1234
1234
|
}
|
|
1235
1235
|
initMetadataForInterface(GameHelper, 'GameHelper');
|
|
1236
1236
|
initMetadataForClass(GameHelperImpl, 'GameHelperImpl', GameHelperImpl, VOID, [GameHelper]);
|
|
@@ -1243,7 +1243,7 @@
|
|
|
1243
1243
|
tmp = existingNicknames;
|
|
1244
1244
|
}
|
|
1245
1245
|
existingNicknames = tmp;
|
|
1246
|
-
return this.
|
|
1246
|
+
return this.b97(playerId, existingNicknames);
|
|
1247
1247
|
}
|
|
1248
1248
|
initMetadataForInterface(GameResources, 'GameResources');
|
|
1249
1249
|
initMetadataForCompanion(Companion_150);
|
|
@@ -40074,7 +40074,7 @@
|
|
|
40074
40074
|
return 'v4:CALC_POINTS:' + ('round_' + round.roundNumber);
|
|
40075
40075
|
};
|
|
40076
40076
|
protoOf(PlayerTurnTagProvider).r8f = function (sceneId, round) {
|
|
40077
|
-
return 'v4:' + (sceneId + ':') + '
|
|
40077
|
+
return 'v4:' + (sceneId + ':') + 'waiting:' + ('round_' + round.roundNumber);
|
|
40078
40078
|
};
|
|
40079
40079
|
protoOf(PlayerTurnTagProvider).v8l = function (sceneId, round, type) {
|
|
40080
40080
|
return 'v4:' + (sceneId + ':') + 'COMBINATION:' + (type.toString() + ':') + ('round_' + round.roundNumber);
|
|
@@ -49523,10 +49523,7 @@
|
|
|
49523
49523
|
// Inline function 'games.jass.logic.redux.reducers.sclices.scenes.BaseMechanicLifecycleReducer.onFinishing.<anonymous>' call
|
|
49524
49524
|
this.q93_1.r5n(tmp1_safe_receiver);
|
|
49525
49525
|
}
|
|
49526
|
-
|
|
49527
|
-
var tmp3_terminationState = new TerminationState(action.p8q_1, action.r8q_1);
|
|
49528
|
-
var tmp4_tableOrNull = this.p93_1.r93(state.g6n());
|
|
49529
|
-
return state.g8p(tmp4_tableOrNull, VOID, tmp2_gameLifecycleState, tmp3_terminationState);
|
|
49526
|
+
return state.g8p(VOID, VOID, GameLifecycleState_FINISHING_getInstance(), new TerminationState(action.p8q_1, action.r8q_1));
|
|
49530
49527
|
};
|
|
49531
49528
|
protoOf(BaseMechanicLifecycleReducer).k93 = function (state, action) {
|
|
49532
49529
|
var tmp = GameLifecycleState_FINISHED_getInstance();
|
|
@@ -49535,7 +49532,7 @@
|
|
|
49535
49532
|
return state.g8p(VOID, VOID, tmp, tmp1_elvis_lhs == null ? new TerminationState(action.t8q_1) : tmp1_elvis_lhs);
|
|
49536
49533
|
};
|
|
49537
49534
|
protoOf(BaseMechanicLifecycleReducer).j93 = function (state, action) {
|
|
49538
|
-
return state.g8p(this.p93_1.
|
|
49535
|
+
return state.g8p(this.p93_1.r93(state.g6n()));
|
|
49539
49536
|
};
|
|
49540
49537
|
protoOf(BaseMechanicLifecycleReducer).i93 = function (state, action) {
|
|
49541
49538
|
var tmp0_safe_receiver = state.e6m_1;
|
|
@@ -49566,12 +49563,12 @@
|
|
|
49566
49563
|
return value1.id === value2.id;
|
|
49567
49564
|
}
|
|
49568
49565
|
function PlayerHandReducer(pointsInteractor, playerHappinessProvider, logger, dealerConfig) {
|
|
49569
|
-
this.
|
|
49570
|
-
this.
|
|
49571
|
-
this.
|
|
49572
|
-
this.
|
|
49566
|
+
this.s93_1 = pointsInteractor;
|
|
49567
|
+
this.t93_1 = playerHappinessProvider;
|
|
49568
|
+
this.u93_1 = logger;
|
|
49569
|
+
this.v93_1 = dealerConfig;
|
|
49573
49570
|
}
|
|
49574
|
-
protoOf(PlayerHandReducer).
|
|
49571
|
+
protoOf(PlayerHandReducer).w93 = function (playerId, hand, cards, combinations, selectedTrump, config) {
|
|
49575
49572
|
// Inline function 'kotlin.collections.map' call
|
|
49576
49573
|
// Inline function 'kotlin.collections.mapTo' call
|
|
49577
49574
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(combinations, 10));
|
|
@@ -49579,7 +49576,7 @@
|
|
|
49579
49576
|
while (tmp0_iterator.k()) {
|
|
49580
49577
|
var item = tmp0_iterator.l();
|
|
49581
49578
|
// Inline function 'games.jass.logic.redux.reducers.sclices.scenes.PlayerHandReducer.playerHandReducerAddRecord.<anonymous>' call
|
|
49582
|
-
var tmp$ret$0 = mapToRecord(item, this.
|
|
49579
|
+
var tmp$ret$0 = mapToRecord(item, this.s93_1.d8j(item));
|
|
49583
49580
|
destination.e(tmp$ret$0);
|
|
49584
49581
|
}
|
|
49585
49582
|
var combinationRecords = destination;
|
|
@@ -49615,8 +49612,8 @@
|
|
|
49615
49612
|
return hand.y6w(VOID, VOID, plus(hand.y6t_1, combinationRecords), plus(hand.z6t_1, combinationRecords));
|
|
49616
49613
|
}
|
|
49617
49614
|
var tmp0_elvis_lhs = config.dealerStrategy;
|
|
49618
|
-
var dealerStrategy = tmp0_elvis_lhs == null ? this.
|
|
49619
|
-
var tmp_0 = this.
|
|
49615
|
+
var dealerStrategy = tmp0_elvis_lhs == null ? this.v93_1.dealerStrategy : tmp0_elvis_lhs;
|
|
49616
|
+
var tmp_0 = this.s93_1.c8j(cards, selectedTrump, dealerStrategy);
|
|
49620
49617
|
// Inline function 'kotlin.collections.map' call
|
|
49621
49618
|
// Inline function 'kotlin.collections.mapTo' call
|
|
49622
49619
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(combinationRecords, 10));
|
|
@@ -49628,11 +49625,11 @@
|
|
|
49628
49625
|
destination_0.e(tmp$ret$5);
|
|
49629
49626
|
}
|
|
49630
49627
|
var value = tmp_0 + sum(destination_0);
|
|
49631
|
-
var luckyFactor = this.
|
|
49632
|
-
Companion_instance_148.b8j(this.
|
|
49628
|
+
var luckyFactor = this.t93_1.i8d(value, config.playersMode, dealerStrategy);
|
|
49629
|
+
Companion_instance_148.b8j(this.u93_1, 'equaliseCards: earn points for = ' + playerId + ' ' + ('luckyFactor: ' + luckyFactor + ', ') + ('currentLuckyFactor: ' + hand.g6u() + ', ') + ('value: ' + value + ', ') + ('combinations: ' + combinations.m() + ', '));
|
|
49633
49630
|
return hand.y6w(VOID, plus(hand.x6t_1, listOf_0(Companion_instance_16.s6w(luckyFactor, value))), plus(hand.y6t_1, combinationRecords), plus(hand.z6t_1, combinationRecords));
|
|
49634
49631
|
};
|
|
49635
|
-
protoOf(PlayerHandReducer).
|
|
49632
|
+
protoOf(PlayerHandReducer).x93 = function (hand, combinations) {
|
|
49636
49633
|
// Inline function 'kotlin.collections.map' call
|
|
49637
49634
|
var this_0 = filterWithFirstCardOrBela(combinations);
|
|
49638
49635
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -49641,20 +49638,20 @@
|
|
|
49641
49638
|
while (tmp0_iterator.k()) {
|
|
49642
49639
|
var item = tmp0_iterator.l();
|
|
49643
49640
|
// Inline function 'games.jass.logic.redux.reducers.sclices.scenes.PlayerHandReducer.playerHandCombinationsReducer.<anonymous>' call
|
|
49644
|
-
var tmp$ret$0 = mapToRecord(item, this.
|
|
49641
|
+
var tmp$ret$0 = mapToRecord(item, this.s93_1.d8j(item));
|
|
49645
49642
|
destination.e(tmp$ret$0);
|
|
49646
49643
|
}
|
|
49647
49644
|
var combinationRecords = destination;
|
|
49648
49645
|
var tmp = updateOrAddItems(hand.y6t_1, combinationRecords, PlayerHandReducer$playerHandCombinationsReducer$lambda);
|
|
49649
49646
|
return hand.y6w(VOID, VOID, tmp, updateOrAddItems(hand.z6t_1, combinationRecords, PlayerHandReducer$playerHandCombinationsReducer$lambda_0));
|
|
49650
49647
|
};
|
|
49651
|
-
protoOf(PlayerHandReducer).
|
|
49648
|
+
protoOf(PlayerHandReducer).y93 = function (playerId, hand, updatedCombinations, config) {
|
|
49652
49649
|
if (updatedCombinations.p()) {
|
|
49653
49650
|
return hand;
|
|
49654
49651
|
}
|
|
49655
49652
|
var previousFactor = hand.j6u();
|
|
49656
49653
|
if (previousFactor.i6u_1 === 0.0) {
|
|
49657
|
-
return this.
|
|
49654
|
+
return this.x93(hand, updatedCombinations);
|
|
49658
49655
|
}
|
|
49659
49656
|
// Inline function 'kotlin.collections.map' call
|
|
49660
49657
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -49663,7 +49660,7 @@
|
|
|
49663
49660
|
while (tmp0_iterator.k()) {
|
|
49664
49661
|
var item = tmp0_iterator.l();
|
|
49665
49662
|
// Inline function 'games.jass.logic.redux.reducers.sclices.scenes.PlayerHandReducer.playerHandCombinationsWithFactorReducer.<anonymous>' call
|
|
49666
|
-
var tmp$ret$0 = mapToRecord(item, this.
|
|
49663
|
+
var tmp$ret$0 = mapToRecord(item, this.s93_1.d8j(item));
|
|
49667
49664
|
destination.e(tmp$ret$0);
|
|
49668
49665
|
}
|
|
49669
49666
|
var updatedCombinationRecords = destination;
|
|
@@ -49727,9 +49724,9 @@
|
|
|
49727
49724
|
}
|
|
49728
49725
|
var updatedValue = tmp_0 + sum(destination_2);
|
|
49729
49726
|
var tmp0_elvis_lhs = config.dealerStrategy;
|
|
49730
|
-
var dealerStrategy = tmp0_elvis_lhs == null ? this.
|
|
49731
|
-
var updatedLuckyFactor = this.
|
|
49732
|
-
Companion_instance_148.b8j(this.
|
|
49727
|
+
var dealerStrategy = tmp0_elvis_lhs == null ? this.v93_1.dealerStrategy : tmp0_elvis_lhs;
|
|
49728
|
+
var updatedLuckyFactor = this.t93_1.i8d(updatedValue, config.playersMode, dealerStrategy);
|
|
49729
|
+
Companion_instance_148.b8j(this.u93_1, 'playerHand: update combinations value for = ' + playerId + ' ' + ('luckyFactor: ' + updatedLuckyFactor + ', ') + ('currentLuckyFactor: ' + hand.g6u() + ', ') + ('value: ' + updatedValue + ', '));
|
|
49733
49730
|
// Inline function 'kotlin.collections.map' call
|
|
49734
49731
|
var this_1 = hand.x6t_1;
|
|
49735
49732
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -49754,7 +49751,7 @@
|
|
|
49754
49751
|
protoOf(PlayerSceneReducer).i8o = function (player, cards, whoShuffleCardsPlayerId) {
|
|
49755
49752
|
return player.r6t(VOID, VOID, cards, player.z6s_1.j6x(VOID, VOID, VOID, player.playerId === whoShuffleCardsPlayerId));
|
|
49756
49753
|
};
|
|
49757
|
-
protoOf(PlayerSceneReducer).
|
|
49754
|
+
protoOf(PlayerSceneReducer).z93 = function (player, distributedCards, combinations, config, players, selectedTrump) {
|
|
49758
49755
|
// Inline function 'kotlin.collections.map' call
|
|
49759
49756
|
// Inline function 'kotlin.collections.mapTo' call
|
|
49760
49757
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(combinations, 10));
|
|
@@ -49768,7 +49765,7 @@
|
|
|
49768
49765
|
}
|
|
49769
49766
|
var detailedCombinations = destination;
|
|
49770
49767
|
var cards = plus(player.y6s_1, distributedCards);
|
|
49771
|
-
var hand = this.h8o_1.
|
|
49768
|
+
var hand = this.h8o_1.w93(player.playerId, player.a6t_1, cards, detailedCombinations, selectedTrump, config);
|
|
49772
49769
|
var tmp;
|
|
49773
49770
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
49774
49771
|
if (!combinations.p()) {
|
|
@@ -49779,7 +49776,7 @@
|
|
|
49779
49776
|
var tmp0_points = tmp;
|
|
49780
49777
|
return player.r6t(VOID, VOID, cards, VOID, hand, tmp0_points);
|
|
49781
49778
|
};
|
|
49782
|
-
protoOf(PlayerSceneReducer).
|
|
49779
|
+
protoOf(PlayerSceneReducer).a94 = function (player, sceneData) {
|
|
49783
49780
|
// Inline function 'kotlin.collections.single' call
|
|
49784
49781
|
var single = null;
|
|
49785
49782
|
var found = false;
|
|
@@ -49816,7 +49813,7 @@
|
|
|
49816
49813
|
var tmp10_earnedPoints = playerPointsCell.g6z_1;
|
|
49817
49814
|
var tmp11_earnedCards = emptyList();
|
|
49818
49815
|
var tmp14_points = new PlayerPoints(tmp10_earnedPoints, updatedCombinations, tmp11_earnedCards);
|
|
49819
|
-
var tmp15_hand = this.h8o_1.
|
|
49816
|
+
var tmp15_hand = this.h8o_1.x93(player.a6t_1, updatedCombinations);
|
|
49820
49817
|
return player.r6t(tmp12_userInfo, VOID, VOID, tmp13_options, tmp15_hand, tmp14_points);
|
|
49821
49818
|
};
|
|
49822
49819
|
function refreshStartFromTime($this, playerState, config) {
|
|
@@ -49855,7 +49852,7 @@
|
|
|
49855
49852
|
this.i8l_1 = gameHistoryReducer;
|
|
49856
49853
|
this.j8l_1 = engineLogicConfig;
|
|
49857
49854
|
}
|
|
49858
|
-
protoOf(PlayerTurnMechanicReducer).
|
|
49855
|
+
protoOf(PlayerTurnMechanicReducer).b94 = function (table, model) {
|
|
49859
49856
|
// Inline function 'com.logic.utils.copy' call
|
|
49860
49857
|
var this_0 = table.players;
|
|
49861
49858
|
// Inline function 'kotlin.apply' call
|
|
@@ -49886,7 +49883,7 @@
|
|
|
49886
49883
|
this.h8l_1.d('PlayerTurn', tmp_1 + ('currentTurn = ' + joinToString(tmp_2, VOID, VOID, VOID, VOID, VOID, PlayerTurnMechanicReducer$onPlayerTurn$lambda)));
|
|
49887
49884
|
return newTable;
|
|
49888
49885
|
};
|
|
49889
|
-
protoOf(PlayerTurnMechanicReducer).
|
|
49886
|
+
protoOf(PlayerTurnMechanicReducer).c94 = function (table, model) {
|
|
49890
49887
|
var player = getPlayer(table.players, model.q66());
|
|
49891
49888
|
if (player.x6s_1.c68_1 == null) {
|
|
49892
49889
|
this.h8l_1.w(VOID, 'PlayerTurnMechanicReducer.onResetPlayerTurn: has no tag, ' + ('tag: ' + model.g6v_1));
|
|
@@ -49901,7 +49898,7 @@
|
|
|
49901
49898
|
var player = getPlayer(table.players, action.f8r_1);
|
|
49902
49899
|
return table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.r6t(VOID, player.x6s_1.q69(VOID, VOID, VOID, VOID, true)), get_byIdPlayerPredicate()(player.playerId)));
|
|
49903
49900
|
};
|
|
49904
|
-
protoOf(PlayerTurnMechanicReducer).
|
|
49901
|
+
protoOf(PlayerTurnMechanicReducer).d94 = function (table) {
|
|
49905
49902
|
// Inline function 'kotlin.collections.map' call
|
|
49906
49903
|
var this_0 = table.players;
|
|
49907
49904
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -49940,7 +49937,7 @@
|
|
|
49940
49937
|
var tmp7_waitPlayerUntilTime = tmp_0;
|
|
49941
49938
|
tmp = tmp6_$this.q69(VOID, VOID, tmp7_waitPlayerUntilTime, VOID, VOID, VOID, newPlayerConnection);
|
|
49942
49939
|
}
|
|
49943
|
-
return table.copy(VOID, VOID, VOID, VOID, updateItem(players, player.r6t(VOID, tmp), get_byIdPlayerPredicate()(player.playerId)), VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.i8l_1.
|
|
49940
|
+
return table.copy(VOID, VOID, VOID, VOID, updateItem(players, player.r6t(VOID, tmp), get_byIdPlayerPredicate()(player.playerId)), VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.i8l_1.i94(playerId, previousConnection, newPlayerConnection, table.gameHistory));
|
|
49944
49941
|
};
|
|
49945
49942
|
protoOf(PlayerTurnMechanicReducer).k8l = function (config) {
|
|
49946
49943
|
return getProgress(PlayerWaitingState_IN_PROGRESS_getInstance(), refreshTimeoutTimeWhenTurn(this, config), this.h8l_1);
|
|
@@ -50002,7 +49999,7 @@
|
|
|
50002
49999
|
var tmp3_playersCards = scene.v78_1;
|
|
50003
50000
|
var tmp4_whoShuffleCardsPlayerId = scene.z78_1;
|
|
50004
50001
|
var tmp5_randomData = scene.w78_1;
|
|
50005
|
-
var tmp8_gameHistory = tmp1_$this.
|
|
50002
|
+
var tmp8_gameHistory = tmp1_$this.j94(cardDeck, tmp5_randomData, tmp4_whoShuffleCardsPlayerId, tmp3_playersCards, tmp2_gameHistory);
|
|
50006
50003
|
return table.copy(VOID, VOID, VOID, VOID, destination, VOID, sceneInfo, VOID, VOID, cardDeck, tmp7_requestedCardDecks, VOID, tmp8_gameHistory);
|
|
50007
50004
|
case 'EARN_POINTS':
|
|
50008
50005
|
var tmp$ret$5;
|
|
@@ -50066,14 +50063,14 @@
|
|
|
50066
50063
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.g2(item_1.playerId);
|
|
50067
50064
|
var tmp4_combinations = tmp1_elvis_lhs == null ? emptyList() : tmp1_elvis_lhs;
|
|
50068
50065
|
var tmp5_selectedTrump = table.gameInfo.round.selectedTrump;
|
|
50069
|
-
var tmp$ret$12 = tmp2_$this.
|
|
50066
|
+
var tmp$ret$12 = tmp2_$this.z93(item_1, tmp3_distributedCards, tmp4_combinations, config, players, tmp5_selectedTrump);
|
|
50070
50067
|
destination_1.e(tmp$ret$12);
|
|
50071
50068
|
}
|
|
50072
50069
|
|
|
50073
50070
|
var tmp9_$this = $this.g92_1;
|
|
50074
50071
|
var tmp10_gameHistory = table.gameHistory;
|
|
50075
50072
|
var tmp11_playersCards = scene_0.b79_1;
|
|
50076
|
-
var tmp13_gameHistory = tmp9_$this.
|
|
50073
|
+
var tmp13_gameHistory = tmp9_$this.k94(tmp11_playersCards, tmp10_gameHistory);
|
|
50077
50074
|
return table.copy(VOID, VOID, VOID, VOID, destination_1, VOID, sceneInfo, VOID, VOID, newCardDeck, VOID, VOID, tmp13_gameHistory);
|
|
50078
50075
|
case 'CALC_POINTS':
|
|
50079
50076
|
var tmp$ret$15;
|
|
@@ -50097,7 +50094,7 @@
|
|
|
50097
50094
|
while (tmp0_iterator_2.k()) {
|
|
50098
50095
|
var item_2 = tmp0_iterator_2.l();
|
|
50099
50096
|
// Inline function 'games.jass.logic.redux.reducers.sclices.scenes.SceneReducer.onCurrentScene.<anonymous>' call
|
|
50100
|
-
var tmp$ret$16 = $this.d92_1.
|
|
50097
|
+
var tmp$ret$16 = $this.d92_1.a94(item_2, calcPointsSceneData);
|
|
50101
50098
|
destination_2.e(tmp$ret$16);
|
|
50102
50099
|
}
|
|
50103
50100
|
|
|
@@ -50143,7 +50140,7 @@
|
|
|
50143
50140
|
|
|
50144
50141
|
var tmp22_playersGameAnalytics = tmp_4;
|
|
50145
50142
|
var tmp23_playersAchievements = calcPointsSceneData.p78_1;
|
|
50146
|
-
var tmp24_gameHistory = tmp15_$this.
|
|
50143
|
+
var tmp24_gameHistory = tmp15_$this.l94(tmp17_points, tmp16_gameHistory, tmp18_roundContractState, tmp19_roundCommitted, tmp20_roundWinners, tmp21_gameWinners, tmp22_playersGameAnalytics, tmp23_playersAchievements);
|
|
50147
50144
|
return table.copy(VOID, VOID, VOID, VOID, updatedPlayers, VOID, sceneInfo, VOID, VOID, VOID, VOID, VOID, tmp24_gameHistory);
|
|
50148
50145
|
default:
|
|
50149
50146
|
throw new MechanicException("onCurrentScene: Can't support this scene " + sceneId);
|
|
@@ -50176,12 +50173,12 @@
|
|
|
50176
50173
|
}
|
|
50177
50174
|
function SceneReducer$onPreviousScene$lambda(this$0) {
|
|
50178
50175
|
return function (tbl) {
|
|
50179
|
-
return this$0.e92_1.
|
|
50176
|
+
return this$0.e92_1.d94(tbl);
|
|
50180
50177
|
};
|
|
50181
50178
|
}
|
|
50182
50179
|
function SceneReducer$onPreviousScene$lambda_0(this$0) {
|
|
50183
50180
|
return function (tbl) {
|
|
50184
|
-
return this$0.f92_1.
|
|
50181
|
+
return this$0.f92_1.m94(tbl);
|
|
50185
50182
|
};
|
|
50186
50183
|
}
|
|
50187
50184
|
function SceneReducer(playerSceneReducer, playerTurnMechanicReducer, tableLifecycleReducer, gameHistoryReducer, dealerReducer, gameParamsProvider) {
|
|
@@ -50287,7 +50284,7 @@
|
|
|
50287
50284
|
var tmp3_gameHistory = table.gameHistory;
|
|
50288
50285
|
var tmp4_players = table.players;
|
|
50289
50286
|
var tmp5_playersMode = table.config.playersMode;
|
|
50290
|
-
tmp_0 = state.g8p(table.copy(VOID, VOID, VOID, VOID, tmp_1, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp0_$this.
|
|
50287
|
+
tmp_0 = state.g8p(table.copy(VOID, VOID, VOID, VOID, tmp_1, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp0_$this.n94(tmp1_playerId, tmp2_suit, newNumberOfCircle, tmp3_gameHistory, tmp5_playersMode, tmp4_players)));
|
|
50291
50288
|
}
|
|
50292
50289
|
return tmp_0;
|
|
50293
50290
|
};
|
|
@@ -50316,7 +50313,7 @@
|
|
|
50316
50313
|
this.q92_1 = playerHandReducer;
|
|
50317
50314
|
this.r92_1 = gameHistoryReducer;
|
|
50318
50315
|
}
|
|
50319
|
-
protoOf(CombinationsMechanicReducer).
|
|
50316
|
+
protoOf(CombinationsMechanicReducer).o94 = function (whoGotBribePlayerId, playerCombinations, players, config) {
|
|
50320
50317
|
var bellaCombination = first(playerCombinations.q88_1);
|
|
50321
50318
|
var player = getPlayer(players, playerCombinations.p88_1);
|
|
50322
50319
|
if (bellaCombination.g6y_1.equals(CombinationState_NOT_ACCEPTED_getInstance())) {
|
|
@@ -50426,7 +50423,7 @@
|
|
|
50426
50423
|
var tmp0_$this = this.q92_1;
|
|
50427
50424
|
var tmp1_playerId = item_1.playerId;
|
|
50428
50425
|
var tmp2_hand = item_1.a6t_1;
|
|
50429
|
-
var tmp_1 = tmp0_$this.
|
|
50426
|
+
var tmp_1 = tmp0_$this.y93(tmp1_playerId, tmp2_hand, updatedCombinations, config);
|
|
50430
50427
|
tmp = item_1.r6t(VOID, VOID, VOID, VOID, tmp_1, item_1.b6t_1.l6x(VOID, updateOrAddItems(item_1.b6t_1.l6u_1, updatedCombinations, CombinationsMechanicReducer$onWinnerCombinations$lambda)));
|
|
50431
50428
|
} else {
|
|
50432
50429
|
tmp = item_1;
|
|
@@ -50434,7 +50431,7 @@
|
|
|
50434
50431
|
var tmp$ret$17 = tmp;
|
|
50435
50432
|
destination_4.e(tmp$ret$17);
|
|
50436
50433
|
}
|
|
50437
|
-
return state.g8p(table.copy(VOID, VOID, VOID, VOID, destination_4, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.r92_1.
|
|
50434
|
+
return state.g8p(table.copy(VOID, VOID, VOID, VOID, destination_4, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.r92_1.p94(action.n8r_1, table.gameHistory)));
|
|
50438
50435
|
};
|
|
50439
50436
|
protoOf(CombinationsMechanicReducer).c93 = function (state, action) {
|
|
50440
50437
|
var table = state.g6n();
|
|
@@ -50500,10 +50497,10 @@
|
|
|
50500
50497
|
var newCards = this.p92_1.t65(cards, trumpSevenCard);
|
|
50501
50498
|
var tmp1_cards = this.p92_1.u65(newCards, trumpCard);
|
|
50502
50499
|
var tmp3_players = updateItem(table.players, player.r6t(VOID, VOID, tmp1_cards, VOID, VOID, updatedPoints), get_byIdPlayerPredicate()(player.playerId));
|
|
50503
|
-
var tmp4_gameHistory = this.r92_1.
|
|
50500
|
+
var tmp4_gameHistory = this.r92_1.q94(player.playerId, listOf_0(announcedCombination.f6y_1), VOID, table.gameHistory);
|
|
50504
50501
|
return state.g8p(table.copy(VOID, VOID, VOID, VOID, tmp3_players, VOID, VOID, VOID, VOID, tmp2_cardDeck, VOID, VOID, tmp4_gameHistory));
|
|
50505
50502
|
case 12:
|
|
50506
|
-
return state.g8p(table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.r6t(VOID, VOID, VOID, VOID, VOID, updatedPoints), get_byIdPlayerPredicate()(player.playerId)), VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.r92_1.
|
|
50503
|
+
return state.g8p(table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.r6t(VOID, VOID, VOID, VOID, VOID, updatedPoints), get_byIdPlayerPredicate()(player.playerId)), VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.r92_1.q94(player.playerId, listOf_0(announcedCombination.f6y_1), VOID, table.gameHistory)));
|
|
50507
50504
|
default:
|
|
50508
50505
|
throw new MechanicException("Can't support this combination " + announcedCombination.toString());
|
|
50509
50506
|
}
|
|
@@ -50604,7 +50601,7 @@
|
|
|
50604
50601
|
}
|
|
50605
50602
|
var tmp2_combinations = tmp;
|
|
50606
50603
|
var tmp4_points = tmp0_$this.l6x(VOID, tmp2_combinations, tmp1_earnedCards);
|
|
50607
|
-
var tmp5_hand = $this.y92_1.
|
|
50604
|
+
var tmp5_hand = $this.y92_1.x93(player.a6t_1, combinations);
|
|
50608
50605
|
return player.r6t(VOID, VOID, VOID, tmp3_options, tmp5_hand, tmp4_points);
|
|
50609
50606
|
}
|
|
50610
50607
|
function addPlayersCombinationsWhenPickBribe($this, whoGotBribePlayerId, players, config) {
|
|
@@ -50647,7 +50644,7 @@
|
|
|
50647
50644
|
}
|
|
50648
50645
|
}
|
|
50649
50646
|
var tmp$ret$2 = tmp$ret$1;
|
|
50650
|
-
tmp_0 = $this.t92_1.
|
|
50647
|
+
tmp_0 = $this.t92_1.o94(whoGotBribePlayerId, tmp$ret$2, players, config);
|
|
50651
50648
|
} else {
|
|
50652
50649
|
tmp_0 = null;
|
|
50653
50650
|
}
|
|
@@ -50746,7 +50743,7 @@
|
|
|
50746
50743
|
var tmp$ret$0 = item.o77_1;
|
|
50747
50744
|
destination.e(tmp$ret$0);
|
|
50748
50745
|
}
|
|
50749
|
-
tmp = this.x92_1.
|
|
50746
|
+
tmp = this.x92_1.q94(tmp_0, destination, VOID, table.gameHistory);
|
|
50750
50747
|
}
|
|
50751
50748
|
var tmp1_elvis_lhs = tmp;
|
|
50752
50749
|
var tmp4_gameHistory = tmp1_elvis_lhs == null ? table.gameHistory : tmp1_elvis_lhs;
|
|
@@ -50796,7 +50793,7 @@
|
|
|
50796
50793
|
destination_1.e(tmp$ret$6);
|
|
50797
50794
|
}
|
|
50798
50795
|
var tmp3_gameInfo = table.gameInfo.h86(VOID, VOID, table.gameInfo.round.copy(VOID, action.m8m_1));
|
|
50799
|
-
var tmp4_gameHistory = this.x92_1.
|
|
50796
|
+
var tmp4_gameHistory = this.x92_1.r94(action.l8m_1, bribe, action.m8m_1, playersCombinations, table.gameHistory);
|
|
50800
50797
|
return state.g8p(table.copy(VOID, VOID, VOID, VOID, destination_1, VOID, VOID, tmp1_cardsOnTable, tmp0_bribes, VOID, VOID, tmp3_gameInfo, tmp4_gameHistory));
|
|
50801
50798
|
};
|
|
50802
50799
|
function randomDataReducer($this, randomData, metadata) {
|
|
@@ -50804,7 +50801,7 @@
|
|
|
50804
50801
|
return metadata;
|
|
50805
50802
|
}
|
|
50806
50803
|
if (!(metadata.randomData == null) && (!(metadata.randomData.id === randomData.id) || !(metadata.randomData.signature == randomData.signature))) {
|
|
50807
|
-
$this.
|
|
50804
|
+
$this.h94_1.w('GameHistory', 'Random data is different for previous');
|
|
50808
50805
|
}
|
|
50809
50806
|
var tmp0_safe_receiver = metadata.randomData;
|
|
50810
50807
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.copy(VOID, VOID, plus(metadata.randomData.indexes, randomData.indexes));
|
|
@@ -50815,12 +50812,12 @@
|
|
|
50815
50812
|
return _this__u8e3s4.copy(VOID, VOID, updateLastItem(_this__u8e3s4.rounds, roundHistory.copy(VOID, plus_1(roundHistory.items, items))));
|
|
50816
50813
|
}
|
|
50817
50814
|
function GameHistoryReducer(pointsInteractor, teamsLogicProvider, gameLogicConfig, logger) {
|
|
50818
|
-
this.
|
|
50819
|
-
this.
|
|
50820
|
-
this.
|
|
50821
|
-
this.
|
|
50815
|
+
this.e94_1 = pointsInteractor;
|
|
50816
|
+
this.f94_1 = teamsLogicProvider;
|
|
50817
|
+
this.g94_1 = gameLogicConfig;
|
|
50818
|
+
this.h94_1 = logger;
|
|
50822
50819
|
}
|
|
50823
|
-
protoOf(GameHistoryReducer).
|
|
50820
|
+
protoOf(GameHistoryReducer).s94 = function (gameHistory) {
|
|
50824
50821
|
var roundNumber = gameHistory.rounds.length;
|
|
50825
50822
|
// Inline function 'kotlin.collections.plus' call
|
|
50826
50823
|
var this_0 = gameHistory.rounds;
|
|
@@ -50832,7 +50829,7 @@
|
|
|
50832
50829
|
var tmp$ret$4 = this_0.concat(tmp$ret$3);
|
|
50833
50830
|
return gameHistory.copy(VOID, VOID, tmp$ret$4);
|
|
50834
50831
|
};
|
|
50835
|
-
protoOf(GameHistoryReducer).
|
|
50832
|
+
protoOf(GameHistoryReducer).j94 = function (cardDeck, randomData, whoShuffleCardsPlayerId, playersCards, gameHistory) {
|
|
50836
50833
|
var currentRoundHistory = last_0(gameHistory.rounds);
|
|
50837
50834
|
var tmp = new WhoShuffleCardsItem(whoShuffleCardsPlayerId, cardDeck.w7k_1, System_instance.i52());
|
|
50838
50835
|
// Inline function 'kotlin.collections.mapValues' call
|
|
@@ -50852,14 +50849,14 @@
|
|
|
50852
50849
|
var tmp0_elvis_lhs = gameHistory.metadata;
|
|
50853
50850
|
return gameHistory.copy(VOID, VOID, tmp_1, VOID, randomDataReducer(this, randomData, tmp0_elvis_lhs == null ? Companion_instance_143.initial() : tmp0_elvis_lhs));
|
|
50854
50851
|
};
|
|
50855
|
-
protoOf(GameHistoryReducer).
|
|
50852
|
+
protoOf(GameHistoryReducer).n94 = function (playerId, suit, numberOfCircle, gameHistory, playersMode, players) {
|
|
50856
50853
|
var currentRoundHistory = last_0(gameHistory.rounds);
|
|
50857
50854
|
var tmp;
|
|
50858
50855
|
if (playersMode.isTeamGame) {
|
|
50859
50856
|
// Inline function 'kotlin.arrayOf' call
|
|
50860
50857
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
50861
50858
|
// Inline function 'kotlin.js.asDynamic' call
|
|
50862
|
-
tmp = [playerId, this.
|
|
50859
|
+
tmp = [playerId, this.f94_1.x8c(playerId, players).playerId];
|
|
50863
50860
|
} else {
|
|
50864
50861
|
// Inline function 'kotlin.arrayOf' call
|
|
50865
50862
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -50869,7 +50866,7 @@
|
|
|
50869
50866
|
var roundCommitted = tmp;
|
|
50870
50867
|
return gameHistory.copy(VOID, VOID, updateLastItem(gameHistory.rounds, currentRoundHistory.copy(VOID, plus_1(currentRoundHistory.items, listOf_0(new SuitSelectionItem(playerId, suit, numberOfCircle, System_instance.i52()))), roundCommitted)));
|
|
50871
50868
|
};
|
|
50872
|
-
protoOf(GameHistoryReducer).
|
|
50869
|
+
protoOf(GameHistoryReducer).k94 = function (playersCards, gameHistory) {
|
|
50873
50870
|
// Inline function 'kotlin.collections.mapValues' call
|
|
50874
50871
|
// Inline function 'kotlin.collections.mapValuesTo' call
|
|
50875
50872
|
var destination = LinkedHashMap_init_$Create$_0(mapCapacity(playersCards.m()));
|
|
@@ -50885,14 +50882,14 @@
|
|
|
50885
50882
|
}
|
|
50886
50883
|
return addItemsToCurrentRound(gameHistory, this, listOf_0(new PlayersCardsItem(destination, 1, System_instance.i52())));
|
|
50887
50884
|
};
|
|
50888
|
-
protoOf(GameHistoryReducer).
|
|
50885
|
+
protoOf(GameHistoryReducer).t94 = function (playerId, combinations, combinationsStates, gameHistory) {
|
|
50889
50886
|
return addItemsToCurrentRound(gameHistory, this, listOf_0(new CombinationAnnounceItem(playerId, combinations, combinationsStates, System_instance.i52())));
|
|
50890
50887
|
};
|
|
50891
|
-
protoOf(GameHistoryReducer).
|
|
50888
|
+
protoOf(GameHistoryReducer).q94 = function (playerId, combinations, combinationsStates, gameHistory, $super) {
|
|
50892
50889
|
combinationsStates = combinationsStates === VOID ? null : combinationsStates;
|
|
50893
|
-
return $super === VOID ? this.
|
|
50890
|
+
return $super === VOID ? this.t94(playerId, combinations, combinationsStates, gameHistory) : $super.t94.call(this, playerId, combinations, combinationsStates, gameHistory);
|
|
50894
50891
|
};
|
|
50895
|
-
protoOf(GameHistoryReducer).
|
|
50892
|
+
protoOf(GameHistoryReducer).r94 = function (whoGotBribePlayerId, bribe, numberOfBribe, playersCombinations, gameHistory) {
|
|
50896
50893
|
var tmp = listOf_0(new BribeItem(whoGotBribePlayerId, bribe.i7h_1, numberOfBribe, System_instance.i52()));
|
|
50897
50894
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
50898
50895
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
@@ -50958,7 +50955,7 @@
|
|
|
50958
50955
|
}
|
|
50959
50956
|
return addItemsToCurrentRound(gameHistory, this, plus(tmp, destination));
|
|
50960
50957
|
};
|
|
50961
|
-
protoOf(GameHistoryReducer).
|
|
50958
|
+
protoOf(GameHistoryReducer).p94 = function (winnerCombinations, gameHistory) {
|
|
50962
50959
|
// Inline function 'kotlin.collections.map' call
|
|
50963
50960
|
// Inline function 'kotlin.collections.mapTo' call
|
|
50964
50961
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(winnerCombinations, 10));
|
|
@@ -50975,7 +50972,7 @@
|
|
|
50975
50972
|
}
|
|
50976
50973
|
return addItemsToCurrentRound(gameHistory, this, destination);
|
|
50977
50974
|
};
|
|
50978
|
-
protoOf(GameHistoryReducer).
|
|
50975
|
+
protoOf(GameHistoryReducer).i94 = function (playerId, previousConnection, playerConnection, gameHistory) {
|
|
50979
50976
|
if (playerConnection == null) {
|
|
50980
50977
|
return gameHistory;
|
|
50981
50978
|
}
|
|
@@ -50987,17 +50984,17 @@
|
|
|
50987
50984
|
tmp = false;
|
|
50988
50985
|
}
|
|
50989
50986
|
var isShortDisconnectState = tmp;
|
|
50990
|
-
if (isSupportedReason && !isShortDisconnectState || this.
|
|
50987
|
+
if (isSupportedReason && !isShortDisconnectState || this.g94_1.verboseGameHistory) {
|
|
50991
50988
|
return addItemsToCurrentRound(gameHistory, this, listOf_0(new PlayerConnectionItem(playerId, playerConnection.j68_1, playerConnection.r68(), System_instance.i52())));
|
|
50992
50989
|
}
|
|
50993
50990
|
return gameHistory;
|
|
50994
50991
|
};
|
|
50995
|
-
protoOf(GameHistoryReducer).
|
|
50992
|
+
protoOf(GameHistoryReducer).l94 = function (points, gameHistory, roundContractState, roundCommitted, roundWinners, gameWinners, playersGameAnalytics, playersAchievements) {
|
|
50996
50993
|
var currentRoundHistory = last_0(gameHistory.rounds);
|
|
50997
50994
|
var tmp0_elvis_lhs = gameHistory.metadata;
|
|
50998
50995
|
var currentMetadata = tmp0_elvis_lhs == null ? Companion_instance_143.initial() : tmp0_elvis_lhs;
|
|
50999
50996
|
var tmp;
|
|
51000
|
-
if (this.
|
|
50997
|
+
if (this.g94_1.gameHistoryMetadata && !(playersGameAnalytics == null)) {
|
|
51001
50998
|
// Inline function 'kotlin.collections.map' call
|
|
51002
50999
|
// Inline function 'kotlin.collections.mapTo' call
|
|
51003
51000
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(playersGameAnalytics, 10));
|
|
@@ -51013,7 +51010,7 @@
|
|
|
51013
51010
|
tmp = currentMetadata;
|
|
51014
51011
|
}
|
|
51015
51012
|
var updatedMetadata = tmp;
|
|
51016
|
-
var tmp1_items = plus_1(currentRoundHistory.items, listOfNotNull_0(new PointsItem(this.
|
|
51013
|
+
var tmp1_items = plus_1(currentRoundHistory.items, listOfNotNull_0(new PointsItem(this.e94_1.h8k(points), System_instance.i52())));
|
|
51017
51014
|
var tmp2_rounds = updateLastItem(gameHistory.rounds, currentRoundHistory.copy(VOID, tmp1_items, roundCommitted, roundContractState, roundWinners));
|
|
51018
51015
|
return gameHistory.copy(VOID, VOID, tmp2_rounds, gameWinners, updatedMetadata);
|
|
51019
51016
|
};
|
|
@@ -51039,7 +51036,7 @@
|
|
|
51039
51036
|
tmp = cardDeck;
|
|
51040
51037
|
}
|
|
51041
51038
|
var newCardDeck = tmp;
|
|
51042
|
-
return new PreviousRound(bribes, newCardDeck, $this.
|
|
51039
|
+
return new PreviousRound(bribes, newCardDeck, $this.w94_1.i8k(players, config));
|
|
51043
51040
|
}
|
|
51044
51041
|
function roundFinishedGameInfoReducer($this, table) {
|
|
51045
51042
|
var gameInfo = table.gameInfo;
|
|
@@ -51066,18 +51063,16 @@
|
|
|
51066
51063
|
function roundFinishedPlayerReducer($this, player) {
|
|
51067
51064
|
var tmp0_options = roundFinishedPlayerOptionReducer($this, player.z6s_1);
|
|
51068
51065
|
var tmp1_points = roundFinishedPlayerReducer_0($this, player.b6t_1);
|
|
51069
|
-
var
|
|
51070
|
-
var
|
|
51071
|
-
|
|
51072
|
-
return player.r6t(VOID, tmp2_state, tmp4_cards, tmp0_options, tmp3_hand, tmp1_points);
|
|
51066
|
+
var tmp2_hand = Companion_instance_17.u6w(player.a6t_1);
|
|
51067
|
+
var tmp3_cards = emptyList();
|
|
51068
|
+
return player.r6t(VOID, VOID, tmp3_cards, tmp0_options, tmp2_hand, tmp1_points);
|
|
51073
51069
|
}
|
|
51074
51070
|
function gameFinishedPlayerReducer($this, player) {
|
|
51075
51071
|
var tmp0_options = gameFinishedPlayerOptionReducer($this, player.z6s_1);
|
|
51076
51072
|
var tmp1_points = gameFinishedPlayerReducer_0($this, player.b6t_1);
|
|
51077
|
-
var
|
|
51078
|
-
var
|
|
51079
|
-
|
|
51080
|
-
return player.r6t(VOID, tmp2_state, tmp4_cards, tmp0_options, tmp3_hand, tmp1_points);
|
|
51073
|
+
var tmp2_hand = Companion_instance_17.v6w(player.a6t_1);
|
|
51074
|
+
var tmp3_cards = emptyList();
|
|
51075
|
+
return player.r6t(VOID, VOID, tmp3_cards, tmp0_options, tmp2_hand, tmp1_points);
|
|
51081
51076
|
}
|
|
51082
51077
|
function roundFinishedPlayerOptionReducer($this, options) {
|
|
51083
51078
|
var tmp0_numberOfCircle = RoundNumber_CIRCLE_NOT_STARTED_getInstance();
|
|
@@ -51094,10 +51089,10 @@
|
|
|
51094
51089
|
return points.k6x(0, emptyList(), emptyList());
|
|
51095
51090
|
}
|
|
51096
51091
|
function TableLifecycleReducerImpl(pointsInteractor, historyReducer) {
|
|
51097
|
-
this.
|
|
51098
|
-
this.
|
|
51092
|
+
this.w94_1 = pointsInteractor;
|
|
51093
|
+
this.x94_1 = historyReducer;
|
|
51099
51094
|
}
|
|
51100
|
-
protoOf(TableLifecycleReducerImpl).
|
|
51095
|
+
protoOf(TableLifecycleReducerImpl).u94 = function (tableId, gameId, config, version, users, spectators, gameCreatorPlayerId, playerStateReducer) {
|
|
51101
51096
|
var tmp = Companion_instance_131;
|
|
51102
51097
|
// Inline function 'kotlin.collections.mapIndexed' call
|
|
51103
51098
|
// Inline function 'kotlin.collections.mapIndexedTo' call
|
|
@@ -51132,20 +51127,6 @@
|
|
|
51132
51127
|
return tmp.initial(tableId, gameId, version, config, tmp_1, destination_0);
|
|
51133
51128
|
};
|
|
51134
51129
|
protoOf(TableLifecycleReducerImpl).r93 = function (table) {
|
|
51135
|
-
// Inline function 'kotlin.collections.map' call
|
|
51136
|
-
var this_0 = table.players;
|
|
51137
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
51138
|
-
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
51139
|
-
var tmp0_iterator = this_0.j();
|
|
51140
|
-
while (tmp0_iterator.k()) {
|
|
51141
|
-
var item = tmp0_iterator.l();
|
|
51142
|
-
// Inline function 'games.jass.logic.redux.reducers.sclices.table.TableLifecycleReducerImpl.resetTableReducer.<anonymous>' call
|
|
51143
|
-
var tmp$ret$0 = item.r6t(VOID, Companion_instance_0.p69(item.x6s_1));
|
|
51144
|
-
destination.e(tmp$ret$0);
|
|
51145
|
-
}
|
|
51146
|
-
return table.copy(VOID, VOID, VOID, VOID, destination);
|
|
51147
|
-
};
|
|
51148
|
-
protoOf(TableLifecycleReducerImpl).s93 = function (table) {
|
|
51149
51130
|
var tmp0_sceneInfo = new SceneInfo('WAITING');
|
|
51150
51131
|
// Inline function 'kotlin.collections.map' call
|
|
51151
51132
|
var this_0 = table.players;
|
|
@@ -51161,10 +51142,10 @@
|
|
|
51161
51142
|
var tmp2_cardsOnTable = emptyList();
|
|
51162
51143
|
var tmp3_bribes = emptyList();
|
|
51163
51144
|
var tmp4_gameInfo = roundFinishedGameInfoReducer(this, table);
|
|
51164
|
-
var tmp5_gameHistory = this.
|
|
51145
|
+
var tmp5_gameHistory = this.x94_1.s94(table.gameHistory);
|
|
51165
51146
|
return table.copy(VOID, VOID, VOID, VOID, destination, VOID, tmp0_sceneInfo, tmp2_cardsOnTable, tmp3_bribes, null, VOID, tmp4_gameInfo, tmp5_gameHistory);
|
|
51166
51147
|
};
|
|
51167
|
-
protoOf(TableLifecycleReducerImpl).
|
|
51148
|
+
protoOf(TableLifecycleReducerImpl).m94 = function (table) {
|
|
51168
51149
|
// Inline function 'kotlin.collections.map' call
|
|
51169
51150
|
var this_0 = table.players;
|
|
51170
51151
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -51176,9 +51157,9 @@
|
|
|
51176
51157
|
var tmp$ret$0 = roundFinishedPlayerReducer(this, item);
|
|
51177
51158
|
destination.e(tmp$ret$0);
|
|
51178
51159
|
}
|
|
51179
|
-
return table.copy(VOID, VOID, VOID, VOID, destination, VOID, VOID, emptyList(), emptyList(), null, VOID, roundFinishedGameInfoReducer(this, table), this.
|
|
51160
|
+
return table.copy(VOID, VOID, VOID, VOID, destination, VOID, VOID, emptyList(), emptyList(), null, VOID, roundFinishedGameInfoReducer(this, table), this.x94_1.s94(table.gameHistory));
|
|
51180
51161
|
};
|
|
51181
|
-
protoOf(TableLifecycleReducerImpl).
|
|
51162
|
+
protoOf(TableLifecycleReducerImpl).v94 = function (table, newGameId) {
|
|
51182
51163
|
// Inline function 'kotlin.collections.map' call
|
|
51183
51164
|
var this_0 = table.players;
|
|
51184
51165
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -51218,10 +51199,10 @@
|
|
|
51218
51199
|
return true;
|
|
51219
51200
|
}
|
|
51220
51201
|
function _no_name_provided__qut3iv_33($isEnableForPlayer, $playerTurnInteractor, $logger, $playerTurnMechanicReducer) {
|
|
51221
|
-
this.
|
|
51222
|
-
this.
|
|
51223
|
-
this.
|
|
51224
|
-
this.
|
|
51202
|
+
this.y94_1 = $isEnableForPlayer;
|
|
51203
|
+
this.z94_1 = $playerTurnInteractor;
|
|
51204
|
+
this.a95_1 = $logger;
|
|
51205
|
+
this.b95_1 = $playerTurnMechanicReducer;
|
|
51225
51206
|
}
|
|
51226
51207
|
protoOf(_no_name_provided__qut3iv_33).j6f = function (action) {
|
|
51227
51208
|
return isInterface(action, PlayerAnswerFromClientAction);
|
|
@@ -51233,17 +51214,17 @@
|
|
|
51233
51214
|
var action_0 = isInterface(action, PlayerAnswerFromClientAction) ? action : THROW_CCE();
|
|
51234
51215
|
var table = state.g6n();
|
|
51235
51216
|
var player = getPlayer(table.players, action_0.playerId);
|
|
51236
|
-
if (!this.
|
|
51217
|
+
if (!this.y94_1(player)) {
|
|
51237
51218
|
tmp$ret$0 = state;
|
|
51238
51219
|
break $l$block;
|
|
51239
51220
|
}
|
|
51240
|
-
var turnModel = this.
|
|
51221
|
+
var turnModel = this.z94_1.o8l(player, action_0);
|
|
51241
51222
|
var tmp;
|
|
51242
51223
|
if (turnModel == null) {
|
|
51243
|
-
this.
|
|
51224
|
+
this.a95_1.w(VOID, 'TAG is null, action: ' + toString(action_0) + ', playerId: ' + player.playerId, VOID, new GameErrorReason(Reason_WRONG_PLAYER_TURN_getInstance()));
|
|
51244
51225
|
tmp = state;
|
|
51245
51226
|
} else {
|
|
51246
|
-
tmp = state.g8p(this.
|
|
51227
|
+
tmp = state.g8p(this.b95_1.c94(table, turnModel));
|
|
51247
51228
|
}
|
|
51248
51229
|
tmp$ret$0 = tmp;
|
|
51249
51230
|
}
|
|
@@ -51256,10 +51237,10 @@
|
|
|
51256
51237
|
return true;
|
|
51257
51238
|
}
|
|
51258
51239
|
function _no_name_provided__qut3iv_34($isEnableForPlayer, $playerTurnInteractor, $logger, $playerTurnMechanicReducer) {
|
|
51259
|
-
this.
|
|
51260
|
-
this.
|
|
51261
|
-
this.
|
|
51262
|
-
this.
|
|
51240
|
+
this.c95_1 = $isEnableForPlayer;
|
|
51241
|
+
this.d95_1 = $playerTurnInteractor;
|
|
51242
|
+
this.e95_1 = $logger;
|
|
51243
|
+
this.f95_1 = $playerTurnMechanicReducer;
|
|
51263
51244
|
}
|
|
51264
51245
|
protoOf(_no_name_provided__qut3iv_34).j6f = function (action) {
|
|
51265
51246
|
return isInterface(action, PlayerTurnAnswerAction);
|
|
@@ -51271,17 +51252,17 @@
|
|
|
51271
51252
|
var action_0 = isInterface(action, PlayerTurnAnswerAction) ? action : THROW_CCE();
|
|
51272
51253
|
var table = state.g6n();
|
|
51273
51254
|
var player = getPlayerTurn(action_0, table.players);
|
|
51274
|
-
if (player == null || !this.
|
|
51255
|
+
if (player == null || !this.c95_1(player)) {
|
|
51275
51256
|
tmp$ret$0 = state;
|
|
51276
51257
|
break $l$block;
|
|
51277
51258
|
}
|
|
51278
|
-
var turnModel = this.
|
|
51259
|
+
var turnModel = this.d95_1.o8l(player, action_0);
|
|
51279
51260
|
var tmp;
|
|
51280
51261
|
if (turnModel == null) {
|
|
51281
|
-
this.
|
|
51262
|
+
this.e95_1.w(VOID, 'TAG is null, action: ' + toString(action_0) + ', playerId: ' + player.playerId, VOID, new GameErrorReason(Reason_WRONG_PLAYER_TURN_getInstance()));
|
|
51282
51263
|
tmp = state;
|
|
51283
51264
|
} else {
|
|
51284
|
-
tmp = state.g8p(this.
|
|
51265
|
+
tmp = state.g8p(this.f95_1.c94(table, turnModel));
|
|
51285
51266
|
}
|
|
51286
51267
|
tmp$ret$0 = tmp;
|
|
51287
51268
|
}
|
|
@@ -51295,8 +51276,8 @@
|
|
|
51295
51276
|
return new _no_name_provided__qut3iv_35(playerTurnInteractor, playerTurnMechanicReducer);
|
|
51296
51277
|
}
|
|
51297
51278
|
function _no_name_provided__qut3iv_35($playerTurnInteractor, $playerTurnMechanicReducer) {
|
|
51298
|
-
this.
|
|
51299
|
-
this.
|
|
51279
|
+
this.g95_1 = $playerTurnInteractor;
|
|
51280
|
+
this.h95_1 = $playerTurnMechanicReducer;
|
|
51300
51281
|
}
|
|
51301
51282
|
protoOf(_no_name_provided__qut3iv_35).j6f = function (action) {
|
|
51302
51283
|
return isInterface(action, NextPlayerTurnAction);
|
|
@@ -51307,7 +51288,7 @@
|
|
|
51307
51288
|
// Inline function 'games.jass.logic.redux.reducers.turn.setPlayerTurnReducer.<anonymous>' call
|
|
51308
51289
|
var action_0 = isInterface(action, NextPlayerTurnAction) ? action : THROW_CCE();
|
|
51309
51290
|
var table = state.g6n();
|
|
51310
|
-
var tmp0_elvis_lhs = this.
|
|
51291
|
+
var tmp0_elvis_lhs = this.g95_1.n8l(action_0, table);
|
|
51311
51292
|
var tmp;
|
|
51312
51293
|
if (tmp0_elvis_lhs == null) {
|
|
51313
51294
|
tmp$ret$0 = state;
|
|
@@ -51316,7 +51297,7 @@
|
|
|
51316
51297
|
tmp = tmp0_elvis_lhs;
|
|
51317
51298
|
}
|
|
51318
51299
|
var turnModel = tmp;
|
|
51319
|
-
tmp$ret$0 = state.g8p(this.
|
|
51300
|
+
tmp$ret$0 = state.g8p(this.h95_1.b94(table, turnModel));
|
|
51320
51301
|
}
|
|
51321
51302
|
return tmp$ret$0;
|
|
51322
51303
|
};
|
|
@@ -51334,7 +51315,7 @@
|
|
|
51334
51315
|
}
|
|
51335
51316
|
function Companion_148() {
|
|
51336
51317
|
}
|
|
51337
|
-
protoOf(Companion_148).
|
|
51318
|
+
protoOf(Companion_148).i95 = function (payload) {
|
|
51338
51319
|
var tmp;
|
|
51339
51320
|
if (!(payload == null) ? isInterface(payload, FirstMechanicAction) : false) {
|
|
51340
51321
|
tmp = toLoggerPayload_0(payload);
|
|
@@ -51366,27 +51347,27 @@
|
|
|
51366
51347
|
tmp = payloadMapper;
|
|
51367
51348
|
}
|
|
51368
51349
|
payloadMapper = tmp;
|
|
51369
|
-
this.
|
|
51370
|
-
this.
|
|
51350
|
+
this.j95_1 = logger;
|
|
51351
|
+
this.k95_1 = payloadMapper;
|
|
51371
51352
|
}
|
|
51372
51353
|
protoOf(CallbackWrapperLoggerOutput).tm = function (tag, message, payload) {
|
|
51373
|
-
this.
|
|
51354
|
+
this.j95_1.d(tag, message, this.k95_1(payload));
|
|
51374
51355
|
};
|
|
51375
51356
|
protoOf(CallbackWrapperLoggerOutput).um = function (tag, message, exception, payload) {
|
|
51376
|
-
this.
|
|
51357
|
+
this.j95_1.e(tag, message, exception, this.k95_1(payload));
|
|
51377
51358
|
};
|
|
51378
51359
|
protoOf(CallbackWrapperLoggerOutput).xm = function (tag, message, payload) {
|
|
51379
|
-
this.
|
|
51360
|
+
this.j95_1.i(tag, message, this.k95_1(payload));
|
|
51380
51361
|
};
|
|
51381
51362
|
protoOf(CallbackWrapperLoggerOutput).wm = function (tag, message, exception, payload) {
|
|
51382
|
-
this.
|
|
51363
|
+
this.j95_1.v(tag, message, exception, this.k95_1(payload));
|
|
51383
51364
|
};
|
|
51384
51365
|
protoOf(CallbackWrapperLoggerOutput).vm = function (tag, message, exception, payload) {
|
|
51385
|
-
this.
|
|
51366
|
+
this.j95_1.w(tag, message, exception, this.k95_1(payload));
|
|
51386
51367
|
};
|
|
51387
51368
|
function FileLoggerOutputImpl$observe$o$collect$slambda($$this$unsafeFlow, $types, resultContinuation) {
|
|
51388
|
-
this.
|
|
51389
|
-
this.
|
|
51369
|
+
this.t95_1 = $$this$unsafeFlow;
|
|
51370
|
+
this.u95_1 = $types;
|
|
51390
51371
|
CoroutineImpl.call(this, resultContinuation);
|
|
51391
51372
|
}
|
|
51392
51373
|
protoOf(FileLoggerOutputImpl$observe$o$collect$slambda).t1e = function (value, $completion) {
|
|
@@ -51410,13 +51391,13 @@
|
|
|
51410
51391
|
continue $sm;
|
|
51411
51392
|
case 1:
|
|
51412
51393
|
var tmp_0 = this;
|
|
51413
|
-
tmp_0.
|
|
51394
|
+
tmp_0.x95_1 = this.t95_1;
|
|
51414
51395
|
var tmp_1 = this;
|
|
51415
|
-
tmp_1.
|
|
51416
|
-
var it = this.
|
|
51417
|
-
if (contains(this.
|
|
51396
|
+
tmp_1.y95_1 = this.v95_1;
|
|
51397
|
+
var it = this.y95_1;
|
|
51398
|
+
if (contains(this.u95_1, it.type)) {
|
|
51418
51399
|
this.e9_1 = 3;
|
|
51419
|
-
suspendResult = this.
|
|
51400
|
+
suspendResult = this.x95_1.p18(this.y95_1, this);
|
|
51420
51401
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
51421
51402
|
return suspendResult;
|
|
51422
51403
|
}
|
|
@@ -51435,7 +51416,7 @@
|
|
|
51435
51416
|
this.e9_1 = 4;
|
|
51436
51417
|
continue $sm;
|
|
51437
51418
|
case 3:
|
|
51438
|
-
this.
|
|
51419
|
+
this.w95_1 = suspendResult;
|
|
51439
51420
|
this.e9_1 = 4;
|
|
51440
51421
|
continue $sm;
|
|
51441
51422
|
case 4:
|
|
@@ -51455,8 +51436,8 @@
|
|
|
51455
51436
|
while (true);
|
|
51456
51437
|
};
|
|
51457
51438
|
protoOf(FileLoggerOutputImpl$observe$o$collect$slambda).u1e = function (value, completion) {
|
|
51458
|
-
var i = new FileLoggerOutputImpl$observe$o$collect$slambda(this.
|
|
51459
|
-
i.
|
|
51439
|
+
var i = new FileLoggerOutputImpl$observe$o$collect$slambda(this.t95_1, this.u95_1, completion);
|
|
51440
|
+
i.v95_1 = value;
|
|
51460
51441
|
return i;
|
|
51461
51442
|
};
|
|
51462
51443
|
function FileLoggerOutputImpl$observe$o$collect$slambda_0($$this$unsafeFlow, $types, resultContinuation) {
|
|
@@ -51469,8 +51450,8 @@
|
|
|
51469
51450
|
}
|
|
51470
51451
|
function $collectCOROUTINE$3(_this__u8e3s4, collector, resultContinuation) {
|
|
51471
51452
|
CoroutineImpl.call(this, resultContinuation);
|
|
51472
|
-
this.
|
|
51473
|
-
this.
|
|
51453
|
+
this.h96_1 = _this__u8e3s4;
|
|
51454
|
+
this.i96_1 = collector;
|
|
51474
51455
|
}
|
|
51475
51456
|
protoOf($collectCOROUTINE$3).m9 = function () {
|
|
51476
51457
|
var suspendResult = this.g9_1;
|
|
@@ -51481,10 +51462,10 @@
|
|
|
51481
51462
|
case 0:
|
|
51482
51463
|
this.f9_1 = 2;
|
|
51483
51464
|
var tmp_0 = this;
|
|
51484
|
-
tmp_0.
|
|
51465
|
+
tmp_0.j96_1 = this.i96_1;
|
|
51485
51466
|
this.e9_1 = 1;
|
|
51486
|
-
var tmp_1 = FileLoggerOutputImpl$observe$o$collect$slambda_0(this.
|
|
51487
|
-
suspendResult = this.
|
|
51467
|
+
var tmp_1 = FileLoggerOutputImpl$observe$o$collect$slambda_0(this.j96_1, this.h96_1.l96_1, null);
|
|
51468
|
+
suspendResult = this.h96_1.k96_1.m17(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
51488
51469
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
51489
51470
|
return suspendResult;
|
|
51490
51471
|
}
|
|
@@ -51508,9 +51489,9 @@
|
|
|
51508
51489
|
};
|
|
51509
51490
|
function log($this, type, tag, message, payload, stackTrace) {
|
|
51510
51491
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
51511
|
-
$this.
|
|
51492
|
+
$this.o96_1;
|
|
51512
51493
|
// Inline function 'games.jass.logic.utils.logger.FileLoggerOutputImpl.log.<anonymous>' call
|
|
51513
|
-
var tmp0_elvis_lhs = $this.
|
|
51494
|
+
var tmp0_elvis_lhs = $this.m96_1(payload);
|
|
51514
51495
|
var tmp;
|
|
51515
51496
|
if (tmp0_elvis_lhs == null) {
|
|
51516
51497
|
return Unit_instance;
|
|
@@ -51519,7 +51500,7 @@
|
|
|
51519
51500
|
}
|
|
51520
51501
|
var key = tmp;
|
|
51521
51502
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
51522
|
-
var this_0 = $this.
|
|
51503
|
+
var this_0 = $this.p96_1;
|
|
51523
51504
|
var value = this_0.g2(key);
|
|
51524
51505
|
var tmp_0;
|
|
51525
51506
|
if (value == null) {
|
|
@@ -51531,7 +51512,7 @@
|
|
|
51531
51512
|
tmp_0 = value;
|
|
51532
51513
|
}
|
|
51533
51514
|
var logger = tmp_0;
|
|
51534
|
-
logger.
|
|
51515
|
+
logger.q96_1.o1b(new LoggerOutputDataDto(type, key, tag, message, stackTrace));
|
|
51535
51516
|
}
|
|
51536
51517
|
function log$default($this, type, tag, message, payload, stackTrace, $super) {
|
|
51537
51518
|
stackTrace = stackTrace === VOID ? null : stackTrace;
|
|
@@ -51541,35 +51522,35 @@
|
|
|
51541
51522
|
flow = flow === VOID ? MutableSharedFlow(10, 100, BufferOverflow_DROP_OLDEST_getInstance()) : flow;
|
|
51542
51523
|
controller = controller === VOID ? null : controller;
|
|
51543
51524
|
job = job === VOID ? null : job;
|
|
51544
|
-
this.
|
|
51545
|
-
this.
|
|
51546
|
-
this.
|
|
51525
|
+
this.q96_1 = flow;
|
|
51526
|
+
this.r96_1 = controller;
|
|
51527
|
+
this.s96_1 = job;
|
|
51547
51528
|
}
|
|
51548
|
-
protoOf(LoggerModel).
|
|
51549
|
-
this.
|
|
51550
|
-
var tmp0_safe_receiver = this.
|
|
51529
|
+
protoOf(LoggerModel).t96 = function () {
|
|
51530
|
+
this.q96_1.s1b();
|
|
51531
|
+
var tmp0_safe_receiver = this.s96_1;
|
|
51551
51532
|
if (tmp0_safe_receiver == null)
|
|
51552
51533
|
null;
|
|
51553
51534
|
else {
|
|
51554
51535
|
tmp0_safe_receiver.tp();
|
|
51555
51536
|
}
|
|
51556
51537
|
};
|
|
51557
|
-
protoOf(LoggerModel).
|
|
51538
|
+
protoOf(LoggerModel).u96 = function (flow, controller, job) {
|
|
51558
51539
|
return new LoggerModel(flow, controller, job);
|
|
51559
51540
|
};
|
|
51560
|
-
protoOf(LoggerModel).
|
|
51561
|
-
flow = flow === VOID ? this.
|
|
51562
|
-
controller = controller === VOID ? this.
|
|
51563
|
-
job = job === VOID ? this.
|
|
51564
|
-
return $super === VOID ? this.
|
|
51541
|
+
protoOf(LoggerModel).v96 = function (flow, controller, job, $super) {
|
|
51542
|
+
flow = flow === VOID ? this.q96_1 : flow;
|
|
51543
|
+
controller = controller === VOID ? this.r96_1 : controller;
|
|
51544
|
+
job = job === VOID ? this.s96_1 : job;
|
|
51545
|
+
return $super === VOID ? this.u96(flow, controller, job) : $super.u96.call(this, flow, controller, job);
|
|
51565
51546
|
};
|
|
51566
51547
|
protoOf(LoggerModel).toString = function () {
|
|
51567
|
-
return 'LoggerModel(flow=' + toString(this.
|
|
51548
|
+
return 'LoggerModel(flow=' + toString(this.q96_1) + ', controller=' + toString_0(this.r96_1) + ', job=' + toString_0(this.s96_1) + ')';
|
|
51568
51549
|
};
|
|
51569
51550
|
protoOf(LoggerModel).hashCode = function () {
|
|
51570
|
-
var result = hashCode(this.
|
|
51551
|
+
var result = hashCode(this.q96_1);
|
|
51552
|
+
result = imul(result, 31) + (this.r96_1 == null ? 0 : hashCode(this.r96_1)) | 0;
|
|
51571
51553
|
result = imul(result, 31) + (this.s96_1 == null ? 0 : hashCode(this.s96_1)) | 0;
|
|
51572
|
-
result = imul(result, 31) + (this.t96_1 == null ? 0 : hashCode(this.t96_1)) | 0;
|
|
51573
51554
|
return result;
|
|
51574
51555
|
};
|
|
51575
51556
|
protoOf(LoggerModel).equals = function (other) {
|
|
@@ -51578,18 +51559,18 @@
|
|
|
51578
51559
|
if (!(other instanceof LoggerModel))
|
|
51579
51560
|
return false;
|
|
51580
51561
|
var tmp0_other_with_cast = other instanceof LoggerModel ? other : THROW_CCE();
|
|
51562
|
+
if (!equals(this.q96_1, tmp0_other_with_cast.q96_1))
|
|
51563
|
+
return false;
|
|
51581
51564
|
if (!equals(this.r96_1, tmp0_other_with_cast.r96_1))
|
|
51582
51565
|
return false;
|
|
51583
51566
|
if (!equals(this.s96_1, tmp0_other_with_cast.s96_1))
|
|
51584
51567
|
return false;
|
|
51585
|
-
if (!equals(this.t96_1, tmp0_other_with_cast.t96_1))
|
|
51586
|
-
return false;
|
|
51587
51568
|
return true;
|
|
51588
51569
|
};
|
|
51589
51570
|
function Companion_149() {
|
|
51590
|
-
this.
|
|
51571
|
+
this.w96_1 = 1000;
|
|
51591
51572
|
}
|
|
51592
|
-
protoOf(Companion_149).
|
|
51573
|
+
protoOf(Companion_149).x96 = function (payload) {
|
|
51593
51574
|
var tmp;
|
|
51594
51575
|
if (!(payload == null) ? isInterface(payload, FirstMechanicAction) : false) {
|
|
51595
51576
|
tmp = payload.id;
|
|
@@ -51611,13 +51592,13 @@
|
|
|
51611
51592
|
return Companion_instance_154;
|
|
51612
51593
|
}
|
|
51613
51594
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
51614
|
-
this.
|
|
51595
|
+
this.y96_1 = function_0;
|
|
51615
51596
|
}
|
|
51616
51597
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).p18 = function (value, $completion) {
|
|
51617
|
-
return this.
|
|
51598
|
+
return this.y96_1(value, $completion);
|
|
51618
51599
|
};
|
|
51619
51600
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).o3 = function () {
|
|
51620
|
-
return this.
|
|
51601
|
+
return this.y96_1;
|
|
51621
51602
|
};
|
|
51622
51603
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
51623
51604
|
var tmp;
|
|
@@ -51641,8 +51622,8 @@
|
|
|
51641
51622
|
return null;
|
|
51642
51623
|
}
|
|
51643
51624
|
function _no_name_provided__qut3iv_36($this, $types) {
|
|
51644
|
-
this.
|
|
51645
|
-
this.
|
|
51625
|
+
this.k96_1 = $this;
|
|
51626
|
+
this.l96_1 = $types;
|
|
51646
51627
|
}
|
|
51647
51628
|
protoOf(_no_name_provided__qut3iv_36).q18 = function (collector, $completion) {
|
|
51648
51629
|
var tmp = new $collectCOROUTINE$3(this, collector, $completion);
|
|
@@ -51662,27 +51643,27 @@
|
|
|
51662
51643
|
}
|
|
51663
51644
|
payloadToKeyMapper = tmp;
|
|
51664
51645
|
enabled = enabled === VOID ? true : enabled;
|
|
51665
|
-
this.
|
|
51666
|
-
this.
|
|
51646
|
+
this.m96_1 = payloadToKeyMapper;
|
|
51647
|
+
this.n96_1 = enabled;
|
|
51667
51648
|
var tmp_0 = this;
|
|
51668
51649
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
51669
|
-
tmp_0.
|
|
51650
|
+
tmp_0.o96_1 = get_atomicfu$reentrantLock();
|
|
51670
51651
|
var tmp_1 = this;
|
|
51671
51652
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
51672
|
-
tmp_1.
|
|
51653
|
+
tmp_1.p96_1 = LinkedHashMap_init_$Create$();
|
|
51673
51654
|
}
|
|
51674
51655
|
protoOf(FileLoggerOutputImpl).ym = function (_set____db54di) {
|
|
51675
|
-
this.
|
|
51656
|
+
this.n96_1 = _set____db54di;
|
|
51676
51657
|
};
|
|
51677
51658
|
protoOf(FileLoggerOutputImpl).zm = function () {
|
|
51678
|
-
return this.
|
|
51659
|
+
return this.n96_1;
|
|
51679
51660
|
};
|
|
51680
|
-
protoOf(FileLoggerOutputImpl).
|
|
51661
|
+
protoOf(FileLoggerOutputImpl).z96 = function (key, types) {
|
|
51681
51662
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
51682
|
-
this.
|
|
51663
|
+
this.o96_1;
|
|
51683
51664
|
// Inline function 'games.jass.logic.utils.logger.FileLoggerOutputImpl.observe.<anonymous>' call
|
|
51684
51665
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
51685
|
-
var this_0 = this.
|
|
51666
|
+
var this_0 = this.p96_1;
|
|
51686
51667
|
var value = this_0.g2(key);
|
|
51687
51668
|
var tmp;
|
|
51688
51669
|
if (value == null) {
|
|
@@ -51696,27 +51677,27 @@
|
|
|
51696
51677
|
var logger = tmp;
|
|
51697
51678
|
// Inline function 'kotlinx.coroutines.flow.filter' call
|
|
51698
51679
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
51699
|
-
var this_1 = logger.
|
|
51680
|
+
var this_1 = logger.q96_1;
|
|
51700
51681
|
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
51701
51682
|
return new _no_name_provided__qut3iv_36(this_1, types);
|
|
51702
51683
|
};
|
|
51703
51684
|
protoOf(FileLoggerOutputImpl).t8w = function (key) {
|
|
51704
51685
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
51705
|
-
this.
|
|
51686
|
+
this.o96_1;
|
|
51706
51687
|
// Inline function 'games.jass.logic.utils.logger.FileLoggerOutputImpl.destroy.<anonymous>' call
|
|
51707
|
-
var tmp0_safe_receiver = this.
|
|
51688
|
+
var tmp0_safe_receiver = this.p96_1.g2(key);
|
|
51708
51689
|
if (tmp0_safe_receiver == null)
|
|
51709
51690
|
null;
|
|
51710
51691
|
else {
|
|
51711
|
-
tmp0_safe_receiver.
|
|
51692
|
+
tmp0_safe_receiver.t96();
|
|
51712
51693
|
}
|
|
51713
|
-
this.
|
|
51694
|
+
this.p96_1.k2(key);
|
|
51714
51695
|
};
|
|
51715
51696
|
protoOf(FileLoggerOutputImpl).s8w = function (key, job, controller) {
|
|
51716
51697
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
51717
|
-
this.
|
|
51698
|
+
this.o96_1;
|
|
51718
51699
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
51719
|
-
var this_0 = this.
|
|
51700
|
+
var this_0 = this.p96_1;
|
|
51720
51701
|
var value = this_0.g2(key);
|
|
51721
51702
|
var tmp;
|
|
51722
51703
|
if (value == null) {
|
|
@@ -51727,17 +51708,17 @@
|
|
|
51727
51708
|
} else {
|
|
51728
51709
|
tmp = value;
|
|
51729
51710
|
}
|
|
51730
|
-
var updatedModel = tmp.
|
|
51731
|
-
this.
|
|
51711
|
+
var updatedModel = tmp.v96(VOID, controller, job);
|
|
51712
|
+
this.p96_1.j2(key, updatedModel);
|
|
51732
51713
|
};
|
|
51733
51714
|
protoOf(FileLoggerOutputImpl).tm = function (tag, message, payload) {
|
|
51734
|
-
if (!this.
|
|
51715
|
+
if (!this.n96_1)
|
|
51735
51716
|
return Unit_instance;
|
|
51736
51717
|
var tmp0_type = LogType_DEBUG_getInstance();
|
|
51737
51718
|
log$default(this, tmp0_type, tag, message, payload);
|
|
51738
51719
|
};
|
|
51739
51720
|
protoOf(FileLoggerOutputImpl).um = function (tag, message, exception, payload) {
|
|
51740
|
-
if (!this.
|
|
51721
|
+
if (!this.n96_1)
|
|
51741
51722
|
return Unit_instance;
|
|
51742
51723
|
var tmp4_type = LogType_ERROR_getInstance();
|
|
51743
51724
|
var tmp;
|
|
@@ -51752,13 +51733,13 @@
|
|
|
51752
51733
|
log(this, tmp4_type, tag, tmp5_message, payload, tmp6_stackTrace);
|
|
51753
51734
|
};
|
|
51754
51735
|
protoOf(FileLoggerOutputImpl).xm = function (tag, message, payload) {
|
|
51755
|
-
if (!this.
|
|
51736
|
+
if (!this.n96_1)
|
|
51756
51737
|
return Unit_instance;
|
|
51757
51738
|
var tmp0_type = LogType_INFO_getInstance();
|
|
51758
51739
|
log(this, tmp0_type, tag, message, payload, null);
|
|
51759
51740
|
};
|
|
51760
51741
|
protoOf(FileLoggerOutputImpl).wm = function (tag, message, exception, payload) {
|
|
51761
|
-
if (!this.
|
|
51742
|
+
if (!this.n96_1)
|
|
51762
51743
|
return Unit_instance;
|
|
51763
51744
|
var tmp4_type = LogType_VERBOSE_getInstance();
|
|
51764
51745
|
var tmp;
|
|
@@ -51773,7 +51754,7 @@
|
|
|
51773
51754
|
log(this, tmp4_type, tag, tmp5_message, payload, tmp6_stackTrace);
|
|
51774
51755
|
};
|
|
51775
51756
|
protoOf(FileLoggerOutputImpl).vm = function (tag, message, exception, payload) {
|
|
51776
|
-
if (!this.
|
|
51757
|
+
if (!this.n96_1)
|
|
51777
51758
|
return Unit_instance;
|
|
51778
51759
|
var tmp4_type = LogType_WARN_getInstance();
|
|
51779
51760
|
var tmp1_elvis_lhs = exception == null ? null : exception.message;
|
|
@@ -52500,7 +52481,7 @@
|
|
|
52500
52481
|
}
|
|
52501
52482
|
return copyToArray(destination);
|
|
52502
52483
|
};
|
|
52503
|
-
protoOf(GameHelperImpl).
|
|
52484
|
+
protoOf(GameHelperImpl).a97 = function (points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, mode, league) {
|
|
52504
52485
|
var tmp1_elvis_lhs = mode == null ? null : mapToRoomMode(mode);
|
|
52505
52486
|
var roomMode = tmp1_elvis_lhs == null ? RoomMode_DEFAULT_getInstance() : tmp1_elvis_lhs;
|
|
52506
52487
|
var options = Companion_instance_139.getServerOptions(isEnableChat, isBotsEnabled, roomMode.isEnableChoosePartnerScreen);
|
|
@@ -52707,40 +52688,40 @@
|
|
|
52707
52688
|
function getRandomAvatarData_0($this) {
|
|
52708
52689
|
var avatarSetNumber = Default_getInstance().og(values_18().length);
|
|
52709
52690
|
var avatarSet = values_18()[avatarSetNumber];
|
|
52710
|
-
return new AvatarData(Default_getInstance().og(avatarSet.
|
|
52691
|
+
return new AvatarData(Default_getInstance().og(avatarSet.e97()), avatarSet);
|
|
52711
52692
|
}
|
|
52712
52693
|
function getAvatarUrlByIndex($this, data) {
|
|
52713
52694
|
return mapToPattern($this, data);
|
|
52714
52695
|
}
|
|
52715
52696
|
function getNicknameByIndex($this, data) {
|
|
52716
|
-
return data.
|
|
52697
|
+
return data.g97_1.h97(data.f97_1);
|
|
52717
52698
|
}
|
|
52718
52699
|
function mapToPattern($this, data) {
|
|
52719
|
-
return 'debertz://raspberry.games/' + data.
|
|
52700
|
+
return 'debertz://raspberry.games/' + data.g97_1.n2_1 + '/' + data.f97_1;
|
|
52720
52701
|
}
|
|
52721
52702
|
function Companion_150() {
|
|
52722
52703
|
Companion_instance_155 = this;
|
|
52723
|
-
this.
|
|
52704
|
+
this.i97_1 = 'debertz://raspberry.games';
|
|
52724
52705
|
var tmp = this;
|
|
52725
52706
|
// Inline function 'kotlin.arrayOf' call
|
|
52726
52707
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
52727
52708
|
// Inline function 'kotlin.js.asDynamic' call
|
|
52728
|
-
tmp.
|
|
52709
|
+
tmp.j97_1 = ['Helen', 'Kelvin', 'Josh', 'Cler', 'Anna', 'Emily', 'Tom', 'Peter', 'Kate', 'Lucy', 'Bob', 'Holly', 'Alex', 'Mark', 'Sarah', 'Naomi'];
|
|
52729
52710
|
var tmp_0 = this;
|
|
52730
52711
|
// Inline function 'kotlin.arrayOf' call
|
|
52731
52712
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
52732
52713
|
// Inline function 'kotlin.js.asDynamic' call
|
|
52733
|
-
tmp_0.
|
|
52714
|
+
tmp_0.k97_1 = ['\u0422\u0430\u043D\u044F', 'TheBest', '\u0425\u0430\u0440\u043A\u0456\u0432\u041C\u0456\u0441\u0442\u043E\u0413\u0435\u0440\u043E\u0439', '\u0412\u0430\u043B\u044F', '\u041C\u0430\u0440\u0433\u0430\u0440\u0438\u0442\u0430', 'Dasha', '\u0410\u0440\u0442\u0435\u043C', '\u041F\u0435\u0442\u0440\u043E\u0432\u0438\u0447', '\u041A\u0440\u0438\u0441', '\u041C\u0430\u0440\u0456\u0430\u043D\u0430', '\u0421\u0430\u043B\u0442\u0456\u0432\u043A\u0430', '\u042F\u043D\u0430', 'Alex', '\u041E\u0434\u0435\u0441\u0441\u0430\u041C\u0430\u043C\u0430', 'Vika', '\u0421\u0432\u0456\u0442\u043B\u0430\u043D\u0430'];
|
|
52734
52715
|
var tmp_1 = this;
|
|
52735
52716
|
// Inline function 'kotlin.arrayOf' call
|
|
52736
52717
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
52737
52718
|
// Inline function 'kotlin.js.asDynamic' call
|
|
52738
|
-
tmp_1.
|
|
52719
|
+
tmp_1.l97_1 = ['Fedya', 'Shurik', 'Student', 'Student girl', 'District policeman', 'George', 'Zina', 'Shuller', 'Tanya', 'Katerina', 'Innocent', 'Lyolik', 'Nina', 'Experienced', 'Jigid', 'Just a Tsar'];
|
|
52739
52720
|
var tmp_2 = this;
|
|
52740
52721
|
// Inline function 'kotlin.arrayOf' call
|
|
52741
52722
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
52742
52723
|
// Inline function 'kotlin.js.asDynamic' call
|
|
52743
|
-
tmp_2.
|
|
52724
|
+
tmp_2.m97_1 = ['\u0423\u0441\u0456\u043C\u0414\u043E\u0431\u0440\u0430', '\u0410\u043B\u0435\u043A\u0441', 'MOLOTOK', '\u041B\u042F\u041B\u042F', '\u0406\u0412\u0410\u041D', '\u041C\u0438\u043A\u0438\u0442\u0430', '\u0410\u043B\u0456\u0441\u0430', '\u041C\u0430\u043A\u0441\u0438\u043C', '\u0421\u043E\u043B\u043E\u043C\u0456\u044F', '\u0414\u0436\u0435\u0432\u0435\u043B\u0456\u043D\u0430', '\u041A\u0441\u044E\u0445\u0430', '\u0422\u0410\u0420\u0410\u0421', '\u041E\u043B\u044F', '\u0414\u043E\u0420\u043E\u0431\u043E\u0442\u0438', '\u0421\u043B\u0430\u0432\u0430\u0417\u0421\u0423!', '\u0426\u0430\u0440\u044C\u0414\u0435\u0431\u0430'];
|
|
52744
52725
|
}
|
|
52745
52726
|
var Companion_instance_155;
|
|
52746
52727
|
function Companion_getInstance_157() {
|
|
@@ -52751,14 +52732,14 @@
|
|
|
52751
52732
|
function AvatarSet(name, ordinal) {
|
|
52752
52733
|
Enum.call(this, name, ordinal);
|
|
52753
52734
|
}
|
|
52754
|
-
protoOf(AvatarSet).
|
|
52735
|
+
protoOf(AvatarSet).e97 = function () {
|
|
52755
52736
|
var tmp;
|
|
52756
52737
|
switch (this.n2_1) {
|
|
52757
52738
|
case 0:
|
|
52758
|
-
tmp = Companion_getInstance_157().
|
|
52739
|
+
tmp = Companion_getInstance_157().k97_1.length;
|
|
52759
52740
|
break;
|
|
52760
52741
|
case 1:
|
|
52761
|
-
tmp = Companion_getInstance_157().
|
|
52742
|
+
tmp = Companion_getInstance_157().m97_1.length;
|
|
52762
52743
|
break;
|
|
52763
52744
|
default:
|
|
52764
52745
|
noWhenBranchMatchedException();
|
|
@@ -52766,14 +52747,14 @@
|
|
|
52766
52747
|
}
|
|
52767
52748
|
return tmp;
|
|
52768
52749
|
};
|
|
52769
|
-
protoOf(AvatarSet).
|
|
52750
|
+
protoOf(AvatarSet).h97 = function (index) {
|
|
52770
52751
|
var tmp;
|
|
52771
52752
|
switch (this.n2_1) {
|
|
52772
52753
|
case 0:
|
|
52773
|
-
tmp = Companion_getInstance_157().
|
|
52754
|
+
tmp = Companion_getInstance_157().k97_1[index];
|
|
52774
52755
|
break;
|
|
52775
52756
|
case 1:
|
|
52776
|
-
tmp = Companion_getInstance_157().
|
|
52757
|
+
tmp = Companion_getInstance_157().m97_1[index];
|
|
52777
52758
|
break;
|
|
52778
52759
|
default:
|
|
52779
52760
|
noWhenBranchMatchedException();
|
|
@@ -52782,8 +52763,8 @@
|
|
|
52782
52763
|
return tmp;
|
|
52783
52764
|
};
|
|
52784
52765
|
function AvatarData(index, avatarSet) {
|
|
52785
|
-
this.
|
|
52786
|
-
this.
|
|
52766
|
+
this.f97_1 = index;
|
|
52767
|
+
this.g97_1 = avatarSet;
|
|
52787
52768
|
}
|
|
52788
52769
|
function AvatarSet_ORIGIN_getInstance() {
|
|
52789
52770
|
AvatarSet_initEntries();
|
|
@@ -52796,7 +52777,7 @@
|
|
|
52796
52777
|
function GameResourcesImpl() {
|
|
52797
52778
|
Companion_getInstance_157();
|
|
52798
52779
|
}
|
|
52799
|
-
protoOf(GameResourcesImpl).
|
|
52780
|
+
protoOf(GameResourcesImpl).b97 = function (playerId, existingNicknames) {
|
|
52800
52781
|
return createUser(this, playerId, existingNicknames);
|
|
52801
52782
|
};
|
|
52802
52783
|
protoOf(GameResourcesImpl).createBotUsers = function (playerIds) {
|
|
@@ -52838,46 +52819,46 @@
|
|
|
52838
52819
|
}
|
|
52839
52820
|
var WARN;
|
|
52840
52821
|
function LoggerCallbacksWrapperLoggerOutput(loggerCallback) {
|
|
52841
|
-
this.
|
|
52822
|
+
this.n97_1 = loggerCallback;
|
|
52842
52823
|
}
|
|
52843
52824
|
protoOf(LoggerCallbacksWrapperLoggerOutput).tm = function (tag, message, payload) {
|
|
52844
|
-
this.
|
|
52825
|
+
this.n97_1('debug', tag, message, null, payload);
|
|
52845
52826
|
};
|
|
52846
52827
|
protoOf(LoggerCallbacksWrapperLoggerOutput).um = function (tag, message, exception, payload) {
|
|
52847
|
-
this.
|
|
52828
|
+
this.n97_1('error', tag, generateMsg(message, exception), exception, payload);
|
|
52848
52829
|
};
|
|
52849
52830
|
protoOf(LoggerCallbacksWrapperLoggerOutput).xm = function (tag, message, payload) {
|
|
52850
|
-
this.
|
|
52831
|
+
this.n97_1('debug', tag, message, null, payload);
|
|
52851
52832
|
};
|
|
52852
52833
|
protoOf(LoggerCallbacksWrapperLoggerOutput).wm = function (tag, message, exception, payload) {
|
|
52853
|
-
this.
|
|
52834
|
+
this.n97_1('debug', tag, generateMsg(message, exception), exception, payload);
|
|
52854
52835
|
};
|
|
52855
52836
|
protoOf(LoggerCallbacksWrapperLoggerOutput).vm = function (tag, message, exception, payload) {
|
|
52856
|
-
this.
|
|
52837
|
+
this.n97_1('warn', tag, generateMsg(message, exception), exception, payload);
|
|
52857
52838
|
};
|
|
52858
52839
|
function ParserHelper() {
|
|
52859
52840
|
}
|
|
52860
52841
|
function ParserHelperImpl(json, encoderDecoderProvider) {
|
|
52861
|
-
this.
|
|
52862
|
-
this.
|
|
52842
|
+
this.o97_1 = json;
|
|
52843
|
+
this.p97_1 = encoderDecoderProvider;
|
|
52863
52844
|
}
|
|
52864
52845
|
protoOf(ParserHelperImpl).encodeFromClientEvent = function (action) {
|
|
52865
|
-
return this.
|
|
52846
|
+
return this.p97_1.v8d(mapToDto_17(action));
|
|
52866
52847
|
};
|
|
52867
52848
|
protoOf(ParserHelperImpl).decodeFromClientEvent = function (fromPlayerId, json) {
|
|
52868
|
-
return mapFromDto_14(this.
|
|
52849
|
+
return mapFromDto_14(this.p97_1.y8d(json), fromPlayerId);
|
|
52869
52850
|
};
|
|
52870
52851
|
protoOf(ParserHelperImpl).encodeToClientEvent = function (action) {
|
|
52871
|
-
return this.
|
|
52852
|
+
return this.p97_1.w8d(mapToDto_62(action));
|
|
52872
52853
|
};
|
|
52873
52854
|
protoOf(ParserHelperImpl).decodeToClientEventToMechanicActions = function (playerId, engine, json) {
|
|
52874
52855
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
52875
|
-
var this_0 = mapFromClientDtoListWithPayload(this.
|
|
52856
|
+
var this_0 = mapFromClientDtoListWithPayload(this.p97_1.z8d(json), playerId, engine);
|
|
52876
52857
|
return copyToArray(this_0);
|
|
52877
52858
|
};
|
|
52878
52859
|
protoOf(ParserHelperImpl).encodeGameRound = function (round) {
|
|
52879
52860
|
// Inline function 'kotlinx.serialization.encodeToString' call
|
|
52880
|
-
var this_0 = this.
|
|
52861
|
+
var this_0 = this.o97_1;
|
|
52881
52862
|
var value = mapToDto_27(round);
|
|
52882
52863
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
52883
52864
|
var this_1 = this_0.j42();
|
|
@@ -52888,7 +52869,7 @@
|
|
|
52888
52869
|
};
|
|
52889
52870
|
protoOf(ParserHelperImpl).encodeGameRoundItems = function (round) {
|
|
52890
52871
|
// Inline function 'kotlinx.serialization.encodeToString' call
|
|
52891
|
-
var this_0 = this.
|
|
52872
|
+
var this_0 = this.o97_1;
|
|
52892
52873
|
// Inline function 'kotlin.collections.map' call
|
|
52893
52874
|
var this_1 = round.items;
|
|
52894
52875
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -52911,7 +52892,7 @@
|
|
|
52911
52892
|
};
|
|
52912
52893
|
protoOf(ParserHelperImpl).encodeGameMetadata = function (metadata) {
|
|
52913
52894
|
// Inline function 'kotlinx.serialization.encodeToString' call
|
|
52914
|
-
var this_0 = this.
|
|
52895
|
+
var this_0 = this.o97_1;
|
|
52915
52896
|
var value = mapToDto_29(metadata);
|
|
52916
52897
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
52917
52898
|
var this_1 = this_0.j42();
|
|
@@ -52922,7 +52903,7 @@
|
|
|
52922
52903
|
};
|
|
52923
52904
|
protoOf(ParserHelperImpl).encodeRoomConfig = function (config) {
|
|
52924
52905
|
// Inline function 'kotlinx.serialization.encodeToString' call
|
|
52925
|
-
var this_0 = this.
|
|
52906
|
+
var this_0 = this.o97_1;
|
|
52926
52907
|
var value = mapToDto_53(config);
|
|
52927
52908
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
52928
52909
|
var this_1 = this_0.j42();
|
|
@@ -52933,7 +52914,7 @@
|
|
|
52933
52914
|
};
|
|
52934
52915
|
protoOf(ParserHelperImpl).encodeGameToRoomTransition = function (transition) {
|
|
52935
52916
|
// Inline function 'kotlinx.serialization.encodeToString' call
|
|
52936
|
-
var this_0 = this.
|
|
52917
|
+
var this_0 = this.o97_1;
|
|
52937
52918
|
var value = mapToDto_83(transition);
|
|
52938
52919
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
52939
52920
|
var this_1 = this_0.j42();
|
|
@@ -52944,7 +52925,7 @@
|
|
|
52944
52925
|
};
|
|
52945
52926
|
protoOf(ParserHelperImpl).decodeGameToRoomTransition = function (json) {
|
|
52946
52927
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
52947
|
-
var this_0 = this.
|
|
52928
|
+
var this_0 = this.o97_1;
|
|
52948
52929
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
52949
52930
|
var this_1 = this_0.j42();
|
|
52950
52931
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -52954,11 +52935,11 @@
|
|
|
52954
52935
|
return mapFromDto_59(tmp$ret$2);
|
|
52955
52936
|
};
|
|
52956
52937
|
protoOf(ParserHelperImpl).decodeTableLite = function (json) {
|
|
52957
|
-
return mapFromDto_57(this.
|
|
52938
|
+
return mapFromDto_57(this.p97_1.x8d(json));
|
|
52958
52939
|
};
|
|
52959
52940
|
protoOf(ParserHelperImpl).decodeFullGameHistoryToTableLite = function (json, round) {
|
|
52960
52941
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
52961
|
-
var this_0 = this.
|
|
52942
|
+
var this_0 = this.o97_1;
|
|
52962
52943
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
52963
52944
|
var this_1 = this_0.j42();
|
|
52964
52945
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -52971,16 +52952,16 @@
|
|
|
52971
52952
|
function RatingHelper() {
|
|
52972
52953
|
}
|
|
52973
52954
|
function RatingHelperImpl(userRatingInteractor) {
|
|
52974
|
-
this.
|
|
52955
|
+
this.q97_1 = userRatingInteractor;
|
|
52975
52956
|
}
|
|
52976
52957
|
protoOf(RatingHelperImpl).isValidRatingForLeague = function (league, rating) {
|
|
52977
|
-
return this.
|
|
52958
|
+
return this.q97_1.v8k(league, rating);
|
|
52978
52959
|
};
|
|
52979
52960
|
protoOf(RatingHelperImpl).mapRatingToLeague = function (rating) {
|
|
52980
|
-
return this.
|
|
52961
|
+
return this.q97_1.x8k(rating);
|
|
52981
52962
|
};
|
|
52982
52963
|
protoOf(RatingHelperImpl).getLeaguesConfig = function () {
|
|
52983
|
-
return this.
|
|
52964
|
+
return this.q97_1.w8k();
|
|
52984
52965
|
};
|
|
52985
52966
|
function engineHelpersModule() {
|
|
52986
52967
|
return Module_init_$Create$('Engine helpers Module', VOID, VOID, engineHelpersModule$lambda);
|
|
@@ -53080,7 +53061,7 @@
|
|
|
53080
53061
|
}
|
|
53081
53062
|
function _get_di__ndbzja($this) {
|
|
53082
53063
|
// Inline function 'kotlin.getValue' call
|
|
53083
|
-
var this_0 = $this.
|
|
53064
|
+
var this_0 = $this.r97_1;
|
|
53084
53065
|
di$factory();
|
|
53085
53066
|
return this_0.u();
|
|
53086
53067
|
}
|
|
@@ -53096,57 +53077,57 @@
|
|
|
53096
53077
|
}
|
|
53097
53078
|
function EngineHelpersFactory() {
|
|
53098
53079
|
var tmp = this;
|
|
53099
|
-
tmp.
|
|
53080
|
+
tmp.r97_1 = lazy(EngineHelpersFactory$di$delegate$lambda);
|
|
53100
53081
|
var tmp_0 = this;
|
|
53101
53082
|
// Inline function 'org.kodein.di.instance' call
|
|
53102
53083
|
var this_0 = _get_di__ndbzja(this);
|
|
53103
53084
|
// Inline function 'org.kodein.type.generic' call
|
|
53104
53085
|
var tmp_1 = typeToken(createKType(getKClass(RatingHelper), arrayOf([]), false));
|
|
53105
53086
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
53106
|
-
tmp_0.
|
|
53087
|
+
tmp_0.s97_1 = Instance(this_0, tmp$ret$0, null).e60(this, ratingHelper$factory());
|
|
53107
53088
|
var tmp_2 = this;
|
|
53108
53089
|
// Inline function 'org.kodein.di.instance' call
|
|
53109
53090
|
var this_1 = _get_di__ndbzja(this);
|
|
53110
53091
|
// Inline function 'org.kodein.type.generic' call
|
|
53111
53092
|
var tmp_3 = typeToken(createKType(getKClass(ParserHelper), arrayOf([]), false));
|
|
53112
53093
|
var tmp$ret$2 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
|
|
53113
|
-
tmp_2.
|
|
53094
|
+
tmp_2.t97_1 = Instance(this_1, tmp$ret$2, null).e60(this, parserHelper$factory());
|
|
53114
53095
|
var tmp_4 = this;
|
|
53115
53096
|
// Inline function 'org.kodein.di.instance' call
|
|
53116
53097
|
var this_2 = _get_di__ndbzja(this);
|
|
53117
53098
|
// Inline function 'org.kodein.type.generic' call
|
|
53118
53099
|
var tmp_5 = typeToken(createKType(getKClass(GameHelper), arrayOf([]), false));
|
|
53119
53100
|
var tmp$ret$4 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
53120
|
-
tmp_4.
|
|
53101
|
+
tmp_4.u97_1 = Instance(this_2, tmp$ret$4, null).e60(this, gameHelper$factory());
|
|
53121
53102
|
var tmp_6 = this;
|
|
53122
53103
|
// Inline function 'org.kodein.di.instance' call
|
|
53123
53104
|
var this_3 = _get_di__ndbzja(this);
|
|
53124
53105
|
// Inline function 'org.kodein.type.generic' call
|
|
53125
53106
|
var tmp_7 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
|
|
53126
53107
|
var tmp$ret$6 = isInterface(tmp_7, TypeToken) ? tmp_7 : THROW_CCE();
|
|
53127
|
-
tmp_6.
|
|
53108
|
+
tmp_6.v97_1 = Instance(this_3, tmp$ret$6, null).e60(this, gameResources$factory());
|
|
53128
53109
|
}
|
|
53129
|
-
protoOf(EngineHelpersFactory).
|
|
53110
|
+
protoOf(EngineHelpersFactory).w97 = function () {
|
|
53130
53111
|
// Inline function 'kotlin.getValue' call
|
|
53131
|
-
var this_0 = this.
|
|
53112
|
+
var this_0 = this.s97_1;
|
|
53132
53113
|
ratingHelper$factory_0();
|
|
53133
53114
|
return this_0.u();
|
|
53134
53115
|
};
|
|
53135
|
-
protoOf(EngineHelpersFactory).
|
|
53116
|
+
protoOf(EngineHelpersFactory).x97 = function () {
|
|
53136
53117
|
// Inline function 'kotlin.getValue' call
|
|
53137
|
-
var this_0 = this.
|
|
53118
|
+
var this_0 = this.t97_1;
|
|
53138
53119
|
parserHelper$factory_0();
|
|
53139
53120
|
return this_0.u();
|
|
53140
53121
|
};
|
|
53141
|
-
protoOf(EngineHelpersFactory).
|
|
53122
|
+
protoOf(EngineHelpersFactory).y97 = function () {
|
|
53142
53123
|
// Inline function 'kotlin.getValue' call
|
|
53143
|
-
var this_0 = this.
|
|
53124
|
+
var this_0 = this.u97_1;
|
|
53144
53125
|
gameHelper$factory_0();
|
|
53145
53126
|
return this_0.u();
|
|
53146
53127
|
};
|
|
53147
|
-
protoOf(EngineHelpersFactory).
|
|
53128
|
+
protoOf(EngineHelpersFactory).z97 = function () {
|
|
53148
53129
|
// Inline function 'kotlin.getValue' call
|
|
53149
|
-
var this_0 = this.
|
|
53130
|
+
var this_0 = this.v97_1;
|
|
53150
53131
|
gameResources$factory_0();
|
|
53151
53132
|
return this_0.u();
|
|
53152
53133
|
};
|
|
@@ -53733,10 +53714,10 @@
|
|
|
53733
53714
|
protoOf(LoggerCallbacksWrapperLoggerOutput).i = i;
|
|
53734
53715
|
protoOf(LoggerCallbacksWrapperLoggerOutput).v = v;
|
|
53735
53716
|
protoOf(LoggerCallbacksWrapperLoggerOutput).w = w;
|
|
53736
|
-
defineProp(protoOf(EngineHelpersFactory), 'ratingHelper', protoOf(EngineHelpersFactory).
|
|
53737
|
-
defineProp(protoOf(EngineHelpersFactory), 'parserHelper', protoOf(EngineHelpersFactory).
|
|
53738
|
-
defineProp(protoOf(EngineHelpersFactory), 'gameHelper', protoOf(EngineHelpersFactory).
|
|
53739
|
-
defineProp(protoOf(EngineHelpersFactory), 'gameResources', protoOf(EngineHelpersFactory).
|
|
53717
|
+
defineProp(protoOf(EngineHelpersFactory), 'ratingHelper', protoOf(EngineHelpersFactory).w97);
|
|
53718
|
+
defineProp(protoOf(EngineHelpersFactory), 'parserHelper', protoOf(EngineHelpersFactory).x97);
|
|
53719
|
+
defineProp(protoOf(EngineHelpersFactory), 'gameHelper', protoOf(EngineHelpersFactory).y97);
|
|
53720
|
+
defineProp(protoOf(EngineHelpersFactory), 'gameResources', protoOf(EngineHelpersFactory).z97);
|
|
53740
53721
|
//endregion
|
|
53741
53722
|
//region block: init
|
|
53742
53723
|
Companion_instance_5 = new Companion_0();
|