raspberry_games_server_game_logic 1.8.390 → 1.8.392

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.
@@ -296,6 +296,7 @@
296
296
  var FromClientActionPayloadProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.b1;
297
297
  var mapFromClient = kotlin_io_raspberryapps_game_engine_engine.$_$.h1;
298
298
  var NextPlayerTurnAction = kotlin_io_raspberryapps_game_engine_engine.$_$.k2;
299
+ var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.p1;
299
300
  var get_ratingModule = kotlin_io_raspberryapps_game_engine_engine.$_$.v;
300
301
  var engineHelpersModule = kotlin_io_raspberryapps_game_engine_engine.$_$.e;
301
302
  //endregion
@@ -360,10 +361,10 @@
360
361
  spectators = tmp;
361
362
  var tmp_0;
362
363
  if ($super === VOID) {
363
- this.m9w(roomId, gameCreatorId, config, usersArray, transition, spectators);
364
+ this.k9w(roomId, gameCreatorId, config, usersArray, transition, spectators);
364
365
  tmp_0 = Unit_instance;
365
366
  } else {
366
- tmp_0 = $super.m9w.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
367
+ tmp_0 = $super.k9w.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
367
368
  }
368
369
  return tmp_0;
369
370
  }
@@ -371,10 +372,10 @@
371
372
  newRid = newRid === VOID ? null : newRid;
372
373
  var tmp;
373
374
  if ($super === VOID) {
374
- this.n9w(newRid);
375
+ this.l9w(newRid);
375
376
  tmp = Unit_instance;
376
377
  } else {
377
- tmp = $super.n9w.call(this, newRid);
378
+ tmp = $super.l9w.call(this, newRid);
378
379
  }
379
380
  return tmp;
380
381
  }
@@ -382,10 +383,10 @@
382
383
  roomId = roomId === VOID ? null : roomId;
383
384
  var tmp;
384
385
  if ($super === VOID) {
385
- this.o9w(reason, roomId);
386
+ this.m9w(reason, roomId);
386
387
  tmp = Unit_instance;
387
388
  } else {
388
- tmp = $super.o9w.call(this, reason, roomId);
389
+ tmp = $super.m9w.call(this, reason, roomId);
389
390
  }
390
391
  return tmp;
391
392
  }
@@ -451,7 +452,7 @@
451
452
  dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
452
453
  ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
453
454
  coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
454
- return $super === VOID ? this.ha1(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) : $super.ha1.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig);
455
+ return $super === VOID ? this.fa1(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) : $super.fa1.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig);
455
456
  }
456
457
  initMetadataForInterface(GameEngineController, 'GameEngineController');
457
458
  initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
@@ -460,6 +461,8 @@
460
461
  initMetadataForClass(GameServerHelperImpl, 'GameServerHelperImpl', GameServerHelperImpl, VOID, [GameServerHelper]);
461
462
  initMetadataForInterface(TestHelper, 'TestHelper');
462
463
  initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
464
+ initMetadataForClass(RoomMetadata, 'RoomMetadata', RoomMetadata);
465
+ initMetadataForClass(GameMetadata, 'GameMetadata');
463
466
  //endregion
464
467
  function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
465
468
  this.z9f_1 = $subscriber;
@@ -1328,20 +1331,20 @@
1328
1331
  return new GameServer$observeTableWhenRoundChanges$$inlined$map$2(this_1);
1329
1332
  }
1330
1333
  function Companion() {
1331
- this.y9m_1 = 'GameEngine_API';
1334
+ this.x9m_1 = 'GameEngine_API';
1332
1335
  }
1333
1336
  var Companion_instance_7;
1334
1337
  function Companion_getInstance_0() {
1335
1338
  return Companion_instance_7;
1336
1339
  }
1337
1340
  function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
1338
- this.z9m_1 = function_0;
1341
+ this.y9m_1 = function_0;
1339
1342
  }
1340
1343
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).n28 = function (value, $completion) {
1341
- return this.z9m_1(value, $completion);
1344
+ return this.y9m_1(value, $completion);
1342
1345
  };
1343
1346
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).a3 = function () {
1344
- return this.z9m_1;
1347
+ return this.y9m_1;
1345
1348
  };
1346
1349
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
1347
1350
  var tmp;
@@ -1362,13 +1365,13 @@
1362
1365
  return hashCode(this.a3());
1363
1366
  };
1364
1367
  function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
1365
- this.a9n_1 = function_0;
1368
+ this.z9m_1 = function_0;
1366
1369
  }
1367
1370
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).n28 = function (value, $completion) {
1368
- return this.a9n_1(value, $completion);
1371
+ return this.z9m_1(value, $completion);
1369
1372
  };
1370
1373
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).a3 = function () {
1371
- return this.a9n_1;
1374
+ return this.z9m_1;
1372
1375
  };
1373
1376
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
1374
1377
  var tmp;
@@ -1389,13 +1392,13 @@
1389
1392
  return hashCode(this.a3());
1390
1393
  };
1391
1394
  function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
1392
- this.b9n_1 = function_0;
1395
+ this.a9n_1 = function_0;
1393
1396
  }
1394
1397
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).n28 = function (value, $completion) {
1395
- return this.b9n_1(value, $completion);
1398
+ return this.a9n_1(value, $completion);
1396
1399
  };
1397
1400
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).a3 = function () {
1398
- return this.b9n_1;
1401
+ return this.a9n_1;
1399
1402
  };
1400
1403
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
1401
1404
  var tmp;
@@ -1416,13 +1419,13 @@
1416
1419
  return hashCode(this.a3());
1417
1420
  };
1418
1421
  function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
1419
- this.c9n_1 = function_0;
1422
+ this.b9n_1 = function_0;
1420
1423
  }
1421
1424
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).n28 = function (value, $completion) {
1422
- return this.c9n_1(value, $completion);
1425
+ return this.b9n_1(value, $completion);
1423
1426
  };
1424
1427
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).a3 = function () {
1425
- return this.c9n_1;
1428
+ return this.b9n_1;
1426
1429
  };
1427
1430
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
1428
1431
  var tmp;
@@ -1443,13 +1446,13 @@
1443
1446
  return hashCode(this.a3());
1444
1447
  };
1445
1448
  function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
1446
- this.d9n_1 = function_0;
1449
+ this.c9n_1 = function_0;
1447
1450
  }
1448
1451
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).n28 = function (value, $completion) {
1449
- return this.d9n_1(value, $completion);
1452
+ return this.c9n_1(value, $completion);
1450
1453
  };
1451
1454
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).a3 = function () {
1452
- return this.d9n_1;
1455
+ return this.c9n_1;
1453
1456
  };
1454
1457
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
1455
1458
  var tmp;
@@ -1470,13 +1473,13 @@
1470
1473
  return hashCode(this.a3());
1471
1474
  };
1472
1475
  function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
1473
- this.e9n_1 = function_0;
1476
+ this.d9n_1 = function_0;
1474
1477
  }
1475
1478
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).n28 = function (value, $completion) {
1476
- return this.e9n_1(value, $completion);
1479
+ return this.d9n_1(value, $completion);
1477
1480
  };
1478
1481
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).a3 = function () {
1479
- return this.e9n_1;
1482
+ return this.d9n_1;
1480
1483
  };
1481
1484
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
1482
1485
  var tmp;
@@ -1577,8 +1580,8 @@
1577
1580
  };
1578
1581
  }
1579
1582
  function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
1580
- this.n9n_1 = this$0;
1581
- this.o9n_1 = $subscriber;
1583
+ this.m9n_1 = this$0;
1584
+ this.n9n_1 = $subscriber;
1582
1585
  CoroutineImpl.call(this, resultContinuation);
1583
1586
  }
1584
1587
  protoOf(GameServer$subscribeToClientAction$slambda).b2d = function ($this$launchDefault, $completion) {
@@ -1599,8 +1602,8 @@
1599
1602
  case 0:
1600
1603
  this.s8_1 = 2;
1601
1604
  this.r8_1 = 1;
1602
- var tmp_0 = _get_toClientEventsObserver__6rp51y(this.n9n_1).q9n();
1603
- var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.o9n_1, null);
1605
+ var tmp_0 = _get_toClientEventsObserver__6rp51y(this.m9n_1).p9n();
1606
+ var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.n9n_1, null);
1604
1607
  suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
1605
1608
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1606
1609
  return suspendResult;
@@ -1624,8 +1627,8 @@
1624
1627
  while (true);
1625
1628
  };
1626
1629
  protoOf(GameServer$subscribeToClientAction$slambda).c2d = function ($this$launchDefault, completion) {
1627
- var i = new GameServer$subscribeToClientAction$slambda(this.n9n_1, this.o9n_1, completion);
1628
- i.p9n_1 = $this$launchDefault;
1630
+ var i = new GameServer$subscribeToClientAction$slambda(this.m9n_1, this.n9n_1, completion);
1631
+ i.o9n_1 = $this$launchDefault;
1629
1632
  return i;
1630
1633
  };
1631
1634
  function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
@@ -1637,8 +1640,8 @@
1637
1640
  return l;
1638
1641
  }
1639
1642
  function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
1640
- this.z9n_1 = this$0;
1641
- this.a9o_1 = $subscriber;
1643
+ this.y9n_1 = this$0;
1644
+ this.z9n_1 = $subscriber;
1642
1645
  CoroutineImpl.call(this, resultContinuation);
1643
1646
  }
1644
1647
  protoOf(GameServer$subscribeServerStateUpdate$slambda).b2d = function ($this$launchDefault, $completion) {
@@ -1659,8 +1662,8 @@
1659
1662
  case 0:
1660
1663
  this.s8_1 = 2;
1661
1664
  this.r8_1 = 1;
1662
- var tmp_0 = observeTableStateUpdates(this.z9n_1);
1663
- var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.a9o_1, null);
1665
+ var tmp_0 = observeTableStateUpdates(this.y9n_1);
1666
+ var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.z9n_1, null);
1664
1667
  suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
1665
1668
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1666
1669
  return suspendResult;
@@ -1684,8 +1687,8 @@
1684
1687
  while (true);
1685
1688
  };
1686
1689
  protoOf(GameServer$subscribeServerStateUpdate$slambda).c2d = function ($this$launchDefault, completion) {
1687
- var i = new GameServer$subscribeServerStateUpdate$slambda(this.z9n_1, this.a9o_1, completion);
1688
- i.b9o_1 = $this$launchDefault;
1690
+ var i = new GameServer$subscribeServerStateUpdate$slambda(this.y9n_1, this.z9n_1, completion);
1691
+ i.a9o_1 = $this$launchDefault;
1689
1692
  return i;
1690
1693
  };
1691
1694
  function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
@@ -1697,8 +1700,8 @@
1697
1700
  return l;
1698
1701
  }
1699
1702
  function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
1700
- this.k9o_1 = this$0;
1701
- this.l9o_1 = $subscriber;
1703
+ this.j9o_1 = this$0;
1704
+ this.k9o_1 = $subscriber;
1702
1705
  CoroutineImpl.call(this, resultContinuation);
1703
1706
  }
1704
1707
  protoOf(GameServer$subscribeServerStateUpdateJson$slambda).b2d = function ($this$launchDefault, $completion) {
@@ -1719,9 +1722,9 @@
1719
1722
  case 0:
1720
1723
  this.s8_1 = 2;
1721
1724
  this.r8_1 = 1;
1722
- var this_0 = observeTableStateUpdates(this.k9o_1);
1723
- var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.k9o_1);
1724
- var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.l9o_1, null);
1725
+ var this_0 = observeTableStateUpdates(this.j9o_1);
1726
+ var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.j9o_1);
1727
+ var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.k9o_1, null);
1725
1728
  suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
1726
1729
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1727
1730
  return suspendResult;
@@ -1745,8 +1748,8 @@
1745
1748
  while (true);
1746
1749
  };
1747
1750
  protoOf(GameServer$subscribeServerStateUpdateJson$slambda).c2d = function ($this$launchDefault, completion) {
1748
- var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.k9o_1, this.l9o_1, completion);
1749
- i.m9o_1 = $this$launchDefault;
1751
+ var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.j9o_1, this.k9o_1, completion);
1752
+ i.l9o_1 = $this$launchDefault;
1750
1753
  return i;
1751
1754
  };
1752
1755
  function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
@@ -1758,18 +1761,18 @@
1758
1761
  return l;
1759
1762
  }
1760
1763
  function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
1761
- this.v9o_1 = this$0;
1764
+ this.u9o_1 = this$0;
1762
1765
  CoroutineImpl.call(this, resultContinuation);
1763
1766
  }
1764
- protoOf(GameServer$observeTableStateUpdates$slambda).y9o = function ($this$transformLatest, it, $completion) {
1765
- var tmp = this.z9o($this$transformLatest, it, $completion);
1767
+ protoOf(GameServer$observeTableStateUpdates$slambda).x9o = function ($this$transformLatest, it, $completion) {
1768
+ var tmp = this.y9o($this$transformLatest, it, $completion);
1766
1769
  tmp.t8_1 = Unit_instance;
1767
1770
  tmp.u8_1 = null;
1768
1771
  return tmp.z8();
1769
1772
  };
1770
1773
  protoOf(GameServer$observeTableStateUpdates$slambda).i9 = function (p1, p2, $completion) {
1771
1774
  var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
1772
- return this.y9o(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
1775
+ return this.x9o(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
1773
1776
  };
1774
1777
  protoOf(GameServer$observeTableStateUpdates$slambda).z8 = function () {
1775
1778
  var suspendResult = this.t8_1;
@@ -1780,8 +1783,8 @@
1780
1783
  case 0:
1781
1784
  this.s8_1 = 2;
1782
1785
  this.r8_1 = 1;
1783
- var table = this.x9o_1;
1784
- suspendResult = emitAll(this.w9o_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.v9o_1, null)), this);
1786
+ var table = this.w9o_1;
1787
+ suspendResult = emitAll(this.v9o_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.u9o_1, null)), this);
1785
1788
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1786
1789
  return suspendResult;
1787
1790
  }
@@ -1803,16 +1806,16 @@
1803
1806
  }
1804
1807
  while (true);
1805
1808
  };
1806
- protoOf(GameServer$observeTableStateUpdates$slambda).z9o = function ($this$transformLatest, it, completion) {
1807
- var i = new GameServer$observeTableStateUpdates$slambda(this.v9o_1, completion);
1808
- i.w9o_1 = $this$transformLatest;
1809
- i.x9o_1 = it;
1809
+ protoOf(GameServer$observeTableStateUpdates$slambda).y9o = function ($this$transformLatest, it, completion) {
1810
+ var i = new GameServer$observeTableStateUpdates$slambda(this.u9o_1, completion);
1811
+ i.v9o_1 = $this$transformLatest;
1812
+ i.w9o_1 = it;
1810
1813
  return i;
1811
1814
  };
1812
1815
  function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
1813
1816
  var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
1814
1817
  var l = function ($this$transformLatest, it, $completion) {
1815
- return i.y9o($this$transformLatest, it, $completion);
1818
+ return i.x9o($this$transformLatest, it, $completion);
1816
1819
  };
1817
1820
  l.$arity = 2;
1818
1821
  return l;
@@ -1857,8 +1860,8 @@
1857
1860
  return this.o28(collector, $completion);
1858
1861
  };
1859
1862
  function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
1860
- this.i9p_1 = this$0;
1861
- this.j9p_1 = $subscriber;
1863
+ this.h9p_1 = this$0;
1864
+ this.i9p_1 = $subscriber;
1862
1865
  CoroutineImpl.call(this, resultContinuation);
1863
1866
  }
1864
1867
  protoOf(GameServer$subscribeWith$slambda).b2d = function ($this$launchDefault, $completion) {
@@ -1879,8 +1882,8 @@
1879
1882
  case 0:
1880
1883
  this.s8_1 = 2;
1881
1884
  this.r8_1 = 1;
1882
- var tmp_0 = distinctUntilChanged(this.i9p_1.r6m());
1883
- var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.j9p_1, null);
1885
+ var tmp_0 = distinctUntilChanged(this.h9p_1.r6m());
1886
+ var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.i9p_1, null);
1884
1887
  suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
1885
1888
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1886
1889
  return suspendResult;
@@ -1904,8 +1907,8 @@
1904
1907
  while (true);
1905
1908
  };
1906
1909
  protoOf(GameServer$subscribeWith$slambda).c2d = function ($this$launchDefault, completion) {
1907
- var i = new GameServer$subscribeWith$slambda(this.i9p_1, this.j9p_1, completion);
1908
- i.k9p_1 = $this$launchDefault;
1910
+ var i = new GameServer$subscribeWith$slambda(this.h9p_1, this.i9p_1, completion);
1911
+ i.j9p_1 = $this$launchDefault;
1909
1912
  return i;
1910
1913
  };
1911
1914
  function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
@@ -1917,18 +1920,18 @@
1917
1920
  return l;
1918
1921
  }
1919
1922
  function GameServer$fromClientEvent$slambda($action, resultContinuation) {
1920
- this.t9p_1 = $action;
1923
+ this.s9p_1 = $action;
1921
1924
  CoroutineImpl.call(this, resultContinuation);
1922
1925
  }
1923
- protoOf(GameServer$fromClientEvent$slambda).w9p = function ($this$dispatchAsync, store, $completion) {
1924
- var tmp = this.x9p($this$dispatchAsync, store, $completion);
1926
+ protoOf(GameServer$fromClientEvent$slambda).v9p = function ($this$dispatchAsync, store, $completion) {
1927
+ var tmp = this.w9p($this$dispatchAsync, store, $completion);
1925
1928
  tmp.t8_1 = Unit_instance;
1926
1929
  tmp.u8_1 = null;
1927
1930
  return tmp.z8();
1928
1931
  };
1929
1932
  protoOf(GameServer$fromClientEvent$slambda).i9 = function (p1, p2, $completion) {
1930
1933
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
1931
- return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1934
+ return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1932
1935
  };
1933
1936
  protoOf(GameServer$fromClientEvent$slambda).z8 = function () {
1934
1937
  var suspendResult = this.t8_1;
@@ -1937,11 +1940,11 @@
1937
1940
  var tmp = this.r8_1;
1938
1941
  if (tmp === 0) {
1939
1942
  this.s8_1 = 1;
1940
- if (this.t9p_1 instanceof PlayerReadyFromClientAction)
1941
- if (!get_isCreated(this.v9p_1.state)) {
1943
+ if (this.s9p_1 instanceof PlayerReadyFromClientAction)
1944
+ if (!get_isCreated(this.u9p_1.state)) {
1942
1945
  return Unit_instance;
1943
1946
  }
1944
- this.v9p_1.dispatch(this.t9p_1);
1947
+ this.u9p_1.dispatch(this.s9p_1);
1945
1948
  return Unit_instance;
1946
1949
  } else if (tmp === 1) {
1947
1950
  throw this.u8_1;
@@ -1952,33 +1955,33 @@
1952
1955
  }
1953
1956
  while (true);
1954
1957
  };
1955
- protoOf(GameServer$fromClientEvent$slambda).x9p = function ($this$dispatchAsync, store, completion) {
1956
- var i = new GameServer$fromClientEvent$slambda(this.t9p_1, completion);
1957
- i.u9p_1 = $this$dispatchAsync;
1958
- i.v9p_1 = store;
1958
+ protoOf(GameServer$fromClientEvent$slambda).w9p = function ($this$dispatchAsync, store, completion) {
1959
+ var i = new GameServer$fromClientEvent$slambda(this.s9p_1, completion);
1960
+ i.t9p_1 = $this$dispatchAsync;
1961
+ i.u9p_1 = store;
1959
1962
  return i;
1960
1963
  };
1961
1964
  function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
1962
1965
  var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
1963
1966
  var l = function ($this$dispatchAsync, store, $completion) {
1964
- return i.w9p($this$dispatchAsync, store, $completion);
1967
+ return i.v9p($this$dispatchAsync, store, $completion);
1965
1968
  };
1966
1969
  l.$arity = 2;
1967
1970
  return l;
1968
1971
  }
1969
1972
  function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
1970
- this.g9q_1 = $playerId;
1973
+ this.f9q_1 = $playerId;
1971
1974
  CoroutineImpl.call(this, resultContinuation);
1972
1975
  }
1973
- protoOf(GameServer$playerLostConnection$slambda).w9p = function ($this$dispatchAsync, store, $completion) {
1974
- var tmp = this.x9p($this$dispatchAsync, store, $completion);
1976
+ protoOf(GameServer$playerLostConnection$slambda).v9p = function ($this$dispatchAsync, store, $completion) {
1977
+ var tmp = this.w9p($this$dispatchAsync, store, $completion);
1975
1978
  tmp.t8_1 = Unit_instance;
1976
1979
  tmp.u8_1 = null;
1977
1980
  return tmp.z8();
1978
1981
  };
1979
1982
  protoOf(GameServer$playerLostConnection$slambda).i9 = function (p1, p2, $completion) {
1980
1983
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
1981
- return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1984
+ return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1982
1985
  };
1983
1986
  protoOf(GameServer$playerLostConnection$slambda).z8 = function () {
1984
1987
  var suspendResult = this.t8_1;
@@ -1987,12 +1990,12 @@
1987
1990
  var tmp = this.r8_1;
1988
1991
  if (tmp === 0) {
1989
1992
  this.s8_1 = 1;
1990
- if (!get_isCreated(this.i9q_1.state)) {
1993
+ if (!get_isCreated(this.h9q_1.state)) {
1991
1994
  return Unit_instance;
1992
1995
  }
1993
- var tmp_0 = this.i9q_1.dispatch;
1996
+ var tmp_0 = this.h9q_1.dispatch;
1994
1997
  var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
1995
- tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.g9q_1));
1998
+ tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.f9q_1));
1996
1999
  return Unit_instance;
1997
2000
  } else if (tmp === 1) {
1998
2001
  throw this.u8_1;
@@ -2003,34 +2006,34 @@
2003
2006
  }
2004
2007
  while (true);
2005
2008
  };
