@skaldapp/monaco-sfc 1.1.55 → 1.1.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/vue.worker.js +211 -494
  2. package/package.json +6 -6
@@ -34,7 +34,7 @@ var __copyProps = (to, from, except, desc) => {
34
34
  }
35
35
  return to;
36
36
  };
37
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
37
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
38
38
  value: mod,
39
39
  enumerable: true
40
40
  }) : target, mod));
@@ -6049,7 +6049,7 @@ var require_resolveModuleName$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
6049
6049
  return result;
6050
6050
  };
6051
6051
  function fileExists(fileName) {
6052
- if (host.fileExists(fileName)) return (getFileSize?.(fileName) ?? host.readFile(fileName)?.length ?? 0) < 4 * 1024 * 1024;
6052
+ if (host.fileExists(fileName)) return (getFileSize?.(fileName) ?? host.readFile(fileName)?.length ?? 0) < 4194304;
6053
6053
  return false;
6054
6054
  }
6055
6055
  }
@@ -10606,9 +10606,7 @@ function extractIdentifiers(param, nodes = []) {
10606
10606
  case "RestElement":
10607
10607
  extractIdentifiers(param.argument, nodes);
10608
10608
  break;
10609
- case "AssignmentPattern":
10610
- extractIdentifiers(param.left, nodes);
10611
- break;
10609
+ case "AssignmentPattern": extractIdentifiers(param.left, nodes);
10612
10610
  }
10613
10611
  return nodes;
10614
10612
  }
@@ -11433,9 +11431,7 @@ function traverseNode(node, context) {
11433
11431
  case 10:
11434
11432
  case 11:
11435
11433
  case 1:
11436
- case 0:
11437
- traverseChildren(node, context);
11438
- break;
11434
+ case 0: traverseChildren(node, context);
11439
11435
  }
11440
11436
  context.currentNode = node;
11441
11437
  let i = exitFns.length;
@@ -12170,9 +12166,7 @@ function hasForwardedSlots(children) {
12170
12166
  if (hasForwardedSlots(child.branches)) return true;
12171
12167
  break;
12172
12168
  case 10:
12173
- case 11:
12174
- if (hasForwardedSlots(child.children)) return true;
12175
- break;
12169
+ case 11: if (hasForwardedSlots(child.children)) return true;
12176
12170
  }
12177
12171
  }
12178
12172
  return false;
@@ -12345,9 +12339,7 @@ function buildProps(node, context, props = node.props, isComponent, isDynamicCom
12345
12339
  } else propsExpression = createCallExpression(context.helper(NORMALIZE_PROPS), [propsExpression]);
12346
12340
  break;
12347
12341
  case 14: break;
12348
- default:
12349
- propsExpression = createCallExpression(context.helper(NORMALIZE_PROPS), [createCallExpression(context.helper(GUARD_REACTIVE_PROPS), [propsExpression])]);
12350
- break;
12342
+ default: propsExpression = createCallExpression(context.helper(NORMALIZE_PROPS), [createCallExpression(context.helper(GUARD_REACTIVE_PROPS), [propsExpression])]);
12351
12343
  }
12352
12344
  return {
12353
12345
  props: propsExpression,
@@ -12512,9 +12504,7 @@ function parseFilter(node, context) {
12512
12504
  case 123:
12513
12505
  curly++;
12514
12506
  break;
12515
- case 125:
12516
- curly--;
12517
- break;
12507
+ case 125: curly--;
12518
12508
  }
12519
12509
  if (c === 47) {
12520
12510
  let j = i - 1;
@@ -13425,9 +13415,7 @@ var init_compiler_core_esm_bundler = __esmMin((() => {
13425
13415
  case 24:
13426
13416
  this.stateInProcessingInstruction(c);
13427
13417
  break;
13428
- case 33:
13429
- this.stateInEntity();
13430
- break;
13418
+ case 33: this.stateInEntity();
13431
13419
  }
13432
13420
  this.index++;
13433
13421
  }
@@ -13735,12 +13723,10 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
13735
13723
  if (!--currentOpenParensCount) state = stateStack.pop();
13736
13724
  }
13737
13725
  break;
13738
- case 3:
13739
- if (char === currentStringType) {
13740
- state = stateStack.pop();
13741
- currentStringType = null;
13742
- }
13743
- break;
13726
+ case 3: if (char === currentStringType) {
13727
+ state = stateStack.pop();
13728
+ currentStringType = null;
13729
+ }
13744
13730
  }
13745
13731
  }
13746
13732
  return !currentOpenBracketCount && !currentOpenParensCount;
@@ -13981,9 +13967,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
13981
13967
  case 18:
13982
13968
  case 19:
13983
13969
  case 20:
13984
- case 21:
13985
- emitError(9, end);
13986
- break;
13970
+ case 21: emitError(9, end);
13987
13971
  }
