@danielx/civet 0.9.3 → 0.9.4

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/browser.js CHANGED
@@ -53,7 +53,7 @@ var Civet = (() => {
53
53
  $EVENT: () => $EVENT2,
54
54
  $EVENT_C: () => $EVENT_C2,
55
55
  $EXPECT: () => $EXPECT2,
56
- $L: () => $L247,
56
+ $L: () => $L249,
57
57
  $N: () => $N2,
58
58
  $P: () => $P2,
59
59
  $Q: () => $Q2,
@@ -76,7 +76,7 @@ var Civet = (() => {
76
76
  return result || ctx.fail(state2.pos, expectation), result;
77
77
  };
78
78
  }
79
- function $L247(str) {
79
+ function $L249(str) {
80
80
  return function(_ctx, state2) {
81
81
  let { input, pos } = state2, { length } = str, end = pos + length;
82
82
  if (input.substring(pos, end) === str)
@@ -1563,16 +1563,19 @@ ${body}`), super(message), this.header = header, this.body = body, this.filename
1563
1563
  `
1564
1564
  ]]);
1565
1565
  },
1566
- rslice(rsliceRef) {
1567
- let RSliceable = makeRef("RSliceable");
1566
+ RSliceable(RSliceableRef) {
1568
1567
  state.prelude.push([
1569
1568
  "",
1570
- ts(["type ", RSliceable, `<R> = string | {length: number; slice(start: number, end: number): {reverse(): R}}
1569
+ ts(["type ", RSliceableRef, `<R> = string | {length: number; slice(start: number, end: number): {reverse(): R}}
1571
1570
  `])
1572
- ]), state.prelude.push(["", [
1571
+ ]);
1572
+ },
1573
+ rslice(rsliceRef) {
1574
+ let RSliceableRef = getHelperRef("RSliceable");
1575
+ state.prelude.push(["", [
1573
1576
  preludeVar,
1574
1577
  rsliceRef,
1575
- ts([": <R, T extends string | ", RSliceable, "<R>>(a: T, start?: number, end?: number) => T extends string ? string : T extends ", RSliceable, "<infer R> ? R : never"]),
1578
+ ts([": <R, T extends string | ", RSliceableRef, "<R>>(a: T, start?: number, end?: number) => T extends string ? string : T extends ", RSliceableRef, "<infer R> ? R : never"]),
1576
1579
  ` = ((a, start = -1, end = -1) => {
1577
1580
  `,
1578
1581
  ` const l = a.length
@@ -1603,6 +1606,76 @@ ${body}`), super(message), this.header = header, this.body = body, this.filename
1603
1606
  `,
1604
1607
  "})"
1605
1608
  ], `;
1609
+ `]);
1610
+ },
1611
+ range(rangeRef) {
1612
+ state.prelude.push(["", [
1613
+ preludeVar,
1614
+ rangeRef,
1615
+ ts([": (start: number, end: number) => number[]"]),
1616
+ " ",
1617
+ `= (start, end) => {
1618
+ const length = end - start;
1619
+ if (length <= 0) return [];
1620
+ const arr = Array(length);
1621
+ for (let i = 0; i < length; ++i) {
1622
+ arr[i] = i + start;
1623
+ }
1624
+ return arr;
1625
+ }`
1626
+ ], `;
1627
+ `]);
1628
+ },
1629
+ revRange(revRangeRef) {
1630
+ state.prelude.push(["", [
1631
+ preludeVar,
1632
+ revRangeRef,
1633
+ ts([": (start: number, end: number) => number[]"]),
1634
+ " ",
1635
+ `= (start, end) => {
1636
+ const length = start - end;
1637
+ if (length <= 0) return [];
1638
+ const arr = Array(length);
1639
+ for (let i = 0; i < length; ++i) {
1640
+ arr[i] = start - i;
1641
+ }
1642
+ return arr;
1643
+ }`
1644
+ ], `;
1645
+ `]);
1646
+ },
1647
+ stringRange(stringRangeRef) {
1648
+ state.prelude.push(["", [
1649
+ preludeVar,
1650
+ stringRangeRef,
1651
+ ts([": (start: number, length: number) => string[]"]),
1652
+ " ",
1653
+ `= (start, length) => {
1654
+ if (length <= 0) return [];
1655
+ const arr = Array(length);
1656
+ for (let i = 0; i < length; ++i) {
1657
+ arr[i] = String.fromCharCode(start + i);
1658
+ }
1659
+ return arr;
1660
+ }`
1661
+ ], `;
1662
+ `]);
1663
+ },
1664
+ revStringRange(revStringRangeRef) {
1665
+ state.prelude.push(["", [
1666
+ preludeVar,
1667
+ revStringRangeRef,
1668
+ ts([": (start: number, length: number) => string[]"]),
1669
+ " ",
1670
+ `= (start, length) => {
1671
+ if (length <= 0) return [];
1672
+ const arr = Array(length);
1673
+ for (let i = 0; i < length; ++i) {
1674
+ arr[i] = String.fromCharCode(start - i);
1675
+ }
1676
+ return arr;
1677
+ }`
1678
+ ], `;
1606
1679
  `]);
1607
1680
  },
1608
1681
  div(divRef) {
@@ -1754,8 +1827,18 @@ ${body}`), super(message), this.header = header, this.body = body, this.filename
1754
1827
  return state.helperRefs[base];
1755
1828
  }
1756
1829
  function extractPreludeFor(node) {
1757
- let helpers = new Set(Object.values(state.helperRefs));
1758
- return helpers = new Set(gatherRecursive(node, helpers.has.bind(helpers))), state.prelude.filter((s) => gatherRecursive(s, helpers.has.bind(helpers)).length);
1830
+ if (!state.prelude.length)
1831
+ return state.prelude;
1832
+ let allHelpers = new Set(Object.values(state.helperRefs)), isHelper = allHelpers.has.bind(allHelpers), usedHelpers = new Set(gatherRecursive(node, isHelper));
1833
+ for (; ; ) {
1834
+ let prelude = state.prelude.filter((s) => gatherRecursive(s, usedHelpers.has.bind(usedHelpers)).length), changed = !1;
1835
+ for (let ref1 = gatherRecursive(prelude, isHelper), i = 0, len3 = ref1.length; i < len3; i++) {
1836
+ let helper = ref1[i];
1837
+ usedHelpers.has(helper) || (usedHelpers.add(helper), changed = !0);
1838
+ }
1839
+ if (!changed)
1840
+ return prelude;
1841
+ }
1759
1842
  }
1760
1843
 
1761
1844
  // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\generate.civet.jsx
@@ -1767,7 +1850,7 @@ ${body}`), super(message), this.header = header, this.body = body, this.filename
1767
1850
  }
1768
1851
  }
1769
1852
  function gen(root, options) {
1770
- let updateSourceMap = options?.sourceMap?.updateSourceMap;
1853
+ let ref, updateSourceMap = (ref = options?.sourceMap)?.updateSourceMap.bind(ref);
1771
1854
  return recurse(root);
1772
1855
  function recurse(node) {
1773
1856
  if (node == null)
@@ -1780,10 +1863,10 @@ ${body}`), super(message), this.header = header, this.body = body, this.filename
1780
1863
  if (options.js && node.ts || !options.js && node.js)
1781
1864
  return "";
1782
1865
  if (node.type === "Error") {
1783
- let filename2 = options?.filename ?? "unknown", line = "?", column = "?", offset, ref;
1784
- if (ref = options.sourceMap) {
1785
- let sourceMap = ref;
1786
- node.$loc != null && sourceMap.updateSourceMap("", node.$loc.pos), line = sourceMap.data.srcLine + 1, column = sourceMap.data.srcColumn + 1, offset = sourceMap.data.srcOffset;
1866
+ let filename2 = options?.filename ?? "unknown", line = "?", column = "?", offset, ref1;
1867
+ if (ref1 = options.sourceMap) {
1868
+ let sourceMap = ref1;
1869
+ node.$loc != null && sourceMap.updateSourceMap("", node.$loc.pos), line = sourceMap.srcLine + 1, column = sourceMap.srcColumn + 1, offset = sourceMap.srcOffset;
1787
1870
  }
1788
1871
  return options.errors ??= [], options.errors.push(new import_lib2.ParseError(
1789
1872
  node.message,
@@ -2560,7 +2643,26 @@ ${js}`
2560
2643
  }
2561
2644
  if (statement.resultsRef != null)
2562
2645
  return;
2563
- let resultsRef = statement.resultsRef = makeRef("results"), declaration = iterationDeclaration(statement), { ancestor, child } = findAncestor(statement, ($5) => $5.type === "BlockStatement");
2646
+ if (statement.resultsParent) {
2647
+ let { ancestor: ancestor2 } = findAncestor(
2648
+ statement,
2649
+ ($5) => $5.type === "ForStatement" || $5.type === "IterationStatement",
2650
+ isFunction
2651
+ );
2652
+ if (!ancestor2) {
2653
+ statement.children.unshift({
2654
+ type: "Error",
2655
+ message: "Could not find ancestor of spread iteration"
2656
+ });
2657
+ return;
2658
+ }
2659
+ let resultsRef2 = statement.resultsRef = ancestor2.resultsRef;
2660
+ iterationDefaultBody(statement);
2661
+ let { block } = statement;
2662
+ block.empty || assignResults(block, (node) => [resultsRef2, ".push(", node, ")"]);
2663
+ return;
2664
+ }
2665
+ let resultsRef = statement.resultsRef ??= makeRef("results"), declaration = iterationDeclaration(statement), { ancestor, child } = findAncestor(statement, ($6) => $6.type === "BlockStatement");
2564
2666
  assert.notNull(ancestor, `Could not find block containing ${statement.type}`);
2565
2667
  let index = findChildIndex(ancestor.expressions, child);
2566
2668
  assert.notEqual(index, -1, `Could not find ${statement.type} in containing block`);
@@ -2587,6 +2689,8 @@ ${js}`
2587
2689
  return "false";
2588
2690
  case "every":
2589
2691
  return "true";
2692
+ case "first":
2693
+ return "undefined";
2590
2694
  case "min":
2591
2695
  return "Infinity";
2592
2696
  case "max":
@@ -2595,6 +2699,8 @@ ${js}`
2595
2699
  return "1";
2596
2700
  case "join":
2597
2701
  return '""';
2702
+ case "concat":
2703
+ return "[]";
2598
2704
  default:
2599
2705
  return "0";
2600
2706
  }
@@ -2619,9 +2725,13 @@ ${js}`
2619
2725
  ];
2620
2726
  case "count":
2621
2727
  return ["if (", node, ") ++", resultsRef];
2728
+ case "first":
2729
+ return [resultsRef, " = ", node, "; break"];
2622
2730
  case "sum":
2623
2731
  case "join":
2624
2732
  return [resultsRef, " += ", node];
2733
+ case "concat":
2734
+ return [getHelperRef("concatAssign"), "(", resultsRef, ", ", node, ")"];
2625
2735
  case "product":
2626
2736
  return [resultsRef, " *= ", node];
2627
2737
  case "min":
@@ -2651,28 +2761,31 @@ ${js}`
2651
2761
  case "count":
2652
2762
  return fillBlock(["", ["++", resultsRef]]), block.empty = !1, braceBlock(block), !0;
2653
2763
  }
2654
- if (statement.type === "ForStatement" && statement.declaration?.type === "ForDeclaration") {
2655
- if (reduction) {
2656
- let bindings = patternBindings(statement.declaration.binding.pattern);
2657
- if (bindings.length) {
2658
- fillBlock(["", bindings[0]]);
2659
- for (let binding of bindings.slice(1))
2660
- binding.children.unshift({
2661
- type: "Error",
2662
- subtype: "Warning",
2663
- message: "Ignored binding in reduction loop with implicit body"
2664
- });
2764
+ if (statement.type === "ForStatement") {
2765
+ let declaration = statement.eachDeclaration ?? statement.declaration;
2766
+ if (declaration?.type === "ForDeclaration") {
2767
+ if (reduction) {
2768
+ let bindings = patternBindings(declaration.binding.pattern);
2769
+ if (bindings.length) {
2770
+ fillBlock(["", bindings[0]]);
2771
+ for (let binding of bindings.slice(1))
2772
+ binding.children.unshift({
2773
+ type: "Error",
2774
+ subtype: "Warning",
2775
+ message: "Ignored binding in reduction loop with implicit body"
2776
+ });
2777
+ } else
2778
+ fillBlock([
2779
+ "",
2780
+ {
2781
+ type: "Error",
2782
+ message: "Empty binding pattern in reduction loop with implicit body"
2783
+ }
2784
+ ]);
2665
2785
  } else
2666
- fillBlock([
2667
- "",
2668
- {
2669
- type: "Error",
2670
- message: "Empty binding pattern in reduction loop with implicit body"
2671
- }
2672
- ]);
2673
- } else
2674
- fillBlock(["", patternAsValue(statement.declaration.binding.pattern)]);
2675
- block.empty = !1;
2786
+ fillBlock(["", patternAsValue(declaration.binding.pattern)]);
2787
+ block.empty = !1;
2788
+ }
2676
2789
  }
2677
2790
  return !1;
2678
2791
  }
@@ -2712,14 +2825,14 @@ ${js}`
2712
2825
  append2(param);
2713
2826
  }
2714
2827
  }
2715
- if (parameters.names = before.flatMap(($6) => $6.names), parameters.parameters.splice(0, 1 / 0), tt && parameters.parameters.push(tt), parameters.parameters.push(...before), rest) {
2828
+ if (parameters.names = before.flatMap(($7) => $7.names), parameters.parameters.splice(0, 1 / 0), tt && parameters.parameters.push(tt), parameters.parameters.push(...before), rest) {
2716
2829
  let restIdentifier = rest.binding.ref || rest.binding;
2717
2830
  if (parameters.names.push(...rest.names || []), rest.children.pop(), after.length) {
2718
2831
  (rest.binding.type === "ArrayBindingPattern" || rest.binding.type === "ObjectBindingPattern") && parameters.parameters.push({
2719
2832
  type: "Error",
2720
2833
  message: "Non-end rest parameter cannot be binding pattern"
2721
2834
  }), after = trimFirstSpace(after);
2722
- let names = after.flatMap(($7) => $7.names), elements = after.map((p) => p.type === "Error" ? p : {
2835
+ let names = after.flatMap(($8) => $8.names), elements = after.map((p) => p.type === "Error" ? p : {
2723
2836
  ...p,
2724
2837
  // omit individual argument types from output
2725
2838
  children: p.children.filter((a2) => a2 !== p.typeSuffix),
@@ -2785,9 +2898,9 @@ ${js}`
2785
2898
  colon,
2786
2899
  t,
2787
2900
  children: [
2788
- ...oldSuffix.children.filter(($8) => (
2901
+ ...oldSuffix.children.filter(($9) => (
2789
2902
  // spaces and colon
2790
- $8 !== oldSuffix.optional && $8 !== oldSuffix.t
2903
+ $9 !== oldSuffix.optional && $9 !== oldSuffix.t
2791
2904
  )),
2792
2905
  oldSuffix.colon ? void 0 : colon,
2793
2906
  t
@@ -2813,18 +2926,18 @@ ${js}`
2813
2926
  assignPins: !0
2814
2927
  });
2815
2928
  if (isConstructor) {
2816
- let { ancestor } = findAncestor(f, ($9) => $9.type === "ClassExpression");
2929
+ let { ancestor } = findAncestor(f, ($10) => $10.type === "ClassExpression");
2817
2930
  if (ancestor != null) {
2818
- let fields = new Set(gatherRecursiveWithinFunction(ancestor, ($10) => $10.type === "FieldDefinition").map(($11) => $11.id).filter((a3) => typeof a3 == "object" && a3 != null && "type" in a3 && a3.type === "Identifier").map(($12) => $12.name)), classExpressions = ancestor.body.expressions, index2 = findChildIndex(classExpressions, f);
2931
+ let fields = new Set(gatherRecursiveWithinFunction(ancestor, ($11) => $11.type === "FieldDefinition").map(($12) => $12.id).filter((a3) => typeof a3 == "object" && a3 != null && "type" in a3 && a3.type === "Identifier").map(($13) => $13.name)), classExpressions = ancestor.body.expressions, index2 = findChildIndex(classExpressions, f);
2819
2932
  assert.notEqual(index2, -1, "Could not find constructor in class");
2820
2933
  let m4;
2821
2934
  for (; m4 = classExpressions[index2 - 1]?.[1], typeof m4 == "object" && m4 != null && "type" in m4 && m4.type === "MethodDefinition" && "name" in m4 && m4.name === "constructor"; )
2822
2935
  index2--;
2823
2936
  let fStatement = classExpressions[index2];
2824
- for (let ref18 = gatherRecursive(parameters, ($13) => $13.type === "Parameter"), i9 = 0, len8 = ref18.length; i9 < len8; i9++) {
2937
+ for (let ref18 = gatherRecursive(parameters, ($14) => $14.type === "Parameter"), i9 = 0, len8 = ref18.length; i9 < len8; i9++) {
2825
2938
  let parameter = ref18[i9], { accessModifier } = parameter;
2826
2939
  if (accessModifier || parameter.typeSuffix)
2827
- for (let ref19 = gatherRecursive(parameter, ($14) => $14.type === "AtBinding"), i10 = 0, len9 = ref19.length; i10 < len9; i10++) {
2940
+ for (let ref19 = gatherRecursive(parameter, ($15) => $15.type === "AtBinding"), i10 = 0, len9 = ref19.length; i10 < len9; i10++) {
2828
2941
  let binding = ref19[i10], typeSuffix = binding.parent?.typeSuffix;
2829
2942
  if (!(accessModifier || typeSuffix))
2830
2943
  continue;
@@ -2883,7 +2996,7 @@ ${js}`
2883
2996
  if (f.async != null)
2884
2997
  f.async.push("async "), signature.modifier.async = !0;
2885
2998
  else
2886
- for (let ref21 = gatherRecursiveWithinFunction(block, ($15) => $15.type === "Await"), i12 = 0, len11 = ref21.length; i12 < len11; i12++) {
2999
+ for (let ref21 = gatherRecursiveWithinFunction(block, ($16) => $16.type === "Await"), i12 = 0, len11 = ref21.length; i12 < len11; i12++) {
2887
3000
  let a = ref21[i12], i = findChildIndex(a.parent, a);
2888
3001
  a.parent.children.splice(i + 1, 0, {
2889
3002
  type: "Error",
@@ -2894,8 +3007,8 @@ ${js}`
2894
3007
  if (f.generator != null)
2895
3008
  f.generator.push("*"), signature.modifier.generator = !0;
2896
3009
  else
2897
- for (let ref22 = gatherRecursiveWithinFunction(block, ($16) => $16.type === "YieldExpression"), i13 = 0, len12 = ref22.length; i13 < len12; i13++) {
2898
- let y = ref22[i13], i = y.children.findIndex(($17) => $17.type === "Yield");
3010
+ for (let ref22 = gatherRecursiveWithinFunction(block, ($17) => $17.type === "YieldExpression"), i13 = 0, len12 = ref22.length; i13 < len12; i13++) {
3011
+ let y = ref22[i13], i = y.children.findIndex(($18) => $18.type === "Yield");
2899
3012
  y.children.splice(i + 1, 0, {
2900
3013
  type: "Error",
2901
3014
  message: `yield invalid in ${f.type === "ArrowFunction" ? "=> arrow function" : signature.modifier.get ? "getter" : signature.modifier.set ? "setter" : signature.name}`
@@ -2904,7 +3017,7 @@ ${js}`
2904
3017
  signature.modifier.async && !signature.modifier.generator && signature.returnType && !isPromiseType(signature.returnType.t) && replaceNode(signature.returnType.t, wrapTypeInPromise(signature.returnType.t));
2905
3018
  }
2906
3019
  function processFunctions(statements, config2) {
2907
- for (let ref23 = gatherRecursiveAll(statements, ($18) => $18.type === "FunctionExpression" || $18.type === "ArrowFunction" || $18.type === "MethodDefinition"), i14 = 0, len13 = ref23.length; i14 < len13; i14++) {
3020
+ for (let ref23 = gatherRecursiveAll(statements, ($19) => $19.type === "FunctionExpression" || $19.type === "ArrowFunction" || $19.type === "MethodDefinition"), i14 = 0, len13 = ref23.length; i14 < len13; i14++) {
2908
3021
  let f = ref23[i14];
2909
3022
  (f.type === "FunctionExpression" || f.type === "MethodDefinition") && implicitFunctionBlock(f), processSignature(f), processParams(f), processReturn(f, config2.implicitReturns);
2910
3023
  }
@@ -2919,10 +3032,7 @@ ${js}`
2919
3032
  }
2920
3033
  let statements;
2921
3034
  if (generator)
2922
- statement.reduction && children.unshift({
2923
- type: "Error",
2924
- message: `Cannot use reduction (${statement.reduction.subtype}) with generators`
2925
- }), iterationDefaultBody(statement), assignResults(block, (node) => ({
3035
+ iterationDefaultBody(statement), assignResults(block, (node) => ({
2926
3036
  type: "YieldExpression",
2927
3037
  expression: node,
2928
3038
  children: [
@@ -2954,7 +3064,7 @@ ${js}`
2954
3064
  done || (generator || (statements[statements.length - 1][1] = wrapWithReturn(statements[statements.length - 1][1])), children.splice(i, 1, wrapIIFE(statements, async, generator)), updateParentPointers(exp));
2955
3065
  }
2956
3066
  function processIterationExpressions(statements) {
2957
- for (let ref25 = gatherRecursiveAll(statements, ($19) => $19.type === "IterationExpression"), i15 = 0, len14 = ref25.length; i15 < len14; i15++) {
3067
+ for (let ref25 = gatherRecursiveAll(statements, ($20) => $20.type === "IterationExpression"), i15 = 0, len14 = ref25.length; i15 < len14; i15++) {
2958
3068
  let s = ref25[i15];
2959
3069
  expressionizeIteration(s);
2960
3070
  }
@@ -2992,12 +3102,12 @@ ${js}`
2992
3102
  let newParameterList = results1, newParameters = {
2993
3103
  ...parameters,
2994
3104
  parameters: newParameterList,
2995
- children: parameters.children.map(($20) => $20 === parameterList ? newParameterList : $20)
3105
+ children: parameters.children.map(($21) => $21 === parameterList ? newParameterList : $21)
2996
3106
  };
2997
3107
  expression = {
2998
3108
  ...expression,
2999
3109
  parameters: newParameters,
3000
- children: expression.children.map(($21) => $21 === parameters ? newParameters : $21)
3110
+ children: expression.children.map(($22) => $22 === parameters ? newParameters : $22)
3001
3111
  };
3002
3112
  }
3003
3113
  return {
@@ -3015,7 +3125,7 @@ ${js}`
3015
3125
  }
3016
3126
  function makeAmpersandFunction(rhs) {
3017
3127
  let { ref, typeSuffix, body } = rhs;
3018
- ref == null && (ref = makeRef("$"), inplacePrepend(ref, body)), startsWithPredicate(body, ($22) => $22.type === "ObjectExpression") && (body = makeLeftHandSideExpression(body));
3128
+ ref == null && (ref = makeRef("$"), inplacePrepend(ref, body)), startsWithPredicate(body, ($23) => $23.type === "ObjectExpression") && (body = makeLeftHandSideExpression(body));
3019
3129
  let parameterList = [
3020
3130
  typeSuffix ? [ref, typeSuffix] : ref
3021
3131
  ], parameters = makeNode({
@@ -3586,29 +3696,34 @@ ${js}`
3586
3696
  case "ConditionFragment":
3587
3697
  return;
3588
3698
  }
3589
- let [splices, thisAssignments] = gatherBindingCode(pattern), patternBindings2 = nonMatcherBindings(pattern);
3590
- splices = splices.map((s) => [", ", nonMatcherBindings(s)]), thisAssignments = thisAssignments.map(($7) => ["", $7, ";"]);
3699
+ let [splices, thisAssignments] = gatherBindingCode(pattern), patternBindings2 = nonMatcherBindings(pattern), results = [];
3700
+ for (let ref2 = gatherRecursiveAll(patternBindings2, ($7) => $7.subbinding != null), i5 = 0, len4 = ref2.length; i5 < len4; i5++) {
3701
+ let p = ref2[i5];
3702
+ results.push(prepend(", ", p.subbinding));
3703
+ }
3704
+ let subbindings = results;
3705
+ splices = splices.map((s) => [", ", nonMatcherBindings(s)]), thisAssignments = thisAssignments.map(($8) => ["", $8, ";"]);
3591
3706
  let duplicateDeclarations = aggregateDuplicateBindings([patternBindings2, splices]);
3592
3707
  return [
3593
3708
  ["", {
3594
3709
  type: "Declaration",
3595
- children: [decl, patternBindings2, typeSuffix, " = ", ref, ...splices],
3710
+ children: [decl, patternBindings2, typeSuffix, " = ", ref, ...subbindings, ...splices],
3596
3711
  names: [],
3597
3712
  bindings: []
3598
3713
  // avoid implicit return of any bindings
3599
3714
  }, ";"],
3600
3715
  ...thisAssignments,
3601
- ...duplicateDeclarations.map(($8) => ["", $8, ";"])
3716
+ ...duplicateDeclarations.map(($9) => ["", $9, ";"])
3602
3717
  ];
3603
3718
  }
3604
3719
  function elideMatchersFromArrayBindings(elements) {
3605
- let results = [];
3606
- for (let i5 = 0, len4 = elements.length; i5 < len4; i5++) {
3607
- let element = elements[i5];
3720
+ let results1 = [];
3721
+ for (let i6 = 0, len5 = elements.length; i6 < len5; i6++) {
3722
+ let element = elements[i6];
3608
3723
  switch (element.type) {
3609
3724
  case "BindingRestElement":
3610
3725
  case "ElisionElement": {
3611
- results.push(element);
3726
+ results1.push(element);
3612
3727
  break;
3613
3728
  }
3614
3729
  case "BindingElement": {
@@ -3617,12 +3732,12 @@ ${js}`
3617
3732
  case "RegularExpressionLiteral":
3618
3733
  case "StringLiteral":
3619
3734
  case "PinPattern": {
3620
- results.push(element.delim);
3735
+ results1.push(element.delim);
3621
3736
  break;
3622
3737
  }
3623
3738
  default: {
3624
3739
  let binding = nonMatcherBindings(element.binding);
3625
- results.push(makeNode({
3740
+ results1.push(makeNode({
3626
3741
  ...element,
3627
3742
  binding,
3628
3743
  children: element.children.map((c) => c === element.binding ? binding : c)
@@ -3633,42 +3748,67 @@ ${js}`
3633
3748
  }
3634
3749
  }
3635
3750
  }
3636
- return results;
3751
+ return results1;
3637
3752
  }
3638
3753
  function elideMatchersFromPropertyBindings(properties) {
3639
- return properties.map((p) => {
3754
+ let results2 = [];
3755
+ for (let i7 = 0, len6 = properties.length; i7 < len6; i7++) {
3756
+ let p = properties[i7];
3640
3757
  switch (p.type) {
3641
- case "BindingProperty": {
3642
- let { children, name, value } = p, [ws] = children;
3758
+ case "BindingProperty":
3759
+ case "PinProperty": {
3760
+ let { children, name, value, bind } = p, [ws] = children;
3643
3761
  if (name.type === "NumericLiteral" && !value?.name || name.type === "ComputedPropertyName" && value?.subtype === "NumericLiteral")
3644
- return;
3645
- switch (value && value.type) {
3646
- case "ArrayBindingPattern":
3647
- case "ObjectBindingPattern": {
3648
- let bindings = nonMatcherBindings(value);
3649
- return {
3650
- ...p,
3651
- children: [ws, name, bindings && ": ", bindings, p.delim]
3652
- };
3762
+ if (bind)
3763
+ results2.push({
3764
+ type: "Error",
3765
+ message: `Cannot bind ${name.type}`
3766
+ });
3767
+ else
3768
+ continue;
3769
+ else {
3770
+ let contents;
3771
+ switch (value?.type) {
3772
+ case "ArrayBindingPattern":
3773
+ case "ObjectBindingPattern": {
3774
+ let bindings = nonMatcherBindings(value);
3775
+ contents = {
3776
+ ...p,
3777
+ value: bindings,
3778
+ children: [ws, name, bindings && ": ", bindings, p.delim]
3779
+ };
3780
+ break;
3781
+ }
3782
+ case "Identifier":
3783
+ case void 0: {
3784
+ contents = p;
3785
+ break;
3786
+ }
3787
+ default:
3788
+ contents = void 0;
3653
3789
  }
3654
- case "Identifier":
3655
- return p;
3656
- case "Literal":
3657
- case "RegularExpressionLiteral":
3658
- case "StringLiteral":
3659
- default:
3660
- return {
3790
+ if (bind)
3791
+ results2.push({
3661
3792
  ...p,
3662
- children: [ws, name, p.delim]
3663
- };
3793
+ children: [ws, name, p.delim],
3794
+ subbinding: contents?.value ? [
3795
+ contents.value,
3796
+ " = ",
3797
+ name
3798
+ ] : void 0
3799
+ });
3800
+ else if (contents)
3801
+ results2.push(contents);
3802
+ else
3803
+ continue;
3664
3804
  }
3805
+ break;
3665
3806
  }
3666
- case "PinProperty":
3667
- case "BindingRestProperty":
3668
3807
  default:
3669
- return p;
3808
+ results2.push(p);
3670
3809
  }
3671
- });
3810
+ }
3811
+ return results2;
3672
3812
  }
3673
3813
  function nonMatcherBindings(pattern) {
3674
3814
  switch (pattern.type) {
@@ -3678,7 +3818,7 @@ ${js}`
3678
3818
  return makeNode({
3679
3819
  ...pattern,
3680
3820
  elements,
3681
- children: pattern.children.map(($9) => $9 === pattern.elements ? elements : $9)
3821
+ children: pattern.children.map(($10) => $10 === pattern.elements ? elements : $10)
3682
3822
  });
3683
3823
  }
3684
3824
  case "ObjectBindingPattern": {
@@ -3686,7 +3826,7 @@ ${js}`
3686
3826
  return makeNode({
3687
3827
  ...pattern,
3688
3828
  properties,
3689
- children: pattern.children.map(($10) => $10 === pattern.properties ? properties : $10)
3829
+ children: pattern.children.map(($11) => $11 === pattern.properties ? properties : $11)
3690
3830
  });
3691
3831
  }
3692
3832
  default:
@@ -3701,8 +3841,8 @@ ${js}`
3701
3841
  //$.type is "BindingRestProperty"
3702
3842
  $.type === "Identifier" && $.parent?.type === "BindingElement" || $.type === "BindingRestElement"
3703
3843
  ), declarations = [], propsGroupedByName = /* @__PURE__ */ new Map();
3704
- for (let i6 = 0, len5 = props.length; i6 < len5; i6++) {
3705
- let p = props[i6], { name, value } = p, m1;
3844
+ for (let i8 = 0, len7 = props.length; i8 < len7; i8++) {
3845
+ let p = props[i8], { name, value } = p, m1;
3706
3846
  if (m1 = value?.type, m1 === "ArrayBindingPattern" || m1 === "ObjectBindingPattern")
3707
3847
  continue;
3708
3848
  let key = value?.name || name?.name || name;
@@ -3716,8 +3856,8 @@ ${js}`
3716
3856
  pos: 0,
3717
3857
  input: key
3718
3858
  })) {
3719
- for (let i7 = 0, len6 = shared.length; i7 < len6; i7++) {
3720
- let p = shared[i7];
3859
+ for (let i9 = 0, len8 = shared.length; i9 < len8; i9++) {
3860
+ let p = shared[i9];
3721
3861
  aliasBinding(p, makeRef(`_${key}`, key));
3722
3862
  }
3723
3863
  return;
@@ -3832,7 +3972,7 @@ ${js}`
3832
3972
  }
3833
3973
  function prependStatementExpressionBlock(initializer, statement) {
3834
3974
  let { expression: exp } = initializer, ws;
3835
- if (Array.isArray(exp) && (ws = exp[0], exp = exp[1]), exp?.type !== "StatementExpression")
3975
+ if (Array.isArray(exp) && (ws = exp[0], exp = exp[1]), !(typeof exp == "object" && exp != null && "type" in exp && exp.type === "StatementExpression" || typeof exp == "object" && exp != null && "type" in exp && exp.type === "SpreadElement" && "expression" in exp && typeof exp.expression == "object" && exp.expression != null && "type" in exp.expression && exp.expression.type === "StatementExpression"))
3836
3976
  return;
3837
3977
  let pre = [], statementExp = exp.statement, blockStatement = ["", statementExp], ref;
3838
3978
  if (statementExp.type === "IterationExpression") {
@@ -4437,9 +4577,7 @@ ${js}`
4437
4577
  default:
4438
4578
  ref = Math.abs;
4439
4579
  }
4440
- let abs = ref, lengthAdjust = 1 - +!range.left.inclusive - +!range.right.inclusive, ref1;
4441
- lengthAdjust > 0 ? ref1 = ` + ${lengthAdjust}` : lengthAdjust < 0 ? ref1 = ` - ${-lengthAdjust}` : ref1 = void 0;
4442
- let lengthAdjustExpression = ref1, children;
4580
+ let abs = ref, lengthAdjust = 1 - +!range.left.inclusive - +!range.right.inclusive, children;
4443
4581
  if (typeof start == "object" && start != null && "type" in start && start.type === "Literal" && typeof end == "object" && end != null && "type" in end && end.type === "Literal") {
4444
4582
  let startValue = literalValue(start), endValue = literalValue(end);
4445
4583
  if (typeof startValue == "string" && typeof endValue == "string") {
@@ -4451,11 +4589,12 @@ ${js}`
4451
4589
  Array.from({ length }, (_2, i) => JSON.stringify(String.fromCharCode(startCode + i * step))).join(", "),
4452
4590
  "]"
4453
4591
  ] : children = [
4454
- `Array.from({length: ${length.toString()}}, `,
4455
- "(_, i) => String.fromCharCode(",
4592
+ getHelperRef(startCode <= endCode ? "stringRange" : "revStringRange"),
4593
+ "(",
4456
4594
  startCode.toString(),
4457
- step > 0 ? " + " : " - ",
4458
- "i))"
4595
+ ", ",
4596
+ length.toString(),
4597
+ ")"
4459
4598
  ], range.error != null && children.unshift(range.error);
4460
4599
  } else if (typeof startValue == "number" && typeof endValue == "number") {
4461
4600
  let step = startValue <= endValue ? 1 : -1, length = abs(endValue - startValue) + lengthAdjust;
@@ -4470,22 +4609,25 @@ ${js}`
4470
4609
  if (range.increasing != null) {
4471
4610
  let sign = range.increasing ? "+" : "-";
4472
4611
  end = makeLeftHandSideExpression(end), children = [
4473
- "((s) => Array.from({length: ",
4474
- range.increasing ? [ws2, end, " - s"] : ["s - ", ws2, end],
4475
- lengthAdjustExpression,
4476
- "}, (_, i) => s ",
4477
- sign,
4478
- " i))",
4612
+ getHelperRef(range.increasing ? "range" : "revRange"),
4479
4613
  "(",
4480
4614
  range.left.inclusive ? start : [makeLeftHandSideExpression(start), ` ${sign} 1`],
4615
+ ",",
4616
+ range.right.inclusive ? [makeLeftHandSideExpression(end), ` ${sign} 1`] : end,
4481
4617
  ...ws1,
4482
4618
  ")"
4483
4619
  ];
4484
4620
  } else
4485
4621
  children = [
4486
- "((s, e) => {let step = e > s ? 1 : -1; return Array.from({length: Math.abs(e - s)",
4487
- lengthAdjustExpression,
4488
- "}, (_, i) => s + i * step)})",
4622
+ "((s, e) => s > e ? ",
4623
+ getHelperRef("revRange"),
4624
+ "(s, e",
4625
+ range.right.inclusive ? " - 1" : void 0,
4626
+ ") : ",
4627
+ getHelperRef("range"),
4628
+ "(s, e",
4629
+ range.right.inclusive ? " + 1" : void 0,
4630
+ "))",
4489
4631
  "(",
4490
4632
  start,
4491
4633
  ...ws1,
@@ -4508,24 +4650,24 @@ ${js}`
4508
4650
  function forRange(open, forDeclaration, range, stepExp, close) {
4509
4651
  let { start, end, left, right, increasing } = range, counterRef = makeRef("i"), infinite = typeof end == "object" && end != null && "type" in end && end.type === "Identifier" && "name" in end && end.name === "Infinity", stepRef, asc;
4510
4652
  stepExp ? (stepExp = trimFirstSpace(stepExp), stepRef = maybeRef(stepExp, "step")) : infinite ? stepExp = stepRef = makeNumericLiteral(1) : increasing != null && (increasing ? (stepExp = stepRef = makeNumericLiteral(1), asc = !0) : (stepExp = stepRef = makeNumericLiteral(-1), asc = !1));
4511
- let ref2;
4653
+ let ref1;
4512
4654
  if (stepExp?.type === "Literal")
4513
4655
  try {
4514
- ref2 = literalValue(stepExp);
4656
+ ref1 = literalValue(stepExp);
4515
4657
  } catch {
4516
- ref2 = void 0;
4658
+ ref1 = void 0;
4517
4659
  }
4518
4660
  else
4519
- ref2 = void 0;
4520
- let stepValue = ref2;
4661
+ ref1 = void 0;
4662
+ let stepValue = ref1;
4521
4663
  typeof stepValue == "number" && (asc = stepValue > 0);
4522
- let ref3;
4523
- stepRef ? ref3 = start : ref3 = maybeRef(start, "start");
4524
- let startRef = ref3, endRef = maybeRef(end, "end"), startRefDec = startRef !== start ? [startRef, " = ", start, ", "] : [], endRefDec = endRef !== end ? [endRef, " = ", end, ", "] : [], ascDec = [], ascRef;
4664
+ let ref2;
4665
+ stepRef ? ref2 = start : ref2 = maybeRef(start, "start");
4666
+ let startRef = ref2, endRef = maybeRef(end, "end"), startRefDec = startRef !== start ? [startRef, " = ", start, ", "] : [], endRefDec = endRef !== end ? [endRef, " = ", end, ", "] : [], ascDec = [], ascRef;
4525
4667
  if (stepExp && stepRef !== stepExp && (ascDec = [", ", stepRef, " = ", stepExp]), start?.type === "Literal" && end?.type === "Literal") {
4526
4668
  asc = literalValue(start) <= literalValue(end);
4527
- let ref4;
4528
- if ((ref4 = start.subtype) === "StringLiteral" && ref4 === end.subtype) {
4669
+ let ref3;
4670
+ if ((ref3 = start.subtype) === "StringLiteral" && ref3 === end.subtype) {
4529
4671
  let startChar = literalValue(start).charCodeAt(0).toString();
4530
4672
  startRef = {
4531
4673
  type: "Literal",
@@ -4568,8 +4710,8 @@ ${js}`
4568
4710
  }
4569
4711
  function processForInOf($0) {
4570
4712
  let [awaits, eachOwn, open, declaration, declaration2, ws, inOf, exp, step, close] = $0;
4571
- for (let ref5 = [declaration, declaration2?.[declaration2.length - 1]], i1 = 0, len3 = ref5.length; i1 < len3; i1++) {
4572
- let decl = ref5[i1];
4713
+ for (let ref4 = [declaration, declaration2?.[declaration2.length - 1]], i1 = 0, len3 = ref4.length; i1 < len3; i1++) {
4714
+ let decl = ref4[i1];
4573
4715
  decl != null && decl.type !== "ForDeclaration" && checkValidLHS(decl);
4574
4716
  }
4575
4717
  if (startsWith(exp, /^\s/) || (exp = prepend(" ", exp)), exp.type === "RangeExpression" && inOf.token === "of" && !declaration2)
@@ -4597,16 +4739,18 @@ ${js}`
4597
4739
  ], ";"]), assignmentNames.push(...decl22.names);
4598
4740
  }
4599
4741
  let expRefDec = expRef2 !== exp ? [trimFirstSpace(expRef2), " = ", trimFirstSpace(exp), ", "] : [];
4600
- return blockPrefix.push(["", {
4742
+ blockPrefix.push(["", {
4601
4743
  type: "Declaration",
4602
4744
  children: [declaration, " = ", trimFirstSpace(expRef2), "[", counterRef, "]"],
4603
4745
  names: assignmentNames,
4604
4746
  implicitLift: !0
4605
- }, ";"]), declaration = {
4747
+ }, ";"]);
4748
+ let eachDeclaration = declaration;
4749
+ return declaration = {
4606
4750
  type: "Declaration",
4607
4751
  children: ["let ", ...expRefDec, counterRef, " = 0, ", lenRef, " = ", trimFirstSpace(expRef2), ".length"],
4608
4752
  names: []
4609
- }, { declaration, children: [open, declaration, "; ", [counterRef, " < ", lenRef, "; "], counterRef, increment, close], blockPrefix };
4753
+ }, { declaration, eachDeclaration, children: [open, declaration, "; ", [counterRef, " < ", lenRef, "; "], counterRef, increment, close], blockPrefix };
4610
4754
  } else
4611
4755
  eachOwnError = {
4612
4756
  type: "Error",
@@ -5554,7 +5698,7 @@ ${js}`
5554
5698
  if (exp.names !== null)
5555
5699
  continue;
5556
5700
  let { lhs: $1, expression: $2 } = exp, tail = [], len3 = $1.length, block, ref12;
5557
- if (exp.parent?.type === "BlockStatement" && !(ref12 = $1[$1.length - 1])?.[ref12.length - 1]?.special) {
5701
+ if (blockContainingStatement(exp) && !(ref12 = $1[$1.length - 1])?.[ref12.length - 1]?.special) {
5558
5702
  block = makeBlockFragment();
5559
5703
  let ref13;
5560
5704
  if (ref13 = prependStatementExpressionBlock(
@@ -5987,16 +6131,15 @@ ${js}`
5987
6131
  }
5988
6132
  function processProgram(root) {
5989
6133
  let state2 = getState(), config2 = getConfig();
5990
- assert.equal(state2.forbidBracedApplication.length, 1, "forbidBracedApplication"), assert.equal(state2.forbidClassImplicitCall.length, 1, "forbidClassImplicitCall"), assert.equal(state2.forbidIndentedApplication.length, 1, "forbidIndentedApplication"), assert.equal(state2.forbidNestedBinaryOp.length, 1, "forbidNestedBinaryOp"), assert.equal(state2.forbidNewlineBinaryOp.length, 1, "forbidNewlineBinaryOp"), assert.equal(state2.forbidTrailingMemberProperty.length, 1, "forbidTrailingMemberProperty"), assert.equal(state2.JSXTagStack.length, 1, "JSXTagStack");
5991
- let rootIIFE;
5992
- if (config2.iife || config2.repl) {
5993
- rootIIFE = wrapIIFE(root.expressions, root.topLevelAwait);
5994
- let newExpressions = [["", rootIIFE]];
5995
- root.children = root.children.map(($16) => $16 === root.expressions ? newExpressions : $16), root.expressions = newExpressions;
5996
- }
5997
- addParentPointers(root);
6134
+ assert.equal(state2.forbidBracedApplication.length, 1, "forbidBracedApplication"), assert.equal(state2.forbidClassImplicitCall.length, 1, "forbidClassImplicitCall"), assert.equal(state2.forbidIndentedApplication.length, 1, "forbidIndentedApplication"), assert.equal(state2.forbidNestedBinaryOp.length, 1, "forbidNestedBinaryOp"), assert.equal(state2.forbidNewlineBinaryOp.length, 1, "forbidNewlineBinaryOp"), assert.equal(state2.forbidTrailingMemberProperty.length, 1, "forbidTrailingMemberProperty"), assert.equal(state2.JSXTagStack.length, 1, "JSXTagStack"), addParentPointers(root);
5998
6135
  let { expressions: statements } = root;
5999
- processPlaceholders(statements), processNegativeIndexAccess(statements), processTypes(statements), processDeclarationConditions(statements), processPipelineExpressions(statements), processDeclarations(statements), processAssignments(statements), processStatementExpressions(statements), processPatternMatching(statements), processIterationExpressions(statements), processFinallyClauses(statements), processBreaksContinues(statements), hoistRefDecs(statements), processFunctions(statements, config2), config2.coffeeClasses && processCoffeeClasses(statements), statements.unshift(...state2.prelude), config2.autoLet ? createConstLetDecs(statements, [], "let") : config2.autoConst ? createConstLetDecs(statements, [], "const") : config2.autoVar && createVarDecs(root, []), config2.repl && processRepl(root, rootIIFE), processBlocks(statements), populateRefs(statements), adjustAtBindings(statements), getSync() && processComptime(statements);
6136
+ processPlaceholders(statements), processNegativeIndexAccess(statements), processTypes(statements), processDeclarationConditions(statements), processPipelineExpressions(statements), processDeclarations(statements), processAssignments(statements), processStatementExpressions(statements), processPatternMatching(statements), processIterationExpressions(statements), processFinallyClauses(statements), processBreaksContinues(statements), root.topLevelAwait = hasAwait(statements), root.topLevelYield = hasYield(statements);
6137
+ let rootIIFE;
6138
+ (config2.iife || config2.repl) && (rootIIFE = wrapIIFE(
6139
+ root.expressions,
6140
+ root.topLevelAwait,
6141
+ root.topLevelYield ? "*" : void 0
6142
+ ), statements = [["", rootIIFE]], root.children = root.children.map(($16) => $16 === root.expressions ? statements : $16), root.expressions = statements), hoistRefDecs(statements), processFunctions(statements, config2), config2.coffeeClasses && processCoffeeClasses(statements), statements.unshift(...extractPreludeFor(statements)), config2.autoLet ? createConstLetDecs(statements, [], "let") : config2.autoConst ? createConstLetDecs(statements, [], "const") : config2.autoVar && createVarDecs(root, []), config2.repl && processRepl(root, rootIIFE), processBlocks(statements), populateRefs(statements), adjustAtBindings(statements), getSync() && processComptime(statements);
6000
6143
  }
6001
6144
  async function processProgramAsync(root) {
6002
6145
  let { expressions: statements } = root;
@@ -6236,6 +6379,8 @@ ${js}`
6236
6379
  ExpressionizedStatement,
6237
6380
  StatementExpression,
6238
6381
  CommaExpression,
6382
+ CommaExpressionSpread,
6383
+ AssignmentExpressionSpread,
6239
6384
  Arguments,
6240
6385
  ImplicitArguments,
6241
6386
  ExplicitArguments,
@@ -6415,6 +6560,7 @@ ${js}`
6415
6560
  BareNestedBlock,
6416
6561
  BareBlock,
6417
6562
  ThenClause,
6563
+ ThenBlock,
6418
6564
  BracedThenClause,
6419
6565
  BracedOrEmptyBlock,
6420
6566
  NoCommaBracedOrEmptyBlock,
@@ -6524,6 +6670,7 @@ ${js}`
6524
6670
  PostfixStatement,
6525
6671
  _PostfixStatement,
6526
6672
  Statement,
6673
+ IterationActualStatement,
6527
6674
  ShouldExpressionize,
6528
6675
  NoCommaStatement,
6529
6676
  EmptyStatement,
@@ -7055,15 +7202,14 @@ ${js}`
7055
7202
  SameLineOrIndentedFurther,
7056
7203
  Dedented,
7057
7204
  PushExtraIndent1
7058
- }, $L0 = (0, import_lib2.$L)(""), $L1 = (0, import_lib2.$L)("{"), $L2 = (0, import_lib2.$L)("/ "), $L3 = (0, import_lib2.$L)("="), $L4 = (0, import_lib2.$L)("("), $L5 = (0, import_lib2.$L)("... "), $L6 = (0, import_lib2.$L)("?"), $L7 = (0, import_lib2.$L)("."), $L8 = (0, import_lib2.$L)("tuple"), $L9 = (0, import_lib2.$L)("++"), $L10 = (0, import_lib2.$L)("--"), $L11 = (0, import_lib2.$L)("\u29FA"), $L12 = (0, import_lib2.$L)("\u2014"), $L13 = (0, import_lib2.$L)("=>"), $L14 = (0, import_lib2.$L)("\u21D2"), $L15 = (0, import_lib2.$L)("import"), $L16 = (0, import_lib2.$L)(":"), $L17 = (0, import_lib2.$L)(","), $L18 = (0, import_lib2.$L)(" "), $L19 = (0, import_lib2.$L)("<"), $L20 = (0, import_lib2.$L)("implements"), $L21 = (0, import_lib2.$L)("<:"), $L22 = (0, import_lib2.$L)("^"), $L23 = (0, import_lib2.$L)("<?"), $L24 = (0, import_lib2.$L)("-"), $L25 = (0, import_lib2.$L)("import.meta"), $L26 = (0, import_lib2.$L)("return.value"), $L27 = (0, import_lib2.$L)("tighter"), $L28 = (0, import_lib2.$L)("looser"), $L29 = (0, import_lib2.$L)("same"), $L30 = (0, import_lib2.$L)("left"), $L31 = (0, import_lib2.$L)("right"), $L32 = (0, import_lib2.$L)("non"), $L33 = (0, import_lib2.$L)("relational"), $L34 = (0, import_lib2.$L)("arguments"), $L35 = (0, import_lib2.$L)("->"), $L36 = (0, import_lib2.$L)("\u2192"), $L37 = (0, import_lib2.$L)("}"), $L38 = (0, import_lib2.$L)("null"), $L39 = (0, import_lib2.$L)("true"), $L40 = (0, import_lib2.$L)("false"), $L41 = (0, import_lib2.$L)("yes"), $L42 = (0, import_lib2.$L)("on"), $L43 = (0, import_lib2.$L)("no"), $L44 = (0, import_lib2.$L)("off"), $L45 = (0, import_lib2.$L)(">"), $L46 = (0, import_lib2.$L)("]"), $L47 = (0, import_lib2.$L)("\u2022"), $L48 = (0, import_lib2.$L)("//"), $L49 = (0, import_lib2.$L)("**="), $L50 = (0, import_lib2.$L)("*="), $L51 = (0, import_lib2.$L)("%/"), $L52 = (0, import_lib2.$L)("\xF7"), $L53 = (0, import_lib2.$L)("%%"), $L54 = (0, import_lib2.$L)("/="), $L55 = (0, import_lib2.$L)("%="), $L56 = (0, import_lib2.$L)("+="), $L57 = (0, import_lib2.$L)("-="), $L58 = (0, import_lib2.$L)("<<="), $L59 = (0, import_lib2.$L)("\u226A="), $L60 = (0, import_lib2.$L)(">>>="), $L61 = (0, import_lib2.$L)("\u22D9="), $L62 = (0, import_lib2.$L)(">>="), $L63 = (0, import_lib2.$L)("\u226B="), $L64 = (0, import_lib2.$L)("&&="), $L65 = (0, import_lib2.$L)("&="), $L66 = (0, import_lib2.$L)("^="), $L67 = (0, import_lib2.$L)("||="), $L68 = (0, import_lib2.$L)("\u2016="), $L69 = (0, import_lib2.$L)("|="), $L70 = (0, import_lib2.$L)("??="), $L71 = (0, import_lib2.$L)("\u2047="), $L72 = (0, import_lib2.$L)("?="), $L73 = (0, import_lib2.$L)("and="), $L74 = (0, import_lib2.$L)("or="), $L75 = (0, import_lib2.$L)("*"), $L76 = (0, import_lib2.$L)("**"), $L77 = (0, import_lib2.$L)("/"), $L78 = (0, import_lib2.$L)("%"), $L79 = (0, import_lib2.$L)("+"), $L80 = (0, import_lib2.$L)("<="), $L81 = (0, import_lib2.$L)("\u2264"), $L82 = (0, import_lib2.$L)(">="), $L83 = (0, import_lib2.$L)("\u2265"), $L84 = (0, import_lib2.$L)("!<?"), $L85 = (0, import_lib2.$L)("<<"), $L86 = (0, import_lib2.$L)("\u226A"), $L87 = (0, import_lib2.$L)(">>>"), $L88 = (0, import_lib2.$L)("\u22D9"), $L89 = (0, import_lib2.$L)(">>"), $L90 = (0, import_lib2.$L)("\u226B"), $L91 = (0, import_lib2.$L)("!=="), $L92 = (0, import_lib2.$L)("\u2262"), $L93 = (0, import_lib2.$L)("!="), $L94 = (0, import_lib2.$L)("\u2260"), $L95 = (0, import_lib2.$L)("isnt"), $L96 = (0, import_lib2.$L)("==="), $L97 = (0, import_lib2.$L)("\u2263"), $L98 = (0, import_lib2.$L)("\u2A76"), $L99 = (0, import_lib2.$L)("=="), $L100 = (0, import_lib2.$L)("\u2261"), $L101 = (0, import_lib2.$L)("\u2A75"), $L102 = (0, import_lib2.$L)("and"), $L103 = (0, import_lib2.$L)("&&"), $L104 = (0, import_lib2.$L)("or"), $L105 = (0, import_lib2.$L)("||"), $L106 = (0, import_lib2.$L)("\u2016"), $L107 = (0, import_lib2.$L)("^^"), $L108 = (0, import_lib2.$L)("xor"), $L109 = (0, import_lib2.$L)("xnor"), $L110 = (0, import_lib2.$L)("??"), $L111 = (0, import_lib2.$L)("\u2047"), $L112 = (0, import_lib2.$L)("instanceof"), $L113 = (0, import_lib2.$L)("\u2208"), $L114 = (0, import_lib2.$L)("\u220B"), $L115 = (0, import_lib2.$L)("\u220C"), $L116 = (0, import_lib2.$L)("\u2209"), $L117 = (0, import_lib2.$L)("&"), $L118 = (0, import_lib2.$L)("|"), $L119 = (0, import_lib2.$L)(";"), $L120 = (0, import_lib2.$L)("some"), $L121 = (0, import_lib2.$L)("every"), $L122 = (0, import_lib2.$L)("count"), $L123 = (0, import_lib2.$L)("sum"), $L124 = (0, import_lib2.$L)("product"), $L125 = (0, import_lib2.$L)("min"), $L126 = (0, import_lib2.$L)("max"), $L127 = (0, import_lib2.$L)("join"), $L128 = (0, import_lib2.$L)("break"), $L129 = (0, import_lib2.$L)("continue"), $L130 = (0, import_lib2.$L)("debugger"), $L131 = (0, import_lib2.$L)("require"), $L132 = (0, import_lib2.$L)("with"), $L133 = (0, import_lib2.$L)("assert"), $L134 = (0, import_lib2.$L)(":="), $L135 = (0, import_lib2.$L)("\u2254"), $L136 = (0, import_lib2.$L)(".="), $L137 = (0, import_lib2.$L)("::="), $L138 = (0, import_lib2.$L)("/*"), $L139 = (0, import_lib2.$L)("*/"), $L140 = (0, import_lib2.$L)("\\"), $L141 = (0, import_lib2.$L)(")"), $L142 = (0, import_lib2.$L)("abstract"), $L143 = (0, import_lib2.$L)("as"), $L144 = (0, import_lib2.$L)("@"), $L145 = (0, import_lib2.$L)("@@"), $L146 = (0, import_lib2.$L)("async"), $L147 = (0, import_lib2.$L)("await"), $L148 = (0, import_lib2.$L)("`"), $L149 = (0, import_lib2.$L)("by"), $L150 = (0, import_lib2.$L)("case"), $L151 = (0, import_lib2.$L)("catch"), $L152 = (0, import_lib2.$L)("class"), $L153 = (0, import_lib2.$L)("#{"), $L154 = (0, import_lib2.$L)("comptime"), $L155 = (0, import_lib2.$L)("declare"), $L156 = (0, import_lib2.$L)("default"), $L157 = (0, import_lib2.$L)("delete"), $L158 = (0, import_lib2.$L)("do"), $L159 = (0, import_lib2.$L)(".."), $L160 = (0, import_lib2.$L)("\u2025"), $L161 = (0, import_lib2.$L)("..."), $L162 = (0, import_lib2.$L)("\u2026"), $L163 = (0, import_lib2.$L)("::"), $L164 = (0, import_lib2.$L)('"'), $L165 = (0, import_lib2.$L)("each"), $L166 = (0, import_lib2.$L)("else"), $L167 = (0, import_lib2.$L)("!"), $L168 = (0, import_lib2.$L)("export"), $L169 = (0, import_lib2.$L)("extends"), $L170 = (0, import_lib2.$L)("finally"), $L171 = (0, import_lib2.$L)("for"), $L172 = (0, import_lib2.$L)("from"), $L173 = (0, import_lib2.$L)("function"), $L174 = (0, import_lib2.$L)("get"), $L175 = (0, import_lib2.$L)("set"), $L176 = (0, import_lib2.$L)("#"), $L177 = (0, import_lib2.$L)("if"), $L178 = (0, import_lib2.$L)("in"), $L179 = (0, import_lib2.$L)("infer"), $L180 = (0, import_lib2.$L)("let"), $L181 = (0, import_lib2.$L)("const"), $L182 = (0, import_lib2.$L)("is"), $L183 = (0, import_lib2.$L)("var"), $L184 = (0, import_lib2.$L)("like"), $L185 = (0, import_lib2.$L)("loop"), $L186 = (0, import_lib2.$L)("new"), $L187 = (0, import_lib2.$L)("not"), $L188 = (0, import_lib2.$L)("of"), $L189 = (0, import_lib2.$L)("["), $L190 = (0, import_lib2.$L)("operator"), $L191 = (0, import_lib2.$L)("override"), $L192 = (0, import_lib2.$L)("own"), $L193 = (0, import_lib2.$L)("public"), $L194 = (0, import_lib2.$L)("private"), $L195 = (0, import_lib2.$L)("protected"), $L196 = (0, import_lib2.$L)("||>"), $L197 = (0, import_lib2.$L)("|\u25B7"), $L198 = (0, import_lib2.$L)("|>="), $L199 = (0, import_lib2.$L)("\u25B7="), $L200 = (0, import_lib2.$L)("|>"), $L201 = (0, import_lib2.$L)("\u25B7"), $L202 = (0, import_lib2.$L)("readonly"), $L203 = (0, import_lib2.$L)("return"), $L204 = (0, import_lib2.$L)("satisfies"), $L205 = (0, import_lib2.$L)("'"), $L206 = (0, import_lib2.$L)("static"), $L207 = (0, import_lib2.$L)("${"), $L208 = (0, import_lib2.$L)("super"), $L209 = (0, import_lib2.$L)("switch"), $L210 = (0, import_lib2.$L)("target"), $L211 = (0, import_lib2.$L)("then"), $L212 = (0, import_lib2.$L)("this"), $L213 = (0, import_lib2.$L)("throw"), $L214 = (0, import_lib2.$L)('"""'), $L215 = (0, import_lib2.$L)("'''"), $L216 = (0, import_lib2.$L)("///"), $L217 = (0, import_lib2.$L)("```"), $L218 = (0, import_lib2.$L)("try"), $L219 = (0, import_lib2.$L)("typeof"), $L220 = (0, import_lib2.$L)("undefined"), $L221 = (0, import_lib2.$L)("unless"), $L222 = (0, import_lib2.$L)("until"), $L223 = (0, import_lib2.$L)("using"), $L224 = (0, import_lib2.$L)("void"), $L225 = (0, import_lib2.$L)("when"), $L226 = (0, import_lib2.$L)("while"), $L227 = (0, import_lib2.$L)("yield"), $L228 = (0, import_lib2.$L)("/>"), $L229 = (0, import_lib2.$L)("</"), $L230 = (0, import_lib2.$L)("<>"), $L231 = (0, import_lib2.$L)("</>"), $L232 = (0, import_lib2.$L)("<!--"), $L233 = (0, import_lib2.$L)("-->"), $L234 = (0, import_lib2.$L)("type"), $L235 = (0, import_lib2.$L)("enum"), $L236 = (0, import_lib2.$L)("interface"), $L237 = (0, import_lib2.$L)("global"), $L238 = (0, import_lib2.$L)("module"), $L239 = (0, import_lib2.$L)("namespace"), $L240 = (0, import_lib2.$L)("asserts"), $L241 = (0, import_lib2.$L)("keyof"), $L242 = (0, import_lib2.$L)("???"), $L243 = (0, import_lib2.$L)("unique"), $L244 = (0, import_lib2.$L)("symbol"), $L245 = (0, import_lib2.$L)("[]"), $L246 = (0, import_lib2.$L)("civet"), $R0 = (0, import_lib2.$R)(new RegExp("(?=async|debugger|if|unless|comptime|do|for|loop|until|while|switch|throw|try)", "suy")), $R1 = (0, import_lib2.$R)(new RegExp("&(?=\\s)", "suy")), $R2 = (0, import_lib2.$R)(new RegExp("(as|of|by|satisfies|then|when|implements|xor|xnor)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy")), $R3 = (0, import_lib2.$R)(new RegExp("[0-9]", "suy")), $R4 = (0, import_lib2.$R)(new RegExp("(?!\\p{ID_Start}|[_$0-9(\\[{])", "suy")), $R5 = (0, import_lib2.$R)(new RegExp("[ \\t]", "suy")), $R6 = (0, import_lib2.$R)(new RegExp("\\p{ID_Continue}|[\\u200C\\u200D$.#{=]", "suy")), $R7 = (0, import_lib2.$R)(new RegExp("[&=]", "suy")), $R8 = (0, import_lib2.$R)(new RegExp("(?=['\"`])", "suy")), $R9 = (0, import_lib2.$R)(new RegExp("(?=[\\/?])", "suy")), $R10 = (0, import_lib2.$R)(new RegExp("(?=[\\/\\[{?.!@#'\u2019:])", "suy")), $R11 = (0, import_lib2.$R)(new RegExp("%%?", "suy")), $R12 = (0, import_lib2.$R)(new RegExp("[.\\s]", "suy")), $R13 = (0, import_lib2.$R)(new RegExp("[)}]", "suy")), $R14 = (0, import_lib2.$R)(new RegExp("[+-]", "suy")), $R15 = (0, import_lib2.$R)(new RegExp("\\+\\+|--|\u29FA|\u2014|[\\+\\-&]\\S", "suy")), $R16 = (0, import_lib2.$R)(new RegExp(`(?=[0-9.'"tfyno])`, "suy")), $R17 = (0, import_lib2.$R)(new RegExp("(?=true|false|yes|no|on|off)", "suy")), $R18 = (0, import_lib2.$R)(new RegExp("(?=\\p{ID_Start}|[_$])", "suy")), $R19 = (0, import_lib2.$R)(new RegExp("(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$])*", "suy")), $R20 = (0, import_lib2.$R)(new RegExp("(?=\\[|\\s*[.\u2022])", "suy")), $R21 = (0, import_lib2.$R)(new RegExp("([<>])(=?)|([\u2264\u2265])", "suy")), $R22 = (0, import_lib2.$R)(new RegExp("[ \\t]*", "suy")), $R23 = (0, import_lib2.$R)(new RegExp("[ \\t]+", "suy")), $R24 = (0, import_lib2.$R)(new RegExp("[!+-]?", "suy")), $R25 = (0, import_lib2.$R)(new RegExp("(?:\\p{ID_Continue}|[\\u200C\\u200D$-])*", "suy")), $R26 = (0, import_lib2.$R)(new RegExp("[=>]", "suy")), $R27 = (0, import_lib2.$R)(new RegExp("(?=\\p{ID_Start}|[_$^\u226A\u226B\u22D9\u2264\u2265\u2208\u220B\u2209\u220C\u2263\u2261\u2262\u2260=\u2A76\u2A75\u2016\u2047&|*\\/!?%\xF7<>\u29FA+-])", "suy")), $R28 = (0, import_lib2.$R)(new RegExp("!\\^\\^?", "suy")), $R29 = (0, import_lib2.$R)(new RegExp("(?!\\+\\+|--)[!~+-](?!\\s)", "suy")), $R30 = (0, import_lib2.$R)(new RegExp("[:.]", "suy")), $R31 = (0, import_lib2.$R)(new RegExp("(?=for|if|loop|unless|until|while)", "suy")), $R32 = (0, import_lib2.$R)(new RegExp("(?:loop|while|until|for|do)(?!\\p{ID_Continue})", "suy")), $R33 = (0, import_lib2.$R)(new RegExp("(?=loop|comptime|do|for|until|while)", "suy")), $R34 = (0, import_lib2.$R)(new RegExp('[^;"\\s=>]+', "suy")), $R35 = (0, import_lib2.$R)(new RegExp("(?=[0-9.])", "suy")), $R36 = (0, import_lib2.$R)(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)n", "suy")), $R37 = (0, import_lib2.$R)(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)(?=\\.(?:\\p{ID_Start}|[_$]))", "suy")), $R38 = (0, import_lib2.$R)(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)(?:\\.(?:[0-9](?:_[0-9]|[0-9])*))?", "suy")), $R39 = (0, import_lib2.$R)(new RegExp("(?:\\.[0-9](?:_[0-9]|[0-9])*)", "suy")), $R40 = (0, import_lib2.$R)(new RegExp("(?:[eE][+-]?[0-9]+(?:_[0-9]|[0-9])*)", "suy")), $R41 = (0, import_lib2.$R)(new RegExp("0[bB][01](?:[01]|_[01])*n?", "suy")), $R42 = (0, import_lib2.$R)(new RegExp("0[oO][0-7](?:[0-7]|_[0-7])*n?", "suy")), $R43 = (0, import_lib2.$R)(new RegExp("0[xX][0-9a-fA-F](?:[0-9a-fA-F]|_[0-9a-fA-F])*n?", "suy")), $R44 = (0, import_lib2.$R)(new RegExp("(?=[0-9])", "suy")), $R45 = (0, import_lib2.$R)(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)", "suy")), $R46 = (0, import_lib2.$R)(new RegExp('(?:\\\\.|[^"])*', "suy")), $R47 = (0, import_lib2.$R)(new RegExp("(?:\\\\.|[^'])*", "suy")), $R48 = (0, import_lib2.$R)(new RegExp('(?:"(?!"")|#(?!\\{)|\\\\.|[^#"])+', "suy")), $R49 = (0, import_lib2.$R)(new RegExp('(?:"(?!"")|\\\\.|[^"])+', "suy")), $R50 = (0, import_lib2.$R)(new RegExp("(?:'(?!'')|\\\\.|[^'])*", "suy")), $R51 = (0, import_lib2.$R)(new RegExp('(?:\\\\.|#(?!\\{)|[^"#])+', "suy")), $R52 = (0, import_lib2.$R)(new RegExp("(?:\\\\.|[^\\]])*", "suy")), $R53 = (0, import_lib2.$R)(new RegExp("(?:\\\\.)", "suy")), $R54 = (0, import_lib2.$R)(new RegExp("[\\s]+", "suy")), $R55 = (0, import_lib2.$R)(new RegExp("\\/(?!\\/\\/)", "suy")), $R56 = (0, import_lib2.$R)(new RegExp("[^[\\/\\s#$\\\\]+|[#$]", "suy")), $R57 = (0, import_lib2.$R)(new RegExp("[*\\/\\r\\n]", "suy")), $R58 = (0, import_lib2.$R)(new RegExp("(?:\\\\.|[^[\\/\\r\\n])+", "suy")), $R59 = (0, import_lib2.$R)(new RegExp("(?:\\p{ID_Continue}|[\\u200C\\u200D$])*", "suy")), $R60 = (0, import_lib2.$R)(new RegExp("(?=[`'\"])", "suy")), $R61 = (0, import_lib2.$R)(new RegExp("(?:\\$(?!\\{)|\\\\.|[^$`])+", "suy")), $R62 = (0, import_lib2.$R)(new RegExp("(?:\\$(?!\\{)|`(?!``)|\\\\.|[^$`])+", "suy")), $R63 = (0, import_lib2.$R)(new RegExp("(?:on|off|yes|no)(?!\\p{ID_Continue})", "suy")), $R64 = (0, import_lib2.$R)(new RegExp("(?:isnt)(?!\\p{ID_Continue})", "suy")), $R65 = (0, import_lib2.$R)(new RegExp("(?:by)(?!\\p{ID_Continue})", "suy")), $R66 = (0, import_lib2.$R)(new RegExp("(?:of)(?!\\p{ID_Continue})", "suy")), $R67 = (0, import_lib2.$R)(new RegExp("(?:and|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|not|null|or|private|protected|public|return|static|super|switch|this|throw|true|try|typeof|unless|until|var|void|while|with|yield)(?!\\p{ID_Continue})", "suy")), $R68 = (0, import_lib2.$R)(new RegExp("(?=\\/|#)", "suy")), $R69 = (0, import_lib2.$R)(new RegExp("\\/\\/(?!\\/)[^\\r\\n]*", "suy")), $R70 = (0, import_lib2.$R)(new RegExp(".", "suy")), $R71 = (0, import_lib2.$R)(new RegExp("#(?!##(?!#))([^\\r\\n]*)", "suy")), $R72 = (0, import_lib2.$R)(new RegExp("[^]*?###", "suy")), $R73 = (0, import_lib2.$R)(new RegExp("###(?!#)", "suy")), $R74 = (0, import_lib2.$R)(new RegExp("\\/\\*(?:(?!\\*\\/)[^\\r\\n])*\\*\\/", "suy")), $R75 = (0, import_lib2.$R)(new RegExp("(?=[ \\t\\/\\\\])", "suy")), $R76 = (0, import_lib2.$R)(new RegExp("(?=\\s|\\/|#)", "suy")), $R77 = (0, import_lib2.$R)(new RegExp("(?!\\p{ID_Continue})", "suy")), $R78 = (0, import_lib2.$R)(new RegExp("[=:]", "suy")), $R79 = (0, import_lib2.$R)(new RegExp("['\u2019]s", "suy")), $R80 = (0, import_lib2.$R)(new RegExp("\\s", "suy")), $R81 = (0, import_lib2.$R)(new RegExp("(?=[<])", "suy")), $R82 = (0, import_lib2.$R)(new RegExp("(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$-])*", "suy")), $R83 = (0, import_lib2.$R)(new RegExp("[!+-]", "suy")), $R84 = (0, import_lib2.$R)(new RegExp("[\\s>]|\\/>", "suy")), $R85 = (0, import_lib2.$R)(new RegExp("(?:[\\w\\-:]+|\\([^()]*\\)|\\[[^\\[\\]]*\\])+", "suy")), $R86 = (0, import_lib2.$R)(new RegExp(`"[^"]*"|'[^']*'`, "suy")), $R87 = (0, import_lib2.$R)(new RegExp("[<>]", "suy")), $R88 = (0, import_lib2.$R)(new RegExp("[!~+-](?!\\s|[!~+-]*&)", "suy")), $R89 = (0, import_lib2.$R)(new RegExp("(?:-[^-]|[^-]*)*", "suy")), $R90 = (0, import_lib2.$R)(new RegExp("[^{}<>\\r\\n]+", "suy")), $R91 = (0, import_lib2.$R)(new RegExp("[+-]?", "suy")), $R92 = (0, import_lib2.$R)(new RegExp("(?=if|unless)", "suy")), $R93 = (0, import_lib2.$R)(new RegExp("[|&<!=\\-\u21D2\u2192]", "suy")), $R94 = (0, import_lib2.$R)(new RegExp("(extends|not|is)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy")), $R95 = (0, import_lib2.$R)(new RegExp("const|in|out", "suy")), $R96 = (0, import_lib2.$R)(new RegExp("#![^\\r\\n]*", "suy")), $R97 = (0, import_lib2.$R)(new RegExp("[\\t ]*", "suy")), $R98 = (0, import_lib2.$R)(new RegExp("[\\s]*", "suy")), $R99 = (0, import_lib2.$R)(new RegExp("\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([\\p{ID_Continue}.,+-]*))?", "suy")), $R100 = (0, import_lib2.$R)(new RegExp("\\/\\/\\/[^\\r\\n]*", "suy")), $R101 = (0, import_lib2.$R)(new RegExp("(?=[ \\t\\r\\n\\/#]|$)", "suy")), $R102 = (0, import_lib2.$R)(new RegExp("\\r\\n|\\n|\\r|$", "suy")), $R103 = (0, import_lib2.$R)(new RegExp("[^]*", "suy")), Program$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(Reset, Init, (0, import_lib2.$E)(EOS), TopLevelStatements, __), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
7205
+ }, $L0 = (0, import_lib2.$L)(""), $L1 = (0, import_lib2.$L)("{"), $L2 = (0, import_lib2.$L)("/ "), $L3 = (0, import_lib2.$L)("="), $L4 = (0, import_lib2.$L)("("), $L5 = (0, import_lib2.$L)("... "), $L6 = (0, import_lib2.$L)("?"), $L7 = (0, import_lib2.$L)("."), $L8 = (0, import_lib2.$L)("tuple"), $L9 = (0, import_lib2.$L)("++"), $L10 = (0, import_lib2.$L)("--"), $L11 = (0, import_lib2.$L)("\u29FA"), $L12 = (0, import_lib2.$L)("\u2014"), $L13 = (0, import_lib2.$L)("=>"), $L14 = (0, import_lib2.$L)("\u21D2"), $L15 = (0, import_lib2.$L)("import"), $L16 = (0, import_lib2.$L)(":"), $L17 = (0, import_lib2.$L)(","), $L18 = (0, import_lib2.$L)(" "), $L19 = (0, import_lib2.$L)("<"), $L20 = (0, import_lib2.$L)("implements"), $L21 = (0, import_lib2.$L)("<:"), $L22 = (0, import_lib2.$L)("^"), $L23 = (0, import_lib2.$L)("<?"), $L24 = (0, import_lib2.$L)("-"), $L25 = (0, import_lib2.$L)("import.meta"), $L26 = (0, import_lib2.$L)("return.value"), $L27 = (0, import_lib2.$L)("tighter"), $L28 = (0, import_lib2.$L)("looser"), $L29 = (0, import_lib2.$L)("same"), $L30 = (0, import_lib2.$L)("left"), $L31 = (0, import_lib2.$L)("right"), $L32 = (0, import_lib2.$L)("non"), $L33 = (0, import_lib2.$L)("relational"), $L34 = (0, import_lib2.$L)("arguments"), $L35 = (0, import_lib2.$L)("->"), $L36 = (0, import_lib2.$L)("\u2192"), $L37 = (0, import_lib2.$L)("}"), $L38 = (0, import_lib2.$L)("null"), $L39 = (0, import_lib2.$L)("true"), $L40 = (0, import_lib2.$L)("false"), $L41 = (0, import_lib2.$L)("yes"), $L42 = (0, import_lib2.$L)("on"), $L43 = (0, import_lib2.$L)("no"), $L44 = (0, import_lib2.$L)("off"), $L45 = (0, import_lib2.$L)(">"), $L46 = (0, import_lib2.$L)("]"), $L47 = (0, import_lib2.$L)("\u2022"), $L48 = (0, import_lib2.$L)("//"), $L49 = (0, import_lib2.$L)("**="), $L50 = (0, import_lib2.$L)("*="), $L51 = (0, import_lib2.$L)("%/"), $L52 = (0, import_lib2.$L)("\xF7"), $L53 = (0, import_lib2.$L)("%%"), $L54 = (0, import_lib2.$L)("/="), $L55 = (0, import_lib2.$L)("%="), $L56 = (0, import_lib2.$L)("+="), $L57 = (0, import_lib2.$L)("-="), $L58 = (0, import_lib2.$L)("<<="), $L59 = (0, import_lib2.$L)("\u226A="), $L60 = (0, import_lib2.$L)(">>>="), $L61 = (0, import_lib2.$L)("\u22D9="), $L62 = (0, import_lib2.$L)(">>="), $L63 = (0, import_lib2.$L)("\u226B="), $L64 = (0, import_lib2.$L)("&&="), $L65 = (0, import_lib2.$L)("&="), $L66 = (0, import_lib2.$L)("^="), $L67 = (0, import_lib2.$L)("||="), $L68 = (0, import_lib2.$L)("\u2016="), $L69 = (0, import_lib2.$L)("|="), $L70 = (0, import_lib2.$L)("??="), $L71 = (0, import_lib2.$L)("\u2047="), $L72 = (0, import_lib2.$L)("?="), $L73 = (0, import_lib2.$L)("and="), $L74 = (0, import_lib2.$L)("or="), $L75 = (0, import_lib2.$L)("*"), $L76 = (0, import_lib2.$L)("**"), $L77 = (0, import_lib2.$L)("/"), $L78 = (0, import_lib2.$L)("%"), $L79 = (0, import_lib2.$L)("+"), $L80 = (0, import_lib2.$L)("<="), $L81 = (0, import_lib2.$L)("\u2264"), $L82 = (0, import_lib2.$L)(">="), $L83 = (0, import_lib2.$L)("\u2265"), $L84 = (0, import_lib2.$L)("!<?"), $L85 = (0, import_lib2.$L)("<<"), $L86 = (0, import_lib2.$L)("\u226A"), $L87 = (0, import_lib2.$L)(">>>"), $L88 = (0, import_lib2.$L)("\u22D9"), $L89 = (0, import_lib2.$L)(">>"), $L90 = (0, import_lib2.$L)("\u226B"), $L91 = (0, import_lib2.$L)("!=="), $L92 = (0, import_lib2.$L)("\u2262"), $L93 = (0, import_lib2.$L)("!="), $L94 = (0, import_lib2.$L)("\u2260"), $L95 = (0, import_lib2.$L)("isnt"), $L96 = (0, import_lib2.$L)("==="), $L97 = (0, import_lib2.$L)("\u2263"), $L98 = (0, import_lib2.$L)("\u2A76"), $L99 = (0, import_lib2.$L)("=="), $L100 = (0, import_lib2.$L)("\u2261"), $L101 = (0, import_lib2.$L)("\u2A75"), $L102 = (0, import_lib2.$L)("and"), $L103 = (0, import_lib2.$L)("&&"), $L104 = (0, import_lib2.$L)("or"), $L105 = (0, import_lib2.$L)("||"), $L106 = (0, import_lib2.$L)("\u2016"), $L107 = (0, import_lib2.$L)("^^"), $L108 = (0, import_lib2.$L)("xor"), $L109 = (0, import_lib2.$L)("xnor"), $L110 = (0, import_lib2.$L)("??"), $L111 = (0, import_lib2.$L)("\u2047"), $L112 = (0, import_lib2.$L)("instanceof"), $L113 = (0, import_lib2.$L)("\u2208"), $L114 = (0, import_lib2.$L)("\u220B"), $L115 = (0, import_lib2.$L)("\u220C"), $L116 = (0, import_lib2.$L)("\u2209"), $L117 = (0, import_lib2.$L)("&"), $L118 = (0, import_lib2.$L)("|"), $L119 = (0, import_lib2.$L)(";"), $L120 = (0, import_lib2.$L)("some"), $L121 = (0, import_lib2.$L)("every"), $L122 = (0, import_lib2.$L)("count"), $L123 = (0, import_lib2.$L)("first"), $L124 = (0, import_lib2.$L)("sum"), $L125 = (0, import_lib2.$L)("product"), $L126 = (0, import_lib2.$L)("min"), $L127 = (0, import_lib2.$L)("max"), $L128 = (0, import_lib2.$L)("join"), $L129 = (0, import_lib2.$L)("concat"), $L130 = (0, import_lib2.$L)("break"), $L131 = (0, import_lib2.$L)("continue"), $L132 = (0, import_lib2.$L)("debugger"), $L133 = (0, import_lib2.$L)("require"), $L134 = (0, import_lib2.$L)("with"), $L135 = (0, import_lib2.$L)("assert"), $L136 = (0, import_lib2.$L)(":="), $L137 = (0, import_lib2.$L)("\u2254"), $L138 = (0, import_lib2.$L)(".="), $L139 = (0, import_lib2.$L)("::="), $L140 = (0, import_lib2.$L)("/*"), $L141 = (0, import_lib2.$L)("*/"), $L142 = (0, import_lib2.$L)("\\"), $L143 = (0, import_lib2.$L)(")"), $L144 = (0, import_lib2.$L)("abstract"), $L145 = (0, import_lib2.$L)("as"), $L146 = (0, import_lib2.$L)("@"), $L147 = (0, import_lib2.$L)("@@"), $L148 = (0, import_lib2.$L)("async"), $L149 = (0, import_lib2.$L)("await"), $L150 = (0, import_lib2.$L)("`"), $L151 = (0, import_lib2.$L)("by"), $L152 = (0, import_lib2.$L)("case"), $L153 = (0, import_lib2.$L)("catch"), $L154 = (0, import_lib2.$L)("class"), $L155 = (0, import_lib2.$L)("#{"), $L156 = (0, import_lib2.$L)("comptime"), $L157 = (0, import_lib2.$L)("declare"), $L158 = (0, import_lib2.$L)("default"), $L159 = (0, import_lib2.$L)("delete"), $L160 = (0, import_lib2.$L)("do"), $L161 = (0, import_lib2.$L)(".."), $L162 = (0, import_lib2.$L)("\u2025"), $L163 = (0, import_lib2.$L)("..."), $L164 = (0, import_lib2.$L)("\u2026"), $L165 = (0, import_lib2.$L)("::"), $L166 = (0, import_lib2.$L)('"'), $L167 = (0, import_lib2.$L)("each"), $L168 = (0, import_lib2.$L)("else"), $L169 = (0, import_lib2.$L)("!"), $L170 = (0, import_lib2.$L)("export"), $L171 = (0, import_lib2.$L)("extends"), $L172 = (0, import_lib2.$L)("finally"), $L173 = (0, import_lib2.$L)("for"), $L174 = (0, import_lib2.$L)("from"), $L175 = (0, import_lib2.$L)("function"), $L176 = (0, import_lib2.$L)("get"), $L177 = (0, import_lib2.$L)("set"), $L178 = (0, import_lib2.$L)("#"), $L179 = (0, import_lib2.$L)("if"), $L180 = (0, import_lib2.$L)("in"), $L181 = (0, import_lib2.$L)("infer"), $L182 = (0, import_lib2.$L)("let"), $L183 = (0, import_lib2.$L)("const"), $L184 = (0, import_lib2.$L)("is"), $L185 = (0, import_lib2.$L)("var"), $L186 = (0, import_lib2.$L)("like"), $L187 = (0, import_lib2.$L)("loop"), $L188 = (0, import_lib2.$L)("new"), $L189 = (0, import_lib2.$L)("not"), $L190 = (0, import_lib2.$L)("of"), $L191 = (0, import_lib2.$L)("["), $L192 = (0, import_lib2.$L)("operator"), $L193 = (0, import_lib2.$L)("override"), $L194 = (0, import_lib2.$L)("own"), $L195 = (0, import_lib2.$L)("public"), $L196 = (0, import_lib2.$L)("private"), $L197 = (0, import_lib2.$L)("protected"), $L198 = (0, import_lib2.$L)("||>"), $L199 = (0, import_lib2.$L)("|\u25B7"), $L200 = (0, import_lib2.$L)("|>="), $L201 = (0, import_lib2.$L)("\u25B7="), $L202 = (0, import_lib2.$L)("|>"), $L203 = (0, import_lib2.$L)("\u25B7"), $L204 = (0, import_lib2.$L)("readonly"), $L205 = (0, import_lib2.$L)("return"), $L206 = (0, import_lib2.$L)("satisfies"), $L207 = (0, import_lib2.$L)("'"), $L208 = (0, import_lib2.$L)("static"), $L209 = (0, import_lib2.$L)("${"), $L210 = (0, import_lib2.$L)("super"), $L211 = (0, import_lib2.$L)("switch"), $L212 = (0, import_lib2.$L)("target"), $L213 = (0, import_lib2.$L)("then"), $L214 = (0, import_lib2.$L)("this"), $L215 = (0, import_lib2.$L)("throw"), $L216 = (0, import_lib2.$L)('"""'), $L217 = (0, import_lib2.$L)("'''"), $L218 = (0, import_lib2.$L)("///"), $L219 = (0, import_lib2.$L)("```"), $L220 = (0, import_lib2.$L)("try"), $L221 = (0, import_lib2.$L)("typeof"), $L222 = (0, import_lib2.$L)("undefined"), $L223 = (0, import_lib2.$L)("unless"), $L224 = (0, import_lib2.$L)("until"), $L225 = (0, import_lib2.$L)("using"), $L226 = (0, import_lib2.$L)("void"), $L227 = (0, import_lib2.$L)("when"), $L228 = (0, import_lib2.$L)("while"), $L229 = (0, import_lib2.$L)("yield"), $L230 = (0, import_lib2.$L)("/>"), $L231 = (0, import_lib2.$L)("</"), $L232 = (0, import_lib2.$L)("<>"), $L233 = (0, import_lib2.$L)("</>"), $L234 = (0, import_lib2.$L)("<!--"), $L235 = (0, import_lib2.$L)("-->"), $L236 = (0, import_lib2.$L)("type"), $L237 = (0, import_lib2.$L)("enum"), $L238 = (0, import_lib2.$L)("interface"), $L239 = (0, import_lib2.$L)("global"), $L240 = (0, import_lib2.$L)("module"), $L241 = (0, import_lib2.$L)("namespace"), $L242 = (0, import_lib2.$L)("asserts"), $L243 = (0, import_lib2.$L)("keyof"), $L244 = (0, import_lib2.$L)("???"), $L245 = (0, import_lib2.$L)("unique"), $L246 = (0, import_lib2.$L)("symbol"), $L247 = (0, import_lib2.$L)("[]"), $L248 = (0, import_lib2.$L)("civet"), $R0 = (0, import_lib2.$R)(new RegExp("(?=async|debugger|if|unless|comptime|do|for|loop|until|while|switch|throw|try)", "suy")), $R1 = (0, import_lib2.$R)(new RegExp("&(?=\\s)", "suy")), $R2 = (0, import_lib2.$R)(new RegExp("(as|of|by|satisfies|then|when|implements|xor|xnor)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy")), $R3 = (0, import_lib2.$R)(new RegExp("[0-9]", "suy")), $R4 = (0, import_lib2.$R)(new RegExp("(?!\\p{ID_Start}|[_$0-9(\\[{])", "suy")), $R5 = (0, import_lib2.$R)(new RegExp("[ \\t]", "suy")), $R6 = (0, import_lib2.$R)(new RegExp("\\p{ID_Continue}|[\\u200C\\u200D$.#{=]", "suy")), $R7 = (0, import_lib2.$R)(new RegExp("[&=]", "suy")), $R8 = (0, import_lib2.$R)(new RegExp("(?=['\"`])", "suy")), $R9 = (0, import_lib2.$R)(new RegExp("(?=[\\/?])", "suy")), $R10 = (0, import_lib2.$R)(new RegExp("(?=[\\/\\[{?.!@#'\u2019:])", "suy")), $R11 = (0, import_lib2.$R)(new RegExp("%%?", "suy")), $R12 = (0, import_lib2.$R)(new RegExp("[.\\s]", "suy")), $R13 = (0, import_lib2.$R)(new RegExp("[)}]", "suy")), $R14 = (0, import_lib2.$R)(new RegExp("[+-]", "suy")), $R15 = (0, import_lib2.$R)(new RegExp("\\+\\+|--|\u29FA|\u2014|[\\+\\-&]\\S", "suy")), $R16 = (0, import_lib2.$R)(new RegExp(`(?=[0-9.'"tfyno])`, "suy")), $R17 = (0, import_lib2.$R)(new RegExp("(?=true|false|yes|no|on|off)", "suy")), $R18 = (0, import_lib2.$R)(new RegExp("(?=\\p{ID_Start}|[_$])", "suy")), $R19 = (0, import_lib2.$R)(new RegExp("(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$])*", "suy")), $R20 = (0, import_lib2.$R)(new RegExp("(?=\\[|\\s*[.\u2022])", "suy")), $R21 = (0, import_lib2.$R)(new RegExp("([<>])(=?)|([\u2264\u2265])", "suy")), $R22 = (0, import_lib2.$R)(new RegExp("[ \\t]*", "suy")), $R23 = (0, import_lib2.$R)(new RegExp("[ \\t]+", "suy")), $R24 = (0, import_lib2.$R)(new RegExp("[!+-]?", "suy")), $R25 = (0, import_lib2.$R)(new RegExp("(?:\\p{ID_Continue}|[\\u200C\\u200D$-])*", "suy")), $R26 = (0, import_lib2.$R)(new RegExp("[=>]", "suy")), $R27 = (0, import_lib2.$R)(new RegExp("(?=\\p{ID_Start}|[_$^\u226A\u226B\u22D9\u2264\u2265\u2208\u220B\u2209\u220C\u2263\u2261\u2262\u2260=\u2A76\u2A75\u2016\u2047&|*\\/!?%\xF7<>\u29FA+-])", "suy")), $R28 = (0, import_lib2.$R)(new RegExp("!\\^\\^?", "suy")), $R29 = (0, import_lib2.$R)(new RegExp("(?!\\+\\+|--)[!~+-](?!\\s)", "suy")), $R30 = (0, import_lib2.$R)(new RegExp("[:.]", "suy")), $R31 = (0, import_lib2.$R)(new RegExp("(?=for|if|loop|unless|until|while)", "suy")), $R32 = (0, import_lib2.$R)(new RegExp("(?:loop|while|until|for|do)(?!\\p{ID_Continue})", "suy")), $R33 = (0, import_lib2.$R)(new RegExp("(?=loop|comptime|do|for|until|while)", "suy")), $R34 = (0, import_lib2.$R)(new RegExp('[^;"\\s=>]+', "suy")), $R35 = (0, import_lib2.$R)(new RegExp("(?=[0-9.])", "suy")), $R36 = (0, import_lib2.$R)(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)n", "suy")), $R37 = (0, import_lib2.$R)(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)(?=\\.(?:\\p{ID_Start}|[_$]))", "suy")), $R38 = (0, import_lib2.$R)(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)(?:\\.(?:[0-9](?:_[0-9]|[0-9])*))?", "suy")), $R39 = (0, import_lib2.$R)(new RegExp("(?:\\.[0-9](?:_[0-9]|[0-9])*)", "suy")), $R40 = (0, import_lib2.$R)(new RegExp("(?:[eE][+-]?[0-9]+(?:_[0-9]|[0-9])*)", "suy")), $R41 = (0, import_lib2.$R)(new RegExp("0[bB][01](?:[01]|_[01])*n?", "suy")), $R42 = (0, import_lib2.$R)(new RegExp("0[oO][0-7](?:[0-7]|_[0-7])*n?", "suy")), $R43 = (0, import_lib2.$R)(new RegExp("0[xX][0-9a-fA-F](?:[0-9a-fA-F]|_[0-9a-fA-F])*n?", "suy")), $R44 = (0, import_lib2.$R)(new RegExp("(?=[0-9])", "suy")), $R45 = (0, import_lib2.$R)(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)", "suy")), $R46 = (0, import_lib2.$R)(new RegExp('(?:\\\\.|[^"])*', "suy")), $R47 = (0, import_lib2.$R)(new RegExp("(?:\\\\.|[^'])*", "suy")), $R48 = (0, import_lib2.$R)(new RegExp('(?:"(?!"")|#(?!\\{)|\\\\.|[^#"])+', "suy")), $R49 = (0, import_lib2.$R)(new RegExp('(?:"(?!"")|\\\\.|[^"])+', "suy")), $R50 = (0, import_lib2.$R)(new RegExp("(?:'(?!'')|\\\\.|[^'])*", "suy")), $R51 = (0, import_lib2.$R)(new RegExp('(?:\\\\.|#(?!\\{)|[^"#])+', "suy")), $R52 = (0, import_lib2.$R)(new RegExp("(?:\\\\.|[^\\]])*", "suy")), $R53 = (0, import_lib2.$R)(new RegExp("(?:\\\\.)", "suy")), $R54 = (0, import_lib2.$R)(new RegExp("[\\s]+", "suy")), $R55 = (0, import_lib2.$R)(new RegExp("\\/(?!\\/\\/)", "suy")), $R56 = (0, import_lib2.$R)(new RegExp("[^[\\/\\s#$\\\\]+|[#$]", "suy")), $R57 = (0, import_lib2.$R)(new RegExp("[*\\/\\r\\n]", "suy")), $R58 = (0, import_lib2.$R)(new RegExp("(?:\\\\.|[^[\\/\\r\\n])+", "suy")), $R59 = (0, import_lib2.$R)(new RegExp("(?:\\p{ID_Continue}|[\\u200C\\u200D$])*", "suy")), $R60 = (0, import_lib2.$R)(new RegExp("(?=[`'\"])", "suy")), $R61 = (0, import_lib2.$R)(new RegExp("(?:\\$(?!\\{)|\\\\.|[^$`])+", "suy")), $R62 = (0, import_lib2.$R)(new RegExp("(?:\\$(?!\\{)|`(?!``)|\\\\.|[^$`])+", "suy")), $R63 = (0, import_lib2.$R)(new RegExp("(?:on|off|yes|no)(?!\\p{ID_Continue})", "suy")), $R64 = (0, import_lib2.$R)(new RegExp("(?:isnt)(?!\\p{ID_Continue})", "suy")), $R65 = (0, import_lib2.$R)(new RegExp("(?:by)(?!\\p{ID_Continue})", "suy")), $R66 = (0, import_lib2.$R)(new RegExp("(?:of)(?!\\p{ID_Continue})", "suy")), $R67 = (0, import_lib2.$R)(new RegExp("(?:and|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|not|null|or|private|protected|public|return|static|super|switch|this|throw|true|try|typeof|unless|until|var|void|while|with|yield)(?!\\p{ID_Continue})", "suy")), $R68 = (0, import_lib2.$R)(new RegExp("(?=\\/|#)", "suy")), $R69 = (0, import_lib2.$R)(new RegExp("\\/\\/(?!\\/)[^\\r\\n]*", "suy")), $R70 = (0, import_lib2.$R)(new RegExp(".", "suy")), $R71 = (0, import_lib2.$R)(new RegExp("#(?!##(?!#))([^\\r\\n]*)", "suy")), $R72 = (0, import_lib2.$R)(new RegExp("[^]*?###", "suy")), $R73 = (0, import_lib2.$R)(new RegExp("###(?!#)", "suy")), $R74 = (0, import_lib2.$R)(new RegExp("\\/\\*(?:(?!\\*\\/)[^\\r\\n])*\\*\\/", "suy")), $R75 = (0, import_lib2.$R)(new RegExp("(?=[ \\t\\/\\\\])", "suy")), $R76 = (0, import_lib2.$R)(new RegExp("(?=\\s|\\/|#)", "suy")), $R77 = (0, import_lib2.$R)(new RegExp("(?!\\p{ID_Continue})", "suy")), $R78 = (0, import_lib2.$R)(new RegExp("[=:]", "suy")), $R79 = (0, import_lib2.$R)(new RegExp("['\u2019]s", "suy")), $R80 = (0, import_lib2.$R)(new RegExp("\\s", "suy")), $R81 = (0, import_lib2.$R)(new RegExp("(?=[<])", "suy")), $R82 = (0, import_lib2.$R)(new RegExp("(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$-])*", "suy")), $R83 = (0, import_lib2.$R)(new RegExp("[!+-]", "suy")), $R84 = (0, import_lib2.$R)(new RegExp("[\\s>]|\\/>", "suy")), $R85 = (0, import_lib2.$R)(new RegExp("(?:[\\w\\-:]+|\\([^()]*\\)|\\[[^\\[\\]]*\\])+", "suy")), $R86 = (0, import_lib2.$R)(new RegExp(`"[^"]*"|'[^']*'`, "suy")), $R87 = (0, import_lib2.$R)(new RegExp("[<>]", "suy")), $R88 = (0, import_lib2.$R)(new RegExp("[!~+-](?!\\s|[!~+-]*&)", "suy")), $R89 = (0, import_lib2.$R)(new RegExp("(?:-[^-]|[^-]*)*", "suy")), $R90 = (0, import_lib2.$R)(new RegExp("[^{}<>\\r\\n]+", "suy")), $R91 = (0, import_lib2.$R)(new RegExp("[+-]?", "suy")), $R92 = (0, import_lib2.$R)(new RegExp("(?=if|unless)", "suy")), $R93 = (0, import_lib2.$R)(new RegExp("[|&<!=\\-\u21D2\u2192]", "suy")), $R94 = (0, import_lib2.$R)(new RegExp("(extends|not|is)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy")), $R95 = (0, import_lib2.$R)(new RegExp("const|in|out", "suy")), $R96 = (0, import_lib2.$R)(new RegExp("#![^\\r\\n]*", "suy")), $R97 = (0, import_lib2.$R)(new RegExp("[\\t ]*", "suy")), $R98 = (0, import_lib2.$R)(new RegExp("[\\s]*", "suy")), $R99 = (0, import_lib2.$R)(new RegExp("\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([\\p{ID_Continue}.,+-]*))?", "suy")), $R100 = (0, import_lib2.$R)(new RegExp("\\/\\/\\/[^\\r\\n]*", "suy")), $R101 = (0, import_lib2.$R)(new RegExp("(?=[ \\t\\r\\n\\/#]|$)", "suy")), $R102 = (0, import_lib2.$R)(new RegExp("\\r\\n|\\n|\\r|$", "suy")), $R103 = (0, import_lib2.$R)(new RegExp("[^]*", "suy")), Program$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(Reset, Init, (0, import_lib2.$E)(EOS), TopLevelStatements, __), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
7059
7206
  var reset = $1, init = $2, ws1 = $3, statements = $4, ws2 = $5;
7060
7207
  let program = {
7061
7208
  type: "BlockStatement",
7062
7209
  expressions: statements,
7063
7210
  children: [reset, init, ws1, statements, ws2],
7064
7211
  bare: !0,
7065
- root: !0,
7066
- topLevelAwait: hasAwait(statements)
7212
+ root: !0
7067
7213
  };
7068
7214
  return processProgram(program), program;
7069
7215
  });
@@ -7167,6 +7313,51 @@ ${js}`
7167
7313
  function CommaExpression(ctx, state2) {
7168
7314
  return (0, import_lib2.$EVENT)(ctx, state2, "CommaExpression", CommaExpression$0);
7169
7315
  }
7316
+ var CommaExpressionSpread$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$E)(_), DotDotDot, (0, import_lib2.$E)(_), IterationActualStatement), function($skip, $loc, $0, $1, $2, $3, $4) {
7317
+ var ws = $1, ws2 = $3, iteration = $4;
7318
+ return iteration.subtype === "do" || iteration.subtype === "comptime" ? $skip : (ws2 && (ws ? ws = [ws, ws2] : ws = ws2), iteration = { ...iteration, resultsParent: !0 }, prepend(ws, iteration));
7319
+ }), CommaExpressionSpread$1 = (0, import_lib2.$TS)((0, import_lib2.$S)(AssignmentExpressionSpread, (0, import_lib2.$Q)((0, import_lib2.$S)(CommaDelimiter, AssignmentExpressionSpread))), function($skip, $loc, $0, $1, $2) {
7320
+ return $2.length == 0 ? $1 : $0;
7321
+ }), CommaExpressionSpread$$ = [CommaExpressionSpread$0, CommaExpressionSpread$1];
7322
+ function CommaExpressionSpread(ctx, state2) {
7323
+ return (0, import_lib2.$EVENT_C)(ctx, state2, "CommaExpressionSpread", CommaExpressionSpread$$);
7324
+ }
7325
+ var AssignmentExpressionSpread$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$E)(_), DotDotDot, AssignmentExpression), function($skip, $loc, $0, $1, $2, $3) {
7326
+ var expression = $3;
7327
+ return {
7328
+ type: "SpreadElement",
7329
+ children: $0,
7330
+ expression,
7331
+ names: expression.names
7332
+ };
7333
+ }), AssignmentExpressionSpread$1 = (0, import_lib2.$TS)((0, import_lib2.$S)(AssignmentExpression, (0, import_lib2.$E)((0, import_lib2.$S)((0, import_lib2.$E)(_), DotDotDot))), function($skip, $loc, $0, $1, $2) {
7334
+ var expression = $1;
7335
+ return $2 ? {
7336
+ type: "SpreadElement",
7337
+ children: [...$2, $1],
7338
+ expression,
7339
+ names: expression.names
7340
+ } : $1;
7341
+ }), AssignmentExpressionSpread$2 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$E)(_), DotDotDot, AssignmentExpression), function($skip, $loc, $0, $1, $2, $3) {
7342
+ var expression = $3;
7343
+ return {
7344
+ type: "SpreadElement",
7345
+ children: $0,
7346
+ expression,
7347
+ names: expression.names
7348
+ };
7349
+ }), AssignmentExpressionSpread$3 = (0, import_lib2.$TS)((0, import_lib2.$S)(AssignmentExpression, (0, import_lib2.$E)((0, import_lib2.$S)((0, import_lib2.$E)(_), DotDotDot))), function($skip, $loc, $0, $1, $2) {
7350
+ var expression = $1;
7351
+ return $2 ? {
7352
+ type: "SpreadElement",
7353
+ children: [...$2, $1],
7354
+ expression,
7355
+ names: expression.names
7356
+ } : $1;
7357
+ }), AssignmentExpressionSpread$$ = [AssignmentExpressionSpread$0, AssignmentExpressionSpread$1, AssignmentExpressionSpread$2, AssignmentExpressionSpread$3];
7358
+ function AssignmentExpressionSpread(ctx, state2) {
7359
+ return (0, import_lib2.$EVENT_C)(ctx, state2, "AssignmentExpressionSpread", AssignmentExpressionSpread$$);
7360
+ }
7170
7361
  var Arguments$0 = ExplicitArguments, Arguments$1 = (0, import_lib2.$TS)((0, import_lib2.$S)(ForbidTrailingMemberProperty, (0, import_lib2.$E)(ImplicitArguments), RestoreTrailingMemberProperty), function($skip, $loc, $0, $1, $2, $3) {
7171
7362
  var args = $2;
7172
7363
  return args || $skip;
@@ -8825,30 +9016,26 @@ ${js}`
8825
9016
  function NestedBindingPropertyList(ctx, state2) {
8826
9017
  return (0, import_lib2.$EVENT)(ctx, state2, "NestedBindingPropertyList", NestedBindingPropertyList$0);
8827
9018
  }
8828
- var BindingProperty$0 = BindingRestProperty, BindingProperty$1 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$E)(_), PropertyName, (0, import_lib2.$E)(_), Colon, (0, import_lib2.$E)(_), (0, import_lib2.$C)(BindingIdentifier, BindingPattern), (0, import_lib2.$E)(BindingTypeSuffix), (0, import_lib2.$E)(Initializer)), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8) {
8829
- var name = $2, value = $6, typeSuffix = $7, initializer = $8;
9019
+ var BindingProperty$0 = BindingRestProperty, BindingProperty$1 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$E)(_), PropertyName, (0, import_lib2.$E)(Caret), (0, import_lib2.$E)(_), Colon, (0, import_lib2.$E)(_), (0, import_lib2.$C)(BindingIdentifier, BindingPattern), (0, import_lib2.$E)(BindingTypeSuffix), (0, import_lib2.$E)(Initializer)), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
9020
+ var ws1 = $1, name = $2, bind = $3, ws2 = $4, colon = $5, ws3 = $6, value = $7, typeSuffix = $8, initializer = $9;
8830
9021
  return {
8831
9022
  type: "BindingProperty",
8832
- children: [$1, name, $3, $4, $5, value, initializer],
9023
+ children: [ws1, name, ws2, colon, ws3, value, initializer],
8833
9024
  // omit typeSuffix
8834
9025
  name,
8835
9026
  value,
8836
9027
  typeSuffix,
8837
9028
  initializer,
8838
- names: value.names
9029
+ names: value.names,
9030
+ bind: !!bind
8839
9031
  };
8840
- }), BindingProperty$2 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$E)(_), (0, import_lib2.$E)(Caret), BindingIdentifier, (0, import_lib2.$E)(BindingTypeSuffix), (0, import_lib2.$E)(Initializer)), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
9032
+ }), BindingProperty$2 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$E)(_), Caret, BindingIdentifier, (0, import_lib2.$E)(BindingTypeSuffix), (0, import_lib2.$E)(Initializer)), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
8841
9033
  var ws = $1, pin = $2, binding = $3, typeSuffix = $4, initializer = $5;
