raspberry_games_server_game_logic 1.8.303 → 1.8.305

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.
Files changed (34) hide show
  1. package/Kosi-Kaverit-kaverit.js +56 -56
  2. package/Kosi-Kodein-kodein-di.js +511 -511
  3. package/Kotlin-DateTime-library-kotlinx-datetime.js +1377 -1377
  4. package/Logic_Debertz-core.js +1510 -1510
  5. package/Logic_Debertz-engine.js +14420 -14314
  6. package/Logic_Debertz-engine.js.map +1 -1
  7. package/Logic_Debertz-game_server.d.ts +3 -3
  8. package/Logic_Debertz-game_server.js +1026 -954
  9. package/Logic_Debertz-game_server.js.map +1 -1
  10. package/kotlin-kotlin-stdlib.js +10 -10
  11. package/kotlin-kotlin-stdlib.js.map +1 -1
  12. package/kotlinx-coroutines-core.js +1448 -1602
  13. package/kotlinx-coroutines-core.js.map +1 -1
  14. package/kotlinx-io-kotlinx-io-core.js +316 -316
  15. package/kotlinx-serialization-kotlinx-serialization-core.js +1801 -1801
  16. package/kotlinx-serialization-kotlinx-serialization-json.js +1328 -1328
  17. package/ktor-ktor-client-content-negotiation.js +133 -133
  18. package/ktor-ktor-client-core.js +1536 -1536
  19. package/ktor-ktor-client-logging.js +287 -287
  20. package/ktor-ktor-events.js +6 -6
  21. package/ktor-ktor-http.js +599 -599
  22. package/ktor-ktor-io.js +1255 -1255
  23. package/ktor-ktor-serialization-kotlinx-json.js +7 -7
  24. package/ktor-ktor-serialization-kotlinx.js +139 -139
  25. package/ktor-ktor-serialization.js +65 -65
  26. package/ktor-ktor-utils.js +498 -498
  27. package/ktor-ktor-websockets.js +41 -41
  28. package/package.json +1 -1
  29. package/raspberry-cardgame-lib-core.js +193 -187
  30. package/raspberry-cardgame-lib-core.js.map +1 -1
  31. package/raspberry-cardgame-lib-random.js +881 -908
  32. package/raspberry-cardgame-lib-random.js.map +1 -1
  33. package/secure-random-secure-random.js +5 -5
  34. package/uuid.js +11 -11
@@ -41,20 +41,20 @@
41
41
  var lazy = kotlin_kotlin.$_$.oh;
42
42
  var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c2;
43
43
  var initMetadataForInterface = kotlin_kotlin.$_$.xb;
44
- var until = kotlin_kotlin.$_$.ld;
45
44
  var collectionSizeOrDefault = kotlin_kotlin.$_$.s6;
46
45
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.m;
47
46
  var SecureRandom = kotlin_io_raspberryapps_cardgame_random.$_$.j;
48
47
  var CoroutineImpl = kotlin_kotlin.$_$.wa;
49
48
  var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ha;
50
49
  var initMetadataForCoroutine = kotlin_kotlin.$_$.wb;
51
- var count = kotlin_kotlin.$_$.j7;
52
50
  var Result = kotlin_kotlin.$_$.qg;
53
51
  var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.g3;
54
52
  var throwOnFailure = kotlin_kotlin.$_$.uh;
55
53
  var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.j3;
56
54
  var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.i3;
57
55
  var addAll = kotlin_kotlin.$_$.g6;
56
+ var until = kotlin_kotlin.$_$.ld;
57
+ var count = kotlin_kotlin.$_$.j7;
58
58
  var Collection = kotlin_kotlin.$_$.r5;
59
59
  var isInterface = kotlin_kotlin.$_$.ic;
60
60
  var toMutableList = kotlin_kotlin.$_$.x9;
@@ -95,11 +95,11 @@
95
95
  initMetadataForClass(CardsRandomProvider, 'CardsRandomProvider', VOID, Enum);
96
96
  function standardShuffledCards$default(cards, times, $super) {
97
97
  times = times === VOID ? 3 : times;
98
- return $super === VOID ? this.j67(cards, times) : $super.j67.call(this, cards, times);
98
+ return $super === VOID ? this.w66(cards, times) : $super.w66.call(this, cards, times);
99
99
  }
100
100
  function realLifeShuffledCards$default(cards, times, $super) {
101
101
  times = times === VOID ? 20 : times;
102
- return $super === VOID ? this.l67(cards, times) : $super.l67.call(this, cards, times);
102
+ return $super === VOID ? this.y66(cards, times) : $super.y66.call(this, cards, times);
103
103
  }
104
104
  initMetadataForInterface(CardsDealerProvider, 'CardsDealerProvider', VOID, VOID, VOID, [5]);
105
105
  initMetadataForCompanion(Companion_2);
@@ -112,12 +112,12 @@
112
112
  checkFromIndex = checkFromIndex === VOID ? first(supportedCombinations) : checkFromIndex;
113
113
  includeCardNames = includeCardNames === VOID ? null : includeCardNames;
114
114
  suit = suit === VOID ? null : suit;
115
- return $super === VOID ? this.h69(cards, supportedCombinations, checkFromIndex, includeCardNames, suit) : $super.h69.call(this, cards, supportedCombinations, checkFromIndex, includeCardNames, suit);
115
+ return $super === VOID ? this.w68(cards, supportedCombinations, checkFromIndex, includeCardNames, suit) : $super.w68.call(this, cards, supportedCombinations, checkFromIndex, includeCardNames, suit);
116
116
  }
117
117
  function findSameCardsNumberCombinations$default(cards, cardsCount, includeCardNames, $super) {
118
118
  cardsCount = cardsCount === VOID ? 4 : cardsCount;
119
119
  includeCardNames = includeCardNames === VOID ? null : includeCardNames;
120
- return $super === VOID ? this.j69(cards, cardsCount, includeCardNames) : $super.j69.call(this, cards, cardsCount, includeCardNames);
120
+ return $super === VOID ? this.y68(cards, cardsCount, includeCardNames) : $super.y68.call(this, cards, cardsCount, includeCardNames);
121
121
  }
122
122
  initMetadataForInterface(CombinationsCheckerProvider, 'CombinationsCheckerProvider');
123
123
  initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
@@ -126,9 +126,9 @@
126
126
  initMetadataForClass(DealerReducerImpl, 'DealerReducerImpl', VOID, VOID, [DealerReducer]);
127
127
  //endregion
128
128
  function CoreConfig() {
129
- this.version = '0.0.40';
129
+ this.version = '0.0.44';
130
130
  }
131
- protoOf(CoreConfig).r2z = function () {
131
+ protoOf(CoreConfig).e2z = function () {
132
132
  return this.version;
133
133
  };
134
134
  var CoreConfig_instance;
@@ -137,12 +137,12 @@
137
137
  }
138
138
  function CardIndexComparator() {
139
139
  }
