game_client_logic_deb 1.8.96 → 1.8.105

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 (34) hide show
  1. package/Kosi-Kaverit-kaverit.js +98 -99
  2. package/Kosi-Kaverit-kaverit.js.map +1 -1
  3. package/Kosi-Kodein-kodein-di.js +803 -804
  4. package/Kosi-Kodein-kodein-di.js.map +1 -1
  5. package/Kotlin-DateTime-library-kotlinx-datetime.js +171 -202
  6. package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
  7. package/Logic_Debertz-core.js +1918 -2300
  8. package/Logic_Debertz-core.js.map +1 -1
  9. package/Logic_Debertz-engine.js +17308 -21309
  10. package/Logic_Debertz-engine.js.map +1 -1
  11. package/Logic_Debertz-game_client.d.ts +92 -127
  12. package/Logic_Debertz-game_client.js +5084 -5655
  13. package/Logic_Debertz-game_client.js.map +1 -1
  14. package/kotlin-kotlin-stdlib.js +8597 -7800
  15. package/kotlin-kotlin-stdlib.js.map +1 -1
  16. package/kotlin-kotlinx-atomicfu-runtime.js +1 -1
  17. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +1 -1
  18. package/kotlinx-atomicfu.js +54 -39
  19. package/kotlinx-atomicfu.js.map +1 -1
  20. package/kotlinx-coroutines-core.js +2899 -2964
  21. package/kotlinx-coroutines-core.js.map +1 -1
  22. package/kotlinx-io-kotlinx-io-bytestring.js +1 -1
  23. package/kotlinx-io-kotlinx-io-core.js +326 -358
  24. package/kotlinx-io-kotlinx-io-core.js.map +1 -1
  25. package/kotlinx-serialization-kotlinx-serialization-core.js +2416 -2452
  26. package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
  27. package/kotlinx-serialization-kotlinx-serialization-json.js +1699 -1842
  28. package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
  29. package/package.json +1 -1
  30. package/raspberry-cardgame-lib-core.js +281 -290
  31. package/raspberry-cardgame-lib-core.js.map +1 -1
  32. package/secure-random-secure-random.js +1 -1
  33. package/uuid.js +44 -59
  34. package/uuid.js.map +1 -1
@@ -12,112 +12,112 @@
12
12
  }
13
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']);
14
14
  }
15
- }(this, function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core) {
15
+ }(globalThis, function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core) {
16
16
  'use strict';
17
17
  //region block: imports
18
18
  var imul = Math.imul;
19
- var protoOf = kotlin_kotlin.$_$.ab;
20
- var objectMeta = kotlin_kotlin.$_$.za;
21
- var setMetadataFor = kotlin_kotlin.$_$.bb;
22
- var defineProp = kotlin_kotlin.$_$.z9;
19
+ var protoOf = kotlin_kotlin.$_$.gb;
20
+ var initMetadataForObject = kotlin_kotlin.$_$.oa;
21
+ var defineProp = kotlin_kotlin.$_$.ba;
23
22
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.m;
24
- var Unit_instance = kotlin_kotlin.$_$.y4;
25
- var THROW_CCE = kotlin_kotlin.$_$.zd;
26
- var Comparator = kotlin_kotlin.$_$.ld;
23
+ var Unit_instance = kotlin_kotlin.$_$.z4;
24
+ var THROW_CCE = kotlin_kotlin.$_$.ee;
25
+ var Comparator = kotlin_kotlin.$_$.qd;
27
26
  var VOID = kotlin_kotlin.$_$.f;
28
- var take = kotlin_kotlin.$_$.i8;
29
- var toList = kotlin_kotlin.$_$.l8;
30
- var takeLast = kotlin_kotlin.$_$.h8;
31
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.we;
27
+ var take = kotlin_kotlin.$_$.l8;
28
+ var toList = kotlin_kotlin.$_$.o8;
29
+ var takeLast = kotlin_kotlin.$_$.k8;
30
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.bf;
31
+ var initMetadataForCompanion = kotlin_kotlin.$_$.ka;
32
32
  var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.q1;
33
- var Enum = kotlin_kotlin.$_$.od;
34
- var classMeta = kotlin_kotlin.$_$.x9;
35
- var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c2;
33
+ var Enum = kotlin_kotlin.$_$.td;
34
+ var initMetadataForClass = kotlin_kotlin.$_$.ja;
35
+ var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b2;
36
36
  var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.j;
37
- var lazy = kotlin_kotlin.$_$.ue;
38
- var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
39
- var enumEntries = kotlin_kotlin.$_$.n9;
40
- var interfaceMeta = kotlin_kotlin.$_$.ha;
41
- var first = kotlin_kotlin.$_$.t6;
42
- var sorted = kotlin_kotlin.$_$.f8;
43
- var asReversed = kotlin_kotlin.$_$.q5;
37
+ var lazy = kotlin_kotlin.$_$.ze;
38
+ var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z1;
39
+ var enumEntries = kotlin_kotlin.$_$.q9;
40
+ var initMetadataForInterface = kotlin_kotlin.$_$.ma;
41
+ var first = kotlin_kotlin.$_$.w6;
42
+ var sorted = kotlin_kotlin.$_$.i8;
43
+ var asReversed = kotlin_kotlin.$_$.t5;
44
44
  var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.v1;
45
- var sortedWith = kotlin_kotlin.$_$.e8;
46
- var lastOrNull = kotlin_kotlin.$_$.h7;
47
- var toMutableList = kotlin_kotlin.$_$.o8;
45
+ var sortedWith = kotlin_kotlin.$_$.h8;
46
+ var lastOrNull = kotlin_kotlin.$_$.k7;
47
+ var toMutableList = kotlin_kotlin.$_$.r8;
48
48
  var NoSuchElementException_init_$Create$_0 = kotlin_kotlin.$_$.t1;
49
- var compareTo = kotlin_kotlin.$_$.y9;
50
- var dropLast = kotlin_kotlin.$_$.l6;
51
- var plus = kotlin_kotlin.$_$.w7;
52
- var minus = kotlin_kotlin.$_$.r7;
53
- var plus_0 = kotlin_kotlin.$_$.x7;
54
- var mutableListOf = kotlin_kotlin.$_$.s7;
55
- var printStackTrace = kotlin_kotlin.$_$.ye;
56
- var isBlank = kotlin_kotlin.$_$.fc;
57
- var stackTraceToString = kotlin_kotlin.$_$.ze;
58
- var toString = kotlin_kotlin.$_$.fb;
49
+ var compareTo = kotlin_kotlin.$_$.aa;
50
+ var toString = kotlin_kotlin.$_$.kb;
51
+ var dropLast = kotlin_kotlin.$_$.o6;
52
+ var plus = kotlin_kotlin.$_$.z7;
53
+ var minus = kotlin_kotlin.$_$.u7;
54
+ var plus_0 = kotlin_kotlin.$_$.a8;
55
+ var mutableListOf = kotlin_kotlin.$_$.v7;
56
+ var printStackTrace = kotlin_kotlin.$_$.df;
57
+ var isBlank = kotlin_kotlin.$_$.kc;
58
+ var stackTraceToString = kotlin_kotlin.$_$.ef;
59
+ var toString_0 = kotlin_kotlin.$_$.gf;
59
60
  //endregion
60
61
  //region block: pre-declaration
61
- setMetadataFor(CoreConfig, 'CoreConfig', objectMeta);
62
- setMetadataFor(CardNumberComparator, 'CardNumberComparator', objectMeta, VOID, [Comparator]);
63
- setMetadataFor(CardIndexComparator, 'CardIndexComparator', objectMeta, VOID, [Comparator]);
64
- setMetadataFor(Companion, 'Companion', objectMeta);
65
- setMetadataFor(CardName, 'CardName', classMeta, Enum);
66
- setMetadataFor(Companion_0, 'Companion', objectMeta);
67
- setMetadataFor(GameCard, 'GameCard', classMeta);
68
- setMetadataFor(Companion_1, 'Companion', objectMeta, VOID, [SerializerFactory]);
69
- setMetadataFor(Suit, 'Suit', classMeta, Enum, VOID, VOID, VOID, {0: Companion_getInstance_1});
62
+ initMetadataForObject(CoreConfig, 'CoreConfig');
63
+ initMetadataForObject(CardNumberComparator, 'CardNumberComparator', VOID, VOID, [Comparator]);
64
+ initMetadataForObject(CardIndexComparator, 'CardIndexComparator', VOID, VOID, [Comparator]);
65
+ initMetadataForCompanion(Companion);
66
+ initMetadataForClass(CardName, 'CardName', VOID, Enum);
67
+ initMetadataForCompanion(Companion_0);
68
+ initMetadataForClass(GameCard, 'GameCard');
69
+ initMetadataForCompanion(Companion_1, VOID, [SerializerFactory]);
70
+ initMetadataForClass(Suit, 'Suit', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_1});
70
71
  function standardShuffledCards$default(cards, times, $super) {
71
72
  times = times === VOID ? 3 : times;
72
- return $super === VOID ? this.h2l(cards, times) : $super.h2l.call(this, cards, times);
73
+ return $super === VOID ? this.r2m(cards, times) : $super.r2m.call(this, cards, times);
73
74
  }
