client_plugin_logic_deb 1.8.473 → 1.8.475

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 (46) hide show
  1. package/Kosi-Kaverit-kaverit.js +70 -70
  2. package/Kosi-Kodein-kodein-di.js +568 -568
  3. package/Kotlin-DateTime-library-kotlinx-datetime.js +1587 -1587
  4. package/Logic_Debertz-ai_module.js +528 -528
  5. package/Logic_Debertz-bot_engine.js +4100 -1112
  6. package/Logic_Debertz-bot_engine.js.map +1 -1
  7. package/Logic_Debertz-client_plugin.d.ts +30 -3
  8. package/Logic_Debertz-client_plugin.js +3256 -3256
  9. package/Logic_Debertz-core.js +1829 -1829
  10. package/Logic_Debertz-core.js.map +1 -1
  11. package/Logic_Debertz-engine.js +17773 -17796
  12. package/Logic_Debertz-engine.js.map +1 -1
  13. package/Logic_Debertz-game_client.js +9781 -9729
  14. package/Logic_Debertz-game_client.js.map +1 -1
  15. package/Logic_Debertz-game_server.js +1596 -1545
  16. package/Logic_Debertz-game_server.js.map +1 -1
  17. package/error-library-error.js +5 -5
  18. package/kotlin-kotlin-stdlib.js +820 -796
  19. package/kotlin-kotlin-stdlib.js.map +1 -1
  20. package/kotlinx-atomicfu.js +22 -22
  21. package/kotlinx-coroutines-core.js +2557 -2557
  22. package/kotlinx-io-kotlinx-io-bytestring.js +43 -43
  23. package/kotlinx-io-kotlinx-io-core.js +571 -571
  24. package/kotlinx-serialization-kotlinx-serialization-core.js +1819 -1819
  25. package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
  26. package/kotlinx-serialization-kotlinx-serialization-json.js +1404 -1404
  27. package/ktor-ktor-client-content-negotiation.js +150 -150
  28. package/ktor-ktor-client-core.js +1917 -1917
  29. package/ktor-ktor-client-logging.js +644 -644
  30. package/ktor-ktor-events.js +11 -11
  31. package/ktor-ktor-http-cio.js +358 -358
  32. package/ktor-ktor-http.js +707 -707
  33. package/ktor-ktor-io.js +646 -646
  34. package/ktor-ktor-serialization-kotlinx-json.js +6 -6
  35. package/ktor-ktor-serialization-kotlinx.js +143 -143
  36. package/ktor-ktor-serialization.js +71 -71
  37. package/ktor-ktor-utils.js +670 -670
  38. package/ktor-ktor-websockets.js +49 -49
  39. package/package.json +1 -1
  40. package/random-library-crypto-rand.js +12 -12
  41. package/random-library-secure-random.js +7 -7
  42. package/raspberry-cardgame-lib-core.js +243 -233
  43. package/raspberry-cardgame-lib-core.js.map +1 -1
  44. package/raspberry-cardgame-lib-logger.js +101 -101
  45. package/raspberry-cardgame-lib-random.js +833 -833
  46. package/uuid.js +23 -23
@@ -19,64 +19,64 @@
19
19
  'use strict';
20
20
  //region block: imports
21
21
  var imul = Math.imul;
22
- var protoOf = kotlin_kotlin.$_$.oe;
23
- var initMetadataForObject = kotlin_kotlin.$_$.td;
24
- var defineProp = kotlin_kotlin.$_$.ed;
22
+ var protoOf = kotlin_kotlin.$_$.pe;
23
+ var initMetadataForObject = kotlin_kotlin.$_$.ud;
24
+ var defineProp = kotlin_kotlin.$_$.fd;
25
25
  var VOID = kotlin_kotlin.$_$.b;
26
- var THROW_CCE = kotlin_kotlin.$_$.dj;
27
- var Comparator = kotlin_kotlin.$_$.pi;
28
- var initMetadataForClass = kotlin_kotlin.$_$.nd;
26
+ var THROW_CCE = kotlin_kotlin.$_$.ej;
27
+ var Comparator = kotlin_kotlin.$_$.qi;
28
+ var initMetadataForClass = kotlin_kotlin.$_$.od;
29
29
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
30
30
  var Unit_instance = kotlin_kotlin.$_$.l5;
31
- var take = kotlin_kotlin.$_$.ca;
32
- var toList = kotlin_kotlin.$_$.ia;
33
- var takeLast = kotlin_kotlin.$_$.ba;
34
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.ck;
35
- var initMetadataForCompanion = kotlin_kotlin.$_$.od;
31
+ var take = kotlin_kotlin.$_$.da;
32
+ var toList = kotlin_kotlin.$_$.ja;
33
+ var takeLast = kotlin_kotlin.$_$.ca;
34
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.dk;
35
+ var enumEntries = kotlin_kotlin.$_$.sb;
36
+ var initMetadataForCompanion = kotlin_kotlin.$_$.pd;
36
37
  var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.s1;
37
- var Enum = kotlin_kotlin.$_$.si;
38
+ var Enum = kotlin_kotlin.$_$.ti;
38
39
  var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i2;
39
- var enumEntries = kotlin_kotlin.$_$.rb;
40
40
  var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.f;
41
- var lazy = kotlin_kotlin.$_$.ak;
41
+ var lazy = kotlin_kotlin.$_$.bk;
42
42
  var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
43
- var initMetadataForInterface = kotlin_kotlin.$_$.rd;
43
+ var initMetadataForInterface = kotlin_kotlin.$_$.sd;
44
44
  var collectionSizeOrDefault = kotlin_kotlin.$_$.p6;
45
45
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.i;
46
46
  var SecureRandom = kotlin_io_raspberryapps_cardgame_random.$_$.j;
47
- var CoroutineImpl = kotlin_kotlin.$_$.pb;
48
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.za;
49
- var initMetadataForCoroutine = kotlin_kotlin.$_$.pd;
50
- var Result = kotlin_kotlin.$_$.bj;
47
+ var CoroutineImpl = kotlin_kotlin.$_$.qb;
48
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ab;
49
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.qd;
50
+ var Result = kotlin_kotlin.$_$.cj;
51
51
  var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.z2;
52
- var throwOnFailure = kotlin_kotlin.$_$.gk;
52
+ var throwOnFailure = kotlin_kotlin.$_$.hk;
53
53
  var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.c3;
54
54
  var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.b3;
55
55
  var addAll = kotlin_kotlin.$_$.d6;
56
- var until = kotlin_kotlin.$_$.gf;
56
+ var until = kotlin_kotlin.$_$.hf;
57
57
  var count = kotlin_kotlin.$_$.l7;
58
58
  var Collection = kotlin_kotlin.$_$.n5;
59
- var isInterface = kotlin_kotlin.$_$.ce;
60
- var toMutableList = kotlin_kotlin.$_$.oa;
59
+ var isInterface = kotlin_kotlin.$_$.de;
60
+ var toMutableList = kotlin_kotlin.$_$.pa;
61
61
  var riffle = kotlin_io_raspberryapps_cardgame_random.$_$.l;
62
62
  var overhand = kotlin_io_raspberryapps_cardgame_random.$_$.k;
63
63
  var listOf = kotlin_kotlin.$_$.w8;
64
64
  var first = kotlin_kotlin.$_$.z7;
65
- var sorted = kotlin_kotlin.$_$.y9;
65
+ var sorted = kotlin_kotlin.$_$.z9;
66
66
  var asReversed = kotlin_kotlin.$_$.h6;
67
67
  var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.y1;
68
- var equals = kotlin_kotlin.$_$.fd;
69
- var FunctionAdapter = kotlin_kotlin.$_$.sc;
70
- var hashCode = kotlin_kotlin.$_$.md;
68
+ var equals = kotlin_kotlin.$_$.gd;
69
+ var FunctionAdapter = kotlin_kotlin.$_$.tc;
70
+ var hashCode = kotlin_kotlin.$_$.nd;
71
71
  var first_0 = kotlin_kotlin.$_$.y7;
72
- var compareValues = kotlin_kotlin.$_$.xa;
73
- var sortWith = kotlin_kotlin.$_$.w9;
72
+ var compareValues = kotlin_kotlin.$_$.ya;
73
+ var sortWith = kotlin_kotlin.$_$.x9;
74
74
  var lastOrNull = kotlin_kotlin.$_$.q8;
