@scalar/api-reference 1.20.32 → 1.21.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ var I$ = Object.defineProperty;
2
2
  var j$ = (n, e, t) => e in n ? I$(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
3
  var $u = (n, e, t) => (j$(n, typeof e != "symbol" ? e + "" : e, t), t);
4
4
  import "./index.css";
5
- import { defineComponent as G, openBlock as k, createBlock as q, resolveDynamicComponent as wr, withCtx as C, createTextVNode as F, toDisplayString as K, unref as S, createCommentVNode as B, onMounted as Ks, useCssModule as db, renderSlot as te, reactive as ar, readonly as lp, ref as de, computed as ie, normalizeStyle as io, normalizeProps as kn, guardReactiveProps as $n, watch as Ne, onBeforeUnmount as N$, toValue as Ot, toRef as Bn, createElementBlock as T, createElementVNode as E, createVNode as I, normalizeClass as ge, Fragment as J, renderList as be, createStaticVNode as ds, pushScopeId as $t, popScopeId as Pt, mergeProps as cp, shallowRef as D$, getCurrentScope as M$, onScopeDispose as X$, shallowReadonly as di, useAttrs as W$, nextTick as rc, onServerPrefetch as Js, useSSRContext as La, defineAsyncComponent as q$, useCssVars as V$, Teleport as z$, withModifiers as Ba, withDirectives as Dt, vModelText as la, vModelCheckbox as ub, vShow as qs, toRaw as U$, withKeys as Y$, inject as dp, createSlots as up, vModelSelect as L$, onBeforeMount as B$, getCurrentInstance as H$, provide as Ng, isRef as G$ } from "vue";
5
+ import { defineComponent as G, openBlock as k, createBlock as q, resolveDynamicComponent as wr, withCtx as C, createTextVNode as F, toDisplayString as K, unref as S, createCommentVNode as B, onMounted as Ks, useCssModule as db, renderSlot as te, reactive as ar, readonly as lp, ref as de, computed as ie, normalizeStyle as io, normalizeProps as $n, guardReactiveProps as Pn, watch as Ne, onBeforeUnmount as N$, toValue as Ot, toRef as Bn, createElementBlock as T, createElementVNode as E, createVNode as I, normalizeClass as ge, Fragment as J, renderList as be, createStaticVNode as ds, pushScopeId as $t, popScopeId as Pt, mergeProps as cp, shallowRef as D$, getCurrentScope as M$, onScopeDispose as X$, shallowReadonly as di, useAttrs as W$, nextTick as rc, onServerPrefetch as Js, useSSRContext as La, defineAsyncComponent as q$, useCssVars as V$, Teleport as z$, withModifiers as Ba, withDirectives as Dt, vModelText as la, vModelCheckbox as ub, vShow as qs, toRaw as U$, withKeys as Y$, inject as dp, createSlots as up, vModelSelect as L$, onBeforeMount as B$, getCurrentInstance as H$, provide as Ng, isRef as G$ } from "vue";
6
6
  import { Dialog as F$, DialogPanel as K$, DialogTitle as J$, DialogDescription as eP, Disclosure as Od, DisclosureButton as yd, DisclosurePanel as bd, Listbox as tP, ListboxButton as nP, ListboxOptions as rP, ListboxOption as sP, TabGroup as hb, TabList as fb, Tab as $h, TabPanels as iP, TabPanel as Dg, provideUseId as oP } from "@headlessui/vue";
7
7
  import { useMagicKeys as vd, whenever as Ai, useEventBus as hp, useMediaQuery as wd, useIntersectionObserver as aP, useElementHover as lP, computedAsync as cP, useMutationObserver as dP, useResizeObserver as uP, useDebounceFn as hP } from "@vueuse/core";
8
8
  import fP, { AxiosHeaders as pP } from "axios";
@@ -250,9 +250,9 @@ function Ko(n, e, t, r) {
250
250
  }
251
251
  return n.call(e, t, r);
252
252
  }