13988
13972
  for (let index = 0; index < stack.length; index++) {
13989
13973
  onCloseTag(stack[index], end - 1);
@@ -14817,9 +14801,7 @@ var init_compiler_dom_esm_bundler = __esmMin((() => {
14817
14801
  isInvalidType = true;
14818
14802
  context.onError(createDOMCompilerError(60, dir.loc));
14819
14803
  break;
14820
- default:
14821
- process.env.NODE_ENV !== "production" && checkDuplicatedValue();
14822
- break;
14804
+ default: process.env.NODE_ENV !== "production" && checkDuplicatedValue();
14823
14805
  }
14824
14806
  } else if (hasDynamicKeyVBind(node)) directiveToUse = V_MODEL_DYNAMIC;
14825
14807
  else process.env.NODE_ENV !== "production" && checkDuplicatedValue();
@@ -15990,7 +15972,7 @@ var require_constants$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
15990
15972
  };
15991
15973
  module.exports = {
15992
15974
  DEFAULT_MAX_EXTGLOB_RECURSION,
15993
- MAX_LENGTH: 1024 * 64,
15975
+ MAX_LENGTH: 65536,
15994
15976
  POSIX_REGEX_SOURCE: {
15995
15977
  __proto__: null,
15996
15978
  alnum: "a-zA-Z0-9",
@@ -19736,9 +19718,7 @@ var require_compilerOptions = /* @__PURE__ */ __commonJSMin(((exports) => {
19736
19718
  }
19737
19719
  }
19738
19720
  break;
19739
- default:
19740
- this.options[key] = options[key];
19741
- break;
19721
+ default: this.options[key] = options[key];
19742
19722
  }
19743
19723
  if (options.target === void 0) this.target ??= this.resolveVueVersion(rootDir);
19744
19724
  }
@@ -20059,9 +20039,7 @@ var require_parseSfc = /* @__PURE__ */ __commonJSMin(((exports) => {
20059
20039
  const styleBlock = createBlock(node, source);
20060
20040
  descriptor.styles.push(styleBlock);
20061
20041
  break;
20062
- default:
20063
- descriptor.customBlocks.push(createBlock(node, source));
20064
- break;
20042
+ default: descriptor.customBlocks.push(createBlock(node, source));
20065
20043
  }
20066
20044
  });
20067
20045
  return {
@@ -20525,9 +20503,7 @@ var require_vue_style_css = /* @__PURE__ */ __commonJSMin(((exports) => {
20525
20503
  case LexerState.inSingleQuoteString:
20526
20504
  if (char === `'`) state = LexerState.inParens;
20527
20505
  break;
20528
- case LexerState.inDoubleQuoteString:
20529
- if (char === `"`) state = LexerState.inParens;
20530
- break;
20506
+ case LexerState.inDoubleQuoteString: if (char === `"`) state = LexerState.inParens;
20531
20507
  }
20532
20508
  }
20533
20509
  return null;
@@ -21052,9 +21028,7 @@ var require_forEachTemplateNode = /* @__PURE__ */ __commonJSMin(((exports) => {
21052
21028
  case CompilerDOM.NodeTypes.ROOT:
21053
21029
  for (const child of node.children) yield* forEachElementNode(child);
21054
21030
  break;
21055
- case CompilerDOM.NodeTypes.IF:
21056
- for (const branch of node.branches) yield* forEachElementNode(branch);
21057
- break;
21031
+ case CompilerDOM.NodeTypes.IF: for (const branch of node.branches) yield* forEachElementNode(branch);
21058
21032
  }
21059
21033
  }
21060
21034
  function* forEachInterpolationNode(node) {
@@ -21071,9 +21045,7 @@ var require_forEachTemplateNode = /* @__PURE__ */ __commonJSMin(((exports) => {
21071
21045
  case CompilerDOM.NodeTypes.COMPOUND_EXPRESSION:
21072
21046
  for (const child of node.children) if (typeof child === "object") yield* forEachInterpolationNode(child);
21073
21047
  break;
21074
- case CompilerDOM.NodeTypes.INTERPOLATION:
21075
- yield node;
21076
- break;
21048
+ case CompilerDOM.NodeTypes.INTERPOLATION: yield node;
21077
21049
  }
21078
21050
  }
21079
21051
  }));
@@ -24708,9 +24680,7 @@ function format$5(documentText, range, options) {
24708
24680
  else if ((secondToken === 12 || secondToken === 13) && !needsLineBreak) replaceContent = cachedSpaces[1];
24709
24681
  else if (secondToken !== 5 && secondToken !== 17) hasError = true;
24710
24682
  break;
24711
- case 16:
24712
- hasError = true;
24713
- break;
24683
+ case 16: hasError = true;
24714
24684
  }
24715
24685
  if (numberLineBreaks > 0 && (secondToken === 12 || secondToken === 13)) replaceContent = newLinesAndIndent();
24716
24686
  }
@@ -24907,9 +24877,7 @@ function visit(text, visitor, options = ParseOptions.DEFAULT) {
24907
24877
  case 2:
24908
24878
  handleError(12);
24909
24879
  break;
24910
- case 6:
24911
- handleError(16);
24912
- break;
24880
+ case 6: handleError(16);
24913
24881
  }
24914
24882
  switch (token) {
24915
24883
  case 12:
@@ -27397,9 +27365,7 @@ function validate(n, schema, validationResult, matchingSchemas, context) {
27397
27365
  case "string":
27398
27366
  _validateStringNode(node);
27399
27367
  break;
27400
- case "number":
27401
- _validateNumberNode(node);
27402
- break;
27368
+ case "number": _validateNumberNode(node);
27403
27369
  }
27404
27370
  matchingSchemas.add({
27405
27371
  node,
@@ -27744,7 +27710,6 @@ function validate(n, schema, validationResult, matchingSchemas, context) {
27744
27710
  },
27745
27711
  message: schema.patternErrorMessage || schema.errorMessage || format.errorMessage
27746
27712
  });
27747
- default:
27748
27713
  }
27749
27714
  }
27750
27715
  function _validateArrayNode(node) {
@@ -29482,7 +29447,7 @@ var init_jsonValidation = __esmMin((() => {
29482
29447
  function hexDigit$1(charCode) {
29483
29448
  if (charCode < Digit0$1) return 0;
29484
29449
  if (charCode <= Digit9$1) return charCode - Digit0$1;
29485
- if (charCode < a$1) charCode += a$1 - A$1;
29450
+ if (charCode < a$1) charCode += 32;
29486
29451
  if (charCode >= a$1 && charCode <= f$1) return charCode - a$1 + 10;
29487
29452
  return 0;
29488
29453
  }
@@ -29515,11 +29480,10 @@ function colorFromHex$1(text) {
29515
29480
  };
29516
29481
  }
29517
29482
  }
29518
- var Digit0$1, Digit9$1, A$1, a$1, f$1;
29483
+ var Digit0$1, Digit9$1, a$1, f$1;
29519
29484
  var init_colors$1 = __esmMin((() => {
29520
29485
  Digit0$1 = 48;
29521
29486
  Digit9$1 = 57;
29522
- A$1 = 65;
29523
29487
  a$1 = 97;
29524
29488
  f$1 = 102;
29525
29489
  }));
@@ -31152,9 +31116,7 @@ function getSelectionRanges$1(document, positions, doc) {
31152
31116
  case "number":
31153
31117
  case "boolean":
31154
31118
  case "null":
31155
- case "property":
31156
- result.push(newRange(node.offset, node.offset + node.length));
31157
- break;
31119
+ case "property": result.push(newRange(node.offset, node.offset + node.length));
31158
31120
  }
31159
31121
  if (node.type === "property" || node.parent && node.parent.type === "array") {
31160
31122
  const afterCommaOffset = getOffsetAfterNextToken(node.offset + node.length, 5);
@@ -31276,7 +31238,8 @@ function sort(documentToSort, formattingOptions) {
31276
31238
  return [TextEdit$1.replace(Range$1.create(Position$1.create(0, 0), documentToSort.positionAt(documentToSort.getText().length)), sortedAndFormattedJsonDocument)];
31277
31239
  }
31278
31240
  function findJsoncPropertyTree(formattedDocument) {
31279
- const scanner = createScanner$1(formattedDocument.getText(), false);
31241
+ const formattedString = formattedDocument.getText();
31242
+ const scanner = createScanner$1(formattedString, false);
31280
31243
  let rootTree = new PropertyTree();
31281
31244
  let currentTree = rootTree;
31282
31245
  let currentProperty = rootTree;
@@ -31403,7 +31366,6 @@ function findJsoncPropertyTree(formattedDocument) {
31403
31366
  }
31404
31367
  }
31405
31368
  if ((lastNonTriviaNonCommentToken === 1 || lastNonTriviaNonCommentToken === 3) && lineOfLastNonTriviaNonCommentToken === scanner.getTokenStartLine()) updateBeginningLineNumber = true;
31406
- break;
31407
31369
  }
31408
31370
  if (token !== 14 && token !== 13 && token !== 12 && token !== 15) {
31409
31371
  secondToLastNonTriviaNonCommentToken = lastNonTriviaNonCommentToken;
@@ -32121,14 +32083,12 @@ var require_shared = /* @__PURE__ */ __commonJSMin(((exports) => {
32121
32083
  //#endregion
32122
32084
  //#region node_modules/semver/internal/constants.js
32123
32085
  var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
32124
- var SEMVER_SPEC_VERSION = "2.0.0";
32125
- var MAX_LENGTH = 256;
32126
- var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;
32127
32086
  module.exports = {
32128
- MAX_LENGTH,
32087
+ MAX_LENGTH: 256,
32129
32088
  MAX_SAFE_COMPONENT_LENGTH: 16,
32130
- MAX_SAFE_BUILD_LENGTH: MAX_LENGTH - 6,
32131
- MAX_SAFE_INTEGER,
32089
+ MAX_SAFE_BUILD_LENGTH: 250,
32090
+ MAX_SAFE_INTEGER: Number.MAX_SAFE_INTEGER ||
32091
+ /* istanbul ignore next */ 9007199254740991,
32132
32092
  RELEASE_TYPES: [
32133
32093
  "major",
32134
32094
  "premajor",
@@ -32138,7 +32098,7 @@ var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
32138
32098
  "prepatch",
32139
32099
  "prerelease"
32140
32100
  ],
32141
- SEMVER_SPEC_VERSION,
32101
+ SEMVER_SPEC_VERSION: "2.0.0",
32142
32102
  FLAG_INCLUDE_PRERELEASE: 1,
32143
32103
  FLAG_LOOSE: 2
32144
32104
  };
@@ -32726,9 +32686,7 @@ var require_truncate = /* @__PURE__ */ __commonJSMin(((exports, module) => {
32726
32686
  version.minor = 0;
32727
32687
  version.patch = 0;
32728
32688
  break;
32729
- case "minor":
32730
- version.patch = 0;
32731
- break;
32689
+ case "minor": version.patch = 0;
32732
32690
  }
32733
32691
  return version.format();
32734
32692
  };
@@ -33717,9 +33675,7 @@ var require_previewer = /* @__PURE__ */ __commonJSMin(((exports) => {
33717
33675
  case "linkText":
33718
33676
  if (currentLink) currentLink.text = part.text;
33719
33677
  break;
33720
- default:
33721
- out.push(part.text);
33722
- break;
33678
+ default: out.push(part.text);
33723
33679
  }
33724
33680
  return processInlineTags(out.join(""));
33725
33681
  }
@@ -38422,7 +38378,7 @@ function isColorString(s) {
38422
38378
  function hexDigit(charCode) {
38423
38379
  if (charCode < Digit0) return 0;
38424
38380
  if (charCode <= Digit9) return charCode - Digit0;
38425
- if (charCode < a) charCode += a - A;
38381
+ if (charCode < a) charCode += 32;
38426
38382
  if (charCode >= a && charCode <= f) return charCode - a + 10;
38427
38383
  return 0;
38428
38384
  }
@@ -38503,9 +38459,7 @@ function hslFromColor(rgba) {
38503
38459
  case g:
38504
38460
  h = (b - r) / chroma + 2;
38505
38461
  break;
38506
- case b:
38507
- h = (r - g) / chroma + 4;
38508
- break;
38462
+ case b: h = (r - g) / chroma + 4;
38509
38463
  }
38510
38464
  h *= 60;
38511
38465
  h = Math.round(h);
@@ -38843,7 +38797,7 @@ function getColorValue(node) {
38843
38797
  }
38844
38798
  return null;
38845
38799
  }
38846
- var hexColorRegExp, colorFunctions, colorFunctionNameRegExp, colors, colorsRegExp, colorKeywords, colorKeywordsRegExp, DEGREES_PER_CIRCLE, GRAD_TO_DEGREE_FACTOR, RADIANS_TO_DEGREES_FACTOR, Digit0, Digit9, A, a, f, DEGREES_TO_RADIANS_FACTOR;
38800
+ var hexColorRegExp, colorFunctions, colorFunctionNameRegExp, colors, colorsRegExp, colorKeywords, colorKeywordsRegExp, DEGREES_PER_CIRCLE, GRAD_TO_DEGREE_FACTOR, RADIANS_TO_DEGREES_FACTOR, Digit0, Digit9, a, f, DEGREES_TO_RADIANS_FACTOR;
38847
38801
  var init_colors = __esmMin((() => {
38848
38802
  init_cssNodes();
38849
38803
  init_browser();
@@ -39156,7 +39110,6 @@ var init_colors = __esmMin((() => {
39156
39110
  RADIANS_TO_DEGREES_FACTOR = DEGREES_PER_CIRCLE / 2 / Math.PI;
39157
39111
  Digit0 = 48;
39158
39112
  Digit9 = 57;
39159
- A = 65;
39160
39113
  a = 97;
39161
39114
  f = 102;
39162
39115
  DEGREES_TO_RADIANS_FACTOR = Math.PI / 180;
@@ -40502,7 +40455,6 @@ while (this.acceptRegexp(regEx));
40502
40455
  case TokenType$1.BracketR:
40503
40456
  bracketsDepth--;
40504
40457
  if (bracketsDepth < 0) return this.finish(node, ParseError.LeftSquareBracketExpected);
40505
- break;
40506
40458
  }
40507
40459
  this.consumeToken();
40508
40460
  }
@@ -41525,9 +41477,7 @@ var init_cssCompletion = __esmMin((() => {
41525
41477
  case "timing-function":
41526
41478
  this.getTimingFunctionProposals(entry, existingNode, result);
41527
41479
  break;
41528
- case "shape":
41529
- this.getBasicShapeProposals(entry, existingNode, result);
41530
- break;
41480
+ case "shape": this.getBasicShapeProposals(entry, existingNode, result);
41531
41481
  }
41532
41482
  this.getValueEnumProposals(entry, existingNode, result);
41533
41483
  this.getCSSWideKeywordProposals(entry, existingNode, result);
@@ -42176,13 +42126,10 @@ function toElement(node, parentElement) {
42176
42126
  case "*=":
42177
42127
  value = `\u2026${quotes.remove(unescape$1(expression.getText()))}\u2026`;
42178
42128
  break;
42179
- default:
42180
- value = quotes.remove(unescape$1(expression.getText()));
42181
- break;
42129
+ default: value = quotes.remove(unescape$1(expression.getText()));
42182
42130
  }
42183
42131
  result.addAttr(unescape$1(identifier.getText()), value);
42184
42132
  }
42185
- break;
42186
42133
  }
42187
42134
  return result;
42188
42135
  }
@@ -43263,7 +43210,6 @@ function updateModelWithList(model, values, property) {
43263
43210
  updateModelWithValue(model, "right", values[1], property);
43264
43211
  updateModelWithValue(model, "bottom", values[2], property);
43265
43212
  updateModelWithValue(model, "left", values[3], property);
43266
- break;
43267
43213
  }
43268
43214
  }
43269
43215
  function matches(value, candidates) {
@@ -43369,25 +43315,18 @@ function calculateBoxModel(propertyTable) {
43369
43315
  case "width":
43370
43316
  updateModelWithValue(model, segments[1], checkLineWidth(value, false), property);
43371
43317
  break;
43372
- case "style":
43373
- updateModelWithValue(model, segments[1], checkLineStyle(value, true), property);
43374
- break;
43318
+ case "style": updateModelWithValue(model, segments[1], checkLineStyle(value, true), property);
43375
43319
  }
43376
43320
  break;
43377
43321
  case "width":
43378
43322
  updateModelWithList(model, checkLineWidthList(value.getChildren(), false), property);
43379
43323
  break;
43380
- case "style":
43381
- updateModelWithList(model, checkLineStyleList(value.getChildren(), true), property);
43382
- break;
43324
+ case "style": updateModelWithList(model, checkLineStyleList(value.getChildren(), true), property);
43383
43325
  }
43384
43326
  break;
43385
- case "padding":
43386
- if (segments.length === 1) updateModelWithList(model, checkLineWidthList(value.getChildren(), true), property);
43387
- else updateModelWithValue(model, segments[1], checkLineWidth(value, true), property);
43388
- break;
43327
+ case "padding": if (segments.length === 1) updateModelWithList(model, checkLineWidthList(value.getChildren(), true), property);
43328
+ else updateModelWithValue(model, segments[1], checkLineWidth(value, true), property);
43389
43329
  }
43390
- break;
43391
43330
  }
43392
43331
  }
43393
43332
  return model;
@@ -43773,9 +43712,7 @@ var init_lint = __esmMin((() => {
43773
43712
  expectedAttrCount = 3;
43774
43713
  break;
43775
43714
  case "rgba(":
43776
- case "hsla(":
43777
- expectedAttrCount = 4;
43778
- break;
43715
+ case "hsla(": expectedAttrCount = 4;
43779
43716
  }
43780
43717
  if (expectedAttrCount !== -1) {
43781
43718
  node.getArguments().accept((n) => {
@@ -91558,9 +91495,7 @@ var init_htmlCompletion = __esmMin((() => {
91558
91495
  case TokenType.Content:
91559
91496
  if (offset <= scanner.getTokenEnd()) return collectInsideContent();
91560
91497
  break;
91561
- default:
91562
- if (offset <= scanner.getTokenEnd()) return result;
91563
- break;
91498
+ default: if (offset <= scanner.getTokenEnd()) return result;
91564
91499
  }
91565
91500
  token = scanner.scan();
91566
91501
  }
@@ -94803,24 +94738,22 @@ var init_htmlLinks = __esmMin((() => {
94803
94738
  case TokenType.AttributeName:
94804
94739
  lastAttributeName = scanner.getTokenText().toLowerCase();
94805
94740
  break;
94806
- case TokenType.AttributeValue:
94807
- if (lastTagName && lastAttributeName && this.dataManager.isPathAttribute(lastTagName, lastAttributeName)) {
94808
- const attributeValue = scanner.getTokenText();
94809
- if (!afterBase) {
94810
- const link = createLink(document, documentContext, attributeValue, scanner.getTokenOffset(), scanner.getTokenEnd(), base);
94811
- if (link) newLinks.push(link);
94812
- }
94813
- if (afterBase && typeof base === "undefined") {
94814
- base = normalizeRef(attributeValue);
94815
- if (base && documentContext) base = documentContext.resolveReference(base, document.uri);
94816
- }
94817
- afterBase = false;
94818
- lastAttributeName = void 0;
94819
- } else if (lastAttributeName === "id") {
94820
- const id = normalizeRef(scanner.getTokenText());
94821
- idLocations[id] = scanner.getTokenOffset();
94741
+ case TokenType.AttributeValue: if (lastTagName && lastAttributeName && this.dataManager.isPathAttribute(lastTagName, lastAttributeName)) {
94742
+ const attributeValue = scanner.getTokenText();
94743
+ if (!afterBase) {
94744
+ const link = createLink(document, documentContext, attributeValue, scanner.getTokenOffset(), scanner.getTokenEnd(), base);
94745
+ if (link) newLinks.push(link);
94822
94746
  }
94823
- break;
94747
+ if (afterBase && typeof base === "undefined") {
94748
+ base = normalizeRef(attributeValue);
94749
+ if (base && documentContext) base = documentContext.resolveReference(base, document.uri);
94750
+ }
94751
+ afterBase = false;
94752
+ lastAttributeName = void 0;
94753
+ } else if (lastAttributeName === "id") {
94754
+ const id = normalizeRef(scanner.getTokenText());
94755
+ idLocations[id] = scanner.getTokenOffset();
94756
+ }
94824
94757
  }
94825
94758
  token = scanner.scan();
94826
94759
  }
@@ -114647,7 +114580,6 @@ var require_vue_template = /* @__PURE__ */ __commonJSMin(((exports) => {
114647
114580
  else if (item.label.startsWith(DIRECTIVE_V_BIND) || item.label.startsWith(V_BIND_SHORTHAND) || item.label.startsWith(DIRECTIVE_V_MODEL)) item.kind = 5;
114648
114581
  else if (item.label.startsWith("v-")) item.kind = 14;
114649
114582
  if (item.label === DIRECTIVE_V_FOR_NAME) item.textEdit.newText = item.label + V_FOR_SNIPPET;
114650
- break;
114651
114583
  }
114652
114584
  }
114653
114585
  },
@@ -119254,9 +119186,7 @@ var require_typescript = /* @__PURE__ */ __commonJSMin(((exports, module) => {
119254
119186
  low = middle + 1;
119255
119187
  break;
119256
119188
  case 0: return middle;
119257
- case 1:
119258
- high = middle - 1;
119259
- break;
119189
+ case 1: high = middle - 1;
119260
119190
  }
119261
119191
  }
119262
119192
  return ~low;
@@ -121109,7 +121039,7 @@ ${lanes.join("\n")}
121109
121039
  eventStack.length = 0;
121110
121040
  }
121111
121041
  tracingEnabled2.popAll = popAll;
121112
- const sampleInterval = 1e3 * 10;
121042
+ const sampleInterval = 1e4;
121113
121043
  function writeStackEvent(index, endTime, results) {
121114
121044
  const { phase, name, args, time, separateBeginAndEnd } = eventStack[index];
121115
121045
  if (separateBeginAndEnd) {
@@ -131341,12 +131271,10 @@ ${lanes.join("\n")}
131341
131271
  result.push(lineStart);
131342
131272
  lineStart = pos;
131343
131273
  break;
131344
- default:
131345
- if (ch > 127 && isLineBreak(ch)) {
131346
- result.push(lineStart);
131347
- lineStart = pos;
131348
- }
131349
- break;
131274
+ default: if (ch > 127 && isLineBreak(ch)) {
131275
+ result.push(lineStart);
131276
+ lineStart = pos;
131277
+ }
131350
131278
  }
131351
131279
  }
131352
131280
  result.push(lineStart);
@@ -131503,12 +131431,10 @@ ${lanes.join("\n")}
131503
131431
  continue;
131504
131432
  }
131505
131433
  break;
131506
- default:
131507
- if (ch > 127 && isWhiteSpaceLike(ch)) {
131508
- pos++;
131509
- continue;
131510
- }
131511
- break;
131434
+ default: if (ch > 127 && isWhiteSpaceLike(ch)) {
131435
+ pos++;
131436
+ continue;
131437
+ }
131512
131438
  }
131513
131439
  return pos;
131514
131440
  }
@@ -132732,7 +132658,6 @@ ${lanes.join("\n")}
132732
132658
  default:
132733
132659
  scanAtomEscape();
132734
132660
  isPreviousTermQuantifiable = true;
132735
- break;
132736
132661
  }
132737
132662
  break;
132738
132663
  case 40:
@@ -132760,7 +132685,6 @@ ${lanes.join("\n")}
132760
132685
  if (languageVersion < 5) error2(Diagnostics.Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later, groupNameStart, pos - groupNameStart);
132761
132686
  numberOfCapturingGroups++;
132762
132687
  isPreviousTermQuantifiable = true;
132763
- break;
132764
132688
  }
132765
132689
  break;
132766
132690
  default:
@@ -132773,7 +132697,6 @@ ${lanes.join("\n")}
132773
132697
  }
132774
132698
  scanExpectedChar(58);
132775
132699
  isPreviousTermQuantifiable = true;
132776
- break;
132777
132700
  }
132778
132701
  } else {
132779
132702
  numberOfCapturingGroups++;
@@ -132845,7 +132768,6 @@ ${lanes.join("\n")}
132845
132768
  default:
132846
132769
  scanSourceCharacter();
132847
132770
  isPreviousTermQuantifiable = true;
132848
- break;
132849
132771
  }
132850
132772
  }
132851
132773
  }
@@ -132882,9 +132804,7 @@ ${lanes.join("\n")}
132882
132804
  error2(Diagnostics.q_is_only_available_inside_character_class, pos - 2, 2);
132883
132805
  break;
132884
132806
  }
132885
- default:
132886
- Debug.assert(scanCharacterClassEscape() || scanDecimalEscape() || scanCharacterEscape(true));
132887
- break;
132807
+ default: Debug.assert(scanCharacterClassEscape() || scanDecimalEscape() || scanCharacterEscape(true));
132888
132808
  }
132889
132809
  }
132890
132810
  function scanDecimalEscape() {
@@ -133007,9 +132927,7 @@ ${lanes.join("\n")}
133007
132927
  error2(Diagnostics.Expected_a_class_set_operand);
133008
132928
  mayContainStrings = false;
133009
132929
  break;
133010
- default:
133011
- operand = scanClassSetOperand();
133012
- break;
132930
+ default: operand = scanClassSetOperand();
133013
132931
  }
133014
132932
  switch (charCodeChecked(pos)) {
133015
132933
  case 45:
@@ -133033,7 +132951,6 @@ ${lanes.join("\n")}
133033
132951
  default:
133034
132952
  if (isCharacterComplement && mayContainStrings) error2(Diagnostics.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class, start2, pos - start2);
133035
132953
  expressionMayContainStrings = mayContainStrings;
133036
- break;
133037
132954
  }
133038
132955
  while (true) {
133039
132956
  ch = charCodeChecked(pos);
@@ -133091,9 +133008,7 @@ ${lanes.join("\n")}
133091
133008
  pos += 2;
133092
133009
  operand = text.slice(start2, pos);
133093
133010
  break;
133094
- default:
133095
- operand = scanClassSetOperand();
133096
- break;
133011
+ default: operand = scanClassSetOperand();
133097
133012
  }
133098
133013
  }
133099
133014
  mayContainStrings = !isCharacterComplement && expressionMayContainStrings;
@@ -133122,17 +133037,12 @@ ${lanes.join("\n")}
133122
133037
  }
133123
133038
  } else error2(Diagnostics.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, pos - 1, 1, String.fromCharCode(ch));
133124
133039
  break;
133125
- default:
133126
- switch (expressionType) {
133127
- case 3:
133128
- error2(Diagnostics._0_expected, pos, 0, "--");
133129
- break;
133130
- case 2:
133131
- error2(Diagnostics._0_expected, pos, 0, "&&");
133132
- break;
133133
- default: break;
133134
- }
133135
- break;
133040
+ default: switch (expressionType) {
133041
+ case 3:
133042
+ error2(Diagnostics._0_expected, pos, 0, "--");
133043
+ break;
133044
+ case 2: error2(Diagnostics._0_expected, pos, 0, "&&");
133045
+ }
133136
133046
  }
