client_plugin_logic_deb 1.8.484 → 1.8.486

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.
@@ -39390,25 +39390,54 @@
39390
39390
  var tmp0_safe_receiver = table.sceneInfo.w9g_1;
39391
39391
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : get_isPlayerTurnAct(tmp0_safe_receiver);
39392
39392
  var isPlayerTurnAct = tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
39393
- // Inline function 'kotlin.collections.isNotEmpty' call
39394
- var hasActiveTransitions = !clientPayload.vbi_1.r();
39395
- var tmp;
39396
- if (isCurrentPlayer && isGameActive && clientPayload.obi_1 && !hasActiveTransitions && currentPlayer.k7z_1.p78() && isEarnPointScene && isPlayerTurnAct && clientPayload.ubi_1 == null) {
39393
+ var tmp0 = clientPayload.vbi_1;
39394
+ var tmp$ret$0;
39395
+ $l$block_0: {
39396
+ // Inline function 'kotlin.collections.any' call
39397
+ var tmp;
39398
+ if (isInterface(tmp0, Collection)) {
39399
+ tmp = tmp0.r();
39400
+ } else {
39401
+ tmp = false;
39402
+ }
39403
+ if (tmp) {
39404
+ tmp$ret$0 = false;
39405
+ break $l$block_0;
39406
+ }
39407
+ var _iterator__ex2g4s = tmp0.t();
39408
+ while (_iterator__ex2g4s.u()) {
39409
+ var element = _iterator__ex2g4s.v();
39410
+ var tmp_0;
39411
+ if (isInterface(element, TableCardsTransition)) {
39412
+ tmp_0 = !(element instanceof PutCardOnTableTransition);
39413
+ } else {
39414
+ tmp_0 = false;
39415
+ }
39416
+ if (tmp_0) {
39417
+ tmp$ret$0 = true;
39418
+ break $l$block_0;
39419
+ }
39420
+ }
39421
+ tmp$ret$0 = false;
39422
+ }
39423
+ var hasTableCardsTransition = tmp$ret$0;
39424
+ var tmp_1;
39425
+ if (isCurrentPlayer && isGameActive && clientPayload.obi_1 && !hasTableCardsTransition && currentPlayer.k7z_1.p78() && isEarnPointScene && isPlayerTurnAct && clientPayload.ubi_1 == null) {
39397
39426
  // Inline function 'kotlin.collections.filter' call
39398
39427
  // Inline function 'kotlin.collections.filterTo' call
39399
39428
  var destination = ArrayList_init_$Create$_0();
39400
- var _iterator__ex2g4s = cards.t();
39401
- while (_iterator__ex2g4s.u()) {
39402
- var element = _iterator__ex2g4s.v();
39403
- if (this.sdz_1.vcd(element, table, currentPlayer) == null) {
39404
- destination.e1(element);
39429
+ var _iterator__ex2g4s_0 = cards.t();
39430
+ while (_iterator__ex2g4s_0.u()) {
39431
+ var element_0 = _iterator__ex2g4s_0.v();
39432
+ if (this.sdz_1.vcd(element_0, table, currentPlayer) == null) {
39433
+ destination.e1(element_0);
39405
39434
  }
39406
39435
  }
39407
- tmp = new CardsStateViewModel(true, destination);
39436
+ tmp_1 = new CardsStateViewModel(true, destination);
39408
39437
  } else {
39409
- tmp = new CardsStateViewModel(false, emptyList());
39438
+ tmp_1 = new CardsStateViewModel(false, emptyList());
39410
39439
  }
39411
- return tmp;
39440
+ return tmp_1;
39412
39441
  };
39413
39442
  protoOf(PlayerHandSelector).dep = function (playerId, isCurrentPlayer, cards, players, processingCardOnTable) {
39414
39443
  if (isCurrentPlayer && !(processingCardOnTable == null)) {