triangulum 0.34.0 → 0.35.0

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.
@@ -169761,20 +169761,20 @@ var require_tslib = __commonJS((exports, module) => {
169761
169761
  if (p4 !== "default" && !Object.prototype.hasOwnProperty.call(o3, p4))
169762
169762
  __createBinding(o3, m4, p4);
169763
169763
  };
169764
- __createBinding = Object.create ? function(o3, m4, k3, k22) {
169764
+ __createBinding = Object.create ? function(o3, m4, k4, k22) {
169765
169765
  if (k22 === undefined)
169766
- k22 = k3;
169767
- var desc = Object.getOwnPropertyDescriptor(m4, k3);
169766
+ k22 = k4;
169767
+ var desc = Object.getOwnPropertyDescriptor(m4, k4);
169768
169768
  if (!desc || ("get" in desc ? !m4.__esModule : desc.writable || desc.configurable)) {
169769
169769
  desc = { enumerable: true, get: function() {
169770
- return m4[k3];
169770
+ return m4[k4];
169771
169771
  } };
169772
169772
  }
169773
169773
  Object.defineProperty(o3, k22, desc);
169774
- } : function(o3, m4, k3, k22) {
169774
+ } : function(o3, m4, k4, k22) {
169775
169775
  if (k22 === undefined)
169776
- k22 = k3;
169777
- o3[k22] = m4[k3];
169776
+ k22 = k4;
169777
+ o3[k22] = m4[k4];
169778
169778
  };
169779
169779
  __values = function(o3) {
169780
169780
  var s3 = typeof Symbol === "function" && Symbol.iterator, m4 = s3 && o3[s3], i3 = 0;
@@ -169819,9 +169819,9 @@ var require_tslib = __commonJS((exports, module) => {
169819
169819
  __spreadArrays = function() {
169820
169820
  for (var s3 = 0, i3 = 0, il = arguments.length;i3 < il; i3++)
169821
169821
  s3 += arguments[i3].length;
169822
- for (var r3 = Array(s3), k3 = 0, i3 = 0;i3 < il; i3++)
169823
- for (var a3 = arguments[i3], j4 = 0, jl = a3.length;j4 < jl; j4++, k3++)
169824
- r3[k3] = a3[j4];
169822
+ for (var r3 = Array(s3), k4 = 0, i3 = 0;i3 < il; i3++)
169823
+ for (var a3 = arguments[i3], j3 = 0, jl = a3.length;j3 < jl; j3++, k4++)
169824
+ r3[k4] = a3[j3];
169825
169825
  return r3;
169826
169826
  };
169827
169827
  __spreadArray = function(to, from, pack) {
@@ -169931,9 +169931,9 @@ var require_tslib = __commonJS((exports, module) => {
169931
169931
  var ownKeys = function(o3) {
169932
169932
  ownKeys = Object.getOwnPropertyNames || function(o4) {
169933
169933
  var ar = [];
169934
- for (var k3 in o4)
169935
- if (Object.prototype.hasOwnProperty.call(o4, k3))
169936
- ar[ar.length] = k3;
169934
+ for (var k4 in o4)
169935
+ if (Object.prototype.hasOwnProperty.call(o4, k4))
169936
+ ar[ar.length] = k4;
169937
169937
  return ar;
169938
169938
  };
169939
169939
  return ownKeys(o3);
@@ -169943,9 +169943,9 @@ var require_tslib = __commonJS((exports, module) => {
169943
169943
  return mod;
169944
169944
  var result = {};
169945
169945
  if (mod != null) {
169946
- for (var k3 = ownKeys(mod), i3 = 0;i3 < k3.length; i3++)
169947
- if (k3[i3] !== "default")
169948
- __createBinding(result, mod, k3[i3]);
169946
+ for (var k4 = ownKeys(mod), i3 = 0;i3 < k4.length; i3++)
169947
+ if (k4[i3] !== "default")
169948
+ __createBinding(result, mod, k4[i3]);
169949
169949
  }
169950
169950
  __setModuleDefault(result, mod);
169951
169951
  return result;
@@ -173637,17 +173637,17 @@ var require_typescript2 = __commonJS((exports, module) => {
173637
173637
  const maxJ = Math.floor(s22.length > max + i3 ? max + i3 : s22.length);
173638
173638
  current[0] = i3;
173639
173639
  let colMin = i3;
173640
- for (let j4 = 1;j4 < minJ; j4++) {
173641
- current[j4] = big;
173640
+ for (let j3 = 1;j3 < minJ; j3++) {
173641
+ current[j3] = big;
173642
173642
  }
173643
- for (let j4 = minJ;j4 <= maxJ; j4++) {
173644
- const substitutionDistance = s1[i3 - 1].toLowerCase() === s22[j4 - 1].toLowerCase() ? previous[j4 - 1] + 0.1 : previous[j4 - 1] + 2;
173645
- const dist = c1 === s22.charCodeAt(j4 - 1) ? previous[j4 - 1] : Math.min(previous[j4] + 1, current[j4 - 1] + 1, substitutionDistance);
173646
- current[j4] = dist;
173643
+ for (let j3 = minJ;j3 <= maxJ; j3++) {
173644
+ const substitutionDistance = s1[i3 - 1].toLowerCase() === s22[j3 - 1].toLowerCase() ? previous[j3 - 1] + 0.1 : previous[j3 - 1] + 2;
173645
+ const dist = c1 === s22.charCodeAt(j3 - 1) ? previous[j3 - 1] : Math.min(previous[j3] + 1, current[j3 - 1] + 1, substitutionDistance);
173646
+ current[j3] = dist;
173647
173647
  colMin = Math.min(colMin, dist);
173648
173648
  }
173649
- for (let j4 = maxJ + 1;j4 <= s22.length; j4++) {
173650
- current[j4] = big;
173649
+ for (let j3 = maxJ + 1;j3 <= s22.length; j3++) {
173650
+ current[j3] = big;
173651
173651
  }
173652
173652
  if (colMin > max) {
173653
173653
  return;
@@ -184279,14 +184279,14 @@ ${lanes.join(`
184279
184279
  let i3 = 0;
184280
184280
  while (i3 < spans.length) {
184281
184281
  let span = spans[i3];
184282
- let j4 = i3 + 1;
184283
- while (j4 < spans.length && textSpanIntersectsWithTextSpan(span, spans[j4])) {
184284
- const start = Math.min(span.start, spans[j4].start);
184285
- const end = Math.max(textSpanEnd(span), textSpanEnd(spans[j4]));
184282
+ let j3 = i3 + 1;
184283
+ while (j3 < spans.length && textSpanIntersectsWithTextSpan(span, spans[j3])) {
184284
+ const start = Math.min(span.start, spans[j3].start);
184285
+ const end = Math.max(textSpanEnd(span), textSpanEnd(spans[j3]));
184286
184286
  span = createTextSpanFromBounds(start, end);
184287
- j4++;
184287
+ j3++;
184288
184288
  }
184289
- i3 = j4;
184289
+ i3 = j3;
184290
184290
  result.push(span);
184291
184291
  }
184292
184292
  return result;
@@ -184771,7 +184771,7 @@ ${lanes.join(`
184771
184771
  if (tags === undefined || noCache) {
184772
184772
  const comments = getJSDocCommentsAndTags(node, noCache);
184773
184773
  Debug.assert(comments.length < 2 || comments[0] !== comments[1]);
184774
- tags = flatMap(comments, (j4) => isJSDoc(j4) ? j4.tags : j4);
184774
+ tags = flatMap(comments, (j3) => isJSDoc(j3) ? j3.tags : j3);
184775
184775
  if (!noCache) {
184776
184776
  node.jsDoc ?? (node.jsDoc = []);
184777
184777
  node.jsDoc.jsDocCache = tags;
@@ -209254,7 +209254,7 @@ ${lanes.join(`
209254
209254
  }
209255
209255
  function createDiagnosticForInvalidCustomType(opt, createDiagnostic) {
209256
209256
  const namesOfType = arrayFrom(opt.type.keys());
209257
- const stringNames = (opt.deprecatedKeys ? namesOfType.filter((k3) => !opt.deprecatedKeys.has(k3)) : namesOfType).map((key) => `'${key}'`).join(", ");
209257
+ const stringNames = (opt.deprecatedKeys ? namesOfType.filter((k4) => !opt.deprecatedKeys.has(k4)) : namesOfType).map((key) => `'${key}'`).join(", ");
209258
209258
  return createDiagnostic(Diagnostics.Argument_for_0_option_must_be_Colon_1, `--${opt.name}`, stringNames);
209259
209259
  }
209260
209260
  function parseCustomTypeOption(opt, value, errors) {
@@ -209904,7 +209904,7 @@ ${lanes.join(`
209904
209904
  function generateTSConfig(options, newLine) {
209905
209905
  const tab = " ";
209906
209906
  const result = [];
209907
- const allSetOptions = Object.keys(options).filter((k3) => k3 !== "init" && k3 !== "help" && k3 !== "watch");
209907
+ const allSetOptions = Object.keys(options).filter((k4) => k4 !== "init" && k4 !== "help" && k4 !== "watch");
209908
209908
  result.push(`{`);
209909
209909
  result.push(`${tab}// ${getLocaleSpecificMessage(Diagnostics.Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file)}`);
209910
209910
  result.push(`${tab}"compilerOptions": {`);
@@ -212394,10 +212394,10 @@ ${lanes.join(`
212394
212394
  return idx === -1 ? { packageName: moduleName, rest: "" } : { packageName: moduleName.slice(0, idx), rest: moduleName.slice(idx + 1) };
212395
212395
  }
212396
212396
  function allKeysStartWithDot(obj) {
212397
- return every(getOwnKeys(obj), (k3) => startsWith(k3, "."));
212397
+ return every(getOwnKeys(obj), (k4) => startsWith(k4, "."));
212398
212398
  }
212399
212399
  function noKeyStartsWithDot(obj) {
212400
- return !some(getOwnKeys(obj), (k3) => startsWith(k3, "."));
212400
+ return !some(getOwnKeys(obj), (k4) => startsWith(k4, "."));
212401
212401
  }
212402
212402
  function loadModuleFromSelfNameReference(extensions, moduleName, directory, state, cache, redirectedReference) {
212403
212403
  var _a, _b;
@@ -212511,7 +212511,7 @@ ${lanes.join(`
212511
212511
  const target = lookupTable[moduleName];
212512
212512
  return loadModuleFromTargetExportOrImport(target, "", false, moduleName);
212513
212513
  }
212514
- const expandingKeys = toSorted(filter(getOwnKeys(lookupTable), (k3) => hasOneAsterisk(k3) || endsWith(k3, "/")), comparePatternKeys);
212514
+ const expandingKeys = toSorted(filter(getOwnKeys(lookupTable), (k4) => hasOneAsterisk(k4) || endsWith(k4, "/")), comparePatternKeys);
212515
212515
  for (const potentialTarget of expandingKeys) {
212516
212516
  if (state.features & 16 && matchesPatternWithTrailer(potentialTarget, moduleName)) {
212517
212517
  const target = lookupTable[potentialTarget];
@@ -214901,13 +214901,13 @@ ${lanes.join(`
214901
214901
  function bindJSDoc(node) {
214902
214902
  if (hasJSDocNodes(node)) {
214903
214903
  if (isInJSFile(node)) {
214904
- for (const j4 of node.jsDoc) {
214905
- bind(j4);
214904
+ for (const j3 of node.jsDoc) {
214905
+ bind(j3);
214906
214906
  }
214907
214907
  } else {
214908
- for (const j4 of node.jsDoc) {
214909
- setParent(j4, node);
214910
- setParentRecursive(j4, false);
214908
+ for (const j3 of node.jsDoc) {
214909
+ setParent(j3, node);
214910
+ setParentRecursive(j3, false);
214911
214911
  }
214912
214912
  }
214913
214913
  }
@@ -216486,10 +216486,10 @@ ${lanes.join(`
216486
216486
  }
216487
216487
  function tryGetModuleNameFromExports(options, host, targetFilePath, packageDirectory, packageName, exports2, conditions) {
216488
216488
  if (typeof exports2 === "object" && exports2 !== null && !Array.isArray(exports2) && allKeysStartWithDot(exports2)) {
216489
- return forEach(getOwnKeys(exports2), (k3) => {
216490
- const subPackageName = getNormalizedAbsolutePath(combinePaths(packageName, k3), undefined);
216491
- const mode = endsWith(k3, "/") ? 1 : k3.includes("*") ? 2 : 0;
216492
- return tryGetModuleNameFromExportsOrImports(options, host, targetFilePath, packageDirectory, subPackageName, exports2[k3], conditions, mode, false, false);
216489
+ return forEach(getOwnKeys(exports2), (k4) => {
216490
+ const subPackageName = getNormalizedAbsolutePath(combinePaths(packageName, k4), undefined);
216491
+ const mode = endsWith(k4, "/") ? 1 : k4.includes("*") ? 2 : 0;
216492
+ return tryGetModuleNameFromExportsOrImports(options, host, targetFilePath, packageDirectory, subPackageName, exports2[k4], conditions, mode, false, false);
216493
216493
  });
216494
216494
  }
216495
216495
  return tryGetModuleNameFromExportsOrImports(options, host, targetFilePath, packageDirectory, packageName, exports2, conditions, 0, false, false);
@@ -216514,11 +216514,11 @@ ${lanes.join(`
216514
216514
  return;
216515
216515
  }
216516
216516
  const conditions = getConditions(options, importMode);
216517
- return (_c = forEach(getOwnKeys(imports), (k3) => {
216518
- if (!startsWith(k3, "#") || k3 === "#" || startsWith(k3, "#/"))
216517
+ return (_c = forEach(getOwnKeys(imports), (k4) => {
216518
+ if (!startsWith(k4, "#") || k4 === "#" || startsWith(k4, "#/"))
216519
216519
  return;
216520
- const mode = endsWith(k3, "/") ? 1 : k3.includes("*") ? 2 : 0;
216521
- return tryGetModuleNameFromExportsOrImports(options, host, moduleFileName, ancestorDirectoryWithPackageJson, k3, imports[k3], conditions, mode, true, preferTsExtension);
216520
+ const mode = endsWith(k4, "/") ? 1 : k4.includes("*") ? 2 : 0;
216521
+ return tryGetModuleNameFromExportsOrImports(options, host, moduleFileName, ancestorDirectoryWithPackageJson, k4, imports[k4], conditions, mode, true, preferTsExtension);
216522
216522
  })) == null ? undefined : _c.moduleFileToTry;
216523
216523
  }
216524
216524
  function tryGetModuleNameFromRootDirs(rootDirs, moduleFileName, sourceDirectory, getCanonicalFileName, allowedEndings, compilerOptions) {
@@ -229434,11 +229434,11 @@ ${lanes.join(`
229434
229434
  for (let i3 = 0;i3 < count; i3++) {
229435
229435
  const constituents = types.slice();
229436
229436
  let n3 = i3;
229437
- for (let j4 = types.length - 1;j4 >= 0; j4--) {
229438
- if (types[j4].flags & 1048576) {
229439
- const sourceTypes = types[j4].types;
229437
+ for (let j3 = types.length - 1;j3 >= 0; j3--) {
229438
+ if (types[j3].flags & 1048576) {
229439
+ const sourceTypes = types[j3].types;
229440
229440
  const length2 = sourceTypes.length;
229441
- constituents[j4] = sourceTypes[n3 % length2];
229441
+ constituents[j3] = sourceTypes[n3 % length2];
229442
229442
  n3 = Math.floor(n3 / length2);
229443
229443
  }
229444
229444
  }
@@ -249295,8 +249295,8 @@ ${lanes.join(`
249295
249295
  } else if (seenDefault) {
249296
249296
  error2(node, Diagnostics.Required_type_parameters_may_not_follow_optional_type_parameters);
249297
249297
  }
249298
- for (let j4 = 0;j4 < i3; j4++) {
249299
- if (typeParameterDeclarations[j4].symbol === node.symbol) {
249298
+ for (let j3 = 0;j3 < i3; j3++) {
249299
+ if (typeParameterDeclarations[j3].symbol === node.symbol) {
249300
249300
  error2(node.name, Diagnostics.Duplicate_identifier_0, declarationNameToString(node.name));
249301
249301
  }
249302
249302
  }
@@ -267420,8 +267420,8 @@ ${lanes.join(`
267420
267420
  return block.kind === 3;
267421
267421
  }
267422
267422
  function hasImmediateContainingLabeledBlock(labelText, start) {
267423
- for (let j4 = start;j4 >= 0; j4--) {
267424
- const containingBlock = blockStack[j4];
267423
+ for (let j3 = start;j3 >= 0; j3--) {
267424
+ const containingBlock = blockStack[j3];
267425
267425
  if (supportsLabeledBreakOrContinue(containingBlock)) {
267426
267426
  if (containingBlock.labelText === labelText) {
267427
267427
  return true;
@@ -280466,31 +280466,31 @@ ${lanes.join(`
280466
280466
  function create2(forward, reverse, deleted) {
280467
280467
  const map2 = {
280468
280468
  getKeys: (v3) => reverse.get(v3),
280469
- getValues: (k3) => forward.get(k3),
280469
+ getValues: (k4) => forward.get(k4),
280470
280470
  keys: () => forward.keys(),
280471
280471
  size: () => forward.size,
280472
- deleteKey: (k3) => {
280473
- (deleted || (deleted = /* @__PURE__ */ new Set)).add(k3);
280474
- const set = forward.get(k3);
280472
+ deleteKey: (k4) => {
280473
+ (deleted || (deleted = /* @__PURE__ */ new Set)).add(k4);
280474
+ const set = forward.get(k4);
280475
280475
  if (!set) {
280476
280476
  return false;
280477
280477
  }
280478
- set.forEach((v3) => deleteFromMultimap(reverse, v3, k3));
280479
- forward.delete(k3);
280478
+ set.forEach((v3) => deleteFromMultimap(reverse, v3, k4));
280479
+ forward.delete(k4);
280480
280480
  return true;
280481
280481
  },
280482
- set: (k3, vSet) => {
280483
- deleted == null || deleted.delete(k3);
280484
- const existingVSet = forward.get(k3);
280485
- forward.set(k3, vSet);
280482
+ set: (k4, vSet) => {
280483
+ deleted == null || deleted.delete(k4);
280484
+ const existingVSet = forward.get(k4);
280485
+ forward.set(k4, vSet);
280486
280486
  existingVSet == null || existingVSet.forEach((v3) => {
280487
280487
  if (!vSet.has(v3)) {
280488
- deleteFromMultimap(reverse, v3, k3);
280488
+ deleteFromMultimap(reverse, v3, k4);
280489
280489
  }
280490
280490
  });
280491
280491
  vSet.forEach((v3) => {
280492
280492
  if (!(existingVSet == null ? undefined : existingVSet.has(v3))) {
280493
- addToMultimap(reverse, v3, k3);
280493
+ addToMultimap(reverse, v3, k4);
280494
280494
  }
280495
280495
  });
280496
280496
  return map2;
@@ -280501,19 +280501,19 @@ ${lanes.join(`
280501
280501
  return create2(/* @__PURE__ */ new Map, /* @__PURE__ */ new Map, undefined);
280502
280502
  }
280503
280503
  BuilderState2.createManyToManyPathMap = createManyToManyPathMap;
280504
- function addToMultimap(map2, k3, v3) {
280505
- let set = map2.get(k3);
280504
+ function addToMultimap(map2, k4, v3) {
280505
+ let set = map2.get(k4);
280506
280506
  if (!set) {
280507
280507
  set = /* @__PURE__ */ new Set;
280508
- map2.set(k3, set);
280508
+ map2.set(k4, set);
280509
280509
  }
280510
280510
  set.add(v3);
280511
280511
  }
280512
- function deleteFromMultimap(map2, k3, v3) {
280513
- const set = map2.get(k3);
280512
+ function deleteFromMultimap(map2, k4, v3) {
280513
+ const set = map2.get(k4);
280514
280514
  if (set == null ? undefined : set.delete(v3)) {
280515
280515
  if (!set.size) {
280516
- map2.delete(k3);
280516
+ map2.delete(k4);
280517
280517
  }
280518
280518
  return true;
280519
280519
  }
@@ -287658,10 +287658,10 @@ ${lanes.join(`
287658
287658
  addInferredTypings(packageNames, " Found package names");
287659
287659
  }
287660
287660
  function getTypingNamesFromSourceFileNames(fileNames2) {
287661
- const fromFileNames = mapDefined(fileNames2, (j4) => {
287662
- if (!hasJSFileExtension(j4))
287661
+ const fromFileNames = mapDefined(fileNames2, (j3) => {
287662
+ if (!hasJSFileExtension(j3))
287663
287663
  return;
287664
- const inferredTypingName = removeFileExtension(toFileNameLowerCase(getBaseFileName(j4)));
287664
+ const inferredTypingName = removeFileExtension(toFileNameLowerCase(getBaseFileName(j3)));
287665
287665
  const cleanedTypingName = removeMinAndVersionNumbers(inferredTypingName);
287666
287666
  return safeList.get(cleanedTypingName);
287667
287667
  });
@@ -292277,8 +292277,8 @@ ${lanes.join(`
292277
292277
  const elseKeyword = keywords[i3];
292278
292278
  const ifKeyword = keywords[i3 + 1];
292279
292279
  let shouldCombineElseAndIf = true;
292280
- for (let j4 = ifKeyword.getStart(sourceFile) - 1;j4 >= elseKeyword.end; j4--) {
292281
- if (!isWhiteSpaceSingleLine(sourceFile.text.charCodeAt(j4))) {
292280
+ for (let j3 = ifKeyword.getStart(sourceFile) - 1;j3 >= elseKeyword.end; j3--) {
292281
+ if (!isWhiteSpaceSingleLine(sourceFile.text.charCodeAt(j3))) {
292282
292282
  shouldCombineElseAndIf = false;
292283
292283
  break;
292284
292284
  }
@@ -292721,8 +292721,8 @@ ${lanes.join(`
292721
292721
  return;
292722
292722
  }
292723
292723
  let bestMatch;
292724
- for (let i3 = dotSeparatedSegments.length - 2, j4 = candidateContainers.length - 1;i3 >= 0; i3 -= 1, j4 -= 1) {
292725
- bestMatch = betterMatch(bestMatch, matchSegment(candidateContainers[j4], dotSeparatedSegments[i3], stringToWordSpans));
292724
+ for (let i3 = dotSeparatedSegments.length - 2, j3 = candidateContainers.length - 1;i3 >= 0; i3 -= 1, j3 -= 1) {
292725
+ bestMatch = betterMatch(bestMatch, matchSegment(candidateContainers[j3], dotSeparatedSegments[i3], stringToWordSpans));
292726
292726
  }
292727
292727
  return bestMatch;
292728
292728
  }
@@ -319826,11 +319826,11 @@ ${newComment.split(`
319826
319826
  case 245:
319827
319827
  return getCommentOwnerInfoWorker(commentOwner.expression, options);
319828
319828
  case 227: {
319829
- const be3 = commentOwner;
319830
- if (getAssignmentDeclarationKind(be3) === 0) {
319829
+ const be2 = commentOwner;
319830
+ if (getAssignmentDeclarationKind(be2) === 0) {
319831
319831
  return "quit";
319832
319832
  }
319833
- return isFunctionLike(be3.right) ? { commentOwner, parameters: be3.right.parameters, hasReturn: hasReturn(be3.right, options) } : { commentOwner };
319833
+ return isFunctionLike(be2.right) ? { commentOwner, parameters: be2.right.parameters, hasReturn: hasReturn(be2.right, options) } : { commentOwner };
319834
319834
  }
319835
319835
  case 173:
319836
319836
  const init = commentOwner.initializer;
@@ -320439,8 +320439,8 @@ ${content}
320439
320439
  }
320440
320440
  function measureSortedness(arr, comparer) {
320441
320441
  let i3 = 0;
320442
- for (let j4 = 0;j4 < arr.length - 1; j4++) {
320443
- if (comparer(arr[j4], arr[j4 + 1]) > 0) {
320442
+ for (let j3 = 0;j3 < arr.length - 1; j3++) {
320443
+ if (comparer(arr[j3], arr[j3 + 1]) > 0) {
320444
320444
  i3++;
320445
320445
  }
320446
320446
  }
@@ -322751,7 +322751,7 @@ ${content}
322751
322751
  this.insertJsdocCommentBefore(sourceFile, updateJSDocHost(node), factory.createJSDocComment(this.createJSDocText(sourceFile, node), factory.createNodeArray(tags)));
322752
322752
  }
322753
322753
  addJSDocTags(sourceFile, parent2, newTags) {
322754
- const oldTags = flatMapToMutable(parent2.jsDoc, (j4) => j4.tags);
322754
+ const oldTags = flatMapToMutable(parent2.jsDoc, (j3) => j3.tags);
322755
322755
  const unmergedNewTags = newTags.filter((newTag) => !oldTags.some((tag, i3) => {
322756
322756
  const merged = tryMergeJsdocTags(tag, newTag);
322757
322757
  if (merged)
@@ -322761,7 +322761,7 @@ ${content}
322761
322761
  this.replaceJSDocComment(sourceFile, parent2, [...oldTags, ...unmergedNewTags]);
322762
322762
  }
322763
322763
  filterJSDocTags(sourceFile, parent2, predicate) {
322764
- this.replaceJSDocComment(sourceFile, parent2, filter(flatMapToMutable(parent2.jsDoc, (j4) => j4.tags), predicate));
322764
+ this.replaceJSDocComment(sourceFile, parent2, filter(flatMapToMutable(parent2.jsDoc, (j3) => j3.tags), predicate));
322765
322765
  }
322766
322766
  replaceRangeWithText(sourceFile, range, text) {
322767
322767
  this.changes.push({ kind: 3, sourceFile, range, text });
@@ -331041,10 +331041,10 @@ ${options.prefix}` : `
331041
331041
  };
331042
331042
  const pluginModule = pluginModuleFactory({ typescript: ts_exports2 });
331043
331043
  const newLS = pluginModule.create(info);
331044
- for (const k3 of Object.keys(this.languageService)) {
331045
- if (!(k3 in newLS)) {
331046
- this.projectService.logger.info(`Plugin activation warning: Missing proxied method ${k3} in created LS. Patching.`);
331047
- newLS[k3] = this.languageService[k3];
331044
+ for (const k4 of Object.keys(this.languageService)) {
331045
+ if (!(k4 in newLS)) {
331046
+ this.projectService.logger.info(`Plugin activation warning: Missing proxied method ${k4} in created LS. Patching.`);
331047
+ newLS[k4] = this.languageService[k4];
331048
331048
  }
331049
331049
  }
331050
331050
  this.projectService.logger.info(`Plugin validation succeeded`);
@@ -332251,8 +332251,8 @@ ${options.prefix}` : `
332251
332251
  return;
332252
332252
  }
332253
332253
  const raw = JSON.parse(fileContent);
332254
- for (const k3 of Object.keys(raw.typesMap)) {
332255
- raw.typesMap[k3].match = new RegExp(raw.typesMap[k3].match, "i");
332254
+ for (const k4 of Object.keys(raw.typesMap)) {
332255
+ raw.typesMap[k4].match = new RegExp(raw.typesMap[k4].match, "i");
332256
332256
  }
332257
332257
  this.safelist = raw.typesMap;
332258
332258
  for (const key in raw.simpleMap) {
@@ -337874,12 +337874,12 @@ Additional information: BADCLIENT: Bad error code, ${badCode} not found in range
337874
337874
  }
337875
337875
  let branchParent;
337876
337876
  let lastZeroCount;
337877
- for (let k3 = this.endBranch.length - 1;k3 >= 0; k3--) {
337878
- this.endBranch[k3].updateCounts();
337879
- if (this.endBranch[k3].charCount() === 0) {
337880
- lastZeroCount = this.endBranch[k3];
337881
- if (k3 > 0) {
337882
- branchParent = this.endBranch[k3 - 1];
337877
+ for (let k4 = this.endBranch.length - 1;k4 >= 0; k4--) {
337878
+ this.endBranch[k4].updateCounts();
337879
+ if (this.endBranch[k4].charCount() === 0) {
337880
+ lastZeroCount = this.endBranch[k4];
337881
+ if (k4 > 0) {
337882
+ branchParent = this.endBranch[k4 - 1];
337883
337883
  } else {
337884
337884
  branchParent = this.branchNode;
337885
337885
  }
@@ -337914,15 +337914,15 @@ Additional information: BADCLIENT: Bad error code, ${badCode} not found in range
337914
337914
  }
337915
337915
  this.lineIndex.root.updateCounts();
337916
337916
  } else {
337917
- for (let j4 = this.startPath.length - 2;j4 >= 0; j4--) {
337918
- this.startPath[j4].updateCounts();
337917
+ for (let j3 = this.startPath.length - 2;j3 >= 0; j3--) {
337918
+ this.startPath[j3].updateCounts();
337919
337919
  }
337920
337920
  }
337921
337921
  } else {
337922
337922
  const insertionNode = this.startPath[this.startPath.length - 2];
337923
337923
  insertionNode.remove(leafNode);
337924
- for (let j4 = this.startPath.length - 2;j4 >= 0; j4--) {
337925
- this.startPath[j4].updateCounts();
337924
+ for (let j3 = this.startPath.length - 2;j3 >= 0; j3--) {
337925
+ this.startPath[j3].updateCounts();
337926
337926
  }
337927
337927
  }
337928
337928
  return this.lineIndex;
@@ -340730,8 +340730,8 @@ var require_isAssignableTo = __commonJS((exports) => {
340730
340730
  if (numTarget <= numSource + 1) {
340731
340731
  if (targetMember instanceof RestType_js_1.RestType) {
340732
340732
  const remaining = [];
340733
- for (let j4 = i3;j4 < numSource; j4++) {
340734
- remaining.push(sourceMembers[j4]);
340733
+ for (let j3 = i3;j3 < numSource; j3++) {
340734
+ remaining.push(sourceMembers[j3]);
340735
340735
  }
340736
340736
  return isAssignableTo(targetMember.getType(), new TupleType_js_1.TupleType(remaining), inferMap, insideTypes);
340737
340737
  } else if (numTarget < numSource) {
@@ -346555,14 +346555,14 @@ var require_parser = __commonJS((exports) => {
346555
346555
  // ../node_modules/glob/dist/commonjs/index.min.js
346556
346556
  var require_index_min = __commonJS((exports) => {
346557
346557
  var R2 = (n3, t3) => () => (t3 || n3((t3 = { exports: {} }).exports, t3), t3.exports);
346558
- var Ge2 = R2((Y2) => {
346559
- Object.defineProperty(Y2, "__esModule", { value: true });
346560
- Y2.range = Y2.balanced = undefined;
346558
+ var Ge2 = R2((Y3) => {
346559
+ Object.defineProperty(Y3, "__esModule", { value: true });
346560
+ Y3.range = Y3.balanced = undefined;
346561
346561
  var Gs = (n3, t3, e6) => {
346562
- let s3 = n3 instanceof RegExp ? Ie2(n3, e6) : n3, i3 = t3 instanceof RegExp ? Ie2(t3, e6) : t3, r3 = s3 !== null && i3 != null && (0, Y2.range)(s3, i3, e6);
346562
+ let s3 = n3 instanceof RegExp ? Ie2(n3, e6) : n3, i3 = t3 instanceof RegExp ? Ie2(t3, e6) : t3, r3 = s3 !== null && i3 != null && (0, Y3.range)(s3, i3, e6);
346563
346563
  return r3 && { start: r3[0], end: r3[1], pre: e6.slice(0, r3[0]), body: e6.slice(r3[0] + s3.length, r3[1]), post: e6.slice(r3[1] + i3.length) };
346564
346564
  };
346565
- Y2.balanced = Gs;
346565
+ Y3.balanced = Gs;
346566
346566
  var Ie2 = (n3, t3) => {
346567
346567
  let e6 = t3.match(n3);
346568
346568
  return e6 ? e6[0] : null;
@@ -346585,7 +346585,7 @@ var require_index_min = __commonJS((exports) => {
346585
346585
  }
346586
346586
  return o3;
346587
346587
  };
346588
- Y2.range = zs;
346588
+ Y3.range = zs;
346589
346589
  });
346590
346590
  var Ke2 = R2((it) => {
346591
346591
  Object.defineProperty(it, "__esModule", { value: true });
@@ -347006,7 +347006,7 @@ var require_index_min = __commonJS((exports) => {
347006
347006
  };
347007
347007
  Dt.AST = fe;
347008
347008
  });
347009
- var me2 = R2((Ft) => {
347009
+ var me3 = R2((Ft) => {
347010
347010
  Object.defineProperty(Ft, "__esModule", { value: true });
347011
347011
  Ft.escape = undefined;
347012
347012
  var yi = (n3, { windowsPathsNoEscape: t3 = false, magicalBraces: e6 = false } = {}) => e6 ? t3 ? n3.replace(/[?*()[\]{}]/g, "[$&]") : n3.replace(/[?*()[\]\\{}]/g, "\\$&") : t3 ? n3.replace(/[?*()[\]]/g, "[$&]") : n3.replace(/[?*()[\]\\]/g, "\\$&");
@@ -347015,7 +347015,7 @@ var require_index_min = __commonJS((exports) => {
347015
347015
  var H2 = R2((g4) => {
347016
347016
  Object.defineProperty(g4, "__esModule", { value: true });
347017
347017
  g4.unescape = g4.escape = g4.AST = g4.Minimatch = g4.match = g4.makeRe = g4.braceExpand = g4.defaults = g4.filter = g4.GLOBSTAR = g4.sep = g4.minimatch = undefined;
347018
- var Si = Ke2(), jt = Xe(), is = pe2(), vi = me2(), Ei = kt(), _i = (n3, t3, e6 = {}) => ((0, jt.assertValidPattern)(t3), !e6.nocomment && t3.charAt(0) === "#" ? false : new J2(t3, e6).match(n3));
347018
+ var Si = Ke2(), jt = Xe(), is = pe2(), vi = me3(), Ei = kt(), _i = (n3, t3, e6 = {}) => ((0, jt.assertValidPattern)(t3), !e6.nocomment && t3.charAt(0) === "#" ? false : new J3(t3, e6).match(n3));
347019
347019
  g4.minimatch = _i;
347020
347020
  var Oi = /^\*+([^+@!?\*\[\(]*)$/, xi = (n3) => (t3) => !t3.startsWith(".") && t3.endsWith(n3), Ti = (n3) => (t3) => t3.endsWith(n3), Ci = (n3) => (n3 = n3.toLowerCase(), (t3) => !t3.startsWith(".") && t3.toLowerCase().endsWith(n3)), Ri = (n3) => (n3 = n3.toLowerCase(), (t3) => t3.toLowerCase().endsWith(n3)), Ai = /^\*+\.\*+$/, ki = (n3) => !n3.startsWith(".") && n3.includes("."), Mi = (n3) => n3 !== "." && n3 !== ".." && n3.includes("."), Pi = /^\.\*+$/, Di = (n3) => n3 !== "." && n3 !== ".." && n3.startsWith("."), Fi = /^\*+$/, ji = (n3) => n3.length !== 0 && !n3.startsWith("."), Ni = (n3) => n3.length !== 0 && n3 !== "." && n3 !== "..", Li = /^\?+([^+@!?\*\[\(]*)?$/, Wi = ([n3, t3 = ""]) => {
347021
347021
  let e6 = rs([n3]);
@@ -347068,16 +347068,16 @@ var require_index_min = __commonJS((exports) => {
347068
347068
  var Ki = (n3, t3 = {}) => ((0, jt.assertValidPattern)(n3), t3.nobrace || !/\{(?:(?!\{).)*\}/.test(n3) ? [n3] : (0, Si.expand)(n3, { max: t3.braceExpandMax }));
347069
347069
  g4.braceExpand = Ki;
347070
347070
  g4.minimatch.braceExpand = g4.braceExpand;
347071
- var Xi = (n3, t3 = {}) => new J2(n3, t3).makeRe();
347071
+ var Xi = (n3, t3 = {}) => new J3(n3, t3).makeRe();
347072
347072
  g4.makeRe = Xi;
347073
347073
  g4.minimatch.makeRe = g4.makeRe;
347074
347074
  var Yi = (n3, t3, e6 = {}) => {
347075
- let s3 = new J2(t3, e6);
347075
+ let s3 = new J3(t3, e6);
347076
347076
  return n3 = n3.filter((i3) => s3.match(i3)), s3.options.nonull && !n3.length && n3.push(t3), n3;
347077
347077
  };
347078
347078
  g4.match = Yi;
347079
347079
  g4.minimatch.match = g4.match;
347080
- var ss = /[?*]|[+@!]\(.*?\)|\[|\]/, Ji = (n3) => n3.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"), J2 = class {
347080
+ var ss = /[?*]|[+@!]\(.*?\)|\[|\]/, Ji = (n3) => n3.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"), J3 = class {
347081
347081
  options;
347082
347082
  set;
347083
347083
  pattern;
@@ -347394,12 +347394,12 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
347394
347394
  return g4.minimatch.defaults(t3).Minimatch;
347395
347395
  }
347396
347396
  };
347397
- g4.Minimatch = J2;
347397
+ g4.Minimatch = J3;
347398
347398
  var Zi = pe2();
347399
347399
  Object.defineProperty(g4, "AST", { enumerable: true, get: function() {
347400
347400
  return Zi.AST;
347401
347401
  } });
347402
- var Qi = me2();
347402
+ var Qi = me3();
347403
347403
  Object.defineProperty(g4, "escape", { enumerable: true, get: function() {
347404
347404
  return Qi.escape;
347405
347405
  } });
@@ -347408,7 +347408,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
347408
347408
  return tr.unescape;
347409
347409
  } });
347410
347410
  g4.minimatch.AST = is.AST;
347411
- g4.minimatch.Minimatch = J2;
347411
+ g4.minimatch.Minimatch = J3;
347412
347412
  g4.minimatch.escape = vi.escape;
347413
347413
  g4.minimatch.unescape = Ei.unescape;
347414
347414
  });
@@ -348013,7 +348013,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348013
348013
  };
348014
348014
  Wt.LRUCache = rr;
348015
348015
  });
348016
- var Oe2 = R2((P2) => {
348016
+ var Oe3 = R2((P2) => {
348017
348017
  var nr = P2 && P2.__importDefault || function(n3) {
348018
348018
  return n3 && n3.__esModule ? n3 : { default: n3 };
348019
348019
  };
@@ -348025,7 +348025,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348025
348025
  P2.isReadable = ar;
348026
348026
  var lr = (n3) => !!n3 && typeof n3 == "object" && n3 instanceof _e2.EventEmitter && typeof n3.write == "function" && typeof n3.end == "function";
348027
348027
  P2.isWritable = lr;
348028
- var $3 = Symbol("EOF"), q2 = Symbol("maybeEmitEnd"), K2 = Symbol("emittedEnd"), Bt = Symbol("emittingEnd"), lt = Symbol("emittedError"), It = Symbol("closed"), ps = Symbol("read"), Gt = Symbol("flush"), ms = Symbol("flushChunk"), L2 = Symbol("encoding"), rt = Symbol("decoder"), x3 = Symbol("flowing"), ct = Symbol("paused"), nt = Symbol("resume"), T3 = Symbol("buffer"), M2 = Symbol("pipes"), C3 = Symbol("bufferLength"), we3 = Symbol("bufferPush"), zt = Symbol("bufferShift"), k3 = Symbol("objectMode"), O3 = Symbol("destroyed"), be3 = Symbol("error"), ye3 = Symbol("emitData"), gs = Symbol("emitEnd"), Se3 = Symbol("emitEnd2"), I2 = Symbol("async"), ve2 = Symbol("abort"), Ut = Symbol("aborted"), ut = Symbol("signal"), Z3 = Symbol("dataListeners"), D3 = Symbol("discarded"), ft = (n3) => Promise.resolve().then(n3), cr = (n3) => n3(), ur = (n3) => n3 === "end" || n3 === "finish" || n3 === "prefinish", fr = (n3) => n3 instanceof ArrayBuffer || !!n3 && typeof n3 == "object" && n3.constructor && n3.constructor.name === "ArrayBuffer" && n3.byteLength >= 0, dr = (n3) => !Buffer.isBuffer(n3) && ArrayBuffer.isView(n3), $t = class {
348028
+ var $3 = Symbol("EOF"), q2 = Symbol("maybeEmitEnd"), K2 = Symbol("emittedEnd"), Bt = Symbol("emittingEnd"), lt = Symbol("emittedError"), It = Symbol("closed"), ps = Symbol("read"), Gt = Symbol("flush"), ms = Symbol("flushChunk"), L2 = Symbol("encoding"), rt = Symbol("decoder"), x3 = Symbol("flowing"), ct = Symbol("paused"), nt = Symbol("resume"), T3 = Symbol("buffer"), M2 = Symbol("pipes"), C3 = Symbol("bufferLength"), we2 = Symbol("bufferPush"), zt = Symbol("bufferShift"), k4 = Symbol("objectMode"), O3 = Symbol("destroyed"), be2 = Symbol("error"), ye2 = Symbol("emitData"), gs = Symbol("emitEnd"), Se2 = Symbol("emitEnd2"), I2 = Symbol("async"), ve2 = Symbol("abort"), Ut = Symbol("aborted"), ut = Symbol("signal"), Z3 = Symbol("dataListeners"), D3 = Symbol("discarded"), ft = (n3) => Promise.resolve().then(n3), cr = (n3) => n3(), ur = (n3) => n3 === "end" || n3 === "finish" || n3 === "prefinish", fr = (n3) => n3 instanceof ArrayBuffer || !!n3 && typeof n3 == "object" && n3.constructor && n3.constructor.name === "ArrayBuffer" && n3.byteLength >= 0, dr = (n3) => !Buffer.isBuffer(n3) && ArrayBuffer.isView(n3), $t = class {
348029
348029
  src;
348030
348030
  dest;
348031
348031
  opts;
@@ -348040,7 +348040,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348040
348040
  end() {
348041
348041
  this.unpipe(), this.opts.end && this.dest.end();
348042
348042
  }
348043
- }, Ee2 = class extends $t {
348043
+ }, Ee3 = class extends $t {
348044
348044
  unpipe() {
348045
348045
  this.src.removeListener("error", this.proxyErrors), super.unpipe();
348046
348046
  }
@@ -348052,7 +348052,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348052
348052
  [ct] = false;
348053
348053
  [M2] = [];
348054
348054
  [T3] = [];
348055
- [k3];
348055
+ [k4];
348056
348056
  [L2];
348057
348057
  [I2];
348058
348058
  [rt];
@@ -348073,7 +348073,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348073
348073
  let e6 = t3[0] || {};
348074
348074
  if (super(), e6.objectMode && typeof e6.encoding == "string")
348075
348075
  throw new TypeError("Encoding and objectMode may not be used together");
348076
- pr(e6) ? (this[k3] = true, this[L2] = null) : mr(e6) ? (this[L2] = e6.encoding, this[k3] = false) : (this[k3] = false, this[L2] = null), this[I2] = !!e6.async, this[rt] = this[L2] ? new hr.StringDecoder(this[L2]) : null, e6 && e6.debugExposeBuffer === true && Object.defineProperty(this, "buffer", { get: () => this[T3] }), e6 && e6.debugExposePipes === true && Object.defineProperty(this, "pipes", { get: () => this[M2] });
348076
+ pr(e6) ? (this[k4] = true, this[L2] = null) : mr(e6) ? (this[L2] = e6.encoding, this[k4] = false) : (this[k4] = false, this[L2] = null), this[I2] = !!e6.async, this[rt] = this[L2] ? new hr.StringDecoder(this[L2]) : null, e6 && e6.debugExposeBuffer === true && Object.defineProperty(this, "buffer", { get: () => this[T3] }), e6 && e6.debugExposePipes === true && Object.defineProperty(this, "pipes", { get: () => this[M2] });
348077
348077
  let { signal: s3 } = e6;
348078
348078
  s3 && (this[ut] = s3, s3.aborted ? this[ve2]() : s3.addEventListener("abort", () => this[ve2]()));
348079
348079
  }
@@ -348090,7 +348090,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348090
348090
  throw new Error("Encoding must be set at instantiation time");
348091
348091
  }
348092
348092
  get objectMode() {
348093
- return this[k3];
348093
+ return this[k4];
348094
348094
  }
348095
348095
  set objectMode(t3) {
348096
348096
  throw new Error("objectMode must be set at instantiation time");
@@ -348117,7 +348117,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348117
348117
  return this.emit("error", Object.assign(new Error("Cannot call write after a stream was destroyed"), { code: "ERR_STREAM_DESTROYED" })), true;
348118
348118
  typeof e6 == "function" && (s3 = e6, e6 = "utf8"), e6 || (e6 = "utf8");
348119
348119
  let i3 = this[I2] ? ft : cr;
348120
- if (!this[k3] && !Buffer.isBuffer(t3)) {
348120
+ if (!this[k4] && !Buffer.isBuffer(t3)) {
348121
348121
  if (dr(t3))
348122
348122
  t3 = Buffer.from(t3.buffer, t3.byteOffset, t3.byteLength);
348123
348123
  else if (fr(t3))
@@ -348125,19 +348125,19 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348125
348125
  else if (typeof t3 != "string")
348126
348126
  throw new Error("Non-contiguous data written to non-objectMode stream");
348127
348127
  }
348128
- return this[k3] ? (this[x3] && this[C3] !== 0 && this[Gt](true), this[x3] ? this.emit("data", t3) : this[we3](t3), this[C3] !== 0 && this.emit("readable"), s3 && i3(s3), this[x3]) : t3.length ? (typeof t3 == "string" && !(e6 === this[L2] && !this[rt]?.lastNeed) && (t3 = Buffer.from(t3, e6)), Buffer.isBuffer(t3) && this[L2] && (t3 = this[rt].write(t3)), this[x3] && this[C3] !== 0 && this[Gt](true), this[x3] ? this.emit("data", t3) : this[we3](t3), this[C3] !== 0 && this.emit("readable"), s3 && i3(s3), this[x3]) : (this[C3] !== 0 && this.emit("readable"), s3 && i3(s3), this[x3]);
348128
+ return this[k4] ? (this[x3] && this[C3] !== 0 && this[Gt](true), this[x3] ? this.emit("data", t3) : this[we2](t3), this[C3] !== 0 && this.emit("readable"), s3 && i3(s3), this[x3]) : t3.length ? (typeof t3 == "string" && !(e6 === this[L2] && !this[rt]?.lastNeed) && (t3 = Buffer.from(t3, e6)), Buffer.isBuffer(t3) && this[L2] && (t3 = this[rt].write(t3)), this[x3] && this[C3] !== 0 && this[Gt](true), this[x3] ? this.emit("data", t3) : this[we2](t3), this[C3] !== 0 && this.emit("readable"), s3 && i3(s3), this[x3]) : (this[C3] !== 0 && this.emit("readable"), s3 && i3(s3), this[x3]);
348129
348129
  }
348130
348130
  read(t3) {
348131
348131
  if (this[O3])
348132
348132
  return null;
348133
348133
  if (this[D3] = false, this[C3] === 0 || t3 === 0 || t3 && t3 > this[C3])
348134
348134
  return this[q2](), null;
348135
- this[k3] && (t3 = null), this[T3].length > 1 && !this[k3] && (this[T3] = [this[L2] ? this[T3].join("") : Buffer.concat(this[T3], this[C3])]);
348135
+ this[k4] && (t3 = null), this[T3].length > 1 && !this[k4] && (this[T3] = [this[L2] ? this[T3].join("") : Buffer.concat(this[T3], this[C3])]);
348136
348136
  let e6 = this[ps](t3 || null, this[T3][0]);
348137
348137
  return this[q2](), e6;
348138
348138
  }
348139
348139
  [ps](t3, e6) {
348140
- if (this[k3])
348140
+ if (this[k4])
348141
348141
  this[zt]();
348142
348142
  else {
348143
348143
  let s3 = e6;
@@ -348166,11 +348166,11 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348166
348166
  get paused() {
348167
348167
  return this[ct];
348168
348168
  }
348169
- [we3](t3) {
348170
- this[k3] ? this[C3] += 1 : this[C3] += t3.length, this[T3].push(t3);
348169
+ [we2](t3) {
348170
+ this[k4] ? this[C3] += 1 : this[C3] += t3.length, this[T3].push(t3);
348171
348171
  }
348172
348172
  [zt]() {
348173
- return this[k3] ? this[C3] -= 1 : this[C3] -= this[T3][0].length, this[T3].shift();
348173
+ return this[k4] ? this[C3] -= 1 : this[C3] -= this[T3][0].length, this[T3].shift();
348174
348174
  }
348175
348175
  [Gt](t3 = false) {
348176
348176
  do
@@ -348186,7 +348186,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348186
348186
  return t3;
348187
348187
  this[D3] = false;
348188
348188
  let s3 = this[K2];
348189
- return e6 = e6 || {}, t3 === ds.stdout || t3 === ds.stderr ? e6.end = false : e6.end = e6.end !== false, e6.proxyErrors = !!e6.proxyErrors, s3 ? e6.end && t3.end() : (this[M2].push(e6.proxyErrors ? new Ee2(this, t3, e6) : new $t(this, t3, e6)), this[I2] ? ft(() => this[nt]()) : this[nt]()), t3;
348189
+ return e6 = e6 || {}, t3 === ds.stdout || t3 === ds.stderr ? e6.end = false : e6.end = e6.end !== false, e6.proxyErrors = !!e6.proxyErrors, s3 ? e6.end && t3.end() : (this[M2].push(e6.proxyErrors ? new Ee3(this, t3, e6) : new $t(this, t3, e6)), this[I2] ? ft(() => this[nt]()) : this[nt]()), t3;
348190
348190
  }
348191
348191
  unpipe(t3) {
348192
348192
  let e6 = this[M2].find((s3) => s3.dest === t3);
@@ -348231,7 +348231,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348231
348231
  if (t3 !== "error" && t3 !== "close" && t3 !== O3 && this[O3])
348232
348232
  return false;
348233
348233
  if (t3 === "data")
348234
- return !this[k3] && !s3 ? false : this[I2] ? (ft(() => this[ye3](s3)), true) : this[ye3](s3);
348234
+ return !this[k4] && !s3 ? false : this[I2] ? (ft(() => this[ye2](s3)), true) : this[ye2](s3);
348235
348235
  if (t3 === "end")
348236
348236
  return this[gs]();
348237
348237
  if (t3 === "close") {
@@ -348240,7 +348240,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348240
348240
  let r3 = super.emit("close");
348241
348241
  return this.removeAllListeners("close"), r3;
348242
348242
  } else if (t3 === "error") {
348243
- this[lt] = s3, super.emit(be3, s3);
348243
+ this[lt] = s3, super.emit(be2, s3);
348244
348244
  let r3 = !this[ut] || this.listeners("error").length ? super.emit("error", s3) : false;
348245
348245
  return this[q2](), r3;
348246
348246
  } else if (t3 === "resume") {
@@ -348253,16 +348253,16 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348253
348253
  let i3 = super.emit(t3, ...e6);
348254
348254
  return this[q2](), i3;
348255
348255
  }
348256
- [ye3](t3) {
348256
+ [ye2](t3) {
348257
348257
  for (let s3 of this[M2])
348258
348258
  s3.dest.write(t3) === false && this.pause();
348259
348259
  let e6 = this[D3] ? false : super.emit("data", t3);
348260
348260
  return this[q2](), e6;
348261
348261
  }
348262
348262
  [gs]() {
348263
- return this[K2] ? false : (this[K2] = true, this.readable = false, this[I2] ? (ft(() => this[Se3]()), true) : this[Se3]());
348263
+ return this[K2] ? false : (this[K2] = true, this.readable = false, this[I2] ? (ft(() => this[Se2]()), true) : this[Se2]());
348264
348264
  }
348265
- [Se3]() {
348265
+ [Se2]() {
348266
348266
  if (this[rt]) {
348267
348267
  let e6 = this[rt].end();
348268
348268
  if (e6) {
@@ -348278,14 +348278,14 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348278
348278
  }
348279
348279
  async collect() {
348280
348280
  let t3 = Object.assign([], { dataLength: 0 });
348281
- this[k3] || (t3.dataLength = 0);
348281
+ this[k4] || (t3.dataLength = 0);
348282
348282
  let e6 = this.promise();
348283
348283
  return this.on("data", (s3) => {
348284
- t3.push(s3), this[k3] || (t3.dataLength += s3.length);
348284
+ t3.push(s3), this[k4] || (t3.dataLength += s3.length);
348285
348285
  }), await e6, t3;
348286
348286
  }
348287
348287
  async concat() {
348288
- if (this[k3])
348288
+ if (this[k4])
348289
348289
  throw new Error("cannot concat in objectMode");
348290
348290
  let t3 = await this.collect();
348291
348291
  return this[L2] ? t3.join("") : Buffer.concat(t3, t3.dataLength);
@@ -348322,13 +348322,13 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348322
348322
  }
348323
348323
  [Symbol.iterator]() {
348324
348324
  this[D3] = false;
348325
- let t3 = false, e6 = () => (this.pause(), this.off(be3, e6), this.off(O3, e6), this.off("end", e6), t3 = true, { done: true, value: undefined }), s3 = () => {
348325
+ let t3 = false, e6 = () => (this.pause(), this.off(be2, e6), this.off(O3, e6), this.off("end", e6), t3 = true, { done: true, value: undefined }), s3 = () => {
348326
348326
  if (t3)
348327
348327
  return e6();
348328
348328
  let i3 = this.read();
348329
348329
  return i3 === null ? e6() : { done: false, value: i3 };
348330
348330
  };
348331
- return this.once("end", e6), this.once(be3, e6), this.once(O3, e6), { next: s3, throw: e6, return: e6, [Symbol.iterator]() {
348331
+ return this.once("end", e6), this.once(be2, e6), this.once(O3, e6), { next: s3, throw: e6, return: e6, [Symbol.iterator]() {
348332
348332
  return this;
348333
348333
  }, [Symbol.dispose]: () => {} };
348334
348334
  }
@@ -348369,7 +348369,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348369
348369
  };
348370
348370
  Object.defineProperty(_3, "__esModule", { value: true });
348371
348371
  _3.PathScurry = _3.Path = _3.PathScurryDarwin = _3.PathScurryPosix = _3.PathScurryWin32 = _3.PathScurryBase = _3.PathPosix = _3.PathWin32 = _3.PathBase = _3.ChildrenCache = _3.ResolveCache = undefined;
348372
- var Qt = fs(), Yt = __require("path"), yr = __require("url"), pt = __require("fs"), Sr = br(__require("fs")), vr = pt.realpathSync.native, Ht = __require("fs/promises"), bs = Oe2(), mt = { lstatSync: pt.lstatSync, readdir: pt.readdir, readdirSync: pt.readdirSync, readlinkSync: pt.readlinkSync, realpathSync: vr, promises: { lstat: Ht.lstat, readdir: Ht.readdir, readlink: Ht.readlink, realpath: Ht.realpath } }, _s = (n3) => !n3 || n3 === mt || n3 === Sr ? mt : { ...mt, ...n3, promises: { ...mt.promises, ...n3.promises || {} } }, Os = /^\\\\\?\\([a-z]:)\\?$/i, Er = (n3) => n3.replace(/\//g, "\\").replace(Os, "$1\\"), _r = /[\\\/]/, N2 = 0, xs = 1, Ts = 2, G2 = 4, Cs = 6, Rs = 8, Q3 = 10, As = 12, j4 = 15, dt = ~j4, xe3 = 16, ys = 32, gt = 64, W2 = 128, Vt = 256, Xt = 512, Ss = gt | W2 | Xt, Or = 1023, Te2 = (n3) => n3.isFile() ? Rs : n3.isDirectory() ? G2 : n3.isSymbolicLink() ? Q3 : n3.isCharacterDevice() ? Ts : n3.isBlockDevice() ? Cs : n3.isSocket() ? As : n3.isFIFO() ? xs : N2, vs = new Qt.LRUCache({ max: 2 ** 12 }), wt = (n3) => {
348372
+ var Qt = fs(), Yt = __require("path"), yr = __require("url"), pt = __require("fs"), Sr = br(__require("fs")), vr = pt.realpathSync.native, Ht = __require("fs/promises"), bs = Oe3(), mt = { lstatSync: pt.lstatSync, readdir: pt.readdir, readdirSync: pt.readdirSync, readlinkSync: pt.readlinkSync, realpathSync: vr, promises: { lstat: Ht.lstat, readdir: Ht.readdir, readlink: Ht.readlink, realpath: Ht.realpath } }, _s = (n3) => !n3 || n3 === mt || n3 === Sr ? mt : { ...mt, ...n3, promises: { ...mt.promises, ...n3.promises || {} } }, Os = /^\\\\\?\\([a-z]:)\\?$/i, Er = (n3) => n3.replace(/\//g, "\\").replace(Os, "$1\\"), _r = /[\\\/]/, N2 = 0, xs = 1, Ts = 2, G2 = 4, Cs = 6, Rs = 8, Q3 = 10, As = 12, j3 = 15, dt = ~j3, xe2 = 16, ys = 32, gt = 64, W2 = 128, Vt = 256, Xt = 512, Ss = gt | W2 | Xt, Or = 1023, Te3 = (n3) => n3.isFile() ? Rs : n3.isDirectory() ? G2 : n3.isSymbolicLink() ? Q3 : n3.isCharacterDevice() ? Ts : n3.isBlockDevice() ? Cs : n3.isSocket() ? As : n3.isFIFO() ? xs : N2, vs = new Qt.LRUCache({ max: 2 ** 12 }), wt = (n3) => {
348373
348373
  let t3 = vs.get(n3);
348374
348374
  if (t3)
348375
348375
  return t3;
@@ -348515,7 +348515,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348515
348515
  if (t3)
348516
348516
  return t3;
348517
348517
  let e6 = Object.assign([], { provisional: 0 });
348518
- return this.#F.set(this, e6), this.#e &= ~xe3, e6;
348518
+ return this.#F.set(this, e6), this.#e &= ~xe2, e6;
348519
348519
  }
348520
348520
  child(t3, e6) {
348521
348521
  if (t3 === "" || t3 === ".")
@@ -348575,7 +348575,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348575
348575
  return this.#b = s3;
348576
348576
  }
348577
348577
  isUnknown() {
348578
- return (this.#e & j4) === N2;
348578
+ return (this.#e & j3) === N2;
348579
348579
  }
348580
348580
  isType(t3) {
348581
348581
  return this[`is${t3}`]();
@@ -348584,22 +348584,22 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348584
348584
  return this.isUnknown() ? "Unknown" : this.isDirectory() ? "Directory" : this.isFile() ? "File" : this.isSymbolicLink() ? "SymbolicLink" : this.isFIFO() ? "FIFO" : this.isCharacterDevice() ? "CharacterDevice" : this.isBlockDevice() ? "BlockDevice" : this.isSocket() ? "Socket" : "Unknown";
348585
348585
  }
348586
348586
  isFile() {
348587
- return (this.#e & j4) === Rs;
348587
+ return (this.#e & j3) === Rs;
348588
348588
  }
348589
348589
  isDirectory() {
348590
- return (this.#e & j4) === G2;
348590
+ return (this.#e & j3) === G2;
348591
348591
  }
348592
348592
  isCharacterDevice() {
348593
- return (this.#e & j4) === Ts;
348593
+ return (this.#e & j3) === Ts;
348594
348594
  }
348595
348595
  isBlockDevice() {
348596
- return (this.#e & j4) === Cs;
348596
+ return (this.#e & j3) === Cs;
348597
348597
  }
348598
348598
  isFIFO() {
348599
- return (this.#e & j4) === xs;
348599
+ return (this.#e & j3) === xs;
348600
348600
  }
348601
348601
  isSocket() {
348602
- return (this.#e & j4) === As;
348602
+ return (this.#e & j3) === As;
348603
348603
  }
348604
348604
  isSymbolicLink() {
348605
348605
  return (this.#e & Q3) === Q3;
@@ -348622,11 +348622,11 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348622
348622
  return true;
348623
348623
  if (!this.parent)
348624
348624
  return false;
348625
- let t3 = this.#e & j4;
348625
+ let t3 = this.#e & j3;
348626
348626
  return !(t3 !== N2 && t3 !== Q3 || this.#e & Vt || this.#e & W2);
348627
348627
  }
348628
348628
  calledReaddir() {
348629
- return !!(this.#e & xe3);
348629
+ return !!(this.#e & xe2);
348630
348630
  }
348631
348631
  isENOENT() {
348632
348632
  return !!(this.#e & W2);
@@ -348663,7 +348663,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348663
348663
  }
348664
348664
  }
348665
348665
  #W(t3) {
348666
- this.#e |= xe3;
348666
+ this.#e |= xe2;
348667
348667
  for (let e6 = t3.provisional;e6 < t3.length; e6++) {
348668
348668
  let s3 = t3[e6];
348669
348669
  s3 && s3.#_();
@@ -348685,7 +348685,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348685
348685
  if (this.#e & gt)
348686
348686
  return;
348687
348687
  let t3 = this.#e;
348688
- (t3 & j4) === G2 && (t3 &= dt), this.#e = t3 | gt, this.#$();
348688
+ (t3 & j3) === G2 && (t3 &= dt), this.#e = t3 | gt, this.#$();
348689
348689
  }
348690
348690
  #B(t3 = "") {
348691
348691
  t3 === "ENOTDIR" || t3 === "EPERM" ? this.#j() : t3 === "ENOENT" ? this.#_() : this.children().provisional = 0;
@@ -348701,7 +348701,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348701
348701
  return this.#z(t3, e6) || this.#G(t3, e6);
348702
348702
  }
348703
348703
  #G(t3, e6) {
348704
- let s3 = Te2(t3), i3 = this.newChild(t3.name, s3, { parent: this }), r3 = i3.#e & j4;
348704
+ let s3 = Te3(t3), i3 = this.newChild(t3.name, s3, { parent: this }), r3 = i3.#e & j3;
348705
348705
  return r3 !== G2 && r3 !== Q3 && r3 !== N2 && (i3.#e |= gt), e6.unshift(i3), e6.provisional++, i3;
348706
348706
  }
348707
348707
  #z(t3, e6) {
@@ -348713,7 +348713,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348713
348713
  }
348714
348714
  #l(t3, e6, s3, i3) {
348715
348715
  let r3 = e6.name;
348716
- return e6.#e = e6.#e & dt | Te2(t3), r3 !== t3.name && (e6.name = t3.name), s3 !== i3.provisional && (s3 === i3.length - 1 ? i3.pop() : i3.splice(s3, 1), i3.unshift(e6)), i3.provisional++, e6;
348716
+ return e6.#e = e6.#e & dt | Te3(t3), r3 !== t3.name && (e6.name = t3.name), s3 !== i3.provisional && (s3 === i3.length - 1 ? i3.pop() : i3.splice(s3, 1), i3.unshift(e6)), i3.provisional++, e6;
348717
348717
  }
348718
348718
  async lstat() {
348719
348719
  if ((this.#e & W2) === 0)
@@ -348734,7 +348734,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348734
348734
  #U(t3) {
348735
348735
  let { atime: e6, atimeMs: s3, birthtime: i3, birthtimeMs: r3, blksize: h4, blocks: o3, ctime: a3, ctimeMs: l3, dev: f4, gid: c3, ino: d4, mode: u4, mtime: m4, mtimeMs: p4, nlink: b3, rdev: w3, size: v3, uid: E3 } = t3;
348736
348736
  this.#y = e6, this.#a = s3, this.#m = i3, this.#v = r3, this.#c = h4, this.#u = o3, this.#R = a3, this.#d = l3, this.#s = f4, this.#S = c3, this.#o = d4, this.#n = u4, this.#p = m4, this.#i = p4, this.#r = b3, this.#w = w3, this.#f = v3, this.#h = E3;
348737
- let y3 = Te2(t3);
348737
+ let y3 = Te3(t3);
348738
348738
  this.#e = this.#e & dt | y3 | ys, y3 !== N2 && y3 !== G2 && y3 !== Q3 && (this.#e |= gt);
348739
348739
  }
348740
348740
  #N = [];
@@ -348813,7 +348813,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
348813
348813
  canReaddir() {
348814
348814
  if (this.#e & Ss)
348815
348815
  return false;
348816
- let t3 = j4 & this.#e;
348816
+ let t3 = j3 & this.#e;
348817
348817
  return t3 === N2 || t3 === G2 || t3 === Q3;
348818
348818
  }
348819
348819
  shouldWalk(t3, e6) {
@@ -349203,7 +349203,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
349203
349203
  var Re2 = R2((te2) => {
349204
349204
  Object.defineProperty(te2, "__esModule", { value: true });
349205
349205
  te2.Pattern = undefined;
349206
- var xr = H2(), Tr = (n3) => n3.length >= 1, Cr = (n3) => n3.length >= 1, Rr = Symbol.for("nodejs.util.inspect.custom"), Ce3 = class n3 {
349206
+ var xr = H2(), Tr = (n3) => n3.length >= 1, Cr = (n3) => n3.length >= 1, Rr = Symbol.for("nodejs.util.inspect.custom"), Ce2 = class n3 {
349207
349207
  #t;
349208
349208
  #s;
349209
349209
  #n;
@@ -349285,12 +349285,12 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
349285
349285
  return this.#n === 0 || !this.isGlobstar() || !this.#f ? false : (this.#f = false, true);
349286
349286
  }
349287
349287
  };
349288
- te2.Pattern = Ce3;
349288
+ te2.Pattern = Ce2;
349289
349289
  });
349290
- var ke2 = R2((ee2) => {
349290
+ var ke3 = R2((ee2) => {
349291
349291
  Object.defineProperty(ee2, "__esModule", { value: true });
349292
349292
  ee2.Ignore = undefined;
349293
- var Ps = H2(), Ar = Re2(), kr = typeof process == "object" && process && typeof process.platform == "string" ? process.platform : "linux", Ae2 = class {
349293
+ var Ps = H2(), Ar = Re2(), kr = typeof process == "object" && process && typeof process.platform == "string" ? process.platform : "linux", Ae3 = class {
349294
349294
  relative;
349295
349295
  relativeChildren;
349296
349296
  absolute;
@@ -349335,7 +349335,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
349335
349335
  return false;
349336
349336
  }
349337
349337
  };
349338
- ee2.Ignore = Ae2;
349338
+ ee2.Ignore = Ae3;
349339
349339
  });
349340
349340
  var Fs = R2((z2) => {
349341
349341
  Object.defineProperty(z2, "__esModule", { value: true });
@@ -349390,7 +349390,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
349390
349390
  }
349391
349391
  };
349392
349392
  z2.SubWalks = re2;
349393
- var Me2 = class n3 {
349393
+ var Me3 = class n3 {
349394
349394
  hasWalkedCache;
349395
349395
  matches = new ie2;
349396
349396
  subwalks = new re2;
@@ -349479,12 +349479,12 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
349479
349479
  t3.isNamed(e6) && (s3 ? this.subwalks.add(t3, s3) : this.matches.add(t3, i3, false));
349480
349480
  }
349481
349481
  };
349482
- z2.Processor = Me2;
349482
+ z2.Processor = Me3;
349483
349483
  });
349484
349484
  var Ls = R2((X3) => {
349485
349485
  Object.defineProperty(X3, "__esModule", { value: true });
349486
349486
  X3.GlobStream = X3.GlobWalker = X3.GlobUtil = undefined;
349487
- var Mr = Oe2(), js = ke2(), Ns = Fs(), Pr = (n3, t3) => typeof n3 == "string" ? new js.Ignore([n3], t3) : Array.isArray(n3) ? new js.Ignore(n3, t3) : n3, Ot = class {
349487
+ var Mr = Oe3(), js = ke3(), Ns = Fs(), Pr = (n3, t3) => typeof n3 == "string" ? new js.Ignore([n3], t3) : Array.isArray(n3) ? new js.Ignore(n3, t3) : n3, Ot = class {
349488
349488
  path;
349489
349489
  patterns;
349490
349490
  opts;
@@ -349690,7 +349690,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
349690
349690
  }
349691
349691
  };
349692
349692
  X3.GlobWalker = Pe2;
349693
- var De2 = class extends Ot {
349693
+ var De3 = class extends Ot {
349694
349694
  results;
349695
349695
  constructor(t3, e6, s3) {
349696
349696
  super(t3, e6, s3), this.results = new Mr.Minipass({ signal: this.signal, objectMode: true }), this.results.on("drain", () => this.resume()), this.results.on("resume", () => this.resume());
@@ -349708,9 +349708,9 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
349708
349708
  return this.path.isUnknown() && this.path.lstatSync(), this.walkCBSync(this.path, this.patterns, () => this.results.end()), this.results;
349709
349709
  }
349710
349710
  };
349711
- X3.GlobStream = De2;
349711
+ X3.GlobStream = De3;
349712
349712
  });
349713
- var je2 = R2((oe2) => {
349713
+ var je3 = R2((oe2) => {
349714
349714
  Object.defineProperty(oe2, "__esModule", { value: true });
349715
349715
  oe2.Glob = undefined;
349716
349716
  var Dr = H2(), Fr = __require("url"), ne2 = Ms(), jr = Re2(), he2 = Ls(), Nr = typeof process == "object" && process && typeof process.platform == "string" ? process.platform : "linux", Fe2 = class {
@@ -349814,7 +349814,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
349814
349814
  exports.globIterateSync = Tt;
349815
349815
  exports.globIterate = Be2;
349816
349816
  var Ws = H2();
349817
- var tt = je2();
349817
+ var tt = je3();
349818
349818
  var Br = Ne2();
349819
349819
  var Is = H2();
349820
349820
  Object.defineProperty(exports, "escape", { enumerable: true, get: function() {
@@ -349823,7 +349823,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
349823
349823
  Object.defineProperty(exports, "unescape", { enumerable: true, get: function() {
349824
349824
  return Is.unescape;
349825
349825
  } });
349826
- var Ir = je2();
349826
+ var Ir = je3();
349827
349827
  Object.defineProperty(exports, "Glob", { enumerable: true, get: function() {
349828
349828
  return Ir.Glob;
349829
349829
  } });
@@ -349831,7 +349831,7 @@ globstar while`, t3, d4, e6, u4, m4), this.matchOne(t3.slice(d4), e6.slice(u4),
349831
349831
  Object.defineProperty(exports, "hasMagic", { enumerable: true, get: function() {
349832
349832
  return Gr.hasMagic;
349833
349833
  } });
349834
- var zr = ke2();
349834
+ var zr = ke3();
349835
349835
  Object.defineProperty(exports, "Ignore", { enumerable: true, get: function() {
349836
349836
  return zr.Ignore;
349837
349837
  } });
@@ -356217,7 +356217,7 @@ function mapDataType(dataType) {
356217
356217
  };
356218
356218
  }
356219
356219
 
356220
- // ../dist/utils-BZOsWQq3.js
356220
+ // ../dist/utils-CAOAm6k-.js
356221
356221
  var import_typescript = __toESM(require_typescript(), 1);
356222
356222
  function t2() {
356223
356223
  return t2 = Object.assign ? Object.assign.bind() : function(e6) {
@@ -356479,9 +356479,13 @@ function g3(e6) {
356479
356479
  if (typeof e6 == "string" && e6 !== "")
356480
356480
  return e6;
356481
356481
  }
356482
- var A3 = { DATE: "date" };
356483
- var j3 = (e6) => e6 != null && (e6 in A3);
356484
- var ye2 = `
356482
+ var k3 = {
356483
+ DATE: "date",
356484
+ TYPE: "type"
356485
+ };
356486
+ var A3 = (e6) => e6 != null && (e6 in k3);
356487
+ var me2 = new Set(Object.values(k3));
356488
+ var Te2 = `
356485
356489
  interface Array<T> {
356486
356490
  [n: number]: T;
356487
356491
  length: number;
@@ -356502,17 +356506,17 @@ var ye2 = `
356502
356506
 
356503
356507
  import ReturnType = Utils.ReturnType;
356504
356508
  `;
356505
- function be2(t3, n3) {
356509
+ function J2(t3, n3) {
356506
356510
  let r3 = /* @__PURE__ */ new Map;
356507
- return r3.set(t3, n3), r3.set("lib.codezero.d.ts", ye2), a2(u3(r3), [t3, "lib.codezero.d.ts"], import_typescript.default, xe2);
356511
+ return r3.set(t3, n3), r3.set("lib.codezero.d.ts", Te2), a2(u3(r3), [t3, "lib.codezero.d.ts"], import_typescript.default, Ee2);
356508
356512
  }
356509
- var xe2 = {
356513
+ var Ee2 = {
356510
356514
  target: import_typescript.default.ScriptTarget.Latest,
356511
356515
  lib: ["lib.codezero.d.ts"],
356512
356516
  noEmit: true,
356513
356517
  strictNullChecks: true
356514
356518
  };
356515
- function Se2(e6) {
356519
+ function De2(e6) {
356516
356520
  let t3 = [], n3 = 0, r3 = null, i3 = "";
356517
356521
  for (let a3 of e6) {
356518
356522
  if (r3)
@@ -356531,11 +356535,16 @@ function Se2(e6) {
356531
356535
  }
356532
356536
  return t3.push(i3), t3.map((e7) => (e7.trim().split(/\s+/).find((e8) => e8 !== "const" && e8 !== "in" && e8 !== "out") ?? "").match(/^[A-Za-z_$][A-Za-z0-9_$]*/)?.[0] ?? "").filter((e7) => e7.length > 0);
356533
356537
  }
356534
- function X2(e6, t3 = "any", n3 = true) {
356535
- let r3 = Array.from(new Set(e6?.flatMap((e7) => e7.genericKeys || []).flatMap(Se2))).map((e7) => `type ${e7} = ${t3};`).join(`
356538
+ var Oe2 = /* @__PURE__ */ new Set([
356539
+ "number",
356540
+ "string",
356541
+ "boolean"
356542
+ ]);
356543
+ function Y2(e6, t3 = "any", n3 = true) {
356544
+ let r3 = Array.from(new Set(e6?.flatMap((e7) => e7.genericKeys || []).flatMap(De2))).map((e7) => `type ${e7} = ${t3};`).join(`
356536
356545
  `), i3 = e6?.map((e7) => {
356537
- let t4 = (e7.genericKeys?.length ?? 0) > 0 ? `<${e7.genericKeys?.join(",")}>` : "", n4 = j3(e7.identifier) ? `${e7.type} & {}` : e7.type;
356538
- return `type ${e7.identifier}${t4} = ${n4};`;
356546
+ let t4 = A3(e7.identifier), n4 = (e7.genericKeys?.length ?? 0) > 0 ? t4 ? `<${e7.genericKeys.map((e8) => e8.includes("=") ? e8 : `${e8} = any`).join(", ")}>` : `<${e7.genericKeys?.join(",")}>` : "", r4 = e7.type?.trim() ?? "", i4 = t4 ? Oe2.has(r4) ? `${e7.type} & {}` : "{}" : e7.type;
356547
+ return `type ${e7.identifier}${n4} = ${i4};`;
356539
356548
  }).join(`
356540
356549
  `), a3 = e6?.filter((e7) => (e7.genericKeys?.length ?? 0) > 0).map((e7) => `declare const __widen_${e7.identifier}: ${e7.identifier}<${e7.genericKeys.map(() => "any").join(", ")}>;`).join(`
356541
356550
  `) ?? "";
@@ -356543,9 +356552,37 @@ function X2(e6, t3 = "any", n3 = true) {
356543
356552
  ${i3}
356544
356553
  ${a3}`;
356545
356554
  }
356555
+ var ke2 = /^[A-Za-z0-9_$<>\[\]{}(),.:?|&+\-'"\s]+$/;
356556
+ var Ae2 = (e6) => {
356557
+ if (!ke2.test(e6))
356558
+ return false;
356559
+ let t3 = {
356560
+ "<": ">",
356561
+ "[": "]",
356562
+ "{": "}",
356563
+ "(": ")"
356564
+ }, n3 = [], r3 = null;
356565
+ for (let i3 of e6) {
356566
+ if (r3) {
356567
+ i3 === r3 && (r3 = null);
356568
+ continue;
356569
+ }
356570
+ if (i3 === "'" || i3 === '"')
356571
+ r3 = i3;
356572
+ else if (t3[i3])
356573
+ n3.push(t3[i3]);
356574
+ else if ((i3 === ">" || i3 === "]" || i3 === "}" || i3 === ")") && n3.pop() !== i3)
356575
+ return false;
356576
+ }
356577
+ return r3 === null && n3.length === 0;
356578
+ };
356579
+ var X2 = (e6, t3) => {
356580
+ let n3 = t3?.trim();
356581
+ return !n3 || !Ae2(n3) ? e6 : `(${e6}) as unknown as ${n3}`;
356582
+ };
356546
356583
  var Z2 = (e6) => e6?.replace(/[^a-zA-Z0-9]/g, "_");
356547
356584
  var Q2 = (e6) => e6.replace(/\\/g, "\\\\").replace(/`/g, "\\`").replace(/\$\{/g, "\\${");
356548
- var Ce2 = (e6, t3) => {
356585
+ var je2 = (e6, t3) => {
356549
356586
  let n3 = e6.match(/^\$\{([^}]+)\}$/);
356550
356587
  if (n3 && t3.has(n3[1]))
356551
356588
  return t3.get(n3[1]);
@@ -356564,8 +356601,8 @@ var Ce2 = (e6, t3) => {
356564
356601
  }
356565
356602
  return a3 += Q2(e6.slice(o3)), "`" + a3 + "`";
356566
356603
  };
356567
- var $2 = (e6, t3) => typeof e6 == "string" ? Ce2(e6, t3) : Array.isArray(e6) ? `[${e6.map((e7) => $2(e7, t3)).join(", ")}]` : typeof e6 == "object" && e6 ? `{${Object.entries(e6).map(([e7, n3]) => `${h3(e7)}: ${$2(n3, t3)}`).join(", ")}}` : h3(e6) ?? "undefined";
356568
- function we2(e6, t3, n3, r3 = false, i3 = true) {
356604
+ var $2 = (e6, t3) => typeof e6 == "string" ? je2(e6, t3) : Array.isArray(e6) ? `[${e6.map((e7) => $2(e7, t3)).join(", ")}]` : typeof e6 == "object" && e6 ? `{${Object.entries(e6).map(([e7, n3]) => `${h3(e7)}: ${$2(n3, t3)}`).join(", ")}}` : h3(e6) ?? "undefined";
356605
+ function Me2(e6, t3, n3, r3 = false, i3 = true) {
356569
356606
  let a3 = e6?.nodes?.nodes || [], o3 = new Map(t3?.map((e7) => [e7.identifier, e7])), s3 = /* @__PURE__ */ new Set, c3 = (t4) => {
356570
356607
  let n4 = typeof t4.inputIndex == "number" ? `p_${Z2(t4.nodeFunctionId ?? "undefined")}_${t4.parameterIndex}[${t4.inputIndex}]` : t4.nodeFunctionId ? `node_${Z2(t4.nodeFunctionId)}` : `flow_${Z2(e6?.id ?? "undefined")}`;
356571
356608
  return t4.referencePath?.forEach((e7) => {
@@ -356597,12 +356634,20 @@ ${d4(e7.startingNodeId || e7.functionDefinition?.id, r4 + " ")}${r4}}`, u4 =
356597
356634
  return `${t4}// Error: Function ${n4.functionDefinition.identifier} not found
356598
356635
  `;
356599
356636
  let i4 = (n4.parameters?.nodes || []).map((n5, i5) => {
356600
- let a4 = n5.value;
356601
- return a4 ? a4.__typename === "ReferenceValue" ? `/* @pos ${e7} ${i5} */ ${c3(a4)}` : a4.__typename === "LiteralValue" ? `/* @pos ${e7} ${i5} */ ${u4(a4.value, a4.references, {
356602
- id: e7,
356603
- index: i5,
356604
- indent: t4
356605
- })}` : a4.__typename === "SubFlowValue" ? `/* @pos ${e7} ${i5} */ ${l3(a4, e7, i5, t4)}` : r3 ? `/* @pos ${e7} ${i5} */ {}` : `/* @pos ${e7} ${i5} */ undefined` : r3 ? `/* @pos ${e7} ${i5} */ {}` : `/* @pos ${e7} ${i5} */ undefined`;
356637
+ let a4 = n5.value, o4 = r3 ? `/* @pos ${e7} ${i5} */ ${X2("{}", n5.cast)}` : `/* @pos ${e7} ${i5} */ undefined`;
356638
+ if (!a4)
356639
+ return o4;
356640
+ if (a4.__typename === "ReferenceValue")
356641
+ return `/* @pos ${e7} ${i5} */ ${X2(c3(a4), n5.cast)}`;
356642
+ if (a4.__typename === "LiteralValue") {
356643
+ let r4 = u4(a4.value, a4.references, {
356644
+ id: e7,
356645
+ index: i5,
356646
+ indent: t4
356647
+ });
356648
+ return r4 === undefined ? `/* @pos ${e7} ${i5} */ undefined` : `/* @pos ${e7} ${i5} */ ${X2(r4, n5.cast)}`;
356649
+ }
356650
+ return a4.__typename === "SubFlowValue" ? `/* @pos ${e7} ${i5} */ ${l3(a4, e7, i5, t4)}` : o4;
356606
356651
  }), f5 = `node_${Z2(n4.id)}`, p5 = `fn_${n4?.functionDefinition?.identifier?.replace(/::/g, "_")}`;
356607
356652
  i4.includes("undefined");
356608
356653
  let m5 = `${t4}`;
@@ -356618,7 +356663,7 @@ ${d4(e7.startingNodeId || e7.functionDefinition?.id, r4 + " ")}${r4}}`, u4 =
356618
356663
  ${d4(n4.parameters?.nodes?.[2]?.value?.startingNodeId || n4.parameters?.nodes?.[2]?.value?.functionDefinition?.identifier, t4 + " ")}
356619
356664
  }`) : m5 += `const ${f5} = /* @pos ${e7} null */ ${p5}(${i4.join(", ")}) ;
356620
356665
  `, n4.nextNodeId && (m5 += d4(n4.nextNodeId, t4)), m5;
356621
- }, f4 = X2(n3), p4 = `declare function flow${e6?.signature ?? "(): void"}`, m4 = t3?.map((e7) => `declare function fn_${e7.identifier?.replace(/::/g, "_")}${e7.signature}`).join(`
356666
+ }, f4 = Y2(n3), p4 = `declare function flow${e6?.signature ?? "(): void"}`, m4 = t3?.map((e7) => `declare function fn_${e7.identifier?.replace(/::/g, "_")}${e7.signature}`).join(`
356622
356667
  `), g4 = new Set(a3.map((e7) => e7?.nextNodeId).filter((e7) => !!e7)), _3 = /* @__PURE__ */ new Set;
356623
356668
  return a3.forEach((e7) => e7?.parameters?.nodes?.forEach((e8) => {
356624
356669
  e8?.value?.__typename === "SubFlowValue" && (e8.value.startingNodeId || e8.value.functionDefinition?.id) && _3.add(e8.value.startingNodeId || e8.value.functionDefinition?.id);
@@ -356630,7 +356675,10 @@ ${d4(e7.startingNodeId || e7.functionDefinition?.id, r4 + " ")}${r4}}`, u4 =
356630
356675
  ${m4}
356631
356676
 
356632
356677
  (() =>
356633
- ${e6 ? `const flow_${Z2(e6.id ?? "")} = /* @pos null null */ flow(${e6.settings?.nodes?.map((e7, t4) => `/* @pos null ${t4} */ ${e7?.value !== null && e7?.value !== undefined ? h3(e7?.value) : undefined}`).join(", ") ?? ""});` : ""}
356678
+ ${e6 ? `const flow_${Z2(e6.id ?? "")} = /* @pos null null */ flow(${e6.settings?.nodes?.map((e7, t4) => {
356679
+ let n4 = e7?.value !== null && e7?.value !== undefined ? h3(e7.value) : undefined;
356680
+ return `/* @pos null ${t4} */ ${n4 === undefined ? "undefined" : X2(n4, e7?.cast)}`;
356681
+ }).join(", ") ?? ""});` : ""}
356634
356682
  ${a3.filter((e7) => e7?.id && !g4.has(e7.id) && !_3.has(e7.id)).map((e7) => d4(e7.id)).join(`
356635
356683
  `)}
356636
356684
  )();
@@ -356663,11 +356711,11 @@ var u4 = (e6, t3) => {
356663
356711
  var d4 = (e6, t3) => {
356664
356712
  let r3 = Object.entries(e6).map(([e7, t4]) => `export type ${e7} = ${t4};`).join(`
356665
356713
  `);
356666
- return `${X2(t3)}
356714
+ return `${Y2(t3)}
356667
356715
  ${r3}`;
356668
356716
  };
356669
356717
  var f4 = (e6) => {
356670
- let t3 = be2("index.ts", e6).languageService.getProgram();
356718
+ let t3 = J2("index.ts", e6).languageService.getProgram();
356671
356719
  return new import_ts_json_schema_generator.SchemaGenerator(t3, import_ts_json_schema_generator.createParser(t3, l3), import_ts_json_schema_generator.createFormatter(l3), l3);
356672
356720
  };
356673
356721
  var p4 = (e6) => {
@@ -356680,7 +356728,7 @@ var p4 = (e6) => {
356680
356728
  var m4 = (e6, n3, i4) => {
356681
356729
  if (!e6)
356682
356730
  return;
356683
- let a4 = "index.ts", o4 = we2(e6, n3, i4), s4 = be2(a4, o4), c4 = s4.getSourceFile(a4), l4 = s4.languageService.getProgram().getTypeChecker(), d5 = u4({
356731
+ let a4 = "index.ts", o4 = Me2(e6, n3, i4), s4 = J2(a4, o4), c4 = s4.getSourceFile(a4), l4 = s4.languageService.getProgram().getTypeChecker(), d5 = u4({
356684
356732
  ...v3(l4, c4),
356685
356733
  ...y3(l4, c4, e6)
356686
356734
  }, i4), f5 = (e6.nodes?.nodes ?? []).map((e7) => e7 && E3(e7, d5));
@@ -356718,7 +356766,7 @@ var y3 = (e6, t3, n3) => {
356718
356766
  let n4 = t4.parameters?.nodes;
356719
356767
  if (!n4?.some(D3))
356720
356768
  continue;
356721
- let a4 = k3(r3, t4);
356769
+ let a4 = k4(r3, t4);
356722
356770
  a4 && n4.forEach((n5, r4) => {
356723
356771
  if (!D3(n5))
356724
356772
  return;
@@ -356749,7 +356797,7 @@ var x3 = (e6, t3, n3) => {
356749
356797
  };
356750
356798
  var S3 = (e6, t3, n3) => {
356751
356799
  let r3 = t3, a4 = r3.target;
356752
- if (!(!a4 || (a4.objectFlags & import_typescript2.default.ObjectFlags.Tuple) === 0))
356800
+ if (a4 && (a4.objectFlags & import_typescript2.default.ObjectFlags.Tuple) !== 0)
356753
356801
  return e6.getTypeArguments(r3).map((t4, r4) => {
356754
356802
  let o4 = a4.labeledElementDeclarations?.[r4];
356755
356803
  return `${o4?.name && import_typescript2.default.isIdentifier(o4.name) ? o4.name.text : `arg${r4}`}${(a4.elementFlags[r4] & import_typescript2.default.ElementFlags.Optional) === 0 ? "" : "?"}: ${e6.typeToString(t4, n3, import_typescript2.default.TypeFormatFlags.NoTruncation)}`;
@@ -356797,7 +356845,7 @@ var O3 = (e6) => {
356797
356845
  let t3 = e6.valueDeclaration;
356798
356846
  return !!t3 && import_typescript2.default.isParameter(t3) && (!!t3.questionToken || !!t3.initializer || !!t3.dotDotDotToken);
356799
356847
  };
356800
- var k3 = (t3, n3) => {
356848
+ var k4 = (t3, n3) => {
356801
356849
  let r3 = t3.get(`node_${Z2(n3.id)}`)?.initializer;
356802
356850
  return r3 && import_typescript2.default.isCallExpression(r3) ? r3 : undefined;
356803
356851
  };