133137
133047
  ch = charCodeChecked(pos);
133138
133048
  if (isClassContentExit(ch)) {
@@ -133189,7 +133099,6 @@ ${lanes.join("\n")}
133189
133099
  default:
133190
133100
  scanClassSetCharacter();
133191
133101
  characterCount++;
133192
- break;
133193
133102
  }
133194
133103
  }
133195
133104
  function scanClassSetCharacter() {
@@ -134497,9 +134406,7 @@ ${lanes.join("\n")}
134497
134406
  }
134498
134407
  break;
134499
134408
  case 218: return getDeclarationIdentifier(hostNode.expression);
134500
- case 257:
134501
- if (isDeclaration(hostNode.statement) || isExpression(hostNode.statement)) return getDeclarationIdentifier(hostNode.statement);
134502
- break;
134409
+ case 257: if (isDeclaration(hostNode.statement) || isExpression(hostNode.statement)) return getDeclarationIdentifier(hostNode.statement);
134503
134410
  }
134504
134411
  }
134505
134412
  function getDeclarationIdentifier(node) {
@@ -137049,10 +136956,8 @@ ${lanes.join("\n")}
137049
136956
  case 178:
137050
136957
  case 179:
137051
136958
  case 176: return node;
137052
- case 171:
137053
- if (node.parent.kind === 170 && isClassElement(node.parent.parent)) node = node.parent.parent;
137054
- else if (isClassElement(node.parent)) node = node.parent;
137055
- break;
136959
+ case 171: if (node.parent.kind === 170 && isClassElement(node.parent.parent)) node = node.parent.parent;
136960
+ else if (isClassElement(node.parent)) node = node.parent;
137056
136961
  }
137057
136962
  }
137058
136963
  }
@@ -138072,9 +137977,7 @@ ${lanes.join("\n")}
138072
137977
  case 263:
138073
137978
  case 219:
138074
137979
  case 175: if (node.asteriskToken) flags |= 1;
138075
- case 220:
138076
- if (hasSyntacticModifier(node, 1024)) flags |= 2;
138077
- break;
137980
+ case 220: if (hasSyntacticModifier(node, 1024)) flags |= 2;
138078
137981
  }
138079
137982
  if (!node.body) flags |= 4;
138080
137983
  return flags;
@@ -141126,10 +141029,8 @@ ${lanes.join("\n")}
141126
141029
  state = 3;
141127
141030
  }
141128
141031
  break;
141129
- case 3:
141130
- if (fullPath.indexOf(nodeModulesPathPart, partStart) === partStart) state = 1;
141131
- else state = 3;
141132
- break;
141032
+ case 3: if (fullPath.indexOf(nodeModulesPathPart, partStart) === partStart) state = 1;
141033
+ else state = 3;
141133
141034
  }
141134
141035
  }
141135
141036
  fileNameIndex = partStart;
@@ -141586,9 +141487,7 @@ ${lanes.join("\n")}
141586
141487
  }
141587
141488
  }
141588
141489
  break;
141589
- case 282:
141590
- if (lastLocation && lastLocation === location.propertyName && location.parent.parent.moduleSpecifier) location = location.parent.parent.parent;
141591
- break;
141490
+ case 282: if (lastLocation && lastLocation === location.propertyName && location.parent.parent.moduleSpecifier) location = location.parent.parent.parent;
141592
141491
  }
141593
141492
  if (isSelfReferenceLocation(location, lastLocation)) lastSelfReferenceLocation = location;
141594
141493
  lastLocation = location;
@@ -143226,7 +143125,6 @@ ${lanes.join("\n")}
143226
143125
  case 110:
143227
143126
  transformFlags = 16384;
143228
143127
  node.flowNode = void 0;
143229
- break;
143230
143128
  }
143231
143129
  if (transformFlags) node.transformFlags |= transformFlags;
143232
143130
  return node;
@@ -146081,9 +145979,7 @@ ${lanes.join("\n")}
146081
145979
  case 17:
146082
145980
  rawTextScanner.setText("}" + rawText + "${");
146083
145981
  break;
