@modern-js/base-generator 3.0.8 → 3.0.10

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 (3) hide show
  1. package/README.md +2 -2
  2. package/dist/index.js +755 -776
  3. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -19036,11 +19036,11 @@ var require_lodash = __commonJS({
19036
19036
  return isFunction(object[key]);
19037
19037
  });
19038
19038
  }
19039
- function baseGet(object, path2) {
19040
- path2 = castPath(path2, object);
19041
- var index = 0, length = path2.length;
19039
+ function baseGet(object, path3) {
19040
+ path3 = castPath(path3, object);
19041
+ var index = 0, length = path3.length;
19042
19042
  while (object != null && index < length) {
19043
- object = object[toKey(path2[index++])];
19043
+ object = object[toKey(path3[index++])];
19044
19044
  }
19045
19045
  return index && index == length ? object : undefined2;
19046
19046
  }
@@ -19104,10 +19104,10 @@ var require_lodash = __commonJS({
19104
19104
  });
19105
19105
  return accumulator;
19106
19106
  }
19107
- function baseInvoke(object, path2, args) {
19108
- path2 = castPath(path2, object);
19109
- object = parent(object, path2);
19110
- var func = object == null ? object : object[toKey(last(path2))];
19107
+ function baseInvoke(object, path3, args) {
19108
+ path3 = castPath(path3, object);
19109
+ object = parent(object, path3);
19110
+ var func = object == null ? object : object[toKey(last(path3))];
19111
19111
  return func == null ? undefined2 : apply(func, object, args);
19112
19112
  }
19113
19113
  function baseIsArguments(value) {
@@ -19263,13 +19263,13 @@ var require_lodash = __commonJS({
19263
19263
  return object === source || baseIsMatch(object, source, matchData);
19264
19264
  };
19265
19265
  }
19266
- function baseMatchesProperty(path2, srcValue) {
19267
- if (isKey(path2) && isStrictComparable(srcValue)) {
19268
- return matchesStrictComparable(toKey(path2), srcValue);
19266
+ function baseMatchesProperty(path3, srcValue) {
19267
+ if (isKey(path3) && isStrictComparable(srcValue)) {
19268
+ return matchesStrictComparable(toKey(path3), srcValue);
19269
19269
  }
19270
19270
  return function(object) {
19271
- var objValue = get2(object, path2);
19272
- return objValue === undefined2 && objValue === srcValue ? hasIn(object, path2) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
19271
+ var objValue = get2(object, path3);
19272
+ return objValue === undefined2 && objValue === srcValue ? hasIn(object, path3) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
19273
19273
  };
19274
19274
  }
19275
19275
  function baseMerge(object, source, srcIndex, customizer, stack) {
@@ -19366,23 +19366,23 @@ var require_lodash = __commonJS({
19366
19366
  });
19367
19367
  }
19368
19368
  function basePick(object, paths) {
19369
- return basePickBy(object, paths, function(value, path2) {
19370
- return hasIn(object, path2);
19369
+ return basePickBy(object, paths, function(value, path3) {
19370
+ return hasIn(object, path3);
19371
19371
  });
19372
19372
  }
19373
19373
  function basePickBy(object, paths, predicate) {
19374
19374
  var index = -1, length = paths.length, result2 = {};
19375
19375
  while (++index < length) {
19376
- var path2 = paths[index], value = baseGet(object, path2);
19377
- if (predicate(value, path2)) {
19378
- baseSet(result2, castPath(path2, object), value);
19376
+ var path3 = paths[index], value = baseGet(object, path3);
19377
+ if (predicate(value, path3)) {
19378
+ baseSet(result2, castPath(path3, object), value);
19379
19379
  }
19380
19380
  }
19381
19381
  return result2;
19382
19382
  }
19383
- function basePropertyDeep(path2) {
19383
+ function basePropertyDeep(path3) {
19384
19384
  return function(object) {
19385
- return baseGet(object, path2);
19385
+ return baseGet(object, path3);
19386
19386
  };
19387
19387
  }
19388
19388
  function basePullAll(array, values2, iteratee2, comparator) {
@@ -19456,14 +19456,14 @@ var require_lodash = __commonJS({
19456
19456
  var array = values(collection);
19457
19457
  return shuffleSelf(array, baseClamp(n, 0, array.length));
19458
19458
  }
19459
- function baseSet(object, path2, value, customizer) {
19459
+ function baseSet(object, path3, value, customizer) {
19460
19460
  if (!isObject2(object)) {
19461
19461
  return object;
19462
19462
  }
19463
- path2 = castPath(path2, object);
19464
- var index = -1, length = path2.length, lastIndex = length - 1, nested = object;
19463
+ path3 = castPath(path3, object);
19464
+ var index = -1, length = path3.length, lastIndex = length - 1, nested = object;
19465
19465
  while (nested != null && ++index < length) {
19466
- var key = toKey(path2[index]), newValue = value;
19466
+ var key = toKey(path3[index]), newValue = value;
19467
19467
  if (key === "__proto__" || key === "constructor" || key === "prototype") {
19468
19468
  return object;
19469
19469
  }
@@ -19471,7 +19471,7 @@ var require_lodash = __commonJS({
19471
19471
  var objValue = nested[key];
19472
19472
  newValue = customizer ? customizer(objValue, key, nested) : undefined2;
19473
19473
  if (newValue === undefined2) {
19474
- newValue = isObject2(objValue) ? objValue : isIndex(path2[index + 1]) ? [] : {};
19474
+ newValue = isObject2(objValue) ? objValue : isIndex(path3[index + 1]) ? [] : {};
19475
19475
  }
19476
19476
  }
19477
19477
  assignValue(nested, key, newValue);
@@ -19637,13 +19637,13 @@ var require_lodash = __commonJS({
19637
19637
  }
19638
19638
  return result2;
19639
19639
  }
19640
- function baseUnset(object, path2) {
19641
- path2 = castPath(path2, object);
19642
- object = parent(object, path2);
19643
- return object == null || delete object[toKey(last(path2))];
19640
+ function baseUnset(object, path3) {
19641
+ path3 = castPath(path3, object);
19642
+ object = parent(object, path3);
19643
+ return object == null || delete object[toKey(last(path3))];
19644
19644
  }
19645
- function baseUpdate(object, path2, updater, customizer) {
19646
- return baseSet(object, path2, updater(baseGet(object, path2)), customizer);
19645
+ function baseUpdate(object, path3, updater, customizer) {
19646
+ return baseSet(object, path3, updater(baseGet(object, path3)), customizer);
19647
19647
  }
19648
19648
  function baseWhile(array, predicate, isDrop, fromRight) {
19649
19649
  var length = array.length, index = fromRight ? length : -1;
@@ -20526,11 +20526,11 @@ var require_lodash = __commonJS({
20526
20526
  var match = source.match(reWrapDetails);
20527
20527
  return match ? match[1].split(reSplitDetails) : [];
20528
20528
  }
20529
- function hasPath(object, path2, hasFunc) {
20530
- path2 = castPath(path2, object);
20531
- var index = -1, length = path2.length, result2 = false;
20529
+ function hasPath(object, path3, hasFunc) {
20530
+ path3 = castPath(path3, object);
20531
+ var index = -1, length = path3.length, result2 = false;
20532
20532
  while (++index < length) {
20533
- var key = toKey(path2[index]);
20533
+ var key = toKey(path3[index]);
20534
20534
  if (!(result2 = object != null && hasFunc(object, key))) {
20535
20535
  break;
20536
20536
  }
@@ -20732,8 +20732,8 @@ var require_lodash = __commonJS({
20732
20732
  return apply(func, this, otherArgs);
20733
20733
  };
20734
20734
  }
20735
- function parent(object, path2) {
20736
- return path2.length < 2 ? object : baseGet(object, baseSlice(path2, 0, -1));
20735
+ function parent(object, path3) {
20736
+ return path3.length < 2 ? object : baseGet(object, baseSlice(path3, 0, -1));
20737
20737
  }
20738
20738
  function reorder(array, indexes) {
20739
20739
  var arrLength = array.length, length = nativeMin(indexes.length, arrLength), oldArray = copyArray(array);
@@ -21368,10 +21368,10 @@ var require_lodash = __commonJS({
21368
21368
  }
21369
21369
  return isString2(collection) ? fromIndex <= length && collection.indexOf(value, fromIndex) > -1 : !!length && baseIndexOf(collection, value, fromIndex) > -1;
21370
21370
  }
21371
- var invokeMap = baseRest(function(collection, path2, args) {
21372
- var index = -1, isFunc = typeof path2 == "function", result2 = isArrayLike(collection) ? Array2(collection.length) : [];
21371
+ var invokeMap = baseRest(function(collection, path3, args) {
21372
+ var index = -1, isFunc = typeof path3 == "function", result2 = isArrayLike(collection) ? Array2(collection.length) : [];
21373
21373
  baseEach(collection, function(value) {
21374
- result2[++index] = isFunc ? apply(path2, value, args) : baseInvoke(value, path2, args);
21374
+ result2[++index] = isFunc ? apply(path3, value, args) : baseInvoke(value, path3, args);
21375
21375
  });
21376
21376
  return result2;
21377
21377
  });
@@ -22023,15 +22023,15 @@ var require_lodash = __commonJS({
22023
22023
  function functionsIn(object) {
22024
22024
  return object == null ? [] : baseFunctions(object, keysIn(object));
22025
22025
  }
22026
- function get2(object, path2, defaultValue) {
22027
- var result2 = object == null ? undefined2 : baseGet(object, path2);
22026
+ function get2(object, path3, defaultValue) {
22027
+ var result2 = object == null ? undefined2 : baseGet(object, path3);
22028
22028
  return result2 === undefined2 ? defaultValue : result2;
22029
22029
  }
22030
- function has2(object, path2) {
22031
- return object != null && hasPath(object, path2, baseHas);
22030
+ function has2(object, path3) {
22031
+ return object != null && hasPath(object, path3, baseHas);
22032
22032
  }
22033
- function hasIn(object, path2) {
22034
- return object != null && hasPath(object, path2, baseHasIn);
22033
+ function hasIn(object, path3) {
22034
+ return object != null && hasPath(object, path3, baseHasIn);
22035
22035
  }
22036
22036
  var invert = createInverter(function(result2, value, key) {
22037
22037
  if (value != null && typeof value.toString != "function") {
@@ -22084,10 +22084,10 @@ var require_lodash = __commonJS({
22084
22084
  return result2;
22085
22085
  }
22086
22086
  var isDeep = false;
22087
- paths = arrayMap(paths, function(path2) {
22088
- path2 = castPath(path2, object);
22089
- isDeep || (isDeep = path2.length > 1);
22090
- return path2;
22087
+ paths = arrayMap(paths, function(path3) {
22088
+ path3 = castPath(path3, object);
22089
+ isDeep || (isDeep = path3.length > 1);
22090
+ return path3;
22091
22091
  });
22092
22092
  copyObject(object, getAllKeysIn(object), result2);
22093
22093
  if (isDeep) {
@@ -22113,19 +22113,19 @@ var require_lodash = __commonJS({
22113
22113
  return [prop];
22114
22114
  });
22115
22115
  predicate = getIteratee(predicate);
22116
- return basePickBy(object, props, function(value, path2) {
22117
- return predicate(value, path2[0]);
22116
+ return basePickBy(object, props, function(value, path3) {
22117
+ return predicate(value, path3[0]);
22118
22118
  });
22119
22119
  }
22120
- function result(object, path2, defaultValue) {
22121
- path2 = castPath(path2, object);
22122
- var index = -1, length = path2.length;
22120
+ function result(object, path3, defaultValue) {
22121
+ path3 = castPath(path3, object);
22122
+ var index = -1, length = path3.length;
22123
22123
  if (!length) {
22124
22124
  length = 1;
22125
22125
  object = undefined2;
22126
22126
  }
22127
22127
  while (++index < length) {
22128
- var value = object == null ? undefined2 : object[toKey(path2[index])];
22128
+ var value = object == null ? undefined2 : object[toKey(path3[index])];
22129
22129
  if (value === undefined2) {
22130
22130
  index = length;
22131
22131
  value = defaultValue;
@@ -22134,12 +22134,12 @@ var require_lodash = __commonJS({
22134
22134
  }
22135
22135
  return object;
22136
22136
  }
22137
- function set(object, path2, value) {
22138
- return object == null ? object : baseSet(object, path2, value);
22137
+ function set(object, path3, value) {
22138
+ return object == null ? object : baseSet(object, path3, value);
22139
22139
  }
22140
- function setWith(object, path2, value, customizer) {
22140
+ function setWith(object, path3, value, customizer) {
22141
22141
  customizer = typeof customizer == "function" ? customizer : undefined2;
22142
- return object == null ? object : baseSet(object, path2, value, customizer);
22142
+ return object == null ? object : baseSet(object, path3, value, customizer);
22143
22143
  }
22144
22144
  var toPairs = createToPairs(keys);
22145
22145
  var toPairsIn = createToPairs(keysIn);
@@ -22161,15 +22161,15 @@ var require_lodash = __commonJS({
22161
22161
  });
22162
22162
  return accumulator;
22163
22163
  }
22164
- function unset(object, path2) {
22165
- return object == null ? true : baseUnset(object, path2);
22164
+ function unset(object, path3) {
22165
+ return object == null ? true : baseUnset(object, path3);
22166
22166
  }
22167
- function update(object, path2, updater) {
22168
- return object == null ? object : baseUpdate(object, path2, castFunction(updater));
22167
+ function update(object, path3, updater) {
22168
+ return object == null ? object : baseUpdate(object, path3, castFunction(updater));
22169
22169
  }
22170
- function updateWith(object, path2, updater, customizer) {
22170
+ function updateWith(object, path3, updater, customizer) {
22171
22171
  customizer = typeof customizer == "function" ? customizer : undefined2;
22172
- return object == null ? object : baseUpdate(object, path2, castFunction(updater), customizer);
22172
+ return object == null ? object : baseUpdate(object, path3, castFunction(updater), customizer);
22173
22173
  }
22174
22174
  function values(object) {
22175
22175
  return object == null ? [] : baseValues(object, keys(object));
@@ -22550,17 +22550,17 @@ var require_lodash = __commonJS({
22550
22550
  function matches(source) {
22551
22551
  return baseMatches(baseClone(source, CLONE_DEEP_FLAG));
22552
22552
  }
22553
- function matchesProperty(path2, srcValue) {
22554
- return baseMatchesProperty(path2, baseClone(srcValue, CLONE_DEEP_FLAG));
22553
+ function matchesProperty(path3, srcValue) {
22554
+ return baseMatchesProperty(path3, baseClone(srcValue, CLONE_DEEP_FLAG));
22555
22555
  }
22556
- var method = baseRest(function(path2, args) {
22556
+ var method = baseRest(function(path3, args) {
22557
22557
  return function(object) {
22558
- return baseInvoke(object, path2, args);
22558
+ return baseInvoke(object, path3, args);
22559
22559
  };
22560
22560
  });
22561
22561
  var methodOf = baseRest(function(object, args) {
22562
- return function(path2) {
22563
- return baseInvoke(object, path2, args);
22562
+ return function(path3) {
22563
+ return baseInvoke(object, path3, args);
22564
22564
  };
22565
22565
  });
22566
22566
  function mixin(object, source, options) {
@@ -22607,12 +22607,12 @@ var require_lodash = __commonJS({
22607
22607
  var over = createOver(arrayMap);
22608
22608
  var overEvery = createOver(arrayEvery);
22609
22609
  var overSome = createOver(arraySome);
22610
- function property(path2) {
22611
- return isKey(path2) ? baseProperty(toKey(path2)) : basePropertyDeep(path2);
22610
+ function property(path3) {
22611
+ return isKey(path3) ? baseProperty(toKey(path3)) : basePropertyDeep(path3);
22612
22612
  }
22613
22613
  function propertyOf(object) {
22614
- return function(path2) {
22615
- return object == null ? undefined2 : baseGet(object, path2);
22614
+ return function(path3) {
22615
+ return object == null ? undefined2 : baseGet(object, path3);
22616
22616
  };
22617
22617
  }
22618
22618
  var range = createRange();
@@ -23065,12 +23065,12 @@ var require_lodash = __commonJS({
23065
23065
  LazyWrapper.prototype.findLast = function(predicate) {
23066
23066
  return this.reverse().find(predicate);
23067
23067
  };
23068
- LazyWrapper.prototype.invokeMap = baseRest(function(path2, args) {
23069
- if (typeof path2 == "function") {
23068
+ LazyWrapper.prototype.invokeMap = baseRest(function(path3, args) {
23069
+ if (typeof path3 == "function") {
23070
23070
  return new LazyWrapper(this);
23071
23071
  }
23072
23072
  return this.map(function(value) {
23073
- return baseInvoke(value, path2, args);
23073
+ return baseInvoke(value, path3, args);
23074
23074
  });
23075
23075
  });
23076
23076
  LazyWrapper.prototype.reject = function(predicate) {
@@ -36211,7 +36211,7 @@ var require_watch = __commonJS({
36211
36211
  };
36212
36212
  Object.defineProperty(exports, "__esModule", { value: true });
36213
36213
  exports.watch = exports.WatchChangeType = void 0;
36214
- var path2 = __importStar(require("path"));
36214
+ var path3 = __importStar(require("path"));
36215
36215
  var compiled_1 = require_compiled();
36216
36216
  exports.WatchChangeType = {
36217
36217
  ADD: "add",
@@ -36225,17 +36225,17 @@ var require_watch = __commonJS({
36225
36225
  });
36226
36226
  watcher.on("ready", () => ready = true);
36227
36227
  watcher.on("change", (filePath) => __async(exports, null, function* () {
36228
- const changedFilePath = path2.resolve(filePath);
36228
+ const changedFilePath = path3.resolve(filePath);
36229
36229
  yield runTask({ changedFilePath, changeType: exports.WatchChangeType.CHANGE });
36230
36230
  }));
36231
36231
  watcher.on("add", (filePath) => __async(exports, null, function* () {
36232
- const changedFilePath = path2.resolve(filePath);
36232
+ const changedFilePath = path3.resolve(filePath);
36233
36233
  if (ready) {
36234
36234
  yield runTask({ changedFilePath, changeType: exports.WatchChangeType.ADD });
36235
36235
  }
36236
36236
  }));
36237
36237
  watcher.on("unlink", (filePath) => __async(exports, null, function* () {
36238
- const changedFilePath = path2.resolve(filePath);
36238
+ const changedFilePath = path3.resolve(filePath);
36239
36239
  yield runTask({ changedFilePath, changeType: exports.WatchChangeType.UNLINK });
36240
36240
  }));
36241
36241
  watcher.on("error", (err) => {
@@ -36314,11 +36314,11 @@ var require_getServerConfig = __commonJS({
36314
36314
  };
36315
36315
  Object.defineProperty(exports, "__esModule", { value: true });
36316
36316
  exports.getServerConfig = void 0;
36317
- var path2 = __importStar(require("path"));
36317
+ var path3 = __importStar(require("path"));
36318
36318
  var constants_1 = require_constants();
36319
36319
  var findExists_1 = require_findExists();
36320
36320
  var getServerConfig = (appDirectory, configFile) => __async(exports, null, function* () {
36321
- const configFilePath = (0, findExists_1.findExists)(constants_1.CONFIG_FILE_EXTENSIONS.map((extension) => path2.resolve(appDirectory, `${configFile}${extension}`)));
36321
+ const configFilePath = (0, findExists_1.findExists)(constants_1.CONFIG_FILE_EXTENSIONS.map((extension) => path3.resolve(appDirectory, `${configFile}${extension}`)));
36322
36322
  return configFilePath;
36323
36323
  });
36324
36324
  exports.getServerConfig = getServerConfig;
@@ -36488,10 +36488,10 @@ var require_analyzeProject = __commonJS({
36488
36488
  };
36489
36489
  Object.defineProperty(exports, "__esModule", { value: true });
36490
36490
  exports.isApiOnly = void 0;
36491
- var path2 = __importStar(require("path"));
36491
+ var path3 = __importStar(require("path"));
36492
36492
  var compiled_1 = require_compiled();
36493
36493
  var isApiOnly = (appDirectory, entryDir) => __async(exports, null, function* () {
36494
- const srcDir = path2.join(appDirectory, entryDir !== null && entryDir !== void 0 ? entryDir : "src");
36494
+ const srcDir = path3.join(appDirectory, entryDir !== null && entryDir !== void 0 ? entryDir : "src");
36495
36495
  const existSrc = yield compiled_1.fs.pathExists(srcDir);
36496
36496
  const options = (0, compiled_1.minimist)(process.argv.slice(2));
36497
36497
  return !existSrc || Boolean(options["api-only"]);
@@ -44663,9 +44663,9 @@ var require_src2 = __commonJS({
44663
44663
  }
44664
44664
  });
44665
44665
 
44666
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/env.js
44666
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/env.js
44667
44667
  var require_env = __commonJS({
44668
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/env.js"(exports) {
44668
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/env.js"(exports) {
44669
44669
  "use strict";
44670
44670
  Object.defineProperty(exports, "__esModule", {
44671
44671
  value: true
@@ -44727,9 +44727,9 @@ var require_env = __commonJS({
44727
44727
  }
44728
44728
  });
44729
44729
 
44730
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/install.js
44730
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/install.js
44731
44731
  var require_install = __commonJS({
44732
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/install.js"(exports) {
44732
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/install.js"(exports) {
44733
44733
  "use strict";
44734
44734
  Object.defineProperty(exports, "__esModule", {
44735
44735
  value: true
@@ -44881,9 +44881,9 @@ var require_install = __commonJS({
44881
44881
  }
44882
44882
  });
44883
44883
 
44884
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/index.js
44884
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/index.js
44885
44885
  var require_utils = __commonJS({
44886
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/index.js"(exports) {
44886
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/index.js"(exports) {
44887
44887
  "use strict";
44888
44888
  Object.defineProperty(exports, "__esModule", {
44889
44889
  value: true
@@ -44947,9 +44947,9 @@ var require_utils = __commonJS({
44947
44947
  }
44948
44948
  });
44949
44949
 
44950
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/index.js
44950
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/index.js
44951
44951
  var require_node = __commonJS({
44952
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/index.js"(exports) {
44952
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/index.js"(exports) {
44953
44953
  "use strict";
44954
44954
  Object.defineProperty(exports, "__esModule", {
44955
44955
  value: true
@@ -45024,9 +45024,9 @@ var require_node = __commonJS({
45024
45024
  }
45025
45025
  });
45026
45026
 
45027
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-git/dist/js/node/utils/index.js
45027
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-git/dist/js/node/utils/index.js
45028
45028
  var require_utils2 = __commonJS({
45029
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-git/dist/js/node/utils/index.js"(exports) {
45029
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-git/dist/js/node/utils/index.js"(exports) {
45030
45030
  "use strict";
45031
45031
  Object.defineProperty(exports, "__esModule", {
45032
45032
  value: true
@@ -45101,9 +45101,9 @@ var require_utils2 = __commonJS({
45101
45101
  }
45102
45102
  });
45103
45103
 
45104
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-git/dist/js/node/index.js
45104
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-git/dist/js/node/index.js
45105
45105
  var require_node2 = __commonJS({
45106
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-git/dist/js/node/index.js"(exports) {
45106
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-git/dist/js/node/index.js"(exports) {
45107
45107
  "use strict";
45108
45108
  Object.defineProperty(exports, "__esModule", {
45109
45109
  value: true
@@ -45182,9 +45182,9 @@ var require_node2 = __commonJS({
45182
45182
  }
45183
45183
  });
45184
45184
 
45185
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/logger/constants.js
45185
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/constants.js
45186
45186
  var require_constants2 = __commonJS({
45187
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/logger/constants.js"(exports) {
45187
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/constants.js"(exports) {
45188
45188
  "use strict";
45189
45189
  Object.defineProperty(exports, "__esModule", {
45190
45190
  value: true
@@ -45205,9 +45205,9 @@ var require_constants2 = __commonJS({
45205
45205
  }
45206
45206
  });
45207
45207
 
45208
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/logger/index.js
45208
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/index.js
45209
45209
  var require_logger2 = __commonJS({
45210
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/logger/index.js"(exports) {
45210
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/index.js"(exports) {
45211
45211
  "use strict";
45212
45212
  Object.defineProperty(exports, "__esModule", {
45213
45213
  value: true
@@ -45275,9 +45275,9 @@ var require_logger2 = __commonJS({
45275
45275
  }
45276
45276
  });
45277
45277
 
45278
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/constants.js
45278
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/constants.js
45279
45279
  var require_constants3 = __commonJS({
45280
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/constants.js"(exports) {
45280
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/constants.js"(exports) {
45281
45281
  "use strict";
45282
45282
  Object.defineProperty(exports, "__esModule", {
45283
45283
  value: true
@@ -45288,9 +45288,9 @@ var require_constants3 = __commonJS({
45288
45288
  }
45289
45289
  });
45290
45290
 
45291
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/FsResource.js
45291
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsResource.js
45292
45292
  var require_FsResource = __commonJS({
45293
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/FsResource.js"(exports) {
45293
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsResource.js"(exports) {
45294
45294
  "use strict";
45295
45295
  Object.defineProperty(exports, "__esModule", {
45296
45296
  value: true
@@ -45341,9 +45341,9 @@ var require_FsResource = __commonJS({
45341
45341
  }
45342
45342
  });
45343
45343
 
45344
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/FsMaterial.js
45344
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsMaterial.js
45345
45345
  var require_FsMaterial = __commonJS({
45346
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/FsMaterial.js"(exports) {
45346
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsMaterial.js"(exports) {
45347
45347
  "use strict";
45348
45348
  Object.defineProperty(exports, "__esModule", {
45349
45349
  value: true
@@ -45395,23 +45395,23 @@ var require_FsMaterial = __commonJS({
45395
45395
  }
45396
45396
  });
45397
45397
 
45398
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/nodeRequire.js
45398
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/nodeRequire.js
45399
45399
  var require_nodeRequire = __commonJS({
45400
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/nodeRequire.js"(exports) {
45400
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/nodeRequire.js"(exports) {
45401
45401
  "use strict";
45402
45402
  Object.defineProperty(exports, "__esModule", {
45403
45403
  value: true
45404
45404
  });
45405
45405
  exports.nodeRequire = void 0;
45406
- var nodeRequire = (path2) => {
45406
+ var nodeRequire = (path3) => {
45407
45407
  try {
45408
- const module3 = __non_webpack_require__(path2);
45408
+ const module3 = __non_webpack_require__(path3);
45409
45409
  if (module3 !== null && module3 !== void 0 && module3.default) {
45410
45410
  return module3.default;
45411
45411
  }
45412
45412
  return module3;
45413
45413
  } catch (error) {
45414
- const module3 = require(path2);
45414
+ const module3 = require(path3);
45415
45415
  if (module3 !== null && module3 !== void 0 && module3.default) {
45416
45416
  return module3.default;
45417
45417
  }
@@ -45422,19 +45422,19 @@ var require_nodeRequire = __commonJS({
45422
45422
  }
45423
45423
  });
45424
45424
 
45425
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/fsExists.js
45425
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/fsExists.js
45426
45426
  var require_fsExists = __commonJS({
45427
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/fsExists.js"(exports) {
45427
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/fsExists.js"(exports) {
45428
45428
  "use strict";
45429
45429
  Object.defineProperty(exports, "__esModule", {
45430
45430
  value: true
45431
45431
  });
45432
45432
  exports.fsExists = fsExists;
45433
45433
  var _utils = require_dist();
45434
- function fsExists(path2) {
45434
+ function fsExists(path3) {
45435
45435
  return __async(this, null, function* () {
45436
45436
  try {
45437
- yield _utils.fs.access(path2);
45437
+ yield _utils.fs.access(path3);
45438
45438
  return true;
45439
45439
  } catch (e) {
45440
45440
  return false;
@@ -45444,9 +45444,9 @@ var require_fsExists = __commonJS({
45444
45444
  }
45445
45445
  });
45446
45446
 
45447
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getGeneratorDir.js
45447
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getGeneratorDir.js
45448
45448
  var require_getGeneratorDir = __commonJS({
45449
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getGeneratorDir.js"(exports) {
45449
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getGeneratorDir.js"(exports) {
45450
45450
  "use strict";
45451
45451
  Object.defineProperty(exports, "__esModule", {
45452
45452
  value: true
@@ -45480,9 +45480,9 @@ var require_getGeneratorDir = __commonJS({
45480
45480
  }
45481
45481
  });
45482
45482
 
45483
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/generator/index.js
45483
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/generator/index.js
45484
45484
  var require_generator = __commonJS({
45485
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/generator/index.js"(exports) {
45485
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/generator/index.js"(exports) {
45486
45486
  "use strict";
45487
45487
  Object.defineProperty(exports, "__esModule", {
45488
45488
  value: true
@@ -45730,9 +45730,9 @@ check path: ${_utils.chalk.blue.underline(generator)} exist a package.json file
45730
45730
  }
45731
45731
  });
45732
45732
 
45733
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/packageManager.js
45733
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/packageManager.js
45734
45734
  var require_packageManager = __commonJS({
45735
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/packageManager.js"(exports) {
45735
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/packageManager.js"(exports) {
45736
45736
  "use strict";
45737
45737
  Object.defineProperty(exports, "__esModule", {
45738
45738
  value: true
@@ -45810,9 +45810,9 @@ var require_packageManager = __commonJS({
45810
45810
  }
45811
45811
  });
45812
45812
 
45813
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/timeoutPromise.js
45813
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/timeoutPromise.js
45814
45814
  var require_timeoutPromise = __commonJS({
45815
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/timeoutPromise.js"(exports) {
45815
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/timeoutPromise.js"(exports) {
45816
45816
  "use strict";
45817
45817
  Object.defineProperty(exports, "__esModule", {
45818
45818
  value: true
@@ -46187,14 +46187,14 @@ var require_cookies = __commonJS({
46187
46187
  // Standard browser envs support document.cookie
46188
46188
  function standardBrowserEnv() {
46189
46189
  return {
46190
- write: function write(name, value, expires, path2, domain, secure) {
46190
+ write: function write(name, value, expires, path3, domain, secure) {
46191
46191
  var cookie = [];
46192
46192
  cookie.push(name + "=" + encodeURIComponent(value));
46193
46193
  if (utils.isNumber(expires)) {
46194
46194
  cookie.push("expires=" + new Date(expires).toGMTString());
46195
46195
  }
46196
- if (utils.isString(path2)) {
46197
- cookie.push("path=" + path2);
46196
+ if (utils.isString(path3)) {
46197
+ cookie.push("path=" + path3);
46198
46198
  }
46199
46199
  if (utils.isString(domain)) {
46200
46200
  cookie.push("domain=" + domain);
@@ -49594,10 +49594,10 @@ var require_header = __commonJS({
49594
49594
  throw new Error("need 512 bytes for header");
49595
49595
  const prefixSize = this.ctime || this.atime ? 130 : 155;
49596
49596
  const split = splitPrefix(this.path || "", prefixSize);
49597
- const path2 = split[0];
49597
+ const path3 = split[0];
49598
49598
  const prefix = split[1];
49599
49599
  this.needPax = split[2];
49600
- this.needPax = encString(buf, off, 100, path2) || this.needPax;
49600
+ this.needPax = encString(buf, off, 100, path3) || this.needPax;
49601
49601
  this.needPax = encNumber(buf, off + 100, 8, this.mode) || this.needPax;
49602
49602
  this.needPax = encNumber(buf, off + 108, 8, this.uid) || this.needPax;
49603
49603
  this.needPax = encNumber(buf, off + 116, 8, this.gid) || this.needPax;
@@ -49702,7 +49702,7 @@ var require_pax = __commonJS({
49702
49702
  "../../../../node_modules/.pnpm/tar@6.1.11/node_modules/tar/lib/pax.js"(exports, module2) {
49703
49703
  "use strict";
49704
49704
  var Header = require_header();
49705
- var path2 = require("path");
49705
+ var path3 = require("path");
49706
49706
  var Pax = class {
49707
49707
  constructor(obj, global2) {
49708
49708
  this.atime = obj.atime || null;
@@ -49735,7 +49735,7 @@ var require_pax = __commonJS({
49735
49735
  // XXX split the path
49736
49736
  // then the path should be PaxHeader + basename, but less than 99,
49737
49737
  // prepend with the dirname
49738
- path: ("PaxHeader/" + path2.basename(this.path)).slice(0, 99),
49738
+ path: ("PaxHeader/" + path3.basename(this.path)).slice(0, 99),
49739
49739
  mode: this.mode || 420,
49740
49740
  uid: this.uid || null,
49741
49741
  gid: this.gid || null,
@@ -49858,16 +49858,16 @@ var require_winchars = __commonJS({
49858
49858
  var require_strip_absolute_path = __commonJS({
49859
49859
  "../../../../node_modules/.pnpm/tar@6.1.11/node_modules/tar/lib/strip-absolute-path.js"(exports, module2) {
49860
49860
  var { isAbsolute, parse: parse2 } = require("path").win32;
49861
- module2.exports = (path2) => {
49861
+ module2.exports = (path3) => {
49862
49862
  let r = "";
49863
- let parsed = parse2(path2);
49864
- while (isAbsolute(path2) || parsed.root) {
49865
- const root = path2.charAt(0) === "/" && path2.slice(0, 4) !== "//?/" ? "/" : parsed.root;
49866
- path2 = path2.substr(root.length);
49863
+ let parsed = parse2(path3);
49864
+ while (isAbsolute(path3) || parsed.root) {
49865
+ const root = path3.charAt(0) === "/" && path3.slice(0, 4) !== "//?/" ? "/" : parsed.root;
49866
+ path3 = path3.substr(root.length);
49867
49867
  r += root;
49868
- parsed = parse2(path2);
49868
+ parsed = parse2(path3);
49869
49869
  }
49870
- return [r, path2];
49870
+ return [r, path3];
49871
49871
  };
49872
49872
  }
49873
49873
  });
@@ -49901,14 +49901,14 @@ var require_write_entry = __commonJS({
49901
49901
  var Pax = require_pax();
49902
49902
  var Header = require_header();
49903
49903
  var fs3 = require("fs");
49904
- var path2 = require("path");
49904
+ var path3 = require("path");
49905
49905
  var normPath = require_normalize_windows_path();
49906
49906
  var stripSlash = require_strip_trailing_slashes();
49907
- var prefixPath = (path3, prefix) => {
49907
+ var prefixPath = (path4, prefix) => {
49908
49908
  if (!prefix)
49909
- return normPath(path3);
49910
- path3 = normPath(path3).replace(/^\.(\/|$)/, "");
49911
- return stripSlash(prefix) + "/" + path3;
49909
+ return normPath(path4);
49910
+ path4 = normPath(path4).replace(/^\.(\/|$)/, "");
49911
+ return stripSlash(prefix) + "/" + path4;
49912
49912
  };
49913
49913
  var maxReadSize = 16 * 1024 * 1024;
49914
49914
  var PROCESS = Symbol("process");
@@ -49977,7 +49977,7 @@ var require_write_entry = __commonJS({
49977
49977
  this.path = winchars.decode(this.path.replace(/\\/g, "/"));
49978
49978
  p = p.replace(/\\/g, "/");
49979
49979
  }
49980
- this.absolute = normPath(opt.absolute || path2.resolve(this.cwd, p));
49980
+ this.absolute = normPath(opt.absolute || path3.resolve(this.cwd, p));
49981
49981
  if (this.path === "")
49982
49982
  this.path = "./";
49983
49983
  if (pathWarn) {
@@ -50027,8 +50027,8 @@ var require_write_entry = __commonJS({
50027
50027
  [MODE](mode) {
50028
50028
  return modeFix(mode, this.type === "Directory", this.portable);
50029
50029
  }
50030
- [PREFIX](path3) {
50031
- return prefixPath(path3, this.prefix);
50030
+ [PREFIX](path4) {
50031
+ return prefixPath(path4, this.prefix);
50032
50032
  }
50033
50033
  [HEADER]() {
50034
50034
  if (this.type === "Directory" && this.portable)
@@ -50088,7 +50088,7 @@ var require_write_entry = __commonJS({
50088
50088
  }
50089
50089
  [HARDLINK](linkpath) {
50090
50090
  this.type = "Link";
50091
- this.linkpath = normPath(path2.relative(this.cwd, linkpath));
50091
+ this.linkpath = normPath(path3.relative(this.cwd, linkpath));
50092
50092
  this.stat.size = 0;
50093
50093
  this[HEADER]();
50094
50094
  this.end();
@@ -50311,8 +50311,8 @@ var require_write_entry = __commonJS({
50311
50311
  super.write(this.header.block);
50312
50312
  readEntry.pipe(this);
50313
50313
  }
50314
- [PREFIX](path3) {
50315
- return prefixPath(path3, this.prefix);
50314
+ [PREFIX](path4) {
50315
+ return prefixPath(path4, this.prefix);
50316
50316
  }
50317
50317
  [MODE](mode) {
50318
50318
  return modeFix(mode, this.type === "Directory", this.portable);
@@ -50725,8 +50725,8 @@ var require_pack = __commonJS({
50725
50725
  "../../../../node_modules/.pnpm/tar@6.1.11/node_modules/tar/lib/pack.js"(exports, module2) {
50726
50726
  "use strict";
50727
50727
  var PackJob = class {
50728
- constructor(path3, absolute) {
50729
- this.path = path3 || "./";
50728
+ constructor(path4, absolute) {
50729
+ this.path = path4 || "./";
50730
50730
  this.absolute = absolute;
50731
50731
  this.entry = null;
50732
50732
  this.stat = null;
@@ -50765,7 +50765,7 @@ var require_pack = __commonJS({
50765
50765
  var WRITE = Symbol("write");
50766
50766
  var ONDRAIN = Symbol("ondrain");
50767
50767
  var fs3 = require("fs");
50768
- var path2 = require("path");
50768
+ var path3 = require("path");
50769
50769
  var warner = require_warn_mixin();
50770
50770
  var normPath = require_normalize_windows_path();
50771
50771
  var Pack = warner(class Pack extends MiniPass {
@@ -50814,28 +50814,28 @@ var require_pack = __commonJS({
50814
50814
  [WRITE](chunk) {
50815
50815
  return super.write(chunk);
50816
50816
  }
50817
- add(path3) {
50818
- this.write(path3);
50817
+ add(path4) {
50818
+ this.write(path4);
50819
50819
  return this;
50820
50820
  }
50821
- end(path3) {
50822
- if (path3)
50823
- this.write(path3);
50821
+ end(path4) {
50822
+ if (path4)
50823
+ this.write(path4);
50824
50824
  this[ENDED] = true;
50825
50825
  this[PROCESS]();
50826
50826
  return this;
50827
50827
  }
50828
- write(path3) {
50828
+ write(path4) {
50829
50829
  if (this[ENDED])
50830
50830
  throw new Error("write after end");
50831
- if (path3 instanceof ReadEntry)
50832
- this[ADDTARENTRY](path3);
50831
+ if (path4 instanceof ReadEntry)
50832
+ this[ADDTARENTRY](path4);
50833
50833
  else
50834
- this[ADDFSENTRY](path3);
50834
+ this[ADDFSENTRY](path4);
50835
50835
  return this.flowing;
50836
50836
  }
50837
50837
  [ADDTARENTRY](p) {
50838
- const absolute = normPath(path2.resolve(this.cwd, p.path));
50838
+ const absolute = normPath(path3.resolve(this.cwd, p.path));
50839
50839
  if (!this.filter(p.path, p))
50840
50840
  p.resume();
50841
50841
  else {
@@ -50848,7 +50848,7 @@ var require_pack = __commonJS({
50848
50848
  this[PROCESS]();
50849
50849
  }
50850
50850
  [ADDFSENTRY](p) {
50851
- const absolute = normPath(path2.resolve(this.cwd, p));
50851
+ const absolute = normPath(path3.resolve(this.cwd, p));
50852
50852
  this[QUEUE].push(new PackJob(p, absolute));
50853
50853
  this[PROCESS]();
50854
50854
  }
@@ -51102,16 +51102,16 @@ var require_fs_minipass = __commonJS({
51102
51102
  var _defaultFlag = Symbol("_defaultFlag");
51103
51103
  var _errored = Symbol("_errored");
51104
51104
  var ReadStream = class extends MiniPass {
51105
- constructor(path2, opt) {
51105
+ constructor(path3, opt) {
51106
51106
  opt = opt || {};
51107
51107
  super(opt);
51108
51108
  this.readable = true;
51109
51109
  this.writable = false;
51110
- if (typeof path2 !== "string")
51110
+ if (typeof path3 !== "string")
51111
51111
  throw new TypeError("path must be a string");
51112
51112
  this[_errored] = false;
51113
51113
  this[_fd] = typeof opt.fd === "number" ? opt.fd : null;
51114
- this[_path] = path2;
51114
+ this[_path] = path3;
51115
51115
  this[_readSize] = opt.readSize || 16 * 1024 * 1024;
51116
51116
  this[_reading] = false;
51117
51117
  this[_size] = typeof opt.size === "number" ? opt.size : Infinity;
@@ -51248,7 +51248,7 @@ var require_fs_minipass = __commonJS({
51248
51248
  }
51249
51249
  };
51250
51250
  var WriteStream = class extends EE {
51251
- constructor(path2, opt) {
51251
+ constructor(path3, opt) {
51252
51252
  opt = opt || {};
51253
51253
  super(opt);
51254
51254
  this.readable = false;
@@ -51258,7 +51258,7 @@ var require_fs_minipass = __commonJS({
51258
51258
  this[_ended] = false;
51259
51259
  this[_needDrain] = false;
51260
51260
  this[_queue] = [];
51261
- this[_path] = path2;
51261
+ this[_path] = path3;
51262
51262
  this[_fd] = typeof opt.fd === "number" ? opt.fd : null;
51263
51263
  this[_mode] = opt.mode === void 0 ? 438 : opt.mode;
51264
51264
  this[_pos] = typeof opt.start === "number" ? opt.start : null;
@@ -51814,7 +51814,7 @@ var require_list = __commonJS({
51814
51814
  var Parser2 = require_parse2();
51815
51815
  var fs3 = require("fs");
51816
51816
  var fsm = require_fs_minipass();
51817
- var path2 = require("path");
51817
+ var path3 = require("path");
51818
51818
  var stripSlash = require_strip_trailing_slashes();
51819
51819
  module2.exports = (opt_, files, cb) => {
51820
51820
  if (typeof opt_ === "function")
@@ -51849,8 +51849,8 @@ var require_list = __commonJS({
51849
51849
  const map2 = new Map(files.map((f) => [stripSlash(f), true]));
51850
51850
  const filter = opt.filter;
51851
51851
  const mapHas = (file, r) => {
51852
- const root = r || path2.parse(file).root || ".";
51853
- const ret = file === root ? false : map2.has(file) ? map2.get(file) : mapHas(path2.dirname(file), root);
51852
+ const root = r || path3.parse(file).root || ".";
51853
+ const ret = file === root ? false : map2.has(file) ? map2.get(file) : mapHas(path3.dirname(file), root);
51854
51854
  map2.set(file, ret);
51855
51855
  return ret;
51856
51856
  };
@@ -51921,7 +51921,7 @@ var require_create = __commonJS({
51921
51921
  var Pack = require_pack();
51922
51922
  var fsm = require_fs_minipass();
51923
51923
  var t = require_list();
51924
- var path2 = require("path");
51924
+ var path3 = require("path");
51925
51925
  module2.exports = (opt_, files, cb) => {
51926
51926
  if (typeof files === "function")
51927
51927
  cb = files;
@@ -51963,7 +51963,7 @@ var require_create = __commonJS({
51963
51963
  files.forEach((file) => {
51964
51964
  if (file.charAt(0) === "@") {
51965
51965
  t({
51966
- file: path2.resolve(p.cwd, file.substr(1)),
51966
+ file: path3.resolve(p.cwd, file.substr(1)),
51967
51967
  sync: true,
51968
51968
  noResume: true,
51969
51969
  onentry: (entry) => p.add(entry)
@@ -51978,7 +51978,7 @@ var require_create = __commonJS({
51978
51978
  const file = files.shift();
51979
51979
  if (file.charAt(0) === "@") {
51980
51980
  return t({
51981
- file: path2.resolve(p.cwd, file.substr(1)),
51981
+ file: path3.resolve(p.cwd, file.substr(1)),
51982
51982
  noResume: true,
51983
51983
  onentry: (entry) => p.add(entry)
51984
51984
  }).then((_) => addFilesAsync(p, files));
@@ -52009,7 +52009,7 @@ var require_replace = __commonJS({
52009
52009
  var fs3 = require("fs");
52010
52010
  var fsm = require_fs_minipass();
52011
52011
  var t = require_list();
52012
- var path2 = require("path");
52012
+ var path3 = require("path");
52013
52013
  var Header = require_header();
52014
52014
  module2.exports = (opt_, files, cb) => {
52015
52015
  const opt = hlo(opt_);
@@ -52166,7 +52166,7 @@ var require_replace = __commonJS({
52166
52166
  files.forEach((file) => {
52167
52167
  if (file.charAt(0) === "@") {
52168
52168
  t({
52169
- file: path2.resolve(p.cwd, file.substr(1)),
52169
+ file: path3.resolve(p.cwd, file.substr(1)),
52170
52170
  sync: true,
52171
52171
  noResume: true,
52172
52172
  onentry: (entry) => p.add(entry)
@@ -52181,7 +52181,7 @@ var require_replace = __commonJS({
52181
52181
  const file = files.shift();
52182
52182
  if (file.charAt(0) === "@") {
52183
52183
  return t({
52184
- file: path2.resolve(p.cwd, file.substr(1)),
52184
+ file: path3.resolve(p.cwd, file.substr(1)),
52185
52185
  noResume: true,
52186
52186
  onentry: (entry) => p.add(entry)
52187
52187
  }).then((_) => addFilesAsync(p, files));
@@ -52215,7 +52215,7 @@ var require_update = __commonJS({
52215
52215
  const filter = opt.filter;
52216
52216
  if (!opt.mtimeCache)
52217
52217
  opt.mtimeCache = /* @__PURE__ */ new Map();
52218
- opt.filter = filter ? (path2, stat) => filter(path2, stat) && !(opt.mtimeCache.get(path2) > stat.mtime) : (path2, stat) => !(opt.mtimeCache.get(path2) > stat.mtime);
52218
+ opt.filter = filter ? (path3, stat) => filter(path3, stat) && !(opt.mtimeCache.get(path3) > stat.mtime) : (path3, stat) => !(opt.mtimeCache.get(path3) > stat.mtime);
52219
52219
  };
52220
52220
  }
52221
52221
  });
@@ -52253,28 +52253,28 @@ var require_path_arg = __commonJS({
52253
52253
  "../../../../node_modules/.pnpm/mkdirp@1.0.4/node_modules/mkdirp/lib/path-arg.js"(exports, module2) {
52254
52254
  var platform = process.env.__TESTING_MKDIRP_PLATFORM__ || process.platform;
52255
52255
  var { resolve, parse: parse2 } = require("path");
52256
- var pathArg = (path2) => {
52257
- if (/\0/.test(path2)) {
52256
+ var pathArg = (path3) => {
52257
+ if (/\0/.test(path3)) {
52258
52258
  throw Object.assign(
52259
52259
  new TypeError("path must be a string without null bytes"),
52260
52260
  {
52261
- path: path2,
52261
+ path: path3,
52262
52262
  code: "ERR_INVALID_ARG_VALUE"
52263
52263
  }
52264
52264
  );
52265
52265
  }
52266
- path2 = resolve(path2);
52266
+ path3 = resolve(path3);
52267
52267
  if (platform === "win32") {
52268
52268
  const badWinChars = /[*|"<>?:]/;
52269
- const { root } = parse2(path2);
52270
- if (badWinChars.test(path2.substr(root.length))) {
52269
+ const { root } = parse2(path3);
52270
+ if (badWinChars.test(path3.substr(root.length))) {
52271
52271
  throw Object.assign(new Error("Illegal characters in path."), {
52272
- path: path2,
52272
+ path: path3,
52273
52273
  code: "EINVAL"
52274
52274
  });
52275
52275
  }
52276
52276
  }
52277
- return path2;
52277
+ return path3;
52278
52278
  };
52279
52279
  module2.exports = pathArg;
52280
52280
  }
@@ -52284,20 +52284,20 @@ var require_path_arg = __commonJS({
52284
52284
  var require_find_made = __commonJS({
52285
52285
  "../../../../node_modules/.pnpm/mkdirp@1.0.4/node_modules/mkdirp/lib/find-made.js"(exports, module2) {
52286
52286
  var { dirname } = require("path");
52287
- var findMade = (opts, parent, path2 = void 0) => {
52288
- if (path2 === parent)
52287
+ var findMade = (opts, parent, path3 = void 0) => {
52288
+ if (path3 === parent)
52289
52289
  return Promise.resolve();
52290
52290
  return opts.statAsync(parent).then(
52291
- (st) => st.isDirectory() ? path2 : void 0,
52291
+ (st) => st.isDirectory() ? path3 : void 0,
52292
52292
  // will fail later
52293
52293
  (er) => er.code === "ENOENT" ? findMade(opts, dirname(parent), parent) : void 0
52294
52294
  );
52295
52295
  };
52296
- var findMadeSync = (opts, parent, path2 = void 0) => {
52297
- if (path2 === parent)
52296
+ var findMadeSync = (opts, parent, path3 = void 0) => {
52297
+ if (path3 === parent)
52298
52298
  return void 0;
52299
52299
  try {
52300
- return opts.statSync(parent).isDirectory() ? path2 : void 0;
52300
+ return opts.statSync(parent).isDirectory() ? path3 : void 0;
52301
52301
  } catch (er) {
52302
52302
  return er.code === "ENOENT" ? findMadeSync(opts, dirname(parent), parent) : void 0;
52303
52303
  }
@@ -52310,21 +52310,21 @@ var require_find_made = __commonJS({
52310
52310
  var require_mkdirp_manual = __commonJS({
52311
52311
  "../../../../node_modules/.pnpm/mkdirp@1.0.4/node_modules/mkdirp/lib/mkdirp-manual.js"(exports, module2) {
52312
52312
  var { dirname } = require("path");
52313
- var mkdirpManual = (path2, opts, made) => {
52313
+ var mkdirpManual = (path3, opts, made) => {
52314
52314
  opts.recursive = false;
52315
- const parent = dirname(path2);
52316
- if (parent === path2) {
52317
- return opts.mkdirAsync(path2, opts).catch((er) => {
52315
+ const parent = dirname(path3);
52316
+ if (parent === path3) {
52317
+ return opts.mkdirAsync(path3, opts).catch((er) => {
52318
52318
  if (er.code !== "EISDIR")
52319
52319
  throw er;
52320
52320
  });
52321
52321
  }
52322
- return opts.mkdirAsync(path2, opts).then(() => made || path2, (er) => {
52322
+ return opts.mkdirAsync(path3, opts).then(() => made || path3, (er) => {
52323
52323
  if (er.code === "ENOENT")
52324
- return mkdirpManual(parent, opts).then((made2) => mkdirpManual(path2, opts, made2));
52324
+ return mkdirpManual(parent, opts).then((made2) => mkdirpManual(path3, opts, made2));
52325
52325
  if (er.code !== "EEXIST" && er.code !== "EROFS")
52326
52326
  throw er;
52327
- return opts.statAsync(path2).then((st) => {
52327
+ return opts.statAsync(path3).then((st) => {
52328
52328
  if (st.isDirectory())
52329
52329
  return made;
52330
52330
  else
@@ -52334,12 +52334,12 @@ var require_mkdirp_manual = __commonJS({
52334
52334
  });
52335
52335
  });
52336
52336
  };
52337
- var mkdirpManualSync = (path2, opts, made) => {
52338
- const parent = dirname(path2);
52337
+ var mkdirpManualSync = (path3, opts, made) => {
52338
+ const parent = dirname(path3);
52339
52339
  opts.recursive = false;
52340
- if (parent === path2) {
52340
+ if (parent === path3) {
52341
52341
  try {
52342
- return opts.mkdirSync(path2, opts);
52342
+ return opts.mkdirSync(path3, opts);
52343
52343
  } catch (er) {
52344
52344
  if (er.code !== "EISDIR")
52345
52345
  throw er;
@@ -52348,15 +52348,15 @@ var require_mkdirp_manual = __commonJS({
52348
52348
  }
52349
52349
  }
52350
52350
  try {
52351
- opts.mkdirSync(path2, opts);
52352
- return made || path2;
52351
+ opts.mkdirSync(path3, opts);
52352
+ return made || path3;
52353
52353
  } catch (er) {
52354
52354
  if (er.code === "ENOENT")
52355
- return mkdirpManualSync(path2, opts, mkdirpManualSync(parent, opts, made));
52355
+ return mkdirpManualSync(path3, opts, mkdirpManualSync(parent, opts, made));
52356
52356
  if (er.code !== "EEXIST" && er.code !== "EROFS")
52357
52357
  throw er;
52358
52358
  try {
52359
- if (!opts.statSync(path2).isDirectory())
52359
+ if (!opts.statSync(path3).isDirectory())
52360
52360
  throw er;
52361
52361
  } catch (_) {
52362
52362
  throw er;
@@ -52373,30 +52373,30 @@ var require_mkdirp_native = __commonJS({
52373
52373
  var { dirname } = require("path");
52374
52374
  var { findMade, findMadeSync } = require_find_made();
52375
52375
  var { mkdirpManual, mkdirpManualSync } = require_mkdirp_manual();
52376
- var mkdirpNative = (path2, opts) => {
52376
+ var mkdirpNative = (path3, opts) => {
52377
52377
  opts.recursive = true;
52378
- const parent = dirname(path2);
52379
- if (parent === path2)
52380
- return opts.mkdirAsync(path2, opts);
52381
- return findMade(opts, path2).then((made) => opts.mkdirAsync(path2, opts).then(() => made).catch((er) => {
52378
+ const parent = dirname(path3);
52379
+ if (parent === path3)
52380
+ return opts.mkdirAsync(path3, opts);
52381
+ return findMade(opts, path3).then((made) => opts.mkdirAsync(path3, opts).then(() => made).catch((er) => {
52382
52382
  if (er.code === "ENOENT")
52383
- return mkdirpManual(path2, opts);
52383
+ return mkdirpManual(path3, opts);
52384
52384
  else
52385
52385
  throw er;
52386
52386
  }));
52387
52387
  };
52388
- var mkdirpNativeSync = (path2, opts) => {
52388
+ var mkdirpNativeSync = (path3, opts) => {
52389
52389
  opts.recursive = true;
52390
- const parent = dirname(path2);
52391
- if (parent === path2)
52392
- return opts.mkdirSync(path2, opts);
52393
- const made = findMadeSync(opts, path2);
52390
+ const parent = dirname(path3);
52391
+ if (parent === path3)
52392
+ return opts.mkdirSync(path3, opts);
52393
+ const made = findMadeSync(opts, path3);
52394
52394
  try {
52395
- opts.mkdirSync(path2, opts);
52395
+ opts.mkdirSync(path3, opts);
52396
52396
  return made;
52397
52397
  } catch (er) {
52398
52398
  if (er.code === "ENOENT")
52399
- return mkdirpManualSync(path2, opts);
52399
+ return mkdirpManualSync(path3, opts);
52400
52400
  else
52401
52401
  throw er;
52402
52402
  }
@@ -52426,21 +52426,21 @@ var require_mkdirp = __commonJS({
52426
52426
  var { mkdirpNative, mkdirpNativeSync } = require_mkdirp_native();
52427
52427
  var { mkdirpManual, mkdirpManualSync } = require_mkdirp_manual();
52428
52428
  var { useNative, useNativeSync } = require_use_native();
52429
- var mkdirp = (path2, opts) => {
52430
- path2 = pathArg(path2);
52429
+ var mkdirp = (path3, opts) => {
52430
+ path3 = pathArg(path3);
52431
52431
  opts = optsArg(opts);
52432
- return useNative(opts) ? mkdirpNative(path2, opts) : mkdirpManual(path2, opts);
52432
+ return useNative(opts) ? mkdirpNative(path3, opts) : mkdirpManual(path3, opts);
52433
52433
  };
52434
- var mkdirpSync = (path2, opts) => {
52435
- path2 = pathArg(path2);
52434
+ var mkdirpSync = (path3, opts) => {
52435
+ path3 = pathArg(path3);
52436
52436
  opts = optsArg(opts);
52437
- return useNativeSync(opts) ? mkdirpNativeSync(path2, opts) : mkdirpManualSync(path2, opts);
52437
+ return useNativeSync(opts) ? mkdirpNativeSync(path3, opts) : mkdirpManualSync(path3, opts);
52438
52438
  };
52439
52439
  mkdirp.sync = mkdirpSync;
52440
- mkdirp.native = (path2, opts) => mkdirpNative(pathArg(path2), optsArg(opts));
52441
- mkdirp.manual = (path2, opts) => mkdirpManual(pathArg(path2), optsArg(opts));
52442
- mkdirp.nativeSync = (path2, opts) => mkdirpNativeSync(pathArg(path2), optsArg(opts));
52443
- mkdirp.manualSync = (path2, opts) => mkdirpManualSync(pathArg(path2), optsArg(opts));
52440
+ mkdirp.native = (path3, opts) => mkdirpNative(pathArg(path3), optsArg(opts));
52441
+ mkdirp.manual = (path3, opts) => mkdirpManual(pathArg(path3), optsArg(opts));
52442
+ mkdirp.nativeSync = (path3, opts) => mkdirpNativeSync(pathArg(path3), optsArg(opts));
52443
+ mkdirp.manualSync = (path3, opts) => mkdirpManualSync(pathArg(path3), optsArg(opts));
52444
52444
  module2.exports = mkdirp;
52445
52445
  }
52446
52446
  });
@@ -52450,46 +52450,46 @@ var require_chownr = __commonJS({
52450
52450
  "../../../../node_modules/.pnpm/chownr@2.0.0/node_modules/chownr/chownr.js"(exports, module2) {
52451
52451
  "use strict";
52452
52452
  var fs3 = require("fs");
52453
- var path2 = require("path");
52453
+ var path3 = require("path");
52454
52454
  var LCHOWN = fs3.lchown ? "lchown" : "chown";
52455
52455
  var LCHOWNSYNC = fs3.lchownSync ? "lchownSync" : "chownSync";
52456
52456
  var needEISDIRHandled = fs3.lchown && !process.version.match(/v1[1-9]+\./) && !process.version.match(/v10\.[6-9]/);
52457
- var lchownSync = (path3, uid2, gid) => {
52457
+ var lchownSync = (path4, uid2, gid) => {
52458
52458
  try {
52459
- return fs3[LCHOWNSYNC](path3, uid2, gid);
52459
+ return fs3[LCHOWNSYNC](path4, uid2, gid);
52460
52460
  } catch (er) {
52461
52461
  if (er.code !== "ENOENT")
52462
52462
  throw er;
52463
52463
  }
52464
52464
  };
52465
- var chownSync = (path3, uid2, gid) => {
52465
+ var chownSync = (path4, uid2, gid) => {
52466
52466
  try {
52467
- return fs3.chownSync(path3, uid2, gid);
52467
+ return fs3.chownSync(path4, uid2, gid);
52468
52468
  } catch (er) {
52469
52469
  if (er.code !== "ENOENT")
52470
52470
  throw er;
52471
52471
  }
52472
52472
  };
52473
- var handleEISDIR = needEISDIRHandled ? (path3, uid2, gid, cb) => (er) => {
52473
+ var handleEISDIR = needEISDIRHandled ? (path4, uid2, gid, cb) => (er) => {
52474
52474
  if (!er || er.code !== "EISDIR")
52475
52475
  cb(er);
52476
52476
  else
52477
- fs3.chown(path3, uid2, gid, cb);
52477
+ fs3.chown(path4, uid2, gid, cb);
52478
52478
  } : (_, __, ___, cb) => cb;
52479
- var handleEISDirSync = needEISDIRHandled ? (path3, uid2, gid) => {
52479
+ var handleEISDirSync = needEISDIRHandled ? (path4, uid2, gid) => {
52480
52480
  try {
52481
- return lchownSync(path3, uid2, gid);
52481
+ return lchownSync(path4, uid2, gid);
52482
52482
  } catch (er) {
52483
52483
  if (er.code !== "EISDIR")
52484
52484
  throw er;
52485
- chownSync(path3, uid2, gid);
52485
+ chownSync(path4, uid2, gid);
52486
52486
  }
52487
- } : (path3, uid2, gid) => lchownSync(path3, uid2, gid);
52487
+ } : (path4, uid2, gid) => lchownSync(path4, uid2, gid);
52488
52488
  var nodeVersion = process.version;
52489
- var readdir = (path3, options, cb) => fs3.readdir(path3, options, cb);
52490
- var readdirSync = (path3, options) => fs3.readdirSync(path3, options);
52489
+ var readdir = (path4, options, cb) => fs3.readdir(path4, options, cb);
52490
+ var readdirSync = (path4, options) => fs3.readdirSync(path4, options);
52491
52491
  if (/^v4\./.test(nodeVersion))
52492
- readdir = (path3, options, cb) => fs3.readdir(path3, cb);
52492
+ readdir = (path4, options, cb) => fs3.readdir(path4, cb);
52493
52493
  var chown = (cpath, uid2, gid, cb) => {
52494
52494
  fs3[LCHOWN](cpath, uid2, gid, handleEISDIR(cpath, uid2, gid, (er) => {
52495
52495
  cb(er && er.code !== "ENOENT" ? er : null);
@@ -52497,21 +52497,21 @@ var require_chownr = __commonJS({
52497
52497
  };
52498
52498
  var chownrKid = (p, child, uid2, gid, cb) => {
52499
52499
  if (typeof child === "string")
52500
- return fs3.lstat(path2.resolve(p, child), (er, stats) => {
52500
+ return fs3.lstat(path3.resolve(p, child), (er, stats) => {
52501
52501
  if (er)
52502
52502
  return cb(er.code !== "ENOENT" ? er : null);
52503
52503
  stats.name = child;
52504
52504
  chownrKid(p, stats, uid2, gid, cb);
52505
52505
  });
52506
52506
  if (child.isDirectory()) {
52507
- chownr(path2.resolve(p, child.name), uid2, gid, (er) => {
52507
+ chownr(path3.resolve(p, child.name), uid2, gid, (er) => {
52508
52508
  if (er)
52509
52509
  return cb(er);
52510
- const cpath = path2.resolve(p, child.name);
52510
+ const cpath = path3.resolve(p, child.name);
52511
52511
  chown(cpath, uid2, gid, cb);
52512
52512
  });
52513
52513
  } else {
52514
- const cpath = path2.resolve(p, child.name);
52514
+ const cpath = path3.resolve(p, child.name);
52515
52515
  chown(cpath, uid2, gid, cb);
52516
52516
  }
52517
52517
  };
@@ -52541,7 +52541,7 @@ var require_chownr = __commonJS({
52541
52541
  var chownrKidSync = (p, child, uid2, gid) => {
52542
52542
  if (typeof child === "string") {
52543
52543
  try {
52544
- const stats = fs3.lstatSync(path2.resolve(p, child));
52544
+ const stats = fs3.lstatSync(path3.resolve(p, child));
52545
52545
  stats.name = child;
52546
52546
  child = stats;
52547
52547
  } catch (er) {
@@ -52552,8 +52552,8 @@ var require_chownr = __commonJS({
52552
52552
  }
52553
52553
  }
52554
52554
  if (child.isDirectory())
52555
- chownrSync(path2.resolve(p, child.name), uid2, gid);
52556
- handleEISDirSync(path2.resolve(p, child.name), uid2, gid);
52555
+ chownrSync(path3.resolve(p, child.name), uid2, gid);
52556
+ handleEISDirSync(path3.resolve(p, child.name), uid2, gid);
52557
52557
  };
52558
52558
  var chownrSync = (p, uid2, gid) => {
52559
52559
  let children;
@@ -52582,13 +52582,13 @@ var require_mkdir = __commonJS({
52582
52582
  "use strict";
52583
52583
  var mkdirp = require_mkdirp();
52584
52584
  var fs3 = require("fs");
52585
- var path2 = require("path");
52585
+ var path3 = require("path");
52586
52586
  var chownr = require_chownr();
52587
52587
  var normPath = require_normalize_windows_path();
52588
52588
  var SymlinkError = class extends Error {
52589
- constructor(symlink, path3) {
52589
+ constructor(symlink, path4) {
52590
52590
  super("Cannot extract through symbolic link");
52591
- this.path = path3;
52591
+ this.path = path4;
52592
52592
  this.symlink = symlink;
52593
52593
  }
52594
52594
  get name() {
@@ -52596,9 +52596,9 @@ var require_mkdir = __commonJS({
52596
52596
  }
52597
52597
  };
52598
52598
  var CwdError = class extends Error {
52599
- constructor(path3, code) {
52600
- super(code + ": Cannot cd into '" + path3 + "'");
52601
- this.path = path3;
52599
+ constructor(path4, code) {
52600
+ super(code + ": Cannot cd into '" + path4 + "'");
52601
+ this.path = path4;
52602
52602
  this.code = code;
52603
52603
  }
52604
52604
  get name() {
@@ -52645,7 +52645,7 @@ var require_mkdir = __commonJS({
52645
52645
  return checkCwd(dir, done);
52646
52646
  if (preserve)
52647
52647
  return mkdirp(dir, { mode }).then((made) => done(null, made), done);
52648
- const sub = normPath(path2.relative(cwd, dir));
52648
+ const sub = normPath(path3.relative(cwd, dir));
52649
52649
  const parts = sub.split("/");
52650
52650
  mkdir_(cwd, parts, mode, cache, unlink, cwd, null, done);
52651
52651
  };
@@ -52653,7 +52653,7 @@ var require_mkdir = __commonJS({
52653
52653
  if (!parts.length)
52654
52654
  return cb(null, created);
52655
52655
  const p = parts.shift();
52656
- const part = normPath(path2.resolve(base + "/" + p));
52656
+ const part = normPath(path3.resolve(base + "/" + p));
52657
52657
  if (cGet(cache, part))
52658
52658
  return mkdir_(part, parts, mode, cache, unlink, cwd, created, cb);
52659
52659
  fs3.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb));
@@ -52721,11 +52721,11 @@ var require_mkdir = __commonJS({
52721
52721
  }
52722
52722
  if (preserve)
52723
52723
  return done(mkdirp.sync(dir, mode));
52724
- const sub = normPath(path2.relative(cwd, dir));
52724
+ const sub = normPath(path3.relative(cwd, dir));
52725
52725
  const parts = sub.split("/");
52726
52726
  let created = null;
52727
52727
  for (let p = parts.shift(), part = cwd; p && (part += "/" + p); p = parts.shift()) {
52728
- part = normPath(path2.resolve(part));
52728
+ part = normPath(path3.resolve(part));
52729
52729
  if (cGet(cache, part))
52730
52730
  continue;
52731
52731
  try {
@@ -52777,11 +52777,11 @@ var require_path_reservations = __commonJS({
52777
52777
  module2.exports = () => {
52778
52778
  const queues = /* @__PURE__ */ new Map();
52779
52779
  const reservations = /* @__PURE__ */ new Map();
52780
- const getDirs = (path2) => {
52781
- const dirs = path2.split("/").slice(0, -1).reduce((set, path3) => {
52780
+ const getDirs = (path3) => {
52781
+ const dirs = path3.split("/").slice(0, -1).reduce((set, path4) => {
52782
52782
  if (set.length)
52783
- path3 = join(set[set.length - 1], path3);
52784
- set.push(path3 || "/");
52783
+ path4 = join(set[set.length - 1], path4);
52784
+ set.push(path4 || "/");
52785
52785
  return set;
52786
52786
  }, []);
52787
52787
  return dirs;
@@ -52792,8 +52792,8 @@ var require_path_reservations = __commonJS({
52792
52792
  if (!res)
52793
52793
  throw new Error("function does not have any path reservations");
52794
52794
  return {
52795
- paths: res.paths.map((path2) => queues.get(path2)),
52796
- dirs: [...res.dirs].map((path2) => queues.get(path2))
52795
+ paths: res.paths.map((path3) => queues.get(path3)),
52796
+ dirs: [...res.dirs].map((path3) => queues.get(path3))
52797
52797
  };
52798
52798
  };
52799
52799
  const check = (fn) => {
@@ -52812,11 +52812,11 @@ var require_path_reservations = __commonJS({
52812
52812
  return false;
52813
52813
  const { paths, dirs } = reservations.get(fn);
52814
52814
  const next = /* @__PURE__ */ new Set();
52815
- paths.forEach((path2) => {
52816
- const q = queues.get(path2);
52815
+ paths.forEach((path3) => {
52816
+ const q = queues.get(path3);
52817
52817
  assert.equal(q[0], fn);
52818
52818
  if (q.length === 1)
52819
- queues.delete(path2);
52819
+ queues.delete(path3);
52820
52820
  else {
52821
52821
  q.shift();
52822
52822
  if (typeof q[0] === "function")
@@ -52845,13 +52845,13 @@ var require_path_reservations = __commonJS({
52845
52845
  return normalize(stripSlashes(join(p))).toLowerCase();
52846
52846
  });
52847
52847
  const dirs = new Set(
52848
- paths.map((path2) => getDirs(path2)).reduce((a, b) => a.concat(b))
52848
+ paths.map((path3) => getDirs(path3)).reduce((a, b) => a.concat(b))
52849
52849
  );
52850
52850
  reservations.set(fn, { dirs, paths });
52851
- paths.forEach((path2) => {
52852
- const q = queues.get(path2);
52851
+ paths.forEach((path3) => {
52852
+ const q = queues.get(path3);
52853
52853
  if (!q)
52854
- queues.set(path2, [fn]);
52854
+ queues.set(path3, [fn]);
52855
52855
  else
52856
52856
  q.push(fn);
52857
52857
  });
@@ -52893,7 +52893,7 @@ var require_unpack = __commonJS({
52893
52893
  var Parser2 = require_parse2();
52894
52894
  var fs3 = require("fs");
52895
52895
  var fsm = require_fs_minipass();
52896
- var path2 = require("path");
52896
+ var path3 = require("path");
52897
52897
  var mkdir = require_mkdir();
52898
52898
  var wc = require_winchars();
52899
52899
  var pathReservations = require_path_reservations();
@@ -52930,31 +52930,31 @@ var require_unpack = __commonJS({
52930
52930
  var getFlag = require_get_write_flag();
52931
52931
  var platform = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
52932
52932
  var isWindows = platform === "win32";
52933
- var unlinkFile = (path3, cb) => {
52933
+ var unlinkFile = (path4, cb) => {
52934
52934
  if (!isWindows)
52935
- return fs3.unlink(path3, cb);
52936
- const name = path3 + ".DELETE." + crypto.randomBytes(16).toString("hex");
52937
- fs3.rename(path3, name, (er) => {
52935
+ return fs3.unlink(path4, cb);
52936
+ const name = path4 + ".DELETE." + crypto.randomBytes(16).toString("hex");
52937
+ fs3.rename(path4, name, (er) => {
52938
52938
  if (er)
52939
52939
  return cb(er);
52940
52940
  fs3.unlink(name, cb);
52941
52941
  });
52942
52942
  };
52943
- var unlinkFileSync = (path3) => {
52943
+ var unlinkFileSync = (path4) => {
52944
52944
  if (!isWindows)
52945
- return fs3.unlinkSync(path3);
52946
- const name = path3 + ".DELETE." + crypto.randomBytes(16).toString("hex");
52947
- fs3.renameSync(path3, name);
52945
+ return fs3.unlinkSync(path4);
52946
+ const name = path4 + ".DELETE." + crypto.randomBytes(16).toString("hex");
52947
+ fs3.renameSync(path4, name);
52948
52948
  fs3.unlinkSync(name);
52949
52949
  };
52950
52950
  var uint32 = (a, b, c) => a === a >>> 0 ? a : b === b >>> 0 ? b : c;
52951
- var cacheKeyNormalize = (path3) => normalize(stripSlash(normPath(path3))).toLowerCase();
52951
+ var cacheKeyNormalize = (path4) => normalize(stripSlash(normPath(path4))).toLowerCase();
52952
52952
  var pruneCache = (cache, abs) => {
52953
52953
  abs = cacheKeyNormalize(abs);
52954
- for (const path3 of cache.keys()) {
52955
- const pnorm = cacheKeyNormalize(path3);
52954
+ for (const path4 of cache.keys()) {
52955
+ const pnorm = cacheKeyNormalize(path4);
52956
52956
  if (pnorm === abs || pnorm.indexOf(abs + "/") === 0)
52957
- cache.delete(path3);
52957
+ cache.delete(path4);
52958
52958
  }
52959
52959
  };
52960
52960
  var dropCache = (cache) => {
@@ -53007,7 +53007,7 @@ var require_unpack = __commonJS({
53007
53007
  this.noMtime = !!opt.noMtime;
53008
53008
  this.preservePaths = !!opt.preservePaths;
53009
53009
  this.unlink = !!opt.unlink;
53010
- this.cwd = normPath(path2.resolve(opt.cwd || process.cwd()));
53010
+ this.cwd = normPath(path3.resolve(opt.cwd || process.cwd()));
53011
53011
  this.strip = +opt.strip || 0;
53012
53012
  this.processUmask = opt.noChmod ? 0 : process.umask();
53013
53013
  this.umask = typeof opt.umask === "number" ? opt.umask : this.processUmask;
@@ -53064,10 +53064,10 @@ var require_unpack = __commonJS({
53064
53064
  });
53065
53065
  }
53066
53066
  }
53067
- if (path2.isAbsolute(entry.path))
53068
- entry.absolute = normPath(path2.resolve(entry.path));
53067
+ if (path3.isAbsolute(entry.path))
53068
+ entry.absolute = normPath(path3.resolve(entry.path));
53069
53069
  else
53070
- entry.absolute = normPath(path2.resolve(this.cwd, entry.path));
53070
+ entry.absolute = normPath(path3.resolve(this.cwd, entry.path));
53071
53071
  if (!this.preservePaths && entry.absolute.indexOf(this.cwd + "/") !== 0 && entry.absolute !== this.cwd) {
53072
53072
  this.warn("TAR_ENTRY_ERROR", "path escaped extraction target", {
53073
53073
  entry,
@@ -53080,9 +53080,9 @@ var require_unpack = __commonJS({
53080
53080
  if (entry.absolute === this.cwd && entry.type !== "Directory" && entry.type !== "GNUDumpDir")
53081
53081
  return false;
53082
53082
  if (this.win32) {
53083
- const { root: aRoot } = path2.win32.parse(entry.absolute);
53083
+ const { root: aRoot } = path3.win32.parse(entry.absolute);
53084
53084
  entry.absolute = aRoot + wc.encode(entry.absolute.substr(aRoot.length));
53085
- const { root: pRoot } = path2.win32.parse(entry.path);
53085
+ const { root: pRoot } = path3.win32.parse(entry.path);
53086
53086
  entry.path = pRoot + wc.encode(entry.path.substr(pRoot.length));
53087
53087
  }
53088
53088
  return true;
@@ -53244,7 +53244,7 @@ var require_unpack = __commonJS({
53244
53244
  this[LINK](entry, entry.linkpath, "symlink", done);
53245
53245
  }
53246
53246
  [HARDLINK](entry, done) {
53247
- const linkpath = normPath(path2.resolve(this.cwd, entry.linkpath));
53247
+ const linkpath = normPath(path3.resolve(this.cwd, entry.linkpath));
53248
53248
  this[LINK](entry, linkpath, "link", done);
53249
53249
  }
53250
53250
  [PEND]() {
@@ -53297,7 +53297,7 @@ var require_unpack = __commonJS({
53297
53297
  };
53298
53298
  const start = () => {
53299
53299
  if (entry.absolute !== this.cwd) {
53300
- const parent = normPath(path2.dirname(entry.absolute));
53300
+ const parent = normPath(path3.dirname(entry.absolute));
53301
53301
  if (parent !== this.cwd) {
53302
53302
  return this[MKDIR](parent, this.dmode, (er) => {
53303
53303
  if (er) {
@@ -53395,7 +53395,7 @@ var require_unpack = __commonJS({
53395
53395
  this[CHECKED_CWD] = true;
53396
53396
  }
53397
53397
  if (entry.absolute !== this.cwd) {
53398
- const parent = normPath(path2.dirname(entry.absolute));
53398
+ const parent = normPath(path3.dirname(entry.absolute));
53399
53399
  if (parent !== this.cwd) {
53400
53400
  const mkParent = this[MKDIR](parent, this.dmode);
53401
53401
  if (mkParent)
@@ -53547,7 +53547,7 @@ var require_extract = __commonJS({
53547
53547
  var Unpack = require_unpack();
53548
53548
  var fs3 = require("fs");
53549
53549
  var fsm = require_fs_minipass();
53550
- var path2 = require("path");
53550
+ var path3 = require("path");
53551
53551
  var stripSlash = require_strip_trailing_slashes();
53552
53552
  module2.exports = (opt_, files, cb) => {
53553
53553
  if (typeof opt_ === "function")
@@ -53573,8 +53573,8 @@ var require_extract = __commonJS({
53573
53573
  const map2 = new Map(files.map((f) => [stripSlash(f), true]));
53574
53574
  const filter = opt.filter;
53575
53575
  const mapHas = (file, r) => {
53576
- const root = r || path2.parse(file).root || ".";
53577
- const ret = file === root ? false : map2.has(file) ? map2.get(file) : mapHas(path2.dirname(file), root);
53576
+ const root = r || path3.parse(file).root || ".";
53577
+ const ret = file === root ? false : map2.has(file) ? map2.get(file) : mapHas(path3.dirname(file), root);
53578
53578
  map2.set(file, ret);
53579
53579
  return ret;
53580
53580
  };
@@ -53638,9 +53638,9 @@ var require_tar = __commonJS({
53638
53638
  }
53639
53639
  });
53640
53640
 
53641
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/constants.js
53641
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/constants.js
53642
53642
  var require_constants5 = __commonJS({
53643
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/constants.js"(exports) {
53643
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/constants.js"(exports) {
53644
53644
  "use strict";
53645
53645
  Object.defineProperty(exports, "__esModule", {
53646
53646
  value: true
@@ -53653,9 +53653,9 @@ var require_constants5 = __commonJS({
53653
53653
  }
53654
53654
  });
53655
53655
 
53656
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmTarballUrl.js
53656
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmTarballUrl.js
53657
53657
  var require_getNpmTarballUrl = __commonJS({
53658
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmTarballUrl.js"(exports) {
53658
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmTarballUrl.js"(exports) {
53659
53659
  "use strict";
53660
53660
  Object.defineProperty(exports, "__esModule", {
53661
53661
  value: true
@@ -53689,9 +53689,9 @@ var require_getNpmTarballUrl = __commonJS({
53689
53689
  }
53690
53690
  });
53691
53691
 
53692
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmVersion.js
53692
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmVersion.js
53693
53693
  var require_getNpmVersion = __commonJS({
53694
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmVersion.js"(exports) {
53694
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmVersion.js"(exports) {
53695
53695
  "use strict";
53696
53696
  Object.defineProperty(exports, "__esModule", {
53697
53697
  value: true
@@ -53727,9 +53727,9 @@ var require_getNpmVersion = __commonJS({
53727
53727
  }
53728
53728
  });
53729
53729
 
53730
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/downloadPackage.js
53730
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/downloadPackage.js
53731
53731
  var require_downloadPackage = __commonJS({
53732
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/downloadPackage.js"(exports) {
53732
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/downloadPackage.js"(exports) {
53733
53733
  "use strict";
53734
53734
  Object.defineProperty(exports, "__esModule", {
53735
53735
  value: true
@@ -53831,9 +53831,9 @@ var require_downloadPackage = __commonJS({
53831
53831
  }
53832
53832
  });
53833
53833
 
53834
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getPackageInfo.js
53834
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getPackageInfo.js
53835
53835
  var require_getPackageInfo = __commonJS({
53836
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getPackageInfo.js"(exports) {
53836
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getPackageInfo.js"(exports) {
53837
53837
  "use strict";
53838
53838
  Object.defineProperty(exports, "__esModule", {
53839
53839
  value: true
@@ -53865,9 +53865,9 @@ var require_getPackageInfo = __commonJS({
53865
53865
  }
53866
53866
  });
53867
53867
 
53868
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/index.js
53868
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/index.js
53869
53869
  var require_utils4 = __commonJS({
53870
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/index.js"(exports) {
53870
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/index.js"(exports) {
53871
53871
  "use strict";
53872
53872
  Object.defineProperty(exports, "__esModule", {
53873
53873
  value: true
@@ -53943,9 +53943,9 @@ var require_utils4 = __commonJS({
53943
53943
  }
53944
53944
  });
53945
53945
 
53946
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/index.js
53946
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/index.js
53947
53947
  var require_materials = __commonJS({
53948
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/index.js"(exports) {
53948
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/index.js"(exports) {
53949
53949
  "use strict";
53950
53950
  Object.defineProperty(exports, "__esModule", {
53951
53951
  value: true
@@ -54003,9 +54003,9 @@ var require_materials = __commonJS({
54003
54003
  }
54004
54004
  });
54005
54005
 
54006
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/codesmith/index.js
54006
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/codesmith/index.js
54007
54007
  var require_codesmith = __commonJS({
54008
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/codesmith/index.js"(exports) {
54008
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/codesmith/index.js"(exports) {
54009
54009
  "use strict";
54010
54010
  Object.defineProperty(exports, "__esModule", {
54011
54011
  value: true
@@ -54081,9 +54081,9 @@ var require_codesmith = __commonJS({
54081
54081
  }
54082
54082
  });
54083
54083
 
54084
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/index.js
54084
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/index.js
54085
54085
  var require_node3 = __commonJS({
54086
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/index.js"(exports) {
54086
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/index.js"(exports) {
54087
54087
  "use strict";
54088
54088
  Object.defineProperty(exports, "__esModule", {
54089
54089
  value: true
@@ -55348,13 +55348,13 @@ var require_ast = __commonJS({
55348
55348
  helperExpression: function helperExpression(node) {
55349
55349
  return node.type === "SubExpression" || (node.type === "MustacheStatement" || node.type === "BlockStatement") && !!(node.params && node.params.length || node.hash);
55350
55350
  },
55351
- scopedId: function scopedId(path2) {
55352
- return /^\.|this\b/.test(path2.original);
55351
+ scopedId: function scopedId(path3) {
55352
+ return /^\.|this\b/.test(path3.original);
55353
55353
  },
55354
55354
  // an ID is simple if it only has one part, and that part is not
55355
55355
  // `..` or `this`.
55356
- simpleId: function simpleId(path2) {
55357
- return path2.parts.length === 1 && !AST.helpers.scopedId(path2) && !path2.depth;
55356
+ simpleId: function simpleId(path3) {
55357
+ return path3.parts.length === 1 && !AST.helpers.scopedId(path3) && !path3.depth;
55358
55358
  }
55359
55359
  }
55360
55360
  };
@@ -56438,12 +56438,12 @@ var require_helpers2 = __commonJS({
56438
56438
  loc
56439
56439
  };
56440
56440
  }
56441
- function prepareMustache(path2, params, hash, open, strip, locInfo) {
56441
+ function prepareMustache(path3, params, hash, open, strip, locInfo) {
56442
56442
  var escapeFlag = open.charAt(3) || open.charAt(2), escaped = escapeFlag !== "{" && escapeFlag !== "&";
56443
56443
  var decorator = /\*/.test(open);
56444
56444
  return {
56445
56445
  type: decorator ? "Decorator" : "MustacheStatement",
56446
- path: path2,
56446
+ path: path3,
56447
56447
  params,
56448
56448
  hash,
56449
56449
  escaped,
@@ -56714,9 +56714,9 @@ var require_compiler = __commonJS({
56714
56714
  },
56715
56715
  DecoratorBlock: function DecoratorBlock(decorator) {
56716
56716
  var program2 = decorator.program && this.compileProgram(decorator.program);
56717
- var params = this.setupFullMustacheParams(decorator, program2, void 0), path2 = decorator.path;
56717
+ var params = this.setupFullMustacheParams(decorator, program2, void 0), path3 = decorator.path;
56718
56718
  this.useDecorators = true;
56719
- this.opcode("registerDecorator", params.length, path2.original);
56719
+ this.opcode("registerDecorator", params.length, path3.original);
56720
56720
  },
56721
56721
  PartialStatement: function PartialStatement(partial) {
56722
56722
  this.usePartial = true;
@@ -56780,46 +56780,46 @@ var require_compiler = __commonJS({
56780
56780
  }
56781
56781
  },
56782
56782
  ambiguousSexpr: function ambiguousSexpr(sexpr, program2, inverse) {
56783
- var path2 = sexpr.path, name = path2.parts[0], isBlock = program2 != null || inverse != null;
56784
- this.opcode("getContext", path2.depth);
56783
+ var path3 = sexpr.path, name = path3.parts[0], isBlock = program2 != null || inverse != null;
56784
+ this.opcode("getContext", path3.depth);
56785
56785
  this.opcode("pushProgram", program2);
56786
56786
  this.opcode("pushProgram", inverse);
56787
- path2.strict = true;
56788
- this.accept(path2);
56787
+ path3.strict = true;
56788
+ this.accept(path3);
56789
56789
  this.opcode("invokeAmbiguous", name, isBlock);
56790
56790
  },
56791
56791
  simpleSexpr: function simpleSexpr(sexpr) {
56792
- var path2 = sexpr.path;
56793
- path2.strict = true;
56794
- this.accept(path2);
56792
+ var path3 = sexpr.path;
56793
+ path3.strict = true;
56794
+ this.accept(path3);
56795
56795
  this.opcode("resolvePossibleLambda");
56796
56796
  },
56797
56797
  helperSexpr: function helperSexpr(sexpr, program2, inverse) {
56798
- var params = this.setupFullMustacheParams(sexpr, program2, inverse), path2 = sexpr.path, name = path2.parts[0];
56798
+ var params = this.setupFullMustacheParams(sexpr, program2, inverse), path3 = sexpr.path, name = path3.parts[0];
56799
56799
  if (this.options.knownHelpers[name]) {
56800
56800
  this.opcode("invokeKnownHelper", params.length, name);
56801
56801
  } else if (this.options.knownHelpersOnly) {
56802
56802
  throw new _exception2["default"]("You specified knownHelpersOnly, but used the unknown helper " + name, sexpr);
56803
56803
  } else {
56804
- path2.strict = true;
56805
- path2.falsy = true;
56806
- this.accept(path2);
56807
- this.opcode("invokeHelper", params.length, path2.original, _ast2["default"].helpers.simpleId(path2));
56804
+ path3.strict = true;
56805
+ path3.falsy = true;
56806
+ this.accept(path3);
56807
+ this.opcode("invokeHelper", params.length, path3.original, _ast2["default"].helpers.simpleId(path3));
56808
56808
  }
56809
56809
  },
56810
- PathExpression: function PathExpression(path2) {
56811
- this.addDepth(path2.depth);
56812
- this.opcode("getContext", path2.depth);
56813
- var name = path2.parts[0], scoped = _ast2["default"].helpers.scopedId(path2), blockParamId = !path2.depth && !scoped && this.blockParamIndex(name);
56810
+ PathExpression: function PathExpression(path3) {
56811
+ this.addDepth(path3.depth);
56812
+ this.opcode("getContext", path3.depth);
56813
+ var name = path3.parts[0], scoped = _ast2["default"].helpers.scopedId(path3), blockParamId = !path3.depth && !scoped && this.blockParamIndex(name);
56814
56814
  if (blockParamId) {
56815
- this.opcode("lookupBlockParam", blockParamId, path2.parts);
56815
+ this.opcode("lookupBlockParam", blockParamId, path3.parts);
56816
56816
  } else if (!name) {
56817
56817
  this.opcode("pushContext");
56818
- } else if (path2.data) {
56818
+ } else if (path3.data) {
56819
56819
  this.options.data = true;
56820
- this.opcode("lookupData", path2.depth, path2.parts, path2.strict);
56820
+ this.opcode("lookupData", path3.depth, path3.parts, path3.strict);
56821
56821
  } else {
56822
- this.opcode("lookupOnContext", path2.parts, path2.falsy, path2.strict, scoped);
56822
+ this.opcode("lookupOnContext", path3.parts, path3.falsy, path3.strict, scoped);
56823
56823
  }
56824
56824
  },
56825
56825
  StringLiteral: function StringLiteral(string) {
@@ -57170,16 +57170,16 @@ var require_util2 = __commonJS({
57170
57170
  }
57171
57171
  exports.urlGenerate = urlGenerate;
57172
57172
  function normalize(aPath) {
57173
- var path2 = aPath;
57173
+ var path3 = aPath;
57174
57174
  var url = urlParse(aPath);
57175
57175
  if (url) {
57176
57176
  if (!url.path) {
57177
57177
  return aPath;
57178
57178
  }
57179
- path2 = url.path;
57179
+ path3 = url.path;
57180
57180
  }
57181
- var isAbsolute = exports.isAbsolute(path2);
57182
- var parts = path2.split(/\/+/);
57181
+ var isAbsolute = exports.isAbsolute(path3);
57182
+ var parts = path3.split(/\/+/);
57183
57183
  for (var part, up = 0, i = parts.length - 1; i >= 0; i--) {
57184
57184
  part = parts[i];
57185
57185
  if (part === ".") {
@@ -57196,15 +57196,15 @@ var require_util2 = __commonJS({
57196
57196
  }
57197
57197
  }
57198
57198
  }
57199
- path2 = parts.join("/");
57200
- if (path2 === "") {
57201
- path2 = isAbsolute ? "/" : ".";
57199
+ path3 = parts.join("/");
57200
+ if (path3 === "") {
57201
+ path3 = isAbsolute ? "/" : ".";
57202
57202
  }
57203
57203
  if (url) {
57204
- url.path = path2;
57204
+ url.path = path3;
57205
57205
  return urlGenerate(url);
57206
57206
  }
57207
- return path2;
57207
+ return path3;
57208
57208
  }
57209
57209
  exports.normalize = normalize;
57210
57210
  function join(aRoot, aPath) {
@@ -59986,8 +59986,8 @@ var require_printer = __commonJS({
59986
59986
  return this.accept(sexpr.path) + " " + params + hash;
59987
59987
  };
59988
59988
  PrintVisitor.prototype.PathExpression = function(id) {
59989
- var path2 = id.parts.join("/");
59990
- return (id.data ? "@" : "") + "PATH:" + path2;
59989
+ var path3 = id.parts.join("/");
59990
+ return (id.data ? "@" : "") + "PATH:" + path3;
59991
59991
  };
59992
59992
  PrintVisitor.prototype.StringLiteral = function(string) {
59993
59993
  return '"' + string.value + '"';
@@ -60037,9 +60037,9 @@ var require_lib = __commonJS({
60037
60037
  }
60038
60038
  });
60039
60039
 
60040
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/renderString.js
60040
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/renderString.js
60041
60041
  var require_renderString = __commonJS({
60042
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/renderString.js"(exports) {
60042
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/renderString.js"(exports) {
60043
60043
  "use strict";
60044
60044
  Object.defineProperty(exports, "__esModule", {
60045
60045
  value: true
@@ -60088,9 +60088,9 @@ var require_renderString = __commonJS({
60088
60088
  }
60089
60089
  });
60090
60090
 
60091
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/index.js
60091
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/index.js
60092
60092
  var require_utils6 = __commonJS({
60093
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/index.js"(exports) {
60093
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/index.js"(exports) {
60094
60094
  "use strict";
60095
60095
  Object.defineProperty(exports, "__esModule", {
60096
60096
  value: true
@@ -60105,9 +60105,9 @@ var require_utils6 = __commonJS({
60105
60105
  }
60106
60106
  });
60107
60107
 
60108
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/index.js
60108
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/index.js
60109
60109
  var require_node4 = __commonJS({
60110
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/index.js"(exports) {
60110
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/index.js"(exports) {
60111
60111
  "use strict";
60112
60112
  Object.defineProperty(exports, "__esModule", {
60113
60113
  value: true
@@ -60121,6 +60121,27 @@ var require_node4 = __commonJS({
60121
60121
  });
60122
60122
  var _codesmith = require_node3();
60123
60123
  var _utils = require_utils6();
60124
+ function ownKeys(object, enumerableOnly) {
60125
+ var keys = Object.keys(object);
60126
+ if (Object.getOwnPropertySymbols) {
60127
+ var symbols = Object.getOwnPropertySymbols(object);
60128
+ enumerableOnly && (symbols = symbols.filter(function(sym) {
60129
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
60130
+ })), keys.push.apply(keys, symbols);
60131
+ }
60132
+ return keys;
60133
+ }
60134
+ function _objectSpread(target) {
60135
+ for (var i = 1; i < arguments.length; i++) {
60136
+ var source = null != arguments[i] ? arguments[i] : {};
60137
+ i % 2 ? ownKeys(Object(source), true).forEach(function(key) {
60138
+ _defineProperty(target, key, source[key]);
60139
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function(key) {
60140
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
60141
+ });
60142
+ }
60143
+ return target;
60144
+ }
60124
60145
  function _defineProperty(obj, key, value) {
60125
60146
  if (key in obj) {
60126
60147
  Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
@@ -60139,6 +60160,16 @@ var require_node4 = __commonJS({
60139
60160
  partials: {}
60140
60161
  };
60141
60162
  }
60163
+ registerHelp(helpers) {
60164
+ return __async(this, null, function* () {
60165
+ this.registers.helpers = _objectSpread(_objectSpread({}, this.registers.helpers), helpers);
60166
+ });
60167
+ }
60168
+ registerPartials(partials) {
60169
+ return __async(this, null, function* () {
60170
+ this.registers.partials = _objectSpread(_objectSpread({}, this.registers.partials), partials);
60171
+ });
60172
+ }
60142
60173
  renderTemplate(_0, _1) {
60143
60174
  return __async(this, arguments, function* (templateResource, target, parameters = {}) {
60144
60175
  if (templateResource._type !== _codesmith.FS_RESOURCE) {
@@ -60339,7 +60370,7 @@ var require_ejs = __commonJS({
60339
60370
  "../../../../node_modules/.pnpm/ejs@3.1.8/node_modules/ejs/lib/ejs.js"(exports) {
60340
60371
  "use strict";
60341
60372
  var fs3 = require("fs");
60342
- var path2 = require("path");
60373
+ var path3 = require("path");
60343
60374
  var utils = require_utils7();
60344
60375
  var scopeOptionWarned = false;
60345
60376
  var _VERSION_STRING = require_package3().version;
@@ -60370,9 +60401,9 @@ var require_ejs = __commonJS({
60370
60401
  exports.localsName = _DEFAULT_LOCALS_NAME;
60371
60402
  exports.promiseImpl = new Function("return this;")().Promise;
60372
60403
  exports.resolveInclude = function(name, filename, isDir) {
60373
- var dirname = path2.dirname;
60374
- var extname = path2.extname;
60375
- var resolve = path2.resolve;
60404
+ var dirname = path3.dirname;
60405
+ var extname = path3.extname;
60406
+ var resolve = path3.resolve;
60376
60407
  var includePath = resolve(isDir ? filename : dirname(filename), name);
60377
60408
  var ext = extname(name);
60378
60409
  if (!ext) {
@@ -60389,30 +60420,30 @@ var require_ejs = __commonJS({
60389
60420
  return filePath;
60390
60421
  }
60391
60422
  }
60392
- function getIncludePath(path3, options) {
60423
+ function getIncludePath(path4, options) {
60393
60424
  var includePath;
60394
60425
  var filePath;
60395
60426
  var views = options.views;
60396
- var match = /^[A-Za-z]+:\\|^\//.exec(path3);
60427
+ var match = /^[A-Za-z]+:\\|^\//.exec(path4);
60397
60428
  if (match && match.length) {
60398
- path3 = path3.replace(/^\/*/, "");
60429
+ path4 = path4.replace(/^\/*/, "");
60399
60430
  if (Array.isArray(options.root)) {
60400
- includePath = resolvePaths(path3, options.root);
60431
+ includePath = resolvePaths(path4, options.root);
60401
60432
  } else {
60402
- includePath = exports.resolveInclude(path3, options.root || "/", true);
60433
+ includePath = exports.resolveInclude(path4, options.root || "/", true);
60403
60434
  }
60404
60435
  } else {
60405
60436
  if (options.filename) {
60406
- filePath = exports.resolveInclude(path3, options.filename);
60437
+ filePath = exports.resolveInclude(path4, options.filename);
60407
60438
  if (fs3.existsSync(filePath)) {
60408
60439
  includePath = filePath;
60409
60440
  }
60410
60441
  }
60411
60442
  if (!includePath && Array.isArray(views)) {
60412
- includePath = resolvePaths(path3, views);
60443
+ includePath = resolvePaths(path4, views);
60413
60444
  }
60414
60445
  if (!includePath && typeof options.includer !== "function") {
60415
- throw new Error('Could not find the include file "' + options.escapeFunction(path3) + '"');
60446
+ throw new Error('Could not find the include file "' + options.escapeFunction(path4) + '"');
60416
60447
  }
60417
60448
  }
60418
60449
  return includePath;
@@ -60471,11 +60502,11 @@ var require_ejs = __commonJS({
60471
60502
  function fileLoader(filePath) {
60472
60503
  return exports.fileLoader(filePath);
60473
60504
  }
60474
- function includeFile(path3, options) {
60505
+ function includeFile(path4, options) {
60475
60506
  var opts = utils.shallowCopy(utils.createNullProtoObjWherePossible(), options);
60476
- opts.filename = getIncludePath(path3, opts);
60507
+ opts.filename = getIncludePath(path4, opts);
60477
60508
  if (typeof options.includer === "function") {
60478
- var includerResult = options.includer(path3, opts.filename);
60509
+ var includerResult = options.includer(path4, opts.filename);
60479
60510
  if (includerResult) {
60480
60511
  if (includerResult.filename) {
60481
60512
  opts.filename = includerResult.filename;
@@ -60710,12 +60741,12 @@ var require_ejs = __commonJS({
60710
60741
  throw e;
60711
60742
  }
60712
60743
  var returnedFn = opts.client ? fn : function anonymous(data) {
60713
- var include = function(path3, includeData) {
60744
+ var include = function(path4, includeData) {
60714
60745
  var d = utils.shallowCopy(utils.createNullProtoObjWherePossible(), data);
60715
60746
  if (includeData) {
60716
60747
  d = utils.shallowCopy(d, includeData);
60717
60748
  }
60718
- return includeFile(path3, opts)(d);
60749
+ return includeFile(path4, opts)(d);
60719
60750
  };
60720
60751
  return fn.apply(
60721
60752
  opts.context,
@@ -60724,7 +60755,7 @@ var require_ejs = __commonJS({
60724
60755
  };
60725
60756
  if (opts.filename && typeof Object.defineProperty === "function") {
60726
60757
  var filename = opts.filename;
60727
- var basename = path2.basename(filename, path2.extname(filename));
60758
+ var basename = path3.basename(filename, path3.extname(filename));
60728
60759
  try {
60729
60760
  Object.defineProperty(returnedFn, "name", {
60730
60761
  value: basename,
@@ -60880,9 +60911,9 @@ var require_ejs = __commonJS({
60880
60911
  }
60881
60912
  });
60882
60913
 
60883
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/renderString.js
60914
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/renderString.js
60884
60915
  var require_renderString2 = __commonJS({
60885
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/renderString.js"(exports) {
60916
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/renderString.js"(exports) {
60886
60917
  "use strict";
60887
60918
  Object.defineProperty(exports, "__esModule", {
60888
60919
  value: true
@@ -60898,9 +60929,9 @@ var require_renderString2 = __commonJS({
60898
60929
  }
60899
60930
  });
60900
60931
 
60901
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/index.js
60932
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/index.js
60902
60933
  var require_utils8 = __commonJS({
60903
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/index.js"(exports) {
60934
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/index.js"(exports) {
60904
60935
  "use strict";
60905
60936
  Object.defineProperty(exports, "__esModule", {
60906
60937
  value: true
@@ -60915,9 +60946,9 @@ var require_utils8 = __commonJS({
60915
60946
  }
60916
60947
  });
60917
60948
 
60918
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/index.js
60949
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/index.js
60919
60950
  var require_node5 = __commonJS({
60920
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/index.js"(exports) {
60951
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/index.js"(exports) {
60921
60952
  "use strict";
60922
60953
  Object.defineProperty(exports, "__esModule", {
60923
60954
  value: true
@@ -60975,9 +61006,9 @@ var require_node5 = __commonJS({
60975
61006
  }
60976
61007
  });
60977
61008
 
60978
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-fs/dist/js/node/constant.js
61009
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-fs/dist/js/node/constant.js
60979
61010
  var require_constant = __commonJS({
60980
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-fs/dist/js/node/constant.js"(exports) {
61011
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-fs/dist/js/node/constant.js"(exports) {
60981
61012
  "use strict";
60982
61013
  Object.defineProperty(exports, "__esModule", {
60983
61014
  value: true
@@ -60988,9 +61019,9 @@ var require_constant = __commonJS({
60988
61019
  }
60989
61020
  });
60990
61021
 
60991
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-fs/dist/js/node/index.js
61022
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-fs/dist/js/node/index.js
60992
61023
  var require_node6 = __commonJS({
60993
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-fs/dist/js/node/index.js"(exports) {
61024
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-fs/dist/js/node/index.js"(exports) {
60994
61025
  "use strict";
60995
61026
  Object.defineProperty(exports, "__esModule", {
60996
61027
  value: true
@@ -62179,8 +62210,8 @@ var init_destructor = __esm({
62179
62210
  };
62180
62211
  setInByDestructor = function(source, rules, value, mutators) {
62181
62212
  rules.forEach(function(_a2) {
62182
- var key = _a2.key, path2 = _a2.path;
62183
- mutators.setIn([key], source, mutators.getIn(path2, value));
62213
+ var key = _a2.key, path3 = _a2.path;
62214
+ mutators.setIn([key], source, mutators.getIn(path3, value));
62184
62215
  });
62185
62216
  };
62186
62217
  getInByDestructor = function(source, rules, mutators) {
@@ -62192,8 +62223,8 @@ var init_destructor = __esm({
62192
62223
  }
62193
62224
  source = isValid2(source) ? source : {};
62194
62225
  rules.forEach(function(_a2) {
62195
- var key = _a2.key, path2 = _a2.path;
62196
- mutators.setIn(path2, response, source[key]);
62226
+ var key = _a2.key, path3 = _a2.path;
62227
+ mutators.setIn(path3, response, source[key]);
62197
62228
  });
62198
62229
  return response;
62199
62230
  };
@@ -62774,8 +62805,8 @@ var init_matcher = __esm({
62774
62805
  }
62775
62806
  return false;
62776
62807
  };
62777
- Matcher2.prototype.match = function(path2) {
62778
- this.path = path2;
62808
+ Matcher2.prototype.match = function(path3) {
62809
+ this.path = path3;
62779
62810
  return { matched: this.matchNode(this.tree), record: this.record };
62780
62811
  };
62781
62812
  Matcher2.matchSegments = function(source, target, record) {
@@ -63072,21 +63103,21 @@ var init_esm = __esm({
63072
63103
  if (_this.isMatchPattern || _this.isRegExp) {
63073
63104
  throw new Error("".concat(_this.entire, " cannot be concat"));
63074
63105
  }
63075
- var path2 = new Path2("");
63076
- path2.segments = (_a3 = _this.segments).concat.apply(_a3, __spreadArray([], __read(args.map(function(s) {
63106
+ var path3 = new Path2("");
63107
+ path3.segments = (_a3 = _this.segments).concat.apply(_a3, __spreadArray([], __read(args.map(function(s) {
63077
63108
  return parseString(s);
63078
63109
  })), false));
63079
- path2.entire = path2.segments.join(".");
63080
- return path2;
63110
+ path3.entire = path3.segments.join(".");
63111
+ return path3;
63081
63112
  };
63082
63113
  this.slice = function(start, end) {
63083
63114
  if (_this.isMatchPattern || _this.isRegExp) {
63084
63115
  throw new Error("".concat(_this.entire, " cannot be slice"));
63085
63116
  }
63086
- var path2 = new Path2("");
63087
- path2.segments = _this.segments.slice(start, end);
63088
- path2.entire = path2.segments.join(".");
63089
- return path2;
63117
+ var path3 = new Path2("");
63118
+ path3.segments = _this.segments.slice(start, end);
63119
+ path3.entire = path3.segments.join(".");
63120
+ return path3;
63090
63121
  };
63091
63122
  this.push = function() {
63092
63123
  var items = [];
@@ -63178,8 +63209,8 @@ var init_esm = __esm({
63178
63209
  };
63179
63210
  this.match = function(pattern) {
63180
63211
  var _a3, _b;
63181
- var path2 = Path2.parse(pattern);
63182
- var cache = _this.matchCache.get(path2.entire);
63212
+ var path3 = Path2.parse(pattern);
63213
+ var cache = _this.matchCache.get(path3.entire);
63183
63214
  if (cache !== void 0) {
63184
63215
  if (cache.record && cache.record.score !== void 0) {
63185
63216
  _this.matchScore = cache.record.score;
@@ -63187,21 +63218,21 @@ var init_esm = __esm({
63187
63218
  return cache.matched;
63188
63219
  }
63189
63220
  var cacheWith = function(value) {
63190
- _this.matchCache.set(path2.entire, value);
63221
+ _this.matchCache.set(path3.entire, value);
63191
63222
  return value;
63192
63223
  };
63193
- if (path2.isMatchPattern) {
63224
+ if (path3.isMatchPattern) {
63194
63225
  if (_this.isMatchPattern) {
63195
- throw new Error("".concat(path2.entire, " cannot match ").concat(_this.entire));
63226
+ throw new Error("".concat(path3.entire, " cannot match ").concat(_this.entire));
63196
63227
  } else {
63197
63228
  _this.matchScore = 0;
63198
- return cacheWith(path2.match(_this.segments));
63229
+ return cacheWith(path3.match(_this.segments));
63199
63230
  }
63200
63231
  } else {
63201
63232
  if (_this.isMatchPattern) {
63202
63233
  if (_this.isRegExp) {
63203
63234
  try {
63204
- return (_b = (_a3 = _this["entire"]) === null || _a3 === void 0 ? void 0 : _a3["test"]) === null || _b === void 0 ? void 0 : _b.call(_a3, path2.entire);
63235
+ return (_b = (_a3 = _this["entire"]) === null || _a3 === void 0 ? void 0 : _a3["test"]) === null || _b === void 0 ? void 0 : _b.call(_a3, path3.entire);
63205
63236
  } finally {
63206
63237
  ;
63207
63238
  _this.entire.lastIndex = 0;
@@ -63210,14 +63241,14 @@ var init_esm = __esm({
63210
63241
  var record = {
63211
63242
  score: 0
63212
63243
  };
63213
- var result = cacheWith(new Matcher(_this.tree, record).match(path2.segments));
63244
+ var result = cacheWith(new Matcher(_this.tree, record).match(path3.segments));
63214
63245
  _this.matchScore = record.score;
63215
63246
  return result.matched;
63216
63247
  } else {
63217
63248
  var record = {
63218
63249
  score: 0
63219
63250
  };
63220
- var result = cacheWith(Matcher.matchSegments(_this.segments, path2.segments, record));
63251
+ var result = cacheWith(Matcher.matchSegments(_this.segments, path3.segments, record));
63221
63252
  _this.matchScore = record.score;
63222
63253
  return result.matched;
63223
63254
  }
@@ -63293,12 +63324,12 @@ var init_esm = __esm({
63293
63324
  configurable: true
63294
63325
  });
63295
63326
  Path2.match = function(pattern) {
63296
- var path2 = Path2.parse(pattern);
63327
+ var path3 = Path2.parse(pattern);
63297
63328
  var matcher = function(target) {
63298
- return path2.match(target);
63329
+ return path3.match(target);
63299
63330
  };
63300
63331
  matcher[isMatcher] = true;
63301
- matcher.path = path2;
63332
+ matcher.path = path3;
63302
63333
  return matcher;
63303
63334
  };
63304
63335
  Path2.isPathPattern = function(target) {
@@ -63310,52 +63341,52 @@ var init_esm = __esm({
63310
63341
  Path2.transform = function(pattern, regexp, callback) {
63311
63342
  return Path2.parse(pattern).transform(regexp, callback);
63312
63343
  };
63313
- Path2.parse = function(path2, base) {
63314
- if (path2 === void 0) {
63315
- path2 = "";
63344
+ Path2.parse = function(path3, base) {
63345
+ if (path3 === void 0) {
63346
+ path3 = "";
63316
63347
  }
63317
- if (path2 instanceof Path2) {
63318
- var found = pathCache.get(path2.entire);
63348
+ if (path3 instanceof Path2) {
63349
+ var found = pathCache.get(path3.entire);
63319
63350
  if (found) {
63320
63351
  return found;
63321
63352
  } else {
63322
- pathCache.set(path2.entire, path2);
63323
- return path2;
63353
+ pathCache.set(path3.entire, path3);
63354
+ return path3;
63324
63355
  }
63325
- } else if (path2 && path2[isMatcher]) {
63326
- return Path2.parse(path2["path"]);
63356
+ } else if (path3 && path3[isMatcher]) {
63357
+ return Path2.parse(path3["path"]);
63327
63358
  } else {
63328
63359
  var key_ = base ? Path2.parse(base) : "";
63329
- var key = "".concat(path2, ":").concat(key_);
63360
+ var key = "".concat(path3, ":").concat(key_);
63330
63361
  var found = pathCache.get(key);
63331
63362
  if (found) {
63332
63363
  return found;
63333
63364
  } else {
63334
- path2 = new Path2(path2, base);
63335
- pathCache.set(key, path2);
63336
- return path2;
63365
+ path3 = new Path2(path3, base);
63366
+ pathCache.set(key, path3);
63367
+ return path3;
63337
63368
  }
63338
63369
  }
63339
63370
  };
63340
63371
  Path2.getIn = function(source, pattern) {
63341
- var path2 = Path2.parse(pattern);
63342
- return path2.getIn(source);
63372
+ var path3 = Path2.parse(pattern);
63373
+ return path3.getIn(source);
63343
63374
  };
63344
63375
  Path2.setIn = function(source, pattern, value) {
63345
- var path2 = Path2.parse(pattern);
63346
- return path2.setIn(source, value);
63376
+ var path3 = Path2.parse(pattern);
63377
+ return path3.setIn(source, value);
63347
63378
  };
63348
63379
  Path2.deleteIn = function(source, pattern) {
63349
- var path2 = Path2.parse(pattern);
63350
- return path2.deleteIn(source);
63380
+ var path3 = Path2.parse(pattern);
63381
+ return path3.deleteIn(source);
63351
63382
  };
63352
63383
  Path2.existIn = function(source, pattern, start) {
63353
- var path2 = Path2.parse(pattern);
63354
- return path2.existIn(source, start);
63384
+ var path3 = Path2.parse(pattern);
63385
+ return path3.existIn(source, start);
63355
63386
  };
63356
63387
  Path2.ensureIn = function(source, pattern, defaultValue) {
63357
- var path2 = Path2.parse(pattern);
63358
- return path2.ensureIn(source, defaultValue);
63388
+ var path3 = Path2.parse(pattern);
63389
+ return path3.ensureIn(source, defaultValue);
63359
63390
  };
63360
63391
  return Path2;
63361
63392
  }();
@@ -65392,9 +65423,9 @@ var init_shared2 = __esm({
65392
65423
  traverse = function(target, visitor) {
65393
65424
  var seenObjects = [];
65394
65425
  var root = target;
65395
- var traverse2 = function(target2, path2) {
65396
- if (path2 === void 0) {
65397
- path2 = [];
65426
+ var traverse2 = function(target2, path3) {
65427
+ if (path3 === void 0) {
65428
+ path3 = [];
65398
65429
  }
65399
65430
  if (isPlainObj(target2)) {
65400
65431
  var seenIndex = seenObjects.indexOf(target2);
@@ -65404,15 +65435,15 @@ var init_shared2 = __esm({
65404
65435
  var addIndex = seenObjects.length;
65405
65436
  seenObjects.push(target2);
65406
65437
  if (isNoNeedCompileObject(target2) && root !== target2) {
65407
- visitor(target2, path2);
65438
+ visitor(target2, path3);
65408
65439
  return;
65409
65440
  }
65410
65441
  each(target2, function(value, key) {
65411
- traverse2(value, path2.concat(key));
65442
+ traverse2(value, path3.concat(key));
65412
65443
  });
65413
65444
  seenObjects.splice(addIndex, 1);
65414
65445
  } else {
65415
- visitor(target2, path2);
65446
+ visitor(target2, path3);
65416
65447
  }
65417
65448
  };
65418
65449
  traverse2(target);
@@ -65423,24 +65454,24 @@ var init_shared2 = __esm({
65423
65454
  }
65424
65455
  var seenObjects = [];
65425
65456
  var root = schema;
65426
- var traverse2 = function(target, path2) {
65457
+ var traverse2 = function(target, path3) {
65427
65458
  var _a2;
65428
- if (path2 === void 0) {
65429
- path2 = [];
65459
+ if (path3 === void 0) {
65460
+ path3 = [];
65430
65461
  }
65431
- if (path2[0] === "x-compile-omitted" || path2[0] === "x-validator" || path2[0] === "version" || path2[0] === "_isJSONSchemaObject")
65462
+ if (path3[0] === "x-compile-omitted" || path3[0] === "x-validator" || path3[0] === "version" || path3[0] === "_isJSONSchemaObject")
65432
65463
  return;
65433
- if (String(path2[0]).indexOf("x-") == -1 && isFn(target))
65464
+ if (String(path3[0]).indexOf("x-") == -1 && isFn(target))
65434
65465
  return;
65435
- if (SchemaNestedMap[path2[0]])
65466
+ if (SchemaNestedMap[path3[0]])
65436
65467
  return;
65437
- if (((_a2 = schema["x-compile-omitted"]) === null || _a2 === void 0 ? void 0 : _a2.indexOf(path2[0])) > -1) {
65438
- visitor(target, path2, true);
65468
+ if (((_a2 = schema["x-compile-omitted"]) === null || _a2 === void 0 ? void 0 : _a2.indexOf(path3[0])) > -1) {
65469
+ visitor(target, path3, true);
65439
65470
  return;
65440
65471
  }
65441
65472
  if (isPlainObj(target)) {
65442
- if (path2[0] === "default" || path2[0] === "x-value") {
65443
- visitor(target, path2);
65473
+ if (path3[0] === "default" || path3[0] === "x-value") {
65474
+ visitor(target, path3);
65444
65475
  return;
65445
65476
  }
65446
65477
  var seenIndex = seenObjects.indexOf(target);
@@ -65450,15 +65481,15 @@ var init_shared2 = __esm({
65450
65481
  var addIndex = seenObjects.length;
65451
65482
  seenObjects.push(target);
65452
65483
  if (isNoNeedCompileObject(target) && root !== target) {
65453
- visitor(target, path2);
65484
+ visitor(target, path3);
65454
65485
  return;
65455
65486
  }
65456
65487
  each(target, function(value, key) {
65457
- traverse2(value, path2.concat(key));
65488
+ traverse2(value, path3.concat(key));
65458
65489
  });
65459
65490
  seenObjects.splice(addIndex, 1);
65460
65491
  } else {
65461
- visitor(target, path2);
65492
+ visitor(target, path3);
65462
65493
  }
65463
65494
  };
65464
65495
  traverse2(schema);
@@ -65502,8 +65533,8 @@ var init_shared2 = __esm({
65502
65533
  patchStateFormSchema = function(targetState, pattern, compiled) {
65503
65534
  untracked(function() {
65504
65535
  var _a2;
65505
- var path2 = Path.parse(pattern);
65506
- var segments = path2.segments;
65536
+ var path3 = Path.parse(pattern);
65537
+ var segments = path3.segments;
65507
65538
  var key = segments[0];
65508
65539
  var isEnum = key === "enum" && isArr(compiled);
65509
65540
  var schemaMapKey = SchemaStateMap[key];
@@ -65595,14 +65626,14 @@ var init_compiler = __esm({
65595
65626
  };
65596
65627
  patchCompile = function(targetState, sourceState, scope) {
65597
65628
  traverse(sourceState, function(value, pattern) {
65598
- var path2 = Path.parse(pattern);
65629
+ var path3 = Path.parse(pattern);
65599
65630
  var compiled = compile(value, scope);
65600
- var key = path2.segments[0];
65631
+ var key = path3.segments[0];
65601
65632
  if (compiled === void 0)
65602
65633
  return;
65603
65634
  if (hasOwnProperty4.call(targetState, key)) {
65604
65635
  untracked(function() {
65605
- return Path.setIn(targetState, path2, compiled);
65636
+ return Path.setIn(targetState, path3, compiled);
65606
65637
  });
65607
65638
  }
65608
65639
  });
@@ -65611,7 +65642,7 @@ var init_compiler = __esm({
65611
65642
  if (demand === void 0) {
65612
65643
  demand = false;
65613
65644
  }
65614
- traverseSchema(sourceSchema, function(value, path2, omitCompile) {
65645
+ traverseSchema(sourceSchema, function(value, path3, omitCompile) {
65615
65646
  var compiled = value;
65616
65647
  var collected = hasCollected(function() {
65617
65648
  if (!omitCompile) {
@@ -65622,10 +65653,10 @@ var init_compiler = __esm({
65622
65653
  return;
65623
65654
  if (demand) {
65624
65655
  if (collected || !targetState.initialized) {
65625
- patchStateFormSchema(targetState, path2, compiled);
65656
+ patchStateFormSchema(targetState, path3, compiled);
65626
65657
  }
65627
65658
  } else {
65628
- patchStateFormSchema(targetState, path2, compiled);
65659
+ patchStateFormSchema(targetState, path3, compiled);
65629
65660
  }
65630
65661
  });
65631
65662
  };
@@ -65949,14 +65980,14 @@ var init_registry = __esm({
65949
65980
  getValidateLanguage = function() {
65950
65981
  return registry.locales.language;
65951
65982
  };
65952
- getLocaleByPath = function(path2, lang) {
65983
+ getLocaleByPath = function(path3, lang) {
65953
65984
  if (lang === void 0) {
65954
65985
  lang = registry.locales.language;
65955
65986
  }
65956
- return getIn2(registry.locales.messages, "".concat(getISOCode(lang), ".").concat(path2));
65987
+ return getIn2(registry.locales.messages, "".concat(getISOCode(lang), ".").concat(path3));
65957
65988
  };
65958
- getValidateLocale = function(path2) {
65959
- var message = getLocaleByPath(path2);
65989
+ getValidateLocale = function(path3) {
65990
+ var message = getLocaleByPath(path3);
65960
65991
  return message || getLocaleByPath("pattern") || getLocaleByPath("pattern", defaultLanguage);
65961
65992
  };
65962
65993
  getValidateMessageTemplateEngine = function() {
@@ -67314,15 +67345,15 @@ var init_internals2 = __esm({
67314
67345
  buildDataPath = function(fields, pattern) {
67315
67346
  var prevArray = false;
67316
67347
  var segments = pattern.segments;
67317
- var path2 = segments.reduce(function(path3, key, index) {
67318
- var currentPath = path3.concat(key);
67348
+ var path3 = segments.reduce(function(path4, key, index) {
67349
+ var currentPath = path4.concat(key);
67319
67350
  var currentAddress = segments.slice(0, index + 1);
67320
67351
  var current = fields[currentAddress.join(".")];
67321
67352
  if (prevArray) {
67322
67353
  if (!isVoidField(current)) {
67323
67354
  prevArray = false;
67324
67355
  }
67325
- return path3;
67356
+ return path4;
67326
67357
  }
67327
67358
  if (index >= segments.length - 1) {
67328
67359
  return currentPath;
@@ -67334,13 +67365,13 @@ var init_internals2 = __esm({
67334
67365
  prevArray = true;
67335
67366
  return currentPath;
67336
67367
  }
67337
- return path3;
67368
+ return path4;
67338
67369
  } else {
67339
67370
  prevArray = false;
67340
67371
  }
67341
67372
  return currentPath;
67342
67373
  }, []);
67343
- return new Path(path2);
67374
+ return new Path(path3);
67344
67375
  };
67345
67376
  locateNode = function(field, address2) {
67346
67377
  field.address = Path.parse(address2);
@@ -67374,33 +67405,33 @@ var init_internals2 = __esm({
67374
67405
  field === null || field === void 0 ? void 0 : field.dispose();
67375
67406
  if (isDataField(field) && forceClear) {
67376
67407
  var form = field.form;
67377
- var path2 = field.path;
67378
- form.deleteValuesIn(path2);
67379
- form.deleteInitialValuesIn(path2);
67408
+ var path3 = field.path;
67409
+ form.deleteValuesIn(path3);
67410
+ form.deleteInitialValuesIn(path3);
67380
67411
  }
67381
67412
  delete target[address2];
67382
67413
  };
67383
- patchFormValues = function(form, path2, source) {
67384
- var update = function(path3, source2) {
67385
- if (path3.length) {
67386
- form.setValuesIn(path3, clone(source2));
67414
+ patchFormValues = function(form, path3, source) {
67415
+ var update = function(path4, source2) {
67416
+ if (path4.length) {
67417
+ form.setValuesIn(path4, clone(source2));
67387
67418
  } else {
67388
67419
  Object.assign(form.values, clone(source2));
67389
67420
  }
67390
67421
  };
67391
- var patch = function(source2, path3) {
67392
- if (path3 === void 0) {
67393
- path3 = [];
67422
+ var patch = function(source2, path4) {
67423
+ if (path4 === void 0) {
67424
+ path4 = [];
67394
67425
  }
67395
- var targetValue = form.getValuesIn(path3);
67396
- var targetField = form.query(path3).take();
67426
+ var targetValue = form.getValuesIn(path4);
67427
+ var targetField = form.query(path4).take();
67397
67428
  var isUnVoidField = targetField && !isVoidField(targetField);
67398
67429
  if (isUnVoidField && targetField.display === "none") {
67399
67430
  targetField.caches.value = clone(source2);
67400
67431
  return;
67401
67432
  }
67402
67433
  if (allowAssignDefaultValue(targetValue, source2)) {
67403
- update(path3, source2);
67434
+ update(path4, source2);
67404
67435
  } else {
67405
67436
  if (isEmpty(source2))
67406
67437
  return;
@@ -67408,20 +67439,20 @@ var init_internals2 = __esm({
67408
67439
  return;
67409
67440
  if (isPlainObj(targetValue) && isPlainObj(source2)) {
67410
67441
  each(source2, function(value, key) {
67411
- patch(value, path3.concat(key));
67442
+ patch(value, path4.concat(key));
67412
67443
  });
67413
67444
  } else {
67414
67445
  if (targetField) {
67415
67446
  if (isUnVoidField && !targetField.selfModified) {
67416
- update(path3, source2);
67447
+ update(path4, source2);
67417
67448
  }
67418
67449
  } else if (form.initialized) {
67419
- update(path3, source2);
67450
+ update(path4, source2);
67420
67451
  }
67421
67452
  }
67422
67453
  }
67423
67454
  };
67424
- patch(source, path2);
67455
+ patch(source, path3);
67425
67456
  };
67426
67457
  matchFeedback = function(search, feedback) {
67427
67458
  if (!search || !feedback)
@@ -67844,13 +67875,13 @@ var init_internals2 = __esm({
67844
67875
  } else if (isGeneralField(pattern)) {
67845
67876
  pattern.setState(payload);
67846
67877
  } else {
67847
- var matchCount_1 = 0, path2 = Path.parse(pattern);
67848
- form.query(path2).forEach(function(field) {
67878
+ var matchCount_1 = 0, path3 = Path.parse(pattern);
67879
+ form.query(path3).forEach(function(field) {
67849
67880
  field.setState(payload);
67850
67881
  matchCount_1++;
67851
67882
  });
67852
- if (matchCount_1 === 0 || path2.isWildMatchPattern) {
67853
- subscribeUpdate(form, path2, payload);
67883
+ if (matchCount_1 === 0 || path3.isWildMatchPattern) {
67884
+ subscribeUpdate(form, path3, payload);
67854
67885
  }
67855
67886
  }
67856
67887
  });
@@ -70555,8 +70586,8 @@ var init_transformer = __esm({
70555
70586
  };
70556
70587
  DefaultFieldEffects = ["onFieldInit", "onFieldValueChange"];
70557
70588
  getDependencyValue = function(field, pattern, property) {
70558
- var _a2 = __read7(String(pattern).split(/\s*#\s*/), 2), target = _a2[0], path2 = _a2[1];
70559
- return field.query(target).getIn(path2 || property || "value");
70589
+ var _a2 = __read7(String(pattern).split(/\s*#\s*/), 2), target = _a2[0], path3 = _a2[1];
70590
+ return field.query(target).getIn(path3 || property || "value");
70560
70591
  };
70561
70592
  getDependencies = function(field, dependencies) {
70562
70593
  if (isArr(dependencies)) {
@@ -72738,11 +72769,11 @@ var require_baseGet = __commonJS({
72738
72769
  "../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGet.js"(exports, module2) {
72739
72770
  var castPath = require_castPath();
72740
72771
  var toKey = require_toKey();
72741
- function baseGet(object, path2) {
72742
- path2 = castPath(path2, object);
72743
- var index = 0, length = path2.length;
72772
+ function baseGet(object, path3) {
72773
+ path3 = castPath(path3, object);
72774
+ var index = 0, length = path3.length;
72744
72775
  while (object != null && index < length) {
72745
- object = object[toKey(path2[index++])];
72776
+ object = object[toKey(path3[index++])];
72746
72777
  }
72747
72778
  return index && index == length ? object : void 0;
72748
72779
  }
@@ -72754,8 +72785,8 @@ var require_baseGet = __commonJS({
72754
72785
  var require_get = __commonJS({
72755
72786
  "../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/get.js"(exports, module2) {
72756
72787
  var baseGet = require_baseGet();
72757
- function get2(object, path2, defaultValue) {
72758
- var result = object == null ? void 0 : baseGet(object, path2);
72788
+ function get2(object, path3, defaultValue) {
72789
+ var result = object == null ? void 0 : baseGet(object, path3);
72759
72790
  return result === void 0 ? defaultValue : result;
72760
72791
  }
72761
72792
  module2.exports = get2;
@@ -72837,14 +72868,14 @@ var require_baseSet = __commonJS({
72837
72868
  var isIndex = require_isIndex();
72838
72869
  var isObject2 = require_isObject();
72839
72870
  var toKey = require_toKey();
72840
- function baseSet(object, path2, value, customizer) {
72871
+ function baseSet(object, path3, value, customizer) {
72841
72872
  if (!isObject2(object)) {
72842
72873
  return object;
72843
72874
  }
72844
- path2 = castPath(path2, object);
72845
- var index = -1, length = path2.length, lastIndex = length - 1, nested = object;
72875
+ path3 = castPath(path3, object);
72876
+ var index = -1, length = path3.length, lastIndex = length - 1, nested = object;
72846
72877
  while (nested != null && ++index < length) {
72847
- var key = toKey(path2[index]), newValue = value;
72878
+ var key = toKey(path3[index]), newValue = value;
72848
72879
  if (key === "__proto__" || key === "constructor" || key === "prototype") {
72849
72880
  return object;
72850
72881
  }
@@ -72852,7 +72883,7 @@ var require_baseSet = __commonJS({
72852
72883
  var objValue = nested[key];
72853
72884
  newValue = customizer ? customizer(objValue, key, nested) : void 0;
72854
72885
  if (newValue === void 0) {
72855
- newValue = isObject2(objValue) ? objValue : isIndex(path2[index + 1]) ? [] : {};
72886
+ newValue = isObject2(objValue) ? objValue : isIndex(path3[index + 1]) ? [] : {};
72856
72887
  }
72857
72888
  }
72858
72889
  assignValue(nested, key, newValue);
@@ -72868,8 +72899,8 @@ var require_baseSet = __commonJS({
72868
72899
  var require_set = __commonJS({
72869
72900
  "../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/set.js"(exports, module2) {
72870
72901
  var baseSet = require_baseSet();
72871
- function set(object, path2, value) {
72872
- return object == null ? object : baseSet(object, path2, value);
72902
+ function set(object, path3, value) {
72903
+ return object == null ? object : baseSet(object, path3, value);
72873
72904
  }
72874
72905
  module2.exports = set;
72875
72906
  }
@@ -85382,11 +85413,11 @@ var require_hasPath = __commonJS({
85382
85413
  var isIndex = require_isIndex();
85383
85414
  var isLength = require_isLength();
85384
85415
  var toKey = require_toKey();
85385
- function hasPath(object, path2, hasFunc) {
85386
- path2 = castPath(path2, object);
85387
- var index = -1, length = path2.length, result = false;
85416
+ function hasPath(object, path3, hasFunc) {
85417
+ path3 = castPath(path3, object);
85418
+ var index = -1, length = path3.length, result = false;
85388
85419
  while (++index < length) {
85389
- var key = toKey(path2[index]);
85420
+ var key = toKey(path3[index]);
85390
85421
  if (!(result = object != null && hasFunc(object, key))) {
85391
85422
  break;
85392
85423
  }
@@ -85407,8 +85438,8 @@ var require_hasIn = __commonJS({
85407
85438
  "../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/hasIn.js"(exports, module2) {
85408
85439
  var baseHasIn = require_baseHasIn();
85409
85440
  var hasPath = require_hasPath();
85410
- function hasIn(object, path2) {
85411
- return object != null && hasPath(object, path2, baseHasIn);
85441
+ function hasIn(object, path3) {
85442
+ return object != null && hasPath(object, path3, baseHasIn);
85412
85443
  }
85413
85444
  module2.exports = hasIn;
85414
85445
  }
@@ -85426,13 +85457,13 @@ var require_baseMatchesProperty = __commonJS({
85426
85457
  var toKey = require_toKey();
85427
85458
  var COMPARE_PARTIAL_FLAG = 1;
85428
85459
  var COMPARE_UNORDERED_FLAG = 2;
85429
- function baseMatchesProperty(path2, srcValue) {
85430
- if (isKey(path2) && isStrictComparable(srcValue)) {
85431
- return matchesStrictComparable(toKey(path2), srcValue);
85460
+ function baseMatchesProperty(path3, srcValue) {
85461
+ if (isKey(path3) && isStrictComparable(srcValue)) {
85462
+ return matchesStrictComparable(toKey(path3), srcValue);
85432
85463
  }
85433
85464
  return function(object) {
85434
- var objValue = get2(object, path2);
85435
- return objValue === void 0 && objValue === srcValue ? hasIn(object, path2) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
85465
+ var objValue = get2(object, path3);
85466
+ return objValue === void 0 && objValue === srcValue ? hasIn(object, path3) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
85436
85467
  };
85437
85468
  }
85438
85469
  module2.exports = baseMatchesProperty;
@@ -85455,9 +85486,9 @@ var require_baseProperty = __commonJS({
85455
85486
  var require_basePropertyDeep = __commonJS({
85456
85487
  "../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_basePropertyDeep.js"(exports, module2) {
85457
85488
  var baseGet = require_baseGet();
85458
- function basePropertyDeep(path2) {
85489
+ function basePropertyDeep(path3) {
85459
85490
  return function(object) {
85460
- return baseGet(object, path2);
85491
+ return baseGet(object, path3);
85461
85492
  };
85462
85493
  }
85463
85494
  module2.exports = basePropertyDeep;
@@ -85471,8 +85502,8 @@ var require_property = __commonJS({
85471
85502
  var basePropertyDeep = require_basePropertyDeep();
85472
85503
  var isKey = require_isKey();
85473
85504
  var toKey = require_toKey();
85474
- function property(path2) {
85475
- return isKey(path2) ? baseProperty(toKey(path2)) : basePropertyDeep(path2);
85505
+ function property(path3) {
85506
+ return isKey(path3) ? baseProperty(toKey(path3)) : basePropertyDeep(path3);
85476
85507
  }
85477
85508
  module2.exports = property;
85478
85509
  }
@@ -101551,16 +101582,16 @@ var require_os_tmpdir = __commonJS({
101551
101582
  var isWindows = process.platform === "win32";
101552
101583
  var trailingSlashRe = isWindows ? /[^:]\\$/ : /.\/$/;
101553
101584
  module2.exports = function() {
101554
- var path2;
101585
+ var path3;
101555
101586
  if (isWindows) {
101556
- path2 = process.env.TEMP || process.env.TMP || (process.env.SystemRoot || process.env.windir) + "\\temp";
101587
+ path3 = process.env.TEMP || process.env.TMP || (process.env.SystemRoot || process.env.windir) + "\\temp";
101557
101588
  } else {
101558
- path2 = process.env.TMPDIR || process.env.TMP || process.env.TEMP || "/tmp";
101589
+ path3 = process.env.TMPDIR || process.env.TMP || process.env.TEMP || "/tmp";
101559
101590
  }
101560
- if (trailingSlashRe.test(path2)) {
101561
- path2 = path2.slice(0, -1);
101591
+ if (trailingSlashRe.test(path3)) {
101592
+ path3 = path3.slice(0, -1);
101562
101593
  }
101563
- return path2;
101594
+ return path3;
101564
101595
  };
101565
101596
  }
101566
101597
  });
@@ -101569,7 +101600,7 @@ var require_os_tmpdir = __commonJS({
101569
101600
  var require_tmp = __commonJS({
101570
101601
  "../../../../node_modules/.pnpm/tmp@0.0.33/node_modules/tmp/lib/tmp.js"(exports, module2) {
101571
101602
  var fs3 = require("fs");
101572
- var path2 = require("path");
101603
+ var path3 = require("path");
101573
101604
  var crypto = require("crypto");
101574
101605
  var osTmpDir = require_os_tmpdir();
101575
101606
  var _c = process.binding("constants");
@@ -101611,7 +101642,7 @@ var require_tmp = __commonJS({
101611
101642
  }
101612
101643
  function _generateTmpName(opts) {
101613
101644
  if (opts.name) {
101614
- return path2.join(opts.dir || tmpDir, opts.name);
101645
+ return path3.join(opts.dir || tmpDir, opts.name);
101615
101646
  }
101616
101647
  if (opts.template) {
101617
101648
  return opts.template.replace(TEMPLATE_PATTERN, _randomChars(6));
@@ -101622,7 +101653,7 @@ var require_tmp = __commonJS({
101622
101653
  _randomChars(12),
101623
101654
  opts.postfix || ""
101624
101655
  ].join("");
101625
- return path2.join(opts.dir || tmpDir, name);
101656
+ return path3.join(opts.dir || tmpDir, name);
101626
101657
  }
101627
101658
  function tmpName(options, callback) {
101628
101659
  var args = _parseArguments(options, callback), opts = args[0], cb = args[1], tries = opts.name ? 1 : opts.tries || DEFAULT_TRIES;
@@ -101710,7 +101741,7 @@ var require_tmp = __commonJS({
101710
101741
  do {
101711
101742
  var dir2 = dirs.pop(), deferred = false, files = fs3.readdirSync(dir2);
101712
101743
  for (var i = 0, length = files.length; i < length; i++) {
101713
- var file2 = path2.join(dir2, files[i]), stat = fs3.lstatSync(file2);
101744
+ var file2 = path3.join(dir2, files[i]), stat = fs3.lstatSync(file2);
101714
101745
  if (stat.isDirectory()) {
101715
101746
  if (!deferred) {
101716
101747
  deferred = true;
@@ -102349,9 +102380,9 @@ var require_inquirer = __commonJS({
102349
102380
  }
102350
102381
  });
102351
102382
 
102352
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/transform.js
102383
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/transform.js
102353
102384
  var require_transform = __commonJS({
102354
- "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/transform.js"(exports) {
102385
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/transform.js"(exports) {
102355
102386
  "use strict";
102356
102387
  Object.defineProperty(exports, "__esModule", {
102357
102388
  value: true
@@ -102520,9 +102551,9 @@ var require_transform = __commonJS({
102520
102551
  }
102521
102552
  });
102522
102553
 
102523
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/prompt.js
102554
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/prompt.js
102524
102555
  var require_prompt2 = __commonJS({
102525
- "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/prompt.js"(exports) {
102556
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/prompt.js"(exports) {
102526
102557
  "use strict";
102527
102558
  Object.defineProperty(exports, "__esModule", {
102528
102559
  value: true
@@ -102660,9 +102691,9 @@ var require_prompt2 = __commonJS({
102660
102691
  }
102661
102692
  });
102662
102693
 
102663
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/inquirer.js
102694
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/inquirer.js
102664
102695
  var require_inquirer2 = __commonJS({
102665
- "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/inquirer.js"(exports) {
102696
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/inquirer.js"(exports) {
102666
102697
  "use strict";
102667
102698
  Object.defineProperty(exports, "__esModule", {
102668
102699
  value: true
@@ -102734,9 +102765,9 @@ var require_inquirer2 = __commonJS({
102734
102765
  }
102735
102766
  });
102736
102767
 
102737
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/index.js
102768
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/index.js
102738
102769
  var require_node7 = __commonJS({
102739
- "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/index.js"(exports) {
102770
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/index.js"(exports) {
102740
102771
  "use strict";
102741
102772
  Object.defineProperty(exports, "__esModule", {
102742
102773
  value: true
@@ -102917,8 +102948,8 @@ var require_parent = __commonJS({
102917
102948
  "../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_parent.js"(exports, module2) {
102918
102949
  var baseGet = require_baseGet();
102919
102950
  var baseSlice = require_baseSlice();
102920
- function parent(object, path2) {
102921
- return path2.length < 2 ? object : baseGet(object, baseSlice(path2, 0, -1));
102951
+ function parent(object, path3) {
102952
+ return path3.length < 2 ? object : baseGet(object, baseSlice(path3, 0, -1));
102922
102953
  }
102923
102954
  module2.exports = parent;
102924
102955
  }
@@ -102931,10 +102962,10 @@ var require_baseUnset = __commonJS({
102931
102962
  var last = require_last2();
102932
102963
  var parent = require_parent();
102933
102964
  var toKey = require_toKey();
102934
- function baseUnset(object, path2) {
102935
- path2 = castPath(path2, object);
102936
- object = parent(object, path2);
102937
- return object == null || delete object[toKey(last(path2))];
102965
+ function baseUnset(object, path3) {
102966
+ path3 = castPath(path3, object);
102967
+ object = parent(object, path3);
102968
+ return object == null || delete object[toKey(last(path3))];
102938
102969
  }
102939
102970
  module2.exports = baseUnset;
102940
102971
  }
@@ -103037,10 +103068,10 @@ var require_omit = __commonJS({
103037
103068
  return result;
103038
103069
  }
103039
103070
  var isDeep = false;
103040
- paths = arrayMap(paths, function(path2) {
103041
- path2 = castPath(path2, object);
103042
- isDeep || (isDeep = path2.length > 1);
103043
- return path2;
103071
+ paths = arrayMap(paths, function(path3) {
103072
+ path3 = castPath(path3, object);
103073
+ isDeep || (isDeep = path3.length > 1);
103074
+ return path3;
103044
103075
  });
103045
103076
  copyObject(object, getAllKeysIn(object), result);
103046
103077
  if (isDeep) {
@@ -105549,9 +105580,9 @@ var require_node8 = __commonJS({
105549
105580
  }
105550
105581
  });
105551
105582
 
105552
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/zh.js
105583
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/zh.js
105553
105584
  var require_zh = __commonJS({
105554
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/zh.js"(exports) {
105585
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/zh.js"(exports) {
105555
105586
  "use strict";
105556
105587
  Object.defineProperty(exports, "__esModule", {
105557
105588
  value: true
@@ -105586,9 +105617,9 @@ var require_zh = __commonJS({
105586
105617
  }
105587
105618
  });
105588
105619
 
105589
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/en.js
105620
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/en.js
105590
105621
  var require_en = __commonJS({
105591
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/en.js"(exports) {
105622
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/en.js"(exports) {
105592
105623
  "use strict";
105593
105624
  Object.defineProperty(exports, "__esModule", {
105594
105625
  value: true
@@ -105623,9 +105654,9 @@ var require_en = __commonJS({
105623
105654
  }
105624
105655
  });
105625
105656
 
105626
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/index.js
105657
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/index.js
105627
105658
  var require_locale = __commonJS({
105628
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/index.js"(exports) {
105659
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/index.js"(exports) {
105629
105660
  "use strict";
105630
105661
  Object.defineProperty(exports, "__esModule", {
105631
105662
  value: true
@@ -105650,9 +105681,9 @@ var require_locale = __commonJS({
105650
105681
  }
105651
105682
  });
105652
105683
 
105653
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/transform.js
105684
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/transform.js
105654
105685
  var require_transform2 = __commonJS({
105655
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/transform.js"(exports) {
105686
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/transform.js"(exports) {
105656
105687
  "use strict";
105657
105688
  Object.defineProperty(exports, "__esModule", {
105658
105689
  value: true
@@ -105687,9 +105718,9 @@ var require_transform2 = __commonJS({
105687
105718
  }
105688
105719
  });
105689
105720
 
105690
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/checkUseNvm.js
105721
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/checkUseNvm.js
105691
105722
  var require_checkUseNvm = __commonJS({
105692
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/checkUseNvm.js"(exports) {
105723
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/checkUseNvm.js"(exports) {
105693
105724
  "use strict";
105694
105725
  Object.defineProperty(exports, "__esModule", {
105695
105726
  value: true
@@ -105752,9 +105783,9 @@ var require_checkUseNvm = __commonJS({
105752
105783
  }
105753
105784
  });
105754
105785
 
105755
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/index.js
105786
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/index.js
105756
105787
  var require_node9 = __commonJS({
105757
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/index.js"(exports) {
105788
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/index.js"(exports) {
105758
105789
  "use strict";
105759
105790
  Object.defineProperty(exports, "__esModule", {
105760
105791
  value: true
@@ -105808,13 +105839,13 @@ var require_node9 = __commonJS({
105808
105839
  var AppAPI2 = class {
105809
105840
  constructor(generatorContext, generatorCore) {
105810
105841
  _defineProperty(this, "i18n", _locale.i18n);
105811
- _defineProperty(this, "generatorCore", void 0);
105812
- _defineProperty(this, "generatorContext", void 0);
105813
105842
  _defineProperty(this, "npmApi", void 0);
105814
105843
  _defineProperty(this, "gitApi", void 0);
105815
105844
  _defineProperty(this, "handlebarsAPI", void 0);
105816
105845
  _defineProperty(this, "ejsAPI", void 0);
105817
105846
  _defineProperty(this, "fsAPI", void 0);
105847
+ _defineProperty(this, "generatorCore", void 0);
105848
+ _defineProperty(this, "generatorContext", void 0);
105818
105849
  this.generatorCore = generatorCore;
105819
105850
  this.generatorContext = generatorContext;
105820
105851
  this.npmApi = new _codesmithApiNpm.NpmAPI(generatorCore);
@@ -105874,6 +105905,7 @@ var require_node9 = __commonJS({
105874
105905
  yield intallPromise;
105875
105906
  this.generatorCore.logger.info(_locale.i18n.t(_locale.localeKeys.install.success));
105876
105907
  } catch (e) {
105908
+ this.generatorCore.logger.warn(e);
105877
105909
  this.generatorCore.logger.warn(_locale.i18n.t(_locale.localeKeys.install.failed, {
105878
105910
  command: command || `${packageManager} install`
105879
105911
  }));
@@ -135395,7 +135427,7 @@ var require_FileSizeReporter2 = __commonJS({
135395
135427
  });
135396
135428
  module2.exports = __toCommonJS2(FileSizeReporter_exports);
135397
135429
  var import_fs = __toESM2(require("fs"));
135398
- var import_path3 = __toESM2(require("path"));
135430
+ var import_path4 = __toESM2(require("path"));
135399
135431
  var import_compiled = require_compiled2();
135400
135432
  var import_logger = require_logger4();
135401
135433
  function canReadAsset(asset) {
@@ -135406,7 +135438,7 @@ var require_FileSizeReporter2 = __commonJS({
135406
135438
  var sizes = previousSizeMap.sizes;
135407
135439
  var assets = (webpackStats.stats || [webpackStats]).map(
135408
135440
  (stats) => stats.toJson({ all: false, assets: true }).assets.filter((asset) => canReadAsset(asset.name)).map((asset) => {
135409
- var fileContents = import_fs.default.readFileSync(import_path3.default.join(root, asset.name));
135441
+ var fileContents = import_fs.default.readFileSync(import_path4.default.join(root, asset.name));
135410
135442
  var size = fileContents.length;
135411
135443
  var gzippedSize = import_compiled.gzipSize.sync(fileContents);
135412
135444
  var [previousSize, previousGzipSize] = sizes[removeFileNameHash(root, asset.name)] || [];
@@ -135416,11 +135448,11 @@ var require_FileSizeReporter2 = __commonJS({
135416
135448
  previousGzipSize
135417
135449
  );
135418
135450
  return {
135419
- folder: import_path3.default.join(
135420
- import_path3.default.basename(buildFolder),
135421
- import_path3.default.dirname(asset.name)
135451
+ folder: import_path4.default.join(
135452
+ import_path4.default.basename(buildFolder),
135453
+ import_path4.default.dirname(asset.name)
135422
135454
  ),
135423
- name: import_path3.default.basename(asset.name),
135455
+ name: import_path4.default.basename(asset.name),
135424
135456
  gzippedSize,
135425
135457
  sizeLabel: (0, import_compiled.filesize)(size) + (sizeDifference ? " (" + sizeDifference + ")" : ""),
135426
135458
  gzipSizeLabel: (0, import_compiled.filesize)(gzippedSize) + (gzipSizeDifference ? " (" + gzipSizeDifference + ")" : "")
@@ -135434,19 +135466,19 @@ var require_FileSizeReporter2 = __commonJS({
135434
135466
  );
135435
135467
  var longestFileNameLength = Math.max.apply(
135436
135468
  null,
135437
- assets.map((a) => (0, import_compiled.stripAnsi)(a.folder + import_path3.default.sep + a.name).length)
135469
+ assets.map((a) => (0, import_compiled.stripAnsi)(a.folder + import_path4.default.sep + a.name).length)
135438
135470
  );
135439
135471
  printFileSizesHeader(longestFileNameLength, longestSizeLabelLength);
135440
135472
  var suggestBundleSplitting = false;
135441
135473
  assets.forEach((asset) => {
135442
135474
  var { folder, name, sizeLabel, gzipSizeLabel, gzippedSize } = asset;
135443
- var fileNameLength = (0, import_compiled.stripAnsi)(folder + import_path3.default.sep + name).length;
135475
+ var fileNameLength = (0, import_compiled.stripAnsi)(folder + import_path4.default.sep + name).length;
135444
135476
  var sizeLength = (0, import_compiled.stripAnsi)(sizeLabel).length;
135445
135477
  if (sizeLength < longestSizeLabelLength) {
135446
135478
  var rightPadding = " ".repeat(longestSizeLabelLength - sizeLength);
135447
135479
  sizeLabel += rightPadding;
135448
135480
  }
135449
- var fileNameLabel = import_compiled.chalk.dim(asset.folder + import_path3.default.sep) + import_compiled.chalk.cyan(asset.name);
135481
+ var fileNameLabel = import_compiled.chalk.dim(asset.folder + import_path4.default.sep) + import_compiled.chalk.cyan(asset.name);
135450
135482
  if (fileNameLength < longestFileNameLength) {
135451
135483
  var rightPadding = " ".repeat(longestFileNameLength - fileNameLength);
135452
135484
  fileNameLabel += rightPadding;
@@ -135454,7 +135486,7 @@ var require_FileSizeReporter2 = __commonJS({
135454
135486
  var isMainBundle = asset.name.indexOf("main.") === 0;
135455
135487
  var maxRecommendedSize = isMainBundle ? maxBundleGzipSize : maxChunkGzipSize;
135456
135488
  var isLarge = maxRecommendedSize && gzippedSize > maxRecommendedSize;
135457
- if (isLarge && import_path3.default.extname(asset.name) === ".js") {
135489
+ if (isLarge && import_path4.default.extname(asset.name) === ".js") {
135458
135490
  suggestBundleSplitting = true;
135459
135491
  }
135460
135492
  import_logger.logger.log(
@@ -135656,9 +135688,9 @@ var require_findExists2 = __commonJS({
135656
135688
  }
135657
135689
  });
135658
135690
 
135659
- // ../../../toolkit/utils/dist/is/node-env.js
135660
- var require_node_env2 = __commonJS({
135661
- "../../../toolkit/utils/dist/is/node-env.js"(exports, module2) {
135691
+ // ../../../toolkit/utils/dist/is/nodeEnv.js
135692
+ var require_nodeEnv2 = __commonJS({
135693
+ "../../../toolkit/utils/dist/is/nodeEnv.js"(exports, module2) {
135662
135694
  var __defProp2 = Object.defineProperty;
135663
135695
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
135664
135696
  var __getOwnPropNames2 = Object.getOwnPropertyNames;
@@ -135676,15 +135708,15 @@ var require_node_env2 = __commonJS({
135676
135708
  return to;
135677
135709
  };
135678
135710
  var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
135679
- var node_env_exports = {};
135680
- __export2(node_env_exports, {
135711
+ var nodeEnv_exports = {};
135712
+ __export2(nodeEnv_exports, {
135681
135713
  getNodeEnv: () => getNodeEnv,
135682
135714
  isDev: () => isDev,
135683
135715
  isProd: () => isProd,
135684
135716
  isProdProfile: () => isProdProfile,
135685
135717
  isTest: () => isTest
135686
135718
  });
135687
- module2.exports = __toCommonJS2(node_env_exports);
135719
+ module2.exports = __toCommonJS2(nodeEnv_exports);
135688
135720
  var getNodeEnv = () => process.env.NODE_ENV || "development";
135689
135721
  var isDev = () => getNodeEnv() === "development";
135690
135722
  var isProd = () => getNodeEnv() === "production";
@@ -135820,22 +135852,24 @@ var require_is2 = __commonJS({
135820
135852
  isEmpty: () => isEmpty2,
135821
135853
  isFastRefresh: () => isFastRefresh,
135822
135854
  isRouterV5: () => isRouterV5,
135855
+ isSSGEntry: () => isSSGEntry,
135823
135856
  isSSR: () => isSSR,
135824
135857
  isServiceWorker: () => isServiceWorker,
135858
+ isSingleEntry: () => isSingleEntry,
135825
135859
  isTypescript: () => isTypescript,
135826
135860
  isUseSSRBundle: () => isUseSSRBundle
135827
135861
  });
135828
135862
  module2.exports = __toCommonJS2(is_exports);
135829
135863
  var import_fs = __toESM2(require("fs"));
135830
- var import_path3 = __toESM2(require("path"));
135864
+ var import_path4 = __toESM2(require("path"));
135831
135865
  var import_debug = require_debug5();
135832
- var import_node_env = require_node_env2();
135833
- __reExport(is_exports, require_node_env2(), module2.exports);
135866
+ var import_nodeEnv = require_nodeEnv2();
135867
+ __reExport(is_exports, require_nodeEnv2(), module2.exports);
135834
135868
  __reExport(is_exports, require_platform2(), module2.exports);
135835
135869
  __reExport(is_exports, require_type2(), module2.exports);
135836
135870
  var debug2 = (0, import_debug.createDebugger)("judge-depExists");
135837
135871
  var isDepExists = (appDirectory, name) => {
135838
- const pkgPath = import_path3.default.resolve(appDirectory, "./package.json");
135872
+ const pkgPath = import_path4.default.resolve(appDirectory, "./package.json");
135839
135873
  if (!import_fs.default.existsSync(pkgPath)) {
135840
135874
  debug2(`can't find package.json under: %s`, appDirectory);
135841
135875
  return false;
@@ -135844,7 +135878,7 @@ var require_is2 = __commonJS({
135844
135878
  const { dependencies = {}, devDependencies = {} } = json;
135845
135879
  return dependencies.hasOwnProperty(name) || devDependencies.hasOwnProperty(name);
135846
135880
  };
135847
- var isTypescript = (root) => import_fs.default.existsSync(import_path3.default.resolve(root, "./tsconfig.json"));
135881
+ var isTypescript = (root) => import_fs.default.existsSync(import_path4.default.resolve(root, "./tsconfig.json"));
135848
135882
  var isEmpty2 = (o) => Object.entries(o).length === 0 && o.constructor === Object;
135849
135883
  var isSSR = (config) => {
135850
135884
  const { server } = config;
@@ -135874,11 +135908,17 @@ var require_is2 = __commonJS({
135874
135908
  }
135875
135909
  return false;
135876
135910
  };
135877
- var isFastRefresh = () => (0, import_node_env.isDev)() && process.env.FAST_REFRESH !== "false";
135911
+ var isFastRefresh = () => (0, import_nodeEnv.isDev)() && process.env.FAST_REFRESH !== "false";
135878
135912
  var isRouterV5 = (config) => {
135879
135913
  var _a2, _b, _c;
135880
135914
  return typeof ((_a2 = config.runtime) == null ? void 0 : _a2.router) !== "boolean" && ((_c = (_b = config == null ? void 0 : config.runtime) == null ? void 0 : _b.router) == null ? void 0 : _c.mode) === "react-router-5";
135881
135915
  };
135916
+ var isSSGEntry = (config, entryName, entrypoints) => {
135917
+ const ssgConfig = config.output.ssg;
135918
+ const useSSG = isSingleEntry(entrypoints) ? Boolean(ssgConfig) : ssgConfig === true || typeof (ssgConfig == null ? void 0 : ssgConfig[0]) === "function" || Boolean(ssgConfig == null ? void 0 : ssgConfig[entryName]);
135919
+ return useSSG;
135920
+ };
135921
+ var isSingleEntry = (entrypoints) => entrypoints.length === 1 && entrypoints[0].entryName === "main";
135882
135922
  }
135883
135923
  });
135884
135924
 
@@ -135951,12 +135991,12 @@ var require_compatRequire2 = __commonJS({
135951
135991
  delete require.cache[filepath];
135952
135992
  });
135953
135993
  };
135954
- function deleteRequireCache(path2) {
135955
- if (require.cache[path2]) {
135956
- delete require.cache[path2];
135994
+ function deleteRequireCache(path3) {
135995
+ if (require.cache[path3]) {
135996
+ delete require.cache[path3];
135957
135997
  }
135958
135998
  if (module2.children) {
135959
- module2.children = module2.children.filter((item) => item.filename !== path2);
135999
+ module2.children = module2.children.filter((item) => item.filename !== path3);
135960
136000
  }
135961
136001
  }
135962
136002
  }
@@ -136314,8 +136354,8 @@ var require_ensureAbsolutePath2 = __commonJS({
136314
136354
  ensureAbsolutePath: () => ensureAbsolutePath
136315
136355
  });
136316
136356
  module2.exports = __toCommonJS2(ensureAbsolutePath_exports);
136317
- var import_path3 = __toESM2(require("path"));
136318
- var ensureAbsolutePath = (base, filePath) => import_path3.default.isAbsolute(filePath) ? filePath : import_path3.default.resolve(base, filePath);
136357
+ var import_path4 = __toESM2(require("path"));
136358
+ var ensureAbsolutePath = (base, filePath) => import_path4.default.isAbsolute(filePath) ? filePath : import_path4.default.resolve(base, filePath);
136319
136359
  }
136320
136360
  });
136321
136361
 
@@ -136703,7 +136743,7 @@ var require_monorepo2 = __commonJS({
136703
136743
  });
136704
136744
  module2.exports = __toCommonJS2(monorepo_exports);
136705
136745
  var import_fs = __toESM2(require("fs"));
136706
- var import_path3 = __toESM2(require("path"));
136746
+ var import_path4 = __toESM2(require("path"));
136707
136747
  var import_compiled = require_compiled2();
136708
136748
  var PACKAGE_MAX_DEPTH = 5;
136709
136749
  var WORKSPACE_FILES = {
@@ -136711,20 +136751,20 @@ var require_monorepo2 = __commonJS({
136711
136751
  PNPM: "pnpm-workspace.yaml",
136712
136752
  LERNA: "lerna.json"
136713
136753
  };
136714
- var isLerna = (root) => import_fs.default.existsSync(import_path3.default.join(root, WORKSPACE_FILES.LERNA));
136754
+ var isLerna = (root) => import_fs.default.existsSync(import_path4.default.join(root, WORKSPACE_FILES.LERNA));
136715
136755
  var isYarnWorkspaces = (root) => {
136716
136756
  var _a2;
136717
- const pkg = import_path3.default.join(root, WORKSPACE_FILES.YARN);
136757
+ const pkg = import_path4.default.join(root, WORKSPACE_FILES.YARN);
136718
136758
  if (!import_fs.default.existsSync(pkg)) {
136719
136759
  return false;
136720
136760
  }
136721
136761
  const json = JSON.parse(import_fs.default.readFileSync(pkg, "utf8"));
136722
136762
  return Boolean((_a2 = json.workspaces) == null ? void 0 : _a2.packages);
136723
136763
  };
136724
- var isPnpmWorkspaces = (root) => import_fs.default.existsSync(import_path3.default.join(root, WORKSPACE_FILES.PNPM));
136764
+ var isPnpmWorkspaces = (root) => import_fs.default.existsSync(import_path4.default.join(root, WORKSPACE_FILES.PNPM));
136725
136765
  var isMonorepo = (root) => isLerna(root) || isYarnWorkspaces(root) || isPnpmWorkspaces(root);
136726
136766
  var isModernjsMonorepo = (root) => {
136727
- const pkgJsonPath = import_path3.default.join(root, "package.json");
136767
+ const pkgJsonPath = import_path4.default.join(root, "package.json");
136728
136768
  if (!import_fs.default.existsSync(pkgJsonPath)) {
136729
136769
  return false;
136730
136770
  }
@@ -136739,7 +136779,7 @@ var require_monorepo2 = __commonJS({
136739
136779
  inMonorepo = true;
136740
136780
  break;
136741
136781
  }
136742
- appDirectory = import_path3.default.dirname(appDirectory);
136782
+ appDirectory = import_path4.default.dirname(appDirectory);
136743
136783
  }
136744
136784
  return inMonorepo ? appDirectory : void 0;
136745
136785
  };
@@ -136747,31 +136787,31 @@ var require_monorepo2 = __commonJS({
136747
136787
  let packages = [];
136748
136788
  if (isYarnWorkspaces(root)) {
136749
136789
  const json = JSON.parse(
136750
- import_fs.default.readFileSync(import_path3.default.join(root, "package.json"), "utf8")
136790
+ import_fs.default.readFileSync(import_path4.default.join(root, "package.json"), "utf8")
136751
136791
  );
136752
136792
  ({ packages } = json.workspaces);
136753
136793
  } else if (isLerna(root)) {
136754
136794
  const json = JSON.parse(
136755
- import_fs.default.readFileSync(import_path3.default.resolve(root, "lerna.json"), "utf8")
136795
+ import_fs.default.readFileSync(import_path4.default.resolve(root, "lerna.json"), "utf8")
136756
136796
  );
136757
136797
  ({ packages } = json);
136758
136798
  } else {
136759
136799
  ({ packages } = import_compiled.yaml.load(
136760
- import_fs.default.readFileSync(import_path3.default.join(root, WORKSPACE_FILES.PNPM), "utf8")
136800
+ import_fs.default.readFileSync(import_path4.default.join(root, WORKSPACE_FILES.PNPM), "utf8")
136761
136801
  ));
136762
136802
  }
136763
136803
  if (packages) {
136764
136804
  return packages.map(
136765
136805
  (name) => (
136766
136806
  // The trailing / ensures only dirs are picked up
136767
- import_compiled.glob.sync(import_path3.default.join(root, `${name}/`), {
136807
+ import_compiled.glob.sync(import_path4.default.join(root, `${name}/`), {
136768
136808
  ignore: ["**/node_modules/**"]
136769
136809
  })
136770
136810
  )
136771
- ).reduce((acc, val) => acc.concat(val), []).filter((filepath) => import_fs.default.existsSync(import_path3.default.resolve(filepath, "package.json"))).map((filepath) => ({
136811
+ ).reduce((acc, val) => acc.concat(val), []).filter((filepath) => import_fs.default.existsSync(import_path4.default.resolve(filepath, "package.json"))).map((filepath) => ({
136772
136812
  path: filepath,
136773
136813
  name: JSON.parse(
136774
- import_fs.default.readFileSync(import_path3.default.resolve(filepath, "package.json"), "utf8")
136814
+ import_fs.default.readFileSync(import_path4.default.resolve(filepath, "package.json"), "utf8")
136775
136815
  ).name
136776
136816
  }));
136777
136817
  }
@@ -136781,7 +136821,7 @@ var require_monorepo2 = __commonJS({
136781
136821
  });
136782
136822
 
136783
136823
  // ../../../toolkit/utils/dist/nodeEnv.js
136784
- var require_nodeEnv2 = __commonJS({
136824
+ var require_nodeEnv3 = __commonJS({
136785
136825
  "../../../toolkit/utils/dist/nodeEnv.js"(exports, module2) {
136786
136826
  var __defProp2 = Object.defineProperty;
136787
136827
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -136917,9 +136957,9 @@ var require_getPackageManager2 = __commonJS({
136917
136957
  });
136918
136958
  module2.exports = __toCommonJS2(getPackageManager_exports);
136919
136959
  var import_os = __toESM2(require("os"));
136920
- var import_path3 = __toESM2(require("path"));
136960
+ var import_path4 = __toESM2(require("path"));
136921
136961
  var import_compiled = require_compiled2();
136922
- var import_nodeEnv = require_nodeEnv2();
136962
+ var import_nodeEnv = require_nodeEnv3();
136923
136963
  var MAX_TIMES = 5;
136924
136964
  function getPackageManager2() {
136925
136965
  return __async2(this, arguments, function* (cwd = process.cwd()) {
@@ -136927,16 +136967,16 @@ var require_getPackageManager2 = __commonJS({
136927
136967
  let times = 0;
136928
136968
  while (import_os.default.homedir() !== appDirectory && times < MAX_TIMES) {
136929
136969
  times++;
136930
- if (import_compiled.fs.existsSync(import_path3.default.resolve(appDirectory, "pnpm-lock.yaml"))) {
136970
+ if (import_compiled.fs.existsSync(import_path4.default.resolve(appDirectory, "pnpm-lock.yaml"))) {
136931
136971
  return "pnpm";
136932
136972
  }
136933
- if (import_compiled.fs.existsSync(import_path3.default.resolve(appDirectory, "yarn.lock"))) {
136973
+ if (import_compiled.fs.existsSync(import_path4.default.resolve(appDirectory, "yarn.lock"))) {
136934
136974
  return "yarn";
136935
136975
  }
136936
- if (import_compiled.fs.existsSync(import_path3.default.resolve(appDirectory, "package-lock.json"))) {
136976
+ if (import_compiled.fs.existsSync(import_path4.default.resolve(appDirectory, "package-lock.json"))) {
136937
136977
  return "npm";
136938
136978
  }
136939
- appDirectory = import_path3.default.join(appDirectory, "..");
136979
+ appDirectory = import_path4.default.join(appDirectory, "..");
136940
136980
  }
136941
136981
  if (yield (0, import_nodeEnv.canUsePnpm)()) {
136942
136982
  return "pnpm";
@@ -136994,20 +137034,20 @@ var require_path2 = __commonJS({
136994
137034
  upwardPaths: () => upwardPaths
136995
137035
  });
136996
137036
  module2.exports = __toCommonJS2(path_exports);
136997
- var import_path3 = __toESM2(require("path"));
137037
+ var import_path4 = __toESM2(require("path"));
136998
137038
  var import_os = __toESM2(require("os"));
136999
137039
  var import_fs = __toESM2(require("fs"));
137000
137040
  var import_compiled = require_compiled2();
137001
- var isPathString = (test) => import_path3.default.posix.basename(test) !== test || import_path3.default.win32.basename(test) !== test;
137041
+ var isPathString = (test) => import_path4.default.posix.basename(test) !== test || import_path4.default.win32.basename(test) !== test;
137002
137042
  var isRelativePath = (test) => /^\.\.?($|[\\/])/.test(test);
137003
137043
  var normalizeOutputPath = (s) => s.replace(/\\/g, "\\\\");
137004
- var normalizeToPosixPath = (p) => import_compiled.upath.normalizeSafe(import_path3.default.normalize(p || "")).replace(/^([a-zA-Z]+):/, (_2, m) => `/${m.toLowerCase()}`);
137044
+ var normalizeToPosixPath = (p) => import_compiled.upath.normalizeSafe(import_path4.default.normalize(p || "")).replace(/^([a-zA-Z]+):/, (_2, m) => `/${m.toLowerCase()}`);
137005
137045
  var getTemplatePath = (prefix) => {
137006
137046
  const tmpRoot = import_fs.default.realpathSync(import_os.default.tmpdir());
137007
137047
  const parts = [tmpRoot];
137008
137048
  prefix && parts.push(prefix);
137009
137049
  parts.push((0, import_compiled.nanoid)());
137010
- return import_path3.default.resolve(...parts);
137050
+ return import_path4.default.resolve(...parts);
137011
137051
  };
137012
137052
  function compilePathMatcherRegExp(match) {
137013
137053
  if (typeof match !== "string") {
@@ -137070,7 +137110,7 @@ var require_runtimeExports2 = __commonJS({
137070
137110
  createRuntimeExportsUtils: () => createRuntimeExportsUtils
137071
137111
  });
137072
137112
  module2.exports = __toCommonJS2(runtimeExports_exports);
137073
- var import_path3 = __toESM2(require("path"));
137113
+ var import_path4 = __toESM2(require("path"));
137074
137114
  var import_compiled = require_compiled2();
137075
137115
  var import_path22 = require_path2();
137076
137116
  var memo = (fn) => {
@@ -137088,7 +137128,7 @@ var require_runtimeExports2 = __commonJS({
137088
137128
  };
137089
137129
  var createRuntimeExportsUtils = memo(
137090
137130
  (pwd = "", namespace = "index") => {
137091
- const entryExportFile = import_path3.default.join(pwd, `.runtime-exports/${namespace}.js`);
137131
+ const entryExportFile = import_path4.default.join(pwd, `.runtime-exports/${namespace}.js`);
137092
137132
  const addExport = (statement) => {
137093
137133
  statement = (0, import_path22.normalizeOutputPath)(statement);
137094
137134
  try {
@@ -137146,13 +137186,13 @@ var require_readTsConfig2 = __commonJS({
137146
137186
  readTsConfigByFile: () => readTsConfigByFile2
137147
137187
  });
137148
137188
  module2.exports = __toCommonJS2(readTsConfig_exports);
137149
- var import_path3 = __toESM2(require("path"));
137189
+ var import_path4 = __toESM2(require("path"));
137150
137190
  var import_compiled = require_compiled2();
137151
137191
  var readTsConfig = (root) => {
137152
- return readTsConfigByFile2(import_path3.default.resolve(root, "./tsconfig.json"));
137192
+ return readTsConfigByFile2(import_path4.default.resolve(root, "./tsconfig.json"));
137153
137193
  };
137154
137194
  var readTsConfigByFile2 = (filename) => {
137155
- const content = import_compiled.fs.readFileSync(import_path3.default.resolve(filename), "utf-8");
137195
+ const content = import_compiled.fs.readFileSync(import_path4.default.resolve(filename), "utf-8");
137156
137196
  return import_compiled.json5.parse(content);
137157
137197
  };
137158
137198
  }
@@ -137198,12 +137238,12 @@ var require_pathSerializer = __commonJS({
137198
137238
  module2.exports = __toCommonJS2(pathSerializer_exports);
137199
137239
  var import_os = __toESM2(require("os"));
137200
137240
  var import_lodash3 = __toESM2(require_lodash3());
137201
- var import_path3 = require_path2();
137202
- var matchUpwardPathsAsUnknown = (p) => (0, import_lodash3.default)((0, import_path3.upwardPaths)((0, import_path3.normalizeToPosixPath)(p))).map((match) => ({ match, mark: "unknown" })).slice(1, -1).value();
137241
+ var import_path4 = require_path2();
137242
+ var matchUpwardPathsAsUnknown = (p) => (0, import_lodash3.default)((0, import_path4.upwardPaths)((0, import_path4.normalizeToPosixPath)(p))).map((match) => ({ match, mark: "unknown" })).slice(1, -1).value();
137203
137243
  function applyPathMatcher(matcher, str, options = {}) {
137204
- const regex2 = (0, import_path3.compilePathMatcherRegExp)(matcher.match);
137244
+ const regex2 = (0, import_path4.compilePathMatcherRegExp)(matcher.match);
137205
137245
  const replacer = (substring, ...args) => {
137206
- if (options.minPartials && (0, import_path3.splitPathString)(substring).length < options.minPartials) {
137246
+ if (options.minPartials && (0, import_path4.splitPathString)(substring).length < options.minPartials) {
137207
137247
  return substring;
137208
137248
  }
137209
137249
  const ret = typeof matcher.mark === "string" ? matcher.mark : matcher.mark(substring, ...args);
@@ -137223,7 +137263,7 @@ var require_pathSerializer = __commonJS({
137223
137263
  mark: "pnpmInner"
137224
137264
  }
137225
137265
  ];
137226
- const tmpdir = (0, import_path3.getRealTemporaryDirectory)();
137266
+ const tmpdir = (0, import_path4.getRealTemporaryDirectory)();
137227
137267
  tmpdir && ret.push({ match: tmpdir, mark: "temp" });
137228
137268
  ret.push({ match: import_os.default.tmpdir(), mark: "temp" });
137229
137269
  ret.push({ match: import_os.default.homedir(), mark: "home" });
@@ -137330,14 +137370,12 @@ var require_prettyInstructions2 = __commonJS({
137330
137370
  __export2(prettyInstructions_exports, {
137331
137371
  getAddressUrls: () => getAddressUrls,
137332
137372
  getIpv4Interfaces: () => getIpv4Interfaces,
137333
- isSingleEntry: () => isSingleEntry,
137334
137373
  prettyInstructions: () => prettyInstructions
137335
137374
  });
137336
137375
  module2.exports = __toCommonJS2(prettyInstructions_exports);
137337
137376
  var import_os = __toESM2(require("os"));
137338
137377
  var import_compiled = require_compiled2();
137339
137378
  var import_is = require_is2();
137340
- var isSingleEntry = (entrypoints) => entrypoints.length === 1 && entrypoints[0].entryName === "main";
137341
137379
  var normalizeUrl = (url) => url.replace(/([^:]\/)\/+/g, "$1");
137342
137380
  var getIpv4Interfaces = () => {
137343
137381
  const interfaces = import_os.default.networkInterfaces();
@@ -137376,7 +137414,7 @@ var require_prettyInstructions2 = __commonJS({
137376
137414
  );
137377
137415
  const routes = !apiOnly ? serverRoutes.filter((route) => route.entryName) : serverRoutes;
137378
137416
  let message = "App running at:\n\n";
137379
- if (isSingleEntry(entrypoints) || apiOnly) {
137417
+ if ((0, import_is.isSingleEntry)(entrypoints) || apiOnly) {
137380
137418
  message += urls.map(
137381
137419
  ({ type, url }) => ` ${import_compiled.chalk.bold(`> ${type.padEnd(10)}`)}${import_compiled.chalk.cyanBright(
137382
137420
  normalizeUrl(`${url}/${routes[0].urlPath}`)
@@ -137466,7 +137504,7 @@ var require_alias2 = __commonJS({
137466
137504
  });
137467
137505
  module2.exports = __toCommonJS2(alias_exports);
137468
137506
  var import_fs = __toESM2(require("fs"));
137469
- var import_path3 = __toESM2(require("path"));
137507
+ var import_path4 = __toESM2(require("path"));
137470
137508
  var import_compiled = require_compiled2();
137471
137509
  var import_readTsConfig = require_readTsConfig2();
137472
137510
  var import_applyOptionsChain = require_applyOptionsChain2();
@@ -137505,7 +137543,7 @@ var require_alias2 = __commonJS({
137505
137543
  const tsconfig = (0, import_readTsConfig.readTsConfigByFile)(option.tsconfigPath);
137506
137544
  const baseUrl = (_a2 = tsconfig == null ? void 0 : tsconfig.compilerOptions) == null ? void 0 : _a2.baseUrl;
137507
137545
  return {
137508
- absoluteBaseUrl: baseUrl ? import_path3.default.join(option.appDirectory, baseUrl) : option.appDirectory,
137546
+ absoluteBaseUrl: baseUrl ? import_path4.default.join(option.appDirectory, baseUrl) : option.appDirectory,
137509
137547
  paths: __spreadValues2(__spreadValues2({}, alias), (_b = tsconfig == null ? void 0 : tsconfig.compilerOptions) == null ? void 0 : _b.paths),
137510
137548
  isTsPath: true,
137511
137549
  isTsProject
@@ -137576,7 +137614,7 @@ var require_watch2 = __commonJS({
137576
137614
  watch: () => watch
137577
137615
  });
137578
137616
  module2.exports = __toCommonJS2(watch_exports);
137579
- var path2 = __toESM2(require("path"));
137617
+ var path3 = __toESM2(require("path"));
137580
137618
  var import_compiled = require_compiled2();
137581
137619
  var WatchChangeType = {
137582
137620
  ADD: "add",
@@ -137590,17 +137628,17 @@ var require_watch2 = __commonJS({
137590
137628
  });
137591
137629
  watcher.on("ready", () => ready = true);
137592
137630
  watcher.on("change", (filePath) => __async2(void 0, null, function* () {
137593
- const changedFilePath = path2.resolve(filePath);
137631
+ const changedFilePath = path3.resolve(filePath);
137594
137632
  yield runTask({ changedFilePath, changeType: WatchChangeType.CHANGE });
137595
137633
  }));
137596
137634
  watcher.on("add", (filePath) => __async2(void 0, null, function* () {
137597
- const changedFilePath = path2.resolve(filePath);
137635
+ const changedFilePath = path3.resolve(filePath);
137598
137636
  if (ready) {
137599
137637
  yield runTask({ changedFilePath, changeType: WatchChangeType.ADD });
137600
137638
  }
137601
137639
  }));
137602
137640
  watcher.on("unlink", (filePath) => __async2(void 0, null, function* () {
137603
- const changedFilePath = path2.resolve(filePath);
137641
+ const changedFilePath = path3.resolve(filePath);
137604
137642
  yield runTask({ changedFilePath, changeType: WatchChangeType.UNLINK });
137605
137643
  }));
137606
137644
  watcher.on("error", (err) => {
@@ -137751,13 +137789,13 @@ var require_getServerConfig2 = __commonJS({
137751
137789
  getServerConfig: () => getServerConfig
137752
137790
  });
137753
137791
  module2.exports = __toCommonJS2(getServerConfig_exports);
137754
- var path2 = __toESM2(require("path"));
137792
+ var path3 = __toESM2(require("path"));
137755
137793
  var import_constants3 = require_constants6();
137756
137794
  var import_findExists = require_findExists2();
137757
137795
  var getServerConfig = (appDirectory, configFile) => __async2(void 0, null, function* () {
137758
137796
  const configFilePath = (0, import_findExists.findExists)(
137759
137797
  import_constants3.CONFIG_FILE_EXTENSIONS.map(
137760
- (extension) => path2.resolve(appDirectory, `${configFile}${extension}`)
137798
+ (extension) => path3.resolve(appDirectory, `${configFile}${extension}`)
137761
137799
  )
137762
137800
  );
137763
137801
  return configFilePath;
@@ -137765,114 +137803,6 @@ var require_getServerConfig2 = __commonJS({
137765
137803
  }
137766
137804
  });
137767
137805
 
137768
- // ../../../toolkit/utils/dist/storage.js
137769
- var require_storage2 = __commonJS({
137770
- "../../../toolkit/utils/dist/storage.js"(exports, module2) {
137771
- var __create2 = Object.create;
137772
- var __defProp2 = Object.defineProperty;
137773
- var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
137774
- var __getOwnPropNames2 = Object.getOwnPropertyNames;
137775
- var __getProtoOf2 = Object.getPrototypeOf;
137776
- var __hasOwnProp2 = Object.prototype.hasOwnProperty;
137777
- var __export2 = (target, all) => {
137778
- for (var name in all)
137779
- __defProp2(target, name, { get: all[name], enumerable: true });
137780
- };
137781
- var __copyProps2 = (to, from, except, desc) => {
137782
- if (from && typeof from === "object" || typeof from === "function") {
137783
- for (let key of __getOwnPropNames2(from))
137784
- if (!__hasOwnProp2.call(to, key) && key !== except)
137785
- __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
137786
- }
137787
- return to;
137788
- };
137789
- var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
137790
- // If the importer is in node compatibility mode or this is not an ESM
137791
- // file that has been converted to a CommonJS file using a Babel-
137792
- // compatible transform (i.e. "__esModule" has not been set), then set
137793
- // "default" to the CommonJS "module.exports" for node compatibility.
137794
- isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", { value: mod, enumerable: true }) : target,
137795
- mod
137796
- ));
137797
- var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
137798
- var storage_exports = {};
137799
- __export2(storage_exports, {
137800
- createStorage: () => createStorage
137801
- });
137802
- module2.exports = __toCommonJS2(storage_exports);
137803
- var ah = __toESM2(require("async_hooks"));
137804
- var createStorage = () => {
137805
- let storage;
137806
- if (typeof ah.AsyncLocalStorage !== "undefined") {
137807
- storage = new ah.AsyncLocalStorage();
137808
- }
137809
- const run = (context, cb) => {
137810
- if (!storage) {
137811
- throw new Error(`Unable to use async_hook, please confirm the node version >= 12.17
137812
- `);
137813
- }
137814
- return new Promise((resolve, reject) => {
137815
- storage.run(context, () => {
137816
- try {
137817
- return resolve(cb());
137818
- } catch (error) {
137819
- return reject(error);
137820
- }
137821
- });
137822
- });
137823
- };
137824
- const useContext = () => {
137825
- if (!storage) {
137826
- throw new Error(`Unable to use async_hook, please confirm the node version >= 12.17
137827
- `);
137828
- }
137829
- const context = storage.getStore();
137830
- if (!context) {
137831
- throw new Error(
137832
- `Can't call useContext out of scope, make sure @modern-js/utils is a single version in node_modules`
137833
- );
137834
- }
137835
- return context;
137836
- };
137837
- return {
137838
- run,
137839
- useContext
137840
- };
137841
- };
137842
- }
137843
- });
137844
-
137845
- // ../../../toolkit/utils/dist/ssr.js
137846
- var require_ssr2 = __commonJS({
137847
- "../../../toolkit/utils/dist/ssr.js"(exports, module2) {
137848
- var __defProp2 = Object.defineProperty;
137849
- var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
137850
- var __getOwnPropNames2 = Object.getOwnPropertyNames;
137851
- var __hasOwnProp2 = Object.prototype.hasOwnProperty;
137852
- var __export2 = (target, all) => {
137853
- for (var name in all)
137854
- __defProp2(target, name, { get: all[name], enumerable: true });
137855
- };
137856
- var __copyProps2 = (to, from, except, desc) => {
137857
- if (from && typeof from === "object" || typeof from === "function") {
137858
- for (let key of __getOwnPropNames2(from))
137859
- if (!__hasOwnProp2.call(to, key) && key !== except)
137860
- __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
137861
- }
137862
- return to;
137863
- };
137864
- var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
137865
- var ssr_exports = {};
137866
- __export2(ssr_exports, {
137867
- run: () => run,
137868
- useHeaders: () => useHeaders
137869
- });
137870
- module2.exports = __toCommonJS2(ssr_exports);
137871
- var import_storage = require_storage2();
137872
- var { run, useContext: useHeaders } = (0, import_storage.createStorage)();
137873
- }
137874
- });
137875
-
137876
137806
  // ../../../toolkit/utils/dist/tryResolve.js
137877
137807
  var require_tryResolve2 = __commonJS({
137878
137808
  "../../../toolkit/utils/dist/tryResolve.js"(exports, module2) {
@@ -137976,17 +137906,22 @@ var require_analyzeProject2 = __commonJS({
137976
137906
  };
137977
137907
  var analyzeProject_exports = {};
137978
137908
  __export2(analyzeProject_exports, {
137979
- isApiOnly: () => isApiOnly
137909
+ isApiOnly: () => isApiOnly,
137910
+ isWebOnly: () => isWebOnly
137980
137911
  });
137981
137912
  module2.exports = __toCommonJS2(analyzeProject_exports);
137982
- var path2 = __toESM2(require("path"));
137913
+ var path3 = __toESM2(require("path"));
137983
137914
  var import_compiled = require_compiled2();
137984
137915
  var isApiOnly = (appDirectory, entryDir) => __async2(void 0, null, function* () {
137985
- const srcDir = path2.join(appDirectory, entryDir != null ? entryDir : "src");
137916
+ const srcDir = path3.join(appDirectory, entryDir != null ? entryDir : "src");
137986
137917
  const existSrc = yield import_compiled.fs.pathExists(srcDir);
137987
137918
  const options = (0, import_compiled.minimist)(process.argv.slice(2));
137988
137919
  return !existSrc || Boolean(options["api-only"]);
137989
137920
  });
137921
+ var isWebOnly = () => __async2(void 0, null, function* () {
137922
+ const options = (0, import_compiled.minimist)(process.argv.slice(2));
137923
+ return Boolean(options["web-only"]);
137924
+ });
137990
137925
  }
137991
137926
  });
137992
137927
 
@@ -138275,7 +138210,7 @@ var require_version2 = __commonJS({
138275
138210
  isReact18: () => isReact182
138276
138211
  });
138277
138212
  module2.exports = __toCommonJS2(version_exports);
138278
- var import_path3 = __toESM2(require("path"));
138213
+ var import_path4 = __toESM2(require("path"));
138279
138214
  var import_compiled = require_compiled2();
138280
138215
  function getPnpmVersion() {
138281
138216
  return __async2(this, null, function* () {
@@ -138284,7 +138219,7 @@ var require_version2 = __commonJS({
138284
138219
  });
138285
138220
  }
138286
138221
  var isReact182 = (cwd) => {
138287
- const pkgPath = import_path3.default.join(cwd, "package.json");
138222
+ const pkgPath = import_path4.default.join(cwd, "package.json");
138288
138223
  if (!import_compiled.fs.existsSync(pkgPath)) {
138289
138224
  return false;
138290
138225
  }
@@ -138382,16 +138317,16 @@ var require_routes = __commonJS({
138382
138317
  getRouteId: () => getRouteId
138383
138318
  });
138384
138319
  module2.exports = __toCommonJS2(routes_exports);
138385
- var import_path3 = __toESM2(require("path"));
138320
+ var import_path4 = __toESM2(require("path"));
138386
138321
  var import_path22 = require_path2();
138387
138322
  var import_constants3 = require_constants6();
138388
138323
  var getPathWithoutExt = (filename) => {
138389
- const extname = import_path3.default.extname(filename);
138324
+ const extname = import_path4.default.extname(filename);
138390
138325
  return filename.slice(0, -extname.length);
138391
138326
  };
138392
138327
  var getRouteId = (componentPath, routesDir, entryName) => {
138393
138328
  const relativePath = (0, import_path22.normalizeToPosixPath)(
138394
- import_path3.default.relative(routesDir, componentPath)
138329
+ import_path4.default.relative(routesDir, componentPath)
138395
138330
  );
138396
138331
  const pathWithoutExt = getPathWithoutExt(relativePath);
138397
138332
  let id = ``;
@@ -138405,9 +138340,9 @@ var require_routes = __commonJS({
138405
138340
  }
138406
138341
  });
138407
138342
 
138408
- // ../../../toolkit/utils/dist/test-utils.js
138409
- var require_test_utils = __commonJS({
138410
- "../../../toolkit/utils/dist/test-utils.js"(exports, module2) {
138343
+ // ../../../toolkit/utils/dist/testUtils.js
138344
+ var require_testUtils = __commonJS({
138345
+ "../../../toolkit/utils/dist/testUtils.js"(exports, module2) {
138411
138346
  var __defProp2 = Object.defineProperty;
138412
138347
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
138413
138348
  var __getOwnPropNames2 = Object.getOwnPropertyNames;
@@ -138425,11 +138360,11 @@ var require_test_utils = __commonJS({
138425
138360
  return to;
138426
138361
  };
138427
138362
  var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
138428
- var test_utils_exports = {};
138429
- __export2(test_utils_exports, {
138363
+ var testUtils_exports = {};
138364
+ __export2(testUtils_exports, {
138430
138365
  initSnapshotSerializer: () => initSnapshotSerializer
138431
138366
  });
138432
- module2.exports = __toCommonJS2(test_utils_exports);
138367
+ module2.exports = __toCommonJS2(testUtils_exports);
138433
138368
  var initSnapshotSerializer = (root) => {
138434
138369
  expect.addSnapshotSerializer({
138435
138370
  test: (val) => typeof val === "string" && (val.includes("modern.js") || val.includes("node_modules") || val.includes(root)),
@@ -138542,10 +138477,10 @@ var require_react = __commonJS({
138542
138477
  isBeyondReact17: () => isBeyondReact17
138543
138478
  });
138544
138479
  module2.exports = __toCommonJS2(react_exports);
138545
- var import_path3 = __toESM2(require("path"));
138480
+ var import_path4 = __toESM2(require("path"));
138546
138481
  var import__ = require_dist2();
138547
138482
  var isBeyondReact17 = (cwd) => {
138548
- const pkgPath = import_path3.default.join(cwd, "package.json");
138483
+ const pkgPath = import_path4.default.join(cwd, "package.json");
138549
138484
  if (!import__.fs.existsSync(pkgPath)) {
138550
138485
  return false;
138551
138486
  }
@@ -138559,6 +138494,49 @@ var require_react = __commonJS({
138559
138494
  }
138560
138495
  });
138561
138496
 
138497
+ // ../../../toolkit/utils/dist/getTargetDir.js
138498
+ var require_getTargetDir = __commonJS({
138499
+ "../../../toolkit/utils/dist/getTargetDir.js"(exports, module2) {
138500
+ var __create2 = Object.create;
138501
+ var __defProp2 = Object.defineProperty;
138502
+ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
138503
+ var __getOwnPropNames2 = Object.getOwnPropertyNames;
138504
+ var __getProtoOf2 = Object.getPrototypeOf;
138505
+ var __hasOwnProp2 = Object.prototype.hasOwnProperty;
138506
+ var __export2 = (target, all) => {
138507
+ for (var name in all)
138508
+ __defProp2(target, name, { get: all[name], enumerable: true });
138509
+ };
138510
+ var __copyProps2 = (to, from, except, desc) => {
138511
+ if (from && typeof from === "object" || typeof from === "function") {
138512
+ for (let key of __getOwnPropNames2(from))
138513
+ if (!__hasOwnProp2.call(to, key) && key !== except)
138514
+ __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
138515
+ }
138516
+ return to;
138517
+ };
138518
+ var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
138519
+ // If the importer is in node compatibility mode or this is not an ESM
138520
+ // file that has been converted to a CommonJS file using a Babel-
138521
+ // compatible transform (i.e. "__esModule" has not been set), then set
138522
+ // "default" to the CommonJS "module.exports" for node compatibility.
138523
+ isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", { value: mod, enumerable: true }) : target,
138524
+ mod
138525
+ ));
138526
+ var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
138527
+ var getTargetDir_exports = {};
138528
+ __export2(getTargetDir_exports, {
138529
+ getTargetDir: () => getTargetDir
138530
+ });
138531
+ module2.exports = __toCommonJS2(getTargetDir_exports);
138532
+ var path3 = __toESM2(require("path"));
138533
+ var getTargetDir = (from, baseDir, targetBaseDir) => {
138534
+ const relativePath = path3.relative(baseDir, from);
138535
+ return path3.resolve(targetBaseDir, relativePath);
138536
+ };
138537
+ }
138538
+ });
138539
+
138562
138540
  // ../../../toolkit/utils/dist/index.js
138563
138541
  var require_dist2 = __commonJS({
138564
138542
  "../../../toolkit/utils/dist/index.js"(exports, module2) {
@@ -138608,20 +138586,20 @@ var require_dist2 = __commonJS({
138608
138586
  __reExport(src_exports2, require_alias2(), module2.exports);
138609
138587
  __reExport(src_exports2, require_import2(), module2.exports);
138610
138588
  __reExport(src_exports2, require_watch2(), module2.exports);
138611
- __reExport(src_exports2, require_nodeEnv2(), module2.exports);
138589
+ __reExport(src_exports2, require_nodeEnv3(), module2.exports);
138612
138590
  __reExport(src_exports2, require_wait2(), module2.exports);
138613
138591
  __reExport(src_exports2, require_emptyDir2(), module2.exports);
138614
138592
  __reExport(src_exports2, require_getServerConfig2(), module2.exports);
138615
- __reExport(src_exports2, require_ssr2(), module2.exports);
138616
138593
  __reExport(src_exports2, require_tryResolve2(), module2.exports);
138617
138594
  __reExport(src_exports2, require_analyzeProject2(), module2.exports);
138618
138595
  __reExport(src_exports2, require_chainId2(), module2.exports);
138619
138596
  __reExport(src_exports2, require_version2(), module2.exports);
138620
138597
  __reExport(src_exports2, require_plugin(), module2.exports);
138621
138598
  __reExport(src_exports2, require_routes(), module2.exports);
138622
- __reExport(src_exports2, require_test_utils(), module2.exports);
138599
+ __reExport(src_exports2, require_testUtils(), module2.exports);
138623
138600
  __reExport(src_exports2, require_getCoreJsVersion(), module2.exports);
138624
138601
  __reExport(src_exports2, require_react(), module2.exports);
138602
+ __reExport(src_exports2, require_getTargetDir(), module2.exports);
138625
138603
  }
138626
138604
  });
138627
138605
 
@@ -138631,7 +138609,7 @@ __export(src_exports, {
138631
138609
  default: () => src_default
138632
138610
  });
138633
138611
  module.exports = __toCommonJS(src_exports);
138634
- var import_path2 = __toESM(require("path"));
138612
+ var import_path3 = __toESM(require("path"));
138635
138613
  var import_codesmith_api_app = __toESM(require_node9());
138636
138614
 
138637
138615
  // ../../../cli/plugin-i18n/dist/esm-node/index.js
@@ -138741,7 +138719,7 @@ var ZH_LOCALE = {
138741
138719
  polyfill: "启用「基于 UA 的 Polyfill」功能",
138742
138720
  proxy: "启用「全局代理」",
138743
138721
  swc: "启用「SWC 编译」",
138744
- rspack: "启用「rspack 构建」"
138722
+ rspack: "启用「Rspack 构建」(实验性)"
138745
138723
  },
138746
138724
  element: {
138747
138725
  self: "创建工程元素",
@@ -138795,7 +138773,7 @@ var ZH_LOCALE = {
138795
138773
  buildTools: {
138796
138774
  self: "请选择构建工具",
138797
138775
  webpack: "webpack",
138798
- rspack: "rspack (experimental)"
138776
+ rspack: "Rspack (实验性)"
138799
138777
  }
138800
138778
  };
138801
138779
 
@@ -138838,7 +138816,7 @@ var EN_LOCALE = {
138838
138816
  polyfill: "Enable UA-based Polyfill Feature",
138839
138817
  proxy: "Enable Global Proxy",
138840
138818
  swc: "Enable SWC Compile",
138841
- rspack: "Enable rspack Build"
138819
+ rspack: "Enable Rspack Build (experimental)"
138842
138820
  },
138843
138821
  element: {
138844
138822
  self: "Create project element",
@@ -138892,7 +138870,7 @@ var EN_LOCALE = {
138892
138870
  buildTools: {
138893
138871
  self: "Build Tools",
138894
138872
  webpack: "webpack",
138895
- rspack: "rspack (experimental)"
138873
+ rspack: "Rspack (experimental)"
138896
138874
  }
138897
138875
  };
138898
138876
 
@@ -138900,7 +138878,7 @@ var EN_LOCALE = {
138900
138878
  var i18n = new I18n();
138901
138879
  var localeKeys = i18n.init("zh", { zh: ZH_LOCALE, en: EN_LOCALE });
138902
138880
 
138903
- // ../../generator-common/dist/esm-node/common/package-manager.js
138881
+ // ../../generator-common/dist/esm-node/common/packageManager.js
138904
138882
  var PackageManager = /* @__PURE__ */ ((PackageManager2) => {
138905
138883
  PackageManager2["Pnpm"] = "pnpm";
138906
138884
  PackageManager2["Yarn"] = "yarn";
@@ -138958,6 +138936,7 @@ var BaseDefaultConfig = {
138958
138936
  };
138959
138937
 
138960
138938
  // ../../generator-utils/dist/esm/index.js
138939
+ var import_path2 = __toESM(require("path"));
138961
138940
  var import_utils2 = __toESM(require_dist2());
138962
138941
 
138963
138942
  // src/index.ts
@@ -138996,7 +138975,7 @@ var handleTemplateFile = (context, generator, appApi) => __async(void 0, null, f
138996
138975
  (resourceKey) => resourceKey.replace("templates/pnpm-templates/npmrc", ".npmrc").replace(".handlebars", "")
138997
138976
  );
138998
138977
  }
138999
- import_utils2.fs.chmodSync(import_path2.default.join(generator.outputPath, ".husky", "pre-commit"), "755");
138978
+ import_utils2.fs.chmodSync(import_path3.default.join(generator.outputPath, ".husky", "pre-commit"), "755");
139000
138979
  });
139001
138980
  var src_default = (context, generator) => __async(void 0, null, function* () {
139002
138981
  const appApi = new import_codesmith_api_app.AppAPI(context, generator);