8842
- let children = [ws, binding, initializer];
8843
- return binding.type === "AtBinding" ? {
8844
- type: "AtBindingProperty",
8845
- children,
8846
- binding,
8847
- typeSuffix,
8848
- ref: binding.ref,
8849
- initializer,
8850
- names: []
8851
- } : pin ? (children = [ws, binding], typeSuffix && children.push({
9034
+ let children = [ws, binding];
9035
+ return binding.type === "AtBinding" && children.push({
9036
+ type: "Error",
9037
+ message: "Pinned properties do not yet work with @binding"
9038
+ }), typeSuffix && children.push({
8852
9039
  type: "Error",
8853
9040
  message: "Pinned properties cannot have type annotations"
8854
9041
  }), initializer && children.push({
@@ -8863,7 +9050,19 @@ ${js}`
8863
9050
  children: [binding],
8864
9051
  expression: binding
8865
9052
  }
8866
- }) : {
9053
+ };
9054
+ }), BindingProperty$3 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$E)(_), BindingIdentifier, (0, import_lib2.$E)(Caret), (0, import_lib2.$E)(BindingTypeSuffix), (0, import_lib2.$E)(Initializer)), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
9055
+ var ws = $1, binding = $2, bind = $3, typeSuffix = $4, initializer = $5;
9056
+ let children = [ws, binding, initializer];
9057
+ return binding.type === "AtBinding" ? {
9058
+ type: "AtBindingProperty",
9059
+ children,
9060
+ binding,
9061
+ typeSuffix,
9062
+ ref: binding.ref,
9063
+ initializer,
9064
+ names: []
9065
+ } : {
8867
9066
  type: "BindingProperty",
8868
9067
  children,
8869
9068
  name: binding,
@@ -8871,9 +9070,10 @@ ${js}`
8871
9070
  typeSuffix,
8872
9071
  initializer,
8873
9072
  names: binding.names,
8874
- identifier: binding
9073
+ identifier: binding,
9074
+ bind: !!bind
8875
9075
  };
8876
- }), BindingProperty$$ = [BindingProperty$0, BindingProperty$1, BindingProperty$2];
9076
+ }), BindingProperty$$ = [BindingProperty$0, BindingProperty$1, BindingProperty$2, BindingProperty$3];
8877
9077
  function BindingProperty(ctx, state2) {
8878
9078
  return (0, import_lib2.$EVENT_C)(ctx, state2, "BindingProperty", BindingProperty$$);
8879
9079
  }