146084
- case 18:
146085
- rawTextScanner.setText("}" + rawText + "`");
146086
- break;
145982
+ case 18: rawTextScanner.setText("}" + rawText + "`");
146087
145983
  }
146088
145984
  let token = rawTextScanner.scan();
146089
145985
  if (token === 20) token = rawTextScanner.reScanTemplateToken(false);
@@ -146096,9 +145992,7 @@ ${lanes.join("\n")}
146096
145992
  case 15:
146097
145993
  case 16:
146098
145994
  case 17:
146099
- case 18:
146100
- tokenValue = rawTextScanner.getTokenValue();
146101
- break;
145995
+ case 18: tokenValue = rawTextScanner.getTokenValue();
146102
145996
  }
146103
145997
  if (tokenValue === void 0 || rawTextScanner.scan() !== 1) {
146104
145998
  rawTextScanner.setText(void 0);
@@ -149348,9 +149242,7 @@ ${lanes.join("\n")}
149348
149242
  expression2 = parseLiteralNode();
149349
149243
  break;
149350
149244
  }
149351
- default:
149352
- expression2 = parseObjectLiteralExpression();
149353
- break;
149245
+ default: expression2 = parseObjectLiteralExpression();
149354
149246
  }
149355
149247
  if (expressions && isArray(expressions)) expressions.push(expression2);
149356
149248
  else if (expressions) expressions = [expressions, expression2];
@@ -149403,9 +149295,7 @@ ${lanes.join("\n")}
149403
149295
  case 6:
149404
149296
  contextFlags = 134742016;
149405
149297
  break;
149406
- default:
149407
- contextFlags = 0;
149408
- break;
149298
+ default: contextFlags = 0;
149409
149299
  }
149410
149300
  parseErrorBeforeNextFinishedNode = false;
149411
149301
  scanner2.setText(sourceText);
@@ -152429,9 +152319,7 @@ ${lanes.join("\n")}
152429
152319
  case 129:
152430
152320
  case 126:
152431
152321
  case 148:
152432
- case 162:
152433
- if (isStartOfDeclaration()) return parseDeclaration();
152434
- break;
152322
+ case 162: if (isStartOfDeclaration()) return parseDeclaration();
152435
152323
  }
152436
152324
  return parseExpressionOrLabeledStatement();
152437
152325
  }
@@ -153390,7 +153278,6 @@ ${lanes.join("\n")}
153390
153278
  default:
153391
153279
  state = 2;
153392
153280
  pushComment(scanner2.getTokenText());
153393
- break;
153394
153281
  }
153395
153282
  if (state === 2) nextJSDocCommentTextToken(false);
153396
153283
  else nextTokenJSDoc();
@@ -153527,9 +153414,7 @@ ${lanes.join("\n")}
153527
153414
  case "import":
153528
153415
  tag = parseImportTag(start2, tagName, margin, indentText);
153529
153416
  break;
153530
- default:
153531
- tag = parseUnknownTag(start2, tagName, margin, indentText);
153532
- break;
153417
+ default: tag = parseUnknownTag(start2, tagName, margin, indentText);
153533
153418
  }
153534
153419
  return tag;
153535
153420
  }
@@ -153602,7 +153487,6 @@ ${lanes.join("\n")}
153602
153487
  default:
153603
153488
  if (state !== 3) state = 2;
153604
153489
  pushComment(scanner2.getTokenText());
153605
- break;
153606
153490
  }
153607
153491
  if (state === 2 || state === 3) tok = nextJSDocCommentTextToken(state === 3);
153608
153492
  else tok = nextTokenJSDoc();
@@ -156230,7 +156114,6 @@ ${lanes.join("\n")}
156230
156114
  default:
156231
156115
  options[opt.name] = parseCustomTypeOption(opt, args[i], errors);
156232
156116
  i++;
156233
- break;
156234
156117
  }
156235
156118
  else {
156236
156119
  options[opt.name] = void 0;
@@ -157746,9 +157629,7 @@ ${lanes.join("\n")}
157746
157629
  case 99:
157747
157630
  features = 94;
157748
157631
  break;
157749
- case 100:
157750
- features = 94;
157751
- break;
157632
+ case 100: features = 94;
157752
157633
  }
157753
157634
  if (options.resolvePackageJsonExports) features |= 8;
157754
157635
  else if (options.resolvePackageJsonExports === false) features &= -9;
@@ -159714,9 +159595,7 @@ ${lanes.join("\n")}
159714
159595
  case 210:
159715
159596
  case 304:
159716
159597
  case 231: inAssignmentPattern = saveInAssignmentPattern;
159717
- default:
159718
- bindEachChild(node);
159719
- break;
159598
+ default: bindEachChild(node);
159720
159599
  }
159721
159600
  bindJSDoc(node);
159722
159601
  inAssignmentPattern = saveInAssignmentPattern;
@@ -160341,7 +160220,6 @@ ${lanes.join("\n")}
160341
160220
  bind(node.questionDotToken);
160342
160221
  bindEach(node.typeArguments);
160343
160222
  bindEach(node.arguments);
160344
- break;
160345
160223
  }
160346
160224
  }
160347
160225
  function bindOptionalChain(node, trueTarget, falseTarget) {
@@ -161911,7 +161789,6 @@ ${lanes.join("\n")}
161911
161789
  const jsExtension = tryGetJSExtensionForFile(declarationFile, options);
161912
161790
  return jsExtension ? { moduleFileToTry: changeFullExtension(substituted, jsExtension) } : void 0;
161913
161791
  }
161914
- break;
161915
161792
  }
161916
161793
  } else if (Array.isArray(exports2)) return forEach(exports2, (e) => tryGetModuleNameFromExportsOrImports(options, host, targetFilePath, packageDirectory, packageName, e, conditions, mode, isImports, preferTsExtension));
161917
161794
  else if (typeof exports2 === "object" && exports2 !== null) {
@@ -163455,9 +163332,7 @@ ${lanes.join("\n")}
163455
163332
  switch (declaration2.parent.parent.kind) {
163456
163333
  case 244:
163457
163334
  case 249:
163458
- case 251:
163459
- if (isSameScopeDescendentOf(usage2, declaration2, declContainer)) return true;
163460
- break;
163335
+ case 251: if (isSameScopeDescendentOf(usage2, declaration2, declContainer)) return true;
163461
163336
  }
163462
163337
  const grandparent = declaration2.parent.parent;
163463
163338
  return isForInOrOfStatement(grandparent) && isSameScopeDescendentOf(usage2, grandparent.expression, declContainer);
@@ -164830,7 +164705,6 @@ ${lanes.join("\n")}
164830
164705
  if (memberSymbol.flags & 788968) (table || (table = createSymbolTable())).set(key, memberSymbol);
164831
164706
  });
164832
164707
  if (table && (result = callback(table, void 0, false, location))) return result;
164833
- break;
164834
164708
  }
164835
164709
  }
164836
164710
  return callback(globals, void 0, true);
@@ -178753,9 +178627,7 @@ ${lanes.join("\n")}
178753
178627
  case 236:
178754
178628
  case 239: return narrowType(type, expr.expression, assumeTrue);
178755
178629
  case 227: return narrowTypeByBinaryExpression(type, expr, assumeTrue);
178756
- case 225:
178757
- if (expr.operator === 54) return narrowType(type, expr.operand, !assumeTrue);
178758
- break;
178630
+ case 225: if (expr.operator === 54) return narrowType(type, expr.operand, !assumeTrue);
178759
178631
  }
178760
178632
  return type;
178761
178633
  }
@@ -179065,7 +178937,6 @@ ${lanes.join("\n")}
179065
178937
  const containingSignature = node.parent;
179066
178938
  for (const parameter of containingSignature.parameters) markDecoratorMedataDataTypeNodeAsReferenced(getParameterTypeNodeForDecoratorCheck(parameter));
179067
178939
  markDecoratorMedataDataTypeNodeAsReferenced(getEffectiveReturnTypeNode(containingSignature));
179068
- break;
179069
178940
  }
179070
178941
  }
179071
178942
  }
@@ -179372,9 +179243,7 @@ ${lanes.join("\n")}
179372
179243
  case 268:
179373
179244
  error2(node, Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);
179374
179245
  break;
179375
- case 267:
179376
- error2(node, Diagnostics.this_cannot_be_referenced_in_current_location);
179377
- break;
179246
+ case 267: error2(node, Diagnostics.this_cannot_be_referenced_in_current_location);
179378
179247
  }
179379
179248
  if (!isNodeInTypeQuery && capturedByArrowFunction && languageVersion < 2) captureLexicalThis(node, container);
179380
179249
  const type = tryGetThisTypeAt(node, true, container);
@@ -183027,7 +182896,6 @@ ${lanes.join("\n")}
183027
182896
  case 218:
183028
182897
  type = getJSDocTypeAssertionType(node);
183029
182898
  expression = node.expression;
183030
- break;
183031
182899
  }
183032
182900
  return {
183033
182901
  type,
@@ -183173,17 +183041,15 @@ ${lanes.join("\n")}
183173
183041
  if (node.dotDotDotToken) return elementFlags & 12 ? name : `${name}_${index}`;
183174
183042
  else return elementFlags & 3 ? name : `${name}_n`;
183175
183043
  }
183176
- case 208:
183177
- if (node.dotDotDotToken) {
183178
- const elements = node.name.elements;
183179
- const lastElement = tryCast(lastOrUndefined(elements), isBindingElement);
183180
- const elementCount = elements.length - ((lastElement == null ? void 0 : lastElement.dotDotDotToken) ? 1 : 0);
183181
- if (index < elementCount) {
183182
- const element = elements[index];
183183
- if (isBindingElement(element)) return getTupleElementLabelFromBindingElement(element, index, elementFlags);
183184
- } else if (lastElement == null ? void 0 : lastElement.dotDotDotToken) return getTupleElementLabelFromBindingElement(lastElement, index - elementCount, elementFlags);
183185
- }
183186
- break;
183044
+ case 208: if (node.dotDotDotToken) {
183045
+ const elements = node.name.elements;
183046
+ const lastElement = tryCast(lastOrUndefined(elements), isBindingElement);
183047
+ const elementCount = elements.length - ((lastElement == null ? void 0 : lastElement.dotDotDotToken) ? 1 : 0);
183048
+ if (index < elementCount) {
183049
+ const element = elements[index];
183050
+ if (isBindingElement(element)) return getTupleElementLabelFromBindingElement(element, index, elementFlags);
183051
+ } else if (lastElement == null ? void 0 : lastElement.dotDotDotToken) return getTupleElementLabelFromBindingElement(lastElement, index - elementCount, elementFlags);
183052
+ }
183187
183053
  }
183188
183054
  return `arg_${index}`;
183189
183055
  }
@@ -184020,7 +183886,6 @@ ${lanes.join("\n")}
184020
183886
  const message = isAwaitExpression(node) ? Diagnostics.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_node18_node20_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher : Diagnostics.Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_node18_node20_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher;
184021
183887
  diagnostics.add(createFileDiagnostic(sourceFile, span.start, span.length, message));
184022
183888
  hasError = true;
184023
- break;
184024
183889
  }
184025
183890
  }
184026
183891
  } else {
@@ -184504,8 +184369,6 @@ ${lanes.join("\n")}
184504
184369
  case 73:
184505
184370
  const rhsEval = evaluate(right);
184506
184371
  if (typeof rhsEval.value === "number" && Math.abs(rhsEval.value) >= 32) errorOrSuggestion(isEnumMember(walkUpParenthesizedExpressions(right.parent.parent)), errorNode || operatorToken, Diagnostics.This_operation_can_be_simplified_This_shift_is_identical_to_0_1_2, getTextOfNode(left), tokenToString(operator), rhsEval.value % 32);
184507
- break;
184508
- default: break;
184509
184372
  }
184510
184373
  }
184511
184374
  return resultType2;
@@ -185307,9 +185170,7 @@ ${lanes.join("\n")}
185307
185170
  case 181:
185308
185171
  error2(node, Diagnostics.Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);
185309
185172
  break;
185310
- case 180:
185311
- error2(node, Diagnostics.Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);
185312
- break;
185173
+ case 180: error2(node, Diagnostics.Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);
185313
185174
  }
