@marinade.finance/scoring 1.0.0 → 1.0.2
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/computing/cluster.d.ts +10 -0
- package/dist/computing/cluster.js +95 -0
- package/dist/computing/cluster.js.map +1 -0
- package/dist/computing/eligibility.d.ts +19 -0
- package/dist/computing/eligibility.js +163 -0
- package/dist/computing/eligibility.js.map +1 -0
- package/dist/computing/score.d.ts +20 -0
- package/dist/computing/score.js +174 -0
- package/dist/computing/score.js.map +1 -0
- package/dist/computing/stake.d.ts +26 -0
- package/dist/computing/stake.js +197 -0
- package/dist/computing/stake.js.map +1 -0
- package/dist/computing/validators.d.ts +16 -0
- package/dist/computing/validators.js +123 -0
- package/dist/computing/validators.js.map +1 -0
- package/dist/constants/marinade.json +38 -0
- package/dist/dto/bonds.dto.d.ts +12 -0
- package/dist/dto/bonds.dto.js +3 -0
- package/dist/dto/bonds.dto.js.map +1 -0
- package/dist/dto/cluster.dto.d.ts +12 -0
- package/dist/dto/cluster.dto.js +3 -0
- package/dist/dto/cluster.dto.js.map +1 -0
- package/{src/dto/eligibility.dto.ts → dist/dto/eligibility.dto.d.ts} +15 -20
- package/dist/dto/eligibility.dto.js +3 -0
- package/dist/dto/eligibility.dto.js.map +1 -0
- package/dist/dto/jito.dto.d.ts +9 -0
- package/dist/dto/jito.dto.js +10 -0
- package/dist/dto/jito.dto.js.map +1 -0
- package/dist/dto/marinade.dto.d.ts +18 -0
- package/dist/dto/marinade.dto.js +3 -0
- package/dist/dto/marinade.dto.js.map +1 -0
- package/dist/dto/rewards.dto.d.ts +17 -0
- package/dist/dto/rewards.dto.js +18 -0
- package/dist/dto/rewards.dto.js.map +1 -0
- package/dist/dto/scoring.dto.d.ts +101 -0
- package/dist/dto/scoring.dto.js +3 -0
- package/dist/dto/scoring.dto.js.map +1 -0
- package/dist/dto/snapshots.dto.d.ts +15 -0
- package/dist/dto/snapshots.dto.js +13 -0
- package/dist/dto/snapshots.dto.js.map +1 -0
- package/dist/dto/stakes.dto.d.ts +30 -0
- package/dist/dto/stakes.dto.js +3 -0
- package/dist/dto/stakes.dto.js.map +1 -0
- package/dist/dto/validators.dto.d.ts +110 -0
- package/dist/dto/validators.dto.js +19 -0
- package/dist/dto/validators.dto.js.map +1 -0
- package/dist/errors/fetching.d.ts +22 -0
- package/dist/errors/fetching.js +30 -0
- package/dist/errors/fetching.js.map +1 -0
- package/dist/index.d.ts +24 -0
- package/dist/index.js +41 -0
- package/dist/index.js.map +1 -0
- package/dist/interfaces/data-provider.interface.d.ts +16 -0
- package/dist/interfaces/data-provider.interface.js +3 -0
- package/dist/interfaces/data-provider.interface.js.map +1 -0
- package/dist/logging/logger.d.ts +3 -0
- package/dist/logging/logger.js +72 -0
- package/dist/logging/logger.js.map +1 -0
- package/dist/providers/api-data.provider.d.ts +30 -0
- package/dist/providers/api-data.provider.js +227 -0
- package/dist/providers/api-data.provider.js.map +1 -0
- package/dist/providers/file-data.provider.d.ts +29 -0
- package/dist/providers/file-data.provider.js +96 -0
- package/dist/providers/file-data.provider.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/utils/csv.d.ts +2 -0
- package/dist/utils/csv.js +53 -0
- package/dist/utils/csv.js.map +1 -0
- package/dist/utils/maths.d.ts +8 -0
- package/dist/utils/maths.js +56 -0
- package/dist/utils/maths.js.map +1 -0
- package/dist/utils/solana.d.ts +1 -0
- package/dist/utils/solana.js +9 -0
- package/dist/utils/solana.js.map +1 -0
- package/dist/utils/zip.d.ts +2 -0
- package/dist/utils/zip.js +15 -0
- package/dist/utils/zip.js.map +1 -0
- package/package.json +14 -16
- package/src/cluster/cluster.module.ts +0 -8
- package/src/cluster/cluster.service.ts +0 -108
- package/src/config/config.module.ts +0 -8
- package/src/config/config.service.ts +0 -136
- package/src/constants/marinade.json +0 -38
- package/src/dto/bonds.dto.ts +0 -14
- package/src/dto/cluster.dto.ts +0 -13
- package/src/dto/jito.dto.ts +0 -10
- package/src/dto/marinade.dto.ts +0 -18
- package/src/dto/rewards.dto.ts +0 -21
- package/src/dto/scoring.dto.ts +0 -109
- package/src/dto/snapshots.dto.ts +0 -19
- package/src/dto/stakes.dto.ts +0 -35
- package/src/dto/validators.dto.ts +0 -146
- package/src/eligibility/eligibility.module.ts +0 -11
- package/src/eligibility/eligibility.service.ts +0 -183
- package/src/errors/fetching.ts +0 -25
- package/src/interfaces/data-provider.interface.ts +0 -17
- package/src/providers/api-data.provider.ts +0 -261
- package/src/providers/file-data.provider.ts +0 -125
- package/src/scoring/scoring.module.ts +0 -11
- package/src/scoring/scoring.service.ts +0 -184
- package/src/stake/stake.module.ts +0 -10
- package/src/stake/stake.service.ts +0 -242
- package/src/utils/csv.ts +0 -30
- package/src/utils/maths.ts +0 -75
- package/src/utils/solana.ts +0 -9
- package/src/utils/zip.ts +0 -12
- package/src/validators/validators.module.ts +0 -48
- package/src/validators/validators.service.ts +0 -177
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ApiDataProvider = exports.URLs = void 0;
|
|
7
|
+
const rewards_dto_1 = require("../dto/rewards.dto");
|
|
8
|
+
const maths_1 = require("../utils/maths");
|
|
9
|
+
const fetching_1 = require("../errors/fetching");
|
|
10
|
+
const promises_1 = require("fs/promises");
|
|
11
|
+
const axios_1 = __importDefault(require("axios"));
|
|
12
|
+
const logger_1 = require("../logging/logger");
|
|
13
|
+
class URLs {
|
|
14
|
+
}
|
|
15
|
+
exports.URLs = URLs;
|
|
16
|
+
class ApiDataProvider {
|
|
17
|
+
constructor(urls, snapshotsBasePath) {
|
|
18
|
+
this.urls = urls;
|
|
19
|
+
this.snapshotsBasePath = snapshotsBasePath;
|
|
20
|
+
}
|
|
21
|
+
async fetchValidators(epochsToFetch, withSnapshot = false) {
|
|
22
|
+
try {
|
|
23
|
+
const response = await axios_1.default.get(`${this.urls.validatorsURL}?limit=9999&epochs=${epochsToFetch + 1}`);
|
|
24
|
+
const rawData = response.data;
|
|
25
|
+
rawData.validators.forEach(validator => {
|
|
26
|
+
validator.epochStats = validator.epoch_stats.reduce((acc, epochStat) => {
|
|
27
|
+
acc[epochStat.epoch] = epochStat;
|
|
28
|
+
return acc;
|
|
29
|
+
}, {});
|
|
30
|
+
});
|
|
31
|
+
if (withSnapshot) {
|
|
32
|
+
await (0, promises_1.writeFile)('./snapshot/validators.json', JSON.stringify(rawData, null, 2));
|
|
33
|
+
}
|
|
34
|
+
return rawData.validators;
|
|
35
|
+
}
|
|
36
|
+
catch (err) {
|
|
37
|
+
if (axios_1.default.isAxiosError(logger_1.error)) {
|
|
38
|
+
const axiosError = logger_1.error;
|
|
39
|
+
if (axiosError.response) {
|
|
40
|
+
(0, logger_1.error)(fetching_1.FETCHING_ERROR_MESSAGES.validatorsFetchFailed, axiosError.response.status);
|
|
41
|
+
}
|
|
42
|
+
else if (axiosError.request) {
|
|
43
|
+
(0, logger_1.error)(fetching_1.FETCHING_ERROR_MESSAGES.generalValidatorsFetchFailed, axiosError.request);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
throw err;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
async fetchTvl(withSnapshot) {
|
|
50
|
+
try {
|
|
51
|
+
const response = await axios_1.default.get(this.urls.marinadeTvlURL);
|
|
52
|
+
const data = response.data;
|
|
53
|
+
if (withSnapshot) {
|
|
54
|
+
await (0, promises_1.writeFile)(`${this.snapshotsBasePath}/tvl.json`, JSON.stringify(data, null, 2));
|
|
55
|
+
}
|
|
56
|
+
return data;
|
|
57
|
+
}
|
|
58
|
+
catch (err) {
|
|
59
|
+
if (axios_1.default.isAxiosError(logger_1.error)) {
|
|
60
|
+
const axiosError = logger_1.error;
|
|
61
|
+
if (axiosError.response) {
|
|
62
|
+
(0, logger_1.error)(fetching_1.FETCHING_ERROR_MESSAGES.tvlFetchFailed, axiosError.response.status);
|
|
63
|
+
}
|
|
64
|
+
else if (axiosError.request) {
|
|
65
|
+
(0, logger_1.error)(fetching_1.FETCHING_ERROR_MESSAGES.generalTvlFetchFailed, axiosError.request);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
throw err;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
async fetchBonds(withSnapshot) {
|
|
72
|
+
try {
|
|
73
|
+
const response = await axios_1.default.get(this.urls.bondsURL);
|
|
74
|
+
const data = response.data;
|
|
75
|
+
const bonds = data.bonds.reduce((acc, bond) => {
|
|
76
|
+
acc[bond.vote_account] = bond.cpmpe;
|
|
77
|
+
return acc;
|
|
78
|
+
}, {});
|
|
79
|
+
if (withSnapshot) {
|
|
80
|
+
await (0, promises_1.writeFile)(`${this.snapshotsBasePath}/bonds.json`, JSON.stringify(data, null, 2));
|
|
81
|
+
}
|
|
82
|
+
return bonds;
|
|
83
|
+
}
|
|
84
|
+
catch (err) {
|
|
85
|
+
if (axios_1.default.isAxiosError(err)) {
|
|
86
|
+
const axiosError = err;
|
|
87
|
+
if (axiosError.response) {
|
|
88
|
+
(0, logger_1.error)(fetching_1.FETCHING_ERROR_MESSAGES.bondsFetchFailed, axiosError.response.status);
|
|
89
|
+
}
|
|
90
|
+
else if (axiosError.request) {
|
|
91
|
+
(0, logger_1.error)(fetching_1.FETCHING_ERROR_MESSAGES.generalBondsFetchFailed, axiosError.request);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
throw err;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
async fetchBlacklist(withSnapshot = false) {
|
|
98
|
+
try {
|
|
99
|
+
const response = await axios_1.default.get(this.urls.blacklistURL, {
|
|
100
|
+
responseType: 'text'
|
|
101
|
+
});
|
|
102
|
+
const csv = response.data;
|
|
103
|
+
if (withSnapshot) {
|
|
104
|
+
await (0, promises_1.writeFile)(`${this.snapshotsBasePath}/blacklist.csv`, csv);
|
|
105
|
+
}
|
|
106
|
+
const blacklistSet = new Set(csv
|
|
107
|
+
.split('\n')
|
|
108
|
+
.map((line) => line.trim().split(',')[0])
|
|
109
|
+
.filter((value) => !!value));
|
|
110
|
+
return blacklistSet;
|
|
111
|
+
}
|
|
112
|
+
catch (err) {
|
|
113
|
+
if (axios_1.default.isAxiosError(err)) {
|
|
114
|
+
if (err.response) {
|
|
115
|
+
(0, logger_1.error)(fetching_1.FETCHING_ERROR_MESSAGES.blacklistFetchFailed, err.response.status);
|
|
116
|
+
}
|
|
117
|
+
else if (err.request) {
|
|
118
|
+
(0, logger_1.error)(fetching_1.FETCHING_ERROR_MESSAGES.generalBlacklistFetchFailed, err.request);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
throw err;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
async fetchVeMndeVotes(withSnapshot = false) {
|
|
125
|
+
try {
|
|
126
|
+
const response = await axios_1.default.get(this.urls.vemndeVotesURL);
|
|
127
|
+
const data = response.data;
|
|
128
|
+
if (withSnapshot) {
|
|
129
|
+
await (0, promises_1.writeFile)(`${this.snapshotsBasePath}/vemnde-votes.json`, JSON.stringify(data, null, 2));
|
|
130
|
+
}
|
|
131
|
+
const result = {};
|
|
132
|
+
for (const { amount, validatorVoteAccount } of data.records) {
|
|
133
|
+
const parsedAmount = Number(amount);
|
|
134
|
+
if (!isNaN(parsedAmount) && parsedAmount > 0) {
|
|
135
|
+
result[validatorVoteAccount] = (result[validatorVoteAccount] ?? 0) + parsedAmount;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
return result;
|
|
139
|
+
}
|
|
140
|
+
catch (err) {
|
|
141
|
+
if (axios_1.default.isAxiosError(err)) {
|
|
142
|
+
if (err.response) {
|
|
143
|
+
(0, logger_1.error)(fetching_1.FETCHING_ERROR_MESSAGES.vemndeFetchFailed, err.response.status);
|
|
144
|
+
}
|
|
145
|
+
else if (err.request) {
|
|
146
|
+
(0, logger_1.error)(fetching_1.FETCHING_ERROR_MESSAGES.generalVemndeFetchFailed, err.request);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
throw err;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
async fetchMSolVotes(withSnapshot = false) {
|
|
153
|
+
try {
|
|
154
|
+
const response = await axios_1.default.get(this.urls.msolVotesURL);
|
|
155
|
+
const data = response.data;
|
|
156
|
+
if (withSnapshot) {
|
|
157
|
+
await (0, promises_1.writeFile)(`${this.snapshotsBasePath}/msol-votes.json`, JSON.stringify(data, null, 2));
|
|
158
|
+
}
|
|
159
|
+
const result = {};
|
|
160
|
+
for (const { amount, validatorVoteAccount } of data.records) {
|
|
161
|
+
const parsedAmount = Number(amount);
|
|
162
|
+
if (!isNaN(parsedAmount) && parsedAmount > 0) {
|
|
163
|
+
result[validatorVoteAccount] = (result[validatorVoteAccount] ?? 0) + parsedAmount;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
return result;
|
|
167
|
+
}
|
|
168
|
+
catch (err) {
|
|
169
|
+
if (axios_1.default.isAxiosError(err)) {
|
|
170
|
+
if (err.response) {
|
|
171
|
+
(0, logger_1.error)(fetching_1.FETCHING_ERROR_MESSAGES.msolFetchFailed, err.response.status);
|
|
172
|
+
}
|
|
173
|
+
else if (err.request) {
|
|
174
|
+
(0, logger_1.error)(fetching_1.FETCHING_ERROR_MESSAGES.generalMsolFetchFailed, err.request);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
throw err;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
async fetchRewards(epochs, withSnapshot = false) {
|
|
181
|
+
try {
|
|
182
|
+
const response = await axios_1.default.get(`${this.urls.rewardsURL}?epochs=${epochs}`);
|
|
183
|
+
const jsonResponse = response.data;
|
|
184
|
+
const data = new rewards_dto_1.RewardsResponseDto(jsonResponse);
|
|
185
|
+
if (withSnapshot) {
|
|
186
|
+
await (0, promises_1.writeFile)(`${this.snapshotsBasePath}/rewards.json`, JSON.stringify(jsonResponse, null, 2));
|
|
187
|
+
}
|
|
188
|
+
const mev = (0, maths_1.sum)(data.rewards_mev.map(dto => dto.amount));
|
|
189
|
+
const inflation = (0, maths_1.sum)(data.rewards_inflation_est.map(dto => dto.amount));
|
|
190
|
+
return { inflation, mev };
|
|
191
|
+
}
|
|
192
|
+
catch (err) {
|
|
193
|
+
if (axios_1.default.isAxiosError(err)) {
|
|
194
|
+
if (err.response) {
|
|
195
|
+
(0, logger_1.error)(fetching_1.FETCHING_ERROR_MESSAGES.rewardsFetchFailed, err.response.status);
|
|
196
|
+
}
|
|
197
|
+
else if (err.request) {
|
|
198
|
+
(0, logger_1.error)(fetching_1.FETCHING_ERROR_MESSAGES.generalRewardsFetchFailed, err.request);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
throw err;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
async fetchValidatorsJitoMEV(withSnapshot = false) {
|
|
205
|
+
try {
|
|
206
|
+
const response = await axios_1.default.get(this.urls.jitoMevURL);
|
|
207
|
+
const jitoMevRecords = response.data;
|
|
208
|
+
if (withSnapshot) {
|
|
209
|
+
await (0, promises_1.writeFile)(`${this.snapshotsBasePath}/jito-mev-records.json`, JSON.stringify(jitoMevRecords, null, 2));
|
|
210
|
+
}
|
|
211
|
+
return Object.fromEntries(jitoMevRecords.validators.map((validator) => [validator.vote_account, validator]));
|
|
212
|
+
}
|
|
213
|
+
catch (err) {
|
|
214
|
+
if (axios_1.default.isAxiosError(err)) {
|
|
215
|
+
if (err.response) {
|
|
216
|
+
(0, logger_1.error)(fetching_1.FETCHING_ERROR_MESSAGES.jitoMevFetchFailed, err.response.status);
|
|
217
|
+
}
|
|
218
|
+
else if (err.request) {
|
|
219
|
+
(0, logger_1.error)(fetching_1.FETCHING_ERROR_MESSAGES.generalJitoMEVFetchFailed, err.request);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
throw err;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
exports.ApiDataProvider = ApiDataProvider;
|
|
227
|
+
//# sourceMappingURL=api-data.provider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-data.provider.js","sourceRoot":"","sources":["../../src/providers/api-data.provider.ts"],"names":[],"mappings":";;;;;;AAAA,oDAAiE;AAIjE,0CAAqC;AACrC,iDAA6D;AAE7D,0CAAwC;AAGxC,kDAA0C;AAC1C,8CAA0C;AAE1C,MAAa,IAAI;CAShB;AATD,oBASC;AAED,MAAa,eAAe;IAC1B,YAAoB,IAAU,EAAU,iBAA0B;QAA9C,SAAI,GAAJ,IAAI,CAAM;QAAU,sBAAiB,GAAjB,iBAAiB,CAAS;IAAI,CAAC;IAEvE,KAAK,CAAC,eAAe,CAAC,aAAqB,EAAE,YAAY,GAAG,KAAK;QAC/D,IAAI;YACF,MAAM,QAAQ,GAAG,MAAM,eAAK,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,aAAa,sBAAsB,aAAa,GAAG,CAAC,EAAE,CAAC,CAAC;YAEtG,MAAM,OAAO,GAAG,QAAQ,CAAC,IAA6B,CAAC;YAEvD,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE;gBACrC,SAAS,CAAC,UAAU,GAAG,SAAS,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,SAAS,EAAE,EAAE;oBACrE,GAAG,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC;oBACjC,OAAO,GAAG,CAAC;gBACb,CAAC,EAAE,EAAkC,CAAC,CAAC;YACzC,CAAC,CAAC,CAAC;YAEH,IAAI,YAAY,EAAE;gBAChB,MAAM,IAAA,oBAAS,EAAC,4BAA4B,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAA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C,CAAC,CAAC;aAC7G;YAED,OAAO,MAAM,CAAC,WAAW,CACvB,cAAc,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC,CAClF,CAAC;SACH;QAAC,OAAO,GAAG,EAAE;YACZ,IAAI,eAAK,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE;gBAC3B,IAAI,GAAG,CAAC,QAAQ,EAAE;oBAChB,IAAA,cAAK,EAAC,kCAAuB,CAAC,kBAAkB,EAAE,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;iBACxE;qBAAM,IAAI,GAAG,CAAC,OAAO,EAAE;oBACtB,IAAA,cAAK,EAAC,kCAAuB,CAAC,yBAAyB,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;iBACvE;aACF;YAED,MAAM,GAAG,CAAC;SACX;IACH,CAAC;CACF;AA5OD,0CA4OC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { TvlStats } from '../dto/marinade.dto';
|
|
2
|
+
import { Bonds } from '../dto/bonds.dto';
|
|
3
|
+
import { JitoValidatorDto } from '../dto/jito.dto';
|
|
4
|
+
import { Rewards } from '../dto/rewards.dto';
|
|
5
|
+
import { ValidatorDto } from '../dto/validators.dto';
|
|
6
|
+
import { IDataProvider } from '../interfaces/data-provider.interface';
|
|
7
|
+
declare class Paths {
|
|
8
|
+
validatorsPath: string;
|
|
9
|
+
blacklistPath: string;
|
|
10
|
+
vemndeVotesPath: string;
|
|
11
|
+
msolVotesPath: string;
|
|
12
|
+
rewardsPath: string;
|
|
13
|
+
jitoMevPath: string;
|
|
14
|
+
bondsPath: string;
|
|
15
|
+
marinadeTvlPath: string;
|
|
16
|
+
}
|
|
17
|
+
export declare class FileDataProvider implements IDataProvider {
|
|
18
|
+
private paths;
|
|
19
|
+
constructor(paths: Paths);
|
|
20
|
+
fetchValidators(epochsToFetch: number): Promise<ValidatorDto[]>;
|
|
21
|
+
fetchTvl(withSnapshot: boolean): Promise<TvlStats>;
|
|
22
|
+
fetchBlacklist(): Promise<Set<string>>;
|
|
23
|
+
fetchBonds(): Promise<Bonds>;
|
|
24
|
+
fetchVeMndeVotes(): Promise<Record<string, number>>;
|
|
25
|
+
fetchMSolVotes(): Promise<Record<string, number>>;
|
|
26
|
+
fetchRewards(epochs: number): Promise<Rewards>;
|
|
27
|
+
fetchValidatorsJitoMEV(): Promise<Record<string, JitoValidatorDto>>;
|
|
28
|
+
}
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FileDataProvider = void 0;
|
|
4
|
+
const rewards_dto_1 = require("../dto/rewards.dto");
|
|
5
|
+
const promises_1 = require("fs/promises");
|
|
6
|
+
const fetching_1 = require("../errors/fetching");
|
|
7
|
+
const maths_1 = require("../utils/maths");
|
|
8
|
+
const logger_1 = require("../logging/logger");
|
|
9
|
+
class Paths {
|
|
10
|
+
}
|
|
11
|
+
class FileDataProvider {
|
|
12
|
+
constructor(paths) {
|
|
13
|
+
this.paths = paths;
|
|
14
|
+
}
|
|
15
|
+
async fetchValidators(epochsToFetch) {
|
|
16
|
+
try {
|
|
17
|
+
const validatorsFile = await (0, promises_1.readFile)(this.paths.validatorsPath, 'utf8');
|
|
18
|
+
const validatorsData = JSON.parse(validatorsFile);
|
|
19
|
+
validatorsData.validators.forEach(validator => {
|
|
20
|
+
validator.epochStats = validator.epoch_stats.reduce((acc, epochStat) => {
|
|
21
|
+
acc[epochStat.epoch] = epochStat;
|
|
22
|
+
return acc;
|
|
23
|
+
}, {});
|
|
24
|
+
});
|
|
25
|
+
return validatorsData.validators;
|
|
26
|
+
}
|
|
27
|
+
catch (err) {
|
|
28
|
+
(0, logger_1.error)(fetching_1.FETCHING_ERROR_MESSAGES.generalValidatorsFetchFailed, err);
|
|
29
|
+
throw err;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
async fetchTvl(withSnapshot) {
|
|
33
|
+
const tvlFile = await (0, promises_1.readFile)(this.paths.marinadeTvlPath, 'utf8');
|
|
34
|
+
const tvlData = JSON.parse(tvlFile);
|
|
35
|
+
return tvlData;
|
|
36
|
+
}
|
|
37
|
+
async fetchBlacklist() {
|
|
38
|
+
const blacklistFile = await (0, promises_1.readFile)(this.paths.blacklistPath, 'utf8');
|
|
39
|
+
const blacklistSet = new Set(blacklistFile.split('\n').map((line) => line.split(',')[0]).filter((value) => !!value));
|
|
40
|
+
return blacklistSet;
|
|
41
|
+
}
|
|
42
|
+
async fetchBonds() {
|
|
43
|
+
const bondsFile = await (0, promises_1.readFile)(this.paths.bondsPath, 'utf8');
|
|
44
|
+
const bondsData = JSON.parse(bondsFile);
|
|
45
|
+
const bonds = bondsData.bonds.reduce((acc, bond) => {
|
|
46
|
+
acc[bond.vote_account] = bond.cpmpe;
|
|
47
|
+
return acc;
|
|
48
|
+
}, {});
|
|
49
|
+
return bonds;
|
|
50
|
+
}
|
|
51
|
+
async fetchVeMndeVotes() {
|
|
52
|
+
const vemndeVotesFile = await (0, promises_1.readFile)(this.paths.vemndeVotesPath, 'utf8');
|
|
53
|
+
const vemndeVotesData = JSON.parse(vemndeVotesFile);
|
|
54
|
+
const result = {};
|
|
55
|
+
for (const { amount, validatorVoteAccount } of vemndeVotesData.records) {
|
|
56
|
+
const parsedAmount = Number(amount);
|
|
57
|
+
if (!isNaN(parsedAmount) && parsedAmount > 0) {
|
|
58
|
+
result[validatorVoteAccount] = (result[validatorVoteAccount] ?? 0) + parsedAmount;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
return result;
|
|
62
|
+
}
|
|
63
|
+
async fetchMSolVotes() {
|
|
64
|
+
const msolVotesFile = await (0, promises_1.readFile)(this.paths.msolVotesPath, 'utf8');
|
|
65
|
+
const msolVotesData = JSON.parse(msolVotesFile);
|
|
66
|
+
const result = {};
|
|
67
|
+
for (const { amount, validatorVoteAccount } of msolVotesData.records) {
|
|
68
|
+
const parsedAmount = Number(amount);
|
|
69
|
+
if (!isNaN(parsedAmount) && parsedAmount > 0) {
|
|
70
|
+
result[validatorVoteAccount] = (result[validatorVoteAccount] ?? 0) + parsedAmount;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
return result;
|
|
74
|
+
}
|
|
75
|
+
async fetchRewards(epochs) {
|
|
76
|
+
const rewardsFile = await (0, promises_1.readFile)(this.paths.rewardsPath, 'utf8');
|
|
77
|
+
const rewardsData = JSON.parse(rewardsFile);
|
|
78
|
+
const data = new rewards_dto_1.RewardsResponseDto(rewardsData);
|
|
79
|
+
const mev = (0, maths_1.sum)(data.rewards_mev.map(dto => dto.amount));
|
|
80
|
+
const inflation = (0, maths_1.sum)(data.rewards_inflation_est.map(dto => dto.amount));
|
|
81
|
+
return { inflation, mev };
|
|
82
|
+
}
|
|
83
|
+
async fetchValidatorsJitoMEV() {
|
|
84
|
+
try {
|
|
85
|
+
const jitoMevFile = await (0, promises_1.readFile)(this.paths.jitoMevPath, 'utf8');
|
|
86
|
+
const jitoMevData = JSON.parse(jitoMevFile);
|
|
87
|
+
return Object.fromEntries(jitoMevData.validators.map((validator) => [validator.vote_account, validator]));
|
|
88
|
+
}
|
|
89
|
+
catch (err) {
|
|
90
|
+
(0, logger_1.error)(fetching_1.FETCHING_ERROR_MESSAGES.generalJitoMEVFetchFailed, err);
|
|
91
|
+
throw err;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.FileDataProvider = FileDataProvider;
|
|
96
|
+
//# sourceMappingURL=file-data.provider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-data.provider.js","sourceRoot":"","sources":["../../src/providers/file-data.provider.ts"],"names":[],"mappings":";;;AAIA,oDAAiE;AAGjE,0CAAuC;AACvC,iDAA6D;AAC7D,0CAAqC;AAErC,8CAA0C;AAE1C,MAAM,KA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O,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC;IAC5B,CAAC;IACD,KAAK,CAAC,sBAAsB;QAC1B,IAAI;YACF,MAAM,WAAW,GAAG,MAAM,IAAA,mBAAQ,EAAC,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;YACnE,MAAM,WAAW,GAA8B,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;YAEvE,OAAO,MAAM,CAAC,WAAW,CACvB,WAAW,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC,CAC/E,CAAC;SACH;QAAC,OAAO,GAAG,EAAE;YACZ,IAAA,cAAK,EAAC,kCAAuB,CAAC,yBAAyB,EAAE,GAAG,CAAC,CAAC;YAC9D,MAAM,GAAG,CAAC;SACX;IACH,CAAC;CACF;AA5FD,4CA4FC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"program":{"fileNames":["../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2021.full.d.ts","../src/dto/cluster.dto.ts","../src/dto/validators.dto.ts","../../../node_modules/.pnpm/expr-eval@2.0.2/node_modules/expr-eval/parser.d.ts","../src/utils/maths.ts","../../../node_modules/.pnpm/decimal.js@10.4.3/node_modules/decimal.js/decimal.d.ts","../src/computing/cluster.ts","../src/dto/jito.dto.ts","../src/dto/rewards.dto.ts","../src/dto/snapshots.dto.ts","../src/dto/bonds.dto.ts","../src/dto/marinade.dto.ts","../src/interfaces/data-provider.interface.ts","../src/computing/validators.ts","../src/dto/eligibility.dto.ts","../src/dto/scoring.dto.ts","../src/computing/eligibility.ts","../src/utils/zip.ts","../../../node_modules/.pnpm/log4js@6.9.1/node_modules/log4js/types/log4js.d.ts","../src/logging/logger.ts","../src/computing/score.ts","../src/dto/stakes.dto.ts","../src/computing/stake.ts","../src/errors/fetching.ts","../../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/index.d.ts","../src/providers/api-data.provider.ts","../src/providers/file-data.provider.ts","../src/utils/csv.ts","../src/utils/solana.ts","../src/index.ts","../src/constants/marinade.json","../../../node_modules/.pnpm/@jest+expect-utils@29.7.0/node_modules/@jest/expect-utils/build/index.d.ts","../../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/index.d.ts","../../../node_modules/.pnpm/@sinclair+typebox@0.27.8/node_modules/@sinclair/typebox/typebox.d.ts","../../../node_modules/.pnpm/@jest+schemas@29.6.3/node_modules/@jest/schemas/build/index.d.ts","../../../node_modules/.pnpm/pretty-format@29.7.0/node_modules/pretty-format/build/index.d.ts","../../../node_modules/.pnpm/jest-diff@29.7.0/node_modules/jest-diff/build/index.d.ts","../../../node_modules/.pnpm/jest-matcher-utils@29.7.0/node_modules/jest-matcher-utils/build/index.d.ts","../../../node_modules/.pnpm/expect@29.7.0/node_modules/expect/build/index.d.ts","../../../node_modules/.pnpm/@types+jest@29.5.0/node_modules/@types/jest/index.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/file.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/filereader.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/dom-events.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/globals.global.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/index.d.ts","../../../node_modules/.pnpm/@types+bn.js@5.1.5/node_modules/@types/bn.js/index.d.ts","../../../node_modules/.pnpm/@types+eslint@8.56.9/node_modules/@types/eslint/helpers.d.ts","../../../node_modules/.pnpm/@types+estree@1.0.5/node_modules/@types/estree/index.d.ts","../../../node_modules/.pnpm/@types+json-schema@7.0.15/node_modules/@types/json-schema/index.d.ts","../../../node_modules/.pnpm/@types+eslint@8.56.9/node_modules/@types/eslint/index.d.ts","../../../node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index.d.ts","../../../node_modules/.pnpm/@types+mime@1.3.5/node_modules/@types/mime/index.d.ts","../../../node_modules/.pnpm/@types+send@0.17.4/node_modules/@types/send/index.d.ts","../../../node_modules/.pnpm/@types+qs@6.9.15/node_modules/@types/qs/index.d.ts","../../../node_modules/.pnpm/@types+range-parser@1.2.7/node_modules/@types/range-parser/index.d.ts","../../../node_modules/.pnpm/@types+express-serve-static-core@4.19.0/node_modules/@types/express-serve-static-core/index.d.ts","../../../node_modules/.pnpm/@types+http-errors@2.0.4/node_modules/@types/http-errors/index.d.ts","../../../node_modules/.pnpm/@types+serve-static@1.15.7/node_modules/@types/serve-static/index.d.ts","../../../node_modules/.pnpm/@types+connect@3.4.38/node_modules/@types/connect/index.d.ts","../../../node_modules/.pnpm/@types+body-parser@1.19.5/node_modules/@types/body-parser/index.d.ts","../../../node_modules/.pnpm/@types+express@4.17.21/node_modules/@types/express/index.d.ts","../../../node_modules/.pnpm/@types+multer@1.4.11/node_modules/@types/multer/index.d.ts","../../../node_modules/.pnpm/@types+passport@1.0.16/node_modules/@types/passport/index.d.ts","../../../node_modules/.pnpm/@types+accepts@1.3.7/node_modules/@types/accepts/index.d.ts","../../../node_modules/.pnpm/@types+keygrip@1.0.6/node_modules/@types/keygrip/index.d.ts","../../../node_modules/.pnpm/@types+cookies@0.9.0/node_modules/@types/cookies/index.d.ts","../../../node_modules/.pnpm/@types+http-assert@1.5.5/node_modules/@types/http-assert/index.d.ts","../../../node_modules/.pnpm/@types+content-disposition@0.5.8/node_modules/@types/content-disposition/index.d.ts","../../../node_modules/.pnpm/@types+koa-compose@3.2.8/node_modules/@types/koa-compose/index.d.ts","../../../node_modules/.pnpm/@types+koa@2.15.0/node_modules/@types/koa/index.d.ts","../../../node_modules/.pnpm/@types+passport-http-bearer@1.0.41/node_modules/@types/passport-http-bearer/index.d.ts","../../../node_modules/.pnpm/@types+jsonwebtoken@9.0.6/node_modules/@types/jsonwebtoken/index.d.ts","../../../node_modules/.pnpm/@types+passport-strategy@0.2.38/node_modules/@types/passport-strategy/index.d.ts","../../../node_modules/.pnpm/@types+passport-jwt@4.0.1/node_modules/@types/passport-jwt/index.d.ts","../../../node_modules/.pnpm/pg-types@4.0.2/node_modules/pg-types/index.d.ts","../../../node_modules/.pnpm/pg-protocol@1.6.1/node_modules/pg-protocol/dist/messages.d.ts","../../../node_modules/.pnpm/pg-protocol@1.6.1/node_modules/pg-protocol/dist/serializer.d.ts","../../../node_modules/.pnpm/pg-protocol@1.6.1/node_modules/pg-protocol/dist/parser.d.ts","../../../node_modules/.pnpm/pg-protocol@1.6.1/node_modules/pg-protocol/dist/index.d.ts","../../../node_modules/.pnpm/@types+pg@8.11.5/node_modules/@types/pg/index.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/classes/semver.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/parse.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/valid.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/clean.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/inc.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/diff.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/major.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/minor.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/patch.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/prerelease.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/compare.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/rcompare.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/compare-loose.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/compare-build.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/sort.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/rsort.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/gt.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/lt.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/eq.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/neq.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/gte.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/lte.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/cmp.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/coerce.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/classes/comparator.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/classes/range.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/functions/satisfies.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/ranges/max-satisfying.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/ranges/min-satisfying.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/ranges/to-comparators.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/ranges/min-version.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/ranges/valid.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/ranges/outside.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/ranges/gtr.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/ranges/ltr.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/ranges/intersects.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/ranges/simplify.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/ranges/subset.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/internals/identifiers.d.ts","../../../node_modules/.pnpm/@types+semver@7.5.8/node_modules/@types/semver/index.d.ts","../../../node_modules/.pnpm/@types+methods@1.1.4/node_modules/@types/methods/index.d.ts","../../../node_modules/.pnpm/@types+cookiejar@2.1.5/node_modules/@types/cookiejar/index.d.ts","../../../node_modules/.pnpm/@types+superagent@8.1.6/node_modules/@types/superagent/lib/agent-base.d.ts","../../../node_modules/.pnpm/@types+superagent@8.1.6/node_modules/@types/superagent/lib/node/response.d.ts","../../../node_modules/.pnpm/@types+superagent@8.1.6/node_modules/@types/superagent/types.d.ts","../../../node_modules/.pnpm/@types+superagent@8.1.6/node_modules/@types/superagent/lib/node/agent.d.ts","../../../node_modules/.pnpm/@types+superagent@8.1.6/node_modules/@types/superagent/lib/request-base.d.ts","../../../node_modules/.pnpm/@types+superagent@8.1.6/node_modules/@types/superagent/lib/node/http2wrapper.d.ts","../../../node_modules/.pnpm/@types+superagent@8.1.6/node_modules/@types/superagent/lib/node/index.d.ts","../../../node_modules/.pnpm/@types+superagent@8.1.6/node_modules/@types/superagent/index.d.ts","../../../node_modules/.pnpm/@types+supertest@2.0.16/node_modules/@types/supertest/index.d.ts","../../../../../../node_modules/@types/connect/index.d.ts","../../../../../../node_modules/@types/ws/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"f3d4da15233e593eacb3965cde7960f3fddf5878528d882bcedd5cbaba0193c7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"0ce99fa68940b918945c445a958e2568a5b7593f7e3a0eeef9f0f79d45651b91",{"version":"ad2da05541d3db97e0a55efad9f6affb04d34cb46440800600f75c2567a75900","signature":"18926b0b08d12e3a1e792a6202dc3fc27f829bb03ca8fca31d1526d46b56c4f8"},{"version":"5c3e1f312ce06ccc9da1fd25bd2a954af03d8dbe3a888e23937ec0b2215ca35f","signature":"5fe8770127bf370ff43e799063d49ce430eb372bc5acb5f9242cff749f6f8cfb"},"37aad35b3ecad99468aa414906f6db5626de3df32ead71463d38e2e677329f55",{"version":"903b1d6636af8f9c6af6eb758c26f02c6537c810c910fb3e58bf55f12ec8a079","signature":"30613cb6dad230d85bfad37892bbcdac70f47a3e51a3cab6b1c1bbc46d6a7280"},"67577c6ac7cc408265b36f54548167d12f419cab47c3567db64d0a990c089e88",{"version":"b3e0cd38392767de809556725c9857cf9affd24401b0c4e0e4d0d84452b07318","signature":"3abaddc80cd6aa7769960b1b211efc18098b508dc6f50acb8f1d726777d801d3"},{"version":"f7223f4cf58ad1c1696caac4c038eb19a3a5e3a0f88d6d3f188e8b45cf64da98","signature":"4b3e60ae7d9ae1947a42861ddc2cb7aaae60a18efa9f7454bd7b7adf635fb347"},{"version":"60db60140770273c4ac774cca1f9d688950a85955c13dd72549c06cb83e6dd77","signature":"85778b5f024b1eb3a5d63097836f566eb3641544419efba9442d89f3603d1d80"},{"version":"88fe8587ab36fc3f5b5ff6714c8dd485ad64e3c9891e6b79ce68867162535a85","signature":"ac95720d22bd021889129572de9b7c4ccaabbc70e333ed99163f4065a051bf40"},{"version":"6b43bdf3419760f5fa1237060e811e4eaa7b88735a29a10b3bc55a3ad7734a64","signature":"980396d7c2de15805725e34a45c369ae14fded5d8beff2cd152d893c7deefcd0"},{"version":"5efad1d80822c01c68e54acbb1aef2cba2d78c263cf47af9aa9c2eb61ca47b47","signature":"36dc22d277deb24657194bb1ecf778a03a562ad07214d18497d5386ad64b28d3"},{"version":"27912dec9b7c101377d5e5b9346e1fac8aca91e818f513f9a0e2b8a79d53ac73","signature":"6af77987aee89d78c239da89c486740770e0b54408de4e267b3e9fc84671e115"},{"version":"95d91ab2e759927eb9480e5b6fb95f761a07514a507d10a088b769e2934e0974","signature":"5bfb11cb225896b42a8ceb5da1d0f18169bf27176e1ef5bcac72e28fef29d7ed"},{"version":"f535e1be0c10210be726326c82957119e392cfb88b41f7d61982e6cf988cff71","signature":"eec649260f45eb6abafd53aa2b605efd30f5a1a885c27f2537b57f80ac40f7cd"},{"version":"8eeb6b2effdbbb8d8400cc55dc52038e9bfd4b76c258c4bc7e7f32650c94b7db","signature":"933bf87870e25c0aeb8d29a6bcc585289262c3948a85c4c6d19419cfc3f5bc52"},{"version":"413b8a2824f432a8d6cd6dbf225a3eb8cbdda37fb2e7609d50b1106f273b4327","signature":"5a302fa0e72d57b9da8f1c1fda1867145675e62876cd76d6adcba712ff4c902c"},{"version":"4a88726406ca32537f14b623275ec04809410308bd764735abf20728cf7e4715","signature":"36e92ec78bf365767558ddc6ea4d3772a04576afe687ecc1e40258727ceef35d"},"07eaba6c381ae3c3f513d61a39adc62373fa538f5f2e3852abbc7505f45e44b6",{"version":"9fe2a1c0ded9c25901a536323f22a6d900529fa15cd4c51bc98b68430463e356","signature":"85aaf4f2e41aa71d4b595fc9373bd60ae140cdd08d303aa886e0f3c8426e0524"},{"version":"5426089ad94d9f000b562b3da5f92b5eee3c44a12023f034e6331f79e94f44e2","signature":"094552c85700c95f05936088c7fbe1919b44073e7c2ce78c26853d62fdee866c"},{"version":"7a741255c5706eae0d0660a76348ccbf7a5264bf74e152590dcd9b1501e01b08","signature":"36b7ebffd84be07bf3512fbd862bcbdd35706283296b04e39be5930a459478d2"},{"version":"bf4466e233254f1e6ffcbbd10b2c3451d15db977e548753a5d185b69b1c27bad","signature":"78fb4ad35a3cbb860c41d535bcfe3f7ddcfa5a9feaef54e1148c535667c21245"},{"version":"c685afbea766e06ffba0d34e7ca67680ddbb1a08a80fb4a93706641d996b558e","signature":"972c052ba5c6f8baec34495ac68dc50d8fc6585dd549fd92463d995803f0fe4a"},"f64487e06875cfbe0cc854328920403df337dc6c1925070995653ac71c266c0e",{"version":"af90c3c7f707b3538f542c5c538e55aa35b6d031cf6857379dd3647cda0034ee","signature":"21ae0288d1b858b73d8ffc96e6668a7a432842117a314bf7c99d5098348e7964"},{"version":"de706d401a4ad9986c33056b6d0a8c4d6d923d986adefb203a17ca0cdf6d24d5","signature":"5693e63578c2579c76254050deae2239e1f2477474b69259725f6b5364ac32bc"},{"version":"ffb67fe7d881a0fe4e600aeb23fcd19b70b815597a2934d83392c3160b4d5c6f","signature":"9b4a7a2863a82d2c69b1c176a353255d332664b39227c1f3ac920b434310755f"},{"version":"f8a598c1440666f675ffab05f11c1c430c3d1ab7f2f729ff56d7c42b161f64ff","signature":"ced407eea5e0abd80a47891257d78f68ed3644f08fcd6a9ac706135ac6d12612"},{"version":"5838b33439487b678e1cd47f654865a3316cabe3ab6a9d8d0c9e9a33a82c06ef","signature":"f6214cdda58bc68c962703f9307fa8e0aaa45dbccf716cdf30b5fac8edeef0ab"},"7027e83b2d42549538aa01e00510eac82db7eb60a4cbb094cac4453d3de00b5a","cdcc132f207d097d7d3aa75615ab9a2e71d6a478162dde8b67f88ea19f3e54de","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","d96cc6598148bf1a98fb2e8dcf01c63a4b3558bdaec6ef35e087fd0562eb40ec",{"version":"458e2fd1185e659cb800ef68d01ef77de70dcab8860bedf6d94eaebe736751f1","affectsGlobalScope":true},"acdc9fb9638a235a69bd270003d8db4d6153ada2b7ccbea741ade36b295e431e","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"a14ed46fa3f5ffc7a8336b497cd07b45c2084213aaca933a22443fcb2eef0d07","affectsGlobalScope":true},"cce1f5f86974c1e916ec4a8cab6eec9aa8e31e8148845bf07fbaa8e1d97b1a2c",{"version":"7fd7fcbf021a5845bdd9397d4649fcf2fe17152d2098140fc723099a215d19ad","affectsGlobalScope":true},"df3389f71a71a38bc931aaf1ef97a65fada98f0a27f19dd12f8b8de2b0f4e461","d69a3298a197fe5d59edba0ec23b4abf2c8e7b8c6718eac97833633cd664e4c9",{"version":"a9544f6f8af0d046565e8dde585502698ebc99eef28b715bad7c2bded62e4a32","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb",{"version":"8b809082dfeffc8cc4f3b9c59f55c0ff52ba12f5ae0766cb5c35deee83b8552e","affectsGlobalScope":true},"bd3f5d05b6b5e4bfcea7739a45f3ffb4a7f4a3442ba7baf93e0200799285b8f1","4c775c2fccabf49483c03cd5e3673f87c1ffb6079d98e7b81089c3def79e29c6","d4f9d3ae2fe1ae199e1c832cca2c44f45e0b305dfa2808afdd51249b6f4a5163","7525257b4aa35efc7a1bbc00f205a9a96c4e4ab791da90db41b77938c4e0c18e","b7fe70be794e13d1b7940e318b8770cd1fb3eced7707805318a2e3aaac2c3e9e",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"9c611eff81287837680c1f4496daf9e737d6f3a1ff17752207814b8f8e1265af","affectsGlobalScope":true},"fe1fd6afdfe77976d4c702f3746c05fb05a7e566845c890e0e970fe9376d6a90","b5d4e3e524f2eead4519c8e819eaf7fa44a27c22418eff1b7b2d0ebc5fdc510d","afb1701fd4be413a8a5a88df6befdd4510c30a31372c07a4138facf61594c66d","9bd8e5984676cf28ebffcc65620b4ab5cb38ab2ec0aac0825df8568856895653","396a8939b5e177542bdf9b5262b4eee85d29851b2d57681fa9d7eae30e225830","5e8dc64e7e68b2b3ea52ed685cf85239e0d5fb9df31aabc94370c6bc7e19077b",{"version":"ea455cc68871b049bcecd9f56d4cf27b852d6dafd5e3b54468ca87cc11604e4d","affectsGlobalScope":true},"c07146dbbbd8b347241b5df250a51e48f2d7bef19b1e187b1a3f20c849988ff1","45b1053e691c5af9bfe85060a3e1542835f8d84a7e6e2e77ca305251eda0cb3c","0f05c06ff6196958d76b865ae17245b52d8fe01773626ac3c43214a2458ea7b7",{"version":"ae5507fc333d637dec9f37c6b3f4d423105421ea2820a64818de55db85214d66","affectsGlobalScope":true},{"version":"46755a4afc53df75f0bfce72259fb971daac826b0cdd8c4eaccad2755a817403","affectsGlobalScope":true},"8abd0566d2854c4bd1c5e48e05df5c74927187f1541e6770001d9637ac41542e","54e854615c4eafbdd3fd7688bd02a3aafd0ccf0e87c98f79d3e9109f047ce6b8","d8dba11dc34d50cb4202de5effa9a1b296d7a2f4a029eec871f894bddfb6430d","8b71dd18e7e63b6f991b511a201fad7c3bf8d1e0dd98acb5e3d844f335a73634","01d8e1419c84affad359cc240b2b551fb9812b450b4d3d456b64cda8102d4f60","9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","8221b00f271cf7f535a8eeec03b0f80f0929c7a16116e2d2df089b41066de69b","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","7fa32887f8a97909fca35ebba3740f8caf8df146618d8fff957a3f89f67a2f6a","9a9634296cca836c3308923ba7aa094fa6ed76bb1e366d8ddcf5c65888ab1024",{"version":"bddce945d552a963c9733db106b17a25474eefcab7fc990157a2134ef55d4954","affectsGlobalScope":true},{"version":"7052b7b0c3829df3b4985bab2fd74531074b4835d5a7b263b75c82f0916ad62f","affectsGlobalScope":true},"aa34c3aa493d1c699601027c441b9664547c3024f9dbab1639df7701d63d18fa","4b55240c2a03b2c71e98a7fc528b16136faa762211c92e781a01c37821915ea6","7c651f8dce91a927ab62925e73f190763574c46098f2b11fb8ddc1b147a6709a","7440ab60f4cb031812940cc38166b8bb6fbf2540cfe599f87c41c08011f0c1df",{"version":"94c086dff8dbc5998749326bc69b520e8e4273fb5b7b58b50e0210e0885dfcde","affectsGlobalScope":true},{"version":"f5b5dc128973498b75f52b1b8c2d5f8629869104899733ae485100c2309b4c12","affectsGlobalScope":true},"ebe5facd12fd7745cda5f4bc3319f91fb29dc1f96e57e9c6f8b260a7cc5b67ee","79bad8541d5779c85e82a9fb119c1fe06af77a71cc40f869d62ad379473d4b75","21c56c6e8eeacef15f63f373a29fab6a2b36e4705be7a528aae8c51469e2737b",{"version":"629d20681ca284d9e38c0a019f647108f5fe02f9c59ac164d56f5694fc3faf4d","affectsGlobalScope":true},"e7dbf5716d76846c7522e910896c5747b6df1abd538fee8f5291bdc843461795",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"a42be67ed1ddaec743582f41fc219db96a1b69719fccac6d1464321178d610fc","8aceb205dcc6f814ad99635baf1e40b6e01d06d3fe27b72fd766c6d0b8c0c600",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"ee7d8894904b465b072be0d2e4b45cf6b887cdba16a467645c4e200982ece7ea","f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","7d91ce84c6f7b198ac8e30e10df0753d8768d0d9b97940189933f1f26d84ddda","1f68ab0e055994eb337b67aa87d2a15e0200951e9664959b3866ee6f6b11a0fe","d3f2d715f57df3f04bf7b16dde01dec10366f64fce44503c92b8f78f614c1769","b78cd10245a90e27e62d0558564f5d9a16576294eee724a59ae21b91f9269e4a","17f0ae35f62a9586cade6c10e5a0d61362257b8e03e661c49ca417e4f3da857d","2f5747b1508ccf83fad0c251ba1e5da2f5a30b78b09ffa1cfaf633045160afed",{"version":"20cf86e0fe2aa418f19ee727190cdf1859ffe64f7a71abf7d8cf008e1efc072b","affectsGlobalScope":true},"b71c603a539078a5e3a039b20f2b0a0d1708967530cf97dec8850a9ca45baa2b","0e13570a7e86c6d83dd92e81758a930f63747483e2cd34ef36fcdb47d1f9726a","104c67f0da1bdf0d94865419247e20eded83ce7f9911a1aa75fc675c077ca66e","cc0d0b339f31ce0ab3b7a5b714d8e578ce698f1e13d7f8c60bfb766baeb1d35c","5c45abf1e13e4463eacfd5dedda06855da8748a6a6cb3334f582b52e219acc04",{"version":"d57be402cf1a3f1bd1852fc71b31ff54da497f64dcdcf8af9ad32435e3f32c1f","affectsGlobalScope":true},{"version":"fbb0e0702158969fb0c0d8b919686026b8a1ee88a4c1bd085aedb7a59ae83908","affectsGlobalScope":true},"87f287f296f3ff07dbd14ea7853c2400d995dccd7bd83206196d6c0974774e96","6847334317c1bc1e6fc4b679b0095bbd2b6ee3b85fe3f26fc26bac462f68ef5e","2224f3072e3cc07906eeed5c71746779511fba2dd224addc5489bcdb489bdee5","3f841292a135503a4cc1a9029af59dae135595810cfad5ca62ec1b2ad9846e8e","0504070e7eaba788f5d0d5926782ed177f1db01cee28363c488fae94950c0bbc","7e8d3f08435ad2cefe67f58182618bfc9a0a29db08cf2544b94cbcae754a9bd9","8cf9b9045a614f883b623c2f1a631ec6a93321747e933330b2eec0ee47164a34","690e76aefeda4e5d7b36cb9f9fc82ed593c1a7f751ba221059059197743ca288","97e0fc5fb970657971e04cb0c694a4b2318ba30ed3dd7bbb282d2eef3fd26925","03c92769f389dbd9e45232f7eb01c3e0f482b62555aaf2029dcbf380d5cee9e4","32d7f70fd3498bc76a46dab8b03af4215f445f490f8e213c80cf06b636a4e413","a589f9f052276a3fc00b75e62f73b93ea568fce3e935b86ed7052945f99d9dc2","17230b34bb564a3a2e36f9d3985372ccab4ad1722df2c43f7c5c2b553f68e5db","6e5c9272f6b3783be7bdddaf207cccdb8e033be3d14c5beacc03ae9d27d50929","9b4f7ff9681448c72abe38ea8eefd7ffe0c3aefe495137f02012a08801373f71","0dfe35191a04e8f9dc7caeb9f52f2ee07402736563d12cbccd15fb5f31ac877f","5e3ded3624072ab70ba827b9279789f5c761456eb4e859281a5dd60537dedb25","cf3d384d082b933d987c4e2fe7bfb8710adfd9dc8155190056ed6695a25a559e","9871b7ee672bc16c78833bdab3052615834b08375cb144e4d2cba74473f4a589","c863198dae89420f3c552b5a03da6ed6d0acfa3807a64772b895db624b0de707","8b03a5e327d7db67112ebbc93b4f744133eda2c1743dbb0a990c61a8007823ef","86c73f2ee1752bac8eeeece234fd05dfcf0637a4fbd8032e4f5f43102faa8eec","42fad1f540271e35ca37cecda12c4ce2eef27f0f5cf0f8dd761d723c744d3159","ff3743a5de32bee10906aff63d1de726f6a7fd6ee2da4b8229054dfa69de2c34","83acd370f7f84f203e71ebba33ba61b7f1291ca027d7f9a662c6307d74e4ac22","1445cec898f90bdd18b2949b9590b3c012f5b7e1804e6e329fb0fe053946d5ec","0e5318ec2275d8da858b541920d9306650ae6ac8012f0e872fe66eb50321a669","cf530297c3fb3a92ec9591dd4fa229d58b5981e45fe6702a0bd2bea53a5e59be","c1f6f7d08d42148ddfe164d36d7aba91f467dbcb3caa715966ff95f55048b3a4","f4e9bf9103191ef3b3612d3ec0044ca4044ca5be27711fe648ada06fad4bcc85","0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a","7677d5b0db9e020d3017720f853ba18f415219fb3a9597343b1b1012cfd699f7","bc1c6bc119c1784b1a2be6d9c47addec0d83ef0d52c8fbe1f14a51b4dfffc675","52cf2ce99c2a23de70225e252e9822a22b4e0adb82643ab0b710858810e00bf1","770625067bb27a20b9826255a8d47b6b5b0a2d3dfcbd21f89904c731f671ba77","d1ed6765f4d7906a05968fb5cd6d1db8afa14dbe512a4884e8ea5c0f5e142c80","799c0f1b07c092626cf1efd71d459997635911bb5f7fc1196efe449bba87e965","2a184e4462b9914a30b1b5c41cf80c6d3428f17b20d3afb711fff3f0644001fd","9eabde32a3aa5d80de34af2c2206cdc3ee094c6504a8d0c2d6d20c7c179503cc","397c8051b6cfcb48aa22656f0faca2553c5f56187262135162ee79d2b2f6c966","a8ead142e0c87dcd5dc130eba1f8eeed506b08952d905c47621dc2f583b1bff9","a02f10ea5f73130efca046429254a4e3c06b5475baecc8f7b99a0014731be8b3","c2576a4083232b0e2d9bd06875dd43d371dee2e090325a9eac0133fd5650c1cb","4c9a0564bb317349de6a24eb4efea8bb79898fa72ad63a1809165f5bd42970dd","f40ac11d8859092d20f953aae14ba967282c3bb056431a37fced1866ec7a2681","cc11e9e79d4746cc59e0e17473a59d6f104692fd0eeea1bdb2e206eabed83b03","b444a410d34fb5e98aa5ee2b381362044f4884652e8bc8a11c8fe14bbd85518e","c35808c1f5e16d2c571aa65067e3cb95afeff843b259ecfa2fc107a9519b5392","14d5dc055143e941c8743c6a21fa459f961cbc3deedf1bfe47b11587ca4b3ef5","a3ad4e1fc542751005267d50a6298e6765928c0c3a8dce1572f2ba6ca518661c","f237e7c97a3a89f4591afd49ecb3bd8d14f51a1c4adc8fcae3430febedff5eb6","3ffdfbec93b7aed71082af62b8c3e0cc71261cc68d796665faa1e91604fbae8f","662201f943ed45b1ad600d03a90dffe20841e725203ced8b708c91fcd7f9379a","c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79","2462ccfac5f3375794b861abaa81da380f1bbd9401de59ffa43119a0b644253d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","7d8ddf0f021c53099e34ee831a06c394d50371816caa98684812f089b4c6b3d4","b0f9ef6423d6b29dde29fd60d83d215796b2c1b76bfca28ac374ae18702cfb8e","0dc6940ff35d845686a118ee7384713a84024d60ef26f25a2f87992ec7ddbd64","6dd20f5b39d29f0dabf7798cdbf772c03c5d6721e60a09e7706afddf5599fad9","464e45d1a56dae066d7e1a2f32e55b8de4bfb072610c3483a4091d73c9924908","da318e126ac39362c899829547cc8ee24fa3e8328b52cdd27e34173cf19c7941","24bd01a91f187b22456c7171c07dbf44f3ad57ebd50735aab5c13fa23d7114b4","4738eefeaaba4d4288a08c1c226a76086095a4d5bcc7826d2564e7c29da47671","dbec715e9e82df297e49e3ed0029f6151aa40517ebfd6fcdba277a8a2e1d3a1b","08b6b541f10f76945355801526f76c376ae426054257af9b0d62058ca01e133e","8f75e211a2e83ff216eb66330790fb6412dcda2feb60c4f165c903cf375633ee","dbe69644ab6e699ad2ef740056c637c34f3348af61d3764ff555d623703525db","104c67f0da1bdf0d94865419247e20eded83ce7f9911a1aa75fc675c077ca66e","bc81aff061c53a7140270555f4b22da4ecfe8601e8027cf5aa175fbdc7927c31"],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":1,"noFallthroughCasesInSwitch":false,"noImplicitAny":false,"outDir":"./","removeComments":true,"skipLibCheck":true,"sourceMap":true,"strictBindCallApply":false,"strictNullChecks":false,"target":8},"fileIdsList":[[84],[143,178],[178],[143,178,192],[143,178,192,194,198],[181,183],[180,181,182],[140,143,178,186,187,188],[187,189,191,193],[86,89],[133,178],[203],[127,140,143,144,148,154,170,178,190,197,198,199,200,201,202],[159,194],[91],[127],[128,133,162],[129,140,141,148,159,170],[129,130,140,148],[131,171],[132,133,141,149],[133,159,167],[134,136,140,148],[127,135],[136,137],[140],[138,140],[127,140],[140,141,142,159,170],[140,141,142,155,159,162],[125,128,175],[136,140,143,148,159,170],[140,141,143,144,148,159,167,170],[143,145,159,167,170],[91,92,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177],[140,146],[147,170,175],[136,140,148,159],[149],[150],[127,151],[152,169,175],[153],[154],[140,155,156],[155,157,171,173],[128,140,159,160,161,162],[128,159,161],[159,160],[162],[163],[127,159],[140,165,166],[165,166],[133,148,159,167],[168],[148,169],[128,143,154,170],[133,171],[159,172],[147,173],[174],[128,133,140,142,151,159,170,173,175],[159,176],[194,196,203],[205,206],[194,196],[143,194],[140,159,167,178,208,209,212,213],[214,253],[214,238,253],[253],[214],[214,239,253],[214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252],[239,253],[141,159,178,185],[143,178,186,190],[262],[254,255,256,258,263],[144,148,159,167,178],[128,141,143,144,145,148,159,254,257,258,259,260,261],[143,159,262],[128,141,257,258],[170,257],[263],[82,88],[86],[83,87],[178,209,210,211],[159,178,209],[85],[102,106,170],[102,159,170],[97],[99,102,167,170],[148,167],[97,178],[99,102,148,170],[94,95,98,101,128,140,159,170],[94,100],[98,102,128,162,170,178],[128,178],[118,128,178],[96,97,178],[102],[96,97,98,99,100,101,102,103,104,106,107,108,109,110,111,112,113,114,115,116,117,119,120,121,122,123,124],[102,109,110],[100,102,110,111],[101],[94,97,102],[102,106,110,111],[106],[100,102,105,170],[94,99,100,102,106,109],[128,159],[97,102,118,128,175,178],[52,53,55,56],[52,53,61,64,65,66],[52,53,54,55,64,65,66,68,70],[53,54,55,60,65,66,70,72],[52,53,55,58,63],[52,53],[60],[52,53,55,57,58,59,60,61,62,63,64,65,66,67,68,70,71,72,73,74,76,77,78,79],[53,58,59,60,61,62],[69],[53,55,58,59,60,61,62,63,70,74,75,142],[53,55,58,59,60,61,62,63,70,74,142],[66,70,141],[54],[140,143,145,148,159,167,170,176,178],[52,53,61,65,66],[52,53,65,66],[53,60,65,66,72],[52,53,58,63],[53,58,59,60,61,62,63],[53,58,59,61,62,63],[66]],"referencedMap":[[85,1],[197,2],[179,3],[193,4],[192,2],[199,5],[184,6],[183,7],[189,8],[194,9],[90,10],[205,11],[202,12],[203,13],[195,14],[91,15],[92,15],[127,16],[128,17],[129,18],[130,19],[131,20],[132,21],[133,22],[134,23],[135,24],[136,25],[137,25],[139,26],[138,27],[140,28],[141,29],[142,30],[126,31],[143,32],[144,33],[145,34],[178,35],[146,36],[147,37],[148,38],[149,39],[150,40],[151,41],[152,42],[153,43],[154,44],[155,45],[156,45],[157,46],[159,47],[161,48],[160,49],[162,50],[163,51],[164,52],[165,53],[166,54],[167,55],[168,56],[169,57],[170,58],[171,59],[172,60],[173,61],[174,62],[175,63],[176,64],[204,65],[207,66],[206,67],[196,68],[213,69],[238,70],[239,71],[214,72],[217,72],[236,70],[237,70],[227,70],[226,73],[224,70],[219,70],[232,70],[230,70],[234,70],[218,70],[231,70],[235,70],[220,70],[221,70],[233,70],[215,70],[222,70],[223,70],[225,70],[229,70],[240,74],[228,70],[216,70],[253,75],[247,74],[249,76],[248,74],[241,74],[242,74],[244,74],[246,74],[250,76],[251,76],[243,76],[245,76],[186,77],[191,78],[263,79],[259,80],[261,81],[262,82],[257,83],[260,84],[258,85],[264,86],[89,87],[87,88],[88,89],[212,90],[209,3],[211,91],[86,92],[109,93],[116,94],[108,93],[123,95],[100,96],[99,97],[122,3],[117,98],[120,99],[102,100],[101,101],[97,102],[96,103],[119,104],[98,105],[103,106],[107,106],[125,107],[124,106],[111,108],[112,109],[114,110],[110,111],[113,112],[118,3],[105,113],[106,114],[115,115],[95,116],[121,117],[57,118],[67,119],[71,120],[73,121],[64,122],[66,123],[72,124],[80,125],[63,126],[70,127],[76,128],[77,129],[78,130],[55,131],[265,2],[266,132]],"exportedModulesMap":[[85,1],[197,2],[179,3],[193,4],[192,2],[199,5],[184,6],[183,7],[189,8],[194,9],[90,10],[205,11],[202,12],[203,13],[195,14],[91,15],[92,15],[127,16],[128,17],[129,18],[130,19],[131,20],[132,21],[133,22],[134,23],[135,24],[136,25],[137,25],[139,26],[138,27],[140,28],[141,29],[142,30],[126,31],[143,32],[144,33],[145,34],[178,35],[146,36],[147,37],[148,38],[149,39],[150,40],[151,41],[152,42],[153,43],[154,44],[155,45],[156,45],[157,46],[159,47],[161,48],[160,49],[162,50],[163,51],[164,52],[165,53],[166,54],[167,55],[168,56],[169,57],[170,58],[171,59],[172,60],[173,61],[174,62],[175,63],[176,64],[204,65],[207,66],[206,67],[196,68],[213,69],[238,70],[239,71],[214,72],[217,72],[236,70],[237,70],[227,70],[226,73],[224,70],[219,70],[232,70],[230,70],[234,70],[218,70],[231,70],[235,70],[220,70],[221,70],[233,70],[215,70],[222,70],[223,70],[225,70],[229,70],[240,74],[228,70],[216,70],[253,75],[247,74],[249,76],[248,74],[241,74],[242,74],[244,74],[246,74],[250,76],[251,76],[243,76],[245,76],[186,77],[191,78],[263,79],[259,80],[261,81],[262,82],[257,83],[260,84],[258,85],[264,86],[89,87],[87,88],[88,89],[212,90],[209,3],[211,91],[86,92],[109,93],[116,94],[108,93],[123,95],[100,96],[99,97],[122,3],[117,98],[120,99],[102,100],[101,101],[97,102],[96,103],[119,104],[98,105],[103,106],[107,106],[125,107],[124,106],[111,108],[112,109],[114,110],[110,111],[113,112],[118,3],[105,113],[106,114],[115,115],[95,116],[121,117],[57,123],[67,133],[71,134],[73,135],[64,136],[66,123],[72,124],[80,125],[63,126],[76,137],[77,138],[78,139],[55,131],[265,2],[266,132]],"semanticDiagnosticsPerFile":[82,85,84,197,179,193,192,201,255,199,184,180,183,181,189,194,200,190,90,182,205,198,202,203,254,185,195,91,92,127,128,129,130,131,132,133,134,135,136,137,139,138,140,141,142,126,177,143,144,145,178,146,147,148,149,150,151,152,153,154,155,156,157,158,159,161,160,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,204,207,206,196,213,187,188,238,239,214,217,236,237,227,226,224,219,232,230,234,218,231,235,220,221,233,215,222,223,225,229,240,228,216,253,252,247,249,248,241,242,244,246,250,251,243,245,186,191,263,256,259,261,262,257,260,258,264,75,93,83,56,89,54,87,88,69,212,209,211,210,208,86,9,10,14,13,2,15,16,17,18,19,20,21,22,3,4,26,23,24,25,27,28,29,5,30,31,32,33,6,37,34,35,36,38,7,39,44,45,40,41,42,43,8,51,49,46,47,48,1,50,12,11,109,116,108,123,100,99,122,117,120,102,101,97,96,119,98,103,104,107,94,125,124,111,112,114,110,113,118,105,106,115,95,121,57,67,71,73,64,81,61,52,65,58,62,59,66,60,72,53,74,80,63,70,76,77,78,55,79,68,265,266]},"version":"4.9.5"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.writeScoresToCsv = void 0;
|
|
27
|
+
const fs = __importStar(require("fs"));
|
|
28
|
+
const logger_1 = require("../logging/logger");
|
|
29
|
+
function writeScoresToCsv(filePath, data) {
|
|
30
|
+
if (data.length === 0) {
|
|
31
|
+
console.error('Data array is empty, no CSV will be written.');
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
const headers = Object.keys(data[0]);
|
|
35
|
+
let csvString = headers.join(',') + '\n';
|
|
36
|
+
data.forEach(score => {
|
|
37
|
+
const rowData = headers.map(header => {
|
|
38
|
+
const value = score[header];
|
|
39
|
+
if (typeof value === 'string' && (value.includes(',') || value.includes('\n') || value.includes('"'))) {
|
|
40
|
+
return `"${value.replace(/"/g, '""')}"`;
|
|
41
|
+
}
|
|
42
|
+
return `"${value}"`;
|
|
43
|
+
}).join(',');
|
|
44
|
+
csvString += rowData + '\n';
|
|
45
|
+
});
|
|
46
|
+
fs.writeFile(filePath, csvString, (err) => {
|
|
47
|
+
if (err) {
|
|
48
|
+
(0, logger_1.error)('Error writing CSV file:', err);
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
exports.writeScoresToCsv = writeScoresToCsv;
|
|
53
|
+
//# sourceMappingURL=csv.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"csv.js","sourceRoot":"","sources":["../../src/utils/csv.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,uCAAyB;AAEzB,8CAA0C;AAE1C,SAAgB,gBAAgB,CAAC,QAAgB,EAAE,IAAa;IAC9D,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE;QACrB,OAAO,CAAC,KAAK,CAAC,8CAA8C,CAAC,CAAC;QAC9D,OAAO;KACR;IACD,MAAM,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAE,CAAC,CAAC;IACtC,IAAI,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;IAEzC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;QACnB,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE;YACnC,MAAM,KAAK,GAAG,KAAK,CAAC,MAAqB,CAAC,CAAC;YAC3C,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE;gBACrG,OAAO,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC;aACzC;YACD,OAAO,IAAI,KAAK,GAAG,CAAC;QACtB,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACb,SAAS,IAAI,OAAO,GAAG,IAAI,CAAC;IAC9B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,SAAS,CAAC,QAAQ,EAAE,SAAS,EAAE,CAAC,GAAG,EAAE,EAAE;QACxC,IAAI,GAAG,EAAE;YACP,IAAA,cAAK,EAAC,yBAAyB,EAAE,GAAG,CAAC,CAAC;SACvC;IACH,CAAC,CAAC,CAAC;AACL,CAAC;AAxBD,4CAwBC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Value } from 'expr-eval';
|
|
2
|
+
export declare function sum(amounts: number[]): number;
|
|
3
|
+
export declare function mean(data: number[]): number;
|
|
4
|
+
export declare function stdDev(data: number[]): number;
|
|
5
|
+
export declare function piecewise(...args: Value[]): Value;
|
|
6
|
+
export declare function mathUtilityFunctions(): {
|
|
7
|
+
piecewise: typeof piecewise;
|
|
8
|
+
};
|