game_client_logic_deb 1.8.360 → 1.8.364

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 (59) hide show
  1. package/Kosi-Kaverit-kaverit.js +95 -95
  2. package/Kosi-Kaverit-kaverit.js.map +1 -1
  3. package/Kosi-Kodein-kodein-di.js +797 -794
  4. package/Kosi-Kodein-kodein-di.js.map +1 -1
  5. package/Kotlin-DateTime-library-kotlinx-datetime.js +2091 -2030
  6. package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
  7. package/Logic_Debertz-core.js +1859 -1900
  8. package/Logic_Debertz-core.js.map +1 -1
  9. package/Logic_Debertz-engine.js +18086 -18114
  10. package/Logic_Debertz-engine.js.map +1 -1
  11. package/Logic_Debertz-game_client.d.ts +28 -1
  12. package/Logic_Debertz-game_client.js +5347 -5633
  13. package/Logic_Debertz-game_client.js.map +1 -1
  14. package/error-library-error.js +7 -7
  15. package/kotlin-kotlin-stdlib.js +5728 -5677
  16. package/kotlin-kotlin-stdlib.js.map +1 -1
  17. package/kotlinx-atomicfu.js +83 -79
  18. package/kotlinx-atomicfu.js.map +1 -1
  19. package/kotlinx-coroutines-core.js +3214 -3217
  20. package/kotlinx-coroutines-core.js.map +1 -1
  21. package/kotlinx-io-kotlinx-io-core.js +431 -415
  22. package/kotlinx-io-kotlinx-io-core.js.map +1 -1
  23. package/kotlinx-serialization-kotlinx-serialization-core.js +2654 -2650
  24. package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
  25. package/kotlinx-serialization-kotlinx-serialization-json.js +1803 -1791
  26. package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
  27. package/ktor-ktor-client-content-negotiation.js +262 -269
  28. package/ktor-ktor-client-content-negotiation.js.map +1 -1
  29. package/ktor-ktor-client-core.js +2653 -2729
  30. package/ktor-ktor-client-core.js.map +1 -1
  31. package/ktor-ktor-client-logging.js +581 -606
  32. package/ktor-ktor-client-logging.js.map +1 -1
  33. package/ktor-ktor-events.js +13 -13
  34. package/ktor-ktor-http.js +903 -899
  35. package/ktor-ktor-http.js.map +1 -1
  36. package/ktor-ktor-io.js +1985 -1976
  37. package/ktor-ktor-io.js.map +1 -1
  38. package/ktor-ktor-serialization-kotlinx-json.js +9 -9
  39. package/ktor-ktor-serialization-kotlinx.js +300 -316
  40. package/ktor-ktor-serialization-kotlinx.js.map +1 -1
  41. package/ktor-ktor-serialization.js +133 -141
  42. package/ktor-ktor-serialization.js.map +1 -1
  43. package/ktor-ktor-utils.js +846 -856
  44. package/ktor-ktor-utils.js.map +1 -1
  45. package/ktor-ktor-websockets.js +61 -61
  46. package/ktor-ktor-websockets.js.map +1 -1
  47. package/package.json +1 -1
  48. package/random-library-crypto-rand.js +16 -16
  49. package/random-library-crypto-rand.js.map +1 -1
  50. package/random-library-secure-random.js +10 -10
  51. package/random-library-secure-random.js.map +1 -1
  52. package/raspberry-cardgame-lib-core.js +379 -382
  53. package/raspberry-cardgame-lib-core.js.map +1 -1
  54. package/raspberry-cardgame-lib-logger.js +119 -119
  55. package/raspberry-cardgame-lib-logger.js.map +1 -1
  56. package/raspberry-cardgame-lib-random.js +1095 -1119
  57. package/raspberry-cardgame-lib-random.js.map +1 -1
  58. package/uuid.js +39 -39
  59. package/uuid.js.map +1 -1
@@ -19,68 +19,68 @@
19
19
  'use strict';
20
20
  //region block: imports
21
21
  var imul = Math.imul;
22
- var protoOf = kotlin_kotlin.$_$.qc;
23
- var initMetadataForObject = kotlin_kotlin.$_$.ub;
24
- var defineProp = kotlin_kotlin.$_$.hb;
25
- var THROW_CCE = kotlin_kotlin.$_$.rg;
26
- var Comparator = kotlin_kotlin.$_$.dg;
27
- var VOID = kotlin_kotlin.$_$.f;
28
- var initMetadataForClass = kotlin_kotlin.$_$.pb;
29
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
30
- var Unit_instance = kotlin_kotlin.$_$.j5;
31
- var take = kotlin_kotlin.$_$.j9;
32
- var toList = kotlin_kotlin.$_$.n9;
33
- var takeLast = kotlin_kotlin.$_$.i9;
34
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.ph;
35
- var initMetadataForCompanion = kotlin_kotlin.$_$.qb;
36
- var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.t1;
37
- var Enum = kotlin_kotlin.$_$.gg;
22
+ var protoOf = kotlin_kotlin.$_$.hd;
23
+ var initMetadataForObject = kotlin_kotlin.$_$.mc;
24
+ var defineProp = kotlin_kotlin.$_$.zb;
25
+ var VOID = kotlin_kotlin.$_$.b;
26
+ var THROW_CCE = kotlin_kotlin.$_$.lh;
27
+ var Comparator = kotlin_kotlin.$_$.xg;
28
+ var initMetadataForClass = kotlin_kotlin.$_$.hc;
29
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.h;
30
+ var Unit_instance = kotlin_kotlin.$_$.f5;
31
+ var take = kotlin_kotlin.$_$.f9;
32
+ var toList = kotlin_kotlin.$_$.j9;
33
+ var takeLast = kotlin_kotlin.$_$.e9;
34
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.ji;
35
+ var initMetadataForCompanion = kotlin_kotlin.$_$.ic;
36
+ var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.p1;
37
+ var Enum = kotlin_kotlin.$_$.ah;
38
38
  var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h2;
39
- var enumEntries = kotlin_kotlin.$_$.ta;
40
- var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.i;
41
- var lazy = kotlin_kotlin.$_$.nh;
39
+ var enumEntries = kotlin_kotlin.$_$.pa;
40
+ var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.e;
41
+ var lazy = kotlin_kotlin.$_$.hi;
42
42
  var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
43
- var initMetadataForInterface = kotlin_kotlin.$_$.sb;
44
- var collectionSizeOrDefault = kotlin_kotlin.$_$.m6;
45
- var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.k;
43
+ var initMetadataForInterface = kotlin_kotlin.$_$.kc;
44
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.i6;
45
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.g;
46
46
  var SecureRandom = kotlin_io_raspberryapps_cardgame_random.$_$.j;
47
- var CoroutineImpl = kotlin_kotlin.$_$.ra;
48
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ca;
49
- var initMetadataForCoroutine = kotlin_kotlin.$_$.rb;
50
- var Result = kotlin_kotlin.$_$.pg;
51
- var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.y2;
52
- var throwOnFailure = kotlin_kotlin.$_$.th;
53
- var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.b3;
54
- var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.a3;
55
- var addAll = kotlin_kotlin.$_$.a6;
56
- var until = kotlin_kotlin.$_$.id;
57
- var count = kotlin_kotlin.$_$.d7;
58
- var Collection = kotlin_kotlin.$_$.l5;
59
- var isInterface = kotlin_kotlin.$_$.dc;
60
- var toMutableList = kotlin_kotlin.$_$.r9;
47
+ var CoroutineImpl = kotlin_kotlin.$_$.na;
48
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.y9;
49
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.jc;
50
+ var Result = kotlin_kotlin.$_$.jh;
51
+ var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.u2;
52
+ var throwOnFailure = kotlin_kotlin.$_$.ni;
53
+ var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.x2;
54
+ var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.w2;
55
+ var addAll = kotlin_kotlin.$_$.w5;
56
+ var until = kotlin_kotlin.$_$.yd;
57
+ var count = kotlin_kotlin.$_$.z6;
58
+ var Collection = kotlin_kotlin.$_$.h5;
59
+ var isInterface = kotlin_kotlin.$_$.vc;
60
+ var toMutableList = kotlin_kotlin.$_$.n9;
61
61
  var riffle = kotlin_io_raspberryapps_cardgame_random.$_$.l;
62
62
  var overhand = kotlin_io_raspberryapps_cardgame_random.$_$.k;
63
- var listOf = kotlin_kotlin.$_$.k8;
64
- var first = kotlin_kotlin.$_$.p7;
65
- var sorted = kotlin_kotlin.$_$.g9;
66
- var asReversed = kotlin_kotlin.$_$.e6;
67
- var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.a2;
68
- var equals = kotlin_kotlin.$_$.ib;
69
- var FunctionAdapter = kotlin_kotlin.$_$.va;
70
- var hashCode = kotlin_kotlin.$_$.ob;
71
- var first_0 = kotlin_kotlin.$_$.o7;
72
- var compareValues = kotlin_kotlin.$_$.aa;
73
- var sortWith = kotlin_kotlin.$_$.e9;
74
- var lastOrNull = kotlin_kotlin.$_$.e8;
75
- var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.u;
76
- var sortedWith = kotlin_kotlin.$_$.f9;
77
- var NoSuchElementException_init_$Create$_0 = kotlin_kotlin.$_$.y1;
78
- var compareTo = kotlin_kotlin.$_$.gb;
79
- var toString = kotlin_kotlin.$_$.uc;
80
- var dropLast = kotlin_kotlin.$_$.f7;
81
- var plus = kotlin_kotlin.$_$.t8;
82
- var minus = kotlin_kotlin.$_$.o8;
83
- var plus_0 = kotlin_kotlin.$_$.u8;
63
+ var listOf = kotlin_kotlin.$_$.g8;
64
+ var first = kotlin_kotlin.$_$.l7;
65
+ var sorted = kotlin_kotlin.$_$.c9;
66
+ var asReversed = kotlin_kotlin.$_$.a6;
67
+ var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.w1;
68
+ var equals = kotlin_kotlin.$_$.ac;
69
+ var FunctionAdapter = kotlin_kotlin.$_$.nb;
70
+ var hashCode = kotlin_kotlin.$_$.gc;
71
+ var first_0 = kotlin_kotlin.$_$.k7;
72
+ var compareValues = kotlin_kotlin.$_$.w9;
73
+ var sortWith = kotlin_kotlin.$_$.a9;
74
+ var lastOrNull = kotlin_kotlin.$_$.a8;
75
+ var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.q;
76
+ var sortedWith = kotlin_kotlin.$_$.b9;
77
+ var NoSuchElementException_init_$Create$_0 = kotlin_kotlin.$_$.u1;
78
+ var compareTo = kotlin_kotlin.$_$.yb;
79
+ var toString = kotlin_kotlin.$_$.kd;
80
+ var dropLast = kotlin_kotlin.$_$.b7;
81
+ var plus = kotlin_kotlin.$_$.p8;
82
+ var minus = kotlin_kotlin.$_$.k8;
83
+ var plus_0 = kotlin_kotlin.$_$.q8;
84
84
  //endregion
