@putout/bundle 3.20.0 → 3.20.1

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
@@ -11033,7 +11033,7 @@ __export(lib_exports, {
11033
11033
  return isExportAllDeclaration;
11034
11034
  },
11035
11035
  isExportDeclaration: function() {
11036
- return isExportDeclaration$5;
11036
+ return isExportDeclaration$4;
11037
11037
  },
11038
11038
  isExportDefaultDeclaration: function() {
11039
11039
  return isExportDefaultDeclaration;
@@ -11042,7 +11042,7 @@ __export(lib_exports, {
11042
11042
  return isExportDefaultSpecifier;
11043
11043
  },
11044
11044
  isExportNamedDeclaration: function() {
11045
- return isExportNamedDeclaration;
11045
+ return isExportNamedDeclaration$1;
11046
11046
  },
11047
11047
  isExportNamespaceSpecifier: function() {
11048
11048
  return isExportNamespaceSpecifier$1;
@@ -11543,7 +11543,7 @@ __export(lib_exports, {
11543
11543
  return isTSMethodSignature;
11544
11544
  },
11545
11545
  isTSModuleBlock: function() {
11546
- return isTSModuleBlock;
11546
+ return isTSModuleBlock$1;
11547
11547
  },
11548
11548
  isTSModuleDeclaration: function() {
11549
11549
  return isTSModuleDeclaration;
@@ -13948,7 +13948,7 @@ function isExportDefaultDeclaration(node, opts) {
13948
13948
  if (node.type !== "ExportDefaultDeclaration") return false;
13949
13949
  return opts == null || shallowEqual(node, opts);
13950
13950
  }
13951
- function isExportNamedDeclaration(node, opts) {
13951
+ function isExportNamedDeclaration$1(node, opts) {
13952
13952
  if (!node) return false;
13953
13953
  if (node.type !== "ExportNamedDeclaration") return false;
13954
13954
  return opts == null || shallowEqual(node, opts);
@@ -14843,7 +14843,7 @@ function isTSModuleDeclaration(node, opts) {
14843
14843
  if (node.type !== "TSModuleDeclaration") return false;
14844
14844
  return opts == null || shallowEqual(node, opts);
14845
14845
  }
14846
- function isTSModuleBlock(node, opts) {
14846
+ function isTSModuleBlock$1(node, opts) {
14847
14847
  if (!node) return false;
14848
14848
  if (node.type !== "TSModuleBlock") return false;
14849
14849
  return opts == null || shallowEqual(node, opts);
@@ -15600,7 +15600,7 @@ function isImportOrExportDeclaration(node, opts) {
15600
15600
  }
15601
15601
  return opts == null || shallowEqual(node, opts);
15602
15602
  }
15603
- function isExportDeclaration$5(node, opts) {
15603
+ function isExportDeclaration$4(node, opts) {
15604
15604
  if (!node) return false;
15605
15605
  switch(node.type){
15606
15606
  case "ExportAllDeclaration":
@@ -25747,7 +25747,7 @@ function getBindingIdentifiers(node, duplicates, outerOnly, newBindingsOnly) {
25747
25747
  }
25748
25748
  continue;
25749
25749
  }
25750
- if (isExportDeclaration$5(id) && !isExportAllDeclaration(id)) {
25750
+ if (isExportDeclaration$4(id) && !isExportAllDeclaration(id)) {
25751
25751
  if (isDeclaration(id.declaration)) {
25752
25752
  search.push(id.declaration);
25753
25753
  }
@@ -27206,7 +27206,7 @@ var TokContext = function TokContext(token, preserveSpace) {
27206
27206
  this.token = token;
27207
27207
  this.preserveSpace = !!preserveSpace;
27208
27208
  };
27209
- var types$z = {
27209
+ var types$A = {
27210
27210
  brace: new TokContext("{"),
27211
27211
  j_oTag: new TokContext("<tag"),
27212
27212
  j_cTag: new TokContext("</tag"),
@@ -29445,7 +29445,7 @@ var State$2 = /*#__PURE__*/ function() {
29445
29445
  __publicField(this, "lastTokEndLoc", null);
29446
29446
  __publicField(this, "lastTokStartLoc", null);
29447
29447
  __publicField(this, "context", [
29448
- types$z.brace
29448
+ types$A.brace
29449
29449
  ]);
29450
29450
  __publicField(this, "firstInvalidTemplateEscapePos", null);
29451
29451
  __publicField(this, "strictErrors", /* @__PURE__ */ new Map());
@@ -33990,7 +33990,7 @@ var flow$1 = function(superClass) {
33990
33990
  if (!jsx2.error) return jsx2.node;
33991
33991
  var context = this.state.context;
33992
33992
  var currentContext = context[context.length - 1];
33993
- if (currentContext === types$z.j_oTag || currentContext === types$z.j_expr) {
33993
+ if (currentContext === types$A.j_oTag || currentContext === types$A.j_expr) {
33994
33994
  context.pop();
33995
33995
  }
33996
33996
  }
@@ -35206,9 +35206,9 @@ var jsx$3 = function(superClass) {
35206
35206
  switch(this.state.type){
35207
35207
  case 5:
35208
35208
  node = this.startNode();
35209
- this.setContext(types$z.brace);
35209
+ this.setContext(types$A.brace);
35210
35210
  this.next();
35211
- node = this.jsxParseExpressionContainer(node, types$z.j_oTag);
35211
+ node = this.jsxParseExpressionContainer(node, types$A.j_oTag);
35212
35212
  if (node.expression.type === "JSXEmptyExpression") {
35213
35213
  this.raise(JsxErrors.AttributeIsEmpty, node);
35214
35214
  }
@@ -35233,7 +35233,7 @@ var jsx$3 = function(superClass) {
35233
35233
  value: function jsxParseSpreadChild(node) {
35234
35234
  this.next();
35235
35235
  node.expression = this.parseExpression();
35236
- this.setContext(types$z.j_expr);
35236
+ this.setContext(types$A.j_expr);
35237
35237
  this.state.canStartJSXElement = true;
35238
35238
  this.expect(8);
35239
35239
  return this.finishNode(node, "JSXSpreadChild");
@@ -35265,11 +35265,11 @@ var jsx$3 = function(superClass) {
35265
35265
  value: function jsxParseAttribute() {
35266
35266
  var node = this.startNode();
35267
35267
  if (this.match(5)) {
35268
- this.setContext(types$z.brace);
35268
+ this.setContext(types$A.brace);
35269
35269
  this.next();
35270
35270
  this.expect(21);
35271
35271
  node.argument = this.parseMaybeAssignAllowIn();
35272
- this.setContext(types$z.j_oTag);
35272
+ this.setContext(types$A.j_oTag);
35273
35273
  this.state.canStartJSXElement = true;
35274
35274
  this.expect(8);
35275
35275
  return this.finishNode(node, "JSXSpreadAttribute");
@@ -35340,12 +35340,12 @@ var jsx$3 = function(superClass) {
35340
35340
  case 5:
35341
35341
  {
35342
35342
  var node2 = this.startNode();
35343
- this.setContext(types$z.brace);
35343
+ this.setContext(types$A.brace);
35344
35344
  this.next();
35345
35345
  if (this.match(21)) {
35346
35346
  children.push(this.jsxParseSpreadChild(node2));
35347
35347
  } else {
35348
- children.push(this.jsxParseExpressionContainer(node2, types$z.j_expr));
35348
+ children.push(this.jsxParseExpressionContainer(node2, types$A.j_expr));
35349
35349
  }
35350
35350
  break;
35351
35351
  }
@@ -35420,11 +35420,11 @@ var jsx$3 = function(superClass) {
35420
35420
  key: "getTokenFromCode",
35421
35421
  value: function getTokenFromCode(code2) {
35422
35422
  var context = this.curContext();
35423
- if (context === types$z.j_expr) {
35423
+ if (context === types$A.j_expr) {
35424
35424
  this.jsxReadToken();
35425
35425
  return;
35426
35426
  }
35427
- if (context === types$z.j_oTag || context === types$z.j_cTag) {
35427
+ if (context === types$A.j_oTag || context === types$A.j_cTag) {
35428
35428
  if (isIdentifierStart2(code2)) {
35429
35429
  this.jsxReadWord();
35430
35430
  return;
@@ -35434,7 +35434,7 @@ var jsx$3 = function(superClass) {
35434
35434
  this.finishToken(144);
35435
35435
  return;
35436
35436
  }
35437
- if ((code2 === 34 || code2 === 39) && context === types$z.j_oTag) {
35437
+ if ((code2 === 34 || code2 === 39) && context === types$A.j_oTag) {
35438
35438
  this.jsxReadString(code2);
35439
35439
  return;
35440
35440
  }
@@ -35452,17 +35452,17 @@ var jsx$3 = function(superClass) {
35452
35452
  value: function updateContext(prevType) {
35453
35453
  var _this_state = this.state, context = _this_state.context, type = _this_state.type;
35454
35454
  if (type === 56 && prevType === 143) {
35455
- context.splice(-2, 2, types$z.j_cTag);
35455
+ context.splice(-2, 2, types$A.j_cTag);
35456
35456
  this.state.canStartJSXElement = false;
35457
35457
  } else if (type === 143) {
35458
- context.push(types$z.j_oTag);
35458
+ context.push(types$A.j_oTag);
35459
35459
  } else if (type === 144) {
35460
35460
  var out = context[context.length - 1];
35461
- if (out === types$z.j_oTag && prevType === 56 || out === types$z.j_cTag) {
35461
+ if (out === types$A.j_oTag && prevType === 56 || out === types$A.j_cTag) {
35462
35462
  context.pop();
35463
- this.state.canStartJSXElement = context[context.length - 1] === types$z.j_expr;
35463
+ this.state.canStartJSXElement = context[context.length - 1] === types$A.j_expr;
35464
35464
  } else {
35465
- this.setContext(types$z.j_expr);
35465
+ this.setContext(types$A.j_expr);
35466
35466
  this.state.canStartJSXElement = true;
35467
35467
  }
35468
35468
  } else {
@@ -37959,7 +37959,7 @@ var typescript$3 = function(superClass) {
37959
37959
  });
37960
37960
  if (node.params.length === 0) {
37961
37961
  this.raise(TSErrors.EmptyTypeArguments, node);
37962
- } else if (!this.state.inType && this.curContext() === types$z.brace) {
37962
+ } else if (!this.state.inType && this.curContext() === types$A.brace) {
37963
37963
  this.reScan_lt_gt();
37964
37964
  }
37965
37965
  this.expect(48);
@@ -38774,7 +38774,7 @@ var typescript$3 = function(superClass) {
38774
38774
  if (!jsx2.error) return jsx2.node;
38775
38775
  var context = this.state.context;
38776
38776
  var currentContext = context[context.length - 1];
38777
- if (currentContext === types$z.j_oTag || currentContext === types$z.j_expr) {
38777
+ if (currentContext === types$A.j_oTag || currentContext === types$A.j_expr) {
38778
38778
  context.pop();
38779
38779
  }
38780
38780
  }
@@ -52397,15 +52397,15 @@ var cache = /* @__PURE__ */ Object.freeze({
52397
52397
  return scope$1;
52398
52398
  }
52399
52399
  });
52400
- var NOT_LOCAL_BINDING2 = lib_exports.NOT_LOCAL_BINDING, assignmentExpression$3 = lib_exports.assignmentExpression; lib_exports.callExpression; var cloneNode$3 = lib_exports.cloneNode, getBindingIdentifiers$3 = lib_exports.getBindingIdentifiers, identifier$3 = lib_exports.identifier, isArrayExpression3 = lib_exports.isArrayExpression, isBinary3 = lib_exports.isBinary, isCallExpression$12 = lib_exports.isCallExpression, isClass2 = lib_exports.isClass, isClassBody3 = lib_exports.isClassBody, isClassDeclaration3 = lib_exports.isClassDeclaration, isExportAllDeclaration2 = lib_exports.isExportAllDeclaration, isExportDefaultDeclaration3 = lib_exports.isExportDefaultDeclaration, isExportNamedDeclaration$1 = lib_exports.isExportNamedDeclaration, isFunctionDeclaration2 = lib_exports.isFunctionDeclaration, isIdentifier$5$1 = lib_exports.isIdentifier, isImportDeclaration2 = lib_exports.isImportDeclaration, isLiteral$12 = lib_exports.isLiteral, isMemberExpression3 = lib_exports.isMemberExpression, isMethod2 = lib_exports.isMethod, isModuleSpecifier2 = lib_exports.isModuleSpecifier, isNullLiteral2 = lib_exports.isNullLiteral, isObjectExpression3 = lib_exports.isObjectExpression, isProperty2 = lib_exports.isProperty, isPureish2 = lib_exports.isPureish, isRegExpLiteral2 = lib_exports.isRegExpLiteral, isSuper$1 = lib_exports.isSuper, isTaggedTemplateExpression2 = lib_exports.isTaggedTemplateExpression, isTemplateLiteral2 = lib_exports.isTemplateLiteral, isThisExpression2 = lib_exports.isThisExpression, isUnaryExpression2 = lib_exports.isUnaryExpression, isVariableDeclaration$1$1 = lib_exports.isVariableDeclaration, expressionStatement$3 = lib_exports.expressionStatement, matchesPattern$1$1 = lib_exports.matchesPattern; lib_exports.memberExpression; lib_exports.numericLiteral; var toIdentifier2 = lib_exports.toIdentifier, variableDeclaration$1$1 = lib_exports.variableDeclaration, variableDeclarator$1 = lib_exports.variableDeclarator, isRecordExpression2 = lib_exports.isRecordExpression, isTupleExpression2 = lib_exports.isTupleExpression, isObjectProperty2 = lib_exports.isObjectProperty, isTopicReference2 = lib_exports.isTopicReference, isMetaProperty2 = lib_exports.isMetaProperty, isPrivateName2 = lib_exports.isPrivateName, isExportDeclaration2 = lib_exports.isExportDeclaration, buildUndefinedNode$1 = lib_exports.buildUndefinedNode, sequenceExpression$2 = lib_exports.sequenceExpression;
52400
+ var NOT_LOCAL_BINDING2 = lib_exports.NOT_LOCAL_BINDING, assignmentExpression$3 = lib_exports.assignmentExpression; lib_exports.callExpression; var cloneNode$3 = lib_exports.cloneNode, getBindingIdentifiers$3 = lib_exports.getBindingIdentifiers, identifier$3 = lib_exports.identifier, isArrayExpression3 = lib_exports.isArrayExpression, isBinary3 = lib_exports.isBinary, isCallExpression$12 = lib_exports.isCallExpression, isClass2 = lib_exports.isClass, isClassBody3 = lib_exports.isClassBody, isClassDeclaration3 = lib_exports.isClassDeclaration, isExportAllDeclaration2 = lib_exports.isExportAllDeclaration, isExportDefaultDeclaration3 = lib_exports.isExportDefaultDeclaration, isExportNamedDeclaration$1$1 = lib_exports.isExportNamedDeclaration, isFunctionDeclaration2 = lib_exports.isFunctionDeclaration, isIdentifier$5$1 = lib_exports.isIdentifier, isImportDeclaration2 = lib_exports.isImportDeclaration, isLiteral$12 = lib_exports.isLiteral, isMemberExpression3 = lib_exports.isMemberExpression, isMethod2 = lib_exports.isMethod, isModuleSpecifier2 = lib_exports.isModuleSpecifier, isNullLiteral2 = lib_exports.isNullLiteral, isObjectExpression3 = lib_exports.isObjectExpression, isProperty2 = lib_exports.isProperty, isPureish2 = lib_exports.isPureish, isRegExpLiteral2 = lib_exports.isRegExpLiteral, isSuper$1 = lib_exports.isSuper, isTaggedTemplateExpression2 = lib_exports.isTaggedTemplateExpression, isTemplateLiteral2 = lib_exports.isTemplateLiteral, isThisExpression2 = lib_exports.isThisExpression, isUnaryExpression2 = lib_exports.isUnaryExpression, isVariableDeclaration$1$1 = lib_exports.isVariableDeclaration, expressionStatement$3 = lib_exports.expressionStatement, matchesPattern$1$1 = lib_exports.matchesPattern; lib_exports.memberExpression; lib_exports.numericLiteral; var toIdentifier2 = lib_exports.toIdentifier, variableDeclaration$1$1 = lib_exports.variableDeclaration, variableDeclarator$1 = lib_exports.variableDeclarator, isRecordExpression2 = lib_exports.isRecordExpression, isTupleExpression2 = lib_exports.isTupleExpression, isObjectProperty2 = lib_exports.isObjectProperty, isTopicReference2 = lib_exports.isTopicReference, isMetaProperty2 = lib_exports.isMetaProperty, isPrivateName2 = lib_exports.isPrivateName, isExportDeclaration2 = lib_exports.isExportDeclaration, buildUndefinedNode$1 = lib_exports.buildUndefinedNode, sequenceExpression$2 = lib_exports.sequenceExpression;
52401
52401
  function gatherNodeParts(node, parts) {
52402
52402
  switch(node === null || node === void 0 ? void 0 : node.type){
52403
52403
  default:
52404
52404
  if (isImportDeclaration2(node) || isExportDeclaration2(node)) {
52405
52405
  var _node_specifiers;
52406
- if ((isExportAllDeclaration2(node) || isExportNamedDeclaration$1(node) || isImportDeclaration2(node)) && node.source) {
52406
+ if ((isExportAllDeclaration2(node) || isExportNamedDeclaration$1$1(node) || isImportDeclaration2(node)) && node.source) {
52407
52407
  gatherNodeParts(node.source, parts);
52408
- } else if ((isExportNamedDeclaration$1(node) || isImportDeclaration2(node)) && ((_node_specifiers = node.specifiers) === null || _node_specifiers === void 0 ? void 0 : _node_specifiers.length)) {
52408
+ } else if ((isExportNamedDeclaration$1$1(node) || isImportDeclaration2(node)) && ((_node_specifiers = node.specifiers) === null || _node_specifiers === void 0 ? void 0 : _node_specifiers.length)) {
52409
52409
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
52410
52410
  try {
52411
52411
  for(var _iterator = node.specifiers[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
@@ -52426,7 +52426,7 @@ function gatherNodeParts(node, parts) {
52426
52426
  }
52427
52427
  }
52428
52428
  }
52429
- } else if ((isExportDefaultDeclaration3(node) || isExportNamedDeclaration$1(node)) && node.declaration) {
52429
+ } else if ((isExportDefaultDeclaration3(node) || isExportNamedDeclaration$1$1(node)) && node.declaration) {
52430
52430
  gatherNodeParts(node.declaration, parts);
52431
52431
  }
52432
52432
  } else if (isModuleSpecifier2(node)) {
@@ -58171,7 +58171,7 @@ var main = {};
58171
58171
 
58172
58172
  var fork = {exports: {}};
58173
58173
 
58174
- var types$y = {exports: {}};
58174
+ var types$z = {exports: {}};
58175
58175
 
58176
58176
  var shared = {};
58177
58177
 
@@ -58271,12 +58271,12 @@ function requireShared () {
58271
58271
  return shared;
58272
58272
  }
58273
58273
 
58274
- types$y.exports;
58274
+ types$z.exports;
58275
58275
 
58276
58276
  var hasRequiredTypes;
58277
58277
 
58278
58278
  function requireTypes () {
58279
- if (hasRequiredTypes) return types$y.exports;
58279
+ if (hasRequiredTypes) return types$z.exports;
58280
58280
  hasRequiredTypes = 1;
58281
58281
  (function (module, exports) {
58282
58282
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -59068,8 +59068,8 @@ function requireTypes () {
59068
59068
  exports.default = typesPlugin;
59069
59069
  (0, shared_1.maybeSetModuleExports)(function () { return module; });
59070
59070
 
59071
- } (types$y, types$y.exports));
59072
- return types$y.exports;
59071
+ } (types$z, types$z.exports));
59072
+ return types$z.exports;
59073
59073
  }
59074
59074
 
59075
59075
  var pathVisitor = {exports: {}};
@@ -78417,9 +78417,9 @@ var fullstore$3 = (value) => {
78417
78417
  };
78418
78418
  };
78419
78419
 
78420
- var types$x = {};
78420
+ var types$y = {};
78421
78421
 
78422
- types$x.TYPES = {
78422
+ types$y.TYPES = {
78423
78423
  TOKEN: 'Token',
78424
78424
  NEWLINE: 'Newline',
78425
78425
  LINEBREAK: 'Linebreak',
@@ -78439,7 +78439,7 @@ var arrowFunctionExpression = {};
78439
78439
 
78440
78440
  var is$3 = {};
78441
78441
 
78442
- const {types: types$w} = bundle;
78442
+ const {types: types$x} = bundle;
78443
78443
  const {
78444
78444
  isStringLiteral: isStringLiteral$9,
78445
78445
  isSpreadElement: isSpreadElement$3,
@@ -78451,7 +78451,7 @@ const {
78451
78451
  isMemberExpression: isMemberExpression$5,
78452
78452
  isArrayExpression: isArrayExpression$4,
78453
78453
  isObjectExpression: isObjectExpression$6,
78454
- } = types$w;
78454
+ } = types$x;
78455
78455
 
78456
78456
  const isParentProgram$1 = (path) => path.parentPath?.isProgram();
78457
78457
  const isParentBlock$3 = (path) => path.parentPath.isBlockStatement();
@@ -78471,7 +78471,7 @@ const isPrev$1 = (path) => {
78471
78471
  };
78472
78472
 
78473
78473
  const isNextParent$5 = (path) => isNext$r(path.parentPath);
78474
- const isLast$d = (path) => isParentProgram$1(path) && !isNext$r(path);
78474
+ const isLast$e = (path) => isParentProgram$1(path) && !isNext$r(path);
78475
78475
 
78476
78476
  is$3.isNextObject = (a) => a.getNextSibling().isObjectExpression();
78477
78477
  is$3.isPrevObject = (a) => a.getPrevSibling().isObjectExpression();
@@ -78483,8 +78483,8 @@ is$3.isPrev = isPrev$1;
78483
78483
  is$3.isNextParent = isNextParent$5;
78484
78484
  is$3.isParentProgram = isParentProgram$1;
78485
78485
  is$3.isParentBlock = isParentBlock$3;
78486
- is$3.isLast = isLast$d;
78487
- is$3.isParentLast = (path) => isLast$d(path.parentPath);
78486
+ is$3.isLast = isLast$e;
78487
+ is$3.isParentLast = (path) => isLast$e(path.parentPath);
78488
78488
 
78489
78489
  is$3.isIndented = (path = {}) => {
78490
78490
  const {parentPath, node} = path;
@@ -78600,14 +78600,14 @@ const WATER_MARK_BEFORE = '__putout_newline_before';
78600
78600
  const WATER_MARK_AFTER = '__putout_newline_after';
78601
78601
 
78602
78602
  mark.markBefore = markBefore$2;
78603
- mark.markAfter = markAfter$a;
78604
- mark.maybeMarkAfter = (a, path) => a && markAfter$a(path);
78603
+ mark.markAfter = markAfter$c;
78604
+ mark.maybeMarkAfter = (a, path) => a && markAfter$c(path);
78605
78605
 
78606
78606
  function markBefore$2(path) {
78607
78607
  path[WATER_MARK_BEFORE] = true;
78608
78608
  }
78609
78609
 
78610
- function markAfter$a(path) {
78610
+ function markAfter$c(path) {
78611
78611
  path[WATER_MARK_AFTER] = true;
78612
78612
  }
78613
78613
 
@@ -78634,7 +78634,7 @@ maybeInsideFn$1.maybeInsideFn = (insideFn, {print, indent}) => {
78634
78634
  indent.dec();
78635
78635
  };
78636
78636
 
78637
- const {types: types$v} = bundle;
78637
+ const {types: types$w} = bundle;
78638
78638
  const {
78639
78639
  hasTrailingComment: hasTrailingComment$4,
78640
78640
  satisfy: satisfy$4,
@@ -78650,7 +78650,7 @@ const {
78650
78650
  isClassProperty,
78651
78651
  isTSPropertySignature,
78652
78652
  isSpreadElement: isSpreadElement$2,
78653
- } = types$v;
78653
+ } = types$w;
78654
78654
 
78655
78655
  const isProperty = satisfy$4([
78656
78656
  isObjectProperty$1,
@@ -78785,7 +78785,7 @@ const {
78785
78785
  } = bundle.types;
78786
78786
 
78787
78787
  const {
78788
- isLast: isLast$c,
78788
+ isLast: isLast$d,
78789
78789
  isCoupleLines: isCoupleLines$9,
78790
78790
  isNext: isNext$q,
78791
78791
  } = is$3;
@@ -78820,7 +78820,7 @@ const isNewlineAfter = (path) => {
78820
78820
  if (isMemberExpression$4(parentPath))
78821
78821
  return false;
78822
78822
 
78823
- return !isLast$c(path) && !isDecorator(path);
78823
+ return !isLast$d(path) && !isDecorator(path);
78824
78824
  };
78825
78825
 
78826
78826
  parseTrailingComments$2.isTrailingIsLeading = isTrailingIsLeading;
@@ -79099,7 +79099,7 @@ arrowFunctionExpression.ArrowFunctionExpression = maybeParens$d((path, printer,
79099
79099
 
79100
79100
  var functionDeclaration = {};
79101
79101
 
79102
- const {markAfter: markAfter$9} = mark;
79102
+ const {markAfter: markAfter$b} = mark;
79103
79103
  const {isNext: isNext$o, isNextParent: isNextParent$4} = is$3;
79104
79104
  const {printParams: printParams$b} = params;
79105
79105
 
@@ -79143,7 +79143,7 @@ functionDeclaration.FunctionDeclaration = {
79143
79143
  afterSatisfy: () => [isNext$o, isNextParent$4, isInsideBlockStatement],
79144
79144
  after(path, {write}) {
79145
79145
  write.newline();
79146
- markAfter$9(path);
79146
+ markAfter$b(path);
79147
79147
  },
79148
79148
  };
79149
79149
 
@@ -79370,7 +79370,7 @@ functions$1.ObjectMethod = ObjectMethod$1;
79370
79370
 
79371
79371
  var unaryExpressions$1 = {};
79372
79372
 
79373
- const {isLast: isLast$b, isNext: isNext$m} = is$3;
79373
+ const {isLast: isLast$c, isNext: isNext$m} = is$3;
79374
79374
 
79375
79375
  const {maybeParens: maybeParens$b} = maybeParens$e;
79376
79376
 
@@ -79413,7 +79413,7 @@ unaryExpressions$1.ThrowStatement = (path, {print, indent, maybe}) => {
79413
79413
  });
79414
79414
 
79415
79415
  print(';');
79416
- maybe.print.newline(!isLast$b(path));
79416
+ maybe.print.newline(!isLast$c(path));
79417
79417
  maybe.print.breakline(isNext$m(path));
79418
79418
  };
79419
79419
 
@@ -79628,7 +79628,7 @@ maybeDeclare$6.maybeDeclare = (visit) => (path, printer, semantics) => {
79628
79628
 
79629
79629
  const {isFunction: isFunction$3} = bundle.types;
79630
79630
  const {isNext: isNext$l} = is$3;
79631
- const {markAfter: markAfter$8} = mark;
79631
+ const {markAfter: markAfter$a} = mark;
79632
79632
 
79633
79633
  const {maybeDeclare: maybeDeclare$5} = maybeDeclare$6;
79634
79634
  const {parseComments: parseComments$5} = comment;
@@ -79717,7 +79717,7 @@ _class.ClassDeclaration = {
79717
79717
 
79718
79718
  if (!isFunctionLike(path) && hasBody(path)) {
79719
79719
  write.newline();
79720
- markAfter$8(path);
79720
+ markAfter$a(path);
79721
79721
  }
79722
79722
  },
79723
79723
  };
@@ -79887,8 +79887,8 @@ const {
79887
79887
 
79888
79888
  const {parseComments: parseComments$4} = comment;
79889
79889
  const {likeChain} = memberExpressions$1;
79890
- const {types: types$u} = bundle;
79891
- const {isStringLiteral: isStringLiteral$8} = types$u;
79890
+ const {types: types$v} = bundle;
79891
+ const {isStringLiteral: isStringLiteral$8} = types$v;
79892
79892
 
79893
79893
  const isBodyOfArrow = (path) => path.parentPath.node.body === path.node;
79894
79894
  const isLogical = (path) => path.get('argument').isLogicalExpression();
@@ -80184,11 +80184,11 @@ function maybePrintTypeAnnotation$3(path, printer) {
80184
80184
 
80185
80185
  var moreThenMaxPropertiesLengthInOneLine$1 = {};
80186
80186
 
80187
- const {types: types$t} = bundle;
80187
+ const {types: types$u} = bundle;
80188
80188
  const {
80189
80189
  isAssignmentPattern: isAssignmentPattern$1,
80190
80190
  isIdentifier: isIdentifier$b,
80191
- } = types$t;
80191
+ } = types$u;
80192
80192
 
80193
80193
  moreThenMaxPropertiesLengthInOneLine$1.moreThenMaxPropertiesLengthInOneLine = (path, {maxPropertiesLengthInOneLine}) => {
80194
80194
  const {properties} = path.node;
@@ -80578,11 +80578,11 @@ var operate = {};
80578
80578
 
80579
80579
  var getBinding$2 = {};
80580
80580
 
80581
- const {types: types$s} = bundle;
80581
+ const {types: types$t} = bundle;
80582
80582
  const {
80583
80583
  isIdentifier: isIdentifier$9,
80584
80584
  isMemberExpression: isMemberExpression$3,
80585
- } = types$s;
80585
+ } = types$t;
80586
80586
 
80587
80587
  const isString$b = (a) => typeof a === 'string';
80588
80588
 
@@ -80609,13 +80609,13 @@ const parseName$1 = (node) => {
80609
80609
 
80610
80610
  var isSimple$2 = {};
80611
80611
 
80612
- const {types: types$r} = bundle;
80612
+ const {types: types$s} = bundle;
80613
80613
  const {
80614
80614
  isOptionalMemberExpression,
80615
80615
  isMemberExpression: isMemberExpression$2,
80616
80616
  isIdentifier: isIdentifier$8,
80617
80617
  isLiteral: isLiteral$3,
80618
- } = types$r;
80618
+ } = types$s;
80619
80619
 
80620
80620
  isSimple$2.isSimple = (a) => {
80621
80621
  if (isLiteral$3(a))
@@ -80632,7 +80632,7 @@ isSimple$2.isSimple = (a) => {
80632
80632
 
80633
80633
  var extract$6 = {};
80634
80634
 
80635
- const {types: types$q} = bundle;
80635
+ const {types: types$r} = bundle;
80636
80636
  const {
80637
80637
  isArrayExpression: isArrayExpression$3,
80638
80638
  isLiteral: isLiteral$2,
@@ -80647,7 +80647,7 @@ const {
80647
80647
  isJSXIdentifier: isJSXIdentifier$2,
80648
80648
  isTSTypeReference: isTSTypeReference$2,
80649
80649
  isTSTypeParameter,
80650
- } = types$q;
80650
+ } = types$r;
80651
80651
 
80652
80652
  extract$6.extract = extract$5;
80653
80653
 
@@ -81036,13 +81036,13 @@ var properties = {};
81036
81036
 
81037
81037
  var traverseProperties$4 = {};
81038
81038
 
81039
- const {traverse: traverse$b, types: types$p} = bundle;
81039
+ const {traverse: traverse$b, types: types$q} = bundle;
81040
81040
  const {extract: extract$3} = extract$6;
81041
81041
 
81042
81042
  const {
81043
81043
  isObjectExpression: isObjectExpression$5,
81044
81044
  isCallExpression: isCallExpression$3,
81045
- } = types$p;
81045
+ } = types$q;
81046
81046
 
81047
81047
  const nodeOrPath = (path) => path.node || path;
81048
81048
 
@@ -81179,13 +81179,13 @@ var replaceWithMultiple$2 = {};
81179
81179
 
81180
81180
  var maybeBody$2 = {};
81181
81181
 
81182
- const {types: types$o} = bundle;
81182
+ const {types: types$p} = bundle;
81183
81183
  const {
81184
81184
  isStatement: isStatement$4,
81185
81185
  isBlockStatement: isBlockStatement$3,
81186
81186
  BlockStatement: BlockStatement$1,
81187
81187
  ExpressionStatement: ExpressionStatement$5,
81188
- } = types$o;
81188
+ } = types$p;
81189
81189
 
81190
81190
  maybeBody$2.maybeBody = (path, node) => {
81191
81191
  const {parentPath} = path;
@@ -81206,12 +81206,12 @@ maybeBody$2.maybeBody = (path, node) => {
81206
81206
 
81207
81207
  var toExpression$3 = {};
81208
81208
 
81209
- const {types: types$n} = bundle;
81209
+ const {types: types$o} = bundle;
81210
81210
  const {
81211
81211
  isExpression: isExpression$1,
81212
81212
  ExpressionStatement: ExpressionStatement$4,
81213
81213
  toStatement,
81214
- } = types$n;
81214
+ } = types$o;
81215
81215
 
81216
81216
  toExpression$3.toExpression = (el) => {
81217
81217
  const {type} = el;
@@ -81288,7 +81288,7 @@ replaceWith$7.replaceWith = replaceWith$5;
81288
81288
  replaceWith$7.replaceWithMultiple = replaceWithMultiple$1;
81289
81289
  replaceWith$7.toExpression = toExpression$1;
81290
81290
 
81291
- const {types: types$m} = bundle;
81291
+ const {types: types$n} = bundle;
81292
81292
 
81293
81293
  const {getBinding, getBindingPath} = getBinding$2;
81294
81294
  const {isSimple: isSimple$1} = isSimple$2;
@@ -81319,9 +81319,9 @@ const {
81319
81319
  ExpressionStatement: ExpressionStatement$3,
81320
81320
  matchesPattern,
81321
81321
  isImportDeclaration: isImportDeclaration$1,
81322
- isExportDeclaration: isExportDeclaration$4,
81322
+ isExportDeclaration: isExportDeclaration$3,
81323
81323
  isStatement: isStatement$3,
81324
- } = types$m;
81324
+ } = types$n;
81325
81325
 
81326
81326
  operate.getBinding = getBinding;
81327
81327
  operate.getBindingPath = getBindingPath;
@@ -81399,7 +81399,7 @@ operate.isESM = (path) => {
81399
81399
  if (isImportDeclaration$1(node))
81400
81400
  return true;
81401
81401
 
81402
- if (isExportDeclaration$4(node))
81402
+ if (isExportDeclaration$3(node))
81403
81403
  return true;
81404
81404
  }
81405
81405
 
@@ -81703,13 +81703,13 @@ newline.isCurrentNewLine = (path) => {
81703
81703
 
81704
81704
  var indent = {};
81705
81705
 
81706
- const {types: types$l} = bundle;
81706
+ const {types: types$m} = bundle;
81707
81707
  const {isIndented} = is$3;
81708
81708
 
81709
81709
  const {
81710
81710
  isStringLiteral: isStringLiteral$5,
81711
81711
  isArrayExpression: isArrayExpression$1,
81712
- } = types$l;
81712
+ } = types$m;
81713
81713
 
81714
81714
  const isInsideArray$1 = (path) => path.parentPath.isArrayExpression();
81715
81715
 
@@ -81772,7 +81772,7 @@ isObjectAfterSimple$1.isObjectAfterSimple = (a) => {
81772
81772
  return SIMPLE_TYPES.includes(type);
81773
81773
  };
81774
81774
 
81775
- const {types: types$k} = bundle;
81775
+ const {types: types$l} = bundle;
81776
81776
  const {
81777
81777
  isCoupleLines: isCoupleLines$5,
81778
81778
  isStringAndIdentifier,
@@ -81802,7 +81802,7 @@ const {
81802
81802
  isStringLiteral: isStringLiteral$4,
81803
81803
  isIdentifier: isIdentifier$6,
81804
81804
  isFunction: isFunction$2,
81805
- } = types$k;
81805
+ } = types$l;
81806
81806
 
81807
81807
  const isNextString = (path) => isStringLiteral$4(path.getNextSibling());
81808
81808
  const isPrevString = (path) => isStringLiteral$4(path.getPrevSibling());
@@ -82584,7 +82584,7 @@ var expressionStatement = {};
82584
82584
 
82585
82585
  const {
82586
82586
  isNext: isNext$k,
82587
- isLast: isLast$a,
82587
+ isLast: isLast$b,
82588
82588
  isParentBlock: isParentBlock$2,
82589
82589
  isParentLast,
82590
82590
  isNewlineBetweenSiblings: isNewlineBetweenSiblings$2,
@@ -82637,13 +82637,13 @@ expressionStatement.ExpressionStatement = {
82637
82637
  if (satisfyAfter(path))
82638
82638
  return true;
82639
82639
 
82640
- if (hasTrailingComment$1(path) && isLast$a(path))
82640
+ if (hasTrailingComment$1(path) && isLast$b(path))
82641
82641
  return true;
82642
82642
 
82643
82643
  return isBeforeElse(path);
82644
82644
  },
82645
82645
  after(path, {print, maybe, store}) {
82646
- if (hasTrailingComment$1(path) && isLast$a(path) && isCoupleLines$4(path))
82646
+ if (hasTrailingComment$1(path) && isLast$b(path) && isCoupleLines$4(path))
82647
82647
  print.breakline();
82648
82648
 
82649
82649
  if (hasTrailingComment$1(path) && !isCoupleLines$4(path))
@@ -82671,7 +82671,7 @@ function isTopParentLast({parentPath}) {
82671
82671
  if (!nextNext.isIfStatement())
82672
82672
  return false;
82673
82673
 
82674
- return isLast$a(nextNext);
82674
+ return isLast$b(nextNext);
82675
82675
  }
82676
82676
 
82677
82677
  function isNotLastBody(path) {
@@ -82679,7 +82679,7 @@ function isNotLastBody(path) {
82679
82679
  }
82680
82680
 
82681
82681
  function isNotLastOrParentLast(path) {
82682
- return !(isLast$a(path) || isParentLast(path));
82682
+ return !(isLast$b(path) || isParentLast(path));
82683
82683
  }
82684
82684
 
82685
82685
  function isNextUp(path) {
@@ -82720,7 +82720,7 @@ const {
82720
82720
  } = is$3;
82721
82721
 
82722
82722
  const {hasPrevNewline: hasPrevNewline$2} = mark;
82723
- const {isExportDeclaration: isExportDeclaration$3} = bundle.types;
82723
+ const {isExportDeclaration: isExportDeclaration$2} = bundle.types;
82724
82724
  const {maybeSpaceAfterKeyword: maybeSpaceAfterKeyword$2} = maybeSpaceAfterKeyword$3;
82725
82725
 
82726
82726
  const {isConcatenation} = concatenate$1;
@@ -82818,7 +82818,7 @@ variableDeclaration.VariableDeclaration = {
82818
82818
  after(path, {maybe, store}) {
82819
82819
  const wasNewline = store();
82820
82820
 
82821
- if (isLast$9(path.parentPath) && !path.parentPath.isBlockStatement() || !isParentBlock$1(path) && !isParentTSModuleBlock(path))
82821
+ if (isLast$a(path.parentPath) && !path.parentPath.isBlockStatement() || !isParentBlock$1(path) && !isParentTSModuleBlock(path))
82822
82822
  return false;
82823
82823
 
82824
82824
  maybe.print.linebreak(wasNewline);
@@ -82835,14 +82835,14 @@ function noNextParentBlock(path) {
82835
82835
  }
82836
82836
 
82837
82837
  function notLastParentExport(path) {
82838
- if (isLast$9(path.parentPath))
82838
+ if (isLast$a(path.parentPath))
82839
82839
  return false;
82840
82840
 
82841
82841
  return path.parentPath.isExportDeclaration();
82842
82842
  }
82843
82843
 
82844
82844
  function notLastCoupleLines(path) {
82845
- if (isLast$9(path))
82845
+ if (isLast$a(path))
82846
82846
  return false;
82847
82847
 
82848
82848
  return isCoupleLines$3(path);
@@ -82858,7 +82858,7 @@ function notLastPrevVarNotNextVar(path) {
82858
82858
  if (path.node.loc?.start.line === prev.node?.loc?.start.line + 2)
82859
82859
  return false;
82860
82860
 
82861
- return !isLast$9(path) && prev.isVariableDeclaration() && !next.isVariableDeclaration();
82861
+ return !isLast$a(path) && prev.isVariableDeclaration() && !next.isVariableDeclaration();
82862
82862
  }
82863
82863
 
82864
82864
  function isNextCoupleLines(path) {
@@ -82874,7 +82874,7 @@ function isNextCoupleLines(path) {
82874
82874
  return isCoupleLines$3(next);
82875
82875
  }
82876
82876
 
82877
- const isLast$9 = (path) => path.parentPath?.isProgram() && !isNext$j(path);
82877
+ const isLast$a = (path) => path.parentPath?.isProgram() && !isNext$j(path);
82878
82878
 
82879
82879
  function shouldAddNewlineBefore(path) {
82880
82880
  if (isFirst$1(path))
@@ -82891,7 +82891,7 @@ function shouldAddNewlineBefore(path) {
82891
82891
  if (prevPath.isStatement() && !prevPath.isExpressionStatement() && !prevPath.isBlockStatement())
82892
82892
  return false;
82893
82893
 
82894
- return !isExportDeclaration$3(path.parentPath) && isCoupleLines$3(path);
82894
+ return !isExportDeclaration$2(path.parentPath) && isCoupleLines$3(path);
82895
82895
  }
82896
82896
 
82897
82897
  function isFirst$1(path) {
@@ -82921,7 +82921,7 @@ const isNextAssign = (path) => {
82921
82921
 
82922
82922
  var ifStatement = {};
82923
82923
 
82924
- const {markAfter: markAfter$7} = mark;
82924
+ const {markAfter: markAfter$9} = mark;
82925
82925
  const {exists: exists$6, isNext: isNext$i} = is$3;
82926
82926
 
82927
82927
  const isInside = ({parentPath}) => !parentPath.parentPath.isProgram();
@@ -83004,7 +83004,7 @@ ifStatement.IfStatement = {
83004
83004
  afterSatisfy: () => [isNext$i],
83005
83005
  after: (path, {print}) => {
83006
83006
  print.linebreak();
83007
- markAfter$7(path);
83007
+ markAfter$9(path);
83008
83008
  },
83009
83009
  };
83010
83010
 
@@ -83012,7 +83012,7 @@ var forOfStatement = {};
83012
83012
 
83013
83013
  const {
83014
83014
  hasPrevNewline: hasPrevNewline$1,
83015
- markAfter: markAfter$6,
83015
+ markAfter: markAfter$8,
83016
83016
  markBefore,
83017
83017
  isMarkedAfter: isMarkedAfter$1,
83018
83018
  } = mark;
@@ -83020,7 +83020,7 @@ const {
83020
83020
  const {
83021
83021
  isFirst,
83022
83022
  isNext: isNext$h,
83023
- isLast: isLast$8,
83023
+ isLast: isLast$9,
83024
83024
  } = is$3;
83025
83025
 
83026
83026
  forOfStatement.ForOfStatement = {
@@ -83056,7 +83056,7 @@ forOfStatement.ForOfStatement = {
83056
83056
  print('__body');
83057
83057
 
83058
83058
  const {length} = bodyPath.node.body;
83059
- maybe.print.newline(!length && !isLast$8(path) && !isNext$h(path));
83059
+ maybe.print.newline(!length && !isLast$9(path) && !isNext$h(path));
83060
83060
 
83061
83061
  return;
83062
83062
  }
@@ -83071,7 +83071,7 @@ forOfStatement.ForOfStatement = {
83071
83071
  afterIf: isNext$h,
83072
83072
  after(path, {print}) {
83073
83073
  print.linebreak();
83074
- markAfter$6(path);
83074
+ markAfter$8(path);
83075
83075
  },
83076
83076
  };
83077
83077
 
@@ -83100,7 +83100,7 @@ getDirectives$2.getDirectives = (path) => !path.node.directives ? [] : path.get(
83100
83100
  const {
83101
83101
  isNext: isNext$g,
83102
83102
  isParentProgram,
83103
- isLast: isLast$7,
83103
+ isLast: isLast$8,
83104
83104
  exists: exists$4,
83105
83105
  satisfy,
83106
83106
  } = is$3;
@@ -83109,12 +83109,12 @@ const {
83109
83109
  isArrowFunctionExpression,
83110
83110
  isObjectMethod,
83111
83111
  isFunctionDeclaration,
83112
- isExportDeclaration: isExportDeclaration$2,
83112
+ isExportDeclaration: isExportDeclaration$1,
83113
83113
  isDoWhileStatement,
83114
83114
  isBlockStatement: isBlockStatement$2,
83115
83115
  } = bundle.types;
83116
83116
 
83117
- const {markAfter: markAfter$5} = mark;
83117
+ const {markAfter: markAfter$7} = mark;
83118
83118
  const {parseComments: parseComments$3} = comment;
83119
83119
  const {insideIfWithNoBody} = insideIfWithNoBody$1;
83120
83120
  const {getDirectives: getDirectives$1} = getDirectives$2;
@@ -83175,7 +83175,7 @@ blockStatement.BlockStatement = {
83175
83175
  },
83176
83176
  after(path, {write}) {
83177
83177
  write.newline();
83178
- markAfter$5(path.parentPath);
83178
+ markAfter$7(path.parentPath);
83179
83179
  },
83180
83180
  };
83181
83181
 
@@ -83230,7 +83230,7 @@ function shouldAddNewlineAfter(path) {
83230
83230
  if (isLooksLikeInsideFn(path))
83231
83231
  return NO_NEWLINE;
83232
83232
 
83233
- if (isLast$7(path))
83233
+ if (isLast$8(path))
83234
83234
  return NO_NEWLINE;
83235
83235
 
83236
83236
  if (isExportFunction(path))
@@ -83244,7 +83244,7 @@ function isExportFunction(path) {
83244
83244
  if (!isFunctionDeclaration(path.parentPath))
83245
83245
  return false;
83246
83246
 
83247
- if (!isExportDeclaration$2(path.parentPath?.parentPath))
83247
+ if (!isExportDeclaration$1(path.parentPath?.parentPath))
83248
83248
  return false;
83249
83249
 
83250
83250
  return !isNext$g(path.parentPath?.parentPath);
@@ -83307,7 +83307,7 @@ const {isJSXElement: isJSXElement$2} = bundle.types;
83307
83307
  const {
83308
83308
  isPrevBody,
83309
83309
  noTrailingComment,
83310
- isLast: isLast$6,
83310
+ isLast: isLast$7,
83311
83311
  } = is$3;
83312
83312
 
83313
83313
  const {hasPrevNewline} = mark;
@@ -83347,10 +83347,10 @@ returnStatement.ReturnStatement = {
83347
83347
  if (isInsideIfWithElse(path))
83348
83348
  return true;
83349
83349
 
83350
- if (isLast$6(path))
83350
+ if (isLast$7(path))
83351
83351
  return false;
83352
83352
 
83353
- if (isLast$6(path.parentPath))
83353
+ if (isLast$7(path.parentPath))
83354
83354
  return false;
83355
83355
 
83356
83356
  return noTrailingComment(path);
@@ -83447,7 +83447,7 @@ var forStatement = {};
83447
83447
 
83448
83448
  const {exists: exists$3} = is$3;
83449
83449
 
83450
- const {markAfter: markAfter$4} = mark;
83450
+ const {markAfter: markAfter$6} = mark;
83451
83451
 
83452
83452
  forStatement.ForStatement = {
83453
83453
  print(path, {print, maybe, indent}) {
@@ -83487,7 +83487,7 @@ forStatement.ForStatement = {
83487
83487
  },
83488
83488
  after(path, {print}) {
83489
83489
  print.linebreak();
83490
- markAfter$4(path);
83490
+ markAfter$6(path);
83491
83491
  },
83492
83492
  };
83493
83493
 
@@ -83574,8 +83574,8 @@ function printAttributes(path, {write, traverse, keyword}) {
83574
83574
 
83575
83575
  const {parseImportSpecifiers} = parseImportSpecifiers$1;
83576
83576
 
83577
- const {markAfter: markAfter$3} = mark;
83578
- const {isLast: isLast$5, isNext: isNext$d} = is$3;
83577
+ const {markAfter: markAfter$5} = mark;
83578
+ const {isLast: isLast$6, isNext: isNext$d} = is$3;
83579
83579
 
83580
83580
  const {
83581
83581
  maybePrintAttributes,
@@ -83679,14 +83679,14 @@ importDeclaration.ImportDeclaration = {
83679
83679
  print.newline();
83680
83680
  },
83681
83681
  afterIf(path) {
83682
- if (isLast$5(path))
83682
+ if (isLast$6(path))
83683
83683
  return false;
83684
83684
 
83685
83685
  return !path.getNextSibling().isImportDeclaration();
83686
83686
  },
83687
83687
  after(path, {print}) {
83688
83688
  print.newline();
83689
- markAfter$3(path);
83689
+ markAfter$5(path);
83690
83690
  },
83691
83691
  };
83692
83692
 
@@ -83709,17 +83709,17 @@ function parseMaxSpecifiers(imports, semantics) {
83709
83709
 
83710
83710
  var exportDeclaration = {};
83711
83711
 
83712
+ const {isExportNamespaceSpecifier} = bundle.types;
83713
+ const {markAfter: markAfter$4, isMarkedAfter} = mark;
83712
83714
  const {
83713
83715
  isNewlineBetweenSiblings,
83714
83716
  exists: exists$2,
83715
83717
  isNext: isNext$c,
83716
- isLast: isLast$4,
83718
+ isLast: isLast$5,
83717
83719
  } = is$3;
83718
83720
 
83719
- const {markAfter: markAfter$2, isMarkedAfter} = mark;
83720
- const {isExportNamespaceSpecifier} = bundle.types;
83721
83721
  const isDeclarationNewline = (path) => isMarkedAfter(path.get('declaration'));
83722
- const isInsideNamespace = (path) => path.parentPath.isTSModuleBlock();
83722
+ const isInsideNamespace$1 = (path) => path.parentPath.isTSModuleBlock();
83723
83723
 
83724
83724
  const options$2 = {
83725
83725
  exports: {
@@ -83762,7 +83762,7 @@ exportDeclaration.ExportNamedDeclaration = {
83762
83762
  print(' from ');
83763
83763
  print('__source');
83764
83764
  print(';');
83765
- maybe.print.newline(!isLast$4(path));
83765
+ maybe.print.newline(!isLast$5(path));
83766
83766
 
83767
83767
  return;
83768
83768
  }
@@ -83802,7 +83802,7 @@ exportDeclaration.ExportNamedDeclaration = {
83802
83802
  }
83803
83803
 
83804
83804
  write(';');
83805
- maybe.write.newline(isNext$c(path) || isInsideNamespace(path));
83805
+ maybe.write.newline(isNext$c(path) || isInsideNamespace$1(path));
83806
83806
 
83807
83807
  return;
83808
83808
  }
@@ -83811,7 +83811,7 @@ exportDeclaration.ExportNamedDeclaration = {
83811
83811
  print('__declaration');
83812
83812
  },
83813
83813
  afterIf(path) {
83814
- if (isLast$4(path))
83814
+ if (isLast$5(path))
83815
83815
  return false;
83816
83816
 
83817
83817
  if (isDeclarationNewline(path))
@@ -83821,7 +83821,7 @@ exportDeclaration.ExportNamedDeclaration = {
83821
83821
  },
83822
83822
  after(path, {print}) {
83823
83823
  print.newline();
83824
- markAfter$2(path);
83824
+ markAfter$4(path);
83825
83825
  },
83826
83826
  };
83827
83827
 
@@ -83843,7 +83843,7 @@ exportAllDeclaration.ExportAllDeclaration = (path, {print}) => {
83843
83843
  var whileStatement = {};
83844
83844
 
83845
83845
  const {isNext: isNext$b} = is$3;
83846
- const {markAfter: markAfter$1} = mark;
83846
+ const {markAfter: markAfter$3} = mark;
83847
83847
 
83848
83848
  whileStatement.WhileStatement = {
83849
83849
  print(path, {print, indent}) {
@@ -83867,7 +83867,7 @@ whileStatement.WhileStatement = {
83867
83867
  },
83868
83868
  after(path, {print}) {
83869
83869
  print.linebreak();
83870
- markAfter$1(path);
83870
+ markAfter$3(path);
83871
83871
  },
83872
83872
  };
83873
83873
 
@@ -83876,7 +83876,7 @@ var switchStatement = {};
83876
83876
  const {
83877
83877
  isNext: isNext$a,
83878
83878
  exists: exists$1,
83879
- isLast: isLast$3,
83879
+ isLast: isLast$4,
83880
83880
  } = is$3;
83881
83881
 
83882
83882
  const {parseLeadingComments: parseLeadingComments$1} = comment;
@@ -83940,7 +83940,7 @@ switchStatement.SwitchStatement = {
83940
83940
  print.indent();
83941
83941
  print('}');
83942
83942
 
83943
- if (!isNext$a(path) && !isLast$3(path))
83943
+ if (!isNext$a(path) && !isLast$4(path))
83944
83944
  print.newline();
83945
83945
  },
83946
83946
  afterSatisfy: () => [isNext$a],
@@ -84027,8 +84027,8 @@ breakStatement.BreakStatement = {
84027
84027
 
84028
84028
  var doWhileStatement = {};
84029
84029
 
84030
- const {isLast: isLast$2} = is$3;
84031
- const notLast = (path) => !isLast$2(path);
84030
+ const {isLast: isLast$3} = is$3;
84031
+ const notLast = (path) => !isLast$3(path);
84032
84032
 
84033
84033
  doWhileStatement.DoWhileStatement = {
84034
84034
  print(path, {print, indent}) {
@@ -84362,12 +84362,12 @@ function isNewline(path) {
84362
84362
  var tsTypeAliasDeclaration = {};
84363
84363
 
84364
84364
  const {
84365
- isLast: isLast$1,
84365
+ isLast: isLast$2,
84366
84366
  isNext: isNext$8,
84367
84367
  isNextParent: isNextParent$2,
84368
84368
  } = is$3;
84369
84369
 
84370
- const {markAfter} = mark;
84370
+ const {markAfter: markAfter$2} = mark;
84371
84371
  const {maybeDeclare: maybeDeclare$3} = maybeDeclare$6;
84372
84372
  const isNextType = (a) => a.getNextSibling().isTSTypeAliasDeclaration();
84373
84373
  const isNextExport = (a) => a.getNextSibling().isExportDeclaration();
@@ -84392,7 +84392,7 @@ tsTypeAliasDeclaration.TSTypeAliasDeclaration = {
84392
84392
  print('__typeAnnotation');
84393
84393
  print(';');
84394
84394
 
84395
- const is = store(isLast$1(path) || isLast$1(path.parentPath));
84395
+ const is = store(isLast$2(path) || isLast$2(path.parentPath));
84396
84396
  maybe.print.newline(!is);
84397
84397
  }),
84398
84398
  afterIf(path, {store}) {
@@ -84409,14 +84409,14 @@ tsTypeAliasDeclaration.TSTypeAliasDeclaration = {
84409
84409
  after(path, {print, maybe}) {
84410
84410
  maybe.indent(isNextExport(path));
84411
84411
  print.newline();
84412
- markAfter(path);
84412
+ markAfter$2(path);
84413
84413
  },
84414
84414
  };
84415
84415
 
84416
84416
  var tsMappedType = {};
84417
84417
 
84418
- const {types: types$j} = bundle;
84419
- const {isTSConditionalType} = types$j;
84418
+ const {types: types$k} = bundle;
84419
+ const {isTSConditionalType} = types$k;
84420
84420
 
84421
84421
  tsMappedType.TSMappedType = (path, {print, indent, maybe}) => {
84422
84422
  const {
@@ -84642,19 +84642,23 @@ tsModuleDeclaration.TSModuleBlock = (path, {print, traverse, indent}) => {
84642
84642
 
84643
84643
  var tsInterfaceDeclaration = {};
84644
84644
 
84645
+ const {types: types$j} = bundle;
84645
84646
  const {
84646
84647
  isTSTypeAliasDeclaration,
84647
- isExportDeclaration: isExportDeclaration$1,
84648
- } = bundle.types;
84648
+ isExportNamedDeclaration,
84649
+ isTSModuleBlock,
84650
+ } = types$j;
84649
84651
 
84650
84652
  const {isNext: isNext$5, isNextParent: isNextParent$1} = is$3;
84651
84653
  const {maybeDeclare} = maybeDeclare$6;
84654
+ const {markAfter: markAfter$1} = mark;
84655
+ const isInsideNamespace = (path) => isTSModuleBlock(path.parentPath.parentPath);
84652
84656
 
84653
84657
  tsInterfaceDeclaration.TSInterfaceDeclaration = {
84654
84658
  print: maybeDeclare((path, {print, maybe}) => {
84655
- const {node, parentPath} = path;
84659
+ const {node} = path;
84656
84660
 
84657
- maybe.indent(!isExportDeclaration$1(parentPath));
84661
+ maybe.indent(!isExportNamedDeclaration(path.parentPath));
84658
84662
  print('interface ');
84659
84663
  print('__id');
84660
84664
 
@@ -84670,12 +84674,14 @@ tsInterfaceDeclaration.TSInterfaceDeclaration = {
84670
84674
  }),
84671
84675
  afterSatisfy: () => [isNext$5, isNextParent$1],
84672
84676
  after(path, {print}) {
84673
- print.breakline();
84677
+ print.linebreak();
84678
+ const exportNamed = isExportNamedDeclaration(path.parentPath);
84674
84679
 
84675
- const next = path.parentPath.getNextSibling();
84680
+ if (exportNamed && isInsideNamespace(path))
84681
+ markAfter$1(path);
84676
84682
 
84677
- if (!isTSTypeAliasDeclaration(next) && !isExportDeclaration$1(next))
84678
- print.breakline();
84683
+ if (!exportNamed && !isTSTypeAliasDeclaration(path))
84684
+ print.newline();
84679
84685
  },
84680
84686
  };
84681
84687
 
@@ -84829,7 +84835,13 @@ tsFunctionType.TSFunctionType = maybeParens$3((path, printer, semantics) => {
84829
84835
 
84830
84836
  var tsEnumDeclaration = {};
84831
84837
 
84832
- const {isNext: isNext$3, isNextParent} = is$3;
84838
+ const {
84839
+ isNext: isNext$3,
84840
+ isNextParent,
84841
+ isLast: isLast$1,
84842
+ } = is$3;
84843
+
84844
+ const {markAfter} = mark;
84833
84845
 
84834
84846
  tsEnumDeclaration.TSEnumDeclaration = {
84835
84847
  beforeIf(path) {
@@ -84854,11 +84866,18 @@ tsEnumDeclaration.TSEnumDeclaration = {
84854
84866
  }
84855
84867
 
84856
84868
  indent.dec();
84869
+ indent();
84857
84870
  print('}');
84871
+
84872
+ if (isLast$1(path))
84873
+ return;
84874
+
84875
+ print.newline();
84876
+ markAfter(path);
84858
84877
  },
84859
84878
  afterSatisfy: () => [isNext$3, isNextParent],
84860
84879
  after(path, {print}) {
84861
- print.breakline();
84880
+ print.linebreak();
84862
84881
  },
84863
84882
  };
84864
84883
 
@@ -85649,7 +85668,7 @@ function snakeCase(str) {
85649
85668
  }
85650
85669
 
85651
85670
  const {stringify: stringify$8} = JSON;
85652
- const {TYPES: TYPES$2} = types$x;
85671
+ const {TYPES: TYPES$2} = types$y;
85653
85672
  const toSnakeCase = justSnakeCase;
85654
85673
 
85655
85674
  const {codeFrameColumns: codeFrameColumns$1} = bundle;
@@ -85824,7 +85843,7 @@ const {round} = Math;
85824
85843
  const fullstore$2 = fullstore$3;
85825
85844
  const isObject$5 = (a) => a && typeof a === 'object';
85826
85845
  const babelTraverse$2 = bundle.traverse;
85827
- const {TYPES: TYPES$1} = types$x;
85846
+ const {TYPES: TYPES$1} = types$y;
85828
85847
  const baseVisitors = visitors$1;
85829
85848
 
85830
85849
  const {