raspberry_games_server_game_logic 1.8.356 → 1.8.358

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/Kosi-Kaverit-kaverit.js +3 -3
  2. package/Kosi-Kodein-kodein-di.js +17 -17
  3. package/Kotlin-DateTime-library-kotlinx-datetime.js +32 -32
  4. package/Logic_Debertz-core.js +88 -57
  5. package/Logic_Debertz-core.js.map +1 -1
  6. package/Logic_Debertz-engine.js +2106 -1945
  7. package/Logic_Debertz-engine.js.map +1 -1
  8. package/Logic_Debertz-game_server.js +770 -770
  9. package/Logic_Debertz-game_server.js.map +1 -1
  10. package/error-library-error.js +1 -1
  11. package/kotlin-kotlin-stdlib.js +146 -132
  12. package/kotlin-kotlin-stdlib.js.map +1 -1
  13. package/kotlinx-atomicfu.js +1 -1
  14. package/kotlinx-coroutines-core.js +26 -26
  15. package/kotlinx-coroutines-core.js.map +1 -1
  16. package/kotlinx-io-kotlinx-io-core.js +10 -10
  17. package/kotlinx-serialization-kotlinx-serialization-core.js +37 -37
  18. package/kotlinx-serialization-kotlinx-serialization-json.js +42 -42
  19. package/ktor-ktor-client-content-negotiation.js +6 -6
  20. package/ktor-ktor-client-core.js +20 -20
  21. package/ktor-ktor-client-logging.js +5 -5
  22. package/ktor-ktor-events.js +2 -2
  23. package/ktor-ktor-http.js +36 -36
  24. package/ktor-ktor-io.js +17 -17
  25. package/ktor-ktor-serialization-kotlinx.js +1 -1
  26. package/ktor-ktor-serialization.js +3 -3
  27. package/ktor-ktor-utils.js +13 -13
  28. package/ktor-ktor-websockets.js +5 -5
  29. package/package.json +1 -1
  30. package/random-library-crypto-rand.js +3 -3
  31. package/random-library-secure-random.js +1 -1
  32. package/raspberry-cardgame-lib-core.js +8 -8
  33. package/raspberry-cardgame-lib-logger.js +5 -5
  34. package/raspberry-cardgame-lib-random.js +10 -10
  35. package/uuid.js +4 -4
