novelaid-markdown 0.4.0 → 0.6.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 (105) hide show
  1. package/README.md +40 -0
  2. package/dist/index.css +1 -1
  3. package/dist/index.js +1039 -765
  4. package/dist/index.umd.cjs +100 -3293
  5. package/dist/lib-C_aUcI3g.js +98 -0
  6. package/dist/{rehype-raw-CbJS4QeP.js → rehype-raw-D3WO4vJ5.js} +3731 -2480
  7. package/dist/{remark-gfm-D_QtAzOA.js → remark-gfm-CrckygoG.js} +568 -445
  8. package/package.json +8 -4
  9. package/dist/_baseFor-Btt7qhvA.js +0 -394
  10. package/dist/arc-B1ElyJRe.js +0 -80
  11. package/dist/architecture-YZFGNWBL-DbwpLiaF.js +0 -3
  12. package/dist/architectureDiagram-Q4EWVU46-DPdA1a51.js +0 -4057
  13. package/dist/array-D9V22jUe.js +0 -6
  14. package/dist/blank-line-DxLGQ569.js +0 -129
  15. package/dist/blockDiagram-DXYQGD6D-Bf0IzYoN.js +0 -3035
  16. package/dist/c4Diagram-AHTNJAMY-BlTBDzAq.js +0 -2961
  17. package/dist/channel-CoqXOEHz.js +0 -5
  18. package/dist/chunk-2KRD3SAO-r21hNzXt.js +0 -23
  19. package/dist/chunk-336JU56O-DcVNMTsS.js +0 -49
  20. package/dist/chunk-426QAEUC-B4JQ_vPF.js +0 -9
  21. package/dist/chunk-4BX2VUAB-JBqrV_IE.js +0 -8
  22. package/dist/chunk-4TB4RGXK-DHS8LN6H.js +0 -3255
  23. package/dist/chunk-55IACEB6-C9COrGK_.js +0 -8
  24. package/dist/chunk-5FUZZQ4R-CdCLluck.js +0 -3638
  25. package/dist/chunk-5PVQY5BW-Dgwc0dUk.js +0 -1299
  26. package/dist/chunk-67CJDMHE-UQ-a7p3g.js +0 -23
  27. package/dist/chunk-7N4EOEYR-CPiwpV-A.js +0 -35
  28. package/dist/chunk-AA7GKIK3-DR_Iqho4.js +0 -30
  29. package/dist/chunk-BSJP7CBP-BrxQKL1l.js +0 -82
  30. package/dist/chunk-CIAEETIT-tbco3aB3.js +0 -23
  31. package/dist/chunk-EDXVE4YY-BHsZxHlc.js +0 -25
  32. package/dist/chunk-ENJZ2VHE-Dm2kuGCh.js +0 -560
  33. package/dist/chunk-FMBD7UC4-DwV8Wmed.js +0 -5
  34. package/dist/chunk-FOC6F5B3-CQtHQje_.js +0 -23
  35. package/dist/chunk-ICPOFSXX-B9lsZaK9.js +0 -3363
  36. package/dist/chunk-K5T4RW27-DI9nuGzI.js +0 -16082
  37. package/dist/chunk-KGLVRYIC-BMNH9LI-.js +0 -23
  38. package/dist/chunk-LIHQZDEY-Dc-yVZ_W.js +0 -64
  39. package/dist/chunk-ORNJ4GCN-DqZLt4_8.js +0 -31
  40. package/dist/chunk-OYMX7WX6-B8KpS9qK.js +0 -2014
  41. package/dist/chunk-QZHKN3VN-C4dmvHME.js +0 -15
  42. package/dist/chunk-U2HBQHQK-BME65g2a.js +0 -1896
  43. package/dist/chunk-X2U36JSP-CesuQ-Sm.js +0 -67
  44. package/dist/chunk-XPW4576I-Wv7jaLUC.js +0 -1146
  45. package/dist/chunk-YZCP3GAM-CJIt1xzm.js +0 -60
  46. package/dist/chunk-ZZ45TVLE-CMBGSmdv.js +0 -32
  47. package/dist/chunk-ha4E1CQs.js +0 -20
  48. package/dist/classDiagram-6PBFFD2Q-kvmQgIxu.js +0 -29
  49. package/dist/classDiagram-v2-HSJHXN6E-DLlYyLVf.js +0 -29
  50. package/dist/clone-B5XHQkPs.js +0 -8
  51. package/dist/cose-bilkent-S5V4N54A-xGhciOop.js +0 -2250
  52. package/dist/cytoscape.esm-BgCYa94Q.js +0 -18103
  53. package/dist/dagre-KV5264BT-DNe8h1eH.js +0 -293
  54. package/dist/dagre-SfibWTbo.js +0 -1606
  55. package/dist/defaultLocale-9iKoEQQi.js +0 -201
  56. package/dist/diagram-5BDNPKRD-D_R6IIhE.js +0 -101
  57. package/dist/diagram-G4DWMVQ6-CGlOggN-.js +0 -524
  58. package/dist/diagram-MMDJMWI5-GlxWkSbK.js +0 -213
  59. package/dist/diagram-TYMM5635-Empbfz-2.js +0 -133
  60. package/dist/dist-Dz2K8jVv.js +0 -59
  61. package/dist/erDiagram-SMLLAGMA-DSnlNLPr.js +0 -1700
  62. package/dist/esm-Binvve4F.js +0 -1275
  63. package/dist/flatten-BeeUCBYF.js +0 -40
  64. package/dist/flowDiagram-DWJPFMVM-YAh0NsG9.js +0 -4145
  65. package/dist/ganttDiagram-T4ZO3ILL-DkmkZTO5.js +0 -3077
  66. package/dist/gitGraph-7Q5UKJZL-DamMrPFa.js +0 -3
  67. package/dist/gitGraphDiagram-UUTBAWPF-IjLQtHgn.js +0 -728
  68. package/dist/graphlib-DSQqP-5Y.js +0 -373
  69. package/dist/info-OMHHGYJF-BovemagY.js +0 -3
  70. package/dist/infoDiagram-42DDH7IO-izJQDQJs.js +0 -19
  71. package/dist/init-DkX7cl9c.js +0 -15
  72. package/dist/isEmpty-kLGD071T.js +0 -35
  73. package/dist/ishikawaDiagram-UXIWVN3A-SJb5qsLR.js +0 -718
  74. package/dist/journeyDiagram-VCZTEJTY-BDa8bFXG.js +0 -883
  75. package/dist/kanban-definition-6JOO6SKY-i73I3KFw.js +0 -973
  76. package/dist/katex-DI2iMRYj.js +0 -22000
  77. package/dist/lib-z8X9LcoZ.js +0 -99
  78. package/dist/line-BD0OIRsH.js +0 -34
  79. package/dist/linear-DV1pG6aV.js +0 -289
  80. package/dist/mermaid-parser.core-CZznKIov.js +0 -69
  81. package/dist/mermaid.core-a1TLqUAY.js +0 -951
  82. package/dist/mindmap-definition-QFDTVHPH-DPG-HkqU.js +0 -1009
  83. package/dist/ordinal-Zd5qpGcV.js +0 -65
  84. package/dist/packet-4T2RLAQJ-BEP9UcAl.js +0 -3
  85. package/dist/path-BSwIfggT.js +0 -85
  86. package/dist/pie-ZZUOXDRM-AZqQmg1p.js +0 -3
  87. package/dist/pieDiagram-DEJITSTG-Cj1YBlb1.js +0 -165
  88. package/dist/quadrantDiagram-34T5L4WZ-ypBI9wre.js +0 -1974
  89. package/dist/radar-PYXPWWZC-BpKM_Ghb.js +0 -3
  90. package/dist/react-markdown-CwHVAeQi.js +0 -4221
  91. package/dist/reduce-DQgHi9nw.js +0 -532
  92. package/dist/requirementDiagram-MS252O5E-CkuWjAxJ.js +0 -2221
  93. package/dist/rough.esm-Dun2l6dn.js +0 -1352
  94. package/dist/sankeyDiagram-XADWPNL6-BzIHfJyL.js +0 -920
  95. package/dist/sequenceDiagram-FGHM5R23-NC0cKvy5.js +0 -4157
  96. package/dist/src-D7IEzgYM.js +0 -2149
  97. package/dist/stateDiagram-FHFEXIEX-vd0cNpSx.js +0 -217
  98. package/dist/stateDiagram-v2-QKLJ7IA2-BXsBMk9U.js +0 -27
  99. package/dist/timeline-definition-GMOUNBTQ-DeOvCyAs.js +0 -1068
  100. package/dist/treeView-SZITEDCU-D-ftaYOL.js +0 -3
  101. package/dist/treemap-W4RFUUIX-B2bp9KIg.js +0 -3
  102. package/dist/vennDiagram-DHZGUBPP-Hraq3pvR.js +0 -1858
  103. package/dist/wardley-RL74JXVD-BdjKuxh8.js +0 -3
  104. package/dist/wardleyDiagram-NUSXRM2D-C06eRanG.js +0 -578
  105. package/dist/xychartDiagram-5P7HB3ND-BiD79JlS.js +0 -2044
package/dist/index.js CHANGED
@@ -1,7 +1,9 @@
1
- import e, { useEffect as t, useMemo as n, useState as r } from "react";
2
- import { jsx as i, jsxs as a } from "react/jsx-runtime";
1
+ import e, { useEffect as t, useMemo as n, useRef as r, useState as i } from "react";
2
+ import { jsx as a, jsxs as o } from "react/jsx-runtime";
3
+ import s, { Marker as c, Popup as l } from "react-map-gl/maplibre";
4
+ import * as u from "lucide-react";
3
5
  //#region src/registry.ts