253
- function Cn(n, e, t) {
253
+ function An(n, e, t) {
254
254
  if (Array.isArray(n))
255
- return n.map((r, s) => Cn(r, String(s), t));
255
+ return n.map((r, s) => An(r, String(s), t));
256
256
  if (n && typeof n.toJSON == "function") {
257
257
  if (!t || !i_(n))
258
258
  return n.toJSON(e, t);
@@ -285,7 +285,7 @@ class bp {
285
285
  mapAsMap: t === !0,
286
286
  mapKeyWarned: !1,
287
287
  maxAliasCount: typeof r == "number" ? r : 100
288
- }, a = Cn(this, "", o);
288
+ }, a = An(this, "", o);
289
289
  if (typeof s == "function")
290
290
  for (const { count: l, res: c } of o.anchors.values())
291
291
  s(c, l);
@@ -323,7 +323,7 @@ let d_ = class extends bp {
323
323
  throw new ReferenceError(l);
324
324
  }
325
325
  let a = r.get(o);
326
- if (a || (Cn(o, null, t), a = r.get(o)), !a || a.res === void 0) {
326
+ if (a || (An(o, null, t), a = r.get(o)), !a || a.res === void 0) {
327
327
  const l = "This should not happen: Alias anchor was not resolved?";
328
328
  throw new ReferenceError(l);
329
329
  }
@@ -369,7 +369,7 @@ class ct extends bp {
369
369
  super(Op), this.value = e;
370
370
  }
371
371
  toJSON(e, t) {
372
- return t != null && t.keep ? this.value : Cn(this.value, e, t);
372
+ return t != null && t.keep ? this.value : An(this.value, e, t);
373
373
  }
374
374
  toString() {
375
375
  return String(this.value);
@@ -1007,13 +1007,13 @@ function Pb(n, e, { key: t, value: r }) {
1007
1007
  else
1008
1008
  Pu(n, e, r);
1009
1009
  else {
1010
- const s = Cn(t, "", n);
1010
+ const s = An(t, "", n);
1011
1011
  if (e instanceof Map)
1012
- e.set(s, Cn(r, s, n));
1012
+ e.set(s, An(r, s, n));
1013
1013
  else if (e instanceof Set)
1014
1014
  e.add(s);
1015
1015
  else {
1016
- const i = $_(t, s, n), o = Cn(r, i, n);
1016
+ const i = $_(t, s, n), o = An(r, i, n);
1017
1017
  i in e ? Object.defineProperty(e, i, {
1018
1018
  value: o,
1019
1019
  writable: !0,
@@ -1317,7 +1317,7 @@ class xb extends vp {
1317
1317
  t != null && t.onCreate && t.onCreate(r);
1318
1318
  let s = 0;
1319
1319
  for (const i of this.items)
1320
- r.push(Cn(i, String(s++), t));
1320
+ r.push(An(i, String(s++), t));
1321
1321
  return r;
1322
1322
  }
1323
1323
  toString(e, t, r) {
@@ -1388,7 +1388,7 @@ class Sp extends xb {
1388
1388
  t != null && t.onCreate && t.onCreate(r);
1389
1389
  for (const s of this.items) {
1390
1390
  let i, o;
1391
- if (kt(s) ? (i = Cn(s.key, "", t), o = Cn(s.value, i, t)) : i = Cn(s, "", t), r.has(i))
1391
+ if (kt(s) ? (i = An(s.key, "", t), o = An(s.value, i, t)) : i = An(s, "", t), r.has(i))
1392
1392
  throw new Error("Ordered maps must not include duplicate keys");
1393
1393
  r.set(i, o);
1394
1394
  }
@@ -1917,7 +1917,7 @@ const Qh = (n, e, t) => {
1917
1917
  Object.assign($p, n);
1918
1918
  }, W_ = () => {
1919
1919
  zi.value = "";
1920
- }, q_ = de(!0), bn = () => ({
1920
+ }, q_ = de(!0), vn = () => ({
1921
1921
  readOnly: q_,
1922
1922
  activeRequest: $p,
1923
1923
  activeResponse: M_,
@@ -2750,7 +2750,7 @@ const z_ = {
2750
2750
  style: io({ [i.property || "color"]: s.value })
2751
2751
  }, {
2752
2752
  default: C(() => [
2753
- te(i.$slots, "default", kn($n({ normalized: t.value, abbreviated: r.value, color: s.value })), () => [
2753
+ te(i.$slots, "default", $n(Pn({ normalized: t.value, abbreviated: r.value, color: s.value })), () => [
2754
2754
  F(K(i.short ? r.value : t.value), 1)
2755
2755
  ])
2756
2756
  ]),
@@ -3176,10 +3176,10 @@ function Ib(n, e, t) {
3176
3176
  return e;
3177
3177
  e && jb(n.charCodeAt(e)) && Nb(n.charCodeAt(e - 1)) && e--;
3178
3178
  let r = Qt(n, e);
3179
- for (e += xn(r); e < n.length; ) {
3179
+ for (e += Qn(r); e < n.length; ) {
3180
3180
  let s = Qt(n, e);
3181
3181
  if (r == Yg || s == Yg || t && H_(s))
3182
- e += xn(s), r = s;
3182
+ e += Qn(s), r = s;
3183
3183
  else if (Ug(s)) {
3184
3184
  let i = 0, o = e - 2;
3185
3185
  for (; o >= 0 && Ug(Qt(n, o)); )
@@ -3217,7 +3217,7 @@ function Qt(n, e) {
3217
3217
  function Db(n) {
3218
3218
  return n <= 65535 ? String.fromCharCode(n) : (n -= 65536, String.fromCharCode((n >> 10) + 55296, (n & 1023) + 56320));
3219
3219
  }
3220
- function xn(n) {
3220
+ function Qn(n) {
3221
3221
  return n < 65536 ? 1 : 2;
3222
3222
  }
3223
3223
  const Ah = /\r\n?|\n/;
@@ -6610,9 +6610,9 @@ class lo {
6610
6610
  destroy(e) {
6611
6611
  }
6612
6612
  }
6613
- var An = /* @__PURE__ */ function(n) {
6613
+ var En = /* @__PURE__ */ function(n) {
6614
6614
  return n[n.Text = 0] = "Text", n[n.WidgetBefore = 1] = "WidgetBefore", n[n.WidgetAfter = 2] = "WidgetAfter", n[n.WidgetRange = 3] = "WidgetRange", n;
6615
- }(An || (An = {}));
6615
+ }(En || (En = {}));
6616
6616
  class Xe extends Vs {
6617
6617
  constructor(e, t, r, s) {
6618
6618
  super(), this.startSide = e, this.endSide = t, this.widget = r, this.spec = s;
@@ -6717,7 +6717,7 @@ class ts extends Xe {
6717
6717
  }
6718
6718
  // Only relevant when this.block == true
6719
6719
  get type() {
6720
- return this.startSide != this.endSide ? An.WidgetRange : this.startSide <= 0 ? An.WidgetBefore : An.WidgetAfter;
6720
+ return this.startSide != this.endSide ? En.WidgetRange : this.startSide <= 0 ? En.WidgetBefore : En.WidgetAfter;
6721
6721
  }
6722
6722
  get heightRelevant() {
6723
6723
  return this.block || !!this.widget && (this.widget.estimatedHeight >= 5 || this.widget.lineBreaks > 0);
@@ -7141,7 +7141,7 @@ class ji {
7141
7141
  }
7142
7142
  }
7143
7143
  const Tl = /* @__PURE__ */ Ve.define({ map: (n, e) => n.map(e) });
7144
- function En(n, e, t) {
7144
+ function Rn(n, e, t) {
7145
7145
  let r = n.facet(bv);
7146
7146
  r.length ? r[0](e) : window.onerror ? window.onerror(String(e), t, void 0, void 0, e) : t ? console.error(t + ":", e) : console.error(e);
7147
7147
  }
@@ -7186,7 +7186,7 @@ class Tu {
7186
7186
  try {
7187
7187
  this.value.update(t);
7188
7188
  } catch (r) {
7189
- if (En(t.state, r, "CodeMirror plugin crashed"), this.value.destroy)
7189
+ if (Rn(t.state, r, "CodeMirror plugin crashed"), this.value.destroy)
7190
7190
  try {
7191
7191
  this.value.destroy();
7192
7192
  } catch {
@@ -7198,7 +7198,7 @@ class Tu {
7198
7198
  try {
7199
7199
  this.value = this.spec.create(e);
7200
7200
  } catch (t) {
7201
- En(e.state, t, "CodeMirror plugin crashed"), this.deactivate();
7201
+ Rn(e.state, t, "CodeMirror plugin crashed"), this.deactivate();
7202
7202
  }
7203
7203
  return this;
7204
7204
  }
@@ -7208,7 +7208,7 @@ class Tu {
7208
7208
  try {
7209
7209
  this.value.destroy();
7210
7210
  } catch (r) {
7211
- En(e.state, r, "CodeMirror plugin crashed");
7211
+ Rn(e.state, r, "CodeMirror plugin crashed");
7212
7212
  }
7213
7213
  }
7214
7214
  deactivate() {
@@ -7875,7 +7875,7 @@ function Cv(n, e, t, r = -1) {
7875
7875
  return 0;
7876
7876
  if (h > c)
7877
7877
  return n.state.doc.length;
7878
- for (let w = n.viewState.heightOracle.textHeight / 2, P = !1; l = n.elementAtHeight(h), l.type != An.Text; )
7878
+ for (let w = n.viewState.heightOracle.textHeight / 2, P = !1; l = n.elementAtHeight(h), l.type != En.Text; )
7879
7879
  for (; h = r > 0 ? l.bottom + w : l.top - w, !(h >= 0 && h <= c); ) {
7880
7880
  if (P)
7881
7881
  return t ? null : 0;
@@ -7950,13 +7950,13 @@ function Hx(n, e) {
7950
7950
  let t = n.lineBlockAt(e);
7951
7951
  if (Array.isArray(t.type)) {
7952
7952
  for (let r of t.type)
7953
- if (r.to > e || r.to == e && (r.to == t.to || r.type == An.Text))
7953
+ if (r.to > e || r.to == e && (r.to == t.to || r.type == En.Text))
7954
7954
  return r;
7955
7955
  }
7956
7956
  return t;
7957
7957
  }
7958
7958
  function Gx(n, e, t, r) {
7959
- let s = Hx(n, e.head), i = !r || s.type != An.Text || !(n.lineWrapping || s.widgetLineBreaks) ? null : n.coordsAtPos(e.assoc < 0 && e.head > s.from ? e.head - 1 : e.head);
7959
+ let s = Hx(n, e.head), i = !r || s.type != En.Text || !(n.lineWrapping || s.widgetLineBreaks) ? null : n.coordsAtPos(e.assoc < 0 && e.head > s.from ? e.head - 1 : e.head);
7960
7960
  if (i) {
7961
7961
  let o = n.dom.getBoundingClientRect(), a = n.textDirectionAt(s.from), l = n.posAtCoords({
7962
7962
  x: t == (a == dt.LTR) ? o.right - 1 : o.left + 1,
@@ -8099,7 +8099,7 @@ function OO(n, e) {
8099
8099
  try {
8100
8100
  return e.call(n, r, t);
8101
8101
  } catch (s) {
8102
- En(t.state, s);
8102
+ Rn(t.state, s);
8103
8103
  }
8104
8104
  };
8105
8105
  }
@@ -8121,10 +8121,10 @@ function e2(n) {
8121
8121
  o && t(i).observers.push(OO(r.value, o));
8122
8122
  }
8123
8123
  }
8124
- for (let r in Rn)
8125
- t(r).handlers.push(Rn[r]);
8126
8124
  for (let r in Zn)
8127
- t(r).observers.push(Zn[r]);
8125
+ t(r).handlers.push(Zn[r]);
8126
+ for (let r in In)
8127
+ t(r).observers.push(In[r]);
8128
8128
  return e;
8129
8129
  }
8130
8130
  const Av = [
@@ -8231,7 +8231,7 @@ function a2(n, e) {
8231
8231
  return !1;
8232
8232
  return !0;
8233
8233
  }
8234
- const Rn = /* @__PURE__ */ Object.create(null), Zn = /* @__PURE__ */ Object.create(null), Rv = ce.ie && ce.ie_version < 15 || ce.ios && ce.webkit_version < 604;
8234
+ const Zn = /* @__PURE__ */ Object.create(null), In = /* @__PURE__ */ Object.create(null), Rv = ce.ie && ce.ie_version < 15 || ce.ios && ce.webkit_version < 604;
8235
8235
  function l2(n) {
8236
8236
  let e = n.dom.parentNode;
8237
8237
  if (!e)
@@ -8269,17 +8269,17 @@ function Zv(n, e) {
8269
8269
  scrollIntoView: !0
8270
8270
  });
8271
8271
  }
8272
- Zn.scroll = (n) => {
8272
+ In.scroll = (n) => {
8273
8273
  n.inputState.lastScrollTop = n.scrollDOM.scrollTop, n.inputState.lastScrollLeft = n.scrollDOM.scrollLeft;
8274
8274
  };
8275
- Rn.keydown = (n, e) => (n.inputState.setSelectionOrigin("select"), e.keyCode == 27 && (n.inputState.lastEscPress = Date.now()), !1);
8276
- Zn.touchstart = (n, e) => {
8275
+ Zn.keydown = (n, e) => (n.inputState.setSelectionOrigin("select"), e.keyCode == 27 && (n.inputState.lastEscPress = Date.now()), !1);
8276
+ In.touchstart = (n, e) => {
8277
8277
  n.inputState.lastTouchTime = Date.now(), n.inputState.setSelectionOrigin("select.pointer");
8278
8278
  };
8279
- Zn.touchmove = (n) => {
8279
+ In.touchmove = (n) => {
8280
8280
  n.inputState.setSelectionOrigin("select.pointer");
8281
8281
  };
8282
- Rn.mousedown = (n, e) => {
8282
+ Zn.mousedown = (n, e) => {
8283
8283
  if (n.observer.flush(), n.inputState.lastTouchTime > Date.now() - 2e3)
8284
8284
  return !1;
8285
8285
  let t = null;
@@ -8357,7 +8357,7 @@ function h2(n, e) {
8357
8357
  }
8358
8358
  return null;
8359
8359
  }
8360
- Rn.dragstart = (n, e) => {
8360
+ Zn.dragstart = (n, e) => {
8361
8361
  let { selection: { main: t } } = n.state;
8362
8362
  if (e.target.draggable) {
8363
8363
  let s = n.docView.nearest(e.target);
@@ -8369,7 +8369,7 @@ Rn.dragstart = (n, e) => {
8369
8369
  let { inputState: r } = n;
8370
8370
  return r.mouseSelection && (r.mouseSelection.dragging = !0), r.draggedContent = t, e.dataTransfer && (e.dataTransfer.setData("Text", n.state.sliceDoc(t.from, t.to)), e.dataTransfer.effectAllowed = "copyMove"), !1;
8371
8371
  };
8372
- Rn.dragend = (n) => (n.inputState.draggedContent = null, !1);
8372
+ Zn.dragend = (n) => (n.inputState.draggedContent = null, !1);
8373
8373
  function $O(n, e, t, r) {
8374
8374
  if (!t)
8375
8375
  return;
@@ -8380,7 +8380,7 @@ function $O(n, e, t, r) {
8380
8380
  userEvent: o ? "move.drop" : "input.drop"
8381
8381
  }), n.inputState.draggedContent = null;
8382
8382
  }
8383
- Rn.drop = (n, e) => {
8383
+ Zn.drop = (n, e) => {
8384
8384
  if (!e.dataTransfer)
8385
8385
  return !1;
8386
8386
  if (n.state.readOnly)
@@ -8404,7 +8404,7 @@ Rn.drop = (n, e) => {
8404
8404
  }
8405
8405
  return !1;
8406
8406
  };
8407
- Rn.paste = (n, e) => {
8407
+ Zn.paste = (n, e) => {
8408
8408
  if (n.state.readOnly)
8409
8409
  return !0;
8410
8410
  n.observer.flush();
@@ -8435,7 +8435,7 @@ function p2(n) {
8435
8435
  return { text: e.join(n.lineBreak), ranges: t, linewise: r };
8436
8436
  }
8437
8437
  let nf = null;
8438
- Rn.copy = Rn.cut = (n, e) => {
8438
+ Zn.copy = Zn.cut = (n, e) => {
8439
8439
  let { text: t, ranges: r, linewise: s } = p2(n.state);
8440
8440
  if (!t && !s)
8441
8441
  return !1;
@@ -8465,24 +8465,24 @@ function Mv(n) {
8465
8465
  }
8466
8466
  }, 10);
8467
8467
  }
8468
- Zn.focus = (n) => {
8468
+ In.focus = (n) => {
8469
8469
  n.inputState.lastFocusTime = Date.now(), !n.scrollDOM.scrollTop && (n.inputState.lastScrollTop || n.inputState.lastScrollLeft) && (n.scrollDOM.scrollTop = n.inputState.lastScrollTop, n.scrollDOM.scrollLeft = n.inputState.lastScrollLeft), Mv(n);
8470
8470
  };
8471
- Zn.blur = (n) => {
8471
+ In.blur = (n) => {
8472
8472
  n.observer.clearSelectionRange(), Mv(n);
8473
8473
  };
8474
- Zn.compositionstart = Zn.compositionupdate = (n) => {
8474
+ In.compositionstart = In.compositionupdate = (n) => {
8475
8475
  n.inputState.compositionFirstChange == null && (n.inputState.compositionFirstChange = !0), n.inputState.composing < 0 && (n.inputState.composing = 0);
8476
8476
  };
8477
- Zn.compositionend = (n) => {
8477
+ In.compositionend = (n) => {
8478
8478
  n.inputState.composing = -1, n.inputState.compositionEndedAt = Date.now(), n.inputState.compositionPendingKey = !0, n.inputState.compositionPendingChange = n.observer.pendingRecords().length > 0, n.inputState.compositionFirstChange = null, ce.chrome && ce.android ? n.observer.flushSoon() : n.inputState.compositionPendingChange ? Promise.resolve().then(() => n.observer.flush()) : setTimeout(() => {
8479
8479
  n.inputState.composing < 0 && n.docView.hasComposition && n.update([]);
8480
8480
  }, 50);
8481
8481
  };
8482
- Zn.contextmenu = (n) => {
8482
+ In.contextmenu = (n) => {
8483
8483
  n.inputState.lastContextMenu = Date.now();
8484
8484
  };
8485
- Rn.beforeinput = (n, e) => {
8485
+ Zn.beforeinput = (n, e) => {
8486
8486
  var t;
8487
8487
  let r;
8488
8488
  if (ce.chrome && ce.android && (r = Av.find((s) => s.inputType == e.inputType)) && (n.observer.delayAndroidKey(r.key, r.keyCode), r.key == "Backspace" || r.key == "Delete")) {
@@ -8558,7 +8558,7 @@ class Fn {
8558
8558
  an array of all the blocks that make up the line.
8559
8559
  */
8560
8560
  get type() {
8561
- return typeof this._content == "number" ? An.Text : Array.isArray(this._content) ? this._content : this._content.type;
8561
+ return typeof this._content == "number" ? En.Text : Array.isArray(this._content) ? this._content : this._content.type;
8562
8562
  }
8563
8563
  /**
8564
8564
  The end of the element as a document position.
@@ -10153,7 +10153,7 @@ class ye {
10153
10153
  try {
10154
10154
  h(s);
10155
10155
  } catch (f) {
10156
- En(this.state, f, "update listener");
10156
+ Rn(this.state, f, "update listener");
10157
10157
  }
10158
10158
  (l || d) && Promise.resolve().then(() => {
10159
10159
  l && this.state == l.startState && this.dispatch(l), d && !zv(this, d) && c.force && Ii(this.contentDOM, c.key, c.keyCode);
@@ -10246,7 +10246,7 @@ class ye {
10246
10246
  try {
10247
10247
  return f.read(this);
10248
10248
  } catch (p) {
10249
- return En(this.state, p), RO;
10249
+ return Rn(this.state, p), RO;
10250
10250
  }
10251
10251
  }), u = Ic.create(this, this.state, []), h = !1;
10252
10252
  u.flags |= l, t ? t.flags |= l : t = u, this.updateState = 2, u.empty || (this.updatePlugins(u), this.inputState.update(u), this.updateAttrs(), h = this.docView.update(u));
@@ -10256,7 +10256,7 @@ class ye {
10256
10256
  let p = c[f];
10257
10257
  p.write && p.write(d[f], this);
10258
10258
  } catch (p) {
10259
- En(this.state, p);
10259
+ Rn(this.state, p);
10260
10260
  }
10261
10261
  if (h && this.docView.updateSelection(!0), !u.viewportChanged && this.measureRequests.length == 0) {
10262
10262
  if (this.viewState.editorHeight)
@@ -10860,7 +10860,7 @@ function U2(n, e = X2) {
10860
10860
  return t;
10861
10861
  }
10862
10862
  function Y2(n, e, t, r) {
10863
- let s = fx(e), i = Qt(s, 0), o = xn(i) == s.length && s != " ", a = "", l = !1, c = !1, d = !1;
10863
+ let s = fx(e), i = Qt(s, 0), o = Qn(i) == s.length && s != " ", a = "", l = !1, c = !1, d = !1;
10864
10864
  zr && zr.view == t && zr.scope == r && (a = zr.prefix + " ", Ev.indexOf(e.keyCode) < 0 && (c = !0, zr = null));
10865
10865
  let u = /* @__PURE__ */ new Set(), h = (g) => {
10866
10866
  if (g) {
@@ -11396,7 +11396,7 @@ const cQ = /* @__PURE__ */ gn.fromClass(class {
11396
11396
  if (r.length && (r = []), Array.isArray(i.type)) {
11397
11397
  let o = !0;
11398
11398
  for (let a of i.type)
11399
- if (a.type == An.Text && o) {
11399
+ if (a.type == En.Text && o) {
11400
11400
  cf(t, r, a.from);
11401
11401
  for (let l of s)
11402
11402
  l.line(this.view, a, r);
@@ -11404,7 +11404,7 @@ const cQ = /* @__PURE__ */ gn.fromClass(class {
11404
11404
  } else if (a.widget)
11405
11405
  for (let l of s)
11406
11406
  l.widget(this.view, a);
11407
- } else if (i.type == An.Text) {
11407
+ } else if (i.type == En.Text) {
11408
11408
  cf(t, r, i.from);
11409
11409
  for (let o of s)
11410
11410
  o.line(this.view, i, r);
@@ -13903,7 +13903,7 @@ function i1(n) {
13903
13903
  });
13904
13904
  }
13905
13905
  const Xp = /* @__PURE__ */ new Te();
13906
- class Tn {
13906
+ class Cn {
13907
13907
  /**
13908
13908
  Construct a language object. If you need to invoke this
13909
13909
  directly, first define a data facet with
@@ -13985,7 +13985,7 @@ class Tn {
13985
13985
  return !0;
13986
13986
  }
13987
13987
  }
13988
- Tn.setState = /* @__PURE__ */ Ve.define();
13988
+ Cn.setState = /* @__PURE__ */ Ve.define();
13989
13989
  function e0(n, e, t) {
13990
13990
  let r = n.facet(Hi), s = Rt(n).topNode;
13991
13991
  if (!r || r.allowsNesting)
@@ -13993,7 +13993,7 @@ function e0(n, e, t) {
13993
13993
  i.type.isTop && (s = i);
13994
13994
  return s;
13995
13995
  }
13996
- class rs extends Tn {
13996
+ class rs extends Cn {
13997
13997
  constructor(e, t, r) {
13998
13998
  super(e, t, [], r), this.parser = t;
13999
13999
  }
@@ -14018,7 +14018,7 @@ class rs extends Tn {
14018
14018
  }
14019
14019
  }
14020
14020
  function Rt(n) {
14021
- let e = n.field(Tn.state, !1);
14021
+ let e = n.field(Cn.state, !1);
14022
14022
  return e ? e.tree : tt.empty;
14023
14023
  }
14024
14024
  class NQ {
@@ -14215,11 +14215,11 @@ class Bi {
14215
14215
  return r.work(20, t) || r.takeTree(), new Bi(r);
14216
14216
  }
14217
14217
  }
14218
- Tn.state = /* @__PURE__ */ jn.define({
14218
+ Cn.state = /* @__PURE__ */ jn.define({
14219
14219
  create: Bi.init,
14220
14220
  update(n, e) {
14221
14221
  for (let t of e.effects)
14222
- if (t.is(Tn.setState))
14222
+ if (t.is(Cn.setState))
14223
14223
  return t.value;
14224
14224
  return e.startState.facet(Hi) != e.state.facet(Hi) ? Bi.init(e.state) : n.apply(e);
14225
14225
  }
@@ -14250,13 +14250,13 @@ const Wu = typeof navigator < "u" && (!((Xu = navigator.scheduling) === null ||
14250
14250
  this.view = e, this.working = null, this.workScheduled = 0, this.chunkEnd = -1, this.chunkBudget = -1, this.work = this.work.bind(this), this.scheduleWork();
14251
14251
  }
14252
14252
  update(e) {
14253
- let t = this.view.state.field(Tn.state).context;
14253
+ let t = this.view.state.field(Cn.state).context;
14254
14254
  (t.updateViewport(e.view.viewport) || this.view.viewport.to > t.treeLen) && this.scheduleWork(), (e.docChanged || e.selectionSet) && (this.view.hasFocus && (this.chunkBudget += 50), this.scheduleWork()), this.checkAsyncSchedule(t);
14255
14255
  }
14256
14256
  scheduleWork() {
14257
14257
  if (this.working)
14258
14258
  return;
14259
- let { state: e } = this.view, t = e.field(Tn.state);
14259
+ let { state: e } = this.view, t = e.field(Cn.state);
14260
14260
  (t.tree != t.context.tree || !t.context.isDone(e.doc.length)) && (this.working = o1(this.work));
14261
14261
  }
14262
14262
  work(e) {
@@ -14264,17 +14264,17 @@ const Wu = typeof navigator < "u" && (!((Xu = navigator.scheduling) === null ||
14264
14264
  let t = Date.now();
14265
14265
  if (this.chunkEnd < t && (this.chunkEnd < 0 || this.view.hasFocus) && (this.chunkEnd = t + 3e4, this.chunkBudget = 3e3), this.chunkBudget <= 0)
14266
14266
  return;
14267
- let { state: r, viewport: { to: s } } = this.view, i = r.field(Tn.state);
14267
+ let { state: r, viewport: { to: s } } = this.view, i = r.field(Cn.state);
14268
14268
  if (i.tree == i.context.tree && i.context.isDone(
14269
14269
  s + 1e5
14270
14270
  /* Work.MaxParseAhead */
14271
14271
  ))
14272
14272
  return;
14273
14273
  let o = Date.now() + Math.min(this.chunkBudget, 100, e && !Wu ? Math.max(25, e.timeRemaining() - 5) : 1e9), a = i.context.treeLen < s && r.doc.length > s + 1e3, l = i.context.work(() => Wu && Wu() || Date.now() > o, s + (a ? 0 : 1e5));
14274
- this.chunkBudget -= Date.now() - t, (l || this.chunkBudget <= 0) && (i.context.takeTree(), this.view.dispatch({ effects: Tn.setState.of(new Bi(i.context)) })), this.chunkBudget > 0 && !(l && !a) && this.scheduleWork(), this.checkAsyncSchedule(i.context);
14274
+ this.chunkBudget -= Date.now() - t, (l || this.chunkBudget <= 0) && (i.context.takeTree(), this.view.dispatch({ effects: Cn.setState.of(new Bi(i.context)) })), this.chunkBudget > 0 && !(l && !a) && this.scheduleWork(), this.checkAsyncSchedule(i.context);
14275
14275
  }
14276
14276
  checkAsyncSchedule(e) {
14277
- e.scheduleOn && (this.workScheduled++, e.scheduleOn.then(() => this.scheduleWork()).catch((t) => En(this.view.state, t)).then(() => this.workScheduled--), e.scheduleOn = null);
14277
+ e.scheduleOn && (this.workScheduled++, e.scheduleOn.then(() => this.scheduleWork()).catch((t) => Rn(this.view.state, t)).then(() => this.workScheduled--), e.scheduleOn = null);
14278
14278
  }
14279
14279
  destroy() {
14280
14280
  this.working && this.working();
@@ -14291,7 +14291,7 @@ const Wu = typeof navigator < "u" && (!((Xu = navigator.scheduling) === null ||
14291
14291
  return n.length ? n[0] : null;
14292
14292
  },
14293
14293
  enables: (n) => [
14294
- Tn.state,
14294
+ Cn.state,
14295
14295
  DQ,
14296
14296
  ye.contentAttributes.compute([n], (e) => {
14297
14297
  let t = e.facet(n);
@@ -14578,7 +14578,7 @@ class tl {
14578
14578
  return (r || (r = /* @__PURE__ */ Object.create(null)))["." + l] = a, l;
14579
14579
  }
14580
14580
  const i = typeof t.all == "string" ? t.all : t.all ? s(t.all) : void 0, o = t.scope;
14581
- this.scope = o instanceof Tn ? (a) => a.prop(Pi) == o.data : o ? (a) => a == o : void 0, this.style = s1(e.map((a) => ({
14581
+ this.scope = o instanceof Cn ? (a) => a.prop(Pi) == o.data : o ? (a) => a == o : void 0, this.style = s1(e.map((a) => ({
14582
14582
  tag: a.tag,
14583
14583
  class: a.class || s(Object.assign({}, a, { tag: null }))
14584
14584
  })), {
@@ -14990,7 +14990,7 @@ class mT {
14990
14990
  constructor(e) {
14991
14991
  this.pattern = e, this.chars = [], this.folded = [], this.any = [], this.precise = [], this.byWord = [], this.score = 0, this.matched = [];
14992
14992
  for (let t = 0; t < e.length; ) {
14993
- let r = Qt(e, t), s = xn(r);
14993
+ let r = Qt(e, t), s = Qn(r);
14994
14994
  this.chars.push(r);
14995
14995
  let i = e.slice(t, t + s), o = i.toUpperCase();
14996
14996
  this.folded.push(Qt(o == i ? i.toLowerCase() : o, 0)), t += s;
@@ -15014,7 +15014,7 @@ class mT {
15014
15014
  return !1;
15015
15015
  let { chars: t, folded: r, any: s, precise: i, byWord: o } = this;
15016
15016
  if (t.length == 1) {
15017
- let y = Qt(e, 0), b = xn(y), w = b == e.length ? 0 : -100;
15017
+ let y = Qt(e, 0), b = Qn(y), w = b == e.length ? 0 : -100;
15018
15018
  if (y != t[0])
15019
15019
  if (y == r[0])
15020
15020
  w += -200;
@@ -15029,7 +15029,7 @@ class mT {
15029
15029
  if (a < 0) {
15030
15030
  for (let y = 0, b = Math.min(e.length, 200); y < b && c < l; ) {
15031
15031
  let w = Qt(e, y);
15032
- (w == t[c] || w == r[c]) && (s[c++] = y), y += xn(w);
15032
+ (w == t[c] || w == r[c]) && (s[c++] = y), y += Qn(w);
15033
15033
  }
15034
15034
  if (c < l)
15035
15035
  return !1;
@@ -15039,14 +15039,14 @@ class mT {
15039
15039
  let P = Qt(e, y);
15040
15040
  a < 0 && (d < l && P == t[d] && (i[d++] = y), f < l && (P == t[f] || P == r[f] ? (f == 0 && (p = y), m = y + 1, f++) : f = 0));
15041
15041
  let v, $ = P < 255 ? P >= 48 && P <= 57 || P >= 97 && P <= 122 ? 2 : P >= 65 && P <= 90 ? 1 : 0 : (v = Db(P)) != v.toLowerCase() ? 1 : v != v.toUpperCase() ? 2 : 0;
15042
- (!y || $ == 1 && g || w == 0 && $ != 0) && (t[u] == P || r[u] == P && (h = !0) ? o[u++] = y : o.length && (O = !1)), w = $, y += xn(P);
15042
+ (!y || $ == 1 && g || w == 0 && $ != 0) && (t[u] == P || r[u] == P && (h = !0) ? o[u++] = y : o.length && (O = !1)), w = $, y += Qn(P);
15043
15043
  }
15044
15044
  return u == l && o[0] == 0 && O ? this.result(-100 + (h ? -200 : 0), o, e) : f == l && p == 0 ? this.ret(-200 - e.length + (m == e.length ? 0 : -100), [0, m]) : a > -1 ? this.ret(-700 - e.length, [a, a + this.pattern.length]) : f == l ? this.ret(-900 - e.length, [p, m]) : u == l ? this.result(-100 + (h ? -200 : 0) + -700 + (O ? 0 : -1100), o, e) : t.length == 2 ? !1 : this.result((s[0] ? -700 : 0) + -200 + -1100, s, e);
15045
15045
  }
15046
15046
  result(e, t, r) {
15047
15047
  let s = [], i = 0;
15048
15048
  for (let o of t) {
15049
- let a = o + (this.astral ? xn(Qt(r, o)) : 1);
15049
+ let a = o + (this.astral ? Qn(Qt(r, o)) : 1);
15050
15050
  i && s[i - 1] == o ? s[i - 1] = a : (s[i++] = o, s[i++] = a);
15051
15051
  }
15052
15052
  return this.ret(e - r.length, s);
@@ -15206,7 +15206,7 @@ class yT {
15206
15206
  return;
15207
15207
  "then" in i ? i.then((o) => {
15208
15208
  o && this.view.state.field(this.stateField, !1) == e && this.addInfoPane(o, r);
15209
- }).catch((o) => En(this.view.state, o, "completion info")) : this.addInfoPane(i, r);
15209
+ }).catch((o) => Rn(this.view.state, o, "completion info")) : this.addInfoPane(i, r);
15210
15210
  }
15211
15211
  }
15212
15212
  addInfoPane(e, t) {
@@ -15579,7 +15579,7 @@ const AT = 50, ET = 1e3, RT = /* @__PURE__ */ gn.fromClass(class {
15579
15579
  try {
15580
15580
  o();
15581
15581
  } catch (a) {
15582
- En(this.view.state, a);
15582
+ Rn(this.view.state, a);
15583
15583
  }
15584
15584
  i.context.abortListeners = null, this.running.splice(s--, 1);
15585
15585
  } else
@@ -15602,7 +15602,7 @@ const AT = 50, ET = 1e3, RT = /* @__PURE__ */ gn.fromClass(class {
15602
15602
  this.running.push(s), Promise.resolve(n.source(r)).then((i) => {
15603
15603
  s.context.aborted || (s.done = i || null, this.scheduleAccept());
15604
15604
  }, (i) => {
15605
- this.view.dispatch({ effects: Za.of(null) }), En(this.view.state, i);
15605
+ this.view.dispatch({ effects: Za.of(null) }), Rn(this.view.state, i);
15606
15606
  });
15607
15607
  }
15608
15608
  scheduleAccept() {
@@ -15985,7 +15985,7 @@ const YT = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navi
15985
15985
  if ((YT ? n.composing : n.compositionStarted) || n.state.readOnly)
15986
15986
  return !1;
15987
15987
  let s = n.state.selection.main;
15988
- if (r.length > 2 || r.length == 2 && xn(Qt(r, 0)) == 1 || e != s.from || t != s.to)
15988
+ if (r.length > 2 || r.length == 2 && Qn(Qt(r, 0)) == 1 || e != s.from || t != s.to)
15989
15989
  return !1;
15990
15990
  let i = GT(n.state, r);
15991
15991
  return i ? (n.dispatch(i), !0) : !1;
@@ -16027,11 +16027,11 @@ function C1(n, e) {
16027
16027
  }
16028
16028
  function Zd(n, e) {
16029
16029
  let t = n.sliceString(e, e + 2);
16030
- return t.slice(0, xn(Qt(t, 0)));
16030
+ return t.slice(0, Qn(Qt(t, 0)));
16031
16031
  }
16032
16032
  function FT(n, e) {
16033
16033
  let t = n.sliceString(e - 2, e);
16034
- return xn(Qt(t, 0)) == t.length ? t : t.slice(1);
16034
+ return Qn(Qt(t, 0)) == t.length ? t : t.slice(1);
16035
16035
  }
16036
16036
  function KT(n, e, t, r) {
16037
16037
  let s = null, i = n.changeByRange((o) => {
@@ -20994,7 +20994,7 @@ const SE = { class: "navtable-item-40 navtable-item-request" }, kE = { class: "n
20994
20994
  history: {}
20995
20995
  },
20996
20996
  setup(n) {
20997
- const { requestHistory: e, activeRequestId: t, setActiveResponse: r } = bn(), s = (i) => {
20997
+ const { requestHistory: e, activeRequestId: t, setActiveResponse: r } = vn(), s = (i) => {
20998
20998
  var o;
20999
20999
  return (o = i == null ? void 0 : i.headers) != null && o["X-API-Client-Content-Length"] ? Fc(
21000
21000
  parseFloat(i.headers["X-API-Client-Content-Length"])
@@ -21032,7 +21032,7 @@ const SE = { class: "navtable-item-40 navtable-item-request" }, kE = { class: "n
21032
21032
  __name: "RequestHistory",
21033
21033
  emits: ["toggle"],
21034
21034
  setup(n) {
21035
- const { requestHistoryOrder: e } = bn();
21035
+ const { requestHistoryOrder: e } = vn();
21036
21036
  return (t, r) => (k(), T("div", xE, [
21037
21037
  E("div", QE, [
21038
21038
  E("div", TE, [
@@ -21152,7 +21152,7 @@ const SE = { class: "navtable-item-40 navtable-item-request" }, kE = { class: "n
21152
21152
  requestHistoryOrder: d,
21153
21153
  readOnly: u,
21154
21154
  setActiveRequest: h
21155
- } = bn(), f = kw(), p = ie(() => a.url), m = ie(() => a.type), g = ie(() => a.path), O = ie(() => `${p.value}${g.value}`);
21155
+ } = vn(), f = kw(), p = ie(() => a.url), m = ie(() => a.type), g = ie(() => a.path), O = ie(() => `${p.value}${g.value}`);
21156
21156
  async function y() {
21157
21157
  const v = dE({
21158
21158
  request: { ...a }
@@ -24887,7 +24887,7 @@ var Yw = { exports: {} };
24887
24887
  currentScript: function() {
24888
24888
  if (typeof document > "u")
24889
24889
  return null;
24890
- if ("currentScript" in document && 1 < 2)
24890
+ if ("currentScript" in document)
24891
24891
  return (
24892
24892
  /** @type {any} */
24893
24893
  document.currentScript
@@ -27225,7 +27225,7 @@ const HZ = /* @__PURE__ */ ee(YZ, [["render", BZ], ["__scopeId", "data-v-616daee
27225
27225
  formData: {}
27226
27226
  },
27227
27227
  setup(n) {
27228
- const { activeRequest: e, setActiveRequest: t } = bn(), r = (s) => {
27228
+ const { activeRequest: e, setActiveRequest: t } = vn(), r = (s) => {
27229
27229
  e.body !== s && t({
27230
27230
  ...e,
27231
27231
  body: s
@@ -27273,7 +27273,7 @@ const HZ = /* @__PURE__ */ ee(YZ, [["render", BZ], ["__scopeId", "data-v-616daee
27273
27273
  generatedCookies: {}
27274
27274
  },
27275
27275
  setup(n) {
27276
- const e = n, { activeRequest: t } = bn();
27276
+ const e = n, { activeRequest: t } = vn();
27277
27277
  function r(o) {
27278
27278
  var a;
27279
27279
  (a = t.cookies) == null || a.splice(o, 1);
@@ -27338,7 +27338,7 @@ const HZ = /* @__PURE__ */ ee(YZ, [["render", BZ], ["__scopeId", "data-v-616daee
27338
27338
  generatedHeaders: {}
27339
27339
  },
27340
27340
  setup(n) {
27341
- const e = n, { activeRequest: t } = bn();
27341
+ const e = n, { activeRequest: t } = vn();
27342
27342
  function r(o) {
27343
27343
  var a;
27344
27344
  (a = t.headers) == null || a.splice(o, 1);
@@ -27403,7 +27403,7 @@ const HZ = /* @__PURE__ */ ee(YZ, [["render", BZ], ["__scopeId", "data-v-616daee
27403
27403
  generatedQueries: {}
27404
27404
  },
27405
27405
  setup(n) {
27406
- const e = n, { activeRequest: t } = bn();
27406
+ const e = n, { activeRequest: t } = vn();
27407
27407
  function r(o) {
27408
27408
  var a;
27409
27409
  (a = t.query) == null || a.splice(o, 1);
@@ -27468,7 +27468,7 @@ const HZ = /* @__PURE__ */ ee(YZ, [["render", BZ], ["__scopeId", "data-v-616daee
27468
27468
  variables: {}
27469
27469
  },
27470
27470
  setup(n) {
27471
- const { activeRequest: e } = bn();
27471
+ const { activeRequest: e } = vn();
27472
27472
  function t(s) {
27473
27473
  var i;
27474
27474
  (i = e.variables) == null || i.splice(s, 1);
@@ -27506,7 +27506,7 @@ const HZ = /* @__PURE__ */ ee(YZ, [["render", BZ], ["__scopeId", "data-v-616daee
27506
27506
  }), u3 = { class: "scalar-api-client__main__left custom-scroll" }, h3 = { class: "scalar-api-client__main__content" }, f3 = /* @__PURE__ */ E("label", null, "Request", -1), p3 = { class: "meta" }, m3 = { class: "meta-item meta-item__input" }, g3 = /* @__PURE__ */ E("div", { class: "scalar-api-client__main__scroll-container" }, null, -1), O3 = !0, cy = /* @__PURE__ */ G({
27507
27507
  __name: "Request",
27508
27508
  setup(n) {
27509
- const { activeRequest: e } = bn(), { authentication: t } = us(), {
27509
+ const { activeRequest: e } = vn(), { authentication: t } = us(), {
27510
27510
  openApi: { operation: r, globalSecurity: s }
27511
27511
  } = _d(), i = ie(
27512
27512
  () => {
@@ -27853,7 +27853,7 @@ const M3 = /* @__PURE__ */ ee(j3, [["render", D3], ["__scopeId", "data-v-28fcbcb
27853
27853
  }, ej = /* @__PURE__ */ E("div", { class: "scalar-api-client__main__scroll-container" }, null, -1), fy = /* @__PURE__ */ G({
27854
27854
  __name: "Response",
27855
27855
  setup(n) {
27856
- const { activeResponse: e, activeRequestId: t } = bn(), r = ie(() => {
27856
+ const { activeResponse: e, activeRequestId: t } = vn(), r = ie(() => {
27857
27857
  var a;
27858
27858
  const o = (a = e.value) == null ? void 0 : a.headers;
27859
27859
  return o ? Object.keys(o).map((l) => ({ name: l, value: o[l] })).filter(
@@ -27912,7 +27912,7 @@ const M3 = /* @__PURE__ */ ee(j3, [["render", D3], ["__scopeId", "data-v-28fcbcb
27912
27912
  setup(n, { emit: e }) {
27913
27913
  const t = n, r = e, s = vd();
27914
27914
  Ai(s.escape, () => r("escapeKeyPress"));
27915
- const { activeRequest: i, readOnly: o } = bn(), a = wd("(max-width: 820px)"), l = de(0), c = {
27915
+ const { activeRequest: i, readOnly: o } = vn(), a = wd("(max-width: 820px)"), l = de(0), c = {
27916
27916
  Request: 0,
27917
27917
  Response: 1
27918
27918
  };
@@ -28111,7 +28111,7 @@ const dj = () => ({
28111
28111
  }, il = () => ({
28112
28112
  server: Rf,
28113
28113
  setServer: uj
28114
- }), { server: hj } = il(), { setOperation: fj, setGlobalSecurity: pj } = _d(), { toggleApiClient: mj } = pp(), { setActiveRequest: gj, resetActiveResponse: Oj } = bn();
28114
+ }), { server: hj } = il(), { setOperation: fj, setGlobalSecurity: pj } = _d(), { toggleApiClient: mj } = pp(), { setActiveRequest: gj, resetActiveResponse: Oj } = vn();
28115
28115
  function Zf(n, e) {
28116
28116
  const t = eS({
28117
28117
  serverState: hj,
@@ -30337,13 +30337,13 @@ mo.default = XN;
30337
30337
  var Nt = {};
30338
30338
  Object.defineProperty(Nt, "__esModule", { value: !0 });
30339
30339
  Nt.resolveSchema = Nt.getCompilingSchema = Nt.resolveRef = Nt.compileSchema = Nt.SchemaEnv = void 0;
30340
- const wn = we, WN = po, ws = rn, Qn = vt, wy = Ce, qN = pn;
30340
+ const Sn = we, WN = po, ws = rn, Tn = vt, wy = Ce, qN = pn;
30341
30341
  class zd {
30342
30342
  constructor(e) {
30343
30343
  var t;
30344
30344
  this.refs = {}, this.dynamicAnchors = {};
30345
30345
  let r;
30346
- typeof e.schema == "object" && (r = e.schema), this.schema = e.schema, this.schemaId = e.schemaId, this.root = e.root || this, this.baseId = (t = e.baseId) !== null && t !== void 0 ? t : (0, Qn.normalizeId)(r == null ? void 0 : r[e.schemaId || "$id"]), this.schemaPath = e.schemaPath, this.localRefs = e.localRefs, this.meta = e.meta, this.$async = r == null ? void 0 : r.$async, this.refs = {};
30346
+ typeof e.schema == "object" && (r = e.schema), this.schema = e.schema, this.schemaId = e.schemaId, this.root = e.root || this, this.baseId = (t = e.baseId) !== null && t !== void 0 ? t : (0, Tn.normalizeId)(r == null ? void 0 : r[e.schemaId || "$id"]), this.schemaPath = e.schemaPath, this.localRefs = e.localRefs, this.meta = e.meta, this.$async = r == null ? void 0 : r.$async, this.refs = {};
30347
30347
  }
30348
30348
  }
30349
30349
  Nt.SchemaEnv = zd;
@@ -30351,11 +30351,11 @@ function mm(n) {
30351
30351
  const e = CS.call(this, n);
30352
30352
  if (e)
30353
30353
  return e;
30354
- const t = (0, Qn.getFullPath)(this.opts.uriResolver, n.root.baseId), { es5: r, lines: s } = this.opts.code, { ownProperties: i } = this.opts, o = new wn.CodeGen(this.scope, { es5: r, lines: s, ownProperties: i });
30354
+ const t = (0, Tn.getFullPath)(this.opts.uriResolver, n.root.baseId), { es5: r, lines: s } = this.opts.code, { ownProperties: i } = this.opts, o = new Sn.CodeGen(this.scope, { es5: r, lines: s, ownProperties: i });
30355
30355
  let a;
30356
30356
  n.$async && (a = o.scopeValue("Error", {
30357
30357
  ref: WN.default,
30358
- code: (0, wn._)`require("ajv/dist/runtime/validation_error").default`
30358
+ code: (0, Sn._)`require("ajv/dist/runtime/validation_error").default`
30359
30359
  }));
30360
30360
  const l = o.scopeName("validate");
30361
30361
  n.validateName = l;
@@ -30366,20 +30366,20 @@ function mm(n) {
30366
30366
  parentData: ws.default.parentData,
30367
30367
  parentDataProperty: ws.default.parentDataProperty,
30368
30368
  dataNames: [ws.default.data],
30369
- dataPathArr: [wn.nil],
30369
+ dataPathArr: [Sn.nil],
30370
30370
  dataLevel: 0,
30371
30371
  dataTypes: [],
30372
30372
  definedProperties: /* @__PURE__ */ new Set(),
30373
- topSchemaRef: o.scopeValue("schema", this.opts.code.source === !0 ? { ref: n.schema, code: (0, wn.stringify)(n.schema) } : { ref: n.schema }),
30373
+ topSchemaRef: o.scopeValue("schema", this.opts.code.source === !0 ? { ref: n.schema, code: (0, Sn.stringify)(n.schema) } : { ref: n.schema }),
30374
30374
  validateName: l,
30375
30375
  ValidationError: a,
30376
30376
  schema: n.schema,
30377
30377
  schemaEnv: n,
30378
30378
  rootId: t,
30379
30379
  baseId: n.baseId || t,
30380
- schemaPath: wn.nil,
30380
+ schemaPath: Sn.nil,
30381
30381
  errSchemaPath: n.schemaPath || (this.opts.jtd ? "" : "#"),
30382
- errorPath: (0, wn._)`""`,
30382
+ errorPath: (0, Sn._)`""`,
30383
30383
  opts: this.opts,
30384
30384
  self: this
30385
30385
  };
@@ -30392,11 +30392,11 @@ function mm(n) {
30392
30392
  if (this.scope.value(l, { ref: h }), h.errors = null, h.schema = n.schema, h.schemaEnv = n, n.$async && (h.$async = !0), this.opts.code.source === !0 && (h.source = { validateName: l, validateCode: u, scopeValues: o._values }), this.opts.unevaluated) {
30393
30393
  const { props: f, items: p } = c;
30394
30394
  h.evaluated = {
30395
- props: f instanceof wn.Name ? void 0 : f,
30396
- items: p instanceof wn.Name ? void 0 : p,
30397
- dynamicProps: f instanceof wn.Name,
30398
- dynamicItems: p instanceof wn.Name
30399
- }, h.source && (h.source.evaluated = (0, wn.stringify)(h.evaluated));
30395
+ props: f instanceof Sn.Name ? void 0 : f,
30396
+ items: p instanceof Sn.Name ? void 0 : p,
30397
+ dynamicProps: f instanceof Sn.Name,
30398
+ dynamicItems: p instanceof Sn.Name
30399
+ }, h.source && (h.source.evaluated = (0, Sn.stringify)(h.evaluated));
30400
30400
  }
30401
30401
  return n.validate = h, n;
30402
30402
  } catch (u) {
@@ -30408,7 +30408,7 @@ function mm(n) {
30408
30408
  Nt.compileSchema = mm;
30409
30409
  function VN(n, e, t) {
30410
30410
  var r;
30411
- t = (0, Qn.resolveUrl)(this.opts.uriResolver, e, t);
30411
+ t = (0, Tn.resolveUrl)(this.opts.uriResolver, e, t);
30412
30412
  const s = n.refs[t];
30413
30413
  if (s)
30414
30414
  return s;
@@ -30422,7 +30422,7 @@ function VN(n, e, t) {
30422
30422
  }
30423
30423
  Nt.resolveRef = VN;
30424
30424
  function zN(n) {
30425
- return (0, Qn.inlineRef)(n.schema, this.opts.inlineRefs) ? n.schema : n.validate ? n : mm.call(this, n);
30425
+ return (0, Tn.inlineRef)(n.schema, this.opts.inlineRefs) ? n.schema : n.validate ? n : mm.call(this, n);
30426
30426
  }
30427
30427
  function CS(n) {
30428
30428
  for (const e of this._compilations)
@@ -30440,19 +30440,19 @@ function YN(n, e) {
30440
30440
  return t || this.schemas[e] || Ud.call(this, n, e);
30441
30441
  }
30442
30442
  function Ud(n, e) {
30443
- const t = this.opts.uriResolver.parse(e), r = (0, Qn._getFullPath)(this.opts.uriResolver, t);
30444
- let s = (0, Qn.getFullPath)(this.opts.uriResolver, n.baseId, void 0);
30443
+ const t = this.opts.uriResolver.parse(e), r = (0, Tn._getFullPath)(this.opts.uriResolver, t);
30444
+ let s = (0, Tn.getFullPath)(this.opts.uriResolver, n.baseId, void 0);
30445
30445
  if (Object.keys(n.schema).length > 0 && r === s)
30446
30446
  return oh.call(this, t, n);
30447
- const i = (0, Qn.normalizeId)(r), o = this.refs[i] || this.schemas[i];
30447
+ const i = (0, Tn.normalizeId)(r), o = this.refs[i] || this.schemas[i];
30448
30448
  if (typeof o == "string") {
30449
30449
  const a = Ud.call(this, n, o);
30450
30450
  return typeof (a == null ? void 0 : a.schema) != "object" ? void 0 : oh.call(this, t, a);
30451
30451
  }
30452
30452
  if (typeof (o == null ? void 0 : o.schema) == "object") {
30453
- if (o.validate || mm.call(this, o), i === (0, Qn.normalizeId)(e)) {
30453
+ if (o.validate || mm.call(this, o), i === (0, Tn.normalizeId)(e)) {
30454
30454
  const { schema: a } = o, { schemaId: l } = this.opts, c = a[l];
30455
- return c && (s = (0, Qn.resolveUrl)(this.opts.uriResolver, s, c)), new zd({ schema: a, schemaId: l, root: n, baseId: s });
30455
+ return c && (s = (0, Tn.resolveUrl)(this.opts.uriResolver, s, c)), new zd({ schema: a, schemaId: l, root: n, baseId: s });
30456
30456
  }
30457
30457
  return oh.call(this, t, o);
30458
30458
  }
@@ -30477,11 +30477,11 @@ function oh(n, { baseId: e, schema: t, root: r }) {
30477
30477
  return;
30478
30478
  t = l;
30479
30479
  const c = typeof t == "object" && t[this.opts.schemaId];
30480
- !LN.has(a) && c && (e = (0, Qn.resolveUrl)(this.opts.uriResolver, e, c));
30480
+ !LN.has(a) && c && (e = (0, Tn.resolveUrl)(this.opts.uriResolver, e, c));
30481
30481
  }
30482
30482
  let i;
30483
30483
  if (typeof t != "boolean" && t.$ref && !(0, wy.schemaHasRulesButRef)(t, this.RULES)) {
30484
- const a = (0, Qn.resolveUrl)(this.opts.uriResolver, e, t.$ref);
30484
+ const a = (0, Tn.resolveUrl)(this.opts.uriResolver, e, t.$ref);
30485
30485
  i = Ud.call(this, r, a);
30486
30486
  }
30487
30487
  const { schemaId: o } = this.opts;
@@ -30549,7 +30549,7 @@ var gm = {}, Mf = { exports: {} };
30549
30549
  function c(x) {
30550
30550
  var Z = "[A-Za-z]", N = "[0-9]", U = r(N, "[A-Fa-f]"), L = s(s("%[EFef]" + U + "%" + U + U + "%" + U + U) + "|" + s("%[89A-Fa-f]" + U + "%" + U + U) + "|" + s("%" + U + U)), Oe = "[\\:\\/\\?\\#\\[\\]\\@]", pe = "[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]", Re = r(Oe, pe), at = x ? "[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]" : "[]", ze = x ? "[\\uE000-\\uF8FF]" : "[]", Ae = r(Z, N, "[\\-\\.\\_\\~]", at);
30551
30551
  s(Z + r(Z, N, "[\\+\\-\\.]") + "*"), s(s(L + "|" + r(Ae, pe, "[\\:]")) + "*");
30552
- var Be = s(s("25[0-5]") + "|" + s("2[0-4]" + N) + "|" + s("1" + N + N) + "|" + s("0?[1-9]" + N) + "|0?0?" + N), nt = s(Be + "\\." + Be + "\\." + Be + "\\." + Be), Se = s(U + "{1,4}"), lt = s(s(Se + "\\:" + Se) + "|" + nt), Ue = s(s(Se + "\\:") + "{6}" + lt), an = s("\\:\\:" + s(Se + "\\:") + "{5}" + lt), ci = s(s(Se) + "?\\:\\:" + s(Se + "\\:") + "{4}" + lt), vn = s(s(s(Se + "\\:") + "{0,1}" + Se) + "?\\:\\:" + s(Se + "\\:") + "{3}" + lt), cr = s(s(s(Se + "\\:") + "{0,2}" + Se) + "?\\:\\:" + s(Se + "\\:") + "{2}" + lt), Os = s(s(s(Se + "\\:") + "{0,3}" + Se) + "?\\:\\:" + Se + "\\:" + lt), ys = s(s(s(Se + "\\:") + "{0,4}" + Se) + "?\\:\\:" + lt), ln = s(s(s(Se + "\\:") + "{0,5}" + Se) + "?\\:\\:" + Se), dr = s(s(s(Se + "\\:") + "{0,6}" + Se) + "?\\:\\:"), bs = s([Ue, an, ci, vn, cr, Os, ys, ln, dr].join("|")), qn = s(s(Ae + "|" + L) + "+");
30552
+ var Be = s(s("25[0-5]") + "|" + s("2[0-4]" + N) + "|" + s("1" + N + N) + "|" + s("0?[1-9]" + N) + "|0?0?" + N), nt = s(Be + "\\." + Be + "\\." + Be + "\\." + Be), Se = s(U + "{1,4}"), lt = s(s(Se + "\\:" + Se) + "|" + nt), Ue = s(s(Se + "\\:") + "{6}" + lt), an = s("\\:\\:" + s(Se + "\\:") + "{5}" + lt), ci = s(s(Se) + "?\\:\\:" + s(Se + "\\:") + "{4}" + lt), wn = s(s(s(Se + "\\:") + "{0,1}" + Se) + "?\\:\\:" + s(Se + "\\:") + "{3}" + lt), cr = s(s(s(Se + "\\:") + "{0,2}" + Se) + "?\\:\\:" + s(Se + "\\:") + "{2}" + lt), Os = s(s(s(Se + "\\:") + "{0,3}" + Se) + "?\\:\\:" + Se + "\\:" + lt), ys = s(s(s(Se + "\\:") + "{0,4}" + Se) + "?\\:\\:" + lt), ln = s(s(s(Se + "\\:") + "{0,5}" + Se) + "?\\:\\:" + Se), dr = s(s(s(Se + "\\:") + "{0,6}" + Se) + "?\\:\\:"), bs = s([Ue, an, ci, wn, cr, Os, ys, ln, dr].join("|")), qn = s(s(Ae + "|" + L) + "+");
30553
30553
  s("[vV]" + U + "+\\." + r(Ae, pe, "[\\:]") + "+"), s(s(L + "|" + r(Ae, pe)) + "*");
30554
30554
  var wl = s(L + "|" + r(Ae, pe, "[\\:\\@]"));
30555
30555
  return s(s(L + "|" + r(Ae, pe, "[\\@]")) + "+"), s(s(wl + "|" + r("[\\/\\?]", ze)) + "*"), {
@@ -30695,7 +30695,7 @@ var gm = {}, Mf = { exports: {} };
30695
30695
  for (nt && Z.push(v); Se < N; ) {
30696
30696
  var lt = p, Ue = !0, an = !1, ci = void 0;
30697
30697
  try {
30698
- for (var vn = x[Symbol.iterator](), cr; !(Ue = (cr = vn.next()).done); Ue = !0) {
30698
+ for (var wn = x[Symbol.iterator](), cr; !(Ue = (cr = wn.next()).done); Ue = !0) {
30699
30699
  var Os = cr.value;
30700
30700
  Os >= U && Os < lt && (lt = Os);
30701
30701
  }
@@ -30703,7 +30703,7 @@ var gm = {}, Mf = { exports: {} };
30703
30703
  an = !0, ci = Do;
30704
30704
  } finally {
30705
30705
  try {
30706
- !Ue && vn.return && vn.return();
30706
+ !Ue && wn.return && wn.return();
30707
30707
  } finally {
30708
30708
  if (an)
30709
30709
  throw ci;
@@ -30829,11 +30829,11 @@ var gm = {}, Mf = { exports: {} };
30829
30829
  qn && qn.index + qn.length === bs ? qn.length++ : ln.push({ index: bs, length: 1 });
30830
30830
  }
30831
30831
  return ln;
30832
- }, []), vn = ci.sort(function(ln, dr) {
30832
+ }, []), wn = ci.sort(function(ln, dr) {
30833
30833
  return dr.length - ln.length;
30834
30834
  })[0], cr = void 0;
30835
- if (vn && vn.length > 1) {
30836
- var Os = Ue.slice(0, vn.index), ys = Ue.slice(vn.index + vn.length);
30835
+ if (wn && wn.length > 1) {
30836
+ var Os = Ue.slice(0, wn.index), ys = Ue.slice(wn.index + wn.length);
30837
30837
  cr = Os.join(":") + "::" + ys.join(":");
30838
30838
  } else
30839
30839
  cr = Ue.join(":");
@@ -32169,9 +32169,9 @@ const NS = we, lD = Ce, cD = {
32169
32169
  $m.default = dD;
32170
32170
  var su = {};
32171
32171
  Object.defineProperty(su, "__esModule", { value: !0 });
32172
- const Gl = Qe, Sn = we, uD = rn, Fl = Ce, hD = {
32172
+ const Gl = Qe, kn = we, uD = rn, Fl = Ce, hD = {
32173
32173
  message: "must NOT have additional properties",
32174
- params: ({ params: n }) => (0, Sn._)`{additionalProperty: ${n.additionalProperty}}`
32174
+ params: ({ params: n }) => (0, kn._)`{additionalProperty: ${n.additionalProperty}}`
32175
32175
  }, fD = {
32176
32176
  keyword: "additionalProperties",
32177
32177
  type: ["object"],
@@ -32187,7 +32187,7 @@ const Gl = Qe, Sn = we, uD = rn, Fl = Ce, hD = {
32187
32187
  if (o.props = !0, l.removeAdditional !== "all" && (0, Fl.alwaysValidSchema)(o, t))
32188
32188
  return;
32189
32189
  const c = (0, Gl.allSchemaProperties)(r.properties), d = (0, Gl.allSchemaProperties)(r.patternProperties);
32190
- u(), n.ok((0, Sn._)`${i} === ${uD.default.errors}`);
32190
+ u(), n.ok((0, kn._)`${i} === ${uD.default.errors}`);
32191
32191
  function u() {
32192
32192
  e.forIn("key", s, (g) => {
32193
32193
  !c.length && !d.length ? p(g) : e.if(h(g), () => p(g));
@@ -32199,11 +32199,11 @@ const Gl = Qe, Sn = we, uD = rn, Fl = Ce, hD = {
32199
32199
  const y = (0, Fl.schemaRefOrVal)(o, r.properties, "properties");
32200
32200
  O = (0, Gl.isOwnProperty)(e, y, g);
32201
32201
  } else
32202
- c.length ? O = (0, Sn.or)(...c.map((y) => (0, Sn._)`${g} === ${y}`)) : O = Sn.nil;
32203
- return d.length && (O = (0, Sn.or)(O, ...d.map((y) => (0, Sn._)`${(0, Gl.usePattern)(n, y)}.test(${g})`))), (0, Sn.not)(O);
32202
+ c.length ? O = (0, kn.or)(...c.map((y) => (0, kn._)`${g} === ${y}`)) : O = kn.nil;
32203
+ return d.length && (O = (0, kn.or)(O, ...d.map((y) => (0, kn._)`${(0, Gl.usePattern)(n, y)}.test(${g})`))), (0, kn.not)(O);
32204
32204
  }
32205
32205
  function f(g) {
32206
- e.code((0, Sn._)`delete ${s}[${g}]`);
32206
+ e.code((0, kn._)`delete ${s}[${g}]`);
32207
32207
  }
32208
32208
  function p(g) {
32209
32209
  if (l.removeAdditional === "all" || l.removeAdditional && t === !1) {
@@ -32216,9 +32216,9 @@ const Gl = Qe, Sn = we, uD = rn, Fl = Ce, hD = {
32216
32216
  }
32217
32217
  if (typeof t == "object" && !(0, Fl.alwaysValidSchema)(o, t)) {
32218
32218
  const O = e.name("valid");
32219
- l.removeAdditional === "failing" ? (m(g, O, !1), e.if((0, Sn.not)(O), () => {
32219
+ l.removeAdditional === "failing" ? (m(g, O, !1), e.if((0, kn.not)(O), () => {
32220
32220
  n.reset(), f(g);
32221
- })) : (m(g, O), a || e.if((0, Sn.not)(O), () => e.break()));
32221
+ })) : (m(g, O), a || e.if((0, kn.not)(O), () => e.break()));
32222
32222
  }
32223
32223
  }
32224
32224
  function m(g, O, y) {
@@ -38125,7 +38125,7 @@ class Ak {
38125
38125
  };
38126
38126
  }
38127
38127
  }
38128
- function Pn(n, e) {
38128
+ function _n(n, e) {
38129
38129
  for (let t = 0; t < n.length; ++t)
38130
38130
  if (n[t].type === e)
38131
38131
  return !0;
@@ -38191,7 +38191,7 @@ function Oi(n) {
38191
38191
  function Ky(n) {
38192
38192
  if (n.start.type === "flow-seq-start")
38193
38193
  for (const e of n.items)
38194
- e.sep && !e.value && !Pn(e.start, "explicit-key-ind") && !Pn(e.sep, "map-value-ind") && (e.key && (e.value = e.key), delete e.key, Ek(e.value) ? e.value.end ? Array.prototype.push.apply(e.value.end, e.sep) : e.value.end = e.sep : Array.prototype.push.apply(e.start, e.sep), delete e.sep);
38194
+ e.sep && !e.value && !_n(e.start, "explicit-key-ind") && !_n(e.sep, "map-value-ind") && (e.key && (e.value = e.key), delete e.key, Ek(e.value) ? e.value.end ? Array.prototype.push.apply(e.value.end, e.sep) : e.value.end = e.sep : Array.prototype.push.apply(e.start, e.sep), delete e.sep);
38195
38195
  }
38196
38196
  class hg {
38197
38197
  /**
@@ -38327,7 +38327,7 @@ class hg {
38327
38327
  } else if (s.sep)
38328
38328
  s.value = t;
38329
38329
  else {
38330
- Object.assign(s, { key: t, sep: [] }), this.onKeyLine = !Pn(s.start, "explicit-key-ind");
38330
+ Object.assign(s, { key: t, sep: [] }), this.onKeyLine = !_n(s.start, "explicit-key-ind");
38331
38331
  return;
38332
38332
  }
38333
38333
  break;
@@ -38497,7 +38497,7 @@ class hg {
38497
38497
  s || r.value ? (i.push(this.sourceToken), e.items.push({ start: i }), this.onKeyLine = !0) : r.sep ? r.sep.push(this.sourceToken) : r.start.push(this.sourceToken);
38498
38498
  return;
38499
38499
  case "explicit-key-ind":
38500
- !r.sep && !Pn(r.start, "explicit-key-ind") ? r.start.push(this.sourceToken) : s || r.value ? (i.push(this.sourceToken), e.items.push({ start: i })) : this.stack.push({
38500
+ !r.sep && !_n(r.start, "explicit-key-ind") ? r.start.push(this.sourceToken) : s || r.value ? (i.push(this.sourceToken), e.items.push({ start: i })) : this.stack.push({
38501
38501
  type: "block-map",
38502
38502
  offset: this.offset,
38503
38503
  indent: this.indent,
@@ -38505,18 +38505,18 @@ class hg {
38505
38505
  }), this.onKeyLine = !0;
38506
38506
  return;
38507
38507
  case "map-value-ind":
38508
- if (Pn(r.start, "explicit-key-ind"))
38508
+ if (_n(r.start, "explicit-key-ind"))
38509
38509
  if (r.sep)
38510
38510
  if (r.value)
38511
38511
  e.items.push({ start: [], key: null, sep: [this.sourceToken] });
38512
- else if (Pn(r.sep, "map-value-ind"))
38512
+ else if (_n(r.sep, "map-value-ind"))
38513
38513
  this.stack.push({
38514
38514
  type: "block-map",
38515
38515
  offset: this.offset,
38516
38516
  indent: this.indent,
38517
38517
  items: [{ start: i, key: null, sep: [this.sourceToken] }]
38518
38518
  });
38519
- else if (Ek(r.key) && !Pn(r.sep, "newline")) {
38519
+ else if (Ek(r.key) && !_n(r.sep, "newline")) {
38520
38520
  const o = Oi(r.start), a = r.key, l = r.sep;
38521
38521
  l.push(this.sourceToken), delete r.key, delete r.sep, this.stack.push({
38522
38522
  type: "block-map",
@@ -38526,7 +38526,7 @@ class hg {
38526
38526
  });
38527
38527
  } else
38528
38528
  i.length > 0 ? r.sep = r.sep.concat(i, this.sourceToken) : r.sep.push(this.sourceToken);
38529
- else if (Pn(r.start, "newline"))
38529
+ else if (_n(r.start, "newline"))
38530
38530
  Object.assign(r, { key: null, sep: [this.sourceToken] });
38531
38531
  else {
38532
38532
  const o = Oi(r.start);
@@ -38538,7 +38538,7 @@ class hg {
38538
38538
  });
38539
38539
  }
38540
38540
  else
38541
- r.sep ? r.value || s ? e.items.push({ start: i, key: null, sep: [this.sourceToken] }) : Pn(r.sep, "map-value-ind") ? this.stack.push({
38541
+ r.sep ? r.value || s ? e.items.push({ start: i, key: null, sep: [this.sourceToken] }) : _n(r.sep, "map-value-ind") ? this.stack.push({
38542
38542
  type: "block-map",
38543
38543
  offset: this.offset,
38544
38544
  indent: this.indent,
@@ -38557,7 +38557,7 @@ class hg {
38557
38557
  default: {
38558
38558
  const o = this.startBlockValue(e);
38559
38559
  if (o) {
38560
- s && o.type !== "block-seq" && Pn(r.start, "explicit-key-ind") && e.items.push({ start: i }), this.stack.push(o);
38560
+ s && o.type !== "block-seq" && _n(r.start, "explicit-key-ind") && e.items.push({ start: i }), this.stack.push(o);
38561
38561
  return;
38562
38562
  }
38563
38563
  }
@@ -38600,7 +38600,7 @@ class hg {
38600
38600
  case "seq-item-ind":
38601
38601
  if (this.indent !== e.indent)
38602
38602
  break;
38603
- r.value || Pn(r.start, "seq-item-ind") ? e.items.push({ start: [this.sourceToken] }) : r.start.push(this.sourceToken);
38603
+ r.value || _n(r.start, "seq-item-ind") ? e.items.push({ start: [this.sourceToken] }) : r.start.push(this.sourceToken);
38604
38604
  return;
38605
38605
  }
38606
38606
  if (this.indent > e.indent) {
@@ -41025,7 +41025,7 @@ const ni = /* @__PURE__ */ ee(v9, [["render", S9], ["__scopeId", "data-v-f9d4a1f
41025
41025
  },
41026
41026
  setup(n) {
41027
41027
  const e = n;
41028
- return (t, r) => (k(), q(or, kn($n(e)), {
41028
+ return (t, r) => (k(), q(or, $n(Pn(e)), {
41029
41029
  default: C(() => [
41030
41030
  te(t.$slots, "default", {}, void 0, !0)
41031
41031
  ]),
@@ -41175,7 +41175,7 @@ const ni = /* @__PURE__ */ ee(v9, [["render", S9], ["__scopeId", "data-v-f9d4a1f
41175
41175
  innerHTML: t.value
41176
41176
  }, null, 8, j9));
41177
41177
  }
41178
- }), In = /* @__PURE__ */ ee(N9, [["__scopeId", "data-v-055da1e2"]]), D9 = ["title", "innerHTML"], M9 = /* @__PURE__ */ G({
41178
+ }), bn = /* @__PURE__ */ ee(N9, [["__scopeId", "data-v-055da1e2"]]), D9 = ["title", "innerHTML"], M9 = /* @__PURE__ */ G({
41179
41179
  __name: "ServerItem",
41180
41180
  props: {
41181
41181
  value: {},
@@ -41336,7 +41336,7 @@ const ni = /* @__PURE__ */ ee(v9, [["render", S9], ["__scopeId", "data-v-f9d4a1f
41336
41336
  }, {
41337
41337
  default: C(() => [
41338
41338
  E("div", eV, [
41339
- I(S(In), {
41339
+ I(S(bn), {
41340
41340
  value: S(e).description
41341
41341
  }, null, 8, ["value"])
41342
41342
  ])
@@ -41762,13 +41762,13 @@ const bl = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
41762
41762
  onIntersecting: () => c(S(i)(h.heading))
41763
41763
  }, {
41764
41764
  default: C(() => [
41765
- I(S(In), {
41765
+ I(S(bn), {
41766
41766
  value: h.content,
41767
41767
  withImages: ""
41768
41768
  }, null, 8, ["value"])
41769
41769
  ]),
41770
41770
  _: 2
41771
- }, 1032, ["id", "onIntersecting"])) : (k(), q(S(In), {
41771
+ }, 1032, ["id", "onIntersecting"])) : (k(), q(S(bn), {
41772
41772
  key: 1,
41773
41773
  value: h.content,
41774
41774
  withImages: ""
@@ -42369,11 +42369,11 @@ const bl = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
42369
42369
  } : void 0
42370
42370
  ]), 1032, ["enum", "required", "value"]),
42371
42371
  t(o.description, o.value) ? (k(), T("div", Cz, [
42372
- I(S(In), {
42372
+ I(S(bn), {
42373
42373
  value: t(o.description, o.value)
42374
42374
  }, null, 8, ["value"])
42375
42375
  ])) : r(o.value) ? (k(), T("div", Az, [
42376
- I(S(In), {
42376
+ I(S(bn), {
42377
42377
  value: r(o.value) || ""
42378
42378
  }, null, 8, ["value"])
42379
42379
  ])) : B("", !0),
@@ -42429,7 +42429,7 @@ const bl = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
42429
42429
  ], 2);
42430
42430
  };
42431
42431
  }
42432
- }), Ya = /* @__PURE__ */ ee(Wz, [["__scopeId", "data-v-ca3a59c4"]]), qz = (n) => ($t("data-v-68362ef2"), n = n(), Pt(), n), Vz = {
42432
+ }), Ya = /* @__PURE__ */ ee(Wz, [["__scopeId", "data-v-ca3a59c4"]]), qz = (n) => ($t("data-v-2ee72f39"), n = n(), Pt(), n), Vz = {
42433
42433
  key: 0,
42434
42434
  class: "schema-card-description"
42435
42435
  }, zz = /* @__PURE__ */ qz(() => /* @__PURE__ */ E("polygon", {
@@ -42467,7 +42467,11 @@ const bl = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
42467
42467
  { "schema-card--compact": i.compact, "schema-card--open": a }
42468
42468
  ]])
42469
42469
  }, [
42470
- (l = i.value) != null && l.description ? (k(), T("div", Vz, K(i.value.description), 1)) : B("", !0),
42470
+ (l = i.value) != null && l.description ? (k(), T("div", Vz, [
42471
+ I(S(bn), {
42472
+ value: i.value.description
42473
+ }, null, 8, ["value"])
42474
+ ])) : B("", !0),
42471
42475
  E("div", {
42472
42476
  class: ge(["schema-properties", { "schema-properties-open": a }])
42473
42477
  }, [
@@ -42544,7 +42548,7 @@ const bl = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
42544
42548
  _: 1
42545
42549
  }, 8, ["defaultOpen"])) : B("", !0);
42546
42550
  }
42547
- }), Ds = /* @__PURE__ */ ee(Yz, [["__scopeId", "data-v-68362ef2"]]), Lz = { class: "parameter-item" }, Bz = { class: "parameter-item-container" }, Hz = /* @__PURE__ */ G({
42551
+ }), Ds = /* @__PURE__ */ ee(Yz, [["__scopeId", "data-v-2ee72f39"]]), Lz = { class: "parameter-item" }, Bz = { class: "parameter-item-container" }, Hz = /* @__PURE__ */ G({
42548
42552
  __name: "ParameterItem",
42549
42553
  props: {
42550
42554
  parameter: {},
@@ -42591,7 +42595,7 @@ const bl = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
42591
42595
  ])) : B("", !0);
42592
42596
  };
42593
42597
  }
42594
- }), _n = /* @__PURE__ */ ee(eU, [["__scopeId", "data-v-b53bea85"]]), tU = { key: 0 }, nU = { class: "request-body-title" }, rU = ["value"], sU = {
42598
+ }), xn = /* @__PURE__ */ ee(eU, [["__scopeId", "data-v-b53bea85"]]), tU = { key: 0 }, nU = { class: "request-body-title" }, rU = ["value"], sU = {
42595
42599
  key: 0,
42596
42600
  class: "request-body-schema"
42597
42601
  }, iU = /* @__PURE__ */ G({
@@ -42648,11 +42652,11 @@ const bl = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
42648
42652
  var o, a;
42649
42653
  return k(), T("div", oU, [
42650
42654
  E("div", aU, [
42651
- I(S(In), {
42655
+ I(S(bn), {
42652
42656
  value: s.operation.description
42653
42657
  }, null, 8, ["value"])
42654
42658
  ]),
42655
- I(_n, {
42659
+ I(xn, {
42656
42660
  parameters: S(t).path
42657
42661
  }, {
42658
42662
  title: C(() => [
@@ -42660,7 +42664,7 @@ const bl = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
42660
42664
  ]),
42661
42665
  _: 1
42662
42666
  }, 8, ["parameters"]),
42663
- I(_n, {
42667
+ I(xn, {
42664
42668
  parameters: S(t).query
42665
42669
  }, {
42666
42670
  title: C(() => [
@@ -42668,7 +42672,7 @@ const bl = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
42668
42672
  ]),
42669
42673
  _: 1
42670
42674
  }, 8, ["parameters"]),
42671
- I(_n, {
42675
+ I(xn, {
42672
42676
  parameters: S(t).header
42673
42677
  }, {
42674
42678
  title: C(() => [
@@ -42676,7 +42680,7 @@ const bl = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
42676
42680
  ]),
42677
42681
  _: 1
42678
42682
  }, 8, ["parameters"]),
42679
- I(_n, {
42683
+ I(xn, {
42680
42684
  parameters: S(t).body,
42681
42685
  showChildren: ""
42682
42686
  }, {
@@ -42685,7 +42689,7 @@ const bl = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
42685
42689
  ]),
42686
42690
  _: 1
42687
42691
  }, 8, ["parameters"]),
42688
- I(_n, {
42692
+ I(xn, {
42689
42693
  parameters: S(t).formData
42690
42694
  }, {
42691
42695
  title: C(() => [
@@ -42702,7 +42706,7 @@ const bl = /* @__PURE__ */ ee(AV, [["render", RV], ["__scopeId", "data-v-b630668
42702
42706
  ]),
42703
42707
  _: 1
42704
42708
  }, 8, ["requestBody"])) : B("", !0),
42705
- I(_n, { parameters: S(r) }, {
42709
+ I(xn, { parameters: S(r) }, {
42706
42710
  title: C(() => [
42707
42711
  F("Responses")
42708
42712
  ]),
@@ -43307,7 +43311,7 @@ const mU = /* @__PURE__ */ G({
43307
43311
  examples: (m = l.value) == null ? void 0 : m.examples,
43308
43312
  "onUpdate:modelValue": f[2] || (f[2] = (O) => r.value = O)
43309
43313
  }, null, 8, ["examples"])) : (g = a.value) != null && g.description ? (k(), T("div", AU, [
43310
- I(S(In), {
43314
+ I(S(bn), {
43311
43315
  class: "markdown",
43312
43316
  value: a.value.description
43313
43317
  }, null, 8, ["value"])
@@ -43470,7 +43474,7 @@ const mU = /* @__PURE__ */ G({
43470
43474
  return (s, i) => {
43471
43475
  var o;
43472
43476
  return k(), T("div", DU, [
43473
- I(_n, {
43477
+ I(xn, {
43474
43478
  class: "endpoint-details-card-item",
43475
43479
  parameters: S(t).path
43476
43480
  }, {
@@ -43479,7 +43483,7 @@ const mU = /* @__PURE__ */ G({
43479
43483
  ]),
43480
43484
  _: 1
43481
43485
  }, 8, ["parameters"]),
43482
- I(_n, {
43486
+ I(xn, {
43483
43487
  class: "endpoint-details-card-item",
43484
43488
  parameters: S(t).query
43485
43489
  }, {
@@ -43488,7 +43492,7 @@ const mU = /* @__PURE__ */ G({
43488
43492
  ]),
43489
43493
  _: 1
43490
43494
  }, 8, ["parameters"]),
43491
- I(_n, {
43495
+ I(xn, {
43492
43496
  class: "endpoint-details-card-item",
43493
43497
  parameters: S(t).header
43494
43498
  }, {
@@ -43506,7 +43510,7 @@ const mU = /* @__PURE__ */ G({
43506
43510
  ]),
43507
43511
  _: 1
43508
43512
  }, 8, ["requestBody"]),
43509
- I(_n, {
43513
+ I(xn, {
43510
43514
  class: "endpoint-details-card-item",
43511
43515
  parameters: S(r)
43512
43516
  }, {
@@ -43592,7 +43596,7 @@ const mU = /* @__PURE__ */ G({
43592
43596
  t.operation.description ? {
43593
43597
  name: "description",
43594
43598
  fn: C(() => [
43595
- I(S(In), {
43599
+ I(S(bn), {
43596
43600
  value: t.operation.description
43597
43601
  }, null, 8, ["value"])
43598
43602
  ]),
@@ -43657,7 +43661,7 @@ const mU = /* @__PURE__ */ G({
43657
43661
  ]),
43658
43662
  _: 1
43659
43663
  }),
43660
- I(S(In), {
43664
+ I(S(bn), {
43661
43665
  value: c.tag.description
43662
43666
  }, null, 8, ["value"])
43663
43667
  ]),
@@ -43788,7 +43792,7 @@ const mU = /* @__PURE__ */ G({
43788
43792
  ]),
43789
43793
  _: 1
43790
43794
  }),
43791
- I(S(In), {
43795
+ I(S(bn), {
43792
43796
  class: "tag-description",
43793
43797
  value: t.tag.description
43794
43798
  }, null, 8, ["value"])
@@ -44099,7 +44103,7 @@ const mU = /* @__PURE__ */ G({
44099
44103
  ]),
44100
44104
  _: 1
44101
44105
  }, 8, ["requestBody"]),
44102
- I(_n, { parameters: S(t) }, {
44106
+ I(xn, { parameters: S(t) }, {
44103
44107
  title: C(() => [
44104
44108
  F("Responses")
44105
44109
  ]),
@@ -44150,7 +44154,7 @@ const mU = /* @__PURE__ */ G({
44150
44154
  ]),
44151
44155
  _: 2
44152
44156
  }, 1024),
44153
- (d = s.webhooks[o][l]) != null && d.description ? (k(), q(S(In), {
44157
+ (d = s.webhooks[o][l]) != null && d.description ? (k(), q(S(bn), {
44154
44158
  key: 0,
44155
44159
  value: (u = s.webhooks[o][l]) == null ? void 0 : u.description
44156
44160
  }, null, 8, ["value"])) : B("", !0),
@@ -45660,16 +45664,16 @@ const mU = /* @__PURE__ */ G({
45660
45664
  (...le) => S(w) && S(w)(...le))
45661
45665
  }, [
45662
45666
  E("div", ZY, [
45663
- te(v.$slots, "header", kn($n(P.value)), void 0, !0)
45667
+ te(v.$slots, "header", $n(Pn(P.value)), void 0, !0)
45664
45668
  ]),
45665
45669
  v.configuration.showSidebar ? (k(), T("aside", IY, [
45666
45670
  E("div", jY, [
45667
45671
  I(S(sp), { parsedSpec: v.parsedSpec }, {
45668
45672
  "sidebar-start": C(() => [
45669
- te(v.$slots, "sidebar-start", kn($n(P.value)), void 0, !0)
45673
+ te(v.$slots, "sidebar-start", $n(Pn(P.value)), void 0, !0)
45670
45674
  ]),
45671
45675
  "sidebar-end": C(() => [
45672
- te(v.$slots, "sidebar-end", kn($n(P.value)), void 0, !0)
45676
+ te(v.$slots, "sidebar-end", $n(Pn(P.value)), void 0, !0)
45673
45677
  ]),
45674
45678
  _: 3
45675
45679
  }, 8, ["parsedSpec"])
@@ -45677,7 +45681,7 @@ const mU = /* @__PURE__ */ G({
45677
45681
  ])) : B("", !0),
45678
45682
  Dt(E("div", NY, [
45679
45683
  E("div", DY, [
45680
- te(v.$slots, "editor", kn($n(P.value)), void 0, !0)
45684
+ te(v.$slots, "editor", $n(Pn(P.value)), void 0, !0)
45681
45685
  ])
45682
45686
  ], 512), [
45683
45687
  [qs, v.configuration.isEditable]
@@ -45690,10 +45694,10 @@ const mU = /* @__PURE__ */ G({
45690
45694
  parsedSpec: v.parsedSpec
45691
45695
  }, up({
45692
45696
  start: C(() => [
45693
- te(v.$slots, "content-start", kn($n(P.value)), void 0, !0)
45697
+ te(v.$slots, "content-start", $n(Pn(P.value)), void 0, !0)
45694
45698
  ]),
45695
45699
  end: C(() => [
45696
- te(v.$slots, "content-end", kn($n(P.value)), void 0, !0)
45700
+ te(v.$slots, "content-end", $n(Pn(P.value)), void 0, !0)
45697
45701
  ]),
45698
45702
  _: 2
45699
45703
  }, [
@@ -45716,7 +45720,7 @@ const mU = /* @__PURE__ */ G({
45716
45720
  ]), 1032, ["baseServerURL", "layout", "parsedSpec"])
45717
45721
  ]),
45718
45722
  v.$slots.footer ? (k(), T("div", XY, [
45719
- te(v.$slots, "footer", kn($n(P.value)), void 0, !0)
45723
+ te(v.$slots, "footer", $n(Pn(P.value)), void 0, !0)
45720
45724
  ])) : B("", !0)
45721
45725
  ], 64)) : B("", !0),
45722
45726
  I(m9, {
@@ -45724,10 +45728,10 @@ const mU = /* @__PURE__ */ G({
45724
45728
  proxyUrl: (M = v.configuration) == null ? void 0 : M.proxy
45725
45729
  }, {
45726
45730
  "sidebar-start": C(() => [
45727
- te(v.$slots, "sidebar-start", kn($n(P.value)), void 0, !0)
45731
+ te(v.$slots, "sidebar-start", $n(Pn(P.value)), void 0, !0)
45728
45732
  ]),
45729
45733
  "sidebar-end": C(() => [
45730
- te(v.$slots, "sidebar-end", kn($n(P.value)), void 0, !0)
45734
+ te(v.$slots, "sidebar-end", $n(Pn(P.value)), void 0, !0)
45731
45735
  ]),
45732
45736
  _: 3
45733
45737
  }, 8, ["parsedSpec", "proxyUrl"])