@modern-js/create 2.0.0-beta.0 → 2.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +512 -579
  2. package/package.json +11 -11
package/dist/index.js CHANGED
@@ -25,6 +25,8 @@ __export(stdin_exports, {
25
25
  module.exports = __toCommonJS(stdin_exports);
26
26
  var import_path = __toESM(require("path"));
27
27
  var import_path2 = __toESM(require("path"));
28
+ var import_os = __toESM(require("os"));
29
+ var import_path3 = __toESM(require("path"));
28
30
  var __create2 = Object.create;
29
31
  var __defProp2 = Object.defineProperty;
30
32
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -18882,11 +18884,11 @@ var require_lodash = __commonJSMin((exports, module2) => {
18882
18884
  return isFunction(object[key]);
18883
18885
  });
18884
18886
  }
18885
- function baseGet(object, path3) {
18886
- path3 = castPath(path3, object);
18887
- var index = 0, length = path3.length;
18887
+ function baseGet(object, path4) {
18888
+ path4 = castPath(path4, object);
18889
+ var index = 0, length = path4.length;
18888
18890
  while (object != null && index < length) {
18889
- object = object[toKey(path3[index++])];
18891
+ object = object[toKey(path4[index++])];
18890
18892
  }
18891
18893
  return index && index == length ? object : undefined2;
18892
18894
  }
@@ -18950,10 +18952,10 @@ var require_lodash = __commonJSMin((exports, module2) => {
18950
18952
  });
18951
18953
  return accumulator;
18952
18954
  }
18953
- function baseInvoke(object, path3, args) {
18954
- path3 = castPath(path3, object);
18955
- object = parent(object, path3);
18956
- var func = object == null ? object : object[toKey(last(path3))];
18955
+ function baseInvoke(object, path4, args) {
18956
+ path4 = castPath(path4, object);
18957
+ object = parent(object, path4);
18958
+ var func = object == null ? object : object[toKey(last(path4))];
18957
18959
  return func == null ? undefined2 : apply(func, object, args);
18958
18960
  }
18959
18961
  function baseIsArguments(value) {
@@ -19109,13 +19111,13 @@ var require_lodash = __commonJSMin((exports, module2) => {
19109
19111
  return object === source || baseIsMatch(object, source, matchData);
19110
19112
  };
19111
19113
  }
19112
- function baseMatchesProperty(path3, srcValue) {
19113
- if (isKey(path3) && isStrictComparable(srcValue)) {
19114
- return matchesStrictComparable(toKey(path3), srcValue);
19114
+ function baseMatchesProperty(path4, srcValue) {
19115
+ if (isKey(path4) && isStrictComparable(srcValue)) {
19116
+ return matchesStrictComparable(toKey(path4), srcValue);
19115
19117
  }
19116
19118
  return function(object) {
19117
- var objValue = get2(object, path3);
19118
- return objValue === undefined2 && objValue === srcValue ? hasIn(object, path3) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
19119
+ var objValue = get2(object, path4);
19120
+ return objValue === undefined2 && objValue === srcValue ? hasIn(object, path4) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
19119
19121
  };
19120
19122
  }
19121
19123
  function baseMerge(object, source, srcIndex, customizer, stack) {
@@ -19212,23 +19214,23 @@ var require_lodash = __commonJSMin((exports, module2) => {
19212
19214
  });
19213
19215
  }
19214
19216
  function basePick(object, paths) {
19215
- return basePickBy(object, paths, function(value, path3) {
19216
- return hasIn(object, path3);
19217
+ return basePickBy(object, paths, function(value, path4) {
19218
+ return hasIn(object, path4);
19217
19219
  });
19218
19220
  }
19219
19221
  function basePickBy(object, paths, predicate) {
19220
19222
  var index = -1, length = paths.length, result2 = {};
19221
19223
  while (++index < length) {
19222
- var path3 = paths[index], value = baseGet(object, path3);
19223
- if (predicate(value, path3)) {
19224
- baseSet(result2, castPath(path3, object), value);
19224
+ var path4 = paths[index], value = baseGet(object, path4);
19225
+ if (predicate(value, path4)) {
19226
+ baseSet(result2, castPath(path4, object), value);
19225
19227
  }
19226
19228
  }
19227
19229
  return result2;
19228
19230
  }
19229
- function basePropertyDeep(path3) {
19231
+ function basePropertyDeep(path4) {
19230
19232
  return function(object) {
19231
- return baseGet(object, path3);
19233
+ return baseGet(object, path4);
19232
19234
  };
19233
19235
  }
19234
19236
  function basePullAll(array, values2, iteratee2, comparator) {
@@ -19302,14 +19304,14 @@ var require_lodash = __commonJSMin((exports, module2) => {
19302
19304
  var array = values(collection);
19303
19305
  return shuffleSelf(array, baseClamp(n, 0, array.length));
19304
19306
  }
19305
- function baseSet(object, path3, value, customizer) {
19307
+ function baseSet(object, path4, value, customizer) {
19306
19308
  if (!isObject2(object)) {
19307
19309
  return object;
19308
19310
  }
19309
- path3 = castPath(path3, object);
19310
- var index = -1, length = path3.length, lastIndex = length - 1, nested = object;
19311
+ path4 = castPath(path4, object);
19312
+ var index = -1, length = path4.length, lastIndex = length - 1, nested = object;
19311
19313
  while (nested != null && ++index < length) {
19312
- var key = toKey(path3[index]), newValue = value;
19314
+ var key = toKey(path4[index]), newValue = value;
19313
19315
  if (key === "__proto__" || key === "constructor" || key === "prototype") {
19314
19316
  return object;
19315
19317
  }
@@ -19317,7 +19319,7 @@ var require_lodash = __commonJSMin((exports, module2) => {
19317
19319
  var objValue = nested[key];
19318
19320
  newValue = customizer ? customizer(objValue, key, nested) : undefined2;
19319
19321
  if (newValue === undefined2) {
19320
- newValue = isObject2(objValue) ? objValue : isIndex(path3[index + 1]) ? [] : {};
19322
+ newValue = isObject2(objValue) ? objValue : isIndex(path4[index + 1]) ? [] : {};
19321
19323
  }
19322
19324
  }
19323
19325
  assignValue(nested, key, newValue);
@@ -19483,13 +19485,13 @@ var require_lodash = __commonJSMin((exports, module2) => {
19483
19485
  }
19484
19486
  return result2;
19485
19487
  }
19486
- function baseUnset(object, path3) {
19487
- path3 = castPath(path3, object);
19488
- object = parent(object, path3);
19489
- return object == null || delete object[toKey(last(path3))];
19488
+ function baseUnset(object, path4) {
19489
+ path4 = castPath(path4, object);
19490
+ object = parent(object, path4);
19491
+ return object == null || delete object[toKey(last(path4))];
19490
19492
  }
19491
- function baseUpdate(object, path3, updater, customizer) {
19492
- return baseSet(object, path3, updater(baseGet(object, path3)), customizer);
19493
+ function baseUpdate(object, path4, updater, customizer) {
19494
+ return baseSet(object, path4, updater(baseGet(object, path4)), customizer);
19493
19495
  }
19494
19496
  function baseWhile(array, predicate, isDrop, fromRight) {
19495
19497
  var length = array.length, index = fromRight ? length : -1;
@@ -20350,11 +20352,11 @@ var require_lodash = __commonJSMin((exports, module2) => {
20350
20352
  var match = source.match(reWrapDetails);
20351
20353
  return match ? match[1].split(reSplitDetails) : [];
20352
20354
  }
20353
- function hasPath(object, path3, hasFunc) {
20354
- path3 = castPath(path3, object);
20355
- var index = -1, length = path3.length, result2 = false;
20355
+ function hasPath(object, path4, hasFunc) {
20356
+ path4 = castPath(path4, object);
20357
+ var index = -1, length = path4.length, result2 = false;
20356
20358
  while (++index < length) {
20357
- var key = toKey(path3[index]);
20359
+ var key = toKey(path4[index]);
20358
20360
  if (!(result2 = object != null && hasFunc(object, key))) {
20359
20361
  break;
20360
20362
  }
@@ -20556,8 +20558,8 @@ var require_lodash = __commonJSMin((exports, module2) => {
20556
20558
  return apply(func, this, otherArgs);
20557
20559
  };
20558
20560
  }
20559
- function parent(object, path3) {
20560
- return path3.length < 2 ? object : baseGet(object, baseSlice(path3, 0, -1));
20561
+ function parent(object, path4) {
20562
+ return path4.length < 2 ? object : baseGet(object, baseSlice(path4, 0, -1));
20561
20563
  }
20562
20564
  function reorder(array, indexes) {
20563
20565
  var arrLength = array.length, length = nativeMin(indexes.length, arrLength), oldArray = copyArray(array);
@@ -21192,10 +21194,10 @@ var require_lodash = __commonJSMin((exports, module2) => {
21192
21194
  }
21193
21195
  return isString2(collection) ? fromIndex <= length && collection.indexOf(value, fromIndex) > -1 : !!length && baseIndexOf(collection, value, fromIndex) > -1;
21194
21196
  }
21195
- var invokeMap = baseRest(function(collection, path3, args) {
21196
- var index = -1, isFunc = typeof path3 == "function", result2 = isArrayLike(collection) ? Array2(collection.length) : [];
21197
+ var invokeMap = baseRest(function(collection, path4, args) {
21198
+ var index = -1, isFunc = typeof path4 == "function", result2 = isArrayLike(collection) ? Array2(collection.length) : [];
21197
21199
  baseEach(collection, function(value) {
21198
- result2[++index] = isFunc ? apply(path3, value, args) : baseInvoke(value, path3, args);
21200
+ result2[++index] = isFunc ? apply(path4, value, args) : baseInvoke(value, path4, args);
21199
21201
  });
21200
21202
  return result2;
21201
21203
  });
@@ -21847,15 +21849,15 @@ var require_lodash = __commonJSMin((exports, module2) => {
21847
21849
  function functionsIn(object) {
21848
21850
  return object == null ? [] : baseFunctions(object, keysIn(object));
21849
21851
  }
21850
- function get2(object, path3, defaultValue) {
21851
- var result2 = object == null ? undefined2 : baseGet(object, path3);
21852
+ function get2(object, path4, defaultValue) {
21853
+ var result2 = object == null ? undefined2 : baseGet(object, path4);
21852
21854
  return result2 === undefined2 ? defaultValue : result2;
21853
21855
  }
21854
- function has(object, path3) {
21855
- return object != null && hasPath(object, path3, baseHas);
21856
+ function has(object, path4) {
21857
+ return object != null && hasPath(object, path4, baseHas);
21856
21858
  }
21857
- function hasIn(object, path3) {
21858
- return object != null && hasPath(object, path3, baseHasIn);
21859
+ function hasIn(object, path4) {
21860
+ return object != null && hasPath(object, path4, baseHasIn);
21859
21861
  }
21860
21862
  var invert = createInverter(function(result2, value, key) {
21861
21863
  if (value != null && typeof value.toString != "function") {
@@ -21908,10 +21910,10 @@ var require_lodash = __commonJSMin((exports, module2) => {
21908
21910
  return result2;
21909
21911
  }
21910
21912
  var isDeep = false;
21911
- paths = arrayMap(paths, function(path3) {
21912
- path3 = castPath(path3, object);
21913
- isDeep || (isDeep = path3.length > 1);
21914
- return path3;
21913
+ paths = arrayMap(paths, function(path4) {
21914
+ path4 = castPath(path4, object);
21915
+ isDeep || (isDeep = path4.length > 1);
21916
+ return path4;
21915
21917
  });
21916
21918
  copyObject(object, getAllKeysIn(object), result2);
21917
21919
  if (isDeep) {
@@ -21937,19 +21939,19 @@ var require_lodash = __commonJSMin((exports, module2) => {
21937
21939
  return [prop];
21938
21940
  });
21939
21941
  predicate = getIteratee(predicate);
21940
- return basePickBy(object, props, function(value, path3) {
21941
- return predicate(value, path3[0]);
21942
+ return basePickBy(object, props, function(value, path4) {
21943
+ return predicate(value, path4[0]);
21942
21944
  });
21943
21945
  }
21944
- function result(object, path3, defaultValue) {
21945
- path3 = castPath(path3, object);
21946
- var index = -1, length = path3.length;
21946
+ function result(object, path4, defaultValue) {
21947
+ path4 = castPath(path4, object);
21948
+ var index = -1, length = path4.length;
21947
21949
  if (!length) {
21948
21950
  length = 1;
21949
21951
  object = undefined2;
21950
21952
  }
21951
21953
  while (++index < length) {
21952
- var value = object == null ? undefined2 : object[toKey(path3[index])];
21954
+ var value = object == null ? undefined2 : object[toKey(path4[index])];
21953
21955
  if (value === undefined2) {
21954
21956
  index = length;
21955
21957
  value = defaultValue;
@@ -21958,12 +21960,12 @@ var require_lodash = __commonJSMin((exports, module2) => {
21958
21960
  }
21959
21961
  return object;
21960
21962
  }
21961
- function set(object, path3, value) {
21962
- return object == null ? object : baseSet(object, path3, value);
21963
+ function set(object, path4, value) {
21964
+ return object == null ? object : baseSet(object, path4, value);
21963
21965
  }
21964
- function setWith(object, path3, value, customizer) {
21966
+ function setWith(object, path4, value, customizer) {
21965
21967
  customizer = typeof customizer == "function" ? customizer : undefined2;
21966
- return object == null ? object : baseSet(object, path3, value, customizer);
21968
+ return object == null ? object : baseSet(object, path4, value, customizer);
21967
21969
  }
21968
21970
  var toPairs = createToPairs(keys);
21969
21971
  var toPairsIn = createToPairs(keysIn);
@@ -21985,15 +21987,15 @@ var require_lodash = __commonJSMin((exports, module2) => {
21985
21987
  });
21986
21988
  return accumulator;
21987
21989
  }
21988
- function unset(object, path3) {
21989
- return object == null ? true : baseUnset(object, path3);
21990
+ function unset(object, path4) {
21991
+ return object == null ? true : baseUnset(object, path4);
21990
21992
  }
21991
- function update(object, path3, updater) {
21992
- return object == null ? object : baseUpdate(object, path3, castFunction(updater));
21993
+ function update(object, path4, updater) {
21994
+ return object == null ? object : baseUpdate(object, path4, castFunction(updater));
21993
21995
  }
21994
- function updateWith(object, path3, updater, customizer) {
21996
+ function updateWith(object, path4, updater, customizer) {
21995
21997
  customizer = typeof customizer == "function" ? customizer : undefined2;
21996
- return object == null ? object : baseUpdate(object, path3, castFunction(updater), customizer);
21998
+ return object == null ? object : baseUpdate(object, path4, castFunction(updater), customizer);
21997
21999
  }
21998
22000
  function values(object) {
21999
22001
  return object == null ? [] : baseValues(object, keys(object));
@@ -22371,17 +22373,17 @@ var require_lodash = __commonJSMin((exports, module2) => {
22371
22373
  function matches(source) {
22372
22374
  return baseMatches(baseClone(source, CLONE_DEEP_FLAG));
22373
22375
  }
22374
- function matchesProperty(path3, srcValue) {
22375
- return baseMatchesProperty(path3, baseClone(srcValue, CLONE_DEEP_FLAG));
22376
+ function matchesProperty(path4, srcValue) {
22377
+ return baseMatchesProperty(path4, baseClone(srcValue, CLONE_DEEP_FLAG));
22376
22378
  }
22377
- var method = baseRest(function(path3, args) {
22379
+ var method = baseRest(function(path4, args) {
22378
22380
  return function(object) {
22379
- return baseInvoke(object, path3, args);
22381
+ return baseInvoke(object, path4, args);
22380
22382
  };
22381
22383
  });
22382
22384
  var methodOf = baseRest(function(object, args) {
22383
- return function(path3) {
22384
- return baseInvoke(object, path3, args);
22385
+ return function(path4) {
22386
+ return baseInvoke(object, path4, args);
22385
22387
  };
22386
22388
  });
22387
22389
  function mixin(object, source, options3) {
@@ -22428,12 +22430,12 @@ var require_lodash = __commonJSMin((exports, module2) => {
22428
22430
  var over = createOver(arrayMap);
22429
22431
  var overEvery = createOver(arrayEvery);
22430
22432
  var overSome = createOver(arraySome);
22431
- function property(path3) {
22432
- return isKey(path3) ? baseProperty(toKey(path3)) : basePropertyDeep(path3);
22433
+ function property(path4) {
22434
+ return isKey(path4) ? baseProperty(toKey(path4)) : basePropertyDeep(path4);
22433
22435
  }
22434
22436
  function propertyOf(object) {
22435
- return function(path3) {
22436
- return object == null ? undefined2 : baseGet(object, path3);
22437
+ return function(path4) {
22438
+ return object == null ? undefined2 : baseGet(object, path4);
22437
22439
  };
22438
22440
  }
22439
22441
  var range = createRange();
@@ -22886,12 +22888,12 @@ var require_lodash = __commonJSMin((exports, module2) => {
22886
22888
  LazyWrapper.prototype.findLast = function(predicate) {
22887
22889
  return this.reverse().find(predicate);
22888
22890
  };
22889
- LazyWrapper.prototype.invokeMap = baseRest(function(path3, args) {
22890
- if (typeof path3 == "function") {
22891
+ LazyWrapper.prototype.invokeMap = baseRest(function(path4, args) {
22892
+ if (typeof path4 == "function") {
22891
22893
  return new LazyWrapper(this);
22892
22894
  }
22893
22895
  return this.map(function(value) {
22894
- return baseInvoke(value, path3, args);
22896
+ return baseInvoke(value, path4, args);
22895
22897
  });
22896
22898
  });
22897
22899
  LazyWrapper.prototype.reject = function(predicate) {
@@ -30608,13 +30610,13 @@ var require_browsers2 = __commonJSMin((exports, module2) => {
30608
30610
  module2.exports.browsers = require_browsers();
30609
30611
  });
30610
30612
  var require_browserVersions = __commonJSMin((exports, module2) => {
30611
- module2.exports = { "0": "31", "1": "32", "2": "33", "3": "34", "4": "35", "5": "36", "6": "37", "7": "38", "8": "39", "9": "40", A: "10", B: "11", C: "12", D: "7", E: "8", F: "9", G: "15", H: "101", I: "4", J: "6", K: "13", L: "14", M: "16", N: "17", O: "18", P: "79", Q: "80", R: "81", S: "83", T: "84", U: "85", V: "86", W: "87", X: "102", Y: "64", Z: "88", a: "89", b: "90", c: "91", d: "92", e: "93", f: "94", g: "95", h: "96", i: "97", j: "98", k: "99", l: "100", m: "103", n: "5", o: "19", p: "20", q: "21", r: "22", s: "23", t: "24", u: "25", v: "26", w: "27", x: "28", y: "29", z: "30", AB: "41", BB: "42", CB: "43", DB: "44", EB: "45", FB: "46", GB: "47", HB: "48", IB: "49", JB: "50", KB: "51", LB: "52", MB: "53", NB: "54", OB: "55", PB: "56", QB: "57", RB: "58", SB: "60", TB: "62", UB: "63", VB: "65", WB: "66", XB: "67", YB: "68", ZB: "69", aB: "70", bB: "71", cB: "72", dB: "73", eB: "74", fB: "75", gB: "76", hB: "77", iB: "78", jB: "11.1", kB: "12.1", lB: "16.0", mB: "3", nB: "59", oB: "61", pB: "82", qB: "3.2", rB: "10.1", sB: "15.2-15.3", tB: "15.4", uB: "15.5", vB: "11.5", wB: "4.2-4.3", xB: "5.5", yB: "2", zB: "3.5", "0B": "3.6", "1B": "104", "2B": "105", "3B": "106", "4B": "3.1", "5B": "5.1", "6B": "6.1", "7B": "7.1", "8B": "9.1", "9B": "13.1", AC: "14.1", BC: "15.1", CC: "TP", DC: "9.5-9.6", EC: "10.0-10.1", FC: "10.5", GC: "10.6", HC: "11.6", IC: "4.0-4.1", JC: "5.0-5.1", KC: "6.0-6.1", LC: "7.0-7.1", MC: "8.1-8.4", NC: "9.0-9.2", OC: "9.3", PC: "10.0-10.2", QC: "10.3", RC: "11.0-11.2", SC: "11.3-11.4", TC: "12.0-12.1", UC: "12.2-12.5", VC: "13.0-13.1", WC: "13.2", XC: "13.3", YC: "13.4-13.7", ZC: "14.0-14.4", aC: "14.5-14.8", bC: "15.0-15.1", cC: "all", dC: "2.1", eC: "2.2", fC: "2.3", gC: "4.1", hC: "4.4", iC: "4.4.3-4.4.4", jC: "12.12", kC: "5.0-5.4", lC: "6.2-6.4", mC: "7.2-7.4", nC: "8.2", oC: "9.2", pC: "11.1-11.2", qC: "12.0", rC: "13.0", sC: "14.0", tC: "15.0", uC: "17.0", vC: "10.4", wC: "7.12", xC: "2.5" };
30613
+ module2.exports = { "0": "27", "1": "28", "2": "29", "3": "30", "4": "31", "5": "32", "6": "33", "7": "34", "8": "35", "9": "36", A: "10", B: "11", C: "12", D: "7", E: "8", F: "9", G: "15", H: "107", I: "4", J: "6", K: "13", L: "14", M: "16", N: "17", O: "18", P: "79", Q: "80", R: "81", S: "83", T: "84", U: "85", V: "86", W: "87", X: "88", Y: "89", Z: "90", a: "91", b: "92", c: "106", d: "72", e: "93", f: "94", g: "95", h: "96", i: "97", j: "98", k: "99", l: "100", m: "101", n: "102", o: "103", p: "104", q: "105", r: "5", s: "19", t: "20", u: "21", v: "22", w: "23", x: "24", y: "25", z: "26", AB: "37", BB: "38", CB: "39", DB: "40", EB: "41", FB: "42", GB: "43", HB: "44", IB: "45", JB: "46", KB: "47", LB: "48", MB: "49", NB: "50", OB: "51", PB: "52", QB: "53", RB: "54", SB: "55", TB: "56", UB: "57", VB: "58", WB: "60", XB: "62", YB: "63", ZB: "64", aB: "65", bB: "66", cB: "67", dB: "68", eB: "69", fB: "70", gB: "71", hB: "73", iB: "74", jB: "75", kB: "76", lB: "77", mB: "78", nB: "11.1", oB: "12.1", pB: "16.0", qB: "3", rB: "59", sB: "61", tB: "82", uB: "108", vB: "109", wB: "3.2", xB: "10.1", yB: "13.1", zB: "15.2-15.3", "0B": "15.4", "1B": "15.5", "2B": "15.6", "3B": "16.1", "4B": "11.5", "5B": "4.2-4.3", "6B": "5.5", "7B": "2", "8B": "3.5", "9B": "3.6", AC: "110", BC: "3.1", CC: "5.1", DC: "6.1", EC: "7.1", FC: "9.1", GC: "14.1", HC: "15.1", IC: "16.2", JC: "TP", KC: "9.5-9.6", LC: "10.0-10.1", MC: "10.5", NC: "10.6", OC: "11.6", PC: "4.0-4.1", QC: "5.0-5.1", RC: "6.0-6.1", SC: "7.0-7.1", TC: "8.1-8.4", UC: "9.0-9.2", VC: "9.3", WC: "10.0-10.2", XC: "10.3", YC: "11.0-11.2", ZC: "11.3-11.4", aC: "12.0-12.1", bC: "12.2-12.5", cC: "13.0-13.1", dC: "13.2", eC: "13.3", fC: "13.4-13.7", gC: "14.0-14.4", hC: "14.5-14.8", iC: "15.0-15.1", jC: "all", kC: "2.1", lC: "2.2", mC: "2.3", nC: "4.1", oC: "4.4", pC: "4.4.3-4.4.4", qC: "13.4", rC: "5.0-5.4", sC: "6.2-6.4", tC: "7.2-7.4", uC: "8.2", vC: "9.2", wC: "11.1-11.2", xC: "12.0", yC: "13.0", zC: "14.0", "0C": "15.0", "1C": "17.0", "2C": "18.0", "3C": "19.0", "4C": "13.18", "5C": "2.5" };
30612
30614
  });
30613
30615
  var require_browserVersions2 = __commonJSMin((exports, module2) => {
30614
30616
  module2.exports.browserVersions = require_browserVersions();
30615
30617
  });
30616
30618
  var require_agents = __commonJSMin((exports, module2) => {
30617
- module2.exports = { A: { A: { J: 0.0131217, D: 621152e-8, E: 0.0166941, F: 0.038953, A: 556471e-8, B: 0.8514, xB: 9298e-6 }, B: "ms", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "xB", "J", "D", "E", "F", "A", "B", "", "", ""], E: "IE", F: { xB: 962323200, J: 998870400, D: 1161129600, E: 1237420800, F: 1300060800, A: 1346716800, B: 1381968e3 } }, B: { A: { C: 7734e-6, K: 4267e-6, L: 4268e-6, G: 0.058005, M: 3867e-6, N: 7734e-6, O: 0.023202, P: 0, Q: 4298e-6, R: 944e-5, S: 4043e-6, T: 7734e-6, U: 7734e-6, V: 3867e-6, W: 0.011601, Z: 4318e-6, a: 7734e-6, b: 4118e-6, c: 3939e-6, d: 7734e-6, e: 4118e-6, f: 3939e-6, g: 7734e-6, h: 0.011601, i: 0.015468, j: 0.015468, k: 0.054138, l: 0.212685, H: 3.52284, X: 0, m: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "C", "K", "L", "G", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "H", "X", "m", "", "", ""], E: "Edge", F: { C: 1438128e3, K: 1447286400, L: 1470096e3, G: 1491868800, M: 1508198400, N: 1525046400, O: 1542067200, P: 1579046400, Q: 1581033600, R: 1586736e3, S: 1590019200, T: 1594857600, U: 1598486400, V: 1602201600, W: 1605830400, Z: 161136e4, a: 1614816e3, b: 1618358400, c: 1622073600, d: 1626912e3, e: 1630627200, f: 1632441600, g: 1634774400, h: 1637539200, i: 1641427200, j: 1643932800, k: 1646265600, l: 1649635200, H: 1651190400, X: 1653955200, m: 1655942400 }, D: { C: "ms", K: "ms", L: "ms", G: "ms", M: "ms", N: "ms", O: "ms" } }, C: { A: { "0": 8928e-6, "1": 4471e-6, "2": 9284e-6, "3": 4707e-6, "4": 9076e-6, "5": 3867e-6, "6": 4783e-6, "7": 4271e-6, "8": 4783e-6, "9": 487e-5, yB: 4118e-6, mB: 4271e-6, I: 0.019335, n: 4879e-6, J: 0.020136, D: 5725e-6, E: 4525e-6, F: 533e-5, A: 4283e-6, B: 7734e-6, C: 4471e-6, K: 4486e-6, L: 453e-5, G: 8322e-6, M: 4417e-6, N: 4425e-6, O: 4161e-6, o: 4443e-6, p: 4283e-6, q: 8322e-6, r: 0.013698, s: 4161e-6, t: 8786e-6, u: 4118e-6, v: 4317e-6, w: 4393e-6, x: 4418e-6, y: 8834e-6, z: 8322e-6, AB: 5029e-6, BB: 47e-4, CB: 0.023202, DB: 7734e-6, EB: 3867e-6, FB: 4525e-6, GB: 4293e-6, HB: 3867e-6, IB: 4538e-6, JB: 8282e-6, KB: 0.011601, LB: 0.069606, MB: 0.011601, NB: 7734e-6, OB: 0.015468, PB: 0.011601, QB: 0.011601, RB: 3939e-6, nB: 7734e-6, SB: 3867e-6, oB: 4356e-6, TB: 4425e-6, UB: 8322e-6, Y: 415e-5, VB: 4267e-6, WB: 3867e-6, XB: 4267e-6, YB: 7734e-6, ZB: 415e-5, aB: 4293e-6, bB: 4425e-6, cB: 3867e-6, dB: 415e-5, eB: 415e-5, fB: 4318e-6, gB: 4356e-6, hB: 3867e-6, iB: 0.042537, P: 7734e-6, Q: 7734e-6, R: 0.011601, pB: 7734e-6, S: 3867e-6, T: 3867e-6, U: 4268e-6, V: 3867e-6, W: 0.011601, Z: 0.011601, a: 7734e-6, b: 7734e-6, c: 0.096675, d: 3867e-6, e: 7734e-6, f: 0.03867, g: 0.011601, h: 0.015468, i: 0.015468, j: 0.034803, k: 0.421503, l: 1.84456, H: 0.023202, X: 0, m: 0, zB: 8786e-6, "0B": 487e-5 }, B: "moz", C: ["yB", "mB", "zB", "0B", "I", "n", "J", "D", "E", "F", "A", "B", "C", "K", "L", "G", "M", "N", "O", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "nB", "SB", "oB", "TB", "UB", "Y", "VB", "WB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "eB", "fB", "gB", "hB", "iB", "P", "Q", "R", "pB", "S", "T", "U", "V", "W", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "H", "X", "m", ""], E: "Firefox", F: { "0": 1405987200, "1": 1409616e3, "2": 1413244800, "3": 1417392e3, "4": 1421107200, "5": 1424736e3, "6": 1428278400, "7": 1431475200, "8": 1435881600, "9": 1439251200, yB: 1161648e3, mB: 1213660800, zB: 124632e4, "0B": 1264032e3, I: 1300752e3, n: 1308614400, J: 1313452800, D: 1317081600, E: 1317081600, F: 1320710400, A: 1324339200, B: 1327968e3, C: 1331596800, K: 1335225600, L: 1338854400, G: 1342483200, M: 1346112e3, N: 1349740800, O: 1353628800, o: 1357603200, p: 1361232e3, q: 1364860800, r: 1368489600, s: 1372118400, t: 1375747200, u: 1379376e3, v: 1386633600, w: 1391472e3, x: 1395100800, y: 1398729600, z: 1402358400, AB: 144288e4, BB: 1446508800, CB: 1450137600, DB: 1453852800, EB: 1457395200, FB: 1461628800, GB: 1465257600, HB: 1470096e3, IB: 1474329600, JB: 1479168e3, KB: 1485216e3, LB: 1488844800, MB: 149256e4, NB: 1497312e3, OB: 1502150400, PB: 1506556800, QB: 1510617600, RB: 1516665600, nB: 1520985600, SB: 1525824e3, oB: 1529971200, TB: 1536105600, UB: 1540252800, Y: 1544486400, VB: 154872e4, WB: 1552953600, XB: 1558396800, YB: 1562630400, ZB: 1567468800, aB: 1571788800, bB: 1575331200, cB: 1578355200, dB: 1581379200, eB: 1583798400, fB: 1586304e3, gB: 1588636800, hB: 1591056e3, iB: 1593475200, P: 1595894400, Q: 1598313600, R: 1600732800, pB: 1603152e3, S: 1605571200, T: 1607990400, U: 1611619200, V: 1614038400, W: 1616457600, Z: 1618790400, a: 1622505600, b: 1626134400, c: 1628553600, d: 1630972800, e: 1633392e3, f: 1635811200, g: 1638835200, h: 1641859200, i: 1644364800, j: 1646697600, k: 1649116800, l: 1651536e3, H: 1653955200, X: null, m: null } }, D: { A: { "0": 8596e-6, "1": 4566e-6, "2": 4118e-6, "3": 7734e-6, "4": 7878e-6, "5": 4335e-6, "6": 4464e-6, "7": 0.019335, "8": 3867e-6, "9": 0.019335, I: 4706e-6, n: 4879e-6, J: 4879e-6, D: 5591e-6, E: 5591e-6, F: 5591e-6, A: 4534e-6, B: 4464e-6, C: 0.010424, K: 83e-4, L: 4706e-6, G: 0.015087, M: 4393e-6, N: 4393e-6, O: 8652e-6, o: 8322e-6, p: 4393e-6, q: 4317e-6, r: 7734e-6, s: 8786e-6, t: 3939e-6, u: 4461e-6, v: 4141e-6, w: 4326e-6, x: 47e-4, y: 4538e-6, z: 8322e-6, AB: 7734e-6, BB: 7734e-6, CB: 0.011601, DB: 3867e-6, EB: 3867e-6, FB: 3867e-6, GB: 0.015468, HB: 0.023202, IB: 0.061872, JB: 3867e-6, KB: 7734e-6, LB: 7734e-6, MB: 0.015468, NB: 3867e-6, OB: 7734e-6, PB: 0.027069, QB: 7734e-6, RB: 0.011601, nB: 7734e-6, SB: 0.015468, oB: 0.015468, TB: 0.015468, UB: 0.015468, Y: 7734e-6, VB: 0.015468, WB: 0.027069, XB: 0.023202, YB: 7734e-6, ZB: 0.046404, aB: 0.019335, bB: 0.011601, cB: 0.019335, dB: 7734e-6, eB: 0.023202, fB: 0.058005, gB: 0.073473, hB: 0.011601, iB: 0.030936, P: 0.204951, Q: 0.042537, R: 0.03867, S: 0.131478, T: 0.081207, U: 0.088941, V: 0.092808, W: 0.104409, Z: 0.019335, a: 0.058005, b: 0.034803, c: 0.081207, d: 0.065739, e: 0.054138, f: 0.061872, g: 0.042537, h: 0.143079, i: 0.143079, j: 0.204951, k: 0.351897, l: 4.17636, H: 15.4487, X: 1.5468, m: 0.015468, "1B": 7734e-6, "2B": 0, "3B": 0 }, B: "webkit", C: ["", "", "", "I", "n", "J", "D", "E", "F", "A", "B", "C", "K", "L", "G", "M", "N", "O", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "nB", "SB", "oB", "TB", "UB", "Y", "VB", "WB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "eB", "fB", "gB", "hB", "iB", "P", "Q", "R", "S", "T", "U", "V", "W", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "H", "X", "m", "1B", "2B", "3B"], E: "Chrome", F: { "0": 1384214400, "1": 1389657600, "2": 1392940800, "3": 1397001600, "4": 1400544e3, "5": 1405468800, "6": 1409011200, "7": 141264e4, "8": 1416268800, "9": 1421798400, I: 1264377600, n: 1274745600, J: 1283385600, D: 1287619200, E: 1291248e3, F: 1296777600, A: 1299542400, B: 1303862400, C: 1307404800, K: 1312243200, L: 1316131200, G: 1316131200, M: 1319500800, N: 1323734400, O: 1328659200, o: 1332892800, p: 133704e4, q: 1340668800, r: 1343692800, s: 1348531200, t: 1352246400, u: 1357862400, v: 1361404800, w: 1364428800, x: 1369094400, y: 1374105600, z: 1376956800, AB: 1425513600, BB: 1429401600, CB: 143208e4, DB: 1437523200, EB: 1441152e3, FB: 1444780800, GB: 1449014400, HB: 1453248e3, IB: 1456963200, JB: 1460592e3, KB: 1464134400, LB: 1469059200, MB: 1472601600, NB: 1476230400, OB: 1480550400, PB: 1485302400, QB: 1489017600, RB: 149256e4, nB: 1496707200, SB: 1500940800, oB: 1504569600, TB: 1508198400, UB: 1512518400, Y: 1516752e3, VB: 1520294400, WB: 1523923200, XB: 1527552e3, YB: 1532390400, ZB: 1536019200, aB: 1539648e3, bB: 1543968e3, cB: 154872e4, dB: 1552348800, eB: 1555977600, fB: 1559606400, gB: 1564444800, hB: 1568073600, iB: 1571702400, P: 1575936e3, Q: 1580860800, R: 1586304e3, S: 1589846400, T: 1594684800, U: 1598313600, V: 1601942400, W: 1605571200, Z: 1611014400, a: 1614556800, b: 1618272e3, c: 1621987200, d: 1626739200, e: 1630368e3, f: 1632268800, g: 1634601600, h: 1637020800, i: 1641340800, j: 1643673600, k: 1646092800, l: 1648512e3, H: 1650931200, X: 1653350400, m: 1655769600, "1B": null, "2B": null, "3B": null } }, E: { A: { I: 0, n: 8322e-6, J: 4656e-6, D: 4465e-6, E: 4356e-6, F: 4891e-6, A: 4425e-6, B: 4318e-6, C: 3867e-6, K: 0.034803, L: 0.158547, G: 0.058005, "4B": 0, qB: 8692e-6, "5B": 7734e-6, "6B": 456e-5, "7B": 4283e-6, "8B": 0.015468, rB: 7734e-6, jB: 0.023202, kB: 0.046404, "9B": 0.266823, AC: 0.491109, BC: 0.108276, sB: 0.108276, tB: 1.67054, uB: 0.189483, lB: 0, CC: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "4B", "qB", "I", "n", "5B", "J", "6B", "D", "7B", "E", "F", "8B", "A", "rB", "B", "jB", "C", "kB", "K", "9B", "L", "AC", "G", "BC", "sB", "tB", "uB", "lB", "CC", ""], E: "Safari", F: { "4B": 1205798400, qB: 1226534400, I: 1244419200, n: 1275868800, "5B": 131112e4, J: 1343174400, "6B": 13824e5, D: 13824e5, "7B": 1410998400, E: 1413417600, F: 1443657600, "8B": 1458518400, A: 1474329600, rB: 1490572800, B: 1505779200, jB: 1522281600, C: 1537142400, kB: 1553472e3, K: 1568851200, "9B": 1585008e3, L: 1600214400, AC: 1619395200, G: 1632096e3, BC: 1635292800, sB: 1639353600, tB: 1647216e3, uB: 1652745600, lB: null, CC: null } }, F: { A: { "0": 3867e-6, "1": 5152e-6, "2": 5014e-6, "3": 9758e-6, "4": 4879e-6, "5": 3867e-6, "6": 4283e-6, "7": 4367e-6, "8": 4534e-6, "9": 7734e-6, F: 82e-4, B: 0.016581, C: 4317e-6, G: 685e-5, M: 685e-5, N: 685e-5, O: 5014e-6, o: 6015e-6, p: 4879e-6, q: 6597e-6, r: 6597e-6, s: 0.013434, t: 6702e-6, u: 6015e-6, v: 5595e-6, w: 4393e-6, x: 7734e-6, y: 4879e-6, z: 4879e-6, AB: 4227e-6, BB: 4418e-6, CB: 4161e-6, DB: 4227e-6, EB: 4725e-6, FB: 0.011601, GB: 8942e-6, HB: 4707e-6, IB: 4827e-6, JB: 4707e-6, KB: 4707e-6, LB: 4326e-6, MB: 8922e-6, NB: 0.014349, OB: 4425e-6, PB: 472e-5, QB: 4425e-6, RB: 4425e-6, SB: 472e-5, TB: 4532e-6, UB: 4566e-6, Y: 0.02283, VB: 867e-5, WB: 4656e-6, XB: 4642e-6, YB: 3867e-6, ZB: 944e-5, aB: 4293e-6, bB: 3867e-6, cB: 4298e-6, dB: 0.096692, eB: 4201e-6, fB: 4141e-6, gB: 4257e-6, hB: 3939e-6, iB: 8236e-6, P: 3939e-6, Q: 3939e-6, R: 8514e-6, pB: 3939e-6, S: 3939e-6, T: 7734e-6, U: 0.448572, V: 0.475641, W: 0.027069, DC: 685e-5, EC: 0, FC: 8392e-6, GC: 4706e-6, jB: 6229e-6, vB: 4879e-6, HC: 8786e-6, kB: 472e-5 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "F", "DC", "EC", "FC", "GC", "B", "jB", "vB", "HC", "C", "kB", "G", "M", "N", "O", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "Y", "VB", "WB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "eB", "fB", "gB", "hB", "iB", "P", "Q", "R", "pB", "S", "T", "U", "V", "W", "", ""], E: "Opera", F: { "0": 1438646400, "1": 1442448e3, "2": 1445904e3, "3": 1449100800, "4": 1454371200, "5": 1457308800, "6": 146232e4, "7": 1465344e3, "8": 1470096e3, "9": 1474329600, F: 1150761600, DC: 1223424e3, EC: 1251763200, FC: 1267488e3, GC: 1277942400, B: 1292457600, jB: 1302566400, vB: 1309219200, HC: 1323129600, C: 1323129600, kB: 1352073600, G: 1372723200, M: 1377561600, N: 1381104e3, O: 1386288e3, o: 1390867200, p: 1393891200, q: 1399334400, r: 1401753600, s: 1405987200, t: 1409616e3, u: 1413331200, v: 1417132800, w: 1422316800, x: 1425945600, y: 1430179200, z: 1433808e3, AB: 1477267200, BB: 1481587200, CB: 1486425600, DB: 1490054400, EB: 1494374400, FB: 1498003200, GB: 1502236800, HB: 1506470400, IB: 1510099200, JB: 1515024e3, KB: 1517961600, LB: 1521676800, MB: 1525910400, NB: 1530144e3, OB: 1534982400, PB: 1537833600, QB: 1543363200, RB: 1548201600, SB: 1554768e3, TB: 1561593600, UB: 1566259200, Y: 1570406400, VB: 1573689600, WB: 1578441600, XB: 1583971200, YB: 1587513600, ZB: 1592956800, aB: 1595894400, bB: 1600128e3, cB: 1603238400, dB: 161352e4, eB: 1612224e3, fB: 1616544e3, gB: 1619568e3, hB: 1623715200, iB: 1627948800, P: 1631577600, Q: 1633392e3, R: 1635984e3, pB: 1638403200, S: 1642550400, T: 1644969600, U: 1647993600, V: 1650412800, W: null }, D: { F: "o", B: "o", C: "o", DC: "o", EC: "o", FC: "o", GC: "o", jB: "o", vB: "o", HC: "o", kB: "o" } }, G: { A: { E: 0, qB: 303644e-8, IC: 0, wB: 151822e-8, JC: 455466e-8, KC: 455466e-8, LC: 0.0167004, MC: 759111e-8, NC: 0.0197369, OC: 0.0774293, PC: 0.013664, QC: 0.0926115, RC: 0.0379555, SC: 0.0318826, TC: 0.0303644, UC: 0.57996, VC: 0.0288462, WC: 0.0121458, XC: 0.0607288, YC: 0.189778, ZC: 0.592106, aC: 1.50911, bC: 0.513159, sB: 1.20395, tB: 10.1478, uB: 0, lB: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "qB", "IC", "wB", "JC", "KC", "LC", "E", "MC", "NC", "OC", "PC", "QC", "RC", "SC", "TC", "UC", "VC", "WC", "XC", "YC", "ZC", "aC", "bC", "sB", "tB", "uB", "lB", "", ""], E: "Safari on iOS", F: { qB: 1270252800, IC: 1283904e3, wB: 1299628800, JC: 1331078400, KC: 1359331200, LC: 1394409600, E: 1410912e3, MC: 1413763200, NC: 1442361600, OC: 1458518400, PC: 1473724800, QC: 1490572800, RC: 1505779200, SC: 1522281600, TC: 1537142400, UC: 1553472e3, VC: 1568851200, WC: 1572220800, XC: 1580169600, YC: 1585008e3, ZC: 1600214400, aC: 1619395200, bC: 1632096e3, sB: 1639353600, tB: 1647216e3, uB: 1652659200, lB: null } }, H: { A: { cC: 0.998688 }, B: "o", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "cC", "", "", ""], E: "Opera Mini", F: { cC: 1426464e3 } }, I: { A: { mB: 0, I: 0.0149357, H: 0, dC: 0, eC: 0, fC: 0, gC: 0.0199142, wB: 0.0597426, hC: 0, iC: 0.328584 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "dC", "eC", "fC", "mB", "I", "gC", "wB", "hC", "iC", "H", "", "", ""], E: "Android Browser", F: { dC: 1256515200, eC: 1274313600, fC: 1291593600, mB: 1298332800, I: 1318896e3, gC: 1341792e3, wB: 1374624e3, hC: 1386547200, iC: 1401667200, H: 1651017600 } }, J: { A: { D: 0, A: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "D", "A", "", "", ""], E: "Blackberry Browser", F: { D: 1325376e3, A: 1359504e3 } }, K: { A: { A: 0, B: 0, C: 0, Y: 0.0111391, jB: 0, vB: 0, kB: 0 }, B: "o", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "A", "B", "jB", "vB", "C", "kB", "Y", "", "", ""], E: "Opera Mobile", F: { A: 1287100800, B: 1300752e3, jB: 1314835200, vB: 1318291200, C: 1330300800, kB: 1349740800, Y: 1613433600 }, D: { Y: "webkit" } }, L: { A: { X: 41.3354 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "X", "", "", ""], E: "Chrome for Android", F: { X: 1653350400 } }, M: { A: { H: 0.30665 }, B: "moz", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "H", "", "", ""], E: "Firefox for Android", F: { H: 1653955200 } }, N: { A: { A: 0.0115934, B: 0.022664 }, B: "ms", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "A", "B", "", "", ""], E: "IE Mobile", F: { A: 1340150400, B: 1353456e3 } }, O: { A: { jC: 0.766625 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "jC", "", "", ""], E: "UC Browser for Android", F: { jC: 1471392e3 }, D: { jC: "webkit" } }, P: { A: { I: 0.209346, kC: 0.0103543, lC: 0.010304, mC: 0.0628037, nC: 0.0103584, oC: 0.0104673, rB: 0.0105043, pC: 0.0418691, qC: 0.0209346, rC: 0.0942055, sC: 0.0942055, tC: 0.0942055, lB: 0.889718, uC: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "I", "kC", "lC", "mC", "nC", "oC", "rB", "pC", "qC", "rC", "sC", "tC", "lB", "uC", "", "", ""], E: "Samsung Internet", F: { I: 1461024e3, kC: 1481846400, lC: 1509408e3, mC: 1528329600, nC: 1546128e3, oC: 1554163200, rB: 1567900800, pC: 1582588800, qC: 1593475200, rC: 1605657600, sC: 1618531200, tC: 1629072e3, lB: 1640736e3, uC: 1651708800 } }, Q: { A: { vC: 0.153325 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "vC", "", "", ""], E: "QQ Browser", F: { vC: 1589846400 } }, R: { A: { wC: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "wC", "", "", ""], E: "Baidu Browser", F: { wC: 1491004800 } }, S: { A: { xC: 0.073596 }, B: "moz", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "xC", "", "", ""], E: "KaiOS Browser", F: { xC: 1527811200 } } };
30619
+ module2.exports = { A: { A: { J: 0.0131217, D: 621152e-8, E: 0.0440661, F: 0.0881323, A: 734435e-8, B: 0.440661, "6B": 9298e-6 }, B: "ms", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "6B", "J", "D", "E", "F", "A", "B", "", "", ""], E: "IE", F: { "6B": 962323200, J: 998870400, D: 1161129600, E: 1237420800, F: 1300060800, A: 1346716800, B: 1381968e3 } }, B: { A: { C: 7948e-6, K: 4267e-6, L: 4268e-6, G: 3974e-6, M: 3702e-6, N: 3974e-6, O: 0.01987, P: 0, Q: 4298e-6, R: 944e-5, S: 4043e-6, T: 3974e-6, U: 3974e-6, V: 3974e-6, W: 3974e-6, X: 4318e-6, Y: 3974e-6, Z: 4118e-6, a: 3939e-6, b: 7948e-6, e: 4118e-6, f: 3939e-6, g: 3801e-6, h: 3929e-6, i: 3855e-6, j: 3929e-6, k: 3974e-6, l: 3974e-6, m: 0.011922, n: 0.011922, o: 0.035766, p: 0.067558, q: 0.802748, c: 3.07588, H: 0.246388 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "C", "K", "L", "G", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "c", "H", "", "", ""], E: "Edge", F: { C: 1438128e3, K: 1447286400, L: 1470096e3, G: 1491868800, M: 1508198400, N: 1525046400, O: 1542067200, P: 1579046400, Q: 1581033600, R: 1586736e3, S: 1590019200, T: 1594857600, U: 1598486400, V: 1602201600, W: 1605830400, X: 161136e4, Y: 1614816e3, Z: 1618358400, a: 1622073600, b: 1626912e3, e: 1630627200, f: 1632441600, g: 1634774400, h: 1637539200, i: 1641427200, j: 1643932800, k: 1646265600, l: 1649635200, m: 1651190400, n: 1653955200, o: 1655942400, p: 1659657600, q: 1661990400, c: 1664755200, H: 1666915200 }, D: { C: "ms", K: "ms", L: "ms", G: "ms", M: "ms", N: "ms", O: "ms" } }, C: { A: { "0": 4393e-6, "1": 4418e-6, "2": 8834e-6, "3": 8322e-6, "4": 8928e-6, "5": 4471e-6, "6": 9284e-6, "7": 4707e-6, "8": 9076e-6, "9": 7948e-6, "7B": 4118e-6, qB: 4271e-6, I: 0.015896, r: 4879e-6, J: 0.020136, D: 5725e-6, E: 4525e-6, F: 533e-5, A: 4283e-6, B: 7948e-6, C: 4471e-6, K: 4486e-6, L: 453e-5, G: 8322e-6, M: 4417e-6, N: 4425e-6, O: 4161e-6, s: 4443e-6, t: 4283e-6, u: 8322e-6, v: 0.013698, w: 4161e-6, x: 8786e-6, y: 4118e-6, z: 4317e-6, AB: 4783e-6, BB: 3929e-6, CB: 4783e-6, DB: 487e-5, EB: 5029e-6, FB: 47e-4, GB: 0.015896, HB: 7948e-6, IB: 3867e-6, JB: 4525e-6, KB: 4293e-6, LB: 3702e-6, MB: 4538e-6, NB: 8282e-6, OB: 0.011601, PB: 0.051662, QB: 0.011601, RB: 3929e-6, SB: 3974e-6, TB: 3974e-6, UB: 0.011601, VB: 3939e-6, rB: 3855e-6, WB: 3929e-6, sB: 4356e-6, XB: 4425e-6, YB: 8322e-6, ZB: 415e-5, aB: 4267e-6, bB: 3801e-6, cB: 4267e-6, dB: 7948e-6, eB: 415e-5, fB: 4293e-6, gB: 4425e-6, d: 3974e-6, hB: 415e-5, iB: 415e-5, jB: 4318e-6, kB: 4356e-6, lB: 3974e-6, mB: 0.035766, P: 3974e-6, Q: 7948e-6, R: 7948e-6, tB: 3974e-6, S: 3974e-6, T: 3929e-6, U: 4268e-6, V: 3801e-6, W: 7948e-6, X: 7948e-6, Y: 3974e-6, Z: 3974e-6, a: 0.03974, b: 3801e-6, e: 3855e-6, f: 0.015896, g: 3974e-6, h: 3974e-6, i: 3974e-6, j: 3974e-6, k: 0.011922, l: 7948e-6, m: 0.011922, n: 0.063584, o: 0.043714, p: 0.071532, q: 1.50615, c: 0.679554, H: 7948e-6, uB: 0, vB: 0, "8B": 8786e-6, "9B": 487e-5 }, B: "moz", C: ["7B", "qB", "8B", "9B", "I", "r", "J", "D", "E", "F", "A", "B", "C", "K", "L", "G", "M", "N", "O", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "rB", "WB", "sB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "eB", "fB", "gB", "d", "hB", "iB", "jB", "kB", "lB", "mB", "P", "Q", "R", "tB", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "c", "H", "uB", "vB", ""], E: "Firefox", F: { "0": 1391472e3, "1": 1395100800, "2": 1398729600, "3": 1402358400, "4": 1405987200, "5": 1409616e3, "6": 1413244800, "7": 1417392e3, "8": 1421107200, "9": 1424736e3, "7B": 1161648e3, qB: 1213660800, "8B": 124632e4, "9B": 1264032e3, I: 1300752e3, r: 1308614400, J: 1313452800, D: 1317081600, E: 1317081600, F: 1320710400, A: 1324339200, B: 1327968e3, C: 1331596800, K: 1335225600, L: 1338854400, G: 1342483200, M: 1346112e3, N: 1349740800, O: 1353628800, s: 1357603200, t: 1361232e3, u: 1364860800, v: 1368489600, w: 1372118400, x: 1375747200, y: 1379376e3, z: 1386633600, AB: 1428278400, BB: 1431475200, CB: 1435881600, DB: 1439251200, EB: 144288e4, FB: 1446508800, GB: 1450137600, HB: 1453852800, IB: 1457395200, JB: 1461628800, KB: 1465257600, LB: 1470096e3, MB: 1474329600, NB: 1479168e3, OB: 1485216e3, PB: 1488844800, QB: 149256e4, RB: 1497312e3, SB: 1502150400, TB: 1506556800, UB: 1510617600, VB: 1516665600, rB: 1520985600, WB: 1525824e3, sB: 1529971200, XB: 1536105600, YB: 1540252800, ZB: 1544486400, aB: 154872e4, bB: 1552953600, cB: 1558396800, dB: 1562630400, eB: 1567468800, fB: 1571788800, gB: 1575331200, d: 1578355200, hB: 1581379200, iB: 1583798400, jB: 1586304e3, kB: 1588636800, lB: 1591056e3, mB: 1593475200, P: 1595894400, Q: 1598313600, R: 1600732800, tB: 1603152e3, S: 1605571200, T: 1607990400, U: 1611619200, V: 1614038400, W: 1616457600, X: 1618790400, Y: 1622505600, Z: 1626134400, a: 1628553600, b: 1630972800, e: 1633392e3, f: 1635811200, g: 1638835200, h: 1641859200, i: 1644364800, j: 1646697600, k: 1649116800, l: 1651536e3, m: 1653955200, n: 1656374400, o: 1658793600, p: 1661212800, q: 1663632e3, c: 1666051200, H: 1668470400, uB: null, vB: null } }, D: { A: { "0": 4326e-6, "1": 47e-4, "2": 4538e-6, "3": 8322e-6, "4": 8596e-6, "5": 4566e-6, "6": 4118e-6, "7": 7948e-6, "8": 3702e-6, "9": 4335e-6, I: 4706e-6, r: 4879e-6, J: 4879e-6, D: 5591e-6, E: 5591e-6, F: 5591e-6, A: 4534e-6, B: 4464e-6, C: 0.010424, K: 83e-4, L: 4706e-6, G: 0.015087, M: 4393e-6, N: 4393e-6, O: 8652e-6, s: 8322e-6, t: 4393e-6, u: 4317e-6, v: 3974e-6, w: 8786e-6, x: 3939e-6, y: 4461e-6, z: 4141e-6, AB: 4464e-6, BB: 0.015896, CB: 3867e-6, DB: 0.015896, EB: 3974e-6, FB: 3974e-6, GB: 7948e-6, HB: 7948e-6, IB: 3974e-6, JB: 3867e-6, KB: 7948e-6, LB: 0.01987, MB: 0.047688, NB: 3867e-6, OB: 3929e-6, PB: 3974e-6, QB: 7948e-6, RB: 3867e-6, SB: 3974e-6, TB: 0.035766, UB: 3974e-6, VB: 3702e-6, rB: 3702e-6, WB: 0.011922, sB: 0.011922, XB: 3974e-6, YB: 7948e-6, ZB: 3929e-6, aB: 0.011922, bB: 0.027818, cB: 7948e-6, dB: 7948e-6, eB: 0.047688, fB: 0.023844, gB: 0.011922, d: 0.03974, hB: 0.011922, iB: 0.031792, jB: 0.043714, kB: 0.035766, lB: 0.011922, mB: 0.031792, P: 0.107298, Q: 0.035766, R: 0.03974, S: 0.067558, T: 0.051662, U: 0.083454, V: 0.083454, W: 0.083454, X: 0.01987, Y: 0.03974, Z: 0.023844, a: 0.055636, b: 0.047688, e: 0.043714, f: 0.035766, g: 0.023844, h: 0.063584, i: 0.05961, j: 0.051662, k: 0.055636, l: 0.151012, m: 0.087428, n: 0.143064, o: 0.421244, p: 0.41727, q: 6.00869, c: 15.7013, H: 0.643788, uB: 0.01987, vB: 0.011922, AC: 0 }, B: "webkit", C: ["", "", "", "", "", "I", "r", "J", "D", "E", "F", "A", "B", "C", "K", "L", "G", "M", "N", "O", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "rB", "WB", "sB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "eB", "fB", "gB", "d", "hB", "iB", "jB", "kB", "lB", "mB", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "c", "H", "uB", "vB", "AC"], E: "Chrome", F: { "0": 1364428800, "1": 1369094400, "2": 1374105600, "3": 1376956800, "4": 1384214400, "5": 1389657600, "6": 1392940800, "7": 1397001600, "8": 1400544e3, "9": 1405468800, I: 1264377600, r: 1274745600, J: 1283385600, D: 1287619200, E: 1291248e3, F: 1296777600, A: 1299542400, B: 1303862400, C: 1307404800, K: 1312243200, L: 1316131200, G: 1316131200, M: 1319500800, N: 1323734400, O: 1328659200, s: 1332892800, t: 133704e4, u: 1340668800, v: 1343692800, w: 1348531200, x: 1352246400, y: 1357862400, z: 1361404800, AB: 1409011200, BB: 141264e4, CB: 1416268800, DB: 1421798400, EB: 1425513600, FB: 1429401600, GB: 143208e4, HB: 1437523200, IB: 1441152e3, JB: 1444780800, KB: 1449014400, LB: 1453248e3, MB: 1456963200, NB: 1460592e3, OB: 1464134400, PB: 1469059200, QB: 1472601600, RB: 1476230400, SB: 1480550400, TB: 1485302400, UB: 1489017600, VB: 149256e4, rB: 1496707200, WB: 1500940800, sB: 1504569600, XB: 1508198400, YB: 1512518400, ZB: 1516752e3, aB: 1520294400, bB: 1523923200, cB: 1527552e3, dB: 1532390400, eB: 1536019200, fB: 1539648e3, gB: 1543968e3, d: 154872e4, hB: 1552348800, iB: 1555977600, jB: 1559606400, kB: 1564444800, lB: 1568073600, mB: 1571702400, P: 1575936e3, Q: 1580860800, R: 1586304e3, S: 1589846400, T: 1594684800, U: 1598313600, V: 1601942400, W: 1605571200, X: 1611014400, Y: 1614556800, Z: 1618272e3, a: 1621987200, b: 1626739200, e: 1630368e3, f: 1632268800, g: 1634601600, h: 1637020800, i: 1641340800, j: 1643673600, k: 1646092800, l: 1648512e3, m: 1650931200, n: 1653350400, o: 1655769600, p: 1659398400, q: 1661817600, c: 1664236800, H: 1666656e3, uB: null, vB: null, AC: null } }, E: { A: { I: 0, r: 8322e-6, J: 4656e-6, D: 4465e-6, E: 3974e-6, F: 3929e-6, A: 4425e-6, B: 4318e-6, C: 3801e-6, K: 0.023844, L: 0.11922, G: 0.027818, BC: 0, wB: 8692e-6, CC: 0.011922, DC: 456e-5, EC: 4283e-6, FC: 0.015896, xB: 7948e-6, nB: 0.01987, oB: 0.035766, yB: 0.313946, GC: 0.305998, HC: 0.051662, zB: 0.051662, "0B": 0.131142, "1B": 0.266258, "2B": 1.63331, pB: 0.49675, "3B": 0.071532, IC: 0, JC: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "BC", "wB", "I", "r", "CC", "J", "DC", "D", "EC", "E", "F", "FC", "A", "xB", "B", "nB", "C", "oB", "K", "yB", "L", "GC", "G", "HC", "zB", "0B", "1B", "2B", "pB", "3B", "IC", "JC", ""], E: "Safari", F: { BC: 1205798400, wB: 1226534400, I: 1244419200, r: 1275868800, CC: 131112e4, J: 1343174400, DC: 13824e5, D: 13824e5, EC: 1410998400, E: 1413417600, F: 1443657600, FC: 1458518400, A: 1474329600, xB: 1490572800, B: 1505779200, nB: 1522281600, C: 1537142400, oB: 1553472e3, K: 1568851200, yB: 1585008e3, L: 1600214400, GC: 1619395200, G: 1632096e3, HC: 1635292800, zB: 1639353600, "0B": 1647216e3, "1B": 1652745600, "2B": 1658275200, pB: 1662940800, "3B": 1666569600, IC: null, JC: null } }, F: { A: { "0": 4393e-6, "1": 7948e-6, "2": 4879e-6, "3": 4879e-6, "4": 3974e-6, "5": 5152e-6, "6": 5014e-6, "7": 9758e-6, "8": 4879e-6, "9": 3974e-6, F: 82e-4, B: 0.016581, C: 4317e-6, G: 685e-5, M: 685e-5, N: 685e-5, O: 5014e-6, s: 6015e-6, t: 4879e-6, u: 6597e-6, v: 6597e-6, w: 0.013434, x: 6702e-6, y: 6015e-6, z: 5595e-6, AB: 4283e-6, BB: 4367e-6, CB: 4534e-6, DB: 7948e-6, EB: 4227e-6, FB: 4418e-6, GB: 4161e-6, HB: 4227e-6, IB: 4725e-6, JB: 0.011922, KB: 8942e-6, LB: 4707e-6, MB: 4827e-6, NB: 4707e-6, OB: 4707e-6, PB: 4326e-6, QB: 8922e-6, RB: 0.014349, SB: 4425e-6, TB: 472e-5, UB: 4425e-6, VB: 4425e-6, WB: 472e-5, XB: 4532e-6, YB: 4566e-6, ZB: 0.02283, aB: 867e-5, bB: 4656e-6, cB: 4642e-6, dB: 3929e-6, eB: 944e-5, fB: 4293e-6, gB: 3929e-6, d: 4298e-6, hB: 0.096692, iB: 4201e-6, jB: 4141e-6, kB: 4257e-6, lB: 3939e-6, mB: 8236e-6, P: 3855e-6, Q: 3939e-6, R: 8514e-6, tB: 3939e-6, S: 3939e-6, T: 3702e-6, U: 0.011922, V: 3855e-6, W: 3855e-6, X: 3929e-6, Y: 7948e-6, Z: 0.405348, a: 0.862358, b: 0, KC: 685e-5, LC: 0, MC: 8392e-6, NC: 4706e-6, nB: 6229e-6, "4B": 4879e-6, OC: 8786e-6, oB: 472e-5 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "F", "KC", "LC", "MC", "NC", "B", "nB", "4B", "OC", "C", "oB", "G", "M", "N", "O", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "WB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "eB", "fB", "gB", "d", "hB", "iB", "jB", "kB", "lB", "mB", "P", "Q", "R", "tB", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "", "", ""], E: "Opera", F: { "0": 1422316800, "1": 1425945600, "2": 1430179200, "3": 1433808e3, "4": 1438646400, "5": 1442448e3, "6": 1445904e3, "7": 1449100800, "8": 1454371200, "9": 1457308800, F: 1150761600, KC: 1223424e3, LC: 1251763200, MC: 1267488e3, NC: 1277942400, B: 1292457600, nB: 1302566400, "4B": 1309219200, OC: 1323129600, C: 1323129600, oB: 1352073600, G: 1372723200, M: 1377561600, N: 1381104e3, O: 1386288e3, s: 1390867200, t: 1393891200, u: 1399334400, v: 1401753600, w: 1405987200, x: 1409616e3, y: 1413331200, z: 1417132800, AB: 146232e4, BB: 1465344e3, CB: 1470096e3, DB: 1474329600, EB: 1477267200, FB: 1481587200, GB: 1486425600, HB: 1490054400, IB: 1494374400, JB: 1498003200, KB: 1502236800, LB: 1506470400, MB: 1510099200, NB: 1515024e3, OB: 1517961600, PB: 1521676800, QB: 1525910400, RB: 1530144e3, SB: 1534982400, TB: 1537833600, UB: 1543363200, VB: 1548201600, WB: 1554768e3, XB: 1561593600, YB: 1566259200, ZB: 1570406400, aB: 1573689600, bB: 1578441600, cB: 1583971200, dB: 1587513600, eB: 1592956800, fB: 1595894400, gB: 1600128e3, d: 1603238400, hB: 161352e4, iB: 1612224e3, jB: 1616544e3, kB: 1619568e3, lB: 1623715200, mB: 1627948800, P: 1631577600, Q: 1633392e3, R: 1635984e3, tB: 1638403200, S: 1642550400, T: 1644969600, U: 1647993600, V: 1650412800, W: 1652745600, X: 1654646400, Y: 1657152e3, Z: 1660780800, a: 1663113600, b: 1668816e3 }, D: { F: "o", B: "o", C: "o", KC: "o", LC: "o", MC: "o", NC: "o", nB: "o", "4B": "o", OC: "o", oB: "o" } }, G: { A: { E: 0, wB: 0, PC: 0, "5B": 319488e-8, QC: 479232e-8, RC: 319488e-8, SC: 0.014377, TC: 479232e-8, UC: 0.0159744, VC: 0.0607028, WC: 319488e-8, XC: 0.0718849, YC: 0.0255591, ZC: 0.0223642, aC: 0.0223642, bC: 0.408945, cC: 0.0287539, dC: 958465e-8, eC: 0.0383386, fC: 0.119808, gC: 0.354632, hC: 0.773162, iC: 0.201278, zB: 0.28115, "0B": 0.351437, "1B": 0.800318, "2B": 6.71564, pB: 4.55111, "3B": 0.241214 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "wB", "PC", "5B", "QC", "RC", "SC", "E", "TC", "UC", "VC", "WC", "XC", "YC", "ZC", "aC", "bC", "cC", "dC", "eC", "fC", "gC", "hC", "iC", "zB", "0B", "1B", "2B", "pB", "3B", "", "", ""], E: "Safari on iOS", F: { wB: 1270252800, PC: 1283904e3, "5B": 1299628800, QC: 1331078400, RC: 1359331200, SC: 1394409600, E: 1410912e3, TC: 1413763200, UC: 1442361600, VC: 1458518400, WC: 1473724800, XC: 1490572800, YC: 1505779200, ZC: 1522281600, aC: 1537142400, bC: 1553472e3, cC: 1568851200, dC: 1572220800, eC: 1580169600, fC: 1585008e3, gC: 1600214400, hC: 1619395200, iC: 1632096e3, zB: 1639353600, "0B": 1647216e3, "1B": 1652659200, "2B": 1658275200, pB: 1662940800, "3B": 1666569600 } }, H: { A: { jC: 1.02708 }, B: "o", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "jC", "", "", ""], E: "Opera Mini", F: { jC: 1426464e3 } }, I: { A: { qB: 0, I: 0.0223354, H: 0, kC: 0, lC: 0, mC: 0, nC: 0.0297805, "5B": 0.0893414, oC: 0, pC: 0.364811 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "kC", "lC", "mC", "qB", "I", "nC", "5B", "oC", "pC", "H", "", "", ""], E: "Android Browser", F: { kC: 1256515200, lC: 1274313600, mC: 1291593600, qB: 1298332800, I: 1318896e3, nC: 1341792e3, "5B": 1374624e3, oC: 1386547200, pC: 1401667200, H: 1666828800 } }, J: { A: { D: 0, A: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "D", "A", "", "", ""], E: "Blackberry Browser", F: { D: 1325376e3, A: 1359504e3 } }, K: { A: { A: 0, B: 0, C: 0, d: 0.0111391, nB: 0, "4B": 0, oB: 0 }, B: "o", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "A", "B", "nB", "4B", "C", "oB", "d", "", "", ""], E: "Opera Mobile", F: { A: 1287100800, B: 1300752e3, nB: 1314835200, "4B": 1318291200, C: 1330300800, oB: 1349740800, d: 1666828800 }, D: { d: "webkit" } }, L: { A: { H: 40.2785 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "H", "", "", ""], E: "Chrome for Android", F: { H: 1666828800 } }, M: { A: { c: 0.283269 }, B: "moz", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "c", "", "", ""], E: "Firefox for Android", F: { c: 1666051200 } }, N: { A: { A: 0.0115934, B: 0.022664 }, B: "ms", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "A", "B", "", "", ""], E: "IE Mobile", F: { A: 1340150400, B: 1353456e3 } }, O: { A: { qC: 0.638862 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "qC", "", "", ""], E: "UC Browser for Android", F: { qC: 1634688e3 }, D: { qC: "webkit" } }, P: { A: { I: 0.146868, rC: 0.0103543, sC: 0.010304, tC: 0.0629436, uC: 0.0103584, vC: 0.0104443, xB: 0.0105043, wC: 0.0314718, xC: 0.0104906, yC: 0.052453, zC: 0.052453, "0C": 0.0314718, pB: 0.0944154, "1C": 0.157359, "2C": 2.15057, "3C": 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "I", "rC", "sC", "tC", "uC", "vC", "xB", "wC", "xC", "yC", "zC", "0C", "pB", "1C", "2C", "3C", "", "", ""], E: "Samsung Internet", F: { I: 1461024e3, rC: 1481846400, sC: 1509408e3, tC: 1528329600, uC: 1546128e3, vC: 1554163200, xB: 1567900800, wC: 1582588800, xC: 1593475200, yC: 1605657600, zC: 1618531200, "0C": 1629072e3, pB: 1640736e3, "1C": 1651708800, "2C": 1659657600, "3C": 1667260800 } }, Q: { A: { yB: 0.126567 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "yB", "", "", ""], E: "QQ Browser", F: { yB: 1663718400 } }, R: { A: { "4C": 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "4C", "", "", ""], E: "Baidu Browser", F: { "4C": 1663027200 } }, S: { A: { "5C": 0.042189 }, B: "moz", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "5C", "", "", ""], E: "KaiOS Browser", F: { "5C": 1527811200 } } };
30618
30620
  });
30619
30621
  var require_agents2 = __commonJSMin((exports, module2) => {
30620
30622
  "use strict";
@@ -30622,8 +30624,8 @@ var require_agents2 = __commonJSMin((exports, module2) => {
30622
30624
  var versions = require_browserVersions2().browserVersions;
30623
30625
  var agentsData = require_agents();
30624
30626
  function unpackBrowserVersions(versionsData) {
30625
- return Object.keys(versionsData).reduce((usage, version4) => {
30626
- usage[versions[version4]] = versionsData[version4];
30627
+ return Object.keys(versionsData).reduce((usage, version5) => {
30628
+ usage[versions[version5]] = versionsData[version5];
30627
30629
  return usage;
30628
30630
  }, {});
30629
30631
  }
@@ -30633,11 +30635,11 @@ var require_agents2 = __commonJSMin((exports, module2) => {
30633
30635
  if (entry === "A") {
30634
30636
  data.usage_global = unpackBrowserVersions(versionsData[entry]);
30635
30637
  } else if (entry === "C") {
30636
- data.versions = versionsData[entry].reduce((list, version4) => {
30637
- if (version4 === "") {
30638
+ data.versions = versionsData[entry].reduce((list, version5) => {
30639
+ if (version5 === "") {
30638
30640
  list.push(null);
30639
30641
  } else {
30640
- list.push(versions[version4]);
30642
+ list.push(versions[version5]);
30641
30643
  }
30642
30644
  return list;
30643
30645
  }, []);
@@ -30728,7 +30730,7 @@ var require_region = __commonJSMin((exports, module2) => {
30728
30730
  list[browsers[browser2]] = Object.keys(data).reduce((memo, key) => {
30729
30731
  let stats = data[key];
30730
30732
  if (key === "_") {
30731
- stats.split(" ").forEach((version4) => memo[version4] = null);
30733
+ stats.split(" ").forEach((version5) => memo[version5] = null);
30732
30734
  } else {
30733
30735
  memo[key] = stats;
30734
30736
  }
@@ -34991,7 +34993,7 @@ var require_is = __commonJSMin((exports) => {
34991
34993
  var require_compatRequire = __commonJSMin((exports) => {
34992
34994
  "use strict";
34993
34995
  Object.defineProperty(exports, "__esModule", { value: true });
34994
- exports.cleanRequireCache = exports.requireExistModule = exports.compatRequire = void 0;
34996
+ exports.cleanRequireCache = exports.requireExistModule = exports.dynamicImport = exports.compatRequire = void 0;
34995
34997
  var findExists_1 = require_findExists();
34996
34998
  var compatRequire = (filePath, interop = true) => {
34997
34999
  const mod = __require(filePath);
@@ -34999,6 +35001,7 @@ var require_compatRequire = __commonJSMin((exports) => {
34999
35001
  return rtnESMDefault ? mod.default : mod;
35000
35002
  };
35001
35003
  exports.compatRequire = compatRequire;
35004
+ exports.dynamicImport = new Function("modulePath", "return import(modulePath)");
35002
35005
  var requireExistModule = (filename, opt) => {
35003
35006
  const final = {
35004
35007
  extensions: [".ts", ".js"],
@@ -35022,7 +35025,7 @@ var require_compatRequire = __commonJSMin((exports) => {
35022
35025
  var require_constants = __commonJSMin((exports) => {
35023
35026
  "use strict";
35024
35027
  Object.defineProperty(exports, "__esModule", { value: true });
35025
- exports.PLUGIN_SCHEMAS = exports.INTERNAL_SERVER_PLUGINS = exports.INTERNAL_CLI_PLUGINS = exports.DEFAULT_SERVER_CONFIG = exports.OUTPUT_CONFIG_FILE = exports.CONFIG_FILE_EXTENSIONS = exports.CONFIG_CACHE_DIR = exports.SHARED_DIR = exports.SERVER_DIR = exports.API_DIR = exports.LOADABLE_STATS_FILE = exports.SERVER_RENDER_FUNCTION_NAME = exports.ENTRY_NAME_PATTERN = exports.SERVER_BUNDLE_DIRECTORY = exports.LAUNCH_EDITOR_ENDPOINT = exports.MAIN_ENTRY_NAME = exports.ROUTE_SPEC_FILE = exports.HMR_SOCK_PATH = void 0;
35028
+ exports.PLUGIN_SCHEMAS = exports.INTERNAL_SERVER_PLUGINS = exports.INTERNAL_CLI_PLUGINS = exports.ROUTE_MANIFEST = exports.ROUTE_MINIFEST_FILE = exports.DEFAULT_SERVER_CONFIG = exports.OUTPUT_CONFIG_FILE = exports.CONFIG_FILE_EXTENSIONS = exports.CONFIG_CACHE_DIR = exports.SHARED_DIR = exports.SERVER_DIR = exports.API_DIR = exports.LOADABLE_STATS_FILE = exports.SERVER_RENDER_FUNCTION_NAME = exports.ENTRY_NAME_PATTERN = exports.SERVER_BUNDLE_DIRECTORY = exports.LAUNCH_EDITOR_ENDPOINT = exports.MAIN_ENTRY_NAME = exports.ROUTE_SPEC_FILE = exports.HMR_SOCK_PATH = void 0;
35026
35029
  exports.HMR_SOCK_PATH = "/webpack-hmr";
35027
35030
  exports.ROUTE_SPEC_FILE = "route.json";
35028
35031
  exports.MAIN_ENTRY_NAME = "main";
@@ -35038,11 +35041,14 @@ var require_constants = __commonJSMin((exports) => {
35038
35041
  exports.CONFIG_FILE_EXTENSIONS = [".js", ".ts", ".ejs", ".mjs"];
35039
35042
  exports.OUTPUT_CONFIG_FILE = "modern.config.json";
35040
35043
  exports.DEFAULT_SERVER_CONFIG = "modern.server-runtime.config";
35044
+ exports.ROUTE_MINIFEST_FILE = "routes-manifest.json";
35045
+ exports.ROUTE_MANIFEST = `_MODERNJS_ROUTE_MANIFEST`;
35041
35046
  exports.INTERNAL_CLI_PLUGINS = {
35042
35047
  "@modern-js/app-tools": "@modern-js/app-tools/cli",
35043
35048
  "@modern-js/monorepo-tools": "@modern-js/monorepo-tools/cli",
35044
35049
  "@modern-js/module-tools": "@modern-js/module-tools/cli",
35045
35050
  "@modern-js/module-tools-v2": "@modern-js/module-tools-v2",
35051
+ "@modern-js/doc-tools": "@modern-js/doc-tools",
35046
35052
  "@modern-js/runtime": "@modern-js/runtime/cli",
35047
35053
  "@modern-js/plugin-proxy": "@modern-js/plugin-proxy/cli",
35048
35054
  "@modern-js/plugin-ssg": "@modern-js/plugin-ssg/cli",
@@ -35142,6 +35148,10 @@ var require_constants = __commonJSMin((exports) => {
35142
35148
  {
35143
35149
  target: "source.designSystem.supportStyledComponents",
35144
35150
  schema: { type: ["boolean"] }
35151
+ },
35152
+ {
35153
+ target: "designSystem",
35154
+ schema: { typeof: ["object"] }
35145
35155
  }
35146
35156
  ],
35147
35157
  "@modern-js/plugin-router": [
@@ -35855,7 +35865,7 @@ var require_watch = __commonJSMin((exports) => {
35855
35865
  };
35856
35866
  Object.defineProperty(exports, "__esModule", { value: true });
35857
35867
  exports.watch = exports.WatchChangeType = void 0;
35858
- var path3 = __importStar(__require("path"));
35868
+ var path4 = __importStar(__require("path"));
35859
35869
  var compiled_1 = require_compiled();
35860
35870
  exports.WatchChangeType = {
35861
35871
  ADD: "add",
@@ -35869,17 +35879,17 @@ var require_watch = __commonJSMin((exports) => {
35869
35879
  });
35870
35880
  watcher.on("ready", () => ready = true);
35871
35881
  watcher.on("change", async (filePath) => {
35872
- const changedFilePath = path3.resolve(filePath);
35882
+ const changedFilePath = path4.resolve(filePath);
35873
35883
  await runTask({ changedFilePath, changeType: exports.WatchChangeType.CHANGE });
35874
35884
  });
35875
35885
  watcher.on("add", async (filePath) => {
35876
- const changedFilePath = path3.resolve(filePath);
35886
+ const changedFilePath = path4.resolve(filePath);
35877
35887
  if (ready) {
35878
35888
  await runTask({ changedFilePath, changeType: exports.WatchChangeType.ADD });
35879
35889
  }
35880
35890
  });
35881
35891
  watcher.on("unlink", async (filePath) => {
35882
- const changedFilePath = path3.resolve(filePath);
35892
+ const changedFilePath = path4.resolve(filePath);
35883
35893
  await runTask({ changedFilePath, changeType: exports.WatchChangeType.UNLINK });
35884
35894
  });
35885
35895
  watcher.on("error", (err) => {
@@ -35946,11 +35956,11 @@ var require_getServerConfig = __commonJSMin((exports) => {
35946
35956
  };
35947
35957
  Object.defineProperty(exports, "__esModule", { value: true });
35948
35958
  exports.getServerConfig = void 0;
35949
- var path3 = __importStar(__require("path"));
35959
+ var path4 = __importStar(__require("path"));
35950
35960
  var constants_1 = require_constants();
35951
35961
  var findExists_1 = require_findExists();
35952
35962
  var getServerConfig = async (appDirectory, configFile) => {
35953
- const configFilePath = (0, findExists_1.findExists)(constants_1.CONFIG_FILE_EXTENSIONS.map((extension) => path3.resolve(appDirectory, `${configFile}${extension}`)));
35963
+ const configFilePath = (0, findExists_1.findExists)(constants_1.CONFIG_FILE_EXTENSIONS.map((extension) => path4.resolve(appDirectory, `${configFile}${extension}`)));
35954
35964
  return configFilePath;
35955
35965
  };
35956
35966
  exports.getServerConfig = getServerConfig;
@@ -36104,10 +36114,10 @@ var require_analyzeProject = __commonJSMin((exports) => {
36104
36114
  };
36105
36115
  Object.defineProperty(exports, "__esModule", { value: true });
36106
36116
  exports.isApiOnly = void 0;
36107
- var path3 = __importStar(__require("path"));
36117
+ var path4 = __importStar(__require("path"));
36108
36118
  var compiled_1 = require_compiled();
36109
36119
  var isApiOnly = async (appDirectory, entryDir) => {
36110
- const srcDir = path3.join(appDirectory, entryDir !== null && entryDir !== void 0 ? entryDir : "src");
36120
+ const srcDir = path4.join(appDirectory, entryDir !== null && entryDir !== void 0 ? entryDir : "src");
36111
36121
  const existSrc = await compiled_1.fs.pathExists(srcDir);
36112
36122
  const options3 = (0, compiled_1.minimist)(process.argv.slice(2));
36113
36123
  return !existSrc || Boolean(options3["api-only"]);
@@ -36289,9 +36299,10 @@ var require_routes = __commonJSMin((exports) => {
36289
36299
  return filename.slice(0, -extname.length);
36290
36300
  };
36291
36301
  exports.getPathWithoutExt = getPathWithoutExt;
36292
- var getRouteId = (componentPath, routesDir) => {
36302
+ var getRouteId = (componentPath, routesDir, entryName) => {
36293
36303
  const relativePath = (0, path_2.normalizeToPosixPath)(path_1.default.relative(routesDir, componentPath));
36294
- const id = (0, exports.getPathWithoutExt)(relativePath);
36304
+ const pathWithoutExt = (0, exports.getPathWithoutExt)(relativePath);
36305
+ const id = `${entryName}_${pathWithoutExt}`;
36295
36306
  return id;
36296
36307
  };
36297
36308
  exports.getRouteId = getRouteId;
@@ -61519,145 +61530,6 @@ var require_dotenv_expand2 = __commonJSMin((exports, module2) => {
61519
61530
  module2.exports = a;
61520
61531
  })();
61521
61532
  });
61522
- var require_browsers3 = __commonJSMin((exports, module2) => {
61523
- module2.exports = { A: "ie", B: "edge", C: "firefox", D: "chrome", E: "safari", F: "opera", G: "ios_saf", H: "op_mini", I: "android", J: "bb", K: "op_mob", L: "and_chr", M: "and_ff", N: "ie_mob", O: "and_uc", P: "samsung", Q: "and_qq", R: "baidu", S: "kaios" };
61524
- });
61525
- var require_browsers4 = __commonJSMin((exports, module2) => {
61526
- module2.exports.browsers = require_browsers3();
61527
- });
61528
- var require_browserVersions3 = __commonJSMin((exports, module2) => {
61529
- module2.exports = { "0": "30", "1": "31", "2": "32", "3": "33", "4": "34", "5": "35", "6": "36", "7": "37", "8": "38", "9": "39", A: "10", B: "11", C: "12", D: "7", E: "8", F: "9", G: "15", H: "104", I: "4", J: "6", K: "13", L: "14", M: "16", N: "17", O: "18", P: "79", Q: "80", R: "81", S: "83", T: "84", U: "85", V: "86", W: "87", X: "88", Y: "89", Z: "90", a: "101", b: "64", c: "91", d: "92", e: "93", f: "94", g: "95", h: "96", i: "97", j: "98", k: "99", l: "100", m: "102", n: "103", o: "5", p: "19", q: "20", r: "21", s: "22", t: "23", u: "24", v: "25", w: "26", x: "27", y: "28", z: "29", AB: "40", BB: "41", CB: "42", DB: "43", EB: "44", FB: "45", GB: "46", HB: "47", IB: "48", JB: "49", KB: "50", LB: "51", MB: "52", NB: "53", OB: "54", PB: "55", QB: "56", RB: "57", SB: "58", TB: "60", UB: "62", VB: "63", WB: "65", XB: "66", YB: "67", ZB: "68", aB: "69", bB: "70", cB: "71", dB: "72", eB: "73", fB: "74", gB: "75", hB: "76", iB: "77", jB: "78", kB: "11.1", lB: "12.1", mB: "16.0", nB: "3", oB: "59", pB: "61", qB: "82", rB: "105", sB: "3.2", tB: "10.1", uB: "15.2-15.3", vB: "15.4", wB: "15.5", xB: "11.5", yB: "4.2-4.3", zB: "5.5", "0B": "2", "1B": "3.5", "2B": "3.6", "3B": "106", "4B": "107", "5B": "3.1", "6B": "5.1", "7B": "6.1", "8B": "7.1", "9B": "9.1", AC: "13.1", BC: "14.1", CC: "15.1", DC: "15.6", EC: "TP", FC: "9.5-9.6", GC: "10.0-10.1", HC: "10.5", IC: "10.6", JC: "11.6", KC: "4.0-4.1", LC: "5.0-5.1", MC: "6.0-6.1", NC: "7.0-7.1", OC: "8.1-8.4", PC: "9.0-9.2", QC: "9.3", RC: "10.0-10.2", SC: "10.3", TC: "11.0-11.2", UC: "11.3-11.4", VC: "12.0-12.1", WC: "12.2-12.5", XC: "13.0-13.1", YC: "13.2", ZC: "13.3", aC: "13.4-13.7", bC: "14.0-14.4", cC: "14.5-14.8", dC: "15.0-15.1", eC: "all", fC: "2.1", gC: "2.2", hC: "2.3", iC: "4.1", jC: "4.4", kC: "4.4.3-4.4.4", lC: "12.12", mC: "5.0-5.4", nC: "6.2-6.4", oC: "7.2-7.4", pC: "8.2", qC: "9.2", rC: "11.1-11.2", sC: "12.0", tC: "13.0", uC: "14.0", vC: "15.0", wC: "17.0", xC: "10.4", yC: "7.12", zC: "2.5" };
61530
- });
61531
- var require_browserVersions4 = __commonJSMin((exports, module2) => {
61532
- module2.exports.browserVersions = require_browserVersions3();
61533
- });
61534
- var require_agents3 = __commonJSMin((exports, module2) => {
61535
- module2.exports = { A: { A: { J: 0.0131217, D: 621152e-8, E: 0.022212, F: 0.059232, A: 556471e-8, B: 0.466452, zB: 9298e-6 }, B: "ms", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "zB", "J", "D", "E", "F", "A", "B", "", "", ""], E: "IE", F: { zB: 962323200, J: 998870400, D: 1161129600, E: 1237420800, F: 1300060800, A: 1346716800, B: 1381968e3 } }, B: { A: { C: 3702e-6, K: 4267e-6, L: 4268e-6, G: 7404e-6, M: 3702e-6, N: 7404e-6, O: 0.022212, P: 0, Q: 4298e-6, R: 944e-5, S: 4043e-6, T: 3702e-6, U: 3702e-6, V: 3801e-6, W: 7404e-6, X: 4318e-6, Y: 3702e-6, Z: 4118e-6, c: 3939e-6, d: 7404e-6, e: 4118e-6, f: 3939e-6, g: 3801e-6, h: 7404e-6, i: 7404e-6, j: 7404e-6, k: 0.011106, l: 0.014808, a: 0.066636, m: 0.12957, n: 3.72421, H: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "C", "K", "L", "G", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "a", "m", "n", "H", "", "", ""], E: "Edge", F: { C: 1438128e3, K: 1447286400, L: 1470096e3, G: 1491868800, M: 1508198400, N: 1525046400, O: 1542067200, P: 1579046400, Q: 1581033600, R: 1586736e3, S: 1590019200, T: 1594857600, U: 1598486400, V: 1602201600, W: 1605830400, X: 161136e4, Y: 1614816e3, Z: 1618358400, c: 1622073600, d: 1626912e3, e: 1630627200, f: 1632441600, g: 1634774400, h: 1637539200, i: 1641427200, j: 1643932800, k: 1646265600, l: 1649635200, a: 1651190400, m: 1653955200, n: 1655942400, H: 1659657600 }, D: { C: "ms", K: "ms", L: "ms", G: "ms", M: "ms", N: "ms", O: "ms" } }, C: { A: { "0": 8322e-6, "1": 8928e-6, "2": 4471e-6, "3": 9284e-6, "4": 4707e-6, "5": 9076e-6, "6": 7404e-6, "7": 4783e-6, "8": 4271e-6, "9": 4783e-6, "0B": 4118e-6, nB: 4271e-6, I: 0.01851, o: 4879e-6, J: 0.020136, D: 5725e-6, E: 4525e-6, F: 533e-5, A: 4283e-6, B: 7404e-6, C: 4471e-6, K: 4486e-6, L: 453e-5, G: 8322e-6, M: 4417e-6, N: 4425e-6, O: 4161e-6, p: 4443e-6, q: 4283e-6, r: 8322e-6, s: 0.013698, t: 4161e-6, u: 8786e-6, v: 4118e-6, w: 4317e-6, x: 4393e-6, y: 4418e-6, z: 8834e-6, AB: 487e-5, BB: 5029e-6, CB: 47e-4, DB: 0.09255, EB: 7404e-6, FB: 3867e-6, GB: 4525e-6, HB: 4293e-6, IB: 3702e-6, JB: 4538e-6, KB: 8282e-6, LB: 0.011601, MB: 0.059232, NB: 0.011601, OB: 7602e-6, PB: 3801e-6, QB: 7404e-6, RB: 0.011601, SB: 3939e-6, oB: 3702e-6, TB: 3801e-6, pB: 4356e-6, UB: 4425e-6, VB: 8322e-6, b: 415e-5, WB: 4267e-6, XB: 3801e-6, YB: 4267e-6, ZB: 7404e-6, aB: 415e-5, bB: 4293e-6, cB: 4425e-6, dB: 3702e-6, eB: 415e-5, fB: 415e-5, gB: 4318e-6, hB: 4356e-6, iB: 3702e-6, jB: 0.03702, P: 3702e-6, Q: 3702e-6, R: 0.014808, qB: 3702e-6, S: 3702e-6, T: 3702e-6, U: 4268e-6, V: 3801e-6, W: 7404e-6, X: 0.011106, Y: 7404e-6, Z: 7404e-6, c: 0.085146, d: 3801e-6, e: 3702e-6, f: 0.022212, g: 0.011106, h: 7404e-6, i: 7404e-6, j: 7404e-6, k: 0.022212, l: 0.029616, a: 0.12957, m: 2.01019, n: 0.248034, H: 0, rB: 0, "1B": 8786e-6, "2B": 487e-5 }, B: "moz", C: ["0B", "nB", "1B", "2B", "I", "o", "J", "D", "E", "F", "A", "B", "C", "K", "L", "G", "M", "N", "O", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "oB", "TB", "pB", "UB", "VB", "b", "WB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "eB", "fB", "gB", "hB", "iB", "jB", "P", "Q", "R", "qB", "S", "T", "U", "V", "W", "X", "Y", "Z", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "a", "m", "n", "H", "rB", ""], E: "Firefox", F: { "0": 1402358400, "1": 1405987200, "2": 1409616e3, "3": 1413244800, "4": 1417392e3, "5": 1421107200, "6": 1424736e3, "7": 1428278400, "8": 1431475200, "9": 1435881600, "0B": 1161648e3, nB: 1213660800, "1B": 124632e4, "2B": 1264032e3, I: 1300752e3, o: 1308614400, J: 1313452800, D: 1317081600, E: 1317081600, F: 1320710400, A: 1324339200, B: 1327968e3, C: 1331596800, K: 1335225600, L: 1338854400, G: 1342483200, M: 1346112e3, N: 1349740800, O: 1353628800, p: 1357603200, q: 1361232e3, r: 1364860800, s: 1368489600, t: 1372118400, u: 1375747200, v: 1379376e3, w: 1386633600, x: 1391472e3, y: 1395100800, z: 1398729600, AB: 1439251200, BB: 144288e4, CB: 1446508800, DB: 1450137600, EB: 1453852800, FB: 1457395200, GB: 1461628800, HB: 1465257600, IB: 1470096e3, JB: 1474329600, KB: 1479168e3, LB: 1485216e3, MB: 1488844800, NB: 149256e4, OB: 1497312e3, PB: 1502150400, QB: 1506556800, RB: 1510617600, SB: 1516665600, oB: 1520985600, TB: 1525824e3, pB: 1529971200, UB: 1536105600, VB: 1540252800, b: 1544486400, WB: 154872e4, XB: 1552953600, YB: 1558396800, ZB: 1562630400, aB: 1567468800, bB: 1571788800, cB: 1575331200, dB: 1578355200, eB: 1581379200, fB: 1583798400, gB: 1586304e3, hB: 1588636800, iB: 1591056e3, jB: 1593475200, P: 1595894400, Q: 1598313600, R: 1600732800, qB: 1603152e3, S: 1605571200, T: 1607990400, U: 1611619200, V: 1614038400, W: 1616457600, X: 1618790400, Y: 1622505600, Z: 1626134400, c: 1628553600, d: 1630972800, e: 1633392e3, f: 1635811200, g: 1638835200, h: 1641859200, i: 1644364800, j: 1646697600, k: 1649116800, l: 1651536e3, a: 1653955200, m: 1656374400, n: 1658793600, H: null, rB: null } }, D: { A: { "0": 8322e-6, "1": 8596e-6, "2": 4566e-6, "3": 4118e-6, "4": 7404e-6, "5": 3702e-6, "6": 4335e-6, "7": 4464e-6, "8": 0.01851, "9": 3867e-6, I: 4706e-6, o: 4879e-6, J: 4879e-6, D: 5591e-6, E: 5591e-6, F: 5591e-6, A: 4534e-6, B: 4464e-6, C: 0.010424, K: 83e-4, L: 4706e-6, G: 0.015087, M: 4393e-6, N: 4393e-6, O: 8652e-6, p: 8322e-6, q: 4393e-6, r: 4317e-6, s: 7404e-6, t: 8786e-6, u: 3939e-6, v: 4461e-6, w: 4141e-6, x: 4326e-6, y: 47e-4, z: 4538e-6, AB: 0.014808, BB: 3702e-6, CB: 7734e-6, DB: 3702e-6, EB: 3867e-6, FB: 3867e-6, GB: 3867e-6, HB: 0.011106, IB: 0.01851, JB: 0.051828, KB: 3867e-6, LB: 3801e-6, MB: 7404e-6, NB: 0.011106, OB: 3867e-6, PB: 3702e-6, QB: 0.033318, RB: 3702e-6, SB: 3702e-6, oB: 3702e-6, TB: 0.011106, pB: 0.011106, UB: 7404e-6, VB: 0.011106, b: 3702e-6, WB: 0.011106, XB: 0.025914, YB: 0.011106, ZB: 7404e-6, aB: 0.066636, bB: 0.033318, cB: 0.014808, dB: 0.022212, eB: 7404e-6, fB: 0.040722, gB: 0.048126, hB: 0.05553, iB: 0.014808, jB: 0.033318, P: 0.173994, Q: 0.051828, R: 0.03702, S: 0.096252, T: 0.044424, U: 0.07404, V: 0.066636, W: 0.085146, X: 0.022212, Y: 0.044424, Z: 0.029616, c: 0.059232, d: 0.059232, e: 0.044424, f: 0.048126, g: 0.029616, h: 0.085146, i: 0.088848, j: 0.103656, k: 0.103656, l: 0.16659, a: 0.25914, m: 1.23647, n: 18.8913, H: 0.022212, rB: 0.01851, "3B": 7404e-6, "4B": 0 }, B: "webkit", C: ["", "", "", "", "I", "o", "J", "D", "E", "F", "A", "B", "C", "K", "L", "G", "M", "N", "O", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "oB", "TB", "pB", "UB", "VB", "b", "WB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "eB", "fB", "gB", "hB", "iB", "jB", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "a", "m", "n", "H", "rB", "3B", "4B"], E: "Chrome", F: { "0": 1376956800, "1": 1384214400, "2": 1389657600, "3": 1392940800, "4": 1397001600, "5": 1400544e3, "6": 1405468800, "7": 1409011200, "8": 141264e4, "9": 1416268800, I: 1264377600, o: 1274745600, J: 1283385600, D: 1287619200, E: 1291248e3, F: 1296777600, A: 1299542400, B: 1303862400, C: 1307404800, K: 1312243200, L: 1316131200, G: 1316131200, M: 1319500800, N: 1323734400, O: 1328659200, p: 1332892800, q: 133704e4, r: 1340668800, s: 1343692800, t: 1348531200, u: 1352246400, v: 1357862400, w: 1361404800, x: 1364428800, y: 1369094400, z: 1374105600, AB: 1421798400, BB: 1425513600, CB: 1429401600, DB: 143208e4, EB: 1437523200, FB: 1441152e3, GB: 1444780800, HB: 1449014400, IB: 1453248e3, JB: 1456963200, KB: 1460592e3, LB: 1464134400, MB: 1469059200, NB: 1472601600, OB: 1476230400, PB: 1480550400, QB: 1485302400, RB: 1489017600, SB: 149256e4, oB: 1496707200, TB: 1500940800, pB: 1504569600, UB: 1508198400, VB: 1512518400, b: 1516752e3, WB: 1520294400, XB: 1523923200, YB: 1527552e3, ZB: 1532390400, aB: 1536019200, bB: 1539648e3, cB: 1543968e3, dB: 154872e4, eB: 1552348800, fB: 1555977600, gB: 1559606400, hB: 1564444800, iB: 1568073600, jB: 1571702400, P: 1575936e3, Q: 1580860800, R: 1586304e3, S: 1589846400, T: 1594684800, U: 1598313600, V: 1601942400, W: 1605571200, X: 1611014400, Y: 1614556800, Z: 1618272e3, c: 1621987200, d: 1626739200, e: 1630368e3, f: 1632268800, g: 1634601600, h: 1637020800, i: 1641340800, j: 1643673600, k: 1646092800, l: 1648512e3, a: 1650931200, m: 1653350400, n: 1655769600, H: 1659398400, rB: null, "3B": null, "4B": null } }, E: { A: { I: 0, o: 8322e-6, J: 4656e-6, D: 4465e-6, E: 4356e-6, F: 4891e-6, A: 4425e-6, B: 4318e-6, C: 3801e-6, K: 0.029616, L: 0.125868, G: 0.03702, "5B": 0, sB: 8692e-6, "6B": 7404e-6, "7B": 456e-5, "8B": 4283e-6, "9B": 0.014808, tB: 7404e-6, kB: 0.022212, lB: 0.040722, AC: 0.251736, BC: 0.359094, CC: 0.066636, uB: 0.066636, vB: 0.251736, wB: 1.77696, DC: 0.077742, mB: 0.011106, EC: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "5B", "sB", "I", "o", "6B", "J", "7B", "D", "8B", "E", "F", "9B", "A", "tB", "B", "kB", "C", "lB", "K", "AC", "L", "BC", "G", "CC", "uB", "vB", "wB", "DC", "mB", "EC", ""], E: "Safari", F: { "5B": 1205798400, sB: 1226534400, I: 1244419200, o: 1275868800, "6B": 131112e4, J: 1343174400, "7B": 13824e5, D: 13824e5, "8B": 1410998400, E: 1413417600, F: 1443657600, "9B": 1458518400, A: 1474329600, tB: 1490572800, B: 1505779200, kB: 1522281600, C: 1537142400, lB: 1553472e3, K: 1568851200, AC: 1585008e3, L: 1600214400, BC: 1619395200, G: 1632096e3, CC: 1635292800, uB: 1639353600, vB: 1647216e3, wB: 1652745600, DC: 1658275200, mB: null, EC: null } }, F: { A: { "0": 4879e-6, "1": 3702e-6, "2": 5152e-6, "3": 5014e-6, "4": 9758e-6, "5": 4879e-6, "6": 3702e-6, "7": 4283e-6, "8": 4367e-6, "9": 4534e-6, F: 82e-4, B: 0.016581, C: 4317e-6, G: 685e-5, M: 685e-5, N: 685e-5, O: 5014e-6, p: 6015e-6, q: 4879e-6, r: 6597e-6, s: 6597e-6, t: 0.013434, u: 6702e-6, v: 6015e-6, w: 5595e-6, x: 4393e-6, y: 7404e-6, z: 4879e-6, AB: 7404e-6, BB: 4227e-6, CB: 4418e-6, DB: 4161e-6, EB: 4227e-6, FB: 4725e-6, GB: 0.011106, HB: 8942e-6, IB: 4707e-6, JB: 4827e-6, KB: 4707e-6, LB: 4707e-6, MB: 4326e-6, NB: 8922e-6, OB: 0.014349, PB: 4425e-6, QB: 472e-5, RB: 4425e-6, SB: 4425e-6, TB: 472e-5, UB: 4532e-6, VB: 4566e-6, b: 0.02283, WB: 867e-5, XB: 4656e-6, YB: 4642e-6, ZB: 3867e-6, aB: 944e-5, bB: 4293e-6, cB: 3867e-6, dB: 4298e-6, eB: 0.096692, fB: 4201e-6, gB: 4141e-6, hB: 4257e-6, iB: 3939e-6, jB: 8236e-6, P: 3702e-6, Q: 3939e-6, R: 8514e-6, qB: 3939e-6, S: 3939e-6, T: 3702e-6, U: 0.025914, V: 0.011106, W: 0.029616, X: 0.681168, Y: 0.266544, Z: 0, FC: 685e-5, GC: 0, HC: 8392e-6, IC: 4706e-6, kB: 6229e-6, xB: 4879e-6, JC: 8786e-6, lB: 472e-5 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "F", "FC", "GC", "HC", "IC", "B", "kB", "xB", "JC", "C", "lB", "G", "M", "N", "O", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "b", "WB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "eB", "fB", "gB", "hB", "iB", "jB", "P", "Q", "R", "qB", "S", "T", "U", "V", "W", "X", "Y", "Z", "", ""], E: "Opera", F: { "0": 1433808e3, "1": 1438646400, "2": 1442448e3, "3": 1445904e3, "4": 1449100800, "5": 1454371200, "6": 1457308800, "7": 146232e4, "8": 1465344e3, "9": 1470096e3, F: 1150761600, FC: 1223424e3, GC: 1251763200, HC: 1267488e3, IC: 1277942400, B: 1292457600, kB: 1302566400, xB: 1309219200, JC: 1323129600, C: 1323129600, lB: 1352073600, G: 1372723200, M: 1377561600, N: 1381104e3, O: 1386288e3, p: 1390867200, q: 1393891200, r: 1399334400, s: 1401753600, t: 1405987200, u: 1409616e3, v: 1413331200, w: 1417132800, x: 1422316800, y: 1425945600, z: 1430179200, AB: 1474329600, BB: 1477267200, CB: 1481587200, DB: 1486425600, EB: 1490054400, FB: 1494374400, GB: 1498003200, HB: 1502236800, IB: 1506470400, JB: 1510099200, KB: 1515024e3, LB: 1517961600, MB: 1521676800, NB: 1525910400, OB: 1530144e3, PB: 1534982400, QB: 1537833600, RB: 1543363200, SB: 1548201600, TB: 1554768e3, UB: 1561593600, VB: 1566259200, b: 1570406400, WB: 1573689600, XB: 1578441600, YB: 1583971200, ZB: 1587513600, aB: 1592956800, bB: 1595894400, cB: 1600128e3, dB: 1603238400, eB: 161352e4, fB: 1612224e3, gB: 1616544e3, hB: 1619568e3, iB: 1623715200, jB: 1627948800, P: 1631577600, Q: 1633392e3, R: 1635984e3, qB: 1638403200, S: 1642550400, T: 1644969600, U: 1647993600, V: 1650412800, W: 1652745600, X: 1654646400, Y: 1657152e3, Z: null }, D: { F: "o", B: "o", C: "o", FC: "o", GC: "o", HC: "o", IC: "o", kB: "o", xB: "o", JC: "o", lB: "o" } }, G: { A: { E: 0, sB: 0, KC: 0, yB: 311971e-8, LC: 467956e-8, MC: 467956e-8, NC: 0.0140387, OC: 623942e-8, PC: 0.0187183, QC: 0.074873, RC: 779927e-8, SC: 0.0873518, TC: 0.0421161, UC: 0.0311971, VC: 0.0296372, WC: 0.547509, XC: 0.0233978, YC: 0.0124788, ZC: 0.0545949, aC: 0.180943, bC: 0.508512, cC: 1.15273, dC: 0.355647, uB: 0.608343, vB: 1.01079, wB: 10.4105, mB: 0.0701934 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "sB", "KC", "yB", "LC", "MC", "NC", "E", "OC", "PC", "QC", "RC", "SC", "TC", "UC", "VC", "WC", "XC", "YC", "ZC", "aC", "bC", "cC", "dC", "uB", "vB", "wB", "mB", "", ""], E: "Safari on iOS", F: { sB: 1270252800, KC: 1283904e3, yB: 1299628800, LC: 1331078400, MC: 1359331200, NC: 1394409600, E: 1410912e3, OC: 1413763200, PC: 1442361600, QC: 1458518400, RC: 1473724800, SC: 1490572800, TC: 1505779200, UC: 1522281600, VC: 1537142400, WC: 1553472e3, XC: 1568851200, YC: 1572220800, ZC: 1580169600, aC: 1585008e3, bC: 1600214400, cC: 1619395200, dC: 1632096e3, uB: 1639353600, vB: 1647216e3, wB: 1652659200, mB: null } }, H: { A: { eC: 0.954006 }, B: "o", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "eC", "", "", ""], E: "Opera Mini", F: { eC: 1426464e3 } }, I: { A: { nB: 0, I: 0.0241567, H: 0, fC: 0, gC: 0, hC: 0, iC: 0.0362351, yB: 0.066431, jC: 0, kC: 0.314037 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "fC", "gC", "hC", "nB", "I", "iC", "yB", "jC", "kC", "H", "", "", ""], E: "Android Browser", F: { fC: 1256515200, gC: 1274313600, hC: 1291593600, nB: 1298332800, I: 1318896e3, iC: 1341792e3, yB: 1374624e3, jC: 1386547200, kC: 1401667200, H: 1659484800 } }, J: { A: { D: 0, A: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "D", "A", "", "", ""], E: "Blackberry Browser", F: { D: 1325376e3, A: 1359504e3 } }, K: { A: { A: 0, B: 0, C: 0, b: 0.0111391, kB: 0, xB: 0, lB: 0 }, B: "o", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "A", "B", "kB", "xB", "C", "lB", "b", "", "", ""], E: "Opera Mobile", F: { A: 1287100800, B: 1300752e3, kB: 1314835200, xB: 1318291200, C: 1330300800, lB: 1349740800, b: 1613433600 }, D: { b: "webkit" } }, L: { A: { H: 42.8703 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "H", "", "", ""], E: "Chrome for Android", F: { H: 1659484800 } }, M: { A: { a: 0.3149 }, B: "moz", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "a", "", "", ""], E: "Firefox for Android", F: { a: 1653955200 } }, N: { A: { A: 0.0115934, B: 0.022664 }, B: "ms", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "A", "B", "", "", ""], E: "IE Mobile", F: { A: 1340150400, B: 1353456e3 } }, O: { A: { lC: 1.01398 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "lC", "", "", ""], E: "UC Browser for Android", F: { lC: 1471392e3 }, D: { lC: "webkit" } }, P: { A: { I: 0.20822, mC: 0.0103543, nC: 0.010304, oC: 0.0728769, pC: 0.0103584, qC: 0.010411, tB: 0.0105043, rC: 0.0416439, sC: 0.020822, tC: 0.0832878, uC: 0.0728769, vC: 0.0832878, mB: 0.166576, wC: 2.30083 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "I", "mC", "nC", "oC", "pC", "qC", "tB", "rC", "sC", "tC", "uC", "vC", "mB", "wC", "", "", ""], E: "Samsung Internet", F: { I: 1461024e3, mC: 1481846400, nC: 1509408e3, oC: 1528329600, pC: 1546128e3, qC: 1554163200, tB: 1567900800, rC: 1582588800, sC: 1593475200, tC: 1605657600, uC: 1618531200, vC: 1629072e3, mB: 1640736e3, wC: 1651708800 } }, Q: { A: { xC: 0.239324 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "xC", "", "", ""], E: "QQ Browser", F: { xC: 1589846400 } }, R: { A: { yC: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "yC", "", "", ""], E: "Baidu Browser", F: { yC: 1491004800 } }, S: { A: { zC: 0.03149 }, B: "moz", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "zC", "", "", ""], E: "KaiOS Browser", F: { zC: 1527811200 } } };
61536
- });
61537
- var require_agents4 = __commonJSMin((exports, module2) => {
61538
- "use strict";
61539
- var browsers = require_browsers4().browsers;
61540
- var versions = require_browserVersions4().browserVersions;
61541
- var agentsData = require_agents3();
61542
- function unpackBrowserVersions(versionsData) {
61543
- return Object.keys(versionsData).reduce((usage, version4) => {
61544
- usage[versions[version4]] = versionsData[version4];
61545
- return usage;
61546
- }, {});
61547
- }
61548
- module2.exports.agents = Object.keys(agentsData).reduce((map, key) => {
61549
- let versionsData = agentsData[key];
61550
- map[browsers[key]] = Object.keys(versionsData).reduce((data, entry) => {
61551
- if (entry === "A") {
61552
- data.usage_global = unpackBrowserVersions(versionsData[entry]);
61553
- } else if (entry === "C") {
61554
- data.versions = versionsData[entry].reduce((list, version4) => {
61555
- if (version4 === "") {
61556
- list.push(null);
61557
- } else {
61558
- list.push(versions[version4]);
61559
- }
61560
- return list;
61561
- }, []);
61562
- } else if (entry === "D") {
61563
- data.prefix_exceptions = unpackBrowserVersions(versionsData[entry]);
61564
- } else if (entry === "E") {
61565
- data.browser = versionsData[entry];
61566
- } else if (entry === "F") {
61567
- data.release_date = Object.keys(versionsData[entry]).reduce((map2, key2) => {
61568
- map2[versions[key2]] = versionsData[entry][key2];
61569
- return map2;
61570
- }, {});
61571
- } else {
61572
- data.prefix = versionsData[entry];
61573
- }
61574
- return data;
61575
- }, {});
61576
- return map;
61577
- }, {});
61578
- });
61579
- var require_statuses2 = __commonJSMin((exports, module2) => {
61580
- module2.exports = {
61581
- 1: "ls",
61582
- 2: "rec",
61583
- 3: "pr",
61584
- 4: "cr",
61585
- 5: "wd",
61586
- 6: "other",
61587
- 7: "unoff"
61588
- };
61589
- });
61590
- var require_supported2 = __commonJSMin((exports, module2) => {
61591
- module2.exports = {
61592
- y: 1 << 0,
61593
- n: 1 << 1,
61594
- a: 1 << 2,
61595
- p: 1 << 3,
61596
- u: 1 << 4,
61597
- x: 1 << 5,
61598
- d: 1 << 6
61599
- };
61600
- });
61601
- var require_feature2 = __commonJSMin((exports, module2) => {
61602
- "use strict";
61603
- var statuses = require_statuses2();
61604
- var supported = require_supported2();
61605
- var browsers = require_browsers4().browsers;
61606
- var versions = require_browserVersions4().browserVersions;
61607
- var MATH2LOG = Math.log(2);
61608
- function unpackSupport(cipher) {
61609
- let stats = Object.keys(supported).reduce((list, support) => {
61610
- if (cipher & supported[support])
61611
- list.push(support);
61612
- return list;
61613
- }, []);
61614
- let notes = cipher >> 7;
61615
- let notesArray = [];
61616
- while (notes) {
61617
- let note = Math.floor(Math.log(notes) / MATH2LOG) + 1;
61618
- notesArray.unshift(`#${note}`);
61619
- notes -= Math.pow(2, note - 1);
61620
- }
61621
- return stats.concat(notesArray).join(" ");
61622
- }
61623
- function unpackFeature(packed) {
61624
- let unpacked = { status: statuses[packed.B], title: packed.C };
61625
- unpacked.stats = Object.keys(packed.A).reduce((browserStats, key) => {
61626
- let browser2 = packed.A[key];
61627
- browserStats[browsers[key]] = Object.keys(browser2).reduce((stats, support) => {
61628
- let packedVersions = browser2[support].split(" ");
61629
- let unpacked2 = unpackSupport(support);
61630
- packedVersions.forEach((v) => stats[versions[v]] = unpacked2);
61631
- return stats;
61632
- }, {});
61633
- return browserStats;
61634
- }, {});
61635
- return unpacked;
61636
- }
61637
- module2.exports = unpackFeature;
61638
- module2.exports.default = unpackFeature;
61639
- });
61640
- var require_region2 = __commonJSMin((exports, module2) => {
61641
- "use strict";
61642
- var browsers = require_browsers4().browsers;
61643
- function unpackRegion(packed) {
61644
- return Object.keys(packed).reduce((list, browser2) => {
61645
- let data = packed[browser2];
61646
- list[browsers[browser2]] = Object.keys(data).reduce((memo, key) => {
61647
- let stats = data[key];
61648
- if (key === "_") {
61649
- stats.split(" ").forEach((version4) => memo[version4] = null);
61650
- } else {
61651
- memo[key] = stats;
61652
- }
61653
- return memo;
61654
- }, {});
61655
- return list;
61656
- }, {});
61657
- }
61658
- module2.exports = unpackRegion;
61659
- module2.exports.default = unpackRegion;
61660
- });
61661
61533
  var require_browserslist2 = __commonJSMin((exports, module2) => {
61662
61534
  (() => {
61663
61535
  var e = { 923: (e2) => {
@@ -62839,13 +62711,13 @@ var require_browserslist2 = __commonJSMin((exports, module2) => {
62839
62711
  e2.exports = webpackEmptyContext;
62840
62712
  }, 768: (e2) => {
62841
62713
  "use strict";
62842
- e2.exports = require_agents4();
62714
+ e2.exports = require_agents2();
62843
62715
  }, 711: (e2) => {
62844
62716
  "use strict";
62845
- e2.exports = require_feature2();
62717
+ e2.exports = require_feature();
62846
62718
  }, 225: (e2) => {
62847
62719
  "use strict";
62848
- e2.exports = require_region2();
62720
+ e2.exports = require_region();
62849
62721
  }, 147: (e2) => {
62850
62722
  "use strict";
62851
62723
  e2.exports = __require("fs");
@@ -66742,7 +66614,7 @@ var require_watch2 = __commonJSMin((exports) => {
66742
66614
  };
66743
66615
  Object.defineProperty(exports, "__esModule", { value: true });
66744
66616
  exports.watch = exports.WatchChangeType = void 0;
66745
- var path3 = __importStar(__require("path"));
66617
+ var path4 = __importStar(__require("path"));
66746
66618
  var compiled_1 = require_compiled2();
66747
66619
  exports.WatchChangeType = {
66748
66620
  ADD: "add",
@@ -66756,17 +66628,17 @@ var require_watch2 = __commonJSMin((exports) => {
66756
66628
  });
66757
66629
  watcher.on("ready", () => ready = true);
66758
66630
  watcher.on("change", async (filePath) => {
66759
- const changedFilePath = path3.resolve(filePath);
66631
+ const changedFilePath = path4.resolve(filePath);
66760
66632
  await runTask({ changedFilePath, changeType: exports.WatchChangeType.CHANGE });
66761
66633
  });
66762
66634
  watcher.on("add", async (filePath) => {
66763
- const changedFilePath = path3.resolve(filePath);
66635
+ const changedFilePath = path4.resolve(filePath);
66764
66636
  if (ready) {
66765
66637
  await runTask({ changedFilePath, changeType: exports.WatchChangeType.ADD });
66766
66638
  }
66767
66639
  });
66768
66640
  watcher.on("unlink", async (filePath) => {
66769
- const changedFilePath = path3.resolve(filePath);
66641
+ const changedFilePath = path4.resolve(filePath);
66770
66642
  await runTask({ changedFilePath, changeType: exports.WatchChangeType.UNLINK });
66771
66643
  });
66772
66644
  watcher.on("error", (err) => {
@@ -66833,11 +66705,11 @@ var require_getServerConfig2 = __commonJSMin((exports) => {
66833
66705
  };
66834
66706
  Object.defineProperty(exports, "__esModule", { value: true });
66835
66707
  exports.getServerConfig = void 0;
66836
- var path3 = __importStar(__require("path"));
66708
+ var path4 = __importStar(__require("path"));
66837
66709
  var constants_1 = require_constants3();
66838
66710
  var findExists_1 = require_findExists2();
66839
66711
  var getServerConfig = async (appDirectory, configFile) => {
66840
- const configFilePath = (0, findExists_1.findExists)(constants_1.CONFIG_FILE_EXTENSIONS.map((extension) => path3.resolve(appDirectory, `${configFile}${extension}`)));
66712
+ const configFilePath = (0, findExists_1.findExists)(constants_1.CONFIG_FILE_EXTENSIONS.map((extension) => path4.resolve(appDirectory, `${configFile}${extension}`)));
66841
66713
  return configFilePath;
66842
66714
  };
66843
66715
  exports.getServerConfig = getServerConfig;
@@ -66991,10 +66863,10 @@ var require_analyzeProject2 = __commonJSMin((exports) => {
66991
66863
  };
66992
66864
  Object.defineProperty(exports, "__esModule", { value: true });
66993
66865
  exports.isApiOnly = void 0;
66994
- var path3 = __importStar(__require("path"));
66866
+ var path4 = __importStar(__require("path"));
66995
66867
  var compiled_1 = require_compiled2();
66996
66868
  var isApiOnly = async (appDirectory, entryDir) => {
66997
- const srcDir = path3.join(appDirectory, entryDir !== null && entryDir !== void 0 ? entryDir : "src");
66869
+ const srcDir = path4.join(appDirectory, entryDir !== null && entryDir !== void 0 ? entryDir : "src");
66998
66870
  const existSrc = await compiled_1.fs.pathExists(srcDir);
66999
66871
  const options3 = (0, compiled_1.minimist)(process.argv.slice(2));
67000
66872
  return !existSrc || Boolean(options3["api-only"]);
@@ -67368,15 +67240,15 @@ var require_nodeRequire = __commonJSMin((exports) => {
67368
67240
  value: true
67369
67241
  });
67370
67242
  exports.nodeRequire = void 0;
67371
- var nodeRequire = (path3) => {
67243
+ var nodeRequire = (path4) => {
67372
67244
  try {
67373
- const module2 = __non_webpack_require__(path3);
67245
+ const module2 = __non_webpack_require__(path4);
67374
67246
  if (module2 !== null && module2 !== void 0 && module2.default) {
67375
67247
  return module2.default;
67376
67248
  }
67377
67249
  return module2;
67378
67250
  } catch (error) {
67379
- const module2 = __require(path3);
67251
+ const module2 = __require(path4);
67380
67252
  if (module2 !== null && module2 !== void 0 && module2.default) {
67381
67253
  return module2.default;
67382
67254
  }
@@ -67392,9 +67264,9 @@ var require_fsExists = __commonJSMin((exports) => {
67392
67264
  });
67393
67265
  exports.fsExists = fsExists;
67394
67266
  var _utils = require_dist2();
67395
- async function fsExists(path3) {
67267
+ async function fsExists(path4) {
67396
67268
  try {
67397
- await _utils.fs.access(path3);
67269
+ await _utils.fs.access(path4);
67398
67270
  return true;
67399
67271
  } catch (e) {
67400
67272
  return false;
@@ -67611,8 +67483,10 @@ check path: ${_utils.chalk.blue.underline(generator)} exist a package.json file
67611
67483
  };
67612
67484
  }
67613
67485
  async runGenerator(generator, config = {}) {
67614
- const spinner = (0, _utils.ora)("Loading...").start();
67615
- spinner.color = "yellow";
67486
+ const spinner = (0, _utils.ora)({
67487
+ text: "Load Generator...",
67488
+ spinner: "runner"
67489
+ }).start();
67616
67490
  const {
67617
67491
  materialKey,
67618
67492
  generatorPkg,
@@ -67631,8 +67505,10 @@ check path: ${_utils.chalk.blue.underline(generator)} exist a package.json file
67631
67505
  this.setCurrent(null);
67632
67506
  }
67633
67507
  async runSubGenerator(subGenerator, relativePwdPath = "", config) {
67634
- const spinner = (0, _utils.ora)("Loading...").start();
67635
- spinner.color = "yellow";
67508
+ const spinner = (0, _utils.ora)({
67509
+ text: "Load Generator...",
67510
+ spinner: "runner"
67511
+ }).start();
67636
67512
  const {
67637
67513
  materialKey,
67638
67514
  generatorPkg,
@@ -68056,14 +67932,14 @@ var require_cookies = __commonJSMin((exports, module2) => {
68056
67932
  var utils = require_utils();
68057
67933
  module2.exports = utils.isStandardBrowserEnv() ? function standardBrowserEnv() {
68058
67934
  return {
68059
- write: function write(name4, value, expires, path3, domain, secure) {
67935
+ write: function write(name4, value, expires, path4, domain, secure) {
68060
67936
  var cookie = [];
68061
67937
  cookie.push(name4 + "=" + encodeURIComponent(value));
68062
67938
  if (utils.isNumber(expires)) {
68063
67939
  cookie.push("expires=" + new Date(expires).toGMTString());
68064
67940
  }
68065
- if (utils.isString(path3)) {
68066
- cookie.push("path=" + path3);
67941
+ if (utils.isString(path4)) {
67942
+ cookie.push("path=" + path4);
68067
67943
  }
68068
67944
  if (utils.isString(domain)) {
68069
67945
  cookie.push("domain=" + domain);
@@ -69780,9 +69656,9 @@ var require_validator = __commonJSMin((exports, module2) => {
69780
69656
  });
69781
69657
  var deprecatedWarnings = {};
69782
69658
  var currentVerArr = pkg.version.split(".");
69783
- function isOlderVersion(version4, thanVersion) {
69659
+ function isOlderVersion(version5, thanVersion) {
69784
69660
  var pkgVersionArr = thanVersion ? thanVersion.split(".") : currentVerArr;
69785
- var destVer = version4.split(".");
69661
+ var destVer = version5.split(".");
69786
69662
  for (var i = 0; i < 3; i++) {
69787
69663
  if (pkgVersionArr[i] > destVer[i]) {
69788
69664
  return true;
@@ -69792,18 +69668,18 @@ var require_validator = __commonJSMin((exports, module2) => {
69792
69668
  }
69793
69669
  return false;
69794
69670
  }
69795
- validators.transitional = function transitional(validator, version4, message) {
69796
- var isDeprecated = version4 && isOlderVersion(version4);
69671
+ validators.transitional = function transitional(validator, version5, message) {
69672
+ var isDeprecated = version5 && isOlderVersion(version5);
69797
69673
  function formatMessage(opt, desc) {
69798
69674
  return "[Axios v" + pkg.version + "] Transitional option '" + opt + "'" + desc + (message ? ". " + message : "");
69799
69675
  }
69800
69676
  return function(value, opt, opts) {
69801
69677
  if (validator === false) {
69802
- throw new Error(formatMessage(opt, " has been removed in " + version4));
69678
+ throw new Error(formatMessage(opt, " has been removed in " + version5));
69803
69679
  }
69804
69680
  if (isDeprecated && !deprecatedWarnings[opt]) {
69805
69681
  deprecatedWarnings[opt] = true;
69806
- console.warn(formatMessage(opt, " has been deprecated since v" + version4 + " and will be removed in the near future"));
69682
+ console.warn(formatMessage(opt, " has been deprecated since v" + version5 + " and will be removed in the near future"));
69807
69683
  }
69808
69684
  return validator ? validator(value, opt, opts) : true;
69809
69685
  };
@@ -71238,10 +71114,10 @@ var require_header = __commonJSMin((exports, module2) => {
71238
71114
  throw new Error("need 512 bytes for header");
71239
71115
  const prefixSize = this.ctime || this.atime ? 130 : 155;
71240
71116
  const split = splitPrefix(this.path || "", prefixSize);
71241
- const path3 = split[0];
71117
+ const path4 = split[0];
71242
71118
  const prefix = split[1];
71243
71119
  this.needPax = split[2];
71244
- this.needPax = encString(buf, off, 100, path3) || this.needPax;
71120
+ this.needPax = encString(buf, off, 100, path4) || this.needPax;
71245
71121
  this.needPax = encNumber(buf, off + 100, 8, this.mode) || this.needPax;
71246
71122
  this.needPax = encNumber(buf, off + 108, 8, this.uid) || this.needPax;
71247
71123
  this.needPax = encNumber(buf, off + 116, 8, this.gid) || this.needPax;
@@ -71339,7 +71215,7 @@ var require_header = __commonJSMin((exports, module2) => {
71339
71215
  var require_pax = __commonJSMin((exports, module2) => {
71340
71216
  "use strict";
71341
71217
  var Header = require_header();
71342
- var path3 = __require("path");
71218
+ var path4 = __require("path");
71343
71219
  var Pax = class {
71344
71220
  constructor(obj, global2) {
71345
71221
  this.atime = obj.atime || null;
@@ -71369,7 +71245,7 @@ var require_pax = __commonJSMin((exports, module2) => {
71369
71245
  for (let i = 0; i < 512; i++)
71370
71246
  buf[i] = 0;
71371
71247
  new Header({
71372
- path: ("PaxHeader/" + path3.basename(this.path)).slice(0, 99),
71248
+ path: ("PaxHeader/" + path4.basename(this.path)).slice(0, 99),
71373
71249
  mode: this.mode || 420,
71374
71250
  uid: this.uid || null,
71375
71251
  gid: this.gid || null,
@@ -71476,16 +71352,16 @@ var require_winchars = __commonJSMin((exports, module2) => {
71476
71352
  });
71477
71353
  var require_strip_absolute_path = __commonJSMin((exports, module2) => {
71478
71354
  var { isAbsolute, parse } = __require("path").win32;
71479
- module2.exports = (path3) => {
71355
+ module2.exports = (path4) => {
71480
71356
  let r = "";
71481
- let parsed = parse(path3);
71482
- while (isAbsolute(path3) || parsed.root) {
71483
- const root = path3.charAt(0) === "/" && path3.slice(0, 4) !== "//?/" ? "/" : parsed.root;
71484
- path3 = path3.substr(root.length);
71357
+ let parsed = parse(path4);
71358
+ while (isAbsolute(path4) || parsed.root) {
71359
+ const root = path4.charAt(0) === "/" && path4.slice(0, 4) !== "//?/" ? "/" : parsed.root;
71360
+ path4 = path4.substr(root.length);
71485
71361
  r += root;
71486
- parsed = parse(path3);
71362
+ parsed = parse(path4);
71487
71363
  }
71488
- return [r, path3];
71364
+ return [r, path4];
71489
71365
  };
71490
71366
  });
71491
71367
  var require_mode_fix = __commonJSMin((exports, module2) => {
@@ -71510,15 +71386,15 @@ var require_write_entry = __commonJSMin((exports, module2) => {
71510
71386
  var MiniPass = require_minipass();
71511
71387
  var Pax = require_pax();
71512
71388
  var Header = require_header();
71513
- var fs2 = __require("fs");
71514
- var path3 = __require("path");
71389
+ var fs3 = __require("fs");
71390
+ var path4 = __require("path");
71515
71391
  var normPath = require_normalize_windows_path();
71516
71392
  var stripSlash = require_strip_trailing_slashes();
71517
- var prefixPath = (path4, prefix) => {
71393
+ var prefixPath = (path5, prefix) => {
71518
71394
  if (!prefix)
71519
- return normPath(path4);
71520
- path4 = normPath(path4).replace(/^\.(\/|$)/, "");
71521
- return stripSlash(prefix) + "/" + path4;
71395
+ return normPath(path5);
71396
+ path5 = normPath(path5).replace(/^\.(\/|$)/, "");
71397
+ return stripSlash(prefix) + "/" + path5;
71522
71398
  };
71523
71399
  var maxReadSize = 16 * 1024 * 1024;
71524
71400
  var PROCESS = Symbol("process");
@@ -71587,7 +71463,7 @@ var require_write_entry = __commonJSMin((exports, module2) => {
71587
71463
  this.path = winchars.decode(this.path.replace(/\\/g, "/"));
71588
71464
  p = p.replace(/\\/g, "/");
71589
71465
  }
71590
- this.absolute = normPath(opt.absolute || path3.resolve(this.cwd, p));
71466
+ this.absolute = normPath(opt.absolute || path4.resolve(this.cwd, p));
71591
71467
  if (this.path === "")
71592
71468
  this.path = "./";
71593
71469
  if (pathWarn) {
@@ -71607,7 +71483,7 @@ var require_write_entry = __commonJSMin((exports, module2) => {
71607
71483
  return super.emit(ev, ...data);
71608
71484
  }
71609
71485
  [LSTAT]() {
71610
- fs2.lstat(this.absolute, (er, stat) => {
71486
+ fs3.lstat(this.absolute, (er, stat) => {
71611
71487
  if (er)
71612
71488
  return this.emit("error", er);
71613
71489
  this[ONLSTAT](stat);
@@ -71637,8 +71513,8 @@ var require_write_entry = __commonJSMin((exports, module2) => {
71637
71513
  [MODE](mode) {
71638
71514
  return modeFix(mode, this.type === "Directory", this.portable);
71639
71515
  }
71640
- [PREFIX](path4) {
71641
- return prefixPath(path4, this.prefix);
71516
+ [PREFIX](path5) {
71517
+ return prefixPath(path5, this.prefix);
71642
71518
  }
71643
71519
  [HEADER]() {
71644
71520
  if (this.type === "Directory" && this.portable)
@@ -71682,7 +71558,7 @@ var require_write_entry = __commonJSMin((exports, module2) => {
71682
71558
  this.end();
71683
71559
  }
71684
71560
  [SYMLINK]() {
71685
- fs2.readlink(this.absolute, (er, linkpath) => {
71561
+ fs3.readlink(this.absolute, (er, linkpath) => {
71686
71562
  if (er)
71687
71563
  return this.emit("error", er);
71688
71564
  this[ONREADLINK](linkpath);
@@ -71695,7 +71571,7 @@ var require_write_entry = __commonJSMin((exports, module2) => {
71695
71571
  }
71696
71572
  [HARDLINK](linkpath) {
71697
71573
  this.type = "Link";
71698
- this.linkpath = normPath(path3.relative(this.cwd, linkpath));
71574
+ this.linkpath = normPath(path4.relative(this.cwd, linkpath));
71699
71575
  this.stat.size = 0;
71700
71576
  this[HEADER]();
71701
71577
  this.end();
@@ -71716,7 +71592,7 @@ var require_write_entry = __commonJSMin((exports, module2) => {
71716
71592
  this[OPENFILE]();
71717
71593
  }
71718
71594
  [OPENFILE]() {
71719
- fs2.open(this.absolute, "r", (er, fd) => {
71595
+ fs3.open(this.absolute, "r", (er, fd) => {
71720
71596
  if (er)
71721
71597
  return this.emit("error", er);
71722
71598
  this[ONOPENFILE](fd);
@@ -71738,7 +71614,7 @@ var require_write_entry = __commonJSMin((exports, module2) => {
71738
71614
  }
71739
71615
  [READ]() {
71740
71616
  const { fd, buf, offset, length, pos } = this;
71741
- fs2.read(fd, buf, offset, length, pos, (er, bytesRead) => {
71617
+ fs3.read(fd, buf, offset, length, pos, (er, bytesRead) => {
71742
71618
  if (er) {
71743
71619
  return this[CLOSE](() => this.emit("error", er));
71744
71620
  }
@@ -71746,7 +71622,7 @@ var require_write_entry = __commonJSMin((exports, module2) => {
71746
71622
  });
71747
71623
  }
71748
71624
  [CLOSE](cb) {
71749
- fs2.close(this.fd, cb);
71625
+ fs3.close(this.fd, cb);
71750
71626
  }
71751
71627
  [ONREAD](bytesRead) {
71752
71628
  if (bytesRead <= 0 && this.remain > 0) {
@@ -71808,19 +71684,19 @@ var require_write_entry = __commonJSMin((exports, module2) => {
71808
71684
  });
71809
71685
  var WriteEntrySync = class extends WriteEntry {
71810
71686
  [LSTAT]() {
71811
- this[ONLSTAT](fs2.lstatSync(this.absolute));
71687
+ this[ONLSTAT](fs3.lstatSync(this.absolute));
71812
71688
  }
71813
71689
  [SYMLINK]() {
71814
- this[ONREADLINK](fs2.readlinkSync(this.absolute));
71690
+ this[ONREADLINK](fs3.readlinkSync(this.absolute));
71815
71691
  }
71816
71692
  [OPENFILE]() {
71817
- this[ONOPENFILE](fs2.openSync(this.absolute, "r"));
71693
+ this[ONOPENFILE](fs3.openSync(this.absolute, "r"));
71818
71694
  }
71819
71695
  [READ]() {
71820
71696
  let threw = true;
71821
71697
  try {
71822
71698
  const { fd, buf, offset, length, pos } = this;
71823
- const bytesRead = fs2.readSync(fd, buf, offset, length, pos);
71699
+ const bytesRead = fs3.readSync(fd, buf, offset, length, pos);
71824
71700
  this[ONREAD](bytesRead);
71825
71701
  threw = false;
71826
71702
  } finally {
@@ -71837,7 +71713,7 @@ var require_write_entry = __commonJSMin((exports, module2) => {
71837
71713
  cb();
71838
71714
  }
71839
71715
  [CLOSE](cb) {
71840
- fs2.closeSync(this.fd);
71716
+ fs3.closeSync(this.fd);
71841
71717
  cb();
71842
71718
  }
71843
71719
  };
@@ -71916,8 +71792,8 @@ var require_write_entry = __commonJSMin((exports, module2) => {
71916
71792
  super.write(this.header.block);
71917
71793
  readEntry.pipe(this);
71918
71794
  }
71919
- [PREFIX](path4) {
71920
- return prefixPath(path4, this.prefix);
71795
+ [PREFIX](path5) {
71796
+ return prefixPath(path5, this.prefix);
71921
71797
  }
71922
71798
  [MODE](mode) {
71923
71799
  return modeFix(mode, this.type === "Directory", this.portable);
@@ -72318,8 +72194,8 @@ var require_yallist = __commonJSMin((exports, module2) => {
72318
72194
  var require_pack = __commonJSMin((exports, module2) => {
72319
72195
  "use strict";
72320
72196
  var PackJob = class {
72321
- constructor(path4, absolute) {
72322
- this.path = path4 || "./";
72197
+ constructor(path5, absolute) {
72198
+ this.path = path5 || "./";
72323
72199
  this.absolute = absolute;
72324
72200
  this.entry = null;
72325
72201
  this.stat = null;
@@ -72357,8 +72233,8 @@ var require_pack = __commonJSMin((exports, module2) => {
72357
72233
  var WRITEENTRYCLASS = Symbol("writeEntryClass");
72358
72234
  var WRITE = Symbol("write");
72359
72235
  var ONDRAIN = Symbol("ondrain");
72360
- var fs2 = __require("fs");
72361
- var path3 = __require("path");
72236
+ var fs3 = __require("fs");
72237
+ var path4 = __require("path");
72362
72238
  var warner = require_warn_mixin();
72363
72239
  var normPath = require_normalize_windows_path();
72364
72240
  var Pack = warner(class Pack extends MiniPass {
@@ -72407,28 +72283,28 @@ var require_pack = __commonJSMin((exports, module2) => {
72407
72283
  [WRITE](chunk) {
72408
72284
  return super.write(chunk);
72409
72285
  }
72410
- add(path4) {
72411
- this.write(path4);
72286
+ add(path5) {
72287
+ this.write(path5);
72412
72288
  return this;
72413
72289
  }
72414
- end(path4) {
72415
- if (path4)
72416
- this.write(path4);
72290
+ end(path5) {
72291
+ if (path5)
72292
+ this.write(path5);
72417
72293
  this[ENDED] = true;
72418
72294
  this[PROCESS]();
72419
72295
  return this;
72420
72296
  }
72421
- write(path4) {
72297
+ write(path5) {
72422
72298
  if (this[ENDED])
72423
72299
  throw new Error("write after end");
72424
- if (path4 instanceof ReadEntry)
72425
- this[ADDTARENTRY](path4);
72300
+ if (path5 instanceof ReadEntry)
72301
+ this[ADDTARENTRY](path5);
72426
72302
  else
72427
- this[ADDFSENTRY](path4);
72303
+ this[ADDFSENTRY](path5);
72428
72304
  return this.flowing;
72429
72305
  }
72430
72306
  [ADDTARENTRY](p) {
72431
- const absolute = normPath(path3.resolve(this.cwd, p.path));
72307
+ const absolute = normPath(path4.resolve(this.cwd, p.path));
72432
72308
  if (!this.filter(p.path, p))
72433
72309
  p.resume();
72434
72310
  else {
@@ -72441,7 +72317,7 @@ var require_pack = __commonJSMin((exports, module2) => {
72441
72317
  this[PROCESS]();
72442
72318
  }
72443
72319
  [ADDFSENTRY](p) {
72444
- const absolute = normPath(path3.resolve(this.cwd, p));
72320
+ const absolute = normPath(path4.resolve(this.cwd, p));
72445
72321
  this[QUEUE].push(new PackJob(p, absolute));
72446
72322
  this[PROCESS]();
72447
72323
  }
@@ -72449,7 +72325,7 @@ var require_pack = __commonJSMin((exports, module2) => {
72449
72325
  job.pending = true;
72450
72326
  this[JOBS] += 1;
72451
72327
  const stat = this.follow ? "stat" : "lstat";
72452
- fs2[stat](job.absolute, (er, stat2) => {
72328
+ fs3[stat](job.absolute, (er, stat2) => {
72453
72329
  job.pending = false;
72454
72330
  this[JOBS] -= 1;
72455
72331
  if (er)
@@ -72468,7 +72344,7 @@ var require_pack = __commonJSMin((exports, module2) => {
72468
72344
  [READDIR](job) {
72469
72345
  job.pending = true;
72470
72346
  this[JOBS] += 1;
72471
- fs2.readdir(job.absolute, (er, entries) => {
72347
+ fs3.readdir(job.absolute, (er, entries) => {
72472
72348
  job.pending = false;
72473
72349
  this[JOBS] -= 1;
72474
72350
  if (er)
@@ -72614,10 +72490,10 @@ var require_pack = __commonJSMin((exports, module2) => {
72614
72490
  }
72615
72491
  [STAT](job) {
72616
72492
  const stat = this.follow ? "statSync" : "lstatSync";
72617
- this[ONSTAT](job, fs2[stat](job.absolute));
72493
+ this[ONSTAT](job, fs3[stat](job.absolute));
72618
72494
  }
72619
72495
  [READDIR](job, stat) {
72620
- this[ONREADDIR](job, fs2.readdirSync(job.absolute));
72496
+ this[ONREADDIR](job, fs3.readdirSync(job.absolute));
72621
72497
  }
72622
72498
  [PIPE](job) {
72623
72499
  const source = job.entry;
@@ -72647,8 +72523,8 @@ var require_fs_minipass = __commonJSMin((exports) => {
72647
72523
  "use strict";
72648
72524
  var MiniPass = require_minipass();
72649
72525
  var EE = __require("events").EventEmitter;
72650
- var fs2 = __require("fs");
72651
- var writev = fs2.writev;
72526
+ var fs3 = __require("fs");
72527
+ var writev = fs3.writev;
72652
72528
  if (!writev) {
72653
72529
  const binding = process.binding("fs");
72654
72530
  const FSReqWrap = binding.FSReqWrap || binding.FSReqCallback;
@@ -72688,16 +72564,16 @@ var require_fs_minipass = __commonJSMin((exports) => {
72688
72564
  var _defaultFlag = Symbol("_defaultFlag");
72689
72565
  var _errored = Symbol("_errored");
72690
72566
  var ReadStream = class extends MiniPass {
72691
- constructor(path3, opt) {
72567
+ constructor(path4, opt) {
72692
72568
  opt = opt || {};
72693
72569
  super(opt);
72694
72570
  this.readable = true;
72695
72571
  this.writable = false;
72696
- if (typeof path3 !== "string")
72572
+ if (typeof path4 !== "string")
72697
72573
  throw new TypeError("path must be a string");
72698
72574
  this[_errored] = false;
72699
72575
  this[_fd] = typeof opt.fd === "number" ? opt.fd : null;
72700
- this[_path] = path3;
72576
+ this[_path] = path4;
72701
72577
  this[_readSize] = opt.readSize || 16 * 1024 * 1024;
72702
72578
  this[_reading] = false;
72703
72579
  this[_size] = typeof opt.size === "number" ? opt.size : Infinity;
@@ -72721,7 +72597,7 @@ var require_fs_minipass = __commonJSMin((exports) => {
72721
72597
  throw new TypeError("this is a readable stream");
72722
72598
  }
72723
72599
  [_open]() {
72724
- fs2.open(this[_path], "r", (er, fd) => this[_onopen](er, fd));
72600
+ fs3.open(this[_path], "r", (er, fd) => this[_onopen](er, fd));
72725
72601
  }
72726
72602
  [_onopen](er, fd) {
72727
72603
  if (er)
@@ -72741,7 +72617,7 @@ var require_fs_minipass = __commonJSMin((exports) => {
72741
72617
  const buf = this[_makeBuf]();
72742
72618
  if (buf.length === 0)
72743
72619
  return process.nextTick(() => this[_onread](null, 0, buf));
72744
- fs2.read(this[_fd], buf, 0, buf.length, null, (er, br, buf2) => this[_onread](er, br, buf2));
72620
+ fs3.read(this[_fd], buf, 0, buf.length, null, (er, br, buf2) => this[_onread](er, br, buf2));
72745
72621
  }
72746
72622
  }
72747
72623
  [_onread](er, br, buf) {
@@ -72755,7 +72631,7 @@ var require_fs_minipass = __commonJSMin((exports) => {
72755
72631
  if (this[_autoClose] && typeof this[_fd] === "number") {
72756
72632
  const fd = this[_fd];
72757
72633
  this[_fd] = null;
72758
- fs2.close(fd, (er) => er ? this.emit("error", er) : this.emit("close"));
72634
+ fs3.close(fd, (er) => er ? this.emit("error", er) : this.emit("close"));
72759
72635
  }
72760
72636
  }
72761
72637
  [_onerror](er) {
@@ -72798,7 +72674,7 @@ var require_fs_minipass = __commonJSMin((exports) => {
72798
72674
  [_open]() {
72799
72675
  let threw = true;
72800
72676
  try {
72801
- this[_onopen](null, fs2.openSync(this[_path], "r"));
72677
+ this[_onopen](null, fs3.openSync(this[_path], "r"));
72802
72678
  threw = false;
72803
72679
  } finally {
72804
72680
  if (threw)
@@ -72812,7 +72688,7 @@ var require_fs_minipass = __commonJSMin((exports) => {
72812
72688
  this[_reading] = true;
72813
72689
  do {
72814
72690
  const buf = this[_makeBuf]();
72815
- const br = buf.length === 0 ? 0 : fs2.readSync(this[_fd], buf, 0, buf.length, null);
72691
+ const br = buf.length === 0 ? 0 : fs3.readSync(this[_fd], buf, 0, buf.length, null);
72816
72692
  if (!this[_handleChunk](br, buf))
72817
72693
  break;
72818
72694
  } while (true);
@@ -72828,13 +72704,13 @@ var require_fs_minipass = __commonJSMin((exports) => {
72828
72704
  if (this[_autoClose] && typeof this[_fd] === "number") {
72829
72705
  const fd = this[_fd];
72830
72706
  this[_fd] = null;
72831
- fs2.closeSync(fd);
72707
+ fs3.closeSync(fd);
72832
72708
  this.emit("close");
72833
72709
  }
72834
72710
  }
72835
72711
  };
72836
72712
  var WriteStream = class extends EE {
72837
- constructor(path3, opt) {
72713
+ constructor(path4, opt) {
72838
72714
  opt = opt || {};
72839
72715
  super(opt);
72840
72716
  this.readable = false;
@@ -72844,7 +72720,7 @@ var require_fs_minipass = __commonJSMin((exports) => {
72844
72720
  this[_ended] = false;
72845
72721
  this[_needDrain] = false;
72846
72722
  this[_queue] = [];
72847
- this[_path] = path3;
72723
+ this[_path] = path4;
72848
72724
  this[_fd] = typeof opt.fd === "number" ? opt.fd : null;
72849
72725
  this[_mode] = opt.mode === void 0 ? 438 : opt.mode;
72850
72726
  this[_pos] = typeof opt.start === "number" ? opt.start : null;
@@ -72875,7 +72751,7 @@ var require_fs_minipass = __commonJSMin((exports) => {
72875
72751
  this.emit("error", er);
72876
72752
  }
72877
72753
  [_open]() {
72878
- fs2.open(this[_path], this[_flags], this[_mode], (er, fd) => this[_onopen](er, fd));
72754
+ fs3.open(this[_path], this[_flags], this[_mode], (er, fd) => this[_onopen](er, fd));
72879
72755
  }
72880
72756
  [_onopen](er, fd) {
72881
72757
  if (this[_defaultFlag] && this[_flags] === "r+" && er && er.code === "ENOENT") {
@@ -72914,7 +72790,7 @@ var require_fs_minipass = __commonJSMin((exports) => {
72914
72790
  return true;
72915
72791
  }
72916
72792
  [_write](buf) {
72917
- fs2.write(this[_fd], buf, 0, buf.length, this[_pos], (er, bw) => this[_onwrite](er, bw));
72793
+ fs3.write(this[_fd], buf, 0, buf.length, this[_pos], (er, bw) => this[_onwrite](er, bw));
72918
72794
  }
72919
72795
  [_onwrite](er, bw) {
72920
72796
  if (er)
@@ -72953,7 +72829,7 @@ var require_fs_minipass = __commonJSMin((exports) => {
72953
72829
  if (this[_autoClose] && typeof this[_fd] === "number") {
72954
72830
  const fd = this[_fd];
72955
72831
  this[_fd] = null;
72956
- fs2.close(fd, (er) => er ? this.emit("error", er) : this.emit("close"));
72832
+ fs3.close(fd, (er) => er ? this.emit("error", er) : this.emit("close"));
72957
72833
  }
72958
72834
  }
72959
72835
  };
@@ -72962,7 +72838,7 @@ var require_fs_minipass = __commonJSMin((exports) => {
72962
72838
  let fd;
72963
72839
  if (this[_defaultFlag] && this[_flags] === "r+") {
72964
72840
  try {
72965
- fd = fs2.openSync(this[_path], this[_flags], this[_mode]);
72841
+ fd = fs3.openSync(this[_path], this[_flags], this[_mode]);
72966
72842
  } catch (er) {
72967
72843
  if (er.code === "ENOENT") {
72968
72844
  this[_flags] = "w";
@@ -72971,21 +72847,21 @@ var require_fs_minipass = __commonJSMin((exports) => {
72971
72847
  throw er;
72972
72848
  }
72973
72849
  } else
72974
- fd = fs2.openSync(this[_path], this[_flags], this[_mode]);
72850
+ fd = fs3.openSync(this[_path], this[_flags], this[_mode]);
72975
72851
  this[_onopen](null, fd);
72976
72852
  }
72977
72853
  [_close]() {
72978
72854
  if (this[_autoClose] && typeof this[_fd] === "number") {
72979
72855
  const fd = this[_fd];
72980
72856
  this[_fd] = null;
72981
- fs2.closeSync(fd);
72857
+ fs3.closeSync(fd);
72982
72858
  this.emit("close");
72983
72859
  }
72984
72860
  }
72985
72861
  [_write](buf) {
72986
72862
  let threw = true;
72987
72863
  try {
72988
- this[_onwrite](null, fs2.writeSync(this[_fd], buf, 0, buf.length, this[_pos]));
72864
+ this[_onwrite](null, fs3.writeSync(this[_fd], buf, 0, buf.length, this[_pos]));
72989
72865
  threw = false;
72990
72866
  } finally {
72991
72867
  if (threw)
@@ -73377,9 +73253,9 @@ var require_list = __commonJSMin((exports, module2) => {
73377
73253
  "use strict";
73378
73254
  var hlo = require_high_level_opt();
73379
73255
  var Parser = require_parse();
73380
- var fs2 = __require("fs");
73256
+ var fs3 = __require("fs");
73381
73257
  var fsm = require_fs_minipass();
73382
- var path3 = __require("path");
73258
+ var path4 = __require("path");
73383
73259
  var stripSlash = require_strip_trailing_slashes();
73384
73260
  module2.exports = (opt_, files, cb) => {
73385
73261
  if (typeof opt_ === "function")
@@ -73414,8 +73290,8 @@ var require_list = __commonJSMin((exports, module2) => {
73414
73290
  const map = new Map(files.map((f) => [stripSlash(f), true]));
73415
73291
  const filter = opt.filter;
73416
73292
  const mapHas = (file, r) => {
73417
- const root = r || path3.parse(file).root || ".";
73418
- const ret = file === root ? false : map.has(file) ? map.get(file) : mapHas(path3.dirname(file), root);
73293
+ const root = r || path4.parse(file).root || ".";
73294
+ const ret = file === root ? false : map.has(file) ? map.get(file) : mapHas(path4.dirname(file), root);
73419
73295
  map.set(file, ret);
73420
73296
  return ret;
73421
73297
  };
@@ -73427,16 +73303,16 @@ var require_list = __commonJSMin((exports, module2) => {
73427
73303
  let threw = true;
73428
73304
  let fd;
73429
73305
  try {
73430
- const stat = fs2.statSync(file);
73306
+ const stat = fs3.statSync(file);
73431
73307
  const readSize = opt.maxReadSize || 16 * 1024 * 1024;
73432
73308
  if (stat.size < readSize)
73433
- p.end(fs2.readFileSync(file));
73309
+ p.end(fs3.readFileSync(file));
73434
73310
  else {
73435
73311
  let pos = 0;
73436
73312
  const buf = Buffer.allocUnsafe(readSize);
73437
- fd = fs2.openSync(file, "r");
73313
+ fd = fs3.openSync(file, "r");
73438
73314
  while (pos < stat.size) {
73439
- const bytesRead = fs2.readSync(fd, buf, 0, readSize, pos);
73315
+ const bytesRead = fs3.readSync(fd, buf, 0, readSize, pos);
73440
73316
  pos += bytesRead;
73441
73317
  p.write(buf.slice(0, bytesRead));
73442
73318
  }
@@ -73446,7 +73322,7 @@ var require_list = __commonJSMin((exports, module2) => {
73446
73322
  } finally {
73447
73323
  if (threw && fd) {
73448
73324
  try {
73449
- fs2.closeSync(fd);
73325
+ fs3.closeSync(fd);
73450
73326
  } catch (er) {
73451
73327
  }
73452
73328
  }
@@ -73459,7 +73335,7 @@ var require_list = __commonJSMin((exports, module2) => {
73459
73335
  const p = new Promise((resolve, reject) => {
73460
73336
  parse.on("error", reject);
73461
73337
  parse.on("end", resolve);
73462
- fs2.stat(file, (er, stat) => {
73338
+ fs3.stat(file, (er, stat) => {
73463
73339
  if (er)
73464
73340
  reject(er);
73465
73341
  else {
@@ -73482,7 +73358,7 @@ var require_create = __commonJSMin((exports, module2) => {
73482
73358
  var Pack = require_pack();
73483
73359
  var fsm = require_fs_minipass();
73484
73360
  var t = require_list();
73485
- var path3 = __require("path");
73361
+ var path4 = __require("path");
73486
73362
  module2.exports = (opt_, files, cb) => {
73487
73363
  if (typeof files === "function")
73488
73364
  cb = files;
@@ -73524,7 +73400,7 @@ var require_create = __commonJSMin((exports, module2) => {
73524
73400
  files.forEach((file) => {
73525
73401
  if (file.charAt(0) === "@") {
73526
73402
  t({
73527
- file: path3.resolve(p.cwd, file.substr(1)),
73403
+ file: path4.resolve(p.cwd, file.substr(1)),
73528
73404
  sync: true,
73529
73405
  noResume: true,
73530
73406
  onentry: (entry) => p.add(entry)
@@ -73539,7 +73415,7 @@ var require_create = __commonJSMin((exports, module2) => {
73539
73415
  const file = files.shift();
73540
73416
  if (file.charAt(0) === "@") {
73541
73417
  return t({
73542
- file: path3.resolve(p.cwd, file.substr(1)),
73418
+ file: path4.resolve(p.cwd, file.substr(1)),
73543
73419
  noResume: true,
73544
73420
  onentry: (entry) => p.add(entry)
73545
73421
  }).then((_) => addFilesAsync(p, files));
@@ -73563,10 +73439,10 @@ var require_replace = __commonJSMin((exports, module2) => {
73563
73439
  "use strict";
73564
73440
  var hlo = require_high_level_opt();
73565
73441
  var Pack = require_pack();
73566
- var fs2 = __require("fs");
73442
+ var fs3 = __require("fs");
73567
73443
  var fsm = require_fs_minipass();
73568
73444
  var t = require_list();
73569
- var path3 = __require("path");
73445
+ var path4 = __require("path");
73570
73446
  var Header = require_header();
73571
73447
  module2.exports = (opt_, files, cb) => {
73572
73448
  const opt = hlo(opt_);
@@ -73586,19 +73462,19 @@ var require_replace = __commonJSMin((exports, module2) => {
73586
73462
  let position;
73587
73463
  try {
73588
73464
  try {
73589
- fd = fs2.openSync(opt.file, "r+");
73465
+ fd = fs3.openSync(opt.file, "r+");
73590
73466
  } catch (er) {
73591
73467
  if (er.code === "ENOENT")
73592
- fd = fs2.openSync(opt.file, "w+");
73468
+ fd = fs3.openSync(opt.file, "w+");
73593
73469
  else
73594
73470
  throw er;
73595
73471
  }
73596
- const st = fs2.fstatSync(fd);
73472
+ const st = fs3.fstatSync(fd);
73597
73473
  const headBuf = Buffer.alloc(512);
73598
73474
  POSITION:
73599
73475
  for (position = 0; position < st.size; position += 512) {
73600
73476
  for (let bufPos = 0, bytes = 0; bufPos < 512; bufPos += bytes) {
73601
- bytes = fs2.readSync(fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos);
73477
+ bytes = fs3.readSync(fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos);
73602
73478
  if (position === 0 && headBuf[0] === 31 && headBuf[1] === 139)
73603
73479
  throw new Error("cannot append to compressed archives");
73604
73480
  if (!bytes)
@@ -73619,7 +73495,7 @@ var require_replace = __commonJSMin((exports, module2) => {
73619
73495
  } finally {
73620
73496
  if (threw) {
73621
73497
  try {
73622
- fs2.closeSync(fd);
73498
+ fs3.closeSync(fd);
73623
73499
  } catch (er) {
73624
73500
  }
73625
73501
  }
@@ -73639,7 +73515,7 @@ var require_replace = __commonJSMin((exports, module2) => {
73639
73515
  const getPos = (fd, size, cb_) => {
73640
73516
  const cb2 = (er, pos) => {
73641
73517
  if (er)
73642
- fs2.close(fd, (_) => cb_(er));
73518
+ fs3.close(fd, (_) => cb_(er));
73643
73519
  else
73644
73520
  cb_(null, pos);
73645
73521
  };
@@ -73653,7 +73529,7 @@ var require_replace = __commonJSMin((exports, module2) => {
73653
73529
  return cb2(er);
73654
73530
  bufPos += bytes;
73655
73531
  if (bufPos < 512 && bytes) {
73656
- return fs2.read(fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos, onread);
73532
+ return fs3.read(fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos, onread);
73657
73533
  }
73658
73534
  if (position === 0 && headBuf[0] === 31 && headBuf[1] === 139)
73659
73535
  return cb2(new Error("cannot append to compressed archives"));
@@ -73671,9 +73547,9 @@ var require_replace = __commonJSMin((exports, module2) => {
73671
73547
  if (opt.mtimeCache)
73672
73548
  opt.mtimeCache.set(h.path, h.mtime);
73673
73549
  bufPos = 0;
73674
- fs2.read(fd, headBuf, 0, 512, position, onread);
73550
+ fs3.read(fd, headBuf, 0, 512, position, onread);
73675
73551
  };
73676
- fs2.read(fd, headBuf, 0, 512, position, onread);
73552
+ fs3.read(fd, headBuf, 0, 512, position, onread);
73677
73553
  };
73678
73554
  const promise = new Promise((resolve, reject) => {
73679
73555
  p.on("error", reject);
@@ -73681,13 +73557,13 @@ var require_replace = __commonJSMin((exports, module2) => {
73681
73557
  const onopen = (er, fd) => {
73682
73558
  if (er && er.code === "ENOENT" && flag === "r+") {
73683
73559
  flag = "w+";
73684
- return fs2.open(opt.file, flag, onopen);
73560
+ return fs3.open(opt.file, flag, onopen);
73685
73561
  }
73686
73562
  if (er)
73687
73563
  return reject(er);
73688
- fs2.fstat(fd, (er2, st) => {
73564
+ fs3.fstat(fd, (er2, st) => {
73689
73565
  if (er2)
73690
- return fs2.close(fd, () => reject(er2));
73566
+ return fs3.close(fd, () => reject(er2));
73691
73567
  getPos(fd, st.size, (er3, position) => {
73692
73568
  if (er3)
73693
73569
  return reject(er3);
@@ -73702,7 +73578,7 @@ var require_replace = __commonJSMin((exports, module2) => {
73702
73578
  });
73703
73579
  });
73704
73580
  };
73705
- fs2.open(opt.file, flag, onopen);
73581
+ fs3.open(opt.file, flag, onopen);
73706
73582
  });
73707
73583
  return cb ? promise.then(cb, cb) : promise;
73708
73584
  };
@@ -73710,7 +73586,7 @@ var require_replace = __commonJSMin((exports, module2) => {
73710
73586
  files.forEach((file) => {
73711
73587
  if (file.charAt(0) === "@") {
73712
73588
  t({
73713
- file: path3.resolve(p.cwd, file.substr(1)),
73589
+ file: path4.resolve(p.cwd, file.substr(1)),
73714
73590
  sync: true,
73715
73591
  noResume: true,
73716
73592
  onentry: (entry) => p.add(entry)
@@ -73725,7 +73601,7 @@ var require_replace = __commonJSMin((exports, module2) => {
73725
73601
  const file = files.shift();
73726
73602
  if (file.charAt(0) === "@") {
73727
73603
  return t({
73728
- file: path3.resolve(p.cwd, file.substr(1)),
73604
+ file: path4.resolve(p.cwd, file.substr(1)),
73729
73605
  noResume: true,
73730
73606
  onentry: (entry) => p.add(entry)
73731
73607
  }).then((_) => addFilesAsync(p, files));
@@ -73755,29 +73631,29 @@ var require_update = __commonJSMin((exports, module2) => {
73755
73631
  const filter = opt.filter;
73756
73632
  if (!opt.mtimeCache)
73757
73633
  opt.mtimeCache = /* @__PURE__ */ new Map();
73758
- opt.filter = filter ? (path3, stat) => filter(path3, stat) && !(opt.mtimeCache.get(path3) > stat.mtime) : (path3, stat) => !(opt.mtimeCache.get(path3) > stat.mtime);
73634
+ opt.filter = filter ? (path4, stat) => filter(path4, stat) && !(opt.mtimeCache.get(path4) > stat.mtime) : (path4, stat) => !(opt.mtimeCache.get(path4) > stat.mtime);
73759
73635
  };
73760
73636
  });
73761
73637
  var require_opts_arg = __commonJSMin((exports, module2) => {
73762
73638
  var { promisify } = __require("util");
73763
- var fs2 = __require("fs");
73639
+ var fs3 = __require("fs");
73764
73640
  var optsArg = (opts) => {
73765
73641
  if (!opts)
73766
- opts = { mode: 511, fs: fs2 };
73642
+ opts = { mode: 511, fs: fs3 };
73767
73643
  else if (typeof opts === "object")
73768
- opts = { mode: 511, fs: fs2, ...opts };
73644
+ opts = { mode: 511, fs: fs3, ...opts };
73769
73645
  else if (typeof opts === "number")
73770
- opts = { mode: opts, fs: fs2 };
73646
+ opts = { mode: opts, fs: fs3 };
73771
73647
  else if (typeof opts === "string")
73772
- opts = { mode: parseInt(opts, 8), fs: fs2 };
73648
+ opts = { mode: parseInt(opts, 8), fs: fs3 };
73773
73649
  else
73774
73650
  throw new TypeError("invalid options argument");
73775
- opts.mkdir = opts.mkdir || opts.fs.mkdir || fs2.mkdir;
73651
+ opts.mkdir = opts.mkdir || opts.fs.mkdir || fs3.mkdir;
73776
73652
  opts.mkdirAsync = promisify(opts.mkdir);
73777
- opts.stat = opts.stat || opts.fs.stat || fs2.stat;
73653
+ opts.stat = opts.stat || opts.fs.stat || fs3.stat;
73778
73654
  opts.statAsync = promisify(opts.stat);
73779
- opts.statSync = opts.statSync || opts.fs.statSync || fs2.statSync;
73780
- opts.mkdirSync = opts.mkdirSync || opts.fs.mkdirSync || fs2.mkdirSync;
73655
+ opts.statSync = opts.statSync || opts.fs.statSync || fs3.statSync;
73656
+ opts.mkdirSync = opts.mkdirSync || opts.fs.mkdirSync || fs3.mkdirSync;
73781
73657
  return opts;
73782
73658
  };
73783
73659
  module2.exports = optsArg;
@@ -73785,40 +73661,40 @@ var require_opts_arg = __commonJSMin((exports, module2) => {
73785
73661
  var require_path_arg = __commonJSMin((exports, module2) => {
73786
73662
  var platform = process.env.__TESTING_MKDIRP_PLATFORM__ || process.platform;
73787
73663
  var { resolve, parse } = __require("path");
73788
- var pathArg = (path3) => {
73789
- if (/\0/.test(path3)) {
73664
+ var pathArg = (path4) => {
73665
+ if (/\0/.test(path4)) {
73790
73666
  throw Object.assign(new TypeError("path must be a string without null bytes"), {
73791
- path: path3,
73667
+ path: path4,
73792
73668
  code: "ERR_INVALID_ARG_VALUE"
73793
73669
  });
73794
73670
  }
73795
- path3 = resolve(path3);
73671
+ path4 = resolve(path4);
73796
73672
  if (platform === "win32") {
73797
73673
  const badWinChars = /[*|"<>?:]/;
73798
- const { root } = parse(path3);
73799
- if (badWinChars.test(path3.substr(root.length))) {
73674
+ const { root } = parse(path4);
73675
+ if (badWinChars.test(path4.substr(root.length))) {
73800
73676
  throw Object.assign(new Error("Illegal characters in path."), {
73801
- path: path3,
73677
+ path: path4,
73802
73678
  code: "EINVAL"
73803
73679
  });
73804
73680
  }
73805
73681
  }
73806
- return path3;
73682
+ return path4;
73807
73683
  };
73808
73684
  module2.exports = pathArg;
73809
73685
  });
73810
73686
  var require_find_made = __commonJSMin((exports, module2) => {
73811
73687
  var { dirname } = __require("path");
73812
- var findMade = (opts, parent, path3 = void 0) => {
73813
- if (path3 === parent)
73688
+ var findMade = (opts, parent, path4 = void 0) => {
73689
+ if (path4 === parent)
73814
73690
  return Promise.resolve();
73815
- return opts.statAsync(parent).then((st) => st.isDirectory() ? path3 : void 0, (er) => er.code === "ENOENT" ? findMade(opts, dirname(parent), parent) : void 0);
73691
+ return opts.statAsync(parent).then((st) => st.isDirectory() ? path4 : void 0, (er) => er.code === "ENOENT" ? findMade(opts, dirname(parent), parent) : void 0);
73816
73692
  };
73817
- var findMadeSync = (opts, parent, path3 = void 0) => {
73818
- if (path3 === parent)
73693
+ var findMadeSync = (opts, parent, path4 = void 0) => {
73694
+ if (path4 === parent)
73819
73695
  return void 0;
73820
73696
  try {
73821
- return opts.statSync(parent).isDirectory() ? path3 : void 0;
73697
+ return opts.statSync(parent).isDirectory() ? path4 : void 0;
73822
73698
  } catch (er) {
73823
73699
  return er.code === "ENOENT" ? findMadeSync(opts, dirname(parent), parent) : void 0;
73824
73700
  }
@@ -73827,21 +73703,21 @@ var require_find_made = __commonJSMin((exports, module2) => {
73827
73703
  });
73828
73704
  var require_mkdirp_manual = __commonJSMin((exports, module2) => {
73829
73705
  var { dirname } = __require("path");
73830
- var mkdirpManual = (path3, opts, made) => {
73706
+ var mkdirpManual = (path4, opts, made) => {
73831
73707
  opts.recursive = false;
73832
- const parent = dirname(path3);
73833
- if (parent === path3) {
73834
- return opts.mkdirAsync(path3, opts).catch((er) => {
73708
+ const parent = dirname(path4);
73709
+ if (parent === path4) {
73710
+ return opts.mkdirAsync(path4, opts).catch((er) => {
73835
73711
  if (er.code !== "EISDIR")
73836
73712
  throw er;
73837
73713
  });
73838
73714
  }
73839
- return opts.mkdirAsync(path3, opts).then(() => made || path3, (er) => {
73715
+ return opts.mkdirAsync(path4, opts).then(() => made || path4, (er) => {
73840
73716
  if (er.code === "ENOENT")
73841
- return mkdirpManual(parent, opts).then((made2) => mkdirpManual(path3, opts, made2));
73717
+ return mkdirpManual(parent, opts).then((made2) => mkdirpManual(path4, opts, made2));
73842
73718
  if (er.code !== "EEXIST" && er.code !== "EROFS")
73843
73719
  throw er;
73844
- return opts.statAsync(path3).then((st) => {
73720
+ return opts.statAsync(path4).then((st) => {
73845
73721
  if (st.isDirectory())
73846
73722
  return made;
73847
73723
  else
@@ -73851,12 +73727,12 @@ var require_mkdirp_manual = __commonJSMin((exports, module2) => {
73851
73727
  });
73852
73728
  });
73853
73729
  };
73854
- var mkdirpManualSync = (path3, opts, made) => {
73855
- const parent = dirname(path3);
73730
+ var mkdirpManualSync = (path4, opts, made) => {
73731
+ const parent = dirname(path4);
73856
73732
  opts.recursive = false;
73857
- if (parent === path3) {
73733
+ if (parent === path4) {
73858
73734
  try {
73859
- return opts.mkdirSync(path3, opts);
73735
+ return opts.mkdirSync(path4, opts);
73860
73736
  } catch (er) {
73861
73737
  if (er.code !== "EISDIR")
73862
73738
  throw er;
@@ -73865,15 +73741,15 @@ var require_mkdirp_manual = __commonJSMin((exports, module2) => {
73865
73741
  }
73866
73742
  }
73867
73743
  try {
73868
- opts.mkdirSync(path3, opts);
73869
- return made || path3;
73744
+ opts.mkdirSync(path4, opts);
73745
+ return made || path4;
73870
73746
  } catch (er) {
73871
73747
  if (er.code === "ENOENT")
73872
- return mkdirpManualSync(path3, opts, mkdirpManualSync(parent, opts, made));
73748
+ return mkdirpManualSync(path4, opts, mkdirpManualSync(parent, opts, made));
73873
73749
  if (er.code !== "EEXIST" && er.code !== "EROFS")
73874
73750
  throw er;
73875
73751
  try {
73876
- if (!opts.statSync(path3).isDirectory())
73752
+ if (!opts.statSync(path4).isDirectory())
73877
73753
  throw er;
73878
73754
  } catch (_) {
73879
73755
  throw er;
@@ -73886,30 +73762,30 @@ var require_mkdirp_native = __commonJSMin((exports, module2) => {
73886
73762
  var { dirname } = __require("path");
73887
73763
  var { findMade, findMadeSync } = require_find_made();
73888
73764
  var { mkdirpManual, mkdirpManualSync } = require_mkdirp_manual();
73889
- var mkdirpNative = (path3, opts) => {
73765
+ var mkdirpNative = (path4, opts) => {
73890
73766
  opts.recursive = true;
73891
- const parent = dirname(path3);
73892
- if (parent === path3)
73893
- return opts.mkdirAsync(path3, opts);
73894
- return findMade(opts, path3).then((made) => opts.mkdirAsync(path3, opts).then(() => made).catch((er) => {
73767
+ const parent = dirname(path4);
73768
+ if (parent === path4)
73769
+ return opts.mkdirAsync(path4, opts);
73770
+ return findMade(opts, path4).then((made) => opts.mkdirAsync(path4, opts).then(() => made).catch((er) => {
73895
73771
  if (er.code === "ENOENT")
73896
- return mkdirpManual(path3, opts);
73772
+ return mkdirpManual(path4, opts);
73897
73773
  else
73898
73774
  throw er;
73899
73775
  }));
73900
73776
  };
73901
- var mkdirpNativeSync = (path3, opts) => {
73777
+ var mkdirpNativeSync = (path4, opts) => {
73902
73778
  opts.recursive = true;
73903
- const parent = dirname(path3);
73904
- if (parent === path3)
73905
- return opts.mkdirSync(path3, opts);
73906
- const made = findMadeSync(opts, path3);
73779
+ const parent = dirname(path4);
73780
+ if (parent === path4)
73781
+ return opts.mkdirSync(path4, opts);
73782
+ const made = findMadeSync(opts, path4);
73907
73783
  try {
73908
- opts.mkdirSync(path3, opts);
73784
+ opts.mkdirSync(path4, opts);
73909
73785
  return made;
73910
73786
  } catch (er) {
73911
73787
  if (er.code === "ENOENT")
73912
- return mkdirpManualSync(path3, opts);
73788
+ return mkdirpManualSync(path4, opts);
73913
73789
  else
73914
73790
  throw er;
73915
73791
  }
@@ -73917,12 +73793,12 @@ var require_mkdirp_native = __commonJSMin((exports, module2) => {
73917
73793
  module2.exports = { mkdirpNative, mkdirpNativeSync };
73918
73794
  });
73919
73795
  var require_use_native = __commonJSMin((exports, module2) => {
73920
- var fs2 = __require("fs");
73921
- var version4 = process.env.__TESTING_MKDIRP_NODE_VERSION__ || process.version;
73922
- var versArr = version4.replace(/^v/, "").split(".");
73796
+ var fs3 = __require("fs");
73797
+ var version5 = process.env.__TESTING_MKDIRP_NODE_VERSION__ || process.version;
73798
+ var versArr = version5.replace(/^v/, "").split(".");
73923
73799
  var hasNative = +versArr[0] > 10 || +versArr[0] === 10 && +versArr[1] >= 12;
73924
- var useNative = !hasNative ? () => false : (opts) => opts.mkdir === fs2.mkdir;
73925
- var useNativeSync = !hasNative ? () => false : (opts) => opts.mkdirSync === fs2.mkdirSync;
73800
+ var useNative = !hasNative ? () => false : (opts) => opts.mkdir === fs3.mkdir;
73801
+ var useNativeSync = !hasNative ? () => false : (opts) => opts.mkdirSync === fs3.mkdirSync;
73926
73802
  module2.exports = { useNative, useNativeSync };
73927
73803
  });
73928
73804
  var require_mkdirp = __commonJSMin((exports, module2) => {
@@ -73931,88 +73807,88 @@ var require_mkdirp = __commonJSMin((exports, module2) => {
73931
73807
  var { mkdirpNative, mkdirpNativeSync } = require_mkdirp_native();
73932
73808
  var { mkdirpManual, mkdirpManualSync } = require_mkdirp_manual();
73933
73809
  var { useNative, useNativeSync } = require_use_native();
73934
- var mkdirp = (path3, opts) => {
73935
- path3 = pathArg(path3);
73810
+ var mkdirp = (path4, opts) => {
73811
+ path4 = pathArg(path4);
73936
73812
  opts = optsArg(opts);
73937
- return useNative(opts) ? mkdirpNative(path3, opts) : mkdirpManual(path3, opts);
73813
+ return useNative(opts) ? mkdirpNative(path4, opts) : mkdirpManual(path4, opts);
73938
73814
  };
73939
- var mkdirpSync = (path3, opts) => {
73940
- path3 = pathArg(path3);
73815
+ var mkdirpSync = (path4, opts) => {
73816
+ path4 = pathArg(path4);
73941
73817
  opts = optsArg(opts);
73942
- return useNativeSync(opts) ? mkdirpNativeSync(path3, opts) : mkdirpManualSync(path3, opts);
73818
+ return useNativeSync(opts) ? mkdirpNativeSync(path4, opts) : mkdirpManualSync(path4, opts);
73943
73819
  };
73944
73820
  mkdirp.sync = mkdirpSync;
73945
- mkdirp.native = (path3, opts) => mkdirpNative(pathArg(path3), optsArg(opts));
73946
- mkdirp.manual = (path3, opts) => mkdirpManual(pathArg(path3), optsArg(opts));
73947
- mkdirp.nativeSync = (path3, opts) => mkdirpNativeSync(pathArg(path3), optsArg(opts));
73948
- mkdirp.manualSync = (path3, opts) => mkdirpManualSync(pathArg(path3), optsArg(opts));
73821
+ mkdirp.native = (path4, opts) => mkdirpNative(pathArg(path4), optsArg(opts));
73822
+ mkdirp.manual = (path4, opts) => mkdirpManual(pathArg(path4), optsArg(opts));
73823
+ mkdirp.nativeSync = (path4, opts) => mkdirpNativeSync(pathArg(path4), optsArg(opts));
73824
+ mkdirp.manualSync = (path4, opts) => mkdirpManualSync(pathArg(path4), optsArg(opts));
73949
73825
  module2.exports = mkdirp;
73950
73826
  });
73951
73827
  var require_chownr = __commonJSMin((exports, module2) => {
73952
73828
  "use strict";
73953
- var fs2 = __require("fs");
73954
- var path3 = __require("path");
73955
- var LCHOWN = fs2.lchown ? "lchown" : "chown";
73956
- var LCHOWNSYNC = fs2.lchownSync ? "lchownSync" : "chownSync";
73957
- var needEISDIRHandled = fs2.lchown && !process.version.match(/v1[1-9]+\./) && !process.version.match(/v10\.[6-9]/);
73958
- var lchownSync = (path4, uid, gid) => {
73829
+ var fs3 = __require("fs");
73830
+ var path4 = __require("path");
73831
+ var LCHOWN = fs3.lchown ? "lchown" : "chown";
73832
+ var LCHOWNSYNC = fs3.lchownSync ? "lchownSync" : "chownSync";
73833
+ var needEISDIRHandled = fs3.lchown && !process.version.match(/v1[1-9]+\./) && !process.version.match(/v10\.[6-9]/);
73834
+ var lchownSync = (path5, uid, gid) => {
73959
73835
  try {
73960
- return fs2[LCHOWNSYNC](path4, uid, gid);
73836
+ return fs3[LCHOWNSYNC](path5, uid, gid);
73961
73837
  } catch (er) {
73962
73838
  if (er.code !== "ENOENT")
73963
73839
  throw er;
73964
73840
  }
73965
73841
  };
73966
- var chownSync = (path4, uid, gid) => {
73842
+ var chownSync = (path5, uid, gid) => {
73967
73843
  try {
73968
- return fs2.chownSync(path4, uid, gid);
73844
+ return fs3.chownSync(path5, uid, gid);
73969
73845
  } catch (er) {
73970
73846
  if (er.code !== "ENOENT")
73971
73847
  throw er;
73972
73848
  }
73973
73849
  };
73974
- var handleEISDIR = needEISDIRHandled ? (path4, uid, gid, cb) => (er) => {
73850
+ var handleEISDIR = needEISDIRHandled ? (path5, uid, gid, cb) => (er) => {
73975
73851
  if (!er || er.code !== "EISDIR")
73976
73852
  cb(er);
73977
73853
  else
73978
- fs2.chown(path4, uid, gid, cb);
73854
+ fs3.chown(path5, uid, gid, cb);
73979
73855
  } : (_, __, ___, cb) => cb;
73980
- var handleEISDirSync = needEISDIRHandled ? (path4, uid, gid) => {
73856
+ var handleEISDirSync = needEISDIRHandled ? (path5, uid, gid) => {
73981
73857
  try {
73982
- return lchownSync(path4, uid, gid);
73858
+ return lchownSync(path5, uid, gid);
73983
73859
  } catch (er) {
73984
73860
  if (er.code !== "EISDIR")
73985
73861
  throw er;
73986
- chownSync(path4, uid, gid);
73862
+ chownSync(path5, uid, gid);
73987
73863
  }
73988
- } : (path4, uid, gid) => lchownSync(path4, uid, gid);
73864
+ } : (path5, uid, gid) => lchownSync(path5, uid, gid);
73989
73865
  var nodeVersion = process.version;
73990
- var readdir = (path4, options3, cb) => fs2.readdir(path4, options3, cb);
73991
- var readdirSync = (path4, options3) => fs2.readdirSync(path4, options3);
73866
+ var readdir = (path5, options3, cb) => fs3.readdir(path5, options3, cb);
73867
+ var readdirSync = (path5, options3) => fs3.readdirSync(path5, options3);
73992
73868
  if (/^v4\./.test(nodeVersion))
73993
- readdir = (path4, options3, cb) => fs2.readdir(path4, cb);
73869
+ readdir = (path5, options3, cb) => fs3.readdir(path5, cb);
73994
73870
  var chown = (cpath, uid, gid, cb) => {
73995
- fs2[LCHOWN](cpath, uid, gid, handleEISDIR(cpath, uid, gid, (er) => {
73871
+ fs3[LCHOWN](cpath, uid, gid, handleEISDIR(cpath, uid, gid, (er) => {
73996
73872
  cb(er && er.code !== "ENOENT" ? er : null);
73997
73873
  }));
73998
73874
  };
73999
73875
  var chownrKid = (p, child, uid, gid, cb) => {
74000
73876
  if (typeof child === "string")
74001
- return fs2.lstat(path3.resolve(p, child), (er, stats) => {
73877
+ return fs3.lstat(path4.resolve(p, child), (er, stats) => {
74002
73878
  if (er)
74003
73879
  return cb(er.code !== "ENOENT" ? er : null);
74004
73880
  stats.name = child;
74005
73881
  chownrKid(p, stats, uid, gid, cb);
74006
73882
  });
74007
73883
  if (child.isDirectory()) {
74008
- chownr(path3.resolve(p, child.name), uid, gid, (er) => {
73884
+ chownr(path4.resolve(p, child.name), uid, gid, (er) => {
74009
73885
  if (er)
74010
73886
  return cb(er);
74011
- const cpath = path3.resolve(p, child.name);
73887
+ const cpath = path4.resolve(p, child.name);
74012
73888
  chown(cpath, uid, gid, cb);
74013
73889
  });
74014
73890
  } else {
74015
- const cpath = path3.resolve(p, child.name);
73891
+ const cpath = path4.resolve(p, child.name);
74016
73892
  chown(cpath, uid, gid, cb);
74017
73893
  }
74018
73894
  };
@@ -74042,7 +73918,7 @@ var require_chownr = __commonJSMin((exports, module2) => {
74042
73918
  var chownrKidSync = (p, child, uid, gid) => {
74043
73919
  if (typeof child === "string") {
74044
73920
  try {
74045
- const stats = fs2.lstatSync(path3.resolve(p, child));
73921
+ const stats = fs3.lstatSync(path4.resolve(p, child));
74046
73922
  stats.name = child;
74047
73923
  child = stats;
74048
73924
  } catch (er) {
@@ -74053,8 +73929,8 @@ var require_chownr = __commonJSMin((exports, module2) => {
74053
73929
  }
74054
73930
  }
74055
73931
  if (child.isDirectory())
74056
- chownrSync(path3.resolve(p, child.name), uid, gid);
74057
- handleEISDirSync(path3.resolve(p, child.name), uid, gid);
73932
+ chownrSync(path4.resolve(p, child.name), uid, gid);
73933
+ handleEISDirSync(path4.resolve(p, child.name), uid, gid);
74058
73934
  };
74059
73935
  var chownrSync = (p, uid, gid) => {
74060
73936
  let children;
@@ -74078,14 +73954,14 @@ var require_chownr = __commonJSMin((exports, module2) => {
74078
73954
  var require_mkdir = __commonJSMin((exports, module2) => {
74079
73955
  "use strict";
74080
73956
  var mkdirp = require_mkdirp();
74081
- var fs2 = __require("fs");
74082
- var path3 = __require("path");
73957
+ var fs3 = __require("fs");
73958
+ var path4 = __require("path");
74083
73959
  var chownr = require_chownr();
74084
73960
  var normPath = require_normalize_windows_path();
74085
73961
  var SymlinkError = class extends Error {
74086
- constructor(symlink, path4) {
73962
+ constructor(symlink, path5) {
74087
73963
  super("Cannot extract through symbolic link");
74088
- this.path = path4;
73964
+ this.path = path5;
74089
73965
  this.symlink = symlink;
74090
73966
  }
74091
73967
  get name() {
@@ -74093,9 +73969,9 @@ var require_mkdir = __commonJSMin((exports, module2) => {
74093
73969
  }
74094
73970
  };
74095
73971
  var CwdError = class extends Error {
74096
- constructor(path4, code) {
74097
- super(code + ": Cannot cd into '" + path4 + "'");
74098
- this.path = path4;
73972
+ constructor(path5, code) {
73973
+ super(code + ": Cannot cd into '" + path5 + "'");
73974
+ this.path = path5;
74099
73975
  this.code = code;
74100
73976
  }
74101
73977
  get name() {
@@ -74105,7 +73981,7 @@ var require_mkdir = __commonJSMin((exports, module2) => {
74105
73981
  var cGet = (cache, key) => cache.get(normPath(key));
74106
73982
  var cSet = (cache, key, val) => cache.set(normPath(key), val);
74107
73983
  var checkCwd = (dir, cb) => {
74108
- fs2.stat(dir, (er, st) => {
73984
+ fs3.stat(dir, (er, st) => {
74109
73985
  if (er || !st.isDirectory())
74110
73986
  er = new CwdError(dir, er && er.code || "ENOTDIR");
74111
73987
  cb(er);
@@ -74131,7 +74007,7 @@ var require_mkdir = __commonJSMin((exports, module2) => {
74131
74007
  if (created && doChown)
74132
74008
  chownr(created, uid, gid, (er2) => done(er2));
74133
74009
  else if (needChmod)
74134
- fs2.chmod(dir, mode, cb);
74010
+ fs3.chmod(dir, mode, cb);
74135
74011
  else
74136
74012
  cb();
74137
74013
  }
@@ -74142,7 +74018,7 @@ var require_mkdir = __commonJSMin((exports, module2) => {
74142
74018
  return checkCwd(dir, done);
74143
74019
  if (preserve)
74144
74020
  return mkdirp(dir, { mode }).then((made) => done(null, made), done);
74145
- const sub = normPath(path3.relative(cwd, dir));
74021
+ const sub = normPath(path4.relative(cwd, dir));
74146
74022
  const parts = sub.split("/");
74147
74023
  mkdir_(cwd, parts, mode, cache, unlink, cwd, null, done);
74148
74024
  };
@@ -74150,24 +74026,24 @@ var require_mkdir = __commonJSMin((exports, module2) => {
74150
74026
  if (!parts.length)
74151
74027
  return cb(null, created);
74152
74028
  const p = parts.shift();
74153
- const part = normPath(path3.resolve(base + "/" + p));
74029
+ const part = normPath(path4.resolve(base + "/" + p));
74154
74030
  if (cGet(cache, part))
74155
74031
  return mkdir_(part, parts, mode, cache, unlink, cwd, created, cb);
74156
- fs2.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb));
74032
+ fs3.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb));
74157
74033
  };
74158
74034
  var onmkdir = (part, parts, mode, cache, unlink, cwd, created, cb) => (er) => {
74159
74035
  if (er) {
74160
- fs2.lstat(part, (statEr, st) => {
74036
+ fs3.lstat(part, (statEr, st) => {
74161
74037
  if (statEr) {
74162
74038
  statEr.path = statEr.path && normPath(statEr.path);
74163
74039
  cb(statEr);
74164
74040
  } else if (st.isDirectory())
74165
74041
  mkdir_(part, parts, mode, cache, unlink, cwd, created, cb);
74166
74042
  else if (unlink) {
74167
- fs2.unlink(part, (er2) => {
74043
+ fs3.unlink(part, (er2) => {
74168
74044
  if (er2)
74169
74045
  return cb(er2);
74170
- fs2.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb));
74046
+ fs3.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb));
74171
74047
  });
74172
74048
  } else if (st.isSymbolicLink())
74173
74049
  return cb(new SymlinkError(part, part + "/" + parts.join("/")));
@@ -74183,7 +74059,7 @@ var require_mkdir = __commonJSMin((exports, module2) => {
74183
74059
  let ok = false;
74184
74060
  let code = "ENOTDIR";
74185
74061
  try {
74186
- ok = fs2.statSync(dir).isDirectory();
74062
+ ok = fs3.statSync(dir).isDirectory();
74187
74063
  } catch (er) {
74188
74064
  code = er.code;
74189
74065
  } finally {
@@ -74208,7 +74084,7 @@ var require_mkdir = __commonJSMin((exports, module2) => {
74208
74084
  if (created2 && doChown)
74209
74085
  chownr.sync(created2, uid, gid);
74210
74086
  if (needChmod)
74211
- fs2.chmodSync(dir, mode);
74087
+ fs3.chmodSync(dir, mode);
74212
74088
  };
74213
74089
  if (cache && cGet(cache, dir) === true)
74214
74090
  return done();
@@ -74218,25 +74094,25 @@ var require_mkdir = __commonJSMin((exports, module2) => {
74218
74094
  }
74219
74095
  if (preserve)
74220
74096
  return done(mkdirp.sync(dir, mode));
74221
- const sub = normPath(path3.relative(cwd, dir));
74097
+ const sub = normPath(path4.relative(cwd, dir));
74222
74098
  const parts = sub.split("/");
74223
74099
  let created = null;
74224
74100
  for (let p = parts.shift(), part = cwd; p && (part += "/" + p); p = parts.shift()) {
74225
- part = normPath(path3.resolve(part));
74101
+ part = normPath(path4.resolve(part));
74226
74102
  if (cGet(cache, part))
74227
74103
  continue;
74228
74104
  try {
74229
- fs2.mkdirSync(part, mode);
74105
+ fs3.mkdirSync(part, mode);
74230
74106
  created = created || part;
74231
74107
  cSet(cache, part, true);
74232
74108
  } catch (er) {
74233
- const st = fs2.lstatSync(part);
74109
+ const st = fs3.lstatSync(part);
74234
74110
  if (st.isDirectory()) {
74235
74111
  cSet(cache, part, true);
74236
74112
  continue;
74237
74113
  } else if (unlink) {
74238
- fs2.unlinkSync(part);
74239
- fs2.mkdirSync(part, mode);
74114
+ fs3.unlinkSync(part);
74115
+ fs3.mkdirSync(part, mode);
74240
74116
  created = created || part;
74241
74117
  cSet(cache, part, true);
74242
74118
  continue;
@@ -74266,11 +74142,11 @@ var require_path_reservations = __commonJSMin((exports, module2) => {
74266
74142
  module2.exports = () => {
74267
74143
  const queues = /* @__PURE__ */ new Map();
74268
74144
  const reservations = /* @__PURE__ */ new Map();
74269
- const getDirs = (path3) => {
74270
- const dirs = path3.split("/").slice(0, -1).reduce((set, path4) => {
74145
+ const getDirs = (path4) => {
74146
+ const dirs = path4.split("/").slice(0, -1).reduce((set, path5) => {
74271
74147
  if (set.length)
74272
- path4 = join(set[set.length - 1], path4);
74273
- set.push(path4 || "/");
74148
+ path5 = join(set[set.length - 1], path5);
74149
+ set.push(path5 || "/");
74274
74150
  return set;
74275
74151
  }, []);
74276
74152
  return dirs;
@@ -74281,8 +74157,8 @@ var require_path_reservations = __commonJSMin((exports, module2) => {
74281
74157
  if (!res)
74282
74158
  throw new Error("function does not have any path reservations");
74283
74159
  return {
74284
- paths: res.paths.map((path3) => queues.get(path3)),
74285
- dirs: [...res.dirs].map((path3) => queues.get(path3))
74160
+ paths: res.paths.map((path4) => queues.get(path4)),
74161
+ dirs: [...res.dirs].map((path4) => queues.get(path4))
74286
74162
  };
74287
74163
  };
74288
74164
  const check = (fn) => {
@@ -74301,11 +74177,11 @@ var require_path_reservations = __commonJSMin((exports, module2) => {
74301
74177
  return false;
74302
74178
  const { paths, dirs } = reservations.get(fn);
74303
74179
  const next = /* @__PURE__ */ new Set();
74304
- paths.forEach((path3) => {
74305
- const q = queues.get(path3);
74180
+ paths.forEach((path4) => {
74181
+ const q = queues.get(path4);
74306
74182
  assert.equal(q[0], fn);
74307
74183
  if (q.length === 1)
74308
- queues.delete(path3);
74184
+ queues.delete(path4);
74309
74185
  else {
74310
74186
  q.shift();
74311
74187
  if (typeof q[0] === "function")
@@ -74333,12 +74209,12 @@ var require_path_reservations = __commonJSMin((exports, module2) => {
74333
74209
  paths = isWindows ? ["win32 parallelization disabled"] : paths.map((p) => {
74334
74210
  return normalize(stripSlashes(join(p))).toLowerCase();
74335
74211
  });
74336
- const dirs = new Set(paths.map((path3) => getDirs(path3)).reduce((a, b) => a.concat(b)));
74212
+ const dirs = new Set(paths.map((path4) => getDirs(path4)).reduce((a, b) => a.concat(b)));
74337
74213
  reservations.set(fn, { dirs, paths });
74338
- paths.forEach((path3) => {
74339
- const q = queues.get(path3);
74214
+ paths.forEach((path4) => {
74215
+ const q = queues.get(path4);
74340
74216
  if (!q)
74341
- queues.set(path3, [fn]);
74217
+ queues.set(path4, [fn]);
74342
74218
  else
74343
74219
  q.push(fn);
74344
74220
  });
@@ -74359,8 +74235,8 @@ var require_path_reservations = __commonJSMin((exports, module2) => {
74359
74235
  var require_get_write_flag = __commonJSMin((exports, module2) => {
74360
74236
  var platform = process.env.__FAKE_PLATFORM__ || process.platform;
74361
74237
  var isWindows = platform === "win32";
74362
- var fs2 = global.__FAKE_TESTING_FS__ || __require("fs");
74363
- var { O_CREAT, O_TRUNC, O_WRONLY, UV_FS_O_FILEMAP = 0 } = fs2.constants;
74238
+ var fs3 = global.__FAKE_TESTING_FS__ || __require("fs");
74239
+ var { O_CREAT, O_TRUNC, O_WRONLY, UV_FS_O_FILEMAP = 0 } = fs3.constants;
74364
74240
  var fMapEnabled = isWindows && !!UV_FS_O_FILEMAP;
74365
74241
  var fMapLimit = 512 * 1024;
74366
74242
  var fMapFlag = UV_FS_O_FILEMAP | O_TRUNC | O_CREAT | O_WRONLY;
@@ -74370,9 +74246,9 @@ var require_unpack = __commonJSMin((exports, module2) => {
74370
74246
  "use strict";
74371
74247
  var assert = __require("assert");
74372
74248
  var Parser = require_parse();
74373
- var fs2 = __require("fs");
74249
+ var fs3 = __require("fs");
74374
74250
  var fsm = require_fs_minipass();
74375
- var path3 = __require("path");
74251
+ var path4 = __require("path");
74376
74252
  var mkdir = require_mkdir();
74377
74253
  var wc = require_winchars();
74378
74254
  var pathReservations = require_path_reservations();
@@ -74409,31 +74285,31 @@ var require_unpack = __commonJSMin((exports, module2) => {
74409
74285
  var getFlag = require_get_write_flag();
74410
74286
  var platform = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
74411
74287
  var isWindows = platform === "win32";
74412
- var unlinkFile = (path4, cb) => {
74288
+ var unlinkFile = (path5, cb) => {
74413
74289
  if (!isWindows)
74414
- return fs2.unlink(path4, cb);
74415
- const name4 = path4 + ".DELETE." + crypto.randomBytes(16).toString("hex");
74416
- fs2.rename(path4, name4, (er) => {
74290
+ return fs3.unlink(path5, cb);
74291
+ const name4 = path5 + ".DELETE." + crypto.randomBytes(16).toString("hex");
74292
+ fs3.rename(path5, name4, (er) => {
74417
74293
  if (er)
74418
74294
  return cb(er);
74419
- fs2.unlink(name4, cb);
74295
+ fs3.unlink(name4, cb);
74420
74296
  });
74421
74297
  };
74422
- var unlinkFileSync = (path4) => {
74298
+ var unlinkFileSync = (path5) => {
74423
74299
  if (!isWindows)
74424
- return fs2.unlinkSync(path4);
74425
- const name4 = path4 + ".DELETE." + crypto.randomBytes(16).toString("hex");
74426
- fs2.renameSync(path4, name4);
74427
- fs2.unlinkSync(name4);
74300
+ return fs3.unlinkSync(path5);
74301
+ const name4 = path5 + ".DELETE." + crypto.randomBytes(16).toString("hex");
74302
+ fs3.renameSync(path5, name4);
74303
+ fs3.unlinkSync(name4);
74428
74304
  };
74429
74305
  var uint32 = (a, b, c) => a === a >>> 0 ? a : b === b >>> 0 ? b : c;
74430
- var cacheKeyNormalize = (path4) => normalize(stripSlash(normPath(path4))).toLowerCase();
74306
+ var cacheKeyNormalize = (path5) => normalize(stripSlash(normPath(path5))).toLowerCase();
74431
74307
  var pruneCache = (cache, abs) => {
74432
74308
  abs = cacheKeyNormalize(abs);
74433
- for (const path4 of cache.keys()) {
74434
- const pnorm = cacheKeyNormalize(path4);
74309
+ for (const path5 of cache.keys()) {
74310
+ const pnorm = cacheKeyNormalize(path5);
74435
74311
  if (pnorm === abs || pnorm.indexOf(abs + "/") === 0)
74436
- cache.delete(path4);
74312
+ cache.delete(path5);
74437
74313
  }
74438
74314
  };
74439
74315
  var dropCache = (cache) => {
@@ -74484,7 +74360,7 @@ var require_unpack = __commonJSMin((exports, module2) => {
74484
74360
  this.noMtime = !!opt.noMtime;
74485
74361
  this.preservePaths = !!opt.preservePaths;
74486
74362
  this.unlink = !!opt.unlink;
74487
- this.cwd = normPath(path3.resolve(opt.cwd || process.cwd()));
74363
+ this.cwd = normPath(path4.resolve(opt.cwd || process.cwd()));
74488
74364
  this.strip = +opt.strip || 0;
74489
74365
  this.processUmask = opt.noChmod ? 0 : process.umask();
74490
74366
  this.umask = typeof opt.umask === "number" ? opt.umask : this.processUmask;
@@ -74538,10 +74414,10 @@ var require_unpack = __commonJSMin((exports, module2) => {
74538
74414
  });
74539
74415
  }
74540
74416
  }
74541
- if (path3.isAbsolute(entry.path))
74542
- entry.absolute = normPath(path3.resolve(entry.path));
74417
+ if (path4.isAbsolute(entry.path))
74418
+ entry.absolute = normPath(path4.resolve(entry.path));
74543
74419
  else
74544
- entry.absolute = normPath(path3.resolve(this.cwd, entry.path));
74420
+ entry.absolute = normPath(path4.resolve(this.cwd, entry.path));
74545
74421
  if (!this.preservePaths && entry.absolute.indexOf(this.cwd + "/") !== 0 && entry.absolute !== this.cwd) {
74546
74422
  this.warn("TAR_ENTRY_ERROR", "path escaped extraction target", {
74547
74423
  entry,
@@ -74554,9 +74430,9 @@ var require_unpack = __commonJSMin((exports, module2) => {
74554
74430
  if (entry.absolute === this.cwd && entry.type !== "Directory" && entry.type !== "GNUDumpDir")
74555
74431
  return false;
74556
74432
  if (this.win32) {
74557
- const { root: aRoot } = path3.win32.parse(entry.absolute);
74433
+ const { root: aRoot } = path4.win32.parse(entry.absolute);
74558
74434
  entry.absolute = aRoot + wc.encode(entry.absolute.substr(aRoot.length));
74559
- const { root: pRoot } = path3.win32.parse(entry.path);
74435
+ const { root: pRoot } = path4.win32.parse(entry.path);
74560
74436
  entry.path = pRoot + wc.encode(entry.path.substr(pRoot.length));
74561
74437
  }
74562
74438
  return true;
@@ -74625,7 +74501,7 @@ var require_unpack = __commonJSMin((exports, module2) => {
74625
74501
  });
74626
74502
  stream.on("error", (er) => {
74627
74503
  if (stream.fd)
74628
- fs2.close(stream.fd, () => {
74504
+ fs3.close(stream.fd, () => {
74629
74505
  });
74630
74506
  stream.write = () => true;
74631
74507
  this[ONERROR](er, entry);
@@ -74635,14 +74511,14 @@ var require_unpack = __commonJSMin((exports, module2) => {
74635
74511
  const done = (er) => {
74636
74512
  if (er) {
74637
74513
  if (stream.fd)
74638
- fs2.close(stream.fd, () => {
74514
+ fs3.close(stream.fd, () => {
74639
74515
  });
74640
74516
  this[ONERROR](er, entry);
74641
74517
  fullyDone();
74642
74518
  return;
74643
74519
  }
74644
74520
  if (--actions === 0) {
74645
- fs2.close(stream.fd, (er2) => {
74521
+ fs3.close(stream.fd, (er2) => {
74646
74522
  if (er2)
74647
74523
  this[ONERROR](er2, entry);
74648
74524
  else
@@ -74658,13 +74534,13 @@ var require_unpack = __commonJSMin((exports, module2) => {
74658
74534
  actions++;
74659
74535
  const atime = entry.atime || new Date();
74660
74536
  const mtime = entry.mtime;
74661
- fs2.futimes(fd, atime, mtime, (er) => er ? fs2.utimes(abs, atime, mtime, (er2) => done(er2 && er)) : done());
74537
+ fs3.futimes(fd, atime, mtime, (er) => er ? fs3.utimes(abs, atime, mtime, (er2) => done(er2 && er)) : done());
74662
74538
  }
74663
74539
  if (this[DOCHOWN](entry)) {
74664
74540
  actions++;
74665
74541
  const uid = this[UID](entry);
74666
74542
  const gid = this[GID](entry);
74667
- fs2.fchown(fd, uid, gid, (er) => er ? fs2.chown(abs, uid, gid, (er2) => done(er2 && er)) : done());
74543
+ fs3.fchown(fd, uid, gid, (er) => er ? fs3.chown(abs, uid, gid, (er2) => done(er2 && er)) : done());
74668
74544
  }
74669
74545
  done();
74670
74546
  });
@@ -74696,11 +74572,11 @@ var require_unpack = __commonJSMin((exports, module2) => {
74696
74572
  };
74697
74573
  if (entry.mtime && !this.noMtime) {
74698
74574
  actions++;
74699
- fs2.utimes(entry.absolute, entry.atime || new Date(), entry.mtime, done);
74575
+ fs3.utimes(entry.absolute, entry.atime || new Date(), entry.mtime, done);
74700
74576
  }
74701
74577
  if (this[DOCHOWN](entry)) {
74702
74578
  actions++;
74703
- fs2.chown(entry.absolute, this[UID](entry), this[GID](entry), done);
74579
+ fs3.chown(entry.absolute, this[UID](entry), this[GID](entry), done);
74704
74580
  }
74705
74581
  done();
74706
74582
  });
@@ -74714,7 +74590,7 @@ var require_unpack = __commonJSMin((exports, module2) => {
74714
74590
  this[LINK](entry, entry.linkpath, "symlink", done);
74715
74591
  }
74716
74592
  [HARDLINK](entry, done) {
74717
- const linkpath = normPath(path3.resolve(this.cwd, entry.linkpath));
74593
+ const linkpath = normPath(path4.resolve(this.cwd, entry.linkpath));
74718
74594
  this[LINK](entry, linkpath, "link", done);
74719
74595
  }
74720
74596
  [PEND]() {
@@ -74763,7 +74639,7 @@ var require_unpack = __commonJSMin((exports, module2) => {
74763
74639
  };
74764
74640
  const start = () => {
74765
74641
  if (entry.absolute !== this.cwd) {
74766
- const parent = normPath(path3.dirname(entry.absolute));
74642
+ const parent = normPath(path4.dirname(entry.absolute));
74767
74643
  if (parent !== this.cwd) {
74768
74644
  return this[MKDIR](parent, this.dmode, (er) => {
74769
74645
  if (er) {
@@ -74778,7 +74654,7 @@ var require_unpack = __commonJSMin((exports, module2) => {
74778
74654
  afterMakeParent();
74779
74655
  };
74780
74656
  const afterMakeParent = () => {
74781
- fs2.lstat(entry.absolute, (lstatEr, st) => {
74657
+ fs3.lstat(entry.absolute, (lstatEr, st) => {
74782
74658
  if (st && (this.keep || this.newer && st.mtime > entry.mtime)) {
74783
74659
  this[SKIP](entry);
74784
74660
  done();
@@ -74792,10 +74668,10 @@ var require_unpack = __commonJSMin((exports, module2) => {
74792
74668
  const afterChmod = (er) => this[MAKEFS](er, entry, done);
74793
74669
  if (!needChmod)
74794
74670
  return afterChmod();
74795
- return fs2.chmod(entry.absolute, entry.mode, afterChmod);
74671
+ return fs3.chmod(entry.absolute, entry.mode, afterChmod);
74796
74672
  }
74797
74673
  if (entry.absolute !== this.cwd) {
74798
- return fs2.rmdir(entry.absolute, (er) => this[MAKEFS](er, entry, done));
74674
+ return fs3.rmdir(entry.absolute, (er) => this[MAKEFS](er, entry, done));
74799
74675
  }
74800
74676
  }
74801
74677
  if (entry.absolute === this.cwd)
@@ -74829,7 +74705,7 @@ var require_unpack = __commonJSMin((exports, module2) => {
74829
74705
  }
74830
74706
  }
74831
74707
  [LINK](entry, linkpath, link, done) {
74832
- fs2[link](linkpath, entry.absolute, (er) => {
74708
+ fs3[link](linkpath, entry.absolute, (er) => {
74833
74709
  if (er)
74834
74710
  this[ONERROR](er, entry);
74835
74711
  else {
@@ -74861,14 +74737,14 @@ var require_unpack = __commonJSMin((exports, module2) => {
74861
74737
  this[CHECKED_CWD] = true;
74862
74738
  }
74863
74739
  if (entry.absolute !== this.cwd) {
74864
- const parent = normPath(path3.dirname(entry.absolute));
74740
+ const parent = normPath(path4.dirname(entry.absolute));
74865
74741
  if (parent !== this.cwd) {
74866
74742
  const mkParent = this[MKDIR](parent, this.dmode);
74867
74743
  if (mkParent)
74868
74744
  return this[ONERROR](mkParent, entry);
74869
74745
  }
74870
74746
  }
74871
- const [lstatEr, st] = callSync(() => fs2.lstatSync(entry.absolute));
74747
+ const [lstatEr, st] = callSync(() => fs3.lstatSync(entry.absolute));
74872
74748
  if (st && (this.keep || this.newer && st.mtime > entry.mtime))
74873
74749
  return this[SKIP](entry);
74874
74750
  if (lstatEr || this[ISREUSABLE](entry, st))
@@ -74877,11 +74753,11 @@ var require_unpack = __commonJSMin((exports, module2) => {
74877
74753
  if (entry.type === "Directory") {
74878
74754
  const needChmod = !this.noChmod && entry.mode && (st.mode & 4095) !== entry.mode;
74879
74755
  const [er3] = needChmod ? callSync(() => {
74880
- fs2.chmodSync(entry.absolute, entry.mode);
74756
+ fs3.chmodSync(entry.absolute, entry.mode);
74881
74757
  }) : [];
74882
74758
  return this[MAKEFS](er3, entry);
74883
74759
  }
74884
- const [er2] = callSync(() => fs2.rmdirSync(entry.absolute));
74760
+ const [er2] = callSync(() => fs3.rmdirSync(entry.absolute));
74885
74761
  this[MAKEFS](er2, entry);
74886
74762
  }
74887
74763
  const [er] = entry.absolute === this.cwd ? [] : callSync(() => unlinkFileSync(entry.absolute));
@@ -74892,7 +74768,7 @@ var require_unpack = __commonJSMin((exports, module2) => {
74892
74768
  const oner = (er) => {
74893
74769
  let closeError;
74894
74770
  try {
74895
- fs2.closeSync(fd);
74771
+ fs3.closeSync(fd);
74896
74772
  } catch (e) {
74897
74773
  closeError = e;
74898
74774
  }
@@ -74902,7 +74778,7 @@ var require_unpack = __commonJSMin((exports, module2) => {
74902
74778
  };
74903
74779
  let fd;
74904
74780
  try {
74905
- fd = fs2.openSync(entry.absolute, getFlag(entry.size), mode);
74781
+ fd = fs3.openSync(entry.absolute, getFlag(entry.size), mode);
74906
74782
  } catch (er) {
74907
74783
  return oner(er);
74908
74784
  }
@@ -74913,7 +74789,7 @@ var require_unpack = __commonJSMin((exports, module2) => {
74913
74789
  }
74914
74790
  tx.on("data", (chunk) => {
74915
74791
  try {
74916
- fs2.writeSync(fd, chunk, 0, chunk.length);
74792
+ fs3.writeSync(fd, chunk, 0, chunk.length);
74917
74793
  } catch (er) {
74918
74794
  oner(er);
74919
74795
  }
@@ -74924,10 +74800,10 @@ var require_unpack = __commonJSMin((exports, module2) => {
74924
74800
  const atime = entry.atime || new Date();
74925
74801
  const mtime = entry.mtime;
74926
74802
  try {
74927
- fs2.futimesSync(fd, atime, mtime);
74803
+ fs3.futimesSync(fd, atime, mtime);
74928
74804
  } catch (futimeser) {
74929
74805
  try {
74930
- fs2.utimesSync(entry.absolute, atime, mtime);
74806
+ fs3.utimesSync(entry.absolute, atime, mtime);
74931
74807
  } catch (utimeser) {
74932
74808
  er = futimeser;
74933
74809
  }
@@ -74937,10 +74813,10 @@ var require_unpack = __commonJSMin((exports, module2) => {
74937
74813
  const uid = this[UID](entry);
74938
74814
  const gid = this[GID](entry);
74939
74815
  try {
74940
- fs2.fchownSync(fd, uid, gid);
74816
+ fs3.fchownSync(fd, uid, gid);
74941
74817
  } catch (fchowner) {
74942
74818
  try {
74943
- fs2.chownSync(entry.absolute, uid, gid);
74819
+ fs3.chownSync(entry.absolute, uid, gid);
74944
74820
  } catch (chowner) {
74945
74821
  er = er || fchowner;
74946
74822
  }
@@ -74959,13 +74835,13 @@ var require_unpack = __commonJSMin((exports, module2) => {
74959
74835
  }
74960
74836
  if (entry.mtime && !this.noMtime) {
74961
74837
  try {
74962
- fs2.utimesSync(entry.absolute, entry.atime || new Date(), entry.mtime);
74838
+ fs3.utimesSync(entry.absolute, entry.atime || new Date(), entry.mtime);
74963
74839
  } catch (er2) {
74964
74840
  }
74965
74841
  }
74966
74842
  if (this[DOCHOWN](entry)) {
74967
74843
  try {
74968
- fs2.chownSync(entry.absolute, this[UID](entry), this[GID](entry));
74844
+ fs3.chownSync(entry.absolute, this[UID](entry), this[GID](entry));
74969
74845
  } catch (er2) {
74970
74846
  }
74971
74847
  }
@@ -74992,7 +74868,7 @@ var require_unpack = __commonJSMin((exports, module2) => {
74992
74868
  }
74993
74869
  [LINK](entry, linkpath, link, done) {
74994
74870
  try {
74995
- fs2[link + "Sync"](linkpath, entry.absolute);
74871
+ fs3[link + "Sync"](linkpath, entry.absolute);
74996
74872
  done();
74997
74873
  entry.resume();
74998
74874
  } catch (er) {
@@ -75007,9 +74883,9 @@ var require_extract = __commonJSMin((exports, module2) => {
75007
74883
  "use strict";
75008
74884
  var hlo = require_high_level_opt();
75009
74885
  var Unpack = require_unpack();
75010
- var fs2 = __require("fs");
74886
+ var fs3 = __require("fs");
75011
74887
  var fsm = require_fs_minipass();
75012
- var path3 = __require("path");
74888
+ var path4 = __require("path");
75013
74889
  var stripSlash = require_strip_trailing_slashes();
75014
74890
  module2.exports = (opt_, files, cb) => {
75015
74891
  if (typeof opt_ === "function")
@@ -75035,8 +74911,8 @@ var require_extract = __commonJSMin((exports, module2) => {
75035
74911
  const map = new Map(files.map((f) => [stripSlash(f), true]));
75036
74912
  const filter = opt.filter;
75037
74913
  const mapHas = (file, r) => {
75038
- const root = r || path3.parse(file).root || ".";
75039
- const ret = file === root ? false : map.has(file) ? map.get(file) : mapHas(path3.dirname(file), root);
74914
+ const root = r || path4.parse(file).root || ".";
74915
+ const ret = file === root ? false : map.has(file) ? map.get(file) : mapHas(path4.dirname(file), root);
75040
74916
  map.set(file, ret);
75041
74917
  return ret;
75042
74918
  };
@@ -75045,7 +74921,7 @@ var require_extract = __commonJSMin((exports, module2) => {
75045
74921
  var extractFileSync = (opt) => {
75046
74922
  const u = new Unpack.Sync(opt);
75047
74923
  const file = opt.file;
75048
- const stat = fs2.statSync(file);
74924
+ const stat = fs3.statSync(file);
75049
74925
  const readSize = opt.maxReadSize || 16 * 1024 * 1024;
75050
74926
  const stream = new fsm.ReadStreamSync(file, {
75051
74927
  readSize,
@@ -75060,7 +74936,7 @@ var require_extract = __commonJSMin((exports, module2) => {
75060
74936
  const p = new Promise((resolve, reject) => {
75061
74937
  u.on("error", reject);
75062
74938
  u.on("close", resolve);
75063
- fs2.stat(file, (er, stat) => {
74939
+ fs3.stat(file, (er, stat) => {
75064
74940
  if (er)
75065
74941
  reject(er);
75066
74942
  else {
@@ -75146,12 +75022,12 @@ var require_getNpmVersion = __commonJSMin((exports) => {
75146
75022
  var _constants = require_constants6();
75147
75023
  async function getNpmVersion(packageName, options3) {
75148
75024
  const {
75149
- version: version4,
75025
+ version: version5,
75150
75026
  registryUrl
75151
75027
  } = options3 || {};
75152
75028
  const params = ["view"];
75153
- if (version4) {
75154
- params.push(`${packageName}@${version4}`);
75029
+ if (version5) {
75030
+ params.push(`${packageName}@${version5}`);
75155
75031
  } else {
75156
75032
  params.push(packageName);
75157
75033
  }
@@ -75239,20 +75115,20 @@ var require_downloadPackage = __commonJSMin((exports) => {
75239
75115
  registryUrl,
75240
75116
  install
75241
75117
  } = options3;
75242
- const version4 = await (0, _getNpmVersion.getNpmVersion)(pkgName, {
75118
+ const version5 = await (0, _getNpmVersion.getNpmVersion)(pkgName, {
75243
75119
  registryUrl,
75244
75120
  version: pkgVersion
75245
75121
  });
75246
- if (version4 === void 0) {
75122
+ if (version5 === void 0) {
75247
75123
  throw new Error(`package ${pkgName}@${pkgVersion} not found in registry`);
75248
75124
  }
75249
- const targetDir = `${_os.default.tmpdir()}/csmith-generator/${pkgName}@${version4}`;
75125
+ const targetDir = `${_os.default.tmpdir()}/csmith-generator/${pkgName}@${version5}`;
75250
75126
  if (await (0, _fsExists.fsExists)(targetDir) && await isValidCache(targetDir)) {
75251
75127
  return targetDir;
75252
75128
  }
75253
75129
  await _utils.fs.remove(targetDir);
75254
75130
  await _utils.fs.mkdirp(targetDir);
75255
- const tarballPkg = await (0, _getNpmTarballUrl.getNpmTarballUrl)(pkgName, version4, {
75131
+ const tarballPkg = await (0, _getNpmTarballUrl.getNpmTarballUrl)(pkgName, version5, {
75256
75132
  registryUrl
75257
75133
  });
75258
75134
  await downloadAndDecompressTargz(tarballPkg, targetDir);
@@ -75409,9 +75285,9 @@ var require_materials = __commonJSMin((exports) => {
75409
75285
  async loadRemoteGenerator(generator) {
75410
75286
  const {
75411
75287
  name: name4,
75412
- version: version4
75288
+ version: version5
75413
75289
  } = (0, _utils.getPackageInfo)(generator);
75414
- const localPath = await (0, _utils.downloadPackage)(name4, version4, {
75290
+ const localPath = await (0, _utils.downloadPackage)(name4, version5, {
75415
75291
  registryUrl: this.registryUrl,
75416
75292
  install: true
75417
75293
  });
@@ -75585,8 +75461,9 @@ var require_node = __commonJSMin((exports) => {
75585
75461
  });
75586
75462
  });
75587
75463
  });
75588
- var import_utils4 = __toESM2(require_dist());
75464
+ var import_utils5 = __toESM2(require_dist());
75589
75465
  var import_codesmith = __toESM2(require_node());
75466
+ var version4 = "2.0.0-beta.2";
75590
75467
  function _classCallCheck(instance, Constructor) {
75591
75468
  if (!(instance instanceof Constructor)) {
75592
75469
  throw new TypeError("Cannot call a class as a function");
@@ -75720,15 +75597,21 @@ var ZH_LOCALE = {
75720
75597
  module: "\u4E00\u952E\u521B\u5EFA\u6A21\u5757\u5316\u5E94\u7528(\u4F7F\u7528\u9ED8\u8BA4\u914D\u7F6E)",
75721
75598
  monorepo: "\u4E00\u952E\u5E38\u89C1 Monorepo \u5E94\u7528(\u4F7F\u7528\u9ED8\u8BA4\u914D\u7F6E)",
75722
75599
  config: "\u521B\u5EFA\u9879\u76EE\u9ED8\u8BA4\u914D\u7F6E(JSON \u5B57\u7B26\u4E32)",
75600
+ generator: "\u4F7F\u7528\u81EA\u5B9A\u4E49\u751F\u6210\u5668",
75723
75601
  packages: "\u521B\u5EFA\u9879\u76EE\u6307\u5B9A\u7279\u5B9A\u4F9D\u8D56\u7248\u672C\u4FE1\u606F",
75724
75602
  distTag: "\u751F\u6210\u9879\u76EE\u65F6\u751F\u6210\u5668\u4F7F\u7528\u7279\u6B8A\u7684 npm Tag",
75725
75603
  registry: "\u5728\u521B\u5EFA\u8FC7\u7A0B\u4E2D\u5B9A\u5236 npm Registry",
75726
75604
  debug: "\u5F00\u542F Debug \u6A21\u5F0F\uFF0C\u6253\u5370\u8C03\u8BD5\u65E5\u5FD7\u4FE1\u606F",
75727
- plugin: "\u4F7F\u7528\u751F\u6210\u5668\u63D2\u4EF6\u521B\u5EFA\u65B0\u7684\u5DE5\u7A0B\u65B9\u6848\u7C7B\u578B\u6216\u5B9A\u5236\u5316 Modern.js \u5DE5\u7A0B\u65B9\u6848"
75605
+ plugin: "\u4F7F\u7528\u751F\u6210\u5668\u63D2\u4EF6\u521B\u5EFA\u65B0\u7684\u5DE5\u7A0B\u65B9\u6848\u7C7B\u578B\u6216\u5B9A\u5236\u5316 Modern.js \u5DE5\u7A0B\u65B9\u6848",
75606
+ noNeedInstall: "\u65E0\u9700\u5B89\u88C5\u4F9D\u8D56",
75607
+ version: "\u5F53\u524D create \u5DE5\u5177\u7248\u672C\u53F7",
75608
+ lang: "\u8BBE\u7F6E create \u5DE5\u5177\u8BED\u8A00(zh \u6216\u8005 en)",
75609
+ cleanCache: "\u6E05\u9664\u672C\u5730\u751F\u6210\u5668\u7F13\u5B58"
75728
75610
  },
75729
75611
  tooltip: {
75730
75612
  dir_entry: `\u4F60\u53EF\u4EE5\u6267\u884C 'cd {dirName}' \u8FDB\u5165\u76EE\u5F55`,
75731
- dir_exists: `\u76EE\u5F55 '{dirName}' \u5DF2\u7ECF\u5B58\u5728`
75613
+ dir_exists: `\u76EE\u5F55 '{dirName}' \u5DF2\u7ECF\u5B58\u5728`,
75614
+ clean_cache_success: "\u6E05\u9664\u751F\u6210\u5668\u7F13\u5B58\u6210\u529F\uFF01"
75732
75615
  }
75733
75616
  };
75734
75617
  var EN_LOCALE = {
@@ -75742,11 +75625,17 @@ var EN_LOCALE = {
75742
75625
  distTag: `use specified tag version for it's generator`,
75743
75626
  registry: "set npm registry url to run npm command",
75744
75627
  debug: "using debug mode to log something",
75745
- plugin: "use generator plugin to create new solution or customize Modern.js solution"
75628
+ generator: "run custom generator",
75629
+ plugin: "use generator plugin to create new solution or customize Modern.js solution",
75630
+ noNeedInstall: "not run install command",
75631
+ version: "show create tools version",
75632
+ lang: "set create tools language(en or zh)",
75633
+ cleanCache: "clean locale generator cache"
75746
75634
  },
75747
75635
  tooltip: {
75748
75636
  dir_entry: `you can execute 'cd {dirName}' to entry the project directory`,
75749
- dir_exists: `directory '{dirName}' already exists`
75637
+ dir_exists: `directory '{dirName}' already exists`,
75638
+ clean_cache_success: "Clean generator cache success!"
75750
75639
  }
75751
75640
  };
75752
75641
  var i18n = new I18n();
@@ -75801,7 +75690,18 @@ function createDir(dirname, pwd) {
75801
75690
  }
75802
75691
  var REPO_GENERATOR = "@modern-js/repo-generator";
75803
75692
  function getDefaultConfig(projectDir = import_path.default.basename(process.cwd()), options3, logger) {
75804
- const { mwa, module: module2, monorepo, config, packages, registry, distTag, plugin } = options3;
75693
+ const {
75694
+ mwa,
75695
+ module: module2,
75696
+ monorepo,
75697
+ config,
75698
+ packages,
75699
+ registry,
75700
+ distTag,
75701
+ plugin,
75702
+ needInstall,
75703
+ lang
75704
+ } = options3;
75805
75705
  let initialConfig = {};
75806
75706
  try {
75807
75707
  if (config) {
@@ -75813,7 +75713,7 @@ function getDefaultConfig(projectDir = import_path.default.basename(process.cwd(
75813
75713
  process.exit(1);
75814
75714
  }
75815
75715
  if (!initialConfig.locale) {
75816
- initialConfig.locale = getLocaleLanguage();
75716
+ initialConfig.locale = lang || getLocaleLanguage();
75817
75717
  }
75818
75718
  if (mwa) {
75819
75719
  initialConfig.defaultSolution = "mwa";
@@ -75837,6 +75737,9 @@ function getDefaultConfig(projectDir = import_path.default.basename(process.cwd(
75837
75737
  if (plugin) {
75838
75738
  initialConfig.plugins = plugin;
75839
75739
  }
75740
+ if (!needInstall) {
75741
+ initialConfig.noNeedInstall = true;
75742
+ }
75840
75743
  try {
75841
75744
  if (packages) {
75842
75745
  const packagesInfo = JSON.parse(packages);
@@ -75847,14 +75750,31 @@ function getDefaultConfig(projectDir = import_path.default.basename(process.cwd(
75847
75750
  logger.debug("parse packages error: ", e);
75848
75751
  process.exit(1);
75849
75752
  }
75753
+ if (process.env.EDENX_NO_INSTALL) {
75754
+ initialConfig.noNeedInstall = true;
75755
+ }
75850
75756
  return initialConfig;
75851
75757
  }
75852
75758
  async function createAction(projectDir, options3) {
75853
- const { debug, registry, distTag } = options3;
75759
+ const {
75760
+ lang,
75761
+ version: version5,
75762
+ debug,
75763
+ registry,
75764
+ distTag,
75765
+ generator: customGenerator
75766
+ } = options3;
75854
75767
  const smith = new import_codesmith.CodeSmith({
75855
75768
  debug,
75856
75769
  registryUrl: registry
75857
75770
  });
75771
+ if (lang) {
75772
+ i18n.changeLanguage({ locale: lang });
75773
+ }
75774
+ if (version5) {
75775
+ smith.logger.info("@modern-js/create", `v${version4}`);
75776
+ return;
75777
+ }
75858
75778
  smith.logger.debug("@modern-js/create", projectDir || "", options3);
75859
75779
  let pwd = process.cwd();
75860
75780
  try {
@@ -75864,11 +75784,11 @@ async function createAction(projectDir, options3) {
75864
75784
  process.exit(1);
75865
75785
  }
75866
75786
  const config = getDefaultConfig(projectDir, options3, smith.logger);
75867
- let generator = REPO_GENERATOR;
75868
- if (process.env.CODESMITH_ENV === "development") {
75787
+ let generator = customGenerator || REPO_GENERATOR;
75788
+ if (process.env.CODESMITH_ENV === "development" && generator === REPO_GENERATOR) {
75869
75789
  generator = __require.resolve(REPO_GENERATOR);
75870
- } else if (distTag) {
75871
- generator = `${REPO_GENERATOR}@${distTag}`;
75790
+ } else if (!import_path.default.isAbsolute(generator) && distTag) {
75791
+ generator = `${generator}@${distTag}`;
75872
75792
  }
75873
75793
  const task = [
75874
75794
  {
@@ -75891,12 +75811,25 @@ async function createAction(projectDir, options3) {
75891
75811
  smith.logger.info(i18n.t(localeKeys.tooltip.dir_entry, { dirName: projectDir }));
75892
75812
  }
75893
75813
  }
75814
+ var import_utils4 = __toESM2(require_dist());
75815
+ async function cleanCacheAction() {
75816
+ const tmpDir = import_os.default.tmpdir();
75817
+ const spinner = (0, import_utils4.ora)({
75818
+ text: "Load Generator...",
75819
+ spinner: "runner"
75820
+ }).start();
75821
+ const cacheDir = import_path3.default.join(tmpDir, "csmith-generator");
75822
+ import_utils4.fs.emptyDirSync(cacheDir);
75823
+ spinner.stop();
75824
+ console.info(`[INFO] ${i18n.t(localeKeys.tooltip.clean_cache_success)}`);
75825
+ }
75894
75826
  function src_default() {
75895
75827
  i18n.changeLanguage({ locale: getLocaleLanguage() });
75896
- const program = new import_utils4.Command();
75897
- program.usage("[projectDir]").description(i18n.t(localeKeys.command.description)).argument("[projectDir]").option("-c, --config <config>", i18n.t(localeKeys.command.config), "{}").option("--packages <packages>", i18n.t(localeKeys.command.packages), "{}").option("--mwa", i18n.t(localeKeys.command.mwa), false).option("--module", i18n.t(localeKeys.command.module), false).option("--monorepo", i18n.t(localeKeys.command.monorepo), false).option("-p, --plugin <plugin>", i18n.t(localeKeys.command.plugin), (val, memo) => {
75828
+ const program = new import_utils5.Command();
75829
+ program.command("clean-cache").description(i18n.t(localeKeys.command.cleanCache)).action(cleanCacheAction);
75830
+ program.usage("[projectDir]").description(i18n.t(localeKeys.command.description)).argument("[projectDir]").option("-c, --config <config>", i18n.t(localeKeys.command.config), "{}").option("--packages <packages>", i18n.t(localeKeys.command.packages), "{}").option("--mwa", i18n.t(localeKeys.command.mwa), false).option("--module", i18n.t(localeKeys.command.module), false).option("--monorepo", i18n.t(localeKeys.command.monorepo), false).option("--generator <generator>", i18n.t(localeKeys.command.generator)).option("-p, --plugin <plugin>", i18n.t(localeKeys.command.plugin), (val, memo) => {
75898
75831
  memo.push(val);
75899
75832
  return memo;
75900
- }, []).option("--dist-tag <distTag>", i18n.t(localeKeys.command.distTag), "").option("--registry <registry>", i18n.t(localeKeys.command.registry), "").option("-d,--debug", i18n.t(localeKeys.command.debug), false).action(createAction);
75833
+ }, []).option("--dist-tag <distTag>", i18n.t(localeKeys.command.distTag), "").option("--registry <registry>", i18n.t(localeKeys.command.registry), "").option("-d,--debug", i18n.t(localeKeys.command.debug), false).option("--no-need-install", i18n.t(localeKeys.command.noNeedInstall), false).option("--lang <lang>", i18n.t(localeKeys.command.lang)).option("--version", i18n.t(localeKeys.command.version)).action(createAction);
75901
75834
  program.parse(process.argv);
75902
75835
  }