@@ -9305,12 +9505,18 @@ ${js}`
9305
9505
  function BareBlock(ctx, state2) {
9306
9506
  return (0, import_lib2.$EVENT_C)(ctx, state2, "BareBlock", BareBlock$$);
9307
9507
  }
9308
- var ThenClause$0 = (0, import_lib2.$T)((0, import_lib2.$S)(Then, SingleLineStatements), function(value) {
9508
+ var ThenClause$0 = (0, import_lib2.$T)((0, import_lib2.$S)(Then, ThenBlock), function(value) {
9309
9509
  return value[1];
9310
9510
  });
9311
9511
  function ThenClause(ctx, state2) {
9312
9512
  return (0, import_lib2.$EVENT)(ctx, state2, "ThenClause", ThenClause$0);
9313
9513
  }
9514
+ var ThenBlock$0 = (0, import_lib2.$T)((0, import_lib2.$S)(NoBlock, EmptyBlock), function(value) {
9515
+ return value[1];
9516
+ }), ThenBlock$1 = ImplicitNestedBlock, ThenBlock$2 = SingleLineStatements, ThenBlock$$ = [ThenBlock$0, ThenBlock$1, ThenBlock$2];
9517
+ function ThenBlock(ctx, state2) {
9518
+ return (0, import_lib2.$EVENT_C)(ctx, state2, "ThenBlock", ThenBlock$$);
9519
+ }
9314
9520
  var BracedThenClause$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$Y)(Then), InsertOpenBrace, ThenClause, InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3, $4) {
9315
9521
  var open = $2, exp = $3, close = $4;
9316
9522
  let expressions = [exp];
@@ -10837,9 +11043,7 @@ ${js}`
10837
11043
  }
