@danielx/civet 0.5.89 → 0.5.91

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
@@ -435,16 +435,18 @@ var require_lib = __commonJS({
435
435
  }
436
436
  let [splices, thisAssignments] = gatherBindingCode(id);
437
437
  splices = splices.map((s) => [", ", s]);
438
- thisAssignments = thisAssignments.map((a) => [";", a]);
438
+ thisAssignments = thisAssignments.map((a) => ["", a, ";"]);
439
439
  const binding = [c, id, suffix, ...ws];
440
- const initializer = [ca, e, ...splices, ...thisAssignments];
440
+ const initializer = [ca, e];
441
441
  const children = [binding, initializer];
442
442
  return {
443
443
  type: "Declaration",
444
444
  names: id.names,
445
445
  children,
446
446
  binding,
447
- initializer
447
+ initializer,
448
+ splices,
449
+ thisAssignments
448
450
  };
449
451
  }
450
452
  function processLetAssignmentDeclaration(l, id, suffix, ws, la, e) {
@@ -457,18 +459,87 @@ var require_lib = __commonJS({
457
459
  };
458
460
  let [splices, thisAssignments] = gatherBindingCode(id);
459
461
  splices = splices.map((s) => [", ", s]);
460
- thisAssignments = thisAssignments.map((a) => [";", a]);
462
+ thisAssignments = thisAssignments.map((a) => ["", a, ";"]);
461
463
  const binding = [l, id, suffix, ...ws];
462
- const initializer = [la, e, ...splices, ...thisAssignments];
464
+ const initializer = [la, e];
463
465
  const children = [binding, initializer];
464
466
  return {
465
467
  type: "Declaration",
466
468
  names: id.names,
467
469
  children,
468
470
  binding,
469
- initializer
471
+ initializer,
472
+ splices,
473
+ thisAssignments
470
474
  };
471
475
  }
476
+ function processUnaryExpression(pre, exp, post) {
477
+ if (post?.token === "?") {
478
+ post = {
479
+ $loc: post.$loc,
480
+ token: " != null"
481
+ };
482
+ switch (exp.type) {
483
+ case "Identifier":
484
+ case "Literal":
485
+ return {
486
+ ...exp,
487
+ children: [...pre, ...exp.children, post]
488
+ };
489
+ default:
490
+ const expression = {
491
+ ...exp,
492
+ children: [...pre, "(", exp.children, ")", post]
493
+ };
494
+ return {
495
+ type: "ParenthesizedExpression",
496
+ children: ["(", expression, ")"],
497
+ expression
498
+ };
499
+ }
500
+ }
501
+ if (exp.type === "Literal") {
502
+ if (pre.length === 1 && pre[0].token === "-") {
503
+ const children = [pre[0], ...exp.children];
504
+ if (post)
505
+ exp.children.push(post);
506
+ return {
507
+ type: "Literal",
508
+ children,
509
+ raw: `-${exp.raw}`
510
+ };
511
+ }
512
+ }
513
+ const l = pre.length;
514
+ if (l) {
515
+ const last = pre[l - 1];
516
+ if (last.type === "Await" && last.op) {
517
+ if (exp.type !== "ParenthesizedExpression") {
518
+ exp = ["(", exp, ")"];
519
+ }
520
+ exp = {
521
+ type: "CallExpression",
522
+ children: [" Promise", last.op, exp]
523
+ };
524
+ }
525
+ }
526
+ if (exp.children) {
527
+ const children = [...pre, ...exp.children];
528
+ if (post)
529
+ children.push(post);
530
+ return Object.assign({}, exp, { children });
531
+ } else if (Array.isArray(exp)) {
532
+ const children = [...pre, ...exp];
533
+ if (post)
534
+ children.push(post);
535
+ return { children };
536
+ } else {
537
+ const children = [...pre, exp];
538
+ if (post)
539
+ children.push(post);
540
+ return { children };
541
+ }
542
+ }
472
543
  module2.exports = {
473
544
  blockWithPrefix,
474
545
  clone,
@@ -492,6 +563,7 @@ var require_lib = __commonJS({
492
563
  processCoffeeInterpolation,
493
564
  processConstAssignmentDeclaration,
494
565
  processLetAssignmentDeclaration,
566
+ processUnaryExpression,
495
567
  quoteString,
496
568
  removeParentPointers
497
569
  };
@@ -906,6 +978,7 @@ ${input.slice(result.pos)}
906
978
  SingleLineExtendedExpression,
907
979
  NonPipelineExtendedExpression,
908
980
  NonAssignmentExtendedExpression,
981
+ NestedNonAssignmentExtendedExpression,
909
982
  ExpressionizedStatement,
910
983
  Expression,
911
984
  Arguments,
@@ -1115,6 +1188,7 @@ ${input.slice(result.pos)}
1115
1188
  Xor,
1116
1189
  Xnor,
1117
1190
  UnaryOp,
1191
+ AwaitOp,
1118
1192
  ModuleItem,
1119
1193
  StatementListItem,
1120
1194
  PostfixedStatement,
@@ -1536,6 +1610,7 @@ ${input.slice(result.pos)}
1536
1610
  Samedent,
1537
1611
  IndentedFurther,
1538
1612
  NotDedented,
1613
+ Dedented,
1539
1614
  PushIndent,
1540
1615
  PopIndent,
1541
1616
  Nested
@@ -1572,84 +1647,84 @@ ${input.slice(result.pos)}
1572
1647
  var $L29 = $L("off");
1573
1648
  var $L30 = $L(">");
1574
1649
  var $L31 = $L("]");
1575
- var $L32 = $L(":");
1576
- var $L33 = $L(")");
1577
- var $L34 = $L("**=");
1578
- var $L35 = $L("*=");
1579
- var $L36 = $L("/=");
1580
- var $L37 = $L("%=");
1581
- var $L38 = $L("+=");
1582
- var $L39 = $L("-=");
1583
- var $L40 = $L("<<=");
1584
- var $L41 = $L(">>>=");
1585
- var $L42 = $L(">>=");
1586
- var $L43 = $L("&&=");
1587
- var $L44 = $L("&=");
1588
- var $L45 = $L("^=");
1589
- var $L46 = $L("||=");
1590
- var $L47 = $L("|=");
1591
- var $L48 = $L("??=");
1592
- var $L49 = $L("?=");
1593
- var $L50 = $L("and=");
1594
- var $L51 = $L("or=");
1595
- var $L52 = $L("not");
1596
- var $L53 = $L("**");
1597
- var $L54 = $L("*");
1598
- var $L55 = $L("/");
1599
- var $L56 = $L("%%");
1600
- var $L57 = $L("%");
1601
- var $L58 = $L("+");
1602
- var $L59 = $L("<=");
1603
- var $L60 = $L(">=");
1604
- var $L61 = $L("<?");
1605
- var $L62 = $L("!<?");
1606
- var $L63 = $L("<<");
1607
- var $L64 = $L(">>>");
1608
- var $L65 = $L(">>");
1609
- var $L66 = $L("!==");
1610
- var $L67 = $L("!=");
1611
- var $L68 = $L("isnt");
1612
- var $L69 = $L("===");
1613
- var $L70 = $L("==");
1614
- var $L71 = $L("and");
1615
- var $L72 = $L("&&");
1616
- var $L73 = $L("of");
1617
- var $L74 = $L("or");
1618
- var $L75 = $L("||");
1619
- var $L76 = $L("^^");
1620
- var $L77 = $L("xor");
1621
- var $L78 = $L("xnor");
1622
- var $L79 = $L("??");
1623
- var $L80 = $L("instanceof");
1624
- var $L81 = $L("in");
1625
- var $L82 = $L("is");
1626
- var $L83 = $L("&");
1627
- var $L84 = $L("|");
1628
- var $L85 = $L(";");
1629
- var $L86 = $L("$:");
1630
- var $L87 = $L("own");
1631
- var $L88 = $L("break");
1632
- var $L89 = $L("continue");
1633
- var $L90 = $L("debugger");
1634
- var $L91 = $L("assert");
1635
- var $L92 = $L(":=");
1636
- var $L93 = $L(".=");
1637
- var $L94 = $L("/*");
1638
- var $L95 = $L("*/");
1639
- var $L96 = $L("\\");
1640
- var $L97 = $L("[");
1641
- var $L98 = $L("`");
1642
- var $L99 = $L("abstract");
1643
- var $L100 = $L("as");
1644
- var $L101 = $L("@");
1645
- var $L102 = $L("@@");
1646
- var $L103 = $L("async");
1647
- var $L104 = $L("await");
1648
- var $L105 = $L("by");
1649
- var $L106 = $L("case");
1650
- var $L107 = $L("catch");
1651
- var $L108 = $L("class");
1652
- var $L109 = $L("#{");
1650
+ var $L32 = $L("**=");
1651
+ var $L33 = $L("*=");
1652
+ var $L34 = $L("/=");
1653
+ var $L35 = $L("%=");
1654
+ var $L36 = $L("+=");
1655
+ var $L37 = $L("-=");
1656
+ var $L38 = $L("<<=");
1657
+ var $L39 = $L(">>>=");
1658
+ var $L40 = $L(">>=");
1659
+ var $L41 = $L("&&=");
1660
+ var $L42 = $L("&=");
1661
+ var $L43 = $L("^=");
1662
+ var $L44 = $L("||=");
1663
+ var $L45 = $L("|=");
1664
+ var $L46 = $L("??=");
1665
+ var $L47 = $L("?=");
1666
+ var $L48 = $L("and=");
1667
+ var $L49 = $L("or=");
1668
+ var $L50 = $L("not");
1669
+ var $L51 = $L("**");
1670
+ var $L52 = $L("*");
1671
+ var $L53 = $L("/");
1672
+ var $L54 = $L("%%");
1673
+ var $L55 = $L("%");
1674
+ var $L56 = $L("+");
1675
+ var $L57 = $L("<=");
1676
+ var $L58 = $L(">=");
1677
+ var $L59 = $L("<?");
1678
+ var $L60 = $L("!<?");
1679
+ var $L61 = $L("<<");
1680
+ var $L62 = $L(">>>");
1681
+ var $L63 = $L(">>");
1682
+ var $L64 = $L("!==");
1683
+ var $L65 = $L("!=");
1684
+ var $L66 = $L("isnt");
1685
+ var $L67 = $L("===");
1686
+ var $L68 = $L("==");
1687
+ var $L69 = $L("and");
1688
+ var $L70 = $L("&&");
1689
+ var $L71 = $L("of");
1690
+ var $L72 = $L("or");
1691
+ var $L73 = $L("||");
1692
+ var $L74 = $L("^^");
1693
+ var $L75 = $L("xor");
1694
+ var $L76 = $L("xnor");
1695
+ var $L77 = $L("??");
1696
+ var $L78 = $L("instanceof");
1697
+ var $L79 = $L("in");
1698
+ var $L80 = $L("is");
1699
+ var $L81 = $L("&");
1700
+ var $L82 = $L("|");
1701
+ var $L83 = $L(";");
1702
+ var $L84 = $L("$:");
1703
+ var $L85 = $L("own");
1704
+ var $L86 = $L("break");
1705
+ var $L87 = $L("continue");
1706
+ var $L88 = $L("debugger");
1707
+ var $L89 = $L("assert");
1708
+ var $L90 = $L(":=");
1709
+ var $L91 = $L(".=");
1710
+ var $L92 = $L("/*");
1711
+ var $L93 = $L("*/");
1712
+ var $L94 = $L("\\");
1713
+ var $L95 = $L("[");
1714
+ var $L96 = $L("`");
1715
+ var $L97 = $L("abstract");
1716
+ var $L98 = $L("as");
1717
+ var $L99 = $L("@");
1718
+ var $L100 = $L("@@");
1719
+ var $L101 = $L("async");
1720
+ var $L102 = $L("await");
1721
+ var $L103 = $L("by");
1722
+ var $L104 = $L("case");
1723
+ var $L105 = $L("catch");
1724
+ var $L106 = $L("class");
1725
+ var $L107 = $L(")");
1726
+ var $L108 = $L("#{");
1727
+ var $L109 = $L(":");
1653
1728
  var $L110 = $L("declare");
1654
1729
  var $L111 = $L("default");
1655
1730
  var $L112 = $L("delete");
@@ -2023,12 +2098,7 @@ ${input.slice(result.pos)}
2023
2098
  return result;
2024
2099
  }
2025
2100
  }
2026
- var NonAssignmentExtendedExpression$0 = $TS($S($Y(EOS), PushIndent, $E($S(Nested, ExpressionizedStatement)), PopIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
2027
- var expression = $3;
2028
- if (expression)
2029
- return expression;
2030
- return $skip;
2031
- });
2101
+ var NonAssignmentExtendedExpression$0 = NestedNonAssignmentExtendedExpression;
2032
2102
  var NonAssignmentExtendedExpression$1 = $TS($S(__, ExpressionizedStatement), function($skip, $loc, $0, $1, $2) {
2033
2103
  return {
2034
2104
  ...$2,
@@ -2057,6 +2127,34 @@ ${input.slice(result.pos)}
2057
2127
  return result;
2058
2128
  }
2059
2129
  }
2130
+ var NestedNonAssignmentExtendedExpression$0 = $TS($S($Y(EOS), PushIndent, $E($S(Nested, ExpressionizedStatement)), PopIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
2131
+ var expression = $3;
2132
+ if (expression)
2133
+ return expression;
2134
+ return $skip;
2135
+ });
2136
+ function NestedNonAssignmentExtendedExpression(state) {
2137
+ let eventData;
2138
+ if (state.events) {
2139
+ const result = state.events.enter?.("NestedNonAssignmentExtendedExpression", state);
2140
+ if (result) {
2141
+ if (result.cache)
2142
+ return result.cache;
2143
+ eventData = result.data;
2144
+ }
2145
+ }
2146
+ if (state.tokenize) {
2147
+ const result = $TOKEN("NestedNonAssignmentExtendedExpression", state, NestedNonAssignmentExtendedExpression$0(state));
2148
+ if (state.events)
2149
+ state.events.exit?.("NestedNonAssignmentExtendedExpression", state, result, eventData);
2150
+ return result;
2151
+ } else {
2152
+ const result = NestedNonAssignmentExtendedExpression$0(state);
2153
+ if (state.events)
2154
+ state.events.exit?.("NestedNonAssignmentExtendedExpression", state, result, eventData);
2155
+ return result;
2156
+ }
2157
+ }
2060
2158
  var ExpressionizedStatement$0 = DebuggerExpression;
2061
2159
  var ExpressionizedStatement$1 = IfExpression;
2062
2160
  var ExpressionizedStatement$2 = UnlessExpression;
@@ -2654,11 +2752,11 @@ ${input.slice(result.pos)}
2654
2752
  return result;
2655
2753
  }
2656
2754
  }