185314
185175
  if (returnTypeNode && returnTypeErrorLocation) {
185315
185176
  const functionFlags2 = getFunctionFlags(node);
@@ -185350,9 +185211,7 @@ ${lanes.join("\n")}
185350
185211
  case 173:
185351
185212
  addName(names, name, memberName, 3 | privateStaticFlags);
185352
185213
  break;
185353
- case 175:
185354
- addName(names, name, memberName, 8 | privateStaticFlags);
185355
- break;
185214
+ case 175: addName(names, name, memberName, 8 | privateStaticFlags);
185356
185215
  }
185357
185216
  }
185358
185217
  function addName(names, location, name, meaning) {
@@ -185382,7 +185241,6 @@ ${lanes.join("\n")}
185382
185241
  case "prototype":
185383
185242
  const message = Diagnostics.Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1;
185384
185243
  error2(memberNameNode, message, memberName, getNameOfSymbolAsWritten(getSymbolOfDeclaration(node)));
185385
- break;
185386
185244
  }
185387
185245
  }
185388
185246
  }
@@ -188327,9 +188185,7 @@ ${lanes.join("\n")}
188327
188185
  case 263:
188328
188186
  case 265:
188329
188187
  case 268:
188330
- case 266:
188331
- if (isGlobalAugmentation) return;
188332
- break;
188188
+ case 266: if (isGlobalAugmentation) return;
188333
188189
  }
188334
188190
  }
188335
188191
  function getFirstNonModuleExportsIdentifier(node) {
@@ -188946,9 +188802,7 @@ ${lanes.join("\n")}
188946
188802
  case 223:
188947
188803
  checkExpression(node.expression);
188948
188804
  break;
188949
- case 227:
188950
- if (isInstanceOfExpression(node)) resolveUntypedCall(node);
188951
- break;
188805
+ case 227: if (isInstanceOfExpression(node)) resolveUntypedCall(node);
188952
188806
  }
188953
188807
  currentNode = saveCurrentNode;
188954
188808
  (_b = tracing) == null || _b.pop();
@@ -189109,9 +188963,7 @@ ${lanes.join("\n")}
189109
188963
  case 265:
189110
188964
  if (!isStaticSymbol) copySymbols(getMembersOfSymbol(getSymbolOfDeclaration(location)), meaning & 788968);
189111
188965
  break;
189112
- case 219:
189113
- if (location.name) copySymbol(location.symbol, meaning);
189114
- break;
188966
+ case 219: if (location.name) copySymbol(location.symbol, meaning);
189115
188967
  }
189116
188968
  if (introducesArgumentsExoticObject(location)) copySymbol(argumentsSymbol, meaning);
189117
188969
  isStaticSymbol = isStatic(location);
@@ -190709,9 +190561,7 @@ ${lanes.join("\n")}
190709
190561
  case 99:
190710
190562
  case 200:
190711
190563
  case 4: if (languageVersion >= 4) break;
190712
- default:
190713
- diagnostics.add(createDiagnosticForNode(forInOrOfStatement.awaitModifier, Diagnostics.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_node18_node20_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher));
190714
- break;
190564
+ default: diagnostics.add(createDiagnosticForNode(forInOrOfStatement.awaitModifier, Diagnostics.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_node18_node20_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher));
190715
190565
  }
190716
190566
  }
190717
190567
  } else if (!hasParseDiagnostics(sourceFile)) {
@@ -190837,9 +190687,7 @@ ${lanes.join("\n")}
190837
190687
  case 256:
190838
190688
  if (node.kind === 253 && !node.label) return false;
190839
190689
  break;
190840
- default:
190841
- if (isIterationStatement(current, false) && !node.label) return false;
190842
- break;
190690
+ default: if (isIterationStatement(current, false) && !node.label) return false;
190843
190691
  }
190844
190692
  current = current.parent;
190845
190693
  }
@@ -190957,17 +190805,15 @@ ${lanes.join("\n")}
190957
190805
  case 105:
190958
190806
  if (escapedText !== "target") return grammarErrorOnNode(node.name, Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2, unescapeLeadingUnderscores(node.name.escapedText), tokenToString(node.keywordToken), "target");
190959
190807
  break;
190960
- case 102:
190961
- if (escapedText !== "meta") {
190962
- const isCallee = isCallExpression(node.parent) && node.parent.expression === node;
190963
- if (escapedText === "defer") {
190964
- if (!isCallee) return grammarErrorAtPos(node, node.end, 0, Diagnostics._0_expected, "(");
190965
- } else {
190966
- if (isCallee) return grammarErrorOnNode(node.name, Diagnostics._0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer, unescapeLeadingUnderscores(node.name.escapedText));
190967
- return grammarErrorOnNode(node.name, Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2, unescapeLeadingUnderscores(node.name.escapedText), tokenToString(node.keywordToken), "meta");
190968
- }
190808
+ case 102: if (escapedText !== "meta") {
190809
+ const isCallee = isCallExpression(node.parent) && node.parent.expression === node;
190810
+ if (escapedText === "defer") {
190811
+ if (!isCallee) return grammarErrorAtPos(node, node.end, 0, Diagnostics._0_expected, "(");
190812
+ } else {
190813
+ if (isCallee) return grammarErrorOnNode(node.name, Diagnostics._0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer, unescapeLeadingUnderscores(node.name.escapedText));
190814
+ return grammarErrorOnNode(node.name, Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2, unescapeLeadingUnderscores(node.name.escapedText), tokenToString(node.keywordToken), "meta");
190969
190815
  }
190970
- break;
190816
+ }
190971
190817
  }
190972
190818
  }
190973
190819
  function hasParseDiagnostics(sourceFile) {
@@ -192733,21 +192579,19 @@ ${lanes.join("\n")}
192733
192579
  case 263:
192734
192580
  if (hasSyntacticModifier(node, 32)) addExportedFunctionDeclaration(node, void 0, hasSyntacticModifier(node, 2048));
192735
192581
  break;
192736
- case 264:
192737
- if (hasSyntacticModifier(node, 32)) if (hasSyntacticModifier(node, 2048)) {
192738
- if (!hasExportDefault) {
192739
- multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(node), context.factory.getDeclarationName(node));
192740
- hasExportDefault = true;
192741
- }
192742
- } else {
192743
- const name = node.name;
192744
- if (name && !uniqueExports.get(idText(name))) {
192745
- multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(node), name);
192746
- uniqueExports.set(idText(name), true);
192747
- exportedNames = append(exportedNames, name);
192748
- }
192582
+ case 264: if (hasSyntacticModifier(node, 32)) if (hasSyntacticModifier(node, 2048)) {
192583
+ if (!hasExportDefault) {
192584
+ multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(node), context.factory.getDeclarationName(node));
192585
+ hasExportDefault = true;
192749
192586
  }
192750
- break;
192587
+ } else {
192588
+ const name = node.name;
192589
+ if (name && !uniqueExports.get(idText(name))) {
192590
+ multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(node), name);
192591
+ uniqueExports.set(idText(name), true);
192592
+ exportedNames = append(exportedNames, name);
192593
+ }
192594
+ }
192751
192595
  }
192752
192596
  const externalHelpersImportDeclaration = createExternalHelpersImportDeclarationIfNeeded(context.factory, context.getEmitHelperFactory(), sourceFile, compilerOptions, hasExportStarsToExportValues, hasImportStar, hasImportDefault);
192753
192597
  if (externalHelpersImportDeclaration) externalImports.unshift(externalHelpersImportDeclaration);
@@ -193591,7 +193435,6 @@ ${lanes.join("\n")}
193591
193435
  if (hasSyntacticModifier(node, 128)) break;
193592
193436
  if (node.name) recordEmittedDeclarationInScope(node);
193593
193437
  else Debug.assert(node.kind === 264 || hasSyntacticModifier(node, 2048));
193594
- break;
193595
193438
  }
193596
193439
  }
193597
193440
  function visitor(node) {
@@ -193633,7 +193476,6 @@ ${lanes.join("\n")}
193633
193476
  Debug.assertNode(parsed, isExportDeclaration);
193634
193477
  if (node.exportClause !== parsed.exportClause) return true;
193635
193478
  if (node.attributes !== parsed.attributes) return true;
193636
- break;
193637
193479
  }
193638
193480
  return false;
193639
193481
  }
@@ -194655,9 +194497,7 @@ ${lanes.join("\n")}
194655
194497
  case 173: return transformFieldInitializer(node);
194656
194498
  case 178:
194657
194499
  case 179: return classElementVisitor(node);
194658
- default:
194659
- Debug.assertMissingNode(node, "Expected node to either be a PropertyDeclaration, GetAccessorDeclaration, or SetAccessorDeclaration");
194660
- break;
194500
+ default: Debug.assertMissingNode(node, "Expected node to either be a PropertyDeclaration, GetAccessorDeclaration, or SetAccessorDeclaration");
194661
194501
  }
194662
194502
  }
194663
194503
  function visitPrivateIdentifier(node) {
@@ -196425,7 +196265,6 @@ ${lanes.join("\n")}
196425
196265
  classThis = grandparent.classThis;
196426
196266
  classSuper = grandparent.classSuper;
196427
196267
  }
196428
- break;
196429
196268
  }
196430
196269
  }
196431
196270
  function enterClass(classInfo2) {
@@ -197638,9 +197477,7 @@ ${lanes.join("\n")}
197638
197477
  case 170:
197639
197478
  case 209:
197640
197479
  case 261: break;
197641
- case 80:
197642
- if (lexicalArgumentsBinding && resolver.isArgumentsLocalBinding(node)) return lexicalArgumentsBinding;
197643
- break;
197480
+ case 80: if (lexicalArgumentsBinding && resolver.isArgumentsLocalBinding(node)) return lexicalArgumentsBinding;
197644
197481
  }
197645
197482
  return visitEachChild(node, argumentsVisitor, context);
197646
197483
  }
@@ -198734,15 +198571,13 @@ ${lanes.join("\n")}
198734
198571
  } else thisArg = rightExpression;
198735
198572
  rightExpression = segment.kind === 212 ? factory2.createPropertyAccessExpression(rightExpression, visitNode(segment.name, visitor, isIdentifier)) : factory2.createElementAccessExpression(rightExpression, visitNode(segment.argumentExpression, visitor, isExpression));
198736
198573
  break;
198737
- case 214:
198738
- if (i === 0 && leftThisArg) {
198739
- if (!isGeneratedIdentifier(leftThisArg)) {
198740
- leftThisArg = factory2.cloneNode(leftThisArg);
198741
- addEmitFlags(leftThisArg, 3072);
198742
- }
198743
- rightExpression = factory2.createFunctionCallCall(rightExpression, leftThisArg.kind === 108 ? factory2.createThis() : leftThisArg, visitNodes2(segment.arguments, visitor, isExpression));
198744
- } else rightExpression = factory2.createCallExpression(rightExpression, void 0, visitNodes2(segment.arguments, visitor, isExpression));
198745
- break;
198574
+ case 214: if (i === 0 && leftThisArg) {
198575
+ if (!isGeneratedIdentifier(leftThisArg)) {
198576
+ leftThisArg = factory2.cloneNode(leftThisArg);
198577
+ addEmitFlags(leftThisArg, 3072);
198578
+ }
198579
+ rightExpression = factory2.createFunctionCallCall(rightExpression, leftThisArg.kind === 108 ? factory2.createThis() : leftThisArg, visitNodes2(segment.arguments, visitor, isExpression));
198580
+ } else rightExpression = factory2.createCallExpression(rightExpression, void 0, visitNodes2(segment.arguments, visitor, isExpression));
198746
198581
  }
198747
198582
  setOriginalNode(rightExpression, segment);
198748
198583
  }
@@ -200335,9 +200170,7 @@ ${lanes.join("\n")}
200335
200170
  break;
200336
200171
  case 177:
200337
200172
  case 176: break;
200338
- default:
200339
- Debug.failBadSyntaxKind(member, currentSourceFile && currentSourceFile.fileName);
200340
- break;
200173
+ default: Debug.failBadSyntaxKind(member, currentSourceFile && currentSourceFile.fileName);
200341
200174
  }
