@danielx/civet 0.5.25 → 0.5.27

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
@@ -643,6 +643,7 @@ ${input.slice(result.pos)}
643
643
  NameSpaceImport,
644
644
  NamedImports,
645
645
  FromClause,
646
+ TypeAndImportSpecifier,
646
647
  ImportSpecifier,
647
648
  ModuleExportName,
648
649
  ModuleSpecifier,
@@ -652,6 +653,7 @@ ${input.slice(result.pos)}
652
653
  ExportDeclaration,
653
654
  ExportVarDec,
654
655
  ExportFromClause,
656
+ TypeAndNamedExports,
655
657
  NamedExports,
656
658
  ExportSpecifier,
657
659
  ImplicitExportSpecifier,
@@ -746,6 +748,7 @@ ${input.slice(result.pos)}
746
748
  Else,
747
749
  Equals,
748
750
  Export,
751
+ Extends,
749
752
  For,
750
753
  From,
751
754
  Function,
@@ -758,6 +761,7 @@ ${input.slice(result.pos)}
758
761
  New,
759
762
  Not,
760
763
  Of,
764
+ OpenAngleBracket,
761
765
  OpenBrace,
762
766
  OpenBracket,
763
767
  OpenParen,
@@ -792,12 +796,12 @@ ${input.slice(result.pos)}
792
796
  When,
793
797
  While,
794
798
  Yield,
795
- TypedJSXElement,
799
+ JSXImplicitFragment,
800
+ JSXTag,
796
801
  JSXElement,
797
802
  JSXSelfClosingElement,
798
803
  JSXOpeningElement,
799
804
  JSXClosingElement,
800
- TypedJSXFragment,
801
805
  JSXFragment,
802
806
  JSXElementName,
803
807
  JSXIdentifierName,
@@ -869,6 +873,7 @@ ${input.slice(result.pos)}
869
873
  TypeParameters,
870
874
  TypeParameter,
871
875
  TypeConstraint,
876
+ TypeInitializer,
872
877
  TypeParameterDelimiter,
873
878
  Shebang,
874
879
  CivetPrologue,
@@ -920,175 +925,174 @@ ${input.slice(result.pos)}
920
925
  var $L2 = $L("--");
921
926
  var $L3 = $L("=>");
922
927
  var $L4 = $L(" ");
