@putout/bundle 1.0.3 → 1.1.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
@@ -66,7 +66,7 @@ generated$4.isAnyTypeAnnotation = isAnyTypeAnnotation$1;
66
66
  generated$4.isArgumentPlaceholder = isArgumentPlaceholder;
67
67
  generated$4.isArrayExpression = isArrayExpression$1;
68
68
  generated$4.isArrayPattern = isArrayPattern;
69
- generated$4.isArrayTypeAnnotation = isArrayTypeAnnotation$1;
69
+ generated$4.isArrayTypeAnnotation = isArrayTypeAnnotation$2;
70
70
  generated$4.isArrowFunctionExpression = isArrowFunctionExpression$1;
71
71
  generated$4.isAssignmentExpression = isAssignmentExpression$3;
72
72
  generated$4.isAssignmentPattern = isAssignmentPattern$2;
@@ -146,7 +146,7 @@ generated$4.isFlow = isFlow$1;
146
146
  generated$4.isFlowBaseAnnotation = isFlowBaseAnnotation$1;
147
147
  generated$4.isFlowDeclaration = isFlowDeclaration;
148
148
  generated$4.isFlowPredicate = isFlowPredicate;
149
- generated$4.isFlowType = isFlowType;
149
+ generated$4.isFlowType = isFlowType$1;
150
150
  generated$4.isFor = isFor$2;
151
151
  generated$4.isForInStatement = isForInStatement$1;
152
152
  generated$4.isForOfStatement = isForOfStatement$1;
@@ -262,7 +262,7 @@ generated$4.isSwitchCase = isSwitchCase;
262
262
  generated$4.isSwitchStatement = isSwitchStatement$1;
263
263
  generated$4.isSymbolTypeAnnotation = isSymbolTypeAnnotation;
264
264
  generated$4.isTSAnyKeyword = isTSAnyKeyword;
265
- generated$4.isTSArrayType = isTSArrayType$1;
265
+ generated$4.isTSArrayType = isTSArrayType$2;
266
266
  generated$4.isTSAsExpression = isTSAsExpression$1;
267
267
  generated$4.isTSBaseType = isTSBaseType;
268
268
  generated$4.isTSBigIntKeyword = isTSBigIntKeyword;
@@ -312,7 +312,7 @@ generated$4.isTSStringKeyword = isTSStringKeyword;
312
312
  generated$4.isTSSymbolKeyword = isTSSymbolKeyword;
313
313
  generated$4.isTSThisType = isTSThisType;
314
314
  generated$4.isTSTupleType = isTSTupleType;
315
- generated$4.isTSType = isTSType;
315
+ generated$4.isTSType = isTSType$1;
316
316
  generated$4.isTSTypeAliasDeclaration = isTSTypeAliasDeclaration;
317
317
  generated$4.isTSTypeAnnotation = isTSTypeAnnotation$1;
318
318
  generated$4.isTSTypeAssertion = isTSTypeAssertion$1;
@@ -324,7 +324,7 @@ generated$4.isTSTypeParameterDeclaration = isTSTypeParameterDeclaration;
324
324
  generated$4.isTSTypeParameterInstantiation = isTSTypeParameterInstantiation;
325
325
  generated$4.isTSTypePredicate = isTSTypePredicate;
326
326
  generated$4.isTSTypeQuery = isTSTypeQuery;
327
- generated$4.isTSTypeReference = isTSTypeReference;
327
+ generated$4.isTSTypeReference = isTSTypeReference$1;
328
328
  generated$4.isTSUndefinedKeyword = isTSUndefinedKeyword;
329
329
  generated$4.isTSUnionType = isTSUnionType$1;
330
330
  generated$4.isTSUnknownKeyword = isTSUnknownKeyword;
@@ -339,7 +339,7 @@ generated$4.isThrowStatement = isThrowStatement$1;
339
339
  generated$4.isTopicReference = isTopicReference;
340
340
  generated$4.isTryStatement = isTryStatement;
341
341
  generated$4.isTupleExpression = isTupleExpression;
342
- generated$4.isTupleTypeAnnotation = isTupleTypeAnnotation;
342
+ generated$4.isTupleTypeAnnotation = isTupleTypeAnnotation$1;
343
343
  generated$4.isTypeAlias = isTypeAlias;
344
344
  generated$4.isTypeAnnotation = isTypeAnnotation$2;
345
345
  generated$4.isTypeCastExpression = isTypeCastExpression;
@@ -1685,7 +1685,7 @@ function isAnyTypeAnnotation$1(node, opts) {
1685
1685
  return false;
1686
1686
  }
1687
1687
 
