@putout/bundle 4.5.3 → 4.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bundle/putout.js CHANGED
@@ -3020,83 +3020,6 @@ var _polyfillNode_util$1 = /*#__PURE__*/Object.freeze({
3020
3020
 
3021
3021
  var require$$2$1 = /*@__PURE__*/getAugmentedNamespace(_polyfillNode_util$1);
3022
3022
 
3023
- var _polyfillNode_module = {};
3024
-
3025
- var _polyfillNode_module$1 = /*#__PURE__*/Object.freeze({
3026
- __proto__: null,
3027
- default: _polyfillNode_module
3028
- });
3029
-
3030
- var require$$1$2 = /*@__PURE__*/getAugmentedNamespace(_polyfillNode_module$1);
3031
-
3032
- var require$$4 = [
3033
- "decodeURI",
3034
- "decodeURIComponent",
3035
- "encodeURI",
3036
- "encodeURIComponent",
3037
- "escape",
3038
- "eval",
3039
- "globalThis",
3040
- "isFinite",
3041
- "isNaN",
3042
- "parseFloat",
3043
- "parseInt",
3044
- "undefined",
3045
- "unescape"
3046
- ];
3047
-
3048
- var require$$5 = [
3049
- "AggregateError",
3050
- "Array",
3051
- "ArrayBuffer",
3052
- "Atomics",
3053
- "BigInt",
3054
- "BigInt64Array",
3055
- "BigUint64Array",
3056
- "Boolean",
3057
- "DataView",
3058
- "Date",
3059
- "Error",
3060
- "EvalError",
3061
- "FinalizationRegistry",
3062
- "Float16Array",
3063
- "Float32Array",
3064
- "Float64Array",
3065
- "Function",
3066
- "Infinity",
3067
- "Int16Array",
3068
- "Int32Array",
3069
- "Int8Array",
3070
- "Intl",
3071
- "Iterator",
3072
- "JSON",
3073
- "Map",
3074
- "Math",
3075
- "NaN",
3076
- "Number",
3077
- "Object",
3078
- "Promise",
3079
- "Proxy",
3080
- "RangeError",
3081
- "ReferenceError",
3082
- "Reflect",
3083
- "RegExp",
3084
- "Set",
3085
- "SharedArrayBuffer",
3086
- "String",
3087
- "Symbol",
3088
- "SyntaxError",
3089
- "TypeError",
3090
- "Uint16Array",
3091
- "Uint32Array",
3092
- "Uint8Array",
3093
- "Uint8ClampedArray",
3094
- "URIError",
3095
- "WeakMap",
3096
- "WeakRef",
3097
- "WeakSet"
3098
- ];
3099
-
3100
3023
  var __create$1 = Object.create;
3101
3024
  var __defProp$1 = Object.defineProperty;
3102
3025
  var __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;
@@ -4580,16 +4503,14 @@ typeof window !== 'undefined'
4580
4503
  // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
4581
4504
  typeof navigator !== 'undefined'
4582
4505
  && navigator.userAgent
4583
- && (m = navigator
4584
- .userAgent
4506
+ && (m = navigator.userAgent
4585
4507
  .toLowerCase()
4586
4508
  .match(/firefox\/(\d+)/))
4587
4509
  && parseInt(m[1], 10) >= 31
4588
4510
  || // Double check webkit in userAgent just in case we are in a worker
4589
4511
  typeof navigator !== 'undefined'
4590
4512
  && navigator.userAgent
4591
- && navigator
4592
- .userAgent
4513
+ && navigator.userAgent
4593
4514
  .toLowerCase()
4594
4515
  .match(/applewebkit\/(\d+)/);
4595
4516
  }
@@ -5912,7 +5833,7 @@ __export$1(lib_exports$1, {
5912
5833
  isJSXAttribute: () => isJSXAttribute$4,
5913
5834
  isJSXClosingElement: () => isJSXClosingElement$1,
5914
5835
  isJSXClosingFragment: () => isJSXClosingFragment$1,
5915
- isJSXElement: () => isJSXElement$5,
5836
+ isJSXElement: () => isJSXElement$6,
5916
5837
  isJSXEmptyExpression: () => isJSXEmptyExpression$1,
5917
5838
  isJSXExpressionContainer: () => isJSXExpressionContainer$1,
5918
5839
  isJSXFragment: () => isJSXFragment$1,
@@ -9308,7 +9229,7 @@ function isJSXClosingElement$1(node, opts) {
9308
9229
  return opts == null || shallowEqual$1(node, opts);
9309
9230
  }
9310
9231
 
9311
- function isJSXElement$5(node, opts) {
9232
+ function isJSXElement$6(node, opts) {
9312
9233
  if (!node)
9313
9234
  return false;
9314
9235
 
@@ -10989,7 +10910,6 @@ function isLVal$1(node, opts) {
10989
10910
  case 'MemberExpression':
10990
10911
  case 'ArrayPattern':
10991
10912
  case 'ObjectPattern':
10992
- case 'OptionalMemberExpression':
10993
10913
  case 'TSAsExpression':
10994
10914
  case 'TSSatisfiesExpression':
10995
10915
  case 'TSTypeAssertion':
@@ -12436,7 +12356,7 @@ defineType$4$1('ArrayExpression', {
12436
12356
  defineType$4$1('AssignmentExpression', {
12437
12357
  fields: {
12438
12358
  operator: {
12439
- validate: Object.assign(function() {
12359
+ validate: Object.assign((function() {
12440
12360
  const identifier4 = assertOneOf$1(...ASSIGNMENT_OPERATORS$1);
12441
12361
  const pattern = assertOneOf$1('=');
12442
12362
 
@@ -12444,7 +12364,7 @@ defineType$4$1('AssignmentExpression', {
12444
12364
  const validator = is$5('Pattern', node.left) ? pattern : identifier4;
12445
12365
  validator(node, key, val);
12446
12366
  };
12447
- }(), {
12367
+ })(), {
12448
12368
  oneOf: ASSIGNMENT_OPERATORS$1,
12449
12369
  }),
12450
12370
  },
@@ -12474,7 +12394,7 @@ defineType$4$1('BinaryExpression', {
12474
12394
  validate: assertOneOf$1(...BINARY_OPERATORS$1),
12475
12395
  },
12476
12396
  left: {
12477
- validate: function() {
12397
+ validate: (function() {
12478
12398
  const expression2 = assertNodeType$1('Expression');
12479
12399
  const inOp = assertNodeType$1('Expression', 'PrivateName');
12480
12400
  const validator = Object.assign(function(node, key, val) {
@@ -12485,7 +12405,7 @@ defineType$4$1('BinaryExpression', {
12485
12405
  });
12486
12406
 
12487
12407
  return validator;
12488
- }(),
12408
+ })(),
12489
12409
  },
12490
12410
  right: {
12491
12411
  validate: assertNodeType$1('Expression'),
@@ -12795,7 +12715,7 @@ defineType$4$1('FunctionDeclaration', {
12795
12715
  'Pureish',
12796
12716
  'Declaration',
12797
12717
  ],
12798
- validate: function() {
12718
+ validate: (function() {
12799
12719
  const identifier4 = assertNodeType$1('Identifier');
12800
12720
 
12801
12721
  return function(parent, key, node) {
@@ -12803,7 +12723,7 @@ defineType$4$1('FunctionDeclaration', {
12803
12723
  identifier4(node, 'id', node.id);
12804
12724
  }
12805
12725
  };
12806
- }(),
12726
+ })(),
12807
12727
  });
12808
12728
  defineType$4$1('FunctionExpression', {
12809
12729
  inherits: 'FunctionDeclaration',
@@ -13018,7 +12938,7 @@ defineType$4$1('RegExpLiteral', {
13018
12938
  },
13019
12939
  flags: {
13020
12940
  validate: chain$5(assertValueType$1('string'), Object.assign(function(node, key, val) {
13021
- const invalid = /[^gimsuy]/.exec(val);
12941
+ const invalid = /[^dgimsuvy]/.exec(val);
13022
12942
 
13023
12943
  if (invalid) {
13024
12944
  throw new TypeError(`"${invalid[0]}" is not a valid RegExp flag`);
@@ -13068,7 +12988,7 @@ defineType$4$1('MemberExpression', {
13068
12988
  validate: assertNodeType$1('Expression', 'Super'),
13069
12989
  },
13070
12990
  property: {
13071
- validate: function() {
12991
+ validate: (function() {
13072
12992
  const normal = assertNodeType$1('Identifier', 'PrivateName');
13073
12993
  const computed = assertNodeType$1('Expression');
13074
12994
  const validator = function(node, key, val) {
@@ -13082,7 +13002,7 @@ defineType$4$1('MemberExpression', {
13082
13002
  'PrivateName',
13083
13003
  ];
13084
13004
  return validator;
13085
- }(),
13005
+ })(),
13086
13006
  },
13087
13007
  computed: {
13088
13008
  default: false,
@@ -13155,7 +13075,7 @@ defineType$4$1('ObjectMethod', {
13155
13075
  default: false,
13156
13076
  },
13157
13077
  key: {
13158
- validate: function() {
13078
+ validate: (function() {
13159
13079
  const normal = assertNodeType$1('Identifier', 'StringLiteral', 'NumericLiteral', 'BigIntLiteral');
13160
13080
  const computed = assertNodeType$1('Expression');
13161
13081
  const validator = function(node, key, val) {
@@ -13171,7 +13091,7 @@ defineType$4$1('ObjectMethod', {
13171
13091
  'BigIntLiteral',
13172
13092
  ];
13173
13093
  return validator;
13174
- }(),
13094
+ })(),
13175
13095
  },
13176
13096
  decorators: {
13177
13097
  validate: arrayOfType$1('Decorator'),
@@ -13204,7 +13124,7 @@ defineType$4$1('ObjectProperty', {
13204
13124
  default: false,
13205
13125
  },
13206
13126
  key: {
13207
- validate: function() {
13127
+ validate: (function() {
13208
13128
  const normal = assertNodeType$1('Identifier', 'StringLiteral', 'NumericLiteral', 'BigIntLiteral', 'PrivateName');
13209
13129
  const computed = assertNodeType$1('Expression');
13210
13130
  const validator = Object.assign(function(node, key, val) {
@@ -13222,7 +13142,7 @@ defineType$4$1('ObjectProperty', {
13222
13142
  });
13223
13143
 
13224
13144
  return validator;
13225
- }(),
13145
+ })(),
13226
13146
  },
13227
13147
  value: {
13228
13148
  validate: assertNodeType$1('Expression', 'PatternLike'),
@@ -13259,7 +13179,7 @@ defineType$4$1('ObjectProperty', {
13259
13179
  'Property',
13260
13180
  'ObjectMember',
13261
13181
  ],
13262
- validate: function() {
13182
+ validate: (function() {
13263
13183
  const pattern = assertNodeType$1('Identifier', 'Pattern', 'TSAsExpression', 'TSSatisfiesExpression', 'TSNonNullExpression', 'TSTypeAssertion');
13264
13184
  const expression2 = assertNodeType$1('Expression');
13265
13185
 
@@ -13267,7 +13187,7 @@ defineType$4$1('ObjectProperty', {
13267
13187
  const validator = is$5('ObjectPattern', parent) ? pattern : expression2;
13268
13188
  validator(node, 'value', node.value);
13269
13189
  };
13270
- }(),
13190
+ })(),
13271
13191
  });
13272
13192
  defineType$4$1('RestElement', {
13273
13193
  visitor: ['argument', 'typeAnnotation'],
@@ -13706,7 +13626,7 @@ defineType$4$1('ClassDeclaration', {
13706
13626
  optional: true,
13707
13627
  },
13708
13628
  },
13709
- validate: function() {
13629
+ validate: (function() {
13710
13630
  const identifier4 = assertNodeType$1('Identifier');
13711
13631
 
13712
13632
  return function(parent, key, node) {
@@ -13714,7 +13634,7 @@ defineType$4$1('ClassDeclaration', {
13714
13634
  identifier4(node, 'id', node.id);
13715
13635
  }
13716
13636
  };
13717
- }(),
13637
+ })(),
13718
13638
  });
13719
13639
  var importAttributes$1 = {
13720
13640
  attributes: {
@@ -13797,7 +13717,7 @@ defineType$4$1('ExportNamedDeclaration', {
13797
13717
  }, importAttributes$1, {
13798
13718
  specifiers: {
13799
13719
  default: [],
13800
- validate: arrayOf$1(function() {
13720
+ validate: arrayOf$1((function() {
13801
13721
  const sourced = assertNodeType$1('ExportSpecifier', 'ExportDefaultSpecifier', 'ExportNamespaceSpecifier');
13802
13722
  const sourceless = assertNodeType$1('ExportSpecifier');
13803
13723
 
@@ -13811,7 +13731,7 @@ defineType$4$1('ExportNamedDeclaration', {
13811
13731
  'ExportNamespaceSpecifier',
13812
13732
  ],
13813
13733
  });
13814
- }()),
13734
+ })()),
13815
13735
  },
13816
13736
  source: {
13817
13737
  validate: assertNodeType$1('StringLiteral'),
@@ -13858,7 +13778,7 @@ defineType$4$1('ForOfStatement', {
13858
13778
  ],
13859
13779
  fields: {
13860
13780
  left: {
13861
- validate: function() {
13781
+ validate: (function() {
13862
13782
  const declaration = assertNodeType$1('VariableDeclaration');
13863
13783
  const lval = assertNodeType$1('Identifier', 'MemberExpression', 'ArrayPattern', 'ObjectPattern', 'TSAsExpression', 'TSSatisfiesExpression', 'TSTypeAssertion', 'TSNonNullExpression');
13864
13784
 
@@ -13881,7 +13801,7 @@ defineType$4$1('ForOfStatement', {
13881
13801
  'TSNonNullExpression',
13882
13802
  ],
13883
13803
  });
13884
- }(),
13804
+ })(),
13885
13805
  },
13886
13806
  right: {
13887
13807
  validate: assertNodeType$1('Expression'),
@@ -14034,7 +13954,7 @@ var classMethodOrPropertyCommon$1 = () => ({
14034
13954
  optional: true,
14035
13955
  },
14036
13956
  key: {
14037
- validate: chain$5(function() {
13957
+ validate: chain$5((function() {
14038
13958
  const normal = assertNodeType$1('Identifier', 'StringLiteral', 'NumericLiteral', 'BigIntLiteral');
14039
13959
  const computed = assertNodeType$1('Expression');
14040
13960
 
@@ -14042,7 +13962,7 @@ var classMethodOrPropertyCommon$1 = () => ({
14042
13962
  const validator = node.computed ? computed : normal;
14043
13963
  validator(node, key, val);
14044
13964
  };
14045
- }(), assertNodeType$1('Identifier', 'StringLiteral', 'NumericLiteral', 'BigIntLiteral', 'Expression')),
13965
+ })(), assertNodeType$1('Identifier', 'StringLiteral', 'NumericLiteral', 'BigIntLiteral', 'Expression')),
14046
13966
  },
14047
13967
  });
14048
13968
 
@@ -14268,13 +14188,13 @@ defineType$4$1('OptionalMemberExpression', {
14268
14188
  'optional',
14269
14189
  ],
14270
14190
  visitor: ['object', 'property'],
14271
- aliases: ['Expression', 'LVal'],
14191
+ aliases: ['Expression'],
14272
14192
  fields: {
14273
14193
  object: {
14274
14194
  validate: assertNodeType$1('Expression'),
14275
14195
  },
14276
14196
  property: {
14277
- validate: function() {
14197
+ validate: (function() {
14278
14198
  const normal = assertNodeType$1('Identifier');
14279
14199
  const computed = assertNodeType$1('Expression');
14280
14200
  const validator = Object.assign(function(node, key, val) {
@@ -14285,7 +14205,7 @@ defineType$4$1('OptionalMemberExpression', {
14285
14205
  });
14286
14206
 
14287
14207
  return validator;
14288
- }(),
14208
+ })(),
14289
14209
  },
14290
14210
  computed: {
14291
14211
  default: false,
@@ -14387,7 +14307,7 @@ defineType$4$1('ClassAccessorProperty', {
14387
14307
  aliases: ['Property', 'Accessor'],
14388
14308
  fields: Object.assign({}, classMethodOrPropertyCommon$1(), {
14389
14309
  key: {
14390
- validate: chain$5(function() {
14310
+ validate: chain$5((function() {
14391
14311
  const normal = assertNodeType$1('Identifier', 'StringLiteral', 'NumericLiteral', 'BigIntLiteral', 'PrivateName');
14392
14312
  const computed = assertNodeType$1('Expression');
14393
14313
 
@@ -14395,7 +14315,7 @@ defineType$4$1('ClassAccessorProperty', {
14395
14315
  const validator = node.computed ? computed : normal;
14396
14316
  validator(node, key, val);
14397
14317
  };
14398
- }(), assertNodeType$1('Identifier', 'StringLiteral', 'NumericLiteral', 'BigIntLiteral', 'Expression', 'PrivateName')),
14318
+ })(), assertNodeType$1('Identifier', 'StringLiteral', 'NumericLiteral', 'BigIntLiteral', 'Expression', 'PrivateName')),
14399
14319
  },
14400
14320
  value: {
14401
14321
  validate: assertNodeType$1('Expression'),
@@ -15801,6 +15721,7 @@ defineType$6('TSTypeOperator', {
15801
15721
  fields: {
15802
15722
  operator: {
15803
15723
  validate: assertOneOf$1('keyof', 'readonly', 'unique'),
15724
+ default: void 0,
15804
15725
  },
15805
15726
  typeAnnotation: validateType$1('TSType'),
15806
15727
  },
@@ -15857,7 +15778,7 @@ defineType$6('TSLiteralType', {
15857
15778
  visitor: ['literal'],
15858
15779
  fields: {
15859
15780
  literal: {
15860
- validate: function() {
15781
+ validate: (function() {
15861
15782
  const unaryExpression3 = assertNodeType$1('NumericLiteral', 'BigIntLiteral');
15862
15783
  const unaryOperator = assertOneOf$1('-');
15863
15784
  const literal = assertNodeType$1('NumericLiteral', 'StringLiteral', 'BooleanLiteral', 'BigIntLiteral', 'TemplateLiteral');
@@ -15880,7 +15801,7 @@ defineType$6('TSLiteralType', {
15880
15801
  'UnaryExpression',
15881
15802
  ];
15882
15803
  return validator;
15883
- }(),
15804
+ })(),
15884
15805
  },
15885
15806
  },
15886
15807
  });
@@ -22164,8 +22085,7 @@ function getNameFromLiteralId$1(id) {
22164
22085
  }
22165
22086
 
22166
22087
  if (isTemplateLiteral$5(id)) {
22167
- return id
22168
- .quasis
22088
+ return id.quasis
22169
22089
  .map((quasi) => quasi.value.raw)
22170
22090
  .join('');
22171
22091
  }
@@ -23364,7 +23284,6 @@ var estree$1 = (superClass) => class ESTreeParserMixin extends superClass {
23364
23284
  this.castNodeTo(node, 'ImportExpression');
23365
23285
  node.source = node.arguments[0];
23366
23286
  node.options = node.arguments[1] ?? null;
23367
- node.attributes = node.arguments[1] ?? null;
23368
23287
  delete node.arguments;
23369
23288
  delete node.callee;
23370
23289
  } else if (node.type === 'OptionalCallExpression') {
@@ -23513,7 +23432,7 @@ var TokContext$1 = class TokContext {
23513
23432
  }
23514
23433
  };
23515
23434
 
23516
- var types$17 = {
23435
+ var types$18 = {
23517
23436
  brace: new TokContext$1('{'),
23518
23437
  j_oTag: new TokContext$1('<tag'),
23519
23438
  j_cTag: new TokContext$1('</tag'),
@@ -25575,7 +25494,8 @@ var flow$1 = (superClass) => class FlowParserMixin extends superClass {
25575
25494
  if (this.flowPragma === void 0) {
25576
25495
  const matches = FLOW_PRAGMA_REGEX$1.exec(comment.value);
25577
25496
 
25578
- if (!matches); else if (matches[1] === 'flow') {
25497
+ if (!matches);
25498
+ else if (matches[1] === 'flow') {
25579
25499
  this.flowPragma = 'flow';
25580
25500
  } else if (matches[1] === 'noflow') {
25581
25501
  this.flowPragma = 'noflow';
@@ -26032,7 +25952,7 @@ var flow$1 = (superClass) => class FlowParserMixin extends superClass {
26032
25952
  }
26033
25953
 
26034
25954
  flowInTopLevelContext(cb) {
26035
- if (this.curContext() !== types$17.brace) {
25955
+ if (this.curContext() !== types$18.brace) {
26036
25956
  const oldContext = this.state.context;
26037
25957
 
26038
25958
  this.state.context = [oldContext[0]];
@@ -26076,7 +25996,7 @@ var flow$1 = (superClass) => class FlowParserMixin extends superClass {
26076
25996
  });
26077
25997
  this.state.inType = oldInType;
26078
25998
 
26079
- if (!this.state.inType && this.curContext() === types$17.brace) {
25999
+ if (!this.state.inType && this.curContext() === types$18.brace) {
26080
26000
  this.reScan_lt_gt();
26081
26001
  }
26082
26002
 
@@ -27696,7 +27616,7 @@ var flow$1 = (superClass) => class FlowParserMixin extends superClass {
27696
27616
 
27697
27617
  const currentContext = context[context.length - 1];
27698
27618
 
27699
- if (currentContext === types$17.j_oTag || currentContext === types$17.j_expr) {
27619
+ if (currentContext === types$18.j_oTag || currentContext === types$18.j_expr) {
27700
27620
  context.pop();
27701
27621
  }
27702
27622
  }
@@ -28780,7 +28700,7 @@ function getQualifiedJSXName$1(object) {
28780
28700
  throw new Error('Node had unexpected type: ' + object.type);
28781
28701
  }
28782
28702
 
28783
- var jsx$3 = (superClass) => class JSXParserMixin extends superClass {
28703
+ var jsx$4 = (superClass) => class JSXParserMixin extends superClass {
28784
28704
  jsxReadToken() {
28785
28705
  let out = '';
28786
28706
  let chunkStart = this.state.pos;
@@ -28989,9 +28909,9 @@ var jsx$3 = (superClass) => class JSXParserMixin extends superClass {
28989
28909
  switch(this.state.type) {
28990
28910
  case 5:
28991
28911
  node = this.startNode();
28992
- this.setContext(types$17.brace);
28912
+ this.setContext(types$18.brace);
28993
28913
  this.next();
28994
- node = this.jsxParseExpressionContainer(node, types$17.j_oTag);
28914
+ node = this.jsxParseExpressionContainer(node, types$18.j_oTag);
28995
28915
 
28996
28916
  if (node.expression.type === 'JSXEmptyExpression') {
28997
28917
  this.raise(JsxErrors$1.AttributeIsEmpty, node);
@@ -29016,7 +28936,7 @@ var jsx$3 = (superClass) => class JSXParserMixin extends superClass {
29016
28936
  jsxParseSpreadChild(node) {
29017
28937
  this.next();
29018
28938
  node.expression = this.parseExpression();
29019
- this.setContext(types$17.j_expr);
28939
+ this.setContext(types$18.j_expr);
29020
28940
  this.state.canStartJSXElement = true;
29021
28941
  this.expect(8);
29022
28942
  return this.finishNode(node, 'JSXSpreadChild');
@@ -29046,11 +28966,11 @@ var jsx$3 = (superClass) => class JSXParserMixin extends superClass {
29046
28966
  const node = this.startNode();
29047
28967
 
29048
28968
  if (this.match(5)) {
29049
- this.setContext(types$17.brace);
28969
+ this.setContext(types$18.brace);
29050
28970
  this.next();
29051
28971
  this.expect(21);
29052
28972
  node.argument = this.parseMaybeAssignAllowIn();
29053
- this.setContext(types$17.j_oTag);
28973
+ this.setContext(types$18.j_oTag);
29054
28974
  this.state.canStartJSXElement = true;
29055
28975
  this.expect(8);
29056
28976
  return this.finishNode(node, 'JSXSpreadAttribute');
@@ -29124,13 +29044,13 @@ var jsx$3 = (superClass) => class JSXParserMixin extends superClass {
29124
29044
 
29125
29045
  case 5: {
29126
29046
  const node2 = this.startNode();
29127
- this.setContext(types$17.brace);
29047
+ this.setContext(types$18.brace);
29128
29048
  this.next();
29129
29049
 
29130
29050
  if (this.match(21)) {
29131
29051
  children.push(this.jsxParseSpreadChild(node2));
29132
29052
  } else {
29133
- children.push(this.jsxParseExpressionContainer(node2, types$17.j_expr));
29053
+ children.push(this.jsxParseExpressionContainer(node2, types$18.j_expr));
29134
29054
  }
29135
29055
 
29136
29056
  break;
@@ -29206,12 +29126,12 @@ var jsx$3 = (superClass) => class JSXParserMixin extends superClass {
29206
29126
  getTokenFromCode(code2) {
29207
29127
  const context = this.curContext();
29208
29128
 
29209
- if (context === types$17.j_expr) {
29129
+ if (context === types$18.j_expr) {
29210
29130
  this.jsxReadToken();
29211
29131
  return;
29212
29132
  }
29213
29133
 
29214
- if (context === types$17.j_oTag || context === types$17.j_cTag) {
29134
+ if (context === types$18.j_oTag || context === types$18.j_cTag) {
29215
29135
  if (isIdentifierStart2$1(code2)) {
29216
29136
  this.jsxReadWord();
29217
29137
  return;
@@ -29223,7 +29143,7 @@ var jsx$3 = (superClass) => class JSXParserMixin extends superClass {
29223
29143
  return;
29224
29144
  }
29225
29145
 
29226
- if ((code2 === 34 || code2 === 39) && context === types$17.j_oTag) {
29146
+ if ((code2 === 34 || code2 === 39) && context === types$18.j_oTag) {
29227
29147
  this.jsxReadString(code2);
29228
29148
  return;
29229
29149
  }
@@ -29242,18 +29162,18 @@ var jsx$3 = (superClass) => class JSXParserMixin extends superClass {
29242
29162
  const {context, type} = this.state;
29243
29163
 
29244
29164
  if (type === 56 && prevType === 143) {
29245
- context.splice(-2, 2, types$17.j_cTag);
29165
+ context.splice(-2, 2, types$18.j_cTag);
29246
29166
  this.state.canStartJSXElement = false;
29247
29167
  } else if (type === 143) {
29248
- context.push(types$17.j_oTag);
29168
+ context.push(types$18.j_oTag);
29249
29169
  } else if (type === 144) {
29250
29170
  const out = context[context.length - 1];
29251
29171
 
29252
- if (out === types$17.j_oTag && prevType === 56 || out === types$17.j_cTag) {
29172
+ if (out === types$18.j_oTag && prevType === 56 || out === types$18.j_cTag) {
29253
29173
  context.pop();
29254
- this.state.canStartJSXElement = context[context.length - 1] === types$17.j_expr;
29174
+ this.state.canStartJSXElement = context[context.length - 1] === types$18.j_expr;
29255
29175
  } else {
29256
- this.setContext(types$17.j_expr);
29176
+ this.setContext(types$18.j_expr);
29257
29177
  this.state.canStartJSXElement = true;
29258
29178
  }
29259
29179
  } else {
@@ -29732,7 +29652,7 @@ var State$3 = class _State {
29732
29652
  __publicField$1(this, 'end', 0);
29733
29653
  __publicField$1(this, 'lastTokEndLoc', null);
29734
29654
  __publicField$1(this, 'lastTokStartLoc', null);
29735
- __publicField$1(this, 'context', [types$17.brace]);
29655
+ __publicField$1(this, 'context', [types$18.brace]);
29736
29656
  __publicField$1(this, 'firstInvalidTemplateEscapePos', null);
29737
29657
  __publicField$1(this, 'strictErrors', /* @__PURE__ */new Map());
29738
29658
  __publicField$1(this, 'tokensLength', 0);
@@ -33155,6 +33075,7 @@ var typescript$4 = (superClass) => class TypeScriptParserMixin extends superClas
33155
33075
  node.properties = [
33156
33076
  this.finishObjectProperty(withProperty),
33157
33077
  ];
33078
+ this.eat(12);
33158
33079
  this.expect(8);
33159
33080
  return this.finishNode(node, 'ObjectExpression');
33160
33081
  }
@@ -34254,7 +34175,7 @@ var typescript$4 = (superClass) => class TypeScriptParserMixin extends superClas
34254
34175
  }
34255
34176
 
34256
34177
  tsInTopLevelContext(cb) {
34257
- if (this.curContext() !== types$17.brace) {
34178
+ if (this.curContext() !== types$18.brace) {
34258
34179
  const oldContext = this.state.context;
34259
34180
 
34260
34181
  this.state.context = [oldContext[0]];
@@ -34686,7 +34607,7 @@ var typescript$4 = (superClass) => class TypeScriptParserMixin extends superClas
34686
34607
 
34687
34608
  if (node.params.length === 0) {
34688
34609
  this.raise(TSErrors$1.EmptyTypeArguments, node);
34689
- } else if (!this.state.inType && this.curContext() === types$17.brace) {
34610
+ } else if (!this.state.inType && this.curContext() === types$18.brace) {
34690
34611
  this.reScan_lt_gt();
34691
34612
  }
34692
34613
 
@@ -34866,6 +34787,7 @@ var typescript$4 = (superClass) => class TypeScriptParserMixin extends superClas
34866
34787
  const asyncArrowFn = this.tsTryParseGenericAsyncArrowFunction(startLoc);
34867
34788
 
34868
34789
  if (asyncArrowFn) {
34790
+ state.stop = true;
34869
34791
  return asyncArrowFn;
34870
34792
  }
34871
34793
  }
@@ -35539,7 +35461,7 @@ var typescript$4 = (superClass) => class TypeScriptParserMixin extends superClas
35539
35461
 
35540
35462
  const currentContext = context[context.length - 1];
35541
35463
 
35542
- if (currentContext === types$17.j_oTag || currentContext === types$17.j_expr) {
35464
+ if (currentContext === types$18.j_oTag || currentContext === types$18.j_expr) {
35543
35465
  context.pop();
35544
35466
  }
35545
35467
  }
@@ -36216,6 +36138,11 @@ var typescript$4 = (superClass) => class TypeScriptParserMixin extends superClas
36216
36138
  node.extends ?? (node.extends = []);
36217
36139
  return;
36218
36140
 
36141
+ case 'TSMappedType':
36142
+ node.optional ?? (node.optional = false);
36143
+ node.readonly ?? (node.readonly = void 0);
36144
+ return;
36145
+
36219
36146
  case 'TSModuleDeclaration':
36220
36147
  node.declare ?? (node.declare = false);
36221
36148
  node.global ?? (node.global = node.kind === 'global');
@@ -36718,7 +36645,7 @@ function validatePlugins$1(pluginsMap) {
36718
36645
 
36719
36646
  var mixinPlugins$1 = {
36720
36647
  estree: estree$1,
36721
- jsx: jsx$3,
36648
+ jsx: jsx$4,
36722
36649
  flow: flow$1,
36723
36650
  typescript: typescript$4,
36724
36651
  v8intrinsic: v8intrinsic$1,
@@ -42103,8 +42030,7 @@ function populatePlaceholders$1(metadata, replacements) {
42103
42030
  });
42104
42031
  }
42105
42032
 
42106
- metadata
42107
- .placeholders
42033
+ metadata.placeholders
42108
42034
  .slice()
42109
42035
  .reverse()
42110
42036
  .forEach((placeholder2) => {
@@ -42376,8 +42302,7 @@ function extendedTrace$1(fn) {
42376
42302
  throw new Error();
42377
42303
  } catch(error) {
42378
42304
  if (error.stack) {
42379
- rootStack = error
42380
- .stack
42305
+ rootStack = error.stack
42381
42306
  .split('\n')
42382
42307
  .slice(3)
42383
42308
  .join('\n');
@@ -44993,10 +44918,6 @@ function NewExpression2$1(node, parent) {
44993
44918
 
44994
44919
  this.print(node.typeArguments);
44995
44920
 
44996
- if (node.optional) {
44997
- this.token('?.');
44998
- }
44999
-
45000
44921
  if (node.arguments.length === 0 && this.tokenMap && !this.tokenMap.endMatches(node, ')')) {
45001
44922
  return;
45002
44923
  }
@@ -49580,7 +49501,7 @@ function normalizeOptions$1(code2, opts, ast) {
49580
49501
  }
49581
49502
 
49582
49503
  if (!Array.isArray(ast.tokens)) {
49583
- throw new Error('`experimental_preserveFormat` requires the AST to have attatched the token of the input code. Make sure to enable the `tokens: true` parser option.');
49504
+ throw new Error('`experimental_preserveFormat` requires the AST to have attached the token of the input code. Make sure to enable the `tokens: true` parser option.');
49584
49505
  }
49585
49506
  }
49586
49507
 
@@ -49654,6 +49575,78 @@ function generate$7(ast, opts = {}, code2) {
49654
49575
 
49655
49576
  // node_modules/@babel/traverse/lib/index.js
49656
49577
  var import_debug$1 = __toESM$1(require_src$1());
49578
+
49579
+ // node_modules/@babel/helper-globals/data/builtin-lower.json
49580
+ var builtin_lower_default = [
49581
+ 'decodeURI',
49582
+ 'decodeURIComponent',
49583
+ 'encodeURI',
49584
+ 'encodeURIComponent',
49585
+ 'escape',
49586
+ 'eval',
49587
+ 'globalThis',
49588
+ 'isFinite',
49589
+ 'isNaN',
49590
+ 'parseFloat',
49591
+ 'parseInt',
49592
+ 'undefined',
49593
+ 'unescape',
49594
+ ];
49595
+
49596
+ // node_modules/@babel/helper-globals/data/builtin-upper.json
49597
+ var builtin_upper_default = [
49598
+ 'AggregateError',
49599
+ 'Array',
49600
+ 'ArrayBuffer',
49601
+ 'Atomics',
49602
+ 'BigInt',
49603
+ 'BigInt64Array',
49604
+ 'BigUint64Array',
49605
+ 'Boolean',
49606
+ 'DataView',
49607
+ 'Date',
49608
+ 'Error',
49609
+ 'EvalError',
49610
+ 'FinalizationRegistry',
49611
+ 'Float16Array',
49612
+ 'Float32Array',
49613
+ 'Float64Array',
49614
+ 'Function',
49615
+ 'Infinity',
49616
+ 'Int16Array',
49617
+ 'Int32Array',
49618
+ 'Int8Array',
49619
+ 'Intl',
49620
+ 'Iterator',
49621
+ 'JSON',
49622
+ 'Map',
49623
+ 'Math',
49624
+ 'NaN',
49625
+ 'Number',
49626
+ 'Object',
49627
+ 'Promise',
49628
+ 'Proxy',
49629
+ 'RangeError',
49630
+ 'ReferenceError',
49631
+ 'Reflect',
49632
+ 'RegExp',
49633
+ 'Set',
49634
+ 'SharedArrayBuffer',
49635
+ 'String',
49636
+ 'Symbol',
49637
+ 'SyntaxError',
49638
+ 'TypeError',
49639
+ 'Uint16Array',
49640
+ 'Uint32Array',
49641
+ 'Uint8Array',
49642
+ 'Uint8ClampedArray',
49643
+ 'URIError',
49644
+ 'WeakMap',
49645
+ 'WeakRef',
49646
+ 'WeakSet',
49647
+ ];
49648
+
49649
+ // node_modules/@babel/traverse/lib/index.js
49657
49650
  var ReferencedIdentifier$1 = [
49658
49651
  'Identifier',
49659
49652
  'JSXIdentifier',
@@ -50011,7 +50004,7 @@ function verify$1$1(visitor) {
50011
50004
  continue;
50012
50005
 
50013
50006
  if (!TYPES2$1.includes(nodeType)) {
50014
- throw new Error(`You gave us a visitor for the node type ${nodeType} but it's not a valid type in @babel/traverse ${'8.0.0-beta.1'}`);
50007
+ throw new Error(`You gave us a visitor for the node type ${nodeType} but it's not a valid type in @babel/traverse ${'8.0.0-beta.2'}`);
50015
50008
  }
50016
50009
 
50017
50010
  const visitors2 = visitor[nodeType];
@@ -50464,9 +50457,6 @@ var cache$1 = /* @__PURE__ */Object.freeze({
50464
50457
  },
50465
50458
  });
50466
50459
 
50467
- var globalsBuiltinLower = require$$4;
50468
- var globalsBuiltinUpper = require$$5;
50469
-
50470
50460
  var {
50471
50461
  assignmentExpression: assignmentExpression$3$1,
50472
50462
  callExpression: callExpression$3$1,
@@ -50755,8 +50745,7 @@ var collectorVisitor$1 = {
50755
50745
  },
50756
50746
  },
50757
50747
  LabeledStatement(path) {
50758
- path
50759
- .scope
50748
+ path.scope
50760
50749
  .getBlockParent()
50761
50750
  .registerDeclaration(path);
50762
50751
  },
@@ -51509,7 +51498,8 @@ collectorVisitor$1]));
51509
51498
  const binding = scope2.getOwnBinding(name);
51510
51499
 
51511
51500
  if (binding) {
51512
- if (previousPath?.isPattern() && binding.kind !== 'param' && binding.kind !== 'local'); else {
51501
+ if (previousPath?.isPattern() && binding.kind !== 'param' && binding.kind !== 'local');
51502
+ else {
51513
51503
  return binding;
51514
51504
  }
51515
51505
  } else if (!binding && name === 'arguments' && scope2.path.isFunction() && !scope2.path.isArrowFunctionExpression()) {
@@ -51661,7 +51651,7 @@ collectorVisitor$1]));
51661
51651
  }
51662
51652
  };
51663
51653
 
51664
- __publicField$1(_Scope$1, 'globals', [...globalsBuiltinLower, ...globalsBuiltinUpper]);
51654
+ __publicField$1(_Scope$1, 'globals', [...builtin_lower_default, ...builtin_upper_default]);
51665
51655
  __publicField$1(_Scope$1, 'contextVariables', [
51666
51656
  'arguments',
51667
51657
  'undefined',
@@ -51875,6 +51865,7 @@ function infererReference$1(node) {
51875
51865
  } else if (node.name === 'NaN' || node.name === 'Infinity') {
51876
51866
  return numberTypeAnnotation$1$1();
51877
51867
  } else if (node.name === 'arguments');
51868
+
51878
51869
  }
51879
51870
 
51880
51871
  function getTypeAnnotationBindingConstantViolations$1(binding, path, name) {
@@ -52256,6 +52247,7 @@ function resolveCall$1(callee) {
52256
52247
  return callee.node.returnType;
52257
52248
  } else
52258
52249
  ;
52250
+
52259
52251
  }
52260
52252
  }
52261
52253
  }
@@ -52607,8 +52599,9 @@ function insertBefore$1(nodes_) {
52607
52599
  } else if (this.isStatementOrBlock()) {
52608
52600
  const node = this.node;
52609
52601
  const shouldInsertCurrentNode = node && (!this.isExpressionStatement() || node.expression != null);
52610
- this.replaceWith(blockStatement$2$1(shouldInsertCurrentNode ? [node] : []));
52611
- return this.unshiftContainer('body', nodes2);
52602
+ const [blockPath] = this.replaceWith(blockStatement$2$1(shouldInsertCurrentNode ? [node] : []));
52603
+
52604
+ return blockPath.unshiftContainer('body', nodes2);
52612
52605
  } else {
52613
52606
  throw new Error('We don\'t know what to do with this node type. We were previously a Statement but we can\'t fit in here?');
52614
52607
  }
@@ -52726,8 +52719,9 @@ function insertAfter$2(nodes_) {
52726
52719
  } else if (this.isStatementOrBlock()) {
52727
52720
  const node = this.node;
52728
52721
  const shouldInsertCurrentNode = node && (!this.isExpressionStatement() || node.expression != null);
52729
- this.replaceWith(blockStatement$2$1(shouldInsertCurrentNode ? [node] : []));
52730
- return this.pushContainer('body', nodes2);
52722
+ const [blockPath] = this.replaceWith(blockStatement$2$1(shouldInsertCurrentNode ? [node] : []));
52723
+
52724
+ return blockPath.pushContainer('body', nodes2);
52731
52725
  } else {
52732
52726
  throw new Error('We don\'t know what to do with this node type. We were previously a Statement but we can\'t fit in here?');
52733
52727
  }
@@ -52786,16 +52780,18 @@ function _verifyNodeList$1(nodes2) {
52786
52780
 
52787
52781
  function unshiftContainer$1(listKey, nodes2) {
52788
52782
  _assertUnremoved$1.call(this);
52789
- nodes2 = _verifyNodeList$1.call(this, nodes2);
52783
+ const verifiedNodes = _verifyNodeList$1.call(this, nodes2);
52784
+ const container = this.node[listKey];
52785
+
52790
52786
  const path = NodePath_Final$1.get({
52791
52787
  parentPath: this,
52792
52788
  parent: this.node,
52793
- container: this.node[listKey],
52789
+ container,
52794
52790
  listKey,
52795
52791
  key: 0,
52796
52792
  }).setContext(this.context);
52797
52793
 
52798
- return _containerInsertBefore$1.call(path, nodes2);
52794
+ return _containerInsertBefore$1.call(path, verifiedNodes);
52799
52795
  }
52800
52796
 
52801
52797
  function pushContainer$1(listKey, nodes2) {
@@ -52847,9 +52843,9 @@ var {
52847
52843
 
52848
52844
  function replaceWithMultiple$4(nodes2) {
52849
52845
  resync$1.call(this);
52850
- nodes2 = _verifyNodeList$1.call(this, nodes2);
52851
- inheritLeadingComments2$1(nodes2[0], this.node);
52852
- inheritTrailingComments2$1(nodes2[nodes2.length - 1], this.node);
52846
+ const verifiedNodes = _verifyNodeList$1.call(this, nodes2);
52847
+ inheritLeadingComments2$1(verifiedNodes[0], this.node);
52848
+ inheritTrailingComments2$1(verifiedNodes[verifiedNodes.length - 1], this.node);
52853
52849
  getCachedPaths$1(this)?.delete(this.node);
52854
52850
  this.node =
52855
52851
  this.container[this.key] = null;
@@ -56268,9 +56264,9 @@ var fullstore$3 = (value) => {
56268
56264
  };
56269
56265
  };
56270
56266
 
56271
- var types$16 = {};
56267
+ var types$17 = {};
56272
56268
 
56273
- types$16.TYPES = {
56269
+ types$17.TYPES = {
56274
56270
  TOKEN: 'Token',
56275
56271
  NEWLINE: 'Newline',
56276
56272
  LINEBREAK: 'Linebreak',
@@ -56290,7 +56286,7 @@ var arrowFunctionExpression$3 = {};
56290
56286
 
56291
56287
  var is$4 = {};
56292
56288
 
56293
- const {types: types$15} = bundle$1;
56289
+ const {types: types$16} = bundle$1;
56294
56290
  const {
56295
56291
  isStringLiteral: isStringLiteral$a,
56296
56292
  isIdentifier: isIdentifier$h,
@@ -56302,7 +56298,7 @@ const {
56302
56298
  isArrayExpression: isArrayExpression$9,
56303
56299
  isObjectExpression: isObjectExpression$8,
56304
56300
  isLabeledStatement: isLabeledStatement$2,
56305
- } = types$15;
56301
+ } = types$16;
56306
56302
 
56307
56303
  const isParentProgram$1 = (path) => path.parentPath?.isProgram();
56308
56304
  const isParentBlock$3 = (path) => path.parentPath.isBlockStatement();
@@ -56606,7 +56602,7 @@ commentsPrinter.printTrailingComments = (path, printer, semantics, {currentTrave
56606
56602
  }
56607
56603
  };
56608
56604
 
56609
- const {types: types$14} = bundle$1;
56605
+ const {types: types$15} = bundle$1;
56610
56606
  const {
56611
56607
  hasTrailingComment: hasTrailingComment$5,
56612
56608
  satisfy: satisfy$3,
@@ -56632,7 +56628,7 @@ const {
56632
56628
  isBinaryExpression: isBinaryExpression$2,
56633
56629
  isClassMethod: isClassMethod$2,
56634
56630
  isDecorator: isDecorator$2,
56635
- } = types$14;
56631
+ } = types$15;
56636
56632
 
56637
56633
  const isProperty$1 = satisfy$3([
56638
56634
  isObjectProperty$3,
@@ -56884,7 +56880,7 @@ function build(path) {
56884
56880
  return prop;
56885
56881
  }
56886
56882
 
56887
- const {types: types$13} = bundle$1;
56883
+ const {types: types$14} = bundle$1;
56888
56884
  const {chain: chain$3} = chain$4;
56889
56885
  const {satisfy: satisfy$2} = is$4;
56890
56886
 
@@ -56893,7 +56889,7 @@ const {
56893
56889
  isIfStatement: isIfStatement$2,
56894
56890
  isCallExpression: isCallExpression$b,
56895
56891
  isIdentifier: isIdentifier$g,
56896
- } = types$13;
56892
+ } = types$14;
56897
56893
 
56898
56894
  const isArgOfCall = (path) => path.parentPath?.isCallExpression() && path.parentPath.get('arguments.0') === path;
56899
56895
  const isCall$1 = (a) => a.type === 'CallExpression';
@@ -56966,7 +56962,7 @@ const isIfUp = (path) => {
56966
56962
  return is;
56967
56963
  };
56968
56964
 
56969
- const {types: types$12} = bundle$1;
56965
+ const {types: types$13} = bundle$1;
56970
56966
 
56971
56967
  const {
56972
56968
  isLast: isLast$c,
@@ -56986,7 +56982,7 @@ const {
56986
56982
  isMemberExpression: isMemberExpression$a,
56987
56983
  isExpressionStatement: isExpressionStatement$7,
56988
56984
  isCallExpression: isCallExpression$a,
56989
- } = types$12;
56985
+ } = types$13;
56990
56986
 
56991
56987
  const hasBody$1 = (path) => {
56992
56988
  if (path.isTSModuleDeclaration())
@@ -57345,7 +57341,7 @@ arrowFunctionExpression$3.ArrowFunctionExpression = maybeParens$d((path, printer
57345
57341
 
57346
57342
  var functionDeclaration$1 = {};
57347
57343
 
57348
- const {types: types$11} = bundle$1;
57344
+ const {types: types$12} = bundle$1;
57349
57345
  const {markAfter: markAfter$a} = mark;
57350
57346
  const {isNext: isNext$m, isNextParent: isNextParent$4} = is$4;
57351
57347
  const {printParams: printParams$b} = params;
@@ -57361,7 +57357,7 @@ const {
57361
57357
  isExpressionStatement: isExpressionStatement$6,
57362
57358
  isFunctionDeclaration: isFunctionDeclaration$3,
57363
57359
  isExportDefaultDeclaration: isExportDefaultDeclaration$1,
57364
- } = types$11;
57360
+ } = types$12;
57365
57361
 
57366
57362
  const isInsideNamedExport$1 = ({parentPath}) => isExportNamedDeclaration$4(parentPath);
57367
57363
 
@@ -57866,7 +57862,7 @@ maybeDeclare$6.maybeDeclare = (visit) => (path, printer, semantics) => {
57866
57862
  visit(path, printer, semantics);
57867
57863
  };
57868
57864
 
57869
- const {types: types$10} = bundle$1;
57865
+ const {types: types$11} = bundle$1;
57870
57866
 
57871
57867
  const {isNext: isNext$j} = is$4;
57872
57868
  const {markAfter: markAfter$9} = mark;
@@ -57882,7 +57878,7 @@ const isInsideTSModuleBlock = (path) => {
57882
57878
  const {
57883
57879
  isFunction: isFunction$7,
57884
57880
  isTSModuleBlock: isTSModuleBlock$3,
57885
- } = types$10;
57881
+ } = types$11;
57886
57882
 
57887
57883
  const isInsideExport = ({parentPath}) => parentPath.isExportDeclaration();
57888
57884
  const isFunctionLike = (path) => isFunction$7(path.parentPath.parentPath);
@@ -58047,14 +58043,14 @@ function tooLong$1(args) {
58047
58043
 
58048
58044
  var newExpression$1 = {};
58049
58045
 
58050
- const {types: types$$} = bundle$1;
58046
+ const {types: types$10} = bundle$1;
58051
58047
  const {exists: exists$b} = is$4;
58052
58048
  const {isMarkedAfter: isMarkedAfter$2} = mark;
58053
58049
 
58054
58050
  const {
58055
58051
  isExpressionStatement: isExpressionStatement$5,
58056
58052
  isMemberExpression: isMemberExpression$9,
58057
- } = types$$;
58053
+ } = types$10;
58058
58054
 
58059
58055
  const isInsideExpressionStatement = ({parentPath}) => isExpressionStatement$5(parentPath);
58060
58056
  const notFirst = ({parentPath}) => exists$b(parentPath.getPrevSibling());
@@ -58133,8 +58129,8 @@ var objectExpression$3 = {};
58133
58129
 
58134
58130
  var isInsideTuple$1 = {};
58135
58131
 
58136
- const {types: types$_} = bundle$1;
58137
- const {isArrayExpression: isArrayExpression$8} = types$_;
58132
+ const {types: types$$} = bundle$1;
58133
+ const {isArrayExpression: isArrayExpression$8} = types$$;
58138
58134
 
58139
58135
  const TYPES$4 = [
58140
58136
  'NullLiteral',
@@ -58158,12 +58154,12 @@ isInsideTuple$1.isInsideTuple = (path) => {
58158
58154
 
58159
58155
  var isThirdObjectInsideArray$1 = {};
58160
58156
 
58161
- const {types: types$Z} = bundle$1;
58157
+ const {types: types$_} = bundle$1;
58162
58158
  const {
58163
58159
  isArrayExpression: isArrayExpression$7,
58164
58160
  isCallExpression: isCallExpression$9,
58165
58161
  isIdentifier: isIdentifier$f,
58166
- } = types$Z;
58162
+ } = types$_;
58167
58163
 
58168
58164
  isThirdObjectInsideArray$1.isThirdObjectInsideArray = ({parentPath}) => {
58169
58165
  if (!isArrayExpression$7(parentPath))
@@ -58174,7 +58170,7 @@ isThirdObjectInsideArray$1.isThirdObjectInsideArray = ({parentPath}) => {
58174
58170
  return isCallExpression$9(second) && !!isIdentifier$f(second);
58175
58171
  };
58176
58172
 
58177
- const {types: types$Y} = bundle$1;
58173
+ const {types: types$Z} = bundle$1;
58178
58174
  const {
58179
58175
  isCoupleLines: isCoupleLines$7,
58180
58176
  isForOf: isForOf$3,
@@ -58194,7 +58190,7 @@ const {isThirdObjectInsideArray} = isThirdObjectInsideArray$1;
58194
58190
  const {
58195
58191
  isStringLiteral: isStringLiteral$9,
58196
58192
  isArrayExpression: isArrayExpression$6,
58197
- } = types$Y;
58193
+ } = types$Z;
58198
58194
 
58199
58195
  const isBodyOfArrow = (path) => path.parentPath.node.body === path.node;
58200
58196
  const isLogical = (path) => path.get('argument').isLogicalExpression();
@@ -58360,12 +58356,12 @@ var objectProperty$4 = {};
58360
58356
 
58361
58357
  var concatenate$1 = {};
58362
58358
 
58363
- const {types: types$X} = bundle$1;
58359
+ const {types: types$Y} = bundle$1;
58364
58360
  const {
58365
58361
  isStringLiteral: isStringLiteral$8,
58366
58362
  isTemplateLiteral: isTemplateLiteral$4,
58367
58363
  isBinaryExpression: isBinaryExpression$1,
58368
- } = types$X;
58364
+ } = types$Y;
58369
58365
 
58370
58366
  const isStringLike = (a) => {
58371
58367
  if (isStringLiteral$8(a))
@@ -58412,11 +58408,11 @@ concatenate$1.concatenate = (path, {print, indent}) => {
58412
58408
  indent.dec();
58413
58409
  };
58414
58410
 
58415
- const {types: types$W} = bundle$1;
58411
+ const {types: types$X} = bundle$1;
58416
58412
  const {isConcatenation: isConcatenation$2} = concatenate$1;
58417
58413
  const {isOneLine} = objectExpression$3;
58418
58414
  const {printKey: printKey$4} = printKey$7;
58419
- const {isTSImportType: isTSImportType$1} = types$W;
58415
+ const {isTSImportType: isTSImportType$1} = types$X;
58420
58416
  const isInsideTSImportType = ({parentPath}) => isTSImportType$1(parentPath.parentPath);
58421
58417
 
58422
58418
  objectProperty$4.ObjectProperty = (path, printer, semantics) => {
@@ -58470,11 +58466,11 @@ moreThenMaxPropertiesInOneLine$1.moreThenMaxPropertiesInOneLine = (path, {maxPro
58470
58466
 
58471
58467
  var maybeTypeAnnotation$4 = {};
58472
58468
 
58473
- const {types: types$V} = bundle$1;
58469
+ const {types: types$W} = bundle$1;
58474
58470
  const {
58475
58471
  isMemberExpression: isMemberExpression$8,
58476
58472
  isSequenceExpression: isSequenceExpression$2,
58477
- } = types$V;
58473
+ } = types$W;
58478
58474
 
58479
58475
  maybeTypeAnnotation$4.maybePrintTypeAnnotation = maybePrintTypeAnnotation$3;
58480
58476
 
@@ -58505,11 +58501,11 @@ function maybePrintTypeAnnotation$3(path, printer) {
58505
58501
 
58506
58502
  var moreThenMaxPropertiesLengthInOneLine$1 = {};
58507
58503
 
58508
- const {types: types$U} = bundle$1;
58504
+ const {types: types$V} = bundle$1;
58509
58505
  const {
58510
58506
  isAssignmentPattern: isAssignmentPattern$2,
58511
58507
  isIdentifier: isIdentifier$e,
58512
- } = types$U;
58508
+ } = types$V;
58513
58509
 
58514
58510
  function getLength(left, right) {
58515
58511
  if (isIdentifier$e(left) && isIdentifier$e(right))
@@ -58546,7 +58542,7 @@ moreThenMaxPropertiesLengthInOneLine$1.moreThenMaxPropertiesLengthInOneLine = (p
58546
58542
  return false;
58547
58543
  };
58548
58544
 
58549
- const {types: types$T} = bundle$1;
58545
+ const {types: types$U} = bundle$1;
58550
58546
  const {wrongShorthand} = wrongShortand;
58551
58547
 
58552
58548
  const {
@@ -58570,7 +58566,7 @@ const {
58570
58566
  isObjectPattern: isObjectPattern$3,
58571
58567
  isForOfStatement: isForOfStatement$1,
58572
58568
  isVariableDeclaration: isVariableDeclaration$5,
58573
- } = types$T;
58569
+ } = types$U;
58574
58570
 
58575
58571
  const isInsideFn = (path) => {
58576
58572
  if (isFunction$6(path.parentPath))
@@ -58938,9 +58934,9 @@ maybeParensCondition.condition = (path, printer, semantics) => {
58938
58934
 
58939
58935
  var assignmentExpressionComments = {};
58940
58936
 
58941
- const {types: types$S} = bundle$1;
58937
+ const {types: types$T} = bundle$1;
58942
58938
  const {hasLeadingComment: hasLeadingComment$1} = is$4;
58943
- const {isReturnStatement: isReturnStatement$3} = types$S;
58939
+ const {isReturnStatement: isReturnStatement$3} = types$T;
58944
58940
 
58945
58941
  assignmentExpressionComments.printLeadingCommentLine = (path, printer, semantics, {printComment, isLast}) => {
58946
58942
  const {parentPath} = path;
@@ -58998,11 +58994,11 @@ assignmentExpressionComments.maybeInsideReturnWithCommentEnd = (path, {print, in
58998
58994
 
58999
58995
  var printSeparator = {};
59000
58996
 
59001
- const {types: types$R} = bundle$1;
58997
+ const {types: types$S} = bundle$1;
59002
58998
  const {
59003
58999
  isAssignmentExpression: isAssignmentExpression$2,
59004
59000
  isExpressionStatement: isExpressionStatement$4,
59005
- } = types$R;
59001
+ } = types$S;
59006
59002
 
59007
59003
  printSeparator.printSeparator = (path, {print}) => {
59008
59004
  if (isMultiline(path))
@@ -59075,11 +59071,11 @@ var operate = {};
59075
59071
 
59076
59072
  var getBinding$3 = {};
59077
59073
 
59078
- const {types: types$Q} = bundle$1;
59074
+ const {types: types$R} = bundle$1;
59079
59075
  const {
59080
59076
  isIdentifier: isIdentifier$c,
59081
59077
  isMemberExpression: isMemberExpression$7,
59082
- } = types$Q;
59078
+ } = types$R;
59083
59079
 
59084
59080
  const isString$e = (a) => typeof a === 'string';
59085
59081
 
@@ -59106,13 +59102,13 @@ const parseName$1 = (node) => {
59106
59102
 
59107
59103
  var isSimple$2 = {};
59108
59104
 
59109
- const {types: types$P} = bundle$1;
59105
+ const {types: types$Q} = bundle$1;
59110
59106
  const {
59111
59107
  isOptionalMemberExpression: isOptionalMemberExpression$2,
59112
59108
  isMemberExpression: isMemberExpression$6,
59113
59109
  isIdentifier: isIdentifier$b,
59114
59110
  isLiteral: isLiteral$4,
59115
- } = types$P;
59111
+ } = types$Q;
59116
59112
 
59117
59113
  isSimple$2.isSimple = (a) => {
59118
59114
  if (isLiteral$4(a))
@@ -59129,7 +59125,7 @@ isSimple$2.isSimple = (a) => {
59129
59125
 
59130
59126
  var extract$6 = {};
59131
59127
 
59132
- const {types: types$O} = bundle$1;
59128
+ const {types: types$P} = bundle$1;
59133
59129
  const {
59134
59130
  isArrayExpression: isArrayExpression$5,
59135
59131
  isLiteral: isLiteral$3,
@@ -59144,7 +59140,7 @@ const {
59144
59140
  isJSXIdentifier: isJSXIdentifier$3,
59145
59141
  isTSTypeReference: isTSTypeReference$3,
59146
59142
  isTSTypeParameter: isTSTypeParameter$1,
59147
- } = types$O;
59143
+ } = types$P;
59148
59144
 
59149
59145
  extract$6.extract = extract$5;
59150
59146
 
@@ -59561,13 +59557,13 @@ var properties = {};
59561
59557
 
59562
59558
  var traverseProperties$4 = {};
59563
59559
 
59564
- const {traverse: traverse$a, types: types$N} = bundle$1;
59560
+ const {traverse: traverse$a, types: types$O} = bundle$1;
59565
59561
  const {extract: extract$3} = extract$6;
59566
59562
 
59567
59563
  const {
59568
59564
  isCallExpression: isCallExpression$8,
59569
59565
  isObjectExpression: isObjectExpression$6,
59570
- } = types$N;
59566
+ } = types$O;
59571
59567
 
59572
59568
  const nodeOrPath = (path) => path.node || path;
59573
59569
 
@@ -59707,13 +59703,13 @@ var replaceWithMultiple$3 = {};
59707
59703
 
59708
59704
  var maybeBody$2 = {};
59709
59705
 
59710
- const {types: types$M} = bundle$1;
59706
+ const {types: types$N} = bundle$1;
59711
59707
  const {
59712
59708
  isStatement: isStatement$8,
59713
59709
  isBlockStatement: isBlockStatement$6,
59714
59710
  blockStatement: blockStatement$4,
59715
59711
  expressionStatement: expressionStatement$8,
59716
- } = types$M;
59712
+ } = types$N;
59717
59713
 
59718
59714
  maybeBody$2.maybeBody = (path, node) => {
59719
59715
  const {parentPath} = path;
@@ -59734,12 +59730,12 @@ maybeBody$2.maybeBody = (path, node) => {
59734
59730
 
59735
59731
  var toExpression$4 = {};
59736
59732
 
59737
- const {types: types$L} = bundle$1;
59733
+ const {types: types$M} = bundle$1;
59738
59734
  const {
59739
59735
  isExpression: isExpression$4,
59740
59736
  toStatement: toStatement$1,
59741
59737
  expressionStatement: expressionStatement$7,
59742
- } = types$L;
59738
+ } = types$M;
59743
59739
 
59744
59740
  toExpression$4.toExpression = (el) => {
59745
59741
  const {type} = el;
@@ -59860,7 +59856,7 @@ replaceWith$8.replaceWith = replaceWith$6;
59860
59856
  replaceWith$8.replaceWithMultiple = replaceWithMultiple$2;
59861
59857
  replaceWith$8.toExpression = toExpression$2;
59862
59858
 
59863
- const {types: types$K} = bundle$1;
59859
+ const {types: types$L} = bundle$1;
59864
59860
 
59865
59861
  const {getBinding: getBinding$1, getBindingPath} = getBinding$3;
59866
59862
  const {isSimple: isSimple$1} = isSimple$2;
@@ -59893,7 +59889,7 @@ const {
59893
59889
  isExportDeclaration: isExportDeclaration$5,
59894
59890
  isStatement: isStatement$7,
59895
59891
  expressionStatement: expressionStatement$6,
59896
- } = types$K;
59892
+ } = types$L;
59897
59893
 
59898
59894
  operate.getBinding = getBinding$1;
59899
59895
  operate.getBindingPath = getBindingPath;
@@ -59979,7 +59975,7 @@ operate.isESM = (path) => {
59979
59975
  };
59980
59976
 
59981
59977
  const {isSimple} = operate;
59982
- const {types: types$J} = bundle$1;
59978
+ const {types: types$K} = bundle$1;
59983
59979
 
59984
59980
  const {
59985
59981
  isStringAndMember,
@@ -60002,7 +59998,7 @@ const {
60002
59998
  isStringLiteral: isStringLiteral$7,
60003
59999
  isSpreadElement: isSpreadElement$2,
60004
60000
  isIdentifier: isIdentifier$9,
60005
- } = types$J;
60001
+ } = types$K;
60006
60002
 
60007
60003
  const {round: round$1} = Math;
60008
60004
 
@@ -60293,13 +60289,13 @@ newline.isCurrentNewLine = (path) => {
60293
60289
 
60294
60290
  var indent = {};
60295
60291
 
60296
- const {types: types$I} = bundle$1;
60292
+ const {types: types$J} = bundle$1;
60297
60293
  const {isIndented} = is$4;
60298
60294
 
60299
60295
  const {
60300
60296
  isStringLiteral: isStringLiteral$6,
60301
60297
  isArrayExpression: isArrayExpression$3,
60302
- } = types$I;
60298
+ } = types$J;
60303
60299
 
60304
60300
  const isInsideArray$1 = (path) => path.parentPath.isArrayExpression();
60305
60301
 
@@ -60371,7 +60367,7 @@ isObjectAfterSimple$1.isNextSimple = (a) => {
60371
60367
  return SIMPLE_TYPES.includes(type);
60372
60368
  };
60373
60369
 
60374
- const {types: types$H} = bundle$1;
60370
+ const {types: types$I} = bundle$1;
60375
60371
  const {
60376
60372
  isCoupleLines: isCoupleLines$4,
60377
60373
  isStringAndIdentifier,
@@ -60406,7 +60402,7 @@ const {
60406
60402
  isFunction: isFunction$5,
60407
60403
  isCallExpression: isCallExpression$6,
60408
60404
  isObjectProperty: isObjectProperty$1,
60409
- } = types$H;
60405
+ } = types$I;
60410
60406
 
60411
60407
  const isNextString = (path) => isStringLiteral$5(path.getNextSibling());
60412
60408
  const isPrevString = (path) => isStringLiteral$5(path.getPrevSibling());
@@ -60826,12 +60822,12 @@ var logicalExpression$1 = {};
60826
60822
 
60827
60823
  var chain$2 = {};
60828
60824
 
60829
- const {types: types$G} = bundle$1;
60825
+ const {types: types$H} = bundle$1;
60830
60826
  const {
60831
60827
  isLogicalExpression: isLogicalExpression$1,
60832
60828
  isReturnStatement: isReturnStatement$2,
60833
60829
  isVariableDeclarator: isVariableDeclarator$2,
60834
- } = types$G;
60830
+ } = types$H;
60835
60831
 
60836
60832
  chain$2.isRootOk = (path) => {
60837
60833
  return isReturnStatement$2(path) || isVariableDeclarator$2(path);
@@ -60977,12 +60973,12 @@ function createImportExpression$1(path, printer, semantics, {source = 'source'}
60977
60973
 
60978
60974
  var parenthesizedExpression$3 = {};
60979
60975
 
60980
- const {types: types$F} = bundle$1;
60981
- const {isJSXElement: isJSXElement$4} = types$F;
60976
+ const {types: types$G} = bundle$1;
60977
+ const {isJSXElement: isJSXElement$5} = types$G;
60982
60978
 
60983
60979
  const condition$2 = (path) => {
60984
60980
  const {expression} = path.node;
60985
- return !isJSXElement$4(expression);
60981
+ return !isJSXElement$5(expression);
60986
60982
  };
60987
60983
 
60988
60984
  parenthesizedExpression$3.ParenthesizedExpression = {
@@ -61079,12 +61075,12 @@ var expressionStatement$5 = {exports: {}};
61079
61075
 
61080
61076
  var isInsideAssignNextAssignFunction = {};
61081
61077
 
61082
- const {types: types$E} = bundle$1;
61078
+ const {types: types$F} = bundle$1;
61083
61079
  const {
61084
61080
  isExpressionStatement: isExpressionStatement$3,
61085
61081
  isFunction: isFunction$4,
61086
61082
  isAssignmentExpression: isAssignmentExpression$1,
61087
- } = types$E;
61083
+ } = types$F;
61088
61084
 
61089
61085
  isInsideAssignNextAssignFunction.isInsideAssignNextAssignFunction = (path) => {
61090
61086
  const {expression} = path.node;
@@ -61113,14 +61109,14 @@ isInsideAssignNextAssignFunction.isInsideAssignNextAssignFunction = (path) => {
61113
61109
 
61114
61110
  var expressionStatementComments = {};
61115
61111
 
61116
- const {types: types$D} = bundle$1;
61112
+ const {types: types$E} = bundle$1;
61117
61113
  const {hasTrailingComment: hasTrailingComment$1} = is$4;
61118
61114
 
61119
61115
  const {
61120
61116
  isBlockStatement: isBlockStatement$5,
61121
61117
  isProgram: isProgram$5,
61122
61118
  isIfStatement: isIfStatement$1,
61123
- } = types$D;
61119
+ } = types$E;
61124
61120
 
61125
61121
  expressionStatementComments.printLeadingCommentLine = (path, printer, semantics, {index, isLast, printComment}) => {
61126
61122
  const {print, indent} = printer;
@@ -61376,7 +61372,7 @@ maybeSpaceAfterKeyword$3.maybeSpaceAfterKeyword = (path, {write}) => {
61376
61372
  write(' ');
61377
61373
  };
61378
61374
 
61379
- const {types: types$C} = bundle$1;
61375
+ const {types: types$D} = bundle$1;
61380
61376
  const {
61381
61377
  isNext: isNext$i,
61382
61378
  isCoupleLines: isCoupleLines$3,
@@ -61392,7 +61388,7 @@ const {isConcatenation} = concatenate$1;
61392
61388
  const {parseLeadingComments: parseLeadingComments$2} = comment;
61393
61389
  const {maybeDeclare: maybeDeclare$4} = maybeDeclare$6;
61394
61390
 
61395
- const {isExportDeclaration: isExportDeclaration$4} = types$C;
61391
+ const {isExportDeclaration: isExportDeclaration$4} = types$D;
61396
61392
 
61397
61393
  const isParentTSModuleBlock = (path) => path.parentPath.isTSModuleBlock();
61398
61394
  const isParentBlock$2 = (path) => /Program|BlockStatement|Export|LabeledStatement/.test(path.parentPath.type);
@@ -61592,7 +61588,7 @@ const isNextAssign = (path) => {
61592
61588
 
61593
61589
  var ifStatement$1 = {};
61594
61590
 
61595
- const {types: types$B} = bundle$1;
61591
+ const {types: types$C} = bundle$1;
61596
61592
 
61597
61593
  const {markAfter: markAfter$8} = mark;
61598
61594
  const {
@@ -61605,7 +61601,7 @@ const {
61605
61601
  isBlockStatement: isBlockStatement$4,
61606
61602
  isFunctionDeclaration: isFunctionDeclaration$2,
61607
61603
  isStatement: isStatement$6,
61608
- } = types$B;
61604
+ } = types$C;
61609
61605
 
61610
61606
  const isTopLevel = ({parentPath}) => parentPath.parentPath.isProgram();
61611
61607
  const isEmptyConsequent = (path) => path.get('consequent').isEmptyStatement();
@@ -61802,14 +61798,14 @@ getDirectives$2.getDirectives = (path) => !path.node.directives ? [] : path.get(
61802
61798
 
61803
61799
  var isCallInsideChain$1 = {};
61804
61800
 
61805
- const {types: types$A} = bundle$1;
61801
+ const {types: types$B} = bundle$1;
61806
61802
  const {isLooksLikeChain} = isLooksLikeChain$4;
61807
61803
  const {
61808
61804
  isReturnStatement: isReturnStatement$1,
61809
61805
  isExpressionStatement: isExpressionStatement$2,
61810
61806
  isMemberExpression: isMemberExpression$4,
61811
61807
  isCallExpression: isCallExpression$5,
61812
- } = types$A;
61808
+ } = types$B;
61813
61809
 
61814
61810
  isCallInsideChain$1.isCallInsideChain = (path) => {
61815
61811
  if (!isCallExpression$5(path.parentPath.parentPath))
@@ -61849,7 +61845,7 @@ function isTopCall(path) {
61849
61845
  return isExpressionStatement$2(parentPath);
61850
61846
  }
61851
61847
 
61852
- const {types: types$z} = bundle$1;
61848
+ const {types: types$A} = bundle$1;
61853
61849
  const {
61854
61850
  isNext: isNext$f,
61855
61851
  isParentProgram,
@@ -61872,7 +61868,7 @@ const {
61872
61868
  isDoWhileStatement: isDoWhileStatement$1,
61873
61869
  isBlockStatement: isBlockStatement$3,
61874
61870
  isArrayExpression: isArrayExpression$2,
61875
- } = types$z;
61871
+ } = types$A;
61876
61872
 
61877
61873
  const isFirstStatement = (path) => path.node.body[0];
61878
61874
  const isFirstDirective = (path) => path.node.directives?.[0];
@@ -62077,7 +62073,7 @@ maybeSpaceAfterKeyword$1.maybeSpaceAfterKeyword = (path, {print}, semantics) =>
62077
62073
  print(' ');
62078
62074
  };
62079
62075
 
62080
- const {types: types$y} = bundle$1;
62076
+ const {types: types$z} = bundle$1;
62081
62077
 
62082
62078
  const {isInsideLabel: isInsideLabel$3} = is$4;
62083
62079
  const {
@@ -62089,7 +62085,7 @@ const {
62089
62085
  const {hasPrevNewline: hasPrevNewline$1} = mark;
62090
62086
  const {maybeSpaceAfterKeyword} = maybeSpaceAfterKeyword$1;
62091
62087
 
62092
- const {isJSXElement: isJSXElement$3} = types$y;
62088
+ const {isJSXElement: isJSXElement$4} = types$z;
62093
62089
  const isBodyLength = ({parentPath}) => parentPath.node?.body?.length > 2;
62094
62090
 
62095
62091
  const isInsideIfWithElse = ({parentPath}) => parentPath.isIfStatement() && parentPath.node.alternate;
@@ -62144,7 +62140,7 @@ function isJSXWithComment(path) {
62144
62140
 
62145
62141
  const {leadingComments} = arg;
62146
62142
 
62147
- return isJSXElement$3(arg) && leadingComments?.length;
62143
+ return isJSXElement$4(arg) && leadingComments?.length;
62148
62144
  }
62149
62145
 
62150
62146
  var tryStatements = {};
@@ -62344,8 +62340,8 @@ function printAttributes(path, keyword, {write, traverse, indent}) {
62344
62340
 
62345
62341
  var importDeclarationComments = {};
62346
62342
 
62347
- const {types: types$x} = bundle$1;
62348
- const {isExportDeclaration: isExportDeclaration$2} = types$x;
62343
+ const {types: types$y} = bundle$1;
62344
+ const {isExportDeclaration: isExportDeclaration$2} = types$y;
62349
62345
 
62350
62346
  importDeclarationComments.printTrailingCommentLine = (path, printer, semantics, {printComment}) => {
62351
62347
  const {print} = printer;
@@ -62509,7 +62505,7 @@ importDeclarationExports.default;
62509
62505
 
62510
62506
  var exportDeclaration = {};
62511
62507
 
62512
- const {types: types$w} = bundle$1;
62508
+ const {types: types$x} = bundle$1;
62513
62509
 
62514
62510
  const {isParentBlock: isParentBlock$1} = is$4;
62515
62511
  const {
@@ -62529,7 +62525,7 @@ const {
62529
62525
  isExportNamespaceSpecifier: isExportNamespaceSpecifier$1,
62530
62526
  isVariableDeclaration: isVariableDeclaration$4,
62531
62527
  isExportNamedDeclaration: isExportNamedDeclaration$3,
62532
- } = types$w;
62528
+ } = types$x;
62533
62529
 
62534
62530
  const isDeclarationNewline = (path) => isMarkedAfter(path.get('declaration'));
62535
62531
  const isInsideNamespace$1 = (path) => path.parentPath.isTSModuleBlock();
@@ -62813,13 +62809,13 @@ forInStatement$1.ForInStatement = (path, {print, indent}) => {
62813
62809
 
62814
62810
  var exportDefaultDeclaration$1 = {};
62815
62811
 
62816
- const {types: types$v} = bundle$1;
62812
+ const {types: types$w} = bundle$1;
62817
62813
  const {isNext: isNext$9} = is$4;
62818
62814
 
62819
62815
  const {
62820
62816
  isVariableDeclaration: isVariableDeclaration$3,
62821
62817
  isFunction: isFunction$3,
62822
- } = types$v;
62818
+ } = types$w;
62823
62819
 
62824
62820
  function shouldAddSemicolon(path) {
62825
62821
  if (path.isClassDeclaration())
@@ -63343,8 +63339,8 @@ tsTypeAliasDeclaration$1.TSTypeAliasDeclaration = {
63343
63339
 
63344
63340
  var tsMappedType$1 = {};
63345
63341
 
63346
- const {types: types$u} = bundle$1;
63347
- const {isTSConditionalType: isTSConditionalType$1} = types$u;
63342
+ const {types: types$v} = bundle$1;
63343
+ const {isTSConditionalType: isTSConditionalType$1} = types$v;
63348
63344
 
63349
63345
  tsMappedType$1.TSMappedType = (path, {print, indent, maybe}) => {
63350
63346
  const {
@@ -63571,7 +63567,7 @@ tsModuleDeclaration$1.TSModuleBlock = (path, {print, traverse, indent}) => {
63571
63567
 
63572
63568
  var tsInterfaceDeclaration$1 = {};
63573
63569
 
63574
- const {types: types$t} = bundle$1;
63570
+ const {types: types$u} = bundle$1;
63575
63571
 
63576
63572
  const {isNext: isNext$5, isNextParent: isNextParent$1} = is$4;
63577
63573
  const {maybeDeclare} = maybeDeclare$6;
@@ -63581,7 +63577,7 @@ const {
63581
63577
  isTSTypeAliasDeclaration: isTSTypeAliasDeclaration$1,
63582
63578
  isExportNamedDeclaration: isExportNamedDeclaration$2,
63583
63579
  isTSModuleBlock: isTSModuleBlock$2,
63584
- } = types$t;
63580
+ } = types$u;
63585
63581
 
63586
63582
  const isInsideNamespace = (path) => isTSModuleBlock$2(path.parentPath.parentPath);
63587
63583
 
@@ -63623,13 +63619,13 @@ tsInterfaceDeclaration$1.TSInterfaceDeclaration = {
63623
63619
 
63624
63620
  var tsAsExpression$1 = {};
63625
63621
 
63626
- const {types: types$s} = bundle$1;
63622
+ const {types: types$t} = bundle$1;
63627
63623
  const {maybeParens: maybeParens$4} = maybeParens$e;
63628
63624
 
63629
63625
  const {
63630
63626
  isVariableDeclarator: isVariableDeclarator$1,
63631
63627
  isObjectExpression: isObjectExpression$2,
63632
- } = types$s;
63628
+ } = types$t;
63633
63629
 
63634
63630
  tsAsExpression$1.TSAsExpression = maybeParens$4((path, {print, maybe}) => {
63635
63631
  const is = isParens(path);
@@ -64360,8 +64356,8 @@ var typescript$3 = {
64360
64356
 
64361
64357
  var jsxElement$1 = {};
64362
64358
 
64363
- const {types: types$r} = bundle$1;
64364
- const {isJSXElement: isJSXElement$2} = types$r;
64359
+ const {types: types$s} = bundle$1;
64360
+ const {isJSXElement: isJSXElement$3} = types$s;
64365
64361
  const isInsideArrow = ({parentPath}) => parentPath.isArrowFunctionExpression();
64366
64362
 
64367
64363
  jsxElement$1.JSXElement = {
@@ -64391,7 +64387,7 @@ jsxElement$1.JSXElement = {
64391
64387
  },
64392
64388
  after(path, {write, indent, maybe}) {
64393
64389
  const {leadingComments} = path.node;
64394
- const isJSX = isJSXElement$2(path.parentPath.parentPath?.parentPath?.parentPath);
64390
+ const isJSX = isJSXElement$3(path.parentPath.parentPath?.parentPath?.parentPath);
64395
64391
 
64396
64392
  if (isJSX) {
64397
64393
  write.breakline();
@@ -64584,7 +64580,7 @@ const fragments = jsxFragment$1;
64584
64580
  const {JSXText: JSXText$1} = jsxText$1;
64585
64581
  const {parseComments} = comment;
64586
64582
 
64587
- var jsx$2 = {
64583
+ var jsx$3 = {
64588
64584
  ...fragments,
64589
64585
  JSXElement: JSXElement$1,
64590
64586
  JSXAttribute: JSXAttribute$1,
@@ -64627,14 +64623,14 @@ const expressions$1 = expressions$2;
64627
64623
  const statements$3 = statements$4;
64628
64624
  const literals = literals$1;
64629
64625
  const typescript$2 = typescript$3;
64630
- const jsx$1 = jsx$2;
64626
+ const jsx$2 = jsx$3;
64631
64627
 
64632
64628
  var visitors$2 = {
64633
64629
  ...expressions$1,
64634
64630
  ...statements$3,
64635
64631
  ...literals,
64636
64632
  ...typescript$2,
64637
- ...jsx$1,
64633
+ ...jsx$2,
64638
64634
  };
64639
64635
 
64640
64636
  visitors$2.default;
@@ -64727,7 +64723,7 @@ const createIf = (getConditions) => {
64727
64723
 
64728
64724
  const rendy = rendy$1;
64729
64725
 
64730
- const {types: types$q} = bundle$1;
64726
+ const {types: types$r} = bundle$1;
64731
64727
  const maybeSatisfy = satisfy_1;
64732
64728
 
64733
64729
  const {
@@ -64737,7 +64733,7 @@ const {
64737
64733
  expressionStatement: expressionStatement$4,
64738
64734
  program: program$2,
64739
64735
  file: file$1,
64740
- } = types$q;
64736
+ } = types$r;
64741
64737
 
64742
64738
  const isFn$5 = (a) => typeof a === 'function';
64743
64739
 
@@ -64822,7 +64818,7 @@ function snakeCase(str) {
64822
64818
  const process$1 = require$$0$3;
64823
64819
  const toSnakeCase = justSnakeCase;
64824
64820
  const {codeFrameColumns: codeFrameColumns$2} = bundle$1;
64825
- const {TYPES: TYPES$3} = types$16;
64821
+ const {TYPES: TYPES$3} = types$17;
64826
64822
 
64827
64823
  const {stringify: stringify$7} = JSON;
64828
64824
  const {
@@ -65009,7 +65005,7 @@ const initSemantics = (format, semantics = {}) => ({
65009
65005
  const fullstore$2 = fullstore$3;
65010
65006
 
65011
65007
  const babelTraverse$2 = bundle$1.traverse;
65012
- const {TYPES: TYPES$2} = types$16;
65008
+ const {TYPES: TYPES$2} = types$17;
65013
65009
  const baseVisitors = visitors$2;
65014
65010
 
65015
65011
  const {
@@ -65411,13 +65407,13 @@ json.isJSON = (source) => {
65411
65407
  return false;
65412
65408
  };
65413
65409
 
65414
- const {types: types$p} = bundle$1;
65410
+ const {types: types$q} = bundle$1;
65415
65411
  const {isJSON} = json;
65416
65412
 
65417
65413
  const {
65418
65414
  isCallExpression: isCallExpression$4,
65419
65415
  isIdentifier: isIdentifier$7,
65420
- } = types$p;
65416
+ } = types$q;
65421
65417
 
65422
65418
  json$1.maybeJSON = (ast, overrides) => {
65423
65419
  if (isASTJSON(ast))
@@ -71078,7 +71074,7 @@ __export(lib_exports, {
71078
71074
  isJSXAttribute: () => isJSXAttribute$2,
71079
71075
  isJSXClosingElement: () => isJSXClosingElement,
71080
71076
  isJSXClosingFragment: () => isJSXClosingFragment,
71081
- isJSXElement: () => isJSXElement$1,
71077
+ isJSXElement: () => isJSXElement$2,
71082
71078
  isJSXEmptyExpression: () => isJSXEmptyExpression,
71083
71079
  isJSXExpressionContainer: () => isJSXExpressionContainer,
71084
71080
  isJSXFragment: () => isJSXFragment,
@@ -72613,7 +72609,7 @@ function isJSXClosingElement(node, opts) {
72613
72609
  if (node.type !== "JSXClosingElement") return false;
72614
72610
  return opts == null || shallowEqual(node, opts);
72615
72611
  }
72616
- function isJSXElement$1(node, opts) {
72612
+ function isJSXElement$2(node, opts) {
72617
72613
  if (!node) return false;
72618
72614
  if (node.type !== "JSXElement") return false;
72619
72615
  return opts == null || shallowEqual(node, opts);
@@ -82984,7 +82980,7 @@ var TokContext = class {
82984
82980
  this.preserveSpace = !!preserveSpace;
82985
82981
  }
82986
82982
  };
82987
- var types$o = {
82983
+ var types$p = {
82988
82984
  brace: new TokContext("{"),
82989
82985
  j_oTag: new TokContext("<tag"),
82990
82986
  j_cTag: new TokContext("</tag"),
@@ -84078,7 +84074,7 @@ var State$2 = class _State {
84078
84074
  __publicField(this, "end", 0);
84079
84075
  __publicField(this, "lastTokEndLoc", null);
84080
84076
  __publicField(this, "lastTokStartLoc", null);
84081
- __publicField(this, "context", [types$o.brace]);
84077
+ __publicField(this, "context", [types$p.brace]);
84082
84078
  __publicField(this, "firstInvalidTemplateEscapePos", null);
84083
84079
  __publicField(this, "strictErrors", /* @__PURE__ */ new Map());
84084
84080
  __publicField(this, "tokensLength", 0);
@@ -86508,7 +86504,7 @@ var flow = (superClass) => class FlowParserMixin extends superClass {
86508
86504
  return this.finishNode(node, "TypeParameterDeclaration");
86509
86505
  }
86510
86506
  flowInTopLevelContext(cb) {
86511
- if (this.curContext() !== types$o.brace) {
86507
+ if (this.curContext() !== types$p.brace) {
86512
86508
  const oldContext = this.state.context;
86513
86509
  this.state.context = [oldContext[0]];
86514
86510
  try {
@@ -86542,7 +86538,7 @@ var flow = (superClass) => class FlowParserMixin extends superClass {
86542
86538
  this.state.noAnonFunctionType = oldNoAnonFunctionType;
86543
86539
  });
86544
86540
  this.state.inType = oldInType;
86545
- if (!this.state.inType && this.curContext() === types$o.brace) {
86541
+ if (!this.state.inType && this.curContext() === types$p.brace) {
86546
86542
  this.reScan_lt_gt();
86547
86543
  }
86548
86544
  this.expect(48);
@@ -87809,7 +87805,7 @@ var flow = (superClass) => class FlowParserMixin extends superClass {
87809
87805
  context
87810
87806
  } = this.state;
87811
87807
  const currentContext = context[context.length - 1];
87812
- if (currentContext === types$o.j_oTag || currentContext === types$o.j_expr) {
87808
+ if (currentContext === types$p.j_oTag || currentContext === types$p.j_expr) {
87813
87809
  context.pop();
87814
87810
  }
87815
87811
  }
@@ -88686,7 +88682,7 @@ function getQualifiedJSXName(object) {
88686
88682
  }
88687
88683
  throw new Error("Node had unexpected type: " + object.type);
88688
88684
  }
88689
- var jsx = (superClass) => class JSXParserMixin extends superClass {
88685
+ var jsx$1 = (superClass) => class JSXParserMixin extends superClass {
88690
88686
  jsxReadToken() {
88691
88687
  let out = "";
88692
88688
  let chunkStart = this.state.pos;
@@ -88851,9 +88847,9 @@ var jsx = (superClass) => class JSXParserMixin extends superClass {
88851
88847
  switch (this.state.type) {
88852
88848
  case 5:
88853
88849
  node = this.startNode();
88854
- this.setContext(types$o.brace);
88850
+ this.setContext(types$p.brace);
88855
88851
  this.next();
88856
- node = this.jsxParseExpressionContainer(node, types$o.j_oTag);
88852
+ node = this.jsxParseExpressionContainer(node, types$p.j_oTag);
88857
88853
  if (node.expression.type === "JSXEmptyExpression") {
88858
88854
  this.raise(JsxErrors.AttributeIsEmpty, node);
88859
88855
  }
@@ -88872,7 +88868,7 @@ var jsx = (superClass) => class JSXParserMixin extends superClass {
88872
88868
  jsxParseSpreadChild(node) {
88873
88869
  this.next();
88874
88870
  node.expression = this.parseExpression();
88875
- this.setContext(types$o.j_expr);
88871
+ this.setContext(types$p.j_expr);
88876
88872
  this.state.canStartJSXElement = true;
88877
88873
  this.expect(8);
88878
88874
  return this.finishNode(node, "JSXSpreadChild");
@@ -88898,11 +88894,11 @@ var jsx = (superClass) => class JSXParserMixin extends superClass {
88898
88894
  jsxParseAttribute() {
88899
88895
  const node = this.startNode();
88900
88896
  if (this.match(5)) {
88901
- this.setContext(types$o.brace);
88897
+ this.setContext(types$p.brace);
88902
88898
  this.next();
88903
88899
  this.expect(21);
88904
88900
  node.argument = this.parseMaybeAssignAllowIn();
88905
- this.setContext(types$o.j_oTag);
88901
+ this.setContext(types$p.j_oTag);
88906
88902
  this.state.canStartJSXElement = true;
88907
88903
  this.expect(8);
88908
88904
  return this.finishNode(node, "JSXSpreadAttribute");
@@ -88960,12 +88956,12 @@ var jsx = (superClass) => class JSXParserMixin extends superClass {
88960
88956
  break;
88961
88957
  case 5: {
88962
88958
  const node2 = this.startNode();
88963
- this.setContext(types$o.brace);
88959
+ this.setContext(types$p.brace);
88964
88960
  this.next();
88965
88961
  if (this.match(21)) {
88966
88962
  children.push(this.jsxParseSpreadChild(node2));
88967
88963
  } else {
88968
- children.push(this.jsxParseExpressionContainer(node2, types$o.j_expr));
88964
+ children.push(this.jsxParseExpressionContainer(node2, types$p.j_expr));
88969
88965
  }
88970
88966
  break;
88971
88967
  }
@@ -89027,11 +89023,11 @@ var jsx = (superClass) => class JSXParserMixin extends superClass {
89027
89023
  }
89028
89024
  getTokenFromCode(code2) {
89029
89025
  const context = this.curContext();
89030
- if (context === types$o.j_expr) {
89026
+ if (context === types$p.j_expr) {
89031
89027
  this.jsxReadToken();
89032
89028
  return;
89033
89029
  }
89034
- if (context === types$o.j_oTag || context === types$o.j_cTag) {
89030
+ if (context === types$p.j_oTag || context === types$p.j_cTag) {
89035
89031
  if (isIdentifierStart2(code2)) {
89036
89032
  this.jsxReadWord();
89037
89033
  return;
@@ -89041,7 +89037,7 @@ var jsx = (superClass) => class JSXParserMixin extends superClass {
89041
89037
  this.finishToken(144);
89042
89038
  return;
89043
89039
  }
89044
- if ((code2 === 34 || code2 === 39) && context === types$o.j_oTag) {
89040
+ if ((code2 === 34 || code2 === 39) && context === types$p.j_oTag) {
89045
89041
  this.jsxReadString(code2);
89046
89042
  return;
89047
89043
  }
@@ -89059,17 +89055,17 @@ var jsx = (superClass) => class JSXParserMixin extends superClass {
89059
89055
  type
89060
89056
  } = this.state;
89061
89057
  if (type === 56 && prevType === 143) {
89062
- context.splice(-2, 2, types$o.j_cTag);
89058
+ context.splice(-2, 2, types$p.j_cTag);
89063
89059
  this.state.canStartJSXElement = false;
89064
89060
  } else if (type === 143) {
89065
- context.push(types$o.j_oTag);
89061
+ context.push(types$p.j_oTag);
89066
89062
  } else if (type === 144) {
89067
89063
  const out = context[context.length - 1];
89068
- if (out === types$o.j_oTag && prevType === 56 || out === types$o.j_cTag) {
89064
+ if (out === types$p.j_oTag && prevType === 56 || out === types$p.j_cTag) {
89069
89065
  context.pop();
89070
- this.state.canStartJSXElement = context[context.length - 1] === types$o.j_expr;
89066
+ this.state.canStartJSXElement = context[context.length - 1] === types$p.j_expr;
89071
89067
  } else {
89072
- this.setContext(types$o.j_expr);
89068
+ this.setContext(types$p.j_expr);
89073
89069
  this.state.canStartJSXElement = true;
89074
89070
  }
89075
89071
  } else {
@@ -90799,7 +90795,7 @@ var typescript$1 = (superClass) => class TypeScriptParserMixin extends superClas
90799
90795
  return this.finishNode(node, "TSTypeAliasDeclaration");
90800
90796
  }
90801
90797
  tsInTopLevelContext(cb) {
90802
- if (this.curContext() !== types$o.brace) {
90798
+ if (this.curContext() !== types$p.brace) {
90803
90799
  const oldContext = this.state.context;
90804
90800
  this.state.context = [oldContext[0]];
90805
90801
  try {
@@ -91117,7 +91113,7 @@ var typescript$1 = (superClass) => class TypeScriptParserMixin extends superClas
91117
91113
  }));
91118
91114
  if (node.params.length === 0) {
91119
91115
  this.raise(TSErrors.EmptyTypeArguments, node);
91120
- } else if (!this.state.inType && this.curContext() === types$o.brace) {
91116
+ } else if (!this.state.inType && this.curContext() === types$p.brace) {
91121
91117
  this.reScan_lt_gt();
91122
91118
  }
91123
91119
  this.expect(48);
@@ -91736,7 +91732,7 @@ var typescript$1 = (superClass) => class TypeScriptParserMixin extends superClas
91736
91732
  context
91737
91733
  } = this.state;
91738
91734
  const currentContext = context[context.length - 1];
91739
- if (currentContext === types$o.j_oTag || currentContext === types$o.j_expr) {
91735
+ if (currentContext === types$p.j_oTag || currentContext === types$p.j_expr) {
91740
91736
  context.pop();
91741
91737
  }
91742
91738
  }
@@ -92545,7 +92541,7 @@ function validatePlugins(pluginsMap) {
92545
92541
  }
92546
92542
  var mixinPlugins = {
92547
92543
  estree,
92548
- jsx,
92544
+ jsx: jsx$1,
92549
92545
  flow,
92550
92546
  typescript: typescript$1,
92551
92547
  v8intrinsic,
@@ -107481,11 +107477,11 @@ traverse3.cache = cache;
107481
107477
 
107482
107478
  bundle.default;
107483
107479
 
107484
- const {types: types$n} = bundle;
107480
+ const {types: types$o} = bundle;
107485
107481
  const {
107486
107482
  isFunctionExpression,
107487
107483
  ObjectMethod,
107488
- } = types$n;
107484
+ } = types$o;
107489
107485
 
107490
107486
  const {assign: assign$8} = Object;
107491
107487
 
@@ -107523,13 +107519,13 @@ function getObjectMethodLoc(key, value) {
107523
107519
  return null;
107524
107520
  }
107525
107521
 
107526
- const {types: types$m} = bundle;
107522
+ const {types: types$n} = bundle;
107527
107523
  const {
107528
107524
  classPrivateMethod,
107529
107525
  classMethod,
107530
107526
  PrivateName,
107531
107527
  Identifier: Identifier$1,
107532
- } = types$m;
107528
+ } = types$n;
107533
107529
 
107534
107530
  const {assign: assign$7} = Object;
107535
107531
 
@@ -107585,8 +107581,8 @@ var setClassPrivateProperty$1 = (path) => {
107585
107581
  path.node.type = 'ClassPrivateProperty';
107586
107582
  };
107587
107583
 
107588
- const {types: types$l} = bundle;
107589
- const {Identifier} = types$l;
107584
+ const {types: types$m} = bundle;
107585
+ const {Identifier} = types$m;
107590
107586
 
107591
107587
  // acorn stores name in PrivateName.name
107592
107588
  // babel stores name in PrivateName.id.name
@@ -107605,11 +107601,11 @@ var setClassPrivateName$1 = ({node}) => {
107605
107601
  delete node.name;
107606
107602
  };
107607
107603
 
107608
- const {types: types$k} = bundle;
107604
+ const {types: types$l} = bundle;
107609
107605
  const {
107610
107606
  Directive,
107611
107607
  DirectiveLiteral,
107612
- } = types$k;
107608
+ } = types$l;
107613
107609
 
107614
107610
  var setDirectives$1 = (path) => {
107615
107611
  const {node} = path;
@@ -107891,7 +107887,7 @@ const createPrivateName = (node) => ({
107891
107887
  loc: node.loc,
107892
107888
  });
107893
107889
 
107894
- const {traverse: traverse$8, types: types$j} = bundle;
107890
+ const {traverse: traverse$8, types: types$k} = bundle;
107895
107891
  const traverseObjectExpression = traverseObjectExpression$1;
107896
107892
  const setClassMethod = setClassMethod$1;
107897
107893
  const setClassPrivateProperty = setClassPrivateProperty$1;
@@ -107916,7 +107912,7 @@ const {
107916
107912
  const {
107917
107913
  isObjectExpression,
107918
107914
  isExportDeclaration,
107919
- } = types$j;
107915
+ } = types$k;
107920
107916
 
107921
107917
  const defaultOptions$5 = {
107922
107918
  convertParens: true,
@@ -117043,10 +117039,10 @@ var esprima$1 = /*#__PURE__*/Object.freeze({
117043
117039
  default: noop$3
117044
117040
  });
117045
117041
 
117046
- var require$$1$1 = /*@__PURE__*/getAugmentedNamespace(esprima$1);
117042
+ var require$$1$2 = /*@__PURE__*/getAugmentedNamespace(esprima$1);
117047
117043
 
117048
117044
  const once$4 = onceExports;
117049
- const initEsprima = once$4(() => require$$1$1);
117045
+ const initEsprima = once$4(() => require$$1$2);
117050
117046
 
117051
117047
  esprima$2.parse = function esprimaParse(source) {
117052
117048
  const {parse} = initEsprima();
@@ -125681,10 +125677,10 @@ var tenko_prod = /*#__PURE__*/Object.freeze({
125681
125677
  toktypeToString: toktypeToString
125682
125678
  });
125683
125679
 
125684
- var require$$1 = /*@__PURE__*/getAugmentedNamespace(tenko_prod);
125680
+ var require$$1$1 = /*@__PURE__*/getAugmentedNamespace(tenko_prod);
125685
125681
 
125686
125682
  const once$3 = onceExports;
125687
- const initTenko = once$3(() => require$$1);
125683
+ const initTenko = once$3(() => require$$1$1);
125688
125684
 
125689
125685
  tenko$1.parse = (source) => {
125690
125686
  const {Tenko} = initTenko();
@@ -136285,6 +136281,15 @@ var loadPlugins$2 = {};
136285
136281
 
136286
136282
  var load = {};
136287
136283
 
136284
+ var _polyfillNode_module = {};
136285
+
136286
+ var _polyfillNode_module$1 = /*#__PURE__*/Object.freeze({
136287
+ __proto__: null,
136288
+ default: _polyfillNode_module
136289
+ });
136290
+
136291
+ var require$$1 = /*@__PURE__*/getAugmentedNamespace(_polyfillNode_module$1);
136292
+
136288
136293
  var hasRequiredLoad;
136289
136294
 
136290
136295
  function requireLoad () {
@@ -136292,7 +136297,7 @@ function requireLoad () {
136292
136297
  hasRequiredLoad = 1;
136293
136298
 
136294
136299
  const process = require$$0$3;
136295
- const {createRequire} = require$$1$2;
136300
+ const {createRequire} = require$$1;
136296
136301
  const {join} = require$$0$1;
136297
136302
  const tryCatch = tryCatch$7;
136298
136303
  const once = onceExports;
@@ -137680,7 +137685,7 @@ function getStore(plugin, {fix, rule, shebang, msg, options}) {
137680
137685
 
137681
137686
  mergeVisitors$1.default;
137682
137687
 
137683
- const {traverse: babelTraverse$1, types: types$i} = bundle$1;
137688
+ const {traverse: babelTraverse$1, types: types$j} = bundle$1;
137684
137689
 
137685
137690
  const {generate: generate$1} = parser$5;
137686
137691
  const {merge: merge$1} = babelTraverse$1.visitors;
@@ -137700,7 +137705,7 @@ var superFind$1 = function superFind({rule, find, ast, options, template, traver
137700
137705
  traverse,
137701
137706
  }),
137702
137707
  generate: generate$1,
137703
- types: types$i,
137708
+ types: types$j,
137704
137709
  push,
137705
137710
  options,
137706
137711
  });
@@ -137840,7 +137845,7 @@ prepareBodyWay$1.prepareBodyWay = (way) => {
137840
137845
  var is$2 = {};
137841
137846
 
137842
137847
  const {template: template$7} = parser$5;
137843
- const {types: types$h} = bundle$1;
137848
+ const {types: types$i} = bundle$1;
137844
137849
  const {
137845
137850
  isBlockStatement: isBlockStatement$1,
137846
137851
  isTSModuleBlock,
@@ -137857,7 +137862,7 @@ const {
137857
137862
  isJSXAttribute: isJSXAttribute$1,
137858
137863
  isTSTypeReference: isTSTypeReference$1,
137859
137864
  isTSTypeParameterDeclaration,
137860
- } = types$h;
137865
+ } = types$i;
137861
137866
 
137862
137867
  const isStr$1 = (a) => typeof a === 'string';
137863
137868
 
@@ -138206,7 +138211,7 @@ is$2.isInsideTypeParameter = (path) => path.isIdentifier() && path.parentPath?.i
138206
138211
 
138207
138212
  const jessy = jessy$1;
138208
138213
  const nessy = nessy$1;
138209
- const {traverse: traverse$6, types: types$g} = bundle$1;
138214
+ const {traverse: traverse$6, types: types$h} = bundle$1;
138210
138215
  const {template: template$6} = parser$5;
138211
138216
 
138212
138217
  const {replaceWith: replaceWith$3, extract} = operate;
@@ -138228,12 +138233,12 @@ const {
138228
138233
  const {
138229
138234
  isIdentifier: isIdentifier$3,
138230
138235
  isStatement: isStatement$1,
138231
- isJSXElement,
138236
+ isJSXElement: isJSXElement$1,
138232
138237
  isJSXAttribute,
138233
138238
  isStringLiteral: isStringLiteral$3,
138234
138239
  isTemplateLiteral: isTemplateLiteral$1,
138235
138240
  templateElement,
138236
- } = types$g;
138241
+ } = types$h;
138237
138242
 
138238
138243
  const {extractExpression: extractExpression$1} = template$6;
138239
138244
 
@@ -138318,7 +138323,7 @@ function getValues$2({waysFrom, node}) {
138318
138323
  else if (isArgsStr(name) || isJSXChildrenStr(name) || isJSXAttributesStr(name) || isTypeParamsStr(name))
138319
138324
  way = way.replace(/\.0$/, '');
138320
138325
 
138321
- if (!isJSXElement(node))
138326
+ if (!isJSXElement$1(node))
138322
138327
  way = way.replace(/\.expression$/, '');
138323
138328
 
138324
138329
  if (isBodyStr(name))
@@ -138432,7 +138437,7 @@ var logExports = log$5.exports;
138432
138437
 
138433
138438
  var link$1 = {exports: {}};
138434
138439
 
138435
- const {types: types$f} = bundle$1;
138440
+ const {types: types$g} = bundle$1;
138436
138441
  const {
138437
138442
  isIdentifier: isIdentifier$2,
138438
138443
  isLiteral,
@@ -138441,7 +138446,7 @@ const {
138441
138446
  isTSTypeReference,
138442
138447
  isJSXText: isJSXText$1,
138443
138448
  isJSXIdentifier,
138444
- } = types$f;
138449
+ } = types$g;
138445
138450
 
138446
138451
  const parseName = (node) => {
138447
138452
  node = node[0] || node;
@@ -138502,11 +138507,11 @@ comparePrimitives$2.comparePrimitives = (node, template) => {
138502
138507
  return isPrimitive(template) && !is(template) && template === node;
138503
138508
  };
138504
138509
 
138505
- const {types: types$e} = bundle$1;
138510
+ const {types: types$f} = bundle$1;
138506
138511
  const {isObject: isObject$3, isArrays: isArrays$1} = is$2;
138507
138512
  const {comparePrimitives: comparePrimitives$1} = comparePrimitives$2;
138508
138513
 
138509
- const {isIdentifier: isIdentifier$1} = types$e;
138514
+ const {isIdentifier: isIdentifier$1} = types$f;
138510
138515
 
138511
138516
  comparePlain$1.comparePlain = (node, template, {add}) => {
138512
138517
  if (!node && node === template)
@@ -138534,7 +138539,7 @@ comparePlain$1.comparePlain = (node, template, {add}) => {
138534
138539
  return false;
138535
138540
  };
138536
138541
 
138537
- const {types: types$d} = bundle$1;
138542
+ const {types: types$e} = bundle$1;
138538
138543
 
138539
138544
  const log$4 = logExports;
138540
138545
  const link = linkExports;
@@ -138572,7 +138577,7 @@ const {
138572
138577
  isBlock,
138573
138578
  isJSXText,
138574
138579
  isTemplateElement,
138575
- } = types$d;
138580
+ } = types$e;
138576
138581
 
138577
138582
  const isEmptyBlock = (a) => isBlock(a) && !a.body.length;
138578
138583
 
@@ -138687,7 +138692,7 @@ function compareJSXTexts(node, template) {
138687
138692
 
138688
138693
  var topLevelComparators = {};
138689
138694
 
138690
- const {types: types$c} = bundle$1;
138695
+ const {types: types$d} = bundle$1;
138691
138696
  const {
138692
138697
  isEqualBody,
138693
138698
  isEqualAnyObject,
@@ -138701,7 +138706,7 @@ const {
138701
138706
  const {
138702
138707
  isIdentifier,
138703
138708
  isStringLiteral: isStringLiteral$1,
138704
- } = types$c;
138709
+ } = types$d;
138705
138710
 
138706
138711
  const comparators = [
138707
138712
  isEqualAnyObject,
@@ -139694,10 +139699,10 @@ function findKey(path, parent) {
139694
139699
 
139695
139700
  const wraptile = wraptile$1;
139696
139701
 
139697
- const {types: types$b} = bundle$1;
139702
+ const {types: types$c} = bundle$1;
139698
139703
  const findPath = findPath$1;
139699
139704
 
139700
- const {isProgram: isProgram$2} = types$b;
139705
+ const {isProgram: isProgram$2} = types$c;
139701
139706
  const name = '__putout_runner_replace';
139702
139707
  const hasWatermark = (watermark) => (path) => path.node?.[name]?.has(watermark);
139703
139708
 
@@ -139765,7 +139770,7 @@ var watermarkExports = watermark$1.exports;
139765
139770
 
139766
139771
  const {template: template$4, print: print$2} = parser$5;
139767
139772
  const {remove, replaceWith: replaceWith$2} = operate;
139768
- const {types: types$a} = bundle$1;
139773
+ const {types: types$b} = bundle$1;
139769
139774
 
139770
139775
  const {
139771
139776
  compare: compare$3,
@@ -139787,7 +139792,7 @@ const {
139787
139792
  isExpression,
139788
139793
  isStatement,
139789
139794
  isExpressionStatement,
139790
- } = types$a;
139795
+ } = types$b;
139791
139796
 
139792
139797
  const PRINT_OPTIONS = {
139793
139798
  printer: ['putout', {
@@ -140039,7 +140044,7 @@ const {isESM, insertAfter} = operate;
140039
140044
 
140040
140045
  const {compare: compare$2} = compare$5;
140041
140046
 
140042
- const {types: types$9} = bundle$1;
140047
+ const {types: types$a} = bundle$1;
140043
140048
 
140044
140049
  const {
140045
140050
  addDeclarationForESLint,
@@ -140051,7 +140056,7 @@ const {
140051
140056
  const {
140052
140057
  isImportDeclaration,
140053
140058
  isVariableDeclaration,
140054
- } = types$9;
140059
+ } = types$a;
140055
140060
 
140056
140061
  const {keys} = Object;
140057
140062
  const isString$2 = (a) => typeof a === 'string';
@@ -140318,12 +140323,12 @@ function deinit() {
140318
140323
 
140319
140324
  var property = {};
140320
140325
 
140321
- const {types: types$8} = bundle$1;
140326
+ const {types: types$9} = bundle$1;
140322
140327
  const {
140323
140328
  arrayExpression: arrayExpression$2,
140324
140329
  stringLiteral: stringLiteral$3,
140325
140330
  objectProperty: objectProperty$2,
140326
- } = types$8;
140331
+ } = types$9;
140327
140332
 
140328
140333
  property.createTypeProperty = (type) => {
140329
140334
  const value = stringLiteral$3(type);
@@ -140356,7 +140361,7 @@ const {
140356
140361
  dirname: dirname$1,
140357
140362
  } = require$$0$1;
140358
140363
 
140359
- const {types: types$7} = bundle$1;
140364
+ const {types: types$8} = bundle$1;
140360
140365
  const tryCatch$1 = tryCatch$7;
140361
140366
 
140362
140367
  const {
@@ -140377,7 +140382,7 @@ const {
140377
140382
  const {
140378
140383
  isProgram: isProgram$1,
140379
140384
  objectExpression: objectExpression$1,
140380
- } = types$7;
140385
+ } = types$8;
140381
140386
 
140382
140387
  const isString$1 = (a) => typeof a === 'string';
140383
140388
  const {isArray: isArray$2} = Array;
@@ -140796,7 +140801,7 @@ filesystem.start = maybeFS.start;
140796
140801
  var convertSimpleFilesystemToFilesystem = {};
140797
140802
 
140798
140803
  const {basename, dirname} = require$$0$1;
140799
- const {types: types$6} = bundle$1;
140804
+ const {types: types$7} = bundle$1;
140800
140805
  const {
140801
140806
  createDirectory,
140802
140807
  getFileType: getFileType$1,
@@ -140815,7 +140820,7 @@ const {
140815
140820
  isStringLiteral,
140816
140821
  isTemplateLiteral,
140817
140822
  objectProperty: objectProperty$1,
140818
- } = types$6;
140823
+ } = types$7;
140819
140824
 
140820
140825
  convertSimpleFilesystemToFilesystem.report = () => `Convert Simple Filesystem to Filesystem`;
140821
140826
 
@@ -140935,7 +140940,7 @@ function check$2(filename) {
140935
140940
 
140936
140941
  var convertFilesystemToSimpleFilesystem = {};
140937
140942
 
140938
- const {types: types$5} = bundle$1;
140943
+ const {types: types$6} = bundle$1;
140939
140944
  const {replaceWith, getProperty} = operate;
140940
140945
  const {__filesystem_name: __filesystem_name$1} = json;
140941
140946
 
@@ -140948,7 +140953,7 @@ const {
140948
140953
  const {
140949
140954
  stringLiteral: stringLiteral$1,
140950
140955
  arrayExpression,
140951
- } = types$5;
140956
+ } = types$6;
140952
140957
 
140953
140958
  const {isArray: isArray$1} = Array;
140954
140959
  const maybeAddSlash = (a) => a === '/' ? a : `${a}/`;
@@ -141589,7 +141594,7 @@ report$3.default;
141589
141594
 
141590
141595
  var traverse$5 = {};
141591
141596
 
141592
- const {types: types$4, traverse: babelTraverse} = bundle$1;
141597
+ const {types: types$5, traverse: babelTraverse} = bundle$1;
141593
141598
 
141594
141599
  const {
141595
141600
  compare,
@@ -141598,7 +141603,7 @@ const {
141598
141603
  getTemplateValues,
141599
141604
  } = compare$5;
141600
141605
 
141601
- const {isFile, isProgram} = types$4;
141606
+ const {isFile, isProgram} = types$5;
141602
141607
  const {merge} = babelTraverse.visitors;
141603
141608
  const {entries: entries$2} = Object;
141604
141609
 
@@ -141682,6 +141687,20 @@ traverse$5.contains = (path, items) => {
141682
141687
  return found;
141683
141688
  };
141684
141689
 
141690
+ var jsx = {};
141691
+
141692
+ const {types: types$4} = bundle$1;
141693
+ const {isJSXElement} = types$4;
141694
+
141695
+ jsx.hasTagName = (path, name) => {
141696
+ const node = path.node || path;
141697
+
141698
+ if (!isJSXElement(path))
141699
+ return false;
141700
+
141701
+ return node.openingElement.name.name === name;
141702
+ };
141703
+
141685
141704
  /**
141686
141705
  * The MIT License (MIT)
141687
141706
  * Copyright (c) 2017-present Dmitry Soshnikov <dmitry.soshnikov@gmail.com>
@@ -150458,6 +150477,7 @@ var operator = putout$1.exports.operator = {
150458
150477
  ...compare$5,
150459
150478
  ...traverse$5,
150460
150479
  ...json,
150480
+ ...jsx,
150461
150481
  ...declare$1,
150462
150482
  ...regexp,
150463
150483
  ...addArgs,