@speleotica/frcsdata 4.0.2 → 4.0.4
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/FrcsPlotFile.d.ts +1 -1
- package/FrcsPlotShot.d.ts +1 -1
- package/FrcsShot.d.ts +1 -1
- package/FrcsShot.js +2 -3
- package/FrcsSurveyFile.d.ts +1 -1
- package/FrcsTrip.d.ts +2 -2
- package/FrcsTripSummary.d.ts +1 -1
- package/FrcsTripSummaryFile.d.ts +1 -1
- package/formatFrcsShot.js +7 -6
- package/index.js +11 -11
- package/node/index.js +6 -9
- package/package.json +26 -124
- package/parseFrcsPlotFile.js +4 -3
- package/parseFrcsSurveyFile.js +126 -107
- package/parseFrcsTripSummaryFile.js +5 -4
- package/string/index.js +8 -11
- package/es/FrcsPlotFile.js +0 -6
- package/es/FrcsPlotShot.js +0 -6
- package/es/FrcsShot.js +0 -14
- package/es/FrcsSurveyFile.js +0 -6
- package/es/FrcsTrip.js +0 -6
- package/es/FrcsTripSummary.js +0 -6
- package/es/FrcsTripSummaryFile.js +0 -6
- package/es/formatFrcsShot.js +0 -75
- package/es/formatFrcsShot.spec.js +0 -141
- package/es/index.js +0 -96
- package/es/node/index.js +0 -20
- package/es/node/parseFrcsPlotFile.spec.js +0 -167
- package/es/node/parseFrcsSurveyFile.spec.js +0 -314
- package/es/node/parseFrcsTripSummaryFile.spec.js +0 -78
- package/es/parseFrcsPlotFile.js +0 -135
- package/es/parseFrcsSurveyFile.js +0 -485
- package/es/parseFrcsTripSummaryFile.js +0 -73
- package/es/string/index.js +0 -21
- package/es/string/parseFrcsPlotFile.spec.js +0 -179
- package/es/string/parseFrcsSurveyFile.spec.js +0 -644
- package/formatFrcsShot.spec.js +0 -139
- package/node/parseFrcsPlotFile.spec.js +0 -181
- package/node/parseFrcsSurveyFile.spec.js +0 -328
- package/node/parseFrcsTripSummaryFile.spec.js +0 -104
- package/string/parseFrcsPlotFile.spec.js +0 -182
- package/string/parseFrcsSurveyFile.spec.js +0 -673
- package/yarn.lock +0 -9542
package/parseFrcsSurveyFile.js
CHANGED
|
@@ -10,9 +10,9 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
|
10
10
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
11
11
|
var _parseSegment = require("parse-segment");
|
|
12
12
|
var _unitized = require("@speleotica/unitized");
|
|
13
|
-
var _FrcsShot = require("./FrcsShot");
|
|
14
|
-
function _asyncIterator(
|
|
15
|
-
function AsyncFromSyncIterator(
|
|
13
|
+
var _FrcsShot = require("./FrcsShot.js");
|
|
14
|
+
function _asyncIterator(r) { var n, t, o, e = 2; for ("undefined" != typeof Symbol && (t = Symbol.asyncIterator, o = Symbol.iterator); e--;) { if (t && null != (n = r[t])) return n.call(r); if (o && null != (n = r[o])) return new AsyncFromSyncIterator(n.call(r)); t = "@@asyncIterator", o = "@@iterator"; } throw new TypeError("Object is not async iterable"); }
|
|
15
|
+
function AsyncFromSyncIterator(r) { function AsyncFromSyncIteratorContinuation(r) { if (Object(r) !== r) return Promise.reject(new TypeError(r + " is not an object.")); var n = r.done; return Promise.resolve(r.value).then(function (r) { return { value: r, done: n }; }); } return AsyncFromSyncIterator = function AsyncFromSyncIterator(r) { this.s = r, this.n = r.next; }, AsyncFromSyncIterator.prototype = { s: null, n: null, next: function next() { return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments)); }, "return": function _return(r) { var n = this.s["return"]; return void 0 === n ? Promise.resolve({ value: r, done: !0 }) : AsyncFromSyncIteratorContinuation(n.apply(this.s, arguments)); }, "throw": function _throw(r) { var n = this.s["return"]; return void 0 === n ? Promise.reject(r) : AsyncFromSyncIteratorContinuation(n.apply(this.s, arguments)); } }, new AsyncFromSyncIterator(r); }
|
|
16
16
|
function parseNumber(s, unit) {
|
|
17
17
|
var value = parseFloat(s);
|
|
18
18
|
if (isNaN(value)) return null;
|
|
@@ -89,6 +89,31 @@ function parseLrud(s, unit) {
|
|
|
89
89
|
var value = parseFloat(s);
|
|
90
90
|
return !Number.isFinite(value) || value < 0 ? null : new _unitized.UnitizedNumber(value, unit);
|
|
91
91
|
}
|
|
92
|
+
function parseFromStationLruds(line, distanceUnit) {
|
|
93
|
+
var fromStr = line.substring(0, 5);
|
|
94
|
+
if (!/^\s*\S+$/.test(fromStr)) return undefined;
|
|
95
|
+
var gap = line.substring(5, 40);
|
|
96
|
+
if (gap.trim()) return undefined;
|
|
97
|
+
var lrudStr = line.substring(40, 52);
|
|
98
|
+
if (!/\d/.test(lrudStr)) return undefined;
|
|
99
|
+
var lStr = line.substring(40, 43);
|
|
100
|
+
var rStr = line.substring(43, 46);
|
|
101
|
+
var uStr = line.substring(46, 49);
|
|
102
|
+
var dStr = line.substring(49, 52);
|
|
103
|
+
if (!isValidOptFloat(lStr) || !isValidOptFloat(rStr) || !isValidOptFloat(uStr) || !isValidOptFloat(dStr)) {
|
|
104
|
+
return undefined;
|
|
105
|
+
}
|
|
106
|
+
var up = parseLrud(uStr, distanceUnit);
|
|
107
|
+
var down = parseLrud(dStr, distanceUnit);
|
|
108
|
+
var left = parseLrud(lStr, distanceUnit);
|
|
109
|
+
var right = parseLrud(rStr, distanceUnit);
|
|
110
|
+
return [fromStr.trim(), {
|
|
111
|
+
left: left,
|
|
112
|
+
right: right,
|
|
113
|
+
up: up,
|
|
114
|
+
down: down
|
|
115
|
+
}];
|
|
116
|
+
}
|
|
92
117
|
|
|
93
118
|
/**
|
|
94
119
|
* Parses a raw cdata.fr survey file. These look like so:
|
|
@@ -142,7 +167,7 @@ function _parseFrcsSurveyFile() {
|
|
|
142
167
|
_parseFrcsSurveyFile = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(file,
|
|
143
168
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
144
169
|
lines) {
|
|
145
|
-
var cave, location, trips, errors, tripName, tripTeam, tripDate, inTripComment, tripCommentStartLine, tripCommentEndLine, tripComment, commentLines, trip, inBlockComment, section, getComment, lineNumber, _iteratorAbruptCompletion, _didIteratorError, _iteratorError, _loop, _iterator, _step
|
|
170
|
+
var cave, location, trips, errors, tripName, tripTeam, tripDate, inTripComment, tripCommentStartLine, tripCommentEndLine, tripComment, commentLines, trip, inBlockComment, section, commentFromStationLruds, addCommentLine, getComment, lineNumber, _iteratorAbruptCompletion, _didIteratorError, _iteratorError, _loop, _ret, _iterator, _step;
|
|
146
171
|
return _regenerator["default"].wrap(function _callee$(_context2) {
|
|
147
172
|
while (1) switch (_context2.prev = _context2.next) {
|
|
148
173
|
case 0:
|
|
@@ -152,6 +177,19 @@ function _parseFrcsSurveyFile() {
|
|
|
152
177
|
commentLines = null;
|
|
153
178
|
return comment || null;
|
|
154
179
|
};
|
|
180
|
+
addCommentLine = function _addCommentLine(comment) {
|
|
181
|
+
if (trip) {
|
|
182
|
+
var distanceUnit = trip.header.distanceUnit;
|
|
183
|
+
var parsedFromStationLruds = parseFromStationLruds(comment, distanceUnit);
|
|
184
|
+
if (parsedFromStationLruds) {
|
|
185
|
+
commentFromStationLruds.set(parsedFromStationLruds[0], parsedFromStationLruds[1]);
|
|
186
|
+
return;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
if (commentLines) {
|
|
190
|
+
commentLines.push(comment);
|
|
191
|
+
}
|
|
192
|
+
};
|
|
155
193
|
cave = null;
|
|
156
194
|
location = null;
|
|
157
195
|
trips = [];
|
|
@@ -163,12 +201,13 @@ function _parseFrcsSurveyFile() {
|
|
|
163
201
|
commentLines = null;
|
|
164
202
|
trip = null;
|
|
165
203
|
inBlockComment = false;
|
|
204
|
+
commentFromStationLruds = new Map();
|
|
166
205
|
lineNumber = 0;
|
|
167
206
|
_iteratorAbruptCompletion = false;
|
|
168
207
|
_didIteratorError = false;
|
|
169
|
-
_context2.prev =
|
|
208
|
+
_context2.prev = 17;
|
|
170
209
|
_loop = /*#__PURE__*/_regenerator["default"].mark(function _loop() {
|
|
171
|
-
var line, errored, thisLineNumber, error, validate, match, _match, k, team, month, day, year, _match2, part, distanceUnit, azimuthUnit, inclinationUnit, backsightAzimuthCorrected, backsightInclinationCorrected, hasBacksightAzimuth, hasBacksightInclination,
|
|
210
|
+
var line, errored, thisLineNumber, error, validate, match, _match, k, team, month, day, year, _match2, part, distanceUnit, azimuthUnit, inclinationUnit, backsightAzimuthCorrected, backsightInclinationCorrected, hasBacksightAzimuth, hasBacksightInclination, _trip, shots, _trip$header, _azimuthUnit, _inclinationUnit, _distanceUnit, inches, fromStr, from, lStr, rStr, uStr, dStr, up, down, left, right, toStr, _shot, fromLruds, fromLrudMatch, _fromLrudMatch$1$trim, _fromLrudMatch$1$trim2, _left, _right, _up, _down, comment, azmFsStr, azmBsStr, incFsStr, incBsStr, kind, distance, horizontalDistance, verticalDistance, frontsightInclination, backsightInclination, excludeDistance, isSplay, feetStr, inchesStr, invalid, _feetStr, h, v, d, _v, frontsightAzimuth, backsightAzimuth, shot;
|
|
172
211
|
return _regenerator["default"].wrap(function _loop$(_context) {
|
|
173
212
|
while (1) switch (_context.prev = _context.next) {
|
|
174
213
|
case 0:
|
|
@@ -213,7 +252,7 @@ function _parseFrcsSurveyFile() {
|
|
|
213
252
|
} else {
|
|
214
253
|
tripCommentEndLine = lineNumber;
|
|
215
254
|
}
|
|
216
|
-
_context.next =
|
|
255
|
+
_context.next = 109;
|
|
217
256
|
break;
|
|
218
257
|
case 12:
|
|
219
258
|
if (!inTripComment) {
|
|
@@ -240,7 +279,7 @@ function _parseFrcsSurveyFile() {
|
|
|
240
279
|
if (_match2) {
|
|
241
280
|
section = _match2[1].trim();
|
|
242
281
|
}
|
|
243
|
-
_context.next =
|
|
282
|
+
_context.next = 109;
|
|
244
283
|
break;
|
|
245
284
|
case 18:
|
|
246
285
|
if (!(line.charAt(0) === '*')) {
|
|
@@ -248,19 +287,19 @@ function _parseFrcsSurveyFile() {
|
|
|
248
287
|
break;
|
|
249
288
|
}
|
|
250
289
|
inBlockComment = !inBlockComment;
|
|
251
|
-
if (inBlockComment) commentLines = [];else
|
|
252
|
-
part = line.substring(1)
|
|
253
|
-
if (part
|
|
290
|
+
if (inBlockComment) commentLines = [];else {
|
|
291
|
+
part = line.substring(1);
|
|
292
|
+
if (part) addCommentLine(part);
|
|
254
293
|
}
|
|
255
|
-
_context.next =
|
|
294
|
+
_context.next = 109;
|
|
256
295
|
break;
|
|
257
296
|
case 23:
|
|
258
297
|
if (!inBlockComment) {
|
|
259
298
|
_context.next = 27;
|
|
260
299
|
break;
|
|
261
300
|
}
|
|
262
|
-
|
|
263
|
-
_context.next =
|
|
301
|
+
addCommentLine(line);
|
|
302
|
+
_context.next = 109;
|
|
264
303
|
break;
|
|
265
304
|
case 27:
|
|
266
305
|
if (!(lineNumber === tripCommentEndLine + 1)) {
|
|
@@ -312,11 +351,11 @@ function _parseFrcsSurveyFile() {
|
|
|
312
351
|
shots: []
|
|
313
352
|
};
|
|
314
353
|
trips.push(trip);
|
|
315
|
-
_context.next =
|
|
354
|
+
_context.next = 109;
|
|
316
355
|
break;
|
|
317
356
|
case 44:
|
|
318
357
|
if (!trip) {
|
|
319
|
-
_context.next =
|
|
358
|
+
_context.next = 109;
|
|
320
359
|
break;
|
|
321
360
|
}
|
|
322
361
|
_trip = trip, shots = _trip.shots, _trip$header = _trip.header, _azimuthUnit = _trip$header.azimuthUnit, _inclinationUnit = _trip$header.inclinationUnit;
|
|
@@ -333,9 +372,10 @@ function _parseFrcsSurveyFile() {
|
|
|
333
372
|
_context.next = 51;
|
|
334
373
|
break;
|
|
335
374
|
}
|
|
336
|
-
return _context.abrupt("return",
|
|
375
|
+
return _context.abrupt("return", 0);
|
|
337
376
|
case 51:
|
|
338
|
-
fromStr = validate(5, 10, 'from station', isValidStation);
|
|
377
|
+
fromStr = validate(5, 10, 'from station', isValidStation);
|
|
378
|
+
from = fromStr.trim(); // Sadly I have found negative LRUD values in Chip's format and apparently
|
|
339
379
|
// his program doesn't fail on them, so I have to accept them here
|
|
340
380
|
// isValidOptFloat instead of isValidOptUFloat
|
|
341
381
|
lStr = validate(40, 43, 'left', isValidOptFloat);
|
|
@@ -343,22 +383,22 @@ function _parseFrcsSurveyFile() {
|
|
|
343
383
|
uStr = validate(46, 49, 'up', isValidOptFloat);
|
|
344
384
|
dStr = validate(49, 52, 'down', isValidOptFloat);
|
|
345
385
|
if (!errored) {
|
|
346
|
-
_context.next =
|
|
386
|
+
_context.next = 59;
|
|
347
387
|
break;
|
|
348
388
|
}
|
|
349
|
-
return _context.abrupt("return",
|
|
350
|
-
case
|
|
389
|
+
return _context.abrupt("return", 0);
|
|
390
|
+
case 59:
|
|
351
391
|
up = parseLrud(uStr, _distanceUnit);
|
|
352
392
|
down = parseLrud(dStr, _distanceUnit);
|
|
353
393
|
left = parseLrud(lStr, _distanceUnit);
|
|
354
394
|
right = parseLrud(rStr, _distanceUnit); // to station name
|
|
355
395
|
toStr = line.substring(0, 5);
|
|
356
396
|
if (toStr.trim()) {
|
|
357
|
-
_context.next =
|
|
397
|
+
_context.next = 68;
|
|
358
398
|
break;
|
|
359
399
|
}
|
|
360
400
|
_shot = {
|
|
361
|
-
from:
|
|
401
|
+
from: from,
|
|
362
402
|
to: null,
|
|
363
403
|
kind: _FrcsShot.FrcsShotKind.Normal,
|
|
364
404
|
distance: new _unitized.UnitizedNumber(0, _distanceUnit),
|
|
@@ -376,75 +416,53 @@ function _parseFrcsSurveyFile() {
|
|
|
376
416
|
comment: getComment()
|
|
377
417
|
};
|
|
378
418
|
shots.push(_shot);
|
|
379
|
-
return _context.abrupt("return",
|
|
380
|
-
case
|
|
419
|
+
return _context.abrupt("return", 0);
|
|
420
|
+
case 68:
|
|
381
421
|
if (!isValidStation(toStr)) {
|
|
382
422
|
error('Invalid station name', 0, 5);
|
|
383
423
|
}
|
|
384
|
-
|
|
385
|
-
if (
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
down: _down
|
|
394
|
-
};
|
|
395
|
-
}
|
|
396
|
-
comment = getComment();
|
|
397
|
-
fromLrudComment = comment;
|
|
398
|
-
commentFromStr = comment ? (_exec = /^\S{1,5}/.exec(comment)) === null || _exec === void 0 ? void 0 : _exec[0] : null;
|
|
399
|
-
if (commentFromStr) {
|
|
400
|
-
_fromStr = commentFromStr;
|
|
401
|
-
fromLrudComment = ' '.repeat(5 - _fromStr.length) + fromLrudComment;
|
|
402
|
-
gap = fromLrudComment.substring(5, 40);
|
|
403
|
-
lrudStr = fromLrudComment.substring(40, 52);
|
|
404
|
-
_lStr = fromLrudComment.substring(40, 43);
|
|
405
|
-
_rStr = fromLrudComment.substring(43, 46);
|
|
406
|
-
_uStr = fromLrudComment.substring(46, 49);
|
|
407
|
-
_dStr = fromLrudComment.substring(49, 52);
|
|
408
|
-
if (/^\s*\S+$/.test(_fromStr) && !gap.trim() && isValidOptFloat(_lStr) && isValidOptFloat(_rStr) && isValidOptFloat(_uStr) && isValidOptFloat(_dStr) && /\d/.test(lrudStr)) {
|
|
409
|
-
_up2 = parseLrud(_uStr, _distanceUnit);
|
|
410
|
-
_down2 = parseLrud(_dStr, _distanceUnit);
|
|
411
|
-
_left2 = parseLrud(_lStr, _distanceUnit);
|
|
412
|
-
_right2 = parseLrud(_rStr, _distanceUnit);
|
|
424
|
+
fromLruds = commentFromStationLruds.get(from);
|
|
425
|
+
if (fromLruds) {
|
|
426
|
+
commentFromStationLruds["delete"](from);
|
|
427
|
+
} else {
|
|
428
|
+
fromLrudMatch = new RegExp("^\\s+".concat(fromStr.trim().replace(/[.*+?^${}()|[\]\\]/g, '\\$&'), "((\\s+(\\d+(\\.\\d*)?|\\.\\d+)){4})")).exec(line.substring(52));
|
|
429
|
+
if (fromLrudMatch) {
|
|
430
|
+
_fromLrudMatch$1$trim = fromLrudMatch[1].trim().split(/\s+/g).map(function (s) {
|
|
431
|
+
return parseLrud(s, _distanceUnit);
|
|
432
|
+
}), _fromLrudMatch$1$trim2 = (0, _slicedToArray2["default"])(_fromLrudMatch$1$trim, 4), _left = _fromLrudMatch$1$trim2[0], _right = _fromLrudMatch$1$trim2[1], _up = _fromLrudMatch$1$trim2[2], _down = _fromLrudMatch$1$trim2[3];
|
|
413
433
|
fromLruds = {
|
|
414
|
-
left:
|
|
415
|
-
right:
|
|
416
|
-
up:
|
|
417
|
-
down:
|
|
434
|
+
left: _left,
|
|
435
|
+
right: _right,
|
|
436
|
+
up: _up,
|
|
437
|
+
down: _down
|
|
418
438
|
};
|
|
419
|
-
comment = null;
|
|
420
439
|
}
|
|
421
440
|
}
|
|
422
|
-
|
|
423
|
-
// azimuth and inclination
|
|
441
|
+
comment = getComment(); // azimuth and inclination
|
|
424
442
|
azmFsStr = validate(19, 25, 'azimuth', isValidOptUFloat);
|
|
425
443
|
azmBsStr = validate(25, 30, 'azimuth', isValidOptUFloat);
|
|
426
444
|
incFsStr = line.substring(30, 35);
|
|
427
445
|
incBsStr = line.substring(35, 40);
|
|
428
446
|
if (!errored) {
|
|
429
|
-
_context.next =
|
|
447
|
+
_context.next = 78;
|
|
430
448
|
break;
|
|
431
449
|
}
|
|
432
|
-
return _context.abrupt("return",
|
|
433
|
-
case
|
|
450
|
+
return _context.abrupt("return", 0);
|
|
451
|
+
case 78:
|
|
434
452
|
if (!inches) {
|
|
435
|
-
_context.next =
|
|
453
|
+
_context.next = 91;
|
|
436
454
|
break;
|
|
437
455
|
}
|
|
438
456
|
feetStr = line.substring(10, 14);
|
|
439
457
|
inchesStr = line.substring(14, 17); // feet and inches are not both optional
|
|
440
458
|
if (!(!isValidUInt(feetStr) && !isValidUInt(inchesStr))) {
|
|
441
|
-
_context.next =
|
|
459
|
+
_context.next = 85;
|
|
442
460
|
break;
|
|
443
461
|
}
|
|
444
462
|
invalid = feetStr.trim() || inchesStr.trim();
|
|
445
463
|
error(invalid ? 'Invalid distance' : 'Missing distance', 10, 17);
|
|
446
|
-
return _context.abrupt("return",
|
|
447
|
-
case
|
|
464
|
+
return _context.abrupt("return", 0);
|
|
465
|
+
case 85:
|
|
448
466
|
// sometimes inches are omitted, hence the || 0...I'm assuming it's possible
|
|
449
467
|
// for feet to be omitted as well
|
|
450
468
|
distance = _unitized.Unitize.inches(parseFloat(inchesStr) || 0).add(_unitized.Unitize.feet(parseFloat(feetStr) || 0));
|
|
@@ -455,16 +473,16 @@ function _parseFrcsSurveyFile() {
|
|
|
455
473
|
// first column that can contain a * for decimal feet shots
|
|
456
474
|
excludeDistance = line[18] === '*' || line[18] === 's';
|
|
457
475
|
isSplay = line[18] === 's';
|
|
458
|
-
_context.next =
|
|
476
|
+
_context.next = 96;
|
|
459
477
|
break;
|
|
460
|
-
case
|
|
478
|
+
case 91:
|
|
461
479
|
// decimal feet are not optional
|
|
462
480
|
_feetStr = validate(10, 16, 'distance', isValidUFloat);
|
|
463
481
|
distance = new _unitized.UnitizedNumber(parseFloat(_feetStr), _distanceUnit);
|
|
464
482
|
kind = parseKind(line[16]);
|
|
465
483
|
excludeDistance = line[17] === '*' || line[17] === 's';
|
|
466
484
|
isSplay = line[17] === 's';
|
|
467
|
-
case
|
|
485
|
+
case 96:
|
|
468
486
|
if (kind !== _FrcsShot.FrcsShotKind.Normal) {
|
|
469
487
|
validate(30, 35, 'vertical-distance', isValidFloat);
|
|
470
488
|
}
|
|
@@ -498,18 +516,18 @@ function _parseFrcsSurveyFile() {
|
|
|
498
516
|
backsightInclination = parseNumber(incBsStr, _inclinationUnit);
|
|
499
517
|
}
|
|
500
518
|
if (!errored) {
|
|
501
|
-
_context.next =
|
|
519
|
+
_context.next = 100;
|
|
502
520
|
break;
|
|
503
521
|
}
|
|
504
|
-
return _context.abrupt("return",
|
|
505
|
-
case
|
|
522
|
+
return _context.abrupt("return", 0);
|
|
523
|
+
case 100:
|
|
506
524
|
frontsightAzimuth = parseAzimuth(azmFsStr, _azimuthUnit);
|
|
507
525
|
backsightAzimuth = parseAzimuth(azmBsStr, _azimuthUnit);
|
|
508
526
|
if (!frontsightInclination && !backsightInclination) {
|
|
509
527
|
frontsightInclination = _unitized.Unitize.degrees(0);
|
|
510
528
|
}
|
|
511
529
|
shot = {
|
|
512
|
-
from:
|
|
530
|
+
from: from,
|
|
513
531
|
to: toStr.trim(),
|
|
514
532
|
kind: kind,
|
|
515
533
|
distance: distance,
|
|
@@ -531,73 +549,74 @@ function _parseFrcsSurveyFile() {
|
|
|
531
549
|
if (horizontalDistance) shot.horizontalDistance = horizontalDistance;
|
|
532
550
|
if (verticalDistance) shot.verticalDistance = verticalDistance;
|
|
533
551
|
shots.push(shot);
|
|
534
|
-
case
|
|
552
|
+
case 109:
|
|
535
553
|
case "end":
|
|
536
554
|
return _context.stop();
|
|
537
555
|
}
|
|
538
556
|
}, _loop);
|
|
539
557
|
});
|
|
540
558
|
_iterator = _asyncIterator(lines);
|
|
541
|
-
case 18:
|
|
542
|
-
_context2.next = 20;
|
|
543
|
-
return _iterator.next();
|
|
544
559
|
case 20:
|
|
560
|
+
_context2.next = 22;
|
|
561
|
+
return _iterator.next();
|
|
562
|
+
case 22:
|
|
545
563
|
if (!(_iteratorAbruptCompletion = !(_step = _context2.sent).done)) {
|
|
546
|
-
_context2.next =
|
|
564
|
+
_context2.next = 30;
|
|
547
565
|
break;
|
|
548
566
|
}
|
|
549
|
-
return _context2.delegateYield(_loop(), "t0",
|
|
550
|
-
case
|
|
567
|
+
return _context2.delegateYield(_loop(), "t0", 24);
|
|
568
|
+
case 24:
|
|
551
569
|
_ret = _context2.t0;
|
|
552
|
-
if (!(_ret ===
|
|
553
|
-
_context2.next =
|
|
570
|
+
if (!(_ret === 0)) {
|
|
571
|
+
_context2.next = 27;
|
|
554
572
|
break;
|
|
555
573
|
}
|
|
556
|
-
return _context2.abrupt("continue",
|
|
557
|
-
case
|
|
574
|
+
return _context2.abrupt("continue", 27);
|
|
575
|
+
case 27:
|
|
558
576
|
_iteratorAbruptCompletion = false;
|
|
559
|
-
_context2.next =
|
|
560
|
-
break;
|
|
561
|
-
case 28:
|
|
562
|
-
_context2.next = 34;
|
|
577
|
+
_context2.next = 20;
|
|
563
578
|
break;
|
|
564
579
|
case 30:
|
|
565
|
-
_context2.
|
|
566
|
-
|
|
580
|
+
_context2.next = 36;
|
|
581
|
+
break;
|
|
582
|
+
case 32:
|
|
583
|
+
_context2.prev = 32;
|
|
584
|
+
_context2.t1 = _context2["catch"](17);
|
|
567
585
|
_didIteratorError = true;
|
|
568
586
|
_iteratorError = _context2.t1;
|
|
569
|
-
case
|
|
570
|
-
_context2.prev =
|
|
571
|
-
_context2.prev =
|
|
587
|
+
case 36:
|
|
588
|
+
_context2.prev = 36;
|
|
589
|
+
_context2.prev = 37;
|
|
572
590
|
if (!(_iteratorAbruptCompletion && _iterator["return"] != null)) {
|
|
573
|
-
_context2.next =
|
|
591
|
+
_context2.next = 41;
|
|
574
592
|
break;
|
|
575
593
|
}
|
|
576
|
-
_context2.next =
|
|
594
|
+
_context2.next = 41;
|
|
577
595
|
return _iterator["return"]();
|
|
578
|
-
case
|
|
579
|
-
_context2.prev =
|
|
596
|
+
case 41:
|
|
597
|
+
_context2.prev = 41;
|
|
580
598
|
if (!_didIteratorError) {
|
|
581
|
-
_context2.next =
|
|
599
|
+
_context2.next = 44;
|
|
582
600
|
break;
|
|
583
601
|
}
|
|
584
602
|
throw _iteratorError;
|
|
585
|
-
case 42:
|
|
586
|
-
return _context2.finish(39);
|
|
587
|
-
case 43:
|
|
588
|
-
return _context2.finish(34);
|
|
589
603
|
case 44:
|
|
604
|
+
return _context2.finish(41);
|
|
605
|
+
case 45:
|
|
606
|
+
return _context2.finish(36);
|
|
607
|
+
case 46:
|
|
590
608
|
return _context2.abrupt("return", {
|
|
591
609
|
cave: cave,
|
|
592
610
|
location: location,
|
|
593
611
|
trips: trips,
|
|
594
612
|
errors: errors
|
|
595
613
|
});
|
|
596
|
-
case
|
|
614
|
+
case 47:
|
|
597
615
|
case "end":
|
|
598
616
|
return _context2.stop();
|
|
599
617
|
}
|
|
600
|
-
}, _callee, null, [[
|
|
618
|
+
}, _callee, null, [[17, 32, 36, 46], [37,, 41, 45]]);
|
|
601
619
|
}));
|
|
602
620
|
return _parseFrcsSurveyFile.apply(this, arguments);
|
|
603
|
-
}
|
|
621
|
+
}
|
|
622
|
+
module.exports = exports.default;
|
|
@@ -9,9 +9,9 @@ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"))
|
|
|
9
9
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
10
10
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
11
11
|
var _unitized = require("@speleotica/unitized");
|
|
12
|
-
function _asyncIterator(
|
|
13
|
-
function AsyncFromSyncIterator(
|
|
14
|
-
var tripSummaryRegex = /^\s*(\d+)\s+(\d{1,2})\/(\s\d|\d\d)\/(\d{2,4})\s+(\d+(?:\.\d*)?)\s+(\d+)\s+(\S.*)EXCLUDED:\s
|
|
12
|
+
function _asyncIterator(r) { var n, t, o, e = 2; for ("undefined" != typeof Symbol && (t = Symbol.asyncIterator, o = Symbol.iterator); e--;) { if (t && null != (n = r[t])) return n.call(r); if (o && null != (n = r[o])) return new AsyncFromSyncIterator(n.call(r)); t = "@@asyncIterator", o = "@@iterator"; } throw new TypeError("Object is not async iterable"); }
|
|
13
|
+
function AsyncFromSyncIterator(r) { function AsyncFromSyncIteratorContinuation(r) { if (Object(r) !== r) return Promise.reject(new TypeError(r + " is not an object.")); var n = r.done; return Promise.resolve(r.value).then(function (r) { return { value: r, done: n }; }); } return AsyncFromSyncIterator = function AsyncFromSyncIterator(r) { this.s = r, this.n = r.next; }, AsyncFromSyncIterator.prototype = { s: null, n: null, next: function next() { return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments)); }, "return": function _return(r) { var n = this.s["return"]; return void 0 === n ? Promise.resolve({ value: r, done: !0 }) : AsyncFromSyncIteratorContinuation(n.apply(this.s, arguments)); }, "throw": function _throw(r) { var n = this.s["return"]; return void 0 === n ? Promise.reject(r) : AsyncFromSyncIteratorContinuation(n.apply(this.s, arguments)); } }, new AsyncFromSyncIterator(r); }
|
|
14
|
+
var tripSummaryRegex = /^\s*(\d+)\s+(\d{1,2})\/(\s\d|\d\d)\/(\d{2,4})\s+(\d+(?:\.\d*)?)\s+(\d+)\s+(\S.*)EXCLUDED:\s*(\d+(?:\.\d{2})?)\s*(\d+)/;
|
|
15
15
|
/**
|
|
16
16
|
* Parses data from a STAT_sum.txt file. Here is an excerpt of the format:
|
|
17
17
|
<pre> 1 2/15/81 258.60 17 ENTRANCE DROPS, JOE'S "I LOVE MY WIFE TRAVERSE", TRICKY TRAVERSE EXCLUDED: 0.00 0
|
|
@@ -137,4 +137,5 @@ function _parseFrcsTripSummaryFile() {
|
|
|
137
137
|
}, _callee, null, [[8, 38, 42, 52], [43,, 47, 51]]);
|
|
138
138
|
}));
|
|
139
139
|
return _parseFrcsTripSummaryFile.apply(this, arguments);
|
|
140
|
-
}
|
|
140
|
+
}
|
|
141
|
+
module.exports = exports.default;
|
package/string/index.js
CHANGED
|
@@ -9,11 +9,11 @@ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"))
|
|
|
9
9
|
var _wrapAsyncGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/wrapAsyncGenerator"));
|
|
10
10
|
var _awaitAsyncGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/awaitAsyncGenerator"));
|
|
11
11
|
var _asyncGeneratorDelegate2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncGeneratorDelegate"));
|
|
12
|
-
var _parseFrcsSurveyFile2 = _interopRequireDefault(require("../parseFrcsSurveyFile"));
|
|
13
|
-
var _parseFrcsPlotFile2 = _interopRequireDefault(require("../parseFrcsPlotFile"));
|
|
14
|
-
var _parseFrcsTripSummaryFile2 = _interopRequireDefault(require("../parseFrcsTripSummaryFile"));
|
|
15
|
-
function _asyncIterator(
|
|
16
|
-
function AsyncFromSyncIterator(
|
|
12
|
+
var _parseFrcsSurveyFile2 = _interopRequireDefault(require("../parseFrcsSurveyFile.js"));
|
|
13
|
+
var _parseFrcsPlotFile2 = _interopRequireDefault(require("../parseFrcsPlotFile.js"));
|
|
14
|
+
var _parseFrcsTripSummaryFile2 = _interopRequireDefault(require("../parseFrcsTripSummaryFile.js"));
|
|
15
|
+
function _asyncIterator(r) { var n, t, o, e = 2; for ("undefined" != typeof Symbol && (t = Symbol.asyncIterator, o = Symbol.iterator); e--;) { if (t && null != (n = r[t])) return n.call(r); if (o && null != (n = r[o])) return new AsyncFromSyncIterator(n.call(r)); t = "@@asyncIterator", o = "@@iterator"; } throw new TypeError("Object is not async iterable"); }
|
|
16
|
+
function AsyncFromSyncIterator(r) { function AsyncFromSyncIteratorContinuation(r) { if (Object(r) !== r) return Promise.reject(new TypeError(r + " is not an object.")); var n = r.done; return Promise.resolve(r.value).then(function (r) { return { value: r, done: n }; }); } return AsyncFromSyncIterator = function AsyncFromSyncIterator(r) { this.s = r, this.n = r.next; }, AsyncFromSyncIterator.prototype = { s: null, n: null, next: function next() { return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments)); }, "return": function _return(r) { var n = this.s["return"]; return void 0 === n ? Promise.resolve({ value: r, done: !0 }) : AsyncFromSyncIteratorContinuation(n.apply(this.s, arguments)); }, "throw": function _throw(r) { var n = this.s["return"]; return void 0 === n ? Promise.reject(r) : AsyncFromSyncIteratorContinuation(n.apply(this.s, arguments)); } }, new AsyncFromSyncIterator(r); }
|
|
17
17
|
function linesOf(_x) {
|
|
18
18
|
return _linesOf.apply(this, arguments);
|
|
19
19
|
}
|
|
@@ -36,9 +36,6 @@ var convert = function convert(fn) {
|
|
|
36
36
|
return fn(file, linesOf(str));
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
|
-
var parseFrcsSurveyFile = convert(_parseFrcsSurveyFile2["default"]);
|
|
40
|
-
exports.
|
|
41
|
-
var
|
|
42
|
-
exports.parseFrcsPlotFile = parseFrcsPlotFile;
|
|
43
|
-
var parseFrcsTripSummaryFile = convert(_parseFrcsTripSummaryFile2["default"]);
|
|
44
|
-
exports.parseFrcsTripSummaryFile = parseFrcsTripSummaryFile;
|
|
39
|
+
var parseFrcsSurveyFile = exports.parseFrcsSurveyFile = convert(_parseFrcsSurveyFile2["default"]);
|
|
40
|
+
var parseFrcsPlotFile = exports.parseFrcsPlotFile = convert(_parseFrcsPlotFile2["default"]);
|
|
41
|
+
var parseFrcsTripSummaryFile = exports.parseFrcsTripSummaryFile = convert(_parseFrcsTripSummaryFile2["default"]);
|
package/es/FrcsPlotFile.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vc3JjL0ZyY3NQbG90RmlsZS50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBVbml0aXplZE51bWJlciwgTGVuZ3RoIH0gZnJvbSAnQHNwZWxlb3RpY2EvdW5pdGl6ZWQnXG5pbXBvcnQgeyBGcmNzUGxvdFNob3QgfSBmcm9tICcuL0ZyY3NQbG90U2hvdCdcbmltcG9ydCB7IFNlZ21lbnRQYXJzZUVycm9yIH0gZnJvbSAncGFyc2Utc2VnbWVudCdcblxuZXhwb3J0IHR5cGUgRnJjc1Bsb3RGaWxlID0ge1xuICB0b3RhbExlbmd0aDogVW5pdGl6ZWROdW1iZXI8TGVuZ3RoPlxuICBzaG90czogQXJyYXk8RnJjc1Bsb3RTaG90PlxuICBlcnJvcnM/OiBBcnJheTxTZWdtZW50UGFyc2VFcnJvcj4gfCBudWxsXG59XG4iXSwibWFwcGluZ3MiOiIifQ==
|
package/es/FrcsPlotShot.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vc3JjL0ZyY3NQbG90U2hvdC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBVbml0aXplZE51bWJlciwgTGVuZ3RoIH0gZnJvbSAnQHNwZWxlb3RpY2EvdW5pdGl6ZWQnXG5cbmV4cG9ydCB0eXBlIEZyY3NQbG90U2hvdCA9IHtcbiAgdG9OYW1lOiBzdHJpbmdcbiAgaXNTdXJmYWNlPzogYm9vbGVhbiB8IG51bGxcbiAgZnJvbU51bWJlcjogbnVtYmVyXG4gIHRvTnVtYmVyOiBudW1iZXJcbiAgZWFzdGluZzogVW5pdGl6ZWROdW1iZXI8TGVuZ3RoPlxuICBub3J0aGluZzogVW5pdGl6ZWROdW1iZXI8TGVuZ3RoPlxuICBlbGV2YXRpb246IFVuaXRpemVkTnVtYmVyPExlbmd0aD5cbiAgbGVmdEVhc3Rpbmc6IFVuaXRpemVkTnVtYmVyPExlbmd0aD5cbiAgbGVmdE5vcnRoaW5nOiBVbml0aXplZE51bWJlcjxMZW5ndGg+XG4gIHJpZ2h0RWFzdGluZzogVW5pdGl6ZWROdW1iZXI8TGVuZ3RoPlxuICByaWdodE5vcnRoaW5nOiBVbml0aXplZE51bWJlcjxMZW5ndGg+XG4gIHVwOiBVbml0aXplZE51bWJlcjxMZW5ndGg+XG4gIGRvd246IFVuaXRpemVkTnVtYmVyPExlbmd0aD5cbiAgdHJpcE51bWJlcj86IG51bWJlciB8IG51bGxcbn1cbiJdLCJtYXBwaW5ncyI6IiJ9
|
package/es/FrcsShot.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.FrcsShotKind = void 0;
|
|
7
|
-
let FrcsShotKind = /*#__PURE__*/function (FrcsShotKind) {
|
|
8
|
-
FrcsShotKind["Normal"] = " ";
|
|
9
|
-
FrcsShotKind["Horizontal"] = "H";
|
|
10
|
-
FrcsShotKind["Diagonal"] = "D";
|
|
11
|
-
return FrcsShotKind;
|
|
12
|
-
}({});
|
|
13
|
-
exports.FrcsShotKind = FrcsShotKind;
|
|
14
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJGcmNzU2hvdEtpbmQiLCJleHBvcnRzIl0sInNvdXJjZXMiOlsiLi4vc3JjL0ZyY3NTaG90LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFVuaXRpemVkTnVtYmVyLCBMZW5ndGgsIEFuZ2xlIH0gZnJvbSAnQHNwZWxlb3RpY2EvdW5pdGl6ZWQnXG5cbmV4cG9ydCBlbnVtIEZyY3NTaG90S2luZCB7XG4gIE5vcm1hbCA9ICcgJyxcbiAgSG9yaXpvbnRhbCA9ICdIJyxcbiAgRGlhZ29uYWwgPSAnRCcsXG59XG5cbmV4cG9ydCB0eXBlIEZyY3NTaG90ID0ge1xuICAvKipcbiAgICogTmFtZSBvZiBmcm9tIHN0YXRpb25cbiAgICovXG4gIGZyb206IHN0cmluZ1xuICAvKipcbiAgICogTmFtZSBvZiB0byBzdGF0aW9uXG4gICAqL1xuICB0bz86IHN0cmluZyB8IG51bGxcbiAga2luZDogRnJjc1Nob3RLaW5kXG4gIGRpc3RhbmNlOiBVbml0aXplZE51bWJlcjxMZW5ndGg+XG4gIGhvcml6b250YWxEaXN0YW5jZT86IFVuaXRpemVkTnVtYmVyPExlbmd0aD4gfCBudWxsXG4gIHZlcnRpY2FsRGlzdGFuY2U/OiBVbml0aXplZE51bWJlcjxMZW5ndGg+IHwgbnVsbFxuICBmcm9udHNpZ2h0QXppbXV0aD86IFVuaXRpemVkTnVtYmVyPEFuZ2xlPiB8IG51bGxcbiAgZnJvbnRzaWdodEluY2xpbmF0aW9uPzogVW5pdGl6ZWROdW1iZXI8QW5nbGU+IHwgbnVsbFxuICBiYWNrc2lnaHRBemltdXRoPzogVW5pdGl6ZWROdW1iZXI8QW5nbGU+IHwgbnVsbFxuICBiYWNrc2lnaHRJbmNsaW5hdGlvbj86IFVuaXRpemVkTnVtYmVyPEFuZ2xlPiB8IG51bGxcbiAgLyoqXG4gICAqIExSVURzIGF0IGZyb20gc3RhdGlvblxuICAgKi9cbiAgZnJvbUxydWRzPzoge1xuICAgIGxlZnQ/OiBVbml0aXplZE51bWJlcjxMZW5ndGg+IHwgbnVsbFxuICAgIHJpZ2h0PzogVW5pdGl6ZWROdW1iZXI8TGVuZ3RoPiB8IG51bGxcbiAgICB1cD86IFVuaXRpemVkTnVtYmVyPExlbmd0aD4gfCBudWxsXG4gICAgZG93bj86IFVuaXRpemVkTnVtYmVyPExlbmd0aD4gfCBudWxsXG4gIH1cbiAgLyoqXG4gICAqIExSVURzIGF0IHRvIHN0YXRpb25cbiAgICovXG4gIHRvTHJ1ZHM/OiB7XG4gICAgbGVmdD86IFVuaXRpemVkTnVtYmVyPExlbmd0aD4gfCBudWxsXG4gICAgcmlnaHQ/OiBVbml0aXplZE51bWJlcjxMZW5ndGg+IHwgbnVsbFxuICAgIHVwPzogVW5pdGl6ZWROdW1iZXI8TGVuZ3RoPiB8IG51bGxcbiAgICBkb3duPzogVW5pdGl6ZWROdW1iZXI8TGVuZ3RoPiB8IG51bGxcbiAgfVxuICBleGNsdWRlRGlzdGFuY2U/OiBib29sZWFuIHwgbnVsbFxuICBpc1NwbGF5PzogYm9vbGVhbiB8IG51bGxcbiAgY29tbWVudD86IHN0cmluZyB8IG51bGxcbn1cbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7O0lBRVlBLFlBQVksMEJBQVpBLFlBQVk7RUFBWkEsWUFBWTtFQUFaQSxZQUFZO0VBQVpBLFlBQVk7RUFBQSxPQUFaQSxZQUFZO0FBQUE7QUFBQUMsT0FBQSxDQUFBRCxZQUFBLEdBQUFBLFlBQUEifQ==
|
package/es/FrcsSurveyFile.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vc3JjL0ZyY3NTdXJ2ZXlGaWxlLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEZyY3NUcmlwIH0gZnJvbSAnLi9GcmNzVHJpcCdcbmltcG9ydCB7IFNlZ21lbnRQYXJzZUVycm9yIH0gZnJvbSAncGFyc2Utc2VnbWVudCdcblxuZXhwb3J0IHR5cGUgRnJjc1N1cnZleUZpbGUgPSB7XG4gIGNhdmU/OiBzdHJpbmcgfCBudWxsXG4gIGxvY2F0aW9uPzogc3RyaW5nIHwgbnVsbFxuICBjb21tZW50Pzogc3RyaW5nIHwgbnVsbFxuICB0cmlwczogQXJyYXk8RnJjc1RyaXA+XG4gIGVycm9ycz86IEFycmF5PFNlZ21lbnRQYXJzZUVycm9yPiB8IG51bGxcbn1cbiJdLCJtYXBwaW5ncyI6IiJ9
|
package/es/FrcsTrip.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vc3JjL0ZyY3NUcmlwLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFVuaXQsIExlbmd0aCwgQW5nbGUgfSBmcm9tICdAc3BlbGVvdGljYS91bml0aXplZCdcbmltcG9ydCB7IEZyY3NTaG90IH0gZnJvbSAnLi9GcmNzU2hvdCdcblxuZXhwb3J0IHR5cGUgRnJjc1RyaXBIZWFkZXIgPSB7XG4gIG5hbWU6IHN0cmluZ1xuICBjb21tZW50Pzogc3RyaW5nIHwgbnVsbFxuICBzZWN0aW9uPzogc3RyaW5nIHwgbnVsbFxuICBkYXRlPzogRGF0ZSB8IG51bGxcbiAgdGVhbT86IEFycmF5PHN0cmluZz4gfCBudWxsXG4gIGRpc3RhbmNlVW5pdDogVW5pdDxMZW5ndGg+XG4gIGF6aW11dGhVbml0OiBVbml0PEFuZ2xlPlxuICBpbmNsaW5hdGlvblVuaXQ6IFVuaXQ8QW5nbGU+XG4gIGJhY2tzaWdodEF6aW11dGhDb3JyZWN0ZWQ/OiBib29sZWFuIHwgbnVsbFxuICBiYWNrc2lnaHRJbmNsaW5hdGlvbkNvcnJlY3RlZD86IGJvb2xlYW4gfCBudWxsXG4gIGhhc0JhY2tzaWdodEF6aW11dGg/OiBib29sZWFuIHwgbnVsbFxuICBoYXNCYWNrc2lnaHRJbmNsaW5hdGlvbj86IGJvb2xlYW4gfCBudWxsXG59XG5cbmV4cG9ydCB0eXBlIEZyY3NUcmlwID0ge1xuICBoZWFkZXI6IEZyY3NUcmlwSGVhZGVyXG4gIHNob3RzOiBBcnJheTxGcmNzU2hvdD5cbn1cbiJdLCJtYXBwaW5ncyI6IiJ9
|
package/es/FrcsTripSummary.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vc3JjL0ZyY3NUcmlwU3VtbWFyeS50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBVbml0aXplZE51bWJlciwgTGVuZ3RoIH0gZnJvbSAnQHNwZWxlb3RpY2EvdW5pdGl6ZWQnXG5cbmV4cG9ydCB0eXBlIEZyY3NUcmlwU3VtbWFyeSA9IHtcbiAgdHJpcE51bWJlcjogbnVtYmVyXG4gIHRyaXBJbmRleDogbnVtYmVyXG4gIGRhdGU6IERhdGVcbiAgdG90YWxMZW5ndGg6IFVuaXRpemVkTnVtYmVyPExlbmd0aD5cbiAgbnVtU2hvdHM6IG51bWJlclxuICBuYW1lOiBzdHJpbmdcbiAgZXhjbHVkZWRMZW5ndGg6IFVuaXRpemVkTnVtYmVyPExlbmd0aD5cbiAgbnVtRXhjbHVkZWRTaG90czogbnVtYmVyXG4gIHRlYW06IEFycmF5PHN0cmluZz5cbiAgc2hvdHM6IEFycmF5PHN0cmluZz5cbn1cbiJdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vc3JjL0ZyY3NUcmlwU3VtbWFyeUZpbGUudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRnJjc1RyaXBTdW1tYXJ5IH0gZnJvbSAnLi9GcmNzVHJpcFN1bW1hcnknXG5pbXBvcnQgeyBTZWdtZW50UGFyc2VFcnJvciB9IGZyb20gJ3BhcnNlLXNlZ21lbnQnXG5cbmV4cG9ydCB0eXBlIEZyY3NUcmlwU3VtbWFyeUZpbGUgPSB7XG4gIGVycm9ycz86IEFycmF5PFNlZ21lbnRQYXJzZUVycm9yPiB8IG51bGxcbiAgdHJpcFN1bW1hcmllczogQXJyYXk8RnJjc1RyaXBTdW1tYXJ5IHwgdW5kZWZpbmVkPlxufVxuIl0sIm1hcHBpbmdzIjoiIn0=
|