10838
11044
  var Statement$0 = KeywordStatement, Statement$1 = VariableStatement, Statement$2 = (0, import_lib2.$T)((0, import_lib2.$S)(IfStatement, (0, import_lib2.$N)(ShouldExpressionize)), function(value) {
10839
11045
  return value[0];
10840
- }), Statement$3 = (0, import_lib2.$TS)((0, import_lib2.$S)(IterationStatement, (0, import_lib2.$N)(ShouldExpressionize)), function($skip, $loc, $0, $1, $2) {
10841
- return $1.generator || $1.reduction ? $skip : $1;
10842
- }), Statement$4 = (0, import_lib2.$T)((0, import_lib2.$S)(SwitchStatement, (0, import_lib2.$N)(ShouldExpressionize)), function(value) {
11046
+ }), Statement$3 = IterationActualStatement, Statement$4 = (0, import_lib2.$T)((0, import_lib2.$S)(SwitchStatement, (0, import_lib2.$N)(ShouldExpressionize)), function(value) {
10843
11047
  return value[0];
10844
11048
  }), Statement$5 = (0, import_lib2.$T)((0, import_lib2.$S)(TryStatement, (0, import_lib2.$N)(ShouldExpressionize)), function(value) {
10845
11049
  return value[0];
@@ -10847,6 +11051,12 @@ ${js}`
10847
11051
  function Statement(ctx, state2) {
10848
11052
  return (0, import_lib2.$EVENT_C)(ctx, state2, "Statement", Statement$$);
10849
11053
  }
11054
+ var IterationActualStatement$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(IterationStatement, (0, import_lib2.$N)(ShouldExpressionize)), function($skip, $loc, $0, $1, $2) {
11055
+ return $1.generator || $1.reduction ? $skip : $1;
11056
+ });
11057
+ function IterationActualStatement(ctx, state2) {
11058
+ return (0, import_lib2.$EVENT)(ctx, state2, "IterationActualStatement", IterationActualStatement$0);
11059
+ }
10850
11060
  var ShouldExpressionize$0 = AllowedTrailingCallExpressions, ShouldExpressionize$1 = (0, import_lib2.$S)(NotDedented, Pipe), ShouldExpressionize$2 = BinaryOpRHS, ShouldExpressionize$3 = UnaryPostfix, ShouldExpressionize$$ = [ShouldExpressionize$0, ShouldExpressionize$1, ShouldExpressionize$2, ShouldExpressionize$3];
10851
11061
  function ShouldExpressionize(ctx, state2) {
10852
11062
  return (0, import_lib2.$EVENT_C)(ctx, state2, "ShouldExpressionize", ShouldExpressionize$$);
@@ -10926,8 +11136,8 @@ ${js}`
10926
11136
  function LabelledItem(ctx, state2) {
10927
11137
  return (0, import_lib2.$EVENT_C)(ctx, state2, "LabelledItem", LabelledItem$$);
10928
11138
  }
10929
- var IfStatement$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$C)(If, Unless), (0, import_lib2.$E)(_), BoundedCondition, Then, BlockOrEmpty, (0, import_lib2.$E)(ElseClause)), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
10930
- var kind = $1, ws = $2, condition = $3, block = $5, e = $6;
11139
+ var IfStatement$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$C)(If, Unless), (0, import_lib2.$E)(_), BoundedCondition, ThenClause, (0, import_lib2.$E)(ElseClause)), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
11140
+ var kind = $1, ws = $2, condition = $3, block = $4, e = $5;
10931
11141
  if (kind.negated && (kind = { ...kind, token: "if" }, condition = negateCondition(condition)), block.bare && e) {
10932
11142
  let semicolon = ";";
10933
11143
  block = {
@@ -11124,15 +11334,15 @@ ${js}`
11124
11334
  }
11125
11335
  var ForClause$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(For, (0, import_lib2.$E)((0, import_lib2.$S)((0, import_lib2.$E)(_), Star)), __, ForStatementControlWithWhen), function($skip, $loc, $0, $1, $2, $3, $4) {
11126
11336
  var generator = $2, c = $4;
11127
- let { children, declaration } = c;
11128
- return {
11337
+ let { children, reduction } = c;
11338
+ return generator && reduction && (children = [{
11339
+ type: "Error",
11340
+ message: `Cannot use reduction (${reduction.subtype}) with generators`
11341
+ }, ...children]), {
11342
+ ...c,
11129
11343
  type: "ForStatement",
11130
11344
  children: [$1, ...$3, ...children],
11131
- declaration,
11132
11345
  block: null,
11133
- blockPrefix: c.blockPrefix,
11134
- hoistDec: c.hoistDec,
11135
- reduction: c.reduction,
11136
11346
  generator
11137
11347
  };
11138
11348
  });
@@ -11173,7 +11383,7 @@ ${js}`
11173
11383
  function ForStatementControlWithReduction(ctx, state2) {
11174
11384
  return (0, import_lib2.$EVENT_C)(ctx, state2, "ForStatementControlWithReduction", ForStatementControlWithReduction$$);
11175
11385
  }
11176
- var ForReduction$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$C)((0, import_lib2.$EXPECT)($L120, 'ForReduction "some"'), (0, import_lib2.$EXPECT)($L121, 'ForReduction "every"'), (0, import_lib2.$EXPECT)($L122, 'ForReduction "count"'), (0, import_lib2.$EXPECT)($L123, 'ForReduction "sum"'), (0, import_lib2.$EXPECT)($L124, 'ForReduction "product"'), (0, import_lib2.$EXPECT)($L125, 'ForReduction "min"'), (0, import_lib2.$EXPECT)($L126, 'ForReduction "max"'), (0, import_lib2.$EXPECT)($L127, 'ForReduction "join"')), NonIdContinue, __), function($skip, $loc, $0, $1, $2, $3) {
11386
+ var ForReduction$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$C)((0, import_lib2.$EXPECT)($L120, 'ForReduction "some"'), (0, import_lib2.$EXPECT)($L121, 'ForReduction "every"'), (0, import_lib2.$EXPECT)($L122, 'ForReduction "count"'), (0, import_lib2.$EXPECT)($L123, 'ForReduction "first"'), (0, import_lib2.$EXPECT)($L124, 'ForReduction "sum"'), (0, import_lib2.$EXPECT)($L125, 'ForReduction "product"'), (0, import_lib2.$EXPECT)($L126, 'ForReduction "min"'), (0, import_lib2.$EXPECT)($L127, 'ForReduction "max"'), (0, import_lib2.$EXPECT)($L128, 'ForReduction "join"'), (0, import_lib2.$EXPECT)($L129, 'ForReduction "concat"')), NonIdContinue, __), function($skip, $loc, $0, $1, $2, $3) {
11177
11387
  var subtype = $1, ws = $3;
11178
11388
  return {
11179
11389
  type: "ForReduction",
@@ -11855,7 +12065,7 @@ ${js}`
11855
12065
  function RestoreAll(ctx, state2) {
11856
12066
  return (0, import_lib2.$EVENT)(ctx, state2, "RestoreAll", RestoreAll$0);
11857
12067
  }
11858
- var CommaExpressionStatement$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(CommaExpression), function($skip, $loc, $0, $1) {
12068
+ var CommaExpressionStatement$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(CommaExpressionSpread), function($skip, $loc, $0, $1) {
11859
12069
  return makeExpressionStatement($1);
11860
12070
  });
11861
12071
  function CommaExpressionStatement(ctx, state2) {
@@ -11916,19 +12126,19 @@ ${js}`
11916
12126
  function ThrowStatement(ctx, state2) {
11917
12127
  return (0, import_lib2.$EVENT)(ctx, state2, "ThrowStatement", ThrowStatement$0);
11918
12128
  }
11919
- var Break$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L128, 'Break "break"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12129
+ var Break$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L130, 'Break "break"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11920
12130
  return { $loc, token: $1 };
11921
12131
  });