2006
- protoOf(GameServer$playerLostConnection$slambda).x9p = function ($this$dispatchAsync, store, completion) {
2007
- var i = new GameServer$playerLostConnection$slambda(this.g9q_1, completion);
2008
- i.h9q_1 = $this$dispatchAsync;
2009
- i.i9q_1 = store;
2009
+ protoOf(GameServer$playerLostConnection$slambda).w9p = function ($this$dispatchAsync, store, completion) {
2010
+ var i = new GameServer$playerLostConnection$slambda(this.f9q_1, completion);
2011
+ i.g9q_1 = $this$dispatchAsync;
2012
+ i.h9q_1 = store;
2010
2013
  return i;
2011
2014
  };
2012
2015
  function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
2013
2016
  var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
2014
2017
  var l = function ($this$dispatchAsync, store, $completion) {
2015
- return i.w9p($this$dispatchAsync, store, $completion);
2018
+ return i.v9p($this$dispatchAsync, store, $completion);
2016
2019
  };
2017
2020
  l.$arity = 2;
2018
2021
  return l;
2019
2022
  }
2020
2023
  function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
2021
- this.r9q_1 = this$0;
2022
- this.s9q_1 = $playerId;
2024
+ this.q9q_1 = this$0;
2025
+ this.r9q_1 = $playerId;
2023
2026
  CoroutineImpl.call(this, resultContinuation);
2024
2027
  }
2025
- protoOf(GameServer$playerLive$slambda).w9p = function ($this$dispatchAsync, store, $completion) {
2026
- var tmp = this.x9p($this$dispatchAsync, store, $completion);
2028
+ protoOf(GameServer$playerLive$slambda).v9p = function ($this$dispatchAsync, store, $completion) {
2029
+ var tmp = this.w9p($this$dispatchAsync, store, $completion);
2027
2030
  tmp.t8_1 = Unit_instance;
2028
2031
  tmp.u8_1 = null;
2029
2032
  return tmp.z8();
2030
2033
  };
2031
2034
  protoOf(GameServer$playerLive$slambda).i9 = function (p1, p2, $completion) {
2032
2035
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2033
- return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2036
+ return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2034
2037
  };
2035
2038
  protoOf(GameServer$playerLive$slambda).z8 = function () {
2036
2039
  var suspendResult = this.t8_1;
@@ -2039,16 +2042,16 @@
2039
2042
  var tmp = this.r8_1;
2040
2043
  if (tmp === 0) {
2041
2044
  this.s8_1 = 1;
2042
- if (get_isFinished(this.u9q_1.state) || get_isFinishing(this.u9q_1.state)) {
2045
+ if (get_isFinished(this.t9q_1.state) || get_isFinishing(this.t9q_1.state)) {
2043
2046
  return Unit_instance;
2044
2047
  }
2045
- if (!get_isCreated(this.u9q_1.state) || !this.r9q_1.u66().u6n()) {
2046
- this.r9q_1.h4q().w('GameEngine_API', 'playerLive: ' + this.s9q_1 + ' before game is created');
2048
+ if (!get_isCreated(this.t9q_1.state) || !this.q9q_1.u66().u6n()) {
2049
+ this.q9q_1.h4q().v('GameEngine_API', 'playerLive: ' + this.r9q_1 + ' before game is created');
2047
2050
  return Unit_instance;
2048
2051
  }
2049
- var tmp_0 = this.u9q_1.dispatch;
2052
+ var tmp_0 = this.t9q_1.dispatch;
2050
2053
  var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
2051
- tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.s9q_1));
2054
+ tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.r9q_1));
2052
2055
  return Unit_instance;
2053
2056
  } else if (tmp === 1) {
2054
2057
  throw this.u8_1;
@@ -2059,34 +2062,34 @@
2059
2062
  }
2060
2063
  while (true);
2061
2064
  };
2062
- protoOf(GameServer$playerLive$slambda).x9p = function ($this$dispatchAsync, store, completion) {
2063
- var i = new GameServer$playerLive$slambda(this.r9q_1, this.s9q_1, completion);
2064
- i.t9q_1 = $this$dispatchAsync;
2065
- i.u9q_1 = store;
2065
+ protoOf(GameServer$playerLive$slambda).w9p = function ($this$dispatchAsync, store, completion) {
2066
+ var i = new GameServer$playerLive$slambda(this.q9q_1, this.r9q_1, completion);
2067
+ i.s9q_1 = $this$dispatchAsync;
2068
+ i.t9q_1 = store;
2066
2069
  return i;
2067
2070
  };
2068
2071
  function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
2069
2072
  var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
2070
2073
  var l = function ($this$dispatchAsync, store, $completion) {
2071
- return i.w9p($this$dispatchAsync, store, $completion);
2074
+ return i.v9p($this$dispatchAsync, store, $completion);
2072
2075
  };
2073
2076
  l.$arity = 2;
2074
2077
  return l;
2075
2078
  }
2076
2079
  function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
2077
- this.d9r_1 = this$0;
2078
- this.e9r_1 = $playerId;
2080
+ this.c9r_1 = this$0;
2081
+ this.d9r_1 = $playerId;
2079
2082
  CoroutineImpl.call(this, resultContinuation);
2080
2083
  }
2081
- protoOf(GameServer$playerLeft$slambda).w9p = function ($this$dispatchAsync, store, $completion) {
2082
- var tmp = this.x9p($this$dispatchAsync, store, $completion);
2084
+ protoOf(GameServer$playerLeft$slambda).v9p = function ($this$dispatchAsync, store, $completion) {
2085
+ var tmp = this.w9p($this$dispatchAsync, store, $completion);
2083
2086
  tmp.t8_1 = Unit_instance;
2084
2087
  tmp.u8_1 = null;
2085
2088
  return tmp.z8();
2086
2089
  };
2087
2090
  protoOf(GameServer$playerLeft$slambda).i9 = function (p1, p2, $completion) {
2088
2091
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2089
- return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2092
+ return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2090
2093
  };
2091
2094
  protoOf(GameServer$playerLeft$slambda).z8 = function () {
2092
2095
  var suspendResult = this.t8_1;
@@ -2095,16 +2098,16 @@
2095
2098
  var tmp = this.r8_1;
2096
2099
  if (tmp === 0) {
2097
2100
  this.s8_1 = 1;
2098
- if (get_isFinished(this.g9r_1.state) || get_isFinishing(this.g9r_1.state)) {
2101
+ if (get_isFinished(this.f9r_1.state) || get_isFinishing(this.f9r_1.state)) {
2099
2102
  return Unit_instance;
2100
2103
  }
2101
- if (!get_isCreated(this.g9r_1.state) || !this.d9r_1.u66().u6n()) {
2102
- this.d9r_1.h4q().w('GameEngine_API', 'playerLeft: ' + this.e9r_1 + ' before game is created');
2104
+ if (!get_isCreated(this.f9r_1.state) || !this.c9r_1.u66().u6n()) {
2105
+ this.c9r_1.h4q().w('GameEngine_API', 'playerLeft: ' + this.d9r_1 + ' before game is created');
2103
2106
  return Unit_instance;
2104
2107
  }
2105
- var tmp_0 = this.g9r_1.dispatch;
2108
+ var tmp_0 = this.f9r_1.dispatch;
2106
2109
  var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
2107
- tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.e9r_1));
2110
+ tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.d9r_1));
2108
2111
  return Unit_instance;
2109
2112
  } else if (tmp === 1) {
2110
2113
  throw this.u8_1;
@@ -2115,39 +2118,39 @@
2115
2118
  }
2116
2119
  while (true);
2117
2120
  };
2118
- protoOf(GameServer$playerLeft$slambda).x9p = function ($this$dispatchAsync, store, completion) {
2119
- var i = new GameServer$playerLeft$slambda(this.d9r_1, this.e9r_1, completion);
2120
- i.f9r_1 = $this$dispatchAsync;
2121
- i.g9r_1 = store;
2121
+ protoOf(GameServer$playerLeft$slambda).w9p = function ($this$dispatchAsync, store, completion) {
2122
+ var i = new GameServer$playerLeft$slambda(this.c9r_1, this.d9r_1, completion);
2123
+ i.e9r_1 = $this$dispatchAsync;
2124
+ i.f9r_1 = store;
2122
2125
  return i;
2123
2126
  };
2124
2127
  function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
2125
2128
  var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
2126
2129
  var l = function ($this$dispatchAsync, store, $completion) {
2127
- return i.w9p($this$dispatchAsync, store, $completion);
2130
+ return i.v9p($this$dispatchAsync, store, $completion);
2128
2131
  };
2129
2132
  l.$arity = 2;
2130
2133
  return l;
2131
2134
  }
2132
2135
  function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
2133
- this.p9r_1 = $usersArray;
2134
- this.q9r_1 = $config;
2135
- this.r9r_1 = this$0;
2136
- this.s9r_1 = $roomId;
2137
- this.t9r_1 = $transition;
2138
- this.u9r_1 = $gameCreatorId;
2139
- this.v9r_1 = $spectators;
2136
+ this.o9r_1 = $usersArray;
2137
+ this.p9r_1 = $config;
2138
+ this.q9r_1 = this$0;
2139
+ this.r9r_1 = $roomId;
2140
+ this.s9r_1 = $transition;
2141
+ this.t9r_1 = $gameCreatorId;
2142
+ this.u9r_1 = $spectators;
2140
2143
  CoroutineImpl.call(this, resultContinuation);
2141
2144
  }
2142
- protoOf(GameServer$roomOnCreate$slambda).w9p = function ($this$dispatchAsync, store, $completion) {
2143
- var tmp = this.x9p($this$dispatchAsync, store, $completion);
2145
+ protoOf(GameServer$roomOnCreate$slambda).v9p = function ($this$dispatchAsync, store, $completion) {
2146
+ var tmp = this.w9p($this$dispatchAsync, store, $completion);
2144
2147
  tmp.t8_1 = Unit_instance;
2145
2148
  tmp.u8_1 = null;
2146
2149
  return tmp.z8();
2147
2150
  };
2148
2151
  protoOf(GameServer$roomOnCreate$slambda).i9 = function (p1, p2, $completion) {
2149
2152
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2150
- return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2153
+ return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2151
2154
  };
2152
2155
  protoOf(GameServer$roomOnCreate$slambda).z8 = function () {
2153
2156
  var suspendResult = this.t8_1;
@@ -2156,21 +2159,21 @@
2156
2159
  var tmp = this.r8_1;
2157
2160
  if (tmp === 0) {
2158
2161
  this.s8_1 = 1;
2159
- var users = toList(this.p9r_1);
2160
- if (!(this.q9r_1.playersMode.count === users.o())) {
2161
- this.r9r_1.h4q().w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.s9r_1 + ', config = ' + this.q9r_1.toString() + ', users = ' + toString(users));
2162
- this.x9r_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.r9r_1.table.isGameFinished, this.r9r_1.table));
2162
+ var users = toList(this.o9r_1);
2163
+ if (!(this.p9r_1.playersMode.count === users.o())) {
2164
+ this.q9r_1.h4q().w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.r9r_1 + ', config = ' + this.p9r_1.toString() + ', users = ' + toString(users));
2165
+ this.w9r_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.q9r_1.table.isGameFinished, this.q9r_1.table));
2163
2166
  return Unit_instance;
2164
2167
  }
2165
2168
  var tmp_0;
2166
- if (this.q9r_1.mode.shufflePlayers && this.t9r_1 == null) {
2167
- tmp_0 = _get_random__h29cgo(this.r9r_1).q5d(toMutableList(users));
2169
+ if (this.p9r_1.mode.shufflePlayers && this.s9r_1 == null) {
2170
+ tmp_0 = _get_random__h29cgo(this.q9r_1).q5d(toMutableList(users));
2168
2171
  } else {
2169
- var tmp0_safe_receiver = this.t9r_1;
2172
+ var tmp0_safe_receiver = this.s9r_1;
2170
2173
  var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
2171
2174
  var tmp_1;
2172
- if (!(previousPlayers == null) && this.q9r_1.playersMode.isTeamGame) {
2173
- var tmp_2 = _get_teamsLogicProvider__u10pm6(this.r9r_1);
2175
+ if (!(previousPlayers == null) && this.p9r_1.playersMode.isTeamGame) {
2176
+ var tmp_2 = _get_teamsLogicProvider__u10pm6(this.q9r_1);
2174
2177
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
2175
2178
  var _iterator__ex2g4s = previousPlayers.l();
2176
2179
  while (_iterator__ex2g4s.m()) {
@@ -2201,19 +2204,19 @@
2201
2204
  destination_1.j(destination_2);
2202
2205
  }
2203
2206
  var updatedTeams = destination_1;
2204
- tmp_1 = _get_teamsLogicProvider__u10pm6(this.r9r_1).q8j(updatedTeams);
2207
+ tmp_1 = _get_teamsLogicProvider__u10pm6(this.q9r_1).q8j(updatedTeams);
2205
2208
  } else {
2206
2209
  tmp_1 = users;
2207
2210
  }
2208
2211
  tmp_0 = tmp_1;
2209
2212
  }
2210
2213
  var updatedUsers = tmp_0;
2211
- var gameCreatorUser = getPlayer(users, this.u9r_1);
2212
- var tmp_3 = this.x9r_1.dispatch;
2214
+ var gameCreatorUser = getPlayer(users, this.t9r_1);
2215
+ var tmp_3 = this.w9r_1.dispatch;
2213
2216
  var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
2214
2217
  var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
2215
- var tmp3_spectators = toList(this.v9r_1);
2216
- tmp_3(new StartGameMechanicAction(this.q9r_1, this.s9r_1, tmp1_version, this.u9r_1, tmp2_users, VOID, tmp3_spectators));
2218
+ var tmp3_spectators = toList(this.u9r_1);
2219
+ tmp_3(new StartGameMechanicAction(this.p9r_1, this.r9r_1, tmp1_version, this.t9r_1, tmp2_users, VOID, tmp3_spectators));
2217
2220
  return Unit_instance;
2218
2221
  } else if (tmp === 1) {
2219
2222
  throw this.u8_1;
@@ -2224,33 +2227,33 @@
2224
2227
  }
2225
2228
  while (true);
2226
2229
  };
2227
- protoOf(GameServer$roomOnCreate$slambda).x9p = function ($this$dispatchAsync, store, completion) {
2228
- var i = new GameServer$roomOnCreate$slambda(this.p9r_1, this.q9r_1, this.r9r_1, this.s9r_1, this.t9r_1, this.u9r_1, this.v9r_1, completion);
2229
- i.w9r_1 = $this$dispatchAsync;
2230
- i.x9r_1 = store;
2230
+ protoOf(GameServer$roomOnCreate$slambda).w9p = function ($this$dispatchAsync, store, completion) {
2231
+ var i = new GameServer$roomOnCreate$slambda(this.o9r_1, this.p9r_1, this.q9r_1, this.r9r_1, this.s9r_1, this.t9r_1, this.u9r_1, completion);
2232
+ i.v9r_1 = $this$dispatchAsync;
2233
+ i.w9r_1 = store;
2231
2234
  return i;
2232
2235
  };
2233
2236
  function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
2234
2237
  var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
2235
2238
  var l = function ($this$dispatchAsync, store, $completion) {
2236
- return i.w9p($this$dispatchAsync, store, $completion);
2239
+ return i.v9p($this$dispatchAsync, store, $completion);
2237
2240
  };
2238
2241
  l.$arity = 2;
2239
2242
  return l;
2240
2243
  }
2241
2244
  function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
2242
- this.g9s_1 = $state;
2245
+ this.f9s_1 = $state;
2243
2246
  CoroutineImpl.call(this, resultContinuation);
2244
2247
  }
