game_client_logic_deb 1.8.496 → 1.8.497

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.
@@ -206,15 +206,15 @@
206
206
  function PlayCard(card, combinations) {
207
207
  combinations = combinations === VOID ? null : combinations;
208
208
  BotAction.call(this);
209
- this.bah_1 = card;
210
- this.cah_1 = combinations;
209
+ this.gah_1 = card;
210
+ this.hah_1 = combinations;
211
211
  }
212
212
  protoOf(PlayCard).toString = function () {
213
- return 'PlayCard(card=' + this.bah_1.toString() + ', combinations=' + toString(this.cah_1) + ')';
213
+ return 'PlayCard(card=' + this.gah_1.toString() + ', combinations=' + toString(this.hah_1) + ')';
214
214
  };
215
215
  protoOf(PlayCard).hashCode = function () {
216
- var result = this.bah_1.hashCode();
217
- result = imul(result, 31) + (this.cah_1 == null ? 0 : hashCode(this.cah_1)) | 0;
216
+ var result = this.gah_1.hashCode();
217
+ result = imul(result, 31) + (this.hah_1 == null ? 0 : hashCode(this.hah_1)) | 0;
218
218
  return result;
219
219
  };
220
220
  protoOf(PlayCard).equals = function (other) {
@@ -222,47 +222,47 @@
222
222
  return true;
223
223
  if (!(other instanceof PlayCard))
224
224
  return false;
225
- if (!this.bah_1.equals(other.bah_1))
225
+ if (!this.gah_1.equals(other.gah_1))
226
226
  return false;
227
- if (!equals(this.cah_1, other.cah_1))
227
+ if (!equals(this.hah_1, other.hah_1))
228
228
  return false;
229
229
  return true;
230
230
  };
231
231
  function SelectSuit(suit) {
232
232
  BotAction.call(this);
233
- this.dah_1 = suit;
233
+ this.iah_1 = suit;
234
234
  }
235
235
  protoOf(SelectSuit).toString = function () {
236
- return 'SelectSuit(suit=' + toString(this.dah_1) + ')';
236
+ return 'SelectSuit(suit=' + toString(this.iah_1) + ')';
237
237
  };
238
238
  protoOf(SelectSuit).hashCode = function () {
239
- return this.dah_1 == null ? 0 : this.dah_1.hashCode();
239
+ return this.iah_1 == null ? 0 : this.iah_1.hashCode();
240
240
  };
241
241
  protoOf(SelectSuit).equals = function (other) {
242
242
  if (this === other)
243
243
  return true;
244
244
  if (!(other instanceof SelectSuit))
245
245
  return false;
246
- if (!equals(this.dah_1, other.dah_1))
246
+ if (!equals(this.iah_1, other.iah_1))
247
247
  return false;
248
248
  return true;
249
249
  };
250
250
  function AcceptCombinations(isAccepted) {
251
251
  BotAction.call(this);
252
- this.eah_1 = isAccepted;
252
+ this.jah_1 = isAccepted;
253
253
  }
254
254
  protoOf(AcceptCombinations).toString = function () {
255
- return 'AcceptCombinations(isAccepted=' + this.eah_1 + ')';
255
+ return 'AcceptCombinations(isAccepted=' + this.jah_1 + ')';
256
256
  };
257
257
  protoOf(AcceptCombinations).hashCode = function () {
258
- return getBooleanHashCode(this.eah_1);
258
+ return getBooleanHashCode(this.jah_1);
259
259
  };
260
260
  protoOf(AcceptCombinations).equals = function (other) {
261
261
  if (this === other)
262
262
  return true;
263
263
  if (!(other instanceof AcceptCombinations))
264
264
  return false;
265
- if (!(this.eah_1 === other.eah_1))
265
+ if (!(this.jah_1 === other.jah_1))
266
266
  return false;
267
267
  return true;
268
268
  };
@@ -275,59 +275,59 @@
275
275
  trumpTakenInFirstCircle = trumpTakenInFirstCircle === VOID ? null : trumpTakenInFirstCircle;
276
276
  trumpDeclarerId = trumpDeclarerId === VOID ? null : trumpDeclarerId;
277
277
  handSize = handSize === VOID ? 8 : handSize;
278
- this.fah_1 = focalPlayerId;
279
- this.gah_1 = playerOrder;
280
- this.hah_1 = ownCards;
281
- this.iah_1 = playedCards;
282
- this.jah_1 = currentTrick;
283
- this.kah_1 = trump;
284
- this.lah_1 = trumpCard;
285
- this.mah_1 = isTrumpDeclarer;
286
- this.nah_1 = suitSelectionHistory;
287
- this.oah_1 = ownTeamScore;
288
- this.pah_1 = opponentTeamScore;
289
- this.qah_1 = ownRoundPoints;
290
- this.rah_1 = opponentRoundPoints;
291
- this.sah_1 = trickNumber;
292
- this.tah_1 = positionInTrick;
293
- this.uah_1 = ownTeamWonLastTrick;
294
- this.vah_1 = suitVoids;
295
- this.wah_1 = trumpTakenInFirstCircle;
296
- this.xah_1 = trumpDeclarerId;
297
- this.yah_1 = declaredCombinations;
298
- this.zah_1 = rules;
299
- this.aai_1 = playersMode;
300
- this.bai_1 = handSize;
301
- this.cai_1 = pointsMode;
278
+ this.kah_1 = focalPlayerId;
279
+ this.lah_1 = playerOrder;
280
+ this.mah_1 = ownCards;
281
+ this.nah_1 = playedCards;
282
+ this.oah_1 = currentTrick;
283
+ this.pah_1 = trump;
284
+ this.qah_1 = trumpCard;
285
+ this.rah_1 = isTrumpDeclarer;
286
+ this.sah_1 = suitSelectionHistory;
287
+ this.tah_1 = ownTeamScore;
288
+ this.uah_1 = opponentTeamScore;
289
+ this.vah_1 = ownRoundPoints;
290
+ this.wah_1 = opponentRoundPoints;
291
+ this.xah_1 = trickNumber;
292
+ this.yah_1 = positionInTrick;
293
+ this.zah_1 = ownTeamWonLastTrick;
294
+ this.aai_1 = suitVoids;
295
+ this.bai_1 = trumpTakenInFirstCircle;
296
+ this.cai_1 = trumpDeclarerId;
297
+ this.dai_1 = declaredCombinations;
298
+ this.eai_1 = rules;
299
+ this.fai_1 = playersMode;
300
+ this.gai_1 = handSize;
301
+ this.hai_1 = pointsMode;
302
302
  }
303
303
  protoOf(BotGameState).toString = function () {
304
- return 'BotGameState(focalPlayerId=' + this.fah_1 + ', playerOrder=' + toString_0(this.gah_1) + ', ownCards=' + toString_0(this.hah_1) + ', playedCards=' + toString_0(this.iah_1) + ', currentTrick=' + toString_0(this.jah_1) + ', trump=' + toString(this.kah_1) + ', trumpCard=' + toString(this.lah_1) + ', isTrumpDeclarer=' + this.mah_1 + ', suitSelectionHistory=' + toString_0(this.nah_1) + ', ownTeamScore=' + this.oah_1 + ', opponentTeamScore=' + this.pah_1 + ', ownRoundPoints=' + this.qah_1 + ', opponentRoundPoints=' + this.rah_1 + ', trickNumber=' + this.sah_1 + ', positionInTrick=' + this.tah_1 + ', ownTeamWonLastTrick=' + this.uah_1 + ', suitVoids=' + toString_0(this.vah_1) + ', trumpTakenInFirstCircle=' + this.wah_1 + ', trumpDeclarerId=' + this.xah_1 + ', declaredCombinations=' + toString_0(this.yah_1) + ', rules=' + this.zah_1.toString() + ', playersMode=' + this.aai_1.toString() + ', handSize=' + this.bai_1 + ', pointsMode=' + this.cai_1.toString() + ')';
304
+ return 'BotGameState(focalPlayerId=' + this.kah_1 + ', playerOrder=' + toString_0(this.lah_1) + ', ownCards=' + toString_0(this.mah_1) + ', playedCards=' + toString_0(this.nah_1) + ', currentTrick=' + toString_0(this.oah_1) + ', trump=' + toString(this.pah_1) + ', trumpCard=' + toString(this.qah_1) + ', isTrumpDeclarer=' + this.rah_1 + ', suitSelectionHistory=' + toString_0(this.sah_1) + ', ownTeamScore=' + this.tah_1 + ', opponentTeamScore=' + this.uah_1 + ', ownRoundPoints=' + this.vah_1 + ', opponentRoundPoints=' + this.wah_1 + ', trickNumber=' + this.xah_1 + ', positionInTrick=' + this.yah_1 + ', ownTeamWonLastTrick=' + this.zah_1 + ', suitVoids=' + toString_0(this.aai_1) + ', trumpTakenInFirstCircle=' + this.bai_1 + ', trumpDeclarerId=' + this.cai_1 + ', declaredCombinations=' + toString_0(this.dai_1) + ', rules=' + this.eai_1.toString() + ', playersMode=' + this.fai_1.toString() + ', handSize=' + this.gai_1 + ', pointsMode=' + this.hai_1.toString() + ')';
305
305
  };
306
306
  protoOf(BotGameState).hashCode = function () {
307
- var result = getStringHashCode(this.fah_1);
308
- result = imul(result, 31) + hashCode(this.gah_1) | 0;
309
- result = imul(result, 31) + hashCode(this.hah_1) | 0;
310
- result = imul(result, 31) + hashCode(this.iah_1) | 0;
311
- result = imul(result, 31) + hashCode(this.jah_1) | 0;
312
- result = imul(result, 31) + (this.kah_1 == null ? 0 : this.kah_1.hashCode()) | 0;
313
- result = imul(result, 31) + (this.lah_1 == null ? 0 : this.lah_1.hashCode()) | 0;
314
- result = imul(result, 31) + getBooleanHashCode(this.mah_1) | 0;
307
+ var result = getStringHashCode(this.kah_1);
308
+ result = imul(result, 31) + hashCode(this.lah_1) | 0;
309
+ result = imul(result, 31) + hashCode(this.mah_1) | 0;
315
310
  result = imul(result, 31) + hashCode(this.nah_1) | 0;
316
- result = imul(result, 31) + this.oah_1 | 0;
317
- result = imul(result, 31) + this.pah_1 | 0;
318
- result = imul(result, 31) + this.qah_1 | 0;
319
- result = imul(result, 31) + this.rah_1 | 0;
320
- result = imul(result, 31) + this.sah_1 | 0;
311
+ result = imul(result, 31) + hashCode(this.oah_1) | 0;
312
+ result = imul(result, 31) + (this.pah_1 == null ? 0 : this.pah_1.hashCode()) | 0;
313
+ result = imul(result, 31) + (this.qah_1 == null ? 0 : this.qah_1.hashCode()) | 0;
314
+ result = imul(result, 31) + getBooleanHashCode(this.rah_1) | 0;
315
+ result = imul(result, 31) + hashCode(this.sah_1) | 0;
321
316
  result = imul(result, 31) + this.tah_1 | 0;
322
- result = imul(result, 31) + getBooleanHashCode(this.uah_1) | 0;
323
- result = imul(result, 31) + hashCode(this.vah_1) | 0;
324
- result = imul(result, 31) + (this.wah_1 == null ? 0 : getBooleanHashCode(this.wah_1)) | 0;
325
- result = imul(result, 31) + (this.xah_1 == null ? 0 : getStringHashCode(this.xah_1)) | 0;
326
- result = imul(result, 31) + hashCode(this.yah_1) | 0;
327
- result = imul(result, 31) + this.zah_1.hashCode() | 0;
328
- result = imul(result, 31) + this.aai_1.hashCode() | 0;
329
- result = imul(result, 31) + this.bai_1 | 0;
330
- result = imul(result, 31) + this.cai_1.hashCode() | 0;
317
+ result = imul(result, 31) + this.uah_1 | 0;
318
+ result = imul(result, 31) + this.vah_1 | 0;
319
+ result = imul(result, 31) + this.wah_1 | 0;
320
+ result = imul(result, 31) + this.xah_1 | 0;
321
+ result = imul(result, 31) + this.yah_1 | 0;
322
+ result = imul(result, 31) + getBooleanHashCode(this.zah_1) | 0;
323
+ result = imul(result, 31) + hashCode(this.aai_1) | 0;
324
+ result = imul(result, 31) + (this.bai_1 == null ? 0 : getBooleanHashCode(this.bai_1)) | 0;
325
+ result = imul(result, 31) + (this.cai_1 == null ? 0 : getStringHashCode(this.cai_1)) | 0;
326
+ result = imul(result, 31) + hashCode(this.dai_1) | 0;
327
+ result = imul(result, 31) + this.eai_1.hashCode() | 0;
328
+ result = imul(result, 31) + this.fai_1.hashCode() | 0;
329
+ result = imul(result, 31) + this.gai_1 | 0;
330
+ result = imul(result, 31) + this.hai_1.hashCode() | 0;
331
331
  return result;
332
332
  };
333
333
  protoOf(BotGameState).equals = function (other) {
@@ -335,68 +335,68 @@
335
335
  return true;
336
336
  if (!(other instanceof BotGameState))
337
337
  return false;
338
- if (!(this.fah_1 === other.fah_1))
339
- return false;
340
- if (!equals(this.gah_1, other.gah_1))
341
- return false;
342
- if (!equals(this.hah_1, other.hah_1))
343
- return false;
344
- if (!equals(this.iah_1, other.iah_1))
345
- return false;
346
- if (!equals(this.jah_1, other.jah_1))
347
- return false;
348
- if (!equals(this.kah_1, other.kah_1))
338
+ if (!(this.kah_1 === other.kah_1))
349
339
  return false;
350
340
  if (!equals(this.lah_1, other.lah_1))
351
341
  return false;
352
- if (!(this.mah_1 === other.mah_1))
342
+ if (!equals(this.mah_1, other.mah_1))
353
343
  return false;
354
344
  if (!equals(this.nah_1, other.nah_1))
355
345
  return false;
356
- if (!(this.oah_1 === other.oah_1))
346
+ if (!equals(this.oah_1, other.oah_1))
357
347
  return false;
358
- if (!(this.pah_1 === other.pah_1))
348
+ if (!equals(this.pah_1, other.pah_1))
359
349
  return false;
360
- if (!(this.qah_1 === other.qah_1))
350
+ if (!equals(this.qah_1, other.qah_1))
361
351
  return false;
362
352
  if (!(this.rah_1 === other.rah_1))
363
353
  return false;
364
- if (!(this.sah_1 === other.sah_1))
354
+ if (!equals(this.sah_1, other.sah_1))
365
355
  return false;
366
356
  if (!(this.tah_1 === other.tah_1))
367
357
  return false;
368
358
  if (!(this.uah_1 === other.uah_1))
369
359
  return false;
370
- if (!equals(this.vah_1, other.vah_1))
360
+ if (!(this.vah_1 === other.vah_1))
361
+ return false;
362
+ if (!(this.wah_1 === other.wah_1))
363
+ return false;
364
+ if (!(this.xah_1 === other.xah_1))
365
+ return false;
366
+ if (!(this.yah_1 === other.yah_1))
367
+ return false;
368
+ if (!(this.zah_1 === other.zah_1))
369
+ return false;
370
+ if (!equals(this.aai_1, other.aai_1))
371
371
  return false;
372
- if (!(this.wah_1 == other.wah_1))
372
+ if (!(this.bai_1 == other.bai_1))
373
373
  return false;
374
- if (!(this.xah_1 == other.xah_1))
374
+ if (!(this.cai_1 == other.cai_1))
375
375
  return false;
376
- if (!equals(this.yah_1, other.yah_1))
376
+ if (!equals(this.dai_1, other.dai_1))
377
377
  return false;
378
- if (!this.zah_1.equals(other.zah_1))
378
+ if (!this.eai_1.equals(other.eai_1))
379
379
  return false;
380
- if (!this.aai_1.equals(other.aai_1))
380
+ if (!this.fai_1.equals(other.fai_1))
381
381
  return false;
382
- if (!(this.bai_1 === other.bai_1))
382
+ if (!(this.gai_1 === other.gai_1))
383
383
  return false;
384
- if (!this.cai_1.equals(other.cai_1))
384
+ if (!this.hai_1.equals(other.hai_1))
385
385
  return false;
386
386
  return true;
387
387
  };
388
388
  function SuitSelectionEvent(playerId, suit, circleNumber) {
389
- this.dai_1 = playerId;
390
- this.eai_1 = suit;
391
- this.fai_1 = circleNumber;
389
+ this.iai_1 = playerId;
390
+ this.jai_1 = suit;
391
+ this.kai_1 = circleNumber;
392
392
  }
393
393
  protoOf(SuitSelectionEvent).toString = function () {
394
- return 'SuitSelectionEvent(playerId=' + this.dai_1 + ', suit=' + toString(this.eai_1) + ', circleNumber=' + this.fai_1 + ')';
394
+ return 'SuitSelectionEvent(playerId=' + this.iai_1 + ', suit=' + toString(this.jai_1) + ', circleNumber=' + this.kai_1 + ')';
395
395
  };
396
396
  protoOf(SuitSelectionEvent).hashCode = function () {
397
- var result = getStringHashCode(this.dai_1);
398
- result = imul(result, 31) + (this.eai_1 == null ? 0 : this.eai_1.hashCode()) | 0;
399
- result = imul(result, 31) + this.fai_1 | 0;
397
+ var result = getStringHashCode(this.iai_1);
398
+ result = imul(result, 31) + (this.jai_1 == null ? 0 : this.jai_1.hashCode()) | 0;
399
+ result = imul(result, 31) + this.kai_1 | 0;
400
400
  return result;
401
401
  };
402
402
  protoOf(SuitSelectionEvent).equals = function (other) {
@@ -404,11 +404,11 @@
404
404
  return true;
405
405
  if (!(other instanceof SuitSelectionEvent))
406
406
  return false;
407
- if (!(this.dai_1 === other.dai_1))
407
+ if (!(this.iai_1 === other.iai_1))
408
408
  return false;
409
- if (!equals(this.eai_1, other.eai_1))
409
+ if (!equals(this.jai_1, other.jai_1))
410
410
  return false;
411
- if (!(this.fai_1 === other.fai_1))
411
+ if (!(this.kai_1 === other.kai_1))
412
412
  return false;
413
413
  return true;
414
414
  };
@@ -416,36 +416,36 @@
416
416
  var _iterator__ex2g4s = cards.t();
417
417
  while (_iterator__ex2g4s.u()) {
418
418
  var card = _iterator__ex2g4s.v();
419
- vec[offset + CardLocationIndex_instance.jai(card) | 0] = 1.0;
419
+ vec[offset + CardLocationIndex_instance.oai(card) | 0] = 1.0;
420
420
  }
421
421
  return offset + 32 | 0;
422
422
  }
423
423
  function encodeCardOneHot($this, vec, offset, card) {
424
424
  if (!(card == null)) {
425
- vec[offset + CardLocationIndex_instance.jai(card) | 0] = 1.0;
425
+ vec[offset + CardLocationIndex_instance.oai(card) | 0] = 1.0;
426
426
  }
427
427
  return offset + 32 | 0;
428
428
  }
429
429
  function Companion() {
430
- this.kai_1 = 32;
431
- this.lai_1 = 162.0;
432
- this.mai_1 = 8.0;
430
+ this.pai_1 = 32;
431
+ this.qai_1 = 162.0;
432
+ this.rai_1 = 8.0;
433
433
  }
434
434
  var Companion_instance_1;
435
435
  function Companion_getInstance() {
436
436
  return Companion_instance_1;
437
437
  }
438
438
  function sam$kotlin_Comparator$0(function_0) {
439
- this.nai_1 = function_0;
439
+ this.sai_1 = function_0;
440
440
  }
441
441
  protoOf(sam$kotlin_Comparator$0).hd = function (a, b) {
442
- return this.nai_1(a, b);
442
+ return this.sai_1(a, b);
443
443
  };
444
444
  protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
445
445
  return this.hd(a, b);
446
446
  };
447
447
  protoOf(sam$kotlin_Comparator$0).s3 = function () {
448
- return this.nai_1;
448
+ return this.sai_1;
449
449
  };
450
450
  protoOf(sam$kotlin_Comparator$0).equals = function (other) {
451
451
  var tmp;
@@ -472,28 +472,28 @@
472
472
  return compareValues(tmp, tmp$ret$1);
473
473
  }
474
474
  function BeliefFeatureEncoder(playersMode) {
475
- this.oai_1 = playersMode;
476
- this.pai_1 = this.oai_1.count;
477
- this.qai_1 = this.pai_1 - 1 | 0;
475
+ this.tai_1 = playersMode;
476
+ this.uai_1 = this.tai_1.count;
477
+ this.vai_1 = this.uai_1 - 1 | 0;
478
478
  var tmp = this;
479
479
  // Inline function 'kotlin.run' call
480
- tmp.rai_1 = ((((((((((((((32 + imul(32, this.pai_1) | 0) + 96 | 0) + 4 | 0) + 32 | 0) + 1 | 0) + imul(this.pai_1, 4) | 0) + 8 | 0) + 4 | 0) + 4 | 0) + this.qai_1 | 0) + imul(this.qai_1, 4) | 0) + 1 | 0) + this.qai_1 | 0) + 4 | 0) + 1 | 0;
480
+ tmp.wai_1 = ((((((((((((((32 + imul(32, this.uai_1) | 0) + 96 | 0) + 4 | 0) + 32 | 0) + 1 | 0) + imul(this.uai_1, 4) | 0) + 8 | 0) + 4 | 0) + 4 | 0) + this.vai_1 | 0) + imul(this.vai_1, 4) | 0) + 1 | 0) + this.vai_1 | 0) + 4 | 0) + 1 | 0;
481
481
  }
