game_client_logic_deb 1.8.332 → 1.8.333
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 +2 -2
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +116 -108
- package/Logic_Debertz-engine.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +10 -10
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
function addFormatStructureForTime(structure) {
|
|
325
325
|
this.y58(structure);
|
|
326
326
|
}
|
|
327
|
-
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder,
|
|
327
|
+
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
|
|
328
328
|
function offsetHours$default(padding, $super) {
|
|
329
329
|
padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
|
|
330
330
|
var tmp;
|
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
return tmp;
|
|
378
378
|
}
|
|
379
379
|
initMetadataForInterface(AbstractWithOffsetBuilder, 'AbstractWithOffsetBuilder', VOID, VOID, [WithUtcOffset]);
|
|
380
|
-
initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder,
|
|
380
|
+
initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithUtcOffset, WithTime, WithDate]);
|
|
381
381
|
initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
|
|
382
382
|
initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
|
|
383
383
|
initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber');
|
package/Logic_Debertz-core.js
CHANGED
|
@@ -380,7 +380,7 @@
|
|
|
380
380
|
initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
|
|
381
381
|
//endregion
|
|
382
382
|
function GameEngineConfig() {
|
|
383
|
-
this.version = '1.8.
|
|
383
|
+
this.version = '1.8.333';
|
|
384
384
|
}
|
|
385
385
|
protoOf(GameEngineConfig).o2y = function () {
|
|
386
386
|
return this.version;
|
package/Logic_Debertz-engine.js
CHANGED
|
@@ -54322,68 +54322,75 @@
|
|
|
54322
54322
|
return rules instanceof Rules ? rules : THROW_CCE();
|
|
54323
54323
|
}
|
|
54324
54324
|
var map = mapOfObject(rules);
|
|
54325
|
-
var
|
|
54326
|
-
var
|
|
54327
|
-
|
|
54328
|
-
|
|
54329
|
-
|
|
54330
|
-
|
|
54331
|
-
|
|
54332
|
-
|
|
54333
|
-
|
|
54334
|
-
|
|
54335
|
-
|
|
54336
|
-
|
|
54337
|
-
|
|
54338
|
-
|
|
54339
|
-
|
|
54340
|
-
|
|
54341
|
-
|
|
54342
|
-
|
|
54343
|
-
|
|
54344
|
-
|
|
54345
|
-
|
|
54346
|
-
var tmp6_elvis_lhs = (!(tmp_6 == null) ? typeof tmp_6 === 'number' : false) ? tmp_6 : null;
|
|
54347
|
-
var tmp40_dealerFinalCardsCount = tmp6_elvis_lhs == null ? 9 : tmp6_elvis_lhs;
|
|
54348
|
-
var tmp_7 = map.k2('contractTypes');
|
|
54349
|
-
var tmp7_safe_receiver = (!(tmp_7 == null) ? isArray(tmp_7) : false) ? tmp_7 : null;
|
|
54350
|
-
var tmp_8;
|
|
54351
|
-
if (tmp7_safe_receiver == null) {
|
|
54352
|
-
tmp_8 = null;
|
|
54353
|
-
} else {
|
|
54354
|
-
// Inline function 'kotlin.collections.map' call
|
|
54355
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
54356
|
-
var destination = ArrayList_init_$Create$(tmp7_safe_receiver.length);
|
|
54357
|
-
var inductionVariable = 0;
|
|
54358
|
-
var last = tmp7_safe_receiver.length;
|
|
54359
|
-
while (inductionVariable < last) {
|
|
54360
|
-
var item = tmp7_safe_receiver[inductionVariable];
|
|
54361
|
-
inductionVariable = inductionVariable + 1 | 0;
|
|
54362
|
-
// Inline function 'GameHelperImpl.mapRulesObject.<anonymous>' call
|
|
54363
|
-
var tmp$ret$0 = toRoundContractType(item);
|
|
54364
|
-
destination.e(tmp$ret$0);
|
|
54325
|
+
var combinationsJson = map.k2('combinationsWithFirstCard');
|
|
54326
|
+
var tmp;
|
|
54327
|
+
if (combinationsJson != undefined && combinationsJson != null) {
|
|
54328
|
+
var tmp0_safe_receiver = (!(combinationsJson == null) ? isArray(combinationsJson) : false) ? combinationsJson : null;
|
|
54329
|
+
var tmp_0;
|
|
54330
|
+
if (tmp0_safe_receiver == null) {
|
|
54331
|
+
tmp_0 = null;
|
|
54332
|
+
} else {
|
|
54333
|
+
// Inline function 'kotlin.collections.map' call
|
|
54334
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
54335
|
+
var destination = ArrayList_init_$Create$(tmp0_safe_receiver.length);
|
|
54336
|
+
var inductionVariable = 0;
|
|
54337
|
+
var last = tmp0_safe_receiver.length;
|
|
54338
|
+
while (inductionVariable < last) {
|
|
54339
|
+
var item = tmp0_safe_receiver[inductionVariable];
|
|
54340
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
54341
|
+
// Inline function 'GameHelperImpl.mapRulesObject.<anonymous>' call
|
|
54342
|
+
var tmp$ret$0 = mapToCombinationType(item);
|
|
54343
|
+
destination.e(tmp$ret$0);
|
|
54344
|
+
}
|
|
54345
|
+
tmp_0 = destination;
|
|
54365
54346
|
}
|
|
54366
|
-
|
|
54367
|
-
|
|
54368
|
-
|
|
54369
|
-
|
|
54370
|
-
|
|
54371
|
-
|
|
54347
|
+
var tmp1_safe_receiver = tmp_0;
|
|
54348
|
+
var tmp_1;
|
|
54349
|
+
if (tmp1_safe_receiver == null) {
|
|
54350
|
+
tmp_1 = null;
|
|
54351
|
+
} else {
|
|
54352
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
54353
|
+
tmp_1 = copyToArray(tmp1_safe_receiver);
|
|
54354
|
+
}
|
|
54355
|
+
var tmp2_elvis_lhs = tmp_1;
|
|
54356
|
+
var tmp_2;
|
|
54357
|
+
if (tmp2_elvis_lhs == null) {
|
|
54358
|
+
// Inline function 'kotlin.emptyArray' call
|
|
54359
|
+
tmp_2 = [];
|
|
54360
|
+
} else {
|
|
54361
|
+
tmp_2 = tmp2_elvis_lhs;
|
|
54362
|
+
}
|
|
54363
|
+
tmp = tmp_2;
|
|
54372
54364
|
} else {
|
|
54373
54365
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
54374
|
-
|
|
54375
|
-
|
|
54376
|
-
var tmp9_elvis_lhs = tmp_9;
|
|
54377
|
-
var tmp_10;
|
|
54378
|
-
if (tmp9_elvis_lhs == null) {
|
|
54379
|
-
// Inline function 'kotlin.collections.toTypedArray' call
|
|
54380
|
-
var this_0 = Companion_getInstance_25().debertzContractTypes;
|
|
54381
|
-
tmp_10 = copyToArray(this_0);
|
|
54382
|
-
} else {
|
|
54383
|
-
tmp_10 = tmp9_elvis_lhs;
|
|
54366
|
+
var this_0 = Companion_getInstance_154().debertzWithFirstCardCombinations;
|
|
54367
|
+
tmp = copyToArray(this_0);
|
|
54384
54368
|
}
|
|
54385
|
-
var
|
|
54386
|
-
var
|
|
54369
|
+
var combinationTypes = tmp;
|
|
54370
|
+
var tmp_3 = map.k2('name');
|
|
54371
|
+
var tmp33_name = (!(tmp_3 == null) ? typeof tmp_3 === 'string' : false) ? tmp_3 : null;
|
|
54372
|
+
var tmp_4 = map.k2('playerWhoChooseSuitGoFirst');
|
|
54373
|
+
var tmp3_elvis_lhs = (!(tmp_4 == null) ? typeof tmp_4 === 'boolean' : false) ? tmp_4 : null;
|
|
54374
|
+
var tmp34_playerWhoChooseSuitGoFirst = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
|
|
54375
|
+
var tmp_5 = map.k2('winnerShuffleCards');
|
|
54376
|
+
var tmp4_elvis_lhs = (!(tmp_5 == null) ? typeof tmp_5 === 'boolean' : false) ? tmp_5 : null;
|
|
54377
|
+
var tmp35_winnerShuffleCards = tmp4_elvis_lhs == null ? false : tmp4_elvis_lhs;
|
|
54378
|
+
var tmp_6 = map.k2('playWithoutLiabilities');
|
|
54379
|
+
var tmp5_elvis_lhs = (!(tmp_6 == null) ? typeof tmp_6 === 'boolean' : false) ? tmp_6 : null;
|
|
54380
|
+
var tmp36_playWithoutLiabilities = tmp5_elvis_lhs == null ? false : tmp5_elvis_lhs;
|
|
54381
|
+
var tmp_7 = map.k2('trumpCardGoToPlayerWhoShuffleCards');
|
|
54382
|
+
var tmp6_elvis_lhs = (!(tmp_7 == null) ? typeof tmp_7 === 'boolean' : false) ? tmp_7 : null;
|
|
54383
|
+
var tmp37_trumpCardGoToPlayerWhoShuffleCards = tmp6_elvis_lhs == null ? false : tmp6_elvis_lhs;
|
|
54384
|
+
var tmp_8 = map.k2('dealerCounterClockwise');
|
|
54385
|
+
var tmp7_elvis_lhs = (!(tmp_8 == null) ? typeof tmp_8 === 'boolean' : false) ? tmp_8 : null;
|
|
54386
|
+
var tmp38_dealerCounterClockwise = tmp7_elvis_lhs == null ? false : tmp7_elvis_lhs;
|
|
54387
|
+
var tmp_9 = map.k2('dealerInitialCardsCount');
|
|
54388
|
+
var tmp8_elvis_lhs = (!(tmp_9 == null) ? typeof tmp_9 === 'number' : false) ? tmp_9 : null;
|
|
54389
|
+
var tmp39_dealerInitialCardsCount = tmp8_elvis_lhs == null ? 6 : tmp8_elvis_lhs;
|
|
54390
|
+
var tmp_10 = map.k2('dealerFinalCardsCount');
|
|
54391
|
+
var tmp9_elvis_lhs = (!(tmp_10 == null) ? typeof tmp_10 === 'number' : false) ? tmp_10 : null;
|
|
54392
|
+
var tmp40_dealerFinalCardsCount = tmp9_elvis_lhs == null ? 9 : tmp9_elvis_lhs;
|
|
54393
|
+
var tmp_11 = map.k2('contractTypes');
|
|
54387
54394
|
var tmp10_safe_receiver = (!(tmp_11 == null) ? isArray(tmp_11) : false) ? tmp_11 : null;
|
|
54388
54395
|
var tmp_12;
|
|
54389
54396
|
if (tmp10_safe_receiver == null) {
|
|
@@ -54398,8 +54405,8 @@
|
|
|
54398
54405
|
var item_0 = tmp10_safe_receiver[inductionVariable_0];
|
|
54399
54406
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
54400
54407
|
// Inline function 'GameHelperImpl.mapRulesObject.<anonymous>' call
|
|
54401
|
-
var tmp$ret$
|
|
54402
|
-
destination_0.e(tmp$ret$
|
|
54408
|
+
var tmp$ret$6 = toRoundContractType(item_0);
|
|
54409
|
+
destination_0.e(tmp$ret$6);
|
|
54403
54410
|
}
|
|
54404
54411
|
tmp_12 = destination_0;
|
|
54405
54412
|
}
|
|
@@ -54414,80 +54421,81 @@
|
|
|
54414
54421
|
var tmp12_elvis_lhs = tmp_13;
|
|
54415
54422
|
var tmp_14;
|
|
54416
54423
|
if (tmp12_elvis_lhs == null) {
|
|
54417
|
-
// Inline function 'kotlin.
|
|
54418
|
-
|
|
54424
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
54425
|
+
var this_1 = Companion_getInstance_25().debertzContractTypes;
|
|
54426
|
+
tmp_14 = copyToArray(this_1);
|
|
54419
54427
|
} else {
|
|
54420
54428
|
tmp_14 = tmp12_elvis_lhs;
|
|
54421
54429
|
}
|
|
54422
|
-
var
|
|
54423
|
-
var tmp_15 = map.k2('
|
|
54424
|
-
var
|
|
54425
|
-
var
|
|
54426
|
-
|
|
54427
|
-
|
|
54428
|
-
var tmp15_elvis_lhs = tmp14_safe_receiver == null ? null : toTrumpCardStepPartnerMode(tmp14_safe_receiver);
|
|
54429
|
-
var tmp44_trumpCardStepPartnerMode = tmp15_elvis_lhs == null ? TrumpCardStepPartnerMode_ANY_TRUMP_CARD_getInstance() : tmp15_elvis_lhs;
|
|
54430
|
-
var tmp_17 = map.k2('combinationsWithFirstCard');
|
|
54431
|
-
var tmp16_safe_receiver = (!(tmp_17 == null) ? isArray(tmp_17) : false) ? tmp_17 : null;
|
|
54432
|
-
var tmp_18;
|
|
54433
|
-
if (tmp16_safe_receiver == null) {
|
|
54434
|
-
tmp_18 = null;
|
|
54430
|
+
var tmp41_contractTypes = tmp_14;
|
|
54431
|
+
var tmp_15 = map.k2('bidTypes');
|
|
54432
|
+
var tmp13_safe_receiver = (!(tmp_15 == null) ? isArray(tmp_15) : false) ? tmp_15 : null;
|
|
54433
|
+
var tmp_16;
|
|
54434
|
+
if (tmp13_safe_receiver == null) {
|
|
54435
|
+
tmp_16 = null;
|
|
54435
54436
|
} else {
|
|
54436
54437
|
// Inline function 'kotlin.collections.map' call
|
|
54437
54438
|
// Inline function 'kotlin.collections.mapTo' call
|
|
54438
|
-
var destination_1 = ArrayList_init_$Create$(
|
|
54439
|
+
var destination_1 = ArrayList_init_$Create$(tmp13_safe_receiver.length);
|
|
54439
54440
|
var inductionVariable_1 = 0;
|
|
54440
|
-
var last_1 =
|
|
54441
|
+
var last_1 = tmp13_safe_receiver.length;
|
|
54441
54442
|
while (inductionVariable_1 < last_1) {
|
|
54442
|
-
var item_1 =
|
|
54443
|
+
var item_1 = tmp13_safe_receiver[inductionVariable_1];
|
|
54443
54444
|
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
54444
54445
|
// Inline function 'GameHelperImpl.mapRulesObject.<anonymous>' call
|
|
54445
|
-
var tmp$ret$
|
|
54446
|
-
destination_1.e(tmp$ret$
|
|
54446
|
+
var tmp$ret$11 = toBidType(item_1);
|
|
54447
|
+
destination_1.e(tmp$ret$11);
|
|
54447
54448
|
}
|
|
54448
|
-
|
|
54449
|
+
tmp_16 = destination_1;
|
|
54449
54450
|
}
|
|
54450
|
-
var
|
|
54451
|
-
var
|
|
54452
|
-
if (
|
|
54453
|
-
|
|
54451
|
+
var tmp14_safe_receiver = tmp_16;
|
|
54452
|
+
var tmp_17;
|
|
54453
|
+
if (tmp14_safe_receiver == null) {
|
|
54454
|
+
tmp_17 = null;
|
|
54454
54455
|
} else {
|
|
54455
54456
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
54456
|
-
|
|
54457
|
+
tmp_17 = copyToArray(tmp14_safe_receiver);
|
|
54457
54458
|
}
|
|
54458
|
-
var
|
|
54459
|
-
var
|
|
54460
|
-
if (
|
|
54459
|
+
var tmp15_elvis_lhs = tmp_17;
|
|
54460
|
+
var tmp_18;
|
|
54461
|
+
if (tmp15_elvis_lhs == null) {
|
|
54461
54462
|
// Inline function 'kotlin.emptyArray' call
|
|
54462
|
-
|
|
54463
|
-
} else {
|
|
54464
|
-
|
|
54465
|
-
}
|
|
54466
|
-
var
|
|
54463
|
+
tmp_18 = [];
|
|
54464
|
+
} else {
|
|
54465
|
+
tmp_18 = tmp15_elvis_lhs;
|
|
54466
|
+
}
|
|
54467
|
+
var tmp42_bidTypes = tmp_18;
|
|
54468
|
+
var tmp_19 = map.k2('needToPutHigherTrump');
|
|
54469
|
+
var tmp16_elvis_lhs = (!(tmp_19 == null) ? typeof tmp_19 === 'boolean' : false) ? tmp_19 : null;
|
|
54470
|
+
var tmp43_needToPutHigherTrump = tmp16_elvis_lhs == null ? false : tmp16_elvis_lhs;
|
|
54471
|
+
var tmp_20 = map.k2('trumpCardStepPartnerMode');
|
|
54472
|
+
var tmp17_safe_receiver = (!(tmp_20 == null) ? typeof tmp_20 === 'string' : false) ? tmp_20 : null;
|
|
54473
|
+
var tmp18_elvis_lhs = tmp17_safe_receiver == null ? null : toTrumpCardStepPartnerMode(tmp17_safe_receiver);
|
|
54474
|
+
var tmp44_trumpCardStepPartnerMode = tmp18_elvis_lhs == null ? TrumpCardStepPartnerMode_ANY_TRUMP_CARD_getInstance() : tmp18_elvis_lhs;
|
|
54467
54475
|
var tmp_21 = map.k2('protectBella');
|
|
54468
54476
|
var tmp19_elvis_lhs = (!(tmp_21 == null) ? typeof tmp_21 === 'boolean' : false) ? tmp_21 : null;
|
|
54469
|
-
var
|
|
54477
|
+
var tmp45_protectBella = tmp19_elvis_lhs == null ? false : tmp19_elvis_lhs;
|
|
54470
54478
|
var tmp_22 = map.k2('oneTryToProtectBella');
|
|
54471
54479
|
var tmp20_elvis_lhs = (!(tmp_22 == null) ? typeof tmp_22 === 'boolean' : false) ? tmp_22 : null;
|
|
54472
|
-
var
|
|
54480
|
+
var tmp46_oneTryToProtectBella = tmp20_elvis_lhs == null ? false : tmp20_elvis_lhs;
|
|
54473
54481
|
var tmp_23 = map.k2('enableFourSevensCombination');
|
|
54474
54482
|
var tmp21_elvis_lhs = (!(tmp_23 == null) ? typeof tmp_23 === 'boolean' : false) ? tmp_23 : null;
|
|
54475
|
-
var
|
|
54483
|
+
var tmp47_enableFourSevensCombination = tmp21_elvis_lhs == null ? false : tmp21_elvis_lhs;
|
|
54476
54484
|
var tmp_24 = map.k2('enableTrumpSevenCombination');
|
|
54477
54485
|
var tmp22_elvis_lhs = (!(tmp_24 == null) ? typeof tmp_24 === 'boolean' : false) ? tmp_24 : null;
|
|
54478
|
-
var
|
|
54486
|
+
var tmp48_enableTrumpSevenCombination = tmp22_elvis_lhs == null ? false : tmp22_elvis_lhs;
|
|
54479
54487
|
var tmp_25 = map.k2('enableTrumpSevenCombinationAfterDistribution');
|
|
54480
54488
|
var tmp23_elvis_lhs = (!(tmp_25 == null) ? typeof tmp_25 === 'boolean' : false) ? tmp_25 : null;
|
|
54481
|
-
var
|
|
54489
|
+
var tmp49_enableTrumpSevenCombinationAfterDistribution = tmp23_elvis_lhs == null ? false : tmp23_elvis_lhs;
|
|
54482
54490
|
var tmp_26 = map.k2('checkTrumpCombination');
|
|
54483
54491
|
var tmp24_elvis_lhs = (!(tmp_26 == null) ? typeof tmp_26 === 'boolean' : false) ? tmp_26 : null;
|
|
54484
|
-
var
|
|
54492
|
+
var tmp50_checkTrumpCombination = tmp24_elvis_lhs == null ? false : tmp24_elvis_lhs;
|
|
54485
54493
|
var tmp_27 = map.k2('checkOnlyTrumpDebertz');
|
|
54486
54494
|
var tmp25_elvis_lhs = (!(tmp_27 == null) ? typeof tmp_27 === 'boolean' : false) ? tmp_27 : null;
|
|
54487
|
-
var
|
|
54495
|
+
var tmp51_checkOnlyTrumpDebertz = tmp25_elvis_lhs == null ? false : tmp25_elvis_lhs;
|
|
54488
54496
|
var tmp_28 = map.k2('distributePoints');
|
|
54489
54497
|
var tmp26_elvis_lhs = (!(tmp_28 == null) ? typeof tmp_28 === 'boolean' : false) ? tmp_28 : null;
|
|
54490
|
-
var
|
|
54498
|
+
var tmp52_distributePoints = tmp26_elvis_lhs == null ? false : tmp26_elvis_lhs;
|
|
54491
54499
|
var tmp_29 = map.k2('pointsDistributeMode');
|
|
54492
54500
|
var tmp27_safe_receiver = (!(tmp_29 == null) ? typeof tmp_29 === 'string' : false) ? tmp_29 : null;
|
|
54493
54501
|
var tmp28_elvis_lhs = tmp27_safe_receiver == null ? null : toPointsDistributeMode(tmp27_safe_receiver);
|
|
@@ -54504,20 +54512,20 @@
|
|
|
54504
54512
|
} else {
|
|
54505
54513
|
tmp_30 = tmp28_elvis_lhs;
|
|
54506
54514
|
}
|
|
54507
|
-
var
|
|
54515
|
+
var tmp53_pointsDistributeMode = tmp_30;
|
|
54508
54516
|
var tmp_33 = map.k2('enableFineIfNoBribes');
|
|
54509
54517
|
var tmp29_elvis_lhs = (!(tmp_33 == null) ? typeof tmp_33 === 'boolean' : false) ? tmp_33 : null;
|
|
54510
|
-
var
|
|
54518
|
+
var tmp54_enableFineIfNoBribes = tmp29_elvis_lhs == null ? false : tmp29_elvis_lhs;
|
|
54511
54519
|
var tmp_34 = map.k2('fineIfNoBribes');
|
|
54512
54520
|
var tmp30_elvis_lhs = (!(tmp_34 == null) ? typeof tmp_34 === 'number' : false) ? tmp_34 : null;
|
|
54513
|
-
var
|
|
54521
|
+
var tmp55_fineIfNoBribes = tmp30_elvis_lhs == null ? 50 : tmp30_elvis_lhs;
|
|
54514
54522
|
var tmp_35 = map.k2('enableFineAfterThirdByte');
|
|
54515
54523
|
var tmp31_elvis_lhs = (!(tmp_35 == null) ? typeof tmp_35 === 'boolean' : false) ? tmp_35 : null;
|
|
54516
|
-
var
|
|
54524
|
+
var tmp56_enableFineAfterThirdFailedContract = tmp31_elvis_lhs == null ? false : tmp31_elvis_lhs;
|
|
54517
54525
|
var tmp_36 = map.k2('fineAfterThirdFailedContract');
|
|
54518
54526
|
var tmp32_elvis_lhs = (!(tmp_36 == null) ? typeof tmp_36 === 'number' : false) ? tmp_36 : null;
|
|
54519
|
-
var
|
|
54520
|
-
return new Rules(tmp33_name, tmp34_playerWhoChooseSuitGoFirst, tmp35_winnerShuffleCards, tmp36_playWithoutLiabilities, tmp37_trumpCardGoToPlayerWhoShuffleCards, tmp39_dealerInitialCardsCount, tmp40_dealerFinalCardsCount, tmp38_dealerCounterClockwise, tmp41_contractTypes, tmp42_bidTypes, tmp43_needToPutHigherTrump, tmp44_trumpCardStepPartnerMode,
|
|
54527
|
+
var tmp57_fineAfterThirdFailedContract = tmp32_elvis_lhs == null ? 100 : tmp32_elvis_lhs;
|
|
54528
|
+
return new Rules(tmp33_name, tmp34_playerWhoChooseSuitGoFirst, tmp35_winnerShuffleCards, tmp36_playWithoutLiabilities, tmp37_trumpCardGoToPlayerWhoShuffleCards, tmp39_dealerInitialCardsCount, tmp40_dealerFinalCardsCount, tmp38_dealerCounterClockwise, tmp41_contractTypes, tmp42_bidTypes, tmp43_needToPutHigherTrump, tmp44_trumpCardStepPartnerMode, combinationTypes, tmp45_protectBella, tmp46_oneTryToProtectBella, tmp47_enableFourSevensCombination, tmp48_enableTrumpSevenCombination, tmp49_enableTrumpSevenCombinationAfterDistribution, tmp50_checkTrumpCombination, tmp51_checkOnlyTrumpDebertz, tmp52_distributePoints, tmp53_pointsDistributeMode, tmp56_enableFineAfterThirdFailedContract, tmp57_fineAfterThirdFailedContract, tmp54_enableFineIfNoBribes, tmp55_fineIfNoBribes);
|
|
54521
54529
|
}
|
|
54522
54530
|
function validateTimeoutTime($this, timeoutTime) {
|
|
54523
54531
|
if (!listOf_0([15, 30, 45]).v1(timeoutTime)) {
|