@stencil/core 4.18.2-dev.1716241403.fb9ef91 → 4.18.2-dev.1716267693.5a82d01

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil Compiler v4.18.2-dev.1716241403.fb9ef91 | MIT Licensed | https://stenciljs.com
2
+ Stencil Compiler v4.18.2-dev.1716267693.5a82d01 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  "use strict";
5
5
  var __create = Object.create;
@@ -1466,11 +1466,11 @@ var require_source_map_consumer = __commonJS({
1466
1466
  if (section.consumer._findSourceIndex(util.getArg(aArgs, "source")) === -1) {
1467
1467
  continue;
1468
1468
  }
1469
- var generatedPosition2 = section.consumer.generatedPositionFor(aArgs);
1470
- if (generatedPosition2) {
1469
+ var generatedPosition = section.consumer.generatedPositionFor(aArgs);
1470
+ if (generatedPosition) {
1471
1471
  var ret = {
1472
- line: generatedPosition2.line + (section.generatedOffset.generatedLine - 1),
1473
- column: generatedPosition2.column + (section.generatedOffset.generatedLine === generatedPosition2.line ? section.generatedOffset.generatedColumn - 1 : 0)
1472
+ line: generatedPosition.line + (section.generatedOffset.generatedLine - 1),
1473
+ column: generatedPosition.column + (section.generatedOffset.generatedLine === generatedPosition.line ? section.generatedOffset.generatedColumn - 1 : 0)
1474
1474
  };
1475
1475
  return ret;
1476
1476
  }
@@ -2698,9 +2698,9 @@ var require_constants = __commonJS({
2698
2698
  /**
2699
2699
  * Create EXTGLOB_CHARS
2700
2700
  */
2701
- extglobChars(chars3) {
2701
+ extglobChars(chars4) {
2702
2702
  return {
2703
- "!": { type: "negate", open: "(?:(?!(?:", close: `))${chars3.STAR})` },
2703
+ "!": { type: "negate", open: "(?:(?!(?:", close: `))${chars4.STAR})` },
2704
2704
  "?": { type: "qmark", open: "(?:", close: ")?" },
2705
2705
  "+": { type: "plus", open: "(?:", close: ")+" },
2706
2706
  "*": { type: "star", open: "(?:", close: ")*" },
@@ -3137,7 +3137,7 @@ var require_parse = __commonJS({
3137
3137
  var syntaxError = (type, char) => {
3138
3138
  return `Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`;
3139
3139
  };
3140
- var parse5 = (input, options) => {
3140
+ var parse4 = (input, options) => {
3141
3141
  if (typeof input !== "string") {
3142
3142
  throw new TypeError("Expected a string");
3143
3143
  }
@@ -3286,7 +3286,7 @@ var require_parse = __commonJS({
3286
3286
  output = token.close = `)$))${extglobStar}`;
3287
3287
  }
3288
3288
  if (token.inner.includes("*") && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) {
3289
- const expression = parse5(rest, { ...options, fastpaths: false }).output;
3289
+ const expression = parse4(rest, { ...options, fastpaths: false }).output;
3290
3290
  output = token.close = `)${expression})${extglobStar})`;
3291
3291
  }
3292
3292
  if (token.prev.type === "bos") {
@@ -3298,7 +3298,7 @@ var require_parse = __commonJS({
3298
3298
  };
3299
3299
  if (opts.fastpaths !== false && !/(^[*!]|[/()[\]{}"])/.test(input)) {
3300
3300
  let backslashes = false;
3301
- let output = input.replace(REGEX_SPECIAL_CHARS_BACKREF, (m, esc, chars3, first, rest, index2) => {
3301
+ let output = input.replace(REGEX_SPECIAL_CHARS_BACKREF, (m, esc, chars4, first, rest, index2) => {
3302
3302
  if (first === "\\") {
3303
3303
  backslashes = true;
3304
3304
  return m;
@@ -3310,10 +3310,10 @@ var require_parse = __commonJS({
3310
3310
  if (index2 === 0) {
3311
3311
  return qmarkNoDot + (rest ? QMARK.repeat(rest.length) : "");
3312
3312
  }
3313
- return QMARK.repeat(chars3.length);
3313
+ return QMARK.repeat(chars4.length);
3314
3314
  }
3315
3315
  if (first === ".") {
3316
- return DOT_LITERAL.repeat(chars3.length);
3316
+ return DOT_LITERAL.repeat(chars4.length);
3317
3317
  }
3318
3318
  if (first === "*") {
3319
3319
  if (esc) {
@@ -3811,7 +3811,7 @@ var require_parse = __commonJS({
3811
3811
  }
3812
3812
  return state;
3813
3813
  };
3814
- parse5.fastpaths = (input, options) => {
3814
+ parse4.fastpaths = (input, options) => {
3815
3815
  const opts = { ...options };
3816
3816
  const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
3817
3817
  const len = input.length;
@@ -3877,7 +3877,7 @@ var require_parse = __commonJS({
3877
3877
  }
3878
3878
  return source;
3879
3879
  };
3880
- module2.exports = parse5;
3880
+ module2.exports = parse4;
3881
3881
  }
3882
3882
  });
3883
3883
 
@@ -3887,7 +3887,7 @@ var require_picomatch = __commonJS({
3887
3887
  "use strict";
3888
3888
  var path6 = require("path");
3889
3889
  var scan = require_scan();
3890
- var parse5 = require_parse();
3890
+ var parse4 = require_parse();
3891
3891
  var utils = require_utils();
3892
3892
  var constants = require_constants();
3893
3893
  var isObject4 = (val) => val && typeof val === "object" && !Array.isArray(val);
@@ -3975,7 +3975,7 @@ var require_picomatch = __commonJS({
3975
3975
  picomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
3976
3976
  picomatch.parse = (pattern, options) => {
3977
3977
  if (Array.isArray(pattern)) return pattern.map((p) => picomatch.parse(p, options));
3978
- return parse5(pattern, { ...options, fastpaths: false });
3978
+ return parse4(pattern, { ...options, fastpaths: false });
3979
3979
  };
3980
3980
  picomatch.scan = (input, options) => scan(input, options);
3981
3981
  picomatch.compileRe = (state, options, returnOutput = false, returnState = false) => {
@@ -4001,10 +4001,10 @@ var require_picomatch = __commonJS({
4001
4001
  }
4002
4002
  let parsed = { negated: false, fastpaths: true };
4003
4003
  if (options.fastpaths !== false && (input[0] === "." || input[0] === "*")) {
4004
- parsed.output = parse5.fastpaths(input, options);
4004
+ parsed.output = parse4.fastpaths(input, options);
4005
4005
  }
4006
4006
  if (!parsed.output) {
4007
- parsed = parse5(input, options);
4007
+ parsed = parse4(input, options);
4008
4008
  }
4009
4009
  return picomatch.compileRe(parsed, options, returnOutput, returnState);
4010
4010
  };
@@ -4066,7 +4066,7 @@ var require_cjs = __commonJS({
4066
4066
  }
4067
4067
  }
4068
4068
  }
4069
- function remove4(parent, prop, index3) {
4069
+ function remove3(parent, prop, index3) {
4070
4070
  if (parent) {
4071
4071
  if (index3 !== null) {
4072
4072
  parent[prop].splice(index3, 1);
@@ -4090,7 +4090,7 @@ var require_cjs = __commonJS({
4090
4090
  replace2(parent, prop, index3, node);
4091
4091
  }
4092
4092
  if (should_remove) {
4093
- remove4(parent, prop, index3);
4093
+ remove3(parent, prop, index3);
4094
4094
  }
4095
4095
  const skipped = should_skip;
4096
4096
  const removed = should_remove;
@@ -4127,7 +4127,7 @@ var require_cjs = __commonJS({
4127
4127
  replace2(parent, prop, index3, node);
4128
4128
  }
4129
4129
  if (should_remove) {
4130
- remove4(parent, prop, index3);
4130
+ remove3(parent, prop, index3);
4131
4131
  }
4132
4132
  const removed = should_remove;
4133
4133
  replacement = _replacement;
@@ -4670,10 +4670,10 @@ var require_sourcemap_codec_umd = __commonJS({
4670
4670
  typeof exports2 === "object" && typeof module2 !== "undefined" ? factory(exports2) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global2 = global2 || self, factory(global2.sourcemapCodec = {}));
4671
4671
  })(exports2, function(exports3) {
4672
4672
  "use strict";
4673
- var charToInteger2 = {};
4674
- var chars3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
4675
- for (var i = 0; i < chars3.length; i++) {
4676
- charToInteger2[chars3.charCodeAt(i)] = i;
4673
+ var charToInteger3 = {};
4674
+ var chars4 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
4675
+ for (var i = 0; i < chars4.length; i++) {
4676
+ charToInteger3[chars4.charCodeAt(i)] = i;
4677
4677
  }
4678
4678
  function decode3(mappings) {
4679
4679
  var decoded = [];
@@ -4698,7 +4698,7 @@ var require_sourcemap_codec_umd = __commonJS({
4698
4698
  line = [];
4699
4699
  segment[0] = 0;
4700
4700
  } else {
4701
- var integer = charToInteger2[c];
4701
+ var integer = charToInteger3[c];
4702
4702
  if (integer === void 0) {
4703
4703
  throw new Error("Invalid character (" + String.fromCharCode(c) + ")");
4704
4704
  }
@@ -4731,7 +4731,7 @@ var require_sourcemap_codec_umd = __commonJS({
4731
4731
  else if (j === 1)
4732
4732
  line.push([segment[0]]);
4733
4733
  }
4734
- function encode3(decoded) {
4734
+ function encode4(decoded) {
4735
4735
  var sourceFileIndex = 0;
4736
4736
  var sourceCodeLine = 0;
4737
4737
  var sourceCodeColumn = 0;
@@ -4747,16 +4747,16 @@ var require_sourcemap_codec_umd = __commonJS({
4747
4747
  var lineMappings = [];
4748
4748
  for (var _i = 0, line_1 = line; _i < line_1.length; _i++) {
4749
4749
  var segment = line_1[_i];
4750
- var segmentMappings = encodeInteger3(segment[0] - generatedCodeColumn);
4750
+ var segmentMappings = encodeInteger4(segment[0] - generatedCodeColumn);
4751
4751
  generatedCodeColumn = segment[0];
4752
4752
  if (segment.length > 1) {
4753
- segmentMappings += encodeInteger3(segment[1] - sourceFileIndex) + encodeInteger3(segment[2] - sourceCodeLine) + encodeInteger3(segment[3] - sourceCodeColumn);
4753
+ segmentMappings += encodeInteger4(segment[1] - sourceFileIndex) + encodeInteger4(segment[2] - sourceCodeLine) + encodeInteger4(segment[3] - sourceCodeColumn);
4754
4754
  sourceFileIndex = segment[1];
4755
4755
  sourceCodeLine = segment[2];
4756
4756
  sourceCodeColumn = segment[3];
4757
4757
  }
4758
4758
  if (segment.length === 5) {
4759
- segmentMappings += encodeInteger3(segment[4] - nameIndex);
4759
+ segmentMappings += encodeInteger4(segment[4] - nameIndex);
4760
4760
  nameIndex = segment[4];
4761
4761
  }
4762
4762
  lineMappings.push(segmentMappings);
@@ -4765,7 +4765,7 @@ var require_sourcemap_codec_umd = __commonJS({
4765
4765
  }
4766
4766
  return mappings;
4767
4767
  }
4768
- function encodeInteger3(num) {
4768
+ function encodeInteger4(num) {
4769
4769
  var result2 = "";
4770
4770
  num = num < 0 ? -num << 1 | 1 : num << 1;
4771
4771
  do {
@@ -4774,12 +4774,12 @@ var require_sourcemap_codec_umd = __commonJS({
4774
4774
  if (num > 0) {
4775
4775
  clamped |= 32;
4776
4776
  }
4777
- result2 += chars3[clamped];
4777
+ result2 += chars4[clamped];
4778
4778
  } while (num > 0);
4779
4779
  return result2;
4780
4780
  }
4781
4781
  exports3.decode = decode3;
4782
- exports3.encode = encode3;
4782
+ exports3.encode = encode4;
4783
4783
  Object.defineProperty(exports3, "__esModule", { value: true });
4784
4784
  });
4785
4785
  }
@@ -4819,7 +4819,7 @@ var require_magic_string_cjs = __commonJS({
4819
4819
  Chunk4.prototype.appendRight = function appendRight3(content) {
4820
4820
  this.intro = this.intro + content;
4821
4821
  };
4822
- Chunk4.prototype.clone = function clone5() {
4822
+ Chunk4.prototype.clone = function clone4() {
4823
4823
  var chunk = new Chunk4(this.start, this.end, this.original);
4824
4824
  chunk.intro = this.intro;
4825
4825
  chunk.outro = this.outro;
@@ -5023,9 +5023,9 @@ var require_magic_string_cjs = __commonJS({
5023
5023
  this.rawSegments = this.raw[this.generatedCodeLine] = [];
5024
5024
  this.pending = null;
5025
5025
  };
5026
- Mappings4.prototype.addEdit = function addEdit2(sourceIndex2, content, loc, nameIndex) {
5026
+ Mappings4.prototype.addEdit = function addEdit2(sourceIndex, content, loc, nameIndex) {
5027
5027
  if (content.length) {
5028
- var segment = [this.generatedCodeColumn, sourceIndex2, loc.line, loc.column];
5028
+ var segment = [this.generatedCodeColumn, sourceIndex, loc.line, loc.column];
5029
5029
  if (nameIndex >= 0) {
5030
5030
  segment.push(nameIndex);
5031
5031
  }
@@ -5036,12 +5036,12 @@ var require_magic_string_cjs = __commonJS({
5036
5036
  this.advance(content);
5037
5037
  this.pending = null;
5038
5038
  };
5039
- Mappings4.prototype.addUneditedChunk = function addUneditedChunk2(sourceIndex2, chunk, original, loc, sourcemapLocations) {
5039
+ Mappings4.prototype.addUneditedChunk = function addUneditedChunk2(sourceIndex, chunk, original, loc, sourcemapLocations) {
5040
5040
  var originalCharIndex = chunk.start;
5041
5041
  var first = true;
5042
5042
  while (originalCharIndex < chunk.end) {
5043
5043
  if (this.hires || first || sourcemapLocations.has(originalCharIndex)) {
5044
- this.rawSegments.push([this.generatedCodeColumn, sourceIndex2, loc.line, loc.column]);
5044
+ this.rawSegments.push([this.generatedCodeColumn, sourceIndex, loc.line, loc.column]);
5045
5045
  }
5046
5046
  if (original[originalCharIndex] === "\n") {
5047
5047
  loc.line += 1;
@@ -5136,7 +5136,7 @@ var require_magic_string_cjs = __commonJS({
5136
5136
  }
5137
5137
  return this;
5138
5138
  };
5139
- MagicString4.prototype.clone = function clone5() {
5139
+ MagicString4.prototype.clone = function clone4() {
5140
5140
  var cloned = new MagicString4(this.original, { filename: this.filename });
5141
5141
  var originalChunk = this.firstChunk;
5142
5142
  var clonedChunk = cloned.firstChunk = cloned.lastSearchedChunk = originalChunk.clone();
@@ -5164,7 +5164,7 @@ var require_magic_string_cjs = __commonJS({
5164
5164
  MagicString4.prototype.generateDecodedMap = function generateDecodedMap3(options) {
5165
5165
  var this$1$1 = this;
5166
5166
  options = options || {};
5167
- var sourceIndex2 = 0;
5167
+ var sourceIndex = 0;
5168
5168
  var names = Object.keys(this.storedNames);
5169
5169
  var mappings = new Mappings4(options.hires);
5170
5170
  var locate2 = getLocator3(this.original);
@@ -5178,13 +5178,13 @@ var require_magic_string_cjs = __commonJS({
5178
5178
  }
5179
5179
  if (chunk.edited) {
5180
5180
  mappings.addEdit(
5181
- sourceIndex2,
5181
+ sourceIndex,
5182
5182
  chunk.content,
5183
5183
  loc,
5184
5184
  chunk.storeName ? names.indexOf(chunk.original) : -1
5185
5185
  );
5186
5186
  } else {
5187
- mappings.addUneditedChunk(sourceIndex2, chunk, this$1$1.original, loc, this$1$1.sourcemapLocations);
5187
+ mappings.addUneditedChunk(sourceIndex, chunk, this$1$1.original, loc, this$1$1.sourcemapLocations);
5188
5188
  }
5189
5189
  if (chunk.outro.length) {
5190
5190
  mappings.advance(chunk.outro);
@@ -5271,7 +5271,7 @@ var require_magic_string_cjs = __commonJS({
5271
5271
  this.outro = this.outro.replace(pattern, replacer);
5272
5272
  return this;
5273
5273
  };
5274
- MagicString4.prototype.insert = function insert4() {
5274
+ MagicString4.prototype.insert = function insert3() {
5275
5275
  throw new Error(
5276
5276
  "magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)"
5277
5277
  );
@@ -5426,7 +5426,7 @@ var require_magic_string_cjs = __commonJS({
5426
5426
  }
5427
5427
  return this;
5428
5428
  };
5429
- MagicString4.prototype.remove = function remove4(start, end) {
5429
+ MagicString4.prototype.remove = function remove3(start, end) {
5430
5430
  while (start < 0) {
5431
5431
  start += this.original.length;
5432
5432
  }
@@ -5553,10 +5553,10 @@ var require_magic_string_cjs = __commonJS({
5553
5553
  return result2;
5554
5554
  };
5555
5555
  MagicString4.prototype.snip = function snip2(start, end) {
5556
- var clone5 = this.clone();
5557
- clone5.remove(0, start);
5558
- clone5.remove(end, clone5.original.length);
5559
- return clone5;
5556
+ var clone4 = this.clone();
5557
+ clone4.remove(0, start);
5558
+ clone4.remove(end, clone4.original.length);
5559
+ return clone4;
5560
5560
  };
5561
5561
  MagicString4.prototype._split = function _split2(index2) {
5562
5562
  if (this.byStart[index2] || this.byEnd[index2]) {
@@ -5729,7 +5729,7 @@ var require_magic_string_cjs = __commonJS({
5729
5729
  });
5730
5730
  return this;
5731
5731
  };
5732
- Bundle3.prototype.clone = function clone5() {
5732
+ Bundle3.prototype.clone = function clone4() {
5733
5733
  var bundle = new Bundle3({
5734
5734
  intro: this.intro,
5735
5735
  separator: this.separator
@@ -5762,7 +5762,7 @@ var require_magic_string_cjs = __commonJS({
5762
5762
  if (i > 0) {
5763
5763
  mappings.advance(this$1$1.separator);
5764
5764
  }
5765
- var sourceIndex2 = source.filename ? this$1$1.uniqueSourceIndexByFilename[source.filename] : -1;
5765
+ var sourceIndex = source.filename ? this$1$1.uniqueSourceIndexByFilename[source.filename] : -1;
5766
5766
  var magicString = source.content;
5767
5767
  var locate2 = getLocator3(magicString.original);
5768
5768
  if (magicString.intro) {
@@ -5776,14 +5776,14 @@ var require_magic_string_cjs = __commonJS({
5776
5776
  if (source.filename) {
5777
5777
  if (chunk.edited) {
5778
5778
  mappings.addEdit(
5779
- sourceIndex2,
5779
+ sourceIndex,
5780
5780
  chunk.content,
5781
5781
  loc,
5782
5782
  chunk.storeName ? names.indexOf(chunk.original) : -1
5783
5783
  );
5784
5784
  } else {
5785
5785
  mappings.addUneditedChunk(
5786
- sourceIndex2,
5786
+ sourceIndex,
5787
5787
  chunk,
5788
5788
  magicString.original,
5789
5789
  loc,
@@ -6073,7 +6073,7 @@ var require_path_parse = __commonJS({
6073
6073
  var require_node_modules_paths = __commonJS({
6074
6074
  "node_modules/resolve/lib/node-modules-paths.js"(exports2, module2) {
6075
6075
  var path6 = require("path");
6076
- var parse5 = path6.parse || require_path_parse();
6076
+ var parse4 = path6.parse || require_path_parse();
6077
6077
  var getNodeModulesDirs = function getNodeModulesDirs2(absoluteStart, modules) {
6078
6078
  var prefix = "/";
6079
6079
  if (/^([A-Za-z]:)/.test(absoluteStart)) {
@@ -6082,10 +6082,10 @@ var require_node_modules_paths = __commonJS({
6082
6082
  prefix = "\\\\";
6083
6083
  }
6084
6084
  var paths = [absoluteStart];
6085
- var parsed = parse5(absoluteStart);
6085
+ var parsed = parse4(absoluteStart);
6086
6086
  while (parsed.dir !== paths[paths.length - 1]) {
6087
6087
  paths.push(parsed.dir);
6088
- parsed = parse5(parsed.dir);
6088
+ parsed = parse4(parsed.dir);
6089
6089
  }
6090
6090
  return paths.reduce(function(dirs, aPath) {
6091
6091
  return dirs.concat(modules.map(function(moduleDir) {
@@ -6512,7 +6512,7 @@ var require_async = __commonJS({
6512
6512
  }
6513
6513
  return dirs;
6514
6514
  };
6515
- module2.exports = function resolve9(x, options, callback) {
6515
+ module2.exports = function resolve8(x, options, callback) {
6516
6516
  var cb = callback;
6517
6517
  var opts = options;
6518
6518
  if (typeof options === "function") {
@@ -7145,7 +7145,7 @@ var require_dist = __commonJS({
7145
7145
  var estreeWalker = require_estree_walker();
7146
7146
  var MagicString4 = require_magic_string_cjs();
7147
7147
  var isReference = require_is_reference();
7148
- var resolve9 = require_resolve();
7148
+ var resolve8 = require_resolve();
7149
7149
  function _interopDefaultLegacy(e) {
7150
7150
  return e && typeof e === "object" && "default" in e ? e : { "default": e };
7151
7151
  }
@@ -7156,9 +7156,9 @@ var require_dist = __commonJS({
7156
7156
  var peerDependencies = {
7157
7157
  rollup: "^2.38.3"
7158
7158
  };
7159
- function tryParse(parse5, code, id) {
7159
+ function tryParse(parse4, code, id) {
7160
7160
  try {
7161
- return parse5(code, { allowReturnOutsideFunction: true });
7161
+ return parse4(code, { allowReturnOutsideFunction: true });
7162
7162
  } catch (err2) {
7163
7163
  err2.message += ` in ${id}`;
7164
7164
  throw err2;
@@ -7170,8 +7170,8 @@ var require_dist = __commonJS({
7170
7170
  const firstpass = ignoreGlobal ? firstpassNoGlobal : firstpassGlobal;
7171
7171
  return firstpass.test(code);
7172
7172
  }
7173
- function analyzeTopLevelStatements(parse5, code, id) {
7174
- const ast = tryParse(parse5, code, id);
7173
+ function analyzeTopLevelStatements(parse4, code, id) {
7174
+ const ast = tryParse(parse4, code, id);
7175
7175
  let isEsModule = false;
7176
7176
  let hasDefaultExport = false;
7177
7177
  let hasNamedExports = false;
@@ -7551,9 +7551,9 @@ commonjsRegisterOrShort(${JSON.stringify(
7551
7551
  function getCommonJSMetaPromise(commonJSMetaPromises, id) {
7552
7552
  let commonJSMetaPromise = commonJSMetaPromises.get(id);
7553
7553
  if (commonJSMetaPromise) return commonJSMetaPromise.promise;
7554
- const promise = new Promise((resolve10) => {
7554
+ const promise = new Promise((resolve9) => {
7555
7555
  commonJSMetaPromise = {
7556
- resolve: resolve10,
7556
+ resolve: resolve9,
7557
7557
  promise: null
7558
7558
  };
7559
7559
  commonJSMetaPromises.set(id, commonJSMetaPromise);
@@ -7939,7 +7939,7 @@ ${exportDeclarations.join("\n")}`;
7939
7939
  function hasDynamicModuleForPath(source, id, dynamicRequireModuleSet) {
7940
7940
  if (!/^(?:\.{0,2}[/\\]|[A-Za-z]:[/\\])/.test(source)) {
7941
7941
  try {
7942
- const resolvedPath = normalizePathSlashes(resolve9.sync(source, { basedir: path6.dirname(id) }));
7942
+ const resolvedPath = normalizePathSlashes(resolve8.sync(source, { basedir: path6.dirname(id) }));
7943
7943
  if (dynamicRequireModuleSet.has(resolvedPath)) {
7944
7944
  return true;
7945
7945
  }
@@ -8041,8 +8041,8 @@ ${exportDeclarations.join("\n")}`;
8041
8041
  }
8042
8042
  var exportsPattern = /^(?:module\.)?exports(?:\.([a-zA-Z_$][a-zA-Z_$0-9]*))?$/;
8043
8043
  var functionType = /^(?:FunctionDeclaration|FunctionExpression|ArrowFunctionExpression)$/;
8044
- function transformCommonjs(parse5, code, id, isEsModule, ignoreGlobal, ignoreRequire, ignoreDynamicRequires, getIgnoreTryCatchRequireStatementMode, sourceMap, isDynamicRequireModulesEnabled, dynamicRequireModuleSet, disableWrap, commonDir, astCache, defaultIsModuleExports) {
8045
- const ast = astCache || tryParse(parse5, code, id);
8044
+ function transformCommonjs(parse4, code, id, isEsModule, ignoreGlobal, ignoreRequire, ignoreDynamicRequires, getIgnoreTryCatchRequireStatementMode, sourceMap, isDynamicRequireModulesEnabled, dynamicRequireModuleSet, disableWrap, commonDir, astCache, defaultIsModuleExports) {
8045
+ const ast = astCache || tryParse(parse4, code, id);
8046
8046
  const magicString = new MagicString__default["default"](code);
8047
8047
  const uses = {
8048
8048
  module: false,
@@ -8726,7 +8726,7 @@ var require_is_module = __commonJS({
8726
8726
  });
8727
8727
 
8728
8728
  // node_modules/rollup/dist/es/shared/rollup.js
8729
- function decode2(mappings) {
8729
+ function decode(mappings) {
8730
8730
  var decoded = [];
8731
8731
  var line = [];
8732
8732
  var segment = [
@@ -10956,7 +10956,7 @@ function decodedSourcemap(map2) {
10956
10956
  }
10957
10957
  let mappings;
10958
10958
  if (typeof map2.mappings === "string") {
10959
- mappings = decode2(map2.mappings);
10959
+ mappings = decode(map2.mappings);
10960
10960
  } else {
10961
10961
  mappings = map2.mappings;
10962
10962
  }
@@ -12529,9 +12529,9 @@ var init_rollup = __esm({
12529
12529
  this.rawSegments = this.raw[this.generatedCodeLine] = [];
12530
12530
  this.pending = null;
12531
12531
  };
12532
- Mappings2.prototype.addEdit = function addEdit(sourceIndex2, content, loc, nameIndex) {
12532
+ Mappings2.prototype.addEdit = function addEdit(sourceIndex, content, loc, nameIndex) {
12533
12533
  if (content.length) {
12534
- var segment = [this.generatedCodeColumn, sourceIndex2, loc.line, loc.column];
12534
+ var segment = [this.generatedCodeColumn, sourceIndex, loc.line, loc.column];
12535
12535
  if (nameIndex >= 0) {
12536
12536
  segment.push(nameIndex);
12537
12537
  }
@@ -12542,12 +12542,12 @@ var init_rollup = __esm({
12542
12542
  this.advance(content);
12543
12543
  this.pending = null;
12544
12544
  };
12545
- Mappings2.prototype.addUneditedChunk = function addUneditedChunk(sourceIndex2, chunk, original, loc, sourcemapLocations) {
12545
+ Mappings2.prototype.addUneditedChunk = function addUneditedChunk(sourceIndex, chunk, original, loc, sourcemapLocations) {
12546
12546
  var originalCharIndex = chunk.start;
12547
12547
  var first = true;
12548
12548
  while (originalCharIndex < chunk.end) {
12549
12549
  if (this.hires || first || sourcemapLocations.has(originalCharIndex)) {
12550
- this.rawSegments.push([this.generatedCodeColumn, sourceIndex2, loc.line, loc.column]);
12550
+ this.rawSegments.push([this.generatedCodeColumn, sourceIndex, loc.line, loc.column]);
12551
12551
  }
12552
12552
  if (original[originalCharIndex] === "\n") {
12553
12553
  loc.line += 1;
@@ -12670,7 +12670,7 @@ var init_rollup = __esm({
12670
12670
  MagicString2.prototype.generateDecodedMap = function generateDecodedMap(options) {
12671
12671
  var this$1$1 = this;
12672
12672
  options = options || {};
12673
- var sourceIndex2 = 0;
12673
+ var sourceIndex = 0;
12674
12674
  var names = Object.keys(this.storedNames);
12675
12675
  var mappings = new Mappings2(options.hires);
12676
12676
  var locate2 = getLocator$1(this.original);
@@ -12684,13 +12684,13 @@ var init_rollup = __esm({
12684
12684
  }
12685
12685
  if (chunk.edited) {
12686
12686
  mappings.addEdit(
12687
- sourceIndex2,
12687
+ sourceIndex,
12688
12688
  chunk.content,
12689
12689
  loc,
12690
12690
  chunk.storeName ? names.indexOf(chunk.original) : -1
12691
12691
  );
12692
12692
  } else {
12693
- mappings.addUneditedChunk(sourceIndex2, chunk, this$1$1.original, loc, this$1$1.sourcemapLocations);
12693
+ mappings.addUneditedChunk(sourceIndex, chunk, this$1$1.original, loc, this$1$1.sourcemapLocations);
12694
12694
  }
12695
12695
  if (chunk.outro.length) {
12696
12696
  mappings.advance(chunk.outro);
@@ -13052,10 +13052,10 @@ var init_rollup = __esm({
13052
13052
  return result2;
13053
13053
  };
13054
13054
  MagicString2.prototype.snip = function snip(start, end) {
13055
- var clone5 = this.clone();
13056
- clone5.remove(0, start);
13057
- clone5.remove(end, clone5.original.length);
13058
- return clone5;
13055
+ var clone4 = this.clone();
13056
+ clone4.remove(0, start);
13057
+ clone4.remove(end, clone4.original.length);
13058
+ return clone4;
13059
13059
  };
13060
13060
  MagicString2.prototype._split = function _split(index2) {
13061
13061
  if (this.byStart[index2] || this.byEnd[index2]) {
@@ -13259,7 +13259,7 @@ var init_rollup = __esm({
13259
13259
  if (i > 0) {
13260
13260
  mappings.advance(this$1$1.separator);
13261
13261
  }
13262
- var sourceIndex2 = source.filename ? this$1$1.uniqueSourceIndexByFilename[source.filename] : -1;
13262
+ var sourceIndex = source.filename ? this$1$1.uniqueSourceIndexByFilename[source.filename] : -1;
13263
13263
  var magicString = source.content;
13264
13264
  var locate2 = getLocator$1(magicString.original);
13265
13265
  if (magicString.intro) {
@@ -13273,14 +13273,14 @@ var init_rollup = __esm({
13273
13273
  if (source.filename) {
13274
13274
  if (chunk.edited) {
13275
13275
  mappings.addEdit(
13276
- sourceIndex2,
13276
+ sourceIndex,
13277
13277
  chunk.content,
13278
13278
  loc,
13279
13279
  chunk.storeName ? names.indexOf(chunk.original) : -1
13280
13280
  );
13281
13281
  } else {
13282
13282
  mappings.addUneditedChunk(
13283
- sourceIndex2,
13283
+ sourceIndex,
13284
13284
  chunk,
13285
13285
  magicString.original,
13286
13286
  loc,
@@ -18669,14 +18669,14 @@ var init_rollup = __esm({
18669
18669
  }
18670
18670
  case "amd": {
18671
18671
  const _ = options.compact ? "" : " ";
18672
- const resolve9 = options.compact ? "c" : "resolve";
18672
+ const resolve8 = options.compact ? "c" : "resolve";
18673
18673
  const reject = options.compact ? "e" : "reject";
18674
18674
  const helper = getInteropHelper(resolution, exportMode, options.interop);
18675
- const resolveNamespace = helper ? `function${_}(m)${_}{${_}${resolve9}(/*#__PURE__*/${helper}(m));${_}}` : resolve9;
18675
+ const resolveNamespace = helper ? `function${_}(m)${_}{${_}${resolve8}(/*#__PURE__*/${helper}(m));${_}}` : resolve8;
18676
18676
  return {
18677
18677
  helper,
18678
18678
  mechanism: {
18679
- left: `new Promise(function${_}(${resolve9},${_}${reject})${_}{${_}require([`,
18679
+ left: `new Promise(function${_}(${resolve8},${_}${reject})${_}{${_}require([`,
18680
18680
  right: `],${_}${resolveNamespace},${_}${reject})${_}})`
18681
18681
  }
18682
18682
  };
@@ -20872,21 +20872,21 @@ var init_rollup = __esm({
20872
20872
  continue;
20873
20873
  const traced = source.traceSegment(segment[2], segment[3], segment.length === 5 ? this.names[segment[4]] : "");
20874
20874
  if (traced) {
20875
- let sourceIndex2 = sources.lastIndexOf(traced.source.filename);
20876
- if (sourceIndex2 === -1) {
20877
- sourceIndex2 = sources.length;
20875
+ let sourceIndex = sources.lastIndexOf(traced.source.filename);
20876
+ if (sourceIndex === -1) {
20877
+ sourceIndex = sources.length;
20878
20878
  sources.push(traced.source.filename);
20879
- sourcesContent[sourceIndex2] = traced.source.content;
20880
- } else if (sourcesContent[sourceIndex2] == null) {
20881
- sourcesContent[sourceIndex2] = traced.source.content;
20882
- } else if (traced.source.content != null && sourcesContent[sourceIndex2] !== traced.source.content) {
20879
+ sourcesContent[sourceIndex] = traced.source.content;
20880
+ } else if (sourcesContent[sourceIndex] == null) {
20881
+ sourcesContent[sourceIndex] = traced.source.content;
20882
+ } else if (traced.source.content != null && sourcesContent[sourceIndex] !== traced.source.content) {
20883
20883
  return error({
20884
20884
  message: `Multiple conflicting contents for sourcemap source ${traced.source.filename}`
20885
20885
  });
20886
20886
  }
20887
20887
  const tracedSegment = [
20888
20888
  segment[0],
20889
- sourceIndex2,
20889
+ sourceIndex,
20890
20890
  traced.line,
20891
20891
  traced.column
20892
20892
  ];
@@ -26793,8 +26793,8 @@ ${next}` : out;
26793
26793
  this.workerCount = 0;
26794
26794
  }
26795
26795
  run(task) {
26796
- return new Promise((resolve9, reject) => {
26797
- this.queue.push({ reject, resolve: resolve9, task });
26796
+ return new Promise((resolve8, reject) => {
26797
+ this.queue.push({ reject, resolve: resolve8, task });
26798
26798
  this.work();
26799
26799
  });
26800
26800
  }
@@ -26804,10 +26804,10 @@ ${next}` : out;
26804
26804
  this.workerCount++;
26805
26805
  let entry;
26806
26806
  while (entry = this.queue.shift()) {
26807
- const { reject, resolve: resolve9, task } = entry;
26807
+ const { reject, resolve: resolve8, task } = entry;
26808
26808
  try {
26809
26809
  const result2 = await task();
26810
- resolve9(result2);
26810
+ resolve8(result2);
26811
26811
  } catch (err2) {
26812
26812
  reject(err2);
26813
26813
  }
@@ -28549,18 +28549,18 @@ var ts = (() => {
28549
28549
  function createSortedArray() {
28550
28550
  return [];
28551
28551
  }
28552
- function insertSorted(array, insert4, compare, allowDuplicates) {
28552
+ function insertSorted(array, insert3, compare, allowDuplicates) {
28553
28553
  if (array.length === 0) {
28554
- array.push(insert4);
28554
+ array.push(insert3);
28555
28555
  return true;
28556
28556
  }
28557
- const insertIndex = binarySearch2(array, insert4, identity, compare);
28557
+ const insertIndex = binarySearch2(array, insert3, identity, compare);
28558
28558
  if (insertIndex < 0) {
28559
- array.splice(~insertIndex, 0, insert4);
28559
+ array.splice(~insertIndex, 0, insert3);
28560
28560
  return true;
28561
28561
  }
28562
28562
  if (allowDuplicates) {
28563
- array.splice(insertIndex, 0, insert4);
28563
+ array.splice(insertIndex, 0, insert3);
28564
28564
  return true;
28565
28565
  }
28566
28566
  return false;
@@ -28946,7 +28946,7 @@ var ts = (() => {
28946
28946
  }
28947
28947
  return result2;
28948
28948
  }
28949
- function clone5(object) {
28949
+ function clone4(object) {
28950
28950
  const result2 = {};
28951
28951
  for (const id in object) {
28952
28952
  if (hasOwnProperty2.call(object, id)) {
@@ -29168,7 +29168,7 @@ var ts = (() => {
29168
29168
  function tryCast(value, test) {
29169
29169
  return value !== void 0 && test(value) ? value : void 0;
29170
29170
  }
29171
- function cast4(value, test) {
29171
+ function cast(value, test) {
29172
29172
  if (value !== void 0 && test(value))
29173
29173
  return value;
29174
29174
  return Debug.fail(`Invalid cast. The supplied value ${value} did not pass the test '${Debug.getFunctionName(test)}'.`);
@@ -48778,27 +48778,27 @@ ${lanes.join("\n")}
48778
48778
  parenthesizeConditionOfConditionalExpression: identity,
48779
48779
  parenthesizeBranchOfConditionalExpression: identity,
48780
48780
  parenthesizeExpressionOfExportDefault: identity,
48781
- parenthesizeExpressionOfNew: (expression) => cast4(expression, isLeftHandSideExpression),
48782
- parenthesizeLeftSideOfAccess: (expression) => cast4(expression, isLeftHandSideExpression),
48783
- parenthesizeOperandOfPostfixUnary: (operand) => cast4(operand, isLeftHandSideExpression),
48784
- parenthesizeOperandOfPrefixUnary: (operand) => cast4(operand, isUnaryExpression),
48785
- parenthesizeExpressionsOfCommaDelimitedList: (nodes) => cast4(nodes, isNodeArray),
48781
+ parenthesizeExpressionOfNew: (expression) => cast(expression, isLeftHandSideExpression),
48782
+ parenthesizeLeftSideOfAccess: (expression) => cast(expression, isLeftHandSideExpression),
48783
+ parenthesizeOperandOfPostfixUnary: (operand) => cast(operand, isLeftHandSideExpression),
48784
+ parenthesizeOperandOfPrefixUnary: (operand) => cast(operand, isUnaryExpression),
48785
+ parenthesizeExpressionsOfCommaDelimitedList: (nodes) => cast(nodes, isNodeArray),
48786
48786
  parenthesizeExpressionForDisallowedComma: identity,
48787
48787
  parenthesizeExpressionOfExpressionStatement: identity,
48788
48788
  parenthesizeConciseBodyOfArrowFunction: identity,
48789
48789
  parenthesizeCheckTypeOfConditionalType: identity,
48790
48790
  parenthesizeExtendsTypeOfConditionalType: identity,
48791
- parenthesizeConstituentTypesOfUnionType: (nodes) => cast4(nodes, isNodeArray),
48791
+ parenthesizeConstituentTypesOfUnionType: (nodes) => cast(nodes, isNodeArray),
48792
48792
  parenthesizeConstituentTypeOfUnionType: identity,
48793
- parenthesizeConstituentTypesOfIntersectionType: (nodes) => cast4(nodes, isNodeArray),
48793
+ parenthesizeConstituentTypesOfIntersectionType: (nodes) => cast(nodes, isNodeArray),
48794
48794
  parenthesizeConstituentTypeOfIntersectionType: identity,
48795
48795
  parenthesizeOperandOfTypeOperator: identity,
48796
48796
  parenthesizeOperandOfReadonlyTypeOperator: identity,
48797
48797
  parenthesizeNonArrayTypeOfPostfixType: identity,
48798
- parenthesizeElementTypesOfTupleType: (nodes) => cast4(nodes, isNodeArray),
48798
+ parenthesizeElementTypesOfTupleType: (nodes) => cast(nodes, isNodeArray),
48799
48799
  parenthesizeElementTypeOfTupleType: identity,
48800
48800
  parenthesizeTypeOfOptionalType: identity,
48801
- parenthesizeTypeArguments: (nodes) => nodes && cast4(nodes, isNodeArray),
48801
+ parenthesizeTypeArguments: (nodes) => nodes && cast(nodes, isNodeArray),
48802
48802
  parenthesizeLeadingTypeArgument: identity
48803
48803
  };
48804
48804
  }
@@ -48883,7 +48883,7 @@ ${lanes.join("\n")}
48883
48883
  element
48884
48884
  ) : expression;
48885
48885
  }
48886
- return cast4(element, isExpression);
48886
+ return cast(element, isExpression);
48887
48887
  }
48888
48888
  function convertToObjectAssignmentElement(element) {
48889
48889
  if (isBindingElement(element)) {
@@ -48898,7 +48898,7 @@ ${lanes.join("\n")}
48898
48898
  Debug.assertNode(element.name, isIdentifier);
48899
48899
  return setOriginalNode(setTextRange(factory2.createShorthandPropertyAssignment(element.name, element.initializer), element), element);
48900
48900
  }
48901
- return cast4(element, isObjectLiteralElementLike);
48901
+ return cast(element, isObjectLiteralElementLike);
48902
48902
  }
48903
48903
  function convertToAssignmentPattern(node) {
48904
48904
  switch (node.kind) {
@@ -48920,7 +48920,7 @@ ${lanes.join("\n")}
48920
48920
  node
48921
48921
  );
48922
48922
  }
48923
- return cast4(node, isObjectLiteralExpression);
48923
+ return cast(node, isObjectLiteralExpression);
48924
48924
  }
48925
48925
  function convertToArrayAssignmentPattern(node) {
48926
48926
  if (isArrayBindingPattern(node)) {
@@ -48932,13 +48932,13 @@ ${lanes.join("\n")}
48932
48932
  node
48933
48933
  );
48934
48934
  }
48935
- return cast4(node, isArrayLiteralExpression);
48935
+ return cast(node, isArrayLiteralExpression);
48936
48936
  }
48937
48937
  function convertToAssignmentElementTarget(node) {
48938
48938
  if (isBindingPattern(node)) {
48939
48939
  return convertToAssignmentPattern(node);
48940
48940
  }
48941
- return cast4(node, isExpression);
48941
+ return cast(node, isExpression);
48942
48942
  }
48943
48943
  }
48944
48944
  var nullNodeConverters;
@@ -51101,7 +51101,7 @@ ${lanes.join("\n")}
51101
51101
  }
51102
51102
  function updatePropertyAccessExpression(node, expression, name) {
51103
51103
  if (isPropertyAccessChain(node)) {
51104
- return updatePropertyAccessChain(node, expression, node.questionDotToken, cast4(name, isIdentifier));
51104
+ return updatePropertyAccessChain(node, expression, node.questionDotToken, cast(name, isIdentifier));
51105
51105
  }
51106
51106
  return node.expression !== expression || node.name !== name ? update(createPropertyAccessExpression(expression, name), node) : node;
51107
51107
  }
@@ -67581,7 +67581,7 @@ ${lanes.join("\n")}
67581
67581
  return { buildOptions, watchOptions, projects, errors };
67582
67582
  }
67583
67583
  function getDiagnosticText(message, ...args) {
67584
- return cast4(createCompilerDiagnostic(message, ...args).messageText, isString3);
67584
+ return cast(createCompilerDiagnostic(message, ...args).messageText, isString3);
67585
67585
  }
67586
67586
  function getParsedCommandLineOfConfigFile(configFileName, optionsToExtend, host, extendedConfigCache, watchOptionsToExtend, extraFileExtensions) {
67587
67587
  const configFileText = tryReadFile(configFileName, (fileName) => host.readFile(fileName));
@@ -76012,7 +76012,7 @@ ${lanes.join("\n")}
76012
76012
  );
76013
76013
  addLateBoundAssignmentDeclarationToSymbol(node, sym);
76014
76014
  } else {
76015
- bindStaticPropertyAssignment(cast4(node.left, isBindableStaticNameExpression));
76015
+ bindStaticPropertyAssignment(cast(node.left, isBindableStaticNameExpression));
76016
76016
  }
76017
76017
  }
76018
76018
  function bindStaticPropertyAssignment(node) {
@@ -83874,7 +83874,7 @@ ${lanes.join("\n")}
83874
83874
  modifiers,
83875
83875
  /*asteriskToken*/
83876
83876
  void 0,
83877
- (options == null ? void 0 : options.name) ? cast4(options.name, isIdentifier) : factory.createIdentifier(""),
83877
+ (options == null ? void 0 : options.name) ? cast(options.name, isIdentifier) : factory.createIdentifier(""),
83878
83878
  typeParameters,
83879
83879
  parameters,
83880
83880
  returnTypeNode,
@@ -83884,7 +83884,7 @@ ${lanes.join("\n")}
83884
83884
  modifiers,
83885
83885
  /*asteriskToken*/
83886
83886
  void 0,
83887
- (options == null ? void 0 : options.name) ? cast4(options.name, isIdentifier) : factory.createIdentifier(""),
83887
+ (options == null ? void 0 : options.name) ? cast(options.name, isIdentifier) : factory.createIdentifier(""),
83888
83888
  typeParameters,
83889
83889
  parameters,
83890
83890
  returnTypeNode,
@@ -85082,7 +85082,7 @@ ${lanes.join("\n")}
85082
85082
  void 0,
85083
85083
  /*isTypeOnly*/
85084
85084
  false,
85085
- factory.createNamedExports(flatMap(exports2, (e) => cast4(e.exportClause, isNamedExports).elements)),
85085
+ factory.createNamedExports(flatMap(exports2, (e) => cast(e.exportClause, isNamedExports).elements)),
85086
85086
  /*moduleSpecifier*/
85087
85087
  void 0
85088
85088
  )
@@ -85101,7 +85101,7 @@ ${lanes.join("\n")}
85101
85101
  void 0,
85102
85102
  /*isTypeOnly*/
85103
85103
  false,
85104
- factory.createNamedExports(flatMap(group2, (e) => cast4(e.exportClause, isNamedExports).elements)),
85104
+ factory.createNamedExports(flatMap(group2, (e) => cast(e.exportClause, isNamedExports).elements)),
85105
85105
  group2[0].moduleSpecifier
85106
85106
  )
85107
85107
  ];
@@ -89081,9 +89081,9 @@ ${lanes.join("\n")}
89081
89081
  if (baseTypes.length) {
89082
89082
  if (source.symbol && members === getMembersOfSymbol(source.symbol)) {
89083
89083
  const symbolTable = createSymbolTable(source.declaredProperties);
89084
- const sourceIndex2 = getIndexSymbol(source.symbol);
89085
- if (sourceIndex2) {
89086
- symbolTable.set("__index", sourceIndex2);
89084
+ const sourceIndex = getIndexSymbol(source.symbol);
89085
+ if (sourceIndex) {
89086
+ symbolTable.set("__index", sourceIndex);
89087
89087
  }
89088
89088
  members = symbolTable;
89089
89089
  }
@@ -92775,8 +92775,8 @@ ${lanes.join("\n")}
92775
92775
  i--;
92776
92776
  const t = types3[i];
92777
92777
  const flags = t.flags;
92778
- const remove4 = flags & (128 | 134217728 | 268435456) && includes & 4 || flags & 256 && includes & 8 || flags & 2048 && includes & 64 || flags & 8192 && includes & 4096 || reduceVoidUndefined && flags & 32768 && includes & 16384 || isFreshLiteralType(t) && containsType(types3, t.regularType);
92779
- if (remove4) {
92778
+ const remove3 = flags & (128 | 134217728 | 268435456) && includes & 4 || flags & 256 && includes & 8 || flags & 2048 && includes & 64 || flags & 8192 && includes & 4096 || reduceVoidUndefined && flags & 32768 && includes & 16384 || isFreshLiteralType(t) && containsType(types3, t.regularType);
92779
+ if (remove3) {
92780
92780
  orderedRemoveItemAt(types3, i);
92781
92781
  }
92782
92782
  }
@@ -93042,8 +93042,8 @@ ${lanes.join("\n")}
93042
93042
  while (i > 0) {
93043
93043
  i--;
93044
93044
  const t = types3[i];
93045
- const remove4 = t.flags & 4 && includes & (128 | 134217728 | 268435456) || t.flags & 8 && includes & 256 || t.flags & 64 && includes & 2048 || t.flags & 4096 && includes & 8192 || t.flags & 16384 && includes & 32768 || isEmptyAnonymousObjectType(t) && includes & 470302716;
93046
- if (remove4) {
93045
+ const remove3 = t.flags & 4 && includes & (128 | 134217728 | 268435456) || t.flags & 8 && includes & 256 || t.flags & 64 && includes & 2048 || t.flags & 4096 && includes & 8192 || t.flags & 16384 && includes & 32768 || isEmptyAnonymousObjectType(t) && includes & 470302716;
93046
+ if (remove3) {
93047
93047
  orderedRemoveItemAt(types3, i);
93048
93048
  }
93049
93049
  }
@@ -100846,8 +100846,8 @@ ${lanes.join("\n")}
100846
100846
  const targetSignatures = getSignaturesOfType(target, kind);
100847
100847
  const targetLen = targetSignatures.length;
100848
100848
  for (let i = 0; i < targetLen; i++) {
100849
- const sourceIndex2 = Math.max(sourceLen - targetLen + i, 0);
100850
- inferFromSignature(getBaseSignature(sourceSignatures[sourceIndex2]), getErasedSignature(targetSignatures[i]));
100849
+ const sourceIndex = Math.max(sourceLen - targetLen + i, 0);
100850
+ inferFromSignature(getBaseSignature(sourceSignatures[sourceIndex]), getErasedSignature(targetSignatures[i]));
100851
100851
  }
100852
100852
  }
100853
100853
  }
@@ -104555,7 +104555,7 @@ ${lanes.join("\n")}
104555
104555
  if (!decl2) {
104556
104556
  return void 0;
104557
104557
  }
104558
- const lhs = cast4(binaryExpression.left, isAccessExpression);
104558
+ const lhs = cast(binaryExpression.left, isAccessExpression);
104559
104559
  const overallAnnotation = getEffectiveTypeAnnotationNode(decl2);
104560
104560
  if (overallAnnotation) {
104561
104561
  return getTypeFromTypeNode(overallAnnotation);
@@ -104638,7 +104638,7 @@ ${lanes.join("\n")}
104638
104638
  }
104639
104639
  }
104640
104640
  }
104641
- const thisAccess = cast4(binaryExpression.left, isAccessExpression);
104641
+ const thisAccess = cast(binaryExpression.left, isAccessExpression);
104642
104642
  if (!isObjectLiteralMethod(getThisContainer(
104643
104643
  thisAccess.expression,
104644
104644
  /*includeArrowFunctions*/
@@ -115177,7 +115177,7 @@ ${lanes.join("\n")}
115177
115177
  return idText(name);
115178
115178
  case 207:
115179
115179
  case 206:
115180
- return bindingNameText(cast4(first(name.elements), isBindingElement).name);
115180
+ return bindingNameText(cast(first(name.elements), isBindingElement).name);
115181
115181
  default:
115182
115182
  return Debug.assertNever(name);
115183
115183
  }
@@ -119772,18 +119772,18 @@ ${lanes.join("\n")}
119772
119772
  return checkDestructuringAssignment(expr, iteratedType || errorType);
119773
119773
  }
119774
119774
  if (expr.parent.kind === 303) {
119775
- const node2 = cast4(expr.parent.parent, isObjectLiteralExpression);
119775
+ const node2 = cast(expr.parent.parent, isObjectLiteralExpression);
119776
119776
  const typeOfParentObjectLiteral = getTypeOfAssignmentPattern(node2) || errorType;
119777
119777
  const propertyIndex = indexOfNode(node2.properties, expr.parent);
119778
119778
  return checkObjectLiteralDestructuringPropertyAssignment(node2, typeOfParentObjectLiteral, propertyIndex);
119779
119779
  }
119780
- const node = cast4(expr.parent, isArrayLiteralExpression);
119780
+ const node = cast(expr.parent, isArrayLiteralExpression);
119781
119781
  const typeOfArrayLiteral = getTypeOfAssignmentPattern(node) || errorType;
119782
119782
  const elementType = checkIteratedTypeOrElementType(65, typeOfArrayLiteral, undefinedType, expr.parent) || errorType;
119783
119783
  return checkArrayLiteralDestructuringElementAssignment(node, typeOfArrayLiteral, node.elements.indexOf(expr), elementType);
119784
119784
  }
119785
119785
  function getPropertySymbolOfDestructuringAssignment(location) {
119786
- const typeOfObjectLiteral = getTypeOfAssignmentPattern(cast4(location.parent.parent, isAssignmentPattern));
119786
+ const typeOfObjectLiteral = getTypeOfAssignmentPattern(cast(location.parent.parent, isAssignmentPattern));
119787
119787
  return typeOfObjectLiteral && getPropertyOfType(typeOfObjectLiteral, location.escapedText);
119788
119788
  }
119789
119789
  function getRegularTypeOfExpression(expr) {
@@ -124646,25 +124646,25 @@ ${lanes.join("\n")}
124646
124646
  /*isAbsolutePathAnUrl*/
124647
124647
  true
124648
124648
  );
124649
- let sourceIndex2 = sourceToSourceIndexMap.get(source);
124650
- if (sourceIndex2 === void 0) {
124651
- sourceIndex2 = sources.length;
124649
+ let sourceIndex = sourceToSourceIndexMap.get(source);
124650
+ if (sourceIndex === void 0) {
124651
+ sourceIndex = sources.length;
124652
124652
  sources.push(source);
124653
124653
  rawSources.push(fileName);
124654
- sourceToSourceIndexMap.set(source, sourceIndex2);
124654
+ sourceToSourceIndexMap.set(source, sourceIndex);
124655
124655
  }
124656
124656
  exit();
124657
- return sourceIndex2;
124657
+ return sourceIndex;
124658
124658
  }
124659
- function setSourceContent2(sourceIndex2, content) {
124659
+ function setSourceContent2(sourceIndex, content) {
124660
124660
  enter();
124661
124661
  if (content !== null) {
124662
124662
  if (!sourcesContent)
124663
124663
  sourcesContent = [];
124664
- while (sourcesContent.length < sourceIndex2) {
124664
+ while (sourcesContent.length < sourceIndex) {
124665
124665
  sourcesContent.push(null);
124666
124666
  }
124667
- sourcesContent[sourceIndex2] = content;
124667
+ sourcesContent[sourceIndex] = content;
124668
124668
  }
124669
124669
  exit();
124670
124670
  }
@@ -124684,17 +124684,17 @@ ${lanes.join("\n")}
124684
124684
  function isNewGeneratedPosition(generatedLine, generatedCharacter) {
124685
124685
  return !hasPending || pendingGeneratedLine !== generatedLine || pendingGeneratedCharacter !== generatedCharacter;
124686
124686
  }
124687
- function isBacktrackingSourcePosition(sourceIndex2, sourceLine, sourceCharacter) {
124688
- return sourceIndex2 !== void 0 && sourceLine !== void 0 && sourceCharacter !== void 0 && pendingSourceIndex === sourceIndex2 && (pendingSourceLine > sourceLine || pendingSourceLine === sourceLine && pendingSourceCharacter > sourceCharacter);
124687
+ function isBacktrackingSourcePosition(sourceIndex, sourceLine, sourceCharacter) {
124688
+ return sourceIndex !== void 0 && sourceLine !== void 0 && sourceCharacter !== void 0 && pendingSourceIndex === sourceIndex && (pendingSourceLine > sourceLine || pendingSourceLine === sourceLine && pendingSourceCharacter > sourceCharacter);
124689
124689
  }
124690
- function addMapping(generatedLine, generatedCharacter, sourceIndex2, sourceLine, sourceCharacter, nameIndex) {
124690
+ function addMapping(generatedLine, generatedCharacter, sourceIndex, sourceLine, sourceCharacter, nameIndex) {
124691
124691
  Debug.assert(generatedLine >= pendingGeneratedLine, "generatedLine cannot backtrack");
124692
124692
  Debug.assert(generatedCharacter >= 0, "generatedCharacter cannot be negative");
124693
- Debug.assert(sourceIndex2 === void 0 || sourceIndex2 >= 0, "sourceIndex cannot be negative");
124693
+ Debug.assert(sourceIndex === void 0 || sourceIndex >= 0, "sourceIndex cannot be negative");
124694
124694
  Debug.assert(sourceLine === void 0 || sourceLine >= 0, "sourceLine cannot be negative");
124695
124695
  Debug.assert(sourceCharacter === void 0 || sourceCharacter >= 0, "sourceCharacter cannot be negative");
124696
124696
  enter();
124697
- if (isNewGeneratedPosition(generatedLine, generatedCharacter) || isBacktrackingSourcePosition(sourceIndex2, sourceLine, sourceCharacter)) {
124697
+ if (isNewGeneratedPosition(generatedLine, generatedCharacter) || isBacktrackingSourcePosition(sourceIndex, sourceLine, sourceCharacter)) {
124698
124698
  commitPendingMapping();
124699
124699
  pendingGeneratedLine = generatedLine;
124700
124700
  pendingGeneratedCharacter = generatedCharacter;
@@ -124702,8 +124702,8 @@ ${lanes.join("\n")}
124702
124702
  hasPendingName = false;
124703
124703
  hasPending = true;
124704
124704
  }
124705
- if (sourceIndex2 !== void 0 && sourceLine !== void 0 && sourceCharacter !== void 0) {
124706
- pendingSourceIndex = sourceIndex2;
124705
+ if (sourceIndex !== void 0 && sourceLine !== void 0 && sourceCharacter !== void 0) {
124706
+ pendingSourceIndex = sourceIndex;
124707
124707
  pendingSourceLine = sourceLine;
124708
124708
  pendingSourceCharacter = sourceCharacter;
124709
124709
  hasPendingSource = true;
@@ -124884,7 +124884,7 @@ ${lanes.join("\n")}
124884
124884
  let pos = 0;
124885
124885
  let generatedLine = 0;
124886
124886
  let generatedCharacter = 0;
124887
- let sourceIndex2 = 0;
124887
+ let sourceIndex = 0;
124888
124888
  let sourceLine = 0;
124889
124889
  let sourceCharacter = 0;
124890
124890
  let nameIndex = 0;
@@ -124926,10 +124926,10 @@ ${lanes.join("\n")}
124926
124926
  return setErrorAndStopIterating("Invalid generatedCharacter found");
124927
124927
  if (!isSourceMappingSegmentEnd()) {
124928
124928
  hasSource = true;
124929
- sourceIndex2 += base64VLQFormatDecode();
124929
+ sourceIndex += base64VLQFormatDecode();
124930
124930
  if (hasReportedError())
124931
124931
  return stopIterating();
124932
- if (sourceIndex2 < 0)
124932
+ if (sourceIndex < 0)
124933
124933
  return setErrorAndStopIterating("Invalid sourceIndex found");
124934
124934
  if (isSourceMappingSegmentEnd())
124935
124935
  return setErrorAndStopIterating("Unsupported Format: No entries after sourceIndex");
@@ -124968,7 +124968,7 @@ ${lanes.join("\n")}
124968
124968
  return {
124969
124969
  generatedLine,
124970
124970
  generatedCharacter,
124971
- sourceIndex: hasSource ? sourceIndex2 : void 0,
124971
+ sourceIndex: hasSource ? sourceIndex : void 0,
124972
124972
  sourceLine: hasSource ? sourceLine : void 0,
124973
124973
  sourceCharacter: hasSource ? sourceCharacter : void 0,
124974
124974
  nameIndex: hasName ? nameIndex : void 0
@@ -125062,7 +125062,7 @@ ${lanes.join("\n")}
125062
125062
  getGeneratedPosition
125063
125063
  };
125064
125064
  function processMapping(mapping) {
125065
- const generatedPosition2 = generatedFile !== void 0 ? getPositionOfLineAndCharacter(
125065
+ const generatedPosition = generatedFile !== void 0 ? getPositionOfLineAndCharacter(
125066
125066
  generatedFile,
125067
125067
  mapping.generatedLine,
125068
125068
  mapping.generatedCharacter,
@@ -125083,7 +125083,7 @@ ${lanes.join("\n")}
125083
125083
  ) : -1;
125084
125084
  }
125085
125085
  return {
125086
- generatedPosition: generatedPosition2,
125086
+ generatedPosition,
125087
125087
  source,
125088
125088
  sourceIndex: mapping.sourceIndex,
125089
125089
  sourcePosition,
@@ -125105,7 +125105,7 @@ ${lanes.join("\n")}
125105
125105
  }
125106
125106
  return decodedMappings2;
125107
125107
  }
125108
- function getSourceMappings(sourceIndex2) {
125108
+ function getSourceMappings(sourceIndex) {
125109
125109
  if (sourceMappings === void 0) {
125110
125110
  const lists = [];
125111
125111
  for (const mapping of getDecodedMappings()) {
@@ -125118,7 +125118,7 @@ ${lanes.join("\n")}
125118
125118
  }
125119
125119
  sourceMappings = lists.map((list) => sortAndDeduplicate(list, compareSourcePositions, sameMappedPosition));
125120
125120
  }
125121
- return sourceMappings[sourceIndex2];
125121
+ return sourceMappings[sourceIndex];
125122
125122
  }
125123
125123
  function getGeneratedMappings() {
125124
125124
  if (generatedMappings === void 0) {
@@ -125131,10 +125131,10 @@ ${lanes.join("\n")}
125131
125131
  return generatedMappings;
125132
125132
  }
125133
125133
  function getGeneratedPosition(loc) {
125134
- const sourceIndex2 = sourceToSourceIndexMap.get(host.getCanonicalFileName(loc.fileName));
125135
- if (sourceIndex2 === void 0)
125134
+ const sourceIndex = sourceToSourceIndexMap.get(host.getCanonicalFileName(loc.fileName));
125135
+ if (sourceIndex === void 0)
125136
125136
  return loc;
125137
- const sourceMappings2 = getSourceMappings(sourceIndex2);
125137
+ const sourceMappings2 = getSourceMappings(sourceIndex);
125138
125138
  if (!some(sourceMappings2))
125139
125139
  return loc;
125140
125140
  let targetIndex = binarySearchKey(sourceMappings2, loc.pos, getSourcePositionOfMapping, compareValues);
@@ -125142,7 +125142,7 @@ ${lanes.join("\n")}
125142
125142
  targetIndex = ~targetIndex;
125143
125143
  }
125144
125144
  const mapping = sourceMappings2[targetIndex];
125145
- if (mapping === void 0 || mapping.sourceIndex !== sourceIndex2) {
125145
+ if (mapping === void 0 || mapping.sourceIndex !== sourceIndex) {
125146
125146
  return loc;
125147
125147
  }
125148
125148
  return { fileName: generatedAbsoluteFilePath, pos: mapping.generatedPosition };
@@ -125350,7 +125350,7 @@ ${lanes.join("\n")}
125350
125350
  }
125351
125351
  return { externalImports, exportSpecifiers, exportEquals, hasExportStarsToExportValues, exportedBindings, exportedNames, externalHelpersImportDeclaration };
125352
125352
  function addExportedNamesForExportDeclaration(node) {
125353
- for (const specifier of cast4(node.exportClause, isNamedExports).elements) {
125353
+ for (const specifier of cast(node.exportClause, isNamedExports).elements) {
125354
125354
  if (!uniqueExports.get(idText(specifier.name))) {
125355
125355
  const name = specifier.propertyName || specifier.name;
125356
125356
  if (!node.moduleSpecifier) {
@@ -126315,7 +126315,7 @@ ${lanes.join("\n")}
126315
126315
  }
126316
126316
  const { factory: factory2 } = context;
126317
126317
  const innerExpression = skipOuterExpressions(expression);
126318
- const updatedExpression = isClassExpression(innerExpression) ? cast4(injectClassNamedEvaluationHelperBlockIfMissing(context, innerExpression, assignedName), isClassExpression) : context.getEmitHelperFactory().createSetFunctionNameHelper(innerExpression, assignedName);
126318
+ const updatedExpression = isClassExpression(innerExpression) ? cast(injectClassNamedEvaluationHelperBlockIfMissing(context, innerExpression, assignedName), isClassExpression) : context.getEmitHelperFactory().createSetFunctionNameHelper(innerExpression, assignedName);
126319
126319
  return factory2.restoreOuterExpressions(expression, updatedExpression);
126320
126320
  }
126321
126321
  function transformNamedEvaluationOfPropertyAssignment(context, node, ignoreEmptyStringLiteral, assignedNameText) {
@@ -136132,7 +136132,7 @@ ${lanes.join("\n")}
136132
136132
  Debug.assertNotNode(chain, isNonNullChain);
136133
136133
  const links = [chain];
136134
136134
  while (!chain.questionDotToken && !isTaggedTemplateExpression(chain)) {
136135
- chain = cast4(skipPartiallyEmittedExpressions(chain.expression), isOptionalChain);
136135
+ chain = cast(skipPartiallyEmittedExpressions(chain.expression), isOptionalChain);
136136
136136
  Debug.assertNotNode(chain, isNonNullChain);
136137
136137
  links.unshift(chain);
136138
136138
  }
@@ -141329,7 +141329,7 @@ ${lanes.join("\n")}
141329
141329
  );
141330
141330
  }
141331
141331
  function visitTypeScriptClassWrapper(node) {
141332
- const body = cast4(cast4(skipOuterExpressions(node.expression), isArrowFunction).body, isBlock);
141332
+ const body = cast(cast(skipOuterExpressions(node.expression), isArrowFunction).body, isBlock);
141333
141333
  const isVariableStatementWithInitializer = (stmt) => isVariableStatement(stmt) && !!first(stmt.declarationList.declarations).initializer;
141334
141334
  const savedConvertedLoopState = convertedLoopState;
141335
141335
  convertedLoopState = void 0;
@@ -141337,15 +141337,15 @@ ${lanes.join("\n")}
141337
141337
  convertedLoopState = savedConvertedLoopState;
141338
141338
  const classStatements = filter2(bodyStatements, isVariableStatementWithInitializer);
141339
141339
  const remainingStatements = filter2(bodyStatements, (stmt) => !isVariableStatementWithInitializer(stmt));
141340
- const varStatement = cast4(first(classStatements), isVariableStatement);
141340
+ const varStatement = cast(first(classStatements), isVariableStatement);
141341
141341
  const variable = varStatement.declarationList.declarations[0];
141342
141342
  const initializer = skipOuterExpressions(variable.initializer);
141343
141343
  let aliasAssignment = tryCast(initializer, isAssignmentExpression);
141344
141344
  if (!aliasAssignment && isBinaryExpression(initializer) && initializer.operatorToken.kind === 28) {
141345
141345
  aliasAssignment = tryCast(initializer.left, isAssignmentExpression);
141346
141346
  }
141347
- const call = cast4(aliasAssignment ? skipOuterExpressions(aliasAssignment.right) : initializer, isCallExpression);
141348
- const func = cast4(skipOuterExpressions(call.expression), isFunctionExpression);
141347
+ const call = cast(aliasAssignment ? skipOuterExpressions(aliasAssignment.right) : initializer, isCallExpression);
141348
+ const func = cast(skipOuterExpressions(call.expression), isFunctionExpression);
141349
141349
  const funcStatements = func.body.statements;
141350
141350
  let classBodyStart = 0;
141351
141351
  let classBodyEnd = -1;
@@ -141362,7 +141362,7 @@ ${lanes.join("\n")}
141362
141362
  factory2.createExpressionStatement(
141363
141363
  factory2.createAssignment(
141364
141364
  aliasAssignment.left,
141365
- cast4(variable.name, isIdentifier)
141365
+ cast(variable.name, isIdentifier)
141366
141366
  )
141367
141367
  )
141368
141368
  );
@@ -144866,7 +144866,7 @@ ${lanes.join("\n")}
144866
144866
  }
144867
144867
  }
144868
144868
  function createImportCallExpressionAMD(arg, containsLexicalThis) {
144869
- const resolve9 = factory2.createUniqueName("resolve");
144869
+ const resolve8 = factory2.createUniqueName("resolve");
144870
144870
  const reject = factory2.createUniqueName("reject");
144871
144871
  const parameters = [
144872
144872
  factory2.createParameterDeclaration(
@@ -144875,7 +144875,7 @@ ${lanes.join("\n")}
144875
144875
  /*dotDotDotToken*/
144876
144876
  void 0,
144877
144877
  /*name*/
144878
- resolve9
144878
+ resolve8
144879
144879
  ),
144880
144880
  factory2.createParameterDeclaration(
144881
144881
  /*modifiers*/
@@ -144892,7 +144892,7 @@ ${lanes.join("\n")}
144892
144892
  factory2.createIdentifier("require"),
144893
144893
  /*typeArguments*/
144894
144894
  void 0,
144895
- [factory2.createArrayLiteralExpression([arg || factory2.createOmittedExpression()]), resolve9, reject]
144895
+ [factory2.createArrayLiteralExpression([arg || factory2.createOmittedExpression()]), resolve8, reject]
144896
144896
  )
144897
144897
  )
144898
144898
  ]);
@@ -151566,19 +151566,19 @@ ${lanes.join("\n")}
151566
151566
  }
151567
151567
  }
151568
151568
  if (hint === 0)
151569
- return emitSourceFile(cast4(node, isSourceFile));
151569
+ return emitSourceFile(cast(node, isSourceFile));
151570
151570
  if (hint === 2)
151571
- return emitIdentifier(cast4(node, isIdentifier));
151571
+ return emitIdentifier(cast(node, isIdentifier));
151572
151572
  if (hint === 6)
151573
151573
  return emitLiteral(
151574
- cast4(node, isStringLiteral),
151574
+ cast(node, isStringLiteral),
151575
151575
  /*jsxAttributeEscape*/
151576
151576
  true
151577
151577
  );
151578
151578
  if (hint === 3)
151579
- return emitMappedTypeParameter(cast4(node, isTypeParameterDeclaration));
151579
+ return emitMappedTypeParameter(cast(node, isTypeParameterDeclaration));
151580
151580
  if (hint === 7)
151581
- return emitImportTypeNodeAttributes(cast4(node, isImportAttributes));
151581
+ return emitImportTypeNodeAttributes(cast(node, isImportAttributes));
151582
151582
  if (hint === 5) {
151583
151583
  Debug.assertNode(node, isEmptyStatement);
151584
151584
  return emitEmptyStatement(
@@ -152133,7 +152133,7 @@ ${lanes.join("\n")}
152133
152133
  const pos = getTextPosWithWriteLine();
152134
152134
  writeUnparsedNode(unparsed);
152135
152135
  if (bundleFileInfo) {
152136
- const section = clone5(unparsed.section);
152136
+ const section = clone4(unparsed.section);
152137
152137
  section.pos = pos;
152138
152138
  section.end = writer.getTextPos();
152139
152139
  bundleFileInfo.sections.push(section);
@@ -152895,7 +152895,7 @@ ${lanes.join("\n")}
152895
152895
  let pipelinePhase = getPipelinePhase(0, 1, next);
152896
152896
  if (pipelinePhase === pipelineEmitWithSubstitution) {
152897
152897
  Debug.assertIsDefined(lastSubstitution);
152898
- next = parenthesizerRule(cast4(lastSubstitution, isExpression));
152898
+ next = parenthesizerRule(cast(lastSubstitution, isExpression));
152899
152899
  pipelinePhase = getNextPipelinePhase(1, 1, next);
152900
152900
  lastSubstitution = void 0;
152901
152901
  }
@@ -155993,9 +155993,9 @@ ${lanes.join("\n")}
155993
155993
  mostRecentlyAddedSourceMapSource = source;
155994
155994
  mostRecentlyAddedSourceMapSourceIndex = sourceMapSourceIndex;
155995
155995
  }
155996
- function resetSourceMapSource(source, sourceIndex2) {
155996
+ function resetSourceMapSource(source, sourceIndex) {
155997
155997
  sourceMapSource = source;
155998
- sourceMapSourceIndex = sourceIndex2;
155998
+ sourceMapSourceIndex = sourceIndex;
155999
155999
  }
156000
156000
  function isJsonSourceMapSource(sourceFile) {
156001
156001
  return fileExtensionIs(
@@ -169389,7 +169389,7 @@ ${lanes.join("\n")}
169389
169389
  return false;
169390
169390
  }
169391
169391
  function cloneCompilerOptions(options) {
169392
- const result2 = clone5(options);
169392
+ const result2 = clone4(options);
169393
169393
  setConfigFileInOptions(result2, options && options.configFile);
169394
169394
  return result2;
169395
169395
  }
@@ -169671,7 +169671,7 @@ ${lanes.join("\n")}
169671
169671
  }
169672
169672
  function getTypeKeywordOfTypeOnlyImport(importClause, sourceFile) {
169673
169673
  Debug.assert(importClause.isTypeOnly);
169674
- return cast4(importClause.getChildAt(0, sourceFile), isTypeKeywordToken);
169674
+ return cast(importClause.getChildAt(0, sourceFile), isTypeKeywordToken);
169675
169675
  }
169676
169676
  function textSpansEqual(a, b) {
169677
169677
  return !!a && !!b && a.start === b.start && a.length === b.length;
@@ -170713,7 +170713,7 @@ ${lanes.join("\n")}
170713
170713
  if (index2 >= 0) {
170714
170714
  const diagnostic = sortedFileDiagnostics[index2];
170715
170715
  Debug.assertEqual(diagnostic.file, node.getSourceFile(), "Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile");
170716
- return cast4(diagnostic, isDiagnosticWithLocation);
170716
+ return cast(diagnostic, isDiagnosticWithLocation);
170717
170717
  }
170718
170718
  }
170719
170719
  function getDiagnosticsWithinSpan(span, sortedFileDiagnostics) {
@@ -172811,7 +172811,7 @@ ${lanes.join("\n")}
172811
172811
  return void 0;
172812
172812
  }
172813
172813
  const keywords2 = [];
172814
- forEachReturnStatement(cast4(func.body, isBlock), (returnStatement2) => {
172814
+ forEachReturnStatement(cast(func.body, isBlock), (returnStatement2) => {
172815
172815
  keywords2.push(findChildOfKind(returnStatement2, 107, sourceFile));
172816
172816
  });
172817
172817
  forEach(aggregateOwnedThrowStatements(func.body), (throwStatement) => {
@@ -176261,7 +176261,7 @@ ${lanes.join("\n")}
176261
176261
  );
176262
176262
  const template = factory.createJSDocTemplateTag(
176263
176263
  factory.createIdentifier("template"),
176264
- constraint && cast4(constraint, isJSDocTypeExpression),
176264
+ constraint && cast(constraint, isJSDocTypeExpression),
176265
176265
  [parameter]
176266
176266
  );
176267
176267
  templates.push(template);
@@ -176461,7 +176461,7 @@ ${lanes.join("\n")}
176461
176461
  return { error: getLocaleSpecificMessage(Diagnostics.Could_not_find_variable_to_inline) };
176462
176462
  }
176463
176463
  function isDeclarationExported(declaration) {
176464
- const variableStatement = cast4(declaration.parent.parent, isVariableStatement);
176464
+ const variableStatement = cast(declaration.parent.parent, isVariableStatement);
176465
176465
  return some(variableStatement.modifiers, isExportModifier);
176466
176466
  }
176467
176467
  function getReferenceNodes(declaration, checker, file) {
@@ -177282,7 +177282,7 @@ ${lanes.join("\n")}
177282
177282
  return d.parent.parent;
177283
177283
  case 208:
177284
177284
  return getTopLevelDeclarationStatement(
177285
- cast4(d.parent.parent, (p) => isVariableDeclaration(p) || isBindingElement(p))
177285
+ cast(d.parent.parent, (p) => isVariableDeclaration(p) || isBindingElement(p))
177286
177286
  );
177287
177287
  default:
177288
177288
  return d;
@@ -177524,7 +177524,7 @@ ${lanes.join("\n")}
177524
177524
  function forEachTopLevelDeclarationInBindingName(name, cb) {
177525
177525
  switch (name.kind) {
177526
177526
  case 80:
177527
- return cb(cast4(name.parent, (x) => isVariableDeclaration(x) || isBindingElement(x)));
177527
+ return cb(cast(name.parent, (x) => isVariableDeclaration(x) || isBindingElement(x)));
177528
177528
  case 207:
177529
177529
  case 206:
177530
177530
  return firstDefined(name.elements, (em) => isOmittedExpression(em) ? void 0 : forEachTopLevelDeclarationInBindingName(em.name, cb));
@@ -184918,7 +184918,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
184918
184918
  return flatMap(registrations, (f) => map2(f.getCodeActions(context), removeFixIdIfFixAllUnavailable(f, diagnostics)));
184919
184919
  }
184920
184920
  function getAllFixes(context) {
184921
- return fixIdToRegistration.get(cast4(context.fixId, isString3)).getAllCodeActions(context);
184921
+ return fixIdToRegistration.get(cast(context.fixId, isString3)).getAllCodeActions(context);
184922
184922
  }
184923
184923
  function createCombinedCodeActions(changes, commands) {
184924
184924
  return { changes, commands };
@@ -187998,10 +187998,10 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
187998
187998
  function getInfo5(sourceFile, pos) {
187999
187999
  const token = getTokenAtPosition(sourceFile, pos);
188000
188000
  if (isIdentifier(token)) {
188001
- const propertySignature = cast4(token.parent.parent, isPropertySignature);
188001
+ const propertySignature = cast(token.parent.parent, isPropertySignature);
188002
188002
  const propertyName = token.getText(sourceFile);
188003
188003
  return {
188004
- container: cast4(propertySignature.parent, isTypeLiteralNode),
188004
+ container: cast(propertySignature.parent, isTypeLiteralNode),
188005
188005
  typeNode: propertySignature.type,
188006
188006
  constraint: propertyName,
188007
188007
  name: propertyName === "K" ? "P" : "K"
@@ -189080,7 +189080,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
189080
189080
  }
189081
189081
  function getModuleSpecifierText(promotedDeclaration) {
189082
189082
  var _a, _b;
189083
- return promotedDeclaration.kind === 271 ? ((_b = tryCast((_a = tryCast(promotedDeclaration.moduleReference, isExternalModuleReference)) == null ? void 0 : _a.expression, isStringLiteralLike)) == null ? void 0 : _b.text) || promotedDeclaration.moduleReference.getText() : cast4(promotedDeclaration.parent.moduleSpecifier, isStringLiteral).text;
189083
+ return promotedDeclaration.kind === 271 ? ((_b = tryCast((_a = tryCast(promotedDeclaration.moduleReference, isExternalModuleReference)) == null ? void 0 : _a.expression, isStringLiteralLike)) == null ? void 0 : _b.text) || promotedDeclaration.moduleReference.getText() : cast(promotedDeclaration.parent.moduleSpecifier, isStringLiteral).text;
189084
189084
  }
189085
189085
  function promoteFromTypeOnly(changes, aliasDeclaration, program, sourceFile, preferences) {
189086
189086
  var _a;
@@ -189768,7 +189768,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
189768
189768
  );
189769
189769
  }
189770
189770
  function getPropertyAccessExpression(sourceFile, pos) {
189771
- return cast4(getTokenAtPosition(sourceFile, pos).parent, isPropertyAccessExpression);
189771
+ return cast(getTokenAtPosition(sourceFile, pos).parent, isPropertyAccessExpression);
189772
189772
  }
189773
189773
  var fixId18, errorCodes21;
189774
189774
  var init_fixNoPropertyAccessFromIndexSignature = __esm2({
@@ -191196,7 +191196,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
191196
191196
  }
191197
191197
  });
191198
191198
  function addMissingNewOperator(changes, sourceFile, span) {
191199
- const call = cast4(findAncestorMatchingSpan2(sourceFile, span), isCallExpression);
191199
+ const call = cast(findAncestorMatchingSpan2(sourceFile, span), isCallExpression);
191200
191200
  const newExpression = factory.createNewExpression(call.expression, call.typeArguments, call.arguments);
191201
191201
  changes.replaceNode(sourceFile, call, newExpression);
191202
191202
  }
@@ -191545,7 +191545,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
191545
191545
  });
191546
191546
  function getClass2(sourceFile, pos) {
191547
191547
  const token = getTokenAtPosition(sourceFile, pos);
191548
- return cast4(token.parent, isClassLike);
191548
+ return cast(token.parent, isClassLike);
191549
191549
  }
191550
191550
  function addMissingMembers(classDeclaration, sourceFile, context, changeTracker, preferences) {
191551
191551
  const extendsNode = getEffectiveBaseTypeNode(classDeclaration);
@@ -191827,7 +191827,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
191827
191827
  changes.replaceNode(sourceFile, node, factory.createPropertyAssignment(node.name, node.objectAssignmentInitializer));
191828
191828
  }
191829
191829
  function getProperty2(sourceFile, pos) {
191830
- return cast4(getTokenAtPosition(sourceFile, pos).parent, isShorthandPropertyAssignment);
191830
+ return cast(getTokenAtPosition(sourceFile, pos).parent, isShorthandPropertyAssignment);
191831
191831
  }
191832
191832
  var fixId29, errorCodes36;
191833
191833
  var init_fixPropertyAssignment = __esm2({
@@ -192170,7 +192170,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
192170
192170
  return createCodeFixAction(fixName3, changes, diag2, fixIdDelete, Diagnostics.Delete_all_unused_declarations);
192171
192171
  }
192172
192172
  function deleteTypeParameters(changes, sourceFile, token) {
192173
- changes.delete(sourceFile, Debug.checkDefined(cast4(token.parent, isDeclarationWithTypeParameterChildren).typeParameters, "The type parameter to delete should exist"));
192173
+ changes.delete(sourceFile, Debug.checkDefined(cast(token.parent, isDeclarationWithTypeParameterChildren).typeParameters, "The type parameter to delete should exist"));
192174
192174
  }
192175
192175
  function isImport(token) {
192176
192176
  return token.kind === 102 || token.kind === 80 && (token.parent.kind === 276 || token.parent.kind === 273);
@@ -192209,7 +192209,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
192209
192209
  if (errorCode === Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code)
192210
192210
  return;
192211
192211
  if (token.kind === 140) {
192212
- token = cast4(token.parent, isInferTypeNode).typeParameter.name;
192212
+ token = cast(token.parent, isInferTypeNode).typeParameter.name;
192213
192213
  }
192214
192214
  if (isIdentifier(token) && canPrefix(token)) {
192215
192215
  changes.replaceNode(sourceFile, token, factory.createIdentifier(`_${token.text}`));
@@ -192405,7 +192405,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
192405
192405
  const result2 = [];
192406
192406
  if (token.kind === 140) {
192407
192407
  const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => changeInferToUnknown(t, sourceFile, token));
192408
- const name = cast4(token.parent, isInferTypeNode).typeParameter.name.text;
192408
+ const name = cast(token.parent, isInferTypeNode).typeParameter.name.text;
192409
192409
  result2.push(createCodeFixAction(fixName3, changes, [Diagnostics.Replace_infer_0_with_unknown, name], fixIdInfer, Diagnostics.Replace_all_unused_infer_with_unknown));
192410
192410
  } else {
192411
192411
  const deletion = ts_textChanges_exports.ChangeTracker.with(context, (t) => tryDeleteDeclaration(
@@ -192577,7 +192577,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
192577
192577
  });
192578
192578
  function doChange28(changes, sourceFile, start) {
192579
192579
  const token = getTokenAtPosition(sourceFile, start);
192580
- const labeledStatement = cast4(token.parent, isLabeledStatement);
192580
+ const labeledStatement = cast(token.parent, isLabeledStatement);
192581
192581
  const pos = token.getStart(sourceFile);
192582
192582
  const statementPos = labeledStatement.statement.getStart(sourceFile);
192583
192583
  const end = positionsAreOnSameLine(pos, statementPos, sourceFile) ? statementPos : skipTrivia(
@@ -192954,7 +192954,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
192954
192954
  /*comment*/
192955
192955
  void 0
192956
192956
  );
192957
- changes.addJSDocTags(sourceFile, cast4(parent2.parent.parent, isExpressionStatement), [typeTag]);
192957
+ changes.addJSDocTags(sourceFile, cast(parent2.parent.parent, isExpressionStatement), [typeTag]);
192958
192958
  }
192959
192959
  importAdder.writeFixes(changes);
192960
192960
  return parent2;
@@ -192984,7 +192984,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
192984
192984
  }
192985
192985
  case Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code:
192986
192986
  if (markSeen(containingFunction)) {
192987
- const param = cast4(parent2, isParameter);
192987
+ const param = cast(parent2, isParameter);
192988
192988
  annotateParameters(changes, importAdder, sourceFile, param, containingFunction, program, host, cancellationToken);
192989
192989
  declaration = param;
192990
192990
  }
@@ -194954,7 +194954,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
194954
194954
  } else if (isPropertyAssignment(declaration)) {
194955
194955
  updatePropertyAssignmentDeclaration(changeTracker, file, declaration, fieldName);
194956
194956
  } else {
194957
- changeTracker.replaceNode(file, declaration, factory.updateParameterDeclaration(declaration, modifiers, declaration.dotDotDotToken, cast4(fieldName, isIdentifier), declaration.questionToken, declaration.type, declaration.initializer));
194957
+ changeTracker.replaceNode(file, declaration, factory.updateParameterDeclaration(declaration, modifiers, declaration.dotDotDotToken, cast(fieldName, isIdentifier), declaration.questionToken, declaration.type, declaration.initializer));
194958
194958
  }
194959
194959
  }
194960
194960
  function insertAccessor(changeTracker, file, accessor, declaration, container) {
@@ -195314,7 +195314,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
195314
195314
  )) {
195315
195315
  Debug.failBadSyntaxKind(parent2);
195316
195316
  }
195317
- const decl = cast4(parent2.parent, isVariableDeclaration);
195317
+ const decl = cast(parent2.parent, isVariableDeclaration);
195318
195318
  const defaultImportName = tryCast(decl.name, isIdentifier);
195319
195319
  const namedImports = isObjectBindingPattern(decl.name) ? tryCreateNamedImportsFromObjectBindingPattern(decl.name) : void 0;
195320
195320
  if (defaultImportName || namedImports) {
@@ -195322,7 +195322,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
195322
195322
  allowSyntheticDefaults: getAllowSyntheticDefaultImports(program.getCompilerOptions()),
195323
195323
  defaultImportName,
195324
195324
  namedImports,
195325
- statement: cast4(decl.parent.parent, isVariableStatement),
195325
+ statement: cast(decl.parent.parent, isVariableStatement),
195326
195326
  required: first(parent2.arguments)
195327
195327
  };
195328
195328
  }
@@ -195577,7 +195577,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
195577
195577
  const mappedTypeParameter = factory.createTypeParameterDeclaration(
195578
195578
  /*modifiers*/
195579
195579
  void 0,
195580
- cast4(parameter.name, isIdentifier),
195580
+ cast(parameter.name, isIdentifier),
195581
195581
  parameter.type
195582
195582
  );
195583
195583
  const mappedIntersectionType = factory.createMappedTypeNode(
@@ -199689,7 +199689,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
199689
199689
  case 358:
199690
199690
  return tryCast(location.parent, isObjectTypeDeclaration);
199691
199691
  case 1:
199692
- const cls = tryCast(lastOrUndefined(cast4(location.parent, isSourceFile).statements), isObjectTypeDeclaration);
199692
+ const cls = tryCast(lastOrUndefined(cast(location.parent, isSourceFile).statements), isObjectTypeDeclaration);
199693
199693
  if (cls && !findChildOfKind(cls, 20, sourceFile)) {
199694
199694
  return cls;
199695
199695
  }
@@ -201518,7 +201518,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
201518
201518
  default:
201519
201519
  return void 0;
201520
201520
  }
201521
- const sym = useLhsSymbol ? checker.getSymbolAtLocation(getNameOfAccessExpression(cast4(node2.left, isAccessExpression))) : symbol;
201521
+ const sym = useLhsSymbol ? checker.getSymbolAtLocation(getNameOfAccessExpression(cast(node2.left, isAccessExpression))) : symbol;
201522
201522
  return sym && exportInfo(sym, kind);
201523
201523
  }
201524
201524
  }
@@ -201628,7 +201628,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
201628
201628
  parent2.kind === 268
201629
201629
  /* ModuleBlock */
201630
201630
  );
201631
- return cast4(parent2.parent, isAmbientModuleDeclaration);
201631
+ return cast(parent2.parent, isAmbientModuleDeclaration);
201632
201632
  }
201633
201633
  function isAmbientModuleDeclaration(node) {
201634
201634
  return node.kind === 267 && node.name.kind === 11;
@@ -202367,7 +202367,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
202367
202367
  if (reference.kind === "import") {
202368
202368
  const parent2 = reference.literal.parent;
202369
202369
  if (isLiteralTypeNode(parent2)) {
202370
- const importType = cast4(parent2.parent, isImportTypeNode);
202370
+ const importType = cast(parent2.parent, isImportTypeNode);
202371
202371
  if (excludeImportTypeOfExportEquals && !importType.qualifier) {
202372
202372
  return void 0;
202373
202373
  }
@@ -203528,7 +203528,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
203528
203528
  if (res)
203529
203529
  return res;
203530
203530
  if (symbol.valueDeclaration && isParameterPropertyDeclaration(symbol.valueDeclaration, symbol.valueDeclaration.parent)) {
203531
- const paramProps = checker.getSymbolsOfParameterPropertyDeclaration(cast4(symbol.valueDeclaration, isParameter), symbol.name);
203531
+ const paramProps = checker.getSymbolsOfParameterPropertyDeclaration(cast(symbol.valueDeclaration, isParameter), symbol.name);
203532
203532
  Debug.assert(paramProps.length === 2 && !!(paramProps[0].flags & 1) && !!(paramProps[1].flags & 4));
203533
203533
  return fromRoot(symbol.flags & 1 ? paramProps[1] : paramProps[0]);
203534
203534
  }
@@ -208924,7 +208924,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
208924
208924
  function getTextPos() {
208925
208925
  return writer.getTextPos();
208926
208926
  }
208927
- function getLine3() {
208927
+ function getLine2() {
208928
208928
  return writer.getLine();
208929
208929
  }
208930
208930
  function getColumn() {
@@ -208965,7 +208965,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
208965
208965
  rawWrite,
208966
208966
  writeLiteral,
208967
208967
  getTextPos,
208968
- getLine: getLine3,
208968
+ getLine: getLine2,
208969
208969
  getColumn,
208970
208970
  getIndent: getIndent2,
208971
208971
  isAtStartOfLine,
@@ -209216,28 +209216,28 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
209216
209216
  insertNodesAtTopOfFile(sourceFile, newNodes, blankLineBetween) {
209217
209217
  this.insertAtTopOfFile(sourceFile, newNodes, blankLineBetween);
209218
209218
  }
209219
- insertAtTopOfFile(sourceFile, insert4, blankLineBetween) {
209219
+ insertAtTopOfFile(sourceFile, insert3, blankLineBetween) {
209220
209220
  const pos = getInsertionPositionAtSourceFileTop(sourceFile);
209221
209221
  const options = {
209222
209222
  prefix: pos === 0 ? void 0 : this.newLineCharacter,
209223
209223
  suffix: (isLineBreak(sourceFile.text.charCodeAt(pos)) ? "" : this.newLineCharacter) + (blankLineBetween ? this.newLineCharacter : "")
209224
209224
  };
209225
- if (isArray4(insert4)) {
209226
- this.insertNodesAt(sourceFile, pos, insert4, options);
209225
+ if (isArray4(insert3)) {
209226
+ this.insertNodesAt(sourceFile, pos, insert3, options);
209227
209227
  } else {
209228
- this.insertNodeAt(sourceFile, pos, insert4, options);
209228
+ this.insertNodeAt(sourceFile, pos, insert3, options);
209229
209229
  }
209230
209230
  }
209231
209231
  insertNodesAtEndOfFile(sourceFile, newNodes, blankLineBetween) {
209232
209232
  this.insertAtEndOfFile(sourceFile, newNodes, blankLineBetween);
209233
209233
  }
209234
- insertAtEndOfFile(sourceFile, insert4, blankLineBetween) {
209234
+ insertAtEndOfFile(sourceFile, insert3, blankLineBetween) {
209235
209235
  const pos = sourceFile.end + 1;
209236
209236
  const options = {
209237
209237
  prefix: this.newLineCharacter,
209238
209238
  suffix: this.newLineCharacter + (blankLineBetween ? this.newLineCharacter : "")
209239
209239
  };
209240
- this.insertNodesAt(sourceFile, pos, insert4, options);
209240
+ this.insertNodesAt(sourceFile, pos, insert3, options);
209241
209241
  }
209242
209242
  insertStatementsInNewFile(fileName, statements, oldFile) {
209243
209243
  if (!this.newFileChanges) {
@@ -212262,9 +212262,9 @@ ${options.prefix}` : "\n" : options.prefix
212262
212262
  );
212263
212263
  }
212264
212264
  function formatOnSemicolon(position, sourceFile, formatContext) {
212265
- const semicolon2 = findImmediatelyPrecedingTokenOfKind(position, 27, sourceFile);
212265
+ const semicolon3 = findImmediatelyPrecedingTokenOfKind(position, 27, sourceFile);
212266
212266
  return formatNodeLines(
212267
- findOutermostNodeWithinListLevel(semicolon2),
212267
+ findOutermostNodeWithinListLevel(semicolon3),
212268
212268
  sourceFile,
212269
212269
  formatContext,
212270
212270
  3
@@ -214612,15 +214612,15 @@ ${options.prefix}` : "\n" : options.prefix
214612
214612
  const base2 = getBaseFileName(configFilePath);
214613
214613
  return base2 === "tsconfig.json" || base2 === "jsconfig.json" ? base2 : void 0;
214614
214614
  }
214615
- function removeSorted(array, remove4, compare) {
214615
+ function removeSorted(array, remove3, compare) {
214616
214616
  if (!array || array.length === 0) {
214617
214617
  return;
214618
214618
  }
214619
- if (array[0] === remove4) {
214619
+ if (array[0] === remove3) {
214620
214620
  array.splice(0, 1);
214621
214621
  return;
214622
214622
  }
214623
- const removeIndex = binarySearch2(array, remove4, identity, compare);
214623
+ const removeIndex = binarySearch2(array, remove3, identity, compare);
214624
214624
  if (removeIndex >= 0) {
214625
214625
  array.splice(removeIndex, 1);
214626
214626
  }
@@ -224436,7 +224436,7 @@ Project '${project.projectName}' (${ProjectKind[project.projectKind]}) ${counter
224436
224436
  const useDisplayParts = !!this.getPreferences(file).displayPartsForJSDoc;
224437
224437
  const result2 = mapDefined(args.entryNames, (entryName) => {
224438
224438
  const { name, source, data: data2 } = typeof entryName === "string" ? { name: entryName, source: void 0, data: void 0 } : entryName;
224439
- return project.getLanguageService().getCompletionEntryDetails(file, position, name, formattingOptions, source, this.getPreferences(file), data2 ? cast4(data2, isCompletionEntryData) : void 0);
224439
+ return project.getLanguageService().getCompletionEntryDetails(file, position, name, formattingOptions, source, this.getPreferences(file), data2 ? cast(data2, isCompletionEntryData) : void 0);
224440
224440
  });
224441
224441
  return fullResult ? useDisplayParts ? result2 : result2.map((details) => ({ ...details, tags: this.mapJSDocTagInfo(
224442
224442
  details.tags,
@@ -226055,9 +226055,9 @@ ${e.message}`;
226055
226055
  installPackage(options) {
226056
226056
  this.packageInstallId++;
226057
226057
  const request = { kind: "installPackage", ...options, id: this.packageInstallId };
226058
- const promise = new Promise((resolve9, reject) => {
226058
+ const promise = new Promise((resolve8, reject) => {
226059
226059
  var _a;
226060
- ((_a = this.packageInstalledPromise) != null ? _a : this.packageInstalledPromise = /* @__PURE__ */ new Map()).set(this.packageInstallId, { resolve: resolve9, reject });
226060
+ ((_a = this.packageInstalledPromise) != null ? _a : this.packageInstalledPromise = /* @__PURE__ */ new Map()).set(this.packageInstallId, { resolve: resolve8, reject });
226061
226061
  });
226062
226062
  this.installer.send(request);
226063
226063
  return promise;
@@ -226563,7 +226563,7 @@ ${e.message}`;
226563
226563
  canWatchAtTypes: () => canWatchAtTypes,
226564
226564
  canWatchDirectoryOrFile: () => canWatchDirectoryOrFile,
226565
226565
  cartesianProduct: () => cartesianProduct,
226566
- cast: () => cast4,
226566
+ cast: () => cast,
226567
226567
  chainBundle: () => chainBundle,
226568
226568
  chainDiagnosticMessages: () => chainDiagnosticMessages,
226569
226569
  changeAnyExtension: () => changeAnyExtension,
@@ -226589,7 +226589,7 @@ ${e.message}`;
226589
226589
  clearSharedExtendedConfigFileWatcher: () => clearSharedExtendedConfigFileWatcher,
226590
226590
  climbPastPropertyAccess: () => climbPastPropertyAccess,
226591
226591
  climbPastPropertyOrElementAccess: () => climbPastPropertyOrElementAccess,
226592
- clone: () => clone5,
226592
+ clone: () => clone4,
226593
226593
  cloneCompilerOptions: () => cloneCompilerOptions,
226594
226594
  closeFileWatcher: () => closeFileWatcher,
226595
226595
  closeFileWatcherOf: () => closeFileWatcherOf,
@@ -228980,7 +228980,7 @@ ${e.message}`;
228980
228980
  canWatchAtTypes: () => canWatchAtTypes,
228981
228981
  canWatchDirectoryOrFile: () => canWatchDirectoryOrFile,
228982
228982
  cartesianProduct: () => cartesianProduct,
228983
- cast: () => cast4,
228983
+ cast: () => cast,
228984
228984
  chainBundle: () => chainBundle,
228985
228985
  chainDiagnosticMessages: () => chainDiagnosticMessages,
228986
228986
  changeAnyExtension: () => changeAnyExtension,
@@ -229006,7 +229006,7 @@ ${e.message}`;
229006
229006
  clearSharedExtendedConfigFileWatcher: () => clearSharedExtendedConfigFileWatcher,
229007
229007
  climbPastPropertyAccess: () => climbPastPropertyAccess,
229008
229008
  climbPastPropertyOrElementAccess: () => climbPastPropertyOrElementAccess,
229009
- clone: () => clone5,
229009
+ clone: () => clone4,
229010
229010
  cloneCompilerOptions: () => cloneCompilerOptions,
229011
229011
  closeFileWatcher: () => closeFileWatcher,
229012
229012
  closeFileWatcherOf: () => closeFileWatcherOf,
@@ -231091,7 +231091,7 @@ ${e.message}`;
231091
231091
  var typescript_5_4_5_bundle_cache_min_default = ts;
231092
231092
 
231093
231093
  // src/version.ts
231094
- var buildId = "1716241403";
231094
+ var buildId = "1716267693";
231095
231095
  var minfyJsId = "terser5.31.0_7";
231096
231096
  var optimizeCssId = "autoprefixer10.4.19_postcss8.4.38_7";
231097
231097
  var parse5Version = "7.1.2";
@@ -231099,8 +231099,8 @@ var rollupVersion = "2.56.3";
231099
231099
  var jqueryVersion = "4.0.0-pre";
231100
231100
  var terserVersion = "5.31.0";
231101
231101
  var typescriptVersion = "5.4.5";
231102
- var vermoji = "\u{1F6E9}";
231103
- var version = "4.18.2-dev.1716241403.fb9ef91";
231102
+ var vermoji = "\u{1F3C0}";
231103
+ var version = "4.18.2-dev.1716267693.5a82d01";
231104
231104
  var versions = {
231105
231105
  stencil: version,
231106
231106
  parse5: parse5Version,
@@ -231396,7 +231396,7 @@ var isPromise = (v) => !!v && (typeof v === "object" || typeof v === "function")
231396
231396
 
231397
231397
  // src/utils/is-glob.ts
231398
231398
  var isGlob = (str) => {
231399
- const chars3 = { "{": "}", "(": ")", "[": "]" };
231399
+ const chars4 = { "{": "}", "(": ")", "[": "]" };
231400
231400
  const regex = /\\(.)|(^!|\*|[\].+)]\?|\[[^\\\]]+\]|\{[^\\}]+\}|\(\?[:!=][^\\)]+\)|\([^|]+\|[^\\)]+\))/;
231401
231401
  if (str === "") {
231402
231402
  return false;
@@ -231406,7 +231406,7 @@ var isGlob = (str) => {
231406
231406
  if (match2[2]) return true;
231407
231407
  let idx = match2.index + match2[0].length;
231408
231408
  const open = match2[1];
231409
- const close = open ? chars3[open] : null;
231409
+ const close = open ? chars4[open] : null;
231410
231410
  if (open && close) {
231411
231411
  const n3 = str.indexOf(close, idx);
231412
231412
  if (n3 !== -1) {
@@ -235910,78 +235910,6 @@ var td = typeof TextDecoder !== "undefined" ? /* @__PURE__ */ new TextDecoder()
235910
235910
  return out;
235911
235911
  }
235912
235912
  };
235913
- function decode(mappings) {
235914
- const state = new Int32Array(5);
235915
- const decoded = [];
235916
- let index2 = 0;
235917
- do {
235918
- const semi = indexOf(mappings, index2);
235919
- const line = [];
235920
- let sorted = true;
235921
- let lastCol = 0;
235922
- state[0] = 0;
235923
- for (let i = index2; i < semi; i++) {
235924
- let seg;
235925
- i = decodeInteger(mappings, i, state, 0);
235926
- const col = state[0];
235927
- if (col < lastCol)
235928
- sorted = false;
235929
- lastCol = col;
235930
- if (hasMoreVlq(mappings, i, semi)) {
235931
- i = decodeInteger(mappings, i, state, 1);
235932
- i = decodeInteger(mappings, i, state, 2);
235933
- i = decodeInteger(mappings, i, state, 3);
235934
- if (hasMoreVlq(mappings, i, semi)) {
235935
- i = decodeInteger(mappings, i, state, 4);
235936
- seg = [col, state[1], state[2], state[3], state[4]];
235937
- } else {
235938
- seg = [col, state[1], state[2], state[3]];
235939
- }
235940
- } else {
235941
- seg = [col];
235942
- }
235943
- line.push(seg);
235944
- }
235945
- if (!sorted)
235946
- sort(line);
235947
- decoded.push(line);
235948
- index2 = semi + 1;
235949
- } while (index2 <= mappings.length);
235950
- return decoded;
235951
- }
235952
- function indexOf(mappings, index2) {
235953
- const idx = mappings.indexOf(";", index2);
235954
- return idx === -1 ? mappings.length : idx;
235955
- }
235956
- function decodeInteger(mappings, pos, state, j) {
235957
- let value = 0;
235958
- let shift = 0;
235959
- let integer = 0;
235960
- do {
235961
- const c = mappings.charCodeAt(pos++);
235962
- integer = charToInt[c];
235963
- value |= (integer & 31) << shift;
235964
- shift += 5;
235965
- } while (integer & 32);
235966
- const shouldNegate = value & 1;
235967
- value >>>= 1;
235968
- if (shouldNegate) {
235969
- value = -2147483648 | -value;
235970
- }
235971
- state[j] += value;
235972
- return pos;
235973
- }
235974
- function hasMoreVlq(mappings, i, length3) {
235975
- if (i >= length3)
235976
- return false;
235977
- return mappings.charCodeAt(i) !== comma;
235978
- }
235979
- function sort(line) {
235980
- line.sort(sortComparator);
235981
- }
235982
- function sortComparator(a, b) {
235983
- return a[0] - b[0];
235984
- }
235985
235913
  function encode(decoded) {
235986
235914
  const state = new Int32Array(5);
235987
235915
  const bufLength = 1024 * 16;
@@ -236283,13 +236211,13 @@ var Mappings = class {
236283
236211
  this.rawSegments = this.raw[this.generatedCodeLine] = [];
236284
236212
  this.pending = null;
236285
236213
  }
236286
- addEdit(sourceIndex2, content, loc, nameIndex) {
236214
+ addEdit(sourceIndex, content, loc, nameIndex) {
236287
236215
  if (content.length) {
236288
236216
  const contentLengthMinusOne = content.length - 1;
236289
236217
  let contentLineEnd = content.indexOf("\n", 0);
236290
236218
  let previousContentLineEnd = -1;
236291
236219
  while (contentLineEnd >= 0 && contentLengthMinusOne > contentLineEnd) {
236292
- const segment2 = [this.generatedCodeColumn, sourceIndex2, loc.line, loc.column];
236220
+ const segment2 = [this.generatedCodeColumn, sourceIndex, loc.line, loc.column];
236293
236221
  if (nameIndex >= 0) {
236294
236222
  segment2.push(nameIndex);
236295
236223
  }
@@ -236300,7 +236228,7 @@ var Mappings = class {
236300
236228
  previousContentLineEnd = contentLineEnd;
236301
236229
  contentLineEnd = content.indexOf("\n", contentLineEnd + 1);
236302
236230
  }
236303
- const segment = [this.generatedCodeColumn, sourceIndex2, loc.line, loc.column];
236231
+ const segment = [this.generatedCodeColumn, sourceIndex, loc.line, loc.column];
236304
236232
  if (nameIndex >= 0) {
236305
236233
  segment.push(nameIndex);
236306
236234
  }
@@ -236312,13 +236240,13 @@ var Mappings = class {
236312
236240
  }
236313
236241
  this.pending = null;
236314
236242
  }
236315
- addUneditedChunk(sourceIndex2, chunk, original, loc, sourcemapLocations) {
236243
+ addUneditedChunk(sourceIndex, chunk, original, loc, sourcemapLocations) {
236316
236244
  let originalCharIndex = chunk.start;
236317
236245
  let first = true;
236318
236246
  let charInHiresBoundary = false;
236319
236247
  while (originalCharIndex < chunk.end) {
236320
236248
  if (this.hires || first || sourcemapLocations.has(originalCharIndex)) {
236321
- const segment = [this.generatedCodeColumn, sourceIndex2, loc.line, loc.column];
236249
+ const segment = [this.generatedCodeColumn, sourceIndex, loc.line, loc.column];
236322
236250
  if (this.hires === "boundary") {
236323
236251
  if (wordRegex.test(original[originalCharIndex])) {
236324
236252
  if (!charInHiresBoundary) {
@@ -236447,7 +236375,7 @@ var MagicString = class _MagicString {
236447
236375
  }
236448
236376
  generateDecodedMap(options) {
236449
236377
  options = options || {};
236450
- const sourceIndex2 = 0;
236378
+ const sourceIndex = 0;
236451
236379
  const names = Object.keys(this.storedNames);
236452
236380
  const mappings = new Mappings(options.hires);
236453
236381
  const locate2 = getLocator(this.original);
@@ -236459,13 +236387,13 @@ var MagicString = class _MagicString {
236459
236387
  if (chunk.intro.length) mappings.advance(chunk.intro);
236460
236388
  if (chunk.edited) {
236461
236389
  mappings.addEdit(
236462
- sourceIndex2,
236390
+ sourceIndex,
236463
236391
  chunk.content,
236464
236392
  loc,
236465
236393
  chunk.storeName ? names.indexOf(chunk.original) : -1
236466
236394
  );
236467
236395
  } else {
236468
- mappings.addUneditedChunk(sourceIndex2, chunk, this.original, loc, this.sourcemapLocations);
236396
+ mappings.addUneditedChunk(sourceIndex, chunk, this.original, loc, this.sourcemapLocations);
236469
236397
  }
236470
236398
  if (chunk.outro.length) mappings.advance(chunk.outro);
236471
236399
  });
@@ -236477,7 +236405,7 @@ var MagicString = class _MagicString {
236477
236405
  sourcesContent: options.includeContent ? [this.original] : void 0,
236478
236406
  names,
236479
236407
  mappings: mappings.raw,
236480
- x_google_ignoreList: this.ignoreList ? [sourceIndex2] : void 0
236408
+ x_google_ignoreList: this.ignoreList ? [sourceIndex] : void 0
236481
236409
  };
236482
236410
  }
236483
236411
  generateMap(options) {
@@ -236797,10 +236725,10 @@ var MagicString = class _MagicString {
236797
236725
  }
236798
236726
  // TODO deprecate this? not really very useful
236799
236727
  snip(start, end) {
236800
- const clone5 = this.clone();
236801
- clone5.remove(0, start);
236802
- clone5.remove(end, clone5.original.length);
236803
- return clone5;
236728
+ const clone4 = this.clone();
236729
+ clone4.remove(0, start);
236730
+ clone4.remove(end, clone4.original.length);
236731
+ return clone4;
236804
236732
  }
236805
236733
  _split(index2) {
236806
236734
  if (this.byStart[index2] || this.byEnd[index2]) return;
@@ -239055,10 +238983,162 @@ var userIndexPlugin = (config, compilerCtx) => {
239055
238983
  // src/compiler/optimize/optimize-module.ts
239056
238984
  var import_merge_source_map = __toESM(require_merge_source_map());
239057
238985
 
239058
- // node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs
238986
+ // node_modules/@jridgewell/source-map/dist/source-map.mjs
238987
+ var comma2 = ",".charCodeAt(0);
238988
+ var semicolon2 = ";".charCodeAt(0);
238989
+ var chars3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
238990
+ var intToChar2 = new Uint8Array(64);
238991
+ var charToInteger2 = new Uint8Array(128);
238992
+ for (let i = 0; i < chars3.length; i++) {
238993
+ const c = chars3.charCodeAt(i);
238994
+ charToInteger2[c] = i;
238995
+ intToChar2[i] = c;
238996
+ }
238997
+ var td2 = typeof TextDecoder !== "undefined" ? new TextDecoder() : typeof Buffer !== "undefined" ? {
238998
+ decode(buf) {
238999
+ const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);
239000
+ return out.toString();
239001
+ }
239002
+ } : {
239003
+ decode(buf) {
239004
+ let out = "";
239005
+ for (let i = 0; i < buf.length; i++) {
239006
+ out += String.fromCharCode(buf[i]);
239007
+ }
239008
+ return out;
239009
+ }
239010
+ };
239011
+ function decode2(mappings) {
239012
+ const state = new Int32Array(5);
239013
+ const decoded = [];
239014
+ let line = [];
239015
+ let sorted = true;
239016
+ let lastCol = 0;
239017
+ for (let i = 0; i < mappings.length; ) {
239018
+ const c = mappings.charCodeAt(i);
239019
+ if (c === comma2) {
239020
+ i++;
239021
+ } else if (c === semicolon2) {
239022
+ state[0] = lastCol = 0;
239023
+ if (!sorted)
239024
+ sort(line);
239025
+ sorted = true;
239026
+ decoded.push(line);
239027
+ line = [];
239028
+ i++;
239029
+ } else {
239030
+ i = decodeInteger(mappings, i, state, 0);
239031
+ const col = state[0];
239032
+ if (col < lastCol)
239033
+ sorted = false;
239034
+ lastCol = col;
239035
+ if (!hasMoreSegments(mappings, i)) {
239036
+ line.push([col]);
239037
+ continue;
239038
+ }
239039
+ i = decodeInteger(mappings, i, state, 1);
239040
+ i = decodeInteger(mappings, i, state, 2);
239041
+ i = decodeInteger(mappings, i, state, 3);
239042
+ if (!hasMoreSegments(mappings, i)) {
239043
+ line.push([col, state[1], state[2], state[3]]);
239044
+ continue;
239045
+ }
239046
+ i = decodeInteger(mappings, i, state, 4);
239047
+ line.push([col, state[1], state[2], state[3], state[4]]);
239048
+ }
239049
+ }
239050
+ if (!sorted)
239051
+ sort(line);
239052
+ decoded.push(line);
239053
+ return decoded;
239054
+ }
239055
+ function decodeInteger(mappings, pos, state, j) {
239056
+ let value = 0;
239057
+ let shift = 0;
239058
+ let integer = 0;
239059
+ do {
239060
+ const c = mappings.charCodeAt(pos++);
239061
+ integer = charToInteger2[c];
239062
+ value |= (integer & 31) << shift;
239063
+ shift += 5;
239064
+ } while (integer & 32);
239065
+ const shouldNegate = value & 1;
239066
+ value >>>= 1;
239067
+ if (shouldNegate) {
239068
+ value = -2147483648 | -value;
239069
+ }
239070
+ state[j] += value;
239071
+ return pos;
239072
+ }
239073
+ function hasMoreSegments(mappings, i) {
239074
+ if (i >= mappings.length)
239075
+ return false;
239076
+ const c = mappings.charCodeAt(i);
239077
+ if (c === comma2 || c === semicolon2)
239078
+ return false;
239079
+ return true;
239080
+ }
239081
+ function sort(line) {
239082
+ line.sort(sortComparator$1);
239083
+ }
239084
+ function sortComparator$1(a, b) {
239085
+ return a[0] - b[0];
239086
+ }
239087
+ function encode3(decoded) {
239088
+ const state = new Int32Array(5);
239089
+ let buf = new Uint8Array(1024);
239090
+ let pos = 0;
239091
+ for (let i = 0; i < decoded.length; i++) {
239092
+ const line = decoded[i];
239093
+ if (i > 0) {
239094
+ buf = reserve(buf, pos, 1);
239095
+ buf[pos++] = semicolon2;
239096
+ }
239097
+ if (line.length === 0)
239098
+ continue;
239099
+ state[0] = 0;
239100
+ for (let j = 0; j < line.length; j++) {
239101
+ const segment = line[j];
239102
+ buf = reserve(buf, pos, 36);
239103
+ if (j > 0)
239104
+ buf[pos++] = comma2;
239105
+ pos = encodeInteger3(buf, pos, state, segment, 0);
239106
+ if (segment.length === 1)
239107
+ continue;
239108
+ pos = encodeInteger3(buf, pos, state, segment, 1);
239109
+ pos = encodeInteger3(buf, pos, state, segment, 2);
239110
+ pos = encodeInteger3(buf, pos, state, segment, 3);
239111
+ if (segment.length === 4)
239112
+ continue;
239113
+ pos = encodeInteger3(buf, pos, state, segment, 4);
239114
+ }
239115
+ }
239116
+ return td2.decode(buf.subarray(0, pos));
239117
+ }
239118
+ function reserve(buf, pos, count) {
239119
+ if (buf.length > pos + count)
239120
+ return buf;
239121
+ const swap = new Uint8Array(buf.length * 2);
239122
+ swap.set(buf);
239123
+ return swap;
239124
+ }
239125
+ function encodeInteger3(buf, pos, state, segment, j) {
239126
+ const next = segment[j];
239127
+ let num = next - state[j];
239128
+ state[j] = next;
239129
+ num = num < 0 ? -num << 1 | 1 : num << 1;
239130
+ do {
239131
+ let clamped = num & 31;
239132
+ num >>>= 5;
239133
+ if (num > 0)
239134
+ clamped |= 32;
239135
+ buf[pos++] = intToChar2[clamped];
239136
+ } while (num > 0);
239137
+ return pos;
239138
+ }
239059
239139
  var schemeRegex = /^[\w+.-]+:\/\//;
239060
- var urlRegex = /^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/;
239061
- var fileRegex = /^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;
239140
+ var urlRegex = /^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?/;
239141
+ var fileRegex = /^file:(?:\/\/((?![a-z]:)[^/]*)?)?(\/?.*)/i;
239062
239142
  function isAbsoluteUrl(input) {
239063
239143
  return schemeRegex.test(input);
239064
239144
  }
@@ -239071,42 +239151,35 @@ function isAbsolutePath(input) {
239071
239151
  function isFileUrl(input) {
239072
239152
  return input.startsWith("file:");
239073
239153
  }
239074
- function isRelative2(input) {
239075
- return /^[.?#]/.test(input);
239076
- }
239077
239154
  function parseAbsoluteUrl(input) {
239078
239155
  const match2 = urlRegex.exec(input);
239079
- return makeUrl(match2[1], match2[2] || "", match2[3], match2[4] || "", match2[5] || "/", match2[6] || "", match2[7] || "");
239156
+ return makeUrl(match2[1], match2[2] || "", match2[3], match2[4] || "", match2[5] || "/");
239080
239157
  }
239081
239158
  function parseFileUrl(input) {
239082
239159
  const match2 = fileRegex.exec(input);
239083
239160
  const path6 = match2[2];
239084
- return makeUrl("file:", "", match2[1] || "", "", isAbsolutePath(path6) ? path6 : "/" + path6, match2[3] || "", match2[4] || "");
239161
+ return makeUrl("file:", "", match2[1] || "", "", isAbsolutePath(path6) ? path6 : "/" + path6);
239085
239162
  }
239086
- function makeUrl(scheme, user, host, port, path6, query, hash) {
239163
+ function makeUrl(scheme, user, host, port, path6) {
239087
239164
  return {
239088
239165
  scheme,
239089
239166
  user,
239090
239167
  host,
239091
239168
  port,
239092
239169
  path: path6,
239093
- query,
239094
- hash,
239095
- type: 7
239170
+ relativePath: false
239096
239171
  };
239097
239172
  }
239098
239173
  function parseUrl(input) {
239099
239174
  if (isSchemeRelativeUrl(input)) {
239100
239175
  const url2 = parseAbsoluteUrl("http:" + input);
239101
239176
  url2.scheme = "";
239102
- url2.type = 6;
239103
239177
  return url2;
239104
239178
  }
239105
239179
  if (isAbsolutePath(input)) {
239106
239180
  const url2 = parseAbsoluteUrl("http://foo.com" + input);
239107
239181
  url2.scheme = "";
239108
239182
  url2.host = "";
239109
- url2.type = 5;
239110
239183
  return url2;
239111
239184
  }
239112
239185
  if (isFileUrl(input))
@@ -239116,7 +239189,7 @@ function parseUrl(input) {
239116
239189
  const url = parseAbsoluteUrl("http://foo.com/" + input);
239117
239190
  url.scheme = "";
239118
239191
  url.host = "";
239119
- url.type = input ? input.startsWith("?") ? 3 : input.startsWith("#") ? 2 : 4 : 1;
239192
+ url.relativePath = true;
239120
239193
  return url;
239121
239194
  }
239122
239195
  function stripPathFilename(path6) {
@@ -239126,15 +239199,18 @@ function stripPathFilename(path6) {
239126
239199
  return path6.slice(0, index2 + 1);
239127
239200
  }
239128
239201
  function mergePaths(url, base2) {
239129
- normalizePath4(base2, base2.type);
239202
+ if (!url.relativePath)
239203
+ return;
239204
+ normalizePath4(base2);
239130
239205
  if (url.path === "/") {
239131
239206
  url.path = base2.path;
239132
239207
  } else {
239133
239208
  url.path = stripPathFilename(base2.path) + url.path;
239134
239209
  }
239210
+ url.relativePath = base2.relativePath;
239135
239211
  }
239136
- function normalizePath4(url, type) {
239137
- const rel = type <= 4;
239212
+ function normalizePath4(url) {
239213
+ const { relativePath: relativePath3 } = url;
239138
239214
  const pieces = url.path.split("/");
239139
239215
  let pointer = 1;
239140
239216
  let positive = 0;
@@ -239153,7 +239229,7 @@ function normalizePath4(url, type) {
239153
239229
  addTrailingSlash = true;
239154
239230
  positive--;
239155
239231
  pointer--;
239156
- } else if (rel) {
239232
+ } else if (relativePath3) {
239157
239233
  pieces[pointer++] = piece;
239158
239234
  }
239159
239235
  continue;
@@ -239170,59 +239246,36 @@ function normalizePath4(url, type) {
239170
239246
  }
239171
239247
  url.path = path6;
239172
239248
  }
239173
- function resolve7(input, base2) {
239249
+ function resolve$1(input, base2) {
239174
239250
  if (!input && !base2)
239175
239251
  return "";
239176
239252
  const url = parseUrl(input);
239177
- let inputType = url.type;
239178
- if (base2 && inputType !== 7) {
239253
+ if (base2 && !url.scheme) {
239179
239254
  const baseUrl = parseUrl(base2);
239180
- const baseType = baseUrl.type;
239181
- switch (inputType) {
239182
- case 1:
239183
- url.hash = baseUrl.hash;
239184
- case 2:
239185
- url.query = baseUrl.query;
239186
- case 3:
239187
- case 4:
239188
- mergePaths(url, baseUrl);
239189
- case 5:
239190
- url.user = baseUrl.user;
239191
- url.host = baseUrl.host;
239192
- url.port = baseUrl.port;
239193
- case 6:
239194
- url.scheme = baseUrl.scheme;
239255
+ url.scheme = baseUrl.scheme;
239256
+ if (!url.host) {
239257
+ url.user = baseUrl.user;
239258
+ url.host = baseUrl.host;
239259
+ url.port = baseUrl.port;
239195
239260
  }
239196
- if (baseType > inputType)
239197
- inputType = baseType;
239261
+ mergePaths(url, baseUrl);
239198
239262
  }
239199
- normalizePath4(url, inputType);
239200
- const queryHash = url.query + url.hash;
239201
- switch (inputType) {
239202
- case 2:
239203
- case 3:
239204
- return queryHash;
239205
- case 4: {
239206
- const path6 = url.path.slice(1);
239207
- if (!path6)
239208
- return queryHash || ".";
239209
- if (isRelative2(base2 || input) && !isRelative2(path6)) {
239210
- return "./" + path6 + queryHash;
239211
- }
239212
- return path6 + queryHash;
239213
- }
239214
- case 5:
239215
- return url.path + queryHash;
239216
- default:
239217
- return url.scheme + "//" + url.user + url.host + url.port + url.path + queryHash;
239263
+ normalizePath4(url);
239264
+ if (url.relativePath) {
239265
+ const path6 = url.path.slice(1);
239266
+ if (!path6)
239267
+ return ".";
239268
+ const keepRelative = (base2 || input).startsWith(".");
239269
+ return !keepRelative || path6.startsWith(".") ? path6 : "./" + path6;
239218
239270
  }
239271
+ if (!url.scheme && !url.host)
239272
+ return url.path;
239273
+ return `${url.scheme}//${url.user}${url.host}${url.port}${url.path}`;
239219
239274
  }
239220
-
239221
- // node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs
239222
- function resolve8(input, base2) {
239275
+ function resolve7(input, base2) {
239223
239276
  if (base2 && !base2.endsWith("/"))
239224
239277
  base2 += "/";
239225
- return resolve7(input, base2);
239278
+ return resolve$1(input, base2);
239226
239279
  }
239227
239280
  function stripFilename(path6) {
239228
239281
  if (!path6)
@@ -239230,13 +239283,11 @@ function stripFilename(path6) {
239230
239283
  const index2 = path6.lastIndexOf("/");
239231
239284
  return path6.slice(0, index2 + 1);
239232
239285
  }
239233
- var COLUMN = 0;
239234
- var SOURCES_INDEX = 1;
239235
- var SOURCE_LINE = 2;
239236
- var SOURCE_COLUMN = 3;
239237
- var NAMES_INDEX = 4;
239238
- var REV_GENERATED_LINE = 1;
239239
- var REV_GENERATED_COLUMN = 2;
239286
+ var COLUMN$1 = 0;
239287
+ var SOURCES_INDEX$1 = 1;
239288
+ var SOURCE_LINE$1 = 2;
239289
+ var SOURCE_COLUMN$1 = 3;
239290
+ var NAMES_INDEX$1 = 4;
239240
239291
  function maybeSort(mappings, owned) {
239241
239292
  const unsortedIndex = nextUnsortedSegmentLine(mappings, 0);
239242
239293
  if (unsortedIndex === mappings.length)
@@ -239257,7 +239308,7 @@ function nextUnsortedSegmentLine(mappings, start) {
239257
239308
  }
239258
239309
  function isSorted(line) {
239259
239310
  for (let j = 1; j < line.length; j++) {
239260
- if (line[j][COLUMN] < line[j - 1][COLUMN]) {
239311
+ if (line[j][COLUMN$1] < line[j - 1][COLUMN$1]) {
239261
239312
  return false;
239262
239313
  }
239263
239314
  }
@@ -239266,16 +239317,16 @@ function isSorted(line) {
239266
239317
  function sortSegments(line, owned) {
239267
239318
  if (!owned)
239268
239319
  line = line.slice();
239269
- return line.sort(sortComparator2);
239320
+ return line.sort(sortComparator);
239270
239321
  }
239271
- function sortComparator2(a, b) {
239272
- return a[COLUMN] - b[COLUMN];
239322
+ function sortComparator(a, b) {
239323
+ return a[COLUMN$1] - b[COLUMN$1];
239273
239324
  }
239274
239325
  var found = false;
239275
239326
  function binarySearch(haystack, needle, low, high) {
239276
239327
  while (low <= high) {
239277
239328
  const mid = low + (high - low >> 1);
239278
- const cmp = haystack[mid][COLUMN] - needle;
239329
+ const cmp = haystack[mid][COLUMN$1] - needle;
239279
239330
  if (cmp === 0) {
239280
239331
  found = true;
239281
239332
  return mid;
@@ -239290,15 +239341,15 @@ function binarySearch(haystack, needle, low, high) {
239290
239341
  return low - 1;
239291
239342
  }
239292
239343
  function upperBound(haystack, needle, index2) {
239293
- for (let i = index2 + 1; i < haystack.length; index2 = i++) {
239294
- if (haystack[i][COLUMN] !== needle)
239344
+ for (let i = index2 + 1; i < haystack.length; i++, index2++) {
239345
+ if (haystack[i][COLUMN$1] !== needle)
239295
239346
  break;
239296
239347
  }
239297
239348
  return index2;
239298
239349
  }
239299
239350
  function lowerBound(haystack, needle, index2) {
239300
- for (let i = index2 - 1; i >= 0; index2 = i--) {
239301
- if (haystack[i][COLUMN] !== needle)
239351
+ for (let i = index2 - 1; i >= 0; i--, index2--) {
239352
+ if (haystack[i][COLUMN$1] !== needle)
239302
239353
  break;
239303
239354
  }
239304
239355
  return index2;
@@ -239316,7 +239367,7 @@ function memoizedBinarySearch(haystack, needle, state, key) {
239316
239367
  let high = haystack.length - 1;
239317
239368
  if (key === lastKey) {
239318
239369
  if (needle === lastNeedle) {
239319
- found = lastIndex !== -1 && haystack[lastIndex][COLUMN] === needle;
239370
+ found = lastIndex !== -1 && haystack[lastIndex][COLUMN$1] === needle;
239320
239371
  return lastIndex;
239321
239372
  }
239322
239373
  if (needle >= lastNeedle) {
@@ -239329,118 +239380,68 @@ function memoizedBinarySearch(haystack, needle, state, key) {
239329
239380
  state.lastNeedle = needle;
239330
239381
  return state.lastIndex = binarySearch(haystack, needle, low, high);
239331
239382
  }
239332
- function buildBySources(decoded, memos) {
239333
- const sources = memos.map(buildNullArray);
239334
- for (let i = 0; i < decoded.length; i++) {
239335
- const line = decoded[i];
239336
- for (let j = 0; j < line.length; j++) {
239337
- const seg = line[j];
239338
- if (seg.length === 1)
239339
- continue;
239340
- const sourceIndex2 = seg[SOURCES_INDEX];
239341
- const sourceLine = seg[SOURCE_LINE];
239342
- const sourceColumn = seg[SOURCE_COLUMN];
239343
- const originalSource = sources[sourceIndex2];
239344
- const originalLine = originalSource[sourceLine] || (originalSource[sourceLine] = []);
239345
- const memo = memos[sourceIndex2];
239346
- let index2 = upperBound(originalLine, sourceColumn, memoizedBinarySearch(originalLine, sourceColumn, memo, sourceLine));
239347
- memo.lastIndex = ++index2;
239348
- insert2(originalLine, index2, [sourceColumn, i, seg[COLUMN]]);
239349
- }
239350
- }
239351
- return sources;
239352
- }
239353
- function insert2(array, index2, value) {
239354
- for (let i = array.length; i > index2; i--) {
239355
- array[i] = array[i - 1];
239356
- }
239357
- array[index2] = value;
239358
- }
239359
- function buildNullArray() {
239360
- return { __proto__: null };
239361
- }
239362
239383
  var AnyMap = function(map2, mapUrl) {
239363
- const parsed = parse3(map2);
239364
- if (!("sections" in parsed)) {
239384
+ const parsed = typeof map2 === "string" ? JSON.parse(map2) : map2;
239385
+ if (!("sections" in parsed))
239365
239386
  return new TraceMap(parsed, mapUrl);
239366
- }
239367
239387
  const mappings = [];
239368
239388
  const sources = [];
239369
239389
  const sourcesContent = [];
239370
239390
  const names = [];
239371
- const ignoreList = [];
239372
- recurse(parsed, mapUrl, mappings, sources, sourcesContent, names, ignoreList, 0, 0, Infinity, Infinity);
239391
+ const { sections } = parsed;
239392
+ let i = 0;
239393
+ for (; i < sections.length - 1; i++) {
239394
+ const no = sections[i + 1].offset;
239395
+ addSection(sections[i], mapUrl, mappings, sources, sourcesContent, names, no.line, no.column);
239396
+ }
239397
+ if (sections.length > 0) {
239398
+ addSection(sections[i], mapUrl, mappings, sources, sourcesContent, names, Infinity, Infinity);
239399
+ }
239373
239400
  const joined = {
239374
239401
  version: 3,
239375
239402
  file: parsed.file,
239376
239403
  names,
239377
239404
  sources,
239378
239405
  sourcesContent,
239379
- mappings,
239380
- ignoreList
239406
+ mappings
239381
239407
  };
239382
239408
  return presortedDecodedMap(joined);
239383
239409
  };
239384
- function parse3(map2) {
239385
- return typeof map2 === "string" ? JSON.parse(map2) : map2;
239386
- }
239387
- function recurse(input, mapUrl, mappings, sources, sourcesContent, names, ignoreList, lineOffset, columnOffset, stopLine, stopColumn) {
239388
- const { sections } = input;
239389
- for (let i = 0; i < sections.length; i++) {
239390
- const { map: map2, offset: offset2 } = sections[i];
239391
- let sl = stopLine;
239392
- let sc = stopColumn;
239393
- if (i + 1 < sections.length) {
239394
- const nextOffset = sections[i + 1].offset;
239395
- sl = Math.min(stopLine, lineOffset + nextOffset.line);
239396
- if (sl === stopLine) {
239397
- sc = Math.min(stopColumn, columnOffset + nextOffset.column);
239398
- } else if (sl < stopLine) {
239399
- sc = columnOffset + nextOffset.column;
239400
- }
239401
- }
239402
- addSection(map2, mapUrl, mappings, sources, sourcesContent, names, ignoreList, lineOffset + offset2.line, columnOffset + offset2.column, sl, sc);
239403
- }
239404
- }
239405
- function addSection(input, mapUrl, mappings, sources, sourcesContent, names, ignoreList, lineOffset, columnOffset, stopLine, stopColumn) {
239406
- const parsed = parse3(input);
239407
- if ("sections" in parsed)
239408
- return recurse(...arguments);
239409
- const map2 = new TraceMap(parsed, mapUrl);
239410
+ function addSection(section, mapUrl, mappings, sources, sourcesContent, names, stopLine, stopColumn) {
239411
+ const map2 = AnyMap(section.map, mapUrl);
239412
+ const { line: lineOffset, column: columnOffset } = section.offset;
239410
239413
  const sourcesOffset = sources.length;
239411
239414
  const namesOffset = names.length;
239412
239415
  const decoded = decodedMappings(map2);
239413
- const { resolvedSources, sourcesContent: contents, ignoreList: ignores } = map2;
239416
+ const { resolvedSources } = map2;
239414
239417
  append3(sources, resolvedSources);
239418
+ append3(sourcesContent, map2.sourcesContent || fillSourcesContent(resolvedSources.length));
239415
239419
  append3(names, map2.names);
239416
- if (contents)
239417
- append3(sourcesContent, contents);
239418
- else
239419
- for (let i = 0; i < resolvedSources.length; i++)
239420
- sourcesContent.push(null);
239421
- if (ignores)
239422
- for (let i = 0; i < ignores.length; i++)
239423
- ignoreList.push(ignores[i] + sourcesOffset);
239424
- for (let i = 0; i < decoded.length; i++) {
239425
- const lineI = lineOffset + i;
239426
- if (lineI > stopLine)
239427
- return;
239428
- const out = getLine(mappings, lineI);
239429
- const cOffset = i === 0 ? columnOffset : 0;
239420
+ for (let i = mappings.length; i <= lineOffset; i++)
239421
+ mappings.push([]);
239422
+ const stopI = stopLine - lineOffset;
239423
+ const len = Math.min(decoded.length, stopI + 1);
239424
+ for (let i = 0; i < len; i++) {
239430
239425
  const line = decoded[i];
239426
+ const out = i === 0 ? mappings[lineOffset] : mappings[lineOffset + i] = [];
239427
+ const cOffset = i === 0 ? columnOffset : 0;
239431
239428
  for (let j = 0; j < line.length; j++) {
239432
239429
  const seg = line[j];
239433
- const column = cOffset + seg[COLUMN];
239434
- if (lineI === stopLine && column >= stopColumn)
239435
- return;
239430
+ const column = cOffset + seg[COLUMN$1];
239431
+ if (i === stopI && column >= stopColumn)
239432
+ break;
239436
239433
  if (seg.length === 1) {
239437
239434
  out.push([column]);
239438
239435
  continue;
239439
239436
  }
239440
- const sourcesIndex = sourcesOffset + seg[SOURCES_INDEX];
239441
- const sourceLine = seg[SOURCE_LINE];
239442
- const sourceColumn = seg[SOURCE_COLUMN];
239443
- out.push(seg.length === 4 ? [column, sourcesIndex, sourceLine, sourceColumn] : [column, sourcesIndex, sourceLine, sourceColumn, namesOffset + seg[NAMES_INDEX]]);
239437
+ const sourcesIndex = sourcesOffset + seg[SOURCES_INDEX$1];
239438
+ const sourceLine = seg[SOURCE_LINE$1];
239439
+ const sourceColumn = seg[SOURCE_COLUMN$1];
239440
+ if (seg.length === 4) {
239441
+ out.push([column, sourcesIndex, sourceLine, sourceColumn]);
239442
+ continue;
239443
+ }
239444
+ out.push([column, sourcesIndex, sourceLine, sourceColumn, namesOffset + seg[NAMES_INDEX$1]]);
239444
239445
  }
239445
239446
  }
239446
239447
  }
@@ -239448,31 +239449,51 @@ function append3(arr, other) {
239448
239449
  for (let i = 0; i < other.length; i++)
239449
239450
  arr.push(other[i]);
239450
239451
  }
239451
- function getLine(arr, index2) {
239452
- for (let i = arr.length; i <= index2; i++)
239453
- arr[i] = [];
239454
- return arr[index2];
239452
+ function fillSourcesContent(len) {
239453
+ const sourcesContent = [];
239454
+ for (let i = 0; i < len; i++)
239455
+ sourcesContent[i] = null;
239456
+ return sourcesContent;
239455
239457
  }
239458
+ var INVALID_ORIGINAL_MAPPING = Object.freeze({
239459
+ source: null,
239460
+ line: null,
239461
+ column: null,
239462
+ name: null
239463
+ });
239464
+ Object.freeze({
239465
+ line: null,
239466
+ column: null
239467
+ });
239456
239468
  var LINE_GTR_ZERO = "`line` must be greater than 0 (lines start at line 1)";
239457
239469
  var COL_GTR_EQ_ZERO = "`column` must be greater than or equal to 0 (columns start at column 0)";
239458
239470
  var LEAST_UPPER_BOUND = -1;
239459
239471
  var GREATEST_LOWER_BOUND = 1;
239460
- var TraceMap = class {
239472
+ var decodedMappings;
239473
+ var originalPositionFor;
239474
+ var presortedDecodedMap;
239475
+ var TraceMap = class _TraceMap {
239461
239476
  constructor(map2, mapUrl) {
239477
+ this._decodedMemo = memoizedState();
239478
+ this._bySources = void 0;
239479
+ this._bySourceMemos = void 0;
239462
239480
  const isString3 = typeof map2 === "string";
239463
- if (!isString3 && map2._decodedMemo)
239481
+ if (!isString3 && map2.constructor === _TraceMap)
239464
239482
  return map2;
239465
239483
  const parsed = isString3 ? JSON.parse(map2) : map2;
239466
239484
  const { version: version3, file, names, sourceRoot, sources, sourcesContent } = parsed;
239467
239485
  this.version = version3;
239468
239486
  this.file = file;
239469
- this.names = names || [];
239487
+ this.names = names;
239470
239488
  this.sourceRoot = sourceRoot;
239471
239489
  this.sources = sources;
239472
239490
  this.sourcesContent = sourcesContent;
239473
- this.ignoreList = parsed.ignoreList || parsed.x_google_ignoreList || void 0;
239474
- const from = resolve8(sourceRoot || "", stripFilename(mapUrl));
239475
- this.resolvedSources = sources.map((s) => resolve8(s || "", from));
239491
+ if (sourceRoot || mapUrl) {
239492
+ const from = resolve7(sourceRoot || "", stripFilename(mapUrl));
239493
+ this.resolvedSources = sources.map((s) => resolve7(s || "", from));
239494
+ } else {
239495
+ this.resolvedSources = sources.map((s) => s || "");
239496
+ }
239476
239497
  const { mappings } = parsed;
239477
239498
  if (typeof mappings === "string") {
239478
239499
  this._encoded = mappings;
@@ -239481,119 +239502,42 @@ var TraceMap = class {
239481
239502
  this._encoded = void 0;
239482
239503
  this._decoded = maybeSort(mappings, isString3);
239483
239504
  }
239484
- this._decodedMemo = memoizedState();
239485
- this._bySources = void 0;
239486
- this._bySourceMemos = void 0;
239487
239505
  }
239488
239506
  };
239489
- function cast(map2) {
239490
- return map2;
239491
- }
239492
- function encodedMappings(map2) {
239493
- var _a;
239494
- var _b;
239495
- return (_a = (_b = cast(map2))._encoded) !== null && _a !== void 0 ? _a : _b._encoded = encode(cast(map2)._decoded);
239496
- }
239497
- function decodedMappings(map2) {
239498
- var _a;
239499
- return (_a = cast(map2))._decoded || (_a._decoded = decode(cast(map2)._encoded));
239500
- }
239501
- function originalPositionFor(map2, needle) {
239502
- let { line, column, bias } = needle;
239503
- line--;
239504
- if (line < 0)
239505
- throw new Error(LINE_GTR_ZERO);
239506
- if (column < 0)
239507
- throw new Error(COL_GTR_EQ_ZERO);
239508
- const decoded = decodedMappings(map2);
239509
- if (line >= decoded.length)
239510
- return OMapping(null, null, null, null);
239511
- const segments = decoded[line];
239512
- const index2 = traceSegmentInternal(segments, cast(map2)._decodedMemo, line, column, bias || GREATEST_LOWER_BOUND);
239513
- if (index2 === -1)
239514
- return OMapping(null, null, null, null);
239515
- const segment = segments[index2];
239516
- if (segment.length === 1)
239517
- return OMapping(null, null, null, null);
239518
- const { names, resolvedSources } = map2;
239519
- return OMapping(resolvedSources[segment[SOURCES_INDEX]], segment[SOURCE_LINE] + 1, segment[SOURCE_COLUMN], segment.length === 5 ? names[segment[NAMES_INDEX]] : null);
239520
- }
239521
- function generatedPositionFor(map2, needle) {
239522
- const { source, line, column, bias } = needle;
239523
- return generatedPosition(map2, source, line, column, bias || GREATEST_LOWER_BOUND, false);
239524
- }
239525
- function allGeneratedPositionsFor(map2, needle) {
239526
- const { source, line, column, bias } = needle;
239527
- return generatedPosition(map2, source, line, column, bias || LEAST_UPPER_BOUND, true);
239528
- }
239529
- function eachMapping(map2, cb) {
239530
- const decoded = decodedMappings(map2);
239531
- const { names, resolvedSources } = map2;
239532
- for (let i = 0; i < decoded.length; i++) {
239533
- const line = decoded[i];
239534
- for (let j = 0; j < line.length; j++) {
239535
- const seg = line[j];
239536
- const generatedLine = i + 1;
239537
- const generatedColumn = seg[0];
239538
- let source = null;
239539
- let originalLine = null;
239540
- let originalColumn = null;
239541
- let name = null;
239542
- if (seg.length !== 1) {
239543
- source = resolvedSources[seg[1]];
239544
- originalLine = seg[2] + 1;
239545
- originalColumn = seg[3];
239546
- }
239547
- if (seg.length === 5)
239548
- name = names[seg[4]];
239549
- cb({
239550
- generatedLine,
239551
- generatedColumn,
239552
- source,
239553
- originalLine,
239554
- originalColumn,
239555
- name
239556
- });
239557
- }
239558
- }
239559
- }
239560
- function sourceIndex(map2, source) {
239561
- const { sources, resolvedSources } = map2;
239562
- let index2 = sources.indexOf(source);
239563
- if (index2 === -1)
239564
- index2 = resolvedSources.indexOf(source);
239565
- return index2;
239566
- }
239567
- function sourceContentFor(map2, source) {
239568
- const { sourcesContent } = map2;
239569
- if (sourcesContent == null)
239570
- return null;
239571
- const index2 = sourceIndex(map2, source);
239572
- return index2 === -1 ? null : sourcesContent[index2];
239573
- }
239574
- function presortedDecodedMap(map2, mapUrl) {
239575
- const tracer = new TraceMap(clone4(map2, []), mapUrl);
239576
- cast(tracer)._decoded = map2.mappings;
239577
- return tracer;
239578
- }
239579
- function clone4(map2, mappings) {
239580
- return {
239581
- version: map2.version,
239582
- file: map2.file,
239583
- names: map2.names,
239584
- sourceRoot: map2.sourceRoot,
239585
- sources: map2.sources,
239586
- sourcesContent: map2.sourcesContent,
239587
- mappings,
239588
- ignoreList: map2.ignoreList || map2.x_google_ignoreList
239507
+ (() => {
239508
+ decodedMappings = (map2) => {
239509
+ return map2._decoded || (map2._decoded = decode2(map2._encoded));
239589
239510
  };
239590
- }
239591
- function OMapping(source, line, column, name) {
239592
- return { source, line, column, name };
239593
- }
239594
- function GMapping(line, column) {
239595
- return { line, column };
239596
- }
239511
+ originalPositionFor = (map2, { line, column, bias }) => {
239512
+ line--;
239513
+ if (line < 0)
239514
+ throw new Error(LINE_GTR_ZERO);
239515
+ if (column < 0)
239516
+ throw new Error(COL_GTR_EQ_ZERO);
239517
+ const decoded = decodedMappings(map2);
239518
+ if (line >= decoded.length)
239519
+ return INVALID_ORIGINAL_MAPPING;
239520
+ const segment = traceSegmentInternal(decoded[line], map2._decodedMemo, line, column, bias || GREATEST_LOWER_BOUND);
239521
+ if (segment == null)
239522
+ return INVALID_ORIGINAL_MAPPING;
239523
+ if (segment.length == 1)
239524
+ return INVALID_ORIGINAL_MAPPING;
239525
+ const { names, resolvedSources } = map2;
239526
+ return {
239527
+ source: resolvedSources[segment[SOURCES_INDEX$1]],
239528
+ line: segment[SOURCE_LINE$1] + 1,
239529
+ column: segment[SOURCE_COLUMN$1],
239530
+ name: segment.length === 5 ? names[segment[NAMES_INDEX$1]] : null
239531
+ };
239532
+ };
239533
+ presortedDecodedMap = (map2, mapUrl) => {
239534
+ const clone4 = Object.assign({}, map2);
239535
+ clone4.mappings = [];
239536
+ const tracer = new TraceMap(clone4, mapUrl);
239537
+ tracer._decoded = map2.mappings;
239538
+ return tracer;
239539
+ };
239540
+ })();
239597
239541
  function traceSegmentInternal(segments, memo, line, column, bias) {
239598
239542
  let index2 = memoizedBinarySearch(segments, column, memo, line);
239599
239543
  if (found) {
@@ -239601,82 +239545,38 @@ function traceSegmentInternal(segments, memo, line, column, bias) {
239601
239545
  } else if (bias === LEAST_UPPER_BOUND)
239602
239546
  index2++;
239603
239547
  if (index2 === -1 || index2 === segments.length)
239604
- return -1;
239605
- return index2;
239606
- }
239607
- function sliceGeneratedPositions(segments, memo, line, column, bias) {
239608
- let min = traceSegmentInternal(segments, memo, line, column, GREATEST_LOWER_BOUND);
239609
- if (!found && bias === LEAST_UPPER_BOUND)
239610
- min++;
239611
- if (min === -1 || min === segments.length)
239612
- return [];
239613
- const matchedColumn = found ? column : segments[min][COLUMN];
239614
- if (!found)
239615
- min = lowerBound(segments, matchedColumn, min);
239616
- const max = upperBound(segments, matchedColumn, min);
239617
- const result2 = [];
239618
- for (; min <= max; min++) {
239619
- const segment = segments[min];
239620
- result2.push(GMapping(segment[REV_GENERATED_LINE] + 1, segment[REV_GENERATED_COLUMN]));
239621
- }
239622
- return result2;
239623
- }
239624
- function generatedPosition(map2, source, line, column, bias, all) {
239625
- var _a;
239626
- line--;
239627
- if (line < 0)
239628
- throw new Error(LINE_GTR_ZERO);
239629
- if (column < 0)
239630
- throw new Error(COL_GTR_EQ_ZERO);
239631
- const { sources, resolvedSources } = map2;
239632
- let sourceIndex2 = sources.indexOf(source);
239633
- if (sourceIndex2 === -1)
239634
- sourceIndex2 = resolvedSources.indexOf(source);
239635
- if (sourceIndex2 === -1)
239636
- return all ? [] : GMapping(null, null);
239637
- const generated = (_a = cast(map2))._bySources || (_a._bySources = buildBySources(decodedMappings(map2), cast(map2)._bySourceMemos = sources.map(memoizedState)));
239638
- const segments = generated[sourceIndex2][line];
239639
- if (segments == null)
239640
- return all ? [] : GMapping(null, null);
239641
- const memo = cast(map2)._bySourceMemos[sourceIndex2];
239642
- if (all)
239643
- return sliceGeneratedPositions(segments, memo, line, column, bias);
239644
- const index2 = traceSegmentInternal(segments, memo, line, column, bias);
239645
- if (index2 === -1)
239646
- return GMapping(null, null);
239647
- const segment = segments[index2];
239648
- return GMapping(segment[REV_GENERATED_LINE] + 1, segment[REV_GENERATED_COLUMN]);
239548
+ return null;
239549
+ return segments[index2];
239649
239550
  }
239650
-
239651
- // node_modules/@jridgewell/set-array/dist/set-array.mjs
239551
+ var get;
239552
+ var put;
239652
239553
  var SetArray = class {
239653
239554
  constructor() {
239654
239555
  this._indexes = { __proto__: null };
239655
239556
  this.array = [];
239656
239557
  }
239657
239558
  };
239658
- function cast2(set) {
239659
- return set;
239660
- }
239661
- function get(setarr, key) {
239662
- return cast2(setarr)._indexes[key];
239663
- }
239664
- function put(setarr, key) {
239665
- const index2 = get(setarr, key);
239666
- if (index2 !== void 0)
239667
- return index2;
239668
- const { array, _indexes: indexes } = cast2(setarr);
239669
- const length3 = array.push(key);
239670
- return indexes[key] = length3 - 1;
239671
- }
239672
-
239673
- // node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs
239674
- var COLUMN2 = 0;
239675
- var SOURCES_INDEX2 = 1;
239676
- var SOURCE_LINE2 = 2;
239677
- var SOURCE_COLUMN2 = 3;
239678
- var NAMES_INDEX2 = 4;
239559
+ (() => {
239560
+ get = (strarr, key) => strarr._indexes[key];
239561
+ put = (strarr, key) => {
239562
+ const index2 = get(strarr, key);
239563
+ if (index2 !== void 0)
239564
+ return index2;
239565
+ const { array, _indexes: indexes } = strarr;
239566
+ return indexes[key] = array.push(key) - 1;
239567
+ };
239568
+ })();
239569
+ var COLUMN = 0;
239570
+ var SOURCES_INDEX = 1;
239571
+ var SOURCE_LINE = 2;
239572
+ var SOURCE_COLUMN = 3;
239573
+ var NAMES_INDEX = 4;
239679
239574
  var NO_NAME = -1;
239575
+ var maybeAddMapping;
239576
+ var setSourceContent;
239577
+ var toDecodedMap;
239578
+ var toEncodedMap;
239579
+ var addSegmentInternal;
239680
239580
  var GenMapping = class {
239681
239581
  constructor({ file, sourceRoot } = {}) {
239682
239582
  this._names = new SetArray();
@@ -239685,68 +239585,53 @@ var GenMapping = class {
239685
239585
  this._mappings = [];
239686
239586
  this.file = file;
239687
239587
  this.sourceRoot = sourceRoot;
239688
- this._ignoreList = new SetArray();
239689
239588
  }
239690
239589
  };
239691
- function cast3(map2) {
239692
- return map2;
239693
- }
239694
- var maybeAddMapping = (map2, mapping) => {
239695
- return addMappingInternal(true, map2, mapping);
239696
- };
239697
- function setSourceContent(map2, source, content) {
239698
- const { _sources: sources, _sourcesContent: sourcesContent } = cast3(map2);
239699
- const index2 = put(sources, source);
239700
- sourcesContent[index2] = content;
239701
- }
239702
- function toDecodedMap(map2) {
239703
- const { _mappings: mappings, _sources: sources, _sourcesContent: sourcesContent, _names: names, _ignoreList: ignoreList } = cast3(map2);
239704
- removeEmptyFinalLines(mappings);
239705
- return {
239706
- version: 3,
239707
- file: map2.file || void 0,
239708
- names: names.array,
239709
- sourceRoot: map2.sourceRoot || void 0,
239710
- sources: sources.array,
239711
- sourcesContent,
239712
- mappings,
239713
- ignoreList: ignoreList.array
239590
+ (() => {
239591
+ maybeAddMapping = (map2, mapping) => {
239592
+ return addMappingInternal(true, map2, mapping);
239714
239593
  };
239715
- }
239716
- function toEncodedMap(map2) {
239717
- const decoded = toDecodedMap(map2);
239718
- return Object.assign(Object.assign({}, decoded), { mappings: encode(decoded.mappings) });
239719
- }
239720
- function fromMap(input) {
239721
- const map2 = new TraceMap(input);
239722
- const gen = new GenMapping({ file: map2.file, sourceRoot: map2.sourceRoot });
239723
- putAll(cast3(gen)._names, map2.names);
239724
- putAll(cast3(gen)._sources, map2.sources);
239725
- cast3(gen)._sourcesContent = map2.sourcesContent || map2.sources.map(() => null);
239726
- cast3(gen)._mappings = decodedMappings(map2);
239727
- if (map2.ignoreList)
239728
- putAll(cast3(gen)._ignoreList, map2.ignoreList);
239729
- return gen;
239730
- }
239731
- function addSegmentInternal(skipable, map2, genLine, genColumn, source, sourceLine, sourceColumn, name, content) {
239732
- const { _mappings: mappings, _sources: sources, _sourcesContent: sourcesContent, _names: names } = cast3(map2);
239733
- const line = getLine2(mappings, genLine);
239734
- const index2 = getColumnIndex(line, genColumn);
239735
- if (!source) {
239736
- if (skipable && skipSourceless(line, index2))
239594
+ setSourceContent = (map2, source, content) => {
239595
+ const { _sources: sources, _sourcesContent: sourcesContent } = map2;
239596
+ sourcesContent[put(sources, source)] = content;
239597
+ };
239598
+ toDecodedMap = (map2) => {
239599
+ const { file, sourceRoot, _mappings: mappings, _sources: sources, _sourcesContent: sourcesContent, _names: names } = map2;
239600
+ removeEmptyFinalLines(mappings);
239601
+ return {
239602
+ version: 3,
239603
+ file: file || void 0,
239604
+ names: names.array,
239605
+ sourceRoot: sourceRoot || void 0,
239606
+ sources: sources.array,
239607
+ sourcesContent,
239608
+ mappings
239609
+ };
239610
+ };
239611
+ toEncodedMap = (map2) => {
239612
+ const decoded = toDecodedMap(map2);
239613
+ return Object.assign(Object.assign({}, decoded), { mappings: encode3(decoded.mappings) });
239614
+ };
239615
+ addSegmentInternal = (skipable, map2, genLine, genColumn, source, sourceLine, sourceColumn, name) => {
239616
+ const { _mappings: mappings, _sources: sources, _sourcesContent: sourcesContent, _names: names } = map2;
239617
+ const line = getLine(mappings, genLine);
239618
+ const index2 = getColumnIndex(line, genColumn);
239619
+ if (!source) {
239620
+ if (skipable && skipSourceless(line, index2))
239621
+ return;
239622
+ return insert2(line, index2, [genColumn]);
239623
+ }
239624
+ const sourcesIndex = put(sources, source);
239625
+ const namesIndex = name ? put(names, name) : NO_NAME;
239626
+ if (sourcesIndex === sourcesContent.length)
239627
+ sourcesContent[sourcesIndex] = null;
239628
+ if (skipable && skipSource(line, index2, sourcesIndex, sourceLine, sourceColumn, namesIndex)) {
239737
239629
  return;
239738
- return insert3(line, index2, [genColumn]);
239739
- }
239740
- const sourcesIndex = put(sources, source);
239741
- const namesIndex = name ? put(names, name) : NO_NAME;
239742
- if (sourcesIndex === sourcesContent.length)
239743
- sourcesContent[sourcesIndex] = content !== null && content !== void 0 ? content : null;
239744
- if (skipable && skipSource(line, index2, sourcesIndex, sourceLine, sourceColumn, namesIndex)) {
239745
- return;
239746
- }
239747
- return insert3(line, index2, name ? [genColumn, sourcesIndex, sourceLine, sourceColumn, namesIndex] : [genColumn, sourcesIndex, sourceLine, sourceColumn]);
239748
- }
239749
- function getLine2(mappings, index2) {
239630
+ }
239631
+ return insert2(line, index2, name ? [genColumn, sourcesIndex, sourceLine, sourceColumn, namesIndex] : [genColumn, sourcesIndex, sourceLine, sourceColumn]);
239632
+ };
239633
+ })();
239634
+ function getLine(mappings, index2) {
239750
239635
  for (let i = mappings.length; i <= index2; i++) {
239751
239636
  mappings[i] = [];
239752
239637
  }
@@ -239756,12 +239641,12 @@ function getColumnIndex(line, genColumn) {
239756
239641
  let index2 = line.length;
239757
239642
  for (let i = index2 - 1; i >= 0; index2 = i--) {
239758
239643
  const current2 = line[i];
239759
- if (genColumn >= current2[COLUMN2])
239644
+ if (genColumn >= current2[COLUMN])
239760
239645
  break;
239761
239646
  }
239762
239647
  return index2;
239763
239648
  }
239764
- function insert3(array, index2, value) {
239649
+ function insert2(array, index2, value) {
239765
239650
  for (let i = array.length; i > index2; i--) {
239766
239651
  array[i] = array[i - 1];
239767
239652
  }
@@ -239777,10 +239662,6 @@ function removeEmptyFinalLines(mappings) {
239777
239662
  if (len < length3)
239778
239663
  mappings.length = len;
239779
239664
  }
239780
- function putAll(setarr, array) {
239781
- for (let i = 0; i < array.length; i++)
239782
- put(setarr, array[i]);
239783
- }
239784
239665
  function skipSourceless(line, index2) {
239785
239666
  if (index2 === 0)
239786
239667
  return true;
@@ -239793,18 +239674,17 @@ function skipSource(line, index2, sourcesIndex, sourceLine, sourceColumn, namesI
239793
239674
  const prev = line[index2 - 1];
239794
239675
  if (prev.length === 1)
239795
239676
  return false;
239796
- return sourcesIndex === prev[SOURCES_INDEX2] && sourceLine === prev[SOURCE_LINE2] && sourceColumn === prev[SOURCE_COLUMN2] && namesIndex === (prev.length === 5 ? prev[NAMES_INDEX2] : NO_NAME);
239677
+ return sourcesIndex === prev[SOURCES_INDEX] && sourceLine === prev[SOURCE_LINE] && sourceColumn === prev[SOURCE_COLUMN] && namesIndex === (prev.length === 5 ? prev[NAMES_INDEX] : NO_NAME);
239797
239678
  }
239798
239679
  function addMappingInternal(skipable, map2, mapping) {
239799
- const { generated, source, original, name, content } = mapping;
239680
+ const { generated, source, original, name } = mapping;
239800
239681
  if (!source) {
239801
- return addSegmentInternal(skipable, map2, generated.line - 1, generated.column, null, null, null, null, null);
239682
+ return addSegmentInternal(skipable, map2, generated.line - 1, generated.column, null, null, null, null);
239802
239683
  }
239803
- return addSegmentInternal(skipable, map2, generated.line - 1, generated.column, source, original.line - 1, original.column, name, content);
239684
+ const s = source;
239685
+ return addSegmentInternal(skipable, map2, generated.line - 1, generated.column, s, original.line - 1, original.column, name);
239804
239686
  }
239805
-
239806
- // node_modules/@jridgewell/source-map/dist/source-map.mjs
239807
- var SourceMapConsumer = class _SourceMapConsumer {
239687
+ var SourceMapConsumer = class {
239808
239688
  constructor(map2, mapUrl) {
239809
239689
  const trace = this._map = new AnyMap(map2, mapUrl);
239810
239690
  this.file = trace.file;
@@ -239812,59 +239692,16 @@ var SourceMapConsumer = class _SourceMapConsumer {
239812
239692
  this.sourceRoot = trace.sourceRoot;
239813
239693
  this.sources = trace.resolvedSources;
239814
239694
  this.sourcesContent = trace.sourcesContent;
239815
- this.version = trace.version;
239816
- }
239817
- static fromSourceMap(map2, mapUrl) {
239818
- if (map2.toDecodedMap) {
239819
- return new _SourceMapConsumer(map2.toDecodedMap(), mapUrl);
239820
- }
239821
- return new _SourceMapConsumer(map2.toJSON(), mapUrl);
239822
- }
239823
- get mappings() {
239824
- return encodedMappings(this._map);
239825
239695
  }
239826
239696
  originalPositionFor(needle) {
239827
239697
  return originalPositionFor(this._map, needle);
239828
239698
  }
239829
- generatedPositionFor(originalPosition) {
239830
- return generatedPositionFor(this._map, originalPosition);
239831
- }
239832
- allGeneratedPositionsFor(originalPosition) {
239833
- return allGeneratedPositionsFor(this._map, originalPosition);
239834
- }
239835
- hasContentsOfAllSources() {
239836
- if (!this.sourcesContent || this.sourcesContent.length !== this.sources.length) {
239837
- return false;
239838
- }
239839
- for (const content of this.sourcesContent) {
239840
- if (content == null) {
239841
- return false;
239842
- }
239843
- }
239844
- return true;
239845
- }
239846
- sourceContentFor(source, nullOnMissing) {
239847
- const sourceContent = sourceContentFor(this._map, source);
239848
- if (sourceContent != null) {
239849
- return sourceContent;
239850
- }
239851
- if (nullOnMissing) {
239852
- return null;
239853
- }
239854
- throw new Error(`"${source}" is not in the SourceMap.`);
239855
- }
239856
- eachMapping(callback, context) {
239857
- eachMapping(this._map, context ? callback.bind(context) : callback);
239858
- }
239859
239699
  destroy() {
239860
239700
  }
239861
239701
  };
239862
- var SourceMapGenerator = class _SourceMapGenerator {
239702
+ var SourceMapGenerator = class {
239863
239703
  constructor(opts) {
239864
- this._map = opts instanceof GenMapping ? opts : new GenMapping(opts);
239865
- }
239866
- static fromSourceMap(consumer) {
239867
- return new _SourceMapGenerator(fromMap(consumer));
239704
+ this._map = new GenMapping(opts);
239868
239705
  }
239869
239706
  addMapping(mapping) {
239870
239707
  maybeAddMapping(this._map, mapping);
@@ -239875,9 +239712,6 @@ var SourceMapGenerator = class _SourceMapGenerator {
239875
239712
  toJSON() {
239876
239713
  return toEncodedMap(this._map);
239877
239714
  }
239878
- toString() {
239879
- return JSON.stringify(this.toJSON());
239880
- }
239881
239715
  toDecodedMap() {
239882
239716
  return toDecodedMap(this._map);
239883
239717
  }
@@ -239949,7 +239783,7 @@ function string_template(e, t) {
239949
239783
  return t && t[n3];
239950
239784
  });
239951
239785
  }
239952
- function remove3(e, t) {
239786
+ function remove2(e, t) {
239953
239787
  for (var n3 = e.length; --n3 >= 0; ) e[n3] === t && e.splice(n3, 1);
239954
239788
  }
239955
239789
  function mergeSort(e, t) {
@@ -240389,7 +240223,7 @@ var PRECEDENCE = function(e, t) {
240389
240223
  return t;
240390
240224
  }([["||"], ["??"], ["&&"], ["|"], ["^"], ["&"], ["==", "===", "!=", "!=="], ["<", ">", "<=", ">=", "in", "instanceof"], [">>", "<<", ">>>"], ["+", "-"], ["*", "/", "%"], ["**"]], {});
240391
240225
  var ATOMIC_START_TOKEN = makePredicate(["atom", "num", "big_int", "string", "regexp", "name"]);
240392
- function parse4(e, t) {
240226
+ function parse3(e, t) {
240393
240227
  const n3 = /* @__PURE__ */ new WeakMap();
240394
240228
  t = defaults3(t, { bare_returns: false, ecma: null, expression: false, filename: null, html5_comments: true, module: false, shebang: true, strict: false, toplevel: null }, true);
240395
240229
  var i = { input: "string" == typeof e ? tokenizer2(e, t.filename, t.html5_comments, t.shebang) : e, token: null, prev: null, peeked: null, in_function: 0, in_async: -1, in_generator: -1, in_directives: true, in_loop: 0, labels: [] };
@@ -241361,7 +241195,7 @@ var AST_Toplevel = DEFNODE("Toplevel", "globals", function(e) {
241361
241195
  e && (this.globals = e.globals, this.variables = e.variables, this.uses_with = e.uses_with, this.uses_eval = e.uses_eval, this.parent_scope = e.parent_scope, this.enclosed = e.enclosed, this.cname = e.cname, this.body = e.body, this.block_scope = e.block_scope, this.start = e.start, this.end = e.end), this.flags = 0;
241362
241196
  }, { $documentation: "The toplevel scope", $propdoc: { globals: "[Map/S] a map of name -> SymbolDef for all undeclared names" }, wrap_commonjs: function(e) {
241363
241197
  var t = this.body, n3 = "(function(exports){'$ORIG';})(typeof " + e + "=='undefined'?(" + e + "={}):" + e + ");";
241364
- return (n3 = parse4(n3)).transform(new TreeTransformer(function(e2) {
241198
+ return (n3 = parse3(n3)).transform(new TreeTransformer(function(e2) {
241365
241199
  if (e2 instanceof AST_Directive && "$ORIG" == e2.value) return MAP.splice(t);
241366
241200
  }));
241367
241201
  }, wrap_enclose: function(e) {
@@ -241369,7 +241203,7 @@ var AST_Toplevel = DEFNODE("Toplevel", "globals", function(e) {
241369
241203
  var t = e.indexOf(":");
241370
241204
  t < 0 && (t = e.length);
241371
241205
  var n3 = this.body;
241372
- return parse4(["(function(", e.slice(0, t), '){"$ORIG"})(', e.slice(t + 1), ")"].join("")).transform(new TreeTransformer(function(e2) {
241206
+ return parse3(["(function(", e.slice(0, t), '){"$ORIG"})(', e.slice(t + 1), ")"].join("")).transform(new TreeTransformer(function(e2) {
241373
241207
  if (e2 instanceof AST_Directive && "$ORIG" == e2.value) return MAP.splice(n3);
241374
241208
  }));
241375
241209
  } }, AST_Scope);
@@ -244993,7 +244827,7 @@ AST_Scope.DEFMETHOD("drop_unused", function(e) {
244993
244827
  var _3 = make_node(AST_Assign, t2, { operator: "=", logical: false, left: l2, right: t2.value });
244994
244828
  a.get(o2.id) === t2 && a.set(o2.id, _3), D.push(_3.transform(f));
244995
244829
  }
244996
- return remove3(c3, t2), void o2.eliminated++;
244830
+ return remove2(c3, t2), void o2.eliminated++;
244997
244831
  }
244998
244832
  }
244999
244833
  t2.value ? (D.length > 0 && (y.length > 0 ? (D.push(t2.value), t2.value = make_sequence(t2.value, D)) : g.push(make_node(AST_SimpleStatement, u2, { body: make_sequence(u2, D) })), D = []), y.push(t2)) : b.push(t2);
@@ -245409,11 +245243,11 @@ function tighten_body(e, t) {
245409
245243
  if (s2 instanceof AST_If) {
245410
245244
  let n5, i3;
245411
245245
  if (n5 = aborts(s2.body), p2(n5) && (i3 = m2(s2.body, n5))) {
245412
- n5.label && remove3(n5.label.thedef.references, n5), a = true, (s2 = s2.clone()).condition = s2.condition.negate(t2), s2.body = make_node(AST_BlockStatement, s2, { body: as_statement_array(s2.alternative).concat(d2()) }), s2.alternative = make_node(AST_BlockStatement, s2, { body: i3 }), e2[r2] = s2.transform(t2);
245246
+ n5.label && remove2(n5.label.thedef.references, n5), a = true, (s2 = s2.clone()).condition = s2.condition.negate(t2), s2.body = make_node(AST_BlockStatement, s2, { body: as_statement_array(s2.alternative).concat(d2()) }), s2.alternative = make_node(AST_BlockStatement, s2, { body: i3 }), e2[r2] = s2.transform(t2);
245413
245247
  continue;
245414
245248
  }
245415
245249
  if (n5 = aborts(s2.alternative), p2(n5) && (i3 = m2(s2.alternative, n5))) {
245416
- n5.label && remove3(n5.label.thedef.references, n5), a = true, (s2 = s2.clone()).body = make_node(AST_BlockStatement, s2.body, { body: as_statement_array(s2.body).concat(d2()) }), s2.alternative = make_node(AST_BlockStatement, s2.alternative, { body: i3 }), e2[r2] = s2.transform(t2);
245250
+ n5.label && remove2(n5.label.thedef.references, n5), a = true, (s2 = s2.clone()).body = make_node(AST_BlockStatement, s2.body, { body: as_statement_array(s2.body).concat(d2()) }), s2.alternative = make_node(AST_BlockStatement, s2.alternative, { body: i3 }), e2[r2] = s2.transform(t2);
245417
245251
  continue;
245418
245252
  }
245419
245253
  }
@@ -245479,7 +245313,7 @@ function tighten_body(e, t) {
245479
245313
  var u2 = e2[o2];
245480
245314
  if (u2 instanceof AST_LoopControl) {
245481
245315
  var c2 = t2.loopcontrol_target(u2);
245482
- u2 instanceof AST_Break && !(c2 instanceof AST_IterationStatement) && loop_body(c2) === i2 || u2 instanceof AST_Continue && loop_body(c2) === i2 ? u2.label && remove3(u2.label.thedef.references, u2) : e2[r2++] = u2;
245316
+ u2 instanceof AST_Break && !(c2 instanceof AST_IterationStatement) && loop_body(c2) === i2 || u2 instanceof AST_Continue && loop_body(c2) === i2 ? u2.label && remove2(u2.label.thedef.references, u2) : e2[r2++] = u2;
245483
245317
  } else e2[r2++] = u2;
245484
245318
  if (aborts(u2)) {
245485
245319
  n4 = e2.slice(o2 + 1);
@@ -245944,7 +245778,7 @@ var Compressor = class extends TreeWalker {
245944
245778
  constructor(e, { false_by_default: t = false, mangle_options: n3 = false }) {
245945
245779
  super(), void 0 === e.defaults || e.defaults || (t = true), this.options = defaults3(e, { arguments: false, arrows: !t, booleans: !t, booleans_as_integers: false, collapse_vars: !t, comparisons: !t, computed_props: !t, conditionals: !t, dead_code: !t, defaults: true, directives: !t, drop_console: false, drop_debugger: !t, ecma: 5, evaluate: !t, expression: false, global_defs: false, hoist_funs: false, hoist_props: !t, hoist_vars: false, ie8: false, if_return: !t, inline: !t, join_vars: !t, keep_classnames: false, keep_fargs: true, keep_fnames: false, keep_infinity: false, lhs_constants: !t, loops: !t, module: false, negate_iife: !t, passes: 1, properties: !t, pure_getters: !t && "strict", pure_funcs: null, pure_new: false, reduce_funcs: !t, reduce_vars: !t, sequences: !t, side_effects: !t, switches: !t, top_retain: null, toplevel: !(!e || !e.top_retain), typeofs: !t, unsafe: false, unsafe_arrows: false, unsafe_comps: false, unsafe_Function: false, unsafe_math: false, unsafe_symbols: false, unsafe_methods: false, unsafe_proto: false, unsafe_regexp: false, unsafe_undefined: false, unused: !t, warnings: false }, true);
245946
245780
  var i = this.options.global_defs;
245947
- if ("object" == typeof i) for (var o in i) "@" === o[0] && HOP(i, o) && (i[o.slice(1)] = parse4(i[o], { expression: true }));
245781
+ if ("object" == typeof i) for (var o in i) "@" === o[0] && HOP(i, o) && (i[o.slice(1)] = parse3(i[o], { expression: true }));
245948
245782
  true === this.options.inline && (this.options.inline = 3);
245949
245783
  var r = this.options.pure_funcs;
245950
245784
  this.pure_funcs = "function" == typeof r ? r : r ? function(e2) {
@@ -246167,13 +246001,13 @@ def_optimize(AST_Directive, function(e, t) {
246167
246001
  var _, f, p = t.body[0].body;
246168
246002
  if (p instanceof AST_Assign && "=" == p.operator && (_ = p.left) instanceof AST_Symbol && a.has(_.name)) {
246169
246003
  if ((d = a.get(_.name)).value) break;
246170
- d.value = p.right, remove3(l, d), l.push(d), t.body.splice(0, 1);
246004
+ d.value = p.right, remove2(l, d), l.push(d), t.body.splice(0, 1);
246171
246005
  continue;
246172
246006
  }
246173
246007
  if (p instanceof AST_Sequence && (f = p.expressions[0]) instanceof AST_Assign && "=" == f.operator && (_ = f.left) instanceof AST_Symbol && a.has(_.name)) {
246174
246008
  var d;
246175
246009
  if ((d = a.get(_.name)).value) break;
246176
- d.value = f.right, remove3(l, d), l.push(d), t.body[0].body = make_sequence(p, p.expressions.slice(1));
246010
+ d.value = f.right, remove2(l, d), l.push(d), t.body[0].body = make_sequence(p, p.expressions.slice(1));
246177
246011
  continue;
246178
246012
  }
246179
246013
  }
@@ -246558,7 +246392,7 @@ def_optimize(AST_Directive, function(e, t) {
246558
246392
  if (e.args.every((e2) => e2 instanceof AST_String)) try {
246559
246393
  var y = "n(function(" + e.args.slice(0, -1).map(function(e2) {
246560
246394
  return e2.value;
246561
- }).join(",") + "){" + e.args[e.args.length - 1].value + "})", D = parse4(y), v = t.mangle_options();
246395
+ }).join(",") + "){" + e.args[e.args.length - 1].value + "})", D = parse3(y), v = t.mangle_options();
246562
246396
  D.figure_out_scope(v);
246563
246397
  var C2, k = new Compressor(t.options, { mangle_options: t._mangle_options });
246564
246398
  return (D = D.transform(k)).figure_out_scope(v), D.compute_char_frequency(v), D.mangle_names(v), walk2(D, (e2) => {
@@ -247338,7 +247172,7 @@ function* minify_sync_or_async(e, t, n3) {
247338
247172
  if (("string" == typeof e || t.parse.spidermonkey && !Array.isArray(e)) && (e = [e]), t.parse = t.parse || {}, t.parse.toplevel = null, t.parse.spidermonkey) t.parse.toplevel = AST_Node.from_mozilla_ast(Object.keys(e).reduce(function(t2, n4) {
247339
247173
  return t2 ? (t2.body = t2.body.concat(e[n4].body), t2) : e[n4];
247340
247174
  }, null));
247341
- else for (var s in delete t.parse.spidermonkey, e) if (HOP(e, s) && (t.parse.filename = s, t.parse.toplevel = parse4(e[s], t.parse), t.sourceMap && "inline" == t.sourceMap.content)) {
247175
+ else for (var s in delete t.parse.spidermonkey, e) if (HOP(e, s) && (t.parse.filename = s, t.parse.toplevel = parse3(e[s], t.parse), t.sourceMap && "inline" == t.sourceMap.content)) {
247342
247176
  if (Object.keys(e).length > 1) throw new Error("inline source map only works with singular input");
247343
247177
  t.sourceMap.content = read_source_map(e[s]);
247344
247178
  }
@@ -253599,8 +253433,8 @@ var createTable = (rows) => {
253599
253433
  content.push(createBorder(th));
253600
253434
  }
253601
253435
  const tds = rows.filter((r) => !r.isHeader);
253602
- tds.forEach((td2) => {
253603
- content.push(createRow(td2));
253436
+ tds.forEach((td3) => {
253437
+ content.push(createRow(td3));
253604
253438
  });
253605
253439
  return content;
253606
253440
  };
@@ -254715,11 +254549,11 @@ var generateComponentTypesFile = (config, buildCtx, areTypesInternal) => {
254715
254549
  if ((0, import_path42.isAbsolute)(filePath)) {
254716
254550
  importFilePath = normalizePath("./" + relative(config.srcDir, filePath)).replace(/\.(tsx|ts)$/, "");
254717
254551
  }
254718
- return `{ ${typeData.sort(sortImportNames).map((td2) => {
254719
- if (td2.localName === td2.importName) {
254720
- return `${td2.importName}`;
254552
+ return `{ ${typeData.sort(sortImportNames).map((td3) => {
254553
+ if (td3.localName === td3.importName) {
254554
+ return `${td3.importName}`;
254721
254555
  } else {
254722
- return `${td2.localName} as ${td2.importName}`;
254556
+ return `${td3.localName} as ${td3.importName}`;
254723
254557
  }
254724
254558
  }).join(`, `)} } from "${importFilePath}";`;
254725
254559
  });
@@ -259021,7 +258855,7 @@ var build = async (config, compilerCtx, buildCtx, tsBuilder) => {
259021
258855
 
259022
258856
  // src/compiler/build/full-build.ts
259023
258857
  var createFullBuild = async (config, compilerCtx) => {
259024
- return new Promise((resolve9) => {
258858
+ return new Promise((resolve8) => {
259025
258859
  let tsWatchProgram = null;
259026
258860
  compilerCtx.events.on("fileUpdate", (p) => {
259027
258861
  config.logger.debug(`fileUpdate: ${p}`);
@@ -259038,7 +258872,7 @@ var createFullBuild = async (config, compilerCtx) => {
259038
258872
  tsWatchProgram.close();
259039
258873
  tsWatchProgram = null;
259040
258874
  }
259041
- resolve9(result2);
258875
+ resolve8(result2);
259042
258876
  }
259043
258877
  };
259044
258878
  createTsBuildProgram(config, onBuild).then((program) => {
@@ -259342,7 +259176,7 @@ var createWatchBuild = async (config, compilerCtx) => {
259342
259176
  let isRebuild = false;
259343
259177
  let tsWatchProgram;
259344
259178
  let closeResolver;
259345
- const watchWaiter = new Promise((resolve9) => closeResolver = resolve9);
259179
+ const watchWaiter = new Promise((resolve8) => closeResolver = resolve8);
259346
259180
  const dirsAdded = /* @__PURE__ */ new Set();
259347
259181
  const dirsDeleted = /* @__PURE__ */ new Set();
259348
259182
  const filesAdded = /* @__PURE__ */ new Set();
@@ -259886,7 +259720,7 @@ var createInMemoryFs = (sys) => {
259886
259720
  }
259887
259721
  return fileText;
259888
259722
  };
259889
- const remove4 = async (itemPath) => {
259723
+ const remove3 = async (itemPath) => {
259890
259724
  const stats = await stat2(itemPath);
259891
259725
  if (stats.isDirectory === true) {
259892
259726
  await removeDir(itemPath);
@@ -260261,7 +260095,7 @@ var createInMemoryFs = (sys) => {
260261
260095
  readFile: readFile3,
260262
260096
  readFileSync,
260263
260097
  readdir,
260264
- remove: remove4,
260098
+ remove: remove3,
260265
260099
  stat: stat2,
260266
260100
  statSync,
260267
260101
  sys,
@@ -262456,13 +262290,13 @@ var import_path65 = require("path");
262456
262290
 
262457
262291
  // src/hydrate/runner/render-utils.ts
262458
262292
  var createHydrateBuildId = () => {
262459
- let chars3 = "abcdefghijklmnopqrstuvwxyz";
262293
+ let chars4 = "abcdefghijklmnopqrstuvwxyz";
262460
262294
  let buildId2 = "";
262461
262295
  while (buildId2.length < 8) {
262462
- const char = chars3[Math.floor(Math.random() * chars3.length)];
262296
+ const char = chars4[Math.floor(Math.random() * chars4.length)];
262463
262297
  buildId2 += char;
262464
262298
  if (buildId2.length === 1) {
262465
- chars3 += "0123456789";
262299
+ chars4 += "0123456789";
262466
262300
  }
262467
262301
  }
262468
262302
  return buildId2;
@@ -262994,8 +262828,8 @@ var runPrerenderOutputTarget = async (workerCtx, results, diagnostics, config, d
262994
262828
  manager.templateId = await createPrerenderTemplate(config, templateData.html);
262995
262829
  manager.staticSite = templateData.staticSite;
262996
262830
  manager.componentGraphPath = await createComponentGraphPath(config, componentGraph, outputTarget);
262997
- await new Promise((resolve9) => {
262998
- manager.resolve = resolve9;
262831
+ await new Promise((resolve8) => {
262832
+ manager.resolve = resolve8;
262999
262833
  config.sys.nextTick(() => drainPrerenderQueue(results, manager));
263000
262834
  });
263001
262835
  if (manager.isDebug) {