game_client_logic_deb 1.8.259 → 1.8.289
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/Kosi-Kodein-kodein-di.js +67 -67
- package/Kosi-Kodein-kodein-di.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime.js +2 -2
- package/Logic_Debertz-core.js +1950 -1341
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +21256 -14327
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +142 -57
- package/Logic_Debertz-game_client.js +2842 -2733
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +8 -8
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +1 -1
- package/raspberry-cardgame-lib-random.js +28 -16
- package/raspberry-cardgame-lib-random.js.map +1 -1
package/kotlin-kotlin-stdlib.js
CHANGED
|
@@ -458,15 +458,21 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
458
458
|
return toCollection(_this__u8e3s4, LinkedHashSet_init_$Create$_1(mapCapacity(_this__u8e3s4.length)));
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
|
-
function
|
|
461
|
+
function first(_this__u8e3s4) {
|
|
462
462
|
// Inline function 'kotlin.collections.isEmpty' call
|
|
463
463
|
if (_this__u8e3s4.length === 0)
|
|
464
464
|
throw NoSuchElementException_init_$Create$_0('Array is empty.');
|
|
465
|
-
return _this__u8e3s4[
|
|
465
|
+
return _this__u8e3s4[0];
|
|
466
466
|
}
|
|
467
467
|
function contains_0(_this__u8e3s4, element) {
|
|
468
468
|
return indexOf(_this__u8e3s4, element) >= 0;
|
|
469
469
|
}
|
|
470
|
+
function last(_this__u8e3s4) {
|
|
471
|
+
// Inline function 'kotlin.collections.isEmpty' call
|
|
472
|
+
if (_this__u8e3s4.length === 0)
|
|
473
|
+
throw NoSuchElementException_init_$Create$_0('Array is empty.');
|
|
474
|
+
return _this__u8e3s4[get_lastIndex(_this__u8e3s4)];
|
|
475
|
+
}
|
|
470
476
|
function firstOrNull(_this__u8e3s4) {
|
|
471
477
|
var tmp;
|
|
472
478
|
// Inline function 'kotlin.collections.isEmpty' call
|
|
@@ -477,12 +483,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
477
483
|
}
|
|
478
484
|
return tmp;
|
|
479
485
|
}
|
|
480
|
-
function first(_this__u8e3s4) {
|
|
481
|
-
// Inline function 'kotlin.collections.isEmpty' call
|
|
482
|
-
if (_this__u8e3s4.length === 0)
|
|
483
|
-
throw NoSuchElementException_init_$Create$_0('Array is empty.');
|
|
484
|
-
return _this__u8e3s4[0];
|
|
485
|
-
}
|
|
486
486
|
function indexOf(_this__u8e3s4, element) {
|
|
487
487
|
if (element == null) {
|
|
488
488
|
var inductionVariable = 0;
|