game_client_logic_deb 1.8.245 → 1.8.246
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.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +7 -6
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Logic_Debertz-core.js +948 -893
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +14299 -11807
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +103 -3
- package/Logic_Debertz-game_client.js +2374 -2402
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +30 -30
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +1 -1
- package/package.json +1 -1
- package/raspberry-cardgame-lib-random.js +1 -1
package/kotlin-kotlin-stdlib.js
CHANGED
|
@@ -57,12 +57,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
57
57
|
};
|
|
58
58
|
}(Math.log, Math.LN2);
|
|
59
59
|
}
|
|
60
|
-
if (typeof String.prototype.startsWith === 'undefined') {
|
|
61
|
-
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
62
|
-
position = position || 0;
|
|
63
|
-
return this.lastIndexOf(searchString, position) === position;
|
|
64
|
-
}});
|
|
65
|
-
}
|
|
66
60
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
67
61
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
68
62
|
var subjectString = this.toString();
|
|
@@ -74,6 +68,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
74
68
|
return lastIndex !== -1 && lastIndex === position;
|
|
75
69
|
}});
|
|
76
70
|
}
|
|
71
|
+
if (typeof String.prototype.startsWith === 'undefined') {
|
|
72
|
+
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
73
|
+
position = position || 0;
|
|
74
|
+
return this.lastIndexOf(searchString, position) === position;
|
|
75
|
+
}});
|
|
76
|
+
}
|
|
77
77
|
//endregion
|
|
78
78
|
(function (factory) {
|
|
79
79
|
if (typeof define === 'function' && define.amd)
|
|
@@ -464,6 +464,9 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
464
464
|
throw NoSuchElementException_init_$Create$_0('Array is empty.');
|
|
465
465
|
return _this__u8e3s4[get_lastIndex(_this__u8e3s4)];
|
|
466
466
|
}
|
|
467
|
+
function contains_0(_this__u8e3s4, element) {
|
|
468
|
+
return indexOf(_this__u8e3s4, element) >= 0;
|
|
469
|
+
}
|
|
467
470
|
function firstOrNull(_this__u8e3s4) {
|
|
468
471
|
var tmp;
|
|
469
472
|
// Inline function 'kotlin.collections.isEmpty' call
|
|
@@ -480,9 +483,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
480
483
|
throw NoSuchElementException_init_$Create$_0('Array is empty.');
|
|
481
484
|
return _this__u8e3s4[0];
|
|
482
485
|
}
|
|
483
|
-
function contains_0(_this__u8e3s4, element) {
|
|
484
|
-
return indexOf(_this__u8e3s4, element) >= 0;
|
|
485
|
-
}
|
|
486
486
|
function indexOf(_this__u8e3s4, element) {
|
|
487
487
|
if (element == null) {
|
|
488
488
|
var inductionVariable = 0;
|
|
@@ -925,6 +925,9 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
925
925
|
}
|
|
926
926
|
return optimizeReadOnlyList(list);
|
|
927
927
|
}
|
|
928
|
+
function lastOrNull(_this__u8e3s4) {
|
|
929
|
+
return _this__u8e3s4.p() ? null : _this__u8e3s4.o(_this__u8e3s4.m() - 1 | 0);
|
|
930
|
+
}
|
|
928
931
|
function sorted(_this__u8e3s4) {
|
|
929
932
|
if (isInterface(_this__u8e3s4, Collection)) {
|
|
930
933
|
if (_this__u8e3s4.m() <= 1)
|
|
@@ -982,9 +985,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
982
985
|
function singleOrNull(_this__u8e3s4) {
|
|
983
986
|
return _this__u8e3s4.m() === 1 ? _this__u8e3s4.o(0) : null;
|
|
984
987
|
}
|
|
985
|
-
function lastOrNull(_this__u8e3s4) {
|
|
986
|
-
return _this__u8e3s4.p() ? null : _this__u8e3s4.o(_this__u8e3s4.m() - 1 | 0);
|
|
987
|
-
}
|
|
988
988
|
function toList_0(_this__u8e3s4) {
|
|
989
989
|
if (isInterface(_this__u8e3s4, Collection)) {
|
|
990
990
|
var tmp;
|
|
@@ -1352,13 +1352,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
1352
1352
|
function mapNotNull(_this__u8e3s4, transform) {
|
|
1353
1353
|
return filterNotNull_1(new TransformingSequence(_this__u8e3s4, transform));
|
|
1354
1354
|
}
|
|
1355
|
-
function filterNotNull_1(_this__u8e3s4) {
|
|
1356
|
-
var tmp = filterNot(_this__u8e3s4, filterNotNull$lambda);
|
|
1357
|
-
return isInterface(tmp, Sequence) ? tmp : THROW_CCE();
|
|
1358
|
-
}
|
|
1359
|
-
function filterNot(_this__u8e3s4, predicate) {
|
|
1360
|
-
return new FilteringSequence(_this__u8e3s4, false, predicate);
|
|
1361
|
-
}
|
|
1362
1355
|
function firstOrNull_2(_this__u8e3s4) {
|
|
1363
1356
|
var iterator = _this__u8e3s4.j();
|
|
1364
1357
|
if (!iterator.k())
|
|
@@ -1368,6 +1361,13 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
1368
1361
|
function filter(_this__u8e3s4, predicate) {
|
|
1369
1362
|
return new FilteringSequence(_this__u8e3s4, true, predicate);
|
|
1370
1363
|
}
|
|
1364
|
+
function filterNotNull_1(_this__u8e3s4) {
|
|
1365
|
+
var tmp = filterNot(_this__u8e3s4, filterNotNull$lambda);
|
|
1366
|
+
return isInterface(tmp, Sequence) ? tmp : THROW_CCE();
|
|
1367
|
+
}
|
|
1368
|
+
function filterNot(_this__u8e3s4, predicate) {
|
|
1369
|
+
return new FilteringSequence(_this__u8e3s4, false, predicate);
|
|
1370
|
+
}
|
|
1371
1371
|
function flatMap(_this__u8e3s4, transform) {
|
|
1372
1372
|
return new FlatteningSequence(_this__u8e3s4, transform, Sequence$iterator$ref());
|
|
1373
1373
|
}
|
|
@@ -4008,6 +4008,9 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
4008
4008
|
function setOf(element) {
|
|
4009
4009
|
return hashSetOf([element]);
|
|
4010
4010
|
}
|
|
4011
|
+
function mapOf(pair) {
|
|
4012
|
+
return hashMapOf([pair]);
|
|
4013
|
+
}
|
|
4011
4014
|
function mapCapacity(expectedSize) {
|
|
4012
4015
|
return expectedSize;
|
|
4013
4016
|
}
|
|
@@ -4058,9 +4061,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
4058
4061
|
}
|
|
4059
4062
|
while (inductionVariable < last);
|
|
4060
4063
|
}
|
|
4061
|
-
function mapOf(pair) {
|
|
4062
|
-
return hashMapOf([pair]);
|
|
4063
|
-
}
|
|
4064
4064
|
function arrayCopy(source, destination, destinationOffset, startIndex, endIndex) {
|
|
4065
4065
|
Companion_instance_8.h4(startIndex, endIndex, source.length);
|
|
4066
4066
|
var rangeSize = endIndex - startIndex | 0;
|
|
@@ -9792,6 +9792,14 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
9792
9792
|
function toMutableMap(_this__u8e3s4) {
|
|
9793
9793
|
return LinkedHashMap_init_$Create$_1(_this__u8e3s4);
|
|
9794
9794
|
}
|
|
9795
|
+
function hashMapOf(pairs) {
|
|
9796
|
+
// Inline function 'kotlin.apply' call
|
|
9797
|
+
var this_0 = HashMap_init_$Create$_0(mapCapacity(pairs.length));
|
|
9798
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
9799
|
+
// Inline function 'kotlin.collections.hashMapOf.<anonymous>' call
|
|
9800
|
+
putAll(this_0, pairs);
|
|
9801
|
+
return this_0;
|
|
9802
|
+
}
|
|
9795
9803
|
function EmptyMap() {
|
|
9796
9804
|
EmptyMap_instance = this;
|
|
9797
9805
|
this.je_1 = new Long(-888910638, 1920087921);
|
|
@@ -9913,14 +9921,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
9913
9921
|
_this__u8e3s4.j2(key, value);
|
|
9914
9922
|
}
|
|
9915
9923
|
}
|
|
9916
|
-
function hashMapOf(pairs) {
|
|
9917
|
-
// Inline function 'kotlin.apply' call
|
|
9918
|
-
var this_0 = HashMap_init_$Create$_0(mapCapacity(pairs.length));
|
|
9919
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
9920
|
-
// Inline function 'kotlin.collections.hashMapOf.<anonymous>' call
|
|
9921
|
-
putAll(this_0, pairs);
|
|
9922
|
-
return this_0;
|
|
9923
|
-
}
|
|
9924
9924
|
function toMap_2(_this__u8e3s4) {
|
|
9925
9925
|
var tmp;
|
|
9926
9926
|
switch (_this__u8e3s4.m()) {
|