11922
12132
  function Break(ctx, state2) {
11923
12133
  return (0, import_lib2.$EVENT)(ctx, state2, "Break", Break$0);
11924
12134
  }
11925
- var Continue$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L129, 'Continue "continue"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12135
+ var Continue$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L131, 'Continue "continue"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11926
12136
  return { $loc, token: $1 };
11927
12137
  });
11928
12138
  function Continue(ctx, state2) {
11929
12139
  return (0, import_lib2.$EVENT)(ctx, state2, "Continue", Continue$0);
11930
12140
  }
11931
- var Debugger$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L130, 'Debugger "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12141
+ var Debugger$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L132, 'Debugger "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11932
12142
  return { $loc, token: $1 };
11933
12143
  });
11934
12144
  function Debugger(ctx, state2) {
@@ -11975,7 +12185,7 @@ ${js}`
11975
12185
  function MaybeParenNestedExpression(ctx, state2) {
11976
12186
  return (0, import_lib2.$EVENT_C)(ctx, state2, "MaybeParenNestedExpression", MaybeParenNestedExpression$$);
11977
12187
  }
11978
- var ImportDeclaration$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(Import, _, Identifier, (0, import_lib2.$E)(_), Equals, __, (0, import_lib2.$EXPECT)($L131, 'ImportDeclaration "require"'), NonIdContinue, Arguments), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
12188
+ var ImportDeclaration$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(Import, _, Identifier, (0, import_lib2.$E)(_), Equals, __, (0, import_lib2.$EXPECT)($L133, 'ImportDeclaration "require"'), NonIdContinue, Arguments), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
11979
12189
  return {
11980
12190
  type: "ImportDeclaration",
11981
12191
  children: [[
@@ -12119,7 +12329,7 @@ ${js}`
12119
12329
  function ImpliedFrom(ctx, state2) {
12120
12330
  return (0, import_lib2.$EVENT)(ctx, state2, "ImpliedFrom", ImpliedFrom$0);
12121
12331
  }
12122
- var ImportAssertion$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$E)(_), (0, import_lib2.$C)((0, import_lib2.$EXPECT)($L132, 'ImportAssertion "with"'), (0, import_lib2.$EXPECT)($L133, 'ImportAssertion "assert"')), NonIdContinue, (0, import_lib2.$E)(_), ObjectLiteral), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12332
+ var ImportAssertion$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$E)(_), (0, import_lib2.$C)((0, import_lib2.$EXPECT)($L134, 'ImportAssertion "with"'), (0, import_lib2.$EXPECT)($L135, 'ImportAssertion "assert"')), NonIdContinue, (0, import_lib2.$E)(_), ObjectLiteral), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12123
12333
  var keyword = $2, object = $5;