200342
200175
  }
200343
200176
  function transformSemicolonClassElementToStatement(member) {
@@ -200825,7 +200658,6 @@ ${lanes.join("\n")}
200825
200658
  case 251:
200826
200659
  const initializer = node.initializer;
200827
200660
  if (initializer && initializer.kind === 262) loopInitializer = initializer;
200828
- break;
200829
200661
  }
200830
200662
  const loopParameters = [];
200831
200663
  const loopOutParameters = [];
@@ -201024,9 +200856,7 @@ ${lanes.join("\n")}
201024
200856
  case 305:
201025
200857
  expressions.push(transformShorthandPropertyAssignmentToExpression(property, receiver, node.multiLine));
201026
200858
  break;
201027
- default:
201028
- Debug.failBadSyntaxKind(node);
201029
- break;
200859
+ default: Debug.failBadSyntaxKind(node);
201030
200860
  }
201031
200861
  }
201032
200862
  }
@@ -201568,9 +201398,7 @@ ${lanes.join("\n")}
201568
201398
  case 213:
201569
201399
  target = factory2.updateElementAccessExpression(left, cacheExpression(Debug.checkDefined(visitNode(left.expression, visitor, isLeftHandSideExpression))), cacheExpression(Debug.checkDefined(visitNode(left.argumentExpression, visitor, isExpression))));
201570
201400
  break;
201571
- default:
201572
- target = Debug.checkDefined(visitNode(left, visitor, isExpression));
201573
- break;
201401
+ default: target = Debug.checkDefined(visitNode(left, visitor, isExpression));
201574
201402
  }
201575
201403
  const operator = node.operatorToken.kind;
201576
201404
  if (isCompoundAssignment(operator)) return setTextRange(factory2.createAssignment(target, setTextRange(factory2.createBinaryExpression(cacheExpression(target), getNonAssignmentOperatorForCompoundAssignment(operator), Debug.checkDefined(visitNode(right, visitor, isExpression))), node)), node);
@@ -202473,12 +202301,10 @@ ${lanes.join("\n")}
202473
202301
  currentExceptionBlock = block;
202474
202302
  } else if (blockAction === 1) currentExceptionBlock = exceptionBlockStack.pop();
202475
202303
  break;
202476
- case 1:
202477
- if (blockAction === 0) {
202478
- if (!withBlockStack) withBlockStack = [];
202479
- withBlockStack.push(block);
202480
- } else if (blockAction === 1) withBlockStack.pop();
202481
- break;
202304
+ case 1: if (blockAction === 0) {
202305
+ if (!withBlockStack) withBlockStack = [];
202306
+ withBlockStack.push(block);
202307
+ } else if (blockAction === 1) withBlockStack.pop();
202482
202308
  }
202483
202309
  }
202484
202310
  }
@@ -203119,9 +202945,7 @@ ${lanes.join("\n")}
203119
202945
  case 275:
203120
202946
  statements = appendExportsOfDeclaration(statements, seen, namedBindings);
203121
202947
  break;
203122
- case 276:
203123
- for (const importBinding of namedBindings.elements) statements = appendExportsOfDeclaration(statements, seen, importBinding, true);
203124
- break;
202948
+ case 276: for (const importBinding of namedBindings.elements) statements = appendExportsOfDeclaration(statements, seen, importBinding, true);
203125
202949
  }
203126
202950
  return statements;
203127
202951
  }
@@ -203474,7 +203298,6 @@ ${lanes.join("\n")}
203474
203298
  statements.push(factory2.createExpressionStatement(factory2.createCallExpression(exportFunction, void 0, [factory2.createObjectLiteralExpression(properties, true)])));
203475
203299
  } else statements.push(factory2.createExpressionStatement(factory2.createCallExpression(exportFunction, void 0, [factory2.createStringLiteral(moduleExportNameTextUnescaped(entry.exportClause.name)), parameterName])));
203476
203300
  else statements.push(factory2.createExpressionStatement(factory2.createCallExpression(exportStarFunction, void 0, [parameterName])));
203477
- break;
203478
203301
  }
203479
203302
  }
203480
203303
  setters.push(factory2.createFunctionExpression(void 0, void 0, void 0, void 0, [factory2.createParameterDeclaration(void 0, void 0, parameterName)], void 0, factory2.createBlock(statements, true)));
@@ -203573,9 +203396,7 @@ ${lanes.join("\n")}
203573
203396
  case 275:
203574
203397
  statements = appendExportsOfDeclaration(statements, namedBindings);
203575
203398
  break;
203576
- case 276:
203577
- for (const importBinding of namedBindings.elements) statements = appendExportsOfDeclaration(statements, importBinding);
203578
- break;
203399
+ case 276: for (const importBinding of namedBindings.elements) statements = appendExportsOfDeclaration(statements, importBinding);
203579
203400
  }
203580
203401
  return statements;
203581
203402
  }
@@ -206240,9 +206061,7 @@ ${lanes.join("\n")}
206240
206061
  case 2:
206241
206062
  Debug.assert(isIdentifier(node), "Expected an Identifier node.");
206242
206063
  break;
206243
- case 1:
206244
- Debug.assert(isExpression(node), "Expected an Expression node.");
206245
- break;
206064
+ case 1: Debug.assert(isExpression(node), "Expected an Expression node.");
206246
206065
  }
206247
206066
  switch (node.kind) {
206248
206067
  case 308: return printFile(node);
@@ -206702,9 +206521,7 @@ ${lanes.join("\n")}
206702
206521
  case 1:
206703
206522
  emitPlaceholder(hint, node, snippet);
206704
206523
  break;
206705
- case 0:
206706
- emitTabStop(hint, node, snippet);
206707
- break;
206524
+ case 0: emitTabStop(hint, node, snippet);
206708
206525
  }
206709
206526
  }
206710
206527
  function emitPlaceholder(hint, node, snippet) {
@@ -208446,7 +208263,6 @@ ${lanes.join("\n")}
208446
208263
  case 8:
208447
208264
  writeSpace();
208448
208265
  writePunctuation("&");
208449
- break;
208450
208266
  }
208451
208267
  }
208452
208268
  function emitList(parentNode, children, format, parenthesizerRule, start, count) {
@@ -208839,9 +208655,7 @@ ${lanes.join("\n")}
208839
208655
  case 276:
208840
208656
  forEach(node.elements, generateNames);
208841
208657
  break;
208842
- case 277:
208843
- generateNameIfNeeded(node.propertyName || node.name);
208844
- break;
208658
+ case 277: generateNameIfNeeded(node.propertyName || node.name);
208845
208659
  }
208846
208660
  }
208847
208661
  function generateMemberNames(node) {
@@ -208854,9 +208668,7 @@ ${lanes.join("\n")}
208854
208668
  case 175:
208855
208669
  case 174:
208856
208670
  case 178:
208857
- case 179:
208858
- generateNameIfNeeded(node.name);
208859
- break;
208671
+ case 179: generateNameIfNeeded(node.name);
208860
208672
  }
208861
208673
  }
208862
208674
  function generateNameIfNeeded(name) {
@@ -208927,7 +208739,6 @@ ${lanes.join("\n")}
208927
208739
  default:
208928
208740
  formattedNameTempFlags ?? (formattedNameTempFlags = /* @__PURE__ */ new Map());
208929
208741
  formattedNameTempFlags.set(formattedNameKey, flags);
208930
- break;
208931
208742
  }
208932
208743
  }
208933
208744
  function makeTempVariableName(flags, reservedInNestedScopes, privateName, prefix, suffix) {
@@ -211331,12 +211142,10 @@ ${lanes.join("\n")}
211331
211142
  case 234:
211332
211143
  case 286:
211333
211144
  case 287:
211334
- case 216:
211335
- if (nodes === parent2.typeArguments) {
211336
- diagnostics.push(createDiagnosticForNodeArray2(nodes, Diagnostics.Type_arguments_can_only_be_used_in_TypeScript_files));
211337
- return "skip";
211338
- }
211339
- break;
211145
+ case 216: if (nodes === parent2.typeArguments) {
211146
+ diagnostics.push(createDiagnosticForNodeArray2(nodes, Diagnostics.Type_arguments_can_only_be_used_in_TypeScript_files));
211147
+ return "skip";
211148
+ }
211340
211149
  }
211341
211150
  }
211342
211151
  function checkModifiers(modifiers, isConstValid) {
@@ -211350,13 +211159,7 @@ ${lanes.join("\n")}
211350
211159
  case 128:
211351
211160
  case 164:
211352
211161
  case 103:
211353
- case 147:
211354
- diagnostics.push(createDiagnosticForNode2(modifier, Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files, tokenToString(modifier.kind)));
211355
- break;
211356
- case 126:
211357
- case 95:
211358
- case 90:
211359
- case 129:
211162
+ case 147: diagnostics.push(createDiagnosticForNode2(modifier, Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files, tokenToString(modifier.kind)));
211360
211163
  }
211361
211164
  }
211362
211165
  function createDiagnosticForNodeArray2(nodes, message, ...args) {
@@ -215195,10 +214998,8 @@ ${lanes.join("\n")}
215195
214998
  case 99:
215196
214999
  if (file.packageJsonScope) (result ?? (result = [])).push(chainDiagnosticMessages(void 0, Diagnostics.File_is_ECMAScript_module_because_0_has_field_type_with_value_module, toFileName(last(file.packageJsonLocations), fileNameConvertor)));
215197
215000
  break;
215198
- case 1:
215199
- if (file.packageJsonScope) (result ?? (result = [])).push(chainDiagnosticMessages(void 0, file.packageJsonScope.contents.packageJsonContent.type ? Diagnostics.File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module : Diagnostics.File_is_CommonJS_module_because_0_does_not_have_field_type, toFileName(last(file.packageJsonLocations), fileNameConvertor)));
215200
- else if ((_a = file.packageJsonLocations) == null ? void 0 : _a.length) (result ?? (result = [])).push(chainDiagnosticMessages(void 0, Diagnostics.File_is_CommonJS_module_because_package_json_was_not_found));
215201
- break;
215001
+ case 1: if (file.packageJsonScope) (result ?? (result = [])).push(chainDiagnosticMessages(void 0, file.packageJsonScope.contents.packageJsonContent.type ? Diagnostics.File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module : Diagnostics.File_is_CommonJS_module_because_0_does_not_have_field_type, toFileName(last(file.packageJsonLocations), fileNameConvertor)));
215002
+ else if ((_a = file.packageJsonLocations) == null ? void 0 : _a.length) (result ?? (result = [])).push(chainDiagnosticMessages(void 0, Diagnostics.File_is_CommonJS_module_because_package_json_was_not_found));
215202
215003
  }
215203
215004
  return result;
215204
215005
  }
@@ -215403,12 +215204,10 @@ ${lanes.join("\n")}
215403
215204
  switch (ch) {
215404
215205
  case 10: if (pos && text.charCodeAt(pos - 1) === 13) pos--;
215405
215206
  case 13: break;
215406
- default:
215407
- if (ch < 127 || !isLineBreak(ch)) {
215408
- lineStart = pos;
215409
- continue;
215410
- }
215411
- break;
215207
+ default: if (ch < 127 || !isLineBreak(ch)) {
215208
+ lineStart = pos;
215209
+ continue;
215210
+ }
215412
215211
  }
215413
215212
  const line = text.substring(lineStart, lineEnd);
215414
215213
  if (line.match(sourceMapCommentRegExp)) {
@@ -215864,9 +215663,7 @@ ${lanes.join("\n")}
215864
215663
  case 2:
215865
215664
  reloadConfigFile();
215866
215665
  break;
215867
- default:
215868
- synchronizeProgram();
215869
- break;
215666
+ default: synchronizeProgram();
215870
215667
  }
215871
215668
  return getCurrentBuilderProgram();
215872
215669
  }
@@ -216553,8 +216350,6 @@ ${lanes.join("\n")}
216553
216350
  case 2:
216554
216351
  queueReferencingProjects(state, project, projectPath, projectIndex, config, buildOrder, Debug.checkDefined(buildResult));
