game_client_logic_deb 1.8.181 → 1.8.208

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 (56) hide show
  1. package/Kosi-Kaverit-kaverit.js +80 -80
  2. package/Kosi-Kodein-kodein-di.js +654 -654
  3. package/Kosi-Kodein-kodein-di.js.map +1 -1
  4. package/Kotlin-DateTime-library-kotlinx-datetime.js +1536 -1536
  5. package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
  6. package/Logic_Debertz-core.js +1956 -1758
  7. package/Logic_Debertz-core.js.map +1 -1
  8. package/Logic_Debertz-engine.js +17460 -15728
  9. package/Logic_Debertz-engine.js.map +1 -1
  10. package/Logic_Debertz-game_client.d.ts +143 -53
  11. package/Logic_Debertz-game_client.js +4747 -4954
  12. package/Logic_Debertz-game_client.js.map +1 -1
  13. package/kotlin-kotlin-stdlib.js +3281 -2516
  14. package/kotlin-kotlin-stdlib.js.map +1 -1
  15. package/kotlinx-atomicfu.js +25 -25
  16. package/kotlinx-coroutines-core.js +3702 -2670
  17. package/kotlinx-coroutines-core.js.map +1 -1
  18. package/kotlinx-io-kotlinx-io-core.js +297 -297
  19. package/kotlinx-io-kotlinx-io-core.js.map +1 -1
  20. package/kotlinx-serialization-kotlinx-serialization-core.js +2154 -2126
  21. package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
  22. package/kotlinx-serialization-kotlinx-serialization-json.js +1512 -1498
  23. package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
  24. package/ktor-ktor-client-content-negotiation.js +703 -5
  25. package/ktor-ktor-client-content-negotiation.js.map +1 -1
  26. package/ktor-ktor-client-core.js +7197 -5
  27. package/ktor-ktor-client-core.js.map +1 -1
  28. package/ktor-ktor-client-logging.js +1460 -11
  29. package/ktor-ktor-client-logging.js.map +1 -1
  30. package/ktor-ktor-events.js +87 -5
  31. package/ktor-ktor-events.js.map +1 -1
  32. package/ktor-ktor-http.js +3253 -5
  33. package/ktor-ktor-http.js.map +1 -1
  34. package/ktor-ktor-io.js +6455 -5
  35. package/ktor-ktor-io.js.map +1 -1
  36. package/ktor-ktor-serialization-kotlinx-json.js +57 -5
  37. package/ktor-ktor-serialization-kotlinx-json.js.map +1 -1
  38. package/ktor-ktor-serialization-kotlinx.js +837 -5
  39. package/ktor-ktor-serialization-kotlinx.js.map +1 -1
  40. package/ktor-ktor-serialization.js +359 -5
  41. package/ktor-ktor-serialization.js.map +1 -1
  42. package/ktor-ktor-utils.js +2645 -5
  43. package/ktor-ktor-utils.js.map +1 -1
  44. package/ktor-ktor-websockets.js +456 -5
  45. package/ktor-ktor-websockets.js.map +1 -1
  46. package/package.json +1 -1
  47. package/raspberry-cardgame-lib-core.js +562 -186
  48. package/raspberry-cardgame-lib-core.js.map +1 -1
  49. package/raspberry-cardgame-lib-logger.js +122 -106
  50. package/raspberry-cardgame-lib-logger.js.map +1 -1
  51. package/raspberry-cardgame-lib-random.js +2827 -164
  52. package/raspberry-cardgame-lib-random.js.map +1 -1
  53. package/secure-random-secure-random.js +163 -5
  54. package/secure-random-secure-random.js.map +1 -1
  55. package/uuid.js +36 -36
  56. package/uuid.js.map +1 -1