2245
- protoOf(GameServer$roomOnContinueFromState$slambda).j9s = function ($this$dispatchAwait, store, $completion) {
2246
- var tmp = this.x9p($this$dispatchAwait, store, $completion);
2248
+ protoOf(GameServer$roomOnContinueFromState$slambda).i9s = function ($this$dispatchAwait, store, $completion) {
2249
+ var tmp = this.w9p($this$dispatchAwait, store, $completion);
2247
2250
  tmp.t8_1 = Unit_instance;
2248
2251
  tmp.u8_1 = null;
2249
2252
  return tmp.z8();
2250
2253
  };
2251
2254
  protoOf(GameServer$roomOnContinueFromState$slambda).i9 = function (p1, p2, $completion) {
2252
2255
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2253
- return this.j9s(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2256
+ return this.i9s(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2254
2257
  };
2255
2258
  protoOf(GameServer$roomOnContinueFromState$slambda).z8 = function () {
2256
2259
  var suspendResult = this.t8_1;
@@ -2259,10 +2262,10 @@
2259
2262
  var tmp = this.r8_1;
2260
2263
  if (tmp === 0) {
2261
2264
  this.s8_1 = 1;
2262
- if (get_isCreating(this.i9s_1.state)) {
2263
- var tmp_0 = this.i9s_1.dispatch;
2265
+ if (get_isCreating(this.h9s_1.state)) {
2266
+ var tmp_0 = this.h9s_1.dispatch;
2264
2267
  var tmp0_reason = new RestartRoundReason(null);
2265
- var tmp1_table = this.g9s_1.table;
2268
+ var tmp1_table = this.f9s_1.table;
2266
2269
  tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
2267
2270
  return true;
2268
2271
  }
@@ -2276,34 +2279,34 @@
2276
2279
  }
2277
2280
  while (true);
2278
2281
  };
2279
- protoOf(GameServer$roomOnContinueFromState$slambda).x9p = function ($this$dispatchAwait, store, completion) {
2280
- var i = new GameServer$roomOnContinueFromState$slambda(this.g9s_1, completion);
2281
- i.h9s_1 = $this$dispatchAwait;
2282
- i.i9s_1 = store;
2282
+ protoOf(GameServer$roomOnContinueFromState$slambda).w9p = function ($this$dispatchAwait, store, completion) {
2283
+ var i = new GameServer$roomOnContinueFromState$slambda(this.f9s_1, completion);
2284
+ i.g9s_1 = $this$dispatchAwait;
2285
+ i.h9s_1 = store;
2283
2286
  return i;
2284
2287
  };
2285
2288
  function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
2286
2289
  var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
2287
2290
  var l = function ($this$dispatchAwait, store, $completion) {
2288
- return i.j9s($this$dispatchAwait, store, $completion);
2291
+ return i.i9s($this$dispatchAwait, store, $completion);
2289
2292
  };
2290
2293
  l.$arity = 2;
2291
2294
  return l;
2292
2295
  }
2293
2296
  function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
2294
- this.s9s_1 = $isCreated;
2295
- this.t9s_1 = $state;
2297
+ this.r9s_1 = $isCreated;
2298
+ this.s9s_1 = $state;
2296
2299
  CoroutineImpl.call(this, resultContinuation);
2297
2300
  }
2298
- protoOf(GameServer$roomOnContinueFromState$slambda_1).w9p = function ($this$dispatchAsync, store, $completion) {
2299
- var tmp = this.x9p($this$dispatchAsync, store, $completion);
2301
+ protoOf(GameServer$roomOnContinueFromState$slambda_1).v9p = function ($this$dispatchAsync, store, $completion) {
2302
+ var tmp = this.w9p($this$dispatchAsync, store, $completion);
2300
2303
  tmp.t8_1 = Unit_instance;
2301
2304
  tmp.u8_1 = null;
2302
2305
  return tmp.z8();
2303
2306
  };
2304
2307
  protoOf(GameServer$roomOnContinueFromState$slambda_1).i9 = function (p1, p2, $completion) {
2305
2308
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2306
- return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2309
+ return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2307
2310
  };
2308
2311
  protoOf(GameServer$roomOnContinueFromState$slambda_1).z8 = function () {
2309
2312
  var suspendResult = this.t8_1;
@@ -2314,7 +2317,7 @@
2314
2317
  case 0:
2315
2318
  this.s8_1 = 3;
2316
2319
  this.r8_1 = 1;
2317
- suspendResult = this.s9s_1.z1t(this);
2320
+ suspendResult = this.r9s_1.z1t(this);
2318
2321
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2319
2322
  return suspendResult;
2320
2323
  }
@@ -2322,10 +2325,10 @@
2322
2325
  continue $sm;
2323
2326
  case 1:
2324
2327
  if (suspendResult) {
2325
- var _iterator__ex2g4s = this.t9s_1.actions.l();
2328
+ var _iterator__ex2g4s = this.s9s_1.actions.l();
2326
2329
  while (_iterator__ex2g4s.m()) {
2327
2330
  var element = _iterator__ex2g4s.n();
2328
- this.v9s_1.dispatch(element);
2331
+ this.u9s_1.dispatch(element);
2329
2332
  }
2330
2333
  this.r8_1 = 2;
2331
2334
  continue $sm;
@@ -2350,35 +2353,35 @@
2350
2353
  }
2351
2354
  while (true);
2352
2355
  };
2353
- protoOf(GameServer$roomOnContinueFromState$slambda_1).x9p = function ($this$dispatchAsync, store, completion) {
2354
- var i = new GameServer$roomOnContinueFromState$slambda_1(this.s9s_1, this.t9s_1, completion);
2355
- i.u9s_1 = $this$dispatchAsync;
2356
- i.v9s_1 = store;
2356
+ protoOf(GameServer$roomOnContinueFromState$slambda_1).w9p = function ($this$dispatchAsync, store, completion) {
2357
+ var i = new GameServer$roomOnContinueFromState$slambda_1(this.r9s_1, this.s9s_1, completion);
2358
+ i.t9s_1 = $this$dispatchAsync;
2359
+ i.u9s_1 = store;
2357
2360
  return i;
2358
2361
  };
2359
2362
  function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
2360
2363
  var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
2361
2364
  var l = function ($this$dispatchAsync, store, $completion) {
2362
- return i.w9p($this$dispatchAsync, store, $completion);
2365
+ return i.v9p($this$dispatchAsync, store, $completion);
2363
2366
  };
2364
2367
  l.$arity = 2;
2365
2368
  return l;
2366
2369
  }
2367
2370
  function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
2368
- this.e9t_1 = $tableLite;
2369
- this.f9t_1 = $roomId;
2370
- this.g9t_1 = this$0;
2371
+ this.d9t_1 = $tableLite;
2372
+ this.e9t_1 = $roomId;
2373
+ this.f9t_1 = this$0;
2371
2374
  CoroutineImpl.call(this, resultContinuation);
2372
2375
  }
2373
- protoOf(GameServer$roomOnContinueFromRound$slambda).w9p = function ($this$dispatchAsync, store, $completion) {
2374
- var tmp = this.x9p($this$dispatchAsync, store, $completion);
2376
+ protoOf(GameServer$roomOnContinueFromRound$slambda).v9p = function ($this$dispatchAsync, store, $completion) {
2377
+ var tmp = this.w9p($this$dispatchAsync, store, $completion);
2375
2378
  tmp.t8_1 = Unit_instance;
2376
2379
  tmp.u8_1 = null;
2377
2380
  return tmp.z8();
2378
2381
  };
2379
2382
  protoOf(GameServer$roomOnContinueFromRound$slambda).i9 = function (p1, p2, $completion) {
2380
2383
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2381
- return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2384
+ return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2382
2385
  };
2383
2386
  protoOf(GameServer$roomOnContinueFromRound$slambda).z8 = function () {
2384
2387
  var suspendResult = this.t8_1;
@@ -2387,9 +2390,9 @@
2387
2390
  var tmp = this.r8_1;
2388
2391
  if (tmp === 0) {
2389
2392
  this.s8_1 = 1;
2390
- var tmp_0 = this.i9t_1.dispatch;
2391
- var tmp0_reason = new RestartRoundReason(this.e9t_1.gameInfo.round.roundNumber);
2392
- var tmp1_table = Companion_instance_0.restartRound(this.f9t_1, _get_idsProvider__fnfajc(this.g9t_1).c6e(), get_versionOrDefault(GameEngineConfig_instance), this.e9t_1);
2393
+ var tmp_0 = this.h9t_1.dispatch;
2394
+ var tmp0_reason = new RestartRoundReason(this.d9t_1.gameInfo.round.roundNumber);
2395
+ var tmp1_table = Companion_instance_0.restartRound(this.e9t_1, _get_idsProvider__fnfajc(this.f9t_1).c6e(), get_versionOrDefault(GameEngineConfig_instance), this.d9t_1);
2393
2396
  tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
2394
2397
  return Unit_instance;
2395
2398
  } else if (tmp === 1) {
@@ -2401,16 +2404,16 @@
2401
2404
  }
2402
2405
  while (true);
2403
2406
  };
2404
- protoOf(GameServer$roomOnContinueFromRound$slambda).x9p = function ($this$dispatchAsync, store, completion) {
2405
- var i = new GameServer$roomOnContinueFromRound$slambda(this.e9t_1, this.f9t_1, this.g9t_1, completion);
2406
- i.h9t_1 = $this$dispatchAsync;
2407
- i.i9t_1 = store;
2407
+ protoOf(GameServer$roomOnContinueFromRound$slambda).w9p = function ($this$dispatchAsync, store, completion) {
2408
+ var i = new GameServer$roomOnContinueFromRound$slambda(this.d9t_1, this.e9t_1, this.f9t_1, completion);
2409
+ i.g9t_1 = $this$dispatchAsync;
2410
+ i.h9t_1 = store;
2408
2411
  return i;
2409
2412
  };
2410
2413
  function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
2411
2414
  var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
2412
2415
  var l = function ($this$dispatchAsync, store, $completion) {
2413
- return i.w9p($this$dispatchAsync, store, $completion);
2416
+ return i.v9p($this$dispatchAsync, store, $completion);
2414
2417
  };
2415
2418
  l.$arity = 2;
2416
2419
  return l;
@@ -2418,15 +2421,15 @@
2418
2421
  function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
2419
2422
  CoroutineImpl.call(this, resultContinuation);
2420
2423
  }
2421
- protoOf(GameServer$roomOnContinueFromRound$slambda_1).w9p = function ($this$dispatchAsync, store, $completion) {
2422
- var tmp = this.x9p($this$dispatchAsync, store, $completion);
2424
+ protoOf(GameServer$roomOnContinueFromRound$slambda_1).v9p = function ($this$dispatchAsync, store, $completion) {
2425
+ var tmp = this.w9p($this$dispatchAsync, store, $completion);
2423
2426
  tmp.t8_1 = Unit_instance;
2424
2427
  tmp.u8_1 = null;
2425
2428
  return tmp.z8();
2426
2429
  };
2427
2430
  protoOf(GameServer$roomOnContinueFromRound$slambda_1).i9 = function (p1, p2, $completion) {
2428
2431
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2429
- return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2432
+ return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2430
2433
  };
2431
2434
  protoOf(GameServer$roomOnContinueFromRound$slambda_1).z8 = function () {
2432
2435
  var suspendResult = this.t8_1;
@@ -2435,7 +2438,7 @@
2435
2438
  var tmp = this.r8_1;
2436
2439
  if (tmp === 0) {
2437
2440
  this.s8_1 = 1;
2438
- this.s9t_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
2441
+ this.r9t_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
2439
2442
  return Unit_instance;
2440
2443
  } else if (tmp === 1) {
2441
2444
  throw this.u8_1;
@@ -2446,33 +2449,33 @@
2446
2449
  }
2447
2450
  while (true);
2448
2451
  };
2449
- protoOf(GameServer$roomOnContinueFromRound$slambda_1).x9p = function ($this$dispatchAsync, store, completion) {
2452
+ protoOf(GameServer$roomOnContinueFromRound$slambda_1).w9p = function ($this$dispatchAsync, store, completion) {
2450
2453
  var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
2451
- i.r9t_1 = $this$dispatchAsync;
2452
- i.s9t_1 = store;
2454
+ i.q9t_1 = $this$dispatchAsync;
2455
+ i.r9t_1 = store;
2453
2456
  return i;
2454
2457
  };
2455
2458
  function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
2456
2459
  var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
2457
2460
  var l = function ($this$dispatchAsync, store, $completion) {
2458
- return i.w9p($this$dispatchAsync, store, $completion);
2461
+ return i.v9p($this$dispatchAsync, store, $completion);
2459
2462
  };
2460
2463
  l.$arity = 2;
2461
2464
  return l;
2462
2465
  }
2463
2466
  function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
2464
- this.b9u_1 = $spectators;
2467
+ this.a9u_1 = $spectators;
2465
2468
  CoroutineImpl.call(this, resultContinuation);
2466
2469
  }
2467
- protoOf(GameServer$addSpectatorsToRoom$slambda).w9p = function ($this$dispatchAsync, store, $completion) {
2468
- var tmp = this.x9p($this$dispatchAsync, store, $completion);
2470
+ protoOf(GameServer$addSpectatorsToRoom$slambda).v9p = function ($this$dispatchAsync, store, $completion) {
2471
+ var tmp = this.w9p($this$dispatchAsync, store, $completion);
2469
2472
  tmp.t8_1 = Unit_instance;
2470
2473
  tmp.u8_1 = null;
2471
2474
  return tmp.z8();
2472
2475
  };
2473
2476
  protoOf(GameServer$addSpectatorsToRoom$slambda).i9 = function (p1, p2, $completion) {
2474
2477
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2475
- return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2478
+ return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2476
2479
  };
2477
2480
  protoOf(GameServer$addSpectatorsToRoom$slambda).z8 = function () {
2478
2481
  var suspendResult = this.t8_1;
@@ -2481,7 +2484,7 @@
2481
2484
  var tmp = this.r8_1;
2482
2485
  if (tmp === 0) {
2483
2486
  this.s8_1 = 1;
2484
- this.d9u_1.dispatch(new AddSpectatorsAction(toList(this.b9u_1)));
2487
+ this.c9u_1.dispatch(new AddSpectatorsAction(toList(this.a9u_1)));
2485
2488
  return Unit_instance;
2486
2489
  } else if (tmp === 1) {
2487
2490
  throw this.u8_1;
@@ -2492,33 +2495,33 @@
2492
2495
  }
2493
2496
  while (true);
2494
2497
  };
2495
- protoOf(GameServer$addSpectatorsToRoom$slambda).x9p = function ($this$dispatchAsync, store, completion) {
2496
- var i = new GameServer$addSpectatorsToRoom$slambda(this.b9u_1, completion);
2497
- i.c9u_1 = $this$dispatchAsync;
2498
- i.d9u_1 = store;
2498
+ protoOf(GameServer$addSpectatorsToRoom$slambda).w9p = function ($this$dispatchAsync, store, completion) {
2499
+ var i = new GameServer$addSpectatorsToRoom$slambda(this.a9u_1, completion);
2500
+ i.b9u_1 = $this$dispatchAsync;
2501
+ i.c9u_1 = store;
2499
2502
  return i;
2500
2503
  };
2501
2504
  function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
2502
2505
  var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
2503
2506
  var l = function ($this$dispatchAsync, store, $completion) {
2504
- return i.w9p($this$dispatchAsync, store, $completion);
2507
+ return i.v9p($this$dispatchAsync, store, $completion);
2505
2508
  };
2506
2509
  l.$arity = 2;
2507
2510
  return l;
2508
2511
  }
2509
2512
  function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
2510
- this.m9u_1 = $spectators;
2513
+ this.l9u_1 = $spectators;
2511
2514
  CoroutineImpl.call(this, resultContinuation);
2512
2515
  }
2513
- protoOf(GameServer$removeSpectatorsFromRoom$slambda).w9p = function ($this$dispatchAsync, store, $completion) {
2514
- var tmp = this.x9p($this$dispatchAsync, store, $completion);
2516
+ protoOf(GameServer$removeSpectatorsFromRoom$slambda).v9p = function ($this$dispatchAsync, store, $completion) {
2517
+ var tmp = this.w9p($this$dispatchAsync, store, $completion);
2515
2518
  tmp.t8_1 = Unit_instance;
2516
2519
  tmp.u8_1 = null;
2517
2520
  return tmp.z8();
2518
2521
  };
2519
2522
  protoOf(GameServer$removeSpectatorsFromRoom$slambda).i9 = function (p1, p2, $completion) {
2520
2523
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2521
- return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2524
+ return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2522
2525
  };
2523
2526
  protoOf(GameServer$removeSpectatorsFromRoom$slambda).z8 = function () {
2524
2527
  var suspendResult = this.t8_1;
@@ -2527,7 +2530,7 @@
2527
2530
  var tmp = this.r8_1;
2528
2531
  if (tmp === 0) {
2529
2532
  this.s8_1 = 1;
2530
- this.o9u_1.dispatch(new RemoveSpectatorsAction(toList(this.m9u_1)));
2533
+ this.n9u_1.dispatch(new RemoveSpectatorsAction(toList(this.l9u_1)));
2531
2534
  return Unit_instance;
2532
2535
  } else if (tmp === 1) {
2533
2536
  throw this.u8_1;
@@ -2538,34 +2541,34 @@
2538
2541
  }
2539
2542
  while (true);
2540
2543
  };
2541
- protoOf(GameServer$removeSpectatorsFromRoom$slambda).x9p = function ($this$dispatchAsync, store, completion) {
2542
- var i = new GameServer$removeSpectatorsFromRoom$slambda(this.m9u_1, completion);
2543
- i.n9u_1 = $this$dispatchAsync;
2544
- i.o9u_1 = store;
2544
+ protoOf(GameServer$removeSpectatorsFromRoom$slambda).w9p = function ($this$dispatchAsync, store, completion) {
2545
+ var i = new GameServer$removeSpectatorsFromRoom$slambda(this.l9u_1, completion);
2546
+ i.m9u_1 = $this$dispatchAsync;
2547
+ i.n9u_1 = store;
2545
2548
  return i;
2546
2549
  };
2547
2550
  function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
2548
2551
  var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
2549
2552
  var l = function ($this$dispatchAsync, store, $completion) {
2550
- return i.w9p($this$dispatchAsync, store, $completion);
2553
+ return i.v9p($this$dispatchAsync, store, $completion);
2551
2554
  };
2552
2555
  l.$arity = 2;
2553
2556
  return l;
2554
2557
  }
2555
2558
  function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
2556
- this.x9u_1 = $playerId;
2557
- this.y9u_1 = this$0;
2559
+ this.w9u_1 = $playerId;
2560
+ this.x9u_1 = this$0;
2558
2561
  CoroutineImpl.call(this, resultContinuation);
2559
2562
  }
2560
- protoOf(GameServer$roomRefreshPlayerState$slambda).w9p = function ($this$dispatchAsync, store, $completion) {
2561
- var tmp = this.x9p($this$dispatchAsync, store, $completion);
2563
+ protoOf(GameServer$roomRefreshPlayerState$slambda).v9p = function ($this$dispatchAsync, store, $completion) {
2564
+ var tmp = this.w9p($this$dispatchAsync, store, $completion);
2562
2565
  tmp.t8_1 = Unit_instance;
2563
2566
  tmp.u8_1 = null;
2564
2567
  return tmp.z8();
2565
2568
  };
2566
2569
  protoOf(GameServer$roomRefreshPlayerState$slambda).i9 = function (p1, p2, $completion) {
2567
2570
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2568
- return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2571
+ return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2569
2572
  };
2570
2573
  protoOf(GameServer$roomRefreshPlayerState$slambda).z8 = function () {
2571
2574
  var suspendResult = this.t8_1;
@@ -2574,14 +2577,14 @@
2574
2577
  var tmp = this.r8_1;
2575
2578
  if (tmp === 0) {
2576
2579
  this.s8_1 = 1;
2577
- var table = this.a9v_1.state.t6n();
2578
- var player = getPlayer(table.players, this.x9u_1);
2580
+ var table = this.z9u_1.state.t6n();
2581
+ var player = getPlayer(table.players, this.w9u_1);
2579
2582
  if (player.y6q_1.x68().o67_1.isLive) {
2580
- this.a9v_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.y9u_1).g8q(player, table));
2583
+ this.z9u_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.x9u_1).g8q(player, table));
2581
2584
  } else {
2582
- var tmp_0 = this.a9v_1.dispatch;
2585
+ var tmp_0 = this.z9u_1.dispatch;
2583
2586
  var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
2584
- tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.x9u_1));
2587
+ tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.w9u_1));
2585
2588
  }
2586
2589
  return Unit_instance;
2587
2590
  } else if (tmp === 1) {
@@ -2593,34 +2596,34 @@
2593
2596
  }
2594
2597
  while (true);
2595
2598
  };
2596
- protoOf(GameServer$roomRefreshPlayerState$slambda).x9p = function ($this$dispatchAsync, store, completion) {
2597
- var i = new GameServer$roomRefreshPlayerState$slambda(this.x9u_1, this.y9u_1, completion);
2598
- i.z9u_1 = $this$dispatchAsync;
2599
- i.a9v_1 = store;
2599
+ protoOf(GameServer$roomRefreshPlayerState$slambda).w9p = function ($this$dispatchAsync, store, completion) {
2600
+ var i = new GameServer$roomRefreshPlayerState$slambda(this.w9u_1, this.x9u_1, completion);
2601
+ i.y9u_1 = $this$dispatchAsync;
2602
+ i.z9u_1 = store;
2600
2603
  return i;
2601
2604
  };
2602
2605
  function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
2603
2606
  var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
2604
2607
  var l = function ($this$dispatchAsync, store, $completion) {
2605
- return i.w9p($this$dispatchAsync, store, $completion);
2608
+ return i.v9p($this$dispatchAsync, store, $completion);
2606
2609
  };
2607
2610
  l.$arity = 2;
2608
2611
  return l;
2609
2612
  }
2610
2613
  function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
2611
- this.j9v_1 = this$0;
2612
- this.k9v_1 = $newRid;
2614
+ this.i9v_1 = this$0;
2615
+ this.j9v_1 = $newRid;
2613
2616
  CoroutineImpl.call(this, resultContinuation);
2614
2617
  }
2615
- protoOf(GameServer$roomOnDelete$slambda).w9p = function ($this$dispatchAsync, store, $completion) {
2616
- var tmp = this.x9p($this$dispatchAsync, store, $completion);
2618
+ protoOf(GameServer$roomOnDelete$slambda).v9p = function ($this$dispatchAsync, store, $completion) {
2619
+ var tmp = this.w9p($this$dispatchAsync, store, $completion);
2617
2620
  tmp.t8_1 = Unit_instance;
2618
2621
  tmp.u8_1 = null;
2619
2622
  return tmp.z8();
2620
2623
  };
2621
2624
  protoOf(GameServer$roomOnDelete$slambda).i9 = function (p1, p2, $completion) {
2622
2625
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2623
- return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2626
+ return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2624
2627
  };
2625
2628
  protoOf(GameServer$roomOnDelete$slambda).z8 = function () {
2626
2629
  var suspendResult = this.t8_1;
@@ -2629,10 +2632,10 @@
2629
2632
  var tmp = this.r8_1;
2630
2633
  if (tmp === 0) {
2631
2634
  this.s8_1 = 1;
2632
- var it = this.j9v_1.u66().t6m_1;
2635
+ var it = this.i9v_1.u66().t6m_1;
2633
2636
  var tmp_0;
2634
2637
  if (it == null) {
2635
- this.j9v_1.h4q().w('GameEngine_API', "GameServer: Termination reason can't be null");
2638
+ this.i9v_1.h4q().w('GameEngine_API', "GameServer: Termination reason can't be null");
2636
2639
  tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
2637
2640
  } else {
2638
2641
  tmp_0 = it;
@@ -2641,15 +2644,15 @@
2641
2644
  var gameTransition = terminationState.d8u_1;
2642
2645
  var tmp_1;
2643
2646
  if (gameTransition instanceof GameToRoomTransition) {
2644
- var tmp0_elvis_lhs = this.k9v_1;
2647
+ var tmp0_elvis_lhs = this.j9v_1;
2645
2648
  tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
2646
2649
  } else {
2647
2650
  tmp_1 = gameTransition;
2648
2651
  }
2649
2652
  var transition = tmp_1;
2650
- var tmp_2 = this.m9v_1.dispatch;
2653
+ var tmp_2 = this.l9v_1.dispatch;
2651
2654
  var tmp0_reason = terminationState.c8u_1;
2652
- var tmp1_isGameFinished = this.j9v_1.u66().t6n().isGameFinished;
2655
+ var tmp1_isGameFinished = this.i9v_1.u66().t6n().isGameFinished;
2653
2656
  tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
2654
2657
  return Unit_instance;
2655
2658
  } else if (tmp === 1) {
@@ -2661,33 +2664,33 @@
2661
2664
  }
2662
2665
  while (true);
2663
2666
  };
2664
- protoOf(GameServer$roomOnDelete$slambda).x9p = function ($this$dispatchAsync, store, completion) {
2665
- var i = new GameServer$roomOnDelete$slambda(this.j9v_1, this.k9v_1, completion);
2666
- i.l9v_1 = $this$dispatchAsync;
2667
- i.m9v_1 = store;
2667
+ protoOf(GameServer$roomOnDelete$slambda).w9p = function ($this$dispatchAsync, store, completion) {
2668
+ var i = new GameServer$roomOnDelete$slambda(this.i9v_1, this.j9v_1, completion);
2669
+ i.k9v_1 = $this$dispatchAsync;
2670
+ i.l9v_1 = store;
2668
2671
  return i;
2669
2672
  };
2670
2673
  function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
2671
2674
  var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
2672
2675
  var l = function ($this$dispatchAsync, store, $completion) {
2673
- return i.w9p($this$dispatchAsync, store, $completion);
2676
+ return i.v9p($this$dispatchAsync, store, $completion);
2674
2677
  };
2675
2678
  l.$arity = 2;
2676
2679
  return l;
2677
2680
  }
2678
2681
  function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
2679
- this.v9v_1 = $enabled;
2682
+ this.u9v_1 = $enabled;
2680
2683
  CoroutineImpl.call(this, resultContinuation);
2681
2684
  }
2682
- protoOf(GameServer$setCanStartNewGameEnabled$slambda).w9p = function ($this$dispatchAsync, store, $completion) {
2683
- var tmp = this.x9p($this$dispatchAsync, store, $completion);
2685
+ protoOf(GameServer$setCanStartNewGameEnabled$slambda).v9p = function ($this$dispatchAsync, store, $completion) {
2686
+ var tmp = this.w9p($this$dispatchAsync, store, $completion);
2684
2687
  tmp.t8_1 = Unit_instance;
2685
2688
  tmp.u8_1 = null;
2686
2689
  return tmp.z8();
2687
2690
  };
2688
2691
  protoOf(GameServer$setCanStartNewGameEnabled$slambda).i9 = function (p1, p2, $completion) {
2689
2692
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2690
- return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2693
+ return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2691
2694
  };
2692
2695
  protoOf(GameServer$setCanStartNewGameEnabled$slambda).z8 = function () {
2693
2696
  var suspendResult = this.t8_1;
@@ -2696,7 +2699,7 @@
2696
2699
  var tmp = this.r8_1;
2697
2700
  if (tmp === 0) {
2698
2701
  this.s8_1 = 1;
2699
- this.x9v_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.x9v_1.state).config.copy(VOID, this.v9v_1)));
2702
+ this.w9v_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.w9v_1.state).config.copy(VOID, this.u9v_1)));
2700
2703
  return Unit_instance;
2701
2704
  } else if (tmp === 1) {
2702
2705
  throw this.u8_1;
@@ -2707,35 +2710,35 @@
2707
2710
  }
2708
2711
  while (true);
2709
2712
  };