2657
- var UnaryExpression$0 = $TS($S($Q(UnaryOp), UpdateExpression, $E(UnaryPostfix)), function($skip, $loc, $0, $1, $2, $3) {
2755
+ var UnaryExpression$0 = $TS($S($Q(UnaryOp), $C(UpdateExpression, NestedNonAssignmentExtendedExpression), $E(UnaryPostfix)), function($skip, $loc, $0, $1, $2, $3) {
2658
2756
  var pre = $1;
2659
2757
  var exp = $2;
2660
2758
  var post = $3;
2661
- return module2.processUnaryExpression(pre, exp, post);
2759
+ return processUnaryExpression(pre, exp, post);
2662
2760
  });
2663
2761
  var UnaryExpression$1 = $TS($S(CoffeeDoEnabled, Do, __, $C($S(LeftHandSideExpression, $N($S(__, AssignmentOpSymbol))), ArrowFunction, ExtendedExpression)), function($skip, $loc, $0, $1, $2, $3, $4) {
2664
2762
  var ws = $3;
@@ -7920,12 +8018,15 @@ ${input.slice(result.pos)}
7920
8018
  return result;
7921
8019
  }
7922
8020
  }
7923
- var InlineObjectLiteral$0 = $TS($S(InsertInlineOpenBrace, SnugNamedProperty, ImplicitInlineObjectPropertyDelimiter, $Q($S($C(Samedent, $Q(_)), ImplicitNamedProperty, ImplicitInlineObjectPropertyDelimiter)), InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
8021
+ var InlineObjectLiteral$0 = $TS($S(InsertInlineOpenBrace, SnugNamedProperty, $Q($S(ImplicitInlineObjectPropertyDelimiter, ImplicitNamedProperty)), $E($S($E(_), Comma, $Y(Dedented))), InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
7924
8022
  var open = $1;
8023
+ var first = $2;
8024
+ var rest = $3;
8025
+ var trailing = $4;
7925
8026
  var close = $5;
7926
8027
  return {
7927
8028
  type: "ObjectExpression",
7928
- children: [open, $2, $3, ...$4, close]
8029
+ children: [open, first, ...rest, trailing, close]
7929
8030
  };
7930
8031
  });
7931
8032
  function InlineObjectLiteral(state) {
@@ -7950,15 +8051,9 @@ ${input.slice(result.pos)}
7950
8051
  return result;
7951
8052
  }
7952
8053
  }
7953
- var ImplicitInlineObjectPropertyDelimiter$0 = $S($E(_), Comma);
7954
- var ImplicitInlineObjectPropertyDelimiter$1 = $T($S($Y($S($C(Samedent, $Q(_)), NamedProperty)), InsertComma), function(value) {
7955
- return value[1];
7956
- });
7957
- var ImplicitInlineObjectPropertyDelimiter$2 = $T($Y($S(__, $C($EXPECT($L32, fail, 'ImplicitInlineObjectPropertyDelimiter ":"'), $EXPECT($L33, fail, 'ImplicitInlineObjectPropertyDelimiter ")"'), $EXPECT($L31, fail, 'ImplicitInlineObjectPropertyDelimiter "]"'), $EXPECT($L22, fail, 'ImplicitInlineObjectPropertyDelimiter "}"'), ReservedWord))), function(value) {
7958
- return "";
7959
- });
7960
- var ImplicitInlineObjectPropertyDelimiter$3 = $T($Y(EOS), function(value) {
7961
- return "";
8054
+ var ImplicitInlineObjectPropertyDelimiter$0 = $S($E(_), Comma, $C(NotDedented, $E(_)));
8055
+ var ImplicitInlineObjectPropertyDelimiter$1 = $T($S($Y($S(Samedent, ImplicitNamedProperty)), InsertComma, $C(Samedent, $E(_))), function(value) {
8056
+ return [value[1], value[2]];
7962
8057
  });
7963
8058
  function ImplicitInlineObjectPropertyDelimiter(state) {
7964
8059
  let eventData;
@@ -7971,18 +8066,18 @@ ${input.slice(result.pos)}
7971
8066
  }
7972
8067
  }
7973
8068
  if (state.tokenize) {
7974
- const result = $TOKEN("ImplicitInlineObjectPropertyDelimiter", state, ImplicitInlineObjectPropertyDelimiter$0(state) || ImplicitInlineObjectPropertyDelimiter$1(state) || ImplicitInlineObjectPropertyDelimiter$2(state) || ImplicitInlineObjectPropertyDelimiter$3(state));
8069
+ const result = $TOKEN("ImplicitInlineObjectPropertyDelimiter", state, ImplicitInlineObjectPropertyDelimiter$0(state) || ImplicitInlineObjectPropertyDelimiter$1(state));
7975
8070
  if (state.events)
7976
8071
  state.events.exit?.("ImplicitInlineObjectPropertyDelimiter", state, result, eventData);
7977
8072
  return result;
7978
8073
  } else {
7979
- const result = ImplicitInlineObjectPropertyDelimiter$0(state) || ImplicitInlineObjectPropertyDelimiter$1(state) || ImplicitInlineObjectPropertyDelimiter$2(state) || ImplicitInlineObjectPropertyDelimiter$3(state);
8074
+ const result = ImplicitInlineObjectPropertyDelimiter$0(state) || ImplicitInlineObjectPropertyDelimiter$1(state);
7980
8075
  if (state.events)
7981
8076
  state.events.exit?.("ImplicitInlineObjectPropertyDelimiter", state, result, eventData);
7982
8077
  return result;
7983
8078
  }
7984
8079
  }
7985
- var ObjectPropertyDelimiter$0 = $S($Q(_), Comma);
8080
+ var ObjectPropertyDelimiter$0 = $S($E(_), Comma);
7986
8081
  var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L22, fail, 'ObjectPropertyDelimiter "}"')));
7987
8082
  var ObjectPropertyDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
7988
8083
  return value[1];
@@ -8705,22 +8800,22 @@ ${input.slice(result.pos)}
8705
8800
  return result;
8706
8801
  }
8707
8802
  }