85
85
  //region block: pre-declaration
86
86
  initMetadataForObject(CoreConfig, 'CoreConfig');
@@ -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.w6a(cards, times) : $super.w6a.call(this, cards, times);
99
+ return $super === VOID ? this.r5c(cards, times) : $super.r5c.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.y6a(cards, times) : $super.y6a.call(this, cards, times);
103
+ return $super === VOID ? this.t5c(cards, times) : $super.t5c.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.w6c(cards, supportedCombinations, checkFromIndex, includeCardNames, suit) : $super.w6c.call(this, cards, supportedCombinations, checkFromIndex, includeCardNames, suit);
116
+ return $super === VOID ? this.j5e(cards, supportedCombinations, checkFromIndex, includeCardNames, suit) : $super.j5e.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.y6c(cards, cardsCount, includeCardNames) : $super.y6c.call(this, cards, cardsCount, includeCardNames);
121
+ return $super === VOID ? this.l5e(cards, cardsCount, includeCardNames) : $super.l5e.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.53';
131
131
  }
132
- protoOf(CoreConfig).l31 = function () {
132
+ protoOf(CoreConfig).u3u = function () {
133
133
  return this.version;
134
134
  };
135
135
  var CoreConfig_instance;
@@ -138,56 +138,56 @@
138
138
  }
139
139
  function CardIndexComparator() {
140
140
  }