12124
12334
  return {
12125
12335
  type: "ImportAssertion",
@@ -12363,19 +12573,19 @@ ${js}`
12363
12573
  function LexicalDeclaration(ctx, state2) {
12364
12574
  return (0, import_lib2.$EVENT_C)(ctx, state2, "LexicalDeclaration", LexicalDeclaration$$);
12365
12575
  }
12366
- var ConstAssignment$0 = (0, import_lib2.$TV)((0, import_lib2.$C)((0, import_lib2.$EXPECT)($L134, 'ConstAssignment ":="'), (0, import_lib2.$EXPECT)($L135, 'ConstAssignment "\u2254"')), function($skip, $loc, $0, $1) {
12576
+ var ConstAssignment$0 = (0, import_lib2.$TV)((0, import_lib2.$C)((0, import_lib2.$EXPECT)($L136, 'ConstAssignment ":="'), (0, import_lib2.$EXPECT)($L137, 'ConstAssignment "\u2254"')), function($skip, $loc, $0, $1) {
12367
12577
  return { $loc, token: "=", decl: "const " };
12368
12578
  });
12369
12579
  function ConstAssignment(ctx, state2) {
12370
12580
  return (0, import_lib2.$EVENT)(ctx, state2, "ConstAssignment", ConstAssignment$0);
12371
12581
  }
12372
- var LetAssignment$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L136, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
12582
+ var LetAssignment$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L138, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
12373
12583
  return { $loc, token: "=", decl: "let " };
12374
12584
  });
12375
12585
  function LetAssignment(ctx, state2) {
12376
12586
  return (0, import_lib2.$EVENT)(ctx, state2, "LetAssignment", LetAssignment$0);
12377
12587
  }
12378
- var TypeAssignment$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L137, 'TypeAssignment "::="'), function($skip, $loc, $0, $1) {
12588
+ var TypeAssignment$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L139, 'TypeAssignment "::="'), function($skip, $loc, $0, $1) {
12379
12589
  return { $loc, token: "=" };
12380
12590
  });
12381
12591
  function TypeAssignment(ctx, state2) {
@@ -12751,7 +12961,7 @@ ${js}`
12751
12961
  function MultiLineComment(ctx, state2) {
12752
12962
  return (0, import_lib2.$EVENT_C)(ctx, state2, "MultiLineComment", MultiLineComment$$);
12753
12963
  }
12754
- var JSMultiLineComment$0 = (0, import_lib2.$TV)((0, import_lib2.$TEXT)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L138, 'JSMultiLineComment "/*"'), (0, import_lib2.$Q)((0, import_lib2.$S)((0, import_lib2.$N)((0, import_lib2.$EXPECT)($L139, 'JSMultiLineComment "*/"')), (0, import_lib2.$EXPECT)($R70, "JSMultiLineComment /./"))), (0, import_lib2.$EXPECT)($L139, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
12964
+ var JSMultiLineComment$0 = (0, import_lib2.$TV)((0, import_lib2.$TEXT)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L140, 'JSMultiLineComment "/*"'), (0, import_lib2.$Q)((0, import_lib2.$S)((0, import_lib2.$N)((0, import_lib2.$EXPECT)($L141, 'JSMultiLineComment "*/"')), (0, import_lib2.$EXPECT)($R70, "JSMultiLineComment /./"))), (0, import_lib2.$EXPECT)($L141, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
12755
12965
  return { type: "Comment", $loc, token: $1 };
12756
12966
  });
12757
12967
  function JSMultiLineComment(ctx, state2) {
@@ -12795,7 +13005,7 @@ ${js}`
12795
13005
  }
12796
13006
  var NonNewlineWhitespace$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R23, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
12797
13007
  return { $loc, token: $0 };
12798
- }), NonNewlineWhitespace$1 = (0, import_lib2.$T)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L140, 'NonNewlineWhitespace "\\\\\\\\"'), CoffeeLineContinuationEnabled, EOL), function(value) {
13008
+ }), NonNewlineWhitespace$1 = (0, import_lib2.$T)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L142, 'NonNewlineWhitespace "\\\\\\\\"'), CoffeeLineContinuationEnabled, EOL), function(value) {
12799
13009
  return " ";
12800
13010
  }), NonNewlineWhitespace$$ = [NonNewlineWhitespace$0, NonNewlineWhitespace$1];
12801
13011
  function NonNewlineWhitespace(ctx, state2) {
@@ -12836,7 +13046,7 @@ ${js}`
12836
13046
  function StatementDelimiter(ctx, state2) {
12837
13047
  return (0, import_lib2.$EVENT_C)(ctx, state2, "StatementDelimiter", StatementDelimiter$$);
12838
13048
  }
12839
- var ClosingDelimiter$0 = (0, import_lib2.$Y)((0, import_lib2.$S)(__, (0, import_lib2.$C)((0, import_lib2.$EXPECT)($L37, 'ClosingDelimiter "}"'), (0, import_lib2.$EXPECT)($L141, 'ClosingDelimiter ")"'), (0, import_lib2.$EXPECT)($L46, 'ClosingDelimiter "]"'))));
13049
+ var ClosingDelimiter$0 = (0, import_lib2.$Y)((0, import_lib2.$S)(__, (0, import_lib2.$C)((0, import_lib2.$EXPECT)($L37, 'ClosingDelimiter "}"'), (0, import_lib2.$EXPECT)($L143, 'ClosingDelimiter ")"'), (0, import_lib2.$EXPECT)($L46, 'ClosingDelimiter "]"'))));
12840
13050
  function ClosingDelimiter(ctx, state2) {
12841
13051
  return (0, import_lib2.$EVENT)(ctx, state2, "ClosingDelimiter", ClosingDelimiter$0);
12842
13052
  }
@@ -12859,7 +13069,7 @@ ${js}`
12859
13069
  function Loc(ctx, state2) {
12860
13070
  return (0, import_lib2.$EVENT)(ctx, state2, "Loc", Loc$0);
12861
13071
  }
12862
- var Abstract$0 = (0, import_lib2.$TV)((0, import_lib2.$TEXT)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L142, 'Abstract "abstract"'), NonIdContinue, (0, import_lib2.$E)((0, import_lib2.$EXPECT)($L18, 'Abstract " "')))), function($skip, $loc, $0, $1) {
13072
+ var Abstract$0 = (0, import_lib2.$TV)((0, import_lib2.$TEXT)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L144, 'Abstract "abstract"'), NonIdContinue, (0, import_lib2.$E)((0, import_lib2.$EXPECT)($L18, 'Abstract " "')))), function($skip, $loc, $0, $1) {
12863
13073
  return { $loc, token: $1, ts: !0 };
12864
13074
  });
12865
13075
  function Abstract(ctx, state2) {
@@ -12871,43 +13081,43 @@ ${js}`
12871
13081
  function Ampersand(ctx, state2) {
12872
13082
  return (0, import_lib2.$EVENT)(ctx, state2, "Ampersand", Ampersand$0);
12873
13083
  }
12874
- var As$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L143, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13084
+ var As$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L145, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12875
13085
  return { $loc, token: $1 };
12876
13086
  });
12877
13087
  function As(ctx, state2) {
12878
13088
  return (0, import_lib2.$EVENT)(ctx, state2, "As", As$0);
12879
13089
  }
12880
- var At$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L144, 'At "@"'), function($skip, $loc, $0, $1) {
13090
+ var At$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L146, 'At "@"'), function($skip, $loc, $0, $1) {
12881
13091
  return { $loc, token: $1 };
12882
13092
  });
12883
13093
  function At(ctx, state2) {
12884
13094
  return (0, import_lib2.$EVENT)(ctx, state2, "At", At$0);
12885
13095
  }
12886
- var AtAt$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L145, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
13096
+ var AtAt$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L147, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
12887
13097
  return { $loc, token: "@" };
12888
13098
  });
12889
13099
  function AtAt(ctx, state2) {
12890
13100
  return (0, import_lib2.$EVENT)(ctx, state2, "AtAt", AtAt$0);
12891
13101
  }
12892
- var Async$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L146, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13102
+ var Async$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L148, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12893
13103
  return { $loc, token: $1, type: "Async" };
12894
13104
  });
12895
13105
  function Async(ctx, state2) {
12896
13106
  return (0, import_lib2.$EVENT)(ctx, state2, "Async", Async$0);
12897
13107
  }
12898
- var Await$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L147, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13108
+ var Await$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L149, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12899
13109
  return { $loc, token: $1, type: "Await" };
12900
13110
  });
12901
13111
  function Await(ctx, state2) {
12902
13112
  return (0, import_lib2.$EVENT)(ctx, state2, "Await", Await$0);
12903
13113
  }
12904
- var Backtick$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L148, 'Backtick "`"'), function($skip, $loc, $0, $1) {
13114
+ var Backtick$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L150, 'Backtick "`"'), function($skip, $loc, $0, $1) {
12905
13115
  return { $loc, token: $1 };
12906
13116
  });
12907
13117
  function Backtick(ctx, state2) {
12908
13118
  return (0, import_lib2.$EVENT)(ctx, state2, "Backtick", Backtick$0);
12909
13119
  }
12910
- var By$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L149, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13120
+ var By$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L151, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12911
13121
  return { $loc, token: $1 };
12912
13122
  });
12913
13123
  function By(ctx, state2) {
@@ -12919,19 +13129,19 @@ ${js}`
12919
13129
  function Caret(ctx, state2) {
12920
13130
  return (0, import_lib2.$EVENT)(ctx, state2, "Caret", Caret$0);
12921
13131
  }
12922
- var Case$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L150, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13132
+ var Case$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L152, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12923
13133
  return { $loc, token: $1 };
12924
13134
  });
12925
13135
  function Case(ctx, state2) {
12926
13136
  return (0, import_lib2.$EVENT)(ctx, state2, "Case", Case$0);
12927
13137
  }
12928
- var Catch$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L151, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13138
+ var Catch$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L153, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12929
13139
  return { $loc, token: $1 };
12930
13140
  });
12931
13141
  function Catch(ctx, state2) {
12932
13142
  return (0, import_lib2.$EVENT)(ctx, state2, "Catch", Catch$0);
12933
13143
  }
12934
- var Class$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L152, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13144
+ var Class$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L154, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12935
13145
  return { $loc, token: $1 };
12936
13146
  });
12937
13147
  function Class(ctx, state2) {
@@ -12955,13 +13165,13 @@ ${js}`
12955
13165
  function CloseBracket(ctx, state2) {
12956
13166
  return (0, import_lib2.$EVENT)(ctx, state2, "CloseBracket", CloseBracket$0);
12957
13167
  }
12958
- var CloseParen$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L141, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
13168
+ var CloseParen$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L143, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
12959
13169
  return { $loc, token: $1 };
12960
13170
  });
12961
13171
  function CloseParen(ctx, state2) {
12962
13172
  return (0, import_lib2.$EVENT)(ctx, state2, "CloseParen", CloseParen$0);
12963
13173
  }
12964
- var CoffeeSubstitutionStart$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L153, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
13174
+ var CoffeeSubstitutionStart$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L155, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
12965
13175
  return { $loc, token: "${" };
12966
13176
  });
12967
13177
  function CoffeeSubstitutionStart(ctx, state2) {
@@ -12979,37 +13189,37 @@ ${js}`
12979
13189
  function Comma(ctx, state2) {
12980
13190
  return (0, import_lib2.$EVENT)(ctx, state2, "Comma", Comma$0);
12981
13191
  }
12982
- var Comptime$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L154, 'Comptime "comptime"'), NonIdContinue, (0, import_lib2.$N)((0, import_lib2.$EXPECT)($L16, 'Comptime ":"'))), function($skip, $loc, $0, $1, $2, $3) {
13192
+ var Comptime$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L156, 'Comptime "comptime"'), NonIdContinue, (0, import_lib2.$N)((0, import_lib2.$EXPECT)($L16, 'Comptime ":"'))), function($skip, $loc, $0, $1, $2, $3) {
12983
13193
  return { $loc, token: $1 };
12984
13194
  });
12985
13195
  function Comptime(ctx, state2) {
12986
13196
  return (0, import_lib2.$EVENT)(ctx, state2, "Comptime", Comptime$0);
12987
13197
  }
12988
- var ConstructorShorthand$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L144, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
13198
+ var ConstructorShorthand$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L146, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
12989
13199
  return { $loc, token: "constructor" };
12990
13200
  });
12991
13201
  function ConstructorShorthand(ctx, state2) {
12992
13202
  return (0, import_lib2.$EVENT)(ctx, state2, "ConstructorShorthand", ConstructorShorthand$0);
12993
13203
  }
12994
- var Declare$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L155, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13204
+ var Declare$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L157, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12995
13205
  return { $loc, token: $1 };
12996
13206
  });
12997
13207
  function Declare(ctx, state2) {
12998
13208
  return (0, import_lib2.$EVENT)(ctx, state2, "Declare", Declare$0);
12999
13209
  }
13000
- var Default$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L156, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13210
+ var Default$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L158, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13001
13211
  return { $loc, token: $1 };
13002
13212
  });
13003
13213
  function Default(ctx, state2) {
13004
13214
  return (0, import_lib2.$EVENT)(ctx, state2, "Default", Default$0);
13005
13215
  }
13006
- var Delete$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L157, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13216
+ var Delete$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L159, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13007
13217
  return { $loc, token: $1 };
13008
13218
  });
13009
13219
  function Delete(ctx, state2) {
13010
13220
  return (0, import_lib2.$EVENT)(ctx, state2, "Delete", Delete$0);
13011
13221
  }
13012
- var Do$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L158, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13222
+ var Do$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L160, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13013
13223
  return { $loc, token: $1 };
13014
13224
  });
13015
13225
  function Do(ctx, state2) {
@@ -13027,17 +13237,17 @@ ${js}`
13027
13237
  function Dot(ctx, state2) {
13028
13238
  return (0, import_lib2.$EVENT_C)(ctx, state2, "Dot", Dot$$);
13029
13239
  }
13030
- var DotDot$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L159, 'DotDot ".."'), (0, import_lib2.$N)((0, import_lib2.$EXPECT)($L7, 'DotDot "."'))), function($skip, $loc, $0, $1, $2) {
13240
+ var DotDot$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L161, 'DotDot ".."'), (0, import_lib2.$N)((0, import_lib2.$EXPECT)($L7, 'DotDot "."'))), function($skip, $loc, $0, $1, $2) {
13031
13241
  return { $loc, token: $1 };
13032
- }), DotDot$1 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L160, 'DotDot "\u2025"'), function($skip, $loc, $0, $1) {
13242
+ }), DotDot$1 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L162, 'DotDot "\u2025"'), function($skip, $loc, $0, $1) {
13033
13243
  return { $loc, token: ".." };
13034
13244
  }), DotDot$$ = [DotDot$0, DotDot$1];
13035
13245
  function DotDot(ctx, state2) {
13036
13246
  return (0, import_lib2.$EVENT_C)(ctx, state2, "DotDot", DotDot$$);
13037
13247
  }
13038
- var DotDotDot$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L161, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
13248
+ var DotDotDot$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L163, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
13039
13249
  return { $loc, token: $1 };
13040
- }), DotDotDot$1 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L162, 'DotDotDot "\u2026"'), function($skip, $loc, $0, $1) {
13250
+ }), DotDotDot$1 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L164, 'DotDotDot "\u2026"'), function($skip, $loc, $0, $1) {
13041
13251
  return { $loc, token: "..." };
13042
13252
  }), DotDotDot$$ = [DotDotDot$0, DotDotDot$1];
13043
13253
  function DotDotDot(ctx, state2) {
@@ -13049,31 +13259,31 @@ ${js}`
13049
13259
  function InsertDotDotDot(ctx, state2) {
13050
13260
  return (0, import_lib2.$EVENT)(ctx, state2, "InsertDotDotDot", InsertDotDotDot$0);
13051
13261
  }
13052
- var DoubleColon$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L163, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
13262
+ var DoubleColon$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L165, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
13053
13263
  return { $loc, token: $1 };
13054
13264
  });
13055
13265
  function DoubleColon(ctx, state2) {
13056
13266
  return (0, import_lib2.$EVENT)(ctx, state2, "DoubleColon", DoubleColon$0);
13057
13267
  }
13058
- var DoubleColonAsColon$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L163, 'DoubleColonAsColon "::"'), function($skip, $loc, $0, $1) {
13268
+ var DoubleColonAsColon$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L165, 'DoubleColonAsColon "::"'), function($skip, $loc, $0, $1) {
13059
13269
  return { $loc, token: ":" };
13060
13270
  });
13061
13271
  function DoubleColonAsColon(ctx, state2) {
13062
13272
  return (0, import_lib2.$EVENT)(ctx, state2, "DoubleColonAsColon", DoubleColonAsColon$0);
13063
13273
  }
13064
- var DoubleQuote$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L164, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
13274
+ var DoubleQuote$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L166, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
13065
13275
  return { $loc, token: $1 };
13066
13276
  });
13067
13277
  function DoubleQuote(ctx, state2) {
13068
13278
  return (0, import_lib2.$EVENT)(ctx, state2, "DoubleQuote", DoubleQuote$0);
13069
13279
  }
13070
- var Each$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L165, 'Each "each"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13280
+ var Each$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L167, 'Each "each"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13071
13281
  return { $loc, token: $1 };
13072
13282
  });
13073
13283
  function Each(ctx, state2) {
13074
13284
  return (0, import_lib2.$EVENT)(ctx, state2, "Each", Each$0);
13075
13285
  }
13076
- var Else$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L166, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13286
+ var Else$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L168, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13077
13287
  return { $loc, token: $1 };
13078
13288
  });
13079
13289
  function Else(ctx, state2) {
@@ -13085,61 +13295,61 @@ ${js}`
13085
13295
  function Equals(ctx, state2) {
13086
13296
  return (0, import_lib2.$EVENT)(ctx, state2, "Equals", Equals$0);
13087
13297
  }
13088
- var ExclamationPoint$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L167, 'ExclamationPoint "!"'), function($skip, $loc, $0, $1) {
13298
+ var ExclamationPoint$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L169, 'ExclamationPoint "!"'), function($skip, $loc, $0, $1) {
13089
13299
  return { $loc, token: $1 };
13090
13300
  });
13091
13301
  function ExclamationPoint(ctx, state2) {
13092
13302
  return (0, import_lib2.$EVENT)(ctx, state2, "ExclamationPoint", ExclamationPoint$0);
13093
13303
  }
13094
- var Export$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L168, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13304
+ var Export$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L170, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13095
13305
  return { $loc, token: $1 };
13096
13306
  });
13097
13307
  function Export(ctx, state2) {
13098
13308
  return (0, import_lib2.$EVENT)(ctx, state2, "Export", Export$0);
13099
13309
  }
13100
- var Extends$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L169, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13310
+ var Extends$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L171, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13101
13311
  return { $loc, token: $1 };
13102
13312
  });
13103
13313
  function Extends(ctx, state2) {
13104
13314
  return (0, import_lib2.$EVENT)(ctx, state2, "Extends", Extends$0);
13105
13315
  }
13106
- var Finally$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L170, 'Finally "finally"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13316
+ var Finally$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L172, 'Finally "finally"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13107
13317
  return { $loc, token: $1 };
13108
13318
  });
13109
13319
  function Finally(ctx, state2) {
13110
13320
  return (0, import_lib2.$EVENT)(ctx, state2, "Finally", Finally$0);
13111
13321
  }
13112
- var For$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L171, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13322
+ var For$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L173, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13113
13323
  return { $loc, token: $1 };
13114
13324
  });
13115
13325
  function For(ctx, state2) {
13116
13326
  return (0, import_lib2.$EVENT)(ctx, state2, "For", For$0);
13117
13327
  }
13118
- var From$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L172, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13328
+ var From$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L174, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13119
13329
  return { $loc, token: $1 };
13120
13330
  });
13121
13331
  function From(ctx, state2) {
13122
13332
  return (0, import_lib2.$EVENT)(ctx, state2, "From", From$0);
13123
13333
  }
13124
- var Function$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L173, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13334
+ var Function$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L175, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13125
13335
  return { $loc, token: $1 };
13126
13336
  });
13127
13337
  function Function2(ctx, state2) {
13128
13338
  return (0, import_lib2.$EVENT)(ctx, state2, "Function", Function$0);
13129
13339
  }
13130
- var GetOrSet$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$C)((0, import_lib2.$EXPECT)($L174, 'GetOrSet "get"'), (0, import_lib2.$EXPECT)($L175, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13340
+ var GetOrSet$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$C)((0, import_lib2.$EXPECT)($L176, 'GetOrSet "get"'), (0, import_lib2.$EXPECT)($L177, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13131
13341
  return { $loc, token: $1, type: "GetOrSet" };
13132
13342
  });
13133
13343
  function GetOrSet(ctx, state2) {
13134
13344
  return (0, import_lib2.$EVENT)(ctx, state2, "GetOrSet", GetOrSet$0);
13135
13345
  }
13136
- var Hash$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L176, 'Hash "#"'), function($skip, $loc, $0, $1) {
13346
+ var Hash$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L178, 'Hash "#"'), function($skip, $loc, $0, $1) {
13137
13347
  return { $loc, token: $1 };
13138
13348
  });
13139
13349
  function Hash(ctx, state2) {
13140
13350
  return (0, import_lib2.$EVENT)(ctx, state2, "Hash", Hash$0);
13141
13351
  }
13142
- var If$0 = (0, import_lib2.$TV)((0, import_lib2.$TEXT)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L177, 'If "if"'), NonIdContinue, (0, import_lib2.$E)((0, import_lib2.$EXPECT)($L18, 'If " "')))), function($skip, $loc, $0, $1) {
13352
+ var If$0 = (0, import_lib2.$TV)((0, import_lib2.$TEXT)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L179, 'If "if"'), NonIdContinue, (0, import_lib2.$E)((0, import_lib2.$EXPECT)($L18, 'If " "')))), function($skip, $loc, $0, $1) {
13143
13353
  return { $loc, token: $1 };
13144
13354
  });
