client_plugin_logic_deb 1.8.342 → 1.8.345

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 (69) hide show
  1. package/Kosi-Kaverit-kaverit.js +105 -117
  2. package/Kosi-Kaverit-kaverit.js.map +1 -1
  3. package/Kosi-Kodein-kodein-di.js +935 -945
  4. package/Kosi-Kodein-kodein-di.js.map +1 -1
  5. package/Kotlin-DateTime-library-kotlinx-datetime.js +4602 -3623
  6. package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
  7. package/Logic_Debertz-client_plugin.d.ts +980 -175
  8. package/Logic_Debertz-client_plugin.js +4766 -4245
  9. package/Logic_Debertz-client_plugin.js.map +1 -1
  10. package/Logic_Debertz-core.js +2134 -2158
  11. package/Logic_Debertz-core.js.map +1 -1
  12. package/Logic_Debertz-engine.js +20599 -21036
  13. package/Logic_Debertz-engine.js.map +1 -1
  14. package/Logic_Debertz-game_client.js +15554 -12975
  15. package/Logic_Debertz-game_client.js.map +1 -1
  16. package/Logic_Debertz-game_server.js +2061 -2015
  17. package/Logic_Debertz-game_server.js.map +1 -1
  18. package/kotlin-kotlin-stdlib.js +4605 -4296
  19. package/kotlin-kotlin-stdlib.js.map +1 -1
  20. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -1
  21. package/kotlinx-atomicfu.js +25 -26
  22. package/kotlinx-atomicfu.js.map +1 -1
  23. package/kotlinx-coroutines-core.js +3343 -3522
  24. package/kotlinx-coroutines-core.js.map +1 -1
  25. package/kotlinx-io-kotlinx-io-bytestring.js.map +1 -1
  26. package/kotlinx-io-kotlinx-io-core.js +459 -523
  27. package/kotlinx-io-kotlinx-io-core.js.map +1 -1
  28. package/kotlinx-serialization-kotlinx-serialization-core.js +2370 -2412
  29. package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
  30. package/kotlinx-serialization-kotlinx-serialization-json.js +1963 -1977
  31. package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
  32. package/kotlinx-serialization-kotlinx-serialization-protobuf.js.map +1 -1
  33. package/ktor-ktor-client-content-negotiation.js +194 -194
  34. package/ktor-ktor-client-content-negotiation.js.map +1 -1
  35. package/ktor-ktor-client-core.js +1901 -1936
  36. package/ktor-ktor-client-core.js.map +1 -1
  37. package/ktor-ktor-client-js.js.map +1 -1
  38. package/ktor-ktor-client-logging.js +393 -399
  39. package/ktor-ktor-client-logging.js.map +1 -1
  40. package/ktor-ktor-events.js +12 -15
  41. package/ktor-ktor-events.js.map +1 -1
  42. package/ktor-ktor-http.js +964 -1154
  43. package/ktor-ktor-http.js.map +1 -1
  44. package/ktor-ktor-io.js +1717 -1827
  45. package/ktor-ktor-io.js.map +1 -1
  46. package/ktor-ktor-serialization-kotlinx-json.js +8 -8
  47. package/ktor-ktor-serialization-kotlinx-json.js.map +1 -1
  48. package/ktor-ktor-serialization-kotlinx.js +238 -243
  49. package/ktor-ktor-serialization-kotlinx.js.map +1 -1
  50. package/ktor-ktor-serialization.js +100 -96
  51. package/ktor-ktor-serialization.js.map +1 -1
  52. package/ktor-ktor-utils.js +655 -689
  53. package/ktor-ktor-utils.js.map +1 -1
  54. package/ktor-ktor-websocket-serialization.js.map +1 -1
  55. package/ktor-ktor-websockets.js +71 -77
  56. package/ktor-ktor-websockets.js.map +1 -1
  57. package/package.json +1 -2
  58. package/raspberry-cardgame-lib-core.js +333 -367
  59. package/raspberry-cardgame-lib-core.js.map +1 -1
  60. package/raspberry-cardgame-lib-logger.js +148 -119
  61. package/raspberry-cardgame-lib-logger.js.map +1 -1
  62. package/raspberry-cardgame-lib-random.js +965 -1034
  63. package/raspberry-cardgame-lib-random.js.map +1 -1
  64. package/secure-random-secure-random.js +36 -35
  65. package/secure-random-secure-random.js.map +1 -1
  66. package/uuid.js +35 -39
  67. package/uuid.js.map +1 -1
  68. package/kotlin-kotlinx-atomicfu-runtime.js +0 -15
  69. package/kotlin-kotlinx-atomicfu-runtime.js.map +0 -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.$_$.wc;
23
- var initMetadataForObject = kotlin_kotlin.$_$.ac;
24
- var defineProp = kotlin_kotlin.$_$.mb;
25
- var THROW_CCE = kotlin_kotlin.$_$.ug;
26
- var Comparator = kotlin_kotlin.$_$.gg;
22
+ var protoOf = kotlin_kotlin.$_$.rc;
23
+ var initMetadataForObject = kotlin_kotlin.$_$.vb;
24
+ var defineProp = kotlin_kotlin.$_$.ib;
25
+ var THROW_CCE = kotlin_kotlin.$_$.rg;
26
+ var Comparator = kotlin_kotlin.$_$.dg;
27
27
  var VOID = kotlin_kotlin.$_$.f;
28
- var initMetadataForClass = kotlin_kotlin.$_$.vb;
29
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
30
- var Unit_instance = kotlin_kotlin.$_$.q5;
31
- var take = kotlin_kotlin.$_$.q9;
32
- var toList = kotlin_kotlin.$_$.u9;
33
- var takeLast = kotlin_kotlin.$_$.p9;
34
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.sh;
35
- var initMetadataForCompanion = kotlin_kotlin.$_$.wb;
36
- var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.w1;
37
- var Enum = kotlin_kotlin.$_$.jg;
38
- var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
39
- var enumEntries = kotlin_kotlin.$_$.za;
40
- var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.k;
41
- var lazy = kotlin_kotlin.$_$.qh;
42
- var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d2;
43
- var initMetadataForInterface = kotlin_kotlin.$_$.yb;
44
- var collectionSizeOrDefault = kotlin_kotlin.$_$.t6;
45
- var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.m;
28
+ var initMetadataForClass = kotlin_kotlin.$_$.qb;
29
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
30
+ var Unit_instance = kotlin_kotlin.$_$.i5;
31
+ var take = kotlin_kotlin.$_$.k9;
32
+ var toList = kotlin_kotlin.$_$.o9;
33
+ var takeLast = kotlin_kotlin.$_$.j9;
34
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.ph;
35
+ var initMetadataForCompanion = kotlin_kotlin.$_$.rb;
36
+ var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.t1;
37
+ var Enum = kotlin_kotlin.$_$.gg;
38
+ var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i2;
39
+ var enumEntries = kotlin_kotlin.$_$.ua;
40
+ var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.i;
41
+ var lazy = kotlin_kotlin.$_$.nh;
42
+ var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
43
+ var initMetadataForInterface = kotlin_kotlin.$_$.tb;
44
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.m6;
45
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.k;
46
46
  var SecureRandom = kotlin_io_raspberryapps_cardgame_random.$_$.j;
47
- var CoroutineImpl = kotlin_kotlin.$_$.xa;
48
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ia;
49
- var initMetadataForCoroutine = kotlin_kotlin.$_$.xb;
50
- var Result = kotlin_kotlin.$_$.sg;
51
- var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.h3;
52
- var throwOnFailure = kotlin_kotlin.$_$.wh;
53
- var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.k3;
54
- var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.j3;
55
- var addAll = kotlin_kotlin.$_$.h6;
56
- var until = kotlin_kotlin.$_$.md;
57
- var count = kotlin_kotlin.$_$.k7;
58
- var Collection = kotlin_kotlin.$_$.s5;
59
- var isInterface = kotlin_kotlin.$_$.jc;
60
- var toMutableList = kotlin_kotlin.$_$.y9;
47
+ var CoroutineImpl = kotlin_kotlin.$_$.sa;
48
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.da;
49
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.sb;
50
+ var Result = kotlin_kotlin.$_$.pg;
51
+ var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.x2;
52
+ var throwOnFailure = kotlin_kotlin.$_$.th;
53
+ var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.a3;
54
+ var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.z2;
55
+ var addAll = kotlin_kotlin.$_$.z5;
56
+ var until = kotlin_kotlin.$_$.id;
57
+ var count = kotlin_kotlin.$_$.d7;
58
+ var Collection = kotlin_kotlin.$_$.k5;
59
+ var isInterface = kotlin_kotlin.$_$.ec;
60
+ var toMutableList = kotlin_kotlin.$_$.s9;
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.$_$.r8;
64
- var first = kotlin_kotlin.$_$.w7;
65
- var sorted = kotlin_kotlin.$_$.n9;
66
- var asReversed = kotlin_kotlin.$_$.l6;
67
- var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.d2;
68
- var equals = kotlin_kotlin.$_$.nb;
69
- var FunctionAdapter = kotlin_kotlin.$_$.bb;
70
- var hashCode = kotlin_kotlin.$_$.ub;
71
- var first_0 = kotlin_kotlin.$_$.v7;
72
- var compareValues = kotlin_kotlin.$_$.ga;
73
- var sortWith = kotlin_kotlin.$_$.l9;
74
- var lastOrNull = kotlin_kotlin.$_$.l8;
75
- var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.w;
76
- var sortedWith = kotlin_kotlin.$_$.m9;
77
- var NoSuchElementException_init_$Create$_0 = kotlin_kotlin.$_$.b2;
78
- var compareTo = kotlin_kotlin.$_$.lb;
79
- var toString = kotlin_kotlin.$_$.ad;
80
- var dropLast = kotlin_kotlin.$_$.m7;
81
- var plus = kotlin_kotlin.$_$.a9;
82
- var minus = kotlin_kotlin.$_$.v8;
83
- var plus_0 = kotlin_kotlin.$_$.b9;
63
+ var listOf = kotlin_kotlin.$_$.k8;
64
+ var first = kotlin_kotlin.$_$.p7;
65
+ var sorted = kotlin_kotlin.$_$.h9;
66
+ var asReversed = kotlin_kotlin.$_$.e6;
67
+ var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.a2;
68
+ var equals = kotlin_kotlin.$_$.jb;
69
+ var FunctionAdapter = kotlin_kotlin.$_$.wa;
70
+ var hashCode = kotlin_kotlin.$_$.pb;
71
+ var first_0 = kotlin_kotlin.$_$.o7;
72
+ var compareValues = kotlin_kotlin.$_$.ba;
73
+ var sortWith = kotlin_kotlin.$_$.f9;
74
+ var lastOrNull = kotlin_kotlin.$_$.e8;
75
+ var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.u;
76
+ var sortedWith = kotlin_kotlin.$_$.g9;
77
+ var NoSuchElementException_init_$Create$_0 = kotlin_kotlin.$_$.y1;
78
+ var compareTo = kotlin_kotlin.$_$.hb;
79
+ var toString = kotlin_kotlin.$_$.wc;
80
+ var dropLast = kotlin_kotlin.$_$.f7;
81
+ var plus = kotlin_kotlin.$_$.u8;
82
+ var minus = kotlin_kotlin.$_$.o8;
83
+ var plus_0 = kotlin_kotlin.$_$.v8;
84
84
  //endregion
