tods-competition-factory 1.8.9 → 1.8.10
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/dist/forge/generate.mjs +6 -15
- package/dist/forge/generate.mjs.map +1 -1
- package/dist/forge/query.d.ts +2 -2
- package/dist/forge/query.mjs +6 -15
- package/dist/forge/query.mjs.map +1 -1
- package/dist/forge/transform.mjs +2 -2
- package/dist/forge/transform.mjs.map +1 -1
- package/dist/forge/utilities.mjs.map +1 -1
- package/dist/index.mjs +7 -17
- package/dist/index.mjs.map +1 -1
- package/dist/tods-competition-factory.development.cjs.js +41 -50
- package/dist/tods-competition-factory.development.cjs.js.map +1 -1
- package/dist/tods-competition-factory.production.cjs.min.js +1 -1
- package/dist/tods-competition-factory.production.cjs.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1185,10 +1185,6 @@ var INVALID_SCALE_ITEM = {
|
|
|
1185
1185
|
message: 'Invalid scaleItem',
|
|
1186
1186
|
code: 'ERR_INVALID_SCALE_ITEM',
|
|
1187
1187
|
};
|
|
1188
|
-
var SCALE_ITEM_NOT_FOUND = {
|
|
1189
|
-
message: 'No scaleItem found',
|
|
1190
|
-
code: 'ERR_NOT_FOUND_SCALE_ITEM',
|
|
1191
|
-
};
|
|
1192
1188
|
var MODIFICATIONS_FAILED = {
|
|
1193
1189
|
message: 'Modifications failed',
|
|
1194
1190
|
code: 'ERR_FAILURE_MODIFICATIONS',
|
|
@@ -1446,7 +1442,6 @@ var errorConditionConstants = {
|
|
|
1446
1442
|
PENALTY_NOT_FOUND: PENALTY_NOT_FOUND,
|
|
1447
1443
|
POLICY_NOT_ATTACHED: POLICY_NOT_ATTACHED,
|
|
1448
1444
|
POLICY_NOT_FOUND: POLICY_NOT_FOUND,
|
|
1449
|
-
SCALE_ITEM_NOT_FOUND: SCALE_ITEM_NOT_FOUND,
|
|
1450
1445
|
SCHEDULE_NOT_CLEARED: SCHEDULE_NOT_CLEARED,
|
|
1451
1446
|
SCHEDULED_MATCHUPS: SCHEDULED_MATCHUPS,
|
|
1452
1447
|
SEEDSCOUNT_GREATER_THAN_DRAW_SIZE: SEEDSCOUNT_GREATER_THAN_DRAW_SIZE,
|
|
@@ -2903,7 +2898,7 @@ var matchUpFormatCode = {
|
|
|
2903
2898
|
};
|
|
2904
2899
|
|
|
2905
2900
|
function factoryVersion() {
|
|
2906
|
-
return '1.8.
|
|
2901
|
+
return '1.8.10';
|
|
2907
2902
|
}
|
|
2908
2903
|
|
|
2909
2904
|
function getObjectTieFormat(obj) {
|
|
@@ -5640,7 +5635,7 @@ function getPolicyDefinitions(_a) {
|
|
|
5640
5635
|
}
|
|
5641
5636
|
return Object.keys(policyDefinitions).length
|
|
5642
5637
|
? { policyDefinitions: policyDefinitions }
|
|
5643
|
-
: {
|
|
5638
|
+
: { info: POLICY_NOT_FOUND.message };
|
|
5644
5639
|
}
|
|
5645
5640
|
|
|
5646
5641
|
var WALKOVER$1 = 'WALKOVER';
|
|
@@ -5755,7 +5750,7 @@ function findPolicy(_a) {
|
|
|
5755
5750
|
}).appliedPolicies;
|
|
5756
5751
|
return (appliedPolicies === null || appliedPolicies === void 0 ? void 0 : appliedPolicies[policyType])
|
|
5757
5752
|
? { policy: appliedPolicies[policyType] }
|
|
5758
|
-
: {
|
|
5753
|
+
: { info: POLICY_NOT_FOUND === null || POLICY_NOT_FOUND === void 0 ? void 0 : POLICY_NOT_FOUND.message };
|
|
5759
5754
|
}
|
|
5760
5755
|
|
|
5761
5756
|
function getMatchUpCompetitiveProfile(_a) {
|
|
@@ -28898,7 +28893,7 @@ function participantScaleItem(_a) {
|
|
|
28898
28893
|
return { error: INVALID_VALUES };
|
|
28899
28894
|
if (!participant.timeItems)
|
|
28900
28895
|
participant.timeItems = [];
|
|
28901
|
-
if (
|
|
28896
|
+
if (Array.isArray(participant.timeItems)) {
|
|
28902
28897
|
var accessor = scaleAttributes.accessor, scaleType = scaleAttributes.scaleType, eventType = scaleAttributes.eventType, scaleName = scaleAttributes.scaleName;
|
|
28903
28898
|
var filterType_1 = [SCALE$1, scaleType, eventType, scaleName].join('.');
|
|
28904
28899
|
var filteredTimeItems = participant.timeItems
|
|
@@ -28922,13 +28917,10 @@ function participantScaleItem(_a) {
|
|
|
28922
28917
|
scaleName: scaleName_1,
|
|
28923
28918
|
scaleType: scaleType_1,
|
|
28924
28919
|
};
|
|
28925
|
-
return { scaleItem: scaleItem };
|
|
28926
|
-
}
|
|
28927
|
-
else {
|
|
28928
|
-
return { error: SCALE_ITEM_NOT_FOUND };
|
|
28920
|
+
return __assign(__assign({}, SUCCESS), { scaleItem: scaleItem });
|
|
28929
28921
|
}
|
|
28930
28922
|
}
|
|
28931
|
-
return {
|
|
28923
|
+
return __assign(__assign({}, SUCCESS), { scaleItem: undefined });
|
|
28932
28924
|
}
|
|
28933
28925
|
|
|
28934
28926
|
function getEventSeedAssignments(_a) {
|
|
@@ -29356,10 +29348,9 @@ function processSides(params) {
|
|
|
29356
29348
|
|
|
29357
29349
|
function getParticipantEntries(params) {
|
|
29358
29350
|
var e_1, _a, e_2, _b;
|
|
29359
|
-
var _c, _d, _e, _f, _g, _h;
|
|
29360
|
-
var participantFilters = params.participantFilters, convertExtensions = params.convertExtensions, policyDefinitions = params.policyDefinitions, tournamentRecord = params.tournamentRecord, usePublishState = params.usePublishState, contextProfile = params.contextProfile, participantMap = params.participantMap, withPotentialMatchUps = params.withPotentialMatchUps, withRankingProfile = params.withRankingProfile,
|
|
29361
|
-
|
|
29362
|
-
console.log({ withScheduleItems: withScheduleItems });
|
|
29351
|
+
var _c, _d, _e, _f, _g, _h, _j;
|
|
29352
|
+
var participantFilters = params.participantFilters, convertExtensions = params.convertExtensions, policyDefinitions = params.policyDefinitions, tournamentRecord = params.tournamentRecord, usePublishState = params.usePublishState, contextProfile = params.contextProfile, participantMap = params.participantMap, withPotentialMatchUps = params.withPotentialMatchUps, withRankingProfile = params.withRankingProfile, scheduleAnalysis = params.scheduleAnalysis, withTeamMatchUps = params.withTeamMatchUps, withStatistics = params.withStatistics, withOpponents = params.withOpponents, withMatchUps = params.withMatchUps, withSeeding = params.withSeeding, withEvents = params.withEvents, withDraws = params.withDraws;
|
|
29353
|
+
var withScheduleTimes = (_c = params.withScheduleTimes) !== null && _c !== void 0 ? _c : params.withScheduleItems;
|
|
29363
29354
|
var targetParticipantIds = participantFilters === null || participantFilters === void 0 ? void 0 : participantFilters.participantIds;
|
|
29364
29355
|
var getRelevantParticipantIds = function (participantId) {
|
|
29365
29356
|
var _a, _b;
|
|
@@ -29401,13 +29392,13 @@ function getParticipantEntries(params) {
|
|
|
29401
29392
|
return (_e = (_d = (_c = (_b = participantMap[participantId].participant) === null || _b === void 0 ? void 0 : _b.rankings) === null || _c === void 0 ? void 0 : _c[eventType]) === null || _d === void 0 ? void 0 : _d.find(function (ranking) { return scaleNames.includes(ranking.scaleName); })) === null || _e === void 0 ? void 0 : _e.scaleValue;
|
|
29402
29393
|
};
|
|
29403
29394
|
var _loop_1 = function (event_1) {
|
|
29404
|
-
var e_3,
|
|
29395
|
+
var e_3, _m, e_4, _o, e_5, _p;
|
|
29405
29396
|
if ((participantFilters === null || participantFilters === void 0 ? void 0 : participantFilters.eventIds) &&
|
|
29406
29397
|
!participantFilters.eventIds.includes(event_1.eventId))
|
|
29407
29398
|
return "continue";
|
|
29408
|
-
var
|
|
29399
|
+
var _q = event_1.drawDefinitions, drawDefinitions = _q === void 0 ? [] : _q, _r = event_1.extensions, extensions = _r === void 0 ? [] : _r, eventType = event_1.eventType, eventName = event_1.eventName, category = event_1.category, entries = event_1.entries, eventId = event_1.eventId, gender = event_1.gender;
|
|
29409
29400
|
var flightProfile = getFlightProfile({ event: event_1 }).flightProfile;
|
|
29410
|
-
var flights = (
|
|
29401
|
+
var flights = (_d = flightProfile === null || flightProfile === void 0 ? void 0 : flightProfile.flights) !== null && _d !== void 0 ? _d : [];
|
|
29411
29402
|
var publishStatuses = getEventPublishStatuses({ event: event_1 });
|
|
29412
29403
|
var publishedSeeding = publishStatuses === null || publishStatuses === void 0 ? void 0 : publishStatuses.publishedSeeding;
|
|
29413
29404
|
if (publishStatuses)
|
|
@@ -29421,7 +29412,7 @@ function getParticipantEntries(params) {
|
|
|
29421
29412
|
category === null || category === void 0 ? void 0 : category.ageCategoryCode,
|
|
29422
29413
|
].filter(Boolean);
|
|
29423
29414
|
var _loop_3 = function (entry) {
|
|
29424
|
-
var
|
|
29415
|
+
var _s;
|
|
29425
29416
|
var participantId = entry.participantId;
|
|
29426
29417
|
if (!participantId || !participantMap[participantId])
|
|
29427
29418
|
return "continue"; // handle bad data
|
|
@@ -29430,13 +29421,13 @@ function getParticipantEntries(params) {
|
|
|
29430
29421
|
var seedAssignments, seedValue;
|
|
29431
29422
|
if (withSeeding) {
|
|
29432
29423
|
var participant = participantMap[participantId].participant;
|
|
29433
|
-
(
|
|
29424
|
+
(_s = getEventSeedAssignments({
|
|
29434
29425
|
publishedSeeding: publishedSeeding,
|
|
29435
29426
|
usePublishState: usePublishState,
|
|
29436
29427
|
withSeeding: withSeeding,
|
|
29437
29428
|
participant: participant,
|
|
29438
29429
|
event: event_1,
|
|
29439
|
-
}), seedAssignments =
|
|
29430
|
+
}), seedAssignments = _s.seedAssignments, seedValue = _s.seedValue);
|
|
29440
29431
|
}
|
|
29441
29432
|
// IMPORTANT NOTE!
|
|
29442
29433
|
// id is the pair, team or individual participant currently being processed
|
|
@@ -29472,12 +29463,12 @@ function getParticipantEntries(params) {
|
|
|
29472
29463
|
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
29473
29464
|
finally {
|
|
29474
29465
|
try {
|
|
29475
|
-
if (entries_1_1 && !entries_1_1.done && (
|
|
29466
|
+
if (entries_1_1 && !entries_1_1.done && (_m = entries_1.return)) _m.call(entries_1);
|
|
29476
29467
|
}
|
|
29477
29468
|
finally { if (e_3) throw e_3.error; }
|
|
29478
29469
|
}
|
|
29479
29470
|
}
|
|
29480
|
-
var eventPublishedSeeding = (
|
|
29471
|
+
var eventPublishedSeeding = (_e = eventsPublishStatuses === null || eventsPublishStatuses === void 0 ? void 0 : eventsPublishStatuses[eventId]) === null || _e === void 0 ? void 0 : _e.publishedSeeding;
|
|
29481
29472
|
if (withDraws || withRankingProfile || withSeeding) {
|
|
29482
29473
|
var getSeedingMap = function (assignments) {
|
|
29483
29474
|
return assignments
|
|
@@ -29491,11 +29482,11 @@ function getParticipantEntries(params) {
|
|
|
29491
29482
|
};
|
|
29492
29483
|
var drawIds = unique(__spreadArray(__spreadArray([], __read(drawDefinitions.map(extractAttributes('drawId'))), false), __read(flights.map(extractAttributes('drawId'))), false));
|
|
29493
29484
|
var _loop_4 = function (drawId) {
|
|
29494
|
-
var e_6,
|
|
29485
|
+
var e_6, _t;
|
|
29495
29486
|
var drawDefinition = drawDefinitions.find(function (drawDefinition) { return drawDefinition.drawId === drawId; });
|
|
29496
29487
|
var flight = flights === null || flights === void 0 ? void 0 : flights.find(function (flight) { return flight.drawId === drawId; });
|
|
29497
29488
|
var entries_2 = (drawDefinition === null || drawDefinition === void 0 ? void 0 : drawDefinition.entries) || (flight === null || flight === void 0 ? void 0 : flight.drawEntries);
|
|
29498
|
-
var
|
|
29489
|
+
var _u = drawDefinition !== null && drawDefinition !== void 0 ? drawDefinition : {}, _v = _u.structures, structures = _v === void 0 ? [] : _v, drawOrder = _u.drawOrder, drawName = _u.drawName, drawType = _u.drawType;
|
|
29499
29490
|
var flightNumber = flight === null || flight === void 0 ? void 0 : flight.flightNumber;
|
|
29500
29491
|
var scaleNames = [
|
|
29501
29492
|
category === null || category === void 0 ? void 0 : category.categoryName,
|
|
@@ -29556,8 +29547,8 @@ function getParticipantEntries(params) {
|
|
|
29556
29547
|
});
|
|
29557
29548
|
var seedingPublished = !usePublishState ||
|
|
29558
29549
|
((eventPublishedSeeding === null || eventPublishedSeeding === void 0 ? void 0 : eventPublishedSeeding.published) &&
|
|
29559
|
-
(((
|
|
29560
|
-
((
|
|
29550
|
+
(((_f = eventPublishedSeeding === null || eventPublishedSeeding === void 0 ? void 0 : eventPublishedSeeding.drawIds) === null || _f === void 0 ? void 0 : _f.length) === 0 ||
|
|
29551
|
+
((_g = eventPublishedSeeding === null || eventPublishedSeeding === void 0 ? void 0 : eventPublishedSeeding.drawIds) === null || _g === void 0 ? void 0 : _g.includes(drawId))));
|
|
29561
29552
|
var _loop_6 = function (entry) {
|
|
29562
29553
|
var entryStatus = entry.entryStatus, entryStage = entry.entryStage, entryPosition = entry.entryPosition, participantId = entry.participantId;
|
|
29563
29554
|
// get event ranking
|
|
@@ -29655,7 +29646,7 @@ function getParticipantEntries(params) {
|
|
|
29655
29646
|
catch (e_6_1) { e_6 = { error: e_6_1 }; }
|
|
29656
29647
|
finally {
|
|
29657
29648
|
try {
|
|
29658
|
-
if (relevantEntries_1_1 && !relevantEntries_1_1.done && (
|
|
29649
|
+
if (relevantEntries_1_1 && !relevantEntries_1_1.done && (_t = relevantEntries_1.return)) _t.call(relevantEntries_1);
|
|
29659
29650
|
}
|
|
29660
29651
|
finally { if (e_6) throw e_6.error; }
|
|
29661
29652
|
}
|
|
@@ -29685,7 +29676,7 @@ function getParticipantEntries(params) {
|
|
|
29685
29676
|
catch (e_4_1) { e_4 = { error: e_4_1 }; }
|
|
29686
29677
|
finally {
|
|
29687
29678
|
try {
|
|
29688
|
-
if (drawIds_1_1 && !drawIds_1_1.done && (
|
|
29679
|
+
if (drawIds_1_1 && !drawIds_1_1.done && (_o = drawIds_1.return)) _o.call(drawIds_1);
|
|
29689
29680
|
}
|
|
29690
29681
|
finally { if (e_4) throw e_4.error; }
|
|
29691
29682
|
}
|
|
@@ -29698,7 +29689,7 @@ function getParticipantEntries(params) {
|
|
|
29698
29689
|
withMatchUps ||
|
|
29699
29690
|
withDraws) {
|
|
29700
29691
|
var nextMatchUps = !!scheduleAnalysis || withPotentialMatchUps;
|
|
29701
|
-
var eventMatchUps = (
|
|
29692
|
+
var eventMatchUps = (_j = (_h = allEventMatchUps({
|
|
29702
29693
|
afterRecoveryTimes: !!scheduleAnalysis,
|
|
29703
29694
|
policyDefinitions: policyDefinitions,
|
|
29704
29695
|
tournamentRecord: tournamentRecord,
|
|
@@ -29707,10 +29698,10 @@ function getParticipantEntries(params) {
|
|
|
29707
29698
|
participantMap: participantMap,
|
|
29708
29699
|
nextMatchUps: nextMatchUps,
|
|
29709
29700
|
event: event_1,
|
|
29710
|
-
})) === null ||
|
|
29701
|
+
})) === null || _h === void 0 ? void 0 : _h.matchUps) !== null && _j !== void 0 ? _j : [];
|
|
29711
29702
|
var _loop_5 = function (matchUp) {
|
|
29712
|
-
var e_7,
|
|
29713
|
-
var finishingPositionRange = matchUp.finishingPositionRange, potentialParticipants = matchUp.potentialParticipants,
|
|
29703
|
+
var e_7, _w;
|
|
29704
|
+
var finishingPositionRange = matchUp.finishingPositionRange, potentialParticipants = matchUp.potentialParticipants, _x = matchUp.tieMatchUps, tieMatchUps = _x === void 0 ? [] : _x, _y = matchUp.sides, sides = _y === void 0 ? [] : _y, winningSide = matchUp.winningSide, matchUpType = matchUp.matchUpType, matchUpId = matchUp.matchUpId, eventId_1 = matchUp.eventId, drawId = matchUp.drawId, collectionId = matchUp.collectionId, stageSequence = matchUp.stageSequence, finishingRound = matchUp.finishingRound, matchUpStatus = matchUp.matchUpStatus, roundPosition = matchUp.roundPosition, roundNumber = matchUp.roundNumber, structureId = matchUp.structureId, schedule = matchUp.schedule, score = matchUp.score, stage = matchUp.stage;
|
|
29714
29705
|
mappedMatchUps[matchUpId] = matchUp;
|
|
29715
29706
|
var baseAttrs = {
|
|
29716
29707
|
finishingPositionRange: finishingPositionRange,
|
|
@@ -29730,14 +29721,14 @@ function getParticipantEntries(params) {
|
|
|
29730
29721
|
try {
|
|
29731
29722
|
for (var tieMatchUps_1 = (e_7 = void 0, __values(tieMatchUps)), tieMatchUps_1_1 = tieMatchUps_1.next(); !tieMatchUps_1_1.done; tieMatchUps_1_1 = tieMatchUps_1.next()) {
|
|
29732
29723
|
var tieMatchUp = tieMatchUps_1_1.value;
|
|
29733
|
-
var tieMatchUpWinningSide = tieMatchUp.winningSide,
|
|
29724
|
+
var tieMatchUpWinningSide = tieMatchUp.winningSide, _z = tieMatchUp.sides, tieMatchUpSides = _z === void 0 ? [] : _z, tieMatchUpId = tieMatchUp.matchUpId, matchUpStatus_1 = tieMatchUp.matchUpStatus, matchUpType_1 = tieMatchUp.matchUpType;
|
|
29734
29725
|
processSides(__assign(__assign(__assign({}, baseAttrs), withOpts), { winningSide: tieMatchUpWinningSide, tieWinningSide: winningSide, matchUpTieId: matchUpId, matchUpId: tieMatchUpId, sides: tieMatchUpSides, matchUpSides: sides, matchUpStatus: matchUpStatus_1, matchUpType: matchUpType_1 }));
|
|
29735
29726
|
}
|
|
29736
29727
|
}
|
|
29737
29728
|
catch (e_7_1) { e_7 = { error: e_7_1 }; }
|
|
29738
29729
|
finally {
|
|
29739
29730
|
try {
|
|
29740
|
-
if (tieMatchUps_1_1 && !tieMatchUps_1_1.done && (
|
|
29731
|
+
if (tieMatchUps_1_1 && !tieMatchUps_1_1.done && (_w = tieMatchUps_1.return)) _w.call(tieMatchUps_1);
|
|
29741
29732
|
}
|
|
29742
29733
|
finally { if (e_7) throw e_7.error; }
|
|
29743
29734
|
}
|
|
@@ -29788,7 +29779,7 @@ function getParticipantEntries(params) {
|
|
|
29788
29779
|
catch (e_5_1) { e_5 = { error: e_5_1 }; }
|
|
29789
29780
|
finally {
|
|
29790
29781
|
try {
|
|
29791
|
-
if (eventMatchUps_1_1 && !eventMatchUps_1_1.done && (
|
|
29782
|
+
if (eventMatchUps_1_1 && !eventMatchUps_1_1.done && (_p = eventMatchUps_1.return)) _p.call(eventMatchUps_1);
|
|
29792
29783
|
}
|
|
29793
29784
|
finally { if (e_5) throw e_5.error; }
|
|
29794
29785
|
}
|
|
@@ -29796,23 +29787,23 @@ function getParticipantEntries(params) {
|
|
|
29796
29787
|
}
|
|
29797
29788
|
};
|
|
29798
29789
|
try {
|
|
29799
|
-
for (var
|
|
29800
|
-
var event_1 =
|
|
29790
|
+
for (var _k = __values((tournamentRecord === null || tournamentRecord === void 0 ? void 0 : tournamentRecord.events) || []), _l = _k.next(); !_l.done; _l = _k.next()) {
|
|
29791
|
+
var event_1 = _l.value;
|
|
29801
29792
|
_loop_1(event_1);
|
|
29802
29793
|
}
|
|
29803
29794
|
}
|
|
29804
29795
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
29805
29796
|
finally {
|
|
29806
29797
|
try {
|
|
29807
|
-
if (
|
|
29798
|
+
if (_l && !_l.done && (_a = _k.return)) _a.call(_k);
|
|
29808
29799
|
}
|
|
29809
29800
|
finally { if (e_1) throw e_1.error; }
|
|
29810
29801
|
}
|
|
29811
29802
|
if (withStatistics || withRankingProfile || !!scheduleAnalysis) {
|
|
29812
29803
|
var aggregators = Object.values(participantMap);
|
|
29813
29804
|
var _loop_2 = function (participantAggregator) {
|
|
29814
|
-
var e_8,
|
|
29815
|
-
var
|
|
29805
|
+
var e_8, _0, e_9, _1, e_10, _2;
|
|
29806
|
+
var _3 = participantAggregator.counters, wins = _3.wins, losses = _3.losses, _4 = SINGLES$1, _5 = _3[_4], singlesWins = _5.wins, singlesLosses = _5.losses, _6 = DOUBLES$1, _7 = _3[_6], doublesWins = _7.wins, doublesLosses = _7.losses;
|
|
29816
29807
|
var addStatValue = function (statCode, wins, losses) {
|
|
29817
29808
|
var denominator = wins + losses;
|
|
29818
29809
|
var numerator = wins;
|
|
@@ -29835,7 +29826,7 @@ function getParticipantEntries(params) {
|
|
|
29835
29826
|
return Math.abs(range[0] - range[1]);
|
|
29836
29827
|
};
|
|
29837
29828
|
var _loop_7 = function (drawId) {
|
|
29838
|
-
var
|
|
29829
|
+
var _10 = derivedDrawInfo[drawId] || {}, _11 = _10.orderedStructureIds, orderedStructureIds = _11 === void 0 ? [] : _11, flightNumber = _10.flightNumber;
|
|
29839
29830
|
if (participantAggregator.structureParticipation &&
|
|
29840
29831
|
orderedStructureIds.length) {
|
|
29841
29832
|
var finishingPositionRange_1;
|
|
@@ -29871,15 +29862,15 @@ function getParticipantEntries(params) {
|
|
|
29871
29862
|
}
|
|
29872
29863
|
};
|
|
29873
29864
|
try {
|
|
29874
|
-
for (var
|
|
29875
|
-
var drawId =
|
|
29865
|
+
for (var _8 = (e_8 = void 0, __values(Object.keys(participantAggregator.draws))), _9 = _8.next(); !_9.done; _9 = _8.next()) {
|
|
29866
|
+
var drawId = _9.value;
|
|
29876
29867
|
_loop_7(drawId);
|
|
29877
29868
|
}
|
|
29878
29869
|
}
|
|
29879
29870
|
catch (e_8_1) { e_8 = { error: e_8_1 }; }
|
|
29880
29871
|
finally {
|
|
29881
29872
|
try {
|
|
29882
|
-
if (
|
|
29873
|
+
if (_9 && !_9.done && (_0 = _8.return)) _0.call(_8);
|
|
29883
29874
|
}
|
|
29884
29875
|
finally { if (e_8) throw e_8.error; }
|
|
29885
29876
|
}
|
|
@@ -29945,7 +29936,7 @@ function getParticipantEntries(params) {
|
|
|
29945
29936
|
catch (e_10_1) { e_10 = { error: e_10_1 }; }
|
|
29946
29937
|
finally {
|
|
29947
29938
|
try {
|
|
29948
|
-
if (scheduleItemsToConsider_1_1 && !scheduleItemsToConsider_1_1.done && (
|
|
29939
|
+
if (scheduleItemsToConsider_1_1 && !scheduleItemsToConsider_1_1.done && (_2 = scheduleItemsToConsider_1.return)) _2.call(scheduleItemsToConsider_1);
|
|
29949
29940
|
}
|
|
29950
29941
|
finally { if (e_10) throw e_10.error; }
|
|
29951
29942
|
}
|
|
@@ -29954,7 +29945,7 @@ function getParticipantEntries(params) {
|
|
|
29954
29945
|
catch (e_9_1) { e_9 = { error: e_9_1 }; }
|
|
29955
29946
|
finally {
|
|
29956
29947
|
try {
|
|
29957
|
-
if (scheduleItems_1_1 && !scheduleItems_1_1.done && (
|
|
29948
|
+
if (scheduleItems_1_1 && !scheduleItems_1_1.done && (_1 = scheduleItems_1.return)) _1.call(scheduleItems_1);
|
|
29958
29949
|
}
|
|
29959
29950
|
finally { if (e_9) throw e_9.error; }
|
|
29960
29951
|
}
|