@@ -1294,6 +1294,18 @@ if (typeof String.prototype.endsWith === 'undefined') {
1294
1294
  function coerceAtLeast(_this__u8e3s4, minimumValue) {
1295
1295
  return _this__u8e3s4 < minimumValue ? minimumValue : _this__u8e3s4;
1296
1296
  }
1297
+ function coerceIn_0(_this__u8e3s4, minimumValue, maximumValue) {
1298
+ if (minimumValue > maximumValue)
1299
+ throw IllegalArgumentException_init_$Create$_0('Cannot coerce value to an empty range: maximum ' + maximumValue + ' is less than minimum ' + minimumValue + '.');
1300
+ if (_this__u8e3s4 < minimumValue)
1301
+ return minimumValue;
1302
+ if (_this__u8e3s4 > maximumValue)
1303
+ return maximumValue;
1304
+ return _this__u8e3s4;
1305
+ }
1306
+ function coerceAtLeast_0(_this__u8e3s4, minimumValue) {
1307
+ return _this__u8e3s4 < minimumValue ? minimumValue : _this__u8e3s4;
1308
+ }
1297
1309
  function contains_5(_this__u8e3s4, value) {
1298
1310
  // Inline function 'kotlin.let' call
1299
1311
  var it = toIntExactOrNull(value);
@@ -1305,7 +1317,7 @@ if (typeof String.prototype.endsWith === 'undefined') {
1305
1317
  function coerceAtMost(_this__u8e3s4, maximumValue) {
1306
1318
  return _this__u8e3s4 > maximumValue ? maximumValue : _this__u8e3s4;
1307
1319
  }
1308
- function coerceIn_0(_this__u8e3s4, minimumValue, maximumValue) {
1320
+ function coerceIn_1(_this__u8e3s4, minimumValue, maximumValue) {
1309
1321
  if (minimumValue > maximumValue)
1310
1322
  throw IllegalArgumentException_init_$Create$_0('Cannot coerce value to an empty range: maximum ' + maximumValue + ' is less than minimum ' + minimumValue + '.');
1311
1323
  if (_this__u8e3s4 < minimumValue)
@@ -1314,15 +1326,15 @@ if (typeof String.prototype.endsWith === 'undefined') {
1314
1326
  return maximumValue;
1315
1327
  return _this__u8e3s4;
1316
1328
  }
1317
- function coerceIn_1(_this__u8e3s4, range) {
1329
+ function coerceIn_2(_this__u8e3s4, range) {
1318
1330
  if (isInterface(range, ClosedFloatingPointRange)) {
1319
- return coerceIn_2(_this__u8e3s4, range);
1331
+ return coerceIn_3(_this__u8e3s4, range);
1320
1332
  }
1321
1333
  if (range.p())
1322
1334
  throw IllegalArgumentException_init_$Create$_0('Cannot coerce value to an empty range: ' + toString_1(range) + '.');
1323
1335
  return _this__u8e3s4.z(range.g1()) < 0 ? range.g1() : _this__u8e3s4.z(range.f1()) > 0 ? range.f1() : _this__u8e3s4;
1324
1336
  }
1325
- function coerceIn_2(_this__u8e3s4, range) {
1337
+ function coerceIn_3(_this__u8e3s4, range) {
1326
1338
  if (range.p())
1327
1339
  throw IllegalArgumentException_init_$Create$_0('Cannot coerce value to an empty range: ' + toString_1(range) + '.');
1328
1340
  return range.h1(_this__u8e3s4, range.g1()) && !range.h1(range.g1(), _this__u8e3s4) ? range.g1() : range.h1(range.f1(), _this__u8e3s4) && !range.h1(_this__u8e3s4, range.f1()) ? range.f1() : _this__u8e3s4;
@@ -12661,7 +12673,7 @@ if (typeof String.prototype.endsWith === 'undefined') {
12661
12673
  function DelimitedRangesSequence$iterator$1(this$0) {
12662
12674
  this.tk_1 = this$0;
12663
12675
  this.ok_1 = -1;
12664
- this.pk_1 = coerceIn_0(this$0.vk_1, 0, charSequenceLength(this$0.uk_1));
12676
+ this.pk_1 = coerceIn_1(this$0.vk_1, 0, charSequenceLength(this$0.uk_1));
12665
12677
  this.qk_1 = this.pk_1;
12666
12678
  this.rk_1 = null;
12667
12679
  this.sk_1 = 0;
@@ -13096,7 +13108,7 @@ if (typeof String.prototype.endsWith === 'undefined') {
13096
13108
  tmp_5 = false;
13097
13109
  }
13098
13110
  if (tmp_5) {
13099
- tmp_4 = durationOfMillis(coerceIn_1(totalMillis, (new Long(1, -1073741824)).i3(new Long(-1, 1073741823))));
13111
+ tmp_4 = durationOfMillis(coerceIn_2(totalMillis, (new Long(1, -1073741824)).i3(new Long(-1, 1073741823))));
13100
13112
  } else {
13101
13113
  tmp_4 = imul(get_sign(value), get_sign_0(scale)) > 0 ? Companion_getInstance_23().bl_1 : Companion_getInstance_23().cl_1;
13102
13114
  }
@@ -13109,7 +13121,7 @@ if (typeof String.prototype.endsWith === 'undefined') {
13109
13121
  var tmp_6;
13110
13122
  // Inline function 'kotlin.Long.div' call
13111
13123
  if (result.c3(toLong(scale)).equals(value)) {
13112
- tmp_6 = durationOfMillis(coerceIn_1(result, (new Long(1, -1073741824)).i3(new Long(-1, 1073741823))));
13124
+ tmp_6 = durationOfMillis(coerceIn_2(result, (new Long(1, -1073741824)).i3(new Long(-1, 1073741823))));
13113
13125
  } else {
13114
13126
  tmp_6 = imul(get_sign(value), get_sign_0(scale)) > 0 ? Companion_getInstance_23().bl_1 : Companion_getInstance_23().cl_1;
13115
13127
  }
@@ -16418,131 +16430,133 @@ if (typeof String.prototype.endsWith === 'undefined') {
16418
16430
  _.$_$.wc = roundToInt;
16419
16431
  _.$_$.xc = round;
16420
16432
  _.$_$.yc = ClosedRange;
16421
- _.$_$.zc = coerceAtLeast;
16422
- _.$_$.ad = coerceAtMost_0;
16423
- _.$_$.bd = coerceAtMost;
16424
- _.$_$.cd = coerceIn;
16425
- _.$_$.dd = contains_5;
16426
- _.$_$.ed = downTo;
16427
- _.$_$.fd = step;
16428
- _.$_$.gd = until;
16429
- _.$_$.hd = KClass;
16430
- _.$_$.id = KMutableProperty1;
16431
- _.$_$.jd = KProperty0;
16432
- _.$_$.kd = KProperty1;
16433
- _.$_$.ld = KTypeParameter;
16434
- _.$_$.md = filter;
16435
- _.$_$.nd = firstOrNull_2;
16436
- _.$_$.od = flatMap;
16437
- _.$_$.pd = mapNotNull;
16438
- _.$_$.qd = map;
16439
- _.$_$.rd = toList_2;
16440
- _.$_$.sd = concatToString;
16441
- _.$_$.td = contains_8;
16442
- _.$_$.ud = contains_7;
16443
- _.$_$.vd = decodeToString;
16444
- _.$_$.wd = encodeToByteArray;
16445
- _.$_$.xd = endsWith_0;
16446
- _.$_$.yd = endsWith;
16447
- _.$_$.zd = equals_0;
16448
- _.$_$.ae = first_2;
16449
- _.$_$.be = indexOfAny;
16450
- _.$_$.ce = indexOf_5;
16451
- _.$_$.de = indexOf_4;
16452
- _.$_$.ee = isBlank;
16453
- _.$_$.fe = isHighSurrogate;
16454
- _.$_$.ge = isLowSurrogate;
16455
- _.$_$.he = isSurrogate;
16456
- _.$_$.ie = isWhitespace;
16457
- _.$_$.je = get_lastIndex_3;
16458
- _.$_$.ke = lastIndexOf_0;
16459
- _.$_$.le = last_2;
16460
- _.$_$.me = padStart;
16461
- _.$_$.ne = removePrefix;
16462
- _.$_$.oe = removeSuffix;
16463
- _.$_$.pe = repeat;
16464
- _.$_$.qe = replace;
16465
- _.$_$.re = replace_0;
16466
- _.$_$.se = single_2;
16467
- _.$_$.te = split;
16468
- _.$_$.ue = split_1;
16469
- _.$_$.ve = startsWith;
16470
- _.$_$.we = startsWith_1;
16471
- _.$_$.xe = substringAfter;
16472
- _.$_$.ye = substringBefore;
16473
- _.$_$.ze = substring_0;
16474
- _.$_$.af = substring;
16475
- _.$_$.bf = take_0;
16476
- _.$_$.cf = toBooleanStrictOrNull;
16477
- _.$_$.df = toDoubleOrNull;
16478
- _.$_$.ef = toDouble;
16479
- _.$_$.ff = toIntOrNull;
16480
- _.$_$.gf = toInt;
16481
- _.$_$.hf = toLongOrNull;
16482
- _.$_$.if = toLong_0;
16483
- _.$_$.jf = toString_3;
16484
- _.$_$.kf = toUByte;
16485
- _.$_$.lf = toUInt;
16486
- _.$_$.mf = toULongOrNull;
16487
- _.$_$.nf = toULong;
16488
- _.$_$.of = toUShort;
16489
- _.$_$.pf = trimIndent;
16490
- _.$_$.qf = trimMargin;
16491
- _.$_$.rf = trim;
16492
- _.$_$.sf = Duration;
16493
- _.$_$.tf = Instant;
16494
- _.$_$.uf = toDuration_1;
16495
- _.$_$.vf = toDuration_0;
16496
- _.$_$.wf = toDuration;
16497
- _.$_$.xf = Uuid;
16498
- _.$_$.yf = ArithmeticException;
16499
- _.$_$.zf = Char;
16500
- _.$_$.ag = Comparable;
16501
- _.$_$.bg = Comparator;
16502
- _.$_$.cg = DeepRecursiveFunction;
16503
- _.$_$.dg = DeepRecursiveScope;
16504
- _.$_$.eg = Enum;
16505
- _.$_$.fg = Error_0;
16506
- _.$_$.gg = Exception;
16507
- _.$_$.hg = IllegalArgumentException;
16508
- _.$_$.ig = IllegalStateException;
16509
- _.$_$.jg = Long;
16510
- _.$_$.kg = NoSuchElementException;
16511
- _.$_$.lg = Pair;
16512
- _.$_$.mg = Result;
16513
- _.$_$.ng = RuntimeException;
16514
- _.$_$.og = THROW_CCE;
16515
- _.$_$.pg = THROW_IAE;
16516
- _.$_$.qg = Triple;
16517
- _.$_$.rg = UByteArray;
16518
- _.$_$.sg = UByte;
16519
- _.$_$.tg = UIntArray;
16520
- _.$_$.ug = UInt;
16521
- _.$_$.vg = ULongArray;
16522
- _.$_$.wg = ULong;
16523
- _.$_$.xg = UShortArray;
16524
- _.$_$.yg = UShort;
16525
- _.$_$.zg = Unit;
16526
- _.$_$.ah = UnsupportedOperationException;
16527
- _.$_$.bh = addSuppressed;
16528
- _.$_$.ch = arrayOf;
16529
- _.$_$.dh = countTrailingZeroBits;
16530
- _.$_$.eh = createFailure;
16531
- _.$_$.fh = ensureNotNull;
16532
- _.$_$.gh = invoke;
16533
- _.$_$.hh = isFinite;
16534
- _.$_$.ih = isFinite_0;
16535
- _.$_$.jh = isNaN_0;
16536
- _.$_$.kh = lazy_0;
16537
- _.$_$.lh = lazy;
16538
- _.$_$.mh = noWhenBranchMatchedException;
16539
- _.$_$.nh = plus_4;
16540
- _.$_$.oh = printStackTrace;
16541
- _.$_$.ph = stackTraceToString;
16542
- _.$_$.qh = throwOnFailure;
16543
- _.$_$.rh = throwUninitializedPropertyAccessException;
16544
- _.$_$.sh = toString_0;
16545
- _.$_$.th = to;
16433
+ _.$_$.zc = coerceAtLeast_0;
16434
+ _.$_$.ad = coerceAtLeast;
16435
+ _.$_$.bd = coerceAtMost_0;
16436
+ _.$_$.cd = coerceAtMost;
16437
+ _.$_$.dd = coerceIn_0;
16438
+ _.$_$.ed = coerceIn;
16439
+ _.$_$.fd = contains_5;
16440
+ _.$_$.gd = downTo;
16441
+ _.$_$.hd = step;
16442
+ _.$_$.id = until;
16443
+ _.$_$.jd = KClass;
16444
+ _.$_$.kd = KMutableProperty1;
16445
+ _.$_$.ld = KProperty0;
16446
+ _.$_$.md = KProperty1;
16447
+ _.$_$.nd = KTypeParameter;
16448
+ _.$_$.od = filter;
16449
+ _.$_$.pd = firstOrNull_2;
16450
+ _.$_$.qd = flatMap;
16451
+ _.$_$.rd = mapNotNull;
16452
+ _.$_$.sd = map;
16453
+ _.$_$.td = toList_2;
16454
+ _.$_$.ud = concatToString;
16455
+ _.$_$.vd = contains_8;
16456
+ _.$_$.wd = contains_7;
16457
+ _.$_$.xd = decodeToString;
16458
+ _.$_$.yd = encodeToByteArray;
16459
+ _.$_$.zd = endsWith_0;
16460
+ _.$_$.ae = endsWith;
16461
+ _.$_$.be = equals_0;
16462
+ _.$_$.ce = first_2;
16463
+ _.$_$.de = indexOfAny;
16464
+ _.$_$.ee = indexOf_5;
16465
+ _.$_$.fe = indexOf_4;
16466
+ _.$_$.ge = isBlank;
16467
+ _.$_$.he = isHighSurrogate;
16468
+ _.$_$.ie = isLowSurrogate;
16469
+ _.$_$.je = isSurrogate;
16470
+ _.$_$.ke = isWhitespace;
16471
+ _.$_$.le = get_lastIndex_3;
16472
+ _.$_$.me = lastIndexOf_0;
16473
+ _.$_$.ne = last_2;
16474
+ _.$_$.oe = padStart;
16475
+ _.$_$.pe = removePrefix;
16476
+ _.$_$.qe = removeSuffix;
16477
+ _.$_$.re = repeat;
16478
+ _.$_$.se = replace;
16479
+ _.$_$.te = replace_0;
16480
+ _.$_$.ue = single_2;
16481
+ _.$_$.ve = split;
16482
+ _.$_$.we = split_1;
16483
+ _.$_$.xe = startsWith;
16484
+ _.$_$.ye = startsWith_1;
16485
+ _.$_$.ze = substringAfter;
16486
+ _.$_$.af = substringBefore;
16487
+ _.$_$.bf = substring_0;
16488
+ _.$_$.cf = substring;
16489
+ _.$_$.df = take_0;
16490
+ _.$_$.ef = toBooleanStrictOrNull;
16491
+ _.$_$.ff = toDoubleOrNull;
16492
+ _.$_$.gf = toDouble;
16493
+ _.$_$.hf = toIntOrNull;
16494
+ _.$_$.if = toInt;
16495
+ _.$_$.jf = toLongOrNull;
16496
+ _.$_$.kf = toLong_0;
16497
+ _.$_$.lf = toString_3;
16498
+ _.$_$.mf = toUByte;
16499
+ _.$_$.nf = toUInt;
16500
+ _.$_$.of = toULongOrNull;
16501
+ _.$_$.pf = toULong;
16502
+ _.$_$.qf = toUShort;
16503
+ _.$_$.rf = trimIndent;
16504
+ _.$_$.sf = trimMargin;
16505
+ _.$_$.tf = trim;
16506
+ _.$_$.uf = Duration;
16507
+ _.$_$.vf = Instant;
16508
+ _.$_$.wf = toDuration_1;
16509
+ _.$_$.xf = toDuration_0;
16510
+ _.$_$.yf = toDuration;
16511
+ _.$_$.zf = Uuid;
16512
+ _.$_$.ag = ArithmeticException;
16513
+ _.$_$.bg = Char;
16514
+ _.$_$.cg = Comparable;
16515
+ _.$_$.dg = Comparator;
16516
+ _.$_$.eg = DeepRecursiveFunction;
16517
+ _.$_$.fg = DeepRecursiveScope;
16518
+ _.$_$.gg = Enum;
16519
+ _.$_$.hg = Error_0;
16520
+ _.$_$.ig = Exception;
16521
+ _.$_$.jg = IllegalArgumentException;
16522
+ _.$_$.kg = IllegalStateException;
16523
+ _.$_$.lg = Long;
16524
+ _.$_$.mg = NoSuchElementException;
16525
+ _.$_$.ng = Pair;
16526
+ _.$_$.og = Result;
16527
+ _.$_$.pg = RuntimeException;
16528
+ _.$_$.qg = THROW_CCE;
16529
+ _.$_$.rg = THROW_IAE;
16530
+ _.$_$.sg = Triple;
16531
+ _.$_$.tg = UByteArray;
16532
+ _.$_$.ug = UByte;
16533
+ _.$_$.vg = UIntArray;
16534
+ _.$_$.wg = UInt;
16535
+ _.$_$.xg = ULongArray;
16536
+ _.$_$.yg = ULong;
16537
+ _.$_$.zg = UShortArray;
16538
+ _.$_$.ah = UShort;
16539
+ _.$_$.bh = Unit;
16540
+ _.$_$.ch = UnsupportedOperationException;
16541
+ _.$_$.dh = addSuppressed;
16542
+ _.$_$.eh = arrayOf;
16543
+ _.$_$.fh = countTrailingZeroBits;
16544
+ _.$_$.gh = createFailure;
16545
+ _.$_$.hh = ensureNotNull;
16546
+ _.$_$.ih = invoke;
16547
+ _.$_$.jh = isFinite;
16548
+ _.$_$.kh = isFinite_0;
16549
+ _.$_$.lh = isNaN_0;
16550
+ _.$_$.mh = lazy_0;
16551
+ _.$_$.nh = lazy;
16552
+ _.$_$.oh = noWhenBranchMatchedException;
16553
+ _.$_$.ph = plus_4;
16554
+ _.$_$.qh = printStackTrace;
16555
+ _.$_$.rh = stackTraceToString;
16556
+ _.$_$.sh = throwOnFailure;
16557
+ _.$_$.th = throwUninitializedPropertyAccessException;
16558
+ _.$_$.uh = toString_0;
16559
+ _.$_$.vh = to;
16546
16560
  //endregion
16547
16561
  return _;
16548
16562
  }));