2710
- protoOf(GameServer$setCanStartNewGameEnabled$slambda).x9p = function ($this$dispatchAsync, store, completion) {
2711
- var i = new GameServer$setCanStartNewGameEnabled$slambda(this.v9v_1, completion);
2712
- i.w9v_1 = $this$dispatchAsync;
2713
- i.x9v_1 = store;
2713
+ protoOf(GameServer$setCanStartNewGameEnabled$slambda).w9p = function ($this$dispatchAsync, store, completion) {
2714
+ var i = new GameServer$setCanStartNewGameEnabled$slambda(this.u9v_1, completion);
2715
+ i.v9v_1 = $this$dispatchAsync;
2716
+ i.w9v_1 = store;
2714
2717
  return i;
2715
2718
  };
2716
2719
  function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
2717
2720
  var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
2718
2721
  var l = function ($this$dispatchAsync, store, $completion) {
2719
- return i.w9p($this$dispatchAsync, store, $completion);
2722
+ return i.v9p($this$dispatchAsync, store, $completion);
2720
2723
  };
2721
2724
  l.$arity = 2;
2722
2725
  return l;
2723
2726
  }
2724
2727
  function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
2725
- this.g9w_1 = $reason;
2726
- this.h9w_1 = this$0;
2727
- this.i9w_1 = $roomId;
2728
+ this.f9w_1 = $reason;
2729
+ this.g9w_1 = this$0;
2730
+ this.h9w_1 = $roomId;
2728
2731
  CoroutineImpl.call(this, resultContinuation);
2729
2732
  }
2730
- protoOf(GameServer$shutdown$slambda).w9p = function ($this$dispatchAsync, store, $completion) {
2731
- var tmp = this.x9p($this$dispatchAsync, store, $completion);
2733
+ protoOf(GameServer$shutdown$slambda).v9p = function ($this$dispatchAsync, store, $completion) {
2734
+ var tmp = this.w9p($this$dispatchAsync, store, $completion);
2732
2735
  tmp.t8_1 = Unit_instance;
2733
2736
  tmp.u8_1 = null;
2734
2737
  return tmp.z8();
2735
2738
  };
2736
2739
  protoOf(GameServer$shutdown$slambda).i9 = function (p1, p2, $completion) {
2737
2740
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2738
- return this.w9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2741
+ return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2739
2742
  };
2740
2743
  protoOf(GameServer$shutdown$slambda).z8 = function () {
2741
2744
  var suspendResult = this.t8_1;
@@ -2744,11 +2747,11 @@
2744
2747
  var tmp = this.r8_1;
2745
2748
  if (tmp === 0) {
2746
2749
  this.s8_1 = 1;
2747
- var state = this.k9w_1.store.state;
2750
+ var state = this.j9w_1.store.state;
2748
2751
  if (state.u6n()) {
2749
- var tmp0_elvis_lhs = toDomainEnumSafe(this.g9w_1, get_serverShutdownReasonMapping());
2752
+ var tmp0_elvis_lhs = toDomainEnumSafe(this.f9w_1, get_serverShutdownReasonMapping());
2750
2753
  var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
2751
- var tmp_0 = this.k9w_1.dispatch;
2754
+ var tmp_0 = this.j9w_1.dispatch;
2752
2755
  var tmp_1 = Companion_instance;
2753
2756
  var tmp_2;
2754
2757
  switch (shutdownReason.p2_1) {
@@ -2762,10 +2765,10 @@
2762
2765
  noWhenBranchMatchedException();
2763
2766
  break;
2764
2767
  }
2765
- tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.h9w_1.table.isGameFinished, this.h9w_1.table));
2768
+ tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.g9w_1.table.isGameFinished, this.g9w_1.table));
2766
2769
  } else {
2767
- this.h9w_1.h4q().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.i9w_1);
2768
- var tmp_3 = this.k9w_1.dispatch;
2770
+ this.g9w_1.h4q().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.h9w_1);
2771
+ var tmp_3 = this.j9w_1.dispatch;
2769
2772
  var tmp2_safe_receiver = state.t6m_1;
2770
2773
  tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.d8u_1));
2771
2774
  }
@@ -2779,16 +2782,16 @@
2779
2782
  }
2780
2783
  while (true);
2781
2784
  };
2782
- protoOf(GameServer$shutdown$slambda).x9p = function ($this$dispatchAsync, store, completion) {
2783
- var i = new GameServer$shutdown$slambda(this.g9w_1, this.h9w_1, this.i9w_1, completion);
2784
- i.j9w_1 = $this$dispatchAsync;
2785
- i.k9w_1 = store;
2785
+ protoOf(GameServer$shutdown$slambda).w9p = function ($this$dispatchAsync, store, completion) {
2786
+ var i = new GameServer$shutdown$slambda(this.f9w_1, this.g9w_1, this.h9w_1, completion);
2787
+ i.i9w_1 = $this$dispatchAsync;
2788
+ i.j9w_1 = store;
2786
2789
  return i;
2787
2790
  };
2788
2791
  function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
2789
2792
  var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
2790
2793
  var l = function ($this$dispatchAsync, store, $completion) {
2791
- return i.w9p($this$dispatchAsync, store, $completion);
2794
+ return i.v9p($this$dispatchAsync, store, $completion);
2792
2795
  };
2793
2796
  l.$arity = 2;
2794
2797
  return l;
@@ -2874,16 +2877,12 @@
2874
2877
  var tmp0_externalMiddlewares = plus(storeContract.p8y(), externalMiddlewares);
2875
2878
  var tmp1_externalReducers = plus(storeContract.o8y(), externalReducers);
2876
2879
  tmp_30.w9m_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
2877
- this.x9m_1 = new Object();
2878
2880
  }
2879
2881
  protoOf(GameServer).i6m = function () {
2880
2882
  return this.w9m_1;
2881
2883
  };
2882
- protoOf(GameServer).l9w = function (_set____db54di) {
2883
- this.x9m_1 = _set____db54di;
2884
- };
2885
2884
  protoOf(GameServer).v8e = function () {
2886
- return this.x9m_1;
2885
+ return get_serverStatePayload_0(this.u66()).metadata;
2887
2886
  };
2888
2887
  protoOf(GameServer).y53 = function () {
2889
2888
  return this.u66().t6n().id;
@@ -2929,7 +2928,7 @@
2929
2928
  this.h4q().d('GameEngine_API', 'playerLeft: ' + playerId);
2930
2929
  this.w9m_1.r6n(GameServer$playerLeft$slambda_0(this, playerId, null));
2931
2930
  };
2932
- protoOf(GameServer).m9w = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
2931
+ protoOf(GameServer).k9w = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
2933
2932
  this.h4q().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
2934
2933
  this.w9m_1.r6n(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
2935
2934
  };
@@ -2953,7 +2952,7 @@
2953
2952
  this.h4q().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
2954
2953
  this.w9m_1.r6n(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
2955
2954
  };
2956
- protoOf(GameServer).n9w = function (newRid) {
2955
+ protoOf(GameServer).l9w = function (newRid) {
2957
2956
  this.h4q().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
2958
2957
  this.w9m_1.r6n(GameServer$roomOnDelete$slambda_0(this, newRid, null));
2959
2958
  };
@@ -2961,7 +2960,7 @@
2961
2960
  this.h4q().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
2962
2961
  this.w9m_1.r6n(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
2963
2962
  };
2964
- protoOf(GameServer).o9w = function (reason, roomId) {
2963
+ protoOf(GameServer).m9w = function (reason, roomId) {
2965
2964
  this.h4q().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
2966
2965
  this.w9m_1.r6n(GameServer$shutdown$slambda_0(reason, this, roomId, null));
2967
2966
  };
@@ -3014,10 +3013,10 @@
3014
3013
  this.fromRound = fromRound;
3015
3014
  this.canStartNewGame = canStartNewGame;
3016
3015
  }
3017
- protoOf(ServerConfig).p9w = function () {
3016
+ protoOf(ServerConfig).n9w = function () {
3018
3017
  return this.fromRound;
3019
3018
  };
3020
- protoOf(ServerConfig).q9w = function () {
3019
+ protoOf(ServerConfig).o9w = function () {
3021
3020
  return this.canStartNewGame;
3022
3021
  };
3023
3022
  protoOf(ServerConfig).ne = function () {
@@ -3026,13 +3025,13 @@
3026
3025
  protoOf(ServerConfig).oe = function () {
3027
3026
  return this.canStartNewGame;
3028
3027
  };
3029
- protoOf(ServerConfig).r9w = function (fromRound, canStartNewGame) {
3028
+ protoOf(ServerConfig).p9w = function (fromRound, canStartNewGame) {
3030
3029
  return new ServerConfig(fromRound, canStartNewGame);
3031
3030
  };
3032
3031
  protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
3033
3032
  fromRound = fromRound === VOID ? this.fromRound : fromRound;
3034
3033
  canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
3035
- return $super === VOID ? this.r9w(fromRound, canStartNewGame) : $super.r9w.call(this, fromRound, canStartNewGame);
3034
+ return $super === VOID ? this.p9w(fromRound, canStartNewGame) : $super.p9w.call(this, fromRound, canStartNewGame);
3036
3035
  };
3037
3036
  protoOf(ServerConfig).toString = function () {
3038
3037
  return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
@@ -3094,20 +3093,20 @@
3094
3093
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
3095
3094
  tmp0_serialDesc.gz('roomId', false);
3096
3095
  tmp0_serialDesc.gz('table', false);
3097
- this.s9w_1 = tmp0_serialDesc;
3096
+ this.q9w_1 = tmp0_serialDesc;
3098
3097
  }
3099
- protoOf($serializer).t9w = function (encoder, value) {
3100
- var tmp0_desc = this.s9w_1;
3098
+ protoOf($serializer).r9w = function (encoder, value) {
3099
+ var tmp0_desc = this.q9w_1;
3101
3100
  var tmp1_output = encoder.or(tmp0_desc);
3102
- tmp1_output.dt(tmp0_desc, 0, value.u9w_1);
3101
+ tmp1_output.dt(tmp0_desc, 0, value.s9w_1);
3103
3102
  tmp1_output.dt(tmp0_desc, 1, value.table);
3104
3103
  tmp1_output.pr(tmp0_desc);
3105
3104
  };
3106
3105
  protoOf($serializer).co = function (encoder, value) {
3107
- return this.t9w(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
3106
+ return this.r9w(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
3108
3107
  };
3109
3108
  protoOf($serializer).do = function (decoder) {
3110
- var tmp0_desc = this.s9w_1;
3109
+ var tmp0_desc = this.q9w_1;
3111
3110
  var tmp1_flag = true;
3112
3111
  var tmp2_index = 0;
3113
3112
  var tmp3_bitMask0 = 0;
@@ -3142,7 +3141,7 @@
3142
3141
  return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
3143
3142
  };
3144
3143
  protoOf($serializer).bo = function () {
3145
- return this.s9w_1;
3144
+ return this.q9w_1;
3146
3145
  };
3147
3146
  protoOf($serializer).vz = function () {
3148
3147
  // Inline function 'kotlin.arrayOf' call
@@ -3158,9 +3157,9 @@
3158
3157
  }
3159
3158
  function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
3160
3159
  if (!(3 === (3 & seen0))) {
3161
- throwMissingFieldException(seen0, 3, $serializer_getInstance().s9w_1);
3160
+ throwMissingFieldException(seen0, 3, $serializer_getInstance().q9w_1);
3162
3161
  }
3163
- $this.u9w_1 = roomId;
3162
+ $this.s9w_1 = roomId;
3164
3163
  $this.table = table;
3165
3164
  return $this;
3166
3165
  }
@@ -3168,17 +3167,17 @@
3168
3167
  return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
3169
3168
  }
3170
3169
  function TableStateUpdateDto(roomId, table) {
3171
- this.u9w_1 = roomId;
3170
+ this.s9w_1 = roomId;
3172
3171
  this.table = table;
3173
3172
  }
3174
3173
  protoOf(TableStateUpdateDto).p8b = function () {
3175
- return this.u9w_1;
3174
+ return this.s9w_1;
3176
3175
  };
3177
3176
  protoOf(TableStateUpdateDto).t6n = function () {
3178
3177
  return this.table;
3179
3178
  };
3180
3179
  protoOf(TableStateUpdateDto).ne = function () {
3181
- return this.u9w_1;
3180
+ return this.s9w_1;
3182
3181
  };
3183
3182
  protoOf(TableStateUpdateDto).oe = function () {
3184
3183
  return this.table;
@@ -3187,15 +3186,15 @@
3187
3186
  return new TableStateUpdateDto(roomId, table);
3188
3187
  };
3189
3188
  protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
3190
- roomId = roomId === VOID ? this.u9w_1 : roomId;
3189
+ roomId = roomId === VOID ? this.s9w_1 : roomId;
3191
3190
  table = table === VOID ? this.table : table;
3192
3191
  return $super === VOID ? this.e54(roomId, table) : $super.e54.call(this, roomId, table);
3193
3192
  };
3194
3193
  protoOf(TableStateUpdateDto).toString = function () {
3195
- return 'TableStateUpdateDto(roomId=' + this.u9w_1 + ', table=' + this.table + ')';
3194
+ return 'TableStateUpdateDto(roomId=' + this.s9w_1 + ', table=' + this.table + ')';
3196
3195
  };
3197
3196
  protoOf(TableStateUpdateDto).hashCode = function () {
3198
- var result = getStringHashCode(this.u9w_1);
3197
+ var result = getStringHashCode(this.s9w_1);
3199
3198
  result = imul(result, 31) + getStringHashCode(this.table) | 0;
3200
3199
  return result;
3201
3200
  };
@@ -3204,7 +3203,7 @@
3204
3203
  return true;
3205
3204
  if (!(other instanceof TableStateUpdateDto))
3206
3205
  return false;
3207
- if (!(this.u9w_1 === other.u9w_1))
3206
+ if (!(this.s9w_1 === other.s9w_1))
3208
3207
  return false;
3209
3208
  if (!(this.table === other.table))
3210
3209
  return false;
@@ -3224,20 +3223,20 @@
3224
3223
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
3225
3224
  tmp0_serialDesc.gz('roomId', false);
3226
3225
  tmp0_serialDesc.gz('actions', false);
3227
- this.v9w_1 = tmp0_serialDesc;
3226
+ this.t9w_1 = tmp0_serialDesc;
3228
3227
  }
3229
- protoOf($serializer_0).w9w = function (encoder, value) {
3230
- var tmp0_desc = this.v9w_1;
3228
+ protoOf($serializer_0).u9w = function (encoder, value) {
3229
+ var tmp0_desc = this.t9w_1;
3231
3230
  var tmp1_output = encoder.or(tmp0_desc);
3232
- tmp1_output.dt(tmp0_desc, 0, value.x9w_1);
3231
+ tmp1_output.dt(tmp0_desc, 0, value.v9w_1);
3233
3232
  tmp1_output.dt(tmp0_desc, 1, value.actions);
3234
3233
  tmp1_output.pr(tmp0_desc);
3235
3234
  };
3236
3235
  protoOf($serializer_0).co = function (encoder, value) {
3237
- return this.w9w(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
3236
+ return this.u9w(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
3238
3237
  };
3239
3238
  protoOf($serializer_0).do = function (decoder) {
3240
- var tmp0_desc = this.v9w_1;
3239
+ var tmp0_desc = this.t9w_1;
3241
3240
  var tmp1_flag = true;
3242
3241
  var tmp2_index = 0;
3243
3242
  var tmp3_bitMask0 = 0;
@@ -3272,7 +3271,7 @@
3272
3271
  return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
3273
3272
  };
3274
3273
  protoOf($serializer_0).bo = function () {
3275
- return this.v9w_1;
3274
+ return this.t9w_1;
3276
3275
  };
3277
3276
  protoOf($serializer_0).vz = function () {
3278
3277
  // Inline function 'kotlin.arrayOf' call
@@ -3288,9 +3287,9 @@
3288
3287
  }
3289
3288
  function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
3290
3289
  if (!(3 === (3 & seen0))) {
3291
- throwMissingFieldException(seen0, 3, $serializer_getInstance_0().v9w_1);
3290
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_0().t9w_1);
3292
3291
  }
3293
- $this.x9w_1 = roomId;
3292
+ $this.v9w_1 = roomId;
3294
3293
  $this.actions = actions;
3295
3294
  return $this;
3296
3295
  }
@@ -3298,17 +3297,17 @@
3298
3297
  return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
3299
3298
  }
3300
3299
  function ActionsStateUpdateDto(roomId, actions) {
3301
- this.x9w_1 = roomId;
3300
+ this.v9w_1 = roomId;
3302
3301
  this.actions = actions;
3303
3302
  }
3304
3303
  protoOf(ActionsStateUpdateDto).p8b = function () {
3305
- return this.x9w_1;
3304
+ return this.v9w_1;
3306
3305
  };
3307
3306
  protoOf(ActionsStateUpdateDto).c8c = function () {
3308
3307
  return this.actions;
3309
3308
  };
3310
3309
  protoOf(ActionsStateUpdateDto).ne = function () {
3311
- return this.x9w_1;
3310
+ return this.v9w_1;
3312
3311
  };
3313
3312
  protoOf(ActionsStateUpdateDto).oe = function () {
3314
3313
  return this.actions;
@@ -3317,15 +3316,15 @@
3317
3316
  return new ActionsStateUpdateDto(roomId, actions);
3318
3317
  };
3319
3318
  protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
3320
- roomId = roomId === VOID ? this.x9w_1 : roomId;
3319
+ roomId = roomId === VOID ? this.v9w_1 : roomId;
3321
3320
  actions = actions === VOID ? this.actions : actions;
3322
3321
  return $super === VOID ? this.e54(roomId, actions) : $super.e54.call(this, roomId, actions);
3323
3322
  };
3324
3323
  protoOf(ActionsStateUpdateDto).toString = function () {
3325
- return 'ActionsStateUpdateDto(roomId=' + this.x9w_1 + ', actions=' + this.actions + ')';
3324
+ return 'ActionsStateUpdateDto(roomId=' + this.v9w_1 + ', actions=' + this.actions + ')';
3326
3325
  };
3327
3326
  protoOf(ActionsStateUpdateDto).hashCode = function () {
3328
- var result = getStringHashCode(this.x9w_1);
3327
+ var result = getStringHashCode(this.v9w_1);
3329
3328
  result = imul(result, 31) + getStringHashCode(this.actions) | 0;
3330
3329
  return result;
3331
3330
  };
@@ -3334,7 +3333,7 @@
3334
3333
  return true;
3335
3334
  if (!(other instanceof ActionsStateUpdateDto))
3336
3335
  return false;
3337
- if (!(this.x9w_1 === other.x9w_1))
3336
+ if (!(this.v9w_1 === other.v9w_1))
3338
3337
  return false;
3339
3338
  if (!(this.actions === other.actions))
3340
3339
  return false;
@@ -3364,42 +3363,42 @@
3364
3363
  var tmp$ret$0 = mapToDto(item);
3365
3364
  destination.j(tmp$ret$0);
3366
3365
  }
3367
- return new ActionsStateUpdateDto(_this__u8e3s4.y9w_1, encoderDecoderProvider.v8i(destination));
3366
+ return new ActionsStateUpdateDto(_this__u8e3s4.w9w_1, encoderDecoderProvider.v8i(destination));
3368
3367
  }
3369
3368
  function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
3370
- return new TableStateUpdateDto(_this__u8e3s4.z9w_1, encoderDecoderProvider.t8i(mapToDto_0(_this__u8e3s4.table)));
3369
+ return new TableStateUpdateDto(_this__u8e3s4.x9w_1, encoderDecoderProvider.t8i(mapToDto_0(_this__u8e3s4.table)));
3371
3370
  }
3372
3371
  function ServerStateUpdate() {
3373
3372
  }
3374
3373
  function TableStateUpdate(roomId, table) {
3375
- this.z9w_1 = roomId;
3374
+ this.x9w_1 = roomId;
3376
3375
  this.table = table;
3377
3376
  }
3378
3377
  protoOf(TableStateUpdate).p8b = function () {
3379
- return this.z9w_1;
3378
+ return this.x9w_1;
3380
3379
  };
3381
3380
  protoOf(TableStateUpdate).t6n = function () {
3382
3381
  return this.table;
3383
3382
  };
3384
3383
  protoOf(TableStateUpdate).ne = function () {
3385
- return this.z9w_1;
3384
+ return this.x9w_1;
3386
3385
  };
3387
3386
  protoOf(TableStateUpdate).oe = function () {
3388
3387
  return this.table;
3389
3388
  };
3390
- protoOf(TableStateUpdate).a9x = function (roomId, table) {
3389
+ protoOf(TableStateUpdate).y9w = function (roomId, table) {
3391
3390
  return new TableStateUpdate(roomId, table);
3392
3391
  };
3393
3392
  protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
3394
- roomId = roomId === VOID ? this.z9w_1 : roomId;
3393
+ roomId = roomId === VOID ? this.x9w_1 : roomId;
3395
3394
  table = table === VOID ? this.table : table;
3396
- return $super === VOID ? this.a9x(roomId, table) : $super.a9x.call(this, roomId, table);
3395
+ return $super === VOID ? this.y9w(roomId, table) : $super.y9w.call(this, roomId, table);
3397
3396
  };
3398
3397
  protoOf(TableStateUpdate).toString = function () {
3399
- return 'TableStateUpdate(roomId=' + this.z9w_1 + ', table=' + this.table.toString() + ')';
3398
+ return 'TableStateUpdate(roomId=' + this.x9w_1 + ', table=' + this.table.toString() + ')';
3400
3399
  };
3401
3400
  protoOf(TableStateUpdate).hashCode = function () {
3402
- var result = getStringHashCode(this.z9w_1);
3401
+ var result = getStringHashCode(this.x9w_1);
3403
3402
  result = imul(result, 31) + this.table.hashCode() | 0;
3404
3403
  return result;
3405
3404
  };
@@ -3408,41 +3407,41 @@
3408
3407
  return true;
3409
3408
  if (!(other instanceof TableStateUpdate))
3410
3409
  return false;
3411
- if (!(this.z9w_1 === other.z9w_1))
3410
+ if (!(this.x9w_1 === other.x9w_1))
3412
3411
  return false;