482
- protoOf(BeliefFeatureEncoder).sai = function (state) {
483
- var vec = new Float32Array(this.rai_1);
482
+ protoOf(BeliefFeatureEncoder).xai = function (state) {
483
+ var vec = new Float32Array(this.wai_1);
484
484
  var offset = 0;
485
- var focalIndex = state.gah_1.o2(state.fah_1);
486
- var n = state.gah_1.g1();
487
- offset = encodeCardSet(this, vec, offset, state.hah_1);
485
+ var focalIndex = state.lah_1.o2(state.kah_1);
486
+ var n = state.lah_1.g1();
487
+ offset = encodeCardSet(this, vec, offset, state.mah_1);
488
488
  var inductionVariable = 0;
489
- var last = this.pai_1;
489
+ var last = this.uai_1;
490
490
  if (inductionVariable < last)
491
491
  do {
492
492
  var relPos = inductionVariable;
493
493
  inductionVariable = inductionVariable + 1 | 0;
494
494
  var absIdx = (focalIndex + relPos | 0) % n | 0;
495
495
  // Inline function 'kotlin.collections.getOrElse' call
496
- var this_0 = state.gah_1;
496
+ var this_0 = state.lah_1;
497
497
  var tmp;
498
498
  if (0 <= absIdx ? absIdx < this_0.g1() : false) {
499
499
  tmp = this_0.h1(absIdx);
@@ -502,12 +502,12 @@
502
502
  }
503
503
  var pid = tmp;
504
504
  var tmp_0 = offset;
505
- var tmp0_elvis_lhs = state.iah_1.w2(pid);
505
+ var tmp0_elvis_lhs = state.nah_1.w2(pid);
506
506
  offset = encodeCardSet(this, vec, tmp_0, tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs);
507
507
  }
508
508
  while (inductionVariable < last);
509
509
  // Inline function 'kotlin.collections.sortedBy' call
510
- var this_1 = state.jah_1;
510
+ var this_1 = state.oah_1;
511
511
  // Inline function 'kotlin.comparisons.compareBy' call
512
512
  var tmp_1 = BeliefFeatureEncoder$encode$lambda;
513
513
  var tmp$ret$2 = new sam$kotlin_Comparator$0(tmp_1);
@@ -522,24 +522,24 @@
522
522
  offset = encodeCardOneHot(this, vec, offset, card);
523
523
  }
524
524
  while (inductionVariable_0 <= 2);
525
- var trump = state.kah_1;
525
+ var trump = state.pah_1;
526
526
  if (!(trump == null)) {
527
527
  vec[offset + trump.a1_1 | 0] = 1.0;
528
528
  }
529
529
  offset = offset + 4 | 0;
530
- offset = encodeCardOneHot(this, vec, offset, state.lah_1);
530
+ offset = encodeCardOneHot(this, vec, offset, state.qah_1);
531
531
  var _unary__edvuaz = offset;
532
532
  offset = _unary__edvuaz + 1 | 0;
533
- vec[_unary__edvuaz] = state.mah_1 ? 1.0 : 0.0;
533
+ vec[_unary__edvuaz] = state.rah_1 ? 1.0 : 0.0;
534
534
  var inductionVariable_1 = 0;
535
- var last_0 = this.pai_1;
535
+ var last_0 = this.uai_1;
536
536
  if (inductionVariable_1 < last_0)
537
537
  do {
538
538
  var relPos_0 = inductionVariable_1;
539
539
  inductionVariable_1 = inductionVariable_1 + 1 | 0;
540
540
  var absIdx_0 = (focalIndex + relPos_0 | 0) % n | 0;
541
541
  // Inline function 'kotlin.collections.getOrElse' call
542
- var this_2 = state.gah_1;
542
+ var this_2 = state.lah_1;
543
543
  var tmp_2;
544
544
  if (0 <= absIdx_0 ? absIdx_0 < this_2.g1() : false) {
545
545
  tmp_2 = this_2.h1(absIdx_0);
@@ -548,13 +548,13 @@
548
548
  }
549
549
  var pid_0 = tmp_2;
550
550
  // Inline function 'kotlin.collections.filter' call
551
- var tmp0 = state.nah_1;
551
+ var tmp0 = state.sah_1;
552
552
  // Inline function 'kotlin.collections.filterTo' call
553
553
  var destination = ArrayList_init_$Create$();
554
554
  var _iterator__ex2g4s = tmp0.t();
555
555
  while (_iterator__ex2g4s.u()) {
556
556
  var element = _iterator__ex2g4s.v();
557
- if (element.dai_1 === pid_0 && !(element.eai_1 == null)) {
557
+ if (element.iai_1 === pid_0 && !(element.jai_1 == null)) {
558
558
  destination.e1(element);
559
559
  }
560
560
  }
@@ -565,7 +565,7 @@
565
565
  var _iterator__ex2g4s_0 = destination.t();
566
566
  while (_iterator__ex2g4s_0.u()) {
567
567
  var element_0 = _iterator__ex2g4s_0.v();
568
- var tmp0_safe_receiver = element_0.eai_1;
568
+ var tmp0_safe_receiver = element_0.jai_1;
569
569
  if (tmp0_safe_receiver == null)
570
570
  null;
571
571
  else {
@@ -586,34 +586,34 @@
586
586
  while (inductionVariable_2 < 4);
587
587
  }
588
588
  while (inductionVariable_1 < last_0);
589
- var trickIdx = coerceIn(state.sah_1, 0, 7);
589
+ var trickIdx = coerceIn(state.xah_1, 0, 7);
590
590
  vec[offset + trickIdx | 0] = 1.0;
591
591
  offset = offset + 8 | 0;
592
- var posIdx = coerceIn(state.tah_1, 0, 3);
592
+ var posIdx = coerceIn(state.yah_1, 0, 3);
593
593
  vec[offset + posIdx | 0] = 1.0;
594
594
  offset = offset + 4 | 0;
595
- var winTarget = coerceAtLeast(state.cai_1.value, 1.0);
595
+ var winTarget = coerceAtLeast(state.hai_1.value, 1.0);
596
596
  var _unary__edvuaz_1 = offset;
597
597
  offset = _unary__edvuaz_1 + 1 | 0;
598
- vec[_unary__edvuaz_1] = state.oah_1 / winTarget;
598
+ vec[_unary__edvuaz_1] = state.tah_1 / winTarget;
599
599
  var _unary__edvuaz_2 = offset;
600
600
  offset = _unary__edvuaz_2 + 1 | 0;
601
- vec[_unary__edvuaz_2] = state.pah_1 / winTarget;
601
+ vec[_unary__edvuaz_2] = state.uah_1 / winTarget;
602
602
  var _unary__edvuaz_3 = offset;
603
603
  offset = _unary__edvuaz_3 + 1 | 0;
604
- vec[_unary__edvuaz_3] = state.qah_1 / 162.0;
604
+ vec[_unary__edvuaz_3] = state.vah_1 / 162.0;
605
605
  var _unary__edvuaz_4 = offset;
606
606
  offset = _unary__edvuaz_4 + 1 | 0;
607
- vec[_unary__edvuaz_4] = state.rah_1 / 162.0;
607
+ vec[_unary__edvuaz_4] = state.wah_1 / 162.0;
608
608
  var inductionVariable_3 = 1;
609
- var last_1 = this.qai_1;
609
+ var last_1 = this.vai_1;
610
610
  if (inductionVariable_3 <= last_1)
611
611
  do {
612
612
  var relPos_1 = inductionVariable_3;
613
613
  inductionVariable_3 = inductionVariable_3 + 1 | 0;
614
614
  var absIdx_1 = (focalIndex + relPos_1 | 0) % n | 0;
615
615
  // Inline function 'kotlin.collections.getOrElse' call
616
- var this_3 = state.gah_1;
616
+ var this_3 = state.lah_1;
617
617
  var tmp_3;
618
618
  if (0 <= absIdx_1 ? absIdx_1 < this_3.g1() : false) {
619
619
  tmp_3 = this_3.h1(absIdx_1);
@@ -621,23 +621,23 @@
621
621
  tmp_3 = '';
622
622
  }
623
623
  var pid_1 = tmp_3;
624
- var tmp2_elvis_lhs = state.iah_1.w2(pid_1);
624
+ var tmp2_elvis_lhs = state.nah_1.w2(pid_1);
625
625
  var played = (tmp2_elvis_lhs == null ? emptyList() : tmp2_elvis_lhs).g1();
626
- var remaining = coerceAtLeast_0(state.bai_1 - played | 0, 0);
626
+ var remaining = coerceAtLeast_0(state.gai_1 - played | 0, 0);
627
627
  var _unary__edvuaz_5 = offset;
628
628
  offset = _unary__edvuaz_5 + 1 | 0;
629
- vec[_unary__edvuaz_5] = remaining / coerceAtLeast(state.bai_1, 1.0);
629
+ vec[_unary__edvuaz_5] = remaining / coerceAtLeast(state.gai_1, 1.0);
630
630
  }
631
631
  while (!(relPos_1 === last_1));
632
632
  var inductionVariable_4 = 1;
633
- var last_2 = this.qai_1;
633
+ var last_2 = this.vai_1;
634
634
  if (inductionVariable_4 <= last_2)
635
635
  do {
636
636
  var relPos_2 = inductionVariable_4;
637
637
  inductionVariable_4 = inductionVariable_4 + 1 | 0;
638
638
  var absIdx_2 = (focalIndex + relPos_2 | 0) % n | 0;
639
639
  // Inline function 'kotlin.collections.getOrElse' call
640
- var this_4 = state.gah_1;
640
+ var this_4 = state.lah_1;
641
641
  var tmp_4;
642
642
  if (0 <= absIdx_2 ? absIdx_2 < this_4.g1() : false) {
643
643
  tmp_4 = this_4.h1(absIdx_2);
@@ -645,7 +645,7 @@
645
645
  tmp_4 = '';
646
646
  }
647
647
  var pid_2 = tmp_4;
648
- var tmp3_elvis_lhs = state.vah_1.w2(pid_2);
648
+ var tmp3_elvis_lhs = state.aai_1.w2(pid_2);
649
649
  var voidsForPlayer = tmp3_elvis_lhs == null ? emptySet() : tmp3_elvis_lhs;
650
650
  var inductionVariable_5 = 0;
651
651
  if (inductionVariable_5 < 4)
@@ -661,17 +661,17 @@
661
661
  while (!(relPos_2 === last_2));
662
662
  var _unary__edvuaz_7 = offset;
663
663
  offset = _unary__edvuaz_7 + 1 | 0;
664
- vec[_unary__edvuaz_7] = state.wah_1 === true ? 1.0 : 0.0;
665
- var declarerId = state.xah_1;
664
+ vec[_unary__edvuaz_7] = state.bai_1 === true ? 1.0 : 0.0;
665
+ var declarerId = state.cai_1;
666
666
  var inductionVariable_6 = 1;
667
- var last_3 = this.qai_1;
667
+ var last_3 = this.vai_1;
668
668
  if (inductionVariable_6 <= last_3)
669
669
  do {
670
670
  var relPos_3 = inductionVariable_6;
671
671
  inductionVariable_6 = inductionVariable_6 + 1 | 0;
672
672
  var absIdx_3 = (focalIndex + relPos_3 | 0) % n | 0;
673
673
  // Inline function 'kotlin.collections.getOrElse' call
674
- var this_5 = state.gah_1;
674
+ var this_5 = state.lah_1;
675
675
  var tmp_5;
676
676
  if (0 <= absIdx_3 ? absIdx_3 < this_5.g1() : false) {
677
677
  tmp_5 = this_5.h1(absIdx_3);
@@ -686,7 +686,7 @@
686
686
  while (!(relPos_3 === last_3));
687
687
  var suitCounts = new Int32Array(4);
688
688
  // Inline function 'kotlin.collections.iterator' call
689
- var _iterator__ex2g4s_1 = state.iah_1.m1().t();
689
+ var _iterator__ex2g4s_1 = state.nah_1.m1().t();
690
690
  while (_iterator__ex2g4s_1.u()) {
691
691
  // Inline function 'kotlin.collections.component2' call
692
692
  var cards = _iterator__ex2g4s_1.v().o1();
@@ -697,7 +697,7 @@
697
697
  suitCounts[_index_0__fvwizt] = suitCounts[_index_0__fvwizt] + 1 | 0;
698
698
  }
699
699
  }
700
- var _iterator__ex2g4s_3 = state.jah_1.t();
700
+ var _iterator__ex2g4s_3 = state.oah_1.t();
701
701
  while (_iterator__ex2g4s_3.u()) {
702
702
  var cot = _iterator__ex2g4s_3.v();
703
703
  var _index_0__fvwizt_0 = cot.q84_1.a63().a1_1;
@@ -715,10 +715,10 @@
715
715
  while (inductionVariable_7 < 4);
716
716
  var _unary__edvuaz_10 = offset;
717
717
  offset = _unary__edvuaz_10 + 1 | 0;
718
- vec[_unary__edvuaz_10] = state.uah_1 ? 1.0 : 0.0;
718
+ vec[_unary__edvuaz_10] = state.zah_1 ? 1.0 : 0.0;
719
719
  // Inline function 'kotlin.check' call
720
- if (!(offset === this.rai_1)) {
721
- var message = 'BeliefFeatureEncoder: wrote ' + offset + ' floats but expected ' + this.rai_1;
720
+ if (!(offset === this.wai_1)) {
721
+ var message = 'BeliefFeatureEncoder: wrote ' + offset + ' floats but expected ' + this.wai_1;
722
722
  throw IllegalStateException_init_$Create$(toString_0(message));
723
723
  }
724
724
  return vec;
@@ -729,38 +729,38 @@
729
729
  return 1.0 / (1.0 + Math.exp(x_0));
730
730
  }
731
731
  function CardBeliefNetwork(engine, encoder, playersMode) {
732
- this.tai_1 = engine;
733
- this.uai_1 = encoder;
734
- this.vai_1 = playersMode;
735
- this.wai_1 = CardLocationIndex_instance.yai(this.vai_1);
736
- this.xai_1 = false;
737
- }
738
- protoOf(CardBeliefNetwork).zai = function (modelBytes) {
739
- this.tai_1.zai(modelBytes);
740
- this.xai_1 = true;
732
+ this.yai_1 = engine;
733
+ this.zai_1 = encoder;
734
+ this.aaj_1 = playersMode;
735
+ this.baj_1 = CardLocationIndex_instance.daj(this.aaj_1);
736
+ this.caj_1 = false;
737
+ }
738
+ protoOf(CardBeliefNetwork).eaj = function (modelBytes) {
739
+ this.yai_1.eaj(modelBytes);
740
+ this.caj_1 = true;
741
741
  };
742
- protoOf(CardBeliefNetwork).aaj = function (state) {
742
+ protoOf(CardBeliefNetwork).faj = function (state) {
743
743
  var knownCards = booleanArray(32);
744
- var _iterator__ex2g4s = state.hah_1.t();
744
+ var _iterator__ex2g4s = state.mah_1.t();
745
745
  while (_iterator__ex2g4s.u()) {
746
746
  var card = _iterator__ex2g4s.v();
747
- knownCards[CardLocationIndex_instance.jai(card)] = true;
747
+ knownCards[CardLocationIndex_instance.oai(card)] = true;
748
748
  }
749
749
  // Inline function 'kotlin.collections.iterator' call
750
- var _iterator__ex2g4s_0 = state.iah_1.m1().t();
750
+ var _iterator__ex2g4s_0 = state.nah_1.m1().t();
751
751
  while (_iterator__ex2g4s_0.u()) {
752
752
  // Inline function 'kotlin.collections.component2' call
753
753
  var cards = _iterator__ex2g4s_0.v().o1();
754
754
  var _iterator__ex2g4s_1 = cards.t();
755
755
  while (_iterator__ex2g4s_1.u()) {
756
756
  var card_0 = _iterator__ex2g4s_1.v();
757
- knownCards[CardLocationIndex_instance.jai(card_0)] = true;
757
+ knownCards[CardLocationIndex_instance.oai(card_0)] = true;
758
758
  }
759
759
  }
760
- var _iterator__ex2g4s_2 = state.jah_1.t();
760
+ var _iterator__ex2g4s_2 = state.oah_1.t();
761
761
  while (_iterator__ex2g4s_2.u()) {
762
762
  var cot = _iterator__ex2g4s_2.v();
763
- knownCards[CardLocationIndex_instance.jai(cot.q84_1)] = true;
763
+ knownCards[CardLocationIndex_instance.oai(cot.q84_1)] = true;
764
764
  }
765
765
  // Inline function 'kotlin.collections.mutableListOf' call
766
766
  var hiddenIndices = ArrayList_init_$Create$();
@@ -774,8 +774,8 @@
774
774
  }
775
775
  }
776
776
  while (inductionVariable < 32);
777
- if (!this.xai_1) {
778
- var uniform = 1.0 / this.wai_1;
777
+ if (!this.caj_1) {
778
+ var uniform = 1.0 / this.baj_1;
779
779
  var tmp = 0;
780
780
  var tmp_0 = hiddenIndices.g1();
781
781
  // Inline function 'kotlin.arrayOfNulls' call
@@ -783,7 +783,7 @@
783
783
  while (tmp < tmp_0) {
784
784
  var tmp_2 = tmp;
785
785
  var tmp_3 = 0;
786
- var tmp_4 = this.wai_1;
786
+ var tmp_4 = this.baj_1;
787
787
  var tmp_5 = new Float32Array(tmp_4);
788
788
  while (tmp_3 < tmp_4) {
789
789
  tmp_5[tmp_3] = uniform;
@@ -795,8 +795,8 @@
795
795
  var matrix = tmp_1;
796
796
  return new CardBeliefResult(matrix, toIntArray(hiddenIndices));
797
797
  }
798
- var features = this.uai_1.sai(state);
799
- var rawOutput = this.tai_1.baj(features);
798
+ var features = this.zai_1.xai(state);
799
+ var rawOutput = this.yai_1.gaj(features);
800
800
  var tmp_6 = 0;
801
801
  var tmp_7 = hiddenIndices.g1();
802
802
  // Inline function 'kotlin.arrayOfNulls' call
@@ -805,7 +805,7 @@
805
805
  var tmp_9 = tmp_6;
806
806
  var cardIdx = hiddenIndices.h1(tmp_9);
807
807
  var tmp_10;
808
- if (this.wai_1 === 1) {
808
+ if (this.baj_1 === 1) {
809
809
  // Inline function 'kotlin.collections.getOrElse' call
810
810
  var tmp_11;
811
811
  if (0 <= cardIdx ? cardIdx <= (rawOutput.length - 1 | 0) : false) {
@@ -817,9 +817,9 @@
817
817
  // Inline function 'kotlin.floatArrayOf' call
818
818
  tmp_10 = new Float32Array([sigmoid(this, logit)]);
819
819
  } else {
820
- var rowStart = imul(cardIdx, this.wai_1);
820
+ var rowStart = imul(cardIdx, this.baj_1);
821
821
  var tmp_12 = 0;
822
- var tmp_13 = this.wai_1;
822
+ var tmp_13 = this.baj_1;
823
823
  var tmp_14 = new Float32Array(tmp_13);
824
824
  while (tmp_12 < tmp_13) {
825
825
  var tmp_15 = tmp_12;
@@ -835,7 +835,7 @@
835
835
  tmp_12 = tmp_12 + 1 | 0;
836
836
  }
837
837
  var logits = tmp_14;
838
- tmp_10 = Companion_instance_4.daj(logits);
838
+ tmp_10 = Companion_instance_4.iaj(logits);
839
839
  }
840
840
  tmp_8[tmp_9] = tmp_10;
841
841
  tmp_6 = tmp_6 + 1 | 0;
@@ -844,8 +844,8 @@
844
844
  return new CardBeliefResult(matrix_0, toIntArray(hiddenIndices));
845
845
  };
846
846
  function CardBeliefResult(beliefMatrix, hiddenCardIndices) {
847
- this.eaj_1 = beliefMatrix;
848
- this.faj_1 = hiddenCardIndices;
847
+ this.jaj_1 = beliefMatrix;
848
+ this.kaj_1 = hiddenCardIndices;
849
849
  }
850
850
  protoOf(CardBeliefResult).equals = function (other) {
851
851
  if (this === other)
@@ -855,8 +855,8 @@
855
855
  if (!(other instanceof CardBeliefResult))
856
856
  THROW_CCE();
857
857
  var tmp;
858
- if (contentEquals_0(this.faj_1, other.faj_1) && this.eaj_1.length === other.eaj_1.length) {
859
- var tmp0 = get_indices(this.eaj_1);
858
+ if (contentEquals_0(this.kaj_1, other.kaj_1) && this.jaj_1.length === other.jaj_1.length) {
859
+ var tmp0 = get_indices(this.jaj_1);
860
860
  var tmp$ret$0;
861
861
  $l$block_0: {
862
862
  // Inline function 'kotlin.collections.all' call
@@ -877,7 +877,7 @@
877
877
  var element = inductionVariable;
878
878
  inductionVariable = inductionVariable + 1 | 0;
879
879
  var it = element;
880
- if (!contentEquals(this.eaj_1[it], other.eaj_1[it])) {
880
+ if (!contentEquals(this.jaj_1[it], other.jaj_1[it])) {
881
881
  tmp$ret$0 = false;
882
882
  break $l$block_0;
883
883
  }
@@ -892,22 +892,22 @@
892
892
  return tmp;
893
893
  };
894
894
  protoOf(CardBeliefResult).hashCode = function () {
895
- var result = contentHashCode(this.faj_1);
896
- result = imul(31, result) + contentDeepHashCode(this.eaj_1) | 0;
895
+ var result = contentHashCode(this.kaj_1);
896
+ result = imul(31, result) + contentDeepHashCode(this.jaj_1) | 0;
897
897
  return result;
898
898
  };
899
899
  protoOf(CardBeliefResult).toString = function () {
900
- return 'CardBeliefResult(beliefMatrix=' + toString_0(this.eaj_1) + ', hiddenCardIndices=' + toString_0(this.faj_1) + ')';
900
+ return 'CardBeliefResult(beliefMatrix=' + toString_0(this.jaj_1) + ', hiddenCardIndices=' + toString_0(this.kaj_1) + ')';
901
901
  };
902
902
  function CardLocationIndex() {
903
- this.gai_1 = 32;
904
- this.hai_1 = 4;
905
- this.iai_1 = 8;
903
+ this.lai_1 = 32;
904
+ this.mai_1 = 4;
905
+ this.nai_1 = 8;
906
906
  }
907
- protoOf(CardLocationIndex).jai = function (card) {
907
+ protoOf(CardLocationIndex).oai = function (card) {
908
908
  return imul(card.a63().a1_1, 8) + card.m().a1_1 | 0;
909
909
  };
910
- protoOf(CardLocationIndex).yai = function (mode) {
910
+ protoOf(CardLocationIndex).daj = function (mode) {
911
911
  return mode.count - 1 | 0;
912
912
  };
913
913
  var CardLocationIndex_instance;
@@ -915,16 +915,16 @@
915
915
  return CardLocationIndex_instance;
916
916
  }
917
917
  function sam$kotlin_Comparator$0_0(function_0) {
918
- this.gaj_1 = function_0;
918
+ this.laj_1 = function_0;
919
919
  }
920
920
  protoOf(sam$kotlin_Comparator$0_0).hd = function (a, b) {
921
- return this.gaj_1(a, b);
921
+ return this.laj_1(a, b);
922
922
  };
923
923
  protoOf(sam$kotlin_Comparator$0_0).compare = function (a, b) {
924
924
  return this.hd(a, b);
925
925
  };
926
926
  protoOf(sam$kotlin_Comparator$0_0).s3 = function () {
927
- return this.gaj_1;
927
+ return this.laj_1;
928
928
  };
929
929
  protoOf(sam$kotlin_Comparator$0_0).equals = function (other) {
930
930
  var tmp;
@@ -952,7 +952,7 @@
952
952
  }
953
953
  function SuitVoidDetector() {
954
954
  }
955
- protoOf(SuitVoidDetector).haj = function (tricks) {
955
+ protoOf(SuitVoidDetector).maj = function (tricks) {
956
956
  // Inline function 'kotlin.collections.mutableMapOf' call
957
957
  var voids = LinkedHashMap_init_$Create$();
958
958
  var _iterator__ex2g4s = tricks.t();
@@ -1021,7 +1021,7 @@
1021
1021
  while (_iterator__ex2g4s_1.u()) {
1022
1022
  var element = _iterator__ex2g4s_1.v();
1023
1023
  // Inline function 'kotlin.collections.filter' call
1024
- var tmp0_0 = element.j8g_1;
1024
+ var tmp0_0 = element.l8g_1;
1025
1025
  // Inline function 'kotlin.collections.filterTo' call
1026
1026
  var destination_1 = ArrayList_init_$Create$();
1027
1027
  var _iterator__ex2g4s_2 = tmp0_0.t();
@@ -1109,10 +1109,10 @@
1109
1109
  var _iterator__ex2g4s_7 = this_1.t();
1110
1110
  while (_iterator__ex2g4s_7.u()) {
1111
1111
  var item_1 = _iterator__ex2g4s_7.v();
1112
- var tmp$ret$21 = item_1.j8g_1;
1112
+ var tmp$ret$21 = item_1.l8g_1;
1113
1113
  destination_4.e1(tmp$ret$21);
1114
1114
  }
1115
- var suitVoids = tmp_1.haj(destination_4);
1115
+ var suitVoids = tmp_1.maj(destination_4);
1116
1116
  var tmp_2;
1117
1117
  if (!(trumpDeclarerId == null) && !(table.currentTrump == null)) {
1118
1118
  var circleNumber = trumpTakenInFirstCircle === true ? 1 : 2;
@@ -1177,7 +1177,7 @@
1177
1177
  var tmp4_ownCards = player.i7o_1;
1178
1178
  var tmp5_trump = table.currentTrump;
1179
1179
  var tmp1_safe_receiver = table.cardDeck;
1180
- var tmp6_trumpCard = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.s8g_1;
1180
+ var tmp6_trumpCard = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.u8g_1;
1181
1181
  var tmp7_isTrumpDeclarer = trumpDeclarerId === playerId;
1182
1182
  var tmp_5 = player.i7o_1.g1();
1183
1183
  var tmp2_safe_receiver = playedCards.w2(playerId);
@@ -1187,8 +1187,8 @@
1187
1187
  return new BotGameState(playerId, players, tmp4_ownCards, playedCards, cardsOnTable, tmp5_trump, tmp6_trumpCard, tmp7_isTrumpDeclarer, suitSelectionHistory, 0, 0, ownRoundPoints, opponentRoundPoints, trickNumber, positionInTrick, ownTeamWonLastTrick, suitVoids, trumpTakenInFirstCircle, trumpDeclarerId, declaredCombinations, rules, playersMode, tmp8_handSize, tmp9_pointsMode);
1188
1188
  }
1189
1189
  function computeLegalActions($this, playerId, table) {
1190
- var sceneId = table.sceneInfo.y8r_1;
1191
- var actId = table.sceneInfo.a8s_1;
1190
+ var sceneId = table.sceneInfo.a8s_1;
1191
+ var actId = table.sceneInfo.c8s_1;
1192
1192
  var tmp;
1193
1193
  if (actId === 'COMBINATION') {
1194
1194
  tmp = listOf_0([new AcceptCombinations(true), new AcceptCombinations(false)]);
@@ -1255,7 +1255,7 @@
1255
1255
  }
1256
1256
  var partnerPid = tmp_2;
1257
1257
  // Inline function 'kotlin.collections.map' call
1258
- var this_2 = TrickSimulator_instance.iaj(player_0.i7o_1, trickCards, trump, table.config.rules, table.config.playersMode, playerId, partnerPid);
1258
+ var this_2 = TrickSimulator_instance.naj(player_0.i7o_1, trickCards, trump, table.config.rules, table.config.playersMode, playerId, partnerPid);
1259
1259
  // Inline function 'kotlin.collections.mapTo' call
1260
1260
  var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_2, 10));
1261
1261
  var _iterator__ex2g4s_2 = this_2.t();
@@ -1287,25 +1287,25 @@
1287
1287
  function mapToClientAction($this, action, playerId, table) {
1288
1288
  var tmp;
1289
1289
  if (action instanceof SelectSuit) {
1290
- var tmp4_suit = action.dah_1;
1291
- var tmp1_$this = $this.laj_1;
1290
+ var tmp4_suit = action.iah_1;
1291
+ var tmp1_$this = $this.qaj_1;
1292
1292
  var tmp2_player = getPlayer(table.players, playerId);
1293
1293
  var tmp3_round = table.gameInfo.round;
1294
- var tmp5_tag = tmp1_$this.i9l(tmp3_round, tmp2_player);
1294
+ var tmp5_tag = tmp1_$this.m9l(tmp3_round, tmp2_player);
1295
1295
  tmp = new SuitChoiceFromClientAction(playerId, true, tmp5_tag, tmp4_suit);
1296
1296
  } else {
1297
1297
  if (action instanceof PlayCard) {
1298
- var tmp6_card = action.bah_1;
1299
- var tmp7_combinations = findCombinationsForCard($this, action.bah_1, playerId, table);
1300
- var tmp8_tag = $this.laj_1.j9l(table.gameInfo.round, VOID, table.cardsOnTable.g1());
1298
+ var tmp6_card = action.gah_1;
1299
+ var tmp7_combinations = findCombinationsForCard($this, action.gah_1, playerId, table);
1300
+ var tmp8_tag = $this.qaj_1.n9l(table.gameInfo.round, VOID, table.cardsOnTable.g1());
1301
1301
  tmp = new CardFromClientAction(playerId, true, tmp8_tag, tmp6_card, tmp7_combinations);
1302
1302
  } else {
1303
1303
  if (action instanceof AcceptCombinations) {
1304
- var tmp12_isAccepted = action.eah_1;
1305
- var tmp9_$this = $this.laj_1;
1304
+ var tmp12_isAccepted = action.jah_1;
1305
+ var tmp9_$this = $this.qaj_1;
1306
1306
  var tmp10_round = table.gameInfo.round;
1307
1307
  var tmp11_sceneInfo = table.sceneInfo;
1308
- var tmp13_tag = tmp9_$this.h9l(tmp11_sceneInfo, tmp10_round);
1308
+ var tmp13_tag = tmp9_$this.l9l(tmp11_sceneInfo, tmp10_round);
1309
1309
  tmp = new CombinationChoiceFromClientAction(playerId, true, tmp13_tag, tmp12_isAccepted);
1310
1310
  } else {
1311
1311
  noWhenBranchMatchedException();
@@ -1366,9 +1366,9 @@
1366
1366
  return tmp_2;
1367
1367
  }
1368
1368
  function handleWaitingAct($this, playerId, table) {
1369
- if (!(table.sceneInfo.a8s_1 === 'WAITING_ACT'))
1369
+ if (!(table.sceneInfo.c8s_1 === 'WAITING_ACT'))
1370
1370
  return null;
1371
- var tmp0 = table.sceneInfo.c8s_1;
1371
+ var tmp0 = table.sceneInfo.e8s_1;
1372
1372
  var tmp$ret$0;
1373
1373
  $l$block: {
1374
1374
  // Inline function 'games.jass.logic.data.models.scenes.requireActData' call
@@ -1399,11 +1399,11 @@
1399
1399
  do {
1400
1400
  var index = inductionVariable;
1401
1401
  inductionVariable = inductionVariable + 1 | 0;
1402
- var tmp$ret$1 = Companion_instance.i8k($this.kaj_1.c9l());
1402
+ var tmp$ret$1 = Companion_instance.k8k($this.paj_1.g9l());
1403
1403
  list.e1(tmp$ret$1);
1404
1404
  }
1405
1405
  while (inductionVariable < size);
1406
- var tmp3_tag = $this.laj_1.e9l(table.sceneInfo.y8r_1, table.gameInfo.round);
1406
+ var tmp3_tag = $this.qaj_1.i9l(table.sceneInfo.a8s_1, table.gameInfo.round);
1407
1407
  tmp_0 = new RequestedCardDecksFromClientAction(list, playerId, true, tmp3_tag);
1408
1408
  } else {
1409
1409
  noWhenBranchMatchedException();
@@ -1430,12 +1430,12 @@
1430
1430
  var playerIndex = tmp$ret$1;
1431
1431
  var partnerIndex = (playerIndex + 2 | 0) % table.players.g1() | 0;
1432
1432
  var partnerId = table.players.h1(partnerIndex).playerId;
1433
- var tmp0_tag = $this.laj_1.f9l(table.gameInfo.round);
1433
+ var tmp0_tag = $this.qaj_1.j9l(table.gameInfo.round);
1434
1434
  return new PartnerSelectedFromClientAction(playerId, true, tmp0_tag, partnerId);
1435
1435
  }
1436
1436
  function handleCalcPoints($this, playerId, table) {
1437
- if ($this.maj_1 === table.gameInfo.gameNumber) {
1438
- var tmp0 = table.sceneInfo.b8s_1;
1437
+ if ($this.raj_1 === table.gameInfo.gameNumber) {
1438
+ var tmp0 = table.sceneInfo.d8s_1;
1439
1439
  var tmp$ret$0;
1440
1440
  $l$block: {
1441
1441
  // Inline function 'games.jass.logic.data.models.scenes.requireSceneData' call
@@ -1453,23 +1453,23 @@
1453
1453
  return new ExitFromClientAction(playerId, true);
1454
1454
  }
1455
1455
  }
1456
- return new PlayerReadyFromClientAction(playerId, true, $this.laj_1.g9l(table.gameInfo.round));
1456
+ return new PlayerReadyFromClientAction(playerId, true, $this.qaj_1.k9l(table.gameInfo.round));
1457
1457
  }
1458
1458
  function BotPolicyAnswerProvider(policies, dealerInteractor, tagProvider, exitAfterGameNumber) {
1459
1459
  exitAfterGameNumber = exitAfterGameNumber === VOID ? null : exitAfterGameNumber;
1460
- this.jaj_1 = policies;
1461
- this.kaj_1 = dealerInteractor;
1462
- this.laj_1 = tagProvider;
1463
- this.maj_1 = exitAfterGameNumber;
1460
+ this.oaj_1 = policies;
1461
+ this.paj_1 = dealerInteractor;
1462
+ this.qaj_1 = tagProvider;
1463
+ this.raj_1 = exitAfterGameNumber;
1464
1464
  }
1465
- protoOf(BotPolicyAnswerProvider).ta3 = function (playerId, table) {
1465
+ protoOf(BotPolicyAnswerProvider).ya3 = function (playerId, table) {
1466
1466
  var waitingAction = handleWaitingAct(this, playerId, table);
1467
1467
  if (!(waitingAction == null))
1468
1468
  return waitingAction;
1469
- if (get_isCalcPointScene(table.sceneInfo.y8r_1)) {
1469
+ if (get_isCalcPointScene(table.sceneInfo.a8s_1)) {
1470
1470
  return handleCalcPoints(this, playerId, table);
1471
1471
  }
1472
- if (get_isChoosePartnerScene(table.sceneInfo.y8r_1)) {
1472
+ if (get_isChoosePartnerScene(table.sceneInfo.a8s_1)) {
1473
1473
  return handleChoosePartner(this, playerId, table);
1474
1474
  }
1475
1475
  var tmp0 = table.players;
@@ -1489,32 +1489,32 @@
1489
1489
  tmp$ret$1 = -1;
1490
1490
  }
1491
1491
  var seatIndex = tmp$ret$1;
1492
- var policy = this.jaj_1[seatIndex % this.jaj_1.length | 0];
1492
+ var policy = this.oaj_1[seatIndex % this.oaj_1.length | 0];
1493
1493
  var state = mapToBotState(this, playerId, table);
1494
1494
  var legalActions = computeLegalActions(this, playerId, table);
1495
- var chosen = policy.naj(state, legalActions);
1495
+ var chosen = policy.saj(state, legalActions);
1496
1496
  return mapToClientAction(this, chosen, playerId, table);
1497
1497
  };
1498
1498
  function Companion_0() {
1499
- this.oaj_1 = 'HeuristicBotAnswerProvider';
1499
+ this.taj_1 = 'HeuristicBotAnswerProvider';
1500
1500
  }
1501
1501
  var Companion_instance_2;
1502
1502
  function Companion_getInstance_0() {
1503
1503
  return Companion_instance_2;
1504
1504
  }
1505
1505
  function HeuristicBotAnswerProvider(dealerInteractor, tagProvider, logger) {
1506
- this.paj_1 = dealerInteractor;
1507
- this.qaj_1 = tagProvider;
1508
- this.raj_1 = logger;
1509
- this.saj_1 = null;
1506
+ this.uaj_1 = dealerInteractor;
1507
+ this.vaj_1 = tagProvider;
1508
+ this.waj_1 = logger;
1509
+ this.xaj_1 = null;
1510
1510
  }
1511
- protoOf(HeuristicBotAnswerProvider).ta3 = function (playerId, table) {
1512
- var tmp0_elvis_lhs = this.saj_1;
1511
+ protoOf(HeuristicBotAnswerProvider).ya3 = function (playerId, table) {
1512
+ var tmp0_elvis_lhs = this.xaj_1;
1513
1513
  var tmp;
1514
1514
  if (tmp0_elvis_lhs == null) {
1515
1515
  // Inline function 'kotlin.run' call
1516
1516
  var playersMode = table.config.playersMode;
1517
- this.raj_1.d('HeuristicBotAnswerProvider', 'Using HeuristicBotPolicy for mode=' + playersMode.z_1 + '.');
1517
+ this.waj_1.d('HeuristicBotAnswerProvider', 'Using HeuristicBotPolicy for mode=' + playersMode.z_1 + '.');
1518
1518
  var policy = new HeuristicBotPolicy();
1519
1519
  var tmp_0 = 0;
1520
1520
  var tmp_1 = playersMode.count;
@@ -1525,37 +1525,37 @@
1525
1525
  tmp_0 = tmp_0 + 1 | 0;
1526
1526
  }
1527
1527
  // Inline function 'kotlin.also' call
1528
- var this_0 = new BotPolicyAnswerProvider(tmp_2, this.paj_1, this.qaj_1);
1529
- this.saj_1 = this_0;
1528
+ var this_0 = new BotPolicyAnswerProvider(tmp_2, this.uaj_1, this.vaj_1);
1529
+ this.xaj_1 = this_0;
1530
1530
  tmp = this_0;
1531
1531
  } else {
1532
1532
  tmp = tmp0_elvis_lhs;
1533
1533
  }
1534
1534
  var answerProvider = tmp;
1535
- return answerProvider.ta3(playerId, table);
1535
+ return answerProvider.ya3(playerId, table);
1536
1536
  };
1537
1537
  function LegacyBotAnswerProvider(playerAnswerInteractor, botConfig) {
1538
- this.taj_1 = playerAnswerInteractor;
1539
- this.uaj_1 = botConfig;
1538
+ this.yaj_1 = playerAnswerInteractor;
1539
+ this.zaj_1 = botConfig;
1540
1540
  }
1541
- protoOf(LegacyBotAnswerProvider).ta3 = function (playerId, table) {
1542
- return this.taj_1.u9k(playerId, table, this.uaj_1);
1541
+ protoOf(LegacyBotAnswerProvider).ya3 = function (playerId, table) {
1542
+ return this.yaj_1.y9k(playerId, table, this.zaj_1);
1543
1543
  };
1544
1544
  function getOrCreatePolicy($this, playersMode, rulesSetType) {
1545
1545
  var cacheKey = rulesSetType.value + '_' + playersMode.z_1;
1546
1546
  // Inline function 'kotlin.collections.getOrPut' call
1547
- var this_0 = $this.zaj_1;
1547
+ var this_0 = $this.eak_1;
1548
1548
  var value = this_0.w2(cacheKey);
1549
1549
  var tmp;
1550
1550
  if (value == null) {
1551
- var tmp0_safe_receiver = $this.vaj_1;
1552
- var modelBytes = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.bak(playersMode, rulesSetType);
1551
+ var tmp0_safe_receiver = $this.aak_1;
1552
+ var modelBytes = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.gak(playersMode, rulesSetType);
1553
1553
  var tmp_0;
1554
1554
  if (!(modelBytes == null)) {
1555
- $this.yaj_1.d('PimcBotAnswerProvider', 'Using PIMC+belief for rulesSet=' + rulesSetType.value + ', mode=' + playersMode.z_1 + '.');
1555
+ $this.dak_1.d('PimcBotAnswerProvider', 'Using PIMC+belief for rulesSet=' + rulesSetType.value + ', mode=' + playersMode.z_1 + '.');
1556
1556
  tmp_0 = createPimcPolicy($this, modelBytes, playersMode);
1557
1557
  } else {
1558
- $this.yaj_1.d('PimcBotAnswerProvider', 'Using PIMC+uniform for rulesSet=' + rulesSetType.value + ', ' + ('mode=' + playersMode.z_1 + ' (no model \u2014 uniform sampling).'));
1558
+ $this.dak_1.d('PimcBotAnswerProvider', 'Using PIMC+uniform for rulesSet=' + rulesSetType.value + ', ' + ('mode=' + playersMode.z_1 + ' (no model \u2014 uniform sampling).'));
1559
1559
  tmp_0 = createUniformPimcPolicy($this, playersMode);
1560
1560
  }
1561
1561
  var answer = tmp_0;
@@ -1570,7 +1570,7 @@
1570
1570
  var inferenceEngine = new PureKotlinInferenceEngine();
1571
1571
  var encoder = new BeliefFeatureEncoder(playersMode);
1572
1572
  var beliefNetwork = new CardBeliefNetwork(inferenceEngine, encoder, playersMode);
1573
- beliefNetwork.zai(modelBytes);
1573
+ beliefNetwork.eaj(modelBytes);
1574
1574
  var rolloutPolicy = new RolloutPolicy();
1575
1575
  var pimcEngine = new PimcEngine(beliefNetwork, rolloutPolicy, new PimcConfig());
1576
1576
  return PimcBotPolicy_init_$Create$(pimcEngine);
@@ -1580,13 +1580,13 @@
1580
1580
  var encoder = new BeliefFeatureEncoder(playersMode);
1581
1581
  var beliefNetwork = new CardBeliefNetwork(inferenceEngine, encoder, playersMode);
1582
1582
  var rolloutPolicy = new RolloutPolicy();
1583
- var pimcEngine = new PimcEngine(beliefNetwork, rolloutPolicy, Companion_getInstance_1().dak_1);
1583
+ var pimcEngine = new PimcEngine(beliefNetwork, rolloutPolicy, Companion_getInstance_1().iak_1);
1584
1584
  return PimcBotPolicy_init_$Create$(pimcEngine);
1585
1585
  }
1586
1586
  function Companion_1() {
1587
1587
  Companion_instance_3 = this;
1588
- this.cak_1 = 'PimcBotAnswerProvider';
1589
- this.dak_1 = new PimcConfig(200);
1588
+ this.hak_1 = 'PimcBotAnswerProvider';
1589
+ this.iak_1 = new PimcConfig(200);
1590
1590
  }
1591
1591
  var Companion_instance_3;
1592
1592
  function Companion_getInstance_1() {
@@ -1597,23 +1597,23 @@
1597
1597
  function PimcBotAnswerProvider(registry, dealerInteractor, tagProvider, logger) {
1598
1598
  Companion_getInstance_1();
1599
1599
  registry = registry === VOID ? null : registry;
1600
- this.vaj_1 = registry;
1601
- this.waj_1 = dealerInteractor;
1602
- this.xaj_1 = tagProvider;
1603
- this.yaj_1 = logger;
1600
+ this.aak_1 = registry;
1601
+ this.bak_1 = dealerInteractor;
1602
+ this.cak_1 = tagProvider;
1603
+ this.dak_1 = logger;
1604
1604
  var tmp = this;
1605
1605
  // Inline function 'kotlin.collections.mutableMapOf' call
1606
- tmp.zaj_1 = LinkedHashMap_init_$Create$();
1606
+ tmp.eak_1 = LinkedHashMap_init_$Create$();
1607
1607
  var tmp_0 = this;
1608
1608
  // Inline function 'kotlin.collections.mutableMapOf' call
1609
- tmp_0.aak_1 = LinkedHashMap_init_$Create$();
1609
+ tmp_0.fak_1 = LinkedHashMap_init_$Create$();
1610
1610
  }
1611
- protoOf(PimcBotAnswerProvider).ta3 = function (playerId, table) {
1611
+ protoOf(PimcBotAnswerProvider).ya3 = function (playerId, table) {
1612
1612
  var playersMode = table.config.playersMode;
1613
1613
  var rulesSetType = table.config.rulesSetType;
1614
1614
  var cacheKey = rulesSetType.value + '_' + playersMode.z_1;
1615
1615
  // Inline function 'kotlin.collections.getOrPut' call
1616
- var this_0 = this.aak_1;
1616
+ var this_0 = this.fak_1;
1617
1617
  var value = this_0.w2(cacheKey);
1618
1618
  var tmp;
1619
1619
  if (value == null) {
@@ -1627,14 +1627,14 @@
1627
1627
  tmp_0 = tmp_0 + 1 | 0;
1628
1628
  }
1629
1629
  var policies = tmp_2;
1630
- var answer = new BotPolicyAnswerProvider(policies, this.waj_1, this.xaj_1);
1630
+ var answer = new BotPolicyAnswerProvider(policies, this.bak_1, this.cak_1);
1631
1631
  this_0.z2(cacheKey, answer);
1632
1632
  tmp = answer;
1633
1633
  } else {
1634
1634
  tmp = value;
1635
1635
  }
1636
1636
  var provider = tmp;
1637
- return provider.ta3(playerId, table);
1637
+ return provider.ya3(playerId, table);
1638
1638
  };
1639
1639
  var Activation_RELU_instance;
1640
1640
  var Activation_NONE_instance;
@@ -1647,43 +1647,43 @@
1647
1647
  Activation_NONE_instance = new Activation('NONE', 1);
1648
1648
  }
1649
1649
  function forward($this, layer, input) {
1650
- var out = new Float32Array(layer.fak_1);
1650
+ var out = new Float32Array(layer.kak_1);
1651
1651
  var inductionVariable = 0;
1652
- var last = layer.fak_1;
1652
+ var last = layer.kak_1;
1653
1653
  if (inductionVariable < last)
1654
1654
  do {
1655
1655
  var j = inductionVariable;
1656
1656
  inductionVariable = inductionVariable + 1 | 0;
1657
- var sum = layer.hak_1[j];
1657
+ var sum = layer.mak_1[j];
1658
1658
  var inductionVariable_0 = 0;
1659
- var last_0 = layer.eak_1;
1659
+ var last_0 = layer.jak_1;
1660
1660
  if (inductionVariable_0 < last_0)
1661
1661
  do {
1662
1662
  var i = inductionVariable_0;
1663
1663
  inductionVariable_0 = inductionVariable_0 + 1 | 0;
1664
- sum = sum + input[i] * layer.gak_1[imul(i, layer.fak_1) + j | 0];
1664
+ sum = sum + input[i] * layer.lak_1[imul(i, layer.kak_1) + j | 0];
1665
1665
  }
1666
1666
  while (inductionVariable_0 < last_0);
1667
1667
  out[j] = sum;
1668
1668
  }
1669
1669
  while (inductionVariable < last);
1670
- var bn = layer.iak_1;
1670
+ var bn = layer.nak_1;
1671
1671
  if (!(bn == null)) {
1672
1672
  var inductionVariable_1 = 0;
1673
- var last_1 = layer.fak_1;
1673
+ var last_1 = layer.kak_1;
1674
1674
  if (inductionVariable_1 < last_1)
1675
1675
  do {
1676
1676
  var j_0 = inductionVariable_1;
1677
1677
  inductionVariable_1 = inductionVariable_1 + 1 | 0;
1678
- var normalized = (out[j_0] - bn.mak_1[j_0]) / sqrt(bn.nak_1[j_0] + 1.0E-5);
1679
- out[j_0] = bn.kak_1[j_0] * normalized + bn.lak_1[j_0];
1678
+ var normalized = (out[j_0] - bn.rak_1[j_0]) / sqrt(bn.sak_1[j_0] + 1.0E-5);
1679
+ out[j_0] = bn.pak_1[j_0] * normalized + bn.qak_1[j_0];
1680
1680
  }
1681
1681
  while (inductionVariable_1 < last_1);
1682
1682
  }
1683
- switch (layer.jak_1.a1_1) {
1683
+ switch (layer.oak_1.a1_1) {
1684
1684
  case 0:
1685
1685
  var inductionVariable_2 = 0;
1686
- var last_2 = layer.fak_1;
1686
+ var last_2 = layer.kak_1;
1687
1687
  if (inductionVariable_2 < last_2)
1688
1688
  do {
1689
1689
  var j_1 = inductionVariable_2;
@@ -1703,23 +1703,23 @@
1703
1703
  return out;
1704
1704
  }
1705
1705
  function Layer(inDim, outDim, weight, bias, batchNorm, activation) {
1706
- this.eak_1 = inDim;
1707
- this.fak_1 = outDim;
1708
- this.gak_1 = weight;
1709
- this.hak_1 = bias;
1710
- this.iak_1 = batchNorm;
1711
- this.jak_1 = activation;
1706
+ this.jak_1 = inDim;
1707
+ this.kak_1 = outDim;
1708
+ this.lak_1 = weight;
1709
+ this.mak_1 = bias;
1710
+ this.nak_1 = batchNorm;
1711
+ this.oak_1 = activation;
1712
1712
  }
1713
1713
  protoOf(Layer).toString = function () {
1714
- return 'Layer(inDim=' + this.eak_1 + ', outDim=' + this.fak_1 + ', weight=' + toString_0(this.gak_1) + ', bias=' + toString_0(this.hak_1) + ', batchNorm=' + toString(this.iak_1) + ', activation=' + this.jak_1.toString() + ')';
1714
+ return 'Layer(inDim=' + this.jak_1 + ', outDim=' + this.kak_1 + ', weight=' + toString_0(this.lak_1) + ', bias=' + toString_0(this.mak_1) + ', batchNorm=' + toString(this.nak_1) + ', activation=' + this.oak_1.toString() + ')';
1715
1715
  };
1716
1716
  protoOf(Layer).hashCode = function () {
1717
- var result = this.eak_1;
1718
- result = imul(result, 31) + this.fak_1 | 0;
1719
- result = imul(result, 31) + hashCode(this.gak_1) | 0;
1720
- result = imul(result, 31) + hashCode(this.hak_1) | 0;
1721
- result = imul(result, 31) + (this.iak_1 == null ? 0 : this.iak_1.hashCode()) | 0;
1722
- result = imul(result, 31) + this.jak_1.hashCode() | 0;
1717
+ var result = this.jak_1;
1718
+ result = imul(result, 31) + this.kak_1 | 0;
1719
+ result = imul(result, 31) + hashCode(this.lak_1) | 0;
1720
+ result = imul(result, 31) + hashCode(this.mak_1) | 0;
1721
+ result = imul(result, 31) + (this.nak_1 == null ? 0 : this.nak_1.hashCode()) | 0;
1722
+ result = imul(result, 31) + this.oak_1.hashCode() | 0;
1723
1723
  return result;
1724
1724
  };
1725
1725
  protoOf(Layer).equals = function (other) {
@@ -1727,34 +1727,34 @@
1727
1727
  return true;
1728
1728
  if (!(other instanceof Layer))
1729
1729
  return false;
1730
- if (!(this.eak_1 === other.eak_1))
1730
+ if (!(this.jak_1 === other.jak_1))
1731
1731
  return false;
1732
- if (!(this.fak_1 === other.fak_1))
1732
+ if (!(this.kak_1 === other.kak_1))
1733
1733
  return false;
1734
- if (!equals(this.gak_1, other.gak_1))
1734
+ if (!equals(this.lak_1, other.lak_1))
1735
1735
  return false;
1736
- if (!equals(this.hak_1, other.hak_1))
1736
+ if (!equals(this.mak_1, other.mak_1))
1737
1737
  return false;
1738
- if (!equals(this.iak_1, other.iak_1))
1738
+ if (!equals(this.nak_1, other.nak_1))
1739
1739
  return false;
1740
- if (!this.jak_1.equals(other.jak_1))
1740
+ if (!this.oak_1.equals(other.oak_1))
1741
1741
  return false;
1742
1742
  return true;
1743
1743
  };
1744
1744
  function BatchNormParams(gamma, beta, runningMean, runningVar) {
1745
- this.kak_1 = gamma;
1746
- this.lak_1 = beta;
1747
- this.mak_1 = runningMean;
1748
- this.nak_1 = runningVar;
1745
+ this.pak_1 = gamma;
1746
+ this.qak_1 = beta;
1747
+ this.rak_1 = runningMean;
1748
+ this.sak_1 = runningVar;
1749
1749
  }
1750
1750
  protoOf(BatchNormParams).toString = function () {
1751
- return 'BatchNormParams(gamma=' + toString_0(this.kak_1) + ', beta=' + toString_0(this.lak_1) + ', runningMean=' + toString_0(this.mak_1) + ', runningVar=' + toString_0(this.nak_1) + ')';
1751
+ return 'BatchNormParams(gamma=' + toString_0(this.pak_1) + ', beta=' + toString_0(this.qak_1) + ', runningMean=' + toString_0(this.rak_1) + ', runningVar=' + toString_0(this.sak_1) + ')';
1752
1752
  };
1753
1753
  protoOf(BatchNormParams).hashCode = function () {
1754
- var result = hashCode(this.kak_1);
1755
- result = imul(result, 31) + hashCode(this.lak_1) | 0;
1756
- result = imul(result, 31) + hashCode(this.mak_1) | 0;
1757
- result = imul(result, 31) + hashCode(this.nak_1) | 0;
1754
+ var result = hashCode(this.pak_1);
1755
+ result = imul(result, 31) + hashCode(this.qak_1) | 0;
1756
+ result = imul(result, 31) + hashCode(this.rak_1) | 0;
1757
+ result = imul(result, 31) + hashCode(this.sak_1) | 0;
1758
1758
  return result;
1759
1759
  };
1760
1760
  protoOf(BatchNormParams).equals = function (other) {
@@ -1762,13 +1762,13 @@
1762
1762
  return true;
1763
1763
  if (!(other instanceof BatchNormParams))
1764
1764
  return false;
1765
- if (!equals(this.kak_1, other.kak_1))
1765
+ if (!equals(this.pak_1, other.pak_1))
1766
1766
  return false;
1767
- if (!equals(this.lak_1, other.lak_1))
1767
+ if (!equals(this.qak_1, other.qak_1))
1768
1768
  return false;
1769
- if (!equals(this.mak_1, other.mak_1))
1769
+ if (!equals(this.rak_1, other.rak_1))
1770
1770
  return false;
1771
- if (!equals(this.nak_1, other.nak_1))
1771
+ if (!equals(this.sak_1, other.sak_1))
1772
1772
  return false;
1773
1773
  return true;
1774
1774
  };
@@ -1776,9 +1776,9 @@
1776
1776
  Enum.call(this, name, ordinal);
1777
1777
  }
1778
1778
  function Companion_2() {
1779
- this.caj_1 = 1.0E-5;
1779
+ this.haj_1 = 1.0E-5;
1780
1780
  }
1781
- protoOf(Companion_2).daj = function (logits) {
1781
+ protoOf(Companion_2).iaj = function (logits) {
1782
1782
  var max_0 = max(logits);
1783
1783
  var tmp = 0;
1784
1784
  var tmp_0 = logits.length;
@@ -1818,16 +1818,16 @@
1818
1818
  return Activation_NONE_instance;
1819
1819
  }
1820
1820
  function PureKotlinInferenceEngine() {
1821
- this.oak_1 = emptyList();
1821
+ this.tak_1 = emptyList();
1822
1822
  }
1823
- protoOf(PureKotlinInferenceEngine).zai = function (modelBytes) {
1823
+ protoOf(PureKotlinInferenceEngine).eaj = function (modelBytes) {
1824
1824
  var buf = new ByteArrayReader(modelBytes);
1825
- var layerCount = buf.rak();
1825
+ var layerCount = buf.wak();
1826
1826
  var tmp = 0;
1827
1827
  var tmp_0 = layerCount + 1 | 0;
1828
1828
  var tmp_1 = new Int32Array(tmp_0);
1829
1829
  while (tmp < tmp_0) {
1830
- tmp_1[tmp] = buf.rak();
1830
+ tmp_1[tmp] = buf.wak();
1831
1831
  tmp = tmp + 1 | 0;
1832
1832
  }
1833
1833
  var sizes = tmp_1;
@@ -1841,11 +1841,11 @@
1841
1841
  var inDim = sizes[i];
1842
1842
  var outDim = sizes[i + 1 | 0];
1843
1843
  var isHidden = i < (layerCount - 1 | 0);
1844
- var weight = buf.sak(imul(inDim, outDim));
1845
- var bias = buf.sak(outDim);
1844
+ var weight = buf.xak(imul(inDim, outDim));
1845
+ var bias = buf.xak(outDim);
1846
1846
  var tmp_2;
1847
1847
  if (isHidden) {
1848
- tmp_2 = new BatchNormParams(buf.sak(outDim), buf.sak(outDim), buf.sak(outDim), buf.sak(outDim));
1848
+ tmp_2 = new BatchNormParams(buf.xak(outDim), buf.xak(outDim), buf.xak(outDim), buf.xak(outDim));
1849
1849
  } else {
1850
1850
  tmp_2 = null;
1851
1851
  }
@@ -1855,17 +1855,17 @@
1855
1855
  parsed.e1(element);
1856
1856
  }
1857
1857
  while (inductionVariable < layerCount);
1858
- this.oak_1 = parsed;
1858
+ this.tak_1 = parsed;
1859
1859
  };
1860
- protoOf(PureKotlinInferenceEngine).baj = function (input) {
1860
+ protoOf(PureKotlinInferenceEngine).gaj = function (input) {
1861
1861
  // Inline function 'kotlin.collections.isNotEmpty' call
1862
1862
  // Inline function 'kotlin.check' call
1863
- if (!!this.oak_1.r()) {
1863
+ if (!!this.tak_1.r()) {
1864
1864
  var message = 'Model not loaded. Call loadModel() first.';
1865
1865
  throw IllegalStateException_init_$Create$(toString_0(message));
1866
1866
  }
1867
1867
  var x = input;
1868
- var _iterator__ex2g4s = this.oak_1.t();
1868
+ var _iterator__ex2g4s = this.tak_1.t();
1869
1869
  while (_iterator__ex2g4s.u()) {
1870
1870
  var layer = _iterator__ex2g4s.v();
1871
1871
  x = forward(this, layer, x);
@@ -1873,34 +1873,34 @@
1873
1873
  return x;
1874
1874
  };
1875
1875
  function ByteArrayReader(data) {
1876
- this.pak_1 = data;
1877
- this.qak_1 = 0;
1878
- }
1879
- protoOf(ByteArrayReader).rak = function () {
1880
- var _unary__edvuaz = this.qak_1;
1881
- this.qak_1 = _unary__edvuaz + 1 | 0;
1882
- var b0 = this.pak_1[_unary__edvuaz] & 255;
1883
- var _unary__edvuaz_0 = this.qak_1;
1884
- this.qak_1 = _unary__edvuaz_0 + 1 | 0;
1885
- var b1 = this.pak_1[_unary__edvuaz_0] & 255;
1886
- var _unary__edvuaz_1 = this.qak_1;
1887
- this.qak_1 = _unary__edvuaz_1 + 1 | 0;
1888
- var b2 = this.pak_1[_unary__edvuaz_1] & 255;
1889
- var _unary__edvuaz_2 = this.qak_1;
1890
- this.qak_1 = _unary__edvuaz_2 + 1 | 0;
1891
- var b3 = this.pak_1[_unary__edvuaz_2] & 255;
1876
+ this.uak_1 = data;
1877
+ this.vak_1 = 0;
1878
+ }
1879
+ protoOf(ByteArrayReader).wak = function () {
1880
+ var _unary__edvuaz = this.vak_1;
1881
+ this.vak_1 = _unary__edvuaz + 1 | 0;
1882
+ var b0 = this.uak_1[_unary__edvuaz] & 255;
1883
+ var _unary__edvuaz_0 = this.vak_1;
1884
+ this.vak_1 = _unary__edvuaz_0 + 1 | 0;
1885
+ var b1 = this.uak_1[_unary__edvuaz_0] & 255;
1886
+ var _unary__edvuaz_1 = this.vak_1;
1887
+ this.vak_1 = _unary__edvuaz_1 + 1 | 0;
1888
+ var b2 = this.uak_1[_unary__edvuaz_1] & 255;
1889
+ var _unary__edvuaz_2 = this.vak_1;
1890
+ this.vak_1 = _unary__edvuaz_2 + 1 | 0;
1891
+ var b3 = this.uak_1[_unary__edvuaz_2] & 255;
1892
1892
  return b0 | b1 << 8 | b2 << 16 | b3 << 24;
1893
1893
  };
1894
- protoOf(ByteArrayReader).tak = function () {
1894
+ protoOf(ByteArrayReader).yak = function () {
1895
1895
  // Inline function 'kotlin.fromBits' call
1896
- var bits = this.rak();
1896
+ var bits = this.wak();
1897
1897
  return floatFromBits(bits);
1898
1898
  };
1899
- protoOf(ByteArrayReader).sak = function (size) {
1899
+ protoOf(ByteArrayReader).xak = function (size) {
1900
1900
  var tmp = 0;
1901
1901
  var tmp_0 = new Float32Array(size);
1902
1902
  while (tmp < size) {
1903
- tmp_0[tmp] = this.tak();
1903
+ tmp_0[tmp] = this.yak();
1904
1904
  tmp = tmp + 1 | 0;
1905
1905
  }
1906
1906
  return tmp_0;
@@ -1910,15 +1910,15 @@
1910
1910
  return Math.sqrt(x);
1911
1911
  }
1912
1912
  function finishTrick($this, state) {
1913
- var playersInOrder = Companion_instance_5.fal(state.uak_1, state.dal_1);
1913
+ var playersInOrder = Companion_instance_5.kal(state.zak_1, state.ial_1);
1914
1914
  // Inline function 'kotlin.collections.map' call
1915
- var this_0 = state.xak_1;
1915
+ var this_0 = state.cal_1;
1916
1916
  // Inline function 'kotlin.collections.mapTo' call
1917
1917
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
1918
1918
  var _iterator__ex2g4s = this_0.t();
1919
1919
  while (_iterator__ex2g4s.u()) {
1920
1920
  var item = _iterator__ex2g4s.v();
1921
- var tmp$ret$0 = item.gal_1;
1921
+ var tmp$ret$0 = item.lal_1;
1922
1922
  destination.e1(tmp$ret$0);
1923
1923
  }
1924
1924
  var alreadyPlayed = toSet(destination);
@@ -1932,8 +1932,8 @@
1932
1932
  resolveTrickAndAdvance($this, state);
1933
1933
  }
1934
1934
  function playFullTrick($this, state) {
1935
- state.xak_1.c3();
1936
- var playersInOrder = Companion_instance_5.fal(state.uak_1, state.dal_1);
1935
+ state.cal_1.c3();
1936
+ var playersInOrder = Companion_instance_5.kal(state.zak_1, state.ial_1);
1937
1937
  var _iterator__ex2g4s = playersInOrder.t();
1938
1938
  while (_iterator__ex2g4s.u()) {
1939
1939
  var pid = _iterator__ex2g4s.v();
@@ -1942,7 +1942,7 @@
1942
1942
  resolveTrickAndAdvance($this, state);
1943
1943
  }
1944
1944
  function playCard($this, state, playerId) {
1945
- var tmp0_elvis_lhs = state.vak_1.w2(playerId);
1945
+ var tmp0_elvis_lhs = state.aal_1.w2(playerId);
1946
1946
  var tmp;
1947
1947
  if (tmp0_elvis_lhs == null) {
1948
1948
  return Unit_instance;
@@ -1952,15 +1952,15 @@
1952
1952
  var hand = tmp;
1953
1953
  if (hand.r())
1954
1954
  return Unit_instance;
1955
- var partnerPid = Companion_instance_5.ial(playerId, state.uak_1, state.aal_1);
1955
+ var partnerPid = Companion_instance_5.nal(playerId, state.zak_1, state.fal_1);
1956
1956
  var partnerWinning = isPartnerWinning($this, state, partnerPid);
1957
- var legalCards = TrickSimulator_instance.iaj(hand, state.xak_1, state.wak_1, state.bal_1, state.aal_1, playerId, partnerPid);
1958
- var useRandom = $this.lal_1 && !isFocalTeam($this, playerId, state);
1957
+ var legalCards = TrickSimulator_instance.naj(hand, state.cal_1, state.bal_1, state.gal_1, state.fal_1, playerId, partnerPid);
1958
+ var useRandom = $this.qal_1 && !isFocalTeam($this, playerId, state);
1959
1959
  var isFocal = isFocalTeam($this, playerId, state);
1960
1960
  var tmp_0;
1961
1961
  if (!useRandom && isFocal) {
1962
1962
  // Inline function 'kotlin.collections.filter' call
1963
- var tmp0 = state.vak_1.m1();
1963
+ var tmp0 = state.aal_1.m1();
1964
1964
  // Inline function 'kotlin.collections.filterTo' call
1965
1965
  var destination = ArrayList_init_$Create$();
1966
1966
  var _iterator__ex2g4s = tmp0.t();
@@ -1986,50 +1986,50 @@
1986
1986
  var opponentCards = tmp_0;
1987
1987
  var tmp_1;
1988
1988
  if (useRandom) {
1989
- tmp_1 = random(legalCards, $this.kal_1);
1989
+ tmp_1 = random(legalCards, $this.pal_1);
1990
1990
  } else {
1991
- tmp_1 = $this.jal_1.oal(hand, legalCards, state.xak_1, state.wak_1, partnerPid, partnerWinning, opponentCards);
1991
+ tmp_1 = $this.oal_1.tal(hand, legalCards, state.cal_1, state.bal_1, partnerPid, partnerWinning, opponentCards);
1992
1992
  }
1993
1993
  var card = tmp_1;
1994
1994
  hand.d3(card);
1995
- state.xak_1.e1(new SimCard(playerId, card));
1995
+ state.cal_1.e1(new SimCard(playerId, card));
1996
1996
  }
1997
1997
  function isFocalTeam($this, playerId, state) {
1998
- if (playerId === state.cal_1)
1998
+ if (playerId === state.hal_1)
1999
1999
  return true;
2000
- if (!state.aal_1.isTeamGame || !(state.uak_1.g1() === 4))
2000
+ if (!state.fal_1.isTeamGame || !(state.zak_1.g1() === 4))
2001
2001
  return false;
2002
- var focalIndex = state.uak_1.o2(state.cal_1);
2003
- var partnerIndex = (focalIndex + 2 | 0) % state.uak_1.g1() | 0;
2004
- return playerId === state.uak_1.h1(partnerIndex);
2002
+ var focalIndex = state.zak_1.o2(state.hal_1);
2003
+ var partnerIndex = (focalIndex + 2 | 0) % state.zak_1.g1() | 0;
2004
+ return playerId === state.zak_1.h1(partnerIndex);
2005
2005
  }
2006
2006
  function resolveTrickAndAdvance($this, state) {
2007
- var result = TrickSimulator_instance.pal(state.xak_1, state.wak_1);
2008
- var tmp0 = state.zak_1;
2009
- var tmp2 = result.qal_1;
2010
- var tmp0_elvis_lhs = state.zak_1.w2(result.qal_1);
2007
+ var result = TrickSimulator_instance.ual(state.cal_1, state.bal_1);
2008
+ var tmp0 = state.eal_1;
2009
+ var tmp2 = result.val_1;
2010
+ var tmp0_elvis_lhs = state.eal_1.w2(result.val_1);
2011
2011
  // Inline function 'kotlin.collections.set' call
2012
- var value = (tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs) + result.ral_1 | 0;
2012
+ var value = (tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs) + result.wal_1 | 0;
2013
2013
  tmp0.z2(tmp2, value);
2014
- state.dal_1 = result.qal_1;
2015
- state.yak_1 = state.yak_1 + 1 | 0;
2016
- state.xak_1.c3();
2014
+ state.ial_1 = result.val_1;
2015
+ state.dal_1 = state.dal_1 + 1 | 0;
2016
+ state.cal_1.c3();
2017
2017
  }
2018
2018
  function computeResult($this, state) {
2019
- var focalIndex = state.uak_1.o2(state.cal_1);
2020
- var n = state.uak_1.g1();
2019
+ var focalIndex = state.zak_1.o2(state.hal_1);
2020
+ var n = state.zak_1.g1();
2021
2021
  var tmp;
2022
- if (state.aal_1.isTeamGame && n === 4) {
2022
+ if (state.fal_1.isTeamGame && n === 4) {
2023
2023
  var partnerIndex = (focalIndex + 2 | 0) % n | 0;
2024
- tmp = setOf_0([state.uak_1.h1(focalIndex), state.uak_1.h1(partnerIndex)]);
2024
+ tmp = setOf_0([state.zak_1.h1(focalIndex), state.zak_1.h1(partnerIndex)]);
2025
2025
  } else {
2026
- tmp = setOf(state.cal_1);
2026
+ tmp = setOf(state.hal_1);
2027
2027
  }
2028
2028
  var focalTeam = tmp;
2029
2029
  var focalPts = 0;
2030
2030
  var oppPts = 0;
2031
2031
  // Inline function 'kotlin.collections.iterator' call
2032
- var _iterator__ex2g4s = state.zak_1.m1().t();
2032
+ var _iterator__ex2g4s = state.eal_1.m1().t();
2033
2033
  while (_iterator__ex2g4s.u()) {
2034
2034
  var _destruct__k2r9zo = _iterator__ex2g4s.v();
2035
2035
  // Inline function 'kotlin.collections.component1' call
@@ -2044,10 +2044,10 @@
2044
2044
  return new RolloutResult(focalPts, oppPts);
2045
2045
  }
2046
2046
  function isPartnerWinning($this, state, partnerPid) {
2047
- if (partnerPid == null || state.xak_1.r())
2047
+ if (partnerPid == null || state.cal_1.r())
2048
2048
  return false;
2049
- var firstSuit = first(state.xak_1).hal_1.a63();
2050
- var tmp0 = state.xak_1;
2049
+ var firstSuit = first(state.cal_1).mal_1.a63();
2050
+ var tmp0 = state.cal_1;
2051
2051
  var tmp$ret$0;
2052
2052
  $l$block_0: {
2053
2053
  // Inline function 'kotlin.collections.maxByOrNull' call
@@ -2062,10 +2062,10 @@
2062
2062
  break $l$block_0;
2063
2063
  }
2064
2064
  var it = maxElem;
2065
- var maxValue = getGrowth(it.hal_1, state.wak_1, firstSuit);
2065
+ var maxValue = getGrowth(it.mal_1, state.bal_1, firstSuit);
2066
2066
  do {
2067
2067
  var e = iterator.v();
2068
- var v = getGrowth(e.hal_1, state.wak_1, firstSuit);
2068
+ var v = getGrowth(e.mal_1, state.bal_1, firstSuit);
2069
2069
  if (compareTo(maxValue, v) < 0) {
2070
2070
  maxElem = e;
2071
2071
  maxValue = v;
@@ -2075,12 +2075,12 @@
2075
2075
  tmp$ret$0 = maxElem;
2076
2076
  }
2077
2077
  var winner = tmp$ret$0;
2078
- return (winner == null ? null : winner.gal_1) == partnerPid;
2078
+ return (winner == null ? null : winner.lal_1) == partnerPid;
2079
2079
  }
2080
2080
  function Companion_3() {
2081
- this.eal_1 = 10;
2081
+ this.jal_1 = 10;
2082
2082
  }
2083
- protoOf(Companion_3).fal = function (playerOrder, leadId) {
2083
+ protoOf(Companion_3).kal = function (playerOrder, leadId) {
2084
2084
  var startIdx = coerceAtLeast_0(playerOrder.o2(leadId), 0);
2085
2085
  // Inline function 'kotlin.collections.List' call
2086
2086
  // Inline function 'kotlin.collections.MutableList' call
@@ -2098,7 +2098,7 @@
2098
2098
  while (inductionVariable < size);
2099
2099
  return list;
2100
2100
  };
2101
- protoOf(Companion_3).ial = function (playerId, playerOrder, playersMode) {
2101
+ protoOf(Companion_3).nal = function (playerId, playerOrder, playersMode) {
2102
2102
  if (!playersMode.isTeamGame || !(playerOrder.g1() === 4))
2103
2103
  return null;
2104
2104
  var idx = playerOrder.o2(playerId);
@@ -2115,15 +2115,15 @@
2115
2115
  randomOpponentRollout = randomOpponentRollout === VOID ? false : randomOpponentRollout;
2116
2116
  endgameSolver = endgameSolver === VOID ? null : endgameSolver;
2117
2117
  endgameThreshold = endgameThreshold === VOID ? 5 : endgameThreshold;
2118
- this.jal_1 = rolloutPolicy;
2119
- this.kal_1 = random;
2120
- this.lal_1 = randomOpponentRollout;
2121
- this.mal_1 = endgameSolver;
2122
- this.nal_1 = endgameThreshold;
2118
+ this.oal_1 = rolloutPolicy;
2119
+ this.pal_1 = random;
2120
+ this.qal_1 = randomOpponentRollout;
2121
+ this.ral_1 = endgameSolver;
2122
+ this.sal_1 = endgameThreshold;
2123
2123
  }
2124
- protoOf(DeterministicRollout).sal = function (initialState) {
2124
+ protoOf(DeterministicRollout).xal = function (initialState) {
2125
2125
  var state = initialState;
2126
- var tmp0 = state.vak_1.y2();
2126
+ var tmp0 = state.aal_1.y2();
2127
2127
  var tmp$ret$0;
2128
2128
  $l$block: {
2129
2129
  // Inline function 'kotlin.collections.maxOfOrNull' call
@@ -2143,21 +2143,21 @@
2143
2143
  }
2144
2144
  var tmp0_elvis_lhs = tmp$ret$0;
2145
2145
  var maxTricks = tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
2146
- var tmp = state.yak_1 + maxTricks | 0;
2146
+ var tmp = state.dal_1 + maxTricks | 0;
2147
2147
  var tmp_0;
2148
2148
  // Inline function 'kotlin.collections.isNotEmpty' call
2149
- if (!state.xak_1.r()) {
2149
+ if (!state.cal_1.r()) {
2150
2150
  tmp_0 = 1;
2151
2151
  } else {
2152
2152
  tmp_0 = 0;
2153
2153
  }
2154
2154
  var totalTricks = tmp + tmp_0 | 0;
2155
2155
  // Inline function 'kotlin.collections.isNotEmpty' call
2156
- if (!state.xak_1.r()) {
2156
+ if (!state.cal_1.r()) {
2157
2157
  finishTrick(this, state);
2158
2158
  }
2159
2159
  $l$loop: while (true) {
2160
- var tmp0_0 = state.vak_1.y2();
2160
+ var tmp0_0 = state.aal_1.y2();
2161
2161
  var tmp$ret$5;
2162
2162
  $l$block_1: {
2163
2163
  // Inline function 'kotlin.collections.any' call
@@ -2185,8 +2185,8 @@
2185
2185
  if (!tmp$ret$5) {
2186
2186
  break $l$loop;
2187
2187
  }
2188
- if (!(this.mal_1 == null)) {
2189
- var tmp1_safe_receiver = this.mal_1.tal(state, this.nal_1);
2188
+ if (!(this.ral_1 == null)) {
2189
+ var tmp1_safe_receiver = this.ral_1.yal(state, this.sal_1);
2190
2190
  if (tmp1_safe_receiver == null)
2191
2191
  null;
2192
2192
  else {
@@ -2196,40 +2196,40 @@
2196
2196
  }
2197
2197
  playFullTrick(this, state);
2198
2198
  }
2199
- var lastTrickWinner = state.dal_1;
2200
- var tmp0_1 = state.zak_1;
2201
- var tmp2_elvis_lhs = state.zak_1.w2(lastTrickWinner);
2199
+ var lastTrickWinner = state.ial_1;
2200
+ var tmp0_1 = state.eal_1;
2201
+ var tmp2_elvis_lhs = state.eal_1.w2(lastTrickWinner);
2202
2202
  // Inline function 'kotlin.collections.set' call
2203
2203
  var value = (tmp2_elvis_lhs == null ? 0 : tmp2_elvis_lhs) + 10 | 0;
2204
2204
  tmp0_1.z2(lastTrickWinner, value);
2205
2205
  return computeResult(this, state);
2206
2206
  };
2207
2207
  function RolloutState(playerOrder, hands, trump, currentTrick, trickNumber, points, playersMode, rules, focalPlayerId, leadPlayerId) {
2208
- this.uak_1 = playerOrder;
2209
- this.vak_1 = hands;
2210
- this.wak_1 = trump;
2211
- this.xak_1 = currentTrick;
2212
- this.yak_1 = trickNumber;
2213
- this.zak_1 = points;
2214
- this.aal_1 = playersMode;
2215
- this.bal_1 = rules;
2216
- this.cal_1 = focalPlayerId;
2217
- this.dal_1 = leadPlayerId;
2208
+ this.zak_1 = playerOrder;
2209
+ this.aal_1 = hands;
2210
+ this.bal_1 = trump;
2211
+ this.cal_1 = currentTrick;
2212
+ this.dal_1 = trickNumber;
2213
+ this.eal_1 = points;
2214
+ this.fal_1 = playersMode;
2215
+ this.gal_1 = rules;
2216
+ this.hal_1 = focalPlayerId;
2217
+ this.ial_1 = leadPlayerId;
2218
2218
  }
2219
2219
  protoOf(RolloutState).toString = function () {
2220
- return 'RolloutState(playerOrder=' + toString_0(this.uak_1) + ', hands=' + toString_0(this.vak_1) + ', trump=' + this.wak_1.toString() + ', currentTrick=' + toString_0(this.xak_1) + ', trickNumber=' + this.yak_1 + ', points=' + toString_0(this.zak_1) + ', playersMode=' + this.aal_1.toString() + ', rules=' + this.bal_1.toString() + ', focalPlayerId=' + this.cal_1 + ', leadPlayerId=' + this.dal_1 + ')';
2220
+ return 'RolloutState(playerOrder=' + toString_0(this.zak_1) + ', hands=' + toString_0(this.aal_1) + ', trump=' + this.bal_1.toString() + ', currentTrick=' + toString_0(this.cal_1) + ', trickNumber=' + this.dal_1 + ', points=' + toString_0(this.eal_1) + ', playersMode=' + this.fal_1.toString() + ', rules=' + this.gal_1.toString() + ', focalPlayerId=' + this.hal_1 + ', leadPlayerId=' + this.ial_1 + ')';
2221
2221
  };
2222
2222
  protoOf(RolloutState).hashCode = function () {
2223
- var result = hashCode(this.uak_1);
2224
- result = imul(result, 31) + hashCode(this.vak_1) | 0;
2225
- result = imul(result, 31) + this.wak_1.hashCode() | 0;
2226
- result = imul(result, 31) + hashCode(this.xak_1) | 0;
2227
- result = imul(result, 31) + this.yak_1 | 0;
2228
- result = imul(result, 31) + hashCode(this.zak_1) | 0;
2229
- result = imul(result, 31) + this.aal_1.hashCode() | 0;
2223
+ var result = hashCode(this.zak_1);
2224
+ result = imul(result, 31) + hashCode(this.aal_1) | 0;
2230
2225
  result = imul(result, 31) + this.bal_1.hashCode() | 0;
2231
- result = imul(result, 31) + getStringHashCode(this.cal_1) | 0;
2232
- result = imul(result, 31) + getStringHashCode(this.dal_1) | 0;
2226
+ result = imul(result, 31) + hashCode(this.cal_1) | 0;
2227
+ result = imul(result, 31) + this.dal_1 | 0;
2228
+ result = imul(result, 31) + hashCode(this.eal_1) | 0;
2229
+ result = imul(result, 31) + this.fal_1.hashCode() | 0;
2230
+ result = imul(result, 31) + this.gal_1.hashCode() | 0;
2231
+ result = imul(result, 31) + getStringHashCode(this.hal_1) | 0;
2232
+ result = imul(result, 31) + getStringHashCode(this.ial_1) | 0;
2233
2233
  return result;
2234
2234
  };
2235
2235
  protoOf(RolloutState).equals = function (other) {
@@ -2237,38 +2237,38 @@
2237
2237
  return true;
2238
2238
  if (!(other instanceof RolloutState))
2239
2239
  return false;
2240
- if (!equals(this.uak_1, other.uak_1))
2240
+ if (!equals(this.zak_1, other.zak_1))
2241
2241
  return false;
2242
- if (!equals(this.vak_1, other.vak_1))
2242
+ if (!equals(this.aal_1, other.aal_1))
2243
2243
  return false;
2244
- if (!this.wak_1.equals(other.wak_1))
2244
+ if (!this.bal_1.equals(other.bal_1))
2245
2245
  return false;
2246
- if (!equals(this.xak_1, other.xak_1))
2246
+ if (!equals(this.cal_1, other.cal_1))
2247
2247
  return false;
2248
- if (!(this.yak_1 === other.yak_1))
2248
+ if (!(this.dal_1 === other.dal_1))
2249
2249
  return false;
2250
- if (!equals(this.zak_1, other.zak_1))
2250
+ if (!equals(this.eal_1, other.eal_1))
2251
2251
  return false;
2252
- if (!this.aal_1.equals(other.aal_1))
2252
+ if (!this.fal_1.equals(other.fal_1))
2253
2253
  return false;
2254
- if (!this.bal_1.equals(other.bal_1))
2254
+ if (!this.gal_1.equals(other.gal_1))
2255
2255
  return false;
2256
- if (!(this.cal_1 === other.cal_1))
2256
+ if (!(this.hal_1 === other.hal_1))
2257
2257
  return false;
2258
- if (!(this.dal_1 === other.dal_1))
2258
+ if (!(this.ial_1 === other.ial_1))
2259
2259
  return false;
2260
2260
  return true;
2261
2261
  };
2262
2262
  function RolloutResult(focalTeamPoints, opponentTeamPoints) {
2263
- this.ual_1 = focalTeamPoints;
2264
- this.val_1 = opponentTeamPoints;
2263
+ this.zal_1 = focalTeamPoints;
2264
+ this.aam_1 = opponentTeamPoints;
2265
2265
  }
2266
2266
  protoOf(RolloutResult).toString = function () {
2267
- return 'RolloutResult(focalTeamPoints=' + this.ual_1 + ', opponentTeamPoints=' + this.val_1 + ')';
2267
+ return 'RolloutResult(focalTeamPoints=' + this.zal_1 + ', opponentTeamPoints=' + this.aam_1 + ')';
2268
2268
  };
2269
2269
  protoOf(RolloutResult).hashCode = function () {
2270
- var result = this.ual_1;
2271
- result = imul(result, 31) + this.val_1 | 0;
2270
+ var result = this.zal_1;
2271
+ result = imul(result, 31) + this.aam_1 | 0;
2272
2272
  return result;
2273
2273
  };
2274
2274
  protoOf(RolloutResult).equals = function (other) {
@@ -2276,22 +2276,22 @@
2276
2276
  return true;
2277
2277
  if (!(other instanceof RolloutResult))
2278
2278
  return false;
2279
- if (!(this.ual_1 === other.ual_1))
2279
+ if (!(this.zal_1 === other.zal_1))
2280
2280
  return false;
2281
- if (!(this.val_1 === other.val_1))
2281
+ if (!(this.aam_1 === other.aam_1))
2282
2282
  return false;
2283
2283
  return true;
2284
2284
  };
2285
2285
  function WorldMoveScore(action, normalizedScore) {
2286
- this.wal_1 = action;
2287
- this.xal_1 = normalizedScore;
2286
+ this.bam_1 = action;
2287
+ this.cam_1 = normalizedScore;
2288
2288
  }
2289
2289
  protoOf(WorldMoveScore).toString = function () {
2290
- return 'WorldMoveScore(action=' + toString_0(this.wal_1) + ', normalizedScore=' + this.xal_1 + ')';
2290
+ return 'WorldMoveScore(action=' + toString_0(this.bam_1) + ', normalizedScore=' + this.cam_1 + ')';
2291
2291
  };
2292
2292
  protoOf(WorldMoveScore).hashCode = function () {
2293
- var result = hashCode(this.wal_1);
2294
- result = imul(result, 31) + getNumberHashCode(this.xal_1) | 0;
2293
+ var result = hashCode(this.bam_1);
2294
+ result = imul(result, 31) + getNumberHashCode(this.cam_1) | 0;
2295
2295
  return result;
2296
2296
  };
2297
2297
  protoOf(WorldMoveScore).equals = function (other) {
@@ -2299,15 +2299,15 @@
2299
2299
  return true;
2300
2300
  if (!(other instanceof WorldMoveScore))
2301
2301
  return false;
2302
- if (!equals(this.wal_1, other.wal_1))
2302
+ if (!equals(this.bam_1, other.bam_1))
2303
2303
  return false;
2304
- if (!equals(this.xal_1, other.xal_1))
2304
+ if (!equals(this.cam_1, other.cam_1))
2305
2305
  return false;
2306
2306
  return true;
2307
2307
  };
2308
2308
  function MoveScoreAggregator() {
2309
2309
  }
2310
- protoOf(MoveScoreAggregator).yal = function (worldScores, config) {
2310
+ protoOf(MoveScoreAggregator).dam = function (worldScores, config) {
2311
2311
  if (worldScores.r())
2312
2312
  return emptyMap();
2313
2313
  // Inline function 'kotlin.collections.flatMap' call
@@ -2322,7 +2322,7 @@
2322
2322
  var _iterator__ex2g4s_0 = element.t();
2323
2323
  while (_iterator__ex2g4s_0.u()) {
2324
2324
  var item = _iterator__ex2g4s_0.v();
2325
- var tmp$ret$0 = item.wal_1;
2325
+ var tmp$ret$0 = item.bam_1;
2326
2326
  destination_0.e1(tmp$ret$0);
2327
2327
  }
2328
2328
  var list = destination_0;
@@ -2349,7 +2349,7 @@
2349
2349
  var _iterator__ex2g4s_3 = item_0.t();
2350
2350
  while (_iterator__ex2g4s_3.u()) {
2351
2351
  var element_1 = _iterator__ex2g4s_3.v();
2352
- if (equals(element_1.wal_1, element_0)) {
2352
+ if (equals(element_1.bam_1, element_0)) {
2353
2353
  tmp$ret$7 = element_1;
2354
2354
  break $l$block;
2355
2355
  }
@@ -2357,7 +2357,7 @@
2357
2357
  tmp$ret$7 = null;
2358
2358
  }
2359
2359
  var tmp0_safe_receiver = tmp$ret$7;
2360
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.xal_1;
2360
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.cam_1;
2361
2361
  var tmp$ret$8 = tmp1_elvis_lhs == null ? 0.0 : tmp1_elvis_lhs;
2362
2362
  destination_1.e1(tmp$ret$8);
2363
2363
  }
@@ -2378,7 +2378,7 @@
2378
2378
  destination_2.z2(tmp, tmp$ret$16);
2379
2379
  }
2380
2380
  var avgScores = destination_2;
2381
- if (!config.bam_1) {
2381
+ if (!config.gam_1) {
2382
2382
  return avgScores;
2383
2383
  }
2384
2384
  // Inline function 'kotlin.collections.associateWith' call
@@ -2433,7 +2433,7 @@
2433
2433
  var tmp0_elvis_lhs = avgScores.w2(element_4);
2434
2434
  var tmp_0 = tmp0_elvis_lhs == null ? 0.0 : tmp0_elvis_lhs;
2435
2435
  var tmp1_elvis_lhs_3 = maxRegrets.w2(element_4);
2436
- var tmp$ret$27 = tmp_0 - config.cam_1 * (tmp1_elvis_lhs_3 == null ? 0.0 : tmp1_elvis_lhs_3);
2436
+ var tmp$ret$27 = tmp_0 - config.ham_1 * (tmp1_elvis_lhs_3 == null ? 0.0 : tmp1_elvis_lhs_3);
2437
2437
  result_1.z2(element_4, tmp$ret$27);
2438
2438
  }
2439
2439
  return result_1;
@@ -2449,23 +2449,23 @@
2449
2449
  variancePenalty = variancePenalty === VOID ? 0.3 : variancePenalty;
2450
2450
  randomOpponentRollout = randomOpponentRollout === VOID ? false : randomOpponentRollout;
2451
2451
  endgameSolveThreshold = endgameSolveThreshold === VOID ? 0 : endgameSolveThreshold;
2452
- this.zal_1 = worldCount;
2453
- this.aam_1 = exactSolveThreshold;
2454
- this.bam_1 = enableStrategyFusionMitigation;
2455
- this.cam_1 = variancePenalty;
2456
- this.dam_1 = randomOpponentRollout;
2457
- this.eam_1 = endgameSolveThreshold;
2452
+ this.eam_1 = worldCount;
2453
+ this.fam_1 = exactSolveThreshold;
2454
+ this.gam_1 = enableStrategyFusionMitigation;
2455
+ this.ham_1 = variancePenalty;
2456
+ this.iam_1 = randomOpponentRollout;
2457
+ this.jam_1 = endgameSolveThreshold;
2458
2458
  }
2459
2459
  protoOf(PimcConfig).toString = function () {
2460
- return 'PimcConfig(worldCount=' + this.zal_1 + ', exactSolveThreshold=' + this.aam_1 + ', enableStrategyFusionMitigation=' + this.bam_1 + ', variancePenalty=' + this.cam_1 + ', randomOpponentRollout=' + this.dam_1 + ', endgameSolveThreshold=' + this.eam_1 + ')';
2460
+ return 'PimcConfig(worldCount=' + this.eam_1 + ', exactSolveThreshold=' + this.fam_1 + ', enableStrategyFusionMitigation=' + this.gam_1 + ', variancePenalty=' + this.ham_1 + ', randomOpponentRollout=' + this.iam_1 + ', endgameSolveThreshold=' + this.jam_1 + ')';
2461
2461
  };
2462
2462
  protoOf(PimcConfig).hashCode = function () {
2463
- var result = this.zal_1;
2464
- result = imul(result, 31) + this.aam_1 | 0;
2465
- result = imul(result, 31) + getBooleanHashCode(this.bam_1) | 0;
2466
- result = imul(result, 31) + getNumberHashCode(this.cam_1) | 0;
2467
- result = imul(result, 31) + getBooleanHashCode(this.dam_1) | 0;
2468
- result = imul(result, 31) + this.eam_1 | 0;
2463
+ var result = this.eam_1;
2464
+ result = imul(result, 31) + this.fam_1 | 0;
2465
+ result = imul(result, 31) + getBooleanHashCode(this.gam_1) | 0;
2466
+ result = imul(result, 31) + getNumberHashCode(this.ham_1) | 0;
2467
+ result = imul(result, 31) + getBooleanHashCode(this.iam_1) | 0;
2468
+ result = imul(result, 31) + this.jam_1 | 0;
2469
2469
  return result;
2470
2470
  };
2471
2471
  protoOf(PimcConfig).equals = function (other) {
@@ -2473,17 +2473,17 @@
2473
2473
  return true;
2474
2474
  if (!(other instanceof PimcConfig))
2475
2475
  return false;
2476
- if (!(this.zal_1 === other.zal_1))
2476
+ if (!(this.eam_1 === other.eam_1))
2477
2477
  return false;
2478
- if (!(this.aam_1 === other.aam_1))
2478
+ if (!(this.fam_1 === other.fam_1))
2479
2479
  return false;
2480
- if (!(this.bam_1 === other.bam_1))
2480
+ if (!(this.gam_1 === other.gam_1))
2481
2481
  return false;
2482
- if (!equals(this.cam_1, other.cam_1))
2482
+ if (!equals(this.ham_1, other.ham_1))
2483
2483
  return false;
2484
- if (!(this.dam_1 === other.dam_1))
2484
+ if (!(this.iam_1 === other.iam_1))
2485
2485
  return false;
2486
- if (!(this.eam_1 === other.eam_1))
2486
+ if (!(this.jam_1 === other.jam_1))
2487
2487
  return false;
2488
2488
  return true;
2489
2489
  };
@@ -2491,7 +2491,7 @@
2491
2491
  // Inline function 'kotlin.collections.mutableMapOf' call
2492
2492
  var hands = LinkedHashMap_init_$Create$();
2493
2493
  // Inline function 'kotlin.collections.iterator' call
2494
- var _iterator__ex2g4s = world.fam_1.m1().t();
2494
+ var _iterator__ex2g4s = world.kam_1.m1().t();
2495
2495
  while (_iterator__ex2g4s.u()) {
2496
2496
  var _destruct__k2r9zo = _iterator__ex2g4s.v();
2497
2497
  // Inline function 'kotlin.collections.component1' call
@@ -2502,13 +2502,13 @@
2502
2502
  var value = toMutableList(cards);
2503
2503
  hands.z2(pid, value);
2504
2504
  }
2505
- var focalHand = toMutableList(state.hah_1);
2506
- focalHand.d3(action.bah_1);
2505
+ var focalHand = toMutableList(state.mah_1);
2506
+ focalHand.d3(action.gah_1);
2507
2507
  // Inline function 'kotlin.collections.set' call
2508
- var key = state.fah_1;
2508
+ var key = state.kah_1;
2509
2509
  hands.z2(key, focalHand);
2510
2510
  // Inline function 'kotlin.collections.map' call
2511
- var this_0 = state.jah_1;
2511
+ var this_0 = state.oah_1;
2512
2512
  // Inline function 'kotlin.collections.mapTo' call
2513
2513
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
2514
2514
  var _iterator__ex2g4s_0 = this_0.t();
@@ -2518,45 +2518,45 @@
2518
2518
  destination.e1(tmp$ret$6);
2519
2519
  }
2520
2520
  var currentTrick = toMutableList(destination);
2521
- currentTrick.e1(new SimCard(state.fah_1, action.bah_1));
2521
+ currentTrick.e1(new SimCard(state.kah_1, action.gah_1));
2522
2522
  // Inline function 'kotlin.collections.mutableMapOf' call
2523
2523
  var points = LinkedHashMap_init_$Create$();
2524
- var tmp2 = state.fah_1;
2524
+ var tmp2 = state.kah_1;
2525
2525
  // Inline function 'kotlin.collections.set' call
2526
- var value_0 = state.qah_1;
2526
+ var value_0 = state.vah_1;
2527
2527
  points.z2(tmp2, value_0);
2528
- var focalIndex = state.gah_1.o2(state.fah_1);
2529
- if (state.gah_1.g1() > 1) {
2530
- var oppId = state.gah_1.h1((focalIndex + 1 | 0) % state.gah_1.g1() | 0);
2528
+ var focalIndex = state.lah_1.o2(state.kah_1);
2529
+ if (state.lah_1.g1() > 1) {
2530
+ var oppId = state.lah_1.h1((focalIndex + 1 | 0) % state.lah_1.g1() | 0);
2531
2531
  // Inline function 'kotlin.collections.set' call
2532
- var value_1 = state.rah_1;
2532
+ var value_1 = state.wah_1;
2533
2533
  points.z2(oppId, value_1);
2534
2534
  }
2535
2535
  var tmp;
2536
2536
  // Inline function 'kotlin.collections.isNotEmpty' call
2537
- if (!state.jah_1.r()) {
2538
- tmp = first(state.jah_1).o84_1;
2537
+ if (!state.oah_1.r()) {
2538
+ tmp = first(state.oah_1).o84_1;
2539
2539
  } else {
2540
- tmp = state.fah_1;
2540
+ tmp = state.kah_1;
2541
2541
  }
2542
2542
  var leadPid = tmp;
2543
- var rolloutState = new RolloutState(state.gah_1, hands, trump, currentTrick, state.sah_1, points, state.aai_1, state.zah_1, state.fah_1, leadPid);
2544
- var result = $this.mam_1.sal(rolloutState);
2545
- var total = coerceAtLeast(result.ual_1 + result.val_1 | 0, 1.0);
2546
- return result.ual_1 / total;
2543
+ var rolloutState = new RolloutState(state.lah_1, hands, trump, currentTrick, state.xah_1, points, state.fai_1, state.eai_1, state.kah_1, leadPid);
2544
+ var result = $this.ram_1.xal(rolloutState);
2545
+ var total = coerceAtLeast(result.zal_1 + result.aam_1 | 0, 1.0);
2546
+ return result.zal_1 / total;
2547
2547
  }
2548
2548
  function PimcEngine(beliefNetwork, rolloutPolicy, config, random) {
2549
2549
  config = config === VOID ? new PimcConfig() : config;
2550
2550
  random = random === VOID ? Default_getInstance() : random;
2551
- this.gam_1 = beliefNetwork;
2552
- this.ham_1 = rolloutPolicy;
2553
- this.iam_1 = config;
2554
- this.jam_1 = random;
2555
- this.kam_1 = new WorldSampler(this.jam_1);
2556
- this.lam_1 = this.iam_1.eam_1 > 0 ? new EndgameSolver() : null;
2557
- this.mam_1 = new DeterministicRollout(this.ham_1, this.jam_1, this.iam_1.dam_1, this.lam_1, this.iam_1.eam_1);
2558
- }
2559
- protoOf(PimcEngine).nam = function (state, legalActions) {
2551
+ this.lam_1 = beliefNetwork;
2552
+ this.mam_1 = rolloutPolicy;
2553
+ this.nam_1 = config;
2554
+ this.oam_1 = random;
2555
+ this.pam_1 = new WorldSampler(this.oam_1);
2556
+ this.qam_1 = this.nam_1.jam_1 > 0 ? new EndgameSolver() : null;
2557
+ this.ram_1 = new DeterministicRollout(this.mam_1, this.oam_1, this.nam_1.iam_1, this.qam_1, this.nam_1.jam_1);
2558
+ }
2559
+ protoOf(PimcEngine).sam = function (state, legalActions) {
2560
2560
  if (legalActions.g1() <= 1) {
2561
2561
  // Inline function 'kotlin.collections.associateWith' call
2562
2562
  var result = LinkedHashMap_init_$Create$_0(coerceAtLeast_0(mapCapacity(collectionSizeOrDefault(legalActions, 10)), 16));
@@ -2590,7 +2590,7 @@
2590
2590
  }
2591
2591
  return result_0;
2592
2592
  }
2593
- var tmp0_elvis_lhs = state.kah_1;
2593
+ var tmp0_elvis_lhs = state.pah_1;
2594
2594
  var tmp;
2595
2595
  if (tmp0_elvis_lhs == null) {
2596
2596
  // Inline function 'kotlin.collections.associateWith' call
@@ -2606,8 +2606,8 @@
2606
2606
  tmp = tmp0_elvis_lhs;
2607
2607
  }
2608
2608
  var trump = tmp;
2609
- var belief = this.gam_1.aaj(state);
2610
- var worlds = this.kam_1.pam(state, belief, this.iam_1.zal_1);
2609
+ var belief = this.lam_1.faj(state);
2610
+ var worlds = this.pam_1.uam(state, belief, this.nam_1.eam_1);
2611
2611
  // Inline function 'kotlin.collections.map' call
2612
2612
  // Inline function 'kotlin.collections.mapTo' call
2613
2613
  var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(worlds, 10));
@@ -2627,18 +2627,18 @@
2627
2627
  destination_0.e1(destination_1);
2628
2628
  }
2629
2629
  var worldScores = destination_0;
2630
- return MoveScoreAggregator_instance.yal(worldScores, this.iam_1);
2630
+ return MoveScoreAggregator_instance.dam(worldScores, this.nam_1);
2631
2631
  };
2632
2632
  function SimCard(playerId, card) {
2633
- this.gal_1 = playerId;
2634
- this.hal_1 = card;
2633
+ this.lal_1 = playerId;
2634
+ this.mal_1 = card;
2635
2635
  }
2636
2636
  protoOf(SimCard).toString = function () {
2637
- return 'SimCard(playerId=' + this.gal_1 + ', card=' + this.hal_1.toString() + ')';
2637
+ return 'SimCard(playerId=' + this.lal_1 + ', card=' + this.mal_1.toString() + ')';
2638
2638
  };
2639
2639
  protoOf(SimCard).hashCode = function () {
2640
- var result = getStringHashCode(this.gal_1);
2641
- result = imul(result, 31) + this.hal_1.hashCode() | 0;
2640
+ var result = getStringHashCode(this.lal_1);
2641
+ result = imul(result, 31) + this.mal_1.hashCode() | 0;
2642
2642
  return result;
2643
2643
  };
2644
2644
  protoOf(SimCard).equals = function (other) {
@@ -2646,9 +2646,9 @@
2646
2646
  return true;
2647
2647
  if (!(other instanceof SimCard))
2648
2648
  return false;
2649
- if (!(this.gal_1 === other.gal_1))
2649
+ if (!(this.lal_1 === other.lal_1))
2650
2650
  return false;
2651
- if (!this.hal_1.equals(other.hal_1))
2651
+ if (!this.mal_1.equals(other.mal_1))
2652
2652
  return false;
2653
2653
  return true;
2654
2654
  };
@@ -2676,14 +2676,14 @@
2676
2676
  }
2677
2677
  function TrickSimulator() {
2678
2678
  }
2679
- protoOf(TrickSimulator).pal = function (cards, trump) {
2679
+ protoOf(TrickSimulator).ual = function (cards, trump) {
2680
2680
  // Inline function 'kotlin.collections.isNotEmpty' call
2681
2681
  // Inline function 'kotlin.require' call
2682
2682
  if (!!cards.r()) {
2683
2683
  var message = 'Cannot resolve an empty trick';
2684
2684
  throw IllegalArgumentException_init_$Create$(toString_0(message));
2685
2685
  }
2686
- var firstSuit = first(cards).hal_1.a63();
2686
+ var firstSuit = first(cards).mal_1.a63();
2687
2687
  var tmp$ret$3;
2688
2688
  $l$block_0: {
2689
2689
  // Inline function 'kotlin.collections.maxByOrNull' call
@@ -2698,10 +2698,10 @@
2698
2698
  break $l$block_0;
2699
2699
  }
2700
2700
  var it = maxElem;
2701
- var maxValue = getGrowth(it.hal_1, trump, firstSuit);
2701
+ var maxValue = getGrowth(it.mal_1, trump, firstSuit);
2702
2702
  do {
2703
2703
  var e = iterator.v();
2704
- var v = getGrowth(e.hal_1, trump, firstSuit);
2704
+ var v = getGrowth(e.mal_1, trump, firstSuit);
2705
2705
  if (compareTo(maxValue, v) < 0) {
2706
2706
  maxElem = e;
2707
2707
  maxValue = v;
@@ -2717,17 +2717,17 @@
2717
2717
  while (_iterator__ex2g4s.u()) {
2718
2718
  var element = _iterator__ex2g4s.v();
2719
2719
  var tmp = sum;
2720
- sum = tmp + getPoint(element.hal_1, trump) | 0;
2720
+ sum = tmp + getPoint(element.mal_1, trump) | 0;
2721
2721
  }
2722
2722
  var points = sum;
2723
- return new TrickResult(winner.gal_1, points);
2723
+ return new TrickResult(winner.lal_1, points);
2724
2724
  };
2725
- protoOf(TrickSimulator).iaj = function (hand, trickCards, trump, rules, playersMode, playerId, partnerPlayerId) {
2725
+ protoOf(TrickSimulator).naj = function (hand, trickCards, trump, rules, playersMode, playerId, partnerPlayerId) {
2726
2726
  if (hand.r())
2727
2727
  return emptyList();
2728
2728
  if (trickCards.r())
2729
2729
  return hand;
2730
- var firstSuit = first(trickCards).hal_1.a63();
2730
+ var firstSuit = first(trickCards).mal_1.a63();
2731
2731
  var tmp$ret$0;
2732
2732
  $l$block_0: {
2733
2733
  // Inline function 'kotlin.collections.any' call
@@ -2822,7 +2822,7 @@
2822
2822
  var _iterator__ex2g4s_3 = trickCards.t();
2823
2823
  while (_iterator__ex2g4s_3.u()) {
2824
2824
  var element_3 = _iterator__ex2g4s_3.v();
2825
- if (element_3.hal_1.a63().equals(trump)) {
2825
+ if (element_3.mal_1.a63().equals(trump)) {
2826
2826
  tmp$ret$10 = true;
2827
2827
  break $l$block_4;
2828
2828
  }
@@ -2862,10 +2862,10 @@
2862
2862
  break $l$block_6;
2863
2863
  }
2864
2864
  var it = maxElem;
2865
- var maxValue = getGrowth(it.hal_1, trump, firstSuit);
2865
+ var maxValue = getGrowth(it.mal_1, trump, firstSuit);
2866
2866
  do {
2867
2867
  var e = iterator.v();
2868
- var v = getGrowth(e.hal_1, trump, firstSuit);
2868
+ var v = getGrowth(e.mal_1, trump, firstSuit);
2869
2869
  if (compareTo(maxValue, v) < 0) {
2870
2870
  maxElem = e;
2871
2871
  maxValue = v;
@@ -2882,7 +2882,7 @@
2882
2882
  tmp_4 = tmp1_elvis_lhs;
2883
2883
  }
2884
2884
  var winningCard = tmp_4;
2885
- var isPartnerWinning = playersMode.isTeamGame && winningCard.gal_1 === partnerPlayerId;
2885
+ var isPartnerWinning = playersMode.isTeamGame && winningCard.lal_1 === partnerPlayerId;
2886
2886
  if (isPartnerWinning) {
2887
2887
  var tmp_5;
2888
2888
  switch (rules.trumpCardStepPartnerMode.a1_1) {
@@ -2893,7 +2893,7 @@
2893
2893
  tmp_5 = candidates;
2894
2894
  break;
2895
2895
  case 1:
2896
- tmp_5 = filterHigherTrumpOrAll(this, candidates, winningCard.hal_1, trump, firstSuit);
2896
+ tmp_5 = filterHigherTrumpOrAll(this, candidates, winningCard.mal_1, trump, firstSuit);
2897
2897
  break;
2898
2898
  default:
2899
2899
  noWhenBranchMatchedException();
@@ -2901,22 +2901,22 @@
2901
2901
  }
2902
2902
  return tmp_5;
2903
2903
  }
2904
- return filterHigherTrumpOrAll(this, candidates, winningCard.hal_1, trump, firstSuit);
2904
+ return filterHigherTrumpOrAll(this, candidates, winningCard.mal_1, trump, firstSuit);
2905
2905
  };
2906
2906
  var TrickSimulator_instance;
2907
2907
  function TrickSimulator_getInstance() {
2908
2908
  return TrickSimulator_instance;
2909
2909
  }
2910
2910
  function TrickResult(winnerId, points) {
2911
- this.qal_1 = winnerId;
2912
- this.ral_1 = points;
2911
+ this.val_1 = winnerId;
2912
+ this.wal_1 = points;
2913
2913
  }
2914
2914
  protoOf(TrickResult).toString = function () {
2915
- return 'TrickResult(winnerId=' + this.qal_1 + ', points=' + this.ral_1 + ')';
2915
+ return 'TrickResult(winnerId=' + this.val_1 + ', points=' + this.wal_1 + ')';
2916
2916
  };
2917
2917
  protoOf(TrickResult).hashCode = function () {
2918
- var result = getStringHashCode(this.qal_1);
2919
- result = imul(result, 31) + this.ral_1 | 0;
2918
+ var result = getStringHashCode(this.val_1);
2919
+ result = imul(result, 31) + this.wal_1 | 0;
2920
2920
  return result;
2921
2921
  };
2922
2922
  protoOf(TrickResult).equals = function (other) {
@@ -2924,9 +2924,9 @@
2924
2924
  return true;
2925
2925
  if (!(other instanceof TrickResult))
2926
2926
  return false;
2927
- if (!(this.qal_1 === other.qal_1))
2927
+ if (!(this.val_1 === other.val_1))
2928
2928
  return false;
2929
- if (!(this.ral_1 === other.ral_1))
2929
+ if (!(this.wal_1 === other.wal_1))
2930
2930
  return false;
2931
2931
  return true;
2932
2932
  };
@@ -2936,7 +2936,7 @@
2936
2936
  var _iterator__ex2g4s = get_entries().t();
2937
2937
  while (_iterator__ex2g4s.u()) {
2938
2938
  var suit = _iterator__ex2g4s.v();
2939
- var _iterator__ex2g4s_0 = $this.sam_1.t();
2939
+ var _iterator__ex2g4s_0 = $this.xam_1.t();
2940
2940
  while (_iterator__ex2g4s_0.u()) {
2941
2941
  var name = _iterator__ex2g4s_0.v();
2942
2942
  var idx = imul(suit.a1_1, 8) + name.a1_1 | 0;
@@ -2965,7 +2965,7 @@
2965
2965
  var currentSizes = new Int32Array(opponents.g1());
2966
2966
  var assigned = booleanArray(32);
2967
2967
  // Inline function 'kotlin.collections.sortedBy' call
2968
- var this_0 = get_indices_0(belief.faj_1);
2968
+ var this_0 = get_indices_0(belief.kaj_1);
2969
2969
  // Inline function 'kotlin.comparisons.compareBy' call
2970
2970
  var tmp = WorldSampler$sampleOneWorld$lambda($this, belief);
2971
2971
  var tmp$ret$4 = new sam$kotlin_Comparator$0_1(tmp);
@@ -2973,8 +2973,8 @@
2973
2973
  var _iterator__ex2g4s_0 = sortedHiddenIndices.t();
2974
2974
  $l$loop: while (_iterator__ex2g4s_0.u()) {
2975
2975
  var rowIdx = _iterator__ex2g4s_0.v();
2976
- var cardIdx = belief.faj_1[rowIdx];
2977
- var probs = belief.eaj_1[rowIdx];
2976
+ var cardIdx = belief.kaj_1[rowIdx];
2977
+ var probs = belief.jaj_1[rowIdx];
2978
2978
  var tmp0_elvis_lhs = allCards[cardIdx];
2979
2979
  var tmp_0;
2980
2980
  if (tmp0_elvis_lhs == null) {
@@ -3033,12 +3033,12 @@
3033
3033
  // Inline function 'kotlin.collections.mutableListOf' call
3034
3034
  var candidates = ArrayList_init_$Create$();
3035
3035
  var inductionVariable = 0;
3036
- var last = belief.faj_1.length - 1 | 0;
3036
+ var last = belief.kaj_1.length - 1 | 0;
3037
3037
  if (inductionVariable <= last)
3038
3038
  $l$loop: do {
3039
3039
  var rowIdx = inductionVariable;
3040
3040
  inductionVariable = inductionVariable + 1 | 0;
3041
- var cardIdx = belief.faj_1[rowIdx];
3041
+ var cardIdx = belief.kaj_1[rowIdx];
3042
3042
  var tmp0_elvis_lhs = allCards[cardIdx];
3043
3043
  var tmp;
3044
3044
  if (tmp0_elvis_lhs == null) {
@@ -3051,7 +3051,7 @@
3051
3051
  if (voids.m2(card.a63())) {
3052
3052
  tmp_0 = 0.0;
3053
3053
  } else {
3054
- tmp_0 = coerceAtLeast(belief.eaj_1[rowIdx][0], 1.0E-6);
3054
+ tmp_0 = coerceAtLeast(belief.jaj_1[rowIdx][0], 1.0E-6);
3055
3055
  }
3056
3056
  var weight = tmp_0;
3057
3057
  candidates.e1(new Triple(rowIdx, card, weight));
@@ -3080,7 +3080,7 @@
3080
3080
  hand.e1(candidates.i3(0).sm_1);
3081
3081
  continue $l$loop_1;
3082
3082
  }
3083
- var r = $this.oam_1.zh() * totalWeight;
3083
+ var r = $this.tam_1.zh() * totalWeight;
3084
3084
  var selectedIdx = get_lastIndex(candidates);
3085
3085
  var inductionVariable_0 = 0;
3086
3086
  var last_0 = candidates.g1() - 1 | 0;
@@ -3100,7 +3100,7 @@
3100
3100
  return new SampledWorld(mapOf(to(opponent, hand)));
3101
3101
  }
3102
3102
  function sampleFromDistribution($this, probs) {
3103
- var r = $this.oam_1.ai();
3103
+ var r = $this.tam_1.ai();
3104
3104
  var cumulative = 0.0;
3105
3105
  var inductionVariable = 0;
3106
3106
  var last = probs.length - 1 | 0;
@@ -3130,9 +3130,9 @@
3130
3130
  }
3131
3131
  function Companion_4() {
3132
3132
  Companion_instance_6 = this;
3133
- this.qam_1 = 100;
3134
- this.ram_1 = 1.0E-6;
3135
- this.sam_1 = listOf_0([CardName_ACE_getInstance(), CardName_KING_getInstance(), CardName_QUEEN_getInstance(), CardName_JACK_getInstance(), CardName_TEN_getInstance(), CardName_NINE_getInstance(), CardName_EIGHT_getInstance(), CardName_SEVEN_getInstance()]);
3133
+ this.vam_1 = 100;
3134
+ this.wam_1 = 1.0E-6;
3135
+ this.xam_1 = listOf_0([CardName_ACE_getInstance(), CardName_KING_getInstance(), CardName_QUEEN_getInstance(), CardName_JACK_getInstance(), CardName_TEN_getInstance(), CardName_NINE_getInstance(), CardName_EIGHT_getInstance(), CardName_SEVEN_getInstance()]);
3136
3136
  }
3137
3137
  var Companion_instance_6;
3138
3138
  function Companion_getInstance_4() {
@@ -3141,16 +3141,16 @@
3141
3141
  return Companion_instance_6;
3142
3142
  }
3143
3143
  function sam$kotlin_Comparator$0_1(function_0) {
3144
- this.tam_1 = function_0;
3144
+ this.yam_1 = function_0;
3145
3145
  }
3146
3146
  protoOf(sam$kotlin_Comparator$0_1).hd = function (a, b) {
3147
- return this.tam_1(a, b);
3147
+ return this.yam_1(a, b);
3148
3148
  };
3149
3149
  protoOf(sam$kotlin_Comparator$0_1).compare = function (a, b) {
3150
3150
  return this.hd(a, b);
3151
3151
  };
3152
3152
  protoOf(sam$kotlin_Comparator$0_1).s3 = function () {
3153
- return this.tam_1;
3153
+ return this.yam_1;
3154
3154
  };
3155
3155
  protoOf(sam$kotlin_Comparator$0_1).equals = function (other) {
3156
3156
  var tmp;
@@ -3173,18 +3173,18 @@
3173
3173
  function WorldSampler$sampleOneWorld$lambda(this$0, $belief) {
3174
3174
  return function (a, b) {
3175
3175
  // Inline function 'kotlin.comparisons.compareValuesBy' call
3176
- var tmp = entropy(this$0, $belief.eaj_1[a]);
3177
- var tmp$ret$1 = entropy(this$0, $belief.eaj_1[b]);
3176
+ var tmp = entropy(this$0, $belief.jaj_1[a]);
3177
+ var tmp$ret$1 = entropy(this$0, $belief.jaj_1[b]);
3178
3178
  return compareValues(tmp, tmp$ret$1);
3179
3179
  };
3180
3180
  }
3181
3181
  function WorldSampler(random) {
3182
3182
  Companion_getInstance_4();
3183
- this.oam_1 = random;
3183
+ this.tam_1 = random;
3184
3184
  }
3185
- protoOf(WorldSampler).pam = function (state, belief, worldCount) {
3186
- var focalIndex = state.gah_1.o2(state.fah_1);
3187
- var n = state.gah_1.g1();
3185
+ protoOf(WorldSampler).uam = function (state, belief, worldCount) {
3186
+ var focalIndex = state.lah_1.o2(state.kah_1);
3187
+ var n = state.lah_1.g1();
3188
3188
  // Inline function 'kotlin.collections.map' call
3189
3189
  var this_0 = until(1, n);
3190
3190
  // Inline function 'kotlin.collections.mapTo' call
@@ -3196,7 +3196,7 @@
3196
3196
  var item = inductionVariable;
3197
3197
  inductionVariable = inductionVariable + 1 | 0;
3198
3198
  var absIdx = (focalIndex + item | 0) % n | 0;
3199
- var tmp$ret$0 = state.gah_1.h1(absIdx);
3199
+ var tmp$ret$0 = state.lah_1.h1(absIdx);
3200
3200
  destination.e1(tmp$ret$0);
3201
3201
  }
3202
3202
  while (!(item === last));
@@ -3207,9 +3207,9 @@
3207
3207
  var _iterator__ex2g4s = opponents.t();
3208
3208
  while (_iterator__ex2g4s.u()) {
3209
3209
  var item_0 = _iterator__ex2g4s.v();
3210
- var tmp0_elvis_lhs = state.iah_1.w2(item_0);
3210
+ var tmp0_elvis_lhs = state.nah_1.w2(item_0);
3211
3211
  var played = (tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs).g1();
3212
- var tmp0 = state.jah_1;
3212
+ var tmp0 = state.oah_1;
3213
3213
  var tmp$ret$3;
3214
3214
  $l$block: {
3215
3215
  // Inline function 'kotlin.collections.count' call
@@ -3235,7 +3235,7 @@
3235
3235
  tmp$ret$3 = count;
3236
3236
  }
3237
3237
  var onTable = tmp$ret$3;
3238
- var tmp$ret$5 = coerceAtLeast_0((state.bai_1 - played | 0) - onTable | 0, 0);
3238
+ var tmp$ret$5 = coerceAtLeast_0((state.gai_1 - played | 0) - onTable | 0, 0);
3239
3239
  destination_0.e1(tmp$ret$5);
3240
3240
  }
3241
3241
  var handSizes = destination_0;
@@ -3246,7 +3246,7 @@
3246
3246
  var _iterator__ex2g4s_1 = opponents.t();
3247
3247
  while (_iterator__ex2g4s_1.u()) {
3248
3248
  var item_1 = _iterator__ex2g4s_1.v();
3249
- var tmp0_elvis_lhs_0 = state.vah_1.w2(item_1);
3249
+ var tmp0_elvis_lhs_0 = state.aai_1.w2(item_1);
3250
3250
  var tmp$ret$8 = tmp0_elvis_lhs_0 == null ? emptySet() : tmp0_elvis_lhs_0;
3251
3251
  destination_1.e1(tmp$ret$8);
3252
3252
  }
@@ -3267,20 +3267,20 @@
3267
3267
  return list;
3268
3268
  };
3269
3269
  function SampledWorld(hands) {
3270
- this.fam_1 = hands;
3270
+ this.kam_1 = hands;
3271
3271
  }
3272
3272
  protoOf(SampledWorld).toString = function () {
3273
- return 'SampledWorld(hands=' + toString_0(this.fam_1) + ')';
3273
+ return 'SampledWorld(hands=' + toString_0(this.kam_1) + ')';
3274
3274
  };
3275
3275
  protoOf(SampledWorld).hashCode = function () {
3276
- return hashCode(this.fam_1);
3276
+ return hashCode(this.kam_1);
3277
3277
  };
3278
3278
  protoOf(SampledWorld).equals = function (other) {
3279
3279
  if (this === other)
3280
3280
  return true;
3281
3281
  if (!(other instanceof SampledWorld))
3282
3282
  return false;
3283
- if (!equals(this.fam_1, other.fam_1))
3283
+ if (!equals(this.kam_1, other.kam_1))
3284
3284
  return false;
3285
3285
  return true;
3286
3286
  };
@@ -3294,7 +3294,7 @@
3294
3294
  var _iterator__ex2g4s = get_entries().t();
3295
3295
  while (_iterator__ex2g4s.u()) {
3296
3296
  var suit = _iterator__ex2g4s.v();
3297
- var _iterator__ex2g4s_0 = Companion_getInstance_5().yam_1.t();
3297
+ var _iterator__ex2g4s_0 = Companion_getInstance_5().dan_1.t();
3298
3298
  while (_iterator__ex2g4s_0.u()) {
3299
3299
  var name = _iterator__ex2g4s_0.v();
3300
3300
  cards.e1(Companion_instance_0.d63(suit, name));
@@ -3315,7 +3315,7 @@
3315
3315
  if (hand.r())
3316
3316
  return focalPoints;
3317
3317
  var partnerPid = getPartnerPid($this, playerId, playOrder, playersMode);
3318
- var legalCards = TrickSimulator_instance.iaj(hand, trick, trump, rules, playersMode, playerId, partnerPid);
3318
+ var legalCards = TrickSimulator_instance.naj(hand, trick, trump, rules, playersMode, playerId, partnerPid);
3319
3319
  if (legalCards.r())
3320
3320
  return focalPoints;
3321
3321
  var moves = legalCards === hand ? ArrayList_init_$Create$_1(legalCards) : legalCards;
@@ -3330,17 +3330,17 @@
3330
3330
  trick.e1(new SimCard(playerId, card));
3331
3331
  var tmp_0;
3332
3332
  if (trick.g1() >= playOrder.g1()) {
3333
- var trickResult = TrickSimulator_instance.pal(trick, trump);
3333
+ var trickResult = TrickSimulator_instance.ual(trick, trump);
3334
3334
  var tmp_1;
3335
- if (focalTeam.m2(trickResult.qal_1)) {
3336
- tmp_1 = focalPoints + trickResult.ral_1 | 0;
3335
+ if (focalTeam.m2(trickResult.val_1)) {
3336
+ tmp_1 = focalPoints + trickResult.wal_1 | 0;
3337
3337
  } else {
3338
3338
  tmp_1 = focalPoints;
3339
3339
  }
3340
3340
  var newFocalPts = tmp_1;
3341
3341
  var tmp_2;
3342
- if (!focalTeam.m2(trickResult.qal_1)) {
3343
- tmp_2 = oppPoints + trickResult.ral_1 | 0;
3342
+ if (!focalTeam.m2(trickResult.val_1)) {
3343
+ tmp_2 = oppPoints + trickResult.wal_1 | 0;
3344
3344
  } else {
3345
3345
  tmp_2 = oppPoints;
3346
3346
  }
@@ -3372,7 +3372,7 @@
3372
3372
  }
3373
3373
  if (tmp$ret$0) {
3374
3374
  var tmp_5;
3375
- if (focalTeam.m2(trickResult.qal_1)) {
3375
+ if (focalTeam.m2(trickResult.val_1)) {
3376
3376
  tmp_5 = newFocalPts + 10 | 0;
3377
3377
  } else {
3378
3378
  tmp_5 = newFocalPts;
@@ -3381,7 +3381,7 @@
3381
3381
  } else {
3382
3382
  var savedTrick = ArrayList_init_$Create$_1(trick);
3383
3383
  trick.c3();
3384
- var newOrder = getPlayOrder($this, playOrder, trickResult.qal_1);
3384
+ var newOrder = getPlayOrder($this, playOrder, trickResult.val_1);
3385
3385
  var s = endgameMinimax($this, hands, trick, newOrder, 0, trump, focalTeam, newFocalPts, newOppPts, rules, playersMode, a, b);
3386
3386
  trick.c3();
3387
3387
  trick.i1(savedTrick);
@@ -3415,12 +3415,12 @@
3415
3415
  return bestScore;
3416
3416
  }
3417
3417
  function computeFocalTeam($this, state) {
3418
- if (state.aal_1.isTeamGame && state.uak_1.g1() === 4) {
3419
- var focalIndex = state.uak_1.o2(state.cal_1);
3418
+ if (state.fal_1.isTeamGame && state.zak_1.g1() === 4) {
3419
+ var focalIndex = state.zak_1.o2(state.hal_1);
3420
3420
  var partnerIndex = (focalIndex + 2 | 0) % 4 | 0;
3421
- return setOf_0([state.cal_1, state.uak_1.h1(partnerIndex)]);
3421
+ return setOf_0([state.hal_1, state.zak_1.h1(partnerIndex)]);
3422
3422
  }
3423
- return setOf(state.cal_1);
3423
+ return setOf(state.hal_1);
3424
3424
  }
3425
3425
  function getPlayOrder($this, playerOrder, leadId) {
3426
3426
  var startIdx = coerceAtLeast_0(playerOrder.o2(leadId), 0);
@@ -3450,13 +3450,13 @@
3450
3450
  }
3451
3451
  function Companion_5() {
3452
3452
  Companion_instance_7 = this;
3453
- this.uam_1 = 4;
3454
- this.vam_1 = 10;
3455
- this.wam_1 = 5;
3456
- this.xam_1 = 5000;
3457
- this.yam_1 = take(get_entries_0(), 8);
3453
+ this.zam_1 = 4;
3454
+ this.aan_1 = 10;
3455
+ this.ban_1 = 5;
3456
+ this.can_1 = 5000;
3457
+ this.dan_1 = take(get_entries_0(), 8);
3458
3458
  var tmp = this;
3459
- tmp.zam_1 = lazy(EndgameSolver$Companion$ALL_CARDS$delegate$lambda);
3459
+ tmp.ean_1 = lazy(EndgameSolver$Companion$ALL_CARDS$delegate$lambda);
3460
3460
  }
3461
3461
  var Companion_instance_7;
3462
3462
  function Companion_getInstance_5() {
@@ -3467,11 +3467,11 @@
3467
3467
  function EndgameSolver() {
3468
3468
  Companion_getInstance_5();
3469
3469
  }
3470
- protoOf(EndgameSolver).tal = function (state, threshold) {
3470
+ protoOf(EndgameSolver).yal = function (state, threshold) {
3471
3471
  // Inline function 'kotlin.collections.isNotEmpty' call
3472
- if (!state.xak_1.r())
3472
+ if (!state.cal_1.r())
3473
3473
  return null;
3474
- var tmp0 = state.vak_1.y2();
3474
+ var tmp0 = state.aal_1.y2();
3475
3475
  var tmp$ret$1;
3476
3476
  $l$block: {
3477
3477
  // Inline function 'kotlin.collections.maxOfOrNull' call
@@ -3499,7 +3499,7 @@
3499
3499
  var maxCards = tmp;
3500
3500
  if (maxCards > threshold || maxCards === 0)
3501
3501
  return null;
3502
- var tmp0_0 = state.vak_1.y2();
3502
+ var tmp0_0 = state.aal_1.y2();
3503
3503
  var tmp$ret$4;
3504
3504
  $l$block_1: {
3505
3505
  // Inline function 'kotlin.collections.any' call
@@ -3532,12 +3532,12 @@
3532
3532
  while (_iterator__ex2g4s_0.u()) {
3533
3533
  var element_0 = _iterator__ex2g4s_0.v();
3534
3534
  var tmp_1 = sum;
3535
- var tmp0_elvis_lhs_0 = state.zak_1.w2(element_0);
3535
+ var tmp0_elvis_lhs_0 = state.eal_1.w2(element_0);
3536
3536
  sum = tmp_1 + (tmp0_elvis_lhs_0 == null ? 0 : tmp0_elvis_lhs_0) | 0;
3537
3537
  }
3538
3538
  var focalPts = sum;
3539
3539
  // Inline function 'kotlin.collections.filter' call
3540
- var tmp0_1 = state.uak_1;
3540
+ var tmp0_1 = state.zak_1;
3541
3541
  // Inline function 'kotlin.collections.filterTo' call
3542
3542
  var destination = ArrayList_init_$Create$();
3543
3543
  var _iterator__ex2g4s_1 = tmp0_1.t();
@@ -3553,22 +3553,22 @@
3553
3553
  while (_iterator__ex2g4s_2.u()) {
3554
3554
  var element_2 = _iterator__ex2g4s_2.v();
3555
3555
  var tmp_2 = sum_0;
3556
- var tmp0_elvis_lhs_1 = state.zak_1.w2(element_2);
3556
+ var tmp0_elvis_lhs_1 = state.eal_1.w2(element_2);
3557
3557
  sum_0 = tmp_2 + (tmp0_elvis_lhs_1 == null ? 0 : tmp0_elvis_lhs_1) | 0;
3558
3558
  }
3559
3559
  var oppPts = sum_0;
3560
3560
  // Inline function 'kotlin.collections.sumOf' call
3561
3561
  var sum_1 = 0;
3562
- var _iterator__ex2g4s_3 = flatten(state.vak_1.y2()).t();
3562
+ var _iterator__ex2g4s_3 = flatten(state.aal_1.y2()).t();
3563
3563
  while (_iterator__ex2g4s_3.u()) {
3564
3564
  var element_3 = _iterator__ex2g4s_3.v();
3565
3565
  var tmp_3 = sum_1;
3566
- sum_1 = tmp_3 + getPoint(element_3, state.wak_1) | 0;
3566
+ sum_1 = tmp_3 + getPoint(element_3, state.bal_1) | 0;
3567
3567
  }
3568
3568
  var remainingCardPoints = sum_1;
3569
- var playOrder = getPlayOrder(this, state.uak_1, state.dal_1);
3569
+ var playOrder = getPlayOrder(this, state.zak_1, state.ial_1);
3570
3570
  // Inline function 'kotlin.collections.mapValues' call
3571
- var this_0 = state.vak_1;
3571
+ var this_0 = state.aal_1;
3572
3572
  // Inline function 'kotlin.collections.mapValuesTo' call
3573
3573
  var destination_0 = LinkedHashMap_init_$Create$_0(mapCapacity(this_0.g1()));
3574
3574
  // Inline function 'kotlin.collections.associateByTo' call
@@ -3582,12 +3582,12 @@
3582
3582
  var tmp_5 = toMutableMap(destination_0);
3583
3583
  // Inline function 'kotlin.collections.mutableListOf' call
3584
3584
  var tmp$ret$20 = ArrayList_init_$Create$();
3585
- var focalFinalPoints = endgameMinimax(this, tmp_5, tmp$ret$20, playOrder, 0, state.wak_1, focalTeam, focalPts, oppPts, state.bal_1, state.aal_1, -2147483648, 2147483647);
3585
+ var focalFinalPoints = endgameMinimax(this, tmp_5, tmp$ret$20, playOrder, 0, state.bal_1, focalTeam, focalPts, oppPts, state.gal_1, state.fal_1, -2147483648, 2147483647);
3586
3586
  var totalPoints = ((focalPts + oppPts | 0) + remainingCardPoints | 0) + 10 | 0;
3587
3587
  return new RolloutResult(focalFinalPoints, totalPoints - focalFinalPoints | 0);
3588
3588
  };
3589
3589
  function selectCard($this, state, legalActions) {
3590
- var tmp0_elvis_lhs = state.kah_1;
3590
+ var tmp0_elvis_lhs = state.pah_1;
3591
3591
  var tmp;
3592
3592
  if (tmp0_elvis_lhs == null) {
3593
3593
  return first(legalActions);
@@ -3611,14 +3611,14 @@
3611
3611
  var _iterator__ex2g4s_0 = destination.t();
3612
3612
  while (_iterator__ex2g4s_0.u()) {
3613
3613
  var item = _iterator__ex2g4s_0.v();
3614
- var tmp$ret$2 = item.bah_1;
3614
+ var tmp$ret$2 = item.gah_1;
3615
3615
  destination_0.e1(tmp$ret$2);
3616
3616
  }
3617
3617
  var legalCards = destination_0;
3618
3618
  if (legalCards.r())
3619
3619
  return first(legalActions);
3620
3620
  // Inline function 'kotlin.collections.map' call
3621
- var this_0 = state.jah_1;
3621
+ var this_0 = state.oah_1;
3622
3622
  // Inline function 'kotlin.collections.mapTo' call
3623
3623
  var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
3624
3624
  var _iterator__ex2g4s_1 = this_0.t();
@@ -3628,18 +3628,18 @@
3628
3628
  destination_1.e1(tmp$ret$5);
3629
3629
  }
3630
3630
  var trickCards = destination_1;
3631
- var focalIndex = state.gah_1.o2(state.fah_1);
3631
+ var focalIndex = state.lah_1.o2(state.kah_1);
3632
3632
  var tmp_0;
3633
- if (state.aai_1.isTeamGame && state.gah_1.g1() === 4) {
3634
- tmp_0 = state.gah_1.h1((focalIndex + 2 | 0) % 4 | 0);
3633
+ if (state.fai_1.isTeamGame && state.lah_1.g1() === 4) {
3634
+ tmp_0 = state.lah_1.h1((focalIndex + 2 | 0) % 4 | 0);
3635
3635
  } else {
3636
3636
  tmp_0 = null;
3637
3637
  }
3638
3638
  var partnerPid = tmp_0;
3639
3639
  var partnerWinning = isPartnerWinning_0($this, trickCards, partnerPid, trump);
3640
- var tmp_1 = flatten(state.iah_1.y2());
3640
+ var tmp_1 = flatten(state.nah_1.y2());
3641
3641
  // Inline function 'kotlin.collections.map' call
3642
- var this_1 = state.jah_1;
3642
+ var this_1 = state.oah_1;
3643
3643
  // Inline function 'kotlin.collections.mapTo' call
3644
3644
  var destination_2 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
3645
3645
  var _iterator__ex2g4s_2 = this_1.t();
@@ -3650,13 +3650,13 @@
3650
3650
  }
3651
3651
  var released = plus_0(tmp_1, destination_2);
3652
3652
  // Inline function 'kotlin.collections.filter' call
3653
- var tmp0 = state.vah_1.m1();
3653
+ var tmp0 = state.aai_1.m1();
3654
3654
  // Inline function 'kotlin.collections.filterTo' call
3655
3655
  var destination_3 = ArrayList_init_$Create$();
3656
3656
  var _iterator__ex2g4s_3 = tmp0.t();
3657
3657
  while (_iterator__ex2g4s_3.u()) {
3658
3658
  var element_0 = _iterator__ex2g4s_3.v();
3659
- if (!(element_0.n1() === state.fah_1)) {
3659
+ if (!(element_0.n1() === state.kah_1)) {
3660
3660
  destination_3.e1(element_0);
3661
3661
  }
3662
3662
  }
@@ -3670,13 +3670,13 @@
3670
3670
  addAll(destination_4, list);
3671
3671
  }
3672
3672
  var oppVoids = toSet(destination_4);
3673
- var card = $this.aan_1.oal(state.hah_1, legalCards, trickCards, trump, partnerPid, partnerWinning, VOID, released, oppVoids);
3673
+ var card = $this.fan_1.tal(state.mah_1, legalCards, trickCards, trump, partnerPid, partnerWinning, VOID, released, oppVoids);
3674
3674
  return new PlayCard(card);
3675
3675
  }
3676
3676
  function isPartnerWinning_0($this, trickCards, partnerPid, trump) {
3677
3677
  if (partnerPid == null || trickCards.r())
3678
3678
  return false;
3679
- var firstSuit = first(trickCards).hal_1.a63();
3679
+ var firstSuit = first(trickCards).mal_1.a63();
3680
3680
  var tmp$ret$0;
3681
3681
  $l$block_0: {
3682
3682
  // Inline function 'kotlin.collections.maxByOrNull' call
@@ -3691,10 +3691,10 @@
3691
3691
  break $l$block_0;
3692
3692
  }
3693
3693
  var it = maxElem;
3694
- var maxValue = getGrowth(it.hal_1, trump, firstSuit);
3694
+ var maxValue = getGrowth(it.mal_1, trump, firstSuit);
3695
3695
  do {
3696
3696
  var e = iterator.v();
3697
- var v = getGrowth(e.hal_1, trump, firstSuit);
3697
+ var v = getGrowth(e.mal_1, trump, firstSuit);
3698
3698
  if (compareTo(maxValue, v) < 0) {
3699
3699
  maxElem = e;
3700
3700
  maxValue = v;
@@ -3704,15 +3704,15 @@
3704
3704
  tmp$ret$0 = maxElem;
3705
3705
  }
3706
3706
  var winner = tmp$ret$0;
3707
- return (winner == null ? null : winner.gal_1) == partnerPid;
3707
+ return (winner == null ? null : winner.lal_1) == partnerPid;
3708
3708
  }
3709
3709
  function HeuristicBotPolicy(circle1Threshold, circle2Threshold) {
3710
3710
  circle1Threshold = circle1Threshold === VOID ? null : circle1Threshold;
3711
3711
  circle2Threshold = circle2Threshold === VOID ? null : circle2Threshold;
3712
- this.aan_1 = new RolloutPolicy();
3713
- this.ban_1 = new SuitSelectionPolicy(VOID, circle1Threshold, circle2Threshold);
3712
+ this.fan_1 = new RolloutPolicy();
3713
+ this.gan_1 = new SuitSelectionPolicy(VOID, circle1Threshold, circle2Threshold);
3714
3714
  }
3715
- protoOf(HeuristicBotPolicy).naj = function (state, legalActions) {
3715
+ protoOf(HeuristicBotPolicy).saj = function (state, legalActions) {
3716
3716
  if (legalActions.g1() === 1)
3717
3717
  return first(legalActions);
3718
3718
  var tmp;
@@ -3766,7 +3766,7 @@
3766
3766
  tmp$ret$2 = false;
3767
3767
  }
3768
3768
  if (tmp$ret$2) {
3769
- tmp = this.ban_1.fan(state, legalActions);
3769
+ tmp = this.gan_1.kan(state, legalActions);
3770
3770
  } else {
3771
3771
  var tmp$ret$4;
3772
3772
  $l$block_4: {
@@ -3800,7 +3800,7 @@
3800
3800
  var element_2 = _iterator__ex2g4s_2.v();
3801
3801
  var tmp_3;
3802
3802
  if (element_2 instanceof AcceptCombinations) {
3803
- tmp_3 = element_2.eah_1;
3803
+ tmp_3 = element_2.jah_1;
3804
3804
  } else {
3805
3805
  tmp_3 = false;
3806
3806
  }
@@ -3830,10 +3830,10 @@
3830
3830
  return PimcBotPolicy_init_$Init$(pimcEngine, circle1Threshold, circle2Threshold, objectCreate(protoOf(PimcBotPolicy)));
3831
3831
  }
3832
3832
  function PimcBotPolicy(pimcEngine, suitSelectionPolicy) {
3833
- this.gan_1 = pimcEngine;
3834
- this.han_1 = suitSelectionPolicy;
3833
+ this.lan_1 = pimcEngine;
3834
+ this.man_1 = suitSelectionPolicy;
3835
3835
  }
3836
- protoOf(PimcBotPolicy).naj = function (state, legalActions) {
3836
+ protoOf(PimcBotPolicy).saj = function (state, legalActions) {
3837
3837
  if (legalActions.g1() === 1)
3838
3838
  return first(legalActions);
3839
3839
  var tmp;
@@ -3861,7 +3861,7 @@
3861
3861
  tmp$ret$0 = false;
3862
3862
  }
3863
3863
  if (tmp$ret$0) {
3864
- var scores = this.gan_1.nam(state, legalActions);
3864
+ var scores = this.lan_1.sam(state, legalActions);
3865
3865
  // Inline function 'kotlin.collections.maxByOrNull' call
3866
3866
  var tmp0 = scores.m1();
3867
3867
  var tmp$ret$2;
@@ -3917,7 +3917,7 @@
3917
3917
  tmp$ret$6 = false;
3918
3918
  }
3919
3919
  if (tmp$ret$6) {
3920
- tmp = this.han_1.fan(state, legalActions);
3920
+ tmp = this.man_1.kan(state, legalActions);
3921
3921
  } else {
3922
3922
  var tmp$ret$8;
3923
3923
  $l$block_6: {
@@ -3951,7 +3951,7 @@
3951
3951
  var element_2 = _iterator__ex2g4s_2.v();
3952
3952
  var tmp_3;
3953
3953
  if (element_2 instanceof AcceptCombinations) {
3954
- tmp_3 = element_2.eah_1;
3954
+ tmp_3 = element_2.jah_1;
3955
3955
  } else {
3956
3956
  tmp_3 = false;
3957
3957
  }
@@ -4231,7 +4231,7 @@
4231
4231
  var _iterator__ex2g4s = legalCards.t();
4232
4232
  while (_iterator__ex2g4s.u()) {
4233
4233
  var element = _iterator__ex2g4s.v();
4234
- if (!element.a63().equals(trump) && Companion_getInstance_6().lan_1.m2(element.m())) {
4234
+ if (!element.a63().equals(trump) && Companion_getInstance_6().qan_1.m2(element.m())) {
4235
4235
  destination.e1(element);
4236
4236
  }
4237
4237
  }
@@ -4529,7 +4529,7 @@
4529
4529
  var tmp5_elvis_lhs = tmp_4;
4530
4530
  var releasedTrumps = tmp5_elvis_lhs == null ? 0 : tmp5_elvis_lhs;
4531
4531
  var accountedTrumps = myTrumps.g1() + releasedTrumps | 0;
4532
- var trumpsMostlyGone = accountedTrumps >= Companion_getInstance_6().kan_1;
4532
+ var trumpsMostlyGone = accountedTrumps >= Companion_getInstance_6().pan_1;
4533
4533
  // Inline function 'kotlin.collections.filter' call
4534
4534
  // Inline function 'kotlin.collections.filterTo' call
4535
4535
  var destination_5 = ArrayList_init_$Create$();
@@ -5026,7 +5026,7 @@
5026
5026
  while (_iterator__ex2g4s.u()) {
5027
5027
  var element = _iterator__ex2g4s.v();
5028
5028
  // Inline function 'kotlin.collections.takeWhile' call
5029
- var this_0 = Companion_getInstance_6().man_1;
5029
+ var this_0 = Companion_getInstance_6().ran_1;
5030
5030
  var list = ArrayList_init_$Create$();
5031
5031
  var _iterator__ex2g4s_0 = this_0.t();
5032
5032
  $l$loop: while (_iterator__ex2g4s_0.u()) {
@@ -5145,7 +5145,7 @@
5145
5145
  return tmp$ret$11;
5146
5146
  }
5147
5147
  function selectFollow($this, hand, legalCards, currentTrick, trump, partnerWinning) {
5148
- var firstSuit = first(currentTrick).hal_1.a63();
5148
+ var firstSuit = first(currentTrick).mal_1.a63();
5149
5149
  if (partnerWinning) {
5150
5150
  var tmp$ret$0;
5151
5151
  $l$block_0: {
@@ -5181,10 +5181,10 @@
5181
5181
  if (!iterator_0.u())
5182
5182
  throw NoSuchElementException_init_$Create$();
5183
5183
  var it_0 = iterator_0.v();
5184
- var maxValue = getGrowth(it_0.hal_1, trump, firstSuit);
5184
+ var maxValue = getGrowth(it_0.mal_1, trump, firstSuit);
5185
5185
  while (iterator_0.u()) {
5186
5186
  var it_1 = iterator_0.v();
5187
- var v_0 = getGrowth(it_1.hal_1, trump, firstSuit);
5187
+ var v_0 = getGrowth(it_1.mal_1, trump, firstSuit);
5188
5188
  if (compareTo(maxValue, v_0) < 0) {
5189
5189
  maxValue = v_0;
5190
5190
  }
@@ -5309,11 +5309,11 @@
5309
5309
  }
5310
5310
  function Companion_6() {
5311
5311
  Companion_instance_8 = this;
5312
- this.ian_1 = 8;
5313
- this.jan_1 = 3;
5314
- this.kan_1 = numberToInt(8 * 0.8);
5315
- this.lan_1 = setOf_0([CardName_KING_getInstance(), CardName_QUEEN_getInstance()]);
5316
- this.man_1 = listOf_0([CardName_ACE_getInstance(), CardName_TEN_getInstance(), CardName_KING_getInstance(), CardName_QUEEN_getInstance(), CardName_JACK_getInstance(), CardName_NINE_getInstance(), CardName_EIGHT_getInstance(), CardName_SEVEN_getInstance()]);
5312
+ this.nan_1 = 8;
5313
+ this.oan_1 = 3;
5314
+ this.pan_1 = numberToInt(8 * 0.8);
5315
+ this.qan_1 = setOf_0([CardName_KING_getInstance(), CardName_QUEEN_getInstance()]);
5316
+ this.ran_1 = listOf_0([CardName_ACE_getInstance(), CardName_TEN_getInstance(), CardName_KING_getInstance(), CardName_QUEEN_getInstance(), CardName_JACK_getInstance(), CardName_NINE_getInstance(), CardName_EIGHT_getInstance(), CardName_SEVEN_getInstance()]);
5317
5317
  }
5318
5318
  var Companion_instance_8;
5319
5319
  function Companion_getInstance_6() {
@@ -5322,16 +5322,16 @@
5322
5322
  return Companion_instance_8;
5323
5323
  }
5324
5324
  function sam$kotlin_Comparator$0_2(function_0) {
5325
- this.nan_1 = function_0;
5325
+ this.san_1 = function_0;
5326
5326
  }
5327
5327
  protoOf(sam$kotlin_Comparator$0_2).hd = function (a, b) {
5328
- return this.nan_1(a, b);
5328
+ return this.san_1(a, b);
5329
5329
  };
5330
5330
  protoOf(sam$kotlin_Comparator$0_2).compare = function (a, b) {
5331
5331
  return this.hd(a, b);
5332
5332
  };
5333
5333
  protoOf(sam$kotlin_Comparator$0_2).s3 = function () {
5334
- return this.nan_1;
5334
+ return this.san_1;
5335
5335
  };
5336
5336
  protoOf(sam$kotlin_Comparator$0_2).equals = function (other) {
5337
5337
  var tmp;
@@ -5352,16 +5352,16 @@
5352
5352
  return hashCode(this.s3());
5353
5353
  };
5354
5354
  function sam$kotlin_Comparator$0_3(function_0) {
5355
- this.oan_1 = function_0;
5355
+ this.tan_1 = function_0;
5356
5356
  }
5357
5357
  protoOf(sam$kotlin_Comparator$0_3).hd = function (a, b) {
5358
- return this.oan_1(a, b);
5358
+ return this.tan_1(a, b);
5359
5359
  };
5360
5360
  protoOf(sam$kotlin_Comparator$0_3).compare = function (a, b) {
5361
5361
  return this.hd(a, b);
5362
5362
  };
5363
5363
  protoOf(sam$kotlin_Comparator$0_3).s3 = function () {
5364
- return this.oan_1;
5364
+ return this.tan_1;
5365
5365
  };
5366
5366
  protoOf(sam$kotlin_Comparator$0_3).equals = function (other) {
5367
5367
  var tmp;
@@ -5382,16 +5382,16 @@
5382
5382
  return hashCode(this.s3());
5383
5383
  };
5384
5384
  function sam$kotlin_Comparator$0_4(function_0) {
5385
- this.pan_1 = function_0;
5385
+ this.uan_1 = function_0;
5386
5386
  }
5387
5387
  protoOf(sam$kotlin_Comparator$0_4).hd = function (a, b) {
5388
- return this.pan_1(a, b);
5388
+ return this.uan_1(a, b);
5389
5389
  };
5390
5390
  protoOf(sam$kotlin_Comparator$0_4).compare = function (a, b) {
5391
5391
  return this.hd(a, b);
5392
5392
  };
5393
5393
  protoOf(sam$kotlin_Comparator$0_4).s3 = function () {
5394
- return this.pan_1;
5394
+ return this.uan_1;
5395
5395
  };
5396
5396
  protoOf(sam$kotlin_Comparator$0_4).equals = function (other) {
5397
5397
  var tmp;
@@ -5412,16 +5412,16 @@
5412
5412
  return hashCode(this.s3());
5413
5413
  };
5414
5414
  function sam$kotlin_Comparator$0_5(function_0) {
5415
- this.qan_1 = function_0;
5415
+ this.van_1 = function_0;
5416
5416
  }
5417
5417
  protoOf(sam$kotlin_Comparator$0_5).hd = function (a, b) {
5418
- return this.qan_1(a, b);
5418
+ return this.van_1(a, b);
5419
5419
  };
5420
5420
  protoOf(sam$kotlin_Comparator$0_5).compare = function (a, b) {
5421
5421
  return this.hd(a, b);
5422
5422
  };
5423
5423
  protoOf(sam$kotlin_Comparator$0_5).s3 = function () {
5424
- return this.qan_1;
5424
+ return this.van_1;
5425
5425
  };
5426
5426
  protoOf(sam$kotlin_Comparator$0_5).equals = function (other) {
5427
5427
  var tmp;
@@ -5442,16 +5442,16 @@
5442
5442
  return hashCode(this.s3());
5443
5443
  };
5444
5444
  function sam$kotlin_Comparator$0_6(function_0) {
5445
- this.ran_1 = function_0;
5445
+ this.wan_1 = function_0;
5446
5446
  }
5447
5447
  protoOf(sam$kotlin_Comparator$0_6).hd = function (a, b) {
5448
- return this.ran_1(a, b);
5448
+ return this.wan_1(a, b);
5449
5449
  };
5450
5450
  protoOf(sam$kotlin_Comparator$0_6).compare = function (a, b) {
5451
5451
  return this.hd(a, b);
5452
5452
  };
5453
5453
  protoOf(sam$kotlin_Comparator$0_6).s3 = function () {
5454
- return this.ran_1;
5454
+ return this.wan_1;
5455
5455
  };
5456
5456
  protoOf(sam$kotlin_Comparator$0_6).equals = function (other) {
5457
5457
  var tmp;
@@ -5926,7 +5926,7 @@
5926
5926
  function RolloutPolicy() {
5927
5927
  Companion_getInstance_6();
5928
5928
  }
5929
- protoOf(RolloutPolicy).san = function (hand, legalCards, currentTrick, trump, partnerPlayerId, partnerWinning, opponentCards, releasedCards, opponentVoids) {
5929
+ protoOf(RolloutPolicy).xan = function (hand, legalCards, currentTrick, trump, partnerPlayerId, partnerWinning, opponentCards, releasedCards, opponentVoids) {
5930
5930
  if (legalCards.g1() === 1)
5931
5931
  return first(legalCards);
5932
5932
  var tmp;
@@ -5943,11 +5943,11 @@
5943
5943
  }
5944
5944
  return tmp;
5945
5945
  };
5946
- protoOf(RolloutPolicy).oal = function (hand, legalCards, currentTrick, trump, partnerPlayerId, partnerWinning, opponentCards, releasedCards, opponentVoids, $super) {
5946
+ protoOf(RolloutPolicy).tal = function (hand, legalCards, currentTrick, trump, partnerPlayerId, partnerWinning, opponentCards, releasedCards, opponentVoids, $super) {
5947
5947
  opponentCards = opponentCards === VOID ? null : opponentCards;
5948
5948
  releasedCards = releasedCards === VOID ? null : releasedCards;
5949
5949
  opponentVoids = opponentVoids === VOID ? null : opponentVoids;
5950
- return $super === VOID ? this.san(hand, legalCards, currentTrick, trump, partnerPlayerId, partnerWinning, opponentCards, releasedCards, opponentVoids) : $super.san.call(this, hand, legalCards, currentTrick, trump, partnerPlayerId, partnerWinning, opponentCards, releasedCards, opponentVoids);
5950
+ return $super === VOID ? this.xan(hand, legalCards, currentTrick, trump, partnerPlayerId, partnerWinning, opponentCards, releasedCards, opponentVoids) : $super.xan.call(this, hand, legalCards, currentTrick, trump, partnerPlayerId, partnerWinning, opponentCards, releasedCards, opponentVoids);
5951
5951
  };
5952
5952
  function buildEffectiveCards($this, ownCards, trumpCard, suit, circle) {
5953
5953
  if (!(circle === 1) || trumpCard == null || !trumpCard.a63().equals(suit))
@@ -5955,9 +5955,9 @@
5955
5955
  return plus(ownCards, trumpCard);
5956
5956
  }
5957
5957
  function evaluateSuit($this, effectiveCards, trump, trumpCard) {
5958
- var trumpControl = $this.can_1.z9p(effectiveCards, trump);
5959
- var sideSuitPower = $this.can_1.a9q(effectiveCards, trump);
5960
- var distributionBonus = $this.can_1.b9q(effectiveCards, trump);
5958
+ var trumpControl = $this.han_1.d9q(effectiveCards, trump);
5959
+ var sideSuitPower = $this.han_1.e9q(effectiveCards, trump);
5960
+ var distributionBonus = $this.han_1.f9q(effectiveCards, trump);
5961
5961
  var tmp;
5962
5962
  if (!(trumpCard == null) && trumpCard.a63().equals(trump)) {
5963
5963
  tmp = getPoint(trumpCard, trump);
@@ -5968,10 +5968,10 @@
5968
5968
  return trumpControl + sideSuitPower + distributionBonus + trumpCardPointBonus;
5969
5969
  }
5970
5970
  function getThreshold($this, mode, circle) {
5971
- if (circle <= 1 && !($this.dan_1 == null))
5972
- return $this.dan_1;
5973
- if (circle > 1 && !($this.ean_1 == null))
5974
- return $this.ean_1;
5971
+ if (circle <= 1 && !($this.ian_1 == null))
5972
+ return $this.ian_1;
5973
+ if (circle > 1 && !($this.jan_1 == null))
5974
+ return $this.jan_1;
5975
5975
  var _destruct__k2r9zo;
5976
5976
  switch (mode.a1_1) {
5977
5977
  case 0:
@@ -5992,11 +5992,11 @@
5992
5992
  calculator = calculator === VOID ? new HandStrengthCalculatorImpl() : calculator;
5993
5993
  circle1Override = circle1Override === VOID ? null : circle1Override;
5994
5994
  circle2Override = circle2Override === VOID ? null : circle2Override;
5995
- this.can_1 = calculator;
5996
- this.dan_1 = circle1Override;
5997
- this.ean_1 = circle2Override;
5995
+ this.han_1 = calculator;
5996
+ this.ian_1 = circle1Override;
5997
+ this.jan_1 = circle2Override;
5998
5998
  }
5999
- protoOf(SuitSelectionPolicy).fan = function (state, legalActions) {
5999
+ protoOf(SuitSelectionPolicy).kan = function (state, legalActions) {
6000
6000
  // Inline function 'kotlin.collections.filterIsInstance' call
6001
6001
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
6002
6002
  var destination = ArrayList_init_$Create$();
@@ -6018,7 +6018,7 @@
6018
6018
  var _iterator__ex2g4s_0 = suitActions.t();
6019
6019
  while (_iterator__ex2g4s_0.u()) {
6020
6020
  var element_0 = _iterator__ex2g4s_0.v();
6021
- if (element_0.dah_1 == null) {
6021
+ if (element_0.iah_1 == null) {
6022
6022
  tmp$ret$3 = element_0;
6023
6023
  break $l$block;
6024
6024
  }
@@ -6032,7 +6032,7 @@
6032
6032
  var _iterator__ex2g4s_1 = suitActions.t();
6033
6033
  while (_iterator__ex2g4s_1.u()) {
6034
6034
  var element_1 = _iterator__ex2g4s_1.v();
6035
- if (!(element_1.dah_1 == null)) {
6035
+ if (!(element_1.iah_1 == null)) {
6036
6036
  destination_0.e1(element_1);
6037
6037
  }
6038
6038
  }
@@ -6041,10 +6041,10 @@
6041
6041
  return passAction == null ? first(suitActions) : passAction;
6042
6042
  }
6043
6043
  var tmp;
6044
- if (state.nah_1.r()) {
6044
+ if (state.sah_1.r()) {
6045
6045
  tmp = 1;
6046
6046
  } else {
6047
- var tmp0 = state.nah_1;
6047
+ var tmp0 = state.sah_1;
6048
6048
  var tmp$ret$7;
6049
6049
  $l$block_0: {
6050
6050
  // Inline function 'kotlin.collections.maxOfOrNull' call
@@ -6053,9 +6053,9 @@
6053
6053
  tmp$ret$7 = null;
6054
6054
  break $l$block_0;
6055
6055
  }
6056
- var maxValue = iterator.v().fai_1;
6056
+ var maxValue = iterator.v().kai_1;
6057
6057
  while (iterator.u()) {
6058
- var v = iterator.v().fai_1;
6058
+ var v = iterator.v().kai_1;
6059
6059
  if (compareTo(maxValue, v) < 0) {
6060
6060
  maxValue = v;
6061
6061
  }
@@ -6066,7 +6066,7 @@
6066
6066
  tmp = tmp2_elvis_lhs == null ? 1 : tmp2_elvis_lhs;
6067
6067
  }
6068
6068
  var circle = tmp;
6069
- var threshold = getThreshold(this, state.aai_1, circle);
6069
+ var threshold = getThreshold(this, state.fai_1, circle);
6070
6070
  var bestSuit = null;
6071
6071
  var bestScore = 0.0;
6072
6072
  var bestUngatedSuit = null;
@@ -6074,7 +6074,7 @@
6074
6074
  var _iterator__ex2g4s_2 = declareActions.t();
6075
6075
  $l$loop_0: while (_iterator__ex2g4s_2.u()) {
6076
6076
  var action = _iterator__ex2g4s_2.v();
6077
- var tmp3_elvis_lhs = action.dah_1;
6077
+ var tmp3_elvis_lhs = action.iah_1;
6078
6078
  var tmp_0;
6079
6079
  if (tmp3_elvis_lhs == null) {
6080
6080
  continue $l$loop_0;
@@ -6082,13 +6082,13 @@
6082
6082
  tmp_0 = tmp3_elvis_lhs;
6083
6083
  }
6084
6084
  var suit = tmp_0;
6085
- var effectiveCards = buildEffectiveCards(this, state.hah_1, state.lah_1, suit, circle);
6086
- var score = evaluateSuit(this, effectiveCards, suit, state.lah_1);
6085
+ var effectiveCards = buildEffectiveCards(this, state.mah_1, state.qah_1, suit, circle);
6086
+ var score = evaluateSuit(this, effectiveCards, suit, state.qah_1);
6087
6087
  if (score > bestUngatedScore) {
6088
6088
  bestUngatedScore = score;
6089
6089
  bestUngatedSuit = suit;
6090
6090
  }
6091
- if (!this.tan(effectiveCards, suit, circle))
6091
+ if (!this.yan(effectiveCards, suit, circle))
6092
6092
  continue $l$loop_0;
6093
6093
  if (score > bestScore) {
6094
6094
  bestScore = score;
@@ -6106,7 +6106,7 @@
6106
6106
  }
6107
6107
  return tmp_1;
6108
6108
  };
6109
- protoOf(SuitSelectionPolicy).tan = function (effectiveCards, trump, circle) {
6109
+ protoOf(SuitSelectionPolicy).yan = function (effectiveCards, trump, circle) {
6110
6110
  // Inline function 'kotlin.collections.filter' call
6111
6111
  // Inline function 'kotlin.collections.filterTo' call
6112
6112
  var destination = ArrayList_init_$Create$();