75
75
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.s;
76
- var sortedWith = kotlin_kotlin.$_$.x9;
76
+ var sortedWith = kotlin_kotlin.$_$.y9;
77
77
  var NoSuchElementException_init_$Create$_0 = kotlin_kotlin.$_$.w1;
78
- var compareTo = kotlin_kotlin.$_$.dd;
79
- var toString = kotlin_kotlin.$_$.re;
78
+ var compareTo = kotlin_kotlin.$_$.ed;
79
+ var toString = kotlin_kotlin.$_$.se;
80
80
  var dropLast = kotlin_kotlin.$_$.n7;
81
81
  var plus = kotlin_kotlin.$_$.j9;
82
82
  var minus = kotlin_kotlin.$_$.c9;
@@ -96,11 +96,11 @@
96
96
  initMetadataForClass(CardsRandomProvider, 'CardsRandomProvider', VOID, Enum);
97
97
  function standardShuffledCards$default(cards, times, $super) {
98
98
  times = times === VOID ? 3 : times;
99
- return $super === VOID ? this.t6m(cards, times) : $super.t6m.call(this, cards, times);
99
+ return $super === VOID ? this.u6m(cards, times) : $super.u6m.call(this, cards, times);
100
100
  }
101
101
  function realLifeShuffledCards$default(cards, times, $super) {
102
102
  times = times === VOID ? 20 : times;
103
- return $super === VOID ? this.v6m(cards, times) : $super.v6m.call(this, cards, times);
103
+ return $super === VOID ? this.w6m(cards, times) : $super.w6m.call(this, cards, times);
104
104
  }
105
105
  initMetadataForInterface(CardsDealerProvider, 'CardsDealerProvider', VOID, VOID, VOID, [5]);
106
106
  initMetadataForCompanion(Companion_2);
@@ -113,12 +113,12 @@
113
113
  checkFromIndex = checkFromIndex === VOID ? first(supportedCombinations) : checkFromIndex;
114
114
  includeCardNames = includeCardNames === VOID ? null : includeCardNames;
115
115
  suit = suit === VOID ? null : suit;
116
- return $super === VOID ? this.l6o(cards, supportedCombinations, checkFromIndex, includeCardNames, suit) : $super.l6o.call(this, cards, supportedCombinations, checkFromIndex, includeCardNames, suit);
116
+ return $super === VOID ? this.m6o(cards, supportedCombinations, checkFromIndex, includeCardNames, suit) : $super.m6o.call(this, cards, supportedCombinations, checkFromIndex, includeCardNames, suit);
117
117
  }
118
118
  function findSameCardsNumberCombinations$default(cards, cardsCount, includeCardNames, $super) {
119
119
  cardsCount = cardsCount === VOID ? 4 : cardsCount;
120
120
  includeCardNames = includeCardNames === VOID ? null : includeCardNames;
121
- return $super === VOID ? this.n6o(cards, cardsCount, includeCardNames) : $super.n6o.call(this, cards, cardsCount, includeCardNames);
121
+ return $super === VOID ? this.o6o(cards, cardsCount, includeCardNames) : $super.o6o.call(this, cards, cardsCount, includeCardNames);
122
122
  }
123
123
  initMetadataForInterface(CombinationsCheckerProvider, 'CombinationsCheckerProvider');
124
124
  initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
@@ -129,7 +129,7 @@
129
129
  function CoreConfig() {
130
130
  this.version = '0.0.58';
131
131
  }
132
- protoOf(CoreConfig).j47 = function () {
132
+ protoOf(CoreConfig).k47 = function () {
133
133
  return this.version;
134
134
  };
135
135
  var CoreConfig_instance;
@@ -137,21 +137,21 @@
137
137
  return CoreConfig_instance;
138
138
  }
139
139
  function CardSuitSortingComparator(suit) {
140
- this.s6l_1 = suit;
140
+ this.t6l_1 = suit;
141
141
  }