3413
3412
  if (!this.table.equals(other.table))
3414
3413
  return false;
3415
3414
  return true;
3416
3415
  };
3417
3416
  function ActionsStateUpdate(roomId, actions) {
3418
- this.y9w_1 = roomId;
3417
+ this.w9w_1 = roomId;
3419
3418
  this.actions = actions;
3420
3419
  }
3421
3420
  protoOf(ActionsStateUpdate).p8b = function () {
3422
- return this.y9w_1;
3421
+ return this.w9w_1;
3423
3422
  };
3424
3423
  protoOf(ActionsStateUpdate).c8c = function () {
3425
3424
  return this.actions;
3426
3425
  };
3427
3426
  protoOf(ActionsStateUpdate).ne = function () {
3428
- return this.y9w_1;
3427
+ return this.w9w_1;
3429
3428
  };
3430
3429
  protoOf(ActionsStateUpdate).oe = function () {
3431
3430
  return this.actions;
3432
3431
  };
3433
- protoOf(ActionsStateUpdate).b9x = function (roomId, actions) {
3432
+ protoOf(ActionsStateUpdate).z9w = function (roomId, actions) {
3434
3433
  return new ActionsStateUpdate(roomId, actions);
3435
3434
  };
3436
3435
  protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
3437
- roomId = roomId === VOID ? this.y9w_1 : roomId;
3436
+ roomId = roomId === VOID ? this.w9w_1 : roomId;
3438
3437
  actions = actions === VOID ? this.actions : actions;
3439
- return $super === VOID ? this.b9x(roomId, actions) : $super.b9x.call(this, roomId, actions);
3438
+ return $super === VOID ? this.z9w(roomId, actions) : $super.z9w.call(this, roomId, actions);
3440
3439
  };
3441
3440
  protoOf(ActionsStateUpdate).toString = function () {
3442
- return 'ActionsStateUpdate(roomId=' + this.y9w_1 + ', actions=' + toString(this.actions) + ')';
3441
+ return 'ActionsStateUpdate(roomId=' + this.w9w_1 + ', actions=' + toString(this.actions) + ')';
3443
3442
  };
3444
3443
  protoOf(ActionsStateUpdate).hashCode = function () {
3445
- var result = getStringHashCode(this.y9w_1);
3444
+ var result = getStringHashCode(this.w9w_1);
3446
3445
  result = imul(result, 31) + hashCode(this.actions) | 0;
3447
3446
  return result;
3448
3447
  };
@@ -3451,7 +3450,7 @@
3451
3450
  return true;
3452
3451
  if (!(other instanceof ActionsStateUpdate))
3453
3452
  return false;
3454
- if (!(this.y9w_1 === other.y9w_1))
3453
+ if (!(this.w9w_1 === other.w9w_1))
3455
3454
  return false;
3456
3455
  if (!equals(this.actions, other.actions))
3457
3456
  return false;
@@ -3685,18 +3684,18 @@
3685
3684
  function ToClientEventsObserver() {
3686
3685
  }
3687
3686
  function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
3688
- this.l9x_1 = this$0;
3689
- this.m9x_1 = $actions;
3687
+ this.j9x_1 = this$0;
3688
+ this.k9x_1 = $actions;
3690
3689
  CoroutineImpl.call(this, resultContinuation);
3691
3690
  }
3692
- protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).p9x = function ($this$flow, $completion) {
3693
- var tmp = this.q9x($this$flow, $completion);
3691
+ protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).n9x = function ($this$flow, $completion) {
3692
+ var tmp = this.o9x($this$flow, $completion);
3694
3693
  tmp.t8_1 = Unit_instance;
3695
3694
  tmp.u8_1 = null;
3696
3695
  return tmp.z8();
3697
3696
  };
3698
3697
  protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).h9 = function (p1, $completion) {
3699
- return this.p9x((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
3698
+ return this.n9x((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
3700
3699
  };
3701
3700
  protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).z8 = function () {
3702
3701
  var suspendResult = this.t8_1;
@@ -3706,19 +3705,19 @@
3706
3705
  switch (tmp) {
3707
3706
  case 0:
3708
3707
  this.s8_1 = 4;
3709
- this.l9x_1.v9x_1;
3710
- this.o9x_1 = transformToEmits(this.l9x_1, this.m9x_1).l();
3708
+ this.j9x_1.t9x_1;
3709
+ this.m9x_1 = transformToEmits(this.j9x_1, this.k9x_1).l();
3711
3710
  this.r8_1 = 1;
3712
3711
  continue $sm;
3713
3712
  case 1:
3714
- if (!this.o9x_1.m()) {
3713
+ if (!this.m9x_1.m()) {
3715
3714
  this.r8_1 = 3;
3716
3715
  continue $sm;
3717
3716
  }
3718
3717
 
3719
- var element = this.o9x_1.n();
3718
+ var element = this.m9x_1.n();
3720
3719
  this.r8_1 = 2;
3721
- suspendResult = this.n9x_1.n28(element, this);
3720
+ suspendResult = this.l9x_1.n28(element, this);
3722
3721
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3723
3722
  return suspendResult;
3724
3723
  }
@@ -3728,11 +3727,11 @@
3728
3727
  this.r8_1 = 1;
3729
3728
  continue $sm;
3730
3729
  case 3:
3731
- var tmp0 = this.l9x_1.u9x_1;
3730
+ var tmp0 = this.j9x_1.s9x_1;
3732
3731
  l$ret$1: do {
3733
3732
  while (true) {
3734
3733
  var cur = tmp0.kotlinx$atomicfu$value;
3735
- var upd = cur - this.m9x_1.o() | 0;
3734
+ var upd = cur - this.k9x_1.o() | 0;
3736
3735
  if (tmp0.atomicfu$compareAndSet(cur, upd)) {
3737
3736
  break l$ret$1;
3738
3737
  }
@@ -3754,15 +3753,15 @@
3754
3753
  }
3755
3754
  while (true);
3756
3755
  };
3757
- protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).q9x = function ($this$flow, completion) {
3758
- var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.l9x_1, this.m9x_1, completion);
3759
- i.n9x_1 = $this$flow;
3756
+ protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).o9x = function ($this$flow, completion) {
3757
+ var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.j9x_1, this.k9x_1, completion);
3758
+ i.l9x_1 = $this$flow;
3760
3759
  return i;
3761
3760
  };
3762
3761
  function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
3763
3762
  var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
3764
3763
  var l = function ($this$flow, $completion) {
3765
- return i.p9x($this$flow, $completion);
3764
+ return i.n9x($this$flow, $completion);
3766
3765
  };
3767
3766
  l.$arity = 1;
3768
3767
  return l;
@@ -3832,29 +3831,29 @@
3832
3831
  return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
3833
3832
  }
3834
3833
  function mapFromGroupKey($this, _this__u8e3s4) {
3835
- var tmp = $this.t9x_1.c6e();
3834
+ var tmp = $this.r9x_1.c6e();
3836
3835
  // Inline function 'kotlin.collections.toTypedArray' call
3837
- var this_0 = _this__u8e3s4.y9x_1;
3836
+ var this_0 = _this__u8e3s4.w9x_1;
3838
3837
  var tmp_0 = copyToArray(this_0);
3839
3838
  // Inline function 'kotlin.collections.toTypedArray' call
3840
- var this_1 = _this__u8e3s4.z9x_1;
3839
+ var this_1 = _this__u8e3s4.x9x_1;
3841
3840
  var tmp$ret$1 = copyToArray(this_1);
3842
- return new ActionDeliveryPayload(_this__u8e3s4.x9x_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.a9y_1);
3841
+ return new ActionDeliveryPayload(_this__u8e3s4.v9x_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.y9x_1);
3843
3842
  }
3844
3843
  function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
3845
- this.x9x_1 = tableId;
3846
- this.y9x_1 = includePlayers;
3847
- this.z9x_1 = excludePlayers;
3848
- this.a9y_1 = deliveryType;
3844
+ this.v9x_1 = tableId;
3845
+ this.w9x_1 = includePlayers;
3846
+ this.x9x_1 = excludePlayers;
3847
+ this.y9x_1 = deliveryType;
3849
3848
  }
3850
3849
  protoOf(GroupKey).toString = function () {
3851
- return 'GroupKey(tableId=' + this.x9x_1 + ', includePlayers=' + toString(this.y9x_1) + ', excludePlayers=' + toString(this.z9x_1) + ', deliveryType=' + this.a9y_1.toString() + ')';
3850
+ return 'GroupKey(tableId=' + this.v9x_1 + ', includePlayers=' + toString(this.w9x_1) + ', excludePlayers=' + toString(this.x9x_1) + ', deliveryType=' + this.y9x_1.toString() + ')';
3852
3851
  };
3853
3852
  protoOf(GroupKey).hashCode = function () {
3854
- var result = getStringHashCode(this.x9x_1);
3855
- result = imul(result, 31) + hashCode(this.y9x_1) | 0;
3856
- result = imul(result, 31) + hashCode(this.z9x_1) | 0;
3857
- result = imul(result, 31) + this.a9y_1.hashCode() | 0;
3853
+ var result = getStringHashCode(this.v9x_1);
3854
+ result = imul(result, 31) + hashCode(this.w9x_1) | 0;
3855
+ result = imul(result, 31) + hashCode(this.x9x_1) | 0;
3856
+ result = imul(result, 31) + this.y9x_1.hashCode() | 0;
3858
3857
  return result;
3859
3858
  };
3860
3859
  protoOf(GroupKey).equals = function (other) {
@@ -3862,35 +3861,35 @@
3862
3861
  return true;
3863
3862
  if (!(other instanceof GroupKey))
3864
3863
  return false;
3865
- if (!(this.x9x_1 === other.x9x_1))
3864
+ if (!(this.v9x_1 === other.v9x_1))
3866
3865
  return false;
3867
- if (!equals(this.y9x_1, other.y9x_1))
3866
+ if (!equals(this.w9x_1, other.w9x_1))
3868
3867
  return false;
3869
- if (!equals(this.z9x_1, other.z9x_1))
3868
+ if (!equals(this.x9x_1, other.x9x_1))
3870
3869
  return false;
3871
- if (!this.a9y_1.equals(other.a9y_1))
3870
+ if (!this.y9x_1.equals(other.y9x_1))
3872
3871
  return false;
3873
3872
  return true;
3874
3873
  };
3875
3874
  function Companion_4() {
3876
- this.b9y_1 = 6;
3875
+ this.z9x_1 = 6;
3877
3876
  }
3878
3877
  var Companion_instance_12;
3879
3878
  function Companion_getInstance_5() {
3880
3879
  return Companion_instance_12;
3881
3880
  }
3882
3881
  function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
3883
- this.k9y_1 = this$0;
3882
+ this.i9y_1 = this$0;
3884
3883
  CoroutineImpl.call(this, resultContinuation);
3885
3884
  }
3886
- protoOf(ToClientEventsObserverImpl$observeEvents$slambda).m9y = function (actions, $completion) {
3887
- var tmp = this.n9y(actions, $completion);
3885
+ protoOf(ToClientEventsObserverImpl$observeEvents$slambda).k9y = function (actions, $completion) {
3886
+ var tmp = this.l9y(actions, $completion);
3888
3887
  tmp.t8_1 = Unit_instance;
3889
3888
  tmp.u8_1 = null;
3890
3889
  return tmp.z8();
3891
3890
  };
3892
3891
  protoOf(ToClientEventsObserverImpl$observeEvents$slambda).h9 = function (p1, $completion) {
3893
- return this.m9y((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
3892
+ return this.k9y((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
3894
3893
  };
3895
3894
  protoOf(ToClientEventsObserverImpl$observeEvents$slambda).z8 = function () {
3896
3895
  var suspendResult = this.t8_1;
@@ -3899,7 +3898,7 @@
3899
3898
  var tmp = this.r8_1;
3900
3899
  if (tmp === 0) {
3901
3900
  this.s8_1 = 1;
3902
- return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.k9y_1, this.l9y_1, null));
3901
+ return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.i9y_1, this.j9y_1, null));
3903
3902
  } else if (tmp === 1) {
3904
3903
  throw this.u8_1;
3905
3904
  }
@@ -3909,23 +3908,23 @@
3909
3908
  }
3910
3909
  while (true);
3911
3910
  };
3912
- protoOf(ToClientEventsObserverImpl$observeEvents$slambda).n9y = function (actions, completion) {
3913
- var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.k9y_1, completion);
3914
- i.l9y_1 = actions;
3911
+ protoOf(ToClientEventsObserverImpl$observeEvents$slambda).l9y = function (actions, completion) {
3912
+ var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.i9y_1, completion);
3913
+ i.j9y_1 = actions;
3915
3914
  return i;
3916
3915
  };
3917
3916
  function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
3918
3917
  var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
3919
3918
  var l = function (actions, $completion) {
3920
- return i.m9y(actions, $completion);
3919
+ return i.k9y(actions, $completion);
3921
3920
  };
3922
3921
  l.$arity = 1;
3923
3922
  return l;
3924
3923
  }
3925
3924
  function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
3926
3925
  CoroutineImpl.call(this, resultContinuation);
3927
- this.w9y_1 = _this__u8e3s4;
3928
- this.x9y_1 = fromEvent;
3926
+ this.u9y_1 = _this__u8e3s4;
3927
+ this.v9y_1 = fromEvent;
3929
3928
  }
3930
3929
  protoOf($sentEventCOROUTINE$).z8 = function () {
3931
3930
  var suspendResult = this.t8_1;
@@ -3935,8 +3934,8 @@
3935
3934
  switch (tmp) {
3936
3935
  case 0:
3937
3936
  this.s8_1 = 2;
3938
- this.w9y_1.v9x_1;
3939
- var tmp0 = this.w9y_1.u9x_1;
3937
+ this.u9y_1.t9x_1;
3938
+ var tmp0 = this.u9y_1.s9x_1;
3940
3939
  l$ret$1: do {
3941
3940
  while (true) {
3942
3941
  var cur = tmp0.kotlinx$atomicfu$value;
@@ -3948,7 +3947,7 @@
3948
3947
  }
3949
3948
  while (false);
3950
3949
  this.r8_1 = 1;
3951
- suspendResult = this.w9y_1.w9x_1.n28(this.x9y_1, this);
3950
+ suspendResult = this.u9y_1.u9x_1.n28(this.v9y_1, this);
3952
3951
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3953
3952
  return suspendResult;
3954
3953
  }
@@ -3972,7 +3971,7 @@
3972
3971
  };
3973
3972
  function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
3974
3973
  CoroutineImpl.call(this, resultContinuation);
3975
- this.g9z_1 = _this__u8e3s4;
3974
+ this.e9z_1 = _this__u8e3s4;
3976
3975
  }
