client_plugin_logic_deb 1.8.210 → 1.8.225

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 (64) hide show
  1. package/Kosi-Kaverit-kaverit.js +77 -77
  2. package/Kosi-Kaverit-kaverit.js.map +1 -1
  3. package/Kosi-Kodein-kodein-di.js +610 -610
  4. package/Kosi-Kodein-kodein-di.js.map +1 -1
  5. package/Kotlin-DateTime-library-kotlinx-datetime.js +1571 -1516
  6. package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
  7. package/Logic_Debertz-client_plugin.d.ts +12 -2
  8. package/Logic_Debertz-client_plugin.js +5510 -4541
  9. package/Logic_Debertz-client_plugin.js.map +1 -1
  10. package/Logic_Debertz-core.js +2267 -2079
  11. package/Logic_Debertz-core.js.map +1 -1
  12. package/Logic_Debertz-engine.js +17095 -16581
  13. package/Logic_Debertz-engine.js.map +1 -1
  14. package/Logic_Debertz-game_client.js +11910 -10731
  15. package/Logic_Debertz-game_client.js.map +1 -1
  16. package/Logic_Debertz-game_server.js +1099 -1053
  17. package/Logic_Debertz-game_server.js.map +1 -1
  18. package/kotlin-kotlin-stdlib.js +3193 -2368
  19. package/kotlin-kotlin-stdlib.js.map +1 -1
  20. package/kotlin-kotlinx-atomicfu-runtime.js +3 -3
  21. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +3 -3
  22. package/kotlinx-atomicfu.js +66 -66
  23. package/kotlinx-atomicfu.js.map +1 -1
  24. package/kotlinx-coroutines-core.js +4172 -4066
  25. package/kotlinx-coroutines-core.js.map +1 -1
  26. package/kotlinx-io-kotlinx-io-bytestring.js +3 -3
  27. package/kotlinx-io-kotlinx-io-core.js +277 -277
  28. package/kotlinx-io-kotlinx-io-core.js.map +1 -1
  29. package/kotlinx-serialization-kotlinx-serialization-core.js +2297 -2210
  30. package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
  31. package/kotlinx-serialization-kotlinx-serialization-json.js +2069 -1725
  32. package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
  33. package/kotlinx-serialization-kotlinx-serialization-protobuf.js +3 -3
  34. package/ktor-ktor-client-content-negotiation.js +220 -220
  35. package/ktor-ktor-client-core.js +2532 -2504
  36. package/ktor-ktor-client-core.js.map +1 -1
  37. package/ktor-ktor-client-js.js +3 -3
  38. package/ktor-ktor-client-logging.js +573 -549
  39. package/ktor-ktor-client-logging.js.map +1 -1
  40. package/ktor-ktor-events.js +16 -16
  41. package/ktor-ktor-http.js +748 -726
  42. package/ktor-ktor-http.js.map +1 -1
  43. package/ktor-ktor-io.js +1639 -1642
  44. package/ktor-ktor-io.js.map +1 -1
  45. package/ktor-ktor-serialization-kotlinx-json.js +14 -14
  46. package/ktor-ktor-serialization-kotlinx.js +314 -269
  47. package/ktor-ktor-serialization-kotlinx.js.map +1 -1
  48. package/ktor-ktor-serialization.js +153 -128
  49. package/ktor-ktor-serialization.js.map +1 -1
  50. package/ktor-ktor-utils.js +702 -702
  51. package/ktor-ktor-utils.js.map +1 -1
  52. package/ktor-ktor-websocket-serialization.js +3 -3
  53. package/ktor-ktor-websockets.js +61 -61
  54. package/ktor-ktor-websockets.js.map +1 -1
  55. package/package.json +1 -1
  56. package/raspberry-cardgame-lib-core.js +270 -241
  57. package/raspberry-cardgame-lib-core.js.map +1 -1
  58. package/raspberry-cardgame-lib-logger.js +104 -104
  59. package/raspberry-cardgame-lib-random.js +984 -984
  60. package/raspberry-cardgame-lib-random.js.map +1 -1
  61. package/secure-random-secure-random.js +21 -21
  62. package/secure-random-secure-random.js.map +1 -1
  63. package/uuid.js +30 -30
  64. package/uuid.js.map +1 -1
