@danielx/civet 0.5.59 → 0.5.60

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/dist/main.js CHANGED
@@ -611,7 +611,9 @@ ${input.slice(result.pos)}
611
611
  MethodSignature,
612
612
  ClassElementName,
613
613
  PrivateIdentifier,
614
+ WAssignmentOp,
614
615
  AssignmentOp,
616
+ OperatorAssignmentOp,
615
617
  AssignmentOpSymbol,
616
618
  CoffeeWordAssignmentOp,
617
619
  BinaryOp,
@@ -993,34 +995,34 @@ ${input.slice(result.pos)}
993
995
  Nested
994
996
  });
995
997
  var $L0 = $L("/ ");
996
- var $L1 = $L("(");
997
- var $L2 = $L("?");
998
- var $L3 = $L(".");
999
- var $L4 = $L("++");
1000
- var $L5 = $L("--");
1001
- var $L6 = $L("=>");
1002
- var $L7 = $L(" ");
1003
- var $L8 = $L("implements");
1004
- var $L9 = $L("<:");
1005
- var $L10 = $L("#");
1006
- var $L11 = $L("super");
1007
- var $L12 = $L("import");
1008
- var $L13 = $L("!");
1009
- var $L14 = $L("-");
1010
- var $L15 = $L("super[");
1011
- var $L16 = $L("import.meta");
1012
- var $L17 = $L("");
1013
- var $L18 = $L(")");
1014
- var $L19 = $L("->");
1015
- var $L20 = $L("}");
1016
- var $L21 = $L("null");
1017
- var $L22 = $L("true");
1018
- var $L23 = $L("false");
1019
- var $L24 = $L("yes");
1020
- var $L25 = $L("on");
1021
- var $L26 = $L("no");
1022
- var $L27 = $L("off");
1023
- var $L28 = $L("=");
998
+ var $L1 = $L("=");
999
+ var $L2 = $L("(");
1000
+ var $L3 = $L("?");
1001
+ var $L4 = $L(".");
1002
+ var $L5 = $L("++");
1003
+ var $L6 = $L("--");
1004
+ var $L7 = $L("=>");
1005
+ var $L8 = $L(" ");
1006
+ var $L9 = $L("implements");
1007
+ var $L10 = $L("<:");
1008
+ var $L11 = $L("#");
1009
+ var $L12 = $L("super");
1010
+ var $L13 = $L("import");
1011
+ var $L14 = $L("!");
1012
+ var $L15 = $L("-");
1013
+ var $L16 = $L("super[");
1014
+ var $L17 = $L("import.meta");
1015
+ var $L18 = $L("");
1016
+ var $L19 = $L(")");
1017
+ var $L20 = $L("->");
1018
+ var $L21 = $L("}");
1019
+ var $L22 = $L("null");
1020
+ var $L23 = $L("true");
1021
+ var $L24 = $L("false");
1022
+ var $L25 = $L("yes");
1023
+ var $L26 = $L("on");
1024
+ var $L27 = $L("no");
1025
+ var $L28 = $L("off");
1024
1026
  var $L29 = $L(">");
1025
1027
  var $L30 = $L("]");
1026
1028
  var $L31 = $L(":");
@@ -1549,7 +1551,8 @@ ${input.slice(result.pos)}
1549
1551
  var ForbiddenImplicitCalls$0 = $R$0($EXPECT($R0, fail, "ForbiddenImplicitCalls /(as|for|of|satisfies|then|when|implements)(?!\\p{ID_Continue}|[\\u200C\\u200D$])/"));
1550
1552
  var ForbiddenImplicitCalls$1 = $EXPECT($L0, fail, 'ForbiddenImplicitCalls "/ "');
1551
1553
  var ForbiddenImplicitCalls$2 = AtAt;