@@ -1,8 +1,8 @@
1
1
  (function (root, factory) {
2
2
  if (typeof define === 'function' && define.amd)
3
- define(['exports', './kotlin-kotlin-stdlib.js', './kotlinx-serialization-kotlinx-serialization-core.js'], factory);
3
+ define(['exports', './kotlin-kotlin-stdlib.js', './kotlinx-serialization-kotlinx-serialization-core.js', './raspberry-cardgame-lib-random.js'], factory);
4
4
  else if (typeof exports === 'object')
5
- factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js'));
5
+ factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js'), require('./raspberry-cardgame-lib-random.js'));
6
6
  else {
7
7
  if (typeof this['kotlin-kotlin-stdlib'] === 'undefined') {
8
8
  throw new Error("Error loading module 'raspberry-cardgame-lib-core'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'raspberry-cardgame-lib-core'.");
@@ -10,60 +10,77 @@
10
10
  if (typeof this['kotlinx-serialization-kotlinx-serialization-core'] === 'undefined') {
11
11
  throw new Error("Error loading module 'raspberry-cardgame-lib-core'. Its dependency 'kotlinx-serialization-kotlinx-serialization-core' was not found. Please, check whether 'kotlinx-serialization-kotlinx-serialization-core' is loaded prior to 'raspberry-cardgame-lib-core'.");
12
12
  }
13
- root['raspberry-cardgame-lib-core'] = factory(typeof this['raspberry-cardgame-lib-core'] === 'undefined' ? {} : this['raspberry-cardgame-lib-core'], this['kotlin-kotlin-stdlib'], this['kotlinx-serialization-kotlinx-serialization-core']);
13
+ if (typeof this['raspberry-cardgame-lib-random'] === 'undefined') {
14
+ throw new Error("Error loading module 'raspberry-cardgame-lib-core'. Its dependency 'raspberry-cardgame-lib-random' was not found. Please, check whether 'raspberry-cardgame-lib-random' is loaded prior to 'raspberry-cardgame-lib-core'.");
15
+ }
16
+ root['raspberry-cardgame-lib-core'] = factory(typeof this['raspberry-cardgame-lib-core'] === 'undefined' ? {} : this['raspberry-cardgame-lib-core'], this['kotlin-kotlin-stdlib'], this['kotlinx-serialization-kotlinx-serialization-core'], this['raspberry-cardgame-lib-random']);
14
17
  }
15
- }(globalThis, function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core) {
18
+ }(globalThis, function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_io_raspberryapps_cardgame_random) {
16
19
  'use strict';
17
20
  //region block: imports
18
21
  var imul = Math.imul;
19
- var protoOf = kotlin_kotlin.$_$.qb;
20
- var initMetadataForObject = kotlin_kotlin.$_$.ya;
21
- var defineProp = kotlin_kotlin.$_$.la;
22
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.m;
23
- var Unit_instance = kotlin_kotlin.$_$.b5;
24
- var THROW_CCE = kotlin_kotlin.$_$.we;
25
- var Comparator = kotlin_kotlin.$_$.ie;
22
+ var protoOf = kotlin_kotlin.$_$.qc;
23
+ var initMetadataForObject = kotlin_kotlin.$_$.ub;
24
+ var defineProp = kotlin_kotlin.$_$.gb;
25
+ var THROW_CCE = kotlin_kotlin.$_$.qg;
26
+ var Comparator = kotlin_kotlin.$_$.cg;
26
27
  var VOID = kotlin_kotlin.$_$.f;
27
- var take = kotlin_kotlin.$_$.v8;
28
- var toList = kotlin_kotlin.$_$.y8;
29
- var takeLast = kotlin_kotlin.$_$.u8;
30
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.tf;
31
- var initMetadataForCompanion = kotlin_kotlin.$_$.ua;
32
- var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r1;
33
- var Enum = kotlin_kotlin.$_$.le;
34
- var initMetadataForClass = kotlin_kotlin.$_$.ta;
35
- var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c2;
36
- var enumEntries = kotlin_kotlin.$_$.aa;
37
- var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.j;
38
- var lazy = kotlin_kotlin.$_$.rf;
39
- var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
40
- var Long = kotlin_kotlin.$_$.qe;
41
- var initMetadataForInterface = kotlin_kotlin.$_$.wa;
42
- var first = kotlin_kotlin.$_$.d7;
43
- var sorted = kotlin_kotlin.$_$.s8;
44
- var asReversed = kotlin_kotlin.$_$.v5;
45
- var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.w1;
46
- var first_0 = kotlin_kotlin.$_$.c7;
47
- var compareValues = kotlin_kotlin.$_$.i9;
48
- var toMutableList = kotlin_kotlin.$_$.b9;
49
- var sortWith = kotlin_kotlin.$_$.q8;
50
- var lastOrNull = kotlin_kotlin.$_$.s7;
51
- var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.v;
52
- var collectionSizeOrDefault = kotlin_kotlin.$_$.c6;
53
- var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.l;
54
- var sortedWith = kotlin_kotlin.$_$.r8;
55
- var NoSuchElementException_init_$Create$_0 = kotlin_kotlin.$_$.u1;
56
- var compareTo = kotlin_kotlin.$_$.ka;
57
- var toString = kotlin_kotlin.$_$.ub;
58
- var dropLast = kotlin_kotlin.$_$.u6;
59
- var plus = kotlin_kotlin.$_$.h8;
60
- var minus = kotlin_kotlin.$_$.c8;
61
- var plus_0 = kotlin_kotlin.$_$.i8;
28
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
29
+ var Unit_instance = kotlin_kotlin.$_$.n5;
30
+ var take = kotlin_kotlin.$_$.m9;
31
+ var toList = kotlin_kotlin.$_$.q9;
32
+ var takeLast = kotlin_kotlin.$_$.l9;
33
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.oh;
34
+ var initMetadataForCompanion = kotlin_kotlin.$_$.qb;
35
+ var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.v1;
36
+ var Enum = kotlin_kotlin.$_$.fg;
37
+ var initMetadataForClass = kotlin_kotlin.$_$.pb;
38
+ var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d2;
39
+ var enumEntries = kotlin_kotlin.$_$.ua;
40
+ var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.k;
41
+ var lazy = kotlin_kotlin.$_$.mh;
42
+ var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b2;
43
+ var initMetadataForInterface = kotlin_kotlin.$_$.sb;
44
+ var until = kotlin_kotlin.$_$.gd;
45
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.q6;
46
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.m;
47
+ var SecureRandom = kotlin_io_raspberryapps_cardgame_random.$_$.j;
48
+ var CoroutineImpl = kotlin_kotlin.$_$.sa;
49
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ea;
50
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.rb;
51
+ var count = kotlin_kotlin.$_$.h7;
52
+ var Result = kotlin_kotlin.$_$.og;
53
+ var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.f3;
54
+ var throwOnFailure = kotlin_kotlin.$_$.sh;
55
+ var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.i3;
56
+ var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.h3;
57
+ var addAll = kotlin_kotlin.$_$.e6;
58
+ var Collection = kotlin_kotlin.$_$.p5;
59
+ var isInterface = kotlin_kotlin.$_$.dc;
60
+ var toMutableList = kotlin_kotlin.$_$.u9;
61
+ var listOf = kotlin_kotlin.$_$.o8;
62
+ var first = kotlin_kotlin.$_$.t7;
63
+ var sorted = kotlin_kotlin.$_$.j9;
64
+ var asReversed = kotlin_kotlin.$_$.i6;
65
+ var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.c2;
66
+ var first_0 = kotlin_kotlin.$_$.s7;
67
+ var compareValues = kotlin_kotlin.$_$.ca;
68
+ var sortWith = kotlin_kotlin.$_$.h9;
69
+ var lastOrNull = kotlin_kotlin.$_$.i8;
70
+ var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.w;
71
+ var sortedWith = kotlin_kotlin.$_$.i9;
72
+ var NoSuchElementException_init_$Create$_0 = kotlin_kotlin.$_$.a2;
73
+ var compareTo = kotlin_kotlin.$_$.fb;
74
+ var toString = kotlin_kotlin.$_$.uc;
75
+ var dropLast = kotlin_kotlin.$_$.j7;
76
+ var plus = kotlin_kotlin.$_$.x8;
77
+ var minus = kotlin_kotlin.$_$.s8;
78
+ var plus_0 = kotlin_kotlin.$_$.y8;
62
79
  //endregion
63
80
  //region block: pre-declaration
64
81
  initMetadataForObject(CoreConfig, 'CoreConfig');
65
- initMetadataForObject(CardNumberComparator, 'CardNumberComparator', VOID, VOID, [Comparator]);
66
82
  initMetadataForObject(CardIndexComparator, 'CardIndexComparator', VOID, VOID, [Comparator]);
83
+ initMetadataForObject(CardNumberComparator, 'CardNumberComparator', VOID, VOID, [Comparator]);
67
84
  initMetadataForCompanion(Companion);
68
85
  initMetadataForClass(CardName, 'CardName', VOID, Enum);
69
86
  initMetadataForCompanion(Companion_0);
@@ -71,28 +88,27 @@
71
88
  initMetadataForCompanion(Companion_1, VOID, [SerializerFactory]);
72
89
  initMetadataForClass(Suit, 'Suit', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_1});
73
90
  initMetadataForClass(CardsRandomProvider, 'CardsRandomProvider', VOID, Enum);
74
- function createNewShuffledCardDeck$default(leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, timeoutMillis, provider, $completion, $super) {
75
- leftCardIndexForEachSuit = leftCardIndexForEachSuit === VOID ? 0 : leftCardIndexForEachSuit;
76
- rightCardIndexForEachSuit = rightCardIndexForEachSuit === VOID ? 0 : rightCardIndexForEachSuit;
77
- timeoutMillis = timeoutMillis === VOID ? new Long(5000, 0) : timeoutMillis;
78
- provider = provider === VOID ? CardsRandomProvider_CUSTOM_getInstance() : provider;
79
- return $super === VOID ? this.q33(leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, timeoutMillis, provider, $completion) : $super.q33.call(this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, timeoutMillis, provider, $completion);
80
- }
81
91
  function standardShuffledCards$default(cards, times, $super) {
82
92
  times = times === VOID ? 3 : times;
83
- return $super === VOID ? this.t33(cards, times) : $super.t33.call(this, cards, times);
84
- }
85
- initMetadataForInterface(CardsDealerProvider, 'CardsDealerProvider', VOID, VOID, VOID, [6]);
93
+ return $super === VOID ? this.u62(cards, times) : $super.u62.call(this, cards, times);
94
+ }
95
+ initMetadataForInterface(CardsDealerProvider, 'CardsDealerProvider', VOID, VOID, VOID, [5]);
96
+ initMetadataForCompanion(Companion_2);
97
+ initMetadataForCoroutine($createNewShuffledCardDeckCOROUTINE$0, CoroutineImpl);
98
+ initMetadataForCoroutine($getRandomOrgCardsCOROUTINE$1, CoroutineImpl);
99
+ initMetadataForClass(CardsDealerProviderImpl, 'CardsDealerProviderImpl', VOID, VOID, [CardsDealerProvider], [5]);
100
+ initMetadataForCompanion(Companion_3);
101
+ initMetadataForClass(FakeCardsDealerProvider, 'FakeCardsDealerProvider', FakeCardsDealerProvider, VOID, [CardsDealerProvider], [5]);
86
102
  function findCardsInRowCombinations$default(cards, supportedCombinations, checkFromIndex, includeCardNames, suit, $super) {
87
103
  checkFromIndex = checkFromIndex === VOID ? first(supportedCombinations) : checkFromIndex;
88
104
  includeCardNames = includeCardNames === VOID ? null : includeCardNames;
89
105
  suit = suit === VOID ? null : suit;
90
- return $super === VOID ? this.v33(cards, supportedCombinations, checkFromIndex, includeCardNames, suit) : $super.v33.call(this, cards, supportedCombinations, checkFromIndex, includeCardNames, suit);
106
+ return $super === VOID ? this.q64(cards, supportedCombinations, checkFromIndex, includeCardNames, suit) : $super.q64.call(this, cards, supportedCombinations, checkFromIndex, includeCardNames, suit);
91
107
  }
92
108
  function findSameCardsNumberCombinations$default(cards, cardsCount, includeCardNames, $super) {
93
109
  cardsCount = cardsCount === VOID ? 4 : cardsCount;
94
110
  includeCardNames = includeCardNames === VOID ? null : includeCardNames;
95
- return $super === VOID ? this.x33(cards, cardsCount, includeCardNames) : $super.x33.call(this, cards, cardsCount, includeCardNames);
111
+ return $super === VOID ? this.s64(cards, cardsCount, includeCardNames) : $super.s64.call(this, cards, cardsCount, includeCardNames);
96
112
  }
97
113
  initMetadataForInterface(CombinationsCheckerProvider, 'CombinationsCheckerProvider');
98
114
  initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator]);
@@ -101,15 +117,28 @@
101
117
  initMetadataForClass(DealerReducerImpl, 'DealerReducerImpl', VOID, VOID, [DealerReducer]);
102
118
  //endregion