8708
- var AssignmentOpSymbol$0 = $EXPECT($L34, fail, 'AssignmentOpSymbol "**="');
8709
- var AssignmentOpSymbol$1 = $EXPECT($L35, fail, 'AssignmentOpSymbol "*="');
8710
- var AssignmentOpSymbol$2 = $EXPECT($L36, fail, 'AssignmentOpSymbol "/="');
8711
- var AssignmentOpSymbol$3 = $EXPECT($L37, fail, 'AssignmentOpSymbol "%="');
8712
- var AssignmentOpSymbol$4 = $EXPECT($L38, fail, 'AssignmentOpSymbol "+="');
8713
- var AssignmentOpSymbol$5 = $EXPECT($L39, fail, 'AssignmentOpSymbol "-="');
8714
- var AssignmentOpSymbol$6 = $EXPECT($L40, fail, 'AssignmentOpSymbol "<<="');
8715
- var AssignmentOpSymbol$7 = $EXPECT($L41, fail, 'AssignmentOpSymbol ">>>="');
8716
- var AssignmentOpSymbol$8 = $EXPECT($L42, fail, 'AssignmentOpSymbol ">>="');
8717
- var AssignmentOpSymbol$9 = $EXPECT($L43, fail, 'AssignmentOpSymbol "&&="');
8718
- var AssignmentOpSymbol$10 = $EXPECT($L44, fail, 'AssignmentOpSymbol "&="');
8719
- var AssignmentOpSymbol$11 = $EXPECT($L45, fail, 'AssignmentOpSymbol "^="');
8720
- var AssignmentOpSymbol$12 = $EXPECT($L46, fail, 'AssignmentOpSymbol "||="');
8721
- var AssignmentOpSymbol$13 = $EXPECT($L47, fail, 'AssignmentOpSymbol "|="');
8722
- var AssignmentOpSymbol$14 = $EXPECT($L48, fail, 'AssignmentOpSymbol "??="');
8723
- var AssignmentOpSymbol$15 = $T($EXPECT($L49, fail, 'AssignmentOpSymbol "?="'), function(value) {
8803
+ var AssignmentOpSymbol$0 = $EXPECT($L32, fail, 'AssignmentOpSymbol "**="');
8804
+ var AssignmentOpSymbol$1 = $EXPECT($L33, fail, 'AssignmentOpSymbol "*="');
8805
+ var AssignmentOpSymbol$2 = $EXPECT($L34, fail, 'AssignmentOpSymbol "/="');
8806
+ var AssignmentOpSymbol$3 = $EXPECT($L35, fail, 'AssignmentOpSymbol "%="');
8807
+ var AssignmentOpSymbol$4 = $EXPECT($L36, fail, 'AssignmentOpSymbol "+="');
8808
+ var AssignmentOpSymbol$5 = $EXPECT($L37, fail, 'AssignmentOpSymbol "-="');
8809
+ var AssignmentOpSymbol$6 = $EXPECT($L38, fail, 'AssignmentOpSymbol "<<="');
8810
+ var AssignmentOpSymbol$7 = $EXPECT($L39, fail, 'AssignmentOpSymbol ">>>="');
8811
+ var AssignmentOpSymbol$8 = $EXPECT($L40, fail, 'AssignmentOpSymbol ">>="');
8812
+ var AssignmentOpSymbol$9 = $EXPECT($L41, fail, 'AssignmentOpSymbol "&&="');
8813
+ var AssignmentOpSymbol$10 = $EXPECT($L42, fail, 'AssignmentOpSymbol "&="');
8814
+ var AssignmentOpSymbol$11 = $EXPECT($L43, fail, 'AssignmentOpSymbol "^="');
8815
+ var AssignmentOpSymbol$12 = $EXPECT($L44, fail, 'AssignmentOpSymbol "||="');
8816
+ var AssignmentOpSymbol$13 = $EXPECT($L45, fail, 'AssignmentOpSymbol "|="');
8817
+ var AssignmentOpSymbol$14 = $EXPECT($L46, fail, 'AssignmentOpSymbol "??="');
8818
+ var AssignmentOpSymbol$15 = $T($EXPECT($L47, fail, 'AssignmentOpSymbol "?="'), function(value) {
8724
8819
  return "??=";
8725
8820
  });
8726
8821
  var AssignmentOpSymbol$16 = $T($S($EXPECT($L2, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L2, fail, 'AssignmentOpSymbol "="'))), function(value) {
@@ -8751,10 +8846,10 @@ ${input.slice(result.pos)}
8751
8846
  return result;
8752
8847
  }
8753
8848
  }
8754
- var CoffeeWordAssignmentOp$0 = $T($EXPECT($L50, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
8849
+ var CoffeeWordAssignmentOp$0 = $T($EXPECT($L48, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
8755
8850
  return "&&=";
8756
8851
  });
8757
- var CoffeeWordAssignmentOp$1 = $T($EXPECT($L51, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
8852
+ var CoffeeWordAssignmentOp$1 = $T($EXPECT($L49, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
8758
8853
  return "||=";
8759
8854
  });
8760
8855
  function CoffeeWordAssignmentOp(state) {
@@ -8793,7 +8888,7 @@ ${input.slice(result.pos)}
8793
8888
  special: true
8794
8889
  };
8795
8890
  });
8796
- var BinaryOp$2 = $TS($S($EXPECT($L52, fail, 'BinaryOp "not"'), NonIdContinue, __, Identifier), function($skip, $loc, $0, $1, $2, $3, $4) {
8891
+ var BinaryOp$2 = $TS($S($EXPECT($L50, fail, 'BinaryOp "not"'), NonIdContinue, __, Identifier), function($skip, $loc, $0, $1, $2, $3, $4) {
8797
8892
  var id = $4;
8798
8893
  if (!module2.operators.has(id.name))
8799
8894
  return $skip;
@@ -8825,21 +8920,21 @@ ${input.slice(result.pos)}
8825
8920
  return result;
8826
8921
  }
8827
8922
  }
8828
- var BinaryOpSymbol$0 = $EXPECT($L53, fail, 'BinaryOpSymbol "**"');
8829
- var BinaryOpSymbol$1 = $EXPECT($L54, fail, 'BinaryOpSymbol "*"');
8830
- var BinaryOpSymbol$2 = $EXPECT($L55, fail, 'BinaryOpSymbol "/"');
8831
- var BinaryOpSymbol$3 = $TV($EXPECT($L56, fail, 'BinaryOpSymbol "%%"'), function($skip, $loc, $0, $1) {
8923
+ var BinaryOpSymbol$0 = $EXPECT($L51, fail, 'BinaryOpSymbol "**"');
8924
+ var BinaryOpSymbol$1 = $EXPECT($L52, fail, 'BinaryOpSymbol "*"');
8925
+ var BinaryOpSymbol$2 = $EXPECT($L53, fail, 'BinaryOpSymbol "/"');
8926
+ var BinaryOpSymbol$3 = $TV($EXPECT($L54, fail, 'BinaryOpSymbol "%%"'), function($skip, $loc, $0, $1) {
8832
8927
  return {
8833
8928
  call: module2.getRef("modulo"),
8834
8929
  special: true
8835
8930
  };
8836
8931
  });
8837
- var BinaryOpSymbol$4 = $EXPECT($L57, fail, 'BinaryOpSymbol "%"');
8838
- var BinaryOpSymbol$5 = $EXPECT($L58, fail, 'BinaryOpSymbol "+"');
8932
+ var BinaryOpSymbol$4 = $EXPECT($L55, fail, 'BinaryOpSymbol "%"');
8933
+ var BinaryOpSymbol$5 = $EXPECT($L56, fail, 'BinaryOpSymbol "+"');
8839
8934
  var BinaryOpSymbol$6 = $EXPECT($L18, fail, 'BinaryOpSymbol "-"');
8840
- var BinaryOpSymbol$7 = $EXPECT($L59, fail, 'BinaryOpSymbol "<="');
8841
- var BinaryOpSymbol$8 = $EXPECT($L60, fail, 'BinaryOpSymbol ">="');
8842
- var BinaryOpSymbol$9 = $TV($EXPECT($L61, fail, 'BinaryOpSymbol "<?"'), function($skip, $loc, $0, $1) {
8935
+ var BinaryOpSymbol$7 = $EXPECT($L57, fail, 'BinaryOpSymbol "<="');
8936
+ var BinaryOpSymbol$8 = $EXPECT($L58, fail, 'BinaryOpSymbol ">="');
8937
+ var BinaryOpSymbol$9 = $TV($EXPECT($L59, fail, 'BinaryOpSymbol "<?"'), function($skip, $loc, $0, $1) {
8843
8938
  return {
8844
8939
  $loc,
8845
8940
  token: "instanceof",
@@ -8847,7 +8942,7 @@ ${input.slice(result.pos)}
8847
8942
  special: true
8848
8943
  };
8849
8944
  });
8850
- var BinaryOpSymbol$10 = $TV($EXPECT($L62, fail, 'BinaryOpSymbol "!<?"'), function($skip, $loc, $0, $1) {
8945
+ var BinaryOpSymbol$10 = $TV($EXPECT($L60, fail, 'BinaryOpSymbol "!<?"'), function($skip, $loc, $0, $1) {
8851
8946
  return {
8852
8947
  $loc,
8853
8948
  token: "instanceof",
@@ -8856,58 +8951,58 @@ ${input.slice(result.pos)}
8856
8951
  negated: true
8857
8952
  };
8858
8953
  });
8859
- var BinaryOpSymbol$11 = $EXPECT($L63, fail, 'BinaryOpSymbol "<<"');
8954
+ var BinaryOpSymbol$11 = $EXPECT($L61, fail, 'BinaryOpSymbol "<<"');
8860
8955
  var BinaryOpSymbol$12 = $TR($EXPECT($R7, fail, "BinaryOpSymbol /<(?!\\p{ID_Start}|[_$])/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
8861
8956
  return "<";
8862
8957
  });
8863
- var BinaryOpSymbol$13 = $EXPECT($L64, fail, 'BinaryOpSymbol ">>>"');
8864
- var BinaryOpSymbol$14 = $EXPECT($L65, fail, 'BinaryOpSymbol ">>"');
8958
+ var BinaryOpSymbol$13 = $EXPECT($L62, fail, 'BinaryOpSymbol ">>>"');
8959
+ var BinaryOpSymbol$14 = $EXPECT($L63, fail, 'BinaryOpSymbol ">>"');
8865
8960
  var BinaryOpSymbol$15 = $EXPECT($L30, fail, 'BinaryOpSymbol ">"');
8866
- var BinaryOpSymbol$16 = $EXPECT($L66, fail, 'BinaryOpSymbol "!=="');
8867
- var BinaryOpSymbol$17 = $TV($EXPECT($L67, fail, 'BinaryOpSymbol "!="'), function($skip, $loc, $0, $1) {
8961
+ var BinaryOpSymbol$16 = $EXPECT($L64, fail, 'BinaryOpSymbol "!=="');
8962
+ var BinaryOpSymbol$17 = $TV($EXPECT($L65, fail, 'BinaryOpSymbol "!="'), function($skip, $loc, $0, $1) {
8868
8963
  if (module2.config.coffeeEq)
8869
8964
  return "!==";
8870
8965
  return $1;
8871
8966
  });
8872
- var BinaryOpSymbol$18 = $TS($S($EXPECT($L68, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
8967
+ var BinaryOpSymbol$18 = $TS($S($EXPECT($L66, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
8873
8968
  if (module2.config.coffeeIsnt)
8874
8969
  return "!==";
8875
8970
  return $skip;
8876
8971
  });
8877
- var BinaryOpSymbol$19 = $EXPECT($L69, fail, 'BinaryOpSymbol "==="');
8878
- var BinaryOpSymbol$20 = $TV($EXPECT($L70, fail, 'BinaryOpSymbol "=="'), function($skip, $loc, $0, $1) {
8972
+ var BinaryOpSymbol$19 = $EXPECT($L67, fail, 'BinaryOpSymbol "==="');
8973
+ var BinaryOpSymbol$20 = $TV($EXPECT($L68, fail, 'BinaryOpSymbol "=="'), function($skip, $loc, $0, $1) {
8879
8974
  if (module2.config.coffeeEq)
8880
8975
  return "===";
8881
8976
  return $1;
8882
8977
  });
8883
- var BinaryOpSymbol$21 = $T($S($EXPECT($L71, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
8978
+ var BinaryOpSymbol$21 = $T($S($EXPECT($L69, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
8884
8979
  return "&&";
8885
8980
  });
8886
- var BinaryOpSymbol$22 = $EXPECT($L72, fail, 'BinaryOpSymbol "&&"');
8887
- var BinaryOpSymbol$23 = $T($S(CoffeeOfEnabled, $EXPECT($L73, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
8981
+ var BinaryOpSymbol$22 = $EXPECT($L70, fail, 'BinaryOpSymbol "&&"');
8982
+ var BinaryOpSymbol$23 = $T($S(CoffeeOfEnabled, $EXPECT($L71, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
8888
8983
  return "in";
8889
8984
  });
8890
- var BinaryOpSymbol$24 = $T($S($EXPECT($L74, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
8985
+ var BinaryOpSymbol$24 = $T($S($EXPECT($L72, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
8891
8986
  return "||";
8892
8987
  });
8893
- var BinaryOpSymbol$25 = $EXPECT($L75, fail, 'BinaryOpSymbol "||"');
8894
- var BinaryOpSymbol$26 = $TV($C($EXPECT($L76, fail, 'BinaryOpSymbol "^^"'), $S($EXPECT($L77, fail, 'BinaryOpSymbol "xor"'), NonIdContinue)), function($skip, $loc, $0, $1) {
8988
+ var BinaryOpSymbol$25 = $EXPECT($L73, fail, 'BinaryOpSymbol "||"');
8989
+ var BinaryOpSymbol$26 = $TV($C($EXPECT($L74, fail, 'BinaryOpSymbol "^^"'), $S($EXPECT($L75, fail, 'BinaryOpSymbol "xor"'), NonIdContinue)), function($skip, $loc, $0, $1) {
8895
8990
  return {
8896
8991
  call: module2.getRef("xor"),
8897
8992
  special: true
8898
8993
  };
8899
8994
  });
8900
- var BinaryOpSymbol$27 = $TV($C($EXPECT($R8, fail, "BinaryOpSymbol /!\\^\\^?/"), $S($EXPECT($L78, fail, 'BinaryOpSymbol "xnor"'), NonIdContinue)), function($skip, $loc, $0, $1) {
8995
+ var BinaryOpSymbol$27 = $TV($C($EXPECT($R8, fail, "BinaryOpSymbol /!\\^\\^?/"), $S($EXPECT($L76, fail, 'BinaryOpSymbol "xnor"'), NonIdContinue)), function($skip, $loc, $0, $1) {
8901
8996
  return {
8902
8997
  call: module2.getRef("xnor"),
8903
8998
  special: true
8904
8999
  };
8905
9000
  });
8906
- var BinaryOpSymbol$28 = $EXPECT($L79, fail, 'BinaryOpSymbol "??"');
9001
+ var BinaryOpSymbol$28 = $EXPECT($L77, fail, 'BinaryOpSymbol "??"');
8907
9002
  var BinaryOpSymbol$29 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L4, fail, 'BinaryOpSymbol "?"')), function(value) {
8908
9003
  return "??";
8909
9004
  });
8910
- var BinaryOpSymbol$30 = $TS($S($EXPECT($L80, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9005
+ var BinaryOpSymbol$30 = $TS($S($EXPECT($L78, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
8911
9006
  return {
8912
9007
  $loc,
8913
9008
  token: $1,
@@ -8915,7 +9010,7 @@ ${input.slice(result.pos)}
8915
9010
  special: true
8916
9011
  };
8917
9012
  });
8918
- var BinaryOpSymbol$31 = $TS($S($EXPECT($L52, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L80, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
9013
+ var BinaryOpSymbol$31 = $TS($S($EXPECT($L50, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L78, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
8919
9014
  return {
8920
9015
  $loc,
8921
9016
  token: "instanceof",
@@ -8924,7 +9019,7 @@ ${input.slice(result.pos)}
8924
9019
  negated: true
8925
9020
  };
8926
9021
  });
8927
- var BinaryOpSymbol$32 = $TV($C($S($N(CoffeeOfEnabled), $EXPECT($L52, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L81, fail, 'BinaryOpSymbol "in"'), NonIdContinue), $S(CoffeeOfEnabled, $EXPECT($L52, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L73, fail, 'BinaryOpSymbol "of"'), NonIdContinue)), function($skip, $loc, $0, $1) {
9022
+ var BinaryOpSymbol$32 = $TV($C($S($N(CoffeeOfEnabled), $EXPECT($L50, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L79, fail, 'BinaryOpSymbol "in"'), NonIdContinue), $S(CoffeeOfEnabled, $EXPECT($L50, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L71, fail, 'BinaryOpSymbol "of"'), NonIdContinue)), function($skip, $loc, $0, $1) {
8928
9023
  return {
8929
9024
  $loc,
8930
9025
  token: "in",
@@ -8932,7 +9027,7 @@ ${input.slice(result.pos)}
8932
9027
  negated: true
8933
9028
  };
8934
9029
  });
8935
- var BinaryOpSymbol$33 = $TS($S($EXPECT($L82, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L81, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
9030
+ var BinaryOpSymbol$33 = $TS($S($EXPECT($L80, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L79, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
8936
9031
  return {
8937
9032
  method: "includes",
8938
9033
  relational: true,
@@ -8940,7 +9035,7 @@ ${input.slice(result.pos)}
8940
9035
  special: true
8941
9036
  };
8942
9037
  });
8943
- var BinaryOpSymbol$34 = $TS($S(CoffeeOfEnabled, $EXPECT($L81, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
9038
+ var BinaryOpSymbol$34 = $TS($S(CoffeeOfEnabled, $EXPECT($L79, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
8944
9039
  return {
8945
9040
  call: [module2.getRef("indexOf"), ".call"],
8946
9041
  relational: true,
@@ -8949,7 +9044,7 @@ ${input.slice(result.pos)}
8949
9044
  special: true
8950
9045
  };
8951
9046
  });
8952
- var BinaryOpSymbol$35 = $TS($S($EXPECT($L82, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L52, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L81, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8) {
9047
+ var BinaryOpSymbol$35 = $TS($S($EXPECT($L80, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L50, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L79, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8) {
8953
9048
  return {
8954
9049
  method: "includes",
8955
9050
  relational: true,
@@ -8958,7 +9053,7 @@ ${input.slice(result.pos)}
8958
9053
  negated: true
8959
9054
  };
8960
9055
  });
8961
- var BinaryOpSymbol$36 = $TS($S(CoffeeOfEnabled, $EXPECT($L52, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L81, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
9056
+ var BinaryOpSymbol$36 = $TS($S(CoffeeOfEnabled, $EXPECT($L50, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L79, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
8962
9057
  return {
8963
9058
  call: [module2.getRef("indexOf"), ".call"],
8964
9059
  relational: true,
@@ -8967,7 +9062,7 @@ ${input.slice(result.pos)}
8967
9062
  special: true
8968
9063
  };
8969
9064
  });
8970
- var BinaryOpSymbol$37 = $TS($S($N(CoffeeNotEnabled), $EXPECT($L82, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L52, fail, 'BinaryOpSymbol "not"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
9065
+ var BinaryOpSymbol$37 = $TS($S($N(CoffeeNotEnabled), $EXPECT($L80, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L50, fail, 'BinaryOpSymbol "not"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
8971
9066
  if (module2.config.objectIs) {
8972
9067
  return {
8973
9068
  call: module2.getRef("is"),
@@ -8979,7 +9074,7 @@ ${input.slice(result.pos)}
8979
9074
  }
8980
9075
  return "!==";
8981
9076
  });
8982
- var BinaryOpSymbol$38 = $TS($S($EXPECT($L82, fail, 'BinaryOpSymbol "is"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9077
+ var BinaryOpSymbol$38 = $TS($S($EXPECT($L80, fail, 'BinaryOpSymbol "is"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
8983
9078
  if (module2.config.objectIs) {
8984
9079
  return {
8985
9080
  call: module2.getRef("is"),
@@ -8990,12 +9085,12 @@ ${input.slice(result.pos)}
8990
9085
  }
8991
9086
  return "===";
8992
9087
  });
8993
- var BinaryOpSymbol$39 = $TS($S($EXPECT($L81, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9088
+ var BinaryOpSymbol$39 = $TS($S($EXPECT($L79, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
8994
9089
  return $1;
8995
9090
  });
8996
- var BinaryOpSymbol$40 = $EXPECT($L83, fail, 'BinaryOpSymbol "&"');
9091
+ var BinaryOpSymbol$40 = $EXPECT($L81, fail, 'BinaryOpSymbol "&"');
8997
9092
  var BinaryOpSymbol$41 = $EXPECT($L17, fail, 'BinaryOpSymbol "^"');
8998
- var BinaryOpSymbol$42 = $EXPECT($L84, fail, 'BinaryOpSymbol "|"');
9093
+ var BinaryOpSymbol$42 = $EXPECT($L82, fail, 'BinaryOpSymbol "|"');
8999
9094
  function BinaryOpSymbol(state) {
9000
9095
  let eventData;
9001
9096
  if (state.events) {
@@ -9018,8 +9113,8 @@ ${input.slice(result.pos)}
9018
9113
  return result;
9019
9114
  }
9020
9115
  }
9021
- var Xor$0 = $EXPECT($L76, fail, 'Xor "^^"');
9022
- var Xor$1 = $S($EXPECT($L77, fail, 'Xor "xor"'), NonIdContinue);
9116
+ var Xor$0 = $EXPECT($L74, fail, 'Xor "^^"');
9117
+ var Xor$1 = $S($EXPECT($L75, fail, 'Xor "xor"'), NonIdContinue);
9023
9118
  function Xor(state) {
9024
9119
  let eventData;
9025
9120
  if (state.events) {
@@ -9043,7 +9138,7 @@ ${input.slice(result.pos)}
9043
9138
  }
9044
9139
  }
9045
9140
  var Xnor$0 = $R$0($EXPECT($R8, fail, "Xnor /!\\^\\^?/"));
9046
- var Xnor$1 = $EXPECT($L78, fail, 'Xnor "xnor"');
9141
+ var Xnor$1 = $EXPECT($L76, fail, 'Xnor "xnor"');
9047
9142
  function Xnor(state) {
9048
9143
  let eventData;
9049
9144
  if (state.events) {
@@ -9069,8 +9164,9 @@ ${input.slice(result.pos)}
9069
9164
  var UnaryOp$0 = $TR($EXPECT($R9, fail, "UnaryOp /(?!\\+\\+|--)[!~+-](?!\\s|[!~+-]*&)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
9070
9165
  return { $loc, token: $0 };
9071
9166
  });
9072
- var UnaryOp$1 = $S($C(Await, Delete, Void, Typeof), __);
9073
- var UnaryOp$2 = Not;
9167
+ var UnaryOp$1 = AwaitOp;
9168
+ var UnaryOp$2 = $S($C(Delete, Void, Typeof), $E(_));
9169
+ var UnaryOp$3 = Not;
9074
9170
  function UnaryOp(state) {
9075
9171
  let eventData;
9076
9172
  if (state.events) {
@@ -9082,17 +9178,52 @@ ${input.slice(result.pos)}
9082
9178
  }
9083
9179
  }
9084
9180
  if (state.tokenize) {
9085
- const result = $TOKEN("UnaryOp", state, UnaryOp$0(state) || UnaryOp$1(state) || UnaryOp$2(state));
9181
+ const result = $TOKEN("UnaryOp", state, UnaryOp$0(state) || UnaryOp$1(state) || UnaryOp$2(state) || UnaryOp$3(state));
9086
9182
  if (state.events)
9087
9183
  state.events.exit?.("UnaryOp", state, result, eventData);
9088
9184
  return result;
9089
9185
  } else {
9090
- const result = UnaryOp$0(state) || UnaryOp$1(state) || UnaryOp$2(state);
9186
+ const result = UnaryOp$0(state) || UnaryOp$1(state) || UnaryOp$2(state) || UnaryOp$3(state);
9091
9187
  if (state.events)
9092
9188
  state.events.exit?.("UnaryOp", state, result, eventData);
9093
9189
  return result;
9094
9190
  }
9095
9191
  }
9192
+ var AwaitOp$0 = $TS($S(Await, $E($S(Dot, IdentifierName)), $C($Y(OpenParen), _, $Y(EOS))), function($skip, $loc, $0, $1, $2, $3) {
9193
+ var a = $1;
9194
+ var op = $2;
9195
+ var ws = $3;
9196
+ if (op) {
9197
+ return {
9198
+ ...a,
9199
+ op,
9200
+ children: [a, ...ws || []]
9201
+ };
9202
+ }
9203
+ return [a, ...ws || []];
9204
+ });
9205
+ function AwaitOp(state) {
9206
+ let eventData;
9207
+ if (state.events) {
9208
+ const result = state.events.enter?.("AwaitOp", state);
9209
+ if (result) {
9210
+ if (result.cache)
9211
+ return result.cache;
9212
+ eventData = result.data;
9213
+ }
9214
+ }
9215
+ if (state.tokenize) {
9216
+ const result = $TOKEN("AwaitOp", state, AwaitOp$0(state));
9217
+ if (state.events)
9218
+ state.events.exit?.("AwaitOp", state, result, eventData);
9219
+ return result;
9220
+ } else {
9221
+ const result = AwaitOp$0(state);
9222
+ if (state.events)
9223
+ state.events.exit?.("AwaitOp", state, result, eventData);
9224
+ return result;
9225
+ }
9226
+ }
9096
9227
  var ModuleItem$0 = ImportDeclaration;
9097
9228
  var ModuleItem$1 = ExportDeclaration;
9098
9229
  var ModuleItem$2 = StatementListItem;
@@ -9293,7 +9424,7 @@ ${input.slice(result.pos)}
9293
9424
  return result;
9294
9425
  }
9295
9426
  }
9296
- var EmptyStatement$0 = $TS($S($E(_), $Y($EXPECT($L85, fail, 'EmptyStatement ";"'))), function($skip, $loc, $0, $1, $2) {
9427
+ var EmptyStatement$0 = $TS($S($E(_), $Y($EXPECT($L83, fail, 'EmptyStatement ";"'))), function($skip, $loc, $0, $1, $2) {
9297
9428
  return { type: "EmptyStatement", children: $1 || [] };
9298
9429
  });
9299
9430
  function EmptyStatement(state) {
@@ -9372,7 +9503,7 @@ ${input.slice(result.pos)}
9372
9503
  var w = $3;
9373
9504
  return [id, colon, w];
9374
9505
  });
9375
- var Label$1 = $S($EXPECT($L86, fail, 'Label "$:"'), Whitespace);
9506
+ var Label$1 = $S($EXPECT($L84, fail, 'Label "$:"'), Whitespace);
9376
9507
  function Label(state) {
9377
9508
  let eventData;
9378
9509
  if (state.events) {
@@ -10356,7 +10487,7 @@ ${input.slice(result.pos)}
10356
10487
  return result;
10357
10488
  }
10358
10489
  }
10359
- var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L87, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
10490
+ var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L85, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
10360
10491
  var own = $1;
10361
10492
  var binding = $2;
10362
10493
  return {
@@ -11179,12 +11310,15 @@ ${input.slice(result.pos)}
11179
11310
  type: "Ref",
11180
11311
  base: "ref"
11181
11312
  };
11182
- const { binding, initializer } = dec;
11313
+ const { binding, initializer, splices, thisAssignments } = dec;
11183
11314
  const initCondition = {
11184
11315
  type: "AssignmentExpression",
11185
11316
  children: [ref, " ", initializer],
11186
11317
  hoistDec: [["", ["let ", ref], ";"]],
11187
- blockPrefix: [["", [binding, "= ", ref], ";"]]
11318
+ blockPrefix: [
11319
+ ["", [binding, "= ", ref, ...splices], ";"],
11320
+ ...thisAssignments
11321
+ ]
11188
11322
  };
11189
11323
  return initCondition;
11190
11324
  });
@@ -11767,7 +11901,7 @@ ${input.slice(result.pos)}
11767
11901
  return result;
11768
11902
  }
11769
11903
  }
11770
- var Break$0 = $TS($S($EXPECT($L88, fail, 'Break "break"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11904
+ var Break$0 = $TS($S($EXPECT($L86, fail, 'Break "break"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11771
11905
  return { $loc, token: $1 };
11772
11906
  });
11773
11907
  function Break(state) {
@@ -11792,7 +11926,7 @@ ${input.slice(result.pos)}
11792
11926
  return result;
11793
11927
  }
11794
11928
  }
11795
- var Continue$0 = $TS($S($EXPECT($L89, fail, 'Continue "continue"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11929
+ var Continue$0 = $TS($S($EXPECT($L87, fail, 'Continue "continue"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11796
11930
  return { $loc, token: $1 };
11797
11931
  });
11798
11932
  function Continue(state) {
@@ -11817,7 +11951,7 @@ ${input.slice(result.pos)}
11817
11951
  return result;
11818
11952
  }
11819
11953
  }
11820
- var Debugger$0 = $TS($S($EXPECT($L90, fail, 'Debugger "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11954
+ var Debugger$0 = $TS($S($EXPECT($L88, fail, 'Debugger "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11821
11955
  return { $loc, token: $1 };
11822
11956
  });
11823
11957
  function Debugger(state) {
@@ -12123,7 +12257,7 @@ ${input.slice(result.pos)}
12123
12257
  return result;
12124
12258
  }
12125
12259
  }
12126
- var ImportAssertion$0 = $S($E(_), $EXPECT($L91, fail, 'ImportAssertion "assert"'), NonIdContinue, $E(_), ObjectLiteral);
12260
+ var ImportAssertion$0 = $S($E(_), $EXPECT($L89, fail, 'ImportAssertion "assert"'), NonIdContinue, $E(_), ObjectLiteral);
12127
12261
  function ImportAssertion(state) {
12128
12262
  let eventData;
12129
12263
  if (state.events) {
@@ -12500,10 +12634,12 @@ ${input.slice(result.pos)}
12500
12634
  }
12501
12635
  }
12502
12636
  var NamedExports$0 = $S(OpenBrace, $Q(ExportSpecifier), $E($S(__, Comma)), __, CloseBrace);
12503
- var NamedExports$1 = $TS($S(InsertInlineOpenBrace, ImplicitExportSpecifier, $Q($S(_, ImplicitExportSpecifier)), InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3, $4) {
12637
+ var NamedExports$1 = $TS($S(InsertInlineOpenBrace, ImplicitExportSpecifier, $Q($S(ImplicitInlineObjectPropertyDelimiter, ImplicitExportSpecifier)), InsertCloseBrace, $Y($C(StatementDelimiter, $S(__, From)))), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12504
12638
  var open = $1;
12639
+ var first = $2;
12640
+ var rest = $3;
12505
12641
  var close = $4;
12506
- return [open, $2, ...$3, close];
12642
+ return [open, first, ...rest, close];
12507
12643
  });
12508
12644
  function NamedExports(state) {
12509
12645
  let eventData;
@@ -12554,7 +12690,7 @@ ${input.slice(result.pos)}
12554
12690
  return result;
12555
12691
  }
12556
12692
  }
12557
- var ImplicitExportSpecifier$0 = $S($N(Default), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
12693
+ var ImplicitExportSpecifier$0 = $S($N(Default), ModuleExportName, $E($S(__, As, __, ModuleExportName)));
12558
12694
  function ImplicitExportSpecifier(state) {
12559
12695
  let eventData;
12560
12696
  if (state.events) {
@@ -12579,7 +12715,20 @@ ${input.slice(result.pos)}
12579
12715
  }
12580
12716
  var Declaration$0 = HoistableDeclaration;
12581
12717
  var Declaration$1 = ClassDeclaration;
12582
- var Declaration$2 = LexicalDeclaration;
12718
+ var Declaration$2 = $TV(LexicalDeclaration, function($skip, $loc, $0, $1) {
12719
+ var d = $0;
12720
+ if (d.thisAssignments?.length)
12721
+ return {
12722
+ ...d,
12723
+ children: [...d.children, ...d.splices, ";", ...d.thisAssignments]
12724
+ };
12725
+ if (d.splices?.length)
12726
+ return {
12727
+ ...d,
12728
+ children: [...d.children, ...d.splices]
12729
+ };
12730
+ return d;
12731
+ });
12583
12732
  var Declaration$3 = TypeDeclaration;
12584
12733
  var Declaration$4 = EnumDeclaration;
12585
12734
  var Declaration$5 = OperatorDeclaration;
@@ -12629,12 +12778,21 @@ ${input.slice(result.pos)}
12629
12778
  }
12630
12779
  }
12631
12780
  var LexicalDeclaration$0 = $TS($S(LetOrConst, LexicalBinding, $Q($S(__, Comma, LexicalBinding))), function($skip, $loc, $0, $1, $2, $3) {
12781
+ var d = $1;
12632
12782
  var binding = $2;
12633
12783
  var tail = $3;
12784
+ const { splices, thisAssignments } = binding;
12634
12785
  return {
12635
12786
  type: "Declaration",
12636
12787
  children: $0,
12637
- names: [...binding.names].concat(tail.flatMap(([, , b]) => b.names))
12788
+ names: [...binding.names].concat(tail.flatMap(([, , b]) => b.names)),
12789
+ binding: {
12790
+ ...binding.binding,
12791
+ children: [d, ...binding.binding.children]
12792
+ },
12793
+ initializer: binding.initializer,
12794
+ splices,
12795
+ thisAssignments
12638
12796
  };
12639
12797
  });
12640
12798
  var LexicalDeclaration$1 = $TS($S(InsertConst, $C(BindingPattern, BindingIdentifier), $E(TypeSuffix), __, ConstAssignment, ExtendedExpression), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
@@ -12671,7 +12829,7 @@ ${input.slice(result.pos)}
12671
12829
  return result;
12672
12830
  }
12673
12831
  }
12674
- var ConstAssignment$0 = $TV($EXPECT($L92, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
12832
+ var ConstAssignment$0 = $TV($EXPECT($L90, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
12675
12833
  return { $loc, token: "=" };
12676
12834
  });
12677
12835
  function ConstAssignment(state) {
@@ -12696,7 +12854,7 @@ ${input.slice(result.pos)}
12696
12854
  return result;
12697
12855
  }
12698
12856
  }
12699
- var LetAssignment$0 = $TV($EXPECT($L93, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
12857
+ var LetAssignment$0 = $TV($EXPECT($L91, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
12700
12858
  return { $loc, token: "=" };
12701
12859
  });
12702
12860
  function LetAssignment(state) {
@@ -12721,25 +12879,51 @@ ${input.slice(result.pos)}
12721
12879
  return result;
12722
12880
  }
12723
12881
  }
12724
- var LexicalBinding$0 = $TS($S(BindingPattern, $E(TypeSuffix), Initializer), function($skip, $loc, $0, $1, $2, $3) {
12725
- const children = [...$1.children];
12726
- if ($2)
12727
- children.push($2);
12728
- children.push($3);
12882
+ var LexicalBinding$0 = $TS($S(BindingPattern, $E(TypeSuffix), $E(_), Initializer), function($skip, $loc, $0, $1, $2, $3, $4) {
12883
+ var binding = $1;
12884
+ var suffix = $2;
12885
+ var ws = $3;
12886
+ var initializer = $4;
12887
+ const bindingChildren = [...binding.children];
12888
+ if (suffix)
12889
+ bindingChildren.push(suffix);
12890
+ if (ws)
12891
+ bindingChildren.push(...ws);
12892
+ binding = {
12893
+ ...binding,
12894
+ children: bindingChildren
12895
+ };
12896
+ const [splices, thisAssignments] = gatherBindingCode(binding.children);
12729
12897
  return {
12730
- children,
12731
- names: $1.names
12898
+ children: [binding, initializer],
12899
+ names: binding.names,
12900
+ binding,
12901
+ initializer,
12902
+ splices: splices.map((s) => [",", s]),
12903
+ thisAssignments: thisAssignments.map((s) => ["", s, ";"])
12732
12904
  };
12733
12905
  });
12734
- var LexicalBinding$1 = $TS($S(BindingIdentifier, $E(TypeSuffix), $E(Initializer)), function($skip, $loc, $0, $1, $2, $3) {
12735
- const children = [...$1.children];
12736
- if ($2)
12737
- children.push($2);
12738
- if ($3)
12739
- children.push($3);
12906
+ var LexicalBinding$1 = $TS($S(BindingIdentifier, $E(TypeSuffix), $E(_), $E(Initializer)), function($skip, $loc, $0, $1, $2, $3, $4) {
12907
+ var binding = $1;
12908
+ var suffix = $2;
12909
+ var ws = $3;
12910
+ var initializer = $4;
12911
+ const bindingChildren = [...binding.children];
12912
+ if (suffix)
12913
+ bindingChildren.push(suffix);
12914
+ if (ws)
12915
+ bindingChildren.push(...ws);
12916
+ binding = {
12917
+ ...binding,
12918
+ children: bindingChildren
12919
+ };
12740
12920
  return {
12741
- children,
12742
- names: $1.names
12921
+ children: [binding, initializer],
12922
+ names: binding.names,
12923
+ binding,
12924
+ initializer,
12925
+ splices: [],
12926
+ thisAssignments: []
12743
12927
  };
12744
12928
  });
12745
12929
  function LexicalBinding(state) {
@@ -13377,7 +13561,7 @@ ${input.slice(result.pos)}
13377
13561
  }
13378
13562
  }
13379
13563
  var RegularExpressionLiteral$0 = HeregexLiteral;
13380
- var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L55, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L55, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
13564
+ var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L53, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L53, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
13381
13565
  return { type: "RegularExpressionLiteral", $loc, token: $1 };
13382
13566
  });
13383
13567
  function RegularExpressionLiteral(state) {
@@ -13944,7 +14128,7 @@ ${input.slice(result.pos)}
13944
14128
  return result;
13945
14129
  }
13946
14130
  }
13947
- var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L94, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L95, fail, 'JSMultiLineComment "*/"')), $EXPECT($R42, fail, "JSMultiLineComment /./"))), $EXPECT($L95, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
14131
+ var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L92, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L93, fail, 'JSMultiLineComment "*/"')), $EXPECT($R42, fail, "JSMultiLineComment /./"))), $EXPECT($L93, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
13948
14132
  return { type: "Comment", $loc, token: $1 };
13949
14133
  });
13950
14134
  function JSMultiLineComment(state) {
@@ -14043,7 +14227,7 @@ ${input.slice(result.pos)}
14043
14227
  return result;
14044
14228
  }
14045
14229
  }
14046
- var InlineComment$0 = $TV($TEXT($S($EXPECT($L94, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L95, fail, 'InlineComment "*/"')), $EXPECT($R46, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L95, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
14230
+ var InlineComment$0 = $TV($TEXT($S($EXPECT($L92, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L93, fail, 'InlineComment "*/"')), $EXPECT($R46, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L93, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
14047
14231
  return { $loc, token: $1 };
14048
14232
  });
14049
14233
  function InlineComment(state) {
@@ -14140,7 +14324,7 @@ ${input.slice(result.pos)}
14140
14324
  var NonNewlineWhitespace$0 = $TR($EXPECT($R47, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14141
14325
  return { $loc, token: $0 };
14142
14326
  });
14143
- var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L96, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
14327
+ var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L94, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
14144
14328
  return "";
14145
14329
  });
14146
14330
  function NonNewlineWhitespace(state) {
@@ -14292,7 +14476,7 @@ ${input.slice(result.pos)}
14292
14476
  }
14293
14477
  }
14294
14478
  var StatementDelimiter$0 = SemicolonDelimiter;
14295
- var StatementDelimiter$1 = $S($Y($S(Samedent, $C($EXPECT($L3, fail, 'StatementDelimiter "("'), $EXPECT($L97, fail, 'StatementDelimiter "["'), $EXPECT($L98, fail, 'StatementDelimiter "`"'), $EXPECT($L58, fail, 'StatementDelimiter "+"'), $EXPECT($L18, fail, 'StatementDelimiter "-"'), $EXPECT($L54, fail, 'StatementDelimiter "*"'), $EXPECT($L55, fail, 'StatementDelimiter "/"'), ObjectLiteral, Arrow, FatArrow, $S(Function, $E($S($E(_), Star)), $E(_), $EXPECT($L3, fail, 'StatementDelimiter "("'))))), InsertSemicolon);
14479
+ var StatementDelimiter$1 = $S($Y($S(Samedent, $C($EXPECT($L3, fail, 'StatementDelimiter "("'), $EXPECT($L95, fail, 'StatementDelimiter "["'), $EXPECT($L96, fail, 'StatementDelimiter "`"'), $EXPECT($L56, fail, 'StatementDelimiter "+"'), $EXPECT($L18, fail, 'StatementDelimiter "-"'), $EXPECT($L52, fail, 'StatementDelimiter "*"'), $EXPECT($L53, fail, 'StatementDelimiter "/"'), ObjectLiteral, Arrow, FatArrow, $S(Function, $E($S($E(_), Star)), $E(_), $EXPECT($L3, fail, 'StatementDelimiter "("'))))), InsertSemicolon);
14296
14480
  var StatementDelimiter$2 = $Y(EOS);
14297
14481
  function StatementDelimiter(state) {
14298
14482
  let eventData;
@@ -14392,7 +14576,7 @@ ${input.slice(result.pos)}
14392
14576
  return result;
14393
14577
  }
14394
14578
  }
14395
- var Abstract$0 = $TV($TEXT($S($EXPECT($L99, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L9, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
14579
+ var Abstract$0 = $TV($TEXT($S($EXPECT($L97, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L9, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
14396
14580
  return { $loc, token: $1, ts: true };
14397
14581
  });
14398
14582
  function Abstract(state) {
@@ -14417,7 +14601,7 @@ ${input.slice(result.pos)}
14417
14601
  return result;
14418
14602
  }
14419
14603
  }
14420
- var Ampersand$0 = $TV($EXPECT($L83, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
14604
+ var Ampersand$0 = $TV($EXPECT($L81, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
14421
14605
  return { $loc, token: $1 };
14422
14606
  });
14423
14607
  function Ampersand(state) {
@@ -14442,7 +14626,7 @@ ${input.slice(result.pos)}
14442
14626
  return result;
14443
14627
  }
14444
14628
  }
14445
- var As$0 = $TS($S($EXPECT($L100, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14629
+ var As$0 = $TS($S($EXPECT($L98, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14446
14630
  return { $loc, token: $1 };
14447
14631
  });
14448
14632
  function As(state) {
@@ -14467,7 +14651,7 @@ ${input.slice(result.pos)}
14467
14651
  return result;
14468
14652
  }
14469
14653
  }
14470
- var At$0 = $TV($EXPECT($L101, fail, 'At "@"'), function($skip, $loc, $0, $1) {
14654
+ var At$0 = $TV($EXPECT($L99, fail, 'At "@"'), function($skip, $loc, $0, $1) {
14471
14655
  return { $loc, token: $1 };
14472
14656
  });
14473
14657
  function At(state) {
@@ -14492,7 +14676,7 @@ ${input.slice(result.pos)}
14492
14676
  return result;
14493
14677
  }
14494
14678
  }
14495
- var AtAt$0 = $TV($EXPECT($L102, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
14679
+ var AtAt$0 = $TV($EXPECT($L100, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
14496
14680
  return { $loc, token: "@" };
14497
14681
  });
14498
14682
  function AtAt(state) {
@@ -14517,7 +14701,7 @@ ${input.slice(result.pos)}
14517
14701
  return result;
14518
14702
  }
14519
14703
  }
14520
- var Async$0 = $TS($S($EXPECT($L103, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14704
+ var Async$0 = $TS($S($EXPECT($L101, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14521
14705
  return { $loc, token: $1, type: "Async" };
14522
14706
  });
14523
14707
  function Async(state) {
@@ -14542,7 +14726,7 @@ ${input.slice(result.pos)}
14542
14726
  return result;
14543
14727
  }
14544
14728
  }
14545
- var Await$0 = $TS($S($EXPECT($L104, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14729
+ var Await$0 = $TS($S($EXPECT($L102, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14546
14730
  return { $loc, token: $1, type: "Await" };
14547
14731
  });
14548
14732
  function Await(state) {
@@ -14567,7 +14751,7 @@ ${input.slice(result.pos)}
14567
14751
  return result;
14568
14752
  }
14569
14753
  }
14570
- var Backtick$0 = $TV($EXPECT($L98, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
14754
+ var Backtick$0 = $TV($EXPECT($L96, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
14571
14755
  return { $loc, token: $1 };
14572
14756
  });
14573
14757
  function Backtick(state) {
@@ -14592,7 +14776,7 @@ ${input.slice(result.pos)}
14592
14776
  return result;
14593
14777
  }
14594
14778
  }
14595
- var By$0 = $TS($S($EXPECT($L105, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14779
+ var By$0 = $TS($S($EXPECT($L103, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14596
14780
  return { $loc, token: $1 };
14597
14781
  });
14598
14782
  function By(state) {
@@ -14617,7 +14801,7 @@ ${input.slice(result.pos)}
14617
14801
  return result;
14618
14802
  }
14619
14803
  }
14620
- var Case$0 = $TS($S($EXPECT($L106, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14804
+ var Case$0 = $TS($S($EXPECT($L104, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14621
14805
  return { $loc, token: $1 };
14622
14806
  });
14623
14807
  function Case(state) {
@@ -14642,7 +14826,7 @@ ${input.slice(result.pos)}
14642
14826
  return result;
14643
14827
  }
14644
14828
  }
14645
- var Catch$0 = $TS($S($EXPECT($L107, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14829
+ var Catch$0 = $TS($S($EXPECT($L105, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14646
14830
  return { $loc, token: $1 };
14647
14831
  });
14648
14832
  function Catch(state) {
@@ -14667,7 +14851,7 @@ ${input.slice(result.pos)}
14667
14851
  return result;
14668
14852
  }
14669
14853
  }
14670
- var Class$0 = $TS($S($EXPECT($L108, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14854
+ var Class$0 = $TS($S($EXPECT($L106, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14671
14855
  return { $loc, token: $1 };
14672
14856
  });
14673
14857
  function Class(state) {
@@ -14742,7 +14926,7 @@ ${input.slice(result.pos)}
14742
14926
  return result;
14743
14927
  }
14744
14928
  }
14745
- var CloseParen$0 = $TV($EXPECT($L33, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
14929
+ var CloseParen$0 = $TV($EXPECT($L107, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
14746
14930
  return { $loc, token: $1 };
14747
14931
  });
14748
14932
  function CloseParen(state) {
@@ -14767,7 +14951,7 @@ ${input.slice(result.pos)}
14767
14951
  return result;
14768
14952
  }
14769
14953
  }
14770
- var CoffeeSubstitutionStart$0 = $TV($EXPECT($L109, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
14954
+ var CoffeeSubstitutionStart$0 = $TV($EXPECT($L108, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
14771
14955
  return { $loc, token: "${" };
14772
14956
  });
14773
14957
  function CoffeeSubstitutionStart(state) {
@@ -14792,7 +14976,7 @@ ${input.slice(result.pos)}
14792
14976
  return result;
14793
14977
  }
14794
14978
  }
14795
- var Colon$0 = $TS($S($EXPECT($L32, fail, 'Colon ":"'), $N($EXPECT($L2, fail, 'Colon "="'))), function($skip, $loc, $0, $1, $2) {
14979
+ var Colon$0 = $TS($S($EXPECT($L109, fail, 'Colon ":"'), $N($EXPECT($L2, fail, 'Colon "="'))), function($skip, $loc, $0, $1, $2) {
14796
14980
  return { $loc, token: $1 };
14797
14981
  });
14798
14982
  function Colon(state) {
@@ -14842,7 +15026,7 @@ ${input.slice(result.pos)}
14842
15026
  return result;
14843
15027
  }
14844
15028
  }
14845
- var ConstructorShorthand$0 = $TV($EXPECT($L101, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
15029
+ var ConstructorShorthand$0 = $TV($EXPECT($L99, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
14846
15030
  return { $loc, token: "constructor" };
14847
15031
  });
14848
15032
  function ConstructorShorthand(state) {
@@ -15367,7 +15551,7 @@ ${input.slice(result.pos)}
15367
15551
  return result;
15368
15552
  }
15369
15553
  }
15370
- var In$0 = $TS($S($EXPECT($L81, fail, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15554
+ var In$0 = $TS($S($EXPECT($L79, fail, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15371
15555
  return { $loc, token: $1 };
15372
15556
  });
15373
15557
  function In(state) {
@@ -15516,7 +15700,7 @@ ${input.slice(result.pos)}
15516
15700
  return result;
15517
15701
  }
15518
15702
  }
15519
- var Not$0 = $TS($S(CoffeeNotEnabled, $EXPECT($L52, fail, 'Not "not"'), NonIdContinue, $E($EXPECT($L9, fail, 'Not " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
15703
+ var Not$0 = $TS($S(CoffeeNotEnabled, $EXPECT($L50, fail, 'Not "not"'), NonIdContinue, $E($EXPECT($L9, fail, 'Not " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
15520
15704
  return { $loc, token: "!" };
15521
15705
  });
15522
15706
  function Not(state) {
@@ -15541,7 +15725,7 @@ ${input.slice(result.pos)}
15541
15725
  return result;
15542
15726
  }
15543
15727
  }
15544
- var Of$0 = $TS($S($EXPECT($L73, fail, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15728
+ var Of$0 = $TS($S($EXPECT($L71, fail, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15545
15729
  return { $loc, token: $1 };
15546
15730
  });
15547
15731
  function Of(state) {
@@ -15616,7 +15800,7 @@ ${input.slice(result.pos)}
15616
15800
  return result;
15617
15801
  }
15618
15802
  }
15619
- var OpenBracket$0 = $TV($EXPECT($L97, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
15803
+ var OpenBracket$0 = $TV($EXPECT($L95, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
15620
15804
  return { $loc, token: $1 };
15621
15805
  });
15622
15806
  function OpenBracket(state) {
@@ -15897,7 +16081,7 @@ ${input.slice(result.pos)}
15897
16081
  return result;
15898
16082
  }
15899
16083
  }
15900
- var Semicolon$0 = $TV($EXPECT($L85, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
16084
+ var Semicolon$0 = $TV($EXPECT($L83, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
15901
16085
  return { $loc, token: $1 };
15902
16086
  });
15903
16087
  function Semicolon(state) {
@@ -15947,7 +16131,7 @@ ${input.slice(result.pos)}
15947
16131
  return result;
15948
16132
  }
15949
16133
  }
15950
- var Star$0 = $TV($EXPECT($L54, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
16134
+ var Star$0 = $TV($EXPECT($L52, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
15951
16135
  return { $loc, token: $1 };
15952
16136
  });
15953
16137
  function Star(state) {
@@ -15975,7 +16159,7 @@ ${input.slice(result.pos)}
15975
16159
  var Static$0 = $TS($S($EXPECT($L145, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15976
16160
  return { $loc, token: $1 };
15977
16161
  });
15978
- var Static$1 = $TS($S($EXPECT($L101, fail, 'Static "@"'), $N($C($EXPECT($L3, fail, 'Static "("'), $EXPECT($L101, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
16162
+ var Static$1 = $TS($S($EXPECT($L99, fail, 'Static "@"'), $N($C($EXPECT($L3, fail, 'Static "("'), $EXPECT($L99, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
15979
16163
  return { $loc, token: "static " };
15980
16164
  });
15981
16165
  function Static(state) {
@@ -16595,7 +16779,7 @@ ${input.slice(result.pos)}
16595
16779
  return result;
16596
16780
  }
16597
16781
  }
16598
- var JSXSelfClosingElement$0 = $TS($S($EXPECT($L132, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L165, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
16782
+ var JSXSelfClosingElement$0 = $TS($S($EXPECT($L132, fail, 'JSXSelfClosingElement "<"'), JSXElementName, $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L165, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
16599
16783
  return { type: "JSXElement", children: $0, tag: $2 };
16600
16784
  });
16601
16785
  function JSXSelfClosingElement(state) {
@@ -16671,7 +16855,7 @@ ${input.slice(result.pos)}
16671
16855
  return result;
16672
16856
  }
16673
16857
  }
16674
- var JSXOpeningElement$0 = $S($EXPECT($L132, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L30, fail, 'JSXOpeningElement ">"'));
16858
+ var JSXOpeningElement$0 = $S($EXPECT($L132, fail, 'JSXOpeningElement "<"'), JSXElementName, $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L30, fail, 'JSXOpeningElement ">"'));
16675
16859
  function JSXOpeningElement(state) {
16676
16860
  let eventData;
16677
16861
  if (state.events) {
@@ -16723,7 +16907,7 @@ ${input.slice(result.pos)}
16723
16907
  return result;
16724
16908
  }
16725
16909
  }
16726
- var JSXClosingElement$0 = $S($EXPECT($L166, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L30, fail, 'JSXClosingElement ">"'));
16910
+ var JSXClosingElement$0 = $S($EXPECT($L166, fail, 'JSXClosingElement "</"'), $E(Whitespace), JSXElementName, $E(Whitespace), $EXPECT($L30, fail, 'JSXClosingElement ">"'));
16727
16911
  function JSXClosingElement(state) {
16728
16912
  let eventData;
16729
16913
  if (state.events) {
@@ -16869,7 +17053,10 @@ ${input.slice(result.pos)}
16869
17053
  return result;
16870
17054
  }
16871
17055
  }
16872
- var JSXElementName$0 = $S(JSXIdentifierName, $C($S(Colon, JSXIdentifierName), $Q($S(Dot, JSXIdentifierName))));
17056
+ var JSXElementName$0 = $TV($Y($S($C($EXPECT($L12, fail, 'JSXElementName "#"'), Dot), JSXShorthandString)), function($skip, $loc, $0, $1) {
17057
+ return module2.config.defaultElement;
17058
+ });
17059
+ var JSXElementName$1 = $TEXT($S(JSXIdentifierName, $C($S(Colon, JSXIdentifierName), $Q($S(Dot, JSXIdentifierName)))));
16873
17060
  function JSXElementName(state) {
16874
17061
  let eventData;
16875
17062
  if (state.events) {
@@ -16881,12 +17068,12 @@ ${input.slice(result.pos)}
16881
17068
  }
16882
17069
  }
16883
17070
  if (state.tokenize) {
16884
- const result = $TOKEN("JSXElementName", state, JSXElementName$0(state));
17071
+ const result = $TOKEN("JSXElementName", state, JSXElementName$0(state) || JSXElementName$1(state));
16885
17072
  if (state.events)
16886
17073
  state.events.exit?.("JSXElementName", state, result, eventData);
16887
17074
  return result;
16888
17075
  } else {
16889
- const result = JSXElementName$0(state);
17076
+ const result = JSXElementName$0(state) || JSXElementName$1(state);
16890
17077
  if (state.events)
16891
17078
  state.events.exit?.("JSXElementName", state, result, eventData);
16892
17079
  return result;
@@ -17298,7 +17485,7 @@ ${input.slice(result.pos)}
17298
17485
  var pre = $1;
17299
17486
  var exp = $2;
17300
17487
  var post = $3;
17301
- return module2.processUnaryExpression(pre, exp, post);
17488
+ return processUnaryExpression(pre, exp, post);
17302
17489
  });
17303
17490
  function InlineJSXUnaryExpression(state) {
17304
17491
  let eventData;
@@ -18854,7 +19041,7 @@ ${input.slice(result.pos)}
18854
19041
  return result;
18855
19042
  }
18856
19043
  }
18857
- var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L82, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
19044
+ var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L80, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
18858
19045
  var lhs = $1;
18859
19046
  var rhs = $2;
18860
19047
  if (!rhs)
@@ -19415,7 +19602,7 @@ ${input.slice(result.pos)}
19415
19602
  var InlineInterfacePropertyDelimiter$1 = $T($S($Y($S($C(IndentedFurther, $E(_)), InlineBasicInterfaceProperty)), InsertComma), function(value) {
19416
19603
  return value[1];
19417
19604
  });
19418
- var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L32, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L33, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L31, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L22, fail, 'InlineInterfacePropertyDelimiter "}"'))));
19605
+ var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L109, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L107, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L31, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L22, fail, 'InlineInterfacePropertyDelimiter "}"'))));
19419
19606
  var InlineInterfacePropertyDelimiter$3 = $Y(EOS);
19420
19607
  function InlineInterfacePropertyDelimiter(state) {
19421
19608
  let eventData;
@@ -19439,10 +19626,10 @@ ${input.slice(result.pos)}
19439
19626
  return result;
19440
19627
  }
19441
19628
  }
19442
- var TypeBinaryOp$0 = $TV($EXPECT($L84, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
19629
+ var TypeBinaryOp$0 = $TV($EXPECT($L82, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
19443
19630
  return { $loc, token: "|" };
19444
19631
  });
19445
- var TypeBinaryOp$1 = $TV($EXPECT($L83, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
19632
+ var TypeBinaryOp$1 = $TV($EXPECT($L81, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
19446
19633
  return { $loc, token: "&" };
19447
19634
  });
19448
19635
  function TypeBinaryOp(state) {
@@ -20883,6 +21070,7 @@ ${input.slice(result.pos)}
20883
21070
  coffeeNot: false,
20884
21071
  coffeeOf: false,
20885
21072
  coffeePrototype: false,
21073
+ defaultElement: "div",
20886
21074
  implicitReturns: true,
20887
21075
  objectIs: false,
20888
21076
  react: false,
@@ -21188,60 +21376,6 @@ ${input.slice(result.pos)}
21188
21376
  }
21189
21377
  return node;
21190
21378
  };
21191
- module2.processUnaryExpression = (pre, exp, post) => {
21192
- if (post?.token === "?") {
21193
- post = {
21194
- $loc: post.$loc,
21195
- token: " != null"
21196
- };
21197
- switch (exp.type) {
21198
- case "Identifier":
21199
- case "Literal":
21200
- return {
21201
- ...exp,
21202
- children: [...pre, ...exp.children, post]
21203
- };
21204
- default:
21205
- const expression = {
21206
- ...exp,
21207
- children: [...pre, "(", exp.children, ")", post]
21208
- };
21209
- return {
21210
- type: "ParenthesizedExpression",
21211
- children: ["(", expression, ")"],
21212
- expression
21213
- };
21214
- }
21215
- }
21216
- if (exp.type === "Literal") {
21217
- if (pre.length === 1 && pre[0].token === "-") {
21218
- const children = [pre[0], ...exp.children];
21219
- if (post)
21220
- exp.children.push(post);
21221
- return {
21222
- type: "Literal",
21223
- children,
21224
- raw: `-${exp.raw}`
21225
- };
21226
- }
21227
- }
21228
- if (exp.children) {
21229
- const children = [...pre, ...exp.children];
21230
- if (post)
21231
- children.push(post);
21232
- return Object.assign({}, exp, { children });
21233
- } else if (Array.isArray(exp)) {
21234
- const children = [...pre, ...exp];
21235
- if (post)
21236
- children.push(post);
21237
- return { children };
21238
- } else {
21239
- const children = [...pre, exp];
21240
- if (post)
21241
- children.push(post);
21242
- return { children };
21243
- }
21244
- };
21245
21379
  module2.needsRef = function(expression, base = "ref") {
21246
21380
  switch (expression.type) {
21247
21381
  case "Ref":
@@ -23071,6 +23205,31 @@ ${input.slice(result.pos)}
23071
23205
  return result;
23072
23206
  }
23073
23207
  }
23208
+ var Dedented$0 = $T($S($N($C(Samedent, IndentedFurther)), EOS), function(value) {
23209
+ return value[1];
23210
+ });
23211
+ function Dedented(state) {
23212
+ let eventData;
23213
+ if (state.events) {
23214
+ const result = state.events.enter?.("Dedented", state);
23215
+ if (result) {
23216
+ if (result.cache)
23217
+ return result.cache;
23218
+ eventData = result.data;
23219
+ }
23220
+ }
23221
+ if (state.tokenize) {
23222
+ const result = $TOKEN("Dedented", state, Dedented$0(state));
23223
+ if (state.events)
23224
+ state.events.exit?.("Dedented", state, result, eventData);
23225
+ return result;
23226
+ } else {
23227
+ const result = Dedented$0(state);
23228
+ if (state.events)
23229
+ state.events.exit?.("Dedented", state, result, eventData);
23230
+ return result;
23231
+ }
23232
+ }
23074
23233
  var PushIndent$0 = $Y($S(EOS, TrackIndented));
23075
23234
  function PushIndent(state) {
23076
23235
  let eventData;
@@ -23185,6 +23344,7 @@ ${input.slice(result.pos)}
23185
23344
  processCoffeeInterpolation,
23186
23345
  processConstAssignmentDeclaration,
23187
23346
  processLetAssignmentDeclaration,
23347
+ processUnaryExpression,
23188
23348
  quoteString,
23189
23349
  removeParentPointers
23190
23350
  } = require_lib();
@@ -23632,7 +23792,7 @@ var parse;
23632
23792
  var uncacheable;
23633
23793
  ({ parse } = import_parser.default);
23634
23794
  ({ SourceMap: SourceMap2, base64Encode: base64Encode2 } = util_exports);
23635
- uncacheable = /* @__PURE__ */ new Set(["ActualAssignment", "AllowAll", "AllowClassImplicitCall", "AllowIndentedApplication", "AllowMultiLineImplicitObjectLiteral", "AllowTrailingMemberProperty", "AllowedTrailingMemberExpressions", "ApplicationStart", "Arguments", "ArgumentsWithTrailingMemberExpressions", "ArrowFunction", "ArrowFunctionTail", "AssignmentExpression", "AssignmentExpressionTail", "BinaryOpExpression", "BinaryOpRHS", "BracedBlock", "BracedObjectLiteralContent", "BracedOrEmptyBlock", "CallExpression", "CallExpressionRest", "ClassImplicitCallForbidden", "CoffeeCommentEnabled", "CommaDelimiter", "ConditionalExpression", "Declaration", "Debugger", "ElementListWithIndentedApplicationForbidden", "ElseClause", "Expression", "ExpressionStatement", "ExpressionWithIndentedApplicationForbidden", "ExtendedExpression", "FatArrowBody", "ForbidClassImplicitCall", "ForbidIndentedApplication", "ForbidMultiLineImplicitObjectLiteral", "ForbidTrailingMemberProperty", "FunctionDeclaration", "FunctionExpression", "HoistableDeclaration", "ImplicitArguments", "ImplicitInlineObjectPropertyDelimiter", "ImplicitNestedBlock", "IndentedApplicationAllowed", "IndentedFurther", "IndentedJSXChildExpression", "InlineObjectLiteral", "InsertIndent", "JSXChild", "JSXChildren", "JSXElement", "JSXFragment", "JSXImplicitFragment", "JSXMixedChildren", "JSXNested", "JSXNestedChildren", "JSXOptionalClosingElement", "JSXOptionalClosingFragment", "JSXTag", "LeftHandSideExpression", "MemberExpression", "MemberExpressionRest", "Nested", "NestedBindingElement", "NestedBindingElements", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatement", "NestedBlockStatements", "NestedClassSignatureElement", "NestedClassSignatureElements", "NestedDeclareElement", "NestedDeclareElements", "NestedElement", "NestedElementList", "NestedImplicitObjectLiteral", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedInterfaceProperty", "NestedJSXChildExpression", "NestedModuleItem", "NestedModuleItems", "NestedObject", "NestedPropertyDefinitions", "NonSingleBracedBlock", "NotDedented", "ObjectLiteral", "PopIndent", "PopJSXStack", "PostfixedExpression", "PostfixedStatement", "PrimaryExpression", "PushIndent", "PushJSXOpeningElement", "PushJSXOpeningFragment", "RestoreAll", "RestoreClassImplicitCall", "RestoreMultiLineImplicitObjectLiteral", "RestoreIndentedApplication", "RestoreTrailingMemberProperty", "RHS", "Samedent", "ShortCircuitExpression", "SingleLineAssignmentExpression", "SingleLineComment", "SingleLineStatements", "SnugNamedProperty", "Statement", "StatementListItem", "SuffixedExpression", "SuffixedStatement", "ThinArrowFunction", "TrackIndented", "TrailingMemberExpressions", "TrailingMemberPropertyAllowed", "TypedJSXElement", "TypedJSXFragment", "UnaryExpression", "UpdateExpression"]);
23795
+ uncacheable = /* @__PURE__ */ new Set(["ActualAssignment", "AllowAll", "AllowClassImplicitCall", "AllowIndentedApplication", "AllowMultiLineImplicitObjectLiteral", "AllowTrailingMemberProperty", "AllowedTrailingMemberExpressions", "ApplicationStart", "Arguments", "ArgumentsWithTrailingMemberExpressions", "ArrowFunction", "ArrowFunctionTail", "AssignmentExpression", "AssignmentExpressionTail", "BinaryOpExpression", "BinaryOpRHS", "BracedBlock", "BracedObjectLiteralContent", "BracedOrEmptyBlock", "CallExpression", "CallExpressionRest", "ClassImplicitCallForbidden", "CoffeeCommentEnabled", "CommaDelimiter", "ConditionalExpression", "Declaration", "Debugger", "Dedented", "ElementListWithIndentedApplicationForbidden", "ElseClause", "Expression", "ExpressionStatement", "ExpressionWithIndentedApplicationForbidden", "ExtendedExpression", "FatArrowBody", "ForbidClassImplicitCall", "ForbidIndentedApplication", "ForbidMultiLineImplicitObjectLiteral", "ForbidTrailingMemberProperty", "FunctionDeclaration", "FunctionExpression", "HoistableDeclaration", "ImplicitArguments", "ImplicitInlineObjectPropertyDelimiter", "ImplicitNestedBlock", "IndentedApplicationAllowed", "IndentedFurther", "IndentedJSXChildExpression", "InlineObjectLiteral", "InsertIndent", "JSXChild", "JSXChildren", "JSXElement", "JSXFragment", "JSXImplicitFragment", "JSXMixedChildren", "JSXNested", "JSXNestedChildren", "JSXOptionalClosingElement", "JSXOptionalClosingFragment", "JSXTag", "LeftHandSideExpression", "MemberExpression", "MemberExpressionRest", "Nested", "NestedBindingElement", "NestedBindingElements", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatement", "NestedBlockStatements", "NestedClassSignatureElement", "NestedClassSignatureElements", "NestedDeclareElement", "NestedDeclareElements", "NestedElement", "NestedElementList", "NestedImplicitObjectLiteral", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedInterfaceProperty", "NestedJSXChildExpression", "NestedModuleItem", "NestedModuleItems", "NestedNonAssignmentExtendedExpression", "NestedObject", "NestedPropertyDefinitions", "NonSingleBracedBlock", "NotDedented", "ObjectLiteral", "PopIndent", "PopJSXStack", "PostfixedExpression", "PostfixedStatement", "PrimaryExpression", "PushIndent", "PushJSXOpeningElement", "PushJSXOpeningFragment", "RestoreAll", "RestoreClassImplicitCall", "RestoreMultiLineImplicitObjectLiteral", "RestoreIndentedApplication", "RestoreTrailingMemberProperty", "RHS", "Samedent", "ShortCircuitExpression", "SingleLineAssignmentExpression", "SingleLineComment", "SingleLineStatements", "SnugNamedProperty", "Statement", "StatementListItem", "SuffixedExpression", "SuffixedStatement", "ThinArrowFunction", "TrackIndented", "TrailingMemberExpressions", "TrailingMemberPropertyAllowed", "TypedJSXElement", "TypedJSXFragment", "UnaryExpression", "UpdateExpression"]);
23636
23796
  var compile = function(src, options) {
23637
23797
  var ast, code, events, filename, ref, result, sm, srcMapJSON;
23638
23798
  if (!options) {