4
- var o = class e {
6
+ var d = class e {
5
7
  plugins = [];
6
8
  register(e) {
7
9
  this.plugins.push(e);
@@ -18,33 +20,33 @@ var o = class e {
18
20
  static getDefault() {
19
21
  return new e();
20
22
  }
21
- }, s = {
23
+ }, f = {
22
24
  RUBY_WITH_PIPE: /[||]([^||\n《》]+)《([^《》\n]+)》/g,
23
25
  RUBY_WITHOUT_PIPE: /([々〇\u4e00-\u9fcf\u3400-\u4dbf]+)《([^《》\n]+)》/g,
24
26
  BOUTEN: /《《([^《》\n]+)》》/g,
25
27
  DIALOGUE: /「(.*?)」/g,
26
28
  DIALOGUE_DOUBLE: /『(.*?)』/g,
27
29
  FULL_WIDTH_SPACE: /\u3000/g
28
- }, c = {
30
+ }, p = {
29
31
  name: "novel-syntax",
30
32
  preprocessors: [(e) => {
31
33
  if (!e) return "";
32
34
  let t = e;
33
- return t = t.replace(s.RUBY_WITH_PIPE, "<ruby>$1<rt>$2</rt></ruby>"), t = t.replace(s.RUBY_WITHOUT_PIPE, "<ruby>$1<rt>$2</rt></ruby>"), t = t.replace(s.BOUTEN, "<span class=\"bouten\">$1</span>"), t;
35
+ return t = t.replace(f.RUBY_WITH_PIPE, "<ruby>$1<rt>$2</rt></ruby>"), t = t.replace(f.RUBY_WITHOUT_PIPE, "<ruby>$1<rt>$2</rt></ruby>"), t = t.replace(f.BOUTEN, "<span class=\"bouten\">$1</span>"), t;
34
36
  }]
35
- }, l = null, u = null, d = async () => l || (u ||= (async () => {
37
+ }, m = null, h = null, g = async () => m || (h ||= (async () => {
36
38
  try {
37
- let e = await import("./mermaid.core-a1TLqUAY.js");
38
- return l = e.default || e, l;
39
+ let e = await import("mermaid");
40
+ return m = e.default || e, m;
39
41
  } catch (e) {
40
- throw u = null, e;
42
+ throw h = null, e;
41
43
  }
42
- })(), u), f = Promise.resolve(), p = {
44
+ })(), h), _ = Promise.resolve(), v = {
43
45
  name: "mermaid",
44
46
  codeProcessors: [{
45
47
  language: "mermaid",
46
48
  component: ({ value: e, attributes: n = {} }) => {
47
- let [o, s] = r(""), { width: c, height: l } = n;
49
+ let [r, s] = i(""), { width: c, height: l } = n;
48
50
  return t(() => {
49
51
  let t = !0, n = () => {
50
52
  ["dmermaid-debug", "mermaid-error-container"].forEach((e) => {
@@ -62,10 +64,10 @@ var o = class e {
62
64
  let r = e.substring(0, 20).replace(/\n/g, " ");
63
65
  s("<div class=\"mermaid-loading\" style=\"opacity: 0.6; padding: 1em; font-size: 12px; color: gray;\">Mermaid rendering...</div>");
64
66
  let i = (async () => {
65
- if (await f, t) try {
67
+ if (await _, t) try {
66
68
  let i = new Promise((e, t) => setTimeout(() => t(/* @__PURE__ */ Error("Rendering Timeout (5s)")), 5e3));
67
69
  await Promise.race([(async () => {
68
- let i = await d();
70
+ let i = await g();
69
71
  if (!t || (n(), await i.parse(e), !t)) return;
70
72
  console.log(`[Mermaid] Executing render: ${r}...`);
71
73
  let a = `mermaid-${Math.random().toString(36).substring(2, 11)}`, { svg: o } = await i.render(a, e);
@@ -76,7 +78,7 @@ var o = class e {
76
78
  console.error(`[Mermaid] Render failed: ${e}`, r), n(), s(`<pre class="mermaid-error" style="color: #f44336; padding: 1em; border: 1px solid #f44336; border-radius: 4px; background: rgba(244, 67, 54, 0.05); font-size: 13px; white-space: pre-wrap; word-break: break-all;">Mermaid Syntax Error:\n${r instanceof Error ? r.message : "Invalid Mermaid syntax"}</pre>`);
77
79
  }
78
80
  })();
79
- f = (async () => {
81
+ _ = (async () => {
80
82
  try {
81
83
  await i;
82
84
  } catch {}
@@ -84,7 +86,7 @@ var o = class e {
84
86
  })(), () => {
85
87
  t = !1;
86
88
  };
87
- }, [e]), /* @__PURE__ */ a("div", {
89
+ }, [e]), /* @__PURE__ */ o("div", {
88
90
  className: "mermaid-container",
89
91
  style: {
90
92
  display: "flex",
@@ -96,7 +98,7 @@ var o = class e {
96
98
  width: c || "100%",
97
99
  height: l || "auto"
98
100
  },
99
- children: [/* @__PURE__ */ i("style", { children: "\n .mermaid-container svg {\n max-width: 100%;\n max-height: 100%;\n height: auto;\n }\n " }), /* @__PURE__ */ i("div", {
101
+ children: [/* @__PURE__ */ a("style", { children: "\n .mermaid-container svg {\n max-width: 100%;\n max-height: 100%;\n height: auto;\n }\n " }), /* @__PURE__ */ a("div", {
100
102
  style: {
101
103
  width: "100%",
102
104
  height: "100%",
@@ -104,88 +106,88 @@ var o = class e {
104
106
  justifyContent: "center",
105
107
  alignItems: "center"
106
108
  },
107
- dangerouslySetInnerHTML: { __html: o }
109
+ dangerouslySetInnerHTML: { __html: r }
108
110
  })]
109
111
  });
110
112
  }
111
113
  }]
112
- }, m = Symbol.for("yaml.alias"), h = Symbol.for("yaml.document"), g = Symbol.for("yaml.map"), _ = Symbol.for("yaml.pair"), v = Symbol.for("yaml.scalar"), y = Symbol.for("yaml.seq"), b = Symbol.for("yaml.node.type"), x = (e) => !!e && typeof e == "object" && e[b] === m, S = (e) => !!e && typeof e == "object" && e[b] === h, C = (e) => !!e && typeof e == "object" && e[b] === g, w = (e) => !!e && typeof e == "object" && e[b] === _, T = (e) => !!e && typeof e == "object" && e[b] === v, ee = (e) => !!e && typeof e == "object" && e[b] === y;
113
- function E(e) {
114
- if (e && typeof e == "object") switch (e[b]) {
115
- case g:
116
- case y: return !0;
114
+ }, y = Symbol.for("yaml.alias"), b = Symbol.for("yaml.document"), x = Symbol.for("yaml.map"), S = Symbol.for("yaml.pair"), C = Symbol.for("yaml.scalar"), ee = Symbol.for("yaml.seq"), w = Symbol.for("yaml.node.type"), T = (e) => !!e && typeof e == "object" && e[w] === y, E = (e) => !!e && typeof e == "object" && e[w] === b, te = (e) => !!e && typeof e == "object" && e[w] === x, D = (e) => !!e && typeof e == "object" && e[w] === S, O = (e) => !!e && typeof e == "object" && e[w] === C, ne = (e) => !!e && typeof e == "object" && e[w] === ee;
115
+ function k(e) {
116
+ if (e && typeof e == "object") switch (e[w]) {
117
+ case x:
118
+ case ee: return !0;
117
119
  }
118
120
  return !1;
119
121
  }
120
- function D(e) {
121
- if (e && typeof e == "object") switch (e[b]) {
122
- case m:
123
- case g:
124
- case v:
125
- case y: return !0;
122
+ function A(e) {
123
+ if (e && typeof e == "object") switch (e[w]) {
124
+ case y:
125
+ case x:
126
+ case C:
127
+ case ee: return !0;
126
128
  }
127
129
  return !1;
128
130
  }
129
- var te = (e) => (T(e) || E(e)) && !!e.anchor, O = Symbol("break visit"), ne = Symbol("skip children"), k = Symbol("remove node");
130
- function A(e, t) {
131
- let n = ie(t);
132
- S(e) ? j(null, e.contents, n, Object.freeze([e])) === k && (e.contents = null) : j(null, e, n, Object.freeze([]));
131
+ var re = (e) => (O(e) || k(e)) && !!e.anchor, j = Symbol("break visit"), ie = Symbol("skip children"), M = Symbol("remove node");
132
+ function N(e, t) {
133
+ let n = oe(t);
134
+ E(e) ? P(null, e.contents, n, Object.freeze([e])) === M && (e.contents = null) : P(null, e, n, Object.freeze([]));
133
135
  }
134
- A.BREAK = O, A.SKIP = ne, A.REMOVE = k;
135
- function j(e, t, n, r) {
136
- let i = ae(e, t, n, r);
137
- if (D(i) || w(i)) return oe(e, r, i), j(e, i, n, r);
136
+ N.BREAK = j, N.SKIP = ie, N.REMOVE = M;
137
+ function P(e, t, n, r) {
138
+ let i = se(e, t, n, r);
139
+ if (A(i) || D(i)) return ce(e, r, i), P(e, i, n, r);
138
140
  if (typeof i != "symbol") {
139
- if (E(t)) {
141
+ if (k(t)) {
140
142
  r = Object.freeze(r.concat(t));
141
143
  for (let e = 0; e < t.items.length; ++e) {
142
- let i = j(e, t.items[e], n, r);
144
+ let i = P(e, t.items[e], n, r);
143
145
  if (typeof i == "number") e = i - 1;
144
- else if (i === O) return O;
145
- else i === k && (t.items.splice(e, 1), --e);
146
+ else if (i === j) return j;
147
+ else i === M && (t.items.splice(e, 1), --e);
146
148
  }
147
- } else if (w(t)) {
149
+ } else if (D(t)) {
148
150
  r = Object.freeze(r.concat(t));
149
- let e = j("key", t.key, n, r);
150
- if (e === O) return O;
151
- e === k && (t.key = null);
152
- let i = j("value", t.value, n, r);
153
- if (i === O) return O;
154
- i === k && (t.value = null);
151
+ let e = P("key", t.key, n, r);
152
+ if (e === j) return j;
153
+ e === M && (t.key = null);
154
+ let i = P("value", t.value, n, r);
155
+ if (i === j) return j;
156
+ i === M && (t.value = null);
155
157
  }
156
158
  }
157
159
  return i;
158
160
  }
159
- async function re(e, t) {
160
- let n = ie(t);
161
- S(e) ? await M(null, e.contents, n, Object.freeze([e])) === k && (e.contents = null) : await M(null, e, n, Object.freeze([]));
161
+ async function ae(e, t) {
162
+ let n = oe(t);
163
+ E(e) ? await F(null, e.contents, n, Object.freeze([e])) === M && (e.contents = null) : await F(null, e, n, Object.freeze([]));
162
164
  }
163
- re.BREAK = O, re.SKIP = ne, re.REMOVE = k;
164
- async function M(e, t, n, r) {
165
- let i = await ae(e, t, n, r);
166
- if (D(i) || w(i)) return oe(e, r, i), M(e, i, n, r);
165
+ ae.BREAK = j, ae.SKIP = ie, ae.REMOVE = M;
166
+ async function F(e, t, n, r) {
167
+ let i = await se(e, t, n, r);
168
+ if (A(i) || D(i)) return ce(e, r, i), F(e, i, n, r);
167
169
  if (typeof i != "symbol") {
168
- if (E(t)) {
170
+ if (k(t)) {
169
171
  r = Object.freeze(r.concat(t));
170
172
  for (let e = 0; e < t.items.length; ++e) {
171
- let i = await M(e, t.items[e], n, r);
173
+ let i = await F(e, t.items[e], n, r);
172
174
  if (typeof i == "number") e = i - 1;
173
- else if (i === O) return O;
174
- else i === k && (t.items.splice(e, 1), --e);
175
+ else if (i === j) return j;
176
+ else i === M && (t.items.splice(e, 1), --e);
175
177
  }
176
- } else if (w(t)) {
178
+ } else if (D(t)) {
177
179
  r = Object.freeze(r.concat(t));
178
- let e = await M("key", t.key, n, r);
179
- if (e === O) return O;
180
- e === k && (t.key = null);
181
- let i = await M("value", t.value, n, r);
182
- if (i === O) return O;
183
- i === k && (t.value = null);
180
+ let e = await F("key", t.key, n, r);
181
+ if (e === j) return j;
182
+ e === M && (t.key = null);
183
+ let i = await F("value", t.value, n, r);
184
+ if (i === j) return j;
185
+ i === M && (t.value = null);
184
186
  }
185
187
  }
186
188
  return i;
187
189
  }
188
- function ie(e) {
190
+ function oe(e) {
189
191
  return typeof e == "object" && (e.Collection || e.Node || e.Value) ? Object.assign({
190
192
  Alias: e.Node,
191
193
  Map: e.Node,
@@ -200,34 +202,34 @@ function ie(e) {
200
202
  Seq: e.Collection
201
203
  }, e) : e;
202
204
  }
203
- function ae(e, t, n, r) {
205
+ function se(e, t, n, r) {
204
206
  if (typeof n == "function") return n(e, t, r);
205
- if (C(t)) return n.Map?.(e, t, r);
206
- if (ee(t)) return n.Seq?.(e, t, r);
207
- if (w(t)) return n.Pair?.(e, t, r);
208
- if (T(t)) return n.Scalar?.(e, t, r);
209
- if (x(t)) return n.Alias?.(e, t, r);
207
+ if (te(t)) return n.Map?.(e, t, r);
208
+ if (ne(t)) return n.Seq?.(e, t, r);
209
+ if (D(t)) return n.Pair?.(e, t, r);
210
+ if (O(t)) return n.Scalar?.(e, t, r);
211
+ if (T(t)) return n.Alias?.(e, t, r);
210
212
  }
211
- function oe(e, t, n) {
213
+ function ce(e, t, n) {
212
214
  let r = t[t.length - 1];
213
- if (E(r)) r.items[e] = n;
214
- else if (w(r)) e === "key" ? r.key = n : r.value = n;
215
- else if (S(r)) r.contents = n;
215
+ if (k(r)) r.items[e] = n;
216
+ else if (D(r)) e === "key" ? r.key = n : r.value = n;
217
+ else if (E(r)) r.contents = n;
216
218
  else {
217
- let e = x(r) ? "alias" : "scalar";
219
+ let e = T(r) ? "alias" : "scalar";
218
220
  throw Error(`Cannot replace node with ${e} parent`);
219
221
  }
220
222
  }
221
223
  //#endregion
222
224
  //#region node_modules/yaml/browser/dist/doc/directives.js
223
- var se = {
225
+ var le = {
224
226
  "!": "%21",
225
227
  ",": "%2C",
226
228
  "[": "%5B",
227
229
  "]": "%5D",
228
230
  "{": "%7B",
229
231
  "}": "%7D"
230
- }, ce = (e) => e.replace(/[!,[\]{}]/g, (e) => se[e]), N = class e {
232
+ }, ue = (e) => e.replace(/[!,[\]{}]/g, (e) => le[e]), I = class e {
231
233
  constructor(t, n) {
232
234
  this.docStart = null, this.docEnd = !1, this.yaml = Object.assign({}, e.defaultYaml, t), this.tags = Object.assign({}, e.defaultTags, n);
233
235
  }
@@ -292,58 +294,58 @@ var se = {
292
294
  return n === "!" ? e : (t(`Could not resolve tag: ${e}`), null);
293
295
  }
294
296
  tagString(e) {
295
- for (let [t, n] of Object.entries(this.tags)) if (e.startsWith(n)) return t + ce(e.substring(n.length));
297
+ for (let [t, n] of Object.entries(this.tags)) if (e.startsWith(n)) return t + ue(e.substring(n.length));
296
298
  return e[0] === "!" ? e : `!<${e}>`;
297
299
  }
298
300
  toString(e) {
299
301
  let t = this.yaml.explicit ? [`%YAML ${this.yaml.version || "1.2"}`] : [], n = Object.entries(this.tags), r;
300
- if (e && n.length > 0 && D(e.contents)) {
302
+ if (e && n.length > 0 && A(e.contents)) {
301
303
  let t = {};
302
- A(e.contents, (e, n) => {
303
- D(n) && n.tag && (t[n.tag] = !0);
304
+ N(e.contents, (e, n) => {
305
+ A(n) && n.tag && (t[n.tag] = !0);
304
306
  }), r = Object.keys(t);
305
307
  } else r = [];
306
308
  for (let [i, a] of n) i === "!!" && a === "tag:yaml.org,2002:" || (!e || r.some((e) => e.startsWith(a))) && t.push(`%TAG ${i} ${a}`);
307
309
  return t.join("\n");
308
310
  }
309
311
  };
310
- N.defaultYaml = {
312
+ I.defaultYaml = {
311
313
  explicit: !1,
312
314
  version: "1.2"
313
- }, N.defaultTags = { "!!": "tag:yaml.org,2002:" };
315
+ }, I.defaultTags = { "!!": "tag:yaml.org,2002:" };
314
316
  //#endregion
315
317
  //#region node_modules/yaml/browser/dist/doc/anchors.js
316
- function le(e) {
318
+ function de(e) {
317
319
  if (/[\x00-\x19\s,[\]{}]/.test(e)) {
318
320
  let t = `Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;
319
321
  throw Error(t);
320
322
  }
321
323
  return !0;
322
324
  }
323
- function ue(e) {
325
+ function fe(e) {
324
326
  let t = /* @__PURE__ */ new Set();
325
- return A(e, { Value(e, n) {
327
+ return N(e, { Value(e, n) {
326
328
  n.anchor && t.add(n.anchor);
327
329
  } }), t;
328
330
  }
329
- function de(e, t) {
331
+ function pe(e, t) {
330
332
  for (let n = 1;; ++n) {
331
333
  let r = `${e}${n}`;
332
334
  if (!t.has(r)) return r;
333
335
  }
334
336
  }
335
- function fe(e, t) {
337
+ function me(e, t) {
336
338
  let n = [], r = /* @__PURE__ */ new Map(), i = null;
337
339
  return {
338
340
  onAnchor: (r) => {
339
- n.push(r), i ??= ue(e);
340
- let a = de(t, i);
341
+ n.push(r), i ??= fe(e);
342
+ let a = pe(t, i);
341
343
  return i.add(a), a;
342
344
  },
343
345
  setAnchors: () => {
344
346
  for (let e of n) {
345
347
  let t = r.get(e);
346
- if (typeof t == "object" && t.anchor && (T(t.node) || E(t.node))) t.node.anchor = t.anchor;
348
+ if (typeof t == "object" && t.anchor && (O(t.node) || k(t.node))) t.node.anchor = t.anchor;
347
349
  else {
348
350
  let t = /* @__PURE__ */ Error("Failed to resolve repeated object (this should not happen)");
349
351
  throw t.source = e, t;
@@ -355,31 +357,31 @@ function fe(e, t) {
355
357
  }
356
358
  //#endregion
357
359
  //#region node_modules/yaml/browser/dist/doc/applyReviver.js
358
- function P(e, t, n, r) {
360
+ function L(e, t, n, r) {
359
361
  if (r && typeof r == "object") if (Array.isArray(r)) for (let t = 0, n = r.length; t < n; ++t) {
360
- let n = r[t], i = P(e, r, String(t), n);
362
+ let n = r[t], i = L(e, r, String(t), n);
361
363
  i === void 0 ? delete r[t] : i !== n && (r[t] = i);
362
364
  }
363
365
  else if (r instanceof Map) for (let t of Array.from(r.keys())) {
364
- let n = r.get(t), i = P(e, r, t, n);
366
+ let n = r.get(t), i = L(e, r, t, n);
365
367
  i === void 0 ? r.delete(t) : i !== n && r.set(t, i);
366
368
  }
367
369
  else if (r instanceof Set) for (let t of Array.from(r)) {
368
- let n = P(e, r, t, t);
370
+ let n = L(e, r, t, t);
369
371
  n === void 0 ? r.delete(t) : n !== t && (r.delete(t), r.add(n));
370
372
  }
371
373
  else for (let [t, n] of Object.entries(r)) {
372
- let i = P(e, r, t, n);
374
+ let i = L(e, r, t, n);
373
375
  i === void 0 ? delete r[t] : i !== n && (r[t] = i);
374
376
  }
375
377
  return e.call(t, n, r);
376
378
  }
377
379
  //#endregion
378
380
  //#region node_modules/yaml/browser/dist/nodes/toJS.js
379
- function F(e, t, n) {
380
- if (Array.isArray(e)) return e.map((e, t) => F(e, String(t), n));
381
+ function R(e, t, n) {
382
+ if (Array.isArray(e)) return e.map((e, t) => R(e, String(t), n));
381
383
  if (e && typeof e.toJSON == "function") {
382
- if (!n || !te(e)) return e.toJSON(t, n);
384
+ if (!n || !re(e)) return e.toJSON(t, n);
383
385
  let r = {
384
386
  aliasCount: 0,
385
387
  count: 1,
@@ -395,16 +397,16 @@ function F(e, t, n) {
395
397
  }
396
398
  //#endregion
397
399
  //#region node_modules/yaml/browser/dist/nodes/Node.js
398
- var pe = class {
400
+ var he = class {
399
401
  constructor(e) {
400
- Object.defineProperty(this, b, { value: e });
402
+ Object.defineProperty(this, w, { value: e });
401
403
  }
402
404
  clone() {
403
405
  let e = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this));
404
406
  return this.range && (e.range = this.range.slice()), e;
405
407
  }
406
408
  toJS(e, { mapAsMap: t, maxAliasCount: n, onAnchor: r, reviver: i } = {}) {
407
- if (!S(e)) throw TypeError("A document argument is required");
409
+ if (!E(e)) throw TypeError("A document argument is required");
408
410
  let a = {
409
411
  anchors: /* @__PURE__ */ new Map(),
410
412
  doc: e,
@@ -412,20 +414,20 @@ var pe = class {
412
414
  mapAsMap: t === !0,
413
415
  mapKeyWarned: !1,
414
416
  maxAliasCount: typeof n == "number" ? n : 100
415
- }, o = F(this, "", a);
417
+ }, o = R(this, "", a);
416
418
  if (typeof r == "function") for (let { count: e, res: t } of a.anchors.values()) r(t, e);
417
- return typeof i == "function" ? P(i, { "": o }, "", o) : o;
419
+ return typeof i == "function" ? L(i, { "": o }, "", o) : o;
418
420
  }
419
- }, me = class extends pe {
421
+ }, ge = class extends he {
420
422
  constructor(e) {
421
- super(m), this.source = e, Object.defineProperty(this, "tag", { set() {
423
+ super(y), this.source = e, Object.defineProperty(this, "tag", { set() {
422
424
  throw Error("Alias nodes cannot have tags");
423
425
  } });
424
426
  }
425
427
  resolve(e, t) {
426
428
  let n;
427
- t?.aliasResolveCache ? n = t.aliasResolveCache : (n = [], A(e, { Node: (e, t) => {
428
- (x(t) || te(t)) && n.push(t);
429
+ t?.aliasResolveCache ? n = t.aliasResolveCache : (n = [], N(e, { Node: (e, t) => {
430
+ (T(t) || re(t)) && n.push(t);
429
431
  } }), t && (t.aliasResolveCache = n));
430
432
  let r;
431
433
  for (let e of n) {
@@ -443,14 +445,14 @@ var pe = class {
443
445
  }
444
446
  let o = n.get(a);
445
447
  /* istanbul ignore if */
446
- if (o ||= (F(a, null, t), n.get(a)), o?.res === void 0) throw ReferenceError("This should not happen: Alias anchor was not resolved?");
447
- if (i >= 0 && (o.count += 1, o.aliasCount === 0 && (o.aliasCount = he(r, a, n)), o.count * o.aliasCount > i)) throw ReferenceError("Excessive alias count indicates a resource exhaustion attack");
448
+ if (o ||= (R(a, null, t), n.get(a)), o?.res === void 0) throw ReferenceError("This should not happen: Alias anchor was not resolved?");
449
+ if (i >= 0 && (o.count += 1, o.aliasCount === 0 && (o.aliasCount = _e(r, a, n)), o.count * o.aliasCount > i)) throw ReferenceError("Excessive alias count indicates a resource exhaustion attack");
448
450
  return o.res;
449
451
  }
450
452
  toString(e, t, n) {
451
453
  let r = `*${this.source}`;
452
454
  if (e) {
453
- if (le(this.source), e.options.verifyAliasOrder && !e.anchors.has(this.source)) {
455
+ if (de(this.source), e.options.verifyAliasOrder && !e.anchors.has(this.source)) {
454
456
  let e = `Unresolved alias (the anchor must be set before the alias): ${this.source}`;
455
457
  throw Error(e);
456
458
  }
@@ -459,41 +461,41 @@ var pe = class {
459
461
  return r;
460
462
  }
461
463
  };
462
- function he(e, t, n) {
463
- if (x(t)) {
464
+ function _e(e, t, n) {
465
+ if (T(t)) {
464
466
  let r = t.resolve(e), i = n && r && n.get(r);
465
467
  return i ? i.count * i.aliasCount : 0;
466
- } else if (E(t)) {
468
+ } else if (k(t)) {
467
469
  let r = 0;
468
470
  for (let i of t.items) {
469
- let t = he(e, i, n);
471
+ let t = _e(e, i, n);
470
472
  t > r && (r = t);
471
473
  }
472
474
  return r;
473
- } else if (w(t)) {
474
- let r = he(e, t.key, n), i = he(e, t.value, n);
475
+ } else if (D(t)) {
476
+ let r = _e(e, t.key, n), i = _e(e, t.value, n);
475
477
  return Math.max(r, i);
476
478
  }
477
479
  return 1;
478
480
  }
479
481
  //#endregion
480
482
  //#region node_modules/yaml/browser/dist/nodes/Scalar.js
481
- var ge = (e) => !e || typeof e != "function" && typeof e != "object", I = class extends pe {
483
+ var ve = (e) => !e || typeof e != "function" && typeof e != "object", z = class extends he {
482
484
  constructor(e) {
483
- super(v), this.value = e;
485
+ super(C), this.value = e;
484
486
  }
485
487
  toJSON(e, t) {
486
- return t?.keep ? this.value : F(this.value, e, t);
488
+ return t?.keep ? this.value : R(this.value, e, t);
487
489
  }
488
490
  toString() {
489
491
  return String(this.value);
490
492
  }
491
493
  };
492
- I.BLOCK_FOLDED = "BLOCK_FOLDED", I.BLOCK_LITERAL = "BLOCK_LITERAL", I.PLAIN = "PLAIN", I.QUOTE_DOUBLE = "QUOTE_DOUBLE", I.QUOTE_SINGLE = "QUOTE_SINGLE";
494
+ z.BLOCK_FOLDED = "BLOCK_FOLDED", z.BLOCK_LITERAL = "BLOCK_LITERAL", z.PLAIN = "PLAIN", z.QUOTE_DOUBLE = "QUOTE_DOUBLE", z.QUOTE_SINGLE = "QUOTE_SINGLE";
493
495
  //#endregion
494
496
  //#region node_modules/yaml/browser/dist/doc/createNode.js
495
- var _e = "tag:yaml.org,2002:";
496
- function ve(e, t, n) {
497
+ var ye = "tag:yaml.org,2002:";
498
+ function be(e, t, n) {
497
499
  if (t) {
498
500
  let e = n.filter((e) => e.tag === t), r = e.find((e) => !e.format) ?? e[0];
499
501
  if (!r) throw Error(`Tag ${t} not found`);
@@ -501,37 +503,37 @@ function ve(e, t, n) {
501
503
  }
502
504
  return n.find((t) => t.identify?.(e) && !t.format);
503
505
  }
504
- function ye(e, t, n) {
505
- if (S(e) && (e = e.contents), D(e)) return e;
506
- if (w(e)) {
507
- let t = n.schema[g].createNode?.(n.schema, null, n);
506
+ function xe(e, t, n) {
507
+ if (E(e) && (e = e.contents), A(e)) return e;
508
+ if (D(e)) {
509
+ let t = n.schema[x].createNode?.(n.schema, null, n);
508
510
  return t.items.push(e), t;
509
511
  }
510
512
  (e instanceof String || e instanceof Number || e instanceof Boolean || typeof BigInt < "u" && e instanceof BigInt) && (e = e.valueOf());
511
513
  let { aliasDuplicateObjects: r, onAnchor: i, onTagObj: a, schema: o, sourceObjects: s } = n, c;
512
514
  if (r && e && typeof e == "object") {
513
- if (c = s.get(e), c) return c.anchor ??= i(e), new me(c.anchor);
515
+ if (c = s.get(e), c) return c.anchor ??= i(e), new ge(c.anchor);
514
516
  c = {
515
517
  anchor: null,
516
518
  node: null
517
519
  }, s.set(e, c);
518
520
  }
519
- t?.startsWith("!!") && (t = _e + t.slice(2));
520
- let l = ve(e, t, o.tags);
521
+ t?.startsWith("!!") && (t = ye + t.slice(2));
522
+ let l = be(e, t, o.tags);
521
523
  if (!l) {
522
524
  if (e && typeof e.toJSON == "function" && (e = e.toJSON()), !e || typeof e != "object") {
523
- let t = new I(e);
525
+ let t = new z(e);
524
526
  return c && (c.node = t), t;
525
527
  }
526
- l = e instanceof Map ? o[g] : Symbol.iterator in Object(e) ? o[y] : o[g];
528
+ l = e instanceof Map ? o[x] : Symbol.iterator in Object(e) ? o[ee] : o[x];
527
529
  }
528
530
  a && (a(l), delete n.onTagObj);
529
- let u = l?.createNode ? l.createNode(n.schema, e, n) : typeof l?.nodeClass?.from == "function" ? l.nodeClass.from(n.schema, e, n) : new I(e);
531
+ let u = l?.createNode ? l.createNode(n.schema, e, n) : typeof l?.nodeClass?.from == "function" ? l.nodeClass.from(n.schema, e, n) : new z(e);
530
532
  return t ? u.tag = t : l.default || (u.tag = l.tag), c && (c.node = u), u;
531
533
  }
532
534
  //#endregion
533
535
  //#region node_modules/yaml/browser/dist/nodes/Collection.js
534
- function be(e, t, n) {
536
+ function Se(e, t, n) {
535
537
  let r = n;
536
538
  for (let e = t.length - 1; e >= 0; --e) {
537
539
  let n = t[e];
@@ -540,7 +542,7 @@ function be(e, t, n) {
540
542
  e[n] = r, r = e;
541
543
  } else r = new Map([[n, r]]);
542
544
  }
543
- return ye(r, void 0, {
545
+ return xe(r, void 0, {
544
546
  aliasDuplicateObjects: !1,
545
547
  keepUndefined: !1,
546
548
  onAnchor: () => {
@@ -550,7 +552,7 @@ function be(e, t, n) {
550
552
  sourceObjects: /* @__PURE__ */ new Map()
551
553
  });
552
554
  }
553
- var xe = (e) => e == null || typeof e == "object" && !!e[Symbol.iterator]().next().done, Se = class extends pe {
555
+ var Ce = (e) => e == null || typeof e == "object" && !!e[Symbol.iterator]().next().done, we = class extends he {
554
556
  constructor(e, t) {
555
557
  super(e), Object.defineProperty(this, "schema", {
556
558
  value: t,
@@ -561,14 +563,14 @@ var xe = (e) => e == null || typeof e == "object" && !!e[Symbol.iterator]().next
561
563
  }
562
564
  clone(e) {
563
565
  let t = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this));
564
- return e && (t.schema = e), t.items = t.items.map((t) => D(t) || w(t) ? t.clone(e) : t), this.range && (t.range = this.range.slice()), t;
566
+ return e && (t.schema = e), t.items = t.items.map((t) => A(t) || D(t) ? t.clone(e) : t), this.range && (t.range = this.range.slice()), t;
565
567
  }
566
568
  addIn(e, t) {
567
- if (xe(e)) this.add(t);
569
+ if (Ce(e)) this.add(t);
568
570
  else {
569
571
  let [n, ...r] = e, i = this.get(n, !0);
570
- if (E(i)) i.addIn(r, t);
571
- else if (i === void 0 && this.schema) this.set(n, be(this.schema, r, t));
572
+ if (k(i)) i.addIn(r, t);
573
+ else if (i === void 0 && this.schema) this.set(n, Se(this.schema, r, t));
572
574
  else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);
573
575
  }
574
576
  }
@@ -576,42 +578,42 @@ var xe = (e) => e == null || typeof e == "object" && !!e[Symbol.iterator]().next
576
578
  let [t, ...n] = e;
577
579
  if (n.length === 0) return this.delete(t);
578
580
  let r = this.get(t, !0);
579
- if (E(r)) return r.deleteIn(n);
581
+ if (k(r)) return r.deleteIn(n);
580
582
  throw Error(`Expected YAML collection at ${t}. Remaining path: ${n}`);
581
583
  }
582
584
  getIn(e, t) {
583
585
  let [n, ...r] = e, i = this.get(n, !0);
584
- return r.length === 0 ? !t && T(i) ? i.value : i : E(i) ? i.getIn(r, t) : void 0;
586
+ return r.length === 0 ? !t && O(i) ? i.value : i : k(i) ? i.getIn(r, t) : void 0;
585
587
  }
586
588
  hasAllNullValues(e) {
587
589
  return this.items.every((t) => {
588
- if (!w(t)) return !1;
590
+ if (!D(t)) return !1;
589
591
  let n = t.value;
590
- return n == null || e && T(n) && n.value == null && !n.commentBefore && !n.comment && !n.tag;
592
+ return n == null || e && O(n) && n.value == null && !n.commentBefore && !n.comment && !n.tag;
591
593
  });
592
594
  }
593
595
  hasIn(e) {
594
596
  let [t, ...n] = e;
595
597
  if (n.length === 0) return this.has(t);
596
598
  let r = this.get(t, !0);
597
- return E(r) ? r.hasIn(n) : !1;
599
+ return k(r) ? r.hasIn(n) : !1;
598
600
  }
599
601
  setIn(e, t) {
600
602
  let [n, ...r] = e;
601
603
  if (r.length === 0) this.set(n, t);
602
604
  else {
603
605
  let e = this.get(n, !0);
604
- if (E(e)) e.setIn(r, t);
605
- else if (e === void 0 && this.schema) this.set(n, be(this.schema, r, t));
606
+ if (k(e)) e.setIn(r, t);
607
+ else if (e === void 0 && this.schema) this.set(n, Se(this.schema, r, t));
606
608
  else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);
607
609
  }
608
610
  }
609
- }, Ce = (e) => e.replace(/^(?!$)(?: $)?/gm, "#");
610
- function L(e, t) {
611
+ }, Te = (e) => e.replace(/^(?!$)(?: $)?/gm, "#");
612
+ function B(e, t) {
611
613
  return /^\n+$/.test(e) ? e.substring(1) : t ? e.replace(/^(?! *$)/gm, t) : e;
612
614
  }
613
- var R = (e, t, n) => e.endsWith("\n") ? L(n, t) : n.includes("\n") ? "\n" + L(n, t) : (e.endsWith(" ") ? "" : " ") + n, we = "flow", Te = "block", Ee = "quoted";
614
- function De(e, t, n = "flow", { indentAtStart: r, lineWidth: i = 80, minContentWidth: a = 20, onFold: o, onOverflow: s } = {}) {
615
+ var V = (e, t, n) => e.endsWith("\n") ? B(n, t) : n.includes("\n") ? "\n" + B(n, t) : (e.endsWith(" ") ? "" : " ") + n, Ee = "flow", De = "block", Oe = "quoted";
616
+ function ke(e, t, n = "flow", { indentAtStart: r, lineWidth: i = 80, minContentWidth: a = 20, onFold: o, onOverflow: s } = {}) {
615
617
  if (!i || i < 0) return e;
616
618
  i < a && (a = 0);
617
619
  let c = Math.max(1 + a, 1 + i - t.length);
@@ -619,7 +621,7 @@ function De(e, t, n = "flow", { indentAtStart: r, lineWidth: i = 80, minContentW
619
621
  let l = [], u = {}, d = i - t.length;
620
622
  typeof r == "number" && (r > i - Math.max(2, a) ? l.push(0) : d = i - r);
621
623
  let f, p, m = !1, h = -1, g = -1, _ = -1;
622
- n === "block" && (h = Oe(e, h, t.length), h !== -1 && (d = h + c));
624
+ n === "block" && (h = Ae(e, h, t.length), h !== -1 && (d = h + c));
623
625
  for (let r; r = e[h += 1];) {
624
626
  if (n === "quoted" && r === "\\") {
625
627
  switch (g = h, e[h + 1]) {
@@ -636,7 +638,7 @@ function De(e, t, n = "flow", { indentAtStart: r, lineWidth: i = 80, minContentW
636
638
  }
637
639
  _ = h;
638
640
  }
639
- if (r === "\n") n === "block" && (h = Oe(e, h, t.length)), d = h + t.length + c, f = void 0;
641
+ if (r === "\n") n === "block" && (h = Ae(e, h, t.length)), d = h + t.length + c, f = void 0;
640
642
  else {
641
643
  if (r === " " && p && p !== " " && p !== "\n" && p !== " ") {
642
644
  let t = e[h + 1];
@@ -661,7 +663,7 @@ function De(e, t, n = "flow", { indentAtStart: r, lineWidth: i = 80, minContentW
661
663
  }
662
664
  return v;
663
665
  }
664
- function Oe(e, t, n) {
666
+ function Ae(e, t, n) {
665
667
  let r = t, i = t + 1, a = e[i];
666
668
  for (; a === " " || a === " ";) if (t < i + n) a = e[++t];
667
669
  else {
@@ -674,12 +676,12 @@ function Oe(e, t, n) {
674
676
  }
675
677
  //#endregion
676
678
  //#region node_modules/yaml/browser/dist/stringify/stringifyString.js
677
- var ke = (e, t) => ({
679
+ var je = (e, t) => ({
678
680
  indentAtStart: t ? e.indent.length : e.indentAtStart,
679
681
  lineWidth: e.options.lineWidth,
680
682
  minContentWidth: e.options.minContentWidth
681
- }), Ae = (e) => /^(%|---|\.\.\.)/m.test(e);
682
- function je(e, t, n) {
683
+ }), Me = (e) => /^(%|---|\.\.\.)/m.test(e);
684
+ function Ne(e, t, n) {
683
685
  if (!t || t < 0) return !1;
684
686
  let r = t - n, i = e.length;
685
687
  if (i <= r) return !1;
@@ -689,10 +691,10 @@ function je(e, t, n) {
689
691
  }
690
692
  return !0;
691
693
  }
692
- function Me(e, t) {
694
+ function Pe(e, t) {
693
695
  let n = JSON.stringify(e);
694
696
  if (t.options.doubleQuotedAsJSON) return n;
695
- let { implicitKey: r } = t, i = t.options.doubleQuotedMinMultiLineLength, a = t.indent || (Ae(e) ? " " : ""), o = "", s = 0;
697
+ let { implicitKey: r } = t, i = t.options.doubleQuotedMinMultiLineLength, a = t.indent || (Me(e) ? " " : ""), o = "", s = 0;
696
698
  for (let e = 0, t = n[e]; t; t = n[++e]) if (t === " " && n[e + 1] === "\\" && n[e + 2] === "n" && (o += n.slice(s, e) + "\\ ", e += 1, s = e, t = "\\"), t === "\\") switch (n[e + 1]) {
697
699
  case "u":
698
700
  {
@@ -737,32 +739,32 @@ function Me(e, t) {
737
739
  break;
738
740
  default: e += 1;
739
741
  }
740
- return o = s ? o + n.slice(s) : n, r ? o : De(o, a, Ee, ke(t, !1));
742
+ return o = s ? o + n.slice(s) : n, r ? o : ke(o, a, Oe, je(t, !1));
741
743
  }
742
- function Ne(e, t) {
743
- if (t.options.singleQuote === !1 || t.implicitKey && e.includes("\n") || /[ \t]\n|\n[ \t]/.test(e)) return Me(e, t);
744
- let n = t.indent || (Ae(e) ? " " : ""), r = "'" + e.replace(/'/g, "''").replace(/\n+/g, `$&\n${n}`) + "'";
745
- return t.implicitKey ? r : De(r, n, we, ke(t, !1));
744
+ function Fe(e, t) {
745
+ if (t.options.singleQuote === !1 || t.implicitKey && e.includes("\n") || /[ \t]\n|\n[ \t]/.test(e)) return Pe(e, t);
746
+ let n = t.indent || (Me(e) ? " " : ""), r = "'" + e.replace(/'/g, "''").replace(/\n+/g, `$&\n${n}`) + "'";
747
+ return t.implicitKey ? r : ke(r, n, Ee, je(t, !1));
746
748
  }
747
- function z(e, t) {
749
+ function H(e, t) {
748
750
  let { singleQuote: n } = t.options, r;
749
- if (n === !1) r = Me;
751
+ if (n === !1) r = Pe;
750
752
  else {
751
753
  let t = e.includes("\""), i = e.includes("'");
752
- r = t && !i ? Ne : i && !t ? Me : n ? Ne : Me;
754
+ r = t && !i ? Fe : i && !t ? Pe : n ? Fe : Pe;
753
755
  }
754
756
  return r(e, t);
755
757
  }
756
- var Pe;
758
+ var Ie;
757
759
  try {
758
- Pe = /* @__PURE__ */ RegExp("(^|(?<!\n))\n+(?!\n|$)", "g");
760
+ Ie = /* @__PURE__ */ RegExp("(^|(?<!\n))\n+(?!\n|$)", "g");
759
761
  } catch {
760
- Pe = /\n+(?!\n|$)/g;
762
+ Ie = /\n+(?!\n|$)/g;
761
763
  }
762
- function Fe({ comment: e, type: t, value: n }, r, i, a) {
764
+ function Le({ comment: e, type: t, value: n }, r, i, a) {
763
765
  let { blockQuote: o, commentString: s, lineWidth: c } = r.options;
764
- if (!o || /\n[\t ]+$/.test(n)) return z(n, r);
765
- let l = r.indent || (r.forceBlockIndent || Ae(n) ? " " : ""), u = o === "literal" ? !0 : o === "folded" || t === I.BLOCK_FOLDED ? !1 : t === I.BLOCK_LITERAL ? !0 : !je(n, c, l.length);
766
+ if (!o || /\n[\t ]+$/.test(n)) return H(n, r);
767
+ let l = r.indent || (r.forceBlockIndent || Me(n) ? " " : ""), u = o === "literal" ? !0 : o === "folded" || t === z.BLOCK_FOLDED ? !1 : t === z.BLOCK_LITERAL ? !0 : !Ne(n, c, l.length);
766
768
  if (!n) return u ? "|\n" : ">\n";
767
769
  let d, f;
768
770
  for (f = n.length; f > 0; --f) {
@@ -770,7 +772,7 @@ function Fe({ comment: e, type: t, value: n }, r, i, a) {
770
772
  if (e !== "\n" && e !== " " && e !== " ") break;
771
773
  }
772
774
  let p = n.substring(f), m = p.indexOf("\n");
773
- m === -1 ? d = "-" : n === p || m !== p.length - 1 ? (d = "+", a && a()) : d = "", p &&= (n = n.slice(0, -p.length), p[p.length - 1] === "\n" && (p = p.slice(0, -1)), p.replace(Pe, `$&${l}`));
775
+ m === -1 ? d = "-" : n === p || m !== p.length - 1 ? (d = "+", a && a()) : d = "", p &&= (n = n.slice(0, -p.length), p[p.length - 1] === "\n" && (p = p.slice(0, -1)), p.replace(Ie, `$&${l}`));
774
776
  let h = !1, g, _ = -1;
775
777
  for (g = 0; g < n.length; ++g) {
776
778
  let e = n[g];
@@ -782,41 +784,41 @@ function Fe({ comment: e, type: t, value: n }, r, i, a) {
782
784
  v &&= (n = n.substring(v.length), v.replace(/\n+/g, `$&${l}`));
783
785
  let y = (h ? l ? "2" : "1" : "") + d;
784
786
  if (e && (y += " " + s(e.replace(/ ?[\r\n]+/g, " ")), i && i()), !u) {
785
- let e = n.replace(/\n+/g, "\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g, "$1$2").replace(/\n+/g, `$&${l}`), i = !1, a = ke(r, !0);
786
- o !== "folded" && t !== I.BLOCK_FOLDED && (a.onOverflow = () => {
787
+ let e = n.replace(/\n+/g, "\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g, "$1$2").replace(/\n+/g, `$&${l}`), i = !1, a = je(r, !0);
788
+ o !== "folded" && t !== z.BLOCK_FOLDED && (a.onOverflow = () => {
787
789
  i = !0;
788
790
  });
789
- let s = De(`${v}${e}${p}`, l, Te, a);
791
+ let s = ke(`${v}${e}${p}`, l, De, a);
790
792
  if (!i) return `>${y}\n${l}${s}`;
791
793
  }
792
794
  return n = n.replace(/\n+/g, `$&${l}`), `|${y}\n${l}${v}${n}${p}`;
793
795
  }
794
- function Ie(e, t, n, r) {
796
+ function Re(e, t, n, r) {
795
797
  let { type: i, value: a } = e, { actualString: o, implicitKey: s, indent: c, indentStep: l, inFlow: u } = t;
796
- if (s && a.includes("\n") || u && /[[\]{},]/.test(a)) return z(a, t);
797
- if (/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(a)) return s || u || !a.includes("\n") ? z(a, t) : Fe(e, t, n, r);
798
- if (!s && !u && i !== I.PLAIN && a.includes("\n")) return Fe(e, t, n, r);
799
- if (Ae(a)) {
800
- if (c === "") return t.forceBlockIndent = !0, Fe(e, t, n, r);
801
- if (s && c === l) return z(a, t);
798
+ if (s && a.includes("\n") || u && /[[\]{},]/.test(a)) return H(a, t);
799
+ if (/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(a)) return s || u || !a.includes("\n") ? H(a, t) : Le(e, t, n, r);
800
+ if (!s && !u && i !== z.PLAIN && a.includes("\n")) return Le(e, t, n, r);
801
+ if (Me(a)) {
802
+ if (c === "") return t.forceBlockIndent = !0, Le(e, t, n, r);
803
+ if (s && c === l) return H(a, t);
802
804
  }
803
805
  let d = a.replace(/\n+/g, `$&\n${c}`);
804
806
  if (o) {
805
807
  let e = (e) => e.default && e.tag !== "tag:yaml.org,2002:str" && e.test?.test(d), { compat: n, tags: r } = t.doc.schema;
806
- if (r.some(e) || n?.some(e)) return z(a, t);
808
+ if (r.some(e) || n?.some(e)) return H(a, t);
807
809
  }
808
- return s ? d : De(d, c, we, ke(t, !1));
810
+ return s ? d : ke(d, c, Ee, je(t, !1));
809
811
  }
810
- function Le(e, t, n, r) {
812
+ function ze(e, t, n, r) {
811
813
  let { implicitKey: i, inFlow: a } = t, o = typeof e.value == "string" ? e : Object.assign({}, e, { value: String(e.value) }), { type: s } = e;
812
- s !== I.QUOTE_DOUBLE && /[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value) && (s = I.QUOTE_DOUBLE);
814
+ s !== z.QUOTE_DOUBLE && /[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value) && (s = z.QUOTE_DOUBLE);
813
815
  let c = (e) => {
814
816
  switch (e) {
815
- case I.BLOCK_FOLDED:
816
- case I.BLOCK_LITERAL: return i || a ? z(o.value, t) : Fe(o, t, n, r);
817
- case I.QUOTE_DOUBLE: return Me(o.value, t);
818
- case I.QUOTE_SINGLE: return Ne(o.value, t);
819
- case I.PLAIN: return Ie(o, t, n, r);
817
+ case z.BLOCK_FOLDED:
818
+ case z.BLOCK_LITERAL: return i || a ? H(o.value, t) : Le(o, t, n, r);
819
+ case z.QUOTE_DOUBLE: return Pe(o.value, t);
820
+ case z.QUOTE_SINGLE: return Fe(o.value, t);
821
+ case z.PLAIN: return Re(o, t, n, r);
820
822
  default: return null;
821
823
  }
822
824
  }, l = c(s);
@@ -828,10 +830,10 @@ function Le(e, t, n, r) {
828
830
  }
829
831
  //#endregion
830
832
  //#region node_modules/yaml/browser/dist/stringify/stringify.js
831
- function Re(e, t) {
833
+ function Be(e, t) {
832
834
  let n = Object.assign({
833
835
  blockQuote: !0,
834
- commentString: Ce,
836
+ commentString: Te,
835
837
  defaultKeyType: null,
836
838
  defaultStringType: "PLAIN",
837
839
  directives: null,
@@ -868,13 +870,13 @@ function Re(e, t) {
868
870
  options: n
869
871
  };
870
872
  }
871
- function ze(e, t) {
873
+ function Ve(e, t) {
872
874
  if (t.tag) {
873
875
  let n = e.filter((e) => e.tag === t.tag);
874
876
  if (n.length > 0) return n.find((e) => e.format === t.format) ?? n[0];
875
877
  }
876
878
  let n, r;
877
- if (T(t)) {
879
+ if (O(t)) {
878
880
  r = t.value;
879
881
  let i = e.filter((e) => e.identify?.(r));
880
882
  if (i.length > 1) {
@@ -889,60 +891,60 @@ function ze(e, t) {
889
891
  }
890
892
  return n;
891
893
  }
892
- function Be(e, t, { anchors: n, doc: r }) {
894
+ function He(e, t, { anchors: n, doc: r }) {
893
895
  if (!r.directives) return "";
894
- let i = [], a = (T(e) || E(e)) && e.anchor;
895
- a && le(a) && (n.add(a), i.push(`&${a}`));
896
+ let i = [], a = (O(e) || k(e)) && e.anchor;
897
+ a && de(a) && (n.add(a), i.push(`&${a}`));
896
898
  let o = e.tag ?? (t.default ? null : t.tag);
897
899
  return o && i.push(r.directives.tagString(o)), i.join(" ");
898
900
  }
899
- function B(e, t, n, r) {
900
- if (w(e)) return e.toString(t, n, r);
901
- if (x(e)) {
901
+ function U(e, t, n, r) {
902
+ if (D(e)) return e.toString(t, n, r);
903
+ if (T(e)) {
902
904
  if (t.doc.directives) return e.toString(t);
903
905
  if (t.resolvedAliases?.has(e)) throw TypeError("Cannot stringify circular structure without alias nodes");
904
906
  t.resolvedAliases ? t.resolvedAliases.add(e) : t.resolvedAliases = new Set([e]), e = e.resolve(t.doc);
905
907
  }
906
- let i, a = D(e) ? e : t.doc.createNode(e, { onTagObj: (e) => i = e });
907
- i ??= ze(t.doc.schema.tags, a);
908
- let o = Be(a, i, t);
908
+ let i, a = A(e) ? e : t.doc.createNode(e, { onTagObj: (e) => i = e });
909
+ i ??= Ve(t.doc.schema.tags, a);
910
+ let o = He(a, i, t);
909
911
  o.length > 0 && (t.indentAtStart = (t.indentAtStart ?? 0) + o.length + 1);
910
- let s = typeof i.stringify == "function" ? i.stringify(a, t, n, r) : T(a) ? Le(a, t, n, r) : a.toString(t, n, r);
911
- return o ? T(a) || s[0] === "{" || s[0] === "[" ? `${o} ${s}` : `${o}\n${t.indent}${s}` : s;
912
+ let s = typeof i.stringify == "function" ? i.stringify(a, t, n, r) : O(a) ? ze(a, t, n, r) : a.toString(t, n, r);
913
+ return o ? O(a) || s[0] === "{" || s[0] === "[" ? `${o} ${s}` : `${o}\n${t.indent}${s}` : s;
912
914
  }
913
915
  //#endregion
914
916
  //#region node_modules/yaml/browser/dist/stringify/stringifyPair.js
915
- function Ve({ key: e, value: t }, n, r, i) {
916
- let { allNullValues: a, doc: o, indent: s, indentStep: c, options: { commentString: l, indentSeq: u, simpleKeys: d } } = n, f = D(e) && e.comment || null;
917
+ function Ue({ key: e, value: t }, n, r, i) {
918
+ let { allNullValues: a, doc: o, indent: s, indentStep: c, options: { commentString: l, indentSeq: u, simpleKeys: d } } = n, f = A(e) && e.comment || null;
917
919
  if (d) {
918
920
  if (f) throw Error("With simple keys, key nodes cannot have comments");
919
- if (E(e) || !D(e) && typeof e == "object") throw Error("With simple keys, collection cannot be used as a key value");
921
+ if (k(e) || !A(e) && typeof e == "object") throw Error("With simple keys, collection cannot be used as a key value");
920
922
  }
921
- let p = !d && (!e || f && t == null && !n.inFlow || E(e) || (T(e) ? e.type === I.BLOCK_FOLDED || e.type === I.BLOCK_LITERAL : typeof e == "object"));
923
+ let p = !d && (!e || f && t == null && !n.inFlow || k(e) || (O(e) ? e.type === z.BLOCK_FOLDED || e.type === z.BLOCK_LITERAL : typeof e == "object"));
922
924
  n = Object.assign({}, n, {
923
925
  allNullValues: !1,
924
926
  implicitKey: !p && (d || !a),
925
927
  indent: s + c
926
928
  });
927
- let m = !1, h = !1, g = B(e, n, () => m = !0, () => h = !0);
929
+ let m = !1, h = !1, g = U(e, n, () => m = !0, () => h = !0);
928
930
  if (!p && !n.inFlow && g.length > 1024) {
929
931
  if (d) throw Error("With simple keys, single line scalar must not span more than 1024 characters");
930
932
  p = !0;
931
933
  }
932
934
  if (n.inFlow) {
933
935
  if (a || t == null) return m && r && r(), g === "" ? "?" : p ? `? ${g}` : g;
934
- } else if (a && !d || t == null && p) return g = `? ${g}`, f && !m ? g += R(g, n.indent, l(f)) : h && i && i(), g;
935
- m && (f = null), p ? (f && (g += R(g, n.indent, l(f))), g = `? ${g}\n${s}:`) : (g = `${g}:`, f && (g += R(g, n.indent, l(f))));
936
+ } else if (a && !d || t == null && p) return g = `? ${g}`, f && !m ? g += V(g, n.indent, l(f)) : h && i && i(), g;
937
+ m && (f = null), p ? (f && (g += V(g, n.indent, l(f))), g = `? ${g}\n${s}:`) : (g = `${g}:`, f && (g += V(g, n.indent, l(f))));
936
938
  let _, v, y;
937
- D(t) ? (_ = !!t.spaceBefore, v = t.commentBefore, y = t.comment) : (_ = !1, v = null, y = null, t && typeof t == "object" && (t = o.createNode(t))), n.implicitKey = !1, !p && !f && T(t) && (n.indentAtStart = g.length + 1), h = !1, !u && c.length >= 2 && !n.inFlow && !p && ee(t) && !t.flow && !t.tag && !t.anchor && (n.indent = n.indent.substring(2));
938
- let b = !1, x = B(t, n, () => b = !0, () => h = !0), S = " ";
939
+ A(t) ? (_ = !!t.spaceBefore, v = t.commentBefore, y = t.comment) : (_ = !1, v = null, y = null, t && typeof t == "object" && (t = o.createNode(t))), n.implicitKey = !1, !p && !f && O(t) && (n.indentAtStart = g.length + 1), h = !1, !u && c.length >= 2 && !n.inFlow && !p && ne(t) && !t.flow && !t.tag && !t.anchor && (n.indent = n.indent.substring(2));
940
+ let b = !1, x = U(t, n, () => b = !0, () => h = !0), S = " ";
939
941
  if (f || _ || v) {
940
942
  if (S = _ ? "\n" : "", v) {
941
943
  let e = l(v);
942
- S += `\n${L(e, n.indent)}`;
944
+ S += `\n${B(e, n.indent)}`;
943
945
  }
944
946
  x === "" && !n.inFlow ? S === "\n" && y && (S = "\n\n") : S += `\n${n.indent}`;
945
- } else if (!p && E(t)) {
947
+ } else if (!p && k(t)) {
946
948
  let e = x[0], r = x.indexOf("\n"), i = r !== -1, a = n.inFlow ?? t.flow ?? t.items.length === 0;
947
949
  if (i || !a) {
948
950
  let t = !1;
@@ -953,31 +955,31 @@ function Ve({ key: e, value: t }, n, r, i) {
953
955
  t || (S = `\n${n.indent}`);
954
956
  }
955
957
  } else (x === "" || x[0] === "\n") && (S = "");
956
- return g += S + x, n.inFlow ? b && r && r() : y && !b ? g += R(g, n.indent, l(y)) : h && i && i(), g;
958
+ return g += S + x, n.inFlow ? b && r && r() : y && !b ? g += V(g, n.indent, l(y)) : h && i && i(), g;
957
959
  }
958
960
  //#endregion
959
961
  //#region node_modules/yaml/browser/dist/log.js
960
- function He(e, t) {
962
+ function We(e, t) {
961
963
  (e === "debug" || e === "warn") && console.warn(t);
962
964
  }
963
965
  //#endregion
964
966
  //#region node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js
965
- var Ue = "<<", V = {
966
- identify: (e) => e === Ue || typeof e == "symbol" && e.description === Ue,
967
+ var Ge = "<<", W = {
968
+ identify: (e) => e === Ge || typeof e == "symbol" && e.description === Ge,
967
969
  default: "key",
968
970
  tag: "tag:yaml.org,2002:merge",
969
971
  test: /^<<$/,
970
- resolve: () => Object.assign(new I(Symbol(Ue)), { addToJSMap: Ge }),
971
- stringify: () => Ue
972
- }, We = (e, t) => (V.identify(t) || T(t) && (!t.type || t.type === I.PLAIN) && V.identify(t.value)) && e?.doc.schema.tags.some((e) => e.tag === V.tag && e.default);
973
- function Ge(e, t, n) {
974
- if (n = e && x(n) ? n.resolve(e.doc) : n, ee(n)) for (let r of n.items) Ke(e, t, r);
975
- else if (Array.isArray(n)) for (let r of n) Ke(e, t, r);
976
- else Ke(e, t, n);
972
+ resolve: () => Object.assign(new z(Symbol(Ge)), { addToJSMap: qe }),
973
+ stringify: () => Ge
974
+ }, Ke = (e, t) => (W.identify(t) || O(t) && (!t.type || t.type === z.PLAIN) && W.identify(t.value)) && e?.doc.schema.tags.some((e) => e.tag === W.tag && e.default);
975
+ function qe(e, t, n) {
976
+ if (n = e && T(n) ? n.resolve(e.doc) : n, ne(n)) for (let r of n.items) Je(e, t, r);
977
+ else if (Array.isArray(n)) for (let r of n) Je(e, t, r);
978
+ else Je(e, t, n);
977
979
  }
978
- function Ke(e, t, n) {
979
- let r = e && x(n) ? n.resolve(e.doc) : n;
980
- if (!C(r)) throw Error("Merge sources must be maps or map aliases");
980
+ function Je(e, t, n) {
981
+ let r = e && T(n) ? n.resolve(e.doc) : n;
982
+ if (!te(r)) throw Error("Merge sources must be maps or map aliases");
981
983
  let i = r.toJSON(null, e, Map);
982
984
  for (let [e, n] of i) t instanceof Map ? t.has(e) || t.set(e, n) : t instanceof Set ? t.add(e) : Object.prototype.hasOwnProperty.call(t, e) || Object.defineProperty(t, e, {
983
985
  value: n,
@@ -989,15 +991,15 @@ function Ke(e, t, n) {
989
991
  }
990
992
  //#endregion
991
993
  //#region node_modules/yaml/browser/dist/nodes/addPairToJSMap.js
992
- function qe(e, t, { key: n, value: r }) {
993
- if (D(n) && n.addToJSMap) n.addToJSMap(e, t, r);
994
- else if (We(e, n)) Ge(e, t, r);
994
+ function Ye(e, t, { key: n, value: r }) {
995
+ if (A(n) && n.addToJSMap) n.addToJSMap(e, t, r);
996
+ else if (Ke(e, n)) qe(e, t, r);
995
997
  else {
996
- let i = F(n, "", e);
997
- if (t instanceof Map) t.set(i, F(r, i, e));
998
+ let i = R(n, "", e);
999
+ if (t instanceof Map) t.set(i, R(r, i, e));
998
1000
  else if (t instanceof Set) t.add(i);
999
1001
  else {
1000
- let a = Je(n, i, e), o = F(r, a, e);
1002
+ let a = Xe(n, i, e), o = R(r, a, e);
1001
1003
  a in t ? Object.defineProperty(t, a, {
1002
1004
  value: o,
1003
1005
  writable: !0,
@@ -1008,18 +1010,18 @@ function qe(e, t, { key: n, value: r }) {
1008
1010
  }
1009
1011
  return t;
1010
1012
  }
1011
- function Je(e, t, n) {
1013
+ function Xe(e, t, n) {
1012
1014
  if (t === null) return "";
1013
1015
  if (typeof t != "object") return String(t);
1014
- if (D(e) && n?.doc) {
1015
- let t = Re(n.doc, {});
1016
+ if (A(e) && n?.doc) {
1017
+ let t = Be(n.doc, {});
1016
1018
  t.anchors = /* @__PURE__ */ new Set();
1017
1019
  for (let e of n.anchors.keys()) t.anchors.add(e.anchor);
1018
1020
  t.inFlow = !0, t.inStringifyKey = !0;
1019
1021
  let r = e.toString(t);
1020
1022
  if (!n.mapKeyWarned) {
1021
1023
  let e = JSON.stringify(r);
1022
- e.length > 40 && (e = e.substring(0, 36) + "...\""), He(n.doc.options.logLevel, `Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`), n.mapKeyWarned = !0;
1024
+ e.length > 40 && (e = e.substring(0, 36) + "...\""), We(n.doc.options.logLevel, `Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`), n.mapKeyWarned = !0;
1023
1025
  }
1024
1026
  return r;
1025
1027
  }
@@ -1027,44 +1029,44 @@ function Je(e, t, n) {
1027
1029
  }
1028
1030
  //#endregion
1029
1031
  //#region node_modules/yaml/browser/dist/nodes/Pair.js
1030
- function Ye(e, t, n) {
1031
- return new H(ye(e, void 0, n), ye(t, void 0, n));
1032
+ function Ze(e, t, n) {
1033
+ return new G(xe(e, void 0, n), xe(t, void 0, n));
1032
1034
  }
1033
- var H = class e {
1035
+ var G = class e {
1034
1036
  constructor(e, t = null) {
1035
- Object.defineProperty(this, b, { value: _ }), this.key = e, this.value = t;
1037
+ Object.defineProperty(this, w, { value: S }), this.key = e, this.value = t;
1036
1038
  }
1037
1039
  clone(t) {
1038
1040
  let { key: n, value: r } = this;
1039
- return D(n) && (n = n.clone(t)), D(r) && (r = r.clone(t)), new e(n, r);
1041
+ return A(n) && (n = n.clone(t)), A(r) && (r = r.clone(t)), new e(n, r);
1040
1042
  }
1041
1043
  toJSON(e, t) {
1042
- return qe(t, t?.mapAsMap ? /* @__PURE__ */ new Map() : {}, this);
1044
+ return Ye(t, t?.mapAsMap ? /* @__PURE__ */ new Map() : {}, this);
1043
1045
  }
1044
1046
  toString(e, t, n) {
1045
- return e?.doc ? Ve(this, e, t, n) : JSON.stringify(this);
1047
+ return e?.doc ? Ue(this, e, t, n) : JSON.stringify(this);
1046
1048
  }
1047
1049
  };
1048
1050
  //#endregion
1049
1051
  //#region node_modules/yaml/browser/dist/stringify/stringifyCollection.js
1050
- function Xe(e, t, n) {
1051
- return (t.inFlow ?? e.flow ? Qe : Ze)(e, t, n);
1052
+ function Qe(e, t, n) {
1053
+ return (t.inFlow ?? e.flow ? et : $e)(e, t, n);
1052
1054
  }
1053
- function Ze({ comment: e, items: t }, n, { blockItemPrefix: r, flowChars: i, itemIndent: a, onChompKeep: o, onComment: s }) {
1055
+ function $e({ comment: e, items: t }, n, { blockItemPrefix: r, flowChars: i, itemIndent: a, onChompKeep: o, onComment: s }) {
1054
1056
  let { indent: c, options: { commentString: l } } = n, u = Object.assign({}, n, {
1055
1057
  indent: a,
1056
1058
  type: null
1057
1059
  }), d = !1, f = [];
1058
1060
  for (let e = 0; e < t.length; ++e) {
1059
1061
  let i = t[e], o = null;
1060
- if (D(i)) !d && i.spaceBefore && f.push(""), $e(n, f, i.commentBefore, d), i.comment && (o = i.comment);
1061
- else if (w(i)) {
1062
- let e = D(i.key) ? i.key : null;
1063
- e && (!d && e.spaceBefore && f.push(""), $e(n, f, e.commentBefore, d));
1062
+ if (A(i)) !d && i.spaceBefore && f.push(""), tt(n, f, i.commentBefore, d), i.comment && (o = i.comment);
1063
+ else if (D(i)) {
1064
+ let e = A(i.key) ? i.key : null;
1065
+ e && (!d && e.spaceBefore && f.push(""), tt(n, f, e.commentBefore, d));
1064
1066
  }
1065
1067
  d = !1;
1066
- let s = B(i, u, () => o = null, () => d = !0);
1067
- o && (s += R(s, a, l(o))), d && o && (d = !1), f.push(r + s);
1068
+ let s = U(i, u, () => o = null, () => d = !0);
1069
+ o && (s += V(s, a, l(o))), d && o && (d = !1), f.push(r + s);
1068
1070
  }
1069
1071
  let p;
1070
1072
  if (f.length === 0) p = i.start + i.end;
@@ -1075,9 +1077,9 @@ function Ze({ comment: e, items: t }, n, { blockItemPrefix: r, flowChars: i, ite
1075
1077
  p += t ? `\n${c}${t}` : "\n";
1076
1078
  }
1077
1079
  }
1078
- return e ? (p += "\n" + L(l(e), c), s && s()) : d && o && o(), p;
1080
+ return e ? (p += "\n" + B(l(e), c), s && s()) : d && o && o(), p;
1079
1081
  }
1080
- function Qe({ items: e }, t, { flowChars: n, itemIndent: r }) {
1082
+ function et({ items: e }, t, { flowChars: n, itemIndent: r }) {
1081
1083
  let { indent: i, indentStep: a, flowCollectionPadding: o, options: { commentString: s } } = t;
1082
1084
  r += a;
1083
1085
  let c = Object.assign({}, t, {
@@ -1087,16 +1089,16 @@ function Qe({ items: e }, t, { flowChars: n, itemIndent: r }) {
1087
1089
  }), l = !1, u = 0, d = [];
1088
1090
  for (let n = 0; n < e.length; ++n) {
1089
1091
  let i = e[n], a = null;
1090
- if (D(i)) i.spaceBefore && d.push(""), $e(t, d, i.commentBefore, !1), i.comment && (a = i.comment);
1091
- else if (w(i)) {
1092
- let e = D(i.key) ? i.key : null;
1093
- e && (e.spaceBefore && d.push(""), $e(t, d, e.commentBefore, !1), e.comment && (l = !0));
1094
- let n = D(i.value) ? i.value : null;
1092
+ if (A(i)) i.spaceBefore && d.push(""), tt(t, d, i.commentBefore, !1), i.comment && (a = i.comment);
1093
+ else if (D(i)) {
1094
+ let e = A(i.key) ? i.key : null;
1095
+ e && (e.spaceBefore && d.push(""), tt(t, d, e.commentBefore, !1), e.comment && (l = !0));
1096
+ let n = A(i.value) ? i.value : null;
1095
1097
  n ? (n.comment && (a = n.comment), n.commentBefore && (l = !0)) : i.value == null && e?.comment && (a = e.comment);
1096
1098
  }
1097
1099
  a && (l = !0);
1098
- let o = B(i, c, () => a = null);
1099
- l ||= d.length > u || o.includes("\n"), n < e.length - 1 ? o += "," : t.options.trailingComma && (t.options.lineWidth > 0 && (l ||= d.reduce((e, t) => e + t.length + 2, 2) + (o.length + 2) > t.options.lineWidth), l && (o += ",")), a && (o += R(o, r, s(a))), d.push(o), u = d.length;
1100
+ let o = U(i, c, () => a = null);
1101
+ l ||= d.length > u || o.includes("\n"), n < e.length - 1 ? o += "," : t.options.trailingComma && (t.options.lineWidth > 0 && (l ||= d.reduce((e, t) => e + t.length + 2, 2) + (o.length + 2) > t.options.lineWidth), l && (o += ",")), a && (o += V(o, r, s(a))), d.push(o), u = d.length;
1100
1102
  }
1101
1103
  let { start: f, end: p } = n;
1102
1104
  if (d.length === 0) return f + p;
@@ -1110,30 +1112,30 @@ function Qe({ items: e }, t, { flowChars: n, itemIndent: r }) {
1110
1112
  return `${e}\n${i}${p}`;
1111
1113
  } else return `${f}${o}${d.join(" ")}${o}${p}`;
1112
1114
  }
1113
- function $e({ indent: e, options: { commentString: t } }, n, r, i) {
1115
+ function tt({ indent: e, options: { commentString: t } }, n, r, i) {
1114
1116
  if (r && i && (r = r.replace(/^\n+/, "")), r) {
1115
- let i = L(t(r), e);
1117
+ let i = B(t(r), e);
1116
1118
  n.push(i.trimStart());
1117
1119
  }
1118
1120
  }
1119
1121
  //#endregion
1120
1122
  //#region node_modules/yaml/browser/dist/nodes/YAMLMap.js
1121
- function U(e, t) {
1122
- let n = T(t) ? t.value : t;
1123
- for (let r of e) if (w(r) && (r.key === t || r.key === n || T(r.key) && r.key.value === n)) return r;
1123
+ function K(e, t) {
1124
+ let n = O(t) ? t.value : t;
1125
+ for (let r of e) if (D(r) && (r.key === t || r.key === n || O(r.key) && r.key.value === n)) return r;
1124
1126
  }
1125
- var W = class extends Se {
1127
+ var q = class extends we {
1126
1128
  static get tagName() {
1127
1129
  return "tag:yaml.org,2002:map";
1128
1130
  }
1129
1131
  constructor(e) {
1130
- super(g, e), this.items = [];
1132
+ super(x, e), this.items = [];
1131
1133
  }
1132
1134
  static from(e, t, n) {
1133
1135
  let { keepUndefined: r, replacer: i } = n, a = new this(e), o = (e, o) => {
1134
1136
  if (typeof i == "function") o = i.call(t, e, o);
1135
1137
  else if (Array.isArray(i) && !i.includes(e)) return;
1136
- (o !== void 0 || r) && a.items.push(Ye(e, o, n));
1138
+ (o !== void 0 || r) && a.items.push(Ze(e, o, n));
1137
1139
  };
1138
1140
  if (t instanceof Map) for (let [e, n] of t) o(e, n);
1139
1141
  else if (t && typeof t == "object") for (let e of Object.keys(t)) o(e, t[e]);
@@ -1141,40 +1143,40 @@ var W = class extends Se {
1141
1143
  }
1142
1144
  add(e, t) {
1143
1145
  let n;
1144
- n = w(e) ? e : !e || typeof e != "object" || !("key" in e) ? new H(e, e?.value) : new H(e.key, e.value);
1145
- let r = U(this.items, n.key), i = this.schema?.sortMapEntries;
1146
+ n = D(e) ? e : !e || typeof e != "object" || !("key" in e) ? new G(e, e?.value) : new G(e.key, e.value);
1147
+ let r = K(this.items, n.key), i = this.schema?.sortMapEntries;
1146
1148
  if (r) {
1147
1149
  if (!t) throw Error(`Key ${n.key} already set`);
1148
- T(r.value) && ge(n.value) ? r.value.value = n.value : r.value = n.value;
1150
+ O(r.value) && ve(n.value) ? r.value.value = n.value : r.value = n.value;
1149
1151
  } else if (i) {
1150
1152
  let e = this.items.findIndex((e) => i(n, e) < 0);
1151
1153
  e === -1 ? this.items.push(n) : this.items.splice(e, 0, n);
1152
1154
  } else this.items.push(n);
1153
1155
  }
1154
1156
  delete(e) {
1155
- let t = U(this.items, e);
1157
+ let t = K(this.items, e);
1156
1158
  return t ? this.items.splice(this.items.indexOf(t), 1).length > 0 : !1;
1157
1159
  }
1158
1160
  get(e, t) {
1159
- let n = U(this.items, e)?.value;
1160
- return (!t && T(n) ? n.value : n) ?? void 0;
1161
+ let n = K(this.items, e)?.value;
1162
+ return (!t && O(n) ? n.value : n) ?? void 0;
1161
1163
  }
1162
1164
  has(e) {
1163
- return !!U(this.items, e);
1165
+ return !!K(this.items, e);
1164
1166
  }
1165
1167
  set(e, t) {
1166
- this.add(new H(e, t), !0);
1168
+ this.add(new G(e, t), !0);
1167
1169
  }
1168
1170
  toJSON(e, t, n) {
1169
1171
  let r = n ? new n() : t?.mapAsMap ? /* @__PURE__ */ new Map() : {};
1170
1172
  t?.onCreate && t.onCreate(r);
1171
- for (let e of this.items) qe(t, r, e);
1173
+ for (let e of this.items) Ye(t, r, e);
1172
1174
  return r;
1173
1175
  }
1174
1176
  toString(e, t, n) {
1175
1177
  if (!e) return JSON.stringify(this);
1176
- for (let e of this.items) if (!w(e)) throw Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);
1177
- return !e.allNullValues && this.hasAllNullValues(!1) && (e = Object.assign({}, e, { allNullValues: !0 })), Xe(this, e, {
1178
+ for (let e of this.items) if (!D(e)) throw Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);
1179
+ return !e.allNullValues && this.hasAllNullValues(!1) && (e = Object.assign({}, e, { allNullValues: !0 })), Qe(this, e, {
1178
1180
  blockItemPrefix: "",
1179
1181
  flowChars: {
1180
1182
  start: "{",
@@ -1185,54 +1187,54 @@ var W = class extends Se {
1185
1187
  onComment: t
1186
1188
  });
1187
1189
  }
1188
- }, G = {
1190
+ }, J = {
1189
1191
  collection: "map",
1190
1192
  default: !0,
1191
- nodeClass: W,
1193
+ nodeClass: q,
1192
1194
  tag: "tag:yaml.org,2002:map",
1193
1195
  resolve(e, t) {
1194
- return C(e) || t("Expected a mapping for this tag"), e;
1196
+ return te(e) || t("Expected a mapping for this tag"), e;
1195
1197
  },
1196
- createNode: (e, t, n) => W.from(e, t, n)
1197
- }, K = class extends Se {
1198
+ createNode: (e, t, n) => q.from(e, t, n)
1199
+ }, Y = class extends we {
1198
1200
  static get tagName() {
1199
1201
  return "tag:yaml.org,2002:seq";
1200
1202
  }
1201
1203
  constructor(e) {
1202
- super(y, e), this.items = [];
1204
+ super(ee, e), this.items = [];
1203
1205
  }
1204
1206
  add(e) {
1205
1207
  this.items.push(e);
1206
1208
  }
1207
1209
  delete(e) {
1208
- let t = et(e);
1210
+ let t = nt(e);
1209
1211
  return typeof t == "number" ? this.items.splice(t, 1).length > 0 : !1;
1210
1212
  }
1211
1213
  get(e, t) {
1212
- let n = et(e);
1214
+ let n = nt(e);
1213
1215
  if (typeof n != "number") return;
1214
1216
  let r = this.items[n];
1215
- return !t && T(r) ? r.value : r;
1217
+ return !t && O(r) ? r.value : r;
1216
1218
  }
1217
1219
  has(e) {
1218
- let t = et(e);
1220
+ let t = nt(e);
1219
1221
  return typeof t == "number" && t < this.items.length;
1220
1222
  }
1221
1223
  set(e, t) {
1222
- let n = et(e);
1224
+ let n = nt(e);
1223
1225
  if (typeof n != "number") throw Error(`Expected a valid index, not ${e}.`);
1224
1226
  let r = this.items[n];
1225
- T(r) && ge(t) ? r.value = t : this.items[n] = t;
1227
+ O(r) && ve(t) ? r.value = t : this.items[n] = t;
1226
1228
  }
1227
1229
  toJSON(e, t) {
1228
1230
  let n = [];
1229
1231
  t?.onCreate && t.onCreate(n);
1230
1232
  let r = 0;
1231
- for (let e of this.items) n.push(F(e, String(r++), t));
1233
+ for (let e of this.items) n.push(R(e, String(r++), t));
1232
1234
  return n;
1233
1235
  }
1234
1236
  toString(e, t, n) {
1235
- return e ? Xe(this, e, {
1237
+ return e ? Qe(this, e, {
1236
1238
  blockItemPrefix: "- ",
1237
1239
  flowChars: {
1238
1240
  start: "[",
@@ -1252,56 +1254,56 @@ var W = class extends Se {
1252
1254
  let n = t instanceof Set ? a : String(e++);
1253
1255
  a = r.call(t, n, a);
1254
1256
  }
1255
- i.items.push(ye(a, void 0, n));
1257
+ i.items.push(xe(a, void 0, n));
1256
1258
  }
1257
1259
  }
1258
1260
  return i;
1259
1261
  }
1260
1262
  };
1261
- function et(e) {
1262
- let t = T(e) ? e.value : e;
1263
+ function nt(e) {
1264
+ let t = O(e) ? e.value : e;
1263
1265
  return t && typeof t == "string" && (t = Number(t)), typeof t == "number" && Number.isInteger(t) && t >= 0 ? t : null;
1264
1266
  }
1265
1267
  //#endregion
1266
1268
  //#region node_modules/yaml/browser/dist/schema/common/seq.js
1267
- var q = {
1269
+ var X = {
1268
1270
  collection: "seq",
1269
1271
  default: !0,
1270
- nodeClass: K,
1272
+ nodeClass: Y,
1271
1273
  tag: "tag:yaml.org,2002:seq",
1272
1274
  resolve(e, t) {
1273
- return ee(e) || t("Expected a sequence for this tag"), e;
1275
+ return ne(e) || t("Expected a sequence for this tag"), e;
1274
1276
  },
1275
- createNode: (e, t, n) => K.from(e, t, n)
1276
- }, tt = {
1277
+ createNode: (e, t, n) => Y.from(e, t, n)
1278
+ }, rt = {
1277
1279
  identify: (e) => typeof e == "string",
1278
1280
  default: !0,
1279
1281
  tag: "tag:yaml.org,2002:str",
1280
1282
  resolve: (e) => e,
1281
1283
  stringify(e, t, n, r) {
1282
- return t = Object.assign({ actualString: !0 }, t), Le(e, t, n, r);
1284
+ return t = Object.assign({ actualString: !0 }, t), ze(e, t, n, r);
1283
1285
  }
1284
- }, nt = {
1286
+ }, it = {
1285
1287
  identify: (e) => e == null,
1286
- createNode: () => new I(null),
1288
+ createNode: () => new z(null),
1287
1289
  default: !0,
1288
1290
  tag: "tag:yaml.org,2002:null",
1289
1291
  test: /^(?:~|[Nn]ull|NULL)?$/,
1290
- resolve: () => new I(null),
1291
- stringify: ({ source: e }, t) => typeof e == "string" && nt.test.test(e) ? e : t.options.nullStr
1292
- }, rt = {
1292
+ resolve: () => new z(null),
1293
+ stringify: ({ source: e }, t) => typeof e == "string" && it.test.test(e) ? e : t.options.nullStr
1294
+ }, at = {
1293
1295
  identify: (e) => typeof e == "boolean",
1294
1296
  default: !0,
1295
1297
  tag: "tag:yaml.org,2002:bool",
1296
1298
  test: /^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,
1297
- resolve: (e) => new I(e[0] === "t" || e[0] === "T"),
1299
+ resolve: (e) => new z(e[0] === "t" || e[0] === "T"),
1298
1300
  stringify({ source: e, value: t }, n) {
1299
- return e && rt.test.test(e) && t === (e[0] === "t" || e[0] === "T") ? e : t ? n.options.trueStr : n.options.falseStr;
1301
+ return e && at.test.test(e) && t === (e[0] === "t" || e[0] === "T") ? e : t ? n.options.trueStr : n.options.falseStr;
1300
1302
  }
1301
1303
  };
1302
1304
  //#endregion
1303
1305
  //#region node_modules/yaml/browser/dist/stringify/stringifyNumber.js
1304
- function J({ format: e, minFractionDigits: t, tag: n, value: r }) {
1306
+ function Z({ format: e, minFractionDigits: t, tag: n, value: r }) {
1305
1307
  if (typeof r == "bigint") return String(r);
1306
1308
  let i = typeof r == "number" ? r : Number(r);
1307
1309
  if (!isFinite(i)) return isNaN(i) ? ".nan" : i < 0 ? "-.inf" : ".inf";
@@ -1316,14 +1318,14 @@ function J({ format: e, minFractionDigits: t, tag: n, value: r }) {
1316
1318
  }
1317
1319
  //#endregion
1318
1320
  //#region node_modules/yaml/browser/dist/schema/core/float.js
1319
- var it = {
1321
+ var ot = {
1320
1322
  identify: (e) => typeof e == "number",
1321
1323
  default: !0,
1322
1324
  tag: "tag:yaml.org,2002:float",
1323
1325
  test: /^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,
1324
1326
  resolve: (e) => e.slice(-3).toLowerCase() === "nan" ? NaN : e[0] === "-" ? -Infinity : Infinity,
1325
- stringify: J
1326
- }, at = {
1327
+ stringify: Z
1328
+ }, st = {
1327
1329
  identify: (e) => typeof e == "number",
1328
1330
  default: !0,
1329
1331
  tag: "tag:yaml.org,2002:float",
@@ -1332,80 +1334,80 @@ var it = {
1332
1334
  resolve: (e) => parseFloat(e),
1333
1335
  stringify(e) {
1334
1336
  let t = Number(e.value);
1335
- return isFinite(t) ? t.toExponential() : J(e);
1337
+ return isFinite(t) ? t.toExponential() : Z(e);
1336
1338
  }
1337
- }, ot = {
1339
+ }, ct = {
1338
1340
  identify: (e) => typeof e == "number",
1339
1341
  default: !0,
1340
1342
  tag: "tag:yaml.org,2002:float",
1341
1343
  test: /^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,
1342
1344
  resolve(e) {
1343
- let t = new I(parseFloat(e)), n = e.indexOf(".");
1345
+ let t = new z(parseFloat(e)), n = e.indexOf(".");
1344
1346
  return n !== -1 && e[e.length - 1] === "0" && (t.minFractionDigits = e.length - n - 1), t;
1345
1347
  },
1346
- stringify: J
1347
- }, st = (e) => typeof e == "bigint" || Number.isInteger(e), ct = (e, t, n, { intAsBigInt: r }) => r ? BigInt(e) : parseInt(e.substring(t), n);
1348
- function lt(e, t, n) {
1348
+ stringify: Z
1349
+ }, lt = (e) => typeof e == "bigint" || Number.isInteger(e), ut = (e, t, n, { intAsBigInt: r }) => r ? BigInt(e) : parseInt(e.substring(t), n);
1350
+ function dt(e, t, n) {
1349
1351
  let { value: r } = e;
1350
- return st(r) && r >= 0 ? n + r.toString(t) : J(e);
1352
+ return lt(r) && r >= 0 ? n + r.toString(t) : Z(e);
1351
1353
  }
1352
- var ut = {
1353
- identify: (e) => st(e) && e >= 0,
1354
+ var ft = {
1355
+ identify: (e) => lt(e) && e >= 0,
1354
1356
  default: !0,
1355
1357
  tag: "tag:yaml.org,2002:int",
1356
1358
  format: "OCT",
1357
1359
  test: /^0o[0-7]+$/,
1358
- resolve: (e, t, n) => ct(e, 2, 8, n),
1359
- stringify: (e) => lt(e, 8, "0o")
1360
- }, dt = {
1361
- identify: st,
1360
+ resolve: (e, t, n) => ut(e, 2, 8, n),
1361
+ stringify: (e) => dt(e, 8, "0o")
1362
+ }, pt = {
1363
+ identify: lt,
1362
1364
  default: !0,
1363
1365
  tag: "tag:yaml.org,2002:int",
1364
1366
  test: /^[-+]?[0-9]+$/,
1365
- resolve: (e, t, n) => ct(e, 0, 10, n),
1366
- stringify: J
1367
- }, ft = {
1368
- identify: (e) => st(e) && e >= 0,
1367
+ resolve: (e, t, n) => ut(e, 0, 10, n),
1368
+ stringify: Z
1369
+ }, mt = {
1370
+ identify: (e) => lt(e) && e >= 0,
1369
1371
  default: !0,
1370
1372
  tag: "tag:yaml.org,2002:int",
1371
1373
  format: "HEX",
1372
1374
  test: /^0x[0-9a-fA-F]+$/,
1373
- resolve: (e, t, n) => ct(e, 2, 16, n),
1374
- stringify: (e) => lt(e, 16, "0x")
1375
- }, pt = [
1376
- G,
1377
- q,
1378
- tt,
1379
- nt,
1375
+ resolve: (e, t, n) => ut(e, 2, 16, n),
1376
+ stringify: (e) => dt(e, 16, "0x")
1377
+ }, ht = [
1378
+ J,
1379
+ X,
1380
1380
  rt,
1381
- ut,
1382
- dt,
1383
- ft,
1384
1381
  it,
1385
1382
  at,
1386
- ot
1383
+ ft,
1384
+ pt,
1385
+ mt,
1386
+ ot,
1387
+ st,
1388
+ ct
1387
1389
  ];
1388
1390
  //#endregion
1389
1391
  //#region node_modules/yaml/browser/dist/schema/json/schema.js
1390
- function mt(e) {
1392
+ function gt(e) {
1391
1393
  return typeof e == "bigint" || Number.isInteger(e);
1392
1394
  }
1393
- var ht = ({ value: e }) => JSON.stringify(e), gt = [
1395
+ var _t = ({ value: e }) => JSON.stringify(e), vt = [
1394
1396
  {
1395
1397
  identify: (e) => typeof e == "string",
1396
1398
  default: !0,
1397
1399
  tag: "tag:yaml.org,2002:str",
1398
1400
  resolve: (e) => e,
1399
- stringify: ht
1401
+ stringify: _t
1400
1402
  },
1401
1403
  {
1402
1404
  identify: (e) => e == null,
1403
- createNode: () => new I(null),
1405
+ createNode: () => new z(null),
1404
1406
  default: !0,
1405
1407
  tag: "tag:yaml.org,2002:null",
1406
1408
  test: /^null$/,
1407
1409
  resolve: () => null,
1408
- stringify: ht
1410
+ stringify: _t
1409
1411
  },
1410
1412
  {
1411
1413
  identify: (e) => typeof e == "boolean",
@@ -1413,15 +1415,15 @@ var ht = ({ value: e }) => JSON.stringify(e), gt = [
1413
1415
  tag: "tag:yaml.org,2002:bool",
1414
1416
  test: /^true$|^false$/,
1415
1417
  resolve: (e) => e === "true",
1416
- stringify: ht
1418
+ stringify: _t
1417
1419
  },
1418
1420
  {
1419
- identify: mt,
1421
+ identify: gt,
1420
1422
  default: !0,
1421
1423
  tag: "tag:yaml.org,2002:int",
1422
1424
  test: /^-?(?:0|[1-9][0-9]*)$/,
1423
1425
  resolve: (e, t, { intAsBigInt: n }) => n ? BigInt(e) : parseInt(e, 10),
1424
- stringify: ({ value: e }) => mt(e) ? e.toString() : JSON.stringify(e)
1426
+ stringify: ({ value: e }) => gt(e) ? e.toString() : JSON.stringify(e)
1425
1427
  },
1426
1428
  {
1427
1429
  identify: (e) => typeof e == "number",
@@ -1429,16 +1431,16 @@ var ht = ({ value: e }) => JSON.stringify(e), gt = [
1429
1431
  tag: "tag:yaml.org,2002:float",
1430
1432
  test: /^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,
1431
1433
  resolve: (e) => parseFloat(e),
1432
- stringify: ht
1434
+ stringify: _t
1433
1435
  }
1434
- ], _t = [G, q].concat(gt, {
1436
+ ], yt = [J, X].concat(vt, {
1435
1437
  default: !0,
1436
1438
  tag: "",
1437
1439
  test: /^/,
1438
1440
  resolve(e, t) {
1439
1441
  return t(`Unresolved plain scalar ${JSON.stringify(e)}`), e;
1440
1442
  }
1441
- }), vt = {
1443
+ }), bt = {
1442
1444
  identify: (e) => e instanceof Uint8Array,
1443
1445
  default: !1,
1444
1446
  tag: "tag:yaml.org,2002:binary",
@@ -1457,12 +1459,12 @@ var ht = ({ value: e }) => JSON.stringify(e), gt = [
1457
1459
  for (let t = 0; t < o.length; ++t) e += String.fromCharCode(o[t]);
1458
1460
  s = btoa(e);
1459
1461
  } else throw Error("This environment does not support writing binary tags; either Buffer or btoa is required");
1460
- if (t ??= I.BLOCK_LITERAL, t !== I.QUOTE_DOUBLE) {
1462
+ if (t ??= z.BLOCK_LITERAL, t !== z.QUOTE_DOUBLE) {
1461
1463
  let e = Math.max(r.options.lineWidth - r.indent.length, r.options.minContentWidth), n = Math.ceil(s.length / e), i = Array(n);
1462
1464
  for (let t = 0, r = 0; t < n; ++t, r += e) i[t] = s.substr(r, e);
1463
- s = i.join(t === I.BLOCK_LITERAL ? "\n" : " ");
1465
+ s = i.join(t === z.BLOCK_LITERAL ? "\n" : " ");
1464
1466
  }
1465
- return Le({
1467
+ return ze({
1466
1468
  comment: e,
1467
1469
  type: t,
1468
1470
  value: s
@@ -1471,27 +1473,27 @@ var ht = ({ value: e }) => JSON.stringify(e), gt = [
1471
1473
  };
1472
1474
  //#endregion
1473
1475
  //#region node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js
1474
- function yt(e, t) {
1475
- if (ee(e)) for (let n = 0; n < e.items.length; ++n) {
1476
+ function xt(e, t) {
1477
+ if (ne(e)) for (let n = 0; n < e.items.length; ++n) {
1476
1478
  let r = e.items[n];
1477
- if (!w(r)) {
1478
- if (C(r)) {
1479
+ if (!D(r)) {
1480
+ if (te(r)) {
1479
1481
  r.items.length > 1 && t("Each pair must have its own sequence indicator");
1480
- let e = r.items[0] || new H(new I(null));
1482
+ let e = r.items[0] || new G(new z(null));
1481
1483
  if (r.commentBefore && (e.key.commentBefore = e.key.commentBefore ? `${r.commentBefore}\n${e.key.commentBefore}` : r.commentBefore), r.comment) {
1482
1484
  let t = e.value ?? e.key;
1483
1485
  t.comment = t.comment ? `${r.comment}\n${t.comment}` : r.comment;
1484
1486
  }
1485
1487
  r = e;
1486
1488
  }
1487
- e.items[n] = w(r) ? r : new H(r);
1489
+ e.items[n] = D(r) ? r : new G(r);
1488
1490
  }
1489
1491
  }
1490
1492
  else t("Expected a sequence for this tag");
1491
1493
  return e;
1492
1494
  }
1493
- function bt(e, t, n) {
1494
- let { replacer: r } = n, i = new K(e);
1495
+ function St(e, t, n) {
1496
+ let { replacer: r } = n, i = new Y(e);
1495
1497
  i.tag = "tag:yaml.org,2002:pairs";
1496
1498
  let a = 0;
1497
1499
  if (t && Symbol.iterator in Object(t)) for (let e of t) {
@@ -1504,19 +1506,19 @@ function bt(e, t, n) {
1504
1506
  if (t.length === 1) o = t[0], s = e[o];
1505
1507
  else throw TypeError(`Expected tuple with one key, not ${t.length} keys`);
1506
1508
  } else o = e;
1507
- i.items.push(Ye(o, s, n));
1509
+ i.items.push(Ze(o, s, n));
1508
1510
  }
1509
1511
  return i;
1510
1512
  }
1511
- var xt = {
1513
+ var Ct = {
1512
1514
  collection: "seq",
1513
1515
  default: !1,
1514
1516
  tag: "tag:yaml.org,2002:pairs",
1515
- resolve: yt,
1516
- createNode: bt
1517
- }, St = class e extends K {
1517
+ resolve: xt,
1518
+ createNode: St
1519
+ }, wt = class e extends Y {
1518
1520
  constructor() {
1519
- super(), this.add = W.prototype.add.bind(this), this.delete = W.prototype.delete.bind(this), this.get = W.prototype.get.bind(this), this.has = W.prototype.has.bind(this), this.set = W.prototype.set.bind(this), this.tag = e.tag;
1521
+ super(), this.add = q.prototype.add.bind(this), this.delete = q.prototype.delete.bind(this), this.get = q.prototype.get.bind(this), this.has = q.prototype.has.bind(this), this.set = q.prototype.set.bind(this), this.tag = e.tag;
1520
1522
  }
1521
1523
  toJSON(e, t) {
1522
1524
  if (!t) return super.toJSON(e);
@@ -1524,57 +1526,57 @@ var xt = {
1524
1526
  t?.onCreate && t.onCreate(n);
1525
1527
  for (let e of this.items) {
1526
1528
  let r, i;
1527
- if (w(e) ? (r = F(e.key, "", t), i = F(e.value, r, t)) : r = F(e, "", t), n.has(r)) throw Error("Ordered maps must not include duplicate keys");
1529
+ if (D(e) ? (r = R(e.key, "", t), i = R(e.value, r, t)) : r = R(e, "", t), n.has(r)) throw Error("Ordered maps must not include duplicate keys");
1528
1530
  n.set(r, i);
1529
1531
  }
1530
1532
  return n;
1531
1533
  }
1532
1534
  static from(e, t, n) {
1533
- let r = bt(e, t, n), i = new this();
1535
+ let r = St(e, t, n), i = new this();
1534
1536
  return i.items = r.items, i;
1535
1537
  }
1536
1538
  };
1537
- St.tag = "tag:yaml.org,2002:omap";
1538
- var Ct = {
1539
+ wt.tag = "tag:yaml.org,2002:omap";
1540
+ var Tt = {
1539
1541
  collection: "seq",
1540
1542
  identify: (e) => e instanceof Map,
1541
- nodeClass: St,
1543
+ nodeClass: wt,
1542
1544
  default: !1,
1543
1545
  tag: "tag:yaml.org,2002:omap",
1544
1546
  resolve(e, t) {
1545
- let n = yt(e, t), r = [];
1546
- for (let { key: e } of n.items) T(e) && (r.includes(e.value) ? t(`Ordered maps must not include duplicate keys: ${e.value}`) : r.push(e.value));
1547
- return Object.assign(new St(), n);
1547
+ let n = xt(e, t), r = [];
1548
+ for (let { key: e } of n.items) O(e) && (r.includes(e.value) ? t(`Ordered maps must not include duplicate keys: ${e.value}`) : r.push(e.value));
1549
+ return Object.assign(new wt(), n);
1548
1550
  },
1549
- createNode: (e, t, n) => St.from(e, t, n)
1551
+ createNode: (e, t, n) => wt.from(e, t, n)
1550
1552
  };
1551
1553
  //#endregion
1552
1554
  //#region node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js
1553
- function wt({ value: e, source: t }, n) {
1554
- return t && (e ? Tt : Et).test.test(t) ? t : e ? n.options.trueStr : n.options.falseStr;
1555
+ function Et({ value: e, source: t }, n) {
1556
+ return t && (e ? Dt : Ot).test.test(t) ? t : e ? n.options.trueStr : n.options.falseStr;
1555
1557
  }
1556
- var Tt = {
1558
+ var Dt = {
1557
1559
  identify: (e) => e === !0,
1558
1560
  default: !0,
1559
1561
  tag: "tag:yaml.org,2002:bool",
1560
1562
  test: /^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,
1561
- resolve: () => new I(!0),
1562
- stringify: wt
1563
- }, Et = {
1563
+ resolve: () => new z(!0),
1564
+ stringify: Et
1565
+ }, Ot = {
1564
1566
  identify: (e) => e === !1,
1565
1567
  default: !0,
1566
1568
  tag: "tag:yaml.org,2002:bool",
1567
1569
  test: /^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,
1568
- resolve: () => new I(!1),
1569
- stringify: wt
1570
- }, Dt = {
1570
+ resolve: () => new z(!1),
1571
+ stringify: Et
1572
+ }, kt = {
1571
1573
  identify: (e) => typeof e == "number",
1572
1574
  default: !0,
1573
1575
  tag: "tag:yaml.org,2002:float",
1574
1576
  test: /^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,
1575
1577
  resolve: (e) => e.slice(-3).toLowerCase() === "nan" ? NaN : e[0] === "-" ? -Infinity : Infinity,
1576
- stringify: J
1577
- }, Ot = {
1578
+ stringify: Z
1579
+ }, At = {
1578
1580
  identify: (e) => typeof e == "number",
1579
1581
  default: !0,
1580
1582
  tag: "tag:yaml.org,2002:float",
@@ -1583,24 +1585,24 @@ var Tt = {
1583
1585
  resolve: (e) => parseFloat(e.replace(/_/g, "")),
1584
1586
  stringify(e) {
1585
1587
  let t = Number(e.value);
1586
- return isFinite(t) ? t.toExponential() : J(e);
1588
+ return isFinite(t) ? t.toExponential() : Z(e);
1587
1589
  }
1588
- }, kt = {
1590
+ }, jt = {
1589
1591
  identify: (e) => typeof e == "number",
1590
1592
  default: !0,
1591
1593
  tag: "tag:yaml.org,2002:float",
1592
1594
  test: /^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,
1593
1595
  resolve(e) {
1594
- let t = new I(parseFloat(e.replace(/_/g, ""))), n = e.indexOf(".");
1596
+ let t = new z(parseFloat(e.replace(/_/g, ""))), n = e.indexOf(".");
1595
1597
  if (n !== -1) {
1596
1598
  let r = e.substring(n + 1).replace(/_/g, "");
1597
1599
  r[r.length - 1] === "0" && (t.minFractionDigits = r.length);
1598
1600
  }
1599
1601
  return t;
1600
1602
  },
1601
- stringify: J
1602
- }, At = (e) => typeof e == "bigint" || Number.isInteger(e);
1603
- function jt(e, t, n, { intAsBigInt: r }) {
1603
+ stringify: Z
1604
+ }, Mt = (e) => typeof e == "bigint" || Number.isInteger(e);
1605
+ function Nt(e, t, n, { intAsBigInt: r }) {
1604
1606
  let i = e[0];
1605
1607
  if ((i === "-" || i === "+") && (t += 1), e = e.substring(t).replace(/_/g, ""), r) {
1606
1608
  switch (n) {
@@ -1620,61 +1622,61 @@ function jt(e, t, n, { intAsBigInt: r }) {
1620
1622
  let a = parseInt(e, n);
1621
1623
  return i === "-" ? -1 * a : a;
1622
1624
  }
1623
- function Mt(e, t, n) {
1625
+ function Pt(e, t, n) {
1624
1626
  let { value: r } = e;
1625
- if (At(r)) {
1627
+ if (Mt(r)) {
1626
1628
  let e = r.toString(t);
1627
1629
  return r < 0 ? "-" + n + e.substr(1) : n + e;
1628
1630
  }
1629
- return J(e);
1631
+ return Z(e);
1630
1632
  }
1631
- var Nt = {
1632
- identify: At,
1633
+ var Ft = {
1634
+ identify: Mt,
1633
1635
  default: !0,
1634
1636
  tag: "tag:yaml.org,2002:int",
1635
1637
  format: "BIN",
1636
1638
  test: /^[-+]?0b[0-1_]+$/,
1637
- resolve: (e, t, n) => jt(e, 2, 2, n),
1638
- stringify: (e) => Mt(e, 2, "0b")
1639
- }, Pt = {
1640
- identify: At,
1639
+ resolve: (e, t, n) => Nt(e, 2, 2, n),
1640
+ stringify: (e) => Pt(e, 2, "0b")
1641
+ }, It = {
1642
+ identify: Mt,
1641
1643
  default: !0,
1642
1644
  tag: "tag:yaml.org,2002:int",
1643
1645
  format: "OCT",
1644
1646
  test: /^[-+]?0[0-7_]+$/,
1645
- resolve: (e, t, n) => jt(e, 1, 8, n),
1646
- stringify: (e) => Mt(e, 8, "0")
1647
- }, Ft = {
1648
- identify: At,
1647
+ resolve: (e, t, n) => Nt(e, 1, 8, n),
1648
+ stringify: (e) => Pt(e, 8, "0")
1649
+ }, Lt = {
1650
+ identify: Mt,
1649
1651
  default: !0,
1650
1652
  tag: "tag:yaml.org,2002:int",
1651
1653
  test: /^[-+]?[0-9][0-9_]*$/,
1652
- resolve: (e, t, n) => jt(e, 0, 10, n),
1653
- stringify: J
1654
- }, It = {
1655
- identify: At,
1654
+ resolve: (e, t, n) => Nt(e, 0, 10, n),
1655
+ stringify: Z
1656
+ }, Rt = {
1657
+ identify: Mt,
1656
1658
  default: !0,
1657
1659
  tag: "tag:yaml.org,2002:int",
1658
1660
  format: "HEX",
1659
1661
  test: /^[-+]?0x[0-9a-fA-F_]+$/,
1660
- resolve: (e, t, n) => jt(e, 2, 16, n),
1661
- stringify: (e) => Mt(e, 16, "0x")
1662
- }, Lt = class e extends W {
1662
+ resolve: (e, t, n) => Nt(e, 2, 16, n),
1663
+ stringify: (e) => Pt(e, 16, "0x")
1664
+ }, zt = class e extends q {
1663
1665
  constructor(t) {
1664
1666
  super(t), this.tag = e.tag;
1665
1667
  }
1666
1668
  add(e) {
1667
1669
  let t;
1668
- t = w(e) ? e : e && typeof e == "object" && "key" in e && "value" in e && e.value === null ? new H(e.key, null) : new H(e, null), U(this.items, t.key) || this.items.push(t);
1670
+ t = D(e) ? e : e && typeof e == "object" && "key" in e && "value" in e && e.value === null ? new G(e.key, null) : new G(e, null), K(this.items, t.key) || this.items.push(t);
1669
1671
  }
1670
1672
  get(e, t) {
1671
- let n = U(this.items, e);
1672
- return !t && w(n) ? T(n.key) ? n.key.value : n.key : n;
1673
+ let n = K(this.items, e);
1674
+ return !t && D(n) ? O(n.key) ? n.key.value : n.key : n;
1673
1675
  }
1674
1676
  set(e, t) {
1675
1677
  if (typeof t != "boolean") throw Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);
1676
- let n = U(this.items, e);
1677
- n && !t ? this.items.splice(this.items.indexOf(n), 1) : !n && t && this.items.push(new H(e));
1678
+ let n = K(this.items, e);
1679
+ n && !t ? this.items.splice(this.items.indexOf(n), 1) : !n && t && this.items.push(new G(e));
1678
1680
  }
1679
1681
  toJSON(e, t) {
1680
1682
  return super.toJSON(e, t, Set);
@@ -1686,21 +1688,21 @@ var Nt = {
1686
1688
  }
1687
1689
  static from(e, t, n) {
1688
1690
  let { replacer: r } = n, i = new this(e);
1689
- if (t && Symbol.iterator in Object(t)) for (let e of t) typeof r == "function" && (e = r.call(t, e, e)), i.items.push(Ye(e, null, n));
1691
+ if (t && Symbol.iterator in Object(t)) for (let e of t) typeof r == "function" && (e = r.call(t, e, e)), i.items.push(Ze(e, null, n));
1690
1692
  return i;
1691
1693
  }
1692
1694
  };
1693
- Lt.tag = "tag:yaml.org,2002:set";
1694
- var Rt = {
1695
+ zt.tag = "tag:yaml.org,2002:set";
1696
+ var Bt = {
1695
1697
  collection: "map",
1696
1698
  identify: (e) => e instanceof Set,
1697
- nodeClass: Lt,
1699
+ nodeClass: zt,
1698
1700
  default: !1,
1699
1701
  tag: "tag:yaml.org,2002:set",
1700
- createNode: (e, t, n) => Lt.from(e, t, n),
1702
+ createNode: (e, t, n) => zt.from(e, t, n),
1701
1703
  resolve(e, t) {
1702
- if (C(e)) {
1703
- if (e.hasAllNullValues(!0)) return Object.assign(new Lt(), e);
1704
+ if (te(e)) {
1705
+ if (e.hasAllNullValues(!0)) return Object.assign(new zt(), e);
1704
1706
  t("Set items must all have null values");
1705
1707
  } else t("Expected a mapping for this tag");
1706
1708
  return e;
@@ -1708,125 +1710,125 @@ var Rt = {
1708
1710
  };
1709
1711
  //#endregion
1710
1712
  //#region node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js
1711
- function zt(e, t) {
1713
+ function Vt(e, t) {
1712
1714
  let n = e[0], r = n === "-" || n === "+" ? e.substring(1) : e, i = (e) => t ? BigInt(e) : Number(e), a = r.replace(/_/g, "").split(":").reduce((e, t) => e * i(60) + i(t), i(0));
1713
1715
  return n === "-" ? i(-1) * a : a;
1714
1716
  }
1715
- function Bt(e) {
1717
+ function Ht(e) {
1716
1718
  let { value: t } = e, n = (e) => e;
1717
1719
  if (typeof t == "bigint") n = (e) => BigInt(e);
1718
- else if (isNaN(t) || !isFinite(t)) return J(e);
1720
+ else if (isNaN(t) || !isFinite(t)) return Z(e);
1719
1721
  let r = "";
1720
1722
  t < 0 && (r = "-", t *= n(-1));
1721
1723
  let i = n(60), a = [t % i];
1722
1724
  return t < 60 ? a.unshift(0) : (t = (t - a[0]) / i, a.unshift(t % i), t >= 60 && (t = (t - a[0]) / i, a.unshift(t))), r + a.map((e) => String(e).padStart(2, "0")).join(":").replace(/000000\d*$/, "");
1723
1725
  }
1724
- var Vt = {
1726
+ var Ut = {
1725
1727
  identify: (e) => typeof e == "bigint" || Number.isInteger(e),
1726
1728
  default: !0,
1727
1729
  tag: "tag:yaml.org,2002:int",
1728
1730
  format: "TIME",
1729
1731
  test: /^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,
1730
- resolve: (e, t, { intAsBigInt: n }) => zt(e, n),
1731
- stringify: Bt
1732
- }, Ht = {
1732
+ resolve: (e, t, { intAsBigInt: n }) => Vt(e, n),
1733
+ stringify: Ht
1734
+ }, Wt = {
1733
1735
  identify: (e) => typeof e == "number",
1734
1736
  default: !0,
1735
1737
  tag: "tag:yaml.org,2002:float",
1736
1738
  format: "TIME",
1737
1739
  test: /^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,
1738
- resolve: (e) => zt(e, !1),
1739
- stringify: Bt
1740
- }, Ut = {
1740
+ resolve: (e) => Vt(e, !1),
1741
+ stringify: Ht
1742
+ }, Gt = {
1741
1743
  identify: (e) => e instanceof Date,
1742
1744
  default: !0,
1743
1745
  tag: "tag:yaml.org,2002:timestamp",
1744
1746
  test: RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),
1745
1747
  resolve(e) {
1746
- let t = e.match(Ut.test);
1748
+ let t = e.match(Gt.test);
1747
1749
  if (!t) throw Error("!!timestamp expects a date, starting with yyyy-mm-dd");
1748
1750
  let [, n, r, i, a, o, s] = t.map(Number), c = t[7] ? Number((t[7] + "00").substr(1, 3)) : 0, l = Date.UTC(n, r - 1, i, a || 0, o || 0, s || 0, c), u = t[8];
1749
1751
  if (u && u !== "Z") {
1750
- let e = zt(u, !1);
1752
+ let e = Vt(u, !1);
1751
1753
  Math.abs(e) < 30 && (e *= 60), l -= 6e4 * e;
1752
1754
  }
1753
1755
  return new Date(l);
1754
1756
  },
1755
1757
  stringify: ({ value: e }) => e?.toISOString().replace(/(T00:00:00)?\.000Z$/, "") ?? ""
1756
- }, Wt = [
1757
- G,
1758
- q,
1759
- tt,
1760
- nt,
1761
- Tt,
1762
- Et,
1763
- Nt,
1764
- Pt,
1765
- Ft,
1766
- It,
1758
+ }, Kt = [
1759
+ J,
1760
+ X,
1761
+ rt,
1762
+ it,
1767
1763
  Dt,
1768
1764
  Ot,
1765
+ Ft,
1766
+ It,
1767
+ Lt,
1768
+ Rt,
1769
1769
  kt,
1770
- vt,
1771
- V,
1770
+ At,
1771
+ jt,
1772
+ bt,
1773
+ W,
1774
+ Tt,
1772
1775
  Ct,
1773
- xt,
1774
- Rt,
1775
- Vt,
1776
- Ht,
1777
- Ut
1778
- ], Gt = new Map([
1779
- ["core", pt],
1776
+ Bt,
1777
+ Ut,
1778
+ Wt,
1779
+ Gt
1780
+ ], qt = new Map([
1781
+ ["core", ht],
1780
1782
  ["failsafe", [
1781
- G,
1782
- q,
1783
- tt
1783
+ J,
1784
+ X,
1785
+ rt
1784
1786
  ]],
1785
- ["json", _t],
1786
- ["yaml11", Wt],
1787
- ["yaml-1.1", Wt]
1788
- ]), Kt = {
1789
- binary: vt,
1790
- bool: rt,
1791
- float: ot,
1792
- floatExp: at,
1793
- floatNaN: it,
1794
- floatTime: Ht,
1795
- int: dt,
1796
- intHex: ft,
1797
- intOct: ut,
1798
- intTime: Vt,
1799
- map: G,
1800
- merge: V,
1801
- null: nt,
1802
- omap: Ct,
1803
- pairs: xt,
1804
- seq: q,
1805
- set: Rt,
1806
- timestamp: Ut
1807
- }, qt = {
1808
- "tag:yaml.org,2002:binary": vt,
1809
- "tag:yaml.org,2002:merge": V,
1810
- "tag:yaml.org,2002:omap": Ct,
1811
- "tag:yaml.org,2002:pairs": xt,
1812
- "tag:yaml.org,2002:set": Rt,
1813
- "tag:yaml.org,2002:timestamp": Ut
1787
+ ["json", yt],
1788
+ ["yaml11", Kt],
1789
+ ["yaml-1.1", Kt]
1790
+ ]), Jt = {
1791
+ binary: bt,
1792
+ bool: at,
1793
+ float: ct,
1794
+ floatExp: st,
1795
+ floatNaN: ot,
1796
+ floatTime: Wt,
1797
+ int: pt,
1798
+ intHex: mt,
1799
+ intOct: ft,
1800
+ intTime: Ut,
1801
+ map: J,
1802
+ merge: W,
1803
+ null: it,
1804
+ omap: Tt,
1805
+ pairs: Ct,
1806
+ seq: X,
1807
+ set: Bt,
1808
+ timestamp: Gt
1809
+ }, Yt = {
1810
+ "tag:yaml.org,2002:binary": bt,
1811
+ "tag:yaml.org,2002:merge": W,
1812
+ "tag:yaml.org,2002:omap": Tt,
1813
+ "tag:yaml.org,2002:pairs": Ct,
1814
+ "tag:yaml.org,2002:set": Bt,
1815
+ "tag:yaml.org,2002:timestamp": Gt
1814
1816
  };
1815
- function Jt(e, t, n) {
1816
- let r = Gt.get(t);
1817
- if (r && !e) return n && !r.includes(V) ? r.concat(V) : r.slice();
1817
+ function Xt(e, t, n) {
1818
+ let r = qt.get(t);
1819
+ if (r && !e) return n && !r.includes(W) ? r.concat(W) : r.slice();
1818
1820
  let i = r;
1819
1821
  if (!i) if (Array.isArray(e)) i = [];
1820
1822
  else {
1821
- let e = Array.from(Gt.keys()).filter((e) => e !== "yaml11").map((e) => JSON.stringify(e)).join(", ");
1823
+ let e = Array.from(qt.keys()).filter((e) => e !== "yaml11").map((e) => JSON.stringify(e)).join(", ");
1822
1824
  throw Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`);
1823
1825
  }
1824
1826
  if (Array.isArray(e)) for (let t of e) i = i.concat(t);
1825
1827
  else typeof e == "function" && (i = e(i.slice()));
1826
- return n && (i = i.concat(V)), i.reduce((e, t) => {
1827
- let n = typeof t == "string" ? Kt[t] : t;
1828
+ return n && (i = i.concat(W)), i.reduce((e, t) => {
1829
+ let n = typeof t == "string" ? Jt[t] : t;
1828
1830
  if (!n) {
1829
- let e = JSON.stringify(t), n = Object.keys(Kt).map((e) => JSON.stringify(e)).join(", ");
1831
+ let e = JSON.stringify(t), n = Object.keys(Jt).map((e) => JSON.stringify(e)).join(", ");
1830
1832
  throw Error(`Unknown custom tag ${e}; use one of ${n}`);
1831
1833
  }
1832
1834
  return e.includes(n) || e.push(n), e;
@@ -1834,9 +1836,9 @@ function Jt(e, t, n) {
1834
1836
  }
1835
1837
  //#endregion
1836
1838
  //#region node_modules/yaml/browser/dist/schema/Schema.js
1837
- var Yt = (e, t) => e.key < t.key ? -1 : +(e.key > t.key), Xt = class e {
1839
+ var Zt = (e, t) => e.key < t.key ? -1 : +(e.key > t.key), Qt = class e {
1838
1840
  constructor({ compat: e, customTags: t, merge: n, resolveKnownTags: r, schema: i, sortMapEntries: a, toStringDefaults: o }) {
1839
- this.compat = Array.isArray(e) ? Jt(e, "compat") : e ? Jt(null, e) : null, this.name = typeof i == "string" && i || "core", this.knownTags = r ? qt : {}, this.tags = Jt(t, this.name, n), this.toStringOptions = o ?? null, Object.defineProperty(this, g, { value: G }), Object.defineProperty(this, v, { value: tt }), Object.defineProperty(this, y, { value: q }), this.sortMapEntries = typeof a == "function" ? a : a === !0 ? Yt : null;
1841
+ this.compat = Array.isArray(e) ? Xt(e, "compat") : e ? Xt(null, e) : null, this.name = typeof i == "string" && i || "core", this.knownTags = r ? Yt : {}, this.tags = Xt(t, this.name, n), this.toStringOptions = o ?? null, Object.defineProperty(this, x, { value: J }), Object.defineProperty(this, C, { value: rt }), Object.defineProperty(this, ee, { value: X }), this.sortMapEntries = typeof a == "function" ? a : a === !0 ? Zt : null;
1840
1842
  }
1841
1843
  clone() {
1842
1844
  let t = Object.create(e.prototype, Object.getOwnPropertyDescriptors(this));
@@ -1845,46 +1847,46 @@ var Yt = (e, t) => e.key < t.key ? -1 : +(e.key > t.key), Xt = class e {
1845
1847
  };
1846
1848
  //#endregion
1847
1849
  //#region node_modules/yaml/browser/dist/stringify/stringifyDocument.js
1848
- function Zt(e, t) {
1850
+ function $t(e, t) {
1849
1851
  let n = [], r = t.directives === !0;
1850
1852
  if (t.directives !== !1 && e.directives) {
1851
1853
  let t = e.directives.toString(e);
1852
1854
  t ? (n.push(t), r = !0) : e.directives.docStart && (r = !0);
1853
1855
  }
1854
1856
  r && n.push("---");
1855
- let i = Re(e, t), { commentString: a } = i.options;
1857
+ let i = Be(e, t), { commentString: a } = i.options;
1856
1858
  if (e.commentBefore) {
1857
1859
  n.length !== 1 && n.unshift("");
1858
1860
  let t = a(e.commentBefore);
1859
- n.unshift(L(t, ""));
1861
+ n.unshift(B(t, ""));
1860
1862
  }
1861
1863
  let o = !1, s = null;
1862
1864
  if (e.contents) {
1863
- if (D(e.contents)) {
1865
+ if (A(e.contents)) {
1864
1866
  if (e.contents.spaceBefore && r && n.push(""), e.contents.commentBefore) {
1865
1867
  let t = a(e.contents.commentBefore);
1866
- n.push(L(t, ""));
1868
+ n.push(B(t, ""));
1867
1869
  }
1868
1870
  i.forceBlockIndent = !!e.comment, s = e.contents.comment;
1869
1871
  }
1870
- let t = s ? void 0 : () => o = !0, c = B(e.contents, i, () => s = null, t);
1871
- s && (c += R(c, "", a(s))), (c[0] === "|" || c[0] === ">") && n[n.length - 1] === "---" ? n[n.length - 1] = `--- ${c}` : n.push(c);
1872
- } else n.push(B(e.contents, i));
1872
+ let t = s ? void 0 : () => o = !0, c = U(e.contents, i, () => s = null, t);
1873
+ s && (c += V(c, "", a(s))), (c[0] === "|" || c[0] === ">") && n[n.length - 1] === "---" ? n[n.length - 1] = `--- ${c}` : n.push(c);
1874
+ } else n.push(U(e.contents, i));
1873
1875
  if (e.directives?.docEnd) if (e.comment) {
1874
1876
  let t = a(e.comment);
1875
- t.includes("\n") ? (n.push("..."), n.push(L(t, ""))) : n.push(`... ${t}`);
1877
+ t.includes("\n") ? (n.push("..."), n.push(B(t, ""))) : n.push(`... ${t}`);
1876
1878
  } else n.push("...");
1877
1879
  else {
1878
1880
  let t = e.comment;
1879
- t && o && (t = t.replace(/^\n+/, "")), t && ((!o || s) && n[n.length - 1] !== "" && n.push(""), n.push(L(a(t), "")));
1881
+ t && o && (t = t.replace(/^\n+/, "")), t && ((!o || s) && n[n.length - 1] !== "" && n.push(""), n.push(B(a(t), "")));
1880
1882
  }
1881
1883
  return n.join("\n") + "\n";
1882
1884
  }
1883
1885
  //#endregion
1884
1886
  //#region node_modules/yaml/browser/dist/doc/Document.js
1885
- var Qt = class e {
1887
+ var en = class e {
1886
1888
  constructor(e, t, n) {
1887
- this.commentBefore = null, this.comment = null, this.errors = [], this.warnings = [], Object.defineProperty(this, b, { value: h });
1889
+ this.commentBefore = null, this.comment = null, this.errors = [], this.warnings = [], Object.defineProperty(this, w, { value: b });
1888
1890
  let r = null;
1889
1891
  typeof t == "function" || Array.isArray(t) ? r = t : n === void 0 && t && (n = t, t = void 0);
1890
1892
  let i = Object.assign({
@@ -1899,24 +1901,24 @@ var Qt = class e {
1899
1901
  }, n);
1900
1902
  this.options = i;
1901
1903
  let { version: a } = i;
1902
- n?._directives ? (this.directives = n._directives.atDocument(), this.directives.yaml.explicit && (a = this.directives.yaml.version)) : this.directives = new N({ version: a }), this.setSchema(a, n), this.contents = e === void 0 ? null : this.createNode(e, r, n);
1904
+ n?._directives ? (this.directives = n._directives.atDocument(), this.directives.yaml.explicit && (a = this.directives.yaml.version)) : this.directives = new I({ version: a }), this.setSchema(a, n), this.contents = e === void 0 ? null : this.createNode(e, r, n);
1903
1905
  }
1904
1906
  clone() {
1905
- let t = Object.create(e.prototype, { [b]: { value: h } });
1906
- return t.commentBefore = this.commentBefore, t.comment = this.comment, t.errors = this.errors.slice(), t.warnings = this.warnings.slice(), t.options = Object.assign({}, this.options), this.directives && (t.directives = this.directives.clone()), t.schema = this.schema.clone(), t.contents = D(this.contents) ? this.contents.clone(t.schema) : this.contents, this.range && (t.range = this.range.slice()), t;
1907
+ let t = Object.create(e.prototype, { [w]: { value: b } });
1908
+ return t.commentBefore = this.commentBefore, t.comment = this.comment, t.errors = this.errors.slice(), t.warnings = this.warnings.slice(), t.options = Object.assign({}, this.options), this.directives && (t.directives = this.directives.clone()), t.schema = this.schema.clone(), t.contents = A(this.contents) ? this.contents.clone(t.schema) : this.contents, this.range && (t.range = this.range.slice()), t;
1907
1909
  }
1908
1910
  add(e) {
1909
- Y(this.contents) && this.contents.add(e);
1911
+ tn(this.contents) && this.contents.add(e);
1910
1912
  }
1911
1913
  addIn(e, t) {
1912
- Y(this.contents) && this.contents.addIn(e, t);
1914
+ tn(this.contents) && this.contents.addIn(e, t);
1913
1915
  }
1914
1916
  createAlias(e, t) {
1915
1917
  if (!e.anchor) {
1916
- let n = ue(this);
1917
- e.anchor = !t || n.has(t) ? de(t || "a", n) : t;
1918
+ let n = fe(this);
1919
+ e.anchor = !t || n.has(t) ? pe(t || "a", n) : t;
1918
1920
  }
1919
- return new me(e.anchor);
1921
+ return new ge(e.anchor);
1920
1922
  }
1921
1923
  createNode(e, t, n) {
1922
1924
  let r;
@@ -1925,7 +1927,7 @@ var Qt = class e {
1925
1927
  let e = t.filter((e) => typeof e == "number" || e instanceof String || e instanceof Number).map(String);
1926
1928
  e.length > 0 && (t = t.concat(e)), r = t;
1927
1929
  } else n === void 0 && t && (n = t, t = void 0);
1928
- let { aliasDuplicateObjects: i, anchorPrefix: a, flow: o, keepUndefined: s, onTagObj: c, tag: l } = n ?? {}, { onAnchor: u, setAnchors: d, sourceObjects: f } = fe(this, a || "a"), p = {
1930
+ let { aliasDuplicateObjects: i, anchorPrefix: a, flow: o, keepUndefined: s, onTagObj: c, tag: l } = n ?? {}, { onAnchor: u, setAnchors: d, sourceObjects: f } = me(this, a || "a"), p = {
1929
1931
  aliasDuplicateObjects: i ?? !0,
1930
1932
  keepUndefined: s ?? !1,
1931
1933
  onAnchor: u,
@@ -1933,49 +1935,49 @@ var Qt = class e {
1933
1935
  replacer: r,
1934
1936
  schema: this.schema,
1935
1937
  sourceObjects: f
1936
- }, m = ye(e, l, p);
1937
- return o && E(m) && (m.flow = !0), d(), m;
1938
+ }, m = xe(e, l, p);
1939
+ return o && k(m) && (m.flow = !0), d(), m;
1938
1940
  }
1939
1941
  createPair(e, t, n = {}) {
1940
- return new H(this.createNode(e, null, n), this.createNode(t, null, n));
1942
+ return new G(this.createNode(e, null, n), this.createNode(t, null, n));
1941
1943
  }
1942
1944
  delete(e) {
1943
- return Y(this.contents) ? this.contents.delete(e) : !1;
1945
+ return tn(this.contents) ? this.contents.delete(e) : !1;
1944
1946
  }
1945
1947
  deleteIn(e) {
1946
- return xe(e) ? this.contents == null ? !1 : (this.contents = null, !0) : Y(this.contents) ? this.contents.deleteIn(e) : !1;
1948
+ return Ce(e) ? this.contents == null ? !1 : (this.contents = null, !0) : tn(this.contents) ? this.contents.deleteIn(e) : !1;
1947
1949
  }
1948
1950
  get(e, t) {
1949
- return E(this.contents) ? this.contents.get(e, t) : void 0;
1951
+ return k(this.contents) ? this.contents.get(e, t) : void 0;
1950
1952
  }
1951
1953
  getIn(e, t) {
1952
- return xe(e) ? !t && T(this.contents) ? this.contents.value : this.contents : E(this.contents) ? this.contents.getIn(e, t) : void 0;
1954
+ return Ce(e) ? !t && O(this.contents) ? this.contents.value : this.contents : k(this.contents) ? this.contents.getIn(e, t) : void 0;
1953
1955
  }
1954
1956
  has(e) {
1955
- return E(this.contents) ? this.contents.has(e) : !1;
1957
+ return k(this.contents) ? this.contents.has(e) : !1;
1956
1958
  }
1957
1959
  hasIn(e) {
1958
- return xe(e) ? this.contents !== void 0 : E(this.contents) ? this.contents.hasIn(e) : !1;
1960
+ return Ce(e) ? this.contents !== void 0 : k(this.contents) ? this.contents.hasIn(e) : !1;
1959
1961
  }
1960
1962
  set(e, t) {
1961
- this.contents == null ? this.contents = be(this.schema, [e], t) : Y(this.contents) && this.contents.set(e, t);
1963
+ this.contents == null ? this.contents = Se(this.schema, [e], t) : tn(this.contents) && this.contents.set(e, t);
1962
1964
  }
1963
1965
  setIn(e, t) {
1964
- xe(e) ? this.contents = t : this.contents == null ? this.contents = be(this.schema, Array.from(e), t) : Y(this.contents) && this.contents.setIn(e, t);
1966
+ Ce(e) ? this.contents = t : this.contents == null ? this.contents = Se(this.schema, Array.from(e), t) : tn(this.contents) && this.contents.setIn(e, t);
1965
1967
  }
1966
1968
  setSchema(e, t = {}) {
1967
1969
  typeof e == "number" && (e = String(e));
1968
1970
  let n;
1969
1971
  switch (e) {
1970
1972
  case "1.1":
1971
- this.directives ? this.directives.yaml.version = "1.1" : this.directives = new N({ version: "1.1" }), n = {
1973
+ this.directives ? this.directives.yaml.version = "1.1" : this.directives = new I({ version: "1.1" }), n = {
1972
1974
  resolveKnownTags: !1,
1973
1975
  schema: "yaml-1.1"
1974
1976
  };
1975
1977
  break;
1976
1978
  case "1.2":
1977
1979
  case "next":
1978
- this.directives ? this.directives.yaml.version = e : this.directives = new N({ version: e }), n = {
1980
+ this.directives ? this.directives.yaml.version = e : this.directives = new I({ version: e }), n = {
1979
1981
  resolveKnownTags: !0,
1980
1982
  schema: "core"
1981
1983
  };
@@ -1989,7 +1991,7 @@ var Qt = class e {
1989
1991
  }
1990
1992
  }
1991
1993
  if (t.schema instanceof Object) this.schema = t.schema;
1992
- else if (n) this.schema = new Xt(Object.assign(n, t));
1994
+ else if (n) this.schema = new Qt(Object.assign(n, t));
1993
1995
  else throw Error("With a null YAML version, the { schema: Schema } option is required");
1994
1996
  }
1995
1997
  toJS({ json: e, jsonArg: t, mapAsMap: n, maxAliasCount: r, onAnchor: i, reviver: a } = {}) {
@@ -2000,9 +2002,9 @@ var Qt = class e {
2000
2002
  mapAsMap: n === !0,
2001
2003
  mapKeyWarned: !1,
2002
2004
  maxAliasCount: typeof r == "number" ? r : 100
2003
- }, s = F(this.contents, t ?? "", o);
2005
+ }, s = R(this.contents, t ?? "", o);
2004
2006
  if (typeof i == "function") for (let { count: e, res: t } of o.anchors.values()) i(t, e);
2005
- return typeof a == "function" ? P(a, { "": s }, "", s) : s;
2007
+ return typeof a == "function" ? L(a, { "": s }, "", s) : s;
2006
2008
  }
2007
2009
  toJSON(e, t) {
2008
2010
  return this.toJS({
@@ -2018,28 +2020,28 @@ var Qt = class e {
2018
2020
  let t = JSON.stringify(e.indent);
2019
2021
  throw Error(`"indent" option must be a positive integer, not ${t}`);
2020
2022
  }
2021
- return Zt(this, e);
2023
+ return $t(this, e);
2022
2024
  }
2023
2025
  };
2024
- function Y(e) {
2025
- if (E(e)) return !0;
2026
+ function tn(e) {
2027
+ if (k(e)) return !0;
2026
2028
  throw Error("Expected a YAML collection as document contents");
2027
2029
  }
2028
2030
  //#endregion
2029
2031
  //#region node_modules/yaml/browser/dist/errors.js
2030
- var $t = class extends Error {
2032
+ var nn = class extends Error {
2031
2033
  constructor(e, t, n, r) {
2032
2034
  super(), this.name = e, this.code = n, this.message = r, this.pos = t;
2033
2035
  }
2034
- }, en = class extends $t {
2036
+ }, rn = class extends nn {
2035
2037
  constructor(e, t, n) {
2036
2038
  super("YAMLParseError", e, t, n);
2037
2039
  }
2038
- }, tn = class extends $t {
2040
+ }, an = class extends nn {
2039
2041
  constructor(e, t, n) {
2040
2042
  super("YAMLWarning", e, t, n);
2041
2043
  }
2042
- }, nn = (e, t) => (n) => {
2044
+ }, on = (e, t) => (n) => {
2043
2045
  if (n.pos[0] === -1) return;
2044
2046
  n.linePos = n.pos.map((e) => t.linePos(e));
2045
2047
  let { line: r, col: i } = n.linePos[0];
@@ -2062,7 +2064,7 @@ var $t = class extends Error {
2062
2064
  };
2063
2065
  //#endregion
2064
2066
  //#region node_modules/yaml/browser/dist/compose/resolve-props.js
2065
- function X(e, { flow: t, indicator: n, next: r, offset: i, onError: a, parentIndent: o, startOnNewline: s }) {
2067
+ function sn(e, { flow: t, indicator: n, next: r, offset: i, onError: a, parentIndent: o, startOnNewline: s }) {
2066
2068
  let c = !1, l = s, u = s, d = "", f = "", p = !1, m = !1, h = null, g = null, _ = null, v = null, y = null, b = null, x = null;
2067
2069
  for (let i of e) switch (m &&= (i.type !== "space" && i.type !== "newline" && i.type !== "comma" && a(i.offset, "MISSING_CHAR", "Tags and anchors must be separated from the next token by white space"), !1), h &&= (l && i.type !== "comment" && i.type !== "newline" && a(h, "TAB_AS_INDENT", "Tabs are not allowed as indentation"), null), i.type) {
2068
2070
  case "space":
@@ -2108,7 +2110,7 @@ function X(e, { flow: t, indicator: n, next: r, offset: i, onError: a, parentInd
2108
2110
  }
2109
2111
  //#endregion
2110
2112
  //#region node_modules/yaml/browser/dist/compose/util-contains-newline.js
2111
- function rn(e) {
2113
+ function cn(e) {
2112
2114
  if (!e) return null;
2113
2115
  switch (e.type) {
2114
2116
  case "alias":
@@ -2126,7 +2128,7 @@ function rn(e) {
2126
2128
  if (t.sep) {
2127
2129
  for (let e of t.sep) if (e.type === "newline") return !0;
2128
2130
  }
2129
- if (rn(t.key) || rn(t.value)) return !0;
2131
+ if (cn(t.key) || cn(t.value)) return !0;
2130
2132
  }
2131
2133
  return !1;
2132
2134
  default: return !0;
@@ -2134,29 +2136,29 @@ function rn(e) {
2134
2136
  }
2135
2137
  //#endregion
2136
2138
  //#region node_modules/yaml/browser/dist/compose/util-flow-indent-check.js
2137
- function an(e, t, n) {
2139
+ function ln(e, t, n) {
2138
2140
  if (t?.type === "flow-collection") {
2139
2141
  let r = t.end[0];
2140
- r.indent === e && (r.source === "]" || r.source === "}") && rn(t) && n(r, "BAD_INDENT", "Flow end indicator should be more indented than parent", !0);
2142
+ r.indent === e && (r.source === "]" || r.source === "}") && cn(t) && n(r, "BAD_INDENT", "Flow end indicator should be more indented than parent", !0);
2141
2143
  }
2142
2144
  }
2143
2145
  //#endregion
2144
2146
  //#region node_modules/yaml/browser/dist/compose/util-map-includes.js
2145
- function on(e, t, n) {
2147
+ function un(e, t, n) {
2146
2148
  let { uniqueKeys: r } = e.options;
2147
2149
  if (r === !1) return !1;
2148
- let i = typeof r == "function" ? r : (e, t) => e === t || T(e) && T(t) && e.value === t.value;
2150
+ let i = typeof r == "function" ? r : (e, t) => e === t || O(e) && O(t) && e.value === t.value;
2149
2151
  return t.some((e) => i(e.key, n));
2150
2152
  }
2151
2153
  //#endregion
2152
2154
  //#region node_modules/yaml/browser/dist/compose/resolve-block-map.js
2153
- var sn = "All mapping items must start at the same column";
2154
- function cn({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2155
- let o = new (a?.nodeClass ?? W)(n.schema);
2155
+ var dn = "All mapping items must start at the same column";
2156
+ function fn({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2157
+ let o = new (a?.nodeClass ?? q)(n.schema);
2156
2158
  n.atRoot &&= !1;
2157
2159
  let s = r.offset, c = null;
2158
2160
  for (let a of r.items) {
2159
- let { start: l, key: u, sep: d, value: f } = a, p = X(l, {
2161
+ let { start: l, key: u, sep: d, value: f } = a, p = sn(l, {
2160
2162
  indicator: "explicit-key-ind",
2161
2163
  next: u ?? d?.[0],
2162
2164
  offset: s,
@@ -2165,16 +2167,16 @@ function cn({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2165
2167
  startOnNewline: !0
2166
2168
  }), m = !p.found;
2167
2169
  if (m) {
2168
- if (u && (u.type === "block-seq" ? i(s, "BLOCK_AS_IMPLICIT_KEY", "A block sequence may not be used as an implicit map key") : "indent" in u && u.indent !== r.indent && i(s, "BAD_INDENT", sn)), !p.anchor && !p.tag && !d) {
2170
+ if (u && (u.type === "block-seq" ? i(s, "BLOCK_AS_IMPLICIT_KEY", "A block sequence may not be used as an implicit map key") : "indent" in u && u.indent !== r.indent && i(s, "BAD_INDENT", dn)), !p.anchor && !p.tag && !d) {
2169
2171
  c = p.end, p.comment && (o.comment ? o.comment += "\n" + p.comment : o.comment = p.comment);
2170
2172
  continue;
2171
2173
  }
2172
- (p.newlineAfterProp || rn(u)) && i(u ?? l[l.length - 1], "MULTILINE_IMPLICIT_KEY", "Implicit keys need to be on a single line");
2173
- } else p.found?.indent !== r.indent && i(s, "BAD_INDENT", sn);
2174
+ (p.newlineAfterProp || cn(u)) && i(u ?? l[l.length - 1], "MULTILINE_IMPLICIT_KEY", "Implicit keys need to be on a single line");
2175
+ } else p.found?.indent !== r.indent && i(s, "BAD_INDENT", dn);
2174
2176
  n.atKey = !0;
2175
2177
  let h = p.end, g = u ? e(n, u, p, i) : t(n, h, l, null, p, i);
2176
- n.schema.compat && an(r.indent, u, i), n.atKey = !1, on(n, o.items, g) && i(h, "DUPLICATE_KEY", "Map keys must be unique");
2177
- let _ = X(d ?? [], {
2178
+ n.schema.compat && ln(r.indent, u, i), n.atKey = !1, un(n, o.items, g) && i(h, "DUPLICATE_KEY", "Map keys must be unique");
2179
+ let _ = sn(d ?? [], {
2178
2180
  indicator: "map-value-ind",
2179
2181
  next: f,
2180
2182
  offset: g.range[2],
@@ -2185,12 +2187,12 @@ function cn({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2185
2187
  if (s = _.end, _.found) {
2186
2188
  m && (f?.type === "block-map" && !_.hasNewline && i(s, "BLOCK_AS_IMPLICIT_KEY", "Nested mappings are not allowed in compact mappings"), n.options.strict && p.start < _.found.offset - 1024 && i(g.range, "KEY_OVER_1024_CHARS", "The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));
2187
2189
  let c = f ? e(n, f, _, i) : t(n, s, d, null, _, i);
2188
- n.schema.compat && an(r.indent, f, i), s = c.range[2];
2189
- let l = new H(g, c);
2190
+ n.schema.compat && ln(r.indent, f, i), s = c.range[2];
2191
+ let l = new G(g, c);
2190
2192
  n.options.keepSourceTokens && (l.srcToken = a), o.items.push(l);
2191
2193
  } else {
2192
2194
  m && i(g.range, "MISSING_CHAR", "Implicit map keys need to be followed by map values"), _.comment && (g.comment ? g.comment += "\n" + _.comment : g.comment = _.comment);
2193
- let e = new H(g);
2195
+ let e = new G(g);
2194
2196
  n.options.keepSourceTokens && (e.srcToken = a), o.items.push(e);
2195
2197
  }
2196
2198
  }
@@ -2202,12 +2204,12 @@ function cn({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2202
2204
  }
2203
2205
  //#endregion
2204
2206
  //#region node_modules/yaml/browser/dist/compose/resolve-block-seq.js
2205
- function ln({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2206
- let o = new (a?.nodeClass ?? K)(n.schema);
2207
+ function pn({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2208
+ let o = new (a?.nodeClass ?? Y)(n.schema);
2207
2209
  n.atRoot &&= !1, n.atKey &&= !1;
2208
2210
  let s = r.offset, c = null;
2209
2211
  for (let { start: a, value: l } of r.items) {
2210
- let u = X(a, {
2212
+ let u = sn(a, {
2211
2213
  indicator: "seq-item-ind",
2212
2214
  next: l,
2213
2215
  offset: s,
@@ -2221,7 +2223,7 @@ function ln({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2221
2223
  continue;
2222
2224
  }
2223
2225
  let d = l ? e(n, l, u, i) : t(n, u.end, a, null, u, i);
2224
- n.schema.compat && an(r.indent, l, i), s = d.range[2], o.items.push(d);
2226
+ n.schema.compat && ln(r.indent, l, i), s = d.range[2], o.items.push(d);
2225
2227
  }
2226
2228
  return o.range = [
2227
2229
  r.offset,
@@ -2231,7 +2233,7 @@ function ln({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2231
2233
  }
2232
2234
  //#endregion
2233
2235
  //#region node_modules/yaml/browser/dist/compose/resolve-end.js
2234
- function un(e, t, n, r) {
2236
+ function mn(e, t, n, r) {
2235
2237
  let i = "";
2236
2238
  if (e) {
2237
2239
  let a = !1, o = "";
@@ -2262,15 +2264,15 @@ function un(e, t, n, r) {
2262
2264
  }
2263
2265
  //#endregion
2264
2266
  //#region node_modules/yaml/browser/dist/compose/resolve-flow-collection.js
2265
- var dn = "Block collections are not allowed within flow collections", fn = (e) => e && (e.type === "block-map" || e.type === "block-seq");
2266
- function pn({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2267
- let o = r.start.source === "{", s = o ? "flow map" : "flow sequence", c = new (a?.nodeClass ?? (o ? W : K))(n.schema);
2267
+ var hn = "Block collections are not allowed within flow collections", gn = (e) => e && (e.type === "block-map" || e.type === "block-seq");
2268
+ function _n({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2269
+ let o = r.start.source === "{", s = o ? "flow map" : "flow sequence", c = new (a?.nodeClass ?? (o ? q : Y))(n.schema);
2268
2270
  c.flow = !0;
2269
2271
  let l = n.atRoot;
2270
2272
  l && (n.atRoot = !1), n.atKey &&= !1;
2271
2273
  let u = r.offset + r.start.source.length;
2272
2274
  for (let a = 0; a < r.items.length; ++a) {
2273
- let l = r.items[a], { start: d, key: f, sep: p, value: m } = l, h = X(d, {
2275
+ let l = r.items[a], { start: d, key: f, sep: p, value: m } = l, h = sn(d, {
2274
2276
  flow: s,
2275
2277
  indicator: "explicit-key-ind",
2276
2278
  next: f ?? p?.[0],
@@ -2284,7 +2286,7 @@ function pn({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2284
2286
  a === 0 && h.comma ? i(h.comma, "UNEXPECTED_TOKEN", `Unexpected , in ${s}`) : a < r.items.length - 1 && i(h.start, "UNEXPECTED_TOKEN", `Unexpected empty item in ${s}`), h.comment && (c.comment ? c.comment += "\n" + h.comment : c.comment = h.comment), u = h.end;
2285
2287
  continue;
2286
2288
  }
2287
- !o && n.options.strict && rn(f) && i(f, "MULTILINE_IMPLICIT_KEY", "Implicit keys of flow sequence pairs need to be on a single line");
2289
+ !o && n.options.strict && cn(f) && i(f, "MULTILINE_IMPLICIT_KEY", "Implicit keys of flow sequence pairs need to be on a single line");
2288
2290
  }
2289
2291
  if (a === 0) h.comma && i(h.comma, "UNEXPECTED_TOKEN", `Unexpected , in ${s}`);
2290
2292
  else if (h.comma || i(h.start, "MISSING_CHAR", `Missing , between ${s} items`), h.comment) {
@@ -2299,17 +2301,17 @@ function pn({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2299
2301
  }
2300
2302
  if (e) {
2301
2303
  let t = c.items[c.items.length - 1];
2302
- w(t) && (t = t.value ?? t.key), t.comment ? t.comment += "\n" + e : t.comment = e, h.comment = h.comment.substring(e.length + 1);
2304
+ D(t) && (t = t.value ?? t.key), t.comment ? t.comment += "\n" + e : t.comment = e, h.comment = h.comment.substring(e.length + 1);
2303
2305
  }
2304
2306
  }
2305
2307
  if (!o && !p && !h.found) {
2306
2308
  let r = m ? e(n, m, h, i) : t(n, h.end, p, null, h, i);
2307
- c.items.push(r), u = r.range[2], fn(m) && i(r.range, "BLOCK_IN_FLOW", dn);
2309
+ c.items.push(r), u = r.range[2], gn(m) && i(r.range, "BLOCK_IN_FLOW", hn);
2308
2310
  } else {
2309
2311
  n.atKey = !0;
2310
2312
  let a = h.end, g = f ? e(n, f, h, i) : t(n, a, d, null, h, i);
2311
- fn(f) && i(g.range, "BLOCK_IN_FLOW", dn), n.atKey = !1;
2312
- let _ = X(p ?? [], {
2313
+ gn(f) && i(g.range, "BLOCK_IN_FLOW", hn), n.atKey = !1;
2314
+ let _ = sn(p ?? [], {
2313
2315
  flow: s,
2314
2316
  indicator: "map-value-ind",
2315
2317
  next: m,
@@ -2331,13 +2333,13 @@ function pn({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2331
2333
  }
2332
2334
  } else m && ("source" in m && m.source?.[0] === ":" ? i(m, "MISSING_CHAR", `Missing space after : in ${s}`) : i(_.start, "MISSING_CHAR", `Missing , or : between ${s} items`));
2333
2335
  let v = m ? e(n, m, _, i) : _.found ? t(n, _.end, p, null, _, i) : null;
2334
- v ? fn(m) && i(v.range, "BLOCK_IN_FLOW", dn) : _.comment && (g.comment ? g.comment += "\n" + _.comment : g.comment = _.comment);
2335
- let y = new H(g, v);
2336
+ v ? gn(m) && i(v.range, "BLOCK_IN_FLOW", hn) : _.comment && (g.comment ? g.comment += "\n" + _.comment : g.comment = _.comment);
2337
+ let y = new G(g, v);
2336
2338
  if (n.options.keepSourceTokens && (y.srcToken = l), o) {
2337
2339
  let e = c;
2338
- on(n, e.items, g) && i(a, "DUPLICATE_KEY", "Map keys must be unique"), e.items.push(y);
2340
+ un(n, e.items, g) && i(a, "DUPLICATE_KEY", "Map keys must be unique"), e.items.push(y);
2339
2341
  } else {
2340
- let e = new W(n.schema);
2342
+ let e = new q(n.schema);
2341
2343
  e.flow = !0, e.items.push(y);
2342
2344
  let t = (v ?? g).range;
2343
2345
  e.range = [
@@ -2356,7 +2358,7 @@ function pn({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2356
2358
  i(u, l ? "MISSING_CHAR" : "BAD_INDENT", t), f && f.source.length !== 1 && p.unshift(f);
2357
2359
  }
2358
2360
  if (p.length > 0) {
2359
- let e = un(p, m, n.options.strict, i);
2361
+ let e = mn(p, m, n.options.strict, i);
2360
2362
  e.comment && (c.comment ? c.comment += "\n" + e.comment : c.comment = e.comment), c.range = [
2361
2363
  r.offset,
2362
2364
  m,
@@ -2371,31 +2373,31 @@ function pn({ composeNode: e, composeEmptyNode: t }, n, r, i, a) {
2371
2373
  }
2372
2374
  //#endregion
2373
2375
  //#region node_modules/yaml/browser/dist/compose/compose-collection.js
2374
- function mn(e, t, n, r, i, a) {
2375
- let o = n.type === "block-map" ? cn(e, t, n, r, a) : n.type === "block-seq" ? ln(e, t, n, r, a) : pn(e, t, n, r, a), s = o.constructor;
2376
+ function vn(e, t, n, r, i, a) {
2377
+ let o = n.type === "block-map" ? fn(e, t, n, r, a) : n.type === "block-seq" ? pn(e, t, n, r, a) : _n(e, t, n, r, a), s = o.constructor;
2376
2378
  return i === "!" || i === s.tagName ? (o.tag = s.tagName, o) : (i && (o.tag = i), o);
2377
2379
  }
2378
- function hn(e, t, n, r, i) {
2380
+ function yn(e, t, n, r, i) {
2379
2381
  let a = r.tag, o = a ? t.directives.tagName(a.source, (e) => i(a, "TAG_RESOLVE_FAILED", e)) : null;
2380
2382
  if (n.type === "block-seq") {
2381
2383
  let { anchor: e, newlineAfterProp: t } = r, n = e && a ? e.offset > a.offset ? e : a : e ?? a;
2382
2384
  n && (!t || t.offset < n.offset) && i(n, "MISSING_CHAR", "Missing newline after block sequence props");
2383
2385
  }
2384
2386
  let s = n.type === "block-map" ? "map" : n.type === "block-seq" ? "seq" : n.start.source === "{" ? "map" : "seq";
2385
- if (!a || !o || o === "!" || o === W.tagName && s === "map" || o === K.tagName && s === "seq") return mn(e, t, n, i, o);
2387
+ if (!a || !o || o === "!" || o === q.tagName && s === "map" || o === Y.tagName && s === "seq") return vn(e, t, n, i, o);
2386
2388
  let c = t.schema.tags.find((e) => e.tag === o && e.collection === s);
2387
2389
  if (!c) {
2388
2390
  let r = t.schema.knownTags[o];
2389
2391
  if (r?.collection === s) t.schema.tags.push(Object.assign({}, r, { default: !1 })), c = r;
2390
- else return r ? i(a, "BAD_COLLECTION_TYPE", `${r.tag} used for ${s} collection, but expects ${r.collection ?? "scalar"}`, !0) : i(a, "TAG_RESOLVE_FAILED", `Unresolved tag: ${o}`, !0), mn(e, t, n, i, o);
2392
+ else return r ? i(a, "BAD_COLLECTION_TYPE", `${r.tag} used for ${s} collection, but expects ${r.collection ?? "scalar"}`, !0) : i(a, "TAG_RESOLVE_FAILED", `Unresolved tag: ${o}`, !0), vn(e, t, n, i, o);
2391
2393
  }
2392
- let l = mn(e, t, n, i, o, c), u = c.resolve?.(l, (e) => i(a, "TAG_RESOLVE_FAILED", e), t.options) ?? l, d = D(u) ? u : new I(u);
2394
+ let l = vn(e, t, n, i, o, c), u = c.resolve?.(l, (e) => i(a, "TAG_RESOLVE_FAILED", e), t.options) ?? l, d = A(u) ? u : new z(u);
2393
2395
  return d.range = l.range, d.tag = o, c?.format && (d.format = c.format), d;
2394
2396
  }
2395
2397
  //#endregion
2396
2398
  //#region node_modules/yaml/browser/dist/compose/resolve-block-scalar.js
2397
- function gn(e, t, n) {
2398
- let r = t.offset, i = _n(t, e.options.strict, n);
2399
+ function bn(e, t, n) {
2400
+ let r = t.offset, i = xn(t, e.options.strict, n);
2399
2401
  if (!i) return {
2400
2402
  value: "",
2401
2403
  type: null,
@@ -2406,7 +2408,7 @@ function gn(e, t, n) {
2406
2408
  r
2407
2409
  ]
2408
2410
  };
2409
- let a = i.mode === ">" ? I.BLOCK_FOLDED : I.BLOCK_LITERAL, o = t.source ? vn(t.source) : [], s = o.length;
2411
+ let a = i.mode === ">" ? z.BLOCK_FOLDED : z.BLOCK_LITERAL, o = t.source ? Sn(t.source) : [], s = o.length;
2410
2412
  for (let e = o.length - 1; e >= 0; --e) {
2411
2413
  let t = o[e][1];
2412
2414
  if (t === "" || t === "\r") s = e;
@@ -2447,7 +2449,7 @@ function gn(e, t, n) {
2447
2449
  let e = `Block scalar lines must not be less indented than their ${i.indent ? "explicit indentation indicator" : "first line"}`;
2448
2450
  n(l - r.length - (s ? 2 : 1), "BAD_INDENT", e), t = "";
2449
2451
  }
2450
- a === I.BLOCK_LITERAL ? (d += f + t.slice(c) + r, f = "\n") : t.length > c || r[0] === " " ? (f === " " ? f = "\n" : !p && f === "\n" && (f = "\n\n"), d += f + t.slice(c) + r, f = "\n", p = !0) : r === "" ? f === "\n" ? d += "\n" : f = "\n" : (d += f + r, f = " ", p = !1);
2452
+ a === z.BLOCK_LITERAL ? (d += f + t.slice(c) + r, f = "\n") : t.length > c || r[0] === " " ? (f === " " ? f = "\n" : !p && f === "\n" && (f = "\n\n"), d += f + t.slice(c) + r, f = "\n", p = !0) : r === "" ? f === "\n" ? d += "\n" : f = "\n" : (d += f + r, f = " ", p = !1);
2451
2453
  }
2452
2454
  switch (i.chomp) {
2453
2455
  case "-": break;
@@ -2469,7 +2471,7 @@ function gn(e, t, n) {
2469
2471
  ]
2470
2472
  };
2471
2473
  }
2472
- function _n({ offset: e, props: t }, n, r) {
2474
+ function xn({ offset: e, props: t }, n, r) {
2473
2475
  /* istanbul ignore if should not happen */
2474
2476
  if (t[0].type !== "block-scalar-header") return r(t[0], "IMPOSSIBLE", "Block scalar header not found"), null;
2475
2477
  let { source: i } = t[0], a = i[0], o = 0, s = "", c = -1;
@@ -2512,24 +2514,24 @@ function _n({ offset: e, props: t }, n, r) {
2512
2514
  length: d
2513
2515
  };
2514
2516
  }
2515
- function vn(e) {
2517
+ function Sn(e) {
2516
2518
  let t = e.split(/\n( *)/), n = t[0], r = n.match(/^( *)/), i = [r?.[1] ? [r[1], n.slice(r[1].length)] : ["", n]];
2517
2519
  for (let e = 1; e < t.length; e += 2) i.push([t[e], t[e + 1]]);
2518
2520
  return i;
2519
2521
  }
2520
2522
  //#endregion
2521
2523
  //#region node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js
2522
- function yn(e, t, n) {
2524
+ function Cn(e, t, n) {
2523
2525
  let { offset: r, type: i, source: a, end: o } = e, s, c, l = (e, t, i) => n(r + e, t, i);
2524
2526
  switch (i) {
2525
2527
  case "scalar":
2526
- s = I.PLAIN, c = bn(a, l);
2528
+ s = z.PLAIN, c = wn(a, l);
2527
2529
  break;
2528
2530
  case "single-quoted-scalar":
2529
- s = I.QUOTE_SINGLE, c = xn(a, l);
2531
+ s = z.QUOTE_SINGLE, c = Tn(a, l);
2530
2532
  break;
2531
2533
  case "double-quoted-scalar":
2532
- s = I.QUOTE_DOUBLE, c = Cn(a, l);
2534
+ s = z.QUOTE_DOUBLE, c = Dn(a, l);
2533
2535
  break;
2534
2536
  /* istanbul ignore next should not happen */
2535
2537
  default: return n(e, "UNEXPECTED_TOKEN", `Expected a flow scalar value, but found: ${i}`), {
@@ -2543,7 +2545,7 @@ function yn(e, t, n) {
2543
2545
  ]
2544
2546
  };
2545
2547
  }
2546
- let u = r + a.length, d = un(o, u, t, n);
2548
+ let u = r + a.length, d = mn(o, u, t, n);
2547
2549
  return {
2548
2550
  value: c,
2549
2551
  type: s,
@@ -2555,7 +2557,7 @@ function yn(e, t, n) {
2555
2557
  ]
2556
2558
  };
2557
2559
  }
2558
- function bn(e, t) {
2560
+ function wn(e, t) {
2559
2561
  let n = "";
2560
2562
  switch (e[0]) {
2561
2563
  /* istanbul ignore next should not happen */
@@ -2577,12 +2579,12 @@ function bn(e, t) {
2577
2579
  n = `reserved character ${e[0]}`;
2578
2580
  break;
2579
2581
  }
2580
- return n && t(0, "BAD_SCALAR_START", `Plain value cannot start with ${n}`), Sn(e);
2582
+ return n && t(0, "BAD_SCALAR_START", `Plain value cannot start with ${n}`), En(e);
2581
2583
  }
2582
- function xn(e, t) {
2583
- return (e[e.length - 1] !== "'" || e.length === 1) && t(e.length, "MISSING_CHAR", "Missing closing 'quote"), Sn(e.slice(1, -1)).replace(/''/g, "'");
2584
+ function Tn(e, t) {
2585
+ return (e[e.length - 1] !== "'" || e.length === 1) && t(e.length, "MISSING_CHAR", "Missing closing 'quote"), En(e.slice(1, -1)).replace(/''/g, "'");
2584
2586
  }
2585
- function Sn(e) {
2587
+ function En(e) {
2586
2588
  let t, n;
2587
2589
  try {
2588
2590
  t = /* @__PURE__ */ RegExp("(.*?)(?<![ ])[ ]*\r?\n", "sy"), n = /* @__PURE__ */ RegExp("[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?\n", "sy");
@@ -2596,15 +2598,15 @@ function Sn(e) {
2596
2598
  let s = /[ \t]*(.*)/sy;
2597
2599
  return s.lastIndex = o, r = s.exec(e), i + a + (r?.[1] ?? "");
2598
2600
  }
2599
- function Cn(e, t) {
2601
+ function Dn(e, t) {
2600
2602
  let n = "";
2601
2603
  for (let r = 1; r < e.length - 1; ++r) {
2602
2604
  let i = e[r];
2603
2605
  if (!(i === "\r" && e[r + 1] === "\n")) if (i === "\n") {
2604
- let { fold: t, offset: i } = wn(e, r);
2606
+ let { fold: t, offset: i } = On(e, r);
2605
2607
  n += t, r = i;
2606
2608
  } else if (i === "\\") {
2607
- let i = e[++r], a = Tn[i];
2609
+ let i = e[++r], a = kn[i];
2608
2610
  if (a) n += a;
2609
2611
  else if (i === "\n") for (i = e[r + 1]; i === " " || i === " ";) i = e[++r + 1];
2610
2612
  else if (i === "\r" && e[r + 1] === "\n") for (i = e[++r + 1]; i === " " || i === " ";) i = e[++r + 1];
@@ -2614,7 +2616,7 @@ function Cn(e, t) {
2614
2616
  u: 4,
2615
2617
  U: 8
2616
2618
  }[i];
2617
- n += En(e, r + 1, a, t), r += a;
2619
+ n += An(e, r + 1, a, t), r += a;
2618
2620
  } else {
2619
2621
  let i = e.substr(r - 1, 2);
2620
2622
  t(r - 1, "BAD_DQ_ESCAPE", `Invalid escape sequence ${i}`), n += i;
@@ -2627,7 +2629,7 @@ function Cn(e, t) {
2627
2629
  }
2628
2630
  return (e[e.length - 1] !== "\"" || e.length === 1) && t(e.length, "MISSING_CHAR", "Missing closing \"quote"), n;
2629
2631
  }
2630
- function wn(e, t) {
2632
+ function On(e, t) {
2631
2633
  let n = "", r = e[t + 1];
2632
2634
  for (; (r === " " || r === " " || r === "\n" || r === "\r") && !(r === "\r" && e[t + 2] !== "\n");) r === "\n" && (n += "\n"), t += 1, r = e[t + 1];
2633
2635
  return n ||= " ", {
@@ -2635,7 +2637,7 @@ function wn(e, t) {
2635
2637
  offset: t
2636
2638
  };
2637
2639
  }
2638
- var Tn = {
2640
+ var kn = {
2639
2641
  0: "\0",
2640
2642
  a: "\x07",
2641
2643
  b: "\b",
@@ -2655,7 +2657,7 @@ var Tn = {
2655
2657
  "\\": "\\",
2656
2658
  " ": " "
2657
2659
  };
2658
- function En(e, t, n, r) {
2660
+ function An(e, t, n, r) {
2659
2661
  let i = e.substr(t, n), a = i.length === n && /^[0-9a-fA-F]+$/.test(i) ? parseInt(i, 16) : NaN;
2660
2662
  if (isNaN(a)) {
2661
2663
  let i = e.substr(t - 2, n + 2);
@@ -2665,21 +2667,21 @@ function En(e, t, n, r) {
2665
2667
  }
2666
2668
  //#endregion
2667
2669
  //#region node_modules/yaml/browser/dist/compose/compose-scalar.js
2668
- function Dn(e, t, n, r) {
2669
- let { value: i, type: a, comment: o, range: s } = t.type === "block-scalar" ? gn(e, t, r) : yn(t, e.options.strict, r), c = n ? e.directives.tagName(n.source, (e) => r(n, "TAG_RESOLVE_FAILED", e)) : null, l;
2670
- l = e.options.stringKeys && e.atKey ? e.schema[v] : c ? On(e.schema, i, c, n, r) : t.type === "scalar" ? kn(e, i, t, r) : e.schema[v];
2670
+ function jn(e, t, n, r) {
2671
+ let { value: i, type: a, comment: o, range: s } = t.type === "block-scalar" ? bn(e, t, r) : Cn(t, e.options.strict, r), c = n ? e.directives.tagName(n.source, (e) => r(n, "TAG_RESOLVE_FAILED", e)) : null, l;
2672
+ l = e.options.stringKeys && e.atKey ? e.schema[C] : c ? Mn(e.schema, i, c, n, r) : t.type === "scalar" ? Nn(e, i, t, r) : e.schema[C];
2671
2673
  let u;
2672
2674
  try {
2673
2675
  let a = l.resolve(i, (e) => r(n ?? t, "TAG_RESOLVE_FAILED", e), e.options);
2674
- u = T(a) ? a : new I(a);
2676
+ u = O(a) ? a : new z(a);
2675
2677
  } catch (e) {
2676
2678
  let a = e instanceof Error ? e.message : String(e);
2677
- r(n ?? t, "TAG_RESOLVE_FAILED", a), u = new I(i);
2679
+ r(n ?? t, "TAG_RESOLVE_FAILED", a), u = new z(i);
2678
2680
  }
2679
2681
  return u.range = s, u.source = i, a && (u.type = a), c && (u.tag = c), l.format && (u.format = l.format), o && (u.comment = o), u;
2680
2682
  }
2681
- function On(e, t, n, r, i) {
2682
- if (n === "!") return e[v];
2683
+ function Mn(e, t, n, r, i) {
2684
+ if (n === "!") return e[C];
2683
2685
  let a = [];
2684
2686
  for (let t of e.tags) if (!t.collection && t.tag === n) if (t.default && t.test) a.push(t);
2685
2687
  else return t;
@@ -2688,19 +2690,19 @@ function On(e, t, n, r, i) {
2688
2690
  return o && !o.collection ? (e.tags.push(Object.assign({}, o, {
2689
2691
  default: !1,
2690
2692
  test: void 0
2691
- })), o) : (i(r, "TAG_RESOLVE_FAILED", `Unresolved tag: ${n}`, n !== "tag:yaml.org,2002:str"), e[v]);
2693
+ })), o) : (i(r, "TAG_RESOLVE_FAILED", `Unresolved tag: ${n}`, n !== "tag:yaml.org,2002:str"), e[C]);
2692
2694
  }
2693
- function kn({ atKey: e, directives: t, schema: n }, r, i, a) {
2694
- let o = n.tags.find((t) => (t.default === !0 || e && t.default === "key") && t.test?.test(r)) || n[v];
2695
+ function Nn({ atKey: e, directives: t, schema: n }, r, i, a) {
2696
+ let o = n.tags.find((t) => (t.default === !0 || e && t.default === "key") && t.test?.test(r)) || n[C];
2695
2697
  if (n.compat) {
2696
- let e = n.compat.find((e) => e.default && e.test?.test(r)) ?? n[v];
2698
+ let e = n.compat.find((e) => e.default && e.test?.test(r)) ?? n[C];
2697
2699
  o.tag !== e.tag && a(i, "TAG_RESOLVE_FAILED", `Value may be parsed as either ${t.tagString(o.tag)} or ${t.tagString(e.tag)}`, !0);
2698
2700
  }
2699
2701
  return o;
2700
2702
  }
2701
2703
  //#endregion
2702
2704
  //#region node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js
2703
- function An(e, t, n) {
2705
+ function Pn(e, t, n) {
2704
2706
  if (t) {
2705
2707
  n ??= t.length;
2706
2708
  for (let r = n - 1; r >= 0; --r) {
@@ -2720,48 +2722,48 @@ function An(e, t, n) {
2720
2722
  }
2721
2723
  //#endregion
2722
2724
  //#region node_modules/yaml/browser/dist/compose/compose-node.js
2723
- var jn = {
2724
- composeNode: Mn,
2725
- composeEmptyNode: Nn
2725
+ var Fn = {
2726
+ composeNode: In,
2727
+ composeEmptyNode: Ln
2726
2728
  };
2727
- function Mn(e, t, n, r) {
2729
+ function In(e, t, n, r) {
2728
2730
  let i = e.atKey, { spaceBefore: a, comment: o, anchor: s, tag: c } = n, l, u = !0;
2729
2731
  switch (t.type) {
2730
2732
  case "alias":
2731
- l = Pn(e, t, r), (s || c) && r(t, "ALIAS_PROPS", "An alias node must not specify any properties");
2733
+ l = Rn(e, t, r), (s || c) && r(t, "ALIAS_PROPS", "An alias node must not specify any properties");
2732
2734
  break;
2733
2735
  case "scalar":
2734
2736
  case "single-quoted-scalar":
2735
2737
  case "double-quoted-scalar":
2736
2738
  case "block-scalar":
2737
- l = Dn(e, t, c, r), s && (l.anchor = s.source.substring(1));
2739
+ l = jn(e, t, c, r), s && (l.anchor = s.source.substring(1));
2738
2740
  break;
2739
2741
  case "block-map":
2740
2742
  case "block-seq":
2741
2743
  case "flow-collection":
2742
2744
  try {
2743
- l = hn(jn, e, t, n, r), s && (l.anchor = s.source.substring(1));
2745
+ l = yn(Fn, e, t, n, r), s && (l.anchor = s.source.substring(1));
2744
2746
  } catch (e) {
2745
2747
  r(t, "RESOURCE_EXHAUSTION", e instanceof Error ? e.message : String(e));
2746
2748
  }
2747
2749
  break;
2748
2750
  default: r(t, "UNEXPECTED_TOKEN", t.type === "error" ? t.message : `Unsupported token (type: ${t.type})`), u = !1;
2749
2751
  }
2750
- return l ??= Nn(e, t.offset, void 0, null, n, r), s && l.anchor === "" && r(s, "BAD_ALIAS", "Anchor cannot be an empty string"), i && e.options.stringKeys && (!T(l) || typeof l.value != "string" || l.tag && l.tag !== "tag:yaml.org,2002:str") && r(c ?? t, "NON_STRING_KEY", "With stringKeys, all keys must be strings"), a && (l.spaceBefore = !0), o && (t.type === "scalar" && t.source === "" ? l.comment = o : l.commentBefore = o), e.options.keepSourceTokens && u && (l.srcToken = t), l;
2752
+ return l ??= Ln(e, t.offset, void 0, null, n, r), s && l.anchor === "" && r(s, "BAD_ALIAS", "Anchor cannot be an empty string"), i && e.options.stringKeys && (!O(l) || typeof l.value != "string" || l.tag && l.tag !== "tag:yaml.org,2002:str") && r(c ?? t, "NON_STRING_KEY", "With stringKeys, all keys must be strings"), a && (l.spaceBefore = !0), o && (t.type === "scalar" && t.source === "" ? l.comment = o : l.commentBefore = o), e.options.keepSourceTokens && u && (l.srcToken = t), l;
2751
2753
  }
2752
- function Nn(e, t, n, r, { spaceBefore: i, comment: a, anchor: o, tag: s, end: c }, l) {
2753
- let u = Dn(e, {
2754
+ function Ln(e, t, n, r, { spaceBefore: i, comment: a, anchor: o, tag: s, end: c }, l) {
2755
+ let u = jn(e, {
2754
2756
  type: "scalar",
2755
- offset: An(t, n, r),
2757
+ offset: Pn(t, n, r),
2756
2758
  indent: -1,
2757
2759
  source: ""
2758
2760
  }, s, l);
2759
2761
  return o && (u.anchor = o.source.substring(1), u.anchor === "" && l(o, "BAD_ALIAS", "Anchor cannot be an empty string")), i && (u.spaceBefore = !0), a && (u.comment = a, u.range[2] = c), u;
2760
2762
  }
2761
- function Pn({ options: e }, { offset: t, source: n, end: r }, i) {
2762
- let a = new me(n.substring(1));
2763
+ function Rn({ options: e }, { offset: t, source: n, end: r }, i) {
2764
+ let a = new ge(n.substring(1));
2763
2765
  a.source === "" && i(t, "BAD_ALIAS", "Alias cannot be an empty string"), a.source.endsWith(":") && i(t + n.length - 1, "BAD_ALIAS", "Alias ending in : is ambiguous", !0);
2764
- let o = t + n.length, s = un(r, o, e.strict, i);
2766
+ let o = t + n.length, s = mn(r, o, e.strict, i);
2765
2767
  return a.range = [
2766
2768
  t,
2767
2769
  o,
@@ -2770,14 +2772,14 @@ function Pn({ options: e }, { offset: t, source: n, end: r }, i) {
2770
2772
  }
2771
2773
  //#endregion
2772
2774
  //#region node_modules/yaml/browser/dist/compose/compose-doc.js
2773
- function Fn(e, t, { offset: n, start: r, value: i, end: a }, o) {
2774
- let s = new Qt(void 0, Object.assign({ _directives: t }, e)), c = {
2775
+ function zn(e, t, { offset: n, start: r, value: i, end: a }, o) {
2776
+ let s = new en(void 0, Object.assign({ _directives: t }, e)), c = {
2775
2777
  atKey: !1,
2776
2778
  atRoot: !0,
2777
2779
  directives: s.directives,
2778
2780
  options: s.options,
2779
2781
  schema: s.schema
2780
- }, l = X(r, {
2782
+ }, l = sn(r, {
2781
2783
  indicator: "doc-start",
2782
2784
  next: i ?? a?.[0],
2783
2785
  offset: n,
@@ -2785,8 +2787,8 @@ function Fn(e, t, { offset: n, start: r, value: i, end: a }, o) {
2785
2787
  parentIndent: 0,
2786
2788
  startOnNewline: !0
2787
2789
  });
2788
- l.found && (s.directives.docStart = !0, i && (i.type === "block-map" || i.type === "block-seq") && !l.hasNewline && o(l.end, "MISSING_CHAR", "Block collection cannot start on same line with directives-end marker")), s.contents = i ? Mn(c, i, l, o) : Nn(c, l.end, r, null, l, o);
2789
- let u = s.contents.range[2], d = un(a, u, !1, o);
2790
+ l.found && (s.directives.docStart = !0, i && (i.type === "block-map" || i.type === "block-seq") && !l.hasNewline && o(l.end, "MISSING_CHAR", "Block collection cannot start on same line with directives-end marker")), s.contents = i ? In(c, i, l, o) : Ln(c, l.end, r, null, l, o);
2791
+ let u = s.contents.range[2], d = mn(a, u, !1, o);
2790
2792
  return d.comment && (s.comment = d.comment), s.range = [
2791
2793
  n,
2792
2794
  u,
@@ -2795,13 +2797,13 @@ function Fn(e, t, { offset: n, start: r, value: i, end: a }, o) {
2795
2797
  }
2796
2798
  //#endregion
2797
2799
  //#region node_modules/yaml/browser/dist/compose/composer.js
2798
- function In(e) {
2800
+ function Bn(e) {
2799
2801
  if (typeof e == "number") return [e, e + 1];
2800
2802
  if (Array.isArray(e)) return e.length === 2 ? e : [e[0], e[1]];
2801
2803
  let { offset: t, source: n } = e;
2802
2804
  return [t, t + (typeof n == "string" ? n.length : 1)];
2803
2805
  }
2804
- function Ln(e) {
2806
+ function Vn(e) {
2805
2807
  let t = "", n = !1, r = !1;
2806
2808
  for (let i = 0; i < e.length; ++i) {
2807
2809
  let a = e[i];
@@ -2820,22 +2822,22 @@ function Ln(e) {
2820
2822
  afterEmptyLine: r
2821
2823
  };
2822
2824
  }
2823
- var Rn = class {
2825
+ var Hn = class {
2824
2826
  constructor(e = {}) {
2825
2827
  this.doc = null, this.atDirectives = !1, this.prelude = [], this.errors = [], this.warnings = [], this.onError = (e, t, n, r) => {
2826
- let i = In(e);
2827
- r ? this.warnings.push(new tn(i, t, n)) : this.errors.push(new en(i, t, n));
2828
- }, this.directives = new N({ version: e.version || "1.2" }), this.options = e;
2828
+ let i = Bn(e);
2829
+ r ? this.warnings.push(new an(i, t, n)) : this.errors.push(new rn(i, t, n));
2830
+ }, this.directives = new I({ version: e.version || "1.2" }), this.options = e;
2829
2831
  }
2830
2832
  decorate(e, t) {
2831
- let { comment: n, afterEmptyLine: r } = Ln(this.prelude);
2833
+ let { comment: n, afterEmptyLine: r } = Vn(this.prelude);
2832
2834
  if (n) {
2833
2835
  let i = e.contents;
2834
2836
  if (t) e.comment = e.comment ? `${e.comment}\n${n}` : n;
2835
2837
  else if (r || e.directives.docStart || !i) e.commentBefore = n;
2836
- else if (E(i) && !i.flow && i.items.length > 0) {
2838
+ else if (k(i) && !i.flow && i.items.length > 0) {
2837
2839
  let e = i.items[0];
2838
- w(e) && (e = e.key);
2840
+ D(e) && (e = e.key);
2839
2841
  let t = e.commentBefore;
2840
2842
  e.commentBefore = t ? `${n}\n${t}` : n;
2841
2843
  } else {
@@ -2847,7 +2849,7 @@ var Rn = class {
2847
2849
  }
2848
2850
  streamInfo() {
2849
2851
  return {
2850
- comment: Ln(this.prelude).comment,
2852
+ comment: Vn(this.prelude).comment,
2851
2853
  directives: this.directives,
2852
2854
  errors: this.errors,
2853
2855
  warnings: this.warnings
@@ -2861,12 +2863,12 @@ var Rn = class {
2861
2863
  switch (e.type) {
2862
2864
  case "directive":
2863
2865
  this.directives.add(e.source, (t, n, r) => {
2864
- let i = In(e);
2866
+ let i = Bn(e);
2865
2867
  i[0] += t, this.onError(i, "BAD_DIRECTIVE", n, r);
2866
2868
  }), this.prelude.push(e.source), this.atDirectives = !0;
2867
2869
  break;
2868
2870
  case "document": {
2869
- let t = Fn(this.options, this.directives, e, this.onError);
2871
+ let t = zn(this.options, this.directives, e, this.onError);
2870
2872
  this.atDirectives && !t.directives.docStart && this.onError(e, "MISSING_CHAR", "Missing directives-end/doc-start indicator line"), this.decorate(t, !1), this.doc && (yield this.doc), this.doc = t, this.atDirectives = !1;
2871
2873
  break;
2872
2874
  }
@@ -2877,17 +2879,17 @@ var Rn = class {
2877
2879
  this.prelude.push(e.source);
2878
2880
  break;
2879
2881
  case "error": {
2880
- let t = e.source ? `${e.message}: ${JSON.stringify(e.source)}` : e.message, n = new en(In(e), "UNEXPECTED_TOKEN", t);
2882
+ let t = e.source ? `${e.message}: ${JSON.stringify(e.source)}` : e.message, n = new rn(Bn(e), "UNEXPECTED_TOKEN", t);
2881
2883
  this.atDirectives || !this.doc ? this.errors.push(n) : this.doc.errors.push(n);
2882
2884
  break;
2883
2885
  }
2884
2886
  case "doc-end": {
2885
2887
  if (!this.doc) {
2886
- this.errors.push(new en(In(e), "UNEXPECTED_TOKEN", "Unexpected doc-end without preceding document"));
2888
+ this.errors.push(new rn(Bn(e), "UNEXPECTED_TOKEN", "Unexpected doc-end without preceding document"));
2887
2889
  break;
2888
2890
  }
2889
2891
  this.doc.directives.docEnd = !0;
2890
- let t = un(e.end, e.offset + e.source.length, this.doc.options.strict, this.onError);
2892
+ let t = mn(e.end, e.offset + e.source.length, this.doc.options.strict, this.onError);
2891
2893
  if (this.decorate(this.doc, !0), t.comment) {
2892
2894
  let e = this.doc.comment;
2893
2895
  this.doc.comment = e ? `${e}\n${t.comment}` : t.comment;
@@ -2895,13 +2897,13 @@ var Rn = class {
2895
2897
  this.doc.range[2] = t.offset;
2896
2898
  break;
2897
2899
  }
2898
- default: this.errors.push(new en(In(e), "UNEXPECTED_TOKEN", `Unsupported token ${e.type}`));
2900
+ default: this.errors.push(new rn(Bn(e), "UNEXPECTED_TOKEN", `Unsupported token ${e.type}`));
2899
2901
  }
2900
2902
  }
2901
2903
  *end(e = !1, t = -1) {
2902
2904
  if (this.doc) this.decorate(this.doc, !0), yield this.doc, this.doc = null;
2903
2905
  else if (e) {
2904
- let e = new Qt(void 0, Object.assign({ _directives: this.directives }, this.options));
2906
+ let e = new en(void 0, Object.assign({ _directives: this.directives }, this.options));
2905
2907
  this.atDirectives && this.onError(t, "MISSING_CHAR", "Missing directives-end indicator line"), e.range = [
2906
2908
  0,
2907
2909
  t,
@@ -2909,14 +2911,14 @@ var Rn = class {
2909
2911
  ], this.decorate(e, !1), yield e;
2910
2912
  }
2911
2913
  }
2912
- }, zn = Symbol("break visit"), Bn = Symbol("skip children"), Vn = Symbol("remove item");
2913
- function Z(e, t) {
2914
+ }, Un = Symbol("break visit"), Wn = Symbol("skip children"), Gn = Symbol("remove item");
2915
+ function Kn(e, t) {
2914
2916
  "type" in e && e.type === "document" && (e = {
2915
2917
  start: e.start,
2916
2918
  value: e.value
2917
- }), Hn(Object.freeze([]), e, t);
2919
+ }), qn(Object.freeze([]), e, t);
2918
2920
  }
2919
- Z.BREAK = zn, Z.SKIP = Bn, Z.REMOVE = Vn, Z.itemAtPath = (e, t) => {
2921
+ Kn.BREAK = Un, Kn.SKIP = Wn, Kn.REMOVE = Gn, Kn.itemAtPath = (e, t) => {
2920
2922
  let n = e;
2921
2923
  for (let [e, r] of t) {
2922
2924
  let t = n?.[e];
@@ -2924,29 +2926,29 @@ Z.BREAK = zn, Z.SKIP = Bn, Z.REMOVE = Vn, Z.itemAtPath = (e, t) => {
2924
2926
  else return;
2925
2927
  }
2926
2928
  return n;
2927
- }, Z.parentCollection = (e, t) => {
2928
- let n = Z.itemAtPath(e, t.slice(0, -1)), r = t[t.length - 1][0], i = n?.[r];
2929
+ }, Kn.parentCollection = (e, t) => {
2930
+ let n = Kn.itemAtPath(e, t.slice(0, -1)), r = t[t.length - 1][0], i = n?.[r];
2929
2931
  if (i && "items" in i) return i;
2930
2932
  throw Error("Parent collection not found");
2931
2933
  };
2932
- function Hn(e, t, n) {
2934
+ function qn(e, t, n) {
2933
2935
  let r = n(t, e);
2934
2936
  if (typeof r == "symbol") return r;
2935
2937
  for (let i of ["key", "value"]) {
2936
2938
  let a = t[i];
2937
2939
  if (a && "items" in a) {
2938
2940
  for (let t = 0; t < a.items.length; ++t) {
2939
- let r = Hn(Object.freeze(e.concat([[i, t]])), a.items[t], n);
2941
+ let r = qn(Object.freeze(e.concat([[i, t]])), a.items[t], n);
2940
2942
  if (typeof r == "number") t = r - 1;
2941
- else if (r === zn) return zn;
2942
- else r === Vn && (a.items.splice(t, 1), --t);
2943
+ else if (r === Un) return Un;
2944
+ else r === Gn && (a.items.splice(t, 1), --t);
2943
2945
  }
2944
2946
  typeof r == "function" && i === "key" && (r = r(t, e));
2945
2947
  }
2946
2948
  }
2947
2949
  return typeof r == "function" ? r(t, e) : r;
2948
2950
  }
2949
- function Un(e) {
2951
+ function Jn(e) {
2950
2952
  switch (e) {
2951
2953
  case "": return "byte-order-mark";
2952
2954
  case "": return "doc-mode";
@@ -2993,7 +2995,7 @@ function Q(e) {
2993
2995
  default: return !1;
2994
2996
  }
2995
2997
  }
2996
- var Wn = /* @__PURE__ */ new Set("0123456789ABCDEFabcdef"), Gn = /* @__PURE__ */ new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"), Kn = /* @__PURE__ */ new Set(",[]{}"), qn = /* @__PURE__ */ new Set(" ,[]{}\n\r "), Jn = (e) => !e || qn.has(e), Yn = class {
2998
+ var Yn = /* @__PURE__ */ new Set("0123456789ABCDEFabcdef"), Xn = /* @__PURE__ */ new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"), Zn = /* @__PURE__ */ new Set(",[]{}"), Qn = /* @__PURE__ */ new Set(" ,[]{}\n\r "), $n = (e) => !e || Qn.has(e), er = class {
2997
2999
  constructor() {
2998
3000
  this.atEnd = !1, this.blockScalarIndent = -1, this.blockScalarKeep = !1, this.buffer = "", this.flowKey = !1, this.flowLevel = 0, this.indentNext = 0, this.indentValue = 0, this.lineEndPos = null, this.next = null, this.pos = 0;
2999
3001
  }
@@ -3113,7 +3115,7 @@ var Wn = /* @__PURE__ */ new Set("0123456789ABCDEFabcdef"), Gn = /* @__PURE__ */
3113
3115
  case "[": return yield* this.pushCount(1), this.flowKey = !1, this.flowLevel = 1, "flow";
3114
3116
  case "}":
3115
3117
  case "]": return yield* this.pushCount(1), "doc";
3116
- case "*": return yield* this.pushUntil(Jn), "doc";
3118
+ case "*": return yield* this.pushUntil($n), "doc";
3117
3119
  case "\"":
3118
3120
  case "'": return yield* this.parseQuotedScalar();
3119
3121
  case "|":
@@ -3138,7 +3140,7 @@ var Wn = /* @__PURE__ */ new Set("0123456789ABCDEFabcdef"), Gn = /* @__PURE__ */
3138
3140
  case "[": return yield* this.pushCount(1), this.flowKey = !1, this.flowLevel += 1, "flow";
3139
3141
  case "}":
3140
3142
  case "]": return yield* this.pushCount(1), this.flowKey = !0, --this.flowLevel, this.flowLevel ? "flow" : "doc";
3141
- case "*": return yield* this.pushUntil(Jn), "flow";
3143
+ case "*": return yield* this.pushUntil($n), "flow";
3142
3144
  case "\"":
3143
3145
  case "'": return this.flowKey = !0, yield* this.parseQuotedScalar();
3144
3146
  case ":": {
@@ -3231,18 +3233,18 @@ var Wn = /* @__PURE__ */ new Set("0123456789ABCDEFabcdef"), Gn = /* @__PURE__ */
3231
3233
  let e = this.flowLevel > 0, t = this.pos - 1, n = this.pos - 1, r;
3232
3234
  for (; r = this.buffer[++n];) if (r === ":") {
3233
3235
  let r = this.buffer[n + 1];
3234
- if (Q(r) || e && Kn.has(r)) break;
3236
+ if (Q(r) || e && Zn.has(r)) break;
3235
3237
  t = n;
3236
3238
  } else if (Q(r)) {
3237
3239
  let i = this.buffer[n + 1];
3238
- if (r === "\r" && (i === "\n" ? (n += 1, r = "\n", i = this.buffer[n + 1]) : t = n), i === "#" || e && Kn.has(i)) break;
3240
+ if (r === "\r" && (i === "\n" ? (n += 1, r = "\n", i = this.buffer[n + 1]) : t = n), i === "#" || e && Zn.has(i)) break;
3239
3241
  if (r === "\n") {
3240
3242
  let e = this.continueScalar(n + 1);
3241
3243
  if (e === -1) break;
3242
3244
  n = Math.max(n, e - 2);
3243
3245
  }
3244
3246
  } else {
3245
- if (e && Kn.has(r)) break;
3247
+ if (e && Zn.has(r)) break;
3246
3248
  t = n;
3247
3249
  }
3248
3250
  return !r && !this.atEnd ? this.setNext("plain-scalar") : (yield "", yield* this.pushToIndex(t + 1, !0), e ? "flow" : "doc");
@@ -3257,12 +3259,12 @@ var Wn = /* @__PURE__ */ new Set("0123456789ABCDEFabcdef"), Gn = /* @__PURE__ */
3257
3259
  *pushIndicators() {
3258
3260
  switch (this.charAt(0)) {
3259
3261
  case "!": return (yield* this.pushTag()) + (yield* this.pushSpaces(!0)) + (yield* this.pushIndicators());
3260
- case "&": return (yield* this.pushUntil(Jn)) + (yield* this.pushSpaces(!0)) + (yield* this.pushIndicators());
3262
+ case "&": return (yield* this.pushUntil($n)) + (yield* this.pushSpaces(!0)) + (yield* this.pushIndicators());
3261
3263
  case "-":
3262
3264
  case "?":
3263
3265
  case ":": {
3264
3266
  let e = this.flowLevel > 0, t = this.charAt(1);
3265
- if (Q(t) || e && Kn.has(t)) return e ? this.flowKey &&= !1 : this.indentNext = this.indentValue + 1, (yield* this.pushCount(1)) + (yield* this.pushSpaces(!0)) + (yield* this.pushIndicators());
3267
+ if (Q(t) || e && Zn.has(t)) return e ? this.flowKey &&= !1 : this.indentNext = this.indentValue + 1, (yield* this.pushCount(1)) + (yield* this.pushSpaces(!0)) + (yield* this.pushIndicators());
3266
3268
  }
3267
3269
  }
3268
3270
  return 0;
@@ -3274,8 +3276,8 @@ var Wn = /* @__PURE__ */ new Set("0123456789ABCDEFabcdef"), Gn = /* @__PURE__ */
3274
3276
  return yield* this.pushToIndex(t === ">" ? e + 1 : e, !1);
3275
3277
  } else {
3276
3278
  let e = this.pos + 1, t = this.buffer[e];
3277
- for (; t;) if (Gn.has(t)) t = this.buffer[++e];
3278
- else if (t === "%" && Wn.has(this.buffer[e + 1]) && Wn.has(this.buffer[e + 2])) t = this.buffer[e += 3];
3279
+ for (; t;) if (Xn.has(t)) t = this.buffer[++e];
3280
+ else if (t === "%" && Yn.has(this.buffer[e + 1]) && Yn.has(this.buffer[e + 2])) t = this.buffer[e += 3];
3279
3281
  else break;
3280
3282
  return yield* this.pushToIndex(e, !1);
3281
3283
  }
@@ -3297,7 +3299,7 @@ var Wn = /* @__PURE__ */ new Set("0123456789ABCDEFabcdef"), Gn = /* @__PURE__ */
3297
3299
  for (; !e(n);) n = this.buffer[++t];
3298
3300
  return yield* this.pushToIndex(t, !1);
3299
3301
  }
3300
- }, Xn = class {
3302
+ }, tr = class {
3301
3303
  constructor() {
3302
3304
  this.lineStarts = [], this.addNewLine = (e) => this.lineStarts.push(e), this.linePos = (e) => {
3303
3305
  let t = 0, n = this.lineStarts.length;
@@ -3327,7 +3329,7 @@ function $(e, t) {
3327
3329
  for (let n = 0; n < e.length; ++n) if (e[n].type === t) return !0;
3328
3330
  return !1;
3329
3331
  }
3330
- function Zn(e) {
3332
+ function nr(e) {
3331
3333
  for (let t = 0; t < e.length; ++t) switch (e[t].type) {
3332
3334
  case "space":
3333
3335
  case "comment":
@@ -3336,7 +3338,7 @@ function Zn(e) {
3336
3338
  }
3337
3339
  return -1;
3338
3340
  }
3339
- function Qn(e) {
3341
+ function rr(e) {
3340
3342
  switch (e?.type) {
3341
3343
  case "alias":
3342
3344
  case "scalar":
@@ -3346,7 +3348,7 @@ function Qn(e) {
3346
3348
  default: return !1;
3347
3349
  }
3348
3350
  }
3349
- function $n(e) {
3351
+ function ir(e) {
3350
3352
  switch (e.type) {
3351
3353
  case "document": return e.start;
3352
3354
  case "block-map": {
@@ -3358,7 +3360,7 @@ function $n(e) {
3358
3360
  default: return [];
3359
3361
  }
3360
3362
  }
3361
- function er(e) {
3363
+ function ar(e) {
3362
3364
  if (e.length === 0) return [];
3363
3365
  let t = e.length;
3364
3366
  loop: for (; --t >= 0;) switch (e[t].type) {
@@ -3371,12 +3373,12 @@ function er(e) {
3371
3373
  for (; e[++t]?.type === "space";);
3372
3374
  return e.splice(t, e.length);
3373
3375
  }
3374
- function tr(e) {
3375
- if (e.start.type === "flow-seq-start") for (let t of e.items) t.sep && !t.value && !$(t.start, "explicit-key-ind") && !$(t.sep, "map-value-ind") && (t.key && (t.value = t.key), delete t.key, Qn(t.value) ? t.value.end ? Array.prototype.push.apply(t.value.end, t.sep) : t.value.end = t.sep : Array.prototype.push.apply(t.start, t.sep), delete t.sep);
3376
+ function or(e) {
3377
+ if (e.start.type === "flow-seq-start") for (let t of e.items) t.sep && !t.value && !$(t.start, "explicit-key-ind") && !$(t.sep, "map-value-ind") && (t.key && (t.value = t.key), delete t.key, rr(t.value) ? t.value.end ? Array.prototype.push.apply(t.value.end, t.sep) : t.value.end = t.sep : Array.prototype.push.apply(t.start, t.sep), delete t.sep);
3376
3378
  }
3377
- var nr = class {
3379
+ var sr = class {
3378
3380
  constructor(e) {
3379
- this.atNewLine = !0, this.atScalar = !1, this.indent = 0, this.offset = 0, this.onKeyLine = !1, this.stack = [], this.source = "", this.type = "", this.lexer = new Yn(), this.onNewLine = e;
3381
+ this.atNewLine = !0, this.atScalar = !1, this.indent = 0, this.offset = 0, this.onKeyLine = !1, this.stack = [], this.source = "", this.type = "", this.lexer = new er(), this.onNewLine = e;
3380
3382
  }
3381
3383
  *parse(e, t = !1) {
3382
3384
  this.onNewLine && this.offset === 0 && this.onNewLine(0);
@@ -3388,7 +3390,7 @@ var nr = class {
3388
3390
  this.atScalar = !1, yield* this.step(), this.offset += e.length;
3389
3391
  return;
3390
3392
  }
3391
- let t = Un(e);
3393
+ let t = Jn(e);
3392
3394
  if (!t) {
3393
3395
  let t = `Not a YAML token: ${e}`;
3394
3396
  yield* this.pop({
@@ -3471,7 +3473,7 @@ var nr = class {
3471
3473
  else if (this.stack.length === 0) yield t;
3472
3474
  else {
3473
3475
  let e = this.peek(1);
3474
- switch (t.type === "block-scalar" ? t.indent = "indent" in e ? e.indent : 0 : t.type === "flow-collection" && e.type === "document" && (t.indent = 0), t.type === "flow-collection" && tr(t), e.type) {
3476
+ switch (t.type === "block-scalar" ? t.indent = "indent" in e ? e.indent : 0 : t.type === "flow-collection" && e.type === "document" && (t.indent = 0), t.type === "flow-collection" && or(t), e.type) {
3475
3477
  case "document":
3476
3478
  e.value = t;
3477
3479
  break;
@@ -3522,7 +3524,7 @@ var nr = class {
3522
3524
  }
3523
3525
  if ((e.type === "document" || e.type === "block-map" || e.type === "block-seq") && (t.type === "block-map" || t.type === "block-seq")) {
3524
3526
  let n = t.items[t.items.length - 1];
3525
- n && !n.sep && !n.value && n.start.length > 0 && Zn(n.start) === -1 && (t.indent === 0 || n.start.every((e) => e.type !== "comment" || e.indent < t.indent)) && (e.type === "document" ? e.end = n.start : e.items.push({ start: n.start }), t.items.splice(-1, 1));
3527
+ n && !n.sep && !n.value && n.start.length > 0 && nr(n.start) === -1 && (t.indent === 0 || n.start.every((e) => e.type !== "comment" || e.indent < t.indent)) && (e.type === "document" ? e.end = n.start : e.items.push({ start: n.start }), t.items.splice(-1, 1));
3526
3528
  }
3527
3529
  }
3528
3530
  }
@@ -3563,7 +3565,7 @@ var nr = class {
3563
3565
  if (e.value) return yield* this.lineEnd(e);
3564
3566
  switch (this.type) {
3565
3567
  case "doc-start":
3566
- Zn(e.start) === -1 ? e.start.push(this.sourceToken) : (yield* this.pop(), yield* this.step());
3568
+ nr(e.start) === -1 ? e.start.push(this.sourceToken) : (yield* this.pop(), yield* this.step());
3567
3569
  return;
3568
3570
  case "anchor":
3569
3571
  case "tag":
@@ -3583,7 +3585,7 @@ var nr = class {
3583
3585
  }
3584
3586
  *scalar(e) {
3585
3587
  if (this.type === "map-value-ind") {
3586
- let t = er($n(this.peek(2))), n;
3588
+ let t = ar(ir(this.peek(2))), n;
3587
3589
  e.end ? (n = e.end, n.push(this.sourceToken), delete e.end) : n = [this.sourceToken];
3588
3590
  let r = {
3589
3591
  type: "block-map",
@@ -3685,7 +3687,7 @@ var nr = class {
3685
3687
  sep: [this.sourceToken]
3686
3688
  });
3687
3689
  else {
3688
- let e = er(t.start);
3690
+ let e = ar(t.start);
3689
3691
  this.stack.push({
3690
3692
  type: "block-map",
3691
3693
  offset: this.offset,
@@ -3712,8 +3714,8 @@ var nr = class {
3712
3714
  sep: [this.sourceToken]
3713
3715
  }]
3714
3716
  });
3715
- else if (Qn(t.key) && !$(t.sep, "newline")) {
3716
- let e = er(t.start), n = t.key, r = t.sep;
3717
+ else if (rr(t.key) && !$(t.sep, "newline")) {
3718
+ let e = ar(t.start), n = t.key, r = t.sep;
3717
3719
  r.push(this.sourceToken), delete t.key, delete t.sep, this.stack.push({
3718
3720
  type: "block-map",
3719
3721
  offset: this.offset,
@@ -3880,8 +3882,8 @@ var nr = class {
3880
3882
  let t = this.peek(2);
3881
3883
  if (t.type === "block-map" && (this.type === "map-value-ind" && t.indent === e.indent || this.type === "newline" && !t.items[t.items.length - 1].sep)) yield* this.pop(), yield* this.step();
3882
3884
  else if (this.type === "map-value-ind" && t.type !== "flow-collection") {
3883
- let n = er($n(t));
3884
- tr(e);
3885
+ let n = ar(ir(t));
3886
+ or(e);
3885
3887
  let r = e.end.splice(1, e.end.length);
3886
3888
  r.push(this.sourceToken);
3887
3889
  let i = {
@@ -3940,7 +3942,7 @@ var nr = class {
3940
3942
  };
3941
3943
  case "explicit-key-ind": {
3942
3944
  this.onKeyLine = !0;
3943
- let t = er($n(e));
3945
+ let t = ar(ir(e));
3944
3946
  return t.push(this.sourceToken), {
3945
3947
  type: "block-map",
3946
3948
  offset: this.offset,
@@ -3953,7 +3955,7 @@ var nr = class {
3953
3955
  }
3954
3956
  case "map-value-ind": {
3955
3957
  this.onKeyLine = !0;
3956
- let t = er($n(e));
3958
+ let t = ar(ir(e));
3957
3959
  return {
3958
3960
  type: "block-map",
3959
3961
  offset: this.offset,
@@ -3991,34 +3993,34 @@ var nr = class {
3991
3993
  };
3992
3994
  //#endregion
3993
3995
  //#region node_modules/yaml/browser/dist/public-api.js
3994
- function rr(e) {
3996
+ function cr(e) {
3995
3997
  let t = e.prettyErrors !== !1;
3996
3998
  return {
3997
- lineCounter: e.lineCounter || t && new Xn() || null,
3999
+ lineCounter: e.lineCounter || t && new tr() || null,
3998
4000
  prettyErrors: t
3999
4001
  };
4000
4002
  }
4001
- function ir(e, t = {}) {
4002
- let { lineCounter: n, prettyErrors: r } = rr(t), i = new nr(n?.addNewLine), a = new Rn(t), o = null;
4003
+ function lr(e, t = {}) {
4004
+ let { lineCounter: n, prettyErrors: r } = cr(t), i = new sr(n?.addNewLine), a = new Hn(t), o = null;
4003
4005
  for (let t of a.compose(i.parse(e), !0, e.length)) if (!o) o = t;
4004
4006
  else if (o.options.logLevel !== "silent") {
4005
- o.errors.push(new en(t.range.slice(0, 2), "MULTIPLE_DOCS", "Source contains multiple documents; please use YAML.parseAllDocuments()"));
4007
+ o.errors.push(new rn(t.range.slice(0, 2), "MULTIPLE_DOCS", "Source contains multiple documents; please use YAML.parseAllDocuments()"));
4006
4008
  break;
4007
4009
  }
4008
- return r && n && (o.errors.forEach(nn(e, n)), o.warnings.forEach(nn(e, n))), o;
4010
+ return r && n && (o.errors.forEach(on(e, n)), o.warnings.forEach(on(e, n))), o;
4009
4011
  }
4010
- function ar(e, t, n) {
4012
+ function ur(e, t, n) {
4011
4013
  let r;
4012
4014
  typeof t == "function" ? r = t : n === void 0 && t && typeof t == "object" && (n = t);
4013
- let i = ir(e, n);
4015
+ let i = lr(e, n);
4014
4016
  if (!i) return null;
4015
- if (i.warnings.forEach((e) => He(i.options.logLevel, e)), i.errors.length > 0) {
4017
+ if (i.warnings.forEach((e) => We(i.options.logLevel, e)), i.errors.length > 0) {
4016
4018
  if (i.options.logLevel !== "silent") throw i.errors[0];
4017
4019
  i.errors = [];
4018
4020
  }
4019
4021
  return i.toJS(Object.assign({ reviver: r }, n));
4020
4022
  }
4021
- function or(e, t, n) {
4023
+ function dr(e, t, n) {
4022
4024
  let r = null;
4023
4025
  if (typeof t == "function" || Array.isArray(t) ? r = t : n === void 0 && t && (n = t), typeof n == "string" && (n = n.length), typeof n == "number") {
4024
4026
  let e = Math.round(n);
@@ -4028,18 +4030,290 @@ function or(e, t, n) {
4028
4030
  let { keepUndefined: e } = n ?? t ?? {};
4029
4031
  if (!e) return;
4030
4032
  }
4031
- return S(e) && !r ? e.toString(n) : new Qt(e, r, n).toString(n);
4033
+ return E(e) && !r ? e.toString(n) : new en(e, r, n).toString(n);
4032
4034
  }
4033
4035
  //#endregion
4034
- //#region src/plugins/radar-plugin.ts
4035
- var sr = {
4036
+ //#region src/plugins/map-plugin.tsx
4037
+ var fr = (e) => !e || e === "default" ? u.MapPin : u[e.split(/[-_ ]+/).map((e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase()).join("")] || u.MapPin, pr = ({ value: e, attributes: t = {} }) => {
4038
+ let [r, u] = i(null);
4039
+ console.log("MapComponent render");
4040
+ let d = n(() => {
4041
+ try {
4042
+ return ur(e) || {};
4043
+ } catch {
4044
+ return {};
4045
+ }
4046
+ }, [e]), f = parseFloat(d.lat) || 0, p = parseFloat(d.long || d.lng) || 0, m = parseFloat(d.defaultZoom || d.zoom) || 12, h = t.height || (typeof d.height == "number" ? `${d.height}px` : d.height || "400px"), g = t.width || (typeof d.width == "number" ? `${d.width}%` : d.width || "100%"), _ = n(() => {
4047
+ let e = d.marker || d.markers || [], t = [];
4048
+ return Array.isArray(e) ? t = e.length === 0 ? [] : Array.isArray(e[0]) || typeof e[0] == "object" && e[0] !== null || typeof e[0] == "string" && e[0].includes(",") ? e : [e] : e && (t = [e]), t.map((e) => {
4049
+ if (!e) return null;
4050
+ if (typeof e == "string") {
4051
+ let t = e.split(",").map((e) => e.trim());
4052
+ if (t.length < 2) return null;
4053
+ let n = isNaN(parseFloat(t[0]));
4054
+ return {
4055
+ type: n ? t[0] : "default",
4056
+ lat: parseFloat(n ? t[1] : t[0]) || 0,
4057
+ long: parseFloat(n ? t[2] : t[1]) || 0,
4058
+ link: n ? t[3] : t[2]
4059
+ };
4060
+ }
4061
+ if (Array.isArray(e)) {
4062
+ if (e.length < 2) return null;
4063
+ let t = isNaN(parseFloat(String(e[0])));
4064
+ return {
4065
+ type: t ? String(e[0]) : "default",
4066
+ lat: parseFloat(String(t ? e[1] : e[0])) || 0,
4067
+ long: parseFloat(String(t ? e[2] : e[1])) || 0,
4068
+ link: String(t ? e[3] || "" : e[2] || "")
4069
+ };
4070
+ }
4071
+ if (typeof e == "object") {
4072
+ let t = parseFloat(e.lat ?? e.latitude), n = parseFloat(e.long ?? e.lng ?? e.longitude);
4073
+ return isNaN(t) || isNaN(n) ? null : {
4074
+ type: e.type ? String(e.type) : "default",
4075
+ lat: t,
4076
+ long: n,
4077
+ link: e.link ? String(e.link) : void 0,
4078
+ description: e.description ? String(e.description) : void 0
4079
+ };
4080
+ }
4081
+ return null;
4082
+ }).filter((e) => e !== null);
4083
+ }, [d]);
4084
+ return /* @__PURE__ */ a("div", {
4085
+ className: "novelaid-map-container",
4086
+ style: {
4087
+ height: h,
4088
+ width: g,
4089
+ margin: "1.5em 0",
4090
+ borderRadius: "8px",
4091
+ overflow: "hidden",
4092
+ boxShadow: "0 4px 12px rgba(0,0,0,0.1)",
4093
+ border: "1px solid var(--border-color, #ccc)",
4094
+ position: "relative",
4095
+ backgroundColor: "#f0f0f0"
4096
+ },
4097
+ children: /* @__PURE__ */ o(s, {
4098
+ initialViewState: {
4099
+ longitude: p,
4100
+ latitude: f,
4101
+ zoom: m
4102
+ },
4103
+ style: {
4104
+ width: "100%",
4105
+ height: "100%"
4106
+ },
4107
+ mapStyle: {
4108
+ version: 8,
4109
+ sources: { osm: {
4110
+ type: "raster",
4111
+ tiles: ["https://tile.openstreetmap.org/{z}/{x}/{y}.png"],
4112
+ tileSize: 256,
4113
+ attribution: "© OpenStreetMap contributors"
4114
+ } },
4115
+ layers: [{
4116
+ id: "osm",
4117
+ type: "raster",
4118
+ source: "osm"
4119
+ }]
4120
+ },
4121
+ children: [_.map((e, t) => {
4122
+ let n = fr(e.type);
4123
+ return /* @__PURE__ */ a(c, {
4124
+ longitude: e.long,
4125
+ latitude: e.lat,
4126
+ anchor: "bottom",
4127
+ children: /* @__PURE__ */ a("div", {
4128
+ style: {
4129
+ cursor: "pointer",
4130
+ filter: "drop-shadow(0 2px 4px rgba(0,0,0,0.3))",
4131
+ zIndex: 10
4132
+ },
4133
+ onMouseEnter: () => u(e),
4134
+ onMouseLeave: () => u(null),
4135
+ children: /* @__PURE__ */ a(n, {
4136
+ size: 24,
4137
+ color: "#e91e63",
4138
+ fill: "#ffffff"
4139
+ })
4140
+ })
4141
+ }, `marker-${t}-${e.lat}-${e.long}`);
4142
+ }), r && /* @__PURE__ */ a(l, {
4143
+ longitude: r.long,
4144
+ latitude: r.lat,
4145
+ anchor: "bottom",
4146
+ offset: 28,
4147
+ closeButton: !1,
4148
+ closeOnClick: !1,
4149
+ children: /* @__PURE__ */ o("div", {
4150
+ style: {
4151
+ color: "#333",
4152
+ fontSize: "12px",
4153
+ padding: "2px 4px",
4154
+ whiteSpace: "pre-wrap",
4155
+ maxWidth: "200px"
4156
+ },
4157
+ children: [r.description && /* @__PURE__ */ a("div", {
4158
+ style: {
4159
+ fontWeight: "bold",
4160
+ marginBottom: "2px"
4161
+ },
4162
+ children: r.description
4163
+ }), r.link && /* @__PURE__ */ a("div", {
4164
+ style: {
4165
+ fontSize: "11px",
4166
+ color: "#666"
4167
+ },
4168
+ children: r.link
4169
+ })]
4170
+ })
4171
+ })]
4172
+ })
4173
+ }, `${f}-${p}-${m}-${h}-${g}`);
4174
+ }, mr = {
4175
+ name: "map",
4176
+ codeProcessors: [
4177
+ {
4178
+ language: "carto-paw",
4179
+ component: pr
4180
+ },
4181
+ {
4182
+ language: "map",
4183
+ component: pr
4184
+ },
4185
+ {
4186
+ language: "leaflet",
4187
+ component: pr
4188
+ }
4189
+ ]
4190
+ }, hr = null, gr = null, _r = async () => hr || (gr ||= (async () => {
4191
+ try {
4192
+ let { D2: e } = await import("@terrastruct/d2");
4193
+ return hr = new e(), await hr.ready, hr;
4194
+ } catch (e) {
4195
+ throw gr = null, e;
4196
+ }
4197
+ })(), gr), vr = Promise.resolve(), yr = (e) => {
4198
+ if (typeof e == "string") return e;
4199
+ if (!e) return "";
4200
+ if (e instanceof Uint8Array || e.buffer && e.byteLength !== void 0) try {
4201
+ return new TextDecoder().decode(e);
4202
+ } catch {
4203
+ return "Error: Failed to decode D2 binary output";
4204
+ }
4205
+ if (typeof e == "object") {
4206
+ let t = e.contents || e.svg || e.data;
4207
+ if (typeof t == "string") return t;
4208
+ if (t instanceof Uint8Array) return new TextDecoder().decode(t);
4209
+ try {
4210
+ return JSON.stringify(e);
4211
+ } catch {
4212
+ return "Error: D2 returned an un-stringifiable object";
4213
+ }
4214
+ }
4215
+ return String(e);
4216
+ }, br = (e) => {
4217
+ if (e instanceof Error) return e.message;
4218
+ if (typeof e == "string") return e;
4219
+ try {
4220
+ let t = JSON.stringify(e);
4221
+ return t === "{}" && e.toString ? e.toString() : t;
4222
+ } catch {
4223
+ return "Unknown D2 error";
4224
+ }
4225
+ }, xr = {
4226
+ name: "d2",
4227
+ codeProcessors: [{
4228
+ language: "d2",
4229
+ component: ({ value: e, attributes: n = {} }) => {
4230
+ let s = "dark", [c, l] = i(""), [u, d] = i(null), [f, p] = i(!0), m = r(null), { width: h, height: g, pad: _ } = n;
4231
+ return t(() => {
4232
+ let t = !0, n = async () => {
4233
+ e && (p(!0), d(null), vr = vr.catch(() => {}).then(async () => {
4234
+ if (t) try {
4235
+ let n = await _r(), r = await n.compile(e);
4236
+ if (r && r.errors && r.errors.length > 0) throw Error(r.errors[0].message || "D2 Syntax Error");
4237
+ let i = s === "dark" ? 200 : 0, a = {
4238
+ ...r.renderOptions,
4239
+ themeID: i,
4240
+ noXMLTag: !0,
4241
+ pad: _ === void 0 ? 20 : parseInt(String(_), 10)
4242
+ }, o = await n.render(r.diagram, a);
4243
+ if (t) {
4244
+ let e = yr(o);
4245
+ if (!e || e.startsWith("[object Object]")) throw Error("D2 rendering failed to produce a valid SVG string");
4246
+ l(e), p(!1), d(null);
4247
+ }
4248
+ } catch (e) {
4249
+ console.error("D2 rendering failed:", e), t && (d(br(e)), p(!1));
4250
+ }
4251
+ }));
4252
+ }, r = setTimeout(() => {
4253
+ n();
4254
+ }, 300);
4255
+ return () => {
4256
+ t = !1, clearTimeout(r);
4257
+ };
4258
+ }, [e, s]), /* @__PURE__ */ o("div", {
4259
+ className: "d2-container",
4260
+ ref: m,
4261
+ style: {
4262
+ display: "flex",
4263
+ flexDirection: "column",
4264
+ alignItems: "center",
4265
+ margin: "1.5em 0",
4266
+ maxWidth: "100%",
4267
+ overflow: "auto",
4268
+ width: h || "100%",
4269
+ height: g || "auto",
4270
+ minHeight: f ? "100px" : "auto"
4271
+ },
4272
+ children: [
4273
+ /* @__PURE__ */ a("style", { children: "\n .d2-container svg {\n max-width: 100%;\n max-height: 100%;\n height: auto;\n }\n .d2-container svg rect.d2-background {\n fill: none !important;\n }\n " }),
4274
+ f && !u && /* @__PURE__ */ a("div", {
4275
+ style: {
4276
+ padding: "1em",
4277
+ color: "var(--text-muted)"
4278
+ },
4279
+ children: "Rendering D2 diagram..."
4280
+ }),
4281
+ u ? /* @__PURE__ */ o("pre", {
4282
+ className: "d2-error",
4283
+ style: {
4284
+ color: "#f44336",
4285
+ padding: "1em",
4286
+ border: "1px solid #f44336",
4287
+ borderRadius: "4px",
4288
+ maxWidth: "100%",
4289
+ overflow: "auto",
4290
+ whiteSpace: "pre-wrap",
4291
+ wordBreak: "break-all"
4292
+ },
4293
+ children: ["D2 Error: ", u]
4294
+ }) : /* @__PURE__ */ a("div", {
4295
+ dangerouslySetInnerHTML: { __html: c },
4296
+ style: {
4297
+ width: "100%",
4298
+ flex: 1,
4299
+ minHeight: 0,
4300
+ display: "flex",
4301
+ justifyContent: "center",
4302
+ alignItems: "center"
4303
+ }
4304
+ })
4305
+ ]
4306
+ });
4307
+ }
4308
+ }]
4309
+ }, Sr = {
4036
4310
  name: "novelaid-radar",
4037
4311
  codePreprocessors: [{
4038
4312
  languages: ["novelaid-radar", "radar"],
4039
4313
  preprocess: ({ code: e, attributes: t }) => {
4040
4314
  try {
4041
4315
  let n = e.trim().split(/^---$/m).map((e) => e.trim()).filter((e) => e !== ""), r = {}, i = {};
4042
- n.length >= 2 ? (r = ar(n[0]) || {}, i = ar(n[1]) || {}) : n.length === 1 && (i = ar(n[0]) || {});
4316
+ n.length >= 2 ? (r = ur(n[0]) || {}, i = ur(n[1]) || {}) : n.length === 1 && (i = ur(n[0]) || {});
4043
4317
  let a = { ...r }, o = { config: a.config || {} };
4044
4318
  delete a.config, o.config.themeVariables || (o.config.themeVariables = {}), o.config.themeVariables.radar || (o.config.themeVariables.radar = {}), (a.title || a.タイトル) && (o.title = a.title || a.タイトル), delete a.title, delete a.タイトル;
4045
4319
  let s = a.theme || a.テーマ;
@@ -4053,7 +4327,7 @@ var sr = {
4053
4327
  let d = a.name || a.名前 || "";
4054
4328
  delete a.name, delete a.名前, a.最小 !== void 0 && (a.min = a.最小, delete a.最小), a.最大 !== void 0 && (a.max = a.最大, delete a.最大), a.graticule === void 0 && (a.graticule = "polygon"), a.showLegend === void 0 && (a.showLegend = !1);
4055
4329
  let f = "";
4056
- Object.keys(o).length > 0 && (f += `---\n${or(o)}---\n`), f += "radar-beta\n";
4330
+ Object.keys(o).length > 0 && (f += `---\n${dr(o)}---\n`), f += "radar-beta\n";
4057
4331
  let p = Object.keys(i);
4058
4332
  if (p.length > 0) {
4059
4333
  let e = p.map((e, t) => `a${t + 1}["${e}"]`).join(", ");
@@ -4080,10 +4354,10 @@ var sr = {
4080
4354
  }
4081
4355
  }
4082
4356
  }]
4083
- }, cr = class {
4357
+ }, Cr = class {
4084
4358
  registry;
4085
4359
  constructor() {
4086
- this.registry = new o(), this.registry.register(c), this.registry.register(p), this.registry.register(sr);
4360
+ this.registry = new d(), this.registry.register(p), this.registry.register(v), this.registry.register(mr), this.registry.register(xr), this.registry.register(Sr);
4087
4361
  }
4088
4362
  registerPlugin(e) {
4089
4363
  this.registry.register(e);
@@ -4099,28 +4373,28 @@ var sr = {
4099
4373
  getCodeProcessors() {
4100
4374
  return this.registry.getCodeProcessors();
4101
4375
  }
4102
- }, lr = new cr();
4376
+ }, wr = new Cr();
4103
4377
  //#endregion
4104
4378
  //#region src/utils/attribute-parser.ts
4105
- function ur(e) {
4379
+ function Tr(e) {
4106
4380
  return e.replace(/-([a-z])/g, (e) => e[1].toUpperCase());
4107
4381
  }
4108
- function dr(e) {
4382
+ function Er(e) {
4109
4383
  let t = {};
4110
4384
  if (!e) return t;
4111
4385
  let n = e.trim();
4112
4386
  n.startsWith("{") && n.endsWith("}") ? n = n.substring(1, n.length - 1).trim() : n.startsWith("{") && (n = n.substring(1).trim());
4113
4387
  let r = /([a-zA-Z0-9_-]+)(?:=([^"'\r\n\t ,{}]+|"(?:\\"|[^"])*"|'(?:\\'|[^'])*'))?/g, i;
4114
4388
  for (; (i = r.exec(n)) !== null;) {
4115
- let e = i[1], n = i[2], r = ur(e);
4389
+ let e = i[1], n = i[2], r = Tr(e);
4116
4390
  n === void 0 ? t[r] = !0 : ((n.startsWith("\"") && n.endsWith("\"") || n.startsWith("'") && n.endsWith("'")) && (n = n.substring(1, n.length - 1)), (r === "width" || r === "height") && /^\d+$/.test(n) && (n = `${n}px`), t[r] = n);
4117
4391
  }
4118
4392
  return t;
4119
4393
  }
4120
4394
  //#endregion
4121
4395
  //#region src/renderer/NovelaidMarkdown.tsx
4122
- function fr({ src: e, alt: t, filePath: n, title: r }) {
4123
- let a = e, o = t, s, c;
4396
+ function Dr({ src: e, alt: t, filePath: n, title: r }) {
4397
+ let i = e, o = t, s, c;
4124
4398
  if (o && o.includes("|")) {
4125
4399
  let e = o.lastIndexOf("|"), t = o.substring(e + 1).trim();
4126
4400
  if (/^\d+$/.test(t)) s = parseInt(t, 10), o = o.substring(0, e);
@@ -4130,20 +4404,20 @@ function fr({ src: e, alt: t, filePath: n, title: r }) {
4130
4404
  }
4131
4405
  }
4132
4406
  if (e && !e.startsWith("http") && !e.startsWith("data:") && !e.startsWith("nvfs:") && n) try {
4133
- let t = decodeURIComponent(e), r = t.startsWith("/") || /^[a-zA-Z]:/.test(t), i = t;
4134
- r || (i = `${n.replace(/[\\/][^\\/]+$/, "")}${n.includes("\\") ? "\\" : "/"}${t}`), a = `nvfs://local/${i.replace(/\\/g, "/").split("/").map((e) => encodeURIComponent(e)).join("/")}`;
4407
+ let t = decodeURIComponent(e), r = t.startsWith("/") || /^[a-zA-Z]:/.test(t), a = t;
4408
+ r || (a = `${n.replace(/[\\/][^\\/]+$/, "")}${n.includes("\\") ? "\\" : "/"}${t}`), i = `nvfs://local/${a.replace(/\\/g, "/").split("/").map((e) => encodeURIComponent(e)).join("/")}`;
4135
4409
  } catch (e) {
4136
4410
  console.error("Failed to resolve image path synchronously:", e);
4137
4411
  }
4138
- return /* @__PURE__ */ i("img", {
4139
- src: a,
4412
+ return /* @__PURE__ */ a("img", {
4413
+ src: i,
4140
4414
  alt: o,
4141
4415
  title: r,
4142
4416
  width: s,
4143
4417
  height: c
4144
4418
  });
4145
4419
  }
4146
- var pr = class extends e.Component {
4420
+ var Or = class extends e.Component {
4147
4421
  constructor(e) {
4148
4422
  super(e), this.state = { hasError: !1 };
4149
4423
  }
@@ -4154,7 +4428,7 @@ var pr = class extends e.Component {
4154
4428
  console.group("Markdown Rendering Error"), console.log(t), console.error("Error:", e), console.error("File Path:", this.props.filePath), console.groupCollapsed("Original Content"), console.log(this.props.content), console.groupEnd(), console.groupEnd();
4155
4429
  }
4156
4430
  render() {
4157
- return this.state.hasError ? /* @__PURE__ */ a("div", {
4431
+ return this.state.hasError ? /* @__PURE__ */ o("div", {
4158
4432
  className: "markdown-error-state",
4159
4433
  style: {
4160
4434
  padding: "20px",
@@ -4162,27 +4436,27 @@ var pr = class extends e.Component {
4162
4436
  backgroundColor: "rgba(244, 67, 54, 0.1)",
4163
4437
  borderRadius: "4px"
4164
4438
  },
4165
- children: [/* @__PURE__ */ i("h3", { children: "Markdown Rendering Error" }), /* @__PURE__ */ i("p", { children: "プレビューのレンダリング中にエラーが発生しました。詳細は開発者ツールのコンソールを確認してください。" })]
4439
+ children: [/* @__PURE__ */ a("h3", { children: "Markdown Rendering Error" }), /* @__PURE__ */ a("p", { children: "プレビューのレンダリング中にエラーが発生しました。詳細は開発者ツールのコンソールを確認してください。" })]
4166
4440
  }) : this.props.children;
4167
4441
  }
4168
4442
  };
4169
- function mr({ content: e, filePath: a, className: o = "", onLinkClick: s }) {
4170
- let [c, l] = r(null), [u, d] = r(null), [f, p] = r(null);
4443
+ function kr({ content: e, filePath: r, className: o = "", onLinkClick: s }) {
4444
+ let [c, l] = i(null), [u, d] = i(null), [f, p] = i(null);
4171
4445
  t(() => {
4172
4446
  Promise.all([
4173
- import("./react-markdown-CwHVAeQi.js"),
4174
- import("./remark-gfm-D_QtAzOA.js"),
4175
- import("./rehype-raw-CbJS4QeP.js")
4447
+ import("react-markdown"),
4448
+ import("./remark-gfm-CrckygoG.js"),
4449
+ import("./rehype-raw-D3WO4vJ5.js")
4176
4450
  ]).then(([e, t, n]) => (l(() => e.default), d(() => t.default), p(() => n.default), null)).catch((e) => {
4177
4451
  console.error("Failed to load markdown modules:", e);
4178
4452
  });
4179
4453
  }, []);
4180
4454
  let m = n(() => ({
4181
- img: (e) => /* @__PURE__ */ i(fr, {
4455
+ img: (e) => /* @__PURE__ */ a(Dr, {
4182
4456
  ...e,
4183
- filePath: a
4457
+ filePath: r
4184
4458
  }),
4185
- a: (e) => /* @__PURE__ */ i("a", {
4459
+ a: (e) => /* @__PURE__ */ a("a", {
4186
4460
  ...e,
4187
4461
  onClick: (t) => {
4188
4462
  s && e.href && (t.preventDefault(), s(e.href, { newTab: !1 }));
@@ -4192,12 +4466,12 @@ function mr({ content: e, filePath: a, className: o = "", onLinkClick: s }) {
4192
4466
  }
4193
4467
  }),
4194
4468
  code: (e) => {
4195
- let { children: t, className: n, node: r, ...a } = e, o = /language-([^ \n\r\t]+)/.exec(n || ""), s = o ? o[1] : void 0, c = s, l = r?.meta || "";
4469
+ let { children: t, className: n, node: r, ...i } = e, o = /language-([^ \n\r\t]+)/.exec(n || ""), s = o ? o[1] : void 0, c = s, l = r?.meta || "";
4196
4470
  if (s && s.includes("{")) {
4197
4471
  let e = s.indexOf("{");
4198
4472
  c = s.substring(0, e), l ||= s.substring(e);
4199
4473
  }
4200
- let u = dr(l), d = c || "", f = String(t).replace(/\n$/, ""), p = { ...u }, m = lr.getCodePreprocessors();
4474
+ let u = Er(l), d = c || "", f = String(t).replace(/\n$/, ""), p = { ...u }, m = wr.getCodePreprocessors();
4201
4475
  for (let e of m) if (e.languages.includes(d) || e.languages.includes("*")) {
4202
4476
  let t = e.preprocess({
4203
4477
  language: d,
@@ -4206,31 +4480,31 @@ function mr({ content: e, filePath: a, className: o = "", onLinkClick: s }) {
4206
4480
  });
4207
4481
  d = t.language, f = t.code, p = t.attributes;
4208
4482
  }
4209
- let h = lr.getCodeProcessors().find((e) => e.language === d);
4483
+ let h = wr.getCodeProcessors().find((e) => e.language === d);
4210
4484
  if (h) {
4211
4485
  let e = h.component;
4212
- return /* @__PURE__ */ i(e, {
4486
+ return /* @__PURE__ */ a(e, {
4213
4487
  value: f,
4214
4488
  language: d,
4215
4489
  attributes: p,
4216
- ...a
4490
+ ...i
4217
4491
  }, f);
4218
4492
  }
4219
- return /* @__PURE__ */ i("code", {
4493
+ return /* @__PURE__ */ a("code", {
4220
4494
  className: n,
4221
- ...a,
4495
+ ...i,
4222
4496
  children: t
4223
4497
  });
4224
4498
  }
4225
- }), [a, s]);
4226
- if (!c || !u || !f) return /* @__PURE__ */ i("div", { children: "Loading preview..." });
4227
- let h = lr.preprocess(e);
4228
- return /* @__PURE__ */ i("div", {
4499
+ }), [r, s]);
4500
+ if (!c || !u || !f) return /* @__PURE__ */ a("div", { children: "Loading preview..." });
4501
+ let h = wr.preprocess(e);
4502
+ return /* @__PURE__ */ a("div", {
4229
4503
  className: o,
4230
- children: /* @__PURE__ */ i(pr, {
4504
+ children: /* @__PURE__ */ a(Or, {
4231
4505
  content: h,
4232
- filePath: a,
4233
- children: /* @__PURE__ */ i(c, {
4506
+ filePath: r,
4507
+ children: /* @__PURE__ */ a(c, {
4234
4508
  remarkPlugins: [u],
4235
4509
  rehypePlugins: [f],
4236
4510
  components: m,
@@ -4240,4 +4514,4 @@ function mr({ content: e, filePath: a, className: o = "", onLinkClick: s }) {
4240
4514
  });
4241
4515
  }
4242
4516
  //#endregion
4243
- export { mr as NovelaidMarkdown, cr as NovelaidMarkdownProcessor, lr as defaultProcessor };
4517
+ export { kr as NovelaidMarkdown, Cr as NovelaidMarkdownProcessor, wr as defaultProcessor };