@@ -1,68 +1,71 @@
1
- (function (root, factory) {
1
+ (function (factory) {
2
2
  if (typeof define === 'function' && define.amd)
3
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
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
- if (typeof this['kotlin-kotlin-stdlib'] === 'undefined') {
7
+ if (typeof globalThis['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'.");
9
9
  }
10
- if (typeof this['kotlinx-serialization-kotlinx-serialization-core'] === 'undefined') {
10
+ if (typeof globalThis['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
- if (typeof this['raspberry-cardgame-lib-random'] === 'undefined') {
13
+ if (typeof globalThis['raspberry-cardgame-lib-random'] === 'undefined') {
14
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
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']);
16
+ globalThis['raspberry-cardgame-lib-core'] = factory(typeof globalThis['raspberry-cardgame-lib-core'] === 'undefined' ? {} : globalThis['raspberry-cardgame-lib-core'], globalThis['kotlin-kotlin-stdlib'], globalThis['kotlinx-serialization-kotlinx-serialization-core'], globalThis['raspberry-cardgame-lib-random']);
17
17
  }
18
- }(globalThis, function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_io_raspberryapps_cardgame_random) {
18
+ }(function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_io_raspberryapps_cardgame_random) {
19
19
  'use strict';
20
20
  //region block: imports
21
21
  var imul = Math.imul;
22
- var protoOf = kotlin_kotlin.$_$.qc;
23
- var initMetadataForObject = kotlin_kotlin.$_$.ub;
24
- var defineProp = kotlin_kotlin.$_$.gb;
25
- var THROW_CCE = kotlin_kotlin.$_$.qg;
26
- var Comparator = kotlin_kotlin.$_$.cg;
27
- var initMetadataForClass = kotlin_kotlin.$_$.pb;
22
+ var protoOf = kotlin_kotlin.$_$.sc;
23
+ var initMetadataForObject = kotlin_kotlin.$_$.wb;
24
+ var defineProp = kotlin_kotlin.$_$.ib;
25
+ var THROW_CCE = kotlin_kotlin.$_$.tg;
26
+ var Comparator = kotlin_kotlin.$_$.fg;
27
+ var initMetadataForClass = kotlin_kotlin.$_$.rb;
28
28
  var VOID = kotlin_kotlin.$_$.f;
29
29
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
30
30
  var Unit_instance = kotlin_kotlin.$_$.n5;
31
31
  var take = kotlin_kotlin.$_$.m9;
32
32
  var toList = kotlin_kotlin.$_$.q9;
33
33
  var takeLast = kotlin_kotlin.$_$.l9;
34
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.oh;
35
- var initMetadataForCompanion = kotlin_kotlin.$_$.qb;
34
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.rh;
35
+ var initMetadataForCompanion = kotlin_kotlin.$_$.sb;
36
36
  var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.v1;
37
- var Enum = kotlin_kotlin.$_$.fg;
38
- var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e2;
39
- var enumEntries = kotlin_kotlin.$_$.ua;
37
+ var Enum = kotlin_kotlin.$_$.ig;
38
+ var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
39
+ var enumEntries = kotlin_kotlin.$_$.va;
40
40
  var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.k;
41
- var lazy = kotlin_kotlin.$_$.mh;
42
- var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c2;
43
- var initMetadataForInterface = kotlin_kotlin.$_$.sb;
44
- var until = kotlin_kotlin.$_$.gd;
41
+ var lazy = kotlin_kotlin.$_$.ph;
42
+ var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d2;
43
+ var initMetadataForInterface = kotlin_kotlin.$_$.ub;
44
+ var until = kotlin_kotlin.$_$.id;
45
45
  var collectionSizeOrDefault = kotlin_kotlin.$_$.q6;
46
46
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.m;
47
47
  var SecureRandom = kotlin_io_raspberryapps_cardgame_random.$_$.j;
48
- var CoroutineImpl = kotlin_kotlin.$_$.sa;
48
+ var CoroutineImpl = kotlin_kotlin.$_$.ta;
49
49
  var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ea;
50
- var initMetadataForCoroutine = kotlin_kotlin.$_$.rb;
50
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.tb;
51
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;
52
+ var Result = kotlin_kotlin.$_$.rg;
53
+ var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.e3;
54
+ var throwOnFailure = kotlin_kotlin.$_$.vh;
55
+ var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.h3;
56
+ var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.g3;
57
57
  var addAll = kotlin_kotlin.$_$.e6;
58
58
  var Collection = kotlin_kotlin.$_$.p5;
59
- var isInterface = kotlin_kotlin.$_$.dc;
59
+ var isInterface = kotlin_kotlin.$_$.fc;
60
60
  var toMutableList = kotlin_kotlin.$_$.u9;
61
61
  var listOf = kotlin_kotlin.$_$.o8;
62
62
  var first = kotlin_kotlin.$_$.t7;
63
63
  var sorted = kotlin_kotlin.$_$.j9;
64
64
  var asReversed = kotlin_kotlin.$_$.i6;
65
65
  var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.c2;
66
+ var equals = kotlin_kotlin.$_$.jb;
67
+ var FunctionAdapter = kotlin_kotlin.$_$.xa;
68
+ var hashCode = kotlin_kotlin.$_$.qb;
66
69
  var first_0 = kotlin_kotlin.$_$.s7;
67
70
  var compareValues = kotlin_kotlin.$_$.ca;
68
71
  var sortWith = kotlin_kotlin.$_$.h9;
@@ -70,8 +73,8 @@
70
73
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.w;
71
74
  var sortedWith = kotlin_kotlin.$_$.i9;
72
75
  var NoSuchElementException_init_$Create$_0 = kotlin_kotlin.$_$.a2;
73
- var compareTo = kotlin_kotlin.$_$.fb;
74
- var toString = kotlin_kotlin.$_$.uc;
76
+ var compareTo = kotlin_kotlin.$_$.hb;
77
+ var toString = kotlin_kotlin.$_$.wc;
75
78
  var dropLast = kotlin_kotlin.$_$.j7;
76
79
  var plus = kotlin_kotlin.$_$.x8;
77
80
  var minus = kotlin_kotlin.$_$.s8;
@@ -91,7 +94,7 @@
91
94
  initMetadataForClass(CardsRandomProvider, 'CardsRandomProvider', VOID, Enum);
92
95
  function standardShuffledCards$default(cards, times, $super) {
93
96
  times = times === VOID ? 3 : times;
94
- return $super === VOID ? this.t67(cards, times) : $super.t67.call(this, cards, times);
97
+ return $super === VOID ? this.e6a(cards, times) : $super.e6a.call(this, cards, times);
95
98
  }
96
99
  initMetadataForInterface(CardsDealerProvider, 'CardsDealerProvider', VOID, VOID, VOID, [5]);
97
100
  initMetadataForCompanion(Companion_2);
@@ -104,15 +107,15 @@
104
107
  checkFromIndex = checkFromIndex === VOID ? first(supportedCombinations) : checkFromIndex;
105
108
  includeCardNames = includeCardNames === VOID ? null : includeCardNames;
106
109
  suit = suit === VOID ? null : suit;
107
- return $super === VOID ? this.p69(cards, supportedCombinations, checkFromIndex, includeCardNames, suit) : $super.p69.call(this, cards, supportedCombinations, checkFromIndex, includeCardNames, suit);
110
+ return $super === VOID ? this.a6c(cards, supportedCombinations, checkFromIndex, includeCardNames, suit) : $super.a6c.call(this, cards, supportedCombinations, checkFromIndex, includeCardNames, suit);
108
111
  }
109
112
  function findSameCardsNumberCombinations$default(cards, cardsCount, includeCardNames, $super) {
110
113
  cardsCount = cardsCount === VOID ? 4 : cardsCount;
111
114
  includeCardNames = includeCardNames === VOID ? null : includeCardNames;
112
- return $super === VOID ? this.r69(cards, cardsCount, includeCardNames) : $super.r69.call(this, cards, cardsCount, includeCardNames);
115
+ return $super === VOID ? this.c6c(cards, cardsCount, includeCardNames) : $super.c6c.call(this, cards, cardsCount, includeCardNames);
113
116
  }
114
117
  initMetadataForInterface(CombinationsCheckerProvider, 'CombinationsCheckerProvider');
115
- initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator]);
118
+ initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
116
119
  initMetadataForClass(CombinationsCheckerProviderImpl, 'CombinationsCheckerProviderImpl', CombinationsCheckerProviderImpl, VOID, [CombinationsCheckerProvider]);
117
120
  initMetadataForInterface(DealerReducer, 'DealerReducer');
118
121
  initMetadataForClass(DealerReducerImpl, 'DealerReducerImpl', VOID, VOID, [DealerReducer]);
@@ -120,7 +123,7 @@
120
123
  function CoreConfig() {
121
124
  this.version = '0.0.36';
122
125
  }
123
- protoOf(CoreConfig).u31 = function () {
126
+ protoOf(CoreConfig).m33 = function () {
124
127
  return this.version;
125
128
  };
126
129
  var CoreConfig_instance;
@@ -128,30 +131,30 @@
128
131
  return CoreConfig_instance;
129
132
  }
130
133
  function CardSuitSortingComparator(suit) {
131
- this.y66_1 = suit;
134
+ this.j69_1 = suit;
132
135
  }
133
- protoOf(CardSuitSortingComparator).z66 = function (a, b) {
134
- if (!a.b67() || !b.b67()) {
136
+ protoOf(CardSuitSortingComparator).k69 = function (a, b) {
137
+ if (!a.m69() || !b.m69()) {
135
138
  return 0;
136
139
  }
137
- var suitIndexL = this.y66_1.u1(a.c67());
138
- var suitIndexR = this.y66_1.u1(b.c67());
139
- var sortedNumberL = imul(suitIndexL, 13) + a.d67() | 0;
140
- var sortedNumberR = imul(suitIndexR, 13) + b.d67() | 0;
140
+ var suitIndexL = this.j69_1.u1(a.n69());
141
+ var suitIndexR = this.j69_1.u1(b.n69());
142
+ var sortedNumberL = imul(suitIndexL, 13) + a.o69() | 0;
143
+ var sortedNumberR = imul(suitIndexR, 13) + b.o69() | 0;
141
144
  return sortedNumberL - sortedNumberR | 0;
142
145
  };
143
146
  protoOf(CardSuitSortingComparator).compare = function (a, b) {
144
147
  var tmp = a instanceof GameCard ? a : THROW_CCE();
145
- return this.z66(tmp, b instanceof GameCard ? b : THROW_CCE());
148
+ return this.k69(tmp, b instanceof GameCard ? b : THROW_CCE());
146
149
  };
147
150
  function CardIndexComparator() {
148
151
  }
149
- protoOf(CardIndexComparator).z66 = function (a, b) {
150
- return a.a67_1 - b.a67_1 | 0;
152
+ protoOf(CardIndexComparator).k69 = function (a, b) {
153
+ return a.l69_1 - b.l69_1 | 0;
151
154
  };
152
155
  protoOf(CardIndexComparator).compare = function (a, b) {
153
156
  var tmp = a instanceof GameCard ? a : THROW_CCE();
154
- return this.z66(tmp, b instanceof GameCard ? b : THROW_CCE());
157
+ return this.k69(tmp, b instanceof GameCard ? b : THROW_CCE());
155
158
  };
156
159
  var CardIndexComparator_instance;
157
160
  function CardIndexComparator_getInstance() {
@@ -173,12 +176,12 @@
173
176
  }
174
177
  function CardNumberComparator() {
175
178
  }
176
- protoOf(CardNumberComparator).z66 = function (a, b) {
177
- return b.d67() - a.d67() | 0;
179
+ protoOf(CardNumberComparator).k69 = function (a, b) {
180
+ return b.o69() - a.o69() | 0;
178
181
  };
179
182
  protoOf(CardNumberComparator).compare = function (a, b) {
180
183
  var tmp = a instanceof GameCard ? a : THROW_CCE();
181
- return this.z66(tmp, b instanceof GameCard ? b : THROW_CCE());
184
+ return this.k69(tmp, b instanceof GameCard ? b : THROW_CCE());
182
185
  };
183
186
  var CardNumberComparator_instance;
184
187
  function CardNumberComparator_getInstance() {
@@ -306,16 +309,16 @@
306
309
  }
307
310
  function Companion() {
308
311
  }
309
- protoOf(Companion).e67 = function (suit, number) {
312
+ protoOf(Companion).p69 = function (suit, number) {
310
313
  return new GameCard(getNumber(Companion_instance_0, getName(Companion_instance_0, number), suit));
311
314
  };
312
- protoOf(Companion).f67 = function (suit, cardNumber) {
315
+ protoOf(Companion).q69 = function (suit, cardNumber) {
313
316
  return new GameCard(getNumber(Companion_instance_0, cardNumber, suit));
314
317
  };
315
- protoOf(Companion).g67 = function (index) {
318
+ protoOf(Companion).r69 = function (index) {
316
319
  return new GameCard(index);
317
320
  };
318
- protoOf(Companion).h67 = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
321
+ protoOf(Companion).s69 = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
319
322
  var tmp;
320
323
  if (previousStubCardWithMaxIndex == null) {
321
324
  tmp = null;
@@ -324,7 +327,7 @@
324
327
  // Inline function 'kotlin.contracts.contract' call
325
328
  var tmp_0;
326
329
  // Inline function 'io.raspberryapps.card_game.core.data.models.cards.Companion.createUniqueStub.<anonymous>' call
327
- if (previousStubCardWithMaxIndex.i67()) {
330
+ if (previousStubCardWithMaxIndex.t69()) {
328
331
  tmp_0 = previousStubCardWithMaxIndex;
329
332
  } else {
330
333
  tmp_0 = null;
@@ -332,8 +335,8 @@
332
335
  tmp = tmp_0;
333
336
  }
334
337
  var tmp3_safe_receiver = tmp;
335
- var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.a67_1;
336
- var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : Companion_instance_0.n67(tmp4_safe_receiver, playerIndex, reverse);
338
+ var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.l69_1;
339
+ var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : Companion_instance_0.y69(tmp4_safe_receiver, playerIndex, reverse);
337
340
  var tmp_1;
338
341
  if (tmp5_safe_receiver == null) {
339
342
  tmp_1 = null;
@@ -354,10 +357,10 @@
354
357
  var index = tmp_2;
355
358
  return new GameCard(index);
356
359
  };
357
- protoOf(Companion).o67 = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $super) {
360
+ protoOf(Companion).z69 = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $super) {
358
361
  previousStubCardWithMaxIndex = previousStubCardWithMaxIndex === VOID ? null : previousStubCardWithMaxIndex;
359
362
  reverse = reverse === VOID ? false : reverse;
360
- return $super === VOID ? this.h67(position, playerIndex, previousStubCardWithMaxIndex, reverse) : $super.h67.call(this, position, playerIndex, previousStubCardWithMaxIndex, reverse);
363
+ return $super === VOID ? this.s69(position, playerIndex, previousStubCardWithMaxIndex, reverse) : $super.s69.call(this, position, playerIndex, previousStubCardWithMaxIndex, reverse);
361
364
  };
362
365
  var Companion_instance;
363
366
  function Companion_getInstance() {
@@ -461,7 +464,7 @@
461
464
  return tmp;
462
465
  }
463
466
  function _get_isShirt__vd98rp($this) {
464
- return $this.a67_1 === 52;
467
+ return $this.l69_1 === 52;
465
468
  }
466
469
  function CardName(name, ordinal) {
467
470
  Enum.call(this, name, ordinal);
@@ -470,12 +473,12 @@
470
473
  return getShortName(this);
471
474
  };
472
475
  function Companion_0() {
473
- this.j67_1 = -1;
474
- this.k67_1 = 13;
475
- this.l67_1 = 52;
476
- this.m67_1 = 53;
476
+ this.u69_1 = -1;
477
+ this.v69_1 = 13;
478
+ this.w69_1 = 52;
479
+ this.x69_1 = 53;
477
480
  }
478
- protoOf(Companion_0).n67 = function (_this__u8e3s4, playerIndex, reverse) {
481
+ protoOf(Companion_0).y69 = function (_this__u8e3s4, playerIndex, reverse) {
479
482
  var tmp;
480
483
  if (reverse) {
481
484
  tmp = _this__u8e3s4 + (53 + imul(playerIndex, 14) | 0) | 0;
@@ -545,59 +548,59 @@
545
548
  return CardName_STUB_instance;
546
549
  }
547
550
  function GameCard(index) {
548
- this.a67_1 = index;
551
+ this.l69_1 = index;
549
552
  }
550
- protoOf(GameCard).c67 = function () {
553
+ protoOf(GameCard).n69 = function () {
551
554
  var tmp;
552
- var containsArg = this.a67_1;
555
+ var containsArg = this.l69_1;
553
556
  if (0 <= containsArg ? containsArg <= 13 : false) {
554
557
  tmp = Suit_DIAMOND_getInstance();
555
558
  } else {
556
- if (this.a67_1 <= 26) {
559
+ if (this.l69_1 <= 26) {
557
560
  tmp = Suit_SPADE_getInstance();
558
561
  } else {
559
- if (this.a67_1 <= 39) {
562
+ if (this.l69_1 <= 39) {
560
563
  tmp = Suit_HEART_getInstance();
561
564
  } else {
562
- if (this.a67_1 <= 52) {
565
+ if (this.l69_1 <= 52) {
563
566
  tmp = Suit_CLUB_getInstance();
564
567
  } else {
565
- throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.a67_1);
568
+ throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.l69_1);
566
569
  }
567
570
  }
568
571
  }
569
572
  }
570
573
  return tmp;
571
574
  };
572
- protoOf(GameCard).d67 = function () {
575
+ protoOf(GameCard).o69 = function () {
573
576
  var tmp;
574
- if (this.i67()) {
577
+ if (this.t69()) {
575
578
  tmp = -1;
576
579
  } else {
577
- tmp = this.a67_1 - imul(13, getIndex(this.c67())) | 0;
580
+ tmp = this.l69_1 - imul(13, getIndex(this.n69())) | 0;
578
581
  }
579
582
  return tmp;
580
583
  };
581
584
  protoOf(GameCard).p2 = function () {
582
- return this.i67() ? CardName_STUB_getInstance() : getName(Companion_instance_0, this.d67());
585
+ return this.t69() ? CardName_STUB_getInstance() : getName(Companion_instance_0, this.o69());
583
586
  };
584
- protoOf(GameCard).b67 = function () {
585
- return !_get_isShirt__vd98rp(this) && !this.i67();
587
+ protoOf(GameCard).m69 = function () {
588
+ return !_get_isShirt__vd98rp(this) && !this.t69();
586
589
  };
587
- protoOf(GameCard).i67 = function () {
588
- return this.a67_1 >= 53;
590
+ protoOf(GameCard).t69 = function () {
591
+ return this.l69_1 >= 53;
589
592
  };
590
593
  protoOf(GameCard).toString = function () {
591
594
  if (_get_isShirt__vd98rp(this)) {
592
595
  return 'GameCard(SHIRT)';
593
596
  }
594
- if (this.i67()) {
595
- return 'GameCard(STUB, ' + this.a67_1 + ')';
597
+ if (this.t69()) {
598
+ return 'GameCard(STUB, ' + this.l69_1 + ')';
596
599
  }
597
- return 'GameCard(' + this.c67().toString() + this.p2().toString() + ', ' + this.a67_1 + ')';
600
+ return 'GameCard(' + this.n69().toString() + this.p2().toString() + ', ' + this.l69_1 + ')';
598
601
  };
599
602
  protoOf(GameCard).hashCode = function () {
600
- return this.a67_1;
603
+ return this.l69_1;
601
604
  };
602
605
  protoOf(GameCard).equals = function (other) {
603
606
  if (this === other)
@@ -605,12 +608,12 @@
605
608
  if (!(other instanceof GameCard))
606
609
  return false;
607
610
  var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
608
- if (!(this.a67_1 === tmp0_other_with_cast.a67_1))
611
+ if (!(this.l69_1 === tmp0_other_with_cast.l69_1))
609
612
  return false;
610
613
  return true;
611
614
  };
612
615
  function _get_$cachedSerializer__te6jhj($this) {
613
- return $this.p67_1.u();
616
+ return $this.a6a_1.u();
614
617
  }
615
618
  function Suit$Companion$_anonymous__cbm2iq() {
616
619
  return createSimpleEnumSerializer('io.raspberryapps.card_game.core.data.models.cards.Suit', values());
@@ -652,13 +655,13 @@
652
655
  Companion_instance_1 = this;
653
656
  var tmp = this;
654
657
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
655
- tmp.p67_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
658
+ tmp.a6a_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
656
659
  }
657
- protoOf(Companion_1).u4y = function () {
660
+ protoOf(Companion_1).v50 = function () {
658
661
  return _get_$cachedSerializer__te6jhj(this);
659
662
  };
660
- protoOf(Companion_1).x4i = function (typeParamsSerializers) {
661
- return this.u4y();
663
+ protoOf(Companion_1).s4k = function (typeParamsSerializers) {
664
+ return this.v50();
662
665
  };
663
666
  var Companion_instance_1;
664
667
  function Companion_getInstance_1() {
@@ -756,9 +759,9 @@
756
759
  }
757
760
  function getRandomOrgCards($this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, $completion) {
758
761
  var tmp = new $getRandomOrgCardsCOROUTINE$1($this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, $completion);
759
- tmp.f9_1 = Unit_instance;
760
- tmp.g9_1 = null;
761
- return tmp.l9();
762
+ tmp.j9_1 = Unit_instance;
763
+ tmp.k9_1 = null;
764
+ return tmp.p9();
762
765
  }
763
766
  function normalizeCards($this, cards, leftCardIndexForEachSuit) {
764
767
  var oneSuitCount = cards.m() / get_entries().m() | 0;
@@ -779,7 +782,7 @@
779
782
  }
780
783
  function Companion_2() {
781
784
  }
782
- protoOf(Companion_2).q68 = function (randomPoolProvider, logger) {
785
+ protoOf(Companion_2).b6b = function (randomPoolProvider, logger) {
783
786
  var tmp17_random = new SecureRandom(logger);
784
787
  return new CardsDealerProviderImpl(tmp17_random, randomPoolProvider, logger);
785
788
  };
@@ -789,41 +792,41 @@
789
792
  }
790
793
  function $createNewShuffledCardDeckCOROUTINE$0(_this__u8e3s4, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, resultContinuation) {
791
794
  CoroutineImpl.call(this, resultContinuation);
792
- this.z68_1 = _this__u8e3s4;
793
- this.a69_1 = leftCardIndexForEachSuit;
794
- this.b69_1 = rightCardIndexForEachSuit;
795
- this.c69_1 = approximateRoundCountForGame;
796
- this.d69_1 = userData;
797
- this.e69_1 = provider;
798
- }
799
- protoOf($createNewShuffledCardDeckCOROUTINE$0).l9 = function () {
800
- var suspendResult = this.f9_1;
795
+ this.k6b_1 = _this__u8e3s4;
796
+ this.l6b_1 = leftCardIndexForEachSuit;
797
+ this.m6b_1 = rightCardIndexForEachSuit;
798
+ this.n6b_1 = approximateRoundCountForGame;
799
+ this.o6b_1 = userData;
800
+ this.p6b_1 = provider;
801
+ }
802
+ protoOf($createNewShuffledCardDeckCOROUTINE$0).p9 = function () {
803
+ var suspendResult = this.j9_1;
801
804
  $sm: do
802
805
  try {
803
- var tmp = this.d9_1;
806
+ var tmp = this.h9_1;
804
807
  switch (tmp) {
805
808
  case 0:
806
- this.e9_1 = 4;
807
- this.f69_1 = this.e69_1;
808
- this.g69_1 = this.f69_1.o2_1;
809
- if (this.g69_1 === 0) {
809
+ this.i9_1 = 4;
810
+ this.q6b_1 = this.p6b_1;
811
+ this.r6b_1 = this.q6b_1.o2_1;
812
+ if (this.r6b_1 === 0) {
810
813
  var tmp_0 = this;
811
- var it = this.z68_1.q67(this.a69_1, this.b69_1);
812
- tmp_0.h69_1 = this.z68_1.u67(it);
813
- this.d9_1 = 3;
814
+ var it = this.k6b_1.b6a(this.l6b_1, this.m6b_1);
815
+ tmp_0.s6b_1 = this.k6b_1.f6a(it);
816
+ this.h9_1 = 3;
814
817
  continue $sm;
815
818
  } else {
816
- if (this.g69_1 === 1) {
817
- this.d9_1 = 2;
818
- suspendResult = getRandomOrgCards(this.z68_1, this.a69_1, this.b69_1, this.c69_1, this.d69_1, false, this);
819
+ if (this.r6b_1 === 1) {
820
+ this.h9_1 = 2;
821
+ suspendResult = getRandomOrgCards(this.k6b_1, this.l6b_1, this.m6b_1, this.n6b_1, this.o6b_1, false, this);
819
822
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
820
823
  return suspendResult;
821
824
  }
822
825
  continue $sm;
823
826
  } else {
824
- if (this.g69_1 === 2) {
825
- this.d9_1 = 1;
826
- suspendResult = getRandomOrgCards(this.z68_1, this.a69_1, this.b69_1, this.c69_1, this.d69_1, true, this);
827
+ if (this.r6b_1 === 2) {
828
+ this.h9_1 = 1;
829
+ suspendResult = getRandomOrgCards(this.k6b_1, this.l6b_1, this.m6b_1, this.n6b_1, this.o6b_1, true, this);
827
830
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
828
831
  return suspendResult;
829
832
  }
@@ -837,95 +840,95 @@
837
840
 
838
841
  break;
839
842
  case 1:
840
- this.h69_1 = suspendResult;
841
- this.d9_1 = 3;
843
+ this.s6b_1 = suspendResult;
844
+ this.h9_1 = 3;
842
845
  continue $sm;
843
846
  case 2:
844
- this.h69_1 = suspendResult;
845
- this.d9_1 = 3;
847
+ this.s6b_1 = suspendResult;
848
+ this.h9_1 = 3;
846
849
  continue $sm;
847
850
  case 3:
848
- return this.h69_1;
851
+ return this.s6b_1;
849
852
  case 4:
850
- throw this.g9_1;
853
+ throw this.k9_1;
851
854
  }
852
855
  } catch ($p) {
853
856
  var e = $p;
854
- if (this.e9_1 === 4) {
857
+ if (this.i9_1 === 4) {
855
858
  throw e;
856
859
  } else {
857
- this.d9_1 = this.e9_1;
858
- this.g9_1 = e;
860
+ this.h9_1 = this.i9_1;
861
+ this.k9_1 = e;
859
862
  }
860
863
  }
861
864
  while (true);
862
865
  };
863
866
  function $getRandomOrgCardsCOROUTINE$1(_this__u8e3s4, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundsCount, userData, signed, resultContinuation) {
864
867
  CoroutineImpl.call(this, resultContinuation);
865
- this.d68_1 = _this__u8e3s4;
866
- this.e68_1 = leftCardIndexForEachSuit;
867
- this.f68_1 = rightCardIndexForEachSuit;
868
- this.g68_1 = approximateRoundsCount;
869
- this.h68_1 = userData;
870
- this.i68_1 = signed;
871
- }
872
- protoOf($getRandomOrgCardsCOROUTINE$1).l9 = function () {
873
- var suspendResult = this.f9_1;
868
+ this.o6a_1 = _this__u8e3s4;
869
+ this.p6a_1 = leftCardIndexForEachSuit;
870
+ this.q6a_1 = rightCardIndexForEachSuit;
871
+ this.r6a_1 = approximateRoundsCount;
872
+ this.s6a_1 = userData;
873
+ this.t6a_1 = signed;
874
+ }
875
+ protoOf($getRandomOrgCardsCOROUTINE$1).p9 = function () {
876
+ var suspendResult = this.j9_1;
874
877
  $sm: do
875
878
  try {
876
- var tmp = this.d9_1;
879
+ var tmp = this.h9_1;
877
880
  switch (tmp) {
878
881
  case 0:
879
- this.e9_1 = 5;
882
+ this.i9_1 = 5;
880
883
  var tmp_0 = this;
881
884
  var sum = 0;
882
885
  var tmp0_iterator = get_entries().j();
883
886
  while (tmp0_iterator.k()) {
884
887
  var element = tmp0_iterator.l();
885
888
  var tmp_1 = sum;
886
- sum = tmp_1 + count(getCardsRange(this.d68_1, this.e68_1, this.f68_1)) | 0;
889
+ sum = tmp_1 + count(getCardsRange(this.o6a_1, this.p6a_1, this.q6a_1)) | 0;
887
890
  }
888
891
 
889
- tmp_0.j68_1 = sum;
890
- this.k68_1 = this.d68_1.j69_1;
891
- this.l68_1 = this.j68_1 - 1 | 0;
892
- this.d9_1 = 1;
893
- suspendResult = this.k68_1.q5s(this.g68_1, this.h68_1, 0, this.l68_1, this.j68_1, this.i68_1, VOID, this);
892
+ tmp_0.u6a_1 = sum;
893
+ this.v6a_1 = this.o6a_1.u6b_1;
894
+ this.w6a_1 = this.u6a_1 - 1 | 0;
895
+ this.h9_1 = 1;
896
+ suspendResult = this.v6a_1.b5v(this.r6a_1, this.s6a_1, 0, this.w6a_1, this.u6a_1, this.t6a_1, VOID, this);
894
897
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
895
898
  return suspendResult;
896
899
  }
897
900
 
898
- this.d9_1 = 2;
901
+ this.h9_1 = 2;
899
902
  continue $sm;
900
903
  case 1:
901
- this.m68_1 = suspendResult.dj_1;
902
- suspendResult = new Result(this.m68_1);
903
- this.d9_1 = 2;
904
+ this.x6a_1 = suspendResult.gk_1;
905
+ suspendResult = new Result(this.x6a_1);
906
+ this.h9_1 = 2;
904
907
  continue $sm;
905
908
  case 2:
906
- this.n68_1 = suspendResult.dj_1;
907
- if (_Result___get_isSuccess__impl__sndoy8(this.n68_1)) {
909
+ this.y6a_1 = suspendResult.gk_1;
910
+ if (_Result___get_isSuccess__impl__sndoy8(this.y6a_1)) {
908
911
  var tmp_2 = this;
909
- var this_0 = this.n68_1;
912
+ var this_0 = this.y6a_1;
910
913
  throwOnFailure(this_0);
911
914
  var tmp_3 = _Result___get_value__impl__bjfvqg(this_0);
912
915
  var tmp14_cards = ((tmp_3 == null ? true : !(tmp_3 == null)) ? tmp_3 : THROW_CCE()).cards;
913
- var this_1 = normalizeCards(this.d68_1, tmp14_cards, this.e68_1);
916
+ var this_1 = normalizeCards(this.o6a_1, tmp14_cards, this.p6a_1);
914
917
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
915
918
  var tmp0_iterator_0 = this_1.j();
916
919
  while (tmp0_iterator_0.k()) {
917
920
  var item = tmp0_iterator_0.l();
918
- destination.e(Companion_instance.g67(item));
921
+ destination.e(Companion_instance.r69(item));
919
922
  }
920
- tmp_2.o68_1 = destination;
921
- this.d9_1 = 4;
923
+ tmp_2.z6a_1 = destination;
924
+ this.h9_1 = 4;
922
925
  continue $sm;
923
926
  } else {
924
- this.p68_1 = Result__exceptionOrNull_impl_p6xea9(this.n68_1);
925
- var tmp15_safe_receiver = this.p68_1;
926
- this.d68_1.k69_1.w('CardsDealerProvider', 'createNewShuffledCardDeck error message = ' + (tmp15_safe_receiver == null ? null : tmp15_safe_receiver.message), this.p68_1);
927
- this.d9_1 = 3;
928
- suspendResult = this.d68_1.r67(this.e68_1, this.f68_1, this.g68_1, this.h68_1, CardsRandomProvider_CUSTOM_getInstance(), this);
927
+ this.a6b_1 = Result__exceptionOrNull_impl_p6xea9(this.y6a_1);
928
+ var tmp15_safe_receiver = this.a6b_1;
929
+ this.o6a_1.v6b_1.w('CardsDealerProvider', 'createNewShuffledCardDeck error message = ' + (tmp15_safe_receiver == null ? null : tmp15_safe_receiver.message), this.a6b_1);
930
+ this.h9_1 = 3;
931
+ suspendResult = this.o6a_1.c6a(this.p6a_1, this.q6a_1, this.r6a_1, this.s6a_1, CardsRandomProvider_CUSTOM_getInstance(), this);
929
932
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
930
933
  return suspendResult;
931
934
  }
@@ -933,31 +936,31 @@
933
936
  }
934
937
 
935
938
  case 3:
936
- this.o68_1 = suspendResult;
937
- this.d9_1 = 4;
939
+ this.z6a_1 = suspendResult;
940
+ this.h9_1 = 4;
938
941
  continue $sm;
939
942
  case 4:
940
- return this.o68_1;
943
+ return this.z6a_1;
941
944
  case 5:
942
- throw this.g9_1;
945
+ throw this.k9_1;
943
946
  }
944
947
  } catch ($p) {
945
948
  var e = $p;
946
- if (this.e9_1 === 5) {
949
+ if (this.i9_1 === 5) {
947
950
  throw e;
948
951
  } else {
949
- this.d9_1 = this.e9_1;
950
- this.g9_1 = e;
952
+ this.h9_1 = this.i9_1;
953
+ this.k9_1 = e;
951
954
  }
952
955
  }
953
956
  while (true);
954
957
  };
955
958
  function CardsDealerProviderImpl(random, randomPoolProvider, logger) {
956
- this.i69_1 = random;
957
- this.j69_1 = randomPoolProvider;
958
- this.k69_1 = logger;
959
+ this.t6b_1 = random;
960
+ this.u6b_1 = randomPoolProvider;
961
+ this.v6b_1 = logger;
959
962
  }
960
- protoOf(CardsDealerProviderImpl).q67 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
963
+ protoOf(CardsDealerProviderImpl).b6a = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
961
964
  // Inline function 'kotlin.collections.flatMap' call
962
965
  // Inline function 'kotlin.collections.flatMapTo' call
963
966
  var this_0 = get_entries();
@@ -970,25 +973,30 @@
970
973
  var this_1 = getCardsRange(this, leftCardIndexForEachSuit, rightCardIndexForEachSuit);
971
974
  // Inline function 'kotlin.collections.mapTo' call
972
975
  var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
973
- var tmp0_iterator_0 = this_1.j();
974
- while (tmp0_iterator_0.k()) {
975
- var item = tmp0_iterator_0.l();
976
- // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.createNewCardDeck.<anonymous>.<anonymous>' call
977
- var tmp$ret$0 = Companion_instance.e67(element, item);
978
- destination_0.e(tmp$ret$0);
979
- }
976
+ var inductionVariable = this_1.a1_1;
977
+ var last = this_1.b1_1;
978
+ if (inductionVariable <= last)
979
+ do {
980
+ var item = inductionVariable;
981
+ inductionVariable = inductionVariable + 1 | 0;
982
+ // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.createNewCardDeck.<anonymous>.<anonymous>' call
983
+ var it = item;
984
+ var tmp$ret$0 = Companion_instance.p69(element, it);
985
+ destination_0.e(tmp$ret$0);
986
+ }
987
+ while (!(item === last));
980
988
  var list = destination_0;
981
989
  addAll(destination, list);
982
990
  }
983
991
  return destination;
984
992
  };
985
- protoOf(CardsDealerProviderImpl).r67 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
993
+ protoOf(CardsDealerProviderImpl).c6a = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
986
994
  var tmp = new $createNewShuffledCardDeckCOROUTINE$0(this, leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion);
987
- tmp.f9_1 = Unit_instance;
988
- tmp.g9_1 = null;
989
- return tmp.l9();
995
+ tmp.j9_1 = Unit_instance;
996
+ tmp.k9_1 = null;
997
+ return tmp.p9();
990
998
  };
991
- protoOf(CardsDealerProviderImpl).s67 = function (count, cards) {
999
+ protoOf(CardsDealerProviderImpl).d6a = function (count, cards) {
992
1000
  // Inline function 'kotlin.apply' call
993
1001
  // Inline function 'kotlin.collections.mutableListOf' call
994
1002
  var this_0 = ArrayList_init_$Create$();
@@ -1022,7 +1030,7 @@
1022
1030
  while (tmp0_iterator.k()) {
1023
1031
  var element = tmp0_iterator.l();
1024
1032
  // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.getNRandomUniqueCards.<anonymous>.<anonymous>' call
1025
- if (element.d67() === card.d67()) {
1033
+ if (element.o69() === card.o69()) {
1026
1034
  tmp$ret$2 = true;
1027
1035
  break $l$block_1;
1028
1036
  }
@@ -1037,7 +1045,7 @@
1037
1045
  }
1038
1046
  return this_0;
1039
1047
  };
1040
- protoOf(CardsDealerProviderImpl).t67 = function (cards, times) {
1048
+ protoOf(CardsDealerProviderImpl).e6a = function (cards, times) {
1041
1049
  // Inline function 'kotlin.let' call
1042
1050
  // Inline function 'kotlin.contracts.contract' call
1043
1051
  // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.CardsDealerProviderImpl.standardShuffledCards.<anonymous>' call
@@ -1047,49 +1055,49 @@
1047
1055
  do {
1048
1056
  var i = inductionVariable;
1049
1057
  inductionVariable = inductionVariable + 1 | 0;
1050
- shuffled = this.i69_1.p5x(shuffled);
1058
+ shuffled = this.t6b_1.a60(shuffled);
1051
1059
  }
1052
1060
  while (inductionVariable < times);
1053
1061
  return shuffled;
1054
1062
  };
1055
1063
  function Companion_3() {
1056
1064
  }
1057
- protoOf(Companion_3).l69 = function () {
1065
+ protoOf(Companion_3).w6b = function () {
1058
1066
  // Inline function 'kotlin.apply' call
1059
1067
  // Inline function 'kotlin.collections.mutableListOf' call
1060
1068
  var this_0 = ArrayList_init_$Create$();
1061
1069
  // Inline function 'kotlin.contracts.contract' call
1062
1070
  // Inline function 'io.raspberryapps.card_game.core.data.providers.cards.Companion.getCards.<anonymous>' call
1063
- this_0.n(listOf([Companion_instance.f67(Suit_DIAMOND_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.f67(Suit_CLUB_getInstance(), CardName_NINE_getInstance()), Companion_instance.f67(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.f67(Suit_CLUB_getInstance(), CardName_TEN_getInstance()), Companion_instance.f67(Suit_HEART_getInstance(), CardName_JACK_getInstance()), Companion_instance.f67(Suit_HEART_getInstance(), CardName_KING_getInstance())]));
1064
- this_0.n(listOf([Companion_instance.f67(Suit_CLUB_getInstance(), CardName_JACK_getInstance()), Companion_instance.f67(Suit_SPADE_getInstance(), CardName_ACE_getInstance()), Companion_instance.f67(Suit_DIAMOND_getInstance(), CardName_NINE_getInstance()), Companion_instance.f67(Suit_DIAMOND_getInstance(), CardName_TEN_getInstance()), Companion_instance.f67(Suit_DIAMOND_getInstance(), CardName_JACK_getInstance()), Companion_instance.f67(Suit_HEART_getInstance(), CardName_EIGHT_getInstance())]));
1065
- this_0.n(listOf([Companion_instance.f67(Suit_CLUB_getInstance(), CardName_DAME_getInstance()), Companion_instance.f67(Suit_HEART_getInstance(), CardName_ACE_getInstance()), Companion_instance.f67(Suit_HEART_getInstance(), CardName_DAME_getInstance()), Companion_instance.f67(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.f67(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.f67(Suit_CLUB_getInstance(), CardName_KING_getInstance())]));
1066
- this_0.n(listOf([Companion_instance.f67(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.f67(Suit_SPADE_getInstance(), CardName_TEN_getInstance()), Companion_instance.f67(Suit_HEART_getInstance(), CardName_TEN_getInstance()), Companion_instance.f67(Suit_SPADE_getInstance(), CardName_JACK_getInstance()), Companion_instance.f67(Suit_DIAMOND_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.f67(Suit_SPADE_getInstance(), CardName_DAME_getInstance())]));
1067
- this_0.n(listOf([Companion_instance.f67(Suit_DIAMOND_getInstance(), CardName_ACE_getInstance()), Companion_instance.f67(Suit_CLUB_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.f67(Suit_DIAMOND_getInstance(), CardName_KING_getInstance()), Companion_instance.f67(Suit_SPADE_getInstance(), CardName_NINE_getInstance()), Companion_instance.f67(Suit_CLUB_getInstance(), CardName_ACE_getInstance()), Companion_instance.f67(Suit_SPADE_getInstance(), CardName_KING_getInstance()), Companion_instance.f67(Suit_DIAMOND_getInstance(), CardName_DAME_getInstance()), Companion_instance.f67(Suit_HEART_getInstance(), CardName_NINE_getInstance())]));
1071
+ this_0.n(listOf([Companion_instance.q69(Suit_DIAMOND_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.q69(Suit_CLUB_getInstance(), CardName_NINE_getInstance()), Companion_instance.q69(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.q69(Suit_CLUB_getInstance(), CardName_TEN_getInstance()), Companion_instance.q69(Suit_HEART_getInstance(), CardName_JACK_getInstance()), Companion_instance.q69(Suit_HEART_getInstance(), CardName_KING_getInstance())]));
1072
+ this_0.n(listOf([Companion_instance.q69(Suit_CLUB_getInstance(), CardName_JACK_getInstance()), Companion_instance.q69(Suit_SPADE_getInstance(), CardName_ACE_getInstance()), Companion_instance.q69(Suit_DIAMOND_getInstance(), CardName_NINE_getInstance()), Companion_instance.q69(Suit_DIAMOND_getInstance(), CardName_TEN_getInstance()), Companion_instance.q69(Suit_DIAMOND_getInstance(), CardName_JACK_getInstance()), Companion_instance.q69(Suit_HEART_getInstance(), CardName_EIGHT_getInstance())]));
1073
+ this_0.n(listOf([Companion_instance.q69(Suit_CLUB_getInstance(), CardName_DAME_getInstance()), Companion_instance.q69(Suit_HEART_getInstance(), CardName_ACE_getInstance()), Companion_instance.q69(Suit_HEART_getInstance(), CardName_DAME_getInstance()), Companion_instance.q69(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.q69(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.q69(Suit_CLUB_getInstance(), CardName_KING_getInstance())]));
1074
+ this_0.n(listOf([Companion_instance.q69(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.q69(Suit_SPADE_getInstance(), CardName_TEN_getInstance()), Companion_instance.q69(Suit_HEART_getInstance(), CardName_TEN_getInstance()), Companion_instance.q69(Suit_SPADE_getInstance(), CardName_JACK_getInstance()), Companion_instance.q69(Suit_DIAMOND_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.q69(Suit_SPADE_getInstance(), CardName_DAME_getInstance())]));
1075
+ this_0.n(listOf([Companion_instance.q69(Suit_DIAMOND_getInstance(), CardName_ACE_getInstance()), Companion_instance.q69(Suit_CLUB_getInstance(), CardName_EIGHT_getInstance()), Companion_instance.q69(Suit_DIAMOND_getInstance(), CardName_KING_getInstance()), Companion_instance.q69(Suit_SPADE_getInstance(), CardName_NINE_getInstance()), Companion_instance.q69(Suit_CLUB_getInstance(), CardName_ACE_getInstance()), Companion_instance.q69(Suit_SPADE_getInstance(), CardName_KING_getInstance()), Companion_instance.q69(Suit_DIAMOND_getInstance(), CardName_DAME_getInstance()), Companion_instance.q69(Suit_HEART_getInstance(), CardName_NINE_getInstance())]));
1068
1076
  return this_0;
1069
1077
  };
1070
- protoOf(Companion_3).m69 = function () {
1071
- return listOf([Companion_instance.f67(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.f67(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.f67(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.f67(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance())]);
1078
+ protoOf(Companion_3).x6b = function () {
1079
+ return listOf([Companion_instance.q69(Suit_CLUB_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.q69(Suit_HEART_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.q69(Suit_SPADE_getInstance(), CardName_SEVEN_getInstance()), Companion_instance.q69(Suit_SPADE_getInstance(), CardName_EIGHT_getInstance())]);
1072
1080
  };
1073
1081
  var Companion_instance_3;
1074
1082
  function Companion_getInstance_3() {
1075
1083
  return Companion_instance_3;
1076
1084
  }
1077
1085
  function FakeCardsDealerProvider(cards, cardsForLot) {
1078
- cards = cards === VOID ? Companion_instance_3.l69() : cards;
1079
- cardsForLot = cardsForLot === VOID ? Companion_instance_3.m69() : cardsForLot;
1080
- this.n69_1 = cards;
1081
- this.o69_1 = cardsForLot;
1086
+ cards = cards === VOID ? Companion_instance_3.w6b() : cards;
1087
+ cardsForLot = cardsForLot === VOID ? Companion_instance_3.x6b() : cardsForLot;
1088
+ this.y6b_1 = cards;
1089
+ this.z6b_1 = cardsForLot;
1082
1090
  }
1083
- protoOf(FakeCardsDealerProvider).q67 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
1084
- return this.n69_1;
1091
+ protoOf(FakeCardsDealerProvider).b6a = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit) {
1092
+ return this.y6b_1;
1085
1093
  };
1086
- protoOf(FakeCardsDealerProvider).r67 = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
1087
- return this.n69_1;
1094
+ protoOf(FakeCardsDealerProvider).c6a = function (leftCardIndexForEachSuit, rightCardIndexForEachSuit, approximateRoundCountForGame, userData, provider, $completion) {
1095
+ return this.y6b_1;
1088
1096
  };
1089
- protoOf(FakeCardsDealerProvider).s67 = function (count, cards) {
1090
- return this.o69_1;
1097
+ protoOf(FakeCardsDealerProvider).d6a = function (count, cards) {
1098
+ return this.z6b_1;
1091
1099
  };
1092
- protoOf(FakeCardsDealerProvider).t67 = function (cards, times) {
1100
+ protoOf(FakeCardsDealerProvider).e6a = function (cards, times) {
1093
1101
  return cards;
1094
1102
  };
1095
1103
  function CombinationsCheckerProvider() {
@@ -1118,25 +1126,46 @@
1118
1126
  return takeLast(cards, longestCombinationSupport);
1119
1127
  }
1120
1128
  function sam$kotlin_Comparator$0(function_0) {
1121
- this.u69_1 = function_0;
1129
+ this.f6c_1 = function_0;
1122
1130
  }
1123
- protoOf(sam$kotlin_Comparator$0).jc = function (a, b) {
1124
- return this.u69_1(a, b);
1131
+ protoOf(sam$kotlin_Comparator$0).pc = function (a, b) {
1132
+ return this.f6c_1(a, b);
1125
1133
  };
1126
1134
  protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
1127
- return this.jc(a, b);
1135
+ return this.pc(a, b);
1136
+ };
1137
+ protoOf(sam$kotlin_Comparator$0).p3 = function () {
1138
+ return this.f6c_1;
1139
+ };
1140
+ protoOf(sam$kotlin_Comparator$0).equals = function (other) {
1141
+ var tmp;
1142
+ if (!(other == null) ? isInterface(other, Comparator) : false) {
1143
+ var tmp_0;
1144
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1145
+ tmp_0 = equals(this.p3(), other.p3());
1146
+ } else {
1147
+ tmp_0 = false;
1148
+ }
1149
+ tmp = tmp_0;
1150
+ } else {
1151
+ tmp = false;
1152
+ }
1153
+ return tmp;
1154
+ };
1155
+ protoOf(sam$kotlin_Comparator$0).hashCode = function () {
1156
+ return hashCode(this.p3());
1128
1157
  };
1129
1158
  function CombinationsCheckerProviderImpl$createCombinationsFromCardsInRow$lambda(a, b) {
1130
1159
  // Inline function 'kotlin.comparisons.compareValuesBy' call
1131
1160
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
1132
- var tmp = first_0(a).a67_1;
1161
+ var tmp = first_0(a).l69_1;
1133
1162
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
1134
- var tmp$ret$1 = first_0(b).a67_1;
1163
+ var tmp$ret$1 = first_0(b).l69_1;
1135
1164
  return compareValues(tmp, tmp$ret$1);
1136
1165
  }
1137
1166
  function CombinationsCheckerProviderImpl() {
1138
1167
  }
1139
- protoOf(CombinationsCheckerProviderImpl).p69 = function (cards, supportedCombinations, checkFromIndex, includeCardNames, suit) {
1168
+ protoOf(CombinationsCheckerProviderImpl).a6c = function (cards, supportedCombinations, checkFromIndex, includeCardNames, suit) {
1140
1169
  // Inline function 'kotlin.collections.filter' call
1141
1170
  // Inline function 'kotlin.apply' call
1142
1171
  var this_0 = toMutableList(cards);
@@ -1149,7 +1178,7 @@
1149
1178
  while (tmp0_iterator.k()) {
1150
1179
  var element = tmp0_iterator.l();
1151
1180
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findCardsInRowCombinations.<anonymous>' call
1152
- if (element.b67()) {
1181
+ if (element.m69()) {
1153
1182
  destination.e(element);
1154
1183
  }
1155
1184
  }
@@ -1166,14 +1195,14 @@
1166
1195
  inductionVariable = inductionVariable + 1 | 0;
1167
1196
  var previousCard = lastOrNull(combinationCards);
1168
1197
  var currentCard = sortedByIndexCards.o(i);
1169
- var isNextInRow = !(previousCard == null) && currentCard.a67_1 === (previousCard.a67_1 + 1 | 0) && currentCard.c67().equals(previousCard.c67());
1198
+ var isNextInRow = !(previousCard == null) && currentCard.l69_1 === (previousCard.l69_1 + 1 | 0) && currentCard.n69().equals(previousCard.n69());
1170
1199
  var passedCardNamesCheck = includeCardNames == null || includeCardNames.s1(currentCard.p2());
1171
- var passedSuitCheck = suit == null || currentCard.c67().equals(suit);
1200
+ var passedSuitCheck = suit == null || currentCard.n69().equals(suit);
1172
1201
  if (isNextInRow && passedSuitCheck && passedCardNamesCheck) {
1173
1202
  combinationCards.e(currentCard);
1174
1203
  } else {
1175
1204
  if (combinationCards.m() > (checkFromIndex - 1 | 0)) {
1176
- combinations.n(this.t69(toMutableList(combinationCards), supportedCombinations));
1205
+ combinations.n(this.e6c(toMutableList(combinationCards), supportedCombinations));
1177
1206
  }
1178
1207
  combinationCards.a2();
1179
1208
  if (passedSuitCheck && passedCardNamesCheck) {
@@ -1183,11 +1212,11 @@
1183
1212
  }
1184
1213
  while (inductionVariable <= last);
1185
1214
  if (combinationCards.m() > (checkFromIndex - 1 | 0)) {
1186
- combinations.n(this.t69(toMutableList(combinationCards), supportedCombinations));
1215
+ combinations.n(this.e6c(toMutableList(combinationCards), supportedCombinations));
1187
1216
  }
1188
1217
  return combinations;
1189
1218
  };
1190
- protoOf(CombinationsCheckerProviderImpl).r69 = function (cards, cardsCount, includeCardNames) {
1219
+ protoOf(CombinationsCheckerProviderImpl).c6c = function (cards, cardsCount, includeCardNames) {
1191
1220
  // Inline function 'kotlin.collections.filter' call
1192
1221
  // Inline function 'kotlin.collections.filter' call
1193
1222
  // Inline function 'kotlin.apply' call
@@ -1201,7 +1230,7 @@
1201
1230
  while (tmp0_iterator.k()) {
1202
1231
  var element = tmp0_iterator.l();
1203
1232
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
1204
- if (element.b67()) {
1233
+ if (element.m69()) {
1205
1234
  destination.e(element);
1206
1235
  }
1207
1236
  }
@@ -1224,7 +1253,7 @@
1224
1253
  while (tmp0_iterator_1.k()) {
1225
1254
  var element_1 = tmp0_iterator_1.l();
1226
1255
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findSameCardsNumberCombinations.<anonymous>' call
1227
- var key = element_1.d67();
1256
+ var key = element_1.o69();
1228
1257
  // Inline function 'kotlin.collections.getOrPut' call
1229
1258
  var value = destination_1.h2(key);
1230
1259
  var tmp;
@@ -1263,7 +1292,7 @@
1263
1292
  }
1264
1293
  return destination_3;
1265
1294
  };
1266
- protoOf(CombinationsCheckerProviderImpl).t69 = function (cards, supportedCombinations) {
1295
+ protoOf(CombinationsCheckerProviderImpl).e6c = function (cards, supportedCombinations) {
1267
1296
  // Inline function 'kotlin.collections.minOf' call
1268
1297
  var iterator = supportedCombinations.j();
1269
1298
  if (!iterator.k())
@@ -1293,28 +1322,28 @@
1293
1322
  return sortedWith(combinations, tmp$ret$4);
1294
1323
  };
1295
1324
  function DealerReducerImpl(logger, enableLogs) {
1296
- this.v69_1 = logger;
1297
- this.w69_1 = enableLogs;
1325
+ this.g6c_1 = logger;
1326
+ this.h6c_1 = enableLogs;
1298
1327
  }
1299
- protoOf(DealerReducerImpl).x69 = function (cards, cardsToRemove) {
1328
+ protoOf(DealerReducerImpl).i6c = function (cards, cardsToRemove) {
1300
1329
  var list = cards;
1301
1330
  var _iterator__ex2g4s = cardsToRemove.j();
1302
1331
  while (_iterator__ex2g4s.k()) {
1303
1332
  var gameCard = _iterator__ex2g4s.l();
1304
- list = this.y69(list, gameCard);
1333
+ list = this.j6c(list, gameCard);
1305
1334
  }
1306
1335
  return list;
1307
1336
  };
1308
- protoOf(DealerReducerImpl).y69 = function (cards, cardToRemove) {
1337
+ protoOf(DealerReducerImpl).j6c = function (cards, cardToRemove) {
1309
1338
  var tmp;
1310
- if (!cardToRemove.i67() && cards.s1(cardToRemove)) {
1311
- if (this.w69_1) {
1312
- this.v69_1.d('Dealer', 'Card removed: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1339
+ if (!cardToRemove.t69() && cards.s1(cardToRemove)) {
1340
+ if (this.h6c_1) {
1341
+ this.g6c_1.d('Dealer', 'Card removed: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1313
1342
  }
1314
1343
  tmp = minus(cards, cardToRemove);
1315
1344
  } else {
1316
- if (this.w69_1) {
1317
- this.v69_1.d('Dealer', 'Card removed as stub: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1345
+ if (this.h6c_1) {
1346
+ this.g6c_1.d('Dealer', 'Card removed as stub: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
1318
1347
  }
1319
1348
  // Inline function 'kotlin.collections.filterNot' call
1320
1349
  // Inline function 'kotlin.collections.filterNotTo' call
@@ -1323,7 +1352,7 @@
1323
1352
  while (tmp0_iterator.k()) {
1324
1353
  var element = tmp0_iterator.l();
1325
1354
  // Inline function 'io.raspberryapps.card_game.core.domain.dealer.DealerReducerImpl.removeCard.<anonymous>' call
1326
- if (!element.i67()) {
1355
+ if (!element.t69()) {
1327
1356
  destination.e(element);
1328
1357
  }
1329
1358
  }
@@ -1335,34 +1364,34 @@
1335
1364
  while (tmp0_iterator_0.k()) {
1336
1365
  var element_0 = tmp0_iterator_0.l();
1337
1366
  // Inline function 'io.raspberryapps.card_game.core.domain.dealer.DealerReducerImpl.removeCard.<anonymous>' call
1338
- if (element_0.i67()) {
1367
+ if (element_0.t69()) {
1339
1368
  destination_0.e(element_0);
1340
1369
  }
1341
1370
  }
1342
1371
  var stubCards = destination_0;
1343
1372
  if (stubCards.p()) {
1344
- this.v69_1.w('Dealer', "Can't find card to delete for player, " + ('cards:' + toString(cards) + ', ') + ('cardToRemove: ' + cardToRemove.toString()));
1373
+ this.g6c_1.w('Dealer', "Can't find card to delete for player, " + ('cards:' + toString(cards) + ', ') + ('cardToRemove: ' + cardToRemove.toString()));
1345
1374
  }
1346
1375
  tmp = plus(notStubCards, dropLast(stubCards, 1));
1347
1376
  }
1348
1377
  return tmp;
1349
1378
  };
1350
- protoOf(DealerReducerImpl).z69 = function (cards, cardToAdd) {
1351
- if (this.w69_1) {
1352
- this.v69_1.d('Dealer', 'Card added: ' + cardToAdd.toString() + ', size: ' + (cards.m() + 1 | 0));
1379
+ protoOf(DealerReducerImpl).k6c = function (cards, cardToAdd) {
1380
+ if (this.h6c_1) {
1381
+ this.g6c_1.d('Dealer', 'Card added: ' + cardToAdd.toString() + ', size: ' + (cards.m() + 1 | 0));
1353
1382
  }
1354
1383
  if (cards.s1(cardToAdd)) {
1355
- this.v69_1.w('Dealer', 'Card already exists for player, ' + ('cards:' + toString(cards) + ', ') + ('cardToAdd: ' + cardToAdd.toString()));
1384
+ this.g6c_1.w('Dealer', 'Card already exists for player, ' + ('cards:' + toString(cards) + ', ') + ('cardToAdd: ' + cardToAdd.toString()));
1356
1385
  }
1357
1386
  return plus_0(cards, cardToAdd);
1358
1387
  };
1359
1388
  function DealerReducer() {
1360
1389
  }
1361
1390
  //region block: post-declaration
1362
- protoOf(CardsDealerProviderImpl).u67 = standardShuffledCards$default;
1363
- protoOf(FakeCardsDealerProvider).u67 = standardShuffledCards$default;
1364
- protoOf(CombinationsCheckerProviderImpl).q69 = findCardsInRowCombinations$default;
1365
- protoOf(CombinationsCheckerProviderImpl).s69 = findSameCardsNumberCombinations$default;
1391
+ protoOf(CardsDealerProviderImpl).f6a = standardShuffledCards$default;
1392
+ protoOf(FakeCardsDealerProvider).f6a = standardShuffledCards$default;
1393
+ protoOf(CombinationsCheckerProviderImpl).b6c = findCardsInRowCombinations$default;
1394
+ protoOf(CombinationsCheckerProviderImpl).d6c = findSameCardsNumberCombinations$default;
1366
1395
  //endregion
1367
1396
  //region block: init
1368
1397
  CoreConfig_instance = new CoreConfig();