141
- protoOf(CardIndexComparator).z69 = function (a, b) {
142
- return a.a6a_1 - b.a6a_1 | 0;
141
+ protoOf(CardIndexComparator).u5b = function (a, b) {
142
+ return a.v5b_1 - b.v5b_1 | 0;
143
143
  };
144
144
  protoOf(CardIndexComparator).compare = function (a, b) {
145
145
  var tmp = a instanceof GameCard ? a : THROW_CCE();
146
- return this.z69(tmp, b instanceof GameCard ? b : THROW_CCE());
146
+ return this.u5b(tmp, b instanceof GameCard ? b : THROW_CCE());
147
147
  };
148
148
  var CardIndexComparator_instance;
149
149
  function CardIndexComparator_getInstance() {
150
150
  return CardIndexComparator_instance;
151
151
  }
152
152
  function CardSuitSortingComparator(suit) {
153
- this.b6a_1 = suit;
153
+ this.w5b_1 = suit;
154
154
  }
155
- protoOf(CardSuitSortingComparator).z69 = function (a, b) {
156
- if (!a.c6a() || !b.c6a()) {
155
+ protoOf(CardSuitSortingComparator).u5b = function (a, b) {
156
+ if (!a.x5b() || !b.x5b()) {
157
157
  return 0;
158
158
  }
159
- var suitIndexL = this.b6a_1.x1(a.d6a());
160
- var suitIndexR = this.b6a_1.x1(b.d6a());
161
- var sortedNumberL = imul(suitIndexL, 13) + a.e6a() | 0;
162
- var sortedNumberR = imul(suitIndexR, 13) + b.e6a() | 0;
159
+ var suitIndexL = this.w5b_1.v1(a.y5b());
160
+ var suitIndexR = this.w5b_1.v1(b.y5b());
161
+ var sortedNumberL = imul(suitIndexL, 13) + a.z5b() | 0;
162
+ var sortedNumberR = imul(suitIndexR, 13) + b.z5b() | 0;
163
163
  return sortedNumberL - sortedNumberR | 0;
164
164
  };
165
165
  protoOf(CardSuitSortingComparator).compare = function (a, b) {
166
166
  var tmp = a instanceof GameCard ? a : THROW_CCE();
167
- return this.z69(tmp, b instanceof GameCard ? b : THROW_CCE());
167
+ return this.u5b(tmp, b instanceof GameCard ? b : THROW_CCE());
168
168
  };
169
169
  function filterByCardName(_this__u8e3s4, name) {
170
170
  // Inline function 'kotlin.collections.filter' call
171
171
  var predicate = byCardNamePredicate(name.slice());
172
172
  // Inline function 'kotlin.collections.filterTo' call
173
173
  var destination = ArrayList_init_$Create$();
174
- var _iterator__ex2g4s = _this__u8e3s4.j();
175
- while (_iterator__ex2g4s.k()) {
176
- var element = _iterator__ex2g4s.l();
174
+ var _iterator__ex2g4s = _this__u8e3s4.l();
175
+ while (_iterator__ex2g4s.m()) {
176
+ var element = _iterator__ex2g4s.n();
177
177
  if (predicate(element)) {
178
- destination.e(element);
178
+ destination.j(element);
179
179
  }
180
180
  }
181
181
  return destination;
182
182
  }
183
183
  function CardNumberComparator() {
184
184
  }
185
- protoOf(CardNumberComparator).z69 = function (a, b) {
186
- return b.e6a() - a.e6a() | 0;
185
+ protoOf(CardNumberComparator).u5b = function (a, b) {
186
+ return b.z5b() - a.z5b() | 0;
187
187
  };
188
188
  protoOf(CardNumberComparator).compare = function (a, b) {
189
189
  var tmp = a instanceof GameCard ? a : THROW_CCE();
190
- return this.z69(tmp, b instanceof GameCard ? b : THROW_CCE());
190
+ return this.u5b(tmp, b instanceof GameCard ? b : THROW_CCE());
191
191
  };
192
192
  var CardNumberComparator_instance;
193
193
  function CardNumberComparator_getInstance() {
@@ -195,12 +195,12 @@
195
195
  }
196
196
  function distributeCardsBottom(_this__u8e3s4, count) {
197
197
  var cardsToDeal = toList(take(_this__u8e3s4, count));
198
- _this__u8e3s4.c2(cardsToDeal);
198
+ _this__u8e3s4.k2(cardsToDeal);
199
199
  return cardsToDeal;
200
200
  }
201
201
  function distributeCardsTop(_this__u8e3s4, count) {
202
202
  var cardsToDeal = toList(takeLast(_this__u8e3s4, count));
203
- _this__u8e3s4.c2(cardsToDeal);
203
+ _this__u8e3s4.k2(cardsToDeal);
204
204
  return cardsToDeal;
205
205
  }
206
206
  function byCardNamePredicate(types) {
@@ -217,7 +217,7 @@
217
217
  while (inductionVariable < last) {
218
218
  var element = tmp0[inductionVariable];
219
219
  inductionVariable = inductionVariable + 1 | 0;
220
- if (p1.s2().equals(element)) {
220
+ if (p1.q2().equals(element)) {
221
221
  tmp$ret$1 = true;
222
222
  break $l$block;
223
223
  }
@@ -243,7 +243,7 @@
243
243
  var CardName_HIDDEN_instance;
244
244
  function getShortName($this) {
245
245
  var tmp;
246
- switch ($this.r2_1) {
246
+ switch ($this.p2_1) {
247
247
  case 0:
248
248
  tmp = 'A';
249
249
  break;
@@ -314,23 +314,23 @@
314
314
  }
315
315
  function Companion() {
316
316
  }
317
- protoOf(Companion).f6a = function (suit, number) {
317
+ protoOf(Companion).a5c = function (suit, number) {
318
318
  return new GameCard(getNumber(Companion_instance_0, getName(Companion_instance_0, number), suit));
319
319
  };
320
- protoOf(Companion).g6a = function (suit, cardNumber) {
320
+ protoOf(Companion).b5c = function (suit, cardNumber) {
321
321
  return new GameCard(getNumber(Companion_instance_0, cardNumber, suit));
322
322
  };
323
- protoOf(Companion).h6a = function (index) {
323
+ protoOf(Companion).c5c = function (index) {
324
324
  return new GameCard(index);
325
325
  };
326
- protoOf(Companion).i6a = function (position, playerIndex, previousHiddenCardWithMaxIndex, reverse) {
326
+ protoOf(Companion).d5c = function (position, playerIndex, previousHiddenCardWithMaxIndex, reverse) {
327
327
  var tmp;
328
328
  if (previousHiddenCardWithMaxIndex == null) {
329
329
  tmp = null;
330
330
  } else {
331
331
  // Inline function 'kotlin.takeIf' call
332
332
  var tmp_0;
333
- if (previousHiddenCardWithMaxIndex.j6a()) {
333
+ if (previousHiddenCardWithMaxIndex.e5c()) {
334
334
  tmp_0 = previousHiddenCardWithMaxIndex;
335
335
  } else {
336
336
  tmp_0 = null;
@@ -338,8 +338,8 @@
338
338
  tmp = tmp_0;
339
339
  }
340
340
  var tmp1_safe_receiver = tmp;
341
- var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.a6a_1;
342
- var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_instance_0.p6a(tmp2_safe_receiver, playerIndex, reverse);
341
+ var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.v5b_1;
342
+ var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_instance_0.k5c(tmp2_safe_receiver, playerIndex, reverse);
343
343
  var tmp_1;
344
344
  if (tmp3_safe_receiver == null) {
345
345
  tmp_1 = null;
@@ -358,12 +358,12 @@
358
358
  var index = tmp_2;
359
359
  return new GameCard(index);
360
360
  };
361
- protoOf(Companion).q6a = function (position, playerIndex, previousHiddenCardWithMaxIndex, reverse, $super) {
361
+ protoOf(Companion).l5c = function (position, playerIndex, previousHiddenCardWithMaxIndex, reverse, $super) {
362
362
  previousHiddenCardWithMaxIndex = previousHiddenCardWithMaxIndex === VOID ? null : previousHiddenCardWithMaxIndex;
363
363
  reverse = reverse === VOID ? false : reverse;
364
- return $super === VOID ? this.i6a(position, playerIndex, previousHiddenCardWithMaxIndex, reverse) : $super.i6a.call(this, position, playerIndex, previousHiddenCardWithMaxIndex, reverse);
364
+ return $super === VOID ? this.d5c(position, playerIndex, previousHiddenCardWithMaxIndex, reverse) : $super.d5c.call(this, position, playerIndex, previousHiddenCardWithMaxIndex, reverse);
365
365
  };
366
- protoOf(Companion).r6a = function (position) {
366
+ protoOf(Companion).m5c = function (position) {
367
367
  var index = 150 + position | 0;
368
368
  return new GameCard(index);
369
369
  };
@@ -376,7 +376,7 @@
376
376
  }
377
377
  function getCardNumber($this, number) {
378
378
  var tmp;
379
- switch (number.r2_1) {
379
+ switch (number.p2_1) {
380
380
  case 12:
381
381
  tmp = 0;
382
382
  break;
@@ -469,7 +469,7 @@
469
469
  return tmp;
470
470
  }
471
471
  function _get_isShirt__vd98rp($this) {
472
- return $this.a6a_1 >= 150 && $this.a6a_1 <= 202;
472
+ return $this.v5b_1 >= 150 && $this.v5b_1 <= 202;
473
473
  }
474
474
  function CardName(name, ordinal) {
475
475
  Enum.call(this, name, ordinal);
@@ -478,13 +478,13 @@
478
478
  return getShortName(this);
479
479
  };
480
480
  function Companion_0() {
481
- this.k6a_1 = -1;
482
- this.l6a_1 = 13;
483
- this.m6a_1 = 52;
484
- this.n6a_1 = 150;
485
- this.o6a_1 = 53;
481
+ this.f5c_1 = -1;
482
+ this.g5c_1 = 13;
483
+ this.h5c_1 = 52;
484
+ this.i5c_1 = 150;
485
+ this.j5c_1 = 53;
486
486
  }
487
- protoOf(Companion_0).p6a = function (_this__u8e3s4, playerIndex, reverse) {
487
+ protoOf(Companion_0).k5c = function (_this__u8e3s4, playerIndex, reverse) {
488
488
  var tmp;
489
489
  if (reverse) {
490
490
  tmp = _this__u8e3s4 + (53 + imul(playerIndex, 14) | 0) | 0;
@@ -554,59 +554,59 @@
554
554
  return CardName_HIDDEN_instance;
555
555
  }
556
556
  function GameCard(index) {
557
- this.a6a_1 = index;
557
+ this.v5b_1 = index;
558
558
  }
559
- protoOf(GameCard).d6a = function () {
559
+ protoOf(GameCard).y5b = function () {
560
560
  var tmp;
561
- var containsArg = this.a6a_1;
561
+ var containsArg = this.v5b_1;
562
562
  if (0 <= containsArg ? containsArg <= 13 : false) {
563
563
  tmp = Suit_DIAMOND_getInstance();
564
564
  } else {
565
- if (this.a6a_1 <= 26) {
565
+ if (this.v5b_1 <= 26) {
566
566
  tmp = Suit_SPADE_getInstance();
567
567
  } else {
568
- if (this.a6a_1 <= 39) {
568
+ if (this.v5b_1 <= 39) {
569
569
  tmp = Suit_HEART_getInstance();
570
570
  } else {
571
- if (this.a6a_1 <= 52) {
571
+ if (this.v5b_1 <= 52) {
572
572
  tmp = Suit_CLUB_getInstance();
573
573
  } else {
574
- throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.a6a_1);
574
+ throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.v5b_1);
575
575
  }
576
576
  }
577
577
  }
578
578
  }
579
579
  return tmp;
580
580
  };
581
- protoOf(GameCard).e6a = function () {
581
+ protoOf(GameCard).z5b = function () {
582
582
  var tmp;
583
- if (this.j6a()) {
583
+ if (this.e5c()) {
584
584
  tmp = -1;
585
585
  } else {
586
- tmp = this.a6a_1 - imul(13, getIndex(this.d6a())) | 0;
586
+ tmp = this.v5b_1 - imul(13, getIndex(this.y5b())) | 0;
587
587
  }
588
588
  return tmp;
589
589
  };
590
- protoOf(GameCard).s2 = function () {
591
- return this.j6a() ? CardName_HIDDEN_getInstance() : getName(Companion_instance_0, this.e6a());
590
+ protoOf(GameCard).q2 = function () {
591
+ return this.e5c() ? CardName_HIDDEN_getInstance() : getName(Companion_instance_0, this.z5b());
592
592
  };
593
- protoOf(GameCard).c6a = function () {
594
- return !_get_isShirt__vd98rp(this) && !this.j6a();
593
+ protoOf(GameCard).x5b = function () {
594
+ return !_get_isShirt__vd98rp(this) && !this.e5c();
595
595
  };
596
- protoOf(GameCard).j6a = function () {
597
- return this.a6a_1 >= 53 && this.a6a_1 <= 105;
596
+ protoOf(GameCard).e5c = function () {
597
+ return this.v5b_1 >= 53 && this.v5b_1 <= 105;
598
598
  };
599
599
  protoOf(GameCard).toString = function () {
600
600
  if (_get_isShirt__vd98rp(this)) {
601
- return 'GameCard(SHIRT, ' + this.a6a_1 + ')';
601
+ return 'GameCard(SHIRT, ' + this.v5b_1 + ')';
602
602
  }
603
- if (this.j6a()) {
604
- return 'GameCard(HIDDEN, ' + this.a6a_1 + ')';
603
+ if (this.e5c()) {
604
+ return 'GameCard(HIDDEN, ' + this.v5b_1 + ')';
605
605
  }
606
- return 'GameCard(' + this.d6a().toString() + this.s2().toString() + ', ' + this.a6a_1 + ')';
606
+ return 'GameCard(' + this.y5b().toString() + this.q2().toString() + ', ' + this.v5b_1 + ')';
607
607
  };
608
608
  protoOf(GameCard).hashCode = function () {
609
- return this.a6a_1;
609
+ return this.v5b_1;
610
610
  };
611
611
  protoOf(GameCard).equals = function (other) {
612
612
  if (this === other)
@@ -614,12 +614,12 @@
614
614
  if (!(other instanceof GameCard))
615
615
  return false;
616
616
  var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
617
- if (!(this.a6a_1 === tmp0_other_with_cast.a6a_1))
617
+ if (!(this.v5b_1 === tmp0_other_with_cast.v5b_1))
618
618
  return false;
619
619
  return true;
620
620
  };
621
621
  function _get_$cachedSerializer__te6jhj($this) {
622
- return $this.s6a_1.u();
622
+ return $this.n5c_1.w();
623
623
  }
624
624
  function Suit$Companion$_anonymous__cbm2iq() {
625
625
  return createSimpleEnumSerializer('io.raspberryapps.card_game.core.data.models.cards.Suit', values());
@@ -630,7 +630,7 @@
630
630
  var Suit_CLUB_instance;
631
631
  function getSuitEmoji($this) {
632
632
  var tmp;
633
- switch ($this.r2_1) {
633
+ switch ($this.p2_1) {
634
634
  case 0:
635
635
  tmp = '\u2666\uFE0F';
636
636
  break;
@@ -661,13 +661,13 @@
661
661
  Companion_instance_1 = this;
662
662
  var tmp = this;
663
663
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
664
- tmp.s6a_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
664
+ tmp.n5c_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
665
665
  }
666
- protoOf(Companion_1).d50 = function () {
666
+ protoOf(Companion_1).a1c = function () {
667
667
  return _get_$cachedSerializer__te6jhj(this);
668
668
  };
669
- protoOf(Companion_1).s4j = function (typeParamsSerializers) {
670
- return this.d50();
669
+ protoOf(Companion_1).g10 = function (typeParamsSerializers) {
670
+ return this.a1c();
671
671
  };
672
672
  var Companion_instance_1;
673
673
  function Companion_getInstance_1() {
@@ -712,7 +712,7 @@
712
712
  }
713
713
  function getIndex(_this__u8e3s4) {
714
714
  var tmp;
715
- switch (_this__u8e3s4.r2_1) {
715
+ switch (_this__u8e3s4.p2_1) {
716
716
  case 0:
717
717
  tmp = 0;
718
718
  break;
@@ -762,29 +762,29 @@
762
762
  }
763
763
  function getRandomOrgCards($this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, $completion) {
764
764
  var tmp = new $getRandomOrgCardsCOROUTINE$($this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, $completion);
765
- tmp.n9_1 = Unit_instance;
766
- tmp.o9_1 = null;
767
- return tmp.t9();
765
+ tmp.t8_1 = Unit_instance;
766
+ tmp.u8_1 = null;
767
+ return tmp.z8();
768
768
  }
769
769
  function normalizeCards($this, cards, leftCardIndexForEachSuit) {
770
- var oneSuitCount = cards.m() / get_entries().m() | 0;
770
+ var oneSuitCount = cards.o() / get_entries().o() | 0;
771
771
  // Inline function 'kotlin.collections.map' call
772
772
  // Inline function 'kotlin.collections.mapTo' call
773
773
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(cards, 10));
774
- var _iterator__ex2g4s = cards.j();
775
- while (_iterator__ex2g4s.k()) {
776
- var item = _iterator__ex2g4s.l();
774
+ var _iterator__ex2g4s = cards.l();
775
+ while (_iterator__ex2g4s.m()) {
776
+ var item = _iterator__ex2g4s.n();
777
777
  var previousSuitNumber = item / oneSuitCount | 0;
778
778
  var cardIndexShift = imul(leftCardIndexForEachSuit, previousSuitNumber + 1 | 0);
779
779
  var newIndex = item + cardIndexShift | 0;
780
- destination.e(newIndex);
780
+ destination.j(newIndex);
781
781
  }
782
782
  var newIndexes = destination;
783
783
  return newIndexes;
784
784
  }
785
785
  function Companion_2() {
786
786
  }
787
- protoOf(Companion_2).v6b = function (randomPoolProvider, logger) {
787
+ protoOf(Companion_2).k5d = function (randomPoolProvider, logger) {
788
788
  var tmp0_random = new SecureRandom(logger);
789
789
  return new CardsDealerProviderImpl(tmp0_random, randomPoolProvider, logger);
790
790
  };
@@ -794,41 +794,40 @@
794
794
  }
795
795
  function $createNewShuffledCardDeckCOROUTINE$(_this__u8e3s4, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, resultContinuation) {
796
796
  CoroutineImpl.call(this, resultContinuation);
797
- this.e6c_1 = _this__u8e3s4;
798
- this.f6c_1 = leftCardIndexForEachSuit;
799
- this.g6c_1 = rightCardIndexForEachSuit;
800
- this.h6c_1 = approximateRoundCountForGame;
801
- this.i6c_1 = userData;
802
- this.j6c_1 = provider;
803
- }
804
- protoOf($createNewShuffledCardDeckCOROUTINE$).t9 = function () {
805
- var suspendResult = this.n9_1;
797
+ this.t5d_1 = _this__u8e3s4;
798
+ this.u5d_1 = leftCardIndexForEachSuit;
799
+ this.v5d_1 = rightCardIndexForEachSuit;
800
+ this.w5d_1 = approximateRoundCountForGame;
801
+ this.x5d_1 = userData;
802
+ this.y5d_1 = provider;
803
+ }
804
+ protoOf($createNewShuffledCardDeckCOROUTINE$).z8 = function () {
805
+ var suspendResult = this.t8_1;
806
806
  $sm: do
807
807
  try {
808
- var tmp = this.l9_1;
808
+ var tmp = this.r8_1;
809
809
  switch (tmp) {
810
810
  case 0:
811
- this.m9_1 = 4;
812
- this.k6c_1 = this.j6c_1;
813
- this.l6c_1 = this.k6c_1.r2_1;
814
- if (this.l6c_1 === 0) {
811
+ this.s8_1 = 4;
812
+ var tmp0 = this.y5d_1.p2_1;
813
+ if (tmp0 === 0) {
815
814
  var tmp_0 = this;
816
- var it = this.e6c_1.t6a(this.f6c_1, this.g6c_1);
817
- tmp_0.m6c_1 = this.e6c_1.x6a(it);
818
- this.l9_1 = 3;
815
+ var it = this.t5d_1.o5c(this.u5d_1, this.v5d_1);
816
+ tmp_0.z5d_1 = this.t5d_1.s5c(it);
817
+ this.r8_1 = 3;
819
818
  continue $sm;
820
819
  } else {
821
- if (this.l6c_1 === 1) {
822
- this.l9_1 = 2;
823
- suspendResult = getRandomOrgCards(this.e6c_1, this.f6c_1, this.g6c_1, this.h6c_1, this.i6c_1, false, this);
820
+ if (tmp0 === 1) {
821
+ this.r8_1 = 2;
822
+ suspendResult = getRandomOrgCards(this.t5d_1, this.u5d_1, this.v5d_1, this.w5d_1, this.x5d_1, false, this);
824
823
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
825
824
  return suspendResult;
826
825
  }
827
826
  continue $sm;
828
827
  } else {
829
- if (this.l6c_1 === 2) {
830
- this.l9_1 = 1;
831
- suspendResult = getRandomOrgCards(this.e6c_1, this.f6c_1, this.g6c_1, this.h6c_1, this.i6c_1, true, this);
828
+ if (tmp0 === 2) {
829
+ this.r8_1 = 1;
830
+ suspendResult = getRandomOrgCards(this.t5d_1, this.u5d_1, this.v5d_1, this.w5d_1, this.x5d_1, true, this);
832
831
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
833
832
  return suspendResult;
834
833
  }
@@ -842,86 +841,84 @@
842
841
 
843
842
  break;
844
843
  case 1:
845
- this.m6c_1 = suspendResult;
846
- this.l9_1 = 3;
844
+ this.z5d_1 = suspendResult;
845
+ this.r8_1 = 3;
847
846
  continue $sm;
848
847
  case 2:
849
- this.m6c_1 = suspendResult;
850
- this.l9_1 = 3;
848
+ this.z5d_1 = suspendResult;
849
+ this.r8_1 = 3;
851
850
  continue $sm;
852
851
  case 3:
853
- return this.m6c_1;
852
+ return this.z5d_1;
854
853
  case 4:
855
- throw this.o9_1;
854
+ throw this.u8_1;
856
855
  }
857
856
  } catch ($p) {
858
857
  var e = $p;
859
- if (this.m9_1 === 4) {
858
+ if (this.s8_1 === 4) {
860
859
  throw e;
861
860
  } else {
862
- this.l9_1 = this.m9_1;
863
- this.o9_1 = e;
861
+ this.r8_1 = this.s8_1;
862
+ this.u8_1 = e;
864
863
  }
865
864
  }
866
865
  while (true);
867
866
  };
868
867
  function $getRandomOrgCardsCOROUTINE$(_this__u8e3s4, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, resultContinuation) {
869
868
  CoroutineImpl.call(this, resultContinuation);
870
- this.i6b_1 = _this__u8e3s4;
871
- this.j6b_1 = leftCardIndexForEachSuit;
872
- this.k6b_1 = rightCardIndexForEachSuit;
873
- this.l6b_1 = approximateRoundsCount;
874
- this.m6b_1 = userData;
875
- this.n6b_1 = signed;
876
- }
877
- protoOf($getRandomOrgCardsCOROUTINE$).t9 = function () {
878
- var suspendResult = this.n9_1;
869
+ this.d5d_1 = _this__u8e3s4;
870
+ this.e5d_1 = leftCardIndexForEachSuit;
871
+ this.f5d_1 = rightCardIndexForEachSuit;
872
+ this.g5d_1 = approximateRoundsCount;
873
+ this.h5d_1 = userData;
874
+ this.i5d_1 = signed;
875
+ }
876
+ protoOf($getRandomOrgCardsCOROUTINE$).z8 = function () {
877
+ var suspendResult = this.t8_1;
879
878
  $sm: do
880
879
  try {
881
- var tmp = this.l9_1;
880
+ var tmp = this.r8_1;
882
881
  switch (tmp) {
883
882
  case 0:
884
- this.m9_1 = 5;
885
- this.o6b_1 = this.i6b_1.q6c(this.j6b_1, this.k6b_1);
886
- this.p6b_1 = this.i6b_1.o6c_1;
887
- this.q6b_1 = this.o6b_1 - 1 | 0;
888
- this.l9_1 = 1;
889
- suspendResult = this.p6b_1.j5v(this.l6b_1, this.m6b_1, 0, this.q6b_1, this.o6b_1, this.n6b_1, VOID, this);
883
+ this.s8_1 = 5;
884
+ var cardsCount = this.d5d_1.d5e(this.e5d_1, this.f5d_1);
885
+ var tmp0_$this = this.d5d_1.b5e_1;
886
+ var tmp1_max = cardsCount - 1 | 0;
887
+ this.r8_1 = 1;
888
+ suspendResult = tmp0_$this.i57(this.g5d_1, this.h5d_1, 0, tmp1_max, cardsCount, this.i5d_1, VOID, this);
890
889
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
891
890
  return suspendResult;
892
891
  }
893
892
 
894
- this.l9_1 = 2;
893
+ this.r8_1 = 2;
895
894
  continue $sm;
896
895
  case 1:
897
- this.r6b_1 = suspendResult.qm_1;
898
- suspendResult = new Result(this.r6b_1);
899
- this.l9_1 = 2;
896
+ var unboxed = suspendResult.tl_1;
897
+ suspendResult = new Result(unboxed);
898
+ this.r8_1 = 2;
900
899
  continue $sm;
901
900
  case 2:
902
- this.s6b_1 = suspendResult.qm_1;
903
- if (_Result___get_isSuccess__impl__sndoy8(this.s6b_1)) {
901
+ var result = suspendResult.tl_1;
902
+ if (_Result___get_isSuccess__impl__sndoy8(result)) {
904
903
  var tmp_0 = this;
905
- var this_0 = this.s6b_1;
906
- throwOnFailure(this_0);
907
- var tmp_1 = _Result___get_value__impl__bjfvqg(this_0);
904
+ throwOnFailure(result);
905
+ var tmp_1 = _Result___get_value__impl__bjfvqg(result);
908
906
  var tmp2_cards = ((tmp_1 == null ? true : !(tmp_1 == null)) ? tmp_1 : THROW_CCE()).cards;
909
- var this_1 = normalizeCards(this.i6b_1, tmp2_cards, this.j6b_1);
910
- var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
911
- var _iterator__ex2g4s = this_1.j();
912
- while (_iterator__ex2g4s.k()) {
913
- var item = _iterator__ex2g4s.l();
914
- destination.e(Companion_instance.h6a(item));
907
+ var this_0 = normalizeCards(this.d5d_1, tmp2_cards, this.e5d_1);
908
+ var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
909
+ var _iterator__ex2g4s = this_0.l();
910
+ while (_iterator__ex2g4s.m()) {
911
+ var item = _iterator__ex2g4s.n();
912
+ destination.j(Companion_instance.c5c(item));
915
913
  }
916
- tmp_0.t6b_1 = destination;
917
- this.l9_1 = 4;
914
+ tmp_0.j5d_1 = destination;
915
+ this.r8_1 = 4;
918
916
  continue $sm;
919
917
  } else {
920
- this.u6b_1 = Result__exceptionOrNull_impl_p6xea9(this.s6b_1);
921
- var tmp3_safe_receiver = this.u6b_1;
922
- this.i6b_1.p6c_1.v('CardsDealerProvider', 'getRandomOrgCards: ' + (tmp3_safe_receiver == null ? null : tmp3_safe_receiver.message), this.u6b_1);
923
- this.l9_1 = 3;
924
- suspendResult = this.i6b_1.u6a(this.j6b_1, this.k6b_1, this.l6b_1, this.m6b_1, CardsRandomProvider_CUSTOM_getInstance(), this);
918
+ var exception = Result__exceptionOrNull_impl_p6xea9(result);
919
+ this.d5d_1.c5e_1.v('CardsDealerProvider', 'getRandomOrgCards: ' + (exception == null ? null : exception.message), exception);
920
+ this.r8_1 = 3;
921
+ suspendResult = this.d5d_1.p5c(this.e5d_1, this.f5d_1, this.g5d_1, this.h5d_1, CardsRandomProvider_CUSTOM_getInstance(), this);
925
922
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
926
923
  return suspendResult;
927
924
  }
@@ -929,51 +926,51 @@
929
926
  }
930
927
 
931
928
  case 3:
932
- this.t6b_1 = suspendResult;
933
- this.l9_1 = 4;
929
+ this.j5d_1 = suspendResult;
930
+ this.r8_1 = 4;
934
931
  continue $sm;
935
932
  case 4:
936
- return this.t6b_1;
933
+ return this.j5d_1;
937
934
  case 5:
938
- throw this.o9_1;
935
+ throw this.u8_1;
939
936
  }
940
937
  } catch ($p) {
941
938
  var e = $p;
942
- if (this.m9_1 === 5) {
939
+ if (this.s8_1 === 5) {
943
940
  throw e;
944
941
  } else {
945
- this.l9_1 = this.m9_1;
946
- this.o9_1 = e;
942
+ this.r8_1 = this.s8_1;
943
+ this.u8_1 = e;
947
944
  }
948
945
  }
949
946
  while (true);
950
947
  };
951
948
  function CardsDealerProviderImpl(random, randomPoolProvider, logger) {
952
- this.n6c_1 = random;
953
- this.o6c_1 = randomPoolProvider;
954
- this.p6c_1 = logger;
949
+ this.a5e_1 = random;
950
+ this.b5e_1 = randomPoolProvider;
951
+ this.c5e_1 = logger;
955
952
  }
956
- protoOf(CardsDealerProviderImpl).t6a = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
953
+ protoOf(CardsDealerProviderImpl).o5c = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
957
954
  // Inline function 'kotlin.collections.flatMap' call
958
955
  var tmp0 = get_entries();
959
956
  // Inline function 'kotlin.collections.flatMapTo' call
960
957
  var destination = ArrayList_init_$Create$();
961
- var _iterator__ex2g4s = tmp0.j();
962
- while (_iterator__ex2g4s.k()) {
963
- var element = _iterator__ex2g4s.l();
958
+ var _iterator__ex2g4s = tmp0.l();
959
+ while (_iterator__ex2g4s.m()) {
960
+ var element = _iterator__ex2g4s.n();
964
961
  // Inline function 'kotlin.collections.map' call
965
- var this_0 = this.r6c(leftCardIndexForEachSuit, rightCardIndexForEachSuit);
962
+ var this_0 = this.e5e(leftCardIndexForEachSuit, rightCardIndexForEachSuit);
966
963
  // Inline function 'kotlin.collections.mapTo' call
967
964
  var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
968
- var inductionVariable = this_0.a1_1;
969
- var last = this_0.b1_1;
965
+ var inductionVariable = this_0.z_1;
966
+ var last = this_0.a1_1;
970
967
  if (inductionVariable <= last)
971
968
  do {
972
969
  var item = inductionVariable;
973
970
  inductionVariable = inductionVariable + 1 | 0;
974
971
  var it = item;
975
- var tmp$ret$0 = Companion_instance.f6a(element, it);
976
- destination_0.e(tmp$ret$0);
972
+ var tmp$ret$0 = Companion_instance.a5c(element, it);
973
+ destination_0.j(tmp$ret$0);
977
974
  }
978
975
  while (!(item === last));
979
976
  var list = destination_0;
@@ -981,38 +978,38 @@
981
978
  }
982
979
  return destination;
983
980
  };
984
- protoOf(CardsDealerProviderImpl).r6c = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
981
+ protoOf(CardsDealerProviderImpl).e5e = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
985
982
  return until(leftCardIndexForEachSuit, 13 - rightCardIndexForEachSuit | 0);
986
983
  };
987
- protoOf(CardsDealerProviderImpl).q6c = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
984
+ protoOf(CardsDealerProviderImpl).d5e = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
988
985
  // Inline function 'kotlin.collections.sumOf' call
989
986
  var sum = 0;
990
- var _iterator__ex2g4s = get_entries().j();
991
- while (_iterator__ex2g4s.k()) {
992
- var element = _iterator__ex2g4s.l();
987
+ var _iterator__ex2g4s = get_entries().l();
988
+ while (_iterator__ex2g4s.m()) {
989
+ var element = _iterator__ex2g4s.n();
993
990
  var tmp = sum;
994
- sum = tmp + count(this.r6c(leftCardIndexForEachSuit, rightCardIndexForEachSuit)) | 0;
991
+ sum = tmp + count(this.e5e(leftCardIndexForEachSuit, rightCardIndexForEachSuit)) | 0;
995
992
  }
996
993
  return sum;
997
994
  };
998
- protoOf(CardsDealerProviderImpl).u6a = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
995
+ protoOf(CardsDealerProviderImpl).p5c = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
999
996
  var tmp = new $createNewShuffledCardDeckCOROUTINE$(this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion);
1000
- tmp.n9_1 = Unit_instance;
1001
- tmp.o9_1 = null;
1002
- return tmp.t9();
997
+ tmp.t8_1 = Unit_instance;
998
+ tmp.u8_1 = null;
999
+ return tmp.z8();
1003
1000
  };
1004
- protoOf(CardsDealerProviderImpl).v6a = function (count, cards) {
1001
+ protoOf(CardsDealerProviderImpl).q5c = function (count, cards) {
1005
1002
  // Inline function 'kotlin.collections.mutableListOf' call
1006
1003
  // Inline function 'kotlin.apply' call
1007
1004
  var this_0 = ArrayList_init_$Create$();
1008
1005
  $l$block: {
1009
- var _iterator__ex2g4s = cards.j();
1010
- $l$loop_0: while (_iterator__ex2g4s.k()) {
1011
- var card = _iterator__ex2g4s.l();
1012
- if (this_0.m() === count) {
1006
+ var _iterator__ex2g4s = cards.l();
1007
+ $l$loop_0: while (_iterator__ex2g4s.m()) {
1008
+ var card = _iterator__ex2g4s.n();
1009
+ if (this_0.o() === count) {
1013
1010
  break $l$block;
1014
1011
  }
1015
- var hasSimilarCard = this_0.v1(card);
1012
+ var hasSimilarCard = this_0.t1(card);
1016
1013
  if (hasSimilarCard) {
1017
1014
  continue $l$loop_0;
1018
1015
  }
@@ -1021,7 +1018,7 @@
1021
1018
  // Inline function 'kotlin.collections.any' call
1022
1019
  var tmp;
1023
1020
  if (isInterface(this_0, Collection)) {
1024
- tmp = this_0.p();
1021
+ tmp = this_0.r();
1025
1022
  } else {
1026
1023
  tmp = false;
1027
1024
  }
@@ -1029,10 +1026,10 @@
1029
1026
  tmp$ret$2 = false;
1030
1027
  break $l$block_1;
1031
1028
  }
1032
- var _iterator__ex2g4s_0 = this_0.j();
1033
- while (_iterator__ex2g4s_0.k()) {
1034
- var element = _iterator__ex2g4s_0.l();
1035
- if (element.e6a() === card.e6a()) {
1029
+ var _iterator__ex2g4s_0 = this_0.l();
1030
+ while (_iterator__ex2g4s_0.m()) {
1031
+ var element = _iterator__ex2g4s_0.n();
1032
+ if (element.z5b() === card.z5b()) {
1036
1033
  tmp$ret$2 = true;
1037
1034
  break $l$block_1;
1038
1035
  }
@@ -1042,12 +1039,12 @@
1042
1039
  if (tmp$ret$2) {
1043
1040
  continue $l$loop_0;
1044
1041
  }
1045
- this_0.e(card);
1042
+ this_0.j(card);
1046
1043
  }
1047
1044
  }
1048
1045
  return this_0;
1049
1046
  };
1050
- protoOf(CardsDealerProviderImpl).w6a = function (cards, times) {
1047
+ protoOf(CardsDealerProviderImpl).r5c = function (cards, times) {
1051
1048
  // Inline function 'kotlin.let' call
1052
1049
  var shuffled = toMutableList(cards);
1053
1050
  var inductionVariable = 0;
@@ -1055,69 +1052,69 @@
1055
1052
  do {
1056
1053
  var i = inductionVariable;
1057
1054
  inductionVariable = inductionVariable + 1 | 0;
1058
- shuffled = this.n6c_1.v5z(shuffled);
1055
+ shuffled = this.a5e_1.p5b(shuffled);
1059
1056
  }
1060
1057
  while (inductionVariable < times);
1061
1058
  return shuffled;
1062
1059
  };
1063
- protoOf(CardsDealerProviderImpl).y6a = function (cards, times) {
1064
- return toList(overhand(riffle(toMutableList(cards), times, this.n6c_1), times, this.n6c_1));
1060
+ protoOf(CardsDealerProviderImpl).t5c = function (cards, times) {
1061
+ return toList(overhand(riffle(toMutableList(cards), times, this.a5e_1), times, this.a5e_1));
1065
1062
  };
1066
1063
  function Companion_3() {
1067
1064
  }
1068
- protoOf(Companion_3).s6c = function () {
1065
+ protoOf(Companion_3).f5e = function () {
1069
1066
  // Inline function 'kotlin.collections.mutableListOf' call
1070
1067
  // Inline function 'kotlin.apply' call
1071
1068
  var this_0 = ArrayList_init_$Create$();
1072
- this_0.n(listOf([Companion_instance.g6a(Suit_DIAMOND_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.g6a(Suit_CLUB_getInstance(), CardName_NINE_getInstance()), Companion_instance.g6a(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.g6a(Suit_CLUB_getInstance(), CardName_TEN_getInstance()), Companion_instance.g6a(Suit_HEART_getInstance(), CardName_JACK_getInstance()), Companion_instance.g6a(Suit_HEART_getInstance(), CardName_KING_getInstance())]));
1073
- this_0.n(listOf([Companion_instance.g6a(Suit_CLUB_getInstance(), CardName_JACK_getInstance()), Companion_instance.g6a(Suit_SPADE_getInstance(), CardName_ACE_getInstance()), Companion_instance.g6a(Suit_DIAMOND_getInstance(), CardName_NINE_getInstance()), Companion_instance.g6a(Suit_DIAMOND_getInstance(), CardName_TEN_getInstance()), Companion_instance.g6a(Suit_DIAMOND_getInstance(), CardName_JACK_getInstance()), Companion_instance.g6a(Suit_HEART_getInstance(), CardName_EIGHT_getInstance())]));
1074
- this_0.n(listOf([Companion_instance.g6a(Suit_CLUB_getInstance(), CardName_QUEEN_getInstance()), Companion_instance.g6a(Suit_HEART_getInstance(), CardName_ACE_getInstance()), Companion_instance.g6a(Suit_HEART_getInstance(), CardName_QUEEN_getInstance()), Companion_instance.g6a(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.g6a(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.g6a(Suit_CLUB_getInstance(), CardName_KING_getInstance())]));
1075
- this_0.n(listOf([Companion_instance.g6a(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.g6a(Suit_SPADE_getInstance(), CardName_TEN_getInstance()), Companion_instance.g6a(Suit_HEART_getInstance(), CardName_TEN_getInstance()), Companion_instance.g6a(Suit_SPADE_getInstance(), CardName_JACK_getInstance()), Companion_instance.g6a(Suit_DIAMOND_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.g6a(Suit_SPADE_getInstance(), CardName_QUEEN_getInstance())]));
1076
- this_0.n(listOf([Companion_instance.g6a(Suit_DIAMOND_getInstance(), CardName_ACE_getInstance()), Companion_instance.g6a(Suit_CLUB_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.g6a(Suit_DIAMOND_getInstance(), CardName_KING_getInstance()), Companion_instance.g6a(Suit_SPADE_getInstance(), CardName_NINE_getInstance()), Companion_instance.g6a(Suit_CLUB_getInstance(), CardName_ACE_getInstance()), Companion_instance.g6a(Suit_SPADE_getInstance(), CardName_KING_getInstance()), Companion_instance.g6a(Suit_DIAMOND_getInstance(), CardName_QUEEN_getInstance()), Companion_instance.g6a(Suit_HEART_getInstance(), CardName_NINE_getInstance())]));
1069
+ this_0.q(listOf([Companion_instance.b5c(Suit_DIAMOND_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.b5c(Suit_CLUB_getInstance(), CardName_NINE_getInstance()), Companion_instance.b5c(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.b5c(Suit_CLUB_getInstance(), CardName_TEN_getInstance()), Companion_instance.b5c(Suit_HEART_getInstance(), CardName_JACK_getInstance()), Companion_instance.b5c(Suit_HEART_getInstance(), CardName_KING_getInstance())]));
1070
+ this_0.q(listOf([Companion_instance.b5c(Suit_CLUB_getInstance(), CardName_JACK_getInstance()), Companion_instance.b5c(Suit_SPADE_getInstance(), CardName_ACE_getInstance()), Companion_instance.b5c(Suit_DIAMOND_getInstance(), CardName_NINE_getInstance()), Companion_instance.b5c(Suit_DIAMOND_getInstance(), CardName_TEN_getInstance()), Companion_instance.b5c(Suit_DIAMOND_getInstance(), CardName_JACK_getInstance()), Companion_instance.b5c(Suit_HEART_getInstance(), CardName_EIGHT_getInstance())]));
1071
+ this_0.q(listOf([Companion_instance.b5c(Suit_CLUB_getInstance(), CardName_QUEEN_getInstance()), Companion_instance.b5c(Suit_HEART_getInstance(), CardName_ACE_getInstance()), Companion_instance.b5c(Suit_HEART_getInstance(), CardName_QUEEN_getInstance()), Companion_instance.b5c(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.b5c(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.b5c(Suit_CLUB_getInstance(), CardName_KING_getInstance())]));
1072
+ this_0.q(listOf([Companion_instance.b5c(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.b5c(Suit_SPADE_getInstance(), CardName_TEN_getInstance()), Companion_instance.b5c(Suit_HEART_getInstance(), CardName_TEN_getInstance()), Companion_instance.b5c(Suit_SPADE_getInstance(), CardName_JACK_getInstance()), Companion_instance.b5c(Suit_DIAMOND_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.b5c(Suit_SPADE_getInstance(), CardName_QUEEN_getInstance())]));
1073
+ this_0.q(listOf([Companion_instance.b5c(Suit_DIAMOND_getInstance(), CardName_ACE_getInstance()), Companion_instance.b5c(Suit_CLUB_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.b5c(Suit_DIAMOND_getInstance(), CardName_KING_getInstance()), Companion_instance.b5c(Suit_SPADE_getInstance(), CardName_NINE_getInstance()), Companion_instance.b5c(Suit_CLUB_getInstance(), CardName_ACE_getInstance()), Companion_instance.b5c(Suit_SPADE_getInstance(), CardName_KING_getInstance()), Companion_instance.b5c(Suit_DIAMOND_getInstance(), CardName_QUEEN_getInstance()), Companion_instance.b5c(Suit_HEART_getInstance(), CardName_NINE_getInstance())]));
1077
1074
  return this_0;
1078
1075
  };
1079
- protoOf(Companion_3).t6c = function () {
1080
- return listOf([Companion_instance.g6a(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.g6a(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.g6a(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.g6a(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance())]);
1076
+ protoOf(Companion_3).g5e = function () {
1077
+ return listOf([Companion_instance.b5c(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.b5c(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.b5c(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.b5c(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance())]);
1081
1078
  };
1082
1079
  var Companion_instance_3;
1083
1080
  function Companion_getInstance_3() {
1084
1081
  return Companion_instance_3;
1085
1082
  }
1086
1083
  function FakeCardsDealerProvider(cards, cardsForLot) {
1087
- cards = cards === VOID ? Companion_instance_3.s6c() : cards;
1088
- cardsForLot = cardsForLot === VOID ? Companion_instance_3.t6c() : cardsForLot;
1089
- this.u6c_1 = cards;
1090
- this.v6c_1 = cardsForLot;
1084
+ cards = cards === VOID ? Companion_instance_3.f5e() : cards;
1085
+ cardsForLot = cardsForLot === VOID ? Companion_instance_3.g5e() : cardsForLot;
1086
+ this.h5e_1 = cards;
1087
+ this.i5e_1 = cardsForLot;
1091
1088
  }
1092
- protoOf(FakeCardsDealerProvider).t6a = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
1093
- return this.u6c_1;
1089
+ protoOf(FakeCardsDealerProvider).o5c = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
1090
+ return this.h5e_1;
1094
1091
  };
1095
- protoOf(FakeCardsDealerProvider).u6a = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
1096
- return this.u6c_1;
1092
+ protoOf(FakeCardsDealerProvider).p5c = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
1093
+ return this.h5e_1;
1097
1094
  };
1098
- protoOf(FakeCardsDealerProvider).v6a = function (count, cards) {
1099
- return this.v6c_1;
1095
+ protoOf(FakeCardsDealerProvider).q5c = function (count, cards) {
1096
+ return this.i5e_1;
1100
1097
  };
1101
- protoOf(FakeCardsDealerProvider).w6a = function (cards, times) {
1098
+ protoOf(FakeCardsDealerProvider).r5c = function (cards, times) {
1102
1099
  return cards;
1103
1100
  };
1104
- protoOf(FakeCardsDealerProvider).y6a = function (cards, times) {
1101
+ protoOf(FakeCardsDealerProvider).t5c = function (cards, times) {
1105
1102
  return cards;
1106
1103
  };
1107
1104
  function CombinationsCheckerProvider() {
1108
1105
  }
1109
1106
  function createCombination($this, cards, supportedCombinations) {
1110
- var size = cards.m();
1111
- if (supportedCombinations.v1(size)) {
1107
+ var size = cards.o();
1108
+ if (supportedCombinations.t1(size)) {
1112
1109
  return cards;
1113
1110
  }
1114
1111
  var fromLongestCombinations = asReversed(sorted(supportedCombinations));
1115
1112
  var tmp$ret$1;
1116
1113
  $l$block: {
1117
1114
  // Inline function 'kotlin.collections.first' call
1118
- var _iterator__ex2g4s = fromLongestCombinations.j();
1119
- while (_iterator__ex2g4s.k()) {
1120
- var element = _iterator__ex2g4s.l();
1115
+ var _iterator__ex2g4s = fromLongestCombinations.l();
1116
+ while (_iterator__ex2g4s.m()) {
1117
+ var element = _iterator__ex2g4s.n();
1121
1118
  if (element <= size) {
1122
1119
  tmp$ret$1 = element;
1123
1120
  break $l$block;
@@ -1129,23 +1126,23 @@
1129
1126
  return takeLast(cards, longestCombinationSupport);
1130
1127
  }
1131
1128
  function sam$kotlin_Comparator$0(function_0) {
1132
- this.b6d_1 = function_0;
1129
+ this.o5e_1 = function_0;
1133
1130
  }
1134
- protoOf(sam$kotlin_Comparator$0).bd = function (a, b) {
1135
- return this.b6d_1(a, b);
1131
+ protoOf(sam$kotlin_Comparator$0).ec = function (a, b) {
1132
+ return this.o5e_1(a, b);
1136
1133
  };
1137
1134
  protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
1138
- return this.bd(a, b);
1135
+ return this.ec(a, b);
1139
1136
  };
1140
- protoOf(sam$kotlin_Comparator$0).u3 = function () {
1141
- return this.b6d_1;
1137
+ protoOf(sam$kotlin_Comparator$0).a3 = function () {
1138
+ return this.o5e_1;
1142
1139
  };
1143
1140
  protoOf(sam$kotlin_Comparator$0).equals = function (other) {
1144
1141
  var tmp;
1145
1142
  if (!(other == null) ? isInterface(other, Comparator) : false) {
1146
1143
  var tmp_0;
1147
1144
  if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1148
- tmp_0 = equals(this.u3(), other.u3());
1145
+ tmp_0 = equals(this.a3(), other.a3());
1149
1146
  } else {
1150
1147
  tmp_0 = false;
1151
1148
  }
@@ -1156,28 +1153,28 @@
1156
1153
  return tmp;
1157
1154
  };
1158
1155
  protoOf(sam$kotlin_Comparator$0).hashCode = function () {
1159
- return hashCode(this.u3());
1156
+ return hashCode(this.a3());
1160
1157
  };
1161
1158
  function CombinationsCheckerProviderImpl$createCombinationsFromCardsInRow$lambda(a, b) {
1162
1159
  // Inline function 'kotlin.comparisons.compareValuesBy' call
1163
- var tmp = first_0(a).a6a_1;
1164
- var tmp$ret$1 = first_0(b).a6a_1;
1160
+ var tmp = first_0(a).v5b_1;
1161
+ var tmp$ret$1 = first_0(b).v5b_1;
1165
1162
  return compareValues(tmp, tmp$ret$1);
1166
1163
  }
1167
1164
  function CombinationsCheckerProviderImpl() {
1168
1165
  }
1169
- protoOf(CombinationsCheckerProviderImpl).w6c = function (cards, supportedCombinations, checkFromIndex, includeCardNames, suit) {
1166
+ protoOf(CombinationsCheckerProviderImpl).j5e = function (cards, supportedCombinations, checkFromIndex, includeCardNames, suit) {
1170
1167
  // Inline function 'kotlin.apply' call
1171
1168
  var this_0 = toMutableList(cards);
1172
1169
  sortWith(this_0, CardIndexComparator_instance);
1173
1170
  // Inline function 'kotlin.collections.filter' call
1174
1171
  // Inline function 'kotlin.collections.filterTo' call
1175
1172
  var destination = ArrayList_init_$Create$();
1176
- var _iterator__ex2g4s = this_0.j();
1177
- while (_iterator__ex2g4s.k()) {
1178
- var element = _iterator__ex2g4s.l();
1179
- if (element.c6a()) {
1180
- destination.e(element);
1173
+ var _iterator__ex2g4s = this_0.l();
1174
+ while (_iterator__ex2g4s.m()) {
1175
+ var element = _iterator__ex2g4s.n();
1176
+ if (element.x5b()) {
1177
+ destination.j(element);
1181
1178
  }
1182
1179
  }
1183
1180
  var sortedByIndexCards = toList(destination);
@@ -1186,110 +1183,110 @@
1186
1183
  // Inline function 'kotlin.collections.mutableListOf' call
1187
1184
  var combinationCards = ArrayList_init_$Create$();
1188
1185
  var inductionVariable = 0;
1189
- var last = sortedByIndexCards.m() - 1 | 0;
1186
+ var last = sortedByIndexCards.o() - 1 | 0;
1190
1187
  if (inductionVariable <= last)
1191
1188
  do {
1192
1189
  var i = inductionVariable;
1193
1190
  inductionVariable = inductionVariable + 1 | 0;
1194
1191
  var previousCard = lastOrNull(combinationCards);
1195
- var currentCard = sortedByIndexCards.o(i);
1196
- var isNextInRow = !(previousCard == null) && currentCard.a6a_1 === (previousCard.a6a_1 + 1 | 0) && currentCard.d6a().equals(previousCard.d6a());
1197
- var passedCardNamesCheck = includeCardNames == null || includeCardNames.v1(currentCard.s2());
1198
- var passedSuitCheck = suit == null || currentCard.d6a().equals(suit);
1192
+ var currentCard = sortedByIndexCards.p(i);
1193
+ var isNextInRow = !(previousCard == null) && currentCard.v5b_1 === (previousCard.v5b_1 + 1 | 0) && currentCard.y5b().equals(previousCard.y5b());
1194
+ var passedCardNamesCheck = includeCardNames == null || includeCardNames.t1(currentCard.q2());
1195
+ var passedSuitCheck = suit == null || currentCard.y5b().equals(suit);
1199
1196
  if (isNextInRow && passedSuitCheck && passedCardNamesCheck) {
1200
- combinationCards.e(currentCard);
1197
+ combinationCards.j(currentCard);
1201
1198
  } else {
1202
- if (combinationCards.m() > (checkFromIndex - 1 | 0)) {
1203
- combinations.n(this.a6d(toMutableList(combinationCards), supportedCombinations));
1199
+ if (combinationCards.o() > (checkFromIndex - 1 | 0)) {
1200
+ combinations.q(this.n5e(toMutableList(combinationCards), supportedCombinations));
1204
1201
  }
1205
- combinationCards.d2();
1202
+ combinationCards.h2();
1206
1203
  if (passedSuitCheck && passedCardNamesCheck) {
1207
- combinationCards.e(currentCard);
1204
+ combinationCards.j(currentCard);
1208
1205
  }
1209
1206
  }
1210
1207
  }
1211
1208
  while (inductionVariable <= last);
1212
- if (combinationCards.m() > (checkFromIndex - 1 | 0)) {
1213
- combinations.n(this.a6d(toMutableList(combinationCards), supportedCombinations));
1209
+ if (combinationCards.o() > (checkFromIndex - 1 | 0)) {
1210
+ combinations.q(this.n5e(toMutableList(combinationCards), supportedCombinations));
1214
1211
  }
1215
1212
  return combinations;
1216
1213
  };
1217
- protoOf(CombinationsCheckerProviderImpl).y6c = function (cards, cardsCount, includeCardNames) {
1214
+ protoOf(CombinationsCheckerProviderImpl).l5e = function (cards, cardsCount, includeCardNames) {
1218
1215
  // Inline function 'kotlin.apply' call
1219
1216
  var this_0 = toMutableList(cards);
1220
1217
  sortWith(this_0, CardIndexComparator_instance);
1221
1218
  // Inline function 'kotlin.collections.filter' call
1222
1219
  // Inline function 'kotlin.collections.filterTo' call
1223
1220
  var destination = ArrayList_init_$Create$();
1224
- var _iterator__ex2g4s = this_0.j();
1225
- while (_iterator__ex2g4s.k()) {
1226
- var element = _iterator__ex2g4s.l();
1227
- if (element.c6a()) {
1228
- destination.e(element);
1221
+ var _iterator__ex2g4s = this_0.l();
1222
+ while (_iterator__ex2g4s.m()) {
1223
+ var element = _iterator__ex2g4s.n();
1224
+ if (element.x5b()) {
1225
+ destination.j(element);
1229
1226
  }
1230
1227
  }
1231
1228
  // Inline function 'kotlin.collections.filter' call
1232
1229
  // Inline function 'kotlin.collections.filterTo' call
1233
1230
  var destination_0 = ArrayList_init_$Create$();
1234
- var _iterator__ex2g4s_0 = destination.j();
1235
- while (_iterator__ex2g4s_0.k()) {
1236
- var element_0 = _iterator__ex2g4s_0.l();
1237
- if (includeCardNames == null || includeCardNames.v1(element_0.s2())) {
1238
- destination_0.e(element_0);
1231
+ var _iterator__ex2g4s_0 = destination.l();
1232
+ while (_iterator__ex2g4s_0.m()) {
1233
+ var element_0 = _iterator__ex2g4s_0.n();
1234
+ if (includeCardNames == null || includeCardNames.t1(element_0.q2())) {
1235
+ destination_0.j(element_0);
1239
1236
  }
1240
1237
  }
1241
1238
  var sortedByNumberCards = toList(destination_0);
1242
1239
  // Inline function 'kotlin.collections.groupBy' call
1243
1240
  // Inline function 'kotlin.collections.groupByTo' call
1244
1241
  var destination_1 = LinkedHashMap_init_$Create$();
1245
- var _iterator__ex2g4s_1 = sortedByNumberCards.j();
1246
- while (_iterator__ex2g4s_1.k()) {
1247
- var element_1 = _iterator__ex2g4s_1.l();
1248
- var key = element_1.e6a();
1242
+ var _iterator__ex2g4s_1 = sortedByNumberCards.l();
1243
+ while (_iterator__ex2g4s_1.m()) {
1244
+ var element_1 = _iterator__ex2g4s_1.n();
1245
+ var key = element_1.z5b();
1249
1246
  // Inline function 'kotlin.collections.getOrPut' call
1250
- var value = destination_1.k2(key);
1247
+ var value = destination_1.b2(key);
1251
1248
  var tmp;
1252
1249
  if (value == null) {
1253
1250
  var answer = ArrayList_init_$Create$();
1254
- destination_1.n2(key, answer);
1251
+ destination_1.e2(key, answer);
1255
1252
  tmp = answer;
1256
1253
  } else {
1257
1254
  tmp = value;
1258
1255
  }
1259
1256
  var list = tmp;
1260
- list.e(element_1);
1257
+ list.j(element_1);
1261
1258
  }
1262
1259
  // Inline function 'kotlin.collections.filter' call
1263
1260
  // Inline function 'kotlin.collections.filterTo' call
1264
1261
  var destination_2 = LinkedHashMap_init_$Create$();
1265
1262
  // Inline function 'kotlin.collections.iterator' call
1266
- var _iterator__ex2g4s_2 = destination_1.s().j();
1267
- while (_iterator__ex2g4s_2.k()) {
1268
- var element_2 = _iterator__ex2g4s_2.l();
1269
- if (element_2.u().m() >= cardsCount) {
1270
- destination_2.n2(element_2.t(), element_2.u());
1263
+ var _iterator__ex2g4s_2 = destination_1.u().l();
1264
+ while (_iterator__ex2g4s_2.m()) {
1265
+ var element_2 = _iterator__ex2g4s_2.n();
1266
+ if (element_2.w().o() >= cardsCount) {
1267
+ destination_2.e2(element_2.v(), element_2.w());
1271
1268
  }
1272
1269
  }
1273
- var combinations = destination_2.m2();
1270
+ var combinations = destination_2.d2();
1274
1271
  // Inline function 'kotlin.collections.map' call
1275
1272
  // Inline function 'kotlin.collections.mapTo' call
1276
1273
  var destination_3 = ArrayList_init_$Create$_0(collectionSizeOrDefault(combinations, 10));
1277
- var _iterator__ex2g4s_3 = combinations.j();
1278
- while (_iterator__ex2g4s_3.k()) {
1279
- var item = _iterator__ex2g4s_3.l();
1274
+ var _iterator__ex2g4s_3 = combinations.l();
1275
+ while (_iterator__ex2g4s_3.m()) {
1276
+ var item = _iterator__ex2g4s_3.n();
1280
1277
  var tmp$ret$17 = sortedWith(item, CardIndexComparator_instance);
1281
- destination_3.e(tmp$ret$17);
1278
+ destination_3.j(tmp$ret$17);
1282
1279
  }
1283
1280
  return destination_3;
1284
1281
  };
1285
- protoOf(CombinationsCheckerProviderImpl).a6d = function (cards, supportedCombinations) {
1282
+ protoOf(CombinationsCheckerProviderImpl).n5e = function (cards, supportedCombinations) {
1286
1283
  // Inline function 'kotlin.collections.minOf' call
1287
- var iterator = supportedCombinations.j();
1288
- if (!iterator.k())
1284
+ var iterator = supportedCombinations.l();
1285
+ if (!iterator.m())
1289
1286
  throw NoSuchElementException_init_$Create$_0();
1290
- var minValue = iterator.l();
1291
- while (iterator.k()) {
1292
- var v = iterator.l();
1287
+ var minValue = iterator.n();
1288
+ while (iterator.m()) {
1289
+ var v = iterator.n();
1293
1290
  if (compareTo(minValue, v) > 0) {
1294
1291
  minValue = v;
1295
1292
  }
@@ -1298,10 +1295,10 @@
1298
1295
  var cardsToCheck = toMutableList(cards);
1299
1296
  // Inline function 'kotlin.collections.mutableListOf' call
1300
1297
  var combinations = ArrayList_init_$Create$();
1301
- while (cardsToCheck.m() >= shortestCombinationSupport) {
1298
+ while (cardsToCheck.o() >= shortestCombinationSupport) {
1302
1299
  var combinationCards = createCombination(this, cardsToCheck, supportedCombinations);
1303
- combinations.e(toList(combinationCards));
1304
- cardsToCheck.c2(combinationCards);
1300
+ combinations.j(toList(combinationCards));
1301
+ cardsToCheck.k2(combinationCards);
1305
1302
  }
1306
1303
  // Inline function 'kotlin.collections.sortedBy' call
1307
1304
  // Inline function 'kotlin.comparisons.compareBy' call
@@ -1312,74 +1309,74 @@
1312
1309
  function DealerReducer() {
1313
1310
  }
1314
1311
  function DealerReducerImpl(logger, enableLogs) {
1315
- this.f6d_1 = logger;
1316
- this.g6d_1 = enableLogs;
1312
+ this.s5e_1 = logger;
1313
+ this.t5e_1 = enableLogs;
1317
1314
  }
1318
- protoOf(DealerReducerImpl).c6d = function (cards, cardsToRemove) {
1315
+ protoOf(DealerReducerImpl).p5e = function (cards, cardsToRemove) {
1319
1316
  var list = cards;
1320
- var _iterator__ex2g4s = cardsToRemove.j();
1321
- while (_iterator__ex2g4s.k()) {
1322
- var gameCard = _iterator__ex2g4s.l();
1323
- list = this.d6d(list, gameCard);
1317
+ var _iterator__ex2g4s = cardsToRemove.l();
1318
+ while (_iterator__ex2g4s.m()) {
1319
+ var gameCard = _iterator__ex2g4s.n();
1320
+ list = this.q5e(list, gameCard);
1324
1321
  }
1325
1322
  return list;
1326
1323
  };
1327
- protoOf(DealerReducerImpl).d6d = function (cards, cardToRemove) {
1324
+ protoOf(DealerReducerImpl).q5e = function (cards, cardToRemove) {
1328
1325
  var tmp;
1329
- if (!cardToRemove.j6a() && cards.v1(cardToRemove)) {
1330
- if (this.g6d_1) {
1331
- this.f6d_1.d('Dealer', 'Card removed: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1326
+ if (!cardToRemove.e5c() && cards.t1(cardToRemove)) {
1327
+ if (this.t5e_1) {
1328
+ this.s5e_1.d('Dealer', 'Card removed: ' + cardToRemove.toString() + ', size: ' + (cards.o() - 1 | 0));
1332
1329
  }
1333
1330
  tmp = minus(cards, cardToRemove);
1334
1331
  } else {
1335
- if (this.g6d_1) {
1336
- this.f6d_1.d('Dealer', 'Card removed as hidden: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1332
+ if (this.t5e_1) {
1333
+ this.s5e_1.d('Dealer', 'Card removed as hidden: ' + cardToRemove.toString() + ', size: ' + (cards.o() - 1 | 0));
1337
1334
  }
1338
1335
  // Inline function 'kotlin.collections.filterNot' call
1339
1336
  // Inline function 'kotlin.collections.filterNotTo' call
1340
1337
  var destination = ArrayList_init_$Create$();
1341
- var _iterator__ex2g4s = cards.j();
1342
- while (_iterator__ex2g4s.k()) {
1343
- var element = _iterator__ex2g4s.l();
1344
- if (!element.j6a()) {
1345
- destination.e(element);
1338
+ var _iterator__ex2g4s = cards.l();
1339
+ while (_iterator__ex2g4s.m()) {
1340
+ var element = _iterator__ex2g4s.n();
1341
+ if (!element.e5c()) {
1342
+ destination.j(element);
1346
1343
  }
1347
1344
  }
1348
1345
  var notHiddenCards = destination;
1349
1346
  // Inline function 'kotlin.collections.filter' call
1350
1347
  // Inline function 'kotlin.collections.filterTo' call
1351
1348
  var destination_0 = ArrayList_init_$Create$();
1352
- var _iterator__ex2g4s_0 = cards.j();
1353
- while (_iterator__ex2g4s_0.k()) {
1354
- var element_0 = _iterator__ex2g4s_0.l();
1355
- if (element_0.j6a()) {
1356
- destination_0.e(element_0);
1349
+ var _iterator__ex2g4s_0 = cards.l();
1350
+ while (_iterator__ex2g4s_0.m()) {
1351
+ var element_0 = _iterator__ex2g4s_0.n();
1352
+ if (element_0.e5c()) {
1353
+ destination_0.j(element_0);
1357
1354
  }
1358
1355
  }
1359
1356
  var hiddenCards = destination_0;
1360
- if (hiddenCards.p()) {
1361
- this.f6d_1.w('Dealer', "Can't find card to delete for player, " + ('cards:' + toString(cards) + ', ') + ('cardToRemove: ' + cardToRemove.toString()));
1357
+ if (hiddenCards.r()) {
1358
+ this.s5e_1.w('Dealer', "Can't find card to delete for player, " + ('cards:' + toString(cards) + ', ') + ('cardToRemove: ' + cardToRemove.toString()));
1362
1359
  }
1363
1360
  tmp = plus(notHiddenCards, dropLast(hiddenCards, 1));
1364
1361
  }
1365
1362
  return tmp;
1366
1363
  };
1367
- protoOf(DealerReducerImpl).e6d = function (cards, cardToAdd) {
1368
- if (this.g6d_1) {
1369
- this.f6d_1.d('Dealer', 'Card added: ' + cardToAdd.toString() + ', size: ' + (cards.m() + 1 | 0));
1364
+ protoOf(DealerReducerImpl).r5e = function (cards, cardToAdd) {
1365
+ if (this.t5e_1) {
1366
+ this.s5e_1.d('Dealer', 'Card added: ' + cardToAdd.toString() + ', size: ' + (cards.o() + 1 | 0));
1370
1367
  }
1371
- if (cards.v1(cardToAdd)) {
1372
- this.f6d_1.w('Dealer', 'Card already exists for player, ' + ('cards:' + toString(cards) + ', ') + ('cardToAdd: ' + cardToAdd.toString()));
1368
+ if (cards.t1(cardToAdd)) {
1369
+ this.s5e_1.w('Dealer', 'Card already exists for player, ' + ('cards:' + toString(cards) + ', ') + ('cardToAdd: ' + cardToAdd.toString()));
1373
1370
  }
1374
1371
  return plus_0(cards, cardToAdd);
1375
1372
  };
1376
1373
  //region block: post-declaration
1377
- protoOf(CardsDealerProviderImpl).x6a = standardShuffledCards$default;
1378
- protoOf(CardsDealerProviderImpl).z6a = realLifeShuffledCards$default;
1379
- protoOf(FakeCardsDealerProvider).x6a = standardShuffledCards$default;
1380
- protoOf(FakeCardsDealerProvider).z6a = realLifeShuffledCards$default;
1381
- protoOf(CombinationsCheckerProviderImpl).x6c = findCardsInRowCombinations$default;
1382
- protoOf(CombinationsCheckerProviderImpl).z6c = findSameCardsNumberCombinations$default;
1374
+ protoOf(CardsDealerProviderImpl).s5c = standardShuffledCards$default;
1375
+ protoOf(CardsDealerProviderImpl).u5c = realLifeShuffledCards$default;
1376
+ protoOf(FakeCardsDealerProvider).s5c = standardShuffledCards$default;
1377
+ protoOf(FakeCardsDealerProvider).u5c = realLifeShuffledCards$default;
1378
+ protoOf(CombinationsCheckerProviderImpl).k5e = findCardsInRowCombinations$default;
1379
+ protoOf(CombinationsCheckerProviderImpl).m5e = findSameCardsNumberCombinations$default;
1383
1380
  //endregion
1384
1381
  //region block: init
1385
1382
  CoreConfig_instance = new CoreConfig();
@@ -1396,7 +1393,7 @@
1396
1393
  var $io$raspberryapps = $io.raspberryapps || ($io.raspberryapps = {});
1397
1394
  var $io$raspberryapps$cardgame = $io$raspberryapps.cardgame || ($io$raspberryapps.cardgame = {});
1398
1395
  var $io$raspberryapps$cardgame$core = $io$raspberryapps$cardgame.core || ($io$raspberryapps$cardgame.core = {});
1399
- defineProp($io$raspberryapps$cardgame$core, 'CoreConfig', CoreConfig_getInstance);
1396
+ defineProp($io$raspberryapps$cardgame$core, 'CoreConfig', CoreConfig_getInstance, VOID, true);
1400
1397
  }
1401
1398
  $jsExportAll$(_);
1402
1399
  _.$jsExportAll$ = $jsExportAll$;