74
- setMetadataFor(CardsDealerProvider, 'CardsDealerProvider', interfaceMeta);
75
+ initMetadataForInterface(CardsDealerProvider, 'CardsDealerProvider');
75
76
  function findCardsInRowCombinations$default(cards, supportedCombinations, checkFromIndex, includeCardNames, suit, $super) {
76
77
  checkFromIndex = checkFromIndex === VOID ? first(supportedCombinations) : checkFromIndex;
77
78
  includeCardNames = includeCardNames === VOID ? null : includeCardNames;
78
79
  suit = suit === VOID ? null : suit;
79
- return $super === VOID ? this.j2l(cards, supportedCombinations, checkFromIndex, includeCardNames, suit) : $super.j2l.call(this, cards, supportedCombinations, checkFromIndex, includeCardNames, suit);
80
- }
81
- setMetadataFor(CombinationsCheckerProvider, 'CombinationsCheckerProvider', interfaceMeta);
82
- setMetadataFor(CombinationsCheckerProviderImpl, 'CombinationsCheckerProviderImpl', classMeta, VOID, [CombinationsCheckerProvider], CombinationsCheckerProviderImpl);
83
- setMetadataFor(DealerReducer, 'DealerReducer', interfaceMeta);
84
- setMetadataFor(DealerReducerImpl, 'DealerReducerImpl', classMeta, VOID, [DealerReducer]);
85
- setMetadataFor(Companion_2, 'Companion', objectMeta);
86
- setMetadataFor(Companion_3, 'Companion', objectMeta);
80
+ return $super === VOID ? this.t2m(cards, supportedCombinations, checkFromIndex, includeCardNames, suit) : $super.t2m.call(this, cards, supportedCombinations, checkFromIndex, includeCardNames, suit);
81
+ }
82
+ initMetadataForInterface(CombinationsCheckerProvider, 'CombinationsCheckerProvider');
83
+ initMetadataForClass(CombinationsCheckerProviderImpl, 'CombinationsCheckerProviderImpl', CombinationsCheckerProviderImpl, VOID, [CombinationsCheckerProvider]);
84
+ initMetadataForInterface(DealerReducer, 'DealerReducer');
85
+ initMetadataForClass(DealerReducerImpl, 'DealerReducerImpl', VOID, VOID, [DealerReducer]);
86
+ initMetadataForCompanion(Companion_2);
87
87
  function d(tag, message, payload, $super) {
88
88
  tag = tag === VOID ? null : tag;
89
89
  payload = payload === VOID ? null : payload;
90
- return this.v2l(tag, message, payload);
90
+ return this.e2n(tag, message, payload);
91
91
  }
92
92
  function e(tag, message, exception, payload, $super) {
93
93
  tag = tag === VOID ? null : tag;
94
94
  message = message === VOID ? null : message;
95
95
  exception = exception === VOID ? null : exception;
96
96
  payload = payload === VOID ? null : payload;
97
- return this.w2l(tag, message, exception, payload);
97
+ return this.f2n(tag, message, exception, payload);
98
98
  }
99
99
  function w(tag, message, exception, payload, $super) {
100
100
  tag = tag === VOID ? null : tag;
101
101
  message = message === VOID ? null : message;
102
102
  exception = exception === VOID ? null : exception;
103
103
  payload = payload === VOID ? null : payload;
104
- return this.x2l(tag, message, exception, payload);
105
- }
106
- setMetadataFor(LoggerOutput, 'LoggerOutput', interfaceMeta);
107
- setMetadataFor(RaspberryLogger, 'RaspberryLogger', interfaceMeta, VOID, [LoggerOutput]);
108
- setMetadataFor(CombinedRaspberryLogger, 'CombinedRaspberryLogger', classMeta, VOID, [RaspberryLogger]);
109
- setMetadataFor(LoggerEnabledTrigger, 'LoggerEnabledTrigger', interfaceMeta, VOID, [RaspberryLogger]);
110
- setMetadataFor(LoggerPayload, 'LoggerPayload', interfaceMeta);
111
- setMetadataFor(PlatformRaspberryLogger, 'PlatformRaspberryLogger', classMeta, VOID, [RaspberryLogger, LoggerEnabledTrigger], PlatformRaspberryLogger);
112
- setMetadataFor(Category, 'Category', classMeta, Enum);
113
- setMetadataFor(Logger$loggerSource$1, VOID, classMeta);
114
- setMetadataFor(Logger, 'Logger', objectMeta);
115
- setMetadataFor(PlatformLogger, 'PlatformLogger', classMeta, VOID, VOID, PlatformLogger);
104
+ return this.g2n(tag, message, exception, payload);
105
+ }
106
+ initMetadataForInterface(LoggerOutput, 'LoggerOutput');
107
+ initMetadataForInterface(RaspberryLogger, 'RaspberryLogger', VOID, VOID, [LoggerOutput]);
108
+ initMetadataForClass(CombinedRaspberryLogger, 'CombinedRaspberryLogger', VOID, VOID, [RaspberryLogger]);
109
+ initMetadataForInterface(LoggerEnabledTrigger, 'LoggerEnabledTrigger', VOID, VOID, [RaspberryLogger]);
110
+ initMetadataForInterface(LoggerPayload, 'LoggerPayload');
111
+ initMetadataForClass(PlatformRaspberryLogger, 'PlatformRaspberryLogger', PlatformRaspberryLogger, VOID, [RaspberryLogger, LoggerEnabledTrigger]);
112
+ initMetadataForClass(Category, 'Category', VOID, Enum);
113
+ initMetadataForClass(Logger$loggerSource$1);
114
+ initMetadataForObject(Logger, 'Logger');
115
+ initMetadataForClass(PlatformLogger, 'PlatformLogger', PlatformLogger);
116
116
  //endregion
117
117
  function CoreConfig() {
118
118
  this.version = '0.0.19';
119
119
  }