85
85
  //region block: pre-declaration
86
86
  initMetadataForObject(CoreConfig, 'CoreConfig');
@@ -96,16 +96,16 @@
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.j6b(cards, times) : $super.j6b.call(this, cards, times);
99
+ return $super === VOID ? this.i6g(cards, times) : $super.i6g.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.l6b(cards, times) : $super.l6b.call(this, cards, times);
103
+ return $super === VOID ? this.k6g(cards, times) : $super.k6g.call(this, cards, times);
104
104
  }
105
105
  initMetadataForInterface(CardsDealerProvider, 'CardsDealerProvider', VOID, VOID, VOID, [5]);
106
106
  initMetadataForCompanion(Companion_2);
107
- initMetadataForCoroutine($createNewShuffledCardDeckCOROUTINE$0, CoroutineImpl);
108
- initMetadataForCoroutine($getRandomOrgCardsCOROUTINE$1, CoroutineImpl);
107
+ initMetadataForCoroutine($createNewShuffledCardDeckCOROUTINE$, CoroutineImpl);
108
+ initMetadataForCoroutine($getRandomOrgCardsCOROUTINE$, CoroutineImpl);
109
109
  initMetadataForClass(CardsDealerProviderImpl, 'CardsDealerProviderImpl', VOID, VOID, [CardsDealerProvider], [5]);
110
110
  initMetadataForCompanion(Companion_3);
111
111
  initMetadataForClass(FakeCardsDealerProvider, 'FakeCardsDealerProvider', FakeCardsDealerProvider, VOID, [CardsDealerProvider], [5]);
@@ -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.j6d(cards, supportedCombinations, checkFromIndex, includeCardNames, suit) : $super.j6d.call(this, cards, supportedCombinations, checkFromIndex, includeCardNames, suit);
116
+ return $super === VOID ? this.i6i(cards, supportedCombinations, checkFromIndex, includeCardNames, suit) : $super.i6i.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.l6d(cards, cardsCount, includeCardNames) : $super.l6d.call(this, cards, cardsCount, includeCardNames);
121
+ return $super === VOID ? this.k6i(cards, cardsCount, includeCardNames) : $super.k6i.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.50';
131
131
  }
132
- protoOf(CoreConfig).l33 = function () {
132
+ protoOf(CoreConfig).a36 = function () {
133
133
  return this.version;
134
134
  };
135
135
  var CoreConfig_instance;
@@ -138,42 +138,42 @@
138
138
  }
139
139
  function CardIndexComparator() {
140
140
  }
