@intelligentgraphics/ig.gfx.packager 2.1.0 → 2.1.3
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 +1004 -631
- package/build/index.js.map +1 -1
- package/package.json +24 -3
- package/readme.md +14 -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
|
|
|
@@ -3450,7 +3523,8 @@ const releaseFolder = async (folderPath, options) => {
|
|
|
3450
3523
|
if (!options.pushOnly) {
|
|
3451
3524
|
writeVersionFile(fullPackageName, newVersion);
|
|
3452
3525
|
await (0, _build.buildFolders)(_objectSpread(_objectSpread({}, options), {}, {
|
|
3453
|
-
directories: [folderPath]
|
|
3526
|
+
directories: [folderPath],
|
|
3527
|
+
skipPackagesWithoutTsFiles: true
|
|
3454
3528
|
}));
|
|
3455
3529
|
}
|
|
3456
3530
|
|
|
@@ -3740,7 +3814,7 @@ var path = _interopRequireWildcard(__webpack_require__(/*! path */ "path"));
|
|
|
3740
3814
|
|
|
3741
3815
|
var fs = _interopRequireWildcard(__webpack_require__(/*! fs-extra */ "fs-extra"));
|
|
3742
3816
|
|
|
3743
|
-
var
|
|
3817
|
+
var _jszip = _interopRequireDefault(__webpack_require__(/*! jszip */ "jszip"));
|
|
3744
3818
|
|
|
3745
3819
|
var terser = _interopRequireWildcard(__webpack_require__(/*! terser */ "terser"));
|
|
3746
3820
|
|
|
@@ -3748,9 +3822,13 @@ var _ajv = _interopRequireDefault(__webpack_require__(/*! ajv */ "ajv"));
|
|
|
3748
3822
|
|
|
3749
3823
|
var _axios = _interopRequireDefault(__webpack_require__(/*! axios */ "axios"));
|
|
3750
3824
|
|
|
3825
|
+
var stream = _interopRequireWildcard(__webpack_require__(/*! stream */ "stream"));
|
|
3826
|
+
|
|
3827
|
+
var _util = __webpack_require__(/*! util */ "util");
|
|
3828
|
+
|
|
3751
3829
|
var _igTools = __webpack_require__(/*! @intelligentgraphics/ig.tools.core */ "../core/build/index.js");
|
|
3752
3830
|
|
|
3753
|
-
var
|
|
3831
|
+
var _util2 = __webpack_require__(/*! ./util */ "./src/util.ts");
|
|
3754
3832
|
|
|
3755
3833
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
3756
3834
|
|
|
@@ -3758,31 +3836,25 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
3758
3836
|
|
|
3759
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; }
|
|
3760
3838
|
|
|
3761
|
-
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; }
|
|
3762
3840
|
|
|
3763
|
-
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; }
|
|
3764
3842
|
|
|
3765
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; }
|
|
3766
3844
|
|
|
3845
|
+
const pipeline = (0, _util.promisify)(stream.pipeline);
|
|
3767
3846
|
const PLUGIN_ID = "0feba3a0-b6d1-11e6-9598-0800200c9a66";
|
|
3768
3847
|
const PACKAGE_FILE = "_Package.json";
|
|
3769
3848
|
const INDEX_FILE = "_Index.json";
|
|
3770
3849
|
const ANIMATION_FILE = ".animation.json";
|
|
3771
|
-
var Mode;
|
|
3772
|
-
|
|
3773
|
-
(function (Mode) {
|
|
3774
|
-
Mode[Mode["Standard"] = 0] = "Standard";
|
|
3775
|
-
Mode[Mode["IG_GFX"] = 1] = "IG_GFX";
|
|
3776
|
-
})(Mode || (Mode = {}));
|
|
3777
|
-
|
|
3778
3850
|
let validateSchema;
|
|
3779
3851
|
const runtimeScripts = ["Interactor", "Core", "Mixed"];
|
|
3780
3852
|
const notRuntimeScripts = ["Context", "Evaluator"];
|
|
3781
3853
|
|
|
3782
3854
|
const executePackager = async options => {
|
|
3783
|
-
const logStep = step => (0,
|
|
3855
|
+
const logStep = step => (0, _util2.logPackageMessage)(options.data.Package, step);
|
|
3784
3856
|
|
|
3785
|
-
const packageName = `${options.
|
|
3857
|
+
const packageName = `${options.data.Package}_${options.version}`;
|
|
3786
3858
|
const binDir = path.join(options.cwd, "bin");
|
|
3787
3859
|
fs.ensureDirSync(binDir);
|
|
3788
3860
|
const zipFilePath = path.join(binDir, packageName + ".zip");
|
|
@@ -3805,7 +3877,8 @@ const buildArchive = async ({
|
|
|
3805
3877
|
domain,
|
|
3806
3878
|
subdomain,
|
|
3807
3879
|
cwd,
|
|
3808
|
-
folderPath
|
|
3880
|
+
folderPath,
|
|
3881
|
+
data
|
|
3809
3882
|
}, zipFilePath, logStep) => {
|
|
3810
3883
|
if (validateSchema === undefined) {
|
|
3811
3884
|
validateSchema = await _axios.default.get("https://archive.intelligentgraphics.biz/schemas/gfx/animation.json").then(({
|
|
@@ -3819,41 +3892,14 @@ const buildArchive = async ({
|
|
|
3819
3892
|
}).compile(data));
|
|
3820
3893
|
}
|
|
3821
3894
|
|
|
3822
|
-
let mode = Mode.Standard;
|
|
3823
|
-
|
|
3824
|
-
if (domain === "IG") {
|
|
3825
|
-
switch (subdomain) {
|
|
3826
|
-
case "GFX.Standard":
|
|
3827
|
-
case "GFX.Furniture":
|
|
3828
|
-
mode = Mode.IG_GFX;
|
|
3829
|
-
console.log("Special Mode: IG.GFX");
|
|
3830
|
-
break;
|
|
3831
|
-
}
|
|
3832
|
-
}
|
|
3833
|
-
|
|
3834
3895
|
const scriptDirectories = [];
|
|
3835
3896
|
let primaryScriptDir;
|
|
3836
3897
|
const libFilePath = path.join(cwd, "bin", `${domain}.${subdomain}.min.js`);
|
|
3837
3898
|
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
if (dir === "Standard") {
|
|
3844
|
-
scriptDirectories.push(path.join(cwd, "src", dir, "images"));
|
|
3845
|
-
}
|
|
3846
|
-
|
|
3847
|
-
break;
|
|
3848
|
-
|
|
3849
|
-
default:
|
|
3850
|
-
if (fs.existsSync(path.join(folderPath, "Scripts"))) {
|
|
3851
|
-
scriptDirectories.push(path.join(folderPath, "Scripts"));
|
|
3852
|
-
} else {
|
|
3853
|
-
scriptDirectories.push(folderPath);
|
|
3854
|
-
}
|
|
3855
|
-
|
|
3856
|
-
break;
|
|
3899
|
+
if (fs.existsSync(path.join(folderPath, "Scripts"))) {
|
|
3900
|
+
scriptDirectories.push(path.join(folderPath, "Scripts"));
|
|
3901
|
+
} else {
|
|
3902
|
+
scriptDirectories.push(folderPath);
|
|
3857
3903
|
}
|
|
3858
3904
|
|
|
3859
3905
|
try {
|
|
@@ -3863,6 +3909,11 @@ const buildArchive = async ({
|
|
|
3863
3909
|
throw new Error(`Expected scripts directory "${scriptDirectories[0]}" to exist`);
|
|
3864
3910
|
}
|
|
3865
3911
|
|
|
3912
|
+
if (subdomain === "GFX.Standard") {
|
|
3913
|
+
logStep(`Including Images folder`);
|
|
3914
|
+
scriptDirectories.push(path.join(folderPath, "Images"));
|
|
3915
|
+
}
|
|
3916
|
+
|
|
3866
3917
|
const manifest = _igTools.FileUtil.readJsonFile(path.join(primaryScriptDir, PACKAGE_FILE));
|
|
3867
3918
|
|
|
3868
3919
|
if (manifest !== undefined) {
|
|
@@ -3913,13 +3964,7 @@ Packaging without a javascript file is only allowed when animation json files ar
|
|
|
3913
3964
|
fs.unlinkSync(zipFilePath);
|
|
3914
3965
|
} catch {}
|
|
3915
3966
|
|
|
3916
|
-
const
|
|
3917
|
-
const archive = (0, _archiver.default)("zip", {
|
|
3918
|
-
zlib: {
|
|
3919
|
-
level: 9
|
|
3920
|
-
}
|
|
3921
|
-
});
|
|
3922
|
-
archive.pipe(zipOutputStream);
|
|
3967
|
+
const archive = new _jszip.default();
|
|
3923
3968
|
let library = "";
|
|
3924
3969
|
|
|
3925
3970
|
if (libFile) {
|
|
@@ -3932,22 +3977,19 @@ Packaging without a javascript file is only allowed when animation json files ar
|
|
|
3932
3977
|
* Copyright (C) ${date.getFullYear()} intelligentgraphics. All Rights Reserved. */`;
|
|
3933
3978
|
}
|
|
3934
3979
|
|
|
3935
|
-
if (!library.includes(`${domain}.${subdomain}`)) {
|
|
3936
|
-
library += `
|
|
3937
|
-
var ${domain};
|
|
3938
|
-
(function (${domain}) {
|
|
3939
|
-
var ${subdomain};
|
|
3940
|
-
(function (${subdomain}) {
|
|
3941
|
-
})(${subdomain} = ${domain}.${subdomain} || (${domain}.${subdomain} = {}));
|
|
3942
|
-
})(${domain} || (${domain} = {}));
|
|
3943
|
-
`;
|
|
3944
|
-
}
|
|
3945
|
-
|
|
3946
3980
|
if (animations.size > 0) {
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3981
|
+
const [scriptDomain, scriptSubdomain] = data.Scope.split(".");
|
|
3982
|
+
const scope = `${scriptDomain}.${scriptSubdomain}`;
|
|
3983
|
+
|
|
3984
|
+
if (!library.includes(scope)) {
|
|
3985
|
+
library += `
|
|
3986
|
+
var ${scriptDomain};
|
|
3987
|
+
(function (${scriptDomain}) {
|
|
3988
|
+
var ${scriptSubdomain};
|
|
3989
|
+
(function (${scriptSubdomain}) {
|
|
3990
|
+
})(${scriptSubdomain} = ${scriptDomain}.${scriptSubdomain} || (${scriptDomain}.${scriptSubdomain} = {}));
|
|
3991
|
+
})(${scriptDomain} || (${scriptDomain} = {}));
|
|
3992
|
+
`;
|
|
3951
3993
|
}
|
|
3952
3994
|
|
|
3953
3995
|
for (const [name, data] of animations) {
|
|
@@ -3959,9 +4001,7 @@ Packaging without a javascript file is only allowed when animation json files ar
|
|
|
3959
4001
|
const minifyResult = terser.minify(library, {
|
|
3960
4002
|
ecma: 5
|
|
3961
4003
|
});
|
|
3962
|
-
archive.
|
|
3963
|
-
name: `${domain}.${subdomain}.js`
|
|
3964
|
-
});
|
|
4004
|
+
archive.file(`${data.Package}.js`, minifyResult.code);
|
|
3965
4005
|
|
|
3966
4006
|
for (const directory of scriptDirectories) {
|
|
3967
4007
|
try {
|
|
@@ -3987,16 +4027,15 @@ Packaging without a javascript file is only allowed when animation json files ar
|
|
|
3987
4027
|
continue;
|
|
3988
4028
|
}
|
|
3989
4029
|
|
|
3990
|
-
archive.
|
|
3991
|
-
name: file
|
|
3992
|
-
});
|
|
4030
|
+
archive.file(file, fs.createReadStream(path.join(directory, file)));
|
|
3993
4031
|
}
|
|
3994
4032
|
} catch (err) {
|
|
3995
4033
|
console.error(`Script directory "${directory}" does not exist`);
|
|
3996
4034
|
}
|
|
3997
4035
|
}
|
|
3998
4036
|
|
|
3999
|
-
|
|
4037
|
+
const zipOutputStream = fs.createWriteStream(zipFilePath);
|
|
4038
|
+
await pipeline(archive.generateNodeStream(), zipOutputStream);
|
|
4000
4039
|
};
|
|
4001
4040
|
|
|
4002
4041
|
const uploadArchive = async ({
|
|
@@ -4176,7 +4215,7 @@ exports.loadDataFromFolder = loadDataFromFolder;
|
|
|
4176
4215
|
Object.defineProperty(exports, "__esModule", ({
|
|
4177
4216
|
value: true
|
|
4178
4217
|
}));
|
|
4179
|
-
exports.tryReadTsConfig = exports.build = void 0;
|
|
4218
|
+
exports.tryReadTsConfig = exports.findTypescriptFiles = exports.build = void 0;
|
|
4180
4219
|
|
|
4181
4220
|
__webpack_require__(/*! core-js/modules/es.promise.js */ "../../node_modules/core-js/modules/es.promise.js");
|
|
4182
4221
|
|
|
@@ -4194,9 +4233,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
4194
4233
|
|
|
4195
4234
|
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; }
|
|
4196
4235
|
|
|
4197
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
4236
|
+
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; }
|
|
4198
4237
|
|
|
4199
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
4238
|
+
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; }
|
|
4200
4239
|
|
|
4201
4240
|
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; }
|
|
4202
4241
|
|
|
@@ -4215,6 +4254,14 @@ const tryReadTsConfig = folderPath => {
|
|
|
4215
4254
|
|
|
4216
4255
|
exports.tryReadTsConfig = tryReadTsConfig;
|
|
4217
4256
|
|
|
4257
|
+
const findTypescriptFiles = folderPath => glob.sync("**/*.ts", {
|
|
4258
|
+
absolute: true,
|
|
4259
|
+
cwd: folderPath,
|
|
4260
|
+
ignore: "node_modules/**/*"
|
|
4261
|
+
});
|
|
4262
|
+
|
|
4263
|
+
exports.findTypescriptFiles = findTypescriptFiles;
|
|
4264
|
+
|
|
4218
4265
|
const build = async (folderPath, options) => {
|
|
4219
4266
|
const config = tryReadTsConfig(folderPath);
|
|
4220
4267
|
config.compilerOptions.lib = ["es5", "dom"];
|
|
@@ -4260,11 +4307,12 @@ ${data}`;
|
|
|
4260
4307
|
}
|
|
4261
4308
|
};
|
|
4262
4309
|
|
|
4263
|
-
const files =
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
}
|
|
4310
|
+
const files = findTypescriptFiles(folderPath);
|
|
4311
|
+
|
|
4312
|
+
if (files.length === 0) {
|
|
4313
|
+
throw new Error(`Expected typescript files to exist when building a package. Packages only constisting of animation jsons do not need to be built.`);
|
|
4314
|
+
}
|
|
4315
|
+
|
|
4268
4316
|
const programOptions = {
|
|
4269
4317
|
rootNames: files,
|
|
4270
4318
|
options: compilerOptions,
|
|
@@ -4329,9 +4377,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
4329
4377
|
|
|
4330
4378
|
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; }
|
|
4331
4379
|
|
|
4332
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
4380
|
+
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; }
|
|
4333
4381
|
|
|
4334
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
4382
|
+
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; }
|
|
4335
4383
|
|
|
4336
4384
|
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; }
|
|
4337
4385
|
|
|
@@ -4446,16 +4494,15 @@ exports.parsePackageDomains = parsePackageDomains;
|
|
|
4446
4494
|
\**********************************************************/
|
|
4447
4495
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4448
4496
|
|
|
4449
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4450
4497
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
4451
4498
|
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../../node_modules/core-js/internals/try-to-string.js");
|
|
4452
4499
|
|
|
4453
|
-
var TypeError =
|
|
4500
|
+
var $TypeError = TypeError;
|
|
4454
4501
|
|
|
4455
4502
|
// `Assert: IsCallable(argument) is true`
|
|
4456
4503
|
module.exports = function (argument) {
|
|
4457
4504
|
if (isCallable(argument)) return argument;
|
|
4458
|
-
throw TypeError(tryToString(argument) + ' is not a function');
|
|
4505
|
+
throw $TypeError(tryToString(argument) + ' is not a function');
|
|
4459
4506
|
};
|
|
4460
4507
|
|
|
4461
4508
|
|
|
@@ -4467,16 +4514,15 @@ module.exports = function (argument) {
|
|
|
4467
4514
|
\*************************************************************/
|
|
4468
4515
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4469
4516
|
|
|
4470
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4471
4517
|
var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ "../../node_modules/core-js/internals/is-constructor.js");
|
|
4472
4518
|
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../../node_modules/core-js/internals/try-to-string.js");
|
|
4473
4519
|
|
|
4474
|
-
var TypeError =
|
|
4520
|
+
var $TypeError = TypeError;
|
|
4475
4521
|
|
|
4476
4522
|
// `Assert: IsConstructor(argument) is true`
|
|
4477
4523
|
module.exports = function (argument) {
|
|
4478
4524
|
if (isConstructor(argument)) return argument;
|
|
4479
|
-
throw TypeError(tryToString(argument) + ' is not a constructor');
|
|
4525
|
+
throw $TypeError(tryToString(argument) + ' is not a constructor');
|
|
4480
4526
|
};
|
|
4481
4527
|
|
|
4482
4528
|
|
|
@@ -4488,15 +4534,14 @@ module.exports = function (argument) {
|
|
|
4488
4534
|
\********************************************************************/
|
|
4489
4535
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4490
4536
|
|
|
4491
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4492
4537
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
4493
4538
|
|
|
4494
|
-
var String =
|
|
4495
|
-
var TypeError =
|
|
4539
|
+
var $String = String;
|
|
4540
|
+
var $TypeError = TypeError;
|
|
4496
4541
|
|
|
4497
4542
|
module.exports = function (argument) {
|
|
4498
4543
|
if (typeof argument == 'object' || isCallable(argument)) return argument;
|
|
4499
|
-
throw TypeError("Can't set " + String(argument) + ' as a prototype');
|
|
4544
|
+
throw $TypeError("Can't set " + $String(argument) + ' as a prototype');
|
|
4500
4545
|
};
|
|
4501
4546
|
|
|
4502
4547
|
|
|
@@ -4508,14 +4553,13 @@ module.exports = function (argument) {
|
|
|
4508
4553
|
\***********************************************************/
|
|
4509
4554
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4510
4555
|
|
|
4511
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4512
4556
|
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../../node_modules/core-js/internals/object-is-prototype-of.js");
|
|
4513
4557
|
|
|
4514
|
-
var TypeError =
|
|
4558
|
+
var $TypeError = TypeError;
|
|
4515
4559
|
|
|
4516
4560
|
module.exports = function (it, Prototype) {
|
|
4517
4561
|
if (isPrototypeOf(Prototype, it)) return it;
|
|
4518
|
-
throw TypeError('Incorrect invocation');
|
|
4562
|
+
throw $TypeError('Incorrect invocation');
|
|
4519
4563
|
};
|
|
4520
4564
|
|
|
4521
4565
|
|
|
@@ -4527,16 +4571,15 @@ module.exports = function (it, Prototype) {
|
|
|
4527
4571
|
\*********************************************************/
|
|
4528
4572
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4529
4573
|
|
|
4530
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4531
4574
|
var isObject = __webpack_require__(/*! ../internals/is-object */ "../../node_modules/core-js/internals/is-object.js");
|
|
4532
4575
|
|
|
4533
|
-
var String =
|
|
4534
|
-
var TypeError =
|
|
4576
|
+
var $String = String;
|
|
4577
|
+
var $TypeError = TypeError;
|
|
4535
4578
|
|
|
4536
4579
|
// `Assert: Type(argument) is Object`
|
|
4537
4580
|
module.exports = function (argument) {
|
|
4538
4581
|
if (isObject(argument)) return argument;
|
|
4539
|
-
throw TypeError(String(argument) + ' is not an object');
|
|
4582
|
+
throw $TypeError($String(argument) + ' is not an object');
|
|
4540
4583
|
};
|
|
4541
4584
|
|
|
4542
4585
|
|
|
@@ -4621,7 +4664,7 @@ try {
|
|
|
4621
4664
|
iteratorWithReturn[ITERATOR] = function () {
|
|
4622
4665
|
return this;
|
|
4623
4666
|
};
|
|
4624
|
-
// eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
|
|
4667
|
+
// eslint-disable-next-line es-x/no-array-from, no-throw-literal -- required for testing
|
|
4625
4668
|
Array.from(iteratorWithReturn, function () { throw 2; });
|
|
4626
4669
|
} catch (error) { /* empty */ }
|
|
4627
4670
|
|
|
@@ -4669,14 +4712,13 @@ module.exports = function (it) {
|
|
|
4669
4712
|
\*******************************************************/
|
|
4670
4713
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4671
4714
|
|
|
4672
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4673
4715
|
var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ "../../node_modules/core-js/internals/to-string-tag-support.js");
|
|
4674
4716
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
4675
4717
|
var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "../../node_modules/core-js/internals/classof-raw.js");
|
|
4676
4718
|
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../../node_modules/core-js/internals/well-known-symbol.js");
|
|
4677
4719
|
|
|
4678
4720
|
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
4679
|
-
var Object =
|
|
4721
|
+
var $Object = Object;
|
|
4680
4722
|
|
|
4681
4723
|
// ES3 wrong here
|
|
4682
4724
|
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
@@ -4693,7 +4735,7 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
|
4693
4735
|
var O, tag, result;
|
|
4694
4736
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
4695
4737
|
// @@toStringTag case
|
|
4696
|
-
: typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
4738
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
4697
4739
|
// builtinTag case
|
|
4698
4740
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
4699
4741
|
// ES3 arguments fallback
|
|
@@ -4714,13 +4756,15 @@ var ownKeys = __webpack_require__(/*! ../internals/own-keys */ "../../node_modul
|
|
|
4714
4756
|
var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../../node_modules/core-js/internals/object-get-own-property-descriptor.js");
|
|
4715
4757
|
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../../node_modules/core-js/internals/object-define-property.js");
|
|
4716
4758
|
|
|
4717
|
-
module.exports = function (target, source) {
|
|
4759
|
+
module.exports = function (target, source, exceptions) {
|
|
4718
4760
|
var keys = ownKeys(source);
|
|
4719
4761
|
var defineProperty = definePropertyModule.f;
|
|
4720
4762
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
4721
4763
|
for (var i = 0; i < keys.length; i++) {
|
|
4722
4764
|
var key = keys[i];
|
|
4723
|
-
if (!hasOwn(target, key)
|
|
4765
|
+
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
|
|
4766
|
+
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
4767
|
+
}
|
|
4724
4768
|
}
|
|
4725
4769
|
};
|
|
4726
4770
|
|
|
@@ -4763,6 +4807,63 @@ module.exports = function (bitmap, value) {
|
|
|
4763
4807
|
};
|
|
4764
4808
|
|
|
4765
4809
|
|
|
4810
|
+
/***/ }),
|
|
4811
|
+
|
|
4812
|
+
/***/ "../../node_modules/core-js/internals/define-built-in.js":
|
|
4813
|
+
/*!***************************************************************!*\
|
|
4814
|
+
!*** ../../node_modules/core-js/internals/define-built-in.js ***!
|
|
4815
|
+
\***************************************************************/
|
|
4816
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4817
|
+
|
|
4818
|
+
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
4819
|
+
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../../node_modules/core-js/internals/object-define-property.js");
|
|
4820
|
+
var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ "../../node_modules/core-js/internals/make-built-in.js");
|
|
4821
|
+
var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../../node_modules/core-js/internals/define-global-property.js");
|
|
4822
|
+
|
|
4823
|
+
module.exports = function (O, key, value, options) {
|
|
4824
|
+
if (!options) options = {};
|
|
4825
|
+
var simple = options.enumerable;
|
|
4826
|
+
var name = options.name !== undefined ? options.name : key;
|
|
4827
|
+
if (isCallable(value)) makeBuiltIn(value, name, options);
|
|
4828
|
+
if (options.global) {
|
|
4829
|
+
if (simple) O[key] = value;
|
|
4830
|
+
else defineGlobalProperty(key, value);
|
|
4831
|
+
} else {
|
|
4832
|
+
if (!options.unsafe) delete O[key];
|
|
4833
|
+
else if (O[key]) simple = true;
|
|
4834
|
+
if (simple) O[key] = value;
|
|
4835
|
+
else definePropertyModule.f(O, key, {
|
|
4836
|
+
value: value,
|
|
4837
|
+
enumerable: false,
|
|
4838
|
+
configurable: !options.nonConfigurable,
|
|
4839
|
+
writable: !options.nonWritable
|
|
4840
|
+
});
|
|
4841
|
+
} return O;
|
|
4842
|
+
};
|
|
4843
|
+
|
|
4844
|
+
|
|
4845
|
+
/***/ }),
|
|
4846
|
+
|
|
4847
|
+
/***/ "../../node_modules/core-js/internals/define-global-property.js":
|
|
4848
|
+
/*!**********************************************************************!*\
|
|
4849
|
+
!*** ../../node_modules/core-js/internals/define-global-property.js ***!
|
|
4850
|
+
\**********************************************************************/
|
|
4851
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4852
|
+
|
|
4853
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4854
|
+
|
|
4855
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
4856
|
+
var defineProperty = Object.defineProperty;
|
|
4857
|
+
|
|
4858
|
+
module.exports = function (key, value) {
|
|
4859
|
+
try {
|
|
4860
|
+
defineProperty(global, key, { value: value, configurable: true, writable: true });
|
|
4861
|
+
} catch (error) {
|
|
4862
|
+
global[key] = value;
|
|
4863
|
+
} return value;
|
|
4864
|
+
};
|
|
4865
|
+
|
|
4866
|
+
|
|
4766
4867
|
/***/ }),
|
|
4767
4868
|
|
|
4768
4869
|
/***/ "../../node_modules/core-js/internals/descriptors.js":
|
|
@@ -4775,7 +4876,7 @@ var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/co
|
|
|
4775
4876
|
|
|
4776
4877
|
// Detect IE8's incomplete defineProperty implementation
|
|
4777
4878
|
module.exports = !fails(function () {
|
|
4778
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
4879
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
4779
4880
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
4780
4881
|
});
|
|
4781
4882
|
|
|
@@ -4808,7 +4909,7 @@ module.exports = function (it) {
|
|
|
4808
4909
|
\*****************************************************************/
|
|
4809
4910
|
/***/ ((module) => {
|
|
4810
4911
|
|
|
4811
|
-
module.exports = typeof window == 'object';
|
|
4912
|
+
module.exports = typeof window == 'object' && typeof Deno != 'object';
|
|
4812
4913
|
|
|
4813
4914
|
|
|
4814
4915
|
/***/ }),
|
|
@@ -4946,25 +5047,25 @@ module.exports = [
|
|
|
4946
5047
|
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4947
5048
|
var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../../node_modules/core-js/internals/object-get-own-property-descriptor.js").f);
|
|
4948
5049
|
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../../node_modules/core-js/internals/create-non-enumerable-property.js");
|
|
4949
|
-
var
|
|
4950
|
-
var
|
|
5050
|
+
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../../node_modules/core-js/internals/define-built-in.js");
|
|
5051
|
+
var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../../node_modules/core-js/internals/define-global-property.js");
|
|
4951
5052
|
var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "../../node_modules/core-js/internals/copy-constructor-properties.js");
|
|
4952
5053
|
var isForced = __webpack_require__(/*! ../internals/is-forced */ "../../node_modules/core-js/internals/is-forced.js");
|
|
4953
5054
|
|
|
4954
5055
|
/*
|
|
4955
|
-
options.target
|
|
4956
|
-
options.global
|
|
4957
|
-
options.stat
|
|
4958
|
-
options.proto
|
|
4959
|
-
options.real
|
|
4960
|
-
options.forced
|
|
4961
|
-
options.bind
|
|
4962
|
-
options.wrap
|
|
4963
|
-
options.unsafe
|
|
4964
|
-
options.sham
|
|
4965
|
-
options.enumerable
|
|
4966
|
-
options.
|
|
4967
|
-
options.name
|
|
5056
|
+
options.target - name of the target object
|
|
5057
|
+
options.global - target is the global object
|
|
5058
|
+
options.stat - export as static methods of target
|
|
5059
|
+
options.proto - export as prototype methods of target
|
|
5060
|
+
options.real - real prototype method for the `pure` version
|
|
5061
|
+
options.forced - export even if the native feature is available
|
|
5062
|
+
options.bind - bind methods to the target, required for the `pure` version
|
|
5063
|
+
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
5064
|
+
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
5065
|
+
options.sham - add a flag to not completely full polyfills
|
|
5066
|
+
options.enumerable - export as enumerable property
|
|
5067
|
+
options.dontCallGetSet - prevent calling a getter on target
|
|
5068
|
+
options.name - the .name of the function if it does not match the key
|
|
4968
5069
|
*/
|
|
4969
5070
|
module.exports = function (options, source) {
|
|
4970
5071
|
var TARGET = options.target;
|
|
@@ -4974,13 +5075,13 @@ module.exports = function (options, source) {
|
|
|
4974
5075
|
if (GLOBAL) {
|
|
4975
5076
|
target = global;
|
|
4976
5077
|
} else if (STATIC) {
|
|
4977
|
-
target = global[TARGET] ||
|
|
5078
|
+
target = global[TARGET] || defineGlobalProperty(TARGET, {});
|
|
4978
5079
|
} else {
|
|
4979
5080
|
target = (global[TARGET] || {}).prototype;
|
|
4980
5081
|
}
|
|
4981
5082
|
if (target) for (key in source) {
|
|
4982
5083
|
sourceProperty = source[key];
|
|
4983
|
-
if (options.
|
|
5084
|
+
if (options.dontCallGetSet) {
|
|
4984
5085
|
descriptor = getOwnPropertyDescriptor(target, key);
|
|
4985
5086
|
targetProperty = descriptor && descriptor.value;
|
|
4986
5087
|
} else targetProperty = target[key];
|
|
@@ -4994,8 +5095,7 @@ module.exports = function (options, source) {
|
|
|
4994
5095
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
4995
5096
|
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
|
4996
5097
|
}
|
|
4997
|
-
|
|
4998
|
-
redefine(target, key, sourceProperty, options);
|
|
5098
|
+
defineBuiltIn(target, key, sourceProperty, options);
|
|
4999
5099
|
}
|
|
5000
5100
|
};
|
|
5001
5101
|
|
|
@@ -5023,15 +5123,16 @@ module.exports = function (exec) {
|
|
|
5023
5123
|
/*!**************************************************************!*\
|
|
5024
5124
|
!*** ../../node_modules/core-js/internals/function-apply.js ***!
|
|
5025
5125
|
\**************************************************************/
|
|
5026
|
-
/***/ ((module) => {
|
|
5126
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5127
|
+
|
|
5128
|
+
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../../node_modules/core-js/internals/function-bind-native.js");
|
|
5027
5129
|
|
|
5028
5130
|
var FunctionPrototype = Function.prototype;
|
|
5029
5131
|
var apply = FunctionPrototype.apply;
|
|
5030
|
-
var bind = FunctionPrototype.bind;
|
|
5031
5132
|
var call = FunctionPrototype.call;
|
|
5032
5133
|
|
|
5033
|
-
// eslint-disable-next-line es/no-reflect -- safe
|
|
5034
|
-
module.exports = typeof Reflect == 'object' && Reflect.apply || (
|
|
5134
|
+
// eslint-disable-next-line es-x/no-reflect -- safe
|
|
5135
|
+
module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
|
|
5035
5136
|
return call.apply(apply, arguments);
|
|
5036
5137
|
});
|
|
5037
5138
|
|
|
@@ -5046,29 +5147,50 @@ module.exports = typeof Reflect == 'object' && Reflect.apply || (bind ? call.bin
|
|
|
5046
5147
|
|
|
5047
5148
|
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
5048
5149
|
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../../node_modules/core-js/internals/a-callable.js");
|
|
5150
|
+
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../../node_modules/core-js/internals/function-bind-native.js");
|
|
5049
5151
|
|
|
5050
5152
|
var bind = uncurryThis(uncurryThis.bind);
|
|
5051
5153
|
|
|
5052
5154
|
// optional / simple context binding
|
|
5053
5155
|
module.exports = function (fn, that) {
|
|
5054
5156
|
aCallable(fn);
|
|
5055
|
-
return that === undefined ? fn :
|
|
5157
|
+
return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {
|
|
5056
5158
|
return fn.apply(that, arguments);
|
|
5057
5159
|
};
|
|
5058
5160
|
};
|
|
5059
5161
|
|
|
5060
5162
|
|
|
5163
|
+
/***/ }),
|
|
5164
|
+
|
|
5165
|
+
/***/ "../../node_modules/core-js/internals/function-bind-native.js":
|
|
5166
|
+
/*!********************************************************************!*\
|
|
5167
|
+
!*** ../../node_modules/core-js/internals/function-bind-native.js ***!
|
|
5168
|
+
\********************************************************************/
|
|
5169
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5170
|
+
|
|
5171
|
+
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
5172
|
+
|
|
5173
|
+
module.exports = !fails(function () {
|
|
5174
|
+
// eslint-disable-next-line es-x/no-function-prototype-bind -- safe
|
|
5175
|
+
var test = (function () { /* empty */ }).bind();
|
|
5176
|
+
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
5177
|
+
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
5178
|
+
});
|
|
5179
|
+
|
|
5180
|
+
|
|
5061
5181
|
/***/ }),
|
|
5062
5182
|
|
|
5063
5183
|
/***/ "../../node_modules/core-js/internals/function-call.js":
|
|
5064
5184
|
/*!*************************************************************!*\
|
|
5065
5185
|
!*** ../../node_modules/core-js/internals/function-call.js ***!
|
|
5066
5186
|
\*************************************************************/
|
|
5067
|
-
/***/ ((module) => {
|
|
5187
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5188
|
+
|
|
5189
|
+
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../../node_modules/core-js/internals/function-bind-native.js");
|
|
5068
5190
|
|
|
5069
5191
|
var call = Function.prototype.call;
|
|
5070
5192
|
|
|
5071
|
-
module.exports =
|
|
5193
|
+
module.exports = NATIVE_BIND ? call.bind(call) : function () {
|
|
5072
5194
|
return call.apply(call, arguments);
|
|
5073
5195
|
};
|
|
5074
5196
|
|
|
@@ -5085,7 +5207,7 @@ var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../nod
|
|
|
5085
5207
|
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
5086
5208
|
|
|
5087
5209
|
var FunctionPrototype = Function.prototype;
|
|
5088
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
5210
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
5089
5211
|
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
|
|
5090
5212
|
|
|
5091
5213
|
var EXISTS = hasOwn(FunctionPrototype, 'name');
|
|
@@ -5106,15 +5228,17 @@ module.exports = {
|
|
|
5106
5228
|
/*!*********************************************************************!*\
|
|
5107
5229
|
!*** ../../node_modules/core-js/internals/function-uncurry-this.js ***!
|
|
5108
5230
|
\*********************************************************************/
|
|
5109
|
-
/***/ ((module) => {
|
|
5231
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5232
|
+
|
|
5233
|
+
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../../node_modules/core-js/internals/function-bind-native.js");
|
|
5110
5234
|
|
|
5111
5235
|
var FunctionPrototype = Function.prototype;
|
|
5112
5236
|
var bind = FunctionPrototype.bind;
|
|
5113
5237
|
var call = FunctionPrototype.call;
|
|
5114
|
-
var
|
|
5238
|
+
var uncurryThis = NATIVE_BIND && bind.bind(call, call);
|
|
5115
5239
|
|
|
5116
|
-
module.exports =
|
|
5117
|
-
return fn &&
|
|
5240
|
+
module.exports = NATIVE_BIND ? function (fn) {
|
|
5241
|
+
return fn && uncurryThis(fn);
|
|
5118
5242
|
} : function (fn) {
|
|
5119
5243
|
return fn && function () {
|
|
5120
5244
|
return call.apply(fn, arguments);
|
|
@@ -5172,19 +5296,18 @@ module.exports = function (it) {
|
|
|
5172
5296
|
\************************************************************/
|
|
5173
5297
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5174
5298
|
|
|
5175
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5176
5299
|
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
5177
5300
|
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../../node_modules/core-js/internals/a-callable.js");
|
|
5178
5301
|
var anObject = __webpack_require__(/*! ../internals/an-object */ "../../node_modules/core-js/internals/an-object.js");
|
|
5179
5302
|
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../../node_modules/core-js/internals/try-to-string.js");
|
|
5180
5303
|
var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "../../node_modules/core-js/internals/get-iterator-method.js");
|
|
5181
5304
|
|
|
5182
|
-
var TypeError =
|
|
5305
|
+
var $TypeError = TypeError;
|
|
5183
5306
|
|
|
5184
5307
|
module.exports = function (argument, usingIterator) {
|
|
5185
5308
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
|
|
5186
5309
|
if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
|
|
5187
|
-
throw TypeError(tryToString(argument) + ' is not iterable');
|
|
5310
|
+
throw $TypeError(tryToString(argument) + ' is not iterable');
|
|
5188
5311
|
};
|
|
5189
5312
|
|
|
5190
5313
|
|
|
@@ -5220,7 +5343,7 @@ var check = function (it) {
|
|
|
5220
5343
|
|
|
5221
5344
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
5222
5345
|
module.exports =
|
|
5223
|
-
// eslint-disable-next-line es/no-global-this -- safe
|
|
5346
|
+
// eslint-disable-next-line es-x/no-global-this -- safe
|
|
5224
5347
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
5225
5348
|
check(typeof window == 'object' && window) ||
|
|
5226
5349
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
@@ -5245,6 +5368,7 @@ var hasOwnProperty = uncurryThis({}.hasOwnProperty);
|
|
|
5245
5368
|
|
|
5246
5369
|
// `HasOwnProperty` abstract operation
|
|
5247
5370
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
5371
|
+
// eslint-disable-next-line es-x/no-object-hasown -- safe
|
|
5248
5372
|
module.exports = Object.hasOwn || function hasOwn(it, key) {
|
|
5249
5373
|
return hasOwnProperty(toObject(it), key);
|
|
5250
5374
|
};
|
|
@@ -5304,9 +5428,9 @@ var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../nod
|
|
|
5304
5428
|
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
5305
5429
|
var createElement = __webpack_require__(/*! ../internals/document-create-element */ "../../node_modules/core-js/internals/document-create-element.js");
|
|
5306
5430
|
|
|
5307
|
-
//
|
|
5431
|
+
// Thanks to IE8 for its funny defineProperty
|
|
5308
5432
|
module.exports = !DESCRIPTORS && !fails(function () {
|
|
5309
|
-
// eslint-disable-next-line es/no-object-defineproperty --
|
|
5433
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
5310
5434
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
5311
5435
|
get: function () { return 7; }
|
|
5312
5436
|
}).a != 7;
|
|
@@ -5321,22 +5445,21 @@ module.exports = !DESCRIPTORS && !fails(function () {
|
|
|
5321
5445
|
\**************************************************************/
|
|
5322
5446
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5323
5447
|
|
|
5324
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5325
5448
|
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
5326
5449
|
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
5327
5450
|
var classof = __webpack_require__(/*! ../internals/classof-raw */ "../../node_modules/core-js/internals/classof-raw.js");
|
|
5328
5451
|
|
|
5329
|
-
var Object =
|
|
5452
|
+
var $Object = Object;
|
|
5330
5453
|
var split = uncurryThis(''.split);
|
|
5331
5454
|
|
|
5332
5455
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
5333
5456
|
module.exports = fails(function () {
|
|
5334
5457
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
5335
5458
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
5336
|
-
return
|
|
5459
|
+
return !$Object('z').propertyIsEnumerable(0);
|
|
5337
5460
|
}) ? function (it) {
|
|
5338
|
-
return classof(it) == 'String' ? split(it, '') : Object(it);
|
|
5339
|
-
} : Object;
|
|
5461
|
+
return classof(it) == 'String' ? split(it, '') : $Object(it);
|
|
5462
|
+
} : $Object;
|
|
5340
5463
|
|
|
5341
5464
|
|
|
5342
5465
|
/***/ }),
|
|
@@ -5499,7 +5622,7 @@ var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
|
5499
5622
|
var exec = uncurryThis(constructorRegExp.exec);
|
|
5500
5623
|
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
5501
5624
|
|
|
5502
|
-
var isConstructorModern = function (argument) {
|
|
5625
|
+
var isConstructorModern = function isConstructor(argument) {
|
|
5503
5626
|
if (!isCallable(argument)) return false;
|
|
5504
5627
|
try {
|
|
5505
5628
|
construct(noop, empty, argument);
|
|
@@ -5509,16 +5632,25 @@ var isConstructorModern = function (argument) {
|
|
|
5509
5632
|
}
|
|
5510
5633
|
};
|
|
5511
5634
|
|
|
5512
|
-
var isConstructorLegacy = function (argument) {
|
|
5635
|
+
var isConstructorLegacy = function isConstructor(argument) {
|
|
5513
5636
|
if (!isCallable(argument)) return false;
|
|
5514
5637
|
switch (classof(argument)) {
|
|
5515
5638
|
case 'AsyncFunction':
|
|
5516
5639
|
case 'GeneratorFunction':
|
|
5517
5640
|
case 'AsyncGeneratorFunction': return false;
|
|
5641
|
+
}
|
|
5642
|
+
try {
|
|
5518
5643
|
// we can't check .prototype since constructors produced by .bind haven't it
|
|
5519
|
-
|
|
5644
|
+
// `Function#toString` throws on some built-it function in some legacy engines
|
|
5645
|
+
// (for example, `DOMQuad` and similar in FF41-)
|
|
5646
|
+
return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
|
|
5647
|
+
} catch (error) {
|
|
5648
|
+
return true;
|
|
5649
|
+
}
|
|
5520
5650
|
};
|
|
5521
5651
|
|
|
5652
|
+
isConstructorLegacy.sham = true;
|
|
5653
|
+
|
|
5522
5654
|
// `IsConstructor` abstract operation
|
|
5523
5655
|
// https://tc39.es/ecma262/#sec-isconstructor
|
|
5524
5656
|
module.exports = !construct || fails(function () {
|
|
@@ -5596,19 +5728,18 @@ module.exports = false;
|
|
|
5596
5728
|
\*********************************************************/
|
|
5597
5729
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5598
5730
|
|
|
5599
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5600
5731
|
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../../node_modules/core-js/internals/get-built-in.js");
|
|
5601
5732
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
5602
5733
|
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../../node_modules/core-js/internals/object-is-prototype-of.js");
|
|
5603
5734
|
var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../../node_modules/core-js/internals/use-symbol-as-uid.js");
|
|
5604
5735
|
|
|
5605
|
-
var Object =
|
|
5736
|
+
var $Object = Object;
|
|
5606
5737
|
|
|
5607
5738
|
module.exports = USE_SYMBOL_AS_UID ? function (it) {
|
|
5608
5739
|
return typeof it == 'symbol';
|
|
5609
5740
|
} : function (it) {
|
|
5610
5741
|
var $Symbol = getBuiltIn('Symbol');
|
|
5611
|
-
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, Object(it));
|
|
5742
|
+
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
|
|
5612
5743
|
};
|
|
5613
5744
|
|
|
5614
5745
|
|
|
@@ -5620,7 +5751,6 @@ module.exports = USE_SYMBOL_AS_UID ? function (it) {
|
|
|
5620
5751
|
\*******************************************************/
|
|
5621
5752
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5622
5753
|
|
|
5623
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5624
5754
|
var bind = __webpack_require__(/*! ../internals/function-bind-context */ "../../node_modules/core-js/internals/function-bind-context.js");
|
|
5625
5755
|
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
5626
5756
|
var anObject = __webpack_require__(/*! ../internals/an-object */ "../../node_modules/core-js/internals/an-object.js");
|
|
@@ -5632,7 +5762,7 @@ var getIterator = __webpack_require__(/*! ../internals/get-iterator */ "../../no
|
|
|
5632
5762
|
var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "../../node_modules/core-js/internals/get-iterator-method.js");
|
|
5633
5763
|
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../../node_modules/core-js/internals/iterator-close.js");
|
|
5634
5764
|
|
|
5635
|
-
var TypeError =
|
|
5765
|
+
var $TypeError = TypeError;
|
|
5636
5766
|
|
|
5637
5767
|
var Result = function (stopped, result) {
|
|
5638
5768
|
this.stopped = stopped;
|
|
@@ -5665,7 +5795,7 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
5665
5795
|
iterator = iterable;
|
|
5666
5796
|
} else {
|
|
5667
5797
|
iterFn = getIteratorMethod(iterable);
|
|
5668
|
-
if (!iterFn) throw TypeError(tryToString(iterable) + ' is not iterable');
|
|
5798
|
+
if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');
|
|
5669
5799
|
// optimisation for array iterators
|
|
5670
5800
|
if (isArrayIteratorMethod(iterFn)) {
|
|
5671
5801
|
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
@@ -5751,36 +5881,114 @@ module.exports = function (obj) {
|
|
|
5751
5881
|
|
|
5752
5882
|
/***/ }),
|
|
5753
5883
|
|
|
5754
|
-
/***/ "../../node_modules/core-js/internals/
|
|
5755
|
-
|
|
5756
|
-
!*** ../../node_modules/core-js/internals/
|
|
5757
|
-
|
|
5884
|
+
/***/ "../../node_modules/core-js/internals/make-built-in.js":
|
|
5885
|
+
/*!*************************************************************!*\
|
|
5886
|
+
!*** ../../node_modules/core-js/internals/make-built-in.js ***!
|
|
5887
|
+
\*************************************************************/
|
|
5758
5888
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5759
5889
|
|
|
5760
|
-
var
|
|
5761
|
-
var
|
|
5762
|
-
var
|
|
5763
|
-
var
|
|
5764
|
-
var
|
|
5765
|
-
var
|
|
5766
|
-
var
|
|
5767
|
-
var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "../../node_modules/core-js/internals/engine-is-node.js");
|
|
5890
|
+
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
5891
|
+
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
5892
|
+
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
5893
|
+
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../node_modules/core-js/internals/descriptors.js");
|
|
5894
|
+
var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ "../../node_modules/core-js/internals/function-name.js").CONFIGURABLE);
|
|
5895
|
+
var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../../node_modules/core-js/internals/inspect-source.js");
|
|
5896
|
+
var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "../../node_modules/core-js/internals/internal-state.js");
|
|
5768
5897
|
|
|
5769
|
-
var
|
|
5770
|
-
var
|
|
5771
|
-
|
|
5772
|
-
var
|
|
5773
|
-
// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
|
|
5774
|
-
var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');
|
|
5775
|
-
var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
|
|
5898
|
+
var enforceInternalState = InternalStateModule.enforce;
|
|
5899
|
+
var getInternalState = InternalStateModule.get;
|
|
5900
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
5901
|
+
var defineProperty = Object.defineProperty;
|
|
5776
5902
|
|
|
5777
|
-
var
|
|
5903
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
|
|
5904
|
+
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
5905
|
+
});
|
|
5778
5906
|
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
|
|
5907
|
+
var TEMPLATE = String(String).split('String');
|
|
5908
|
+
|
|
5909
|
+
var makeBuiltIn = module.exports = function (value, name, options) {
|
|
5910
|
+
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
5911
|
+
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
5912
|
+
}
|
|
5913
|
+
if (options && options.getter) name = 'get ' + name;
|
|
5914
|
+
if (options && options.setter) name = 'set ' + name;
|
|
5915
|
+
if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
5916
|
+
defineProperty(value, 'name', { value: name, configurable: true });
|
|
5917
|
+
}
|
|
5918
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {
|
|
5919
|
+
defineProperty(value, 'length', { value: options.arity });
|
|
5920
|
+
}
|
|
5921
|
+
try {
|
|
5922
|
+
if (options && hasOwn(options, 'constructor') && options.constructor) {
|
|
5923
|
+
if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
|
|
5924
|
+
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
5925
|
+
} else if (value.prototype) value.prototype = undefined;
|
|
5926
|
+
} catch (error) { /* empty */ }
|
|
5927
|
+
var state = enforceInternalState(value);
|
|
5928
|
+
if (!hasOwn(state, 'source')) {
|
|
5929
|
+
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
5930
|
+
} return value;
|
|
5931
|
+
};
|
|
5932
|
+
|
|
5933
|
+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
5934
|
+
// eslint-disable-next-line no-extend-native -- required
|
|
5935
|
+
Function.prototype.toString = makeBuiltIn(function toString() {
|
|
5936
|
+
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
|
5937
|
+
}, 'toString');
|
|
5938
|
+
|
|
5939
|
+
|
|
5940
|
+
/***/ }),
|
|
5941
|
+
|
|
5942
|
+
/***/ "../../node_modules/core-js/internals/math-trunc.js":
|
|
5943
|
+
/*!**********************************************************!*\
|
|
5944
|
+
!*** ../../node_modules/core-js/internals/math-trunc.js ***!
|
|
5945
|
+
\**********************************************************/
|
|
5946
|
+
/***/ ((module) => {
|
|
5947
|
+
|
|
5948
|
+
var ceil = Math.ceil;
|
|
5949
|
+
var floor = Math.floor;
|
|
5950
|
+
|
|
5951
|
+
// `Math.trunc` method
|
|
5952
|
+
// https://tc39.es/ecma262/#sec-math.trunc
|
|
5953
|
+
// eslint-disable-next-line es-x/no-math-trunc -- safe
|
|
5954
|
+
module.exports = Math.trunc || function trunc(x) {
|
|
5955
|
+
var n = +x;
|
|
5956
|
+
return (n > 0 ? floor : ceil)(n);
|
|
5957
|
+
};
|
|
5958
|
+
|
|
5959
|
+
|
|
5960
|
+
/***/ }),
|
|
5961
|
+
|
|
5962
|
+
/***/ "../../node_modules/core-js/internals/microtask.js":
|
|
5963
|
+
/*!*********************************************************!*\
|
|
5964
|
+
!*** ../../node_modules/core-js/internals/microtask.js ***!
|
|
5965
|
+
\*********************************************************/
|
|
5966
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5967
|
+
|
|
5968
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5969
|
+
var bind = __webpack_require__(/*! ../internals/function-bind-context */ "../../node_modules/core-js/internals/function-bind-context.js");
|
|
5970
|
+
var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../../node_modules/core-js/internals/object-get-own-property-descriptor.js").f);
|
|
5971
|
+
var macrotask = (__webpack_require__(/*! ../internals/task */ "../../node_modules/core-js/internals/task.js").set);
|
|
5972
|
+
var IS_IOS = __webpack_require__(/*! ../internals/engine-is-ios */ "../../node_modules/core-js/internals/engine-is-ios.js");
|
|
5973
|
+
var IS_IOS_PEBBLE = __webpack_require__(/*! ../internals/engine-is-ios-pebble */ "../../node_modules/core-js/internals/engine-is-ios-pebble.js");
|
|
5974
|
+
var IS_WEBOS_WEBKIT = __webpack_require__(/*! ../internals/engine-is-webos-webkit */ "../../node_modules/core-js/internals/engine-is-webos-webkit.js");
|
|
5975
|
+
var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "../../node_modules/core-js/internals/engine-is-node.js");
|
|
5976
|
+
|
|
5977
|
+
var MutationObserver = global.MutationObserver || global.WebKitMutationObserver;
|
|
5978
|
+
var document = global.document;
|
|
5979
|
+
var process = global.process;
|
|
5980
|
+
var Promise = global.Promise;
|
|
5981
|
+
// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
|
|
5982
|
+
var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');
|
|
5983
|
+
var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
|
|
5984
|
+
|
|
5985
|
+
var flush, head, last, notify, toggle, node, promise, then;
|
|
5986
|
+
|
|
5987
|
+
// modern engines have queueMicrotask method
|
|
5988
|
+
if (!queueMicrotask) {
|
|
5989
|
+
flush = function () {
|
|
5990
|
+
var parent, fn;
|
|
5991
|
+
if (IS_NODE && (parent = process.domain)) parent.exit();
|
|
5784
5992
|
while (head) {
|
|
5785
5993
|
fn = head.fn;
|
|
5786
5994
|
head = head.next;
|
|
@@ -5822,7 +6030,7 @@ if (!queueMicrotask) {
|
|
|
5822
6030
|
// for other environments - macrotask based on:
|
|
5823
6031
|
// - setImmediate
|
|
5824
6032
|
// - MessageChannel
|
|
5825
|
-
// - window.
|
|
6033
|
+
// - window.postMessage
|
|
5826
6034
|
// - onreadystatechange
|
|
5827
6035
|
// - setTimeout
|
|
5828
6036
|
} else {
|
|
@@ -5844,19 +6052,6 @@ module.exports = queueMicrotask || function (fn) {
|
|
|
5844
6052
|
};
|
|
5845
6053
|
|
|
5846
6054
|
|
|
5847
|
-
/***/ }),
|
|
5848
|
-
|
|
5849
|
-
/***/ "../../node_modules/core-js/internals/native-promise-constructor.js":
|
|
5850
|
-
/*!**************************************************************************!*\
|
|
5851
|
-
!*** ../../node_modules/core-js/internals/native-promise-constructor.js ***!
|
|
5852
|
-
\**************************************************************************/
|
|
5853
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5854
|
-
|
|
5855
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5856
|
-
|
|
5857
|
-
module.exports = global.Promise;
|
|
5858
|
-
|
|
5859
|
-
|
|
5860
6055
|
/***/ }),
|
|
5861
6056
|
|
|
5862
6057
|
/***/ "../../node_modules/core-js/internals/native-symbol.js":
|
|
@@ -5865,11 +6060,11 @@ module.exports = global.Promise;
|
|
|
5865
6060
|
\*************************************************************/
|
|
5866
6061
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5867
6062
|
|
|
5868
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
6063
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
5869
6064
|
var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "../../node_modules/core-js/internals/engine-v8-version.js");
|
|
5870
6065
|
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
5871
6066
|
|
|
5872
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
6067
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
|
|
5873
6068
|
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
5874
6069
|
var symbol = Symbol();
|
|
5875
6070
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
@@ -5935,26 +6130,46 @@ module.exports.f = function (C) {
|
|
|
5935
6130
|
\**********************************************************************/
|
|
5936
6131
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5937
6132
|
|
|
5938
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5939
6133
|
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../node_modules/core-js/internals/descriptors.js");
|
|
5940
6134
|
var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../../node_modules/core-js/internals/ie8-dom-define.js");
|
|
6135
|
+
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "../../node_modules/core-js/internals/v8-prototype-define-bug.js");
|
|
5941
6136
|
var anObject = __webpack_require__(/*! ../internals/an-object */ "../../node_modules/core-js/internals/an-object.js");
|
|
5942
6137
|
var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../../node_modules/core-js/internals/to-property-key.js");
|
|
5943
6138
|
|
|
5944
|
-
var TypeError =
|
|
5945
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
6139
|
+
var $TypeError = TypeError;
|
|
6140
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
5946
6141
|
var $defineProperty = Object.defineProperty;
|
|
6142
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
6143
|
+
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
6144
|
+
var ENUMERABLE = 'enumerable';
|
|
6145
|
+
var CONFIGURABLE = 'configurable';
|
|
6146
|
+
var WRITABLE = 'writable';
|
|
5947
6147
|
|
|
5948
6148
|
// `Object.defineProperty` method
|
|
5949
6149
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
5950
|
-
exports.f = DESCRIPTORS ?
|
|
6150
|
+
exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
|
6151
|
+
anObject(O);
|
|
6152
|
+
P = toPropertyKey(P);
|
|
6153
|
+
anObject(Attributes);
|
|
6154
|
+
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
6155
|
+
var current = $getOwnPropertyDescriptor(O, P);
|
|
6156
|
+
if (current && current[WRITABLE]) {
|
|
6157
|
+
O[P] = Attributes.value;
|
|
6158
|
+
Attributes = {
|
|
6159
|
+
configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
|
|
6160
|
+
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
|
6161
|
+
writable: false
|
|
6162
|
+
};
|
|
6163
|
+
}
|
|
6164
|
+
} return $defineProperty(O, P, Attributes);
|
|
6165
|
+
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
5951
6166
|
anObject(O);
|
|
5952
6167
|
P = toPropertyKey(P);
|
|
5953
6168
|
anObject(Attributes);
|
|
5954
6169
|
if (IE8_DOM_DEFINE) try {
|
|
5955
6170
|
return $defineProperty(O, P, Attributes);
|
|
5956
6171
|
} catch (error) { /* empty */ }
|
|
5957
|
-
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
|
|
6172
|
+
if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');
|
|
5958
6173
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
5959
6174
|
return O;
|
|
5960
6175
|
};
|
|
@@ -5977,7 +6192,7 @@ var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../
|
|
|
5977
6192
|
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
5978
6193
|
var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../../node_modules/core-js/internals/ie8-dom-define.js");
|
|
5979
6194
|
|
|
5980
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
6195
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
5981
6196
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
5982
6197
|
|
|
5983
6198
|
// `Object.getOwnPropertyDescriptor` method
|
|
@@ -6007,7 +6222,7 @@ var hiddenKeys = enumBugKeys.concat('length', 'prototype');
|
|
|
6007
6222
|
|
|
6008
6223
|
// `Object.getOwnPropertyNames` method
|
|
6009
6224
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
6010
|
-
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
6225
|
+
// eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
|
|
6011
6226
|
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
6012
6227
|
return internalObjectKeys(O, hiddenKeys);
|
|
6013
6228
|
};
|
|
@@ -6021,7 +6236,7 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
|
6021
6236
|
\*******************************************************************************/
|
|
6022
6237
|
/***/ ((__unused_webpack_module, exports) => {
|
|
6023
6238
|
|
|
6024
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
6239
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
|
|
6025
6240
|
exports.f = Object.getOwnPropertySymbols;
|
|
6026
6241
|
|
|
6027
6242
|
|
|
@@ -6079,7 +6294,7 @@ module.exports = function (object, names) {
|
|
|
6079
6294
|
"use strict";
|
|
6080
6295
|
|
|
6081
6296
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
6082
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
6297
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
6083
6298
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
6084
6299
|
|
|
6085
6300
|
// Nashorn ~ JDK8 bug
|
|
@@ -6109,13 +6324,13 @@ var aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototy
|
|
|
6109
6324
|
// `Object.setPrototypeOf` method
|
|
6110
6325
|
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
6111
6326
|
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
6112
|
-
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
6327
|
+
// eslint-disable-next-line es-x/no-object-setprototypeof -- safe
|
|
6113
6328
|
module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
6114
6329
|
var CORRECT_SETTER = false;
|
|
6115
6330
|
var test = {};
|
|
6116
6331
|
var setter;
|
|
6117
6332
|
try {
|
|
6118
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
6333
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
6119
6334
|
setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
6120
6335
|
setter(test, []);
|
|
6121
6336
|
CORRECT_SETTER = test instanceof Array;
|
|
@@ -6138,12 +6353,11 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
|
6138
6353
|
\*********************************************************************/
|
|
6139
6354
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6140
6355
|
|
|
6141
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6142
6356
|
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
6143
6357
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
6144
6358
|
var isObject = __webpack_require__(/*! ../internals/is-object */ "../../node_modules/core-js/internals/is-object.js");
|
|
6145
6359
|
|
|
6146
|
-
var TypeError =
|
|
6360
|
+
var $TypeError = TypeError;
|
|
6147
6361
|
|
|
6148
6362
|
// `OrdinaryToPrimitive` abstract operation
|
|
6149
6363
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
@@ -6152,7 +6366,7 @@ module.exports = function (input, pref) {
|
|
|
6152
6366
|
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
|
6153
6367
|
if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
|
|
6154
6368
|
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
|
6155
|
-
throw TypeError("Can't convert object to primitive value");
|
|
6369
|
+
throw $TypeError("Can't convert object to primitive value");
|
|
6156
6370
|
};
|
|
6157
6371
|
|
|
6158
6372
|
|
|
@@ -6197,6 +6411,75 @@ module.exports = function (exec) {
|
|
|
6197
6411
|
};
|
|
6198
6412
|
|
|
6199
6413
|
|
|
6414
|
+
/***/ }),
|
|
6415
|
+
|
|
6416
|
+
/***/ "../../node_modules/core-js/internals/promise-constructor-detection.js":
|
|
6417
|
+
/*!*****************************************************************************!*\
|
|
6418
|
+
!*** ../../node_modules/core-js/internals/promise-constructor-detection.js ***!
|
|
6419
|
+
\*****************************************************************************/
|
|
6420
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6421
|
+
|
|
6422
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6423
|
+
var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "../../node_modules/core-js/internals/promise-native-constructor.js");
|
|
6424
|
+
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
6425
|
+
var isForced = __webpack_require__(/*! ../internals/is-forced */ "../../node_modules/core-js/internals/is-forced.js");
|
|
6426
|
+
var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../../node_modules/core-js/internals/inspect-source.js");
|
|
6427
|
+
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../../node_modules/core-js/internals/well-known-symbol.js");
|
|
6428
|
+
var IS_BROWSER = __webpack_require__(/*! ../internals/engine-is-browser */ "../../node_modules/core-js/internals/engine-is-browser.js");
|
|
6429
|
+
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../../node_modules/core-js/internals/is-pure.js");
|
|
6430
|
+
var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "../../node_modules/core-js/internals/engine-v8-version.js");
|
|
6431
|
+
|
|
6432
|
+
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
|
|
6433
|
+
var SPECIES = wellKnownSymbol('species');
|
|
6434
|
+
var SUBCLASSING = false;
|
|
6435
|
+
var NATIVE_PROMISE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent);
|
|
6436
|
+
|
|
6437
|
+
var FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () {
|
|
6438
|
+
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor);
|
|
6439
|
+
var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor);
|
|
6440
|
+
// V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
|
|
6441
|
+
// https://bugs.chromium.org/p/chromium/issues/detail?id=830565
|
|
6442
|
+
// We can't detect it synchronously, so just check versions
|
|
6443
|
+
if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;
|
|
6444
|
+
// We need Promise#{ catch, finally } in the pure version for preventing prototype pollution
|
|
6445
|
+
if (IS_PURE && !(NativePromisePrototype['catch'] && NativePromisePrototype['finally'])) return true;
|
|
6446
|
+
// We can't use @@species feature detection in V8 since it causes
|
|
6447
|
+
// deoptimization and performance degradation
|
|
6448
|
+
// https://github.com/zloirock/core-js/issues/679
|
|
6449
|
+
if (V8_VERSION >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false;
|
|
6450
|
+
// Detect correctness of subclassing with @@species support
|
|
6451
|
+
var promise = new NativePromiseConstructor(function (resolve) { resolve(1); });
|
|
6452
|
+
var FakePromise = function (exec) {
|
|
6453
|
+
exec(function () { /* empty */ }, function () { /* empty */ });
|
|
6454
|
+
};
|
|
6455
|
+
var constructor = promise.constructor = {};
|
|
6456
|
+
constructor[SPECIES] = FakePromise;
|
|
6457
|
+
SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
|
|
6458
|
+
if (!SUBCLASSING) return true;
|
|
6459
|
+
// Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
|
|
6460
|
+
return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_PROMISE_REJECTION_EVENT;
|
|
6461
|
+
});
|
|
6462
|
+
|
|
6463
|
+
module.exports = {
|
|
6464
|
+
CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR,
|
|
6465
|
+
REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT,
|
|
6466
|
+
SUBCLASSING: SUBCLASSING
|
|
6467
|
+
};
|
|
6468
|
+
|
|
6469
|
+
|
|
6470
|
+
/***/ }),
|
|
6471
|
+
|
|
6472
|
+
/***/ "../../node_modules/core-js/internals/promise-native-constructor.js":
|
|
6473
|
+
/*!**************************************************************************!*\
|
|
6474
|
+
!*** ../../node_modules/core-js/internals/promise-native-constructor.js ***!
|
|
6475
|
+
\**************************************************************************/
|
|
6476
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6477
|
+
|
|
6478
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6479
|
+
|
|
6480
|
+
module.exports = global.Promise;
|
|
6481
|
+
|
|
6482
|
+
|
|
6200
6483
|
/***/ }),
|
|
6201
6484
|
|
|
6202
6485
|
/***/ "../../node_modules/core-js/internals/promise-resolve.js":
|
|
@@ -6221,74 +6504,52 @@ module.exports = function (C, x) {
|
|
|
6221
6504
|
|
|
6222
6505
|
/***/ }),
|
|
6223
6506
|
|
|
6224
|
-
/***/ "../../node_modules/core-js/internals/
|
|
6225
|
-
|
|
6226
|
-
!*** ../../node_modules/core-js/internals/
|
|
6227
|
-
|
|
6507
|
+
/***/ "../../node_modules/core-js/internals/promise-statics-incorrect-iteration.js":
|
|
6508
|
+
/*!***********************************************************************************!*\
|
|
6509
|
+
!*** ../../node_modules/core-js/internals/promise-statics-incorrect-iteration.js ***!
|
|
6510
|
+
\***********************************************************************************/
|
|
6228
6511
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6229
6512
|
|
|
6230
|
-
var
|
|
6513
|
+
var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "../../node_modules/core-js/internals/promise-native-constructor.js");
|
|
6514
|
+
var checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ "../../node_modules/core-js/internals/check-correctness-of-iteration.js");
|
|
6515
|
+
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "../../node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR);
|
|
6231
6516
|
|
|
6232
|
-
module.exports = function (
|
|
6233
|
-
|
|
6234
|
-
|
|
6235
|
-
};
|
|
6517
|
+
module.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) {
|
|
6518
|
+
NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ });
|
|
6519
|
+
});
|
|
6236
6520
|
|
|
6237
6521
|
|
|
6238
6522
|
/***/ }),
|
|
6239
6523
|
|
|
6240
|
-
/***/ "../../node_modules/core-js/internals/
|
|
6241
|
-
|
|
6242
|
-
!*** ../../node_modules/core-js/internals/
|
|
6243
|
-
|
|
6244
|
-
/***/ ((module
|
|
6245
|
-
|
|
6246
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6247
|
-
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
6248
|
-
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
6249
|
-
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../../node_modules/core-js/internals/create-non-enumerable-property.js");
|
|
6250
|
-
var setGlobal = __webpack_require__(/*! ../internals/set-global */ "../../node_modules/core-js/internals/set-global.js");
|
|
6251
|
-
var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../../node_modules/core-js/internals/inspect-source.js");
|
|
6252
|
-
var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "../../node_modules/core-js/internals/internal-state.js");
|
|
6253
|
-
var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ "../../node_modules/core-js/internals/function-name.js").CONFIGURABLE);
|
|
6524
|
+
/***/ "../../node_modules/core-js/internals/queue.js":
|
|
6525
|
+
/*!*****************************************************!*\
|
|
6526
|
+
!*** ../../node_modules/core-js/internals/queue.js ***!
|
|
6527
|
+
\*****************************************************/
|
|
6528
|
+
/***/ ((module) => {
|
|
6254
6529
|
|
|
6255
|
-
var
|
|
6256
|
-
|
|
6257
|
-
|
|
6530
|
+
var Queue = function () {
|
|
6531
|
+
this.head = null;
|
|
6532
|
+
this.tail = null;
|
|
6533
|
+
};
|
|
6258
6534
|
|
|
6259
|
-
|
|
6260
|
-
|
|
6261
|
-
|
|
6262
|
-
|
|
6263
|
-
|
|
6264
|
-
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
|
|
6268
|
-
|
|
6269
|
-
|
|
6270
|
-
|
|
6271
|
-
|
|
6272
|
-
state = enforceInternalState(value);
|
|
6273
|
-
if (!state.source) {
|
|
6274
|
-
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
6535
|
+
Queue.prototype = {
|
|
6536
|
+
add: function (item) {
|
|
6537
|
+
var entry = { item: item, next: null };
|
|
6538
|
+
if (this.head) this.tail.next = entry;
|
|
6539
|
+
else this.head = entry;
|
|
6540
|
+
this.tail = entry;
|
|
6541
|
+
},
|
|
6542
|
+
get: function () {
|
|
6543
|
+
var entry = this.head;
|
|
6544
|
+
if (entry) {
|
|
6545
|
+
this.head = entry.next;
|
|
6546
|
+
if (this.tail === entry) this.tail = null;
|
|
6547
|
+
return entry.item;
|
|
6275
6548
|
}
|
|
6276
6549
|
}
|
|
6277
|
-
|
|
6278
|
-
|
|
6279
|
-
|
|
6280
|
-
return;
|
|
6281
|
-
} else if (!unsafe) {
|
|
6282
|
-
delete O[key];
|
|
6283
|
-
} else if (!noTargetGet && O[key]) {
|
|
6284
|
-
simple = true;
|
|
6285
|
-
}
|
|
6286
|
-
if (simple) O[key] = value;
|
|
6287
|
-
else createNonEnumerableProperty(O, key, value);
|
|
6288
|
-
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
6289
|
-
})(Function.prototype, 'toString', function toString() {
|
|
6290
|
-
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
|
6291
|
-
});
|
|
6550
|
+
};
|
|
6551
|
+
|
|
6552
|
+
module.exports = Queue;
|
|
6292
6553
|
|
|
6293
6554
|
|
|
6294
6555
|
/***/ }),
|
|
@@ -6297,42 +6558,18 @@ var TEMPLATE = String(String).split('String');
|
|
|
6297
6558
|
/*!************************************************************************!*\
|
|
6298
6559
|
!*** ../../node_modules/core-js/internals/require-object-coercible.js ***!
|
|
6299
6560
|
\************************************************************************/
|
|
6300
|
-
/***/ ((module
|
|
6301
|
-
|
|
6302
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6561
|
+
/***/ ((module) => {
|
|
6303
6562
|
|
|
6304
|
-
var TypeError =
|
|
6563
|
+
var $TypeError = TypeError;
|
|
6305
6564
|
|
|
6306
6565
|
// `RequireObjectCoercible` abstract operation
|
|
6307
6566
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
6308
6567
|
module.exports = function (it) {
|
|
6309
|
-
if (it == undefined) throw TypeError("Can't call method on " + it);
|
|
6568
|
+
if (it == undefined) throw $TypeError("Can't call method on " + it);
|
|
6310
6569
|
return it;
|
|
6311
6570
|
};
|
|
6312
6571
|
|
|
6313
6572
|
|
|
6314
|
-
/***/ }),
|
|
6315
|
-
|
|
6316
|
-
/***/ "../../node_modules/core-js/internals/set-global.js":
|
|
6317
|
-
/*!**********************************************************!*\
|
|
6318
|
-
!*** ../../node_modules/core-js/internals/set-global.js ***!
|
|
6319
|
-
\**********************************************************/
|
|
6320
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6321
|
-
|
|
6322
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6323
|
-
|
|
6324
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
6325
|
-
var defineProperty = Object.defineProperty;
|
|
6326
|
-
|
|
6327
|
-
module.exports = function (key, value) {
|
|
6328
|
-
try {
|
|
6329
|
-
defineProperty(global, key, { value: value, configurable: true, writable: true });
|
|
6330
|
-
} catch (error) {
|
|
6331
|
-
global[key] = value;
|
|
6332
|
-
} return value;
|
|
6333
|
-
};
|
|
6334
|
-
|
|
6335
|
-
|
|
6336
6573
|
/***/ }),
|
|
6337
6574
|
|
|
6338
6575
|
/***/ "../../node_modules/core-js/internals/set-species.js":
|
|
@@ -6377,9 +6614,10 @@ var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */
|
|
|
6377
6614
|
|
|
6378
6615
|
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
6379
6616
|
|
|
6380
|
-
module.exports = function (
|
|
6381
|
-
if (
|
|
6382
|
-
|
|
6617
|
+
module.exports = function (target, TAG, STATIC) {
|
|
6618
|
+
if (target && !STATIC) target = target.prototype;
|
|
6619
|
+
if (target && !hasOwn(target, TO_STRING_TAG)) {
|
|
6620
|
+
defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });
|
|
6383
6621
|
}
|
|
6384
6622
|
};
|
|
6385
6623
|
|
|
@@ -6411,10 +6649,10 @@ module.exports = function (key) {
|
|
|
6411
6649
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6412
6650
|
|
|
6413
6651
|
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6414
|
-
var
|
|
6652
|
+
var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../../node_modules/core-js/internals/define-global-property.js");
|
|
6415
6653
|
|
|
6416
6654
|
var SHARED = '__core-js_shared__';
|
|
6417
|
-
var store = global[SHARED] ||
|
|
6655
|
+
var store = global[SHARED] || defineGlobalProperty(SHARED, {});
|
|
6418
6656
|
|
|
6419
6657
|
module.exports = store;
|
|
6420
6658
|
|
|
@@ -6433,9 +6671,11 @@ var store = __webpack_require__(/*! ../internals/shared-store */ "../../node_mod
|
|
|
6433
6671
|
(module.exports = function (key, value) {
|
|
6434
6672
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
6435
6673
|
})('versions', []).push({
|
|
6436
|
-
version: '3.
|
|
6674
|
+
version: '3.23.2',
|
|
6437
6675
|
mode: IS_PURE ? 'pure' : 'global',
|
|
6438
|
-
copyright: '©
|
|
6676
|
+
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
6677
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.23.2/LICENSE',
|
|
6678
|
+
source: 'https://github.com/zloirock/core-js'
|
|
6439
6679
|
});
|
|
6440
6680
|
|
|
6441
6681
|
|
|
@@ -6479,6 +6719,7 @@ var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/co
|
|
|
6479
6719
|
var html = __webpack_require__(/*! ../internals/html */ "../../node_modules/core-js/internals/html.js");
|
|
6480
6720
|
var arraySlice = __webpack_require__(/*! ../internals/array-slice */ "../../node_modules/core-js/internals/array-slice.js");
|
|
6481
6721
|
var createElement = __webpack_require__(/*! ../internals/document-create-element */ "../../node_modules/core-js/internals/document-create-element.js");
|
|
6722
|
+
var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ "../../node_modules/core-js/internals/validate-arguments-length.js");
|
|
6482
6723
|
var IS_IOS = __webpack_require__(/*! ../internals/engine-is-ios */ "../../node_modules/core-js/internals/engine-is-ios.js");
|
|
6483
6724
|
var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "../../node_modules/core-js/internals/engine-is-node.js");
|
|
6484
6725
|
|
|
@@ -6524,10 +6765,12 @@ var post = function (id) {
|
|
|
6524
6765
|
|
|
6525
6766
|
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
|
|
6526
6767
|
if (!set || !clear) {
|
|
6527
|
-
set = function setImmediate(
|
|
6768
|
+
set = function setImmediate(handler) {
|
|
6769
|
+
validateArgumentsLength(arguments.length, 1);
|
|
6770
|
+
var fn = isCallable(handler) ? handler : Function(handler);
|
|
6528
6771
|
var args = arraySlice(arguments, 1);
|
|
6529
6772
|
queue[++counter] = function () {
|
|
6530
|
-
apply(
|
|
6773
|
+
apply(fn, undefined, args);
|
|
6531
6774
|
};
|
|
6532
6775
|
defer(counter);
|
|
6533
6776
|
return counter;
|
|
@@ -6630,17 +6873,16 @@ module.exports = function (it) {
|
|
|
6630
6873
|
/*!**********************************************************************!*\
|
|
6631
6874
|
!*** ../../node_modules/core-js/internals/to-integer-or-infinity.js ***!
|
|
6632
6875
|
\**********************************************************************/
|
|
6633
|
-
/***/ ((module) => {
|
|
6876
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6634
6877
|
|
|
6635
|
-
var
|
|
6636
|
-
var floor = Math.floor;
|
|
6878
|
+
var trunc = __webpack_require__(/*! ../internals/math-trunc */ "../../node_modules/core-js/internals/math-trunc.js");
|
|
6637
6879
|
|
|
6638
6880
|
// `ToIntegerOrInfinity` abstract operation
|
|
6639
6881
|
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
6640
6882
|
module.exports = function (argument) {
|
|
6641
6883
|
var number = +argument;
|
|
6642
|
-
// eslint-disable-next-line no-self-compare --
|
|
6643
|
-
return number !== number || number === 0 ? 0 : (number
|
|
6884
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
6885
|
+
return number !== number || number === 0 ? 0 : trunc(number);
|
|
6644
6886
|
};
|
|
6645
6887
|
|
|
6646
6888
|
|
|
@@ -6671,15 +6913,14 @@ module.exports = function (argument) {
|
|
|
6671
6913
|
\*********************************************************/
|
|
6672
6914
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6673
6915
|
|
|
6674
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6675
6916
|
var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../../node_modules/core-js/internals/require-object-coercible.js");
|
|
6676
6917
|
|
|
6677
|
-
var Object =
|
|
6918
|
+
var $Object = Object;
|
|
6678
6919
|
|
|
6679
6920
|
// `ToObject` abstract operation
|
|
6680
6921
|
// https://tc39.es/ecma262/#sec-toobject
|
|
6681
6922
|
module.exports = function (argument) {
|
|
6682
|
-
return Object(requireObjectCoercible(argument));
|
|
6923
|
+
return $Object(requireObjectCoercible(argument));
|
|
6683
6924
|
};
|
|
6684
6925
|
|
|
6685
6926
|
|
|
@@ -6691,7 +6932,6 @@ module.exports = function (argument) {
|
|
|
6691
6932
|
\************************************************************/
|
|
6692
6933
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6693
6934
|
|
|
6694
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6695
6935
|
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
6696
6936
|
var isObject = __webpack_require__(/*! ../internals/is-object */ "../../node_modules/core-js/internals/is-object.js");
|
|
6697
6937
|
var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../../node_modules/core-js/internals/is-symbol.js");
|
|
@@ -6699,7 +6939,7 @@ var getMethod = __webpack_require__(/*! ../internals/get-method */ "../../node_m
|
|
|
6699
6939
|
var ordinaryToPrimitive = __webpack_require__(/*! ../internals/ordinary-to-primitive */ "../../node_modules/core-js/internals/ordinary-to-primitive.js");
|
|
6700
6940
|
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../../node_modules/core-js/internals/well-known-symbol.js");
|
|
6701
6941
|
|
|
6702
|
-
var TypeError =
|
|
6942
|
+
var $TypeError = TypeError;
|
|
6703
6943
|
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
6704
6944
|
|
|
6705
6945
|
// `ToPrimitive` abstract operation
|
|
@@ -6712,7 +6952,7 @@ module.exports = function (input, pref) {
|
|
|
6712
6952
|
if (pref === undefined) pref = 'default';
|
|
6713
6953
|
result = call(exoticToPrim, input, pref);
|
|
6714
6954
|
if (!isObject(result) || isSymbol(result)) return result;
|
|
6715
|
-
throw TypeError("Can't convert object to primitive value");
|
|
6955
|
+
throw $TypeError("Can't convert object to primitive value");
|
|
6716
6956
|
}
|
|
6717
6957
|
if (pref === undefined) pref = 'number';
|
|
6718
6958
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -6764,14 +7004,13 @@ module.exports = String(test) === '[object z]';
|
|
|
6764
7004
|
\*********************************************************/
|
|
6765
7005
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6766
7006
|
|
|
6767
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6768
7007
|
var classof = __webpack_require__(/*! ../internals/classof */ "../../node_modules/core-js/internals/classof.js");
|
|
6769
7008
|
|
|
6770
|
-
var String =
|
|
7009
|
+
var $String = String;
|
|
6771
7010
|
|
|
6772
7011
|
module.exports = function (argument) {
|
|
6773
7012
|
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
6774
|
-
return String(argument);
|
|
7013
|
+
return $String(argument);
|
|
6775
7014
|
};
|
|
6776
7015
|
|
|
6777
7016
|
|
|
@@ -6781,15 +7020,13 @@ module.exports = function (argument) {
|
|
|
6781
7020
|
/*!*************************************************************!*\
|
|
6782
7021
|
!*** ../../node_modules/core-js/internals/try-to-string.js ***!
|
|
6783
7022
|
\*************************************************************/
|
|
6784
|
-
/***/ ((module
|
|
6785
|
-
|
|
6786
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
7023
|
+
/***/ ((module) => {
|
|
6787
7024
|
|
|
6788
|
-
var String =
|
|
7025
|
+
var $String = String;
|
|
6789
7026
|
|
|
6790
7027
|
module.exports = function (argument) {
|
|
6791
7028
|
try {
|
|
6792
|
-
return String(argument);
|
|
7029
|
+
return $String(argument);
|
|
6793
7030
|
} catch (error) {
|
|
6794
7031
|
return 'Object';
|
|
6795
7032
|
}
|
|
@@ -6823,7 +7060,7 @@ module.exports = function (key) {
|
|
|
6823
7060
|
\*****************************************************************/
|
|
6824
7061
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6825
7062
|
|
|
6826
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
7063
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
6827
7064
|
var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/native-symbol */ "../../node_modules/core-js/internals/native-symbol.js");
|
|
6828
7065
|
|
|
6829
7066
|
module.exports = NATIVE_SYMBOL
|
|
@@ -6831,6 +7068,44 @@ module.exports = NATIVE_SYMBOL
|
|
|
6831
7068
|
&& typeof Symbol.iterator == 'symbol';
|
|
6832
7069
|
|
|
6833
7070
|
|
|
7071
|
+
/***/ }),
|
|
7072
|
+
|
|
7073
|
+
/***/ "../../node_modules/core-js/internals/v8-prototype-define-bug.js":
|
|
7074
|
+
/*!***********************************************************************!*\
|
|
7075
|
+
!*** ../../node_modules/core-js/internals/v8-prototype-define-bug.js ***!
|
|
7076
|
+
\***********************************************************************/
|
|
7077
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
7078
|
+
|
|
7079
|
+
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../node_modules/core-js/internals/descriptors.js");
|
|
7080
|
+
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
7081
|
+
|
|
7082
|
+
// V8 ~ Chrome 36-
|
|
7083
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
7084
|
+
module.exports = DESCRIPTORS && fails(function () {
|
|
7085
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
7086
|
+
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
7087
|
+
value: 42,
|
|
7088
|
+
writable: false
|
|
7089
|
+
}).prototype != 42;
|
|
7090
|
+
});
|
|
7091
|
+
|
|
7092
|
+
|
|
7093
|
+
/***/ }),
|
|
7094
|
+
|
|
7095
|
+
/***/ "../../node_modules/core-js/internals/validate-arguments-length.js":
|
|
7096
|
+
/*!*************************************************************************!*\
|
|
7097
|
+
!*** ../../node_modules/core-js/internals/validate-arguments-length.js ***!
|
|
7098
|
+
\*************************************************************************/
|
|
7099
|
+
/***/ ((module) => {
|
|
7100
|
+
|
|
7101
|
+
var $TypeError = TypeError;
|
|
7102
|
+
|
|
7103
|
+
module.exports = function (passed, required) {
|
|
7104
|
+
if (passed < required) throw $TypeError('Not enough arguments');
|
|
7105
|
+
return passed;
|
|
7106
|
+
};
|
|
7107
|
+
|
|
7108
|
+
|
|
6834
7109
|
/***/ }),
|
|
6835
7110
|
|
|
6836
7111
|
/***/ "../../node_modules/core-js/internals/well-known-symbol.js":
|
|
@@ -6867,22 +7142,107 @@ module.exports = function (name) {
|
|
|
6867
7142
|
|
|
6868
7143
|
/***/ }),
|
|
6869
7144
|
|
|
6870
|
-
/***/ "../../node_modules/core-js/modules/es.promise.js":
|
|
6871
|
-
|
|
6872
|
-
!*** ../../node_modules/core-js/modules/es.promise.js ***!
|
|
6873
|
-
|
|
7145
|
+
/***/ "../../node_modules/core-js/modules/es.promise.all.js":
|
|
7146
|
+
/*!************************************************************!*\
|
|
7147
|
+
!*** ../../node_modules/core-js/modules/es.promise.all.js ***!
|
|
7148
|
+
\************************************************************/
|
|
7149
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
7150
|
+
|
|
7151
|
+
"use strict";
|
|
7152
|
+
|
|
7153
|
+
var $ = __webpack_require__(/*! ../internals/export */ "../../node_modules/core-js/internals/export.js");
|
|
7154
|
+
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
7155
|
+
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../../node_modules/core-js/internals/a-callable.js");
|
|
7156
|
+
var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "../../node_modules/core-js/internals/new-promise-capability.js");
|
|
7157
|
+
var perform = __webpack_require__(/*! ../internals/perform */ "../../node_modules/core-js/internals/perform.js");
|
|
7158
|
+
var iterate = __webpack_require__(/*! ../internals/iterate */ "../../node_modules/core-js/internals/iterate.js");
|
|
7159
|
+
var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(/*! ../internals/promise-statics-incorrect-iteration */ "../../node_modules/core-js/internals/promise-statics-incorrect-iteration.js");
|
|
7160
|
+
|
|
7161
|
+
// `Promise.all` method
|
|
7162
|
+
// https://tc39.es/ecma262/#sec-promise.all
|
|
7163
|
+
$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
|
|
7164
|
+
all: function all(iterable) {
|
|
7165
|
+
var C = this;
|
|
7166
|
+
var capability = newPromiseCapabilityModule.f(C);
|
|
7167
|
+
var resolve = capability.resolve;
|
|
7168
|
+
var reject = capability.reject;
|
|
7169
|
+
var result = perform(function () {
|
|
7170
|
+
var $promiseResolve = aCallable(C.resolve);
|
|
7171
|
+
var values = [];
|
|
7172
|
+
var counter = 0;
|
|
7173
|
+
var remaining = 1;
|
|
7174
|
+
iterate(iterable, function (promise) {
|
|
7175
|
+
var index = counter++;
|
|
7176
|
+
var alreadyCalled = false;
|
|
7177
|
+
remaining++;
|
|
7178
|
+
call($promiseResolve, C, promise).then(function (value) {
|
|
7179
|
+
if (alreadyCalled) return;
|
|
7180
|
+
alreadyCalled = true;
|
|
7181
|
+
values[index] = value;
|
|
7182
|
+
--remaining || resolve(values);
|
|
7183
|
+
}, reject);
|
|
7184
|
+
});
|
|
7185
|
+
--remaining || resolve(values);
|
|
7186
|
+
});
|
|
7187
|
+
if (result.error) reject(result.value);
|
|
7188
|
+
return capability.promise;
|
|
7189
|
+
}
|
|
7190
|
+
});
|
|
7191
|
+
|
|
7192
|
+
|
|
7193
|
+
/***/ }),
|
|
7194
|
+
|
|
7195
|
+
/***/ "../../node_modules/core-js/modules/es.promise.catch.js":
|
|
7196
|
+
/*!**************************************************************!*\
|
|
7197
|
+
!*** ../../node_modules/core-js/modules/es.promise.catch.js ***!
|
|
7198
|
+
\**************************************************************/
|
|
6874
7199
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
6875
7200
|
|
|
6876
7201
|
"use strict";
|
|
6877
7202
|
|
|
6878
7203
|
var $ = __webpack_require__(/*! ../internals/export */ "../../node_modules/core-js/internals/export.js");
|
|
6879
7204
|
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../../node_modules/core-js/internals/is-pure.js");
|
|
6880
|
-
var
|
|
7205
|
+
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "../../node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR);
|
|
7206
|
+
var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "../../node_modules/core-js/internals/promise-native-constructor.js");
|
|
6881
7207
|
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../../node_modules/core-js/internals/get-built-in.js");
|
|
7208
|
+
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
7209
|
+
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../../node_modules/core-js/internals/define-built-in.js");
|
|
7210
|
+
|
|
7211
|
+
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
|
|
7212
|
+
|
|
7213
|
+
// `Promise.prototype.catch` method
|
|
7214
|
+
// https://tc39.es/ecma262/#sec-promise.prototype.catch
|
|
7215
|
+
$({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR, real: true }, {
|
|
7216
|
+
'catch': function (onRejected) {
|
|
7217
|
+
return this.then(undefined, onRejected);
|
|
7218
|
+
}
|
|
7219
|
+
});
|
|
7220
|
+
|
|
7221
|
+
// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
|
|
7222
|
+
if (!IS_PURE && isCallable(NativePromiseConstructor)) {
|
|
7223
|
+
var method = getBuiltIn('Promise').prototype['catch'];
|
|
7224
|
+
if (NativePromisePrototype['catch'] !== method) {
|
|
7225
|
+
defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true });
|
|
7226
|
+
}
|
|
7227
|
+
}
|
|
7228
|
+
|
|
7229
|
+
|
|
7230
|
+
/***/ }),
|
|
7231
|
+
|
|
7232
|
+
/***/ "../../node_modules/core-js/modules/es.promise.constructor.js":
|
|
7233
|
+
/*!********************************************************************!*\
|
|
7234
|
+
!*** ../../node_modules/core-js/modules/es.promise.constructor.js ***!
|
|
7235
|
+
\********************************************************************/
|
|
7236
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
7237
|
+
|
|
7238
|
+
"use strict";
|
|
7239
|
+
|
|
7240
|
+
var $ = __webpack_require__(/*! ../internals/export */ "../../node_modules/core-js/internals/export.js");
|
|
7241
|
+
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../../node_modules/core-js/internals/is-pure.js");
|
|
7242
|
+
var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "../../node_modules/core-js/internals/engine-is-node.js");
|
|
7243
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6882
7244
|
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
6883
|
-
var
|
|
6884
|
-
var redefine = __webpack_require__(/*! ../internals/redefine */ "../../node_modules/core-js/internals/redefine.js");
|
|
6885
|
-
var redefineAll = __webpack_require__(/*! ../internals/redefine-all */ "../../node_modules/core-js/internals/redefine-all.js");
|
|
7245
|
+
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../../node_modules/core-js/internals/define-built-in.js");
|
|
6886
7246
|
var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "../../node_modules/core-js/internals/object-set-prototype-of.js");
|
|
6887
7247
|
var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "../../node_modules/core-js/internals/set-to-string-tag.js");
|
|
6888
7248
|
var setSpecies = __webpack_require__(/*! ../internals/set-species */ "../../node_modules/core-js/internals/set-species.js");
|
|
@@ -6890,31 +7250,25 @@ var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../../node_m
|
|
|
6890
7250
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
6891
7251
|
var isObject = __webpack_require__(/*! ../internals/is-object */ "../../node_modules/core-js/internals/is-object.js");
|
|
6892
7252
|
var anInstance = __webpack_require__(/*! ../internals/an-instance */ "../../node_modules/core-js/internals/an-instance.js");
|
|
6893
|
-
var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../../node_modules/core-js/internals/inspect-source.js");
|
|
6894
|
-
var iterate = __webpack_require__(/*! ../internals/iterate */ "../../node_modules/core-js/internals/iterate.js");
|
|
6895
|
-
var checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ "../../node_modules/core-js/internals/check-correctness-of-iteration.js");
|
|
6896
7253
|
var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ "../../node_modules/core-js/internals/species-constructor.js");
|
|
6897
7254
|
var task = (__webpack_require__(/*! ../internals/task */ "../../node_modules/core-js/internals/task.js").set);
|
|
6898
7255
|
var microtask = __webpack_require__(/*! ../internals/microtask */ "../../node_modules/core-js/internals/microtask.js");
|
|
6899
|
-
var promiseResolve = __webpack_require__(/*! ../internals/promise-resolve */ "../../node_modules/core-js/internals/promise-resolve.js");
|
|
6900
7256
|
var hostReportErrors = __webpack_require__(/*! ../internals/host-report-errors */ "../../node_modules/core-js/internals/host-report-errors.js");
|
|
6901
|
-
var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "../../node_modules/core-js/internals/new-promise-capability.js");
|
|
6902
7257
|
var perform = __webpack_require__(/*! ../internals/perform */ "../../node_modules/core-js/internals/perform.js");
|
|
7258
|
+
var Queue = __webpack_require__(/*! ../internals/queue */ "../../node_modules/core-js/internals/queue.js");
|
|
6903
7259
|
var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "../../node_modules/core-js/internals/internal-state.js");
|
|
6904
|
-
var
|
|
6905
|
-
var
|
|
6906
|
-
var
|
|
6907
|
-
var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "../../node_modules/core-js/internals/engine-is-node.js");
|
|
6908
|
-
var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "../../node_modules/core-js/internals/engine-v8-version.js");
|
|
7260
|
+
var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "../../node_modules/core-js/internals/promise-native-constructor.js");
|
|
7261
|
+
var PromiseConstructorDetection = __webpack_require__(/*! ../internals/promise-constructor-detection */ "../../node_modules/core-js/internals/promise-constructor-detection.js");
|
|
7262
|
+
var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "../../node_modules/core-js/internals/new-promise-capability.js");
|
|
6909
7263
|
|
|
6910
|
-
var SPECIES = wellKnownSymbol('species');
|
|
6911
7264
|
var PROMISE = 'Promise';
|
|
6912
|
-
|
|
6913
|
-
var
|
|
6914
|
-
var
|
|
7265
|
+
var FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR;
|
|
7266
|
+
var NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;
|
|
7267
|
+
var NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;
|
|
6915
7268
|
var getInternalPromiseState = InternalStateModule.getterFor(PROMISE);
|
|
6916
|
-
var
|
|
6917
|
-
var
|
|
7269
|
+
var setInternalState = InternalStateModule.set;
|
|
7270
|
+
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
|
|
7271
|
+
var PromiseConstructor = NativePromiseConstructor;
|
|
6918
7272
|
var PromisePrototype = NativePromisePrototype;
|
|
6919
7273
|
var TypeError = global.TypeError;
|
|
6920
7274
|
var document = global.document;
|
|
@@ -6923,7 +7277,6 @@ var newPromiseCapability = newPromiseCapabilityModule.f;
|
|
|
6923
7277
|
var newGenericPromiseCapability = newPromiseCapability;
|
|
6924
7278
|
|
|
6925
7279
|
var DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);
|
|
6926
|
-
var NATIVE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent);
|
|
6927
7280
|
var UNHANDLED_REJECTION = 'unhandledrejection';
|
|
6928
7281
|
var REJECTION_HANDLED = 'rejectionhandled';
|
|
6929
7282
|
var PENDING = 0;
|
|
@@ -6931,89 +7284,59 @@ var FULFILLED = 1;
|
|
|
6931
7284
|
var REJECTED = 2;
|
|
6932
7285
|
var HANDLED = 1;
|
|
6933
7286
|
var UNHANDLED = 2;
|
|
6934
|
-
var SUBCLASSING = false;
|
|
6935
7287
|
|
|
6936
7288
|
var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
|
|
6937
7289
|
|
|
6938
|
-
var FORCED = isForced(PROMISE, function () {
|
|
6939
|
-
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(PromiseConstructor);
|
|
6940
|
-
var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(PromiseConstructor);
|
|
6941
|
-
// V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
|
|
6942
|
-
// https://bugs.chromium.org/p/chromium/issues/detail?id=830565
|
|
6943
|
-
// We can't detect it synchronously, so just check versions
|
|
6944
|
-
if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;
|
|
6945
|
-
// We need Promise#finally in the pure version for preventing prototype pollution
|
|
6946
|
-
if (IS_PURE && !PromisePrototype['finally']) return true;
|
|
6947
|
-
// We can't use @@species feature detection in V8 since it causes
|
|
6948
|
-
// deoptimization and performance degradation
|
|
6949
|
-
// https://github.com/zloirock/core-js/issues/679
|
|
6950
|
-
if (V8_VERSION >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false;
|
|
6951
|
-
// Detect correctness of subclassing with @@species support
|
|
6952
|
-
var promise = new PromiseConstructor(function (resolve) { resolve(1); });
|
|
6953
|
-
var FakePromise = function (exec) {
|
|
6954
|
-
exec(function () { /* empty */ }, function () { /* empty */ });
|
|
6955
|
-
};
|
|
6956
|
-
var constructor = promise.constructor = {};
|
|
6957
|
-
constructor[SPECIES] = FakePromise;
|
|
6958
|
-
SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
|
|
6959
|
-
if (!SUBCLASSING) return true;
|
|
6960
|
-
// Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
|
|
6961
|
-
return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_REJECTION_EVENT;
|
|
6962
|
-
});
|
|
6963
|
-
|
|
6964
|
-
var INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) {
|
|
6965
|
-
PromiseConstructor.all(iterable)['catch'](function () { /* empty */ });
|
|
6966
|
-
});
|
|
6967
|
-
|
|
6968
7290
|
// helpers
|
|
6969
7291
|
var isThenable = function (it) {
|
|
6970
7292
|
var then;
|
|
6971
7293
|
return isObject(it) && isCallable(then = it.then) ? then : false;
|
|
6972
7294
|
};
|
|
6973
7295
|
|
|
7296
|
+
var callReaction = function (reaction, state) {
|
|
7297
|
+
var value = state.value;
|
|
7298
|
+
var ok = state.state == FULFILLED;
|
|
7299
|
+
var handler = ok ? reaction.ok : reaction.fail;
|
|
7300
|
+
var resolve = reaction.resolve;
|
|
7301
|
+
var reject = reaction.reject;
|
|
7302
|
+
var domain = reaction.domain;
|
|
7303
|
+
var result, then, exited;
|
|
7304
|
+
try {
|
|
7305
|
+
if (handler) {
|
|
7306
|
+
if (!ok) {
|
|
7307
|
+
if (state.rejection === UNHANDLED) onHandleUnhandled(state);
|
|
7308
|
+
state.rejection = HANDLED;
|
|
7309
|
+
}
|
|
7310
|
+
if (handler === true) result = value;
|
|
7311
|
+
else {
|
|
7312
|
+
if (domain) domain.enter();
|
|
7313
|
+
result = handler(value); // can throw
|
|
7314
|
+
if (domain) {
|
|
7315
|
+
domain.exit();
|
|
7316
|
+
exited = true;
|
|
7317
|
+
}
|
|
7318
|
+
}
|
|
7319
|
+
if (result === reaction.promise) {
|
|
7320
|
+
reject(TypeError('Promise-chain cycle'));
|
|
7321
|
+
} else if (then = isThenable(result)) {
|
|
7322
|
+
call(then, result, resolve, reject);
|
|
7323
|
+
} else resolve(result);
|
|
7324
|
+
} else reject(value);
|
|
7325
|
+
} catch (error) {
|
|
7326
|
+
if (domain && !exited) domain.exit();
|
|
7327
|
+
reject(error);
|
|
7328
|
+
}
|
|
7329
|
+
};
|
|
7330
|
+
|
|
6974
7331
|
var notify = function (state, isReject) {
|
|
6975
7332
|
if (state.notified) return;
|
|
6976
7333
|
state.notified = true;
|
|
6977
|
-
var chain = state.reactions;
|
|
6978
7334
|
microtask(function () {
|
|
6979
|
-
var
|
|
6980
|
-
var
|
|
6981
|
-
|
|
6982
|
-
|
|
6983
|
-
while (chain.length > index) {
|
|
6984
|
-
var reaction = chain[index++];
|
|
6985
|
-
var handler = ok ? reaction.ok : reaction.fail;
|
|
6986
|
-
var resolve = reaction.resolve;
|
|
6987
|
-
var reject = reaction.reject;
|
|
6988
|
-
var domain = reaction.domain;
|
|
6989
|
-
var result, then, exited;
|
|
6990
|
-
try {
|
|
6991
|
-
if (handler) {
|
|
6992
|
-
if (!ok) {
|
|
6993
|
-
if (state.rejection === UNHANDLED) onHandleUnhandled(state);
|
|
6994
|
-
state.rejection = HANDLED;
|
|
6995
|
-
}
|
|
6996
|
-
if (handler === true) result = value;
|
|
6997
|
-
else {
|
|
6998
|
-
if (domain) domain.enter();
|
|
6999
|
-
result = handler(value); // can throw
|
|
7000
|
-
if (domain) {
|
|
7001
|
-
domain.exit();
|
|
7002
|
-
exited = true;
|
|
7003
|
-
}
|
|
7004
|
-
}
|
|
7005
|
-
if (result === reaction.promise) {
|
|
7006
|
-
reject(TypeError('Promise-chain cycle'));
|
|
7007
|
-
} else if (then = isThenable(result)) {
|
|
7008
|
-
call(then, result, resolve, reject);
|
|
7009
|
-
} else resolve(result);
|
|
7010
|
-
} else reject(value);
|
|
7011
|
-
} catch (error) {
|
|
7012
|
-
if (domain && !exited) domain.exit();
|
|
7013
|
-
reject(error);
|
|
7014
|
-
}
|
|
7335
|
+
var reactions = state.reactions;
|
|
7336
|
+
var reaction;
|
|
7337
|
+
while (reaction = reactions.get()) {
|
|
7338
|
+
callReaction(reaction, state);
|
|
7015
7339
|
}
|
|
7016
|
-
state.reactions = [];
|
|
7017
7340
|
state.notified = false;
|
|
7018
7341
|
if (isReject && !state.rejection) onUnhandled(state);
|
|
7019
7342
|
});
|
|
@@ -7028,7 +7351,7 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
7028
7351
|
event.initEvent(name, false, true);
|
|
7029
7352
|
global.dispatchEvent(event);
|
|
7030
7353
|
} else event = { promise: promise, reason: reason };
|
|
7031
|
-
if (!
|
|
7354
|
+
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);
|
|
7032
7355
|
else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
|
|
7033
7356
|
};
|
|
7034
7357
|
|
|
@@ -7109,20 +7432,22 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
7109
7432
|
};
|
|
7110
7433
|
|
|
7111
7434
|
// constructor polyfill
|
|
7112
|
-
if (
|
|
7435
|
+
if (FORCED_PROMISE_CONSTRUCTOR) {
|
|
7113
7436
|
// 25.4.3.1 Promise(executor)
|
|
7114
7437
|
PromiseConstructor = function Promise(executor) {
|
|
7115
7438
|
anInstance(this, PromisePrototype);
|
|
7116
7439
|
aCallable(executor);
|
|
7117
7440
|
call(Internal, this);
|
|
7118
|
-
var state =
|
|
7441
|
+
var state = getInternalPromiseState(this);
|
|
7119
7442
|
try {
|
|
7120
7443
|
executor(bind(internalResolve, state), bind(internalReject, state));
|
|
7121
7444
|
} catch (error) {
|
|
7122
7445
|
internalReject(state, error);
|
|
7123
7446
|
}
|
|
7124
7447
|
};
|
|
7448
|
+
|
|
7125
7449
|
PromisePrototype = PromiseConstructor.prototype;
|
|
7450
|
+
|
|
7126
7451
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
7127
7452
|
Internal = function Promise(executor) {
|
|
7128
7453
|
setInternalState(this, {
|
|
@@ -7130,61 +7455,55 @@ if (FORCED) {
|
|
|
7130
7455
|
done: false,
|
|
7131
7456
|
notified: false,
|
|
7132
7457
|
parent: false,
|
|
7133
|
-
reactions:
|
|
7458
|
+
reactions: new Queue(),
|
|
7134
7459
|
rejection: false,
|
|
7135
7460
|
state: PENDING,
|
|
7136
7461
|
value: undefined
|
|
7137
7462
|
});
|
|
7138
7463
|
};
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
|
|
7147
|
-
|
|
7148
|
-
|
|
7149
|
-
|
|
7150
|
-
|
|
7151
|
-
|
|
7152
|
-
|
|
7153
|
-
|
|
7154
|
-
// `Promise.prototype.catch` method
|
|
7155
|
-
// https://tc39.es/ecma262/#sec-promise.prototype.catch
|
|
7156
|
-
'catch': function (onRejected) {
|
|
7157
|
-
return this.then(undefined, onRejected);
|
|
7158
|
-
}
|
|
7464
|
+
|
|
7465
|
+
// `Promise.prototype.then` method
|
|
7466
|
+
// https://tc39.es/ecma262/#sec-promise.prototype.then
|
|
7467
|
+
Internal.prototype = defineBuiltIn(PromisePrototype, 'then', function then(onFulfilled, onRejected) {
|
|
7468
|
+
var state = getInternalPromiseState(this);
|
|
7469
|
+
var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));
|
|
7470
|
+
state.parent = true;
|
|
7471
|
+
reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;
|
|
7472
|
+
reaction.fail = isCallable(onRejected) && onRejected;
|
|
7473
|
+
reaction.domain = IS_NODE ? process.domain : undefined;
|
|
7474
|
+
if (state.state == PENDING) state.reactions.add(reaction);
|
|
7475
|
+
else microtask(function () {
|
|
7476
|
+
callReaction(reaction, state);
|
|
7477
|
+
});
|
|
7478
|
+
return reaction.promise;
|
|
7159
7479
|
});
|
|
7480
|
+
|
|
7160
7481
|
OwnPromiseCapability = function () {
|
|
7161
7482
|
var promise = new Internal();
|
|
7162
|
-
var state =
|
|
7483
|
+
var state = getInternalPromiseState(promise);
|
|
7163
7484
|
this.promise = promise;
|
|
7164
7485
|
this.resolve = bind(internalResolve, state);
|
|
7165
7486
|
this.reject = bind(internalReject, state);
|
|
7166
7487
|
};
|
|
7488
|
+
|
|
7167
7489
|
newPromiseCapabilityModule.f = newPromiseCapability = function (C) {
|
|
7168
7490
|
return C === PromiseConstructor || C === PromiseWrapper
|
|
7169
7491
|
? new OwnPromiseCapability(C)
|
|
7170
7492
|
: newGenericPromiseCapability(C);
|
|
7171
7493
|
};
|
|
7172
7494
|
|
|
7173
|
-
if (!IS_PURE && isCallable(
|
|
7495
|
+
if (!IS_PURE && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype) {
|
|
7174
7496
|
nativeThen = NativePromisePrototype.then;
|
|
7175
7497
|
|
|
7176
|
-
if (!
|
|
7498
|
+
if (!NATIVE_PROMISE_SUBCLASSING) {
|
|
7177
7499
|
// make `Promise#then` return a polyfilled `Promise` for native promise-based APIs
|
|
7178
|
-
|
|
7500
|
+
defineBuiltIn(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {
|
|
7179
7501
|
var that = this;
|
|
7180
7502
|
return new PromiseConstructor(function (resolve, reject) {
|
|
7181
7503
|
call(nativeThen, that, resolve, reject);
|
|
7182
7504
|
}).then(onFulfilled, onRejected);
|
|
7183
7505
|
// https://github.com/zloirock/core-js/issues/640
|
|
7184
7506
|
}, { unsafe: true });
|
|
7185
|
-
|
|
7186
|
-
// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
|
|
7187
|
-
redefine(NativePromisePrototype, 'catch', PromisePrototype['catch'], { unsafe: true });
|
|
7188
7507
|
}
|
|
7189
7508
|
|
|
7190
7509
|
// make `.constructor === Promise` work for native promise-based APIs
|
|
@@ -7199,68 +7518,55 @@ if (FORCED) {
|
|
|
7199
7518
|
}
|
|
7200
7519
|
}
|
|
7201
7520
|
|
|
7202
|
-
$({ global: true, wrap: true, forced:
|
|
7521
|
+
$({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
|
|
7203
7522
|
Promise: PromiseConstructor
|
|
7204
7523
|
});
|
|
7205
7524
|
|
|
7206
7525
|
setToStringTag(PromiseConstructor, PROMISE, false, true);
|
|
7207
7526
|
setSpecies(PROMISE);
|
|
7208
7527
|
|
|
7209
|
-
PromiseWrapper = getBuiltIn(PROMISE);
|
|
7210
7528
|
|
|
7211
|
-
|
|
7212
|
-
$({ target: PROMISE, stat: true, forced: FORCED }, {
|
|
7213
|
-
// `Promise.reject` method
|
|
7214
|
-
// https://tc39.es/ecma262/#sec-promise.reject
|
|
7215
|
-
reject: function reject(r) {
|
|
7216
|
-
var capability = newPromiseCapability(this);
|
|
7217
|
-
call(capability.reject, undefined, r);
|
|
7218
|
-
return capability.promise;
|
|
7219
|
-
}
|
|
7220
|
-
});
|
|
7529
|
+
/***/ }),
|
|
7221
7530
|
|
|
7222
|
-
|
|
7223
|
-
|
|
7224
|
-
|
|
7225
|
-
|
|
7226
|
-
|
|
7227
|
-
}
|
|
7228
|
-
});
|
|
7531
|
+
/***/ "../../node_modules/core-js/modules/es.promise.js":
|
|
7532
|
+
/*!********************************************************!*\
|
|
7533
|
+
!*** ../../node_modules/core-js/modules/es.promise.js ***!
|
|
7534
|
+
\********************************************************/
|
|
7535
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
7229
7536
|
|
|
7230
|
-
|
|
7231
|
-
|
|
7232
|
-
|
|
7233
|
-
|
|
7234
|
-
|
|
7235
|
-
|
|
7236
|
-
|
|
7237
|
-
|
|
7238
|
-
|
|
7239
|
-
|
|
7240
|
-
|
|
7241
|
-
|
|
7242
|
-
|
|
7243
|
-
|
|
7244
|
-
|
|
7245
|
-
|
|
7246
|
-
|
|
7247
|
-
|
|
7248
|
-
|
|
7249
|
-
|
|
7250
|
-
|
|
7251
|
-
|
|
7252
|
-
|
|
7253
|
-
|
|
7254
|
-
|
|
7255
|
-
|
|
7256
|
-
|
|
7257
|
-
|
|
7258
|
-
|
|
7259
|
-
|
|
7260
|
-
// https://tc39.es/ecma262/#sec-promise.race
|
|
7537
|
+
// TODO: Remove this module from `core-js@4` since it's split to modules listed below
|
|
7538
|
+
__webpack_require__(/*! ../modules/es.promise.constructor */ "../../node_modules/core-js/modules/es.promise.constructor.js");
|
|
7539
|
+
__webpack_require__(/*! ../modules/es.promise.all */ "../../node_modules/core-js/modules/es.promise.all.js");
|
|
7540
|
+
__webpack_require__(/*! ../modules/es.promise.catch */ "../../node_modules/core-js/modules/es.promise.catch.js");
|
|
7541
|
+
__webpack_require__(/*! ../modules/es.promise.race */ "../../node_modules/core-js/modules/es.promise.race.js");
|
|
7542
|
+
__webpack_require__(/*! ../modules/es.promise.reject */ "../../node_modules/core-js/modules/es.promise.reject.js");
|
|
7543
|
+
__webpack_require__(/*! ../modules/es.promise.resolve */ "../../node_modules/core-js/modules/es.promise.resolve.js");
|
|
7544
|
+
|
|
7545
|
+
|
|
7546
|
+
/***/ }),
|
|
7547
|
+
|
|
7548
|
+
/***/ "../../node_modules/core-js/modules/es.promise.race.js":
|
|
7549
|
+
/*!*************************************************************!*\
|
|
7550
|
+
!*** ../../node_modules/core-js/modules/es.promise.race.js ***!
|
|
7551
|
+
\*************************************************************/
|
|
7552
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
7553
|
+
|
|
7554
|
+
"use strict";
|
|
7555
|
+
|
|
7556
|
+
var $ = __webpack_require__(/*! ../internals/export */ "../../node_modules/core-js/internals/export.js");
|
|
7557
|
+
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
7558
|
+
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../../node_modules/core-js/internals/a-callable.js");
|
|
7559
|
+
var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "../../node_modules/core-js/internals/new-promise-capability.js");
|
|
7560
|
+
var perform = __webpack_require__(/*! ../internals/perform */ "../../node_modules/core-js/internals/perform.js");
|
|
7561
|
+
var iterate = __webpack_require__(/*! ../internals/iterate */ "../../node_modules/core-js/internals/iterate.js");
|
|
7562
|
+
var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(/*! ../internals/promise-statics-incorrect-iteration */ "../../node_modules/core-js/internals/promise-statics-incorrect-iteration.js");
|
|
7563
|
+
|
|
7564
|
+
// `Promise.race` method
|
|
7565
|
+
// https://tc39.es/ecma262/#sec-promise.race
|
|
7566
|
+
$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
|
|
7261
7567
|
race: function race(iterable) {
|
|
7262
7568
|
var C = this;
|
|
7263
|
-
var capability =
|
|
7569
|
+
var capability = newPromiseCapabilityModule.f(C);
|
|
7264
7570
|
var reject = capability.reject;
|
|
7265
7571
|
var result = perform(function () {
|
|
7266
7572
|
var $promiseResolve = aCallable(C.resolve);
|
|
@@ -7274,6 +7580,61 @@ $({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
|
|
|
7274
7580
|
});
|
|
7275
7581
|
|
|
7276
7582
|
|
|
7583
|
+
/***/ }),
|
|
7584
|
+
|
|
7585
|
+
/***/ "../../node_modules/core-js/modules/es.promise.reject.js":
|
|
7586
|
+
/*!***************************************************************!*\
|
|
7587
|
+
!*** ../../node_modules/core-js/modules/es.promise.reject.js ***!
|
|
7588
|
+
\***************************************************************/
|
|
7589
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
7590
|
+
|
|
7591
|
+
"use strict";
|
|
7592
|
+
|
|
7593
|
+
var $ = __webpack_require__(/*! ../internals/export */ "../../node_modules/core-js/internals/export.js");
|
|
7594
|
+
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
7595
|
+
var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "../../node_modules/core-js/internals/new-promise-capability.js");
|
|
7596
|
+
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "../../node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR);
|
|
7597
|
+
|
|
7598
|
+
// `Promise.reject` method
|
|
7599
|
+
// https://tc39.es/ecma262/#sec-promise.reject
|
|
7600
|
+
$({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
|
|
7601
|
+
reject: function reject(r) {
|
|
7602
|
+
var capability = newPromiseCapabilityModule.f(this);
|
|
7603
|
+
call(capability.reject, undefined, r);
|
|
7604
|
+
return capability.promise;
|
|
7605
|
+
}
|
|
7606
|
+
});
|
|
7607
|
+
|
|
7608
|
+
|
|
7609
|
+
/***/ }),
|
|
7610
|
+
|
|
7611
|
+
/***/ "../../node_modules/core-js/modules/es.promise.resolve.js":
|
|
7612
|
+
/*!****************************************************************!*\
|
|
7613
|
+
!*** ../../node_modules/core-js/modules/es.promise.resolve.js ***!
|
|
7614
|
+
\****************************************************************/
|
|
7615
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
7616
|
+
|
|
7617
|
+
"use strict";
|
|
7618
|
+
|
|
7619
|
+
var $ = __webpack_require__(/*! ../internals/export */ "../../node_modules/core-js/internals/export.js");
|
|
7620
|
+
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../../node_modules/core-js/internals/get-built-in.js");
|
|
7621
|
+
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../../node_modules/core-js/internals/is-pure.js");
|
|
7622
|
+
var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "../../node_modules/core-js/internals/promise-native-constructor.js");
|
|
7623
|
+
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "../../node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR);
|
|
7624
|
+
var promiseResolve = __webpack_require__(/*! ../internals/promise-resolve */ "../../node_modules/core-js/internals/promise-resolve.js");
|
|
7625
|
+
|
|
7626
|
+
var PromiseConstructorWrapper = getBuiltIn('Promise');
|
|
7627
|
+
var CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR;
|
|
7628
|
+
|
|
7629
|
+
// `Promise.resolve` method
|
|
7630
|
+
// https://tc39.es/ecma262/#sec-promise.resolve
|
|
7631
|
+
$({ target: 'Promise', stat: true, forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR }, {
|
|
7632
|
+
resolve: function resolve(x) {
|
|
7633
|
+
return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x);
|
|
7634
|
+
}
|
|
7635
|
+
});
|
|
7636
|
+
|
|
7637
|
+
|
|
7277
7638
|
/***/ }),
|
|
7278
7639
|
|
|
7279
7640
|
/***/ "../../node_modules/core-js/modules/es.symbol.description.js":
|
|
@@ -7338,7 +7699,7 @@ if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototy
|
|
|
7338
7699
|
}
|
|
7339
7700
|
});
|
|
7340
7701
|
|
|
7341
|
-
$({ global: true, forced: true }, {
|
|
7702
|
+
$({ global: true, constructor: true, forced: true }, {
|
|
7342
7703
|
Symbol: SymbolWrapper
|
|
7343
7704
|
});
|
|
7344
7705
|
}
|
|
@@ -7357,17 +7718,6 @@ module.exports = require("ajv");
|
|
|
7357
7718
|
|
|
7358
7719
|
/***/ }),
|
|
7359
7720
|
|
|
7360
|
-
/***/ "archiver":
|
|
7361
|
-
/*!***************************!*\
|
|
7362
|
-
!*** external "archiver" ***!
|
|
7363
|
-
\***************************/
|
|
7364
|
-
/***/ ((module) => {
|
|
7365
|
-
|
|
7366
|
-
"use strict";
|
|
7367
|
-
module.exports = require("archiver");
|
|
7368
|
-
|
|
7369
|
-
/***/ }),
|
|
7370
|
-
|
|
7371
7721
|
/***/ "axios":
|
|
7372
7722
|
/*!************************!*\
|
|
7373
7723
|
!*** external "axios" ***!
|
|
@@ -7412,6 +7762,17 @@ module.exports = require("glob");
|
|
|
7412
7762
|
|
|
7413
7763
|
/***/ }),
|
|
7414
7764
|
|
|
7765
|
+
/***/ "jszip":
|
|
7766
|
+
/*!************************!*\
|
|
7767
|
+
!*** external "jszip" ***!
|
|
7768
|
+
\************************/
|
|
7769
|
+
/***/ ((module) => {
|
|
7770
|
+
|
|
7771
|
+
"use strict";
|
|
7772
|
+
module.exports = require("jszip");
|
|
7773
|
+
|
|
7774
|
+
/***/ }),
|
|
7775
|
+
|
|
7415
7776
|
/***/ "rimraf":
|
|
7416
7777
|
/*!*************************!*\
|
|
7417
7778
|
!*** external "rimraf" ***!
|
|
@@ -7566,6 +7927,17 @@ module.exports = require("path");
|
|
|
7566
7927
|
|
|
7567
7928
|
/***/ }),
|
|
7568
7929
|
|
|
7930
|
+
/***/ "stream":
|
|
7931
|
+
/*!*************************!*\
|
|
7932
|
+
!*** external "stream" ***!
|
|
7933
|
+
\*************************/
|
|
7934
|
+
/***/ ((module) => {
|
|
7935
|
+
|
|
7936
|
+
"use strict";
|
|
7937
|
+
module.exports = require("stream");
|
|
7938
|
+
|
|
7939
|
+
/***/ }),
|
|
7940
|
+
|
|
7569
7941
|
/***/ "util":
|
|
7570
7942
|
/*!***********************!*\
|
|
7571
7943
|
!*** external "util" ***!
|
|
@@ -7584,7 +7956,7 @@ module.exports = require("util");
|
|
|
7584
7956
|
/***/ ((module) => {
|
|
7585
7957
|
|
|
7586
7958
|
"use strict";
|
|
7587
|
-
module.exports = JSON.parse('{"name":"@intelligentgraphics/ig.gfx.packager","version":"2.1.
|
|
7959
|
+
module.exports = JSON.parse('{"name":"@intelligentgraphics/ig.gfx.packager","version":"2.1.3","description":"IG.GFX.Packager 2.1.3 (2.1.3.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/"}}}');
|
|
7588
7960
|
|
|
7589
7961
|
/***/ })
|
|
7590
7962
|
|
|
@@ -7649,9 +8021,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
7649
8021
|
|
|
7650
8022
|
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; }
|
|
7651
8023
|
|
|
7652
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
8024
|
+
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; }
|
|
7653
8025
|
|
|
7654
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
8026
|
+
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; }
|
|
7655
8027
|
|
|
7656
8028
|
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; }
|
|
7657
8029
|
|
|
@@ -7815,7 +8187,8 @@ yargs.command({
|
|
|
7815
8187
|
});
|
|
7816
8188
|
yargs.demandCommand().pkgConf("packager").showHelpOnFail(false).version().argv;
|
|
7817
8189
|
const notifier = (0, _updateNotifier.default)({
|
|
7818
|
-
pkg: pjson
|
|
8190
|
+
pkg: pjson,
|
|
8191
|
+
shouldNotifyInNpmScript: true
|
|
7819
8192
|
});
|
|
7820
8193
|
notifier.notify({
|
|
7821
8194
|
isGlobal: false,
|