13145
13355
  function If(ctx, state2) {
@@ -13151,67 +13361,67 @@ ${js}`
13151
13361
  function Import(ctx, state2) {
13152
13362
  return (0, import_lib2.$EVENT)(ctx, state2, "Import", Import$0);
13153
13363
  }
13154
- var In$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L178, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13364
+ var In$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L180, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13155
13365
  return { $loc, token: $1 };
13156
13366
  });
13157
13367
  function In(ctx, state2) {
13158
13368
  return (0, import_lib2.$EVENT)(ctx, state2, "In", In$0);
13159
13369
  }
13160
- var Infer$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L179, 'Infer "infer"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13370
+ var Infer$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L181, 'Infer "infer"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13161
13371
  return { $loc, token: $1 };
13162
13372
  });
13163
13373
  function Infer(ctx, state2) {
13164
13374
  return (0, import_lib2.$EVENT)(ctx, state2, "Infer", Infer$0);
13165
13375
  }
13166
- var LetOrConst$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$C)((0, import_lib2.$EXPECT)($L180, 'LetOrConst "let"'), (0, import_lib2.$EXPECT)($L181, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13376
+ var LetOrConst$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$C)((0, import_lib2.$EXPECT)($L182, 'LetOrConst "let"'), (0, import_lib2.$EXPECT)($L183, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13167
13377
  return { $loc, token: $1 };
13168
13378
  });
13169
13379
  function LetOrConst(ctx, state2) {
13170
13380
  return (0, import_lib2.$EVENT)(ctx, state2, "LetOrConst", LetOrConst$0);
13171
13381
  }
13172
- var Const$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L181, 'Const "const"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13382
+ var Const$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L183, 'Const "const"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13173
13383
  return { $loc, token: $1 };
13174
13384
  });
13175
13385
  function Const(ctx, state2) {
13176
13386
  return (0, import_lib2.$EVENT)(ctx, state2, "Const", Const$0);
13177
13387
  }
13178
- var Is$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L182, 'Is "is"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13388
+ var Is$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L184, 'Is "is"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13179
13389
  return { $loc, token: $1 };
13180
13390
  });
13181
13391
  function Is(ctx, state2) {
13182
13392
  return (0, import_lib2.$EVENT)(ctx, state2, "Is", Is$0);
13183
13393
  }
13184
- var LetOrConstOrVar$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$C)((0, import_lib2.$EXPECT)($L180, 'LetOrConstOrVar "let"'), (0, import_lib2.$EXPECT)($L181, 'LetOrConstOrVar "const"'), (0, import_lib2.$EXPECT)($L183, 'LetOrConstOrVar "var"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13394
+ var LetOrConstOrVar$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$C)((0, import_lib2.$EXPECT)($L182, 'LetOrConstOrVar "let"'), (0, import_lib2.$EXPECT)($L183, 'LetOrConstOrVar "const"'), (0, import_lib2.$EXPECT)($L185, 'LetOrConstOrVar "var"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13185
13395
  return { $loc, token: $1 };
13186
13396
  });
13187
13397
  function LetOrConstOrVar(ctx, state2) {
13188
13398
  return (0, import_lib2.$EVENT)(ctx, state2, "LetOrConstOrVar", LetOrConstOrVar$0);
13189
13399
  }
13190
- var Like$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L184, 'Like "like"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13400
+ var Like$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L186, 'Like "like"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13191
13401
  return { $loc, token: $1 };
13192
13402
  });
13193
13403
  function Like(ctx, state2) {
13194
13404
  return (0, import_lib2.$EVENT)(ctx, state2, "Like", Like$0);
13195
13405
  }
13196
- var Loop$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L185, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13406
+ var Loop$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L187, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13197
13407
  return { $loc, token: "while" };
13198
13408
  });
13199
13409
  function Loop(ctx, state2) {
13200
13410
  return (0, import_lib2.$EVENT)(ctx, state2, "Loop", Loop$0);
13201
13411
  }
13202
- var New$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L186, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13412
+ var New$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L188, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13203
13413
  return { $loc, token: $1 };
13204
13414
  });
13205
13415
  function New(ctx, state2) {
13206
13416
  return (0, import_lib2.$EVENT)(ctx, state2, "New", New$0);
13207
13417
  }
13208
- var Not$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L187, 'Not "not"'), NonIdContinue, (0, import_lib2.$N)((0, import_lib2.$S)((0, import_lib2.$E)(_), (0, import_lib2.$EXPECT)($L16, 'Not ":"')))), function($skip, $loc, $0, $1, $2, $3) {
13418
+ var Not$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L189, 'Not "not"'), NonIdContinue, (0, import_lib2.$N)((0, import_lib2.$S)((0, import_lib2.$E)(_), (0, import_lib2.$EXPECT)($L16, 'Not ":"')))), function($skip, $loc, $0, $1, $2, $3) {
13209
13419
  return { $loc, token: "!" };
13210
13420
  });
13211
13421
  function Not(ctx, state2) {
13212
13422
  return (0, import_lib2.$EVENT)(ctx, state2, "Not", Not$0);
13213
13423
  }
13214
- var Of$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L188, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13424
+ var Of$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L190, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13215
13425
  return { $loc, token: $1 };
13216
13426
  });
13217
13427
  function Of(ctx, state2) {
@@ -13229,7 +13439,7 @@ ${js}`
13229
13439
  function OpenBrace(ctx, state2) {
13230
13440
  return (0, import_lib2.$EVENT)(ctx, state2, "OpenBrace", OpenBrace$0);
13231
13441
  }
13232
- var OpenBracket$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L189, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
13442
+ var OpenBracket$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L191, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
13233
13443
  return { $loc, token: $1 };
13234
13444
  });
13235
13445
  function OpenBracket(ctx, state2) {
@@ -13241,47 +13451,47 @@ ${js}`
13241
13451
  function OpenParen(ctx, state2) {
13242
13452
  return (0, import_lib2.$EVENT)(ctx, state2, "OpenParen", OpenParen$0);
13243
13453
  }
13244
- var Operator$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L190, 'Operator "operator"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13454
+ var Operator$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L192, 'Operator "operator"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13245
13455
  return { $loc, token: $1 };
13246
13456
  });
13247
13457
  function Operator(ctx, state2) {
13248
13458
  return (0, import_lib2.$EVENT)(ctx, state2, "Operator", Operator$0);
13249
13459
  }
13250
- var Override$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L191, 'Override "override"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13460
+ var Override$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L193, 'Override "override"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13251
13461
  return { $loc, token: $1, ts: !0 };
13252
13462
  });
13253
13463
  function Override(ctx, state2) {
13254
13464
  return (0, import_lib2.$EVENT)(ctx, state2, "Override", Override$0);
13255
13465
  }
13256
- var Own$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L192, 'Own "own"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13466
+ var Own$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L194, 'Own "own"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13257
13467
  return { $loc, token: $1 };
13258
13468
  });
13259
13469
  function Own(ctx, state2) {
13260
13470
  return (0, import_lib2.$EVENT)(ctx, state2, "Own", Own$0);
13261
13471
  }
13262
- var Public$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L193, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13472
+ var Public$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L195, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13263
13473
  return { $loc, token: $1 };
13264
13474
  });
13265
13475
  function Public(ctx, state2) {
13266
13476
  return (0, import_lib2.$EVENT)(ctx, state2, "Public", Public$0);
13267
13477
  }
13268
- var Private$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L194, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13478
+ var Private$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L196, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13269
13479
  return { $loc, token: $1 };
13270
13480
  });
13271
13481
  function Private(ctx, state2) {
13272
13482
  return (0, import_lib2.$EVENT)(ctx, state2, "Private", Private$0);
13273
13483
  }
13274
- var Protected$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L195, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13484
+ var Protected$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L197, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13275
13485
  return { $loc, token: $1 };
13276
13486
  });
13277
13487
  function Protected(ctx, state2) {
13278
13488
  return (0, import_lib2.$EVENT)(ctx, state2, "Protected", Protected$0);
13279
13489
  }
13280
- var Pipe$0 = (0, import_lib2.$TV)((0, import_lib2.$C)((0, import_lib2.$EXPECT)($L196, 'Pipe "||>"'), (0, import_lib2.$EXPECT)($L197, 'Pipe "|\u25B7"')), function($skip, $loc, $0, $1) {
13490
+ var Pipe$0 = (0, import_lib2.$TV)((0, import_lib2.$C)((0, import_lib2.$EXPECT)($L198, 'Pipe "||>"'), (0, import_lib2.$EXPECT)($L199, 'Pipe "|\u25B7"')), function($skip, $loc, $0, $1) {
13281
13491
  return { $loc, token: "||>" };
13282
- }), Pipe$1 = (0, import_lib2.$TV)((0, import_lib2.$C)((0, import_lib2.$EXPECT)($L198, 'Pipe "|>="'), (0, import_lib2.$EXPECT)($L199, 'Pipe "\u25B7="')), function($skip, $loc, $0, $1) {
13492
+ }), Pipe$1 = (0, import_lib2.$TV)((0, import_lib2.$C)((0, import_lib2.$EXPECT)($L200, 'Pipe "|>="'), (0, import_lib2.$EXPECT)($L201, 'Pipe "\u25B7="')), function($skip, $loc, $0, $1) {
13283
13493
  return { $loc, token: "|>=" };
13284
- }), Pipe$2 = (0, import_lib2.$TV)((0, import_lib2.$C)((0, import_lib2.$EXPECT)($L200, 'Pipe "|>"'), (0, import_lib2.$EXPECT)($L201, 'Pipe "\u25B7"')), function($skip, $loc, $0, $1) {
13494
+ }), Pipe$2 = (0, import_lib2.$TV)((0, import_lib2.$C)((0, import_lib2.$EXPECT)($L202, 'Pipe "|>"'), (0, import_lib2.$EXPECT)($L203, 'Pipe "\u25B7"')), function($skip, $loc, $0, $1) {
13285
13495
  return { $loc, token: "|>" };
13286
13496
  }), Pipe$$ = [Pipe$0, Pipe$1, Pipe$2];
13287
13497
  function Pipe(ctx, state2) {
@@ -13293,19 +13503,19 @@ ${js}`
13293
13503
  function QuestionMark(ctx, state2) {
13294
13504
  return (0, import_lib2.$EVENT)(ctx, state2, "QuestionMark", QuestionMark$0);
13295
13505
  }
13296
- var Readonly$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L202, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13506
+ var Readonly$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L204, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13297
13507
  return { $loc, token: $1, ts: !0 };
13298
13508
  });
13299
13509
  function Readonly(ctx, state2) {
13300
13510
  return (0, import_lib2.$EVENT)(ctx, state2, "Readonly", Readonly$0);
13301
13511
  }
13302
- var Return$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L203, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13512
+ var Return$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L205, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13303
13513
  return { $loc, token: $1 };
13304
13514
  });
13305
13515
  function Return(ctx, state2) {
13306
13516
  return (0, import_lib2.$EVENT)(ctx, state2, "Return", Return$0);
13307
13517
  }
13308
- var Satisfies$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L204, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13518
+ var Satisfies$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L206, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13309
13519
  return { $loc, token: $1 };
13310
13520
  });
13311
13521
  function Satisfies(ctx, state2) {
@@ -13317,7 +13527,7 @@ ${js}`
13317
13527
  function Semicolon(ctx, state2) {
13318
13528
  return (0, import_lib2.$EVENT)(ctx, state2, "Semicolon", Semicolon$0);
13319
13529
  }
13320
- var SingleQuote$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L205, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
13530
+ var SingleQuote$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L207, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
13321
13531
  return { $loc, token: $1 };
13322
13532
  });
13323
13533
  function SingleQuote(ctx, state2) {
@@ -13329,147 +13539,147 @@ ${js}`
13329
13539
  function Star(ctx, state2) {
13330
13540
  return (0, import_lib2.$EVENT)(ctx, state2, "Star", Star$0);
13331
13541
  }
13332
- var Static$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L206, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13542
+ var Static$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L208, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13333
13543
  return { $loc, token: $1 };
13334
- }), Static$1 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L144, 'Static "@"'), (0, import_lib2.$N)((0, import_lib2.$C)((0, import_lib2.$EXPECT)($L4, 'Static "("'), (0, import_lib2.$EXPECT)($L144, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
13544
+ }), Static$1 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L146, 'Static "@"'), (0, import_lib2.$N)((0, import_lib2.$C)((0, import_lib2.$EXPECT)($L4, 'Static "("'), (0, import_lib2.$EXPECT)($L146, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
13335
13545
  return { $loc, token: "static " };
13336
13546
  }), Static$$ = [Static$0, Static$1];
13337
13547
  function Static(ctx, state2) {
13338
13548
  return (0, import_lib2.$EVENT_C)(ctx, state2, "Static", Static$$);
13339
13549
  }
13340
- var SubstitutionStart$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L207, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
13550
+ var SubstitutionStart$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L209, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
13341
13551
  return { $loc, token: $1 };
13342
13552
  });
13343
13553
  function SubstitutionStart(ctx, state2) {
13344
13554
  return (0, import_lib2.$EVENT)(ctx, state2, "SubstitutionStart", SubstitutionStart$0);
13345
13555
  }
13346
- var Super$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L208, 'Super "super"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13556
+ var Super$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L210, 'Super "super"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13347
13557
  return { $loc, token: $1 };
13348
13558
  });
13349
13559
  function Super(ctx, state2) {
13350
13560
  return (0, import_lib2.$EVENT)(ctx, state2, "Super", Super$0);
13351
13561
  }
13352
- var Switch$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L209, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13562
+ var Switch$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L211, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13353
13563
  return { $loc, token: $1 };
13354
13564
  });
13355
13565
  function Switch(ctx, state2) {
13356
13566
  return (0, import_lib2.$EVENT)(ctx, state2, "Switch", Switch$0);
13357
13567
  }
13358
- var Target$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L210, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13568
+ var Target$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L212, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13359
13569
  return { $loc, token: $1 };
13360
13570
  });
13361
13571
  function Target(ctx, state2) {
13362
13572
  return (0, import_lib2.$EVENT)(ctx, state2, "Target", Target$0);
13363
13573
  }
13364
- var Then$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(__, (0, import_lib2.$EXPECT)($L211, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
13574
+ var Then$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(__, (0, import_lib2.$EXPECT)($L213, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
13365
13575
  return { $loc, token: "" };
13366
13576
  });
13367
13577
  function Then(ctx, state2) {
13368
13578
  return (0, import_lib2.$EVENT)(ctx, state2, "Then", Then$0);
13369
13579
  }
13370
- var This$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L212, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13580
+ var This$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L214, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13371
13581
  return { $loc, token: $1 };
13372
13582
  });
13373
13583
  function This(ctx, state2) {
13374
13584
  return (0, import_lib2.$EVENT)(ctx, state2, "This", This$0);
13375
13585
  }
13376
- var Throw$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L213, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13586
+ var Throw$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L215, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13377
13587
  return { $loc, token: $1 };
13378
13588
  });
13379
13589
  function Throw(ctx, state2) {
13380
13590
  return (0, import_lib2.$EVENT)(ctx, state2, "Throw", Throw$0);
13381
13591
  }
13382
- var TripleDoubleQuote$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L214, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
13592
+ var TripleDoubleQuote$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L216, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
13383
13593
  return { $loc, token: "`" };
13384
13594
  });
13385
13595
  function TripleDoubleQuote(ctx, state2) {
13386
13596
  return (0, import_lib2.$EVENT)(ctx, state2, "TripleDoubleQuote", TripleDoubleQuote$0);
13387
13597
  }
13388
- var TripleSingleQuote$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L215, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
13598
+ var TripleSingleQuote$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L217, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
13389
13599
  return { $loc, token: "`" };
13390
13600
  });
13391
13601
  function TripleSingleQuote(ctx, state2) {
13392
13602
  return (0, import_lib2.$EVENT)(ctx, state2, "TripleSingleQuote", TripleSingleQuote$0);
13393
13603
  }
13394
- var TripleSlash$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L216, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
13604
+ var TripleSlash$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L218, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
13395
13605
  return { $loc, token: "/" };
13396
13606
  });
13397
13607
  function TripleSlash(ctx, state2) {
13398
13608
  return (0, import_lib2.$EVENT)(ctx, state2, "TripleSlash", TripleSlash$0);
13399
13609
  }
13400
- var TripleTick$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L217, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
13610
+ var TripleTick$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L219, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
13401
13611
  return { $loc, token: "`" };
13402
13612
  });
13403
13613
  function TripleTick(ctx, state2) {
13404
13614
  return (0, import_lib2.$EVENT)(ctx, state2, "TripleTick", TripleTick$0);
13405
13615
  }
13406
- var Try$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L218, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13616
+ var Try$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L220, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13407
13617
  return { $loc, token: $1 };
13408
13618
  });
13409
13619
  function Try(ctx, state2) {
13410
13620
  return (0, import_lib2.$EVENT)(ctx, state2, "Try", Try$0);
13411
13621
  }
13412
- var Typeof$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L219, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13622
+ var Typeof$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L221, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13413
13623
  return { $loc, token: $1 };
13414
13624
  });
13415
13625
  function Typeof(ctx, state2) {
13416
13626
  return (0, import_lib2.$EVENT)(ctx, state2, "Typeof", Typeof$0);
13417
13627
  }
13418
- var Undefined$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L220, 'Undefined "undefined"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13628
+ var Undefined$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L222, 'Undefined "undefined"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13419
13629
  return { $loc, token: $1 };
13420
13630
  });
13421
13631
  function Undefined(ctx, state2) {
13422
13632
  return (0, import_lib2.$EVENT)(ctx, state2, "Undefined", Undefined$0);
13423
13633
  }
13424
- var Unless$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L221, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13634
+ var Unless$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L223, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13425
13635
  return { $loc, token: $1, negated: !0 };
13426
13636
  });
13427
13637
  function Unless(ctx, state2) {
13428
13638
  return (0, import_lib2.$EVENT)(ctx, state2, "Unless", Unless$0);
13429
13639
  }
13430
- var Until$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L222, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13640
+ var Until$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L224, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13431
13641
  return { $loc, token: $1, negated: !0 };
13432
13642
  });
13433
13643
  function Until(ctx, state2) {
13434
13644
  return (0, import_lib2.$EVENT)(ctx, state2, "Until", Until$0);
13435
13645
  }
13436
- var Using$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L223, 'Using "using"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13646
+ var Using$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L225, 'Using "using"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13437
13647
  return { $loc, token: $1 };
13438
13648
  });
13439
13649
  function Using(ctx, state2) {
13440
13650
  return (0, import_lib2.$EVENT)(ctx, state2, "Using", Using$0);
13441
13651
  }
13442
- var Var$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L183, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13652
+ var Var$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L185, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13443
13653
  return { $loc, token: $1 };
13444
13654
  });
13445
13655
  function Var(ctx, state2) {
13446
13656
  return (0, import_lib2.$EVENT)(ctx, state2, "Var", Var$0);
13447
13657
  }
13448
- var Void$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L224, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13658
+ var Void$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L226, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13449
13659
  return { $loc, token: $1 };
13450
13660
  });
13451
13661
  function Void(ctx, state2) {
13452
13662
  return (0, import_lib2.$EVENT)(ctx, state2, "Void", Void$0);
13453
13663
  }
13454
- var When$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L225, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13664
+ var When$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L227, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13455
13665
  return { $loc, token: "case" };
13456
13666
  });
13457
13667
  function When(ctx, state2) {
13458
13668
  return (0, import_lib2.$EVENT)(ctx, state2, "When", When$0);
13459
13669
  }
13460
- var While$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L226, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13670
+ var While$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L228, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13461
13671
  return { $loc, token: $1 };
13462
13672
  });
13463
13673
  function While(ctx, state2) {
13464
13674
  return (0, import_lib2.$EVENT)(ctx, state2, "While", While$0);
13465
13675
  }
13466
- var With$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L132, 'With "with"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13676
+ var With$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L134, 'With "with"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13467
13677
  return { $loc, token: $1 };
13468
13678
  });
13469
13679
  function With(ctx, state2) {
13470
13680
  return (0, import_lib2.$EVENT)(ctx, state2, "With", With$0);
13471
13681
  }
13472
- var Yield$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L227, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13682
+ var Yield$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L229, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13473
13683
  return { $loc, token: $1, type: "Yield" };
13474
13684
  });
13475
13685
  function Yield(ctx, state2) {
@@ -13529,7 +13739,7 @@ ${js}`
13529
13739
  function JSXElement(ctx, state2) {
13530
13740
  return (0, import_lib2.$EVENT_C)(ctx, state2, "JSXElement", JSXElement$$);
13531
13741
  }
13532
- var JSXSelfClosingElement$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L19, 'JSXSelfClosingElement "<"'), JSXElementName, (0, import_lib2.$E)(TypeArguments), (0, import_lib2.$E)(JSXAttributes), (0, import_lib2.$E)(Whitespace), (0, import_lib2.$EXPECT)($L228, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
13742
+ var JSXSelfClosingElement$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L19, 'JSXSelfClosingElement "<"'), JSXElementName, (0, import_lib2.$E)(TypeArguments), (0, import_lib2.$E)(JSXAttributes), (0, import_lib2.$E)(Whitespace), (0, import_lib2.$EXPECT)($L230, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
13533
13743
  return { type: "JSXElement", children: $0, tag: $2 };
13534
13744
  });
13535
13745
  function JSXSelfClosingElement(ctx, state2) {
@@ -13558,7 +13768,7 @@ ${js}`
13558
13768
  function JSXOptionalClosingElement(ctx, state2) {
13559
13769
  return (0, import_lib2.$EVENT_C)(ctx, state2, "JSXOptionalClosingElement", JSXOptionalClosingElement$$);
13560
13770
  }
13561
- var JSXClosingElement$0 = (0, import_lib2.$S)((0, import_lib2.$EXPECT)($L229, 'JSXClosingElement "</"'), (0, import_lib2.$E)(Whitespace), JSXElementName, (0, import_lib2.$E)(Whitespace), (0, import_lib2.$EXPECT)($L45, 'JSXClosingElement ">"'));
13771
+ var JSXClosingElement$0 = (0, import_lib2.$S)((0, import_lib2.$EXPECT)($L231, 'JSXClosingElement "</"'), (0, import_lib2.$E)(Whitespace), JSXElementName, (0, import_lib2.$E)(Whitespace), (0, import_lib2.$EXPECT)($L45, 'JSXClosingElement ">"'));
13562
13772
  function JSXClosingElement(ctx, state2) {
13563
13773
  return (0, import_lib2.$EVENT)(ctx, state2, "JSXClosingElement", JSXClosingElement$0);
13564
13774
  }
@@ -13573,7 +13783,7 @@ ${js}`
13573
13783
  // InsertIndent
13574
13784
  "</>"
13575
13785
  ], jsxChildren: children.jsxChildren }) : $skip;
13576
- }), JSXFragment$1 = (0, import_lib2.$TS)((0, import_lib2.$S)(CoffeeJSXEnabled, (0, import_lib2.$EXPECT)($L230, 'JSXFragment "<>"'), (0, import_lib2.$E)(JSXChildren), (0, import_lib2.$E)(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
13786
+ }), JSXFragment$1 = (0, import_lib2.$TS)((0, import_lib2.$S)(CoffeeJSXEnabled, (0, import_lib2.$EXPECT)($L232, 'JSXFragment "<>"'), (0, import_lib2.$E)(JSXChildren), (0, import_lib2.$E)(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
13577
13787
  var children = $3;
13578
13788
  return $0 = $0.slice(1), {
13579
13789
  type: "JSXFragment",
@@ -13584,7 +13794,7 @@ ${js}`
13584
13794
  function JSXFragment(ctx, state2) {
13585
13795
  return (0, import_lib2.$EVENT_C)(ctx, state2, "JSXFragment", JSXFragment$$);
13586
13796
  }
13587
- var PushJSXOpeningFragment$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L230, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
13797
+ var PushJSXOpeningFragment$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L232, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
13588
13798
  return state.JSXTagStack.push(""), $1;
13589
13799
  });