216555
216352
  step++;
216556
- break;
216557
- default:
216558
216353
  }
216559
216354
  Debug.assert(step > currentStep);
216560
216355
  }
@@ -217004,9 +216799,7 @@ ${lanes.join("\n")}
217004
216799
  newerProjectName: project
217005
216800
  });
217006
216801
  break;
217007
- case 12:
217008
- if (toResolvedConfigFilePath(state, resolveProjectName(state, status.upstreamProjectName)) === projectPath) clearProjectStatus(state, nextProjectPath);
217009
- break;
216802
+ case 12: if (toResolvedConfigFilePath(state, resolveProjectName(state, status.upstreamProjectName)) === projectPath) clearProjectStatus(state, nextProjectPath);
217010
216803
  }
217011
216804
  addProjToQueue(state, nextProjectPath, 0);
217012
216805
  break;
@@ -217290,9 +217083,6 @@ ${lanes.join("\n")}
217290
217083
  case 0: return reportStatus(state, Diagnostics.Project_0_is_out_of_date_because_1, relName(state, configFileName), status.reason);
217291
217084
  case 14: return reportStatus(state, Diagnostics.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2, relName(state, configFileName), status.version, version);
217292
217085
  case 17: return reportStatus(state, Diagnostics.Project_0_is_being_forcibly_rebuilt, relName(state, configFileName));
217293
- case 16:
217294
- case 13: break;
217295
- default:
217296
217086
  }
217297
217087
  }
217298
217088
  function verboseReportProjectStatus(state, configFileName, status) {
@@ -218520,9 +218310,7 @@ ${lanes.join("\n")}
218520
218310
  typeKind = 163;
218521
218311
  break;
218522
218312
  case 112:
218523
- case 97:
218524
- typeKind = 136;
218525
- break;
218313
+ case 97: typeKind = 136;
218526
218314
  }
218527
218315
  if (typeKind) return typeFromPrimitiveLiteral(primitiveNode, typeKind, context, isConstContext || preserveLiterals, requiresAddingUndefined);
218528
218316
  }
@@ -218617,9 +218405,7 @@ ${lanes.join("\n")}
218617
218405
  newProp = typeFromObjectLiteralPropertyAssignment(prop, name, context, isConstContext);
218618
218406
  break;
218619
218407
  case 179:
218620
- case 178:
218621
- newProp = typeFromObjectLiteralAccessor(prop, name, context);
218622
- break;
218408
+ case 178: newProp = typeFromObjectLiteralAccessor(prop, name, context);
218623
218409
  }
218624
218410
  if (newProp) {
218625
218411
  setCommentRange(newProp, prop);
@@ -221254,7 +221040,6 @@ ${lanes.join("\n")}
221254
221040
  case 10:
221255
221041
  const parsedBigInt = parseBigInt(endsWith(expression.text, "n") ? expression.text.slice(0, -1) : expression.text);
221256
221042
  if (parsedBigInt) existingBigInts.add(pseudoBigIntToString(parsedBigInt));
221257
- break;
221258
221043
  }
221259
221044
  else {
221260
221045
  const symbol = checker.getSymbolAtLocation(clause.expression);
@@ -222178,7 +221963,6 @@ ${lanes.join("\n")}
222178
221963
  processElement(tag.typeExpression);
222179
221964
  pos = tag.end;
222180
221965
  commentStart = ((_h = tag.typeExpression) == null ? void 0 : _h.end) || commentStart;
222181
- break;
222182
221966
  }
222183
221967
  if (typeof tag.comment === "object") pushCommentRange(tag.comment.pos, tag.comment.end - tag.comment.pos);
222184
221968
  else if (typeof tag.comment === "string") pushCommentRange(commentStart, tag.end - commentStart);
@@ -222294,9 +222078,7 @@ ${lanes.join("\n")}
222294
222078
  case 286:
222295
222079
  if (token.parent.tagName === token) return 21;
222296
222080
  break;
222297
- case 292:
222298
- if (token.parent.name === token) return 22;
222299
- break;
222081
+ case 292: if (token.parent.name === token) return 22;
222300
222082
  }
222301
222083
  }
222302
222084
  function classifyTokenType(tokenKind, token) {
@@ -223439,11 +223221,9 @@ ${lanes.join("\n")}
223439
223221
  case 19:
223440
223222
  if (length(stack)) stack.push(token);
223441
223223
  break;
223442
- case 20:
223443
- if (length(stack)) if (lastOrUndefined(stack) === 16) {
223444
- if (scanner.reScanTemplateToken(false) === 18) stack.pop();
223445
- } else stack.pop();
223446
- break;
223224
+ case 20: if (length(stack)) if (lastOrUndefined(stack) === 16) {
223225
+ if (scanner.reScanTemplateToken(false) === 18) stack.pop();
223226
+ } else stack.pop();
223447
223227
  }
223448
223228
  }
223449
223229
  nextToken();
@@ -226647,7 +226427,6 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
226647
226427
  const callOrNewExpression2 = tryCast(elementAccessExpression.parent, isCallOrNewExpression);
226648
226428
  if (callOrNewExpression2 && callOrNewExpression2.expression === elementAccessExpression) return callOrNewExpression2;
226649
226429
  }
226650
- break;
226651
226430
  }
226652
226431
  }
226653
226432
  }
@@ -226663,7 +226442,6 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
226663
226442
  case 213:
226664
226443
  const elementAccessExpression = tryCast(parent2, isElementAccessExpression);
226665
226444
  if (elementAccessExpression && elementAccessExpression.expression === reference) return elementAccessExpression;
226666
- break;
226667
226445
  }
226668
226446
  }
226669
226447
  }
@@ -227578,9 +227356,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
227578
227356
  case 297:
227579
227357
  permittedJumps |= 1;
227580
227358
  break;
227581
- default:
227582
- if (isIterationStatement(node2, false)) permittedJumps |= 3;
227583
- break;
227359
+ default: if (isIterationStatement(node2, false)) permittedJumps |= 3;
227584
227360
  }
227585
227361
  switch (node2.kind) {
227586
227362
  case 198:
@@ -227613,9 +227389,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
227613
227389
  if (permittedJumps & 4) rangeFacts |= 1;
227614
227390
  else (errors2 || (errors2 = [])).push(createDiagnosticForNode(node2, Messages.cannotExtractRangeContainingConditionalReturnStatement));
227615
227391
  break;
227616
- default:
227617
- forEachChild(node2, visit);
227618
- break;
227392
+ default: forEachChild(node2, visit);
227619
227393
  }
227620
227394
  permittedJumps = savedPermittedJumps;
227621
227395
  }
@@ -230765,9 +230539,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
230765
230539
  case 227:
230766
230540
  if (node.parent.operatorToken.kind === 28) return textSpan(node);
230767
230541
  break;
230768
- case 220:
230769
- if (node.parent.body === node) return textSpan(node);
230770
- break;
230542
+ case 220: if (node.parent.body === node) return textSpan(node);
230771
230543
  }
230772
230544
  switch (node.parent.kind) {
230773
230545
  case 304:
@@ -232062,9 +231834,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
232062
231834
  break;
232063
231835
  case "array":
232064
231836
  case "date":
232065
- case "promise":
232066
- text = text[0].toUpperCase() + text.slice(1);
232067
- break;
231837
+ case "promise": text = text[0].toUpperCase() + text.slice(1);
232068
231838
  }
232069
231839
  name = factory.createIdentifier(text);
232070
231840
  if ((text === "Array" || text === "Promise") && !node.typeArguments) args = factory.createNodeArray([factory.createTypeReferenceNode("any", emptyArray)]);
@@ -232654,9 +232424,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
232654
232424
  case 272:
232655
232425
  changes.replaceNode(importingFile, importNode, makeImport(importNode.name, void 0, moduleSpecifier, quotePreference));
232656
232426
  break;
232657
- case 214:
232658
- if (isRequireCall(importNode, false)) changes.replaceNode(importingFile, importNode, factory.createPropertyAccessExpression(getSynthesizedDeepClone(importNode), "default"));
232659
- break;
232427
+ case 214: if (isRequireCall(importNode, false)) changes.replaceNode(importingFile, importNode, factory.createPropertyAccessExpression(getSynthesizedDeepClone(importNode), "default"));
232660
232428
  }
232661
232429
  }
232662
232430
  }
@@ -233536,7 +233304,6 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
233536
233304
  name: symbolName2,
233537
233305
  addAsTypeOnly
233538
233306
  };
233539
- break;
233540
233307
  }
233541
233308
  break;
233542
233309
  }
@@ -237432,9 +237199,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
237432
237199
  break;
237433
237200
  case 263:
237434
237201
  case 175:
237435
- case 174:
237436
- searchToken = containingFunction.name;
237437
- break;
237202
+ case 174: searchToken = containingFunction.name;
237438
237203
  }
237439
237204
  if (!searchToken) return;
237440
237205
  return getReferences(searchToken, program, cancellationToken);
@@ -237606,9 +237371,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
237606
237371
  case 55:
237607
237372
  usage.isNumber = true;
237608
237373
  break;
237609
- case 40:
237610
- usage.isNumberOrString = true;
237611
- break;
237374
+ case 40: usage.isNumberOrString = true;
237612
237375
  }
237613
237376
  }
237614
237377
  function inferTypeFromBinaryExpression(node, parent2, usage) {
@@ -237665,12 +237428,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
237665
237428
  if (node === parent2.left) usage.isString = true;
237666
237429
  break;
237667
237430
  case 57:
237668
- case 61:
237669
- if (node === parent2.left && (node.parent.parent.kind === 261 || isAssignmentExpression(node.parent.parent, true))) addCandidateType(usage, checker.getTypeAtLocation(parent2.right));
237670
- break;
237671
- case 56:
237672
- case 28:
237673
- case 104: break;
237431
+ case 61: if (node === parent2.left && (node.parent.parent.kind === 261 || isAssignmentExpression(node.parent.parent, true))) addCandidateType(usage, checker.getTypeAtLocation(parent2.right));
237674
237432
  }
237675
237433
  }
237676
237434
  function inferTypeFromSwitchStatementLabel(parent2, usage) {
@@ -238054,7 +237812,6 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
238054
237812
  Debug.assert(declarations.length === signatures.length, "Declarations and signatures should match count");
238055
237813
  addClassElement(createMethodImplementingSignatures(checker, context, enclosingDeclaration, signatures, createName(declarationName), optional && !!(preserveOptional & 1), modifiers, quotePreference, body));
238056
237814
  }
238057
- break;
238058
237815
  }
238059
237816
  function outputMethod(quotePreference2, signature, modifiers2, name, body2) {
238060
237817
  const method = createSignatureDeclarationFromSignature(175, context, quotePreference2, signature, body2, name, modifiers2, optional && !!(preserveOptional & 1), enclosingDeclaration, importAdder);
@@ -239589,9 +239346,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
239589
239346
  case "number":
239590
239347
  elements.push(type.value < 0 ? factory.createPrefixUnaryExpression(41, factory.createNumericLiteral(-type.value)) : factory.createNumericLiteral(type.value));
239591
239348
  break;
239592
- case "string":
239593
- elements.push(factory.createStringLiteral(type.value, quotePreference === 0));
239594
- break;
239349
+ case "string": elements.push(factory.createStringLiteral(type.value, quotePreference === 0));
239595
239350
  }
239596
239351
  if (elements.length === 0) return;
239597
239352
  const newClauses = map(elements, (element) => factory.createCaseClause(element, []));
@@ -240655,9 +240410,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
240655
240410
  case 32:
240656
240411
  if (currentToken.parent.kind === 285 || currentToken.parent.kind === 287) location = currentToken;
240657
240412
  break;
240658
- case 44:
240659
- if (currentToken.parent.kind === 286) location = currentToken;
240660
- break;
240413
+ case 44: if (currentToken.parent.kind === 286) location = currentToken;
240661
240414
  }
240662
240415
  switch (parent2.kind) {
240663
240416
  case 288:
@@ -240693,7 +240446,6 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
240693
240446
  isJsxIdentifierExpected = true;
240694
240447
  if (parent2 !== previousToken.parent && !parent2.initializer && findChildOfKind(parent2, 64, sourceFile)) isJsxInitializer = previousToken;
240695
240448
  }