103
119
  function CoreConfig() {
104
- this.version = '0.0.30';
120
+ this.version = '0.0.36';
105
121
  }
106
- protoOf(CoreConfig).z32 = function () {
122
+ protoOf(CoreConfig).v2w = function () {
107
123
  return this.version;
108
124
  };
109
125
  var CoreConfig_instance;
110
126
  function CoreConfig_getInstance() {
111
127
  return CoreConfig_instance;
112
128
  }
129
+ function CardIndexComparator() {
130
+ }
131
+ protoOf(CardIndexComparator).a62 = function (a, b) {
132
+ return a.b62_1 - b.b62_1 | 0;
133
+ };
134
+ protoOf(CardIndexComparator).compare = function (a, b) {
135
+ var tmp = a instanceof GameCard ? a : THROW_CCE();
136
+ return this.a62(tmp, b instanceof GameCard ? b : THROW_CCE());
137
+ };
138
+ var CardIndexComparator_instance;
139
+ function CardIndexComparator_getInstance() {
140
+ return CardIndexComparator_instance;
141
+ }
113
142
  function filterByCardName(_this__u8e3s4, name) {
114
143
  // Inline function 'kotlin.collections.filter' call
115
144
  var predicate = byCardNamePredicate(name.slice());
@@ -126,43 +155,30 @@
126
155
  }
127
156
  function CardNumberComparator() {
128
157
  }
129
- protoOf(CardNumberComparator).a33 = function (a, b) {
130
- return b.c33() - a.c33() | 0;
158
+ protoOf(CardNumberComparator).a62 = function (a, b) {
159
+ return b.c62() - a.c62() | 0;
131
160
  };
132
161
  protoOf(CardNumberComparator).compare = function (a, b) {
133
162
  var tmp = a instanceof GameCard ? a : THROW_CCE();
134
- return this.a33(tmp, b instanceof GameCard ? b : THROW_CCE());
163
+ return this.a62(tmp, b instanceof GameCard ? b : THROW_CCE());
135
164
  };
136
165
  var CardNumberComparator_instance;
137
166
  function CardNumberComparator_getInstance() {
138
167
  return CardNumberComparator_instance;
139
168
  }
140
- function CardIndexComparator() {
141
- }
142
- protoOf(CardIndexComparator).a33 = function (a, b) {
143
- return a.b33_1 - b.b33_1 | 0;
144
- };
145
- protoOf(CardIndexComparator).compare = function (a, b) {
146
- var tmp = a instanceof GameCard ? a : THROW_CCE();
147
- return this.a33(tmp, b instanceof GameCard ? b : THROW_CCE());
148
- };
149
- var CardIndexComparator_instance;
150
- function CardIndexComparator_getInstance() {
151
- return CardIndexComparator_instance;
152
- }
153
- function byCardNamePredicate(types) {
154
- return byCardNamePredicate$lambda(types);
155
- }
156
169
  function distributeCardsBottom(_this__u8e3s4, count) {
157
170
  var cardsToDeal = toList(take(_this__u8e3s4, count));
158
- _this__u8e3s4.x1(cardsToDeal);
171
+ _this__u8e3s4.z1(cardsToDeal);
159
172
  return cardsToDeal;
160
173
  }
161
174
  function distributeCardsTop(_this__u8e3s4, count) {
162
175
  var cardsToDeal = toList(takeLast(_this__u8e3s4, count));
163
- _this__u8e3s4.x1(cardsToDeal);
176
+ _this__u8e3s4.z1(cardsToDeal);
164
177
  return cardsToDeal;
165
178
  }
179
+ function byCardNamePredicate(types) {
180
+ return byCardNamePredicate$lambda(types);
181
+ }
166
182
  function byCardNamePredicate$lambda($types) {
167
183
  return function (p1) {
168
184
  var tmp$ret$1;
@@ -175,7 +191,7 @@
175
191
  var element = indexedObject[inductionVariable];
176
192
  inductionVariable = inductionVariable + 1 | 0;
177
193
  // Inline function 'io.raspberryapps.card_game.core.data.models.cards.byCardNamePredicate.<anonymous>.<anonymous>' call
178
- if (p1.o2().equals(element)) {
194
+ if (p1.p2().equals(element)) {
179
195
  tmp$ret$1 = true;
180
196
  break $l$block;
181
197
  }
@@ -201,7 +217,7 @@
201
217
  var CardName_STUB_instance;
202
218
  function getShortName($this) {
203
219
  var tmp;
204
- switch ($this.n2_1) {
220
+ switch ($this.o2_1) {
205
221
  case 0:
206
222
  tmp = 'A';
207
223
  break;
@@ -272,10 +288,16 @@
272
288
  }
273
289
  function Companion() {
274
290
  }
275
- protoOf(Companion).d33 = function (suit, cardNumber) {
291
+ protoOf(Companion).d62 = function (suit, number) {
292
+ return new GameCard(getNumber(Companion_instance_0, getName(Companion_instance_0, number), suit));
293
+ };
294
+ protoOf(Companion).e62 = function (suit, cardNumber) {
276
295
  return new GameCard(getNumber(Companion_instance_0, cardNumber, suit));
277
296
  };
278
- protoOf(Companion).e33 = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
297
+ protoOf(Companion).f62 = function (index) {
298
+ return new GameCard(index);
299
+ };
300
+ protoOf(Companion).g62 = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
279
301
  var tmp;
280
302
  if (previousStubCardWithMaxIndex == null) {
281
303
  tmp = null;
@@ -284,7 +306,7 @@
284
306
  // Inline function 'kotlin.contracts.contract' call
285
307
  var tmp_0;
286
308
  // Inline function 'io.raspberryapps.card_game.core.data.models.cards.Companion.createUniqueStub.<anonymous>' call
287
- if (previousStubCardWithMaxIndex.f33()) {
309
+ if (previousStubCardWithMaxIndex.h62()) {
288
310
  tmp_0 = previousStubCardWithMaxIndex;
289
311
  } else {
290
312
  tmp_0 = null;
@@ -292,8 +314,8 @@
292
314
  tmp = tmp_0;
293
315
  }
294
316
  var tmp3_safe_receiver = tmp;
295
- var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.b33_1;
296
- var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : Companion_instance_0.k33(tmp4_safe_receiver, playerIndex, reverse);
317
+ var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.b62_1;
318
+ var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : Companion_instance_0.m62(tmp4_safe_receiver, playerIndex, reverse);
297
319
  var tmp_1;
298
320
  if (tmp5_safe_receiver == null) {
299
321
  tmp_1 = null;
@@ -314,10 +336,10 @@
314
336
  var index = tmp_2;
315
337
  return new GameCard(index);
316
338
  };
317
- protoOf(Companion).l33 = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $super) {
339
+ protoOf(Companion).n62 = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $super) {
318
340
  previousStubCardWithMaxIndex = previousStubCardWithMaxIndex === VOID ? null : previousStubCardWithMaxIndex;
319
341
  reverse = reverse === VOID ? false : reverse;
320
- return $super === VOID ? this.e33(position, playerIndex, previousStubCardWithMaxIndex, reverse) : $super.e33.call(this, position, playerIndex, previousStubCardWithMaxIndex, reverse);
342
+ return $super === VOID ? this.g62(position, playerIndex, previousStubCardWithMaxIndex, reverse) : $super.g62.call(this, position, playerIndex, previousStubCardWithMaxIndex, reverse);
321
343
  };
322
344
  var Companion_instance;
323
345
  function Companion_getInstance() {
@@ -328,7 +350,7 @@
328
350
  }
329
351
  function getCardNumber($this, number) {
330
352
  var tmp;
331
- switch (number.n2_1) {
353
+ switch (number.o2_1) {
332
354
  case 12:
333
355
  tmp = 0;
334
356
  break;
@@ -421,7 +443,7 @@
421
443
  return tmp;
422
444
  }
423
445
  function _get_isShirt__vd98rp($this) {
424
- return $this.b33_1 === 52;
446
+ return $this.b62_1 === 52;
425
447
  }
426
448
  function CardName(name, ordinal) {
427
449
  Enum.call(this, name, ordinal);
@@ -430,12 +452,12 @@
430
452
  return getShortName(this);
431
453
  };
432
454
  function Companion_0() {
433
- this.g33_1 = -1;
434
- this.h33_1 = 13;
435
- this.i33_1 = 52;
436
- this.j33_1 = 53;
455
+ this.i62_1 = -1;
456
+ this.j62_1 = 13;
457
+ this.k62_1 = 52;
458
+ this.l62_1 = 53;
437
459
  }
438
- protoOf(Companion_0).k33 = function (_this__u8e3s4, playerIndex, reverse) {
460
+ protoOf(Companion_0).m62 = function (_this__u8e3s4, playerIndex, reverse) {
439
461
  var tmp;
440
462
  if (reverse) {
441
463
  tmp = _this__u8e3s4 + (53 + imul(playerIndex, 14) | 0) | 0;
@@ -505,59 +527,59 @@
505
527
  return CardName_STUB_instance;
506
528
  }
507
529
  function GameCard(index) {
508
- this.b33_1 = index;
530
+ this.b62_1 = index;
509
531
  }
510
- protoOf(GameCard).m33 = function () {
532
+ protoOf(GameCard).o62 = function () {
511
533
  var tmp;
512
- var containsArg = this.b33_1;
534
+ var containsArg = this.b62_1;
513
535
  if (0 <= containsArg ? containsArg <= 13 : false) {
514
536
  tmp = Suit_DIAMOND_getInstance();
515
537
  } else {
516
- if (this.b33_1 <= 26) {
538
+ if (this.b62_1 <= 26) {
517
539
  tmp = Suit_SPADE_getInstance();
518
540
  } else {
519
- if (this.b33_1 <= 39) {
541
+ if (this.b62_1 <= 39) {
520
542
  tmp = Suit_HEART_getInstance();
521
543
  } else {
522
- if (this.b33_1 <= 52) {
544
+ if (this.b62_1 <= 52) {
523
545
  tmp = Suit_CLUB_getInstance();
524
546
  } else {
525
- throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.b33_1);
547
+ throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.b62_1);
526
548
  }
527
549
  }
528
550
  }
529
551
  }
530
552
  return tmp;
531
553
  };
532
- protoOf(GameCard).c33 = function () {
554
+ protoOf(GameCard).c62 = function () {
533
555
  var tmp;
534
- if (this.f33()) {
556
+ if (this.h62()) {
535
557
  tmp = -1;
536
558
  } else {
537
- tmp = this.b33_1 - imul(13, getIndex(this.m33())) | 0;
559
+ tmp = this.b62_1 - imul(13, getIndex(this.o62())) | 0;
538
560
  }
539
561
  return tmp;
540
562
  };
541
- protoOf(GameCard).o2 = function () {
542
- return this.f33() ? CardName_STUB_getInstance() : getName(Companion_instance_0, this.c33());
563
+ protoOf(GameCard).p2 = function () {
564
+ return this.h62() ? CardName_STUB_getInstance() : getName(Companion_instance_0, this.c62());
543
565
  };
544
- protoOf(GameCard).n33 = function () {
545
- return !_get_isShirt__vd98rp(this) && !this.f33();
566
+ protoOf(GameCard).p62 = function () {
567
+ return !_get_isShirt__vd98rp(this) && !this.h62();
546
568
  };
547
- protoOf(GameCard).f33 = function () {
548
- return this.b33_1 >= 53;
569
+ protoOf(GameCard).h62 = function () {
570
+ return this.b62_1 >= 53;
549
571
  };
550
572
  protoOf(GameCard).toString = function () {
551
573
  if (_get_isShirt__vd98rp(this)) {
552
574
  return 'GameCard(SHIRT)';
553
575
  }
554
- if (this.f33()) {
555
- return 'GameCard(STUB, ' + this.b33_1 + ')';
576
+ if (this.h62()) {
577
+ return 'GameCard(STUB, ' + this.b62_1 + ')';
556
578
  }
557
- return 'GameCard(' + this.m33().toString() + this.o2().toString() + ', ' + this.b33_1 + ')';
579
+ return 'GameCard(' + this.o62().toString() + this.p2().toString() + ', ' + this.b62_1 + ')';
558
580
  };
559
581
  protoOf(GameCard).hashCode = function () {
560
- return this.b33_1;
582
+ return this.b62_1;
561
583
  };
562
584
  protoOf(GameCard).equals = function (other) {
563
585
  if (this === other)
@@ -565,12 +587,12 @@
565
587
  if (!(other instanceof GameCard))
566
588
  return false;
567
589
  var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
568
- if (!(this.b33_1 === tmp0_other_with_cast.b33_1))
590
+ if (!(this.b62_1 === tmp0_other_with_cast.b62_1))
569
591
  return false;
570
592
  return true;
571
593
  };
572
594
  function _get_$cachedSerializer__te6jhj($this) {
573
- return $this.o33_1.e2();
595
+ return $this.q62_1.u();
574
596
  }
575
597
  function Suit$Companion$_anonymous__cbm2iq() {
576
598
  return createSimpleEnumSerializer('io.raspberryapps.card_game.core.data.models.cards.Suit', values());
@@ -581,7 +603,7 @@
581
603
  var Suit_CLUB_instance;
582
604
  function getSuitEmoji($this) {
583
605
  var tmp;
584
- switch ($this.n2_1) {
606
+ switch ($this.o2_1) {
585
607
  case 0:
586
608
  tmp = '\u2666\uFE0F';
587
609
  break;
@@ -612,13 +634,13 @@
612
634
  Companion_instance_1 = this;
613
635
  var tmp = this;
614
636
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
615
- tmp.o33_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
637
+ tmp.q62_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
616
638
  }
617
- protoOf(Companion_1).y23 = function () {
639
+ protoOf(Companion_1).v4t = function () {
618
640
  return _get_$cachedSerializer__te6jhj(this);
619
641
  };
620
- protoOf(Companion_1).o1s = function (typeParamsSerializers) {
621
- return this.y23();
642
+ protoOf(Companion_1).y4d = function (typeParamsSerializers) {
643
+ return this.v4t();
622
644
  };
623
645
  var Companion_instance_1;
624
646
  function Companion_getInstance_1() {
@@ -663,7 +685,7 @@
663
685
  }
664
686
  function getIndex(_this__u8e3s4) {
665
687
  var tmp;
666
- switch (_this__u8e3s4.n2_1) {
688
+ switch (_this__u8e3s4.o2_1) {
667
689
  case 0:
668
690
  tmp = 0;
669
691
  break;
@@ -684,6 +706,7 @@
684
706
  }
685
707
  var CardsRandomProvider_CUSTOM_instance;
686
708
  var CardsRandomProvider_RANDOM_ORG_instance;
709
+ var CardsRandomProvider_RANDOM_ORG_SIGNED_instance;
687
710
  var CardsRandomProvider_entriesInitialized;
688
711
  function CardsRandomProvider_initEntries() {
689
712
  if (CardsRandomProvider_entriesInitialized)
@@ -691,6 +714,7 @@
691
714
  CardsRandomProvider_entriesInitialized = true;
692
715
  CardsRandomProvider_CUSTOM_instance = new CardsRandomProvider('CUSTOM', 0);
693
716
  CardsRandomProvider_RANDOM_ORG_instance = new CardsRandomProvider('RANDOM_ORG', 1);
717
+ CardsRandomProvider_RANDOM_ORG_SIGNED_instance = new CardsRandomProvider('RANDOM_ORG_SIGNED', 2);
694
718
  }
695
719
  function CardsRandomProvider(name, ordinal) {
696
720
  Enum.call(this, name, ordinal);
@@ -703,13 +727,358 @@
703
727
  CardsRandomProvider_initEntries();
704
728
  return CardsRandomProvider_RANDOM_ORG_instance;
705
729
  }
730
+ function CardsRandomProvider_RANDOM_ORG_SIGNED_getInstance() {
731
+ CardsRandomProvider_initEntries();
732
+ return CardsRandomProvider_RANDOM_ORG_SIGNED_instance;
733
+ }
706
734
  function CardsDealerProvider() {
707
735
  }
736
+ function getCardsRange($this, leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
737
+ return until(leftCardIndexForEachSuit, 13 - rightCardIndexForEachSuit | 0);
738
+ }
739
+ function getRandomOrgCards($this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, $completion) {
740
+ var tmp = new $getRandomOrgCardsCOROUTINE$1($this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, $completion);
741
+ tmp.f9_1 = Unit_instance;
742
+ tmp.g9_1 = null;
743
+ return tmp.l9();
744
+ }
745
+ function normalizeCards($this, cards, leftCardIndexForEachSuit) {
746
+ var oneSuitCount = cards.m() / get_entries().m() | 0;
747
+ // Inline function 'kotlin.collections.map' call
748
+ // Inline function 'kotlin.collections.mapTo' call
749
+ var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(cards, 10));
750
+ var tmp0_iterator = cards.j();
751
+ while (tmp0_iterator.k()) {
752
+ var item = tmp0_iterator.l();
753
+ // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.normalizeCards.<anonymous>' call
754
+ var previousSuitNumber = item / oneSuitCount | 0;
755
+ var cardIndexShift = imul(leftCardIndexForEachSuit, previousSuitNumber + 1 | 0);
756
+ var newIndex = item + cardIndexShift | 0;
757
+ destination.e(newIndex);
758
+ }
759
+ var newIndexes = destination;
760
+ return newIndexes;
761
+ }
762
+ function Companion_2() {
763
+ }
764
+ protoOf(Companion_2).r63 = function (randomPoolProvider, logger) {
765
+ var tmp17_random = new SecureRandom(logger);
766
+ return new CardsDealerProviderImpl(tmp17_random, randomPoolProvider, logger);
767
+ };
768
+ var Companion_instance_2;
769
+ function Companion_getInstance_2() {
770
+ return Companion_instance_2;
771
+ }
772
+ function $createNewShuffledCardDeckCOROUTINE$0(_this__u8e3s4, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, resultContinuation) {
773
+ CoroutineImpl.call(this, resultContinuation);
774
+ this.a64_1 = _this__u8e3s4;
775
+ this.b64_1 = leftCardIndexForEachSuit;
776
+ this.c64_1 = rightCardIndexForEachSuit;
777
+ this.d64_1 = approximateRoundCountForGame;
778
+ this.e64_1 = userData;
779
+ this.f64_1 = provider;
780
+ }
781
+ protoOf($createNewShuffledCardDeckCOROUTINE$0).l9 = function () {
782
+ var suspendResult = this.f9_1;
783
+ $sm: do
784
+ try {
785
+ var tmp = this.d9_1;
786
+ switch (tmp) {
787
+ case 0:
788
+ this.e9_1 = 4;
789
+ this.g64_1 = this.f64_1;
790
+ this.h64_1 = this.g64_1.o2_1;
791
+ if (this.h64_1 === 0) {
792
+ var tmp_0 = this;
793
+ var it = this.a64_1.r62(this.b64_1, this.c64_1);
794
+ tmp_0.i64_1 = this.a64_1.v62(it);
795
+ this.d9_1 = 3;
796
+ continue $sm;
797
+ } else {
798
+ if (this.h64_1 === 1) {
799
+ this.d9_1 = 2;
800
+ suspendResult = getRandomOrgCards(this.a64_1, this.b64_1, this.c64_1, this.d64_1, this.e64_1, false, this);
801
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
802
+ return suspendResult;
803
+ }
804
+ continue $sm;
805
+ } else {
806
+ if (this.h64_1 === 2) {
807
+ this.d9_1 = 1;
808
+ suspendResult = getRandomOrgCards(this.a64_1, this.b64_1, this.c64_1, this.d64_1, this.e64_1, true, this);
809
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
810
+ return suspendResult;
811
+ }
812
+ continue $sm;
813
+ } else {
814
+ var tmp_1 = this;
815
+ noWhenBranchMatchedException();
816
+ }
817
+ }
818
+ }
819
+
820
+ break;
821
+ case 1:
822
+ this.i64_1 = suspendResult;
823
+ this.d9_1 = 3;
824
+ continue $sm;
825
+ case 2:
826
+ this.i64_1 = suspendResult;
827
+ this.d9_1 = 3;
828
+ continue $sm;
829
+ case 3:
830
+ return this.i64_1;
831
+ case 4:
832
+ throw this.g9_1;
833
+ }
834
+ } catch ($p) {
835
+ var e = $p;
836
+ if (this.e9_1 === 4) {
837
+ throw e;
838
+ } else {
839
+ this.d9_1 = this.e9_1;
840
+ this.g9_1 = e;
841
+ }
842
+ }
843
+ while (true);
844
+ };
845
+ function $getRandomOrgCardsCOROUTINE$1(_this__u8e3s4, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, resultContinuation) {
846
+ CoroutineImpl.call(this, resultContinuation);
847
+ this.e63_1 = _this__u8e3s4;
848
+ this.f63_1 = leftCardIndexForEachSuit;
849
+ this.g63_1 = rightCardIndexForEachSuit;
850
+ this.h63_1 = approximateRoundsCount;
851
+ this.i63_1 = userData;
852
+ this.j63_1 = signed;
853
+ }
854
+ protoOf($getRandomOrgCardsCOROUTINE$1).l9 = function () {
855
+ var suspendResult = this.f9_1;
856
+ $sm: do
857
+ try {
858
+ var tmp = this.d9_1;
859
+ switch (tmp) {
860
+ case 0:
861
+ this.e9_1 = 5;
862
+ var tmp_0 = this;
863
+ var sum = 0;
864
+ var tmp0_iterator = get_entries().j();
865
+ while (tmp0_iterator.k()) {
866
+ var element = tmp0_iterator.l();
867
+ var tmp_1 = sum;
868
+ sum = tmp_1 + count(getCardsRange(this.e63_1, this.f63_1, this.g63_1)) | 0;
869
+ }
870
+
871
+ tmp_0.k63_1 = sum;
872
+ this.l63_1 = this.e63_1.k64_1;
873
+ this.m63_1 = this.k63_1 - 1 | 0;
874
+ this.d9_1 = 1;
875
+ suspendResult = this.l63_1.r5n(this.h63_1, this.i63_1, 0, this.m63_1, this.k63_1, this.j63_1, VOID, this);
876
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
877
+ return suspendResult;
878
+ }
879
+
880
+ this.d9_1 = 2;
881
+ continue $sm;
882
+ case 1:
883
+ this.n63_1 = suspendResult.bj_1;
884
+ suspendResult = new Result(this.n63_1);
885
+ this.d9_1 = 2;
886
+ continue $sm;
887
+ case 2:
888
+ this.o63_1 = suspendResult.bj_1;
889
+ if (_Result___get_isSuccess__impl__sndoy8(this.o63_1)) {
890
+ var tmp_2 = this;
891
+ var this_0 = this.o63_1;
892
+ throwOnFailure(this_0);
893
+ var tmp_3 = _Result___get_value__impl__bjfvqg(this_0);
894
+ var tmp14_cards = ((tmp_3 == null ? true : !(tmp_3 == null)) ? tmp_3 : THROW_CCE()).cards;
895
+ var this_1 = normalizeCards(this.e63_1, tmp14_cards, this.f63_1);
896
+ var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
897
+ var tmp0_iterator_0 = this_1.j();
898
+ while (tmp0_iterator_0.k()) {
899
+ var item = tmp0_iterator_0.l();
900
+ destination.e(Companion_instance.f62(item));
901
+ }
902
+ tmp_2.p63_1 = destination;
903
+ this.d9_1 = 4;
904
+ continue $sm;
905
+ } else {
906
+ this.q63_1 = Result__exceptionOrNull_impl_p6xea9(this.o63_1);
907
+ var tmp15_safe_receiver = this.q63_1;
908
+ this.e63_1.l64_1.w('CardsDealerProvider', 'createNewShuffledCardDeck error message = ' + (tmp15_safe_receiver == null ? null : tmp15_safe_receiver.message), this.q63_1);
909
+ this.d9_1 = 3;
910
+ suspendResult = this.e63_1.s62(this.f63_1, this.g63_1, this.h63_1, this.i63_1, CardsRandomProvider_CUSTOM_getInstance(), this);
911
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
912
+ return suspendResult;
913
+ }
914
+ continue $sm;
915
+ }
916
+
917
+ case 3:
918
+ this.p63_1 = suspendResult;
919
+ this.d9_1 = 4;
920
+ continue $sm;
921
+ case 4:
922
+ return this.p63_1;
923
+ case 5:
924
+ throw this.g9_1;
925
+ }
926
+ } catch ($p) {
927
+ var e = $p;
928
+ if (this.e9_1 === 5) {
929
+ throw e;
930
+ } else {
931
+ this.d9_1 = this.e9_1;
932
+ this.g9_1 = e;
933
+ }
934
+ }
935
+ while (true);
936
+ };
937
+ function CardsDealerProviderImpl(random, randomPoolProvider, logger) {
938
+ this.j64_1 = random;
939
+ this.k64_1 = randomPoolProvider;
940
+ this.l64_1 = logger;
941
+ }
942
+ protoOf(CardsDealerProviderImpl).r62 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
943
+ // Inline function 'kotlin.collections.flatMap' call
944
+ // Inline function 'kotlin.collections.flatMapTo' call
945
+ var this_0 = get_entries();
946
+ var destination = ArrayList_init_$Create$();
947
+ var tmp0_iterator = this_0.j();
948
+ while (tmp0_iterator.k()) {
949
+ var element = tmp0_iterator.l();
950
+ // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.createNewCardDeck.<anonymous>' call
951
+ // Inline function 'kotlin.collections.map' call
952
+ var this_1 = getCardsRange(this, leftCardIndexForEachSuit, rightCardIndexForEachSuit);
953
+ // Inline function 'kotlin.collections.mapTo' call
954
+ var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
955
+ var tmp0_iterator_0 = this_1.j();
956
+ while (tmp0_iterator_0.k()) {
957
+ var item = tmp0_iterator_0.l();
958
+ // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.createNewCardDeck.<anonymous>.<anonymous>' call
959
+ var tmp$ret$0 = Companion_instance.d62(element, item);
960
+ destination_0.e(tmp$ret$0);
961
+ }
962
+ var list = destination_0;
963
+ addAll(destination, list);
964
+ }
965
+ return destination;
966
+ };
967
+ protoOf(CardsDealerProviderImpl).s62 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
968
+ var tmp = new $createNewShuffledCardDeckCOROUTINE$0(this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion);
969
+ tmp.f9_1 = Unit_instance;
970
+ tmp.g9_1 = null;
971
+ return tmp.l9();
972
+ };
973
+ protoOf(CardsDealerProviderImpl).t62 = function (count, cards) {
974
+ // Inline function 'kotlin.apply' call
975
+ // Inline function 'kotlin.collections.mutableListOf' call
976
+ var this_0 = ArrayList_init_$Create$();
977
+ // Inline function 'kotlin.contracts.contract' call
978
+ $l$block: {
979
+ // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.getNRandomUniqueCards.<anonymous>' call
980
+ var _iterator__ex2g4s = cards.j();
981
+ $l$loop_0: while (_iterator__ex2g4s.k()) {
982
+ var card = _iterator__ex2g4s.l();
983
+ if (this_0.m() === count) {
984
+ break $l$block;
985
+ }
986
+ var hasSimilarCard = this_0.s1(card);
987
+ if (hasSimilarCard) {
988
+ continue $l$loop_0;
989
+ }
990
+ var tmp$ret$2;
991
+ $l$block_1: {
992
+ // Inline function 'kotlin.collections.any' call
993
+ var tmp;
994
+ if (isInterface(this_0, Collection)) {
995
+ tmp = this_0.p();
996
+ } else {
997
+ tmp = false;
998
+ }
999
+ if (tmp) {
1000
+ tmp$ret$2 = false;
1001
+ break $l$block_1;
1002
+ }
1003
+ var tmp0_iterator = this_0.j();
1004
+ while (tmp0_iterator.k()) {
1005
+ var element = tmp0_iterator.l();
1006
+ // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.getNRandomUniqueCards.<anonymous>.<anonymous>' call
1007
+ if (element.c62() === card.c62()) {
1008
+ tmp$ret$2 = true;
1009
+ break $l$block_1;
1010
+ }
1011
+ }
1012
+ tmp$ret$2 = false;
1013
+ }
1014
+ if (tmp$ret$2) {
1015
+ continue $l$loop_0;
1016
+ }
1017
+ this_0.e(card);
1018
+ }
1019
+ }
1020
+ return this_0;
1021
+ };
1022
+ protoOf(CardsDealerProviderImpl).u62 = function (cards, times) {
1023
+ // Inline function 'kotlin.let' call
1024
+ // Inline function 'kotlin.contracts.contract' call
1025
+ // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.standardShuffledCards.<anonymous>' call
1026
+ var shuffled = toMutableList(cards);
1027
+ var inductionVariable = 0;
1028
+ if (inductionVariable < times)
1029
+ do {
1030
+ var i = inductionVariable;
1031
+ inductionVariable = inductionVariable + 1 | 0;
1032
+ shuffled = this.j64_1.r5s(shuffled);
1033
+ }
1034
+ while (inductionVariable < times);
1035
+ return shuffled;
1036
+ };
1037
+ function Companion_3() {
1038
+ }
1039
+ protoOf(Companion_3).m64 = function () {
1040
+ // Inline function 'kotlin.apply' call
1041
+ // Inline function 'kotlin.collections.mutableListOf' call
1042
+ var this_0 = ArrayList_init_$Create$();
1043
+ // Inline function 'kotlin.contracts.contract' call
1044
+ // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.Companion.getCards.<anonymous>' call
1045
+ this_0.n(listOf([Companion_instance.e62(Suit_DIAMOND_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.e62(Suit_CLUB_getInstance(), CardName_NINE_getInstance()), Companion_instance.e62(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.e62(Suit_CLUB_getInstance(), CardName_TEN_getInstance()), Companion_instance.e62(Suit_HEART_getInstance(), CardName_JACK_getInstance()), Companion_instance.e62(Suit_HEART_getInstance(), CardName_KING_getInstance())]));
1046
+ this_0.n(listOf([Companion_instance.e62(Suit_CLUB_getInstance(), CardName_JACK_getInstance()), Companion_instance.e62(Suit_SPADE_getInstance(), CardName_ACE_getInstance()), Companion_instance.e62(Suit_DIAMOND_getInstance(), CardName_NINE_getInstance()), Companion_instance.e62(Suit_DIAMOND_getInstance(), CardName_TEN_getInstance()), Companion_instance.e62(Suit_DIAMOND_getInstance(), CardName_JACK_getInstance()), Companion_instance.e62(Suit_HEART_getInstance(), CardName_EIGHT_getInstance())]));
1047
+ this_0.n(listOf([Companion_instance.e62(Suit_CLUB_getInstance(), CardName_DAME_getInstance()), Companion_instance.e62(Suit_HEART_getInstance(), CardName_ACE_getInstance()), Companion_instance.e62(Suit_HEART_getInstance(), CardName_DAME_getInstance()), Companion_instance.e62(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.e62(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.e62(Suit_CLUB_getInstance(), CardName_KING_getInstance())]));
1048
+ this_0.n(listOf([Companion_instance.e62(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.e62(Suit_SPADE_getInstance(), CardName_TEN_getInstance()), Companion_instance.e62(Suit_HEART_getInstance(), CardName_TEN_getInstance()), Companion_instance.e62(Suit_SPADE_getInstance(), CardName_JACK_getInstance()), Companion_instance.e62(Suit_DIAMOND_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.e62(Suit_SPADE_getInstance(), CardName_DAME_getInstance())]));
1049
+ this_0.n(listOf([Companion_instance.e62(Suit_DIAMOND_getInstance(), CardName_ACE_getInstance()), Companion_instance.e62(Suit_CLUB_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.e62(Suit_DIAMOND_getInstance(), CardName_KING_getInstance()), Companion_instance.e62(Suit_SPADE_getInstance(), CardName_NINE_getInstance()), Companion_instance.e62(Suit_CLUB_getInstance(), CardName_ACE_getInstance()), Companion_instance.e62(Suit_SPADE_getInstance(), CardName_KING_getInstance()), Companion_instance.e62(Suit_DIAMOND_getInstance(), CardName_DAME_getInstance()), Companion_instance.e62(Suit_HEART_getInstance(), CardName_NINE_getInstance())]));
1050
+ return this_0;
1051
+ };
1052
+ protoOf(Companion_3).n64 = function () {
1053
+ return listOf([Companion_instance.e62(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.e62(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.e62(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.e62(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance())]);
1054
+ };
1055
+ var Companion_instance_3;
1056
+ function Companion_getInstance_3() {
1057
+ return Companion_instance_3;
1058
+ }
1059
+ function FakeCardsDealerProvider(cards, cardsForLot) {
1060
+ cards = cards === VOID ? Companion_instance_3.m64() : cards;
1061
+ cardsForLot = cardsForLot === VOID ? Companion_instance_3.n64() : cardsForLot;
1062
+ this.o64_1 = cards;
1063
+ this.p64_1 = cardsForLot;
1064
+ }
1065
+ protoOf(FakeCardsDealerProvider).r62 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
1066
+ return this.o64_1;
1067
+ };
1068
+ protoOf(FakeCardsDealerProvider).s62 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
1069
+ return this.o64_1;
1070
+ };
1071
+ protoOf(FakeCardsDealerProvider).t62 = function (count, cards) {
1072
+ return this.p64_1;
1073
+ };
1074
+ protoOf(FakeCardsDealerProvider).u62 = function (cards, times) {
1075
+ return cards;
1076
+ };
708
1077
  function CombinationsCheckerProvider() {
709
1078
  }
710
1079
  function createCombination($this, cards, supportedCombinations) {
711
1080
  var size = cards.m();
712
- if (supportedCombinations.q1(size)) {
1081
+ if (supportedCombinations.s1(size)) {
713
1082
  return cards;
714
1083
  }
715
1084
  var fromLongestCombinations = asReversed(sorted(supportedCombinations));
@@ -731,25 +1100,25 @@
731
1100
  return takeLast(cards, longestCombinationSupport);
732
1101
  }
733
1102
  function sam$kotlin_Comparator$0(function_0) {
734
- this.a34_1 = function_0;
1103
+ this.v64_1 = function_0;
735
1104
  }
736
- protoOf(sam$kotlin_Comparator$0).cc = function (a, b) {
737
- return this.a34_1(a, b);
1105
+ protoOf(sam$kotlin_Comparator$0).jc = function (a, b) {
1106
+ return this.v64_1(a, b);
738
1107
  };
739
1108
  protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
740
- return this.cc(a, b);
1109
+ return this.jc(a, b);
741
1110
  };
742
1111
  function CombinationsCheckerProviderImpl$createCombinationsFromCardsInRow$lambda(a, b) {
743
1112
  // Inline function 'kotlin.comparisons.compareValuesBy' call
744
1113
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
745
- var tmp = first_0(a).b33_1;
1114
+ var tmp = first_0(a).b62_1;
746
1115
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
747
- var tmp$ret$1 = first_0(b).b33_1;
1116
+ var tmp$ret$1 = first_0(b).b62_1;
748
1117
  return compareValues(tmp, tmp$ret$1);
749
1118
  }
750
1119
  function CombinationsCheckerProviderImpl() {
751
1120
  }
752
- protoOf(CombinationsCheckerProviderImpl).v33 = function (cards, supportedCombinations, checkFromIndex, includeCardNames, suit) {
1121
+ protoOf(CombinationsCheckerProviderImpl).q64 = function (cards, supportedCombinations, checkFromIndex, includeCardNames, suit) {
753
1122
  // Inline function 'kotlin.collections.filter' call
754
1123
  // Inline function 'kotlin.apply' call
755
1124
  var this_0 = toMutableList(cards);
@@ -762,7 +1131,7 @@
762
1131
  while (tmp0_iterator.k()) {
763
1132
  var element = tmp0_iterator.l();
764
1133
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findCardsInRowCombinations.<anonymous>' call
765
- if (element.n33()) {
1134
+ if (element.p62()) {
766
1135
  destination.e(element);
767
1136
  }
768
1137
  }
@@ -779,16 +1148,16 @@
779
1148
  inductionVariable = inductionVariable + 1 | 0;
780
1149
  var previousCard = lastOrNull(combinationCards);
781
1150
  var currentCard = sortedByIndexCards.o(i);
782
- var isNextInRow = !(previousCard == null) && currentCard.b33_1 === (previousCard.b33_1 + 1 | 0) && currentCard.m33().equals(previousCard.m33());
783
- var passedCardNamesCheck = includeCardNames == null || includeCardNames.q1(currentCard.o2());
784
- var passedSuitCheck = suit == null || currentCard.m33().equals(suit);
1151
+ var isNextInRow = !(previousCard == null) && currentCard.b62_1 === (previousCard.b62_1 + 1 | 0) && currentCard.o62().equals(previousCard.o62());
1152
+ var passedCardNamesCheck = includeCardNames == null || includeCardNames.s1(currentCard.p2());
1153
+ var passedSuitCheck = suit == null || currentCard.o62().equals(suit);
785
1154
  if (isNextInRow && passedSuitCheck && passedCardNamesCheck) {
786
1155
  combinationCards.e(currentCard);
787
1156
  } else {
788
1157
  if (combinationCards.m() > (checkFromIndex - 1 | 0)) {
789
- combinations.n(this.z33(toMutableList(combinationCards), supportedCombinations));
1158
+ combinations.n(this.u64(toMutableList(combinationCards), supportedCombinations));
790
1159
  }
791
- combinationCards.z1();
1160
+ combinationCards.a2();
792
1161
  if (passedSuitCheck && passedCardNamesCheck) {
793
1162
  combinationCards.e(currentCard);
794
1163
  }
@@ -796,11 +1165,11 @@
796
1165
  }
797
1166
  while (inductionVariable <= last);
798
1167
  if (combinationCards.m() > (checkFromIndex - 1 | 0)) {
799
- combinations.n(this.z33(toMutableList(combinationCards), supportedCombinations));
1168
+ combinations.n(this.u64(toMutableList(combinationCards), supportedCombinations));
800
1169
  }
801
1170
  return combinations;
802
1171
  };
803
- protoOf(CombinationsCheckerProviderImpl).x33 = function (cards, cardsCount, includeCardNames) {
1172
+ protoOf(CombinationsCheckerProviderImpl).s64 = function (cards, cardsCount, includeCardNames) {
804
1173
  // Inline function 'kotlin.collections.filter' call
805
1174
  // Inline function 'kotlin.collections.filter' call
806
1175
  // Inline function 'kotlin.apply' call
@@ -814,7 +1183,7 @@
814
1183
  while (tmp0_iterator.k()) {
815
1184
  var element = tmp0_iterator.l();
816
1185
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
817
- if (element.n33()) {
1186
+ if (element.p62()) {
818
1187
  destination.e(element);
819
1188
  }
820
1189
  }
@@ -824,7 +1193,7 @@
824
1193
  while (tmp0_iterator_0.k()) {
825
1194
  var element_0 = tmp0_iterator_0.l();
826
1195
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
827
- if (includeCardNames == null || includeCardNames.q1(element_0.o2())) {
1196
+ if (includeCardNames == null || includeCardNames.s1(element_0.p2())) {
828
1197
  destination_0.e(element_0);
829
1198
  }
830
1199
  }
@@ -837,7 +1206,7 @@
837
1206
  while (tmp0_iterator_1.k()) {
838
1207
  var element_1 = tmp0_iterator_1.l();
839
1208
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
840
- var key = element_1.c33();
1209
+ var key = element_1.c62();
841
1210
  // Inline function 'kotlin.collections.getOrPut' call
842
1211
  var value = destination_1.h2(key);
843
1212
  var tmp;
@@ -859,8 +1228,8 @@
859
1228
  while (tmp0_iterator_2.k()) {
860
1229
  var element_2 = tmp0_iterator_2.l();
861
1230
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
862
- if (element_2.e2().m() >= cardsCount) {
863
- destination_2.k2(element_2.d2(), element_2.e2());
1231
+ if (element_2.u().m() >= cardsCount) {
1232
+ destination_2.k2(element_2.t(), element_2.u());
864
1233
  }
865
1234
  }
866
1235
  var combinations = destination_2.j2();
@@ -876,7 +1245,7 @@
876
1245
  }
877
1246
  return destination_3;
878
1247
  };
879
- protoOf(CombinationsCheckerProviderImpl).z33 = function (cards, supportedCombinations) {
1248
+ protoOf(CombinationsCheckerProviderImpl).u64 = function (cards, supportedCombinations) {
880
1249
  // Inline function 'kotlin.collections.minOf' call
881
1250
  var iterator = supportedCombinations.j();
882
1251
  if (!iterator.k())
@@ -897,7 +1266,7 @@
897
1266
  while (cardsToCheck.m() >= shortestCombinationSupport) {
898
1267
  var combinationCards = createCombination(this, cardsToCheck, supportedCombinations);
899
1268
  combinations.e(toList(combinationCards));
900
- cardsToCheck.x1(combinationCards);
1269
+ cardsToCheck.z1(combinationCards);
901
1270
  }
902
1271
  // Inline function 'kotlin.collections.sortedBy' call
903
1272
  // Inline function 'kotlin.comparisons.compareBy' call
@@ -906,28 +1275,28 @@
906
1275
  return sortedWith(combinations, tmp$ret$4);
907
1276
  };
908
1277
  function DealerReducerImpl(logger, enableLogs) {
909
- this.b34_1 = logger;
910
- this.c34_1 = enableLogs;
1278
+ this.w64_1 = logger;
1279
+ this.x64_1 = enableLogs;
911
1280
  }
912
- protoOf(DealerReducerImpl).d34 = function (cards, cardsToRemove) {
1281
+ protoOf(DealerReducerImpl).y64 = function (cards, cardsToRemove) {
913
1282
  var list = cards;
914
1283
  var _iterator__ex2g4s = cardsToRemove.j();
915
1284
  while (_iterator__ex2g4s.k()) {
916
1285
  var gameCard = _iterator__ex2g4s.l();
917
- list = this.e34(list, gameCard);
1286
+ list = this.z64(list, gameCard);
918
1287
  }
919
1288
  return list;
920
1289
  };
921
- protoOf(DealerReducerImpl).e34 = function (cards, cardToRemove) {
1290
+ protoOf(DealerReducerImpl).z64 = function (cards, cardToRemove) {
922
1291
  var tmp;
923
- if (!cardToRemove.f33() && cards.q1(cardToRemove)) {
924
- if (this.c34_1) {
925
- this.b34_1.d('Dealer', 'Card removed: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1292
+ if (!cardToRemove.h62() && cards.s1(cardToRemove)) {
1293
+ if (this.x64_1) {
1294
+ this.w64_1.d('Dealer', 'Card removed: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
926
1295
  }
927
1296
  tmp = minus(cards, cardToRemove);
928
1297
  } else {
929
- if (this.c34_1) {
930
- this.b34_1.d('Dealer', 'Card removed as stub: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1298
+ if (this.x64_1) {
1299
+ this.w64_1.d('Dealer', 'Card removed as stub: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
931
1300
  }
932
1301
  // Inline function 'kotlin.collections.filterNot' call
933
1302
  // Inline function 'kotlin.collections.filterNotTo' call
@@ -936,7 +1305,7 @@
936
1305
  while (tmp0_iterator.k()) {
937
1306
  var element = tmp0_iterator.l();
938
1307
  // Inline function 'io.raspberryapps.card_game.core.domain.dealer.DealerReducerImpl.removeCard.<anonymous>' call
939
- if (!element.f33()) {
1308
+ if (!element.h62()) {
940
1309
  destination.e(element);
941
1310
  }
942
1311
  }
@@ -948,39 +1317,43 @@
948
1317
  while (tmp0_iterator_0.k()) {
949
1318
  var element_0 = tmp0_iterator_0.l();
950
1319
  // Inline function 'io.raspberryapps.card_game.core.domain.dealer.DealerReducerImpl.removeCard.<anonymous>' call
951
- if (element_0.f33()) {
1320
+ if (element_0.h62()) {
952
1321
  destination_0.e(element_0);
953
1322
  }
954
1323
  }
955
1324
  var stubCards = destination_0;
956
1325
  if (stubCards.p()) {
957
- this.b34_1.w('Dealer', "Can't find card to delete for player, " + ('cards:' + toString(cards) + ', ') + ('cardToRemove: ' + cardToRemove.toString()));
1326
+ this.w64_1.w('Dealer', "Can't find card to delete for player, " + ('cards:' + toString(cards) + ', ') + ('cardToRemove: ' + cardToRemove.toString()));
958
1327
  }
959
1328
  tmp = plus(notStubCards, dropLast(stubCards, 1));
960
1329
  }
961
1330
  return tmp;
962
1331
  };
963
- protoOf(DealerReducerImpl).f34 = function (cards, cardToAdd) {
964
- if (this.c34_1) {
965
- this.b34_1.d('Dealer', 'Card added: ' + cardToAdd.toString() + ', size: ' + (cards.m() + 1 | 0));
1332
+ protoOf(DealerReducerImpl).a65 = function (cards, cardToAdd) {
1333
+ if (this.x64_1) {
1334
+ this.w64_1.d('Dealer', 'Card added: ' + cardToAdd.toString() + ', size: ' + (cards.m() + 1 | 0));
966
1335
  }
967
- if (cards.q1(cardToAdd)) {
968
- this.b34_1.w('Dealer', 'Card already exists for player, ' + ('cards:' + toString(cards) + ', ') + ('cardToAdd: ' + cardToAdd.toString()));
1336
+ if (cards.s1(cardToAdd)) {
1337
+ this.w64_1.w('Dealer', 'Card already exists for player, ' + ('cards:' + toString(cards) + ', ') + ('cardToAdd: ' + cardToAdd.toString()));
969
1338
  }
970
1339
  return plus_0(cards, cardToAdd);
971
1340
  };
972
1341
  function DealerReducer() {
973
1342
  }
974
1343
  //region block: post-declaration
975
- protoOf(CombinationsCheckerProviderImpl).w33 = findCardsInRowCombinations$default;
976
- protoOf(CombinationsCheckerProviderImpl).y33 = findSameCardsNumberCombinations$default;
1344
+ protoOf(CardsDealerProviderImpl).v62 = standardShuffledCards$default;
1345
+ protoOf(FakeCardsDealerProvider).v62 = standardShuffledCards$default;
1346
+ protoOf(CombinationsCheckerProviderImpl).r64 = findCardsInRowCombinations$default;
1347
+ protoOf(CombinationsCheckerProviderImpl).t64 = findSameCardsNumberCombinations$default;
977
1348
  //endregion
978
1349
  //region block: init
979
1350
  CoreConfig_instance = new CoreConfig();
980
- CardNumberComparator_instance = new CardNumberComparator();
981
1351
  CardIndexComparator_instance = new CardIndexComparator();
1352
+ CardNumberComparator_instance = new CardNumberComparator();
982
1353
  Companion_instance = new Companion();
983
1354
  Companion_instance_0 = new Companion_0();
1355
+ Companion_instance_2 = new Companion_2();
1356
+ Companion_instance_3 = new Companion_3();
984
1357
  //endregion
985
1358
  //region block: exports
986
1359
  function $jsExportAll$(_) {
@@ -1002,22 +1375,25 @@
1002
1375
  _.$_$.g = CardName_SEVEN_getInstance;
1003
1376
  _.$_$.h = CardName_TEN_getInstance;
1004
1377
  _.$_$.i = CardsRandomProvider_CUSTOM_getInstance;
1005
- _.$_$.j = CardsRandomProvider_RANDOM_ORG_getInstance;
1006
- _.$_$.k = CardIndexComparator_instance;
1007
- _.$_$.l = CardNumberComparator_instance;
1008
- _.$_$.m = Companion_instance;
1009
- _.$_$.n = Companion_getInstance_1;
1010
- _.$_$.o = GameCard;
1011
- _.$_$.p = get_entries;
1012
- _.$_$.q = values;
1013
- _.$_$.r = distributeCardsBottom;
1014
- _.$_$.s = distributeCardsTop;
1015
- _.$_$.t = filterByCardName;
1016
- _.$_$.u = CardsDealerProvider;
1017
- _.$_$.v = CombinationsCheckerProviderImpl;
1018
- _.$_$.w = CombinationsCheckerProvider;
1019
- _.$_$.x = DealerReducerImpl;
1020
- _.$_$.y = DealerReducer;
1378
+ _.$_$.j = CardsRandomProvider_RANDOM_ORG_SIGNED_getInstance;
1379
+ _.$_$.k = CardsRandomProvider_RANDOM_ORG_getInstance;
1380
+ _.$_$.l = CardIndexComparator_instance;
1381
+ _.$_$.m = CardNumberComparator_instance;
1382
+ _.$_$.n = Companion_instance;
1383
+ _.$_$.o = Companion_getInstance_1;
1384
+ _.$_$.p = Companion_instance_2;
1385
+ _.$_$.q = GameCard;
1386
+ _.$_$.r = get_entries;
1387
+ _.$_$.s = values;
1388
+ _.$_$.t = distributeCardsBottom;
1389
+ _.$_$.u = distributeCardsTop;
1390
+ _.$_$.v = filterByCardName;
1391
+ _.$_$.w = CardsDealerProvider;
1392
+ _.$_$.x = FakeCardsDealerProvider;
1393
+ _.$_$.y = CombinationsCheckerProviderImpl;
1394
+ _.$_$.z = CombinationsCheckerProvider;
1395
+ _.$_$.a1 = DealerReducerImpl;
1396
+ _.$_$.b1 = DealerReducer;
1021
1397
  //endregion
1022
1398
  return _;
1023
1399
  }));