oxfmt 0.57.0 → 0.59.0

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.
Files changed (37) hide show
  1. package/configuration_schema.json +3 -3
  2. package/dist/{acorn-LGWopQvF.js → acorn-Dxp-n4ed.js} +1984 -1801
  3. package/dist/{angular-BbAuvH72.js → angular-Clx-wbm6.js} +1750 -995
  4. package/dist/{apis-CvFX8LhR.js → apis-D299uPBa.js} +4 -4
  5. package/dist/babel-7tfAjQas.js +10005 -0
  6. package/dist/{bindings-Cj_GMsoO.js → bindings-CjOHPMBU.js} +26 -26
  7. package/dist/{chunk-DSjvVL_1-DllBg9tc.js → chunk-DSjvVL_1-Do0Iorfu.js} +1 -1
  8. package/dist/cli-worker.d.ts +21 -27
  9. package/dist/cli-worker.js +1 -1
  10. package/dist/cli.js +3 -2
  11. package/dist/{dist-BKyxiMdj.js → dist-Byfj_1s9.js} +17 -17
  12. package/dist/estree-CyQu6pff.js +8006 -0
  13. package/dist/flow-BH5imzwC.js +9164 -0
  14. package/dist/{glimmer-Ba_8Z2bG.js → glimmer-B5hfTXAX.js} +295 -213
  15. package/dist/{graphql-CZ7EPWgo.js → graphql-DQB_nHt9.js} +968 -818
  16. package/dist/{html-DblM11Xw.js → html--849eFzc.js} +1531 -1318
  17. package/dist/index.d.ts +7 -3
  18. package/dist/index.js +3 -3
  19. package/dist/{jiti-Bb1dT6Cw-0c6As3U-.js → jiti-Bb1dT6Cw-cY1yrK9n.js} +2 -2
  20. package/dist/markdown-B1lBrqaF.js +14043 -0
  21. package/dist/{meriyah-DafjRZfO.js → meriyah-B5wbO5kj.js} +1568 -1445
  22. package/dist/{migrate-prettier-DrYAkU3F.js → migrate-prettier-CbxtU9AG.js} +49 -42
  23. package/dist/{plugin-BuVceHGR.js → plugin-D1B0s0iv.js} +16 -12
  24. package/dist/{postcss-CkhtwsAS.js → postcss-DuOoF7OX.js} +2243 -2013
  25. package/dist/{prettier-DKAx5A83.js → prettier-CEZwFZsY.js} +5673 -5038
  26. package/dist/{sorter-BZkvDMjt-C8qUPUh2.js → sorter-BZkvDMjt-DFTeIPU-.js} +7 -7
  27. package/dist/{sorter-DSVZH4kF.js → sorter-Cm0Z2eGI.js} +1 -1
  28. package/dist/{typescript-DaxiA0nr.js → typescript-Cvdwz3-D.js} +10574 -10254
  29. package/dist/{v3-D-mr2VVh-Ch8a-2Ce.js → v3-D-mr2VVh-C_WUxELf.js} +6 -5
  30. package/dist/{v4-C-HWEQJm-DheWK34Z.js → v4-C-HWEQJm-C0ut0NwJ.js} +108 -30
  31. package/dist/yaml-Dd4aShtG.js +6210 -0
  32. package/package.json +20 -20
  33. package/dist/babel-DLjwvkt5.js +0 -9884
  34. package/dist/estree-DbmUPhmV.js +0 -7269
  35. package/dist/flow-CJbpv7JL.js +0 -52916
  36. package/dist/markdown-B5hFVJKQ.js +0 -6880
  37. package/dist/yaml-BC7gw7un.js +0 -5280
@@ -1,34 +1,39 @@
1
1
  import { n as __esmMin } from "./rolldown-runtime-CE-6LUnI.js";
