@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.mjs CHANGED
@@ -641,6 +641,7 @@ ${input.slice(result.pos)}
641
641
  NameSpaceImport,
642
642
  NamedImports,
643
643
  FromClause,
644
+ TypeAndImportSpecifier,
644
645
  ImportSpecifier,
645
646
  ModuleExportName,
646
647
  ModuleSpecifier,
@@ -650,6 +651,7 @@ ${input.slice(result.pos)}
650
651
  ExportDeclaration,
651
652
  ExportVarDec,
652
653
  ExportFromClause,
654
+ TypeAndNamedExports,
653
655
  NamedExports,
654
656
  ExportSpecifier,
655
657
  ImplicitExportSpecifier,
@@ -744,6 +746,7 @@ ${input.slice(result.pos)}
744
746
  Else,
745
747
  Equals,
746
748
  Export,
749
+ Extends,
747
750
  For,
748
751
  From,
749
752
  Function,
@@ -756,6 +759,7 @@ ${input.slice(result.pos)}
756
759
  New,
757
760
  Not,
758
761
  Of,
762
+ OpenAngleBracket,
759
763
  OpenBrace,
760
764
  OpenBracket,
761
765
  OpenParen,
@@ -790,12 +794,12 @@ ${input.slice(result.pos)}
790
794
  When,
791
795
  While,
792
796
  Yield,
793
- TypedJSXElement,
797
+ JSXImplicitFragment,
798
+ JSXTag,
794
799
  JSXElement,
795
800
  JSXSelfClosingElement,
796
801
  JSXOpeningElement,
797
802
  JSXClosingElement,
798
- TypedJSXFragment,
799
803
  JSXFragment,
800
804
  JSXElementName,
801
805
  JSXIdentifierName,
@@ -867,6 +871,7 @@ ${input.slice(result.pos)}
867
871
  TypeParameters,
868
872
  TypeParameter,
869
873
  TypeConstraint,
874
+ TypeInitializer,
870
875
  TypeParameterDelimiter,
871
876
  Shebang,
872
877
  CivetPrologue,
@@ -918,175 +923,174 @@ ${input.slice(result.pos)}
918
923
  var $L2 = $L("--");
919
924
  var $L3 = $L("=>");
920
925
  var $L4 = $L(" ");
921
- var $L5 = $L("<");
922
- var $L6 = $L("extends");
923
- var $L7 = $L("implements");
924
- var $L8 = $L("#");
925
- var $L9 = $L(".");
926
- var $L10 = $L("super");
927
- var $L11 = $L("import");
928
- var $L12 = $L("!");
929
- var $L13 = $L("super[");
930
- var $L14 = $L("import.meta");
931
- var $L15 = $L(")");
932
- var $L16 = $L("->");
933
- var $L17 = $L("}");
934
- var $L18 = $L("null");
935
- var $L19 = $L("true");
936
- var $L20 = $L("false");
937
- var $L21 = $L("yes");
938
- var $L22 = $L("on");
939
- var $L23 = $L("no");
940
- var $L24 = $L("off");
941
- var $L25 = $L(",");
942
- var $L26 = $L("=");
943
- var $L27 = $L(">");
944
- var $L28 = $L("]");
945
- var $L29 = $L(":");
946
- var $L30 = $L("**=");
947
- var $L31 = $L("*=");
948
- var $L32 = $L("/=");
949
- var $L33 = $L("%=");
950
- var $L34 = $L("+=");
951
- var $L35 = $L("-=");
952
- var $L36 = $L("<<=");
953
- var $L37 = $L(">>>=");
954
- var $L38 = $L(">>=");
955
- var $L39 = $L("&&=");
956
- var $L40 = $L("&=");
957
- var $L41 = $L("^=");
958
- var $L42 = $L("||=");
959
- var $L43 = $L("|=");
960
- var $L44 = $L("??=");
961
- var $L45 = $L("?=");
962
- var $L46 = $L("and=");
963
- var $L47 = $L("or=");
964
- var $L48 = $L("**");
965
- var $L49 = $L("*");
966
- var $L50 = $L("/");
967
- var $L51 = $L("%%");
968
- var $L52 = $L("%");
969
- var $L53 = $L("+");
970
- var $L54 = $L("-");
971
- var $L55 = $L("<=");
972
- var $L56 = $L(">=");
973
- var $L57 = $L("<<");
974
- var $L58 = $L(">>>");
975
- var $L59 = $L(">>");
976
- var $L60 = $L("!==");
977
- var $L61 = $L("!=");
978
- var $L62 = $L("isnt");
979
- var $L63 = $L("===");
980
- var $L64 = $L("==");
981
- var $L65 = $L("and");
982
- var $L66 = $L("&&");
983
- var $L67 = $L("of");
984
- var $L68 = $L("or");
985
- var $L69 = $L("||");
986
- var $L70 = $L("??");
987
- var $L71 = $L("?");
988
- var $L72 = $L("instanceof");
989
- var $L73 = $L("not");
990
- var $L74 = $L("in");
991
- var $L75 = $L("is");
992
- var $L76 = $L("&");
993
- var $L77 = $L("^");
994
- var $L78 = $L("|");
995
- var $L79 = $L(";");
996
- var $L80 = $L("own");
997
- var $L81 = $L("finally");
998
- var $L82 = $L("break");
999
- var $L83 = $L("continue");
1000
- var $L84 = $L("debugger");
1001
- var $L85 = $L("import type");
1002
- var $L86 = $L("default");
1003
- var $L87 = $L(":=");
1004
- var $L88 = $L("::=");
1005
- var $L89 = $L(".=");
1006
- var $L90 = $L("/*");
1007
- var $L91 = $L("*/");
1008
- var $L92 = $L("\\");
1009
- var $L93 = $L("abstract");
1010
- var $L94 = $L("as");
1011
- var $L95 = $L("@");
1012
- var $L96 = $L("@@");
1013
- var $L97 = $L("async");
1014
- var $L98 = $L("await");
1015
- var $L99 = $L("`");
1016
- var $L100 = $L("by");
1017
- var $L101 = $L("case");
1018
- var $L102 = $L("catch");
1019
- var $L103 = $L("class");
1020
- var $L104 = $L("#{");
1021
- var $L105 = $L("delete");
1022
- var $L106 = $L("do");
1023
- var $L107 = $L("..");
1024
- var $L108 = $L("...");
1025
- var $L109 = $L("::");
1026
- var $L110 = $L('"');
1027
- var $L111 = $L("else");
1028
- var $L112 = $L("export");
1029
- var $L113 = $L("for");
1030
- var $L114 = $L("from");
1031
- var $L115 = $L("function");
1032
- var $L116 = $L("get");
1033
- var $L117 = $L("set");
1034
- var $L118 = $L("if");
1035
- var $L119 = $L("let");
1036
- var $L120 = $L("const");
1037
- var $L121 = $L("loop");
1038
- var $L122 = $L("new");
1039
- var $L123 = $L("{");
1040
- var $L124 = $L("[");
1041
- var $L125 = $L("(");
1042
- var $L126 = $L("public");
1043
- var $L127 = $L("private");
1044
- var $L128 = $L("protected");
1045
- var $L129 = $L("|>");
1046
- var $L130 = $L("readonly");
1047
- var $L131 = $L("return");
1048
- var $L132 = $L("satisfies");
1049
- var $L133 = $L("'");
1050
- var $L134 = $L("static");
1051
- var $L135 = $L("${");
1052
- var $L136 = $L("switch");
1053
- var $L137 = $L("target");
1054
- var $L138 = $L("then");
1055
- var $L139 = $L("this");
1056
- var $L140 = $L("throw");
1057
- var $L141 = $L('"""');
1058
- var $L142 = $L("'''");
1059
- var $L143 = $L("///");
1060
- var $L144 = $L("```");
1061
- var $L145 = $L("try");
1062
- var $L146 = $L("typeof");
1063
- var $L147 = $L("unless");
1064
- var $L148 = $L("until");
1065
- var $L149 = $L("var");
1066
- var $L150 = $L("void");
1067
- var $L151 = $L("when");
1068
- var $L152 = $L("while");
1069
- var $L153 = $L("yield");
1070
- var $L154 = $L("/>");
1071
- var $L155 = $L("</");
1072
- var $L156 = $L("<>");
1073
- var $L157 = $L("</>");
1074
- var $L158 = $L("<!--");
1075
- var $L159 = $L("-->");
1076
- var $L160 = $L("declare");
1077
- var $L161 = $L("type");
1078
- var $L162 = $L("interface");
1079
- var $L163 = $L("namespace");
1080
- var $L164 = $L("asserts");
1081
- var $L165 = $L("keyof");
1082
- var $L166 = $L("infer");
1083
- var $L167 = $L("[]");
1084
- var $L168 = $L("civet");
926
+ var $L5 = $L("implements");
927
+ var $L6 = $L("#");
928
+ var $L7 = $L(".");
929
+ var $L8 = $L("super");
930
+ var $L9 = $L("import");
931
+ var $L10 = $L("!");
932
+ var $L11 = $L("super[");
933
+ var $L12 = $L("import.meta");
934
+ var $L13 = $L(")");
935
+ var $L14 = $L("->");
936
+ var $L15 = $L("}");
937
+ var $L16 = $L("null");
938
+ var $L17 = $L("true");
939
+ var $L18 = $L("false");
940
+ var $L19 = $L("yes");
941
+ var $L20 = $L("on");
942
+ var $L21 = $L("no");
943
+ var $L22 = $L("off");
944
+ var $L23 = $L(",");
945
+ var $L24 = $L("=");
946
+ var $L25 = $L(">");
947
+ var $L26 = $L("]");
948
+ var $L27 = $L(":");
949
+ var $L28 = $L("**=");
950
+ var $L29 = $L("*=");
951
+ var $L30 = $L("/=");
952
+ var $L31 = $L("%=");
953
+ var $L32 = $L("+=");
954
+ var $L33 = $L("-=");
955
+ var $L34 = $L("<<=");
956
+ var $L35 = $L(">>>=");
957
+ var $L36 = $L(">>=");
958
+ var $L37 = $L("&&=");
959
+ var $L38 = $L("&=");
960
+ var $L39 = $L("^=");
961
+ var $L40 = $L("||=");
962
+ var $L41 = $L("|=");
963
+ var $L42 = $L("??=");
964
+ var $L43 = $L("?=");
965
+ var $L44 = $L("and=");
966
+ var $L45 = $L("or=");
967
+ var $L46 = $L("**");
968
+ var $L47 = $L("*");
969
+ var $L48 = $L("/");
970
+ var $L49 = $L("%%");
971
+ var $L50 = $L("%");
972
+ var $L51 = $L("+");
973
+ var $L52 = $L("-");
974
+ var $L53 = $L("<=");
975
+ var $L54 = $L(">=");
976
+ var $L55 = $L("<<");
977
+ var $L56 = $L(">>>");
978
+ var $L57 = $L(">>");
979
+ var $L58 = $L("!==");
980
+ var $L59 = $L("!=");
981
+ var $L60 = $L("isnt");
982
+ var $L61 = $L("===");
983
+ var $L62 = $L("==");
984
+ var $L63 = $L("and");
985
+ var $L64 = $L("&&");
986
+ var $L65 = $L("of");
987
+ var $L66 = $L("or");
988
+ var $L67 = $L("||");
989
+ var $L68 = $L("??");
990
+ var $L69 = $L("?");
991
+ var $L70 = $L("instanceof");
992
+ var $L71 = $L("not");
993
+ var $L72 = $L("in");
994
+ var $L73 = $L("is");
995
+ var $L74 = $L("&");
996
+ var $L75 = $L("^");
997
+ var $L76 = $L("|");
998
+ var $L77 = $L(";");
999
+ var $L78 = $L("own");
1000
+ var $L79 = $L("finally");
1001
+ var $L80 = $L("break");
1002
+ var $L81 = $L("continue");
1003
+ var $L82 = $L("debugger");
1004
+ var $L83 = $L("default");
1005
+ var $L84 = $L(":=");
1006
+ var $L85 = $L("::=");
1007
+ var $L86 = $L(".=");
1008
+ var $L87 = $L("/*");
1009
+ var $L88 = $L("*/");
1010
+ var $L89 = $L("\\");
1011
+ var $L90 = $L("abstract");
1012
+ var $L91 = $L("as");
1013
+ var $L92 = $L("@");
1014
+ var $L93 = $L("@@");
1015
+ var $L94 = $L("async");
1016
+ var $L95 = $L("await");
1017
+ var $L96 = $L("`");
1018
+ var $L97 = $L("by");
1019
+ var $L98 = $L("case");
1020
+ var $L99 = $L("catch");
1021
+ var $L100 = $L("class");
1022
+ var $L101 = $L("#{");
1023
+ var $L102 = $L("delete");
1024
+ var $L103 = $L("do");
1025
+ var $L104 = $L("..");
1026
+ var $L105 = $L("...");
1027
+ var $L106 = $L("::");
1028
+ var $L107 = $L('"');
1029
+ var $L108 = $L("else");
1030
+ var $L109 = $L("export");
1031
+ var $L110 = $L("extends");
1032
+ var $L111 = $L("for");
1033
+ var $L112 = $L("from");
1034
+ var $L113 = $L("function");
1035
+ var $L114 = $L("get");
1036
+ var $L115 = $L("set");
1037
+ var $L116 = $L("if");
1038
+ var $L117 = $L("let");
1039
+ var $L118 = $L("const");
1040
+ var $L119 = $L("loop");
1041
+ var $L120 = $L("new");
1042
+ var $L121 = $L("<");
1043
+ var $L122 = $L("{");
1044
+ var $L123 = $L("[");
1045
+ var $L124 = $L("(");
1046
+ var $L125 = $L("public");
1047
+ var $L126 = $L("private");
1048
+ var $L127 = $L("protected");
1049
+ var $L128 = $L("|>");
1050
+ var $L129 = $L("readonly");
1051
+ var $L130 = $L("return");
1052
+ var $L131 = $L("satisfies");
1053
+ var $L132 = $L("'");
1054
+ var $L133 = $L("static");
1055
+ var $L134 = $L("${");
1056
+ var $L135 = $L("switch");
1057
+ var $L136 = $L("target");
1058
+ var $L137 = $L("then");
1059
+ var $L138 = $L("this");
1060
+ var $L139 = $L("throw");
1061
+ var $L140 = $L('"""');
1062
+ var $L141 = $L("'''");
1063
+ var $L142 = $L("///");
1064
+ var $L143 = $L("```");
1065
+ var $L144 = $L("try");
1066
+ var $L145 = $L("typeof");
1067
+ var $L146 = $L("unless");
1068
+ var $L147 = $L("until");
1069
+ var $L148 = $L("var");
1070
+ var $L149 = $L("void");
1071
+ var $L150 = $L("when");
1072
+ var $L151 = $L("while");
1073
+ var $L152 = $L("yield");
1074
+ var $L153 = $L("/>");
1075
+ var $L154 = $L("</");
1076
+ var $L155 = $L("<>");
1077
+ var $L156 = $L("</>");
1078
+ var $L157 = $L("<!--");
1079
+ var $L158 = $L("-->");
1080
+ var $L159 = $L("declare");
1081
+ var $L160 = $L("type");
1082
+ var $L161 = $L("interface");
1083
+ var $L162 = $L("namespace");
1084
+ var $L163 = $L("asserts");
1085
+ var $L164 = $L("keyof");
1086
+ var $L165 = $L("infer");
1087
+ var $L166 = $L("[]");
1088
+ var $L167 = $L("civet");
1085
1089
  var $R0 = $R(new RegExp("(for|of|then|when)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
1086
1090
  var $R1 = $R(new RegExp("[&]", "suy"));
1087
1091
  var $R2 = $R(new RegExp("[!~+-]+", "suy"));
1088
1092
  var $R3 = $R(new RegExp("(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$])*", "suy"));
1089
- var $R4 = $R(new RegExp("[+-]", "suy"));
1093
+ var $R4 = $R(new RegExp("[!+-]", "suy"));
1090
1094
  var $R5 = $R(new RegExp("<(?!\\p{ID_Start}|[_$])", "suy"));
1091
1095
  var $R6 = $R(new RegExp("[!~+-](?!\\s|[!~+-]*&)", "suy"));
1092
1096
  var $R7 = $R(new RegExp("(?=[\\s\\)])", "suy"));
@@ -1133,12 +1137,13 @@ ${input.slice(result.pos)}
1133
1137
  var $R48 = $R(new RegExp("(?:-[^-]|[^-]*)*", "suy"));
1134
1138
  var $R49 = $R(new RegExp("[^{}<>\\r\\n]+", "suy"));
1135
1139
  var $R50 = $R(new RegExp("[+-]?", "suy"));
1136
- var $R51 = $R(new RegExp("#![^\\r\\n]*", "suy"));
1137
- var $R52 = $R(new RegExp("[\\t ]*", "suy"));
1138
- var $R53 = $R(new RegExp("[\\s]*", "suy"));
1139
- var $R54 = $R(new RegExp("\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([a-zA-Z0-9.+-]*))?", "suy"));
1140
- var $R55 = $R(new RegExp("\\r\\n|\\n|\\r|$", "suy"));
1141
- var $R56 = $R(new RegExp("[ \\t]*", "suy"));
1140
+ var $R51 = $R(new RegExp("[+-]", "suy"));
1141
+ var $R52 = $R(new RegExp("#![^\\r\\n]*", "suy"));
1142
+ var $R53 = $R(new RegExp("[\\t ]*", "suy"));
1143
+ var $R54 = $R(new RegExp("[\\s]*", "suy"));
1144
+ var $R55 = $R(new RegExp("\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([a-zA-Z0-9.+-]*))?", "suy"));
1145
+ var $R56 = $R(new RegExp("\\r\\n|\\n|\\r|$", "suy"));
1146
+ var $R57 = $R(new RegExp("[ \\t]*", "suy"));
1142
1147
  var Program$0 = $TS($S(Reset, Init, __, $Q(TopLevelStatement), __), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
1143
1148
  var statements = $4;
1144
1149
  module.processProgram(statements);
@@ -2159,8 +2164,7 @@ ${input.slice(result.pos)}
2159
2164
  var PrimaryExpression$7 = RegularExpressionLiteral;
2160
2165
  var PrimaryExpression$8 = TemplateLiteral;
2161
2166
  var PrimaryExpression$9 = ParenthesizedExpression;
2162
- var PrimaryExpression$10 = TypedJSXElement;
2163
- var PrimaryExpression$11 = TypedJSXFragment;
2167
+ var PrimaryExpression$10 = JSXImplicitFragment;
2164
2168
  function PrimaryExpression(state) {
2165
2169
  if (state.events) {
2166
2170
  const result = state.events.enter?.("PrimaryExpression", state);
@@ -2168,12 +2172,12 @@ ${input.slice(result.pos)}
2168
2172
  return result.cache;
2169
2173
  }
2170
2174
  if (state.tokenize) {
2171
- 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));
2175
+ 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));
2172
2176
  if (state.events)
2173
2177
  state.events.exit?.("PrimaryExpression", state, result);
2174
2178
  return result;
2175
2179
  } else {
2176
- 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);
2180
+ 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);
2177
2181
  if (state.events)