13590
13800
  function PushJSXOpeningFragment(ctx, state2) {
@@ -13596,11 +13806,11 @@ ${js}`
13596
13806
  function JSXOptionalClosingFragment(ctx, state2) {
13597
13807
  return (0, import_lib2.$EVENT_C)(ctx, state2, "JSXOptionalClosingFragment", JSXOptionalClosingFragment$$);
13598
13808
  }
13599
- var JSXClosingFragment$0 = (0, import_lib2.$EXPECT)($L231, 'JSXClosingFragment "</>"');
13809
+ var JSXClosingFragment$0 = (0, import_lib2.$EXPECT)($L233, 'JSXClosingFragment "</>"');
13600
13810
  function JSXClosingFragment(ctx, state2) {
13601
13811
  return (0, import_lib2.$EVENT)(ctx, state2, "JSXClosingFragment", JSXClosingFragment$0);
13602
13812
  }
13603
- var JSXElementName$0 = (0, import_lib2.$TV)((0, import_lib2.$Y)((0, import_lib2.$S)((0, import_lib2.$C)((0, import_lib2.$EXPECT)($L176, 'JSXElementName "#"'), Dot), JSXShorthandString)), function($skip, $loc, $0, $1) {
13813
+ var JSXElementName$0 = (0, import_lib2.$TV)((0, import_lib2.$Y)((0, import_lib2.$S)((0, import_lib2.$C)((0, import_lib2.$EXPECT)($L178, 'JSXElementName "#"'), Dot), JSXShorthandString)), function($skip, $loc, $0, $1) {
13604
13814
  return config.defaultElement;
13605
13815
  }), JSXElementName$1 = (0, import_lib2.$TEXT)((0, import_lib2.$S)(JSXIdentifierName, (0, import_lib2.$C)((0, import_lib2.$S)(Colon, JSXIdentifierName), (0, import_lib2.$Q)((0, import_lib2.$S)(Dot, JSXIdentifierName))))), JSXElementName$$ = [JSXElementName$0, JSXElementName$1];
13606
13816
  function JSXElementName(ctx, state2) {
@@ -13699,7 +13909,7 @@ ${js}`
13699
13909
  expr,
13700
13910
  "}}"
13701
13911
  ] : last.name ? [last.name, "={", expr, "}"] : $skip;
13702
- }), JSXAttribute$5 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L176, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
13912
+ }), JSXAttribute$5 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L178, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
13703
13913
  return [" ", "id=", $2];
13704
13914
  }), JSXAttribute$6 = (0, import_lib2.$TS)((0, import_lib2.$S)(Dot, JSXShorthandString), function($skip, $loc, $0, $1, $2) {
13705
13915
  return {
@@ -13932,7 +14142,7 @@ ${js}`
13932
14142
  function JSXChildGeneral(ctx, state2) {
13933
14143
  return (0, import_lib2.$EVENT_C)(ctx, state2, "JSXChildGeneral", JSXChildGeneral$$);
13934
14144
  }
13935
- var JSXComment$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L232, 'JSXComment "<!--"'), JSXCommentContent, (0, import_lib2.$EXPECT)($L233, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
14145
+ var JSXComment$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L234, 'JSXComment "<!--"'), JSXCommentContent, (0, import_lib2.$EXPECT)($L235, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
13936
14146
  return ["{/*", $2, "*/}"];
13937
14147
  });
13938
14148
  function JSXComment(ctx, state2) {
@@ -14175,37 +14385,37 @@ ${js}`
14175
14385
  function InterfaceExtendsTarget(ctx, state2) {
14176
14386
  return (0, import_lib2.$EVENT)(ctx, state2, "InterfaceExtendsTarget", InterfaceExtendsTarget$0);
14177
14387
  }
14178
- var TypeKeyword$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L234, 'TypeKeyword "type"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14388
+ var TypeKeyword$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L236, 'TypeKeyword "type"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14179
14389
  return { $loc, token: $1 };
14180
14390
  });
14181
14391
  function TypeKeyword(ctx, state2) {
14182
14392
  return (0, import_lib2.$EVENT)(ctx, state2, "TypeKeyword", TypeKeyword$0);
14183
14393
  }
14184
- var Enum$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L235, 'Enum "enum"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14394
+ var Enum$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L237, 'Enum "enum"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14185
14395
  return { $loc, token: $1 };
14186
14396
  });
14187
14397
  function Enum(ctx, state2) {
14188
14398
  return (0, import_lib2.$EVENT)(ctx, state2, "Enum", Enum$0);
14189
14399
  }
14190
- var Interface$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L236, 'Interface "interface"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14400
+ var Interface$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L238, 'Interface "interface"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14191
14401
  return { $loc, token: $1 };
14192
14402
  });
14193
14403
  function Interface(ctx, state2) {
14194
14404
  return (0, import_lib2.$EVENT)(ctx, state2, "Interface", Interface$0);
14195
14405
  }
14196
- var Global$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L237, 'Global "global"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14406
+ var Global$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L239, 'Global "global"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14197
14407
  return { $loc, token: $1 };
14198
14408
  });
14199
14409
  function Global(ctx, state2) {
14200
14410
  return (0, import_lib2.$EVENT)(ctx, state2, "Global", Global$0);
14201
14411
  }
14202
- var Module$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L238, 'Module "module"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14412
+ var Module$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L240, 'Module "module"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14203
14413
  return { $loc, token: $1 };
14204
14414
  });
14205
14415
  function Module(ctx, state2) {
14206
14416
  return (0, import_lib2.$EVENT)(ctx, state2, "Module", Module$0);
14207
14417
  }
14208
- var Namespace$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L239, 'Namespace "namespace"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14418
+ var Namespace$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L241, 'Namespace "namespace"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14209
14419
  return { $loc, token: $1 };
14210
14420
  });
14211
14421
  function Namespace(ctx, state2) {
@@ -14454,7 +14664,7 @@ ${js}`
14454
14664
  function ReturnTypeSuffix(ctx, state2) {
14455
14665
  return (0, import_lib2.$EVENT)(ctx, state2, "ReturnTypeSuffix", ReturnTypeSuffix$0);
14456
14666
  }
14457
- var ReturnType$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$E)((0, import_lib2.$S)(__, (0, import_lib2.$EXPECT)($L240, 'ReturnType "asserts"'), NonIdContinue)), ForbidIndentedApplication, (0, import_lib2.$E)(TypePredicate), RestoreIndentedApplication), function($skip, $loc, $0, $1, $2, $3, $4) {
14667
+ var ReturnType$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$E)((0, import_lib2.$S)(__, (0, import_lib2.$EXPECT)($L242, 'ReturnType "asserts"'), NonIdContinue)), ForbidIndentedApplication, (0, import_lib2.$E)(TypePredicate), RestoreIndentedApplication), function($skip, $loc, $0, $1, $2, $3, $4) {
14458
14668
  var asserts = $1, t = $3;
14459
14669
  return t ? (asserts && (t = {
14460
14670
  type: "TypeAsserts",
@@ -14525,7 +14735,7 @@ ${js}`
14525
14735
  function TypeUnarySuffix(ctx, state2) {
14526
14736
  return (0, import_lib2.$EVENT_C)(ctx, state2, "TypeUnarySuffix", TypeUnarySuffix$$);
14527
14737
  }
14528
- var TypeUnaryOp$0 = (0, import_lib2.$S)((0, import_lib2.$EXPECT)($L241, 'TypeUnaryOp "keyof"'), NonIdContinue), TypeUnaryOp$1 = (0, import_lib2.$S)((0, import_lib2.$EXPECT)($L202, 'TypeUnaryOp "readonly"'), NonIdContinue), TypeUnaryOp$$ = [TypeUnaryOp$0, TypeUnaryOp$1];
14738
+ var TypeUnaryOp$0 = (0, import_lib2.$S)((0, import_lib2.$EXPECT)($L243, 'TypeUnaryOp "keyof"'), NonIdContinue), TypeUnaryOp$1 = (0, import_lib2.$S)((0, import_lib2.$EXPECT)($L204, 'TypeUnaryOp "readonly"'), NonIdContinue), TypeUnaryOp$$ = [TypeUnaryOp$0, TypeUnaryOp$1];
14529
14739
  function TypeUnaryOp(ctx, state2) {
14530
14740
  return (0, import_lib2.$EVENT_C)(ctx, state2, "TypeUnaryOp", TypeUnaryOp$$);
14531
14741
  }
@@ -14547,7 +14757,7 @@ ${js}`
14547
14757
  function TypeIndexedAccess(ctx, state2) {
14548
14758
  return (0, import_lib2.$EVENT_C)(ctx, state2, "TypeIndexedAccess", TypeIndexedAccess$$);
14549
14759
  }
14550
- var UnknownAlias$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L242, 'UnknownAlias "???"'), function($skip, $loc, $0, $1) {
14760
+ var UnknownAlias$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L244, 'UnknownAlias "???"'), function($skip, $loc, $0, $1) {
14551
14761
  return { $loc, token: "unknown" };
14552
14762
  });
14553
14763
  function UnknownAlias(ctx, state2) {
@@ -14822,11 +15032,11 @@ ${js}`
14822
15032
  var TypeLiteral$0 = TypeTemplateLiteral, TypeLiteral$1 = Literal, TypeLiteral$2 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($R14, "TypeLiteral /[+-]/"), NumericLiteral), function($skip, $loc, $0, $1, $2) {
14823
15033
  var sign = $1, num = $2;
14824
15034
  return sign[0] === "+" ? num : $0;
14825
- }), TypeLiteral$3 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L224, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15035
+ }), TypeLiteral$3 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L226, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14826
15036
  return { type: "VoidType", $loc, token: $1 };
14827
- }), TypeLiteral$4 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L243, 'TypeLiteral "unique"'), _, (0, import_lib2.$EXPECT)($L244, 'TypeLiteral "symbol"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4) {
15037
+ }), TypeLiteral$4 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L245, 'TypeLiteral "unique"'), _, (0, import_lib2.$EXPECT)($L246, 'TypeLiteral "symbol"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4) {
14828
15038
  return { type: "UniqueSymbolType", children: $0 };
14829
- }), TypeLiteral$5 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L245, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
15039
+ }), TypeLiteral$5 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L247, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
14830
15040
  return { $loc, token: "[]" };
14831
15041
  }), TypeLiteral$$ = [TypeLiteral$0, TypeLiteral$1, TypeLiteral$2, TypeLiteral$3, TypeLiteral$4, TypeLiteral$5];
14832
15042
  function TypeLiteral(ctx, state2) {
@@ -14842,7 +15052,7 @@ ${js}`
14842
15052
  }
14843
15053
  var InlineInterfacePropertyDelimiter$0 = (0, import_lib2.$C)((0, import_lib2.$S)((0, import_lib2.$E)(_), Semicolon), CommaDelimiter), InlineInterfacePropertyDelimiter$1 = (0, import_lib2.$T)((0, import_lib2.$S)((0, import_lib2.$Y)((0, import_lib2.$S)(SameLineOrIndentedFurther, InlineBasicInterfaceProperty)), InsertComma), function(value) {
14844
15054
  return value[1];
14845
- }), InlineInterfacePropertyDelimiter$2 = (0, import_lib2.$Y)((0, import_lib2.$S)(__, (0, import_lib2.$C)((0, import_lib2.$EXPECT)($L16, 'InlineInterfacePropertyDelimiter ":"'), (0, import_lib2.$EXPECT)($L141, 'InlineInterfacePropertyDelimiter ")"'), (0, import_lib2.$EXPECT)($L46, 'InlineInterfacePropertyDelimiter "]"'), (0, import_lib2.$EXPECT)($L37, 'InlineInterfacePropertyDelimiter "}"')))), InlineInterfacePropertyDelimiter$3 = (0, import_lib2.$Y)(EOS), InlineInterfacePropertyDelimiter$$ = [InlineInterfacePropertyDelimiter$0, InlineInterfacePropertyDelimiter$1, InlineInterfacePropertyDelimiter$2, InlineInterfacePropertyDelimiter$3];
15055
+ }), InlineInterfacePropertyDelimiter$2 = (0, import_lib2.$Y)((0, import_lib2.$S)(__, (0, import_lib2.$C)((0, import_lib2.$EXPECT)($L16, 'InlineInterfacePropertyDelimiter ":"'), (0, import_lib2.$EXPECT)($L143, 'InlineInterfacePropertyDelimiter ")"'), (0, import_lib2.$EXPECT)($L46, 'InlineInterfacePropertyDelimiter "]"'), (0, import_lib2.$EXPECT)($L37, 'InlineInterfacePropertyDelimiter "}"')))), InlineInterfacePropertyDelimiter$3 = (0, import_lib2.$Y)(EOS), InlineInterfacePropertyDelimiter$$ = [InlineInterfacePropertyDelimiter$0, InlineInterfacePropertyDelimiter$1, InlineInterfacePropertyDelimiter$2, InlineInterfacePropertyDelimiter$3];
14846
15056
  function InlineInterfacePropertyDelimiter(ctx, state2) {
14847
15057
  return (0, import_lib2.$EVENT_C)(ctx, state2, "InlineInterfacePropertyDelimiter", InlineInterfacePropertyDelimiter$$);
14848
15058
  }
@@ -15045,7 +15255,7 @@ ${js}`
15045
15255
  function CivetPrologue(ctx, state2) {
15046
15256
  return (0, import_lib2.$EVENT_C)(ctx, state2, "CivetPrologue", CivetPrologue$$);
15047
15257
  }
15048
- var CivetPrologueContent$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L246, 'CivetPrologueContent "civet"'), NonIdContinue, (0, import_lib2.$Q)(CivetOption), (0, import_lib2.$EXPECT)($R98, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
15258
+ var CivetPrologueContent$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L248, 'CivetPrologueContent "civet"'), NonIdContinue, (0, import_lib2.$Q)(CivetOption), (0, import_lib2.$EXPECT)($R98, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
15049
15259
  var options = $3;
15050
15260
  return {
15051
15261
  type: "CivetPrologue",
@@ -15677,71 +15887,81 @@ ${js}`
15677
15887
  locationTable: () => locationTable,
15678
15888
  lookupLineColumn: () => lookupLineColumn
15679
15889
  });
15680
- var locationTable = function(input) {
15890
+ function locationTable(input) {
15681
15891
  let linesRe = /([^\r\n]*)(\r\n|\r|\n|$)/y, lines = [], line = 0, pos = 0, ref;
15682
15892
  for (; (ref = linesRe.exec(input)) && (pos += ref[0].length, lines[line++] = pos, pos !== input.length); )
15683
15893
  ;
15684
15894
  return lines;
15685
- }, lookupLineColumn = function(table, pos) {
15895
+ }
15896
+ function lookupLineColumn(table, pos) {
15686
15897
  let l = 0, prevEnd = 0;
15687
15898
  for (; table[l] <= pos; )
15688
15899
  prevEnd = table[l++];
15689
15900
  return [l, pos - prevEnd];
15690
- }, SourceMap = function(sourceString) {
15691
- let srcTable = locationTable(sourceString), sm = {
15692
- lines: [[]],
15693
- line: 0,
15694
- colOffset: 0,
15695
- // relative to previous entry
15696
- srcLine: 0,
15697
- srcColumn: 0,
15698
- srcOffset: 0,
15699
- srcTable
15700
- }, EOL2 = /\r?\n|\r/;
15701
- return {
15702
- data: sm,
15703
- source: function() {
15704
- return sourceString;
15705
- },
15706
- renderMappings: function() {
15707
- let lastSourceLine = 0, lastSourceColumn = 0;
15708
- return sm.lines.map((line) => line.map((entry) => {
15709
- if (entry.length === 4) {
15710
- let [colDelta, sourceFileIndex, srcLine, srcCol] = entry, lineDelta = srcLine - lastSourceLine;
15711
- return colDelta = srcCol - lastSourceColumn, lastSourceLine = srcLine, lastSourceColumn = srcCol, `${encodeVlq(entry[0])}${encodeVlq(sourceFileIndex)}${encodeVlq(lineDelta)}${encodeVlq(colDelta)}`;
15712
- } else
15713
- return encodeVlq(entry[0]);
15714
- }).join(",")).join(";");
15715
- },
15716
- json: function(srcFileName, outFileName) {
15717
- return {
15718
- version: 3,
15719
- file: outFileName,
15720
- sources: [srcFileName],
15721
- mappings: this.renderMappings(),
15722
- names: [],
15723
- sourcesContent: [sourceString],
15724
- toString: function() {
15725
- return JSON.stringify(this);
15726
- }
15727
- };
15728
- },
15729
- updateSourceMap: function(outputStr, inputPos, colOffset = 0) {
15730
- let outLines = outputStr.split(EOL2), srcLine, srcCol;
15731
- inputPos != null && ([srcLine, srcCol] = lookupLineColumn(srcTable, inputPos), srcCol += colOffset, sm.srcLine = srcLine, sm.srcColumn = srcCol, sm.srcOffset = inputPos + outputStr.length);
15732
- for (let i1 = 0, len3 = outLines.length; i1 < len3; i1++) {
15733
- let i = i1, line = outLines[i1];
15734
- i > 0 && (sm.line++, sm.srcLine++, sm.colOffset = 0, sm.lines[sm.line] = [], sm.srcColumn = srcCol = colOffset);
15735
- let l = sm.colOffset;
15736
- sm.colOffset = line.length, sm.srcColumn += line.length, inputPos != null ? sm.lines[sm.line].push([l, 0, srcLine + i, srcCol]) : l != 0 && sm.lines[sm.line].push([l]);
15901
+ }
15902
+ var EOL2 = /\r?\n|\r/, SourceMap = class {
15903
+ lines;
15904
+ line;
15905
+ colOffset;
15906
+ // relative to previous entry
15907
+ srcLine;
15908
+ srcColumn;
15909
+ srcOffset;
15910
+ srcTable;
15911
+ source;
15912
+ constructor(source1) {
15913
+ this.source = source1, this.lines = [[]], this.line = 0, this.colOffset = 0, this.srcLine = 0, this.srcColumn = 0, this.srcOffset = 0, this.srcTable = locationTable(this.source);
15914
+ }
15915
+ renderMappings() {
15916
+ let lastSourceLine = 0, lastSourceColumn = 0;
15917
+ return (() => {
15918
+ let results = [];
15919
+ for (let ref1 = this.lines, i1 = 0, len3 = ref1.length; i1 < len3; i1++) {
15920
+ let line = ref1[i1];
15921
+ results.push((() => {
15922
+ let results1 = [];
15923
+ for (let i2 = 0, len1 = line.length; i2 < len1; i2++) {
15924
+ let entry = line[i2];
15925
+ if (entry.length === 4) {
15926
+ let [colDelta, sourceFileIndex, srcLine, srcCol] = entry, lineDelta = srcLine - lastSourceLine;
15927
+ colDelta = srcCol - lastSourceColumn, lastSourceLine = srcLine, lastSourceColumn = srcCol, results1.push(`${encodeVlq(entry[0])}${encodeVlq(sourceFileIndex)}${encodeVlq(lineDelta)}${encodeVlq(colDelta)}`);
15928
+ } else
15929
+ results1.push(encodeVlq(entry[0]));
15930
+ }
15931
+ return results1;
15932
+ })().join(","));
15933
+ }
15934
+ return results;
15935
+ })().join(";");
15936
+ }
15937
+ json(srcFileName, outFileName) {
15938
+ return {
15939
+ version: 3,
15940
+ file: outFileName,
15941
+ sources: [srcFileName],
15942
+ mappings: this.renderMappings(),
15943
+ names: [],
15944
+ sourcesContent: [this.source],
15945
+ toString: function() {
15946
+ return JSON.stringify(this);
15737
15947
  }
15948
+ };
15949
+ }
15950
+ updateSourceMap(outputStr, inputPos, colOffset = 0) {
15951
+ let outLines = outputStr.split(EOL2), srcLine, srcCol;
15952
+ inputPos != null && ([srcLine, srcCol] = lookupLineColumn(this.srcTable, inputPos), srcCol += colOffset, this.srcLine = srcLine, this.srcColumn = srcCol, this.srcOffset = inputPos + outputStr.length);
15953
+ for (let i3 = 0, len22 = outLines.length; i3 < len22; i3++) {
15954
+ let i = i3, line = outLines[i3];
15955
+ i > 0 && (this.line++, this.srcLine++, this.colOffset = 0, this.lines[this.line] = [], this.srcColumn = srcCol = colOffset);
15956
+ let l = this.colOffset;
15957
+ this.colOffset = line.length, this.srcColumn += line.length, inputPos != null ? this.lines[this.line].push([l, 0, srcLine + i, srcCol]) : l != 0 && this.lines[this.line].push([l]);
15738
15958
  }
15739
- };
15959
+ }
15740
15960
  }, smRegexp = /\n\/\/# sourceMappingURL=data:application\/json;charset=utf-8;base64,([+a-zA-Z0-9\/]*=?=?)$/, remap = function(codeWithSourceMap, upstreamMap, sourcePath, targetPath) {
15741
15961
  let sourceMapText, codeWithoutSourceMap = codeWithSourceMap.replace(smRegexp, (match, sm) => (sourceMapText = sm, ""));
15742
15962
  if (sourceMapText) {
15743
- let parsed = parseWithLines(sourceMapText), composedLines = composeLines(upstreamMap.data.lines, parsed.lines);
15744
- upstreamMap.data.lines = composedLines;
15963
+ let parsed = parseWithLines(sourceMapText), composedLines = composeLines(upstreamMap.lines, parsed.lines);
15964
+ upstreamMap.lines = composedLines;
15745
15965
  }
15746
15966
  let remappedSourceMapJSON = upstreamMap.json(sourcePath, targetPath), newSourceMap = `sourceMappingURL=data:application/json;charset=utf-8;base64,${base64Encode(JSON.stringify(remappedSourceMapJSON))}`;
15747
15967
  return `${codeWithoutSourceMap}
@@ -15774,9 +15994,9 @@ ${js}`
15774
15994
  };
15775
15995
  Object.assign(SourceMap, { remap, parseWithLines, composeLines });
15776
15996
  var VLQ_SHIFT = 5, VLQ_CONTINUATION_BIT = 1 << VLQ_SHIFT, VLQ_VALUE_MASK = VLQ_CONTINUATION_BIT - 1, encodeVlq = function(value) {
15777
- let answer = "", ref1;
15778
- value < 0 ? ref1 = 1 : ref1 = 0;
15779
- let signBit = ref1, valueToEncode = (Math.abs(value) << 1) + signBit;
15997
+ let answer = "", ref2;
15998
+ value < 0 ? ref2 = 1 : ref2 = 0;
15999
+ let signBit = ref2, valueToEncode = (Math.abs(value) << 1) + signBit;
15780
16000
  for (; valueToEncode || !answer; ) {
15781
16001
  let nextChunk = valueToEncode & VLQ_VALUE_MASK;
15782
16002
  valueToEncode = valueToEncode >> VLQ_SHIFT, valueToEncode && (nextChunk |= VLQ_CONTINUATION_BIT), answer += encodeBase64(nextChunk);
@@ -15956,7 +16176,7 @@ ${counts}`;
15956
16176
  throw new ParseErrors(options.errors);
15957
16177
  }
15958
16178
  if (options.sourceMap || options.inlineMap) {
15959
- options.sourceMap = SourceMap2(src);
16179
+ options.sourceMap = new SourceMap2(src);
15960
16180
  let code = generate_civet_default(ast2, options);
15961
16181
  return checkErrors(), options.inlineMap ? SourceMap2.remap(code, options.sourceMap, filename2, filename2 + ".tsx") : {
15962
16182
  code,
@@ -15964,7 +16184,7 @@ ${counts}`;
15964
16184
  };
15965
16185
  }
15966
16186
  let result = generate_civet_default(ast2, options);
15967
- return options.errors?.length && (delete options.errors, options.sourceMap = SourceMap2(src), generate_civet_default(ast2, options), checkErrors()), result;
16187
+ return options.errors?.length && (delete options.errors, options.sourceMap = new SourceMap2(src), generate_civet_default(ast2, options), checkErrors()), result;
15968
16188
  }
15969
16189
  return ast.then != null ? ast.then(rest) : rest(ast);
15970
16190
  }