raspberry_games_engine_helpers 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.
@@ -324,7 +324,7 @@
324
324
  function addFormatStructureForTime(structure) {
325
325
  this.c1l(structure);
326
326
  }
327
- initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
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;
@@ -215,7 +215,7 @@
215
215
  initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_10});
216
216
  //endregion
217
217
  function GameEngineConfig() {
218
- this.version = '1.8.332';
218
+ this.version = '1.8.333';
219
219
  }
220
220
  protoOf(GameEngineConfig).o25 = function () {
221
221
  return this.version;
@@ -831,11 +831,11 @@
831
831
  return tmp$ret$1;
832
832
  }
833
833
  initMetadataForInterface(PlayerTurnIdAnswerAction, 'PlayerTurnIdAnswerAction', VOID, VOID, [Action, ReleaseBufferTriggerAction, PlayerIdContract]);
834
- initMetadataForClass(SceneMechanicAction, 'SceneMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, ReleaseBufferTriggerAction, Action, PlayerTurnIdAnswerAction, NotValidateIfGameFinishing, NotValidateIfGameFinished]);
834
+ initMetadataForClass(SceneMechanicAction, 'SceneMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, Action, ReleaseBufferTriggerAction, PlayerTurnIdAnswerAction, NotValidateIfGameFinishing, NotValidateIfGameFinished]);
835
835
  initMetadataForClass(PlayerConnectionChangedMechanicAction, 'PlayerConnectionChangedMechanicAction', VOID, MechanicAction, [MechanicAction, NotValidateIfGameFinishing, NotValidateIfGameFinished]);
836
836
  initMetadataForClass(ContinueGameMechanicAction, 'ContinueGameMechanicAction', VOID, MechanicAction, [MechanicAction, FirstMechanicAction, NotValidateIfGameFinishing, NotValidateIfGameFinished]);
837
837
  initMetadataForClass(RestartGameMechanicAction, 'RestartGameMechanicAction', VOID, MechanicAction, [MechanicAction, BufferedAction]);
838
- initMetadataForClass(SceneActMechanicAction, 'SceneActMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, ReleaseBufferTriggerAction, Action]);
838
+ initMetadataForClass(SceneActMechanicAction, 'SceneActMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, Action, ReleaseBufferTriggerAction]);
839
839
  initMetadataForClass(TeamsDataMechanicAction, 'TeamsDataMechanicAction', VOID, MechanicAction, [MechanicAction, Action, BufferedAction]);
840
840
  initMetadataForClass(PlayerReadyMechanicAction, 'PlayerReadyMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerTurnIdAnswerAction]);
841
841
  initMetadataForClass(SuitChoiceMechanicAction, 'SuitChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerTurnIdAnswerAction, ReleaseBufferTriggerAction]);
@@ -35137,68 +35137,75 @@
35137
35137
  return rules instanceof Rules ? rules : THROW_CCE();
35138
35138
  }
35139
35139
  var map = mapOfObject(rules);
35140
- var tmp = map.d2('name');
35141
- var tmp33_name = (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : null;
35142
- var tmp_0 = map.d2('playerWhoChooseSuitGoFirst');
35143
- var tmp0_elvis_lhs = (!(tmp_0 == null) ? typeof tmp_0 === 'boolean' : false) ? tmp_0 : null;
35144
- var tmp34_playerWhoChooseSuitGoFirst = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
35145
- var tmp_1 = map.d2('winnerShuffleCards');
35146
- var tmp1_elvis_lhs = (!(tmp_1 == null) ? typeof tmp_1 === 'boolean' : false) ? tmp_1 : null;
35147
- var tmp35_winnerShuffleCards = tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
35148
- var tmp_2 = map.d2('playWithoutLiabilities');
35149
- var tmp2_elvis_lhs = (!(tmp_2 == null) ? typeof tmp_2 === 'boolean' : false) ? tmp_2 : null;
35150
- var tmp36_playWithoutLiabilities = tmp2_elvis_lhs == null ? false : tmp2_elvis_lhs;
35151
- var tmp_3 = map.d2('trumpCardGoToPlayerWhoShuffleCards');
35152
- var tmp3_elvis_lhs = (!(tmp_3 == null) ? typeof tmp_3 === 'boolean' : false) ? tmp_3 : null;
35153
- var tmp37_trumpCardGoToPlayerWhoShuffleCards = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
35154
- var tmp_4 = map.d2('dealerCounterClockwise');
35155
- var tmp4_elvis_lhs = (!(tmp_4 == null) ? typeof tmp_4 === 'boolean' : false) ? tmp_4 : null;
35156
- var tmp38_dealerCounterClockwise = tmp4_elvis_lhs == null ? false : tmp4_elvis_lhs;
35157
- var tmp_5 = map.d2('dealerInitialCardsCount');
35158
- var tmp5_elvis_lhs = (!(tmp_5 == null) ? typeof tmp_5 === 'number' : false) ? tmp_5 : null;
35159
- var tmp39_dealerInitialCardsCount = tmp5_elvis_lhs == null ? 6 : tmp5_elvis_lhs;
35160
- var tmp_6 = map.d2('dealerFinalCardsCount');
35161
- var tmp6_elvis_lhs = (!(tmp_6 == null) ? typeof tmp_6 === 'number' : false) ? tmp_6 : null;
35162
- var tmp40_dealerFinalCardsCount = tmp6_elvis_lhs == null ? 9 : tmp6_elvis_lhs;
35163
- var tmp_7 = map.d2('contractTypes');
35164
- var tmp7_safe_receiver = (!(tmp_7 == null) ? isArray(tmp_7) : false) ? tmp_7 : null;
35165
- var tmp_8;
35166
- if (tmp7_safe_receiver == null) {
35167
- tmp_8 = null;
35168
- } else {
35169
- // Inline function 'kotlin.collections.map' call
35170
- // Inline function 'kotlin.collections.mapTo' call
35171
- var destination = ArrayList_init_$Create$(tmp7_safe_receiver.length);
35172
- var inductionVariable = 0;
35173
- var last = tmp7_safe_receiver.length;
35174
- while (inductionVariable < last) {
35175
- var item = tmp7_safe_receiver[inductionVariable];
35176
- inductionVariable = inductionVariable + 1 | 0;
35177
- // Inline function 'GameHelperImpl.mapRulesObject.<anonymous>' call
35178
- var tmp$ret$0 = toRoundContractType(item);
35179
- destination.e(tmp$ret$0);
35140
+ var combinationsJson = map.d2('combinationsWithFirstCard');
35141
+ var tmp;
35142
+ if (combinationsJson != undefined && combinationsJson != null) {
35143
+ var tmp0_safe_receiver = (!(combinationsJson == null) ? isArray(combinationsJson) : false) ? combinationsJson : null;
35144
+ var tmp_0;
35145
+ if (tmp0_safe_receiver == null) {
35146
+ tmp_0 = null;
35147
+ } else {
35148
+ // Inline function 'kotlin.collections.map' call
35149
+ // Inline function 'kotlin.collections.mapTo' call
35150
+ var destination = ArrayList_init_$Create$(tmp0_safe_receiver.length);
35151
+ var inductionVariable = 0;
35152
+ var last = tmp0_safe_receiver.length;
35153
+ while (inductionVariable < last) {
35154
+ var item = tmp0_safe_receiver[inductionVariable];
35155
+ inductionVariable = inductionVariable + 1 | 0;
35156
+ // Inline function 'GameHelperImpl.mapRulesObject.<anonymous>' call
35157
+ var tmp$ret$0 = mapToCombinationType(item);
35158
+ destination.e(tmp$ret$0);
35159
+ }
35160
+ tmp_0 = destination;
35180
35161
  }
35181
- tmp_8 = destination;
35182
- }
35183
- var tmp8_safe_receiver = tmp_8;
35184
- var tmp_9;
35185
- if (tmp8_safe_receiver == null) {
35186
- tmp_9 = null;
35162
+ var tmp1_safe_receiver = tmp_0;
35163
+ var tmp_1;
35164
+ if (tmp1_safe_receiver == null) {
35165
+ tmp_1 = null;
35166
+ } else {
35167
+ // Inline function 'kotlin.collections.toTypedArray' call
35168
+ tmp_1 = copyToArray(tmp1_safe_receiver);
35169
+ }
35170
+ var tmp2_elvis_lhs = tmp_1;
35171
+ var tmp_2;
35172
+ if (tmp2_elvis_lhs == null) {
35173
+ // Inline function 'kotlin.emptyArray' call
35174
+ tmp_2 = [];
35175
+ } else {
35176
+ tmp_2 = tmp2_elvis_lhs;
35177
+ }
35178
+ tmp = tmp_2;
35187
35179
  } else {
35188
35180
  // Inline function 'kotlin.collections.toTypedArray' call
35189
- tmp_9 = copyToArray(tmp8_safe_receiver);
35190
- }
35191
- var tmp9_elvis_lhs = tmp_9;
35192
- var tmp_10;
35193
- if (tmp9_elvis_lhs == null) {
35194
- // Inline function 'kotlin.collections.toTypedArray' call
35195
- var this_0 = Companion_getInstance_22().debertzContractTypes;
35196
- tmp_10 = copyToArray(this_0);
35197
- } else {
35198
- tmp_10 = tmp9_elvis_lhs;
35181
+ var this_0 = Companion_getInstance_145().debertzWithFirstCardCombinations;
35182
+ tmp = copyToArray(this_0);
35199
35183
  }
35200
- var tmp41_contractTypes = tmp_10;
35201
- var tmp_11 = map.d2('bidTypes');
35184
+ var combinationTypes = tmp;
35185
+ var tmp_3 = map.d2('name');
35186
+ var tmp33_name = (!(tmp_3 == null) ? typeof tmp_3 === 'string' : false) ? tmp_3 : null;
35187
+ var tmp_4 = map.d2('playerWhoChooseSuitGoFirst');
35188
+ var tmp3_elvis_lhs = (!(tmp_4 == null) ? typeof tmp_4 === 'boolean' : false) ? tmp_4 : null;
35189
+ var tmp34_playerWhoChooseSuitGoFirst = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
35190
+ var tmp_5 = map.d2('winnerShuffleCards');
35191
+ var tmp4_elvis_lhs = (!(tmp_5 == null) ? typeof tmp_5 === 'boolean' : false) ? tmp_5 : null;
35192
+ var tmp35_winnerShuffleCards = tmp4_elvis_lhs == null ? false : tmp4_elvis_lhs;
35193
+ var tmp_6 = map.d2('playWithoutLiabilities');
35194
+ var tmp5_elvis_lhs = (!(tmp_6 == null) ? typeof tmp_6 === 'boolean' : false) ? tmp_6 : null;
35195
+ var tmp36_playWithoutLiabilities = tmp5_elvis_lhs == null ? false : tmp5_elvis_lhs;
35196
+ var tmp_7 = map.d2('trumpCardGoToPlayerWhoShuffleCards');
35197
+ var tmp6_elvis_lhs = (!(tmp_7 == null) ? typeof tmp_7 === 'boolean' : false) ? tmp_7 : null;
35198
+ var tmp37_trumpCardGoToPlayerWhoShuffleCards = tmp6_elvis_lhs == null ? false : tmp6_elvis_lhs;
35199
+ var tmp_8 = map.d2('dealerCounterClockwise');
35200
+ var tmp7_elvis_lhs = (!(tmp_8 == null) ? typeof tmp_8 === 'boolean' : false) ? tmp_8 : null;
35201
+ var tmp38_dealerCounterClockwise = tmp7_elvis_lhs == null ? false : tmp7_elvis_lhs;
35202
+ var tmp_9 = map.d2('dealerInitialCardsCount');
35203
+ var tmp8_elvis_lhs = (!(tmp_9 == null) ? typeof tmp_9 === 'number' : false) ? tmp_9 : null;
35204
+ var tmp39_dealerInitialCardsCount = tmp8_elvis_lhs == null ? 6 : tmp8_elvis_lhs;
35205
+ var tmp_10 = map.d2('dealerFinalCardsCount');
35206
+ var tmp9_elvis_lhs = (!(tmp_10 == null) ? typeof tmp_10 === 'number' : false) ? tmp_10 : null;
35207
+ var tmp40_dealerFinalCardsCount = tmp9_elvis_lhs == null ? 9 : tmp9_elvis_lhs;
35208
+ var tmp_11 = map.d2('contractTypes');
35202
35209
  var tmp10_safe_receiver = (!(tmp_11 == null) ? isArray(tmp_11) : false) ? tmp_11 : null;
35203
35210
  var tmp_12;
35204
35211
  if (tmp10_safe_receiver == null) {
@@ -35213,8 +35220,8 @@
35213
35220
  var item_0 = tmp10_safe_receiver[inductionVariable_0];
35214
35221
  inductionVariable_0 = inductionVariable_0 + 1 | 0;
35215
35222
  // Inline function 'GameHelperImpl.mapRulesObject.<anonymous>' call
35216
- var tmp$ret$5 = toBidType(item_0);
35217
- destination_0.e(tmp$ret$5);
35223
+ var tmp$ret$6 = toRoundContractType(item_0);
35224
+ destination_0.e(tmp$ret$6);
35218
35225
  }
35219
35226
  tmp_12 = destination_0;
35220
35227
  }
@@ -35229,80 +35236,81 @@
35229
35236
  var tmp12_elvis_lhs = tmp_13;
35230
35237
  var tmp_14;
35231
35238
  if (tmp12_elvis_lhs == null) {
35232
- // Inline function 'kotlin.emptyArray' call
35233
- tmp_14 = [];
35239
+ // Inline function 'kotlin.collections.toTypedArray' call
35240
+ var this_1 = Companion_getInstance_22().debertzContractTypes;
35241
+ tmp_14 = copyToArray(this_1);
35234
35242
  } else {
35235
35243
  tmp_14 = tmp12_elvis_lhs;
35236
35244
  }
35237
- var tmp42_bidTypes = tmp_14;
35238
- var tmp_15 = map.d2('needToPutHigherTrump');
35239
- var tmp13_elvis_lhs = (!(tmp_15 == null) ? typeof tmp_15 === 'boolean' : false) ? tmp_15 : null;
35240
- var tmp43_needToPutHigherTrump = tmp13_elvis_lhs == null ? false : tmp13_elvis_lhs;
35241
- var tmp_16 = map.d2('trumpCardStepPartnerMode');
35242
- var tmp14_safe_receiver = (!(tmp_16 == null) ? typeof tmp_16 === 'string' : false) ? tmp_16 : null;
35243
- var tmp15_elvis_lhs = tmp14_safe_receiver == null ? null : toTrumpCardStepPartnerMode(tmp14_safe_receiver);
35244
- var tmp44_trumpCardStepPartnerMode = tmp15_elvis_lhs == null ? TrumpCardStepPartnerMode_ANY_TRUMP_CARD_getInstance() : tmp15_elvis_lhs;
35245
- var tmp_17 = map.d2('combinationsWithFirstCard');
35246
- var tmp16_safe_receiver = (!(tmp_17 == null) ? isArray(tmp_17) : false) ? tmp_17 : null;
35247
- var tmp_18;
35248
- if (tmp16_safe_receiver == null) {
35249
- tmp_18 = null;
35245
+ var tmp41_contractTypes = tmp_14;
35246
+ var tmp_15 = map.d2('bidTypes');
35247
+ var tmp13_safe_receiver = (!(tmp_15 == null) ? isArray(tmp_15) : false) ? tmp_15 : null;
35248
+ var tmp_16;
35249
+ if (tmp13_safe_receiver == null) {
35250
+ tmp_16 = null;
35250
35251
  } else {
35251
35252
  // Inline function 'kotlin.collections.map' call
35252
35253
  // Inline function 'kotlin.collections.mapTo' call
35253
- var destination_1 = ArrayList_init_$Create$(tmp16_safe_receiver.length);
35254
+ var destination_1 = ArrayList_init_$Create$(tmp13_safe_receiver.length);
35254
35255
  var inductionVariable_1 = 0;
35255
- var last_1 = tmp16_safe_receiver.length;
35256
+ var last_1 = tmp13_safe_receiver.length;
35256
35257
  while (inductionVariable_1 < last_1) {
35257
- var item_1 = tmp16_safe_receiver[inductionVariable_1];
35258
+ var item_1 = tmp13_safe_receiver[inductionVariable_1];
35258
35259
  inductionVariable_1 = inductionVariable_1 + 1 | 0;
35259
35260
  // Inline function 'GameHelperImpl.mapRulesObject.<anonymous>' call
35260
- var tmp$ret$10 = mapToCombinationType(item_1);
35261
- destination_1.e(tmp$ret$10);
35261
+ var tmp$ret$11 = toBidType(item_1);
35262
+ destination_1.e(tmp$ret$11);
35262
35263
  }
35263
- tmp_18 = destination_1;
35264
+ tmp_16 = destination_1;
35264
35265
  }
35265
- var tmp17_safe_receiver = tmp_18;
35266
- var tmp_19;
35267
- if (tmp17_safe_receiver == null) {
35268
- tmp_19 = null;
35266
+ var tmp14_safe_receiver = tmp_16;
35267
+ var tmp_17;
35268
+ if (tmp14_safe_receiver == null) {
35269
+ tmp_17 = null;
35269
35270
  } else {
35270
35271
  // Inline function 'kotlin.collections.toTypedArray' call
35271
- tmp_19 = copyToArray(tmp17_safe_receiver);
35272
+ tmp_17 = copyToArray(tmp14_safe_receiver);
35272
35273
  }
35273
- var tmp18_elvis_lhs = tmp_19;
35274
- var tmp_20;
35275
- if (tmp18_elvis_lhs == null) {
35274
+ var tmp15_elvis_lhs = tmp_17;
35275
+ var tmp_18;
35276
+ if (tmp15_elvis_lhs == null) {
35276
35277
  // Inline function 'kotlin.emptyArray' call
35277
- tmp_20 = [];
35278
- } else {
35279
- tmp_20 = tmp18_elvis_lhs;
35280
- }
35281
- var tmp45_combinationsWithFirstCard = tmp_20;
35278
+ tmp_18 = [];
35279
+ } else {
35280
+ tmp_18 = tmp15_elvis_lhs;
35281
+ }
35282
+ var tmp42_bidTypes = tmp_18;
35283
+ var tmp_19 = map.d2('needToPutHigherTrump');
35284
+ var tmp16_elvis_lhs = (!(tmp_19 == null) ? typeof tmp_19 === 'boolean' : false) ? tmp_19 : null;
35285
+ var tmp43_needToPutHigherTrump = tmp16_elvis_lhs == null ? false : tmp16_elvis_lhs;
35286
+ var tmp_20 = map.d2('trumpCardStepPartnerMode');
35287
+ var tmp17_safe_receiver = (!(tmp_20 == null) ? typeof tmp_20 === 'string' : false) ? tmp_20 : null;
35288
+ var tmp18_elvis_lhs = tmp17_safe_receiver == null ? null : toTrumpCardStepPartnerMode(tmp17_safe_receiver);
35289
+ var tmp44_trumpCardStepPartnerMode = tmp18_elvis_lhs == null ? TrumpCardStepPartnerMode_ANY_TRUMP_CARD_getInstance() : tmp18_elvis_lhs;
35282
35290
  var tmp_21 = map.d2('protectBella');
35283
35291
  var tmp19_elvis_lhs = (!(tmp_21 == null) ? typeof tmp_21 === 'boolean' : false) ? tmp_21 : null;
35284
- var tmp46_protectBella = tmp19_elvis_lhs == null ? false : tmp19_elvis_lhs;
35292
+ var tmp45_protectBella = tmp19_elvis_lhs == null ? false : tmp19_elvis_lhs;
35285
35293
  var tmp_22 = map.d2('oneTryToProtectBella');
35286
35294
  var tmp20_elvis_lhs = (!(tmp_22 == null) ? typeof tmp_22 === 'boolean' : false) ? tmp_22 : null;
35287
- var tmp47_oneTryToProtectBella = tmp20_elvis_lhs == null ? false : tmp20_elvis_lhs;
35295
+ var tmp46_oneTryToProtectBella = tmp20_elvis_lhs == null ? false : tmp20_elvis_lhs;
35288
35296
  var tmp_23 = map.d2('enableFourSevensCombination');
35289
35297
  var tmp21_elvis_lhs = (!(tmp_23 == null) ? typeof tmp_23 === 'boolean' : false) ? tmp_23 : null;
35290
- var tmp48_enableFourSevensCombination = tmp21_elvis_lhs == null ? false : tmp21_elvis_lhs;
35298
+ var tmp47_enableFourSevensCombination = tmp21_elvis_lhs == null ? false : tmp21_elvis_lhs;
35291
35299
  var tmp_24 = map.d2('enableTrumpSevenCombination');
35292
35300
  var tmp22_elvis_lhs = (!(tmp_24 == null) ? typeof tmp_24 === 'boolean' : false) ? tmp_24 : null;
35293
- var tmp49_enableTrumpSevenCombination = tmp22_elvis_lhs == null ? false : tmp22_elvis_lhs;
35301
+ var tmp48_enableTrumpSevenCombination = tmp22_elvis_lhs == null ? false : tmp22_elvis_lhs;
35294
35302
  var tmp_25 = map.d2('enableTrumpSevenCombinationAfterDistribution');
35295
35303
  var tmp23_elvis_lhs = (!(tmp_25 == null) ? typeof tmp_25 === 'boolean' : false) ? tmp_25 : null;
35296
- var tmp50_enableTrumpSevenCombinationAfterDistribution = tmp23_elvis_lhs == null ? false : tmp23_elvis_lhs;
35304
+ var tmp49_enableTrumpSevenCombinationAfterDistribution = tmp23_elvis_lhs == null ? false : tmp23_elvis_lhs;
35297
35305
  var tmp_26 = map.d2('checkTrumpCombination');
35298
35306
  var tmp24_elvis_lhs = (!(tmp_26 == null) ? typeof tmp_26 === 'boolean' : false) ? tmp_26 : null;
35299
- var tmp51_checkTrumpCombination = tmp24_elvis_lhs == null ? false : tmp24_elvis_lhs;
35307
+ var tmp50_checkTrumpCombination = tmp24_elvis_lhs == null ? false : tmp24_elvis_lhs;
35300
35308
  var tmp_27 = map.d2('checkOnlyTrumpDebertz');
35301
35309
  var tmp25_elvis_lhs = (!(tmp_27 == null) ? typeof tmp_27 === 'boolean' : false) ? tmp_27 : null;
35302
- var tmp52_checkOnlyTrumpDebertz = tmp25_elvis_lhs == null ? false : tmp25_elvis_lhs;
35310
+ var tmp51_checkOnlyTrumpDebertz = tmp25_elvis_lhs == null ? false : tmp25_elvis_lhs;
35303
35311
  var tmp_28 = map.d2('distributePoints');
35304
35312
  var tmp26_elvis_lhs = (!(tmp_28 == null) ? typeof tmp_28 === 'boolean' : false) ? tmp_28 : null;
35305
- var tmp53_distributePoints = tmp26_elvis_lhs == null ? false : tmp26_elvis_lhs;
35313
+ var tmp52_distributePoints = tmp26_elvis_lhs == null ? false : tmp26_elvis_lhs;
35306
35314
  var tmp_29 = map.d2('pointsDistributeMode');
35307
35315
  var tmp27_safe_receiver = (!(tmp_29 == null) ? typeof tmp_29 === 'string' : false) ? tmp_29 : null;
35308
35316
  var tmp28_elvis_lhs = tmp27_safe_receiver == null ? null : toPointsDistributeMode(tmp27_safe_receiver);
@@ -35319,20 +35327,20 @@
35319
35327
  } else {
35320
35328
  tmp_30 = tmp28_elvis_lhs;
35321
35329
  }
35322
- var tmp54_pointsDistributeMode = tmp_30;
35330
+ var tmp53_pointsDistributeMode = tmp_30;
35323
35331
  var tmp_33 = map.d2('enableFineIfNoBribes');
35324
35332
  var tmp29_elvis_lhs = (!(tmp_33 == null) ? typeof tmp_33 === 'boolean' : false) ? tmp_33 : null;
35325
- var tmp55_enableFineIfNoBribes = tmp29_elvis_lhs == null ? false : tmp29_elvis_lhs;
35333
+ var tmp54_enableFineIfNoBribes = tmp29_elvis_lhs == null ? false : tmp29_elvis_lhs;
35326
35334
  var tmp_34 = map.d2('fineIfNoBribes');
35327
35335
  var tmp30_elvis_lhs = (!(tmp_34 == null) ? typeof tmp_34 === 'number' : false) ? tmp_34 : null;
35328
- var tmp56_fineIfNoBribes = tmp30_elvis_lhs == null ? 50 : tmp30_elvis_lhs;
35336
+ var tmp55_fineIfNoBribes = tmp30_elvis_lhs == null ? 50 : tmp30_elvis_lhs;
35329
35337
  var tmp_35 = map.d2('enableFineAfterThirdByte');
35330
35338
  var tmp31_elvis_lhs = (!(tmp_35 == null) ? typeof tmp_35 === 'boolean' : false) ? tmp_35 : null;
35331
- var tmp57_enableFineAfterThirdFailedContract = tmp31_elvis_lhs == null ? false : tmp31_elvis_lhs;
35339
+ var tmp56_enableFineAfterThirdFailedContract = tmp31_elvis_lhs == null ? false : tmp31_elvis_lhs;
35332
35340
  var tmp_36 = map.d2('fineAfterThirdFailedContract');
35333
35341
  var tmp32_elvis_lhs = (!(tmp_36 == null) ? typeof tmp_36 === 'number' : false) ? tmp_36 : null;
35334
- var tmp58_fineAfterThirdFailedContract = tmp32_elvis_lhs == null ? 100 : tmp32_elvis_lhs;
35335
- 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, tmp45_combinationsWithFirstCard, tmp46_protectBella, tmp47_oneTryToProtectBella, tmp48_enableFourSevensCombination, tmp49_enableTrumpSevenCombination, tmp50_enableTrumpSevenCombinationAfterDistribution, tmp51_checkTrumpCombination, tmp52_checkOnlyTrumpDebertz, tmp53_distributePoints, tmp54_pointsDistributeMode, tmp57_enableFineAfterThirdFailedContract, tmp58_fineAfterThirdFailedContract, tmp55_enableFineIfNoBribes, tmp56_fineIfNoBribes);
35342
+ var tmp57_fineAfterThirdFailedContract = tmp32_elvis_lhs == null ? 100 : tmp32_elvis_lhs;
35343
+ 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);
35336
35344
  }
35337
35345
  function validateTimeoutTime($this, timeoutTime) {
35338
35346
  if (!listOf([15, 30, 45]).p1(timeoutTime)) {