2178
2182
  state.events.exit?.("PrimaryExpression", state, result);
2179
2183
  return result;
@@ -2290,7 +2294,7 @@ ${input.slice(result.pos)}
2290
2294
  return result;
2291
2295
  }
2292
2296
  }
2293
- var ExtendsClause$0 = $S(__, ExtendsToken, __, ExtendsTarget);
2297
+ var ExtendsClause$0 = $S(ExtendsToken, __, ExtendsTarget);
2294
2298
  function ExtendsClause(state) {
2295
2299
  if (state.events) {
2296
2300
  const result = state.events.enter?.("ExtendsClause", state);
@@ -2309,12 +2313,22 @@ ${input.slice(result.pos)}
2309
2313
  return result;
2310
2314
  }
2311
2315
  }
2312
- var ExtendsToken$0 = $TV($EXPECT($L5, fail, 'ExtendsToken "<"'), function($skip, $loc, $0, $1) {
2313
- return { $loc, token: "extends" };
2314
- });
2315
- var ExtendsToken$1 = $TS($S($EXPECT($L6, fail, 'ExtendsToken "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
2316
- return { $loc, token: $1 };
2316
+ var ExtendsToken$0 = $TS($S(Loc, __, OpenAngleBracket, $E($EXPECT($L4, fail, 'ExtendsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
2317
+ var l = $1;
2318
+ var ws = $2;
2319
+ var lt = $3;
2320
+ const children = [
2321
+ ...ws,
2322
+ { ...lt, token: "extends " }
2323
+ ];
2324
+ if (!ws.length) {
2325
+ children.unshift({ $loc: l.$loc, token: " " });
2326
+ }
2327
+ return {
2328
+ children
2329
+ };
2317
2330
  });
2331
+ var ExtendsToken$1 = $S(__, Extends);
2318
2332
  function ExtendsToken(state) {
2319
2333
  if (state.events) {
2320
2334
  const result = state.events.enter?.("ExtendsToken", state);
@@ -2383,7 +2397,7 @@ ${input.slice(result.pos)}
2383
2397
  return result;
2384
2398
  }
2385
2399
  }
2386
- var ImplementsToken$0 = $TS($S($EXPECT($L7, fail, 'ImplementsToken "implements"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
2400
+ var ImplementsToken$0 = $TS($S($EXPECT($L5, fail, 'ImplementsToken "implements"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
2387
2401
  return { $loc, token: $1 };
2388
2402
  });
2389
2403
  function ImplementsToken(state) {
@@ -2596,7 +2610,7 @@ ${input.slice(result.pos)}
2596
2610
  }
2597
2611
  }
2598
2612
  var ThisLiteral$0 = This;
2599
- var ThisLiteral$1 = $TS($S(At, $TEXT($S($E($EXPECT($L8, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
2613
+ var ThisLiteral$1 = $TS($S(At, $TEXT($S($E($EXPECT($L6, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
2600
2614
  var t = $1;
2601
2615
  var id = $2;
2602
2616
  return [{ ...t, token: "this." }, id];
@@ -2623,7 +2637,7 @@ ${input.slice(result.pos)}
2623
2637
  return result;
2624
2638
  }
2625
2639
  }
2626
- var LeftHandSideExpression$0 = $TS($S($Q($S(New, $N($EXPECT($L9, fail, 'LeftHandSideExpression "."')), __)), CallExpression), function($skip, $loc, $0, $1, $2) {
2640
+ var LeftHandSideExpression$0 = $TS($S($Q($S(New, $N($EXPECT($L7, fail, 'LeftHandSideExpression "."')), __)), CallExpression), function($skip, $loc, $0, $1, $2) {
2627
2641
  if ($1.length)
2628
2642
  return $0;
2629
2643
  return $2;
@@ -2646,8 +2660,8 @@ ${input.slice(result.pos)}
2646
2660
  return result;
2647
2661
  }
2648
2662
  }
2649
- var CallExpression$0 = $S($EXPECT($L10, fail, 'CallExpression "super"'), ArgumentsWithTrailingCallExpressions, $Q(CallExpressionRest));
2650
- var CallExpression$1 = $TS($S($EXPECT($L11, fail, 'CallExpression "import"'), ArgumentsWithTrailingCallExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
2663
+ var CallExpression$0 = $S($EXPECT($L8, fail, 'CallExpression "super"'), ArgumentsWithTrailingCallExpressions, $Q(CallExpressionRest));
2664
+ var CallExpression$1 = $TS($S($EXPECT($L9, fail, 'CallExpression "import"'), ArgumentsWithTrailingCallExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
2651
2665
  return {
2652
2666
  type: "CallExpression",
2653
2667
  children: $0
@@ -2720,7 +2734,7 @@ ${input.slice(result.pos)}
2720
2734
  return result;
2721
2735
  }
2722
2736
  }
2723
- var NonNullAssertion$0 = $T($EXPECT($L12, fail, 'NonNullAssertion "!"'), function(value) {
2737
+ var NonNullAssertion$0 = $T($EXPECT($L10, fail, 'NonNullAssertion "!"'), function(value) {
2724
2738
  return { "ts": true, "children": value };
2725
2739
  });
2726
2740
  function NonNullAssertion(state) {
@@ -2966,8 +2980,8 @@ ${input.slice(result.pos)}
2966
2980
  return result;
2967
2981
  }
2968
2982
  }
2969
- var SuperProperty$0 = $S($EXPECT($L13, fail, 'SuperProperty "super["'), ExtendedExpression, __, CloseBracket);
2970
- var SuperProperty$1 = $S($EXPECT($L10, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
2983
+ var SuperProperty$0 = $S($EXPECT($L11, fail, 'SuperProperty "super["'), ExtendedExpression, __, CloseBracket);
2984
+ var SuperProperty$1 = $S($EXPECT($L8, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
2971
2985
  function SuperProperty(state) {
2972
2986
  if (state.events) {
2973
2987
  const result = state.events.enter?.("SuperProperty", state);
@@ -2987,7 +3001,7 @@ ${input.slice(result.pos)}
2987
3001
  }
2988
3002
  }
2989
3003
  var MetaProperty$0 = $S(New, Dot, Target);
2990
- var MetaProperty$1 = $TS($S($EXPECT($L14, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
3004
+ var MetaProperty$1 = $TS($S($EXPECT($L12, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
2991
3005
  return { $loc, token: $1 };
2992
3006
  });
2993
3007
  function MetaProperty(state) {
@@ -3151,7 +3165,7 @@ ${input.slice(result.pos)}
3151
3165
  }
3152
3166
  }
3153
3167
  var ParameterElementDelimiter$0 = $S($Q(_), Comma);
3154
- var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L15, fail, 'ParameterElementDelimiter ")"')));
3168
+ var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L13, fail, 'ParameterElementDelimiter ")"')));
3155
3169
  var ParameterElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
3156
3170
  return value[1];
3157
3171
  });
@@ -3906,7 +3920,7 @@ ${input.slice(result.pos)}
3906
3920
  return result;
3907
3921
  }
3908
3922
  }
3909
- var Arrow$0 = $TV($EXPECT($L16, fail, 'Arrow "->"'), function($skip, $loc, $0, $1) {
3923
+ var Arrow$0 = $TV($EXPECT($L14, fail, 'Arrow "->"'), function($skip, $loc, $0, $1) {
3910
3924
  return { $loc, token: $1 };
3911
3925
  });
3912
3926
  function Arrow(state) {
@@ -4168,7 +4182,7 @@ ${input.slice(result.pos)}
4168
4182
  children: [$1, expressions]
4169
4183
  };
4170
4184
  });
4171
- var BracedContent$2 = $TV($Y($S(__, $EXPECT($L17, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
4185
+ var BracedContent$2 = $TV($Y($S(__, $EXPECT($L15, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
4172
4186
  const expressions = [];
4173
4187
  return {
4174
4188
  type: "BlockStatement",
@@ -4293,7 +4307,7 @@ ${input.slice(result.pos)}
4293
4307
  return result;
4294
4308
  }
4295
4309
  }
4296
- var NullLiteral$0 = $TS($S($EXPECT($L18, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4310
+ var NullLiteral$0 = $TS($S($EXPECT($L16, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4297
4311
  return { $loc, token: $1 };
4298
4312
  });
4299
4313
  function NullLiteral(state) {
@@ -4317,7 +4331,7 @@ ${input.slice(result.pos)}
4317
4331
  var BooleanLiteral$0 = $T($S(CoffeeBooleansEnabled, CoffeeScriptBooleanLiteral), function(value) {
4318
4332
  return value[1];
4319
4333
  });
4320
- var BooleanLiteral$1 = $TS($S($C($EXPECT($L19, fail, 'BooleanLiteral "true"'), $EXPECT($L20, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4334
+ var BooleanLiteral$1 = $TS($S($C($EXPECT($L17, fail, 'BooleanLiteral "true"'), $EXPECT($L18, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4321
4335
  return { $loc, token: $1 };
4322
4336
  });
4323
4337
  function BooleanLiteral(state) {
@@ -4338,10 +4352,10 @@ ${input.slice(result.pos)}
4338
4352
  return result;
4339
4353
  }
4340
4354
  }
4341
- var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L21, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L22, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4355
+ var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L19, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L20, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4342
4356
  return { $loc, token: "true" };
4343
4357
  });
4344
- var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L23, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L24, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4358
+ var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L21, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L22, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4345
4359
  return { $loc, token: "false" };
4346
4360
  });
4347
4361
  function CoffeeScriptBooleanLiteral(state) {
@@ -4362,7 +4376,7 @@ ${input.slice(result.pos)}
4362
4376
  return result;
4363
4377
  }
4364
4378
  }
4365
- var Comma$0 = $TV($EXPECT($L25, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
4379
+ var Comma$0 = $TV($EXPECT($L23, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
4366
4380
  return { $loc, token: $1 };
4367
4381
  });
4368
4382
  function Comma(state) {
@@ -4452,7 +4466,7 @@ ${input.slice(result.pos)}
4452
4466
  return result;
4453
4467
  }
4454
4468
  }
4455
- var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L26, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L26, fail, 'UpcomingAssignment "="'), $EXPECT($L27, fail, 'UpcomingAssignment ">"')))));
4469
+ var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L24, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L24, fail, 'UpcomingAssignment "="'), $EXPECT($L25, fail, 'UpcomingAssignment ">"')))));
4456
4470
  function UpcomingAssignment(state) {
4457
4471
  if (state.events) {
4458
4472
  const result = state.events.enter?.("UpcomingAssignment", state);
@@ -4701,7 +4715,7 @@ ${input.slice(result.pos)}
4701
4715
  }
4702
4716
  }
4703
4717
  var ArrayElementDelimiter$0 = $S(__, Comma);
4704
- var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L28, fail, 'ArrayElementDelimiter "]"')));
4718
+ var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L26, fail, 'ArrayElementDelimiter "]"')));
4705
4719
  var ArrayElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
4706
4720
  return value[1];
4707
4721
  });
@@ -4777,7 +4791,8 @@ ${input.slice(result.pos)}
4777
4791
  return result;
4778
4792
  }
4779
4793
  }
4780
- var ArrayElementExpression$0 = $TS($S($E(ExtendedExpression), __, DotDotDot, $Y(ArrayElementDelimiter)), function($skip, $loc, $0, $1, $2, $3, $4) {
4794
+ var ArrayElementExpression$0 = JSXTag;
4795
+ var ArrayElementExpression$1 = $TS($S($E(ExtendedExpression), __, DotDotDot, $Y(ArrayElementDelimiter)), function($skip, $loc, $0, $1, $2, $3, $4) {
4781
4796
  var exp = $1;
4782
4797
  var ws = $2;
4783
4798
  var dots = $3;
@@ -4795,7 +4810,7 @@ ${input.slice(result.pos)}
4795
4810
  names: exp.names
4796
4811
  };
4797
4812
  });
4798
- var ArrayElementExpression$1 = $TS($S($E($S($E($S(__, DotDotDot, __)), ExtendedExpression)), $Y(ArrayElementDelimiter)), function($skip, $loc, $0, $1, $2) {
4813
+ var ArrayElementExpression$2 = $TS($S($E($S($E($S(__, DotDotDot, __)), ExtendedExpression)), $Y(ArrayElementDelimiter)), function($skip, $loc, $0, $1, $2) {
4799
4814
  var expMaybeSpread = $1;
4800
4815
  if (expMaybeSpread) {
4801
4816
  const [spread, exp] = expMaybeSpread;
@@ -4825,12 +4840,12 @@ ${input.slice(result.pos)}
4825
4840
  return result.cache;
4826
4841
  }
4827
4842
  if (state.tokenize) {
4828
- const result = $TOKEN("ArrayElementExpression", state, ArrayElementExpression$0(state) || ArrayElementExpression$1(state));
4843
+ const result = $TOKEN("ArrayElementExpression", state, ArrayElementExpression$0(state) || ArrayElementExpression$1(state) || ArrayElementExpression$2(state));
4829
4844
  if (state.events)
4830
4845
  state.events.exit?.("ArrayElementExpression", state, result);
4831
4846
  return result;
4832
4847
  } else {
4833
- const result = ArrayElementExpression$0(state) || ArrayElementExpression$1(state);
4848
+ const result = ArrayElementExpression$0(state) || ArrayElementExpression$1(state) || ArrayElementExpression$2(state);
4834
4849
  if (state.events)
4835
4850
  state.events.exit?.("ArrayElementExpression", state, result);
4836
4851
  return result;
@@ -5070,7 +5085,7 @@ ${input.slice(result.pos)}
5070
5085
  var ImplicitInlineObjectPropertyDelimiter$1 = $T($S($Y($S($C(Samedent, $Q(_)), NamedProperty)), InsertComma), function(value) {
5071
5086
  return value[1];
5072
5087
  });
5073
- 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) {
5088
+ 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) {
5074
5089
  return "";
5075
5090
  });
5076
5091
  var ImplicitInlineObjectPropertyDelimiter$3 = $T($Y(EOS), function(value) {
@@ -5095,7 +5110,7 @@ ${input.slice(result.pos)}
5095
5110
  }
5096
5111
  }
5097
5112
  var ObjectPropertyDelimiter$0 = $S($Q(_), Comma);
5098
- var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L17, fail, 'ObjectPropertyDelimiter "}"')));
5113
+ var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L15, fail, 'ObjectPropertyDelimiter "}"')));
5099
5114
  var ObjectPropertyDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
5100
5115
  return value[1];
5101
5116
  });
@@ -5156,7 +5171,7 @@ ${input.slice(result.pos)}
5156
5171
  value
5157
5172
  };
5158
5173
  });
5159
- var PropertyDefinition$1 = $TS($S(__, $TEXT($EXPECT($R4, fail, "PropertyDefinition /[+-]/")), IdentifierName), function($skip, $loc, $0, $1, $2, $3) {
5174
+ var PropertyDefinition$1 = $TS($S(__, $TEXT($EXPECT($R4, fail, "PropertyDefinition /[!+-]/")), IdentifierName), function($skip, $loc, $0, $1, $2, $3) {
5160
5175
  var ws = $1;
5161
5176
  var toggle = $2;
5162
5177
  var id = $3;
@@ -5486,7 +5501,7 @@ ${input.slice(result.pos)}
5486
5501
  return result;
5487
5502
  }
5488
5503
  }
5489
- var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L8, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
5504
+ var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L6, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
5490
5505
  return {
5491
5506
  type: "Identifier",
5492
5507
  name: $0,
@@ -5542,25 +5557,25 @@ ${input.slice(result.pos)}
5542
5557
  return result;
5543
5558
  }
5544
5559
  }
5545
- var AssignmentOpSymbol$0 = $EXPECT($L30, fail, 'AssignmentOpSymbol "**="');
5546
- var AssignmentOpSymbol$1 = $EXPECT($L31, fail, 'AssignmentOpSymbol "*="');
5547
- var AssignmentOpSymbol$2 = $EXPECT($L32, fail, 'AssignmentOpSymbol "/="');
5548
- var AssignmentOpSymbol$3 = $EXPECT($L33, fail, 'AssignmentOpSymbol "%="');
5549
- var AssignmentOpSymbol$4 = $EXPECT($L34, fail, 'AssignmentOpSymbol "+="');
5550
- var AssignmentOpSymbol$5 = $EXPECT($L35, fail, 'AssignmentOpSymbol "-="');
5551
- var AssignmentOpSymbol$6 = $EXPECT($L36, fail, 'AssignmentOpSymbol "<<="');
5552
- var AssignmentOpSymbol$7 = $EXPECT($L37, fail, 'AssignmentOpSymbol ">>>="');
5553
- var AssignmentOpSymbol$8 = $EXPECT($L38, fail, 'AssignmentOpSymbol ">>="');
5554
- var AssignmentOpSymbol$9 = $EXPECT($L39, fail, 'AssignmentOpSymbol "&&="');
5555
- var AssignmentOpSymbol$10 = $EXPECT($L40, fail, 'AssignmentOpSymbol "&="');
5556
- var AssignmentOpSymbol$11 = $EXPECT($L41, fail, 'AssignmentOpSymbol "^="');
5557
- var AssignmentOpSymbol$12 = $EXPECT($L42, fail, 'AssignmentOpSymbol "||="');
5558
- var AssignmentOpSymbol$13 = $EXPECT($L43, fail, 'AssignmentOpSymbol "|="');
5559
- var AssignmentOpSymbol$14 = $EXPECT($L44, fail, 'AssignmentOpSymbol "??="');
5560
- var AssignmentOpSymbol$15 = $T($EXPECT($L45, fail, 'AssignmentOpSymbol "?="'), function(value) {
5560
+ var AssignmentOpSymbol$0 = $EXPECT($L28, fail, 'AssignmentOpSymbol "**="');
5561
+ var AssignmentOpSymbol$1 = $EXPECT($L29, fail, 'AssignmentOpSymbol "*="');
5562
+ var AssignmentOpSymbol$2 = $EXPECT($L30, fail, 'AssignmentOpSymbol "/="');
5563
+ var AssignmentOpSymbol$3 = $EXPECT($L31, fail, 'AssignmentOpSymbol "%="');
5564
+ var AssignmentOpSymbol$4 = $EXPECT($L32, fail, 'AssignmentOpSymbol "+="');
5565
+ var AssignmentOpSymbol$5 = $EXPECT($L33, fail, 'AssignmentOpSymbol "-="');
5566
+ var AssignmentOpSymbol$6 = $EXPECT($L34, fail, 'AssignmentOpSymbol "<<="');
5567
+ var AssignmentOpSymbol$7 = $EXPECT($L35, fail, 'AssignmentOpSymbol ">>>="');
5568
+ var AssignmentOpSymbol$8 = $EXPECT($L36, fail, 'AssignmentOpSymbol ">>="');
5569
+ var AssignmentOpSymbol$9 = $EXPECT($L37, fail, 'AssignmentOpSymbol "&&="');
5570
+ var AssignmentOpSymbol$10 = $EXPECT($L38, fail, 'AssignmentOpSymbol "&="');
5571
+ var AssignmentOpSymbol$11 = $EXPECT($L39, fail, 'AssignmentOpSymbol "^="');
5572
+ var AssignmentOpSymbol$12 = $EXPECT($L40, fail, 'AssignmentOpSymbol "||="');
5573
+ var AssignmentOpSymbol$13 = $EXPECT($L41, fail, 'AssignmentOpSymbol "|="');
5574
+ var AssignmentOpSymbol$14 = $EXPECT($L42, fail, 'AssignmentOpSymbol "??="');
5575
+ var AssignmentOpSymbol$15 = $T($EXPECT($L43, fail, 'AssignmentOpSymbol "?="'), function(value) {
5561
5576
  return "??=";
5562
5577
  });
5563
- var AssignmentOpSymbol$16 = $T($S($EXPECT($L26, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L26, fail, 'AssignmentOpSymbol "="'))), function(value) {
5578
+ var AssignmentOpSymbol$16 = $T($S($EXPECT($L24, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L24, fail, 'AssignmentOpSymbol "="'))), function(value) {
5564
5579
  return value[0];
5565
5580
  });
5566
5581
  var AssignmentOpSymbol$17 = $T($S(CoffeeWordAssignmentOp), function(value) {
@@ -5584,10 +5599,10 @@ ${input.slice(result.pos)}
5584
5599
  return result;
5585
5600
  }
5586
5601
  }
5587
- var CoffeeWordAssignmentOp$0 = $T($EXPECT($L46, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
5602
+ var CoffeeWordAssignmentOp$0 = $T($EXPECT($L44, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
5588
5603
  return "&&=";
5589
5604
  });
5590
- var CoffeeWordAssignmentOp$1 = $T($EXPECT($L47, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
5605
+ var CoffeeWordAssignmentOp$1 = $T($EXPECT($L45, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
5591
5606
  return "||=";
5592
5607
  });
5593
5608
  function CoffeeWordAssignmentOp(state) {
@@ -5631,77 +5646,77 @@ ${input.slice(result.pos)}
5631
5646
  return result;
5632
5647
  }
5633
5648
  }
5634
- var BinaryOpSymbol$0 = $EXPECT($L48, fail, 'BinaryOpSymbol "**"');
5635
- var BinaryOpSymbol$1 = $EXPECT($L49, fail, 'BinaryOpSymbol "*"');
5636
- var BinaryOpSymbol$2 = $EXPECT($L50, fail, 'BinaryOpSymbol "/"');
5637
- var BinaryOpSymbol$3 = $TV($EXPECT($L51, fail, 'BinaryOpSymbol "%%"'), function($skip, $loc, $0, $1) {
5649
+ var BinaryOpSymbol$0 = $EXPECT($L46, fail, 'BinaryOpSymbol "**"');
5650
+ var BinaryOpSymbol$1 = $EXPECT($L47, fail, 'BinaryOpSymbol "*"');
5651
+ var BinaryOpSymbol$2 = $EXPECT($L48, fail, 'BinaryOpSymbol "/"');
5652
+ var BinaryOpSymbol$3 = $TV($EXPECT($L49, fail, 'BinaryOpSymbol "%%"'), function($skip, $loc, $0, $1) {
5638
5653
  return {
5639
5654
  call: module.getRef("modulo"),
5640
5655
  special: true
5641
5656
  };
5642
5657
  });
5643
- var BinaryOpSymbol$4 = $EXPECT($L52, fail, 'BinaryOpSymbol "%"');
5644
- var BinaryOpSymbol$5 = $EXPECT($L53, fail, 'BinaryOpSymbol "+"');
5645
- var BinaryOpSymbol$6 = $EXPECT($L54, fail, 'BinaryOpSymbol "-"');
5646
- var BinaryOpSymbol$7 = $EXPECT($L55, fail, 'BinaryOpSymbol "<="');
5647
- var BinaryOpSymbol$8 = $EXPECT($L56, fail, 'BinaryOpSymbol ">="');
5648
- var BinaryOpSymbol$9 = $EXPECT($L57, fail, 'BinaryOpSymbol "<<"');
5658
+ var BinaryOpSymbol$4 = $EXPECT($L50, fail, 'BinaryOpSymbol "%"');
5659
+ var BinaryOpSymbol$5 = $EXPECT($L51, fail, 'BinaryOpSymbol "+"');
5660
+ var BinaryOpSymbol$6 = $EXPECT($L52, fail, 'BinaryOpSymbol "-"');
5661
+ var BinaryOpSymbol$7 = $EXPECT($L53, fail, 'BinaryOpSymbol "<="');
5662
+ var BinaryOpSymbol$8 = $EXPECT($L54, fail, 'BinaryOpSymbol ">="');
5663
+ var BinaryOpSymbol$9 = $EXPECT($L55, fail, 'BinaryOpSymbol "<<"');
5649
5664
  var BinaryOpSymbol$10 = $TR($EXPECT($R5, fail, "BinaryOpSymbol /<(?!\\p{ID_Start}|[_$])/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
5650
5665
  return "<";
5651
5666
  });
5652
- var BinaryOpSymbol$11 = $EXPECT($L58, fail, 'BinaryOpSymbol ">>>"');
5653
- var BinaryOpSymbol$12 = $EXPECT($L59, fail, 'BinaryOpSymbol ">>"');
5654
- var BinaryOpSymbol$13 = $EXPECT($L27, fail, 'BinaryOpSymbol ">"');
5655
- var BinaryOpSymbol$14 = $EXPECT($L60, fail, 'BinaryOpSymbol "!=="');
5656
- var BinaryOpSymbol$15 = $TV($EXPECT($L61, fail, 'BinaryOpSymbol "!="'), function($skip, $loc, $0, $1) {
5667
+ var BinaryOpSymbol$11 = $EXPECT($L56, fail, 'BinaryOpSymbol ">>>"');
5668
+ var BinaryOpSymbol$12 = $EXPECT($L57, fail, 'BinaryOpSymbol ">>"');
5669
+ var BinaryOpSymbol$13 = $EXPECT($L25, fail, 'BinaryOpSymbol ">"');
5670
+ var BinaryOpSymbol$14 = $EXPECT($L58, fail, 'BinaryOpSymbol "!=="');
5671
+ var BinaryOpSymbol$15 = $TV($EXPECT($L59, fail, 'BinaryOpSymbol "!="'), function($skip, $loc, $0, $1) {
5657
5672
  if (module.config.coffeeEq)
5658
5673
  return "!==";
5659
5674
  return $1;
5660
5675
  });
5661
- var BinaryOpSymbol$16 = $TS($S($EXPECT($L62, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5676
+ var BinaryOpSymbol$16 = $TS($S($EXPECT($L60, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5662
5677
  if (module.config.coffeeIsnt)
5663
5678
  return "!==";
5664
5679
  return $skip;
5665
5680
  });
5666
- var BinaryOpSymbol$17 = $EXPECT($L63, fail, 'BinaryOpSymbol "==="');
5667
- var BinaryOpSymbol$18 = $TV($EXPECT($L64, fail, 'BinaryOpSymbol "=="'), function($skip, $loc, $0, $1) {
5681
+ var BinaryOpSymbol$17 = $EXPECT($L61, fail, 'BinaryOpSymbol "==="');
5682
+ var BinaryOpSymbol$18 = $TV($EXPECT($L62, fail, 'BinaryOpSymbol "=="'), function($skip, $loc, $0, $1) {
5668
5683
  if (module.config.coffeeEq)
5669
5684
  return "===";
5670
5685
  return $1;
5671
5686
  });
5672
- var BinaryOpSymbol$19 = $T($S($EXPECT($L65, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
5687
+ var BinaryOpSymbol$19 = $T($S($EXPECT($L63, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
5673
5688
  return "&&";
5674
5689
  });
5675
- var BinaryOpSymbol$20 = $EXPECT($L66, fail, 'BinaryOpSymbol "&&"');
5676
- var BinaryOpSymbol$21 = $T($S(CoffeeOfEnabled, $EXPECT($L67, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
5690
+ var BinaryOpSymbol$20 = $EXPECT($L64, fail, 'BinaryOpSymbol "&&"');
5691
+ var BinaryOpSymbol$21 = $T($S(CoffeeOfEnabled, $EXPECT($L65, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
5677
5692
  return "in";
5678
5693
  });
5679
- var BinaryOpSymbol$22 = $T($S($EXPECT($L68, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
5694
+ var BinaryOpSymbol$22 = $T($S($EXPECT($L66, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
5680
5695
  return "||";
5681
5696
  });
5682
- var BinaryOpSymbol$23 = $EXPECT($L69, fail, 'BinaryOpSymbol "||"');
5683
- var BinaryOpSymbol$24 = $EXPECT($L70, fail, 'BinaryOpSymbol "??"');
5684
- var BinaryOpSymbol$25 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L71, fail, 'BinaryOpSymbol "?"')), function(value) {
5697
+ var BinaryOpSymbol$23 = $EXPECT($L67, fail, 'BinaryOpSymbol "||"');
5698
+ var BinaryOpSymbol$24 = $EXPECT($L68, fail, 'BinaryOpSymbol "??"');
5699
+ var BinaryOpSymbol$25 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L69, fail, 'BinaryOpSymbol "?"')), function(value) {
5685
5700
  return "??";
5686
5701
  });
5687
- var BinaryOpSymbol$26 = $TS($S($EXPECT($L72, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5702
+ var BinaryOpSymbol$26 = $TS($S($EXPECT($L70, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5688
5703
  return $1;
5689
5704
  });
5690
- 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) {
5705
+ 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) {
5691
5706
  return {
5692
5707
  $loc,
5693
5708
  token: "instanceof",
5694
5709
  special: true
5695
5710
  };
5696
5711
  });
5697
- 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) {
5712
+ 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) {
5698
5713
  return {
5699
5714
  $loc,
5700
5715
  token: "in",
5701
5716
  special: true
5702
5717
  };
5703
5718
  });
5704
- 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) {
5719
+ 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) {
5705
5720
  return {
5706
5721
  call: [module.getRef("indexOf"), ".call"],
5707
5722
  relational: true,
@@ -5710,7 +5725,7 @@ ${input.slice(result.pos)}
5710
5725
  special: true
5711
5726
  };
5712
5727
  });
5713
- 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) {
5728
+ 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) {
5714
5729
  return {
5715
5730
  call: [module.getRef("indexOf"), ".call"],
5716
5731
  relational: true,
@@ -5719,18 +5734,18 @@ ${input.slice(result.pos)}
5719
5734
  special: true
5720
5735
  };
5721
5736
  });
5722
- var BinaryOpSymbol$31 = $T($S($N(CoffeeNotEnabled), $EXPECT($L75, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue), function(value) {
5737
+ var BinaryOpSymbol$31 = $T($S($N(CoffeeNotEnabled), $EXPECT($L73, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L71, fail, 'BinaryOpSymbol "not"'), NonIdContinue), function(value) {
5723
5738
  return "!==";
5724
5739
  });
5725
- var BinaryOpSymbol$32 = $T($S($EXPECT($L75, fail, 'BinaryOpSymbol "is"'), NonIdContinue), function(value) {
5740
+ var BinaryOpSymbol$32 = $T($S($EXPECT($L73, fail, 'BinaryOpSymbol "is"'), NonIdContinue), function(value) {
5726
5741
  return "===";
5727
5742
  });
5728
- var BinaryOpSymbol$33 = $TS($S($EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5743
+ var BinaryOpSymbol$33 = $TS($S($EXPECT($L72, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5729
5744
  return $1;
5730
5745
  });
5731
- var BinaryOpSymbol$34 = $EXPECT($L76, fail, 'BinaryOpSymbol "&"');
5732
- var BinaryOpSymbol$35 = $EXPECT($L77, fail, 'BinaryOpSymbol "^"');
5733
- var BinaryOpSymbol$36 = $EXPECT($L78, fail, 'BinaryOpSymbol "|"');
5746
+ var BinaryOpSymbol$34 = $EXPECT($L74, fail, 'BinaryOpSymbol "&"');
5747
+ var BinaryOpSymbol$35 = $EXPECT($L75, fail, 'BinaryOpSymbol "^"');
5748
+ var BinaryOpSymbol$36 = $EXPECT($L76, fail, 'BinaryOpSymbol "|"');
5734
5749
  function BinaryOpSymbol(state) {
5735
5750
  if (state.events) {
5736
5751
  const result = state.events.enter?.("BinaryOpSymbol", state);
@@ -5869,7 +5884,7 @@ ${input.slice(result.pos)}
5869
5884
  return result;
5870
5885
  }
5871
5886
  }
5872
- var EmptyStatement$0 = $T($S($Q(TrailingComment), $Y($EXPECT($L79, fail, 'EmptyStatement ";"'))), function(value) {
5887
+ var EmptyStatement$0 = $T($S($Q(TrailingComment), $Y($EXPECT($L77, fail, 'EmptyStatement ";"'))), function(value) {
5873
5888
  return { "type": "EmptyStatement", "children": value[0] };
5874
5889
  });
5875
5890
  function EmptyStatement(state) {
@@ -5890,7 +5905,7 @@ ${input.slice(result.pos)}
5890
5905
  return result;
5891
5906
  }
5892
5907
  }
5893
- var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L26, fail, 'BlockStatement "="')))), function(value) {
5908
+ var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L24, fail, 'BlockStatement "="')))), function(value) {
5894
5909
  return value[0];
5895
5910
  });
5896
5911
  function BlockStatement(state) {
@@ -6715,7 +6730,7 @@ ${input.slice(result.pos)}
6715
6730
  return result;
6716
6731
  }
6717
6732
  }
6718
- var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L80, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
6733
+ var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L78, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
6719
6734
  var own = $1;
6720
6735
  var binding = $2;
6721
6736
  if (own) {
@@ -7259,7 +7274,7 @@ ${input.slice(result.pos)}
7259
7274
  return result;
7260
7275
  }
7261
7276
  }
7262
- var Finally$0 = $S(__, $EXPECT($L81, fail, 'Finally "finally"'), NonIdContinue, BracedBlock);
7277
+ var Finally$0 = $S(__, $EXPECT($L79, fail, 'Finally "finally"'), NonIdContinue, BracedBlock);
7263
7278
  function Finally(state) {
7264
7279
  if (state.events) {
7265
7280
  const result = state.events.enter?.("Finally", state);
@@ -7395,13 +7410,13 @@ ${input.slice(result.pos)}
7395
7410
  return result;
7396
7411
  }
7397
7412
  }
7398
- var KeywordStatement$0 = $T($S($EXPECT($L82, fail, 'KeywordStatement "break"'), NonIdContinue), function(value) {
7413
+ var KeywordStatement$0 = $T($S($EXPECT($L80, fail, 'KeywordStatement "break"'), NonIdContinue), function(value) {
7399
7414
  return { "type": "BreakStatement", "children": value };
7400
7415
  });
7401
- var KeywordStatement$1 = $T($S($EXPECT($L83, fail, 'KeywordStatement "continue"'), NonIdContinue), function(value) {
7416
+ var KeywordStatement$1 = $T($S($EXPECT($L81, fail, 'KeywordStatement "continue"'), NonIdContinue), function(value) {
7402
7417
  return { "type": "ContinueStatement", "children": value };
7403
7418
  });
7404
- var KeywordStatement$2 = $T($S($EXPECT($L84, fail, 'KeywordStatement "debugger"'), NonIdContinue), function(value) {
7419
+ var KeywordStatement$2 = $T($S($EXPECT($L82, fail, 'KeywordStatement "debugger"'), NonIdContinue), function(value) {
7405
7420
  return { "type": "DebuggerStatement", "children": value };
7406
7421
  });
7407
7422
  var KeywordStatement$3 = $T($S(Return, $E(MaybeNestedExpression)), function(value) {
@@ -7428,7 +7443,7 @@ ${input.slice(result.pos)}
7428
7443
  return result;
7429
7444
  }
7430
7445
  }
7431
- var DebuggerExpression$0 = $TS($S($EXPECT($L84, fail, 'DebuggerExpression "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
7446
+ var DebuggerExpression$0 = $TS($S($EXPECT($L82, fail, 'DebuggerExpression "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
7432
7447
  return {
7433
7448
  type: "DebuggerExpression",
7434
7449
  children: ["(()=>{", $1, "})()"]
@@ -7501,7 +7516,7 @@ ${input.slice(result.pos)}
7501
7516
  return result;
7502
7517
  }
7503
7518
  }
7504
- var ImportDeclaration$0 = $T($S($EXPECT($L85, fail, 'ImportDeclaration "import type"'), NonIdContinue, __, ImportClause, __, FromClause), function(value) {
7519
+ var ImportDeclaration$0 = $T($S(Import, __, TypeKeyword, __, ImportClause, __, FromClause), function(value) {
7505
7520
  return { "ts": true, "children": value };
7506
7521
  });
7507
7522
  var ImportDeclaration$1 = $S(Import, __, ImportClause, __, FromClause);
@@ -7618,11 +7633,9 @@ ${input.slice(result.pos)}
7618
7633
  return result;
7619
7634
  }
7620
7635
  }
7621
- var NamedImports$0 = $TS($S(OpenBrace, $Q(ImportSpecifier), $E($S(__, Comma)), __, CloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
7636
+ var NamedImports$0 = $TS($S(OpenBrace, $Q(TypeAndImportSpecifier), $E($S(__, Comma)), __, CloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
7622
7637
  var specifiers = $2;
7623
- const names = specifiers.flatMap(({ binding }) => {
7624
- return binding.names;
7625
- });
7638
+ const names = specifiers.flatMap(({ binding }) => binding.names);
7626
7639
  return {
7627
7640
  type: "Declaration",
7628
7641
  children: $0,
@@ -7666,6 +7679,29 @@ ${input.slice(result.pos)}
7666
7679
  return result;
7667
7680
  }
7668
7681
  }
7682
+ var TypeAndImportSpecifier$0 = $TS($S($E($S(__, TypeKeyword)), ImportSpecifier), function($skip, $loc, $0, $1, $2) {
7683
+ if (!$1)
7684
+ return $2;
7685
+ return { ts: true, children: $0, binding: $2.binding };
7686
+ });
7687
+ function TypeAndImportSpecifier(state) {
7688
+ if (state.events) {
7689
+ const result = state.events.enter?.("TypeAndImportSpecifier", state);
7690
+ if (result)
7691
+ return result.cache;
7692
+ }
7693
+ if (state.tokenize) {
7694
+ const result = $TOKEN("TypeAndImportSpecifier", state, TypeAndImportSpecifier$0(state));
7695
+ if (state.events)
7696
+ state.events.exit?.("TypeAndImportSpecifier", state, result);
7697
+ return result;
7698
+ } else {
7699
+ const result = TypeAndImportSpecifier$0(state);
7700
+ if (state.events)
7701
+ state.events.exit?.("TypeAndImportSpecifier", state, result);
7702
+ return result;
7703
+ }
7704
+ }
7669
7705
  var ImportSpecifier$0 = $TS($S(__, ModuleExportName, __, As, __, ImportedBinding, ObjectPropertyDelimiter), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7) {
7670
7706
  var binding = $6;
7671
7707
  return {
@@ -7801,9 +7837,17 @@ ${input.slice(result.pos)}
7801
7837
  return result;
7802
7838
  }
7803
7839
  }
7804
- var ExportDeclaration$0 = $S(Export, __, $EXPECT($L86, fail, 'ExportDeclaration "default"'), NonIdContinue, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
7805
- var ExportDeclaration$1 = $S(Export, __, ExportFromClause, __, FromClause);
7806
- var ExportDeclaration$2 = $S(Export, __, $C(Declaration, NamedExports, VariableStatement, ExportVarDec));
7840
+ var ExportDeclaration$0 = $S(Export, __, $EXPECT($L83, fail, 'ExportDeclaration "default"'), NonIdContinue, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
7841
+ var ExportDeclaration$1 = $TS($S(Export, __, ExportFromClause, __, FromClause), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
7842
+ if (!$3.ts)
7843
+ return $0;
7844
+ return { ts: true, children: $0 };
7845
+ });
7846
+ var ExportDeclaration$2 = $TS($S(Export, __, $C(Declaration, TypeAndNamedExports, VariableStatement, ExportVarDec)), function($skip, $loc, $0, $1, $2, $3) {
7847
+ if (!$3.ts)
7848
+ return $0;
7849
+ return { ts: true, children: $0 };
7850
+ });
7807
7851
  function ExportDeclaration(state) {
7808
7852
  if (state.events) {
7809
7853
  const result = state.events.enter?.("ExportDeclaration", state);
@@ -7842,7 +7886,7 @@ ${input.slice(result.pos)}
7842
7886
  }
7843
7887
  }
7844
7888
  var ExportFromClause$0 = $S(Star, $E($S(__, As, __, ModuleExportName)));
7845
- var ExportFromClause$1 = NamedExports;
7889
+ var ExportFromClause$1 = TypeAndNamedExports;
7846
7890
  function ExportFromClause(state) {
7847
7891
  if (state.events) {
7848
7892
  const result = state.events.enter?.("ExportFromClause", state);
@@ -7861,6 +7905,29 @@ ${input.slice(result.pos)}
7861
7905
  return result;
7862
7906
  }
7863
7907
  }
7908
+ var TypeAndNamedExports$0 = $TS($S($E($S(TypeKeyword, __)), NamedExports), function($skip, $loc, $0, $1, $2) {
7909
+ if (!$1)
7910
+ return $2;
7911
+ return { ts: true, children: $0 };
7912
+ });
7913
+ function TypeAndNamedExports(state) {
7914
+ if (state.events) {
7915
+ const result = state.events.enter?.("TypeAndNamedExports", state);
7916
+ if (result)
7917
+ return result.cache;
7918
+ }
7919
+ if (state.tokenize) {
7920
+ const result = $TOKEN("TypeAndNamedExports", state, TypeAndNamedExports$0(state));
7921
+ if (state.events)
7922
+ state.events.exit?.("TypeAndNamedExports", state, result);
7923
+ return result;
7924
+ } else {
7925
+ const result = TypeAndNamedExports$0(state);
7926
+ if (state.events)
7927
+ state.events.exit?.("TypeAndNamedExports", state, result);
7928
+ return result;
7929
+ }
7930
+ }
7864
7931
  var NamedExports$0 = $S(OpenBrace, $Q(ExportSpecifier), $E($S(__, Comma)), __, CloseBrace);
7865
7932
  var NamedExports$1 = $TS($S(InsertInlineOpenBrace, ImplicitExportSpecifier, $Q($S(_, ImplicitExportSpecifier)), InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3, $4) {
7866
7933
  var open = $1;
@@ -7885,7 +7952,11 @@ ${input.slice(result.pos)}
7885
7952
  return result;
7886
7953
  }
7887
7954
  }
7888
- var ExportSpecifier$0 = $S(__, ModuleExportName, $E($S(__, As, __, ModuleExportName)), ObjectPropertyDelimiter);
7955
+ var ExportSpecifier$0 = $TS($S(__, $E($S(TypeKeyword, __)), ModuleExportName, $E($S(__, As, __, ModuleExportName)), ObjectPropertyDelimiter), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
7956
+ if (!$2)
7957
+ return $0;
7958
+ return { ts: true, children: $0 };
7959
+ });
7889
7960
  function ExportSpecifier(state) {
7890
7961
  if (state.events) {
7891
7962
  const result = state.events.enter?.("ExportSpecifier", state);
@@ -7904,7 +7975,7 @@ ${input.slice(result.pos)}
7904
7975
  return result;
7905
7976
  }
7906
7977
  }
7907
- var ImplicitExportSpecifier$0 = $S($N($EXPECT($L86, fail, 'ImplicitExportSpecifier "default"')), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
7978
+ var ImplicitExportSpecifier$0 = $S($N($EXPECT($L83, fail, 'ImplicitExportSpecifier "default"')), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
7908
7979
  function ImplicitExportSpecifier(state) {
7909
7980
  if (state.events) {
7910
7981
  const result = state.events.enter?.("ImplicitExportSpecifier", state);
@@ -8059,7 +8130,7 @@ ${input.slice(result.pos)}
8059
8130
  return result;
8060
8131
  }
8061
8132
  }
8062
- var ConstAssignment$0 = $TV($EXPECT($L87, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
8133
+ var ConstAssignment$0 = $TV($EXPECT($L84, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
8063
8134
  return { $loc, token: "=" };
8064
8135
  });
8065
8136
  function ConstAssignment(state) {
@@ -8080,10 +8151,10 @@ ${input.slice(result.pos)}
8080
8151
  return result;
8081
8152
  }
8082
8153
  }
8083
- var LetAssignment$0 = $TV($EXPECT($L88, fail, 'LetAssignment "::="'), function($skip, $loc, $0, $1) {
8154
+ var LetAssignment$0 = $TV($EXPECT($L85, fail, 'LetAssignment "::="'), function($skip, $loc, $0, $1) {
8084
8155
  return { $loc, token: "=" };
8085
8156
  });
8086
- var LetAssignment$1 = $TV($EXPECT($L89, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
8157
+ var LetAssignment$1 = $TV($EXPECT($L86, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
8087
8158
  return { $loc, token: "=" };
8088
8159
  });
8089
8160
  function LetAssignment(state) {
@@ -8641,7 +8712,7 @@ ${input.slice(result.pos)}
8641
8712
  }
8642
8713
  }
8643
8714
  var RegularExpressionLiteral$0 = HeregexLiteral;
8644
- var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L50, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L50, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
8715
+ var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L48, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L48, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
8645
8716
  return { $loc, token: $1 };
8646
8717
  });
8647
8718
  function RegularExpressionLiteral(state) {
@@ -8988,7 +9059,7 @@ ${input.slice(result.pos)}
8988
9059
  var ReservedWord$2 = $S(CoffeeForLoopsEnabled, $R$0($EXPECT($R34, fail, "ReservedWord /(?:by)(?!\\p{ID_Continue})/")));
8989
9060
  var ReservedWord$3 = $S(CoffeeOfEnabled, $R$0($EXPECT($R35, fail, "ReservedWord /(?:of)(?!\\p{ID_Continue})/")));
8990
9061
  var ReservedWord$4 = $S(CoffeeNotEnabled, $R$0($EXPECT($R36, fail, "ReservedWord /(?:not)(?!\\p{ID_Continue})/")));
8991
- var ReservedWord$5 = $S($EXPECT($L73, fail, 'ReservedWord "not"'), NonIdContinue, __, $EXPECT($L74, fail, 'ReservedWord "in"'), NonIdContinue);
9062
+ var ReservedWord$5 = $S($EXPECT($L71, fail, 'ReservedWord "not"'), NonIdContinue, __, $EXPECT($L72, fail, 'ReservedWord "in"'), NonIdContinue);
8992
9063
  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})/"));
8993
9064
  function ReservedWord(state) {
8994
9065
  if (state.events) {
@@ -9089,7 +9160,7 @@ ${input.slice(result.pos)}
9089
9160
  return result;
9090
9161
  }
9091
9162
  }
9092
- 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) {
9163
+ 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) {
9093
9164
  return { $loc, token: $1 };
9094
9165
  });
9095
9166
  function JSMultiLineComment(state) {
@@ -9131,7 +9202,7 @@ ${input.slice(result.pos)}
9131
9202
  return result;
9132
9203
  }
9133
9204
  }
9134
- 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) {
9205
+ 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) {
9135
9206
  return { $loc, token: `/*${$2}*/` };
9136
9207
  });
9137
9208
  function CoffeeMultiLineComment(state) {
@@ -9171,7 +9242,7 @@ ${input.slice(result.pos)}
9171
9242
  return result;
9172
9243
  }
9173
9244
  }
9174
- 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) {
9245
+ 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) {
9175
9246
  return { $loc, token: $1 };
9176
9247
  });
9177
9248
  function InlineComment(state) {
@@ -9254,7 +9325,7 @@ ${input.slice(result.pos)}
9254
9325
  var NonNewlineWhitespace$0 = $TR($EXPECT($R43, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
9255
9326
  return { $loc, token: $0 };
9256
9327
  });
9257
- var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L92, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
9328
+ var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L89, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
9258
9329
  return "";
9259
9330
  });
9260
9331
  function NonNewlineWhitespace(state) {
@@ -9423,7 +9494,7 @@ ${input.slice(result.pos)}
9423
9494
  return result;
9424
9495
  }
9425
9496
  }
9426
- var Abstract$0 = $TV($TEXT($S($EXPECT($L93, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L4, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
9497
+ var Abstract$0 = $TV($TEXT($S($EXPECT($L90, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L4, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
9427
9498
  return { $loc, token: $1, ts: true };
9428
9499
  });
9429
9500
  function Abstract(state) {
@@ -9444,7 +9515,7 @@ ${input.slice(result.pos)}
9444
9515
  return result;
9445
9516
  }
9446
9517
  }
9447
- var Ampersand$0 = $TV($EXPECT($L76, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
9518
+ var Ampersand$0 = $TV($EXPECT($L74, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
9448
9519
  return { $loc, token: $1 };
9449
9520
  });
9450
9521
  function Ampersand(state) {
@@ -9465,7 +9536,7 @@ ${input.slice(result.pos)}
9465
9536
  return result;
9466
9537
  }
9467
9538
  }
9468
- var As$0 = $TS($S($EXPECT($L94, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9539
+ var As$0 = $TS($S($EXPECT($L91, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9469
9540
  return { $loc, token: $1 };
9470
9541
  });
9471
9542
  function As(state) {
@@ -9486,7 +9557,7 @@ ${input.slice(result.pos)}
9486
9557
  return result;
9487
9558
  }
9488
9559
  }
9489
- var At$0 = $TV($EXPECT($L95, fail, 'At "@"'), function($skip, $loc, $0, $1) {
9560
+ var At$0 = $TV($EXPECT($L92, fail, 'At "@"'), function($skip, $loc, $0, $1) {
9490
9561
  return { $loc, token: $1 };
9491
9562
  });
9492
9563
  function At(state) {
@@ -9507,7 +9578,7 @@ ${input.slice(result.pos)}
9507
9578
  return result;
9508
9579
  }
9509
9580
  }
9510
- var AtAt$0 = $TV($EXPECT($L96, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
9581
+ var AtAt$0 = $TV($EXPECT($L93, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
9511
9582
  return { $loc, token: "@" };
9512
9583
  });
9513
9584
  function AtAt(state) {
@@ -9528,7 +9599,7 @@ ${input.slice(result.pos)}
9528
9599
  return result;
9529
9600
  }
9530
9601
  }
9531
- var Async$0 = $TS($S($EXPECT($L97, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9602
+ var Async$0 = $TS($S($EXPECT($L94, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9532
9603
  return { $loc, token: $1, type: "Async" };
9533
9604
  });
9534
9605
  function Async(state) {
@@ -9549,7 +9620,7 @@ ${input.slice(result.pos)}
9549
9620
  return result;
9550
9621
  }
9551
9622
  }
9552
- var Await$0 = $TS($S($EXPECT($L98, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9623
+ var Await$0 = $TS($S($EXPECT($L95, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9553
9624
  return { $loc, token: $1 };
9554
9625
  });
9555
9626
  function Await(state) {
@@ -9570,7 +9641,7 @@ ${input.slice(result.pos)}
9570
9641
  return result;
9571
9642
  }
9572
9643
  }
9573
- var Backtick$0 = $TV($EXPECT($L99, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
9644
+ var Backtick$0 = $TV($EXPECT($L96, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
9574
9645
  return { $loc, token: $1 };
9575
9646
  });
9576
9647
  function Backtick(state) {
@@ -9591,7 +9662,7 @@ ${input.slice(result.pos)}
9591
9662
  return result;
9592
9663
  }
9593
9664
  }
9594
- var By$0 = $TS($S($EXPECT($L100, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9665
+ var By$0 = $TS($S($EXPECT($L97, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9595
9666
  return { $loc, token: $1 };
9596
9667
  });
9597
9668
  function By(state) {
@@ -9612,7 +9683,7 @@ ${input.slice(result.pos)}
9612
9683
  return result;
9613
9684
  }
9614
9685
  }
9615
- var Case$0 = $TS($S($EXPECT($L101, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9686
+ var Case$0 = $TS($S($EXPECT($L98, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9616
9687
  return { $loc, token: $1 };
9617
9688
  });
9618
9689
  function Case(state) {
@@ -9633,7 +9704,7 @@ ${input.slice(result.pos)}
9633
9704
  return result;
9634
9705
  }
9635
9706
  }
9636
- var Catch$0 = $TS($S($EXPECT($L102, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9707
+ var Catch$0 = $TS($S($EXPECT($L99, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9637
9708
  return { $loc, token: $1 };
9638
9709
  });
9639
9710
  function Catch(state) {
@@ -9654,7 +9725,7 @@ ${input.slice(result.pos)}
9654
9725
  return result;
9655
9726
  }
9656
9727
  }
9657
- var Class$0 = $TS($S($EXPECT($L103, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9728
+ var Class$0 = $TS($S($EXPECT($L100, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9658
9729
  return { $loc, token: $1 };
9659
9730
  });
9660
9731
  function Class(state) {
@@ -9675,7 +9746,7 @@ ${input.slice(result.pos)}
9675
9746
  return result;
9676
9747
  }
9677
9748
  }
9678
- var CloseBrace$0 = $TV($EXPECT($L17, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
9749
+ var CloseBrace$0 = $TV($EXPECT($L15, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
9679
9750
  return { $loc, token: $1 };
9680
9751
  });
9681
9752
  function CloseBrace(state) {
@@ -9696,7 +9767,7 @@ ${input.slice(result.pos)}
9696
9767
  return result;
9697
9768
  }
9698
9769
  }
9699
- var CloseBracket$0 = $TV($EXPECT($L28, fail, 'CloseBracket "]"'), function($skip, $loc, $0, $1) {
9770
+ var CloseBracket$0 = $TV($EXPECT($L26, fail, 'CloseBracket "]"'), function($skip, $loc, $0, $1) {
9700
9771
  return { $loc, token: $1 };
9701
9772
  });
9702
9773
  function CloseBracket(state) {
@@ -9717,7 +9788,7 @@ ${input.slice(result.pos)}
9717
9788
  return result;
9718
9789
  }
9719
9790
  }
9720
- var CloseParen$0 = $TV($EXPECT($L15, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
9791
+ var CloseParen$0 = $TV($EXPECT($L13, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
9721
9792
  return { $loc, token: $1 };
9722
9793
  });
9723
9794
  function CloseParen(state) {
@@ -9738,7 +9809,7 @@ ${input.slice(result.pos)}
9738
9809
  return result;
9739
9810
  }
9740
9811
  }
9741
- var CoffeeSubstitutionStart$0 = $TV($EXPECT($L104, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
9812
+ var CoffeeSubstitutionStart$0 = $TV($EXPECT($L101, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
9742
9813
  return { $loc, token: "${" };
9743
9814
  });
9744
9815
  function CoffeeSubstitutionStart(state) {
@@ -9759,7 +9830,7 @@ ${input.slice(result.pos)}
9759
9830
  return result;
9760
9831
  }
9761
9832
  }
9762
- var Colon$0 = $TV($EXPECT($L29, fail, 'Colon ":"'), function($skip, $loc, $0, $1) {
9833
+ var Colon$0 = $TV($EXPECT($L27, fail, 'Colon ":"'), function($skip, $loc, $0, $1) {
9763
9834
  return { $loc, token: $1 };
9764
9835
  });
9765
9836
  function Colon(state) {
@@ -9780,7 +9851,7 @@ ${input.slice(result.pos)}
9780
9851
  return result;
9781
9852
  }
9782
9853
  }
9783
- var ConstructorShorthand$0 = $TV($EXPECT($L95, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
9854
+ var ConstructorShorthand$0 = $TV($EXPECT($L92, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
9784
9855
  return { $loc, token: "constructor" };
9785
9856
  });
9786
9857
  function ConstructorShorthand(state) {
@@ -9801,7 +9872,7 @@ ${input.slice(result.pos)}
9801
9872
  return result;
9802
9873
  }
9803
9874
  }
9804
- var Default$0 = $TS($S($EXPECT($L86, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9875
+ var Default$0 = $TS($S($EXPECT($L83, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9805
9876
  return { $loc, token: $1 };
9806
9877
  });
9807
9878
  function Default(state) {
@@ -9822,7 +9893,7 @@ ${input.slice(result.pos)}
9822
9893
  return result;
9823
9894
  }
9824
9895
  }
9825
- var Delete$0 = $TS($S($EXPECT($L105, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9896
+ var Delete$0 = $TS($S($EXPECT($L102, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9826
9897
  return { $loc, token: $1 };
9827
9898
  });
9828
9899
  function Delete(state) {
@@ -9843,7 +9914,7 @@ ${input.slice(result.pos)}
9843
9914
  return result;
9844
9915
  }
9845
9916
  }
9846
- var Do$0 = $TS($S($EXPECT($L106, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9917
+ var Do$0 = $TS($S($EXPECT($L103, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9847
9918
  return { $loc, token: $1 };
9848
9919
  });
9849
9920
  function Do(state) {
@@ -9864,7 +9935,7 @@ ${input.slice(result.pos)}
9864
9935
  return result;
9865
9936
  }
9866
9937
  }
9867
- var Dot$0 = $TV($EXPECT($L9, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
9938
+ var Dot$0 = $TV($EXPECT($L7, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
9868
9939
  return { $loc, token: $1 };
9869
9940
  });
9870
9941
  function Dot(state) {
@@ -9885,7 +9956,7 @@ ${input.slice(result.pos)}
9885
9956
  return result;
9886
9957
  }
9887
9958
  }
9888
- var DotDot$0 = $TV($EXPECT($L107, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
9959
+ var DotDot$0 = $TV($EXPECT($L104, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
9889
9960
  return { $loc, token: $1 };
9890
9961
  });
9891
9962
  function DotDot(state) {
@@ -9906,7 +9977,7 @@ ${input.slice(result.pos)}
9906
9977
  return result;
9907
9978
  }
9908
9979
  }
9909
- var DotDotDot$0 = $TV($EXPECT($L108, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
9980
+ var DotDotDot$0 = $TV($EXPECT($L105, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
9910
9981
  return { $loc, token: $1 };
9911
9982
  });
9912
9983
  function DotDotDot(state) {
@@ -9927,7 +9998,7 @@ ${input.slice(result.pos)}
9927
9998
  return result;
9928
9999
  }
9929
10000
  }
9930
- var DoubleColon$0 = $TV($EXPECT($L109, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
10001
+ var DoubleColon$0 = $TV($EXPECT($L106, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
9931
10002
  return { $loc, token: $1 };
9932
10003
  });
9933
10004
  function DoubleColon(state) {
@@ -9948,7 +10019,7 @@ ${input.slice(result.pos)}
9948
10019
  return result;
9949
10020
  }
9950
10021
  }
9951
- var DoubleQuote$0 = $TV($EXPECT($L110, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
10022
+ var DoubleQuote$0 = $TV($EXPECT($L107, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
9952
10023
  return { $loc, token: $1 };
9953
10024
  });
9954
10025
  function DoubleQuote(state) {
@@ -9969,7 +10040,7 @@ ${input.slice(result.pos)}
9969
10040
  return result;
9970
10041
  }
9971
10042
  }
9972
- var Else$0 = $TS($S($EXPECT($L111, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10043
+ var Else$0 = $TS($S($EXPECT($L108, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9973
10044
  return { $loc, token: $1 };
9974
10045
  });
9975
10046
  function Else(state) {
@@ -9990,7 +10061,7 @@ ${input.slice(result.pos)}
9990
10061
  return result;
9991
10062
  }
9992
10063
  }
9993
- var Equals$0 = $TV($EXPECT($L26, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
10064
+ var Equals$0 = $TV($EXPECT($L24, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
9994
10065
  return { $loc, token: $1 };
9995
10066
  });
9996
10067
  function Equals(state) {
@@ -10011,7 +10082,7 @@ ${input.slice(result.pos)}
10011
10082
  return result;
10012
10083
  }
10013
10084
  }
10014
- var Export$0 = $TS($S($EXPECT($L112, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10085
+ var Export$0 = $TS($S($EXPECT($L109, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10015
10086
  return { $loc, token: $1 };
10016
10087
  });
10017
10088
  function Export(state) {
@@ -10032,7 +10103,28 @@ ${input.slice(result.pos)}
10032
10103
  return result;
10033
10104
  }
10034
10105
  }
10035
- var For$0 = $TS($S($EXPECT($L113, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10106
+ var Extends$0 = $TS($S($EXPECT($L110, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10107
+ return { $loc, token: $1 };
10108
+ });
10109
+ function Extends(state) {
10110
+ if (state.events) {
10111
+ const result = state.events.enter?.("Extends", state);
10112
+ if (result)
10113
+ return result.cache;
10114
+ }
10115
+ if (state.tokenize) {
10116
+ const result = $TOKEN("Extends", state, Extends$0(state));
10117
+ if (state.events)
10118
+ state.events.exit?.("Extends", state, result);
10119
+ return result;
10120
+ } else {
10121
+ const result = Extends$0(state);
10122
+ if (state.events)
10123
+ state.events.exit?.("Extends", state, result);
10124
+ return result;
10125
+ }
10126
+ }
10127
+ var For$0 = $TS($S($EXPECT($L111, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10036
10128
  return { $loc, token: $1 };
10037
10129
  });
10038
10130
  function For(state) {
@@ -10053,7 +10145,7 @@ ${input.slice(result.pos)}
10053
10145
  return result;
10054
10146
  }
10055
10147
  }
10056
- var From$0 = $TS($S($EXPECT($L114, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10148
+ var From$0 = $TS($S($EXPECT($L112, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10057
10149
  return { $loc, token: $1 };
10058
10150
  });
10059
10151
  function From(state) {
@@ -10074,7 +10166,7 @@ ${input.slice(result.pos)}
10074
10166
  return result;
10075
10167
  }
10076
10168
  }
10077
- var Function$0 = $TS($S($EXPECT($L115, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10169
+ var Function$0 = $TS($S($EXPECT($L113, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10078
10170
  return { $loc, token: $1 };
10079
10171
  });
10080
10172
  function Function(state) {
@@ -10095,7 +10187,7 @@ ${input.slice(result.pos)}
10095
10187
  return result;
10096
10188
  }
10097
10189
  }
10098
- var GetOrSet$0 = $TS($S($C($EXPECT($L116, fail, 'GetOrSet "get"'), $EXPECT($L117, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10190
+ var GetOrSet$0 = $TS($S($C($EXPECT($L114, fail, 'GetOrSet "get"'), $EXPECT($L115, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10099
10191
  return { $loc, token: $1, type: "GetOrSet" };
10100
10192
  });
10101
10193
  function GetOrSet(state) {
@@ -10116,7 +10208,7 @@ ${input.slice(result.pos)}
10116
10208
  return result;
10117
10209
  }
10118
10210
  }
10119
- var If$0 = $TV($TEXT($S($EXPECT($L118, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L4, fail, 'If " "')))), function($skip, $loc, $0, $1) {
10211
+ var If$0 = $TV($TEXT($S($EXPECT($L116, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L4, fail, 'If " "')))), function($skip, $loc, $0, $1) {
10120
10212
  return { $loc, token: $1 };
10121
10213
  });
10122
10214
  function If(state) {
@@ -10137,7 +10229,7 @@ ${input.slice(result.pos)}
10137
10229
  return result;
10138
10230
  }
10139
10231
  }
10140
- var Import$0 = $TS($S($EXPECT($L11, fail, 'Import "import"'), $Y($EXPECT($R45, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
10232
+ var Import$0 = $TS($S($EXPECT($L9, fail, 'Import "import"'), $Y($EXPECT($R45, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
10141
10233
  return { $loc, token: $1 };
10142
10234
  });
10143
10235
  function Import(state) {
@@ -10158,7 +10250,7 @@ ${input.slice(result.pos)}
10158
10250
  return result;
10159
10251
  }
10160
10252
  }
10161
- var In$0 = $TS($S($EXPECT($L74, fail, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10253
+ var In$0 = $TS($S($EXPECT($L72, fail, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10162
10254
  return { $loc, token: $1 };
10163
10255
  });
10164
10256
  function In(state) {
@@ -10179,7 +10271,7 @@ ${input.slice(result.pos)}
10179
10271
  return result;
10180
10272
  }
10181
10273
  }
10182
- var LetOrConst$0 = $TS($S($C($EXPECT($L119, fail, 'LetOrConst "let"'), $EXPECT($L120, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10274
+ var LetOrConst$0 = $TS($S($C($EXPECT($L117, fail, 'LetOrConst "let"'), $EXPECT($L118, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10183
10275
  return { $loc, token: $1 };
10184
10276
  });
10185
10277
  function LetOrConst(state) {
@@ -10200,7 +10292,7 @@ ${input.slice(result.pos)}
10200
10292
  return result;
10201
10293
  }
10202
10294
  }
10203
- var Loop$0 = $TS($S($EXPECT($L121, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10295
+ var Loop$0 = $TS($S($EXPECT($L119, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10204
10296
  return { $loc, token: "while(true)" };
10205
10297
  });
10206
10298
  function Loop(state) {
@@ -10221,7 +10313,7 @@ ${input.slice(result.pos)}
10221
10313
  return result;
10222
10314
  }
10223
10315
  }
10224
- var New$0 = $TS($S($EXPECT($L122, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10316
+ var New$0 = $TS($S($EXPECT($L120, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10225
10317
  return { $loc, token: $1 };
10226
10318
  });
10227
10319
  function New(state) {
@@ -10242,7 +10334,7 @@ ${input.slice(result.pos)}
10242
10334
  return result;
10243
10335
  }
10244
10336
  }
10245
- 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) {
10337
+ 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) {
10246
10338
  return { $loc, token: "!" };
10247
10339
  });
10248
10340
  function Not(state) {
@@ -10263,7 +10355,7 @@ ${input.slice(result.pos)}
10263
10355
  return result;
10264
10356
  }
10265
10357
  }
10266
- var Of$0 = $TS($S($EXPECT($L67, fail, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10358
+ var Of$0 = $TS($S($EXPECT($L65, fail, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10267
10359
  return { $loc, token: $1 };
10268
10360
  });
10269
10361
  function Of(state) {
@@ -10284,7 +10376,28 @@ ${input.slice(result.pos)}
10284
10376
  return result;
10285
10377
  }
10286
10378
  }
10287
- var OpenBrace$0 = $TV($EXPECT($L123, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
10379
+ var OpenAngleBracket$0 = $TV($EXPECT($L121, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
10380
+ return { $loc, token: $1 };
10381
+ });
10382
+ function OpenAngleBracket(state) {
10383
+ if (state.events) {
10384
+ const result = state.events.enter?.("OpenAngleBracket", state);
10385
+ if (result)
10386
+ return result.cache;
10387
+ }
10388
+ if (state.tokenize) {
10389
+ const result = $TOKEN("OpenAngleBracket", state, OpenAngleBracket$0(state));
10390
+ if (state.events)
10391
+ state.events.exit?.("OpenAngleBracket", state, result);
10392
+ return result;
10393
+ } else {
10394
+ const result = OpenAngleBracket$0(state);
10395
+ if (state.events)
10396
+ state.events.exit?.("OpenAngleBracket", state, result);
10397
+ return result;
10398
+ }
10399
+ }
10400
+ var OpenBrace$0 = $TV($EXPECT($L122, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
10288
10401
  return { $loc, token: $1 };
10289
10402
  });
10290
10403
  function OpenBrace(state) {
@@ -10305,7 +10418,7 @@ ${input.slice(result.pos)}
10305
10418
  return result;
10306
10419
  }
10307
10420
  }
10308
- var OpenBracket$0 = $TV($EXPECT($L124, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
10421
+ var OpenBracket$0 = $TV($EXPECT($L123, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
10309
10422
  return { $loc, token: $1 };
10310
10423
  });
10311
10424
  function OpenBracket(state) {
@@ -10326,7 +10439,7 @@ ${input.slice(result.pos)}
10326
10439
  return result;
10327
10440
  }
10328
10441
  }
10329
- var OpenParen$0 = $TV($EXPECT($L125, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
10442
+ var OpenParen$0 = $TV($EXPECT($L124, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
10330
10443
  return { $loc, token: $1 };
10331
10444
  });
10332
10445
  function OpenParen(state) {
@@ -10347,7 +10460,7 @@ ${input.slice(result.pos)}
10347
10460
  return result;
10348
10461
  }
10349
10462
  }
10350
- var Public$0 = $TS($S($EXPECT($L126, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10463
+ var Public$0 = $TS($S($EXPECT($L125, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10351
10464
  return { $loc, token: $1 };
10352
10465
  });
10353
10466
  function Public(state) {
@@ -10368,7 +10481,7 @@ ${input.slice(result.pos)}
10368
10481
  return result;
10369
10482
  }
10370
10483
  }
10371
- var Private$0 = $TS($S($EXPECT($L127, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10484
+ var Private$0 = $TS($S($EXPECT($L126, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10372
10485
  return { $loc, token: $1 };
10373
10486
  });
10374
10487
  function Private(state) {
@@ -10389,7 +10502,7 @@ ${input.slice(result.pos)}
10389
10502
  return result;
10390
10503
  }
10391
10504
  }
10392
- var Protected$0 = $TS($S($EXPECT($L128, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10505
+ var Protected$0 = $TS($S($EXPECT($L127, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10393
10506
  return { $loc, token: $1 };
10394
10507
  });
10395
10508
  function Protected(state) {
@@ -10410,7 +10523,7 @@ ${input.slice(result.pos)}
10410
10523
  return result;
10411
10524
  }
10412
10525
  }
10413
- var Pipe$0 = $TV($EXPECT($L129, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
10526
+ var Pipe$0 = $TV($EXPECT($L128, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
10414
10527
  return { $loc, token: $1 };
10415
10528
  });
10416
10529
  function Pipe(state) {
@@ -10431,7 +10544,7 @@ ${input.slice(result.pos)}
10431
10544
  return result;
10432
10545
  }
10433
10546
  }
10434
- var QuestionMark$0 = $TV($EXPECT($L71, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
10547
+ var QuestionMark$0 = $TV($EXPECT($L69, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
10435
10548
  return { $loc, token: $1 };
10436
10549
  });
10437
10550
  function QuestionMark(state) {
@@ -10452,7 +10565,7 @@ ${input.slice(result.pos)}
10452
10565
  return result;
10453
10566
  }
10454
10567
  }
10455
- var Readonly$0 = $TS($S($EXPECT($L130, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10568
+ var Readonly$0 = $TS($S($EXPECT($L129, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10456
10569
  return { $loc, token: $1, ts: true };
10457
10570
  });
10458
10571
  function Readonly(state) {
@@ -10473,7 +10586,7 @@ ${input.slice(result.pos)}
10473
10586
  return result;
10474
10587
  }
10475
10588
  }
10476
- var Return$0 = $TS($S($EXPECT($L131, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10589
+ var Return$0 = $TS($S($EXPECT($L130, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10477
10590
  return { $loc, token: $1 };
10478
10591
  });
10479
10592
  function Return(state) {
@@ -10494,7 +10607,7 @@ ${input.slice(result.pos)}
10494
10607
  return result;
10495
10608
  }
10496
10609
  }
10497
- var Satisfies$0 = $TS($S($EXPECT($L132, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10610
+ var Satisfies$0 = $TS($S($EXPECT($L131, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10498
10611
  return { $loc, token: $1 };
10499
10612
  });
10500
10613
  function Satisfies(state) {
@@ -10515,7 +10628,7 @@ ${input.slice(result.pos)}
10515
10628
  return result;
10516
10629
  }
10517
10630
  }
10518
- var Semicolon$0 = $TV($EXPECT($L79, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
10631
+ var Semicolon$0 = $TV($EXPECT($L77, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
10519
10632
  return { $loc, token: $1 };
10520
10633
  });
10521
10634
  function Semicolon(state) {
@@ -10536,7 +10649,7 @@ ${input.slice(result.pos)}
10536
10649
  return result;
10537
10650
  }
10538
10651
  }
10539
- var SingleQuote$0 = $TV($EXPECT($L133, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
10652
+ var SingleQuote$0 = $TV($EXPECT($L132, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
10540
10653
  return { $loc, token: $1 };
10541
10654
  });
10542
10655
  function SingleQuote(state) {
@@ -10557,7 +10670,7 @@ ${input.slice(result.pos)}
10557
10670
  return result;
10558
10671
  }
10559
10672
  }
10560
- var Star$0 = $TV($EXPECT($L49, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
10673
+ var Star$0 = $TV($EXPECT($L47, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
10561
10674
  return { $loc, token: $1 };
10562
10675
  });
10563
10676
  function Star(state) {
@@ -10578,10 +10691,10 @@ ${input.slice(result.pos)}
10578
10691
  return result;
10579
10692
  }
10580
10693
  }
10581
- var Static$0 = $TS($S($EXPECT($L134, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10694
+ var Static$0 = $TS($S($EXPECT($L133, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10582
10695
  return { $loc, token: $1 };
10583
10696
  });
10584
- 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) {
10697
+ 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) {
10585
10698
  return { $loc, token: "static " };
10586
10699
  });
10587
10700
  function Static(state) {
@@ -10602,7 +10715,7 @@ ${input.slice(result.pos)}
10602
10715
  return result;
10603
10716
  }
10604
10717
  }
10605
- var SubstitutionStart$0 = $TV($EXPECT($L135, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
10718
+ var SubstitutionStart$0 = $TV($EXPECT($L134, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
10606
10719
  return { $loc, token: $1 };
10607
10720
  });
10608
10721
  function SubstitutionStart(state) {
@@ -10623,7 +10736,7 @@ ${input.slice(result.pos)}
10623
10736
  return result;
10624
10737
  }
10625
10738
  }
10626
- var Switch$0 = $TS($S($EXPECT($L136, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10739
+ var Switch$0 = $TS($S($EXPECT($L135, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10627
10740
  return { $loc, token: $1 };
10628
10741
  });
10629
10742
  function Switch(state) {
@@ -10644,7 +10757,7 @@ ${input.slice(result.pos)}
10644
10757
  return result;
10645
10758
  }
10646
10759
  }
10647
- var Target$0 = $TS($S($EXPECT($L137, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10760
+ var Target$0 = $TS($S($EXPECT($L136, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10648
10761
  return { $loc, token: $1 };
10649
10762
  });
10650
10763
  function Target(state) {
@@ -10665,7 +10778,7 @@ ${input.slice(result.pos)}
10665
10778
  return result;
10666
10779
  }
10667
10780
  }
10668
- var Then$0 = $TS($S(__, $EXPECT($L138, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
10781
+ var Then$0 = $TS($S(__, $EXPECT($L137, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
10669
10782
  return { $loc, token: "" };
10670
10783
  });
10671
10784
  function Then(state) {
@@ -10686,7 +10799,7 @@ ${input.slice(result.pos)}
10686
10799
  return result;
10687
10800
  }
10688
10801
  }
10689
- var This$0 = $TS($S($EXPECT($L139, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10802
+ var This$0 = $TS($S($EXPECT($L138, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10690
10803
  return { $loc, token: $1 };
10691
10804
  });
10692
10805
  function This(state) {
@@ -10707,7 +10820,7 @@ ${input.slice(result.pos)}
10707
10820
  return result;
10708
10821
  }
10709
10822
  }
10710
- var Throw$0 = $TS($S($EXPECT($L140, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10823
+ var Throw$0 = $TS($S($EXPECT($L139, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10711
10824
  return { $loc, token: $1 };
10712
10825
  });
10713
10826
  function Throw(state) {
@@ -10728,7 +10841,7 @@ ${input.slice(result.pos)}
10728
10841
  return result;
10729
10842
  }
10730
10843
  }
10731
- var TripleDoubleQuote$0 = $TV($EXPECT($L141, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
10844
+ var TripleDoubleQuote$0 = $TV($EXPECT($L140, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
10732
10845
  return { $loc, token: "`" };
10733
10846
  });
10734
10847
  function TripleDoubleQuote(state) {
@@ -10749,7 +10862,7 @@ ${input.slice(result.pos)}
10749
10862
  return result;
10750
10863
  }
10751
10864
  }
10752
- var TripleSingleQuote$0 = $TV($EXPECT($L142, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
10865
+ var TripleSingleQuote$0 = $TV($EXPECT($L141, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
10753
10866
  return { $loc, token: "`" };
10754
10867
  });
10755
10868
  function TripleSingleQuote(state) {
@@ -10770,7 +10883,7 @@ ${input.slice(result.pos)}
10770
10883
  return result;
10771
10884
  }
10772
10885
  }
10773
- var TripleSlash$0 = $TV($EXPECT($L143, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
10886
+ var TripleSlash$0 = $TV($EXPECT($L142, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
10774
10887
  return { $loc, token: "/" };
10775
10888
  });
10776
10889
  function TripleSlash(state) {
@@ -10791,7 +10904,7 @@ ${input.slice(result.pos)}
10791
10904
  return result;
10792
10905
  }
10793
10906
  }
10794
- var TripleTick$0 = $TV($EXPECT($L144, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
10907
+ var TripleTick$0 = $TV($EXPECT($L143, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
10795
10908
  return { $loc, token: "`" };
10796
10909
  });
10797
10910
  function TripleTick(state) {
@@ -10812,7 +10925,7 @@ ${input.slice(result.pos)}
10812
10925
  return result;
10813
10926
  }
10814
10927
  }
10815
- var Try$0 = $TS($S($EXPECT($L145, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10928
+ var Try$0 = $TS($S($EXPECT($L144, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10816
10929
  return { $loc, token: $1 };
10817
10930
  });
10818
10931
  function Try(state) {
@@ -10833,7 +10946,7 @@ ${input.slice(result.pos)}
10833
10946
  return result;
10834
10947
  }
10835
10948
  }
10836
- var Typeof$0 = $TS($S($EXPECT($L146, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10949
+ var Typeof$0 = $TS($S($EXPECT($L145, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10837
10950
  return { $loc, token: $1 };
10838
10951
  });
10839
10952
  function Typeof(state) {
@@ -10854,7 +10967,7 @@ ${input.slice(result.pos)}
10854
10967
  return result;
10855
10968
  }
10856
10969
  }
10857
- var Unless$0 = $TS($S($EXPECT($L147, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10970
+ var Unless$0 = $TS($S($EXPECT($L146, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10858
10971
  return { $loc, token: $1 };
10859
10972
  });
10860
10973
  function Unless(state) {
@@ -10875,7 +10988,7 @@ ${input.slice(result.pos)}
10875
10988
  return result;
10876
10989
  }
10877
10990
  }
10878
- var Until$0 = $TS($S($EXPECT($L148, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10991
+ var Until$0 = $TS($S($EXPECT($L147, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10879
10992
  return { $loc, token: $1 };
10880
10993
  });
10881
10994
  function Until(state) {
@@ -10896,7 +11009,7 @@ ${input.slice(result.pos)}
10896
11009
  return result;
10897
11010
  }
10898
11011
  }
10899
- var Var$0 = $TS($S($EXPECT($L149, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11012
+ var Var$0 = $TS($S($EXPECT($L148, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10900
11013
  return { $loc, token: $1 };
10901
11014
  });
10902
11015
  function Var(state) {
@@ -10917,7 +11030,7 @@ ${input.slice(result.pos)}
10917
11030
  return result;
10918
11031
  }
10919
11032
  }
10920
- var Void$0 = $TS($S($EXPECT($L150, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11033
+ var Void$0 = $TS($S($EXPECT($L149, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10921
11034
  return { $loc, token: $1 };
10922
11035
  });
10923
11036
  function Void(state) {
@@ -10938,7 +11051,7 @@ ${input.slice(result.pos)}
10938
11051
  return result;
10939
11052
  }
10940
11053
  }
10941
- var When$0 = $TS($S($EXPECT($L151, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11054
+ var When$0 = $TS($S($EXPECT($L150, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10942
11055
  return { $loc, token: "case" };
10943
11056
  });
10944
11057
  function When(state) {
@@ -10959,7 +11072,7 @@ ${input.slice(result.pos)}
10959
11072
  return result;
10960
11073
  }
10961
11074
  }
10962
- var While$0 = $TS($S($EXPECT($L152, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11075
+ var While$0 = $TS($S($EXPECT($L151, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10963
11076
  return { $loc, token: $1 };
10964
11077
  });
10965
11078
  function While(state) {
@@ -10980,7 +11093,7 @@ ${input.slice(result.pos)}
10980
11093
  return result;
10981
11094
  }
10982
11095
  }
10983
- var Yield$0 = $TS($S($EXPECT($L153, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11096
+ var Yield$0 = $TS($S($EXPECT($L152, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10984
11097
  return { $loc, token: $1 };
10985
11098
  });
10986
11099
  function Yield(state) {
@@ -11001,29 +11114,62 @@ ${input.slice(result.pos)}
11001
11114
  return result;
11002
11115
  }
11003
11116
  }
11004
- var TypedJSXElement$0 = $TS($S(JSXElement), function($skip, $loc, $0, $1) {
11005
- const type = module.typeOfJSXElement($1);
11117
+ var JSXImplicitFragment$0 = $TS($S(JSXTag, $Q($S(Samedent, JSXTag))), function($skip, $loc, $0, $1, $2) {
11118
+ const jsx = $2.length === 0 ? $1 : {
11119
+ type: "JSXFragment",
11120
+ children: [
11121
+ "<>\n",
11122
+ module.currentIndent.token,
11123
+ ...$0,
11124
+ "\n",
11125
+ module.currentIndent.token,
11126
+ "</>"
11127
+ ],
11128
+ jsxChildren: [$1].concat($2.map(([, tag]) => tag))
11129
+ };
11130
+ const type = module.typeOfJSX(jsx);
11006
11131
  return type ? [
11007
11132
  { ts: true, children: ["("] },
11008
- $1,
11133
+ jsx,
11009
11134
  { ts: true, children: [" as any as ", type, ")"] }
11010
- ] : $1;
11135
+ ] : jsx;
11011
11136
  });
11012
- function TypedJSXElement(state) {
11137
+ function JSXImplicitFragment(state) {
11013
11138
  if (state.events) {
11014
- const result = state.events.enter?.("TypedJSXElement", state);
11139
+ const result = state.events.enter?.("JSXImplicitFragment", state);
11015
11140
  if (result)
11016
11141
  return result.cache;
11017
11142
  }
11018
11143
  if (state.tokenize) {
11019
- const result = $TOKEN("TypedJSXElement", state, TypedJSXElement$0(state));
11144
+ const result = $TOKEN("JSXImplicitFragment", state, JSXImplicitFragment$0(state));
11020
11145
  if (state.events)
11021
- state.events.exit?.("TypedJSXElement", state, result);
11146
+ state.events.exit?.("JSXImplicitFragment", state, result);
11022
11147
  return result;
11023
11148
  } else {
11024
- const result = TypedJSXElement$0(state);
11149
+ const result = JSXImplicitFragment$0(state);
11025
11150
  if (state.events)
11026
- state.events.exit?.("TypedJSXElement", state, result);
11151
+ state.events.exit?.("JSXImplicitFragment", state, result);
11152
+ return result;
11153
+ }
11154
+ }
11155
+ var JSXTag$0 = JSXElement;
11156
+ var JSXTag$1 = JSXFragment;
11157
+ var JSXTag$2 = JSXComment;
11158
+ function JSXTag(state) {
11159
+ if (state.events) {
11160
+ const result = state.events.enter?.("JSXTag", state);
11161
+ if (result)
11162
+ return result.cache;
11163
+ }
11164
+ if (state.tokenize) {
11165
+ const result = $TOKEN("JSXTag", state, JSXTag$0(state) || JSXTag$1(state) || JSXTag$2(state));
11166
+ if (state.events)
11167
+ state.events.exit?.("JSXTag", state, result);
11168
+ return result;
11169
+ } else {
11170
+ const result = JSXTag$0(state) || JSXTag$1(state) || JSXTag$2(state);
11171
+ if (state.events)
11172
+ state.events.exit?.("JSXTag", state, result);
11027
11173
  return result;
11028
11174
  }
11029
11175
  }
@@ -11063,7 +11209,7 @@ ${input.slice(result.pos)}
11063
11209
  return result;
11064
11210
  }
11065
11211
  }
11066
- 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) {
11212
+ 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) {
11067
11213
  return { type: "JSXElement", children: $0 };
11068
11214
  });
11069
11215
  function JSXSelfClosingElement(state) {
@@ -11084,7 +11230,7 @@ ${input.slice(result.pos)}
11084
11230
  return result;
11085
11231
  }
11086
11232
  }
11087
- var JSXOpeningElement$0 = $S($EXPECT($L5, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L27, fail, 'JSXOpeningElement ">"'));
11233
+ var JSXOpeningElement$0 = $S($EXPECT($L121, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L25, fail, 'JSXOpeningElement ">"'));
11088
11234
  function JSXOpeningElement(state) {
11089
11235
  if (state.events) {
11090
11236
  const result = state.events.enter?.("JSXOpeningElement", state);
@@ -11103,7 +11249,7 @@ ${input.slice(result.pos)}
11103
11249
  return result;
11104
11250
  }
11105
11251
  }
11106
- var JSXClosingElement$0 = $S($EXPECT($L155, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L27, fail, 'JSXClosingElement ">"'));
11252
+ var JSXClosingElement$0 = $S($EXPECT($L154, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L25, fail, 'JSXClosingElement ">"'));
11107
11253
  function JSXClosingElement(state) {
11108
11254
  if (state.events) {
11109
11255
  const result = state.events.enter?.("JSXClosingElement", state);
@@ -11122,40 +11268,14 @@ ${input.slice(result.pos)}
11122
11268
  return result;
11123
11269
  }
11124
11270
  }
11125
- var TypedJSXFragment$0 = $TS($S(JSXFragment), function($skip, $loc, $0, $1) {
11126
- const type = module.typeOfJSXFragment($1);
11127
- return type ? [
11128
- { ts: true, children: ["("] },
11129
- $1,
11130
- { ts: true, children: [" as any as ", type, ")"] }
11131
- ] : $1;
11132
- });
11133
- function TypedJSXFragment(state) {
11134
- if (state.events) {
11135
- const result = state.events.enter?.("TypedJSXFragment", state);
11136
- if (result)
11137
- return result.cache;
11138
- }
11139
- if (state.tokenize) {
11140
- const result = $TOKEN("TypedJSXFragment", state, TypedJSXFragment$0(state));
11141
- if (state.events)
11142
- state.events.exit?.("TypedJSXFragment", state, result);
11143
- return result;
11144
- } else {
11145
- const result = TypedJSXFragment$0(state);
11146
- if (state.events)
11147
- state.events.exit?.("TypedJSXFragment", state, result);
11148
- return result;
11149
- }
11150
- }
11151
- 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) {
11271
+ 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) {
11152
11272
  if ($2) {
11153
11273
  return { type: "JSXFragment", children: $0, jsxChildren: $2.jsxChildren };
11154
11274
  } else {
11155
11275
  return { type: "JSXFragment", children: $0, jsxChildren: [] };
11156
11276
  }
11157
11277
  });
11158
- var JSXFragment$1 = $TS($S($EXPECT($L156, fail, 'JSXFragment "<>"'), JSXMixedChildren, InsertNewline, InsertIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
11278
+ var JSXFragment$1 = $TS($S($EXPECT($L155, fail, 'JSXFragment "<>"'), JSXMixedChildren, InsertNewline, InsertIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
11159
11279
  return { type: "JSXFragment", children: [...$0, "</>"], jsxChildren: $2.jsxChildren };
11160
11280
  });
11161
11281
  function JSXFragment(state) {
@@ -11366,7 +11486,7 @@ ${input.slice(result.pos)}
11366
11486
  }
11367
11487
  });
11368
11488
  var JSXAttribute$2 = $S(InsertInlineOpenBrace, DotDotDot, InlineJSXAttributeValue, InsertCloseBrace);
11369
- var JSXAttribute$3 = $TS($S($EXPECT($L8, fail, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
11489
+ var JSXAttribute$3 = $TS($S($EXPECT($L6, fail, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
11370
11490
  return [" ", "id=", $2];
11371
11491
  });
11372
11492
  var JSXAttribute$4 = $TS($S(Dot, JSXShorthandString), function($skip, $loc, $0, $1, $2) {
@@ -11375,6 +11495,12 @@ ${input.slice(result.pos)}
11375
11495
  class: $2
11376
11496
  };
11377
11497
  });
11498
+ var JSXAttribute$5 = $TS($S($TEXT($EXPECT($R4, fail, "JSXAttribute /[!+-]/")), JSXAttributeName), function($skip, $loc, $0, $1, $2) {
11499
+ var toggle = $1;
11500
+ var id = $2;
11501
+ const value = toggle === "+" ? "true" : "false";
11502
+ return [" ", id, "={", value, "}"];
11503
+ });
11378
11504
  function JSXAttribute(state) {
11379
11505
  if (state.events) {
11380
11506
  const result = state.events.enter?.("JSXAttribute", state);
@@ -11382,12 +11508,12 @@ ${input.slice(result.pos)}
11382
11508
  return result.cache;
11383
11509
  }
11384
11510
  if (state.tokenize) {
11385
- const result = $TOKEN("JSXAttribute", state, JSXAttribute$0(state) || JSXAttribute$1(state) || JSXAttribute$2(state) || JSXAttribute$3(state) || JSXAttribute$4(state));
11511
+ const result = $TOKEN("JSXAttribute", state, JSXAttribute$0(state) || JSXAttribute$1(state) || JSXAttribute$2(state) || JSXAttribute$3(state) || JSXAttribute$4(state) || JSXAttribute$5(state));
11386
11512
  if (state.events)
11387
11513
  state.events.exit?.("JSXAttribute", state, result);
11388
11514
  return result;
11389
11515
  } else {
11390
- const result = JSXAttribute$0(state) || JSXAttribute$1(state) || JSXAttribute$2(state) || JSXAttribute$3(state) || JSXAttribute$4(state);
11516
+ const result = JSXAttribute$0(state) || JSXAttribute$1(state) || JSXAttribute$2(state) || JSXAttribute$3(state) || JSXAttribute$4(state) || JSXAttribute$5(state);
11391
11517
  if (state.events)
11392
11518
  state.events.exit?.("JSXAttribute", state, result);
11393
11519
  return result;
@@ -11623,8 +11749,8 @@ ${input.slice(result.pos)}
11623
11749
  return result;
11624
11750
  }
11625
11751
  }
11626
- var InlineJSXCallExpression$0 = $S($EXPECT($L10, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments);
11627
- var InlineJSXCallExpression$1 = $S($EXPECT($L11, fail, 'InlineJSXCallExpression "import"'), OpenParen, ExtendedExpression, __, CloseParen);
11752
+ var InlineJSXCallExpression$0 = $S($EXPECT($L8, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments);
11753
+ var InlineJSXCallExpression$1 = $S($EXPECT($L9, fail, 'InlineJSXCallExpression "import"'), OpenParen, ExtendedExpression, __, CloseParen);
11628
11754
  var InlineJSXCallExpression$2 = $TS($S(InlineJSXMemberExpression, $Q(InlineJSXCallExpressionRest)), function($skip, $loc, $0, $1, $2) {
11629
11755
  if ($2.length)
11630
11756
  return $0;
@@ -11811,7 +11937,7 @@ ${input.slice(result.pos)}
11811
11937
  }
11812
11938
  return $skip;
11813
11939
  });
11814
- var JSXNestedChildren$1 = $TV($Y($C(EOS, $EXPECT($L17, fail, 'JSXNestedChildren "}"'))), function($skip, $loc, $0, $1) {
11940
+ var JSXNestedChildren$1 = $TV($Y($C(EOS, $EXPECT($L15, fail, 'JSXNestedChildren "}"'))), function($skip, $loc, $0, $1) {
11815
11941
  return { children: [], jsxChildren: [] };
11816
11942
  });
11817
11943
  function JSXNestedChildren(state) {
@@ -11878,7 +12004,7 @@ ${input.slice(result.pos)}
11878
12004
  return result;
11879
12005
  }
11880
12006
  }
11881
- var JSXComment$0 = $TS($S($EXPECT($L158, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L159, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
12007
+ var JSXComment$0 = $TS($S($EXPECT($L157, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L158, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
11882
12008
  return ["{/*", $2, "*/}"];
11883
12009
  });
11884
12010
  function JSXComment(state) {
@@ -12027,7 +12153,7 @@ ${input.slice(result.pos)}
12027
12153
  return result;
12028
12154
  }
12029
12155
  }
12030
- var TypeDeclarationModifier$0 = $S($EXPECT($L160, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
12156
+ var TypeDeclarationModifier$0 = $S($EXPECT($L159, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
12031
12157
  var TypeDeclarationModifier$1 = Export;
12032
12158
  function TypeDeclarationModifier(state) {
12033
12159
  if (state.events) {
@@ -12069,7 +12195,7 @@ ${input.slice(result.pos)}
12069
12195
  return result;
12070
12196
  }
12071
12197
  }
12072
- var TypeKeyword$0 = $S($EXPECT($L161, fail, 'TypeKeyword "type"'), NonIdContinue);
12198
+ var TypeKeyword$0 = $S($EXPECT($L160, fail, 'TypeKeyword "type"'), NonIdContinue);
12073
12199
  function TypeKeyword(state) {
12074
12200
  if (state.events) {
12075
12201
  const result = state.events.enter?.("TypeKeyword", state);
@@ -12088,7 +12214,7 @@ ${input.slice(result.pos)}
12088
12214
  return result;
12089
12215
  }
12090
12216
  }
12091
- var Interface$0 = $S($EXPECT($L162, fail, 'Interface "interface"'), NonIdContinue);
12217
+ var Interface$0 = $S($EXPECT($L161, fail, 'Interface "interface"'), NonIdContinue);
12092
12218
  function Interface(state) {
12093
12219
  if (state.events) {
12094
12220
  const result = state.events.enter?.("Interface", state);
@@ -12107,7 +12233,7 @@ ${input.slice(result.pos)}
12107
12233
  return result;
12108
12234
  }
12109
12235
  }
12110
- var Namespace$0 = $S($EXPECT($L163, fail, 'Namespace "namespace"'), NonIdContinue);
12236
+ var Namespace$0 = $S($EXPECT($L162, fail, 'Namespace "namespace"'), NonIdContinue);
12111
12237
  function Namespace(state) {
12112
12238
  if (state.events) {
12113
12239
  const result = state.events.enter?.("Namespace", state);
@@ -12296,7 +12422,7 @@ ${input.slice(result.pos)}
12296
12422
  return result;
12297
12423
  }
12298
12424
  }
12299
- 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)));
12425
+ 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)));
12300
12426
  function TypeIndexSignature(state) {
12301
12427
  if (state.events) {
12302
12428
  const result = state.events.enter?.("TypeIndexSignature", state);
@@ -12356,7 +12482,7 @@ ${input.slice(result.pos)}
12356
12482
  return result;
12357
12483
  }
12358
12484
  }
12359
- var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L164, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
12485
+ var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L163, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
12360
12486
  const children = [...$1, $2];
12361
12487
  if ($3)
12362
12488
  children.push($3);
@@ -12385,7 +12511,7 @@ ${input.slice(result.pos)}
12385
12511
  return result;
12386
12512
  }
12387
12513
  }
12388
- var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L75, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
12514
+ var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L73, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
12389
12515
  if (!$2)
12390
12516
  return $1;
12391
12517
  return $0;
@@ -12491,10 +12617,10 @@ ${input.slice(result.pos)}
12491
12617
  return result;
12492
12618
  }
12493
12619
  }
12494
- var TypeUnaryOp$0 = $S($EXPECT($L165, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
12495
- var TypeUnaryOp$1 = $S($EXPECT($L146, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
12496
- var TypeUnaryOp$2 = $S($EXPECT($L166, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
12497
- var TypeUnaryOp$3 = $S($EXPECT($L130, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
12620
+ var TypeUnaryOp$0 = $S($EXPECT($L164, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
12621
+ var TypeUnaryOp$1 = $S($EXPECT($L145, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
12622
+ var TypeUnaryOp$2 = $S($EXPECT($L165, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
12623
+ var TypeUnaryOp$3 = $S($EXPECT($L129, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
12498
12624
  function TypeUnaryOp(state) {
12499
12625
  if (state.events) {
12500
12626
  const result = state.events.enter?.("TypeUnaryOp", state);
@@ -12638,7 +12764,7 @@ ${input.slice(result.pos)}
12638
12764
  return result;
12639
12765
  }
12640
12766
  }
12641
- 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) {
12767
+ 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) {
12642
12768
  if ($2)
12643
12769
  return $0;
12644
12770
  return $1;
@@ -12663,10 +12789,10 @@ ${input.slice(result.pos)}
12663
12789
  }
12664
12790
  var TypeLiteral$0 = Literal;
12665
12791
  var TypeLiteral$1 = TemplateLiteral;
12666
- var TypeLiteral$2 = $TS($S($EXPECT($L150, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12792
+ var TypeLiteral$2 = $TS($S($EXPECT($L149, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12667
12793
  return { $loc, token: "void" };
12668
12794
  });
12669
- var TypeLiteral$3 = $TV($EXPECT($L167, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
12795
+ var TypeLiteral$3 = $TV($EXPECT($L166, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
12670
12796
  return { $loc, token: "[]" };
12671
12797
  });
12672
12798
  function TypeLiteral(state) {
@@ -12687,10 +12813,10 @@ ${input.slice(result.pos)}
12687
12813
  return result;
12688
12814
  }
12689
12815
  }
12690
- var TypeBinaryOp$0 = $TV($EXPECT($L78, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
12816
+ var TypeBinaryOp$0 = $TV($EXPECT($L76, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
12691
12817
  return { $loc, token: "|" };
12692
12818
  });
12693
- var TypeBinaryOp$1 = $TV($EXPECT($L76, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
12819
+ var TypeBinaryOp$1 = $TV($EXPECT($L74, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
12694
12820
  return { $loc, token: "&" };
12695
12821
  });
12696
12822
  function TypeBinaryOp(state) {
@@ -12730,7 +12856,7 @@ ${input.slice(result.pos)}
12730
12856
  return result;
12731
12857
  }
12732
12858
  }
12733
- var TypeArguments$0 = $TS($S(__, $EXPECT($L5, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12859
+ var TypeArguments$0 = $TS($S(__, $EXPECT($L121, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L25, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12734
12860
  return { ts: true, children: $0 };
12735
12861
  });
12736
12862
  function TypeArguments(state) {
@@ -12751,7 +12877,7 @@ ${input.slice(result.pos)}
12751
12877
  return result;
12752
12878
  }
12753
12879
  }
12754
- var CompactTypeArguments$0 = $TS($S($EXPECT($L5, fail, 'CompactTypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'CompactTypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
12880
+ var CompactTypeArguments$0 = $TS($S($EXPECT($L121, fail, 'CompactTypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L25, fail, 'CompactTypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
12755
12881
  return { ts: true, children: $0 };
12756
12882
  });
12757
12883
  function CompactTypeArguments(state) {
@@ -12810,7 +12936,7 @@ ${input.slice(result.pos)}
12810
12936
  return result;
12811
12937
  }
12812
12938
  }
12813
- var TypeParameters$0 = $TS($S(__, $EXPECT($L5, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L27, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12939
+ var TypeParameters$0 = $TS($S(__, $EXPECT($L121, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L25, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12814
12940
  var parameters = $3;
12815
12941
  return {
12816
12942
  type: "TypeParameters",
@@ -12837,7 +12963,7 @@ ${input.slice(result.pos)}
12837
12963
  return result;
12838
12964
  }
12839
12965
  }
12840
- var TypeParameter$0 = $S(__, Identifier, $E(TypeConstraint), TypeParameterDelimiter);
12966
+ var TypeParameter$0 = $S(__, Identifier, $E(TypeConstraint), $E(TypeInitializer), TypeParameterDelimiter);
12841
12967
  function TypeParameter(state) {
12842
12968
  if (state.events) {
12843
12969
  const result = state.events.enter?.("TypeParameter", state);
@@ -12856,7 +12982,7 @@ ${input.slice(result.pos)}
12856
12982
  return result;
12857
12983
  }
12858
12984
  }
12859
- var TypeConstraint$0 = $S(__, $EXPECT($L6, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
12985
+ var TypeConstraint$0 = $S(__, $EXPECT($L110, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
12860
12986
  function TypeConstraint(state) {
12861
12987
  if (state.events) {
12862
12988
  const result = state.events.enter?.("TypeConstraint", state);
@@ -12875,8 +13001,27 @@ ${input.slice(result.pos)}
12875
13001
  return result;
12876
13002
  }
12877
13003
  }
13004
+ var TypeInitializer$0 = $S(__, $EXPECT($L24, fail, 'TypeInitializer "="'), Type);
13005
+ function TypeInitializer(state) {
13006
+ if (state.events) {
13007
+ const result = state.events.enter?.("TypeInitializer", state);
13008
+ if (result)
13009
+ return result.cache;
13010
+ }
13011
+ if (state.tokenize) {
13012
+ const result = $TOKEN("TypeInitializer", state, TypeInitializer$0(state));
13013
+ if (state.events)
13014
+ state.events.exit?.("TypeInitializer", state, result);
13015
+ return result;
13016
+ } else {
13017
+ const result = TypeInitializer$0(state);
13018
+ if (state.events)
13019
+ state.events.exit?.("TypeInitializer", state, result);
13020
+ return result;
13021
+ }
13022
+ }
12878
13023
  var TypeParameterDelimiter$0 = $S($Q(_), Comma);
12879
- var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($L27, fail, 'TypeParameterDelimiter ">"')));
13024
+ var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($L25, fail, 'TypeParameterDelimiter ">"')));
12880
13025
  var TypeParameterDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
12881
13026
  return value[1];
12882
13027
  });
@@ -12898,7 +13043,7 @@ ${input.slice(result.pos)}
12898
13043
  return result;
12899
13044
  }
12900
13045
  }
12901
- var Shebang$0 = $S($R$0($EXPECT($R51, fail, "Shebang /#![^\\r\\n]*/")), EOL);
13046
+ var Shebang$0 = $S($R$0($EXPECT($R52, fail, "Shebang /#![^\\r\\n]*/")), EOL);
12902
13047
  function Shebang(state) {
12903
13048
  if (state.events) {
12904
13049
  const result = state.events.enter?.("Shebang", state);
@@ -12917,11 +13062,11 @@ ${input.slice(result.pos)}
12917
13062
  return result;
12918
13063
  }
12919
13064
  }
12920
- var CivetPrologue$0 = $T($S($EXPECT($R52, fail, "CivetPrologue /[\\t ]*/"), DoubleQuote, CivetPrologueContent, DoubleQuote, $TEXT(StatementDelimiter), $E(EOS)), function(value) {
13065
+ var CivetPrologue$0 = $T($S($EXPECT($R53, fail, "CivetPrologue /[\\t ]*/"), DoubleQuote, CivetPrologueContent, DoubleQuote, $TEXT(StatementDelimiter), $E(EOS)), function(value) {
12921
13066
  var content = value[2];
12922
13067
  return content;
12923
13068
  });
12924
- var CivetPrologue$1 = $T($S($EXPECT($R52, fail, "CivetPrologue /[\\t ]*/"), SingleQuote, CivetPrologueContent, SingleQuote, $TEXT(StatementDelimiter), $E(EOS)), function(value) {
13069
+ var CivetPrologue$1 = $T($S($EXPECT($R53, fail, "CivetPrologue /[\\t ]*/"), SingleQuote, CivetPrologueContent, SingleQuote, $TEXT(StatementDelimiter), $E(EOS)), function(value) {
12925
13070
  var content = value[2];
12926
13071
  return content;
12927
13072
  });
@@ -12943,7 +13088,7 @@ ${input.slice(result.pos)}
12943
13088
  return result;
12944
13089
  }
12945
13090
  }
12946
- 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) {
13091
+ 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) {
12947
13092
  var options = $3;
12948
13093
  return {
12949
13094
  type: "CivetPrologue",
@@ -12969,7 +13114,7 @@ ${input.slice(result.pos)}
12969
13114
  return result;
12970
13115
  }
12971
13116
  }
12972
- 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) {
13117
+ 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) {
12973
13118
  const optionName = $2.replace(/-+([a-z]?)/g, (_2, l) => {
12974
13119
  if (l)
12975
13120
  return l.toUpperCase();
@@ -13001,7 +13146,7 @@ ${input.slice(result.pos)}
13001
13146
  return result;
13002
13147
  }
13003
13148
  }
13004
- var UnknownPrologue$0 = $S($R$0($EXPECT($R52, fail, "UnknownPrologue /[\\t ]*/")), BasicStringLiteral, $TEXT(StatementDelimiter), EOS);
13149
+ var UnknownPrologue$0 = $S($R$0($EXPECT($R53, fail, "UnknownPrologue /[\\t ]*/")), BasicStringLiteral, $TEXT(StatementDelimiter), EOS);
13005
13150
  function UnknownPrologue(state) {
13006
13151
  if (state.events) {
13007
13152
  const result = state.events.enter?.("UnknownPrologue", state);
@@ -13059,7 +13204,7 @@ ${input.slice(result.pos)}
13059
13204
  return result;
13060
13205
  }
13061
13206
  }
13062
- 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) {
13207
+ 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) {
13063
13208
  return { $loc, token: $0 };
13064
13209
  });
13065
13210
  function EOL(state) {
@@ -13776,12 +13921,20 @@ ${input.slice(result.pos)}
13776
13921
  declareRef[base](ref);
13777
13922
  return refs[base] = ref;
13778
13923
  };
13779
- module.typeOfJSXElement = function($12) {
13924
+ module.typeOfJSX = function(node) {
13925
+ switch (node.type) {
13926
+ case "JSXElement":
13927
+ return module.typeOfJSXElement(node);
13928
+ case "JSXFragment":
13929
+ return module.typeOfJSXFragment(node);
13930
+ }
13931
+ };
13932
+ module.typeOfJSXElement = function(node) {
13780
13933
  if (module.config.solid) {
13781
13934
  if (module.config.server && !module.config.client) {
13782
13935
  return ["string"];
13783
13936
  }
13784
- let open = $12.children;
13937
+ let open = node.children;
13785
13938
  while (Array.isArray(open[0]))
13786
13939
  open = open[0];
13787
13940
  open = open[1];
@@ -13793,11 +13946,11 @@ ${input.slice(result.pos)}
13793
13946
  }
13794
13947
  }
13795
13948
  };
13796
- module.typeOfJSXFragment = function($12) {
13949
+ module.typeOfJSXFragment = function(node) {
13797
13950
  if (module.config.solid) {
13798
13951
  let type = [];
13799
13952
  let lastType;
13800
- for (let child of $12.jsxChildren) {
13953
+ for (let child of node.jsxChildren) {
13801
13954
  switch (child.type) {
13802
13955
  case "JSXText":
13803
13956
  if (lastType !== "JSXText") {
@@ -13823,7 +13976,7 @@ ${input.slice(result.pos)}
13823
13976
  if (type.length === 1) {
13824
13977
  return type[0];
13825
13978
  } else {
13826
- type = type.map((t) => [t, ", "]).flat();
13979
+ type = type.flatMap((t) => [t, ", "]);
13827
13980
  type.pop();
13828
13981
  return ["[", type, "]"];
13829
13982
  }
@@ -14874,7 +15027,7 @@ ${input.slice(result.pos)}
14874
15027
  return result;
14875
15028
  }
14876
15029
  }
14877
- var Indent$0 = $TR($EXPECT($R56, fail, "Indent /[ \\t]*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
15030
+ var Indent$0 = $TR($EXPECT($R57, fail, "Indent /[ \\t]*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14878
15031
  let level;
14879
15032
  if (module.config.tab) {
14880
15033
  const tabs = $0.match(/\t/g);
@@ -15484,7 +15637,7 @@ var uncacheable;
15484
15637
  ({ parse } = import_parser.default);
15485
15638
  ({ SourceMap: SourceMap2, base64Encode: base64Encode2 } = util_exports);
15486
15639
  defaultOptions = {};
15487
- 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"]);
15640
+ 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"]);
15488
15641
  var compile = function(src, options = defaultOptions) {
15489
15642
  var ast, code, events, filename, sm, srcMapJSON;
15490
15643
  filename = options.filename || "unknown";