240696
- break;
240697
240449
  }
240698
240450
  }
240699
240451
  }
@@ -241392,9 +241144,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
241392
241144
  case "static":
241393
241145
  classElementModifierFlags = classElementModifierFlags | 256;
241394
241146
  break;
241395
- case "override":
241396
- classElementModifierFlags = classElementModifierFlags | 16;
241397
- break;
241147
+ case "override": classElementModifierFlags = classElementModifierFlags | 16;
241398
241148
  }
241399
241149
  if (isClassStaticBlockDeclaration(classElement)) classElementModifierFlags |= 256;
241400
241150
  if (!(classElementModifierFlags & 2)) {
@@ -241467,7 +241217,6 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
241467
241217
  case 20:
241468
241218
  if (parent2 && parent2.kind === 295 && parent2.parent && parent2.parent.kind === 292) return parent2.parent.parent.parent;
241469
241219
  if (parent2 && parent2.kind === 294) return parent2.parent.parent;
241470
- break;
241471
241220
  }
241472
241221
  }
241473
241222
  }
@@ -241887,9 +241636,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
241887
241636
  break;
241888
241637
  case 27:
241889
241638
  case 28:
241890
- case 80:
241891
- if (parent2.kind === 172 && isTypeLiteralNode(parent2.parent)) return parent2.parent;
241892
- break;
241639
+ case 80: if (parent2.kind === 172 && isTypeLiteralNode(parent2.parent)) return parent2.parent;
241893
241640
  }
241894
241641
  }
241895
241642
  function getConstraintOfTypeArgumentProperty(node, checker) {
@@ -244072,10 +243819,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
244072
243819
  case 0:
244073
243820
  indirectSearch = state.createSearch(exportLocation, exportSymbol, 1);
244074
243821
  break;
244075
- case 1:
244076
- indirectSearch = state.options.use === 2 ? void 0 : state.createSearch(exportLocation, exportSymbol, 1, { text: "default" });
244077
- break;
244078
- case 2: break;
243822
+ case 1: indirectSearch = state.options.use === 2 ? void 0 : state.createSearch(exportLocation, exportSymbol, 1, { text: "default" });
244079
243823
  }
244080
243824
  if (indirectSearch) for (const indirectUser of indirectUsers) searchForName(indirectUser, indirectSearch, state);
244081
243825
  }
@@ -244785,7 +244529,6 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
244785
244529
  case 84:
244786
244530
  const switchStatement = findAncestor(node.parent, isSwitchStatement);
244787
244531
  if (switchStatement) return [createDefinitionInfoFromSwitch(switchStatement, sourceFile)];
244788
- break;
244789
244532
  }
244790
244533
  let findFunctionDecl;
244791
244534
  switch (node.kind) {
@@ -250966,9 +250709,7 @@ ${options.prefix}` : "\n" : options.prefix
250966
250709
  }
250967
250710
  break;
250968
250711
  case 23:
250969
- case 24:
250970
- if (container.kind !== 201) return false;
250971
- break;
250712
+ case 24: if (container.kind !== 201) return false;
250972
250713
  }
250973
250714
  return nodeStartLine !== line && !(hasDecorators(node) && kind === getFirstNonDecoratorTokenOfNode(node));
250974
250715
  }
@@ -251122,9 +250863,7 @@ ${options.prefix}` : "\n" : options.prefix
251122
250863
  if (indentNextTokenOrTrivia && triviaInRange) indentSingleLine(triviaItem);
251123
250864
  indentNextTokenOrTrivia = false;
251124
250865
  break;
251125
- case 4:
251126
- indentNextTokenOrTrivia = true;
251127
- break;
250866
+ case 4: indentNextTokenOrTrivia = true;
251128
250867
  }
251129
250868
  }
251130
250869
  return indentNextTokenOrTrivia;
@@ -251729,9 +251468,7 @@ ${options.prefix}` : "\n" : options.prefix
251729
251468
  case 239:
251730
251469
  if (childKind === 188 || childKind === 190 || childKind === 201) return false;
251731
251470
  break;
251732
- case 259:
251733
- if (childKind === 242) return false;
251734
- break;
251471
+ case 259: if (childKind === 242) return false;
251735
251472
  }
251736
251473
  return indentByDefault;
251737
251474
  }
@@ -255334,9 +255071,7 @@ ${options.prefix}` : "\n" : options.prefix
255334
255071
  this.containingProjects.pop();
255335
255072
  }
255336
255073
  break;
255337
- default:
255338
- if (orderedRemoveItem(this.containingProjects, project)) project.onFileAddedOrRemoved(this.isSymlink());
255339
- break;
255074
+ default: if (orderedRemoveItem(this.containingProjects, project)) project.onFileAddedOrRemoved(this.isSymlink());
255340
255075
  }
255341
255076
  }
255342
255077
  detachAllProjects() {
@@ -255515,7 +255250,6 @@ ${options.prefix}` : "\n" : options.prefix
255515
255250
  case 7:
255516
255251
  result.deferred += 1;
255517
255252
  result.deferredSize += fileSize;
255518
- break;
255519
255253
  }
255520
255254
  }
255521
255255
  return result;
@@ -257327,8 +257061,8 @@ ${options.prefix}` : "\n" : options.prefix
257327
257061
  function isProjectDeferredClose(project) {
257328
257062
  return isConfiguredProject(project) && !!project.deferredClose;
257329
257063
  }
257330
- var maxProgramSizeForNonTsFiles = 20 * 1024 * 1024;
257331
- var maxFileSize = 4 * 1024 * 1024;
257064
+ var maxProgramSizeForNonTsFiles = 20971520;
257065
+ var maxFileSize = 4194304;
257332
257066
  var ProjectsUpdatedInBackgroundEvent = "projectsUpdatedInBackground";
257333
257067
  var ProjectLoadingStartEvent = "projectLoadingStart";
257334
257068
  var ProjectLoadingFinishEvent = "projectLoadingFinish";
@@ -258356,9 +258090,7 @@ ${options.prefix}` : "\n" : options.prefix
258356
258090
  this.configuredProjects.delete(project.canonicalConfigFilePath);
258357
258091
  this.projectToSizeMap.delete(project.canonicalConfigFilePath);
258358
258092
  break;
258359
- case 0:
258360
- unorderedRemoveItem(this.inferredProjects, project);
258361
- break;
258093
+ case 0: unorderedRemoveItem(this.inferredProjects, project);
258362
258094
  }
258363
258095
  }
258364
258096
  /** @internal */
@@ -261314,9 +261046,7 @@ ${json}${newLine}`;
261314
261046
  case "UpdateGraph":
261315
261047
  this.addPerformanceData("updateGraphDurationMs", event.durationMs);
261316
261048
  break;
261317
- case "CreatePackageJsonAutoImportProvider":
261318
- this.addPerformanceData("createAutoImportProviderProgramDurationMs", event.durationMs);
261319
- break;
261049
+ case "CreatePackageJsonAutoImportProvider": this.addPerformanceData("createAutoImportProviderProgramDurationMs", event.durationMs);
261320
261050
  }
261321
261051
  }
261322
261052
  defaultEventHandler(event) {
@@ -261352,12 +261082,10 @@ ${json}${newLine}`;
261352
261082
  languageServiceEnabled: event.data.languageServiceEnabled
261353
261083
  }, event.eventName);
261354
261084
  break;
261355
- case ProjectInfoTelemetryEvent:
261356
- this.event({
261357
- telemetryEventName: event.eventName,
261358
- payload: event.data
261359
- }, "telemetry");
261360
- break;
261085
+ case ProjectInfoTelemetryEvent: this.event({
261086
+ telemetryEventName: event.eventName,
261087
+ payload: event.data
261088
+ }, "telemetry");
261361
261089
  }
261362
261090
  }
261363
261091
  projectsUpdatedInBackgroundEvent(openFiles) {
@@ -263353,7 +263081,6 @@ Additional information: BADCLIENT: Bad error code, ${badCode} not found in range
263353
263081
  case 5:
263354
263082
  this.goSubtree = false;
263355
263083
  if (this.state !== 1) currentNode.add(lineCollection);
263356
- break;
263357
263084
  }
263358
263085
  if (this.goSubtree) this.stack.push(child);
263359
263086
  }
@@ -263947,10 +263674,7 @@ Additional information: BADCLIENT: Bad error code, ${badCode} not found in range
263947
263674
  this.projectService.updateTypingsForProject(response);
263948
263675
  this.event(response, "setTypings");
263949
263676
  break;
263950
- case ActionWatchTypingLocations:
263951
- this.projectService.watchTypingLocations(response);
263952
- break;
263953
- default:
263677
+ case ActionWatchTypingLocations: this.projectService.watchTypingLocations(response);
263954
263678
  }
263955
263679
  }
263956
263680
  scheduleRequest(request) {
@@ -265686,17 +265410,15 @@ var require_snippetForFunctionCall = /* @__PURE__ */ __commonJSMin(((exports) =>
265686
265410
  hasOptionalParameters = hasOptionalParameters || nameIsFollowedByOptionalIndicator;
265687
265411
  }
265688
265412
  break;
265689
- case PConst.DisplayPartKind.punctuation:
265690
- if (part.text === "(") ++parenCount;
265691
- else if (part.text === ")") {
265692
- --parenCount;
265693
- if (parenCount <= 0 && isInMethod) break outer;
265694
- } else if (part.text === "..." && parenCount === 1) {
265695
- hasOptionalParameters = true;
265696
- break outer;
265697
- } else if (part.text === "{") ++braceCount;
265698
- else if (part.text === "}") --braceCount;
265699
- break;
265413
+ case PConst.DisplayPartKind.punctuation: if (part.text === "(") ++parenCount;
265414
+ else if (part.text === ")") {
265415
+ --parenCount;
265416
+ if (parenCount <= 0 && isInMethod) break outer;
265417
+ } else if (part.text === "..." && parenCount === 1) {
265418
+ hasOptionalParameters = true;
265419
+ break outer;
265420
+ } else if (part.text === "{") ++braceCount;
265421
+ else if (part.text === "}") --braceCount;
265700
265422
  }
265701
265423
  }
265702
265424
  return {
@@ -266871,9 +266593,7 @@ var require_linkedMap = /* @__PURE__ */ __commonJSMin(((exports) => {
266871
266593
  case Touch.Last:
266872
266594
  this.addItemLast(item);
266873
266595
  break;
266874
- default:
266875
- this.addItemLast(item);
266876
- break;
266596
+ default: this.addItemLast(item);
266877
266597
  }
266878
266598
  this._map.set(key, item);
266879
266599
  this._size++;
@@ -268723,7 +268443,6 @@ var require_connection$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
268723
268443
  result = [];
268724
268444
  for (let i = 0; i < params.length && i < numberOfParams; i++) result.push(undefinedToNull(params[i]));
268725
268445
  if (params.length < numberOfParams) for (let i = params.length; i < numberOfParams; i++) result.push(null);
268726
- break;
268727
268446
  }
268728
268447
  return result;
268729
268448
  }
@@ -268753,7 +268472,6 @@ var require_connection$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
268753
268472
  default:
268754
268473
  if (parameterStructures === messages_1.ParameterStructures.byName) throw new Error(`Received ${numberOfParams} parameters for 'by Name' notification parameter structure.`);
268755
268474
  messageParams = args.slice(paramStart, paramEnd).map((value) => undefinedToNull(value));
268756
- break;
268757
268475
  }
268758
268476
  } else {
268759
268477
  const params = args;
@@ -268847,7 +268565,6 @@ var require_connection$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
268847
268565
  default:
268848
268566
  if (parameterStructures === messages_1.ParameterStructures.byName) throw new Error(`Received ${numberOfParams} parameters for 'by Name' request parameter structure.`);
268849
268567
  messageParams = args.slice(paramStart, paramEnd).map((value) => undefinedToNull(value));
268850
- break;
268851
268568
  }
268852
268569
  } else {
268853
268570
  const params = args;