140
- protoOf(CardIndexComparator).o66 = function (a, b) {
141
- return a.p66_1 - b.p66_1 | 0;
140
+ protoOf(CardIndexComparator).b66 = function (a, b) {
141
+ return a.c66_1 - b.c66_1 | 0;
142
142
  };
143
143
  protoOf(CardIndexComparator).compare = function (a, b) {
144
144
  var tmp = a instanceof GameCard ? a : THROW_CCE();
145
- return this.o66(tmp, b instanceof GameCard ? b : THROW_CCE());
145
+ return this.b66(tmp, b instanceof GameCard ? b : THROW_CCE());
146
146
  };
147
147
  var CardIndexComparator_instance;
148
148
  function CardIndexComparator_getInstance() {
@@ -150,12 +150,12 @@
150
150
  }
151
151
  function CardNumberComparator() {
152
152
  }
153
- protoOf(CardNumberComparator).o66 = function (a, b) {
154
- return b.q66() - a.q66() | 0;
153
+ protoOf(CardNumberComparator).b66 = function (a, b) {
154
+ return b.d66() - a.d66() | 0;
155
155
  };
156
156
  protoOf(CardNumberComparator).compare = function (a, b) {
157
157
  var tmp = a instanceof GameCard ? a : THROW_CCE();
158
- return this.o66(tmp, b instanceof GameCard ? b : THROW_CCE());
158
+ return this.b66(tmp, b instanceof GameCard ? b : THROW_CCE());
159
159
  };
160
160
  var CardNumberComparator_instance;
161
161
  function CardNumberComparator_getInstance() {
@@ -297,16 +297,16 @@
297
297
  }
298
298
  function Companion() {
299
299
  }
300
- protoOf(Companion).r66 = function (suit, number) {
300
+ protoOf(Companion).e66 = function (suit, number) {
301
301
  return new GameCard(getNumber(Companion_instance_0, getName(Companion_instance_0, number), suit));
302
302
  };
303
- protoOf(Companion).s66 = function (suit, cardNumber) {
303
+ protoOf(Companion).f66 = function (suit, cardNumber) {
304
304
  return new GameCard(getNumber(Companion_instance_0, cardNumber, suit));
305
305
  };
306
- protoOf(Companion).t66 = function (index) {
306
+ protoOf(Companion).g66 = function (index) {
307
307
  return new GameCard(index);
308
308
  };
309
- protoOf(Companion).u66 = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
309
+ protoOf(Companion).h66 = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
310
310
  var tmp;
311
311
  if (previousStubCardWithMaxIndex == null) {
312
312
  tmp = null;
@@ -315,7 +315,7 @@
315
315
  // Inline function 'kotlin.contracts.contract' call
316
316
  var tmp_0;
317
317
  // Inline function 'io.raspberryapps.card_game.core.data.models.cards.Companion.createUniqueStub.<anonymous>' call
318
- if (previousStubCardWithMaxIndex.v66()) {
318
+ if (previousStubCardWithMaxIndex.i66()) {
319
319
  tmp_0 = previousStubCardWithMaxIndex;
320
320
  } else {
321
321
  tmp_0 = null;
@@ -323,8 +323,8 @@
323
323
  tmp = tmp_0;
324
324
  }
325
325
  var tmp3_safe_receiver = tmp;
326
- var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.p66_1;
327
- var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : Companion_instance_0.b67(tmp4_safe_receiver, playerIndex, reverse);
326
+ var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.c66_1;
327
+ var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : Companion_instance_0.o66(tmp4_safe_receiver, playerIndex, reverse);
328
328
  var tmp_1;
329
329
  if (tmp5_safe_receiver == null) {
330
330
  tmp_1 = null;
@@ -345,10 +345,10 @@
345
345
  var index = tmp_2;
346
346
  return new GameCard(index);
347
347
  };
348
- protoOf(Companion).c67 = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $super) {
348
+ protoOf(Companion).p66 = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $super) {
349
349
  previousStubCardWithMaxIndex = previousStubCardWithMaxIndex === VOID ? null : previousStubCardWithMaxIndex;
350
350
  reverse = reverse === VOID ? false : reverse;
351
- return $super === VOID ? this.u66(position, playerIndex, previousStubCardWithMaxIndex, reverse) : $super.u66.call(this, position, playerIndex, previousStubCardWithMaxIndex, reverse);
351
+ return $super === VOID ? this.h66(position, playerIndex, previousStubCardWithMaxIndex, reverse) : $super.h66.call(this, position, playerIndex, previousStubCardWithMaxIndex, reverse);
352
352
  };
353
353
  var Companion_instance;
354
354
  function Companion_getInstance() {
@@ -452,7 +452,7 @@
452
452
  return tmp;
453
453
  }
454
454
  function _get_isShirt__vd98rp($this) {
455
- return $this.p66_1 >= 150 && $this.p66_1 <= 202;
455
+ return $this.c66_1 >= 150 && $this.c66_1 <= 202;
456
456
  }
457
457
  function CardName(name, ordinal) {
458
458
  Enum.call(this, name, ordinal);
@@ -461,13 +461,13 @@
461
461
  return getShortName(this);
462
462
  };
463
463
  function Companion_0() {
464
- this.w66_1 = -1;
465
- this.x66_1 = 13;
466
- this.y66_1 = 52;
467
- this.z66_1 = 150;
468
- this.a67_1 = 53;
464
+ this.j66_1 = -1;
465
+ this.k66_1 = 13;
466
+ this.l66_1 = 52;
467
+ this.m66_1 = 150;
468
+ this.n66_1 = 53;
469
469
  }
470
- protoOf(Companion_0).b67 = function (_this__u8e3s4, playerIndex, reverse) {
470
+ protoOf(Companion_0).o66 = function (_this__u8e3s4, playerIndex, reverse) {
471
471
  var tmp;
472
472
  if (reverse) {
473
473
  tmp = _this__u8e3s4 + (53 + imul(playerIndex, 14) | 0) | 0;
@@ -537,59 +537,59 @@
537
537
  return CardName_STUB_instance;
538
538
  }
539
539
  function GameCard(index) {
540
- this.p66_1 = index;
540
+ this.c66_1 = index;
541
541
  }
542
- protoOf(GameCard).d67 = function () {
542
+ protoOf(GameCard).q66 = function () {
543
543
  var tmp;
544
- var containsArg = this.p66_1;
544
+ var containsArg = this.c66_1;
545
545
  if (0 <= containsArg ? containsArg <= 13 : false) {
546
546
  tmp = Suit_DIAMOND_getInstance();
547
547
  } else {
548
- if (this.p66_1 <= 26) {
548
+ if (this.c66_1 <= 26) {
549
549
  tmp = Suit_SPADE_getInstance();
550
550
  } else {
551
- if (this.p66_1 <= 39) {
551
+ if (this.c66_1 <= 39) {
552
552
  tmp = Suit_HEART_getInstance();
553
553
  } else {
554
- if (this.p66_1 <= 52) {
554
+ if (this.c66_1 <= 52) {
555
555
  tmp = Suit_CLUB_getInstance();
556
556
  } else {
557
- throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.p66_1);
557
+ throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.c66_1);
558
558
  }
559
559
  }
560
560
  }
561
561
  }
562
562
  return tmp;
563
563
  };
564
- protoOf(GameCard).q66 = function () {
564
+ protoOf(GameCard).d66 = function () {
565
565
  var tmp;
566
- if (this.v66()) {
566
+ if (this.i66()) {
567
567
  tmp = -1;
568
568
  } else {
569
- tmp = this.p66_1 - imul(13, getIndex(this.d67())) | 0;
569
+ tmp = this.c66_1 - imul(13, getIndex(this.q66())) | 0;
570
570
  }
571
571
  return tmp;
572
572
  };
573
573
  protoOf(GameCard).p2 = function () {
574
- return this.v66() ? CardName_STUB_getInstance() : getName(Companion_instance_0, this.q66());
574
+ return this.i66() ? CardName_STUB_getInstance() : getName(Companion_instance_0, this.d66());
575
575
  };
576
- protoOf(GameCard).e67 = function () {
577
- return !_get_isShirt__vd98rp(this) && !this.v66();
576
+ protoOf(GameCard).r66 = function () {
577
+ return !_get_isShirt__vd98rp(this) && !this.i66();
578
578
  };
579
- protoOf(GameCard).v66 = function () {
580
- return this.p66_1 >= 53 && this.p66_1 <= 105;
579
+ protoOf(GameCard).i66 = function () {
580
+ return this.c66_1 >= 53 && this.c66_1 <= 105;
581
581
  };
582
582
  protoOf(GameCard).toString = function () {
583
583
  if (_get_isShirt__vd98rp(this)) {
584
584
  return 'GameCard(SHIRT)';
585
585
  }
586
- if (this.v66()) {
587
- return 'GameCard(STUB, ' + this.p66_1 + ')';
586
+ if (this.i66()) {
587
+ return 'GameCard(STUB, ' + this.c66_1 + ')';
588
588
  }
589
- return 'GameCard(' + this.d67().toString() + this.p2().toString() + ', ' + this.p66_1 + ')';
589
+ return 'GameCard(' + this.q66().toString() + this.p2().toString() + ', ' + this.c66_1 + ')';
590
590
  };
591
591
  protoOf(GameCard).hashCode = function () {
592
- return this.p66_1;
592
+ return this.c66_1;
593
593
  };
594
594
  protoOf(GameCard).equals = function (other) {
595
595
  if (this === other)
@@ -597,12 +597,12 @@
597
597
  if (!(other instanceof GameCard))
598
598
  return false;
599
599
  var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
600
- if (!(this.p66_1 === tmp0_other_with_cast.p66_1))
600
+ if (!(this.c66_1 === tmp0_other_with_cast.c66_1))
601
601
  return false;
602
602
  return true;
603
603
  };
604
604
  function _get_$cachedSerializer__te6jhj($this) {
605
- return $this.f67_1.u();
605
+ return $this.s66_1.u();
606
606
  }
607
607
  function Suit$Companion$_anonymous__cbm2iq() {
608
608
  return createSimpleEnumSerializer('io.raspberryapps.card_game.core.data.models.cards.Suit', values());
@@ -644,13 +644,13 @@
644
644
  Companion_instance_1 = this;
645
645
  var tmp = this;
646
646
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
647
- tmp.f67_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
647
+ tmp.s66_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
648
648
  }
649
- protoOf(Companion_1).a4x = function () {
649
+ protoOf(Companion_1).n4w = function () {
650
650
  return _get_$cachedSerializer__te6jhj(this);
651
651
  };
652
- protoOf(Companion_1).x4g = function (typeParamsSerializers) {
653
- return this.a4x();
652
+ protoOf(Companion_1).k4g = function (typeParamsSerializers) {
653
+ return this.n4w();
654
654
  };
655
655
  var Companion_instance_1;
656
656
  function Companion_getInstance_1() {
@@ -743,9 +743,6 @@
743
743
  }
744
744
  function CardsDealerProvider() {
745
745
  }
746
- function getCardsRange($this, leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
747
- return until(leftCardIndexForEachSuit, 13 - rightCardIndexForEachSuit | 0);
748
- }
749
746
  function getRandomOrgCards($this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, $completion) {
750
747
  var tmp = new $getRandomOrgCardsCOROUTINE$1($this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, $completion);
751
748
  tmp.h9_1 = Unit_instance;
@@ -771,7 +768,7 @@
771
768
  }
772
769
  function Companion_2() {
773
770
  }
774
- protoOf(Companion_2).i68 = function (randomPoolProvider, logger) {
771
+ protoOf(Companion_2).w67 = function (randomPoolProvider, logger) {
775
772
  var tmp17_random = new SecureRandom(logger);
776
773
  return new CardsDealerProviderImpl(tmp17_random, randomPoolProvider, logger);
777
774
  };
@@ -781,12 +778,12 @@
781
778
  }
782
779
  function $createNewShuffledCardDeckCOROUTINE$0(_this__u8e3s4, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, resultContinuation) {
783
780
  CoroutineImpl.call(this, resultContinuation);
784
- this.r68_1 = _this__u8e3s4;
785
- this.s68_1 = leftCardIndexForEachSuit;
786
- this.t68_1 = rightCardIndexForEachSuit;
787
- this.u68_1 = approximateRoundCountForGame;
788
- this.v68_1 = userData;
789
- this.w68_1 = provider;
781
+ this.f68_1 = _this__u8e3s4;
782
+ this.g68_1 = leftCardIndexForEachSuit;
783
+ this.h68_1 = rightCardIndexForEachSuit;
784
+ this.i68_1 = approximateRoundCountForGame;
785
+ this.j68_1 = userData;
786
+ this.k68_1 = provider;
790
787
  }
791
788
  protoOf($createNewShuffledCardDeckCOROUTINE$0).n9 = function () {
792
789
  var suspendResult = this.h9_1;
@@ -796,26 +793,26 @@
796
793
  switch (tmp) {
797
794
  case 0:
798
795
  this.g9_1 = 4;
799
- this.x68_1 = this.w68_1;
800
- this.y68_1 = this.x68_1.o2_1;
801
- if (this.y68_1 === 0) {
796
+ this.l68_1 = this.k68_1;
797
+ this.m68_1 = this.l68_1.o2_1;
798
+ if (this.m68_1 === 0) {
802
799
  var tmp_0 = this;
803
- var it = this.r68_1.g67(this.s68_1, this.t68_1);
804
- tmp_0.z68_1 = this.r68_1.k67(it);
800
+ var it = this.f68_1.t66(this.g68_1, this.h68_1);
801
+ tmp_0.n68_1 = this.f68_1.x66(it);
805
802
  this.f9_1 = 3;
806
803
  continue $sm;
807
804
  } else {
808
- if (this.y68_1 === 1) {
805
+ if (this.m68_1 === 1) {
809
806
  this.f9_1 = 2;
810
- suspendResult = getRandomOrgCards(this.r68_1, this.s68_1, this.t68_1, this.u68_1, this.v68_1, false, this);
807
+ suspendResult = getRandomOrgCards(this.f68_1, this.g68_1, this.h68_1, this.i68_1, this.j68_1, false, this);
811
808
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
812
809
  return suspendResult;
813
810
  }
814
811
  continue $sm;
815
812
  } else {
816
- if (this.y68_1 === 2) {
813
+ if (this.m68_1 === 2) {
817
814
  this.f9_1 = 1;
818
- suspendResult = getRandomOrgCards(this.r68_1, this.s68_1, this.t68_1, this.u68_1, this.v68_1, true, this);
815
+ suspendResult = getRandomOrgCards(this.f68_1, this.g68_1, this.h68_1, this.i68_1, this.j68_1, true, this);
819
816
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
820
817
  return suspendResult;
821
818
  }
@@ -829,15 +826,15 @@
829
826
 
830
827
  break;
831
828
  case 1:
832
- this.z68_1 = suspendResult;
829
+ this.n68_1 = suspendResult;
833
830
  this.f9_1 = 3;
834
831
  continue $sm;
835
832
  case 2:
836
- this.z68_1 = suspendResult;
833
+ this.n68_1 = suspendResult;
837
834
  this.f9_1 = 3;
838
835
  continue $sm;
839
836
  case 3:
840
- return this.z68_1;
837
+ return this.n68_1;
841
838
  case 4:
842
839
  throw this.i9_1;
843
840
  }
@@ -854,12 +851,12 @@
854
851
  };
855
852
  function $getRandomOrgCardsCOROUTINE$1(_this__u8e3s4, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, resultContinuation) {
856
853
  CoroutineImpl.call(this, resultContinuation);
857
- this.v67_1 = _this__u8e3s4;
858
- this.w67_1 = leftCardIndexForEachSuit;
859
- this.x67_1 = rightCardIndexForEachSuit;
860
- this.y67_1 = approximateRoundsCount;
861
- this.z67_1 = userData;
862
- this.a68_1 = signed;
854
+ this.j67_1 = _this__u8e3s4;
855
+ this.k67_1 = leftCardIndexForEachSuit;
856
+ this.l67_1 = rightCardIndexForEachSuit;
857
+ this.m67_1 = approximateRoundsCount;
858
+ this.n67_1 = userData;
859
+ this.o67_1 = signed;
863
860
  }
864
861
  protoOf($getRandomOrgCardsCOROUTINE$1).n9 = function () {
865
862
  var suspendResult = this.h9_1;
@@ -869,20 +866,11 @@
869
866
  switch (tmp) {
870
867
  case 0:
871
868
  this.g9_1 = 5;
872
- var tmp_0 = this;
873
- var sum = 0;
874
- var tmp0_iterator = get_entries().j();
875
- while (tmp0_iterator.k()) {
876
- var element = tmp0_iterator.l();
877
- var tmp_1 = sum;
878
- sum = tmp_1 + count(getCardsRange(this.v67_1, this.w67_1, this.x67_1)) | 0;
879
- }
880
-
881
- tmp_0.b68_1 = sum;
882
- this.c68_1 = this.v67_1.b69_1;
883
- this.d68_1 = this.b68_1 - 1 | 0;
869
+ this.p67_1 = this.j67_1.a67(this.k67_1, this.l67_1);
870
+ this.q67_1 = this.j67_1.p68_1;
871
+ this.r67_1 = this.p67_1 - 1 | 0;
884
872
  this.f9_1 = 1;
885
- suspendResult = this.c68_1.h5r(this.y67_1, this.z67_1, 0, this.d68_1, this.b68_1, this.a68_1, VOID, this);
873
+ suspendResult = this.q67_1.t5q(this.m67_1, this.n67_1, 0, this.r67_1, this.p67_1, this.o67_1, VOID, this);
886
874
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
887
875
  return suspendResult;
888
876
  }
@@ -890,34 +878,34 @@
890
878
  this.f9_1 = 2;
891
879
  continue $sm;
892
880
  case 1:
893
- this.e68_1 = suspendResult.ek_1;
894
- suspendResult = new Result(this.e68_1);
881
+ this.s67_1 = suspendResult.ek_1;
882
+ suspendResult = new Result(this.s67_1);
895
883
  this.f9_1 = 2;
896
884
  continue $sm;
897
885
  case 2:
898
- this.f68_1 = suspendResult.ek_1;
899
- if (_Result___get_isSuccess__impl__sndoy8(this.f68_1)) {
900
- var tmp_2 = this;
901
- var this_0 = this.f68_1;
886
+ this.t67_1 = suspendResult.ek_1;
887
+ if (_Result___get_isSuccess__impl__sndoy8(this.t67_1)) {
888
+ var tmp_0 = this;
889
+ var this_0 = this.t67_1;
902
890
  throwOnFailure(this_0);
903
- var tmp_3 = _Result___get_value__impl__bjfvqg(this_0);
904
- var tmp14_cards = ((tmp_3 == null ? true : !(tmp_3 == null)) ? tmp_3 : THROW_CCE()).cards;
905
- var this_1 = normalizeCards(this.v67_1, tmp14_cards, this.w67_1);
891
+ var tmp_1 = _Result___get_value__impl__bjfvqg(this_0);
892
+ var tmp14_cards = ((tmp_1 == null ? true : !(tmp_1 == null)) ? tmp_1 : THROW_CCE()).cards;
893
+ var this_1 = normalizeCards(this.j67_1, tmp14_cards, this.k67_1);
906
894
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
907
- var tmp0_iterator_0 = this_1.j();
908
- while (tmp0_iterator_0.k()) {
909
- var item = tmp0_iterator_0.l();
910
- destination.e(Companion_instance.t66(item));
895
+ var tmp0_iterator = this_1.j();
896
+ while (tmp0_iterator.k()) {
897
+ var item = tmp0_iterator.l();
898
+ destination.e(Companion_instance.g66(item));
911
899
  }
912
- tmp_2.g68_1 = destination;
900
+ tmp_0.u67_1 = destination;
913
901
  this.f9_1 = 4;
914
902
  continue $sm;
915
903
  } else {
916
- this.h68_1 = Result__exceptionOrNull_impl_p6xea9(this.f68_1);
917
- var tmp15_safe_receiver = this.h68_1;
918
- this.v67_1.c69_1.v('CardsDealerProvider', 'getRandomOrgCards: ' + (tmp15_safe_receiver == null ? null : tmp15_safe_receiver.message), this.h68_1);
904
+ this.v67_1 = Result__exceptionOrNull_impl_p6xea9(this.t67_1);
905
+ var tmp15_safe_receiver = this.v67_1;
906
+ this.j67_1.q68_1.v('CardsDealerProvider', 'getRandomOrgCards: ' + (tmp15_safe_receiver == null ? null : tmp15_safe_receiver.message), this.v67_1);
919
907
  this.f9_1 = 3;
920
- suspendResult = this.v67_1.h67(this.w67_1, this.x67_1, this.y67_1, this.z67_1, CardsRandomProvider_CUSTOM_getInstance(), this);
908
+ suspendResult = this.j67_1.u66(this.k67_1, this.l67_1, this.m67_1, this.n67_1, CardsRandomProvider_CUSTOM_getInstance(), this);
921
909
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
922
910
  return suspendResult;
923
911
  }
@@ -925,11 +913,11 @@
925
913
  }
926
914
 
927
915
  case 3:
928
- this.g68_1 = suspendResult;
916
+ this.u67_1 = suspendResult;
929
917
  this.f9_1 = 4;
930
918
  continue $sm;
931
919
  case 4:
932
- return this.g68_1;
920
+ return this.u67_1;
933
921
  case 5:
934
922
  throw this.i9_1;
935
923
  }
@@ -945,11 +933,11 @@
945
933
  while (true);
946
934
  };
947
935
  function CardsDealerProviderImpl(random, randomPoolProvider, logger) {
948
- this.a69_1 = random;
949
- this.b69_1 = randomPoolProvider;
950
- this.c69_1 = logger;
936
+ this.o68_1 = random;
937
+ this.p68_1 = randomPoolProvider;
938
+ this.q68_1 = logger;
951
939
  }
952
- protoOf(CardsDealerProviderImpl).g67 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
940
+ protoOf(CardsDealerProviderImpl).t66 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
953
941
  // Inline function 'kotlin.collections.flatMap' call
954
942
  // Inline function 'kotlin.collections.flatMapTo' call
955
943
  var this_0 = get_entries();
@@ -959,7 +947,7 @@
959
947
  var element = tmp0_iterator.l();
960
948
  // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.createNewCardDeck.<anonymous>' call
961
949
  // Inline function 'kotlin.collections.map' call
962
- var this_1 = getCardsRange(this, leftCardIndexForEachSuit, rightCardIndexForEachSuit);
950
+ var this_1 = this.r68(leftCardIndexForEachSuit, rightCardIndexForEachSuit);
963
951
  // Inline function 'kotlin.collections.mapTo' call
964
952
  var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
965
953
  var inductionVariable = this_1.a1_1;
@@ -970,7 +958,7 @@
970
958
  inductionVariable = inductionVariable + 1 | 0;
971
959
  // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.createNewCardDeck.<anonymous>.<anonymous>' call
972
960
  var it = item;
973
- var tmp$ret$0 = Companion_instance.r66(element, it);
961
+ var tmp$ret$0 = Companion_instance.e66(element, it);
974
962
  destination_0.e(tmp$ret$0);
975
963
  }
976
964
  while (!(item === last));
@@ -979,13 +967,28 @@
979
967
  }
980
968
  return destination;
981
969
  };
982
- protoOf(CardsDealerProviderImpl).h67 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
970
+ protoOf(CardsDealerProviderImpl).r68 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
971
+ return until(leftCardIndexForEachSuit, 13 - rightCardIndexForEachSuit | 0);
972
+ };
973
+ protoOf(CardsDealerProviderImpl).a67 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
974
+ // Inline function 'kotlin.collections.sumOf' call
975
+ var sum = 0;
976
+ var tmp0_iterator = get_entries().j();
977
+ while (tmp0_iterator.k()) {
978
+ var element = tmp0_iterator.l();
979
+ var tmp = sum;
980
+ // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.getCardsCount.<anonymous>' call
981
+ sum = tmp + count(this.r68(leftCardIndexForEachSuit, rightCardIndexForEachSuit)) | 0;
982
+ }
983
+ return sum;
984
+ };
985
+ protoOf(CardsDealerProviderImpl).u66 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
983
986
  var tmp = new $createNewShuffledCardDeckCOROUTINE$0(this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion);
984
987
  tmp.h9_1 = Unit_instance;
985
988
  tmp.i9_1 = null;
986
989
  return tmp.n9();
987
990
  };
988
- protoOf(CardsDealerProviderImpl).i67 = function (count, cards) {
991
+ protoOf(CardsDealerProviderImpl).v66 = function (count, cards) {
989
992
  // Inline function 'kotlin.apply' call
990
993
  // Inline function 'kotlin.collections.mutableListOf' call
991
994
  var this_0 = ArrayList_init_$Create$();
@@ -1019,7 +1022,7 @@
1019
1022
  while (tmp0_iterator.k()) {
1020
1023
  var element = tmp0_iterator.l();
1021
1024
  // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.getNRandomUniqueCards.<anonymous>.<anonymous>' call
1022
- if (element.q66() === card.q66()) {
1025
+ if (element.d66() === card.d66()) {
1023
1026
  tmp$ret$2 = true;
1024
1027
  break $l$block_1;
1025
1028
  }
@@ -1034,7 +1037,7 @@
1034
1037
  }
1035
1038
  return this_0;
1036
1039
  };
1037
- protoOf(CardsDealerProviderImpl).j67 = function (cards, times) {
1040
+ protoOf(CardsDealerProviderImpl).w66 = function (cards, times) {
1038
1041
  // Inline function 'kotlin.let' call
1039
1042
  // Inline function 'kotlin.contracts.contract' call
1040
1043
  // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.standardShuffledCards.<anonymous>' call
@@ -1044,57 +1047,60 @@
1044
1047
  do {
1045
1048
  var i = inductionVariable;
1046
1049
  inductionVariable = inductionVariable + 1 | 0;
1047
- shuffled = this.a69_1.m5w(shuffled);
1050
+ shuffled = this.o68_1.z5v(shuffled);
1048
1051
  }
1049
1052
  while (inductionVariable < times);
1050
1053
  return shuffled;
1051
1054
  };
1052
- protoOf(CardsDealerProviderImpl).l67 = function (cards, times) {
1053
- return toList(overhand(riffle(toMutableList(cards), times, this.a69_1), times, this.a69_1));
1055
+ protoOf(CardsDealerProviderImpl).y66 = function (cards, times) {
1056
+ return toList(overhand(riffle(toMutableList(cards), times, this.o68_1), times, this.o68_1));
1054
1057
  };
1055
1058
  function Companion_3() {
1056
1059
  }
1057
- protoOf(Companion_3).d69 = function () {
1060
+ protoOf(Companion_3).s68 = function () {
1058
1061
  // Inline function 'kotlin.apply' call
1059
1062
  // Inline function 'kotlin.collections.mutableListOf' call
1060
1063
  var this_0 = ArrayList_init_$Create$();
1061
1064
  // Inline function 'kotlin.contracts.contract' call
1062
1065
  // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.Companion.getCards.<anonymous>' call
1063
- this_0.n(listOf([Companion_instance.s66(Suit_DIAMOND_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.s66(Suit_CLUB_getInstance(), CardName_NINE_getInstance()), Companion_instance.s66(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.s66(Suit_CLUB_getInstance(), CardName_TEN_getInstance()), Companion_instance.s66(Suit_HEART_getInstance(), CardName_JACK_getInstance()), Companion_instance.s66(Suit_HEART_getInstance(), CardName_KING_getInstance())]));
1064
- this_0.n(listOf([Companion_instance.s66(Suit_CLUB_getInstance(), CardName_JACK_getInstance()), Companion_instance.s66(Suit_SPADE_getInstance(), CardName_ACE_getInstance()), Companion_instance.s66(Suit_DIAMOND_getInstance(), CardName_NINE_getInstance()), Companion_instance.s66(Suit_DIAMOND_getInstance(), CardName_TEN_getInstance()), Companion_instance.s66(Suit_DIAMOND_getInstance(), CardName_JACK_getInstance()), Companion_instance.s66(Suit_HEART_getInstance(), CardName_EIGHT_getInstance())]));
1065
- this_0.n(listOf([Companion_instance.s66(Suit_CLUB_getInstance(), CardName_DAME_getInstance()), Companion_instance.s66(Suit_HEART_getInstance(), CardName_ACE_getInstance()), Companion_instance.s66(Suit_HEART_getInstance(), CardName_DAME_getInstance()), Companion_instance.s66(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.s66(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.s66(Suit_CLUB_getInstance(), CardName_KING_getInstance())]));
1066
- this_0.n(listOf([Companion_instance.s66(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.s66(Suit_SPADE_getInstance(), CardName_TEN_getInstance()), Companion_instance.s66(Suit_HEART_getInstance(), CardName_TEN_getInstance()), Companion_instance.s66(Suit_SPADE_getInstance(), CardName_JACK_getInstance()), Companion_instance.s66(Suit_DIAMOND_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.s66(Suit_SPADE_getInstance(), CardName_DAME_getInstance())]));
1067
- this_0.n(listOf([Companion_instance.s66(Suit_DIAMOND_getInstance(), CardName_ACE_getInstance()), Companion_instance.s66(Suit_CLUB_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.s66(Suit_DIAMOND_getInstance(), CardName_KING_getInstance()), Companion_instance.s66(Suit_SPADE_getInstance(), CardName_NINE_getInstance()), Companion_instance.s66(Suit_CLUB_getInstance(), CardName_ACE_getInstance()), Companion_instance.s66(Suit_SPADE_getInstance(), CardName_KING_getInstance()), Companion_instance.s66(Suit_DIAMOND_getInstance(), CardName_DAME_getInstance()), Companion_instance.s66(Suit_HEART_getInstance(), CardName_NINE_getInstance())]));
1066
+ this_0.n(listOf([Companion_instance.f66(Suit_DIAMOND_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.f66(Suit_CLUB_getInstance(), CardName_NINE_getInstance()), Companion_instance.f66(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.f66(Suit_CLUB_getInstance(), CardName_TEN_getInstance()), Companion_instance.f66(Suit_HEART_getInstance(), CardName_JACK_getInstance()), Companion_instance.f66(Suit_HEART_getInstance(), CardName_KING_getInstance())]));
1067
+ this_0.n(listOf([Companion_instance.f66(Suit_CLUB_getInstance(), CardName_JACK_getInstance()), Companion_instance.f66(Suit_SPADE_getInstance(), CardName_ACE_getInstance()), Companion_instance.f66(Suit_DIAMOND_getInstance(), CardName_NINE_getInstance()), Companion_instance.f66(Suit_DIAMOND_getInstance(), CardName_TEN_getInstance()), Companion_instance.f66(Suit_DIAMOND_getInstance(), CardName_JACK_getInstance()), Companion_instance.f66(Suit_HEART_getInstance(), CardName_EIGHT_getInstance())]));
1068
+ this_0.n(listOf([Companion_instance.f66(Suit_CLUB_getInstance(), CardName_DAME_getInstance()), Companion_instance.f66(Suit_HEART_getInstance(), CardName_ACE_getInstance()), Companion_instance.f66(Suit_HEART_getInstance(), CardName_DAME_getInstance()), Companion_instance.f66(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.f66(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.f66(Suit_CLUB_getInstance(), CardName_KING_getInstance())]));
1069
+ this_0.n(listOf([Companion_instance.f66(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.f66(Suit_SPADE_getInstance(), CardName_TEN_getInstance()), Companion_instance.f66(Suit_HEART_getInstance(), CardName_TEN_getInstance()), Companion_instance.f66(Suit_SPADE_getInstance(), CardName_JACK_getInstance()), Companion_instance.f66(Suit_DIAMOND_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.f66(Suit_SPADE_getInstance(), CardName_DAME_getInstance())]));
1070
+ this_0.n(listOf([Companion_instance.f66(Suit_DIAMOND_getInstance(), CardName_ACE_getInstance()), Companion_instance.f66(Suit_CLUB_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.f66(Suit_DIAMOND_getInstance(), CardName_KING_getInstance()), Companion_instance.f66(Suit_SPADE_getInstance(), CardName_NINE_getInstance()), Companion_instance.f66(Suit_CLUB_getInstance(), CardName_ACE_getInstance()), Companion_instance.f66(Suit_SPADE_getInstance(), CardName_KING_getInstance()), Companion_instance.f66(Suit_DIAMOND_getInstance(), CardName_DAME_getInstance()), Companion_instance.f66(Suit_HEART_getInstance(), CardName_NINE_getInstance())]));
1068
1071
  return this_0;
1069
1072
  };
1070
- protoOf(Companion_3).e69 = function () {
1071
- return listOf([Companion_instance.s66(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.s66(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.s66(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.s66(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance())]);
1073
+ protoOf(Companion_3).t68 = function () {
1074
+ return listOf([Companion_instance.f66(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.f66(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.f66(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.f66(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance())]);
1072
1075
  };
1073
1076
  var Companion_instance_3;
1074
1077
  function Companion_getInstance_3() {
1075
1078
  return Companion_instance_3;
1076
1079
  }
1077
1080
  function FakeCardsDealerProvider(cards, cardsForLot) {
1078
- cards = cards === VOID ? Companion_instance_3.d69() : cards;
1079
- cardsForLot = cardsForLot === VOID ? Companion_instance_3.e69() : cardsForLot;
1080
- this.f69_1 = cards;
1081
- this.g69_1 = cardsForLot;
1081
+ cards = cards === VOID ? Companion_instance_3.s68() : cards;
1082
+ cardsForLot = cardsForLot === VOID ? Companion_instance_3.t68() : cardsForLot;
1083
+ this.u68_1 = cards;
1084
+ this.v68_1 = cardsForLot;
1082
1085
  }
1083
- protoOf(FakeCardsDealerProvider).g67 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
1084
- return this.f69_1;
1086
+ protoOf(FakeCardsDealerProvider).t66 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
1087
+ return this.u68_1;
1085
1088
  };
1086
- protoOf(FakeCardsDealerProvider).h67 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
1087
- return this.f69_1;
1089
+ protoOf(FakeCardsDealerProvider).u66 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
1090
+ return this.u68_1;
1088
1091
  };
1089
- protoOf(FakeCardsDealerProvider).i67 = function (count, cards) {
1090
- return this.g69_1;
1092
+ protoOf(FakeCardsDealerProvider).v66 = function (count, cards) {
1093
+ return this.v68_1;
1091
1094
  };
1092
- protoOf(FakeCardsDealerProvider).j67 = function (cards, times) {
1095
+ protoOf(FakeCardsDealerProvider).w66 = function (cards, times) {
1093
1096
  return cards;
1094
1097
  };
1095
- protoOf(FakeCardsDealerProvider).l67 = function (cards, times) {
1098
+ protoOf(FakeCardsDealerProvider).y66 = function (cards, times) {
1096
1099
  return cards;
1097
1100
  };
1101
+ protoOf(FakeCardsDealerProvider).a67 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
1102
+ return this.u68_1.m();
1103
+ };
1098
1104
  function CombinationsCheckerProvider() {
1099
1105
  }
1100
1106
  function createCombination($this, cards, supportedCombinations) {
@@ -1121,16 +1127,16 @@
1121
1127
  return takeLast(cards, longestCombinationSupport);
1122
1128
  }
1123
1129
  function sam$kotlin_Comparator$0(function_0) {
1124
- this.m69_1 = function_0;
1130
+ this.b69_1 = function_0;
1125
1131
  }
1126
1132
  protoOf(sam$kotlin_Comparator$0).nc = function (a, b) {
1127
- return this.m69_1(a, b);
1133
+ return this.b69_1(a, b);
1128
1134
  };
1129
1135
  protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
1130
1136
  return this.nc(a, b);
1131
1137
  };
1132
1138
  protoOf(sam$kotlin_Comparator$0).p3 = function () {
1133
- return this.m69_1;
1139
+ return this.b69_1;
1134
1140
  };
1135
1141
  protoOf(sam$kotlin_Comparator$0).equals = function (other) {
1136
1142
  var tmp;
@@ -1153,14 +1159,14 @@
1153
1159
  function CombinationsCheckerProviderImpl$createCombinationsFromCardsInRow$lambda(a, b) {
1154
1160
  // Inline function 'kotlin.comparisons.compareValuesBy' call
1155
1161
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
1156
- var tmp = first_0(a).p66_1;
1162
+ var tmp = first_0(a).c66_1;
1157
1163
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
1158
- var tmp$ret$1 = first_0(b).p66_1;
1164
+ var tmp$ret$1 = first_0(b).c66_1;
1159
1165
  return compareValues(tmp, tmp$ret$1);
1160
1166
  }
1161
1167
  function CombinationsCheckerProviderImpl() {
1162
1168
  }
1163
- protoOf(CombinationsCheckerProviderImpl).h69 = function (cards, supportedCombinations, checkFromIndex, includeCardNames, suit) {
1169
+ protoOf(CombinationsCheckerProviderImpl).w68 = function (cards, supportedCombinations, checkFromIndex, includeCardNames, suit) {
1164
1170
  // Inline function 'kotlin.collections.filter' call
1165
1171
  // Inline function 'kotlin.apply' call
1166
1172
  var this_0 = toMutableList(cards);
@@ -1173,7 +1179,7 @@
1173
1179
  while (tmp0_iterator.k()) {
1174
1180
  var element = tmp0_iterator.l();
1175
1181
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findCardsInRowCombinations.<anonymous>' call
1176
- if (element.e67()) {
1182
+ if (element.r66()) {
1177
1183
  destination.e(element);
1178
1184
  }
1179
1185
  }
@@ -1190,14 +1196,14 @@
1190
1196
  inductionVariable = inductionVariable + 1 | 0;
1191
1197
  var previousCard = lastOrNull(combinationCards);
1192
1198
  var currentCard = sortedByIndexCards.o(i);
1193
- var isNextInRow = !(previousCard == null) && currentCard.p66_1 === (previousCard.p66_1 + 1 | 0) && currentCard.d67().equals(previousCard.d67());
1199
+ var isNextInRow = !(previousCard == null) && currentCard.c66_1 === (previousCard.c66_1 + 1 | 0) && currentCard.q66().equals(previousCard.q66());
1194
1200
  var passedCardNamesCheck = includeCardNames == null || includeCardNames.s1(currentCard.p2());
1195
- var passedSuitCheck = suit == null || currentCard.d67().equals(suit);
1201
+ var passedSuitCheck = suit == null || currentCard.q66().equals(suit);
1196
1202
  if (isNextInRow && passedSuitCheck && passedCardNamesCheck) {
1197
1203
  combinationCards.e(currentCard);
1198
1204
  } else {
1199
1205
  if (combinationCards.m() > (checkFromIndex - 1 | 0)) {
1200
- combinations.n(this.l69(toMutableList(combinationCards), supportedCombinations));
1206
+ combinations.n(this.a69(toMutableList(combinationCards), supportedCombinations));
1201
1207
  }
1202
1208
  combinationCards.a2();
1203
1209
  if (passedSuitCheck && passedCardNamesCheck) {
@@ -1207,11 +1213,11 @@
1207
1213
  }
1208
1214
  while (inductionVariable <= last);
1209
1215
  if (combinationCards.m() > (checkFromIndex - 1 | 0)) {
1210
- combinations.n(this.l69(toMutableList(combinationCards), supportedCombinations));
1216
+ combinations.n(this.a69(toMutableList(combinationCards), supportedCombinations));
1211
1217
  }
1212
1218
  return combinations;
1213
1219
  };
1214
- protoOf(CombinationsCheckerProviderImpl).j69 = function (cards, cardsCount, includeCardNames) {
1220
+ protoOf(CombinationsCheckerProviderImpl).y68 = function (cards, cardsCount, includeCardNames) {
1215
1221
  // Inline function 'kotlin.collections.filter' call
1216
1222
  // Inline function 'kotlin.collections.filter' call
1217
1223
  // Inline function 'kotlin.apply' call
@@ -1225,7 +1231,7 @@
1225
1231
  while (tmp0_iterator.k()) {
1226
1232
  var element = tmp0_iterator.l();
1227
1233
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
1228
- if (element.e67()) {
1234
+ if (element.r66()) {
1229
1235
  destination.e(element);
1230
1236
  }
1231
1237
  }
@@ -1248,7 +1254,7 @@
1248
1254
  while (tmp0_iterator_1.k()) {
1249
1255
  var element_1 = tmp0_iterator_1.l();
1250
1256
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
1251
- var key = element_1.q66();
1257
+ var key = element_1.d66();
1252
1258
  // Inline function 'kotlin.collections.getOrPut' call
1253
1259
  var value = destination_1.h2(key);
1254
1260
  var tmp;
@@ -1287,7 +1293,7 @@
1287
1293
  }
1288
1294
  return destination_3;
1289
1295
  };
1290
- protoOf(CombinationsCheckerProviderImpl).l69 = function (cards, supportedCombinations) {
1296
+ protoOf(CombinationsCheckerProviderImpl).a69 = function (cards, supportedCombinations) {
1291
1297
  // Inline function 'kotlin.collections.minOf' call
1292
1298
  var iterator = supportedCombinations.j();
1293
1299
  if (!iterator.k())
@@ -1317,28 +1323,28 @@
1317
1323
  return sortedWith(combinations, tmp$ret$4);
1318
1324
  };
1319
1325
  function DealerReducerImpl(logger, enableLogs) {
1320
- this.n69_1 = logger;
1321
- this.o69_1 = enableLogs;
1326
+ this.c69_1 = logger;
1327
+ this.d69_1 = enableLogs;
1322
1328
  }
1323
- protoOf(DealerReducerImpl).p69 = function (cards, cardsToRemove) {
1329
+ protoOf(DealerReducerImpl).e69 = function (cards, cardsToRemove) {
1324
1330
  var list = cards;
1325
1331
  var _iterator__ex2g4s = cardsToRemove.j();
1326
1332
  while (_iterator__ex2g4s.k()) {
1327
1333
  var gameCard = _iterator__ex2g4s.l();
1328
- list = this.q69(list, gameCard);
1334
+ list = this.f69(list, gameCard);
1329
1335
  }
1330
1336
  return list;
1331
1337
  };
1332
- protoOf(DealerReducerImpl).q69 = function (cards, cardToRemove) {
1338
+ protoOf(DealerReducerImpl).f69 = function (cards, cardToRemove) {
1333
1339
  var tmp;
1334
- if (!cardToRemove.v66() && cards.s1(cardToRemove)) {
1335
- if (this.o69_1) {
1336
- this.n69_1.d('Dealer', 'Card removed: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1340
+ if (!cardToRemove.i66() && cards.s1(cardToRemove)) {
1341
+ if (this.d69_1) {
1342
+ this.c69_1.d('Dealer', 'Card removed: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1337
1343
  }
1338
1344
  tmp = minus(cards, cardToRemove);
1339
1345
  } else {
1340
- if (this.o69_1) {
1341
- this.n69_1.d('Dealer', 'Card removed as stub: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1346
+ if (this.d69_1) {
1347
+ this.c69_1.d('Dealer', 'Card removed as stub: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1342
1348
  }
1343
1349
  // Inline function 'kotlin.collections.filterNot' call
1344
1350
  // Inline function 'kotlin.collections.filterNotTo' call
@@ -1347,7 +1353,7 @@
1347
1353
  while (tmp0_iterator.k()) {
1348
1354
  var element = tmp0_iterator.l();
1349
1355
  // Inline function 'io.raspberryapps.card_game.core.domain.dealer.DealerReducerImpl.removeCard.<anonymous>' call
1350
- if (!element.v66()) {
1356
+ if (!element.i66()) {
1351
1357
  destination.e(element);
1352
1358
  }
1353
1359
  }
@@ -1359,36 +1365,36 @@
1359
1365
  while (tmp0_iterator_0.k()) {
1360
1366
  var element_0 = tmp0_iterator_0.l();
1361
1367
  // Inline function 'io.raspberryapps.card_game.core.domain.dealer.DealerReducerImpl.removeCard.<anonymous>' call
1362
- if (element_0.v66()) {
1368
+ if (element_0.i66()) {
1363
1369
  destination_0.e(element_0);
1364
1370
  }
1365
1371
  }
1366
1372
  var stubCards = destination_0;
1367
1373
  if (stubCards.p()) {
1368
- this.n69_1.w('Dealer', "Can't find card to delete for player, " + ('cards:' + toString(cards) + ', ') + ('cardToRemove: ' + cardToRemove.toString()));
1374
+ this.c69_1.w('Dealer', "Can't find card to delete for player, " + ('cards:' + toString(cards) + ', ') + ('cardToRemove: ' + cardToRemove.toString()));
1369
1375
  }
1370
1376
  tmp = plus(notStubCards, dropLast(stubCards, 1));
1371
1377
  }
1372
1378
  return tmp;
1373
1379
  };
1374
- protoOf(DealerReducerImpl).r69 = function (cards, cardToAdd) {
1375
- if (this.o69_1) {
1376
- this.n69_1.d('Dealer', 'Card added: ' + cardToAdd.toString() + ', size: ' + (cards.m() + 1 | 0));
1380
+ protoOf(DealerReducerImpl).g69 = function (cards, cardToAdd) {
1381
+ if (this.d69_1) {
1382
+ this.c69_1.d('Dealer', 'Card added: ' + cardToAdd.toString() + ', size: ' + (cards.m() + 1 | 0));
1377
1383
  }
1378
1384
  if (cards.s1(cardToAdd)) {
1379
- this.n69_1.w('Dealer', 'Card already exists for player, ' + ('cards:' + toString(cards) + ', ') + ('cardToAdd: ' + cardToAdd.toString()));
1385
+ this.c69_1.w('Dealer', 'Card already exists for player, ' + ('cards:' + toString(cards) + ', ') + ('cardToAdd: ' + cardToAdd.toString()));
1380
1386
  }
1381
1387
  return plus_0(cards, cardToAdd);
1382
1388
  };
1383
1389
  function DealerReducer() {
1384
1390
  }
1385
1391
  //region block: post-declaration
1386
- protoOf(CardsDealerProviderImpl).k67 = standardShuffledCards$default;
1387
- protoOf(CardsDealerProviderImpl).m67 = realLifeShuffledCards$default;
1388
- protoOf(FakeCardsDealerProvider).k67 = standardShuffledCards$default;
1389
- protoOf(FakeCardsDealerProvider).m67 = realLifeShuffledCards$default;
1390
- protoOf(CombinationsCheckerProviderImpl).i69 = findCardsInRowCombinations$default;
1391
- protoOf(CombinationsCheckerProviderImpl).k69 = findSameCardsNumberCombinations$default;
1392
+ protoOf(CardsDealerProviderImpl).x66 = standardShuffledCards$default;
1393
+ protoOf(CardsDealerProviderImpl).z66 = realLifeShuffledCards$default;
1394
+ protoOf(FakeCardsDealerProvider).x66 = standardShuffledCards$default;
1395
+ protoOf(FakeCardsDealerProvider).z66 = realLifeShuffledCards$default;
1396
+ protoOf(CombinationsCheckerProviderImpl).x68 = findCardsInRowCombinations$default;
1397
+ protoOf(CombinationsCheckerProviderImpl).z68 = findSameCardsNumberCombinations$default;
1392
1398
  //endregion
1393
1399
  //region block: init
1394
1400
  CoreConfig_instance = new CoreConfig();