1688
- function isArrayTypeAnnotation$1(node, opts) {
1688
+ function isArrayTypeAnnotation$2(node, opts) {
1689
1689
  if (!node) return false;
1690
1690
  const nodeType = node.type;
1691
1691
 
@@ -2315,7 +2315,7 @@ function isThisTypeAnnotation(node, opts) {
2315
2315
  return false;
2316
2316
  }
2317
2317
 
2318
- function isTupleTypeAnnotation(node, opts) {
2318
+ function isTupleTypeAnnotation$1(node, opts) {
2319
2319
  if (!node) return false;
2320
2320
  const nodeType = node.type;
2321
2321
 
@@ -3500,7 +3500,7 @@ function isTSConstructorType(node, opts) {
3500
3500
  return false;
3501
3501
  }
3502
3502
 
3503
- function isTSTypeReference(node, opts) {
3503
+ function isTSTypeReference$1(node, opts) {
3504
3504
  if (!node) return false;
3505
3505
  const nodeType = node.type;
3506
3506
 
@@ -3560,7 +3560,7 @@ function isTSTypeLiteral(node, opts) {
3560
3560
  return false;
3561
3561
  }
3562
3562
 
3563
- function isTSArrayType$1(node, opts) {
3563
+ function isTSArrayType$2(node, opts) {
3564
3564
  if (!node) return false;
3565
3565
  const nodeType = node.type;
3566
3566
 
@@ -4640,7 +4640,7 @@ function isFlow$1(node, opts) {
4640
4640
  return false;
4641
4641
  }
4642
4642
 
4643
- function isFlowType(node, opts) {
4643
+ function isFlowType$1(node, opts) {
4644
4644
  if (!node) return false;
4645
4645
  const nodeType = node.type;
4646
4646
 
@@ -4790,7 +4790,7 @@ function isTSTypeElement(node, opts) {
4790
4790
  return false;
4791
4791
  }
4792
4792
 
4793
- function isTSType(node, opts) {
4793
+ function isTSType$1(node, opts) {
4794
4794
  if (!node) return false;
4795
4795
  const nodeType = node.type;
4796
4796
 
@@ -6210,7 +6210,8 @@ function requireCore$2 () {
6210
6210
  }
6211
6211
  }
6212
6212
  });
6213
- const functionCommon = {
6213
+
6214
+ const functionCommon = () => ({
6214
6215
  params: {
6215
6216
  validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Identifier", "Pattern", "RestElement")))
6216
6217
  },
@@ -6220,9 +6221,11 @@ function requireCore$2 () {
6220
6221
  async: {
6221
6222
  default: false
6222
6223
  }
6223
- };
6224
+ });
6225
+
6224
6226
  core$2.functionCommon = functionCommon;
6225
- const functionTypeAnnotationCommon = {
6227
+
6228
+ const functionTypeAnnotationCommon = () => ({
6226
6229
  returnType: {
6227
6230
  validate: (0, _utils.assertNodeType)("TypeAnnotation", "TSTypeAnnotation", "Noop"),
6228
6231
  optional: true
@@ -6231,9 +6234,11 @@ function requireCore$2 () {
6231
6234
  validate: (0, _utils.assertNodeType)("TypeParameterDeclaration", "TSTypeParameterDeclaration", "Noop"),
6232
6235
  optional: true
6233
6236
  }
6234
- };
6237
+ });
6238
+
6235
6239
  core$2.functionTypeAnnotationCommon = functionTypeAnnotationCommon;
6236
- const functionDeclarationCommon = Object.assign({}, functionCommon, {
6240
+
6241
+ const functionDeclarationCommon = () => Object.assign({}, functionCommon(), {
6237
6242
  declare: {
6238
6243
  validate: (0, _utils.assertValueType)("boolean"),
6239
6244
  optional: true
@@ -6243,11 +6248,12 @@ function requireCore$2 () {
6243
6248
  optional: true
6244
6249
  }
6245
6250
  });
6251
+
6246
6252
  core$2.functionDeclarationCommon = functionDeclarationCommon;
6247
6253
  defineType("FunctionDeclaration", {
6248
6254
  builder: ["id", "params", "body", "generator", "async"],
6249
6255
  visitor: ["id", "params", "body", "returnType", "typeParameters"],
6250
- fields: Object.assign({}, functionDeclarationCommon, functionTypeAnnotationCommon, {
6256
+ fields: Object.assign({}, functionDeclarationCommon(), functionTypeAnnotationCommon(), {
6251
6257
  body: {
6252
6258
  validate: (0, _utils.assertNodeType)("BlockStatement")
6253
6259
  },
@@ -6269,7 +6275,7 @@ function requireCore$2 () {
6269
6275
  defineType("FunctionExpression", {
6270
6276
  inherits: "FunctionDeclaration",
6271
6277
  aliases: ["Scopable", "Function", "BlockParent", "FunctionParent", "Expression", "Pureish"],
6272
- fields: Object.assign({}, functionCommon, functionTypeAnnotationCommon, {
6278
+ fields: Object.assign({}, functionCommon(), functionTypeAnnotationCommon(), {
6273
6279
  id: {
6274
6280
  validate: (0, _utils.assertNodeType)("Identifier"),
6275
6281
  optional: true
@@ -6283,21 +6289,24 @@ function requireCore$2 () {
6283
6289
  }
6284
6290
  })
6285
6291
  });
6286
- const patternLikeCommon = {
6292
+
6293
+ const patternLikeCommon = () => ({
6287
6294
  typeAnnotation: {
6288
6295
  validate: (0, _utils.assertNodeType)("TypeAnnotation", "TSTypeAnnotation", "Noop"),
6289
6296
  optional: true
6290
6297
  },
6291
6298
  decorators: {
6292
- validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Decorator")))
6299
+ validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Decorator"))),
6300
+ optional: true
6293
6301
  }
6294
- };
6302
+ });
6303
+
6295
6304
  core$2.patternLikeCommon = patternLikeCommon;
6296
6305
  defineType("Identifier", {
6297
6306
  builder: ["name"],
6298
6307
  visitor: ["typeAnnotation", "decorators"],
6299
6308
  aliases: ["Expression", "PatternLike", "LVal", "TSEntityName"],
6300
- fields: Object.assign({}, patternLikeCommon, {
6309
+ fields: Object.assign({}, patternLikeCommon(), {
6301
6310
  name: {
6302
6311
  validate: (0, _utils.chain)((0, _utils.assertValueType)("string"), Object.assign(function (node, key, val) {
6303
6312
 
@@ -6510,7 +6519,7 @@ function requireCore$2 () {
6510
6519
  });
6511
6520
  defineType("ObjectMethod", {
6512
6521
  builder: ["kind", "key", "params", "body", "computed", "generator", "async"],
6513
- fields: Object.assign({}, functionCommon, functionTypeAnnotationCommon, {
6522
+ fields: Object.assign({}, functionCommon(), functionTypeAnnotationCommon(), {
6514
6523
  kind: Object.assign({
6515
6524
  validate: (0, _utils.assertOneOf)("method", "get", "set")
6516
6525
  }, {}),
@@ -6519,7 +6528,7 @@ function requireCore$2 () {
6519
6528
  },
6520
6529
  key: {
6521
6530
  validate: function () {
6522
- const normal = (0, _utils.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral");
6531
+ const normal = (0, _utils.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral");
6523
6532
  const computed = (0, _utils.assertNodeType)("Expression");
6524
6533
 
6525
6534
  const validator = function (node, key, val) {
@@ -6527,7 +6536,7 @@ function requireCore$2 () {
6527
6536
  validator(node, key, val);
6528
6537
  };
6529
6538
 
6530
- validator.oneOfNodeTypes = ["Expression", "Identifier", "StringLiteral", "NumericLiteral"];
6539
+ validator.oneOfNodeTypes = ["Expression", "Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral"];
6531
6540
  return validator;
6532
6541
  }()
6533
6542
  },
@@ -6601,7 +6610,7 @@ function requireCore$2 () {
6601
6610
  builder: ["argument"],
6602
6611
  aliases: ["LVal", "PatternLike"],
6603
6612
  deprecatedAlias: "RestProperty",
6604
- fields: Object.assign({}, patternLikeCommon, {
6613
+ fields: Object.assign({}, patternLikeCommon(), {
6605
6614
  argument: {
6606
6615
  validate: (0, _utils.assertNodeType)("Identifier", "ArrayPattern", "ObjectPattern", "MemberExpression", "TSAsExpression", "TSTypeAssertion", "TSNonNullExpression")
6607
6616
  },
@@ -6822,7 +6831,7 @@ function requireCore$2 () {
6822
6831
  visitor: ["left", "right", "decorators"],
6823
6832
  builder: ["left", "right"],
6824
6833
  aliases: ["Pattern", "PatternLike", "LVal"],
6825
- fields: Object.assign({}, patternLikeCommon, {
6834
+ fields: Object.assign({}, patternLikeCommon(), {
6826
6835
  left: {
6827
6836
  validate: (0, _utils.assertNodeType)("Identifier", "ObjectPattern", "ArrayPattern", "MemberExpression", "TSAsExpression", "TSTypeAssertion", "TSNonNullExpression")
6828
6837
  },
@@ -6839,7 +6848,7 @@ function requireCore$2 () {
6839
6848
  visitor: ["elements", "typeAnnotation"],
6840
6849
  builder: ["elements"],
6841
6850
  aliases: ["Pattern", "PatternLike", "LVal"],
6842
- fields: Object.assign({}, patternLikeCommon, {
6851
+ fields: Object.assign({}, patternLikeCommon(), {
6843
6852
  elements: {
6844
6853
  validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeOrValueType)("null", "PatternLike")))
6845
6854
  },
@@ -6857,7 +6866,7 @@ function requireCore$2 () {
6857
6866
  builder: ["params", "body", "async"],
6858
6867
  visitor: ["params", "body", "returnType", "typeParameters"],
6859
6868
  aliases: ["Scopable", "Function", "BlockParent", "FunctionParent", "Expression", "Pureish"],
6860
- fields: Object.assign({}, functionCommon, functionTypeAnnotationCommon, {
6869
+ fields: Object.assign({}, functionCommon(), functionTypeAnnotationCommon(), {
6861
6870
  expression: {
6862
6871
  validate: (0, _utils.assertValueType)("boolean")
6863
6872
  },
@@ -7171,7 +7180,8 @@ function requireCore$2 () {
7171
7180
  }
7172
7181
  }
7173
7182
  });
7174
- const classMethodOrPropertyCommon = {
7183
+
7184
+ const classMethodOrPropertyCommon = () => ({
7175
7185
  abstract: {
7176
7186
  validate: (0, _utils.assertValueType)("boolean"),
7177
7187
  optional: true
@@ -7201,11 +7211,13 @@ function requireCore$2 () {
7201
7211
  const validator = node.computed ? computed : normal;
7202
7212
  validator(node, key, val);
7203
7213
  };
7204
- }(), (0, _utils.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "Expression"))
7214
+ }(), (0, _utils.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral", "Expression"))
7205
7215
  }
7206
- };
7216
+ });
7217
+
7207
7218
  core$2.classMethodOrPropertyCommon = classMethodOrPropertyCommon;
7208
- const classMethodOrDeclareMethodCommon = Object.assign({}, functionCommon, classMethodOrPropertyCommon, {
7219
+
7220
+ const classMethodOrDeclareMethodCommon = () => Object.assign({}, functionCommon(), classMethodOrPropertyCommon(), {
7209
7221
  params: {
7210
7222
  validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Identifier", "Pattern", "RestElement", "TSParameterProperty")))
7211
7223
  },
@@ -7222,12 +7234,13 @@ function requireCore$2 () {
7222
7234
  optional: true
7223
7235
  }
7224
7236
  });
7237
+
7225
7238
  core$2.classMethodOrDeclareMethodCommon = classMethodOrDeclareMethodCommon;
7226
7239
  defineType("ClassMethod", {
7227
7240
  aliases: ["Function", "Scopable", "BlockParent", "FunctionParent", "Method"],
7228
7241
  builder: ["kind", "key", "params", "body", "computed", "static", "generator", "async"],
7229
7242
  visitor: ["key", "params", "body", "decorators", "returnType", "typeParameters"],
7230
- fields: Object.assign({}, classMethodOrDeclareMethodCommon, functionTypeAnnotationCommon, {
7243
+ fields: Object.assign({}, classMethodOrDeclareMethodCommon(), functionTypeAnnotationCommon(), {
7231
7244
  body: {
7232
7245
  validate: (0, _utils.assertNodeType)("BlockStatement")
7233
7246
  }
@@ -7237,7 +7250,7 @@ function requireCore$2 () {
7237
7250
  visitor: ["properties", "typeAnnotation", "decorators"],
7238
7251
  builder: ["properties"],
7239
7252
  aliases: ["Pattern", "PatternLike", "LVal"],
7240
- fields: Object.assign({}, patternLikeCommon, {
7253
+ fields: Object.assign({}, patternLikeCommon(), {
7241
7254
  properties: {
7242
7255
  validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("RestElement", "ObjectProperty")))
7243
7256
  }
@@ -7418,7 +7431,7 @@ function requireCore$2 () {
7418
7431
  visitor: ["key", "value", "typeAnnotation", "decorators"],
7419
7432
  builder: ["key", "value", "typeAnnotation", "decorators", "computed", "static"],
7420
7433
  aliases: ["Property"],
7421
- fields: Object.assign({}, classMethodOrPropertyCommon, {
7434
+ fields: Object.assign({}, classMethodOrPropertyCommon(), {
7422
7435
  value: {
7423
7436
  validate: (0, _utils.assertNodeType)("Expression"),
7424
7437
  optional: true
@@ -7453,16 +7466,16 @@ function requireCore$2 () {
7453
7466
  visitor: ["key", "value", "typeAnnotation", "decorators"],
7454
7467
  builder: ["key", "value", "typeAnnotation", "decorators", "computed", "static"],
7455
7468
  aliases: ["Property", "Accessor"],
7456
- fields: Object.assign({}, classMethodOrPropertyCommon, {
7469
+ fields: Object.assign({}, classMethodOrPropertyCommon(), {
7457
7470
  key: {
7458
7471
  validate: (0, _utils.chain)(function () {
7459
- const normal = (0, _utils.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "PrivateName");
7472
+ const normal = (0, _utils.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral", "PrivateName");
7460
7473
  const computed = (0, _utils.assertNodeType)("Expression");
7461
7474
  return function (node, key, val) {
7462
7475
  const validator = node.computed ? computed : normal;
7463
7476
  validator(node, key, val);
7464
7477
  };
7465
- }(), (0, _utils.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "Expression", "PrivateName"))
7478
+ }(), (0, _utils.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral", "Expression", "PrivateName"))
7466
7479
  },
7467
7480
  value: {
7468
7481
  validate: (0, _utils.assertNodeType)("Expression"),
@@ -7514,6 +7527,10 @@ function requireCore$2 () {
7514
7527
  validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Decorator"))),
7515
7528
  optional: true
7516
7529
  },
7530
+ static: {
7531
+ validate: (0, _utils.assertValueType)("boolean"),
7532
+ default: false
7533
+ },
7517
7534
  readonly: {
7518
7535
  validate: (0, _utils.assertValueType)("boolean"),
7519
7536
  optional: true
@@ -7532,7 +7549,11 @@ function requireCore$2 () {
7532
7549
  builder: ["kind", "key", "params", "body", "static"],
7533
7550
  visitor: ["key", "params", "body", "decorators", "returnType", "typeParameters"],
7534
7551
  aliases: ["Function", "Scopable", "BlockParent", "FunctionParent", "Method", "Private"],
7535
- fields: Object.assign({}, classMethodOrDeclareMethodCommon, functionTypeAnnotationCommon, {
7552
+ fields: Object.assign({}, classMethodOrDeclareMethodCommon(), functionTypeAnnotationCommon(), {
7553
+ kind: {
7554
+ validate: (0, _utils.assertOneOf)("get", "set", "method"),
7555
+ default: "method"
7556
+ },
7536
7557
  key: {
7537
7558
  validate: (0, _utils.assertNodeType)("PrivateName")
7538
7559
  },
@@ -8453,7 +8474,8 @@ function requireTypescript$1 () {
8453
8474
 
8454
8475
  const defineType = (0, _utils.defineAliasedType)("TypeScript");
8455
8476
  const bool = (0, _utils.assertValueType)("boolean");
8456
- const tSFunctionTypeAnnotationCommon = {
8477
+
8478
+ const tSFunctionTypeAnnotationCommon = () => ({
8457
8479
  returnType: {
8458
8480
  validate: (0, _utils.assertNodeType)("TSTypeAnnotation", "Noop"),
8459
8481
  optional: true
@@ -8462,7 +8484,8 @@ function requireTypescript$1 () {
8462
8484
  validate: (0, _utils.assertNodeType)("TSTypeParameterDeclaration", "Noop"),
8463
8485
  optional: true
8464
8486
  }
8465
- };
8487
+ });
8488
+
8466
8489
  defineType("TSParameterProperty", {
8467
8490
  aliases: ["LVal"],
8468
8491
  visitor: ["parameter"],
@@ -8491,11 +8514,11 @@ function requireTypescript$1 () {
8491
8514
  defineType("TSDeclareFunction", {
8492
8515
  aliases: ["Statement", "Declaration"],
8493
8516
  visitor: ["id", "typeParameters", "params", "returnType"],
8494
- fields: Object.assign({}, _core.functionDeclarationCommon, tSFunctionTypeAnnotationCommon)
8517
+ fields: Object.assign({}, (0, _core.functionDeclarationCommon)(), tSFunctionTypeAnnotationCommon())
8495
8518
  });
8496
8519
  defineType("TSDeclareMethod", {
8497
8520
  visitor: ["decorators", "key", "typeParameters", "params", "returnType"],
8498
- fields: Object.assign({}, _core.classMethodOrDeclareMethodCommon, tSFunctionTypeAnnotationCommon)
8521
+ fields: Object.assign({}, (0, _core.classMethodOrDeclareMethodCommon)(), tSFunctionTypeAnnotationCommon())
8499
8522
  });
8500
8523
  defineType("TSQualifiedName", {
8501
8524
  aliases: ["TSEntityName"],
@@ -8505,27 +8528,33 @@ function requireTypescript$1 () {
8505
8528
  right: (0, _utils.validateType)("Identifier")
8506
8529
  }
8507
8530
  });
8508
- const signatureDeclarationCommon = {
8531
+
8532
+ const signatureDeclarationCommon = () => ({
8509
8533
  typeParameters: (0, _utils.validateOptionalType)("TSTypeParameterDeclaration"),
8510
8534
  ["parameters"]: (0, _utils.validateArrayOfType)(["Identifier", "RestElement"]),
8511
8535
  ["typeAnnotation"]: (0, _utils.validateOptionalType)("TSTypeAnnotation")
8512
- };
8536
+ });
8537
+
8513
8538
  const callConstructSignatureDeclaration = {
8514
8539
  aliases: ["TSTypeElement"],
8515
8540
  visitor: ["typeParameters", "parameters", "typeAnnotation"],
8516
- fields: signatureDeclarationCommon
8541
+ fields: signatureDeclarationCommon()
8517
8542
  };
8518
8543
  defineType("TSCallSignatureDeclaration", callConstructSignatureDeclaration);
8519
8544
  defineType("TSConstructSignatureDeclaration", callConstructSignatureDeclaration);
8520
- const namedTypeElementCommon = {
8545
+
8546
+ const namedTypeElementCommon = () => ({
8521
8547
  key: (0, _utils.validateType)("Expression"),
8522
- computed: (0, _utils.validate)(bool),
8548
+ computed: {
8549
+ default: false
8550
+ },
8523
8551
  optional: (0, _utils.validateOptional)(bool)
8524
- };
8552
+ });
8553
+
8525
8554
  defineType("TSPropertySignature", {
8526
8555
  aliases: ["TSTypeElement"],
8527
8556
  visitor: ["key", "typeAnnotation", "initializer"],
8528
- fields: Object.assign({}, namedTypeElementCommon, {
8557
+ fields: Object.assign({}, namedTypeElementCommon(), {
8529
8558
  readonly: (0, _utils.validateOptional)(bool),
8530
8559
  typeAnnotation: (0, _utils.validateOptionalType)("TSTypeAnnotation"),
8531
8560
  initializer: (0, _utils.validateOptionalType)("Expression"),
@@ -8537,7 +8566,7 @@ function requireTypescript$1 () {
8537
8566
  defineType("TSMethodSignature", {
8538
8567
  aliases: ["TSTypeElement"],
8539
8568
  visitor: ["key", "typeParameters", "parameters", "typeAnnotation"],
8540
- fields: Object.assign({}, signatureDeclarationCommon, namedTypeElementCommon, {
8569
+ fields: Object.assign({}, signatureDeclarationCommon(), namedTypeElementCommon(), {
8541
8570
  kind: {
8542
8571
  validate: (0, _utils.assertOneOf)("method", "get", "set")
8543
8572
  }
@@ -8573,10 +8602,10 @@ function requireTypescript$1 () {
8573
8602
  visitor: ["typeParameters", "parameters", "typeAnnotation"]
8574
8603
  };
8575
8604
  defineType("TSFunctionType", Object.assign({}, fnOrCtrBase, {
8576
- fields: signatureDeclarationCommon
8605
+ fields: signatureDeclarationCommon()
8577
8606
  }));
8578
8607
  defineType("TSConstructorType", Object.assign({}, fnOrCtrBase, {
8579
- fields: Object.assign({}, signatureDeclarationCommon, {
8608
+ fields: Object.assign({}, signatureDeclarationCommon(), {
8580
8609
  abstract: (0, _utils.validateOptional)(bool)
8581
8610
  })
8582
8611
  }));
@@ -10056,7 +10085,7 @@ function requireGenerated () {
10056
10085
  });
10057
10086
  }
10058
10087
 
10059
- function classPrivateProperty(key, value = null, decorators = null, _static) {
10088
+ function classPrivateProperty(key, value = null, decorators = null, _static = false) {
10060
10089
  return (0, _validateNode.default)({
10061
10090
  type: "ClassPrivateProperty",
10062
10091
  key,
@@ -13050,13 +13079,13 @@ removeTypeDuplicates$3.default = removeTypeDuplicates$2;
13050
13079
 
13051
13080
  var _generated$b = generated$4;
13052
13081
 
13053
- function getQualifiedName(node) {
13054
- return (0, _generated$b.isIdentifier)(node) ? node.name : `${node.id.name}.${getQualifiedName(node.qualification)}`;
13082
+ function getQualifiedName$1(node) {
13083
+ return (0, _generated$b.isIdentifier)(node) ? node.name : `${node.id.name}.${getQualifiedName$1(node.qualification)}`;
13055
13084
  }
13056
13085
 
13057
13086
  function removeTypeDuplicates$2(nodes) {
13058
- const generics = {};
13059
- const bases = {};
13087
+ const generics = new Map();
13088
+ const bases = new Map();
13060
13089
  const typeGroups = new Set();
13061
13090
  const types = [];
13062
13091
 
@@ -13073,7 +13102,7 @@ function removeTypeDuplicates$2(nodes) {
13073
13102
  }
13074
13103
 
13075
13104
  if ((0, _generated$b.isFlowBaseAnnotation)(node)) {
13076
- bases[node.type] = node;
13105
+ bases.set(node.type, node);
13077
13106
  continue;
13078
13107
  }
13079
13108
 
@@ -13087,10 +13116,10 @@ function removeTypeDuplicates$2(nodes) {
13087
13116
  }
13088
13117
 
13089
13118
  if ((0, _generated$b.isGenericTypeAnnotation)(node)) {
13090
- const name = getQualifiedName(node.id);
13119
+ const name = getQualifiedName$1(node.id);
13091
13120
 
13092
- if (generics[name]) {
13093
- let existing = generics[name];
13121
+ if (generics.has(name)) {
13122
+ let existing = generics.get(name);
13094
13123
 
13095
13124
  if (existing.typeParameters) {
13096
13125
  if (node.typeParameters) {
@@ -13100,7 +13129,7 @@ function removeTypeDuplicates$2(nodes) {
13100
13129
  existing = node.typeParameters;
13101
13130
  }
13102
13131
  } else {
13103
- generics[name] = node;
13132
+ generics.set(name, node);
13104
13133
  }
13105
13134
 
13106
13135
  continue;
@@ -13109,12 +13138,12 @@ function removeTypeDuplicates$2(nodes) {
13109
13138
  types.push(node);
13110
13139
  }
13111
13140
 
13112
- for (const type of Object.keys(bases)) {
13113
- types.push(bases[type]);
13141
+ for (const [, baseType] of bases) {
13142
+ types.push(baseType);
13114
13143
  }
13115
13144
 
13116
- for (const name of Object.keys(generics)) {
13117
- types.push(generics[name]);
13145
+ for (const [, genericName] of generics) {
13146
+ types.push(genericName);
13118
13147
  }
13119
13148
 
13120
13149
  return types;
@@ -13158,9 +13187,13 @@ removeTypeDuplicates$1.default = removeTypeDuplicates;
13158
13187
 
13159
13188
  var _generated$a = generated$4;
13160
13189
 
13190
+ function getQualifiedName(node) {
13191
+ return (0, _generated$a.isIdentifier)(node) ? node.name : `${node.right.name}.${getQualifiedName(node.left)}`;
13192
+ }
13193
+
13161
13194
  function removeTypeDuplicates(nodes) {
13162
- const generics = {};
13163
- const bases = {};
13195
+ const generics = new Map();
13196
+ const bases = new Map();
13164
13197
  const typeGroups = new Set();
13165
13198
  const types = [];
13166
13199
 
@@ -13177,7 +13210,7 @@ function removeTypeDuplicates(nodes) {
13177
13210
  }
13178
13211
 
13179
13212
  if ((0, _generated$a.isTSBaseType)(node)) {
13180
- bases[node.type] = node;
13213
+ bases.set(node.type, node);
13181
13214
  continue;
13182
13215
  }
13183
13216
 
@@ -13190,15 +13223,35 @@ function removeTypeDuplicates(nodes) {
13190
13223
  continue;
13191
13224
  }
13192
13225
 
13226
+ if ((0, _generated$a.isTSTypeReference)(node) && node.typeParameters) {
13227
+ const name = getQualifiedName(node.typeName);
13228
+
13229
+ if (generics.has(name)) {
13230
+ let existing = generics.get(name);
13231
+
13232
+ if (existing.typeParameters) {
13233
+ if (node.typeParameters) {
13234
+ existing.typeParameters.params = removeTypeDuplicates(existing.typeParameters.params.concat(node.typeParameters.params));
13235
+ }
13236
+ } else {
13237
+ existing = node.typeParameters;
13238
+ }
13239
+ } else {
13240
+ generics.set(name, node);
13241
+ }
13242
+
13243
+ continue;
13244
+ }
13245
+
13193
13246
  types.push(node);
13194
13247
  }
13195
13248
 
13196
- for (const type of Object.keys(bases)) {
13197
- types.push(bases[type]);
13249
+ for (const [, baseType] of bases) {
13250
+ types.push(baseType);
13198
13251
  }
13199
13252
 
13200
- for (const name of Object.keys(generics)) {
13201
- types.push(generics[name]);
13253
+ for (const [, genericName] of generics) {
13254
+ types.push(genericName);
13202
13255
  }
13203
13256
 
13204
13257
  return types;
@@ -13219,8 +13272,12 @@ function requireCreateTSUnionType () {
13219
13272
 
13220
13273
  var _removeTypeDuplicates = removeTypeDuplicates$1;
13221
13274
 
13275
+ var _index = generated$4;
13276
+
13222
13277
  function createTSUnionType(typeAnnotations) {
13223
- const types = typeAnnotations.map(type => type.typeAnnotation);
13278
+ const types = typeAnnotations.map(type => {
13279
+ return (0, _index.isTSTypeAnnotation)(type) ? type.typeAnnotation : type;
13280
+ });
13224
13281
  const flattened = (0, _removeTypeDuplicates.default)(types);
13225
13282
 
13226
13283
  if (flattened.length === 1) {
@@ -17018,7 +17075,7 @@ Object.defineProperty(virtualTypes$1, "__esModule", {
17018
17075
  });
17019
17076
  virtualTypes$1.Var = virtualTypes$1.User = virtualTypes$1.Statement = virtualTypes$1.SpreadProperty = virtualTypes$1.Scope = virtualTypes$1.RestProperty = virtualTypes$1.ReferencedMemberExpression = virtualTypes$1.ReferencedIdentifier = virtualTypes$1.Referenced = virtualTypes$1.Pure = virtualTypes$1.NumericLiteralTypeAnnotation = virtualTypes$1.Generated = virtualTypes$1.ForAwaitStatement = virtualTypes$1.Flow = virtualTypes$1.Expression = virtualTypes$1.ExistentialTypeParam = virtualTypes$1.BlockScoped = virtualTypes$1.BindingIdentifier = void 0;
17020
17077
 
17021
- var _t$q = requireLib$a();
17078
+ var _t$r = requireLib$a();
17022
17079
 
17023
17080
  const {
17024
17081
  isBinding,
@@ -17040,7 +17097,7 @@ const {
17040
17097
  isVar,
17041
17098
  isVariableDeclaration,
17042
17099
  react: react$1
17043
- } = _t$q;
17100
+ } = _t$r;
17044
17101
  const {
17045
17102
  isCompatTag
17046
17103
  } = react$1;
@@ -17251,13 +17308,13 @@ visitors.verify = verify;
17251
17308
 
17252
17309
  var virtualTypes = virtualTypes$1;
17253
17310
 
17254
- var _t$p = requireLib$a();
17311
+ var _t$q = requireLib$a();
17255
17312
 
17256
17313
  const {
17257
17314
  DEPRECATED_KEYS,
17258
17315
  FLIPPED_ALIAS_KEYS: FLIPPED_ALIAS_KEYS$2,
17259
17316
  TYPES
17260
- } = _t$p;
17317
+ } = _t$q;
17261
17318
 
17262
17319
  function explode(visitor) {
17263
17320
  if (visitor._exploded) return visitor;
@@ -18320,7 +18377,7 @@ Object.defineProperty(lib$h, "__esModule", {
18320
18377
  });
18321
18378
  lib$h.default = splitExportDeclaration;
18322
18379
 
18323
- var _t$o = requireLib$a();
18380
+ var _t$p = requireLib$a();
18324
18381
 
18325
18382
  const {
18326
18383
  cloneNode: cloneNode$5,
@@ -18329,7 +18386,7 @@ const {
18329
18386
  identifier: identifier$5,
18330
18387
  variableDeclaration: variableDeclaration$2,
18331
18388
  variableDeclarator: variableDeclarator$2
18332
- } = _t$o;
18389
+ } = _t$p;
18333
18390
 
18334
18391
  function splitExportDeclaration(exportDeclaration) {
18335
18392
  if (!exportDeclaration.isExportDeclaration() || exportDeclaration.isExportAllDeclaration()) {
@@ -23507,16 +23564,30 @@ function requireResolveUri_umd () {
23507
23564
  * 3. Host, guaranteed.
23508
23565
  * 4. Port, including ":", optional.
23509
23566
  * 5. Path, including "/", optional.
23567
+ * 6. Query, including "?", optional.
23568
+ * 7. Hash, including "#", optional.
23510
23569
  */
23511
- const urlRegex = /^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?/;
23570
+ const urlRegex = /^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/;
23512
23571
  /**
23513
23572
  * File URLs are weird. They dont' need the regular `//` in the scheme, they may or may not start
23514
23573
  * with a leading `/`, they can have a domain (but only if they don't start with a Windows drive).
23515
23574
  *
23516
23575
  * 1. Host, optional.
23517
- * 2. Path, which may inclue "/", guaranteed.
23576
+ * 2. Path, which may include "/", guaranteed.
23577
+ * 3. Query, including "?", optional.
23578
+ * 4. Hash, including "#", optional.
23518
23579
  */
23519
- const fileRegex = /^file:(?:\/\/((?![a-z]:)[^/]*)?)?(\/?.*)/i;
23580
+ const fileRegex = /^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;
23581
+ var UrlType;
23582
+ (function (UrlType) {
23583
+ UrlType[UrlType["Empty"] = 1] = "Empty";
23584
+ UrlType[UrlType["Hash"] = 2] = "Hash";
23585
+ UrlType[UrlType["Query"] = 3] = "Query";
23586
+ UrlType[UrlType["RelativePath"] = 4] = "RelativePath";
23587
+ UrlType[UrlType["AbsolutePath"] = 5] = "AbsolutePath";
23588
+ UrlType[UrlType["SchemeRelative"] = 6] = "SchemeRelative";
23589
+ UrlType[UrlType["Absolute"] = 7] = "Absolute";
23590
+ })(UrlType || (UrlType = {}));
23520
23591
  function isAbsoluteUrl(input) {
23521
23592
  return schemeRegex.test(input);
23522
23593
  }
@@ -23529,35 +23600,42 @@ function requireResolveUri_umd () {
23529
23600
  function isFileUrl(input) {
23530
23601
  return input.startsWith('file:');
23531
23602
  }
23603
+ function isRelative(input) {
23604
+ return /^[.?#]/.test(input);
23605
+ }
23532
23606
  function parseAbsoluteUrl(input) {
23533
23607
  const match = urlRegex.exec(input);
23534
- return makeUrl(match[1], match[2] || '', match[3], match[4] || '', match[5] || '/');
23608
+ return makeUrl(match[1], match[2] || '', match[3], match[4] || '', match[5] || '/', match[6] || '', match[7] || '');
23535
23609
  }
23536
23610
  function parseFileUrl(input) {
23537
23611
  const match = fileRegex.exec(input);
23538
23612
  const path = match[2];
23539
- return makeUrl('file:', '', match[1] || '', '', isAbsolutePath(path) ? path : '/' + path);
23613
+ return makeUrl('file:', '', match[1] || '', '', isAbsolutePath(path) ? path : '/' + path, match[3] || '', match[4] || '');
23540
23614
  }
23541
- function makeUrl(scheme, user, host, port, path) {
23615
+ function makeUrl(scheme, user, host, port, path, query, hash) {
23542
23616
  return {
23543
23617
  scheme,
23544
23618
  user,
23545
23619
  host,
23546
23620
  port,
23547
23621
  path,
23548
- relativePath: false,
23622
+ query,
23623
+ hash,
23624
+ type: UrlType.Absolute,
23549
23625
  };
23550
23626
  }
23551
23627
  function parseUrl(input) {
23552
23628
  if (isSchemeRelativeUrl(input)) {
23553
23629
  const url = parseAbsoluteUrl('http:' + input);
23554
23630
  url.scheme = '';
23631
+ url.type = UrlType.SchemeRelative;
23555
23632
  return url;
23556
23633
  }
23557
23634
  if (isAbsolutePath(input)) {
23558
23635
  const url = parseAbsoluteUrl('http://foo.com' + input);
23559
23636
  url.scheme = '';
23560
23637
  url.host = '';
23638
+ url.type = UrlType.AbsolutePath;
23561
23639
  return url;
23562
23640
  }
23563
23641
  if (isFileUrl(input))
@@ -23567,7 +23645,13 @@ function requireResolveUri_umd () {
23567
23645
  const url = parseAbsoluteUrl('http://foo.com/' + input);
23568
23646
  url.scheme = '';
23569
23647
  url.host = '';
23570
- url.relativePath = true;
23648
+ url.type = input
23649
+ ? input.startsWith('?')
23650
+ ? UrlType.Query
23651
+ : input.startsWith('#')
23652
+ ? UrlType.Hash
23653
+ : UrlType.RelativePath
23654
+ : UrlType.Empty;
23571
23655
  return url;
23572
23656
  }
23573
23657
  function stripPathFilename(path) {
@@ -23579,10 +23663,7 @@ function requireResolveUri_umd () {
23579
23663
  return path.slice(0, index + 1);
23580
23664
  }
23581
23665
  function mergePaths(url, base) {
23582
- // If we're not a relative path, then we're an absolute path, and it doesn't matter what base is.
23583
- if (!url.relativePath)
23584
- return;
23585
- normalizePath(base);
23666
+ normalizePath(base, base.type);
23586
23667
  // If the path is just a "/", then it was an empty path to begin with (remember, we're a relative
23587
23668
  // path).
23588
23669
  if (url.path === '/') {
@@ -23592,15 +23673,13 @@ function requireResolveUri_umd () {
23592
23673
  // Resolution happens relative to the base path's directory, not the file.
23593
23674
  url.path = stripPathFilename(base.path) + url.path;
23594
23675
  }
23595
- // If the base path is absolute, then our path is now absolute too.
23596
- url.relativePath = base.relativePath;
23597
23676
  }
23598
23677
  /**
23599
23678
  * The path can have empty directories "//", unneeded parents "foo/..", or current directory
23600
23679
  * "foo/.". We need to normalize to a standard representation.
23601
23680
  */
23602
- function normalizePath(url) {
23603
- const { relativePath } = url;
23681
+ function normalizePath(url, type) {
23682
+ const rel = type <= UrlType.RelativePath;
23604
23683
  const pieces = url.path.split('/');
23605
23684
  // We need to preserve the first piece always, so that we output a leading slash. The item at
23606
23685
  // pieces[0] is an empty string.
@@ -23632,7 +23711,7 @@ function requireResolveUri_umd () {
23632
23711
  positive--;
23633
23712
  pointer--;
23634
23713
  }
23635
- else if (relativePath) {
23714
+ else if (rel) {
23636
23715
  // If we're in a relativePath, then we need to keep the excess parents. Else, in an absolute
23637
23716
  // URL, protocol relative URL, or an absolute path, we don't need to keep excess.
23638
23717
  pieces[pointer++] = piece;
@@ -23660,37 +23739,60 @@ function requireResolveUri_umd () {
23660
23739
  if (!input && !base)
23661
23740
  return '';
23662
23741
  const url = parseUrl(input);
23663
- // If we have a base, and the input isn't already an absolute URL, then we need to merge.
23664
- if (base && !url.scheme) {
23742
+ let inputType = url.type;
23743
+ if (base && inputType !== UrlType.Absolute) {
23665
23744
  const baseUrl = parseUrl(base);
23666
- url.scheme = baseUrl.scheme;
23667
- // If there's no host, then we were just a path.
23668
- if (!url.host) {
23669
- // The host, user, and port are joined, you can't copy one without the others.
23670
- url.user = baseUrl.user;
23671
- url.host = baseUrl.host;
23672
- url.port = baseUrl.port;
23745
+ const baseType = baseUrl.type;
23746
+ switch (inputType) {
23747
+ case UrlType.Empty:
23748
+ url.hash = baseUrl.hash;
23749
+ // fall through
23750
+ case UrlType.Hash:
23751
+ url.query = baseUrl.query;
23752
+ // fall through
23753
+ case UrlType.Query:
23754
+ case UrlType.RelativePath:
23755
+ mergePaths(url, baseUrl);
23756
+ // fall through
23757
+ case UrlType.AbsolutePath:
23758
+ // The host, user, and port are joined, you can't copy one without the others.
23759
+ url.user = baseUrl.user;
23760
+ url.host = baseUrl.host;
23761
+ url.port = baseUrl.port;
23762
+ // fall through
23763
+ case UrlType.SchemeRelative:
23764
+ // The input doesn't have a schema at least, so we need to copy at least that over.
23765
+ url.scheme = baseUrl.scheme;
23673
23766
  }
23674
- mergePaths(url, baseUrl);
23767
+ if (baseType > inputType)
23768
+ inputType = baseType;
23675
23769
  }
23676
- normalizePath(url);
23677
- // If the input (and base, if there was one) are both relative, then we need to output a relative.
23678
- if (url.relativePath) {
23679
- // The first char is always a "/".
23680
- const path = url.path.slice(1);
23681
- if (!path)
23682
- return '.';
23683
- // If base started with a leading ".", or there is no base and input started with a ".", then we
23684
- // need to ensure that the relative path starts with a ".". We don't know if relative starts
23685
- // with a "..", though, so check before prepending.
23686
- const keepRelative = (base || input).startsWith('.');
23687
- return !keepRelative || path.startsWith('.') ? path : './' + path;
23770
+ normalizePath(url, inputType);
23771
+ const queryHash = url.query + url.hash;
23772
+ switch (inputType) {
23773
+ // This is impossible, because of the empty checks at the start of the function.
23774
+ // case UrlType.Empty:
23775
+ case UrlType.Hash:
23776
+ case UrlType.Query:
23777
+ return queryHash;
23778
+ case UrlType.RelativePath: {
23779
+ // The first char is always a "/", and we need it to be relative.
23780
+ const path = url.path.slice(1);
23781
+ if (!path)
23782
+ return queryHash || '.';
23783
+ if (isRelative(base || input) && !isRelative(path)) {
23784
+ // If base started with a leading ".", or there is no base and input started with a ".",
23785
+ // then we need to ensure that the relative path starts with a ".". We don't know if
23786
+ // relative starts with a "..", though, so check before prepending.
23787
+ return './' + path + queryHash;
23788
+ }
23789
+ return path + queryHash;
23790
+ }
23791
+ case UrlType.AbsolutePath:
23792
+ return url.path + queryHash;
23793
+ default:
23794
+ return url.scheme + '//' + url.user + url.host + url.port + url.path + queryHash;
23688
23795
  }
23689
- // If there's no host (and no scheme/user/port), then we need to output an absolute path.
23690
- if (!url.scheme && !url.host)
23691
- return url.path;
23692
- // We're outputting either an absolute URL, or a protocol relative one.
23693
- return `${url.scheme}//${url.user}${url.host}${url.port}${url.path}`;
23694
23796
  }
23695
23797
 
23696
23798
  return resolve;
@@ -24807,7 +24909,7 @@ Object.defineProperty(whitespace$1, "__esModule", {
24807
24909
  });
24808
24910
  whitespace$1.nodes = whitespace$1.list = void 0;
24809
24911
 
24810
- var _t$n = requireLib$a();
24912
+ var _t$o = requireLib$a();
24811
24913
 
24812
24914
  const {
24813
24915
  FLIPPED_ALIAS_KEYS: FLIPPED_ALIAS_KEYS$1,
@@ -24824,7 +24926,7 @@ const {
24824
24926
  isOptionalCallExpression: isOptionalCallExpression$1,
24825
24927
  isOptionalMemberExpression: isOptionalMemberExpression$1,
24826
24928
  isStringLiteral: isStringLiteral$3
24827
- } = _t$n;
24929
+ } = _t$o;
24828
24930
 
24829
24931
  function crawl(node, state = {}) {
24830
24932
  if (isMemberExpression$3(node) || isOptionalMemberExpression$1(node)) {
@@ -25042,10 +25144,10 @@ parentheses.IntersectionTypeAnnotation = parentheses.UnionTypeAnnotation = Union
25042
25144
  parentheses.UpdateExpression = UpdateExpression$1;
25043
25145
  parentheses.AwaitExpression = parentheses.YieldExpression = YieldExpression$1;
25044
25146
 
25045
- var _t$m = requireLib$a();
25147
+ var _t$n = requireLib$a();
25046
25148
 
25047
25149
  const {
25048
- isArrayTypeAnnotation,
25150
+ isArrayTypeAnnotation: isArrayTypeAnnotation$1,
25049
25151
  isArrowFunctionExpression,
25050
25152
  isAssignmentExpression: isAssignmentExpression$1,
25051
25153
  isAwaitExpression,
@@ -25078,7 +25180,7 @@ const {
25078
25180
  isReturnStatement,
25079
25181
  isSequenceExpression,
25080
25182
  isSwitchStatement,
25081
- isTSArrayType,
25183
+ isTSArrayType: isTSArrayType$1,
25082
25184
  isTSAsExpression,
25083
25185
  isTSInstantiationExpression,
25084
25186
  isTSIntersectionType,
@@ -25095,7 +25197,7 @@ const {
25095
25197
  isVariableDeclarator: isVariableDeclarator$1,
25096
25198
  isWhileStatement,
25097
25199
  isYieldExpression
25098
- } = _t$m;
25200
+ } = _t$n;
25099
25201
  const PRECEDENCE = {
25100
25202
  "||": 0,
25101
25203
  "??": 0,
@@ -25132,11 +25234,11 @@ const isClassExtendsClause = (node, parent) => isClass(parent, {
25132
25234
  const hasPostfixPart = (node, parent) => (isMemberExpression$2(parent) || isOptionalMemberExpression(parent)) && parent.object === node || (isCallExpression$3(parent) || isOptionalCallExpression(parent) || isNewExpression$3(parent)) && parent.callee === node || isTaggedTemplateExpression(parent) && parent.tag === node || isTSNonNullExpression(parent);
25133
25235
 
25134
25236
  function NullableTypeAnnotation(node, parent) {
25135
- return isArrayTypeAnnotation(parent);
25237
+ return isArrayTypeAnnotation$1(parent);
25136
25238
  }
25137
25239
 
25138
25240
  function FunctionTypeAnnotation(node, parent, printStack) {
25139
- return isUnionTypeAnnotation$1(parent) || isIntersectionTypeAnnotation(parent) || isArrayTypeAnnotation(parent) || isTypeAnnotation$1(parent) && isArrowFunctionExpression(printStack[printStack.length - 3]);
25241
+ return isUnionTypeAnnotation$1(parent) || isIntersectionTypeAnnotation(parent) || isArrayTypeAnnotation$1(parent) || isTypeAnnotation$1(parent) && isArrowFunctionExpression(printStack[printStack.length - 3]);
25140
25242
  }
25141
25243
 
25142
25244
  function UpdateExpression$1(node, parent) {
@@ -25184,7 +25286,7 @@ function Binary(node, parent) {
25184
25286
  }
25185
25287
 
25186
25288
  function UnionTypeAnnotation(node, parent) {
25187
- return isArrayTypeAnnotation(parent) || isNullableTypeAnnotation(parent) || isIntersectionTypeAnnotation(parent) || isUnionTypeAnnotation$1(parent);
25289
+ return isArrayTypeAnnotation$1(parent) || isNullableTypeAnnotation(parent) || isIntersectionTypeAnnotation(parent) || isUnionTypeAnnotation$1(parent);
25188
25290
  }
25189
25291
 
25190
25292
  function OptionalIndexedAccessType(node, parent) {
@@ -25202,11 +25304,11 @@ function TSTypeAssertion$1() {
25202
25304
  }
25203
25305
 
25204
25306
  function TSUnionType$1(node, parent) {
25205
- return isTSArrayType(parent) || isTSOptionalType(parent) || isTSIntersectionType(parent) || isTSUnionType(parent) || isTSRestType(parent);
25307
+ return isTSArrayType$1(parent) || isTSOptionalType(parent) || isTSIntersectionType(parent) || isTSUnionType(parent) || isTSRestType(parent);
25206
25308
  }
25207
25309
 
25208
25310
  function TSInferType$1(node, parent) {
25209
- return isTSArrayType(parent) || isTSOptionalType(parent);
25311
+ return isTSArrayType$1(parent) || isTSOptionalType(parent);
25210
25312
  }
25211
25313
 
25212
25314
  function TSInstantiationExpression$1(node, parent) {
@@ -25385,7 +25487,7 @@ var whitespace = whitespace$1;
25385
25487
 
25386
25488
  var parens = parentheses;
25387
25489
 
25388
- var _t$l = requireLib$a();
25490
+ var _t$m = requireLib$a();
25389
25491
 
25390
25492
  const {
25391
25493
  FLIPPED_ALIAS_KEYS,
@@ -25393,7 +25495,7 @@ const {
25393
25495
  isExpressionStatement: isExpressionStatement$1,
25394
25496
  isMemberExpression: isMemberExpression$1,
25395
25497
  isNewExpression: isNewExpression$2
25396
- } = _t$l;
25498
+ } = _t$m;
25397
25499
 
25398
25500
  function expandAliases(obj) {
25399
25501
  const newObj = {};
@@ -25551,7 +25653,7 @@ expressions.UpdateExpression = UpdateExpression;
25551
25653
  expressions.V8IntrinsicIdentifier = V8IntrinsicIdentifier;
25552
25654
  expressions.YieldExpression = YieldExpression;
25553
25655
 
25554
- var _t$k = requireLib$a();
25656
+ var _t$l = requireLib$a();
25555
25657
 
25556
25658
  var n$1 = node;
25557
25659
 
@@ -25560,7 +25662,7 @@ const {
25560
25662
  isLiteral: isLiteral$2,
25561
25663
  isMemberExpression,
25562
25664
  isNewExpression: isNewExpression$1
25563
- } = _t$k;
25665
+ } = _t$l;
25564
25666
 
25565
25667
  function UnaryExpression(node) {
25566
25668
  if (node.operator === "void" || node.operator === "delete" || node.operator === "typeof" || node.operator === "throw") {
@@ -25896,14 +25998,14 @@ statements$2.VariableDeclarator = VariableDeclarator;
25896
25998
  statements$2.WhileStatement = WhileStatement;
25897
25999
  statements$2.WithStatement = WithStatement;
25898
26000
 
25899
- var _t$j = requireLib$a();
26001
+ var _t$k = requireLib$a();
25900
26002
 
25901
26003
  const {
25902
26004
  isFor,
25903
26005
  isForStatement,
25904
26006
  isIfStatement,
25905
26007
  isStatement: isStatement$3
25906
- } = _t$j;
26008
+ } = _t$k;
25907
26009
 
25908
26010
  function WithStatement(node) {
25909
26011
  this.word("with");
@@ -26228,12 +26330,12 @@ classes.ClassProperty = ClassProperty;
26228
26330
  classes.StaticBlock = StaticBlock;
26229
26331
  classes._classMethodHead = _classMethodHead;
26230
26332
 
26231
- var _t$i = requireLib$a();
26333
+ var _t$j = requireLib$a();
26232
26334
 
26233
26335
  const {
26234
26336
  isExportDefaultDeclaration,
26235
26337
  isExportNamedDeclaration
26236
- } = _t$i;
26338
+ } = _t$j;
26237
26339
 
26238
26340
  function ClassDeclaration(node, parent) {
26239
26341
  {
@@ -26443,11 +26545,11 @@ methods._parameters = _parameters;
26443
26545
  methods._params = _params;
26444
26546
  methods._predicate = _predicate;
26445
26547
 
26446
- var _t$h = requireLib$a();
26548
+ var _t$i = requireLib$a();
26447
26549
 
26448
26550
  const {
26449
26551
  isIdentifier: isIdentifier$6
26450
- } = _t$h;
26552
+ } = _t$i;
26451
26553
 
26452
26554
  function _params(node) {
26453
26555
  this.print(node.typeParameters, node);
@@ -26603,7 +26705,7 @@ modules.ImportDefaultSpecifier = ImportDefaultSpecifier;
26603
26705
  modules.ImportNamespaceSpecifier = ImportNamespaceSpecifier;
26604
26706
  modules.ImportSpecifier = ImportSpecifier;
26605
26707
 
26606
- var _t$g = requireLib$a();
26708
+ var _t$h = requireLib$a();
26607
26709
 
26608
26710
  const {
26609
26711
  isClassDeclaration,
@@ -26612,7 +26714,7 @@ const {
26612
26714
  isImportDefaultSpecifier,
26613
26715
  isImportNamespaceSpecifier,
26614
26716
  isStatement: isStatement$2
26615
- } = _t$g;
26717
+ } = _t$h;
26616
26718
 
26617
26719
  function ImportSpecifier(node) {
26618
26720
  if (node.importKind === "type" || node.importKind === "typeof") {
@@ -27186,14 +27288,14 @@ types$3.StringLiteral = StringLiteral;
27186
27288
  types$3.TopicReference = TopicReference;
27187
27289
  types$3.TupleExpression = TupleExpression;
27188
27290
 
27189
- var _t$f = requireLib$a();
27291
+ var _t$g = requireLib$a();
27190
27292
 
27191
27293
  var _jsesc = jsesc_1;
27192
27294
 
27193
27295
  const {
27194
27296
  isAssignmentPattern: isAssignmentPattern$1,
27195
27297
  isIdentifier: isIdentifier$5
27196
- } = _t$f;
27298
+ } = _t$g;
27197
27299
 
27198
27300
  function Identifier$2(node) {
27199
27301
  this.exactSource(node.loc, () => {
@@ -29472,7 +29574,7 @@ var _buffer = buffer;
29472
29574
 
29473
29575
  var n = node;
29474
29576
 
29475
- var _t$e = requireLib$a();
29577
+ var _t$f = requireLib$a();
29476
29578
 
29477
29579
  var generatorFunctions = generators;
29478
29580
 
@@ -29480,7 +29582,7 @@ const {
29480
29582
  isProgram: isProgram$1,
29481
29583
  isFile,
29482
29584
  isEmptyStatement
29483
- } = _t$e;
29585
+ } = _t$f;
29484
29586
  const SCIENTIFIC_NOTATION = /e/i;
29485
29587
  const ZERO_DECIMAL_INTEGER = /\.0+$/;
29486
29588
  const NON_DECIMAL_LITERAL = /^0[box]/;
@@ -30292,6 +30394,39 @@ var inferers$1 = {};
30292
30394
 
30293
30395
  var infererReference = {};
30294
30396
 
30397
+ var util$3 = {};
30398
+
30399
+ Object.defineProperty(util$3, "__esModule", {
30400
+ value: true
30401
+ });
30402
+ util$3.createUnionType = createUnionType;
30403
+
30404
+ var _t$e = requireLib$a();
30405
+
30406
+ const {
30407
+ createFlowUnionType,
30408
+ createTSUnionType,
30409
+ createUnionTypeAnnotation,
30410
+ isFlowType,
30411
+ isTSType
30412
+ } = _t$e;
30413
+
30414
+ function createUnionType(types) {
30415
+ {
30416
+ if (isFlowType(types[0])) {
30417
+ if (createFlowUnionType) {
30418
+ return createFlowUnionType(types);
30419
+ }
30420
+
30421
+ return createUnionTypeAnnotation(types);
30422
+ } else {
30423
+ if (createTSUnionType) {
30424
+ return createTSUnionType(types);
30425
+ }
30426
+ }
30427
+ }
30428
+ }
30429
+
30295
30430
  Object.defineProperty(infererReference, "__esModule", {
30296
30431
  value: true
30297
30432
  });
@@ -30299,13 +30434,11 @@ infererReference.default = _default$5;
30299
30434
 
30300
30435
  var _t$d = requireLib$a();
30301
30436
 
30437
+ var _util$2 = util$3;
30438
+
30302
30439
  const {
30303
30440
  BOOLEAN_NUMBER_BINARY_OPERATORS,
30304
- createFlowUnionType,
30305
- createTSUnionType,
30306
30441
  createTypeAnnotationBasedOnTypeof,
30307
- createUnionTypeAnnotation,
30308
- isTSTypeAnnotation,
30309
30442
  numberTypeAnnotation,
30310
30443
  voidTypeAnnotation: voidTypeAnnotation$1
30311
30444
  } = _t$d;
@@ -30353,15 +30486,7 @@ function getTypeAnnotationBindingConstantViolations(binding, path, name) {
30353
30486
  return;
30354
30487
  }
30355
30488
 
30356
- if (isTSTypeAnnotation(types[0]) && createTSUnionType) {
30357
- return createTSUnionType(types);
30358
- }
30359
-
30360
- if (createFlowUnionType) {
30361
- return createFlowUnionType(types);
30362
- }
30363
-
30364
- return createUnionTypeAnnotation(types);
30489
+ return (0, _util$2.createUnionType)(types);
30365
30490
  }
30366
30491
 
30367
30492
  function getConstantViolationsBefore(binding, path, functions) {
@@ -30474,22 +30599,8 @@ function getConditionalAnnotation(binding, path, name) {
30474
30599
  }
30475
30600
 
30476
30601
  if (types.length) {
30477
- if (isTSTypeAnnotation(types[0]) && createTSUnionType) {
30478
- return {
30479
- typeAnnotation: createTSUnionType(types),
30480
- ifStatement
30481
- };
30482
- }
30483
-
30484
- if (createFlowUnionType) {
30485
- return {
30486
- typeAnnotation: createFlowUnionType(types),
30487
- ifStatement
30488
- };
30489
- }
30490
-
30491
30602
  return {
30492
- typeAnnotation: createUnionTypeAnnotation(types),
30603
+ typeAnnotation: (0, _util$2.createUnionType)(types),
30493
30604
  ifStatement
30494
30605
  };
30495
30606
  }
@@ -30525,6 +30636,8 @@ function getConditionalAnnotation(binding, path, name) {
30525
30636
  exports.RestElement = RestElement;
30526
30637
  exports.SequenceExpression = SequenceExpression;
30527
30638
  exports.StringLiteral = StringLiteral;
30639
+ exports.TSAsExpression = TSAsExpression;
30640
+ exports.TSNonNullExpression = TSNonNullExpression;
30528
30641
  exports.TaggedTemplateExpression = TaggedTemplateExpression;
30529
30642
  exports.TemplateLiteral = TemplateLiteral;
30530
30643
  exports.TypeCastExpression = TypeCastExpression;
@@ -30536,6 +30649,8 @@ function getConditionalAnnotation(binding, path, name) {
30536
30649
 
30537
30650
  var _infererReference = infererReference;
30538
30651
 
30652
+ var _util = util$3;
30653
+
30539
30654
  const {
30540
30655
  BOOLEAN_BINARY_OPERATORS,
30541
30656
  BOOLEAN_UNARY_OPERATORS,
@@ -30546,37 +30661,20 @@ function getConditionalAnnotation(binding, path, name) {
30546
30661
  arrayTypeAnnotation,
30547
30662
  booleanTypeAnnotation,
30548
30663
  buildMatchMemberExpression,
30549
- createFlowUnionType,
30550
- createTSUnionType,
30551
- createUnionTypeAnnotation,
30552
30664
  genericTypeAnnotation,
30553
30665
  identifier,
30554
- isTSTypeAnnotation,
30555
30666
  nullLiteralTypeAnnotation,
30556
30667
  numberTypeAnnotation,
30557
30668
  stringTypeAnnotation,
30558
30669
  tupleTypeAnnotation,
30559
30670
  unionTypeAnnotation,
30560
- voidTypeAnnotation
30671
+ voidTypeAnnotation,
30672
+ isIdentifier
30561
30673
  } = _t;
30562
30674
 
30563
30675
  function VariableDeclarator() {
30564
- var _type;
30565
-
30566
- const id = this.get("id");
30567
- if (!id.isIdentifier()) return;
30568
- const init = this.get("init");
30569
- let type = init.getTypeAnnotation();
30570
-
30571
- if (((_type = type) == null ? void 0 : _type.type) === "AnyTypeAnnotation") {
30572
- if (init.isCallExpression() && init.get("callee").isIdentifier({
30573
- name: "Array"
30574
- }) && !init.scope.hasBinding("Array", true)) {
30575
- type = ArrayExpression();
30576
- }
30577
- }
30578
-
30579
- return type;
30676
+ if (!this.get("id").isIdentifier()) return;
30677
+ return this.get("init").getTypeAnnotation();
30580
30678
  }
30581
30679
 
30582
30680
  function TypeCastExpression(node) {
@@ -30585,6 +30683,16 @@ function getConditionalAnnotation(binding, path, name) {
30585
30683
 
30586
30684
  TypeCastExpression.validParent = true;
30587
30685
 
30686
+ function TSAsExpression(node) {
30687
+ return node.typeAnnotation;
30688
+ }
30689
+
30690
+ TSAsExpression.validParent = true;
30691
+
30692
+ function TSNonNullExpression() {
30693
+ return this.get("expression").getTypeAnnotation();
30694
+ }
30695
+
30588
30696
  function NewExpression(node) {
30589
30697
  if (node.callee.type === "Identifier") {
30590
30698
  return genericTypeAnnotation(node.callee);
@@ -30632,30 +30740,12 @@ function getConditionalAnnotation(binding, path, name) {
30632
30740
 
30633
30741
  function LogicalExpression() {
30634
30742
  const argumentTypes = [this.get("left").getTypeAnnotation(), this.get("right").getTypeAnnotation()];
30635
-
30636
- if (isTSTypeAnnotation(argumentTypes[0]) && createTSUnionType) {
30637
- return createTSUnionType(argumentTypes);
30638
- }
30639
-
30640
- if (createFlowUnionType) {
30641
- return createFlowUnionType(argumentTypes);
30642
- }
30643
-
30644
- return createUnionTypeAnnotation(argumentTypes);
30743
+ return (0, _util.createUnionType)(argumentTypes);
30645
30744
  }
30646
30745
 
30647
30746
  function ConditionalExpression() {
30648
30747
  const argumentTypes = [this.get("consequent").getTypeAnnotation(), this.get("alternate").getTypeAnnotation()];
30649
-
30650
- if (isTSTypeAnnotation(argumentTypes[0]) && createTSUnionType) {
30651
- return createTSUnionType(argumentTypes);
30652
- }
30653
-
30654
- if (createFlowUnionType) {
30655
- return createFlowUnionType(argumentTypes);
30656
- }
30657
-
30658
- return createUnionTypeAnnotation(argumentTypes);
30748
+ return (0, _util.createUnionType)(argumentTypes);
30659
30749
  }
30660
30750
 
30661
30751
  function SequenceExpression() {
@@ -30728,7 +30818,9 @@ function getConditionalAnnotation(binding, path, name) {
30728
30818
 
30729
30819
  if (isObjectKeys(callee)) {
30730
30820
  return arrayTypeAnnotation(stringTypeAnnotation());
30731
- } else if (isArrayFrom(callee) || isObjectValues(callee)) {
30821
+ } else if (isArrayFrom(callee) || isObjectValues(callee) || isIdentifier(callee, {
30822
+ name: "Array"
30823
+ })) {
30732
30824
  return arrayTypeAnnotation(anyTypeAnnotation());
30733
30825
  } else if (isObjectEntries(callee)) {
30734
30826
  return arrayTypeAnnotation(tupleTypeAnnotation([stringTypeAnnotation(), anyTypeAnnotation()]));
@@ -30745,16 +30837,22 @@ function getConditionalAnnotation(binding, path, name) {
30745
30837
  callee = callee.resolve();
30746
30838
 
30747
30839
  if (callee.isFunction()) {
30748
- if (callee.is("async")) {
30749
- if (callee.is("generator")) {
30840
+ const {
30841
+ node
30842
+ } = callee;
30843
+
30844
+ if (node.async) {
30845
+ if (node.generator) {
30750
30846
  return genericTypeAnnotation(identifier("AsyncIterator"));
30751
30847
  } else {
30752
30848
  return genericTypeAnnotation(identifier("Promise"));
30753
30849
  }
30754
30850
  } else {
30755
- if (callee.node.returnType) {
30851
+ if (node.generator) {
30852
+ return genericTypeAnnotation(identifier("Iterator"));
30853
+ } else if (callee.node.returnType) {
30756
30854
  return callee.node.returnType;
30757
- }
30855
+ } else ;
30758
30856
  }
30759
30857
  }
30760
30858
  }
@@ -30777,6 +30875,7 @@ var _t$c = requireLib$a();
30777
30875
  const {
30778
30876
  anyTypeAnnotation,
30779
30877
  isAnyTypeAnnotation,
30878
+ isArrayTypeAnnotation,
30780
30879
  isBooleanTypeAnnotation,
30781
30880
  isEmptyTypeAnnotation,
30782
30881
  isFlowBaseAnnotation,
@@ -30785,6 +30884,10 @@ const {
30785
30884
  isMixedTypeAnnotation,
30786
30885
  isNumberTypeAnnotation,
30787
30886
  isStringTypeAnnotation,
30887
+ isTSArrayType,
30888
+ isTSTypeAnnotation,
30889
+ isTSTypeReference,
30890
+ isTupleTypeAnnotation,
30788
30891
  isTypeAnnotation,
30789
30892
  isUnionTypeAnnotation,
30790
30893
  isVoidTypeAnnotation,
@@ -30800,7 +30903,11 @@ function getTypeAnnotation() {
30800
30903
  }
30801
30904
 
30802
30905
  type = this._getTypeAnnotation() || anyTypeAnnotation();
30803
- if (isTypeAnnotation(type)) type = type.typeAnnotation;
30906
+
30907
+ if (isTypeAnnotation(type) || isTSTypeAnnotation(type)) {
30908
+ type = type.typeAnnotation;
30909
+ }
30910
+
30804
30911
  this.setData("typeAnnotation", type);
30805
30912
  return type;
30806
30913
  }
@@ -30916,8 +31023,17 @@ function baseTypeStrictlyMatches(rightArg) {
30916
31023
 
30917
31024
  function isGenericType(genericName) {
30918
31025
  const type = this.getTypeAnnotation();
31026
+
31027
+ if (genericName === "Array") {
31028
+ if (isTSArrayType(type) || isArrayTypeAnnotation(type) || isTupleTypeAnnotation(type)) {
31029
+ return true;
31030
+ }
31031
+ }
31032
+
30919
31033
  return isGenericTypeAnnotation(type) && isIdentifier$4(type.id, {
30920
31034
  name: genericName
31035
+ }) || isTSTypeReference(type) && isIdentifier$4(type.typeName, {
31036
+ name: genericName
30921
31037
  });
30922
31038
  }
30923
31039
 
@@ -47899,7 +48015,7 @@ class StatementParser extends ExpressionParser {
47899
48015
  }
47900
48016
 
47901
48017
  parseDecorator() {
47902
- this.expectOnePlugin(["decorators-legacy", "decorators"]);
48018
+ this.expectOnePlugin(["decorators", "decorators-legacy"]);
47903
48019
  const node = this.startNode();
47904
48020
  this.next();
47905
48021
 
@@ -103810,7 +103926,7 @@ function requireRewriteLiveReferences () {
103810
103926
  const exportNames = exported.get(localName) || [];
103811
103927
 
103812
103928
  if (exportNames.length > 0) {
103813
- const statement = expressionStatement(buildBindingExportAssignmentExpression(metadata, exportNames, identifier(localName)));
103929
+ const statement = expressionStatement(buildBindingExportAssignmentExpression(metadata, exportNames, identifier(localName), path.scope));
103814
103930
  statement._blockHoist = path.node._blockHoist;
103815
103931
  requeueInParent(path.insertAfter(statement)[0]);
103816
103932
  }
@@ -103826,7 +103942,7 @@ function requireRewriteLiveReferences () {
103826
103942
  const exportNames = exported.get(localName) || [];
103827
103943
 
103828
103944
  if (exportNames.length > 0) {
103829
- const statement = expressionStatement(buildBindingExportAssignmentExpression(metadata, exportNames, identifier(localName)));
103945
+ const statement = expressionStatement(buildBindingExportAssignmentExpression(metadata, exportNames, identifier(localName), path.scope));
103830
103946
  statement._blockHoist = path.node._blockHoist;
103831
103947
  requeueInParent(path.insertAfter(statement)[0]);
103832
103948
  }
@@ -103835,13 +103951,21 @@ function requireRewriteLiveReferences () {
103835
103951
 
103836
103952
  };
103837
103953
 
103838
- const buildBindingExportAssignmentExpression = (metadata, exportNames, localExpr) => {
103954
+ const buildBindingExportAssignmentExpression = (metadata, exportNames, localExpr, scope) => {
103955
+ const exportsObjectName = metadata.exportName;
103956
+
103957
+ for (let currentScope = scope; currentScope != null; currentScope = currentScope.parent) {
103958
+ if (currentScope.hasOwnBinding(exportsObjectName)) {
103959
+ currentScope.rename(exportsObjectName);
103960
+ }
103961
+ }
103962
+
103839
103963
  return (exportNames || []).reduce((expr, exportName) => {
103840
103964
  const {
103841
103965
  stringSpecifiers
103842
103966
  } = metadata;
103843
103967
  const computed = stringSpecifiers.has(exportName);
103844
- return assignmentExpression("=", memberExpression(identifier(metadata.exportName), computed ? stringLiteral(exportName) : identifier(exportName), computed), expr);
103968
+ return assignmentExpression("=", memberExpression(identifier(exportsObjectName), computed ? stringLiteral(exportName) : identifier(exportName), computed), expr);
103845
103969
  }, localExpr);
103846
103970
  };
103847
103971
 
@@ -103930,10 +104054,10 @@ function requireRewriteLiveReferences () {
103930
104054
  if (importData) {
103931
104055
  path.replaceWith(assignmentExpression(update.operator[0] + "=", buildImportReference(importData, arg.node), buildImportThrow(localName)));
103932
104056
  } else if (update.prefix) {
103933
- path.replaceWith(buildBindingExportAssignmentExpression(this.metadata, exportedNames, cloneNode(update)));
104057
+ path.replaceWith(buildBindingExportAssignmentExpression(this.metadata, exportedNames, cloneNode(update), path.scope));
103934
104058
  } else {
103935
104059
  const ref = scope.generateDeclaredUidIdentifier(localName);
103936
- path.replaceWith(sequenceExpression([assignmentExpression("=", cloneNode(ref), cloneNode(update)), buildBindingExportAssignmentExpression(this.metadata, exportedNames, identifier(localName)), cloneNode(ref)]));
104060
+ path.replaceWith(sequenceExpression([assignmentExpression("=", cloneNode(ref), cloneNode(update)), buildBindingExportAssignmentExpression(this.metadata, exportedNames, identifier(localName), path.scope), cloneNode(ref)]));
103937
104061
  }
103938
104062
  }
103939
104063
  }
@@ -103977,7 +104101,7 @@ function requireRewriteLiveReferences () {
103977
104101
  assignment.right = sequenceExpression([assignment.right, buildImportThrow(localName)]);
103978
104102
  }
103979
104103
 
103980
- path.replaceWith(buildBindingExportAssignmentExpression(this.metadata, exportedNames, assignment));
104104
+ path.replaceWith(buildBindingExportAssignmentExpression(this.metadata, exportedNames, assignment, path.scope));
103981
104105
  requeueInParent(path);
103982
104106
  }
103983
104107
  } else {
@@ -103994,7 +104118,7 @@ function requireRewriteLiveReferences () {
103994
104118
  const exportedNames = exported.get(localName) || [];
103995
104119
 
103996
104120
  if (exportedNames.length > 0) {
103997
- items.push(buildBindingExportAssignmentExpression(this.metadata, exportedNames, identifier(localName)));
104121
+ items.push(buildBindingExportAssignmentExpression(this.metadata, exportedNames, identifier(localName), path.scope));
103998
104122
  }
103999
104123
  });
104000
104124
 
@@ -109327,6 +109451,13 @@ var require$$0$4 = [
109327
109451
  lts: "Fermium",
109328
109452
  security: false
109329
109453
  },
109454
+ {
109455
+ name: "nodejs",
109456
+ version: "14.20.0",
109457
+ date: "2022-07-07",
109458
+ lts: "Fermium",
109459
+ security: true
109460
+ },
109330
109461
  {
109331
109462
  name: "nodejs",
109332
109463
  version: "15.0.0",
@@ -109544,6 +109675,13 @@ var require$$0$4 = [
109544
109675
  lts: "Gallium",
109545
109676
  security: false
109546
109677
  },
109678
+ {
109679
+ name: "nodejs",
109680
+ version: "16.16.0",
109681
+ date: "2022-07-07",
109682
+ lts: "Gallium",
109683
+ security: true
109684
+ },
109547
109685
  {
109548
109686
  name: "nodejs",
109549
109687
  version: "17.0.0",
@@ -109634,6 +109772,27 @@ var require$$0$4 = [
109634
109772
  date: "2022-05-17",
109635
109773
  lts: false,
109636
109774
  security: false
109775
+ },
109776
+ {
109777
+ name: "nodejs",
109778
+ version: "18.3.0",
109779
+ date: "2022-06-02",
109780
+ lts: false,
109781
+ security: false
109782
+ },
109783
+ {
109784
+ name: "nodejs",
109785
+ version: "18.4.0",
109786
+ date: "2022-06-16",
109787
+ lts: false,
109788
+ security: false
109789
+ },
109790
+ {
109791
+ name: "nodejs",
109792
+ version: "18.5.0",
109793
+ date: "2022-07-06",
109794
+ lts: false,
109795
+ security: true
109637
109796
  }
109638
109797
  ];
109639
109798
 
@@ -109687,7 +109846,7 @@ var hasRequiredAgents$1;
109687
109846
  function requireAgents$1 () {
109688
109847
  if (hasRequiredAgents$1) return agents;
109689
109848
  hasRequiredAgents$1 = 1;
109690
- agents={A:{A:{J:0.0131217,D:0.00621152,E:0.0166941,F:0.038953,A:0.00556471,B:0.8514,yB:0.009298},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","yB","J","D","E","F","A","B","","",""],E:"IE",F:{yB:962323200,J:998870400,D:1161129600,E:1237420800,F:1300060800,A:1346716800,B:1381968000}},B:{A:{C:0.007734,K:0.004267,L:0.004268,G:0.058005,M:0.003867,N:0.007734,O:0.023202,P:0,Q:0.004298,R:0.00944,S:0.004043,T:0.007734,U:0.007734,V:0.003867,W:0.011601,Z:0.004318,a:0.007734,b:0.004118,c:0.003939,d:0.007734,e:0.004118,f:0.003939,g:0.007734,h:0.011601,i:0.015468,j:0.015468,k:0.054138,l:0.212685,X:3.52284,m:0,H:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","C","K","L","G","M","N","O","P","Q","R","S","T","U","V","W","Z","a","b","c","d","e","f","g","h","i","j","k","l","X","m","H","","",""],E:"Edge",F:{C:1438128000,K:1447286400,L:1470096000,G:1491868800,M:1508198400,N:1525046400,O:1542067200,P:1579046400,Q:1581033600,R:1586736000,S:1590019200,T:1594857600,U:1598486400,V:1602201600,W:1605830400,Z:1611360000,a:1614816000,b:1618358400,c:1622073600,d:1626912000,e:1630627200,f:1632441600,g:1634774400,h:1637539200,i:1641427200,j:1643932800,k:1646265600,l:1649635200,X:1651190400,m:1653955200,H:1655942400},D:{C:"ms",K:"ms",L:"ms",G:"ms",M:"ms",N:"ms",O:"ms"}},C:{A:{"0":0.008928,"1":0.004471,"2":0.009284,"3":0.004707,"4":0.009076,"5":0.003867,"6":0.004783,"7":0.004271,"8":0.004783,"9":0.00487,zB:0.004118,mB:0.004271,I:0.019335,n:0.004879,J:0.020136,D:0.005725,E:0.004525,F:0.00533,A:0.004283,B:0.007734,C:0.004471,K:0.004486,L:0.00453,G:0.008322,M:0.004417,N:0.004425,O:0.004161,o:0.004443,p:0.004283,q:0.008322,r:0.013698,s:0.004161,t:0.008786,u:0.004118,v:0.004317,w:0.004393,x:0.004418,y:0.008834,z:0.008322,AB:0.005029,BB:0.0047,CB:0.023202,DB:0.007734,EB:0.003867,FB:0.004525,GB:0.004293,HB:0.003867,IB:0.004538,JB:0.008282,KB:0.011601,LB:0.069606,MB:0.011601,NB:0.007734,OB:0.015468,PB:0.011601,QB:0.011601,RB:0.003939,nB:0.007734,SB:0.003867,oB:0.004356,TB:0.004425,UB:0.008322,Y:0.00415,VB:0.004267,WB:0.003867,XB:0.004267,YB:0.007734,ZB:0.00415,aB:0.004293,bB:0.004425,cB:0.003867,dB:0.00415,eB:0.00415,fB:0.004318,gB:0.004356,hB:0.003867,iB:0.042537,P:0.007734,Q:0.007734,R:0.011601,pB:0.007734,S:0.003867,T:0.003867,U:0.004268,V:0.003867,W:0.011601,Z:0.011601,a:0.007734,b:0.007734,c:0.096675,d:0.003867,e:0.007734,f:0.03867,g:0.011601,h:0.015468,i:0.015468,j:0.034803,k:0.421503,l:1.84456,X:0.023202,m:0,H:0,qB:0,"0B":0.008786,"1B":0.00487},B:"moz",C:["zB","mB","0B","1B","I","n","J","D","E","F","A","B","C","K","L","G","M","N","O","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","nB","SB","oB","TB","UB","Y","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","P","Q","R","pB","S","T","U","V","W","Z","a","b","c","d","e","f","g","h","i","j","k","l","X","m","H","qB",""],E:"Firefox",F:{"0":1405987200,"1":1409616000,"2":1413244800,"3":1417392000,"4":1421107200,"5":1424736000,"6":1428278400,"7":1431475200,"8":1435881600,"9":1439251200,zB:1161648000,mB:1213660800,"0B":1246320000,"1B":1264032000,I:1300752000,n:1308614400,J:1313452800,D:1317081600,E:1317081600,F:1320710400,A:1324339200,B:1327968000,C:1331596800,K:1335225600,L:1338854400,G:1342483200,M:1346112000,N:1349740800,O:1353628800,o:1357603200,p:1361232000,q:1364860800,r:1368489600,s:1372118400,t:1375747200,u:1379376000,v:1386633600,w:1391472000,x:1395100800,y:1398729600,z:1402358400,AB:1442880000,BB:1446508800,CB:1450137600,DB:1453852800,EB:1457395200,FB:1461628800,GB:1465257600,HB:1470096000,IB:1474329600,JB:1479168000,KB:1485216000,LB:1488844800,MB:1492560000,NB:1497312000,OB:1502150400,PB:1506556800,QB:1510617600,RB:1516665600,nB:1520985600,SB:1525824000,oB:1529971200,TB:1536105600,UB:1540252800,Y:1544486400,VB:1548720000,WB:1552953600,XB:1558396800,YB:1562630400,ZB:1567468800,aB:1571788800,bB:1575331200,cB:1578355200,dB:1581379200,eB:1583798400,fB:1586304000,gB:1588636800,hB:1591056000,iB:1593475200,P:1595894400,Q:1598313600,R:1600732800,pB:1603152000,S:1605571200,T:1607990400,U:1611619200,V:1614038400,W:1616457600,Z:1618790400,a:1622505600,b:1626134400,c:1628553600,d:1630972800,e:1633392000,f:1635811200,g:1638835200,h:1641859200,i:1644364800,j:1646697600,k:1649116800,l:1651536000,X:1653955200,m:1656374400,H:null,qB:null}},D:{A:{"0":0.008596,"1":0.004566,"2":0.004118,"3":0.007734,"4":0.007878,"5":0.004335,"6":0.004464,"7":0.019335,"8":0.003867,"9":0.019335,I:0.004706,n:0.004879,J:0.004879,D:0.005591,E:0.005591,F:0.005591,A:0.004534,B:0.004464,C:0.010424,K:0.0083,L:0.004706,G:0.015087,M:0.004393,N:0.004393,O:0.008652,o:0.008322,p:0.004393,q:0.004317,r:0.007734,s:0.008786,t:0.003939,u:0.004461,v:0.004141,w:0.004326,x:0.0047,y:0.004538,z:0.008322,AB:0.007734,BB:0.007734,CB:0.011601,DB:0.003867,EB:0.003867,FB:0.003867,GB:0.015468,HB:0.023202,IB:0.061872,JB:0.003867,KB:0.007734,LB:0.007734,MB:0.015468,NB:0.003867,OB:0.007734,PB:0.027069,QB:0.007734,RB:0.011601,nB:0.007734,SB:0.015468,oB:0.015468,TB:0.015468,UB:0.015468,Y:0.007734,VB:0.015468,WB:0.027069,XB:0.023202,YB:0.007734,ZB:0.046404,aB:0.019335,bB:0.011601,cB:0.019335,dB:0.007734,eB:0.023202,fB:0.058005,gB:0.073473,hB:0.011601,iB:0.030936,P:0.204951,Q:0.042537,R:0.03867,S:0.131478,T:0.081207,U:0.088941,V:0.092808,W:0.104409,Z:0.019335,a:0.058005,b:0.034803,c:0.081207,d:0.065739,e:0.054138,f:0.061872,g:0.042537,h:0.143079,i:0.143079,j:0.204951,k:0.351897,l:4.17636,X:15.4487,m:1.5468,H:0.015468,qB:0.007734,"2B":0,"3B":0},B:"webkit",C:["","","","","I","n","J","D","E","F","A","B","C","K","L","G","M","N","O","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","nB","SB","oB","TB","UB","Y","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","P","Q","R","S","T","U","V","W","Z","a","b","c","d","e","f","g","h","i","j","k","l","X","m","H","qB","2B","3B"],E:"Chrome",F:{"0":1384214400,"1":1389657600,"2":1392940800,"3":1397001600,"4":1400544000,"5":1405468800,"6":1409011200,"7":1412640000,"8":1416268800,"9":1421798400,I:1264377600,n:1274745600,J:1283385600,D:1287619200,E:1291248000,F:1296777600,A:1299542400,B:1303862400,C:1307404800,K:1312243200,L:1316131200,G:1316131200,M:1319500800,N:1323734400,O:1328659200,o:1332892800,p:1337040000,q:1340668800,r:1343692800,s:1348531200,t:1352246400,u:1357862400,v:1361404800,w:1364428800,x:1369094400,y:1374105600,z:1376956800,AB:1425513600,BB:1429401600,CB:1432080000,DB:1437523200,EB:1441152000,FB:1444780800,GB:1449014400,HB:1453248000,IB:1456963200,JB:1460592000,KB:1464134400,LB:1469059200,MB:1472601600,NB:1476230400,OB:1480550400,PB:1485302400,QB:1489017600,RB:1492560000,nB:1496707200,SB:1500940800,oB:1504569600,TB:1508198400,UB:1512518400,Y:1516752000,VB:1520294400,WB:1523923200,XB:1527552000,YB:1532390400,ZB:1536019200,aB:1539648000,bB:1543968000,cB:1548720000,dB:1552348800,eB:1555977600,fB:1559606400,gB:1564444800,hB:1568073600,iB:1571702400,P:1575936000,Q:1580860800,R:1586304000,S:1589846400,T:1594684800,U:1598313600,V:1601942400,W:1605571200,Z:1611014400,a:1614556800,b:1618272000,c:1621987200,d:1626739200,e:1630368000,f:1632268800,g:1634601600,h:1637020800,i:1641340800,j:1643673600,k:1646092800,l:1648512000,X:1650931200,m:1653350400,H:1655769600,qB:null,"2B":null,"3B":null}},E:{A:{I:0,n:0.008322,J:0.004656,D:0.004465,E:0.004356,F:0.004891,A:0.004425,B:0.004318,C:0.003867,K:0.034803,L:0.158547,G:0.058005,"4B":0,rB:0.008692,"5B":0.007734,"6B":0.00456,"7B":0.004283,"8B":0.015468,sB:0.007734,jB:0.023202,kB:0.046404,"9B":0.266823,AC:0.491109,BC:0.108276,tB:0.108276,uB:1.67054,vB:0.189483,lB:0,CC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","4B","rB","I","n","5B","J","6B","D","7B","E","F","8B","A","sB","B","jB","C","kB","K","9B","L","AC","G","BC","tB","uB","vB","lB","CC",""],E:"Safari",F:{"4B":1205798400,rB:1226534400,I:1244419200,n:1275868800,"5B":1311120000,J:1343174400,"6B":1382400000,D:1382400000,"7B":1410998400,E:1413417600,F:1443657600,"8B":1458518400,A:1474329600,sB:1490572800,B:1505779200,jB:1522281600,C:1537142400,kB:1553472000,K:1568851200,"9B":1585008000,L:1600214400,AC:1619395200,G:1632096000,BC:1635292800,tB:1639353600,uB:1647216000,vB:1652745600,lB:null,CC:null}},F:{A:{"0":0.003867,"1":0.005152,"2":0.005014,"3":0.009758,"4":0.004879,"5":0.003867,"6":0.004283,"7":0.004367,"8":0.004534,"9":0.007734,F:0.0082,B:0.016581,C:0.004317,G:0.00685,M:0.00685,N:0.00685,O:0.005014,o:0.006015,p:0.004879,q:0.006597,r:0.006597,s:0.013434,t:0.006702,u:0.006015,v:0.005595,w:0.004393,x:0.007734,y:0.004879,z:0.004879,AB:0.004227,BB:0.004418,CB:0.004161,DB:0.004227,EB:0.004725,FB:0.011601,GB:0.008942,HB:0.004707,IB:0.004827,JB:0.004707,KB:0.004707,LB:0.004326,MB:0.008922,NB:0.014349,OB:0.004425,PB:0.00472,QB:0.004425,RB:0.004425,SB:0.00472,TB:0.004532,UB:0.004566,Y:0.02283,VB:0.00867,WB:0.004656,XB:0.004642,YB:0.003867,ZB:0.00944,aB:0.004293,bB:0.003867,cB:0.004298,dB:0.096692,eB:0.004201,fB:0.004141,gB:0.004257,hB:0.003939,iB:0.008236,P:0.003939,Q:0.003939,R:0.008514,pB:0.003939,S:0.003939,T:0.007734,U:0.448572,V:0.475641,W:0.027069,DC:0.00685,EC:0,FC:0.008392,GC:0.004706,jB:0.006229,wB:0.004879,HC:0.008786,kB:0.00472},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","F","DC","EC","FC","GC","B","jB","wB","HC","C","kB","G","M","N","O","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","Y","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","P","Q","R","pB","S","T","U","V","W","",""],E:"Opera",F:{"0":1438646400,"1":1442448000,"2":1445904000,"3":1449100800,"4":1454371200,"5":1457308800,"6":1462320000,"7":1465344000,"8":1470096000,"9":1474329600,F:1150761600,DC:1223424000,EC:1251763200,FC:1267488000,GC:1277942400,B:1292457600,jB:1302566400,wB:1309219200,HC:1323129600,C:1323129600,kB:1352073600,G:1372723200,M:1377561600,N:1381104000,O:1386288000,o:1390867200,p:1393891200,q:1399334400,r:1401753600,s:1405987200,t:1409616000,u:1413331200,v:1417132800,w:1422316800,x:1425945600,y:1430179200,z:1433808000,AB:1477267200,BB:1481587200,CB:1486425600,DB:1490054400,EB:1494374400,FB:1498003200,GB:1502236800,HB:1506470400,IB:1510099200,JB:1515024000,KB:1517961600,LB:1521676800,MB:1525910400,NB:1530144000,OB:1534982400,PB:1537833600,QB:1543363200,RB:1548201600,SB:1554768000,TB:1561593600,UB:1566259200,Y:1570406400,VB:1573689600,WB:1578441600,XB:1583971200,YB:1587513600,ZB:1592956800,aB:1595894400,bB:1600128000,cB:1603238400,dB:1613520000,eB:1612224000,fB:1616544000,gB:1619568000,hB:1623715200,iB:1627948800,P:1631577600,Q:1633392000,R:1635984000,pB:1638403200,S:1642550400,T:1644969600,U:1647993600,V:1650412800,W:null},D:{F:"o",B:"o",C:"o",DC:"o",EC:"o",FC:"o",GC:"o",jB:"o",wB:"o",HC:"o",kB:"o"}},G:{A:{E:0,rB:0.00303644,IC:0,xB:0.00151822,JC:0.00455466,KC:0.00455466,LC:0.0167004,MC:0.00759111,NC:0.0197369,OC:0.0774293,PC:0.013664,QC:0.0926115,RC:0.0379555,SC:0.0318826,TC:0.0303644,UC:0.57996,VC:0.0288462,WC:0.0121458,XC:0.0607288,YC:0.189778,ZC:0.592106,aC:1.50911,bC:0.513159,tB:1.20395,uB:10.1478,vB:0,lB:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","rB","IC","xB","JC","KC","LC","E","MC","NC","OC","PC","QC","RC","SC","TC","UC","VC","WC","XC","YC","ZC","aC","bC","tB","uB","vB","lB","",""],E:"Safari on iOS",F:{rB:1270252800,IC:1283904000,xB:1299628800,JC:1331078400,KC:1359331200,LC:1394409600,E:1410912000,MC:1413763200,NC:1442361600,OC:1458518400,PC:1473724800,QC:1490572800,RC:1505779200,SC:1522281600,TC:1537142400,UC:1553472000,VC:1568851200,WC:1572220800,XC:1580169600,YC:1585008000,ZC:1600214400,aC:1619395200,bC:1632096000,tB:1639353600,uB:1647216000,vB:1652659200,lB:null}},H:{A:{cC:0.998688},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","cC","","",""],E:"Opera Mini",F:{cC:1426464000}},I:{A:{mB:0,I:0.0149357,H:0,dC:0,eC:0,fC:0,gC:0.0199142,xB:0.0597426,hC:0,iC:0.328584},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","dC","eC","fC","mB","I","gC","xB","hC","iC","H","","",""],E:"Android Browser",F:{dC:1256515200,eC:1274313600,fC:1291593600,mB:1298332800,I:1318896000,gC:1341792000,xB:1374624000,hC:1386547200,iC:1401667200,H:1655856000}},J:{A:{D:0,A:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","D","A","","",""],E:"Blackberry Browser",F:{D:1325376000,A:1359504000}},K:{A:{A:0,B:0,C:0,Y:0.0111391,jB:0,wB:0,kB:0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","jB","wB","C","kB","Y","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752000,jB:1314835200,wB:1318291200,C:1330300800,kB:1349740800,Y:1613433600},D:{Y:"webkit"}},L:{A:{H:41.3354},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","H","","",""],E:"Chrome for Android",F:{H:1655769600}},M:{A:{X:0.30665},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","X","","",""],E:"Firefox for Android",F:{X:1653955200}},N:{A:{A:0.0115934,B:0.022664},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456000}},O:{A:{jC:0.766625},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","jC","","",""],E:"UC Browser for Android",F:{jC:1471392000},D:{jC:"webkit"}},P:{A:{I:0.209346,kC:0.0103543,lC:0.010304,mC:0.0628037,nC:0.0103584,oC:0.0104673,sB:0.0105043,pC:0.0418691,qC:0.0209346,rC:0.0942055,sC:0.0942055,tC:0.0942055,lB:0.889718,uC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","I","kC","lC","mC","nC","oC","sB","pC","qC","rC","sC","tC","lB","uC","","",""],E:"Samsung Internet",F:{I:1461024000,kC:1481846400,lC:1509408000,mC:1528329600,nC:1546128000,oC:1554163200,sB:1567900800,pC:1582588800,qC:1593475200,rC:1605657600,sC:1618531200,tC:1629072000,lB:1640736000,uC:1651708800}},Q:{A:{vC:0.153325},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","vC","","",""],E:"QQ Browser",F:{vC:1589846400}},R:{A:{wC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","wC","","",""],E:"Baidu Browser",F:{wC:1491004800}},S:{A:{xC:0.073596},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","xC","","",""],E:"KaiOS Browser",F:{xC:1527811200}}};
109849
+ agents={A:{A:{J:0.0131217,D:0.00621152,E:0.0145876,F:0.0364691,A:0.00556471,B:0.488685,yB:0.009298},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","yB","J","D","E","F","A","B","","",""],E:"IE",F:{yB:962323200,J:998870400,D:1161129600,E:1237420800,F:1300060800,A:1346716800,B:1381968000}},B:{A:{C:0.003801,K:0.004267,L:0.004268,G:0.003801,M:0.003801,N:0.007602,O:0.022806,P:0,Q:0.004298,R:0.00944,S:0.004043,T:0.003801,U:0.007602,V:0.003801,W:0.003801,Z:0.004318,a:0.007602,b:0.004118,c:0.003939,d:0.007602,e:0.004118,f:0.003939,g:0.003801,h:0.007602,i:0.007602,j:0.011403,k:0.019005,l:0.034209,X:0.444717,m:2.86595,H:0.589155},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","C","K","L","G","M","N","O","P","Q","R","S","T","U","V","W","Z","a","b","c","d","e","f","g","h","i","j","k","l","X","m","H","","",""],E:"Edge",F:{C:1438128000,K:1447286400,L:1470096000,G:1491868800,M:1508198400,N:1525046400,O:1542067200,P:1579046400,Q:1581033600,R:1586736000,S:1590019200,T:1594857600,U:1598486400,V:1602201600,W:1605830400,Z:1611360000,a:1614816000,b:1618358400,c:1622073600,d:1626912000,e:1630627200,f:1632441600,g:1634774400,h:1637539200,i:1641427200,j:1643932800,k:1646265600,l:1649635200,X:1651190400,m:1653955200,H:1655942400},D:{C:"ms",K:"ms",L:"ms",G:"ms",M:"ms",N:"ms",O:"ms"}},C:{A:{"0":0.008928,"1":0.004471,"2":0.009284,"3":0.004707,"4":0.009076,"5":0.007602,"6":0.004783,"7":0.004271,"8":0.004783,"9":0.00487,zB:0.004118,mB:0.004271,I:0.019005,n:0.004879,J:0.020136,D:0.005725,E:0.004525,F:0.00533,A:0.004283,B:0.011403,C:0.004471,K:0.004486,L:0.00453,G:0.008322,M:0.004417,N:0.004425,O:0.004161,o:0.004443,p:0.004283,q:0.008322,r:0.013698,s:0.004161,t:0.008786,u:0.004118,v:0.004317,w:0.004393,x:0.004418,y:0.008834,z:0.008322,AB:0.005029,BB:0.0047,CB:0.019005,DB:0.007602,EB:0.003867,FB:0.004525,GB:0.004293,HB:0.003801,IB:0.004538,JB:0.008282,KB:0.011601,LB:0.060816,MB:0.011601,NB:0.007602,OB:0.003801,PB:0.007602,QB:0.011601,RB:0.003939,nB:0.003801,SB:0.003801,oB:0.004356,TB:0.004425,UB:0.008322,Y:0.00415,VB:0.004267,WB:0.003801,XB:0.004267,YB:0.007602,ZB:0.00415,aB:0.004293,bB:0.004425,cB:0.003801,dB:0.00415,eB:0.00415,fB:0.004318,gB:0.004356,hB:0.003801,iB:0.041811,P:0.003801,Q:0.003801,R:0.011403,pB:0.003801,S:0.003801,T:0.007602,U:0.004268,V:0.003801,W:0.011403,Z:0.011403,a:0.007602,b:0.007602,c:0.095025,d:0.003801,e:0.007602,f:0.022806,g:0.007602,h:0.007602,i:0.011403,j:0.015204,k:0.045612,l:0.288876,X:2.00313,m:0.083622,H:0,qB:0,"0B":0.008786,"1B":0.00487},B:"moz",C:["zB","mB","0B","1B","I","n","J","D","E","F","A","B","C","K","L","G","M","N","O","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","nB","SB","oB","TB","UB","Y","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","P","Q","R","pB","S","T","U","V","W","Z","a","b","c","d","e","f","g","h","i","j","k","l","X","m","H","qB",""],E:"Firefox",F:{"0":1405987200,"1":1409616000,"2":1413244800,"3":1417392000,"4":1421107200,"5":1424736000,"6":1428278400,"7":1431475200,"8":1435881600,"9":1439251200,zB:1161648000,mB:1213660800,"0B":1246320000,"1B":1264032000,I:1300752000,n:1308614400,J:1313452800,D:1317081600,E:1317081600,F:1320710400,A:1324339200,B:1327968000,C:1331596800,K:1335225600,L:1338854400,G:1342483200,M:1346112000,N:1349740800,O:1353628800,o:1357603200,p:1361232000,q:1364860800,r:1368489600,s:1372118400,t:1375747200,u:1379376000,v:1386633600,w:1391472000,x:1395100800,y:1398729600,z:1402358400,AB:1442880000,BB:1446508800,CB:1450137600,DB:1453852800,EB:1457395200,FB:1461628800,GB:1465257600,HB:1470096000,IB:1474329600,JB:1479168000,KB:1485216000,LB:1488844800,MB:1492560000,NB:1497312000,OB:1502150400,PB:1506556800,QB:1510617600,RB:1516665600,nB:1520985600,SB:1525824000,oB:1529971200,TB:1536105600,UB:1540252800,Y:1544486400,VB:1548720000,WB:1552953600,XB:1558396800,YB:1562630400,ZB:1567468800,aB:1571788800,bB:1575331200,cB:1578355200,dB:1581379200,eB:1583798400,fB:1586304000,gB:1588636800,hB:1591056000,iB:1593475200,P:1595894400,Q:1598313600,R:1600732800,pB:1603152000,S:1605571200,T:1607990400,U:1611619200,V:1614038400,W:1616457600,Z:1618790400,a:1622505600,b:1626134400,c:1628553600,d:1630972800,e:1633392000,f:1635811200,g:1638835200,h:1641859200,i:1644364800,j:1646697600,k:1649116800,l:1651536000,X:1653955200,m:1656374400,H:null,qB:null}},D:{A:{"0":0.008596,"1":0.004566,"2":0.004118,"3":0.007602,"4":0.003801,"5":0.004335,"6":0.004464,"7":0.019005,"8":0.003867,"9":0.011403,I:0.004706,n:0.004879,J:0.004879,D:0.005591,E:0.005591,F:0.005591,A:0.004534,B:0.004464,C:0.010424,K:0.0083,L:0.004706,G:0.015087,M:0.004393,N:0.004393,O:0.008652,o:0.008322,p:0.004393,q:0.004317,r:0.007602,s:0.008786,t:0.003939,u:0.004461,v:0.004141,w:0.004326,x:0.0047,y:0.004538,z:0.008322,AB:0.007734,BB:0.007734,CB:0.007602,DB:0.003867,EB:0.003867,FB:0.003867,GB:0.011403,HB:0.019005,IB:0.053214,JB:0.003867,KB:0.003801,LB:0.003801,MB:0.011403,NB:0.003867,OB:0.003801,PB:0.026607,QB:0.003801,RB:0.007602,nB:0.003801,SB:0.011403,oB:0.011403,TB:0.007602,UB:0.011403,Y:0.007602,VB:0.011403,WB:0.026607,XB:0.011403,YB:0.007602,ZB:0.049413,aB:0.022806,bB:0.011403,cB:0.026607,dB:0.007602,eB:0.022806,fB:0.060816,gB:0.060816,hB:0.011403,iB:0.034209,P:0.193851,Q:0.03801,R:0.034209,S:0.110229,T:0.049413,U:0.07602,V:0.072219,W:0.448518,Z:0.019005,a:0.060816,b:0.026607,c:0.072219,d:0.053214,e:0.045612,f:0.049413,g:0.034209,h:0.106428,i:0.098826,j:0.129234,k:0.163443,l:0.387702,X:1.47099,m:17.8077,H:1.61923,qB:0.015204,"2B":0.011403,"3B":0},B:"webkit",C:["","","","","I","n","J","D","E","F","A","B","C","K","L","G","M","N","O","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","nB","SB","oB","TB","UB","Y","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","P","Q","R","S","T","U","V","W","Z","a","b","c","d","e","f","g","h","i","j","k","l","X","m","H","qB","2B","3B"],E:"Chrome",F:{"0":1384214400,"1":1389657600,"2":1392940800,"3":1397001600,"4":1400544000,"5":1405468800,"6":1409011200,"7":1412640000,"8":1416268800,"9":1421798400,I:1264377600,n:1274745600,J:1283385600,D:1287619200,E:1291248000,F:1296777600,A:1299542400,B:1303862400,C:1307404800,K:1312243200,L:1316131200,G:1316131200,M:1319500800,N:1323734400,O:1328659200,o:1332892800,p:1337040000,q:1340668800,r:1343692800,s:1348531200,t:1352246400,u:1357862400,v:1361404800,w:1364428800,x:1369094400,y:1374105600,z:1376956800,AB:1425513600,BB:1429401600,CB:1432080000,DB:1437523200,EB:1441152000,FB:1444780800,GB:1449014400,HB:1453248000,IB:1456963200,JB:1460592000,KB:1464134400,LB:1469059200,MB:1472601600,NB:1476230400,OB:1480550400,PB:1485302400,QB:1489017600,RB:1492560000,nB:1496707200,SB:1500940800,oB:1504569600,TB:1508198400,UB:1512518400,Y:1516752000,VB:1520294400,WB:1523923200,XB:1527552000,YB:1532390400,ZB:1536019200,aB:1539648000,bB:1543968000,cB:1548720000,dB:1552348800,eB:1555977600,fB:1559606400,gB:1564444800,hB:1568073600,iB:1571702400,P:1575936000,Q:1580860800,R:1586304000,S:1589846400,T:1594684800,U:1598313600,V:1601942400,W:1605571200,Z:1611014400,a:1614556800,b:1618272000,c:1621987200,d:1626739200,e:1630368000,f:1632268800,g:1634601600,h:1637020800,i:1641340800,j:1643673600,k:1646092800,l:1648512000,X:1650931200,m:1653350400,H:1655769600,qB:null,"2B":null,"3B":null}},E:{A:{I:0,n:0.008322,J:0.004656,D:0.004465,E:0.004356,F:0.004891,A:0.004425,B:0.004318,C:0.003801,K:0.034209,L:0.140637,G:0.045612,"4B":0,rB:0.008692,"5B":0.007602,"6B":0.00456,"7B":0.004283,"8B":0.015204,sB:0.007602,jB:0.022806,kB:0.045612,"9B":0.254667,AC:0.41811,BC:0.083622,tB:0.079821,uB:0.528339,vB:1.47859,lB:0.003801,CC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","4B","rB","I","n","5B","J","6B","D","7B","E","F","8B","A","sB","B","jB","C","kB","K","9B","L","AC","G","BC","tB","uB","vB","lB","CC",""],E:"Safari",F:{"4B":1205798400,rB:1226534400,I:1244419200,n:1275868800,"5B":1311120000,J:1343174400,"6B":1382400000,D:1382400000,"7B":1410998400,E:1413417600,F:1443657600,"8B":1458518400,A:1474329600,sB:1490572800,B:1505779200,jB:1522281600,C:1537142400,kB:1553472000,K:1568851200,"9B":1585008000,L:1600214400,AC:1619395200,G:1632096000,BC:1635292800,tB:1639353600,uB:1647216000,vB:1652745600,lB:null,CC:null}},F:{A:{"0":0.003801,"1":0.005152,"2":0.005014,"3":0.009758,"4":0.004879,"5":0.003801,"6":0.004283,"7":0.004367,"8":0.004534,"9":0.007602,F:0.0082,B:0.016581,C:0.004317,G:0.00685,M:0.00685,N:0.00685,O:0.005014,o:0.006015,p:0.004879,q:0.006597,r:0.006597,s:0.013434,t:0.006702,u:0.006015,v:0.005595,w:0.004393,x:0.007602,y:0.004879,z:0.004879,AB:0.004227,BB:0.004418,CB:0.004161,DB:0.004227,EB:0.004725,FB:0.011403,GB:0.008942,HB:0.004707,IB:0.004827,JB:0.004707,KB:0.004707,LB:0.004326,MB:0.008922,NB:0.014349,OB:0.004425,PB:0.00472,QB:0.004425,RB:0.004425,SB:0.00472,TB:0.004532,UB:0.004566,Y:0.02283,VB:0.00867,WB:0.004656,XB:0.004642,YB:0.003867,ZB:0.00944,aB:0.004293,bB:0.003867,cB:0.004298,dB:0.096692,eB:0.004201,fB:0.004141,gB:0.004257,hB:0.003939,iB:0.008236,P:0.003939,Q:0.003939,R:0.008514,pB:0.003939,S:0.003939,T:0.003801,U:0.034209,V:0.300279,W:0.592956,DC:0.00685,EC:0,FC:0.008392,GC:0.004706,jB:0.006229,wB:0.004879,HC:0.008786,kB:0.00472},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","F","DC","EC","FC","GC","B","jB","wB","HC","C","kB","G","M","N","O","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","Y","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","P","Q","R","pB","S","T","U","V","W","",""],E:"Opera",F:{"0":1438646400,"1":1442448000,"2":1445904000,"3":1449100800,"4":1454371200,"5":1457308800,"6":1462320000,"7":1465344000,"8":1470096000,"9":1474329600,F:1150761600,DC:1223424000,EC:1251763200,FC:1267488000,GC:1277942400,B:1292457600,jB:1302566400,wB:1309219200,HC:1323129600,C:1323129600,kB:1352073600,G:1372723200,M:1377561600,N:1381104000,O:1386288000,o:1390867200,p:1393891200,q:1399334400,r:1401753600,s:1405987200,t:1409616000,u:1413331200,v:1417132800,w:1422316800,x:1425945600,y:1430179200,z:1433808000,AB:1477267200,BB:1481587200,CB:1486425600,DB:1490054400,EB:1494374400,FB:1498003200,GB:1502236800,HB:1506470400,IB:1510099200,JB:1515024000,KB:1517961600,LB:1521676800,MB:1525910400,NB:1530144000,OB:1534982400,PB:1537833600,QB:1543363200,RB:1548201600,SB:1554768000,TB:1561593600,UB:1566259200,Y:1570406400,VB:1573689600,WB:1578441600,XB:1583971200,YB:1587513600,ZB:1592956800,aB:1595894400,bB:1600128000,cB:1603238400,dB:1613520000,eB:1612224000,fB:1616544000,gB:1619568000,hB:1623715200,iB:1627948800,P:1631577600,Q:1633392000,R:1635984000,pB:1638403200,S:1642550400,T:1644969600,U:1647993600,V:1650412800,W:null},D:{F:"o",B:"o",C:"o",DC:"o",EC:"o",FC:"o",GC:"o",jB:"o",wB:"o",HC:"o",kB:"o"}},G:{A:{E:0,rB:0.00149648,IC:0,xB:0.00149648,JC:0.00448945,KC:0.00448945,LC:0.0164613,MC:0.00748241,NC:0.0164613,OC:0.0748241,PC:0.00897889,QC:0.0823065,RC:0.040405,SC:0.0299296,TC:0.0299296,UC:0.559684,VC:0.0254402,WC:0.0119719,XC:0.0553698,YC:0.173592,ZC:0.528258,aC:1.278,bC:0.399561,tB:0.749737,uB:2.16691,vB:8.63769,lB:0.0284332},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","rB","IC","xB","JC","KC","LC","E","MC","NC","OC","PC","QC","RC","SC","TC","UC","VC","WC","XC","YC","ZC","aC","bC","tB","uB","vB","lB","",""],E:"Safari on iOS",F:{rB:1270252800,IC:1283904000,xB:1299628800,JC:1331078400,KC:1359331200,LC:1394409600,E:1410912000,MC:1413763200,NC:1442361600,OC:1458518400,PC:1473724800,QC:1490572800,RC:1505779200,SC:1522281600,TC:1537142400,UC:1553472000,VC:1568851200,WC:1572220800,XC:1580169600,YC:1585008000,ZC:1600214400,aC:1619395200,bC:1632096000,tB:1639353600,uB:1647216000,vB:1652659200,lB:null}},H:{A:{cC:0.950748},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","cC","","",""],E:"Opera Mini",F:{cC:1426464000}},I:{A:{mB:0,I:0.0154975,H:0,dC:0,eC:0,fC:0,gC:0.0206633,xB:0.06199,hC:0,iC:0.304784},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","dC","eC","fC","mB","I","gC","xB","hC","iC","H","","",""],E:"Android Browser",F:{dC:1256515200,eC:1274313600,fC:1291593600,mB:1298332800,I:1318896000,gC:1341792000,xB:1374624000,hC:1386547200,iC:1401667200,H:1655856000}},J:{A:{D:0,A:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","D","A","","",""],E:"Blackberry Browser",F:{D:1325376000,A:1359504000}},K:{A:{A:0,B:0,C:0,Y:0.0111391,jB:0,wB:0,kB:0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","jB","wB","C","kB","Y","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752000,jB:1314835200,wB:1318291200,C:1330300800,kB:1349740800,Y:1613433600},D:{Y:"webkit"}},L:{A:{H:42.3898},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","H","","",""],E:"Chrome for Android",F:{H:1655769600}},M:{A:{X:0.30995},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","X","","",""],E:"Firefox for Android",F:{X:1653955200}},N:{A:{A:0.0115934,B:0.022664},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456000}},O:{A:{jC:0.712885},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","jC","","",""],E:"UC Browser for Android",F:{jC:1471392000},D:{jC:"webkit"}},P:{A:{I:0.207064,kC:0.0103543,lC:0.010304,mC:0.0828255,nC:0.0103584,oC:0.0103532,sB:0.0105043,pC:0.0414128,qC:0.0207064,rC:0.0828255,sC:0.0931787,tC:0.0931787,lB:0.238123,uC:2.11205},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","I","kC","lC","mC","nC","oC","sB","pC","qC","rC","sC","tC","lB","uC","","",""],E:"Samsung Internet",F:{I:1461024000,kC:1481846400,lC:1509408000,mC:1528329600,nC:1546128000,oC:1554163200,sB:1567900800,pC:1582588800,qC:1593475200,rC:1605657600,sC:1618531200,tC:1629072000,lB:1640736000,uC:1651708800}},Q:{A:{vC:0.142577},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","vC","","",""],E:"QQ Browser",F:{vC:1589846400}},R:{A:{wC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","wC","","",""],E:"Baidu Browser",F:{wC:1491004800}},S:{A:{xC:0.049592},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","xC","","",""],E:"KaiOS Browser",F:{xC:1527811200}}};
109691
109850
  return agents;
109692
109851
  }
109693
109852
 
@@ -109821,7 +109980,7 @@ var v16 = {
109821
109980
  start: "2021-04-20",
109822
109981
  lts: "2021-10-26",
109823
109982
  maintenance: "2022-10-18",
109824
- end: "2024-04-30",
109983
+ end: "2023-09-11",
109825
109984
  codename: "Gallium"
109826
109985
  };
109827
109986
  var v17 = {
@@ -111154,7 +111313,7 @@ function requireBrowserslist () {
111154
111313
  matches: [],
111155
111314
  regexp: /^(firefox|ff|fx)\s+esr$/i,
111156
111315
  select: function () {
111157
- return ['firefox 91']
111316
+ return ['firefox 91', 'firefox 102']
111158
111317
  }
111159
111318
  },
111160
111319
  opera_mini_all: {
@@ -130724,6 +130883,7 @@ function requirePutout () {
130724
130883
  } = parser$4;
130725
130884
 
130726
130885
  const cutShebang$1 = cutShebang;
130886
+ const isString = (a) => typeof a === 'string';
130727
130887
 
130728
130888
  const defaultOpts = (opts = {}) => {
130729
130889
  const {
@@ -130745,6 +130905,8 @@ function requirePutout () {
130745
130905
  };
130746
130906
 
130747
130907
  putout$1.exports = (source, opts) => {
130908
+ check(source);
130909
+
130748
130910
  opts = defaultOpts(opts);
130749
130911
  const {
130750
130912
  parser,
@@ -130841,6 +131003,11 @@ function requirePutout () {
130841
131003
 
130842
131004
  putout$1.exports.ignores = requireIgnores();
130843
131005
  putout$1.exports.codeframe = requireCodeframe();
131006
+
131007
+ function check(source) {
131008
+ if (!isString(source))
131009
+ throw Error(`☝️ Looks like 'source' has type '${typeof source}', expected: 'string'`);
131010
+ }
130844
131011
  return putout$1.exports;
130845
131012
  }
130846
131013