@teamix/pro 1.5.4 → 1.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pro.js +426 -1011
- package/dist/pro.min.js +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/utils/useRealHistory.js +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/utils/useRealHistory.js +1 -1
- package/package.json +2 -1
package/dist/pro.js
CHANGED
@@ -1888,7 +1888,7 @@ exports.Z = {
|
|
1888
1888
|
|
1889
1889
|
/***/ }),
|
1890
1890
|
|
1891
|
-
/***/
|
1891
|
+
/***/ 25693:
|
1892
1892
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
1893
1893
|
|
1894
1894
|
"use strict";
|
@@ -2220,7 +2220,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
2220
2220
|
/* harmony export */ "useEffectForm": () => (/* reexport safe */ _shared_externals__WEBPACK_IMPORTED_MODULE_0__.eJ)
|
2221
2221
|
/* harmony export */ });
|
2222
2222
|
/* harmony import */ var _shared_externals__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67963);
|
2223
|
-
/* harmony import */ var _effects__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
2223
|
+
/* harmony import */ var _effects__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(25693);
|
2224
2224
|
/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(30255);
|
2225
2225
|
|
2226
2226
|
|
@@ -59147,10 +59147,13 @@ function pascalCase(input, options) {
|
|
59147
59147
|
|
59148
59148
|
/***/ }),
|
59149
59149
|
|
59150
|
-
/***/
|
59151
|
-
/***/ ((module
|
59150
|
+
/***/ 18041:
|
59151
|
+
/***/ ((module) => {
|
59152
59152
|
|
59153
59153
|
"use strict";
|
59154
|
+
// 'path' module extracted from Node.js v8.11.1 (only the posix part)
|
59155
|
+
// transplited with Babel
|
59156
|
+
|
59154
59157
|
// Copyright Joyent, Inc. and other Node contributors.
|
59155
59158
|
//
|
59156
59159
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
@@ -59175,486 +59178,443 @@ function pascalCase(input, options) {
|
|
59175
59178
|
|
59176
59179
|
|
59177
59180
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
59178
|
-
|
59179
|
-
|
59180
|
-
|
59181
|
-
|
59182
|
-
|
59183
|
-
|
59184
|
-
//
|
59185
|
-
function
|
59186
|
-
var res =
|
59187
|
-
|
59188
|
-
|
59189
|
-
|
59190
|
-
|
59191
|
-
|
59192
|
-
if (
|
59193
|
-
|
59194
|
-
|
59195
|
-
|
59196
|
-
|
59181
|
+
function assertPath(path) {
|
59182
|
+
if (typeof path !== 'string') {
|
59183
|
+
throw new TypeError('Path must be a string. Received ' + JSON.stringify(path));
|
59184
|
+
}
|
59185
|
+
}
|
59186
|
+
|
59187
|
+
// Resolves . and .. elements in a path with directory names
|
59188
|
+
function normalizeStringPosix(path, allowAboveRoot) {
|
59189
|
+
var res = '';
|
59190
|
+
var lastSegmentLength = 0;
|
59191
|
+
var lastSlash = -1;
|
59192
|
+
var dots = 0;
|
59193
|
+
var code;
|
59194
|
+
for (var i = 0; i <= path.length; ++i) {
|
59195
|
+
if (i < path.length) code = path.charCodeAt(i);else if (code === 47 /*/*/) break;else code = 47 /*/*/;
|
59196
|
+
if (code === 47 /*/*/) {
|
59197
|
+
if (lastSlash === i - 1 || dots === 1) {
|
59198
|
+
// NOOP
|
59199
|
+
} else if (lastSlash !== i - 1 && dots === 2) {
|
59200
|
+
if (res.length < 2 || lastSegmentLength !== 2 || res.charCodeAt(res.length - 1) !== 46 /*.*/ || res.charCodeAt(res.length - 2) !== 46 /*.*/) {
|
59201
|
+
if (res.length > 2) {
|
59202
|
+
var lastSlashIndex = res.lastIndexOf('/');
|
59203
|
+
if (lastSlashIndex !== res.length - 1) {
|
59204
|
+
if (lastSlashIndex === -1) {
|
59205
|
+
res = '';
|
59206
|
+
lastSegmentLength = 0;
|
59207
|
+
} else {
|
59208
|
+
res = res.slice(0, lastSlashIndex);
|
59209
|
+
lastSegmentLength = res.length - 1 - res.lastIndexOf('/');
|
59210
|
+
}
|
59211
|
+
lastSlash = i;
|
59212
|
+
dots = 0;
|
59213
|
+
continue;
|
59214
|
+
}
|
59215
|
+
} else if (res.length === 2 || res.length === 1) {
|
59216
|
+
res = '';
|
59217
|
+
lastSegmentLength = 0;
|
59218
|
+
lastSlash = i;
|
59219
|
+
dots = 0;
|
59220
|
+
continue;
|
59221
|
+
}
|
59222
|
+
}
|
59223
|
+
if (allowAboveRoot) {
|
59224
|
+
if (res.length > 0) res += '/..';else res = '..';
|
59225
|
+
lastSegmentLength = 2;
|
59226
|
+
}
|
59227
|
+
} else {
|
59228
|
+
if (res.length > 0) res += '/' + path.slice(lastSlash + 1, i);else res = path.slice(lastSlash + 1, i);
|
59229
|
+
lastSegmentLength = i - lastSlash - 1;
|
59197
59230
|
}
|
59231
|
+
lastSlash = i;
|
59232
|
+
dots = 0;
|
59233
|
+
} else if (code === 46 /*.*/ && dots !== -1) {
|
59234
|
+
++dots;
|
59198
59235
|
} else {
|
59199
|
-
|
59236
|
+
dots = -1;
|
59200
59237
|
}
|
59201
59238
|
}
|
59202
59239
|
return res;
|
59203
59240
|
}
|
59204
|
-
|
59205
|
-
|
59206
|
-
|
59207
|
-
function trimArray(arr) {
|
59208
|
-
var lastIndex = arr.length - 1;
|
59209
|
-
var start = 0;
|
59210
|
-
for (; start <= lastIndex; start++) {
|
59211
|
-
if (arr[start]) break;
|
59212
|
-
}
|
59213
|
-
var end = lastIndex;
|
59214
|
-
for (; end >= 0; end--) {
|
59215
|
-
if (arr[end]) break;
|
59216
|
-
}
|
59217
|
-
if (start === 0 && end === lastIndex) return arr;
|
59218
|
-
if (start > end) return [];
|
59219
|
-
return arr.slice(start, end + 1);
|
59220
|
-
}
|
59221
|
-
|
59222
|
-
// Regex to split a windows path into three parts: [*, device, slash,
|
59223
|
-
// tail] windows-only
|
59224
|
-
var splitDeviceRe = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;
|
59225
|
-
|
59226
|
-
// Regex to split the tail part of the above into [*, dir, basename, ext]
|
59227
|
-
var splitTailRe = /^([\s\S]*?)((?:\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))(?:[\\\/]*)$/;
|
59228
|
-
var win32 = {};
|
59229
|
-
|
59230
|
-
// Function to split a filename into [root, dir, basename, ext]
|
59231
|
-
function win32SplitPath(filename) {
|
59232
|
-
// Separate device+slash from tail
|
59233
|
-
var result = splitDeviceRe.exec(filename),
|
59234
|
-
device = (result[1] || '') + (result[2] || ''),
|
59235
|
-
tail = result[3] || '';
|
59236
|
-
// Split the tail into dir, basename and extension
|
59237
|
-
var result2 = splitTailRe.exec(tail),
|
59238
|
-
dir = result2[1],
|
59239
|
-
basename = result2[2],
|
59240
|
-
ext = result2[3];
|
59241
|
-
return [device, dir, basename, ext];
|
59242
|
-
}
|
59243
|
-
function win32StatPath(path) {
|
59244
|
-
var result = splitDeviceRe.exec(path),
|
59245
|
-
device = result[1] || '',
|
59246
|
-
isUnc = !!device && device[1] !== ':';
|
59247
|
-
return {
|
59248
|
-
device: device,
|
59249
|
-
isUnc: isUnc,
|
59250
|
-
isAbsolute: isUnc || !!result[2],
|
59251
|
-
// UNC paths are always absolute
|
59252
|
-
tail: result[3]
|
59253
|
-
};
|
59254
|
-
}
|
59255
|
-
function normalizeUNCRoot(device) {
|
59256
|
-
return '\\\\' + device.replace(/^[\\\/]+/, '').replace(/[\\\/]+/g, '\\');
|
59257
|
-
}
|
59258
|
-
|
59259
|
-
// path.resolve([from ...], to)
|
59260
|
-
win32.resolve = function () {
|
59261
|
-
var resolvedDevice = '',
|
59262
|
-
resolvedTail = '',
|
59263
|
-
resolvedAbsolute = false;
|
59264
|
-
for (var i = arguments.length - 1; i >= -1; i--) {
|
59265
|
-
var path;
|
59266
|
-
if (i >= 0) {
|
59267
|
-
path = arguments[i];
|
59268
|
-
} else if (!resolvedDevice) {
|
59269
|
-
path = process.cwd();
|
59270
|
-
} else {
|
59271
|
-
// Windows has the concept of drive-specific current working
|
59272
|
-
// directories. If we've resolved a drive letter but not yet an
|
59273
|
-
// absolute path, get cwd for that drive. We're sure the device is not
|
59274
|
-
// an unc path at this points, because unc paths are always absolute.
|
59275
|
-
path = process.env['=' + resolvedDevice];
|
59276
|
-
// Verify that a drive-local cwd was found and that it actually points
|
59277
|
-
// to our drive. If not, default to the drive's root.
|
59278
|
-
if (!path || path.substr(0, 3).toLowerCase() !== resolvedDevice.toLowerCase() + '\\') {
|
59279
|
-
path = resolvedDevice + '\\';
|
59280
|
-
}
|
59281
|
-
}
|
59282
|
-
|
59283
|
-
// Skip empty and invalid entries
|
59284
|
-
if (!util.isString(path)) {
|
59285
|
-
throw new TypeError('Arguments to path.resolve must be strings');
|
59286
|
-
} else if (!path) {
|
59287
|
-
continue;
|
59288
|
-
}
|
59289
|
-
var result = win32StatPath(path),
|
59290
|
-
device = result.device,
|
59291
|
-
isUnc = result.isUnc,
|
59292
|
-
isAbsolute = result.isAbsolute,
|
59293
|
-
tail = result.tail;
|
59294
|
-
if (device && resolvedDevice && device.toLowerCase() !== resolvedDevice.toLowerCase()) {
|
59295
|
-
// This path points to another device so it is not applicable
|
59296
|
-
continue;
|
59297
|
-
}
|
59298
|
-
if (!resolvedDevice) {
|
59299
|
-
resolvedDevice = device;
|
59300
|
-
}
|
59301
|
-
if (!resolvedAbsolute) {
|
59302
|
-
resolvedTail = tail + '\\' + resolvedTail;
|
59303
|
-
resolvedAbsolute = isAbsolute;
|
59304
|
-
}
|
59305
|
-
if (resolvedDevice && resolvedAbsolute) {
|
59306
|
-
break;
|
59307
|
-
}
|
59308
|
-
}
|
59309
|
-
|
59310
|
-
// Convert slashes to backslashes when `resolvedDevice` points to an UNC
|
59311
|
-
// root. Also squash multiple slashes into a single one where appropriate.
|
59312
|
-
if (isUnc) {
|
59313
|
-
resolvedDevice = normalizeUNCRoot(resolvedDevice);
|
59314
|
-
}
|
59315
|
-
|
59316
|
-
// At this point the path should be resolved to a full absolute path,
|
59317
|
-
// but handle relative paths to be safe (might happen when process.cwd()
|
59318
|
-
// fails)
|
59319
|
-
|
59320
|
-
// Normalize the tail path
|
59321
|
-
resolvedTail = normalizeArray(resolvedTail.split(/[\\\/]+/), !resolvedAbsolute).join('\\');
|
59322
|
-
return resolvedDevice + (resolvedAbsolute ? '\\' : '') + resolvedTail || '.';
|
59323
|
-
};
|
59324
|
-
win32.normalize = function (path) {
|
59325
|
-
var result = win32StatPath(path),
|
59326
|
-
device = result.device,
|
59327
|
-
isUnc = result.isUnc,
|
59328
|
-
isAbsolute = result.isAbsolute,
|
59329
|
-
tail = result.tail,
|
59330
|
-
trailingSlash = /[\\\/]$/.test(tail);
|
59331
|
-
|
59332
|
-
// Normalize the tail path
|
59333
|
-
tail = normalizeArray(tail.split(/[\\\/]+/), !isAbsolute).join('\\');
|
59334
|
-
if (!tail && !isAbsolute) {
|
59335
|
-
tail = '.';
|
59336
|
-
}
|
59337
|
-
if (tail && trailingSlash) {
|
59338
|
-
tail += '\\';
|
59339
|
-
}
|
59340
|
-
|
59341
|
-
// Convert slashes to backslashes when `device` points to an UNC root.
|
59342
|
-
// Also squash multiple slashes into a single one where appropriate.
|
59343
|
-
if (isUnc) {
|
59344
|
-
device = normalizeUNCRoot(device);
|
59345
|
-
}
|
59346
|
-
return device + (isAbsolute ? '\\' : '') + tail;
|
59347
|
-
};
|
59348
|
-
win32.isAbsolute = function (path) {
|
59349
|
-
return win32StatPath(path).isAbsolute;
|
59350
|
-
};
|
59351
|
-
win32.join = function () {
|
59352
|
-
var paths = [];
|
59353
|
-
for (var i = 0; i < arguments.length; i++) {
|
59354
|
-
var arg = arguments[i];
|
59355
|
-
if (!util.isString(arg)) {
|
59356
|
-
throw new TypeError('Arguments to path.join must be strings');
|
59357
|
-
}
|
59358
|
-
if (arg) {
|
59359
|
-
paths.push(arg);
|
59360
|
-
}
|
59361
|
-
}
|
59362
|
-
var joined = paths.join('\\');
|
59363
|
-
|
59364
|
-
// Make sure that the joined path doesn't start with two slashes, because
|
59365
|
-
// normalize() will mistake it for an UNC path then.
|
59366
|
-
//
|
59367
|
-
// This step is skipped when it is very clear that the user actually
|
59368
|
-
// intended to point at an UNC path. This is assumed when the first
|
59369
|
-
// non-empty string arguments starts with exactly two slashes followed by
|
59370
|
-
// at least one more non-slash character.
|
59371
|
-
//
|
59372
|
-
// Note that for normalize() to treat a path as an UNC path it needs to
|
59373
|
-
// have at least 2 components, so we don't filter for that here.
|
59374
|
-
// This means that the user can use join to construct UNC paths from
|
59375
|
-
// a server name and a share name; for example:
|
59376
|
-
// path.join('//server', 'share') -> '\\\\server\\share\')
|
59377
|
-
if (!/^[\\\/]{2}[^\\\/]/.test(paths[0])) {
|
59378
|
-
joined = joined.replace(/^[\\\/]{2,}/, '\\');
|
59379
|
-
}
|
59380
|
-
return win32.normalize(joined);
|
59381
|
-
};
|
59382
|
-
|
59383
|
-
// path.relative(from, to)
|
59384
|
-
// it will solve the relative path from 'from' to 'to', for instance:
|
59385
|
-
// from = 'C:\\orandea\\test\\aaa'
|
59386
|
-
// to = 'C:\\orandea\\impl\\bbb'
|
59387
|
-
// The output of the function should be: '..\\..\\impl\\bbb'
|
59388
|
-
win32.relative = function (from, to) {
|
59389
|
-
from = win32.resolve(from);
|
59390
|
-
to = win32.resolve(to);
|
59391
|
-
|
59392
|
-
// windows is not case sensitive
|
59393
|
-
var lowerFrom = from.toLowerCase();
|
59394
|
-
var lowerTo = to.toLowerCase();
|
59395
|
-
var toParts = trimArray(to.split('\\'));
|
59396
|
-
var lowerFromParts = trimArray(lowerFrom.split('\\'));
|
59397
|
-
var lowerToParts = trimArray(lowerTo.split('\\'));
|
59398
|
-
var length = Math.min(lowerFromParts.length, lowerToParts.length);
|
59399
|
-
var samePartsLength = length;
|
59400
|
-
for (var i = 0; i < length; i++) {
|
59401
|
-
if (lowerFromParts[i] !== lowerToParts[i]) {
|
59402
|
-
samePartsLength = i;
|
59403
|
-
break;
|
59404
|
-
}
|
59405
|
-
}
|
59406
|
-
if (samePartsLength == 0) {
|
59407
|
-
return to;
|
59408
|
-
}
|
59409
|
-
var outputParts = [];
|
59410
|
-
for (var i = samePartsLength; i < lowerFromParts.length; i++) {
|
59411
|
-
outputParts.push('..');
|
59412
|
-
}
|
59413
|
-
outputParts = outputParts.concat(toParts.slice(samePartsLength));
|
59414
|
-
return outputParts.join('\\');
|
59415
|
-
};
|
59416
|
-
win32._makeLong = function (path) {
|
59417
|
-
// Note: this will *probably* throw somewhere.
|
59418
|
-
if (!util.isString(path)) return path;
|
59419
|
-
if (!path) {
|
59420
|
-
return '';
|
59421
|
-
}
|
59422
|
-
var resolvedPath = win32.resolve(path);
|
59423
|
-
if (/^[a-zA-Z]\:\\/.test(resolvedPath)) {
|
59424
|
-
// path is local filesystem path, which needs to be converted
|
59425
|
-
// to long UNC path.
|
59426
|
-
return '\\\\?\\' + resolvedPath;
|
59427
|
-
} else if (/^\\\\[^?.]/.test(resolvedPath)) {
|
59428
|
-
// path is network UNC path, which needs to be converted
|
59429
|
-
// to long UNC path.
|
59430
|
-
return "\\\\?\\UNC\\" + resolvedPath.substring(2);
|
59431
|
-
}
|
59432
|
-
return path;
|
59433
|
-
};
|
59434
|
-
win32.dirname = function (path) {
|
59435
|
-
var result = win32SplitPath(path),
|
59436
|
-
root = result[0],
|
59437
|
-
dir = result[1];
|
59438
|
-
if (!root && !dir) {
|
59439
|
-
// No dirname whatsoever
|
59440
|
-
return '.';
|
59441
|
-
}
|
59442
|
-
if (dir) {
|
59443
|
-
// It has a dirname, strip trailing slash
|
59444
|
-
dir = dir.substr(0, dir.length - 1);
|
59445
|
-
}
|
59446
|
-
return root + dir;
|
59447
|
-
};
|
59448
|
-
win32.basename = function (path, ext) {
|
59449
|
-
var f = win32SplitPath(path)[2];
|
59450
|
-
// TODO: make this comparison case-insensitive on windows?
|
59451
|
-
if (ext && f.substr(-1 * ext.length) === ext) {
|
59452
|
-
f = f.substr(0, f.length - ext.length);
|
59453
|
-
}
|
59454
|
-
return f;
|
59455
|
-
};
|
59456
|
-
win32.extname = function (path) {
|
59457
|
-
return win32SplitPath(path)[3];
|
59458
|
-
};
|
59459
|
-
win32.format = function (pathObject) {
|
59460
|
-
if (!util.isObject(pathObject)) {
|
59461
|
-
throw new TypeError("Parameter 'pathObject' must be an object, not " + _typeof(pathObject));
|
59462
|
-
}
|
59463
|
-
var root = pathObject.root || '';
|
59464
|
-
if (!util.isString(root)) {
|
59465
|
-
throw new TypeError("'pathObject.root' must be a string or undefined, not " + _typeof(pathObject.root));
|
59466
|
-
}
|
59467
|
-
var dir = pathObject.dir;
|
59468
|
-
var base = pathObject.base || '';
|
59241
|
+
function _format(sep, pathObject) {
|
59242
|
+
var dir = pathObject.dir || pathObject.root;
|
59243
|
+
var base = pathObject.base || (pathObject.name || '') + (pathObject.ext || '');
|
59469
59244
|
if (!dir) {
|
59470
59245
|
return base;
|
59471
59246
|
}
|
59472
|
-
if (dir
|
59247
|
+
if (dir === pathObject.root) {
|
59473
59248
|
return dir + base;
|
59474
59249
|
}
|
59475
|
-
return dir +
|
59476
|
-
}
|
59477
|
-
|
59478
|
-
|
59479
|
-
|
59480
|
-
|
59481
|
-
|
59482
|
-
|
59483
|
-
|
59484
|
-
|
59485
|
-
|
59486
|
-
|
59487
|
-
|
59488
|
-
|
59489
|
-
|
59490
|
-
name: allParts[2].slice(0, allParts[2].length - allParts[3].length)
|
59491
|
-
};
|
59492
|
-
};
|
59493
|
-
win32.sep = '\\';
|
59494
|
-
win32.delimiter = ';';
|
59495
|
-
|
59496
|
-
// Split a filename into [root, dir, basename, ext], unix version
|
59497
|
-
// 'root' is just a slash, or nothing.
|
59498
|
-
var splitPathRe = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;
|
59499
|
-
var posix = {};
|
59500
|
-
function posixSplitPath(filename) {
|
59501
|
-
return splitPathRe.exec(filename).slice(1);
|
59502
|
-
}
|
59503
|
-
|
59504
|
-
// path.resolve([from ...], to)
|
59505
|
-
// posix version
|
59506
|
-
posix.resolve = function () {
|
59507
|
-
var resolvedPath = '',
|
59508
|
-
resolvedAbsolute = false;
|
59509
|
-
for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
|
59510
|
-
var path = i >= 0 ? arguments[i] : process.cwd();
|
59511
|
-
|
59512
|
-
// Skip empty and invalid entries
|
59513
|
-
if (!util.isString(path)) {
|
59514
|
-
throw new TypeError('Arguments to path.resolve must be strings');
|
59515
|
-
} else if (!path) {
|
59516
|
-
continue;
|
59517
|
-
}
|
59518
|
-
resolvedPath = path + '/' + resolvedPath;
|
59519
|
-
resolvedAbsolute = path[0] === '/';
|
59520
|
-
}
|
59521
|
-
|
59522
|
-
// At this point the path should be resolved to a full absolute path, but
|
59523
|
-
// handle relative paths to be safe (might happen when process.cwd() fails)
|
59250
|
+
return dir + sep + base;
|
59251
|
+
}
|
59252
|
+
var posix = {
|
59253
|
+
// path.resolve([from ...], to)
|
59254
|
+
resolve: function resolve() {
|
59255
|
+
var resolvedPath = '';
|
59256
|
+
var resolvedAbsolute = false;
|
59257
|
+
var cwd;
|
59258
|
+
for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
|
59259
|
+
var path;
|
59260
|
+
if (i >= 0) path = arguments[i];else {
|
59261
|
+
if (cwd === undefined) cwd = process.cwd();
|
59262
|
+
path = cwd;
|
59263
|
+
}
|
59264
|
+
assertPath(path);
|
59524
59265
|
|
59525
|
-
|
59526
|
-
|
59527
|
-
|
59528
|
-
}
|
59266
|
+
// Skip empty entries
|
59267
|
+
if (path.length === 0) {
|
59268
|
+
continue;
|
59269
|
+
}
|
59270
|
+
resolvedPath = path + '/' + resolvedPath;
|
59271
|
+
resolvedAbsolute = path.charCodeAt(0) === 47 /*/*/;
|
59272
|
+
}
|
59529
59273
|
|
59530
|
-
// path
|
59531
|
-
//
|
59532
|
-
posix.normalize = function (path) {
|
59533
|
-
var isAbsolute = posix.isAbsolute(path),
|
59534
|
-
trailingSlash = path && path[path.length - 1] === '/';
|
59274
|
+
// At this point the path should be resolved to a full absolute path, but
|
59275
|
+
// handle relative paths to be safe (might happen when process.cwd() fails)
|
59535
59276
|
|
59536
|
-
|
59537
|
-
|
59538
|
-
|
59539
|
-
|
59540
|
-
|
59541
|
-
|
59542
|
-
|
59543
|
-
|
59544
|
-
|
59545
|
-
}
|
59277
|
+
// Normalize the path
|
59278
|
+
resolvedPath = normalizeStringPosix(resolvedPath, !resolvedAbsolute);
|
59279
|
+
if (resolvedAbsolute) {
|
59280
|
+
if (resolvedPath.length > 0) return '/' + resolvedPath;else return '/';
|
59281
|
+
} else if (resolvedPath.length > 0) {
|
59282
|
+
return resolvedPath;
|
59283
|
+
} else {
|
59284
|
+
return '.';
|
59285
|
+
}
|
59286
|
+
},
|
59287
|
+
normalize: function normalize(path) {
|
59288
|
+
assertPath(path);
|
59289
|
+
if (path.length === 0) return '.';
|
59290
|
+
var isAbsolute = path.charCodeAt(0) === 47 /*/*/;
|
59291
|
+
var trailingSeparator = path.charCodeAt(path.length - 1) === 47 /*/*/;
|
59292
|
+
|
59293
|
+
// Normalize the path
|
59294
|
+
path = normalizeStringPosix(path, !isAbsolute);
|
59295
|
+
if (path.length === 0 && !isAbsolute) path = '.';
|
59296
|
+
if (path.length > 0 && trailingSeparator) path += '/';
|
59297
|
+
if (isAbsolute) return '/' + path;
|
59298
|
+
return path;
|
59299
|
+
},
|
59300
|
+
isAbsolute: function isAbsolute(path) {
|
59301
|
+
assertPath(path);
|
59302
|
+
return path.length > 0 && path.charCodeAt(0) === 47 /*/*/;
|
59303
|
+
},
|
59546
59304
|
|
59547
|
-
|
59548
|
-
|
59549
|
-
|
59550
|
-
|
59305
|
+
join: function join() {
|
59306
|
+
if (arguments.length === 0) return '.';
|
59307
|
+
var joined;
|
59308
|
+
for (var i = 0; i < arguments.length; ++i) {
|
59309
|
+
var arg = arguments[i];
|
59310
|
+
assertPath(arg);
|
59311
|
+
if (arg.length > 0) {
|
59312
|
+
if (joined === undefined) joined = arg;else joined += '/' + arg;
|
59313
|
+
}
|
59314
|
+
}
|
59315
|
+
if (joined === undefined) return '.';
|
59316
|
+
return posix.normalize(joined);
|
59317
|
+
},
|
59318
|
+
relative: function relative(from, to) {
|
59319
|
+
assertPath(from);
|
59320
|
+
assertPath(to);
|
59321
|
+
if (from === to) return '';
|
59322
|
+
from = posix.resolve(from);
|
59323
|
+
to = posix.resolve(to);
|
59324
|
+
if (from === to) return '';
|
59325
|
+
|
59326
|
+
// Trim any leading backslashes
|
59327
|
+
var fromStart = 1;
|
59328
|
+
for (; fromStart < from.length; ++fromStart) {
|
59329
|
+
if (from.charCodeAt(fromStart) !== 47 /*/*/) break;
|
59330
|
+
}
|
59331
|
+
var fromEnd = from.length;
|
59332
|
+
var fromLen = fromEnd - fromStart;
|
59333
|
+
|
59334
|
+
// Trim any leading backslashes
|
59335
|
+
var toStart = 1;
|
59336
|
+
for (; toStart < to.length; ++toStart) {
|
59337
|
+
if (to.charCodeAt(toStart) !== 47 /*/*/) break;
|
59338
|
+
}
|
59339
|
+
var toEnd = to.length;
|
59340
|
+
var toLen = toEnd - toStart;
|
59341
|
+
|
59342
|
+
// Compare paths to find the longest common path from root
|
59343
|
+
var length = fromLen < toLen ? fromLen : toLen;
|
59344
|
+
var lastCommonSep = -1;
|
59345
|
+
var i = 0;
|
59346
|
+
for (; i <= length; ++i) {
|
59347
|
+
if (i === length) {
|
59348
|
+
if (toLen > length) {
|
59349
|
+
if (to.charCodeAt(toStart + i) === 47 /*/*/) {
|
59350
|
+
// We get here if `from` is the exact base path for `to`.
|
59351
|
+
// For example: from='/foo/bar'; to='/foo/bar/baz'
|
59352
|
+
return to.slice(toStart + i + 1);
|
59353
|
+
} else if (i === 0) {
|
59354
|
+
// We get here if `from` is the root
|
59355
|
+
// For example: from='/'; to='/foo'
|
59356
|
+
return to.slice(toStart + i);
|
59357
|
+
}
|
59358
|
+
} else if (fromLen > length) {
|
59359
|
+
if (from.charCodeAt(fromStart + i) === 47 /*/*/) {
|
59360
|
+
// We get here if `to` is the exact base path for `from`.
|
59361
|
+
// For example: from='/foo/bar/baz'; to='/foo/bar'
|
59362
|
+
lastCommonSep = i;
|
59363
|
+
} else if (i === 0) {
|
59364
|
+
// We get here if `to` is the root.
|
59365
|
+
// For example: from='/foo'; to='/'
|
59366
|
+
lastCommonSep = 0;
|
59367
|
+
}
|
59368
|
+
}
|
59369
|
+
break;
|
59370
|
+
}
|
59371
|
+
var fromCode = from.charCodeAt(fromStart + i);
|
59372
|
+
var toCode = to.charCodeAt(toStart + i);
|
59373
|
+
if (fromCode !== toCode) break;else if (fromCode === 47 /*/*/) lastCommonSep = i;
|
59374
|
+
}
|
59375
|
+
var out = '';
|
59376
|
+
// Generate the relative path based on the path difference between `to`
|
59377
|
+
// and `from`
|
59378
|
+
for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) {
|
59379
|
+
if (i === fromEnd || from.charCodeAt(i) === 47 /*/*/) {
|
59380
|
+
if (out.length === 0) out += '..';else out += '/..';
|
59381
|
+
}
|
59382
|
+
}
|
59551
59383
|
|
59552
|
-
//
|
59553
|
-
|
59554
|
-
|
59555
|
-
|
59556
|
-
|
59557
|
-
|
59558
|
-
throw new TypeError('Arguments to path.join must be strings');
|
59384
|
+
// Lastly, append the rest of the destination (`to`) path that comes after
|
59385
|
+
// the common path parts
|
59386
|
+
if (out.length > 0) return out + to.slice(toStart + lastCommonSep);else {
|
59387
|
+
toStart += lastCommonSep;
|
59388
|
+
if (to.charCodeAt(toStart) === 47 /*/*/) ++toStart;
|
59389
|
+
return to.slice(toStart);
|
59559
59390
|
}
|
59560
|
-
|
59561
|
-
|
59562
|
-
|
59391
|
+
},
|
59392
|
+
_makeLong: function _makeLong(path) {
|
59393
|
+
return path;
|
59394
|
+
},
|
59395
|
+
dirname: function dirname(path) {
|
59396
|
+
assertPath(path);
|
59397
|
+
if (path.length === 0) return '.';
|
59398
|
+
var code = path.charCodeAt(0);
|
59399
|
+
var hasRoot = code === 47 /*/*/;
|
59400
|
+
var end = -1;
|
59401
|
+
var matchedSlash = true;
|
59402
|
+
for (var i = path.length - 1; i >= 1; --i) {
|
59403
|
+
code = path.charCodeAt(i);
|
59404
|
+
if (code === 47 /*/*/) {
|
59405
|
+
if (!matchedSlash) {
|
59406
|
+
end = i;
|
59407
|
+
break;
|
59408
|
+
}
|
59563
59409
|
} else {
|
59564
|
-
|
59410
|
+
// We saw the first non-path separator
|
59411
|
+
matchedSlash = false;
|
59565
59412
|
}
|
59566
59413
|
}
|
59567
|
-
|
59568
|
-
|
59569
|
-
|
59570
|
-
|
59571
|
-
|
59572
|
-
|
59573
|
-
|
59574
|
-
|
59575
|
-
|
59576
|
-
|
59577
|
-
|
59578
|
-
|
59579
|
-
|
59580
|
-
|
59581
|
-
|
59582
|
-
|
59583
|
-
|
59414
|
+
if (end === -1) return hasRoot ? '/' : '.';
|
59415
|
+
if (hasRoot && end === 1) return '//';
|
59416
|
+
return path.slice(0, end);
|
59417
|
+
},
|
59418
|
+
basename: function basename(path, ext) {
|
59419
|
+
if (ext !== undefined && typeof ext !== 'string') throw new TypeError('"ext" argument must be a string');
|
59420
|
+
assertPath(path);
|
59421
|
+
var start = 0;
|
59422
|
+
var end = -1;
|
59423
|
+
var matchedSlash = true;
|
59424
|
+
var i;
|
59425
|
+
if (ext !== undefined && ext.length > 0 && ext.length <= path.length) {
|
59426
|
+
if (ext.length === path.length && ext === path) return '';
|
59427
|
+
var extIdx = ext.length - 1;
|
59428
|
+
var firstNonSlashEnd = -1;
|
59429
|
+
for (i = path.length - 1; i >= 0; --i) {
|
59430
|
+
var code = path.charCodeAt(i);
|
59431
|
+
if (code === 47 /*/*/) {
|
59432
|
+
// If we reached a path separator that was not part of a set of path
|
59433
|
+
// separators at the end of the string, stop now
|
59434
|
+
if (!matchedSlash) {
|
59435
|
+
start = i + 1;
|
59436
|
+
break;
|
59437
|
+
}
|
59438
|
+
} else {
|
59439
|
+
if (firstNonSlashEnd === -1) {
|
59440
|
+
// We saw the first non-path separator, remember this index in case
|
59441
|
+
// we need it if the extension ends up not matching
|
59442
|
+
matchedSlash = false;
|
59443
|
+
firstNonSlashEnd = i + 1;
|
59444
|
+
}
|
59445
|
+
if (extIdx >= 0) {
|
59446
|
+
// Try to match the explicit extension
|
59447
|
+
if (code === ext.charCodeAt(extIdx)) {
|
59448
|
+
if (--extIdx === -1) {
|
59449
|
+
// We matched the extension, so mark this as the end of our path
|
59450
|
+
// component
|
59451
|
+
end = i;
|
59452
|
+
}
|
59453
|
+
} else {
|
59454
|
+
// Extension does not match, so our result is the entire path
|
59455
|
+
// component
|
59456
|
+
extIdx = -1;
|
59457
|
+
end = firstNonSlashEnd;
|
59458
|
+
}
|
59459
|
+
}
|
59460
|
+
}
|
59461
|
+
}
|
59462
|
+
if (start === end) end = firstNonSlashEnd;else if (end === -1) end = path.length;
|
59463
|
+
return path.slice(start, end);
|
59464
|
+
} else {
|
59465
|
+
for (i = path.length - 1; i >= 0; --i) {
|
59466
|
+
if (path.charCodeAt(i) === 47 /*/*/) {
|
59467
|
+
// If we reached a path separator that was not part of a set of path
|
59468
|
+
// separators at the end of the string, stop now
|
59469
|
+
if (!matchedSlash) {
|
59470
|
+
start = i + 1;
|
59471
|
+
break;
|
59472
|
+
}
|
59473
|
+
} else if (end === -1) {
|
59474
|
+
// We saw the first non-path separator, mark this as the end of our
|
59475
|
+
// path component
|
59476
|
+
matchedSlash = false;
|
59477
|
+
end = i + 1;
|
59478
|
+
}
|
59479
|
+
}
|
59480
|
+
if (end === -1) return '';
|
59481
|
+
return path.slice(start, end);
|
59584
59482
|
}
|
59585
|
-
}
|
59586
|
-
|
59587
|
-
|
59588
|
-
|
59589
|
-
|
59590
|
-
|
59591
|
-
|
59592
|
-
|
59593
|
-
|
59594
|
-
|
59595
|
-
|
59596
|
-
|
59597
|
-
|
59598
|
-
|
59599
|
-
|
59600
|
-
|
59601
|
-
|
59602
|
-
|
59603
|
-
|
59604
|
-
|
59605
|
-
|
59606
|
-
|
59607
|
-
|
59608
|
-
|
59609
|
-
|
59610
|
-
|
59611
|
-
|
59612
|
-
|
59613
|
-
|
59614
|
-
|
59615
|
-
|
59616
|
-
|
59617
|
-
|
59618
|
-
|
59619
|
-
|
59620
|
-
}
|
59621
|
-
|
59622
|
-
|
59623
|
-
|
59624
|
-
|
59625
|
-
|
59626
|
-
|
59627
|
-
|
59628
|
-
|
59629
|
-
|
59630
|
-
|
59631
|
-
|
59632
|
-
|
59633
|
-
|
59634
|
-
|
59635
|
-
|
59636
|
-
|
59637
|
-
|
59638
|
-
|
59639
|
-
|
59640
|
-
|
59641
|
-
|
59642
|
-
|
59643
|
-
|
59644
|
-
|
59645
|
-
|
59646
|
-
|
59647
|
-
|
59648
|
-
|
59649
|
-
|
59650
|
-
|
59483
|
+
},
|
59484
|
+
extname: function extname(path) {
|
59485
|
+
assertPath(path);
|
59486
|
+
var startDot = -1;
|
59487
|
+
var startPart = 0;
|
59488
|
+
var end = -1;
|
59489
|
+
var matchedSlash = true;
|
59490
|
+
// Track the state of characters (if any) we see before our first dot and
|
59491
|
+
// after any path separator we find
|
59492
|
+
var preDotState = 0;
|
59493
|
+
for (var i = path.length - 1; i >= 0; --i) {
|
59494
|
+
var code = path.charCodeAt(i);
|
59495
|
+
if (code === 47 /*/*/) {
|
59496
|
+
// If we reached a path separator that was not part of a set of path
|
59497
|
+
// separators at the end of the string, stop now
|
59498
|
+
if (!matchedSlash) {
|
59499
|
+
startPart = i + 1;
|
59500
|
+
break;
|
59501
|
+
}
|
59502
|
+
continue;
|
59503
|
+
}
|
59504
|
+
if (end === -1) {
|
59505
|
+
// We saw the first non-path separator, mark this as the end of our
|
59506
|
+
// extension
|
59507
|
+
matchedSlash = false;
|
59508
|
+
end = i + 1;
|
59509
|
+
}
|
59510
|
+
if (code === 46 /*.*/) {
|
59511
|
+
// If this is our first dot, mark it as the start of our extension
|
59512
|
+
if (startDot === -1) startDot = i;else if (preDotState !== 1) preDotState = 1;
|
59513
|
+
} else if (startDot !== -1) {
|
59514
|
+
// We saw a non-dot and non-path separator before our dot, so we should
|
59515
|
+
// have a good chance at having a non-empty extension
|
59516
|
+
preDotState = -1;
|
59517
|
+
}
|
59518
|
+
}
|
59519
|
+
if (startDot === -1 || end === -1 ||
|
59520
|
+
// We saw a non-dot character immediately before the dot
|
59521
|
+
preDotState === 0 ||
|
59522
|
+
// The (right-most) trimmed path component is exactly '..'
|
59523
|
+
preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
|
59524
|
+
return '';
|
59525
|
+
}
|
59526
|
+
return path.slice(startDot, end);
|
59527
|
+
},
|
59528
|
+
format: function format(pathObject) {
|
59529
|
+
if (pathObject === null || _typeof(pathObject) !== 'object') {
|
59530
|
+
throw new TypeError('The "pathObject" argument must be of type Object. Received type ' + _typeof(pathObject));
|
59531
|
+
}
|
59532
|
+
return _format('/', pathObject);
|
59533
|
+
},
|
59534
|
+
parse: function parse(path) {
|
59535
|
+
assertPath(path);
|
59536
|
+
var ret = {
|
59537
|
+
root: '',
|
59538
|
+
dir: '',
|
59539
|
+
base: '',
|
59540
|
+
ext: '',
|
59541
|
+
name: ''
|
59542
|
+
};
|
59543
|
+
if (path.length === 0) return ret;
|
59544
|
+
var code = path.charCodeAt(0);
|
59545
|
+
var isAbsolute = code === 47 /*/*/;
|
59546
|
+
var start;
|
59547
|
+
if (isAbsolute) {
|
59548
|
+
ret.root = '/';
|
59549
|
+
start = 1;
|
59550
|
+
} else {
|
59551
|
+
start = 0;
|
59552
|
+
}
|
59553
|
+
var startDot = -1;
|
59554
|
+
var startPart = 0;
|
59555
|
+
var end = -1;
|
59556
|
+
var matchedSlash = true;
|
59557
|
+
var i = path.length - 1;
|
59558
|
+
|
59559
|
+
// Track the state of characters (if any) we see before our first dot and
|
59560
|
+
// after any path separator we find
|
59561
|
+
var preDotState = 0;
|
59562
|
+
|
59563
|
+
// Get non-dir info
|
59564
|
+
for (; i >= start; --i) {
|
59565
|
+
code = path.charCodeAt(i);
|
59566
|
+
if (code === 47 /*/*/) {
|
59567
|
+
// If we reached a path separator that was not part of a set of path
|
59568
|
+
// separators at the end of the string, stop now
|
59569
|
+
if (!matchedSlash) {
|
59570
|
+
startPart = i + 1;
|
59571
|
+
break;
|
59572
|
+
}
|
59573
|
+
continue;
|
59574
|
+
}
|
59575
|
+
if (end === -1) {
|
59576
|
+
// We saw the first non-path separator, mark this as the end of our
|
59577
|
+
// extension
|
59578
|
+
matchedSlash = false;
|
59579
|
+
end = i + 1;
|
59580
|
+
}
|
59581
|
+
if (code === 46 /*.*/) {
|
59582
|
+
// If this is our first dot, mark it as the start of our extension
|
59583
|
+
if (startDot === -1) startDot = i;else if (preDotState !== 1) preDotState = 1;
|
59584
|
+
} else if (startDot !== -1) {
|
59585
|
+
// We saw a non-dot and non-path separator before our dot, so we should
|
59586
|
+
// have a good chance at having a non-empty extension
|
59587
|
+
preDotState = -1;
|
59588
|
+
}
|
59589
|
+
}
|
59590
|
+
if (startDot === -1 || end === -1 ||
|
59591
|
+
// We saw a non-dot character immediately before the dot
|
59592
|
+
preDotState === 0 ||
|
59593
|
+
// The (right-most) trimmed path component is exactly '..'
|
59594
|
+
preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
|
59595
|
+
if (end !== -1) {
|
59596
|
+
if (startPart === 0 && isAbsolute) ret.base = ret.name = path.slice(1, end);else ret.base = ret.name = path.slice(startPart, end);
|
59597
|
+
}
|
59598
|
+
} else {
|
59599
|
+
if (startPart === 0 && isAbsolute) {
|
59600
|
+
ret.name = path.slice(1, startDot);
|
59601
|
+
ret.base = path.slice(1, end);
|
59602
|
+
} else {
|
59603
|
+
ret.name = path.slice(startPart, startDot);
|
59604
|
+
ret.base = path.slice(startPart, end);
|
59605
|
+
}
|
59606
|
+
ret.ext = path.slice(startDot, end);
|
59607
|
+
}
|
59608
|
+
if (startPart > 0) ret.dir = path.slice(0, startPart - 1);else if (isAbsolute) ret.dir = '/';
|
59609
|
+
return ret;
|
59610
|
+
},
|
59611
|
+
sep: '/',
|
59612
|
+
delimiter: ':',
|
59613
|
+
win32: null,
|
59614
|
+
posix: null
|
59651
59615
|
};
|
59652
|
-
posix.
|
59653
|
-
|
59654
|
-
if (isWindows) module.exports = win32;else /* posix */
|
59655
|
-
module.exports = posix;
|
59656
|
-
module.exports.posix = posix;
|
59657
|
-
module.exports.win32 = win32;
|
59616
|
+
posix.posix = posix;
|
59617
|
+
module.exports = posix;
|
59658
59618
|
|
59659
59619
|
/***/ }),
|
59660
59620
|
|
@@ -63222,551 +63182,6 @@ function useDeepCompareEffectNoCheck(callback, dependencies) {
|
|
63222
63182
|
}
|
63223
63183
|
|
63224
63184
|
|
63225
|
-
/***/ }),
|
63226
|
-
|
63227
|
-
/***/ 25693:
|
63228
|
-
/***/ ((module) => {
|
63229
|
-
|
63230
|
-
if (typeof Object.create === 'function') {
|
63231
|
-
// implementation from standard node.js 'util' module
|
63232
|
-
module.exports = function inherits(ctor, superCtor) {
|
63233
|
-
ctor.super_ = superCtor;
|
63234
|
-
ctor.prototype = Object.create(superCtor.prototype, {
|
63235
|
-
constructor: {
|
63236
|
-
value: ctor,
|
63237
|
-
enumerable: false,
|
63238
|
-
writable: true,
|
63239
|
-
configurable: true
|
63240
|
-
}
|
63241
|
-
});
|
63242
|
-
};
|
63243
|
-
} else {
|
63244
|
-
// old school shim for old browsers
|
63245
|
-
module.exports = function inherits(ctor, superCtor) {
|
63246
|
-
ctor.super_ = superCtor;
|
63247
|
-
var TempCtor = function TempCtor() {};
|
63248
|
-
TempCtor.prototype = superCtor.prototype;
|
63249
|
-
ctor.prototype = new TempCtor();
|
63250
|
-
ctor.prototype.constructor = ctor;
|
63251
|
-
};
|
63252
|
-
}
|
63253
|
-
|
63254
|
-
/***/ }),
|
63255
|
-
|
63256
|
-
/***/ 62050:
|
63257
|
-
/***/ ((module) => {
|
63258
|
-
|
63259
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
63260
|
-
module.exports = function isBuffer(arg) {
|
63261
|
-
return arg && _typeof(arg) === 'object' && typeof arg.copy === 'function' && typeof arg.fill === 'function' && typeof arg.readUInt8 === 'function';
|
63262
|
-
};
|
63263
|
-
|
63264
|
-
/***/ }),
|
63265
|
-
|
63266
|
-
/***/ 74585:
|
63267
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
63268
|
-
|
63269
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
63270
|
-
// Copyright Joyent, Inc. and other Node contributors.
|
63271
|
-
//
|
63272
|
-
// Permission is hereby granted, free of charge, to any person obtaining a
|
63273
|
-
// copy of this software and associated documentation files (the
|
63274
|
-
// "Software"), to deal in the Software without restriction, including
|
63275
|
-
// without limitation the rights to use, copy, modify, merge, publish,
|
63276
|
-
// distribute, sublicense, and/or sell copies of the Software, and to permit
|
63277
|
-
// persons to whom the Software is furnished to do so, subject to the
|
63278
|
-
// following conditions:
|
63279
|
-
//
|
63280
|
-
// The above copyright notice and this permission notice shall be included
|
63281
|
-
// in all copies or substantial portions of the Software.
|
63282
|
-
//
|
63283
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
63284
|
-
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
63285
|
-
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
63286
|
-
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
63287
|
-
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
63288
|
-
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
63289
|
-
// USE OR OTHER DEALINGS IN THE SOFTWARE.
|
63290
|
-
|
63291
|
-
var formatRegExp = /%[sdj%]/g;
|
63292
|
-
exports.format = function (f) {
|
63293
|
-
if (!isString(f)) {
|
63294
|
-
var objects = [];
|
63295
|
-
for (var i = 0; i < arguments.length; i++) {
|
63296
|
-
objects.push(inspect(arguments[i]));
|
63297
|
-
}
|
63298
|
-
return objects.join(' ');
|
63299
|
-
}
|
63300
|
-
var i = 1;
|
63301
|
-
var args = arguments;
|
63302
|
-
var len = args.length;
|
63303
|
-
var str = String(f).replace(formatRegExp, function (x) {
|
63304
|
-
if (x === '%%') return '%';
|
63305
|
-
if (i >= len) return x;
|
63306
|
-
switch (x) {
|
63307
|
-
case '%s':
|
63308
|
-
return String(args[i++]);
|
63309
|
-
case '%d':
|
63310
|
-
return Number(args[i++]);
|
63311
|
-
case '%j':
|
63312
|
-
try {
|
63313
|
-
return JSON.stringify(args[i++]);
|
63314
|
-
} catch (_) {
|
63315
|
-
return '[Circular]';
|
63316
|
-
}
|
63317
|
-
default:
|
63318
|
-
return x;
|
63319
|
-
}
|
63320
|
-
});
|
63321
|
-
for (var x = args[i]; i < len; x = args[++i]) {
|
63322
|
-
if (isNull(x) || !isObject(x)) {
|
63323
|
-
str += ' ' + x;
|
63324
|
-
} else {
|
63325
|
-
str += ' ' + inspect(x);
|
63326
|
-
}
|
63327
|
-
}
|
63328
|
-
return str;
|
63329
|
-
};
|
63330
|
-
|
63331
|
-
// Mark that a method should not be used.
|
63332
|
-
// Returns a modified function which warns once by default.
|
63333
|
-
// If --no-deprecation is set, then it is a no-op.
|
63334
|
-
exports.deprecate = function (fn, msg) {
|
63335
|
-
// Allow for deprecating things in the process of starting up.
|
63336
|
-
if (isUndefined(__webpack_require__.g.process)) {
|
63337
|
-
return function () {
|
63338
|
-
return exports.deprecate(fn, msg).apply(this, arguments);
|
63339
|
-
};
|
63340
|
-
}
|
63341
|
-
if (process.noDeprecation === true) {
|
63342
|
-
return fn;
|
63343
|
-
}
|
63344
|
-
var warned = false;
|
63345
|
-
function deprecated() {
|
63346
|
-
if (!warned) {
|
63347
|
-
if (process.throwDeprecation) {
|
63348
|
-
throw new Error(msg);
|
63349
|
-
} else if (process.traceDeprecation) {
|
63350
|
-
console.trace(msg);
|
63351
|
-
} else {
|
63352
|
-
console.error(msg);
|
63353
|
-
}
|
63354
|
-
warned = true;
|
63355
|
-
}
|
63356
|
-
return fn.apply(this, arguments);
|
63357
|
-
}
|
63358
|
-
return deprecated;
|
63359
|
-
};
|
63360
|
-
var debugs = {};
|
63361
|
-
var debugEnviron;
|
63362
|
-
exports.debuglog = function (set) {
|
63363
|
-
if (isUndefined(debugEnviron)) debugEnviron = process.env.NODE_DEBUG || '';
|
63364
|
-
set = set.toUpperCase();
|
63365
|
-
if (!debugs[set]) {
|
63366
|
-
if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) {
|
63367
|
-
var pid = process.pid;
|
63368
|
-
debugs[set] = function () {
|
63369
|
-
var msg = exports.format.apply(exports, arguments);
|
63370
|
-
console.error('%s %d: %s', set, pid, msg);
|
63371
|
-
};
|
63372
|
-
} else {
|
63373
|
-
debugs[set] = function () {};
|
63374
|
-
}
|
63375
|
-
}
|
63376
|
-
return debugs[set];
|
63377
|
-
};
|
63378
|
-
|
63379
|
-
/**
|
63380
|
-
* Echos the value of a value. Trys to print the value out
|
63381
|
-
* in the best way possible given the different types.
|
63382
|
-
*
|
63383
|
-
* @param {Object} obj The object to print out.
|
63384
|
-
* @param {Object} opts Optional options object that alters the output.
|
63385
|
-
*/
|
63386
|
-
/* legacy: obj, showHidden, depth, colors*/
|
63387
|
-
function inspect(obj, opts) {
|
63388
|
-
// default options
|
63389
|
-
var ctx = {
|
63390
|
-
seen: [],
|
63391
|
-
stylize: stylizeNoColor
|
63392
|
-
};
|
63393
|
-
// legacy...
|
63394
|
-
if (arguments.length >= 3) ctx.depth = arguments[2];
|
63395
|
-
if (arguments.length >= 4) ctx.colors = arguments[3];
|
63396
|
-
if (isBoolean(opts)) {
|
63397
|
-
// legacy...
|
63398
|
-
ctx.showHidden = opts;
|
63399
|
-
} else if (opts) {
|
63400
|
-
// got an "options" object
|
63401
|
-
exports._extend(ctx, opts);
|
63402
|
-
}
|
63403
|
-
// set default options
|
63404
|
-
if (isUndefined(ctx.showHidden)) ctx.showHidden = false;
|
63405
|
-
if (isUndefined(ctx.depth)) ctx.depth = 2;
|
63406
|
-
if (isUndefined(ctx.colors)) ctx.colors = false;
|
63407
|
-
if (isUndefined(ctx.customInspect)) ctx.customInspect = true;
|
63408
|
-
if (ctx.colors) ctx.stylize = stylizeWithColor;
|
63409
|
-
return formatValue(ctx, obj, ctx.depth);
|
63410
|
-
}
|
63411
|
-
exports.inspect = inspect;
|
63412
|
-
|
63413
|
-
// http://en.wikipedia.org/wiki/ANSI_escape_code#graphics
|
63414
|
-
inspect.colors = {
|
63415
|
-
'bold': [1, 22],
|
63416
|
-
'italic': [3, 23],
|
63417
|
-
'underline': [4, 24],
|
63418
|
-
'inverse': [7, 27],
|
63419
|
-
'white': [37, 39],
|
63420
|
-
'grey': [90, 39],
|
63421
|
-
'black': [30, 39],
|
63422
|
-
'blue': [34, 39],
|
63423
|
-
'cyan': [36, 39],
|
63424
|
-
'green': [32, 39],
|
63425
|
-
'magenta': [35, 39],
|
63426
|
-
'red': [31, 39],
|
63427
|
-
'yellow': [33, 39]
|
63428
|
-
};
|
63429
|
-
|
63430
|
-
// Don't use 'blue' not visible on cmd.exe
|
63431
|
-
inspect.styles = {
|
63432
|
-
'special': 'cyan',
|
63433
|
-
'number': 'yellow',
|
63434
|
-
'boolean': 'yellow',
|
63435
|
-
'undefined': 'grey',
|
63436
|
-
'null': 'bold',
|
63437
|
-
'string': 'green',
|
63438
|
-
'date': 'magenta',
|
63439
|
-
// "name": intentionally not styling
|
63440
|
-
'regexp': 'red'
|
63441
|
-
};
|
63442
|
-
function stylizeWithColor(str, styleType) {
|
63443
|
-
var style = inspect.styles[styleType];
|
63444
|
-
if (style) {
|
63445
|
-
return "\x1B[" + inspect.colors[style][0] + 'm' + str + "\x1B[" + inspect.colors[style][1] + 'm';
|
63446
|
-
} else {
|
63447
|
-
return str;
|
63448
|
-
}
|
63449
|
-
}
|
63450
|
-
function stylizeNoColor(str, styleType) {
|
63451
|
-
return str;
|
63452
|
-
}
|
63453
|
-
function arrayToHash(array) {
|
63454
|
-
var hash = {};
|
63455
|
-
array.forEach(function (val, idx) {
|
63456
|
-
hash[val] = true;
|
63457
|
-
});
|
63458
|
-
return hash;
|
63459
|
-
}
|
63460
|
-
function formatValue(ctx, value, recurseTimes) {
|
63461
|
-
// Provide a hook for user-specified inspect functions.
|
63462
|
-
// Check that value is an object with an inspect function on it
|
63463
|
-
if (ctx.customInspect && value && isFunction(value.inspect) &&
|
63464
|
-
// Filter out the util module, it's inspect function is special
|
63465
|
-
value.inspect !== exports.inspect &&
|
63466
|
-
// Also filter out any prototype objects using the circular check.
|
63467
|
-
!(value.constructor && value.constructor.prototype === value)) {
|
63468
|
-
var ret = value.inspect(recurseTimes, ctx);
|
63469
|
-
if (!isString(ret)) {
|
63470
|
-
ret = formatValue(ctx, ret, recurseTimes);
|
63471
|
-
}
|
63472
|
-
return ret;
|
63473
|
-
}
|
63474
|
-
|
63475
|
-
// Primitive types cannot have properties
|
63476
|
-
var primitive = formatPrimitive(ctx, value);
|
63477
|
-
if (primitive) {
|
63478
|
-
return primitive;
|
63479
|
-
}
|
63480
|
-
|
63481
|
-
// Look up the keys of the object.
|
63482
|
-
var keys = Object.keys(value);
|
63483
|
-
var visibleKeys = arrayToHash(keys);
|
63484
|
-
if (ctx.showHidden) {
|
63485
|
-
keys = Object.getOwnPropertyNames(value);
|
63486
|
-
}
|
63487
|
-
|
63488
|
-
// IE doesn't make error fields non-enumerable
|
63489
|
-
// http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx
|
63490
|
-
if (isError(value) && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) {
|
63491
|
-
return formatError(value);
|
63492
|
-
}
|
63493
|
-
|
63494
|
-
// Some type of object without properties can be shortcutted.
|
63495
|
-
if (keys.length === 0) {
|
63496
|
-
if (isFunction(value)) {
|
63497
|
-
var name = value.name ? ': ' + value.name : '';
|
63498
|
-
return ctx.stylize('[Function' + name + ']', 'special');
|
63499
|
-
}
|
63500
|
-
if (isRegExp(value)) {
|
63501
|
-
return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
|
63502
|
-
}
|
63503
|
-
if (isDate(value)) {
|
63504
|
-
return ctx.stylize(Date.prototype.toString.call(value), 'date');
|
63505
|
-
}
|
63506
|
-
if (isError(value)) {
|
63507
|
-
return formatError(value);
|
63508
|
-
}
|
63509
|
-
}
|
63510
|
-
var base = '',
|
63511
|
-
array = false,
|
63512
|
-
braces = ['{', '}'];
|
63513
|
-
|
63514
|
-
// Make Array say that they are Array
|
63515
|
-
if (isArray(value)) {
|
63516
|
-
array = true;
|
63517
|
-
braces = ['[', ']'];
|
63518
|
-
}
|
63519
|
-
|
63520
|
-
// Make functions say that they are functions
|
63521
|
-
if (isFunction(value)) {
|
63522
|
-
var n = value.name ? ': ' + value.name : '';
|
63523
|
-
base = ' [Function' + n + ']';
|
63524
|
-
}
|
63525
|
-
|
63526
|
-
// Make RegExps say that they are RegExps
|
63527
|
-
if (isRegExp(value)) {
|
63528
|
-
base = ' ' + RegExp.prototype.toString.call(value);
|
63529
|
-
}
|
63530
|
-
|
63531
|
-
// Make dates with properties first say the date
|
63532
|
-
if (isDate(value)) {
|
63533
|
-
base = ' ' + Date.prototype.toUTCString.call(value);
|
63534
|
-
}
|
63535
|
-
|
63536
|
-
// Make error with message first say the error
|
63537
|
-
if (isError(value)) {
|
63538
|
-
base = ' ' + formatError(value);
|
63539
|
-
}
|
63540
|
-
if (keys.length === 0 && (!array || value.length == 0)) {
|
63541
|
-
return braces[0] + base + braces[1];
|
63542
|
-
}
|
63543
|
-
if (recurseTimes < 0) {
|
63544
|
-
if (isRegExp(value)) {
|
63545
|
-
return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
|
63546
|
-
} else {
|
63547
|
-
return ctx.stylize('[Object]', 'special');
|
63548
|
-
}
|
63549
|
-
}
|
63550
|
-
ctx.seen.push(value);
|
63551
|
-
var output;
|
63552
|
-
if (array) {
|
63553
|
-
output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);
|
63554
|
-
} else {
|
63555
|
-
output = keys.map(function (key) {
|
63556
|
-
return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);
|
63557
|
-
});
|
63558
|
-
}
|
63559
|
-
ctx.seen.pop();
|
63560
|
-
return reduceToSingleString(output, base, braces);
|
63561
|
-
}
|
63562
|
-
function formatPrimitive(ctx, value) {
|
63563
|
-
if (isUndefined(value)) return ctx.stylize('undefined', 'undefined');
|
63564
|
-
if (isString(value)) {
|
63565
|
-
var simple = '\'' + JSON.stringify(value).replace(/^"|"$/g, '').replace(/'/g, "\\'").replace(/\\"/g, '"') + '\'';
|
63566
|
-
return ctx.stylize(simple, 'string');
|
63567
|
-
}
|
63568
|
-
if (isNumber(value)) return ctx.stylize('' + value, 'number');
|
63569
|
-
if (isBoolean(value)) return ctx.stylize('' + value, 'boolean');
|
63570
|
-
// For some reason typeof null is "object", so special case here.
|
63571
|
-
if (isNull(value)) return ctx.stylize('null', 'null');
|
63572
|
-
}
|
63573
|
-
function formatError(value) {
|
63574
|
-
return '[' + Error.prototype.toString.call(value) + ']';
|
63575
|
-
}
|
63576
|
-
function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {
|
63577
|
-
var output = [];
|
63578
|
-
for (var i = 0, l = value.length; i < l; ++i) {
|
63579
|
-
if (hasOwnProperty(value, String(i))) {
|
63580
|
-
output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, String(i), true));
|
63581
|
-
} else {
|
63582
|
-
output.push('');
|
63583
|
-
}
|
63584
|
-
}
|
63585
|
-
keys.forEach(function (key) {
|
63586
|
-
if (!key.match(/^\d+$/)) {
|
63587
|
-
output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, key, true));
|
63588
|
-
}
|
63589
|
-
});
|
63590
|
-
return output;
|
63591
|
-
}
|
63592
|
-
function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {
|
63593
|
-
var name, str, desc;
|
63594
|
-
desc = Object.getOwnPropertyDescriptor(value, key) || {
|
63595
|
-
value: value[key]
|
63596
|
-
};
|
63597
|
-
if (desc.get) {
|
63598
|
-
if (desc.set) {
|
63599
|
-
str = ctx.stylize('[Getter/Setter]', 'special');
|
63600
|
-
} else {
|
63601
|
-
str = ctx.stylize('[Getter]', 'special');
|
63602
|
-
}
|
63603
|
-
} else {
|
63604
|
-
if (desc.set) {
|
63605
|
-
str = ctx.stylize('[Setter]', 'special');
|
63606
|
-
}
|
63607
|
-
}
|
63608
|
-
if (!hasOwnProperty(visibleKeys, key)) {
|
63609
|
-
name = '[' + key + ']';
|
63610
|
-
}
|
63611
|
-
if (!str) {
|
63612
|
-
if (ctx.seen.indexOf(desc.value) < 0) {
|
63613
|
-
if (isNull(recurseTimes)) {
|
63614
|
-
str = formatValue(ctx, desc.value, null);
|
63615
|
-
} else {
|
63616
|
-
str = formatValue(ctx, desc.value, recurseTimes - 1);
|
63617
|
-
}
|
63618
|
-
if (str.indexOf('\n') > -1) {
|
63619
|
-
if (array) {
|
63620
|
-
str = str.split('\n').map(function (line) {
|
63621
|
-
return ' ' + line;
|
63622
|
-
}).join('\n').substr(2);
|
63623
|
-
} else {
|
63624
|
-
str = '\n' + str.split('\n').map(function (line) {
|
63625
|
-
return ' ' + line;
|
63626
|
-
}).join('\n');
|
63627
|
-
}
|
63628
|
-
}
|
63629
|
-
} else {
|
63630
|
-
str = ctx.stylize('[Circular]', 'special');
|
63631
|
-
}
|
63632
|
-
}
|
63633
|
-
if (isUndefined(name)) {
|
63634
|
-
if (array && key.match(/^\d+$/)) {
|
63635
|
-
return str;
|
63636
|
-
}
|
63637
|
-
name = JSON.stringify('' + key);
|
63638
|
-
if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) {
|
63639
|
-
name = name.substr(1, name.length - 2);
|
63640
|
-
name = ctx.stylize(name, 'name');
|
63641
|
-
} else {
|
63642
|
-
name = name.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'");
|
63643
|
-
name = ctx.stylize(name, 'string');
|
63644
|
-
}
|
63645
|
-
}
|
63646
|
-
return name + ': ' + str;
|
63647
|
-
}
|
63648
|
-
function reduceToSingleString(output, base, braces) {
|
63649
|
-
var numLinesEst = 0;
|
63650
|
-
var length = output.reduce(function (prev, cur) {
|
63651
|
-
numLinesEst++;
|
63652
|
-
if (cur.indexOf('\n') >= 0) numLinesEst++;
|
63653
|
-
return prev + cur.replace(/\u001b\[\d\d?m/g, '').length + 1;
|
63654
|
-
}, 0);
|
63655
|
-
if (length > 60) {
|
63656
|
-
return braces[0] + (base === '' ? '' : base + '\n ') + ' ' + output.join(',\n ') + ' ' + braces[1];
|
63657
|
-
}
|
63658
|
-
return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];
|
63659
|
-
}
|
63660
|
-
|
63661
|
-
// NOTE: These type checking functions intentionally don't use `instanceof`
|
63662
|
-
// because it is fragile and can be easily faked with `Object.create()`.
|
63663
|
-
function isArray(ar) {
|
63664
|
-
return Array.isArray(ar);
|
63665
|
-
}
|
63666
|
-
exports.isArray = isArray;
|
63667
|
-
function isBoolean(arg) {
|
63668
|
-
return typeof arg === 'boolean';
|
63669
|
-
}
|
63670
|
-
exports.isBoolean = isBoolean;
|
63671
|
-
function isNull(arg) {
|
63672
|
-
return arg === null;
|
63673
|
-
}
|
63674
|
-
exports.isNull = isNull;
|
63675
|
-
function isNullOrUndefined(arg) {
|
63676
|
-
return arg == null;
|
63677
|
-
}
|
63678
|
-
exports.isNullOrUndefined = isNullOrUndefined;
|
63679
|
-
function isNumber(arg) {
|
63680
|
-
return typeof arg === 'number';
|
63681
|
-
}
|
63682
|
-
exports.isNumber = isNumber;
|
63683
|
-
function isString(arg) {
|
63684
|
-
return typeof arg === 'string';
|
63685
|
-
}
|
63686
|
-
exports.isString = isString;
|
63687
|
-
function isSymbol(arg) {
|
63688
|
-
return _typeof(arg) === 'symbol';
|
63689
|
-
}
|
63690
|
-
exports.isSymbol = isSymbol;
|
63691
|
-
function isUndefined(arg) {
|
63692
|
-
return arg === void 0;
|
63693
|
-
}
|
63694
|
-
exports.isUndefined = isUndefined;
|
63695
|
-
function isRegExp(re) {
|
63696
|
-
return isObject(re) && objectToString(re) === '[object RegExp]';
|
63697
|
-
}
|
63698
|
-
exports.isRegExp = isRegExp;
|
63699
|
-
function isObject(arg) {
|
63700
|
-
return _typeof(arg) === 'object' && arg !== null;
|
63701
|
-
}
|
63702
|
-
exports.isObject = isObject;
|
63703
|
-
function isDate(d) {
|
63704
|
-
return isObject(d) && objectToString(d) === '[object Date]';
|
63705
|
-
}
|
63706
|
-
exports.isDate = isDate;
|
63707
|
-
function isError(e) {
|
63708
|
-
return isObject(e) && (objectToString(e) === '[object Error]' || e instanceof Error);
|
63709
|
-
}
|
63710
|
-
exports.isError = isError;
|
63711
|
-
function isFunction(arg) {
|
63712
|
-
return typeof arg === 'function';
|
63713
|
-
}
|
63714
|
-
exports.isFunction = isFunction;
|
63715
|
-
function isPrimitive(arg) {
|
63716
|
-
return arg === null || typeof arg === 'boolean' || typeof arg === 'number' || typeof arg === 'string' || _typeof(arg) === 'symbol' ||
|
63717
|
-
// ES6 symbol
|
63718
|
-
typeof arg === 'undefined';
|
63719
|
-
}
|
63720
|
-
exports.isPrimitive = isPrimitive;
|
63721
|
-
exports.isBuffer = __webpack_require__(62050);
|
63722
|
-
function objectToString(o) {
|
63723
|
-
return Object.prototype.toString.call(o);
|
63724
|
-
}
|
63725
|
-
function pad(n) {
|
63726
|
-
return n < 10 ? '0' + n.toString(10) : n.toString(10);
|
63727
|
-
}
|
63728
|
-
var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
|
63729
|
-
|
63730
|
-
// 26 Feb 16:19:34
|
63731
|
-
function timestamp() {
|
63732
|
-
var d = new Date();
|
63733
|
-
var time = [pad(d.getHours()), pad(d.getMinutes()), pad(d.getSeconds())].join(':');
|
63734
|
-
return [d.getDate(), months[d.getMonth()], time].join(' ');
|
63735
|
-
}
|
63736
|
-
|
63737
|
-
// log is just a thin wrapper to console.log that prepends a timestamp
|
63738
|
-
exports.log = function () {
|
63739
|
-
console.log('%s - %s', timestamp(), exports.format.apply(exports, arguments));
|
63740
|
-
};
|
63741
|
-
|
63742
|
-
/**
|
63743
|
-
* Inherit the prototype methods from one constructor into another.
|
63744
|
-
*
|
63745
|
-
* The Function.prototype.inherits from lang.js rewritten as a standalone
|
63746
|
-
* function (not on Function.prototype). NOTE: If this file is to be loaded
|
63747
|
-
* during bootstrapping this function needs to be rewritten using some native
|
63748
|
-
* functions as prototype setup using normal JavaScript does not work as
|
63749
|
-
* expected during bootstrapping (see mirror.js in r114903).
|
63750
|
-
*
|
63751
|
-
* @param {function} ctor Constructor function which needs to inherit the
|
63752
|
-
* prototype.
|
63753
|
-
* @param {function} superCtor Constructor function to inherit prototype from.
|
63754
|
-
*/
|
63755
|
-
exports.inherits = __webpack_require__(25693);
|
63756
|
-
exports._extend = function (origin, add) {
|
63757
|
-
// Don't do anything if add isn't an object
|
63758
|
-
if (!add || !isObject(add)) return origin;
|
63759
|
-
var keys = Object.keys(add);
|
63760
|
-
var i = keys.length;
|
63761
|
-
while (i--) {
|
63762
|
-
origin[keys[i]] = add[keys[i]];
|
63763
|
-
}
|
63764
|
-
return origin;
|
63765
|
-
};
|
63766
|
-
function hasOwnProperty(obj, prop) {
|
63767
|
-
return Object.prototype.hasOwnProperty.call(obj, prop);
|
63768
|
-
}
|
63769
|
-
|
63770
63185
|
/***/ }),
|
63771
63186
|
|
63772
63187
|
/***/ 50870:
|
@@ -75223,7 +74638,7 @@ function renderPreviewProps(val, mode, render, options, beforeFormatter, customO
|
|
75223
74638
|
|
75224
74639
|
// import path from 'path';
|
75225
74640
|
|
75226
|
-
var path = __webpack_require__(
|
74641
|
+
var path = __webpack_require__(18041);
|
75227
74642
|
var useRealHistory = function useRealHistory() {
|
75228
74643
|
var history;
|
75229
74644
|
if (react_router_dom__WEBPACK_IMPORTED_MODULE_1__.useHistory) {
|
@@ -84618,7 +84033,7 @@ ProPageContainerTab.Item = _alicloudfe_components__WEBPACK_IMPORTED_MODULE_2__.T
|
|
84618
84033
|
|
84619
84034
|
// import path from 'path';
|
84620
84035
|
|
84621
|
-
var path = __webpack_require__(
|
84036
|
+
var path = __webpack_require__(18041);
|
84622
84037
|
var useRealHistory = function useRealHistory() {
|
84623
84038
|
var history;
|
84624
84039
|
if (react_router_dom__WEBPACK_IMPORTED_MODULE_1__.useHistory) {
|
@@ -92947,7 +92362,7 @@ if (!((_window = window) != null && _window.TEAMIXPRO_WITHOUT_ICON)) {
|
|
92947
92362
|
|
92948
92363
|
|
92949
92364
|
|
92950
|
-
var version = '1.5.
|
92365
|
+
var version = '1.5.6';
|
92951
92366
|
|
92952
92367
|
|
92953
92368
|
/***/ }),
|
@@ -102112,7 +101527,7 @@ var renderProMessage = function renderProMessage(message, defaultProps) {
|
|
102112
101527
|
|
102113
101528
|
// import path from 'path';
|
102114
101529
|
|
102115
|
-
var path = __webpack_require__(
|
101530
|
+
var path = __webpack_require__(18041);
|
102116
101531
|
var useRealHistory = function useRealHistory() {
|
102117
101532
|
var history;
|
102118
101533
|
if (react_router_dom__WEBPACK_IMPORTED_MODULE_1__.useHistory) {
|