game_client_logic_deb 1.8.305 → 1.8.310

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.
@@ -1,8 +1,8 @@
1
1
  (function (factory) {
2
2
  if (typeof define === 'function' && define.amd)
3
- define(['exports', './kotlin-kotlin-stdlib.js', './kotlinx-serialization-kotlinx-serialization-core.js', './kotlinx-serialization-kotlinx-serialization-json.js', './ktor-ktor-client-core.js', './ktor-ktor-utils.js', './ktor-ktor-http.js', './kotlinx-coroutines-core.js', './uuid.js', './Kotlin-DateTime-library-kotlinx-datetime.js', './ktor-ktor-client-logging.js', './ktor-ktor-serialization-kotlinx-json.js', './ktor-ktor-client-content-negotiation.js', './secure-random-secure-random.js', './raspberry-cardgame-lib-logger.js'], factory);
3
+ define(['exports', './kotlin-kotlin-stdlib.js', './kotlinx-serialization-kotlinx-serialization-core.js', './kotlinx-serialization-kotlinx-serialization-json.js', './ktor-ktor-client-core.js', './ktor-ktor-utils.js', './ktor-ktor-http.js', './Kotlin-DateTime-library-kotlinx-datetime.js', './kotlinx-coroutines-core.js', './uuid.js', './ktor-ktor-client-logging.js', './ktor-ktor-serialization-kotlinx-json.js', './ktor-ktor-client-content-negotiation.js', './secure-random-secure-random.js', './raspberry-cardgame-lib-logger.js'], factory);
4
4
  else if (typeof exports === 'object')
5
- factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js'), require('./kotlinx-serialization-kotlinx-serialization-json.js'), require('./ktor-ktor-client-core.js'), require('./ktor-ktor-utils.js'), require('./ktor-ktor-http.js'), require('./kotlinx-coroutines-core.js'), require('./uuid.js'), require('./Kotlin-DateTime-library-kotlinx-datetime.js'), require('./ktor-ktor-client-logging.js'), require('./ktor-ktor-serialization-kotlinx-json.js'), require('./ktor-ktor-client-content-negotiation.js'), require('./secure-random-secure-random.js'), require('./raspberry-cardgame-lib-logger.js'));
5
+ factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js'), require('./kotlinx-serialization-kotlinx-serialization-json.js'), require('./ktor-ktor-client-core.js'), require('./ktor-ktor-utils.js'), require('./ktor-ktor-http.js'), require('./Kotlin-DateTime-library-kotlinx-datetime.js'), require('./kotlinx-coroutines-core.js'), require('./uuid.js'), require('./ktor-ktor-client-logging.js'), require('./ktor-ktor-serialization-kotlinx-json.js'), require('./ktor-ktor-client-content-negotiation.js'), require('./secure-random-secure-random.js'), require('./raspberry-cardgame-lib-logger.js'));
6
6
  else {
7
7
  if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
8
8
  throw new Error("Error loading module 'raspberry-cardgame-lib-random'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'raspberry-cardgame-lib-random'.");
@@ -22,15 +22,15 @@
22
22
  if (typeof globalThis['ktor-ktor-http'] === 'undefined') {
23
23
  throw new Error("Error loading module 'raspberry-cardgame-lib-random'. Its dependency 'ktor-ktor-http' was not found. Please, check whether 'ktor-ktor-http' is loaded prior to 'raspberry-cardgame-lib-random'.");
24
24
  }
25
+ if (typeof globalThis['Kotlin-DateTime-library-kotlinx-datetime'] === 'undefined') {
26
+ throw new Error("Error loading module 'raspberry-cardgame-lib-random'. Its dependency 'Kotlin-DateTime-library-kotlinx-datetime' was not found. Please, check whether 'Kotlin-DateTime-library-kotlinx-datetime' is loaded prior to 'raspberry-cardgame-lib-random'.");
27
+ }
25
28
  if (typeof globalThis['kotlinx-coroutines-core'] === 'undefined') {
26
29
  throw new Error("Error loading module 'raspberry-cardgame-lib-random'. Its dependency 'kotlinx-coroutines-core' was not found. Please, check whether 'kotlinx-coroutines-core' is loaded prior to 'raspberry-cardgame-lib-random'.");
27
30
  }
28
31
  if (typeof uuid === 'undefined') {
29
32
  throw new Error("Error loading module 'raspberry-cardgame-lib-random'. Its dependency 'uuid' was not found. Please, check whether 'uuid' is loaded prior to 'raspberry-cardgame-lib-random'.");
30
33
  }
31
- if (typeof globalThis['Kotlin-DateTime-library-kotlinx-datetime'] === 'undefined') {
32
- throw new Error("Error loading module 'raspberry-cardgame-lib-random'. Its dependency 'Kotlin-DateTime-library-kotlinx-datetime' was not found. Please, check whether 'Kotlin-DateTime-library-kotlinx-datetime' is loaded prior to 'raspberry-cardgame-lib-random'.");
33
- }
34
34
  if (typeof globalThis['ktor-ktor-client-logging'] === 'undefined') {
35
35
  throw new Error("Error loading module 'raspberry-cardgame-lib-random'. Its dependency 'ktor-ktor-client-logging' was not found. Please, check whether 'ktor-ktor-client-logging' is loaded prior to 'raspberry-cardgame-lib-random'.");
36
36
  }
@@ -46,9 +46,9 @@
46
46
  if (typeof globalThis['raspberry-cardgame-lib-logger'] === 'undefined') {
47
47
  throw new Error("Error loading module 'raspberry-cardgame-lib-random'. Its dependency 'raspberry-cardgame-lib-logger' was not found. Please, check whether 'raspberry-cardgame-lib-logger' is loaded prior to 'raspberry-cardgame-lib-random'.");
48
48
  }
49
- globalThis['raspberry-cardgame-lib-random'] = factory(typeof globalThis['raspberry-cardgame-lib-random'] === 'undefined' ? {} : globalThis['raspberry-cardgame-lib-random'], globalThis['kotlin-kotlin-stdlib'], globalThis['kotlinx-serialization-kotlinx-serialization-core'], globalThis['kotlinx-serialization-kotlinx-serialization-json'], globalThis['ktor-ktor-client-core'], globalThis['ktor-ktor-utils'], globalThis['ktor-ktor-http'], globalThis['kotlinx-coroutines-core'], uuid, globalThis['Kotlin-DateTime-library-kotlinx-datetime'], globalThis['ktor-ktor-client-logging'], globalThis['ktor-ktor-serialization-kotlinx-json'], globalThis['ktor-ktor-client-content-negotiation'], globalThis['secure-random-secure-random'], globalThis['raspberry-cardgame-lib-logger']);
49
+ globalThis['raspberry-cardgame-lib-random'] = factory(typeof globalThis['raspberry-cardgame-lib-random'] === 'undefined' ? {} : globalThis['raspberry-cardgame-lib-random'], globalThis['kotlin-kotlin-stdlib'], globalThis['kotlinx-serialization-kotlinx-serialization-core'], globalThis['kotlinx-serialization-kotlinx-serialization-json'], globalThis['ktor-ktor-client-core'], globalThis['ktor-ktor-utils'], globalThis['ktor-ktor-http'], globalThis['Kotlin-DateTime-library-kotlinx-datetime'], globalThis['kotlinx-coroutines-core'], uuid, globalThis['ktor-ktor-client-logging'], globalThis['ktor-ktor-serialization-kotlinx-json'], globalThis['ktor-ktor-client-content-negotiation'], globalThis['secure-random-secure-random'], globalThis['raspberry-cardgame-lib-logger']);
50
50
  }
51
- }(function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json, kotlin_io_ktor_ktor_client_core, kotlin_io_ktor_ktor_utils, kotlin_io_ktor_ktor_http, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_com_benasher44_uuid, kotlin_org_jetbrains_kotlinx_kotlinx_datetime, kotlin_io_ktor_ktor_client_logging, kotlin_io_ktor_ktor_serialization_kotlinx_json, kotlin_io_ktor_ktor_client_content_negotiation, kotlin_org_kotlincrypto_secure_random, kotlin_io_raspberryapps_cardgame_logger) {
51
+ }(function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json, kotlin_io_ktor_ktor_client_core, kotlin_io_ktor_ktor_utils, kotlin_io_ktor_ktor_http, kotlin_org_jetbrains_kotlinx_kotlinx_datetime, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_com_benasher44_uuid, kotlin_io_ktor_ktor_client_logging, kotlin_io_ktor_ktor_serialization_kotlinx_json, kotlin_io_ktor_ktor_client_content_negotiation, kotlin_org_kotlincrypto_secure_random, kotlin_io_raspberryapps_cardgame_logger) {
52
52
  'use strict';
53
53
  //region block: imports
54
54
  var imul = Math.imul;
@@ -118,15 +118,15 @@
118
118
  var toMutableMap = kotlin_kotlin.$_$.y9;
119
119
  var toMap = kotlin_kotlin.$_$.v9;
120
120
  var get_lastIndex = kotlin_kotlin.$_$.i8;
121
+ var System_instance = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.b;
122
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.s1;
121
123
  var withContext = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f;
122
124
  var uuid4 = kotlin_com_benasher44_uuid.$_$.a;
123
125
  var Result = kotlin_kotlin.$_$.rg;
124
126
  var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e1;
125
- var System_instance = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.b;
126
127
  var Companion_instance = kotlin_kotlin.$_$.k5;
127
128
  var createFailure = kotlin_kotlin.$_$.jh;
128
129
  var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.f3;
129
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.s1;
130
130
  var initMetadataForLambda = kotlin_kotlin.$_$.yb;
131
131
  var Duration__compareTo_impl_pchp0f = kotlin_kotlin.$_$.n2;
132
132
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.w;
@@ -209,8 +209,8 @@
209
209
  initMetadataForCompanion(Companion_9);
210
210
  initMetadataForLambda(RandomPoolProviderImpl$getCardDeck$slambda, CoroutineImpl, VOID, [1]);
211
211
  initMetadataForLambda(RandomPoolProviderImpl$requestNewPool$slambda, CoroutineImpl, VOID, [1]);
212
- initMetadataForCoroutine($getOrLoadGameCardDeckDataCOROUTINE$4, CoroutineImpl);
213
- initMetadataForCoroutine($getPreparedOrRequestPoolCOROUTINE$5, CoroutineImpl);
212
+ initMetadataForCoroutine($getOrLoadGameCardDeckDataCOROUTINE$3, CoroutineImpl);
213
+ initMetadataForCoroutine($getPreparedOrRequestPoolCOROUTINE$4, CoroutineImpl);
214
214
  initMetadataForClass(RandomPoolProviderImpl, 'RandomPoolProviderImpl', VOID, VOID, [RandomPoolProvider], [7, 5]);
215
215
  initMetadataForClass(ApiCommonConfigs$setupLogging$1$1);
216
216
  initMetadataForObject(ApiCommonConfigs, 'ApiCommonConfigs');
@@ -2234,14 +2234,54 @@
2234
2234
  return false;
2235
2235
  return true;
2236
2236
  };
2237
+ function getExceptionIfCooldown($this) {
2238
+ var failedAttemptTime = $this.j5q_1;
2239
+ var currentTime = System_instance.i54();
2240
+ if (!(failedAttemptTime == null) && $this.k5q_1 >= $this.b5q_1.failedRequestAttempts) {
2241
+ var allowedRequestTime = failedAttemptTime.w5j($this.b5q_1.failedAttemptCooldown);
2242
+ if (allowedRequestTime.a5k(currentTime) > 0) {
2243
+ var exception = new RandomException(VOID, 'getCardDeck: cooldown ends in ' + allowedRequestTime.toString() + ', ' + ('failedAttemptTime = ' + toString_0(failedAttemptTime) + ', ') + ('currentTime = ' + currentTime.toString()));
2244
+ return exception;
2245
+ } else {
2246
+ $this.j5q_1 = null;
2247
+ $this.k5q_1 = 0;
2248
+ }
2249
+ }
2250
+ return null;
2251
+ }
2252
+ function mapToRandomExceptionIfError($this, error) {
2253
+ $this.j5q_1 = System_instance.i54();
2254
+ $this.k5q_1 = $this.k5q_1 + 1 | 0;
2255
+ var tmp = 'getCardDeck: error message = ' + error.message + ', ';
2256
+ // Inline function 'kotlin.requireNotNull' call
2257
+ var value = $this.j5q_1;
2258
+ // Inline function 'kotlin.contracts.contract' call
2259
+ var tmp$ret$1;
2260
+ $l$block: {
2261
+ // Inline function 'kotlin.requireNotNull' call
2262
+ // Inline function 'kotlin.contracts.contract' call
2263
+ if (value == null) {
2264
+ // Inline function 'kotlin.requireNotNull.<anonymous>' call
2265
+ var message = 'Required value was null.';
2266
+ throw IllegalArgumentException_init_$Create$(toString(message));
2267
+ } else {
2268
+ tmp$ret$1 = value;
2269
+ break $l$block;
2270
+ }
2271
+ }
2272
+ var tmp$ret$2 = tmp$ret$1;
2273
+ var randomException = new RandomException(VOID, tmp + ('cooldown ends in ' + tmp$ret$2.w5j($this.b5q_1.failedAttemptCooldown).toString() + ', ') + ('currentTime = ' + toString_0($this.j5q_1)), error);
2274
+ $this.d5q_1.w('RandomPoolProvider', VOID, randomException);
2275
+ return randomException;
2276
+ }
2237
2277
  function getOrLoadGameCardDeckData($this, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, $completion) {
2238
- var tmp = new $getOrLoadGameCardDeckDataCOROUTINE$4($this, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, $completion);
2278
+ var tmp = new $getOrLoadGameCardDeckDataCOROUTINE$3($this, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, $completion);
2239
2279
  tmp.h9_1 = Unit_instance;
2240
2280
  tmp.i9_1 = null;
2241
2281
  return tmp.n9();
2242
2282
  }
2243
2283
  function getPreparedGameCardDecksRecord($this, poolId, signature, cardDeckData, userData) {
2244
- var existingCardDeck = $this.z5q_1.h2(userData.gameId);
2284
+ var existingCardDeck = $this.i5q_1.h2(userData.gameId);
2245
2285
  var tmp;
2246
2286
  if (!(existingCardDeck == null)) {
2247
2287
  tmp = Companion_instance_2.nextRound(existingCardDeck, cardDeckData);
@@ -2251,13 +2291,13 @@
2251
2291
  return tmp;
2252
2292
  }
2253
2293
  function getPreparedOrRequestPool($this, gameId, min, max, minRoundsCount, cardsCount, signed, requestDurationWarnMillis, $completion) {
2254
- var tmp = new $getPreparedOrRequestPoolCOROUTINE$5($this, gameId, min, max, minRoundsCount, cardsCount, signed, requestDurationWarnMillis, $completion);
2294
+ var tmp = new $getPreparedOrRequestPoolCOROUTINE$4($this, gameId, min, max, minRoundsCount, cardsCount, signed, requestDurationWarnMillis, $completion);
2255
2295
  tmp.h9_1 = Unit_instance;
2256
2296
  tmp.i9_1 = null;
2257
2297
  return tmp.n9();
2258
2298
  }
2259
2299
  function requestNewPool($this, min, max, cardsCount, signed, requestDurationWarnMillis, $completion) {
2260
- return withContext($this.v5q_1, RandomPoolProviderImpl$requestNewPool$slambda_0($this, min, max, cardsCount, signed, requestDurationWarnMillis, null), $completion);
2300
+ return withContext($this.e5q_1, RandomPoolProviderImpl$requestNewPool$slambda_0($this, min, max, cardsCount, signed, requestDurationWarnMillis, null), $completion);
2261
2301
  }
2262
2302
  function Companion_9() {
2263
2303
  this.u5r_1 = 100;
@@ -2283,7 +2323,7 @@
2283
2323
  this.n5s_1 = $requestDurationWarnMillis;
2284
2324
  CoroutineImpl.call(this, resultContinuation);
2285
2325
  }
2286
- protoOf(RandomPoolProviderImpl$getCardDeck$slambda).x5s = function ($this$withContext, $completion) {
2326
+ protoOf(RandomPoolProviderImpl$getCardDeck$slambda).u5s = function ($this$withContext, $completion) {
2287
2327
  var tmp = this.e1d($this$withContext, $completion);
2288
2328
  tmp.h9_1 = Unit_instance;
2289
2329
  tmp.i9_1 = null;
@@ -2293,7 +2333,7 @@
2293
2333
  return tmp_0;
2294
2334
  };
2295
2335
  protoOf(RandomPoolProviderImpl$getCardDeck$slambda).x9 = function (p1, $completion) {
2296
- return this.x5s((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2336
+ return this.u5s((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2297
2337
  };
2298
2338
  protoOf(RandomPoolProviderImpl$getCardDeck$slambda).n9 = function () {
2299
2339
  var suspendResult = this.h9_1;
@@ -2302,9 +2342,9 @@
2302
2342
  var tmp = this.f9_1;
2303
2343
  switch (tmp) {
2304
2344
  case 0:
2305
- this.g9_1 = 11;
2345
+ this.g9_1 = 10;
2306
2346
  var tmp_0 = this;
2307
- tmp_0.p5s_1 = this.g5s_1.x5q_1;
2347
+ tmp_0.p5s_1 = this.g5s_1.g5q_1;
2308
2348
  var tmp_1 = this;
2309
2349
  tmp_1.q5s_1 = null;
2310
2350
  this.f9_1 = 1;
@@ -2319,103 +2359,73 @@
2319
2359
  this.f9_1 = 2;
2320
2360
  continue $sm;
2321
2361
  case 2:
2322
- this.g9_1 = 10;
2362
+ this.g9_1 = 9;
2323
2363
  this.s5s_1 = Unit_instance;
2324
2364
  this.f9_1 = 3;
2325
2365
  continue $sm;
2326
2366
  case 3:
2327
- this.t5s_1 = this.g5s_1.a5r_1;
2328
- this.u5s_1 = System_instance.i54();
2329
- if (!(this.t5s_1 == null) && this.g5s_1.b5r_1 >= this.g5s_1.s5q_1.failedRequestAttempts) {
2330
- this.v5s_1 = this.t5s_1.w5j(this.g5s_1.s5q_1.failedAttemptCooldown);
2331
- if (this.v5s_1.a5k(this.u5s_1) > 0) {
2332
- this.w5s_1 = new RandomException(VOID, 'getCardDeck: cooldown ends in ' + this.v5s_1.toString() + ', ' + ('failedAttemptTime = ' + toString_0(this.t5s_1) + ', ') + ('currentTime = ' + this.u5s_1.toString()));
2333
- var tmp_2 = this;
2334
- var exception = this.w5s_1;
2335
- tmp_2.s5s_1 = new Result(_Result___init__impl__xyqfz8(createFailure(exception)));
2336
- this.f9_1 = 8;
2337
- continue $sm;
2338
- } else {
2339
- this.g5s_1.a5r_1 = null;
2340
- this.g5s_1.b5r_1 = 0;
2341
- this.f9_1 = 4;
2342
- continue $sm;
2343
- }
2367
+ this.t5s_1 = getExceptionIfCooldown(this.g5s_1);
2368
+ if (!(this.t5s_1 == null)) {
2369
+ var tmp_2 = this;
2370
+ var exception = this.t5s_1;
2371
+ tmp_2.s5s_1 = new Result(_Result___init__impl__xyqfz8(createFailure(exception)));
2372
+ this.f9_1 = 7;
2373
+ continue $sm;
2344
2374
  } else {
2345
- this.f9_1 = 5;
2375
+ this.f9_1 = 4;
2346
2376
  continue $sm;
2347
2377
  }
2348
2378
 
2349
2379
  case 4:
2380
+ this.g9_1 = 6;
2350
2381
  this.f9_1 = 5;
2351
- continue $sm;
2352
- case 5:
2353
- this.g9_1 = 7;
2354
- this.f9_1 = 6;
2355
2382
  suspendResult = getOrLoadGameCardDeckData(this.g5s_1, this.h5s_1, this.i5s_1, this.j5s_1, this.k5s_1, this.l5s_1, this.m5s_1, this.n5s_1, this);
2356
2383
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2357
2384
  return suspendResult;
2358
2385
  }
2359
2386
 
2360
2387
  continue $sm;
2361
- case 6:
2388
+ case 5:
2362
2389
  var cardDeckData = suspendResult;
2363
2390
  var tmp_3 = this;
2364
2391
  tmp_3.s5s_1 = new Result(_Result___init__impl__xyqfz8(cardDeckData));
2365
- this.f9_1 = 8;
2392
+ this.f9_1 = 7;
2366
2393
  continue $sm;
2367
- case 7:
2368
- this.g9_1 = 10;
2394
+ case 6:
2395
+ this.g9_1 = 9;
2369
2396
  var tmp_4 = this.i9_1;
2370
2397
  if (tmp_4 instanceof Error) {
2371
2398
  var error = this.i9_1;
2372
- this.g5s_1.a5r_1 = this.u5s_1;
2373
- var _unary__edvuaz = this.g5s_1.b5r_1;
2374
- this.g5s_1.b5r_1 = _unary__edvuaz + 1 | 0;
2375
- var tmp_5 = 'getCardDeck: error message = ' + error.message + ', ';
2376
- var value = this.g5s_1.a5r_1;
2377
- var tmp$ret$2 = Unit_instance;
2378
- l$ret$3: do {
2379
- if (value == null) {
2380
- var message = 'Required value was null.';
2381
- throw IllegalArgumentException_init_$Create$(toString(message));
2382
- } else {
2383
- tmp$ret$2 = value;
2384
- break l$ret$3;
2385
- }
2386
- }
2387
- while (false);
2388
- var exception_0 = new RandomException(VOID, tmp_5 + ('cooldown ends in ' + tmp$ret$2.w5j(this.g5s_1.s5q_1.failedAttemptCooldown).toString() + ', ') + ('failedAttemptTime = ' + toString_0(this.t5s_1) + ', ') + ('currentTime = ' + this.u5s_1.toString()), error);
2389
- this.g5s_1.u5q_1.w('RandomPoolProvider', VOID, exception_0);
2390
- var tmp_6 = this;
2391
- tmp_6.s5s_1 = new Result(_Result___init__impl__xyqfz8(createFailure(exception_0)));
2392
- this.f9_1 = 8;
2399
+ var tmp_5 = this;
2400
+ var exception_0 = mapToRandomExceptionIfError(this.g5s_1, error);
2401
+ tmp_5.s5s_1 = new Result(_Result___init__impl__xyqfz8(createFailure(exception_0)));
2402
+ this.f9_1 = 7;
2393
2403
  continue $sm;
2394
2404
  } else {
2395
2405
  throw this.i9_1;
2396
2406
  }
2397
2407
 
2398
- case 8:
2408
+ case 7:
2399
2409
  this.r5s_1 = this.s5s_1;
2400
- this.g9_1 = 11;
2401
- this.f9_1 = 9;
2410
+ this.g9_1 = 10;
2411
+ this.f9_1 = 8;
2402
2412
  continue $sm;
2403
- case 9:
2404
- var tmp_7 = this.r5s_1;
2405
- this.g9_1 = 11;
2413
+ case 8:
2414
+ var tmp_6 = this.r5s_1;
2415
+ this.g9_1 = 10;
2406
2416
  this.p5s_1.l1k(this.q5s_1);
2407
- return tmp_7;
2408
- case 10:
2409
- this.g9_1 = 11;
2417
+ return tmp_6;
2418
+ case 9:
2419
+ this.g9_1 = 10;
2410
2420
  var t = this.i9_1;
2411
2421
  this.p5s_1.l1k(this.q5s_1);
2412
2422
  throw t;
2413
- case 11:
2423
+ case 10:
2414
2424
  throw this.i9_1;
2415
2425
  }
2416
2426
  } catch ($p) {
2417
2427
  var e = $p;
2418
- if (this.g9_1 === 11) {
2428
+ if (this.g9_1 === 10) {
2419
2429
  throw e;
2420
2430
  } else {
2421
2431
  this.f9_1 = this.g9_1;
@@ -2432,28 +2442,28 @@
2432
2442
  function RandomPoolProviderImpl$getCardDeck$slambda_0(this$0, $minRoundsCountInPool, $userData, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation) {
2433
2443
  var i = new RandomPoolProviderImpl$getCardDeck$slambda(this$0, $minRoundsCountInPool, $userData, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation);
2434
2444
  var l = function ($this$withContext, $completion) {
2435
- return i.x5s($this$withContext, $completion);
2445
+ return i.u5s($this$withContext, $completion);
2436
2446
  };
2437
2447
  l.$arity = 1;
2438
2448
  return l;
2439
2449
  }
2440
2450
  function RandomPoolProviderImpl$requestNewPool$slambda(this$0, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation) {
2441
- this.g5t_1 = this$0;
2442
- this.h5t_1 = $min;
2443
- this.i5t_1 = $max;
2444
- this.j5t_1 = $cardsCount;
2445
- this.k5t_1 = $signed;
2446
- this.l5t_1 = $requestDurationWarnMillis;
2451
+ this.d5t_1 = this$0;
2452
+ this.e5t_1 = $min;
2453
+ this.f5t_1 = $max;
2454
+ this.g5t_1 = $cardsCount;
2455
+ this.h5t_1 = $signed;
2456
+ this.i5t_1 = $requestDurationWarnMillis;
2447
2457
  CoroutineImpl.call(this, resultContinuation);
2448
2458
  }
2449
- protoOf(RandomPoolProviderImpl$requestNewPool$slambda).o5t = function ($this$withContext, $completion) {
2459
+ protoOf(RandomPoolProviderImpl$requestNewPool$slambda).l5t = function ($this$withContext, $completion) {
2450
2460
  var tmp = this.e1d($this$withContext, $completion);
2451
2461
  tmp.h9_1 = Unit_instance;
2452
2462
  tmp.i9_1 = null;
2453
2463
  return tmp.n9();
2454
2464
  };
2455
2465
  protoOf(RandomPoolProviderImpl$requestNewPool$slambda).x9 = function (p1, $completion) {
2456
- return this.o5t((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2466
+ return this.l5t((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2457
2467
  };
2458
2468
  protoOf(RandomPoolProviderImpl$requestNewPool$slambda).n9 = function () {
2459
2469
  var suspendResult = this.h9_1;
@@ -2463,9 +2473,9 @@
2463
2473
  switch (tmp) {
2464
2474
  case 0:
2465
2475
  this.g9_1 = 2;
2466
- this.n5t_1 = System_instance.i54();
2476
+ this.k5t_1 = System_instance.i54();
2467
2477
  this.f9_1 = 1;
2468
- suspendResult = this.g5t_1.t5q_1.w5n(this.h5t_1, this.i5t_1, this.g5t_1.s5q_1.poolSize, this.j5t_1, new CardDecksRequestUserData(this.g5t_1.w5q_1(), this.g5t_1.s5q_1.poolSize), this.k5t_1, this);
2478
+ suspendResult = this.d5t_1.c5q_1.w5n(this.e5t_1, this.f5t_1, this.d5t_1.b5q_1.poolSize, this.g5t_1, new CardDecksRequestUserData(this.d5t_1.f5q_1(), this.d5t_1.b5q_1.poolSize), this.h5t_1, this);
2469
2479
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2470
2480
  return suspendResult;
2471
2481
  }
@@ -2474,14 +2484,14 @@
2474
2484
  case 1:
2475
2485
  var result = suspendResult;
2476
2486
  var requestEndTime = System_instance.i54();
2477
- var requestDuration = requestEndTime.z5j(this.n5t_1);
2487
+ var requestDuration = requestEndTime.z5j(this.k5t_1);
2478
2488
  Companion_getInstance_0();
2479
- var this_0 = this.l5t_1;
2489
+ var this_0 = this.i5t_1;
2480
2490
  if (Duration__compareTo_impl_pchp0f(requestDuration, toDuration(this_0, DurationUnit_MILLISECONDS_getInstance())) > 0) {
2481
2491
  var tmp_0 = 'Card deck request took longer then expected: ' + ('actual = ' + Duration__toString_impl_8d916b(requestDuration) + ', ');
2482
2492
  Companion_getInstance_0();
2483
- var this_1 = this.l5t_1;
2484
- this.g5t_1.u5q_1.w('RandomPoolProvider', tmp_0 + ('expected = ' + Duration__toString_impl_8d916b(toDuration(this_1, DurationUnit_MILLISECONDS_getInstance()))));
2493
+ var this_1 = this.i5t_1;
2494
+ this.d5t_1.d5q_1.w('RandomPoolProvider', tmp_0 + ('expected = ' + Duration__toString_impl_8d916b(toDuration(this_1, DurationUnit_MILLISECONDS_getInstance()))));
2485
2495
  }
2486
2496
 
2487
2497
  var newCardDecksValue = new RandomPoolValue(result);
@@ -2501,30 +2511,30 @@
2501
2511
  while (true);
2502
2512
  };
2503
2513
  protoOf(RandomPoolProviderImpl$requestNewPool$slambda).e1d = function ($this$withContext, completion) {
2504
- var i = new RandomPoolProviderImpl$requestNewPool$slambda(this.g5t_1, this.h5t_1, this.i5t_1, this.j5t_1, this.k5t_1, this.l5t_1, completion);
2505
- i.m5t_1 = $this$withContext;
2514
+ var i = new RandomPoolProviderImpl$requestNewPool$slambda(this.d5t_1, this.e5t_1, this.f5t_1, this.g5t_1, this.h5t_1, this.i5t_1, completion);
2515
+ i.j5t_1 = $this$withContext;
2506
2516
  return i;
2507
2517
  };
2508
2518
  function RandomPoolProviderImpl$requestNewPool$slambda_0(this$0, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation) {
2509
2519
  var i = new RandomPoolProviderImpl$requestNewPool$slambda(this$0, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation);
2510
2520
  var l = function ($this$withContext, $completion) {
2511
- return i.o5t($this$withContext, $completion);
2521
+ return i.l5t($this$withContext, $completion);
2512
2522
  };
2513
2523
  l.$arity = 1;
2514
2524
  return l;
2515
2525
  }
2516
- function $getOrLoadGameCardDeckDataCOROUTINE$4(_this__u8e3s4, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, resultContinuation) {
2526
+ function $getOrLoadGameCardDeckDataCOROUTINE$3(_this__u8e3s4, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, resultContinuation) {
2517
2527
  CoroutineImpl.call(this, resultContinuation);
2518
- this.j5q_1 = _this__u8e3s4;
2519
- this.k5q_1 = minRoundsCountInPool;
2520
- this.l5q_1 = userData;
2521
- this.m5q_1 = min;
2522
- this.n5q_1 = max;
2523
- this.o5q_1 = cardsCount;
2524
- this.p5q_1 = signed;
2525
- this.q5q_1 = requestDurationWarnMillis;
2526
- }
2527
- protoOf($getOrLoadGameCardDeckDataCOROUTINE$4).n9 = function () {
2528
+ this.t5q_1 = _this__u8e3s4;
2529
+ this.u5q_1 = minRoundsCountInPool;
2530
+ this.v5q_1 = userData;
2531
+ this.w5q_1 = min;
2532
+ this.x5q_1 = max;
2533
+ this.y5q_1 = cardsCount;
2534
+ this.z5q_1 = signed;
2535
+ this.a5r_1 = requestDurationWarnMillis;
2536
+ }
2537
+ protoOf($getOrLoadGameCardDeckDataCOROUTINE$3).n9 = function () {
2528
2538
  var suspendResult = this.h9_1;
2529
2539
  $sm: do
2530
2540
  try {
@@ -2532,9 +2542,9 @@
2532
2542
  switch (tmp) {
2533
2543
  case 0:
2534
2544
  this.g9_1 = 2;
2535
- this.r5q_1 = this.l5q_1.gameId;
2545
+ this.b5r_1 = this.v5q_1.gameId;
2536
2546
  this.f9_1 = 1;
2537
- suspendResult = getPreparedOrRequestPool(this.j5q_1, this.r5q_1, this.m5q_1, this.n5q_1, this.k5q_1, this.o5q_1, this.p5q_1, this.q5q_1, this);
2547
+ suspendResult = getPreparedOrRequestPool(this.t5q_1, this.b5r_1, this.w5q_1, this.x5q_1, this.u5q_1, this.y5q_1, this.z5q_1, this.a5r_1, this);
2538
2548
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2539
2549
  return suspendResult;
2540
2550
  }
@@ -2542,15 +2552,15 @@
2542
2552
  continue $sm;
2543
2553
  case 1:
2544
2554
  var randomPoolValue = suspendResult;
2545
- var this_0 = this.j5q_1.y5q_1;
2555
+ var this_0 = this.t5q_1.h5q_1;
2546
2556
  var key = randomPoolValue.r5p_1.d5l_1;
2547
2557
  this_0.k2(key, randomPoolValue);
2548
- var cardDeckData = randomPoolValue.z5p(this.l5q_1.gameId);
2558
+ var cardDeckData = randomPoolValue.z5p(this.v5q_1.gameId);
2549
2559
  var tmp21_poolId = randomPoolValue.r5p_1.d5l_1;
2550
2560
  var tmp22_signature = randomPoolValue.r5p_1.e5l_1;
2551
- var cardDecksRecord = getPreparedGameCardDecksRecord(this.j5q_1, tmp21_poolId, tmp22_signature, cardDeckData, this.l5q_1);
2552
- var this_1 = this.j5q_1.z5q_1;
2553
- var key_0 = this.l5q_1.gameId;
2561
+ var cardDecksRecord = getPreparedGameCardDecksRecord(this.t5q_1, tmp21_poolId, tmp22_signature, cardDeckData, this.v5q_1);
2562
+ var this_1 = this.t5q_1.i5q_1;
2563
+ var key_0 = this.v5q_1.gameId;
2554
2564
  this_1.k2(key_0, cardDecksRecord);
2555
2565
  return cardDeckData;
2556
2566
  case 2:
@@ -2567,7 +2577,7 @@
2567
2577
  }
2568
2578
  while (true);
2569
2579
  };
2570
- function $getPreparedOrRequestPoolCOROUTINE$5(_this__u8e3s4, gameId, min, max, minRoundsCount, cardsCount, signed, requestDurationWarnMillis, resultContinuation) {
2580
+ function $getPreparedOrRequestPoolCOROUTINE$4(_this__u8e3s4, gameId, min, max, minRoundsCount, cardsCount, signed, requestDurationWarnMillis, resultContinuation) {
2571
2581
  CoroutineImpl.call(this, resultContinuation);
2572
2582
  this.k5r_1 = _this__u8e3s4;
2573
2583
  this.l5r_1 = gameId;
@@ -2578,7 +2588,7 @@
2578
2588
  this.q5r_1 = signed;
2579
2589
  this.r5r_1 = requestDurationWarnMillis;
2580
2590
  }
2581
- protoOf($getPreparedOrRequestPoolCOROUTINE$5).n9 = function () {
2591
+ protoOf($getPreparedOrRequestPoolCOROUTINE$4).n9 = function () {
2582
2592
  var suspendResult = this.h9_1;
2583
2593
  $sm: do
2584
2594
  try {
@@ -2587,7 +2597,7 @@
2587
2597
  case 0:
2588
2598
  this.g9_1 = 2;
2589
2599
  var tmp_0 = this;
2590
- var this_0 = this.k5r_1.y5q_1;
2600
+ var this_0 = this.k5r_1.h5q_1;
2591
2601
  var destination = LinkedHashMap_init_$Create$();
2592
2602
  var tmp0_iterator = this_0.s().j();
2593
2603
  while (tmp0_iterator.k()) {
@@ -2605,7 +2615,7 @@
2605
2615
  }
2606
2616
 
2607
2617
  var tmp_1 = this;
2608
- var this_2 = this.k5r_1.y5q_1;
2618
+ var this_2 = this.k5r_1.h5q_1;
2609
2619
  var destination_0 = LinkedHashMap_init_$Create$();
2610
2620
  var tmp0_iterator_0 = this_2.s().j();
2611
2621
  while (tmp0_iterator_0.k()) {
@@ -2617,7 +2627,7 @@
2617
2627
 
2618
2628
  tmp_1.t5r_1 = firstOrNull(destination_0.s());
2619
2629
  if (!(this.t5r_1 == null)) {
2620
- return this.t5r_1.u().w5p(this.l5r_1, this.o5r_1, this.k5r_1.s5q_1.thresholdForUsedPool);
2630
+ return this.t5r_1.u().w5p(this.l5r_1, this.o5r_1, this.k5r_1.b5q_1.thresholdForUsedPool);
2621
2631
  }
2622
2632
 
2623
2633
  this.f9_1 = 1;
@@ -2629,7 +2639,7 @@
2629
2639
  continue $sm;
2630
2640
  case 1:
2631
2641
  var cardDecks = suspendResult;
2632
- return cardDecks.w5p(this.l5r_1, this.o5r_1, this.k5r_1.s5q_1.thresholdForUsedPool);
2642
+ return cardDecks.w5p(this.l5r_1, this.o5r_1, this.k5r_1.b5q_1.thresholdForUsedPool);
2633
2643
  case 2:
2634
2644
  throw this.i9_1;
2635
2645
  }
@@ -2653,49 +2663,49 @@
2653
2663
  tmp = idsProvider;
2654
2664
  }
2655
2665
  idsProvider = tmp;
2656
- this.s5q_1 = params;
2657
- this.t5q_1 = randomOrgApiService;
2658
- this.u5q_1 = logger;
2659
- this.v5q_1 = dispatcher;
2660
- this.w5q_1 = idsProvider;
2661
- this.x5q_1 = Mutex();
2666
+ this.b5q_1 = params;
2667
+ this.c5q_1 = randomOrgApiService;
2668
+ this.d5q_1 = logger;
2669
+ this.e5q_1 = dispatcher;
2670
+ this.f5q_1 = idsProvider;
2671
+ this.g5q_1 = Mutex();
2662
2672
  var tmp_0 = this;
2663
2673
  // Inline function 'kotlin.collections.mutableMapOf' call
2664
- tmp_0.y5q_1 = LinkedHashMap_init_$Create$();
2674
+ tmp_0.h5q_1 = LinkedHashMap_init_$Create$();
2665
2675
  var tmp_1 = this;
2666
2676
  // Inline function 'kotlin.collections.mutableMapOf' call
2667
- tmp_1.z5q_1 = LinkedHashMap_init_$Create$();
2668
- this.a5r_1 = null;
2669
- this.b5r_1 = 0;
2677
+ tmp_1.i5q_1 = LinkedHashMap_init_$Create$();
2678
+ this.j5q_1 = null;
2679
+ this.k5q_1 = 0;
2670
2680
  }
2671
2681
  protoOf(RandomPoolProviderImpl).o5p = function (minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, $completion) {
2672
- var tmp = withContext(this.v5q_1, RandomPoolProviderImpl$getCardDeck$slambda_0(this, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, null), $completion);
2682
+ var tmp = withContext(this.e5q_1, RandomPoolProviderImpl$getCardDeck$slambda_0(this, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, null), $completion);
2673
2683
  if (tmp === get_COROUTINE_SUSPENDED())
2674
2684
  return tmp;
2675
2685
  return tmp;
2676
2686
  };
2677
- protoOf(RandomPoolProviderImpl).p5t = function (gameId) {
2678
- return this.z5q_1.h2(gameId);
2687
+ protoOf(RandomPoolProviderImpl).m5t = function (gameId) {
2688
+ return this.i5q_1.h2(gameId);
2679
2689
  };
2680
2690
  protoOf(RandomPoolProviderImpl).getGame = function (gameId) {
2681
- return this.p5t(gameId);
2691
+ return this.m5t(gameId);
2682
2692
  };
2683
- protoOf(RandomPoolProviderImpl).q5t = function (id) {
2684
- return this.y5q_1.h2(id);
2693
+ protoOf(RandomPoolProviderImpl).n5t = function (id) {
2694
+ return this.h5q_1.h2(id);
2685
2695
  };
2686
2696
  protoOf(RandomPoolProviderImpl).getRandomPool = function (id) {
2687
- return this.q5t(id);
2697
+ return this.n5t(id);
2688
2698
  };
2689
- protoOf(RandomPoolProviderImpl).r5t = function () {
2690
- return this.y5q_1.m();
2699
+ protoOf(RandomPoolProviderImpl).o5t = function () {
2700
+ return this.h5q_1.m();
2691
2701
  };
2692
2702
  protoOf(RandomPoolProviderImpl).getRandomPoolsCount = function () {
2693
- return this.r5t();
2703
+ return this.o5t();
2694
2704
  };
2695
2705
  protoOf(RandomPoolProviderImpl).q5p = function (gameId) {
2696
- var gameCardDecksRecord = this.z5q_1.h2(gameId);
2706
+ var gameCardDecksRecord = this.i5q_1.h2(gameId);
2697
2707
  if (!(gameCardDecksRecord == null)) {
2698
- var randomPoolValue = this.y5q_1.h2(gameCardDecksRecord.poolId);
2708
+ var randomPoolValue = this.h5q_1.h2(gameCardDecksRecord.poolId);
2699
2709
  if (!(randomPoolValue == null)) {
2700
2710
  // Inline function 'kotlin.apply' call
2701
2711
  var this_0 = toMutableMap(randomPoolValue.s5p_1);
@@ -2704,16 +2714,16 @@
2704
2714
  this_0.l2(gameId);
2705
2715
  var newPoolValue = randomPoolValue.x5p(VOID, toMap(this_0));
2706
2716
  if (newPoolValue.s5p_1.p()) {
2707
- this.y5q_1.l2(gameCardDecksRecord.poolId);
2717
+ this.h5q_1.l2(gameCardDecksRecord.poolId);
2708
2718
  } else {
2709
2719
  // Inline function 'kotlin.collections.set' call
2710
- var this_1 = this.y5q_1;
2720
+ var this_1 = this.h5q_1;
2711
2721
  var key = gameCardDecksRecord.poolId;
2712
2722
  this_1.k2(key, newPoolValue);
2713
2723
  }
2714
2724
  }
2715
2725
  }
2716
- this.z5q_1.l2(gameId);
2726
+ this.i5q_1.l2(gameId);
2717
2727
  };
2718
2728
  function ApiCommonConfigs$setupJsonDefaultRequest$lambda($url) {
2719
2729
  return function ($this$defaultRequest) {
@@ -2723,15 +2733,15 @@
2723
2733
  };
2724
2734
  }
2725
2735
  function ApiCommonConfigs$setupLogging$1$1($externalLogger) {
2726
- this.s5t_1 = $externalLogger;
2736
+ this.p5t_1 = $externalLogger;
2727
2737
  }
2728
2738
  protoOf(ApiCommonConfigs$setupLogging$1$1).r3t = function (message) {
2729
- this.s5t_1(message);
2739
+ this.p5t_1(message);
2730
2740
  };
2731
2741
  function ApiCommonConfigs$setupLogging$lambda($config, $externalLogger) {
2732
2742
  return function ($this$install) {
2733
2743
  $this$install.h3v(get_DEFAULT(Companion_instance_0));
2734
- $this$install.g3v_1 = $config.v5t_1;
2744
+ $this$install.g3v_1 = $config.s5t_1;
2735
2745
  $this$install.h3v(new ApiCommonConfigs$setupLogging$1$1($externalLogger));
2736
2746
  return Unit_instance;
2737
2747
  };
@@ -2744,20 +2754,20 @@
2744
2754
  }
2745
2755
  function ApiCommonConfigs() {
2746
2756
  }
2747
- protoOf(ApiCommonConfigs).x5t = function (_this__u8e3s4, config, externalLogger) {
2757
+ protoOf(ApiCommonConfigs).u5t = function (_this__u8e3s4, config, externalLogger) {
2748
2758
  _this__u8e3s4.t2u_1 = true;
2749
- this.y5t(_this__u8e3s4, config.t5t_1);
2750
- this.z5t(_this__u8e3s4, config.w5t_1);
2751
- this.a5u(_this__u8e3s4, config, externalLogger);
2759
+ this.v5t(_this__u8e3s4, config.q5t_1);
2760
+ this.w5t(_this__u8e3s4, config.t5t_1);
2761
+ this.x5t(_this__u8e3s4, config, externalLogger);
2752
2762
  };
2753
- protoOf(ApiCommonConfigs).y5t = function (_this__u8e3s4, url) {
2763
+ protoOf(ApiCommonConfigs).v5t = function (_this__u8e3s4, url) {
2754
2764
  defaultRequest(_this__u8e3s4, ApiCommonConfigs$setupJsonDefaultRequest$lambda(url));
2755
2765
  };
2756
- protoOf(ApiCommonConfigs).a5u = function (_this__u8e3s4, config, externalLogger) {
2766
+ protoOf(ApiCommonConfigs).x5t = function (_this__u8e3s4, config, externalLogger) {
2757
2767
  var tmp = Companion_getInstance_1();
2758
2768
  _this__u8e3s4.o2v(tmp, ApiCommonConfigs$setupLogging$lambda(config, externalLogger));
2759
2769
  };
2760
- protoOf(ApiCommonConfigs).z5t = function (_this__u8e3s4, json) {
2770
+ protoOf(ApiCommonConfigs).w5t = function (_this__u8e3s4, json) {
2761
2771
  var tmp = Plugin_getInstance();
2762
2772
  _this__u8e3s4.o2v(tmp, ApiCommonConfigs$setupContentNegotiation$lambda(json));
2763
2773
  };
@@ -2782,19 +2792,19 @@
2782
2792
  tmp = json;
2783
2793
  }
2784
2794
  json = tmp;
2785
- this.t5t_1 = baseUrl;
2786
- this.u5t_1 = timeoutMillis;
2787
- this.v5t_1 = loggingLevel;
2788
- this.w5t_1 = json;
2795
+ this.q5t_1 = baseUrl;
2796
+ this.r5t_1 = timeoutMillis;
2797
+ this.s5t_1 = loggingLevel;
2798
+ this.t5t_1 = json;
2789
2799
  }
2790
2800
  protoOf(HttpParams).toString = function () {
2791
- return 'HttpParams(baseUrl=' + this.t5t_1 + ', timeoutMillis=' + this.u5t_1.toString() + ', loggingLevel=' + this.v5t_1.toString() + ', json=' + toString(this.w5t_1) + ')';
2801
+ return 'HttpParams(baseUrl=' + this.q5t_1 + ', timeoutMillis=' + this.r5t_1.toString() + ', loggingLevel=' + this.s5t_1.toString() + ', json=' + toString(this.t5t_1) + ')';
2792
2802
  };
2793
2803
  protoOf(HttpParams).hashCode = function () {
2794
- var result = getStringHashCode(this.t5t_1);
2795
- result = imul(result, 31) + this.u5t_1.hashCode() | 0;
2796
- result = imul(result, 31) + this.v5t_1.hashCode() | 0;
2797
- result = imul(result, 31) + hashCode(this.w5t_1) | 0;
2804
+ var result = getStringHashCode(this.q5t_1);
2805
+ result = imul(result, 31) + this.r5t_1.hashCode() | 0;
2806
+ result = imul(result, 31) + this.s5t_1.hashCode() | 0;
2807
+ result = imul(result, 31) + hashCode(this.t5t_1) | 0;
2798
2808
  return result;
2799
2809
  };
2800
2810
  protoOf(HttpParams).equals = function (other) {
@@ -2803,13 +2813,13 @@
2803
2813
  if (!(other instanceof HttpParams))
2804
2814
  return false;
2805
2815
  var tmp0_other_with_cast = other instanceof HttpParams ? other : THROW_CCE();
2806
- if (!(this.t5t_1 === tmp0_other_with_cast.t5t_1))
2816
+ if (!(this.q5t_1 === tmp0_other_with_cast.q5t_1))
2807
2817
  return false;
2808
- if (!this.u5t_1.equals(tmp0_other_with_cast.u5t_1))
2818
+ if (!this.r5t_1.equals(tmp0_other_with_cast.r5t_1))
2809
2819
  return false;
2810
- if (!this.v5t_1.equals(tmp0_other_with_cast.v5t_1))
2820
+ if (!this.s5t_1.equals(tmp0_other_with_cast.s5t_1))
2811
2821
  return false;
2812
- if (!equals(this.w5t_1, tmp0_other_with_cast.w5t_1))
2822
+ if (!equals(this.t5t_1, tmp0_other_with_cast.t5t_1))
2813
2823
  return false;
2814
2824
  return true;
2815
2825
  };
@@ -2835,12 +2845,12 @@
2835
2845
  }
2836
2846
  function nextBytesCopyTo($this, bytes) {
2837
2847
  try {
2838
- $this.f5u_1.p5k(bytes);
2848
+ $this.c5u_1.p5k(bytes);
2839
2849
  } catch ($p) {
2840
2850
  if ($p instanceof SecRandomCopyException) {
2841
2851
  var error = $p;
2842
- $this.e5u_1.e('SecureGameRandom', 'nextBytesCopyTo error ' + error.toString());
2843
- $this.g5u_1.tg(bytes);
2852
+ $this.b5u_1.e('SecureGameRandom', 'nextBytesCopyTo error ' + error.toString());
2853
+ $this.d5u_1.tg(bytes);
2844
2854
  return Unit_instance;
2845
2855
  } else {
2846
2856
  throw $p;
@@ -2866,9 +2876,9 @@
2866
2876
  }
2867
2877
  function SecureRandom_0(logger) {
2868
2878
  logger = logger === VOID ? new PlatformRaspberryLogger() : logger;
2869
- this.e5u_1 = logger;
2870
- this.f5u_1 = new SecureRandom();
2871
- this.g5u_1 = Default_getInstance();
2879
+ this.b5u_1 = logger;
2880
+ this.c5u_1 = new SecureRandom();
2881
+ this.d5u_1 = Default_getInstance();
2872
2882
  }
2873
2883
  protoOf(SecureRandom_0).qg = function (from, until) {
2874
2884
  checkRangeBounds(this, from, until);
@@ -2897,7 +2907,7 @@
2897
2907
  }
2898
2908
  }
2899
2909
  };
2900
- protoOf(SecureRandom_0).c5u = function () {
2910
+ protoOf(SecureRandom_0).z5t = function () {
2901
2911
  return !(nextBits(this, 1) === 0);
2902
2912
  };
2903
2913
  function overhand(_this__u8e3s4, iterations, random) {
@@ -2918,7 +2928,7 @@
2918
2928
  while (pile.m() > 0) {
2919
2929
  // Inline function 'kotlin.comparisons.minOf' call
2920
2930
  var a = pile.m();
2921
- var b = 1 + random.b5u(VOID, twentypc) | 0;
2931
+ var b = 1 + random.y5t(VOID, twentypc) | 0;
2922
2932
  var cards = Math.min(a, b);
2923
2933
  pile2.b2(0, take(pile, cards));
2924
2934
  // Inline function 'kotlin.repeat' call
@@ -2953,11 +2963,11 @@
2953
2963
  // Inline function 'games.raspberry.card_game.random.utils.random.riffle.<anonymous>' call
2954
2964
  var mid = deck.m() / 2 | 0;
2955
2965
  var tenpc = mid / 10 | 0;
2956
- var cut = (mid - tenpc | 0) + random.b5u(VOID, imul(2, tenpc) + 1 | 0) | 0;
2966
+ var cut = (mid - tenpc | 0) + random.y5t(VOID, imul(2, tenpc) + 1 | 0) | 0;
2957
2967
  var deck1 = toMutableList(take(pile, cut));
2958
2968
  var deck2 = toMutableList(drop(pile, cut));
2959
2969
  pile.a2();
2960
- var fromTop = random.c5u();
2970
+ var fromTop = random.z5t();
2961
2971
  while (deck1.m() > 0 && deck2.m() > 0) {
2962
2972
  if (fromTop) {
2963
2973
  pile.e(deck1.e2(0));
@@ -2979,8 +2989,8 @@
2979
2989
  }
2980
2990
  function HttpFactory$provideHttpClient$lambda$lambda($config) {
2981
2991
  return function ($this$install) {
2982
- $this$install.f3f($config.u5t_1);
2983
- $this$install.d3f($config.u5t_1);
2992
+ $this$install.f3f($config.r5t_1);
2993
+ $this$install.d3f($config.r5t_1);
2984
2994
  return Unit_instance;
2985
2995
  };
2986
2996
  }
@@ -2988,13 +2998,13 @@
2988
2998
  return function ($this$HttpClient) {
2989
2999
  var tmp = Plugin_getInstance_0();
2990
3000
  $this$HttpClient.o2v(tmp, HttpFactory$provideHttpClient$lambda$lambda($config));
2991
- ApiCommonConfigs_instance.x5t($this$HttpClient, $config, $externalLogger);
3001
+ ApiCommonConfigs_instance.u5t($this$HttpClient, $config, $externalLogger);
2992
3002
  return Unit_instance;
2993
3003
  };
2994
3004
  }
2995
3005
  function HttpFactory() {
2996
3006
  }
2997
- protoOf(HttpFactory).h5u = function (config, externalLogger) {
3007
+ protoOf(HttpFactory).e5u = function (config, externalLogger) {
2998
3008
  var tmp = Js_instance;
2999
3009
  return HttpClient(tmp, HttpFactory$provideHttpClient$lambda(config, externalLogger));
3000
3010
  };
@@ -3010,8 +3020,8 @@
3010
3020
  protoOf($serializer_5).w4e = typeParametersSerializers;
3011
3021
  protoOf($serializer_6).w4e = typeParametersSerializers;
3012
3022
  protoOf(RandomPoolProviderImpl).p5p = getCardDeck$default;
3013
- protoOf(SecureRandom_0).b5u = nextInt$default;
3014
- protoOf(SecureRandom_0).d5u = shuffle;
3023
+ protoOf(SecureRandom_0).y5t = nextInt$default;
3024
+ protoOf(SecureRandom_0).a5u = shuffle;
3015
3025
  //endregion
3016
3026
  //region block: init
3017
3027
  Companion_instance_1 = new Companion();