2
- //#region ../../node_modules/.pnpm/prettier@3.8.4/node_modules/prettier/plugins/glimmer.mjs
3
- function Yn(e) {
2
+ //#region ../../node_modules/.pnpm/prettier@3.9.5/node_modules/prettier/plugins/glimmer.mjs
3
+ function Gn(e) {
4
4
  return this[e < 0 ? this.length + e : e];
5
5
  }
6
- function Wn(e) {
6
+ function Lr(e, t, r) {
7
+ if (!e.has(t)) {
8
+ let s = r(t);
9
+ e.set(t, s);
10
+ }
11
+ return e.get(t);
12
+ }
13
+ function jn(e) {
7
14
  if (typeof e == "string") return Ot;
8
15
  if (Array.isArray(e)) return It;
9
16
  if (!e) return;
10
17
  let { type: t } = e;
11
18
  if (ne.has(t)) return t;
12
19
  }
13
- function Qn(e) {
20
+ function Jn(e) {
14
21
  let t = e === null ? "null" : typeof e;
15
22
  if (t !== "string" && t !== "object") return `Unexpected doc '${t}',
16
23
  Expected it to be 'string' or 'object'.`;
17
24
  if (se(e)) throw new Error("doc is valid.");
18
25
  let r = Object.prototype.toString.call(e);
19
26
  if (r !== "[object Object]") return `Unexpected doc '${r}'.`;
20
- let s = jn([...ne].map((n) => `'${n}'`));
27
+ let s = Qn([...ne].map((n) => `'${n}'`));
21
28
  return `Unexpected doc.type '${e.type}'.
22
29
  Expected it to be ${s}.`;
23
30
  }
24
- function Jn(e, t) {
31
+ function $n(e, t) {
25
32
  if (typeof e == "string") return t(e);
26
33
  let r = /* @__PURE__ */ new Map();
27
34
  return s(e);
28
35
  function s(i) {
29
- if (r.has(i)) return r.get(i);
30
- let a = n(i);
31
- return r.set(i, a), a;
36
+ return Lr(r, i, n);
32
37
  }
33
38
  function n(i) {
34
39
  switch (se(i)) {
@@ -64,12 +69,12 @@ function Jn(e, t) {
64
69
  case ee:
65
70
  case Q:
66
71
  case xt: return t(i);
67
- default: throw new _r(i);
72
+ default: throw new Dr(i);
68
73
  }
69
74
  }
70
75
  }
71
- function ie(e, t = Lr) {
72
- return Jn(e, (r) => typeof r == "string" ? ct(t, r.split(`
76
+ function ie(e, t = Or) {
77
+ return $n(e, (r) => typeof r == "string" ? ut(t, r.split(`
73
78
  `)) : r);
74
79
  }
75
80
  function F(e) {
@@ -78,18 +83,18 @@ function F(e) {
78
83
  contents: e
79
84
  };
80
85
  }
81
- function $n(e, t) {
82
- return Or(e), M(t), {
86
+ function Xn(e, t) {
87
+ return Br(e), M(t), {
83
88
  type: Et,
84
89
  contents: t,
85
90
  n: e
86
91
  };
87
92
  }
88
93
  function Be(e) {
89
- return $n(-1, e);
94
+ return Xn(-1, e);
90
95
  }
91
96
  function qe(e) {
92
- return Dr(e), {
97
+ return Ir(e), {
93
98
  type: wt,
94
99
  parts: e
95
100
  };
@@ -111,14 +116,14 @@ function Ve(e, t = "", r = {}) {
111
116
  groupId: r.groupId
112
117
  };
113
118
  }
114
- function ct(e, t) {
119
+ function ut(e, t) {
115
120
  M(e), ae(t);
116
121
  let r = [];
117
122
  for (let s = 0; s < t.length; s++) s !== 0 && r.push(e), r.push(t[s]);
118
123
  return r;
119
124
  }
120
- function rs(e, t) {
121
- let { preferred: r, alternate: s } = t === !0 || t === "'" ? ts : es, { length: n } = e, i = 0, a = 0;
125
+ function oe(e, t) {
126
+ let { preferred: r, alternate: s } = t === !0 || t === "'" ? es : rs, { length: n } = e, i = 0, a = 0;
122
127
  for (let o = 0; o < n; o++) {
123
128
  let c = e.charCodeAt(o);
124
129
  c === r.codePoint ? i++ : c === s.codePoint && a++;
@@ -132,14 +137,6 @@ function Fe(e) {
132
137
  function is(e) {
133
138
  return Array.isArray(e) && e.length > 0;
134
139
  }
135
- function Vr(e, t, r) {
136
- if (e.type === "TextNode") {
137
- let s = e.chars.trim();
138
- if (!s) return null;
139
- r.tag === "style" && r.children.length === 1 && r.children[0] === e ? t.chars = "" : t.chars = R.split(s).join(" ");
140
- }
141
- e.type === "ElementNode" && (delete t.startTag, delete t.openTag, delete t.parts, delete t.endTag, delete t.closeTag, delete t.nameNode, delete t.body, delete t.blockParamNodes, delete t.params, delete t.path), e.type === "Block" && (delete t.blockParamNodes, delete t.params), e.type === "AttrNode" && e.name.toLowerCase() === "class" && delete t.value, e.type === "PathExpression" && (t.head = e.head.original);
142
- }
143
140
  function as(e) {
144
141
  let { node: t } = e;
145
142
  if (t.type !== "TextNode") return;
@@ -215,7 +212,7 @@ function We(e, t, r) {
215
212
  if (!s) return r;
216
213
  if (s.type === "ContentStatement") return (n || !r ? /^\s*?\r?\n/ : /^\s*?(\r?\n|$)/).test(s.original);
217
214
  }
218
- function ht(e, t, r) {
215
+ function pt(e, t, r) {
219
216
  var s = e[t == null ? 0 : t + 1];
220
217
  if (!(!s || s.type !== "ContentStatement" || !r && s.rightStripped)) {
221
218
  var n = s.value;
@@ -529,7 +526,7 @@ function pn(e) {
529
526
  return e.type === "StringLiteral" || e.type === "BooleanLiteral" || e.type === "NumberLiteral" || e.type === "NullLiteral" || e.type === "UndefinedLiteral";
530
527
  }
531
528
  function tr() {
532
- return Ze || (Ze = new pt("", "(synthetic)")), Ze;
529
+ return Ze || (Ze = new ft("", "(synthetic)")), Ze;
533
530
  }
534
531
  function rn(e, t) {
535
532
  return d.var({
@@ -611,7 +608,7 @@ function v(...e) {
611
608
  return t && typeof t == "object" ? A.forHbsLoc(tr(), t) : A.forHbsLoc(tr(), Bs);
612
609
  }
613
610
  {
614
- let [t, r, s, n, i] = e, a = i ? new pt("", i) : tr();
611
+ let [t, r, s, n, i] = e, a = i ? new ft("", i) : tr();
615
612
  return A.forHbsLoc(a, {
616
613
  start: {
617
614
  line: t,
@@ -693,7 +690,7 @@ function Nt(e) {
693
690
  }
694
691
  function mn(e, t = {}) {
695
692
  let r, s, n, i = t.mode || "precompile";
696
- typeof e == "string" ? (r = new pt(e, t.meta?.moduleName), s = i === "codemod" ? he(e, t.parseOptions) : Je(e, t.parseOptions)) : e instanceof pt ? (r = e, s = i === "codemod" ? he(e.source, t.parseOptions) : Je(e.source, t.parseOptions)) : (r = new pt("", t.meta?.moduleName), s = e), i === "codemod" && (n = new pr());
693
+ typeof e == "string" ? (r = new ft(e, t.meta?.moduleName), s = i === "codemod" ? he(e, t.parseOptions) : Je(e, t.parseOptions)) : e instanceof ft ? (r = e, s = i === "codemod" ? he(e.source, t.parseOptions) : Je(e.source, t.parseOptions)) : (r = new ft("", t.meta?.moduleName), s = e), i === "codemod" && (n = new pr());
697
694
  let a = A.forCharPositions(r, 0, r.source.length);
698
695
  s.loc = {
699
696
  source: "(program)",
@@ -704,6 +701,14 @@ function mn(e, t = {}) {
704
701
  if (t.plugins?.ast) for (let c of t.plugins.ast) Hs(o, c(ze({}, t, { syntax: Ms }, { plugins: void 0 })).visitor);
705
702
  return o;
706
703
  }
704
+ function dr(e, t, r) {
705
+ if (e.type === "TextNode") {
706
+ let s = e.chars.trim();
707
+ if (!s) return null;
708
+ r.tag === "style" && r.children.length === 1 && r.children[0] === e ? t.chars = "" : t.chars = R.split(s).join(" ");
709
+ }
710
+ e.type === "ElementNode" && (delete t.startTag, delete t.openTag, delete t.parts, delete t.endTag, delete t.closeTag, delete t.nameNode, delete t.body, delete t.blockParamNodes, delete t.params, delete t.path), e.type === "Block" && (delete t.blockParamNodes, delete t.params), e.type === "AttrNode" && e.name.toLowerCase() === "class" && delete t.value, e.type === "PathExpression" && (t.head = e.head.original);
711
+ }
707
712
  function bn(e) {
708
713
  return e.toUpperCase() === e;
709
714
  }
@@ -713,11 +718,11 @@ function Ks(e) {
713
718
  function Ws(e) {
714
719
  return Gs.has(e.toLowerCase()) && !bn(e[0]);
715
720
  }
716
- function dr(e) {
721
+ function gr(e) {
717
722
  return e.selfClosing === !0 || Ws(e.tag) || Ks(e) && e.children.every((t) => Se(t));
718
723
  }
719
724
  function Se(e) {
720
- return e.type === "TextNode" && !/\S/u.test(e.chars);
725
+ return e.type === "TextNode" && !/\S/.test(e.chars);
721
726
  }
722
727
  function gn(e) {
723
728
  return e?.type === "MustacheCommentStatement" && typeof e.value == "string" && e.value.trim() === "prettier-ignore";
@@ -733,7 +738,7 @@ function js(e, t, r) {
733
738
  case "Template": return I(e.map(r, "body"));
734
739
  case "ElementNode": {
735
740
  let n = t.htmlWhitespaceSensitivity !== "ignore", i = [!n && e.previous?.type === "ElementNode" ? H : "", I([Js(e, r)])];
736
- if (dr(s)) return [i];
741
+ if (gr(s)) return [i];
737
742
  let a = [
738
743
  "</",
739
744
  s.tag,
@@ -779,7 +784,7 @@ function js(e, t, r) {
779
784
  ]);
780
785
  case "AttrNode": {
781
786
  let { name: n, value: i } = s, a = i.type === "TextNode";
782
- if (a && i.chars === "" && mt(i) === Gt(i)) return n;
787
+ if (a && i.chars === "" && dt(i) === Gt(i)) return n;
783
788
  let c = a ? oe(i.chars, t.singleQuote) : i.type === "ConcatStatement" ? oe(i.parts.map((f) => f.type === "TextNode" ? f.chars : "").join(""), t.singleQuote) : "", h = r("value");
784
789
  return [
785
790
  n,
@@ -790,7 +795,7 @@ function js(e, t, r) {
790
795
  ];
791
796
  }
792
797
  case "ConcatStatement": return e.map(r, "parts");
793
- case "Hash": return ct(N, e.map(r, "pairs"));
798
+ case "Hash": return ut(N, e.map(r, "pairs"));
794
799
  case "HashPair": return [
795
800
  s.key,
796
801
  "=",
@@ -800,14 +805,14 @@ function js(e, t, r) {
800
805
  let n = s.chars, { parent: i } = e;
801
806
  if (i.type === "ElementNode") {
802
807
  if (i.tag === "pre") return ie(n);
803
- if (i.tag === "style") return n = St(0, n, /^\n+/gu, ""), n = R.trimEnd(n), n = R.dedentString(n), ie(n, ut);
808
+ if (i.tag === "style") return n = ct(0, n, /^\n+/g, ""), n = R.trimEnd(n), n = R.dedentString(n), ie(n, ht);
804
809
  }
805
- n = St(0, n, "{{", "\\{{");
810
+ n = ct(0, n, "{{", "\\{{");
806
811
  let a = ii(e);
807
812
  if (a) {
808
813
  if (a === "class") {
809
- let D = n.trim().split(/\s+/u).join(" "), B = !1, O = !1;
810
- return e.parent.type === "ConcatStatement" && (e.previous?.type === "MustacheStatement" && /^\s/u.test(n) && (B = !0), e.next?.type === "MustacheStatement" && /\s$/u.test(n) && D !== "" && (O = !0)), [
814
+ let D = ct(0, n.trim(), /\s+/g, " "), B = !1, O = !1;
815
+ return e.parent.type === "ConcatStatement" && (e.previous?.type === "MustacheStatement" && /^\s/.test(n) && (B = !0), e.next?.type === "MustacheStatement" && /\s$/.test(n) && D !== "" && (O = !0)), [
811
816
  B ? N : "",
812
817
  D,
813
818
  O ? N : ""
@@ -844,8 +849,8 @@ function js(e, t, r) {
844
849
  ...U
845
850
  ];
846
851
  }
847
- let f = _t(n), p = ai(n), g = oi(n);
848
852
  if ((c || h) && o && (e.parent.type === "Block" || e.parent.type === "ElementNode" || e.parent.type === "Template")) return "";
853
+ let f = _t(n), p = ai(n), g = oi(n);
849
854
  o && f ? (p = Math.min(f, xn), g = 0) : ((e.next?.type === "BlockStatement" || e.next?.type === "ElementNode") && (g = Math.max(g, 1)), (e.previous?.type === "BlockStatement" || e.previous?.type === "ElementNode") && (p = Math.max(p, 1)));
850
855
  let E = "", T = "";
851
856
  return g === 0 && e.next?.type === "MustacheStatement" && (T = " "), p === 0 && e.previous?.type === "MustacheStatement" && (E = " "), c && (p = 0, E = ""), h && (g = 0, T = ""), R.hasLeadingWhitespace(n) && (n = E + R.trimStart(n)), R.hasTrailingWhitespace(n) && (n = R.trimEnd(n) + T), [
@@ -855,7 +860,7 @@ function js(e, t, r) {
855
860
  ];
856
861
  }
857
862
  case "MustacheCommentStatement": {
858
- let n = mt(s), i = Gt(s), a = t.originalText.charAt(n + 2) === "~", o = t.originalText.charAt(i - 3) === "~", c = s.value.includes("}}") ? "--" : "";
863
+ let n = dt(s), i = Gt(s), a = t.originalText.charAt(n + 2) === "~", o = t.originalText.charAt(i - 3) === "~", c = s.value.includes("}}") ? "--" : "";
859
864
  return [
860
865
  "{{",
861
866
  a ? "~" : "",
@@ -878,11 +883,11 @@ function js(e, t, r) {
878
883
  case "NumberLiteral": return String(s.value);
879
884
  case "UndefinedLiteral": return "undefined";
880
885
  case "NullLiteral": return "null";
881
- default: throw new qr(s, "Handlebars");
886
+ default: throw new Fr(s, "Handlebars");
882
887
  }
883
888
  }
884
889
  function Qs(e, t) {
885
- return mt(e) - mt(t);
890
+ return dt(e) - dt(t);
886
891
  }
887
892
  function Js(e, t) {
888
893
  let { node: r } = e, s = [
@@ -892,9 +897,9 @@ function Js(e, t) {
892
897
  ].filter((i) => Bt(r[i])), n = s.flatMap((i) => r[i]).sort(Qs);
893
898
  for (let i of s) e.each(({ node: a }) => {
894
899
  let o = n.indexOf(a);
895
- n.splice(o, 1, [N, t()]);
900
+ n[o] = [N, t()];
896
901
  }, i);
897
- return Bt(r.blockParams) && n.push(N, br(r)), [
902
+ return Bt(r.blockParams) && n.push(N, yr(r)), [
898
903
  "<",
899
904
  r.tag,
900
905
  F(n),
@@ -902,7 +907,7 @@ function Js(e, t) {
902
907
  ];
903
908
  }
904
909
  function $s(e) {
905
- return dr(e) ? Ve([H, "/>"], [" />", H]) : Ve([H, ">"], ">");
910
+ return gr(e) ? Ve([H, "/>"], [" />", H]) : Ve([H, ">"], ">");
906
911
  }
907
912
  function ke(e) {
908
913
  return [e.trusting ? "{{{" : "{{", e.strip?.open ? "~" : ""];
@@ -942,17 +947,17 @@ function An(e) {
942
947
  }
943
948
  function ti(e, t) {
944
949
  let { node: r } = e, s = [], n = ve(e, t);
945
- return n && s.push(I(n)), Bt(r.program.blockParams) && s.push(br(r.program)), I([
950
+ return n && s.push(I(n)), Bt(r.program.blockParams) && s.push(yr(r.program)), I([
946
951
  Xs(r),
947
- gr(e, t),
948
- s.length > 0 ? F([N, ct(N, s)]) : "",
952
+ br(e, t),
953
+ s.length > 0 ? F([N, ut(N, s)]) : "",
949
954
  H,
950
955
  Zs(r)
951
956
  ]);
952
957
  }
953
958
  function ei(e, t) {
954
959
  return [
955
- t.htmlWhitespaceSensitivity === "ignore" ? ut : "",
960
+ t.htmlWhitespaceSensitivity === "ignore" ? ht : "",
956
961
  Nn(e),
957
962
  "else",
958
963
  An(e)
@@ -975,7 +980,7 @@ function ni(e, t) {
975
980
  F([
976
981
  N,
977
982
  I(ve(e, t)),
978
- ...Bt(r.program.blockParams) ? [N, br(r.program)] : []
983
+ ...Bt(r.program.blockParams) ? [N, yr(r.program)] : []
979
984
  ]),
980
985
  H,
981
986
  An(s)
@@ -984,7 +989,7 @@ function ni(e, t) {
984
989
  function si(e, t, r) {
985
990
  let { node: s } = e;
986
991
  return t.htmlWhitespaceSensitivity === "ignore" ? [
987
- Cn(s) ? H : ut,
992
+ Cn(s) ? H : ht,
988
993
  Sn(s),
989
994
  r("path"),
990
995
  kn(s)
@@ -1001,16 +1006,16 @@ function En(e, t, r) {
1001
1006
  let { node: s } = e;
1002
1007
  if (Cn(s)) return "";
1003
1008
  let n = r("program");
1004
- return t.htmlWhitespaceSensitivity === "ignore" ? F([ut, n]) : F(n);
1009
+ return t.htmlWhitespaceSensitivity === "ignore" ? F([ht, n]) : F(n);
1005
1010
  }
1006
1011
  function vn(e, t, r) {
1007
1012
  let { node: s } = e;
1008
1013
  if (!s.inverse) return "";
1009
- let n = r("inverse"), i = t.htmlWhitespaceSensitivity === "ignore" ? [ut, n] : n;
1014
+ let n = r("inverse"), i = t.htmlWhitespaceSensitivity === "ignore" ? [ht, n] : n;
1010
1015
  return e.call(Pn, "inverse", "body", 0) ? i : [ei(s, t), F(i)];
1011
1016
  }
1012
1017
  function wn(e) {
1013
- return ct(N, R.split(e));
1018
+ return ut(N, R.split(e));
1014
1019
  }
1015
1020
  function ii(e) {
1016
1021
  for (let t = 0; t < 2; t++) {
@@ -1024,20 +1029,20 @@ function _t(e) {
1024
1029
  }
1025
1030
  function ai(e) {
1026
1031
  e = typeof e == "string" ? e : "";
1027
- return _t((e.match(/^([^\S\n\r]*[\n\r])+/gu) || [])[0] || "");
1032
+ return _t((e.match(/^([^\S\n\r]*[\n\r])+/g) || [])[0] || "");
1028
1033
  }
1029
1034
  function oi(e) {
1030
1035
  e = typeof e == "string" ? e : "";
1031
- return _t((e.match(/([\n\r][^\S\n\r]*)+$/gu) || [])[0] || "");
1036
+ return _t((e.match(/([\n\r][^\S\n\r]*)+$/g) || [])[0] || "");
1032
1037
  }
1033
1038
  function Kt(e = 0) {
1034
- return Array.from({ length: Math.min(e, xn) }).fill(ut);
1039
+ return Array.from({ length: Math.min(e, xn) }, () => ht);
1035
1040
  }
1036
1041
  function li(e, t) {
1037
1042
  let { node: { value: r } } = e, s = oe(r, ci(e) ? !t.singleQuote : t.singleQuote);
1038
1043
  return [
1039
1044
  s,
1040
- St(0, r, s, `\\${s}`),
1045
+ ct(0, r, s, `\\${s}`),
1041
1046
  s
1042
1047
  ];
1043
1048
  }
@@ -1046,7 +1051,7 @@ function ci(e) {
1046
1051
  return r !== -1 && t[r + 1].type === "ConcatStatement" && t[r + 2].type === "AttrNode";
1047
1052
  }
1048
1053
  function ui(e, t) {
1049
- let r = gr(e, t), s = ve(e, t);
1054
+ let r = br(e, t), s = ve(e, t);
1050
1055
  return s ? F([
1051
1056
  r,
1052
1057
  N,
@@ -1054,21 +1059,21 @@ function ui(e, t) {
1054
1059
  ]) : r;
1055
1060
  }
1056
1061
  function Tn(e, t) {
1057
- let r = gr(e, t), s = ve(e, t);
1062
+ let r = br(e, t), s = ve(e, t);
1058
1063
  return s ? [F([
1059
1064
  r,
1060
1065
  N,
1061
1066
  s
1062
1067
  ]), H] : r;
1063
1068
  }
1064
- function gr(e, t) {
1069
+ function br(e, t) {
1065
1070
  return t("path");
1066
1071
  }
1067
1072
  function ve(e, t) {
1068
1073
  let { node: r } = e, s = [];
1069
- return r.params.length > 0 && s.push(...e.map(t, "params")), r.hash?.pairs.length > 0 && s.push(t("hash")), s.length === 0 ? "" : ct(N, s);
1074
+ return r.params.length > 0 && s.push(...e.map(t, "params")), r.hash?.pairs.length > 0 && s.push(t("hash")), s.length === 0 ? "" : ut(N, s);
1070
1075
  }
1071
- function br(e) {
1076
+ function yr(e) {
1072
1077
  return [
1073
1078
  "as |",
1074
1079
  e.blockParams.join(" "),
@@ -1083,6 +1088,9 @@ function gi(e, t) {
1083
1088
  return Object.assign(r, t);
1084
1089
  }
1085
1090
  function bi(e) {
1091
+ return ct(0, e, /[^\n]/g, " ");
1092
+ }
1093
+ function yi(e) {
1086
1094
  let t = e.slice(0, Wt);
1087
1095
  if (t !== "---" && t !== "+++") return;
1088
1096
  let r = e.indexOf(`
@@ -1093,7 +1101,7 @@ ${t}`, r), i = s;
1093
1101
  if (i || (i = t === "+++" ? "toml" : "yaml"), n === -1 && t === "---" && i === "yaml" && (n = e.indexOf(`
1094
1102
  ...`, r)), n === -1) return;
1095
1103
  let a = n + 1 + Wt, o = e.charAt(a + 1);
1096
- if (!/\s?/u.test(o)) return;
1104
+ if (!/\s?/.test(o)) return;
1097
1105
  let c = e.slice(0, a), h;
1098
1106
  return {
1099
1107
  language: i,
@@ -1118,30 +1126,30 @@ ${t}`, r), i = s;
1118
1126
  `)), V(0, h, -1).length;
1119
1127
  }
1120
1128
  },
1121
- [On]: !0
1129
+ [In]: !0
1122
1130
  };
1123
1131
  }
1124
- function yi(e) {
1125
- let t = bi(e);
1132
+ function Si(e) {
1133
+ let t = yi(e);
1126
1134
  return t ? {
1127
1135
  frontMatter: t,
1128
1136
  get content() {
1129
1137
  let { raw: r } = t;
1130
- return St(0, r, /[^\n]/gu, " ") + e.slice(r.length);
1138
+ return On(r) + e.slice(r.length);
1131
1139
  }
1132
1140
  } : { content: e };
1133
1141
  }
1134
- function Si(e) {
1142
+ function ki(e) {
1135
1143
  let t = e.children ?? e.body;
1136
- if (t) for (let r = 0; r < t.length - 1; r++) t[r].type === "TextNode" && t[r + 1].type === "MustacheStatement" && (t[r].chars = t[r].chars.replace(/\\$/u, "\\\\"));
1144
+ if (t) for (let r = 0; r < t.length - 1; r++) t[r].type === "TextNode" && t[r + 1].type === "MustacheStatement" && (t[r].chars = t[r].chars.replace(/\\$/, "\\\\"));
1137
1145
  }
1138
- function wi(e) {
1139
- let { frontMatter: t, content: r } = In(e), s;
1146
+ function Ti(e) {
1147
+ let { frontMatter: t, content: r } = Bn(e), s;
1140
1148
  try {
1141
- s = mn(r, vi);
1149
+ s = mn(r, wi);
1142
1150
  } catch (n) {
1143
- let i = xi(n);
1144
- if (i) throw Dn(Ti(n), {
1151
+ let i = Ni(n);
1152
+ if (i) throw Dn(xi(n), {
1145
1153
  loc: i,
1146
1154
  cause: n
1147
1155
  });
@@ -1166,16 +1174,25 @@ function wi(e) {
1166
1174
  }
1167
1175
  return s;
1168
1176
  }
1169
- function Ti(e) {
1177
+ function xi(e) {
1170
1178
  let { message: t } = e, r = t.split(`
1171
1179
  `);
1172
- return r.length >= 4 && /^Parse error on line \d+:$/u.test(r[0]) && /^-*\^$/u.test(V(0, r, -2)) ? V(0, r, -1) : r.length >= 4 && /:\s?$/u.test(r[0]) && /^\(error occurred in '.*?' @ line \d+ : column \d+\)$/u.test(V(0, r, -1)) && r[1] === "" && V(0, r, -2) === "" && r.slice(2, -2).every((s) => s.startsWith("|")) ? r[0].trim().slice(0, -1) : t;
1180
+ return r.length >= 4 && /^Parse error on line \d+:$/.test(r[0]) && /^-*\^$/.test(V(0, r, -2)) ? V(0, r, -1) : r.length >= 4 && /:\s?$/.test(r[0]) && /^\(error occurred in '.*?' @ line \d+ : column \d+\)$/.test(V(0, r, -1)) && r[1] === "" && V(0, r, -2) === "" && r.slice(2, -2).every((s) => s.startsWith("|")) ? r[0].trim().slice(0, -1) : t;
1173
1181
  }
1174
- function xi(e) {
1182
+ function Ni(e) {
1175
1183
  let { location: t, hash: r } = e;
1176
1184
  if (t) {
1177
1185
  let { start: s, end: n } = t;
1178
- return typeof n.line != "number" ? { start: s } : t;
1186
+ return {
1187
+ start: {
1188
+ line: s.line,
1189
+ column: s.column + 1
1190
+ },
1191
+ end: typeof n.line == "number" ? {
1192
+ line: n.line,
1193
+ column: n.column + 1
1194
+ } : void 0
1195
+ };
1179
1196
  }
1180
1197
  if (r) {
1181
1198
  let { loc: { last_line: s, last_column: n } } = r;
@@ -1185,33 +1202,50 @@ function xi(e) {
1185
1202
  } };
1186
1203
  }
1187
1204
  }
1188
- var Un, Oe, Bn, Jt, Mn, St, V, Kn, Dt, Ot, It, $t, kt, Et, Xt, vt, wt, Tt, Zt, te, ee, Q, re, xt, ne, se, jn, Ie, _r, M, ae, Dr, Or, Re, N, H, ut, Lr, Ir, Br, ts, es, oe, He, R, Bt, Ue, qr, Fr, Hr, Rt, os, Ur, ze, Mr, Vt, Ye, tt, Wr, jr, Ft, hs, Qr, ue, $r, ws, Ts, xs, $e, Ns, As, Ps, Xe, pe, _s, de, st, Bs, sr, nt, ir, ge, ar, or, A, Ut, Mt, J, K, it, Pt, ft, at, zt, Rs, pt, be, mr, Ct, lr, Ze, Us, fe, d, cr, ur, hr, Ms, pr, dn, mt, Gt, Gs, xn, ri, hi, pi, fi, _n, Ln, yr, Dn, On, Wt, In, ki, Ei, vi, Ni, Ai;
1205
+ var Mn, Oe, Rn, Jt, zn, ct, V, Wn, Dt, Ot, It, $t, kt, Et, Xt, vt, wt, Tt, Zt, te, ee, Q, re, xt, ne, se, Qn, Ie, Dr, M, ae, Ir, Br, Re, N, H, ht, Or, Rr, qr, es, rs, He, R, Bt, Ue, Fr, Hr, Rt, os, Ur, ze, Mr, Vt, Ye, tt, Wr, jr, Ft, hs, Qr, ue, $r, ws, Ts, xs, $e, Ns, As, Ps, Xe, pe, _s, de, st, Bs, sr, nt, ir, ge, ar, or, A, Ut, Mt, J, K, it, Pt, mt, at, zt, Rs, ft, be, mr, Ct, lr, Ze, Us, fe, d, cr, ur, hr, Ms, pr, dn, dt, Gt, Gs, xn, ri, hi, pi, fi, _n, Ln, Sr, Dn, On, In, Wt, Bn, Ei, vi, wi, Ai, Pi;
1189
1206
  //#endregion
1190
1207
  __esmMin((() => {
1191
- Un = Object.defineProperty;
1208
+ Mn = Object.defineProperty;
1192
1209
  Oe = (e, t) => {
1193
- for (var r in t) Un(e, r, {
1210
+ for (var r in t) Mn(e, r, {
1194
1211
  get: t[r],
1195
1212
  enumerable: !0
1196
1213
  });
1197
1214
  };
1198
- Bn = {};
1199
- Oe(Bn, {
1215
+ Rn = {};
1216
+ Oe(Rn, {
1200
1217
  languages: () => Ln,
1201
- parsers: () => yr,
1202
- printers: () => Ai
1218
+ parsers: () => Sr,
1219
+ printers: () => Pi
1203
1220
  });
1204
1221
  Jt = (e, t) => (r, s, ...n) => r | 1 && s == null ? void 0 : (t.call(s) ?? s[e]).apply(s, n);
1205
- Mn = String.prototype.replaceAll ?? function(e, t) {
1222
+ zn = String.prototype.replaceAll ?? function(e, t) {
1206
1223
  return e.global ? this.replace(e, t) : this.split(e).join(t);
1207
- }, St = Jt("replaceAll", function() {
1208
- if (typeof this == "string") return Mn;
1224
+ };
1225
+ ct = Jt("replaceAll", function() {
1226
+ if (typeof this == "string") return zn;
1209
1227
  });
1210
1228
  V = Jt("at", function() {
1211
- if (Array.isArray(this) || typeof this == "string") return Yn;
1229
+ if (Array.isArray(this) || typeof this == "string") return Gn;
1212
1230
  });
1213
- Kn = () => {}, Dt = Kn;
1214
- Ot = "string", It = "array", $t = "cursor", kt = "indent", Et = "align", Xt = "trim", vt = "group", wt = "fill", Tt = "if-break", Zt = "indent-if-break", te = "line-suffix", ee = "line-suffix-boundary", Q = "line", re = "label", xt = "break-parent", ne = /* @__PURE__ */ new Set([
1231
+ Wn = () => {};
1232
+ Dt = Wn;
1233
+ Ot = "string";
1234
+ It = "array";
1235
+ $t = "cursor";
1236
+ kt = "indent";
1237
+ Et = "align";
1238
+ Xt = "trim";
1239
+ vt = "group";
1240
+ wt = "fill";
1241
+ Tt = "if-break";
1242
+ Zt = "indent-if-break";
1243
+ te = "line-suffix";
1244
+ ee = "line-suffix-boundary";
1245
+ Q = "line";
1246
+ re = "label";
1247
+ xt = "break-parent";
1248
+ ne = /* @__PURE__ */ new Set([
1215
1249
  $t,
1216
1250
  kt,
1217
1251
  Et,
@@ -1226,41 +1260,50 @@ __esmMin((() => {
1226
1260
  re,
1227
1261
  xt
1228
1262
  ]);
1229
- se = Wn;
1230
- jn = (e) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e);
1263
+ se = jn;
1264
+ Qn = (e) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e);
1231
1265
  Ie = class extends Error {
1232
1266
  name = "InvalidDocError";
1233
1267
  constructor(t) {
1234
- super(Qn(t)), this.doc = t;
1268
+ super(Jn(t)), this.doc = t;
1235
1269
  }
1236
- }, _r = Ie;
1237
- M = Dt, ae = Dt, Dr = Dt, Or = Dt;
1270
+ };
1271
+ Dr = Ie;
1272
+ M = Dt;
1273
+ ae = Dt;
1274
+ Ir = Dt;
1275
+ Br = Dt;
1238
1276
  Re = { type: xt };
1239
- N = { type: Q }, H = {
1277
+ N = { type: Q };
1278
+ H = {
1240
1279
  type: Q,
1241
1280
  soft: !0
1242
- }, ut = [{
1281
+ };
1282
+ ht = [{
1243
1283
  type: Q,
1244
1284
  hard: !0
1245
- }, Re], Lr = [{
1285
+ }, Re];
1286
+ Or = [{
1246
1287
  type: Q,
1247
1288
  hard: !0,
1248
1289
  literal: !0
1249
1290
  }, Re];
1250
- Ir = Object.freeze({
1291
+ Rr = Object.freeze({
1251
1292
  character: "'",
1252
1293
  codePoint: 39
1253
- }), Br = Object.freeze({
1294
+ });
1295
+ qr = Object.freeze({
1254
1296
  character: "\"",
1255
1297
  codePoint: 34
1256
- }), ts = Object.freeze({
1257
- preferred: Ir,
1258
- alternate: Br
1259
- }), es = Object.freeze({
1260
- preferred: Br,
1261
- alternate: Ir
1262
1298
  });
1263
- oe = rs;
1299
+ es = Object.freeze({
1300
+ preferred: Rr,
1301
+ alternate: qr
1302
+ });
1303
+ rs = Object.freeze({
1304
+ preferred: qr,
1305
+ alternate: Rr
1306
+ });
1264
1307
  He = class {
1265
1308
  #t;
1266
1309
  constructor(t) {
@@ -1302,7 +1345,7 @@ __esmMin((() => {
1302
1345
  return this.trimEnd(this.trimStart(t));
1303
1346
  }
1304
1347
  split(t, r = !1) {
1305
- let s = `[${Fe([...this.#t].join(""))}]+`, n = new RegExp(r ? `(${s})` : s, "u");
1348
+ let s = `[${Fe([...this.#t].join(""))}]+`, n = new RegExp(r ? `(${s})` : s);
1306
1349
  return t.split(n);
1307
1350
  }
1308
1351
  hasWhitespaceCharacter(t) {
@@ -1349,9 +1392,8 @@ __esmMin((() => {
1349
1392
  constructor(t, r, s = "type") {
1350
1393
  super(`Unexpected ${r} node ${s}: ${JSON.stringify(t[s])}.`), this.node = t;
1351
1394
  }
1352
- }, qr = Ue;
1353
- Vr.ignoredProperties = /* @__PURE__ */ new Set(["loc", "selfClosing"]);
1354
- Fr = Vr;
1395
+ };
1396
+ Fr = Ue;
1355
1397
  Hr = as;
1356
1398
  Rt = null;
1357
1399
  os = 10;
@@ -1466,7 +1508,7 @@ __esmMin((() => {
1466
1508
  89,
1467
1509
  92,
1468
1510
  93
1469
- ], Sr = [2, 51], kr = [1, 64], Er = [
1511
+ ], kr = [2, 51], Er = [1, 64], vr = [
1470
1512
  67,
1471
1513
  73,
1472
1514
  75,
@@ -1477,7 +1519,7 @@ __esmMin((() => {
1477
1519
  87,
1478
1520
  88,
1479
1521
  89
1480
- ], vr = [
1522
+ ], wr = [
1481
1523
  56,
1482
1524
  67,
1483
1525
  73,
@@ -1488,7 +1530,7 @@ __esmMin((() => {
1488
1530
  87,
1489
1531
  88,
1490
1532
  89
1491
- ], wr = [1, 75], we = [1, 76], Te = [1, 83], dt = [
1533
+ ], Tr = [1, 75], we = [1, 76], Te = [1, 83], gt = [
1492
1534
  33,
1493
1535
  67,
1494
1536
  73,
@@ -1500,7 +1542,7 @@ __esmMin((() => {
1500
1542
  87,
1501
1543
  88,
1502
1544
  89
1503
- ], Tr = [
1545
+ ], xr = [
1504
1546
  23,
1505
1547
  67,
1506
1548
  73,
@@ -1511,7 +1553,7 @@ __esmMin((() => {
1511
1553
  87,
1512
1554
  88,
1513
1555
  89
1514
- ], xr = [
1556
+ ], Nr = [
1515
1557
  67,
1516
1558
  68,
1517
1559
  73,
@@ -1522,7 +1564,7 @@ __esmMin((() => {
1522
1564
  87,
1523
1565
  88,
1524
1566
  89
1525
- ], gt = [33, 79], xe = [1, 134], Nr = [73, 81], Ne = {
1567
+ ], bt = [33, 79], xe = [1, 134], Ar = [73, 81], Ne = {
1526
1568
  trace: function() {},
1527
1569
  yy: {},
1528
1570
  symbols_: {
@@ -1769,7 +1811,7 @@ __esmMin((() => {
1769
1811
  [80, 1],
1770
1812
  [80, 2]
1771
1813
  ],
1772
- performAction: function(b, S, y, m, w, l, bt) {
1814
+ performAction: function(b, S, y, m, w, l, yt) {
1773
1815
  var u = l.length - 1;
1774
1816
  switch (w) {
1775
1817
  case 1: return l[u - 1];
@@ -2296,7 +2338,7 @@ __esmMin((() => {
2296
2338
  89,
2297
2339
  92,
2298
2340
  93
2299
- ], Sr, { 74: kr }),
2341
+ ], kr, { 74: Er }),
2300
2342
  e(P, [2, 49], {
2301
2343
  91: 65,
2302
2344
  92: U,
@@ -2306,7 +2348,7 @@ __esmMin((() => {
2306
2348
  73: E,
2307
2349
  90: 66
2308
2350
  },
2309
- e(Er, [2, 106], { 76: 67 }),
2351
+ e(vr, [2, 106], { 76: 67 }),
2310
2352
  {
2311
2353
  20: 28,
2312
2354
  49: 68,
@@ -2329,12 +2371,12 @@ __esmMin((() => {
2329
2371
  89: g,
2330
2372
  90: 41
2331
2373
  },
2332
- e(vr, [2, 88], { 54: 70 }),
2333
- e(W, Sr),
2374
+ e(wr, [2, 88], { 54: 70 }),
2375
+ e(W, kr),
2334
2376
  {
2335
2377
  25: 71,
2336
2378
  38: 73,
2337
- 39: wr,
2379
+ 39: Tr,
2338
2380
  43: 74,
2339
2381
  44: we,
2340
2382
  45: 72,
@@ -2356,14 +2398,14 @@ __esmMin((() => {
2356
2398
  26: 82,
2357
2399
  47: Te
2358
2400
  },
2359
- e(dt, [2, 64], { 30: 84 }),
2401
+ e(gt, [2, 64], { 30: 84 }),
2360
2402
  {
2361
2403
  91: 61,
2362
2404
  92: U,
2363
2405
  93: C
2364
2406
  },
2365
- e(dt, [2, 70], { 35: 85 }),
2366
- e(Tr, [2, 56], { 21: 86 }),
2407
+ e(gt, [2, 70], { 35: 85 }),
2408
+ e(xr, [2, 56], { 21: 86 }),
2367
2409
  e(z, [2, 96], { 62: 87 }),
2368
2410
  e(s, [2, 22]),
2369
2411
  {
@@ -2391,7 +2433,7 @@ __esmMin((() => {
2391
2433
  90: 41
2392
2434
  },
2393
2435
  e($, [2, 105]),
2394
- { 74: kr },
2436
+ { 74: Er },
2395
2437
  {
2396
2438
  73: E,
2397
2439
  90: 91
@@ -2444,7 +2486,7 @@ __esmMin((() => {
2444
2486
  90: 41
2445
2487
  },
2446
2488
  { 68: [1, 96] },
2447
- e(xr, [2, 100], { 69: 97 }),
2489
+ e(Nr, [2, 100], { 69: 97 }),
2448
2490
  {
2449
2491
  20: 28,
2450
2492
  49: 100,
@@ -2551,7 +2593,7 @@ __esmMin((() => {
2551
2593
  89: g,
2552
2594
  90: 41
2553
2595
  },
2554
- e(gt, [2, 66], {
2596
+ e(bt, [2, 66], {
2555
2597
  71: 27,
2556
2598
  20: 28,
2557
2599
  64: 29,
@@ -2574,7 +2616,7 @@ __esmMin((() => {
2574
2616
  88: p,
2575
2617
  89: g
2576
2618
  }),
2577
- e(gt, [2, 72], {
2619
+ e(bt, [2, 72], {
2578
2620
  71: 27,
2579
2621
  20: 28,
2580
2622
  64: 29,
@@ -2656,7 +2698,7 @@ __esmMin((() => {
2656
2698
  e($, [2, 35]),
2657
2699
  e(W, [2, 50]),
2658
2700
  e(W, [2, 36]),
2659
- e(Er, [2, 107]),
2701
+ e(vr, [2, 107]),
2660
2702
  e(W, [2, 32]),
2661
2703
  {
2662
2704
  20: 28,
@@ -2683,19 +2725,19 @@ __esmMin((() => {
2683
2725
  90: 41
2684
2726
  },
2685
2727
  { 56: [1, 126] },
2686
- e(vr, [2, 89]),
2728
+ e(wr, [2, 89]),
2687
2729
  { 56: [2, 91] },
2688
2730
  e(s, [2, 13]),
2689
2731
  {
2690
2732
  38: 73,
2691
- 39: wr,
2733
+ 39: Tr,
2692
2734
  43: 74,
2693
2735
  44: we,
2694
2736
  45: 128,
2695
2737
  46: 127,
2696
2738
  47: [2, 82]
2697
2739
  },
2698
- e(dt, [2, 76], { 40: 129 }),
2740
+ e(gt, [2, 76], { 40: 129 }),
2699
2741
  { 47: [2, 18] },
2700
2742
  e(s, [2, 14]),
2701
2743
  { 33: [1, 130] },
@@ -2708,30 +2750,30 @@ __esmMin((() => {
2708
2750
  78: 133,
2709
2751
  79: xe
2710
2752
  },
2711
- e(dt, [2, 65]),
2712
- e(gt, [2, 67]),
2753
+ e(gt, [2, 65]),
2754
+ e(bt, [2, 67]),
2713
2755
  {
2714
2756
  33: [2, 74],
2715
2757
  37: 135,
2716
2758
  78: 136,
2717
2759
  79: xe
2718
2760
  },
2719
- e(dt, [2, 71]),
2720
- e(gt, [2, 73]),
2761
+ e(gt, [2, 71]),
2762
+ e(bt, [2, 73]),
2721
2763
  { 23: [1, 137] },
2722
- e(Tr, [2, 57]),
2764
+ e(xr, [2, 57]),
2723
2765
  { 23: [2, 59] },
2724
2766
  { 33: [1, 138] },
2725
2767
  e(z, [2, 97]),
2726
2768
  { 33: [2, 99] },
2727
2769
  e(s, [2, 23]),
2728
2770
  { 68: [1, 139] },
2729
- e(xr, [2, 101]),
2771
+ e(Nr, [2, 101]),
2730
2772
  { 68: [2, 103] },
2731
2773
  e(s, [2, 24]),
2732
2774
  { 47: [2, 19] },
2733
2775
  { 47: [2, 83] },
2734
- e(gt, [2, 78], {
2776
+ e(bt, [2, 78], {
2735
2777
  71: 27,
2736
2778
  20: 28,
2737
2779
  64: 29,
@@ -2773,19 +2815,19 @@ __esmMin((() => {
2773
2815
  78: 148,
2774
2816
  79: xe
2775
2817
  },
2776
- e(dt, [2, 77]),
2777
- e(gt, [2, 79]),
2818
+ e(gt, [2, 77]),
2819
+ e(bt, [2, 79]),
2778
2820
  e(T, [2, 15]),
2779
2821
  {
2780
2822
  73: [1, 150],
2781
2823
  81: [1, 149]
2782
2824
  },
2783
- e(Nr, [2, 108]),
2825
+ e(Ar, [2, 108]),
2784
2826
  e(D, [2, 16]),
2785
2827
  { 33: [1, 151] },
2786
2828
  { 33: [2, 81] },
2787
2829
  { 33: [2, 37] },
2788
- e(Nr, [2, 109]),
2830
+ e(Ar, [2, 109]),
2789
2831
  e(T, [2, 17])
2790
2832
  ],
2791
2833
  defaultActions: {
@@ -2817,24 +2859,24 @@ __esmMin((() => {
2817
2859
  }
2818
2860
  },
2819
2861
  parse: function(b) {
2820
- var S = this, y = [0], w = [null], l = [], bt = this.table, u = "", Z = 0, Lt = 0, Ar = 0, qn = 2, Pr = 1, Vn = l.slice.call(arguments, 1), x = Object.create(this.lexer), ot = { yy: {} };
2862
+ var S = this, y = [0], w = [null], l = [], yt = this.table, u = "", Z = 0, Lt = 0, Pr = 0, Vn = 2, Cr = 1, Fn = l.slice.call(arguments, 1), x = Object.create(this.lexer), ot = { yy: {} };
2821
2863
  for (var Pe in this.yy) Object.prototype.hasOwnProperty.call(this.yy, Pe) && (ot.yy[Pe] = this.yy[Pe]);
2822
2864
  x.setInput(b, ot.yy), ot.yy.lexer = x, ot.yy.parser = this, typeof x.yylloc > "u" && (x.yylloc = {});
2823
2865
  var Ce = x.yylloc;
2824
2866
  l.push(Ce);
2825
- var Fn = x.options && x.options.ranges;
2867
+ var Hn = x.options && x.options.ranges;
2826
2868
  typeof ot.yy.parseError == "function" ? this.parseError = ot.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
2827
- for (var Hn = function() {
2869
+ for (var Un = function() {
2828
2870
  var Y;
2829
- return Y = x.lex() || Pr, typeof Y != "number" && (Y = S.symbols_[Y] || Y), Y;
2830
- }, L, _e, lt, q, Le, yt = {}, jt, j, Cr, Qt;;) {
2831
- if (lt = y[y.length - 1], this.defaultActions[lt] ? q = this.defaultActions[lt] : ((L === null || typeof L > "u") && (L = Hn()), q = bt[lt] && bt[lt][L]), typeof q > "u" || !q.length || !q[0]) {
2871
+ return Y = x.lex() || Cr, typeof Y != "number" && (Y = S.symbols_[Y] || Y), Y;
2872
+ }, L, _e, lt, q, Le, St = {}, jt, j, _r, Qt;;) {
2873
+ if (lt = y[y.length - 1], this.defaultActions[lt] ? q = this.defaultActions[lt] : ((L === null || typeof L > "u") && (L = Un()), q = yt[lt] && yt[lt][L]), typeof q > "u" || !q.length || !q[0]) {
2832
2874
  var De = "";
2833
2875
  Qt = [];
2834
- for (jt in bt[lt]) this.terminals_[jt] && jt > qn && Qt.push("'" + this.terminals_[jt] + "'");
2876
+ for (jt in yt[lt]) this.terminals_[jt] && jt > Vn && Qt.push("'" + this.terminals_[jt] + "'");
2835
2877
  x.showPosition ? De = "Parse error on line " + (Z + 1) + `:
2836
2878
  ` + x.showPosition() + `
2837
- Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De = "Parse error on line " + (Z + 1) + ": Unexpected " + (L == Pr ? "end of input" : "'" + (this.terminals_[L] || L) + "'"), this.parseError(De, {
2879
+ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De = "Parse error on line " + (Z + 1) + ": Unexpected " + (L == Cr ? "end of input" : "'" + (this.terminals_[L] || L) + "'"), this.parseError(De, {
2838
2880
  text: x.match,
2839
2881
  token: this.terminals_[L] || L,
2840
2882
  line: x.yylineno,
@@ -2845,15 +2887,15 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
2845
2887
  if (q[0] instanceof Array && q.length > 1) throw new Error("Parse Error: multiple actions possible at state: " + lt + ", token: " + L);
2846
2888
  switch (q[0]) {
2847
2889
  case 1:
2848
- y.push(L), w.push(x.yytext), l.push(x.yylloc), y.push(q[1]), L = null, _e ? (L = _e, _e = null) : (Lt = x.yyleng, u = x.yytext, Z = x.yylineno, Ce = x.yylloc, Ar > 0 && Ar--);
2890
+ y.push(L), w.push(x.yytext), l.push(x.yylloc), y.push(q[1]), L = null, _e ? (L = _e, _e = null) : (Lt = x.yyleng, u = x.yytext, Z = x.yylineno, Ce = x.yylloc, Pr > 0 && Pr--);
2849
2891
  break;
2850
2892
  case 2:
2851
- if (j = this.productions_[q[1]][1], yt.$ = w[w.length - j], yt._$ = {
2893
+ if (j = this.productions_[q[1]][1], St.$ = w[w.length - j], St._$ = {
2852
2894
  first_line: l[l.length - (j || 1)].first_line,
2853
2895
  last_line: l[l.length - 1].last_line,
2854
2896
  first_column: l[l.length - (j || 1)].first_column,
2855
2897
  last_column: l[l.length - 1].last_column
2856
- }, Fn && (yt._$.range = [l[l.length - (j || 1)].range[0], l[l.length - 1].range[1]]), Le = this.performAction.apply(yt, [
2898
+ }, Hn && (St._$.range = [l[l.length - (j || 1)].range[0], l[l.length - 1].range[1]]), Le = this.performAction.apply(St, [
2857
2899
  u,
2858
2900
  Lt,
2859
2901
  Z,
@@ -2861,8 +2903,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
2861
2903
  q[1],
2862
2904
  w,
2863
2905
  l
2864
- ].concat(Vn)), typeof Le < "u") return Le;
2865
- j && (y = y.slice(0, -1 * j * 2), w = w.slice(0, -1 * j), l = l.slice(0, -1 * j)), y.push(this.productions_[q[1]][0]), w.push(yt.$), l.push(yt._$), Cr = bt[y[y.length - 2]][y[y.length - 1]], y.push(Cr);
2906
+ ].concat(Fn)), typeof Le < "u") return Le;
2907
+ j && (y = y.slice(0, -1 * j * 2), w = w.slice(0, -1 * j), l = l.slice(0, -1 * j)), y.push(this.productions_[q[1]][0]), w.push(St.$), l.push(St._$), _r = yt[y[y.length - 2]][y[y.length - 1]], y.push(_r);
2866
2908
  break;
2867
2909
  case 3: return !0;
2868
2910
  }
@@ -3275,7 +3317,7 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
3275
3317
  var a = s[n], o = this.accept(a);
3276
3318
  if (o) {
3277
3319
  var c = Ke(s, n, r), h = We(s, n, r), f = o.openStandalone && c, p = o.closeStandalone && h, g = o.inlineStandalone && c && h;
3278
- o.close && ht(s, n, !0), o.open && et(s, n, !0), t && g && (ht(s, n), et(s, n) && a.type === "PartialStatement" && (a.indent = /([ \t]+$)/.exec(s[n - 1].original)[1])), t && f && (ht((a.program || a.inverse).body), et(s, n)), t && p && (ht(s, n), et((a.inverse || a.program).body));
3320
+ o.close && pt(s, n, !0), o.open && et(s, n, !0), t && g && (pt(s, n), et(s, n) && a.type === "PartialStatement" && (a.indent = /([ \t]+$)/.exec(s[n - 1].original)[1])), t && f && (pt((a.program || a.inverse).body), et(s, n)), t && p && (pt(s, n), et((a.inverse || a.program).body));
3279
3321
  }
3280
3322
  }
3281
3323
  return e;
@@ -3290,9 +3332,9 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
3290
3332
  openStandalone: We(t.body),
3291
3333
  closeStandalone: Ke((s || t).body)
3292
3334
  };
3293
- if (e.openStrip.close && ht(t.body, null, !0), r) {
3335
+ if (e.openStrip.close && pt(t.body, null, !0), r) {
3294
3336
  var a = e.inverseStrip;
3295
- a.open && et(t.body, null, !0), a.close && ht(s.body, null, !0), e.closeStrip.open && et(n.body, null, !0), !this.options.ignoreStandalone && Ke(t.body) && We(s.body) && (et(t.body), ht(s.body));
3337
+ a.open && et(t.body, null, !0), a.close && pt(s.body, null, !0), e.closeStrip.open && et(n.body, null, !0), !this.options.ignoreStandalone && Ke(t.body) && We(s.body) && (et(t.body), pt(s.body));
3296
3338
  } else e.closeStrip.open && et(t.body, null, !0);
3297
3339
  return i;
3298
3340
  };
@@ -5454,7 +5496,11 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
5454
5496
  zscr: "𝓏",
5455
5497
  zwj: "‍",
5456
5498
  zwnj: "‌"
5457
- }, ws = /^#[xX]([A-Fa-f0-9]+)$/, Ts = /^#([0-9]+)$/, xs = /^([A-Za-z0-9]+)$/, $e = (function() {
5499
+ };
5500
+ ws = /^#[xX]([A-Fa-f0-9]+)$/;
5501
+ Ts = /^#([0-9]+)$/;
5502
+ xs = /^([A-Za-z0-9]+)$/;
5503
+ $e = (function() {
5458
5504
  function e(t) {
5459
5505
  this.named = t;
5460
5506
  }
@@ -5466,7 +5512,10 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
5466
5512
  if (r = t.match(xs), r) return this.named[r[1]];
5467
5513
  }
5468
5514
  }, e;
5469
- })(), Ns = /[\t\n\f ]/, As = /[A-Za-z]/, Ps = /\r\n?/g;
5515
+ })();
5516
+ Ns = /[\t\n\f ]/;
5517
+ As = /[A-Za-z]/;
5518
+ Ps = /\r\n?/g;
5470
5519
  Xe = (function() {
5471
5520
  function e(t, r, s) {
5472
5521
  s === void 0 && (s = "precompile"), this.delegate = t, this.entityParser = r, this.mode = s, this.state = "beforeData", this.line = -1, this.column = -1, this.input = "", this.index = -1, this.tagNameBuffer = "", this.states = {
@@ -5837,19 +5886,23 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
5837
5886
  st = Object.freeze({
5838
5887
  line: 1,
5839
5888
  column: 0
5840
- }), Bs = Object.freeze({
5889
+ });
5890
+ Bs = Object.freeze({
5841
5891
  source: "(synthetic)",
5842
5892
  start: st,
5843
5893
  end: st
5844
- }), sr = Object.freeze({
5894
+ });
5895
+ sr = Object.freeze({
5845
5896
  source: "(nonexistent)",
5846
5897
  start: st,
5847
5898
  end: st
5848
- }), nt = Object.freeze({
5899
+ });
5900
+ nt = Object.freeze({
5849
5901
  source: "(broken)",
5850
5902
  start: st,
5851
5903
  end: st
5852
- }), ir = class {
5904
+ });
5905
+ ir = class {
5853
5906
  constructor(t) {
5854
5907
  this._whens = t;
5855
5908
  }
@@ -5860,7 +5913,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
5860
5913
  }
5861
5914
  return null;
5862
5915
  }
5863
- }, ge = class {
5916
+ };
5917
+ ge = class {
5864
5918
  get(t, r) {
5865
5919
  let s = this._map.get(t);
5866
5920
  return s || (s = r(), this._map.set(t, s), s);
@@ -5897,10 +5951,12 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
5897
5951
  constructor() {
5898
5952
  this._whens = new ge();
5899
5953
  }
5900
- }, or = class e {
5954
+ };
5955
+ or = class e {
5901
5956
  static synthetic(t) {
5957
+ let r = A.synthetic(t);
5902
5958
  return new e({
5903
- loc: A.synthetic(t),
5959
+ loc: r,
5904
5960
  chars: t
5905
5961
  });
5906
5962
  }
@@ -5919,7 +5975,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
5919
5975
  serialize() {
5920
5976
  return [this.chars, this.loc.serialize()];
5921
5977
  }
5922
- }, A = class e {
5978
+ };
5979
+ A = class e {
5923
5980
  static get NON_EXISTENT() {
5924
5981
  return new J("NonExistent", sr).wrap();
5925
5982
  }
@@ -5934,8 +5991,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
5934
5991
  }
5935
5992
  static forCharPositions(t, r, s) {
5936
5993
  return new Ut(t, {
5937
- start: new ft(t, r),
5938
- end: new ft(t, s)
5994
+ start: new mt(t, r),
5995
+ end: new mt(t, s)
5939
5996
  }).wrap();
5940
5997
  }
5941
5998
  static synthetic(t) {
@@ -6022,7 +6079,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6022
6079
  sliceEndChars({ skipEnd: t = 0, chars: r }) {
6023
6080
  return K(this.getEnd().move(t - r).data, this.getStart().move(-t).data);
6024
6081
  }
6025
- }, Ut = class {
6082
+ };
6083
+ Ut = class {
6026
6084
  #t;
6027
6085
  constructor(t, r) {
6028
6086
  this.source = t, this.charPositions = r, this.kind = "CharPosition", this.#t = null;
@@ -6061,7 +6119,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6061
6119
  toCharPosSpan() {
6062
6120
  return this;
6063
6121
  }
6064
- }, Mt = class {
6122
+ };
6123
+ Mt = class {
6065
6124
  #t;
6066
6125
  #e;
6067
6126
  constructor(t, r, s = null) {
@@ -6117,7 +6176,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6117
6176
  }
6118
6177
  return t === it ? null : t;
6119
6178
  }
6120
- }, J = class {
6179
+ };
6180
+ J = class {
6121
6181
  constructor(t, r, s = null) {
6122
6182
  this.kind = t, this.loc = r, this.string = s;
6123
6183
  }
@@ -6155,7 +6215,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6155
6215
  toHbsLoc() {
6156
6216
  return nt;
6157
6217
  }
6158
- }, K = ln(((e) => e.when("HbsPosition", "HbsPosition", ((t, r) => new Mt(t.source, {
6218
+ };
6219
+ K = ln(((e) => e.when("HbsPosition", "HbsPosition", ((t, r) => new Mt(t.source, {
6159
6220
  start: t,
6160
6221
  end: r
6161
6222
  }).wrap())).when("CharPosition", "CharPosition", ((t, r) => new Ut(t.source, {
@@ -6167,7 +6228,9 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6167
6228
  })).when("HbsPosition", "CharPosition", ((t, r) => {
6168
6229
  let s = t.toCharPos();
6169
6230
  return s === null ? new J("Broken", nt).wrap() : K(s, r);
6170
- })).when("IS_INVISIBLE", "MATCH_ANY", ((t) => new J(t.kind, nt).wrap())).when("MATCH_ANY", "IS_INVISIBLE", ((t, r) => new J(r.kind, nt).wrap())))), it = "BROKEN", Pt = class e {
6231
+ })).when("IS_INVISIBLE", "MATCH_ANY", ((t) => new J(t.kind, nt).wrap())).when("MATCH_ANY", "IS_INVISIBLE", ((t, r) => new J(r.kind, nt).wrap()))));
6232
+ it = "BROKEN";
6233
+ Pt = class e {
6171
6234
  static forHbsPos(t, r) {
6172
6235
  return new at(t, r, null).wrap();
6173
6236
  }
@@ -6192,7 +6255,7 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6192
6255
  if (r === null) return e.broken();
6193
6256
  {
6194
6257
  let s = r.offset + t;
6195
- return r.source.validate(s) ? new ft(r.source, s).wrap() : e.broken();
6258
+ return r.source.validate(s) ? new mt(r.source, s).wrap() : e.broken();
6196
6259
  }
6197
6260
  }
6198
6261
  collapsed() {
@@ -6201,7 +6264,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6201
6264
  toJSON() {
6202
6265
  return this.data.toJSON();
6203
6266
  }
6204
- }, ft = class {
6267
+ };
6268
+ mt = class {
6205
6269
  constructor(t, r) {
6206
6270
  this.source = t, this.charPos = r, this.kind = "CharPosition", this._locPos = null;
6207
6271
  }
@@ -6226,15 +6290,16 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6226
6290
  }
6227
6291
  return t === it ? null : t;
6228
6292
  }
6229
- }, at = class {
6293
+ };
6294
+ at = class {
6230
6295
  constructor(t, r, s = null) {
6231
- this.source = t, this.hbsPos = r, this.kind = "HbsPosition", this._charPos = s === null ? null : new ft(t, s);
6296
+ this.source = t, this.hbsPos = r, this.kind = "HbsPosition", this._charPos = s === null ? null : new mt(t, s);
6232
6297
  }
6233
6298
  toCharPos() {
6234
6299
  let t = this._charPos;
6235
6300
  if (t === null) {
6236
6301
  let r = this.source.charPosFor(this.hbsPos);
6237
- this._charPos = t = r === null ? it : new ft(this.source, r);
6302
+ this._charPos = t = r === null ? it : new mt(this.source, r);
6238
6303
  }
6239
6304
  return t === it ? null : t;
6240
6305
  }
@@ -6247,7 +6312,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6247
6312
  toHbsPos() {
6248
6313
  return this;
6249
6314
  }
6250
- }, zt = class {
6315
+ };
6316
+ zt = class {
6251
6317
  constructor(t, r) {
6252
6318
  this.kind = t, this.pos = r;
6253
6319
  }
@@ -6263,7 +6329,9 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6263
6329
  get offset() {
6264
6330
  return null;
6265
6331
  }
6266
- }, Rs = ln(((e) => e.when("HbsPosition", "HbsPosition", (({ hbsPos: t }, { hbsPos: r }) => t.column === r.column && t.line === r.line)).when("CharPosition", "CharPosition", (({ charPos: t }, { charPos: r }) => t === r)).when("CharPosition", "HbsPosition", (({ offset: t }, r) => t === r.toCharPos()?.offset)).when("HbsPosition", "CharPosition", ((t, { offset: r }) => t.toCharPos()?.offset === r)).when("MATCH_ANY", "MATCH_ANY", (() => !1)))), pt = class e {
6332
+ };
6333
+ Rs = ln(((e) => e.when("HbsPosition", "HbsPosition", (({ hbsPos: t }, { hbsPos: r }) => t.column === r.column && t.line === r.line)).when("CharPosition", "CharPosition", (({ charPos: t }, { charPos: r }) => t === r)).when("CharPosition", "HbsPosition", (({ offset: t }, r) => t === r.toCharPos()?.offset)).when("HbsPosition", "CharPosition", ((t, { offset: r }) => t.toCharPos()?.offset === r)).when("MATCH_ANY", "MATCH_ANY", (() => !1))));
6334
+ ft = class e {
6267
6335
  static from(t, r = {}) {
6268
6336
  return new e(t, r.meta?.moduleName);
6269
6337
  }
@@ -6370,7 +6438,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6370
6438
  UndefinedLiteral: [],
6371
6439
  Hash: ["pairs"],
6372
6440
  HashPair: ["value"]
6373
- }, mr = (function() {
6441
+ };
6442
+ mr = (function() {
6374
6443
  function e(t, r, s, n) {
6375
6444
  let i = Error.call(this, t);
6376
6445
  this.key = n, this.message = t, this.node = r, this.parent = s, i.stack && (this.stack = i.stack);
@@ -6387,7 +6456,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6387
6456
  parents() {
6388
6457
  return { [Symbol.iterator]: () => new lr(this) };
6389
6458
  }
6390
- }, lr = class {
6459
+ };
6460
+ lr = class {
6391
6461
  constructor(t) {
6392
6462
  this.path = t;
6393
6463
  }
@@ -6553,7 +6623,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6553
6623
  fe = {
6554
6624
  close: !1,
6555
6625
  open: !1
6556
- }, d = new class {
6626
+ };
6627
+ d = new class {
6557
6628
  pos({ line: e, column: t }) {
6558
6629
  return {
6559
6630
  line: e,
@@ -6854,7 +6925,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6854
6925
  loc: r
6855
6926
  });
6856
6927
  }
6857
- }(), cr = class {
6928
+ }();
6929
+ cr = class {
6858
6930
  constructor(t, r = new $e($r), s = "precompile") {
6859
6931
  this.elementStack = [], this.currentAttribute = null, this.currentNode = null, this.source = t, this.lines = t.source.split(/\r\n?|\n/u), this.tokenizer = new Xe(this, r, s);
6860
6932
  }
@@ -6903,7 +6975,8 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
6903
6975
  return h.join(`
6904
6976
  `);
6905
6977
  }
6906
- }, ur = class extends cr {
6978
+ };
6979
+ ur = class extends cr {
6907
6980
  parse(t, r) {
6908
6981
  t.loc;
6909
6982
  let s = d.template({
@@ -7464,23 +7537,29 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
7464
7537
  constructor(...t) {
7465
7538
  super(...t), this.tagOpenLine = 0, this.tagOpenColumn = 0;
7466
7539
  }
7467
- }, Ms = {}, pr = class extends $e {
7540
+ };
7541
+ Ms = {};
7542
+ pr = class extends $e {
7468
7543
  constructor() {
7469
7544
  super({});
7470
7545
  }
7471
7546
  parse() {}
7472
7547
  };
7473
7548
  dn = Ur(be);
7474
- mt = (e) => e.loc.start.offset, Gt = (e) => e.loc.end.offset;
7549
+ dt = (e) => e.loc.start.offset;
7550
+ Gt = (e) => e.loc.end.offset;
7551
+ dr.ignoredProperties = /* @__PURE__ */ new Set(["loc", "selfClosing"]);
7475
7552
  Gs = new Set(on());
7476
7553
  xn = 2;
7477
7554
  ri = ({ path: e }, { path: t }) => [e, t].every((r) => r.type === "PathExpression" && r.head.type === "VarHead") && e.head.name === t.head.name;
7478
- hi = /* @__PURE__ */ new Set("!\"#%&'()*+,./;<=>@[\\]^`{|}~"), pi = /* @__PURE__ */ new Set([
7555
+ hi = /* @__PURE__ */ new Set("!\"#%&'()*+,./;<=>@[\\]^`{|}~");
7556
+ pi = /* @__PURE__ */ new Set([
7479
7557
  "true",
7480
7558
  "false",
7481
7559
  "null",
7482
7560
  "undefined"
7483
- ]), fi = (e, t) => t === 0 && e.startsWith("@") ? !1 : t !== 0 && pi.has(e) || /\s/u.test(e) || /^\d/u.test(e) || Array.prototype.some.call(e, (r) => hi.has(r));
7561
+ ]);
7562
+ fi = (e, t) => t === 0 && e.startsWith("@") ? !1 : t !== 0 && pi.has(e) || /\s/.test(e) || /^\d/.test(e) || Array.prototype.some.call(e, (r) => hi.has(r));
7484
7563
  _n = {
7485
7564
  features: { experimental_frontMatterSupport: {
7486
7565
  massageAstNode: !0,
@@ -7488,7 +7567,7 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
7488
7567
  print: !0
7489
7568
  } },
7490
7569
  print: js,
7491
- massageAstNode: Fr,
7570
+ massageAstNode: dr,
7492
7571
  hasPrettierIgnore: yn,
7493
7572
  getVisitorKeys: dn,
7494
7573
  embed: Hr
@@ -7504,30 +7583,33 @@ Expecting ` + Qt.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : De =
7504
7583
  vscodeLanguageIds: ["handlebars"],
7505
7584
  linguistLanguageId: 155
7506
7585
  }];
7507
- yr = {};
7508
- Oe(yr, { glimmer: () => Ni });
7586
+ Sr = {};
7587
+ Oe(Sr, { glimmer: () => Ai });
7509
7588
  Dn = gi;
7510
- On = Symbol.for("PRETTIER_IS_FRONT_MATTER");
7589
+ On = bi;
7590
+ In = Symbol.for("PRETTIER_IS_FRONT_MATTER");
7511
7591
  Wt = 3;
7512
- In = yi;
7513
- ki = (e) => {
7592
+ Bn = Si;
7593
+ Ei = (e) => {
7514
7594
  let { start: t, end: r } = e.loc;
7515
7595
  t.offset = e.loc.getStart().offset, r.offset = e.loc.getEnd().offset;
7516
- }, Ei = () => ({
7596
+ };
7597
+ vi = () => ({
7517
7598
  name: "glimmerPrettierParsePlugin",
7518
7599
  visitor: { All(e) {
7519
- ki(e), Si(e);
7600
+ Ei(e), ki(e);
7520
7601
  } }
7521
- }), vi = {
7602
+ });
7603
+ wi = {
7522
7604
  mode: "codemod",
7523
- plugins: { ast: [Ei] }
7605
+ plugins: { ast: [vi] }
7524
7606
  };
7525
- Ni = {
7526
- parse: wi,
7607
+ Ai = {
7608
+ parse: Ti,
7527
7609
  astFormat: "glimmer",
7528
- locStart: mt,
7610
+ locStart: dt,
7529
7611
  locEnd: Gt
7530
7612
  };
7531
- Ai = { glimmer: _n };
7613
+ Pi = { glimmer: _n };
7532
7614
  }))();
7533
- export { Bn as default, Ln as languages, yr as parsers, Ai as printers };
7615
+ export { Rn as default, Ln as languages, Sr as parsers, Pi as printers };