142
- protoOf(CardSuitSortingComparator).t6l = function (a, b) {
143
- if (!a.v6l() || !b.v6l()) {
142
+ protoOf(CardSuitSortingComparator).u6l = function (a, b) {
143
+ if (!a.w6l() || !b.w6l()) {
144
144
  return 0;
145
145
  }
146
- var suitIndexL = this.s6l_1.o2(a.w6l());
147
- var suitIndexR = this.s6l_1.o2(b.w6l());
148
- var sortedNumberL = imul(suitIndexL, 13) + a.x6l() | 0;
149
- var sortedNumberR = imul(suitIndexR, 13) + b.x6l() | 0;
146
+ var suitIndexL = this.t6l_1.o2(a.x6l());
147
+ var suitIndexR = this.t6l_1.o2(b.x6l());
148
+ var sortedNumberL = imul(suitIndexL, 13) + a.y6l() | 0;
149
+ var sortedNumberR = imul(suitIndexR, 13) + b.y6l() | 0;
150
150
  return sortedNumberL - sortedNumberR | 0;
151
151
  };
152
152
  protoOf(CardSuitSortingComparator).compare = function (a, b) {
153
153
  var tmp = a instanceof GameCard ? a : THROW_CCE();
154
- return this.t6l(tmp, b instanceof GameCard ? b : THROW_CCE());
154
+ return this.u6l(tmp, b instanceof GameCard ? b : THROW_CCE());
155
155
  };
156
156
  function filterByCardName(_this__u8e3s4, name) {
157
157
  // Inline function 'kotlin.collections.filter' call
@@ -169,12 +169,12 @@
169
169
  }
170
170
  function CardNumberComparator() {
171
171
  }
172
- protoOf(CardNumberComparator).t6l = function (a, b) {
173
- return b.x6l() - a.x6l() | 0;
172
+ protoOf(CardNumberComparator).u6l = function (a, b) {
173
+ return b.y6l() - a.y6l() | 0;
174
174
  };
175
175
  protoOf(CardNumberComparator).compare = function (a, b) {
176
176
  var tmp = a instanceof GameCard ? a : THROW_CCE();
177
- return this.t6l(tmp, b instanceof GameCard ? b : THROW_CCE());
177
+ return this.u6l(tmp, b instanceof GameCard ? b : THROW_CCE());
178
178
  };
179
179
  var CardNumberComparator_instance;
180
180
  function CardNumberComparator_getInstance() {
@@ -192,12 +192,12 @@
192
192
  }
193
193
  function CardIndexComparator() {
194
194
  }
195
- protoOf(CardIndexComparator).t6l = function (a, b) {
196
- return a.u6l_1 - b.u6l_1 | 0;
195
+ protoOf(CardIndexComparator).u6l = function (a, b) {
196
+ return a.v6l_1 - b.v6l_1 | 0;
197
197
  };
198
198
  protoOf(CardIndexComparator).compare = function (a, b) {
199
199
  var tmp = a instanceof GameCard ? a : THROW_CCE();
200
- return this.t6l(tmp, b instanceof GameCard ? b : THROW_CCE());
200
+ return this.u6l(tmp, b instanceof GameCard ? b : THROW_CCE());
201
201
  };
202
202
  var CardIndexComparator_instance;
203
203
  function CardIndexComparator_getInstance() {
@@ -292,6 +292,14 @@
292
292
  }
293
293
  return tmp;
294
294
  }
295
+ function values() {
296
+ return [CardName_ACE_getInstance(), CardName_KING_getInstance(), CardName_QUEEN_getInstance(), CardName_JACK_getInstance(), CardName_TEN_getInstance(), CardName_NINE_getInstance(), CardName_EIGHT_getInstance(), CardName_SEVEN_getInstance(), CardName_SIX_getInstance(), CardName_FIVE_getInstance(), CardName_FOUR_getInstance(), CardName_TREE_getInstance(), CardName_TWO_getInstance(), CardName_HIDDEN_getInstance()];
297
+ }
298
+ function get_entries() {
299
+ if ($ENTRIES == null)
300
+ $ENTRIES = enumEntries(values());
301
+ return $ENTRIES;
302
+ }
295
303
  var CardName_entriesInitialized;
296
304
  function CardName_initEntries() {
297
305
  if (CardName_entriesInitialized)
@@ -312,25 +320,26 @@
312
320
  CardName_TWO_instance = new CardName('TWO', 12);
313
321
  CardName_HIDDEN_instance = new CardName('HIDDEN', 13);
314
322
  }
323
+ var $ENTRIES;
315
324
  function Companion() {
316
325
  }
317
- protoOf(Companion).y6l = function (suit, number) {
326
+ protoOf(Companion).z6l = function (suit, number) {
318
327
  return new GameCard(getNumber(Companion_instance_0, getName(Companion_instance_0, number), suit));
319
328
  };
320
- protoOf(Companion).z6l = function (suit, cardNumber) {
329
+ protoOf(Companion).a6m = function (suit, cardNumber) {
321
330
  return new GameCard(getNumber(Companion_instance_0, cardNumber, suit));
322
331
  };
323
- protoOf(Companion).a6m = function (index) {
332
+ protoOf(Companion).b6m = function (index) {
324
333
  return new GameCard(index);
325
334
  };
326
- protoOf(Companion).b6m = function (position, playerIndex, previousHiddenCardWithMaxIndex, reverse) {
335
+ protoOf(Companion).c6m = function (position, playerIndex, previousHiddenCardWithMaxIndex, reverse) {
327
336
  var tmp;
328
337
  if (previousHiddenCardWithMaxIndex == null) {
329
338
  tmp = null;
330
339
  } else {
331
340
  // Inline function 'kotlin.takeIf' call
332
341
  var tmp_0;
333
- if (previousHiddenCardWithMaxIndex.c6m()) {
342
+ if (previousHiddenCardWithMaxIndex.d6m()) {
334
343
  tmp_0 = previousHiddenCardWithMaxIndex;
335
344
  } else {
336
345
  tmp_0 = null;
@@ -338,8 +347,8 @@
338
347
  tmp = tmp_0;
339
348
  }
340
349
  var tmp1_safe_receiver = tmp;
341
- var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.u6l_1;
342
- var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_instance_0.j6m(tmp2_safe_receiver, playerIndex, reverse);
350
+ var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.v6l_1;
351
+ var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_instance_0.k6m(tmp2_safe_receiver, playerIndex, reverse);
343
352
  var tmp_1;
344
353
  if (tmp3_safe_receiver == null) {
345
354
  tmp_1 = null;
@@ -358,12 +367,12 @@
358
367
  var index = tmp_2;
359
368
  return new GameCard(index);
360
369
  };
361
- protoOf(Companion).k6m = function (position, playerIndex, previousHiddenCardWithMaxIndex, reverse, $super) {
370
+ protoOf(Companion).l6m = function (position, playerIndex, previousHiddenCardWithMaxIndex, reverse, $super) {
362
371
  previousHiddenCardWithMaxIndex = previousHiddenCardWithMaxIndex === VOID ? null : previousHiddenCardWithMaxIndex;
363
372
  reverse = reverse === VOID ? false : reverse;
364
- return $super === VOID ? this.b6m(position, playerIndex, previousHiddenCardWithMaxIndex, reverse) : $super.b6m.call(this, position, playerIndex, previousHiddenCardWithMaxIndex, reverse);
373
+ return $super === VOID ? this.c6m(position, playerIndex, previousHiddenCardWithMaxIndex, reverse) : $super.c6m.call(this, position, playerIndex, previousHiddenCardWithMaxIndex, reverse);
365
374
  };
366
- protoOf(Companion).l6m = function (position) {
375
+ protoOf(Companion).m6m = function (position) {
367
376
  var index = 150 + position | 0;
368
377
  return new GameCard(index);
369
378
  };
@@ -469,7 +478,7 @@
469
478
  return tmp;
470
479
  }
471
480
  function _get_isShirt__vd98rp($this) {
472
- return $this.u6l_1 >= 150 && $this.u6l_1 <= 202;
481
+ return $this.v6l_1 >= 150 && $this.v6l_1 <= 202;
473
482
  }
474
483
  function CardName(name, ordinal) {
475
484
  Enum.call(this, name, ordinal);
@@ -478,14 +487,14 @@
478
487
  return getShortName(this);
479
488
  };
480
489
  function Companion_0() {
481
- this.d6m_1 = -1;
482
- this.e6m_1 = 13;
483
- this.f6m_1 = 52;
484
- this.g6m_1 = 150;
485
- this.h6m_1 = 53;
486
- this.i6m_1 = 999;
487
- }
488
- protoOf(Companion_0).j6m = function (_this__u8e3s4, playerIndex, reverse) {
490
+ this.e6m_1 = -1;
491
+ this.f6m_1 = 13;
492
+ this.g6m_1 = 52;
493
+ this.h6m_1 = 150;
494
+ this.i6m_1 = 53;
495
+ this.j6m_1 = 999;
496
+ }
497
+ protoOf(Companion_0).k6m = function (_this__u8e3s4, playerIndex, reverse) {
489
498
  var tmp;
490
499
  if (reverse) {
491
500
  tmp = _this__u8e3s4 + (53 + imul(playerIndex, 14) | 0) | 0;
@@ -555,86 +564,86 @@
555
564
  return CardName_HIDDEN_instance;
556
565
  }
557
566
  function GameCard(index) {
558
- this.u6l_1 = index;
567
+ this.v6l_1 = index;
559
568
  }
560
- protoOf(GameCard).w6l = function () {
569
+ protoOf(GameCard).x6l = function () {
561
570
  var tmp;
562
- var containsArg = this.u6l_1;
571
+ var containsArg = this.v6l_1;
563
572
  if (0 <= containsArg ? containsArg <= 13 : false) {
564
573
  tmp = Suit_DIAMOND_getInstance();
565
574
  } else {
566
- if (this.u6l_1 <= 26) {
575
+ if (this.v6l_1 <= 26) {
567
576
  tmp = Suit_SPADE_getInstance();
568
577
  } else {
569
- if (this.u6l_1 <= 39) {
578
+ if (this.v6l_1 <= 39) {
570
579
  tmp = Suit_HEART_getInstance();
571
580
  } else {
572
- if (this.u6l_1 <= 52) {
581
+ if (this.v6l_1 <= 52) {
573
582
  tmp = Suit_CLUB_getInstance();
574
583
  } else {
575
- throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.u6l_1);
584
+ throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.v6l_1);
576
585
  }
577
586
  }
578
587
  }
579
588
  }
580
589
  return tmp;
581
590
  };
582
- protoOf(GameCard).x6l = function () {
591
+ protoOf(GameCard).y6l = function () {
583
592
  var tmp;
584
- if (this.c6m()) {
593
+ if (this.d6m()) {
585
594
  tmp = -1;
586
595
  } else {
587
- tmp = this.u6l_1 - imul(13, getIndex(this.w6l())) | 0;
596
+ tmp = this.v6l_1 - imul(13, getIndex(this.x6l())) | 0;
588
597
  }
589
598
  return tmp;
590
599
  };
591
600
  protoOf(GameCard).m = function () {
592
- return this.c6m() ? CardName_HIDDEN_getInstance() : getName(Companion_instance_0, this.x6l());
601
+ return this.d6m() ? CardName_HIDDEN_getInstance() : getName(Companion_instance_0, this.y6l());
593
602
  };
594
- protoOf(GameCard).v6l = function () {
595
- return !_get_isShirt__vd98rp(this) && !this.c6m();
603
+ protoOf(GameCard).w6l = function () {
604
+ return !_get_isShirt__vd98rp(this) && !this.d6m();
596
605
  };
597
- protoOf(GameCard).m6m = function () {
598
- return this.u6l_1 === 999;
606
+ protoOf(GameCard).n6m = function () {
607
+ return this.v6l_1 === 999;
599
608
  };
600
- protoOf(GameCard).c6m = function () {
601
- return this.u6l_1 >= 53 && this.u6l_1 <= 105;
609
+ protoOf(GameCard).d6m = function () {
610
+ return this.v6l_1 >= 53 && this.v6l_1 <= 105;
602
611
  };
603
612
  protoOf(GameCard).toString = function () {
604
- return 'GameCard' + this.n6m();
605
- };
606
- protoOf(GameCard).n6m = function () {
607
- return '{' + this.o6m() + ', ' + this.u6l_1 + '}';
613
+ return 'GameCard' + this.o6m();
608
614
  };
609
615
  protoOf(GameCard).o6m = function () {
610
- if (this.m6m()) {
616
+ return '{' + this.p6m() + ', ' + this.v6l_1 + '}';
617
+ };
618
+ protoOf(GameCard).p6m = function () {
619
+ if (this.n6m()) {
611
620
  return 'stub';
612
621
  }
613
- if (this.c6m()) {
622
+ if (this.d6m()) {
614
623
  return 'hidden';
615
624
  }
616
625
  if (_get_isShirt__vd98rp(this)) {
617
626
  return 'shirt';
618
627
  }
619
- return this.w6l().toString() + this.m().toString();
628
+ return this.x6l().toString() + this.m().toString();
620
629
  };
621
630
  protoOf(GameCard).hashCode = function () {
622
- return this.u6l_1;
631
+ return this.v6l_1;
623
632
  };
624
633
  protoOf(GameCard).equals = function (other) {
625
634
  if (this === other)
626
635
  return true;
627
636
  if (!(other instanceof GameCard))
628
637
  return false;
629
- if (!(this.u6l_1 === other.u6l_1))
638
+ if (!(this.v6l_1 === other.v6l_1))
630
639
  return false;
631
640
  return true;
632
641
  };
633
642
  function _get_$cachedSerializer__te6jhj($this) {
634
- return $this.p6m_1.o1();
643
+ return $this.q6m_1.o1();
635
644
  }
636
645
  function Suit$Companion$_anonymous__cbm2iq() {
637
- return createSimpleEnumSerializer('io.raspberryapps.card_game.core.data.models.cards.Suit', values());
646
+ return createSimpleEnumSerializer('io.raspberryapps.card_game.core.data.models.cards.Suit', values_0());
638
647
  }
639
648
  var Suit_DIAMOND_instance;
640
649
  var Suit_SPADE_instance;
@@ -661,25 +670,25 @@
661
670
  }
662
671
  return tmp;
663
672
  }
664
- function values() {
673
+ function values_0() {
665
674
  return [Suit_DIAMOND_getInstance(), Suit_SPADE_getInstance(), Suit_HEART_getInstance(), Suit_CLUB_getInstance()];
666
675
  }
667
- function get_entries() {
668
- if ($ENTRIES == null)
669
- $ENTRIES = enumEntries(values());
670
- return $ENTRIES;
676
+ function get_entries_0() {
677
+ if ($ENTRIES_0 == null)
678
+ $ENTRIES_0 = enumEntries(values_0());
679
+ return $ENTRIES_0;
671
680
  }
672
681
  function Companion_1() {
673
682
  Companion_instance_1 = this;
674
683
  var tmp = this;
675
684
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
676
- tmp.p6m_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
685
+ tmp.q6m_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
677
686
  }
678
- protoOf(Companion_1).h5f = function () {
687
+ protoOf(Companion_1).i5f = function () {
679
688
  return _get_$cachedSerializer__te6jhj(this);
680
689
  };
681
- protoOf(Companion_1).a12 = function (typeParamsSerializers) {
682
- return this.h5f();
690
+ protoOf(Companion_1).b12 = function (typeParamsSerializers) {
691
+ return this.i5f();
683
692
  };
684
693
  var Companion_instance_1;
685
694
  function Companion_getInstance_1() {
@@ -699,7 +708,7 @@
699
708
  Suit_CLUB_instance = new Suit('CLUB', 3);
700
709
  Companion_getInstance_1();
701
710
  }
702
- var $ENTRIES;
711
+ var $ENTRIES_0;
703
712
  function Suit(name, ordinal) {
704
713
  Enum.call(this, name, ordinal);
705
714
  }
@@ -779,7 +788,7 @@
779
788
  return tmp.q9();
780
789
  }
781
790
  function normalizeCards($this, cards, leftCardIndexForEachSuit) {
782
- var oneSuitCount = cards.g1() / get_entries().g1() | 0;
791
+ var oneSuitCount = cards.g1() / get_entries_0().g1() | 0;
783
792
  // Inline function 'kotlin.collections.map' call
784
793
  // Inline function 'kotlin.collections.mapTo' call
785
794
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(cards, 10));
@@ -796,7 +805,7 @@
796
805
  }
797
806
  function Companion_2() {
798
807
  }
799
- protoOf(Companion_2).n6n = function (randomPoolProvider, logger) {
808
+ protoOf(Companion_2).o6n = function (randomPoolProvider, logger) {
800
809
  var tmp0_random = new SecureRandom(logger);
801
810
  return new CardsDealerProviderImpl(tmp0_random, randomPoolProvider, logger);
802
811
  };
@@ -806,12 +815,12 @@
806
815
  }
807
816
  function $createNewShuffledCardDeckCOROUTINE$(_this__u8e3s4, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, resultContinuation) {
808
817
  CoroutineImpl.call(this, resultContinuation);
809
- this.w6n_1 = _this__u8e3s4;
810
- this.x6n_1 = leftCardIndexForEachSuit;
811
- this.y6n_1 = rightCardIndexForEachSuit;
812
- this.z6n_1 = approximateRoundCountForGame;
813
- this.a6o_1 = userData;
814
- this.b6o_1 = provider;
818
+ this.x6n_1 = _this__u8e3s4;
819
+ this.y6n_1 = leftCardIndexForEachSuit;
820
+ this.z6n_1 = rightCardIndexForEachSuit;
821
+ this.a6o_1 = approximateRoundCountForGame;
822
+ this.b6o_1 = userData;
823
+ this.c6o_1 = provider;
815
824
  }
816
825
  protoOf($createNewShuffledCardDeckCOROUTINE$).q9 = function () {
817
826
  var suspendResult = this.k9_1;
@@ -821,17 +830,17 @@
821
830
  switch (tmp) {
822
831
  case 0:
823
832
  this.j9_1 = 4;
824
- var tmp0 = this.b6o_1.a1_1;
833
+ var tmp0 = this.c6o_1.a1_1;
825
834
  if (tmp0 === 0) {
826
835
  var tmp_0 = this;
827
- var it = this.w6n_1.q6m(this.x6n_1, this.y6n_1);
828
- tmp_0.c6o_1 = this.w6n_1.u6m(it);
836
+ var it = this.x6n_1.r6m(this.y6n_1, this.z6n_1);
837
+ tmp_0.d6o_1 = this.x6n_1.v6m(it);
829
838
  this.i9_1 = 3;
830
839
  continue $sm;
831
840
  } else {
832
841
  if (tmp0 === 1) {
833
842
  this.i9_1 = 2;
834
- suspendResult = getRandomOrgCards(this.w6n_1, this.x6n_1, this.y6n_1, this.z6n_1, this.a6o_1, false, this);
843
+ suspendResult = getRandomOrgCards(this.x6n_1, this.y6n_1, this.z6n_1, this.a6o_1, this.b6o_1, false, this);
835
844
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
836
845
  return suspendResult;
837
846
  }
@@ -839,7 +848,7 @@
839
848
  } else {
840
849
  if (tmp0 === 2) {
841
850
  this.i9_1 = 1;
842
- suspendResult = getRandomOrgCards(this.w6n_1, this.x6n_1, this.y6n_1, this.z6n_1, this.a6o_1, true, this);
851
+ suspendResult = getRandomOrgCards(this.x6n_1, this.y6n_1, this.z6n_1, this.a6o_1, this.b6o_1, true, this);
843
852
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
844
853
  return suspendResult;
845
854
  }
@@ -853,15 +862,15 @@
853
862
 
854
863
  break;
855
864
  case 1:
856
- this.c6o_1 = suspendResult;
865
+ this.d6o_1 = suspendResult;
857
866
  this.i9_1 = 3;
858
867
  continue $sm;
859
868
  case 2:
860
- this.c6o_1 = suspendResult;
869
+ this.d6o_1 = suspendResult;
861
870
  this.i9_1 = 3;
862
871
  continue $sm;
863
872
  case 3:
864
- return this.c6o_1;
873
+ return this.d6o_1;
865
874
  case 4:
866
875
  throw this.l9_1;
867
876
  }
@@ -878,12 +887,12 @@
878
887
  };
879
888
  function $getRandomOrgCardsCOROUTINE$(_this__u8e3s4, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, resultContinuation) {
880
889
  CoroutineImpl.call(this, resultContinuation);
881
- this.g6n_1 = _this__u8e3s4;
882
- this.h6n_1 = leftCardIndexForEachSuit;
883
- this.i6n_1 = rightCardIndexForEachSuit;
884
- this.j6n_1 = approximateRoundsCount;
885
- this.k6n_1 = userData;
886
- this.l6n_1 = signed;
890
+ this.h6n_1 = _this__u8e3s4;
891
+ this.i6n_1 = leftCardIndexForEachSuit;
892
+ this.j6n_1 = rightCardIndexForEachSuit;
893
+ this.k6n_1 = approximateRoundsCount;
894
+ this.l6n_1 = userData;
895
+ this.m6n_1 = signed;
887
896
  }
888
897
  protoOf($getRandomOrgCardsCOROUTINE$).q9 = function () {
889
898
  var suspendResult = this.k9_1;
@@ -893,11 +902,11 @@
893
902
  switch (tmp) {
894
903
  case 0:
895
904
  this.j9_1 = 5;
896
- var cardsCount = this.g6n_1.x6m(this.h6n_1, this.i6n_1);
897
- var tmp0_$this = this.g6n_1.e6o_1;
905
+ var cardsCount = this.h6n_1.y6m(this.i6n_1, this.j6n_1);
906
+ var tmp0_$this = this.h6n_1.f6o_1;
898
907
  var tmp1_max = cardsCount - 1 | 0;
899
908
  this.i9_1 = 1;
900
- suspendResult = tmp0_$this.n6g(this.j6n_1, this.k6n_1, 0, tmp1_max, cardsCount, this.l6n_1, VOID, this);
909
+ suspendResult = tmp0_$this.o6g(this.k6n_1, this.l6n_1, 0, tmp1_max, cardsCount, this.m6n_1, VOID, this);
901
910
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
902
911
  return suspendResult;
903
912
  }
@@ -905,32 +914,32 @@
905
914
  this.i9_1 = 2;
906
915
  continue $sm;
907
916
  case 1:
908
- var unboxed = suspendResult.on_1;
917
+ var unboxed = suspendResult.pn_1;
909
918
  suspendResult = new Result(unboxed);
910
919
  this.i9_1 = 2;
911
920
  continue $sm;
912
921
  case 2:
913
- var result = suspendResult.on_1;
922
+ var result = suspendResult.pn_1;
914
923
  if (_Result___get_isSuccess__impl__sndoy8(result)) {
915
924
  var tmp_0 = this;
916
925
  throwOnFailure(result);
917
926
  var tmp_1 = _Result___get_value__impl__bjfvqg(result);
918
927
  var tmp2_cards = ((tmp_1 == null ? true : !(tmp_1 == null)) ? tmp_1 : THROW_CCE()).cards;
919
- var this_0 = normalizeCards(this.g6n_1, tmp2_cards, this.h6n_1);
928
+ var this_0 = normalizeCards(this.h6n_1, tmp2_cards, this.i6n_1);
920
929
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
921
930
  var _iterator__ex2g4s = this_0.t();
922
931
  while (_iterator__ex2g4s.u()) {
923
932
  var item = _iterator__ex2g4s.v();
924
- destination.e1(Companion_instance.a6m(item));
933
+ destination.e1(Companion_instance.b6m(item));
925
934
  }
926
- tmp_0.m6n_1 = destination;
935
+ tmp_0.n6n_1 = destination;
927
936
  this.i9_1 = 4;
928
937
  continue $sm;
929
938
  } else {
930
939
  var exception = Result__exceptionOrNull_impl_p6xea9(result);
931
- this.g6n_1.f6o_1.v('CardsDealerProvider', 'getRandomOrgCards: ' + (exception == null ? null : exception.message), exception);
940
+ this.h6n_1.g6o_1.v('CardsDealerProvider', 'getRandomOrgCards: ' + (exception == null ? null : exception.message), exception);
932
941
  this.i9_1 = 3;
933
- suspendResult = this.g6n_1.r6m(this.h6n_1, this.i6n_1, this.j6n_1, this.k6n_1, CardsRandomProvider_CUSTOM_getInstance(), this);
942
+ suspendResult = this.h6n_1.s6m(this.i6n_1, this.j6n_1, this.k6n_1, this.l6n_1, CardsRandomProvider_CUSTOM_getInstance(), this);
934
943
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
935
944
  return suspendResult;
936
945
  }
@@ -938,11 +947,11 @@
938
947
  }
939
948
 
940
949
  case 3:
941
- this.m6n_1 = suspendResult;
950
+ this.n6n_1 = suspendResult;
942
951
  this.i9_1 = 4;
943
952
  continue $sm;
944
953
  case 4:
945
- return this.m6n_1;
954
+ return this.n6n_1;
946
955
  case 5:
947
956
  throw this.l9_1;
948
957
  }
@@ -958,20 +967,20 @@
958
967
  while (true);
959
968
  };
960
969
  function CardsDealerProviderImpl(random, randomPoolProvider, logger) {
961
- this.d6o_1 = random;
962
- this.e6o_1 = randomPoolProvider;
963
- this.f6o_1 = logger;
970
+ this.e6o_1 = random;
971
+ this.f6o_1 = randomPoolProvider;
972
+ this.g6o_1 = logger;
964
973
  }
965
- protoOf(CardsDealerProviderImpl).q6m = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
974
+ protoOf(CardsDealerProviderImpl).r6m = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
966
975
  // Inline function 'kotlin.collections.flatMap' call
967
- var tmp0 = get_entries();
976
+ var tmp0 = get_entries_0();
968
977
  // Inline function 'kotlin.collections.flatMapTo' call
969
978
  var destination = ArrayList_init_$Create$();
970
979
  var _iterator__ex2g4s = tmp0.t();
971
980
  while (_iterator__ex2g4s.u()) {
972
981
  var element = _iterator__ex2g4s.v();
973
982
  // Inline function 'kotlin.collections.map' call
974
- var this_0 = this.g6o(leftCardIndexForEachSuit, rightCardIndexForEachSuit);
983
+ var this_0 = this.h6o(leftCardIndexForEachSuit, rightCardIndexForEachSuit);
975
984
  // Inline function 'kotlin.collections.mapTo' call
976
985
  var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
977
986
  var inductionVariable = this_0.r1_1;
@@ -981,7 +990,7 @@
981
990
  var item = inductionVariable;
982
991
  inductionVariable = inductionVariable + 1 | 0;
983
992
  var it = item;
984
- var tmp$ret$0 = Companion_instance.y6l(element, it);
993
+ var tmp$ret$0 = Companion_instance.z6l(element, it);
985
994
  destination_0.e1(tmp$ret$0);
986
995
  }
987
996
  while (!(item === last));
@@ -990,27 +999,27 @@
990
999
  }
991
1000
  return destination;
992
1001
  };
993
- protoOf(CardsDealerProviderImpl).g6o = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
1002
+ protoOf(CardsDealerProviderImpl).h6o = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
994
1003
  return until(leftCardIndexForEachSuit, 13 - rightCardIndexForEachSuit | 0);
995
1004
  };
996
- protoOf(CardsDealerProviderImpl).x6m = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
1005
+ protoOf(CardsDealerProviderImpl).y6m = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
997
1006
  // Inline function 'kotlin.collections.sumOf' call
998
1007
  var sum = 0;
999
- var _iterator__ex2g4s = get_entries().t();
1008
+ var _iterator__ex2g4s = get_entries_0().t();
1000
1009
  while (_iterator__ex2g4s.u()) {
1001
1010
  var element = _iterator__ex2g4s.v();
1002
1011
  var tmp = sum;
1003
- sum = tmp + count(this.g6o(leftCardIndexForEachSuit, rightCardIndexForEachSuit)) | 0;
1012
+ sum = tmp + count(this.h6o(leftCardIndexForEachSuit, rightCardIndexForEachSuit)) | 0;
1004
1013
  }
1005
1014
  return sum;
1006
1015
  };
1007
- protoOf(CardsDealerProviderImpl).r6m = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
1016
+ protoOf(CardsDealerProviderImpl).s6m = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
1008
1017
  var tmp = new $createNewShuffledCardDeckCOROUTINE$(this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion);
1009
1018
  tmp.k9_1 = Unit_instance;
1010
1019
  tmp.l9_1 = null;
1011
1020
  return tmp.q9();
1012
1021
  };
1013
- protoOf(CardsDealerProviderImpl).s6m = function (count, cards) {
1022
+ protoOf(CardsDealerProviderImpl).t6m = function (count, cards) {
1014
1023
  // Inline function 'kotlin.collections.mutableListOf' call
1015
1024
  // Inline function 'kotlin.apply' call
1016
1025
  var this_0 = ArrayList_init_$Create$();
@@ -1041,7 +1050,7 @@
1041
1050
  var _iterator__ex2g4s_0 = this_0.t();
1042
1051
  while (_iterator__ex2g4s_0.u()) {
1043
1052
  var element = _iterator__ex2g4s_0.v();
1044
- if (element.x6l() === card.x6l()) {
1053
+ if (element.y6l() === card.y6l()) {
1045
1054
  tmp$ret$2 = true;
1046
1055
  break $l$block_1;
1047
1056
  }
@@ -1056,7 +1065,7 @@
1056
1065
  }
1057
1066
  return this_0;
1058
1067
  };
1059
- protoOf(CardsDealerProviderImpl).t6m = function (cards, times) {
1068
+ protoOf(CardsDealerProviderImpl).u6m = function (cards, times) {
1060
1069
  // Inline function 'kotlin.let' call
1061
1070
  var shuffled = toMutableList(cards);
1062
1071
  var inductionVariable = 0;
@@ -1064,57 +1073,57 @@
1064
1073
  do {
1065
1074
  var i = inductionVariable;
1066
1075
  inductionVariable = inductionVariable + 1 | 0;
1067
- shuffled = this.d6o_1.q6l(shuffled);
1076
+ shuffled = this.e6o_1.r6l(shuffled);
1068
1077
  }
1069
1078
  while (inductionVariable < times);
1070
1079
  return shuffled;
1071
1080
  };
1072
- protoOf(CardsDealerProviderImpl).v6m = function (cards, times) {
1073
- return toList(overhand(riffle(toMutableList(cards), times, this.d6o_1), times, this.d6o_1));
1081
+ protoOf(CardsDealerProviderImpl).w6m = function (cards, times) {
1082
+ return toList(overhand(riffle(toMutableList(cards), times, this.e6o_1), times, this.e6o_1));
1074
1083
  };
1075
1084
  function Companion_3() {
1076
1085
  }
1077
- protoOf(Companion_3).h6o = function () {
1086
+ protoOf(Companion_3).i6o = function () {
1078
1087
  // Inline function 'kotlin.collections.mutableListOf' call
1079
1088
  // Inline function 'kotlin.apply' call
1080
1089
  var this_0 = ArrayList_init_$Create$();
1081
- this_0.i1(listOf([Companion_instance.z6l(Suit_DIAMOND_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.z6l(Suit_CLUB_getInstance(), CardName_NINE_getInstance()), Companion_instance.z6l(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.z6l(Suit_CLUB_getInstance(), CardName_TEN_getInstance()), Companion_instance.z6l(Suit_HEART_getInstance(), CardName_JACK_getInstance()), Companion_instance.z6l(Suit_HEART_getInstance(), CardName_KING_getInstance())]));
1082
- this_0.i1(listOf([Companion_instance.z6l(Suit_CLUB_getInstance(), CardName_JACK_getInstance()), Companion_instance.z6l(Suit_SPADE_getInstance(), CardName_ACE_getInstance()), Companion_instance.z6l(Suit_DIAMOND_getInstance(), CardName_NINE_getInstance()), Companion_instance.z6l(Suit_DIAMOND_getInstance(), CardName_TEN_getInstance()), Companion_instance.z6l(Suit_DIAMOND_getInstance(), CardName_JACK_getInstance()), Companion_instance.z6l(Suit_HEART_getInstance(), CardName_EIGHT_getInstance())]));
1083
- this_0.i1(listOf([Companion_instance.z6l(Suit_CLUB_getInstance(), CardName_QUEEN_getInstance()), Companion_instance.z6l(Suit_HEART_getInstance(), CardName_ACE_getInstance()), Companion_instance.z6l(Suit_HEART_getInstance(), CardName_QUEEN_getInstance()), Companion_instance.z6l(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.z6l(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.z6l(Suit_CLUB_getInstance(), CardName_KING_getInstance())]));
1084
- this_0.i1(listOf([Companion_instance.z6l(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.z6l(Suit_SPADE_getInstance(), CardName_TEN_getInstance()), Companion_instance.z6l(Suit_HEART_getInstance(), CardName_TEN_getInstance()), Companion_instance.z6l(Suit_SPADE_getInstance(), CardName_JACK_getInstance()), Companion_instance.z6l(Suit_DIAMOND_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.z6l(Suit_SPADE_getInstance(), CardName_QUEEN_getInstance())]));
1085
- this_0.i1(listOf([Companion_instance.z6l(Suit_DIAMOND_getInstance(), CardName_ACE_getInstance()), Companion_instance.z6l(Suit_CLUB_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.z6l(Suit_DIAMOND_getInstance(), CardName_KING_getInstance()), Companion_instance.z6l(Suit_SPADE_getInstance(), CardName_NINE_getInstance()), Companion_instance.z6l(Suit_CLUB_getInstance(), CardName_ACE_getInstance()), Companion_instance.z6l(Suit_SPADE_getInstance(), CardName_KING_getInstance()), Companion_instance.z6l(Suit_DIAMOND_getInstance(), CardName_QUEEN_getInstance()), Companion_instance.z6l(Suit_HEART_getInstance(), CardName_NINE_getInstance())]));
1090
+ this_0.i1(listOf([Companion_instance.a6m(Suit_DIAMOND_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.a6m(Suit_CLUB_getInstance(), CardName_NINE_getInstance()), Companion_instance.a6m(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.a6m(Suit_CLUB_getInstance(), CardName_TEN_getInstance()), Companion_instance.a6m(Suit_HEART_getInstance(), CardName_JACK_getInstance()), Companion_instance.a6m(Suit_HEART_getInstance(), CardName_KING_getInstance())]));
1091
+ this_0.i1(listOf([Companion_instance.a6m(Suit_CLUB_getInstance(), CardName_JACK_getInstance()), Companion_instance.a6m(Suit_SPADE_getInstance(), CardName_ACE_getInstance()), Companion_instance.a6m(Suit_DIAMOND_getInstance(), CardName_NINE_getInstance()), Companion_instance.a6m(Suit_DIAMOND_getInstance(), CardName_TEN_getInstance()), Companion_instance.a6m(Suit_DIAMOND_getInstance(), CardName_JACK_getInstance()), Companion_instance.a6m(Suit_HEART_getInstance(), CardName_EIGHT_getInstance())]));
1092
+ this_0.i1(listOf([Companion_instance.a6m(Suit_CLUB_getInstance(), CardName_QUEEN_getInstance()), Companion_instance.a6m(Suit_HEART_getInstance(), CardName_ACE_getInstance()), Companion_instance.a6m(Suit_HEART_getInstance(), CardName_QUEEN_getInstance()), Companion_instance.a6m(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.a6m(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.a6m(Suit_CLUB_getInstance(), CardName_KING_getInstance())]));
1093
+ this_0.i1(listOf([Companion_instance.a6m(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.a6m(Suit_SPADE_getInstance(), CardName_TEN_getInstance()), Companion_instance.a6m(Suit_HEART_getInstance(), CardName_TEN_getInstance()), Companion_instance.a6m(Suit_SPADE_getInstance(), CardName_JACK_getInstance()), Companion_instance.a6m(Suit_DIAMOND_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.a6m(Suit_SPADE_getInstance(), CardName_QUEEN_getInstance())]));
1094
+ this_0.i1(listOf([Companion_instance.a6m(Suit_DIAMOND_getInstance(), CardName_ACE_getInstance()), Companion_instance.a6m(Suit_CLUB_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.a6m(Suit_DIAMOND_getInstance(), CardName_KING_getInstance()), Companion_instance.a6m(Suit_SPADE_getInstance(), CardName_NINE_getInstance()), Companion_instance.a6m(Suit_CLUB_getInstance(), CardName_ACE_getInstance()), Companion_instance.a6m(Suit_SPADE_getInstance(), CardName_KING_getInstance()), Companion_instance.a6m(Suit_DIAMOND_getInstance(), CardName_QUEEN_getInstance()), Companion_instance.a6m(Suit_HEART_getInstance(), CardName_NINE_getInstance())]));
1086
1095
  return this_0;
1087
1096
  };
1088
- protoOf(Companion_3).i6o = function () {
1089
- return listOf([Companion_instance.z6l(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.z6l(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.z6l(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.z6l(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance())]);
1097
+ protoOf(Companion_3).j6o = function () {
1098
+ return listOf([Companion_instance.a6m(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.a6m(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.a6m(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.a6m(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance())]);
1090
1099
  };
1091
1100
  var Companion_instance_3;
1092
1101
  function Companion_getInstance_3() {
1093
1102
  return Companion_instance_3;
1094
1103
  }
1095
1104
  function FakeCardsDealerProvider(cards, cardsForLot) {
1096
- cards = cards === VOID ? Companion_instance_3.h6o() : cards;
1097
- cardsForLot = cardsForLot === VOID ? Companion_instance_3.i6o() : cardsForLot;
1098
- this.j6o_1 = cards;
1099
- this.k6o_1 = cardsForLot;
1105
+ cards = cards === VOID ? Companion_instance_3.i6o() : cards;
1106
+ cardsForLot = cardsForLot === VOID ? Companion_instance_3.j6o() : cardsForLot;
1107
+ this.k6o_1 = cards;
1108
+ this.l6o_1 = cardsForLot;
1100
1109
  }
1101
- protoOf(FakeCardsDealerProvider).q6m = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
1102
- return this.j6o_1;
1103
- };
1104
- protoOf(FakeCardsDealerProvider).r6m = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
1105
- return this.j6o_1;
1110
+ protoOf(FakeCardsDealerProvider).r6m = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
1111
+ return this.k6o_1;
1106
1112
  };
1107
- protoOf(FakeCardsDealerProvider).s6m = function (count, cards) {
1113
+ protoOf(FakeCardsDealerProvider).s6m = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
1108
1114
  return this.k6o_1;
1109
1115
  };
1110
- protoOf(FakeCardsDealerProvider).t6m = function (cards, times) {
1116
+ protoOf(FakeCardsDealerProvider).t6m = function (count, cards) {
1117
+ return this.l6o_1;
1118
+ };
1119
+ protoOf(FakeCardsDealerProvider).u6m = function (cards, times) {
1111
1120
  return cards;
1112
1121
  };
1113
- protoOf(FakeCardsDealerProvider).v6m = function (cards, times) {
1122
+ protoOf(FakeCardsDealerProvider).w6m = function (cards, times) {
1114
1123
  return cards;
1115
1124
  };
1116
- protoOf(FakeCardsDealerProvider).x6m = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
1117
- return this.j6o_1.g1();
1125
+ protoOf(FakeCardsDealerProvider).y6m = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
1126
+ return this.k6o_1.g1();
1118
1127
  };
1119
1128
  function CombinationsCheckerProvider() {
1120
1129
  }
@@ -1141,16 +1150,16 @@
1141
1150
  return takeLast(cards, longestCombinationSupport);
1142
1151
  }
1143
1152
  function sam$kotlin_Comparator$0(function_0) {
1144
- this.q6o_1 = function_0;
1153
+ this.r6o_1 = function_0;
1145
1154
  }
1146
1155
  protoOf(sam$kotlin_Comparator$0).hd = function (a, b) {
1147
- return this.q6o_1(a, b);
1156
+ return this.r6o_1(a, b);
1148
1157
  };
1149
1158
  protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
1150
1159
  return this.hd(a, b);
1151
1160
  };
1152
1161
  protoOf(sam$kotlin_Comparator$0).s3 = function () {
1153
- return this.q6o_1;
1162
+ return this.r6o_1;
1154
1163
  };
1155
1164
  protoOf(sam$kotlin_Comparator$0).equals = function (other) {
1156
1165
  var tmp;
@@ -1172,13 +1181,13 @@
1172
1181
  };
1173
1182
  function CombinationsCheckerProviderImpl$createCombinationsFromCardsInRow$lambda(a, b) {
1174
1183
  // Inline function 'kotlin.comparisons.compareValuesBy' call
1175
- var tmp = first_0(a).u6l_1;
1176
- var tmp$ret$1 = first_0(b).u6l_1;
1184
+ var tmp = first_0(a).v6l_1;
1185
+ var tmp$ret$1 = first_0(b).v6l_1;
1177
1186
  return compareValues(tmp, tmp$ret$1);
1178
1187
  }
1179
1188
  function CombinationsCheckerProviderImpl() {
1180
1189
  }
1181
- protoOf(CombinationsCheckerProviderImpl).l6o = function (cards, supportedCombinations, checkFromIndex, includeCardNames, suit) {
1190
+ protoOf(CombinationsCheckerProviderImpl).m6o = function (cards, supportedCombinations, checkFromIndex, includeCardNames, suit) {
1182
1191
  // Inline function 'kotlin.apply' call
1183
1192
  var this_0 = toMutableList(cards);
1184
1193
  sortWith(this_0, CardIndexComparator_instance);
@@ -1188,7 +1197,7 @@
1188
1197
  var _iterator__ex2g4s = this_0.t();
1189
1198
  while (_iterator__ex2g4s.u()) {
1190
1199
  var element = _iterator__ex2g4s.v();
1191
- if (element.v6l()) {
1200
+ if (element.w6l()) {
1192
1201
  destination.e1(element);
1193
1202
  }
1194
1203
  }
@@ -1205,14 +1214,14 @@
1205
1214
  inductionVariable = inductionVariable + 1 | 0;
1206
1215
  var previousCard = lastOrNull(combinationCards);
1207
1216
  var currentCard = sortedByIndexCards.h1(i);
1208
- var isNextInRow = !(previousCard == null) && currentCard.u6l_1 === (previousCard.u6l_1 + 1 | 0) && currentCard.w6l().equals(previousCard.w6l());
1217
+ var isNextInRow = !(previousCard == null) && currentCard.v6l_1 === (previousCard.v6l_1 + 1 | 0) && currentCard.x6l().equals(previousCard.x6l());
1209
1218
  var passedCardNamesCheck = includeCardNames == null || includeCardNames.m2(currentCard.m());
1210
- var passedSuitCheck = suit == null || currentCard.w6l().equals(suit);
1219
+ var passedSuitCheck = suit == null || currentCard.x6l().equals(suit);
1211
1220
  if (isNextInRow && passedSuitCheck && passedCardNamesCheck) {
1212
1221
  combinationCards.e1(currentCard);
1213
1222
  } else {
1214
1223
  if (combinationCards.g1() > (checkFromIndex - 1 | 0)) {
1215
- combinations.i1(this.p6o(toMutableList(combinationCards), supportedCombinations));
1224
+ combinations.i1(this.q6o(toMutableList(combinationCards), supportedCombinations));
1216
1225
  }
1217
1226
  combinationCards.b3();
1218
1227
  if (passedSuitCheck && passedCardNamesCheck) {
@@ -1222,11 +1231,11 @@
1222
1231
  }
1223
1232
  while (inductionVariable <= last);
1224
1233
  if (combinationCards.g1() > (checkFromIndex - 1 | 0)) {
1225
- combinations.i1(this.p6o(toMutableList(combinationCards), supportedCombinations));
1234
+ combinations.i1(this.q6o(toMutableList(combinationCards), supportedCombinations));
1226
1235
  }
1227
1236
  return combinations;
1228
1237
  };
1229
- protoOf(CombinationsCheckerProviderImpl).n6o = function (cards, cardsCount, includeCardNames) {
1238
+ protoOf(CombinationsCheckerProviderImpl).o6o = function (cards, cardsCount, includeCardNames) {
1230
1239
  // Inline function 'kotlin.apply' call
1231
1240
  var this_0 = toMutableList(cards);
1232
1241
  sortWith(this_0, CardIndexComparator_instance);
@@ -1236,7 +1245,7 @@
1236
1245
  var _iterator__ex2g4s = this_0.t();
1237
1246
  while (_iterator__ex2g4s.u()) {
1238
1247
  var element = _iterator__ex2g4s.v();
1239
- if (element.v6l()) {
1248
+ if (element.w6l()) {
1240
1249
  destination.e1(element);
1241
1250
  }
1242
1251
  }
@@ -1257,7 +1266,7 @@
1257
1266
  var _iterator__ex2g4s_1 = sortedByNumberCards.t();
1258
1267
  while (_iterator__ex2g4s_1.u()) {
1259
1268
  var element_1 = _iterator__ex2g4s_1.v();
1260
- var key = element_1.x6l();
1269
+ var key = element_1.y6l();
1261
1270
  // Inline function 'kotlin.collections.getOrPut' call
1262
1271
  var value = destination_1.v2(key);
1263
1272
  var tmp;
@@ -1294,7 +1303,7 @@
1294
1303
  }
1295
1304
  return destination_3;
1296
1305
  };
1297
- protoOf(CombinationsCheckerProviderImpl).p6o = function (cards, supportedCombinations) {
1306
+ protoOf(CombinationsCheckerProviderImpl).q6o = function (cards, supportedCombinations) {
1298
1307
  // Inline function 'kotlin.collections.minOf' call
1299
1308
  var iterator = supportedCombinations.t();
1300
1309
  if (!iterator.u())
@@ -1324,28 +1333,28 @@
1324
1333
  function DealerReducer() {
1325
1334
  }
1326
1335
  function DealerReducerImpl(logger, enableLogs) {
1327
- this.u6o_1 = logger;
1328
- this.v6o_1 = enableLogs;
1336
+ this.v6o_1 = logger;
1337
+ this.w6o_1 = enableLogs;
1329
1338
  }
1330
- protoOf(DealerReducerImpl).r6o = function (cards, cardsToRemove) {
1339
+ protoOf(DealerReducerImpl).s6o = function (cards, cardsToRemove) {
1331
1340
  var list = cards;
1332
1341
  var _iterator__ex2g4s = cardsToRemove.t();
1333
1342
  while (_iterator__ex2g4s.u()) {
1334
1343
  var gameCard = _iterator__ex2g4s.v();
1335
- list = this.s6o(list, gameCard);
1344
+ list = this.t6o(list, gameCard);
1336
1345
  }
1337
1346
  return list;
1338
1347
  };
1339
- protoOf(DealerReducerImpl).s6o = function (cards, cardToRemove) {
1348
+ protoOf(DealerReducerImpl).t6o = function (cards, cardToRemove) {
1340
1349
  var tmp;
1341
- if (!cardToRemove.c6m() && cards.m2(cardToRemove)) {
1342
- if (this.v6o_1) {
1343
- this.u6o_1.d('Dealer', 'Card removed: ' + cardToRemove.toString() + ', size: ' + (cards.g1() - 1 | 0));
1350
+ if (!cardToRemove.d6m() && cards.m2(cardToRemove)) {
1351
+ if (this.w6o_1) {
1352
+ this.v6o_1.d('Dealer', 'Card removed: ' + cardToRemove.toString() + ', size: ' + (cards.g1() - 1 | 0));
1344
1353
  }
1345
1354
  tmp = minus(cards, cardToRemove);
1346
1355
  } else {
1347
- if (this.v6o_1) {
1348
- this.u6o_1.d('Dealer', 'Card removed as hidden: ' + cardToRemove.toString() + ', size: ' + (cards.g1() - 1 | 0));
1356
+ if (this.w6o_1) {
1357
+ this.v6o_1.d('Dealer', 'Card removed as hidden: ' + cardToRemove.toString() + ', size: ' + (cards.g1() - 1 | 0));
1349
1358
  }
1350
1359
  // Inline function 'kotlin.collections.filterNot' call
1351
1360
  // Inline function 'kotlin.collections.filterNotTo' call
@@ -1353,7 +1362,7 @@
1353
1362
  var _iterator__ex2g4s = cards.t();
1354
1363
  while (_iterator__ex2g4s.u()) {
1355
1364
  var element = _iterator__ex2g4s.v();
1356
- if (!element.c6m()) {
1365
+ if (!element.d6m()) {
1357
1366
  destination.e1(element);
1358
1367
  }
1359
1368
  }
@@ -1364,34 +1373,34 @@
1364
1373
  var _iterator__ex2g4s_0 = cards.t();
1365
1374
  while (_iterator__ex2g4s_0.u()) {
1366
1375
  var element_0 = _iterator__ex2g4s_0.v();
1367
- if (element_0.c6m()) {
1376
+ if (element_0.d6m()) {
1368
1377
  destination_0.e1(element_0);
1369
1378
  }
1370
1379
  }
1371
1380
  var hiddenCards = destination_0;
1372
1381
  if (hiddenCards.r()) {
1373
- this.u6o_1.w('Dealer', "Can't find card to delete for player, " + ('cards:' + toString(cards) + ', ') + ('cardToRemove: ' + cardToRemove.toString()));
1382
+ this.v6o_1.w('Dealer', "Can't find card to delete for player, " + ('cards:' + toString(cards) + ', ') + ('cardToRemove: ' + cardToRemove.toString()));
1374
1383
  }
1375
1384
  tmp = plus(notHiddenCards, dropLast(hiddenCards, 1));
1376
1385
  }
1377
1386
  return tmp;
1378
1387
  };
1379
- protoOf(DealerReducerImpl).t6o = function (cards, cardToAdd) {
1380
- if (this.v6o_1) {
1381
- this.u6o_1.d('Dealer', 'Card added: ' + cardToAdd.toString() + ', size: ' + (cards.g1() + 1 | 0));
1388
+ protoOf(DealerReducerImpl).u6o = function (cards, cardToAdd) {
1389
+ if (this.w6o_1) {
1390
+ this.v6o_1.d('Dealer', 'Card added: ' + cardToAdd.toString() + ', size: ' + (cards.g1() + 1 | 0));
1382
1391
  }
1383
1392
  if (cards.m2(cardToAdd)) {
1384
- this.u6o_1.w('Dealer', 'Card already exists for player, ' + ('cards:' + toString(cards) + ', ') + ('cardToAdd: ' + cardToAdd.toString()));
1393
+ this.v6o_1.w('Dealer', 'Card already exists for player, ' + ('cards:' + toString(cards) + ', ') + ('cardToAdd: ' + cardToAdd.toString()));
1385
1394
  }
1386
1395
  return plus_0(cards, cardToAdd);
1387
1396
  };
1388
1397
  //region block: post-declaration
1389
- protoOf(CardsDealerProviderImpl).u6m = standardShuffledCards$default;
1390
- protoOf(CardsDealerProviderImpl).w6m = realLifeShuffledCards$default;
1391
- protoOf(FakeCardsDealerProvider).u6m = standardShuffledCards$default;
1392
- protoOf(FakeCardsDealerProvider).w6m = realLifeShuffledCards$default;
1393
- protoOf(CombinationsCheckerProviderImpl).m6o = findCardsInRowCombinations$default;
1394
- protoOf(CombinationsCheckerProviderImpl).o6o = findSameCardsNumberCombinations$default;
1398
+ protoOf(CardsDealerProviderImpl).v6m = standardShuffledCards$default;
1399
+ protoOf(CardsDealerProviderImpl).x6m = realLifeShuffledCards$default;
1400
+ protoOf(FakeCardsDealerProvider).v6m = standardShuffledCards$default;
1401
+ protoOf(FakeCardsDealerProvider).x6m = realLifeShuffledCards$default;
1402
+ protoOf(CombinationsCheckerProviderImpl).n6o = findCardsInRowCombinations$default;
1403
+ protoOf(CombinationsCheckerProviderImpl).p6o = findSameCardsNumberCombinations$default;
1395
1404
  //endregion
1396
1405
  //region block: init
1397
1406
  CoreConfig_instance = new CoreConfig();
@@ -1430,19 +1439,20 @@
1430
1439
  _.$_$.o = Companion_getInstance_1;
1431
1440
  _.$_$.p = Companion_instance_2;
1432
1441
  _.$_$.q = CardSuitSortingComparator;
1433
- _.$_$.r = GameCard;
1434
- _.$_$.s = get_entries;
1435
- _.$_$.t = values;
1436
- _.$_$.u = Suit;
1437
- _.$_$.v = distributeCardsBottom;
1438
- _.$_$.w = distributeCardsTop;
1439
- _.$_$.x = filterByCardName;
1440
- _.$_$.y = CardsDealerProvider;
1441
- _.$_$.z = FakeCardsDealerProvider;
1442
- _.$_$.a1 = CombinationsCheckerProviderImpl;
1443
- _.$_$.b1 = CombinationsCheckerProvider;
1444
- _.$_$.c1 = DealerReducerImpl;
1445
- _.$_$.d1 = DealerReducer;
1442
+ _.$_$.r = get_entries;
1443
+ _.$_$.s = GameCard;
1444
+ _.$_$.t = get_entries_0;
1445
+ _.$_$.u = values_0;
1446
+ _.$_$.v = Suit;
1447
+ _.$_$.w = distributeCardsBottom;
1448
+ _.$_$.x = distributeCardsTop;
1449
+ _.$_$.y = filterByCardName;
1450
+ _.$_$.z = CardsDealerProvider;
1451
+ _.$_$.a1 = FakeCardsDealerProvider;
1452
+ _.$_$.b1 = CombinationsCheckerProviderImpl;
1453
+ _.$_$.c1 = CombinationsCheckerProvider;
1454
+ _.$_$.d1 = DealerReducerImpl;
1455
+ _.$_$.e1 = DealerReducer;
1446
1456
  //endregion
1447
1457
  return _;
1448
1458
  }));