vitepress-openapi 0.0.3-alpha.76 → 0.0.3-alpha.77

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.
@@ -1,7 +1,7 @@
1
1
  var Io = Object.defineProperty;
2
2
  var No = (e, t, n) => t in e ? Io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var J = (e, t, n) => No(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { toRef as Uo, readonly as Rt, customRef as Zn, ref as B, onMounted as er, nextTick as Lt, getCurrentInstance as Ze, toValue as V, watch as ge, getCurrentScope as tr, onScopeDispose as _o, onBeforeUnmount as Ho, shallowRef as Te, watchEffect as nr, effectScope as rr, hasInjectionContext as or, inject as Do, computed as W, unref as et, isRef as ir } from "vue";
4
+ import { toRef as Uo, readonly as Pt, customRef as Xn, ref as B, onMounted as Zn, nextTick as Rt, getCurrentInstance as Ze, toValue as V, watch as ge, getCurrentScope as er, onScopeDispose as _o, onBeforeUnmount as Ho, shallowRef as Te, watchEffect as tr, effectScope as nr, hasInjectionContext as rr, inject as Do, computed as W, unref as et, isRef as or } from "vue";
5
5
  function qe(e) {
6
6
  let t, n, r;
7
7
  if (Array.isArray(e)) {
@@ -67,15 +67,15 @@ function be(e) {
67
67
  return ct(t);
68
68
  }
69
69
  }
70
- const ut = (e) => [e, null], ct = (e) => [null, new Bt(e)];
71
- class Bt extends Error {
70
+ const ut = (e) => [e, null], ct = (e) => [null, new Lt(e)];
71
+ class Lt extends Error {
72
72
  /**
73
73
  * Creates a new error with the given cause.
74
74
  *
75
75
  * @param cause - The cause of the error.
76
76
  */
77
77
  constructor(t) {
78
- super("thrown error", { cause: t }), this.cause = t, Error.captureStackTrace && Error.captureStackTrace(this, Bt);
78
+ super("thrown error", { cause: t }), this.cause = t, Error.captureStackTrace && Error.captureStackTrace(this, Lt);
79
79
  }
80
80
  }
81
81
  /*!
@@ -107,7 +107,7 @@ const Vo = (e = {}, t, n, r) => {
107
107
  if (o in e) i = e[o];
108
108
  else if (!s && !a) return;
109
109
  return i = typeof i == "function" ? i({ key: t, path: n, value: r }) : i, a && (i = Object.assign(Object.assign({}, a), i)), s ? Object.assign(Object.assign({ "/**": e["/**"] }, s), i) : i;
110
- }, ar = (e) => {
110
+ }, ir = (e) => {
111
111
  const t = {}, n = e.reduce((r, o) => (Object.keys(o).forEach((s) => r.add(s)), r), /* @__PURE__ */ new Set());
112
112
  for (const r of n.keys()) {
113
113
  const o = e.filter((s) => r in s);
@@ -115,7 +115,7 @@ const Vo = (e = {}, t, n, r) => {
115
115
  if (r.charAt(0) !== "/") throw new Error(`Cannot merge rules. Duplicate key: ${r}. Rules should not have same Rule key`);
116
116
  t[r] = (s, a) => {
117
117
  const i = o.map((u) => typeof u[r] == "function" ? u[r](s, a) : u[r]);
118
- return ar(i);
118
+ return ir(i);
119
119
  };
120
120
  } else t[r] = o[0][r];
121
121
  }
@@ -123,7 +123,7 @@ const Vo = (e = {}, t, n, r) => {
123
123
  }, te = (e) => typeof e == "object" && e !== null, lt = (e) => Array.isArray(e), Jo = (e, t, n = {}) => {
124
124
  var r, o;
125
125
  t = lt(t) ? t : [t];
126
- const s = lt(n.rules) ? ar(n.rules) : n.rules, a = [{ data: e, state: n.state, path: [], keys: [], keyIndex: -1, rules: s }];
126
+ const s = lt(n.rules) ? ir(n.rules) : n.rules, a = [{ data: e, state: n.state, path: [], keys: [], keyIndex: -1, rules: s }];
127
127
  for (; a.length > 0; ) {
128
128
  const i = a[a.length - 1];
129
129
  if (i.keyIndex >= i.keys.length) {
@@ -162,7 +162,7 @@ const Vo = (e = {}, t, n, r) => {
162
162
  return { value: n, state: Object.assign(Object.assign({}, s), { node: s.node[o] }) };
163
163
  }];
164
164
  };
165
- class sr extends Map {
165
+ class ar extends Map {
166
166
  add(t, n) {
167
167
  const r = this.get(t);
168
168
  return r ? r.push(n) : this.set(t, [n]), this;
@@ -172,53 +172,53 @@ const zo = (e, t) => {
172
172
  const n = {};
173
173
  for (const r of t) r in e && (n[r] = e[r], delete e[r]);
174
174
  return n;
175
- }, ur = (e, t) => {
175
+ }, sr = (e, t) => {
176
176
  if (Array.isArray(e) && Array.isArray(t)) return [...e, ...t];
177
177
  if (te(e) && te(t)) {
178
178
  const n = Object.assign({}, e);
179
- for (const r of Object.keys(t)) n[r] = ur(n[r], t[r]);
179
+ for (const r of Object.keys(t)) n[r] = sr(n[r], t[r]);
180
180
  return n;
181
181
  }
182
182
  return t;
183
- }, Tt = (e) => e && e.$ref && typeof e.$ref == "string", Tn = (e) => e && e.anyOf && Array.isArray(e.anyOf), On = (e) => e && e.oneOf && Array.isArray(e.oneOf), cr = (e, t = "") => {
183
+ }, Tt = (e) => e && e.$ref && typeof e.$ref == "string", vn = (e) => e && e.anyOf && Array.isArray(e.anyOf), Tn = (e) => e && e.oneOf && Array.isArray(e.oneOf), ur = (e, t = "") => {
184
184
  const [n = t, r] = e.split("#"), o = r && r !== "/" ? r : "";
185
- return { filePath: n, pointer: o, normalized: Wo(n, o), jsonPath: dr(o) };
186
- }, Wo = (e, t) => e ? `${e}${t ? "#" + t : ""}` : t ? `#${t}` : "#", lr = (e, t, n = [t]) => {
185
+ return { filePath: n, pointer: o, normalized: Wo(n, o), jsonPath: lr(o) };
186
+ }, Wo = (e, t) => e ? `${e}${t ? "#" + t : ""}` : t ? `#${t}` : "#", cr = (e, t, n = [t]) => {
187
187
  if (!te(e)) return;
188
188
  let r = e;
189
- const o = dr(t);
189
+ const o = lr(t);
190
190
  for (const s of o) if (Array.isArray(r) && r.length > +s) r = r[+s];
191
191
  else if (te(r) && s in r) r = r[s];
192
192
  else {
193
193
  if (!Tt(r)) return;
194
194
  {
195
- const a = cr(r.$ref);
196
- r = a.filePath || n.includes(a.pointer) ? void 0 : lr(e, a.pointer, [...n, a.pointer]);
195
+ const a = ur(r.$ref);
196
+ r = a.filePath || n.includes(a.pointer) ? void 0 : cr(e, a.pointer, [...n, a.pointer]);
197
197
  }
198
198
  }
199
199
  return r;
200
- }, Ve = { slash: /\//g, tilde: /~/g, escapedSlash: /~1/g, escapedTilde: /~0/g }, dr = (e) => e.split("/").map((t) => decodeURIComponent(t.replace(Ve.escapedSlash, "/").replace(Ve.escapedTilde, "~"))).slice(1), It = (e) => e.length ? "/" + e.map((t) => encodeURIComponent(String(t).replace(Ve.tilde, "~0").replace(Ve.slash, "~1"))).join("/") : "", Yo = (e, t) => JSON.stringify(e) == JSON.stringify(t), Ko = (e) => {
200
+ }, Ve = { slash: /\//g, tilde: /~/g, escapedSlash: /~1/g, escapedTilde: /~0/g }, lr = (e) => e.split("/").map((t) => decodeURIComponent(t.replace(Ve.escapedSlash, "/").replace(Ve.escapedTilde, "~"))).slice(1), Bt = (e) => e.length ? "/" + e.map((t) => encodeURIComponent(String(t).replace(Ve.tilde, "~0").replace(Ve.slash, "~1"))).join("/") : "", Yo = (e, t) => JSON.stringify(e) == JSON.stringify(t), Ko = (e) => {
201
201
  let t = 1;
202
202
  for (; e * t % 1 != 0; ) t *= 10;
203
203
  return t;
204
204
  };
205
205
  function Qo(e) {
206
206
  const t = e.reduce((n, r) => Math.max(n, Ko(r)), 0);
207
- return e.reduce((n, r) => Math.round(n * t * r * t / fr(n * t, r * t)) / t);
207
+ return e.reduce((n, r) => Math.round(n * t * r * t / dr(n * t, r * t)) / t);
208
208
  }
209
- function fr(e, t) {
210
- return t === 0 ? e : fr(t, e % t);
209
+ function dr(e, t) {
210
+ return t === 0 ? e : dr(t, e % t);
211
211
  }
212
- const pr = (e) => {
212
+ const fr = (e) => {
213
213
  if (e.length === 0) return [[]];
214
- const t = e[0], n = e.slice(1), r = pr(n), o = [];
214
+ const t = e[0], n = e.slice(1), r = fr(n), o = [];
215
215
  for (const s of t) for (const a of r) o.push([s, ...a]);
216
216
  return o;
217
217
  }, Xo = (e) => {
218
218
  const t = [];
219
219
  for (const n of e) {
220
220
  if (!("properties" in n)) continue;
221
- const r = new Set(Object.keys(n.properties)), o = new sr();
221
+ const r = new Set(Object.keys(n.properties)), o = new ar();
222
222
  for (const a of r.values()) for (const i of e) if (!(i == n || i.properties && a in i.properties)) if ("patternProperties" in i && i.patternProperties) for (const u of Object.keys(i.patternProperties)) new RegExp(u).test(a) || r.delete(a);
223
223
  else "additionalProperties" in i && (i.additionalProperties === !1 ? r.delete(a) : typeof i.additionalProperties == "object" && o.add(a, i.additionalProperties));
224
224
  if (!r.size) continue;
@@ -239,17 +239,17 @@ const pr = (e) => {
239
239
  t.push(o);
240
240
  }
241
241
  return t;
242
- }, wn = (e) => {
243
- const t = {}, n = Nt(e);
242
+ }, On = (e) => {
243
+ const t = {}, n = It(e);
244
244
  for (const [r, o] of Object.entries(n)) o.includes(!1) ? t[r] = !1 : t[r] = o.length > 1 ? { allOf: o } : o[0];
245
245
  return t;
246
- }, ei = (e, t) => !!e.reduce((n, r) => n && r === !0, !0) || Le(e, t), ti = () => "Could not merge values, they are probably incompatible", ni = (e) => `Merge rule not found for key: ${e}`, Nt = (e) => {
246
+ }, ei = (e, t) => !!e.reduce((n, r) => n && r === !0, !0) || Le(e, t), ti = () => "Could not merge values, they are probably incompatible", ni = (e) => `Merge rule not found for key: ${e}`, It = (e) => {
247
247
  const t = {};
248
248
  for (const n of e) for (const r of Object.keys(n)) Array.isArray(t[r]) ? t[r].push(n[r]) : t[r] = [n[r]];
249
249
  return t;
250
250
  }, Le = (e, t) => {
251
251
  if (e.includes(!1)) return !1;
252
- const n = {}, r = Nt(e);
252
+ const n = {}, r = It(e);
253
253
  "properties" in r && (r.properties = Xo(e)), "patternProperties" in r && (r.patternProperties = Zo(e));
254
254
  for (let [o, s] of Object.entries(r)) {
255
255
  if (!s.length) continue;
@@ -262,30 +262,30 @@ const pr = (e) => {
262
262
  c === void 0 ? t.mergeError(s) : n[o] = c;
263
263
  }
264
264
  return Object.keys(n).length ? n : void 0;
265
- }, Y = (e) => e[e.length - 1], de = (e) => e.reduce((t, n) => t || n, !1), we = (e) => Math.min(...e), je = (e) => Math.max(...e), ri = (e) => e.length > 1 ? e.reduce((t, n) => `${t}(?=${n})`, "") : e[0], hr = ([e, ...t]) => t.reduce((n, r) => n.filter((o) => r.includes(o)), e), oi = ([e, ...t]) => t.find((n) => !Yo(n, e)) ? void 0 : e, G = ([e, ...t]) => t.reduce((n, r) => ur(n, r), e), xe = (e) => pr(e).map((t) => ({ allOf: t })), ii = (e) => ({ anyOf: e }), ai = (e) => Qo(e), si = (e, t) => {
266
- const n = e.map((o) => o.map((s) => JSON.stringify(s))), r = hr(n).map((o) => JSON.parse(o)).sort();
265
+ }, Y = (e) => e[e.length - 1], de = (e) => e.reduce((t, n) => t || n, !1), we = (e) => Math.min(...e), je = (e) => Math.max(...e), ri = (e) => e.length > 1 ? e.reduce((t, n) => `${t}(?=${n})`, "") : e[0], pr = ([e, ...t]) => t.reduce((n, r) => n.filter((o) => r.includes(o)), e), oi = ([e, ...t]) => t.find((n) => !Yo(n, e)) ? void 0 : e, G = ([e, ...t]) => t.reduce((n, r) => sr(n, r), e), Ae = (e) => fr(e).map((t) => ({ allOf: t })), ii = (e) => ({ anyOf: e }), ai = (e) => Qo(e), si = (e, t) => {
266
+ const n = e.map((o) => o.map((s) => JSON.stringify(s))), r = pr(n).map((o) => JSON.parse(o)).sort();
267
267
  return r.length || t.mergeError(e), r;
268
268
  }, ui = (e, t) => {
269
- const n = e.map((o) => Array.isArray(o) ? o : [o]), r = hr(n);
269
+ const n = e.map((o) => Array.isArray(o) ? o : [o]), r = pr(n);
270
270
  return r.length === 1 ? r[0] : r.length ? r : void 0;
271
- }, gr = (e) => {
271
+ }, hr = (e) => {
272
272
  const t = /* @__PURE__ */ new Set();
273
273
  for (const n of e) for (const r of n) t.add(r);
274
274
  return Array.from(t).sort();
275
275
  }, ci = (e, t) => {
276
- const n = {}, r = Nt(e);
276
+ const n = {}, r = It(e);
277
277
  for (const [o, s] of Object.entries(r))
278
- if (s.reduce((a, i) => a && Array.isArray(i), !0)) n[o] = gr(s);
278
+ if (s.reduce((a, i) => a && Array.isArray(i), !0)) n[o] = hr(s);
279
279
  else {
280
280
  const a = s.map((i) => Array.isArray(i) ? { required: i } : i);
281
281
  n[o] = a.length > 1 ? { allOf: a } : a[0];
282
282
  }
283
283
  return n;
284
- }, mr = (e, t) => {
284
+ }, gr = (e, t) => {
285
285
  if (!e.reduce((u, c) => Array.isArray(c) || u, !1)) return Le(e, t);
286
286
  const n = [];
287
287
  let r = 1 / 0, o = 0;
288
- const s = new sr();
288
+ const s = new ar();
289
289
  for (const u of t.allOfItems) "additionalItems" in u && u.additionalItems && "items" in u && Array.isArray(u.items) && s.add(u.items.length, u.additionalItems), "items" in u && (n.push(u.items), Array.isArray(u.items) && (o = Math.max(o, u.items.length), "additionalItems" in u && u.additionalItems === !1 && (r = Math.min(r, u.items.length))));
290
290
  const a = Math.min(o, r), i = [...Array(a)].map(() => ({ allOf: [] }));
291
291
  for (const u of n) if (Array.isArray(u)) for (let c = 0; c < a; c++) {
@@ -299,27 +299,27 @@ const pr = (e) => {
299
299
  const n = [], r = [];
300
300
  for (const o of t.allOfItems) "items" in o && !Array.isArray(o.items) && r.push(o.items), "additionalItems" in o && "items" in o && Array.isArray(o.items) && n.push(o.additionalItems);
301
301
  return r.length && n.forEach((o) => o.allOf = r), Le(n, t);
302
- }, H = (e = "draft-06", t = {}) => Object.assign(Object.assign(Object.assign(Object.assign({ "/maximum": { $: we }, "/exclusiveMaximum": { $: de }, "/minimum": { $: je }, "/exclusiveMinimum": { $: de }, "/maxLength": { $: we }, "/minLength": { $: je }, "/maxItems": { $: we }, "/minItems": { $: je }, "/uniqueItems": { $: de }, "/maxProperties": { $: we }, "/minProperties": { $: je }, "/required": { $: gr }, "/multipleOf": { $: ai }, "/enum": { $: si }, "/type": { $: ui }, "/allOf": { "/*": () => H(e, t), $: xe }, "/not": { $: ii }, "/oneOf": { "/*": () => H(e, t), $: xe, sibling: ["definitions", "$defs", "$id", "$schema"] }, "/anyOf": { "/*": () => H(e, t), $: xe, sibling: ["definitions", "$defs", "$id", "$schema"] }, "/properties": { "/*": () => H(e, t), $: wn }, "/items": () => Object.assign(Object.assign({}, H(e, t)), { $: mr, "/*": ({ key: n }) => typeof n == "number" ? H(e, t) : {} }), "/additionalProperties": () => Object.assign(Object.assign({}, H(e, t)), { $: ei }), "/additionalItems": () => Object.assign(Object.assign({}, H(e, t)), { $: li }), "/patternProperties": { "/*": () => H(e, t), $: wn }, "/pattern": { $: ri }, "/readOnly": { $: de }, "/writeOnly": { $: de }, "/example": { $: G }, "/examples": { $: G }, "/deprecated": { $: de } }, e !== "draft-04" ? { "/propertyNames": () => H(e, t), "/contains": () => H(e, t), "/dependencies": { "/*": () => H(e, t), $: ci }, "/const": { $: oi }, "/exclusiveMaximum": { $: we }, "/exclusiveMinimum": { $: je }, "/$defs": { "/*": () => H(e, t), $: G } } : {}), { "/definitions": { "/*": () => H(e, t), $: G }, "/xml": { $: G }, "/externalDocs": { $: Y }, "/description": { $: Y }, "/title": { $: Y }, "/format": { $: Y }, "/default": { $: Y }, "/?": { $: Y } }), t), { $: Le }), Ae = (e) => H(e, { "/discriminator": { $: G }, "/oneOf": { "/*": () => Ae(e), $: xe, sibling: ["discriminator"] }, "/anyOf": { "/*": () => Ae(e), $: xe, sibling: ["discriminator"] } }), tt = (e) => e === "3.0.x" ? Object.assign(Object.assign({}, Ae("draft-04")), { "/items": ({ key: t }) => Object.assign(Object.assign({}, Ae("draft-04")), { $: mr }) }) : Ae("draft-06"), pe = (e) => ({ "/*": { "/schema": tt(e) } }), jn = (e) => ({ "/content": { "/*": { "/schema": tt(e), "/encoding": { "/headers": pe(e) } } } }), En = (e) => ({ "/*": { "/headers": pe(e), "/content": { "/*": { "/schema": tt(e), "/encoding": { "/headers": pe(e) } } } } }), di = (e = "3.0.x") => ({ "/paths": { "/*": { "/*": { "/parameters": pe(e), "/requestBody": jn(e), "/responses": En(e) }, "/parameters": pe(e) } }, "/components": { "/schemas": { "/*": tt(e) }, "/responses": En(e), "/parameters": pe(e), "/requestBodies": { "/*": jn(e) }, "/headers": pe(e) } }), fe = H("draft-06", { "/args": () => fe, "/nullable": { $: de }, "/specifiedByURL": { $: Y }, "/values": { $: G, "/*": { $: G, "/description": { $: Y }, "/deprecated": { $: Y, "/reason": { $: Y } } } }, "/interfaces": { $: G, "/*": { $: G } }, "/directives": { $: G, "/*": () => Object.assign(Object.assign({}, fe), { "/meta": { $: G } }) } }), fi = { "/queries": { "/*": () => fe }, "/mutations": { "/*": () => fe }, "/subscriptions": { "/*": () => fe }, "/components": { "/*": { "/*": fe }, "/directives": { "/*": { "/args": () => fe } } } }, _e = (e, t, n) => {
302
+ }, H = (e = "draft-06", t = {}) => Object.assign(Object.assign(Object.assign(Object.assign({ "/maximum": { $: we }, "/exclusiveMaximum": { $: de }, "/minimum": { $: je }, "/exclusiveMinimum": { $: de }, "/maxLength": { $: we }, "/minLength": { $: je }, "/maxItems": { $: we }, "/minItems": { $: je }, "/uniqueItems": { $: de }, "/maxProperties": { $: we }, "/minProperties": { $: je }, "/required": { $: hr }, "/multipleOf": { $: ai }, "/enum": { $: si }, "/type": { $: ui }, "/allOf": { "/*": () => H(e, t), $: Ae }, "/not": { $: ii }, "/oneOf": { "/*": () => H(e, t), $: Ae, sibling: ["definitions", "$defs", "$id", "$schema"] }, "/anyOf": { "/*": () => H(e, t), $: Ae, sibling: ["definitions", "$defs", "$id", "$schema"] }, "/properties": { "/*": () => H(e, t), $: On }, "/items": () => Object.assign(Object.assign({}, H(e, t)), { $: gr, "/*": ({ key: n }) => typeof n == "number" ? H(e, t) : {} }), "/additionalProperties": () => Object.assign(Object.assign({}, H(e, t)), { $: ei }), "/additionalItems": () => Object.assign(Object.assign({}, H(e, t)), { $: li }), "/patternProperties": { "/*": () => H(e, t), $: On }, "/pattern": { $: ri }, "/readOnly": { $: de }, "/writeOnly": { $: de }, "/example": { $: G }, "/examples": { $: G }, "/deprecated": { $: de } }, e !== "draft-04" ? { "/propertyNames": () => H(e, t), "/contains": () => H(e, t), "/dependencies": { "/*": () => H(e, t), $: ci }, "/const": { $: oi }, "/exclusiveMaximum": { $: we }, "/exclusiveMinimum": { $: je }, "/$defs": { "/*": () => H(e, t), $: G } } : {}), { "/definitions": { "/*": () => H(e, t), $: G }, "/xml": { $: G }, "/externalDocs": { $: Y }, "/description": { $: Y }, "/title": { $: Y }, "/format": { $: Y }, "/default": { $: Y }, "/?": { $: Y } }), t), { $: Le }), xe = (e) => H(e, { "/discriminator": { $: G }, "/oneOf": { "/*": () => xe(e), $: Ae, sibling: ["discriminator"] }, "/anyOf": { "/*": () => xe(e), $: Ae, sibling: ["discriminator"] } }), tt = (e) => e === "3.0.x" ? Object.assign(Object.assign({}, xe("draft-04")), { "/items": ({ key: t }) => Object.assign(Object.assign({}, xe("draft-04")), { $: gr }) }) : xe("draft-06"), pe = (e) => ({ "/*": { "/schema": tt(e) } }), wn = (e) => ({ "/content": { "/*": { "/schema": tt(e), "/encoding": { "/headers": pe(e) } } } }), jn = (e) => ({ "/*": { "/headers": pe(e), "/content": { "/*": { "/schema": tt(e), "/encoding": { "/headers": pe(e) } } } } }), di = (e = "3.0.x") => ({ "/paths": { "/*": { "/*": { "/parameters": pe(e), "/requestBody": wn(e), "/responses": jn(e) }, "/parameters": pe(e) } }, "/components": { "/schemas": { "/*": tt(e) }, "/responses": jn(e), "/parameters": pe(e), "/requestBodies": { "/*": wn(e) }, "/headers": pe(e) } }), fe = H("draft-06", { "/args": () => fe, "/nullable": { $: de }, "/specifiedByURL": { $: Y }, "/values": { $: G, "/*": { $: G, "/description": { $: Y }, "/deprecated": { $: Y, "/reason": { $: Y } } } }, "/interfaces": { $: G, "/*": { $: G } }, "/directives": { $: G, "/*": () => Object.assign(Object.assign({}, fe), { "/meta": { $: G } }) } }), fi = { "/queries": { "/*": () => fe }, "/mutations": { "/*": () => fe }, "/subscriptions": { "/*": () => fe }, "/components": { "/*": { "/*": fe }, "/directives": { "/*": { "/args": () => fe } } } }, _e = (e, t, n) => {
303
303
  const r = n.sibling || [], o = e, s = t, a = o[s], i = Pe(o, [typeof s == "symbol" ? s : s + ""]), u = zo(i, r);
304
304
  return Object.keys(i).length ? Object.assign({ [t]: a.map((c) => ({ allOf: [i, c] })) }, u) : e;
305
- }, br = (e, t, n, r) => {
306
- const o = [], s = It(t), a = [], i = { pointer: s, data: "", refs: [] };
305
+ }, mr = (e, t, n, r) => {
306
+ const o = [], s = Bt(t), a = [], i = { pointer: s, data: "", refs: [] };
307
307
  for (const c of e) if (Tt(c) && !a.includes(c.$ref)) {
308
308
  i.data === "" && (i.data = JSON.stringify(e));
309
- const { $ref: d } = c, f = Pe(c, ["$ref"]), { filePath: h, normalized: p, pointer: g } = cr(d), y = r.find((S) => S.refs.includes(c.$ref) && S.data === i.data && g !== S.pointer);
309
+ const { $ref: d } = c, f = Pe(c, ["$ref"]), { filePath: h, normalized: p, pointer: g } = ur(d), y = r.find((S) => S.refs.includes(c.$ref) && S.data === i.data && g !== S.pointer);
310
310
  if (y) return { allOfItems: [{ $ref: "#" + y.pointer }], brokenRefs: a };
311
311
  i.refs.push(p);
312
- const m = h ? void 0 : lr(n, g);
312
+ const m = h ? void 0 : cr(n, g);
313
313
  m === void 0 ? (a.push(p), o.push(c)) : o.push(m), Object.keys(f).length && o.push(f);
314
314
  } else o.push(c);
315
315
  i.refs.length && r.push(i);
316
- const u = yr(o);
317
- return u.find((c) => Tt(c) && !a.includes(c.$ref)) ? br(u, t, n, r) : { allOfItems: u, brokenRefs: a };
318
- }, yr = (e) => {
316
+ const u = br(o);
317
+ return u.find((c) => Tt(c) && !a.includes(c.$ref)) ? mr(u, t, n, r) : { allOfItems: u, brokenRefs: a };
318
+ }, br = (e) => {
319
319
  const t = [];
320
320
  for (const n of e) if (te(n)) if (n.allOf && Array.isArray(n.allOf)) {
321
321
  const { allOf: r } = n, o = Pe(n, ["allOf"]), s = Object.keys(o).length ? [...r, o] : r;
322
- t.push(...yr(s));
322
+ t.push(...br(s));
323
323
  } else t.push(n);
324
324
  return t;
325
325
  }, pi = (e) => {
@@ -349,10 +349,10 @@ const pr = (e) => {
349
349
  const T = mi(a);
350
350
  T ? t.set(...T) : ($ = e == null ? void 0 : e.onMergeError) === null || $ === void 0 || $.call(e, ti(), a, S);
351
351
  }, d = () => {
352
- const { node: S } = u, $ = It(a);
352
+ const { node: S } = u, $ = Bt(a);
353
353
  if (t.has($)) {
354
- const T = t.get($), A = S[s];
355
- Array.isArray(A) && (A.length < 2 && c((o == null ? void 0 : o.allOf) || []), A.splice(T, 1));
354
+ const T = t.get($), x = S[s];
355
+ Array.isArray(x) && (x.length < 2 && c((o == null ? void 0 : o.allOf) || []), x.splice(T, 1));
356
356
  }
357
357
  };
358
358
  if (!te(o) || Array.isArray(o)) return { exitHook: d };
@@ -363,24 +363,24 @@ const pr = (e) => {
363
363
  const { $ref: S } = h, $ = Pe(h, ["$ref"]);
364
364
  if (e != null && e.mergeRefSibling && S && Object.keys($).length > 0) p.push({ $ref: S }, $);
365
365
  else if (e != null && e.mergeCombinarySibling) {
366
- if (Tn(h) && i["/anyOf"]) return { value: _e(h, "anyOf", i["/anyOf"]), exitHook: d };
367
- if (On(h) && i["/oneOf"]) return { value: _e(h, "oneOf", i["/oneOf"]), exitHook: d };
366
+ if (vn(h) && i["/anyOf"]) return { value: _e(h, "anyOf", i["/anyOf"]), exitHook: d };
367
+ if (Tn(h) && i["/oneOf"]) return { value: _e(h, "oneOf", i["/oneOf"]), exitHook: d };
368
368
  }
369
369
  }
370
370
  if (!p.length) return { value: h, exitHook: d };
371
- const { allOfItems: g, brokenRefs: y } = br(p, a, n, r);
371
+ const { allOfItems: g, brokenRefs: y } = mr(p, a, n, r);
372
372
  if (y.length) return y.forEach((S) => {
373
373
  var $;
374
374
  return ($ = e == null ? void 0 : e.onRefResolveError) === null || $ === void 0 ? void 0 : $.call(e, "Cannot resolve $ref", a, S);
375
375
  }), { value: { allOf: g }, exitHook: d };
376
376
  if (g.length < 2) return { value: g.length ? g[0] : {}, exitHook: d };
377
377
  const m = Le(g, { allOfItems: g, mergeRules: i, mergeError: c });
378
- return e != null && e.mergeCombinarySibling && Tn(m) ? { value: _e(m, "anyOf", i["/anyOf"]), exitHook: d } : e != null && e.mergeCombinarySibling && On(m) ? { value: _e(m, "oneOf", i["/oneOf"]), exitHook: d } : { value: m, exitHook: d };
378
+ return e != null && e.mergeCombinarySibling && vn(m) ? { value: _e(m, "anyOf", i["/anyOf"]), exitHook: d } : e != null && e.mergeCombinarySibling && Tn(m) ? { value: _e(m, "oneOf", i["/oneOf"]), exitHook: d } : { value: m, exitHook: d };
379
379
  };
380
380
  }, mi = (e) => {
381
381
  for (let t = e.length - 2; t >= 0; t--) if (e[t] === "anyOf" || e[t] === "oneOf") {
382
382
  const n = e.slice(0, t + 1);
383
- return [It(n), e[t + 1]];
383
+ return [Bt(n), e[t + 1]];
384
384
  }
385
385
  }, bi = Symbol.for("__confbox_fmt__"), yi = /^(\s+)/, Si = /(\s+)$/;
386
386
  function $i(e, t = {}) {
@@ -392,14 +392,14 @@ function ki(e, t, n) {
392
392
  !t || typeof t != "object" || Object.defineProperty(t, bi, { enumerable: !1, configurable: !0, writable: !0, value: $i(e, n) });
393
393
  }
394
394
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
395
- function Sr(e) {
395
+ function yr(e) {
396
396
  return typeof e > "u" || e === null;
397
397
  }
398
398
  function vi(e) {
399
399
  return typeof e == "object" && e !== null;
400
400
  }
401
401
  function Ti(e) {
402
- return Array.isArray(e) ? e : Sr(e) ? [] : [e];
402
+ return Array.isArray(e) ? e : yr(e) ? [] : [e];
403
403
  }
404
404
  function Oi(e, t) {
405
405
  var n, r, o, s;
@@ -414,18 +414,18 @@ function wi(e, t) {
414
414
  function ji(e) {
415
415
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
416
416
  }
417
- var Ei = Sr, Ci = vi, xi = Ti, Ai = wi, Pi = ji, Ri = Oi, q = { isNothing: Ei, isObject: Ci, toArray: xi, repeat: Ai, isNegativeZero: Pi, extend: Ri };
418
- function $r(e, t) {
417
+ var Ei = yr, Ci = vi, Ai = Ti, xi = wi, Pi = ji, Ri = Oi, q = { isNothing: Ei, isObject: Ci, toArray: Ai, repeat: xi, isNegativeZero: Pi, extend: Ri };
418
+ function Sr(e, t) {
419
419
  var n = "", r = e.reason || "(unknown reason)";
420
420
  return e.mark ? (e.mark.name && (n += 'in "' + e.mark.name + '" '), n += "(" + (e.mark.line + 1) + ":" + (e.mark.column + 1) + ")", !t && e.mark.snippet && (n += `
421
421
 
422
422
  ` + e.mark.snippet), r + " " + n) : r;
423
423
  }
424
424
  function Ce(e, t) {
425
- Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = $r(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
425
+ Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = Sr(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
426
426
  }
427
427
  Ce.prototype = Object.create(Error.prototype), Ce.prototype.constructor = Ce, Ce.prototype.toString = function(e) {
428
- return this.name + ": " + $r(this, e);
428
+ return this.name + ": " + Sr(this, e);
429
429
  };
430
430
  var Z = Ce;
431
431
  function dt(e, t, n, r, o) {
@@ -468,7 +468,7 @@ function _i(e, t) {
468
468
  }, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases = Ui(t.styleAliases || null), Ni.indexOf(this.kind) === -1) throw new Z('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
469
469
  }
470
470
  var D = _i;
471
- function Cn(e, t) {
471
+ function En(e, t) {
472
472
  var n = [];
473
473
  return e[t].forEach(function(r) {
474
474
  var o = n.length;
@@ -502,7 +502,7 @@ Ot.prototype.extend = function(e) {
502
502
  if (!(o instanceof D)) throw new Z("Specified list of YAML types (or a single Type object) contains a non-Type object.");
503
503
  });
504
504
  var r = Object.create(Ot.prototype);
505
- return r.implicit = (this.implicit || []).concat(t), r.explicit = (this.explicit || []).concat(n), r.compiledImplicit = Cn(r, "implicit"), r.compiledExplicit = Cn(r, "explicit"), r.compiledTypeMap = Hi(r.compiledImplicit, r.compiledExplicit), r;
505
+ return r.implicit = (this.implicit || []).concat(t), r.explicit = (this.explicit || []).concat(n), r.compiledImplicit = En(r, "implicit"), r.compiledExplicit = En(r, "explicit"), r.compiledTypeMap = Hi(r.compiledImplicit, r.compiledExplicit), r;
506
506
  };
507
507
  var Di = Ot, Fi = new D("tag:yaml.org,2002:str", { kind: "scalar", construct: function(e) {
508
508
  return e !== null ? e : "";
@@ -657,13 +657,13 @@ function la(e, t) {
657
657
  function da(e) {
658
658
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || q.isNegativeZero(e));
659
659
  }
660
- var fa = new D("tag:yaml.org,2002:float", { kind: "scalar", resolve: sa, construct: ua, predicate: da, represent: la, defaultStyle: "lowercase" }), pa = Vi.extend({ implicit: [Wi, Xi, ia, fa] }), ha = pa, kr = new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), vr = new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
660
+ var fa = new D("tag:yaml.org,2002:float", { kind: "scalar", resolve: sa, construct: ua, predicate: da, represent: la, defaultStyle: "lowercase" }), pa = Vi.extend({ implicit: [Wi, Xi, ia, fa] }), ha = pa, $r = new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), kr = new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
661
661
  function ga(e) {
662
- return e === null ? !1 : kr.exec(e) !== null || vr.exec(e) !== null;
662
+ return e === null ? !1 : $r.exec(e) !== null || kr.exec(e) !== null;
663
663
  }
664
664
  function ma(e) {
665
665
  var t, n, r, o, s, a, i, u = 0, c = null, d, f, h;
666
- if (t = kr.exec(e), t === null && (t = vr.exec(e)), t === null) throw new Error("Date resolve error");
666
+ if (t = $r.exec(e), t === null && (t = kr.exec(e)), t === null) throw new Error("Date resolve error");
667
667
  if (n = +t[1], r = +t[2] - 1, o = +t[3], !t[4]) return new Date(Date.UTC(n, r, o));
668
668
  if (s = +t[4], a = +t[5], i = +t[6], t[7]) {
669
669
  for (u = t[7].slice(0, 3); u.length < 3; ) u += "0";
@@ -678,11 +678,11 @@ var ya = new D("tag:yaml.org,2002:timestamp", { kind: "scalar", resolve: ga, con
678
678
  function Sa(e) {
679
679
  return e === "<<" || e === null;
680
680
  }
681
- var $a = new D("tag:yaml.org,2002:merge", { kind: "scalar", resolve: Sa }), Ut = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
681
+ var $a = new D("tag:yaml.org,2002:merge", { kind: "scalar", resolve: Sa }), Nt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
682
682
  \r`;
683
683
  function ka(e) {
684
684
  if (e === null) return !1;
685
- var t, n, r = 0, o = e.length, s = Ut;
685
+ var t, n, r = 0, o = e.length, s = Nt;
686
686
  for (n = 0; n < o; n++) if (t = s.indexOf(e.charAt(n)), !(t > 64)) {
687
687
  if (t < 0) return !1;
688
688
  r += 6;
@@ -690,12 +690,12 @@ function ka(e) {
690
690
  return r % 8 === 0;
691
691
  }
692
692
  function va(e) {
693
- var t, n, r = e.replace(/[\r\n=]/g, ""), o = r.length, s = Ut, a = 0, i = [];
693
+ var t, n, r = e.replace(/[\r\n=]/g, ""), o = r.length, s = Nt, a = 0, i = [];
694
694
  for (t = 0; t < o; t++) t % 4 === 0 && t && (i.push(a >> 16 & 255), i.push(a >> 8 & 255), i.push(a & 255)), a = a << 6 | s.indexOf(r.charAt(t));
695
695
  return n = o % 4 * 6, n === 0 ? (i.push(a >> 16 & 255), i.push(a >> 8 & 255), i.push(a & 255)) : n === 18 ? (i.push(a >> 10 & 255), i.push(a >> 2 & 255)) : n === 12 && i.push(a >> 4 & 255), new Uint8Array(i);
696
696
  }
697
697
  function Ta(e) {
698
- var t = "", n = 0, r, o, s = e.length, a = Ut;
698
+ var t = "", n = 0, r, o, s = e.length, a = Nt;
699
699
  for (r = 0; r < s; r++) r % 3 === 0 && r && (t += a[n >> 18 & 63], t += a[n >> 12 & 63], t += a[n >> 6 & 63], t += a[n & 63]), n = (n << 8) + e[r];
700
700
  return o = s % 3, o === 0 ? (t += a[n >> 18 & 63], t += a[n >> 12 & 63], t += a[n >> 6 & 63], t += a[n & 63]) : o === 2 ? (t += a[n >> 10 & 63], t += a[n >> 4 & 63], t += a[n << 2 & 63], t += a[64]) : o === 1 && (t += a[n >> 2 & 63], t += a[n << 4 & 63], t += a[64], t += a[64]), t;
701
701
  }
@@ -716,10 +716,10 @@ function Ca(e) {
716
716
  }
717
717
  return !0;
718
718
  }
719
- function xa(e) {
719
+ function Aa(e) {
720
720
  return e !== null ? e : [];
721
721
  }
722
- var Aa = new D("tag:yaml.org,2002:omap", { kind: "sequence", resolve: Ca, construct: xa }), Pa = Object.prototype.toString;
722
+ var xa = new D("tag:yaml.org,2002:omap", { kind: "sequence", resolve: Ca, construct: Aa }), Pa = Object.prototype.toString;
723
723
  function Ra(e) {
724
724
  if (e === null) return !0;
725
725
  var t, n, r, o, s, a = e;
@@ -745,7 +745,7 @@ function Na(e) {
745
745
  function Ua(e) {
746
746
  return e !== null ? e : {};
747
747
  }
748
- var _a = new D("tag:yaml.org,2002:set", { kind: "mapping", resolve: Na, construct: Ua }), Ha = ha.extend({ implicit: [ya, $a], explicit: [wa, Aa, Ba, _a] }), ae = Object.prototype.hasOwnProperty, Je = 1, Tr = 2, Or = 3, Ge = 4, pt = 1, Da = 2, xn = 3, Fa = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, qa = /[\x85\u2028\u2029]/, Ma = /[,\[\]\{\}]/, wr = /^(?:!|!!|![a-z\-]+!)$/i, jr = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
748
+ var _a = new D("tag:yaml.org,2002:set", { kind: "mapping", resolve: Na, construct: Ua }), Ha = ha.extend({ implicit: [ya, $a], explicit: [wa, xa, Ba, _a] }), ae = Object.prototype.hasOwnProperty, Je = 1, vr = 2, Tr = 3, Ge = 4, pt = 1, Da = 2, Cn = 3, Fa = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, qa = /[\x85\u2028\u2029]/, Ma = /[,\[\]\{\}]/, Or = /^(?:!|!!|![a-z\-]+!)$/i, wr = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
749
749
  function An(e) {
750
750
  return Object.prototype.toString.call(e);
751
751
  }
@@ -771,33 +771,33 @@ function Ja(e) {
771
771
  function Ga(e) {
772
772
  return 48 <= e && e <= 57 ? e - 48 : -1;
773
773
  }
774
- function Pn(e) {
774
+ function xn(e) {
775
775
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
776
776
  ` : e === 118 ? "\v" : e === 102 ? "\f" : e === 114 ? "\r" : e === 101 ? "\x1B" : e === 32 ? " " : e === 34 ? '"' : e === 47 ? "/" : e === 92 ? "\\" : e === 78 ? "…" : e === 95 ? " " : e === 76 ? "\u2028" : e === 80 ? "\u2029" : "";
777
777
  }
778
778
  function za(e) {
779
779
  return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode((e - 65536 >> 10) + 55296, (e - 65536 & 1023) + 56320);
780
780
  }
781
- for (var Er = new Array(256), Cr = new Array(256), ye = 0; ye < 256; ye++) Er[ye] = Pn(ye) ? 1 : 0, Cr[ye] = Pn(ye);
781
+ for (var jr = new Array(256), Er = new Array(256), ye = 0; ye < 256; ye++) jr[ye] = xn(ye) ? 1 : 0, Er[ye] = xn(ye);
782
782
  function Wa(e, t) {
783
783
  this.input = e, this.filename = t.filename || null, this.schema = t.schema || Ha, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
784
784
  }
785
- function xr(e, t) {
785
+ function Cr(e, t) {
786
786
  var n = { name: e.filename, buffer: e.input.slice(0, -1), position: e.position, line: e.line, column: e.position - e.lineStart };
787
787
  return n.snippet = Bi(n), new Z(t, n);
788
788
  }
789
789
  function j(e, t) {
790
- throw xr(e, t);
790
+ throw Cr(e, t);
791
791
  }
792
792
  function ze(e, t) {
793
- e.onWarning && e.onWarning.call(null, xr(e, t));
793
+ e.onWarning && e.onWarning.call(null, Cr(e, t));
794
794
  }
795
- var Rn = { YAML: function(e, t, n) {
795
+ var Pn = { YAML: function(e, t, n) {
796
796
  var r, o, s;
797
797
  e.version !== null && j(e, "duplication of %YAML directive"), n.length !== 1 && j(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), r === null && j(e, "ill-formed argument of the YAML directive"), o = parseInt(r[1], 10), s = parseInt(r[2], 10), o !== 1 && j(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = s < 2, s !== 1 && s !== 2 && ze(e, "unsupported YAML version of the document");
798
798
  }, TAG: function(e, t, n) {
799
799
  var r, o;
800
- n.length !== 2 && j(e, "TAG directive accepts exactly two arguments"), r = n[0], o = n[1], wr.test(r) || j(e, "ill-formed tag handle (first argument) of the TAG directive"), ae.call(e.tagMap, r) && j(e, 'there is a previously declared suffix for "' + r + '" tag handle'), jr.test(o) || j(e, "ill-formed tag prefix (second argument) of the TAG directive");
800
+ n.length !== 2 && j(e, "TAG directive accepts exactly two arguments"), r = n[0], o = n[1], Or.test(r) || j(e, "ill-formed tag handle (first argument) of the TAG directive"), ae.call(e.tagMap, r) && j(e, 'there is a previously declared suffix for "' + r + '" tag handle'), wr.test(o) || j(e, "ill-formed tag prefix (second argument) of the TAG directive");
801
801
  try {
802
802
  o = decodeURIComponent(o);
803
803
  } catch {
@@ -813,19 +813,19 @@ function ie(e, t, n, r) {
813
813
  e.result += i;
814
814
  }
815
815
  }
816
- function Ln(e, t, n, r) {
816
+ function Rn(e, t, n, r) {
817
817
  var o, s, a, i;
818
818
  for (q.isObject(n) || j(e, "cannot merge mappings; the provided source object is unacceptable"), o = Object.keys(n), a = 0, i = o.length; a < i; a += 1) s = o[a], ae.call(t, s) || (t[s] = n[s], r[s] = !0);
819
819
  }
820
820
  function ve(e, t, n, r, o, s, a, i, u) {
821
821
  var c, d;
822
822
  if (Array.isArray(o)) for (o = Array.prototype.slice.call(o), c = 0, d = o.length; c < d; c += 1) Array.isArray(o[c]) && j(e, "nested arrays are not supported inside keys"), typeof o == "object" && An(o[c]) === "[object Object]" && (o[c] = "[object Object]");
823
- if (typeof o == "object" && An(o) === "[object Object]" && (o = "[object Object]"), o = String(o), t === null && (t = {}), r === "tag:yaml.org,2002:merge") if (Array.isArray(s)) for (c = 0, d = s.length; c < d; c += 1) Ln(e, t, s[c], n);
824
- else Ln(e, t, s, n);
823
+ if (typeof o == "object" && An(o) === "[object Object]" && (o = "[object Object]"), o = String(o), t === null && (t = {}), r === "tag:yaml.org,2002:merge") if (Array.isArray(s)) for (c = 0, d = s.length; c < d; c += 1) Rn(e, t, s[c], n);
824
+ else Rn(e, t, s, n);
825
825
  else !e.json && !ae.call(n, o) && ae.call(t, o) && (e.line = a || e.line, e.lineStart = i || e.lineStart, e.position = u || e.position, j(e, "duplicated mapping key")), o === "__proto__" ? Object.defineProperty(t, o, { configurable: !0, enumerable: !0, writable: !0, value: s }) : t[o] = s, delete n[o];
826
826
  return t;
827
827
  }
828
- function _t(e) {
828
+ function Ut(e) {
829
829
  var t;
830
830
  t = e.input.charCodeAt(e.position), t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : j(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
831
831
  }
@@ -835,7 +835,7 @@ function _(e, t, n) {
835
835
  if (t && o === 35) do
836
836
  o = e.input.charCodeAt(++e.position);
837
837
  while (o !== 10 && o !== 13 && o !== 0);
838
- if (Q(o)) for (_t(e), o = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; o === 32; ) e.lineIndent++, o = e.input.charCodeAt(++e.position);
838
+ if (Q(o)) for (Ut(e), o = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; o === 32; ) e.lineIndent++, o = e.input.charCodeAt(++e.position);
839
839
  else break;
840
840
  }
841
841
  return n !== -1 && r !== 0 && e.lineIndent < n && ze(e, "deficient indentation"), r;
@@ -844,7 +844,7 @@ function nt(e) {
844
844
  var t = e.position, n;
845
845
  return n = e.input.charCodeAt(t), !!((n === 45 || n === 46) && n === e.input.charCodeAt(t + 1) && n === e.input.charCodeAt(t + 2) && (t += 3, n = e.input.charCodeAt(t), n === 0 || M(n)));
846
846
  }
847
- function Ht(e, t) {
847
+ function _t(e, t) {
848
848
  t === 1 ? e.result += " " : t > 1 && (e.result += q.repeat(`
849
849
  `, t - 1));
850
850
  }
@@ -866,7 +866,7 @@ function Ya(e, t, n) {
866
866
  break;
867
867
  }
868
868
  }
869
- i && (ie(e, s, a, !1), Ht(e, e.line - u), s = a = e.position, i = !1), he(p) || (a = e.position + 1), p = e.input.charCodeAt(++e.position);
869
+ i && (ie(e, s, a, !1), _t(e, e.line - u), s = a = e.position, i = !1), he(p) || (a = e.position + 1), p = e.input.charCodeAt(++e.position);
870
870
  }
871
871
  return ie(e, s, a, !1), e.result ? !0 : (e.kind = f, e.result = h, !1);
872
872
  }
@@ -875,7 +875,7 @@ function Ka(e, t) {
875
875
  if (n = e.input.charCodeAt(e.position), n !== 39) return !1;
876
876
  for (e.kind = "scalar", e.result = "", e.position++, r = o = e.position; (n = e.input.charCodeAt(e.position)) !== 0; ) if (n === 39) if (ie(e, r, e.position, !0), n = e.input.charCodeAt(++e.position), n === 39) r = e.position, e.position++, o = e.position;
877
877
  else return !0;
878
- else Q(n) ? (ie(e, r, o, !0), Ht(e, _(e, !1, t)), r = o = e.position) : e.position === e.lineStart && nt(e) ? j(e, "unexpected end of the document within a single quoted scalar") : (e.position++, o = e.position);
878
+ else Q(n) ? (ie(e, r, o, !0), _t(e, _(e, !1, t)), r = o = e.position) : e.position === e.lineStart && nt(e) ? j(e, "unexpected end of the document within a single quoted scalar") : (e.position++, o = e.position);
879
879
  j(e, "unexpected end of the stream within a single quoted scalar");
880
880
  }
881
881
  function Qa(e, t) {
@@ -885,13 +885,13 @@ function Qa(e, t) {
885
885
  if (i === 34) return ie(e, n, e.position, !0), e.position++, !0;
886
886
  if (i === 92) {
887
887
  if (ie(e, n, e.position, !0), i = e.input.charCodeAt(++e.position), Q(i)) _(e, !1, t);
888
- else if (i < 256 && Er[i]) e.result += Cr[i], e.position++;
888
+ else if (i < 256 && jr[i]) e.result += Er[i], e.position++;
889
889
  else if ((a = Ja(i)) > 0) {
890
890
  for (o = a, s = 0; o > 0; o--) i = e.input.charCodeAt(++e.position), (a = Va(i)) >= 0 ? s = (s << 4) + a : j(e, "expected hexadecimal character");
891
891
  e.result += za(s), e.position++;
892
892
  } else j(e, "unknown escape sequence");
893
893
  n = r = e.position;
894
- } else Q(i) ? (ie(e, n, r, !0), Ht(e, _(e, !1, t)), n = r = e.position) : e.position === e.lineStart && nt(e) ? j(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
894
+ } else Q(i) ? (ie(e, n, r, !0), _t(e, _(e, !1, t)), n = r = e.position) : e.position === e.lineStart && nt(e) ? j(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
895
895
  }
896
896
  j(e, "unexpected end of the stream within a double quoted scalar");
897
897
  }
@@ -911,7 +911,7 @@ function Za(e, t) {
911
911
  if (f = e.input.charCodeAt(e.position), f === 124) r = !1;
912
912
  else if (f === 62) r = !0;
913
913
  else return !1;
914
- for (e.kind = "scalar", e.result = ""; f !== 0; ) if (f = e.input.charCodeAt(++e.position), f === 43 || f === 45) pt === o ? o = f === 43 ? xn : Da : j(e, "repeat of a chomping mode identifier");
914
+ for (e.kind = "scalar", e.result = ""; f !== 0; ) if (f = e.input.charCodeAt(++e.position), f === 43 || f === 45) pt === o ? o = f === 43 ? Cn : Da : j(e, "repeat of a chomping mode identifier");
915
915
  else if ((d = Ga(f)) >= 0) d === 0 ? j(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : a ? j(e, "repeat of an indentation width identifier") : (i = t + d - 1, a = !0);
916
916
  else break;
917
917
  if (he(f)) {
@@ -923,13 +923,13 @@ function Za(e, t) {
923
923
  while (!Q(f) && f !== 0);
924
924
  }
925
925
  for (; f !== 0; ) {
926
- for (_t(e), e.lineIndent = 0, f = e.input.charCodeAt(e.position); (!a || e.lineIndent < i) && f === 32; ) e.lineIndent++, f = e.input.charCodeAt(++e.position);
926
+ for (Ut(e), e.lineIndent = 0, f = e.input.charCodeAt(e.position); (!a || e.lineIndent < i) && f === 32; ) e.lineIndent++, f = e.input.charCodeAt(++e.position);
927
927
  if (!a && e.lineIndent > i && (i = e.lineIndent), Q(f)) {
928
928
  u++;
929
929
  continue;
930
930
  }
931
931
  if (e.lineIndent < i) {
932
- o === xn ? e.result += q.repeat(`
932
+ o === Cn ? e.result += q.repeat(`
933
933
  `, s ? 1 + u : u) : o === pt && s && (e.result += `
934
934
  `);
935
935
  break;
@@ -943,7 +943,7 @@ function Za(e, t) {
943
943
  }
944
944
  return !0;
945
945
  }
946
- function Bn(e, t) {
946
+ function Ln(e, t) {
947
947
  var n, r = e.tag, o = e.anchor, s = [], a, i = !1, u;
948
948
  if (e.firstTabInLine !== -1) return !1;
949
949
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), u = e.input.charCodeAt(e.position); u !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, j(e, "tab characters must not be used in indentation")), !(u !== 45 || (a = e.input.charCodeAt(e.position + 1), !M(a)))); ) {
@@ -951,7 +951,7 @@ function Bn(e, t) {
951
951
  s.push(null), u = e.input.charCodeAt(e.position);
952
952
  continue;
953
953
  }
954
- if (n = e.line, Oe(e, t, Or, !1, !0), s.push(e.result), _(e, !0, -1), u = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && u !== 0) j(e, "bad indentation of a sequence entry");
954
+ if (n = e.line, Oe(e, t, Tr, !1, !0), s.push(e.result), _(e, !0, -1), u = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && u !== 0) j(e, "bad indentation of a sequence entry");
955
955
  else if (e.lineIndent < t) break;
956
956
  }
957
957
  return i ? (e.tag = r, e.anchor = o, e.kind = "sequence", e.result = s, !0) : !1;
@@ -962,7 +962,7 @@ function es(e, t, n) {
962
962
  for (e.anchor !== null && (e.anchorMap[e.anchor] = f), $ = e.input.charCodeAt(e.position); $ !== 0; ) {
963
963
  if (!m && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, j(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), s = e.line, ($ === 63 || $ === 58) && M(r)) $ === 63 ? (m && (ve(e, f, h, p, g, null, a, i, u), p = g = y = null), S = !0, m = !0, o = !0) : m ? (m = !1, o = !0) : j(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, $ = r;
964
964
  else {
965
- if (a = e.line, i = e.lineStart, u = e.position, !Oe(e, n, Tr, !1, !0)) break;
965
+ if (a = e.line, i = e.lineStart, u = e.position, !Oe(e, n, vr, !1, !0)) break;
966
966
  if (e.line === s) {
967
967
  for ($ = e.input.charCodeAt(e.position); he($); ) $ = e.input.charCodeAt(++e.position);
968
968
  if ($ === 58) $ = e.input.charCodeAt(++e.position), M($) || j(e, "a whitespace character is expected after the key-value separator within a block mapping"), m && (ve(e, f, h, p, g, null, a, i, u), p = g = y = null), S = !0, m = !1, o = !1, p = e.tag, g = e.result;
@@ -985,10 +985,10 @@ function ts(e) {
985
985
  while (a !== 0 && a !== 62);
986
986
  e.position < e.length ? (s = e.input.slice(t, e.position), a = e.input.charCodeAt(++e.position)) : j(e, "unexpected end of the stream within a verbatim tag");
987
987
  } else {
988
- for (; a !== 0 && !M(a); ) a === 33 && (r ? j(e, "tag suffix cannot contain exclamation marks") : (o = e.input.slice(t - 1, e.position + 1), wr.test(o) || j(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), a = e.input.charCodeAt(++e.position);
988
+ for (; a !== 0 && !M(a); ) a === 33 && (r ? j(e, "tag suffix cannot contain exclamation marks") : (o = e.input.slice(t - 1, e.position + 1), Or.test(o) || j(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), a = e.input.charCodeAt(++e.position);
989
989
  s = e.input.slice(t, e.position), Ma.test(s) && j(e, "tag suffix cannot contain flow indicator characters");
990
990
  }
991
- s && !jr.test(s) && j(e, "tag name cannot contain such characters: " + s);
991
+ s && !wr.test(s) && j(e, "tag name cannot contain such characters: " + s);
992
992
  try {
993
993
  s = decodeURIComponent(s);
994
994
  } catch {
@@ -1010,8 +1010,8 @@ function rs(e) {
1010
1010
  }
1011
1011
  function Oe(e, t, n, r, o) {
1012
1012
  var s, a, i, u = 1, c = !1, d = !1, f, h, p, g, y, m;
1013
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, s = a = i = Ge === n || Or === n, r && _(e, !0, -1) && (c = !0, e.lineIndent > t ? u = 1 : e.lineIndent === t ? u = 0 : e.lineIndent < t && (u = -1)), u === 1) for (; ts(e) || ns(e); ) _(e, !0, -1) ? (c = !0, i = s, e.lineIndent > t ? u = 1 : e.lineIndent === t ? u = 0 : e.lineIndent < t && (u = -1)) : i = !1;
1014
- if (i && (i = c || o), (u === 1 || Ge === n) && (Je === n || Tr === n ? y = t : y = t + 1, m = e.position - e.lineStart, u === 1 ? i && (Bn(e, m) || es(e, m, y)) || Xa(e, y) ? d = !0 : (a && Za(e, y) || Ka(e, y) || Qa(e, y) ? d = !0 : rs(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && j(e, "alias node should not have any properties")) : Ya(e, y, Je === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : u === 0 && (d = i && Bn(e, m))), e.tag === null) e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1013
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, s = a = i = Ge === n || Tr === n, r && _(e, !0, -1) && (c = !0, e.lineIndent > t ? u = 1 : e.lineIndent === t ? u = 0 : e.lineIndent < t && (u = -1)), u === 1) for (; ts(e) || ns(e); ) _(e, !0, -1) ? (c = !0, i = s, e.lineIndent > t ? u = 1 : e.lineIndent === t ? u = 0 : e.lineIndent < t && (u = -1)) : i = !1;
1014
+ if (i && (i = c || o), (u === 1 || Ge === n) && (Je === n || vr === n ? y = t : y = t + 1, m = e.position - e.lineStart, u === 1 ? i && (Ln(e, m) || es(e, m, y)) || Xa(e, y) ? d = !0 : (a && Za(e, y) || Ka(e, y) || Qa(e, y) ? d = !0 : rs(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && j(e, "alias node should not have any properties")) : Ya(e, y, Je === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : u === 0 && (d = i && Ln(e, m))), e.tag === null) e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1015
1015
  else if (e.tag === "?") {
1016
1016
  for (e.result !== null && e.kind !== "scalar" && j(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), f = 0, h = e.implicitTypes.length; f < h; f += 1) if (g = e.implicitTypes[f], g.resolve(e.result)) {
1017
1017
  e.result = g.construct(e.result), e.tag = g.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
@@ -1043,7 +1043,7 @@ function os(e) {
1043
1043
  for (n = e.position; a !== 0 && !M(a); ) a = e.input.charCodeAt(++e.position);
1044
1044
  o.push(e.input.slice(n, e.position));
1045
1045
  }
1046
- a !== 0 && _t(e), ae.call(Rn, r) ? Rn[r](e, r, o) : ze(e, 'unknown document directive "' + r + '"');
1046
+ a !== 0 && Ut(e), ae.call(Pn, r) ? Pn[r](e, r, o) : ze(e, 'unknown document directive "' + r + '"');
1047
1047
  }
1048
1048
  if (_(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, _(e, !0, -1)) : s && j(e, "directives end mark is expected"), Oe(e, e.lineIndent - 1, Ge, !1, !0), _(e, !0, -1), e.checkLineBreaks && qa.test(e.input.slice(t, e.position)) && ze(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && nt(e)) {
1049
1049
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, _(e, !0, -1));
@@ -1079,45 +1079,45 @@ function ds(e, t) {
1079
1079
  return ki(e, n, t), n;
1080
1080
  }
1081
1081
  const fs = Object.freeze(JSON.parse('{"colors":{"activityBar.activeBorder":"#4d9375","activityBar.background":"#121212","activityBar.border":"#191919","activityBar.foreground":"#dbd7caee","activityBar.inactiveForeground":"#dedcd550","activityBarBadge.background":"#bfbaaa","activityBarBadge.foreground":"#121212","badge.background":"#dedcd590","badge.foreground":"#121212","breadcrumb.activeSelectionForeground":"#eeeeee18","breadcrumb.background":"#181818","breadcrumb.focusForeground":"#dbd7caee","breadcrumb.foreground":"#959da5","breadcrumbPicker.background":"#121212","button.background":"#4d9375","button.foreground":"#121212","button.hoverBackground":"#4d9375","checkbox.background":"#181818","checkbox.border":"#2f363d","debugToolBar.background":"#121212","descriptionForeground":"#dedcd590","diffEditor.insertedTextBackground":"#4d937550","diffEditor.removedTextBackground":"#ab595950","dropdown.background":"#121212","dropdown.border":"#191919","dropdown.foreground":"#dbd7caee","dropdown.listBackground":"#181818","editor.background":"#121212","editor.findMatchBackground":"#e6cc7722","editor.findMatchHighlightBackground":"#e6cc7744","editor.focusedStackFrameHighlightBackground":"#b808","editor.foldBackground":"#eeeeee10","editor.foreground":"#dbd7caee","editor.inactiveSelectionBackground":"#eeeeee10","editor.lineHighlightBackground":"#181818","editor.selectionBackground":"#eeeeee18","editor.selectionHighlightBackground":"#eeeeee10","editor.stackFrameHighlightBackground":"#a707","editor.wordHighlightBackground":"#1c6b4805","editor.wordHighlightStrongBackground":"#1c6b4810","editorBracketHighlight.foreground1":"#5eaab5","editorBracketHighlight.foreground2":"#4d9375","editorBracketHighlight.foreground3":"#d4976c","editorBracketHighlight.foreground4":"#d9739f","editorBracketHighlight.foreground5":"#e6cc77","editorBracketHighlight.foreground6":"#6394bf","editorBracketMatch.background":"#4d937520","editorError.foreground":"#cb7676","editorGroup.border":"#191919","editorGroupHeader.tabsBackground":"#121212","editorGroupHeader.tabsBorder":"#191919","editorGutter.addedBackground":"#4d9375","editorGutter.commentRangeForeground":"#dedcd550","editorGutter.deletedBackground":"#cb7676","editorGutter.foldingControlForeground":"#dedcd590","editorGutter.modifiedBackground":"#6394bf","editorHint.foreground":"#4d9375","editorIndentGuide.activeBackground":"#ffffff30","editorIndentGuide.background":"#ffffff15","editorInfo.foreground":"#6394bf","editorInlayHint.background":"#181818","editorInlayHint.foreground":"#666666","editorLineNumber.activeForeground":"#bfbaaa","editorLineNumber.foreground":"#dedcd550","editorOverviewRuler.border":"#111","editorStickyScroll.background":"#181818","editorStickyScrollHover.background":"#181818","editorWarning.foreground":"#d4976c","editorWhitespace.foreground":"#ffffff15","editorWidget.background":"#121212","errorForeground":"#cb7676","focusBorder":"#00000000","foreground":"#dbd7caee","gitDecoration.addedResourceForeground":"#4d9375","gitDecoration.conflictingResourceForeground":"#d4976c","gitDecoration.deletedResourceForeground":"#cb7676","gitDecoration.ignoredResourceForeground":"#dedcd550","gitDecoration.modifiedResourceForeground":"#6394bf","gitDecoration.submoduleResourceForeground":"#dedcd590","gitDecoration.untrackedResourceForeground":"#5eaab5","input.background":"#181818","input.border":"#191919","input.foreground":"#dbd7caee","input.placeholderForeground":"#dedcd590","inputOption.activeBackground":"#dedcd550","list.activeSelectionBackground":"#181818","list.activeSelectionForeground":"#dbd7caee","list.focusBackground":"#181818","list.highlightForeground":"#4d9375","list.hoverBackground":"#181818","list.hoverForeground":"#dbd7caee","list.inactiveFocusBackground":"#121212","list.inactiveSelectionBackground":"#181818","list.inactiveSelectionForeground":"#dbd7caee","menu.separatorBackground":"#191919","notificationCenterHeader.background":"#121212","notificationCenterHeader.foreground":"#959da5","notifications.background":"#121212","notifications.border":"#191919","notifications.foreground":"#dbd7caee","notificationsErrorIcon.foreground":"#cb7676","notificationsInfoIcon.foreground":"#6394bf","notificationsWarningIcon.foreground":"#d4976c","panel.background":"#121212","panel.border":"#191919","panelInput.border":"#2f363d","panelTitle.activeBorder":"#4d9375","panelTitle.activeForeground":"#dbd7caee","panelTitle.inactiveForeground":"#959da5","peekViewEditor.background":"#121212","peekViewEditor.matchHighlightBackground":"#ffd33d33","peekViewResult.background":"#121212","peekViewResult.matchHighlightBackground":"#ffd33d33","pickerGroup.border":"#191919","pickerGroup.foreground":"#dbd7caee","problemsErrorIcon.foreground":"#cb7676","problemsInfoIcon.foreground":"#6394bf","problemsWarningIcon.foreground":"#d4976c","progressBar.background":"#4d9375","quickInput.background":"#121212","quickInput.foreground":"#dbd7caee","quickInputList.focusBackground":"#181818","scrollbar.shadow":"#0000","scrollbarSlider.activeBackground":"#dedcd550","scrollbarSlider.background":"#dedcd510","scrollbarSlider.hoverBackground":"#dedcd550","settings.headerForeground":"#dbd7caee","settings.modifiedItemIndicator":"#4d9375","sideBar.background":"#121212","sideBar.border":"#191919","sideBar.foreground":"#bfbaaa","sideBarSectionHeader.background":"#121212","sideBarSectionHeader.border":"#191919","sideBarSectionHeader.foreground":"#dbd7caee","sideBarTitle.foreground":"#dbd7caee","statusBar.background":"#121212","statusBar.border":"#191919","statusBar.debuggingBackground":"#181818","statusBar.debuggingForeground":"#bfbaaa","statusBar.foreground":"#bfbaaa","statusBar.noFolderBackground":"#121212","statusBarItem.prominentBackground":"#181818","tab.activeBackground":"#121212","tab.activeBorder":"#191919","tab.activeBorderTop":"#dedcd590","tab.activeForeground":"#dbd7caee","tab.border":"#191919","tab.hoverBackground":"#181818","tab.inactiveBackground":"#121212","tab.inactiveForeground":"#959da5","tab.unfocusedActiveBorder":"#191919","tab.unfocusedActiveBorderTop":"#191919","tab.unfocusedHoverBackground":"#121212","terminal.ansiBlack":"#393a34","terminal.ansiBlue":"#6394bf","terminal.ansiBrightBlack":"#777777","terminal.ansiBrightBlue":"#6394bf","terminal.ansiBrightCyan":"#5eaab5","terminal.ansiBrightGreen":"#4d9375","terminal.ansiBrightMagenta":"#d9739f","terminal.ansiBrightRed":"#cb7676","terminal.ansiBrightWhite":"#ffffff","terminal.ansiBrightYellow":"#e6cc77","terminal.ansiCyan":"#5eaab5","terminal.ansiGreen":"#4d9375","terminal.ansiMagenta":"#d9739f","terminal.ansiRed":"#cb7676","terminal.ansiWhite":"#dbd7ca","terminal.ansiYellow":"#e6cc77","terminal.foreground":"#dbd7caee","terminal.selectionBackground":"#eeeeee18","textBlockQuote.background":"#121212","textBlockQuote.border":"#191919","textCodeBlock.background":"#121212","textLink.activeForeground":"#4d9375","textLink.foreground":"#4d9375","textPreformat.foreground":"#d1d5da","textSeparator.foreground":"#586069","titleBar.activeBackground":"#121212","titleBar.activeForeground":"#bfbaaa","titleBar.border":"#181818","titleBar.inactiveBackground":"#121212","titleBar.inactiveForeground":"#959da5","tree.indentGuidesStroke":"#2f363d","welcomePage.buttonBackground":"#2f363d","welcomePage.buttonHoverBackground":"#444d56"},"displayName":"Vitesse Dark","name":"vitesse-dark","semanticHighlighting":true,"semanticTokenColors":{"class":"#6872ab","interface":"#5d99a9","namespace":"#db889a","property":"#b8a965","type":"#5d99a9"},"tokenColors":[{"scope":["comment","punctuation.definition.comment","string.comment"],"settings":{"foreground":"#758575dd"}},{"scope":["delimiter.bracket","delimiter","invalid.illegal.character-not-allowed-here.html","keyword.operator.rest","keyword.operator.spread","keyword.operator.type.annotation","keyword.operator.relational","keyword.operator.assignment","keyword.operator.type","meta.brace","meta.tag.block.any.html","meta.tag.inline.any.html","meta.tag.structure.input.void.html","meta.type.annotation","meta.embedded.block.github-actions-expression","storage.type.function.arrow","meta.objectliteral.ts","punctuation","punctuation.definition.string.begin.html.vue","punctuation.definition.string.end.html.vue"],"settings":{"foreground":"#666666"}},{"scope":["constant","entity.name.constant","variable.language","meta.definition.variable"],"settings":{"foreground":"#c99076"}},{"scope":["entity","entity.name"],"settings":{"foreground":"#80a665"}},{"scope":"variable.parameter.function","settings":{"foreground":"#dbd7caee"}},{"scope":["entity.name.tag","tag.html"],"settings":{"foreground":"#4d9375"}},{"scope":"entity.name.function","settings":{"foreground":"#80a665"}},{"scope":["keyword","storage.type.class.jsdoc","punctuation.definition.template-expression"],"settings":{"foreground":"#4d9375"}},{"scope":["storage","storage.type","support.type.builtin","constant.language.undefined","constant.language.null","constant.language.import-export-all.ts"],"settings":{"foreground":"#cb7676"}},{"scope":["text.html.derivative","storage.modifier.package","storage.modifier.import","storage.type.java"],"settings":{"foreground":"#dbd7caee"}},{"scope":["string","string punctuation.section.embedded source","attribute.value"],"settings":{"foreground":"#c98a7d"}},{"scope":["punctuation.definition.string"],"settings":{"foreground":"#c98a7d77"}},{"scope":["punctuation.support.type.property-name"],"settings":{"foreground":"#b8a96577"}},{"scope":"support","settings":{"foreground":"#b8a965"}},{"scope":["property","meta.property-name","meta.object-literal.key","entity.name.tag.yaml","attribute.name"],"settings":{"foreground":"#b8a965"}},{"scope":["entity.other.attribute-name","invalid.deprecated.entity.other.attribute-name.html"],"settings":{"foreground":"#bd976a"}},{"scope":["variable","identifier"],"settings":{"foreground":"#bd976a"}},{"scope":["support.type.primitive","entity.name.type"],"settings":{"foreground":"#5DA994"}},{"scope":"namespace","settings":{"foreground":"#db889a"}},{"scope":["keyword.operator","keyword.operator.assignment.compound","meta.var.expr.ts"],"settings":{"foreground":"#cb7676"}},{"scope":"invalid.broken","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.deprecated","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.illegal","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.unimplemented","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"carriage-return","settings":{"background":"#f97583","content":"^M","fontStyle":"italic underline","foreground":"#24292e"}},{"scope":"message.error","settings":{"foreground":"#fdaeb7"}},{"scope":"string variable","settings":{"foreground":"#c98a7d"}},{"scope":["source.regexp","string.regexp"],"settings":{"foreground":"#c4704f"}},{"scope":["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],"settings":{"foreground":"#c98a7d"}},{"scope":"string.regexp constant.character.escape","settings":{"foreground":"#e6cc77"}},{"scope":["support.constant"],"settings":{"foreground":"#c99076"}},{"scope":["keyword.operator.quantifier.regexp","constant.numeric","number"],"settings":{"foreground":"#4C9A91"}},{"scope":["keyword.other.unit"],"settings":{"foreground":"#cb7676"}},{"scope":["constant.language.boolean","constant.language"],"settings":{"foreground":"#4d9375"}},{"scope":"meta.module-reference","settings":{"foreground":"#4d9375"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#d4976c"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#4d9375"}},{"scope":"markup.quote","settings":{"foreground":"#5d99a9"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#dbd7caee"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#dbd7caee"}},{"scope":"markup.raw","settings":{"foreground":"#4d9375"}},{"scope":["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],"settings":{"background":"#86181d","foreground":"#fdaeb7"}},{"scope":["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],"settings":{"background":"#144620","foreground":"#85e89d"}},{"scope":["markup.changed","punctuation.definition.changed"],"settings":{"background":"#c24e00","foreground":"#ffab70"}},{"scope":["markup.ignored","markup.untracked"],"settings":{"background":"#79b8ff","foreground":"#2f363d"}},{"scope":"meta.diff.range","settings":{"fontStyle":"bold","foreground":"#b392f0"}},{"scope":"meta.diff.header","settings":{"foreground":"#79b8ff"}},{"scope":"meta.separator","settings":{"fontStyle":"bold","foreground":"#79b8ff"}},{"scope":"meta.output","settings":{"foreground":"#79b8ff"}},{"scope":["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],"settings":{"foreground":"#d1d5da"}},{"scope":"brackethighlighter.unmatched","settings":{"foreground":"#fdaeb7"}},{"scope":["constant.other.reference.link","string.other.link","punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown"],"settings":{"foreground":"#c98a7d"}},{"scope":["markup.underline.link.markdown","markup.underline.link.image.markdown"],"settings":{"fontStyle":"underline","foreground":"#dedcd590"}},{"scope":["type.identifier","constant.other.character-class.regexp"],"settings":{"foreground":"#6872ab"}},{"scope":["entity.other.attribute-name.html.vue"],"settings":{"foreground":"#80a665"}},{"scope":["invalid.illegal.unrecognized-tag.html"],"settings":{"fontStyle":"normal"}}],"type":"dark"}')), ps = Object.freeze(JSON.parse('{"colors":{"activityBar.activeBorder":"#1c6b48","activityBar.background":"#ffffff","activityBar.border":"#f0f0f0","activityBar.foreground":"#393a34","activityBar.inactiveForeground":"#393a3450","activityBarBadge.background":"#4e4f47","activityBarBadge.foreground":"#ffffff","badge.background":"#393a3490","badge.foreground":"#ffffff","breadcrumb.activeSelectionForeground":"#22222218","breadcrumb.background":"#f7f7f7","breadcrumb.focusForeground":"#393a34","breadcrumb.foreground":"#6a737d","breadcrumbPicker.background":"#ffffff","button.background":"#1c6b48","button.foreground":"#ffffff","button.hoverBackground":"#1c6b48","checkbox.background":"#f7f7f7","checkbox.border":"#d1d5da","debugToolBar.background":"#ffffff","descriptionForeground":"#393a3490","diffEditor.insertedTextBackground":"#1c6b4830","diffEditor.removedTextBackground":"#ab595940","dropdown.background":"#ffffff","dropdown.border":"#f0f0f0","dropdown.foreground":"#393a34","dropdown.listBackground":"#f7f7f7","editor.background":"#ffffff","editor.findMatchBackground":"#e6cc7744","editor.findMatchHighlightBackground":"#e6cc7766","editor.focusedStackFrameHighlightBackground":"#fff5b1","editor.foldBackground":"#22222210","editor.foreground":"#393a34","editor.inactiveSelectionBackground":"#22222210","editor.lineHighlightBackground":"#f7f7f7","editor.selectionBackground":"#22222218","editor.selectionHighlightBackground":"#22222210","editor.stackFrameHighlightBackground":"#fffbdd","editor.wordHighlightBackground":"#1c6b4805","editor.wordHighlightStrongBackground":"#1c6b4810","editorBracketHighlight.foreground1":"#2993a3","editorBracketHighlight.foreground2":"#1e754f","editorBracketHighlight.foreground3":"#a65e2b","editorBracketHighlight.foreground4":"#a13865","editorBracketHighlight.foreground5":"#bda437","editorBracketHighlight.foreground6":"#296aa3","editorBracketMatch.background":"#1c6b4820","editorError.foreground":"#ab5959","editorGroup.border":"#f0f0f0","editorGroupHeader.tabsBackground":"#ffffff","editorGroupHeader.tabsBorder":"#f0f0f0","editorGutter.addedBackground":"#1e754f","editorGutter.commentRangeForeground":"#393a3450","editorGutter.deletedBackground":"#ab5959","editorGutter.foldingControlForeground":"#393a3490","editorGutter.modifiedBackground":"#296aa3","editorHint.foreground":"#1e754f","editorIndentGuide.activeBackground":"#00000030","editorIndentGuide.background":"#00000015","editorInfo.foreground":"#296aa3","editorInlayHint.background":"#f7f7f7","editorInlayHint.foreground":"#999999","editorLineNumber.activeForeground":"#4e4f47","editorLineNumber.foreground":"#393a3450","editorOverviewRuler.border":"#fff","editorStickyScroll.background":"#f7f7f7","editorStickyScrollHover.background":"#f7f7f7","editorWarning.foreground":"#a65e2b","editorWhitespace.foreground":"#00000015","editorWidget.background":"#ffffff","errorForeground":"#ab5959","focusBorder":"#00000000","foreground":"#393a34","gitDecoration.addedResourceForeground":"#1e754f","gitDecoration.conflictingResourceForeground":"#a65e2b","gitDecoration.deletedResourceForeground":"#ab5959","gitDecoration.ignoredResourceForeground":"#393a3450","gitDecoration.modifiedResourceForeground":"#296aa3","gitDecoration.submoduleResourceForeground":"#393a3490","gitDecoration.untrackedResourceForeground":"#2993a3","input.background":"#f7f7f7","input.border":"#f0f0f0","input.foreground":"#393a34","input.placeholderForeground":"#393a3490","inputOption.activeBackground":"#393a3450","list.activeSelectionBackground":"#f7f7f7","list.activeSelectionForeground":"#393a34","list.focusBackground":"#f7f7f7","list.highlightForeground":"#1c6b48","list.hoverBackground":"#f7f7f7","list.hoverForeground":"#393a34","list.inactiveFocusBackground":"#ffffff","list.inactiveSelectionBackground":"#f7f7f7","list.inactiveSelectionForeground":"#393a34","menu.separatorBackground":"#f0f0f0","notificationCenterHeader.background":"#ffffff","notificationCenterHeader.foreground":"#6a737d","notifications.background":"#ffffff","notifications.border":"#f0f0f0","notifications.foreground":"#393a34","notificationsErrorIcon.foreground":"#ab5959","notificationsInfoIcon.foreground":"#296aa3","notificationsWarningIcon.foreground":"#a65e2b","panel.background":"#ffffff","panel.border":"#f0f0f0","panelInput.border":"#e1e4e8","panelTitle.activeBorder":"#1c6b48","panelTitle.activeForeground":"#393a34","panelTitle.inactiveForeground":"#6a737d","peekViewEditor.background":"#ffffff","peekViewResult.background":"#ffffff","pickerGroup.border":"#f0f0f0","pickerGroup.foreground":"#393a34","problemsErrorIcon.foreground":"#ab5959","problemsInfoIcon.foreground":"#296aa3","problemsWarningIcon.foreground":"#a65e2b","progressBar.background":"#1c6b48","quickInput.background":"#ffffff","quickInput.foreground":"#393a34","quickInputList.focusBackground":"#f7f7f7","scrollbar.shadow":"#6a737d33","scrollbarSlider.activeBackground":"#393a3450","scrollbarSlider.background":"#393a3410","scrollbarSlider.hoverBackground":"#393a3450","settings.headerForeground":"#393a34","settings.modifiedItemIndicator":"#1c6b48","sideBar.background":"#ffffff","sideBar.border":"#f0f0f0","sideBar.foreground":"#4e4f47","sideBarSectionHeader.background":"#ffffff","sideBarSectionHeader.border":"#f0f0f0","sideBarSectionHeader.foreground":"#393a34","sideBarTitle.foreground":"#393a34","statusBar.background":"#ffffff","statusBar.border":"#f0f0f0","statusBar.debuggingBackground":"#f7f7f7","statusBar.debuggingForeground":"#4e4f47","statusBar.foreground":"#4e4f47","statusBar.noFolderBackground":"#ffffff","statusBarItem.prominentBackground":"#f7f7f7","tab.activeBackground":"#ffffff","tab.activeBorder":"#f0f0f0","tab.activeBorderTop":"#393a3490","tab.activeForeground":"#393a34","tab.border":"#f0f0f0","tab.hoverBackground":"#f7f7f7","tab.inactiveBackground":"#ffffff","tab.inactiveForeground":"#6a737d","tab.unfocusedActiveBorder":"#f0f0f0","tab.unfocusedActiveBorderTop":"#f0f0f0","tab.unfocusedHoverBackground":"#ffffff","terminal.ansiBlack":"#121212","terminal.ansiBlue":"#296aa3","terminal.ansiBrightBlack":"#aaaaaa","terminal.ansiBrightBlue":"#296aa3","terminal.ansiBrightCyan":"#2993a3","terminal.ansiBrightGreen":"#1e754f","terminal.ansiBrightMagenta":"#a13865","terminal.ansiBrightRed":"#ab5959","terminal.ansiBrightWhite":"#dddddd","terminal.ansiBrightYellow":"#bda437","terminal.ansiCyan":"#2993a3","terminal.ansiGreen":"#1e754f","terminal.ansiMagenta":"#a13865","terminal.ansiRed":"#ab5959","terminal.ansiWhite":"#dbd7ca","terminal.ansiYellow":"#bda437","terminal.foreground":"#393a34","terminal.selectionBackground":"#22222218","textBlockQuote.background":"#ffffff","textBlockQuote.border":"#f0f0f0","textCodeBlock.background":"#ffffff","textLink.activeForeground":"#1c6b48","textLink.foreground":"#1c6b48","textPreformat.foreground":"#586069","textSeparator.foreground":"#d1d5da","titleBar.activeBackground":"#ffffff","titleBar.activeForeground":"#4e4f47","titleBar.border":"#f7f7f7","titleBar.inactiveBackground":"#ffffff","titleBar.inactiveForeground":"#6a737d","tree.indentGuidesStroke":"#e1e4e8","welcomePage.buttonBackground":"#f6f8fa","welcomePage.buttonHoverBackground":"#e1e4e8"},"displayName":"Vitesse Light","name":"vitesse-light","semanticHighlighting":true,"semanticTokenColors":{"class":"#5a6aa6","interface":"#2e808f","namespace":"#b05a78","property":"#998418","type":"#2e808f"},"tokenColors":[{"scope":["comment","punctuation.definition.comment","string.comment"],"settings":{"foreground":"#a0ada0"}},{"scope":["delimiter.bracket","delimiter","invalid.illegal.character-not-allowed-here.html","keyword.operator.rest","keyword.operator.spread","keyword.operator.type.annotation","keyword.operator.relational","keyword.operator.assignment","keyword.operator.type","meta.brace","meta.tag.block.any.html","meta.tag.inline.any.html","meta.tag.structure.input.void.html","meta.type.annotation","meta.embedded.block.github-actions-expression","storage.type.function.arrow","meta.objectliteral.ts","punctuation","punctuation.definition.string.begin.html.vue","punctuation.definition.string.end.html.vue"],"settings":{"foreground":"#999999"}},{"scope":["constant","entity.name.constant","variable.language","meta.definition.variable"],"settings":{"foreground":"#a65e2b"}},{"scope":["entity","entity.name"],"settings":{"foreground":"#59873a"}},{"scope":"variable.parameter.function","settings":{"foreground":"#393a34"}},{"scope":["entity.name.tag","tag.html"],"settings":{"foreground":"#1e754f"}},{"scope":"entity.name.function","settings":{"foreground":"#59873a"}},{"scope":["keyword","storage.type.class.jsdoc","punctuation.definition.template-expression"],"settings":{"foreground":"#1e754f"}},{"scope":["storage","storage.type","support.type.builtin","constant.language.undefined","constant.language.null","constant.language.import-export-all.ts"],"settings":{"foreground":"#ab5959"}},{"scope":["text.html.derivative","storage.modifier.package","storage.modifier.import","storage.type.java"],"settings":{"foreground":"#393a34"}},{"scope":["string","string punctuation.section.embedded source","attribute.value"],"settings":{"foreground":"#b56959"}},{"scope":["punctuation.definition.string"],"settings":{"foreground":"#b5695977"}},{"scope":["punctuation.support.type.property-name"],"settings":{"foreground":"#99841877"}},{"scope":"support","settings":{"foreground":"#998418"}},{"scope":["property","meta.property-name","meta.object-literal.key","entity.name.tag.yaml","attribute.name"],"settings":{"foreground":"#998418"}},{"scope":["entity.other.attribute-name","invalid.deprecated.entity.other.attribute-name.html"],"settings":{"foreground":"#b07d48"}},{"scope":["variable","identifier"],"settings":{"foreground":"#b07d48"}},{"scope":["support.type.primitive","entity.name.type"],"settings":{"foreground":"#2e8f82"}},{"scope":"namespace","settings":{"foreground":"#b05a78"}},{"scope":["keyword.operator","keyword.operator.assignment.compound","meta.var.expr.ts"],"settings":{"foreground":"#ab5959"}},{"scope":"invalid.broken","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.deprecated","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.illegal","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.unimplemented","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"carriage-return","settings":{"background":"#d73a49","content":"^M","fontStyle":"italic underline","foreground":"#fafbfc"}},{"scope":"message.error","settings":{"foreground":"#b31d28"}},{"scope":"string variable","settings":{"foreground":"#b56959"}},{"scope":["source.regexp","string.regexp"],"settings":{"foreground":"#ab5e3f"}},{"scope":["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],"settings":{"foreground":"#b56959"}},{"scope":"string.regexp constant.character.escape","settings":{"foreground":"#bda437"}},{"scope":["support.constant"],"settings":{"foreground":"#a65e2b"}},{"scope":["keyword.operator.quantifier.regexp","constant.numeric","number"],"settings":{"foreground":"#2f798a"}},{"scope":["keyword.other.unit"],"settings":{"foreground":"#ab5959"}},{"scope":["constant.language.boolean","constant.language"],"settings":{"foreground":"#1e754f"}},{"scope":"meta.module-reference","settings":{"foreground":"#1c6b48"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#a65e2b"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#1c6b48"}},{"scope":"markup.quote","settings":{"foreground":"#2e808f"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#393a34"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#393a34"}},{"scope":"markup.raw","settings":{"foreground":"#1c6b48"}},{"scope":["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],"settings":{"background":"#ffeef0","foreground":"#b31d28"}},{"scope":["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],"settings":{"background":"#f0fff4","foreground":"#22863a"}},{"scope":["markup.changed","punctuation.definition.changed"],"settings":{"background":"#ffebda","foreground":"#e36209"}},{"scope":["markup.ignored","markup.untracked"],"settings":{"background":"#005cc5","foreground":"#f6f8fa"}},{"scope":"meta.diff.range","settings":{"fontStyle":"bold","foreground":"#6f42c1"}},{"scope":"meta.diff.header","settings":{"foreground":"#005cc5"}},{"scope":"meta.separator","settings":{"fontStyle":"bold","foreground":"#005cc5"}},{"scope":"meta.output","settings":{"foreground":"#005cc5"}},{"scope":["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],"settings":{"foreground":"#586069"}},{"scope":"brackethighlighter.unmatched","settings":{"foreground":"#b31d28"}},{"scope":["constant.other.reference.link","string.other.link","punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown"],"settings":{"foreground":"#b56959"}},{"scope":["markup.underline.link.markdown","markup.underline.link.image.markdown"],"settings":{"fontStyle":"underline","foreground":"#393a3490"}},{"scope":["type.identifier","constant.other.character-class.regexp"],"settings":{"foreground":"#5a6aa6"}},{"scope":["entity.other.attribute-name.html.vue"],"settings":{"foreground":"#59873a"}},{"scope":["invalid.illegal.unrecognized-tag.html"],"settings":{"fontStyle":"normal"}}],"type":"light"}'));
1082
- function rf(e, t) {
1082
+ function of(e, t) {
1083
1083
  var n;
1084
1084
  const r = Te();
1085
- return nr(() => {
1085
+ return tr(() => {
1086
1086
  r.value = e();
1087
1087
  }, {
1088
1088
  ...t,
1089
1089
  flush: (n = void 0) != null ? n : "sync"
1090
- }), Rt(r);
1090
+ }), Pt(r);
1091
1091
  }
1092
1092
  function rt(e) {
1093
- return tr() ? (_o(e), !0) : !1;
1093
+ return er() ? (_o(e), !0) : !1;
1094
1094
  }
1095
- function of(e) {
1095
+ function af(e) {
1096
1096
  let t = !1, n;
1097
- const r = rr(!0);
1097
+ const r = nr(!0);
1098
1098
  return (...o) => (t || (n = r.run(() => e(...o)), t = !0), n);
1099
1099
  }
1100
1100
  const ht = /* @__PURE__ */ new WeakMap(), hs = (...e) => {
1101
1101
  var t;
1102
1102
  const n = e[0], r = (t = Ze()) == null ? void 0 : t.proxy;
1103
- if (r == null && !or())
1103
+ if (r == null && !rr())
1104
1104
  throw new Error("injectLocal must be called in setup");
1105
1105
  return r && ht.has(r) && n in ht.get(r) ? ht.get(r)[n] : Do(...e);
1106
1106
  };
1107
- function af(e) {
1107
+ function sf(e) {
1108
1108
  let t = 0, n, r;
1109
1109
  const o = () => {
1110
1110
  t -= 1, r && t <= 0 && (r.stop(), n = void 0, r = void 0);
1111
1111
  };
1112
- return (...s) => (t += 1, r || (r = rr(!0), n = r.run(() => e(...s))), rt(o), n);
1112
+ return (...s) => (t += 1, r || (r = nr(!0), n = r.run(() => e(...s))), rt(o), n);
1113
1113
  }
1114
- const Pr = typeof window < "u" && typeof document < "u";
1114
+ const xr = typeof window < "u" && typeof document < "u";
1115
1115
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
1116
1116
  const gs = (e) => typeof e < "u", ms = Object.prototype.toString, bs = (e) => ms.call(e) === "[object Object]", ys = () => {
1117
- }, sf = /* @__PURE__ */ Ss();
1117
+ }, uf = /* @__PURE__ */ Ss();
1118
1118
  function Ss() {
1119
1119
  var e, t;
1120
- return Pr && ((e = window == null ? void 0 : window.navigator) == null ? void 0 : e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window == null ? void 0 : window.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
1120
+ return xr && ((e = window == null ? void 0 : window.navigator) == null ? void 0 : e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window == null ? void 0 : window.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
1121
1121
  }
1122
1122
  function $s(e, t) {
1123
1123
  function n(...r) {
@@ -1127,11 +1127,11 @@ function $s(e, t) {
1127
1127
  }
1128
1128
  return n;
1129
1129
  }
1130
- const Rr = (e) => e();
1131
- function ks(e = Rr, t = {}) {
1130
+ const Pr = (e) => e();
1131
+ function ks(e = Pr, t = {}) {
1132
1132
  const {
1133
1133
  initialState: n = "active"
1134
- } = t, r = Br(n === "active");
1134
+ } = t, r = Lr(n === "active");
1135
1135
  function o() {
1136
1136
  r.value = !1;
1137
1137
  }
@@ -1141,25 +1141,25 @@ function ks(e = Rr, t = {}) {
1141
1141
  const a = (...i) => {
1142
1142
  r.value && e(...i);
1143
1143
  };
1144
- return { isActive: Rt(r), pause: o, resume: s, eventFilter: a };
1144
+ return { isActive: Pt(r), pause: o, resume: s, eventFilter: a };
1145
1145
  }
1146
- function In(e) {
1146
+ function Bn(e) {
1147
1147
  return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
1148
1148
  }
1149
- function Lr(e) {
1149
+ function Rr(e) {
1150
1150
  return Ze();
1151
1151
  }
1152
1152
  function gt(e) {
1153
1153
  return Array.isArray(e) ? e : [e];
1154
1154
  }
1155
- function Br(...e) {
1155
+ function Lr(...e) {
1156
1156
  if (e.length !== 1)
1157
1157
  return Uo(...e);
1158
1158
  const t = e[0];
1159
- return typeof t == "function" ? Rt(Zn(() => ({ get: t, set: ys }))) : B(t);
1159
+ return typeof t == "function" ? Pt(Xn(() => ({ get: t, set: ys }))) : B(t);
1160
1160
  }
1161
- function uf(e, t = 1e4) {
1162
- return Zn((n, r) => {
1161
+ function cf(e, t = 1e4) {
1162
+ return Xn((n, r) => {
1163
1163
  let o = V(e), s;
1164
1164
  const a = () => setTimeout(() => {
1165
1165
  o = V(e), r();
@@ -1178,7 +1178,7 @@ function uf(e, t = 1e4) {
1178
1178
  }
1179
1179
  function vs(e, t, n = {}) {
1180
1180
  const {
1181
- eventFilter: r = Rr,
1181
+ eventFilter: r = Pr,
1182
1182
  ...o
1183
1183
  } = n;
1184
1184
  return ge(
@@ -1205,12 +1205,12 @@ function Ts(e, t, n = {}) {
1205
1205
  }
1206
1206
  ), pause: i, resume: u, isActive: c };
1207
1207
  }
1208
- const cf = V;
1209
- function lf(e, t) {
1210
- Lr() && Ho(e, t);
1208
+ const lf = V;
1209
+ function df(e, t) {
1210
+ Rr() && Ho(e, t);
1211
1211
  }
1212
- function Ir(e, t = !0, n) {
1213
- Lr() ? er(e, n) : t ? e() : Lt(e);
1212
+ function Br(e, t = !0, n) {
1213
+ Rr() ? Zn(e, n) : t ? e() : Rt(e);
1214
1214
  }
1215
1215
  function Os(e, t, n) {
1216
1216
  return ge(
@@ -1222,7 +1222,7 @@ function Os(e, t, n) {
1222
1222
  }
1223
1223
  );
1224
1224
  }
1225
- const me = Pr ? window : void 0;
1225
+ const me = xr ? window : void 0;
1226
1226
  function We(e) {
1227
1227
  var t;
1228
1228
  const n = V(e);
@@ -1265,18 +1265,18 @@ function Ye(...e) {
1265
1265
  }
1266
1266
  function ws() {
1267
1267
  const e = Te(!1), t = Ze();
1268
- return t && er(() => {
1268
+ return t && Zn(() => {
1269
1269
  e.value = !0;
1270
1270
  }, t), e;
1271
1271
  }
1272
- function Nr(e) {
1272
+ function Ir(e) {
1273
1273
  const t = ws();
1274
1274
  return W(() => (t.value, !!e()));
1275
1275
  }
1276
1276
  function js(e) {
1277
1277
  return typeof e == "function" ? e : typeof e == "string" ? (t) => t.key === e : Array.isArray(e) ? (t) => e.includes(t.key) : () => !0;
1278
1278
  }
1279
- function df(...e) {
1279
+ function ff(...e) {
1280
1280
  let t, n, r = {};
1281
1281
  e.length === 3 ? (t = e[0], n = e[1], r = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (t = !0, n = e[0], r = e[1]) : (t = e[0], n = e[1]) : (t = !0, n = e[0]);
1282
1282
  const {
@@ -1291,39 +1291,39 @@ function df(...e) {
1291
1291
  }
1292
1292
  const Es = Symbol("vueuse-ssr-width");
1293
1293
  function Cs() {
1294
- const e = or() ? hs(Es, null) : null;
1294
+ const e = rr() ? hs(Es, null) : null;
1295
1295
  return typeof e == "number" ? e : void 0;
1296
1296
  }
1297
- function xs(e, t = {}) {
1298
- const { window: n = me, ssrWidth: r = Cs() } = t, o = Nr(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), s = Te(typeof r == "number"), a = Te(), i = Te(!1), u = (c) => {
1297
+ function As(e, t = {}) {
1298
+ const { window: n = me, ssrWidth: r = Cs() } = t, o = Ir(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), s = Te(typeof r == "number"), a = Te(), i = Te(!1), u = (c) => {
1299
1299
  i.value = c.matches;
1300
1300
  };
1301
- return nr(() => {
1301
+ return tr(() => {
1302
1302
  if (s.value) {
1303
1303
  s.value = !o.value;
1304
1304
  const c = V(e).split(",");
1305
1305
  i.value = c.some((d) => {
1306
1306
  const f = d.includes("not all"), h = d.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), p = d.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);
1307
1307
  let g = !!(h || p);
1308
- return h && g && (g = r >= In(h[1])), p && g && (g = r <= In(p[1])), f ? !g : g;
1308
+ return h && g && (g = r >= Bn(h[1])), p && g && (g = r <= Bn(p[1])), f ? !g : g;
1309
1309
  });
1310
1310
  return;
1311
1311
  }
1312
1312
  o.value && (a.value = n.matchMedia(V(e)), i.value = a.value.matches);
1313
1313
  }), Ye(a, "change", u, { passive: !0 }), W(() => i.value);
1314
1314
  }
1315
- function As(e) {
1315
+ function xs(e) {
1316
1316
  return JSON.parse(JSON.stringify(e));
1317
1317
  }
1318
1318
  const He = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, De = "__vueuse_ssr_handlers__", Ps = /* @__PURE__ */ Rs();
1319
1319
  function Rs() {
1320
1320
  return De in He || (He[De] = He[De] || {}), He[De];
1321
1321
  }
1322
- function Ur(e, t) {
1322
+ function Nr(e, t) {
1323
1323
  return Ps[e] || t;
1324
1324
  }
1325
1325
  function Ls(e) {
1326
- return xs("(prefers-color-scheme: dark)", e);
1326
+ return As("(prefers-color-scheme: dark)", e);
1327
1327
  }
1328
1328
  function Bs(e) {
1329
1329
  return e == null ? "any" : e instanceof Set ? "set" : e instanceof Map ? "map" : e instanceof Date ? "date" : typeof e == "boolean" ? "boolean" : typeof e == "string" ? "string" : typeof e == "object" ? "object" : Number.isNaN(e) ? "any" : "number";
@@ -1361,7 +1361,7 @@ const Is = {
1361
1361
  read: (e) => new Date(e),
1362
1362
  write: (e) => e.toISOString()
1363
1363
  }
1364
- }, Nn = "vueuse-storage";
1364
+ }, In = "vueuse-storage";
1365
1365
  function Ns(e, t, n, r = {}) {
1366
1366
  var o;
1367
1367
  const {
@@ -1373,85 +1373,85 @@ function Ns(e, t, n, r = {}) {
1373
1373
  shallow: d,
1374
1374
  window: f = me,
1375
1375
  eventFilter: h,
1376
- onError: p = (x) => {
1377
- console.error(x);
1376
+ onError: p = (A) => {
1377
+ console.error(A);
1378
1378
  },
1379
1379
  initOnMounted: g
1380
1380
  } = r, y = (d ? Te : B)(typeof t == "function" ? t() : t), m = W(() => V(e));
1381
1381
  if (!n)
1382
1382
  try {
1383
- n = Ur("getDefaultStorage", () => {
1384
- var x;
1385
- return (x = me) == null ? void 0 : x.localStorage;
1383
+ n = Nr("getDefaultStorage", () => {
1384
+ var A;
1385
+ return (A = me) == null ? void 0 : A.localStorage;
1386
1386
  })();
1387
- } catch (x) {
1388
- p(x);
1387
+ } catch (A) {
1388
+ p(A);
1389
1389
  }
1390
1390
  if (!n)
1391
1391
  return y;
1392
- const S = V(t), $ = Bs(S), T = (o = r.serializer) != null ? o : Is[$], { pause: A, resume: k } = Ts(
1392
+ const S = V(t), $ = Bs(S), T = (o = r.serializer) != null ? o : Is[$], { pause: x, resume: k } = Ts(
1393
1393
  y,
1394
1394
  () => w(y.value),
1395
1395
  { flush: s, deep: a, eventFilter: h }
1396
1396
  );
1397
- ge(m, () => E(), { flush: s }), f && i && Ir(() => {
1398
- n instanceof Storage ? Ye(f, "storage", E, { passive: !0 }) : Ye(f, Nn, P), g && E();
1397
+ ge(m, () => E(), { flush: s }), f && i && Br(() => {
1398
+ n instanceof Storage ? Ye(f, "storage", E, { passive: !0 }) : Ye(f, In, P), g && E();
1399
1399
  }), g || E();
1400
- function O(x, R) {
1400
+ function O(A, R) {
1401
1401
  if (f) {
1402
1402
  const L = {
1403
1403
  key: m.value,
1404
- oldValue: x,
1404
+ oldValue: A,
1405
1405
  newValue: R,
1406
1406
  storageArea: n
1407
1407
  };
1408
- f.dispatchEvent(n instanceof Storage ? new StorageEvent("storage", L) : new CustomEvent(Nn, {
1408
+ f.dispatchEvent(n instanceof Storage ? new StorageEvent("storage", L) : new CustomEvent(In, {
1409
1409
  detail: L
1410
1410
  }));
1411
1411
  }
1412
1412
  }
1413
- function w(x) {
1413
+ function w(A) {
1414
1414
  try {
1415
1415
  const R = n.getItem(m.value);
1416
- if (x == null)
1416
+ if (A == null)
1417
1417
  O(R, null), n.removeItem(m.value);
1418
1418
  else {
1419
- const L = T.write(x);
1419
+ const L = T.write(A);
1420
1420
  R !== L && (n.setItem(m.value, L), O(R, L));
1421
1421
  }
1422
1422
  } catch (R) {
1423
1423
  p(R);
1424
1424
  }
1425
1425
  }
1426
- function C(x) {
1427
- const R = x ? x.newValue : n.getItem(m.value);
1426
+ function C(A) {
1427
+ const R = A ? A.newValue : n.getItem(m.value);
1428
1428
  if (R == null)
1429
1429
  return u && S != null && n.setItem(m.value, T.write(S)), S;
1430
- if (!x && c) {
1430
+ if (!A && c) {
1431
1431
  const L = T.read(R);
1432
1432
  return typeof c == "function" ? c(L, S) : $ === "object" && !Array.isArray(L) ? { ...S, ...L } : L;
1433
1433
  } else return typeof R != "string" ? R : T.read(R);
1434
1434
  }
1435
- function E(x) {
1436
- if (!(x && x.storageArea !== n)) {
1437
- if (x && x.key == null) {
1435
+ function E(A) {
1436
+ if (!(A && A.storageArea !== n)) {
1437
+ if (A && A.key == null) {
1438
1438
  y.value = S;
1439
1439
  return;
1440
1440
  }
1441
- if (!(x && x.key !== m.value)) {
1442
- A();
1441
+ if (!(A && A.key !== m.value)) {
1442
+ x();
1443
1443
  try {
1444
- (x == null ? void 0 : x.newValue) !== T.write(y.value) && (y.value = C(x));
1444
+ (A == null ? void 0 : A.newValue) !== T.write(y.value) && (y.value = C(A));
1445
1445
  } catch (R) {
1446
1446
  p(R);
1447
1447
  } finally {
1448
- x ? Lt(k) : k();
1448
+ A ? Rt(k) : k();
1449
1449
  }
1450
1450
  }
1451
1451
  }
1452
1452
  }
1453
- function P(x) {
1454
- E(x.detail);
1453
+ function P(A) {
1454
+ E(A.detail);
1455
1455
  }
1456
1456
  return y;
1457
1457
  }
@@ -1473,10 +1473,10 @@ function _s(e = {}) {
1473
1473
  light: "light",
1474
1474
  dark: "dark",
1475
1475
  ...e.modes || {}
1476
- }, h = Ls({ window: o }), p = W(() => h.value ? "dark" : "light"), g = u || (a == null ? Br(r) : Ns(a, r, s, { window: o, listenToStorageChanges: i })), y = W(() => g.value === "auto" ? p.value : g.value), m = Ur(
1476
+ }, h = Ls({ window: o }), p = W(() => h.value ? "dark" : "light"), g = u || (a == null ? Lr(r) : Ns(a, r, s, { window: o, listenToStorageChanges: i })), y = W(() => g.value === "auto" ? p.value : g.value), m = Nr(
1477
1477
  "updateHTMLAttrs",
1478
- (A, k, O) => {
1479
- const w = typeof A == "string" ? o == null ? void 0 : o.document.querySelector(A) : We(A);
1478
+ (x, k, O) => {
1479
+ const w = typeof x == "string" ? o == null ? void 0 : o.document.querySelector(x) : We(x);
1480
1480
  if (!w)
1481
1481
  return;
1482
1482
  const C = /* @__PURE__ */ new Set(), E = /* @__PURE__ */ new Set();
@@ -1490,29 +1490,29 @@ function _s(e = {}) {
1490
1490
  P = { key: k, value: O };
1491
1491
  if (C.size === 0 && E.size === 0 && P === null)
1492
1492
  return;
1493
- let x;
1494
- d && (x = o.document.createElement("style"), x.appendChild(document.createTextNode(Us)), o.document.head.appendChild(x));
1493
+ let A;
1494
+ d && (A = o.document.createElement("style"), A.appendChild(document.createTextNode(Us)), o.document.head.appendChild(A));
1495
1495
  for (const R of C)
1496
1496
  w.classList.add(R);
1497
1497
  for (const R of E)
1498
1498
  w.classList.remove(R);
1499
- P && w.setAttribute(P.key, P.value), d && (o.getComputedStyle(x).opacity, document.head.removeChild(x));
1499
+ P && w.setAttribute(P.key, P.value), d && (o.getComputedStyle(A).opacity, document.head.removeChild(A));
1500
1500
  }
1501
1501
  );
1502
- function S(A) {
1502
+ function S(x) {
1503
1503
  var k;
1504
- m(t, n, (k = f[A]) != null ? k : A);
1504
+ m(t, n, (k = f[x]) != null ? k : x);
1505
1505
  }
1506
- function $(A) {
1507
- e.onChanged ? e.onChanged(A, S) : S(A);
1506
+ function $(x) {
1507
+ e.onChanged ? e.onChanged(x, S) : S(x);
1508
1508
  }
1509
- ge(y, $, { flush: "post", immediate: !0 }), Ir(() => $(y.value));
1509
+ ge(y, $, { flush: "post", immediate: !0 }), Br(() => $(y.value));
1510
1510
  const T = W({
1511
1511
  get() {
1512
1512
  return c ? g.value : y.value;
1513
1513
  },
1514
- set(A) {
1515
- g.value = A;
1514
+ set(x) {
1515
+ g.value = x;
1516
1516
  }
1517
1517
  });
1518
1518
  return Object.assign(T, { store: g, system: p, state: y });
@@ -1542,10 +1542,10 @@ function Hs(e = {}) {
1542
1542
  }
1543
1543
  });
1544
1544
  }
1545
- function ff(e, t, n = {}) {
1545
+ function pf(e, t, n = {}) {
1546
1546
  const { window: r = me, ...o } = n;
1547
1547
  let s;
1548
- const a = Nr(() => r && "ResizeObserver" in r), i = () => {
1548
+ const a = Ir(() => r && "ResizeObserver" in r), i = () => {
1549
1549
  s && (s.disconnect(), s = void 0);
1550
1550
  }, u = W(() => {
1551
1551
  const f = V(e);
@@ -1569,8 +1569,8 @@ function ff(e, t, n = {}) {
1569
1569
  };
1570
1570
  }
1571
1571
  const Ee = /* @__PURE__ */ new Map();
1572
- function pf(e) {
1573
- const t = tr();
1572
+ function hf(e) {
1573
+ const t = er();
1574
1574
  function n(i) {
1575
1575
  var u;
1576
1576
  const c = Ee.get(e) || /* @__PURE__ */ new Set();
@@ -1597,7 +1597,7 @@ function pf(e) {
1597
1597
  }
1598
1598
  return { on: n, once: r, off: o, emit: a, reset: s };
1599
1599
  }
1600
- function hf(e, t, n, r = {}) {
1600
+ function gf(e, t, n, r = {}) {
1601
1601
  var o, s, a;
1602
1602
  const {
1603
1603
  clone: i = !1,
@@ -1609,24 +1609,24 @@ function hf(e, t, n, r = {}) {
1609
1609
  } = r, p = Ze(), g = n || (p == null ? void 0 : p.emit) || ((o = p == null ? void 0 : p.$emit) == null ? void 0 : o.bind(p)) || ((a = (s = p == null ? void 0 : p.proxy) == null ? void 0 : s.$emit) == null ? void 0 : a.bind(p == null ? void 0 : p.proxy));
1610
1610
  let y = c;
1611
1611
  t || (t = "modelValue"), y = y || `update:${t.toString()}`;
1612
- const m = (T) => i ? typeof i == "function" ? i(T) : As(T) : T, S = () => gs(e[t]) ? m(e[t]) : f, $ = (T) => {
1612
+ const m = (T) => i ? typeof i == "function" ? i(T) : xs(T) : T, S = () => gs(e[t]) ? m(e[t]) : f, $ = (T) => {
1613
1613
  h ? h(T) && g(y, T) : g(y, T);
1614
1614
  };
1615
1615
  if (u) {
1616
- const T = S(), A = B(T);
1616
+ const T = S(), x = B(T);
1617
1617
  let k = !1;
1618
1618
  return ge(
1619
1619
  () => e[t],
1620
1620
  (O) => {
1621
- k || (k = !0, A.value = m(O), Lt(() => k = !1));
1621
+ k || (k = !0, x.value = m(O), Rt(() => k = !1));
1622
1622
  }
1623
1623
  ), ge(
1624
- A,
1624
+ x,
1625
1625
  (O) => {
1626
1626
  !k && (O !== e[t] || d) && $(O);
1627
1627
  },
1628
1628
  { deep: d }
1629
- ), A;
1629
+ ), x;
1630
1630
  } else
1631
1631
  return W({
1632
1632
  get() {
@@ -1637,7 +1637,7 @@ function hf(e, t, n, r = {}) {
1637
1637
  }
1638
1638
  });
1639
1639
  }
1640
- const Un = "", _n = `
1640
+ const Nn = "", Un = `
1641
1641
  `;
1642
1642
  class U {
1643
1643
  /**
@@ -1645,7 +1645,7 @@ class U {
1645
1645
  * Lines are aggregated in a `code` array, and need to be joined to obtain a proper code snippet.
1646
1646
  */
1647
1647
  constructor({ indent: t, join: n } = {}) {
1648
- this.postProcessors = [], this.code = [], this.indentationCharacter = Un, this.lineJoin = _n, this.indentLine = (r, o = 0) => `${this.indentationCharacter.repeat(o)}${r}`, this.unshift = (r, o) => {
1648
+ this.postProcessors = [], this.code = [], this.indentationCharacter = Nn, this.lineJoin = Un, this.indentLine = (r, o = 0) => `${this.indentationCharacter.repeat(o)}${r}`, this.unshift = (r, o) => {
1649
1649
  const s = this.indentLine(r, o);
1650
1650
  this.code.unshift(s);
1651
1651
  }, this.push = (r, o) => {
@@ -1658,7 +1658,7 @@ class U {
1658
1658
  return this.postProcessors.reduce((s, a) => a(s), r);
1659
1659
  }, this.addPostProcessor = (r) => {
1660
1660
  this.postProcessors = [...this.postProcessors, r];
1661
- }, this.indentationCharacter = t || Un, this.lineJoin = n ?? _n;
1661
+ }, this.indentationCharacter = t || Nn, this.lineJoin = n ?? Un;
1662
1662
  }
1663
1663
  }
1664
1664
  function Ke(e, t = {}) {
@@ -1666,7 +1666,7 @@ function Ke(e, t = {}) {
1666
1666
  return [...e.toString()].map((a) => a === "\b" ? `${r}b` : a === " " ? `${r}t` : a === `
1667
1667
  ` ? o ? `${r}n` : a : a === "\f" ? `${r}f` : a === "\r" ? o ? `${r}r` : a : a === r ? r + r : a === n ? r + n : a < " " || a > "~" ? JSON.stringify(a).slice(1, -1) : a).join("");
1668
1668
  }
1669
- const Dt = (e) => Ke(e, { delimiter: "'" }), F = (e) => Ke(e, { delimiter: '"' }), Ds = {
1669
+ const Ht = (e) => Ke(e, { delimiter: "'" }), F = (e) => Ke(e, { delimiter: '"' }), Ds = {
1670
1670
  info: {
1671
1671
  key: "libcurl",
1672
1672
  title: "Libcurl",
@@ -1833,7 +1833,7 @@ const Fs = {
1833
1833
  const n = ee(e, t);
1834
1834
  if (n)
1835
1835
  return e[n];
1836
- }, _r = (e, t) => !!ee(e, t), Ws = (e) => {
1836
+ }, Ur = (e, t) => !!ee(e, t), Ws = (e) => {
1837
1837
  let t = se(e, "accept-encoding");
1838
1838
  if (!t)
1839
1839
  return [];
@@ -1954,7 +1954,7 @@ const Fs = {
1954
1954
  return N(Qs, e);
1955
1955
  }
1956
1956
  };
1957
- class Hn {
1957
+ class _n {
1958
1958
  constructor(t) {
1959
1959
  this.name = "", this.toString = () => `:${this.name}`, this.name = t;
1960
1960
  }
@@ -1964,14 +1964,14 @@ let Zs = class {
1964
1964
  this.path = "", this.toString = () => `(clojure.java.io/file "${this.path}")`, this.path = t;
1965
1965
  }
1966
1966
  };
1967
- const Hr = (e) => e === void 0 ? null : e === null ? "null" : e.constructor.name.toLowerCase(), Dr = (e) => Hr(e) === "object" ? Object.keys(e).length === 0 : !1, Dn = (e) => (Object.keys(e).filter((t) => Dr(e[t])).forEach((t) => {
1967
+ const _r = (e) => e === void 0 ? null : e === null ? "null" : e.constructor.name.toLowerCase(), Hr = (e) => _r(e) === "object" ? Object.keys(e).length === 0 : !1, Hn = (e) => (Object.keys(e).filter((t) => Hr(e[t])).forEach((t) => {
1968
1968
  delete e[t];
1969
1969
  }), e), Me = (e, t) => {
1970
1970
  const n = " ".repeat(e);
1971
1971
  return t.replace(/\n/g, `
1972
1972
  ${n}`);
1973
1973
  }, wt = (e) => {
1974
- switch (Hr(e)) {
1974
+ switch (_r(e)) {
1975
1975
  case "string":
1976
1976
  return `"${e.replace(/"/g, '\\"')}"`;
1977
1977
  case "file":
@@ -2017,7 +2017,7 @@ ${n}`);
2017
2017
  switch (e && Object.keys(e).length > 0 && (r = r.split("?")[0]), n == null ? void 0 : n.mimeType) {
2018
2018
  case "application/json":
2019
2019
  {
2020
- c["content-type"] = new Hn("json"), c["form-params"] = n.jsonObj;
2020
+ c["content-type"] = new _n("json"), c["form-params"] = n.jsonObj;
2021
2021
  const d = ee(c.headers, "content-type");
2022
2022
  d && delete c.headers[d];
2023
2023
  }
@@ -2054,17 +2054,17 @@ ${n}`);
2054
2054
  switch (se(c.headers, "accept")) {
2055
2055
  case "application/json":
2056
2056
  {
2057
- c.accept = new Hn("json");
2057
+ c.accept = new _n("json");
2058
2058
  const d = ee(c.headers, "accept");
2059
2059
  d && delete c.headers[d];
2060
2060
  }
2061
2061
  break;
2062
2062
  }
2063
2063
  if (a(`(require '[clj-http.client :as client])
2064
- `), Dr(Dn(c)))
2064
+ `), Hr(Hn(c)))
2065
2065
  a(`(client/${t} "${r}")`);
2066
2066
  else {
2067
- const d = 11 + t.length + r.length, f = Me(d, wt(Dn(c)));
2067
+ const d = 11 + t.length + r.length, f = Me(d, wt(Hn(c)));
2068
2068
  a(`(client/${t} "${r}" ${f})`);
2069
2069
  }
2070
2070
  return i();
@@ -2493,7 +2493,7 @@ ofetch('${t.url}'${o})`;
2493
2493
  break;
2494
2494
  if (u("const form = new FormData();"), r.params.forEach((h) => {
2495
2495
  u(`form.append('${h.name}', '${h.value || h.fileName || ""}');`);
2496
- }), d.processData = !1, d.contentType = !1, d.mimeType = "multipart/form-data", d.data = "[form]", _r(n, "content-type") && !((s = se(n, "content-type")) === null || s === void 0) && s.includes("boundary")) {
2496
+ }), d.processData = !1, d.contentType = !1, d.mimeType = "multipart/form-data", d.data = "[form]", Ur(n, "content-type") && !((s = se(n, "content-type")) === null || s === void 0) && s.includes("boundary")) {
2497
2497
  const h = ee(n, "content-type");
2498
2498
  h && delete d.headers[h];
2499
2499
  }
@@ -2539,7 +2539,7 @@ ofetch('${t.url}'${o})`;
2539
2539
  break;
2540
2540
  if (u("const data = new FormData();"), e.params.forEach((d) => {
2541
2541
  u(`data.append('${d.name}', '${d.value || d.fileName || ""}');`);
2542
- }), _r(t, "content-type") && !((s = se(t, "content-type")) === null || s === void 0) && s.includes("boundary")) {
2542
+ }), Ur(t, "content-type") && !((s = se(t, "content-type")) === null || s === void 0) && s.includes("boundary")) {
2543
2543
  const d = ee(t, "content-type");
2544
2544
  d && delete t[d];
2545
2545
  }
@@ -2549,7 +2549,7 @@ ofetch('${t.url}'${o})`;
2549
2549
  u(`const data = ${e != null && e.text ? `'${e.text}'` : "null"};`), i();
2550
2550
  }
2551
2551
  return u("const xhr = new XMLHttpRequest();"), a.cors && u("xhr.withCredentials = true;"), i(), u("xhr.addEventListener('readystatechange', function () {"), u("if (this.readyState === this.DONE) {", 1), u("console.log(this.responseText);", 2), u("}", 1), u("});"), i(), u(`xhr.open('${n}', '${r}');`), Object.keys(t).forEach((d) => {
2552
- u(`xhr.setRequestHeader('${d}', '${Dt(t[d])}');`);
2552
+ u(`xhr.setRequestHeader('${d}', '${Ht(t[d])}');`);
2553
2553
  }), i(), u("xhr.send(data);"), c();
2554
2554
  }
2555
2555
  }, ku = {
@@ -2726,7 +2726,7 @@ const { statusCode, body } = await request('${t.url}${o}'${s})`;
2726
2726
  default:
2727
2727
  return e == null ? "" : `@"${e.toString().replace(/"/g, '\\"')}"`;
2728
2728
  }
2729
- }, xu = {
2729
+ }, Au = {
2730
2730
  info: {
2731
2731
  key: "nsurlsession",
2732
2732
  title: "NSURLSession",
@@ -2767,12 +2767,12 @@ const { statusCode, body } = await request('${t.url}${o}'${s})`;
2767
2767
  }
2768
2768
  return c(), i(`NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"${r}"]`), i(" cachePolicy:NSURLRequestUseProtocolCachePolicy"), i(` timeoutInterval:${a.timeout.toFixed(1)}];`), i(`[request setHTTPMethod:@"${n}"];`), d.hasHeaders && i("[request setAllHTTPHeaderFields:headers];"), d.hasBody && i("[request setHTTPBody:postData];"), c(), i("NSURLSession *session = [NSURLSession sharedSession];"), i("NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request"), i(" completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {"), i(" if (error) {", 1), i(' NSLog(@"%@", error);', 2), i(" } else {", 1), i(" NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;", 2), i(' NSLog(@"%@", httpResponse);', 2), i(" }", 1), i(" }];"), i("[dataTask resume];"), u();
2769
2769
  }
2770
- }, Au = {
2770
+ }, xu = {
2771
2771
  target: "objc",
2772
2772
  client: "nsurlsession",
2773
2773
  title: "NSURLSession",
2774
2774
  generate(e) {
2775
- return N(xu, e);
2775
+ return N(Au, e);
2776
2776
  }
2777
2777
  }, Pu = {
2778
2778
  info: {
@@ -2954,27 +2954,27 @@ const Bu = {
2954
2954
 
2955
2955
  `;
2956
2956
  if (Object.keys(n).length > 0) {
2957
- const i = Fr(n);
2957
+ const i = Dr(n);
2958
2958
  s += `$response = $client->request('${r}', '${o}', ${i});`;
2959
2959
  } else
2960
2960
  s += `$response = $client->request('${r}', '${o}');`;
2961
2961
  return s;
2962
2962
  }
2963
2963
  };
2964
- function Fr(e, t = 0) {
2964
+ function Dr(e, t = 0) {
2965
2965
  if (Object.keys(e).length === 0)
2966
2966
  return "[]";
2967
2967
  const n = " ".repeat(4);
2968
2968
  let r = `[
2969
2969
  `;
2970
2970
  for (const [o, s] of Object.entries(e)) {
2971
- const a = qr(s, t + 1);
2971
+ const a = Fr(s, t + 1);
2972
2972
  r += `${n.repeat(t + 1)}'${o}' => ${a},
2973
2973
  `;
2974
2974
  }
2975
2975
  return r += `${n.repeat(t)}]`, r;
2976
2976
  }
2977
- function qr(e, t) {
2977
+ function Fr(e, t) {
2978
2978
  if (e === null)
2979
2979
  return "null";
2980
2980
  if (typeof e == "boolean")
@@ -2992,14 +2992,14 @@ function qr(e, t) {
2992
2992
  let r = `[
2993
2993
  `;
2994
2994
  return e.forEach((o) => {
2995
- const s = qr(o, t + 1);
2995
+ const s = Fr(o, t + 1);
2996
2996
  r += `${n.repeat(t + 1)}${s},
2997
2997
  `;
2998
2998
  }), r += `${n.repeat(t)}]`, r;
2999
2999
  }
3000
- return typeof e == "object" ? Fr(e, t) : `'${e}'`;
3000
+ return typeof e == "object" ? Dr(e, t) : `'${e}'`;
3001
3001
  }
3002
- const Mr = (e) => ({ method: n, headersObj: r, cookies: o, uriObj: s, fullUrl: a, postData: i, allHeaders: u }) => {
3002
+ const qr = (e) => ({ method: n, headersObj: r, cookies: o, uriObj: s, fullUrl: a, postData: i, allHeaders: u }) => {
3003
3003
  const { push: c, join: d } = new U();
3004
3004
  if (!["GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS"].includes(n.toUpperCase()))
3005
3005
  return "Method not supported";
@@ -3019,7 +3019,7 @@ const Mr = (e) => ({ method: n, headersObj: r, cookies: o, uriObj: s, fullUrl: a
3019
3019
  link: "https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-WebRequest",
3020
3020
  description: "Powershell Invoke-WebRequest client"
3021
3021
  },
3022
- convert: Mr("Invoke-WebRequest")
3022
+ convert: qr("Invoke-WebRequest")
3023
3023
  }, Nu = {
3024
3024
  target: "powershell",
3025
3025
  client: "webrequest",
@@ -3034,7 +3034,7 @@ const Mr = (e) => ({ method: n, headersObj: r, cookies: o, uriObj: s, fullUrl: a
3034
3034
  link: "https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-RestMethod",
3035
3035
  description: "Powershell Invoke-RestMethod client"
3036
3036
  },
3037
- convert: Mr("Invoke-RestMethod")
3037
+ convert: qr("Invoke-RestMethod")
3038
3038
  }, _u = {
3039
3039
  target: "powershell",
3040
3040
  client: "restmethod",
@@ -3074,7 +3074,7 @@ const Mr = (e) => ({ method: n, headersObj: r, cookies: o, uriObj: s, fullUrl: a
3074
3074
  generate(e) {
3075
3075
  return N(Hu, e);
3076
3076
  }
3077
- }, Fn = 40, Fu = {
3077
+ }, Dn = 40, Fu = {
3078
3078
  target: "python",
3079
3079
  client: "requests",
3080
3080
  title: "Requests",
@@ -3103,7 +3103,7 @@ const Mr = (e) => ({ method: n, headersObj: r, cookies: o, uriObj: s, fullUrl: a
3103
3103
  } else p === "application/x-www-form-urlencoded" && y && (o.data = Object.fromEntries(y.map((m) => [m.name, m.value])));
3104
3104
  }
3105
3105
  const s = [], a = `"${n.url}"`;
3106
- n.url.length > Fn ? s.push(a) : s.push("");
3106
+ n.url.length > Dn ? s.push(a) : s.push("");
3107
3107
  for (const [p, g] of Object.entries(o))
3108
3108
  if (p === "auth")
3109
3109
  s.push(`${p}=(${JSON.stringify(g[0])}, ${JSON.stringify(g[1])})`);
@@ -3123,7 +3123,7 @@ const Mr = (e) => ({ method: n, headersObj: r, cookies: o, uriObj: s, fullUrl: a
3123
3123
  `);
3124
3124
  s.push(`${p}=${y}`);
3125
3125
  }
3126
- return n.url.length > Fn ? `requests.${r}(
3126
+ return n.url.length > Dn ? `requests.${r}(
3127
3127
  ${s.join(`,
3128
3128
  `)}
3129
3129
  )` : s.length <= 1 ? `requests.${r}(${a})` : `requests.${r}(${a}${s.length > 1 ? "," : ""}
@@ -3150,8 +3150,8 @@ const Mr = (e) => ({ method: n, headersObj: r, cookies: o, uriObj: s, fullUrl: a
3150
3150
  if (g === 1) {
3151
3151
  const E = p[0];
3152
3152
  c(`queryString <- list(${E[0]} = "${E[1]}")`), d();
3153
- } else g > 1 && (c("queryString <- list("), p.forEach(([E, P], x) => {
3154
- const L = x !== g - 1 ? "," : "";
3153
+ } else g > 1 && (c("queryString <- list("), p.forEach(([E, P], A) => {
3154
+ const L = A !== g - 1 ? "," : "";
3155
3155
  c(`${E} = "${P}"${L}`, 1);
3156
3156
  }), c(")"), d());
3157
3157
  const y = JSON.stringify(r == null ? void 0 : r.text);
@@ -3170,10 +3170,10 @@ const Mr = (e) => ({ method: n, headersObj: r, cookies: o, uriObj: s, fullUrl: a
3170
3170
  c('encode <- "raw"'), d();
3171
3171
  break;
3172
3172
  }
3173
- const m = se(o, "cookie"), S = se(o, "accept"), $ = m ? `set_cookies(\`${String(m).replace(/;/g, '", `').replace(/` /g, "`").replace(/[=]/g, '` = "')}")` : void 0, T = S ? `accept("${F(S)}")` : void 0, A = `content_type("${F((u = r == null ? void 0 : r.mimeType) !== null && u !== void 0 ? u : "application/octet-stream")}")`, k = Object.entries(o).filter(([E]) => !["cookie", "accept", "content-type"].includes(E.toLowerCase())).map(([E, P]) => `'${E}' = '${Dt(P)}'`).join(", "), O = k ? `add_headers(${k})` : void 0;
3173
+ const m = se(o, "cookie"), S = se(o, "accept"), $ = m ? `set_cookies(\`${String(m).replace(/;/g, '", `').replace(/` /g, "`").replace(/[=]/g, '` = "')}")` : void 0, T = S ? `accept("${F(S)}")` : void 0, x = `content_type("${F((u = r == null ? void 0 : r.mimeType) !== null && u !== void 0 ? u : "application/octet-stream")}")`, k = Object.entries(o).filter(([E]) => !["cookie", "accept", "content-type"].includes(E.toLowerCase())).map(([E, P]) => `'${E}' = '${Ht(P)}'`).join(", "), O = k ? `add_headers(${k})` : void 0;
3174
3174
  let w = `response <- VERB("${s}", url`;
3175
3175
  y && (w += ", body = payload"), n.length && (w += ", query = queryString");
3176
- const C = [O, A, T, $].filter((E) => !!E).join(", ");
3176
+ const C = [O, x, T, $].filter((E) => !!E).join(", ");
3177
3177
  return C && (w += `, ${C}`), r && (r.text || r.jsonObj || r.params) && (w += ", encode = encode"), w += ")", c(w), d(), c('content(response, "text")'), f();
3178
3178
  }
3179
3179
  }, Mu = {
@@ -3210,7 +3210,7 @@ const Mr = (e) => ({ method: n, headersObj: r, cookies: o, uriObj: s, fullUrl: a
3210
3210
  f.includes(d) || (i(`class Net::HTTP::${h} < Net::HTTPRequest`), i(` METHOD = '${d.toUpperCase()}'`), i(` REQUEST_HAS_BODY = '${r != null && r.text ? "true" : "false"}'`), i(" RESPONSE_HAS_BODY = true"), i("end"), u()), i(`url = URI("${n}")`), u(), i("http = Net::HTTP.new(url.host, url.port)"), e.protocol === "https:" && (i("http.use_ssl = true"), a && i("http.verify_mode = OpenSSL::SSL::VERIFY_NONE")), u(), i(`request = Net::HTTP::${h}.new(url)`);
3211
3211
  const p = Object.keys(o);
3212
3212
  return p.length && p.forEach((g) => {
3213
- i(`request["${g}"] = '${Dt(o[g])}'`);
3213
+ i(`request["${g}"] = '${Ht(o[g])}'`);
3214
3214
  }), r != null && r.text && i(`request.body = ${JSON.stringify(r.text)}`), u(), i("response = http.request(request)"), i("puts response.read_body"), c();
3215
3215
  }
3216
3216
  }, Ju = {
@@ -3364,8 +3364,8 @@ ${i.indent}` : " "
3364
3364
  generate(e) {
3365
3365
  return N(Ku, e);
3366
3366
  }
3367
- }, qn = (e, t) => t.repeat(e), Mn = (e, t, n, r) => {
3368
- const o = qn(r, n), s = qn(r - 1, n), a = t ? `,
3367
+ }, Fn = (e, t) => t.repeat(e), qn = (e, t, n, r) => {
3368
+ const o = Fn(r, n), s = Fn(r - 1, n), a = t ? `,
3369
3369
  ${o}` : ", ";
3370
3370
  return t ? `[
3371
3371
  ${o}${e.join(a)}
@@ -3377,13 +3377,13 @@ ${s}]` : `[${e.join(a)}]`;
3377
3377
  case "[object Array]": {
3378
3378
  let r = !1;
3379
3379
  const o = e.map((s) => (Object.prototype.toString.call(s) === "[object Object]" && (r = Object.keys(s).length > 1), Et(s, t, n)));
3380
- return Mn(o, r, t.indent, n);
3380
+ return qn(o, r, t.indent, n);
3381
3381
  }
3382
3382
  case "[object Object]": {
3383
3383
  const r = [];
3384
3384
  for (const o in e)
3385
3385
  r.push(`"${o}": ${Et(e[o], t, n)}`);
3386
- return Mn(
3386
+ return qn(
3387
3387
  r,
3388
3388
  // @ts-expect-error needs better types
3389
3389
  t.pretty && r.length > 1,
@@ -3512,7 +3512,7 @@ ${s}]` : `[${e.join(a)}]`;
3512
3512
  key: "objc",
3513
3513
  title: "Objective-C",
3514
3514
  default: "nsurlsession",
3515
- clients: [Au]
3515
+ clients: [xu]
3516
3516
  },
3517
3517
  {
3518
3518
  key: "ocaml",
@@ -3657,7 +3657,7 @@ function Ie(e) {
3657
3657
  }
3658
3658
  return (e == null ? void 0 : e.subexample) !== void 0 ? e.subexample : e != null && e.subexamples && ((a = e == null ? void 0 : e.subexamples) == null ? void 0 : a.length) > 0 ? e.subexamples[0] : null;
3659
3659
  }
3660
- function Vr(e, t = "http://localhost") {
3660
+ function Mr(e, t = "http://localhost") {
3661
3661
  try {
3662
3662
  return new URL(e), e;
3663
3663
  } catch (n) {
@@ -3695,14 +3695,14 @@ class nc {
3695
3695
  this.baseUrl = t, this.path = n, this.url = p, this.method = o, this.parameters = s, this.authorizations = a, this.body = i, this.variables = u || {}, this.headers = c || {}, this.query = d || {}, this.contentType = f, this.cookies = h || {};
3696
3696
  }
3697
3697
  }
3698
- function Ft(e, t, n) {
3698
+ function Dt(e, t, n) {
3699
3699
  const r = new Set(t.map((o) => o.name));
3700
3700
  for (const [o, s] of Object.entries(e))
3701
3701
  r.has(o) && (s === void 0 || s === "" || n(o, s));
3702
3702
  }
3703
3703
  function rc(e, t, n = "") {
3704
3704
  let r = n;
3705
- return Ft(e, t, (o, s) => {
3705
+ return Dt(e, t, (o, s) => {
3706
3706
  r = r.replace(`{${o}}`, s);
3707
3707
  }), r;
3708
3708
  }
@@ -3715,7 +3715,7 @@ function oc(e, t, n, r) {
3715
3715
  else
3716
3716
  for (const [s, a] of Object.entries(e))
3717
3717
  o.set(s.toLowerCase(), a);
3718
- return Ft(t, n, (s, a) => {
3718
+ return Dt(t, n, (s, a) => {
3719
3719
  o.set(s.toLowerCase(), a);
3720
3720
  }), ic(r).forEach((s, a) => {
3721
3721
  o.set(a.toLowerCase(), s);
@@ -3732,7 +3732,7 @@ function ic(e) {
3732
3732
  }
3733
3733
  function ac(e, t) {
3734
3734
  const n = {};
3735
- return Ft(e, t, (r, o) => {
3735
+ return Dt(e, t, (r, o) => {
3736
3736
  n[r] = o;
3737
3737
  }), n;
3738
3738
  }
@@ -3744,7 +3744,7 @@ function sc(e, t) {
3744
3744
  r != null && (t[n.name] = r);
3745
3745
  }), t;
3746
3746
  }
3747
- function Jr({
3747
+ function Vr({
3748
3748
  url: e = void 0,
3749
3749
  path: t,
3750
3750
  method: n = "GET",
@@ -3761,7 +3761,7 @@ function Jr({
3761
3761
  h,
3762
3762
  s
3763
3763
  );
3764
- r = r ? Vr(r) : it;
3764
+ r = r ? Mr(r) : it;
3765
3765
  const S = e ? new URL(e) : r ? new URL(`${r}${p}`) : new URL(p, "http://localhost");
3766
3766
  return a && !m["content-type"] && (m["content-type"] = "application/json"), new nc({
3767
3767
  path: p,
@@ -3793,8 +3793,8 @@ const uc = {
3793
3793
  php: "curl",
3794
3794
  python: "requests"
3795
3795
  };
3796
- async function Gr(e, t) {
3797
- const n = tc(Jr(t));
3796
+ async function Jr(e, t) {
3797
+ const n = tc(Vr(t));
3798
3798
  try {
3799
3799
  return ec().print(uc[e], cc[e], n) ?? "";
3800
3800
  } catch (r) {
@@ -3802,23 +3802,23 @@ async function Gr(e, t) {
3802
3802
  }
3803
3803
  }
3804
3804
  const lc = (e) => e !== null && typeof e == "object", dc = Array.isArray;
3805
- function qt(e) {
3806
- const t = ir(e) ? et(e) : e;
3805
+ function Ft(e) {
3806
+ const t = or(e) ? et(e) : e;
3807
3807
  return lc(t) ? dc(t) ? fc(t) : pc(t) : t;
3808
3808
  }
3809
- function zr(e) {
3810
- return e !== null && !ir(e) && typeof e == "object" ? qt(e) : et(e);
3809
+ function Gr(e) {
3810
+ return e !== null && !or(e) && typeof e == "object" ? Ft(e) : et(e);
3811
3811
  }
3812
3812
  function fc(e) {
3813
- return e.map((t) => zr(t));
3813
+ return e.map((t) => Gr(t));
3814
3814
  }
3815
3815
  function pc(e) {
3816
3816
  const t = {};
3817
3817
  return Object.keys(e).forEach((n) => {
3818
- t[n] = zr(e[n]);
3818
+ t[n] = Gr(e[n]);
3819
3819
  }), t;
3820
3820
  }
3821
- const hc = "Response", gc = "Responses", mc = "Loading...", bc = "Samples", yc = "Parameters", Sc = "Required", $c = "Key", kc = "Value", vc = "Variables", Tc = "Type", Oc = "Headers", wc = "Schema", jc = "Authorizations", Ec = "Authorization", Cc = "Deprecated", xc = "Body", Ac = "License", Pc = "Contact", Rc = "Servers", Lc = "Server", Bc = "Select...", Ic = "Operations", Nc = "Default", Uc = "Example", _c = "Examples", Hc = "or", Dc = "Enum", Fc = "Playground", qc = {
3821
+ const hc = "Response", gc = "Responses", mc = "Loading...", bc = "Samples", yc = "Parameters", Sc = "Required", $c = "Key", kc = "Value", vc = "Variables", Tc = "Type", Oc = "Headers", wc = "Schema", jc = "Authorizations", Ec = "Authorization", Cc = "Deprecated", Ac = "Body", xc = "License", Pc = "Contact", Rc = "Servers", Lc = "Server", Bc = "Select...", Ic = "Operations", Nc = "Default", Uc = "Example", _c = "Examples", Hc = "or", Dc = "Enum", Fc = "Playground", qc = {
3822
3822
  Response: hc,
3823
3823
  Responses: gc,
3824
3824
  "Try it out": "Try it out",
@@ -3843,9 +3843,9 @@ const hc = "Response", gc = "Responses", mc = "Loading...", bc = "Samples", yc =
3843
3843
  Authorization: Ec,
3844
3844
  "Use example": "Use example",
3845
3845
  Deprecated: Cc,
3846
- Body: xc,
3846
+ Body: Ac,
3847
3847
  "Terms of Service": "Terms of Service",
3848
- License: Ac,
3848
+ License: xc,
3849
3849
  Contact: Pc,
3850
3850
  "API Documentation": "API Documentation",
3851
3851
  "External Documentation": "External Documentation",
@@ -3924,7 +3924,7 @@ const hc = "Response", gc = "Responses", mc = "Loading...", bc = "Samples", yc =
3924
3924
  "Enter a custom server URL": "Introduce una URL de servidor personalizada",
3925
3925
  "Select a server": "Selecciona un servidor...",
3926
3926
  Playground: ml
3927
- }, yl = "レスポンス", Sl = "レスポンス", $l = "Loading...", kl = "サンプル", vl = "パラメータ", Tl = "必須", Ol = "キー", wl = "値", jl = "変数", El = "型", Cl = "ヘッダー", xl = "スキーマ", Al = "認証", Pl = "認証", Rl = "非推奨", Ll = "ボディ", Bl = "ライセンス", Il = "連絡先", Nl = "サーバー", Ul = "サーバー", _l = "選択...", Hl = "オペレーション", Dl = "デフォルト", Fl = "例", ql = "例", Ml = "or", Vl = "Enum", Jl = "Playground", Gl = {
3927
+ }, yl = "レスポンス", Sl = "レスポンス", $l = "Loading...", kl = "サンプル", vl = "パラメータ", Tl = "必須", Ol = "キー", wl = "値", jl = "変数", El = "型", Cl = "ヘッダー", Al = "スキーマ", xl = "認証", Pl = "認証", Rl = "非推奨", Ll = "ボディ", Bl = "ライセンス", Il = "連絡先", Nl = "サーバー", Ul = "サーバー", _l = "選択...", Hl = "オペレーション", Dl = "デフォルト", Fl = "例", ql = "例", Ml = "or", Vl = "Enum", Jl = "Playground", Gl = {
3928
3928
  Response: yl,
3929
3929
  Responses: Sl,
3930
3930
  "Try it out": "実行",
@@ -3943,9 +3943,9 @@ const hc = "Response", gc = "Responses", mc = "Loading...", bc = "Samples", yc =
3943
3943
  "Header Parameters": "ヘッダーパラメータ",
3944
3944
  Headers: Cl,
3945
3945
  "Request Body": "リクエストボディ",
3946
- Schema: xl,
3946
+ Schema: Al,
3947
3947
  JSON: "JSON",
3948
- Authorizations: Al,
3948
+ Authorizations: xl,
3949
3949
  Authorization: Pl,
3950
3950
  "Use example": "例を使用",
3951
3951
  Deprecated: Rl,
@@ -4047,7 +4047,7 @@ const hc = "Response", gc = "Responses", mc = "Loading...", bc = "Samples", yc =
4047
4047
  "code-samples",
4048
4048
  "branding",
4049
4049
  "footer"
4050
- ], it = "http://localhost", Mt = [
4050
+ ], it = "http://localhost", qt = [
4051
4051
  {
4052
4052
  lang: "curl",
4053
4053
  label: "cURL",
@@ -4166,8 +4166,8 @@ const hc = "Response", gc = "Responses", mc = "Loading...", bc = "Samples", yc =
4166
4166
  "python"
4167
4167
  ],
4168
4168
  defaultLang: "curl",
4169
- availableLanguages: Mt,
4170
- generator: (e, t) => Gr(e, t),
4169
+ availableLanguages: qt,
4170
+ generator: (e, t) => Jr(e, t),
4171
4171
  defaultHeaders: {}
4172
4172
  },
4173
4173
  linksPrefixes: {
@@ -4178,20 +4178,20 @@ const hc = "Response", gc = "Responses", mc = "Loading...", bc = "Samples", yc =
4178
4178
  allowCustomServer: !1,
4179
4179
  getServers: null
4180
4180
  }
4181
- }, Od = { ...qt(b) }, wd = Hs({
4181
+ }, Od = { ...Ft(b) }, wd = Hs({
4182
4182
  storageKey: "vitepress-theme-appearance"
4183
4183
  });
4184
4184
  function jd(e = {}) {
4185
4185
  t(e);
4186
4186
  function t(l) {
4187
- var v, I, ce, ne, rn, on, an, sn, un, cn, ln, dn, fn, pn, hn, gn, mn, bn, yn, Sn, $n, kn, vn;
4188
- !l || !Object.keys(l).length || ((v = l == null ? void 0 : l.theme) != null && v.highlighterTheme && i(l.theme.highlighterTheme), ((I = l == null ? void 0 : l.requestBody) == null ? void 0 : I.defaultView) !== void 0 && c(l.requestBody.defaultView), ((ce = l == null ? void 0 : l.path) == null ? void 0 : ce.showBaseURL) !== void 0 && f(l.path.showBaseURL), ((ne = l == null ? void 0 : l.jsonViewer) == null ? void 0 : ne.deep) !== void 0 && p(l.jsonViewer.deep), ((rn = l == null ? void 0 : l.jsonViewer) == null ? void 0 : rn.renderer) !== void 0 && y(l.jsonViewer.renderer), ((on = l == null ? void 0 : l.schemaViewer) == null ? void 0 : on.deep) !== void 0 && S(l.schemaViewer.deep), (l == null ? void 0 : l.headingLevels) !== void 0 && A(l.headingLevels), ((an = l == null ? void 0 : l.response) == null ? void 0 : an.responseCodeSelector) !== void 0 && O(l.response.responseCodeSelector), ((sn = l == null ? void 0 : l.response) == null ? void 0 : sn.maxTabs) !== void 0 && C(l.response.maxTabs), ((cn = (un = l == null ? void 0 : l.response) == null ? void 0 : un.body) == null ? void 0 : cn.defaultView) !== void 0 && P(l.response.body.defaultView), ((dn = (ln = l == null ? void 0 : l.playground) == null ? void 0 : ln.jsonEditor) == null ? void 0 : dn.mode) !== void 0 && R(l.playground.jsonEditor.mode), ((pn = (fn = l == null ? void 0 : l.playground) == null ? void 0 : fn.jsonEditor) == null ? void 0 : pn.mainMenuBar) !== void 0 && ue(l.playground.jsonEditor.mainMenuBar), ((gn = (hn = l == null ? void 0 : l.playground) == null ? void 0 : hn.jsonEditor) == null ? void 0 : gn.navigationBar) !== void 0 && Ne(l.playground.jsonEditor.navigationBar), ((mn = l == null ? void 0 : l.security) == null ? void 0 : mn.defaultScheme) !== void 0 && Gt(l.security.defaultScheme), ((bn = l == null ? void 0 : l.operation) == null ? void 0 : bn.badges) !== void 0 && zt(l.operation.badges), ((yn = l == null ? void 0 : l.operation) == null ? void 0 : yn.slots) !== void 0 && Wt(l.operation.slots), ((Sn = l == null ? void 0 : l.operation) == null ? void 0 : Sn.hiddenSlots) !== void 0 && Yt(l.operation.hiddenSlots), (($n = l == null ? void 0 : l.operation) == null ? void 0 : $n.cols) !== void 0 && Kt(l.operation.cols), ((kn = l == null ? void 0 : l.operation) == null ? void 0 : kn.defaultBaseUrl) !== void 0 && So(l.operation.defaultBaseUrl), ((vn = l == null ? void 0 : l.operation) == null ? void 0 : vn.getServers) !== void 0 && ko(l.operation.getServers), (l == null ? void 0 : l.i18n) !== void 0 && Qt(l.i18n), (l == null ? void 0 : l.spec) !== void 0 && Xt(l.spec), (l == null ? void 0 : l.codeSamples) !== void 0 && en(l.codeSamples), (l == null ? void 0 : l.linksPrefixes) !== void 0 && tn(l.linksPrefixes), (l == null ? void 0 : l.server) !== void 0 && nn(l.server));
4187
+ var v, I, ce, ne, nn, rn, on, an, sn, un, cn, ln, dn, fn, pn, hn, gn, mn, bn, yn, Sn, $n, kn;
4188
+ !l || !Object.keys(l).length || ((v = l == null ? void 0 : l.theme) != null && v.highlighterTheme && i(l.theme.highlighterTheme), ((I = l == null ? void 0 : l.requestBody) == null ? void 0 : I.defaultView) !== void 0 && c(l.requestBody.defaultView), ((ce = l == null ? void 0 : l.path) == null ? void 0 : ce.showBaseURL) !== void 0 && f(l.path.showBaseURL), ((ne = l == null ? void 0 : l.jsonViewer) == null ? void 0 : ne.deep) !== void 0 && p(l.jsonViewer.deep), ((nn = l == null ? void 0 : l.jsonViewer) == null ? void 0 : nn.renderer) !== void 0 && y(l.jsonViewer.renderer), ((rn = l == null ? void 0 : l.schemaViewer) == null ? void 0 : rn.deep) !== void 0 && S(l.schemaViewer.deep), (l == null ? void 0 : l.headingLevels) !== void 0 && x(l.headingLevels), ((on = l == null ? void 0 : l.response) == null ? void 0 : on.responseCodeSelector) !== void 0 && O(l.response.responseCodeSelector), ((an = l == null ? void 0 : l.response) == null ? void 0 : an.maxTabs) !== void 0 && C(l.response.maxTabs), ((un = (sn = l == null ? void 0 : l.response) == null ? void 0 : sn.body) == null ? void 0 : un.defaultView) !== void 0 && P(l.response.body.defaultView), ((ln = (cn = l == null ? void 0 : l.playground) == null ? void 0 : cn.jsonEditor) == null ? void 0 : ln.mode) !== void 0 && R(l.playground.jsonEditor.mode), ((fn = (dn = l == null ? void 0 : l.playground) == null ? void 0 : dn.jsonEditor) == null ? void 0 : fn.mainMenuBar) !== void 0 && ue(l.playground.jsonEditor.mainMenuBar), ((hn = (pn = l == null ? void 0 : l.playground) == null ? void 0 : pn.jsonEditor) == null ? void 0 : hn.navigationBar) !== void 0 && Ne(l.playground.jsonEditor.navigationBar), ((gn = l == null ? void 0 : l.security) == null ? void 0 : gn.defaultScheme) !== void 0 && Jt(l.security.defaultScheme), ((mn = l == null ? void 0 : l.operation) == null ? void 0 : mn.badges) !== void 0 && Gt(l.operation.badges), ((bn = l == null ? void 0 : l.operation) == null ? void 0 : bn.slots) !== void 0 && zt(l.operation.slots), ((yn = l == null ? void 0 : l.operation) == null ? void 0 : yn.hiddenSlots) !== void 0 && Wt(l.operation.hiddenSlots), ((Sn = l == null ? void 0 : l.operation) == null ? void 0 : Sn.cols) !== void 0 && Yt(l.operation.cols), (($n = l == null ? void 0 : l.operation) == null ? void 0 : $n.defaultBaseUrl) !== void 0 && So(l.operation.defaultBaseUrl), ((kn = l == null ? void 0 : l.operation) == null ? void 0 : kn.getServers) !== void 0 && ko(l.operation.getServers), (l == null ? void 0 : l.i18n) !== void 0 && Kt(l.i18n), (l == null ? void 0 : l.spec) !== void 0 && Qt(l.spec), (l == null ? void 0 : l.codeSamples) !== void 0 && Zt(l.codeSamples), (l == null ? void 0 : l.linksPrefixes) !== void 0 && en(l.linksPrefixes), (l == null ? void 0 : l.server) !== void 0 && tn(l.server));
4189
4189
  }
4190
4190
  function n() {
4191
4191
  t(Od);
4192
4192
  }
4193
4193
  function r() {
4194
- return qt(b);
4194
+ return Ft(b);
4195
4195
  }
4196
4196
  function o() {
4197
4197
  var l, v;
@@ -4257,7 +4257,7 @@ function jd(e = {}) {
4257
4257
  throw new Error(`Heading level for ${l} must be between 1 and 6.`);
4258
4258
  return `h${v}`;
4259
4259
  }
4260
- function A(l) {
4260
+ function x(l) {
4261
4261
  b.headingLevels || (b.headingLevels = {});
4262
4262
  for (const v of Object.keys(l)) {
4263
4263
  const I = l[v];
@@ -4287,7 +4287,7 @@ function jd(e = {}) {
4287
4287
  function P(l) {
4288
4288
  b.response.body.defaultView.value = l;
4289
4289
  }
4290
- function x() {
4290
+ function A() {
4291
4291
  var l, v;
4292
4292
  return (v = (l = b == null ? void 0 : b.playground) == null ? void 0 : l.jsonEditor) == null ? void 0 : v.mode.value;
4293
4293
  }
@@ -4301,7 +4301,7 @@ function jd(e = {}) {
4301
4301
  function ue(l) {
4302
4302
  b.playground.jsonEditor.mainMenuBar.value = l;
4303
4303
  }
4304
- function Jt() {
4304
+ function Vt() {
4305
4305
  var l, v;
4306
4306
  return (v = (l = b == null ? void 0 : b.playground) == null ? void 0 : l.jsonEditor) == null ? void 0 : v.navigationBar.value;
4307
4307
  }
@@ -4312,35 +4312,35 @@ function jd(e = {}) {
4312
4312
  var l, v;
4313
4313
  return (v = (l = b == null ? void 0 : b.security) == null ? void 0 : l.defaultScheme) == null ? void 0 : v.value;
4314
4314
  }
4315
- function Gt(l) {
4315
+ function Jt(l) {
4316
4316
  b.security.defaultScheme.value = l;
4317
4317
  }
4318
4318
  function ho() {
4319
4319
  var l, v;
4320
4320
  return [...((v = (l = b == null ? void 0 : b.operation) == null ? void 0 : l.badges) == null ? void 0 : v.value) || []];
4321
4321
  }
4322
- function zt(l) {
4322
+ function Gt(l) {
4323
4323
  b.operation.badges.value = l;
4324
4324
  }
4325
4325
  function go() {
4326
4326
  var l, v;
4327
4327
  return (v = (l = b == null ? void 0 : b.operation) == null ? void 0 : l.slots) == null ? void 0 : v.value;
4328
4328
  }
4329
- function Wt(l) {
4329
+ function zt(l) {
4330
4330
  b.operation.slots.value = l;
4331
4331
  }
4332
4332
  function mo() {
4333
4333
  var l, v;
4334
4334
  return (v = (l = b == null ? void 0 : b.operation) == null ? void 0 : l.hiddenSlots) == null ? void 0 : v.value;
4335
4335
  }
4336
- function Yt(l) {
4336
+ function Wt(l) {
4337
4337
  b.operation.hiddenSlots.value = l;
4338
4338
  }
4339
4339
  function bo() {
4340
4340
  var l, v;
4341
4341
  return (v = (l = b == null ? void 0 : b.operation) == null ? void 0 : l.cols) == null ? void 0 : v.value;
4342
4342
  }
4343
- function Kt(l) {
4343
+ function Yt(l) {
4344
4344
  b.operation.cols.value = l;
4345
4345
  }
4346
4346
  function yo() {
@@ -4360,7 +4360,7 @@ function jd(e = {}) {
4360
4360
  function vo() {
4361
4361
  return b.i18n;
4362
4362
  }
4363
- function Qt(l) {
4363
+ function Kt(l) {
4364
4364
  l.locale && (b.i18n.locale.value = l.locale), l.fallbackLocale && (b.i18n.fallbackLocale.value = l.fallbackLocale), l.messages && (b.i18n.messages = l.messages), l.availableLocales && (b.i18n.availableLocales = l.availableLocales);
4365
4365
  }
4366
4366
  function To() {
@@ -4370,16 +4370,16 @@ function jd(e = {}) {
4370
4370
  var l;
4371
4371
  return (l = b == null ? void 0 : b.spec) == null ? void 0 : l.wrapExamples;
4372
4372
  }
4373
- function Xt(l) {
4373
+ function Qt(l) {
4374
4374
  b.spec || (b.spec = {}), l.groupByTags !== void 0 && (b.spec.groupByTags.value = l.groupByTags), l.collapsePaths !== void 0 && (b.spec.collapsePaths.value = l.collapsePaths), l.showPathsSummary !== void 0 && (b.spec.showPathsSummary.value = l.showPathsSummary), l.avoidCirculars !== void 0 && (b.spec.avoidCirculars.value = l.avoidCirculars), l.lazyRendering !== void 0 && (b.spec.lazyRendering.value = l.lazyRendering), l.defaultTag !== void 0 && (b.spec.defaultTag = l.defaultTag), l.defaultTagDescription !== void 0 && (b.spec.defaultTagDescription = l.defaultTagDescription), l.wrapExamples !== void 0 && (b.spec.wrapExamples = l.wrapExamples);
4375
4375
  }
4376
- function Zt() {
4376
+ function Xt() {
4377
4377
  var l, v;
4378
4378
  return (v = (l = b == null ? void 0 : b.codeSamples) == null ? void 0 : l.langs) == null ? void 0 : v.filter((I, ce, ne) => ne.indexOf(I) === ce);
4379
4379
  }
4380
4380
  function wo() {
4381
4381
  var I;
4382
- const l = Zt() || [], v = (I = b == null ? void 0 : b.codeSamples) == null ? void 0 : I.defaultLang;
4382
+ const l = Xt() || [], v = (I = b == null ? void 0 : b.codeSamples) == null ? void 0 : I.defaultLang;
4383
4383
  return v && l.includes(v) ? v : l[0];
4384
4384
  }
4385
4385
  function jo() {
@@ -4394,19 +4394,19 @@ function jd(e = {}) {
4394
4394
  var l;
4395
4395
  return (l = b == null ? void 0 : b.codeSamples) == null ? void 0 : l.defaultHeaders;
4396
4396
  }
4397
- function en(l) {
4398
- l.langs && (b.codeSamples.langs = l.langs.filter((v, I, ce) => ce.indexOf(v) === I)), l.defaultLang && (b.codeSamples.defaultLang = l.defaultLang), l.availableLanguages && xo(l.availableLanguages), l.generator && (b.codeSamples.generator = l.generator), l.defaultHeaders && (b.codeSamples.defaultHeaders = l.defaultHeaders);
4397
+ function Zt(l) {
4398
+ l.langs && (b.codeSamples.langs = l.langs.filter((v, I, ce) => ce.indexOf(v) === I)), l.defaultLang && (b.codeSamples.defaultLang = l.defaultLang), l.availableLanguages && Ao(l.availableLanguages), l.generator && (b.codeSamples.generator = l.generator), l.defaultHeaders && (b.codeSamples.defaultHeaders = l.defaultHeaders);
4399
4399
  }
4400
- function xo(l) {
4400
+ function Ao(l) {
4401
4401
  if (!b.codeSamples)
4402
4402
  return;
4403
4403
  const v = [...new Set(l.map(({ lang: I }) => I))];
4404
- b.codeSamples.availableLanguages = v.map((I) => (l.find((ne) => ne.lang === I) ?? Mt.find((ne) => ne.lang === I)) || { lang: I, label: I, highlighter: "plaintext" });
4404
+ b.codeSamples.availableLanguages = v.map((I) => (l.find((ne) => ne.lang === I) ?? qt.find((ne) => ne.lang === I)) || { lang: I, label: I, highlighter: "plaintext" });
4405
4405
  }
4406
- function Ao() {
4406
+ function xo() {
4407
4407
  return b.linksPrefixes;
4408
4408
  }
4409
- function tn(l) {
4409
+ function en(l) {
4410
4410
  l.tags && (b.linksPrefixes.tags = l.tags), l.operations && (b.linksPrefixes.operations = l.operations);
4411
4411
  }
4412
4412
  function Po() {
@@ -4420,7 +4420,7 @@ function jd(e = {}) {
4420
4420
  function Lo() {
4421
4421
  return b.server;
4422
4422
  }
4423
- function nn(l) {
4423
+ function tn(l) {
4424
4424
  l.allowCustomServer !== void 0 && (b.server.allowCustomServer = l.allowCustomServer), l.getServers !== void 0 && (b.server.getServers = l.getServers);
4425
4425
  }
4426
4426
  function Bo() {
@@ -4451,48 +4451,48 @@ function jd(e = {}) {
4451
4451
  setSchemaViewerDeep: S,
4452
4452
  getHeadingLevels: $,
4453
4453
  getHeadingLevel: T,
4454
- setHeadingLevels: A,
4454
+ setHeadingLevels: x,
4455
4455
  getResponseCodeSelector: k,
4456
4456
  setResponseCodeSelector: O,
4457
4457
  getResponseCodeMaxTabs: w,
4458
4458
  setResponseCodeMaxTabs: C,
4459
4459
  getResponseBodyDefaultView: E,
4460
4460
  setResponseBodyDefaultView: P,
4461
- getPlaygroundJsonEditorMode: x,
4461
+ getPlaygroundJsonEditorMode: A,
4462
4462
  setPlaygroundJsonEditorMode: R,
4463
4463
  getPlaygroundJsonEditorMainMenuBar: L,
4464
4464
  setPlaygroundJsonEditorMainMenuBar: ue,
4465
- getPlaygroundJsonEditorNavigationBar: Jt,
4465
+ getPlaygroundJsonEditorNavigationBar: Vt,
4466
4466
  setPlaygroundJsonEditorNavigationBar: Ne,
4467
4467
  getSecurityDefaultScheme: Ue,
4468
- setSecurityDefaultScheme: Gt,
4468
+ setSecurityDefaultScheme: Jt,
4469
4469
  getOperationBadges: ho,
4470
- setOperationBadges: zt,
4470
+ setOperationBadges: Gt,
4471
4471
  getOperationSlots: go,
4472
- setOperationSlots: Wt,
4472
+ setOperationSlots: zt,
4473
4473
  getOperationHiddenSlots: mo,
4474
- setOperationHiddenSlots: Yt,
4474
+ setOperationHiddenSlots: Wt,
4475
4475
  getOperationCols: bo,
4476
- setOperationCols: Kt,
4476
+ setOperationCols: Yt,
4477
4477
  getOperationDefaultBaseUrl: yo,
4478
4478
  getOperationServers: $o,
4479
4479
  getI18nConfig: vo,
4480
- setI18nConfig: Qt,
4480
+ setI18nConfig: Kt,
4481
4481
  getSpecConfig: To,
4482
4482
  getWrapExamples: Oo,
4483
- setSpecConfig: Xt,
4484
- getCodeSamplesLangs: Zt,
4483
+ setSpecConfig: Qt,
4484
+ getCodeSamplesLangs: Xt,
4485
4485
  getCodeSamplesDefaultLang: wo,
4486
4486
  getCodeSamplesAvailableLanguages: jo,
4487
4487
  getCodeSamplesGenerator: Eo,
4488
4488
  getCodeSamplesDefaultHeaders: Co,
4489
- setCodeSamplesConfig: en,
4490
- getLinksPrefixesConfig: Ao,
4491
- setLinksPrefixesConfig: tn,
4489
+ setCodeSamplesConfig: Zt,
4490
+ getLinksPrefixesConfig: xo,
4491
+ setLinksPrefixesConfig: en,
4492
4492
  getTagsLinkPrefix: Po,
4493
4493
  getOperationsLinkPrefix: Ro,
4494
4494
  getServerConfig: Lo,
4495
- setServerConfig: nn,
4495
+ setServerConfig: tn,
4496
4496
  getServerAllowCustomServer: Bo
4497
4497
  };
4498
4498
  }
@@ -4500,7 +4500,7 @@ async function Ed(e) {
4500
4500
  var n, r, o, s, a, i, u;
4501
4501
  if (!(e != null && e.paths))
4502
4502
  return e;
4503
- const t = Vr(((r = (n = e.servers) == null ? void 0 : n[0]) == null ? void 0 : r.url) || "");
4503
+ const t = Mr(((r = (n = e.servers) == null ? void 0 : n[0]) == null ? void 0 : r.url) || "");
4504
4504
  for (const [c, d] of Object.entries(e.paths))
4505
4505
  for (const f of Object.keys(d)) {
4506
4506
  const h = d[f];
@@ -4508,7 +4508,7 @@ async function Ed(e) {
4508
4508
  continue;
4509
4509
  const p = ((s = (o = h.securityUi) == null ? void 0 : o[0]) == null ? void 0 : s.schemes) || [], y = Object.values(
4510
4510
  ((u = (i = (a = h.requestBody) == null ? void 0 : a.content) == null ? void 0 : i["application/json"]) == null ? void 0 : u.examples) || {}
4511
- ).find((S) => S == null ? void 0 : S.isAutogenerated), m = Jr({
4511
+ ).find((S) => S == null ? void 0 : S.isAutogenerated), m = Vr({
4512
4512
  path: c,
4513
4513
  method: f,
4514
4514
  baseUrl: t,
@@ -4525,9 +4525,9 @@ async function Ed(e) {
4525
4525
  variables: {}
4526
4526
  });
4527
4527
  h.codeSamples = await Promise.all(
4528
- Mt.map(async (S) => ({
4528
+ qt.map(async (S) => ({
4529
4529
  ...S,
4530
- source: await Gr(S.lang, m)
4530
+ source: await Jr(S.lang, m)
4531
4531
  }))
4532
4532
  );
4533
4533
  }
@@ -4544,7 +4544,7 @@ function Cd(e) {
4544
4544
  }
4545
4545
  return e;
4546
4546
  }
4547
- function xd(e) {
4547
+ function Ad(e) {
4548
4548
  e.paths = e.paths || {};
4549
4549
  for (const t of Object.keys(e.paths)) {
4550
4550
  const n = e.paths[t];
@@ -4555,7 +4555,7 @@ function xd(e) {
4555
4555
  }
4556
4556
  return e;
4557
4557
  }
4558
- function Ad({
4558
+ function xd({
4559
4559
  spec: e,
4560
4560
  defaultTag: t = "Default",
4561
4561
  defaultTagDescription: n = ""
@@ -4574,7 +4574,7 @@ function Ad({
4574
4574
  description: n
4575
4575
  }), e;
4576
4576
  }
4577
- function Wr(e, t = !1) {
4577
+ function zr(e, t = !1) {
4578
4578
  return Pd(e, t);
4579
4579
  }
4580
4580
  function Pd(e, t) {
@@ -4582,18 +4582,18 @@ function Pd(e, t) {
4582
4582
  }
4583
4583
  function Xe(e, t) {
4584
4584
  var n, r;
4585
- return (n = e.meta) != null && n.isCircularReference ? "[Circular Reference]" : (r = e.meta) != null && r.isConstant ? Rd(e) : xt(e, "array") ? Yr(e, t) : Ld(e) ? Vn(e, t) : Bd(e) ? Vn({
4585
+ return (n = e.meta) != null && n.isCircularReference ? "[Circular Reference]" : (r = e.meta) != null && r.isConstant ? Rd(e) : Yr(e, "array") ? Wr(e, t) : Ld(e) ? Mn(e, t) : Bd(e) ? Mn({
4586
4586
  ...e,
4587
4587
  types: [e.types.find((o) => o !== "null") ?? "null"]
4588
- }, t) : xt(e, "object") ? Kr(e) ? Qr(e, t) : Ct(e.properties || [], t) : {};
4588
+ }, t) : Id(e, "object") ? Kr(e) ? Qr(e, t) : Ct(e.properties || [], t) : {};
4589
4589
  }
4590
- function Yr(e, t) {
4590
+ function Wr(e, t) {
4591
4591
  return Kr(e) ? [Qr(e, t)] : e.properties && Array.isArray(e.properties) ? [Ct(e.properties, t)] : e.subtype ? e.subtype === "object" && e.properties ? [Ct(e.properties, t)] : t ? [Ie(e) ?? Re(e.subtype, e.defaultValue)] : [Re(e.subtype, e.defaultValue)] : [];
4592
4592
  }
4593
4593
  function Ct(e, t) {
4594
- return e.reduce((n, r) => (xt(r, "array") ? n[r.name] = Yr(r, t) : n[r.name] = Xe(r, t), n), {});
4594
+ return e.reduce((n, r) => (Yr(r, "array") ? n[r.name] = Wr(r, t) : n[r.name] = Xe(r, t), n), {});
4595
4595
  }
4596
- function Vn(e, t) {
4596
+ function Mn(e, t) {
4597
4597
  if (t) {
4598
4598
  const n = Ie(e);
4599
4599
  if (n != null)
@@ -4628,17 +4628,21 @@ function Re(e, t) {
4628
4628
  return;
4629
4629
  }
4630
4630
  }
4631
- function xt(e, t) {
4631
+ function Yr(e, t) {
4632
4632
  var n;
4633
4633
  return ((n = e.types) == null ? void 0 : n.length) === 1 && e.types[0] === t;
4634
4634
  }
4635
4635
  function Ld(e) {
4636
4636
  var t;
4637
- return ((t = e.types) == null ? void 0 : t.length) === 1 && e.types[0] != null && Vt.includes(e.types[0]);
4637
+ return ((t = e.types) == null ? void 0 : t.length) === 1 && e.types[0] != null && Mt.includes(e.types[0]);
4638
4638
  }
4639
4639
  function Bd(e) {
4640
4640
  var t;
4641
- return (t = e.types) == null ? void 0 : t.every((n) => n && Vt.includes(n));
4641
+ return (t = e.types) == null ? void 0 : t.every((n) => n && Mt.includes(n));
4642
+ }
4643
+ function Id(e, t) {
4644
+ var n;
4645
+ return ((n = e.types) == null ? void 0 : n.includes(t)) ?? !1;
4642
4646
  }
4643
4647
  function Kr(e) {
4644
4648
  var t;
@@ -4647,9 +4651,9 @@ function Kr(e) {
4647
4651
  function Qr(e, t) {
4648
4652
  return e.properties && e.properties.length > 0 ? Xe(e.properties[0], t) : t ? Ie(e) : Re(e.types[0] ?? "string", e.defaultValue);
4649
4653
  }
4650
- var re = {}, $e = {}, Fe = {}, St = {}, le = {}, Jn;
4654
+ var re = {}, $e = {}, Fe = {}, St = {}, le = {}, Vn;
4651
4655
  function Xr() {
4652
- return Jn || (Jn = 1, Object.defineProperty(le, "__esModule", { value: !0 }), le.DEFAULTS = le.TAGS = void 0, le.TAGS = {
4656
+ return Vn || (Vn = 1, Object.defineProperty(le, "__esModule", { value: !0 }), le.DEFAULTS = le.TAGS = void 0, le.TAGS = {
4653
4657
  OPENING: "OPENING",
4654
4658
  CLOSING: "CLOSING",
4655
4659
  SELF_CLOSING: "SELF_CLOSING"
@@ -4696,9 +4700,9 @@ function Xr() {
4696
4700
  }
4697
4701
  }), le;
4698
4702
  }
4699
- var $t = {}, Gn;
4703
+ var $t = {}, Jn;
4700
4704
  function Zr() {
4701
- return Gn || (Gn = 1, function(e) {
4705
+ return Jn || (Jn = 1, function(e) {
4702
4706
  Object.defineProperty(e, "__esModule", { value: !0 }), e.objIsEmpty = e.keyExists = e.isUndef = e.isArr = e.isStr = e.isFunc = e.isObj = void 0;
4703
4707
  const t = "{}", n = "[]", r = (d) => !!d && typeof d == "object";
4704
4708
  e.isObj = r;
@@ -4716,9 +4720,9 @@ function Zr() {
4716
4720
  e.objIsEmpty = c;
4717
4721
  }($t)), $t;
4718
4722
  }
4719
- var zn;
4720
- function Id() {
4721
- return zn || (zn = 1, function(e) {
4723
+ var Gn;
4724
+ function Nd() {
4725
+ return Gn || (Gn = 1, function(e) {
4722
4726
  Object.defineProperty(e, "__esModule", { value: !0 }), e.setDeclaration = e.setAttributes = e.setStringVal = e.createTag = e.checkChildTags = e.createEntityHandler = e.beautify = void 0;
4723
4727
  const t = Xr(), n = Zr(), r = (c, d = t.DEFAULTS.LEVEL.INIT, f = t.DEFAULTS.BEAUTIFY.ENABLE) => {
4724
4728
  let h = c;
@@ -4769,11 +4773,11 @@ function Id() {
4769
4773
  e.setDeclaration = u;
4770
4774
  }(St)), St;
4771
4775
  }
4772
- var Wn;
4773
- function Nd() {
4774
- if (Wn) return Fe;
4775
- Wn = 1, Object.defineProperty(Fe, "__esModule", { value: !0 });
4776
- const e = Id(), t = Zr(), n = Xr();
4776
+ var zn;
4777
+ function Ud() {
4778
+ if (zn) return Fe;
4779
+ zn = 1, Object.defineProperty(Fe, "__esModule", { value: !0 });
4780
+ const e = Nd(), t = Zr(), n = Xr();
4777
4781
  return Fe.default = (r = n.DEFAULTS.EMPTY_OBJ, o = n.DEFAULTS.EMPTY_OBJ) => {
4778
4782
  const s = (o == null ? void 0 : o.attrKey) || n.DEFAULTS.ATTR_KEY, a = (o == null ? void 0 : o.contentKey) || n.DEFAULTS.CONTENT_KEY, i = (0, e.createEntityHandler)(Object.assign({}, (0, t.isObj)(o == null ? void 0 : o.entityMap) ? o == null ? void 0 : o.entityMap : n.DEFAULTS.ENTITY_MAP));
4779
4783
  let u = (0, e.setDeclaration)(o == null ? void 0 : o.declaration, i, o == null ? void 0 : o.beautify);
@@ -4784,8 +4788,8 @@ function Nd() {
4784
4788
  m = (0, t.isFunc)(m) ? m() : m;
4785
4789
  let [S, $] = (0, t.isFunc)(o == null ? void 0 : o.typeHandler) ? (g = o.typeHandler) === null || g === void 0 ? void 0 : g.call(n.DEFAULTS.EMPTY_OBJ, m) : [n.DEFAULTS.MAKE_TAG, m];
4786
4790
  $ = (0, t.objIsEmpty)($) ? n.DEFAULTS.EMPTY_STR : $;
4787
- const T = (0, e.checkChildTags)($, s, a), A = ((0, t.keyExists)(o, "selfClosing") ? o.selfClosing : n.DEFAULTS.SELF_CLOSING.ENABLE) && [void 0, null, ""].includes($);
4788
- !S || [s, a].includes(f) || !(0, t.isArr)($) && (u += f && e.createTag[n.TAGS.OPENING]({ attributes: y, level: p, name: f, setEntities: i, beautify: o == null ? void 0 : o.beautify, selfClosing: A }) || n.DEFAULTS.EMPTY_STR, A) || (T ? (0, t.isArr)($) ? $.forEach((k) => {
4791
+ const T = (0, e.checkChildTags)($, s, a), x = ((0, t.keyExists)(o, "selfClosing") ? o.selfClosing : n.DEFAULTS.SELF_CLOSING.ENABLE) && [void 0, null, ""].includes($);
4792
+ !S || [s, a].includes(f) || !(0, t.isArr)($) && (u += f && e.createTag[n.TAGS.OPENING]({ attributes: y, level: p, name: f, setEntities: i, beautify: o == null ? void 0 : o.beautify, selfClosing: x }) || n.DEFAULTS.EMPTY_STR, x) || (T ? (0, t.isArr)($) ? $.forEach((k) => {
4789
4793
  c(f, k, p);
4790
4794
  }) : (u += (0, e.beautify)(n.DEFAULTS.NEW_LINE, n.DEFAULTS.LEVEL.INIT, o == null ? void 0 : o.beautify), Object.keys($).forEach((k) => {
4791
4795
  c(k, $[k], p + n.DEFAULTS.LEVEL.INCREMENT);
@@ -4796,21 +4800,21 @@ function Nd() {
4796
4800
  }), u))(r);
4797
4801
  }, Fe;
4798
4802
  }
4799
- var Yn;
4800
- function Ud() {
4801
- if (Yn) return $e;
4802
- Yn = 1;
4803
+ var Wn;
4804
+ function _d() {
4805
+ if (Wn) return $e;
4806
+ Wn = 1;
4803
4807
  var e = $e.__importDefault || function(n) {
4804
4808
  return n && n.__esModule ? n : { default: n };
4805
4809
  };
4806
4810
  Object.defineProperty($e, "__esModule", { value: !0 }), $e.toXmlString = void 0;
4807
- const t = e(Nd());
4811
+ const t = e(Ud());
4808
4812
  return $e.toXmlString = t.default, $e;
4809
4813
  }
4810
- var Kn;
4811
- function _d() {
4812
- if (Kn) return re;
4813
- Kn = 1;
4814
+ var Yn;
4815
+ function Hd() {
4816
+ if (Yn) return re;
4817
+ Yn = 1;
4814
4818
  var e = re.__createBinding || (Object.create ? function(o, s, a, i) {
4815
4819
  i === void 0 && (i = a);
4816
4820
  var u = Object.getOwnPropertyDescriptor(s, a);
@@ -4830,31 +4834,31 @@ function _d() {
4830
4834
  return t(s, o), s;
4831
4835
  };
4832
4836
  Object.defineProperty(re, "__esModule", { value: !0 }), re.jsXml = void 0;
4833
- const r = n(Ud());
4837
+ const r = n(_d());
4834
4838
  return re.jsXml = r, re;
4835
4839
  }
4836
- var Hd = _d();
4837
- function Dd(e, t = !1) {
4838
- const n = Wr(e, t);
4839
- return Hd.jsXml.toXmlString(n);
4840
+ var Dd = Hd();
4841
+ function Fd(e, t = !1) {
4842
+ const n = zr(e, t);
4843
+ return Dd.jsXml.toXmlString(n);
4840
4844
  }
4841
4845
  function eo(e, t, n = !1) {
4842
4846
  return to(e) ? {
4843
- XML: Qn(e, t, n)
4847
+ XML: Kn(e, t, n)
4844
4848
  } : {
4845
- JSON: Qn(e, t, n)
4849
+ JSON: Kn(e, t, n)
4846
4850
  };
4847
4851
  }
4848
- function Qn(e, t, n = !1) {
4852
+ function Kn(e, t, n = !1) {
4849
4853
  return to(e) ? {
4850
4854
  summary: "XML",
4851
4855
  description: "",
4852
- value: Dd(t, n),
4856
+ value: Fd(t, n),
4853
4857
  isAutogenerated: !0
4854
4858
  } : {
4855
4859
  summary: "JSON",
4856
4860
  description: "",
4857
- value: Wr(t, n),
4861
+ value: zr(t, n),
4858
4862
  isAutogenerated: !0
4859
4863
  };
4860
4864
  }
@@ -4882,13 +4886,13 @@ const no = [
4882
4886
  "uniqueItems",
4883
4887
  "default"
4884
4888
  ];
4885
- function Fd(e) {
4889
+ function qd(e) {
4886
4890
  return Object.keys(e).some((t) => no.includes(t));
4887
4891
  }
4888
- function qd(e) {
4892
+ function Md(e) {
4889
4893
  return Object.entries(e).filter(([t]) => no.includes(t)).reduce((t, [n, r]) => (t[n] = r, t), {});
4890
4894
  }
4891
- function Md(e) {
4895
+ function Vd(e) {
4892
4896
  return ro({
4893
4897
  key: "root",
4894
4898
  value: e,
@@ -4899,7 +4903,7 @@ function ro(e) {
4899
4903
  const { value: t } = e;
4900
4904
  if (typeof t != "object" || t === null)
4901
4905
  return;
4902
- const n = Vd(e.parent, t);
4906
+ const n = Jd(e.parent, t);
4903
4907
  if (n)
4904
4908
  e.parent.value[e.key] = {
4905
4909
  type: "object",
@@ -4913,7 +4917,7 @@ function ro(e) {
4913
4917
  parent: e
4914
4918
  });
4915
4919
  }
4916
- function Vd(e, t) {
4920
+ function Jd(e, t) {
4917
4921
  for (; e; ) {
4918
4922
  if (e.value === t)
4919
4923
  return oo(e);
@@ -4937,7 +4941,7 @@ class z {
4937
4941
  ...s && { examples: s },
4938
4942
  ...n.nullable && { nullable: n.nullable }
4939
4943
  };
4940
- return n.const !== void 0 && (a.meta = { ...a.meta || {}, isConstant: !0 }), Fd(n) && (a.constraints = qd(n)), Object.keys(n).forEach((i) => {
4944
+ return n.const !== void 0 && (a.meta = { ...a.meta || {}, isConstant: !0 }), qd(n) && (a.constraints = Md(n)), Object.keys(n).forEach((i) => {
4941
4945
  i.startsWith("x-") && (a.meta = a.meta || {}, a.meta.extra = a.meta.extra || {}, a.meta.extra[i] = n[i]);
4942
4946
  }), a;
4943
4947
  }
@@ -4983,7 +4987,7 @@ class z {
4983
4987
  meta: { isConstant: !0 }
4984
4988
  };
4985
4989
  }
4986
- if (Vt.includes(String(n.type)) && n.enum)
4990
+ if (Mt.includes(String(n.type)) && n.enum)
4987
4991
  return {
4988
4992
  name: t,
4989
4993
  types: [n.type],
@@ -4992,40 +4996,32 @@ class z {
4992
4996
  description: n.description
4993
4997
  };
4994
4998
  const o = z.createBaseProperty(t, n, r);
4995
- switch (n.type) {
4996
- case "array":
4997
- if (n.items) {
4998
- const s = Jd(n.items);
4999
- o.properties = s === "object" ? z.extractProperties(
5000
- n.items.properties,
5001
- n.items.required || [],
5002
- n.items.additionalProperties
5003
- ) : void 0, s !== void 0 && (o.subtype = s);
5004
- const a = kt(n.items);
5005
- a && (o.subexamples = a), n.items.const !== void 0 && (o.meta = { ...o.meta || {}, isConstant: !0 }), n.items.oneOf && (o.meta = { ...o.meta || {}, isOneOf: !0 }, o.properties = n.items.oneOf.map((i) => {
5006
- const u = { ...i, type: n.items.type };
5007
- return {
5008
- ...z.schemaToUiProperty("", u),
5009
- meta: { ...i.meta || {}, isOneOfItem: !0 }
5010
- };
5011
- }));
5012
- }
5013
- break;
5014
- case "object":
5015
- o.properties = z.extractProperties(
5016
- n.properties,
5017
- n.required || [],
5018
- n.additionalProperties
5019
- );
5020
- break;
5021
- case void 0:
5022
- (n.properties || n.additionalProperties) && (o.types = ["object"], o.properties = z.extractProperties(
5023
- n.properties,
5024
- n.required || [],
5025
- n.additionalProperties
5026
- ));
5027
- break;
5028
- }
4999
+ if (Array.isArray(n.type) ? n.type.includes("array") : n.type === "array") {
5000
+ if (n.items) {
5001
+ const s = Gd(n.items);
5002
+ o.properties = s === "object" ? z.extractProperties(
5003
+ n.items.properties,
5004
+ n.items.required || [],
5005
+ n.items.additionalProperties
5006
+ ) : void 0, s !== void 0 && (o.subtype = s);
5007
+ const a = kt(n.items);
5008
+ a && (o.subexamples = a), n.items.const !== void 0 && (o.meta = { ...o.meta || {}, isConstant: !0 }), n.items.oneOf && (o.meta = { ...o.meta || {}, isOneOf: !0 }, o.properties = n.items.oneOf.map((i) => {
5009
+ const u = { ...i, type: n.items.type };
5010
+ return {
5011
+ ...z.schemaToUiProperty("", u),
5012
+ meta: { ...i.meta || {}, isOneOfItem: !0 }
5013
+ };
5014
+ }));
5015
+ }
5016
+ } else (Array.isArray(n.type) ? n.type.includes("object") : n.type === "object") ? o.properties = z.extractProperties(
5017
+ n.properties,
5018
+ n.required || [],
5019
+ n.additionalProperties
5020
+ ) : n.type === void 0 && (n.properties || n.additionalProperties) && (o.types = ["object"], o.properties = z.extractProperties(
5021
+ n.properties,
5022
+ n.required || [],
5023
+ n.additionalProperties
5024
+ ));
5029
5025
  return o;
5030
5026
  }
5031
5027
  static extractProperties(t, n = [], r) {
@@ -5048,13 +5044,13 @@ class z {
5048
5044
  function io(e) {
5049
5045
  if (!e || Object.keys(e).length === 0)
5050
5046
  return [];
5051
- const t = Md(e);
5047
+ const t = Vd(e);
5052
5048
  return z.schemaToUiProperty("", t);
5053
5049
  }
5054
- function Jd(e) {
5050
+ function Gd(e) {
5055
5051
  return !e.type && e.properties ? "object" : !e.type && e.items ? "array" : !e.type && e.const !== void 0 ? Array.isArray(e.const) ? "array" : typeof e.const == "object" && e.const !== null ? "object" : typeof e.const == "string" ? "string" : typeof e.const == "number" ? "number" : typeof e.const == "boolean" ? "boolean" : "null" : e.type;
5056
5052
  }
5057
- function Gd(e) {
5053
+ function zd(e) {
5058
5054
  if (!e.paths)
5059
5055
  return e;
5060
5056
  for (const t of Object.values(e.paths))
@@ -5071,7 +5067,7 @@ function Gd(e) {
5071
5067
  }
5072
5068
  return e;
5073
5069
  }
5074
- function zd(e) {
5070
+ function Wd(e) {
5075
5071
  if (!e.paths)
5076
5072
  return e;
5077
5073
  for (const t of Object.values(e.paths))
@@ -5089,27 +5085,27 @@ function zd(e) {
5089
5085
  }
5090
5086
  return e;
5091
5087
  }
5092
- const Xn = "None";
5093
- function Wd(e, t) {
5088
+ const Qn = "None";
5089
+ function Yd(e, t) {
5094
5090
  const n = [];
5095
5091
  return e ? (e.forEach((r) => {
5096
5092
  const o = {
5097
- id: Object.keys(r).length ? Object.keys(r).join("|") : Xn,
5093
+ id: Object.keys(r).length ? Object.keys(r).join("|") : Qn,
5098
5094
  schemes: {}
5099
5095
  };
5100
5096
  Object.keys(r).forEach((s) => {
5101
5097
  t[s] && (o.schemes[s] = t[s]);
5102
5098
  }), n.push(o);
5103
- }), n.length === 1 && n[0].id === Xn && Object.keys(n[0].schemes).length === 0 ? [] : n) : n;
5099
+ }), n.length === 1 && n[0].id === Qn && Object.keys(n[0].schemes).length === 0 ? [] : n) : n;
5104
5100
  }
5105
- function Yd(e) {
5101
+ function Kd(e) {
5106
5102
  var t;
5107
5103
  if (!(e != null && e.paths))
5108
5104
  return e;
5109
5105
  for (const n of Object.values(e.paths))
5110
5106
  for (const r of Object.keys(n)) {
5111
5107
  const o = n[r];
5112
- o && (o.securityUi = Wd(o.security ?? e.security ?? [], ((t = e.components) == null ? void 0 : t.securitySchemes) || {}));
5108
+ o && (o.securityUi = Yd(o.security ?? e.security ?? [], ((t = e.components) == null ? void 0 : t.securitySchemes) || {}));
5113
5109
  }
5114
5110
  return e;
5115
5111
  }
@@ -5134,7 +5130,7 @@ function ao() {
5134
5130
  defaultTagDescription: i = void 0
5135
5131
  }) {
5136
5132
  let u = e(s);
5137
- return u ? !u.openapi || !String(u.openapi).startsWith("3.") ? (console.warn("Only OpenAPI 3.x is supported"), {}) : (u != null && u.paths && (u = Cd(u), u = xd(u), u = Ad({ spec: u, defaultTag: a, defaultTagDescription: i })), u.externalDocs = u.externalDocs || {}, u.info = u.info || {}, u.servers = u.servers || [], u.tags = u.tags || [], Object.assign({}, u)) : {};
5133
+ return u ? !u.openapi || !String(u.openapi).startsWith("3.") ? (console.warn("Only OpenAPI 3.x is supported"), {}) : (u != null && u.paths && (u = Cd(u), u = Ad(u), u = xd({ spec: u, defaultTag: a, defaultTagDescription: i })), u.externalDocs = u.externalDocs || {}, u.info = u.info || {}, u.servers = u.servers || [], u.tags = u.tags || [], Object.assign({}, u)) : {};
5138
5134
  }
5139
5135
  async function n({
5140
5136
  spec: s
@@ -5160,11 +5156,11 @@ function ao() {
5160
5156
  c = f ? c : d;
5161
5157
  const [h, p] = be(() => qo(c));
5162
5158
  c = p ? c : h;
5163
- const [g, y] = be(() => Yd(c));
5159
+ const [g, y] = be(() => Kd(c));
5164
5160
  c = y ? c : g;
5165
- const [m, S] = be(() => Gd(c));
5161
+ const [m, S] = be(() => zd(c));
5166
5162
  c = S ? c : m;
5167
- const [$, T] = be(() => zd(c));
5163
+ const [$, T] = be(() => Wd(c));
5168
5164
  return c = T ? c : $, c.externalDocs = c.externalDocs || c.externalDocs || {}, c.info = c.info || c.info || {}, c.servers = c.servers || c.servers || [], c.tags = c.tags || c.tags || [], Object.assign({}, c);
5169
5165
  }
5170
5166
  async function o({
@@ -5188,7 +5184,7 @@ function ao() {
5188
5184
  parseAsync: o
5189
5185
  };
5190
5186
  }
5191
- function mf({
5187
+ function bf({
5192
5188
  spec: e,
5193
5189
  defaultTag: t = void 0,
5194
5190
  defaultTagDescription: n = void 0
@@ -5222,7 +5218,7 @@ function so(e) {
5222
5218
  return t.items ? (t.items = so(t.items), t.text = (n = t.text) != null && n.startsWith("/") ? t.text : `/${t.text}`) : t.text && !t.isOperation && !t.text.startsWith("/") && !t.text.includes("<span") && (t.text = `/${t.text}`), t;
5223
5219
  });
5224
5220
  }
5225
- function Kd(e, t, n, r = 1, o = "") {
5221
+ function Qd(e, t, n, r = 1, o = "") {
5226
5222
  return co(uo(e, t, n, r, o));
5227
5223
  }
5228
5224
  function uo(e, t, n, r, o = "") {
@@ -5254,26 +5250,26 @@ function co(e, t = "") {
5254
5250
  })) : n.push(r), r.items && (r.items = co(r.items, t + r.text));
5255
5251
  }), n;
5256
5252
  }
5257
- function Pt(e) {
5253
+ function xt(e) {
5258
5254
  return Array.isArray(e) ? e.reduce((t, n) => {
5259
5255
  var o;
5260
5256
  if (!((o = n.items) != null && o.length))
5261
5257
  return t.push(n), t;
5262
5258
  if (n.items.length === 1 && !n.items.some((s) => "link" in s)) {
5263
- const s = n.items[0], a = Pt([s])[0];
5264
- return a.text = Qd(n.text, a.text), a.path = a.path || n.path, t.push(a), t;
5259
+ const s = n.items[0], a = xt([s])[0];
5260
+ return a.text = Xd(n.text, a.text), a.path = a.path || n.path, t.push(a), t;
5265
5261
  }
5266
- return n.items = Pt(n.items), t.push(n), t;
5262
+ return n.items = xt(n.items), t.push(n), t;
5267
5263
  }, []) : e;
5268
5264
  }
5269
- function Qd(e, t) {
5265
+ function Xd(e, t) {
5270
5266
  const n = t.startsWith("/") ? t : `/${t}`;
5271
5267
  return e + n;
5272
5268
  }
5273
5269
  function lo(e) {
5274
5270
  return e.map((t) => (t.items && (t.collapsed = !t.items.length, t.items.some((n) => "items" in n) && (t.items = lo(t.items))), t));
5275
5271
  }
5276
- function Xd({
5272
+ function Zd({
5277
5273
  paths: e,
5278
5274
  startsWith: t = "",
5279
5275
  collapsible: n = !0,
@@ -5290,7 +5286,7 @@ function Xd({
5290
5286
  const d = c.split("/").filter(Boolean);
5291
5287
  let f = i;
5292
5288
  d.forEach((h, p) => {
5293
- const g = p === d.length - 1, y = `/${d.slice(0, p + 1).join("/")}`, m = Zd(f, h, y);
5289
+ const g = p === d.length - 1, y = `/${d.slice(0, p + 1).join("/")}`, m = ef(f, h, y);
5294
5290
  if (g) {
5295
5291
  const S = oe.map(($) => {
5296
5292
  const T = e[c] ? e[c][$] : null;
@@ -5307,9 +5303,9 @@ function Xd({
5307
5303
  }
5308
5304
  f = m.items;
5309
5305
  });
5310
- }), i = Pt(i), i = so(i), n && (i = lo(i)), i = Kd(i, u, o), a && (i = fo(i, a)), i;
5306
+ }), i = xt(i), i = so(i), n && (i = lo(i)), i = Qd(i, u, o), a && (i = fo(i, a)), i;
5311
5307
  }
5312
- function Zd(e, t, n) {
5308
+ function ef(e, t, n) {
5313
5309
  let r = e.find(
5314
5310
  (o) => o.text === t && o.path === n
5315
5311
  );
@@ -5327,10 +5323,10 @@ const vt = {
5327
5323
  tagLinkPrefix: "/tags/",
5328
5324
  defaultTag: "Default"
5329
5325
  };
5330
- function ef(e, t = 1) {
5326
+ function tf(e, t = 1) {
5331
5327
  return e;
5332
5328
  }
5333
- function bf({
5329
+ function yf({
5334
5330
  spec: e,
5335
5331
  linkPrefix: t = vt.linkPrefix,
5336
5332
  tagLinkPrefix: n = vt.tagLinkPrefix,
@@ -5356,23 +5352,23 @@ function bf({
5356
5352
  <span class="OASidebarItem-badge OAMethodBadge--${S.toLowerCase()}">${T}</span>
5357
5353
  <span class="OASidebarItem-text text">${$}</span>
5358
5354
  </span>`;
5359
- }), d = a || ef;
5355
+ }), d = a || tf;
5360
5356
  function f(S, $, T) {
5361
5357
  var C, E;
5362
- const A = (E = (C = u().getPaths()) == null ? void 0 : C[$]) == null ? void 0 : E[S];
5363
- if (!A)
5358
+ const x = (E = (C = u().getPaths()) == null ? void 0 : C[$]) == null ? void 0 : E[S];
5359
+ if (!x)
5364
5360
  return `[${S.toUpperCase()}] ${$}`;
5365
- const { summary: k } = A, O = A["x-sidebar-title"] || k || `${S.toUpperCase()} ${$}`;
5361
+ const { summary: k } = x, O = x["x-sidebar-title"] || k || `${S.toUpperCase()} ${$}`;
5366
5362
  return (T || c)(S, O);
5367
5363
  }
5368
- function h(S, $, T = t, A) {
5364
+ function h(S, $, T = t, x) {
5369
5365
  var w, C;
5370
5366
  const k = (C = (w = u().getPaths()) == null ? void 0 : w[$]) == null ? void 0 : C[S];
5371
5367
  if (!k)
5372
5368
  return null;
5373
5369
  const O = k.operationId;
5374
5370
  return {
5375
- text: f(S, $, A),
5371
+ text: f(S, $, x),
5376
5372
  link: `${T}${O}`
5377
5373
  };
5378
5374
  }
@@ -5380,7 +5376,7 @@ function bf({
5380
5376
  tag: S,
5381
5377
  text: $ = "",
5382
5378
  linkPrefix: T = t,
5383
- addedOperations: A = /* @__PURE__ */ new Set(),
5379
+ addedOperations: x = /* @__PURE__ */ new Set(),
5384
5380
  sidebarItemTemplate: k,
5385
5381
  sidebarGroupTemplate: O
5386
5382
  }) {
@@ -5391,12 +5387,12 @@ function bf({
5391
5387
  items: []
5392
5388
  };
5393
5389
  const C = Array.isArray(S) ? S : [S], E = Object.entries(w).flatMap(
5394
- ([x, R]) => oe.map((L) => {
5390
+ ([A, R]) => oe.map((L) => {
5395
5391
  const ue = R == null ? void 0 : R[L];
5396
- return !ue || A.has(ue.operationId) ? null : C.length === 0 || C.every((Ne) => {
5392
+ return !ue || x.has(ue.operationId) ? null : C.length === 0 || C.every((Ne) => {
5397
5393
  var Ue;
5398
5394
  return (Ue = ue.tags) == null ? void 0 : Ue.includes(Ne);
5399
- }) ? (A.add(ue.operationId), h(L, x, T, k)) : null;
5395
+ }) ? (x.add(ue.operationId), h(L, A, T, k)) : null;
5400
5396
  }).filter((L) => L !== null)
5401
5397
  );
5402
5398
  return {
@@ -5408,7 +5404,7 @@ function bf({
5408
5404
  tags: S = void 0,
5409
5405
  linkPrefix: $ = t,
5410
5406
  sidebarItemTemplate: T,
5411
- sidebarGroupTemplate: A
5407
+ sidebarGroupTemplate: x
5412
5408
  } = {}) {
5413
5409
  var C;
5414
5410
  if (S === void 0 && (S = u().getOperationsTags()), !u().getPaths())
@@ -5420,7 +5416,7 @@ function bf({
5420
5416
  linkPrefix: $ || n,
5421
5417
  addedOperations: k,
5422
5418
  sidebarItemTemplate: T,
5423
- sidebarGroupTemplate: A
5419
+ sidebarGroupTemplate: x
5424
5420
  })
5425
5421
  ), w = p({
5426
5422
  tag: [],
@@ -5428,7 +5424,7 @@ function bf({
5428
5424
  linkPrefix: $ || n,
5429
5425
  addedOperations: k,
5430
5426
  sidebarItemTemplate: T,
5431
- sidebarGroupTemplate: A
5427
+ sidebarGroupTemplate: x
5432
5428
  });
5433
5429
  return (C = w.items) != null && C.length ? [...O, w] : O;
5434
5430
  }
@@ -5445,17 +5441,17 @@ function bf({
5445
5441
  startsWith: S = "",
5446
5442
  collapsible: $ = !0,
5447
5443
  depth: T = 6,
5448
- linkPrefix: A = t,
5444
+ linkPrefix: x = t,
5449
5445
  sidebarItemTemplate: k,
5450
5446
  sidebarGroupTemplate: O
5451
5447
  } = {}) {
5452
- const w = u().getPaths(), E = Xd({
5448
+ const w = u().getPaths(), E = Zd({
5453
5449
  paths: w,
5454
5450
  startsWith: S,
5455
5451
  collapsible: $,
5456
5452
  depth: T,
5457
- itemLinkPrefix: A,
5458
- sidebarItemTemplate: (P, x) => f(P, x, k),
5453
+ itemLinkPrefix: x,
5454
+ sidebarItemTemplate: (P, A) => f(P, A, k),
5459
5455
  sidebarGroupTemplate: O
5460
5456
  });
5461
5457
  return At(E);
@@ -5471,7 +5467,7 @@ function bf({
5471
5467
  // TODO: Add `itemsByOperations` function
5472
5468
  };
5473
5469
  }
5474
- const oe = ["get", "post", "put", "delete", "patch", "options", "head"], Vt = ["string", "number", "integer", "boolean", "null"];
5470
+ const oe = ["get", "post", "put", "delete", "patch", "options", "head"], Mt = ["string", "number", "integer", "boolean", "null"];
5475
5471
  function po({
5476
5472
  spec: e
5477
5473
  } = {
@@ -5581,8 +5577,8 @@ function po({
5581
5577
  for (const [C, E] of Object.entries(O))
5582
5578
  if (E)
5583
5579
  for (const P of oe) {
5584
- const x = E[P];
5585
- x && k(x) && (w[C] = w[C] || {}, w[C][P] = x);
5580
+ const A = E[P];
5581
+ A && k(A) && (w[C] = w[C] || {}, w[C][P] = A);
5586
5582
  }
5587
5583
  return w;
5588
5584
  }
@@ -5602,7 +5598,7 @@ function po({
5602
5598
  description: k.description ?? null
5603
5599
  }));
5604
5600
  }
5605
- function A() {
5601
+ function x() {
5606
5602
  const k = y(), O = T().filter((w) => k.includes(w.name ?? ""));
5607
5603
  return O.concat([
5608
5604
  ...k.filter((w) => !O.map((C) => C.name).includes(w)).map((w) => ({
@@ -5629,41 +5625,41 @@ function po({
5629
5625
  getPathsByTags: S,
5630
5626
  getPathsWithoutTags: $,
5631
5627
  getTags: T,
5632
- getFilteredTags: A
5628
+ getFilteredTags: x
5633
5629
  };
5634
5630
  }
5635
5631
  export {
5636
5632
  vd as A,
5637
5633
  oe as B,
5638
- Vt as C,
5634
+ Mt as C,
5639
5635
  Td as D,
5640
- mf as E,
5641
- bf as F,
5636
+ bf as E,
5637
+ yf as F,
5642
5638
  po as O,
5643
5639
  We as a,
5644
- hf as b,
5640
+ gf as b,
5645
5641
  Ye as c,
5646
5642
  me as d,
5647
5643
  ws as e,
5648
- of as f,
5649
- af as g,
5650
- sf as h,
5651
- Pr as i,
5652
- cf as j,
5653
- rf as k,
5654
- ff as l,
5644
+ af as f,
5645
+ sf as g,
5646
+ uf as h,
5647
+ xr as i,
5648
+ lf as j,
5649
+ of as k,
5650
+ pf as l,
5655
5651
  kt as m,
5656
- qd as n,
5657
- df as o,
5652
+ Md as n,
5653
+ ff as o,
5658
5654
  ao as p,
5659
5655
  Ns as q,
5660
- uf as r,
5661
- Vr as s,
5662
- lf as t,
5656
+ cf as r,
5657
+ Mr as s,
5658
+ df as t,
5663
5659
  jd as u,
5664
- Jr as v,
5660
+ Vr as v,
5665
5661
  Ie as w,
5666
- pf as x,
5667
- Gr as y,
5662
+ hf as x,
5663
+ Jr as y,
5668
5664
  nc as z
5669
5665
  };