game_client_logic_deb 1.8.117 → 1.8.144

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.
@@ -16,47 +16,50 @@
16
16
  'use strict';
17
17
  //region block: imports
18
18
  var imul = Math.imul;
19
- var protoOf = kotlin_kotlin.$_$.gb;
20
- var initMetadataForObject = kotlin_kotlin.$_$.oa;
21
- var defineProp = kotlin_kotlin.$_$.ba;
19
+ var protoOf = kotlin_kotlin.$_$.hb;
20
+ var initMetadataForObject = kotlin_kotlin.$_$.pa;
21
+ var defineProp = kotlin_kotlin.$_$.ca;
22
22
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.m;
23
- var Unit_instance = kotlin_kotlin.$_$.z4;
24
- var THROW_CCE = kotlin_kotlin.$_$.ee;
25
- var Comparator = kotlin_kotlin.$_$.qd;
23
+ var Unit_instance = kotlin_kotlin.$_$.a5;
24
+ var THROW_CCE = kotlin_kotlin.$_$.fe;
25
+ var Comparator = kotlin_kotlin.$_$.rd;
26
26
  var VOID = kotlin_kotlin.$_$.f;
27
- var take = kotlin_kotlin.$_$.l8;
28
- var toList = kotlin_kotlin.$_$.o8;
29
- var takeLast = kotlin_kotlin.$_$.k8;
30
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.bf;
31
- var initMetadataForCompanion = kotlin_kotlin.$_$.ka;
27
+ var take = kotlin_kotlin.$_$.m8;
28
+ var toList = kotlin_kotlin.$_$.p8;
29
+ var takeLast = kotlin_kotlin.$_$.l8;
30
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.cf;
31
+ var initMetadataForCompanion = kotlin_kotlin.$_$.la;
32
32
  var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.q1;
33
- var Enum = kotlin_kotlin.$_$.td;
34
- var initMetadataForClass = kotlin_kotlin.$_$.ja;
33
+ var Enum = kotlin_kotlin.$_$.ud;
34
+ var initMetadataForClass = kotlin_kotlin.$_$.ka;
35
35
  var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b2;
36
36
  var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.j;
37
- var lazy = kotlin_kotlin.$_$.ze;
37
+ var lazy = kotlin_kotlin.$_$.af;
38
38
  var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z1;
39
- var enumEntries = kotlin_kotlin.$_$.q9;
40
- var initMetadataForInterface = kotlin_kotlin.$_$.ma;
41
- var first = kotlin_kotlin.$_$.w6;
42
- var sorted = kotlin_kotlin.$_$.i8;
43
- var asReversed = kotlin_kotlin.$_$.t5;
39
+ var enumEntries = kotlin_kotlin.$_$.r9;
40
+ var initMetadataForInterface = kotlin_kotlin.$_$.na;
41
+ var first = kotlin_kotlin.$_$.x6;
42
+ var sorted = kotlin_kotlin.$_$.j8;
43
+ var asReversed = kotlin_kotlin.$_$.u5;
44
44
  var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.v1;
45
- var sortedWith = kotlin_kotlin.$_$.h8;
46
- var lastOrNull = kotlin_kotlin.$_$.k7;
47
- var toMutableList = kotlin_kotlin.$_$.r8;
45
+ var sortedWith = kotlin_kotlin.$_$.i8;
46
+ var lastOrNull = kotlin_kotlin.$_$.l7;
47
+ var toMutableList = kotlin_kotlin.$_$.s8;
48
+ var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.v;
49
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.y5;
50
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.l;
48
51
  var NoSuchElementException_init_$Create$_0 = kotlin_kotlin.$_$.t1;
49
- var compareTo = kotlin_kotlin.$_$.aa;
50
- var toString = kotlin_kotlin.$_$.kb;
51
- var dropLast = kotlin_kotlin.$_$.o6;
52
- var plus = kotlin_kotlin.$_$.z7;
53
- var minus = kotlin_kotlin.$_$.u7;
54
- var plus_0 = kotlin_kotlin.$_$.a8;
55
- var mutableListOf = kotlin_kotlin.$_$.v7;
56
- var printStackTrace = kotlin_kotlin.$_$.df;
57
- var isBlank = kotlin_kotlin.$_$.kc;
58
- var stackTraceToString = kotlin_kotlin.$_$.ef;
59
- var toString_0 = kotlin_kotlin.$_$.gf;
52
+ var compareTo = kotlin_kotlin.$_$.ba;
53
+ var toString = kotlin_kotlin.$_$.lb;
54
+ var dropLast = kotlin_kotlin.$_$.p6;
55
+ var plus = kotlin_kotlin.$_$.a8;
56
+ var minus = kotlin_kotlin.$_$.v7;
57
+ var plus_0 = kotlin_kotlin.$_$.b8;
58
+ var mutableListOf = kotlin_kotlin.$_$.w7;
59
+ var printStackTrace = kotlin_kotlin.$_$.ef;
60
+ var isBlank = kotlin_kotlin.$_$.lc;
61
+ var stackTraceToString = kotlin_kotlin.$_$.ff;
62
+ var toString_0 = kotlin_kotlin.$_$.hf;
60
63
  //endregion
61
64
  //region block: pre-declaration
62
65
  initMetadataForObject(CoreConfig, 'CoreConfig');
@@ -70,14 +73,19 @@
70
73
  initMetadataForClass(Suit, 'Suit', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_1});
71
74
  function standardShuffledCards$default(cards, times, $super) {
72
75
  times = times === VOID ? 3 : times;
73
- return $super === VOID ? this.r2m(cards, times) : $super.r2m.call(this, cards, times);
76
+ return $super === VOID ? this.s2m(cards, times) : $super.s2m.call(this, cards, times);
74
77
  }
75
78
  initMetadataForInterface(CardsDealerProvider, 'CardsDealerProvider');
76
79
  function findCardsInRowCombinations$default(cards, supportedCombinations, checkFromIndex, includeCardNames, suit, $super) {
77
80
  checkFromIndex = checkFromIndex === VOID ? first(supportedCombinations) : checkFromIndex;
78
81
  includeCardNames = includeCardNames === VOID ? null : includeCardNames;
79
82
  suit = suit === VOID ? null : suit;
80
- return $super === VOID ? this.t2m(cards, supportedCombinations, checkFromIndex, includeCardNames, suit) : $super.t2m.call(this, cards, supportedCombinations, checkFromIndex, includeCardNames, suit);
83
+ return $super === VOID ? this.u2m(cards, supportedCombinations, checkFromIndex, includeCardNames, suit) : $super.u2m.call(this, cards, supportedCombinations, checkFromIndex, includeCardNames, suit);
84
+ }
85
+ function findSameCardsNumberCombinations$default(cards, cardsCount, includeCardNames, $super) {
86
+ cardsCount = cardsCount === VOID ? 4 : cardsCount;
87
+ includeCardNames = includeCardNames === VOID ? null : includeCardNames;
88
+ return $super === VOID ? this.w2m(cards, cardsCount, includeCardNames) : $super.w2m.call(this, cards, cardsCount, includeCardNames);
81
89
  }