141
- protoOf(CardIndexComparator).m6a = function (a, b) {
142
- return a.n6a_1 - b.n6a_1 | 0;
141
+ protoOf(CardIndexComparator).l6f = function (a, b) {
142
+ return a.m6f_1 - b.m6f_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.m6a(tmp, b instanceof GameCard ? b : THROW_CCE());
146
+ return this.l6f(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.o6a_1 = suit;
153
+ this.n6f_1 = suit;
154
154
  }
155
- protoOf(CardSuitSortingComparator).m6a = function (a, b) {
156
- if (!a.p6a() || !b.p6a()) {
155
+ protoOf(CardSuitSortingComparator).l6f = function (a, b) {
156
+ if (!a.o6f() || !b.o6f()) {
157
157
  return 0;
158
158
  }
159
- var suitIndexL = this.o6a_1.x1(a.q6a());
160
- var suitIndexR = this.o6a_1.x1(b.q6a());
161
- var sortedNumberL = imul(suitIndexL, 13) + a.r6a() | 0;
162
- var sortedNumberR = imul(suitIndexR, 13) + b.r6a() | 0;
159
+ var suitIndexL = this.n6f_1.u1(a.p6f());
160
+ var suitIndexR = this.n6f_1.u1(b.p6f());
161
+ var sortedNumberL = imul(suitIndexL, 13) + a.q6f() | 0;
162
+ var sortedNumberR = imul(suitIndexR, 13) + b.q6f() | 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.m6a(tmp, b instanceof GameCard ? b : THROW_CCE());
167
+ return this.l6f(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 tmp0_iterator = _this__u8e3s4.j();
175
- while (tmp0_iterator.k()) {
176
- var element = tmp0_iterator.l();
174
+ var _iterator__ex2g4s = _this__u8e3s4.j();
175
+ while (_iterator__ex2g4s.k()) {
176
+ var element = _iterator__ex2g4s.l();
177
177
  if (predicate(element)) {
178
178
  destination.e(element);
179
179
  }
@@ -182,12 +182,12 @@
182
182
  }
183
183
  function CardNumberComparator() {
184
184
  }
185
- protoOf(CardNumberComparator).m6a = function (a, b) {
186
- return b.r6a() - a.r6a() | 0;
185
+ protoOf(CardNumberComparator).l6f = function (a, b) {
186
+ return b.q6f() - a.q6f() | 0;
187
187
  };
188
188
  protoOf(CardNumberComparator).compare = function (a, b) {
189
189
  var tmp = a instanceof GameCard ? a : THROW_CCE();
190
- return this.m6a(tmp, b instanceof GameCard ? b : THROW_CCE());
190
+ return this.l6f(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.z1(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.z1(cardsToDeal);
204
204
  return cardsToDeal;
205
205
  }
206
206
  function byCardNamePredicate(types) {
@@ -208,17 +208,16 @@
208
208
  }
209
209
  function byCardNamePredicate$lambda($types) {
210
210
  return function (p1) {
211
+ var tmp0 = $types;
211
212
  var tmp$ret$1;
212
213
  $l$block: {
213
214
  // Inline function 'kotlin.collections.any' call
214
- var indexedObject = $types;
215
215
  var inductionVariable = 0;
216
- var last = indexedObject.length;
216
+ var last = tmp0.length;
217
217
  while (inductionVariable < last) {
218
- var element = indexedObject[inductionVariable];
218
+ var element = tmp0[inductionVariable];
219
219
  inductionVariable = inductionVariable + 1 | 0;
220
- // Inline function 'io.raspberryapps.card_game.core.data.models.cards.byCardNamePredicate.<anonymous>.<anonymous>' call
221
- if (p1.s2().equals(element)) {
220
+ if (p1.p2().equals(element)) {
222
221
  tmp$ret$1 = true;
223
222
  break $l$block;
224
223
  }
@@ -244,7 +243,7 @@
244
243
  var CardName_HIDDEN_instance;
245
244
  function getShortName($this) {
246
245
  var tmp;
247
- switch ($this.r2_1) {
246
+ switch ($this.o2_1) {
248
247
  case 0:
249
248
  tmp = 'A';
250
249
  break;
@@ -315,25 +314,23 @@
315
314
  }
316
315
  function Companion() {
317
316
  }
318
- protoOf(Companion).s6a = function (suit, number) {
317
+ protoOf(Companion).r6f = function (suit, number) {
319
318
  return new GameCard(getNumber(Companion_instance_0, getName(Companion_instance_0, number), suit));
320
319
  };
321
- protoOf(Companion).t6a = function (suit, cardNumber) {
320
+ protoOf(Companion).s6f = function (suit, cardNumber) {
322
321
  return new GameCard(getNumber(Companion_instance_0, cardNumber, suit));
323
322
  };
324
- protoOf(Companion).u6a = function (index) {
323
+ protoOf(Companion).t6f = function (index) {
325
324
  return new GameCard(index);
326
325
  };
327
- protoOf(Companion).v6a = function (position, playerIndex, previousHiddenCardWithMaxIndex, reverse) {
326
+ protoOf(Companion).u6f = function (position, playerIndex, previousHiddenCardWithMaxIndex, reverse) {
328
327
  var tmp;
329
328
  if (previousHiddenCardWithMaxIndex == null) {
330
329
  tmp = null;
331
330
  } else {
332
331
  // Inline function 'kotlin.takeIf' call
333
- // Inline function 'kotlin.contracts.contract' call
334
332
  var tmp_0;
335
- // Inline function 'io.raspberryapps.card_game.core.data.models.cards.Companion.createUniqueHiddenCard.<anonymous>' call
336
- if (previousHiddenCardWithMaxIndex.w6a()) {
333
+ if (previousHiddenCardWithMaxIndex.v6f()) {
337
334
  tmp_0 = previousHiddenCardWithMaxIndex;
338
335
  } else {
339
336
  tmp_0 = null;
@@ -341,15 +338,13 @@
341
338
  tmp = tmp_0;
342
339
  }
343
340
  var tmp3_safe_receiver = tmp;
344
- var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.n6a_1;
345
- var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : Companion_instance_0.c6b(tmp4_safe_receiver, playerIndex, reverse);
341
+ var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.m6f_1;
342
+ var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : Companion_instance_0.b6g(tmp4_safe_receiver, playerIndex, reverse);
346
343
  var tmp_1;
347
344
  if (tmp5_safe_receiver == null) {
348
345
  tmp_1 = null;
349
346
  } else {
350
347
  // Inline function 'kotlin.let' call
351
- // Inline function 'kotlin.contracts.contract' call
352
- // Inline function 'io.raspberryapps.card_game.core.data.models.cards.Companion.createUniqueHiddenCard.<anonymous>' call
353
348
  tmp_1 = tmp5_safe_receiver + 1 | 0;
354
349
  }
355
350
  var tmp0_elvis_lhs = tmp_1;
@@ -363,12 +358,12 @@
363
358
  var index = tmp_2;
364
359
  return new GameCard(index);
365
360
  };
366
- protoOf(Companion).d6b = function (position, playerIndex, previousHiddenCardWithMaxIndex, reverse, $super) {
361
+ protoOf(Companion).c6g = function (position, playerIndex, previousHiddenCardWithMaxIndex, reverse, $super) {
367
362
  previousHiddenCardWithMaxIndex = previousHiddenCardWithMaxIndex === VOID ? null : previousHiddenCardWithMaxIndex;
368
363
  reverse = reverse === VOID ? false : reverse;
369
- return $super === VOID ? this.v6a(position, playerIndex, previousHiddenCardWithMaxIndex, reverse) : $super.v6a.call(this, position, playerIndex, previousHiddenCardWithMaxIndex, reverse);
364
+ return $super === VOID ? this.u6f(position, playerIndex, previousHiddenCardWithMaxIndex, reverse) : $super.u6f.call(this, position, playerIndex, previousHiddenCardWithMaxIndex, reverse);
370
365
  };
371
- protoOf(Companion).e6b = function (position) {
366
+ protoOf(Companion).d6g = function (position) {
372
367
  var index = 150 + position | 0;
373
368
  return new GameCard(index);
374
369
  };
@@ -381,7 +376,7 @@
381
376
  }
382
377
  function getCardNumber($this, number) {
383
378
  var tmp;
384
- switch (number.r2_1) {
379
+ switch (number.o2_1) {
385
380
  case 12:
386
381
  tmp = 0;
387
382
  break;
@@ -474,7 +469,7 @@
474
469
  return tmp;
475
470
  }
476
471
  function _get_isShirt__vd98rp($this) {
477
- return $this.n6a_1 >= 150 && $this.n6a_1 <= 202;
472
+ return $this.m6f_1 >= 150 && $this.m6f_1 <= 202;
478
473
  }
479
474
  function CardName(name, ordinal) {
480
475
  Enum.call(this, name, ordinal);
@@ -483,13 +478,13 @@
483
478
  return getShortName(this);
484
479
  };
485
480
  function Companion_0() {
486
- this.x6a_1 = -1;
487
- this.y6a_1 = 13;
488
- this.z6a_1 = 52;
489
- this.a6b_1 = 150;
490
- this.b6b_1 = 53;
481
+ this.w6f_1 = -1;
482
+ this.x6f_1 = 13;
483
+ this.y6f_1 = 52;
484
+ this.z6f_1 = 150;
485
+ this.a6g_1 = 53;
491
486
  }
492
- protoOf(Companion_0).c6b = function (_this__u8e3s4, playerIndex, reverse) {
487
+ protoOf(Companion_0).b6g = function (_this__u8e3s4, playerIndex, reverse) {
493
488
  var tmp;
494
489
  if (reverse) {
495
490
  tmp = _this__u8e3s4 + (53 + imul(playerIndex, 14) | 0) | 0;
@@ -559,59 +554,59 @@
559
554
  return CardName_HIDDEN_instance;
560
555
  }
561
556
  function GameCard(index) {
562
- this.n6a_1 = index;
557
+ this.m6f_1 = index;
563
558
  }
564
- protoOf(GameCard).q6a = function () {
559
+ protoOf(GameCard).p6f = function () {
565
560
  var tmp;
566
- var containsArg = this.n6a_1;
561
+ var containsArg = this.m6f_1;
567
562
  if (0 <= containsArg ? containsArg <= 13 : false) {
568
563
  tmp = Suit_DIAMOND_getInstance();
569
564
  } else {
570
- if (this.n6a_1 <= 26) {
565
+ if (this.m6f_1 <= 26) {
571
566
  tmp = Suit_SPADE_getInstance();
572
567
  } else {
573
- if (this.n6a_1 <= 39) {
568
+ if (this.m6f_1 <= 39) {
574
569
  tmp = Suit_HEART_getInstance();
575
570
  } else {
576
- if (this.n6a_1 <= 52) {
571
+ if (this.m6f_1 <= 52) {
577
572
  tmp = Suit_CLUB_getInstance();
578
573
  } else {
579
- throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.n6a_1);
574
+ throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.m6f_1);
580
575
  }
581
576
  }
582
577
  }
583
578
  }
584
579
  return tmp;
585
580
  };
586
- protoOf(GameCard).r6a = function () {
581
+ protoOf(GameCard).q6f = function () {
587
582
  var tmp;
588
- if (this.w6a()) {
583
+ if (this.v6f()) {
589
584
  tmp = -1;
590
585
  } else {
591
- tmp = this.n6a_1 - imul(13, getIndex(this.q6a())) | 0;
586
+ tmp = this.m6f_1 - imul(13, getIndex(this.p6f())) | 0;
592
587
  }
593
588
  return tmp;
594
589
  };
595
- protoOf(GameCard).s2 = function () {
596
- return this.w6a() ? CardName_HIDDEN_getInstance() : getName(Companion_instance_0, this.r6a());
590
+ protoOf(GameCard).p2 = function () {
591
+ return this.v6f() ? CardName_HIDDEN_getInstance() : getName(Companion_instance_0, this.q6f());
597
592
  };
598
- protoOf(GameCard).p6a = function () {
599
- return !_get_isShirt__vd98rp(this) && !this.w6a();
593
+ protoOf(GameCard).o6f = function () {
594
+ return !_get_isShirt__vd98rp(this) && !this.v6f();
600
595
  };
601
- protoOf(GameCard).w6a = function () {
602
- return this.n6a_1 >= 53 && this.n6a_1 <= 105;
596
+ protoOf(GameCard).v6f = function () {
597
+ return this.m6f_1 >= 53 && this.m6f_1 <= 105;
603
598
  };
604
599
  protoOf(GameCard).toString = function () {
605
600
  if (_get_isShirt__vd98rp(this)) {
606
- return 'GameCard(SHIRT, ' + this.n6a_1 + ')';
601
+ return 'GameCard(SHIRT, ' + this.m6f_1 + ')';
607
602
  }
608
- if (this.w6a()) {
609
- return 'GameCard(HIDDEN, ' + this.n6a_1 + ')';
603
+ if (this.v6f()) {
604
+ return 'GameCard(HIDDEN, ' + this.m6f_1 + ')';
610
605
  }
611
- return 'GameCard(' + this.q6a().toString() + this.s2().toString() + ', ' + this.n6a_1 + ')';
606
+ return 'GameCard(' + this.p6f().toString() + this.p2().toString() + ', ' + this.m6f_1 + ')';
612
607
  };
613
608
  protoOf(GameCard).hashCode = function () {
614
- return this.n6a_1;
609
+ return this.m6f_1;
615
610
  };
616
611
  protoOf(GameCard).equals = function (other) {
617
612
  if (this === other)
@@ -619,12 +614,12 @@
619
614
  if (!(other instanceof GameCard))
620
615
  return false;
621
616
  var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
622
- if (!(this.n6a_1 === tmp0_other_with_cast.n6a_1))
617
+ if (!(this.m6f_1 === tmp0_other_with_cast.m6f_1))
623
618
  return false;
624
619
  return true;
625
620
  };
626
621
  function _get_$cachedSerializer__te6jhj($this) {
627
- return $this.f6b_1.u();
622
+ return $this.e6g_1.u();
628
623
  }
629
624
  function Suit$Companion$_anonymous__cbm2iq() {
630
625
  return createSimpleEnumSerializer('io.raspberryapps.card_game.core.data.models.cards.Suit', values());
@@ -635,7 +630,7 @@
635
630
  var Suit_CLUB_instance;
636
631
  function getSuitEmoji($this) {
637
632
  var tmp;
638
- switch ($this.r2_1) {
633
+ switch ($this.o2_1) {
639
634
  case 0:
640
635
  tmp = '\u2666\uFE0F';
641
636
  break;
@@ -666,13 +661,13 @@
666
661
  Companion_instance_1 = this;
667
662
  var tmp = this;
668
663
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
669
- tmp.f6b_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
664
+ tmp.e6g_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
670
665
  }
671
- protoOf(Companion_1).u50 = function () {
666
+ protoOf(Companion_1).s54 = function () {
672
667
  return _get_$cachedSerializer__te6jhj(this);
673
668
  };
674
- protoOf(Companion_1).r4k = function (typeParamsSerializers) {
675
- return this.u50();
669
+ protoOf(Companion_1).h4o = function (typeParamsSerializers) {
670
+ return this.s54();
676
671
  };
677
672
  var Companion_instance_1;
678
673
  function Companion_getInstance_1() {
@@ -717,7 +712,7 @@
717
712
  }
718
713
  function getIndex(_this__u8e3s4) {
719
714
  var tmp;
720
- switch (_this__u8e3s4.r2_1) {
715
+ switch (_this__u8e3s4.o2_1) {
721
716
  case 0:
722
717
  tmp = 0;
723
718
  break;
@@ -766,7 +761,7 @@
766
761
  function CardsDealerProvider() {
767
762
  }
768
763
  function getRandomOrgCards($this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, $completion) {
769
- var tmp = new $getRandomOrgCardsCOROUTINE$1($this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, $completion);
764
+ var tmp = new $getRandomOrgCardsCOROUTINE$($this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, $completion);
770
765
  tmp.l9_1 = Unit_instance;
771
766
  tmp.m9_1 = null;
772
767
  return tmp.r9();
@@ -776,10 +771,9 @@
776
771
  // Inline function 'kotlin.collections.map' call
777
772
  // Inline function 'kotlin.collections.mapTo' call
778
773
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(cards, 10));
779
- var tmp0_iterator = cards.j();
780
- while (tmp0_iterator.k()) {
781
- var item = tmp0_iterator.l();
782
- // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.normalizeCards.<anonymous>' call
774
+ var _iterator__ex2g4s = cards.j();
775
+ while (_iterator__ex2g4s.k()) {
776
+ var item = _iterator__ex2g4s.l();
783
777
  var previousSuitNumber = item / oneSuitCount | 0;
784
778
  var cardIndexShift = imul(leftCardIndexForEachSuit, previousSuitNumber + 1 | 0);
785
779
  var newIndex = item + cardIndexShift | 0;
@@ -790,7 +784,7 @@
790
784
  }
791
785
  function Companion_2() {
792
786
  }
793
- protoOf(Companion_2).j6c = function (randomPoolProvider, logger) {
787
+ protoOf(Companion_2).i6h = function (randomPoolProvider, logger) {
794
788
  var tmp17_random = new SecureRandom(logger);
795
789
  return new CardsDealerProviderImpl(tmp17_random, randomPoolProvider, logger);
796
790
  };
@@ -798,16 +792,16 @@
798
792
  function Companion_getInstance_2() {
799
793
  return Companion_instance_2;
800
794
  }
801
- function $createNewShuffledCardDeckCOROUTINE$0(_this__u8e3s4, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, resultContinuation) {
795
+ function $createNewShuffledCardDeckCOROUTINE$(_this__u8e3s4, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, resultContinuation) {
802
796
  CoroutineImpl.call(this, resultContinuation);
803
- this.s6c_1 = _this__u8e3s4;
804
- this.t6c_1 = leftCardIndexForEachSuit;
805
- this.u6c_1 = rightCardIndexForEachSuit;
806
- this.v6c_1 = approximateRoundCountForGame;
807
- this.w6c_1 = userData;
808
- this.x6c_1 = provider;
809
- }
810
- protoOf($createNewShuffledCardDeckCOROUTINE$0).r9 = function () {
797
+ this.r6h_1 = _this__u8e3s4;
798
+ this.s6h_1 = leftCardIndexForEachSuit;
799
+ this.t6h_1 = rightCardIndexForEachSuit;
800
+ this.u6h_1 = approximateRoundCountForGame;
801
+ this.v6h_1 = userData;
802
+ this.w6h_1 = provider;
803
+ }
804
+ protoOf($createNewShuffledCardDeckCOROUTINE$).r9 = function () {
811
805
  var suspendResult = this.l9_1;
812
806
  $sm: do
813
807
  try {
@@ -815,26 +809,26 @@
815
809
  switch (tmp) {
816
810
  case 0:
817
811
  this.k9_1 = 4;
818
- this.y6c_1 = this.x6c_1;
819
- this.z6c_1 = this.y6c_1.r2_1;
820
- if (this.z6c_1 === 0) {
812
+ this.x6h_1 = this.w6h_1;
813
+ this.y6h_1 = this.x6h_1.o2_1;
814
+ if (this.y6h_1 === 0) {
821
815
  var tmp_0 = this;
822
- var it = this.s6c_1.g6b(this.t6c_1, this.u6c_1);
823
- tmp_0.a6d_1 = this.s6c_1.k6b(it);
816
+ var it = this.r6h_1.f6g(this.s6h_1, this.t6h_1);
817
+ tmp_0.z6h_1 = this.r6h_1.j6g(it);
824
818
  this.j9_1 = 3;
825
819
  continue $sm;
826
820
  } else {
827
- if (this.z6c_1 === 1) {
821
+ if (this.y6h_1 === 1) {
828
822
  this.j9_1 = 2;
829
- suspendResult = getRandomOrgCards(this.s6c_1, this.t6c_1, this.u6c_1, this.v6c_1, this.w6c_1, false, this);
823
+ suspendResult = getRandomOrgCards(this.r6h_1, this.s6h_1, this.t6h_1, this.u6h_1, this.v6h_1, false, this);
830
824
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
831
825
  return suspendResult;
832
826
  }
833
827
  continue $sm;
834
828
  } else {
835
- if (this.z6c_1 === 2) {
829
+ if (this.y6h_1 === 2) {
836
830
  this.j9_1 = 1;
837
- suspendResult = getRandomOrgCards(this.s6c_1, this.t6c_1, this.u6c_1, this.v6c_1, this.w6c_1, true, this);
831
+ suspendResult = getRandomOrgCards(this.r6h_1, this.s6h_1, this.t6h_1, this.u6h_1, this.v6h_1, true, this);
838
832
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
839
833
  return suspendResult;
840
834
  }
@@ -848,15 +842,15 @@
848
842
 
849
843
  break;
850
844
  case 1:
851
- this.a6d_1 = suspendResult;
845
+ this.z6h_1 = suspendResult;
852
846
  this.j9_1 = 3;
853
847
  continue $sm;
854
848
  case 2:
855
- this.a6d_1 = suspendResult;
849
+ this.z6h_1 = suspendResult;
856
850
  this.j9_1 = 3;
857
851
  continue $sm;
858
852
  case 3:
859
- return this.a6d_1;
853
+ return this.z6h_1;
860
854
  case 4:
861
855
  throw this.m9_1;
862
856
  }
@@ -871,16 +865,16 @@
871
865
  }
872
866
  while (true);
873
867
  };
874
- function $getRandomOrgCardsCOROUTINE$1(_this__u8e3s4, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, resultContinuation) {
868
+ function $getRandomOrgCardsCOROUTINE$(_this__u8e3s4, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, resultContinuation) {
875
869
  CoroutineImpl.call(this, resultContinuation);
876
- this.w6b_1 = _this__u8e3s4;
877
- this.x6b_1 = leftCardIndexForEachSuit;
878
- this.y6b_1 = rightCardIndexForEachSuit;
879
- this.z6b_1 = approximateRoundsCount;
880
- this.a6c_1 = userData;
881
- this.b6c_1 = signed;
882
- }
883
- protoOf($getRandomOrgCardsCOROUTINE$1).r9 = function () {
870
+ this.v6g_1 = _this__u8e3s4;
871
+ this.w6g_1 = leftCardIndexForEachSuit;
872
+ this.x6g_1 = rightCardIndexForEachSuit;
873
+ this.y6g_1 = approximateRoundsCount;
874
+ this.z6g_1 = userData;
875
+ this.a6h_1 = signed;
876
+ }
877
+ protoOf($getRandomOrgCardsCOROUTINE$).r9 = function () {
884
878
  var suspendResult = this.l9_1;
885
879
  $sm: do
886
880
  try {
@@ -888,11 +882,11 @@
888
882
  switch (tmp) {
889
883
  case 0:
890
884
  this.k9_1 = 5;
891
- this.c6c_1 = this.w6b_1.n6b(this.x6b_1, this.y6b_1);
892
- this.d6c_1 = this.w6b_1.c6d_1;
893
- this.e6c_1 = this.c6c_1 - 1 | 0;
885
+ this.b6h_1 = this.v6g_1.m6g(this.w6g_1, this.x6g_1);
886
+ this.c6h_1 = this.v6g_1.b6i_1;
887
+ this.d6h_1 = this.b6h_1 - 1 | 0;
894
888
  this.j9_1 = 1;
895
- suspendResult = this.d6c_1.a5v(this.z6b_1, this.a6c_1, 0, this.e6c_1, this.c6c_1, this.b6c_1, VOID, this);
889
+ suspendResult = this.c6h_1.a60(this.y6g_1, this.z6g_1, 0, this.d6h_1, this.b6h_1, this.a6h_1, VOID, this);
896
890
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
897
891
  return suspendResult;
898
892
  }
@@ -900,34 +894,34 @@
900
894
  this.j9_1 = 2;
901
895
  continue $sm;
902
896
  case 1:
903
- this.f6c_1 = suspendResult.sk_1;
904
- suspendResult = new Result(this.f6c_1);
897
+ this.e6h_1 = suspendResult.cm_1;
898
+ suspendResult = new Result(this.e6h_1);
905
899
  this.j9_1 = 2;
906
900
  continue $sm;
907
901
  case 2:
908
- this.g6c_1 = suspendResult.sk_1;
909
- if (_Result___get_isSuccess__impl__sndoy8(this.g6c_1)) {
902
+ this.f6h_1 = suspendResult.cm_1;
903
+ if (_Result___get_isSuccess__impl__sndoy8(this.f6h_1)) {
910
904
  var tmp_0 = this;
911
- var this_0 = this.g6c_1;
905
+ var this_0 = this.f6h_1;
912
906
  throwOnFailure(this_0);
913
907
  var tmp_1 = _Result___get_value__impl__bjfvqg(this_0);
914
908
  var tmp14_cards = ((tmp_1 == null ? true : !(tmp_1 == null)) ? tmp_1 : THROW_CCE()).cards;
915
- var this_1 = normalizeCards(this.w6b_1, tmp14_cards, this.x6b_1);
909
+ var this_1 = normalizeCards(this.v6g_1, tmp14_cards, this.w6g_1);
916
910
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
917
- var tmp0_iterator = this_1.j();
918
- while (tmp0_iterator.k()) {
919
- var item = tmp0_iterator.l();
920
- destination.e(Companion_instance.u6a(item));
911
+ var _iterator__ex2g4s = this_1.j();
912
+ while (_iterator__ex2g4s.k()) {
913
+ var item = _iterator__ex2g4s.l();
914
+ destination.e(Companion_instance.t6f(item));
921
915
  }
922
- tmp_0.h6c_1 = destination;
916
+ tmp_0.g6h_1 = destination;
923
917
  this.j9_1 = 4;
924
918
  continue $sm;
925
919
  } else {
926
- this.i6c_1 = Result__exceptionOrNull_impl_p6xea9(this.g6c_1);
927
- var tmp15_safe_receiver = this.i6c_1;
928
- this.w6b_1.d6d_1.v('CardsDealerProvider', 'getRandomOrgCards: ' + (tmp15_safe_receiver == null ? null : tmp15_safe_receiver.message), this.i6c_1);
920
+ this.h6h_1 = Result__exceptionOrNull_impl_p6xea9(this.f6h_1);
921
+ var tmp15_safe_receiver = this.h6h_1;
922
+ this.v6g_1.c6i_1.v('CardsDealerProvider', 'getRandomOrgCards: ' + (tmp15_safe_receiver == null ? null : tmp15_safe_receiver.message), this.h6h_1);
929
923
  this.j9_1 = 3;
930
- suspendResult = this.w6b_1.h6b(this.x6b_1, this.y6b_1, this.z6b_1, this.a6c_1, CardsRandomProvider_CUSTOM_getInstance(), this);
924
+ suspendResult = this.v6g_1.g6g(this.w6g_1, this.x6g_1, this.y6g_1, this.z6g_1, CardsRandomProvider_CUSTOM_getInstance(), this);
931
925
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
932
926
  return suspendResult;
933
927
  }
@@ -935,11 +929,11 @@
935
929
  }
936
930
 
937
931
  case 3:
938
- this.h6c_1 = suspendResult;
932
+ this.g6h_1 = suspendResult;
939
933
  this.j9_1 = 4;
940
934
  continue $sm;
941
935
  case 4:
942
- return this.h6c_1;
936
+ return this.g6h_1;
943
937
  case 5:
944
938
  throw this.m9_1;
945
939
  }
@@ -955,32 +949,30 @@
955
949
  while (true);
956
950
  };
957
951
  function CardsDealerProviderImpl(random, randomPoolProvider, logger) {
958
- this.b6d_1 = random;
959
- this.c6d_1 = randomPoolProvider;
960
- this.d6d_1 = logger;
952
+ this.a6i_1 = random;
953
+ this.b6i_1 = randomPoolProvider;
954
+ this.c6i_1 = logger;
961
955
  }
962
- protoOf(CardsDealerProviderImpl).g6b = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
956
+ protoOf(CardsDealerProviderImpl).f6g = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
963
957
  // Inline function 'kotlin.collections.flatMap' call
958
+ var tmp0 = get_entries();
964
959
  // Inline function 'kotlin.collections.flatMapTo' call
965
- var this_0 = get_entries();
966
960
  var destination = ArrayList_init_$Create$();
967
- var tmp0_iterator = this_0.j();
968
- while (tmp0_iterator.k()) {
969
- var element = tmp0_iterator.l();
970
- // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.createNewCardDeck.<anonymous>' call
961
+ var _iterator__ex2g4s = tmp0.j();
962
+ while (_iterator__ex2g4s.k()) {
963
+ var element = _iterator__ex2g4s.l();
971
964
  // Inline function 'kotlin.collections.map' call
972
- var this_1 = this.e6d(leftCardIndexForEachSuit, rightCardIndexForEachSuit);
965
+ var this_0 = this.d6i(leftCardIndexForEachSuit, rightCardIndexForEachSuit);
973
966
  // Inline function 'kotlin.collections.mapTo' call
974
- var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
975
- var inductionVariable = this_1.a1_1;
976
- var last = this_1.b1_1;
967
+ 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;
977
970
  if (inductionVariable <= last)
978
971
  do {
979
972
  var item = inductionVariable;
980
973
  inductionVariable = inductionVariable + 1 | 0;
981
- // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.createNewCardDeck.<anonymous>.<anonymous>' call
982
974
  var it = item;
983
- var tmp$ret$0 = Companion_instance.s6a(element, it);
975
+ var tmp$ret$0 = Companion_instance.r6f(element, it);
984
976
  destination_0.e(tmp$ret$0);
985
977
  }
986
978
  while (!(item === last));
@@ -989,41 +981,38 @@
989
981
  }
990
982
  return destination;
991
983
  };
992
- protoOf(CardsDealerProviderImpl).e6d = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
984
+ protoOf(CardsDealerProviderImpl).d6i = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
993
985
  return until(leftCardIndexForEachSuit, 13 - rightCardIndexForEachSuit | 0);
994
986
  };
995
- protoOf(CardsDealerProviderImpl).n6b = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
987
+ protoOf(CardsDealerProviderImpl).m6g = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
996
988
  // Inline function 'kotlin.collections.sumOf' call
997
989
  var sum = 0;
998
- var tmp0_iterator = get_entries().j();
999
- while (tmp0_iterator.k()) {
1000
- var element = tmp0_iterator.l();
990
+ var _iterator__ex2g4s = get_entries().j();
991
+ while (_iterator__ex2g4s.k()) {
992
+ var element = _iterator__ex2g4s.l();
1001
993
  var tmp = sum;
1002
- // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.getCardsCount.<anonymous>' call
1003
- sum = tmp + count(this.e6d(leftCardIndexForEachSuit, rightCardIndexForEachSuit)) | 0;
994
+ sum = tmp + count(this.d6i(leftCardIndexForEachSuit, rightCardIndexForEachSuit)) | 0;
1004
995
  }
1005
996
  return sum;
1006
997
  };
1007
- protoOf(CardsDealerProviderImpl).h6b = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
1008
- var tmp = new $createNewShuffledCardDeckCOROUTINE$0(this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion);
998
+ protoOf(CardsDealerProviderImpl).g6g = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
999
+ var tmp = new $createNewShuffledCardDeckCOROUTINE$(this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion);
1009
1000
  tmp.l9_1 = Unit_instance;
1010
1001
  tmp.m9_1 = null;
1011
1002
  return tmp.r9();
1012
1003
  };
1013
- protoOf(CardsDealerProviderImpl).i6b = function (count, cards) {
1014
- // Inline function 'kotlin.apply' call
1004
+ protoOf(CardsDealerProviderImpl).h6g = function (count, cards) {
1015
1005
  // Inline function 'kotlin.collections.mutableListOf' call
1006
+ // Inline function 'kotlin.apply' call
1016
1007
  var this_0 = ArrayList_init_$Create$();
1017
- // Inline function 'kotlin.contracts.contract' call
1018
1008
  $l$block: {
1019
- // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.getNRandomUniqueCards.<anonymous>' call
1020
1009
  var _iterator__ex2g4s = cards.j();
1021
1010
  $l$loop_0: while (_iterator__ex2g4s.k()) {
1022
1011
  var card = _iterator__ex2g4s.l();
1023
1012
  if (this_0.m() === count) {
1024
1013
  break $l$block;
1025
1014
  }
1026
- var hasSimilarCard = this_0.v1(card);
1015
+ var hasSimilarCard = this_0.s1(card);
1027
1016
  if (hasSimilarCard) {
1028
1017
  continue $l$loop_0;
1029
1018
  }
@@ -1040,11 +1029,10 @@
1040
1029
  tmp$ret$2 = false;
1041
1030
  break $l$block_1;
1042
1031
  }
1043
- var tmp0_iterator = this_0.j();
1044
- while (tmp0_iterator.k()) {
1045
- var element = tmp0_iterator.l();
1046
- // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.getNRandomUniqueCards.<anonymous>.<anonymous>' call
1047
- if (element.r6a() === card.r6a()) {
1032
+ var _iterator__ex2g4s_0 = this_0.j();
1033
+ while (_iterator__ex2g4s_0.k()) {
1034
+ var element = _iterator__ex2g4s_0.l();
1035
+ if (element.q6f() === card.q6f()) {
1048
1036
  tmp$ret$2 = true;
1049
1037
  break $l$block_1;
1050
1038
  }
@@ -1059,85 +1047,80 @@
1059
1047
  }
1060
1048
  return this_0;
1061
1049
  };
1062
- protoOf(CardsDealerProviderImpl).j6b = function (cards, times) {
1050
+ protoOf(CardsDealerProviderImpl).i6g = function (cards, times) {
1063
1051
  // Inline function 'kotlin.let' call
1064
- // Inline function 'kotlin.contracts.contract' call
1065
- // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.standardShuffledCards.<anonymous>' call
1066
1052
  var shuffled = toMutableList(cards);
1067
1053
  var inductionVariable = 0;
1068
1054
  if (inductionVariable < times)
1069
1055
  do {
1070
1056
  var i = inductionVariable;
1071
1057
  inductionVariable = inductionVariable + 1 | 0;
1072
- shuffled = this.b6d_1.k60(shuffled);
1058
+ shuffled = this.a6i_1.k65(shuffled);
1073
1059
  }
1074
1060
  while (inductionVariable < times);
1075
1061
  return shuffled;
1076
1062
  };
1077
- protoOf(CardsDealerProviderImpl).l6b = function (cards, times) {
1078
- return toList(overhand(riffle(toMutableList(cards), times, this.b6d_1), times, this.b6d_1));
1063
+ protoOf(CardsDealerProviderImpl).k6g = function (cards, times) {
1064
+ return toList(overhand(riffle(toMutableList(cards), times, this.a6i_1), times, this.a6i_1));
1079
1065
  };
1080
1066
  function Companion_3() {
1081
1067
  }
1082
- protoOf(Companion_3).f6d = function () {
1083
- // Inline function 'kotlin.apply' call
1068
+ protoOf(Companion_3).e6i = function () {
1084
1069
  // Inline function 'kotlin.collections.mutableListOf' call
1070
+ // Inline function 'kotlin.apply' call
1085
1071
  var this_0 = ArrayList_init_$Create$();
1086
- // Inline function 'kotlin.contracts.contract' call
1087
- // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.Companion.getCards.<anonymous>' call
1088
- this_0.n(listOf([Companion_instance.t6a(Suit_DIAMOND_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.t6a(Suit_CLUB_getInstance(), CardName_NINE_getInstance()), Companion_instance.t6a(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.t6a(Suit_CLUB_getInstance(), CardName_TEN_getInstance()), Companion_instance.t6a(Suit_HEART_getInstance(), CardName_JACK_getInstance()), Companion_instance.t6a(Suit_HEART_getInstance(), CardName_KING_getInstance())]));
1089
- this_0.n(listOf([Companion_instance.t6a(Suit_CLUB_getInstance(), CardName_JACK_getInstance()), Companion_instance.t6a(Suit_SPADE_getInstance(), CardName_ACE_getInstance()), Companion_instance.t6a(Suit_DIAMOND_getInstance(), CardName_NINE_getInstance()), Companion_instance.t6a(Suit_DIAMOND_getInstance(), CardName_TEN_getInstance()), Companion_instance.t6a(Suit_DIAMOND_getInstance(), CardName_JACK_getInstance()), Companion_instance.t6a(Suit_HEART_getInstance(), CardName_EIGHT_getInstance())]));
1090
- this_0.n(listOf([Companion_instance.t6a(Suit_CLUB_getInstance(), CardName_QUEEN_getInstance()), Companion_instance.t6a(Suit_HEART_getInstance(), CardName_ACE_getInstance()), Companion_instance.t6a(Suit_HEART_getInstance(), CardName_QUEEN_getInstance()), Companion_instance.t6a(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.t6a(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.t6a(Suit_CLUB_getInstance(), CardName_KING_getInstance())]));
1091
- this_0.n(listOf([Companion_instance.t6a(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.t6a(Suit_SPADE_getInstance(), CardName_TEN_getInstance()), Companion_instance.t6a(Suit_HEART_getInstance(), CardName_TEN_getInstance()), Companion_instance.t6a(Suit_SPADE_getInstance(), CardName_JACK_getInstance()), Companion_instance.t6a(Suit_DIAMOND_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.t6a(Suit_SPADE_getInstance(), CardName_QUEEN_getInstance())]));
1092
- this_0.n(listOf([Companion_instance.t6a(Suit_DIAMOND_getInstance(), CardName_ACE_getInstance()), Companion_instance.t6a(Suit_CLUB_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.t6a(Suit_DIAMOND_getInstance(), CardName_KING_getInstance()), Companion_instance.t6a(Suit_SPADE_getInstance(), CardName_NINE_getInstance()), Companion_instance.t6a(Suit_CLUB_getInstance(), CardName_ACE_getInstance()), Companion_instance.t6a(Suit_SPADE_getInstance(), CardName_KING_getInstance()), Companion_instance.t6a(Suit_DIAMOND_getInstance(), CardName_QUEEN_getInstance()), Companion_instance.t6a(Suit_HEART_getInstance(), CardName_NINE_getInstance())]));
1072
+ this_0.n(listOf([Companion_instance.s6f(Suit_DIAMOND_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.s6f(Suit_CLUB_getInstance(), CardName_NINE_getInstance()), Companion_instance.s6f(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.s6f(Suit_CLUB_getInstance(), CardName_TEN_getInstance()), Companion_instance.s6f(Suit_HEART_getInstance(), CardName_JACK_getInstance()), Companion_instance.s6f(Suit_HEART_getInstance(), CardName_KING_getInstance())]));
1073
+ this_0.n(listOf([Companion_instance.s6f(Suit_CLUB_getInstance(), CardName_JACK_getInstance()), Companion_instance.s6f(Suit_SPADE_getInstance(), CardName_ACE_getInstance()), Companion_instance.s6f(Suit_DIAMOND_getInstance(), CardName_NINE_getInstance()), Companion_instance.s6f(Suit_DIAMOND_getInstance(), CardName_TEN_getInstance()), Companion_instance.s6f(Suit_DIAMOND_getInstance(), CardName_JACK_getInstance()), Companion_instance.s6f(Suit_HEART_getInstance(), CardName_EIGHT_getInstance())]));
1074
+ this_0.n(listOf([Companion_instance.s6f(Suit_CLUB_getInstance(), CardName_QUEEN_getInstance()), Companion_instance.s6f(Suit_HEART_getInstance(), CardName_ACE_getInstance()), Companion_instance.s6f(Suit_HEART_getInstance(), CardName_QUEEN_getInstance()), Companion_instance.s6f(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.s6f(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.s6f(Suit_CLUB_getInstance(), CardName_KING_getInstance())]));
1075
+ this_0.n(listOf([Companion_instance.s6f(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.s6f(Suit_SPADE_getInstance(), CardName_TEN_getInstance()), Companion_instance.s6f(Suit_HEART_getInstance(), CardName_TEN_getInstance()), Companion_instance.s6f(Suit_SPADE_getInstance(), CardName_JACK_getInstance()), Companion_instance.s6f(Suit_DIAMOND_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.s6f(Suit_SPADE_getInstance(), CardName_QUEEN_getInstance())]));
1076
+ this_0.n(listOf([Companion_instance.s6f(Suit_DIAMOND_getInstance(), CardName_ACE_getInstance()), Companion_instance.s6f(Suit_CLUB_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.s6f(Suit_DIAMOND_getInstance(), CardName_KING_getInstance()), Companion_instance.s6f(Suit_SPADE_getInstance(), CardName_NINE_getInstance()), Companion_instance.s6f(Suit_CLUB_getInstance(), CardName_ACE_getInstance()), Companion_instance.s6f(Suit_SPADE_getInstance(), CardName_KING_getInstance()), Companion_instance.s6f(Suit_DIAMOND_getInstance(), CardName_QUEEN_getInstance()), Companion_instance.s6f(Suit_HEART_getInstance(), CardName_NINE_getInstance())]));
1093
1077
  return this_0;
1094
1078
  };
1095
- protoOf(Companion_3).g6d = function () {
1096
- return listOf([Companion_instance.t6a(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.t6a(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.t6a(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.t6a(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance())]);
1079
+ protoOf(Companion_3).f6i = function () {
1080
+ return listOf([Companion_instance.s6f(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.s6f(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.s6f(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.s6f(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance())]);
1097
1081
  };
1098
1082
  var Companion_instance_3;
1099
1083
  function Companion_getInstance_3() {
1100
1084
  return Companion_instance_3;
1101
1085
  }
1102
1086
  function FakeCardsDealerProvider(cards, cardsForLot) {
1103
- cards = cards === VOID ? Companion_instance_3.f6d() : cards;
1104
- cardsForLot = cardsForLot === VOID ? Companion_instance_3.g6d() : cardsForLot;
1105
- this.h6d_1 = cards;
1106
- this.i6d_1 = cardsForLot;
1087
+ cards = cards === VOID ? Companion_instance_3.e6i() : cards;
1088
+ cardsForLot = cardsForLot === VOID ? Companion_instance_3.f6i() : cardsForLot;
1089
+ this.g6i_1 = cards;
1090
+ this.h6i_1 = cardsForLot;
1107
1091
  }
1108
- protoOf(FakeCardsDealerProvider).g6b = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
1109
- return this.h6d_1;
1092
+ protoOf(FakeCardsDealerProvider).f6g = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
1093
+ return this.g6i_1;
1110
1094
  };
1111
- protoOf(FakeCardsDealerProvider).h6b = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
1112
- return this.h6d_1;
1095
+ protoOf(FakeCardsDealerProvider).g6g = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
1096
+ return this.g6i_1;
1113
1097
  };
1114
- protoOf(FakeCardsDealerProvider).i6b = function (count, cards) {
1115
- return this.i6d_1;
1098
+ protoOf(FakeCardsDealerProvider).h6g = function (count, cards) {
1099
+ return this.h6i_1;
1116
1100
  };
1117
- protoOf(FakeCardsDealerProvider).j6b = function (cards, times) {
1101
+ protoOf(FakeCardsDealerProvider).i6g = function (cards, times) {
1118
1102
  return cards;
1119
1103
  };
1120
- protoOf(FakeCardsDealerProvider).l6b = function (cards, times) {
1104
+ protoOf(FakeCardsDealerProvider).k6g = function (cards, times) {
1121
1105
  return cards;
1122
1106
  };
1123
- protoOf(FakeCardsDealerProvider).n6b = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
1124
- return this.h6d_1.m();
1107
+ protoOf(FakeCardsDealerProvider).m6g = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
1108
+ return this.g6i_1.m();
1125
1109
  };
1126
1110
  function CombinationsCheckerProvider() {
1127
1111
  }
1128
1112
  function createCombination($this, cards, supportedCombinations) {
1129
1113
  var size = cards.m();
1130
- if (supportedCombinations.v1(size)) {
1114
+ if (supportedCombinations.s1(size)) {
1131
1115
  return cards;
1132
1116
  }
1133
1117
  var fromLongestCombinations = asReversed(sorted(supportedCombinations));
1134
1118
  var tmp$ret$1;
1135
1119
  $l$block: {
1136
1120
  // Inline function 'kotlin.collections.first' call
1137
- var tmp0_iterator = fromLongestCombinations.j();
1138
- while (tmp0_iterator.k()) {
1139
- var element = tmp0_iterator.l();
1140
- // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombination.<anonymous>' call
1121
+ var _iterator__ex2g4s = fromLongestCombinations.j();
1122
+ while (_iterator__ex2g4s.k()) {
1123
+ var element = _iterator__ex2g4s.l();
1141
1124
  if (element <= size) {
1142
1125
  tmp$ret$1 = element;
1143
1126
  break $l$block;
@@ -1149,23 +1132,23 @@
1149
1132
  return takeLast(cards, longestCombinationSupport);
1150
1133
  }
1151
1134
  function sam$kotlin_Comparator$0(function_0) {
1152
- this.o6d_1 = function_0;
1135
+ this.n6i_1 = function_0;
1153
1136
  }
1154
- protoOf(sam$kotlin_Comparator$0).rc = function (a, b) {
1155
- return this.o6d_1(a, b);
1137
+ protoOf(sam$kotlin_Comparator$0).xc = function (a, b) {
1138
+ return this.n6i_1(a, b);
1156
1139
  };
1157
1140
  protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
1158
- return this.rc(a, b);
1141
+ return this.xc(a, b);
1159
1142
  };
1160
- protoOf(sam$kotlin_Comparator$0).t3 = function () {
1161
- return this.o6d_1;
1143
+ protoOf(sam$kotlin_Comparator$0).q3 = function () {
1144
+ return this.n6i_1;
1162
1145
  };
1163
1146
  protoOf(sam$kotlin_Comparator$0).equals = function (other) {
1164
1147
  var tmp;
1165
1148
  if (!(other == null) ? isInterface(other, Comparator) : false) {
1166
1149
  var tmp_0;
1167
1150
  if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1168
- tmp_0 = equals(this.t3(), other.t3());
1151
+ tmp_0 = equals(this.q3(), other.q3());
1169
1152
  } else {
1170
1153
  tmp_0 = false;
1171
1154
  }
@@ -1176,32 +1159,27 @@
1176
1159
  return tmp;
1177
1160
  };
1178
1161
  protoOf(sam$kotlin_Comparator$0).hashCode = function () {
1179
- return hashCode(this.t3());
1162
+ return hashCode(this.q3());
1180
1163
  };
1181
1164
  function CombinationsCheckerProviderImpl$createCombinationsFromCardsInRow$lambda(a, b) {
1182
1165
  // Inline function 'kotlin.comparisons.compareValuesBy' call
1183
- // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
1184
- var tmp = first_0(a).n6a_1;
1185
- // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
1186
- var tmp$ret$1 = first_0(b).n6a_1;
1166
+ var tmp = first_0(a).m6f_1;
1167
+ var tmp$ret$1 = first_0(b).m6f_1;
1187
1168
  return compareValues(tmp, tmp$ret$1);
1188
1169
  }
1189
1170
  function CombinationsCheckerProviderImpl() {
1190
1171
  }
1191
- protoOf(CombinationsCheckerProviderImpl).j6d = function (cards, supportedCombinations, checkFromIndex, includeCardNames, suit) {
1192
- // Inline function 'kotlin.collections.filter' call
1172
+ protoOf(CombinationsCheckerProviderImpl).i6i = function (cards, supportedCombinations, checkFromIndex, includeCardNames, suit) {
1193
1173
  // Inline function 'kotlin.apply' call
1194
1174
  var this_0 = toMutableList(cards);
1195
- // Inline function 'kotlin.contracts.contract' call
1196
- // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findCardsInRowCombinations.<anonymous>' call
1197
1175
  sortWith(this_0, CardIndexComparator_instance);
1176
+ // Inline function 'kotlin.collections.filter' call
1198
1177
  // Inline function 'kotlin.collections.filterTo' call
1199
1178
  var destination = ArrayList_init_$Create$();
1200
- var tmp0_iterator = this_0.j();
1201
- while (tmp0_iterator.k()) {
1202
- var element = tmp0_iterator.l();
1203
- // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findCardsInRowCombinations.<anonymous>' call
1204
- if (element.p6a()) {
1179
+ var _iterator__ex2g4s = this_0.j();
1180
+ while (_iterator__ex2g4s.k()) {
1181
+ var element = _iterator__ex2g4s.l();
1182
+ if (element.o6f()) {
1205
1183
  destination.e(element);
1206
1184
  }
1207
1185
  }
@@ -1218,16 +1196,16 @@
1218
1196
  inductionVariable = inductionVariable + 1 | 0;
1219
1197
  var previousCard = lastOrNull(combinationCards);
1220
1198
  var currentCard = sortedByIndexCards.o(i);
1221
- var isNextInRow = !(previousCard == null) && currentCard.n6a_1 === (previousCard.n6a_1 + 1 | 0) && currentCard.q6a().equals(previousCard.q6a());
1222
- var passedCardNamesCheck = includeCardNames == null || includeCardNames.v1(currentCard.s2());
1223
- var passedSuitCheck = suit == null || currentCard.q6a().equals(suit);
1199
+ var isNextInRow = !(previousCard == null) && currentCard.m6f_1 === (previousCard.m6f_1 + 1 | 0) && currentCard.p6f().equals(previousCard.p6f());
1200
+ var passedCardNamesCheck = includeCardNames == null || includeCardNames.s1(currentCard.p2());
1201
+ var passedSuitCheck = suit == null || currentCard.p6f().equals(suit);
1224
1202
  if (isNextInRow && passedSuitCheck && passedCardNamesCheck) {
1225
1203
  combinationCards.e(currentCard);
1226
1204
  } else {
1227
1205
  if (combinationCards.m() > (checkFromIndex - 1 | 0)) {
1228
- combinations.n(this.n6d(toMutableList(combinationCards), supportedCombinations));
1206
+ combinations.n(this.m6i(toMutableList(combinationCards), supportedCombinations));
1229
1207
  }
1230
- combinationCards.d2();
1208
+ combinationCards.a2();
1231
1209
  if (passedSuitCheck && passedCardNamesCheck) {
1232
1210
  combinationCards.e(currentCard);
1233
1211
  }
@@ -1235,55 +1213,48 @@
1235
1213
  }
1236
1214
  while (inductionVariable <= last);
1237
1215
  if (combinationCards.m() > (checkFromIndex - 1 | 0)) {
1238
- combinations.n(this.n6d(toMutableList(combinationCards), supportedCombinations));
1216
+ combinations.n(this.m6i(toMutableList(combinationCards), supportedCombinations));
1239
1217
  }
1240
1218
  return combinations;
1241
1219
  };
1242
- protoOf(CombinationsCheckerProviderImpl).l6d = function (cards, cardsCount, includeCardNames) {
1243
- // Inline function 'kotlin.collections.filter' call
1244
- // Inline function 'kotlin.collections.filter' call
1220
+ protoOf(CombinationsCheckerProviderImpl).k6i = function (cards, cardsCount, includeCardNames) {
1245
1221
  // Inline function 'kotlin.apply' call
1246
1222
  var this_0 = toMutableList(cards);
1247
- // Inline function 'kotlin.contracts.contract' call
1248
- // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
1249
1223
  sortWith(this_0, CardIndexComparator_instance);
1224
+ // Inline function 'kotlin.collections.filter' call
1250
1225
  // Inline function 'kotlin.collections.filterTo' call
1251
1226
  var destination = ArrayList_init_$Create$();
1252
- var tmp0_iterator = this_0.j();
1253
- while (tmp0_iterator.k()) {
1254
- var element = tmp0_iterator.l();
1255
- // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
1256
- if (element.p6a()) {
1227
+ var _iterator__ex2g4s = this_0.j();
1228
+ while (_iterator__ex2g4s.k()) {
1229
+ var element = _iterator__ex2g4s.l();
1230
+ if (element.o6f()) {
1257
1231
  destination.e(element);
1258
1232
  }
1259
1233
  }
1234
+ // Inline function 'kotlin.collections.filter' call
1260
1235
  // Inline function 'kotlin.collections.filterTo' call
1261
1236
  var destination_0 = ArrayList_init_$Create$();
1262
- var tmp0_iterator_0 = destination.j();
1263
- while (tmp0_iterator_0.k()) {
1264
- var element_0 = tmp0_iterator_0.l();
1265
- // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
1266
- if (includeCardNames == null || includeCardNames.v1(element_0.s2())) {
1237
+ var _iterator__ex2g4s_0 = destination.j();
1238
+ while (_iterator__ex2g4s_0.k()) {
1239
+ var element_0 = _iterator__ex2g4s_0.l();
1240
+ if (includeCardNames == null || includeCardNames.s1(element_0.p2())) {
1267
1241
  destination_0.e(element_0);
1268
1242
  }
1269
1243
  }
1270
1244
  var sortedByNumberCards = toList(destination_0);
1271
- // Inline function 'kotlin.collections.filter' call
1272
1245
  // Inline function 'kotlin.collections.groupBy' call
1273
1246
  // Inline function 'kotlin.collections.groupByTo' call
1274
1247
  var destination_1 = LinkedHashMap_init_$Create$();
1275
- var tmp0_iterator_1 = sortedByNumberCards.j();
1276
- while (tmp0_iterator_1.k()) {
1277
- var element_1 = tmp0_iterator_1.l();
1278
- // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
1279
- var key = element_1.r6a();
1248
+ var _iterator__ex2g4s_1 = sortedByNumberCards.j();
1249
+ while (_iterator__ex2g4s_1.k()) {
1250
+ var element_1 = _iterator__ex2g4s_1.l();
1251
+ var key = element_1.q6f();
1280
1252
  // Inline function 'kotlin.collections.getOrPut' call
1281
- var value = destination_1.k2(key);
1253
+ var value = destination_1.h2(key);
1282
1254
  var tmp;
1283
1255
  if (value == null) {
1284
- // Inline function 'kotlin.collections.groupByTo.<anonymous>' call
1285
1256
  var answer = ArrayList_init_$Create$();
1286
- destination_1.n2(key, answer);
1257
+ destination_1.k2(key, answer);
1287
1258
  tmp = answer;
1288
1259
  } else {
1289
1260
  tmp = value;
@@ -1291,39 +1262,36 @@
1291
1262
  var list = tmp;
1292
1263
  list.e(element_1);
1293
1264
  }
1265
+ // Inline function 'kotlin.collections.filter' call
1294
1266
  // Inline function 'kotlin.collections.filterTo' call
1295
1267
  var destination_2 = LinkedHashMap_init_$Create$();
1296
1268
  // Inline function 'kotlin.collections.iterator' call
1297
- var tmp0_iterator_2 = destination_1.s().j();
1298
- while (tmp0_iterator_2.k()) {
1299
- var element_2 = tmp0_iterator_2.l();
1300
- // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
1269
+ var _iterator__ex2g4s_2 = destination_1.s().j();
1270
+ while (_iterator__ex2g4s_2.k()) {
1271
+ var element_2 = _iterator__ex2g4s_2.l();
1301
1272
  if (element_2.u().m() >= cardsCount) {
1302
- destination_2.n2(element_2.t(), element_2.u());
1273
+ destination_2.k2(element_2.t(), element_2.u());
1303
1274
  }
1304
1275
  }
1305
- var combinations = destination_2.m2();
1276
+ var combinations = destination_2.j2();
1306
1277
  // Inline function 'kotlin.collections.map' call
1307
1278
  // Inline function 'kotlin.collections.mapTo' call
1308
1279
  var destination_3 = ArrayList_init_$Create$_0(collectionSizeOrDefault(combinations, 10));
1309
- var tmp0_iterator_3 = combinations.j();
1310
- while (tmp0_iterator_3.k()) {
1311
- var item = tmp0_iterator_3.l();
1312
- // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
1313
- var tmp$ret$16 = sortedWith(item, CardIndexComparator_instance);
1314
- destination_3.e(tmp$ret$16);
1280
+ var _iterator__ex2g4s_3 = combinations.j();
1281
+ while (_iterator__ex2g4s_3.k()) {
1282
+ var item = _iterator__ex2g4s_3.l();
1283
+ var tmp$ret$17 = sortedWith(item, CardIndexComparator_instance);
1284
+ destination_3.e(tmp$ret$17);
1315
1285
  }
1316
1286
  return destination_3;
1317
1287
  };
1318
- protoOf(CombinationsCheckerProviderImpl).n6d = function (cards, supportedCombinations) {
1288
+ protoOf(CombinationsCheckerProviderImpl).m6i = function (cards, supportedCombinations) {
1319
1289
  // Inline function 'kotlin.collections.minOf' call
1320
1290
  var iterator = supportedCombinations.j();
1321
1291
  if (!iterator.k())
1322
1292
  throw NoSuchElementException_init_$Create$_0();
1323
- // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
1324
1293
  var minValue = iterator.l();
1325
1294
  while (iterator.k()) {
1326
- // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
1327
1295
  var v = iterator.l();
1328
1296
  if (compareTo(minValue, v) > 0) {
1329
1297
  minValue = v;
@@ -1336,7 +1304,7 @@
1336
1304
  while (cardsToCheck.m() >= shortestCombinationSupport) {
1337
1305
  var combinationCards = createCombination(this, cardsToCheck, supportedCombinations);
1338
1306
  combinations.e(toList(combinationCards));
1339
- cardsToCheck.c2(combinationCards);
1307
+ cardsToCheck.z1(combinationCards);
1340
1308
  }
1341
1309
  // Inline function 'kotlin.collections.sortedBy' call
1342
1310
  // Inline function 'kotlin.comparisons.compareBy' call
@@ -1347,37 +1315,36 @@
1347
1315
  function DealerReducer() {
1348
1316
  }
1349
1317
  function DealerReducerImpl(logger, enableLogs) {
1350
- this.s6d_1 = logger;
1351
- this.t6d_1 = enableLogs;
1318
+ this.r6i_1 = logger;
1319
+ this.s6i_1 = enableLogs;
1352
1320
  }
1353
- protoOf(DealerReducerImpl).p6d = function (cards, cardsToRemove) {
1321
+ protoOf(DealerReducerImpl).o6i = function (cards, cardsToRemove) {
1354
1322
  var list = cards;
1355
1323
  var _iterator__ex2g4s = cardsToRemove.j();
1356
1324
  while (_iterator__ex2g4s.k()) {
1357
1325
  var gameCard = _iterator__ex2g4s.l();
1358
- list = this.q6d(list, gameCard);
1326
+ list = this.p6i(list, gameCard);
1359
1327
  }
1360
1328
  return list;
1361
1329
  };
1362
- protoOf(DealerReducerImpl).q6d = function (cards, cardToRemove) {
1330
+ protoOf(DealerReducerImpl).p6i = function (cards, cardToRemove) {
1363
1331
  var tmp;
1364
- if (!cardToRemove.w6a() && cards.v1(cardToRemove)) {
1365
- if (this.t6d_1) {
1366
- this.s6d_1.d('Dealer', 'Card removed: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1332
+ if (!cardToRemove.v6f() && cards.s1(cardToRemove)) {
1333
+ if (this.s6i_1) {
1334
+ this.r6i_1.d('Dealer', 'Card removed: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1367
1335
  }
1368
1336
  tmp = minus(cards, cardToRemove);
1369
1337
  } else {
1370
- if (this.t6d_1) {
1371
- this.s6d_1.d('Dealer', 'Card removed as hidden: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1338
+ if (this.s6i_1) {
1339
+ this.r6i_1.d('Dealer', 'Card removed as hidden: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1372
1340
  }
1373
1341
  // Inline function 'kotlin.collections.filterNot' call
1374
1342
  // Inline function 'kotlin.collections.filterNotTo' call
1375
1343
  var destination = ArrayList_init_$Create$();
1376
- var tmp0_iterator = cards.j();
1377
- while (tmp0_iterator.k()) {
1378
- var element = tmp0_iterator.l();
1379
- // Inline function 'io.raspberryapps.card_game.core.domain.dealer.DealerReducerImpl.removeCard.<anonymous>' call
1380
- if (!element.w6a()) {
1344
+ var _iterator__ex2g4s = cards.j();
1345
+ while (_iterator__ex2g4s.k()) {
1346
+ var element = _iterator__ex2g4s.l();
1347
+ if (!element.v6f()) {
1381
1348
  destination.e(element);
1382
1349
  }
1383
1350
  }
@@ -1385,38 +1352,37 @@
1385
1352
  // Inline function 'kotlin.collections.filter' call
1386
1353
  // Inline function 'kotlin.collections.filterTo' call
1387
1354
  var destination_0 = ArrayList_init_$Create$();
1388
- var tmp0_iterator_0 = cards.j();
1389
- while (tmp0_iterator_0.k()) {
1390
- var element_0 = tmp0_iterator_0.l();
1391
- // Inline function 'io.raspberryapps.card_game.core.domain.dealer.DealerReducerImpl.removeCard.<anonymous>' call
1392
- if (element_0.w6a()) {
1355
+ var _iterator__ex2g4s_0 = cards.j();
1356
+ while (_iterator__ex2g4s_0.k()) {
1357
+ var element_0 = _iterator__ex2g4s_0.l();
1358
+ if (element_0.v6f()) {
1393
1359
  destination_0.e(element_0);
1394
1360
  }
1395
1361
  }
1396
1362
  var hiddenCards = destination_0;
1397
1363
  if (hiddenCards.p()) {
1398
- this.s6d_1.w('Dealer', "Can't find card to delete for player, " + ('cards:' + toString(cards) + ', ') + ('cardToRemove: ' + cardToRemove.toString()));
1364
+ this.r6i_1.w('Dealer', "Can't find card to delete for player, " + ('cards:' + toString(cards) + ', ') + ('cardToRemove: ' + cardToRemove.toString()));
1399
1365
  }
1400
1366
  tmp = plus(notHiddenCards, dropLast(hiddenCards, 1));
1401
1367
  }
1402
1368
  return tmp;
1403
1369
  };
1404
- protoOf(DealerReducerImpl).r6d = function (cards, cardToAdd) {
1405
- if (this.t6d_1) {
1406
- this.s6d_1.d('Dealer', 'Card added: ' + cardToAdd.toString() + ', size: ' + (cards.m() + 1 | 0));
1370
+ protoOf(DealerReducerImpl).q6i = function (cards, cardToAdd) {
1371
+ if (this.s6i_1) {
1372
+ this.r6i_1.d('Dealer', 'Card added: ' + cardToAdd.toString() + ', size: ' + (cards.m() + 1 | 0));
1407
1373
  }
1408
- if (cards.v1(cardToAdd)) {
1409
- this.s6d_1.w('Dealer', 'Card already exists for player, ' + ('cards:' + toString(cards) + ', ') + ('cardToAdd: ' + cardToAdd.toString()));
1374
+ if (cards.s1(cardToAdd)) {
1375
+ this.r6i_1.w('Dealer', 'Card already exists for player, ' + ('cards:' + toString(cards) + ', ') + ('cardToAdd: ' + cardToAdd.toString()));
1410
1376
  }
1411
1377
  return plus_0(cards, cardToAdd);
1412
1378
  };
1413
1379
  //region block: post-declaration
1414
- protoOf(CardsDealerProviderImpl).k6b = standardShuffledCards$default;
1415
- protoOf(CardsDealerProviderImpl).m6b = realLifeShuffledCards$default;
1416
- protoOf(FakeCardsDealerProvider).k6b = standardShuffledCards$default;
1417
- protoOf(FakeCardsDealerProvider).m6b = realLifeShuffledCards$default;
1418
- protoOf(CombinationsCheckerProviderImpl).k6d = findCardsInRowCombinations$default;
1419
- protoOf(CombinationsCheckerProviderImpl).m6d = findSameCardsNumberCombinations$default;
1380
+ protoOf(CardsDealerProviderImpl).j6g = standardShuffledCards$default;
1381
+ protoOf(CardsDealerProviderImpl).l6g = realLifeShuffledCards$default;
1382
+ protoOf(FakeCardsDealerProvider).j6g = standardShuffledCards$default;
1383
+ protoOf(FakeCardsDealerProvider).l6g = realLifeShuffledCards$default;
1384
+ protoOf(CombinationsCheckerProviderImpl).j6i = findCardsInRowCombinations$default;
1385
+ protoOf(CombinationsCheckerProviderImpl).l6i = findSameCardsNumberCombinations$default;
1420
1386
  //endregion
1421
1387
  //region block: init
1422
1388
  CoreConfig_instance = new CoreConfig();