120
- protoOf(CoreConfig).p2k = function () {
120
+ protoOf(CoreConfig).z2l = function () {
121
121
  return this.version;
122
122
  };
123
123
  var CoreConfig_instance;
@@ -129,23 +129,23 @@
129
129
  var predicate = byCardNamePredicate(name.slice());
130
130
  // Inline function 'kotlin.collections.filterTo' call
131
131
  var destination = ArrayList_init_$Create$();
132
- var tmp0_iterator = _this__u8e3s4.v();
133
- while (tmp0_iterator.w()) {
134
- var element = tmp0_iterator.y();
132
+ var tmp0_iterator = _this__u8e3s4.j();
133
+ while (tmp0_iterator.k()) {
134
+ var element = tmp0_iterator.l();
135
135
  if (predicate(element)) {
136
- destination.s(element);
136
+ destination.e(element);
137
137
  }
138
138
  }
139
139
  return destination;
140
140
  }
141
141
  function CardNumberComparator() {
142
142
  }
143
- protoOf(CardNumberComparator).q2k = function (a, b) {
144
- return b.s2k() - a.s2k() | 0;
143
+ protoOf(CardNumberComparator).a2m = function (a, b) {
144
+ return b.c2m() - a.c2m() | 0;
145
145
  };
146
146
  protoOf(CardNumberComparator).compare = function (a, b) {
147
147
  var tmp = a instanceof GameCard ? a : THROW_CCE();
148
- return this.q2k(tmp, b instanceof GameCard ? b : THROW_CCE());
148
+ return this.a2m(tmp, b instanceof GameCard ? b : THROW_CCE());
149
149
  };
150
150
  var CardNumberComparator_instance;
151
151
  function CardNumberComparator_getInstance() {
@@ -153,12 +153,12 @@
153
153
  }
154
154
  function CardIndexComparator() {
155
155
  }
156
- protoOf(CardIndexComparator).q2k = function (a, b) {
157
- return a.r2k_1 - b.r2k_1 | 0;
156
+ protoOf(CardIndexComparator).a2m = function (a, b) {
157
+ return a.b2m_1 - b.b2m_1 | 0;
158
158
  };
159
159
  protoOf(CardIndexComparator).compare = function (a, b) {
160
160
  var tmp = a instanceof GameCard ? a : THROW_CCE();
161
- return this.q2k(tmp, b instanceof GameCard ? b : THROW_CCE());
161
+ return this.a2m(tmp, b instanceof GameCard ? b : THROW_CCE());
162
162
  };
163
163
  var CardIndexComparator_instance;
164
164
  function CardIndexComparator_getInstance() {
@@ -169,12 +169,12 @@
169
169
  }
170
170
  function distributeCardsBottom(_this__u8e3s4, count) {
171
171
  var cardsToDeal = toList(take(_this__u8e3s4, count));
172
- _this__u8e3s4.a1(cardsToDeal);
172
+ _this__u8e3s4.x1(cardsToDeal);
173
173
  return cardsToDeal;
174
174
  }
175
175
  function distributeCardsTop(_this__u8e3s4, count) {
176
176
  var cardsToDeal = toList(takeLast(_this__u8e3s4, count));
177
- _this__u8e3s4.a1(cardsToDeal);
177
+ _this__u8e3s4.x1(cardsToDeal);
178
178
  return cardsToDeal;
179
179
  }
180
180
  function byCardNamePredicate$lambda($types) {
@@ -189,7 +189,7 @@
189
189
  var element = indexedObject[inductionVariable];
190
190
  inductionVariable = inductionVariable + 1 | 0;
191
191
  // Inline function 'io.raspberryapps.card_game.core.data.models.cards.byCardNamePredicate.<anonymous>.<anonymous>' call
192
- if (p1.i9().equals(element)) {
192
+ if (p1.o2().equals(element)) {
193
193
  tmp$ret$1 = true;
194
194
  break $l$block;
195
195
  }
@@ -215,7 +215,7 @@
215
215
  var CardName_STUB_instance;
216
216
  function getShortName($this) {
217
217
  var tmp;
218
- switch ($this.i8_1) {
218
+ switch ($this.n2_1) {
219
219
  case 0:
220
220
  tmp = 'A';
221
221
  break;
@@ -286,10 +286,10 @@
286
286
  }
287
287
  function Companion() {
288
288
  }
289
- protoOf(Companion).t2k = function (suit, cardNumber) {
289
+ protoOf(Companion).d2m = function (suit, cardNumber) {
290
290
  return new GameCard(getNumber(Companion_instance_0, cardNumber, suit));
291
291
  };
292
- protoOf(Companion).u2k = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
292
+ protoOf(Companion).e2m = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
293
293
  var tmp;
294
294
  if (previousStubCardWithMaxIndex == null) {
295
295
  tmp = null;
@@ -298,7 +298,7 @@
298
298
  // Inline function 'kotlin.contracts.contract' call
299
299
  var tmp_0;
300
300
  // Inline function 'io.raspberryapps.card_game.core.data.models.cards.Companion.createUniqueStub.<anonymous>' call
301
- if (previousStubCardWithMaxIndex.v2k()) {
301
+ if (previousStubCardWithMaxIndex.f2m()) {
302
302
  tmp_0 = previousStubCardWithMaxIndex;
303
303
  } else {
304
304
  tmp_0 = null;
@@ -306,8 +306,8 @@
306
306
  tmp = tmp_0;
307
307
  }
308
308
  var tmp1_safe_receiver = tmp;
309
- var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.r2k_1;
310
- var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_instance_0.a2l(tmp2_safe_receiver, playerIndex, reverse);
309
+ var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.b2m_1;
310
+ var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_instance_0.k2m(tmp2_safe_receiver, playerIndex, reverse);
311
311
  var tmp_1;
312
312
  if (tmp3_safe_receiver == null) {
313
313
  tmp_1 = null;
@@ -328,10 +328,10 @@
328
328
  var index = tmp_2;
329
329
  return new GameCard(index);
330
330
  };
331
- protoOf(Companion).b2l = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $super) {
331
+ protoOf(Companion).l2m = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $super) {
332
332
  previousStubCardWithMaxIndex = previousStubCardWithMaxIndex === VOID ? null : previousStubCardWithMaxIndex;
333
333
  reverse = reverse === VOID ? false : reverse;
334
- return $super === VOID ? this.u2k(position, playerIndex, previousStubCardWithMaxIndex, reverse) : $super.u2k.call(this, position, playerIndex, previousStubCardWithMaxIndex, reverse);
334
+ return $super === VOID ? this.e2m(position, playerIndex, previousStubCardWithMaxIndex, reverse) : $super.e2m.call(this, position, playerIndex, previousStubCardWithMaxIndex, reverse);
335
335
  };
336
336
  var Companion_instance;
337
337
  function Companion_getInstance() {
@@ -342,7 +342,7 @@
342
342
  }
343
343
  function getCardNumber($this, number) {
344
344
  var tmp;
345
- switch (number.i8_1) {
345
+ switch (number.n2_1) {
346
346
  case 12:
347
347
  tmp = 0;
348
348
  break;
@@ -383,7 +383,7 @@
383
383
  tmp = 12;
384
384
  break;
385
385
  default:
386
- throw IllegalStateException_init_$Create$('Invalid CardNumber ' + number);
386
+ throw IllegalStateException_init_$Create$('Invalid CardNumber ' + number.toString());
387
387
  }
388
388
  return tmp;
389
389
  }
@@ -435,7 +435,7 @@
435
435
  return tmp;
436
436
  }
437
437
  function _get_isShirt__vd98rp($this) {
438
- return $this.r2k_1 === 52;
438
+ return $this.b2m_1 === 52;
439
439
  }
440
440
  function CardName(name, ordinal) {
441
441
  Enum.call(this, name, ordinal);
@@ -444,12 +444,12 @@
444
444
  return getShortName(this);
445
445
  };
446
446
  function Companion_0() {
447
- this.w2k_1 = -1;
448
- this.x2k_1 = 13;
449
- this.y2k_1 = 52;
450
- this.z2k_1 = 53;
447
+ this.g2m_1 = -1;
448
+ this.h2m_1 = 13;
449
+ this.i2m_1 = 52;
450
+ this.j2m_1 = 53;
451
451
  }
452
- protoOf(Companion_0).a2l = function (_this__u8e3s4, playerIndex, reverse) {
452
+ protoOf(Companion_0).k2m = function (_this__u8e3s4, playerIndex, reverse) {
453
453
  var tmp;
454
454
  if (reverse) {
455
455
  tmp = _this__u8e3s4 + (53 + imul(playerIndex, 14) | 0) | 0;
@@ -519,59 +519,59 @@
519
519
  return CardName_STUB_instance;
520
520
  }
521
521
  function GameCard(index) {
522
- this.r2k_1 = index;
522
+ this.b2m_1 = index;
523
523
  }
524
- protoOf(GameCard).c2l = function () {
524
+ protoOf(GameCard).m2m = function () {
525
525
  var tmp;
526
- var containsArg = this.r2k_1;
526
+ var containsArg = this.b2m_1;
527
527
  if (0 <= containsArg ? containsArg <= 13 : false) {
528
528
  tmp = Suit_DIAMOND_getInstance();
529
529
  } else {
530
- if (this.r2k_1 <= 26) {
530
+ if (this.b2m_1 <= 26) {
531
531
  tmp = Suit_SPADE_getInstance();
532
532
  } else {
533
- if (this.r2k_1 <= 39) {
533
+ if (this.b2m_1 <= 39) {
534
534
  tmp = Suit_HEART_getInstance();
535
535
  } else {
536
- if (this.r2k_1 <= 52) {
536
+ if (this.b2m_1 <= 52) {
537
537
  tmp = Suit_CLUB_getInstance();
538
538
  } else {
539
- throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.r2k_1);
539
+ throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.b2m_1);
540
540
  }
541
541
  }
542
542
  }
543
543
  }
544
544
  return tmp;
545
545
  };
546
- protoOf(GameCard).s2k = function () {
546
+ protoOf(GameCard).c2m = function () {
547
547
  var tmp;
548
- if (this.v2k()) {
548
+ if (this.f2m()) {
549
549
  tmp = -1;
550
550
  } else {
551
- tmp = this.r2k_1 - imul(13, getIndex(this.c2l())) | 0;
551
+ tmp = this.b2m_1 - imul(13, getIndex(this.m2m())) | 0;
552
552
  }
553
553
  return tmp;
554
554
  };
555
- protoOf(GameCard).i9 = function () {
556
- return this.v2k() ? CardName_STUB_getInstance() : getName(Companion_instance_0, this.s2k());
555
+ protoOf(GameCard).o2 = function () {
556
+ return this.f2m() ? CardName_STUB_getInstance() : getName(Companion_instance_0, this.c2m());
557
557
  };
558
- protoOf(GameCard).d2l = function () {
559
- return !_get_isShirt__vd98rp(this) ? !this.v2k() : false;
558
+ protoOf(GameCard).n2m = function () {
559
+ return !_get_isShirt__vd98rp(this) && !this.f2m();
560
560
  };
561
- protoOf(GameCard).v2k = function () {
562
- return this.r2k_1 >= 53;
561
+ protoOf(GameCard).f2m = function () {
562
+ return this.b2m_1 >= 53;
563
563
  };
564
564
  protoOf(GameCard).toString = function () {
565
565
  if (_get_isShirt__vd98rp(this)) {
566
566
  return 'GameCard(SHIRT)';
567
567
  }
568
- if (this.v2k()) {
569
- return 'GameCard(STUB, ' + this.r2k_1 + ')';
568
+ if (this.f2m()) {
569
+ return 'GameCard(STUB, ' + this.b2m_1 + ')';
570
570
  }
571
- return 'GameCard(' + this.c2l() + this.i9() + ', ' + this.r2k_1 + ')';
571
+ return 'GameCard(' + this.m2m().toString() + this.o2().toString() + ', ' + this.b2m_1 + ')';
572
572
  };
573
573
  protoOf(GameCard).hashCode = function () {
574
- return this.r2k_1;
574
+ return this.b2m_1;
575
575
  };
576
576
  protoOf(GameCard).equals = function (other) {
577
577
  if (this === other)
@@ -579,12 +579,12 @@
579
579
  if (!(other instanceof GameCard))
580
580
  return false;
581
581
  var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
582
- if (!(this.r2k_1 === tmp0_other_with_cast.r2k_1))
582
+ if (!(this.b2m_1 === tmp0_other_with_cast.b2m_1))
583
583
  return false;
584
584
  return true;
585
585
  };
586
586
  function _get_$cachedSerializer__te6jhj($this) {
587
- return $this.e2l_1.o2();
587
+ return $this.o2m_1.e2();
588
588
  }
589
589
  function Suit$Companion$_anonymous__cbm2iq() {
590
590
  return createSimpleEnumSerializer('io.raspberryapps.card_game.core.data.models.cards.Suit', values());
@@ -595,7 +595,7 @@
595
595
  var Suit_CLUB_instance;
596
596
  function getSuitEmoji($this) {
597
597
  var tmp;
598
- switch ($this.i8_1) {
598
+ switch ($this.n2_1) {
599
599
  case 0:
600
600
  tmp = '\u2666\uFE0F';
601
601
  break;
@@ -618,13 +618,13 @@
618
618
  Companion_instance_1 = this;
619
619
  var tmp = this;
620
620
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
621
- tmp.e2l_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
621
+ tmp.o2m_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
622
622
  }
623
- protoOf(Companion_1).i21 = function () {
623
+ protoOf(Companion_1).o22 = function () {
624
624
  return _get_$cachedSerializer__te6jhj(this);
625
625
  };
626
- protoOf(Companion_1).a1q = function (typeParamsSerializers) {
627
- return this.i21();
626
+ protoOf(Companion_1).e1r = function (typeParamsSerializers) {
627
+ return this.o22();
628
628
  };
629
629
  var Companion_instance_1;
630
630
  function Companion_getInstance_1() {
@@ -677,7 +677,7 @@
677
677
  }
678
678
  function getIndex(_this__u8e3s4) {
679
679
  var tmp;
680
- switch (_this__u8e3s4.i8_1) {
680
+ switch (_this__u8e3s4.n2_1) {
681
681
  case 0:
682
682
  tmp = 0;
683
683
  break;
@@ -701,17 +701,17 @@
701
701
  function CombinationsCheckerProvider() {
702
702
  }
703
703
  function createCombination($this, cards, supportedCombinations) {
704
- var size = cards.n();
705
- if (supportedCombinations.r(size)) {
704
+ var size = cards.m();
705
+ if (supportedCombinations.q1(size)) {
706
706
  return cards;
707
707
  }
708
708
  var fromLongestCombinations = asReversed(sorted(supportedCombinations));
709
709
  var tmp$ret$1;
710
710
  $l$block: {
711
711
  // Inline function 'kotlin.collections.first' call
712
- var tmp0_iterator = fromLongestCombinations.v();
713
- while (tmp0_iterator.w()) {
714
- var element = tmp0_iterator.y();
712
+ var tmp0_iterator = fromLongestCombinations.j();
713
+ while (tmp0_iterator.k()) {
714
+ var element = tmp0_iterator.l();
715
715
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombination.<anonymous>' call
716
716
  if (element <= size) {
717
717
  tmp$ret$1 = element;
@@ -725,17 +725,17 @@
725
725
  }
726
726
  function CombinationsCheckerProviderImpl() {
727
727
  }
728
- protoOf(CombinationsCheckerProviderImpl).j2l = function (cards, supportedCombinations, checkFromIndex, includeCardNames, suit) {
728
+ protoOf(CombinationsCheckerProviderImpl).t2m = function (cards, supportedCombinations, checkFromIndex, includeCardNames, suit) {
729
729
  // Inline function 'kotlin.collections.filter' call
730
730
  // Inline function 'kotlin.collections.filterTo' call
731
731
  var this_0 = sortedWith(cards, CardIndexComparator_instance);
732
732
  var destination = ArrayList_init_$Create$();
733
- var tmp0_iterator = this_0.v();
734
- while (tmp0_iterator.w()) {
735
- var element = tmp0_iterator.y();
733
+ var tmp0_iterator = this_0.j();
734
+ while (tmp0_iterator.k()) {
735
+ var element = tmp0_iterator.l();
736
736
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.findCardsInRowCombinations.<anonymous>' call
737
- if (element.d2l()) {
738
- destination.s(element);
737
+ if (element.n2m()) {
738
+ destination.e(element);
739
739
  }
740
740
  }
741
741
  var sortedCards = toList(destination);
@@ -744,44 +744,44 @@
744
744
  // Inline function 'kotlin.collections.mutableListOf' call
745
745
  var combinationCards = ArrayList_init_$Create$();
746
746
  var inductionVariable = 0;
747
- var last = sortedCards.n() - 1 | 0;
747
+ var last = sortedCards.m() - 1 | 0;
748
748
  if (inductionVariable <= last)
749
749
  do {
750
750
  var i = inductionVariable;
751
751
  inductionVariable = inductionVariable + 1 | 0;
752
752
  var previousCard = lastOrNull(combinationCards);
753
- var currentCard = sortedCards.g1(i);
754
- var isNextInRow = (!(previousCard == null) ? currentCard.r2k_1 === (previousCard.r2k_1 + 1 | 0) : false) ? currentCard.c2l().equals(previousCard.c2l()) : false;
755
- var passedCardNamesCheck = includeCardNames == null ? true : includeCardNames.r(currentCard.i9());
756
- var passedSuitCheck = suit == null ? true : currentCard.c2l().equals(suit);
757
- if ((isNextInRow ? passedSuitCheck : false) ? passedCardNamesCheck : false) {
758
- combinationCards.s(currentCard);
753
+ var currentCard = sortedCards.o(i);
754
+ var isNextInRow = !(previousCard == null) && currentCard.b2m_1 === (previousCard.b2m_1 + 1 | 0) && currentCard.m2m().equals(previousCard.m2m());
755
+ var passedCardNamesCheck = includeCardNames == null || includeCardNames.q1(currentCard.o2());
756
+ var passedSuitCheck = suit == null || currentCard.m2m().equals(suit);
757
+ if (isNextInRow && passedSuitCheck && passedCardNamesCheck) {
758
+ combinationCards.e(currentCard);
759
759
  } else {
760
- if (combinationCards.n() > (checkFromIndex - 1 | 0)) {
761
- combinations.z(this.l2l(toMutableList(combinationCards), supportedCombinations));
760
+ if (combinationCards.m() > (checkFromIndex - 1 | 0)) {
761
+ combinations.n(this.v2m(toMutableList(combinationCards), supportedCombinations));
762
762
  }
763
- combinationCards.x1();
764
- if (passedSuitCheck ? passedCardNamesCheck : false) {
765
- combinationCards.s(currentCard);
763
+ combinationCards.z1();
764
+ if (passedSuitCheck && passedCardNamesCheck) {
765
+ combinationCards.e(currentCard);
766
766
  }
767
767
  }
768
768
  }
769
769
  while (inductionVariable <= last);
770
- if (combinationCards.n() > (checkFromIndex - 1 | 0)) {
771
- combinations.z(this.l2l(toMutableList(combinationCards), supportedCombinations));
770
+ if (combinationCards.m() > (checkFromIndex - 1 | 0)) {
771
+ combinations.n(this.v2m(toMutableList(combinationCards), supportedCombinations));
772
772
  }
773
773
  return combinations;
774
774
  };
775
- protoOf(CombinationsCheckerProviderImpl).l2l = function (cards, supportedCombinations) {
775
+ protoOf(CombinationsCheckerProviderImpl).v2m = function (cards, supportedCombinations) {
776
776
  // Inline function 'kotlin.collections.minOf' call
777
- var iterator = supportedCombinations.v();
778
- if (!iterator.w())
777
+ var iterator = supportedCombinations.j();
778
+ if (!iterator.k())
779
779
  throw NoSuchElementException_init_$Create$_0();
780
780
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
781
- var minValue = iterator.y();
782
- while (iterator.w()) {
781
+ var minValue = iterator.l();
782
+ while (iterator.k()) {
783
783
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
784
- var v = iterator.y();
784
+ var v = iterator.l();
785
785
  if (compareTo(minValue, v) > 0) {
786
786
  minValue = v;
787
787
  }
@@ -790,134 +790,127 @@
790
790
  var cardsToCheck = cards;
791
791
  // Inline function 'kotlin.collections.mutableListOf' call
792
792
  var combinations = ArrayList_init_$Create$();
793
- while (cardsToCheck.n() >= shortestCombinationSupport) {
793
+ while (cardsToCheck.m() >= shortestCombinationSupport) {
794
794
  var combinationCards = createCombination(this, cardsToCheck, supportedCombinations);
795
- combinations.s(combinationCards);
795
+ combinations.e(combinationCards);
796
796
  // Inline function 'kotlin.apply' call
797
797
  var this_0 = toMutableList(cardsToCheck);
798
798
  // Inline function 'kotlin.contracts.contract' call
799
799
  // Inline function 'io.raspberryapps.card_game.core.data.providers.combinations.CombinationsCheckerProviderImpl.createCombinationsFromCardsInRow.<anonymous>' call
800
- this_0.a1(combinationCards);
800
+ this_0.x1(combinationCards);
801
801
  cardsToCheck = this_0;
802
802
  }
803
803
  return combinations;
804
804
  };
805
805
  function DealerReducerImpl(logger, enableLogs) {
806
- this.m2l_1 = logger;
807
- this.n2l_1 = enableLogs;
806
+ this.w2m_1 = logger;
807
+ this.x2m_1 = enableLogs;
808
808
  }
809
- protoOf(DealerReducerImpl).o2l = function (cards, cardsToRemove) {
809
+ protoOf(DealerReducerImpl).y2m = function (cards, cardsToRemove) {
810
810
  var list = cards;
811
- var tmp0_iterator = cardsToRemove.v();
812
- while (tmp0_iterator.w()) {
813
- var gameCard = tmp0_iterator.y();
814
- list = this.p2l(list, gameCard);
811
+ var tmp0_iterator = cardsToRemove.j();
812
+ while (tmp0_iterator.k()) {
813
+ var gameCard = tmp0_iterator.l();
814
+ list = this.z2m(list, gameCard);
815
815
  }
816
816
  return list;
817
817
  };
818
- protoOf(DealerReducerImpl).p2l = function (cards, cardToRemove) {
818
+ protoOf(DealerReducerImpl).z2m = function (cards, cardToRemove) {
819
819
  var tmp;
820
- if (!cardToRemove.v2k() ? cards.r(cardToRemove) : false) {
821
- if (this.n2l_1) {
822
- this.m2l_1.d('Dealer', 'Card removed: ' + cardToRemove + ', size: ' + (cards.n() - 1 | 0));
820
+ if (!cardToRemove.f2m() && cards.q1(cardToRemove)) {
821
+ if (this.x2m_1) {
822
+ this.w2m_1.d('Dealer', 'Card removed: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
823
823
  }
824
824
  tmp = minus(cards, cardToRemove);
825
825
  } else {
826
- if (this.n2l_1) {
827
- this.m2l_1.d('Dealer', 'Card removed as stub: ' + cardToRemove + ', size: ' + (cards.n() - 1 | 0));
826
+ if (this.x2m_1) {
827
+ this.w2m_1.d('Dealer', 'Card removed as stub: ' + cardToRemove.toString() + ', size: ' + (cards.m() - 1 | 0));
828
828
  }
829
829
  // Inline function 'kotlin.collections.filterNot' call
830
830
  // Inline function 'kotlin.collections.filterNotTo' call
831
831
  var destination = ArrayList_init_$Create$();
832
- var tmp0_iterator = cards.v();
833
- while (tmp0_iterator.w()) {
834
- var element = tmp0_iterator.y();
832
+ var tmp0_iterator = cards.j();
833
+ while (tmp0_iterator.k()) {
834
+ var element = tmp0_iterator.l();
835
835
  // Inline function 'io.raspberryapps.card_game.core.domain.dealer.DealerReducerImpl.removeCard.<anonymous>' call
836
- if (!element.v2k()) {
837
- destination.s(element);
836
+ if (!element.f2m()) {
837
+ destination.e(element);
838
838
  }
839
839
  }
840
840
  var notStubCards = destination;
841
841
  // Inline function 'kotlin.collections.filter' call
842
842
  // Inline function 'kotlin.collections.filterTo' call
843
843
  var destination_0 = ArrayList_init_$Create$();
844
- var tmp0_iterator_0 = cards.v();
845
- while (tmp0_iterator_0.w()) {
846
- var element_0 = tmp0_iterator_0.y();
844
+ var tmp0_iterator_0 = cards.j();
845
+ while (tmp0_iterator_0.k()) {
846
+ var element_0 = tmp0_iterator_0.l();
847
847
  // Inline function 'io.raspberryapps.card_game.core.domain.dealer.DealerReducerImpl.removeCard.<anonymous>' call
848
- if (element_0.v2k()) {
849
- destination_0.s(element_0);
848
+ if (element_0.f2m()) {
849
+ destination_0.e(element_0);
850
850
  }
851
851
  }
852
852
  var stubCards = destination_0;
853
- if (stubCards.c1()) {
854
- this.m2l_1.w('Dealer', "Can't find card to delete for player, " + ('cards:' + cards + ', ') + ('cardToRemove: ' + cardToRemove));
853
+ if (stubCards.p()) {
854
+ this.w2m_1.w('Dealer', "Can't find card to delete for player, " + ('cards:' + toString(cards) + ', ') + ('cardToRemove: ' + cardToRemove.toString()));
855
855
  }
856
856
  tmp = plus(notStubCards, dropLast(stubCards, 1));
857
857
  }
858
858
  return tmp;
859
859
  };
860
- protoOf(DealerReducerImpl).q2l = function (cards, cardToAdd) {
861
- if (this.n2l_1) {
862
- this.m2l_1.d('Dealer', 'Card added: ' + cardToAdd + ', size: ' + (cards.n() + 1 | 0));
860
+ protoOf(DealerReducerImpl).a2n = function (cards, cardToAdd) {
861
+ if (this.x2m_1) {
862
+ this.w2m_1.d('Dealer', 'Card added: ' + cardToAdd.toString() + ', size: ' + (cards.m() + 1 | 0));
863
863
  }
864
- if (cards.r(cardToAdd)) {
865
- this.m2l_1.w('Dealer', 'Card already exists for player, ' + ('cards:' + cards + ', ') + ('cardToAdd: ' + cardToAdd));
864
+ if (cards.q1(cardToAdd)) {
865
+ this.w2m_1.w('Dealer', 'Card already exists for player, ' + ('cards:' + toString(cards) + ', ') + ('cardToAdd: ' + cardToAdd.toString()));
866
866
  }
867
867
  return plus_0(cards, cardToAdd);
868
868
  };
869
- function Companion_2() {
870
- this.r2l_1 = 'Dealer';
871
- }
872
- var Companion_instance_2;
873
- function Companion_getInstance_2() {
874
- return Companion_instance_2;
875
- }
876
869
  function DealerReducer() {
877
870
  }
878
- function Companion_3() {
871
+ function Companion_2() {
879
872
  }
880
- protoOf(Companion_3).s2l = function () {
873
+ protoOf(Companion_2).b2n = function () {
881
874
  return new CombinedRaspberryLogger(mutableListOf([new PlatformRaspberryLogger()]));
882
875
  };
883
- protoOf(Companion_3).g1n = function () {
876
+ protoOf(Companion_2).k1o = function () {
884
877
  // Inline function 'kotlin.collections.mutableListOf' call
885
878
  var tmp$ret$0 = ArrayList_init_$Create$();
886
879
  return new CombinedRaspberryLogger(tmp$ret$0);
887
880
  };
888
- var Companion_instance_3;
889
- function Companion_getInstance_3() {
890
- return Companion_instance_3;
881
+ var Companion_instance_2;
882
+ function Companion_getInstance_2() {
883
+ return Companion_instance_2;
891
884
  }
892
885
  function CombinedRaspberryLogger(logOutputs) {
893
- this.t2l_1 = logOutputs;
886
+ this.c2n_1 = logOutputs;
894
887
  }
895
- protoOf(CombinedRaspberryLogger).u2l = function (output) {
896
- this.t2l_1.s(output);
888
+ protoOf(CombinedRaspberryLogger).d2n = function (output) {
889
+ this.c2n_1.e(output);
897
890
  };
898
- protoOf(CombinedRaspberryLogger).v2l = function (tag, message, payload) {
891
+ protoOf(CombinedRaspberryLogger).e2n = function (tag, message, payload) {
899
892
  // Inline function 'kotlin.collections.forEach' call
900
- var tmp0_iterator = this.t2l_1.v();
901
- while (tmp0_iterator.w()) {
902
- var element = tmp0_iterator.y();
893
+ var tmp0_iterator = this.c2n_1.j();
894
+ while (tmp0_iterator.k()) {
895
+ var element = tmp0_iterator.l();
903
896
  // Inline function 'io.raspberryapps.card_game.core.utils.logger.CombinedRaspberryLogger.d.<anonymous>' call
904
897
  element.d(tag, message, payload);
905
898
  }
906
899
  };
907
- protoOf(CombinedRaspberryLogger).w2l = function (tag, message, exception, payload) {
900
+ protoOf(CombinedRaspberryLogger).f2n = function (tag, message, exception, payload) {
908
901
  // Inline function 'kotlin.collections.forEach' call
909
- var tmp0_iterator = this.t2l_1.v();
910
- while (tmp0_iterator.w()) {
911
- var element = tmp0_iterator.y();
902
+ var tmp0_iterator = this.c2n_1.j();
903
+ while (tmp0_iterator.k()) {
904
+ var element = tmp0_iterator.l();
912
905
  // Inline function 'io.raspberryapps.card_game.core.utils.logger.CombinedRaspberryLogger.e.<anonymous>' call
913
906
  element.e(tag, message, exception, payload);
914
907
  }
915
908
  };
916
- protoOf(CombinedRaspberryLogger).x2l = function (tag, message, exception, payload) {
909
+ protoOf(CombinedRaspberryLogger).g2n = function (tag, message, exception, payload) {
917
910
  // Inline function 'kotlin.collections.forEach' call
918
- var tmp0_iterator = this.t2l_1.v();
919
- while (tmp0_iterator.w()) {
920
- var element = tmp0_iterator.y();
911
+ var tmp0_iterator = this.c2n_1.j();
912
+ while (tmp0_iterator.k()) {
913
+ var element = tmp0_iterator.l();
921
914
  // Inline function 'io.raspberryapps.card_game.core.utils.logger.CombinedRaspberryLogger.w.<anonymous>' call
922
915
  element.w(tag, message, exception, payload);
923
916
  }
@@ -928,28 +921,28 @@
928
921
  }
929
922
  function PlatformRaspberryLogger(enabled) {
930
923
  enabled = enabled === VOID ? true : enabled;
931
- this.a2m_1 = enabled;
924
+ this.j2n_1 = enabled;
932
925
  }
933
- protoOf(PlatformRaspberryLogger).y2l = function (_set____db54di) {
934
- this.a2m_1 = _set____db54di;
926
+ protoOf(PlatformRaspberryLogger).h2n = function (_set____db54di) {
927
+ this.j2n_1 = _set____db54di;
935
928
  };
936
- protoOf(PlatformRaspberryLogger).z2l = function () {
937
- return this.a2m_1;
929
+ protoOf(PlatformRaspberryLogger).i2n = function () {
930
+ return this.j2n_1;
938
931
  };
939
- protoOf(PlatformRaspberryLogger).v2l = function (tag, message, payload) {
940
- if (!this.a2m_1)
932
+ protoOf(PlatformRaspberryLogger).e2n = function (tag, message, payload) {
933
+ if (!this.j2n_1)
941
934
  return Unit_instance;
942
- Logger_getInstance().e2m(tag, message);
935
+ Logger_getInstance().n2n(tag, message);
943
936
  };
944
- protoOf(PlatformRaspberryLogger).w2l = function (tag, message, exception, payload) {
945
- if (!this.a2m_1)
937
+ protoOf(PlatformRaspberryLogger).f2n = function (tag, message, exception, payload) {
938
+ if (!this.j2n_1)
946
939
  return Unit_instance;
947
- Logger_getInstance().f2m(tag, message, exception);
940
+ Logger_getInstance().o2n(tag, message, exception);
948
941
  };
949
- protoOf(PlatformRaspberryLogger).x2l = function (tag, message, exception, payload) {
950
- if (!this.a2m_1)
942
+ protoOf(PlatformRaspberryLogger).g2n = function (tag, message, exception, payload) {
943
+ if (!this.j2n_1)
951
944
  return Unit_instance;
952
- Logger_getInstance().g2m(tag, message, exception);
945
+ Logger_getInstance().p2n(tag, message, exception);
953
946
  };
954
947
  function RaspberryLogger() {
955
948
  }
@@ -966,23 +959,23 @@
966
959
  Category_NONE_instance = new Category('NONE', 1, true);
967
960
  }
968
961
  function generateTag($this, tag) {
969
- return (!($this.d2m_1 == null) ? !(tag == null) : false) ? '' + $this.d2m_1 + ':' + tag : tag;
962
+ return !($this.m2n_1 == null) && !(tag == null) ? '' + $this.m2n_1 + ':' + tag : tag;
970
963
  }
971
964
  function Category(name, ordinal, isEnabled) {
972
965
  Enum.call(this, name, ordinal);
973
- this.j2m_1 = isEnabled;
966
+ this.s2n_1 = isEnabled;
974
967
  }
975
968
  function Logger$loggerSource$1() {
976
- this.k2m_1 = new PlatformLogger();
969
+ this.t2n_1 = new PlatformLogger();
977
970
  }
978
- protoOf(Logger$loggerSource$1).l2m = function (tag, msg) {
979
- this.k2m_1.l2m(tag, msg);
971
+ protoOf(Logger$loggerSource$1).u2n = function (tag, msg) {
972
+ this.t2n_1.u2n(tag, msg);
980
973
  };
981
- protoOf(Logger$loggerSource$1).m2m = function (tag, msg, exception) {
982
- this.k2m_1.m2m(tag, msg, exception);
974
+ protoOf(Logger$loggerSource$1).v2n = function (tag, msg, exception) {
975
+ this.t2n_1.v2n(tag, msg, exception);
983
976
  };
984
- protoOf(Logger$loggerSource$1).n2m = function (tag, msg, exception) {
985
- this.k2m_1.n2m(tag, msg, exception);
977
+ protoOf(Logger$loggerSource$1).w2n = function (tag, msg, exception) {
978
+ this.t2n_1.w2n(tag, msg, exception);
986
979
  };
987
980
  function Category_NONE_getInstance() {
988
981
  Category_initEntries();
@@ -991,63 +984,63 @@
991
984
  function Logger() {
992
985
  Logger_instance = this;
993
986
  var tmp = this;
994
- tmp.b2m_1 = new Logger$loggerSource$1();
995
- this.c2m_1 = true;
996
- this.d2m_1 = null;
987
+ tmp.k2n_1 = new Logger$loggerSource$1();
988
+ this.l2n_1 = true;
989
+ this.m2n_1 = null;
997
990
  }
998
- protoOf(Logger).e2m = function (tag, message) {
999
- this.o2m(tag, message, Category_NONE_getInstance());
991
+ protoOf(Logger).n2n = function (tag, message) {
992
+ this.x2n(tag, message, Category_NONE_getInstance());
1000
993
  };
1001
- protoOf(Logger).p2m = function (tag, message, exception, category) {
1002
- if (this.c2m_1 ? category.j2m_1 : false) {
994
+ protoOf(Logger).y2n = function (tag, message, exception, category) {
995
+ if (this.l2n_1 && category.s2n_1) {
1003
996
  if (exception == null)
1004
997
  null;
1005
998
  else {
1006
999
  printStackTrace(exception);
1007
1000
  }
1008
- this.b2m_1.n2m(generateTag(this, tag), generateMsg(message, exception), exception);
1001
+ this.k2n_1.w2n(generateTag(this, tag), generateMsg(message, exception), exception);
1009
1002
  }
1010
1003
  };
1011
- protoOf(Logger).g2m = function (tag, message, exception, category, $super) {
1004
+ protoOf(Logger).p2n = function (tag, message, exception, category, $super) {
1012
1005
  tag = tag === VOID ? null : tag;
1013
1006
  message = message === VOID ? null : message;
1014
1007
  exception = exception === VOID ? null : exception;
1015
1008
  category = category === VOID ? Category_NONE_getInstance() : category;
1016
1009
  var tmp;
1017
1010
  if ($super === VOID) {
1018
- this.p2m(tag, message, exception, category);
1011
+ this.y2n(tag, message, exception, category);
1019
1012
  tmp = Unit_instance;
1020
1013
  } else {
1021
- tmp = $super.p2m.call(this, tag, message, exception, category);
1014
+ tmp = $super.y2n.call(this, tag, message, exception, category);
1022
1015
  }
1023
1016
  return tmp;
1024
1017
  };
1025
- protoOf(Logger).o2m = function (tag, message, category) {
1026
- if (this.c2m_1 ? category.j2m_1 : false) {
1027
- this.b2m_1.l2m(generateTag(this, tag), message);
1018
+ protoOf(Logger).x2n = function (tag, message, category) {
1019
+ if (this.l2n_1 && category.s2n_1) {
1020
+ this.k2n_1.u2n(generateTag(this, tag), message);
1028
1021
  }
1029
1022
  };
1030
- protoOf(Logger).q2m = function (tag, message, exception, category) {
1031
- if (this.c2m_1 ? category.j2m_1 : false) {
1023
+ protoOf(Logger).z2n = function (tag, message, exception, category) {
1024
+ if (this.l2n_1 && category.s2n_1) {
1032
1025
  if (exception == null)
1033
1026
  null;
1034
1027
  else {
1035
1028
  printStackTrace(exception);
1036
1029
  }
1037
- this.b2m_1.m2m(generateTag(this, tag), generateMsg(message, exception), exception);
1030
+ this.k2n_1.v2n(generateTag(this, tag), generateMsg(message, exception), exception);
1038
1031
  }
1039
1032
  };
1040
- protoOf(Logger).f2m = function (tag, message, exception, category, $super) {
1033
+ protoOf(Logger).o2n = function (tag, message, exception, category, $super) {
1041
1034
  tag = tag === VOID ? null : tag;
1042
1035
  message = message === VOID ? null : message;
1043
1036
  exception = exception === VOID ? null : exception;
1044
1037
  category = category === VOID ? Category_NONE_getInstance() : category;
1045
1038
  var tmp;
1046
1039
  if ($super === VOID) {
1047
- this.q2m(tag, message, exception, category);
1040
+ this.z2n(tag, message, exception, category);
1048
1041
  tmp = Unit_instance;
1049
1042
  } else {
1050
- tmp = $super.q2m.call(this, tag, message, exception, category);
1043
+ tmp = $super.z2n.call(this, tag, message, exception, category);
1051
1044
  }
1052
1045
  return tmp;
1053
1046
  };
@@ -1061,7 +1054,7 @@
1061
1054
  var logMessage = '';
1062
1055
  // Inline function 'kotlin.text.isNullOrBlank' call
1063
1056
  // Inline function 'kotlin.contracts.contract' call
1064
- if (!(msg == null ? true : isBlank(msg))) {
1057
+ if (!(msg == null || isBlank(msg))) {
1065
1058
  logMessage = logMessage + msg;
1066
1059
  }
1067
1060
  if (!(exception == null)) {
@@ -1080,23 +1073,23 @@
1080
1073
  }
1081
1074
  function PlatformLogger() {
1082
1075
  }
1083
- protoOf(PlatformLogger).l2m = function (tag, msg) {
1076
+ protoOf(PlatformLogger).u2n = function (tag, msg) {
1084
1077
  console.log(getLogTag(tag) + ': ' + msg);
1085
1078
  };
1086
- protoOf(PlatformLogger).m2m = function (tag, msg, exception) {
1079
+ protoOf(PlatformLogger).v2n = function (tag, msg, exception) {
1087
1080
  if (!(exception == null)) {
1088
- console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + exception);
1081
+ console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + toString_0(exception));
1089
1082
  } else {
1090
1083
  console.error(getLogTag(tag) + ': ' + msg);
1091
1084
  }
1092
1085
  };
1093
- protoOf(PlatformLogger).n2m = function (tag, msg, exception) {
1086
+ protoOf(PlatformLogger).w2n = function (tag, msg, exception) {
1094
1087
  var tmp = console;
1095
1088
  var tmp_0 = getLogTag(tag);
1096
1089
  tmp.warn(tmp_0 + ': ' + msg + ' ' + toString(exception == null ? '' : exception));
1097
1090
  };
1098
1091
  //region block: post-declaration
1099
- protoOf(CombinationsCheckerProviderImpl).k2l = findCardsInRowCombinations$default;
1092
+ protoOf(CombinationsCheckerProviderImpl).u2m = findCardsInRowCombinations$default;
1100
1093
  protoOf(CombinedRaspberryLogger).d = d;
1101
1094
  protoOf(CombinedRaspberryLogger).e = e;
1102
1095
  protoOf(CombinedRaspberryLogger).w = w;
@@ -1104,9 +1097,9 @@
1104
1097
  protoOf(PlatformRaspberryLogger).e = e;
1105
1098
  protoOf(PlatformRaspberryLogger).w = w;
1106
1099
  defineProp(protoOf(PlatformRaspberryLogger), 'enabled', function () {
1107
- return this.z2l();
1100
+ return this.i2n();
1108
1101
  }, function (value) {
1109
- this.y2l(value);
1102
+ this.h2n(value);
1110
1103
  });
1111
1104
  //endregion
1112
1105
  //region block: init
@@ -1116,7 +1109,6 @@
1116
1109
  Companion_instance = new Companion();
1117
1110
  Companion_instance_0 = new Companion_0();
1118
1111
  Companion_instance_2 = new Companion_2();
1119
- Companion_instance_3 = new Companion_3();
1120
1112
  //endregion
1121
1113
  //region block: exports
1122
1114
  function $jsExportAll$(_) {
@@ -1169,26 +1161,25 @@
1169
1161
  _.$_$.m = CardNumberComparator_instance;
1170
1162
  _.$_$.n = Companion_instance;
1171
1163
  _.$_$.o = Companion_getInstance_1;
1172
- _.$_$.p = Companion_instance_2;
1173
- _.$_$.q = Logger_getInstance;
1174
- _.$_$.r = Companion_instance_3;
1175
- _.$_$.s = GameCard;
1176
- _.$_$.t = get_entries;
1177
- _.$_$.u = values;
1178
- _.$_$.v = distributeCardsBottom;
1179
- _.$_$.w = distributeCardsTop;
1180
- _.$_$.x = filterByCardName;
1181
- _.$_$.y = CardsDealerProvider;
1182
- _.$_$.z = CombinationsCheckerProviderImpl;
1183
- _.$_$.a1 = CombinationsCheckerProvider;
1184
- _.$_$.b1 = DealerReducerImpl;
1185
- _.$_$.c1 = DealerReducer;
1186
- _.$_$.d1 = LoggerOutput;
1187
- _.$_$.e1 = generateMsg;
1188
- _.$_$.f1 = CombinedRaspberryLogger;
1189
- _.$_$.g1 = LoggerEnabledTrigger;
1190
- _.$_$.h1 = LoggerPayload;
1191
- _.$_$.i1 = RaspberryLogger;
1164
+ _.$_$.p = Logger_getInstance;
1165
+ _.$_$.q = Companion_instance_2;
1166
+ _.$_$.r = GameCard;
1167
+ _.$_$.s = get_entries;
1168
+ _.$_$.t = values;
1169
+ _.$_$.u = distributeCardsBottom;
1170
+ _.$_$.v = distributeCardsTop;
1171
+ _.$_$.w = filterByCardName;
1172
+ _.$_$.x = CardsDealerProvider;
1173
+ _.$_$.y = CombinationsCheckerProviderImpl;
1174
+ _.$_$.z = CombinationsCheckerProvider;
1175
+ _.$_$.a1 = DealerReducerImpl;
1176
+ _.$_$.b1 = DealerReducer;
1177
+ _.$_$.c1 = LoggerOutput;
1178
+ _.$_$.d1 = generateMsg;
1179
+ _.$_$.e1 = CombinedRaspberryLogger;
1180
+ _.$_$.f1 = LoggerEnabledTrigger;
1181
+ _.$_$.g1 = LoggerPayload;
1182
+ _.$_$.h1 = RaspberryLogger;
1192
1183
  //endregion
1193
1184
  return _;
1194
1185
  }));