82
90
  initMetadataForInterface(CombinationsCheckerProvider, 'CombinationsCheckerProvider');
83
91
  initMetadataForClass(CombinationsCheckerProviderImpl, 'CombinationsCheckerProviderImpl', CombinationsCheckerProviderImpl, VOID, [CombinationsCheckerProvider]);
@@ -87,21 +95,33 @@
87
95
  function d(tag, message, payload, $super) {
88
96
  tag = tag === VOID ? null : tag;
89
97
  payload = payload === VOID ? null : payload;
90
- return this.e2n(tag, message, payload);
98
+ return this.h2n(tag, message, payload);
91
99
  }
92
100
  function e(tag, message, exception, payload, $super) {
93
101
  tag = tag === VOID ? null : tag;
94
102
  message = message === VOID ? null : message;
95
103
  exception = exception === VOID ? null : exception;
96
104
  payload = payload === VOID ? null : payload;
97
- return this.f2n(tag, message, exception, payload);
105
+ return this.i2n(tag, message, exception, payload);
98
106
  }
99
107
  function w(tag, message, exception, payload, $super) {
100
108
  tag = tag === VOID ? null : tag;
101
109
  message = message === VOID ? null : message;
102
110
  exception = exception === VOID ? null : exception;
103
111
  payload = payload === VOID ? null : payload;
104
- return this.g2n(tag, message, exception, payload);
112
+ return this.j2n(tag, message, exception, payload);
113
+ }
114
+ function v(tag, message, exception, payload, $super) {
115
+ tag = tag === VOID ? null : tag;
116
+ message = message === VOID ? null : message;
117
+ exception = exception === VOID ? null : exception;
118
+ payload = payload === VOID ? null : payload;
119
+ return this.k2n(tag, message, exception, payload);
120
+ }
121
+ function i(tag, message, payload, $super) {
122
+ tag = tag === VOID ? null : tag;
123
+ payload = payload === VOID ? null : payload;
124
+ return this.l2n(tag, message, payload);
105
125
  }
106
126
  initMetadataForInterface(LoggerOutput, 'LoggerOutput');
107
127
  initMetadataForInterface(RaspberryLogger, 'RaspberryLogger', VOID, VOID, [LoggerOutput]);
@@ -115,9 +135,9 @@
115
135
  initMetadataForClass(PlatformLogger, 'PlatformLogger', PlatformLogger);
116
136
  //endregion
117
137
  function CoreConfig() {
118
- this.version = '0.0.19';
138
+ this.version = '0.0.22';
119
139
  }
120
- protoOf(CoreConfig).z2l = function () {
140
+ protoOf(CoreConfig).a2m = function () {
121
141
  return this.version;
122
142
  };
123
143
  var CoreConfig_instance;
@@ -140,12 +160,12 @@
140
160
  }
141
161
  function CardNumberComparator() {
142
162
  }