923
- var $L5 = $L("<");
924
- var $L6 = $L("extends");
925
- var $L7 = $L("implements");
926
- var $L8 = $L("#");
927
- var $L9 = $L(".");
928
- var $L10 = $L("super");
929
- var $L11 = $L("import");
930
- var $L12 = $L("!");
931
- var $L13 = $L("super[");
932
- var $L14 = $L("import.meta");
933
- var $L15 = $L(")");
934
- var $L16 = $L("->");
935
- var $L17 = $L("}");
936
- var $L18 = $L("null");
937
- var $L19 = $L("true");
938
- var $L20 = $L("false");
939
- var $L21 = $L("yes");
940
- var $L22 = $L("on");
941
- var $L23 = $L("no");
942
- var $L24 = $L("off");
943
- var $L25 = $L(",");
944
- var $L26 = $L("=");
945
- var $L27 = $L(">");
946
- var $L28 = $L("]");
947
- var $L29 = $L(":");
948
- var $L30 = $L("**=");
949
- var $L31 = $L("*=");
950
- var $L32 = $L("/=");
951
- var $L33 = $L("%=");
952
- var $L34 = $L("+=");
953
- var $L35 = $L("-=");
954
- var $L36 = $L("<<=");
955
- var $L37 = $L(">>>=");
956
- var $L38 = $L(">>=");
957
- var $L39 = $L("&&=");
958
- var $L40 = $L("&=");
959
- var $L41 = $L("^=");
960
- var $L42 = $L("||=");
961
- var $L43 = $L("|=");
962
- var $L44 = $L("??=");
963
- var $L45 = $L("?=");
964
- var $L46 = $L("and=");
965
- var $L47 = $L("or=");
966
- var $L48 = $L("**");
967
- var $L49 = $L("*");
968
- var $L50 = $L("/");
969
- var $L51 = $L("%%");
970
- var $L52 = $L("%");
971
- var $L53 = $L("+");
972
- var $L54 = $L("-");
973
- var $L55 = $L("<=");
974
- var $L56 = $L(">=");
975
- var $L57 = $L("<<");
976
- var $L58 = $L(">>>");
977
- var $L59 = $L(">>");
978
- var $L60 = $L("!==");
979
- var $L61 = $L("!=");
980
- var $L62 = $L("isnt");
981
- var $L63 = $L("===");
982
- var $L64 = $L("==");
983
- var $L65 = $L("and");
984
- var $L66 = $L("&&");
985
- var $L67 = $L("of");
986
- var $L68 = $L("or");
987
- var $L69 = $L("||");
988
- var $L70 = $L("??");
989
- var $L71 = $L("?");
990
- var $L72 = $L("instanceof");
991
- var $L73 = $L("not");
992
- var $L74 = $L("in");
993
- var $L75 = $L("is");
994
- var $L76 = $L("&");
995
- var $L77 = $L("^");
996
- var $L78 = $L("|");
997
- var $L79 = $L(";");
998
- var $L80 = $L("own");
999
- var $L81 = $L("finally");
1000
- var $L82 = $L("break");
1001
- var $L83 = $L("continue");
1002
- var $L84 = $L("debugger");
1003
- var $L85 = $L("import type");
1004
- var $L86 = $L("default");
1005
- var $L87 = $L(":=");
1006
- var $L88 = $L("::=");
1007
- var $L89 = $L(".=");
1008
- var $L90 = $L("/*");
1009
- var $L91 = $L("*/");
1010
- var $L92 = $L("\\");
1011
- var $L93 = $L("abstract");
1012
- var $L94 = $L("as");
1013
- var $L95 = $L("@");
1014
- var $L96 = $L("@@");
1015
- var $L97 = $L("async");
1016
- var $L98 = $L("await");
1017
- var $L99 = $L("`");
1018
- var $L100 = $L("by");
1019
- var $L101 = $L("case");
1020
- var $L102 = $L("catch");
1021
- var $L103 = $L("class");
1022
- var $L104 = $L("#{");
1023
- var $L105 = $L("delete");
1024
- var $L106 = $L("do");
1025
- var $L107 = $L("..");
1026
- var $L108 = $L("...");
1027
- var $L109 = $L("::");
1028
- var $L110 = $L('"');
1029
- var $L111 = $L("else");
1030
- var $L112 = $L("export");
1031
- var $L113 = $L("for");
1032
- var $L114 = $L("from");
1033
- var $L115 = $L("function");
1034
- var $L116 = $L("get");
1035
- var $L117 = $L("set");
1036
- var $L118 = $L("if");
1037
- var $L119 = $L("let");
1038
- var $L120 = $L("const");
1039
- var $L121 = $L("loop");
1040
- var $L122 = $L("new");
1041
- var $L123 = $L("{");
1042
- var $L124 = $L("[");
1043
- var $L125 = $L("(");
1044
- var $L126 = $L("public");
1045
- var $L127 = $L("private");
1046
- var $L128 = $L("protected");
1047
- var $L129 = $L("|>");
1048
- var $L130 = $L("readonly");
1049
- var $L131 = $L("return");
1050
- var $L132 = $L("satisfies");
1051
- var $L133 = $L("'");
1052
- var $L134 = $L("static");
1053
- var $L135 = $L("${");
1054
- var $L136 = $L("switch");
1055
- var $L137 = $L("target");
1056
- var $L138 = $L("then");
1057
- var $L139 = $L("this");
1058
- var $L140 = $L("throw");
1059
- var $L141 = $L('"""');
1060
- var $L142 = $L("'''");
1061
- var $L143 = $L("///");
1062
- var $L144 = $L("```");
1063
- var $L145 = $L("try");
1064
- var $L146 = $L("typeof");
1065
- var $L147 = $L("unless");
1066
- var $L148 = $L("until");
1067
- var $L149 = $L("var");
1068
- var $L150 = $L("void");
1069
- var $L151 = $L("when");
1070
- var $L152 = $L("while");
1071
- var $L153 = $L("yield");
1072
- var $L154 = $L("/>");
1073
- var $L155 = $L("</");
1074
- var $L156 = $L("<>");
1075
- var $L157 = $L("</>");
1076
- var $L158 = $L("<!--");
1077
- var $L159 = $L("-->");
1078
- var $L160 = $L("declare");
1079
- var $L161 = $L("type");
1080
- var $L162 = $L("interface");
1081
- var $L163 = $L("namespace");
1082
- var $L164 = $L("asserts");
1083
- var $L165 = $L("keyof");
1084
- var $L166 = $L("infer");
1085
- var $L167 = $L("[]");
1086
- var $L168 = $L("civet");
928
+ var $L5 = $L("implements");
929
+ var $L6 = $L("#");
930
+ var $L7 = $L(".");
931
+ var $L8 = $L("super");
932
+ var $L9 = $L("import");
933
+ var $L10 = $L("!");
934
+ var $L11 = $L("super[");
935
+ var $L12 = $L("import.meta");
936
+ var $L13 = $L(")");
937
+ var $L14 = $L("->");
938
+ var $L15 = $L("}");
939
+ var $L16 = $L("null");
940
+ var $L17 = $L("true");
941
+ var $L18 = $L("false");
942
+ var $L19 = $L("yes");
943
+ var $L20 = $L("on");
944
+ var $L21 = $L("no");
945
+ var $L22 = $L("off");
946
+ var $L23 = $L(",");
947
+ var $L24 = $L("=");
948
+ var $L25 = $L(">");
949
+ var $L26 = $L("]");
950
+ var $L27 = $L(":");
951
+ var $L28 = $L("**=");
952
+ var $L29 = $L("*=");
953
+ var $L30 = $L("/=");
954
+ var $L31 = $L("%=");
955
+ var $L32 = $L("+=");
956
+ var $L33 = $L("-=");
957
+ var $L34 = $L("<<=");
958
+ var $L35 = $L(">>>=");
959
+ var $L36 = $L(">>=");
960
+ var $L37 = $L("&&=");
961
+ var $L38 = $L("&=");
962
+ var $L39 = $L("^=");
963
+ var $L40 = $L("||=");
964
+ var $L41 = $L("|=");
965
+ var $L42 = $L("??=");
966
+ var $L43 = $L("?=");
967
+ var $L44 = $L("and=");
968
+ var $L45 = $L("or=");
969
+ var $L46 = $L("**");
970
+ var $L47 = $L("*");
971
+ var $L48 = $L("/");
972
+ var $L49 = $L("%%");
973
+ var $L50 = $L("%");
974
+ var $L51 = $L("+");
975
+ var $L52 = $L("-");
976
+ var $L53 = $L("<=");
977
+ var $L54 = $L(">=");
978
+ var $L55 = $L("<<");
979
+ var $L56 = $L(">>>");
980
+ var $L57 = $L(">>");
981
+ var $L58 = $L("!==");
982
+ var $L59 = $L("!=");
983
+ var $L60 = $L("isnt");
984
+ var $L61 = $L("===");
985
+ var $L62 = $L("==");
986
+ var $L63 = $L("and");
987
+ var $L64 = $L("&&");
988
+ var $L65 = $L("of");
989
+ var $L66 = $L("or");
990
+ var $L67 = $L("||");
991
+ var $L68 = $L("??");
992
+ var $L69 = $L("?");
993
+ var $L70 = $L("instanceof");
994
+ var $L71 = $L("not");
995
+ var $L72 = $L("in");
996
+ var $L73 = $L("is");
997
+ var $L74 = $L("&");
998
+ var $L75 = $L("^");
999
+ var $L76 = $L("|");
1000
+ var $L77 = $L(";");
1001
+ var $L78 = $L("own");
1002
+ var $L79 = $L("finally");
1003
+ var $L80 = $L("break");
1004
+ var $L81 = $L("continue");
1005
+ var $L82 = $L("debugger");
1006
+ var $L83 = $L("default");
1007
+ var $L84 = $L(":=");
1008
+ var $L85 = $L("::=");
1009
+ var $L86 = $L(".=");
1010
+ var $L87 = $L("/*");
1011
+ var $L88 = $L("*/");
1012
+ var $L89 = $L("\\");
1013
+ var $L90 = $L("abstract");
1014
+ var $L91 = $L("as");
1015
+ var $L92 = $L("@");
1016
+ var $L93 = $L("@@");
1017
+ var $L94 = $L("async");
1018
+ var $L95 = $L("await");
1019
+ var $L96 = $L("`");
1020
+ var $L97 = $L("by");
1021
+ var $L98 = $L("case");
1022
+ var $L99 = $L("catch");
1023
+ var $L100 = $L("class");
1024
+ var $L101 = $L("#{");
1025
+ var $L102 = $L("delete");
1026
+ var $L103 = $L("do");
1027
+ var $L104 = $L("..");
1028
+ var $L105 = $L("...");
1029
+ var $L106 = $L("::");
1030
+ var $L107 = $L('"');
1031
+ var $L108 = $L("else");
1032
+ var $L109 = $L("export");
1033
+ var $L110 = $L("extends");
1034
+ var $L111 = $L("for");
1035
+ var $L112 = $L("from");
1036
+ var $L113 = $L("function");
1037
+ var $L114 = $L("get");
1038
+ var $L115 = $L("set");
1039
+ var $L116 = $L("if");
1040
+ var $L117 = $L("let");
1041
+ var $L118 = $L("const");
1042
+ var $L119 = $L("loop");
1043
+ var $L120 = $L("new");
1044
+ var $L121 = $L("<");
1045
+ var $L122 = $L("{");
1046
+ var $L123 = $L("[");
1047
+ var $L124 = $L("(");
1048
+ var $L125 = $L("public");
1049
+ var $L126 = $L("private");
1050
+ var $L127 = $L("protected");
1051
+ var $L128 = $L("|>");
1052
+ var $L129 = $L("readonly");
1053
+ var $L130 = $L("return");
1054
+ var $L131 = $L("satisfies");
1055
+ var $L132 = $L("'");
1056
+ var $L133 = $L("static");
1057
+ var $L134 = $L("${");
1058
+ var $L135 = $L("switch");
1059
+ var $L136 = $L("target");
1060
+ var $L137 = $L("then");
1061
+ var $L138 = $L("this");
1062
+ var $L139 = $L("throw");
1063
+ var $L140 = $L('"""');
1064
+ var $L141 = $L("'''");
1065
+ var $L142 = $L("///");
1066
+ var $L143 = $L("```");
1067
+ var $L144 = $L("try");
1068
+ var $L145 = $L("typeof");
1069
+ var $L146 = $L("unless");
1070
+ var $L147 = $L("until");
1071
+ var $L148 = $L("var");
1072
+ var $L149 = $L("void");
1073
+ var $L150 = $L("when");
1074
+ var $L151 = $L("while");
1075
+ var $L152 = $L("yield");
1076
+ var $L153 = $L("/>");
1077
+ var $L154 = $L("</");
1078
+ var $L155 = $L("<>");
1079
+ var $L156 = $L("</>");
1080
+ var $L157 = $L("<!--");
1081
+ var $L158 = $L("-->");
1082
+ var $L159 = $L("declare");
1083
+ var $L160 = $L("type");
1084
+ var $L161 = $L("interface");
1085
+ var $L162 = $L("namespace");
1086
+ var $L163 = $L("asserts");
1087
+ var $L164 = $L("keyof");
1088
+ var $L165 = $L("infer");
1089
+ var $L166 = $L("[]");
1090
+ var $L167 = $L("civet");
1087
1091
  var $R0 = $R(new RegExp("(for|of|then|when)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
1088
1092
  var $R1 = $R(new RegExp("[&]", "suy"));
1089
1093
  var $R2 = $R(new RegExp("[!~+-]+", "suy"));
1090
1094
  var $R3 = $R(new RegExp("(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$])*", "suy"));
1091
- var $R4 = $R(new RegExp("[+-]", "suy"));
1095
+ var $R4 = $R(new RegExp("[!+-]", "suy"));
1092
1096
  var $R5 = $R(new RegExp("<(?!\\p{ID_Start}|[_$])", "suy"));
1093
1097
  var $R6 = $R(new RegExp("[!~+-](?!\\s|[!~+-]*&)", "suy"));
1094
1098
  var $R7 = $R(new RegExp("(?=[\\s\\)])", "suy"));
@@ -1135,12 +1139,13 @@ ${input.slice(result.pos)}
1135
1139
  var $R48 = $R(new RegExp("(?:-[^-]|[^-]*)*", "suy"));
1136
1140
  var $R49 = $R(new RegExp("[^{}<>\\r\\n]+", "suy"));
1137
1141
  var $R50 = $R(new RegExp("[+-]?", "suy"));
1138
- var $R51 = $R(new RegExp("#![^\\r\\n]*", "suy"));
1139
- var $R52 = $R(new RegExp("[\\t ]*", "suy"));
1140
- var $R53 = $R(new RegExp("[\\s]*", "suy"));
1141
- var $R54 = $R(new RegExp("\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([a-zA-Z0-9.+-]*))?", "suy"));
1142
- var $R55 = $R(new RegExp("\\r\\n|\\n|\\r|$", "suy"));
1143
- var $R56 = $R(new RegExp("[ \\t]*", "suy"));
1142
+ var $R51 = $R(new RegExp("[+-]", "suy"));
1143
+ var $R52 = $R(new RegExp("#![^\\r\\n]*", "suy"));
1144
+ var $R53 = $R(new RegExp("[\\t ]*", "suy"));
1145
+ var $R54 = $R(new RegExp("[\\s]*", "suy"));
1146
+ var $R55 = $R(new RegExp("\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([a-zA-Z0-9.+-]*))?", "suy"));
1147
+ var $R56 = $R(new RegExp("\\r\\n|\\n|\\r|$", "suy"));
1148
+ var $R57 = $R(new RegExp("[ \\t]*", "suy"));
1144
1149
  var Program$0 = $TS($S(Reset, Init, __, $Q(TopLevelStatement), __), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
1145
1150
  var statements = $4;
1146
1151
  module2.processProgram(statements);
@@ -2161,8 +2166,7 @@ ${input.slice(result.pos)}
2161
2166
  var PrimaryExpression$7 = RegularExpressionLiteral;
2162
2167
  var PrimaryExpression$8 = TemplateLiteral;
2163
2168
  var PrimaryExpression$9 = ParenthesizedExpression;
2164
- var PrimaryExpression$10 = TypedJSXElement;
2165
- var PrimaryExpression$11 = TypedJSXFragment;
2169
+ var PrimaryExpression$10 = JSXImplicitFragment;
2166
2170
  function PrimaryExpression(state) {
2167
2171
  if (state.events) {
2168
2172
  const result = state.events.enter?.("PrimaryExpression", state);
@@ -2170,12 +2174,12 @@ ${input.slice(result.pos)}
2170
2174
  return result.cache;
2171
2175
  }
2172
2176
  if (state.tokenize) {
2173
- const result = $TOKEN("PrimaryExpression", state, PrimaryExpression$0(state) || PrimaryExpression$1(state) || PrimaryExpression$2(state) || PrimaryExpression$3(state) || PrimaryExpression$4(state) || PrimaryExpression$5(state) || PrimaryExpression$6(state) || PrimaryExpression$7(state) || PrimaryExpression$8(state) || PrimaryExpression$9(state) || PrimaryExpression$10(state) || PrimaryExpression$11(state));
2177
+ const result = $TOKEN("PrimaryExpression", state, PrimaryExpression$0(state) || PrimaryExpression$1(state) || PrimaryExpression$2(state) || PrimaryExpression$3(state) || PrimaryExpression$4(state) || PrimaryExpression$5(state) || PrimaryExpression$6(state) || PrimaryExpression$7(state) || PrimaryExpression$8(state) || PrimaryExpression$9(state) || PrimaryExpression$10(state));
2174
2178
  if (state.events)
2175
2179
  state.events.exit?.("PrimaryExpression", state, result);
2176
2180
  return result;
2177
2181
  } else {
2178
- const result = PrimaryExpression$0(state) || PrimaryExpression$1(state) || PrimaryExpression$2(state) || PrimaryExpression$3(state) || PrimaryExpression$4(state) || PrimaryExpression$5(state) || PrimaryExpression$6(state) || PrimaryExpression$7(state) || PrimaryExpression$8(state) || PrimaryExpression$9(state) || PrimaryExpression$10(state) || PrimaryExpression$11(state);
2182
+ const result = PrimaryExpression$0(state) || PrimaryExpression$1(state) || PrimaryExpression$2(state) || PrimaryExpression$3(state) || PrimaryExpression$4(state) || PrimaryExpression$5(state) || PrimaryExpression$6(state) || PrimaryExpression$7(state) || PrimaryExpression$8(state) || PrimaryExpression$9(state) || PrimaryExpression$10(state);
2179
2183
  if (state.events)
2180
2184
  state.events.exit?.("PrimaryExpression", state, result);
2181
2185
  return result;
@@ -2292,7 +2296,7 @@ ${input.slice(result.pos)}
2292
2296
  return result;
2293
2297
  }
2294
2298
  }
2295
- var ExtendsClause$0 = $S(__, ExtendsToken, __, ExtendsTarget);
2299
+ var ExtendsClause$0 = $S(ExtendsToken, __, ExtendsTarget);
2296
2300
  function ExtendsClause(state) {
2297
2301
  if (state.events) {
2298
2302
  const result = state.events.enter?.("ExtendsClause", state);
@@ -2311,12 +2315,22 @@ ${input.slice(result.pos)}
2311
2315
  return result;
2312
2316
  }
2313
2317
  }
2314
- var ExtendsToken$0 = $TV($EXPECT($L5, fail, 'ExtendsToken "<"'), function($skip, $loc, $0, $1) {
2315
- return { $loc, token: "extends" };
2316
- });
2317
- var ExtendsToken$1 = $TS($S($EXPECT($L6, fail, 'ExtendsToken "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
2318
- return { $loc, token: $1 };
2318
+ var ExtendsToken$0 = $TS($S(Loc, __, OpenAngleBracket, $E($EXPECT($L4, fail, 'ExtendsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
2319
+ var l = $1;
2320
+ var ws = $2;
2321
+ var lt = $3;
2322
+ const children = [
2323
+ ...ws,
2324
+ { ...lt, token: "extends " }
2325
+ ];
2326
+ if (!ws.length) {
2327
+ children.unshift({ $loc: l.$loc, token: " " });
2328
+ }
2329
+ return {
2330
+ children
2331
+ };
2319
2332
  });
2333
+ var ExtendsToken$1 = $S(__, Extends);
2320
2334
  function ExtendsToken(state) {
2321
2335
  if (state.events) {
2322
2336
  const result = state.events.enter?.("ExtendsToken", state);
@@ -2385,7 +2399,7 @@ ${input.slice(result.pos)}
2385
2399
  return result;
2386
2400
  }
2387
2401
  }
2388
- var ImplementsToken$0 = $TS($S($EXPECT($L7, fail, 'ImplementsToken "implements"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
2402
+ var ImplementsToken$0 = $TS($S($EXPECT($L5, fail, 'ImplementsToken "implements"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
2389
2403
  return { $loc, token: $1 };
2390
2404
  });
2391
2405
  function ImplementsToken(state) {
@@ -2598,7 +2612,7 @@ ${input.slice(result.pos)}
2598
2612
  }
2599
2613
  }
2600
2614
  var ThisLiteral$0 = This;
2601
- var ThisLiteral$1 = $TS($S(At, $TEXT($S($E($EXPECT($L8, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
2615
+ var ThisLiteral$1 = $TS($S(At, $TEXT($S($E($EXPECT($L6, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
2602
2616
  var t = $1;
2603
2617
  var id = $2;
2604
2618
  return [{ ...t, token: "this." }, id];
@@ -2625,7 +2639,7 @@ ${input.slice(result.pos)}
2625
2639
  return result;
2626
2640
  }
2627
2641
  }
2628
- var LeftHandSideExpression$0 = $TS($S($Q($S(New, $N($EXPECT($L9, fail, 'LeftHandSideExpression "."')), __)), CallExpression), function($skip, $loc, $0, $1, $2) {
2642
+ var LeftHandSideExpression$0 = $TS($S($Q($S(New, $N($EXPECT($L7, fail, 'LeftHandSideExpression "."')), __)), CallExpression), function($skip, $loc, $0, $1, $2) {
2629
2643
  if ($1.length)
2630
2644
  return $0;
2631
2645
  return $2;
@@ -2648,8 +2662,8 @@ ${input.slice(result.pos)}
2648
2662
  return result;
2649
2663
  }
2650
2664
  }
2651
- var CallExpression$0 = $S($EXPECT($L10, fail, 'CallExpression "super"'), ArgumentsWithTrailingCallExpressions, $Q(CallExpressionRest));
2652
- var CallExpression$1 = $TS($S($EXPECT($L11, fail, 'CallExpression "import"'), ArgumentsWithTrailingCallExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
2665
+ var CallExpression$0 = $S($EXPECT($L8, fail, 'CallExpression "super"'), ArgumentsWithTrailingCallExpressions, $Q(CallExpressionRest));
2666
+ var CallExpression$1 = $TS($S($EXPECT($L9, fail, 'CallExpression "import"'), ArgumentsWithTrailingCallExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
2653
2667
  return {
2654
2668
  type: "CallExpression",
2655
2669
  children: $0
@@ -2722,7 +2736,7 @@ ${input.slice(result.pos)}
2722
2736
  return result;
2723
2737
  }
2724
2738
  }
2725
- var NonNullAssertion$0 = $T($EXPECT($L12, fail, 'NonNullAssertion "!"'), function(value) {
2739
+ var NonNullAssertion$0 = $T($EXPECT($L10, fail, 'NonNullAssertion "!"'), function(value) {
2726
2740
  return { "ts": true, "children": value };
2727
2741
  });
2728
2742
  function NonNullAssertion(state) {
@@ -2968,8 +2982,8 @@ ${input.slice(result.pos)}
2968
2982
  return result;
2969
2983
  }
2970
2984
  }
2971
- var SuperProperty$0 = $S($EXPECT($L13, fail, 'SuperProperty "super["'), ExtendedExpression, __, CloseBracket);
2972
- var SuperProperty$1 = $S($EXPECT($L10, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
2985
+ var SuperProperty$0 = $S($EXPECT($L11, fail, 'SuperProperty "super["'), ExtendedExpression, __, CloseBracket);
2986
+ var SuperProperty$1 = $S($EXPECT($L8, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
2973
2987
  function SuperProperty(state) {
2974
2988
  if (state.events) {
2975
2989
  const result = state.events.enter?.("SuperProperty", state);
@@ -2989,7 +3003,7 @@ ${input.slice(result.pos)}
2989
3003
  }
2990
3004
  }
2991
3005
  var MetaProperty$0 = $S(New, Dot, Target);
2992
- var MetaProperty$1 = $TS($S($EXPECT($L14, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
3006
+ var MetaProperty$1 = $TS($S($EXPECT($L12, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
2993
3007
  return { $loc, token: $1 };
2994
3008
  });
2995
3009
  function MetaProperty(state) {
@@ -3153,7 +3167,7 @@ ${input.slice(result.pos)}
3153
3167
  }
3154
3168
  }
3155
3169
  var ParameterElementDelimiter$0 = $S($Q(_), Comma);
3156
- var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L15, fail, 'ParameterElementDelimiter ")"')));
3170
+ var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L13, fail, 'ParameterElementDelimiter ")"')));
3157
3171
  var ParameterElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
3158
3172
  return value[1];
3159
3173
  });
@@ -3908,7 +3922,7 @@ ${input.slice(result.pos)}
3908
3922
  return result;
3909
3923
  }
3910
3924
  }
3911
- var Arrow$0 = $TV($EXPECT($L16, fail, 'Arrow "->"'), function($skip, $loc, $0, $1) {
3925
+ var Arrow$0 = $TV($EXPECT($L14, fail, 'Arrow "->"'), function($skip, $loc, $0, $1) {
3912
3926
  return { $loc, token: $1 };
3913
3927
  });
3914
3928
  function Arrow(state) {
@@ -4170,7 +4184,7 @@ ${input.slice(result.pos)}
4170
4184
  children: [$1, expressions]
4171
4185
  };
4172
4186
  });
4173
- var BracedContent$2 = $TV($Y($S(__, $EXPECT($L17, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
4187
+ var BracedContent$2 = $TV($Y($S(__, $EXPECT($L15, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
4174
4188
  const expressions = [];
4175
4189
  return {
4176
4190
  type: "BlockStatement",
@@ -4295,7 +4309,7 @@ ${input.slice(result.pos)}
4295
4309
  return result;
4296
4310
  }
4297
4311
  }
4298
- var NullLiteral$0 = $TS($S($EXPECT($L18, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4312
+ var NullLiteral$0 = $TS($S($EXPECT($L16, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4299
4313
  return { $loc, token: $1 };
4300
4314
  });
4301
4315
  function NullLiteral(state) {
@@ -4319,7 +4333,7 @@ ${input.slice(result.pos)}
4319
4333
  var BooleanLiteral$0 = $T($S(CoffeeBooleansEnabled, CoffeeScriptBooleanLiteral), function(value) {
4320
4334
  return value[1];
4321
4335
  });
4322
- var BooleanLiteral$1 = $TS($S($C($EXPECT($L19, fail, 'BooleanLiteral "true"'), $EXPECT($L20, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4336
+ var BooleanLiteral$1 = $TS($S($C($EXPECT($L17, fail, 'BooleanLiteral "true"'), $EXPECT($L18, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4323
4337
  return { $loc, token: $1 };
4324
4338
  });
4325
4339
  function BooleanLiteral(state) {
@@ -4340,10 +4354,10 @@ ${input.slice(result.pos)}
4340
4354
  return result;
4341
4355
  }
4342
4356
  }
4343
- var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L21, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L22, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4357
+ var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L19, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L20, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4344
4358
  return { $loc, token: "true" };
4345
4359
  });
4346
- var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L23, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L24, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4360
+ var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L21, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L22, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4347
4361
  return { $loc, token: "false" };
4348
4362
  });
4349
4363
  function CoffeeScriptBooleanLiteral(state) {
@@ -4364,7 +4378,7 @@ ${input.slice(result.pos)}
4364
4378
  return result;
4365
4379
  }
4366
4380
  }
4367
- var Comma$0 = $TV($EXPECT($L25, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
4381
+ var Comma$0 = $TV($EXPECT($L23, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
4368
4382
  return { $loc, token: $1 };
4369
4383
  });
4370
4384
  function Comma(state) {
@@ -4454,7 +4468,7 @@ ${input.slice(result.pos)}
4454
4468
  return result;
4455
4469
  }
4456
4470
  }
4457
- var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L26, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L26, fail, 'UpcomingAssignment "="'), $EXPECT($L27, fail, 'UpcomingAssignment ">"')))));
4471
+ var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L24, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L24, fail, 'UpcomingAssignment "="'), $EXPECT($L25, fail, 'UpcomingAssignment ">"')))));
4458
4472
  function UpcomingAssignment(state) {
4459
4473
  if (state.events) {
4460
4474
  const result = state.events.enter?.("UpcomingAssignment", state);
@@ -4703,7 +4717,7 @@ ${input.slice(result.pos)}
4703
4717
  }
4704
4718
  }
4705
4719
  var ArrayElementDelimiter$0 = $S(__, Comma);
4706
- var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L28, fail, 'ArrayElementDelimiter "]"')));
4720
+ var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L26, fail, 'ArrayElementDelimiter "]"')));
4707
4721
  var ArrayElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
4708
4722
  return value[1];
4709
4723
  });
@@ -4779,7 +4793,8 @@ ${input.slice(result.pos)}
4779
4793
  return result;
4780
4794
  }
4781
4795
  }
4782
- var ArrayElementExpression$0 = $TS($S($E(ExtendedExpression), __, DotDotDot, $Y(ArrayElementDelimiter)), function($skip, $loc, $0, $1, $2, $3, $4) {
4796
+ var ArrayElementExpression$0 = JSXTag;
4797
+ var ArrayElementExpression$1 = $TS($S($E(ExtendedExpression), __, DotDotDot, $Y(ArrayElementDelimiter)), function($skip, $loc, $0, $1, $2, $3, $4) {
4783
4798
  var exp = $1;
4784
4799
  var ws = $2;
4785
4800
  var dots = $3;
@@ -4797,7 +4812,7 @@ ${input.slice(result.pos)}
4797
4812
  names: exp.names
4798
4813
  };
4799
4814
  });
4800
- var ArrayElementExpression$1 = $TS($S($E($S($E($S(__, DotDotDot, __)), ExtendedExpression)), $Y(ArrayElementDelimiter)), function($skip, $loc, $0, $1, $2) {
4815
+ var ArrayElementExpression$2 = $TS($S($E($S($E($S(__, DotDotDot, __)), ExtendedExpression)), $Y(ArrayElementDelimiter)), function($skip, $loc, $0, $1, $2) {
4801
4816
  var expMaybeSpread = $1;
4802
4817
  if (expMaybeSpread) {
4803
4818
  const [spread, exp] = expMaybeSpread;
@@ -4827,12 +4842,12 @@ ${input.slice(result.pos)}
4827
4842
  return result.cache;
4828
4843
  }
4829
4844
  if (state.tokenize) {
4830
- const result = $TOKEN("ArrayElementExpression", state, ArrayElementExpression$0(state) || ArrayElementExpression$1(state));
4845
+ const result = $TOKEN("ArrayElementExpression", state, ArrayElementExpression$0(state) || ArrayElementExpression$1(state) || ArrayElementExpression$2(state));
4831
4846
  if (state.events)
4832
4847
  state.events.exit?.("ArrayElementExpression", state, result);
4833
4848
  return result;
4834
4849
  } else {
4835
- const result = ArrayElementExpression$0(state) || ArrayElementExpression$1(state);
4850
+ const result = ArrayElementExpression$0(state) || ArrayElementExpression$1(state) || ArrayElementExpression$2(state);
4836
4851
  if (state.events)
4837
4852
  state.events.exit?.("ArrayElementExpression", state, result);
4838
4853
  return result;
@@ -5072,7 +5087,7 @@ ${input.slice(result.pos)}
5072
5087
  var ImplicitInlineObjectPropertyDelimiter$1 = $T($S($Y($S($C(Samedent, $Q(_)), NamedProperty)), InsertComma), function(value) {
5073
5088
  return value[1];
5074
5089
  });
5075
- var ImplicitInlineObjectPropertyDelimiter$2 = $T($Y($S(__, $C($EXPECT($L29, fail, 'ImplicitInlineObjectPropertyDelimiter ":"'), $EXPECT($L15, fail, 'ImplicitInlineObjectPropertyDelimiter ")"'), $EXPECT($L28, fail, 'ImplicitInlineObjectPropertyDelimiter "]"'), $EXPECT($L17, fail, 'ImplicitInlineObjectPropertyDelimiter "}"'), ReservedWord))), function(value) {
5090
+ var ImplicitInlineObjectPropertyDelimiter$2 = $T($Y($S(__, $C($EXPECT($L27, fail, 'ImplicitInlineObjectPropertyDelimiter ":"'), $EXPECT($L13, fail, 'ImplicitInlineObjectPropertyDelimiter ")"'), $EXPECT($L26, fail, 'ImplicitInlineObjectPropertyDelimiter "]"'), $EXPECT($L15, fail, 'ImplicitInlineObjectPropertyDelimiter "}"'), ReservedWord))), function(value) {
5076
5091
  return "";
5077
5092
  });
5078
5093
  var ImplicitInlineObjectPropertyDelimiter$3 = $T($Y(EOS), function(value) {
@@ -5097,7 +5112,7 @@ ${input.slice(result.pos)}
5097
5112
  }
5098
5113
  }
5099
5114
  var ObjectPropertyDelimiter$0 = $S($Q(_), Comma);
5100
- var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L17, fail, 'ObjectPropertyDelimiter "}"')));
5115
+ var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L15, fail, 'ObjectPropertyDelimiter "}"')));
5101
5116
  var ObjectPropertyDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
5102
5117
  return value[1];
5103
5118
  });
@@ -5158,7 +5173,7 @@ ${input.slice(result.pos)}
5158
5173
  value
5159
5174
  };
5160
5175
  });
5161
- var PropertyDefinition$1 = $TS($S(__, $TEXT($EXPECT($R4, fail, "PropertyDefinition /[+-]/")), IdentifierName), function($skip, $loc, $0, $1, $2, $3) {
5176
+ var PropertyDefinition$1 = $TS($S(__, $TEXT($EXPECT($R4, fail, "PropertyDefinition /[!+-]/")), IdentifierName), function($skip, $loc, $0, $1, $2, $3) {
5162
5177
  var ws = $1;
5163
5178
  var toggle = $2;
5164
5179
  var id = $3;
@@ -5488,7 +5503,7 @@ ${input.slice(result.pos)}
5488
5503
  return result;
5489
5504
  }
5490
5505
  }
5491
- var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L8, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
5506
+ var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L6, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
5492
5507
  return {
5493
5508
  type: "Identifier",
5494
5509
  name: $0,
@@ -5544,25 +5559,25 @@ ${input.slice(result.pos)}
5544
5559
  return result;
5545
5560
  }
5546
5561
  }
5547
- var AssignmentOpSymbol$0 = $EXPECT($L30, fail, 'AssignmentOpSymbol "**="');
5548
- var AssignmentOpSymbol$1 = $EXPECT($L31, fail, 'AssignmentOpSymbol "*="');
5549
- var AssignmentOpSymbol$2 = $EXPECT($L32, fail, 'AssignmentOpSymbol "/="');
5550
- var AssignmentOpSymbol$3 = $EXPECT($L33, fail, 'AssignmentOpSymbol "%="');
5551
- var AssignmentOpSymbol$4 = $EXPECT($L34, fail, 'AssignmentOpSymbol "+="');
5552
- var AssignmentOpSymbol$5 = $EXPECT($L35, fail, 'AssignmentOpSymbol "-="');
5553
- var AssignmentOpSymbol$6 = $EXPECT($L36, fail, 'AssignmentOpSymbol "<<="');
5554
- var AssignmentOpSymbol$7 = $EXPECT($L37, fail, 'AssignmentOpSymbol ">>>="');
5555
- var AssignmentOpSymbol$8 = $EXPECT($L38, fail, 'AssignmentOpSymbol ">>="');
5556
- var AssignmentOpSymbol$9 = $EXPECT($L39, fail, 'AssignmentOpSymbol "&&="');
5557
- var AssignmentOpSymbol$10 = $EXPECT($L40, fail, 'AssignmentOpSymbol "&="');
5558
- var AssignmentOpSymbol$11 = $EXPECT($L41, fail, 'AssignmentOpSymbol "^="');
5559
- var AssignmentOpSymbol$12 = $EXPECT($L42, fail, 'AssignmentOpSymbol "||="');
5560
- var AssignmentOpSymbol$13 = $EXPECT($L43, fail, 'AssignmentOpSymbol "|="');
5561
- var AssignmentOpSymbol$14 = $EXPECT($L44, fail, 'AssignmentOpSymbol "??="');
5562
- var AssignmentOpSymbol$15 = $T($EXPECT($L45, fail, 'AssignmentOpSymbol "?="'), function(value) {
5562
+ var AssignmentOpSymbol$0 = $EXPECT($L28, fail, 'AssignmentOpSymbol "**="');
5563
+ var AssignmentOpSymbol$1 = $EXPECT($L29, fail, 'AssignmentOpSymbol "*="');
5564
+ var AssignmentOpSymbol$2 = $EXPECT($L30, fail, 'AssignmentOpSymbol "/="');
5565
+ var AssignmentOpSymbol$3 = $EXPECT($L31, fail, 'AssignmentOpSymbol "%="');
5566
+ var AssignmentOpSymbol$4 = $EXPECT($L32, fail, 'AssignmentOpSymbol "+="');
5567
+ var AssignmentOpSymbol$5 = $EXPECT($L33, fail, 'AssignmentOpSymbol "-="');
5568
+ var AssignmentOpSymbol$6 = $EXPECT($L34, fail, 'AssignmentOpSymbol "<<="');
5569
+ var AssignmentOpSymbol$7 = $EXPECT($L35, fail, 'AssignmentOpSymbol ">>>="');
5570
+ var AssignmentOpSymbol$8 = $EXPECT($L36, fail, 'AssignmentOpSymbol ">>="');
5571
+ var AssignmentOpSymbol$9 = $EXPECT($L37, fail, 'AssignmentOpSymbol "&&="');
5572
+ var AssignmentOpSymbol$10 = $EXPECT($L38, fail, 'AssignmentOpSymbol "&="');
5573
+ var AssignmentOpSymbol$11 = $EXPECT($L39, fail, 'AssignmentOpSymbol "^="');
5574
+ var AssignmentOpSymbol$12 = $EXPECT($L40, fail, 'AssignmentOpSymbol "||="');
5575
+ var AssignmentOpSymbol$13 = $EXPECT($L41, fail, 'AssignmentOpSymbol "|="');
5576
+ var AssignmentOpSymbol$14 = $EXPECT($L42, fail, 'AssignmentOpSymbol "??="');
5577
+ var AssignmentOpSymbol$15 = $T($EXPECT($L43, fail, 'AssignmentOpSymbol "?="'), function(value) {
5563
5578
  return "??=";
5564
5579
  });
5565
- var AssignmentOpSymbol$16 = $T($S($EXPECT($L26, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L26, fail, 'AssignmentOpSymbol "="'))), function(value) {
5580
+ var AssignmentOpSymbol$16 = $T($S($EXPECT($L24, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L24, fail, 'AssignmentOpSymbol "="'))), function(value) {
5566
5581
  return value[0];
5567
5582
  });
5568
5583
  var AssignmentOpSymbol$17 = $T($S(CoffeeWordAssignmentOp), function(value) {
@@ -5586,10 +5601,10 @@ ${input.slice(result.pos)}
5586
5601
  return result;
5587
5602
  }
5588
5603
  }
5589
- var CoffeeWordAssignmentOp$0 = $T($EXPECT($L46, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
5604
+ var CoffeeWordAssignmentOp$0 = $T($EXPECT($L44, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
5590
5605
  return "&&=";
5591
5606
  });
5592
- var CoffeeWordAssignmentOp$1 = $T($EXPECT($L47, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
5607
+ var CoffeeWordAssignmentOp$1 = $T($EXPECT($L45, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
5593
5608
  return "||=";
5594
5609
  });
5595
5610
  function CoffeeWordAssignmentOp(state) {
@@ -5633,77 +5648,77 @@ ${input.slice(result.pos)}
5633
5648
  return result;
5634
5649
  }
5635
5650
  }
5636
- var BinaryOpSymbol$0 = $EXPECT($L48, fail, 'BinaryOpSymbol "**"');
5637
- var BinaryOpSymbol$1 = $EXPECT($L49, fail, 'BinaryOpSymbol "*"');
5638
- var BinaryOpSymbol$2 = $EXPECT($L50, fail, 'BinaryOpSymbol "/"');
5639
- var BinaryOpSymbol$3 = $TV($EXPECT($L51, fail, 'BinaryOpSymbol "%%"'), function($skip, $loc, $0, $1) {
5651
+ var BinaryOpSymbol$0 = $EXPECT($L46, fail, 'BinaryOpSymbol "**"');
5652
+ var BinaryOpSymbol$1 = $EXPECT($L47, fail, 'BinaryOpSymbol "*"');
5653
+ var BinaryOpSymbol$2 = $EXPECT($L48, fail, 'BinaryOpSymbol "/"');
5654
+ var BinaryOpSymbol$3 = $TV($EXPECT($L49, fail, 'BinaryOpSymbol "%%"'), function($skip, $loc, $0, $1) {
5640
5655
  return {
5641
5656
  call: module2.getRef("modulo"),
5642
5657
  special: true
5643
5658
  };
5644
5659
  });
5645
- var BinaryOpSymbol$4 = $EXPECT($L52, fail, 'BinaryOpSymbol "%"');
5646
- var BinaryOpSymbol$5 = $EXPECT($L53, fail, 'BinaryOpSymbol "+"');
5647
- var BinaryOpSymbol$6 = $EXPECT($L54, fail, 'BinaryOpSymbol "-"');
5648
- var BinaryOpSymbol$7 = $EXPECT($L55, fail, 'BinaryOpSymbol "<="');
5649
- var BinaryOpSymbol$8 = $EXPECT($L56, fail, 'BinaryOpSymbol ">="');
5650
- var BinaryOpSymbol$9 = $EXPECT($L57, fail, 'BinaryOpSymbol "<<"');
5660
+ var BinaryOpSymbol$4 = $EXPECT($L50, fail, 'BinaryOpSymbol "%"');
5661
+ var BinaryOpSymbol$5 = $EXPECT($L51, fail, 'BinaryOpSymbol "+"');
5662
+ var BinaryOpSymbol$6 = $EXPECT($L52, fail, 'BinaryOpSymbol "-"');
5663
+ var BinaryOpSymbol$7 = $EXPECT($L53, fail, 'BinaryOpSymbol "<="');
5664
+ var BinaryOpSymbol$8 = $EXPECT($L54, fail, 'BinaryOpSymbol ">="');
5665
+ var BinaryOpSymbol$9 = $EXPECT($L55, fail, 'BinaryOpSymbol "<<"');
5651
5666
  var BinaryOpSymbol$10 = $TR($EXPECT($R5, fail, "BinaryOpSymbol /<(?!\\p{ID_Start}|[_$])/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
5652
5667
  return "<";
5653
5668
  });
5654
- var BinaryOpSymbol$11 = $EXPECT($L58, fail, 'BinaryOpSymbol ">>>"');
5655
- var BinaryOpSymbol$12 = $EXPECT($L59, fail, 'BinaryOpSymbol ">>"');
5656
- var BinaryOpSymbol$13 = $EXPECT($L27, fail, 'BinaryOpSymbol ">"');
5657
- var BinaryOpSymbol$14 = $EXPECT($L60, fail, 'BinaryOpSymbol "!=="');
5658
- var BinaryOpSymbol$15 = $TV($EXPECT($L61, fail, 'BinaryOpSymbol "!="'), function($skip, $loc, $0, $1) {
5669
+ var BinaryOpSymbol$11 = $EXPECT($L56, fail, 'BinaryOpSymbol ">>>"');
5670
+ var BinaryOpSymbol$12 = $EXPECT($L57, fail, 'BinaryOpSymbol ">>"');
5671
+ var BinaryOpSymbol$13 = $EXPECT($L25, fail, 'BinaryOpSymbol ">"');
5672
+ var BinaryOpSymbol$14 = $EXPECT($L58, fail, 'BinaryOpSymbol "!=="');
5673
+ var BinaryOpSymbol$15 = $TV($EXPECT($L59, fail, 'BinaryOpSymbol "!="'), function($skip, $loc, $0, $1) {
5659
5674
  if (module2.config.coffeeEq)
5660
5675
  return "!==";
5661
5676
  return $1;
5662
5677
  });
5663
- var BinaryOpSymbol$16 = $TS($S($EXPECT($L62, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5678
+ var BinaryOpSymbol$16 = $TS($S($EXPECT($L60, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5664
5679
  if (module2.config.coffeeIsnt)
5665
5680
  return "!==";
5666
5681
  return $skip;
5667
5682
  });
5668
- var BinaryOpSymbol$17 = $EXPECT($L63, fail, 'BinaryOpSymbol "==="');
5669
- var BinaryOpSymbol$18 = $TV($EXPECT($L64, fail, 'BinaryOpSymbol "=="'), function($skip, $loc, $0, $1) {
5683
+ var BinaryOpSymbol$17 = $EXPECT($L61, fail, 'BinaryOpSymbol "==="');
5684
+ var BinaryOpSymbol$18 = $TV($EXPECT($L62, fail, 'BinaryOpSymbol "=="'), function($skip, $loc, $0, $1) {
5670
5685
  if (module2.config.coffeeEq)
5671
5686
  return "===";
5672
5687
  return $1;
5673
5688
  });
5674
- var BinaryOpSymbol$19 = $T($S($EXPECT($L65, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
5689
+ var BinaryOpSymbol$19 = $T($S($EXPECT($L63, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
5675
5690
  return "&&";
5676
5691
  });
5677
- var BinaryOpSymbol$20 = $EXPECT($L66, fail, 'BinaryOpSymbol "&&"');
5678
- var BinaryOpSymbol$21 = $T($S(CoffeeOfEnabled, $EXPECT($L67, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
5692
+ var BinaryOpSymbol$20 = $EXPECT($L64, fail, 'BinaryOpSymbol "&&"');
5693
+ var BinaryOpSymbol$21 = $T($S(CoffeeOfEnabled, $EXPECT($L65, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
5679
5694
  return "in";
5680
5695
  });
5681
- var BinaryOpSymbol$22 = $T($S($EXPECT($L68, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
5696
+ var BinaryOpSymbol$22 = $T($S($EXPECT($L66, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
5682
5697
  return "||";
5683
5698
  });
5684
- var BinaryOpSymbol$23 = $EXPECT($L69, fail, 'BinaryOpSymbol "||"');
5685
- var BinaryOpSymbol$24 = $EXPECT($L70, fail, 'BinaryOpSymbol "??"');
5686
- var BinaryOpSymbol$25 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L71, fail, 'BinaryOpSymbol "?"')), function(value) {
5699
+ var BinaryOpSymbol$23 = $EXPECT($L67, fail, 'BinaryOpSymbol "||"');
5700
+ var BinaryOpSymbol$24 = $EXPECT($L68, fail, 'BinaryOpSymbol "??"');
5701
+ var BinaryOpSymbol$25 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L69, fail, 'BinaryOpSymbol "?"')), function(value) {
5687
5702
  return "??";
5688
5703
  });
5689
- var BinaryOpSymbol$26 = $TS($S($EXPECT($L72, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5704
+ var BinaryOpSymbol$26 = $TS($S($EXPECT($L70, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5690
5705
  return $1;
5691
5706
  });
5692
- var BinaryOpSymbol$27 = $TS($S(CoffeeNotEnabled, $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L72, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
5707
+ var BinaryOpSymbol$27 = $TS($S(CoffeeNotEnabled, $EXPECT($L71, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L70, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
5693
5708
  return {
5694
5709
  $loc,
5695
5710
  token: "instanceof",
5696
5711
  special: true
5697
5712
  };
5698
5713
  });
5699
- var BinaryOpSymbol$28 = $TV($C($S($N(CoffeeOfEnabled), $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), $S(CoffeeOfEnabled, $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L67, fail, 'BinaryOpSymbol "of"'), NonIdContinue)), function($skip, $loc, $0, $1) {
5714
+ var BinaryOpSymbol$28 = $TV($C($S($N(CoffeeOfEnabled), $EXPECT($L71, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L72, fail, 'BinaryOpSymbol "in"'), NonIdContinue), $S(CoffeeOfEnabled, $EXPECT($L71, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L65, fail, 'BinaryOpSymbol "of"'), NonIdContinue)), function($skip, $loc, $0, $1) {
5700
5715
  return {
5701
5716
  $loc,
5702
5717
  token: "in",
5703
5718
  special: true
5704
5719
  };
5705
5720
  });
5706
- var BinaryOpSymbol$29 = $TV($C($S($EXPECT($L75, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), $S(CoffeeOfEnabled, $EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue)), function($skip, $loc, $0, $1) {
5721
+ var BinaryOpSymbol$29 = $TV($C($S($EXPECT($L73, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L72, fail, 'BinaryOpSymbol "in"'), NonIdContinue), $S(CoffeeOfEnabled, $EXPECT($L72, fail, 'BinaryOpSymbol "in"'), NonIdContinue)), function($skip, $loc, $0, $1) {
5707
5722
  return {
5708
5723
  call: [module2.getRef("indexOf"), ".call"],
5709
5724
  relational: true,
@@ -5712,7 +5727,7 @@ ${input.slice(result.pos)}
5712
5727
  special: true
5713
5728
  };
5714
5729
  });
5715
- var BinaryOpSymbol$30 = $TV($C($S($EXPECT($L75, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), $S(CoffeeOfEnabled, $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue)), function($skip, $loc, $0, $1) {
5730
+ var BinaryOpSymbol$30 = $TV($C($S($EXPECT($L73, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L71, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L72, fail, 'BinaryOpSymbol "in"'), NonIdContinue), $S(CoffeeOfEnabled, $EXPECT($L71, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L72, fail, 'BinaryOpSymbol "in"'), NonIdContinue)), function($skip, $loc, $0, $1) {
5716
5731
  return {
5717
5732
  call: [module2.getRef("indexOf"), ".call"],
5718
5733
  relational: true,
@@ -5721,18 +5736,18 @@ ${input.slice(result.pos)}
5721
5736
  special: true
5722
5737
  };
5723
5738
  });
5724
- var BinaryOpSymbol$31 = $T($S($N(CoffeeNotEnabled), $EXPECT($L75, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue), function(value) {
5739
+ var BinaryOpSymbol$31 = $T($S($N(CoffeeNotEnabled), $EXPECT($L73, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L71, fail, 'BinaryOpSymbol "not"'), NonIdContinue), function(value) {
5725
5740
  return "!==";
5726
5741
  });
5727
- var BinaryOpSymbol$32 = $T($S($EXPECT($L75, fail, 'BinaryOpSymbol "is"'), NonIdContinue), function(value) {
5742
+ var BinaryOpSymbol$32 = $T($S($EXPECT($L73, fail, 'BinaryOpSymbol "is"'), NonIdContinue), function(value) {
5728
5743
  return "===";
5729
5744
  });
5730
- var BinaryOpSymbol$33 = $TS($S($EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5745
+ var BinaryOpSymbol$33 = $TS($S($EXPECT($L72, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5731
5746
  return $1;
5732
5747
  });
5733
- var BinaryOpSymbol$34 = $EXPECT($L76, fail, 'BinaryOpSymbol "&"');
5734
- var BinaryOpSymbol$35 = $EXPECT($L77, fail, 'BinaryOpSymbol "^"');
5735
- var BinaryOpSymbol$36 = $EXPECT($L78, fail, 'BinaryOpSymbol "|"');
5748
+ var BinaryOpSymbol$34 = $EXPECT($L74, fail, 'BinaryOpSymbol "&"');
5749
+ var BinaryOpSymbol$35 = $EXPECT($L75, fail, 'BinaryOpSymbol "^"');
5750
+ var BinaryOpSymbol$36 = $EXPECT($L76, fail, 'BinaryOpSymbol "|"');
5736
5751
  function BinaryOpSymbol(state) {
5737
5752
  if (state.events) {
5738
5753
  const result = state.events.enter?.("BinaryOpSymbol", state);
@@ -5871,7 +5886,7 @@ ${input.slice(result.pos)}
5871
5886
  return result;
5872
5887
  }
5873
5888
  }
5874
- var EmptyStatement$0 = $T($S($Q(TrailingComment), $Y($EXPECT($L79, fail, 'EmptyStatement ";"'))), function(value) {
5889
+ var EmptyStatement$0 = $T($S($Q(TrailingComment), $Y($EXPECT($L77, fail, 'EmptyStatement ";"'))), function(value) {
5875
5890
  return { "type": "EmptyStatement", "children": value[0] };
5876
5891
  });
5877
5892
  function EmptyStatement(state) {
@@ -5892,7 +5907,7 @@ ${input.slice(result.pos)}
5892
5907
  return result;
5893
5908
  }
5894
5909
  }
5895
- var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L26, fail, 'BlockStatement "="')))), function(value) {
5910
+ var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L24, fail, 'BlockStatement "="')))), function(value) {
5896
5911
  return value[0];
5897
5912
  });
5898
5913
  function BlockStatement(state) {
@@ -6717,7 +6732,7 @@ ${input.slice(result.pos)}
6717
6732
  return result;
6718
6733
  }
6719
6734
  }
6720
- var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L80, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
6735
+ var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L78, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
6721
6736
  var own = $1;
6722
6737
  var binding = $2;
6723
6738
  if (own) {
@@ -7261,7 +7276,7 @@ ${input.slice(result.pos)}
7261
7276
  return result;
7262
7277
  }
7263
7278
  }
7264
- var Finally$0 = $S(__, $EXPECT($L81, fail, 'Finally "finally"'), NonIdContinue, BracedBlock);
7279
+ var Finally$0 = $S(__, $EXPECT($L79, fail, 'Finally "finally"'), NonIdContinue, BracedBlock);
7265
7280
  function Finally(state) {
7266
7281
  if (state.events) {
7267
7282
  const result = state.events.enter?.("Finally", state);
@@ -7397,13 +7412,13 @@ ${input.slice(result.pos)}
7397
7412
  return result;
7398
7413
  }
7399
7414
  }
7400
- var KeywordStatement$0 = $T($S($EXPECT($L82, fail, 'KeywordStatement "break"'), NonIdContinue), function(value) {
7415
+ var KeywordStatement$0 = $T($S($EXPECT($L80, fail, 'KeywordStatement "break"'), NonIdContinue), function(value) {
7401
7416
  return { "type": "BreakStatement", "children": value };
7402
7417
  });
7403
- var KeywordStatement$1 = $T($S($EXPECT($L83, fail, 'KeywordStatement "continue"'), NonIdContinue), function(value) {
7418
+ var KeywordStatement$1 = $T($S($EXPECT($L81, fail, 'KeywordStatement "continue"'), NonIdContinue), function(value) {
7404
7419
  return { "type": "ContinueStatement", "children": value };
7405
7420
  });
7406
- var KeywordStatement$2 = $T($S($EXPECT($L84, fail, 'KeywordStatement "debugger"'), NonIdContinue), function(value) {
7421
+ var KeywordStatement$2 = $T($S($EXPECT($L82, fail, 'KeywordStatement "debugger"'), NonIdContinue), function(value) {
7407
7422
  return { "type": "DebuggerStatement", "children": value };
7408
7423
  });
7409
7424
  var KeywordStatement$3 = $T($S(Return, $E(MaybeNestedExpression)), function(value) {
@@ -7430,7 +7445,7 @@ ${input.slice(result.pos)}
7430
7445
  return result;
7431
7446
  }
7432
7447
  }
7433
- var DebuggerExpression$0 = $TS($S($EXPECT($L84, fail, 'DebuggerExpression "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
7448
+ var DebuggerExpression$0 = $TS($S($EXPECT($L82, fail, 'DebuggerExpression "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
7434
7449
  return {
7435
7450
  type: "DebuggerExpression",
7436
7451
  children: ["(()=>{", $1, "})()"]
@@ -7503,7 +7518,7 @@ ${input.slice(result.pos)}
7503
7518
  return result;
7504
7519
  }
7505
7520
  }
7506
- var ImportDeclaration$0 = $T($S($EXPECT($L85, fail, 'ImportDeclaration "import type"'), NonIdContinue, __, ImportClause, __, FromClause), function(value) {
7521
+ var ImportDeclaration$0 = $T($S(Import, __, TypeKeyword, __, ImportClause, __, FromClause), function(value) {
7507
7522
  return { "ts": true, "children": value };
7508
7523
  });
7509
7524
  var ImportDeclaration$1 = $S(Import, __, ImportClause, __, FromClause);
@@ -7620,11 +7635,9 @@ ${input.slice(result.pos)}
7620
7635
  return result;
7621
7636
  }
7622
7637
  }
7623
- var NamedImports$0 = $TS($S(OpenBrace, $Q(ImportSpecifier), $E($S(__, Comma)), __, CloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
7638
+ var NamedImports$0 = $TS($S(OpenBrace, $Q(TypeAndImportSpecifier), $E($S(__, Comma)), __, CloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
7624
7639
  var specifiers = $2;
7625
- const names = specifiers.flatMap(({ binding }) => {
7626
- return binding.names;
7627
- });
7640
+ const names = specifiers.flatMap(({ binding }) => binding.names);
7628
7641
  return {
7629
7642
  type: "Declaration",
7630
7643
  children: $0,
@@ -7668,6 +7681,29 @@ ${input.slice(result.pos)}
7668
7681
  return result;
7669
7682
  }
7670
7683
  }
7684
+ var TypeAndImportSpecifier$0 = $TS($S($E($S(__, TypeKeyword)), ImportSpecifier), function($skip, $loc, $0, $1, $2) {
7685
+ if (!$1)
7686
+ return $2;
7687
+ return { ts: true, children: $0, binding: $2.binding };
7688
+ });
7689
+ function TypeAndImportSpecifier(state) {
7690
+ if (state.events) {
7691
+ const result = state.events.enter?.("TypeAndImportSpecifier", state);
7692
+ if (result)
7693
+ return result.cache;
7694
+ }
7695
+ if (state.tokenize) {
7696
+ const result = $TOKEN("TypeAndImportSpecifier", state, TypeAndImportSpecifier$0(state));
7697
+ if (state.events)
7698
+ state.events.exit?.("TypeAndImportSpecifier", state, result);
7699
+ return result;
7700
+ } else {
7701
+ const result = TypeAndImportSpecifier$0(state);
7702
+ if (state.events)
7703
+ state.events.exit?.("TypeAndImportSpecifier", state, result);
7704
+ return result;
7705
+ }
7706
+ }
7671
7707
  var ImportSpecifier$0 = $TS($S(__, ModuleExportName, __, As, __, ImportedBinding, ObjectPropertyDelimiter), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7) {
7672
7708
  var binding = $6;
7673
7709
  return {
@@ -7803,9 +7839,17 @@ ${input.slice(result.pos)}
7803
7839
  return result;
7804
7840
  }
7805
7841
  }
7806
- var ExportDeclaration$0 = $S(Export, __, $EXPECT($L86, fail, 'ExportDeclaration "default"'), NonIdContinue, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
7807
- var ExportDeclaration$1 = $S(Export, __, ExportFromClause, __, FromClause);
7808
- var ExportDeclaration$2 = $S(Export, __, $C(Declaration, NamedExports, VariableStatement, ExportVarDec));
7842
+ var ExportDeclaration$0 = $S(Export, __, $EXPECT($L83, fail, 'ExportDeclaration "default"'), NonIdContinue, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
7843
+ var ExportDeclaration$1 = $TS($S(Export, __, ExportFromClause, __, FromClause), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
7844
+ if (!$3.ts)
7845
+ return $0;
7846
+ return { ts: true, children: $0 };
7847
+ });
7848
+ var ExportDeclaration$2 = $TS($S(Export, __, $C(Declaration, TypeAndNamedExports, VariableStatement, ExportVarDec)), function($skip, $loc, $0, $1, $2, $3) {
7849
+ if (!$3.ts)
7850
+ return $0;
7851
+ return { ts: true, children: $0 };
7852
+ });
7809
7853
  function ExportDeclaration(state) {
7810
7854
  if (state.events) {
7811
7855
  const result = state.events.enter?.("ExportDeclaration", state);
@@ -7844,7 +7888,7 @@ ${input.slice(result.pos)}
7844
7888
  }
7845
7889
  }
7846
7890
  var ExportFromClause$0 = $S(Star, $E($S(__, As, __, ModuleExportName)));
7847
- var ExportFromClause$1 = NamedExports;
7891
+ var ExportFromClause$1 = TypeAndNamedExports;
7848
7892
  function ExportFromClause(state) {
7849
7893
  if (state.events) {
7850
7894
  const result = state.events.enter?.("ExportFromClause", state);
@@ -7863,6 +7907,29 @@ ${input.slice(result.pos)}
7863
7907
  return result;
7864
7908
  }
7865
7909
  }
7910
+ var TypeAndNamedExports$0 = $TS($S($E($S(TypeKeyword, __)), NamedExports), function($skip, $loc, $0, $1, $2) {
7911
+ if (!$1)
7912
+ return $2;
7913
+ return { ts: true, children: $0 };
7914
+ });
7915
+ function TypeAndNamedExports(state) {
7916
+ if (state.events) {
7917
+ const result = state.events.enter?.("TypeAndNamedExports", state);
7918
+ if (result)
7919
+ return result.cache;
7920
+ }
7921
+ if (state.tokenize) {
7922
+ const result = $TOKEN("TypeAndNamedExports", state, TypeAndNamedExports$0(state));
7923
+ if (state.events)
7924
+ state.events.exit?.("TypeAndNamedExports", state, result);
7925
+ return result;
7926
+ } else {
7927
+ const result = TypeAndNamedExports$0(state);
7928
+ if (state.events)
7929
+ state.events.exit?.("TypeAndNamedExports", state, result);
7930
+ return result;
7931
+ }
7932
+ }
7866
7933
  var NamedExports$0 = $S(OpenBrace, $Q(ExportSpecifier), $E($S(__, Comma)), __, CloseBrace);
7867
7934
  var NamedExports$1 = $TS($S(InsertInlineOpenBrace, ImplicitExportSpecifier, $Q($S(_, ImplicitExportSpecifier)), InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3, $4) {
7868
7935
  var open = $1;
@@ -7887,7 +7954,11 @@ ${input.slice(result.pos)}
7887
7954
  return result;
7888
7955
  }
7889
7956
  }
7890
- var ExportSpecifier$0 = $S(__, ModuleExportName, $E($S(__, As, __, ModuleExportName)), ObjectPropertyDelimiter);
7957
+ var ExportSpecifier$0 = $TS($S(__, $E($S(TypeKeyword, __)), ModuleExportName, $E($S(__, As, __, ModuleExportName)), ObjectPropertyDelimiter), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
7958
+ if (!$2)
7959
+ return $0;
7960
+ return { ts: true, children: $0 };
7961
+ });
7891
7962
  function ExportSpecifier(state) {
7892
7963
  if (state.events) {
7893
7964
  const result = state.events.enter?.("ExportSpecifier", state);
@@ -7906,7 +7977,7 @@ ${input.slice(result.pos)}
7906
7977
  return result;
7907
7978
  }
7908
7979
  }
7909
- var ImplicitExportSpecifier$0 = $S($N($EXPECT($L86, fail, 'ImplicitExportSpecifier "default"')), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
7980
+ var ImplicitExportSpecifier$0 = $S($N($EXPECT($L83, fail, 'ImplicitExportSpecifier "default"')), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
7910
7981
  function ImplicitExportSpecifier(state) {
7911
7982
  if (state.events) {
7912
7983
  const result = state.events.enter?.("ImplicitExportSpecifier", state);
@@ -8061,7 +8132,7 @@ ${input.slice(result.pos)}
8061
8132
  return result;
8062
8133
  }
8063
8134
  }
8064
- var ConstAssignment$0 = $TV($EXPECT($L87, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
8135
+ var ConstAssignment$0 = $TV($EXPECT($L84, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
8065
8136
  return { $loc, token: "=" };
8066
8137
  });
8067
8138
  function ConstAssignment(state) {
@@ -8082,10 +8153,10 @@ ${input.slice(result.pos)}
8082
8153
  return result;
8083
8154
  }
8084
8155
  }
8085
- var LetAssignment$0 = $TV($EXPECT($L88, fail, 'LetAssignment "::="'), function($skip, $loc, $0, $1) {
8156
+ var LetAssignment$0 = $TV($EXPECT($L85, fail, 'LetAssignment "::="'), function($skip, $loc, $0, $1) {
8086
8157
  return { $loc, token: "=" };
8087
8158
  });
8088
- var LetAssignment$1 = $TV($EXPECT($L89, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
8159
+ var LetAssignment$1 = $TV($EXPECT($L86, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
8089
8160
  return { $loc, token: "=" };
8090
8161
  });
8091
8162
  function LetAssignment(state) {
@@ -8643,7 +8714,7 @@ ${input.slice(result.pos)}
8643
8714
  }
8644
8715
  }
8645
8716
  var RegularExpressionLiteral$0 = HeregexLiteral;
8646
- var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L50, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L50, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
8717
+ var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L48, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L48, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
8647
8718
  return { $loc, token: $1 };
8648
8719
  });
8649
8720
  function RegularExpressionLiteral(state) {
@@ -8990,7 +9061,7 @@ ${input.slice(result.pos)}
8990
9061
  var ReservedWord$2 = $S(CoffeeForLoopsEnabled, $R$0($EXPECT($R34, fail, "ReservedWord /(?:by)(?!\\p{ID_Continue})/")));
8991
9062
  var ReservedWord$3 = $S(CoffeeOfEnabled, $R$0($EXPECT($R35, fail, "ReservedWord /(?:of)(?!\\p{ID_Continue})/")));
8992
9063
  var ReservedWord$4 = $S(CoffeeNotEnabled, $R$0($EXPECT($R36, fail, "ReservedWord /(?:not)(?!\\p{ID_Continue})/")));
8993
- var ReservedWord$5 = $S($EXPECT($L73, fail, 'ReservedWord "not"'), NonIdContinue, __, $EXPECT($L74, fail, 'ReservedWord "in"'), NonIdContinue);
9064
+ var ReservedWord$5 = $S($EXPECT($L71, fail, 'ReservedWord "not"'), NonIdContinue, __, $EXPECT($L72, fail, 'ReservedWord "in"'), NonIdContinue);
8994
9065
  var ReservedWord$6 = $R$0($EXPECT($R37, fail, "ReservedWord /(?:and|as|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|import|in|instanceof|interface|is|let|loop|new|null|or|private|protected|public|return|satisfies|static|super|switch|this|throw|true|try|typeof|unless|until|var|void|while|with|yield)(?!\\p{ID_Continue})/"));
8995
9066
  function ReservedWord(state) {
8996
9067
  if (state.events) {
@@ -9091,7 +9162,7 @@ ${input.slice(result.pos)}
9091
9162
  return result;
9092
9163
  }
9093
9164
  }
9094
- var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L90, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L91, fail, 'JSMultiLineComment "*/"')), $EXPECT($R39, fail, "JSMultiLineComment /./"))), $EXPECT($L91, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
9165
+ var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L87, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L88, fail, 'JSMultiLineComment "*/"')), $EXPECT($R39, fail, "JSMultiLineComment /./"))), $EXPECT($L88, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
9095
9166
  return { $loc, token: $1 };
9096
9167
  });
9097
9168
  function JSMultiLineComment(state) {
@@ -9133,7 +9204,7 @@ ${input.slice(result.pos)}
9133
9204
  return result;
9134
9205
  }
9135
9206
  }
9136
- var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($Q($S($N($C(CoffeeHereCommentStart, $EXPECT($L91, fail, 'CoffeeMultiLineComment "*/"'))), $EXPECT($R39, fail, "CoffeeMultiLineComment /./")))), CoffeeHereCommentStart), function($skip, $loc, $0, $1, $2, $3) {
9207
+ var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($Q($S($N($C(CoffeeHereCommentStart, $EXPECT($L88, fail, 'CoffeeMultiLineComment "*/"'))), $EXPECT($R39, fail, "CoffeeMultiLineComment /./")))), CoffeeHereCommentStart), function($skip, $loc, $0, $1, $2, $3) {
9137
9208
  return { $loc, token: `/*${$2}*/` };
9138
9209
  });
9139
9210
  function CoffeeMultiLineComment(state) {
@@ -9173,7 +9244,7 @@ ${input.slice(result.pos)}
9173
9244
  return result;
9174
9245
  }
9175
9246
  }
9176
- var InlineComment$0 = $TV($TEXT($S($EXPECT($L90, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L91, fail, 'InlineComment "*/"')), $EXPECT($R42, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L91, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
9247
+ var InlineComment$0 = $TV($TEXT($S($EXPECT($L87, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L88, fail, 'InlineComment "*/"')), $EXPECT($R42, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L88, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
9177
9248
  return { $loc, token: $1 };
9178
9249
  });
9179
9250
  function InlineComment(state) {
@@ -9256,7 +9327,7 @@ ${input.slice(result.pos)}
9256
9327
  var NonNewlineWhitespace$0 = $TR($EXPECT($R43, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
9257
9328
  return { $loc, token: $0 };
9258
9329
  });
9259
- var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L92, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
9330
+ var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L89, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
9260
9331
  return "";
9261
9332
  });
9262
9333
  function NonNewlineWhitespace(state) {
@@ -9425,7 +9496,7 @@ ${input.slice(result.pos)}
9425
9496
  return result;
9426
9497
  }
9427
9498
  }
9428
- var Abstract$0 = $TV($TEXT($S($EXPECT($L93, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L4, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
9499
+ var Abstract$0 = $TV($TEXT($S($EXPECT($L90, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L4, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
9429
9500
  return { $loc, token: $1, ts: true };
9430
9501
  });
9431
9502
  function Abstract(state) {
@@ -9446,7 +9517,7 @@ ${input.slice(result.pos)}
9446
9517
  return result;
9447
9518
  }
9448
9519
  }
9449
- var Ampersand$0 = $TV($EXPECT($L76, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
9520
+ var Ampersand$0 = $TV($EXPECT($L74, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
9450
9521
  return { $loc, token: $1 };
9451
9522
  });
9452
9523
  function Ampersand(state) {
@@ -9467,7 +9538,7 @@ ${input.slice(result.pos)}
9467
9538
  return result;
9468
9539
  }
9469
9540
  }
9470
- var As$0 = $TS($S($EXPECT($L94, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9541
+ var As$0 = $TS($S($EXPECT($L91, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9471
9542
  return { $loc, token: $1 };
9472
9543
  });
9473
9544
  function As(state) {
@@ -9488,7 +9559,7 @@ ${input.slice(result.pos)}
9488
9559
  return result;
9489
9560
  }
9490
9561
  }
9491
- var At$0 = $TV($EXPECT($L95, fail, 'At "@"'), function($skip, $loc, $0, $1) {
9562
+ var At$0 = $TV($EXPECT($L92, fail, 'At "@"'), function($skip, $loc, $0, $1) {
9492
9563
  return { $loc, token: $1 };
9493
9564
  });
9494
9565
  function At(state) {
@@ -9509,7 +9580,7 @@ ${input.slice(result.pos)}
9509
9580
  return result;
9510
9581
  }
9511
9582
  }
9512
- var AtAt$0 = $TV($EXPECT($L96, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
9583
+ var AtAt$0 = $TV($EXPECT($L93, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
9513
9584
  return { $loc, token: "@" };
9514
9585
  });
9515
9586
  function AtAt(state) {
@@ -9530,7 +9601,7 @@ ${input.slice(result.pos)}
9530
9601
  return result;
9531
9602
  }
9532
9603
  }
9533
- var Async$0 = $TS($S($EXPECT($L97, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9604
+ var Async$0 = $TS($S($EXPECT($L94, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9534
9605
  return { $loc, token: $1, type: "Async" };
9535
9606
  });
9536
9607
  function Async(state) {
@@ -9551,7 +9622,7 @@ ${input.slice(result.pos)}
9551
9622
  return result;
9552
9623
  }
9553
9624
  }
9554
- var Await$0 = $TS($S($EXPECT($L98, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9625
+ var Await$0 = $TS($S($EXPECT($L95, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9555
9626
  return { $loc, token: $1 };
9556
9627
  });
9557
9628
  function Await(state) {
@@ -9572,7 +9643,7 @@ ${input.slice(result.pos)}
9572
9643
  return result;
9573
9644
  }
9574
9645
  }
9575
- var Backtick$0 = $TV($EXPECT($L99, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
9646
+ var Backtick$0 = $TV($EXPECT($L96, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
9576
9647
  return { $loc, token: $1 };
9577
9648
  });
9578
9649
  function Backtick(state) {
@@ -9593,7 +9664,7 @@ ${input.slice(result.pos)}
9593
9664
  return result;
9594
9665
  }
9595
9666
  }
9596
- var By$0 = $TS($S($EXPECT($L100, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9667
+ var By$0 = $TS($S($EXPECT($L97, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9597
9668
  return { $loc, token: $1 };
9598
9669
  });
9599
9670
  function By(state) {
@@ -9614,7 +9685,7 @@ ${input.slice(result.pos)}
9614
9685
  return result;
9615
9686
  }
9616
9687
  }
9617
- var Case$0 = $TS($S($EXPECT($L101, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9688
+ var Case$0 = $TS($S($EXPECT($L98, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9618
9689
  return { $loc, token: $1 };
9619
9690
  });
9620
9691
  function Case(state) {
@@ -9635,7 +9706,7 @@ ${input.slice(result.pos)}
9635
9706
  return result;
9636
9707
  }
9637
9708
  }
9638
- var Catch$0 = $TS($S($EXPECT($L102, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9709
+ var Catch$0 = $TS($S($EXPECT($L99, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9639
9710
  return { $loc, token: $1 };
9640
9711
  });
9641
9712
  function Catch(state) {
@@ -9656,7 +9727,7 @@ ${input.slice(result.pos)}
9656
9727
  return result;
9657
9728
  }
9658
9729
  }
9659
- var Class$0 = $TS($S($EXPECT($L103, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9730
+ var Class$0 = $TS($S($EXPECT($L100, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9660
9731
  return { $loc, token: $1 };
9661
9732
  });
9662
9733
  function Class(state) {
@@ -9677,7 +9748,7 @@ ${input.slice(result.pos)}
9677
9748
  return result;
9678
9749
  }
9679
9750
  }
9680
- var CloseBrace$0 = $TV($EXPECT($L17, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
9751
+ var CloseBrace$0 = $TV($EXPECT($L15, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
9681
9752
  return { $loc, token: $1 };
9682
9753
  });
9683
9754
  function CloseBrace(state) {
@@ -9698,7 +9769,7 @@ ${input.slice(result.pos)}
9698
9769
  return result;
9699
9770
  }
9700
9771
  }
9701
- var CloseBracket$0 = $TV($EXPECT($L28, fail, 'CloseBracket "]"'), function($skip, $loc, $0, $1) {
9772
+ var CloseBracket$0 = $TV($EXPECT($L26, fail, 'CloseBracket "]"'), function($skip, $loc, $0, $1) {
9702
9773
  return { $loc, token: $1 };
9703
9774
  });
9704
9775
  function CloseBracket(state) {
@@ -9719,7 +9790,7 @@ ${input.slice(result.pos)}
9719
9790
  return result;
9720
9791
  }
9721
9792
  }
9722
- var CloseParen$0 = $TV($EXPECT($L15, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
9793
+ var CloseParen$0 = $TV($EXPECT($L13, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
9723
9794
  return { $loc, token: $1 };
9724
9795
  });
9725
9796
  function CloseParen(state) {
@@ -9740,7 +9811,7 @@ ${input.slice(result.pos)}
9740
9811
  return result;
9741
9812
  }
9742
9813
  }
9743
- var CoffeeSubstitutionStart$0 = $TV($EXPECT($L104, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
9814
+ var CoffeeSubstitutionStart$0 = $TV($EXPECT($L101, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
9744
9815
  return { $loc, token: "${" };
9745
9816
  });
9746
9817
  function CoffeeSubstitutionStart(state) {
@@ -9761,7 +9832,7 @@ ${input.slice(result.pos)}
9761
9832
  return result;
9762
9833
  }
9763
9834
  }
9764
- var Colon$0 = $TV($EXPECT($L29, fail, 'Colon ":"'), function($skip, $loc, $0, $1) {
9835
+ var Colon$0 = $TV($EXPECT($L27, fail, 'Colon ":"'), function($skip, $loc, $0, $1) {
9765
9836
  return { $loc, token: $1 };
9766
9837
  });
9767
9838
  function Colon(state) {
@@ -9782,7 +9853,7 @@ ${input.slice(result.pos)}
9782
9853
  return result;
9783
9854
  }
9784
9855
  }
9785
- var ConstructorShorthand$0 = $TV($EXPECT($L95, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
9856
+ var ConstructorShorthand$0 = $TV($EXPECT($L92, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
9786
9857
  return { $loc, token: "constructor" };
9787
9858
  });
9788
9859
  function ConstructorShorthand(state) {
@@ -9803,7 +9874,7 @@ ${input.slice(result.pos)}
9803
9874
  return result;
9804
9875
  }
9805
9876
  }
9806
- var Default$0 = $TS($S($EXPECT($L86, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9877
+ var Default$0 = $TS($S($EXPECT($L83, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9807
9878
  return { $loc, token: $1 };
9808
9879
  });
9809
9880
  function Default(state) {
@@ -9824,7 +9895,7 @@ ${input.slice(result.pos)}
9824
9895
  return result;
9825
9896
  }
9826
9897
  }
9827
- var Delete$0 = $TS($S($EXPECT($L105, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9898
+ var Delete$0 = $TS($S($EXPECT($L102, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9828
9899
  return { $loc, token: $1 };
9829
9900
  });
9830
9901
  function Delete(state) {
@@ -9845,7 +9916,7 @@ ${input.slice(result.pos)}
9845
9916
  return result;
9846
9917
  }
9847
9918
  }
9848
- var Do$0 = $TS($S($EXPECT($L106, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9919
+ var Do$0 = $TS($S($EXPECT($L103, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9849
9920
  return { $loc, token: $1 };
9850
9921
  });
9851
9922
  function Do(state) {
@@ -9866,7 +9937,7 @@ ${input.slice(result.pos)}
9866
9937
  return result;
9867
9938
  }
9868
9939
  }
9869
- var Dot$0 = $TV($EXPECT($L9, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
9940
+ var Dot$0 = $TV($EXPECT($L7, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
9870
9941
  return { $loc, token: $1 };
9871
9942
  });
9872
9943
  function Dot(state) {
@@ -9887,7 +9958,7 @@ ${input.slice(result.pos)}
9887
9958
  return result;
9888
9959
  }
9889
9960
  }
9890
- var DotDot$0 = $TV($EXPECT($L107, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
9961
+ var DotDot$0 = $TV($EXPECT($L104, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
9891
9962
  return { $loc, token: $1 };
9892
9963
  });
9893
9964
  function DotDot(state) {
@@ -9908,7 +9979,7 @@ ${input.slice(result.pos)}
9908
9979
  return result;
9909
9980
  }
9910
9981
  }
9911
- var DotDotDot$0 = $TV($EXPECT($L108, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
9982
+ var DotDotDot$0 = $TV($EXPECT($L105, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
9912
9983
  return { $loc, token: $1 };
9913
9984
  });
9914
9985
  function DotDotDot(state) {
@@ -9929,7 +10000,7 @@ ${input.slice(result.pos)}
9929
10000
  return result;
9930
10001
  }
9931
10002
  }
9932
- var DoubleColon$0 = $TV($EXPECT($L109, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
10003
+ var DoubleColon$0 = $TV($EXPECT($L106, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
9933
10004
  return { $loc, token: $1 };
9934
10005
  });
9935
10006
  function DoubleColon(state) {
@@ -9950,7 +10021,7 @@ ${input.slice(result.pos)}
9950
10021
  return result;
9951
10022
  }
9952
10023
  }
9953
- var DoubleQuote$0 = $TV($EXPECT($L110, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
10024
+ var DoubleQuote$0 = $TV($EXPECT($L107, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
9954
10025
  return { $loc, token: $1 };
9955
10026
  });
9956
10027
  function DoubleQuote(state) {
@@ -9971,7 +10042,7 @@ ${input.slice(result.pos)}
9971
10042
  return result;
9972
10043
  }
9973
10044
  }
9974
- var Else$0 = $TS($S($EXPECT($L111, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10045
+ var Else$0 = $TS($S($EXPECT($L108, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9975
10046
  return { $loc, token: $1 };
9976
10047
  });
9977
10048
  function Else(state) {
@@ -9992,7 +10063,7 @@ ${input.slice(result.pos)}
9992
10063
  return result;
9993
10064
  }
9994
10065
  }
9995
- var Equals$0 = $TV($EXPECT($L26, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
10066
+ var Equals$0 = $TV($EXPECT($L24, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
9996
10067
  return { $loc, token: $1 };
9997
10068
  });
9998
10069
  function Equals(state) {
@@ -10013,7 +10084,7 @@ ${input.slice(result.pos)}
10013
10084
  return result;
10014
10085
  }
10015
10086
  }
10016
- var Export$0 = $TS($S($EXPECT($L112, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10087
+ var Export$0 = $TS($S($EXPECT($L109, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10017
10088
  return { $loc, token: $1 };
10018
10089
  });
10019
10090
  function Export(state) {
@@ -10034,7 +10105,28 @@ ${input.slice(result.pos)}
10034
10105
  return result;
10035
10106
  }
10036
10107
  }
10037
- var For$0 = $TS($S($EXPECT($L113, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10108
+ var Extends$0 = $TS($S($EXPECT($L110, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10109
+ return { $loc, token: $1 };
10110
+ });
10111
+ function Extends(state) {
10112
+ if (state.events) {
10113
+ const result = state.events.enter?.("Extends", state);
10114
+ if (result)
10115
+ return result.cache;
10116
+ }
10117
+ if (state.tokenize) {
10118
+ const result = $TOKEN("Extends", state, Extends$0(state));
10119
+ if (state.events)
10120
+ state.events.exit?.("Extends", state, result);
10121
+ return result;
10122
+ } else {
10123
+ const result = Extends$0(state);
10124
+ if (state.events)
10125
+ state.events.exit?.("Extends", state, result);
10126
+ return result;
10127
+ }
10128
+ }
10129
+ var For$0 = $TS($S($EXPECT($L111, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10038
10130
  return { $loc, token: $1 };
10039
10131
  });
10040
10132
  function For(state) {
@@ -10055,7 +10147,7 @@ ${input.slice(result.pos)}
10055
10147
  return result;
10056
10148
  }
10057
10149
  }
10058
- var From$0 = $TS($S($EXPECT($L114, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10150
+ var From$0 = $TS($S($EXPECT($L112, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10059
10151
  return { $loc, token: $1 };
10060
10152
  });
10061
10153
  function From(state) {
@@ -10076,7 +10168,7 @@ ${input.slice(result.pos)}
10076
10168
  return result;
10077
10169
  }
10078
10170
  }
10079
- var Function$0 = $TS($S($EXPECT($L115, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10171
+ var Function$0 = $TS($S($EXPECT($L113, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10080
10172
  return { $loc, token: $1 };
10081
10173
  });
10082
10174
  function Function(state) {
@@ -10097,7 +10189,7 @@ ${input.slice(result.pos)}
10097
10189
  return result;
10098
10190
  }
10099
10191
  }
10100
- var GetOrSet$0 = $TS($S($C($EXPECT($L116, fail, 'GetOrSet "get"'), $EXPECT($L117, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10192
+ var GetOrSet$0 = $TS($S($C($EXPECT($L114, fail, 'GetOrSet "get"'), $EXPECT($L115, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10101
10193
  return { $loc, token: $1, type: "GetOrSet" };
10102
10194
  });
10103
10195
  function GetOrSet(state) {
@@ -10118,7 +10210,7 @@ ${input.slice(result.pos)}
10118
10210
  return result;
10119
10211
  }
10120
10212
  }
10121
- var If$0 = $TV($TEXT($S($EXPECT($L118, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L4, fail, 'If " "')))), function($skip, $loc, $0, $1) {
10213
+ var If$0 = $TV($TEXT($S($EXPECT($L116, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L4, fail, 'If " "')))), function($skip, $loc, $0, $1) {
10122
10214
  return { $loc, token: $1 };
10123
10215
  });
10124
10216
  function If(state) {
@@ -10139,7 +10231,7 @@ ${input.slice(result.pos)}
10139
10231
  return result;
10140
10232
  }
10141
10233
  }
10142
- var Import$0 = $TS($S($EXPECT($L11, fail, 'Import "import"'), $Y($EXPECT($R45, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
10234
+ var Import$0 = $TS($S($EXPECT($L9, fail, 'Import "import"'), $Y($EXPECT($R45, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
10143
10235
  return { $loc, token: $1 };
10144
10236
  });
10145
10237
  function Import(state) {
@@ -10160,7 +10252,7 @@ ${input.slice(result.pos)}
10160
10252
  return result;
10161
10253
  }
10162
10254
  }
10163
- var In$0 = $TS($S($EXPECT($L74, fail, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10255
+ var In$0 = $TS($S($EXPECT($L72, fail, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10164
10256
  return { $loc, token: $1 };
10165
10257
  });
10166
10258
  function In(state) {
@@ -10181,7 +10273,7 @@ ${input.slice(result.pos)}
10181
10273
  return result;
10182
10274
  }
10183
10275
  }
10184
- var LetOrConst$0 = $TS($S($C($EXPECT($L119, fail, 'LetOrConst "let"'), $EXPECT($L120, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10276
+ var LetOrConst$0 = $TS($S($C($EXPECT($L117, fail, 'LetOrConst "let"'), $EXPECT($L118, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10185
10277
  return { $loc, token: $1 };
10186
10278
  });
10187
10279
  function LetOrConst(state) {
@@ -10202,7 +10294,7 @@ ${input.slice(result.pos)}
10202
10294
  return result;
10203
10295
  }
10204
10296
  }
10205
- var Loop$0 = $TS($S($EXPECT($L121, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10297
+ var Loop$0 = $TS($S($EXPECT($L119, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10206
10298
  return { $loc, token: "while(true)" };
10207
10299
  });
10208
10300
  function Loop(state) {
@@ -10223,7 +10315,7 @@ ${input.slice(result.pos)}
10223
10315
  return result;
10224
10316
  }
10225
10317
  }
10226
- var New$0 = $TS($S($EXPECT($L122, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10318
+ var New$0 = $TS($S($EXPECT($L120, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10227
10319
  return { $loc, token: $1 };
10228
10320
  });
10229
10321
  function New(state) {
@@ -10244,7 +10336,7 @@ ${input.slice(result.pos)}
10244
10336
  return result;
10245
10337
  }
10246
10338
  }
10247
- var Not$0 = $TS($S(CoffeeNotEnabled, $EXPECT($L73, fail, 'Not "not"'), NonIdContinue, $E($EXPECT($L4, fail, 'Not " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
10339
+ var Not$0 = $TS($S(CoffeeNotEnabled, $EXPECT($L71, fail, 'Not "not"'), NonIdContinue, $E($EXPECT($L4, fail, 'Not " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
10248
10340
  return { $loc, token: "!" };
10249
10341
  });
10250
10342
  function Not(state) {
@@ -10265,7 +10357,7 @@ ${input.slice(result.pos)}
10265
10357
  return result;
10266
10358
  }
10267
10359
  }
10268
- var Of$0 = $TS($S($EXPECT($L67, fail, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10360
+ var Of$0 = $TS($S($EXPECT($L65, fail, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10269
10361
  return { $loc, token: $1 };
10270
10362
  });
10271
10363
  function Of(state) {
@@ -10286,7 +10378,28 @@ ${input.slice(result.pos)}
10286
10378
  return result;
10287
10379
  }
10288
10380
  }
10289
- var OpenBrace$0 = $TV($EXPECT($L123, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
10381
+ var OpenAngleBracket$0 = $TV($EXPECT($L121, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
10382
+ return { $loc, token: $1 };
10383
+ });
10384
+ function OpenAngleBracket(state) {
10385
+ if (state.events) {
10386
+ const result = state.events.enter?.("OpenAngleBracket", state);
10387
+ if (result)
10388
+ return result.cache;
10389
+ }
10390
+ if (state.tokenize) {
10391
+ const result = $TOKEN("OpenAngleBracket", state, OpenAngleBracket$0(state));
10392
+ if (state.events)
10393
+ state.events.exit?.("OpenAngleBracket", state, result);
10394
+ return result;
10395
+ } else {
10396
+ const result = OpenAngleBracket$0(state);
10397
+ if (state.events)
10398
+ state.events.exit?.("OpenAngleBracket", state, result);
10399
+ return result;
10400
+ }
10401
+ }
10402
+ var OpenBrace$0 = $TV($EXPECT($L122, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
10290
10403
  return { $loc, token: $1 };
10291
10404
  });
10292
10405
  function OpenBrace(state) {
@@ -10307,7 +10420,7 @@ ${input.slice(result.pos)}
10307
10420
  return result;
10308
10421
  }
10309
10422
  }
10310
- var OpenBracket$0 = $TV($EXPECT($L124, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
10423
+ var OpenBracket$0 = $TV($EXPECT($L123, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
10311
10424
  return { $loc, token: $1 };
10312
10425
  });
10313
10426
  function OpenBracket(state) {
@@ -10328,7 +10441,7 @@ ${input.slice(result.pos)}
10328
10441
  return result;
10329
10442
  }
10330
10443
  }
10331
- var OpenParen$0 = $TV($EXPECT($L125, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
10444
+ var OpenParen$0 = $TV($EXPECT($L124, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
10332
10445
  return { $loc, token: $1 };
10333
10446
  });
10334
10447
  function OpenParen(state) {
@@ -10349,7 +10462,7 @@ ${input.slice(result.pos)}
10349
10462
  return result;
10350
10463
  }
10351
10464
  }
10352
- var Public$0 = $TS($S($EXPECT($L126, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10465
+ var Public$0 = $TS($S($EXPECT($L125, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10353
10466
  return { $loc, token: $1 };
10354
10467
  });
10355
10468
  function Public(state) {
@@ -10370,7 +10483,7 @@ ${input.slice(result.pos)}
10370
10483
  return result;
10371
10484
  }
10372
10485
  }
10373
- var Private$0 = $TS($S($EXPECT($L127, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10486
+ var Private$0 = $TS($S($EXPECT($L126, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10374
10487
  return { $loc, token: $1 };
10375
10488
  });
10376
10489
  function Private(state) {
@@ -10391,7 +10504,7 @@ ${input.slice(result.pos)}
10391
10504
  return result;
10392
10505
  }
10393
10506
  }
10394
- var Protected$0 = $TS($S($EXPECT($L128, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10507
+ var Protected$0 = $TS($S($EXPECT($L127, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10395
10508
  return { $loc, token: $1 };
10396
10509
  });
10397
10510
  function Protected(state) {
@@ -10412,7 +10525,7 @@ ${input.slice(result.pos)}
10412
10525
  return result;
10413
10526
  }
10414
10527
  }
10415
- var Pipe$0 = $TV($EXPECT($L129, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
10528
+ var Pipe$0 = $TV($EXPECT($L128, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
10416
10529
  return { $loc, token: $1 };
10417
10530
  });
10418
10531
  function Pipe(state) {
@@ -10433,7 +10546,7 @@ ${input.slice(result.pos)}
10433
10546
  return result;
10434
10547
  }
10435
10548
  }
10436
- var QuestionMark$0 = $TV($EXPECT($L71, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
10549
+ var QuestionMark$0 = $TV($EXPECT($L69, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
10437
10550
  return { $loc, token: $1 };
10438
10551
  });
10439
10552
  function QuestionMark(state) {
@@ -10454,7 +10567,7 @@ ${input.slice(result.pos)}
10454
10567
  return result;
10455
10568
  }
10456
10569
  }
10457
- var Readonly$0 = $TS($S($EXPECT($L130, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10570
+ var Readonly$0 = $TS($S($EXPECT($L129, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10458
10571
  return { $loc, token: $1, ts: true };
10459
10572
  });
10460
10573
  function Readonly(state) {
@@ -10475,7 +10588,7 @@ ${input.slice(result.pos)}
10475
10588
  return result;
10476
10589
  }
10477
10590
  }
10478
- var Return$0 = $TS($S($EXPECT($L131, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10591
+ var Return$0 = $TS($S($EXPECT($L130, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10479
10592
  return { $loc, token: $1 };
10480
10593
  });
10481
10594
  function Return(state) {
@@ -10496,7 +10609,7 @@ ${input.slice(result.pos)}
10496
10609
  return result;
10497
10610
  }
10498
10611
  }
10499
- var Satisfies$0 = $TS($S($EXPECT($L132, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10612
+ var Satisfies$0 = $TS($S($EXPECT($L131, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10500
10613
  return { $loc, token: $1 };
10501
10614
  });
10502
10615
  function Satisfies(state) {
@@ -10517,7 +10630,7 @@ ${input.slice(result.pos)}
10517
10630
  return result;
10518
10631
  }
10519
10632
  }
10520
- var Semicolon$0 = $TV($EXPECT($L79, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
10633
+ var Semicolon$0 = $TV($EXPECT($L77, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
10521
10634
  return { $loc, token: $1 };
10522
10635
  });
10523
10636
  function Semicolon(state) {
@@ -10538,7 +10651,7 @@ ${input.slice(result.pos)}
10538
10651
  return result;
10539
10652
  }
10540
10653
  }
10541
- var SingleQuote$0 = $TV($EXPECT($L133, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
10654
+ var SingleQuote$0 = $TV($EXPECT($L132, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
10542
10655
  return { $loc, token: $1 };
10543
10656
  });
10544
10657
  function SingleQuote(state) {
@@ -10559,7 +10672,7 @@ ${input.slice(result.pos)}
10559
10672
  return result;
10560
10673
  }
10561
10674
  }
10562
- var Star$0 = $TV($EXPECT($L49, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
10675
+ var Star$0 = $TV($EXPECT($L47, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
10563
10676
  return { $loc, token: $1 };
10564
10677
  });
10565
10678
  function Star(state) {
@@ -10580,10 +10693,10 @@ ${input.slice(result.pos)}
10580
10693
  return result;
10581
10694
  }
10582
10695
  }
10583
- var Static$0 = $TS($S($EXPECT($L134, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10696
+ var Static$0 = $TS($S($EXPECT($L133, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10584
10697
  return { $loc, token: $1 };
10585
10698
  });
10586
- var Static$1 = $TS($S($EXPECT($L95, fail, 'Static "@"'), $N($C($EXPECT($L125, fail, 'Static "("'), $EXPECT($L95, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
10699
+ var Static$1 = $TS($S($EXPECT($L92, fail, 'Static "@"'), $N($C($EXPECT($L124, fail, 'Static "("'), $EXPECT($L92, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
10587
10700
  return { $loc, token: "static " };
10588
10701
  });
10589
10702
  function Static(state) {
@@ -10604,7 +10717,7 @@ ${input.slice(result.pos)}
10604
10717
  return result;
10605
10718
  }
10606
10719
  }
10607
- var SubstitutionStart$0 = $TV($EXPECT($L135, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
10720
+ var SubstitutionStart$0 = $TV($EXPECT($L134, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
10608
10721
  return { $loc, token: $1 };
10609
10722
  });
10610
10723
  function SubstitutionStart(state) {
@@ -10625,7 +10738,7 @@ ${input.slice(result.pos)}
10625
10738
  return result;
10626
10739
  }
10627
10740
  }
10628
- var Switch$0 = $TS($S($EXPECT($L136, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10741
+ var Switch$0 = $TS($S($EXPECT($L135, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10629
10742
  return { $loc, token: $1 };
10630
10743
  });
10631
10744
  function Switch(state) {
@@ -10646,7 +10759,7 @@ ${input.slice(result.pos)}
10646
10759
  return result;
10647
10760
  }
10648
10761
  }
10649
- var Target$0 = $TS($S($EXPECT($L137, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10762
+ var Target$0 = $TS($S($EXPECT($L136, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10650
10763
  return { $loc, token: $1 };
10651
10764
  });
10652
10765
  function Target(state) {
@@ -10667,7 +10780,7 @@ ${input.slice(result.pos)}
10667
10780
  return result;
10668
10781
  }
10669
10782
  }
10670
- var Then$0 = $TS($S(__, $EXPECT($L138, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
10783
+ var Then$0 = $TS($S(__, $EXPECT($L137, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
10671
10784
  return { $loc, token: "" };
10672
10785
  });
10673
10786
  function Then(state) {
@@ -10688,7 +10801,7 @@ ${input.slice(result.pos)}
10688
10801
  return result;
10689
10802
  }
10690
10803
  }
10691
- var This$0 = $TS($S($EXPECT($L139, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10804
+ var This$0 = $TS($S($EXPECT($L138, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10692
10805
  return { $loc, token: $1 };
10693
10806
  });
10694
10807
  function This(state) {
@@ -10709,7 +10822,7 @@ ${input.slice(result.pos)}
10709
10822
  return result;
10710
10823
  }
10711
10824
  }
10712
- var Throw$0 = $TS($S($EXPECT($L140, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10825
+ var Throw$0 = $TS($S($EXPECT($L139, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10713
10826
  return { $loc, token: $1 };
10714
10827
  });
10715
10828
  function Throw(state) {
@@ -10730,7 +10843,7 @@ ${input.slice(result.pos)}
10730
10843
  return result;
10731
10844
  }
10732
10845
  }
10733
- var TripleDoubleQuote$0 = $TV($EXPECT($L141, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
10846
+ var TripleDoubleQuote$0 = $TV($EXPECT($L140, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
10734
10847
  return { $loc, token: "`" };
10735
10848
  });
10736
10849
  function TripleDoubleQuote(state) {
@@ -10751,7 +10864,7 @@ ${input.slice(result.pos)}
10751
10864
  return result;
10752
10865
  }
10753
10866
  }
10754
- var TripleSingleQuote$0 = $TV($EXPECT($L142, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
10867
+ var TripleSingleQuote$0 = $TV($EXPECT($L141, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
10755
10868
  return { $loc, token: "`" };
10756
10869
  });
10757
10870
  function TripleSingleQuote(state) {
@@ -10772,7 +10885,7 @@ ${input.slice(result.pos)}
10772
10885
  return result;
10773
10886
  }
10774
10887
  }
10775
- var TripleSlash$0 = $TV($EXPECT($L143, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
10888
+ var TripleSlash$0 = $TV($EXPECT($L142, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
10776
10889
  return { $loc, token: "/" };
10777
10890
  });
10778
10891
  function TripleSlash(state) {
@@ -10793,7 +10906,7 @@ ${input.slice(result.pos)}
10793
10906
  return result;
10794
10907
  }
10795
10908
  }
10796
- var TripleTick$0 = $TV($EXPECT($L144, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
10909
+ var TripleTick$0 = $TV($EXPECT($L143, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
10797
10910
  return { $loc, token: "`" };
10798
10911
  });
10799
10912
  function TripleTick(state) {
@@ -10814,7 +10927,7 @@ ${input.slice(result.pos)}
10814
10927
  return result;
10815
10928
  }
10816
10929
  }
10817
- var Try$0 = $TS($S($EXPECT($L145, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10930
+ var Try$0 = $TS($S($EXPECT($L144, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10818
10931
  return { $loc, token: $1 };
10819
10932
  });
10820
10933
  function Try(state) {
@@ -10835,7 +10948,7 @@ ${input.slice(result.pos)}
10835
10948
  return result;
10836
10949
  }
10837
10950
  }
10838
- var Typeof$0 = $TS($S($EXPECT($L146, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10951
+ var Typeof$0 = $TS($S($EXPECT($L145, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10839
10952
  return { $loc, token: $1 };
10840
10953
  });
10841
10954
  function Typeof(state) {
@@ -10856,7 +10969,7 @@ ${input.slice(result.pos)}
10856
10969
  return result;
10857
10970
  }
10858
10971
  }
10859
- var Unless$0 = $TS($S($EXPECT($L147, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10972
+ var Unless$0 = $TS($S($EXPECT($L146, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10860
10973
  return { $loc, token: $1 };
10861
10974
  });
10862
10975
  function Unless(state) {
@@ -10877,7 +10990,7 @@ ${input.slice(result.pos)}
10877
10990
  return result;
10878
10991
  }
10879
10992
  }
10880
- var Until$0 = $TS($S($EXPECT($L148, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10993
+ var Until$0 = $TS($S($EXPECT($L147, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10881
10994
  return { $loc, token: $1 };
10882
10995
  });
10883
10996
  function Until(state) {
@@ -10898,7 +11011,7 @@ ${input.slice(result.pos)}
10898
11011
  return result;
10899
11012
  }
10900
11013
  }
10901
- var Var$0 = $TS($S($EXPECT($L149, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11014
+ var Var$0 = $TS($S($EXPECT($L148, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10902
11015
  return { $loc, token: $1 };
10903
11016
  });
10904
11017
  function Var(state) {
@@ -10919,7 +11032,7 @@ ${input.slice(result.pos)}
10919
11032
  return result;
10920
11033
  }
10921
11034
  }
10922
- var Void$0 = $TS($S($EXPECT($L150, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11035
+ var Void$0 = $TS($S($EXPECT($L149, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10923
11036
  return { $loc, token: $1 };
10924
11037
  });
10925
11038
  function Void(state) {
@@ -10940,7 +11053,7 @@ ${input.slice(result.pos)}
10940
11053
  return result;
10941
11054
  }
10942
11055
  }
10943
- var When$0 = $TS($S($EXPECT($L151, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11056
+ var When$0 = $TS($S($EXPECT($L150, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10944
11057
  return { $loc, token: "case" };
10945
11058
  });
10946
11059
  function When(state) {
@@ -10961,7 +11074,7 @@ ${input.slice(result.pos)}
10961
11074
  return result;
10962
11075
  }
10963
11076
  }
10964
- var While$0 = $TS($S($EXPECT($L152, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11077
+ var While$0 = $TS($S($EXPECT($L151, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10965
11078
  return { $loc, token: $1 };
10966
11079
  });
10967
11080
  function While(state) {
@@ -10982,7 +11095,7 @@ ${input.slice(result.pos)}
10982
11095
  return result;
10983
11096
  }
10984
11097
  }
10985
- var Yield$0 = $TS($S($EXPECT($L153, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11098
+ var Yield$0 = $TS($S($EXPECT($L152, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10986
11099
  return { $loc, token: $1 };
10987
11100
  });
10988
11101
  function Yield(state) {
@@ -11003,29 +11116,62 @@ ${input.slice(result.pos)}
11003
11116
  return result;
11004
11117
  }
11005
11118
  }
11006
- var TypedJSXElement$0 = $TS($S(JSXElement), function($skip, $loc, $0, $1) {
11007
- const type = module2.typeOfJSXElement($1);
11119
+ var JSXImplicitFragment$0 = $TS($S(JSXTag, $Q($S(Samedent, JSXTag))), function($skip, $loc, $0, $1, $2) {
11120
+ const jsx = $2.length === 0 ? $1 : {
11121
+ type: "JSXFragment",
11122
+ children: [
11123
+ "<>\n",
11124
+ module2.currentIndent.token,
11125
+ ...$0,
11126
+ "\n",
11127
+ module2.currentIndent.token,
11128
+ "</>"
11129
+ ],
11130
+ jsxChildren: [$1].concat($2.map(([, tag]) => tag))
11131
+ };
11132
+ const type = module2.typeOfJSX(jsx);
11008
11133
  return type ? [
11009
11134
  { ts: true, children: ["("] },
11010
- $1,
11135
+ jsx,
11011
11136
  { ts: true, children: [" as any as ", type, ")"] }
11012
- ] : $1;
11137
+ ] : jsx;
11013
11138
  });
11014
- function TypedJSXElement(state) {
11139
+ function JSXImplicitFragment(state) {
11015
11140
  if (state.events) {
11016
- const result = state.events.enter?.("TypedJSXElement", state);
11141
+ const result = state.events.enter?.("JSXImplicitFragment", state);
11017
11142
  if (result)
11018
11143
  return result.cache;
11019
11144
  }
11020
11145
  if (state.tokenize) {
11021
- const result = $TOKEN("TypedJSXElement", state, TypedJSXElement$0(state));
11146
+ const result = $TOKEN("JSXImplicitFragment", state, JSXImplicitFragment$0(state));
11022
11147
  if (state.events)
11023
- state.events.exit?.("TypedJSXElement", state, result);
11148
+ state.events.exit?.("JSXImplicitFragment", state, result);
11024
11149
  return result;
11025
11150
  } else {
11026
- const result = TypedJSXElement$0(state);
11151
+ const result = JSXImplicitFragment$0(state);
11027
11152
  if (state.events)
11028
- state.events.exit?.("TypedJSXElement", state, result);
11153
+ state.events.exit?.("JSXImplicitFragment", state, result);
11154
+ return result;
11155
+ }
11156
+ }
11157
+ var JSXTag$0 = JSXElement;
11158
+ var JSXTag$1 = JSXFragment;
11159
+ var JSXTag$2 = JSXComment;
11160
+ function JSXTag(state) {
11161
+ if (state.events) {
11162
+ const result = state.events.enter?.("JSXTag", state);
11163
+ if (result)
11164
+ return result.cache;
11165
+ }
11166
+ if (state.tokenize) {
11167
+ const result = $TOKEN("JSXTag", state, JSXTag$0(state) || JSXTag$1(state) || JSXTag$2(state));
11168
+ if (state.events)
11169
+ state.events.exit?.("JSXTag", state, result);
11170
+ return result;
11171
+ } else {
11172
+ const result = JSXTag$0(state) || JSXTag$1(state) || JSXTag$2(state);
11173
+ if (state.events)
11174
+ state.events.exit?.("JSXTag", state, result);
11029
11175
  return result;
11030
11176
  }
11031
11177
  }
@@ -11065,7 +11211,7 @@ ${input.slice(result.pos)}
11065
11211
  return result;
11066
11212
  }
11067
11213
  }
11068
- var JSXSelfClosingElement$0 = $TS($S($EXPECT($L5, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L154, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
11214
+ var JSXSelfClosingElement$0 = $TS($S($EXPECT($L121, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L153, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
11069
11215
  return { type: "JSXElement", children: $0 };
11070
11216
  });
11071
11217
  function JSXSelfClosingElement(state) {
@@ -11086,7 +11232,7 @@ ${input.slice(result.pos)}
11086
11232
  return result;
11087
11233
  }
11088
11234
  }
11089
- var JSXOpeningElement$0 = $S($EXPECT($L5, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L27, fail, 'JSXOpeningElement ">"'));
11235
+ var JSXOpeningElement$0 = $S($EXPECT($L121, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L25, fail, 'JSXOpeningElement ">"'));
11090
11236
  function JSXOpeningElement(state) {
11091
11237
  if (state.events) {
11092
11238
  const result = state.events.enter?.("JSXOpeningElement", state);
@@ -11105,7 +11251,7 @@ ${input.slice(result.pos)}
11105
11251
  return result;
11106
11252
  }
11107
11253
  }
11108
- var JSXClosingElement$0 = $S($EXPECT($L155, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L27, fail, 'JSXClosingElement ">"'));
11254
+ var JSXClosingElement$0 = $S($EXPECT($L154, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L25, fail, 'JSXClosingElement ">"'));
11109
11255
  function JSXClosingElement(state) {
11110
11256
  if (state.events) {
11111
11257
  const result = state.events.enter?.("JSXClosingElement", state);
@@ -11124,40 +11270,14 @@ ${input.slice(result.pos)}
11124
11270
  return result;
11125
11271
  }
11126
11272
  }
11127
- var TypedJSXFragment$0 = $TS($S(JSXFragment), function($skip, $loc, $0, $1) {
11128
- const type = module2.typeOfJSXFragment($1);
11129
- return type ? [
11130
- { ts: true, children: ["("] },
11131
- $1,
11132
- { ts: true, children: [" as any as ", type, ")"] }
11133
- ] : $1;
11134
- });
11135
- function TypedJSXFragment(state) {
11136
- if (state.events) {
11137
- const result = state.events.enter?.("TypedJSXFragment", state);
11138
- if (result)
11139
- return result.cache;
11140
- }
11141
- if (state.tokenize) {
11142
- const result = $TOKEN("TypedJSXFragment", state, TypedJSXFragment$0(state));
11143
- if (state.events)
11144
- state.events.exit?.("TypedJSXFragment", state, result);
11145
- return result;
11146
- } else {
11147
- const result = TypedJSXFragment$0(state);
11148
- if (state.events)
11149
- state.events.exit?.("TypedJSXFragment", state, result);
11150
- return result;
11151
- }
11152
- }
11153
- var JSXFragment$0 = $TS($S($EXPECT($L156, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), $EXPECT($L157, fail, 'JSXFragment "</>"')), function($skip, $loc, $0, $1, $2, $3, $4) {
11273
+ var JSXFragment$0 = $TS($S($EXPECT($L155, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), $EXPECT($L156, fail, 'JSXFragment "</>"')), function($skip, $loc, $0, $1, $2, $3, $4) {
11154
11274
  if ($2) {
11155
11275
  return { type: "JSXFragment", children: $0, jsxChildren: $2.jsxChildren };
11156
11276
  } else {
11157
11277
  return { type: "JSXFragment", children: $0, jsxChildren: [] };
11158
11278
  }
11159
11279
  });
11160
- var JSXFragment$1 = $TS($S($EXPECT($L156, fail, 'JSXFragment "<>"'), JSXMixedChildren, InsertNewline, InsertIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
11280
+ var JSXFragment$1 = $TS($S($EXPECT($L155, fail, 'JSXFragment "<>"'), JSXMixedChildren, InsertNewline, InsertIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
11161
11281
  return { type: "JSXFragment", children: [...$0, "</>"], jsxChildren: $2.jsxChildren };
11162
11282
  });
11163
11283
  function JSXFragment(state) {
@@ -11368,7 +11488,7 @@ ${input.slice(result.pos)}
11368
11488
  }
11369
11489
  });
11370
11490
  var JSXAttribute$2 = $S(InsertInlineOpenBrace, DotDotDot, InlineJSXAttributeValue, InsertCloseBrace);
11371
- var JSXAttribute$3 = $TS($S($EXPECT($L8, fail, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
11491
+ var JSXAttribute$3 = $TS($S($EXPECT($L6, fail, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
11372
11492
  return [" ", "id=", $2];
11373
11493
  });
11374
11494
  var JSXAttribute$4 = $TS($S(Dot, JSXShorthandString), function($skip, $loc, $0, $1, $2) {
@@ -11377,6 +11497,12 @@ ${input.slice(result.pos)}
11377
11497
  class: $2
11378
11498
  };
11379
11499
  });
11500
+ var JSXAttribute$5 = $TS($S($TEXT($EXPECT($R4, fail, "JSXAttribute /[!+-]/")), JSXAttributeName), function($skip, $loc, $0, $1, $2) {
11501
+ var toggle = $1;
11502
+ var id = $2;
11503
+ const value = toggle === "+" ? "true" : "false";
11504
+ return [" ", id, "={", value, "}"];
11505
+ });
11380
11506
  function JSXAttribute(state) {
11381
11507
  if (state.events) {
11382
11508
  const result = state.events.enter?.("JSXAttribute", state);
@@ -11384,12 +11510,12 @@ ${input.slice(result.pos)}
11384
11510
  return result.cache;
11385
11511
  }
11386
11512
  if (state.tokenize) {
11387
- const result = $TOKEN("JSXAttribute", state, JSXAttribute$0(state) || JSXAttribute$1(state) || JSXAttribute$2(state) || JSXAttribute$3(state) || JSXAttribute$4(state));
11513
+ const result = $TOKEN("JSXAttribute", state, JSXAttribute$0(state) || JSXAttribute$1(state) || JSXAttribute$2(state) || JSXAttribute$3(state) || JSXAttribute$4(state) || JSXAttribute$5(state));
11388
11514
  if (state.events)
11389
11515
  state.events.exit?.("JSXAttribute", state, result);
11390
11516
  return result;
11391
11517
  } else {
11392
- const result = JSXAttribute$0(state) || JSXAttribute$1(state) || JSXAttribute$2(state) || JSXAttribute$3(state) || JSXAttribute$4(state);
11518
+ const result = JSXAttribute$0(state) || JSXAttribute$1(state) || JSXAttribute$2(state) || JSXAttribute$3(state) || JSXAttribute$4(state) || JSXAttribute$5(state);
11393
11519
  if (state.events)
11394
11520
  state.events.exit?.("JSXAttribute", state, result);
11395
11521
  return result;
@@ -11625,8 +11751,8 @@ ${input.slice(result.pos)}
11625
11751
  return result;
11626
11752
  }
11627
11753
  }
11628
- var InlineJSXCallExpression$0 = $S($EXPECT($L10, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments);
11629
- var InlineJSXCallExpression$1 = $S($EXPECT($L11, fail, 'InlineJSXCallExpression "import"'), OpenParen, ExtendedExpression, __, CloseParen);
11754
+ var InlineJSXCallExpression$0 = $S($EXPECT($L8, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments);
11755
+ var InlineJSXCallExpression$1 = $S($EXPECT($L9, fail, 'InlineJSXCallExpression "import"'), OpenParen, ExtendedExpression, __, CloseParen);
11630
11756
  var InlineJSXCallExpression$2 = $TS($S(InlineJSXMemberExpression, $Q(InlineJSXCallExpressionRest)), function($skip, $loc, $0, $1, $2) {
11631
11757
  if ($2.length)
11632
11758
  return $0;
@@ -11813,7 +11939,7 @@ ${input.slice(result.pos)}
11813
11939
  }
11814
11940
  return $skip;
11815
11941
  });
11816
- var JSXNestedChildren$1 = $TV($Y($C(EOS, $EXPECT($L17, fail, 'JSXNestedChildren "}"'))), function($skip, $loc, $0, $1) {
11942
+ var JSXNestedChildren$1 = $TV($Y($C(EOS, $EXPECT($L15, fail, 'JSXNestedChildren "}"'))), function($skip, $loc, $0, $1) {
11817
11943
  return { children: [], jsxChildren: [] };
11818
11944
  });
11819
11945
  function JSXNestedChildren(state) {
@@ -11880,7 +12006,7 @@ ${input.slice(result.pos)}
11880
12006
  return result;
11881
12007
  }
11882
12008
  }
11883
- var JSXComment$0 = $TS($S($EXPECT($L158, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L159, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
12009
+ var JSXComment$0 = $TS($S($EXPECT($L157, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L158, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
11884
12010
  return ["{/*", $2, "*/}"];
11885
12011
  });
11886
12012
  function JSXComment(state) {
@@ -12029,7 +12155,7 @@ ${input.slice(result.pos)}
12029
12155
  return result;
12030
12156
  }
12031
12157
  }
12032
- var TypeDeclarationModifier$0 = $S($EXPECT($L160, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
12158
+ var TypeDeclarationModifier$0 = $S($EXPECT($L159, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
12033
12159
  var TypeDeclarationModifier$1 = Export;
12034
12160
  function TypeDeclarationModifier(state) {
12035
12161
  if (state.events) {
@@ -12071,7 +12197,7 @@ ${input.slice(result.pos)}
12071
12197
  return result;
12072
12198
  }
12073
12199
  }
12074
- var TypeKeyword$0 = $S($EXPECT($L161, fail, 'TypeKeyword "type"'), NonIdContinue);
12200
+ var TypeKeyword$0 = $S($EXPECT($L160, fail, 'TypeKeyword "type"'), NonIdContinue);
12075
12201
  function TypeKeyword(state) {
12076
12202
  if (state.events) {
12077
12203
  const result = state.events.enter?.("TypeKeyword", state);
@@ -12090,7 +12216,7 @@ ${input.slice(result.pos)}
12090
12216
  return result;
12091
12217
  }
12092
12218
  }
12093
- var Interface$0 = $S($EXPECT($L162, fail, 'Interface "interface"'), NonIdContinue);
12219
+ var Interface$0 = $S($EXPECT($L161, fail, 'Interface "interface"'), NonIdContinue);
12094
12220
  function Interface(state) {
12095
12221
  if (state.events) {
12096
12222
  const result = state.events.enter?.("Interface", state);
@@ -12109,7 +12235,7 @@ ${input.slice(result.pos)}
12109
12235
  return result;
12110
12236
  }
12111
12237
  }
12112
- var Namespace$0 = $S($EXPECT($L163, fail, 'Namespace "namespace"'), NonIdContinue);
12238
+ var Namespace$0 = $S($EXPECT($L162, fail, 'Namespace "namespace"'), NonIdContinue);
12113
12239
  function Namespace(state) {
12114
12240
  if (state.events) {
12115
12241
  const result = state.events.enter?.("Namespace", state);
@@ -12298,7 +12424,7 @@ ${input.slice(result.pos)}
12298
12424
  return result;
12299
12425
  }
12300
12426
  }
12301
- var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R50, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L130, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R4, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
12427
+ var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R50, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L129, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R51, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
12302
12428
  function TypeIndexSignature(state) {
12303
12429
  if (state.events) {
12304
12430
  const result = state.events.enter?.("TypeIndexSignature", state);
@@ -12358,7 +12484,7 @@ ${input.slice(result.pos)}
12358
12484
  return result;
12359
12485
  }
12360
12486
  }
12361
- var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L164, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
12487
+ var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L163, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
12362
12488
  const children = [...$1, $2];
12363
12489
  if ($3)
12364
12490
  children.push($3);
@@ -12387,7 +12513,7 @@ ${input.slice(result.pos)}
12387
12513
  return result;
12388
12514
  }
12389
12515
  }
12390
- var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L75, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
12516
+ var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L73, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
12391
12517
  if (!$2)
12392
12518
  return $1;
12393
12519
  return $0;
@@ -12493,10 +12619,10 @@ ${input.slice(result.pos)}
12493
12619
  return result;
12494
12620
  }
12495
12621
  }
12496
- var TypeUnaryOp$0 = $S($EXPECT($L165, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
12497
- var TypeUnaryOp$1 = $S($EXPECT($L146, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
12498
- var TypeUnaryOp$2 = $S($EXPECT($L166, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
12499
- var TypeUnaryOp$3 = $S($EXPECT($L130, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
12622
+ var TypeUnaryOp$0 = $S($EXPECT($L164, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
12623
+ var TypeUnaryOp$1 = $S($EXPECT($L145, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
12624
+ var TypeUnaryOp$2 = $S($EXPECT($L165, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
12625
+ var TypeUnaryOp$3 = $S($EXPECT($L129, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
12500
12626
  function TypeUnaryOp(state) {
12501
12627
  if (state.events) {
12502
12628
  const result = state.events.enter?.("TypeUnaryOp", state);
@@ -12640,7 +12766,7 @@ ${input.slice(result.pos)}
12640
12766
  return result;
12641
12767
  }
12642
12768
  }
12643
- var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L6, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
12769
+ var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L110, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
12644
12770
  if ($2)
12645
12771
  return $0;
12646
12772
  return $1;
@@ -12665,10 +12791,10 @@ ${input.slice(result.pos)}
12665
12791
  }
12666
12792
  var TypeLiteral$0 = Literal;
12667
12793
  var TypeLiteral$1 = TemplateLiteral;
12668
- var TypeLiteral$2 = $TS($S($EXPECT($L150, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12794
+ var TypeLiteral$2 = $TS($S($EXPECT($L149, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12669
12795
  return { $loc, token: "void" };
12670
12796
  });
12671
- var TypeLiteral$3 = $TV($EXPECT($L167, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
12797
+ var TypeLiteral$3 = $TV($EXPECT($L166, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
12672
12798
  return { $loc, token: "[]" };
12673
12799
  });
12674
12800
  function TypeLiteral(state) {
@@ -12689,10 +12815,10 @@ ${input.slice(result.pos)}
12689
12815
  return result;
12690
12816
  }
12691
12817
  }
12692
- var TypeBinaryOp$0 = $TV($EXPECT($L78, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
12818
+ var TypeBinaryOp$0 = $TV($EXPECT($L76, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
12693
12819
  return { $loc, token: "|" };
12694
12820
  });
12695
- var TypeBinaryOp$1 = $TV($EXPECT($L76, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
12821
+ var TypeBinaryOp$1 = $TV($EXPECT($L74, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
12696
12822
  return { $loc, token: "&" };
12697
12823
  });
12698
12824
  function TypeBinaryOp(state) {
@@ -12732,7 +12858,7 @@ ${input.slice(result.pos)}
12732
12858
  return result;
12733
12859
  }
12734
12860
  }
12735
- var TypeArguments$0 = $TS($S(__, $EXPECT($L5, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12861
+ var TypeArguments$0 = $TS($S(__, $EXPECT($L121, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L25, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12736
12862
  return { ts: true, children: $0 };
12737
12863
  });
12738
12864
  function TypeArguments(state) {
@@ -12753,7 +12879,7 @@ ${input.slice(result.pos)}
12753
12879
  return result;
12754
12880
  }
12755
12881
  }
12756
- var CompactTypeArguments$0 = $TS($S($EXPECT($L5, fail, 'CompactTypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'CompactTypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
12882
+ var CompactTypeArguments$0 = $TS($S($EXPECT($L121, fail, 'CompactTypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L25, fail, 'CompactTypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
12757
12883
  return { ts: true, children: $0 };
12758
12884
  });
12759
12885
  function CompactTypeArguments(state) {
@@ -12812,7 +12938,7 @@ ${input.slice(result.pos)}
12812
12938
  return result;
12813
12939
  }
12814
12940
  }
12815
- var TypeParameters$0 = $TS($S(__, $EXPECT($L5, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L27, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12941
+ var TypeParameters$0 = $TS($S(__, $EXPECT($L121, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L25, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12816
12942
  var parameters = $3;
12817
12943
  return {
12818
12944
  type: "TypeParameters",
@@ -12839,7 +12965,7 @@ ${input.slice(result.pos)}
12839
12965
  return result;
12840
12966
  }
12841
12967
  }
12842
- var TypeParameter$0 = $S(__, Identifier, $E(TypeConstraint), TypeParameterDelimiter);
12968
+ var TypeParameter$0 = $S(__, Identifier, $E(TypeConstraint), $E(TypeInitializer), TypeParameterDelimiter);
12843
12969
  function TypeParameter(state) {
12844
12970
  if (state.events) {
12845
12971
  const result = state.events.enter?.("TypeParameter", state);
@@ -12858,7 +12984,7 @@ ${input.slice(result.pos)}
12858
12984
  return result;
12859
12985
  }
12860
12986
  }
12861
- var TypeConstraint$0 = $S(__, $EXPECT($L6, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
12987
+ var TypeConstraint$0 = $S(__, $EXPECT($L110, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
12862
12988
  function TypeConstraint(state) {
12863
12989
  if (state.events) {
12864
12990
  const result = state.events.enter?.("TypeConstraint", state);
@@ -12877,8 +13003,27 @@ ${input.slice(result.pos)}
12877
13003
  return result;
12878
13004
  }
12879
13005
  }
13006
+ var TypeInitializer$0 = $S(__, $EXPECT($L24, fail, 'TypeInitializer "="'), Type);
13007
+ function TypeInitializer(state) {
13008
+ if (state.events) {
13009
+ const result = state.events.enter?.("TypeInitializer", state);
13010
+ if (result)
13011
+ return result.cache;
13012
+ }
13013
+ if (state.tokenize) {
13014
+ const result = $TOKEN("TypeInitializer", state, TypeInitializer$0(state));
13015
+ if (state.events)
13016
+ state.events.exit?.("TypeInitializer", state, result);
13017
+ return result;
13018
+ } else {
13019
+ const result = TypeInitializer$0(state);
13020
+ if (state.events)
13021
+ state.events.exit?.("TypeInitializer", state, result);
13022
+ return result;
13023
+ }
13024
+ }
12880
13025
  var TypeParameterDelimiter$0 = $S($Q(_), Comma);
12881
- var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($L27, fail, 'TypeParameterDelimiter ">"')));
13026
+ var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($L25, fail, 'TypeParameterDelimiter ">"')));
12882
13027
  var TypeParameterDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
12883
13028
  return value[1];
12884
13029
  });
@@ -12900,7 +13045,7 @@ ${input.slice(result.pos)}
12900
13045
  return result;
12901
13046
  }
12902
13047
  }
12903
- var Shebang$0 = $S($R$0($EXPECT($R51, fail, "Shebang /#![^\\r\\n]*/")), EOL);
13048
+ var Shebang$0 = $S($R$0($EXPECT($R52, fail, "Shebang /#![^\\r\\n]*/")), EOL);
12904
13049
  function Shebang(state) {
12905
13050
  if (state.events) {
12906
13051
  const result = state.events.enter?.("Shebang", state);
@@ -12919,11 +13064,11 @@ ${input.slice(result.pos)}
12919
13064
  return result;
12920
13065
  }
12921
13066
  }
12922
- var CivetPrologue$0 = $T($S($EXPECT($R52, fail, "CivetPrologue /[\\t ]*/"), DoubleQuote, CivetPrologueContent, DoubleQuote, $TEXT(StatementDelimiter), $E(EOS)), function(value) {
13067
+ var CivetPrologue$0 = $T($S($EXPECT($R53, fail, "CivetPrologue /[\\t ]*/"), DoubleQuote, CivetPrologueContent, DoubleQuote, $TEXT(StatementDelimiter), $E(EOS)), function(value) {
12923
13068
  var content = value[2];
12924
13069
  return content;
12925
13070
  });
12926
- var CivetPrologue$1 = $T($S($EXPECT($R52, fail, "CivetPrologue /[\\t ]*/"), SingleQuote, CivetPrologueContent, SingleQuote, $TEXT(StatementDelimiter), $E(EOS)), function(value) {
13071
+ var CivetPrologue$1 = $T($S($EXPECT($R53, fail, "CivetPrologue /[\\t ]*/"), SingleQuote, CivetPrologueContent, SingleQuote, $TEXT(StatementDelimiter), $E(EOS)), function(value) {
12927
13072
  var content = value[2];
12928
13073
  return content;
12929
13074
  });
@@ -12945,7 +13090,7 @@ ${input.slice(result.pos)}
12945
13090
  return result;
12946
13091
  }
12947
13092
  }
12948
- var CivetPrologueContent$0 = $TS($S($EXPECT($L168, fail, 'CivetPrologueContent "civet"'), NonIdContinue, $Q(CivetOption), $EXPECT($R53, fail, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
13093
+ var CivetPrologueContent$0 = $TS($S($EXPECT($L167, fail, 'CivetPrologueContent "civet"'), NonIdContinue, $Q(CivetOption), $EXPECT($R54, fail, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
12949
13094
  var options = $3;
12950
13095
  return {
12951
13096
  type: "CivetPrologue",
@@ -12971,7 +13116,7 @@ ${input.slice(result.pos)}
12971
13116
  return result;
12972
13117
  }
12973
13118
  }
12974
- var CivetOption$0 = $TR($EXPECT($R54, fail, "CivetOption /\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([a-zA-Z0-9.+-]*))?/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
13119
+ var CivetOption$0 = $TR($EXPECT($R55, fail, "CivetOption /\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([a-zA-Z0-9.+-]*))?/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
12975
13120
  const optionName = $2.replace(/-+([a-z]?)/g, (_2, l) => {
12976
13121
  if (l)
12977
13122
  return l.toUpperCase();
@@ -13003,7 +13148,7 @@ ${input.slice(result.pos)}
13003
13148
  return result;
13004
13149
  }
13005
13150
  }
13006
- var UnknownPrologue$0 = $S($R$0($EXPECT($R52, fail, "UnknownPrologue /[\\t ]*/")), BasicStringLiteral, $TEXT(StatementDelimiter), EOS);
13151
+ var UnknownPrologue$0 = $S($R$0($EXPECT($R53, fail, "UnknownPrologue /[\\t ]*/")), BasicStringLiteral, $TEXT(StatementDelimiter), EOS);
13007
13152
  function UnknownPrologue(state) {
13008
13153
  if (state.events) {
13009
13154
  const result = state.events.enter?.("UnknownPrologue", state);
@@ -13061,7 +13206,7 @@ ${input.slice(result.pos)}
13061
13206
  return result;
13062
13207
  }
13063
13208
  }
13064
- var EOL$0 = $TR($EXPECT($R55, fail, "EOL /\\r\\n|\\n|\\r|$/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
13209
+ var EOL$0 = $TR($EXPECT($R56, fail, "EOL /\\r\\n|\\n|\\r|$/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
13065
13210
  return { $loc, token: $0 };
13066
13211
  });
13067
13212
  function EOL(state) {
@@ -13778,12 +13923,20 @@ ${input.slice(result.pos)}
13778
13923
  declareRef[base](ref);
13779
13924
  return refs[base] = ref;
13780
13925
  };
13781
- module2.typeOfJSXElement = function($12) {
13926
+ module2.typeOfJSX = function(node) {
13927
+ switch (node.type) {
13928
+ case "JSXElement":
13929
+ return module2.typeOfJSXElement(node);
13930
+ case "JSXFragment":
13931
+ return module2.typeOfJSXFragment(node);
13932
+ }
13933
+ };
13934
+ module2.typeOfJSXElement = function(node) {
13782
13935
  if (module2.config.solid) {
13783
13936
  if (module2.config.server && !module2.config.client) {
13784
13937
  return ["string"];
13785
13938
  }
13786
- let open = $12.children;
13939
+ let open = node.children;
13787
13940
  while (Array.isArray(open[0]))
13788
13941
  open = open[0];
13789
13942
  open = open[1];
@@ -13795,11 +13948,11 @@ ${input.slice(result.pos)}
13795
13948
  }
13796
13949
  }
13797
13950
  };
13798
- module2.typeOfJSXFragment = function($12) {
13951
+ module2.typeOfJSXFragment = function(node) {
13799
13952
  if (module2.config.solid) {
13800
13953
  let type = [];
13801
13954
  let lastType;
13802
- for (let child of $12.jsxChildren) {
13955
+ for (let child of node.jsxChildren) {
13803
13956
  switch (child.type) {
13804
13957
  case "JSXText":
13805
13958
  if (lastType !== "JSXText") {
@@ -13825,7 +13978,7 @@ ${input.slice(result.pos)}
13825
13978
  if (type.length === 1) {
13826
13979
  return type[0];
13827
13980
  } else {
13828
- type = type.map((t) => [t, ", "]).flat();
13981
+ type = type.flatMap((t) => [t, ", "]);
13829
13982
  type.pop();
13830
13983
  return ["[", type, "]"];
13831
13984
  }
@@ -14876,7 +15029,7 @@ ${input.slice(result.pos)}
14876
15029
  return result;
14877
15030
  }
14878
15031
  }
14879
- var Indent$0 = $TR($EXPECT($R56, fail, "Indent /[ \\t]*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
15032
+ var Indent$0 = $TR($EXPECT($R57, fail, "Indent /[ \\t]*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14880
15033
  let level;
14881
15034
  if (module2.config.tab) {
14882
15035
  const tabs = $0.match(/\t/g);
@@ -15495,7 +15648,7 @@ var uncacheable;
15495
15648
  ({ parse } = import_parser.default);
15496
15649
  ({ SourceMap: SourceMap2, base64Encode: base64Encode2 } = util_exports);
15497
15650
  defaultOptions = {};
15498
- uncacheable = /* @__PURE__ */ new Set(["TrackIndented", "Samedent", "IndentedFurther", "PushIndent", "PopIndent", "Nested", "InsertIndent", "Arguments", "ArgumentsWithTrailingCallExpressions", "ApplicationStart", "CallExpression", "CallExpressionRest", "LeftHandSideExpression", "ActualAssignment", "UpdateExpression", "UnaryExpression", "BinaryOpExpression", "BinaryOpRHS", "ConditionalExpression", "ShortCircuitExpression", "InlineObjectLiteral", "ImplicitInlineObjectPropertyDelimiter", "ImplicitNestedBlock", "IndentedJSXChildExpression", "NestedJSXChildExpression", "ObjectLiteral", "NestedObject", "NestedImplicitObjectLiteral", "BracedObjectLiteralContent", "NestedPropertyDefinitions", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedBlockStatement", "NestedElement", "NestedElementList", "NestedBindingElement", "NestedBindingElements", "NestedInterfaceProperty", "MemberExpression", "PrimaryExpression", "IndentedApplicationAllowed", "ExpressionWithIndentedApplicationSuppressed", "SuppressIndentedApplication", "AssignmentExpressionTail", "AssignmentExpression", "ExtendedExpression", "Expression", "MemberExpressionRest", "ElseClause", "CoffeeCommentEnabled", "SingleLineComment", "Debugger", "JSXElement", "TypedJSXElement", "JSXFragment", "TypedJSXFragment", "JSXChild", "JSXChildren", "JSXNestedChildren", "JSXMixedChildren"]);
15651
+ uncacheable = /* @__PURE__ */ new Set(["TrackIndented", "Samedent", "IndentedFurther", "PushIndent", "PopIndent", "Nested", "InsertIndent", "Arguments", "ArgumentsWithTrailingCallExpressions", "ApplicationStart", "CallExpression", "CallExpressionRest", "LeftHandSideExpression", "ActualAssignment", "UpdateExpression", "UnaryExpression", "BinaryOpExpression", "BinaryOpRHS", "ConditionalExpression", "ShortCircuitExpression", "InlineObjectLiteral", "ImplicitInlineObjectPropertyDelimiter", "FatArrowBody", "ThinArrowFunction", "ArrowFunctionTail", "ArrowFunction", "ImplicitNestedBlock", "BracedBlock", "BracedOrEmptyBlock", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatements", "SingleLineStatements", "ExpressionStatement", "Statement", "IndentedJSXChildExpression", "NestedJSXChildExpression", "ObjectLiteral", "NestedObject", "NestedImplicitObjectLiteral", "BracedObjectLiteralContent", "NestedPropertyDefinitions", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedBlockStatement", "NestedElement", "NestedElementList", "NestedBindingElement", "NestedBindingElements", "NestedInterfaceProperty", "MemberExpression", "PrimaryExpression", "IndentedApplicationAllowed", "ExpressionWithIndentedApplicationSuppressed", "SuppressIndentedApplication", "AssignmentExpressionTail", "AssignmentExpression", "ExtendedExpression", "Expression", "MemberExpressionRest", "ElseClause", "CoffeeCommentEnabled", "SingleLineComment", "Debugger", "JSXImplicitFragment", "JSXTag", "JSXElement", "TypedJSXElement", "JSXFragment", "TypedJSXFragment", "JSXChild", "JSXChildren", "JSXNestedChildren", "JSXMixedChildren"]);
15499
15652
  var compile = function(src, options = defaultOptions) {
15500
15653
  var ast, code, events, filename, sm, srcMapJSON;
15501
15654
  filename = options.filename || "unknown";