1552
- var ForbiddenImplicitCalls$3 = $TS($S(Identifier, $N($EXPECT($L1, fail, 'ForbiddenImplicitCalls "("'))), function($skip, $loc, $0, $1, $2) {
1554
+ var ForbiddenImplicitCalls$3 = $S(Identifier, $EXPECT($L1, fail, 'ForbiddenImplicitCalls "="'), Whitespace);
1555
+ var ForbiddenImplicitCalls$4 = $TS($S(Identifier, $N($EXPECT($L2, fail, 'ForbiddenImplicitCalls "("'))), function($skip, $loc, $0, $1, $2) {
1553
1556
  if (module2.operators.has($1.name))
1554
1557
  return $1;
1555
1558
  return $skip;
@@ -1565,12 +1568,12 @@ ${input.slice(result.pos)}
1565
1568
  }
1566
1569
  }
1567
1570
  if (state.tokenize) {
1568
- const result = $TOKEN("ForbiddenImplicitCalls", state, ForbiddenImplicitCalls$0(state) || ForbiddenImplicitCalls$1(state) || ForbiddenImplicitCalls$2(state) || ForbiddenImplicitCalls$3(state));
1571
+ const result = $TOKEN("ForbiddenImplicitCalls", state, ForbiddenImplicitCalls$0(state) || ForbiddenImplicitCalls$1(state) || ForbiddenImplicitCalls$2(state) || ForbiddenImplicitCalls$3(state) || ForbiddenImplicitCalls$4(state));
1569
1572
  if (state.events)
1570
1573
  state.events.exit?.("ForbiddenImplicitCalls", state, result, eventData);
1571
1574
  return result;
1572
1575
  } else {
1573
- const result = ForbiddenImplicitCalls$0(state) || ForbiddenImplicitCalls$1(state) || ForbiddenImplicitCalls$2(state) || ForbiddenImplicitCalls$3(state);
1576
+ const result = ForbiddenImplicitCalls$0(state) || ForbiddenImplicitCalls$1(state) || ForbiddenImplicitCalls$2(state) || ForbiddenImplicitCalls$3(state) || ForbiddenImplicitCalls$4(state);
1574
1577
  if (state.events)
1575
1578
  state.events.exit?.("ForbiddenImplicitCalls", state, result, eventData);
1576
1579
  return result;
@@ -1607,7 +1610,7 @@ ${input.slice(result.pos)}
1607
1610
  return result;
1608
1611
  }
1609
1612
  }
1610
- var TrailingMemberExpressions$0 = $TS($S($Q(MemberExpressionRest), $Q($S($C(Samedent, IndentedFurther), $Y($S($E($EXPECT($L2, fail, 'TrailingMemberExpressions "?"')), $EXPECT($L3, fail, 'TrailingMemberExpressions "."'), $N($EXPECT($R1, fail, "TrailingMemberExpressions /[0-9]/")))), MemberExpressionRest))), function($skip, $loc, $0, $1, $2) {
1613
+ var TrailingMemberExpressions$0 = $TS($S($Q(MemberExpressionRest), $Q($S($C(Samedent, IndentedFurther), $Y($S($E($EXPECT($L3, fail, 'TrailingMemberExpressions "?"')), $EXPECT($L4, fail, 'TrailingMemberExpressions "."'), $N($EXPECT($R1, fail, "TrailingMemberExpressions /[0-9]/")))), MemberExpressionRest))), function($skip, $loc, $0, $1, $2) {
1611
1614
  return $1.concat($2);
1612
1615
  });
1613
1616
  function TrailingMemberExpressions(state) {
@@ -2001,7 +2004,7 @@ ${input.slice(result.pos)}
2001
2004
  return result;
2002
2005
  }
2003
2006
  }
2004
- var UpdateExpressionSymbol$0 = $TV($C($EXPECT($L4, fail, 'UpdateExpressionSymbol "++"'), $EXPECT($L5, fail, 'UpdateExpressionSymbol "--"')), function($skip, $loc, $0, $1) {
2007
+ var UpdateExpressionSymbol$0 = $TV($C($EXPECT($L5, fail, 'UpdateExpressionSymbol "++"'), $EXPECT($L6, fail, 'UpdateExpressionSymbol "--"')), function($skip, $loc, $0, $1) {
2005
2008
  return { $loc, token: $1 };
2006
2009
  });
2007
2010
  function UpdateExpressionSymbol(state) {
@@ -2137,7 +2140,9 @@ ${input.slice(result.pos)}
2137
2140
  return result;
2138
2141
  }
2139
2142
  }
2140
- var ActualAssignment$0 = $TS($S($P($S(__, LeftHandSideExpression, __, AssignmentOp)), ExtendedExpression), function($skip, $loc, $0, $1, $2) {
2143
+ var ActualAssignment$0 = $TS($S($P($S(__, LeftHandSideExpression, WAssignmentOp)), ExtendedExpression), function($skip, $loc, $0, $1, $2) {
2144
+ $1 = $1.map((x) => [x[0], x[1], ...x[2]]);
2145
+ $0 = [$1, $2];
2141
2146
  return {
2142
2147
  type: "AssignmentExpression",
2143
2148
  children: $0,
@@ -2280,7 +2285,7 @@ ${input.slice(result.pos)}
2280
2285
  return result;
2281
2286
  }
2282
2287
  }
2283
- var FatArrow$0 = $TS($S(__, $EXPECT($L6, fail, 'FatArrow "=>"')), function($skip, $loc, $0, $1, $2) {
2288
+ var FatArrow$0 = $TS($S(__, $EXPECT($L7, fail, 'FatArrow "=>"')), function($skip, $loc, $0, $1, $2) {
2284
2289
  var ws = $1;
2285
2290
  if (!ws.length)
2286
2291
  return " =>";
@@ -2363,7 +2368,7 @@ ${input.slice(result.pos)}
2363
2368
  }
2364
2369
  }
2365
2370
  var TernaryRest$0 = NestedTernaryRest;
2366
- var TernaryRest$1 = $TS($S($N(CoffeeBinaryExistentialEnabled), $Y($EXPECT($L7, fail, 'TernaryRest " "')), $Q(TrailingComment), QuestionMark, ExtendedExpression, __, Colon, ExtendedExpression), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8) {
2371
+ var TernaryRest$1 = $TS($S($N(CoffeeBinaryExistentialEnabled), $Y($EXPECT($L8, fail, 'TernaryRest " "')), $Q(TrailingComment), QuestionMark, ExtendedExpression, __, Colon, ExtendedExpression), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8) {
2367
2372
  return $0.slice(2);
2368
2373
  });
2369
2374
  function TernaryRest(state) {
@@ -2723,7 +2728,7 @@ ${input.slice(result.pos)}
2723
2728
  return result;
2724
2729
  }
2725
2730
  }
2726
- var ExtendsToken$0 = $TS($S(Loc, __, OpenAngleBracket, $E($EXPECT($L7, fail, 'ExtendsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
2731
+ var ExtendsToken$0 = $TS($S(Loc, __, OpenAngleBracket, $E($EXPECT($L8, fail, 'ExtendsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
2727
2732
  var l = $1;
2728
2733
  var ws = $2;
2729
2734
  var lt = $3;
@@ -2817,7 +2822,7 @@ ${input.slice(result.pos)}
2817
2822
  return result;
2818
2823
  }
2819
2824
  }
2820
- var ImplementsToken$0 = $TS($S(Loc, __, ImplementsShorthand, $E($EXPECT($L7, fail, 'ImplementsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
2825
+ var ImplementsToken$0 = $TS($S(Loc, __, ImplementsShorthand, $E($EXPECT($L8, fail, 'ImplementsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
2821
2826
  var l = $1;
2822
2827
  var ws = $2;
2823
2828
  var token = $3;
@@ -2827,7 +2832,7 @@ ${input.slice(result.pos)}
2827
2832
  }
2828
2833
  return { children };
2829
2834
  });
2830
- var ImplementsToken$1 = $TS($S(__, $EXPECT($L8, fail, 'ImplementsToken "implements"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
2835
+ var ImplementsToken$1 = $TS($S(__, $EXPECT($L9, fail, 'ImplementsToken "implements"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
2831
2836
  $2 = { $loc, token: $2 };
2832
2837
  return [$1, $2];
2833
2838
  });
@@ -2853,7 +2858,7 @@ ${input.slice(result.pos)}
2853
2858
  return result;
2854
2859
  }
2855
2860
  }
2856
- var ImplementsShorthand$0 = $TV($EXPECT($L9, fail, 'ImplementsShorthand "<:"'), function($skip, $loc, $0, $1) {
2861
+ var ImplementsShorthand$0 = $TV($EXPECT($L10, fail, 'ImplementsShorthand "<:"'), function($skip, $loc, $0, $1) {
2857
2862
  return { $loc, token: "implements " };
2858
2863
  });
2859
2864
  function ImplementsShorthand(state) {
@@ -3104,7 +3109,7 @@ ${input.slice(result.pos)}
3104
3109
  }
3105
3110
  }
3106
3111
  var ThisLiteral$0 = This;
3107
- var ThisLiteral$1 = $TS($S(AtThis, $TEXT($S($E($EXPECT($L10, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
3112
+ var ThisLiteral$1 = $TS($S(AtThis, $TEXT($S($E($EXPECT($L11, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
3108
3113
  var at = $1;
3109
3114
  var id = $2;
3110
3115
  return [at, ".", id];
@@ -3158,7 +3163,7 @@ ${input.slice(result.pos)}
3158
3163
  return result;
3159
3164
  }
3160
3165
  }
3161
- var LeftHandSideExpression$0 = $TS($S($Q($S(New, $N($EXPECT($L3, fail, 'LeftHandSideExpression "."')), __)), CallExpression), function($skip, $loc, $0, $1, $2) {
3166
+ var LeftHandSideExpression$0 = $TS($S($Q($S(New, $N($EXPECT($L4, fail, 'LeftHandSideExpression "."')), __)), CallExpression), function($skip, $loc, $0, $1, $2) {
3162
3167
  if ($1.length)
3163
3168
  return $0;
3164
3169
  return $2;
@@ -3185,14 +3190,14 @@ ${input.slice(result.pos)}
3185
3190
  return result;
3186
3191
  }
3187
3192
  }
3188
- var CallExpression$0 = $TS($S($EXPECT($L11, fail, 'CallExpression "super"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3193
+ var CallExpression$0 = $TS($S($EXPECT($L12, fail, 'CallExpression "super"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3189
3194
  var rest = $3;
3190
3195
  return {
3191
3196
  type: "CallExpression",
3192
3197
  children: [$1, ...$2, ...rest.flat()]
3193
3198
  };
3194
3199
  });
3195
- var CallExpression$1 = $TS($S($EXPECT($L12, fail, 'CallExpression "import"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3200
+ var CallExpression$1 = $TS($S($EXPECT($L13, fail, 'CallExpression "import"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3196
3201
  var rest = $3;
3197
3202
  return {
3198
3203
  type: "CallExpression",
@@ -3291,7 +3296,7 @@ ${input.slice(result.pos)}
3291
3296
  return result;
3292
3297
  }
3293
3298
  }
3294
- var NonNullAssertion$0 = $T($EXPECT($L13, fail, 'NonNullAssertion "!"'), function(value) {
3299
+ var NonNullAssertion$0 = $T($EXPECT($L14, fail, 'NonNullAssertion "!"'), function(value) {
3295
3300
  return { "type": "NonNullAssertion", "ts": true, "children": value };
3296
3301
  });
3297
3302
  function NonNullAssertion(state) {
@@ -3430,7 +3435,7 @@ ${input.slice(result.pos)}
3430
3435
  ]
3431
3436
  };
3432
3437
  });
3433
- var MemberBracketContent$3 = $TS($S(Dot, $EXPECT($L14, fail, 'MemberBracketContent "-"'), IntegerLiteral), function($skip, $loc, $0, $1, $2, $3) {
3438
+ var MemberBracketContent$3 = $TS($S(Dot, $EXPECT($L15, fail, 'MemberBracketContent "-"'), IntegerLiteral), function($skip, $loc, $0, $1, $2, $3) {
3434
3439
  var dot = $1;
3435
3440
  var neg = $2;
3436
3441
  var num = $3;
@@ -3572,8 +3577,8 @@ ${input.slice(result.pos)}
3572
3577
  return result;
3573
3578
  }
3574
3579
  }
3575
- var SuperProperty$0 = $S($EXPECT($L15, fail, 'SuperProperty "super["'), ExtendedExpression, __, CloseBracket);
3576
- var SuperProperty$1 = $S($EXPECT($L11, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
3580
+ var SuperProperty$0 = $S($EXPECT($L16, fail, 'SuperProperty "super["'), ExtendedExpression, __, CloseBracket);
3581
+ var SuperProperty$1 = $S($EXPECT($L12, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
3577
3582
  function SuperProperty(state) {
3578
3583
  let eventData;
3579
3584
  if (state.events) {
@@ -3597,7 +3602,7 @@ ${input.slice(result.pos)}
3597
3602
  }
3598
3603
  }
3599
3604
  var MetaProperty$0 = $S(New, Dot, Target);
3600
- var MetaProperty$1 = $TS($S($EXPECT($L16, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
3605
+ var MetaProperty$1 = $TS($S($EXPECT($L17, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
3601
3606
  return { $loc, token: $1 };
3602
3607
  });
3603
3608
  function MetaProperty(state) {
@@ -3623,7 +3628,7 @@ ${input.slice(result.pos)}
3623
3628
  }
3624
3629
  }
3625
3630
  var Parameters$0 = NonEmptyParameters;
3626
- var Parameters$1 = $TV($EXPECT($L17, fail, 'Parameters ""'), function($skip, $loc, $0, $1) {
3631
+ var Parameters$1 = $TV($EXPECT($L18, fail, 'Parameters ""'), function($skip, $loc, $0, $1) {
3627
3632
  return {
3628
3633
  type: "Parameters",
3629
3634
  children: [{ $loc, token: "()" }],
@@ -3784,7 +3789,7 @@ ${input.slice(result.pos)}
3784
3789
  }
3785
3790
  }
3786
3791
  var ParameterElementDelimiter$0 = $S($Q(_), Comma);
3787
- var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L18, fail, 'ParameterElementDelimiter ")"')));
3792
+ var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L19, fail, 'ParameterElementDelimiter ")"')));
3788
3793
  var ParameterElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
3789
3794
  return value[1];
3790
3795
  });
@@ -4394,7 +4399,7 @@ ${input.slice(result.pos)}
4394
4399
  children: $0
4395
4400
  };
4396
4401
  });
4397
- var BindingElement$2 = $TV($EXPECT($L17, fail, 'BindingElement ""'), function($skip, $loc, $0, $1) {
4402
+ var BindingElement$2 = $TV($EXPECT($L18, fail, 'BindingElement ""'), function($skip, $loc, $0, $1) {
4398
4403
  return {
4399
4404
  type: "ElisionElement",
4400
4405
  children: [],
@@ -4465,7 +4470,7 @@ ${input.slice(result.pos)}
4465
4470
  return result;
4466
4471
  }
4467
4472
  }
4468
- var EmptyBindingPattern$0 = $TV($EXPECT($L17, fail, 'EmptyBindingPattern ""'), function($skip, $loc, $0, $1) {
4473
+ var EmptyBindingPattern$0 = $TV($EXPECT($L18, fail, 'EmptyBindingPattern ""'), function($skip, $loc, $0, $1) {
4469
4474
  const ref = {
4470
4475
  type: "Ref",
4471
4476
  base: "ref",
@@ -4941,7 +4946,7 @@ ${input.slice(result.pos)}
4941
4946
  children: [ws, binding]
4942
4947
  };
4943
4948
  });
4944
- var MatchingElement$3 = $TV($EXPECT($L17, fail, 'MatchingElement ""'), function($skip, $loc, $0, $1) {
4949
+ var MatchingElement$3 = $TV($EXPECT($L18, fail, 'MatchingElement ""'), function($skip, $loc, $0, $1) {
4945
4950
  return {
4946
4951
  type: "ElisionElement",
4947
4952
  children: [],
@@ -5329,7 +5334,7 @@ ${input.slice(result.pos)}
5329
5334
  return result;
5330
5335
  }
5331
5336
  }
5332
- var Arrow$0 = $TV($EXPECT($L19, fail, 'Arrow "->"'), function($skip, $loc, $0, $1) {
5337
+ var Arrow$0 = $TV($EXPECT($L20, fail, 'Arrow "->"'), function($skip, $loc, $0, $1) {
5333
5338
  return { $loc, token: $1 };
5334
5339
  });
5335
5340
  function Arrow(state) {
@@ -5539,7 +5544,7 @@ ${input.slice(result.pos)}
5539
5544
  return result;
5540
5545
  }
5541
5546
  }
5542
- var EmptyBareBlock$0 = $TV($EXPECT($L17, fail, 'EmptyBareBlock ""'), function($skip, $loc, $0, $1) {
5547
+ var EmptyBareBlock$0 = $TV($EXPECT($L18, fail, 'EmptyBareBlock ""'), function($skip, $loc, $0, $1) {
5543
5548
  const expressions = [];
5544
5549
  return {
5545
5550
  type: "BlockStatement",
@@ -5668,7 +5673,7 @@ ${input.slice(result.pos)}
5668
5673
  children: [$1, expressions]
5669
5674
  };
5670
5675
  });
5671
- var BracedContent$2 = $TV($Y($S(__, $EXPECT($L20, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
5676
+ var BracedContent$2 = $TV($Y($S(__, $EXPECT($L21, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
5672
5677
  const expressions = [];
5673
5678
  return {
5674
5679
  type: "BlockStatement",
@@ -5813,7 +5818,7 @@ ${input.slice(result.pos)}
5813
5818
  return result;
5814
5819
  }
5815
5820
  }
5816
- var NullLiteral$0 = $TS($S($EXPECT($L21, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5821
+ var NullLiteral$0 = $TS($S($EXPECT($L22, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5817
5822
  return { $loc, token: $1 };
5818
5823
  });
5819
5824
  function NullLiteral(state) {
@@ -5841,7 +5846,7 @@ ${input.slice(result.pos)}
5841
5846
  var BooleanLiteral$0 = $T($S(CoffeeBooleansEnabled, CoffeeScriptBooleanLiteral), function(value) {
5842
5847
  return value[1];
5843
5848
  });
5844
- var BooleanLiteral$1 = $TS($S($C($EXPECT($L22, fail, 'BooleanLiteral "true"'), $EXPECT($L23, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5849
+ var BooleanLiteral$1 = $TS($S($C($EXPECT($L23, fail, 'BooleanLiteral "true"'), $EXPECT($L24, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5845
5850
  return { $loc, token: $1 };
5846
5851
  });
5847
5852
  function BooleanLiteral(state) {
@@ -5866,10 +5871,10 @@ ${input.slice(result.pos)}
5866
5871
  return result;
5867
5872
  }
5868
5873
  }
5869
- var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L24, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L25, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5874
+ var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L25, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L26, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5870
5875
  return { $loc, token: "true" };
5871
5876
  });
5872
- var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L26, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L27, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5877
+ var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L27, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L28, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5873
5878
  return { $loc, token: "false" };
5874
5879
  });
5875
5880
  function CoffeeScriptBooleanLiteral(state) {
@@ -5975,7 +5980,7 @@ ${input.slice(result.pos)}
5975
5980
  return result;
5976
5981
  }
5977
5982
  }
5978
- var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L28, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L28, fail, 'UpcomingAssignment "="'), $EXPECT($L29, fail, 'UpcomingAssignment ">"')))));
5983
+ var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L1, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L1, fail, 'UpcomingAssignment "="'), $EXPECT($L29, fail, 'UpcomingAssignment ">"')))));
5979
5984
  function UpcomingAssignment(state) {
5980
5985
  let eventData;
5981
5986
  if (state.events) {
@@ -6673,7 +6678,7 @@ ${input.slice(result.pos)}
6673
6678
  var ImplicitInlineObjectPropertyDelimiter$1 = $T($S($Y($S($C(Samedent, $Q(_)), NamedProperty)), InsertComma), function(value) {
6674
6679
  return value[1];
6675
6680
  });
6676
- var ImplicitInlineObjectPropertyDelimiter$2 = $T($Y($S(__, $C($EXPECT($L31, fail, 'ImplicitInlineObjectPropertyDelimiter ":"'), $EXPECT($L18, fail, 'ImplicitInlineObjectPropertyDelimiter ")"'), $EXPECT($L30, fail, 'ImplicitInlineObjectPropertyDelimiter "]"'), $EXPECT($L20, fail, 'ImplicitInlineObjectPropertyDelimiter "}"'), ReservedWord))), function(value) {
6681
+ var ImplicitInlineObjectPropertyDelimiter$2 = $T($Y($S(__, $C($EXPECT($L31, fail, 'ImplicitInlineObjectPropertyDelimiter ":"'), $EXPECT($L19, fail, 'ImplicitInlineObjectPropertyDelimiter ")"'), $EXPECT($L30, fail, 'ImplicitInlineObjectPropertyDelimiter "]"'), $EXPECT($L21, fail, 'ImplicitInlineObjectPropertyDelimiter "}"'), ReservedWord))), function(value) {
6677
6682
  return "";
6678
6683
  });
6679
6684
  var ImplicitInlineObjectPropertyDelimiter$3 = $T($Y(EOS), function(value) {
@@ -6702,7 +6707,7 @@ ${input.slice(result.pos)}
6702
6707
  }
6703
6708
  }
6704
6709
  var ObjectPropertyDelimiter$0 = $S($Q(_), Comma);
6705
- var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L20, fail, 'ObjectPropertyDelimiter "}"')));
6710
+ var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L21, fail, 'ObjectPropertyDelimiter "}"')));
6706
6711
  var ObjectPropertyDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
6707
6712
  return value[1];
6708
6713
  });
@@ -6977,7 +6982,7 @@ ${input.slice(result.pos)}
6977
6982
  expression
6978
6983
  };
6979
6984
  });
6980
- var ComputedPropertyName$2 = $TS($S(InsertOpenBracket, $EXPECT($L14, fail, 'ComputedPropertyName "-"'), NumericLiteral, InsertCloseBracket), function($skip, $loc, $0, $1, $2, $3, $4) {
6985
+ var ComputedPropertyName$2 = $TS($S(InsertOpenBracket, $EXPECT($L15, fail, 'ComputedPropertyName "-"'), NumericLiteral, InsertCloseBracket), function($skip, $loc, $0, $1, $2, $3, $4) {
6981
6986
  return {
6982
6987
  type: "ComputedPropertyName",
6983
6988
  children: $0
@@ -7195,7 +7200,7 @@ ${input.slice(result.pos)}
7195
7200
  return result;
7196
7201
  }
7197
7202
  }
7198
- var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L10, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
7203
+ var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L11, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
7199
7204
  return {
7200
7205
  type: "Identifier",
7201
7206
  name: $0,
@@ -7228,6 +7233,30 @@ ${input.slice(result.pos)}
7228
7233
  return result;
7229
7234
  }
7230
7235
  }
7236
+ var WAssignmentOp$0 = $S(__, AssignmentOp);
7237
+ var WAssignmentOp$1 = $S(_, OperatorAssignmentOp);
7238
+ function WAssignmentOp(state) {
7239
+ let eventData;
7240
+ if (state.events) {
7241
+ const result = state.events.enter?.("WAssignmentOp", state);
7242
+ if (result) {
7243
+ if (result.cache)
7244
+ return result.cache;
7245
+ eventData = result.data;
7246
+ }
7247
+ }
7248
+ if (state.tokenize) {
7249
+ const result = $TOKEN("WAssignmentOp", state, WAssignmentOp$0(state) || WAssignmentOp$1(state));
7250
+ if (state.events)
7251
+ state.events.exit?.("WAssignmentOp", state, result, eventData);
7252
+ return result;
7253
+ } else {
7254
+ const result = WAssignmentOp$0(state) || WAssignmentOp$1(state);
7255
+ if (state.events)
7256
+ state.events.exit?.("WAssignmentOp", state, result, eventData);
7257
+ return result;
7258
+ }
7259
+ }
7231
7260
  var AssignmentOp$0 = $TS($S(AssignmentOpSymbol, $Q(TrailingComment)), function($skip, $loc, $0, $1, $2) {
7232
7261
  if ($2.length) {
7233
7262
  return {
@@ -7259,6 +7288,35 @@ ${input.slice(result.pos)}
7259
7288
  return result;
7260
7289
  }
7261
7290
  }
7291
+ var OperatorAssignmentOp$0 = $TS($S(Identifier, $EXPECT($L1, fail, 'OperatorAssignmentOp "="'), $Y(Whitespace), $Q(TrailingComment)), function($skip, $loc, $0, $1, $2, $3, $4) {
7292
+ return {
7293
+ special: true,
7294
+ call: $1,
7295
+ children: [$2, ...$4]
7296
+ };
7297
+ });
7298
+ function OperatorAssignmentOp(state) {
7299
+ let eventData;
7300
+ if (state.events) {
7301
+ const result = state.events.enter?.("OperatorAssignmentOp", state);
7302
+ if (result) {
7303
+ if (result.cache)
7304
+ return result.cache;
7305
+ eventData = result.data;
7306
+ }
7307
+ }
7308
+ if (state.tokenize) {
7309
+ const result = $TOKEN("OperatorAssignmentOp", state, OperatorAssignmentOp$0(state));
7310
+ if (state.events)
7311
+ state.events.exit?.("OperatorAssignmentOp", state, result, eventData);
7312
+ return result;
7313
+ } else {
7314
+ const result = OperatorAssignmentOp$0(state);
7315
+ if (state.events)
7316
+ state.events.exit?.("OperatorAssignmentOp", state, result, eventData);
7317
+ return result;
7318
+ }
7319
+ }
7262
7320
  var AssignmentOpSymbol$0 = $EXPECT($L32, fail, 'AssignmentOpSymbol "**="');
7263
7321
  var AssignmentOpSymbol$1 = $EXPECT($L33, fail, 'AssignmentOpSymbol "*="');
7264
7322
  var AssignmentOpSymbol$2 = $EXPECT($L34, fail, 'AssignmentOpSymbol "/="');
@@ -7277,7 +7335,7 @@ ${input.slice(result.pos)}
7277
7335
  var AssignmentOpSymbol$15 = $T($EXPECT($L47, fail, 'AssignmentOpSymbol "?="'), function(value) {
7278
7336
  return "??=";
7279
7337
  });
7280
- var AssignmentOpSymbol$16 = $T($S($EXPECT($L28, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L28, fail, 'AssignmentOpSymbol "="'))), function(value) {
7338
+ var AssignmentOpSymbol$16 = $T($S($EXPECT($L1, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L1, fail, 'AssignmentOpSymbol "="'))), function(value) {
7281
7339
  return value[0];
7282
7340
  });
7283
7341
  var AssignmentOpSymbol$17 = $T($S(CoffeeWordAssignmentOp), function(value) {
@@ -7390,7 +7448,7 @@ ${input.slice(result.pos)}
7390
7448
  });
7391
7449
  var BinaryOpSymbol$4 = $EXPECT($L55, fail, 'BinaryOpSymbol "%"');
7392
7450
  var BinaryOpSymbol$5 = $EXPECT($L56, fail, 'BinaryOpSymbol "+"');
7393
- var BinaryOpSymbol$6 = $EXPECT($L14, fail, 'BinaryOpSymbol "-"');
7451
+ var BinaryOpSymbol$6 = $EXPECT($L15, fail, 'BinaryOpSymbol "-"');
7394
7452
  var BinaryOpSymbol$7 = $EXPECT($L57, fail, 'BinaryOpSymbol "<="');
7395
7453
  var BinaryOpSymbol$8 = $EXPECT($L58, fail, 'BinaryOpSymbol ">="');
7396
7454
  var BinaryOpSymbol$9 = $TV($EXPECT($L59, fail, 'BinaryOpSymbol "<?"'), function($skip, $loc, $0, $1) {
@@ -7446,7 +7504,7 @@ ${input.slice(result.pos)}
7446
7504
  });
7447
7505
  var BinaryOpSymbol$25 = $EXPECT($L73, fail, 'BinaryOpSymbol "||"');
7448
7506
  var BinaryOpSymbol$26 = $EXPECT($L74, fail, 'BinaryOpSymbol "??"');
7449
- var BinaryOpSymbol$27 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L2, fail, 'BinaryOpSymbol "?"')), function(value) {
7507
+ var BinaryOpSymbol$27 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L3, fail, 'BinaryOpSymbol "?"')), function(value) {
7450
7508
  return "??";
7451
7509
  });
7452
7510
  var BinaryOpSymbol$28 = $TS($S($EXPECT($L75, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
@@ -7729,7 +7787,7 @@ ${input.slice(result.pos)}
7729
7787
  return result;
7730
7788
  }
7731
7789
  }
7732
- var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L28, fail, 'BlockStatement "="')))), function(value) {
7790
+ var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L1, fail, 'BlockStatement "="')))), function(value) {
7733
7791
  return value[0];
7734
7792
  });
7735
7793
  function BlockStatement(state) {
@@ -9145,7 +9203,7 @@ ${input.slice(result.pos)}
9145
9203
  }
9146
9204
  }
9147
9205
  var ImpliedColon$0 = $S(__, Colon);
9148
- var ImpliedColon$1 = $TV($EXPECT($L17, fail, 'ImpliedColon ""'), function($skip, $loc, $0, $1) {
9206
+ var ImpliedColon$1 = $TV($EXPECT($L18, fail, 'ImpliedColon ""'), function($skip, $loc, $0, $1) {
9149
9207
  return { $loc, token: ":" };
9150
9208
  });
9151
9209
  function ImpliedColon(state) {
@@ -9332,7 +9390,7 @@ ${input.slice(result.pos)}
9332
9390
  return result;
9333
9391
  }
9334
9392
  }
9335
- var Condition$0 = $T($S(ParenthesizedExpression, $N($S($Q(TrailingComment), $C(BinaryOp, AssignmentOp, Dot, QuestionMark)))), function(value) {
9393
+ var Condition$0 = $T($S(ParenthesizedExpression, $N($S($Q(TrailingComment), $C(BinaryOp, AssignmentOp, Dot, QuestionMark))), $N($S(_, OperatorAssignmentOp))), function(value) {
9336
9394
  return value[0];
9337
9395
  });
9338
9396
  var Condition$1 = $TS($S(InsertOpenParen, ExpressionWithIndentedApplicationSuppressed, InsertCloseParen), function($skip, $loc, $0, $1, $2, $3) {
@@ -9399,7 +9457,7 @@ ${input.slice(result.pos)}
9399
9457
  return result;
9400
9458
  }
9401
9459
  }
9402
- var SuppressIndentedApplication$0 = $TV($EXPECT($L17, fail, 'SuppressIndentedApplication ""'), function($skip, $loc, $0, $1) {
9460
+ var SuppressIndentedApplication$0 = $TV($EXPECT($L18, fail, 'SuppressIndentedApplication ""'), function($skip, $loc, $0, $1) {
9403
9461
  module2.suppressIndentedApplication = true;
9404
9462
  });
9405
9463
  function SuppressIndentedApplication(state) {
@@ -9424,7 +9482,7 @@ ${input.slice(result.pos)}
9424
9482
  return result;
9425
9483
  }
9426
9484
  }
9427
- var IndentedApplicationAllowed$0 = $TV($EXPECT($L17, fail, 'IndentedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
9485
+ var IndentedApplicationAllowed$0 = $TV($EXPECT($L18, fail, 'IndentedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
9428
9486
  if (module2.suppressIndentedApplication)
9429
9487
  return $skip;
9430
9488
  return;
@@ -9451,7 +9509,7 @@ ${input.slice(result.pos)}
9451
9509
  return result;
9452
9510
  }
9453
9511
  }
9454
- var SuppressTrailingMemberProperty$0 = $TV($EXPECT($L17, fail, 'SuppressTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
9512
+ var SuppressTrailingMemberProperty$0 = $TV($EXPECT($L18, fail, 'SuppressTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
9455
9513
  module2.suppressTrailingMemberProperty.push(true);
9456
9514
  });
9457
9515
  function SuppressTrailingMemberProperty(state) {
@@ -9476,7 +9534,7 @@ ${input.slice(result.pos)}
9476
9534
  return result;
9477
9535
  }
9478
9536
  }
9479
- var TrailingMemberPropertyAllowed$0 = $TV($EXPECT($L17, fail, 'TrailingMemberPropertyAllowed ""'), function($skip, $loc, $0, $1) {
9537
+ var TrailingMemberPropertyAllowed$0 = $TV($EXPECT($L18, fail, 'TrailingMemberPropertyAllowed ""'), function($skip, $loc, $0, $1) {
9480
9538
  if (module2.trailingMemberPropertySuppressed)
9481
9539
  return $skip;
9482
9540
  });
@@ -9690,7 +9748,7 @@ ${input.slice(result.pos)}
9690
9748
  return result;
9691
9749
  }
9692
9750
  }
9693
- var ImpliedImport$0 = $TV($EXPECT($L17, fail, 'ImpliedImport ""'), function($skip, $loc, $0, $1) {
9751
+ var ImpliedImport$0 = $TV($EXPECT($L18, fail, 'ImpliedImport ""'), function($skip, $loc, $0, $1) {
9694
9752
  return { $loc, token: "import " };
9695
9753
  });
9696
9754
  function ImpliedImport(state) {
@@ -9942,7 +10000,7 @@ ${input.slice(result.pos)}
9942
10000
  }
9943
10001
  }
9944
10002
  var ImportAsToken$0 = $S(__, As);
9945
- var ImportAsToken$1 = $TS($S(Loc, __, Colon, $E($EXPECT($L7, fail, 'ImportAsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
10003
+ var ImportAsToken$1 = $TS($S(Loc, __, Colon, $E($EXPECT($L8, fail, 'ImportAsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
9946
10004
  var l = $1;
9947
10005
  var ws = $2;
9948
10006
  var c = $3;
@@ -10004,6 +10062,8 @@ ${input.slice(result.pos)}
10004
10062
  }
10005
10063
  }
10006
10064
  var ModuleSpecifier$0 = $TS($S(UnprocessedModuleSpecifier), function($skip, $loc, $0, $1) {
10065
+ if (!module2.config.rewriteTsImports)
10066
+ return $1;
10007
10067
  const { token } = $1;
10008
10068
  return { $loc, token: token.replace(/\.([mc])?ts(['"])$/, ".$1js$2") };
10009
10069
  });
@@ -12055,7 +12115,7 @@ ${input.slice(result.pos)}
12055
12115
  }
12056
12116
  }
12057
12117
  var StatementDelimiter$0 = SemicolonDelimiter;
12058
- var StatementDelimiter$1 = $S($Y($S(Samedent, $C($EXPECT($L1, fail, 'StatementDelimiter "("'), $EXPECT($L93, fail, 'StatementDelimiter "["'), $EXPECT($L94, fail, 'StatementDelimiter "`"'), $EXPECT($L56, fail, 'StatementDelimiter "+"'), $EXPECT($L14, fail, 'StatementDelimiter "-"'), $EXPECT($L52, fail, 'StatementDelimiter "*"'), $EXPECT($L53, fail, 'StatementDelimiter "/"'), ObjectLiteral))), InsertSemicolon);
12118
+ var StatementDelimiter$1 = $S($Y($S(Samedent, $C($EXPECT($L2, fail, 'StatementDelimiter "("'), $EXPECT($L93, fail, 'StatementDelimiter "["'), $EXPECT($L94, fail, 'StatementDelimiter "`"'), $EXPECT($L56, fail, 'StatementDelimiter "+"'), $EXPECT($L15, fail, 'StatementDelimiter "-"'), $EXPECT($L52, fail, 'StatementDelimiter "*"'), $EXPECT($L53, fail, 'StatementDelimiter "/"'), ObjectLiteral))), InsertSemicolon);
12059
12119
  var StatementDelimiter$2 = $Y(EOS);
12060
12120
  function StatementDelimiter(state) {
12061
12121
  let eventData;
@@ -12130,7 +12190,7 @@ ${input.slice(result.pos)}
12130
12190
  return result;
12131
12191
  }
12132
12192
  }
12133
- var Loc$0 = $TV($EXPECT($L17, fail, 'Loc ""'), function($skip, $loc, $0, $1) {
12193
+ var Loc$0 = $TV($EXPECT($L18, fail, 'Loc ""'), function($skip, $loc, $0, $1) {
12134
12194
  return { $loc, token: "" };
12135
12195
  });
12136
12196
  function Loc(state) {
@@ -12155,7 +12215,7 @@ ${input.slice(result.pos)}
12155
12215
  return result;
12156
12216
  }
12157
12217
  }
12158
- var Abstract$0 = $TV($TEXT($S($EXPECT($L95, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L7, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
12218
+ var Abstract$0 = $TV($TEXT($S($EXPECT($L95, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L8, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
12159
12219
  return { $loc, token: $1, ts: true };
12160
12220
  });
12161
12221
  function Abstract(state) {
@@ -12455,7 +12515,7 @@ ${input.slice(result.pos)}
12455
12515
  return result;
12456
12516
  }
12457
12517
  }
12458
- var CloseBrace$0 = $TV($EXPECT($L20, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
12518
+ var CloseBrace$0 = $TV($EXPECT($L21, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
12459
12519
  return { $loc, token: $1 };
12460
12520
  });
12461
12521
  function CloseBrace(state) {
@@ -12505,7 +12565,7 @@ ${input.slice(result.pos)}
12505
12565
  return result;
12506
12566
  }
12507
12567
  }
12508
- var CloseParen$0 = $TV($EXPECT($L18, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
12568
+ var CloseParen$0 = $TV($EXPECT($L19, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
12509
12569
  return { $loc, token: $1 };
12510
12570
  });
12511
12571
  function CloseParen(state) {
@@ -12730,7 +12790,7 @@ ${input.slice(result.pos)}
12730
12790
  return result;
12731
12791
  }
12732
12792
  }
12733
- var Dot$0 = $TV($EXPECT($L3, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
12793
+ var Dot$0 = $TV($EXPECT($L4, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
12734
12794
  return { $loc, token: $1 };
12735
12795
  });
12736
12796
  function Dot(state) {
@@ -12880,7 +12940,7 @@ ${input.slice(result.pos)}
12880
12940
  return result;
12881
12941
  }
12882
12942
  }
12883
- var Equals$0 = $TV($EXPECT($L28, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
12943
+ var Equals$0 = $TV($EXPECT($L1, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
12884
12944
  return { $loc, token: $1 };
12885
12945
  });
12886
12946
  function Equals(state) {
@@ -13055,7 +13115,7 @@ ${input.slice(result.pos)}
13055
13115
  return result;
13056
13116
  }
13057
13117
  }
13058
- var If$0 = $TV($TEXT($S($EXPECT($L123, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L7, fail, 'If " "')))), function($skip, $loc, $0, $1) {
13118
+ var If$0 = $TV($TEXT($S($EXPECT($L123, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L8, fail, 'If " "')))), function($skip, $loc, $0, $1) {
13059
13119
  return { $loc, token: $1 };
13060
13120
  });
13061
13121
  function If(state) {
@@ -13080,7 +13140,7 @@ ${input.slice(result.pos)}
13080
13140
  return result;
13081
13141
  }
13082
13142
  }
13083
- var Import$0 = $TS($S($EXPECT($L12, fail, 'Import "import"'), $Y($EXPECT($R47, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
13143
+ var Import$0 = $TS($S($EXPECT($L13, fail, 'Import "import"'), $Y($EXPECT($R47, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
13084
13144
  return { $loc, token: $1 };
13085
13145
  });
13086
13146
  function Import(state) {
@@ -13205,7 +13265,7 @@ ${input.slice(result.pos)}
13205
13265
  return result;
13206
13266
  }
13207
13267
  }
13208
- var Not$0 = $TS($S(CoffeeNotEnabled, $EXPECT($L50, fail, 'Not "not"'), NonIdContinue, $E($EXPECT($L7, fail, 'Not " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
13268
+ var Not$0 = $TS($S(CoffeeNotEnabled, $EXPECT($L50, fail, 'Not "not"'), NonIdContinue, $E($EXPECT($L8, fail, 'Not " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
13209
13269
  return { $loc, token: "!" };
13210
13270
  });
13211
13271
  function Not(state) {
@@ -13330,7 +13390,7 @@ ${input.slice(result.pos)}
13330
13390
  return result;
13331
13391
  }
13332
13392
  }
13333
- var OpenParen$0 = $TV($EXPECT($L1, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
13393
+ var OpenParen$0 = $TV($EXPECT($L2, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
13334
13394
  return { $loc, token: $1 };
13335
13395
  });
13336
13396
  function OpenParen(state) {
@@ -13480,7 +13540,7 @@ ${input.slice(result.pos)}
13480
13540
  return result;
13481
13541
  }
13482
13542
  }
13483
- var QuestionMark$0 = $TV($EXPECT($L2, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
13543
+ var QuestionMark$0 = $TV($EXPECT($L3, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
13484
13544
  return { $loc, token: $1 };
13485
13545
  });
13486
13546
  function QuestionMark(state) {
@@ -13658,7 +13718,7 @@ ${input.slice(result.pos)}
13658
13718
  var Static$0 = $TS($S($EXPECT($L139, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13659
13719
  return { $loc, token: $1 };
13660
13720
  });
13661
- var Static$1 = $TS($S($EXPECT($L97, fail, 'Static "@"'), $N($C($EXPECT($L1, fail, 'Static "("'), $EXPECT($L97, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
13721
+ var Static$1 = $TS($S($EXPECT($L97, fail, 'Static "@"'), $N($C($EXPECT($L2, fail, 'Static "("'), $EXPECT($L97, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
13662
13722
  return { $loc, token: "static " };
13663
13723
  });
13664
13724
  function Static(state) {
@@ -14359,7 +14419,7 @@ ${input.slice(result.pos)}
14359
14419
  return $skip;
14360
14420
  return $0;
14361
14421
  });
14362
- var JSXOptionalClosingElement$1 = $EXPECT($L17, fail, 'JSXOptionalClosingElement ""');
14422
+ var JSXOptionalClosingElement$1 = $EXPECT($L18, fail, 'JSXOptionalClosingElement ""');
14363
14423
  function JSXOptionalClosingElement(state) {
14364
14424
  let eventData;
14365
14425
  if (state.events) {
@@ -14483,7 +14543,7 @@ ${input.slice(result.pos)}
14483
14543
  return $skip;
14484
14544
  return $0;
14485
14545
  });
14486
- var JSXOptionalClosingFragment$1 = $EXPECT($L17, fail, 'JSXOptionalClosingFragment ""');
14546
+ var JSXOptionalClosingFragment$1 = $EXPECT($L18, fail, 'JSXOptionalClosingFragment ""');
14487
14547
  function JSXOptionalClosingFragment(state) {
14488
14548
  let eventData;
14489
14549
  if (state.events) {
@@ -14731,7 +14791,7 @@ ${input.slice(result.pos)}
14731
14791
  }
14732
14792
  });
14733
14793
  var JSXAttribute$2 = $S(InsertInlineOpenBrace, DotDotDot, InlineJSXAttributeValue, InsertCloseBrace, $Y(JSXAttributeSpace));
14734
- var JSXAttribute$3 = $TS($S($EXPECT($L10, fail, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
14794
+ var JSXAttribute$3 = $TS($S($EXPECT($L11, fail, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
14735
14795
  return [" ", "id=", $2];
14736
14796
  });
14737
14797
  var JSXAttribute$4 = $TS($S(Dot, JSXShorthandString), function($skip, $loc, $0, $1, $2) {
@@ -14927,7 +14987,7 @@ ${input.slice(result.pos)}
14927
14987
  return result;
14928
14988
  }
14929
14989
  }
14930
- var InlineJSXBinaryOpRHS$0 = $TS($S($N($EXPECT($R51, fail, "InlineJSXBinaryOpRHS /[<>]/")), BinaryOp, $C(ParenthesizedAssignment, InlineJSXUnaryExpression)), function($skip, $loc, $0, $1, $2, $3) {
14990
+ var InlineJSXBinaryOpRHS$0 = $TS($S($N($EXPECT($R51, fail, "InlineJSXBinaryOpRHS /[<>]/")), BinaryOp, InlineJSXUnaryExpression), function($skip, $loc, $0, $1, $2, $3) {
14931
14991
  var op = $2;
14932
14992
  var rhs = $3;
14933
14993
  return [[], op, [], rhs];
@@ -15058,8 +15118,8 @@ ${input.slice(result.pos)}
15058
15118
  return result;
15059
15119
  }
15060
15120
  }
15061
- var InlineJSXCallExpression$0 = $S($EXPECT($L11, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments);
15062
- var InlineJSXCallExpression$1 = $S($EXPECT($L12, fail, 'InlineJSXCallExpression "import"'), OpenParen, ExtendedExpression, __, CloseParen);
15121
+ var InlineJSXCallExpression$0 = $S($EXPECT($L12, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments);
15122
+ var InlineJSXCallExpression$1 = $S($EXPECT($L13, fail, 'InlineJSXCallExpression "import"'), OpenParen, ExtendedExpression, __, CloseParen);
15063
15123
  var InlineJSXCallExpression$2 = $TS($S(InlineJSXMemberExpression, $Q(InlineJSXCallExpressionRest)), function($skip, $loc, $0, $1, $2) {
15064
15124
  if ($2.length)
15065
15125
  return $0;
@@ -15273,7 +15333,7 @@ ${input.slice(result.pos)}
15273
15333
  }
15274
15334
  return $skip;
15275
15335
  });
15276
- var JSXNestedChildren$1 = $TV($Y($C(JSXEOS, $EXPECT($L20, fail, 'JSXNestedChildren "}"'), JSXClosingElement, JSXClosingFragment)), function($skip, $loc, $0, $1) {
15336
+ var JSXNestedChildren$1 = $TV($Y($C(JSXEOS, $EXPECT($L21, fail, 'JSXNestedChildren "}"'), JSXClosingElement, JSXClosingFragment)), function($skip, $loc, $0, $1) {
15277
15337
  return { children: [], jsxChildren: [] };
15278
15338
  });
15279
15339
  function JSXNestedChildren(state) {
@@ -16304,8 +16364,8 @@ ${input.slice(result.pos)}
16304
16364
  return result;
16305
16365
  }
16306
16366
  }
16307
- var ImportType$0 = $S($EXPECT($L12, fail, 'ImportType "import"'), OpenParen, __, StringLiteral, __, CloseParen, $E($S(Dot, IdentifierName)), $E(TypeArguments));
16308
- var ImportType$1 = $S($EXPECT($L12, fail, 'ImportType "import"'), InsertOpenParen, Trimmed_, StringLiteral, InsertCloseParen);
16367
+ var ImportType$0 = $S($EXPECT($L13, fail, 'ImportType "import"'), OpenParen, __, StringLiteral, __, CloseParen, $E($S(Dot, IdentifierName)), $E(TypeArguments));
16368
+ var ImportType$1 = $S($EXPECT($L13, fail, 'ImportType "import"'), InsertOpenParen, Trimmed_, StringLiteral, InsertCloseParen);
16309
16369
  function ImportType(state) {
16310
16370
  let eventData;
16311
16371
  if (state.events) {
@@ -16533,7 +16593,7 @@ ${input.slice(result.pos)}
16533
16593
  var InlineInterfacePropertyDelimiter$1 = $T($S($Y($S($C(IndentedFurther, $E(_)), InlineBasicInterfaceProperty)), InsertComma), function(value) {
16534
16594
  return value[1];
16535
16595
  });
16536
- var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L31, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L18, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L30, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L20, fail, 'InlineInterfacePropertyDelimiter "}"'))));
16596
+ var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L31, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L19, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L30, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L21, fail, 'InlineInterfacePropertyDelimiter "}"'))));
16537
16597
  var InlineInterfacePropertyDelimiter$3 = $Y(EOS);
16538
16598
  function InlineInterfacePropertyDelimiter(state) {
16539
16599
  let eventData;
@@ -16585,7 +16645,7 @@ ${input.slice(result.pos)}
16585
16645
  return result;
16586
16646
  }
16587
16647
  }
16588
- var FunctionType$0 = $TS($S(Parameters, __, $EXPECT($L6, fail, 'FunctionType "=>"'), $E(Type)), function($skip, $loc, $0, $1, $2, $3, $4) {
16648
+ var FunctionType$0 = $TS($S(Parameters, __, $EXPECT($L7, fail, 'FunctionType "=>"'), $E(Type)), function($skip, $loc, $0, $1, $2, $3, $4) {
16589
16649
  var type = $4;
16590
16650
  if (type) {
16591
16651
  return $0;
@@ -16762,7 +16822,7 @@ ${input.slice(result.pos)}
16762
16822
  return result;
16763
16823
  }
16764
16824
  }
16765
- var TypeInitializer$0 = $S(__, $EXPECT($L28, fail, 'TypeInitializer "="'), Type);
16825
+ var TypeInitializer$0 = $S(__, $EXPECT($L1, fail, 'TypeInitializer "="'), Type);
16766
16826
  function TypeInitializer(state) {
16767
16827
  let eventData;
16768
16828
  if (state.events) {
@@ -17051,7 +17111,7 @@ ${input.slice(result.pos)}
17051
17111
  return result;
17052
17112
  }
17053
17113
  }
17054
- var Debugger$0 = $TV($EXPECT($L17, fail, 'Debugger ""'), function($skip, $loc, $0, $1) {
17114
+ var Debugger$0 = $TV($EXPECT($L18, fail, 'Debugger ""'), function($skip, $loc, $0, $1) {
17055
17115
  debugger;
17056
17116
  });
17057
17117
  function Debugger(state) {
@@ -17076,7 +17136,7 @@ ${input.slice(result.pos)}
17076
17136
  return result;
17077
17137
  }
17078
17138
  }
17079
- var InsertSemicolon$0 = $TV($EXPECT($L17, fail, 'InsertSemicolon ""'), function($skip, $loc, $0, $1) {
17139
+ var InsertSemicolon$0 = $TV($EXPECT($L18, fail, 'InsertSemicolon ""'), function($skip, $loc, $0, $1) {
17080
17140
  return { $loc, token: ";" };
17081
17141
  });
17082
17142
  function InsertSemicolon(state) {
@@ -17101,7 +17161,7 @@ ${input.slice(result.pos)}
17101
17161
  return result;
17102
17162
  }
17103
17163
  }
17104
- var InsertOpenParen$0 = $TV($EXPECT($L17, fail, 'InsertOpenParen ""'), function($skip, $loc, $0, $1) {
17164
+ var InsertOpenParen$0 = $TV($EXPECT($L18, fail, 'InsertOpenParen ""'), function($skip, $loc, $0, $1) {
17105
17165
  return { $loc, token: "(" };
17106
17166
  });
17107
17167
  function InsertOpenParen(state) {
@@ -17126,7 +17186,7 @@ ${input.slice(result.pos)}
17126
17186
  return result;
17127
17187
  }
17128
17188
  }
17129
- var InsertCloseParen$0 = $TV($EXPECT($L17, fail, 'InsertCloseParen ""'), function($skip, $loc, $0, $1) {
17189
+ var InsertCloseParen$0 = $TV($EXPECT($L18, fail, 'InsertCloseParen ""'), function($skip, $loc, $0, $1) {
17130
17190
  return { $loc, token: ")" };
17131
17191
  });
17132
17192
  function InsertCloseParen(state) {
@@ -17151,7 +17211,7 @@ ${input.slice(result.pos)}
17151
17211
  return result;
17152
17212
  }
17153
17213
  }
17154
- var InsertOpenBrace$0 = $TV($EXPECT($L17, fail, 'InsertOpenBrace ""'), function($skip, $loc, $0, $1) {
17214
+ var InsertOpenBrace$0 = $TV($EXPECT($L18, fail, 'InsertOpenBrace ""'), function($skip, $loc, $0, $1) {
17155
17215
  return [{ $loc, token: " " }, { $loc, token: "{" }];
17156
17216
  });
17157
17217
  function InsertOpenBrace(state) {
@@ -17176,7 +17236,7 @@ ${input.slice(result.pos)}
17176
17236
  return result;
17177
17237
  }
17178
17238
  }
17179
- var InsertInlineOpenBrace$0 = $TV($EXPECT($L17, fail, 'InsertInlineOpenBrace ""'), function($skip, $loc, $0, $1) {
17239
+ var InsertInlineOpenBrace$0 = $TV($EXPECT($L18, fail, 'InsertInlineOpenBrace ""'), function($skip, $loc, $0, $1) {
17180
17240
  return { $loc, token: "{" };
17181
17241
  });
17182
17242
  function InsertInlineOpenBrace(state) {
@@ -17201,7 +17261,7 @@ ${input.slice(result.pos)}
17201
17261
  return result;
17202
17262
  }
17203
17263
  }
17204
- var InsertCloseBrace$0 = $TV($EXPECT($L17, fail, 'InsertCloseBrace ""'), function($skip, $loc, $0, $1) {
17264
+ var InsertCloseBrace$0 = $TV($EXPECT($L18, fail, 'InsertCloseBrace ""'), function($skip, $loc, $0, $1) {
17205
17265
  return { $loc, token: "}" };
17206
17266
  });
17207
17267
  function InsertCloseBrace(state) {
@@ -17226,7 +17286,7 @@ ${input.slice(result.pos)}
17226
17286
  return result;
17227
17287
  }
17228
17288
  }
17229
- var InsertOpenBracket$0 = $TV($EXPECT($L17, fail, 'InsertOpenBracket ""'), function($skip, $loc, $0, $1) {
17289
+ var InsertOpenBracket$0 = $TV($EXPECT($L18, fail, 'InsertOpenBracket ""'), function($skip, $loc, $0, $1) {
17230
17290
  return { $loc, token: "[" };
17231
17291
  });
17232
17292
  function InsertOpenBracket(state) {
@@ -17251,7 +17311,7 @@ ${input.slice(result.pos)}
17251
17311
  return result;
17252
17312
  }
17253
17313
  }
17254
- var InsertCloseBracket$0 = $TV($EXPECT($L17, fail, 'InsertCloseBracket ""'), function($skip, $loc, $0, $1) {
17314
+ var InsertCloseBracket$0 = $TV($EXPECT($L18, fail, 'InsertCloseBracket ""'), function($skip, $loc, $0, $1) {
17255
17315
  return { $loc, token: "]" };
17256
17316
  });
17257
17317
  function InsertCloseBracket(state) {
@@ -17276,7 +17336,7 @@ ${input.slice(result.pos)}
17276
17336
  return result;
17277
17337
  }
17278
17338
  }
17279
- var InsertComma$0 = $TV($EXPECT($L17, fail, 'InsertComma ""'), function($skip, $loc, $0, $1) {
17339
+ var InsertComma$0 = $TV($EXPECT($L18, fail, 'InsertComma ""'), function($skip, $loc, $0, $1) {
17280
17340
  return { $loc, token: "," };
17281
17341
  });
17282
17342
  function InsertComma(state) {
@@ -17301,7 +17361,7 @@ ${input.slice(result.pos)}
17301
17361
  return result;
17302
17362
  }
17303
17363
  }
17304
- var InsertConst$0 = $TV($EXPECT($L17, fail, 'InsertConst ""'), function($skip, $loc, $0, $1) {
17364
+ var InsertConst$0 = $TV($EXPECT($L18, fail, 'InsertConst ""'), function($skip, $loc, $0, $1) {
17305
17365
  return { $loc, token: "const " };
17306
17366
  });
17307
17367
  function InsertConst(state) {
@@ -17326,7 +17386,7 @@ ${input.slice(result.pos)}
17326
17386
  return result;
17327
17387
  }
17328
17388
  }
17329
- var InsertLet$0 = $TV($EXPECT($L17, fail, 'InsertLet ""'), function($skip, $loc, $0, $1) {
17389
+ var InsertLet$0 = $TV($EXPECT($L18, fail, 'InsertLet ""'), function($skip, $loc, $0, $1) {
17330
17390
  return { $loc, token: "let " };
17331
17391
  });
17332
17392
  function InsertLet(state) {
@@ -17351,7 +17411,7 @@ ${input.slice(result.pos)}
17351
17411
  return result;
17352
17412
  }
17353
17413
  }
17354
- var InsertReadonly$0 = $TV($EXPECT($L17, fail, 'InsertReadonly ""'), function($skip, $loc, $0, $1) {
17414
+ var InsertReadonly$0 = $TV($EXPECT($L18, fail, 'InsertReadonly ""'), function($skip, $loc, $0, $1) {
17355
17415
  return { ts: true, children: [{ $loc, token: "readonly " }] };
17356
17416
  });
17357
17417
  function InsertReadonly(state) {
@@ -17376,7 +17436,7 @@ ${input.slice(result.pos)}
17376
17436
  return result;
17377
17437
  }
17378
17438
  }
17379
- var InsertNewline$0 = $TV($EXPECT($L17, fail, 'InsertNewline ""'), function($skip, $loc, $0, $1) {
17439
+ var InsertNewline$0 = $TV($EXPECT($L18, fail, 'InsertNewline ""'), function($skip, $loc, $0, $1) {
17380
17440
  return "\n";
17381
17441
  });
17382
17442
  function InsertNewline(state) {
@@ -17401,7 +17461,7 @@ ${input.slice(result.pos)}
17401
17461
  return result;
17402
17462
  }
17403
17463
  }
17404
- var InsertIndent$0 = $TV($EXPECT($L17, fail, 'InsertIndent ""'), function($skip, $loc, $0, $1) {
17464
+ var InsertIndent$0 = $TV($EXPECT($L18, fail, 'InsertIndent ""'), function($skip, $loc, $0, $1) {
17405
17465
  return module2.currentIndent.token;
17406
17466
  });
17407
17467
  function InsertIndent(state) {
@@ -17426,7 +17486,7 @@ ${input.slice(result.pos)}
17426
17486
  return result;
17427
17487
  }
17428
17488
  }
17429
- var InsertSpace$0 = $TV($EXPECT($L17, fail, 'InsertSpace ""'), function($skip, $loc, $0, $1) {
17489
+ var InsertSpace$0 = $TV($EXPECT($L18, fail, 'InsertSpace ""'), function($skip, $loc, $0, $1) {
17430
17490
  return { $loc, token: " " };
17431
17491
  });
17432
17492
  function InsertSpace(state) {
@@ -17451,7 +17511,7 @@ ${input.slice(result.pos)}
17451
17511
  return result;
17452
17512
  }
17453
17513
  }
17454
- var InsertDot$0 = $TV($EXPECT($L17, fail, 'InsertDot ""'), function($skip, $loc, $0, $1) {
17514
+ var InsertDot$0 = $TV($EXPECT($L18, fail, 'InsertDot ""'), function($skip, $loc, $0, $1) {
17455
17515
  return { $loc, token: "." };
17456
17516
  });
17457
17517
  function InsertDot(state) {
@@ -17476,7 +17536,7 @@ ${input.slice(result.pos)}
17476
17536
  return result;
17477
17537
  }
17478
17538
  }
17479
- var InsertBreak$0 = $TV($EXPECT($L17, fail, 'InsertBreak ""'), function($skip, $loc, $0, $1) {
17539
+ var InsertBreak$0 = $TV($EXPECT($L18, fail, 'InsertBreak ""'), function($skip, $loc, $0, $1) {
17480
17540
  return { $loc, token: ";break;" };
17481
17541
  });
17482
17542
  function InsertBreak(state) {
@@ -17501,7 +17561,7 @@ ${input.slice(result.pos)}
17501
17561
  return result;
17502
17562
  }
17503
17563
  }
17504
- var InsertVar$0 = $TV($EXPECT($L17, fail, 'InsertVar ""'), function($skip, $loc, $0, $1) {
17564
+ var InsertVar$0 = $TV($EXPECT($L18, fail, 'InsertVar ""'), function($skip, $loc, $0, $1) {
17505
17565
  return { $loc, token: "var " };
17506
17566
  });
17507
17567
  function InsertVar(state) {
@@ -17526,7 +17586,7 @@ ${input.slice(result.pos)}
17526
17586
  return result;
17527
17587
  }
17528
17588
  }
17529
- var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeBinaryExistentialEnabled ""'), function($skip, $loc, $0, $1) {
17589
+ var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeBinaryExistentialEnabled ""'), function($skip, $loc, $0, $1) {
17530
17590
  if (module2.config.coffeeBinaryExistential)
17531
17591
  return;
17532
17592
  return $skip;
@@ -17553,7 +17613,7 @@ ${input.slice(result.pos)}
17553
17613
  return result;
17554
17614
  }
17555
17615
  }
17556
- var CoffeeBooleansEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeBooleansEnabled ""'), function($skip, $loc, $0, $1) {
17616
+ var CoffeeBooleansEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeBooleansEnabled ""'), function($skip, $loc, $0, $1) {
17557
17617
  if (module2.config.coffeeBooleans)
17558
17618
  return;
17559
17619
  return $skip;
@@ -17580,7 +17640,7 @@ ${input.slice(result.pos)}
17580
17640
  return result;
17581
17641
  }
17582
17642
  }
17583
- var CoffeeClassesEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeClassesEnabled ""'), function($skip, $loc, $0, $1) {
17643
+ var CoffeeClassesEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeClassesEnabled ""'), function($skip, $loc, $0, $1) {
17584
17644
  if (module2.config.coffeeClasses)
17585
17645
  return;
17586
17646
  return $skip;
@@ -17607,7 +17667,7 @@ ${input.slice(result.pos)}
17607
17667
  return result;
17608
17668
  }
17609
17669
  }
17610
- var CoffeeCommentEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeCommentEnabled ""'), function($skip, $loc, $0, $1) {
17670
+ var CoffeeCommentEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeCommentEnabled ""'), function($skip, $loc, $0, $1) {
17611
17671
  if (module2.config.coffeeComment)
17612
17672
  return;
17613
17673
  return $skip;
@@ -17634,7 +17694,7 @@ ${input.slice(result.pos)}
17634
17694
  return result;
17635
17695
  }
17636
17696
  }
17637
- var CoffeeDoEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeDoEnabled ""'), function($skip, $loc, $0, $1) {
17697
+ var CoffeeDoEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeDoEnabled ""'), function($skip, $loc, $0, $1) {
17638
17698
  if (module2.config.coffeeDo)
17639
17699
  return;
17640
17700
  return $skip;
@@ -17661,7 +17721,7 @@ ${input.slice(result.pos)}
17661
17721
  return result;
17662
17722
  }
17663
17723
  }
17664
- var CoffeeForLoopsEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeForLoopsEnabled ""'), function($skip, $loc, $0, $1) {
17724
+ var CoffeeForLoopsEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeForLoopsEnabled ""'), function($skip, $loc, $0, $1) {
17665
17725
  if (module2.config.coffeeForLoops)
17666
17726
  return;
17667
17727
  return $skip;
@@ -17688,7 +17748,7 @@ ${input.slice(result.pos)}
17688
17748
  return result;
17689
17749
  }
17690
17750
  }
17691
- var CoffeeInterpolationEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeInterpolationEnabled ""'), function($skip, $loc, $0, $1) {
17751
+ var CoffeeInterpolationEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeInterpolationEnabled ""'), function($skip, $loc, $0, $1) {
17692
17752
  if (module2.config.coffeeInterpolation)
17693
17753
  return;
17694
17754
  return $skip;
@@ -17715,7 +17775,7 @@ ${input.slice(result.pos)}
17715
17775
  return result;
17716
17776
  }
17717
17777
  }
17718
- var CoffeeIsntEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeIsntEnabled ""'), function($skip, $loc, $0, $1) {
17778
+ var CoffeeIsntEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeIsntEnabled ""'), function($skip, $loc, $0, $1) {
17719
17779
  if (module2.config.coffeeIsnt)
17720
17780
  return;
17721
17781
  return $skip;
@@ -17742,7 +17802,7 @@ ${input.slice(result.pos)}
17742
17802
  return result;
17743
17803
  }
17744
17804
  }
17745
- var CoffeeJSXEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeJSXEnabled ""'), function($skip, $loc, $0, $1) {
17805
+ var CoffeeJSXEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeJSXEnabled ""'), function($skip, $loc, $0, $1) {
17746
17806
  if (module2.config.coffeeJSX)
17747
17807
  return;
17748
17808
  return $skip;
@@ -17769,7 +17829,7 @@ ${input.slice(result.pos)}
17769
17829
  return result;
17770
17830
  }
17771
17831
  }
17772
- var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeLineContinuationEnabled ""'), function($skip, $loc, $0, $1) {
17832
+ var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeLineContinuationEnabled ""'), function($skip, $loc, $0, $1) {
17773
17833
  if (module2.config.coffeeLineContinuation)
17774
17834
  return;
17775
17835
  return $skip;
@@ -17796,7 +17856,7 @@ ${input.slice(result.pos)}
17796
17856
  return result;
17797
17857
  }
17798
17858
  }
17799
- var CoffeeNotEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeNotEnabled ""'), function($skip, $loc, $0, $1) {
17859
+ var CoffeeNotEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeNotEnabled ""'), function($skip, $loc, $0, $1) {
17800
17860
  if (module2.config.coffeeNot)
17801
17861
  return;
17802
17862
  return $skip;
@@ -17823,7 +17883,7 @@ ${input.slice(result.pos)}
17823
17883
  return result;
17824
17884
  }
17825
17885
  }
17826
- var CoffeeOfEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeOfEnabled ""'), function($skip, $loc, $0, $1) {
17886
+ var CoffeeOfEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeOfEnabled ""'), function($skip, $loc, $0, $1) {
17827
17887
  if (module2.config.coffeeOf)
17828
17888
  return;
17829
17889
  return $skip;
@@ -17850,7 +17910,7 @@ ${input.slice(result.pos)}
17850
17910
  return result;
17851
17911
  }
17852
17912
  }
17853
- var CoffeePrototypeEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeePrototypeEnabled ""'), function($skip, $loc, $0, $1) {
17913
+ var CoffeePrototypeEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeePrototypeEnabled ""'), function($skip, $loc, $0, $1) {
17854
17914
  if (module2.config.coffeePrototype)
17855
17915
  return;
17856
17916
  return $skip;
@@ -17877,7 +17937,7 @@ ${input.slice(result.pos)}
17877
17937
  return result;
17878
17938
  }
17879
17939
  }
17880
- var ObjectIsEnabled$0 = $TV($EXPECT($L17, fail, 'ObjectIsEnabled ""'), function($skip, $loc, $0, $1) {
17940
+ var ObjectIsEnabled$0 = $TV($EXPECT($L18, fail, 'ObjectIsEnabled ""'), function($skip, $loc, $0, $1) {
17881
17941
  if (module2.config.objectIs)
17882
17942
  return;
17883
17943
  return $skip;
@@ -17904,7 +17964,7 @@ ${input.slice(result.pos)}
17904
17964
  return result;
17905
17965
  }
17906
17966
  }
17907
- var Reset$0 = $TV($EXPECT($L17, fail, 'Reset ""'), function($skip, $loc, $0, $1) {
17967
+ var Reset$0 = $TV($EXPECT($L18, fail, 'Reset ""'), function($skip, $loc, $0, $1) {
17908
17968
  module2.indentLevels = [{
17909
17969
  level: 0,
17910
17970
  token: ""
@@ -17957,6 +18017,7 @@ ${input.slice(result.pos)}
17957
18017
  react: false,
17958
18018
  solid: false,
17959
18019
  client: false,
18020
+ rewriteTsImports: true,
17960
18021
  server: false,
17961
18022
  tab: void 0,
17962
18023
  verbose: false
@@ -18115,6 +18176,12 @@ ${input.slice(result.pos)}
18115
18176
  }
18116
18177
  }
18117
18178
  };
18179
+ Object.defineProperty(module2.config, "deno", {
18180
+ set(b) {
18181
+ module2.config.rewriteTsImports = !b;
18182
+ }
18183
+ });
18184
+ module2.config.deno = typeof Deno !== "undefined";
18118
18185
  Object.defineProperty(module2.config, "coffeeCompat", {
18119
18186
  set(b) {
18120
18187
  for (const option of [
@@ -18175,7 +18242,7 @@ ${input.slice(result.pos)}
18175
18242
  return result;
18176
18243
  }
18177
18244
  }
18178
- var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($L17, fail, 'Init ""')), function($skip, $loc, $0, $1, $2, $3) {
18245
+ var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($L18, fail, 'Init ""')), function($skip, $loc, $0, $1, $2, $3) {
18179
18246
  var directives = $2;
18180
18247
  directives.forEach((directive) => {
18181
18248
  if (directive.type === "CivetPrologue") {
@@ -18910,6 +18977,15 @@ ${input.slice(result.pos)}
18910
18977
  function processAssignments(statements) {
18911
18978
  gatherRecursiveAll(statements, (n) => n.type === "AssignmentExpression" && n.names === null).forEach((exp) => {
18912
18979
  let { lhs: $12, exp: $22 } = exp, tail = [], i = 0, len = $12.length;
18980
+ if ($12.some((left) => left[left.length - 1].special)) {
18981
+ if ($12.length !== 1) {
18982
+ throw new Error("Only one assignment with id= is allowed");
18983
+ }
18984
+ const [, lhs, , op] = $12[0];
18985
+ const { call } = op;
18986
+ op[op.length - 1] = "=";
18987
+ $22 = [call, "(", lhs, ", ", $22, ")"];
18988
+ }
18913
18989
  let wrapped = false;
18914
18990
  while (i < len) {
18915
18991
  const lastAssignment = $12[i++];
@@ -19676,7 +19752,7 @@ ${input.slice(result.pos)}
19676
19752
  return result;
19677
19753
  }
19678
19754
  }
19679
- var PopIndent$0 = $TV($EXPECT($L17, fail, 'PopIndent ""'), function($skip, $loc, $0, $1) {
19755
+ var PopIndent$0 = $TV($EXPECT($L18, fail, 'PopIndent ""'), function($skip, $loc, $0, $1) {
19680
19756
  if (module2.config.verbose) {
19681
19757
  console.log("popping indent", module2.indentLevels[module2.indentLevels.length - 1], "->", module2.indentLevels[module2.indentLevels.length - 2]);
19682
19758
  }