3977
3976
  protoOf($waitForCOROUTINE$).z8 = function () {
3978
3977
  var suspendResult = this.t8_1;
@@ -3982,12 +3981,12 @@
3982
3981
  switch (tmp) {
3983
3982
  case 0:
3984
3983
  this.s8_1 = 5;
3985
- this.g9z_1.v9x_1;
3986
- this.h9z_1 = 0;
3984
+ this.e9z_1.t9x_1;
3985
+ this.f9z_1 = 0;
3987
3986
  this.r8_1 = 1;
3988
3987
  continue $sm;
3989
3988
  case 1:
3990
- if (!!(this.g9z_1.u9x_1.kotlinx$atomicfu$value === 0)) {
3989
+ if (!!(this.e9z_1.s9x_1.kotlinx$atomicfu$value === 0)) {
3991
3990
  this.r8_1 = 4;
3992
3991
  continue $sm;
3993
3992
  }
@@ -4000,9 +3999,9 @@
4000
3999
 
4001
4000
  continue $sm;
4002
4001
  case 2:
4003
- this.h9z_1 = this.h9z_1 + 1 | 0;
4004
- if (this.h9z_1 > 6) {
4005
- this.g9z_1.s9x_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.g9z_1.u9x_1.kotlinx$atomicfu$value);
4002
+ this.f9z_1 = this.f9z_1 + 1 | 0;
4003
+ if (this.f9z_1 > 6) {
4004
+ this.e9z_1.q9x_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.e9z_1.s9x_1.kotlinx$atomicfu$value);
4006
4005
  this.r8_1 = 4;
4007
4006
  continue $sm;
4008
4007
  } else {
@@ -4030,16 +4029,16 @@
4030
4029
  while (true);
4031
4030
  };
4032
4031
  function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
4033
- this.r9x_1 = serverReduxConfig;
4034
- this.s9x_1 = logger;
4035
- this.t9x_1 = idsProvider;
4036
- this.u9x_1 = atomic$ref$1(0);
4032
+ this.p9x_1 = serverReduxConfig;
4033
+ this.q9x_1 = logger;
4034
+ this.r9x_1 = idsProvider;
4035
+ this.s9x_1 = atomic$ref$1(0);
4037
4036
  var tmp = this;
4038
4037
  // Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
4039
- tmp.v9x_1 = get_atomicfu$reentrantLock();
4040
- this.w9x_1 = MutableSharedFlow();
4038
+ tmp.t9x_1 = get_atomicfu$reentrantLock();
4039
+ this.u9x_1 = MutableSharedFlow();
4041
4040
  }
4042
- protoOf(ToClientEventsObserverImpl).c9x = function (fromEvent, $completion) {
4041
+ protoOf(ToClientEventsObserverImpl).a9x = function (fromEvent, $completion) {
4043
4042
  var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
4044
4043
  tmp.t8_1 = Unit_instance;
4045
4044
  tmp.u8_1 = null;
@@ -4051,162 +4050,162 @@
4051
4050
  tmp.u8_1 = null;
4052
4051
  return tmp.z8();
4053
4052
  };
4054
- protoOf(ToClientEventsObserverImpl).q9n = function () {
4055
- if (!this.r9x_1.enabledCombinedEvents) {
4056
- return this.w9x_1;
4053
+ protoOf(ToClientEventsObserverImpl).p9n = function () {
4054
+ if (!this.p9x_1.enabledCombinedEvents) {
4055
+ return this.u9x_1;
4057
4056
  }
4058
- var tmp = windowedByInterval(this.w9x_1, fromInt(this.r9x_1.combinedEventsIntervalMillis));
4057
+ var tmp = windowedByInterval(this.u9x_1, fromInt(this.p9x_1.combinedEventsIntervalMillis));
4059
4058
  return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
4060
4059
  };
4061
4060
  function UpdateServerConfigAction(serverConfig) {
4062
- this.i9z_1 = serverConfig;
4061
+ this.g9z_1 = serverConfig;
4063
4062
  }
4064
4063
  protoOf(UpdateServerConfigAction).toString = function () {
4065
- return 'UpdateServerConfigAction(serverConfig=' + this.i9z_1.toString() + ')';
4064
+ return 'UpdateServerConfigAction(serverConfig=' + this.g9z_1.toString() + ')';
4066
4065
  };
4067
4066
  protoOf(UpdateServerConfigAction).hashCode = function () {
4068
- return this.i9z_1.hashCode();
4067
+ return this.g9z_1.hashCode();
4069
4068
  };
4070
4069
  protoOf(UpdateServerConfigAction).equals = function (other) {
4071
4070
  if (this === other)
4072
4071
  return true;
4073
4072
  if (!(other instanceof UpdateServerConfigAction))
4074
4073
  return false;
4075
- if (!this.i9z_1.equals(other.i9z_1))
4074
+ if (!this.g9z_1.equals(other.g9z_1))
4076
4075
  return false;
4077
4076
  return true;
4078
4077
  };
4079
4078
  function SpectatorsAction() {
4080
4079
  }
4081
4080
  function AddSpectatorsAction(spectators) {
4082
- this.j9z_1 = spectators;
4081
+ this.h9z_1 = spectators;
4083
4082
  }
4084
4083
  protoOf(AddSpectatorsAction).toString = function () {
4085
- return 'AddSpectatorsAction(spectators=' + toString(this.j9z_1) + ')';
4084
+ return 'AddSpectatorsAction(spectators=' + toString(this.h9z_1) + ')';
4086
4085
  };
4087
4086
  protoOf(AddSpectatorsAction).hashCode = function () {
4088
- return hashCode(this.j9z_1);
4087
+ return hashCode(this.h9z_1);
4089
4088
  };
4090
4089
  protoOf(AddSpectatorsAction).equals = function (other) {
4091
4090
  if (this === other)
4092
4091
  return true;
4093
4092
  if (!(other instanceof AddSpectatorsAction))
4094
4093
  return false;
4095
- if (!equals(this.j9z_1, other.j9z_1))
4094
+ if (!equals(this.h9z_1, other.h9z_1))
4096
4095
  return false;
4097
4096
  return true;
4098
4097
  };
4099
4098
  function RemoveSpectatorsAction(spectators) {
4100
- this.k9z_1 = spectators;
4099
+ this.i9z_1 = spectators;
4101
4100
  }
4102
4101
  protoOf(RemoveSpectatorsAction).toString = function () {
4103
- return 'RemoveSpectatorsAction(spectators=' + toString(this.k9z_1) + ')';
4102
+ return 'RemoveSpectatorsAction(spectators=' + toString(this.i9z_1) + ')';
4104
4103
  };
4105
4104
  protoOf(RemoveSpectatorsAction).hashCode = function () {
4106
- return hashCode(this.k9z_1);
4105
+ return hashCode(this.i9z_1);
4107
4106
  };
4108
4107
  protoOf(RemoveSpectatorsAction).equals = function (other) {
4109
4108
  if (this === other)
4110
4109
  return true;
4111
4110
  if (!(other instanceof RemoveSpectatorsAction))
4112
4111
  return false;
4113
- if (!equals(this.k9z_1, other.k9z_1))
4112
+ if (!equals(this.i9z_1, other.i9z_1))
4114
4113
  return false;
4115
4114
  return true;
4116
4115
  };
4117
4116
  function _get_asyncProvider__jbpyhw($this) {
4118
- var tmp0 = $this.q9z_1;
4117
+ var tmp0 = $this.o9z_1;
4119
4118
  var tmp = KProperty1;
4120
4119
  // Inline function 'kotlin.getValue' call
4121
4120
  getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
4122
4121
  return tmp0.w();
4123
4122
  }
4124
4123
  function _get_logger__rkp4sl($this) {
4125
- var tmp0 = $this.r9z_1;
4124
+ var tmp0 = $this.p9z_1;
4126
4125
  var tmp = KProperty1;
4127
4126
  // Inline function 'kotlin.getValue' call
4128
4127
  getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
4129
4128
  return tmp0.w();
4130
4129
  }
4131
4130
  function _get_playerConnectionInteractor__si6cxf_0($this) {
4132
- var tmp0 = $this.s9z_1;
4131
+ var tmp0 = $this.q9z_1;
4133
4132
  var tmp = KProperty1;
4134
4133
  // Inline function 'kotlin.getValue' call
4135
4134
  getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
4136
4135
  return tmp0.w();
4137
4136
  }
4138
4137
  function _get_lastCardInteractor__h6lq3w($this) {
4139
- var tmp0 = $this.t9z_1;
4138
+ var tmp0 = $this.r9z_1;
4140
4139
  var tmp = KProperty1;
4141
4140
  // Inline function 'kotlin.getValue' call
4142
4141
  getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
4143
4142
  return tmp0.w();
4144
4143
  }
4145
4144
  function _get_serverConfig__rk2g06($this) {
4146
- var tmp0 = $this.u9z_1;
4145
+ var tmp0 = $this.s9z_1;
4147
4146
  var tmp = KProperty1;
4148
4147
  // Inline function 'kotlin.getValue' call
4149
4148
  getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
4150
4149
  return tmp0.w();
4151
4150
  }
4152
4151
  function _get_logicConfig__52ww9d($this) {
4153
- var tmp0 = $this.v9z_1;
4152
+ var tmp0 = $this.t9z_1;
4154
4153
  var tmp = KProperty1;
4155
4154
  // Inline function 'kotlin.getValue' call
4156
4155
  getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
4157
4156
  return tmp0.w();
4158
4157
  }
4159
4158
  function _get_idsProvider__fnfajc_0($this) {
4160
- var tmp0 = $this.w9z_1;
4159
+ var tmp0 = $this.u9z_1;
4161
4160
  var tmp = KProperty1;
4162
4161
  // Inline function 'kotlin.getValue' call
4163
4162
  getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
4164
4163
  return tmp0.w();
4165
4164
  }
4166
4165
  function _get_botConfig__cpaxzc($this) {
4167
- var tmp0 = $this.x9z_1;
4166
+ var tmp0 = $this.v9z_1;
4168
4167
  var tmp = KProperty1;
4169
4168
  // Inline function 'kotlin.getValue' call
4170
4169
  getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
4171
4170
  return tmp0.w();
4172
4171
  }
4173
4172
  function _get_scenePositionProvider__kn0n1n($this) {
4174
- var tmp0 = $this.y9z_1;
4173
+ var tmp0 = $this.w9z_1;
4175
4174
  var tmp = KProperty1;
4176
4175
  // Inline function 'kotlin.getValue' call
4177
4176
  getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
4178
4177
  return tmp0.w();
4179
4178
  }
4180
4179
  function _get_toClientEventsObserver__6rp51y_0($this) {
4181
- var tmp0 = $this.z9z_1;
4180
+ var tmp0 = $this.x9z_1;
4182
4181
  var tmp = KProperty1;
4183
4182
  // Inline function 'kotlin.getValue' call
4184
4183
  getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
4185
4184
  return tmp0.w();
4186
4185
  }
4187
4186
  function _get_fromClientEventsObserver__a7vzd3_0($this) {
4188
- var tmp0 = $this.aa0_1;
4187
+ var tmp0 = $this.y9z_1;
4189
4188
  var tmp = KProperty1;
4190
4189
  // Inline function 'kotlin.getValue' call
4191
4190
  getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
4192
4191
  return tmp0.w();
4193
4192
  }
4194
4193
  function _get_dealerConfig__183ci8($this) {
4195
- var tmp0 = $this.ba0_1;
4194
+ var tmp0 = $this.z9z_1;
4196
4195
  var tmp = KProperty1;
4197
4196
  // Inline function 'kotlin.getValue' call
4198
4197
  getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
4199
4198
  return tmp0.w();
4200
4199
  }
4201
4200
  function _get_poolProvider__tqti6a($this) {
4202
- var tmp0 = $this.ca0_1;
4201
+ var tmp0 = $this.aa0_1;
4203
4202
  var tmp = KProperty1;
4204
4203
  // Inline function 'kotlin.getValue' call
4205
4204
  getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
4206
4205
  return tmp0.w();
4207
4206
  }
4208
4207
  function _get_cardsDealerProvider__bekjpg($this) {
4209
- var tmp0 = $this.da0_1;
4208
+ var tmp0 = $this.ba0_1;
4210
4209
  var tmp = KProperty1;
4211
4210
  // Inline function 'kotlin.getValue' call
4212
4211
  getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
@@ -4370,11 +4369,11 @@
4370
4369
  tmp = fileLoggerStoreContract;
4371
4370
  }
4372
4371
  fileLoggerStoreContract = tmp;
4373
- this.l9z_1 = validationStoreContract;
4374
- this.m9z_1 = timersStoreContract;
4375
- this.n9z_1 = botGameStoreContract;
4376
- this.o9z_1 = gameMechanicStoreContract;
4377
- this.p9z_1 = fileLoggerStoreContract;
4372
+ this.j9z_1 = validationStoreContract;
4373
+ this.k9z_1 = timersStoreContract;
4374
+ this.l9z_1 = botGameStoreContract;
4375
+ this.m9z_1 = gameMechanicStoreContract;
4376
+ this.n9z_1 = fileLoggerStoreContract;
4378
4377
  var tmp_0 = this;
4379
4378
  // Inline function 'org.kodein.di.instance' call
4380
4379
  // Inline function 'org.kodein.type.generic' call
@@ -4382,7 +4381,7 @@
4382
4381
  var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
4383
4382
  var tmp_2 = Instance(di, tmp$ret$0, null);
4384
4383
  var tmp_3 = KProperty1;
4385
- tmp_0.q9z_1 = tmp_2.w64(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
4384
+ tmp_0.o9z_1 = tmp_2.w64(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
4386
4385
  var tmp_4 = this;
4387
4386
  // Inline function 'org.kodein.di.instance' call
4388
4387
  // Inline function 'org.kodein.type.generic' call
@@ -4390,7 +4389,7 @@
4390
4389
  var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
4391
4390
  var tmp_6 = Instance(di, tmp$ret$2, null);
4392
4391
  var tmp_7 = KProperty1;
4393
- tmp_4.r9z_1 = tmp_6.w64(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
4392
+ tmp_4.p9z_1 = tmp_6.w64(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
4394
4393
  var tmp_8 = this;
4395
4394
  // Inline function 'org.kodein.di.instance' call
4396
4395
  // Inline function 'org.kodein.type.generic' call
@@ -4398,7 +4397,7 @@
4398
4397
  var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
4399
4398
  var tmp_10 = Instance(di, tmp$ret$4, null);
4400
4399
  var tmp_11 = KProperty1;
4401
- tmp_8.s9z_1 = tmp_10.w64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
4400
+ tmp_8.q9z_1 = tmp_10.w64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
4402
4401
  var tmp_12 = this;
4403
4402
  // Inline function 'org.kodein.di.instance' call
4404
4403
  // Inline function 'org.kodein.type.generic' call
@@ -4406,7 +4405,7 @@
4406
4405
  var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
4407
4406
  var tmp_14 = Instance(di, tmp$ret$6, null);
4408
4407
  var tmp_15 = KProperty1;
4409
- tmp_12.t9z_1 = tmp_14.w64(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
4408
+ tmp_12.r9z_1 = tmp_14.w64(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
4410
4409
  var tmp_16 = this;
4411
4410
  // Inline function 'org.kodein.di.instance' call
4412
4411
  // Inline function 'org.kodein.type.generic' call
@@ -4414,7 +4413,7 @@
4414
4413
  var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
4415
4414
  var tmp_18 = Instance(di, tmp$ret$8, null);
4416
4415
  var tmp_19 = KProperty1;
4417
- tmp_16.u9z_1 = tmp_18.w64(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
4416
+ tmp_16.s9z_1 = tmp_18.w64(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
4418
4417
  var tmp_20 = this;
4419
4418
  // Inline function 'org.kodein.di.instance' call
4420
4419
  // Inline function 'org.kodein.type.generic' call
@@ -4422,7 +4421,7 @@
4422
4421
  var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
4423
4422
  var tmp_22 = Instance(di, tmp$ret$10, null);
4424
4423
  var tmp_23 = KProperty1;
4425
- tmp_20.v9z_1 = tmp_22.w64(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
4424
+ tmp_20.t9z_1 = tmp_22.w64(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
4426
4425
  var tmp_24 = this;
4427
4426
  // Inline function 'org.kodein.di.instance' call
4428
4427
  // Inline function 'org.kodein.type.generic' call
@@ -4430,7 +4429,7 @@
4430
4429
  var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
4431
4430
  var tmp_26 = Instance(di, tmp$ret$12, null);
4432
4431
  var tmp_27 = KProperty1;
4433
- tmp_24.w9z_1 = tmp_26.w64(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
4432
+ tmp_24.u9z_1 = tmp_26.w64(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
4434
4433
  var tmp_28 = this;
4435
4434
  // Inline function 'org.kodein.di.instance' call
4436
4435
  // Inline function 'org.kodein.type.generic' call
@@ -4438,7 +4437,7 @@
4438
4437
  var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
4439
4438
  var tmp_30 = Instance(di, tmp$ret$14, null);
4440
4439
  var tmp_31 = KProperty1;
4441
- tmp_28.x9z_1 = tmp_30.w64(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
4440
+ tmp_28.v9z_1 = tmp_30.w64(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
4442
4441
  var tmp_32 = this;
4443
4442
  // Inline function 'org.kodein.di.instance' call
4444
4443
  // Inline function 'org.kodein.type.generic' call
@@ -4446,7 +4445,7 @@
4446
4445
  var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
4447
4446
  var tmp_34 = Instance(di, tmp$ret$16, null);
4448
4447
  var tmp_35 = KProperty1;
4449
- tmp_32.y9z_1 = tmp_34.w64(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
4448
+ tmp_32.w9z_1 = tmp_34.w64(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
4450
4449
  var tmp_36 = this;
4451
4450
  // Inline function 'org.kodein.di.instance' call
4452
4451
  // Inline function 'org.kodein.type.generic' call
@@ -4454,7 +4453,7 @@
4454
4453
  var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
4455
4454
  var tmp_38 = Instance(di, tmp$ret$18, null);
4456
4455
  var tmp_39 = KProperty1;
4457
- tmp_36.z9z_1 = tmp_38.w64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
4456
+ tmp_36.x9z_1 = tmp_38.w64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
4458
4457
  var tmp_40 = this;
4459
4458
  // Inline function 'org.kodein.di.instance' call
4460
4459
  // Inline function 'org.kodein.type.generic' call
@@ -4462,7 +4461,7 @@
4462
4461
  var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
4463
4462
  var tmp_42 = Instance(di, tmp$ret$20, null);
4464
4463
  var tmp_43 = KProperty1;
4465
- tmp_40.aa0_1 = tmp_42.w64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
4464
+ tmp_40.y9z_1 = tmp_42.w64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
4466
4465
  var tmp_44 = this;
4467
4466
  // Inline function 'org.kodein.di.instance' call
4468
4467
  // Inline function 'org.kodein.type.generic' call
@@ -4470,7 +4469,7 @@
4470
4469
  var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
4471
4470
  var tmp_46 = Instance(di, tmp$ret$22, null);
4472
4471
  var tmp_47 = KProperty1;
4473
- tmp_44.ba0_1 = tmp_46.w64(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
4472
+ tmp_44.z9z_1 = tmp_46.w64(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
4474
4473
  var tmp_48 = this;
4475
4474
  // Inline function 'org.kodein.di.instance' call
4476
4475
  // Inline function 'org.kodein.type.generic' call
@@ -4478,7 +4477,7 @@
4478
4477
  var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
4479
4478
  var tmp_50 = Instance(di, tmp$ret$24, null);
4480
4479
  var tmp_51 = KProperty1;
4481
- tmp_48.ca0_1 = tmp_50.w64(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
4480
+ tmp_48.aa0_1 = tmp_50.w64(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
4482
4481
  var tmp_52 = this;
4483
4482
  // Inline function 'org.kodein.di.instance' call
4484
4483
  // Inline function 'org.kodein.type.generic' call
@@ -4486,13 +4485,13 @@
4486
4485
  var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
4487
4486
  var tmp_54 = Instance(di, tmp$ret$26, null);
4488
4487
  var tmp_55 = KProperty1;
4489
- tmp_52.da0_1 = tmp_54.w64(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
4488
+ tmp_52.ba0_1 = tmp_54.w64(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
4490
4489
  }
4491
4490
  protoOf(ServerGameStoreContract).o8y = function () {
4492
- return plus(plus(plus(plus(plus(this.l9z_1.o8y(), this.o9z_1.o8y()), this.m9z_1.o8y()), this.n9z_1.o8y()), this.p9z_1.o8y()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this))]));
4491
+ return plus(plus(plus(plus(plus(this.j9z_1.o8y(), this.m9z_1.o8y()), this.k9z_1.o8y()), this.l9z_1.o8y()), this.n9z_1.o8y()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this))]));
4493
4492
  };
4494
4493
  protoOf(ServerGameStoreContract).p8y = function () {
4495
- var tmp = plus(plus(plus(plus(plus(plus(plus(this.l9z_1.p8y(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance()) ? checkBotsMiddleware(_get_logger__rkp4sl(this)) : null)), this.o9z_1.p8y()), this.m9z_1.p8y()), this.n9z_1.p8y()), this.p9z_1.p8y()), listOfNotNull_0([playerConnectionUpdateMiddleware(_get_playerConnectionInteractor__si6cxf_0(this)), playerReconnectionWaitingTimerTickMiddleware(_get_playerConnectionInteractor__si6cxf_0(this))])), listOfNotNull_0([sendFromClientEventsMiddleware(_get_asyncProvider__jbpyhw(this), _get_fromClientEventsObserver__a7vzd3_0(this)), sendToClientActionMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc_0(this))).v90(), finishingGameWhenCantStartNewMiddleware()]));
4494
+ var tmp = plus(plus(plus(plus(plus(plus(plus(this.j9z_1.p8y(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance()) ? checkBotsMiddleware(_get_logger__rkp4sl(this)) : null)), this.m9z_1.p8y()), this.k9z_1.p8y()), this.l9z_1.p8y()), this.n9z_1.p8y()), listOfNotNull_0([playerConnectionUpdateMiddleware(_get_playerConnectionInteractor__si6cxf_0(this)), playerReconnectionWaitingTimerTickMiddleware(_get_playerConnectionInteractor__si6cxf_0(this))])), listOfNotNull_0([sendFromClientEventsMiddleware(_get_asyncProvider__jbpyhw(this), _get_fromClientEventsObserver__a7vzd3_0(this)), sendToClientActionMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc_0(this))).v90(), finishingGameWhenCantStartNewMiddleware()]));
4496
4495
  var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl(this));
4497
4496
  var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
4498
4497
  var tmp1_logger = _get_logger__rkp4sl(this);
@@ -4543,7 +4542,7 @@
4543
4542
  return this.p6h(store, next, action);
4544
4543
  };
4545
4544
  function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
4546
- this.ga0_1 = this$0;
4545
+ this.ea0_1 = this$0;
4547
4546
  }
4548
4547
  protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).a6g = function (action) {
4549
4548
  return action instanceof MechanicAction;
@@ -4554,7 +4553,7 @@
4554
4553
  // Inline function 'kotlin.with' call
4555
4554
  var tmp;
4556
4555
  if (action_0 instanceof StartGameMechanicAction) {
4557
- var tmp0 = this.ga0_1;
4556
+ var tmp0 = this.ea0_1;
4558
4557
  var tmp2 = action_0.a8v_1;
4559
4558
  var tmp4 = action_0.c8v_1;
4560
4559
  // Inline function 'kotlin.collections.map' call
@@ -4594,7 +4593,7 @@
4594
4593
  var _iterator__ex2g4s_2 = destination_1.l();
4595
4594
  while (_iterator__ex2g4s_2.m()) {
4596
4595
  var element_0 = _iterator__ex2g4s_2.n();
4597
- var tmp0_aid = tmp0.fa0_1.c6e();
4596
+ var tmp0_aid = tmp0.da0_1.c6e();
4598
4597
  // Inline function 'kotlin.collections.map' call
4599
4598
  // Inline function 'kotlin.collections.mapTo' call
4600
4599
  var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
@@ -4616,15 +4615,15 @@
4616
4615
  tmp = destination_2;
4617
4616
  } else {
4618
4617
  if (action_0 instanceof StartNewGameMechanicAction) {
4619
- var tmp0_0 = this.ga0_1;
4618
+ var tmp0_0 = this.ea0_1;
4620
4619
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4621
4620
  var table = state.t6n();
4622
- var sendToPlayer_0 = new RoomActionPayload(tmp0_0.fa0_1.c6e(), table.id, null);
4621
+ var sendToPlayer_0 = new RoomActionPayload(tmp0_0.da0_1.c6e(), table.id, null);
4623
4622
  var tmp$ret$21 = mapToClient_16(action_0, sendToPlayer_0);
4624
4623
  tmp = listOfNotNull(tmp$ret$21);
4625
4624
  } else {
4626
4625
  if (action_0 instanceof ContinueGameMechanicAction) {
4627
- var tmp0_1 = this.ga0_1;
4626
+ var tmp0_1 = this.ea0_1;
4628
4627
  var tmp2_0 = action_0.g8v_1.id;
4629
4628
  var tmp4_0 = action_0.gameCreatorPlayerId;
4630
4629
  // Inline function 'kotlin.collections.map' call
@@ -4664,7 +4663,7 @@
4664
4663
  var _iterator__ex2g4s_7 = destination_6.l();
4665
4664
  while (_iterator__ex2g4s_7.m()) {
4666
4665
  var element_2 = _iterator__ex2g4s_7.n();
4667
- var tmp0_aid_0 = tmp0_1.fa0_1.c6e();
4666
+ var tmp0_aid_0 = tmp0_1.da0_1.c6e();
4668
4667
  // Inline function 'kotlin.collections.map' call
4669
4668
  // Inline function 'kotlin.collections.mapTo' call
4670
4669
  var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
@@ -4686,39 +4685,39 @@
4686
4685
  tmp = destination_7;
4687
4686
  } else {
4688
4687
  if (action_0 instanceof FinishingGameMechanicAction) {
4689
- var tmp0_2 = this.ga0_1;
4688
+ var tmp0_2 = this.ea0_1;
4690
4689
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4691
4690
  var table_0 = state.t6n();
4692
- var sendToPlayer_2 = new RoomActionPayload(tmp0_2.fa0_1.c6e(), table_0.id, null);
4691
+ var sendToPlayer_2 = new RoomActionPayload(tmp0_2.da0_1.c6e(), table_0.id, null);
4693
4692
  var tmp$ret$44 = mapToClient_14(action_0, sendToPlayer_2);
4694
4693
  tmp = listOfNotNull(tmp$ret$44);
4695
4694
  } else {
4696
4695
  if (action_0 instanceof FinishGameMechanicAction) {
4697
- var tmp0_3 = this.ga0_1;
4696
+ var tmp0_3 = this.ea0_1;
4698
4697
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4699
4698
  var table_1 = state.t6n();
4700
- var sendToPlayer_3 = new RoomActionPayload(tmp0_3.fa0_1.c6e(), table_1.id, null);
4699
+ var sendToPlayer_3 = new RoomActionPayload(tmp0_3.da0_1.c6e(), table_1.id, null);
4701
4700
  var tmp$ret$46 = mapToClient_13(action_0, sendToPlayer_3);
4702
4701
  tmp = listOfNotNull(tmp$ret$46);
4703
4702
  } else {
4704
4703
  if (action_0 instanceof RestartGameMechanicAction) {
4705
- var tmp0_4 = this.ga0_1;
4704
+ var tmp0_4 = this.ea0_1;
4706
4705
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4707
4706
  var table_2 = state.t6n();
4708
- var sendToPlayer_4 = new RoomActionPayload(tmp0_4.fa0_1.c6e(), table_2.id, null);
4707
+ var sendToPlayer_4 = new RoomActionPayload(tmp0_4.da0_1.c6e(), table_2.id, null);
4709
4708
  var tmp$ret$48 = mapToClient_12(action_0, sendToPlayer_4);
4710
4709
  tmp = listOfNotNull(tmp$ret$48);
4711
4710
  } else {
4712
4711
  if (action_0 instanceof ErrorAction) {
4713
- var tmp0_5 = this.ga0_1;
4712
+ var tmp0_5 = this.ea0_1;
4714
4713
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4715
4714
  var table_3 = state.t6n();
4716
- var sendToPlayer_5 = new RoomActionPayload(tmp0_5.fa0_1.c6e(), table_3.id, null);
4715
+ var sendToPlayer_5 = new RoomActionPayload(tmp0_5.da0_1.c6e(), table_3.id, null);
4717
4716
  var tmp$ret$50 = mapToClient_11(action_0, sendToPlayer_5);
4718
4717
  tmp = listOfNotNull(tmp$ret$50);
4719
4718
  } else {
4720
4719
  if (action_0 instanceof SceneMechanicAction) {
4721
- var tmp0_6 = this.ga0_1;
4720
+ var tmp0_6 = this.ea0_1;
4722
4721
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
4723
4722
  var table_4 = state.t6n();
4724
4723
  var tmp2_1 = table_4.id;
@@ -4751,7 +4750,7 @@
4751
4750
  var _iterator__ex2g4s_11 = destination_10.l();
4752
4751
  while (_iterator__ex2g4s_11.m()) {
4753
4752
  var element_4 = _iterator__ex2g4s_11.n();
4754
- var tmp0_aid_1 = tmp0_6.fa0_1.c6e();
4753
+ var tmp0_aid_1 = tmp0_6.da0_1.c6e();
4755
4754
  // Inline function 'kotlin.collections.map' call
4756
4755
  // Inline function 'kotlin.collections.mapTo' call
4757
4756
  var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
@@ -4773,7 +4772,7 @@
4773
4772
  tmp = destination_11;
4774
4773
  } else {
4775
4774
  if (action_0 instanceof SceneActMechanicAction) {
4776
- var tmp0_7 = this.ga0_1;
4775
+ var tmp0_7 = this.ea0_1;
4777
4776
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
4778
4777
  var table_5 = state.t6n();
4779
4778
  var tmp2_2 = table_5.id;
@@ -4806,7 +4805,7 @@
4806
4805
  var _iterator__ex2g4s_15 = destination_14.l();
4807
4806
  while (_iterator__ex2g4s_15.m()) {
4808
4807
  var element_6 = _iterator__ex2g4s_15.n();
4809
- var tmp0_aid_2 = tmp0_7.fa0_1.c6e();
4808
+ var tmp0_aid_2 = tmp0_7.da0_1.c6e();
4810
4809
  // Inline function 'kotlin.collections.map' call
4811
4810
  // Inline function 'kotlin.collections.mapTo' call
4812
4811
  var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
@@ -4828,7 +4827,7 @@
4828
4827
  tmp = destination_15;
4829
4828
  } else {
4830
4829
  if (action_0 instanceof TeamsDataMechanicAction) {
4831
- var tmp0_8 = this.ga0_1;
4830
+ var tmp0_8 = this.ea0_1;
4832
4831
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
4833
4832
  var table_6 = state.t6n();
4834
4833
  var tmp2_3 = table_6.id;
@@ -4861,7 +4860,7 @@
4861
4860
  var _iterator__ex2g4s_19 = destination_18.l();
4862
4861
  while (_iterator__ex2g4s_19.m()) {
4863
4862
  var element_8 = _iterator__ex2g4s_19.n();
4864
- var tmp0_aid_3 = tmp0_8.fa0_1.c6e();
4863
+ var tmp0_aid_3 = tmp0_8.da0_1.c6e();
4865
4864
  // Inline function 'kotlin.collections.map' call
4866
4865
  // Inline function 'kotlin.collections.mapTo' call
4867
4866
  var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
@@ -4873,7 +4872,7 @@
4873
4872
  }
4874
4873
  var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
4875
4874
  var tmp_0;
4876
- if (this.ga0_1.ea0_1.supportBackwardActions && getPlayer(state.t6n().players, sendToPlayer_8.k7b_1).a6r_1.p6u_1) {
4875
+ if (this.ea0_1.ca0_1.supportBackwardActions && getPlayer(state.t6n().players, sendToPlayer_8.k7b_1).a6r_1.p6u_1) {
4877
4876
  tmp_0 = null;
4878
4877
  } else {
4879
4878
  tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
@@ -4889,72 +4888,72 @@
4889
4888
  tmp = destination_19;
4890
4889
  } else {
4891
4890
  if (action_0 instanceof PlayerReadyMechanicAction) {
4892
- var tmp0_9 = this.ga0_1;
4891
+ var tmp0_9 = this.ea0_1;
4893
4892
  var tmp2_4 = state.t6n();
4894
4893
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4895
- var exceptPlayerId = this.ga0_1.ea0_1.supportBackwardActions ? action_0.b8w_1 : null;
4896
- var sendToPlayer_9 = new RoomActionPayload(tmp0_9.fa0_1.c6e(), tmp2_4.id, exceptPlayerId);
4894
+ var exceptPlayerId = this.ea0_1.ca0_1.supportBackwardActions ? action_0.b8w_1 : null;
4895
+ var sendToPlayer_9 = new RoomActionPayload(tmp0_9.da0_1.c6e(), tmp2_4.id, exceptPlayerId);
4897
4896
  var tmp$ret$109 = mapToClient_7(action_0, sendToPlayer_9);
4898
4897
  tmp = listOfNotNull(tmp$ret$109);
4899
4898
  } else {
4900
4899
  if (action_0 instanceof SuitChoiceMechanicAction) {
4901
- var tmp0_10 = this.ga0_1;
4900
+ var tmp0_10 = this.ea0_1;
4902
4901
  var tmp2_5 = state.t6n();
4903
4902
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4904
- var exceptPlayerId_0 = this.ga0_1.ea0_1.supportBackwardActions ? action_0.d8r_1 : null;
4905
- var sendToPlayer_10 = new RoomActionPayload(tmp0_10.fa0_1.c6e(), tmp2_5.id, exceptPlayerId_0);
4903
+ var exceptPlayerId_0 = this.ea0_1.ca0_1.supportBackwardActions ? action_0.d8r_1 : null;
4904
+ var sendToPlayer_10 = new RoomActionPayload(tmp0_10.da0_1.c6e(), tmp2_5.id, exceptPlayerId_0);
4906
4905
  var tmp$ret$111 = mapToClient_6(action_0, sendToPlayer_10);
4907
4906
  tmp = listOfNotNull(tmp$ret$111);
4908
4907
  } else {
4909
4908
  if (action_0 instanceof TrumpMechanicAction) {
4910
- var tmp0_11 = this.ga0_1;
4909
+ var tmp0_11 = this.ea0_1;
4911
4910
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4912
4911
  var table_7 = state.t6n();
4913
- var sendToPlayer_11 = new RoomActionPayload(tmp0_11.fa0_1.c6e(), table_7.id, null);
4912
+ var sendToPlayer_11 = new RoomActionPayload(tmp0_11.da0_1.c6e(), table_7.id, null);
4914
4913
  var tmp$ret$113 = mapToClient_5(action_0, sendToPlayer_11);
4915
4914
  tmp = listOfNotNull(tmp$ret$113);
4916
4915
  } else {
4917
4916
  if (action_0 instanceof CombinationChoiceMechanicAction) {
4918
- var tmp0_12 = this.ga0_1;
4917
+ var tmp0_12 = this.ea0_1;
4919
4918
  var tmp2_6 = state.t6n();
4920
4919
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4921
- var exceptPlayerId_1 = this.ga0_1.ea0_1.supportBackwardActions ? action_0.h8w_1 : null;
4922
- var sendToPlayer_12 = new RoomActionPayload(tmp0_12.fa0_1.c6e(), tmp2_6.id, exceptPlayerId_1);
4920
+ var exceptPlayerId_1 = this.ea0_1.ca0_1.supportBackwardActions ? action_0.h8w_1 : null;
4921
+ var sendToPlayer_12 = new RoomActionPayload(tmp0_12.da0_1.c6e(), tmp2_6.id, exceptPlayerId_1);
4923
4922
  var tmp$ret$115 = mapToClient_4(action_0, sendToPlayer_12);
4924
4923
  tmp = listOfNotNull(tmp$ret$115);
4925
4924
  } else {
4926
4925
  if (action_0 instanceof PutCardMechanicAction) {
4927
- var tmp0_13 = this.ga0_1;
4926
+ var tmp0_13 = this.ea0_1;
4928
4927
  var tmp2_7 = state.t6n();
4929
4928
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4930
- var exceptPlayerId_2 = this.ga0_1.ea0_1.supportBackwardActions ? action_0.i8r_1 : null;
4931
- var sendToPlayer_13 = new RoomActionPayload(tmp0_13.fa0_1.c6e(), tmp2_7.id, exceptPlayerId_2);
4929
+ var exceptPlayerId_2 = this.ea0_1.ca0_1.supportBackwardActions ? action_0.i8r_1 : null;
4930
+ var sendToPlayer_13 = new RoomActionPayload(tmp0_13.da0_1.c6e(), tmp2_7.id, exceptPlayerId_2);
4932
4931
  var tmp$ret$117 = mapToClient_3(action_0, sendToPlayer_13);
4933
4932
  tmp = listOfNotNull(tmp$ret$117);
4934
4933
  } else {
4935
4934
  if (action_0 instanceof PickUpBribeMechanicAction) {
4936
- var tmp0_14 = this.ga0_1;
4935
+ var tmp0_14 = this.ea0_1;
4937
4936
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4938
4937
  var table_8 = state.t6n();
4939
- var sendToPlayer_14 = new RoomActionPayload(tmp0_14.fa0_1.c6e(), table_8.id, null);
4938
+ var sendToPlayer_14 = new RoomActionPayload(tmp0_14.da0_1.c6e(), table_8.id, null);
4940
4939
  var tmp$ret$119 = mapToClient_2(action_0, sendToPlayer_14);
4941
4940
  tmp = listOfNotNull(tmp$ret$119);
4942
4941
  } else {
4943
4942
  if (action_0 instanceof WinnerCombinationsMechanicAction) {
4944
- var tmp0_15 = this.ga0_1;
4943
+ var tmp0_15 = this.ea0_1;
4945
4944
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4946
4945
  var table_9 = state.t6n();
4947
- var sendToPlayer_15 = new RoomActionPayload(tmp0_15.fa0_1.c6e(), table_9.id, null);
4946
+ var sendToPlayer_15 = new RoomActionPayload(tmp0_15.da0_1.c6e(), table_9.id, null);
4948
4947
  var tmp$ret$121 = mapToClient_1(action_0, sendToPlayer_15);
4949
4948
  tmp = listOfNotNull(tmp$ret$121);
4950
4949
  } else {
4951
4950
  if (action_0 instanceof MessageMechanicAction) {
4952
4951
  var message = action_0.l8w_1;
4953
- var tmp0_16 = this.ga0_1;
4952
+ var tmp0_16 = this.ea0_1;
4954
4953
  var tmp2_8 = state.t6n();
4955
4954
  var tmp_1;
4956
4955
  var tmp_2;
4957
- if (this.ga0_1.ea0_1.supportBackwardActions) {
4956
+ if (this.ea0_1.ca0_1.supportBackwardActions) {
4958
4957
  tmp_2 = isInterface(message, UserMessage);
4959
4958
  } else {
4960
4959
  tmp_2 = false;
@@ -4966,16 +4965,16 @@
4966
4965
  }
4967
4966
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4968
4967
  var exceptPlayerId_3 = tmp_1;
4969
- var sendToPlayer_16 = new RoomActionPayload(tmp0_16.fa0_1.c6e(), tmp2_8.id, exceptPlayerId_3);
4968
+ var sendToPlayer_16 = new RoomActionPayload(tmp0_16.da0_1.c6e(), tmp2_8.id, exceptPlayerId_3);
4970
4969
  var tmp$ret$123 = mapToClient_0(action_0, sendToPlayer_16);
4971
4970
  tmp = listOfNotNull(tmp$ret$123);
4972
4971
  } else {
4973
4972
  if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
4974
- var tmp0_17 = this.ga0_1;
4973
+ var tmp0_17 = this.ea0_1;
4975
4974
  var tmp2_9 = state.t6n();
4976
4975
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4977
4976
  var exceptPlayerId_4 = action_0.playerId;
4978
- var sendToPlayer_17 = new RoomActionPayload(tmp0_17.fa0_1.c6e(), tmp2_9.id, exceptPlayerId_4);
4977
+ var sendToPlayer_17 = new RoomActionPayload(tmp0_17.da0_1.c6e(), tmp2_9.id, exceptPlayerId_4);
4979
4978
  var tmp$ret$125 = mapToClient(action_0, sendToPlayer_17);
4980
4979
  tmp = listOfNotNull(tmp$ret$125);
4981
4980
  } else {
@@ -5012,8 +5011,8 @@
5012
5011
  return this.p6h(store, next, action);
5013
5012
  };
5014
5013
  function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
5015
- this.ea0_1 = logicConfig;
5016
- this.fa0_1 = idsProvider;
5014
+ this.ca0_1 = logicConfig;
5015
+ this.da0_1 = idsProvider;
5017
5016
  }
5018
5017
  protoOf(ServerMapMechanicToClientActionMiddleware).v90 = function () {
5019
5018
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
@@ -5024,8 +5023,8 @@
5024
5023
  return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
5025
5024
  }
5026
5025
  function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
5027
- this.pa0_1 = $provider;
5028
- this.qa0_1 = $action;
5026
+ this.na0_1 = $provider;
5027
+ this.oa0_1 = $action;
5029
5028
  CoroutineImpl.call(this, resultContinuation);
5030
5029
  }
5031
5030
  protoOf(sendToClientActionMiddleware$o$handle$slambda).b2d = function ($this$launchDefault, $completion) {
@@ -5046,7 +5045,7 @@
5046
5045
  case 0:
5047
5046
  this.s8_1 = 2;
5048
5047
  this.r8_1 = 1;
5049
- suspendResult = this.pa0_1.c9x(this.qa0_1, this);
5048
+ suspendResult = this.na0_1.a9x(this.oa0_1, this);
5050
5049
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
5051
5050
  return suspendResult;
5052
5051
  }
@@ -5069,8 +5068,8 @@
5069
5068
  while (true);
5070
5069
  };
5071
5070
  protoOf(sendToClientActionMiddleware$o$handle$slambda).c2d = function ($this$launchDefault, completion) {
5072
- var i = new sendToClientActionMiddleware$o$handle$slambda(this.pa0_1, this.qa0_1, completion);
5073
- i.ra0_1 = $this$launchDefault;
5071
+ var i = new sendToClientActionMiddleware$o$handle$slambda(this.na0_1, this.oa0_1, completion);
5072
+ i.pa0_1 = $this$launchDefault;
5074
5073
  return i;
5075
5074
  };
5076
5075
  function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
@@ -5082,15 +5081,15 @@
5082
5081
  return l;
5083
5082
  }
5084
5083
  function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
5085
- this.sa0_1 = $asyncProvider;
5086
- this.ta0_1 = $provider;
5084
+ this.qa0_1 = $asyncProvider;
5085
+ this.ra0_1 = $provider;
5087
5086
  }
5088
5087
  protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).a6g = function (action) {
5089
5088
  return action instanceof ToClientAction;
5090
5089
  };
5091
5090
  protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).p6h = function (store, next, action) {
5092
5091
  var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
5093
- this.sa0_1.h6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.ta0_1, action_0, null));
5092
+ this.qa0_1.h6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.ra0_1, action_0, null));
5094
5093
  next(action_0);
5095
5094
  };
5096
5095
  protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).z6f = function (store, next, action) {
@@ -5107,13 +5106,17 @@
5107
5106
  };
5108
5107
  protoOf(serverConfigReducer$$inlined$reducerForActionType$1).o99 = function (state, action) {
5109
5108
  var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
5110
- return state.b8u(VOID, get_serverStatePayload_0(state).copy(action_0.i9z_1));
5109
+ return state.b8u(VOID, get_serverStatePayload_0(state).copy(action_0.g9z_1));
5111
5110
  };
5112
5111
  protoOf(serverConfigReducer$$inlined$reducerForActionType$1).q6h = function (state, action) {
5113
5112
  return this.o99((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
5114
5113
  };
5114
+ function addRoomMetadata($this, _this__u8e3s4, gameId) {
5115
+ _this__u8e3s4.metadata.addGame(gameId, new GameMetadata(gameId));
5116
+ return _this__u8e3s4.metadata;
5117
+ }
5115
5118
  function Companion_5() {
5116
- this.ua0_1 = 'ServerMechanicLifecycleReducer';
5119
+ this.sa0_1 = 'ServerMechanicLifecycleReducer';
5117
5120
  }
5118
5121
  var Companion_instance_13;
5119
5122
  function Companion_getInstance_6() {
@@ -5139,54 +5142,54 @@
5139
5142
  }
5140
5143
  function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
5141
5144
  BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
5142
- this.xa0_1 = logger;
5145
+ this.va0_1 = logger;
5143
5146
  }
5144
5147
  protoOf(ServerMechanicLifecycleReducer).a9b = function (state, action) {
5145
- this.xa0_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance), action);
5148
+ this.va0_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance), action);
5146
5149
  var serverState = get_serverStatePayloadOrNull(state.payload);
5147
- var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
5150
+ var tableId = action.a8v_1;
5151
+ var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
5148
5152
  var tmp0_$this = this.b9b_1;
5149
- var tmp1_tableId = action.a8v_1;
5150
- var tmp2_gameId = action.a8v_1;
5151
- var tmp3_version = action.b8v_1;
5152
- var tmp4_config = action.z8u_1;
5153
- var tmp5_users = action.d8v_1;
5154
- var tmp6_spectators = action.spectators;
5155
- var tmp7_gameCreatorPlayerId = action.c8v_1;
5156
- var tmp9_tableOrNull = tmp0_$this.h9c(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
5153
+ var tmp1_version = action.b8v_1;
5154
+ var tmp2_config = action.z8u_1;
5155
+ var tmp3_users = action.d8v_1;
5156
+ var tmp4_spectators = action.spectators;
5157
+ var tmp5_gameCreatorPlayerId = action.c8v_1;
5158
+ var tmp7_tableOrNull = tmp0_$this.h9c(tableId, tableId, tmp2_config, tmp1_version, tmp3_users, tmp4_spectators, tmp5_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
5157
5159
  var tmp;
5158
5160
  if (serverState == null) {
5159
- this.xa0_1.w(VOID, 'ServerPayload is not onStart');
5160
- tmp = Companion_instance_14.initial();
5161
+ this.va0_1.w(VOID, 'ServerPayload is not onStart');
5162
+ tmp = Companion_instance_14.initial(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), tableId));
5161
5163
  } else {
5162
- tmp = serverState;
5164
+ tmp = serverState.copy(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), tableId));
5163
5165
  }
5164
- var tmp10_payload = tmp;
5165
- return state.b8u(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
5166
+ var tmp8_payload = tmp;
5167
+ return state.b8u(tmp7_tableOrNull, tmp8_payload, tmp6_gameLifecycleState);
5166
5168
  };
5167
5169
  protoOf(ServerMechanicLifecycleReducer).y9a = function (state, action) {
5168
- this.xa0_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
5170
+ this.va0_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
5169
5171
  var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
5170
5172
  var tmp2_tableOrNull = action.g8v_1;
5171
5173
  var tmp = Companion_instance_14;
5172
5174
  var tmp_0 = get_serverStatePayload_0(state).config;
5173
5175
  var tmp_1 = action.h8v_1;
5174
5176
  var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
5175
- var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f65_1));
5177
+ var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f65_1), addRoomMetadata(this, get_serverStatePayload_0(state), action.g8v_1.gameId));
5176
5178
  return state.b8u(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
5177
5179
  };
5178
5180
  protoOf(ServerMechanicLifecycleReducer).z9a = function (state, action) {
5179
5181
  this.c9b_1.n58(action.previousGameId);
5180
5182
  var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
5181
5183
  var tmp1_tableOrNull = this.b9b_1.i9c(state.t6n(), action.gameId);
5182
- return state.b8u(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
5184
+ var tmp2_payload = get_serverStatePayload_0(state).copy(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), action.gameId));
5185
+ return state.b8u(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState);
5183
5186
  };
5184
5187
  function spectatorsReducer(logger) {
5185
5188
  // Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
5186
5189
  return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
5187
5190
  }
5188
5191
  function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
5189
- this.ya0_1 = $logger;
5192
+ this.wa0_1 = $logger;
5190
5193
  }
5191
5194
  protoOf(spectatorsReducer$$inlined$reducerForActionType$1).a6g = function (action) {
5192
5195
  return isInterface(action, SpectatorsAction);
@@ -5197,7 +5200,7 @@
5197
5200
  var tmp;
5198
5201
  if (action_0 instanceof AddSpectatorsAction) {
5199
5202
  // Inline function 'kotlin.collections.mapNotNull' call
5200
- var tmp0 = action_0.j9z_1;
5203
+ var tmp0 = action_0.h9z_1;
5201
5204
  // Inline function 'kotlin.collections.mapNotNullTo' call
5202
5205
  var destination = ArrayList_init_$Create$_0();
5203
5206
  // Inline function 'kotlin.collections.forEach' call
@@ -5216,9 +5219,9 @@
5216
5219
  var tmp_0;
5217
5220
  // Inline function 'kotlin.collections.isNotEmpty' call
5218
5221
  if (!sameSpectators.r()) {
5219
- this.ya0_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
5222
+ this.wa0_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
5220
5223
  // Inline function 'kotlin.collections.filterNot' call
5221
- var tmp0_0 = action_0.j9z_1;
5224
+ var tmp0_0 = action_0.h9z_1;
5222
5225
  // Inline function 'kotlin.collections.filterNotTo' call
5223
5226
  var destination_0 = ArrayList_init_$Create$_0();
5224
5227
  var _iterator__ex2g4s_0 = tmp0_0.l();
@@ -5253,7 +5256,7 @@
5253
5256
  }
5254
5257
  tmp_0 = destination_0;
5255
5258
  } else {
5256
- tmp_0 = action_0.j9z_1;
5259
+ tmp_0 = action_0.h9z_1;
5257
5260
  }
5258
5261
  // Inline function 'kotlin.collections.map' call
5259
5262
  var this_0 = tmp_0;
@@ -5270,7 +5273,7 @@
5270
5273
  } else {
5271
5274
  if (action_0 instanceof RemoveSpectatorsAction) {
5272
5275
  // Inline function 'kotlin.collections.mapNotNull' call
5273
- var tmp0_1 = action_0.k9z_1;
5276
+ var tmp0_1 = action_0.i9z_1;
5274
5277
  // Inline function 'kotlin.collections.mapNotNullTo' call
5275
5278
  var destination_2 = ArrayList_init_$Create$_0();
5276
5279
  // Inline function 'kotlin.collections.forEach' call
@@ -5289,9 +5292,9 @@
5289
5292
  var tmp_2;
5290
5293
  // Inline function 'kotlin.collections.isNotEmpty' call
5291
5294
  if (!sameSpectators_0.r()) {
5292
- this.ya0_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
5295
+ this.wa0_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
5293
5296
  // Inline function 'kotlin.collections.filterNot' call
5294
- var tmp0_2 = action_0.k9z_1;
5297
+ var tmp0_2 = action_0.i9z_1;
5295
5298
  // Inline function 'kotlin.collections.filterNotTo' call
5296
5299
  var destination_3 = ArrayList_init_$Create$_0();
5297
5300
  var _iterator__ex2g4s_4 = tmp0_2.l();
@@ -5326,7 +5329,7 @@
5326
5329
  }
5327
5330
  tmp_2 = destination_3;
5328
5331
  } else {
5329
- tmp_2 = action_0.k9z_1;
5332
+ tmp_2 = action_0.i9z_1;
5330
5333
  }
5331
5334
  var spectatorsToRemove = toSet(tmp_2);
5332
5335
  // Inline function 'kotlin.collections.filterNot' call
@@ -5375,38 +5378,49 @@
5375
5378
  };
5376
5379
  function Companion_6() {
5377
5380
  }
5378
- protoOf(Companion_6).za0 = function (config) {
5379
- return new ServerStatePayload(config);
5381
+ protoOf(Companion_6).xa0 = function (config, metadata) {
5382
+ return new ServerStatePayload(config, metadata);
5380
5383
  };
5381
- protoOf(Companion_6).initial = function (config, $super) {
5384
+ protoOf(Companion_6).initial = function (config, metadata, $super) {
5382
5385
  config = config === VOID ? Companion_instance_8.initial(null) : config;
5383
- return $super === VOID ? this.za0(config) : $super.za0.call(this, config);
5386
+ metadata = metadata === VOID ? new RoomMetadata() : metadata;
5387
+ return $super === VOID ? this.xa0(config, metadata) : $super.xa0.call(this, config, metadata);
5384
5388
  };
5385
5389
  var Companion_instance_14;
5386
5390
  function Companion_getInstance_7() {
5387
5391
  return Companion_instance_14;
5388
5392
  }
5389
- function ServerStatePayload(config) {
5393
+ function ServerStatePayload(config, metadata) {
5390
5394
  this.config = config;
5395
+ this.metadata = metadata;
5391
5396
  }
5392
5397
  protoOf(ServerStatePayload).z3s = function () {
5393
5398
  return this.config;
5394
5399
  };
5400
+ protoOf(ServerStatePayload).v8e = function () {
5401
+ return this.metadata;
5402
+ };
5395
5403
  protoOf(ServerStatePayload).ne = function () {
5396
5404
  return this.config;
5397
5405
  };
5398
- protoOf(ServerStatePayload).aa1 = function (config) {
5399
- return new ServerStatePayload(config);
5406
+ protoOf(ServerStatePayload).oe = function () {
5407
+ return this.metadata;
5408
+ };
5409
+ protoOf(ServerStatePayload).ya0 = function (config, metadata) {
5410
+ return new ServerStatePayload(config, metadata);
5400
5411
  };
5401
- protoOf(ServerStatePayload).copy = function (config, $super) {
5412
+ protoOf(ServerStatePayload).copy = function (config, metadata, $super) {
5402
5413
  config = config === VOID ? this.config : config;
5403
- return $super === VOID ? this.aa1(config) : $super.aa1.call(this, config);
5414
+ metadata = metadata === VOID ? this.metadata : metadata;
5415
+ return $super === VOID ? this.ya0(config, metadata) : $super.ya0.call(this, config, metadata);
5404
5416
  };
5405
5417
  protoOf(ServerStatePayload).toString = function () {
5406
- return 'ServerStatePayload(config=' + this.config.toString() + ')';
5418
+ return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString(this.metadata) + ')';
5407
5419
  };
5408
5420
  protoOf(ServerStatePayload).hashCode = function () {
5409
- return this.config.hashCode();
5421
+ var result = this.config.hashCode();
5422
+ result = imul(result, 31) + hashCode(this.metadata) | 0;
5423
+ return result;
5410
5424
  };
5411
5425
  protoOf(ServerStatePayload).equals = function (other) {
5412
5426
  if (this === other)
@@ -5415,6 +5429,8 @@
5415
5429
  return false;
5416
5430
  if (!this.config.equals(other.config))
5417
5431
  return false;
5432
+ if (!equals(this.metadata, other.metadata))
5433
+ return false;
5418
5434
  return true;
5419
5435
  };
5420
5436
  function get_serverStatePayload(_this__u8e3s4) {
@@ -5461,14 +5477,14 @@
5461
5477
  return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
5462
5478
  }
5463
5479
  function _get_logger__rkp4sl_0($this) {
5464
- var tmp0 = $this.ka1_1;
5480
+ var tmp0 = $this.ia1_1;
5465
5481
  var tmp = KProperty1;
5466
5482
  // Inline function 'kotlin.getValue' call
5467
5483
  getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
5468
5484
  return tmp0.w();
5469
5485
  }
5470
5486
  function _get_di__ndbzja($this) {
5471
- var tmp0 = $this.la1_1;
5487
+ var tmp0 = $this.ja1_1;
5472
5488
  var tmp = KProperty1;
5473
5489
  // Inline function 'kotlin.getValue' call
5474
5490
  getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
@@ -5485,8 +5501,8 @@
5485
5501
  }
5486
5502
  function createCallbackOutput($this, gameServer) {
5487
5503
  var tmp;
5488
- if (!($this.ia1_1 == null)) {
5489
- var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.ia1_1);
5504
+ if (!($this.ga1_1 == null)) {
5505
+ var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.ga1_1);
5490
5506
  tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
5491
5507
  } else {
5492
5508
  tmp = null;
@@ -5500,11 +5516,11 @@
5500
5516
  function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
5501
5517
  return function () {
5502
5518
  var tmp;
5503
- if (this$0.ia1_1 == null) {
5519
+ if (this$0.ga1_1 == null) {
5504
5520
  tmp = null;
5505
5521
  } else {
5506
5522
  // Inline function 'kotlin.let' call
5507
- tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.ia1_1)]));
5523
+ tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.ga1_1)]));
5508
5524
  }
5509
5525
  var tmp1_elvis_lhs = tmp;
5510
5526
  return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
@@ -5537,7 +5553,7 @@
5537
5553
  tmp_0.z62(tmp$ret$3);
5538
5554
  $this$DI.d5z(jsonModule());
5539
5555
  $this$DI.d5z(serverHelpersModule());
5540
- $this$DI.d5z(randomOrgModule(this$0.ja1_1));
5556
+ $this$DI.d5z(randomOrgModule(this$0.ha1_1));
5541
5557
  return Unit_instance;
5542
5558
  };
5543
5559
  }
@@ -5613,13 +5629,13 @@
5613
5629
  };
5614
5630
  }
5615
5631
  function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
5616
- this.sa1_1 = $reducer;
5632
+ this.qa1_1 = $reducer;
5617
5633
  }
5618
5634
  protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).a6g = function (action) {
5619
5635
  return isInterface(action, Action);
5620
5636
  };
5621
5637
  protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).o99 = function (state, action) {
5622
- return this.sa1_1(state, isInterface(action, Action) ? action : THROW_CCE());
5638
+ return this.qa1_1(state, isInterface(action, Action) ? action : THROW_CCE());
5623
5639
  };
5624
5640
  protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).q6h = function (state, action) {
5625
5641
  return this.o99((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
@@ -5723,7 +5739,7 @@
5723
5739
  // Inline function 'kotlin.let' call
5724
5740
  $this$DI.d5z(tmp0_safe_receiver);
5725
5741
  }
5726
- $this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.ja1_1));
5742
+ $this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.ha1_1));
5727
5743
  $this$DI.d5z(coreModule($coreConfig));
5728
5744
  $this$DI.d5z(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
5729
5745
  return Unit_instance;
@@ -5732,13 +5748,13 @@
5732
5748
  function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
5733
5749
  loggerCallback = loggerCallback === VOID ? null : loggerCallback;
5734
5750
  production = production === VOID ? true : production;
5735
- this.ia1_1 = loggerCallback;
5736
- this.ja1_1 = randomOrgConfig;
5751
+ this.ga1_1 = loggerCallback;
5752
+ this.ha1_1 = randomOrgConfig;
5737
5753
  AppEnvironment_getInstance().x6l(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
5738
5754
  var tmp = this;
5739
- tmp.ka1_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
5755
+ tmp.ia1_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
5740
5756
  var tmp_0 = this;
5741
- tmp_0.la1_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
5757
+ tmp_0.ja1_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
5742
5758
  var tmp_1 = this;
5743
5759
  // Inline function 'org.kodein.di.instance' call
5744
5760
  var this_0 = _get_di__ndbzja(this);
@@ -5747,7 +5763,7 @@
5747
5763
  var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
5748
5764
  var tmp_3 = Instance(this_0, tmp$ret$0, null);
5749
5765
  var tmp_4 = KProperty1;
5750
- tmp_1.ma1_1 = tmp_3.w64(this, getPropertyCallableRef('parser', 1, tmp_4, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
5766
+ tmp_1.ka1_1 = tmp_3.w64(this, getPropertyCallableRef('parser', 1, tmp_4, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
5751
5767
  var tmp_5 = this;
5752
5768
  // Inline function 'org.kodein.di.instance' call
5753
5769
  var this_1 = _get_di__ndbzja(this);
@@ -5756,7 +5772,7 @@
5756
5772
  var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
5757
5773
  var tmp_7 = Instance(this_1, tmp$ret$2, null);
5758
5774
  var tmp_8 = KProperty1;
5759
- tmp_5.na1_1 = tmp_7.w64(this, getPropertyCallableRef('helper', 1, tmp_8, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
5775
+ tmp_5.la1_1 = tmp_7.w64(this, getPropertyCallableRef('helper', 1, tmp_8, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
5760
5776
  var tmp_9 = this;
5761
5777
  // Inline function 'org.kodein.di.instance' call
5762
5778
  var this_2 = _get_di__ndbzja(this);
@@ -5765,7 +5781,7 @@
5765
5781
  var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
5766
5782
  var tmp_11 = Instance(this_2, tmp$ret$4, null);
5767
5783
  var tmp_12 = KProperty1;
5768
- tmp_9.oa1_1 = tmp_11.w64(this, getPropertyCallableRef('serverHelper', 1, tmp_12, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
5784
+ tmp_9.ma1_1 = tmp_11.w64(this, getPropertyCallableRef('serverHelper', 1, tmp_12, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
5769
5785
  var tmp_13 = this;
5770
5786
  // Inline function 'org.kodein.di.instance' call
5771
5787
  var this_3 = _get_di__ndbzja(this);
@@ -5774,7 +5790,7 @@
5774
5790
  var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
5775
5791
  var tmp_15 = Instance(this_3, tmp$ret$6, null);
5776
5792
  var tmp_16 = KProperty1;
5777
- tmp_13.pa1_1 = tmp_15.w64(this, getPropertyCallableRef('resources', 1, tmp_16, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
5793
+ tmp_13.na1_1 = tmp_15.w64(this, getPropertyCallableRef('resources', 1, tmp_16, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
5778
5794
  var tmp_17 = this;
5779
5795
  // Inline function 'org.kodein.di.instance' call
5780
5796
  var this_4 = _get_di__ndbzja(this);
@@ -5783,7 +5799,7 @@
5783
5799
  var tmp$ret$8 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
5784
5800
  var tmp_19 = Instance(this_4, tmp$ret$8, null);
5785
5801
  var tmp_20 = KProperty1;
5786
- tmp_17.qa1_1 = tmp_19.w64(this, getPropertyCallableRef('test', 1, tmp_20, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
5802
+ tmp_17.oa1_1 = tmp_19.w64(this, getPropertyCallableRef('test', 1, tmp_20, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
5787
5803
  var tmp_21 = this;
5788
5804
  // Inline function 'org.kodein.di.instance' call
5789
5805
  var this_5 = _get_di__ndbzja(this);
@@ -5792,45 +5808,45 @@
5792
5808
  var tmp$ret$10 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
5793
5809
  var tmp_23 = Instance(this_5, tmp$ret$10, null);
5794
5810
  var tmp_24 = KProperty1;
5795
- tmp_21.ra1_1 = tmp_23.w64(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_24, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
5811
+ tmp_21.pa1_1 = tmp_23.w64(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_24, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
5796
5812
  }
5797
- protoOf(GameServerEngineControllerImpl).ba1 = function () {
5798
- var tmp0 = this.ma1_1;
5813
+ protoOf(GameServerEngineControllerImpl).za0 = function () {
5814
+ var tmp0 = this.ka1_1;
5799
5815
  var tmp = KProperty1;
5800
5816
  // Inline function 'kotlin.getValue' call
5801
5817
  getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
5802
5818
  return tmp0.w();
5803
5819
  };
5804
- protoOf(GameServerEngineControllerImpl).da1 = function () {
5805
- var tmp0 = this.na1_1;
5820
+ protoOf(GameServerEngineControllerImpl).ba1 = function () {
5821
+ var tmp0 = this.la1_1;
5806
5822
  var tmp = KProperty1;
5807
5823
  // Inline function 'kotlin.getValue' call
5808
5824
  getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
5809
5825
  return tmp0.w();
5810
5826
  };
5811
- protoOf(GameServerEngineControllerImpl).ea1 = function () {
5812
- var tmp0 = this.oa1_1;
5827
+ protoOf(GameServerEngineControllerImpl).ca1 = function () {
5828
+ var tmp0 = this.ma1_1;
5813
5829
  var tmp = KProperty1;
5814
5830
  // Inline function 'kotlin.getValue' call
5815
5831
  getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
5816
5832
  return tmp0.w();
5817
5833
  };
5818
- protoOf(GameServerEngineControllerImpl).fa1 = function () {
5819
- var tmp0 = this.pa1_1;
5834
+ protoOf(GameServerEngineControllerImpl).da1 = function () {
5835
+ var tmp0 = this.na1_1;
5820
5836
  var tmp = KProperty1;
5821
5837
  // Inline function 'kotlin.getValue' call
5822
5838
  getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
5823
5839
  return tmp0.w();
5824
5840
  };
5825
- protoOf(GameServerEngineControllerImpl).ca1 = function () {
5826
- var tmp0 = this.qa1_1;
5841
+ protoOf(GameServerEngineControllerImpl).aa1 = function () {
5842
+ var tmp0 = this.oa1_1;
5827
5843
  var tmp = KProperty1;
5828
5844
  // Inline function 'kotlin.getValue' call
5829
5845
  getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
5830
5846
  return tmp0.w();
5831
5847
  };
5832
- protoOf(GameServerEngineControllerImpl).ga1 = function () {
5833
- var tmp0 = this.ra1_1;
5848
+ protoOf(GameServerEngineControllerImpl).ea1 = function () {
5849
+ var tmp0 = this.pa1_1;
5834
5850
  var tmp = KProperty1;
5835
5851
  // Inline function 'kotlin.getValue' call
5836
5852
  getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
@@ -5842,7 +5858,7 @@
5842
5858
  protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
5843
5859
  return this.createGameEngineWithLogic();
5844
5860
  };
5845
- protoOf(GameServerEngineControllerImpl).ha1 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) {
5861
+ protoOf(GameServerEngineControllerImpl).fa1 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) {
5846
5862
  var combinedLogger = Companion_instance_6.mx();
5847
5863
  var gameServer = {_v: null};
5848
5864
  var tmp0_botConfig = new EngineBotConfig(VOID, VOID, VOID, false);
@@ -5891,7 +5907,7 @@
5891
5907
  function TestHelper() {
5892
5908
  }
5893
5909
  function _get_playerAnswerInteractor__msggz1($this) {
5894
- var tmp0 = $this.va1_1;
5910
+ var tmp0 = $this.ta1_1;
5895
5911
  var tmp = KProperty1;
5896
5912
  // Inline function 'kotlin.getValue' call
5897
5913
  getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
@@ -5899,7 +5915,7 @@
5899
5915
  }
5900
5916
  function TestHelperImpl$di$lambda$lambda(this$0) {
5901
5917
  return function ($this$singleton) {
5902
- return this$0.ta1_1;
5918
+ return this$0.ra1_1;
5903
5919
  };
5904
5920
  }
5905
5921
  function TestHelperImpl$di$lambda(this$0) {
@@ -5938,19 +5954,19 @@
5938
5954
  return emptyMap();
5939
5955
  }
5940
5956
  function TestHelperImpl(logger) {
5941
- this.ta1_1 = logger;
5957
+ this.ra1_1 = logger;
5942
5958
  var tmp = this;
5943
5959
  var tmp_0 = Companion_instance_4;
5944
- tmp.ua1_1 = tmp_0.k5z(VOID, TestHelperImpl$di$lambda(this));
5960
+ tmp.sa1_1 = tmp_0.k5z(VOID, TestHelperImpl$di$lambda(this));
5945
5961
  var tmp_1 = this;
5946
5962
  // Inline function 'org.kodein.di.instance' call
5947
- var this_0 = this.ua1_1;
5963
+ var this_0 = this.sa1_1;
5948
5964
  // Inline function 'org.kodein.type.generic' call
5949
5965
  var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
5950
5966
  var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
5951
5967
  var tmp_3 = Instance(this_0, tmp$ret$0, null);
5952
5968
  var tmp_4 = KProperty1;
5953
- tmp_1.va1_1 = tmp_3.w64(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
5969
+ tmp_1.ta1_1 = tmp_3.w64(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
5954
5970
  }
5955
5971
  protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
5956
5972
  return _get_playerAnswerInteractor__msggz1(this).l8k(playerId, table, botConfig);
@@ -6020,6 +6036,43 @@
6020
6036
  }
6021
6037
  return null;
6022
6038
  };
6039
+ function RoomMetadata() {
6040
+ var tmp = this;
6041
+ // Inline function 'kotlin.collections.mutableMapOf' call
6042
+ tmp.ua1_1 = LinkedHashMap_init_$Create$();
6043
+ this.extras = {};
6044
+ this.extras = this.ua1_1;
6045
+ }
6046
+ protoOf(RoomMetadata).va1 = function () {
6047
+ return this.extras;
6048
+ };
6049
+ protoOf(RoomMetadata).va1 = function () {
6050
+ return this.extras;
6051
+ };
6052
+ protoOf(RoomMetadata).getGame = function (gameId) {
6053
+ var tmp0_elvis_lhs = this.extras.b2(gameId);
6054
+ var tmp;
6055
+ if (tmp0_elvis_lhs == null) {
6056
+ throw IllegalStateException_init_$Create$('RoomMetadata: game ' + gameId + ' not exists');
6057
+ } else {
6058
+ tmp = tmp0_elvis_lhs;
6059
+ }
6060
+ return tmp;
6061
+ };
6062
+ protoOf(RoomMetadata).addGame = function (gameId, game) {
6063
+ // Inline function 'kotlin.collections.set' call
6064
+ this.ua1_1.e2(gameId, game);
6065
+ };
6066
+ function GameMetadata(gameId) {
6067
+ this.gameId = gameId;
6068
+ this.extras = {};
6069
+ }
6070
+ protoOf(GameMetadata).c54 = function () {
6071
+ return this.gameId;
6072
+ };
6073
+ protoOf(GameMetadata).va1 = function () {
6074
+ return this.extras;
6075
+ };
6023
6076
  function serverHelpersModule() {
6024
6077
  return Module_init_$Create$('Server helpers Module', VOID, VOID, serverHelpersModule$lambda);
6025
6078
  }
@@ -6079,8 +6132,6 @@
6079
6132
  protoOf(GameServer).shutdown = shutdown;
6080
6133
  defineProp(protoOf(GameServer), 'metadata', function () {
6081
6134
  return this.v8e();
6082
- }, function (value) {
6083
- this.l9w(value);
6084
6135
  });
6085
6136
  defineProp(protoOf(GameServer), 'id', function () {
6086
6137
  return this.y53();
@@ -6122,22 +6173,22 @@
6122
6173
  });
6123
6174
  protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
6124
6175
  defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
6125
- return this.ba1();
6176
+ return this.za0();
6126
6177
  });
6127
6178
  defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
6128
- return this.da1();
6179
+ return this.ba1();
6129
6180
  });
6130
6181
  defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
6131
- return this.ea1();
6182
+ return this.ca1();
6132
6183
  });
6133
6184
  defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
6134
- return this.fa1();
6185
+ return this.da1();
6135
6186
  });
6136
6187
  defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
6137
- return this.ca1();
6188
+ return this.aa1();
6138
6189
  });
6139
6190
  defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
6140
- return this.ga1();
6191
+ return this.ea1();
6141
6192
  });
6142
6193
  //endregion
6143
6194
  //region block: init
@@ -6196,6 +6247,14 @@
6196
6247
  $games$jass$logic$server$redux$state.ServerStatePayload = ServerStatePayload;
6197
6248
  defineProp($games$jass$logic$server$redux$state.ServerStatePayload, 'Companion', Companion_getInstance_7, VOID, true);
6198
6249
  _.createGameServerController = createGameServerController;
6250
+ var $games = _.games || (_.games = {});
6251
+ var $games$jass = $games.jass || ($games.jass = {});
6252
+ var $games$jass$logic = $games$jass.logic || ($games$jass.logic = {});
6253
+ var $games$jass$logic$server = $games$jass$logic.server || ($games$jass$logic.server = {});
6254
+ var $games$jass$logic$server$data = $games$jass$logic$server.data || ($games$jass$logic$server.data = {});
6255
+ var $games$jass$logic$server$data$models = $games$jass$logic$server$data.models || ($games$jass$logic$server$data.models = {});
6256
+ $games$jass$logic$server$data$models.RoomMetadata = RoomMetadata;
6257
+ $games$jass$logic$server$data$models.GameMetadata = GameMetadata;
6199
6258
  }
6200
6259
  $jsExportAll$(_);
6201
6260
  kotlin_kotlin.$jsExportAll$(_);