143
- protoOf(CardNumberComparator).a2m = function (a, b) {
144
- return b.c2m() - a.c2m() | 0;
163
+ protoOf(CardNumberComparator).b2m = function (a, b) {
164
+ return b.d2m() - a.d2m() | 0;
145
165
  };
146
166
  protoOf(CardNumberComparator).compare = function (a, b) {
147
167
  var tmp = a instanceof GameCard ? a : THROW_CCE();
148
- return this.a2m(tmp, b instanceof GameCard ? b : THROW_CCE());
168
+ return this.b2m(tmp, b instanceof GameCard ? b : THROW_CCE());
149
169
  };
150
170
  var CardNumberComparator_instance;
151
171
  function CardNumberComparator_getInstance() {
@@ -153,12 +173,12 @@
153
173
  }
154
174
  function CardIndexComparator() {
155
175
  }
156
- protoOf(CardIndexComparator).a2m = function (a, b) {
157
- return a.b2m_1 - b.b2m_1 | 0;
176
+ protoOf(CardIndexComparator).b2m = function (a, b) {
177
+ return a.c2m_1 - b.c2m_1 | 0;
158
178
  };
159
179
  protoOf(CardIndexComparator).compare = function (a, b) {
160
180
  var tmp = a instanceof GameCard ? a : THROW_CCE();
161
- return this.a2m(tmp, b instanceof GameCard ? b : THROW_CCE());
181
+ return this.b2m(tmp, b instanceof GameCard ? b : THROW_CCE());
162
182
  };
163
183
  var CardIndexComparator_instance;
164
184
  function CardIndexComparator_getInstance() {
@@ -286,10 +306,10 @@
286
306
  }
287
307
  function Companion() {
288
308
  }
289
- protoOf(Companion).d2m = function (suit, cardNumber) {
309
+ protoOf(Companion).e2m = function (suit, cardNumber) {
290
310
  return new GameCard(getNumber(Companion_instance_0, cardNumber, suit));
291
311
  };
292
- protoOf(Companion).e2m = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
312
+ protoOf(Companion).f2m = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
293
313
  var tmp;
294
314
  if (previousStubCardWithMaxIndex == null) {
295
315
  tmp = null;
@@ -298,7 +318,7 @@
298
318
  // Inline function 'kotlin.contracts.contract' call
299
319
  var tmp_0;
300
320
  // Inline function 'io.raspberryapps.card_game.core.data.models.cards.Companion.createUniqueStub.<anonymous>' call
301
- if (previousStubCardWithMaxIndex.f2m()) {
321
+ if (previousStubCardWithMaxIndex.g2m()) {
302
322
  tmp_0 = previousStubCardWithMaxIndex;
303
323
  } else {
304
324
  tmp_0 = null;
@@ -306,8 +326,8 @@
306
326
  tmp = tmp_0;
307
327
  }
308
328
  var tmp1_safe_receiver = tmp;
309
- var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.b2m_1;
310
- var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_instance_0.k2m(tmp2_safe_receiver, playerIndex, reverse);
329
+ var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.c2m_1;
330
+ var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_instance_0.l2m(tmp2_safe_receiver, playerIndex, reverse);
311
331
  var tmp_1;
312
332
  if (tmp3_safe_receiver == null) {
313
333
  tmp_1 = null;
@@ -328,10 +348,10 @@
328
348
  var index = tmp_2;
329
349
  return new GameCard(index);
330
350
  };
331
- protoOf(Companion).l2m = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $super) {
351
+ protoOf(Companion).m2m = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $super) {
332
352
  previousStubCardWithMaxIndex = previousStubCardWithMaxIndex === VOID ? null : previousStubCardWithMaxIndex;
333
353
  reverse = reverse === VOID ? false : reverse;
334
- return $super === VOID ? this.e2m(position, playerIndex, previousStubCardWithMaxIndex, reverse) : $super.e2m.call(this, position, playerIndex, previousStubCardWithMaxIndex, reverse);
354
+ return $super === VOID ? this.f2m(position, playerIndex, previousStubCardWithMaxIndex, reverse) : $super.f2m.call(this, position, playerIndex, previousStubCardWithMaxIndex, reverse);
335
355
  };
336
356
  var Companion_instance;
337
357
  function Companion_getInstance() {
@@ -435,7 +455,7 @@
435
455
  return tmp;
436
456
  }
437
457
  function _get_isShirt__vd98rp($this) {
438
- return $this.b2m_1 === 52;
458
+ return $this.c2m_1 === 52;
439
459
  }
440
460
  function CardName(name, ordinal) {
441
461
  Enum.call(this, name, ordinal);
@@ -444,12 +464,12 @@
444
464
  return getShortName(this);
445
465
  };
446
466
  function Companion_0() {
447
- this.g2m_1 = -1;
448
- this.h2m_1 = 13;
449
- this.i2m_1 = 52;
450
- this.j2m_1 = 53;
467
+ this.h2m_1 = -1;
468
+ this.i2m_1 = 13;
469
+ this.j2m_1 = 52;
470
+ this.k2m_1 = 53;
451
471
  }
452
- protoOf(Companion_0).k2m = function (_this__u8e3s4, playerIndex, reverse) {
472
+ protoOf(Companion_0).l2m = function (_this__u8e3s4, playerIndex, reverse) {
453
473
  var tmp;
454
474
  if (reverse) {
455
475
  tmp = _this__u8e3s4 + (53 + imul(playerIndex, 14) | 0) | 0;
@@ -519,59 +539,59 @@
519
539
  return CardName_STUB_instance;
520
540
  }
521
541
  function GameCard(index) {
522
- this.b2m_1 = index;
542
+ this.c2m_1 = index;
523
543
  }
524
- protoOf(GameCard).m2m = function () {
544
+ protoOf(GameCard).n2m = function () {
525
545
  var tmp;
526
- var containsArg = this.b2m_1;
546
+ var containsArg = this.c2m_1;
527
547
  if (0 <= containsArg ? containsArg <= 13 : false) {
528
548
  tmp = Suit_DIAMOND_getInstance();
529
549
  } else {
530
- if (this.b2m_1 <= 26) {
550
+ if (this.c2m_1 <= 26) {
531
551
  tmp = Suit_SPADE_getInstance();
532
552
  } else {
533
- if (this.b2m_1 <= 39) {
553
+ if (this.c2m_1 <= 39) {
534
554
  tmp = Suit_HEART_getInstance();
535
555
  } else {
536
- if (this.b2m_1 <= 52) {
556
+ if (this.c2m_1 <= 52) {
537
557
  tmp = Suit_CLUB_getInstance();
538
558
  } else {
539
- throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.b2m_1);
559
+ throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.c2m_1);
540
560
  }
541
561
  }
542
562
  }
543
563
  }
544
564
  return tmp;
545
565
  };
546
- protoOf(GameCard).c2m = function () {
566
+ protoOf(GameCard).d2m = function () {
547
567
  var tmp;
548
- if (this.f2m()) {
568
+ if (this.g2m()) {
549
569
  tmp = -1;
550
570
  } else {
551
- tmp = this.b2m_1 - imul(13, getIndex(this.m2m())) | 0;
571
+ tmp = this.c2m_1 - imul(13, getIndex(this.n2m())) | 0;
552
572
  }
553
573
  return tmp;
554
574
  };
555
575
  protoOf(GameCard).o2 = function () {
556
- return this.f2m() ? CardName_STUB_getInstance() : getName(Companion_instance_0, this.c2m());
576
+ return this.g2m() ? CardName_STUB_getInstance() : getName(Companion_instance_0, this.d2m());
557
577
  };
558
- protoOf(GameCard).n2m = function () {
559
- return !_get_isShirt__vd98rp(this) && !this.f2m();
578
+ protoOf(GameCard).o2m = function () {
579
+ return !_get_isShirt__vd98rp(this) && !this.g2m();
560
580
  };
561
- protoOf(GameCard).f2m = function () {
562
- return this.b2m_1 >= 53;
581
+ protoOf(GameCard).g2m = function () {
582
+ return this.c2m_1 >= 53;
563
583
  };
564
584
  protoOf(GameCard).toString = function () {
565
585
  if (_get_isShirt__vd98rp(this)) {
566
586
  return 'GameCard(SHIRT)';
567
587
  }
568
- if (this.f2m()) {
569
- return 'GameCard(STUB, ' + this.b2m_1 + ')';
588
+ if (this.g2m()) {
589
+ return 'GameCard(STUB, ' + this.c2m_1 + ')';
570
590
  }
571
- return 'GameCard(' + this.m2m().toString() + this.o2().toString() + ', ' + this.b2m_1 + ')';
591
+ return 'GameCard(' + this.n2m().toString() + this.o2().toString() + ', ' + this.c2m_1 + ')';
572
592
  };
573
593
  protoOf(GameCard).hashCode = function () {
574
- return this.b2m_1;
594
+ return this.c2m_1;
575
595
  };
576
596
  protoOf(GameCard).equals = function (other) {
577
597
  if (this === other)
@@ -579,12 +599,12 @@
579
599
  if (!(other instanceof GameCard))
580
600
  return false;
581
601
  var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
582
- if (!(this.b2m_1 === tmp0_other_with_cast.b2m_1))
602
+ if (!(this.c2m_1 === tmp0_other_with_cast.c2m_1))
583
603
  return false;
584
604
  return true;
585
605
  };
586
606
  function _get_$cachedSerializer__te6jhj($this) {
587
- return $this.o2m_1.e2();
607
+ return $this.p2m_1.e2();
588
608
  }
589
609
  function Suit$Companion$_anonymous__cbm2iq() {
590
610
  return createSimpleEnumSerializer('io.raspberryapps.card_game.core.data.models.cards.Suit', values());
@@ -618,7 +638,7 @@
618
638
  Companion_instance_1 = this;
619
639
  var tmp = this;
620
640
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
621
- tmp.o2m_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
641
+ tmp.p2m_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
622
642
  }
623
643
  protoOf(Companion_1).o22 = function () {
624
644
  return _get_$cachedSerializer__te6jhj(this);
@@ -725,7 +745,7 @@
725
745
  }
726
746
  function CombinationsCheckerProviderImpl() {
727
747
  }
728
- protoOf(CombinationsCheckerProviderImpl).t2m = function (cards, supportedCombinations, checkFromIndex, includeCardNames, suit) {
748
+ protoOf(CombinationsCheckerProviderImpl).u2m = function (cards, supportedCombinations, checkFromIndex, includeCardNames, suit) {
729
749
  // Inline function 'kotlin.collections.filter' call
730
750
  // Inline function 'kotlin.collections.filterTo' call
731
751
  var this_0 = sortedWith(cards, CardIndexComparator_instance);
@@ -734,31 +754,31 @@
734
754
  while (tmp0_iterator.k()) {
735
755
  var element = tmp0_iterator.l();
736
756
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findCardsInRowCombinations.<anonymous>' call
737
- if (element.n2m()) {
757
+ if (element.o2m()) {
738
758
  destination.e(element);
739
759
  }
740
760
  }
741
- var sortedCards = toList(destination);
761
+ var sortedByIndexCards = toList(destination);
742
762
  // Inline function 'kotlin.collections.mutableListOf' call
743
763
  var combinations = ArrayList_init_$Create$();
744
764
  // Inline function 'kotlin.collections.mutableListOf' call
745
765
  var combinationCards = ArrayList_init_$Create$();
746
766
  var inductionVariable = 0;
747
- var last = sortedCards.m() - 1 | 0;
767
+ var last = sortedByIndexCards.m() - 1 | 0;
748
768
  if (inductionVariable <= last)
749
769
  do {
750
770
  var i = inductionVariable;
751
771
  inductionVariable = inductionVariable + 1 | 0;
752
772
  var previousCard = lastOrNull(combinationCards);
753
- var currentCard = sortedCards.o(i);
754
- var isNextInRow = !(previousCard == null) && currentCard.b2m_1 === (previousCard.b2m_1 + 1 | 0) && currentCard.m2m().equals(previousCard.m2m());
773
+ var currentCard = sortedByIndexCards.o(i);
774
+ var isNextInRow = !(previousCard == null) && currentCard.c2m_1 === (previousCard.c2m_1 + 1 | 0) && currentCard.n2m().equals(previousCard.n2m());
755
775
  var passedCardNamesCheck = includeCardNames == null || includeCardNames.q1(currentCard.o2());
756
- var passedSuitCheck = suit == null || currentCard.m2m().equals(suit);
776
+ var passedSuitCheck = suit == null || currentCard.n2m().equals(suit);
757
777
  if (isNextInRow && passedSuitCheck && passedCardNamesCheck) {
758
778
  combinationCards.e(currentCard);
759
779
  } else {
760
780
  if (combinationCards.m() > (checkFromIndex - 1 | 0)) {
761
- combinations.n(this.v2m(toMutableList(combinationCards), supportedCombinations));
781
+ combinations.n(this.y2m(toMutableList(combinationCards), supportedCombinations));
762
782
  }
763
783
  combinationCards.z1();
764
784
  if (passedSuitCheck && passedCardNamesCheck) {
@@ -768,11 +788,83 @@
768
788
  }
769
789
  while (inductionVariable <= last);
770
790
  if (combinationCards.m() > (checkFromIndex - 1 | 0)) {
771
- combinations.n(this.v2m(toMutableList(combinationCards), supportedCombinations));
791
+ combinations.n(this.y2m(toMutableList(combinationCards), supportedCombinations));
772
792
  }
773
793
  return combinations;
774
794
  };
775
- protoOf(CombinationsCheckerProviderImpl).v2m = function (cards, supportedCombinations) {
795
+ protoOf(CombinationsCheckerProviderImpl).w2m = function (cards, cardsCount, includeCardNames) {
796
+ // Inline function 'kotlin.collections.filter' call
797
+ // Inline function 'kotlin.collections.filter' call
798
+ // Inline function 'kotlin.collections.filterTo' call
799
+ var this_0 = sortedWith(cards, CardNumberComparator_instance);
800
+ var destination = ArrayList_init_$Create$();
801
+ var tmp0_iterator = this_0.j();
802
+ while (tmp0_iterator.k()) {
803
+ var element = tmp0_iterator.l();
804
+ // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
805
+ if (element.o2m()) {
806
+ destination.e(element);
807
+ }
808
+ }
809
+ // Inline function 'kotlin.collections.filterTo' call
810
+ var destination_0 = ArrayList_init_$Create$();
811
+ var tmp0_iterator_0 = destination.j();
812
+ while (tmp0_iterator_0.k()) {
813
+ var element_0 = tmp0_iterator_0.l();
814
+ // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
815
+ if (includeCardNames == null || includeCardNames.q1(element_0.o2())) {
816
+ destination_0.e(element_0);
817
+ }
818
+ }
819
+ var sortedByNumberCards = toList(destination_0);
820
+ // Inline function 'kotlin.collections.filter' call
821
+ // Inline function 'kotlin.collections.groupBy' call
822
+ // Inline function 'kotlin.collections.groupByTo' call
823
+ var destination_1 = LinkedHashMap_init_$Create$();
824
+ var tmp0_iterator_1 = sortedByNumberCards.j();
825
+ while (tmp0_iterator_1.k()) {
826
+ var element_1 = tmp0_iterator_1.l();
827
+ // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
828
+ var key = element_1.d2m();
829
+ // Inline function 'kotlin.collections.getOrPut' call
830
+ var value = destination_1.h2(key);
831
+ var tmp;
832
+ if (value == null) {
833
+ // Inline function 'kotlin.collections.groupByTo.<anonymous>' call
834
+ var answer = ArrayList_init_$Create$();
835
+ destination_1.k2(key, answer);
836
+ tmp = answer;
837
+ } else {
838
+ tmp = value;
839
+ }
840
+ var list = tmp;
841
+ list.e(element_1);
842
+ }
843
+ // Inline function 'kotlin.collections.filterTo' call
844
+ var destination_2 = LinkedHashMap_init_$Create$();
845
+ // Inline function 'kotlin.collections.iterator' call
846
+ var tmp0_iterator_2 = destination_1.s().j();
847
+ while (tmp0_iterator_2.k()) {
848
+ var element_2 = tmp0_iterator_2.l();
849
+ // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
850
+ if (element_2.e2().m() >= cardsCount) {
851
+ destination_2.k2(element_2.d2(), element_2.e2());
852
+ }
853
+ }
854
+ var combinations = destination_2.j2();
855
+ // Inline function 'kotlin.collections.map' call
856
+ // Inline function 'kotlin.collections.mapTo' call
857
+ var destination_3 = ArrayList_init_$Create$_0(collectionSizeOrDefault(combinations, 10));
858
+ var tmp0_iterator_3 = combinations.j();
859
+ while (tmp0_iterator_3.k()) {
860
+ var item = tmp0_iterator_3.l();
861
+ // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
862
+ var tmp$ret$15 = sortedWith(item, CardIndexComparator_instance);
863
+ destination_3.e(tmp$ret$15);
864
+ }
865
+ return destination_3;
866
+ };
867
+ protoOf(CombinationsCheckerProviderImpl).y2m = function (cards, supportedCombinations) {
776
868
  // Inline function 'kotlin.collections.minOf' call
777
869
  var iterator = supportedCombinations.j();
778
870
  if (!iterator.k())
@@ -803,28 +895,28 @@
803
895
  return combinations;
804
896
  };
805
897
  function DealerReducerImpl(logger, enableLogs) {
806
- this.w2m_1 = logger;
807
- this.x2m_1 = enableLogs;
898
+ this.z2m_1 = logger;
899
+ this.a2n_1 = enableLogs;
808
900
  }
809
- protoOf(DealerReducerImpl).y2m = function (cards, cardsToRemove) {
901
+ protoOf(DealerReducerImpl).b2n = function (cards, cardsToRemove) {
810
902
  var list = cards;
811
903
  var tmp0_iterator = cardsToRemove.j();
812
904
  while (tmp0_iterator.k()) {
813
905
  var gameCard = tmp0_iterator.l();
814
- list = this.z2m(list, gameCard);
906
+ list = this.c2n(list, gameCard);
815
907
  }
816
908
  return list;
817
909
  };
818
- protoOf(DealerReducerImpl).z2m = function (cards, cardToRemove) {
910
+ protoOf(DealerReducerImpl).c2n = function (cards, cardToRemove) {
819
911
  var tmp;
820
- if (!cardToRemove.f2m() && cards.q1(cardToRemove)) {
821
- if (this.x2m_1) {
822
- this.w2m_1.d('Dealer', 'Card removed: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
912
+ if (!cardToRemove.g2m() && cards.q1(cardToRemove)) {
913
+ if (this.a2n_1) {
914
+ this.z2m_1.d('Dealer', 'Card removed: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
823
915
  }
824
916
  tmp = minus(cards, cardToRemove);
825
917
  } else {
826
- if (this.x2m_1) {
827
- this.w2m_1.d('Dealer', 'Card removed as stub: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
918
+ if (this.a2n_1) {
919
+ this.z2m_1.d('Dealer', 'Card removed as stub: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
828
920
  }
829
921
  // Inline function 'kotlin.collections.filterNot' call
830
922
  // Inline function 'kotlin.collections.filterNotTo' call
@@ -833,7 +925,7 @@
833
925
  while (tmp0_iterator.k()) {
834
926
  var element = tmp0_iterator.l();
835
927
  // Inline function 'io.raspberryapps.card_game.core.domain.dealer.DealerReducerImpl.removeCard.<anonymous>' call
836
- if (!element.f2m()) {
928
+ if (!element.g2m()) {
837
929
  destination.e(element);
838
930
  }
839
931
  }
@@ -845,24 +937,24 @@
845
937
  while (tmp0_iterator_0.k()) {
846
938
  var element_0 = tmp0_iterator_0.l();
847
939
  // Inline function 'io.raspberryapps.card_game.core.domain.dealer.DealerReducerImpl.removeCard.<anonymous>' call
848
- if (element_0.f2m()) {
940
+ if (element_0.g2m()) {
849
941
  destination_0.e(element_0);
850
942
  }
851
943
  }
852
944
  var stubCards = destination_0;
853
945
  if (stubCards.p()) {
854
- this.w2m_1.w('Dealer', "Can't find card to delete for player, " + ('cards:' + toString(cards) + ', ') + ('cardToRemove: ' + cardToRemove.toString()));
946
+ this.z2m_1.w('Dealer', "Can't find card to delete for player, " + ('cards:' + toString(cards) + ', ') + ('cardToRemove: ' + cardToRemove.toString()));
855
947
  }
856
948
  tmp = plus(notStubCards, dropLast(stubCards, 1));
857
949
  }
858
950
  return tmp;
859
951
  };
860
- protoOf(DealerReducerImpl).a2n = function (cards, cardToAdd) {
861
- if (this.x2m_1) {
862
- this.w2m_1.d('Dealer', 'Card added: ' + cardToAdd.toString() + ', size: ' + (cards.m() + 1 | 0));
952
+ protoOf(DealerReducerImpl).d2n = function (cards, cardToAdd) {
953
+ if (this.a2n_1) {
954
+ this.z2m_1.d('Dealer', 'Card added: ' + cardToAdd.toString() + ', size: ' + (cards.m() + 1 | 0));
863
955
  }
864
956
  if (cards.q1(cardToAdd)) {
865
- this.w2m_1.w('Dealer', 'Card already exists for player, ' + ('cards:' + toString(cards) + ', ') + ('cardToAdd: ' + cardToAdd.toString()));
957
+ this.z2m_1.w('Dealer', 'Card already exists for player, ' + ('cards:' + toString(cards) + ', ') + ('cardToAdd: ' + cardToAdd.toString()));
866
958
  }
867
959
  return plus_0(cards, cardToAdd);
868
960
  };
@@ -870,7 +962,7 @@
870
962
  }
871
963
  function Companion_2() {
872
964
  }
873
- protoOf(Companion_2).b2n = function () {
965
+ protoOf(Companion_2).e2n = function () {
874
966
  return new CombinedRaspberryLogger(mutableListOf([new PlatformRaspberryLogger()]));
875
967
  };
876
968
  protoOf(Companion_2).k1o = function () {
@@ -883,66 +975,94 @@
883
975
  return Companion_instance_2;
884
976
  }
885
977
  function CombinedRaspberryLogger(logOutputs) {
886
- this.c2n_1 = logOutputs;
978
+ this.f2n_1 = logOutputs;
887
979
  }
888
- protoOf(CombinedRaspberryLogger).d2n = function (output) {
889
- this.c2n_1.e(output);
980
+ protoOf(CombinedRaspberryLogger).g2n = function (output) {
981
+ this.f2n_1.e(output);
890
982
  };
891
- protoOf(CombinedRaspberryLogger).e2n = function (tag, message, payload) {
983
+ protoOf(CombinedRaspberryLogger).h2n = function (tag, message, payload) {
892
984
  // Inline function 'kotlin.collections.forEach' call
893
- var tmp0_iterator = this.c2n_1.j();
985
+ var tmp0_iterator = this.f2n_1.j();
894
986
  while (tmp0_iterator.k()) {
895
987
  var element = tmp0_iterator.l();
896
988
  // Inline function 'io.raspberryapps.card_game.core.utils.logger.CombinedRaspberryLogger.d.<anonymous>' call
897
989
  element.d(tag, message, payload);
898
990
  }
899
991
  };
900
- protoOf(CombinedRaspberryLogger).f2n = function (tag, message, exception, payload) {
992
+ protoOf(CombinedRaspberryLogger).i2n = function (tag, message, exception, payload) {
901
993
  // Inline function 'kotlin.collections.forEach' call
902
- var tmp0_iterator = this.c2n_1.j();
994
+ var tmp0_iterator = this.f2n_1.j();
903
995
  while (tmp0_iterator.k()) {
904
996
  var element = tmp0_iterator.l();
905
997
  // Inline function 'io.raspberryapps.card_game.core.utils.logger.CombinedRaspberryLogger.e.<anonymous>' call
906
998
  element.e(tag, message, exception, payload);
907
999
  }
908
1000
  };
909
- protoOf(CombinedRaspberryLogger).g2n = function (tag, message, exception, payload) {
1001
+ protoOf(CombinedRaspberryLogger).j2n = function (tag, message, exception, payload) {
910
1002
  // Inline function 'kotlin.collections.forEach' call
911
- var tmp0_iterator = this.c2n_1.j();
1003
+ var tmp0_iterator = this.f2n_1.j();
912
1004
  while (tmp0_iterator.k()) {
913
1005
  var element = tmp0_iterator.l();
914
1006
  // Inline function 'io.raspberryapps.card_game.core.utils.logger.CombinedRaspberryLogger.w.<anonymous>' call
915
1007
  element.w(tag, message, exception, payload);
916
1008
  }
917
1009
  };
1010
+ protoOf(CombinedRaspberryLogger).k2n = function (tag, message, exception, payload) {
1011
+ // Inline function 'kotlin.collections.forEach' call
1012
+ var tmp0_iterator = this.f2n_1.j();
1013
+ while (tmp0_iterator.k()) {
1014
+ var element = tmp0_iterator.l();
1015
+ // Inline function 'io.raspberryapps.card_game.core.utils.logger.CombinedRaspberryLogger.v.<anonymous>' call
1016
+ element.v(tag, message, exception, payload);
1017
+ }
1018
+ };
1019
+ protoOf(CombinedRaspberryLogger).l2n = function (tag, message, payload) {
1020
+ // Inline function 'kotlin.collections.forEach' call
1021
+ var tmp0_iterator = this.f2n_1.j();
1022
+ while (tmp0_iterator.k()) {
1023
+ var element = tmp0_iterator.l();
1024
+ // Inline function 'io.raspberryapps.card_game.core.utils.logger.CombinedRaspberryLogger.i.<anonymous>' call
1025
+ element.i(tag, message, payload);
1026
+ }
1027
+ };
918
1028
  function LoggerEnabledTrigger() {
919
1029
  }
920
1030
  function LoggerPayload() {
921
1031
  }
922
1032
  function PlatformRaspberryLogger(enabled) {
923
1033
  enabled = enabled === VOID ? true : enabled;
924
- this.j2n_1 = enabled;
1034
+ this.o2n_1 = enabled;
925
1035
  }
926
- protoOf(PlatformRaspberryLogger).h2n = function (_set____db54di) {
927
- this.j2n_1 = _set____db54di;
1036
+ protoOf(PlatformRaspberryLogger).m2n = function (_set____db54di) {
1037
+ this.o2n_1 = _set____db54di;
1038
+ };
1039
+ protoOf(PlatformRaspberryLogger).n2n = function () {
1040
+ return this.o2n_1;
928
1041
  };
929
- protoOf(PlatformRaspberryLogger).i2n = function () {
930
- return this.j2n_1;
1042
+ protoOf(PlatformRaspberryLogger).h2n = function (tag, message, payload) {
1043
+ if (!this.o2n_1)
1044
+ return Unit_instance;
1045
+ Logger_getInstance().s2n(tag, message);
1046
+ };
1047
+ protoOf(PlatformRaspberryLogger).i2n = function (tag, message, exception, payload) {
1048
+ if (!this.o2n_1)
1049
+ return Unit_instance;
1050
+ Logger_getInstance().t2n(tag, message, exception);
931
1051
  };
932
- protoOf(PlatformRaspberryLogger).e2n = function (tag, message, payload) {
933
- if (!this.j2n_1)
1052
+ protoOf(PlatformRaspberryLogger).j2n = function (tag, message, exception, payload) {
1053
+ if (!this.o2n_1)
934
1054
  return Unit_instance;
935
- Logger_getInstance().n2n(tag, message);
1055
+ Logger_getInstance().u2n(tag, message, exception);
936
1056
  };
937
- protoOf(PlatformRaspberryLogger).f2n = function (tag, message, exception, payload) {
938
- if (!this.j2n_1)
1057
+ protoOf(PlatformRaspberryLogger).k2n = function (tag, message, exception, payload) {
1058
+ if (!this.o2n_1)
939
1059
  return Unit_instance;
940
- Logger_getInstance().o2n(tag, message, exception);
1060
+ Logger_getInstance().v2n(tag, message, exception);
941
1061
  };
942
- protoOf(PlatformRaspberryLogger).g2n = function (tag, message, exception, payload) {
943
- if (!this.j2n_1)
1062
+ protoOf(PlatformRaspberryLogger).l2n = function (tag, message, payload) {
1063
+ if (!this.o2n_1)
944
1064
  return Unit_instance;
945
- Logger_getInstance().p2n(tag, message, exception);
1065
+ Logger_getInstance().v2n(tag, message);
946
1066
  };
947
1067
  function RaspberryLogger() {
948
1068
  }
@@ -959,23 +1079,26 @@
959
1079
  Category_NONE_instance = new Category('NONE', 1, true);
960
1080
  }
961
1081
  function generateTag($this, tag) {
962
- return !($this.m2n_1 == null) && !(tag == null) ? '' + $this.m2n_1 + ':' + tag : tag;
1082
+ return !($this.r2n_1 == null) && !(tag == null) ? '' + $this.r2n_1 + ':' + tag : tag;
963
1083
  }
964
1084
  function Category(name, ordinal, isEnabled) {
965
1085
  Enum.call(this, name, ordinal);
966
- this.s2n_1 = isEnabled;
1086
+ this.y2n_1 = isEnabled;
967
1087
  }
968
1088
  function Logger$loggerSource$1() {
969
- this.t2n_1 = new PlatformLogger();
1089
+ this.z2n_1 = new PlatformLogger();
970
1090
  }
971
- protoOf(Logger$loggerSource$1).u2n = function (tag, msg) {
972
- this.t2n_1.u2n(tag, msg);
1091
+ protoOf(Logger$loggerSource$1).a2o = function (tag, msg) {
1092
+ this.z2n_1.a2o(tag, msg);
1093
+ };
1094
+ protoOf(Logger$loggerSource$1).b2o = function (tag, msg, exception) {
1095
+ this.z2n_1.b2o(tag, msg, exception);
973
1096
  };
974
- protoOf(Logger$loggerSource$1).v2n = function (tag, msg, exception) {
975
- this.t2n_1.v2n(tag, msg, exception);
1097
+ protoOf(Logger$loggerSource$1).c2o = function (tag, msg, exception) {
1098
+ this.z2n_1.c2o(tag, msg, exception);
976
1099
  };
977
- protoOf(Logger$loggerSource$1).w2n = function (tag, msg, exception) {
978
- this.t2n_1.w2n(tag, msg, exception);
1100
+ protoOf(Logger$loggerSource$1).d2o = function (tag, msg, exception) {
1101
+ this.z2n_1.d2o(tag, msg, exception);
979
1102
  };
980
1103
  function Category_NONE_getInstance() {
981
1104
  Category_initEntries();
@@ -984,63 +1107,82 @@
984
1107
  function Logger() {
985
1108
  Logger_instance = this;
986
1109
  var tmp = this;
987
- tmp.k2n_1 = new Logger$loggerSource$1();
988
- this.l2n_1 = true;
989
- this.m2n_1 = null;
1110
+ tmp.p2n_1 = new Logger$loggerSource$1();
1111
+ this.q2n_1 = true;
1112
+ this.r2n_1 = null;
990
1113
  }
991
- protoOf(Logger).n2n = function (tag, message) {
992
- this.x2n(tag, message, Category_NONE_getInstance());
1114
+ protoOf(Logger).s2n = function (tag, message) {
1115
+ this.e2o(tag, message, Category_NONE_getInstance());
993
1116
  };
994
- protoOf(Logger).y2n = function (tag, message, exception, category) {
995
- if (this.l2n_1 && category.s2n_1) {
1117
+ protoOf(Logger).f2o = function (tag, message, exception, category) {
1118
+ if (this.q2n_1 && category.y2n_1) {
996
1119
  if (exception == null)
997
1120
  null;
998
1121
  else {
999
1122
  printStackTrace(exception);
1000
1123
  }
1001
- this.k2n_1.w2n(generateTag(this, tag), generateMsg(message, exception), exception);
1124
+ this.p2n_1.c2o(generateTag(this, tag), generateMsg(message, exception), exception);
1002
1125
  }
1003
1126
  };
1004
- protoOf(Logger).p2n = function (tag, message, exception, category, $super) {
1127
+ protoOf(Logger).u2n = function (tag, message, exception, category, $super) {
1005
1128
  tag = tag === VOID ? null : tag;
1006
1129
  message = message === VOID ? null : message;
1007
1130
  exception = exception === VOID ? null : exception;
1008
1131
  category = category === VOID ? Category_NONE_getInstance() : category;
1009
1132
  var tmp;
1010
1133
  if ($super === VOID) {
1011
- this.y2n(tag, message, exception, category);
1134
+ this.f2o(tag, message, exception, category);
1012
1135
  tmp = Unit_instance;
1013
1136
  } else {
1014
- tmp = $super.y2n.call(this, tag, message, exception, category);
1137
+ tmp = $super.f2o.call(this, tag, message, exception, category);
1015
1138
  }
1016
1139
  return tmp;
1017
1140
  };
1018
- protoOf(Logger).x2n = function (tag, message, category) {
1019
- if (this.l2n_1 && category.s2n_1) {
1020
- this.k2n_1.u2n(generateTag(this, tag), message);
1141
+ protoOf(Logger).e2o = function (tag, message, category) {
1142
+ if (this.q2n_1 && category.y2n_1) {
1143
+ this.p2n_1.a2o(generateTag(this, tag), message);
1021
1144
  }
1022
1145
  };
1023
- protoOf(Logger).z2n = function (tag, message, exception, category) {
1024
- if (this.l2n_1 && category.s2n_1) {
1146
+ protoOf(Logger).g2o = function (tag, message, exception, category) {
1147
+ if (this.q2n_1 && category.y2n_1) {
1148
+ this.p2n_1.d2o(generateTag(this, tag), generateMsg(message, exception), exception);
1149
+ }
1150
+ };
1151
+ protoOf(Logger).v2n = function (tag, message, exception, category, $super) {
1152
+ tag = tag === VOID ? null : tag;
1153
+ message = message === VOID ? null : message;
1154
+ exception = exception === VOID ? null : exception;
1155
+ category = category === VOID ? Category_NONE_getInstance() : category;
1156
+ var tmp;
1157
+ if ($super === VOID) {
1158
+ this.g2o(tag, message, exception, category);
1159
+ tmp = Unit_instance;
1160
+ } else {
1161
+ tmp = $super.g2o.call(this, tag, message, exception, category);
1162
+ }
1163
+ return tmp;
1164
+ };
1165
+ protoOf(Logger).h2o = function (tag, message, exception, category) {
1166
+ if (this.q2n_1 && category.y2n_1) {
1025
1167
  if (exception == null)
1026
1168
  null;
1027
1169
  else {
1028
1170
  printStackTrace(exception);
1029
1171
  }
1030
- this.k2n_1.v2n(generateTag(this, tag), generateMsg(message, exception), exception);
1172
+ this.p2n_1.b2o(generateTag(this, tag), generateMsg(message, exception), exception);
1031
1173
  }
1032
1174
  };
1033
- protoOf(Logger).o2n = function (tag, message, exception, category, $super) {
1175
+ protoOf(Logger).t2n = function (tag, message, exception, category, $super) {
1034
1176
  tag = tag === VOID ? null : tag;
1035
1177
  message = message === VOID ? null : message;
1036
1178
  exception = exception === VOID ? null : exception;
1037
1179
  category = category === VOID ? Category_NONE_getInstance() : category;
1038
1180
  var tmp;
1039
1181
  if ($super === VOID) {
1040
- this.z2n(tag, message, exception, category);
1182
+ this.h2o(tag, message, exception, category);
1041
1183
  tmp = Unit_instance;
1042
1184
  } else {
1043
- tmp = $super.z2n.call(this, tag, message, exception, category);
1185
+ tmp = $super.h2o.call(this, tag, message, exception, category);
1044
1186
  }
1045
1187
  return tmp;
1046
1188
  };
@@ -1073,33 +1215,43 @@
1073
1215
  }
1074
1216
  function PlatformLogger() {
1075
1217
  }
1076
- protoOf(PlatformLogger).u2n = function (tag, msg) {
1077
- console.log(getLogTag(tag) + ': ' + msg);
1218
+ protoOf(PlatformLogger).a2o = function (tag, msg) {
1219
+ console.log('D:' + getLogTag(tag) + ': ' + msg);
1078
1220
  };
1079
- protoOf(PlatformLogger).v2n = function (tag, msg, exception) {
1221
+ protoOf(PlatformLogger).b2o = function (tag, msg, exception) {
1080
1222
  if (!(exception == null)) {
1081
1223
  console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + toString_0(exception));
1082
1224
  } else {
1083
1225
  console.error(getLogTag(tag) + ': ' + msg);
1084
1226
  }
1085
1227
  };
1086
- protoOf(PlatformLogger).w2n = function (tag, msg, exception) {
1228
+ protoOf(PlatformLogger).c2o = function (tag, msg, exception) {
1087
1229
  var tmp = console;
1088
1230
  var tmp_0 = getLogTag(tag);
1089
1231
  tmp.warn(tmp_0 + ': ' + msg + ' ' + toString(exception == null ? '' : exception));
1090
1232
  };
1233
+ protoOf(PlatformLogger).d2o = function (tag, msg, exception) {
1234
+ var tmp = console;
1235
+ var tmp_0 = getLogTag(tag);
1236
+ tmp.log('V:' + tmp_0 + ': ' + msg + ' ' + toString(exception == null ? '' : exception));
1237
+ };
1091
1238
  //region block: post-declaration
1092
- protoOf(CombinationsCheckerProviderImpl).u2m = findCardsInRowCombinations$default;
1239
+ protoOf(CombinationsCheckerProviderImpl).v2m = findCardsInRowCombinations$default;
1240
+ protoOf(CombinationsCheckerProviderImpl).x2m = findSameCardsNumberCombinations$default;
1093
1241
  protoOf(CombinedRaspberryLogger).d = d;
1094
1242
  protoOf(CombinedRaspberryLogger).e = e;
1095
1243
  protoOf(CombinedRaspberryLogger).w = w;
1244
+ protoOf(CombinedRaspberryLogger).v = v;
1245
+ protoOf(CombinedRaspberryLogger).i = i;
1096
1246
  protoOf(PlatformRaspberryLogger).d = d;
1097
1247
  protoOf(PlatformRaspberryLogger).e = e;
1098
1248
  protoOf(PlatformRaspberryLogger).w = w;
1249
+ protoOf(PlatformRaspberryLogger).v = v;
1250
+ protoOf(PlatformRaspberryLogger).i = i;
1099
1251
  defineProp(protoOf(PlatformRaspberryLogger), 'enabled', function () {
1100
- return this.i2n();
1252
+ return this.n2n();
1101
1253
  }, function (value) {
1102
- this.h2n(value);
1254
+ this.m2n(value);
1103
1255
  });
1104
1256
  //endregion
1105
1257
  //region block: init
@@ -1156,30 +1308,32 @@
1156
1308
  _.$_$.h = CardName_TEN_getInstance;
1157
1309
  _.$_$.i = d;
1158
1310
  _.$_$.j = e;
1159
- _.$_$.k = w;
1160
- _.$_$.l = CardIndexComparator_instance;
1161
- _.$_$.m = CardNumberComparator_instance;
1162
- _.$_$.n = Companion_instance;
1163
- _.$_$.o = Companion_getInstance_1;
1164
- _.$_$.p = Logger_getInstance;
1165
- _.$_$.q = Companion_instance_2;
1166
- _.$_$.r = GameCard;
1167
- _.$_$.s = get_entries;
1168
- _.$_$.t = values;
1169
- _.$_$.u = distributeCardsBottom;
1170
- _.$_$.v = distributeCardsTop;
1171
- _.$_$.w = filterByCardName;
1172
- _.$_$.x = CardsDealerProvider;
1173
- _.$_$.y = CombinationsCheckerProviderImpl;
1174
- _.$_$.z = CombinationsCheckerProvider;
1175
- _.$_$.a1 = DealerReducerImpl;
1176
- _.$_$.b1 = DealerReducer;
1177
- _.$_$.c1 = LoggerOutput;
1178
- _.$_$.d1 = generateMsg;
1179
- _.$_$.e1 = CombinedRaspberryLogger;
1180
- _.$_$.f1 = LoggerEnabledTrigger;
1181
- _.$_$.g1 = LoggerPayload;
1182
- _.$_$.h1 = RaspberryLogger;
1311
+ _.$_$.k = i;
1312
+ _.$_$.l = v;
1313
+ _.$_$.m = w;
1314
+ _.$_$.n = CardIndexComparator_instance;
1315
+ _.$_$.o = CardNumberComparator_instance;
1316
+ _.$_$.p = Companion_instance;
1317
+ _.$_$.q = Companion_getInstance_1;
1318
+ _.$_$.r = Logger_getInstance;
1319
+ _.$_$.s = Companion_instance_2;
1320
+ _.$_$.t = GameCard;
1321
+ _.$_$.u = get_entries;
1322
+ _.$_$.v = values;
1323
+ _.$_$.w = distributeCardsBottom;
1324
+ _.$_$.x = distributeCardsTop;
1325
+ _.$_$.y = filterByCardName;
1326
+ _.$_$.z = CardsDealerProvider;
1327
+ _.$_$.a1 = CombinationsCheckerProviderImpl;
1328
+ _.$_$.b1 = CombinationsCheckerProvider;
1329
+ _.$_$.c1 = DealerReducerImpl;
1330
+ _.$_$.d1 = DealerReducer;
1331
+ _.$_$.e1 = LoggerOutput;
1332
+ _.$_$.f1 = generateMsg;
1333
+ _.$_$.g1 = CombinedRaspberryLogger;
1334
+ _.$_$.h1 = LoggerEnabledTrigger;
1335
+ _.$_$.i1 = LoggerPayload;
1336
+ _.$_$.j1 = RaspberryLogger;
1183
1337
  //endregion
1184
1338
  return _;
1185
1339
  }));