@intelligentgraphics/ig.gfx.packager 2.0.10 → 2.1.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/build/index.js +1010 -594
- package/build/index.js.map +1 -1
- package/package.json +26 -5
- package/readme.md +16 -0
package/build/index.js
CHANGED
|
@@ -306,14 +306,16 @@ var isArray = Array.isArray || function (xs) {
|
|
|
306
306
|
|
|
307
307
|
module.exports = minimatch;
|
|
308
308
|
minimatch.Minimatch = Minimatch;
|
|
309
|
-
|
|
309
|
+
|
|
310
|
+
var path = function () {
|
|
311
|
+
try {
|
|
312
|
+
return __webpack_require__(/*! path */ "path");
|
|
313
|
+
} catch (e) {}
|
|
314
|
+
}() || {
|
|
310
315
|
sep: '/'
|
|
311
316
|
};
|
|
312
317
|
|
|
313
|
-
|
|
314
|
-
path = __webpack_require__(/*! path */ "path");
|
|
315
|
-
} catch (er) {}
|
|
316
|
-
|
|
318
|
+
minimatch.sep = path.sep;
|
|
317
319
|
var GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {};
|
|
318
320
|
|
|
319
321
|
var expand = __webpack_require__(/*! brace-expansion */ "../../node_modules/brace-expansion/index.js");
|
|
@@ -374,51 +376,71 @@ function filter(pattern, options) {
|
|
|
374
376
|
}
|
|
375
377
|
|
|
376
378
|
function ext(a, b) {
|
|
377
|
-
a = a || {};
|
|
378
379
|
b = b || {};
|
|
379
380
|
var t = {};
|
|
380
|
-
Object.keys(b).forEach(function (k) {
|
|
381
|
-
t[k] = b[k];
|
|
382
|
-
});
|
|
383
381
|
Object.keys(a).forEach(function (k) {
|
|
384
382
|
t[k] = a[k];
|
|
385
383
|
});
|
|
384
|
+
Object.keys(b).forEach(function (k) {
|
|
385
|
+
t[k] = b[k];
|
|
386
|
+
});
|
|
386
387
|
return t;
|
|
387
388
|
}
|
|
388
389
|
|
|
389
390
|
minimatch.defaults = function (def) {
|
|
390
|
-
if (!def || !Object.keys(def).length)
|
|
391
|
+
if (!def || typeof def !== 'object' || !Object.keys(def).length) {
|
|
392
|
+
return minimatch;
|
|
393
|
+
}
|
|
394
|
+
|
|
391
395
|
var orig = minimatch;
|
|
392
396
|
|
|
393
397
|
var m = function minimatch(p, pattern, options) {
|
|
394
|
-
return orig
|
|
398
|
+
return orig(p, pattern, ext(def, options));
|
|
395
399
|
};
|
|
396
400
|
|
|
397
401
|
m.Minimatch = function Minimatch(pattern, options) {
|
|
398
402
|
return new orig.Minimatch(pattern, ext(def, options));
|
|
399
403
|
};
|
|
400
404
|
|
|
405
|
+
m.Minimatch.defaults = function defaults(options) {
|
|
406
|
+
return orig.defaults(ext(def, options)).Minimatch;
|
|
407
|
+
};
|
|
408
|
+
|
|
409
|
+
m.filter = function filter(pattern, options) {
|
|
410
|
+
return orig.filter(pattern, ext(def, options));
|
|
411
|
+
};
|
|
412
|
+
|
|
413
|
+
m.defaults = function defaults(options) {
|
|
414
|
+
return orig.defaults(ext(def, options));
|
|
415
|
+
};
|
|
416
|
+
|
|
417
|
+
m.makeRe = function makeRe(pattern, options) {
|
|
418
|
+
return orig.makeRe(pattern, ext(def, options));
|
|
419
|
+
};
|
|
420
|
+
|
|
421
|
+
m.braceExpand = function braceExpand(pattern, options) {
|
|
422
|
+
return orig.braceExpand(pattern, ext(def, options));
|
|
423
|
+
};
|
|
424
|
+
|
|
425
|
+
m.match = function (list, pattern, options) {
|
|
426
|
+
return orig.match(list, pattern, ext(def, options));
|
|
427
|
+
};
|
|
428
|
+
|
|
401
429
|
return m;
|
|
402
430
|
};
|
|
403
431
|
|
|
404
432
|
Minimatch.defaults = function (def) {
|
|
405
|
-
if (!def || !Object.keys(def).length) return Minimatch;
|
|
406
433
|
return minimatch.defaults(def).Minimatch;
|
|
407
434
|
};
|
|
408
435
|
|
|
409
436
|
function minimatch(p, pattern, options) {
|
|
410
|
-
|
|
411
|
-
throw new TypeError('glob pattern string required');
|
|
412
|
-
}
|
|
413
|
-
|
|
437
|
+
assertValidPattern(pattern);
|
|
414
438
|
if (!options) options = {}; // shortcut: comments match nothing.
|
|
415
439
|
|
|
416
440
|
if (!options.nocomment && pattern.charAt(0) === '#') {
|
|
417
441
|
return false;
|
|
418
|
-
}
|
|
419
|
-
|
|
442
|
+
}
|
|
420
443
|
|
|
421
|
-
if (pattern.trim() === '') return p === '';
|
|
422
444
|
return new Minimatch(pattern, options).match(p);
|
|
423
445
|
}
|
|
424
446
|
|
|
@@ -427,14 +449,11 @@ function Minimatch(pattern, options) {
|
|
|
427
449
|
return new Minimatch(pattern, options);
|
|
428
450
|
}
|
|
429
451
|
|
|
430
|
-
|
|
431
|
-
throw new TypeError('glob pattern string required');
|
|
432
|
-
}
|
|
433
|
-
|
|
452
|
+
assertValidPattern(pattern);
|
|
434
453
|
if (!options) options = {};
|
|
435
454
|
pattern = pattern.trim(); // windows support: need to use /, not \
|
|
436
455
|
|
|
437
|
-
if (path.sep !== '/') {
|
|
456
|
+
if (!options.allowWindowsEscape && path.sep !== '/') {
|
|
438
457
|
pattern = pattern.split(path.sep).join('/');
|
|
439
458
|
}
|
|
440
459
|
|
|
@@ -444,7 +463,8 @@ function Minimatch(pattern, options) {
|
|
|
444
463
|
this.regexp = null;
|
|
445
464
|
this.negate = false;
|
|
446
465
|
this.comment = false;
|
|
447
|
-
this.empty = false;
|
|
466
|
+
this.empty = false;
|
|
467
|
+
this.partial = !!options.partial; // make the set of regexps etc.
|
|
448
468
|
|
|
449
469
|
this.make();
|
|
450
470
|
}
|
|
@@ -454,8 +474,6 @@ Minimatch.prototype.debug = function () {};
|
|
|
454
474
|
Minimatch.prototype.make = make;
|
|
455
475
|
|
|
456
476
|
function make() {
|
|
457
|
-
// don't do it more than once.
|
|
458
|
-
if (this._made) return;
|
|
459
477
|
var pattern = this.pattern;
|
|
460
478
|
var options = this.options; // empty patterns and comments match nothing.
|
|
461
479
|
|
|
@@ -473,7 +491,9 @@ function make() {
|
|
|
473
491
|
this.parseNegate(); // step 2: expand braces
|
|
474
492
|
|
|
475
493
|
var set = this.globSet = this.braceExpand();
|
|
476
|
-
if (options.debug) this.debug =
|
|
494
|
+
if (options.debug) this.debug = function debug() {
|
|
495
|
+
console.error.apply(console, arguments);
|
|
496
|
+
};
|
|
477
497
|
this.debug(this.pattern, set); // step 3: now we have a set, so turn each one into a series of path-portion
|
|
478
498
|
// matching patterns.
|
|
479
499
|
// These will be regexps, except in the case of "**", which is
|
|
@@ -541,18 +561,28 @@ function braceExpand(pattern, options) {
|
|
|
541
561
|
}
|
|
542
562
|
|
|
543
563
|
pattern = typeof pattern === 'undefined' ? this.pattern : pattern;
|
|
564
|
+
assertValidPattern(pattern); // Thanks to Yeting Li <https://github.com/yetingli> for
|
|
565
|
+
// improving this regexp to avoid a ReDOS vulnerability.
|
|
544
566
|
|
|
545
|
-
if (
|
|
546
|
-
throw new TypeError('undefined pattern');
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
if (options.nobrace || !pattern.match(/\{.*\}/)) {
|
|
567
|
+
if (options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern)) {
|
|
550
568
|
// shortcut. no need to expand.
|
|
551
569
|
return [pattern];
|
|
552
570
|
}
|
|
553
571
|
|
|
554
572
|
return expand(pattern);
|
|
555
|
-
}
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
var MAX_PATTERN_LENGTH = 1024 * 64;
|
|
576
|
+
|
|
577
|
+
var assertValidPattern = function (pattern) {
|
|
578
|
+
if (typeof pattern !== 'string') {
|
|
579
|
+
throw new TypeError('invalid pattern');
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
if (pattern.length > MAX_PATTERN_LENGTH) {
|
|
583
|
+
throw new TypeError('pattern is too long');
|
|
584
|
+
}
|
|
585
|
+
}; // parse a component of the expanded set.
|
|
556
586
|
// At this point, no pattern may contain "/" in it
|
|
557
587
|
// so we're going to return a 2d array, where each entry is the full
|
|
558
588
|
// pattern, split on '/', and then turned into a regular expression.
|
|
@@ -569,13 +599,13 @@ Minimatch.prototype.parse = parse;
|
|
|
569
599
|
var SUBPARSE = {};
|
|
570
600
|
|
|
571
601
|
function parse(pattern, isSub) {
|
|
572
|
-
|
|
573
|
-
throw new TypeError('pattern is too long');
|
|
574
|
-
}
|
|
575
|
-
|
|
602
|
+
assertValidPattern(pattern);
|
|
576
603
|
var options = this.options; // shortcuts
|
|
577
604
|
|
|
578
|
-
if (
|
|
605
|
+
if (pattern === '**') {
|
|
606
|
+
if (!options.noglobstar) return GLOBSTAR;else pattern = '*';
|
|
607
|
+
}
|
|
608
|
+
|
|
579
609
|
if (pattern === '') return '';
|
|
580
610
|
var re = '';
|
|
581
611
|
var hasMagic = !!options.nocase;
|
|
@@ -629,10 +659,13 @@ function parse(pattern, isSub) {
|
|
|
629
659
|
}
|
|
630
660
|
|
|
631
661
|
switch (c) {
|
|
662
|
+
/* istanbul ignore next */
|
|
632
663
|
case '/':
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
664
|
+
{
|
|
665
|
+
// completely not allowed, even escaped.
|
|
666
|
+
// Should already be path-split by now.
|
|
667
|
+
return false;
|
|
668
|
+
}
|
|
636
669
|
|
|
637
670
|
case '\\':
|
|
638
671
|
clearStateChar();
|
|
@@ -750,28 +783,26 @@ function parse(pattern, isSub) {
|
|
|
750
783
|
continue;
|
|
751
784
|
} // handle the case where we left a class open.
|
|
752
785
|
// "[z-a]" is valid, equivalent to "\[z-a\]"
|
|
786
|
+
// split where the last [ was, make sure we don't have
|
|
787
|
+
// an invalid re. if so, re-walk the contents of the
|
|
788
|
+
// would-be class to re-translate any characters that
|
|
789
|
+
// were passed through as-is
|
|
790
|
+
// TODO: It would probably be faster to determine this
|
|
791
|
+
// without a try/catch and a new RegExp, but it's tricky
|
|
792
|
+
// to do safely. For now, this is safe and works.
|
|
753
793
|
|
|
754
794
|
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
//
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
RegExp('[' + cs + ']');
|
|
767
|
-
} catch (er) {
|
|
768
|
-
// not a valid class!
|
|
769
|
-
var sp = this.parse(cs, SUBPARSE);
|
|
770
|
-
re = re.substr(0, reClassStart) + '\\[' + sp[0] + '\\]';
|
|
771
|
-
hasMagic = hasMagic || sp[1];
|
|
772
|
-
inClass = false;
|
|
773
|
-
continue;
|
|
774
|
-
}
|
|
795
|
+
var cs = pattern.substring(classStart + 1, i);
|
|
796
|
+
|
|
797
|
+
try {
|
|
798
|
+
RegExp('[' + cs + ']');
|
|
799
|
+
} catch (er) {
|
|
800
|
+
// not a valid class!
|
|
801
|
+
var sp = this.parse(cs, SUBPARSE);
|
|
802
|
+
re = re.substr(0, reClassStart) + '\\[' + sp[0] + '\\]';
|
|
803
|
+
hasMagic = hasMagic || sp[1];
|
|
804
|
+
inClass = false;
|
|
805
|
+
continue;
|
|
775
806
|
} // finish up the class.
|
|
776
807
|
|
|
777
808
|
|
|
@@ -853,8 +884,8 @@ function parse(pattern, isSub) {
|
|
|
853
884
|
var addPatternStart = false;
|
|
854
885
|
|
|
855
886
|
switch (re.charAt(0)) {
|
|
856
|
-
case '.':
|
|
857
887
|
case '[':
|
|
888
|
+
case '.':
|
|
858
889
|
case '(':
|
|
859
890
|
addPatternStart = true;
|
|
860
891
|
} // Hack to work around lack of negative lookbehind in JS
|
|
@@ -919,7 +950,9 @@ function parse(pattern, isSub) {
|
|
|
919
950
|
|
|
920
951
|
try {
|
|
921
952
|
var regExp = new RegExp('^' + re + '$', flags);
|
|
922
|
-
} catch (er)
|
|
953
|
+
} catch (er)
|
|
954
|
+
/* istanbul ignore next - should be impossible */
|
|
955
|
+
{
|
|
923
956
|
// If it was an invalid regular expression, then it can't match
|
|
924
957
|
// anything. This trick looks for a character after the end of
|
|
925
958
|
// the string, which is of course impossible, except in multi-line
|
|
@@ -969,7 +1002,9 @@ function makeRe() {
|
|
|
969
1002
|
|
|
970
1003
|
try {
|
|
971
1004
|
this.regexp = new RegExp(re, flags);
|
|
972
|
-
} catch (ex)
|
|
1005
|
+
} catch (ex)
|
|
1006
|
+
/* istanbul ignore next - should be impossible */
|
|
1007
|
+
{
|
|
973
1008
|
this.regexp = false;
|
|
974
1009
|
}
|
|
975
1010
|
|
|
@@ -990,9 +1025,8 @@ minimatch.match = function (list, pattern, options) {
|
|
|
990
1025
|
return list;
|
|
991
1026
|
};
|
|
992
1027
|
|
|
993
|
-
Minimatch.prototype.match = match
|
|
994
|
-
|
|
995
|
-
function match(f, partial) {
|
|
1028
|
+
Minimatch.prototype.match = function match(f, partial) {
|
|
1029
|
+
if (typeof partial === 'undefined') partial = this.partial;
|
|
996
1030
|
this.debug('match', f, this.pattern); // short-circuit in the case of busted things.
|
|
997
1031
|
// comments, etc.
|
|
998
1032
|
|
|
@@ -1043,7 +1077,7 @@ function match(f, partial) {
|
|
|
1043
1077
|
|
|
1044
1078
|
if (options.flipNegate) return false;
|
|
1045
1079
|
return this.negate;
|
|
1046
|
-
} // set partial to true to test if, for example,
|
|
1080
|
+
}; // set partial to true to test if, for example,
|
|
1047
1081
|
// "/a/b" matches the start of "/*/b/*/d"
|
|
1048
1082
|
// Partial means, if you run out of file before you run
|
|
1049
1083
|
// out of pattern, then that's fine, as long as all
|
|
@@ -1066,6 +1100,8 @@ Minimatch.prototype.matchOne = function (file, pattern, partial) {
|
|
|
1066
1100
|
this.debug(pattern, p, f); // should be impossible.
|
|
1067
1101
|
// some invalid regexp stuff in the set.
|
|
1068
1102
|
|
|
1103
|
+
/* istanbul ignore if */
|
|
1104
|
+
|
|
1069
1105
|
if (p === false) return false;
|
|
1070
1106
|
|
|
1071
1107
|
if (p === GLOBSTAR) {
|
|
@@ -1135,6 +1171,8 @@ Minimatch.prototype.matchOne = function (file, pattern, partial) {
|
|
|
1135
1171
|
// However, in partial mode, we can't say this is necessarily over.
|
|
1136
1172
|
// If there's more *pattern* left, then
|
|
1137
1173
|
|
|
1174
|
+
/* istanbul ignore if */
|
|
1175
|
+
|
|
1138
1176
|
|
|
1139
1177
|
if (partial) {
|
|
1140
1178
|
// ran out of file
|
|
@@ -1151,12 +1189,7 @@ Minimatch.prototype.matchOne = function (file, pattern, partial) {
|
|
|
1151
1189
|
var hit;
|
|
1152
1190
|
|
|
1153
1191
|
if (typeof p === 'string') {
|
|
1154
|
-
|
|
1155
|
-
hit = f.toLowerCase() === p.toLowerCase();
|
|
1156
|
-
} else {
|
|
1157
|
-
hit = f === p;
|
|
1158
|
-
}
|
|
1159
|
-
|
|
1192
|
+
hit = f === p;
|
|
1160
1193
|
this.debug('string match', p, f, hit);
|
|
1161
1194
|
} else {
|
|
1162
1195
|
hit = f.match(p);
|
|
@@ -1186,14 +1219,17 @@ Minimatch.prototype.matchOne = function (file, pattern, partial) {
|
|
|
1186
1219
|
// this is ok if we're doing the match as part of
|
|
1187
1220
|
// a glob fs traversal.
|
|
1188
1221
|
return partial;
|
|
1189
|
-
} else
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1222
|
+
} else
|
|
1223
|
+
/* istanbul ignore else */
|
|
1224
|
+
if (pi === pl) {
|
|
1225
|
+
// ran out of pattern, still have file left.
|
|
1226
|
+
// this is only acceptable if we're on the very last
|
|
1227
|
+
// empty segment of a file with a trailing slash.
|
|
1228
|
+
// a/* should match a/b/
|
|
1229
|
+
return fi === fl - 1 && file[fi] === '';
|
|
1230
|
+
} // should be unreachable.
|
|
1231
|
+
|
|
1232
|
+
/* istanbul ignore next */
|
|
1197
1233
|
|
|
1198
1234
|
|
|
1199
1235
|
throw new Error('wtf?');
|
|
@@ -1328,6 +1364,7 @@ exports.__asyncValues = __asyncValues;
|
|
|
1328
1364
|
exports.__await = __await;
|
|
1329
1365
|
exports.__awaiter = __awaiter;
|
|
1330
1366
|
exports.__classPrivateFieldGet = __classPrivateFieldGet;
|
|
1367
|
+
exports.__classPrivateFieldIn = __classPrivateFieldIn;
|
|
1331
1368
|
exports.__classPrivateFieldSet = __classPrivateFieldSet;
|
|
1332
1369
|
exports.__createBinding = void 0;
|
|
1333
1370
|
exports.__decorate = __decorate;
|
|
@@ -1350,7 +1387,7 @@ __webpack_require__(/*! core-js/modules/es.promise.js */ "../../node_modules/cor
|
|
|
1350
1387
|
|
|
1351
1388
|
__webpack_require__(/*! core-js/modules/es.symbol.description.js */ "../../node_modules/core-js/modules/es.symbol.description.js");
|
|
1352
1389
|
|
|
1353
|
-
|
|
1390
|
+
/******************************************************************************
|
|
1354
1391
|
Copyright (c) Microsoft Corporation.
|
|
1355
1392
|
|
|
1356
1393
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -1577,12 +1614,18 @@ function __generator(thisArg, body) {
|
|
|
1577
1614
|
|
|
1578
1615
|
var __createBinding = Object.create ? function (o, m, k, k2) {
|
|
1579
1616
|
if (k2 === undefined) k2 = k;
|
|
1580
|
-
Object.
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1617
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1618
|
+
|
|
1619
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1620
|
+
desc = {
|
|
1621
|
+
enumerable: true,
|
|
1622
|
+
get: function () {
|
|
1623
|
+
return m[k];
|
|
1624
|
+
}
|
|
1625
|
+
};
|
|
1626
|
+
}
|
|
1627
|
+
|
|
1628
|
+
Object.defineProperty(o, k2, desc);
|
|
1586
1629
|
} : function (o, m, k, k2) {
|
|
1587
1630
|
if (k2 === undefined) k2 = k;
|
|
1588
1631
|
o[k2] = m[k];
|
|
@@ -1806,6 +1849,11 @@ function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
|
1806
1849
|
return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
|
|
1807
1850
|
}
|
|
1808
1851
|
|
|
1852
|
+
function __classPrivateFieldIn(state, receiver) {
|
|
1853
|
+
if (receiver === null || typeof receiver !== "object" && typeof receiver !== "function") throw new TypeError("Cannot use 'in' operator on non-object");
|
|
1854
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
1855
|
+
}
|
|
1856
|
+
|
|
1809
1857
|
/***/ }),
|
|
1810
1858
|
|
|
1811
1859
|
/***/ "../core/build/command.js":
|
|
@@ -1868,8 +1916,8 @@ class Command {
|
|
|
1868
1916
|
return {
|
|
1869
1917
|
command: this.params.cmd || this.params.name,
|
|
1870
1918
|
describe: this.params.description,
|
|
1871
|
-
handler: this.params.handler,
|
|
1872
|
-
builder: this.buildOptions
|
|
1919
|
+
handler: args => this.params.handler(args),
|
|
1920
|
+
builder: args => this.buildOptions(args)
|
|
1873
1921
|
};
|
|
1874
1922
|
}
|
|
1875
1923
|
|
|
@@ -2050,6 +2098,12 @@ exports.writeConfig = writeConfig;
|
|
|
2050
2098
|
|
|
2051
2099
|
__webpack_require__(/*! core-js/modules/es.promise.js */ "../../node_modules/core-js/modules/es.promise.js");
|
|
2052
2100
|
|
|
2101
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2102
|
+
|
|
2103
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2104
|
+
|
|
2105
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2106
|
+
|
|
2053
2107
|
Object.defineProperty(exports, "__esModule", ({
|
|
2054
2108
|
value: true
|
|
2055
2109
|
}));
|
|
@@ -2109,7 +2163,7 @@ const exec = ({
|
|
|
2109
2163
|
onMessage,
|
|
2110
2164
|
onStdErr
|
|
2111
2165
|
}) => new Promise((resolve, reject) => {
|
|
2112
|
-
const cp = execa(cmd,
|
|
2166
|
+
const cp = execa(cmd, _objectSpread(_objectSpread({}, options), {}, {
|
|
2113
2167
|
maxBuffer: Infinity,
|
|
2114
2168
|
shell: true
|
|
2115
2169
|
}));
|
|
@@ -2427,12 +2481,18 @@ exports.PathUtil = PathUtil;
|
|
|
2427
2481
|
const GitUtil = __webpack_require__(/*! ./gitUtil */ "../core/build/gitUtil.js");
|
|
2428
2482
|
|
|
2429
2483
|
exports.GitUtil = GitUtil;
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2484
|
+
|
|
2485
|
+
tslib_1.__exportStar(__webpack_require__(/*! ./limiter */ "../core/build/limiter.js"), exports);
|
|
2486
|
+
|
|
2487
|
+
tslib_1.__exportStar(__webpack_require__(/*! ./typedEmitter */ "../core/build/typedEmitter.js"), exports);
|
|
2488
|
+
|
|
2489
|
+
tslib_1.__exportStar(__webpack_require__(/*! ./packageVersion */ "../core/build/packageVersion.js"), exports);
|
|
2490
|
+
|
|
2491
|
+
tslib_1.__exportStar(__webpack_require__(/*! ./config */ "../core/build/config.js"), exports);
|
|
2492
|
+
|
|
2493
|
+
tslib_1.__exportStar(__webpack_require__(/*! ./types/pjson */ "../core/build/types/pjson.js"), exports);
|
|
2494
|
+
|
|
2495
|
+
tslib_1.__exportStar(__webpack_require__(/*! ./workers */ "../core/build/workers/index.js"), exports);
|
|
2436
2496
|
|
|
2437
2497
|
var commandRegistry_1 = __webpack_require__(/*! ./commandRegistry */ "../core/build/commandRegistry.js");
|
|
2438
2498
|
|
|
@@ -2451,8 +2511,10 @@ Object.defineProperty(exports, "Command", ({
|
|
|
2451
2511
|
return command_1.Command;
|
|
2452
2512
|
}
|
|
2453
2513
|
}));
|
|
2454
|
-
|
|
2455
|
-
|
|
2514
|
+
|
|
2515
|
+
tslib_1.__exportStar(__webpack_require__(/*! ./toposort */ "../core/build/toposort.js"), exports);
|
|
2516
|
+
|
|
2517
|
+
tslib_1.__exportStar(__webpack_require__(/*! ./findLargest */ "../core/build/findLargest.js"), exports);
|
|
2456
2518
|
|
|
2457
2519
|
/***/ }),
|
|
2458
2520
|
|
|
@@ -2537,6 +2599,12 @@ exports.Limiter = Limiter;
|
|
|
2537
2599
|
"use strict";
|
|
2538
2600
|
|
|
2539
2601
|
|
|
2602
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2603
|
+
|
|
2604
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2605
|
+
|
|
2606
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2607
|
+
|
|
2540
2608
|
Object.defineProperty(exports, "__esModule", ({
|
|
2541
2609
|
value: true
|
|
2542
2610
|
}));
|
|
@@ -2648,7 +2716,7 @@ class PackageVersion {
|
|
|
2648
2716
|
}
|
|
2649
2717
|
|
|
2650
2718
|
clone() {
|
|
2651
|
-
return new PackageVersion(this.major, this.minor, this.patch, this.preRelease ?
|
|
2719
|
+
return new PackageVersion(this.major, this.minor, this.patch, this.preRelease ? _objectSpread({}, this.preRelease) : undefined, this.buildNumber);
|
|
2652
2720
|
}
|
|
2653
2721
|
|
|
2654
2722
|
incrementMajor() {
|
|
@@ -3119,7 +3187,8 @@ class WorkMaster extends typedEmitter_1.TypedEmitter {
|
|
|
3119
3187
|
}
|
|
3120
3188
|
|
|
3121
3189
|
exports.WorkMaster = WorkMaster;
|
|
3122
|
-
|
|
3190
|
+
|
|
3191
|
+
tslib_1.__exportStar(__webpack_require__(/*! ./slave */ "../core/build/workers/slave.js"), exports);
|
|
3123
3192
|
|
|
3124
3193
|
/***/ }),
|
|
3125
3194
|
|
|
@@ -3234,9 +3303,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
3234
3303
|
|
|
3235
3304
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
3236
3305
|
|
|
3237
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3306
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3238
3307
|
|
|
3239
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
3308
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3240
3309
|
|
|
3241
3310
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
3242
3311
|
|
|
@@ -3258,6 +3327,10 @@ const buildFolders = async options => {
|
|
|
3258
3327
|
path: folderPath,
|
|
3259
3328
|
data: packageData
|
|
3260
3329
|
}] of sortedPackages) {
|
|
3330
|
+
if (options.skipPackagesWithoutTsFiles && (0, _tsc.findTypescriptFiles)(folderPath).length === 0) {
|
|
3331
|
+
continue;
|
|
3332
|
+
}
|
|
3333
|
+
|
|
3261
3334
|
ensureTsConfig(folderPath);
|
|
3262
3335
|
const data = (0, _packages.loadDataFromFolder)(folderPath);
|
|
3263
3336
|
|
|
@@ -3273,17 +3346,17 @@ const buildFolders = async options => {
|
|
|
3273
3346
|
const srcFilePath = path.join(options.outDir || folderPath, `${data.Package}.d.ts`);
|
|
3274
3347
|
|
|
3275
3348
|
if (fs.existsSync(srcFilePath)) {
|
|
3276
|
-
fs.mkdirSync("lib", {
|
|
3349
|
+
fs.mkdirSync(path.join(options.cwd, "lib"), {
|
|
3277
3350
|
recursive: true
|
|
3278
3351
|
});
|
|
3279
3352
|
logStep((0, _localization.translate)("messages.basicsCopy"));
|
|
3280
|
-
fs.copyFileSync(srcFilePath, path.join("lib", `${data.Package}.d.ts`));
|
|
3353
|
+
fs.copyFileSync(srcFilePath, path.join(options.cwd, "lib", `${data.Package}.d.ts`));
|
|
3281
3354
|
}
|
|
3282
3355
|
}
|
|
3283
3356
|
|
|
3284
3357
|
if (options.docs) {
|
|
3285
3358
|
logStep((0, _localization.translate)("messages.docsGeneration"));
|
|
3286
|
-
await (0, _docs.generateDocs)(folderPath, path.join(options.outDir || folderPath, `${data.Package}.d.ts`), path.join(
|
|
3359
|
+
await (0, _docs.generateDocs)(folderPath, path.join(options.outDir || folderPath, `${data.Package}.d.ts`), path.join(options.cwd, "docs", data.Package), data.Package);
|
|
3287
3360
|
} // logStep(translate("messages.built"));
|
|
3288
3361
|
|
|
3289
3362
|
|
|
@@ -3392,9 +3465,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
3392
3465
|
|
|
3393
3466
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
3394
3467
|
|
|
3395
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3468
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3396
3469
|
|
|
3397
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
3470
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3398
3471
|
|
|
3399
3472
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
3400
3473
|
|
|
@@ -3416,7 +3489,6 @@ const releaseFolder = async (folderPath, options) => {
|
|
|
3416
3489
|
var _options$domain, _options$subdomain;
|
|
3417
3490
|
|
|
3418
3491
|
const {
|
|
3419
|
-
version,
|
|
3420
3492
|
write: writeVersionFile,
|
|
3421
3493
|
reset: resetVersionFile
|
|
3422
3494
|
} = getVersionFile(folderPath);
|
|
@@ -3436,21 +3508,31 @@ const releaseFolder = async (folderPath, options) => {
|
|
|
3436
3508
|
throw new Error(`Please enter a version in this format 1.0.0.100`);
|
|
3437
3509
|
}
|
|
3438
3510
|
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3511
|
+
if (newVersion.buildNumber < 100) {
|
|
3512
|
+
newVersion.preRelease = {
|
|
3513
|
+
type: "beta",
|
|
3514
|
+
version: newVersion.buildNumber
|
|
3515
|
+
};
|
|
3516
|
+
} else if (newVersion.buildNumber > 100) {
|
|
3517
|
+
newVersion.preRelease = {
|
|
3518
|
+
type: "patch",
|
|
3519
|
+
version: newVersion.buildNumber - 100
|
|
3520
|
+
};
|
|
3521
|
+
}
|
|
3442
3522
|
|
|
3443
3523
|
if (!options.pushOnly) {
|
|
3444
|
-
if (!options.noValidate && version !== undefined && version.buildNumber >= 100 && !newVersion.isGreaterThan(version)) {
|
|
3445
|
-
throw new Error(`Release versions with a build number > 100 may not be overwritten. Please increase the version.`);
|
|
3446
|
-
}
|
|
3447
|
-
|
|
3448
3524
|
writeVersionFile(fullPackageName, newVersion);
|
|
3449
3525
|
await (0, _build.buildFolders)(_objectSpread(_objectSpread({}, options), {}, {
|
|
3450
|
-
directories: [folderPath]
|
|
3526
|
+
directories: [folderPath],
|
|
3527
|
+
skipPackagesWithoutTsFiles: true
|
|
3451
3528
|
}));
|
|
3452
3529
|
}
|
|
3453
3530
|
|
|
3531
|
+
newVersion.preRelease = undefined;
|
|
3532
|
+
const newVersionString = newVersion.toVersionString({
|
|
3533
|
+
buildNumber: true
|
|
3534
|
+
});
|
|
3535
|
+
|
|
3454
3536
|
try {
|
|
3455
3537
|
await (0, _packager.executePackager)({
|
|
3456
3538
|
data: packageDescription,
|
|
@@ -3520,7 +3602,9 @@ const getVersionFile = folder => {
|
|
|
3520
3602
|
});
|
|
3521
3603
|
|
|
3522
3604
|
const createVersionFileWriter = (copyright = [currentYear], copyrightStuff = "") => (name, newVersion) => {
|
|
3523
|
-
const
|
|
3605
|
+
const descriptionText = newVersion.toDescriptionString(name);
|
|
3606
|
+
const copyrightText = createYearString(copyright);
|
|
3607
|
+
const result = `console.log("${descriptionText}. Copyright (C) ${copyrightText}${copyrightStuff}");`;
|
|
3524
3608
|
|
|
3525
3609
|
_igTools.FileUtil.writeFile(filePath, result);
|
|
3526
3610
|
};
|
|
@@ -3730,7 +3814,7 @@ var path = _interopRequireWildcard(__webpack_require__(/*! path */ "path"));
|
|
|
3730
3814
|
|
|
3731
3815
|
var fs = _interopRequireWildcard(__webpack_require__(/*! fs-extra */ "fs-extra"));
|
|
3732
3816
|
|
|
3733
|
-
var
|
|
3817
|
+
var _jszip = _interopRequireDefault(__webpack_require__(/*! jszip */ "jszip"));
|
|
3734
3818
|
|
|
3735
3819
|
var terser = _interopRequireWildcard(__webpack_require__(/*! terser */ "terser"));
|
|
3736
3820
|
|
|
@@ -3738,9 +3822,13 @@ var _ajv = _interopRequireDefault(__webpack_require__(/*! ajv */ "ajv"));
|
|
|
3738
3822
|
|
|
3739
3823
|
var _axios = _interopRequireDefault(__webpack_require__(/*! axios */ "axios"));
|
|
3740
3824
|
|
|
3825
|
+
var stream = _interopRequireWildcard(__webpack_require__(/*! stream */ "stream"));
|
|
3826
|
+
|
|
3827
|
+
var _util = __webpack_require__(/*! util */ "util");
|
|
3828
|
+
|
|
3741
3829
|
var _igTools = __webpack_require__(/*! @intelligentgraphics/ig.tools.core */ "../core/build/index.js");
|
|
3742
3830
|
|
|
3743
|
-
var
|
|
3831
|
+
var _util2 = __webpack_require__(/*! ./util */ "./src/util.ts");
|
|
3744
3832
|
|
|
3745
3833
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
3746
3834
|
|
|
@@ -3748,12 +3836,13 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
3748
3836
|
|
|
3749
3837
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
3750
3838
|
|
|
3751
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3839
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3752
3840
|
|
|
3753
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
3841
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3754
3842
|
|
|
3755
3843
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
3756
3844
|
|
|
3845
|
+
const pipeline = (0, _util.promisify)(stream.pipeline);
|
|
3757
3846
|
const PLUGIN_ID = "0feba3a0-b6d1-11e6-9598-0800200c9a66";
|
|
3758
3847
|
const PACKAGE_FILE = "_Package.json";
|
|
3759
3848
|
const INDEX_FILE = "_Index.json";
|
|
@@ -3770,7 +3859,7 @@ const runtimeScripts = ["Interactor", "Core", "Mixed"];
|
|
|
3770
3859
|
const notRuntimeScripts = ["Context", "Evaluator"];
|
|
3771
3860
|
|
|
3772
3861
|
const executePackager = async options => {
|
|
3773
|
-
const logStep = step => (0,
|
|
3862
|
+
const logStep = step => (0, _util2.logPackageMessage)(`${options.domain}.${options.subdomain}`, step);
|
|
3774
3863
|
|
|
3775
3864
|
const packageName = `${options.domain}.${options.subdomain}_${options.version}`;
|
|
3776
3865
|
const binDir = path.join(options.cwd, "bin");
|
|
@@ -3903,13 +3992,7 @@ Packaging without a javascript file is only allowed when animation json files ar
|
|
|
3903
3992
|
fs.unlinkSync(zipFilePath);
|
|
3904
3993
|
} catch {}
|
|
3905
3994
|
|
|
3906
|
-
const
|
|
3907
|
-
const archive = (0, _archiver.default)("zip", {
|
|
3908
|
-
zlib: {
|
|
3909
|
-
level: 9
|
|
3910
|
-
}
|
|
3911
|
-
});
|
|
3912
|
-
archive.pipe(zipOutputStream);
|
|
3995
|
+
const archive = new _jszip.default();
|
|
3913
3996
|
let library = "";
|
|
3914
3997
|
|
|
3915
3998
|
if (libFile) {
|
|
@@ -3949,9 +4032,7 @@ Packaging without a javascript file is only allowed when animation json files ar
|
|
|
3949
4032
|
const minifyResult = terser.minify(library, {
|
|
3950
4033
|
ecma: 5
|
|
3951
4034
|
});
|
|
3952
|
-
archive.
|
|
3953
|
-
name: `${domain}.${subdomain}.js`
|
|
3954
|
-
});
|
|
4035
|
+
archive.file(`${domain}.${subdomain}.js`, minifyResult.code);
|
|
3955
4036
|
|
|
3956
4037
|
for (const directory of scriptDirectories) {
|
|
3957
4038
|
try {
|
|
@@ -3977,16 +4058,15 @@ Packaging without a javascript file is only allowed when animation json files ar
|
|
|
3977
4058
|
continue;
|
|
3978
4059
|
}
|
|
3979
4060
|
|
|
3980
|
-
archive.
|
|
3981
|
-
name: file
|
|
3982
|
-
});
|
|
4061
|
+
archive.file(file, fs.createReadStream(path.join(directory, file)));
|
|
3983
4062
|
}
|
|
3984
4063
|
} catch (err) {
|
|
3985
4064
|
console.error(`Script directory "${directory}" does not exist`);
|
|
3986
4065
|
}
|
|
3987
4066
|
}
|
|
3988
4067
|
|
|
3989
|
-
|
|
4068
|
+
const zipOutputStream = fs.createWriteStream(zipFilePath);
|
|
4069
|
+
await pipeline(archive.generateNodeStream(), zipOutputStream);
|
|
3990
4070
|
};
|
|
3991
4071
|
|
|
3992
4072
|
const uploadArchive = async ({
|
|
@@ -4166,7 +4246,7 @@ exports.loadDataFromFolder = loadDataFromFolder;
|
|
|
4166
4246
|
Object.defineProperty(exports, "__esModule", ({
|
|
4167
4247
|
value: true
|
|
4168
4248
|
}));
|
|
4169
|
-
exports.build = void 0;
|
|
4249
|
+
exports.tryReadTsConfig = exports.findTypescriptFiles = exports.build = void 0;
|
|
4170
4250
|
|
|
4171
4251
|
__webpack_require__(/*! core-js/modules/es.promise.js */ "../../node_modules/core-js/modules/es.promise.js");
|
|
4172
4252
|
|
|
@@ -4184,13 +4264,13 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
4184
4264
|
|
|
4185
4265
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
4186
4266
|
|
|
4187
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
4267
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4188
4268
|
|
|
4189
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
4269
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4190
4270
|
|
|
4191
4271
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
4192
4272
|
|
|
4193
|
-
const
|
|
4273
|
+
const tryReadTsConfig = folderPath => {
|
|
4194
4274
|
const {
|
|
4195
4275
|
config
|
|
4196
4276
|
} = ts.readConfigFile(path.join(folderPath, "tsconfig.json"), path => {
|
|
@@ -4200,6 +4280,21 @@ const build = async (folderPath, options) => {
|
|
|
4200
4280
|
return undefined;
|
|
4201
4281
|
}
|
|
4202
4282
|
});
|
|
4283
|
+
return config;
|
|
4284
|
+
};
|
|
4285
|
+
|
|
4286
|
+
exports.tryReadTsConfig = tryReadTsConfig;
|
|
4287
|
+
|
|
4288
|
+
const findTypescriptFiles = folderPath => glob.sync("**/*.ts", {
|
|
4289
|
+
absolute: true,
|
|
4290
|
+
cwd: folderPath,
|
|
4291
|
+
ignore: "node_modules/**/*"
|
|
4292
|
+
});
|
|
4293
|
+
|
|
4294
|
+
exports.findTypescriptFiles = findTypescriptFiles;
|
|
4295
|
+
|
|
4296
|
+
const build = async (folderPath, options) => {
|
|
4297
|
+
const config = tryReadTsConfig(folderPath);
|
|
4203
4298
|
config.compilerOptions.lib = ["es5", "dom"];
|
|
4204
4299
|
const result = ts.convertCompilerOptionsFromJson(config.compilerOptions, folderPath);
|
|
4205
4300
|
|
|
@@ -4243,11 +4338,12 @@ ${data}`;
|
|
|
4243
4338
|
}
|
|
4244
4339
|
};
|
|
4245
4340
|
|
|
4246
|
-
const files =
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
}
|
|
4341
|
+
const files = findTypescriptFiles(folderPath);
|
|
4342
|
+
|
|
4343
|
+
if (files.length === 0) {
|
|
4344
|
+
throw new Error(`Expected typescript files to exist when building a package. Packages only constisting of animation jsons do not need to be built.`);
|
|
4345
|
+
}
|
|
4346
|
+
|
|
4251
4347
|
const programOptions = {
|
|
4252
4348
|
rootNames: files,
|
|
4253
4349
|
options: compilerOptions,
|
|
@@ -4312,9 +4408,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
4312
4408
|
|
|
4313
4409
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
4314
4410
|
|
|
4315
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
4411
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4316
4412
|
|
|
4317
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
4413
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4318
4414
|
|
|
4319
4415
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
4320
4416
|
|
|
@@ -4429,16 +4525,15 @@ exports.parsePackageDomains = parsePackageDomains;
|
|
|
4429
4525
|
\**********************************************************/
|
|
4430
4526
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4431
4527
|
|
|
4432
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4433
4528
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
4434
4529
|
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../../node_modules/core-js/internals/try-to-string.js");
|
|
4435
4530
|
|
|
4436
|
-
var TypeError =
|
|
4531
|
+
var $TypeError = TypeError;
|
|
4437
4532
|
|
|
4438
4533
|
// `Assert: IsCallable(argument) is true`
|
|
4439
4534
|
module.exports = function (argument) {
|
|
4440
4535
|
if (isCallable(argument)) return argument;
|
|
4441
|
-
throw TypeError(tryToString(argument) + ' is not a function');
|
|
4536
|
+
throw $TypeError(tryToString(argument) + ' is not a function');
|
|
4442
4537
|
};
|
|
4443
4538
|
|
|
4444
4539
|
|
|
@@ -4450,16 +4545,15 @@ module.exports = function (argument) {
|
|
|
4450
4545
|
\*************************************************************/
|
|
4451
4546
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4452
4547
|
|
|
4453
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4454
4548
|
var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ "../../node_modules/core-js/internals/is-constructor.js");
|
|
4455
4549
|
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../../node_modules/core-js/internals/try-to-string.js");
|
|
4456
4550
|
|
|
4457
|
-
var TypeError =
|
|
4551
|
+
var $TypeError = TypeError;
|
|
4458
4552
|
|
|
4459
4553
|
// `Assert: IsConstructor(argument) is true`
|
|
4460
4554
|
module.exports = function (argument) {
|
|
4461
4555
|
if (isConstructor(argument)) return argument;
|
|
4462
|
-
throw TypeError(tryToString(argument) + ' is not a constructor');
|
|
4556
|
+
throw $TypeError(tryToString(argument) + ' is not a constructor');
|
|
4463
4557
|
};
|
|
4464
4558
|
|
|
4465
4559
|
|
|
@@ -4471,15 +4565,14 @@ module.exports = function (argument) {
|
|
|
4471
4565
|
\********************************************************************/
|
|
4472
4566
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4473
4567
|
|
|
4474
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4475
4568
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
4476
4569
|
|
|
4477
|
-
var String =
|
|
4478
|
-
var TypeError =
|
|
4570
|
+
var $String = String;
|
|
4571
|
+
var $TypeError = TypeError;
|
|
4479
4572
|
|
|
4480
4573
|
module.exports = function (argument) {
|
|
4481
4574
|
if (typeof argument == 'object' || isCallable(argument)) return argument;
|
|
4482
|
-
throw TypeError("Can't set " + String(argument) + ' as a prototype');
|
|
4575
|
+
throw $TypeError("Can't set " + $String(argument) + ' as a prototype');
|
|
4483
4576
|
};
|
|
4484
4577
|
|
|
4485
4578
|
|
|
@@ -4491,14 +4584,13 @@ module.exports = function (argument) {
|
|
|
4491
4584
|
\***********************************************************/
|
|
4492
4585
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4493
4586
|
|
|
4494
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4495
4587
|
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../../node_modules/core-js/internals/object-is-prototype-of.js");
|
|
4496
4588
|
|
|
4497
|
-
var TypeError =
|
|
4589
|
+
var $TypeError = TypeError;
|
|
4498
4590
|
|
|
4499
4591
|
module.exports = function (it, Prototype) {
|
|
4500
4592
|
if (isPrototypeOf(Prototype, it)) return it;
|
|
4501
|
-
throw TypeError('Incorrect invocation');
|
|
4593
|
+
throw $TypeError('Incorrect invocation');
|
|
4502
4594
|
};
|
|
4503
4595
|
|
|
4504
4596
|
|
|
@@ -4510,16 +4602,15 @@ module.exports = function (it, Prototype) {
|
|
|
4510
4602
|
\*********************************************************/
|
|
4511
4603
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4512
4604
|
|
|
4513
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4514
4605
|
var isObject = __webpack_require__(/*! ../internals/is-object */ "../../node_modules/core-js/internals/is-object.js");
|
|
4515
4606
|
|
|
4516
|
-
var String =
|
|
4517
|
-
var TypeError =
|
|
4607
|
+
var $String = String;
|
|
4608
|
+
var $TypeError = TypeError;
|
|
4518
4609
|
|
|
4519
4610
|
// `Assert: Type(argument) is Object`
|
|
4520
4611
|
module.exports = function (argument) {
|
|
4521
4612
|
if (isObject(argument)) return argument;
|
|
4522
|
-
throw TypeError(String(argument) + ' is not an object');
|
|
4613
|
+
throw $TypeError($String(argument) + ' is not an object');
|
|
4523
4614
|
};
|
|
4524
4615
|
|
|
4525
4616
|
|
|
@@ -4604,7 +4695,7 @@ try {
|
|
|
4604
4695
|
iteratorWithReturn[ITERATOR] = function () {
|
|
4605
4696
|
return this;
|
|
4606
4697
|
};
|
|
4607
|
-
// eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
|
|
4698
|
+
// eslint-disable-next-line es-x/no-array-from, no-throw-literal -- required for testing
|
|
4608
4699
|
Array.from(iteratorWithReturn, function () { throw 2; });
|
|
4609
4700
|
} catch (error) { /* empty */ }
|
|
4610
4701
|
|
|
@@ -4652,14 +4743,13 @@ module.exports = function (it) {
|
|
|
4652
4743
|
\*******************************************************/
|
|
4653
4744
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4654
4745
|
|
|
4655
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4656
4746
|
var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ "../../node_modules/core-js/internals/to-string-tag-support.js");
|
|
4657
4747
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
4658
4748
|
var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "../../node_modules/core-js/internals/classof-raw.js");
|
|
4659
4749
|
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../../node_modules/core-js/internals/well-known-symbol.js");
|
|
4660
4750
|
|
|
4661
4751
|
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
4662
|
-
var Object =
|
|
4752
|
+
var $Object = Object;
|
|
4663
4753
|
|
|
4664
4754
|
// ES3 wrong here
|
|
4665
4755
|
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
@@ -4676,7 +4766,7 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
|
4676
4766
|
var O, tag, result;
|
|
4677
4767
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
4678
4768
|
// @@toStringTag case
|
|
4679
|
-
: typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
4769
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
4680
4770
|
// builtinTag case
|
|
4681
4771
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
4682
4772
|
// ES3 arguments fallback
|
|
@@ -4697,13 +4787,15 @@ var ownKeys = __webpack_require__(/*! ../internals/own-keys */ "../../node_modul
|
|
|
4697
4787
|
var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../../node_modules/core-js/internals/object-get-own-property-descriptor.js");
|
|
4698
4788
|
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../../node_modules/core-js/internals/object-define-property.js");
|
|
4699
4789
|
|
|
4700
|
-
module.exports = function (target, source) {
|
|
4790
|
+
module.exports = function (target, source, exceptions) {
|
|
4701
4791
|
var keys = ownKeys(source);
|
|
4702
4792
|
var defineProperty = definePropertyModule.f;
|
|
4703
4793
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
4704
4794
|
for (var i = 0; i < keys.length; i++) {
|
|
4705
4795
|
var key = keys[i];
|
|
4706
|
-
if (!hasOwn(target, key)
|
|
4796
|
+
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
|
|
4797
|
+
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
4798
|
+
}
|
|
4707
4799
|
}
|
|
4708
4800
|
};
|
|
4709
4801
|
|
|
@@ -4746,6 +4838,63 @@ module.exports = function (bitmap, value) {
|
|
|
4746
4838
|
};
|
|
4747
4839
|
|
|
4748
4840
|
|
|
4841
|
+
/***/ }),
|
|
4842
|
+
|
|
4843
|
+
/***/ "../../node_modules/core-js/internals/define-built-in.js":
|
|
4844
|
+
/*!***************************************************************!*\
|
|
4845
|
+
!*** ../../node_modules/core-js/internals/define-built-in.js ***!
|
|
4846
|
+
\***************************************************************/
|
|
4847
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4848
|
+
|
|
4849
|
+
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
4850
|
+
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../../node_modules/core-js/internals/object-define-property.js");
|
|
4851
|
+
var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ "../../node_modules/core-js/internals/make-built-in.js");
|
|
4852
|
+
var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../../node_modules/core-js/internals/define-global-property.js");
|
|
4853
|
+
|
|
4854
|
+
module.exports = function (O, key, value, options) {
|
|
4855
|
+
if (!options) options = {};
|
|
4856
|
+
var simple = options.enumerable;
|
|
4857
|
+
var name = options.name !== undefined ? options.name : key;
|
|
4858
|
+
if (isCallable(value)) makeBuiltIn(value, name, options);
|
|
4859
|
+
if (options.global) {
|
|
4860
|
+
if (simple) O[key] = value;
|
|
4861
|
+
else defineGlobalProperty(key, value);
|
|
4862
|
+
} else {
|
|
4863
|
+
if (!options.unsafe) delete O[key];
|
|
4864
|
+
else if (O[key]) simple = true;
|
|
4865
|
+
if (simple) O[key] = value;
|
|
4866
|
+
else definePropertyModule.f(O, key, {
|
|
4867
|
+
value: value,
|
|
4868
|
+
enumerable: false,
|
|
4869
|
+
configurable: !options.nonConfigurable,
|
|
4870
|
+
writable: !options.nonWritable
|
|
4871
|
+
});
|
|
4872
|
+
} return O;
|
|
4873
|
+
};
|
|
4874
|
+
|
|
4875
|
+
|
|
4876
|
+
/***/ }),
|
|
4877
|
+
|
|
4878
|
+
/***/ "../../node_modules/core-js/internals/define-global-property.js":
|
|
4879
|
+
/*!**********************************************************************!*\
|
|
4880
|
+
!*** ../../node_modules/core-js/internals/define-global-property.js ***!
|
|
4881
|
+
\**********************************************************************/
|
|
4882
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4883
|
+
|
|
4884
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4885
|
+
|
|
4886
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
4887
|
+
var defineProperty = Object.defineProperty;
|
|
4888
|
+
|
|
4889
|
+
module.exports = function (key, value) {
|
|
4890
|
+
try {
|
|
4891
|
+
defineProperty(global, key, { value: value, configurable: true, writable: true });
|
|
4892
|
+
} catch (error) {
|
|
4893
|
+
global[key] = value;
|
|
4894
|
+
} return value;
|
|
4895
|
+
};
|
|
4896
|
+
|
|
4897
|
+
|
|
4749
4898
|
/***/ }),
|
|
4750
4899
|
|
|
4751
4900
|
/***/ "../../node_modules/core-js/internals/descriptors.js":
|
|
@@ -4758,7 +4907,7 @@ var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/co
|
|
|
4758
4907
|
|
|
4759
4908
|
// Detect IE8's incomplete defineProperty implementation
|
|
4760
4909
|
module.exports = !fails(function () {
|
|
4761
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
4910
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
4762
4911
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
4763
4912
|
});
|
|
4764
4913
|
|
|
@@ -4791,7 +4940,7 @@ module.exports = function (it) {
|
|
|
4791
4940
|
\*****************************************************************/
|
|
4792
4941
|
/***/ ((module) => {
|
|
4793
4942
|
|
|
4794
|
-
module.exports = typeof window == 'object';
|
|
4943
|
+
module.exports = typeof window == 'object' && typeof Deno != 'object';
|
|
4795
4944
|
|
|
4796
4945
|
|
|
4797
4946
|
/***/ }),
|
|
@@ -4929,25 +5078,25 @@ module.exports = [
|
|
|
4929
5078
|
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4930
5079
|
var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../../node_modules/core-js/internals/object-get-own-property-descriptor.js").f);
|
|
4931
5080
|
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../../node_modules/core-js/internals/create-non-enumerable-property.js");
|
|
4932
|
-
var
|
|
4933
|
-
var
|
|
5081
|
+
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../../node_modules/core-js/internals/define-built-in.js");
|
|
5082
|
+
var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../../node_modules/core-js/internals/define-global-property.js");
|
|
4934
5083
|
var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "../../node_modules/core-js/internals/copy-constructor-properties.js");
|
|
4935
5084
|
var isForced = __webpack_require__(/*! ../internals/is-forced */ "../../node_modules/core-js/internals/is-forced.js");
|
|
4936
5085
|
|
|
4937
5086
|
/*
|
|
4938
|
-
options.target
|
|
4939
|
-
options.global
|
|
4940
|
-
options.stat
|
|
4941
|
-
options.proto
|
|
4942
|
-
options.real
|
|
4943
|
-
options.forced
|
|
4944
|
-
options.bind
|
|
4945
|
-
options.wrap
|
|
4946
|
-
options.unsafe
|
|
4947
|
-
options.sham
|
|
4948
|
-
options.enumerable
|
|
4949
|
-
options.
|
|
4950
|
-
options.name
|
|
5087
|
+
options.target - name of the target object
|
|
5088
|
+
options.global - target is the global object
|
|
5089
|
+
options.stat - export as static methods of target
|
|
5090
|
+
options.proto - export as prototype methods of target
|
|
5091
|
+
options.real - real prototype method for the `pure` version
|
|
5092
|
+
options.forced - export even if the native feature is available
|
|
5093
|
+
options.bind - bind methods to the target, required for the `pure` version
|
|
5094
|
+
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
5095
|
+
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
5096
|
+
options.sham - add a flag to not completely full polyfills
|
|
5097
|
+
options.enumerable - export as enumerable property
|
|
5098
|
+
options.dontCallGetSet - prevent calling a getter on target
|
|
5099
|
+
options.name - the .name of the function if it does not match the key
|
|
4951
5100
|
*/
|
|
4952
5101
|
module.exports = function (options, source) {
|
|
4953
5102
|
var TARGET = options.target;
|
|
@@ -4957,13 +5106,13 @@ module.exports = function (options, source) {
|
|
|
4957
5106
|
if (GLOBAL) {
|
|
4958
5107
|
target = global;
|
|
4959
5108
|
} else if (STATIC) {
|
|
4960
|
-
target = global[TARGET] ||
|
|
5109
|
+
target = global[TARGET] || defineGlobalProperty(TARGET, {});
|
|
4961
5110
|
} else {
|
|
4962
5111
|
target = (global[TARGET] || {}).prototype;
|
|
4963
5112
|
}
|
|
4964
5113
|
if (target) for (key in source) {
|
|
4965
5114
|
sourceProperty = source[key];
|
|
4966
|
-
if (options.
|
|
5115
|
+
if (options.dontCallGetSet) {
|
|
4967
5116
|
descriptor = getOwnPropertyDescriptor(target, key);
|
|
4968
5117
|
targetProperty = descriptor && descriptor.value;
|
|
4969
5118
|
} else targetProperty = target[key];
|
|
@@ -4977,8 +5126,7 @@ module.exports = function (options, source) {
|
|
|
4977
5126
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
4978
5127
|
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
|
4979
5128
|
}
|
|
4980
|
-
|
|
4981
|
-
redefine(target, key, sourceProperty, options);
|
|
5129
|
+
defineBuiltIn(target, key, sourceProperty, options);
|
|
4982
5130
|
}
|
|
4983
5131
|
};
|
|
4984
5132
|
|
|
@@ -5006,15 +5154,16 @@ module.exports = function (exec) {
|
|
|
5006
5154
|
/*!**************************************************************!*\
|
|
5007
5155
|
!*** ../../node_modules/core-js/internals/function-apply.js ***!
|
|
5008
5156
|
\**************************************************************/
|
|
5009
|
-
/***/ ((module) => {
|
|
5157
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5158
|
+
|
|
5159
|
+
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../../node_modules/core-js/internals/function-bind-native.js");
|
|
5010
5160
|
|
|
5011
5161
|
var FunctionPrototype = Function.prototype;
|
|
5012
5162
|
var apply = FunctionPrototype.apply;
|
|
5013
|
-
var bind = FunctionPrototype.bind;
|
|
5014
5163
|
var call = FunctionPrototype.call;
|
|
5015
5164
|
|
|
5016
|
-
// eslint-disable-next-line es/no-reflect -- safe
|
|
5017
|
-
module.exports = typeof Reflect == 'object' && Reflect.apply || (
|
|
5165
|
+
// eslint-disable-next-line es-x/no-reflect -- safe
|
|
5166
|
+
module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
|
|
5018
5167
|
return call.apply(apply, arguments);
|
|
5019
5168
|
});
|
|
5020
5169
|
|
|
@@ -5029,29 +5178,50 @@ module.exports = typeof Reflect == 'object' && Reflect.apply || (bind ? call.bin
|
|
|
5029
5178
|
|
|
5030
5179
|
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
5031
5180
|
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../../node_modules/core-js/internals/a-callable.js");
|
|
5181
|
+
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../../node_modules/core-js/internals/function-bind-native.js");
|
|
5032
5182
|
|
|
5033
5183
|
var bind = uncurryThis(uncurryThis.bind);
|
|
5034
5184
|
|
|
5035
5185
|
// optional / simple context binding
|
|
5036
5186
|
module.exports = function (fn, that) {
|
|
5037
5187
|
aCallable(fn);
|
|
5038
|
-
return that === undefined ? fn :
|
|
5188
|
+
return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {
|
|
5039
5189
|
return fn.apply(that, arguments);
|
|
5040
5190
|
};
|
|
5041
5191
|
};
|
|
5042
5192
|
|
|
5043
5193
|
|
|
5194
|
+
/***/ }),
|
|
5195
|
+
|
|
5196
|
+
/***/ "../../node_modules/core-js/internals/function-bind-native.js":
|
|
5197
|
+
/*!********************************************************************!*\
|
|
5198
|
+
!*** ../../node_modules/core-js/internals/function-bind-native.js ***!
|
|
5199
|
+
\********************************************************************/
|
|
5200
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5201
|
+
|
|
5202
|
+
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
5203
|
+
|
|
5204
|
+
module.exports = !fails(function () {
|
|
5205
|
+
// eslint-disable-next-line es-x/no-function-prototype-bind -- safe
|
|
5206
|
+
var test = (function () { /* empty */ }).bind();
|
|
5207
|
+
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
5208
|
+
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
5209
|
+
});
|
|
5210
|
+
|
|
5211
|
+
|
|
5044
5212
|
/***/ }),
|
|
5045
5213
|
|
|
5046
5214
|
/***/ "../../node_modules/core-js/internals/function-call.js":
|
|
5047
5215
|
/*!*************************************************************!*\
|
|
5048
5216
|
!*** ../../node_modules/core-js/internals/function-call.js ***!
|
|
5049
5217
|
\*************************************************************/
|
|
5050
|
-
/***/ ((module) => {
|
|
5218
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5219
|
+
|
|
5220
|
+
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../../node_modules/core-js/internals/function-bind-native.js");
|
|
5051
5221
|
|
|
5052
5222
|
var call = Function.prototype.call;
|
|
5053
5223
|
|
|
5054
|
-
module.exports =
|
|
5224
|
+
module.exports = NATIVE_BIND ? call.bind(call) : function () {
|
|
5055
5225
|
return call.apply(call, arguments);
|
|
5056
5226
|
};
|
|
5057
5227
|
|
|
@@ -5068,7 +5238,7 @@ var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../nod
|
|
|
5068
5238
|
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
5069
5239
|
|
|
5070
5240
|
var FunctionPrototype = Function.prototype;
|
|
5071
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
5241
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
5072
5242
|
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
|
|
5073
5243
|
|
|
5074
5244
|
var EXISTS = hasOwn(FunctionPrototype, 'name');
|
|
@@ -5089,15 +5259,17 @@ module.exports = {
|
|
|
5089
5259
|
/*!*********************************************************************!*\
|
|
5090
5260
|
!*** ../../node_modules/core-js/internals/function-uncurry-this.js ***!
|
|
5091
5261
|
\*********************************************************************/
|
|
5092
|
-
/***/ ((module) => {
|
|
5262
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5263
|
+
|
|
5264
|
+
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../../node_modules/core-js/internals/function-bind-native.js");
|
|
5093
5265
|
|
|
5094
5266
|
var FunctionPrototype = Function.prototype;
|
|
5095
5267
|
var bind = FunctionPrototype.bind;
|
|
5096
5268
|
var call = FunctionPrototype.call;
|
|
5097
|
-
var
|
|
5269
|
+
var uncurryThis = NATIVE_BIND && bind.bind(call, call);
|
|
5098
5270
|
|
|
5099
|
-
module.exports =
|
|
5100
|
-
return fn &&
|
|
5271
|
+
module.exports = NATIVE_BIND ? function (fn) {
|
|
5272
|
+
return fn && uncurryThis(fn);
|
|
5101
5273
|
} : function (fn) {
|
|
5102
5274
|
return fn && function () {
|
|
5103
5275
|
return call.apply(fn, arguments);
|
|
@@ -5155,19 +5327,18 @@ module.exports = function (it) {
|
|
|
5155
5327
|
\************************************************************/
|
|
5156
5328
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5157
5329
|
|
|
5158
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5159
5330
|
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
5160
5331
|
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../../node_modules/core-js/internals/a-callable.js");
|
|
5161
5332
|
var anObject = __webpack_require__(/*! ../internals/an-object */ "../../node_modules/core-js/internals/an-object.js");
|
|
5162
5333
|
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../../node_modules/core-js/internals/try-to-string.js");
|
|
5163
5334
|
var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "../../node_modules/core-js/internals/get-iterator-method.js");
|
|
5164
5335
|
|
|
5165
|
-
var TypeError =
|
|
5336
|
+
var $TypeError = TypeError;
|
|
5166
5337
|
|
|
5167
5338
|
module.exports = function (argument, usingIterator) {
|
|
5168
5339
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
|
|
5169
5340
|
if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
|
|
5170
|
-
throw TypeError(tryToString(argument) + ' is not iterable');
|
|
5341
|
+
throw $TypeError(tryToString(argument) + ' is not iterable');
|
|
5171
5342
|
};
|
|
5172
5343
|
|
|
5173
5344
|
|
|
@@ -5203,7 +5374,7 @@ var check = function (it) {
|
|
|
5203
5374
|
|
|
5204
5375
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
5205
5376
|
module.exports =
|
|
5206
|
-
// eslint-disable-next-line es/no-global-this -- safe
|
|
5377
|
+
// eslint-disable-next-line es-x/no-global-this -- safe
|
|
5207
5378
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
5208
5379
|
check(typeof window == 'object' && window) ||
|
|
5209
5380
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
@@ -5228,6 +5399,7 @@ var hasOwnProperty = uncurryThis({}.hasOwnProperty);
|
|
|
5228
5399
|
|
|
5229
5400
|
// `HasOwnProperty` abstract operation
|
|
5230
5401
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
5402
|
+
// eslint-disable-next-line es-x/no-object-hasown -- safe
|
|
5231
5403
|
module.exports = Object.hasOwn || function hasOwn(it, key) {
|
|
5232
5404
|
return hasOwnProperty(toObject(it), key);
|
|
5233
5405
|
};
|
|
@@ -5287,9 +5459,9 @@ var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../nod
|
|
|
5287
5459
|
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
5288
5460
|
var createElement = __webpack_require__(/*! ../internals/document-create-element */ "../../node_modules/core-js/internals/document-create-element.js");
|
|
5289
5461
|
|
|
5290
|
-
//
|
|
5462
|
+
// Thanks to IE8 for its funny defineProperty
|
|
5291
5463
|
module.exports = !DESCRIPTORS && !fails(function () {
|
|
5292
|
-
// eslint-disable-next-line es/no-object-defineproperty --
|
|
5464
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
5293
5465
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
5294
5466
|
get: function () { return 7; }
|
|
5295
5467
|
}).a != 7;
|
|
@@ -5304,22 +5476,21 @@ module.exports = !DESCRIPTORS && !fails(function () {
|
|
|
5304
5476
|
\**************************************************************/
|
|
5305
5477
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5306
5478
|
|
|
5307
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5308
5479
|
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
5309
5480
|
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
5310
5481
|
var classof = __webpack_require__(/*! ../internals/classof-raw */ "../../node_modules/core-js/internals/classof-raw.js");
|
|
5311
5482
|
|
|
5312
|
-
var Object =
|
|
5483
|
+
var $Object = Object;
|
|
5313
5484
|
var split = uncurryThis(''.split);
|
|
5314
5485
|
|
|
5315
5486
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
5316
5487
|
module.exports = fails(function () {
|
|
5317
5488
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
5318
5489
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
5319
|
-
return
|
|
5490
|
+
return !$Object('z').propertyIsEnumerable(0);
|
|
5320
5491
|
}) ? function (it) {
|
|
5321
|
-
return classof(it) == 'String' ? split(it, '') : Object(it);
|
|
5322
|
-
} : Object;
|
|
5492
|
+
return classof(it) == 'String' ? split(it, '') : $Object(it);
|
|
5493
|
+
} : $Object;
|
|
5323
5494
|
|
|
5324
5495
|
|
|
5325
5496
|
/***/ }),
|
|
@@ -5482,7 +5653,7 @@ var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
|
5482
5653
|
var exec = uncurryThis(constructorRegExp.exec);
|
|
5483
5654
|
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
5484
5655
|
|
|
5485
|
-
var isConstructorModern = function (argument) {
|
|
5656
|
+
var isConstructorModern = function isConstructor(argument) {
|
|
5486
5657
|
if (!isCallable(argument)) return false;
|
|
5487
5658
|
try {
|
|
5488
5659
|
construct(noop, empty, argument);
|
|
@@ -5492,16 +5663,25 @@ var isConstructorModern = function (argument) {
|
|
|
5492
5663
|
}
|
|
5493
5664
|
};
|
|
5494
5665
|
|
|
5495
|
-
var isConstructorLegacy = function (argument) {
|
|
5666
|
+
var isConstructorLegacy = function isConstructor(argument) {
|
|
5496
5667
|
if (!isCallable(argument)) return false;
|
|
5497
5668
|
switch (classof(argument)) {
|
|
5498
5669
|
case 'AsyncFunction':
|
|
5499
5670
|
case 'GeneratorFunction':
|
|
5500
5671
|
case 'AsyncGeneratorFunction': return false;
|
|
5672
|
+
}
|
|
5673
|
+
try {
|
|
5501
5674
|
// we can't check .prototype since constructors produced by .bind haven't it
|
|
5502
|
-
|
|
5675
|
+
// `Function#toString` throws on some built-it function in some legacy engines
|
|
5676
|
+
// (for example, `DOMQuad` and similar in FF41-)
|
|
5677
|
+
return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
|
|
5678
|
+
} catch (error) {
|
|
5679
|
+
return true;
|
|
5680
|
+
}
|
|
5503
5681
|
};
|
|
5504
5682
|
|
|
5683
|
+
isConstructorLegacy.sham = true;
|
|
5684
|
+
|
|
5505
5685
|
// `IsConstructor` abstract operation
|
|
5506
5686
|
// https://tc39.es/ecma262/#sec-isconstructor
|
|
5507
5687
|
module.exports = !construct || fails(function () {
|
|
@@ -5579,19 +5759,18 @@ module.exports = false;
|
|
|
5579
5759
|
\*********************************************************/
|
|
5580
5760
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5581
5761
|
|
|
5582
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5583
5762
|
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../../node_modules/core-js/internals/get-built-in.js");
|
|
5584
5763
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
5585
5764
|
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../../node_modules/core-js/internals/object-is-prototype-of.js");
|
|
5586
5765
|
var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../../node_modules/core-js/internals/use-symbol-as-uid.js");
|
|
5587
5766
|
|
|
5588
|
-
var Object =
|
|
5767
|
+
var $Object = Object;
|
|
5589
5768
|
|
|
5590
5769
|
module.exports = USE_SYMBOL_AS_UID ? function (it) {
|
|
5591
5770
|
return typeof it == 'symbol';
|
|
5592
5771
|
} : function (it) {
|
|
5593
5772
|
var $Symbol = getBuiltIn('Symbol');
|
|
5594
|
-
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, Object(it));
|
|
5773
|
+
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
|
|
5595
5774
|
};
|
|
5596
5775
|
|
|
5597
5776
|
|
|
@@ -5603,7 +5782,6 @@ module.exports = USE_SYMBOL_AS_UID ? function (it) {
|
|
|
5603
5782
|
\*******************************************************/
|
|
5604
5783
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5605
5784
|
|
|
5606
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5607
5785
|
var bind = __webpack_require__(/*! ../internals/function-bind-context */ "../../node_modules/core-js/internals/function-bind-context.js");
|
|
5608
5786
|
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
5609
5787
|
var anObject = __webpack_require__(/*! ../internals/an-object */ "../../node_modules/core-js/internals/an-object.js");
|
|
@@ -5615,7 +5793,7 @@ var getIterator = __webpack_require__(/*! ../internals/get-iterator */ "../../no
|
|
|
5615
5793
|
var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "../../node_modules/core-js/internals/get-iterator-method.js");
|
|
5616
5794
|
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../../node_modules/core-js/internals/iterator-close.js");
|
|
5617
5795
|
|
|
5618
|
-
var TypeError =
|
|
5796
|
+
var $TypeError = TypeError;
|
|
5619
5797
|
|
|
5620
5798
|
var Result = function (stopped, result) {
|
|
5621
5799
|
this.stopped = stopped;
|
|
@@ -5648,7 +5826,7 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
5648
5826
|
iterator = iterable;
|
|
5649
5827
|
} else {
|
|
5650
5828
|
iterFn = getIteratorMethod(iterable);
|
|
5651
|
-
if (!iterFn) throw TypeError(tryToString(iterable) + ' is not iterable');
|
|
5829
|
+
if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');
|
|
5652
5830
|
// optimisation for array iterators
|
|
5653
5831
|
if (isArrayIteratorMethod(iterFn)) {
|
|
5654
5832
|
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
@@ -5734,39 +5912,117 @@ module.exports = function (obj) {
|
|
|
5734
5912
|
|
|
5735
5913
|
/***/ }),
|
|
5736
5914
|
|
|
5737
|
-
/***/ "../../node_modules/core-js/internals/
|
|
5738
|
-
|
|
5739
|
-
!*** ../../node_modules/core-js/internals/
|
|
5740
|
-
|
|
5915
|
+
/***/ "../../node_modules/core-js/internals/make-built-in.js":
|
|
5916
|
+
/*!*************************************************************!*\
|
|
5917
|
+
!*** ../../node_modules/core-js/internals/make-built-in.js ***!
|
|
5918
|
+
\*************************************************************/
|
|
5741
5919
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5742
5920
|
|
|
5743
|
-
var
|
|
5744
|
-
var
|
|
5745
|
-
var
|
|
5746
|
-
var
|
|
5747
|
-
var
|
|
5748
|
-
var
|
|
5749
|
-
var
|
|
5750
|
-
var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "../../node_modules/core-js/internals/engine-is-node.js");
|
|
5921
|
+
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
5922
|
+
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
5923
|
+
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
5924
|
+
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../node_modules/core-js/internals/descriptors.js");
|
|
5925
|
+
var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ "../../node_modules/core-js/internals/function-name.js").CONFIGURABLE);
|
|
5926
|
+
var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../../node_modules/core-js/internals/inspect-source.js");
|
|
5927
|
+
var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "../../node_modules/core-js/internals/internal-state.js");
|
|
5751
5928
|
|
|
5752
|
-
var
|
|
5753
|
-
var
|
|
5754
|
-
|
|
5755
|
-
var
|
|
5756
|
-
// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
|
|
5757
|
-
var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');
|
|
5758
|
-
var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
|
|
5929
|
+
var enforceInternalState = InternalStateModule.enforce;
|
|
5930
|
+
var getInternalState = InternalStateModule.get;
|
|
5931
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
5932
|
+
var defineProperty = Object.defineProperty;
|
|
5759
5933
|
|
|
5760
|
-
var
|
|
5934
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
|
|
5935
|
+
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
5936
|
+
});
|
|
5761
5937
|
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
|
|
5938
|
+
var TEMPLATE = String(String).split('String');
|
|
5939
|
+
|
|
5940
|
+
var makeBuiltIn = module.exports = function (value, name, options) {
|
|
5941
|
+
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
5942
|
+
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
5943
|
+
}
|
|
5944
|
+
if (options && options.getter) name = 'get ' + name;
|
|
5945
|
+
if (options && options.setter) name = 'set ' + name;
|
|
5946
|
+
if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
5947
|
+
defineProperty(value, 'name', { value: name, configurable: true });
|
|
5948
|
+
}
|
|
5949
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {
|
|
5950
|
+
defineProperty(value, 'length', { value: options.arity });
|
|
5951
|
+
}
|
|
5952
|
+
try {
|
|
5953
|
+
if (options && hasOwn(options, 'constructor') && options.constructor) {
|
|
5954
|
+
if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
|
|
5955
|
+
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
5956
|
+
} else if (value.prototype) value.prototype = undefined;
|
|
5957
|
+
} catch (error) { /* empty */ }
|
|
5958
|
+
var state = enforceInternalState(value);
|
|
5959
|
+
if (!hasOwn(state, 'source')) {
|
|
5960
|
+
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
5961
|
+
} return value;
|
|
5962
|
+
};
|
|
5963
|
+
|
|
5964
|
+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
5965
|
+
// eslint-disable-next-line no-extend-native -- required
|
|
5966
|
+
Function.prototype.toString = makeBuiltIn(function toString() {
|
|
5967
|
+
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
|
5968
|
+
}, 'toString');
|
|
5969
|
+
|
|
5970
|
+
|
|
5971
|
+
/***/ }),
|
|
5972
|
+
|
|
5973
|
+
/***/ "../../node_modules/core-js/internals/math-trunc.js":
|
|
5974
|
+
/*!**********************************************************!*\
|
|
5975
|
+
!*** ../../node_modules/core-js/internals/math-trunc.js ***!
|
|
5976
|
+
\**********************************************************/
|
|
5977
|
+
/***/ ((module) => {
|
|
5978
|
+
|
|
5979
|
+
var ceil = Math.ceil;
|
|
5980
|
+
var floor = Math.floor;
|
|
5981
|
+
|
|
5982
|
+
// `Math.trunc` method
|
|
5983
|
+
// https://tc39.es/ecma262/#sec-math.trunc
|
|
5984
|
+
// eslint-disable-next-line es-x/no-math-trunc -- safe
|
|
5985
|
+
module.exports = Math.trunc || function trunc(x) {
|
|
5986
|
+
var n = +x;
|
|
5987
|
+
return (n > 0 ? floor : ceil)(n);
|
|
5988
|
+
};
|
|
5989
|
+
|
|
5990
|
+
|
|
5991
|
+
/***/ }),
|
|
5992
|
+
|
|
5993
|
+
/***/ "../../node_modules/core-js/internals/microtask.js":
|
|
5994
|
+
/*!*********************************************************!*\
|
|
5995
|
+
!*** ../../node_modules/core-js/internals/microtask.js ***!
|
|
5996
|
+
\*********************************************************/
|
|
5997
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5998
|
+
|
|
5999
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6000
|
+
var bind = __webpack_require__(/*! ../internals/function-bind-context */ "../../node_modules/core-js/internals/function-bind-context.js");
|
|
6001
|
+
var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../../node_modules/core-js/internals/object-get-own-property-descriptor.js").f);
|
|
6002
|
+
var macrotask = (__webpack_require__(/*! ../internals/task */ "../../node_modules/core-js/internals/task.js").set);
|
|
6003
|
+
var IS_IOS = __webpack_require__(/*! ../internals/engine-is-ios */ "../../node_modules/core-js/internals/engine-is-ios.js");
|
|
6004
|
+
var IS_IOS_PEBBLE = __webpack_require__(/*! ../internals/engine-is-ios-pebble */ "../../node_modules/core-js/internals/engine-is-ios-pebble.js");
|
|
6005
|
+
var IS_WEBOS_WEBKIT = __webpack_require__(/*! ../internals/engine-is-webos-webkit */ "../../node_modules/core-js/internals/engine-is-webos-webkit.js");
|
|
6006
|
+
var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "../../node_modules/core-js/internals/engine-is-node.js");
|
|
6007
|
+
|
|
6008
|
+
var MutationObserver = global.MutationObserver || global.WebKitMutationObserver;
|
|
6009
|
+
var document = global.document;
|
|
6010
|
+
var process = global.process;
|
|
6011
|
+
var Promise = global.Promise;
|
|
6012
|
+
// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
|
|
6013
|
+
var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');
|
|
6014
|
+
var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
|
|
6015
|
+
|
|
6016
|
+
var flush, head, last, notify, toggle, node, promise, then;
|
|
6017
|
+
|
|
6018
|
+
// modern engines have queueMicrotask method
|
|
6019
|
+
if (!queueMicrotask) {
|
|
6020
|
+
flush = function () {
|
|
6021
|
+
var parent, fn;
|
|
6022
|
+
if (IS_NODE && (parent = process.domain)) parent.exit();
|
|
6023
|
+
while (head) {
|
|
6024
|
+
fn = head.fn;
|
|
6025
|
+
head = head.next;
|
|
5770
6026
|
try {
|
|
5771
6027
|
fn();
|
|
5772
6028
|
} catch (error) {
|
|
@@ -5805,7 +6061,7 @@ if (!queueMicrotask) {
|
|
|
5805
6061
|
// for other environments - macrotask based on:
|
|
5806
6062
|
// - setImmediate
|
|
5807
6063
|
// - MessageChannel
|
|
5808
|
-
// - window.
|
|
6064
|
+
// - window.postMessage
|
|
5809
6065
|
// - onreadystatechange
|
|
5810
6066
|
// - setTimeout
|
|
5811
6067
|
} else {
|
|
@@ -5827,19 +6083,6 @@ module.exports = queueMicrotask || function (fn) {
|
|
|
5827
6083
|
};
|
|
5828
6084
|
|
|
5829
6085
|
|
|
5830
|
-
/***/ }),
|
|
5831
|
-
|
|
5832
|
-
/***/ "../../node_modules/core-js/internals/native-promise-constructor.js":
|
|
5833
|
-
/*!**************************************************************************!*\
|
|
5834
|
-
!*** ../../node_modules/core-js/internals/native-promise-constructor.js ***!
|
|
5835
|
-
\**************************************************************************/
|
|
5836
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5837
|
-
|
|
5838
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5839
|
-
|
|
5840
|
-
module.exports = global.Promise;
|
|
5841
|
-
|
|
5842
|
-
|
|
5843
6086
|
/***/ }),
|
|
5844
6087
|
|
|
5845
6088
|
/***/ "../../node_modules/core-js/internals/native-symbol.js":
|
|
@@ -5848,11 +6091,11 @@ module.exports = global.Promise;
|
|
|
5848
6091
|
\*************************************************************/
|
|
5849
6092
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5850
6093
|
|
|
5851
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
6094
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
5852
6095
|
var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "../../node_modules/core-js/internals/engine-v8-version.js");
|
|
5853
6096
|
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
5854
6097
|
|
|
5855
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
6098
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
|
|
5856
6099
|
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
5857
6100
|
var symbol = Symbol();
|
|
5858
6101
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
@@ -5918,26 +6161,46 @@ module.exports.f = function (C) {
|
|
|
5918
6161
|
\**********************************************************************/
|
|
5919
6162
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5920
6163
|
|
|
5921
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5922
6164
|
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../node_modules/core-js/internals/descriptors.js");
|
|
5923
6165
|
var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../../node_modules/core-js/internals/ie8-dom-define.js");
|
|
6166
|
+
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "../../node_modules/core-js/internals/v8-prototype-define-bug.js");
|
|
5924
6167
|
var anObject = __webpack_require__(/*! ../internals/an-object */ "../../node_modules/core-js/internals/an-object.js");
|
|
5925
6168
|
var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../../node_modules/core-js/internals/to-property-key.js");
|
|
5926
6169
|
|
|
5927
|
-
var TypeError =
|
|
5928
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
6170
|
+
var $TypeError = TypeError;
|
|
6171
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
5929
6172
|
var $defineProperty = Object.defineProperty;
|
|
6173
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
6174
|
+
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
6175
|
+
var ENUMERABLE = 'enumerable';
|
|
6176
|
+
var CONFIGURABLE = 'configurable';
|
|
6177
|
+
var WRITABLE = 'writable';
|
|
5930
6178
|
|
|
5931
6179
|
// `Object.defineProperty` method
|
|
5932
6180
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
5933
|
-
exports.f = DESCRIPTORS ?
|
|
6181
|
+
exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
|
6182
|
+
anObject(O);
|
|
6183
|
+
P = toPropertyKey(P);
|
|
6184
|
+
anObject(Attributes);
|
|
6185
|
+
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
6186
|
+
var current = $getOwnPropertyDescriptor(O, P);
|
|
6187
|
+
if (current && current[WRITABLE]) {
|
|
6188
|
+
O[P] = Attributes.value;
|
|
6189
|
+
Attributes = {
|
|
6190
|
+
configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
|
|
6191
|
+
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
|
6192
|
+
writable: false
|
|
6193
|
+
};
|
|
6194
|
+
}
|
|
6195
|
+
} return $defineProperty(O, P, Attributes);
|
|
6196
|
+
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
5934
6197
|
anObject(O);
|
|
5935
6198
|
P = toPropertyKey(P);
|
|
5936
6199
|
anObject(Attributes);
|
|
5937
6200
|
if (IE8_DOM_DEFINE) try {
|
|
5938
6201
|
return $defineProperty(O, P, Attributes);
|
|
5939
6202
|
} catch (error) { /* empty */ }
|
|
5940
|
-
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
|
|
6203
|
+
if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');
|
|
5941
6204
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
5942
6205
|
return O;
|
|
5943
6206
|
};
|
|
@@ -5960,7 +6223,7 @@ var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../
|
|
|
5960
6223
|
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
5961
6224
|
var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../../node_modules/core-js/internals/ie8-dom-define.js");
|
|
5962
6225
|
|
|
5963
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
6226
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
5964
6227
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
5965
6228
|
|
|
5966
6229
|
// `Object.getOwnPropertyDescriptor` method
|
|
@@ -5990,7 +6253,7 @@ var hiddenKeys = enumBugKeys.concat('length', 'prototype');
|
|
|
5990
6253
|
|
|
5991
6254
|
// `Object.getOwnPropertyNames` method
|
|
5992
6255
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
5993
|
-
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
6256
|
+
// eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
|
|
5994
6257
|
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
5995
6258
|
return internalObjectKeys(O, hiddenKeys);
|
|
5996
6259
|
};
|
|
@@ -6004,7 +6267,7 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
|
6004
6267
|
\*******************************************************************************/
|
|
6005
6268
|
/***/ ((__unused_webpack_module, exports) => {
|
|
6006
6269
|
|
|
6007
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
6270
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
|
|
6008
6271
|
exports.f = Object.getOwnPropertySymbols;
|
|
6009
6272
|
|
|
6010
6273
|
|
|
@@ -6062,7 +6325,7 @@ module.exports = function (object, names) {
|
|
|
6062
6325
|
"use strict";
|
|
6063
6326
|
|
|
6064
6327
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
6065
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
6328
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
6066
6329
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
6067
6330
|
|
|
6068
6331
|
// Nashorn ~ JDK8 bug
|
|
@@ -6092,13 +6355,13 @@ var aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototy
|
|
|
6092
6355
|
// `Object.setPrototypeOf` method
|
|
6093
6356
|
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
6094
6357
|
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
6095
|
-
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
6358
|
+
// eslint-disable-next-line es-x/no-object-setprototypeof -- safe
|
|
6096
6359
|
module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
6097
6360
|
var CORRECT_SETTER = false;
|
|
6098
6361
|
var test = {};
|
|
6099
6362
|
var setter;
|
|
6100
6363
|
try {
|
|
6101
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
6364
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
6102
6365
|
setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
6103
6366
|
setter(test, []);
|
|
6104
6367
|
CORRECT_SETTER = test instanceof Array;
|
|
@@ -6121,12 +6384,11 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
|
6121
6384
|
\*********************************************************************/
|
|
6122
6385
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6123
6386
|
|
|
6124
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6125
6387
|
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
6126
6388
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
6127
6389
|
var isObject = __webpack_require__(/*! ../internals/is-object */ "../../node_modules/core-js/internals/is-object.js");
|
|
6128
6390
|
|
|
6129
|
-
var TypeError =
|
|
6391
|
+
var $TypeError = TypeError;
|
|
6130
6392
|
|
|
6131
6393
|
// `OrdinaryToPrimitive` abstract operation
|
|
6132
6394
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
@@ -6135,7 +6397,7 @@ module.exports = function (input, pref) {
|
|
|
6135
6397
|
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
|
6136
6398
|
if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
|
|
6137
6399
|
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
|
6138
|
-
throw TypeError("Can't convert object to primitive value");
|
|
6400
|
+
throw $TypeError("Can't convert object to primitive value");
|
|
6139
6401
|
};
|
|
6140
6402
|
|
|
6141
6403
|
|
|
@@ -6180,6 +6442,75 @@ module.exports = function (exec) {
|
|
|
6180
6442
|
};
|
|
6181
6443
|
|
|
6182
6444
|
|
|
6445
|
+
/***/ }),
|
|
6446
|
+
|
|
6447
|
+
/***/ "../../node_modules/core-js/internals/promise-constructor-detection.js":
|
|
6448
|
+
/*!*****************************************************************************!*\
|
|
6449
|
+
!*** ../../node_modules/core-js/internals/promise-constructor-detection.js ***!
|
|
6450
|
+
\*****************************************************************************/
|
|
6451
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6452
|
+
|
|
6453
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6454
|
+
var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "../../node_modules/core-js/internals/promise-native-constructor.js");
|
|
6455
|
+
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
6456
|
+
var isForced = __webpack_require__(/*! ../internals/is-forced */ "../../node_modules/core-js/internals/is-forced.js");
|
|
6457
|
+
var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../../node_modules/core-js/internals/inspect-source.js");
|
|
6458
|
+
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../../node_modules/core-js/internals/well-known-symbol.js");
|
|
6459
|
+
var IS_BROWSER = __webpack_require__(/*! ../internals/engine-is-browser */ "../../node_modules/core-js/internals/engine-is-browser.js");
|
|
6460
|
+
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../../node_modules/core-js/internals/is-pure.js");
|
|
6461
|
+
var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "../../node_modules/core-js/internals/engine-v8-version.js");
|
|
6462
|
+
|
|
6463
|
+
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
|
|
6464
|
+
var SPECIES = wellKnownSymbol('species');
|
|
6465
|
+
var SUBCLASSING = false;
|
|
6466
|
+
var NATIVE_PROMISE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent);
|
|
6467
|
+
|
|
6468
|
+
var FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () {
|
|
6469
|
+
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor);
|
|
6470
|
+
var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor);
|
|
6471
|
+
// V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
|
|
6472
|
+
// https://bugs.chromium.org/p/chromium/issues/detail?id=830565
|
|
6473
|
+
// We can't detect it synchronously, so just check versions
|
|
6474
|
+
if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;
|
|
6475
|
+
// We need Promise#{ catch, finally } in the pure version for preventing prototype pollution
|
|
6476
|
+
if (IS_PURE && !(NativePromisePrototype['catch'] && NativePromisePrototype['finally'])) return true;
|
|
6477
|
+
// We can't use @@species feature detection in V8 since it causes
|
|
6478
|
+
// deoptimization and performance degradation
|
|
6479
|
+
// https://github.com/zloirock/core-js/issues/679
|
|
6480
|
+
if (V8_VERSION >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false;
|
|
6481
|
+
// Detect correctness of subclassing with @@species support
|
|
6482
|
+
var promise = new NativePromiseConstructor(function (resolve) { resolve(1); });
|
|
6483
|
+
var FakePromise = function (exec) {
|
|
6484
|
+
exec(function () { /* empty */ }, function () { /* empty */ });
|
|
6485
|
+
};
|
|
6486
|
+
var constructor = promise.constructor = {};
|
|
6487
|
+
constructor[SPECIES] = FakePromise;
|
|
6488
|
+
SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
|
|
6489
|
+
if (!SUBCLASSING) return true;
|
|
6490
|
+
// Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
|
|
6491
|
+
return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_PROMISE_REJECTION_EVENT;
|
|
6492
|
+
});
|
|
6493
|
+
|
|
6494
|
+
module.exports = {
|
|
6495
|
+
CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR,
|
|
6496
|
+
REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT,
|
|
6497
|
+
SUBCLASSING: SUBCLASSING
|
|
6498
|
+
};
|
|
6499
|
+
|
|
6500
|
+
|
|
6501
|
+
/***/ }),
|
|
6502
|
+
|
|
6503
|
+
/***/ "../../node_modules/core-js/internals/promise-native-constructor.js":
|
|
6504
|
+
/*!**************************************************************************!*\
|
|
6505
|
+
!*** ../../node_modules/core-js/internals/promise-native-constructor.js ***!
|
|
6506
|
+
\**************************************************************************/
|
|
6507
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6508
|
+
|
|
6509
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6510
|
+
|
|
6511
|
+
module.exports = global.Promise;
|
|
6512
|
+
|
|
6513
|
+
|
|
6183
6514
|
/***/ }),
|
|
6184
6515
|
|
|
6185
6516
|
/***/ "../../node_modules/core-js/internals/promise-resolve.js":
|
|
@@ -6204,74 +6535,52 @@ module.exports = function (C, x) {
|
|
|
6204
6535
|
|
|
6205
6536
|
/***/ }),
|
|
6206
6537
|
|
|
6207
|
-
/***/ "../../node_modules/core-js/internals/
|
|
6208
|
-
|
|
6209
|
-
!*** ../../node_modules/core-js/internals/
|
|
6210
|
-
|
|
6538
|
+
/***/ "../../node_modules/core-js/internals/promise-statics-incorrect-iteration.js":
|
|
6539
|
+
/*!***********************************************************************************!*\
|
|
6540
|
+
!*** ../../node_modules/core-js/internals/promise-statics-incorrect-iteration.js ***!
|
|
6541
|
+
\***********************************************************************************/
|
|
6211
6542
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6212
6543
|
|
|
6213
|
-
var
|
|
6544
|
+
var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "../../node_modules/core-js/internals/promise-native-constructor.js");
|
|
6545
|
+
var checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ "../../node_modules/core-js/internals/check-correctness-of-iteration.js");
|
|
6546
|
+
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "../../node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR);
|
|
6214
6547
|
|
|
6215
|
-
module.exports = function (
|
|
6216
|
-
|
|
6217
|
-
|
|
6218
|
-
};
|
|
6548
|
+
module.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) {
|
|
6549
|
+
NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ });
|
|
6550
|
+
});
|
|
6219
6551
|
|
|
6220
6552
|
|
|
6221
6553
|
/***/ }),
|
|
6222
6554
|
|
|
6223
|
-
/***/ "../../node_modules/core-js/internals/
|
|
6224
|
-
|
|
6225
|
-
!*** ../../node_modules/core-js/internals/
|
|
6226
|
-
|
|
6227
|
-
/***/ ((module
|
|
6228
|
-
|
|
6229
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6230
|
-
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
6231
|
-
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
6232
|
-
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../../node_modules/core-js/internals/create-non-enumerable-property.js");
|
|
6233
|
-
var setGlobal = __webpack_require__(/*! ../internals/set-global */ "../../node_modules/core-js/internals/set-global.js");
|
|
6234
|
-
var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../../node_modules/core-js/internals/inspect-source.js");
|
|
6235
|
-
var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "../../node_modules/core-js/internals/internal-state.js");
|
|
6236
|
-
var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ "../../node_modules/core-js/internals/function-name.js").CONFIGURABLE);
|
|
6555
|
+
/***/ "../../node_modules/core-js/internals/queue.js":
|
|
6556
|
+
/*!*****************************************************!*\
|
|
6557
|
+
!*** ../../node_modules/core-js/internals/queue.js ***!
|
|
6558
|
+
\*****************************************************/
|
|
6559
|
+
/***/ ((module) => {
|
|
6237
6560
|
|
|
6238
|
-
var
|
|
6239
|
-
|
|
6240
|
-
|
|
6561
|
+
var Queue = function () {
|
|
6562
|
+
this.head = null;
|
|
6563
|
+
this.tail = null;
|
|
6564
|
+
};
|
|
6241
6565
|
|
|
6242
|
-
|
|
6243
|
-
|
|
6244
|
-
|
|
6245
|
-
|
|
6246
|
-
|
|
6247
|
-
|
|
6248
|
-
|
|
6249
|
-
|
|
6250
|
-
|
|
6251
|
-
|
|
6252
|
-
|
|
6253
|
-
|
|
6254
|
-
|
|
6255
|
-
state = enforceInternalState(value);
|
|
6256
|
-
if (!state.source) {
|
|
6257
|
-
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
6566
|
+
Queue.prototype = {
|
|
6567
|
+
add: function (item) {
|
|
6568
|
+
var entry = { item: item, next: null };
|
|
6569
|
+
if (this.head) this.tail.next = entry;
|
|
6570
|
+
else this.head = entry;
|
|
6571
|
+
this.tail = entry;
|
|
6572
|
+
},
|
|
6573
|
+
get: function () {
|
|
6574
|
+
var entry = this.head;
|
|
6575
|
+
if (entry) {
|
|
6576
|
+
this.head = entry.next;
|
|
6577
|
+
if (this.tail === entry) this.tail = null;
|
|
6578
|
+
return entry.item;
|
|
6258
6579
|
}
|
|
6259
6580
|
}
|
|
6260
|
-
|
|
6261
|
-
|
|
6262
|
-
|
|
6263
|
-
return;
|
|
6264
|
-
} else if (!unsafe) {
|
|
6265
|
-
delete O[key];
|
|
6266
|
-
} else if (!noTargetGet && O[key]) {
|
|
6267
|
-
simple = true;
|
|
6268
|
-
}
|
|
6269
|
-
if (simple) O[key] = value;
|
|
6270
|
-
else createNonEnumerableProperty(O, key, value);
|
|
6271
|
-
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
6272
|
-
})(Function.prototype, 'toString', function toString() {
|
|
6273
|
-
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
|
6274
|
-
});
|
|
6581
|
+
};
|
|
6582
|
+
|
|
6583
|
+
module.exports = Queue;
|
|
6275
6584
|
|
|
6276
6585
|
|
|
6277
6586
|
/***/ }),
|
|
@@ -6280,42 +6589,18 @@ var TEMPLATE = String(String).split('String');
|
|
|
6280
6589
|
/*!************************************************************************!*\
|
|
6281
6590
|
!*** ../../node_modules/core-js/internals/require-object-coercible.js ***!
|
|
6282
6591
|
\************************************************************************/
|
|
6283
|
-
/***/ ((module
|
|
6284
|
-
|
|
6285
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6592
|
+
/***/ ((module) => {
|
|
6286
6593
|
|
|
6287
|
-
var TypeError =
|
|
6594
|
+
var $TypeError = TypeError;
|
|
6288
6595
|
|
|
6289
6596
|
// `RequireObjectCoercible` abstract operation
|
|
6290
6597
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
6291
6598
|
module.exports = function (it) {
|
|
6292
|
-
if (it == undefined) throw TypeError("Can't call method on " + it);
|
|
6599
|
+
if (it == undefined) throw $TypeError("Can't call method on " + it);
|
|
6293
6600
|
return it;
|
|
6294
6601
|
};
|
|
6295
6602
|
|
|
6296
6603
|
|
|
6297
|
-
/***/ }),
|
|
6298
|
-
|
|
6299
|
-
/***/ "../../node_modules/core-js/internals/set-global.js":
|
|
6300
|
-
/*!**********************************************************!*\
|
|
6301
|
-
!*** ../../node_modules/core-js/internals/set-global.js ***!
|
|
6302
|
-
\**********************************************************/
|
|
6303
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6304
|
-
|
|
6305
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6306
|
-
|
|
6307
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
6308
|
-
var defineProperty = Object.defineProperty;
|
|
6309
|
-
|
|
6310
|
-
module.exports = function (key, value) {
|
|
6311
|
-
try {
|
|
6312
|
-
defineProperty(global, key, { value: value, configurable: true, writable: true });
|
|
6313
|
-
} catch (error) {
|
|
6314
|
-
global[key] = value;
|
|
6315
|
-
} return value;
|
|
6316
|
-
};
|
|
6317
|
-
|
|
6318
|
-
|
|
6319
6604
|
/***/ }),
|
|
6320
6605
|
|
|
6321
6606
|
/***/ "../../node_modules/core-js/internals/set-species.js":
|
|
@@ -6360,9 +6645,10 @@ var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */
|
|
|
6360
6645
|
|
|
6361
6646
|
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
6362
6647
|
|
|
6363
|
-
module.exports = function (
|
|
6364
|
-
if (
|
|
6365
|
-
|
|
6648
|
+
module.exports = function (target, TAG, STATIC) {
|
|
6649
|
+
if (target && !STATIC) target = target.prototype;
|
|
6650
|
+
if (target && !hasOwn(target, TO_STRING_TAG)) {
|
|
6651
|
+
defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });
|
|
6366
6652
|
}
|
|
6367
6653
|
};
|
|
6368
6654
|
|
|
@@ -6394,10 +6680,10 @@ module.exports = function (key) {
|
|
|
6394
6680
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6395
6681
|
|
|
6396
6682
|
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6397
|
-
var
|
|
6683
|
+
var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../../node_modules/core-js/internals/define-global-property.js");
|
|
6398
6684
|
|
|
6399
6685
|
var SHARED = '__core-js_shared__';
|
|
6400
|
-
var store = global[SHARED] ||
|
|
6686
|
+
var store = global[SHARED] || defineGlobalProperty(SHARED, {});
|
|
6401
6687
|
|
|
6402
6688
|
module.exports = store;
|
|
6403
6689
|
|
|
@@ -6416,9 +6702,11 @@ var store = __webpack_require__(/*! ../internals/shared-store */ "../../node_mod
|
|
|
6416
6702
|
(module.exports = function (key, value) {
|
|
6417
6703
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
6418
6704
|
})('versions', []).push({
|
|
6419
|
-
version: '3.
|
|
6705
|
+
version: '3.23.2',
|
|
6420
6706
|
mode: IS_PURE ? 'pure' : 'global',
|
|
6421
|
-
copyright: '©
|
|
6707
|
+
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
6708
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.23.2/LICENSE',
|
|
6709
|
+
source: 'https://github.com/zloirock/core-js'
|
|
6422
6710
|
});
|
|
6423
6711
|
|
|
6424
6712
|
|
|
@@ -6462,6 +6750,7 @@ var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/co
|
|
|
6462
6750
|
var html = __webpack_require__(/*! ../internals/html */ "../../node_modules/core-js/internals/html.js");
|
|
6463
6751
|
var arraySlice = __webpack_require__(/*! ../internals/array-slice */ "../../node_modules/core-js/internals/array-slice.js");
|
|
6464
6752
|
var createElement = __webpack_require__(/*! ../internals/document-create-element */ "../../node_modules/core-js/internals/document-create-element.js");
|
|
6753
|
+
var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ "../../node_modules/core-js/internals/validate-arguments-length.js");
|
|
6465
6754
|
var IS_IOS = __webpack_require__(/*! ../internals/engine-is-ios */ "../../node_modules/core-js/internals/engine-is-ios.js");
|
|
6466
6755
|
var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "../../node_modules/core-js/internals/engine-is-node.js");
|
|
6467
6756
|
|
|
@@ -6507,10 +6796,12 @@ var post = function (id) {
|
|
|
6507
6796
|
|
|
6508
6797
|
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
|
|
6509
6798
|
if (!set || !clear) {
|
|
6510
|
-
set = function setImmediate(
|
|
6799
|
+
set = function setImmediate(handler) {
|
|
6800
|
+
validateArgumentsLength(arguments.length, 1);
|
|
6801
|
+
var fn = isCallable(handler) ? handler : Function(handler);
|
|
6511
6802
|
var args = arraySlice(arguments, 1);
|
|
6512
6803
|
queue[++counter] = function () {
|
|
6513
|
-
apply(
|
|
6804
|
+
apply(fn, undefined, args);
|
|
6514
6805
|
};
|
|
6515
6806
|
defer(counter);
|
|
6516
6807
|
return counter;
|
|
@@ -6613,17 +6904,16 @@ module.exports = function (it) {
|
|
|
6613
6904
|
/*!**********************************************************************!*\
|
|
6614
6905
|
!*** ../../node_modules/core-js/internals/to-integer-or-infinity.js ***!
|
|
6615
6906
|
\**********************************************************************/
|
|
6616
|
-
/***/ ((module) => {
|
|
6907
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6617
6908
|
|
|
6618
|
-
var
|
|
6619
|
-
var floor = Math.floor;
|
|
6909
|
+
var trunc = __webpack_require__(/*! ../internals/math-trunc */ "../../node_modules/core-js/internals/math-trunc.js");
|
|
6620
6910
|
|
|
6621
6911
|
// `ToIntegerOrInfinity` abstract operation
|
|
6622
6912
|
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
6623
6913
|
module.exports = function (argument) {
|
|
6624
6914
|
var number = +argument;
|
|
6625
|
-
// eslint-disable-next-line no-self-compare --
|
|
6626
|
-
return number !== number || number === 0 ? 0 : (number
|
|
6915
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
6916
|
+
return number !== number || number === 0 ? 0 : trunc(number);
|
|
6627
6917
|
};
|
|
6628
6918
|
|
|
6629
6919
|
|
|
@@ -6654,15 +6944,14 @@ module.exports = function (argument) {
|
|
|
6654
6944
|
\*********************************************************/
|
|
6655
6945
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6656
6946
|
|
|
6657
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6658
6947
|
var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../../node_modules/core-js/internals/require-object-coercible.js");
|
|
6659
6948
|
|
|
6660
|
-
var Object =
|
|
6949
|
+
var $Object = Object;
|
|
6661
6950
|
|
|
6662
6951
|
// `ToObject` abstract operation
|
|
6663
6952
|
// https://tc39.es/ecma262/#sec-toobject
|
|
6664
6953
|
module.exports = function (argument) {
|
|
6665
|
-
return Object(requireObjectCoercible(argument));
|
|
6954
|
+
return $Object(requireObjectCoercible(argument));
|
|
6666
6955
|
};
|
|
6667
6956
|
|
|
6668
6957
|
|
|
@@ -6674,7 +6963,6 @@ module.exports = function (argument) {
|
|
|
6674
6963
|
\************************************************************/
|
|
6675
6964
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6676
6965
|
|
|
6677
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6678
6966
|
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
6679
6967
|
var isObject = __webpack_require__(/*! ../internals/is-object */ "../../node_modules/core-js/internals/is-object.js");
|
|
6680
6968
|
var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../../node_modules/core-js/internals/is-symbol.js");
|
|
@@ -6682,7 +6970,7 @@ var getMethod = __webpack_require__(/*! ../internals/get-method */ "../../node_m
|
|
|
6682
6970
|
var ordinaryToPrimitive = __webpack_require__(/*! ../internals/ordinary-to-primitive */ "../../node_modules/core-js/internals/ordinary-to-primitive.js");
|
|
6683
6971
|
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../../node_modules/core-js/internals/well-known-symbol.js");
|
|
6684
6972
|
|
|
6685
|
-
var TypeError =
|
|
6973
|
+
var $TypeError = TypeError;
|
|
6686
6974
|
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
6687
6975
|
|
|
6688
6976
|
// `ToPrimitive` abstract operation
|
|
@@ -6695,7 +6983,7 @@ module.exports = function (input, pref) {
|
|
|
6695
6983
|
if (pref === undefined) pref = 'default';
|
|
6696
6984
|
result = call(exoticToPrim, input, pref);
|
|
6697
6985
|
if (!isObject(result) || isSymbol(result)) return result;
|
|
6698
|
-
throw TypeError("Can't convert object to primitive value");
|
|
6986
|
+
throw $TypeError("Can't convert object to primitive value");
|
|
6699
6987
|
}
|
|
6700
6988
|
if (pref === undefined) pref = 'number';
|
|
6701
6989
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -6747,14 +7035,13 @@ module.exports = String(test) === '[object z]';
|
|
|
6747
7035
|
\*********************************************************/
|
|
6748
7036
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6749
7037
|
|
|
6750
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6751
7038
|
var classof = __webpack_require__(/*! ../internals/classof */ "../../node_modules/core-js/internals/classof.js");
|
|
6752
7039
|
|
|
6753
|
-
var String =
|
|
7040
|
+
var $String = String;
|
|
6754
7041
|
|
|
6755
7042
|
module.exports = function (argument) {
|
|
6756
7043
|
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
6757
|
-
return String(argument);
|
|
7044
|
+
return $String(argument);
|
|
6758
7045
|
};
|
|
6759
7046
|
|
|
6760
7047
|
|
|
@@ -6764,15 +7051,13 @@ module.exports = function (argument) {
|
|
|
6764
7051
|
/*!*************************************************************!*\
|
|
6765
7052
|
!*** ../../node_modules/core-js/internals/try-to-string.js ***!
|
|
6766
7053
|
\*************************************************************/
|
|
6767
|
-
/***/ ((module
|
|
6768
|
-
|
|
6769
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
7054
|
+
/***/ ((module) => {
|
|
6770
7055
|
|
|
6771
|
-
var String =
|
|
7056
|
+
var $String = String;
|
|
6772
7057
|
|
|
6773
7058
|
module.exports = function (argument) {
|
|
6774
7059
|
try {
|
|
6775
|
-
return String(argument);
|
|
7060
|
+
return $String(argument);
|
|
6776
7061
|
} catch (error) {
|
|
6777
7062
|
return 'Object';
|
|
6778
7063
|
}
|
|
@@ -6806,7 +7091,7 @@ module.exports = function (key) {
|
|
|
6806
7091
|
\*****************************************************************/
|
|
6807
7092
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6808
7093
|
|
|
6809
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
7094
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
6810
7095
|
var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/native-symbol */ "../../node_modules/core-js/internals/native-symbol.js");
|
|
6811
7096
|
|
|
6812
7097
|
module.exports = NATIVE_SYMBOL
|
|
@@ -6814,6 +7099,44 @@ module.exports = NATIVE_SYMBOL
|
|
|
6814
7099
|
&& typeof Symbol.iterator == 'symbol';
|
|
6815
7100
|
|
|
6816
7101
|
|
|
7102
|
+
/***/ }),
|
|
7103
|
+
|
|
7104
|
+
/***/ "../../node_modules/core-js/internals/v8-prototype-define-bug.js":
|
|
7105
|
+
/*!***********************************************************************!*\
|
|
7106
|
+
!*** ../../node_modules/core-js/internals/v8-prototype-define-bug.js ***!
|
|
7107
|
+
\***********************************************************************/
|
|
7108
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
7109
|
+
|
|
7110
|
+
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../node_modules/core-js/internals/descriptors.js");
|
|
7111
|
+
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
7112
|
+
|
|
7113
|
+
// V8 ~ Chrome 36-
|
|
7114
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
7115
|
+
module.exports = DESCRIPTORS && fails(function () {
|
|
7116
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
7117
|
+
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
7118
|
+
value: 42,
|
|
7119
|
+
writable: false
|
|
7120
|
+
}).prototype != 42;
|
|
7121
|
+
});
|
|
7122
|
+
|
|
7123
|
+
|
|
7124
|
+
/***/ }),
|
|
7125
|
+
|
|
7126
|
+
/***/ "../../node_modules/core-js/internals/validate-arguments-length.js":
|
|
7127
|
+
/*!*************************************************************************!*\
|
|
7128
|
+
!*** ../../node_modules/core-js/internals/validate-arguments-length.js ***!
|
|
7129
|
+
\*************************************************************************/
|
|
7130
|
+
/***/ ((module) => {
|
|
7131
|
+
|
|
7132
|
+
var $TypeError = TypeError;
|
|
7133
|
+
|
|
7134
|
+
module.exports = function (passed, required) {
|
|
7135
|
+
if (passed < required) throw $TypeError('Not enough arguments');
|
|
7136
|
+
return passed;
|
|
7137
|
+
};
|
|
7138
|
+
|
|
7139
|
+
|
|
6817
7140
|
/***/ }),
|
|
6818
7141
|
|
|
6819
7142
|
/***/ "../../node_modules/core-js/internals/well-known-symbol.js":
|
|
@@ -6850,22 +7173,107 @@ module.exports = function (name) {
|
|
|
6850
7173
|
|
|
6851
7174
|
/***/ }),
|
|
6852
7175
|
|
|
6853
|
-
/***/ "../../node_modules/core-js/modules/es.promise.js":
|
|
6854
|
-
|
|
6855
|
-
!*** ../../node_modules/core-js/modules/es.promise.js ***!
|
|
6856
|
-
|
|
7176
|
+
/***/ "../../node_modules/core-js/modules/es.promise.all.js":
|
|
7177
|
+
/*!************************************************************!*\
|
|
7178
|
+
!*** ../../node_modules/core-js/modules/es.promise.all.js ***!
|
|
7179
|
+
\************************************************************/
|
|
7180
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
7181
|
+
|
|
7182
|
+
"use strict";
|
|
7183
|
+
|
|
7184
|
+
var $ = __webpack_require__(/*! ../internals/export */ "../../node_modules/core-js/internals/export.js");
|
|
7185
|
+
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
7186
|
+
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../../node_modules/core-js/internals/a-callable.js");
|
|
7187
|
+
var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "../../node_modules/core-js/internals/new-promise-capability.js");
|
|
7188
|
+
var perform = __webpack_require__(/*! ../internals/perform */ "../../node_modules/core-js/internals/perform.js");
|
|
7189
|
+
var iterate = __webpack_require__(/*! ../internals/iterate */ "../../node_modules/core-js/internals/iterate.js");
|
|
7190
|
+
var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(/*! ../internals/promise-statics-incorrect-iteration */ "../../node_modules/core-js/internals/promise-statics-incorrect-iteration.js");
|
|
7191
|
+
|
|
7192
|
+
// `Promise.all` method
|
|
7193
|
+
// https://tc39.es/ecma262/#sec-promise.all
|
|
7194
|
+
$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
|
|
7195
|
+
all: function all(iterable) {
|
|
7196
|
+
var C = this;
|
|
7197
|
+
var capability = newPromiseCapabilityModule.f(C);
|
|
7198
|
+
var resolve = capability.resolve;
|
|
7199
|
+
var reject = capability.reject;
|
|
7200
|
+
var result = perform(function () {
|
|
7201
|
+
var $promiseResolve = aCallable(C.resolve);
|
|
7202
|
+
var values = [];
|
|
7203
|
+
var counter = 0;
|
|
7204
|
+
var remaining = 1;
|
|
7205
|
+
iterate(iterable, function (promise) {
|
|
7206
|
+
var index = counter++;
|
|
7207
|
+
var alreadyCalled = false;
|
|
7208
|
+
remaining++;
|
|
7209
|
+
call($promiseResolve, C, promise).then(function (value) {
|
|
7210
|
+
if (alreadyCalled) return;
|
|
7211
|
+
alreadyCalled = true;
|
|
7212
|
+
values[index] = value;
|
|
7213
|
+
--remaining || resolve(values);
|
|
7214
|
+
}, reject);
|
|
7215
|
+
});
|
|
7216
|
+
--remaining || resolve(values);
|
|
7217
|
+
});
|
|
7218
|
+
if (result.error) reject(result.value);
|
|
7219
|
+
return capability.promise;
|
|
7220
|
+
}
|
|
7221
|
+
});
|
|
7222
|
+
|
|
7223
|
+
|
|
7224
|
+
/***/ }),
|
|
7225
|
+
|
|
7226
|
+
/***/ "../../node_modules/core-js/modules/es.promise.catch.js":
|
|
7227
|
+
/*!**************************************************************!*\
|
|
7228
|
+
!*** ../../node_modules/core-js/modules/es.promise.catch.js ***!
|
|
7229
|
+
\**************************************************************/
|
|
6857
7230
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
6858
7231
|
|
|
6859
7232
|
"use strict";
|
|
6860
7233
|
|
|
6861
7234
|
var $ = __webpack_require__(/*! ../internals/export */ "../../node_modules/core-js/internals/export.js");
|
|
6862
7235
|
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../../node_modules/core-js/internals/is-pure.js");
|
|
6863
|
-
var
|
|
7236
|
+
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "../../node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR);
|
|
7237
|
+
var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "../../node_modules/core-js/internals/promise-native-constructor.js");
|
|
6864
7238
|
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../../node_modules/core-js/internals/get-built-in.js");
|
|
7239
|
+
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
7240
|
+
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../../node_modules/core-js/internals/define-built-in.js");
|
|
7241
|
+
|
|
7242
|
+
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
|
|
7243
|
+
|
|
7244
|
+
// `Promise.prototype.catch` method
|
|
7245
|
+
// https://tc39.es/ecma262/#sec-promise.prototype.catch
|
|
7246
|
+
$({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR, real: true }, {
|
|
7247
|
+
'catch': function (onRejected) {
|
|
7248
|
+
return this.then(undefined, onRejected);
|
|
7249
|
+
}
|
|
7250
|
+
});
|
|
7251
|
+
|
|
7252
|
+
// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
|
|
7253
|
+
if (!IS_PURE && isCallable(NativePromiseConstructor)) {
|
|
7254
|
+
var method = getBuiltIn('Promise').prototype['catch'];
|
|
7255
|
+
if (NativePromisePrototype['catch'] !== method) {
|
|
7256
|
+
defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true });
|
|
7257
|
+
}
|
|
7258
|
+
}
|
|
7259
|
+
|
|
7260
|
+
|
|
7261
|
+
/***/ }),
|
|
7262
|
+
|
|
7263
|
+
/***/ "../../node_modules/core-js/modules/es.promise.constructor.js":
|
|
7264
|
+
/*!********************************************************************!*\
|
|
7265
|
+
!*** ../../node_modules/core-js/modules/es.promise.constructor.js ***!
|
|
7266
|
+
\********************************************************************/
|
|
7267
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
7268
|
+
|
|
7269
|
+
"use strict";
|
|
7270
|
+
|
|
7271
|
+
var $ = __webpack_require__(/*! ../internals/export */ "../../node_modules/core-js/internals/export.js");
|
|
7272
|
+
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../../node_modules/core-js/internals/is-pure.js");
|
|
7273
|
+
var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "../../node_modules/core-js/internals/engine-is-node.js");
|
|
7274
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6865
7275
|
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
6866
|
-
var
|
|
6867
|
-
var redefine = __webpack_require__(/*! ../internals/redefine */ "../../node_modules/core-js/internals/redefine.js");
|
|
6868
|
-
var redefineAll = __webpack_require__(/*! ../internals/redefine-all */ "../../node_modules/core-js/internals/redefine-all.js");
|
|
7276
|
+
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../../node_modules/core-js/internals/define-built-in.js");
|
|
6869
7277
|
var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "../../node_modules/core-js/internals/object-set-prototype-of.js");
|
|
6870
7278
|
var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "../../node_modules/core-js/internals/set-to-string-tag.js");
|
|
6871
7279
|
var setSpecies = __webpack_require__(/*! ../internals/set-species */ "../../node_modules/core-js/internals/set-species.js");
|
|
@@ -6873,31 +7281,25 @@ var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../../node_m
|
|
|
6873
7281
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
6874
7282
|
var isObject = __webpack_require__(/*! ../internals/is-object */ "../../node_modules/core-js/internals/is-object.js");
|
|
6875
7283
|
var anInstance = __webpack_require__(/*! ../internals/an-instance */ "../../node_modules/core-js/internals/an-instance.js");
|
|
6876
|
-
var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../../node_modules/core-js/internals/inspect-source.js");
|
|
6877
|
-
var iterate = __webpack_require__(/*! ../internals/iterate */ "../../node_modules/core-js/internals/iterate.js");
|
|
6878
|
-
var checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ "../../node_modules/core-js/internals/check-correctness-of-iteration.js");
|
|
6879
7284
|
var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ "../../node_modules/core-js/internals/species-constructor.js");
|
|
6880
7285
|
var task = (__webpack_require__(/*! ../internals/task */ "../../node_modules/core-js/internals/task.js").set);
|
|
6881
7286
|
var microtask = __webpack_require__(/*! ../internals/microtask */ "../../node_modules/core-js/internals/microtask.js");
|
|
6882
|
-
var promiseResolve = __webpack_require__(/*! ../internals/promise-resolve */ "../../node_modules/core-js/internals/promise-resolve.js");
|
|
6883
7287
|
var hostReportErrors = __webpack_require__(/*! ../internals/host-report-errors */ "../../node_modules/core-js/internals/host-report-errors.js");
|
|
6884
|
-
var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "../../node_modules/core-js/internals/new-promise-capability.js");
|
|
6885
7288
|
var perform = __webpack_require__(/*! ../internals/perform */ "../../node_modules/core-js/internals/perform.js");
|
|
7289
|
+
var Queue = __webpack_require__(/*! ../internals/queue */ "../../node_modules/core-js/internals/queue.js");
|
|
6886
7290
|
var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "../../node_modules/core-js/internals/internal-state.js");
|
|
6887
|
-
var
|
|
6888
|
-
var
|
|
6889
|
-
var
|
|
6890
|
-
var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "../../node_modules/core-js/internals/engine-is-node.js");
|
|
6891
|
-
var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "../../node_modules/core-js/internals/engine-v8-version.js");
|
|
7291
|
+
var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "../../node_modules/core-js/internals/promise-native-constructor.js");
|
|
7292
|
+
var PromiseConstructorDetection = __webpack_require__(/*! ../internals/promise-constructor-detection */ "../../node_modules/core-js/internals/promise-constructor-detection.js");
|
|
7293
|
+
var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "../../node_modules/core-js/internals/new-promise-capability.js");
|
|
6892
7294
|
|
|
6893
|
-
var SPECIES = wellKnownSymbol('species');
|
|
6894
7295
|
var PROMISE = 'Promise';
|
|
6895
|
-
|
|
6896
|
-
var
|
|
6897
|
-
var
|
|
7296
|
+
var FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR;
|
|
7297
|
+
var NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;
|
|
7298
|
+
var NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;
|
|
6898
7299
|
var getInternalPromiseState = InternalStateModule.getterFor(PROMISE);
|
|
6899
|
-
var
|
|
6900
|
-
var
|
|
7300
|
+
var setInternalState = InternalStateModule.set;
|
|
7301
|
+
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
|
|
7302
|
+
var PromiseConstructor = NativePromiseConstructor;
|
|
6901
7303
|
var PromisePrototype = NativePromisePrototype;
|
|
6902
7304
|
var TypeError = global.TypeError;
|
|
6903
7305
|
var document = global.document;
|
|
@@ -6906,7 +7308,6 @@ var newPromiseCapability = newPromiseCapabilityModule.f;
|
|
|
6906
7308
|
var newGenericPromiseCapability = newPromiseCapability;
|
|
6907
7309
|
|
|
6908
7310
|
var DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);
|
|
6909
|
-
var NATIVE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent);
|
|
6910
7311
|
var UNHANDLED_REJECTION = 'unhandledrejection';
|
|
6911
7312
|
var REJECTION_HANDLED = 'rejectionhandled';
|
|
6912
7313
|
var PENDING = 0;
|
|
@@ -6914,89 +7315,59 @@ var FULFILLED = 1;
|
|
|
6914
7315
|
var REJECTED = 2;
|
|
6915
7316
|
var HANDLED = 1;
|
|
6916
7317
|
var UNHANDLED = 2;
|
|
6917
|
-
var SUBCLASSING = false;
|
|
6918
7318
|
|
|
6919
7319
|
var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
|
|
6920
7320
|
|
|
6921
|
-
var FORCED = isForced(PROMISE, function () {
|
|
6922
|
-
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(PromiseConstructor);
|
|
6923
|
-
var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(PromiseConstructor);
|
|
6924
|
-
// V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
|
|
6925
|
-
// https://bugs.chromium.org/p/chromium/issues/detail?id=830565
|
|
6926
|
-
// We can't detect it synchronously, so just check versions
|
|
6927
|
-
if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;
|
|
6928
|
-
// We need Promise#finally in the pure version for preventing prototype pollution
|
|
6929
|
-
if (IS_PURE && !PromisePrototype['finally']) return true;
|
|
6930
|
-
// We can't use @@species feature detection in V8 since it causes
|
|
6931
|
-
// deoptimization and performance degradation
|
|
6932
|
-
// https://github.com/zloirock/core-js/issues/679
|
|
6933
|
-
if (V8_VERSION >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false;
|
|
6934
|
-
// Detect correctness of subclassing with @@species support
|
|
6935
|
-
var promise = new PromiseConstructor(function (resolve) { resolve(1); });
|
|
6936
|
-
var FakePromise = function (exec) {
|
|
6937
|
-
exec(function () { /* empty */ }, function () { /* empty */ });
|
|
6938
|
-
};
|
|
6939
|
-
var constructor = promise.constructor = {};
|
|
6940
|
-
constructor[SPECIES] = FakePromise;
|
|
6941
|
-
SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
|
|
6942
|
-
if (!SUBCLASSING) return true;
|
|
6943
|
-
// Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
|
|
6944
|
-
return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_REJECTION_EVENT;
|
|
6945
|
-
});
|
|
6946
|
-
|
|
6947
|
-
var INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) {
|
|
6948
|
-
PromiseConstructor.all(iterable)['catch'](function () { /* empty */ });
|
|
6949
|
-
});
|
|
6950
|
-
|
|
6951
7321
|
// helpers
|
|
6952
7322
|
var isThenable = function (it) {
|
|
6953
7323
|
var then;
|
|
6954
7324
|
return isObject(it) && isCallable(then = it.then) ? then : false;
|
|
6955
7325
|
};
|
|
6956
7326
|
|
|
7327
|
+
var callReaction = function (reaction, state) {
|
|
7328
|
+
var value = state.value;
|
|
7329
|
+
var ok = state.state == FULFILLED;
|
|
7330
|
+
var handler = ok ? reaction.ok : reaction.fail;
|
|
7331
|
+
var resolve = reaction.resolve;
|
|
7332
|
+
var reject = reaction.reject;
|
|
7333
|
+
var domain = reaction.domain;
|
|
7334
|
+
var result, then, exited;
|
|
7335
|
+
try {
|
|
7336
|
+
if (handler) {
|
|
7337
|
+
if (!ok) {
|
|
7338
|
+
if (state.rejection === UNHANDLED) onHandleUnhandled(state);
|
|
7339
|
+
state.rejection = HANDLED;
|
|
7340
|
+
}
|
|
7341
|
+
if (handler === true) result = value;
|
|
7342
|
+
else {
|
|
7343
|
+
if (domain) domain.enter();
|
|
7344
|
+
result = handler(value); // can throw
|
|
7345
|
+
if (domain) {
|
|
7346
|
+
domain.exit();
|
|
7347
|
+
exited = true;
|
|
7348
|
+
}
|
|
7349
|
+
}
|
|
7350
|
+
if (result === reaction.promise) {
|
|
7351
|
+
reject(TypeError('Promise-chain cycle'));
|
|
7352
|
+
} else if (then = isThenable(result)) {
|
|
7353
|
+
call(then, result, resolve, reject);
|
|
7354
|
+
} else resolve(result);
|
|
7355
|
+
} else reject(value);
|
|
7356
|
+
} catch (error) {
|
|
7357
|
+
if (domain && !exited) domain.exit();
|
|
7358
|
+
reject(error);
|
|
7359
|
+
}
|
|
7360
|
+
};
|
|
7361
|
+
|
|
6957
7362
|
var notify = function (state, isReject) {
|
|
6958
7363
|
if (state.notified) return;
|
|
6959
7364
|
state.notified = true;
|
|
6960
|
-
var chain = state.reactions;
|
|
6961
7365
|
microtask(function () {
|
|
6962
|
-
var
|
|
6963
|
-
var
|
|
6964
|
-
|
|
6965
|
-
|
|
6966
|
-
while (chain.length > index) {
|
|
6967
|
-
var reaction = chain[index++];
|
|
6968
|
-
var handler = ok ? reaction.ok : reaction.fail;
|
|
6969
|
-
var resolve = reaction.resolve;
|
|
6970
|
-
var reject = reaction.reject;
|
|
6971
|
-
var domain = reaction.domain;
|
|
6972
|
-
var result, then, exited;
|
|
6973
|
-
try {
|
|
6974
|
-
if (handler) {
|
|
6975
|
-
if (!ok) {
|
|
6976
|
-
if (state.rejection === UNHANDLED) onHandleUnhandled(state);
|
|
6977
|
-
state.rejection = HANDLED;
|
|
6978
|
-
}
|
|
6979
|
-
if (handler === true) result = value;
|
|
6980
|
-
else {
|
|
6981
|
-
if (domain) domain.enter();
|
|
6982
|
-
result = handler(value); // can throw
|
|
6983
|
-
if (domain) {
|
|
6984
|
-
domain.exit();
|
|
6985
|
-
exited = true;
|
|
6986
|
-
}
|
|
6987
|
-
}
|
|
6988
|
-
if (result === reaction.promise) {
|
|
6989
|
-
reject(TypeError('Promise-chain cycle'));
|
|
6990
|
-
} else if (then = isThenable(result)) {
|
|
6991
|
-
call(then, result, resolve, reject);
|
|
6992
|
-
} else resolve(result);
|
|
6993
|
-
} else reject(value);
|
|
6994
|
-
} catch (error) {
|
|
6995
|
-
if (domain && !exited) domain.exit();
|
|
6996
|
-
reject(error);
|
|
6997
|
-
}
|
|
7366
|
+
var reactions = state.reactions;
|
|
7367
|
+
var reaction;
|
|
7368
|
+
while (reaction = reactions.get()) {
|
|
7369
|
+
callReaction(reaction, state);
|
|
6998
7370
|
}
|
|
6999
|
-
state.reactions = [];
|
|
7000
7371
|
state.notified = false;
|
|
7001
7372
|
if (isReject && !state.rejection) onUnhandled(state);
|
|
7002
7373
|
});
|
|
@@ -7011,7 +7382,7 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
7011
7382
|
event.initEvent(name, false, true);
|
|
7012
7383
|
global.dispatchEvent(event);
|
|
7013
7384
|
} else event = { promise: promise, reason: reason };
|
|
7014
|
-
if (!
|
|
7385
|
+
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);
|
|
7015
7386
|
else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
|
|
7016
7387
|
};
|
|
7017
7388
|
|
|
@@ -7092,20 +7463,22 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
7092
7463
|
};
|
|
7093
7464
|
|
|
7094
7465
|
// constructor polyfill
|
|
7095
|
-
if (
|
|
7466
|
+
if (FORCED_PROMISE_CONSTRUCTOR) {
|
|
7096
7467
|
// 25.4.3.1 Promise(executor)
|
|
7097
7468
|
PromiseConstructor = function Promise(executor) {
|
|
7098
7469
|
anInstance(this, PromisePrototype);
|
|
7099
7470
|
aCallable(executor);
|
|
7100
7471
|
call(Internal, this);
|
|
7101
|
-
var state =
|
|
7472
|
+
var state = getInternalPromiseState(this);
|
|
7102
7473
|
try {
|
|
7103
7474
|
executor(bind(internalResolve, state), bind(internalReject, state));
|
|
7104
7475
|
} catch (error) {
|
|
7105
7476
|
internalReject(state, error);
|
|
7106
7477
|
}
|
|
7107
7478
|
};
|
|
7479
|
+
|
|
7108
7480
|
PromisePrototype = PromiseConstructor.prototype;
|
|
7481
|
+
|
|
7109
7482
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
7110
7483
|
Internal = function Promise(executor) {
|
|
7111
7484
|
setInternalState(this, {
|
|
@@ -7113,61 +7486,55 @@ if (FORCED) {
|
|
|
7113
7486
|
done: false,
|
|
7114
7487
|
notified: false,
|
|
7115
7488
|
parent: false,
|
|
7116
|
-
reactions:
|
|
7489
|
+
reactions: new Queue(),
|
|
7117
7490
|
rejection: false,
|
|
7118
7491
|
state: PENDING,
|
|
7119
7492
|
value: undefined
|
|
7120
7493
|
});
|
|
7121
7494
|
};
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
|
|
7125
|
-
|
|
7126
|
-
|
|
7127
|
-
|
|
7128
|
-
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
-
|
|
7136
|
-
|
|
7137
|
-
// `Promise.prototype.catch` method
|
|
7138
|
-
// https://tc39.es/ecma262/#sec-promise.prototype.catch
|
|
7139
|
-
'catch': function (onRejected) {
|
|
7140
|
-
return this.then(undefined, onRejected);
|
|
7141
|
-
}
|
|
7495
|
+
|
|
7496
|
+
// `Promise.prototype.then` method
|
|
7497
|
+
// https://tc39.es/ecma262/#sec-promise.prototype.then
|
|
7498
|
+
Internal.prototype = defineBuiltIn(PromisePrototype, 'then', function then(onFulfilled, onRejected) {
|
|
7499
|
+
var state = getInternalPromiseState(this);
|
|
7500
|
+
var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));
|
|
7501
|
+
state.parent = true;
|
|
7502
|
+
reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;
|
|
7503
|
+
reaction.fail = isCallable(onRejected) && onRejected;
|
|
7504
|
+
reaction.domain = IS_NODE ? process.domain : undefined;
|
|
7505
|
+
if (state.state == PENDING) state.reactions.add(reaction);
|
|
7506
|
+
else microtask(function () {
|
|
7507
|
+
callReaction(reaction, state);
|
|
7508
|
+
});
|
|
7509
|
+
return reaction.promise;
|
|
7142
7510
|
});
|
|
7511
|
+
|
|
7143
7512
|
OwnPromiseCapability = function () {
|
|
7144
7513
|
var promise = new Internal();
|
|
7145
|
-
var state =
|
|
7514
|
+
var state = getInternalPromiseState(promise);
|
|
7146
7515
|
this.promise = promise;
|
|
7147
7516
|
this.resolve = bind(internalResolve, state);
|
|
7148
7517
|
this.reject = bind(internalReject, state);
|
|
7149
7518
|
};
|
|
7519
|
+
|
|
7150
7520
|
newPromiseCapabilityModule.f = newPromiseCapability = function (C) {
|
|
7151
7521
|
return C === PromiseConstructor || C === PromiseWrapper
|
|
7152
7522
|
? new OwnPromiseCapability(C)
|
|
7153
7523
|
: newGenericPromiseCapability(C);
|
|
7154
7524
|
};
|
|
7155
7525
|
|
|
7156
|
-
if (!IS_PURE && isCallable(
|
|
7526
|
+
if (!IS_PURE && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype) {
|
|
7157
7527
|
nativeThen = NativePromisePrototype.then;
|
|
7158
7528
|
|
|
7159
|
-
if (!
|
|
7529
|
+
if (!NATIVE_PROMISE_SUBCLASSING) {
|
|
7160
7530
|
// make `Promise#then` return a polyfilled `Promise` for native promise-based APIs
|
|
7161
|
-
|
|
7531
|
+
defineBuiltIn(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {
|
|
7162
7532
|
var that = this;
|
|
7163
7533
|
return new PromiseConstructor(function (resolve, reject) {
|
|
7164
7534
|
call(nativeThen, that, resolve, reject);
|
|
7165
7535
|
}).then(onFulfilled, onRejected);
|
|
7166
7536
|
// https://github.com/zloirock/core-js/issues/640
|
|
7167
7537
|
}, { unsafe: true });
|
|
7168
|
-
|
|
7169
|
-
// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
|
|
7170
|
-
redefine(NativePromisePrototype, 'catch', PromisePrototype['catch'], { unsafe: true });
|
|
7171
7538
|
}
|
|
7172
7539
|
|
|
7173
7540
|
// make `.constructor === Promise` work for native promise-based APIs
|
|
@@ -7182,68 +7549,55 @@ if (FORCED) {
|
|
|
7182
7549
|
}
|
|
7183
7550
|
}
|
|
7184
7551
|
|
|
7185
|
-
$({ global: true, wrap: true, forced:
|
|
7552
|
+
$({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
|
|
7186
7553
|
Promise: PromiseConstructor
|
|
7187
7554
|
});
|
|
7188
7555
|
|
|
7189
7556
|
setToStringTag(PromiseConstructor, PROMISE, false, true);
|
|
7190
7557
|
setSpecies(PROMISE);
|
|
7191
7558
|
|
|
7192
|
-
PromiseWrapper = getBuiltIn(PROMISE);
|
|
7193
7559
|
|
|
7194
|
-
|
|
7195
|
-
$({ target: PROMISE, stat: true, forced: FORCED }, {
|
|
7196
|
-
// `Promise.reject` method
|
|
7197
|
-
// https://tc39.es/ecma262/#sec-promise.reject
|
|
7198
|
-
reject: function reject(r) {
|
|
7199
|
-
var capability = newPromiseCapability(this);
|
|
7200
|
-
call(capability.reject, undefined, r);
|
|
7201
|
-
return capability.promise;
|
|
7202
|
-
}
|
|
7203
|
-
});
|
|
7560
|
+
/***/ }),
|
|
7204
7561
|
|
|
7205
|
-
|
|
7206
|
-
|
|
7207
|
-
|
|
7208
|
-
|
|
7209
|
-
|
|
7210
|
-
}
|
|
7211
|
-
});
|
|
7562
|
+
/***/ "../../node_modules/core-js/modules/es.promise.js":
|
|
7563
|
+
/*!********************************************************!*\
|
|
7564
|
+
!*** ../../node_modules/core-js/modules/es.promise.js ***!
|
|
7565
|
+
\********************************************************/
|
|
7566
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
7212
7567
|
|
|
7213
|
-
|
|
7214
|
-
|
|
7215
|
-
|
|
7216
|
-
|
|
7217
|
-
|
|
7218
|
-
|
|
7219
|
-
|
|
7220
|
-
|
|
7221
|
-
|
|
7222
|
-
|
|
7223
|
-
|
|
7224
|
-
|
|
7225
|
-
|
|
7226
|
-
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
|
|
7230
|
-
|
|
7231
|
-
|
|
7232
|
-
|
|
7233
|
-
|
|
7234
|
-
|
|
7235
|
-
|
|
7236
|
-
|
|
7237
|
-
|
|
7238
|
-
|
|
7239
|
-
|
|
7240
|
-
|
|
7241
|
-
|
|
7242
|
-
|
|
7243
|
-
// https://tc39.es/ecma262/#sec-promise.race
|
|
7568
|
+
// TODO: Remove this module from `core-js@4` since it's split to modules listed below
|
|
7569
|
+
__webpack_require__(/*! ../modules/es.promise.constructor */ "../../node_modules/core-js/modules/es.promise.constructor.js");
|
|
7570
|
+
__webpack_require__(/*! ../modules/es.promise.all */ "../../node_modules/core-js/modules/es.promise.all.js");
|
|
7571
|
+
__webpack_require__(/*! ../modules/es.promise.catch */ "../../node_modules/core-js/modules/es.promise.catch.js");
|
|
7572
|
+
__webpack_require__(/*! ../modules/es.promise.race */ "../../node_modules/core-js/modules/es.promise.race.js");
|
|
7573
|
+
__webpack_require__(/*! ../modules/es.promise.reject */ "../../node_modules/core-js/modules/es.promise.reject.js");
|
|
7574
|
+
__webpack_require__(/*! ../modules/es.promise.resolve */ "../../node_modules/core-js/modules/es.promise.resolve.js");
|
|
7575
|
+
|
|
7576
|
+
|
|
7577
|
+
/***/ }),
|
|
7578
|
+
|
|
7579
|
+
/***/ "../../node_modules/core-js/modules/es.promise.race.js":
|
|
7580
|
+
/*!*************************************************************!*\
|
|
7581
|
+
!*** ../../node_modules/core-js/modules/es.promise.race.js ***!
|
|
7582
|
+
\*************************************************************/
|
|
7583
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
7584
|
+
|
|
7585
|
+
"use strict";
|
|
7586
|
+
|
|
7587
|
+
var $ = __webpack_require__(/*! ../internals/export */ "../../node_modules/core-js/internals/export.js");
|
|
7588
|
+
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
7589
|
+
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../../node_modules/core-js/internals/a-callable.js");
|
|
7590
|
+
var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "../../node_modules/core-js/internals/new-promise-capability.js");
|
|
7591
|
+
var perform = __webpack_require__(/*! ../internals/perform */ "../../node_modules/core-js/internals/perform.js");
|
|
7592
|
+
var iterate = __webpack_require__(/*! ../internals/iterate */ "../../node_modules/core-js/internals/iterate.js");
|
|
7593
|
+
var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(/*! ../internals/promise-statics-incorrect-iteration */ "../../node_modules/core-js/internals/promise-statics-incorrect-iteration.js");
|
|
7594
|
+
|
|
7595
|
+
// `Promise.race` method
|
|
7596
|
+
// https://tc39.es/ecma262/#sec-promise.race
|
|
7597
|
+
$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
|
|
7244
7598
|
race: function race(iterable) {
|
|
7245
7599
|
var C = this;
|
|
7246
|
-
var capability =
|
|
7600
|
+
var capability = newPromiseCapabilityModule.f(C);
|
|
7247
7601
|
var reject = capability.reject;
|
|
7248
7602
|
var result = perform(function () {
|
|
7249
7603
|
var $promiseResolve = aCallable(C.resolve);
|
|
@@ -7257,6 +7611,61 @@ $({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
|
|
|
7257
7611
|
});
|
|
7258
7612
|
|
|
7259
7613
|
|
|
7614
|
+
/***/ }),
|
|
7615
|
+
|
|
7616
|
+
/***/ "../../node_modules/core-js/modules/es.promise.reject.js":
|
|
7617
|
+
/*!***************************************************************!*\
|
|
7618
|
+
!*** ../../node_modules/core-js/modules/es.promise.reject.js ***!
|
|
7619
|
+
\***************************************************************/
|
|
7620
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
7621
|
+
|
|
7622
|
+
"use strict";
|
|
7623
|
+
|
|
7624
|
+
var $ = __webpack_require__(/*! ../internals/export */ "../../node_modules/core-js/internals/export.js");
|
|
7625
|
+
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
7626
|
+
var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "../../node_modules/core-js/internals/new-promise-capability.js");
|
|
7627
|
+
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "../../node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR);
|
|
7628
|
+
|
|
7629
|
+
// `Promise.reject` method
|
|
7630
|
+
// https://tc39.es/ecma262/#sec-promise.reject
|
|
7631
|
+
$({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
|
|
7632
|
+
reject: function reject(r) {
|
|
7633
|
+
var capability = newPromiseCapabilityModule.f(this);
|
|
7634
|
+
call(capability.reject, undefined, r);
|
|
7635
|
+
return capability.promise;
|
|
7636
|
+
}
|
|
7637
|
+
});
|
|
7638
|
+
|
|
7639
|
+
|
|
7640
|
+
/***/ }),
|
|
7641
|
+
|
|
7642
|
+
/***/ "../../node_modules/core-js/modules/es.promise.resolve.js":
|
|
7643
|
+
/*!****************************************************************!*\
|
|
7644
|
+
!*** ../../node_modules/core-js/modules/es.promise.resolve.js ***!
|
|
7645
|
+
\****************************************************************/
|
|
7646
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
7647
|
+
|
|
7648
|
+
"use strict";
|
|
7649
|
+
|
|
7650
|
+
var $ = __webpack_require__(/*! ../internals/export */ "../../node_modules/core-js/internals/export.js");
|
|
7651
|
+
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../../node_modules/core-js/internals/get-built-in.js");
|
|
7652
|
+
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../../node_modules/core-js/internals/is-pure.js");
|
|
7653
|
+
var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "../../node_modules/core-js/internals/promise-native-constructor.js");
|
|
7654
|
+
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "../../node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR);
|
|
7655
|
+
var promiseResolve = __webpack_require__(/*! ../internals/promise-resolve */ "../../node_modules/core-js/internals/promise-resolve.js");
|
|
7656
|
+
|
|
7657
|
+
var PromiseConstructorWrapper = getBuiltIn('Promise');
|
|
7658
|
+
var CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR;
|
|
7659
|
+
|
|
7660
|
+
// `Promise.resolve` method
|
|
7661
|
+
// https://tc39.es/ecma262/#sec-promise.resolve
|
|
7662
|
+
$({ target: 'Promise', stat: true, forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR }, {
|
|
7663
|
+
resolve: function resolve(x) {
|
|
7664
|
+
return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x);
|
|
7665
|
+
}
|
|
7666
|
+
});
|
|
7667
|
+
|
|
7668
|
+
|
|
7260
7669
|
/***/ }),
|
|
7261
7670
|
|
|
7262
7671
|
/***/ "../../node_modules/core-js/modules/es.symbol.description.js":
|
|
@@ -7321,7 +7730,7 @@ if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototy
|
|
|
7321
7730
|
}
|
|
7322
7731
|
});
|
|
7323
7732
|
|
|
7324
|
-
$({ global: true, forced: true }, {
|
|
7733
|
+
$({ global: true, constructor: true, forced: true }, {
|
|
7325
7734
|
Symbol: SymbolWrapper
|
|
7326
7735
|
});
|
|
7327
7736
|
}
|
|
@@ -7340,17 +7749,6 @@ module.exports = require("ajv");
|
|
|
7340
7749
|
|
|
7341
7750
|
/***/ }),
|
|
7342
7751
|
|
|
7343
|
-
/***/ "archiver":
|
|
7344
|
-
/*!***************************!*\
|
|
7345
|
-
!*** external "archiver" ***!
|
|
7346
|
-
\***************************/
|
|
7347
|
-
/***/ ((module) => {
|
|
7348
|
-
|
|
7349
|
-
"use strict";
|
|
7350
|
-
module.exports = require("archiver");
|
|
7351
|
-
|
|
7352
|
-
/***/ }),
|
|
7353
|
-
|
|
7354
7752
|
/***/ "axios":
|
|
7355
7753
|
/*!************************!*\
|
|
7356
7754
|
!*** external "axios" ***!
|
|
@@ -7395,6 +7793,17 @@ module.exports = require("glob");
|
|
|
7395
7793
|
|
|
7396
7794
|
/***/ }),
|
|
7397
7795
|
|
|
7796
|
+
/***/ "jszip":
|
|
7797
|
+
/*!************************!*\
|
|
7798
|
+
!*** external "jszip" ***!
|
|
7799
|
+
\************************/
|
|
7800
|
+
/***/ ((module) => {
|
|
7801
|
+
|
|
7802
|
+
"use strict";
|
|
7803
|
+
module.exports = require("jszip");
|
|
7804
|
+
|
|
7805
|
+
/***/ }),
|
|
7806
|
+
|
|
7398
7807
|
/***/ "rimraf":
|
|
7399
7808
|
/*!*************************!*\
|
|
7400
7809
|
!*** external "rimraf" ***!
|
|
@@ -7549,6 +7958,17 @@ module.exports = require("path");
|
|
|
7549
7958
|
|
|
7550
7959
|
/***/ }),
|
|
7551
7960
|
|
|
7961
|
+
/***/ "stream":
|
|
7962
|
+
/*!*************************!*\
|
|
7963
|
+
!*** external "stream" ***!
|
|
7964
|
+
\*************************/
|
|
7965
|
+
/***/ ((module) => {
|
|
7966
|
+
|
|
7967
|
+
"use strict";
|
|
7968
|
+
module.exports = require("stream");
|
|
7969
|
+
|
|
7970
|
+
/***/ }),
|
|
7971
|
+
|
|
7552
7972
|
/***/ "util":
|
|
7553
7973
|
/*!***********************!*\
|
|
7554
7974
|
!*** external "util" ***!
|
|
@@ -7567,7 +7987,7 @@ module.exports = require("util");
|
|
|
7567
7987
|
/***/ ((module) => {
|
|
7568
7988
|
|
|
7569
7989
|
"use strict";
|
|
7570
|
-
module.exports = JSON.parse('{"name":"@intelligentgraphics/ig.gfx.packager","version":"2.
|
|
7990
|
+
module.exports = JSON.parse('{"name":"@intelligentgraphics/ig.gfx.packager","version":"2.1.2","description":"IG.GFX.Packager 2.1.2 (2.1.2.100)","main":"build/index.js","private":false,"publishConfig":{"access":"public"},"bin":{"packager":"./build/index.js"},"files":["build","locales","scripts"],"scripts":{"dist":"webpack","clean":"rimraf build *.tsbuildinfo","prepublishOnly":"yarn clean && yarn dist","test":"jest","_postinstall":"node scripts/postinstall.js"},"author":"Michael Beier <mb@intelligentgraphics.biz>","dependencies":{"ajv":"^8.6.2","axios":"^0.21.1","core-js":"^3.16.0","execa":"^5.1.1","fs-extra":"^10.0.0","glob":"^7.1.4","jszip":"^3.10.0","rimraf":"^3.0.2","source-map-support":"^0.5.19","terser":"^4.8.0","typedoc":"~0.22.15","typescript":"~4.6.3","update-notifier":"^5.1.0","v8-compile-cache":"^2.1.1","y18n":"^5.0.8","yargs":"^17.0.1"},"devDependencies":{"@babel/plugin-proposal-class-properties":"^7.14.5","@babel/plugin-proposal-object-rest-spread":"^7.14.7","@babel/preset-env":"^7.14.9","@intelligentgraphics/ig.tools.core":"^1.5.1","@intelligentgraphics/ig.utilities":"^1.6.6","@types/archiver":"^5.1.1","@types/fs-extra":"^9.0.12","@types/glob":"^7.1.4","@types/node":"^16.4.11","@types/rimraf":"^3.0.1","@types/update-notifier":"^5.1.0","@types/yargs":"^17.0.2","babel-loader":"^8.1.0","jest":"^28.1.1","ts-jest":"^28.0.5","ts-loader":"^9.2.5","ts-node":"^10.1.0","webpack":"^5.64.4","webpack-cli":"^4.7.2"},"jest":{"transform":{"\\\\.tsx?$":"ts-jest"},"testRegex":"(.*\\\\.(test))\\\\.(ts|tsx)$","moduleFileExtensions":["ts","tsx","js","json"],"moduleNameMapper":{"^~/(.*)":"<rootDir>/src/$1"},"testEnvironmentOptions":{"url":"http://localhost/"}}}');
|
|
7571
7991
|
|
|
7572
7992
|
/***/ })
|
|
7573
7993
|
|
|
@@ -7632,9 +8052,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
7632
8052
|
|
|
7633
8053
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
7634
8054
|
|
|
7635
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
8055
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
7636
8056
|
|
|
7637
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
8057
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7638
8058
|
|
|
7639
8059
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7640
8060
|
|
|
@@ -7753,11 +8173,6 @@ yargs.command({
|
|
|
7753
8173
|
type: "boolean",
|
|
7754
8174
|
default: false,
|
|
7755
8175
|
description: (0, _localization.translate)("options.pushOnly.description")
|
|
7756
|
-
},
|
|
7757
|
-
noValidate: {
|
|
7758
|
-
type: "boolean",
|
|
7759
|
-
default: false,
|
|
7760
|
-
description: (0, _localization.translate)("options.noValidate.description")
|
|
7761
8176
|
}
|
|
7762
8177
|
}),
|
|
7763
8178
|
handler: async _ref2 => {
|
|
@@ -7803,7 +8218,8 @@ yargs.command({
|
|
|
7803
8218
|
});
|
|
7804
8219
|
yargs.demandCommand().pkgConf("packager").showHelpOnFail(false).version().argv;
|
|
7805
8220
|
const notifier = (0, _updateNotifier.default)({
|
|
7806
|
-
pkg: pjson
|
|
8221
|
+
pkg: pjson,
|
|
8222
|
+
shouldNotifyInNpmScript: true
|
|
7807
8223
|
});
|
|
7808
8224
|
notifier.notify({
|
|
7809
8225
|
isGlobal: false,
|