@scalar/api-reference 1.22.0 → 1.22.2

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 @@ import './index.css';
2
2
  var N$ = Object.defineProperty;
3
3
  var D$ = (r, e, t) => e in r ? N$(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
4
4
  var _u = (r, e, t) => (D$(r, typeof e != "symbol" ? e + "" : e, t), t);
5
- import { defineComponent as H, openBlock as k, createBlock as W, resolveDynamicComponent as Sn, withCtx as T, createTextVNode as G, toDisplayString as K, unref as S, createCommentVNode as B, onMounted as Ks, useCssModule as ub, renderSlot as te, reactive as ln, readonly as dp, ref as de, computed as se, normalizeStyle as io, normalizeProps as kr, guardReactiveProps as $r, watch as Ie, onBeforeUnmount as M$, toValue as Ot, toRef as Lr, createElementBlock as Q, createElementVNode as R, createVNode as I, normalizeClass as me, Fragment as J, renderList as be, createStaticVNode as ds, pushScopeId as $t, popScopeId as Pt, mergeProps as up, shallowRef as X$, getCurrentScope as q$, onScopeDispose as W$, shallowReadonly as di, useAttrs as V$, nextTick as sc, onServerPrefetch as Js, useSSRContext as La, defineAsyncComponent as z$, useCssVars as U$, Teleport as Y$, withModifiers as Ba, withDirectives as Dt, vModelText as la, vModelCheckbox as hb, vShow as Ws, toRaw as L$, withKeys as B$, inject as hp, createSlots as fp, vModelSelect as H$, onBeforeMount as G$, getCurrentInstance as F$, provide as Dg, isRef as K$ } from "vue";
5
+ import { defineComponent as H, openBlock as k, createBlock as W, resolveDynamicComponent as Sn, withCtx as T, createTextVNode as G, toDisplayString as K, unref as S, createCommentVNode as B, onMounted as ds, useCssModule as ub, renderSlot as te, reactive as ln, readonly as dp, ref as le, computed as se, normalizeStyle as io, normalizeProps as kr, guardReactiveProps as $r, watch as Ie, onBeforeUnmount as M$, toValue as Ot, toRef as Lr, createElementBlock as Q, createElementVNode as R, createVNode as I, normalizeClass as me, Fragment as J, renderList as be, createStaticVNode as us, pushScopeId as $t, popScopeId as Pt, mergeProps as up, shallowRef as X$, getCurrentScope as q$, onScopeDispose as W$, shallowReadonly as di, useAttrs as V$, nextTick as sc, onServerPrefetch as Js, useSSRContext as La, defineAsyncComponent as z$, useCssVars as U$, Teleport as Y$, withModifiers as Ba, withDirectives as Dt, vModelText as la, vModelCheckbox as hb, vShow as Vs, toRaw as L$, withKeys as B$, inject as hp, createSlots as fp, vModelSelect as H$, onBeforeMount as G$, getCurrentInstance as F$, provide as Dg, isRef as K$ } from "vue";
6
6
  import { Dialog as J$, DialogPanel as eP, DialogTitle as tP, DialogDescription as rP, Disclosure as bd, DisclosureButton as vd, DisclosurePanel as wd, Listbox as nP, ListboxButton as sP, ListboxOptions as iP, ListboxOption as oP, TabGroup as fb, TabList as pb, Tab as _h, TabPanels as aP, TabPanel as Mg, provideUseId as lP } from "@headlessui/vue";
7
7
  import { useMagicKeys as Sd, whenever as Ai, useEventBus as pp, useMediaQuery as kd, useIntersectionObserver as cP, useElementHover as dP, computedAsync as uP, useMutationObserver as hP, useResizeObserver as fP, useDebounceFn as pP } from "@vueuse/core";
8
8
  import mP, { AxiosHeaders as gP } from "axios";
@@ -38,7 +38,7 @@ const IP = "@layer scalar-theme{:root{--scalar-text-decoration: underline;--scal
38
38
  }
39
39
  });
40
40
  function bb(r, e) {
41
- Ks(() => {
41
+ ds(() => {
42
42
  if (!document.body)
43
43
  return;
44
44
  const t = document.querySelector(r);
@@ -51,7 +51,7 @@ const zP = /* @__PURE__ */ H({
51
51
  const { reset: e } = ub();
52
52
  return bb("#headlessui-portal-root", e), (t, n) => te(t.$slots, "default", { styles: S(e) });
53
53
  }
54
- }), UP = "_reset_1hufs_3", YP = {
54
+ }), UP = "_reset_vl0rh_3", YP = {
55
55
  reset: UP
56
56
  }, ee = (r, e) => {
57
57
  const t = r.__vccOpts || r;
@@ -125,11 +125,11 @@ const gp = () => ({
125
125
  for (n = 0; n < r.length; n++)
126
126
  e = r.charCodeAt(n), t = (t << 5) - t + e, t |= 0;
127
127
  return t;
128
- }, yp = Symbol.for("yaml.alias"), l_ = Symbol.for("yaml.document"), Ms = Symbol.for("yaml.map"), Sb = Symbol.for("yaml.pair"), bp = Symbol.for("yaml.scalar"), Ha = Symbol.for("yaml.seq"), cn = Symbol.for("yaml.node.type"), oo = (r) => !!r && typeof r == "object" && r[cn] === yp, $d = (r) => !!r && typeof r == "object" && r[cn] === l_, kb = (r) => !!r && typeof r == "object" && r[cn] === Ms, kt = (r) => !!r && typeof r == "object" && r[cn] === Sb, pt = (r) => !!r && typeof r == "object" && r[cn] === bp, vp = (r) => !!r && typeof r == "object" && r[cn] === Ha;
128
+ }, yp = Symbol.for("yaml.alias"), l_ = Symbol.for("yaml.document"), Xs = Symbol.for("yaml.map"), Sb = Symbol.for("yaml.pair"), bp = Symbol.for("yaml.scalar"), Ha = Symbol.for("yaml.seq"), cn = Symbol.for("yaml.node.type"), oo = (r) => !!r && typeof r == "object" && r[cn] === yp, $d = (r) => !!r && typeof r == "object" && r[cn] === l_, kb = (r) => !!r && typeof r == "object" && r[cn] === Xs, kt = (r) => !!r && typeof r == "object" && r[cn] === Sb, pt = (r) => !!r && typeof r == "object" && r[cn] === bp, vp = (r) => !!r && typeof r == "object" && r[cn] === Ha;
129
129
  function Jt(r) {
130
130
  if (r && typeof r == "object")
131
131
  switch (r[cn]) {
132
- case Ms:
132
+ case Xs:
133
133
  case Ha:
134
134
  return !0;
135
135
  }
@@ -139,19 +139,19 @@ function Lt(r) {
139
139
  if (r && typeof r == "object")
140
140
  switch (r[cn]) {
141
141
  case yp:
142
- case Ms:
142
+ case Xs:
143
143
  case bp:
144
144
  case Ha:
145
145
  return !0;
146
146
  }
147
147
  return !1;
148
148
  }
149
- const c_ = (r) => (pt(r) || Jt(r)) && !!r.anchor, Ss = Symbol("break visit"), d_ = Symbol("skip children"), ca = Symbol("remove node");
149
+ const c_ = (r) => (pt(r) || Jt(r)) && !!r.anchor, ks = Symbol("break visit"), d_ = Symbol("skip children"), ca = Symbol("remove node");
150
150
  function Sa(r, e) {
151
151
  const t = u_(e);
152
152
  $d(r) ? wi(null, r.contents, t, Object.freeze([r])) === ca && (r.contents = null) : wi(null, r, t, Object.freeze([]));
153
153
  }
154
- Sa.BREAK = Ss;
154
+ Sa.BREAK = ks;
155
155
  Sa.SKIP = d_;
156
156
  Sa.REMOVE = ca;
157
157
  function wi(r, e, t, n) {
@@ -166,20 +166,20 @@ function wi(r, e, t, n) {
166
166
  if (typeof o == "number")
167
167
  i = o - 1;
168
168
  else {
169
- if (o === Ss)
170
- return Ss;
169
+ if (o === ks)
170
+ return ks;
171
171
  o === ca && (e.items.splice(i, 1), i -= 1);
172
172
  }
173
173
  }
174
174
  } else if (kt(e)) {
175
175
  n = Object.freeze(n.concat(e));
176
176
  const i = wi("key", e.key, t, n);
177
- if (i === Ss)
178
- return Ss;
177
+ if (i === ks)
178
+ return ks;
179
179
  i === ca && (e.key = null);
180
180
  const o = wi("value", e.value, t, n);
181
- if (o === Ss)
182
- return Ss;
181
+ if (o === ks)
182
+ return ks;
183
183
  o === ca && (e.value = null);
184
184
  }
185
185
  }
@@ -407,7 +407,7 @@ function Tc(r, e, t) {
407
407
  if ($d(r) && (r = r.contents), Lt(r))
408
408
  return r;
409
409
  if (kt(r)) {
410
- const p = (h = (u = t.schema[Ms]).createNode) == null ? void 0 : h.call(u, t.schema, null, t);
410
+ const p = (h = (u = t.schema[Xs]).createNode) == null ? void 0 : h.call(u, t.schema, null, t);
411
411
  return p.items.push(r), p;
412
412
  }
413
413
  (r instanceof String || r instanceof Number || r instanceof Boolean || typeof BigInt < "u" && r instanceof BigInt) && (r = r.valueOf());
@@ -425,7 +425,7 @@ function Tc(r, e, t) {
425
425
  const p = new ct(r);
426
426
  return l && (l.node = p), p;
427
427
  }
428
- c = r instanceof Map ? o[Ms] : Symbol.iterator in Object(r) ? o[Ha] : o[Ms];
428
+ c = r instanceof Map ? o[Xs] : Symbol.iterator in Object(r) ? o[Ha] : o[Xs];
429
429
  }
430
430
  i && (i(c), delete t.onTagObj);
431
431
  const d = c != null && c.createNode ? c.createNode(t.schema, r, t) : typeof ((f = c == null ? void 0 : c.nodeClass) == null ? void 0 : f.from) == "function" ? c.nodeClass.from(t.schema, r, t) : new ct(r);
@@ -1173,7 +1173,7 @@ function Ac({ indent: r, options: { commentString: e } }, t, n, s) {
1173
1173
  t.push(i.trimStart());
1174
1174
  }
1175
1175
  }
1176
- function Ts(r, e) {
1176
+ function Cs(r, e) {
1177
1177
  const t = pt(e) ? e.value : e;
1178
1178
  for (const n of r)
1179
1179
  if (kt(n) && (n.key === e || n.key === t || pt(n.key) && n.key.value === t))
@@ -1184,7 +1184,7 @@ class yi extends Sp {
1184
1184
  return "tag:yaml.org,2002:map";
1185
1185
  }
1186
1186
  constructor(e) {
1187
- super(Ms, e), this.items = [];
1187
+ super(Xs, e), this.items = [];
1188
1188
  }
1189
1189
  /**
1190
1190
  * A generic collection parsing method that can be extended
@@ -1216,7 +1216,7 @@ class yi extends Sp {
1216
1216
  var o;
1217
1217
  let n;
1218
1218
  kt(e) ? n = e : !e || typeof e != "object" || !("key" in e) ? n = new On(e, e == null ? void 0 : e.value) : n = new On(e.key, e.value);
1219
- const s = Ts(this.items, n.key), i = (o = this.schema) == null ? void 0 : o.sortMapEntries;
1219
+ const s = Cs(this.items, n.key), i = (o = this.schema) == null ? void 0 : o.sortMapEntries;
1220
1220
  if (s) {
1221
1221
  if (!t)
1222
1222
  throw new Error(`Key ${n.key} already set`);
@@ -1228,15 +1228,15 @@ class yi extends Sp {
1228
1228
  this.items.push(n);
1229
1229
  }
1230
1230
  delete(e) {
1231
- const t = Ts(this.items, e);
1231
+ const t = Cs(this.items, e);
1232
1232
  return t ? this.items.splice(this.items.indexOf(t), 1).length > 0 : !1;
1233
1233
  }
1234
1234
  get(e, t) {
1235
- const n = Ts(this.items, e), s = n == null ? void 0 : n.value;
1235
+ const n = Cs(this.items, e), s = n == null ? void 0 : n.value;
1236
1236
  return (!t && pt(s) ? s.value : s) ?? void 0;
1237
1237
  }
1238
1238
  has(e) {
1239
- return !!Ts(this.items, e);
1239
+ return !!Cs(this.items, e);
1240
1240
  }
1241
1241
  set(e, t) {
1242
1242
  this.add(new On(e, t), !0);
@@ -1415,20 +1415,20 @@ class Pp extends yi {
1415
1415
  }
1416
1416
  add(e) {
1417
1417
  let t;
1418
- kt(e) ? t = e : e && typeof e == "object" && "key" in e && "value" in e && e.value === null ? t = new On(e.key, null) : t = new On(e, null), Ts(this.items, t.key) || this.items.push(t);
1418
+ kt(e) ? t = e : e && typeof e == "object" && "key" in e && "value" in e && e.value === null ? t = new On(e.key, null) : t = new On(e, null), Cs(this.items, t.key) || this.items.push(t);
1419
1419
  }
1420
1420
  /**
1421
1421
  * If `keepPair` is `true`, returns the Pair matching `key`.
1422
1422
  * Otherwise, returns the value of that Pair's key.
1423
1423
  */
1424
1424
  get(e, t) {
1425
- const n = Ts(this.items, e);
1425
+ const n = Cs(this.items, e);
1426
1426
  return !t && kt(n) ? pt(n.key) ? n.key.value : n.key : n;
1427
1427
  }
1428
1428
  set(e, t) {
1429
1429
  if (typeof t != "boolean")
1430
1430
  throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);
1431
- const n = Ts(this.items, e);
1431
+ const n = Cs(this.items, e);
1432
1432
  n && !t ? this.items.splice(this.items.indexOf(n), 1) : !n && t && this.items.push(new On(e));
1433
1433
  }
1434
1434
  toJSON(e, t) {
@@ -1883,7 +1883,7 @@ const Ch = (r, e, t) => {
1883
1883
  }
1884
1884
  }), Eb = ln(
1885
1885
  ao["useGlobalStore-authentication"] ?? I_()
1886
- ), j_ = (r) => Object.assign(Eb, r), us = () => ({
1886
+ ), j_ = (r) => Object.assign(Eb, r), hs = () => ({
1887
1887
  authentication: Eb,
1888
1888
  setAuthentication: j_
1889
1889
  }), N_ = () => ({
@@ -1914,7 +1914,7 @@ const Ch = (r, e, t) => {
1914
1914
  query: [],
1915
1915
  body: "",
1916
1916
  formData: []
1917
- }), Td = ln({}), Rb = de([]), zi = de(""), _p = ln(X_()), q_ = (r) => {
1917
+ }), Td = ln({}), Rb = le([]), zi = le(""), _p = ln(X_()), q_ = (r) => {
1918
1918
  Td[r.responseId] = r, zi.value = r.responseId, Rb.value.unshift(r.responseId);
1919
1919
  }, W_ = (r) => {
1920
1920
  zi.value = r;
@@ -1926,7 +1926,7 @@ const Ch = (r, e, t) => {
1926
1926
  Object.assign(_p, r);
1927
1927
  }, U_ = () => {
1928
1928
  zi.value = "";
1929
- }, Y_ = de(!0), br = () => ({
1929
+ }, Y_ = le(!0), br = () => ({
1930
1930
  readOnly: Y_,
1931
1931
  activeRequest: _p,
1932
1932
  activeResponse: V_,
@@ -2745,7 +2745,7 @@ const B_ = {
2745
2745
  name: "Network Authentication Required",
2746
2746
  url: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/511"
2747
2747
  }
2748
- }, hs = /* @__PURE__ */ H({
2748
+ }, fs = /* @__PURE__ */ H({
2749
2749
  __name: "HttpMethod",
2750
2750
  props: {
2751
2751
  as: {},
@@ -3701,7 +3701,7 @@ class Pa {
3701
3701
  this.ins == -1 ? this.forward(e) : e == this.ins ? this.next() : (this.ins -= e, this.off += e);
3702
3702
  }
3703
3703
  }
3704
- class Cs {
3704
+ class As {
3705
3705
  constructor(e, t, n) {
3706
3706
  this.from = e, this.to = t, this.flags = n;
3707
3707
  }
@@ -3758,7 +3758,7 @@ class Cs {
3758
3758
  */
3759
3759
  map(e, t = -1) {
3760
3760
  let n, s;
3761
- return this.empty ? n = s = e.mapPos(this.from, t) : (n = e.mapPos(this.from, 1), s = e.mapPos(this.to, -1)), n == this.from && s == this.to ? this : new Cs(n, s, this.flags);
3761
+ return this.empty ? n = s = e.mapPos(this.from, t) : (n = e.mapPos(this.from, 1), s = e.mapPos(this.to, -1)), n == this.from && s == this.to ? this : new As(n, s, this.flags);
3762
3762
  }
3763
3763
  /**
3764
3764
  Extend this range to cover at least `from` to `to`.
@@ -3794,7 +3794,7 @@ class Cs {
3794
3794
  @internal
3795
3795
  */
3796
3796
  static create(e, t, n) {
3797
- return new Cs(e, t, n);
3797
+ return new As(e, t, n);
3798
3798
  }
3799
3799
  }
3800
3800
  class oe {
@@ -3864,7 +3864,7 @@ class oe {
3864
3864
  static fromJSON(e) {
3865
3865
  if (!e || !Array.isArray(e.ranges) || typeof e.main != "number" || e.main >= e.ranges.length)
3866
3866
  throw new RangeError("Invalid JSON representation for EditorSelection");
3867
- return new oe(e.ranges.map((t) => Cs.fromJSON(t)), e.main);
3867
+ return new oe(e.ranges.map((t) => As.fromJSON(t)), e.main);
3868
3868
  }
3869
3869
  /**
3870
3870
  Create a selection holding a single range.
@@ -3892,14 +3892,14 @@ class oe {
3892
3892
  safely ignore the optional arguments in most situations.
3893
3893
  */
3894
3894
  static cursor(e, t = 0, n, s) {
3895
- return Cs.create(e, e, (t == 0 ? 0 : t < 0 ? 8 : 16) | (n == null ? 7 : Math.min(6, n)) | (s ?? 16777215) << 6);
3895
+ return As.create(e, e, (t == 0 ? 0 : t < 0 ? 8 : 16) | (n == null ? 7 : Math.min(6, n)) | (s ?? 16777215) << 6);
3896
3896
  }
3897
3897
  /**
3898
3898
  Create a selection range.
3899
3899
  */
3900
3900
  static range(e, t, n, s) {
3901
3901
  let i = (n ?? 16777215) << 6 | (s == null ? 7 : Math.min(6, s));
3902
- return t < e ? Cs.create(t, e, 48 | i) : Cs.create(e, t, (t > e ? 8 : 0) | i);
3902
+ return t < e ? As.create(t, e, 48 | i) : As.create(e, t, (t > e ? 8 : 0) | i);
3903
3903
  }
3904
3904
  /**
3905
3905
  @internal
@@ -4106,7 +4106,7 @@ class Ir {
4106
4106
  return this;
4107
4107
  }
4108
4108
  }
4109
- const ks = { lowest: 4, low: 3, default: 2, high: 1, highest: 0 };
4109
+ const $s = { lowest: 4, low: 3, default: 2, high: 1, highest: 0 };
4110
4110
  function Mo(r) {
4111
4111
  return (e) => new Vb(e, r);
4112
4112
  }
@@ -4115,26 +4115,26 @@ const Ga = {
4115
4115
  The highest precedence level, for extensions that should end up
4116
4116
  near the start of the precedence ordering.
4117
4117
  */
4118
- highest: /* @__PURE__ */ Mo(ks.highest),
4118
+ highest: /* @__PURE__ */ Mo($s.highest),
4119
4119
  /**
4120
4120
  A higher-than-default precedence, for extensions that should
4121
4121
  come before those with default precedence.
4122
4122
  */
4123
- high: /* @__PURE__ */ Mo(ks.high),
4123
+ high: /* @__PURE__ */ Mo($s.high),
4124
4124
  /**
4125
4125
  The default precedence, which is also used for extensions
4126
4126
  without an explicit precedence.
4127
4127
  */
4128
- default: /* @__PURE__ */ Mo(ks.default),
4128
+ default: /* @__PURE__ */ Mo($s.default),
4129
4129
  /**
4130
4130
  A lower-than-default precedence.
4131
4131
  */
4132
- low: /* @__PURE__ */ Mo(ks.low),
4132
+ low: /* @__PURE__ */ Mo($s.low),
4133
4133
  /**
4134
4134
  The lowest precedence level. Meant for things that should end up
4135
4135
  near the end of the extension order.
4136
4136
  */
4137
- lowest: /* @__PURE__ */ Mo(ks.lowest)
4137
+ lowest: /* @__PURE__ */ Mo($s.lowest)
4138
4138
  };
4139
4139
  class Vb {
4140
4140
  constructor(e, t) {
@@ -4234,7 +4234,7 @@ function rx(r, e, t) {
4234
4234
  else if (o instanceof Ir)
4235
4235
  n[a].push(o), o.provides && i(o.provides, a);
4236
4236
  else if (o instanceof cc)
4237
- n[a].push(o), o.facet.extensions && i(o.facet.extensions, ks.default);
4237
+ n[a].push(o), o.facet.extensions && i(o.facet.extensions, $s.default);
4238
4238
  else {
4239
4239
  let c = o.extension;
4240
4240
  if (!c)
@@ -4242,7 +4242,7 @@ function rx(r, e, t) {
4242
4242
  i(c, a);
4243
4243
  }
4244
4244
  }
4245
- return i(r, ks.default), n.reduce((o, a) => o.concat(a));
4245
+ return i(r, $s.default), n.reduce((o, a) => o.concat(a));
4246
4246
  }
4247
4247
  function ha(r, e) {
4248
4248
  if (e & 1)
@@ -4846,7 +4846,7 @@ function Ad(r, e, t = {}) {
4846
4846
  n[s] === void 0 && (n[s] = e[s]);
4847
4847
  return n;
4848
4848
  }
4849
- class Vs {
4849
+ class zs {
4850
4850
  /**
4851
4851
  Compare this value with another value. Used when comparing
4852
4852
  rangesets. The default implementation compares by identity.
@@ -4864,9 +4864,9 @@ class Vs {
4864
4864
  return qh.create(e, t, this);
4865
4865
  }
4866
4866
  }
4867
- Vs.prototype.startSide = Vs.prototype.endSide = 0;
4868
- Vs.prototype.point = !1;
4869
- Vs.prototype.mapMode = Tt.TrackDel;
4867
+ zs.prototype.startSide = zs.prototype.endSide = 0;
4868
+ zs.prototype.point = !1;
4869
+ zs.prototype.mapMode = Tt.TrackDel;
4870
4870
  let qh = class Kb {
4871
4871
  constructor(e, t, n) {
4872
4872
  this.from = e, this.to = t, this.value = n;
@@ -5645,7 +5645,7 @@ function dc(r, e) {
5645
5645
  }
5646
5646
  }
5647
5647
  function Qa(r) {
5648
- return r.nodeType == 3 ? zs(r, 0, r.nodeValue.length).getClientRects() : r.nodeType == 1 ? r.getClientRects() : [];
5648
+ return r.nodeType == 3 ? Us(r, 0, r.nodeValue.length).getClientRects() : r.nodeType == 1 ? r.getClientRects() : [];
5649
5649
  }
5650
5650
  function fa(r, e, t, n) {
5651
5651
  return t ? rO(r, e, t, n, -1) || rO(r, e, t, n, 1) : !1;
@@ -5798,7 +5798,7 @@ function tv(r) {
5798
5798
  }
5799
5799
  }
5800
5800
  let nO;
5801
- function zs(r, e, t = e) {
5801
+ function Us(r, e, t = e) {
5802
5802
  let n = nO || (nO = document.createRange());
5803
5803
  return n.setEnd(r, t), n.setStart(r, e), n;
5804
5804
  }
@@ -6074,7 +6074,7 @@ function ov(r, e, t, n, s, i) {
6074
6074
  }
6075
6075
  let er = typeof navigator < "u" ? navigator : { userAgent: "", vendor: "", platform: "" }, Lh = typeof document < "u" ? document : { documentElement: { style: {} } };
6076
6076
  const Bh = /* @__PURE__ */ /Edge\/(\d+)/.exec(er.userAgent), av = /* @__PURE__ */ /MSIE \d/.test(er.userAgent), Hh = /* @__PURE__ */ /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(er.userAgent), Ed = !!(av || Hh || Bh), iO = !Ed && /* @__PURE__ */ /gecko\/(\d+)/i.test(er.userAgent), Cu = !Ed && /* @__PURE__ */ /Chrome\/(\d+)/.exec(er.userAgent), oO = "webkitFontSmoothing" in Lh.documentElement.style, lv = !Ed && /* @__PURE__ */ /Apple Computer/.test(er.vendor), aO = lv && (/* @__PURE__ */ /Mobile\/\w+/.test(er.userAgent) || er.maxTouchPoints > 2);
6077
- var ce = {
6077
+ var de = {
6078
6078
  mac: aO || /* @__PURE__ */ /Mac/.test(er.platform),
6079
6079
  windows: /* @__PURE__ */ /Win/.test(er.platform),
6080
6080
  linux: /* @__PURE__ */ /Linux|X11/.test(er.platform),
@@ -6172,22 +6172,22 @@ function _x(r, e, t) {
6172
6172
  let n = r.nodeValue.length;
6173
6173
  e > n && (e = n);
6174
6174
  let s = e, i = e, o = 0;
6175
- e == 0 && t < 0 || e == n && t >= 0 ? ce.chrome || ce.gecko || (e ? (s--, o = 1) : i < n && (i++, o = -1)) : t < 0 ? s-- : i < n && i++;
6176
- let a = zs(r, s, i).getClientRects();
6175
+ e == 0 && t < 0 || e == n && t >= 0 ? de.chrome || de.gecko || (e ? (s--, o = 1) : i < n && (i++, o = -1)) : t < 0 ? s-- : i < n && i++;
6176
+ let a = Us(r, s, i).getClientRects();
6177
6177
  if (!a.length)
6178
6178
  return null;
6179
6179
  let l = a[(o ? o < 0 : t >= 0) ? 0 : a.length - 1];
6180
- return ce.safari && !o && l.width == 0 && (l = Array.prototype.find.call(a, (c) => c.width) || l), o ? Ap(l, o < 0) : l || null;
6180
+ return de.safari && !o && l.width == 0 && (l = Array.prototype.find.call(a, (c) => c.width) || l), o ? Ap(l, o < 0) : l || null;
6181
6181
  }
6182
- class As extends Ke {
6182
+ class Es extends Ke {
6183
6183
  static create(e, t, n) {
6184
- return new As(e, t, n);
6184
+ return new Es(e, t, n);
6185
6185
  }
6186
6186
  constructor(e, t, n) {
6187
6187
  super(), this.widget = e, this.length = t, this.side = n, this.prevWidget = null;
6188
6188
  }
6189
6189
  split(e) {
6190
- let t = As.create(this.widget, this.length - e, this.side);
6190
+ let t = Es.create(this.widget, this.length - e, this.side);
6191
6191
  return this.length -= e, t;
6192
6192
  }
6193
6193
  sync(e) {
@@ -6197,10 +6197,10 @@ class As extends Ke {
6197
6197
  return this.side;
6198
6198
  }
6199
6199
  merge(e, t, n, s, i, o) {
6200
- return n && (!(n instanceof As) || !this.widget.compare(n.widget) || e > 0 && i <= 0 || t < this.length && o <= 0) ? !1 : (this.length = e + (n ? n.length : 0) + (this.length - t), !0);
6200
+ return n && (!(n instanceof Es) || !this.widget.compare(n.widget) || e > 0 && i <= 0 || t < this.length && o <= 0) ? !1 : (this.length = e + (n ? n.length : 0) + (this.length - t), !0);
6201
6201
  }
6202
6202
  become(e) {
6203
- return e instanceof As && e.side == this.side && this.widget.constructor == e.widget.constructor ? (this.widget.compare(e.widget) || this.markDirty(!0), this.dom && !this.prevWidget && (this.prevWidget = this.widget), this.widget = e.widget, this.length = e.length, !0) : !1;
6203
+ return e instanceof Es && e.side == this.side && this.widget.constructor == e.widget.constructor ? (this.widget.compare(e.widget) || this.markDirty(!0), this.dom && !this.prevWidget && (this.prevWidget = this.widget), this.widget = e.widget, this.length = e.length, !0) : !1;
6204
6204
  }
6205
6205
  ignoreMutation() {
6206
6206
  return !0;
@@ -6292,7 +6292,7 @@ class Li extends Ke {
6292
6292
  return !0;
6293
6293
  }
6294
6294
  }
6295
- $n.prototype.children = As.prototype.children = Li.prototype.children = Ep;
6295
+ $n.prototype.children = Es.prototype.children = Li.prototype.children = Ep;
6296
6296
  function cv(r, e) {
6297
6297
  let t = r.dom, { children: n } = r, s = 0;
6298
6298
  for (let i = 0; s < n.length; s++) {
@@ -6427,7 +6427,7 @@ class ft extends Ke {
6427
6427
  let s = this.dom.lastChild;
6428
6428
  for (; s && Ke.get(s) instanceof Pn; )
6429
6429
  s = s.lastChild;
6430
- if (!s || !this.length || s.nodeName != "BR" && ((n = Ke.get(s)) === null || n === void 0 ? void 0 : n.isEditable) == !1 && (!ce.ios || !this.children.some((i) => i instanceof $n))) {
6430
+ if (!s || !this.length || s.nodeName != "BR" && ((n = Ke.get(s)) === null || n === void 0 ? void 0 : n.isEditable) == !1 && (!de.ios || !this.children.some((i) => i instanceof $n))) {
6431
6431
  let i = document.createElement("BR");
6432
6432
  i.cmIgnore = !0, this.dom.appendChild(i);
6433
6433
  }
@@ -6622,7 +6622,7 @@ class lo {
6622
6622
  var Ar = /* @__PURE__ */ function(r) {
6623
6623
  return r[r.Text = 0] = "Text", r[r.WidgetBefore = 1] = "WidgetBefore", r[r.WidgetAfter = 2] = "WidgetAfter", r[r.WidgetRange = 3] = "WidgetRange", r;
6624
6624
  }(Ar || (Ar = {}));
6625
- class Xe extends Vs {
6625
+ class Xe extends zs {
6626
6626
  constructor(e, t, n, s) {
6627
6627
  super(), this.startSide = e, this.endSide = t, this.widget = n, this.spec = s;
6628
6628
  }
@@ -6812,7 +6812,7 @@ class pa {
6812
6812
  if (n.block)
6813
6813
  n.startSide > 0 && !this.posCovered() && this.getLine(), this.addBlockWidget(new Gn(n.widget || new cO("div"), a, n));
6814
6814
  else {
6815
- let l = As.create(n.widget || new cO("span"), a, a ? 0 : n.startSide), c = this.atCursorPos && !l.isEditable && i <= s.length && (e < t || n.startSide > 0), d = !l.isEditable && (e < t || i > s.length || n.startSide <= 0), u = this.getLine();
6815
+ let l = Es.create(n.widget || new cO("span"), a, a ? 0 : n.startSide), c = this.atCursorPos && !l.isEditable && i <= s.length && (e < t || n.startSide > 0), d = !l.isEditable && (e < t || i > s.length || n.startSide <= 0), u = this.getLine();
6816
6816
  this.pendingBuffer == 2 && !c && !l.isEditable && (this.pendingBuffer = 0), this.flushBuffer(s), c && (u.append(Tl(new Li(1), s), i), i = s.length + Math.max(0, i - s.length)), u.append(Tl(l, s), i), this.atCursorPos = d, this.pendingBuffer = d ? e < t || i > s.length ? 1 : 2 : 0, this.pendingBuffer && (this.bufferMarks = s.slice());
6817
6817
  }
6818
6818
  else
@@ -6849,7 +6849,7 @@ class cO extends lo {
6849
6849
  var dt = /* @__PURE__ */ function(r) {
6850
6850
  return r[r.LTR = 0] = "LTR", r[r.RTL = 1] = "RTL", r;
6851
6851
  }(dt || (dt = {}));
6852
- const Us = dt.LTR, Zp = dt.RTL;
6852
+ const Ys = dt.LTR, Zp = dt.RTL;
6853
6853
  function fv(r) {
6854
6854
  let e = [];
6855
6855
  for (let t = 0; t < r.length; t++)
@@ -6870,7 +6870,7 @@ class Bn {
6870
6870
  The direction of this span.
6871
6871
  */
6872
6872
  get dir() {
6873
- return this.level % 2 ? Zp : Us;
6873
+ return this.level % 2 ? Zp : Ys;
6874
6874
  }
6875
6875
  /**
6876
6876
  @internal
@@ -7037,7 +7037,7 @@ function ef(r, e, t, n, s, i, o) {
7037
7037
  h.push(m);
7038
7038
  else {
7039
7039
  m.from > l && o.push(new Bn(l, m.from, f));
7040
- let g = m.direction == Us != !(f % 2);
7040
+ let g = m.direction == Ys != !(f % 2);
7041
7041
  tf(r, g ? n + 1 : n, s, m.inner, m.from, m.to, o), l = m.to;
7042
7042
  }
7043
7043
  p = m.to;
@@ -7078,7 +7078,7 @@ function ef(r, e, t, n, s, i, o) {
7078
7078
  h.push(m);
7079
7079
  else {
7080
7080
  m.to < l && o.push(new Bn(m.to, l, f));
7081
- let g = m.direction == Us != !(f % 2);
7081
+ let g = m.direction == Ys != !(f % 2);
7082
7082
  tf(r, g ? n + 1 : n, s, m.inner, m.from, m.to, o), l = m.from;
7083
7083
  }
7084
7084
  p = m.from;
@@ -7097,12 +7097,12 @@ function tf(r, e, t, n, s, i, o) {
7097
7097
  function jx(r, e, t) {
7098
7098
  if (!r)
7099
7099
  return [new Bn(0, 0, e == Zp ? 1 : 0)];
7100
- if (e == Us && !t.length && !Ex.test(r))
7100
+ if (e == Ys && !t.length && !Ex.test(r))
7101
7101
  return gv(r.length);
7102
7102
  if (t.length)
7103
7103
  for (; r.length > We.length; )
7104
7104
  We[We.length] = 256;
7105
- let n = [], s = e == Us ? 0 : 1;
7105
+ let n = [], s = e == Ys ? 0 : 1;
7106
7106
  return tf(r, s, s, t, 0, r.length, n), n;
7107
7107
  }
7108
7108
  function gv(r) {
@@ -7127,11 +7127,11 @@ function Dx(r, e, t) {
7127
7127
  for (let n = e; n < t; n++) {
7128
7128
  let s = pv(r.charCodeAt(n));
7129
7129
  if (s == 1)
7130
- return Us;
7130
+ return Ys;
7131
7131
  if (s == 2 || s == 4)
7132
7132
  return Zp;
7133
7133
  }
7134
- return Us;
7134
+ return Ys;
7135
7135
  }
7136
7136
  const yv = /* @__PURE__ */ pe.define(), bv = /* @__PURE__ */ pe.define(), vv = /* @__PURE__ */ pe.define(), wv = /* @__PURE__ */ pe.define(), rf = /* @__PURE__ */ pe.define(), Sv = /* @__PURE__ */ pe.define(), kv = /* @__PURE__ */ pe.define(), $v = /* @__PURE__ */ pe.define({
7137
7137
  combine: (r) => r.some((e) => e)
@@ -7375,7 +7375,7 @@ class uO extends Ke {
7375
7375
  let { from: c, to: d } = this.hasComposition;
7376
7376
  n = new hr(c, d, e.changes.mapPos(c, -1), e.changes.mapPos(d, 1)).addToSet(n.slice());
7377
7377
  }
7378
- this.hasComposition = i ? { from: i.range.fromB, to: i.range.toB } : null, (ce.ie || ce.chrome) && !i && e && e.state.doc.lines != e.startState.doc.lines && (this.forceSelection = !0);
7378
+ this.hasComposition = i ? { from: i.range.fromB, to: i.range.toB } : null, (de.ie || de.chrome) && !i && e && e.state.doc.lines != e.startState.doc.lines && (this.forceSelection = !0);
7379
7379
  let o = this.decorations, a = this.updateDeco(), l = Ux(o, a, e.changes);
7380
7380
  return n = hr.extendWithRanges(n, l), !(this.flags & 7) && n.length == 0 ? !1 : (this.updateInner(n, e.startState.doc.length, i), e.transactions.length && (this.lastUpdate = Date.now()), !0);
7381
7381
  }
@@ -7386,7 +7386,7 @@ class uO extends Ke {
7386
7386
  let { observer: s } = this.view;
7387
7387
  s.ignore(() => {
7388
7388
  this.dom.style.height = this.view.viewState.contentHeight / this.view.scaleY + "px", this.dom.style.flexBasis = this.minWidth ? this.minWidth + "px" : "";
7389
- let o = ce.chrome || ce.ios ? { node: s.selectionRange.focusNode, written: !1 } : void 0;
7389
+ let o = de.chrome || de.ios ? { node: s.selectionRange.focusNode, written: !1 } : void 0;
7390
7390
  this.sync(this.view, o), this.flags &= -8, o && (o.written || s.selectionRange.focusNode != o.node) && (this.forceSelection = !0), this.dom.style.height = "";
7391
7391
  }), this.markedForComposition.forEach(
7392
7392
  (o) => o.flags &= -9
@@ -7447,17 +7447,17 @@ class uO extends Ke {
7447
7447
  let o = this.forceSelection;
7448
7448
  this.forceSelection = !1;
7449
7449
  let a = this.view.state.selection.main, l = this.moveToLine(this.domAtPos(a.anchor)), c = a.empty ? l : this.moveToLine(this.domAtPos(a.head));
7450
- if (ce.gecko && a.empty && !this.hasComposition && qx(l)) {
7450
+ if (de.gecko && a.empty && !this.hasComposition && qx(l)) {
7451
7451
  let u = document.createTextNode("");
7452
7452
  this.view.observer.ignore(() => l.node.insertBefore(u, l.node.childNodes[l.offset] || null)), l = c = new Ct(u, 0), o = !0;
7453
7453
  }
7454
7454
  let d = this.view.observer.selectionRange;
7455
7455
  (o || !d.focusNode || (!fa(l.node, l.offset, d.anchorNode, d.anchorOffset) || !fa(c.node, c.offset, d.focusNode, d.focusOffset)) && !this.suppressWidgetCursorChange(d, a)) && (this.view.observer.ignore(() => {
7456
- ce.android && ce.chrome && this.dom.contains(d.focusNode) && Yx(d.focusNode, this.dom) && (this.dom.blur(), this.dom.focus({ preventScroll: !0 }));
7456
+ de.android && de.chrome && this.dom.contains(d.focusNode) && Yx(d.focusNode, this.dom) && (this.dom.blur(), this.dom.focus({ preventScroll: !0 }));
7457
7457
  let u = jc(this.view.root);
7458
7458
  if (u)
7459
7459
  if (a.empty) {
7460
- if (ce.gecko) {
7460
+ if (de.gecko) {
7461
7461
  let h = Vx(l.node, l.offset);
7462
7462
  if (h && h != 3) {
7463
7463
  let f = Av(l.node, l.offset, h == 1 ? 1 : -1);
@@ -7574,7 +7574,7 @@ class uO extends Ke {
7574
7574
  let i = Kr(s.text, n);
7575
7575
  if (i == n)
7576
7576
  return null;
7577
- let o = zs(s.dom, n, i).getClientRects();
7577
+ let o = Us(s.dom, n, i).getClientRects();
7578
7578
  for (let a = 0; a < o.length; a++) {
7579
7579
  let l = o[a];
7580
7580
  if (a == o.length - 1 || l.top < l.bottom && l.left < l.right)
@@ -7860,7 +7860,7 @@ function nf(r, e, t) {
7860
7860
  function mO(r, e, t) {
7861
7861
  let n = r.nodeValue.length, s = -1, i = 1e9, o = 0;
7862
7862
  for (let a = 0; a < n; a++) {
7863
- let l = zs(r, a, a + 1).getClientRects();
7863
+ let l = Us(r, a, a + 1).getClientRects();
7864
7864
  for (let c = 0; c < l.length; c++) {
7865
7865
  let d = l[c];
7866
7866
  if (d.top == d.bottom)
@@ -7869,7 +7869,7 @@ function mO(r, e, t) {
7869
7869
  let u = (d.top > t ? d.top - t : t - d.bottom) - 1;
7870
7870
  if (d.left - 1 <= e && d.right + 1 >= e && u < i) {
7871
7871
  let h = e >= (d.left + d.right) / 2, f = h;
7872
- if ((ce.chrome || ce.gecko) && zs(r, a).getBoundingClientRect().left == d.right && (f = !h), u <= 0)
7872
+ if ((de.chrome || de.gecko) && Us(r, a).getBoundingClientRect().left == d.right && (f = !h), u <= 0)
7873
7873
  return { node: r, offset: a + (f ? 1 : 0) };
7874
7874
  s = a + (f ? 1 : 0), i = u;
7875
7875
  }
@@ -7905,7 +7905,7 @@ function Ev(r, e, t, n = -1) {
7905
7905
  w && ({ offsetNode: O, offset: y } = w);
7906
7906
  } else if (p.caretRangeFromPoint) {
7907
7907
  let w = p.caretRangeFromPoint(d, u);
7908
- w && ({ startContainer: O, startOffset: y } = w, (!r.contentDOM.contains(O) || ce.safari && Fx(O, y, d) || ce.chrome && Kx(O, y, d)) && (O = void 0));
7908
+ w && ({ startContainer: O, startOffset: y } = w, (!r.contentDOM.contains(O) || de.safari && Fx(O, y, d) || de.chrome && Kx(O, y, d)) && (O = void 0));
7909
7909
  }
7910
7910
  }
7911
7911
  if (!O || !r.docView.dom.contains(O)) {
@@ -7939,7 +7939,7 @@ function Fx(r, e, t) {
7939
7939
  for (let s = r.nextSibling; s; s = s.nextSibling)
7940
7940
  if (s.nodeType != 1 || s.nodeName != "BR")
7941
7941
  return !1;
7942
- return zs(r, n - 1, n).getBoundingClientRect().left > t;
7942
+ return Us(r, n - 1, n).getBoundingClientRect().left > t;
7943
7943
  }
7944
7944
  function Kx(r, e, t) {
7945
7945
  if (e != 0)
@@ -7952,7 +7952,7 @@ function Kx(r, e, t) {
7952
7952
  break;
7953
7953
  s = i;
7954
7954
  }
7955
- let n = r.nodeType == 1 ? r.getBoundingClientRect() : zs(r, 0, Math.max(r.nodeValue.length, 1)).getBoundingClientRect();
7955
+ let n = r.nodeType == 1 ? r.getBoundingClientRect() : Us(r, 0, Math.max(r.nodeValue.length, 1)).getBoundingClientRect();
7956
7956
  return t - n.left > 5;
7957
7957
  }
7958
7958
  function Jx(r, e) {
@@ -8047,7 +8047,7 @@ class n2 {
8047
8047
  this.lastSelectionOrigin = e, this.lastSelectionTime = Date.now();
8048
8048
  }
8049
8049
  constructor(e) {
8050
- this.view = e, this.lastKeyCode = 0, this.lastKeyTime = 0, this.lastTouchTime = 0, this.lastFocusTime = 0, this.lastScrollTop = 0, this.lastScrollLeft = 0, this.pendingIOSKey = void 0, this.lastSelectionOrigin = null, this.lastSelectionTime = 0, this.lastEscPress = 0, this.lastContextMenu = 0, this.scrollHandlers = [], this.handlers = /* @__PURE__ */ Object.create(null), this.composing = -1, this.compositionFirstChange = null, this.compositionEndedAt = 0, this.compositionPendingKey = !1, this.compositionPendingChange = !1, this.mouseSelection = null, this.draggedContent = null, this.handleEvent = this.handleEvent.bind(this), this.notifiedFocused = e.hasFocus, ce.safari && e.contentDOM.addEventListener("input", () => null), ce.gecko && b2(e.contentDOM.ownerDocument);
8050
+ this.view = e, this.lastKeyCode = 0, this.lastKeyTime = 0, this.lastTouchTime = 0, this.lastFocusTime = 0, this.lastScrollTop = 0, this.lastScrollLeft = 0, this.pendingIOSKey = void 0, this.lastSelectionOrigin = null, this.lastSelectionTime = 0, this.lastEscPress = 0, this.lastContextMenu = 0, this.scrollHandlers = [], this.handlers = /* @__PURE__ */ Object.create(null), this.composing = -1, this.compositionFirstChange = null, this.compositionEndedAt = 0, this.compositionPendingKey = !1, this.compositionPendingChange = !1, this.mouseSelection = null, this.draggedContent = null, this.handleEvent = this.handleEvent.bind(this), this.notifiedFocused = e.hasFocus, de.safari && e.contentDOM.addEventListener("input", () => null), de.gecko && b2(e.contentDOM.ownerDocument);
8051
8051
  }
8052
8052
  handleEvent(e) {
8053
8053
  !u2(this.view, e) || this.ignoreDuringComposition(e) || e.type == "keydown" && this.keydown(e) || this.runHandlers(e.type, e);
@@ -8081,17 +8081,17 @@ class n2 {
8081
8081
  keydown(e) {
8082
8082
  if (this.lastKeyCode = e.keyCode, this.lastKeyTime = Date.now(), e.keyCode == 9 && Date.now() < this.lastEscPress + 2e3)
8083
8083
  return !0;
8084
- if (e.keyCode != 27 && Zv.indexOf(e.keyCode) < 0 && (this.view.inputState.lastEscPress = 0), ce.android && ce.chrome && !e.synthetic && (e.keyCode == 13 || e.keyCode == 8))
8084
+ if (e.keyCode != 27 && Zv.indexOf(e.keyCode) < 0 && (this.view.inputState.lastEscPress = 0), de.android && de.chrome && !e.synthetic && (e.keyCode == 13 || e.keyCode == 8))
8085
8085
  return this.view.observer.delayAndroidKey(e.key, e.keyCode), !0;
8086
8086
  let t;
8087
- return ce.ios && !e.synthetic && !e.altKey && !e.metaKey && ((t = Rv.find((n) => n.keyCode == e.keyCode)) && !e.ctrlKey || i2.indexOf(e.key) > -1 && e.ctrlKey && !e.shiftKey) ? (this.pendingIOSKey = t || e, setTimeout(() => this.flushIOSKey(), 250), !0) : (e.keyCode != 229 && this.view.observer.forceFlush(), !1);
8087
+ return de.ios && !e.synthetic && !e.altKey && !e.metaKey && ((t = Rv.find((n) => n.keyCode == e.keyCode)) && !e.ctrlKey || i2.indexOf(e.key) > -1 && e.ctrlKey && !e.shiftKey) ? (this.pendingIOSKey = t || e, setTimeout(() => this.flushIOSKey(), 250), !0) : (e.keyCode != 229 && this.view.observer.forceFlush(), !1);
8088
8088
  }
8089
8089
  flushIOSKey() {
8090
8090
  let e = this.pendingIOSKey;
8091
8091
  return e ? (this.pendingIOSKey = void 0, Ii(this.view.contentDOM, e.key, e.keyCode)) : !1;
8092
8092
  }
8093
8093
  ignoreDuringComposition(e) {
8094
- return /^key/.test(e.type) ? this.composing > 0 ? !0 : ce.safari && !ce.ios && this.compositionPendingKey && Date.now() - this.compositionEndedAt < 100 ? (this.compositionPendingKey = !1, !0) : !1 : !1;
8094
+ return /^key/.test(e.type) ? this.composing > 0 ? !0 : de.safari && !de.ios && this.compositionPendingKey && Date.now() - this.compositionEndedAt < 100 ? (this.compositionPendingKey = !1, !0) : !1 : !1;
8095
8095
  }
8096
8096
  startMouseSelection(e) {
8097
8097
  this.mouseSelection && this.mouseSelection.destroy(), this.mouseSelection = e;
@@ -8209,11 +8209,11 @@ class a2 {
8209
8209
  }
8210
8210
  function l2(r, e) {
8211
8211
  let t = r.state.facet(yv);
8212
- return t.length ? t[0](e) : ce.mac ? e.metaKey : e.ctrlKey;
8212
+ return t.length ? t[0](e) : de.mac ? e.metaKey : e.ctrlKey;
8213
8213
  }
8214
8214
  function c2(r, e) {
8215
8215
  let t = r.state.facet(bv);
8216
- return t.length ? t[0](e) : ce.mac ? !e.altKey : !e.ctrlKey;
8216
+ return t.length ? t[0](e) : de.mac ? !e.altKey : !e.ctrlKey;
8217
8217
  }
8218
8218
  function d2(r, e) {
8219
8219
  let { main: t } = r.state.selection;
@@ -8240,7 +8240,7 @@ function u2(r, e) {
8240
8240
  return !1;
8241
8241
  return !0;
8242
8242
  }
8243
- const Rr = /* @__PURE__ */ Object.create(null), Zr = /* @__PURE__ */ Object.create(null), Iv = ce.ie && ce.ie_version < 15 || ce.ios && ce.webkit_version < 604;
8243
+ const Rr = /* @__PURE__ */ Object.create(null), Zr = /* @__PURE__ */ Object.create(null), Iv = de.ie && de.ie_version < 15 || de.ios && de.webkit_version < 604;
8244
8244
  function h2(r) {
8245
8245
  let e = r.dom.parentNode;
8246
8246
  if (!e)
@@ -8334,7 +8334,7 @@ function wO(r, e) {
8334
8334
  let t = r.posAtCoords({ x: e.clientX, y: e.clientY }, !1);
8335
8335
  return { pos: t, bias: f2(r, t, e.clientX, e.clientY) };
8336
8336
  }
8337
- const p2 = ce.ie && ce.ie_version <= 11;
8337
+ const p2 = de.ie && de.ie_version <= 11;
8338
8338
  let SO = null, kO = 0, $O = 0;
8339
8339
  function Dv(r) {
8340
8340
  if (!p2)
@@ -8484,7 +8484,7 @@ Zr.compositionstart = Zr.compositionupdate = (r) => {
8484
8484
  r.inputState.compositionFirstChange == null && (r.inputState.compositionFirstChange = !0), r.inputState.composing < 0 && (r.inputState.composing = 0);
8485
8485
  };
8486
8486
  Zr.compositionend = (r) => {
8487
- r.inputState.composing = -1, r.inputState.compositionEndedAt = Date.now(), r.inputState.compositionPendingKey = !0, r.inputState.compositionPendingChange = r.observer.pendingRecords().length > 0, r.inputState.compositionFirstChange = null, ce.chrome && ce.android ? r.observer.flushSoon() : r.inputState.compositionPendingChange ? Promise.resolve().then(() => r.observer.flush()) : setTimeout(() => {
8487
+ r.inputState.composing = -1, r.inputState.compositionEndedAt = Date.now(), r.inputState.compositionPendingKey = !0, r.inputState.compositionPendingChange = r.observer.pendingRecords().length > 0, r.inputState.compositionFirstChange = null, de.chrome && de.android ? r.observer.flushSoon() : r.inputState.compositionPendingChange ? Promise.resolve().then(() => r.observer.flush()) : setTimeout(() => {
8488
8488
  r.inputState.composing < 0 && r.docView.hasComposition && r.update([]);
8489
8489
  }, 50);
8490
8490
  };
@@ -8494,7 +8494,7 @@ Zr.contextmenu = (r) => {
8494
8494
  Rr.beforeinput = (r, e) => {
8495
8495
  var t;
8496
8496
  let n;
8497
- if (ce.chrome && ce.android && (n = Rv.find((s) => s.inputType == e.inputType)) && (r.observer.delayAndroidKey(n.key, n.keyCode), n.key == "Backspace" || n.key == "Delete")) {
8497
+ if (de.chrome && de.android && (n = Rv.find((s) => s.inputType == e.inputType)) && (r.observer.delayAndroidKey(n.key, n.keyCode), n.key == "Backspace" || n.key == "Delete")) {
8498
8498
  let s = ((t = window.visualViewport) === null || t === void 0 ? void 0 : t.height) || 0;
8499
8499
  setTimeout(() => {
8500
8500
  var i;
@@ -9679,7 +9679,7 @@ class I2 {
9679
9679
  l.readRange(this.bounds.startDOM, this.bounds.endDOM), this.text = l.text, this.newSel = M2(a, this.bounds.from);
9680
9680
  } else {
9681
9681
  let a = e.observer.selectionRange, l = i && i.node == a.focusNode && i.offset == a.focusOffset || !Yh(e.contentDOM, a.focusNode) ? e.state.selection.main.head : e.docView.posFromDOM(a.focusNode, a.focusOffset), c = o && o.node == a.anchorNode && o.offset == a.anchorOffset || !Yh(e.contentDOM, a.anchorNode) ? e.state.selection.main.anchor : e.docView.posFromDOM(a.anchorNode, a.anchorOffset), d = e.viewport;
9682
- if ((ce.ios || ce.chrome) && e.state.selection.main.empty && l != c && (d.from > 0 || d.to < e.state.doc.length)) {
9682
+ if ((de.ios || de.chrome) && e.state.selection.main.empty && l != c && (d.from > 0 || d.to < e.state.doc.length)) {
9683
9683
  let u = Math.min(l, c), h = Math.max(l, c), f = d.from - u, p = d.to - h;
9684
9684
  (f == 0 || f == 1 || u == 0) && (p == 0 || p == -1 || h == e.state.doc.length) && (l = 0, c = e.state.doc.length);
9685
9685
  }
@@ -9691,9 +9691,9 @@ function Yv(r, e) {
9691
9691
  let t, { newSel: n } = e, s = r.state.selection.main, i = r.inputState.lastKeyTime > Date.now() - 100 ? r.inputState.lastKeyCode : -1;
9692
9692
  if (e.bounds) {
9693
9693
  let { from: o, to: a } = e.bounds, l = s.from, c = null;
9694
- (i === 8 || ce.android && e.text.length < a - o) && (l = s.to, c = "end");
9694
+ (i === 8 || de.android && e.text.length < a - o) && (l = s.to, c = "end");
9695
9695
  let d = N2(r.state.doc.sliceString(o, a, ra), e.text, l - o, c);
9696
- d && (ce.chrome && i == 13 && d.toB == d.from + 2 && e.text.slice(d.from, d.toB) == ra + ra && d.toB--, t = {
9696
+ d && (de.chrome && i == 13 && d.toB == d.from + 2 && e.text.slice(d.from, d.toB) == ra + ra && d.toB--, t = {
9697
9697
  from: o + d.from,
9698
9698
  to: o + d.toA,
9699
9699
  insert: De.of(e.text.slice(d.from, d.toB).split(ra))
@@ -9706,9 +9706,9 @@ function Yv(r, e) {
9706
9706
  from: s.from,
9707
9707
  to: s.to,
9708
9708
  insert: r.state.doc.slice(s.from, t.from).append(t.insert).append(r.state.doc.slice(t.to, s.to))
9709
- } : (ce.mac || ce.android) && t && t.from == t.to && t.from == s.head - 1 && /^\. ?$/.test(t.insert.toString()) && r.contentDOM.getAttribute("autocorrect") == "off" ? (n && t.insert.length == 2 && (n = oe.single(n.main.anchor - 1, n.main.head - 1)), t = { from: s.from, to: s.to, insert: De.of([" "]) }) : ce.chrome && t && t.from == t.to && t.from == s.head && t.insert.toString() == `
9709
+ } : (de.mac || de.android) && t && t.from == t.to && t.from == s.head - 1 && /^\. ?$/.test(t.insert.toString()) && r.contentDOM.getAttribute("autocorrect") == "off" ? (n && t.insert.length == 2 && (n = oe.single(n.main.anchor - 1, n.main.head - 1)), t = { from: s.from, to: s.to, insert: De.of([" "]) }) : de.chrome && t && t.from == t.to && t.from == s.head && t.insert.toString() == `
9710
9710
  ` && r.lineWrapping && (n && (n = oe.single(n.main.anchor - 1, n.main.head - 1)), t = { from: s.from, to: s.to, insert: De.of([" "]) }), t) {
9711
- if (ce.ios && r.inputState.flushIOSKey() || ce.android && (t.from == s.from && t.to == s.to && t.insert.length == 1 && t.insert.lines == 2 && Ii(r.contentDOM, "Enter", 13) || (t.from == s.from - 1 && t.to == s.to && t.insert.length == 0 || i == 8 && t.insert.length < t.to - t.from && t.to > s.head) && Ii(r.contentDOM, "Backspace", 8) || t.from == s.from && t.to == s.to + 1 && t.insert.length == 0 && Ii(r.contentDOM, "Delete", 46)))
9711
+ if (de.ios && r.inputState.flushIOSKey() || de.android && (t.from == s.from && t.to == s.to && t.insert.length == 1 && t.insert.lines == 2 && Ii(r.contentDOM, "Enter", 13) || (t.from == s.from - 1 && t.to == s.to && t.insert.length == 0 || i == 8 && t.insert.length < t.to - t.from && t.to > s.head) && Ii(r.contentDOM, "Backspace", 8) || t.from == s.from && t.to == s.to + 1 && t.insert.length == 0 && Ii(r.contentDOM, "Delete", 46)))
9712
9712
  return !0;
9713
9713
  let o = t.insert.toString();
9714
9714
  r.inputState.composing >= 0 && r.inputState.composing++;
@@ -9801,13 +9801,13 @@ const X2 = {
9801
9801
  subtree: !0,
9802
9802
  attributes: !0,
9803
9803
  characterDataOldValue: !0
9804
- }, Iu = ce.ie && ce.ie_version <= 11;
9804
+ }, Iu = de.ie && de.ie_version <= 11;
9805
9805
  class q2 {
9806
9806
  constructor(e) {
9807
9807
  this.view = e, this.active = !1, this.selectionRange = new Sx(), this.selectionChanged = !1, this.delayedFlush = -1, this.resizeTimeout = -1, this.queue = [], this.delayedAndroidKey = null, this.flushingAndroidKey = -1, this.lastChange = 0, this.scrollTargets = [], this.intersection = null, this.resizeScroll = null, this.intersecting = !1, this.gapIntersection = null, this.gaps = [], this.parentCheck = -1, this.dom = e.contentDOM, this.observer = new MutationObserver((t) => {
9808
9808
  for (let n of t)
9809
9809
  this.queue.push(n);
9810
- (ce.ie && ce.ie_version <= 11 || ce.ios && e.composing) && t.some((n) => n.type == "childList" && n.removedNodes.length || n.type == "characterData" && n.oldValue.length > n.target.nodeValue.length) ? this.flushSoon() : this.flush();
9810
+ (de.ie && de.ie_version <= 11 || de.ios && e.composing) && t.some((n) => n.type == "childList" && n.removedNodes.length || n.type == "characterData" && n.oldValue.length > n.target.nodeValue.length) ? this.flushSoon() : this.flush();
9811
9811
  }), Iu && (this.onCharData = (t) => {
9812
9812
  this.queue.push({
9813
9813
  target: t.target,
@@ -9859,11 +9859,11 @@ class q2 {
9859
9859
  t || (this.selectionChanged = !1);
9860
9860
  return;
9861
9861
  }
9862
- (ce.ie && ce.ie_version <= 11 || ce.android && ce.chrome) && !n.state.selection.main.empty && // (Selection.isCollapsed isn't reliable on IE)
9862
+ (de.ie && de.ie_version <= 11 || de.android && de.chrome) && !n.state.selection.main.empty && // (Selection.isCollapsed isn't reliable on IE)
9863
9863
  s.focusNode && fa(s.focusNode, s.focusOffset, s.anchorNode, s.anchorOffset) ? this.flushSoon() : this.flush(!1);
9864
9864
  }
9865
9865
  readSelectionRange() {
9866
- let { view: e } = this, t = ce.safari && e.root.nodeType == 11 && yx(this.dom.ownerDocument) == this.dom && W2(this.view) || jc(e.root);
9866
+ let { view: e } = this, t = de.safari && e.root.nodeType == 11 && yx(this.dom.ownerDocument) == this.dom && W2(this.view) || jc(e.root);
9867
9867
  if (!t || this.selectionRange.eq(t))
9868
9868
  return !1;
9869
9869
  let n = dc(this.dom, t);
@@ -10305,7 +10305,7 @@ class ye {
10305
10305
  translate: "no",
10306
10306
  contenteditable: this.state.facet(Rd) ? "true" : "false",
10307
10307
  class: "cm-content",
10308
- style: `${ce.tabSize}: ${this.state.tabSize}`,
10308
+ style: `${de.tabSize}: ${this.state.tabSize}`,
10309
10309
  role: "textbox",
10310
10310
  "aria-multiline": "true"
10311
10311
  };
@@ -10619,7 +10619,7 @@ class ye {
10619
10619
  */
10620
10620
  get hasFocus() {
10621
10621
  var e;
10622
- return (this.dom.ownerDocument.hasFocus() || ce.safari && ((e = this.inputState) === null || e === void 0 ? void 0 : e.lastContextMenu) > Date.now() - 3e4) && this.root.activeElement == this.contentDOM;
10622
+ return (this.dom.ownerDocument.hasFocus() || de.safari && ((e = this.inputState) === null || e === void 0 ? void 0 : e.lastContextMenu) > Date.now() - 3e4) && this.root.activeElement == this.contentDOM;
10623
10623
  }
10624
10624
  /**
10625
10625
  Put focus on the editor.
@@ -10783,7 +10783,7 @@ function IO(r, e, t) {
10783
10783
  }
10784
10784
  return t;
10785
10785
  }
10786
- const z2 = ce.mac ? "mac" : ce.windows ? "win" : ce.linux ? "linux" : "key";
10786
+ const z2 = de.mac ? "mac" : de.windows ? "win" : de.linux ? "linux" : "key";
10787
10787
  function U2(r, e) {
10788
10788
  const t = r.split(/-(?!$)/);
10789
10789
  let n = t[t.length - 1];
@@ -10881,9 +10881,9 @@ function G2(r, e, t, n) {
10881
10881
  return !1;
10882
10882
  }, f = r[n], p, m;
10883
10883
  return f && (h(f[a + Nl(s, e, !o)]) ? l = !0 : o && (e.altKey || e.metaKey || e.ctrlKey) && // Ctrl-Alt may be used for AltGr on Windows
10884
- !(ce.windows && e.ctrlKey && e.altKey) && (p = ts[e.keyCode]) && p != s ? (h(f[a + Nl(p, e, !0)]) || e.shiftKey && (m = xa[e.keyCode]) != s && m != p && h(f[a + Nl(m, e, !1)])) && (l = !0) : o && e.shiftKey && h(f[a + Nl(s, e, !0)]) && (l = !0), !l && h(f._any) && (l = !0)), c && (l = !0), l && d && e.stopPropagation(), l;
10884
+ !(de.windows && e.ctrlKey && e.altKey) && (p = ts[e.keyCode]) && p != s ? (h(f[a + Nl(p, e, !0)]) || e.shiftKey && (m = xa[e.keyCode]) != s && m != p && h(f[a + Nl(m, e, !1)])) && (l = !0) : o && e.shiftKey && h(f[a + Nl(s, e, !0)]) && (l = !0), !l && h(f._any) && (l = !0)), c && (l = !0), l && d && e.stopPropagation(), l;
10885
10885
  }
10886
- const F2 = !ce.ios, NO = {
10886
+ const F2 = !de.ios, NO = {
10887
10887
  ".cm-line": {
10888
10888
  "& ::selection": { backgroundColor: "transparent !important" },
10889
10889
  "&::selection": { backgroundColor: "transparent !important" }
@@ -11135,7 +11135,7 @@ const Nu = /* @__PURE__ */ pe.define({
11135
11135
  combine: (r) => {
11136
11136
  var e, t, n;
11137
11137
  return {
11138
- position: ce.ios ? "absolute" : ((e = r.find((s) => s.position)) === null || e === void 0 ? void 0 : e.position) || "fixed",
11138
+ position: de.ios ? "absolute" : ((e = r.find((s) => s.position)) === null || e === void 0 ? void 0 : e.position) || "fixed",
11139
11139
  parent: ((t = r.find((s) => s.parent)) === null || t === void 0 ? void 0 : t.parent) || null,
11140
11140
  tooltipSpace: ((n = r.find((s) => s.tooltipSpace)) === null || n === void 0 ? void 0 : n.tooltipSpace) || cQ
11141
11141
  };
@@ -11204,7 +11204,7 @@ const Nu = /* @__PURE__ */ pe.define({
11204
11204
  let r = this.view.dom.getBoundingClientRect(), e = 1, t = 1, n = !1;
11205
11205
  if (this.position == "fixed" && this.manager.tooltipViews.length) {
11206
11206
  let { dom: s } = this.manager.tooltipViews[0];
11207
- if (ce.gecko)
11207
+ if (de.gecko)
11208
11208
  n = s.offsetParent != this.container.ownerDocument.body;
11209
11209
  else if (s.style.top == qo && s.style.left == "0px") {
11210
11210
  let i = s.getBoundingClientRect();
@@ -11349,7 +11349,7 @@ function Gv(r, e) {
11349
11349
  let n = t.manager.tooltips.indexOf(e);
11350
11350
  return n < 0 ? null : t.manager.tooltipViews[n];
11351
11351
  }
11352
- class Ys extends Vs {
11352
+ class Ls extends zs {
11353
11353
  /**
11354
11354
  @internal
11355
11355
  */
@@ -11369,11 +11369,11 @@ class Ys extends Vs {
11369
11369
  destroy(e) {
11370
11370
  }
11371
11371
  }
11372
- Ys.prototype.elementClass = "";
11373
- Ys.prototype.toDOM = void 0;
11374
- Ys.prototype.mapMode = Tt.TrackBefore;
11375
- Ys.prototype.startSide = Ys.prototype.endSide = -1;
11376
- Ys.prototype.point = !0;
11372
+ Ls.prototype.elementClass = "";
11373
+ Ls.prototype.toDOM = void 0;
11374
+ Ls.prototype.mapMode = Tt.TrackBefore;
11375
+ Ls.prototype.startSide = Ls.prototype.endSide = -1;
11376
+ Ls.prototype.point = !0;
11377
11377
  const Du = /* @__PURE__ */ pe.define(), pc = /* @__PURE__ */ pe.define(), df = /* @__PURE__ */ pe.define({
11378
11378
  combine: (r) => r.some((e) => e)
11379
11379
  });
@@ -11588,7 +11588,7 @@ const gQ = /* @__PURE__ */ pe.define(), $i = /* @__PURE__ */ pe.define({
11588
11588
  });
11589
11589
  }
11590
11590
  });
11591
- class Mu extends Ys {
11591
+ class Mu extends Ls {
11592
11592
  constructor(e) {
11593
11593
  super(), this.number = e;
11594
11594
  }
@@ -12713,7 +12713,7 @@ function $Q(r) {
12713
12713
  var e;
12714
12714
  let { buffer: t, nodeSet: n, maxBufferLength: s = Kv, reused: i = [], minRepeatType: o = n.types.length } = r, a = Array.isArray(t) ? new Mp(t, t.length) : t, l = n.types, c = 0, d = 0;
12715
12715
  function u(P, v, $, E, C, X) {
12716
- let { id: U, start: M, end: le, size: ne } = a, ke = d;
12716
+ let { id: U, start: M, end: ce, size: ne } = a, ke = d;
12717
12717
  for (; ne < 0; )
12718
12718
  if (a.next(), ne == -1) {
12719
12719
  let F = i[U];
@@ -12728,42 +12728,42 @@ function $Q(r) {
12728
12728
  } else
12729
12729
  throw new RangeError(`Unrecognized record size: ${ne}`);
12730
12730
  let Re = l[U], Me, _e, Oe = M - P;
12731
- if (le - M <= s && (_e = g(a.pos - v, C))) {
12731
+ if (ce - M <= s && (_e = g(a.pos - v, C))) {
12732
12732
  let F = new Uint16Array(_e.size - _e.skip), D = a.pos - _e.size, V = F.length;
12733
12733
  for (; a.pos > D; )
12734
12734
  V = O(_e.start, F, V);
12735
- Me = new ns(F, le - _e.start, n), Oe = _e.start - P;
12735
+ Me = new ns(F, ce - _e.start, n), Oe = _e.start - P;
12736
12736
  } else {
12737
12737
  let F = a.pos - ne;
12738
12738
  a.next();
12739
- let D = [], V = [], q = U >= o ? U : -1, _ = 0, j = le;
12739
+ let D = [], V = [], q = U >= o ? U : -1, _ = 0, j = ce;
12740
12740
  for (; a.pos > F; )
12741
12741
  q >= 0 && a.id == q && a.size >= 0 ? (a.end <= j - s && (p(D, V, M, _, a.end, j, q, ke), _ = D.length, j = a.end), a.next()) : X > 2500 ? h(M, F, D, V) : u(M, F, D, V, q, X + 1);
12742
12742
  if (q >= 0 && _ > 0 && _ < D.length && p(D, V, M, _, M, j, q, ke), D.reverse(), V.reverse(), q > -1 && _ > 0) {
12743
12743
  let z = f(Re);
12744
- Me = qp(Re, D, V, 0, D.length, 0, le - M, z, z);
12744
+ Me = qp(Re, D, V, 0, D.length, 0, ce - M, z, z);
12745
12745
  } else
12746
- Me = m(Re, D, V, le - M, ke - le);
12746
+ Me = m(Re, D, V, ce - M, ke - ce);
12747
12747
  }
12748
12748
  $.push(Me), E.push(Oe);
12749
12749
  }
12750
12750
  function h(P, v, $, E) {
12751
12751
  let C = [], X = 0, U = -1;
12752
12752
  for (; a.pos > v; ) {
12753
- let { id: M, start: le, end: ne, size: ke } = a;
12753
+ let { id: M, start: ce, end: ne, size: ke } = a;
12754
12754
  if (ke > 4)
12755
12755
  a.next();
12756
12756
  else {
12757
- if (U > -1 && le < U)
12757
+ if (U > -1 && ce < U)
12758
12758
  break;
12759
- U < 0 && (U = ne - s), C.push(M, le, ne), X++, a.next();
12759
+ U < 0 && (U = ne - s), C.push(M, ce, ne), X++, a.next();
12760
12760
  }
12761
12761
  }
12762
12762
  if (X) {
12763
- let M = new Uint16Array(X * 4), le = C[C.length - 2];
12763
+ let M = new Uint16Array(X * 4), ce = C[C.length - 2];
12764
12764
  for (let ne = C.length - 3, ke = 0; ne >= 0; ne -= 3)
12765
- M[ke++] = C[ne], M[ke++] = C[ne + 1] - le, M[ke++] = C[ne + 2] - le, M[ke++] = ke;
12766
- $.push(new ns(M, C[2] - le, n)), E.push(le - P);
12765
+ M[ke++] = C[ne], M[ke++] = C[ne + 1] - ce, M[ke++] = C[ne + 2] - ce, M[ke++] = ke;
12766
+ $.push(new ns(M, C[2] - ce, n)), E.push(ce - P);
12767
12767
  }
12768
12768
  }
12769
12769
  function f(P) {
@@ -12778,10 +12778,10 @@ function $Q(r) {
12778
12778
  };
12779
12779
  }
12780
12780
  function p(P, v, $, E, C, X, U, M) {
12781
- let le = [], ne = [];
12781
+ let ce = [], ne = [];
12782
12782
  for (; P.length > E; )
12783
- le.push(P.pop()), ne.push(v.pop() + $ - C);
12784
- P.push(m(n.types[U], le, ne, X - C, M - X)), v.push(C - $);
12783
+ ce.push(P.pop()), ne.push(v.pop() + $ - C);
12784
+ P.push(m(n.types[U], ce, ne, X - C, M - X)), v.push(C - $);
12785
12785
  }
12786
12786
  function m(P, v, $, E, C = 0, X) {
12787
12787
  if (c) {
@@ -12797,14 +12797,14 @@ function $Q(r) {
12797
12797
  function g(P, v) {
12798
12798
  let $ = a.fork(), E = 0, C = 0, X = 0, U = $.end - s, M = { size: 0, start: 0, skip: 0 };
12799
12799
  e:
12800
- for (let le = $.pos - P; $.pos > le; ) {
12800
+ for (let ce = $.pos - P; $.pos > ce; ) {
12801
12801
  let ne = $.size;
12802
12802
  if ($.id == v && ne >= 0) {
12803
12803
  M.size = E, M.start = C, M.skip = X, X += 4, E += 4, $.next();
12804
12804
  continue;
12805
12805
  }
12806
12806
  let ke = $.pos - ne;
12807
- if (ne < 0 || ke < le || $.start < U)
12807
+ if (ne < 0 || ke < ce || $.start < U)
12808
12808
  break;
12809
12809
  let Re = $.id >= o ? 4 : 0, Me = $.start;
12810
12810
  for ($.next(); $.pos > ke; ) {
@@ -12826,8 +12826,8 @@ function $Q(r) {
12826
12826
  if (a.next(), U >= 0 && E < o) {
12827
12827
  let M = $;
12828
12828
  if (U > 4) {
12829
- let le = a.pos - (U - 4);
12830
- for (; a.pos > le; )
12829
+ let ce = a.pos - (U - 4);
12830
+ for (; a.pos > ce; )
12831
12831
  $ = O(P, v, $);
12832
12832
  }
12833
12833
  v[--$] = M, v[--$] = X - P, v[--$] = C - P, v[--$] = E;
@@ -13506,7 +13506,7 @@ function XQ(r) {
13506
13506
  e = e.next;
13507
13507
  return e || null;
13508
13508
  }
13509
- const re = qn.define, Ml = re(), Wn = re(), JO = re(Wn), e0 = re(Wn), Vn = re(), Xl = re(Vn), qu = re(Vn), Yr = re(), vs = re(Yr), Vr = re(), zr = re(), pf = re(), Wo = re(pf), ql = re(), A = {
13509
+ const re = qn.define, Ml = re(), Wn = re(), JO = re(Wn), e0 = re(Wn), Vn = re(), Xl = re(Vn), qu = re(Vn), Yr = re(), ws = re(Yr), Vr = re(), zr = re(), pf = re(), Wo = re(pf), ql = re(), A = {
13510
13510
  /**
13511
13511
  A comment.
13512
13512
  */
@@ -13738,31 +13738,31 @@ const re = qn.define, Ml = re(), Wn = re(), JO = re(Wn), e0 = re(Wn), Vn = re(),
13738
13738
  /**
13739
13739
  [Content](#highlight.tags.content) that represents a heading.
13740
13740
  */
13741
- heading: vs,
13741
+ heading: ws,
13742
13742
  /**
13743
13743
  A level 1 [heading](#highlight.tags.heading).
13744
13744
  */
13745
- heading1: re(vs),
13745
+ heading1: re(ws),
13746
13746
  /**
13747
13747
  A level 2 [heading](#highlight.tags.heading).
13748
13748
  */
13749
- heading2: re(vs),
13749
+ heading2: re(ws),
13750
13750
  /**
13751
13751
  A level 3 [heading](#highlight.tags.heading).
13752
13752
  */
13753
- heading3: re(vs),
13753
+ heading3: re(ws),
13754
13754
  /**
13755
13755
  A level 4 [heading](#highlight.tags.heading).
13756
13756
  */
13757
- heading4: re(vs),
13757
+ heading4: re(ws),
13758
13758
  /**
13759
13759
  A level 5 [heading](#highlight.tags.heading).
13760
13760
  */
13761
- heading5: re(vs),
13761
+ heading5: re(ws),
13762
13762
  /**
13763
13763
  A level 6 [heading](#highlight.tags.heading).
13764
13764
  */
13765
- heading6: re(vs),
13765
+ heading6: re(ws),
13766
13766
  /**
13767
13767
  A prose separator (such as a horizontal rule).
13768
13768
  */
@@ -15954,12 +15954,12 @@ const BT = /* @__PURE__ */ ye.domEventHandlers({
15954
15954
  brackets: ["(", "[", "{", "'", '"'],
15955
15955
  before: ")]}:;>",
15956
15956
  stringPrefixes: []
15957
- }, Es = /* @__PURE__ */ Ve.define({
15957
+ }, Rs = /* @__PURE__ */ Ve.define({
15958
15958
  map(r, e) {
15959
15959
  let t = e.mapPos(r, -1, Tt.TrackAfter);
15960
15960
  return t ?? void 0;
15961
15961
  }
15962
- }), Lp = /* @__PURE__ */ new class extends Vs {
15962
+ }), Lp = /* @__PURE__ */ new class extends zs {
15963
15963
  }();
15964
15964
  Lp.startSide = 1;
15965
15965
  Lp.endSide = -1;
@@ -15973,7 +15973,7 @@ const T1 = /* @__PURE__ */ Ir.define({
15973
15973
  r = r.update({ filter: (n) => n >= t.from && n <= t.to });
15974
15974
  }
15975
15975
  for (let t of e.effects)
15976
- t.is(Es) && (r = r.update({ add: [Lp.range(t.value, t.value + 1)] }));
15976
+ t.is(Rs) && (r = r.update({ add: [Lp.range(t.value, t.value + 1)] }));
15977
15977
  return r;
15978
15978
  }
15979
15979
  });
@@ -16047,13 +16047,13 @@ function rC(r, e, t, n) {
16047
16047
  if (!o.empty)
16048
16048
  return {
16049
16049
  changes: [{ insert: e, from: o.from }, { insert: t, from: o.to }],
16050
- effects: Es.of(o.to + e.length),
16050
+ effects: Rs.of(o.to + e.length),
16051
16051
  range: oe.range(o.anchor + e.length, o.head + e.length)
16052
16052
  };
16053
16053
  let a = jd(r.doc, o.head);
16054
16054
  return !a || /\s/.test(a) || n.indexOf(a) > -1 ? {
16055
16055
  changes: { insert: e + t, from: o.head },
16056
- effects: Es.of(o.head + e.length),
16056
+ effects: Rs.of(o.head + e.length),
16057
16057
  range: oe.cursor(o.head + e.length)
16058
16058
  } : { range: s = o };
16059
16059
  });
@@ -16077,7 +16077,7 @@ function sC(r, e, t, n) {
16077
16077
  if (!a.empty)
16078
16078
  return {
16079
16079
  changes: [{ insert: e, from: a.from }, { insert: e, from: a.to }],
16080
- effects: Es.of(a.to + e.length),
16080
+ effects: Rs.of(a.to + e.length),
16081
16081
  range: oe.range(a.anchor + e.length, a.head + e.length)
16082
16082
  };
16083
16083
  let l = a.head, c = jd(r.doc, l), d;
@@ -16085,7 +16085,7 @@ function sC(r, e, t, n) {
16085
16085
  if (f0(r, l))
16086
16086
  return {
16087
16087
  changes: { insert: e + e, from: l },
16088
- effects: Es.of(l + e.length),
16088
+ effects: Rs.of(l + e.length),
16089
16089
  range: oe.cursor(l + e.length)
16090
16090
  };
16091
16091
  if (E1(r, l)) {
@@ -16099,13 +16099,13 @@ function sC(r, e, t, n) {
16099
16099
  if (t && r.sliceDoc(l - 2 * e.length, l) == e + e && (d = p0(r, l - 2 * e.length, s)) > -1 && f0(r, d))
16100
16100
  return {
16101
16101
  changes: { insert: e + e + e + e, from: l },
16102
- effects: Es.of(l + e.length),
16102
+ effects: Rs.of(l + e.length),
16103
16103
  range: oe.cursor(l + e.length)
16104
16104
  };
16105
16105
  if (r.charCategorizer(l)(c) != dr.Word && p0(r, l, s) > -1 && !iC(r, l, e, s))
16106
16106
  return {
16107
16107
  changes: { insert: e + e, from: l },
16108
- effects: Es.of(l + e.length),
16108
+ effects: Rs.of(l + e.length),
16109
16109
  range: oe.cursor(l + e.length)
16110
16110
  };
16111
16111
  }
@@ -19853,7 +19853,7 @@ const bi = 63, q0 = 64, SA = 1, kA = 2, gw = 3, $A = 4, Ow = 5, PA = 6, _A = 7,
19853
19853
  }
19854
19854
  };
19855
19855
  _u(yd, "top", new yd(null, -1, MA));
19856
- let $s = yd;
19856
+ let Ps = yd;
19857
19857
  function ma(r, e) {
19858
19858
  for (let t = 0, n = e - r.pos - 1; ; n--, t++) {
19859
19859
  let s = r.peek(n);
@@ -19870,29 +19870,29 @@ function _n(r) {
19870
19870
  function vw(r) {
19871
19871
  return _f(r) || _n(r);
19872
19872
  }
19873
- function Rs(r) {
19873
+ function Zs(r) {
19874
19874
  return r < 0 || vw(r);
19875
19875
  }
19876
19876
  const XA = new Bp({
19877
- start: $s.top,
19877
+ start: Ps.top,
19878
19878
  reduce(r, e) {
19879
19879
  return r.type == Da && (e == ZA || e == NA) ? r.parent : r;
19880
19880
  },
19881
19881
  shift(r, e, t, n) {
19882
19882
  if (e == gw)
19883
- return new $s(r, ma(n, n.pos), Kp);
19883
+ return new Ps(r, ma(n, n.pos), Kp);
19884
19884
  if (e == yw || e == Ow)
19885
- return new $s(r, ma(n, n.pos), $f);
19885
+ return new Ps(r, ma(n, n.pos), $f);
19886
19886
  if (e == bi)
19887
19887
  return r.parent;
19888
19888
  if (e == RA || e == jA)
19889
- return new $s(r, 0, Da);
19889
+ return new Ps(r, 0, Da);
19890
19890
  if (e == bw && r.type == Pf)
19891
19891
  return r.parent;
19892
19892
  if (e == DA) {
19893
19893
  let s = /[1-9]/.exec(n.read(n.pos, t.pos));
19894
19894
  if (s)
19895
- return new $s(r, r.depth + +s[0], Pf);
19895
+ return new Ps(r, r.depth + +s[0], Pf);
19896
19896
  }
19897
19897
  return r;
19898
19898
  },
@@ -19901,7 +19901,7 @@ const XA = new Bp({
19901
19901
  }
19902
19902
  });
19903
19903
  function Ki(r, e, t = 0) {
19904
- return r.peek(t) == e && r.peek(t + 1) == e && r.peek(t + 2) == e && Rs(r.peek(t + 3));
19904
+ return r.peek(t) == e && r.peek(t + 1) == e && r.peek(t + 2) == e && Zs(r.peek(t + 3));
19905
19905
  }
19906
19906
  const qA = new qt((r, e) => {
19907
19907
  if (r.next == -1 && e.canShift(q0))
@@ -19929,18 +19929,18 @@ const qA = new qt((r, e) => {
19929
19929
  let n = 0;
19930
19930
  for (; r.next == 32; )
19931
19931
  n++, r.advance();
19932
- (n < e.context.depth || n == e.context.depth && e.context.type == Kp && (r.next != 45 || !Rs(r.peek(1)))) && // Not blank
19932
+ (n < e.context.depth || n == e.context.depth && e.context.type == Kp && (r.next != 45 || !Zs(r.peek(1)))) && // Not blank
19933
19933
  r.next != -1 && !_n(r.next) && r.next != 35 && r.acceptToken(bi, -n);
19934
19934
  }
19935
19935
  }, { contextual: !0 }), WA = new qt((r, e) => {
19936
19936
  if (e.context.type == Da) {
19937
- r.next == 63 && (r.advance(), Rs(r.next) && r.acceptToken(_A));
19937
+ r.next == 63 && (r.advance(), Zs(r.next) && r.acceptToken(_A));
19938
19938
  return;
19939
19939
  }
19940
19940
  if (r.next == 45)
19941
- r.advance(), Rs(r.next) && r.acceptToken(e.context.type == Kp && e.context.depth == ma(r, r.pos - 1) ? $A : gw);
19941
+ r.advance(), Zs(r.next) && r.acceptToken(e.context.type == Kp && e.context.depth == ma(r, r.pos - 1) ? $A : gw);
19942
19942
  else if (r.next == 63)
19943
- r.advance(), Rs(r.next) && r.acceptToken(e.context.type == $f && e.context.depth == ma(r, r.pos - 1) ? PA : Ow);
19943
+ r.advance(), Zs(r.next) && r.acceptToken(e.context.type == $f && e.context.depth == ma(r, r.pos - 1) ? PA : Ow);
19944
19944
  else {
19945
19945
  let t = r.pos;
19946
19946
  for (; ; )
@@ -19973,7 +19973,7 @@ const qA = new qt((r, e) => {
19973
19973
  if (r.pos == t && e.canShift(IA))
19974
19974
  return;
19975
19975
  let n = r.peek(1);
19976
- Rs(n) && r.acceptTokenTo(e.context.type == $f && e.context.depth == ma(r, t) ? xA : yw, t);
19976
+ Zs(n) && r.acceptTokenTo(e.context.type == $f && e.context.depth == ma(r, t) ? xA : yw, t);
19977
19977
  }
19978
19978
  }
19979
19979
  }, { contextual: !0 });
@@ -19998,7 +19998,7 @@ function ww(r) {
19998
19998
  ;
19999
19999
  }
20000
20000
  function xf(r) {
20001
- for (r.advance(); !Rs(r.next) && Kc(r.tag) != "f"; )
20001
+ for (r.advance(); !Zs(r.next) && Kc(r.tag) != "f"; )
20002
20002
  r.advance();
20003
20003
  }
20004
20004
  function Jp(r, e) {
@@ -20335,7 +20335,7 @@ const JA = KA({
20335
20335
  scrollIntoView: !1
20336
20336
  }), !0)
20337
20337
  }, rE = (r) => {
20338
- const e = de(null);
20338
+ const e = le(null);
20339
20339
  Ie(
20340
20340
  r.codeMirrorRef,
20341
20341
  () => {
@@ -20510,7 +20510,7 @@ const nE = /* @__PURE__ */ H({
20510
20510
  },
20511
20511
  emits: ["change"],
20512
20512
  setup(r, { emit: e }) {
20513
- const t = r, n = e, s = de(null);
20513
+ const t = r, n = e, s = le(null);
20514
20514
  return rE({
20515
20515
  content: Lr(() => t.content),
20516
20516
  readOnly: Lr(() => t.readOnly),
@@ -20739,7 +20739,7 @@ function Yl(r) {
20739
20739
  }
20740
20740
  const pE = (r) => {
20741
20741
  var o, a;
20742
- const { request: e } = r, { authentication: t } = us(), {
20742
+ const { request: e } = r, { authentication: t } = hs(), {
20743
20743
  openApi: { operation: n, globalSecurity: s }
20744
20744
  } = Qd(), i = Nd(
20745
20745
  t,
@@ -21041,7 +21041,7 @@ const _E = { class: "navtable-item-40 navtable-item-request" }, xE = { class: "n
21041
21041
  ])
21042
21042
  ], 2));
21043
21043
  }
21044
- }), CE = /* @__PURE__ */ ee(TE, [["__scopeId", "data-v-9d04e3f5"]]), AE = { class: "navigation-content-item" }, EE = { class: "navtable" }, RE = { class: "navtable-table" }, ZE = /* @__PURE__ */ ds('<div class="navtable-item navtable-item__top"><div class="navtable-item-40"><label for="">Request</label></div><div class="navtable-item-40"><label for="">Response</label></div><div class="navtable-item-20"><label for="">TIME</label></div></div>', 1), IE = { class: "navtable-radios" }, jE = /* @__PURE__ */ ds('<div class="navtable-mock"><div class="navtable-item"><div class="navtable-item-40"></div><div class="navtable-item-40"></div><div class="navtable-item-20"></div></div></div>', 1), NE = /* @__PURE__ */ H({
21044
+ }), CE = /* @__PURE__ */ ee(TE, [["__scopeId", "data-v-9d04e3f5"]]), AE = { class: "navigation-content-item" }, EE = { class: "navtable" }, RE = { class: "navtable-table" }, ZE = /* @__PURE__ */ us('<div class="navtable-item navtable-item__top"><div class="navtable-item-40"><label for="">Request</label></div><div class="navtable-item-40"><label for="">Response</label></div><div class="navtable-item-20"><label for="">TIME</label></div></div>', 1), IE = { class: "navtable-radios" }, jE = /* @__PURE__ */ us('<div class="navtable-mock"><div class="navtable-item"><div class="navtable-item-40"></div><div class="navtable-item-40"></div><div class="navtable-item-20"></div></div></div>', 1), NE = /* @__PURE__ */ H({
21045
21045
  __name: "RequestHistory",
21046
21046
  emits: ["toggle"],
21047
21047
  setup(r) {
@@ -21101,7 +21101,7 @@ const _E = { class: "navtable-item-40 navtable-item-request" }, xE = { class: "n
21101
21101
  ], 40, ME)
21102
21102
  ]));
21103
21103
  }
21104
- }), WE = /* @__PURE__ */ ee(qE, [["__scopeId", "data-v-6ed314b1"]]), em = (r) => ($t("data-v-7f2c285d"), r = r(), Pt(), r), VE = {
21104
+ }), WE = /* @__PURE__ */ ee(qE, [["__scopeId", "data-v-6ed314b1"]]), em = (r) => ($t("data-v-77da9b72"), r = r(), Pt(), r), VE = {
21105
21105
  key: 0,
21106
21106
  class: "loader"
21107
21107
  }, zE = { class: "url-form" }, UE = { class: "url-form-field" }, YE = ["disabled"], LE = /* @__PURE__ */ em(() => /* @__PURE__ */ R("svg", {
@@ -21158,7 +21158,7 @@ const _E = { class: "navtable-item-40 navtable-item-request" }, xE = { class: "n
21158
21158
  setup(r, { emit: e }) {
21159
21159
  const t = r, n = e, s = Sd();
21160
21160
  Ai(bc() ? s.meta_enter : s.ctrl_enter, y);
21161
- const i = de(!1), o = de(!1), {
21161
+ const i = le(!1), o = le(!1), {
21162
21162
  activeRequest: a,
21163
21163
  addRequestToHistory: l,
21164
21164
  requestHistory: c,
@@ -21245,7 +21245,7 @@ const _E = { class: "navtable-item-40 navtable-item-request" }, xE = { class: "n
21245
21245
  ], 2)
21246
21246
  ], 64));
21247
21247
  }
21248
- }), eR = /* @__PURE__ */ ee(JE, [["__scopeId", "data-v-7f2c285d"]]), Tw = pp(Symbol()), tR = /* @__PURE__ */ R("svg", {
21248
+ }), eR = /* @__PURE__ */ ee(JE, [["__scopeId", "data-v-77da9b72"]]), Tw = pp(Symbol()), tR = /* @__PURE__ */ R("svg", {
21249
21249
  class: "scalar-api-client__toggle__icon",
21250
21250
  height: "10",
21251
21251
  viewBox: "0 0 5 10",
@@ -21267,7 +21267,7 @@ const _E = { class: "navtable-item-40 navtable-item-request" }, xE = { class: "n
21267
21267
  defaultOpen: { type: Boolean, default: !0 }
21268
21268
  },
21269
21269
  setup(r) {
21270
- const e = r, t = de(null), n = de(null), s = de(e.defaultOpen);
21270
+ const e = r, t = le(null), n = le(null), s = le(e.defaultOpen);
21271
21271
  return Ie(
21272
21272
  () => e.defaultOpen,
21273
21273
  (i, o) => {
@@ -21320,7 +21320,7 @@ function aR(r, e) {
21320
21320
  const lR = /* @__PURE__ */ ee(iR, [["render", aR], ["__scopeId", "data-v-1e46a31f"]]), cR = /* @__PURE__ */ H({
21321
21321
  __name: "CardFormButton",
21322
21322
  setup(r, { expose: e }) {
21323
- const t = de();
21323
+ const t = le();
21324
21324
  return e({ el: t }), (n, s) => (k(), Q("button", {
21325
21325
  ref_key: "el",
21326
21326
  ref: t,
@@ -21356,7 +21356,7 @@ const B0 = /* @__PURE__ */ ee(dR, [["render", hR], ["__scopeId", "data-v-a0658e7
21356
21356
  }), null, 16, mR)
21357
21357
  ]));
21358
21358
  }
21359
- }), fi = /* @__PURE__ */ ee(gR, [["__scopeId", "data-v-8ac73187"]]), ed = Math.min, Xs = Math.max, td = Math.round, Ll = Math.floor, os = (r) => ({
21359
+ }), fi = /* @__PURE__ */ ee(gR, [["__scopeId", "data-v-8ac73187"]]), ed = Math.min, qs = Math.max, td = Math.round, Ll = Math.floor, os = (r) => ({
21360
21360
  x: r,
21361
21361
  y: r
21362
21362
  }), OR = {
@@ -21369,12 +21369,12 @@ const B0 = /* @__PURE__ */ ee(dR, [["render", hR], ["__scopeId", "data-v-a0658e7
21369
21369
  end: "start"
21370
21370
  };
21371
21371
  function H0(r, e, t) {
21372
- return Xs(r, ed(e, t));
21372
+ return qs(r, ed(e, t));
21373
21373
  }
21374
21374
  function Dd(r, e) {
21375
21375
  return typeof r == "function" ? r(e) : r;
21376
21376
  }
21377
- function Ls(r) {
21377
+ function Bs(r) {
21378
21378
  return r.split("-")[0];
21379
21379
  }
21380
21380
  function Md(r) {
@@ -21387,7 +21387,7 @@ function Aw(r) {
21387
21387
  return r === "y" ? "height" : "width";
21388
21388
  }
21389
21389
  function Xd(r) {
21390
- return ["top", "bottom"].includes(Ls(r)) ? "y" : "x";
21390
+ return ["top", "bottom"].includes(Bs(r)) ? "y" : "x";
21391
21391
  }
21392
21392
  function Ew(r) {
21393
21393
  return Cw(Xd(r));
@@ -21420,7 +21420,7 @@ function wR(r, e, t) {
21420
21420
  }
21421
21421
  function SR(r, e, t, n) {
21422
21422
  const s = Md(r);
21423
- let i = wR(Ls(r), t === "start", n);
21423
+ let i = wR(Bs(r), t === "start", n);
21424
21424
  return s && (i = i.map((o) => o + "-" + s), e && (i = i.concat(i.map(Tf)))), i;
21425
21425
  }
21426
21426
  function rd(r) {
@@ -21457,7 +21457,7 @@ function G0(r, e, t) {
21457
21457
  reference: n,
21458
21458
  floating: s
21459
21459
  } = r;
21460
- const i = Xd(e), o = Ew(e), a = Aw(o), l = Ls(e), c = i === "y", d = n.x + n.width / 2 - s.width / 2, u = n.y + n.height / 2 - s.height / 2, h = n[a] / 2 - s[a] / 2;
21460
+ const i = Xd(e), o = Ew(e), a = Aw(o), l = Bs(e), c = i === "y", d = n.x + n.width / 2 - s.width / 2, u = n.y + n.height / 2 - s.height / 2, h = n[a] / 2 - s[a] / 2;
21461
21461
  let f;
21462
21462
  switch (l) {
21463
21463
  case "top":
@@ -21629,7 +21629,7 @@ const _R = function(r) {
21629
21629
  } = Dd(r, e);
21630
21630
  if ((t = i.arrow) != null && t.alignmentOffset)
21631
21631
  return {};
21632
- const O = Ls(s), y = Ls(a) === a, b = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), w = h || (y || !m ? [rd(a)] : vR(a));
21632
+ const O = Bs(s), y = Bs(a) === a, b = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), w = h || (y || !m ? [rd(a)] : vR(a));
21633
21633
  !h && p !== "none" && w.push(...SR(a, m, p, b));
21634
21634
  const P = [a, ...w], v = await Rw(e, g), $ = [];
21635
21635
  let E = ((n = i.flip) == null ? void 0 : n.overflows) || [];
@@ -21642,15 +21642,15 @@ const _R = function(r) {
21642
21642
  overflows: $
21643
21643
  }], !$.every((M) => M <= 0)) {
21644
21644
  var C, X;
21645
- const M = (((C = i.flip) == null ? void 0 : C.index) || 0) + 1, le = P[M];
21646
- if (le)
21645
+ const M = (((C = i.flip) == null ? void 0 : C.index) || 0) + 1, ce = P[M];
21646
+ if (ce)
21647
21647
  return {
21648
21648
  data: {
21649
21649
  index: M,
21650
21650
  overflows: E
21651
21651
  },
21652
21652
  reset: {
21653
- placement: le
21653
+ placement: ce
21654
21654
  }
21655
21655
  };
21656
21656
  let ne = (X = E.filter((ke) => ke.overflows[0] <= 0).sort((ke, Re) => ke.overflows[1] - Re.overflows[1])[0]) == null ? void 0 : X.placement;
@@ -21682,7 +21682,7 @@ async function xR(r, e) {
21682
21682
  placement: t,
21683
21683
  platform: n,
21684
21684
  elements: s
21685
- } = r, i = await (n.isRTL == null ? void 0 : n.isRTL(s.floating)), o = Ls(t), a = Md(t), l = Xd(t) === "y", c = ["left", "top"].includes(o) ? -1 : 1, d = i && l ? -1 : 1, u = Dd(e, r);
21685
+ } = r, i = await (n.isRTL == null ? void 0 : n.isRTL(s.floating)), o = Bs(t), a = Md(t), l = Xd(t) === "y", c = ["left", "top"].includes(o) ? -1 : 1, d = i && l ? -1 : 1, u = Dd(e, r);
21686
21686
  let {
21687
21687
  mainAxis: h,
21688
21688
  crossAxis: f,
@@ -21755,7 +21755,7 @@ const QR = function(r) {
21755
21755
  } = Dd(r, e), c = {
21756
21756
  x: t,
21757
21757
  y: n
21758
- }, d = await Rw(e, l), u = Xd(Ls(s)), h = Cw(u);
21758
+ }, d = await Rw(e, l), u = Xd(Bs(s)), h = Cw(u);
21759
21759
  let f = c[h], p = c[u];
21760
21760
  if (i) {
21761
21761
  const g = h === "y" ? "top" : "left", O = h === "y" ? "bottom" : "right", y = f + d[g], b = f - d[O];
@@ -21907,7 +21907,7 @@ function jw(r) {
21907
21907
  function RR(r, e, t) {
21908
21908
  return e === void 0 && (e = !1), !t || e && t !== rr(r) ? !1 : e;
21909
21909
  }
21910
- function Bs(r, e, t, n) {
21910
+ function Hs(r, e, t, n) {
21911
21911
  e === void 0 && (e = !1), t === void 0 && (t = !1);
21912
21912
  const s = r.getBoundingClientRect(), i = sm(r);
21913
21913
  let o = os(1);
@@ -21955,7 +21955,7 @@ function IR(r) {
21955
21955
  }, c = os(1);
21956
21956
  const d = os(0), u = nn(n);
21957
21957
  if ((u || !u && !i) && ((xn(n) !== "body" || nl(o)) && (l = Wd(n)), nn(n))) {
21958
- const h = Bs(n);
21958
+ const h = Hs(n);
21959
21959
  c = Xi(n), d.x = h.x + n.clientLeft, d.y = h.y + n.clientTop;
21960
21960
  }
21961
21961
  return {
@@ -21969,13 +21969,13 @@ function jR(r) {
21969
21969
  return Array.from(r.getClientRects());
21970
21970
  }
21971
21971
  function Dw(r) {
21972
- return Bs(An(r)).left + Wd(r).scrollLeft;
21972
+ return Hs(An(r)).left + Wd(r).scrollLeft;
21973
21973
  }
21974
21974
  function NR(r) {
21975
- const e = An(r), t = Wd(r), n = r.ownerDocument.body, s = Xs(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), i = Xs(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
21975
+ const e = An(r), t = Wd(r), n = r.ownerDocument.body, s = qs(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), i = qs(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
21976
21976
  let o = -t.scrollLeft + Dw(r);
21977
21977
  const a = -t.scrollTop;
21978
- return gr(n).direction === "rtl" && (o += Xs(e.clientWidth, n.clientWidth) - s), {
21978
+ return gr(n).direction === "rtl" && (o += qs(e.clientWidth, n.clientWidth) - s), {
21979
21979
  width: s,
21980
21980
  height: i,
21981
21981
  x: o,
@@ -21998,7 +21998,7 @@ function DR(r, e) {
21998
21998
  };
21999
21999
  }
22000
22000
  function MR(r, e) {
22001
- const t = Bs(r, !0, e === "fixed"), n = t.top + r.clientTop, s = t.left + r.clientLeft, i = nn(r) ? Xi(r) : os(1), o = r.clientWidth * i.x, a = r.clientHeight * i.y, l = s * i.x, c = n * i.y;
22001
+ const t = Hs(r, !0, e === "fixed"), n = t.top + r.clientTop, s = t.left + r.clientLeft, i = nn(r) ? Xi(r) : os(1), o = r.clientWidth * i.x, a = r.clientHeight * i.y, l = s * i.x, c = n * i.y;
22002
22002
  return {
22003
22003
  width: o,
22004
22004
  height: a,
@@ -22050,7 +22050,7 @@ function qR(r) {
22050
22050
  } = r;
22051
22051
  const o = [...t === "clippingAncestors" ? XR(e, this._c) : [].concat(t), n], a = o[0], l = o.reduce((c, d) => {
22052
22052
  const u = K0(e, d, s);
22053
- return c.top = Xs(u.top, c.top), c.right = ed(u.right, c.right), c.bottom = ed(u.bottom, c.bottom), c.left = Xs(u.left, c.left), c;
22053
+ return c.top = qs(u.top, c.top), c.right = ed(u.right, c.right), c.bottom = ed(u.bottom, c.bottom), c.left = qs(u.left, c.left), c;
22054
22054
  }, K0(e, a, s));
22055
22055
  return {
22056
22056
  width: l.right - l.left,
@@ -22070,7 +22070,7 @@ function WR(r) {
22070
22070
  };
22071
22071
  }
22072
22072
  function VR(r, e, t) {
22073
- const n = nn(e), s = An(e), i = t === "fixed", o = Bs(r, !0, i, e);
22073
+ const n = nn(e), s = An(e), i = t === "fixed", o = Hs(r, !0, i, e);
22074
22074
  let a = {
22075
22075
  scrollLeft: 0,
22076
22076
  scrollTop: 0
@@ -22078,7 +22078,7 @@ function VR(r, e, t) {
22078
22078
  const l = os(0);
22079
22079
  if (n || !n && !i)
22080
22080
  if ((xn(e) !== "body" || nl(s)) && (a = Wd(e)), n) {
22081
- const u = Bs(e, !0, i, e);
22081
+ const u = Hs(e, !0, i, e);
22082
22082
  l.x = u.x + e.clientLeft, l.y = u.y + e.clientTop;
22083
22083
  } else
22084
22084
  s && (l.x = Dw(s));
@@ -22147,7 +22147,7 @@ function LR(r, e) {
22147
22147
  return;
22148
22148
  const f = Ll(d), p = Ll(s.clientWidth - (c + u)), m = Ll(s.clientHeight - (d + h)), g = Ll(c), y = {
22149
22149
  rootMargin: -f + "px " + -p + "px " + -m + "px " + -g + "px",
22150
- threshold: Xs(0, ed(1, l)) || 1
22150
+ threshold: qs(0, ed(1, l)) || 1
22151
22151
  };
22152
22152
  let b = !0;
22153
22153
  function w(P) {
@@ -22197,10 +22197,10 @@ function BR(r, e, t, n) {
22197
22197
  (b = f) == null || b.observe(e);
22198
22198
  })), t();
22199
22199
  }), c && !l && f.observe(c), f.observe(e));
22200
- let p, m = l ? Bs(r) : null;
22200
+ let p, m = l ? Hs(r) : null;
22201
22201
  l && g();
22202
22202
  function g() {
22203
- const O = Bs(r);
22203
+ const O = Hs(r);
22204
22204
  m && (O.x !== m.x || O.y !== m.y || O.width !== m.width || O.height !== m.height) && t(), m = O, p = requestAnimationFrame(g);
22205
22205
  }
22206
22206
  return t(), () => {
@@ -22254,7 +22254,7 @@ function JR(r, e, t) {
22254
22254
  }), l = se(() => {
22255
22255
  var $;
22256
22256
  return ($ = S(t.transform)) != null ? $ : !0;
22257
- }), c = se(() => ey(r.value)), d = se(() => ey(e.value)), u = de(0), h = de(0), f = de(a.value), p = de(o.value), m = X$({}), g = de(!1), O = se(() => {
22257
+ }), c = se(() => ey(r.value)), d = se(() => ey(e.value)), u = le(0), h = le(0), f = le(a.value), p = le(o.value), m = X$({}), g = le(!1), O = se(() => {
22258
22258
  const $ = {
22259
22259
  position: f.value,
22260
22260
  left: "0",
@@ -22621,22 +22621,22 @@ function He(r) {
22621
22621
  }
22622
22622
  const Yw = /^\[(?:([a-z-]+):)?(.+)\]$/i, fZ = /^\d+\/\d+$/, pZ = /* @__PURE__ */ new Set(["px", "full", "screen"]), mZ = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, gZ = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, OZ = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, yZ = /^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, bZ = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
22623
22623
  function hn(r) {
22624
- return Zs(r) || pZ.has(r) || fZ.test(r);
22624
+ return Is(r) || pZ.has(r) || fZ.test(r);
22625
22625
  }
22626
22626
  function Rn(r) {
22627
22627
  return fo(r, "length", xZ);
22628
22628
  }
22629
- function Zs(r) {
22629
+ function Is(r) {
22630
22630
  return !!r && !Number.isNaN(Number(r));
22631
22631
  }
22632
22632
  function Bl(r) {
22633
- return fo(r, "number", Zs);
22633
+ return fo(r, "number", Is);
22634
22634
  }
22635
22635
  function Yo(r) {
22636
22636
  return !!r && Number.isInteger(Number(r));
22637
22637
  }
22638
22638
  function vZ(r) {
22639
- return r.endsWith("%") && Zs(r.slice(0, -1));
22639
+ return r.endsWith("%") && Is(r.slice(0, -1));
22640
22640
  }
22641
22641
  function Pe(r) {
22642
22642
  return Yw.test(r);
@@ -22678,7 +22678,7 @@ function TZ(r) {
22678
22678
  return bZ.test(r);
22679
22679
  }
22680
22680
  function oy() {
22681
- const r = He("colors"), e = He("spacing"), t = He("blur"), n = He("brightness"), s = He("borderColor"), i = He("borderRadius"), o = He("borderSpacing"), a = He("borderWidth"), l = He("contrast"), c = He("grayscale"), d = He("hueRotate"), u = He("invert"), h = He("gap"), f = He("gradientColorStops"), p = He("gradientColorStopPositions"), m = He("inset"), g = He("margin"), O = He("opacity"), y = He("padding"), b = He("saturate"), w = He("scale"), P = He("sepia"), v = He("skew"), $ = He("space"), E = He("translate"), C = () => ["auto", "contain", "none"], X = () => ["auto", "hidden", "clip", "visible", "scroll"], U = () => ["auto", Pe, e], M = () => [Pe, e], le = () => ["", hn, Rn], ne = () => ["auto", Zs, Pe], ke = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], Re = () => ["solid", "dashed", "dotted", "double", "none"], Me = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity", "plus-lighter"], _e = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], Oe = () => ["", "0", Pe], F = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], D = () => [Zs, Bl], V = () => [Zs, Pe];
22681
+ const r = He("colors"), e = He("spacing"), t = He("blur"), n = He("brightness"), s = He("borderColor"), i = He("borderRadius"), o = He("borderSpacing"), a = He("borderWidth"), l = He("contrast"), c = He("grayscale"), d = He("hueRotate"), u = He("invert"), h = He("gap"), f = He("gradientColorStops"), p = He("gradientColorStopPositions"), m = He("inset"), g = He("margin"), O = He("opacity"), y = He("padding"), b = He("saturate"), w = He("scale"), P = He("sepia"), v = He("skew"), $ = He("space"), E = He("translate"), C = () => ["auto", "contain", "none"], X = () => ["auto", "hidden", "clip", "visible", "scroll"], U = () => ["auto", Pe, e], M = () => [Pe, e], ce = () => ["", hn, Rn], ne = () => ["auto", Is, Pe], ke = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], Re = () => ["solid", "dashed", "dotted", "double", "none"], Me = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity", "plus-lighter"], _e = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], Oe = () => ["", "0", Pe], F = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], D = () => [Is, Bl], V = () => [Is, Pe];
22682
22682
  return {
22683
22683
  cacheSize: 500,
22684
22684
  separator: ":",
@@ -22690,7 +22690,7 @@ function oy() {
22690
22690
  borderColor: [r],
22691
22691
  borderRadius: ["none", "", "full", Zn, Pe],
22692
22692
  borderSpacing: M(),
22693
- borderWidth: le(),
22693
+ borderWidth: ce(),
22694
22694
  contrast: D(),
22695
22695
  grayscale: Oe(),
22696
22696
  hueRotate: V(),
@@ -23417,7 +23417,7 @@ function oy() {
23417
23417
  * @see https://tailwindcss.com/docs/line-clamp
23418
23418
  */
23419
23419
  "line-clamp": [{
23420
- "line-clamp": ["none", Zs, Bl]
23420
+ "line-clamp": ["none", Is, Bl]
23421
23421
  }],
23422
23422
  /**
23423
23423
  * Line Height
@@ -23996,7 +23996,7 @@ function oy() {
23996
23996
  * @see https://tailwindcss.com/docs/ring-width
23997
23997
  */
23998
23998
  "ring-w": [{
23999
- ring: le()
23999
+ ring: ce()
24000
24000
  }],
24001
24001
  /**
24002
24002
  * Ring Width Inset
@@ -25353,7 +25353,7 @@ var Bw = { exports: {} };
25353
25353
  for (var X = 0; X < C.length; ++X) {
25354
25354
  if ($ && $.cause == E + "," + X)
25355
25355
  return;
25356
- var U = C[X], M = U.inside, le = !!U.lookbehind, ne = !!U.greedy, ke = U.alias;
25356
+ var U = C[X], M = U.inside, ce = !!U.lookbehind, ne = !!U.greedy, ke = U.alias;
25357
25357
  if (ne && !U.pattern.global) {
25358
25358
  var Re = U.pattern.toString().match(/[imsuy]*$/)[0];
25359
25359
  U.pattern = RegExp(U.pattern.source, Re + "g");
@@ -25365,7 +25365,7 @@ var Bw = { exports: {} };
25365
25365
  if (!(F instanceof l)) {
25366
25366
  var D = 1, V;
25367
25367
  if (ne) {
25368
- if (V = c(Me, Oe, y, le), !V || V.index >= y.length)
25368
+ if (V = c(Me, Oe, y, ce), !V || V.index >= y.length)
25369
25369
  break;
25370
25370
  var z = V.index, q = V.index + V[0].length, _ = Oe;
25371
25371
  for (_ += _e.value.length; z >= _; )
@@ -25375,7 +25375,7 @@ var Bw = { exports: {} };
25375
25375
  for (var j = _e; j !== b.tail && (_ < q || typeof j.value == "string"); j = j.next)
25376
25376
  D++, _ += j.value.length;
25377
25377
  D--, F = y.slice(Oe, _), V.index -= Oe;
25378
- } else if (V = c(Me, 0, F, le), !V)
25378
+ } else if (V = c(Me, 0, F, ce), !V)
25379
25379
  continue;
25380
25380
  var z = V.index, ie = V[0], ae = F.slice(0, z), xe = F.slice(z + ie.length), Qe = Oe + F.length;
25381
25381
  $ && Qe > $.reach && ($.reach = Qe);
@@ -25898,7 +25898,7 @@ const Bo = /* @__PURE__ */ ZZ(IZ), Af = "scalar-component", jZ = RZ({
25898
25898
  hooks: {
25899
25899
  onComplete: (r) => `${jZ(r, Af)}`
25900
25900
  }
25901
- }), NZ = /* @__PURE__ */ ds('<path class="svg-path svg-check-mark" d="m 0 60 l 30 30 l 70 -80" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 -40" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 40" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 -40" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 40" data-v-47faceda></path>', 5), DZ = {
25901
+ }), NZ = /* @__PURE__ */ us('<path class="svg-path svg-check-mark" d="m 0 60 l 30 30 l 70 -80" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 -40" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 40" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 -40" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 40" data-v-47faceda></path>', 5), DZ = {
25902
25902
  key: 0,
25903
25903
  class: "circular-loader"
25904
25904
  }, MZ = /* @__PURE__ */ H({
@@ -26404,7 +26404,7 @@ const YZ = ["innerHTML"], mn = /* @__PURE__ */ H({
26404
26404
  (f) => `<span class="credentials">${f}</span>`
26405
26405
  ));
26406
26406
  });
26407
- const o = de(null), a = de(ao[n] ?? ""), l = se(() => e.lang === "node" ? "js" : e.lang), c = e.lang;
26407
+ const o = le(null), a = le(ao[n] ?? ""), l = se(() => e.lang === "node" ? "js" : e.lang), c = e.lang;
26408
26408
  Ie(
26409
26409
  [() => e.lang, () => e.content, o],
26410
26410
  () => {
@@ -26428,7 +26428,7 @@ const YZ = ["innerHTML"], mn = /* @__PURE__ */ H({
26428
26428
  const f = La();
26429
26429
  f.payload.data[n] = h + u;
26430
26430
  }
26431
- }), Ks(async () => {
26431
+ }), ds(async () => {
26432
26432
  await import("./prism-autoloader-Dlh8Vzlw-C7VXQ4L8.js"), s.autoloader.languages_path = "https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/";
26433
26433
  }), (u, h) => (k(), Q("pre", {
26434
26434
  class: me([
@@ -26531,7 +26531,7 @@ const JZ = /* @__PURE__ */ ee(GZ, [["render", KZ], ["__scopeId", "data-v-b99d69c
26531
26531
  },
26532
26532
  emits: ["update:selected"],
26533
26533
  setup(r, { emit: e }) {
26534
- const t = r, n = e, s = de(), i = de(), { floatingStyles: o } = JR(s, i, {
26534
+ const t = r, n = e, s = le(), i = le(), { floatingStyles: o } = JR(s, i, {
26535
26535
  placement: "bottom-end",
26536
26536
  whileElementsMounted: BR,
26537
26537
  middleware: [QR(5), GR(), HR()]
@@ -26621,7 +26621,7 @@ const JZ = /* @__PURE__ */ ee(GZ, [["render", KZ], ["__scopeId", "data-v-b99d69c
26621
26621
  value: {}
26622
26622
  },
26623
26623
  setup(r) {
26624
- const { authentication: e, setAuthentication: t } = us(), n = (u) => {
26624
+ const { authentication: e, setAuthentication: t } = hs(), n = (u) => {
26625
26625
  t({
26626
26626
  apiKey: {
26627
26627
  ...e.apiKey,
@@ -26831,10 +26831,10 @@ const JZ = /* @__PURE__ */ ee(GZ, [["render", KZ], ["__scopeId", "data-v-b99d69c
26831
26831
  },
26832
26832
  emits: ["input"],
26833
26833
  setup(r, { emit: e }) {
26834
- const t = r, n = e, { authentication: s, setAuthentication: i } = us(), o = (g) => {
26834
+ const t = r, n = e, { authentication: s, setAuthentication: i } = hs(), o = (g) => {
26835
26835
  a(g.target.value);
26836
26836
  };
26837
- Ks(() => {
26837
+ ds(() => {
26838
26838
  s.preferredSecurityScheme || a(Object.keys(t.value ?? {})[0] ?? null);
26839
26839
  });
26840
26840
  const a = (g) => {
@@ -26883,7 +26883,7 @@ const JZ = /* @__PURE__ */ ee(GZ, [["render", KZ], ["__scopeId", "data-v-b99d69c
26883
26883
  }, OI = /* @__PURE__ */ H({
26884
26884
  __name: "RequestAuthentication",
26885
26885
  setup(r) {
26886
- const e = de(null);
26886
+ const e = le(null);
26887
26887
  Tw.on(() => {
26888
26888
  if (!e.value)
26889
26889
  return;
@@ -26892,7 +26892,7 @@ const JZ = /* @__PURE__ */ ee(GZ, [["render", KZ], ["__scopeId", "data-v-b99d69c
26892
26892
  block: "center"
26893
26893
  });
26894
26894
  });
26895
- const { authentication: t, setAuthentication: n } = us(), s = (i) => {
26895
+ const { authentication: t, setAuthentication: n } = hs(), s = (i) => {
26896
26896
  n({
26897
26897
  customSecurity: !0,
26898
26898
  preferredSecurityScheme: i,
@@ -27151,7 +27151,7 @@ const JZ = /* @__PURE__ */ ee(GZ, [["render", KZ], ["__scopeId", "data-v-b99d69c
27151
27151
  },
27152
27152
  emits: ["deleteIndex", "addAnother"],
27153
27153
  setup(r, { emit: e }) {
27154
- const t = e, n = de(!1), s = de(!1);
27154
+ const t = e, n = le(!1), s = le(!1);
27155
27155
  function i() {
27156
27156
  t("addAnother"), s.value = !0;
27157
27157
  }
@@ -27180,7 +27180,7 @@ const JZ = /* @__PURE__ */ ee(GZ, [["render", KZ], ["__scopeId", "data-v-b99d69c
27180
27180
  showDescription: n.value,
27181
27181
  onDelete: (d) => o.$emit("deleteIndex", c)
27182
27182
  }, null, 8, ["description", "onUpdate:description", "enabled", "onUpdate:enabled", "name", "onUpdate:name", "value", "onUpdate:value", "required", "showDescription", "onDelete"])), [
27183
- [Ws, !o.showMoreFilter || o.showMoreFilter && c < 5 || s.value]
27183
+ [Vs, !o.showMoreFilter || o.showMoreFilter && c < 5 || s.value]
27184
27184
  ])), 128)),
27185
27185
  R("div", zI, [
27186
27186
  o.addLabel ? (k(), Q("button", {
@@ -27208,7 +27208,7 @@ const JZ = /* @__PURE__ */ ee(GZ, [["render", KZ], ["__scopeId", "data-v-b99d69c
27208
27208
  ])
27209
27209
  ]));
27210
27210
  }
27211
- }), sl = /* @__PURE__ */ ee(LI, [["__scopeId", "data-v-7b4a39aa"]]), BI = { class: "navtable simpletable" }, HI = { class: "navtable-table" }, GI = /* @__PURE__ */ ds('<div class="navtable-item navtable-item__top" data-v-af627a74><div class="navtable-item-33" data-v-af627a74><label for="" data-v-af627a74>Name</label></div><div class="navtable-item-66" data-v-af627a74><label for="" data-v-af627a74>Value</label></div></div>', 1), FI = { class: "navtable-item-33" }, KI = { class: "navtable-item-66" }, JI = /* @__PURE__ */ H({
27211
+ }), sl = /* @__PURE__ */ ee(LI, [["__scopeId", "data-v-7b4a39aa"]]), BI = { class: "navtable simpletable" }, HI = { class: "navtable-table" }, GI = /* @__PURE__ */ us('<div class="navtable-item navtable-item__top" data-v-af627a74><div class="navtable-item-33" data-v-af627a74><label for="" data-v-af627a74>Name</label></div><div class="navtable-item-66" data-v-af627a74><label for="" data-v-af627a74>Value</label></div></div>', 1), FI = { class: "navtable-item-33" }, KI = { class: "navtable-item-66" }, JI = /* @__PURE__ */ H({
27212
27212
  __name: "SimpleGrid",
27213
27213
  props: {
27214
27214
  items: {}
@@ -27519,7 +27519,7 @@ const JZ = /* @__PURE__ */ ee(GZ, [["render", KZ], ["__scopeId", "data-v-b99d69c
27519
27519
  }), mj = { class: "scalar-api-client__main__left custom-scroll" }, gj = { class: "scalar-api-client__main__content" }, Oj = /* @__PURE__ */ R("label", null, "Request", -1), yj = { class: "meta" }, bj = { class: "meta-item meta-item__input" }, vj = /* @__PURE__ */ R("div", { class: "scalar-api-client__main__scroll-container" }, null, -1), wj = !0, dy = /* @__PURE__ */ H({
27520
27520
  __name: "Request",
27521
27521
  setup(r) {
27522
- const { activeRequest: e } = br(), { authentication: t } = us(), {
27522
+ const { activeRequest: e } = br(), { authentication: t } = hs(), {
27523
27523
  openApi: { operation: n, globalSecurity: s }
27524
27524
  } = Qd(), i = se(
27525
27525
  () => {
@@ -27904,7 +27904,7 @@ const Vj = /* @__PURE__ */ ee(Xj, [["render", Wj], ["__scopeId", "data-v-e438384
27904
27904
  I(S(Cn), { title: "Cookies" }, {
27905
27905
  default: T(() => [
27906
27906
  Dt(I(S(ej), { items: s.value }, null, 8, ["items"]), [
27907
- [Ws, s.value.length > 0]
27907
+ [Vs, s.value.length > 0]
27908
27908
  ]),
27909
27909
  s.value.length === 0 ? (k(), Q("div", n3, "No Cookies")) : B("", !0)
27910
27910
  ]),
@@ -27925,7 +27925,7 @@ const Vj = /* @__PURE__ */ ee(Xj, [["render", Wj], ["__scopeId", "data-v-e438384
27925
27925
  setup(r, { emit: e }) {
27926
27926
  const t = r, n = e, s = Sd();
27927
27927
  Ai(s.escape, () => n("escapeKeyPress"));
27928
- const { activeRequest: i, readOnly: o } = br(), a = kd("(max-width: 820px)"), l = de(0), c = {
27928
+ const { activeRequest: i, readOnly: o } = br(), a = kd("(max-width: 820px)"), l = le(0), c = {
27929
27929
  Request: 0,
27930
27930
  Response: 1
27931
27931
  };
@@ -27940,7 +27940,7 @@ const Vj = /* @__PURE__ */ ee(Xj, [["render", Wj], ["__scopeId", "data-v-e438384
27940
27940
  { immediate: !0 }
27941
27941
  ), (u, h) => (k(), Q(J, null, [
27942
27942
  I(S(yb), { id: u.theme }, null, 8, ["id"]),
27943
- I(hs, {
27943
+ I(fs, {
27944
27944
  class: "scalar-api-client",
27945
27945
  method: S(i).type ?? "get",
27946
27946
  property: "--scalar-api-client-color",
@@ -28221,8 +28221,8 @@ var Nf = { exports: {} }, aS = {};
28221
28221
  const X = n.exec(C);
28222
28222
  if (!X)
28223
28223
  return !1;
28224
- const U = +X[1], M = +X[2], le = +X[3];
28225
- return M >= 1 && M <= 12 && le >= 1 && le <= (M === 2 && t(U) ? 29 : s[M]);
28224
+ const U = +X[1], M = +X[2], ce = +X[3];
28225
+ return M >= 1 && M <= 12 && ce >= 1 && ce <= (M === 2 && t(U) ? 29 : s[M]);
28226
28226
  }
28227
28227
  function o(C, X) {
28228
28228
  if (C && X)
@@ -28233,8 +28233,8 @@ var Nf = { exports: {} }, aS = {};
28233
28233
  const U = a.exec(C);
28234
28234
  if (!U)
28235
28235
  return !1;
28236
- const M = +U[1], le = +U[2], ne = +U[3], ke = U[5];
28237
- return (M <= 23 && le <= 59 && ne <= 59 || M === 23 && le === 59 && ne === 60) && (!X || ke !== "");
28236
+ const M = +U[1], ce = +U[2], ne = +U[3], ke = U[5];
28237
+ return (M <= 23 && ce <= 59 && ne <= 59 || M === 23 && ce === 59 && ne === 60) && (!X || ke !== "");
28238
28238
  }
28239
28239
  function c(C, X) {
28240
28240
  if (!(C && X))
@@ -28251,7 +28251,7 @@ var Nf = { exports: {} }, aS = {};
28251
28251
  function h(C, X) {
28252
28252
  if (!(C && X))
28253
28253
  return;
28254
- const [U, M] = C.split(d), [le, ne] = X.split(d), ke = o(U, le);
28254
+ const [U, M] = C.split(d), [ce, ne] = X.split(d), ke = o(U, ce);
28255
28255
  if (ke !== void 0)
28256
28256
  return ke || c(M, ne);
28257
28257
  }
@@ -28284,7 +28284,7 @@ var Nf = { exports: {} }, aS = {};
28284
28284
  }
28285
28285
  }
28286
28286
  })(aS);
28287
- var lS = {}, Df = { exports: {} }, qs = {}, fr = {}, eo = {}, ol = {}, we = {}, Xa = {};
28287
+ var lS = {}, Df = { exports: {} }, Ws = {}, fr = {}, eo = {}, ol = {}, we = {}, Xa = {};
28288
28288
  (function(r) {
28289
28289
  Object.defineProperty(r, "__esModule", { value: !0 }), r.regexpCode = r.getEsmExportName = r.getProperty = r.safeStringify = r.stringify = r.strConcat = r.addCodeArg = r.str = r._ = r.nil = r._Code = r.Name = r.IDENTIFIER = r._CodeOrName = void 0;
28290
28290
  class e {
@@ -28605,7 +28605,7 @@ var Mf = {};
28605
28605
  }
28606
28606
  get names() {
28607
28607
  const _ = this.lhs instanceof e.Name ? {} : { ...this.lhs.names };
28608
- return le(_, this.rhs);
28608
+ return ce(_, this.rhs);
28609
28609
  }
28610
28610
  }
28611
28611
  class l extends a {
@@ -28729,7 +28729,7 @@ var Mf = {};
28729
28729
  }
28730
28730
  get names() {
28731
28731
  const _ = super.names;
28732
- return le(_, this.condition), this.else && M(_, this.else.names), _;
28732
+ return ce(_, this.condition), this.else && M(_, this.else.names), _;
28733
28733
  }
28734
28734
  }
28735
28735
  O.kind = "if";
@@ -28760,8 +28760,8 @@ var Mf = {};
28760
28760
  return `for(${j} ${z}=${ie}; ${z}<${ae}; ${z}++)` + super.render(_);
28761
28761
  }
28762
28762
  get names() {
28763
- const _ = le(super.names, this.from);
28764
- return le(_, this.to);
28763
+ const _ = ce(super.names, this.from);
28764
+ return ce(_, this.to);
28765
28765
  }
28766
28766
  }
28767
28767
  class P extends y {
@@ -29043,7 +29043,7 @@ var Mf = {};
29043
29043
  q[j] = (q[j] || 0) + (_[j] || 0);
29044
29044
  return q;
29045
29045
  }
29046
- function le(q, _) {
29046
+ function ce(q, _) {
29047
29047
  return _ instanceof e._CodeOrName ? M(q, _.names) : q;
29048
29048
  }
29049
29049
  function ne(q, _, j) {
@@ -29162,9 +29162,9 @@ var Ae = {};
29162
29162
  }
29163
29163
  r.eachItem = f;
29164
29164
  function p({ mergeNames: v, mergeToName: $, mergeValues: E, resultToName: C }) {
29165
- return (X, U, M, le) => {
29165
+ return (X, U, M, ce) => {
29166
29166
  const ne = M === void 0 ? U : M instanceof e.Name ? (U instanceof e.Name ? v(X, U, M) : $(X, U, M), M) : U instanceof e.Name ? ($(X, M, U), U) : E(U, M);
29167
- return le === e.Name && !(ne instanceof e.Name) ? C(X, ne) : ne;
29167
+ return ce === e.Name && !(ne instanceof e.Name) ? C(X, ne) : ne;
29168
29168
  };
29169
29169
  }
29170
29170
  r.mergeEvaluated = {
@@ -29351,14 +29351,14 @@ function cS(r, e) {
29351
29351
  };
29352
29352
  (0, x3.reportError)(s, C3, void 0, e);
29353
29353
  }
29354
- var al = {}, Hs = {};
29355
- Object.defineProperty(Hs, "__esModule", { value: !0 });
29356
- Hs.getRules = Hs.isJSONType = void 0;
29354
+ var al = {}, Gs = {};
29355
+ Object.defineProperty(Gs, "__esModule", { value: !0 });
29356
+ Gs.getRules = Gs.isJSONType = void 0;
29357
29357
  const R3 = ["string", "number", "integer", "boolean", "null", "object", "array"], Z3 = new Set(R3);
29358
29358
  function I3(r) {
29359
29359
  return typeof r == "string" && Z3.has(r);
29360
29360
  }
29361
- Hs.isJSONType = I3;
29361
+ Gs.isJSONType = I3;
29362
29362
  function j3() {
29363
29363
  const r = {
29364
29364
  number: { type: "number", rules: [] },
@@ -29374,7 +29374,7 @@ function j3() {
29374
29374
  keywords: {}
29375
29375
  };
29376
29376
  }
29377
- Hs.getRules = j3;
29377
+ Gs.getRules = j3;
29378
29378
  var vn = {};
29379
29379
  Object.defineProperty(vn, "__esModule", { value: !0 });
29380
29380
  vn.shouldUseRule = vn.shouldUseGroup = vn.schemaHasRulesForType = void 0;
@@ -29394,7 +29394,7 @@ function uS(r, e) {
29394
29394
  vn.shouldUseRule = uS;
29395
29395
  (function(r) {
29396
29396
  Object.defineProperty(r, "__esModule", { value: !0 }), r.reportTypeError = r.checkDataTypes = r.checkDataType = r.coerceAndCheckDataType = r.getJSONTypes = r.getSchemaTypes = r.DataType = void 0;
29397
- const e = Hs, t = vn, n = ol, s = we, i = Ae;
29397
+ const e = Gs, t = vn, n = ol, s = we, i = Ae;
29398
29398
  var o;
29399
29399
  (function(b) {
29400
29400
  b[b.Correct = 0] = "Correct", b[b.Wrong = 1] = "Wrong";
@@ -29671,7 +29671,7 @@ function G3(r) {
29671
29671
  Te.validateUnion = G3;
29672
29672
  Object.defineProperty(en, "__esModule", { value: !0 });
29673
29673
  en.validateKeywordUsage = en.validSchemaType = en.funcKeywordCode = en.macroKeywordCode = void 0;
29674
- const It = we, Ps = nr, F3 = Te, K3 = ol;
29674
+ const It = we, _s = nr, F3 = Te, K3 = ol;
29675
29675
  function J3(r, e) {
29676
29676
  const { gen: t, keyword: n, schema: s, parentSchema: i, it: o } = r, a = e.macro.call(o.self, s, i, o), l = pS(t, n, a);
29677
29677
  o.opts.validateSchema !== !1 && o.self.validateSchema(a, !0);
@@ -29708,7 +29708,7 @@ function eN(r, e) {
29708
29708
  return n.assign(O, null), m(It.nil), O;
29709
29709
  }
29710
29710
  function m(O = e.async ? (0, It._)`await ` : It.nil) {
29711
- const y = l.opts.passContext ? Ps.default.this : Ps.default.self, b = !("compile" in e && !a || e.schema === !1);
29711
+ const y = l.opts.passContext ? _s.default.this : _s.default.self, b = !("compile" in e && !a || e.schema === !1);
29712
29712
  n.assign(u, (0, It._)`${O}${(0, F3.callValidateCode)(r, d, y, b)}`, e.modifying);
29713
29713
  }
29714
29714
  function g(O) {
@@ -29724,7 +29724,7 @@ function Oy(r) {
29724
29724
  function tN(r, e) {
29725
29725
  const { gen: t } = r;
29726
29726
  t.if((0, It._)`Array.isArray(${e})`, () => {
29727
- t.assign(Ps.default.vErrors, (0, It._)`${Ps.default.vErrors} === null ? ${e} : ${Ps.default.vErrors}.concat(${e})`).assign(Ps.default.errors, (0, It._)`${Ps.default.vErrors}.length`), (0, K3.extendErrors)(r);
29727
+ t.assign(_s.default.vErrors, (0, It._)`${_s.default.vErrors} === null ? ${e} : ${_s.default.vErrors}.concat(${e})`).assign(_s.default.errors, (0, It._)`${_s.default.vErrors}.length`), (0, K3.extendErrors)(r);
29728
29728
  }, () => r.error());
29729
29729
  }
29730
29730
  function rN({ schemaEnv: r }, e) {
@@ -30350,7 +30350,7 @@ mo.default = zN;
30350
30350
  var Nt = {};
30351
30351
  Object.defineProperty(Nt, "__esModule", { value: !0 });
30352
30352
  Nt.resolveSchema = Nt.getCompilingSchema = Nt.resolveRef = Nt.compileSchema = Nt.SchemaEnv = void 0;
30353
- const wr = we, UN = po, ws = nr, Qr = vt, Sy = Ae, YN = fr;
30353
+ const wr = we, UN = po, Ss = nr, Qr = vt, Sy = Ae, YN = fr;
30354
30354
  class Yd {
30355
30355
  constructor(e) {
30356
30356
  var t;
@@ -30375,10 +30375,10 @@ function Om(r) {
30375
30375
  const c = {
30376
30376
  gen: o,
30377
30377
  allErrors: this.opts.allErrors,
30378
- data: ws.default.data,
30379
- parentData: ws.default.parentData,
30380
- parentDataProperty: ws.default.parentDataProperty,
30381
- dataNames: [ws.default.data],
30378
+ data: Ss.default.data,
30379
+ parentData: Ss.default.parentData,
30380
+ parentDataProperty: Ss.default.parentDataProperty,
30381
+ dataNames: [Ss.default.data],
30382
30382
  dataPathArr: [wr.nil],
30383
30383
  dataLevel: 0,
30384
30384
  dataTypes: [],
@@ -30400,8 +30400,8 @@ function Om(r) {
30400
30400
  try {
30401
30401
  this._compilations.add(r), (0, YN.validateFunctionCode)(c), o.optimize(this.opts.code.optimize);
30402
30402
  const u = o.toString();
30403
- d = `${o.scopeRefs(ws.default.scope)}return ${u}`, this.opts.code.process && (d = this.opts.code.process(d, r));
30404
- const h = new Function(`${ws.default.self}`, `${ws.default.scope}`, d)(this, this.scope.get());
30403
+ d = `${o.scopeRefs(Ss.default.scope)}return ${u}`, this.opts.code.process && (d = this.opts.code.process(d, r));
30404
+ const h = new Function(`${Ss.default.self}`, `${Ss.default.scope}`, d)(this, this.scope.get());
30405
30405
  if (this.scope.value(l, { ref: h }), h.errors = null, h.schema = r.schema, h.schemaEnv = r, r.$async && (h.$async = !0), this.opts.code.source === !0 && (h.source = { validateName: l, validateCode: u, scopeValues: o._values }), this.opts.unevaluated) {
30406
30406
  const { props: f, items: p } = c;
30407
30407
  h.evaluated = {
@@ -30562,7 +30562,7 @@ var ym = {}, qf = { exports: {} };
30562
30562
  function c(x) {
30563
30563
  var Z = "[A-Za-z]", N = "[0-9]", Y = n(N, "[A-Fa-f]"), L = s(s("%[EFef]" + Y + "%" + Y + Y + "%" + Y + Y) + "|" + s("%[89A-Fa-f]" + Y + "%" + Y + Y) + "|" + s("%" + Y + Y)), ge = "[\\:\\/\\?\\#\\[\\]\\@]", fe = "[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]", Ze = n(ge, fe), at = x ? "[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]" : "[]", ze = x ? "[\\uE000-\\uF8FF]" : "[]", Ee = n(Z, N, "[\\-\\.\\_\\~]", at);
30564
30564
  s(Z + n(Z, N, "[\\+\\-\\.]") + "*"), s(s(L + "|" + n(Ee, fe, "[\\:]")) + "*");
30565
- var Be = s(s("25[0-5]") + "|" + s("2[0-4]" + N) + "|" + s("1" + N + N) + "|" + s("0?[1-9]" + N) + "|0?0?" + N), rt = s(Be + "\\." + Be + "\\." + Be + "\\." + Be), Se = s(Y + "{1,4}"), lt = s(s(Se + "\\:" + Se) + "|" + rt), Ue = s(s(Se + "\\:") + "{6}" + lt), or = s("\\:\\:" + s(Se + "\\:") + "{5}" + lt), ci = s(s(Se) + "?\\:\\:" + s(Se + "\\:") + "{4}" + lt), vr = s(s(s(Se + "\\:") + "{0,1}" + Se) + "?\\:\\:" + s(Se + "\\:") + "{3}" + lt), dn = 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), ar = s(s(s(Se + "\\:") + "{0,5}" + Se) + "?\\:\\:" + Se), un = s(s(s(Se + "\\:") + "{0,6}" + Se) + "?\\:\\:"), bs = s([Ue, or, ci, vr, dn, Os, ys, ar, un].join("|")), qr = s(s(Ee + "|" + L) + "+");
30565
+ var Be = s(s("25[0-5]") + "|" + s("2[0-4]" + N) + "|" + s("1" + N + N) + "|" + s("0?[1-9]" + N) + "|0?0?" + N), rt = s(Be + "\\." + Be + "\\." + Be + "\\." + Be), Se = s(Y + "{1,4}"), lt = s(s(Se + "\\:" + Se) + "|" + rt), Ue = s(s(Se + "\\:") + "{6}" + lt), or = s("\\:\\:" + s(Se + "\\:") + "{5}" + lt), ci = s(s(Se) + "?\\:\\:" + s(Se + "\\:") + "{4}" + lt), vr = s(s(s(Se + "\\:") + "{0,1}" + Se) + "?\\:\\:" + s(Se + "\\:") + "{3}" + lt), dn = s(s(s(Se + "\\:") + "{0,2}" + Se) + "?\\:\\:" + s(Se + "\\:") + "{2}" + lt), ys = s(s(s(Se + "\\:") + "{0,3}" + Se) + "?\\:\\:" + Se + "\\:" + lt), bs = s(s(s(Se + "\\:") + "{0,4}" + Se) + "?\\:\\:" + lt), ar = s(s(s(Se + "\\:") + "{0,5}" + Se) + "?\\:\\:" + Se), un = s(s(s(Se + "\\:") + "{0,6}" + Se) + "?\\:\\:"), vs = s([Ue, or, ci, vr, dn, ys, bs, ar, un].join("|")), qr = s(s(Ee + "|" + L) + "+");
30566
30566
  s("[vV]" + Y + "+\\." + n(Ee, fe, "[\\:]") + "+"), s(s(L + "|" + n(Ee, fe)) + "*");
30567
30567
  var Sl = s(L + "|" + n(Ee, fe, "[\\:\\@]"));
30568
30568
  return s(s(L + "|" + n(Ee, fe, "[\\@]")) + "+"), s(s(Sl + "|" + n("[\\/\\?]", ze)) + "*"), {
@@ -30578,7 +30578,7 @@ var ym = {}, qf = { exports: {} };
30578
30578
  OTHER_CHARS: new RegExp(n("[^\\%]", Ee, Ze), "g"),
30579
30579
  PCT_ENCODED: new RegExp(L, "g"),
30580
30580
  IPV4ADDRESS: new RegExp("^(" + rt + ")$"),
30581
- IPV6ADDRESS: new RegExp("^\\[?(" + bs + ")" + s(s("\\%25|\\%(?!" + Y + "{2})") + "(" + qr + ")") + "?\\]?$")
30581
+ IPV6ADDRESS: new RegExp("^\\[?(" + vs + ")" + s(s("\\%25|\\%(?!" + Y + "{2})") + "(" + qr + ")") + "?\\]?$")
30582
30582
  //RFC 6874, with relaxed parsing rules
30583
30583
  };
30584
30584
  }
@@ -30618,7 +30618,7 @@ var ym = {}, qf = { exports: {} };
30618
30618
  overflow: "Overflow: input needs wider integers to process",
30619
30619
  "not-basic": "Illegal input >= 0x80 (not a basic code point)",
30620
30620
  "invalid-input": "Invalid input"
30621
- }, U = m - g, M = Math.floor, le = String.fromCharCode;
30621
+ }, U = m - g, M = Math.floor, ce = String.fromCharCode;
30622
30622
  function ne(x) {
30623
30623
  throw new RangeError(X[x]);
30624
30624
  }
@@ -30692,7 +30692,7 @@ var ym = {}, qf = { exports: {} };
30692
30692
  try {
30693
30693
  for (var ze = x[Symbol.iterator](), Ee; !(fe = (Ee = ze.next()).done); fe = !0) {
30694
30694
  var Be = Ee.value;
30695
- Be < 128 && Z.push(le(Be));
30695
+ Be < 128 && Z.push(ce(Be));
30696
30696
  }
30697
30697
  } catch (Do) {
30698
30698
  Ze = !0, at = Do;
@@ -30709,8 +30709,8 @@ var ym = {}, qf = { exports: {} };
30709
30709
  var lt = p, Ue = !0, or = !1, ci = void 0;
30710
30710
  try {
30711
30711
  for (var vr = x[Symbol.iterator](), dn; !(Ue = (dn = vr.next()).done); Ue = !0) {
30712
- var Os = dn.value;
30713
- Os >= Y && Os < lt && (lt = Os);
30712
+ var ys = dn.value;
30713
+ ys >= Y && ys < lt && (lt = ys);
30714
30714
  }
30715
30715
  } catch (Do) {
30716
30716
  or = !0, ci = Do;
@@ -30722,9 +30722,9 @@ var ym = {}, qf = { exports: {} };
30722
30722
  throw ci;
30723
30723
  }
30724
30724
  }
30725
- var ys = Se + 1;
30726
- lt - Y > M((p - L) / ys) && ne("overflow"), L += (lt - Y) * ys, Y = lt;
30727
- var ar = !0, un = !1, bs = void 0;
30725
+ var bs = Se + 1;
30726
+ lt - Y > M((p - L) / bs) && ne("overflow"), L += (lt - Y) * bs, Y = lt;
30727
+ var ar = !0, un = !1, vs = void 0;
30728
30728
  try {
30729
30729
  for (var qr = x[Symbol.iterator](), Sl; !(ar = (Sl = qr.next()).done); ar = !0) {
30730
30730
  var Ig = Sl.value;
@@ -30739,19 +30739,19 @@ var ym = {}, qf = { exports: {} };
30739
30739
  if (kl < Pl)
30740
30740
  break;
30741
30741
  var jg = kl - Pl, Ng = m - Pl;
30742
- Z.push(le(F(Pl + jg % Ng, 0))), kl = M(jg / Ng);
30742
+ Z.push(ce(F(Pl + jg % Ng, 0))), kl = M(jg / Ng);
30743
30743
  }
30744
- Z.push(le(F(kl, 0))), ge = D(L, ys, Se == rt), L = 0, ++Se;
30744
+ Z.push(ce(F(kl, 0))), ge = D(L, bs, Se == rt), L = 0, ++Se;
30745
30745
  }
30746
30746
  }
30747
30747
  } catch (Do) {
30748
- un = !0, bs = Do;
30748
+ un = !0, vs = Do;
30749
30749
  } finally {
30750
30750
  try {
30751
30751
  !ar && qr.return && qr.return();
30752
30752
  } finally {
30753
30753
  if (un)
30754
- throw bs;
30754
+ throw vs;
30755
30755
  }
30756
30756
  }
30757
30757
  ++L, ++Y;
@@ -30836,18 +30836,18 @@ var ym = {}, qf = { exports: {} };
30836
30836
  for (var fe = L.toLowerCase().split("::").reverse(), Ze = h(fe, 2), at = Ze[0], ze = Ze[1], Ee = ze ? ze.split(":").map(qe) : [], Be = at.split(":").map(qe), rt = Z.IPV4ADDRESS.test(Be[Be.length - 1]), Se = rt ? 7 : 8, lt = Be.length - Se, Ue = Array(Se), or = 0; or < Se; ++or)
30837
30837
  Ue[or] = Ee[or] || Be[lt + or] || "";
30838
30838
  rt && (Ue[Se - 1] = sr(Ue[Se - 1], Z));
30839
- var ci = Ue.reduce(function(ar, un, bs) {
30839
+ var ci = Ue.reduce(function(ar, un, vs) {
30840
30840
  if (!un || un === "0") {
30841
30841
  var qr = ar[ar.length - 1];
30842
- qr && qr.index + qr.length === bs ? qr.length++ : ar.push({ index: bs, length: 1 });
30842
+ qr && qr.index + qr.length === vs ? qr.length++ : ar.push({ index: vs, length: 1 });
30843
30843
  }
30844
30844
  return ar;
30845
30845
  }, []), vr = ci.sort(function(ar, un) {
30846
30846
  return un.length - ar.length;
30847
30847
  })[0], dn = void 0;
30848
30848
  if (vr && vr.length > 1) {
30849
- var Os = Ue.slice(0, vr.index), ys = Ue.slice(vr.index + vr.length);
30850
- dn = Os.join(":") + "::" + ys.join(":");
30849
+ var ys = Ue.slice(0, vr.index), bs = Ue.slice(vr.index + vr.length);
30850
+ dn = ys.join(":") + "::" + bs.join(":");
30851
30851
  } else
30852
30852
  dn = Ue.join(":");
30853
30853
  return ge && (dn += "%" + ge), dn;
@@ -30928,7 +30928,7 @@ var ym = {}, qf = { exports: {} };
30928
30928
  var Y = l({ scheme: "null" }, N);
30929
30929
  return Wt(ai(Bt(x, Y), Bt(Z, Y), Y, !0), Y);
30930
30930
  }
30931
- function ms(x, Z) {
30931
+ function gs(x, Z) {
30932
30932
  return typeof x == "string" ? x = Wt(Bt(x, Z), Z) : i(x) === "object" && (x = Bt(Wt(x, Z), Z)), x;
30933
30933
  }
30934
30934
  function jo(x, Z, N) {
@@ -30940,7 +30940,7 @@ var ym = {}, qf = { exports: {} };
30940
30940
  function ir(x, Z) {
30941
30941
  return x && x.toString().replace(!Z || !Z.iri ? d.PCT_ENCODED : u.PCT_ENCODED, xe);
30942
30942
  }
30943
- var gs = {
30943
+ var Os = {
30944
30944
  scheme: "http",
30945
30945
  domainHost: !0,
30946
30946
  parse: function(x, Z) {
@@ -30952,9 +30952,9 @@ var ym = {}, qf = { exports: {} };
30952
30952
  }
30953
30953
  }, xg = {
30954
30954
  scheme: "https",
30955
- domainHost: gs.domainHost,
30956
- parse: gs.parse,
30957
- serialize: gs.serialize
30955
+ domainHost: Os.domainHost,
30956
+ parse: Os.parse,
30957
+ serialize: Os.serialize
30958
30958
  };
30959
30959
  function Qg(x) {
30960
30960
  return typeof x.secure == "boolean" ? x.secure : String(x.scheme).toLowerCase() === "wss";
@@ -31072,7 +31072,7 @@ var ym = {}, qf = { exports: {} };
31072
31072
  return N.nss = (x.uuid || "").toLowerCase(), N;
31073
31073
  }
31074
31074
  };
31075
- ie[gs.scheme] = gs, ie[xg.scheme] = xg, ie[No.scheme] = No, ie[Tg.scheme] = Tg, ie[Eg.scheme] = Eg, ie[Rg.scheme] = Rg, ie[Zg.scheme] = Zg, t.SCHEMES = ie, t.pctEncChar = ae, t.pctDecChars = xe, t.parse = Bt, t.removeDotSegments = Mr, t.serialize = Wt, t.resolveComponents = ai, t.resolve = Io, t.normalize = ms, t.equal = jo, t.escapeComponent = wl, t.unescapeComponent = ir, Object.defineProperty(t, "__esModule", { value: !0 });
31075
+ ie[Os.scheme] = Os, ie[xg.scheme] = xg, ie[No.scheme] = No, ie[Tg.scheme] = Tg, ie[Eg.scheme] = Eg, ie[Rg.scheme] = Rg, ie[Zg.scheme] = Zg, t.SCHEMES = ie, t.pctEncChar = ae, t.pctDecChars = xe, t.parse = Bt, t.removeDotSegments = Mr, t.serialize = Wt, t.resolveComponents = ai, t.resolve = Io, t.normalize = gs, t.equal = jo, t.escapeComponent = wl, t.unescapeComponent = ir, Object.defineProperty(t, "__esModule", { value: !0 });
31076
31076
  });
31077
31077
  })(qf, qf.exports);
31078
31078
  var iD = qf.exports;
@@ -31100,7 +31100,7 @@ ym.default = RS;
31100
31100
  } }), Object.defineProperty(r, "CodeGen", { enumerable: !0, get: function() {
31101
31101
  return t.CodeGen;
31102
31102
  } });
31103
- const n = po, s = mo, i = Hs, o = Nt, a = we, l = vt, c = al, d = Ae, u = sD, h = ym, f = (F, D) => new RegExp(F, D);
31103
+ const n = po, s = mo, i = Gs, o = Nt, a = we, l = vt, c = al, d = Ae, u = sD, h = ym, f = (F, D) => new RegExp(F, D);
31104
31104
  f.code = "new RegExp";
31105
31105
  const p = ["removeAdditional", "useDefaults", "coerceTypes"], m = /* @__PURE__ */ new Set([
31106
31106
  "validate",
@@ -31139,13 +31139,13 @@ ym.default = RS;
31139
31139
  }, y = 200;
31140
31140
  function b(F) {
31141
31141
  var D, V, q, _, j, z, ie, ae, xe, Qe, qe, sr, Dr, Ao, Eo, Bt, Ro, si, ii, oi, Zo, Mr, Wt, ai, Io;
31142
- const ms = F.strict, jo = (D = F.code) === null || D === void 0 ? void 0 : D.optimize, wl = jo === !0 || jo === void 0 ? 1 : jo || 0, ir = (q = (V = F.code) === null || V === void 0 ? void 0 : V.regExp) !== null && q !== void 0 ? q : f, gs = (_ = F.uriResolver) !== null && _ !== void 0 ? _ : h.default;
31142
+ const gs = F.strict, jo = (D = F.code) === null || D === void 0 ? void 0 : D.optimize, wl = jo === !0 || jo === void 0 ? 1 : jo || 0, ir = (q = (V = F.code) === null || V === void 0 ? void 0 : V.regExp) !== null && q !== void 0 ? q : f, Os = (_ = F.uriResolver) !== null && _ !== void 0 ? _ : h.default;
31143
31143
  return {
31144
- strictSchema: (z = (j = F.strictSchema) !== null && j !== void 0 ? j : ms) !== null && z !== void 0 ? z : !0,
31145
- strictNumbers: (ae = (ie = F.strictNumbers) !== null && ie !== void 0 ? ie : ms) !== null && ae !== void 0 ? ae : !0,
31146
- strictTypes: (Qe = (xe = F.strictTypes) !== null && xe !== void 0 ? xe : ms) !== null && Qe !== void 0 ? Qe : "log",
31147
- strictTuples: (sr = (qe = F.strictTuples) !== null && qe !== void 0 ? qe : ms) !== null && sr !== void 0 ? sr : "log",
31148
- strictRequired: (Ao = (Dr = F.strictRequired) !== null && Dr !== void 0 ? Dr : ms) !== null && Ao !== void 0 ? Ao : !1,
31144
+ strictSchema: (z = (j = F.strictSchema) !== null && j !== void 0 ? j : gs) !== null && z !== void 0 ? z : !0,
31145
+ strictNumbers: (ae = (ie = F.strictNumbers) !== null && ie !== void 0 ? ie : gs) !== null && ae !== void 0 ? ae : !0,
31146
+ strictTypes: (Qe = (xe = F.strictTypes) !== null && xe !== void 0 ? xe : gs) !== null && Qe !== void 0 ? Qe : "log",
31147
+ strictTuples: (sr = (qe = F.strictTuples) !== null && qe !== void 0 ? qe : gs) !== null && sr !== void 0 ? sr : "log",
31148
+ strictRequired: (Ao = (Dr = F.strictRequired) !== null && Dr !== void 0 ? Dr : gs) !== null && Ao !== void 0 ? Ao : !1,
31149
31149
  code: F.code ? { ...F.code, optimize: wl, regExp: ir } : { optimize: wl, regExp: ir },
31150
31150
  loopRequired: (Eo = F.loopRequired) !== null && Eo !== void 0 ? Eo : y,
31151
31151
  loopEnum: (Bt = F.loopEnum) !== null && Bt !== void 0 ? Bt : y,
@@ -31158,7 +31158,7 @@ ym.default = RS;
31158
31158
  validateFormats: (Wt = F.validateFormats) !== null && Wt !== void 0 ? Wt : !0,
31159
31159
  unicodeRegExp: (ai = F.unicodeRegExp) !== null && ai !== void 0 ? ai : !0,
31160
31160
  int32range: (Io = F.int32range) !== null && Io !== void 0 ? Io : !0,
31161
- uriResolver: gs
31161
+ uriResolver: Os
31162
31162
  };
31163
31163
  }
31164
31164
  class w {
@@ -31475,13 +31475,13 @@ ym.default = RS;
31475
31475
  return F;
31476
31476
  throw new Error("logger must implement log, warn and error methods");
31477
31477
  }
31478
- const le = /^[a-z_$][a-z0-9_$:-]*$/i;
31478
+ const ce = /^[a-z_$][a-z0-9_$:-]*$/i;
31479
31479
  function ne(F, D) {
31480
31480
  const { RULES: V } = this;
31481
31481
  if ((0, d.eachItem)(F, (q) => {
31482
31482
  if (V.keywords[q])
31483
31483
  throw new Error(`Keyword ${q} is already defined`);
31484
- if (!le.test(q))
31484
+ if (!ce.test(q))
31485
31485
  throw new Error(`Keyword ${q} has invalid name`);
31486
31486
  }), !!D && D.$data && !("code" in D || "validate" in D))
31487
31487
  throw new Error('$data keyword must have "code" or "validate" function');
@@ -31519,7 +31519,7 @@ ym.default = RS;
31519
31519
  function Oe(F) {
31520
31520
  return { anyOf: [F, _e] };
31521
31521
  }
31522
- })(qs);
31522
+ })(Ws);
31523
31523
  var bm = {}, Bd = {}, vm = {};
31524
31524
  Object.defineProperty(vm, "__esModule", { value: !0 });
31525
31525
  const oD = {
@@ -31678,12 +31678,12 @@ function IS(r) {
31678
31678
  Sm.default = IS;
31679
31679
  IS.code = 'require("ajv/dist/runtime/ucs2length").default';
31680
31680
  Object.defineProperty(Fd, "__esModule", { value: !0 });
31681
- const _s = we, gD = Ae, OD = Sm, yD = {
31681
+ const xs = we, gD = Ae, OD = Sm, yD = {
31682
31682
  message({ keyword: r, schemaCode: e }) {
31683
31683
  const t = r === "maxLength" ? "more" : "fewer";
31684
- return (0, _s.str)`must NOT have ${t} than ${e} characters`;
31684
+ return (0, xs.str)`must NOT have ${t} than ${e} characters`;
31685
31685
  },
31686
- params: ({ schemaCode: r }) => (0, _s._)`{limit: ${r}}`
31686
+ params: ({ schemaCode: r }) => (0, xs._)`{limit: ${r}}`
31687
31687
  }, bD = {
31688
31688
  keyword: ["maxLength", "minLength"],
31689
31689
  type: "string",
@@ -31691,8 +31691,8 @@ const _s = we, gD = Ae, OD = Sm, yD = {
31691
31691
  $data: !0,
31692
31692
  error: yD,
31693
31693
  code(r) {
31694
- const { keyword: e, data: t, schemaCode: n, it: s } = r, i = e === "maxLength" ? _s.operators.GT : _s.operators.LT, o = s.opts.unicode === !1 ? (0, _s._)`${t}.length` : (0, _s._)`${(0, gD.useFunc)(r.gen, OD.default)}(${t})`;
31695
- r.fail$data((0, _s._)`${o} ${i} ${n}`);
31694
+ const { keyword: e, data: t, schemaCode: n, it: s } = r, i = e === "maxLength" ? xs.operators.GT : xs.operators.LT, o = s.opts.unicode === !1 ? (0, xs._)`${t}.length` : (0, xs._)`${(0, gD.useFunc)(r.gen, OD.default)}(${t})`;
31695
+ r.fail$data((0, xs._)`${o} ${i} ${n}`);
31696
31696
  }
31697
31697
  };
31698
31698
  Fd.default = bD;
@@ -31928,9 +31928,9 @@ Hd.default = KD;
31928
31928
  var cl = {}, go = {};
31929
31929
  Object.defineProperty(go, "__esModule", { value: !0 });
31930
31930
  go.validateAdditionalItems = void 0;
31931
- const xs = we, Vf = Ae, JD = {
31932
- message: ({ params: { len: r } }) => (0, xs.str)`must NOT have more than ${r} items`,
31933
- params: ({ params: { len: r } }) => (0, xs._)`{limit: ${r}}`
31931
+ const Qs = we, Vf = Ae, JD = {
31932
+ message: ({ params: { len: r } }) => (0, Qs.str)`must NOT have more than ${r} items`,
31933
+ params: ({ params: { len: r } }) => (0, Qs._)`{limit: ${r}}`
31934
31934
  }, e4 = {
31935
31935
  keyword: "additionalItems",
31936
31936
  type: "array",
@@ -31949,16 +31949,16 @@ const xs = we, Vf = Ae, JD = {
31949
31949
  function NS(r, e) {
31950
31950
  const { gen: t, schema: n, data: s, keyword: i, it: o } = r;
31951
31951
  o.items = !0;
31952
- const a = t.const("len", (0, xs._)`${s}.length`);
31952
+ const a = t.const("len", (0, Qs._)`${s}.length`);
31953
31953
  if (n === !1)
31954
- r.setParams({ len: e.length }), r.pass((0, xs._)`${a} <= ${e.length}`);
31954
+ r.setParams({ len: e.length }), r.pass((0, Qs._)`${a} <= ${e.length}`);
31955
31955
  else if (typeof n == "object" && !(0, Vf.alwaysValidSchema)(o, n)) {
31956
- const c = t.var("valid", (0, xs._)`${a} <= ${e.length}`);
31957
- t.if((0, xs.not)(c), () => l(c)), r.ok(c);
31956
+ const c = t.var("valid", (0, Qs._)`${a} <= ${e.length}`);
31957
+ t.if((0, Qs.not)(c), () => l(c)), r.ok(c);
31958
31958
  }
31959
31959
  function l(c) {
31960
31960
  t.forRange("i", e.length, a, (d) => {
31961
- r.subschema({ keyword: i, dataProp: d, dataPropType: Vf.Type.Num }, c), o.allErrors || t.if((0, xs.not)(c), () => t.break());
31961
+ r.subschema({ keyword: i, dataProp: d, dataPropType: Vf.Type.Num }, c), o.allErrors || t.if((0, Qs.not)(c), () => t.break());
31962
31962
  });
31963
31963
  }
31964
31964
  }
@@ -32549,10 +32549,10 @@ Im.default = K4;
32549
32549
  Object.defineProperty(dl, "__esModule", { value: !0 });
32550
32550
  const J4 = Im, eM = [J4.default];
32551
32551
  dl.default = eM;
32552
- var Gs = {};
32553
- Object.defineProperty(Gs, "__esModule", { value: !0 });
32554
- Gs.contentVocabulary = Gs.metadataVocabulary = void 0;
32555
- Gs.metadataVocabulary = [
32552
+ var Fs = {};
32553
+ Object.defineProperty(Fs, "__esModule", { value: !0 });
32554
+ Fs.contentVocabulary = Fs.metadataVocabulary = void 0;
32555
+ Fs.metadataVocabulary = [
32556
32556
  "title",
32557
32557
  "description",
32558
32558
  "default",
@@ -32561,13 +32561,13 @@ Gs.metadataVocabulary = [
32561
32561
  "writeOnly",
32562
32562
  "examples"
32563
32563
  ];
32564
- Gs.contentVocabulary = [
32564
+ Fs.contentVocabulary = [
32565
32565
  "contentMediaType",
32566
32566
  "contentEncoding",
32567
32567
  "contentSchema"
32568
32568
  ];
32569
32569
  Object.defineProperty(bm, "__esModule", { value: !0 });
32570
- const tM = Bd, rM = Hd, nM = cl, sM = dl, Ry = Gs, iM = [
32570
+ const tM = Bd, rM = Hd, nM = cl, sM = dl, Ry = Fs, iM = [
32571
32571
  tM.default,
32572
32572
  rM.default,
32573
32573
  (0, nM.default)(),
@@ -32894,7 +32894,7 @@ const cM = "http://json-schema.org/draft-07/schema#", dM = "http://json-schema.o
32894
32894
  };
32895
32895
  (function(r, e) {
32896
32896
  Object.defineProperty(e, "__esModule", { value: !0 }), e.MissingRefError = e.ValidationError = e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = void 0;
32897
- const t = qs, n = bm, s = ul, i = mM, o = ["/properties"], a = "http://json-schema.org/draft-07/schema";
32897
+ const t = Ws, n = bm, s = ul, i = mM, o = ["/properties"], a = "http://json-schema.org/draft-07/schema";
32898
32898
  class l extends t.default {
32899
32899
  _addVocabularies() {
32900
32900
  super._addVocabularies(), n.default.forEach((p) => this.addVocabulary(p)), this.opts.discriminator && this.addKeyword(s.default);
@@ -33027,7 +33027,7 @@ const bM = sn, vM = [
33027
33027
  Nm.default = vM;
33028
33028
  var Dm = {}, Mm = {};
33029
33029
  Object.defineProperty(Mm, "__esModule", { value: !0 });
33030
- const Yf = qs, wM = we, Nn = wM.operators, Lf = {
33030
+ const Yf = Ws, wM = we, Nn = wM.operators, Lf = {
33031
33031
  maximum: {
33032
33032
  exclusive: "exclusiveMaximum",
33033
33033
  ops: [
@@ -33332,7 +33332,7 @@ const VM = "http://json-schema.org/draft-04/schema#", zM = "http://json-schema.o
33332
33332
  };
33333
33333
  (function(r, e) {
33334
33334
  Object.defineProperty(e, "__esModule", { value: !0 }), e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = void 0;
33335
- const t = qs, n = jm, s = ul, i = GM, o = ["/properties"], a = "http://json-schema.org/draft-04/schema";
33335
+ const t = Ws, n = jm, s = ul, i = GM, o = ["/properties"], a = "http://json-schema.org/draft-04/schema";
33336
33336
  class l extends t.default {
33337
33337
  constructor(h = {}) {
33338
33338
  super({
@@ -33354,11 +33354,11 @@ const VM = "http://json-schema.org/draft-04/schema#", zM = "http://json-schema.o
33354
33354
  }
33355
33355
  }
33356
33356
  r.exports = e = l, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = l;
33357
- var c = qs;
33357
+ var c = Ws;
33358
33358
  Object.defineProperty(e, "KeywordCxt", { enumerable: !0, get: function() {
33359
33359
  return c.KeywordCxt;
33360
33360
  } });
33361
- var d = qs;
33361
+ var d = Ws;
33362
33362
  Object.defineProperty(e, "_", { enumerable: !0, get: function() {
33363
33363
  return d._;
33364
33364
  } }), Object.defineProperty(e, "str", { enumerable: !0, get: function() {
@@ -33528,9 +33528,9 @@ const Xn = we, Xy = Ae, $8 = nr, P8 = {
33528
33528
  Gm.default = _8;
33529
33529
  var Fm = {};
33530
33530
  Object.defineProperty(Fm, "__esModule", { value: !0 });
33531
- const Qs = we, qy = Ae, x8 = {
33532
- message: ({ params: { len: r } }) => (0, Qs.str)`must NOT have more than ${r} items`,
33533
- params: ({ params: { len: r } }) => (0, Qs._)`{limit: ${r}}`
33531
+ const Ts = we, qy = Ae, x8 = {
33532
+ message: ({ params: { len: r } }) => (0, Ts.str)`must NOT have more than ${r} items`,
33533
+ params: ({ params: { len: r } }) => (0, Ts._)`{limit: ${r}}`
33534
33534
  }, Q8 = {
33535
33535
  keyword: "unevaluatedItems",
33536
33536
  type: "array",
@@ -33540,17 +33540,17 @@ const Qs = we, qy = Ae, x8 = {
33540
33540
  const { gen: e, schema: t, data: n, it: s } = r, i = s.items || 0;
33541
33541
  if (i === !0)
33542
33542
  return;
33543
- const o = e.const("len", (0, Qs._)`${n}.length`);
33543
+ const o = e.const("len", (0, Ts._)`${n}.length`);
33544
33544
  if (t === !1)
33545
- r.setParams({ len: i }), r.fail((0, Qs._)`${o} > ${i}`);
33545
+ r.setParams({ len: i }), r.fail((0, Ts._)`${o} > ${i}`);
33546
33546
  else if (typeof t == "object" && !(0, qy.alwaysValidSchema)(s, t)) {
33547
- const l = e.var("valid", (0, Qs._)`${o} <= ${i}`);
33548
- e.if((0, Qs.not)(l), () => a(l, i)), r.ok(l);
33547
+ const l = e.var("valid", (0, Ts._)`${o} <= ${i}`);
33548
+ e.if((0, Ts.not)(l), () => a(l, i)), r.ok(l);
33549
33549
  }
33550
33550
  s.items = !0;
33551
33551
  function a(l, c) {
33552
33552
  e.forRange("i", c, o, (d) => {
33553
- r.subschema({ keyword: "unevaluatedItems", dataProp: d, dataPropType: qy.Type.Num }, l), s.allErrors || e.if((0, Qs.not)(l), () => e.break());
33553
+ r.subschema({ keyword: "unevaluatedItems", dataProp: d, dataPropType: qy.Type.Num }, l), s.allErrors || e.if((0, Ts.not)(l), () => e.break());
33554
33554
  });
33555
33555
  }
33556
33556
  }
@@ -33560,7 +33560,7 @@ Object.defineProperty(Hm, "__esModule", { value: !0 });
33560
33560
  const T8 = Gm, C8 = Fm, A8 = [T8.default, C8.default];
33561
33561
  Hm.default = A8;
33562
33562
  Object.defineProperty(qm, "__esModule", { value: !0 });
33563
- const E8 = Bd, R8 = Hd, Z8 = cl, I8 = Wm, j8 = Um, N8 = Hm, D8 = dl, Wy = Gs, M8 = [
33563
+ const E8 = Bd, R8 = Hd, Z8 = cl, I8 = Wm, j8 = Um, N8 = Hm, D8 = dl, Wy = Fs, M8 = [
33564
33564
  I8.default,
33565
33565
  E8.default,
33566
33566
  R8.default,
@@ -34040,7 +34040,7 @@ function d7(r) {
34040
34040
  Km.default = d7;
34041
34041
  (function(r, e) {
34042
34042
  Object.defineProperty(e, "__esModule", { value: !0 }), e.MissingRefError = e.ValidationError = e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = void 0;
34043
- const t = qs, n = qm, s = ul, i = Km, o = "https://json-schema.org/draft/2020-12/schema";
34043
+ const t = Ws, n = qm, s = ul, i = Km, o = "https://json-schema.org/draft/2020-12/schema";
34044
34044
  class a extends t.default {
34045
34045
  constructor(f = {}) {
34046
34046
  super({
@@ -34743,7 +34743,7 @@ const k7 = (r) => r.replace(/^(?!$)(?: $)?/gm, "#");
34743
34743
  function gn(r, e) {
34744
34744
  return /^\n+$/.test(r) ? r.substring(1) : e ? r.replace(/^(?! *$)/gm, e) : r;
34745
34745
  }
34746
- const Is = (r, e, t) => r.endsWith(`
34746
+ const js = (r, e, t) => r.endsWith(`
34747
34747
  `) ? gn(t, e) : t.includes(`
34748
34748
  `) ? `
34749
34749
  ` + gn(t, e) : (r.endsWith(" ") ? "" : " ") + t, tk = "flow", Kf = "block", _c = "quoted";
@@ -35155,9 +35155,9 @@ function Q7({ key: r, value: e }, t, n, s) {
35155
35155
  if (i || e == null)
35156
35156
  return p && n && n(), g === "" ? "?" : f ? `? ${g}` : g;
35157
35157
  } else if (i && !u || e == null && f)
35158
- return g = `? ${g}`, h && !p ? g += Is(g, t.indent, c(h)) : m && s && s(), g;
35159
- p && (h = null), f ? (h && (g += Is(g, t.indent, c(h))), g = `? ${g}
35160
- ${a}:`) : (g = `${g}:`, h && (g += Is(g, t.indent, c(h))));
35158
+ return g = `? ${g}`, h && !p ? g += js(g, t.indent, c(h)) : m && s && s(), g;
35159
+ p && (h = null), f ? (h && (g += js(g, t.indent, c(h))), g = `? ${g}
35160
+ ${a}:`) : (g = `${g}:`, h && (g += js(g, t.indent, c(h))));
35161
35161
  let O, y, b;
35162
35162
  it(e) ? (O = !!e.spaceBefore, y = e.commentBefore, b = e.comment) : (O = !1, y = null, b = null, e && typeof e == "object" && (e = o.createNode(e))), t.implicitKey = !1, !f && !h && Le(e) && (t.indentAtStart = g.length + 1), m = !1, !d && l.length >= 2 && !t.inFlow && !f && ko(e) && !e.flow && !e.tag && !e.anchor && (t.indent = t.indent.substring(2));
35163
35163
  let w = !1;
@@ -35190,7 +35190,7 @@ ${t.indent}`);
35190
35190
  } else
35191
35191
  (P === "" || P[0] === `
35192
35192
  `) && (v = "");
35193
- return g += v + P, t.inFlow ? w && n && n() : b && !w ? g += Is(g, t.indent, c(b)) : m && s && s(), g;
35193
+ return g += v + P, t.inFlow ? w && n && n() : b && !w ? g += js(g, t.indent, c(b)) : m && s && s(), g;
35194
35194
  }
35195
35195
  function nk(r, e) {
35196
35196
  (r === "debug" || r === "warn") && (typeof process < "u" && process.emitWarning ? process.emitWarning(e) : console.warn(e));
@@ -35297,7 +35297,7 @@ function A7({ comment: r, items: e }, t, { blockItemPrefix: n, flowChars: s, ite
35297
35297
  }
35298
35298
  u = !1;
35299
35299
  let O = to(m, d, () => g = null, () => u = !0);
35300
- g && (O += Is(O, i, c(g))), u && g && (u = !1), h.push(n + O);
35300
+ g && (O += js(O, i, c(g))), u && g && (u = !1), h.push(n + O);
35301
35301
  }
35302
35302
  let f;
35303
35303
  if (h.length === 0)
@@ -35337,7 +35337,7 @@ function E7({ items: r }, e, { flowChars: t, itemIndent: n }) {
35337
35337
  }
35338
35338
  g && (c = !0);
35339
35339
  let O = to(m, l, () => g = null);
35340
- p < r.length - 1 && (O += ","), g && (O += Is(O, n, a(g))), !c && (u.length > d || O.includes(`
35340
+ p < r.length - 1 && (O += ","), g && (O += js(O, n, a(g))), !c && (u.length > d || O.includes(`
35341
35341
  `)) && (c = !0), u.push(O), d = u.length;
35342
35342
  }
35343
35343
  const { start: h, end: f } = t;
@@ -35364,7 +35364,7 @@ function hd({ indent: r, options: { commentString: e } }, t, n, s) {
35364
35364
  t.push(i.trimStart());
35365
35365
  }
35366
35366
  }
35367
- function js(r, e) {
35367
+ function Ns(r, e) {
35368
35368
  const t = Le(e) ? e.value : e;
35369
35369
  for (const n of r)
35370
35370
  if (Je(n) && (n.key === e || n.key === t || Le(n.key) && n.key.value === t))
@@ -35407,7 +35407,7 @@ class tr extends tg {
35407
35407
  var n;
35408
35408
  let s;
35409
35409
  Je(e) ? s = e : !e || typeof e != "object" || !("key" in e) ? s = new Et(e, e == null ? void 0 : e.value) : s = new Et(e.key, e.value);
35410
- const i = js(this.items, s.key), o = (n = this.schema) == null ? void 0 : n.sortMapEntries;
35410
+ const i = Ns(this.items, s.key), o = (n = this.schema) == null ? void 0 : n.sortMapEntries;
35411
35411
  if (i) {
35412
35412
  if (!t)
35413
35413
  throw new Error(`Key ${s.key} already set`);
@@ -35419,15 +35419,15 @@ class tr extends tg {
35419
35419
  this.items.push(s);
35420
35420
  }
35421
35421
  delete(e) {
35422
- const t = js(this.items, e);
35422
+ const t = Ns(this.items, e);
35423
35423
  return t ? this.items.splice(this.items.indexOf(t), 1).length > 0 : !1;
35424
35424
  }
35425
35425
  get(e, t) {
35426
- const n = js(this.items, e), s = n == null ? void 0 : n.value;
35426
+ const n = Ns(this.items, e), s = n == null ? void 0 : n.value;
35427
35427
  return (!t && Le(s) ? s.value : s) ?? void 0;
35428
35428
  }
35429
35429
  has(e) {
35430
- return !!js(this.items, e);
35430
+ return !!Ns(this.items, e);
35431
35431
  }
35432
35432
  set(e, t) {
35433
35433
  this.add(new Et(e, t), !0);
@@ -35992,20 +35992,20 @@ class Vi extends tr {
35992
35992
  }
35993
35993
  add(e) {
35994
35994
  let t;
35995
- Je(e) ? t = e : e && typeof e == "object" && "key" in e && "value" in e && e.value === null ? t = new Et(e.key, null) : t = new Et(e, null), js(this.items, t.key) || this.items.push(t);
35995
+ Je(e) ? t = e : e && typeof e == "object" && "key" in e && "value" in e && e.value === null ? t = new Et(e.key, null) : t = new Et(e, null), Ns(this.items, t.key) || this.items.push(t);
35996
35996
  }
35997
35997
  /**
35998
35998
  * If `keepPair` is `true`, returns the Pair matching `key`.
35999
35999
  * Otherwise, returns the value of that Pair's key.
36000
36000
  */
36001
36001
  get(e, t) {
36002
- const n = js(this.items, e);
36002
+ const n = Ns(this.items, e);
36003
36003
  return !t && Je(n) ? Le(n.key) ? n.key.value : n.key : n;
36004
36004
  }
36005
36005
  set(e, t) {
36006
36006
  if (typeof t != "boolean")
36007
36007
  throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);
36008
- const n = js(this.items, e);
36008
+ const n = Ns(this.items, e);
36009
36009
  n && !t ? this.items.splice(this.items.indexOf(n), 1) : !n && t && this.items.push(new Et(e));
36010
36010
  }
36011
36011
  toJSON(e, t) {
@@ -36209,7 +36209,7 @@ function Y7(r, e) {
36209
36209
  }
36210
36210
  const c = l ? void 0 : () => a = !0;
36211
36211
  let d = to(r.contents, i, () => l = null, c);
36212
- l && (d += Is(d, "", o(l))), (d[0] === "|" || d[0] === ">") && n[n.length - 1] === "---" ? n[n.length - 1] = `--- ${d}` : n.push(d);
36212
+ l && (d += js(d, "", o(l))), (d[0] === "|" || d[0] === ">") && n[n.length - 1] === "---" ? n[n.length - 1] = `--- ${d}` : n.push(d);
36213
36213
  } else
36214
36214
  n.push(to(r.contents, i));
36215
36215
  if ((t = r.directives) != null && t.docEnd)
@@ -36447,7 +36447,7 @@ class ug extends Error {
36447
36447
  super(), this.name = e, this.code = n, this.message = s, this.pos = t;
36448
36448
  }
36449
36449
  }
36450
- class Ns extends ug {
36450
+ class Ds extends ug {
36451
36451
  constructor(e, t, n) {
36452
36452
  super("YAMLParseError", e, t, n);
36453
36453
  }
@@ -37257,7 +37257,7 @@ class fg {
37257
37257
  constructor(e = {}) {
37258
37258
  this.doc = null, this.atDirectives = !1, this.prelude = [], this.errors = [], this.warnings = [], this.onError = (t, n, s, i) => {
37259
37259
  const o = Fo(t);
37260
- i ? this.warnings.push(new wk(o, n, s)) : this.errors.push(new Ns(o, n, s));
37260
+ i ? this.warnings.push(new wk(o, n, s)) : this.errors.push(new Ds(o, n, s));
37261
37261
  }, this.directives = new jt({ version: e.version || "1.2" }), this.options = e;
37262
37262
  }
37263
37263
  decorate(e, t) {
@@ -37329,14 +37329,14 @@ ${o}` : n;
37329
37329
  this.prelude.push(e.source);
37330
37330
  break;
37331
37331
  case "error": {
37332
- const t = e.source ? `${e.message}: ${JSON.stringify(e.source)}` : e.message, n = new Ns(Fo(e), "UNEXPECTED_TOKEN", t);
37332
+ const t = e.source ? `${e.message}: ${JSON.stringify(e.source)}` : e.message, n = new Ds(Fo(e), "UNEXPECTED_TOKEN", t);
37333
37333
  this.atDirectives || !this.doc ? this.errors.push(n) : this.doc.errors.push(n);
37334
37334
  break;
37335
37335
  }
37336
37336
  case "doc-end": {
37337
37337
  if (!this.doc) {
37338
37338
  const n = "Unexpected doc-end without preceding document";
37339
- this.errors.push(new Ns(Fo(e), "UNEXPECTED_TOKEN", n));
37339
+ this.errors.push(new Ds(Fo(e), "UNEXPECTED_TOKEN", n));
37340
37340
  break;
37341
37341
  }
37342
37342
  this.doc.directives.docEnd = !0;
@@ -37350,7 +37350,7 @@ ${t.comment}` : t.comment;
37350
37350
  break;
37351
37351
  }
37352
37352
  default:
37353
- this.errors.push(new Ns(Fo(e), "UNEXPECTED_TOKEN", `Unsupported token ${e.type}`));
37353
+ this.errors.push(new Ds(Fo(e), "UNEXPECTED_TOKEN", `Unsupported token ${e.type}`));
37354
37354
  }
37355
37355
  }
37356
37356
  /**
@@ -37375,7 +37375,7 @@ function uq(r, e = !0, t) {
37375
37375
  if (t)
37376
37376
  t(a, i, o);
37377
37377
  else
37378
- throw new Ns([a, a + 1], i, o);
37378
+ throw new Ds([a, a + 1], i, o);
37379
37379
  };
37380
37380
  switch (r.type) {
37381
37381
  case "scalar":
@@ -37572,13 +37572,13 @@ function Qc({ start: r, key: e, sep: t, value: n }) {
37572
37572
  return n && (s += pd(n)), s;
37573
37573
  }
37574
37574
  const rp = Symbol("break visit"), gq = Symbol("skip children"), Tk = Symbol("remove item");
37575
- function Fs(r, e) {
37575
+ function Ks(r, e) {
37576
37576
  "type" in r && r.type === "document" && (r = { start: r.start, value: r.value }), Ck(Object.freeze([]), r, e);
37577
37577
  }
37578
- Fs.BREAK = rp;
37579
- Fs.SKIP = gq;
37580
- Fs.REMOVE = Tk;
37581
- Fs.itemAtPath = (r, e) => {
37578
+ Ks.BREAK = rp;
37579
+ Ks.SKIP = gq;
37580
+ Ks.REMOVE = Tk;
37581
+ Ks.itemAtPath = (r, e) => {
37582
37582
  let t = r;
37583
37583
  for (const [n, s] of e) {
37584
37584
  const i = t == null ? void 0 : t[n];
@@ -37589,8 +37589,8 @@ Fs.itemAtPath = (r, e) => {
37589
37589
  }
37590
37590
  return t;
37591
37591
  };
37592
- Fs.parentCollection = (r, e) => {
37593
- const t = Fs.itemAtPath(r, e.slice(0, -1)), n = e[e.length - 1][0], s = t == null ? void 0 : t[n];
37592
+ Ks.parentCollection = (r, e) => {
37593
+ const t = Ks.itemAtPath(r, e.slice(0, -1)), n = e[e.length - 1][0], s = t == null ? void 0 : t[n];
37594
37594
  if (s && "items" in s)
37595
37595
  return s;
37596
37596
  throw new Error("Parent collection not found");
@@ -37707,7 +37707,7 @@ const vq = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
37707
37707
  setScalarValue: fq,
37708
37708
  stringify: mq,
37709
37709
  tokenType: Ak,
37710
- visit: Fs
37710
+ visit: Ks
37711
37711
  }, Symbol.toStringTag, { value: "Module" }));
37712
37712
  function lr(r) {
37713
37713
  switch (r) {
@@ -38796,7 +38796,7 @@ function jk(r, e = {}) {
38796
38796
  if (!o)
38797
38797
  o = a;
38798
38798
  else if (o.options.logLevel !== "silent") {
38799
- o.errors.push(new Ns(a.range.slice(0, 2), "MULTIPLE_DOCS", "Source contains multiple documents; please use YAML.parseAllDocuments()"));
38799
+ o.errors.push(new Ds(a.range.slice(0, 2), "MULTIPLE_DOCS", "Source contains multiple documents; please use YAML.parseAllDocuments()"));
38800
38800
  break;
38801
38801
  }
38802
38802
  return n && t && (o.errors.forEach(fd(r, t)), o.warnings.forEach(fd(r, t))), o;
@@ -38841,7 +38841,7 @@ const Nk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
38841
38841
  Schema: Ou,
38842
38842
  YAMLError: ug,
38843
38843
  YAMLMap: tr,
38844
- YAMLParseError: Ns,
38844
+ YAMLParseError: Ds,
38845
38845
  YAMLSeq: ls,
38846
38846
  YAMLWarning: wk,
38847
38847
  isAlias: ti,
@@ -40287,7 +40287,7 @@ const Qo = () => {
40287
40287
  });
40288
40288
  }
40289
40289
  };
40290
- }, Dn = de(!1);
40290
+ }, Dn = le(!1);
40291
40291
  function NW(r) {
40292
40292
  var s;
40293
40293
  const e = () => {
@@ -40314,7 +40314,7 @@ function NW(r) {
40314
40314
  setDarkMode: n
40315
40315
  };
40316
40316
  }
40317
- const DW = ["unirest"], sp = de([...DW]), MW = vP().map((r) => (r.key === "node" && (r.default = "undici", r.clients.unshift({
40317
+ const DW = ["unirest"], sp = le([...DW]), MW = vP().map((r) => (r.key === "node" && (r.default = "undici", r.clients.unshift({
40318
40318
  description: "An HTTP/1.1 client, written from scratch for Node.js.",
40319
40319
  key: "undici",
40320
40320
  link: "https://github.com/nodejs/undici",
@@ -40329,7 +40329,7 @@ function yl() {
40329
40329
  setExcludedClients: (e) => sp.value = e
40330
40330
  };
40331
40331
  }
40332
- const bg = de(ao.hash ?? ""), md = de(), XW = de(!1), qW = (r) => r.slug ? `description/${r.slug}` : "", n$ = (r) => {
40332
+ const bg = le(ao.hash ?? ""), md = le(), XW = le(!1), qW = (r) => r.slug ? `description/${r.slug}` : "", n$ = (r) => {
40333
40333
  var t;
40334
40334
  if (!md.value)
40335
40335
  return "";
@@ -40423,7 +40423,7 @@ function BW({
40423
40423
  specConfig: r,
40424
40424
  proxy: e
40425
40425
  }) {
40426
- const t = de(""), n = ln(ob()), s = de(null);
40426
+ const t = le(""), n = ln(ob()), s = le(null);
40427
40427
  function i(o) {
40428
40428
  return o ? AW(o).then((a) => {
40429
40429
  s.value = null, Object.assign(n, {
@@ -40473,7 +40473,7 @@ const {
40473
40473
  getTagId: i$,
40474
40474
  getWebhookId: kh,
40475
40475
  hash: ip
40476
- } = Zt(), ut = de(void 0), o$ = de(!1), gd = ln(
40476
+ } = Zt(), ut = le(void 0), o$ = le(!1), gd = ln(
40477
40477
  ao["useSidebarContent-collapsedSidebarItems"] ?? {}
40478
40478
  );
40479
40479
  function FW(r) {
@@ -40482,7 +40482,7 @@ function FW(r) {
40482
40482
  function $h(r, e) {
40483
40483
  gd[r] = e;
40484
40484
  }
40485
- const a$ = de([]), KW = async (r) => {
40485
+ const a$ = le([]), KW = async (r) => {
40486
40486
  const e = await sd(r), t = nS(e);
40487
40487
  return e.filter((n) => n.depth === t);
40488
40488
  }, l$ = se(() => {
@@ -40573,10 +40573,10 @@ const a$ = de([]), KW = async (r) => {
40573
40573
  return e[E] = $, Object.keys(
40574
40574
  ((X = (C = ut.value) == null ? void 0 : C.webhooks) == null ? void 0 : X[$]) ?? {}
40575
40575
  ).map((U) => {
40576
- var M, le, ne;
40576
+ var M, ce, ne;
40577
40577
  return {
40578
40578
  id: kh($, U),
40579
- title: (ne = (le = (M = ut.value) == null ? void 0 : M.webhooks) == null ? void 0 : le[$][U]) == null ? void 0 : ne.name,
40579
+ title: (ne = (ce = (M = ut.value) == null ? void 0 : M.webhooks) == null ? void 0 : ce[$][U]) == null ? void 0 : ne.name,
40580
40580
  httpVerb: U,
40581
40581
  show: !r.showApiClient
40582
40582
  };
@@ -40593,7 +40593,7 @@ const a$ = de([]), KW = async (r) => {
40593
40593
  ],
40594
40594
  titles: e
40595
40595
  };
40596
- }), JW = de(!1), e9 = se(() => {
40596
+ }), JW = le(!1), e9 = se(() => {
40597
40597
  var r, e;
40598
40598
  return ((e = (r = l$.value) == null ? void 0 : r.titles) == null ? void 0 : e[ip.value]) ?? "";
40599
40599
  });
@@ -40708,7 +40708,7 @@ const t9 = ["id"], r9 = {
40708
40708
  R("p", s9, K(d.item.title), 1),
40709
40709
  d.item.httpVerb ? (k(), Q("p", i9, [
40710
40710
  G("   "),
40711
- I(S(hs), {
40711
+ I(S(fs), {
40712
40712
  class: "sidebar-heading-type",
40713
40713
  method: d.item.httpVerb,
40714
40714
  property: "--method-color",
@@ -40747,7 +40747,7 @@ const t9 = ["id"], r9 = {
40747
40747
  {
40748
40748
  parsedSpec: e.parsedSpec
40749
40749
  }
40750
- ), a = de(null), l = de(!0);
40750
+ ), a = le(null), l = le(!0);
40751
40751
  Ie(t, (d) => {
40752
40752
  !n.value || l.value || typeof window > "u" || c(d);
40753
40753
  });
@@ -40759,7 +40759,7 @@ const t9 = ["id"], r9 = {
40759
40759
  let h = u9;
40760
40760
  u.getAttribute("data-sidebar-type") === "heading" ? h += u.offsetTop + ((f = u.getElementsByClassName("sidebar-heading")) == null ? void 0 : f[0]).offsetHeight : h += u.offsetTop + (((p = u.parentElement) == null ? void 0 : p.offsetTop) ?? 0) + (((g = (m = u.parentElement) == null ? void 0 : m.parentElement) == null ? void 0 : g.offsetTop) ?? 0), a.value.scrollTo({ top: h, behavior: "smooth" });
40761
40761
  };
40762
- return Ks(() => {
40762
+ return ds(() => {
40763
40763
  setTimeout(() => c(t.value), 500), l.value = !1;
40764
40764
  }), (d, u) => (k(), Q("div", c9, [
40765
40765
  te(d.$slots, "sidebar-start", {}, void 0, !0),
@@ -40912,7 +40912,7 @@ const t9 = ["id"], r9 = {
40912
40912
  s.tabMode ? (k(), Q(J, { key: 0 }, [
40913
40913
  s.activeTab === "sidebar" ? (k(), Q("div", g9, [
40914
40914
  Dt(I(S(op), { parsedSpec: s.parsedSpec }, null, 8, ["parsedSpec"]), [
40915
- [Ws, !S(n)]
40915
+ [Vs, !S(n)]
40916
40916
  ])
40917
40917
  ])) : te(s.$slots, "active-tab", { key: 1 }, void 0, !0)
40918
40918
  ], 64)) : (k(), Q("div", O9, [
@@ -40925,7 +40925,7 @@ const t9 = ["id"], r9 = {
40925
40925
  ]),
40926
40926
  _: 3
40927
40927
  }, 8, ["parsedSpec"]), [
40928
- [Ws, !S(n)]
40928
+ [Vs, !S(n)]
40929
40929
  ])
40930
40930
  ])),
40931
40931
  I(S(o3), {
@@ -41095,7 +41095,7 @@ const ri = /* @__PURE__ */ ee($9, [["render", _9], ["__scopeId", "data-v-dcabb13
41095
41095
  parsedSpec: {}
41096
41096
  },
41097
41097
  setup(r) {
41098
- const e = r, { authentication: t, setAuthentication: n } = us(), s = se(() => {
41098
+ const e = r, { authentication: t, setAuthentication: n } = hs(), s = se(() => {
41099
41099
  var o, a, l;
41100
41100
  if (!t.preferredSecurityScheme)
41101
41101
  return !1;
@@ -41166,7 +41166,7 @@ const ri = /* @__PURE__ */ ee($9, [["render", _9], ["__scopeId", "data-v-dcabb13
41166
41166
  withImages: { type: Boolean, default: !1 }
41167
41167
  },
41168
41168
  setup(r) {
41169
- const e = r, t = de(""), n = e.withImages ? [] : ["img", "picture"];
41169
+ const e = r, t = le(""), n = e.withImages ? [] : ["img", "picture"];
41170
41170
  return Ie(
41171
41171
  () => e.value,
41172
41172
  async () => {
@@ -41267,7 +41267,7 @@ const ri = /* @__PURE__ */ ee($9, [["render", _9], ["__scopeId", "data-v-dcabb13
41267
41267
  }), K9 = /* @__PURE__ */ ee(F9, [["__scopeId", "data-v-a812e319"]]), J9 = { class: "scalar-card-serverlist-container" }, eV = { class: "server-item" }, tV = { class: "server-selector" }, rV = ["value"], nV = ["value"], sV = { class: "description" }, iV = /* @__PURE__ */ H({
41268
41268
  __name: "BaseUrl",
41269
41269
  setup(r) {
41270
- const { server: e, setServer: t } = il(), n = de(0);
41270
+ const { server: e, setServer: t } = il(), n = le(0);
41271
41271
  return Ie(
41272
41272
  [n, () => e.servers],
41273
41273
  () => {
@@ -41377,7 +41377,7 @@ const ri = /* @__PURE__ */ ee($9, [["render", _9], ["__scopeId", "data-v-dcabb13
41377
41377
  ], mV = /* @__PURE__ */ h$(() => /* @__PURE__ */ R("span", null, "More", -1)), gV = /* @__PURE__ */ H({
41378
41378
  __name: "ClientSelector",
41379
41379
  setup(r) {
41380
- const { httpClient: e, setHttpClient: t, getClientTitle: n, getTargetTitle: s } = Sg(), { availableTargets: i } = yl(), o = de(), a = [
41380
+ const { httpClient: e, setHttpClient: t, getClientTitle: n, getTargetTitle: s } = Sg(), { availableTargets: i } = yl(), o = le(), a = [
41381
41381
  {
41382
41382
  targetKey: "shell",
41383
41383
  clientKey: "curl"
@@ -41519,11 +41519,11 @@ const Ua = /* @__PURE__ */ ee(vV, [["render", SV], ["__scopeId", "data-v-190574a
41519
41519
  },
41520
41520
  emits: ["intersecting"],
41521
41521
  setup(r, { emit: e }) {
41522
- const t = r, n = e, s = de(), i = (a) => {
41522
+ const t = r, n = e, s = le(), i = (a) => {
41523
41523
  const l = a.offsetHeight;
41524
41524
  return `${l / 2}px 0px ${l / 2}px 0px`;
41525
41525
  }, o = (a) => a.offsetHeight < window.innerHeight ? 0.8 : 0.5;
41526
- return Ks(() => {
41526
+ return ds(() => {
41527
41527
  if (s.value) {
41528
41528
  const a = {
41529
41529
  rootMargin: i(s.value),
@@ -41588,7 +41588,7 @@ const Ua = /* @__PURE__ */ ee(vV, [["render", SV], ["__scopeId", "data-v-190574a
41588
41588
  transparent: { type: Boolean }
41589
41589
  },
41590
41590
  setup(r) {
41591
- const e = de(), t = dP(e);
41591
+ const e = le(), t = dP(e);
41592
41592
  return (n, s) => (k(), W(kg, {
41593
41593
  id: n.id,
41594
41594
  class: "section-wrapper"
@@ -41731,7 +41731,7 @@ const bl = /* @__PURE__ */ ee(IV, [["render", NV], ["__scopeId", "data-v-34b2695
41731
41731
  _: 3
41732
41732
  }, 8, ["class"]));
41733
41733
  }
41734
- }), fs = /* @__PURE__ */ ee(zV, [["__scopeId", "data-v-3bd1b9f0"]]), UV = {
41734
+ }), ps = /* @__PURE__ */ ee(zV, [["__scopeId", "data-v-3bd1b9f0"]]), UV = {
41735
41735
  key: 0,
41736
41736
  class: "introduction-description"
41737
41737
  }, YV = /* @__PURE__ */ H({
@@ -41841,7 +41841,7 @@ const bl = /* @__PURE__ */ ee(IV, [["render", NV], ["__scopeId", "data-v-34b2695
41841
41841
  _: 1
41842
41842
  })) : B("", !0)
41843
41843
  ]),
41844
- I(S(fs), {
41844
+ I(S(ps), {
41845
41845
  level: 1,
41846
41846
  loading: !n.info.title,
41847
41847
  tight: ""
@@ -41891,7 +41891,7 @@ const bl = /* @__PURE__ */ ee(IV, [["render", NV], ["__scopeId", "data-v-34b2695
41891
41891
  const e = r, t = (s = () => {
41892
41892
  }) => {
41893
41893
  typeof window > "u" || ("requestIdleCallback" in window ? setTimeout(() => window.requestIdleCallback(s), e.lazyTimeout) : setTimeout(() => sc(s), e.lazyTimeout ?? 300));
41894
- }, n = de(!e.isLazy);
41894
+ }, n = le(!e.isLazy);
41895
41895
  return e.isLazy ? t(() => {
41896
41896
  n.value = !0, e.id && sc(() => ap.emit({ id: e.id }));
41897
41897
  }) : e.id && sc(() => ap.emit({ id: e.id })), (s, i) => n.value ? te(s.$slots, "default", { key: 0 }) : B("", !0);
@@ -41941,7 +41941,7 @@ const bl = /* @__PURE__ */ ee(IV, [["render", NV], ["__scopeId", "data-v-34b2695
41941
41941
  ])
41942
41942
  ]));
41943
41943
  }
41944
- }), ps = /* @__PURE__ */ ee(cz, [["__scopeId", "data-v-d9801d4e"]]), dz = ["value"], uz = ["label"], hz = ["value"], fz = ["value"], Pg = /* @__PURE__ */ H({
41944
+ }), ms = /* @__PURE__ */ ee(cz, [["__scopeId", "data-v-d9801d4e"]]), dz = ["value"], uz = ["label"], hz = ["value"], fz = ["value"], Pg = /* @__PURE__ */ H({
41945
41945
  __name: "TextSelect",
41946
41946
  props: {
41947
41947
  modelValue: {},
@@ -41985,7 +41985,7 @@ const bl = /* @__PURE__ */ ee(IV, [["render", NV], ["__scopeId", "data-v-34b2695
41985
41985
  examples: {}
41986
41986
  },
41987
41987
  setup(r) {
41988
- const e = r, t = de(0), n = se(() => (
41988
+ const e = r, t = le(0), n = se(() => (
41989
41989
  // @ts-ignore
41990
41990
  {
41991
41991
  C: "c",
@@ -42051,7 +42051,7 @@ const bl = /* @__PURE__ */ ee(IV, [["render", NV], ["__scopeId", "data-v-34b2695
42051
42051
  ]),
42052
42052
  default: T(() => [
42053
42053
  R("div", pz, [
42054
- I(S(hs), {
42054
+ I(S(fs), {
42055
42055
  class: "request-method",
42056
42056
  method: o.operation.httpVerb
42057
42057
  }, null, 8, ["method"]),
@@ -42403,7 +42403,7 @@ const bl = /* @__PURE__ */ ee(IV, [["render", NV], ["__scopeId", "data-v-34b2695
42403
42403
  ])
42404
42404
  ])) : B("", !0),
42405
42405
  ((f = o.value) == null ? void 0 : f.type) === "object" && ((p = o.value) != null && p.properties || (m = o.value) != null && m.additionalProperties) ? (k(), Q("div", qz, [
42406
- I(Ds, {
42406
+ I(Ms, {
42407
42407
  compact: o.compact,
42408
42408
  level: o.level + 1,
42409
42409
  value: o.value
@@ -42411,7 +42411,7 @@ const bl = /* @__PURE__ */ ee(IV, [["render", NV], ["__scopeId", "data-v-34b2695
42411
42411
  ])) : B("", !0),
42412
42412
  (g = o.value) != null && g.items ? (k(), Q(J, { key: 5 }, [
42413
42413
  ["object"].includes(o.value.items.type) ? (k(), Q("div", Wz, [
42414
- I(Ds, {
42414
+ I(Ms, {
42415
42415
  compact: o.compact,
42416
42416
  level: o.level + 1,
42417
42417
  value: o.value.items
@@ -42422,7 +42422,7 @@ const bl = /* @__PURE__ */ ee(IV, [["render", NV], ["__scopeId", "data-v-34b2695
42422
42422
  var y, b, w;
42423
42423
  return k(), Q(J, { key: O }, [
42424
42424
  (y = o.value) != null && y[O] ? (k(), Q("div", Vz, [
42425
- (k(!0), Q(J, null, be(o.value[O], (P, v) => (k(), W(Ds, {
42425
+ (k(!0), Q(J, null, be(o.value[O], (P, v) => (k(), W(Ms, {
42426
42426
  key: v,
42427
42427
  compact: o.compact,
42428
42428
  level: o.level + 1,
@@ -42430,7 +42430,7 @@ const bl = /* @__PURE__ */ ee(IV, [["render", NV], ["__scopeId", "data-v-34b2695
42430
42430
  }, null, 8, ["compact", "level", "value"]))), 128))
42431
42431
  ])) : B("", !0),
42432
42432
  (w = (b = o.value) == null ? void 0 : b.items) != null && w[O] && o.level < 3 ? (k(), Q("div", zz, [
42433
- (k(!0), Q(J, null, be(o.value.items[O], (P, v) => (k(), W(Ds, {
42433
+ (k(!0), Q(J, null, be(o.value.items[O], (P, v) => (k(), W(Ms, {
42434
42434
  key: v,
42435
42435
  compact: o.compact,
42436
42436
  level: o.level + 1,
@@ -42527,7 +42527,7 @@ const bl = /* @__PURE__ */ ee(IV, [["render", NV], ["__scopeId", "data-v-34b2695
42527
42527
  ]),
42528
42528
  _: 2
42529
42529
  }, 1032, ["as", "class", "style"]), [
42530
- [Ws, !(i.noncollapsible && i.compact)]
42530
+ [Vs, !(i.noncollapsible && i.compact)]
42531
42531
  ]),
42532
42532
  I(S(wd), { static: i.noncollapsible }, {
42533
42533
  default: T(() => {
@@ -42561,7 +42561,7 @@ const bl = /* @__PURE__ */ ee(IV, [["render", NV], ["__scopeId", "data-v-34b2695
42561
42561
  _: 1
42562
42562
  }, 8, ["defaultOpen"])) : B("", !0);
42563
42563
  }
42564
- }), Ds = /* @__PURE__ */ ee(Gz, [["__scopeId", "data-v-841cfc59"]]), Fz = { class: "parameter-item" }, Kz = { class: "parameter-item-container" }, Jz = /* @__PURE__ */ H({
42564
+ }), Ms = /* @__PURE__ */ ee(Gz, [["__scopeId", "data-v-841cfc59"]]), Fz = { class: "parameter-item" }, Kz = { class: "parameter-item-container" }, Jz = /* @__PURE__ */ H({
42565
42565
  __name: "ParameterItem",
42566
42566
  props: {
42567
42567
  parameter: {},
@@ -42621,7 +42621,7 @@ const bl = /* @__PURE__ */ ee(IV, [["render", NV], ["__scopeId", "data-v-34b2695
42621
42621
  const e = r, t = se(() => {
42622
42622
  var i;
42623
42623
  return (i = e.requestBody) != null && i.content ? Object.keys(e.requestBody.content) : [];
42624
- }), n = de("application/json");
42624
+ }), n = le("application/json");
42625
42625
  return (s = e.requestBody) != null && s.content && t.value.length > 0 && (n.value = t.value[0]), (i, o) => {
42626
42626
  var a, l, c, d;
42627
42627
  return e != null && e.requestBody ? (k(), Q("div", iU, [
@@ -42645,7 +42645,7 @@ const bl = /* @__PURE__ */ ee(IV, [["render", NV], ["__scopeId", "data-v-34b2695
42645
42645
  ], 2)
42646
42646
  ]),
42647
42647
  (l = e == null ? void 0 : e.requestBody.content) != null && l[n.value] ? (k(), Q("div", lU, [
42648
- I(S(Ds), {
42648
+ I(S(Ms), {
42649
42649
  compact: "",
42650
42650
  noncollapsible: "",
42651
42651
  value: (d = (c = e == null ? void 0 : e.requestBody.content) == null ? void 0 : c[n.value]) == null ? void 0 : d.schema
@@ -42970,7 +42970,7 @@ const wU = /* @__PURE__ */ H({
42970
42970
  },
42971
42971
  emits: ["update:modelValue"],
42972
42972
  setup(r, { emit: e }) {
42973
- const t = r, n = e, s = de(Object.keys(t.examples)[0]);
42973
+ const t = r, n = e, s = le(Object.keys(t.examples)[0]);
42974
42974
  function i(a) {
42975
42975
  a && (s.value = a);
42976
42976
  }
@@ -43019,7 +43019,7 @@ const wU = /* @__PURE__ */ H({
43019
43019
  setup(r) {
43020
43020
  const e = r, n = `components-Content-Operation-Example-Request${Op(
43021
43021
  e.operation.path + e.operation.httpVerb + e.operation.operationId
43022
- )}`, s = de(ao[n] ?? ""), i = de(), { copyToClipboard: o } = Qo(), { httpClient: a, setHttpClient: l, httpTargetTitle: c, httpClientTitle: d } = Sg(), { availableTargets: u } = yl(), { server: h } = il(), { authentication: f } = us(), p = se(
43022
+ )}`, s = le(ao[n] ?? ""), i = le(), { copyToClipboard: o } = Qo(), { httpClient: a, setHttpClient: l, httpTargetTitle: c, httpClientTitle: d } = Sg(), { availableTargets: u } = yl(), { server: h } = il(), { authentication: f } = hs(), p = se(
43023
43023
  () => {
43024
43024
  var O, y, b, w, P, v, $;
43025
43025
  return ((w = (b = (y = (O = e.operation.information) == null ? void 0 : O.requestBody) == null ? void 0 : y.content) == null ? void 0 : b["application/json"]) == null ? void 0 : w.examples) && Object.keys(
@@ -43126,7 +43126,7 @@ const wU = /* @__PURE__ */ H({
43126
43126
  ]),
43127
43127
  default: T(() => [
43128
43128
  R("div", SU, [
43129
- I(S(hs), {
43129
+ I(S(fs), {
43130
43130
  as: "span",
43131
43131
  class: "request-method",
43132
43132
  method: O.operation.httpVerb
@@ -43267,14 +43267,14 @@ const wU = /* @__PURE__ */ H({
43267
43267
  operation: {}
43268
43268
  },
43269
43269
  setup(r) {
43270
- const e = r, { copyToClipboard: t } = Qo(), n = de(), s = se(() => {
43270
+ const e = r, { copyToClipboard: t } = Qo(), n = le(), s = se(() => {
43271
43271
  var h, f;
43272
43272
  return Object.keys(((f = (h = e == null ? void 0 : e.operation) == null ? void 0 : h.information) == null ? void 0 : f.responses) ?? {}).sort(
43273
43273
  (p) => p === "default" ? -1 : 0
43274
43274
  );
43275
43275
  }), i = se(
43276
43276
  () => !!l.value.examples
43277
- ), o = de(0), a = se(() => {
43277
+ ), o = le(0), a = se(() => {
43278
43278
  var f, p;
43279
43279
  const h = s.value[o.value];
43280
43280
  return (p = (f = e.operation.information) == null ? void 0 : f.responses) == null ? void 0 : p[h];
@@ -43292,7 +43292,7 @@ const wU = /* @__PURE__ */ H({
43292
43292
  example: i.value && n.value ? l.value.examples[n.value].value ?? l.value.examples[n.value] : l.value.example
43293
43293
  })), d = (h) => {
43294
43294
  o.value = h;
43295
- }, u = de(!1);
43295
+ }, u = le(!1);
43296
43296
  return (h, f) => s.value.length ? (k(), W(S(ri), { key: 0 }, {
43297
43297
  default: T(() => {
43298
43298
  var p;
@@ -43401,7 +43401,7 @@ const wU = /* @__PURE__ */ H({
43401
43401
  },
43402
43402
  setup(r) {
43403
43403
  const e = hp(dm);
43404
- return (t, n) => (k(), W(S(hs), {
43404
+ return (t, n) => (k(), W(S(fs), {
43405
43405
  as: "button",
43406
43406
  class: "show-api-client-button",
43407
43407
  method: t.operation.httpVerb,
@@ -43455,9 +43455,9 @@ const wU = /* @__PURE__ */ H({
43455
43455
  R("div", {
43456
43456
  class: me((o = n.operation.information) != null && o.deprecated ? "deprecated" : "")
43457
43457
  }, [
43458
- I(S(fs), { level: 3 }, {
43458
+ I(S(ps), { level: 3 }, {
43459
43459
  default: T(() => [
43460
- I(S(ps), {
43460
+ I(S(ms), {
43461
43461
  id: n.id ?? ""
43462
43462
  }, {
43463
43463
  default: T(() => [
@@ -43607,12 +43607,12 @@ const wU = /* @__PURE__ */ H({
43607
43607
  title: T(() => [
43608
43608
  R("h3", LU, [
43609
43609
  R("div", BU, [
43610
- I(S(hs), {
43610
+ I(S(fs), {
43611
43611
  class: "endpoint-type",
43612
43612
  method: t.operation.httpVerb,
43613
43613
  short: ""
43614
43614
  }, null, 8, ["method"]),
43615
- I(S(ps), {
43615
+ I(S(ms), {
43616
43616
  id: t.id ?? "",
43617
43617
  class: "endpoint-anchor"
43618
43618
  }, {
@@ -43717,9 +43717,9 @@ const wU = /* @__PURE__ */ H({
43717
43717
  default: T(() => [
43718
43718
  I(S(so), null, {
43719
43719
  default: T(() => [
43720
- I(S(fs), { level: 2 }, {
43720
+ I(S(ps), { level: 2 }, {
43721
43721
  default: T(() => [
43722
- I(S(ps), {
43722
+ I(S(ms), {
43723
43723
  id: S(i)(c.tag)
43724
43724
  }, {
43725
43725
  default: T(() => [
@@ -43763,7 +43763,7 @@ const wU = /* @__PURE__ */ H({
43763
43763
  class: "endpoint",
43764
43764
  onClick: (f) => l(h)
43765
43765
  }, [
43766
- I(S(hs), {
43766
+ I(S(fs), {
43767
43767
  method: h.httpVerb
43768
43768
  }, null, 8, ["method"]),
43769
43769
  R("span", null, K(h.path), 1)
@@ -43799,7 +43799,7 @@ const wU = /* @__PURE__ */ H({
43799
43799
  spec: {}
43800
43800
  },
43801
43801
  setup(r) {
43802
- const e = r, t = de(null), { collapsedSidebarItems: n } = Nr(), { getTagId: s } = Zt(), i = (c) => {
43802
+ const e = r, t = le(null), { collapsedSidebarItems: n } = Nr(), { getTagId: s } = Zt(), i = (c) => {
43803
43803
  var d;
43804
43804
  return ((d = e.spec.tags) == null ? void 0 : d.length) !== 1 || (c == null ? void 0 : c.name) !== "default" || (c == null ? void 0 : c.description) !== "";
43805
43805
  }, o = (c) => {
@@ -43846,12 +43846,12 @@ const wU = /* @__PURE__ */ H({
43846
43846
  const { getTagId: e } = Zt();
43847
43847
  return (t, n) => (k(), W(S(p$), { class: "tag-section" }, {
43848
43848
  title: T(() => [
43849
- I(S(fs), {
43849
+ I(S(ps), {
43850
43850
  class: "tag-name",
43851
43851
  level: 2
43852
43852
  }, {
43853
43853
  default: T(() => [
43854
- I(S(ps), {
43854
+ I(S(ms), {
43855
43855
  id: S(e)(t.tag)
43856
43856
  }, {
43857
43857
  default: T(() => [
@@ -43880,7 +43880,7 @@ const wU = /* @__PURE__ */ H({
43880
43880
  parsedSpec: {}
43881
43881
  },
43882
43882
  setup(r) {
43883
- const e = r, t = de(!1), n = de([]), s = de([]), { getModelId: i, getSectionId: o, getTagId: a, hash: l, isIntersectionEnabled: c } = Zt(), d = de(e.layout !== "accordion" && l.value);
43883
+ const e = r, t = le(!1), n = le([]), s = le([]), { getModelId: i, getSectionId: o, getTagId: a, hash: l, isIntersectionEnabled: c } = Zt(), d = le(e.layout !== "accordion" && l.value);
43884
43884
  Ie(
43885
43885
  () => {
43886
43886
  var h;
@@ -43928,7 +43928,7 @@ const wU = /* @__PURE__ */ H({
43928
43928
  typeof window < "u" && id(f), d.value = !1, setTimeout(() => c.value = !0, 1e3);
43929
43929
  }, 300));
43930
43930
  });
43931
- return Ks(() => {
43931
+ return ds(() => {
43932
43932
  l.value || setTimeout(() => c.value = !0, 1e3);
43933
43933
  }), (h, f) => Dt((k(), Q("div", {
43934
43934
  class: me(["references-loading", {
@@ -43967,9 +43967,9 @@ const wU = /* @__PURE__ */ H({
43967
43967
  default: T(() => {
43968
43968
  var O, y;
43969
43969
  return [
43970
- I(S(fs), { level: 2 }, {
43970
+ I(S(ps), { level: 2 }, {
43971
43971
  default: T(() => [
43972
- I(S(ps), {
43972
+ I(S(ms), {
43973
43973
  id: S(i)(p)
43974
43974
  }, {
43975
43975
  default: T(() => {
@@ -43983,7 +43983,7 @@ const wU = /* @__PURE__ */ H({
43983
43983
  ]),
43984
43984
  _: 2
43985
43985
  }, 1024),
43986
- I(S(Ds), {
43986
+ I(S(Ms), {
43987
43987
  name: p,
43988
43988
  noncollapsible: "",
43989
43989
  value: (y = (O = h.parsedSpec.components) == null ? void 0 : O.schemas) == null ? void 0 : y[p]
@@ -44000,7 +44000,7 @@ const wU = /* @__PURE__ */ H({
44000
44000
  _: 1
44001
44001
  })) : B("", !0)
44002
44002
  ], 2)), [
44003
- [Ws, d.value]
44003
+ [Vs, d.value]
44004
44004
  ]);
44005
44005
  }
44006
44006
  }), uY = (r) => ($t("data-v-0b6d2ba2"), r = r(), Pt(), r), hY = /* @__PURE__ */ uY(() => /* @__PURE__ */ R("div", { id: "models" }, null, -1)), fY = /* @__PURE__ */ H({
@@ -44047,9 +44047,9 @@ const wU = /* @__PURE__ */ H({
44047
44047
  default: T(() => {
44048
44048
  var h, f;
44049
44049
  return [
44050
- I(S(fs), { level: 2 }, {
44050
+ I(S(ps), { level: 2 }, {
44051
44051
  default: T(() => [
44052
- I(S(ps), {
44052
+ I(S(ms), {
44053
44053
  id: S(n)(l)
44054
44054
  }, {
44055
44055
  default: T(() => {
@@ -44063,7 +44063,7 @@ const wU = /* @__PURE__ */ H({
44063
44063
  ]),
44064
44064
  _: 2
44065
44065
  }, 1024),
44066
- I(S(Ds), {
44066
+ I(S(Ms), {
44067
44067
  name: l,
44068
44068
  noncollapsible: "",
44069
44069
  value: (f = (h = o.components) == null ? void 0 : h.schemas) == null ? void 0 : f[l]
@@ -44109,7 +44109,7 @@ const wU = /* @__PURE__ */ H({
44109
44109
  class: "reference-models"
44110
44110
  }, {
44111
44111
  title: T(() => [
44112
- I(S(fs), { level: 2 }, {
44112
+ I(S(ps), { level: 2 }, {
44113
44113
  default: T(() => [
44114
44114
  G("Models")
44115
44115
  ]),
@@ -44123,7 +44123,7 @@ const wU = /* @__PURE__ */ H({
44123
44123
  label: o
44124
44124
  }, {
44125
44125
  title: T(() => [
44126
- I(S(ps), {
44126
+ I(S(ms), {
44127
44127
  id: S(n)(o),
44128
44128
  class: "reference-models-anchor"
44129
44129
  }, {
@@ -44208,9 +44208,9 @@ const wU = /* @__PURE__ */ H({
44208
44208
  default: T(() => {
44209
44209
  var d, u;
44210
44210
  return [
44211
- I(S(fs), { level: 2 }, {
44211
+ I(S(ps), { level: 2 }, {
44212
44212
  default: T(() => [
44213
- I(S(ps), {
44213
+ I(S(ms), {
44214
44214
  id: S(n)(o, l)
44215
44215
  }, {
44216
44216
  default: T(() => {
@@ -44245,7 +44245,7 @@ const wU = /* @__PURE__ */ H({
44245
44245
  _: 1
44246
44246
  })) : B("", !0);
44247
44247
  }
44248
- }), wY = /* @__PURE__ */ ds('<div class="section-flare" data-v-2e98d1ee><div class="section-flare-item" data-v-2e98d1ee></div><div class="section-flare-item" data-v-2e98d1ee></div><div class="section-flare-item" data-v-2e98d1ee></div><div class="section-flare-item" data-v-2e98d1ee></div><div class="section-flare-item" data-v-2e98d1ee></div><div class="section-flare-item" data-v-2e98d1ee></div><div class="section-flare-item" data-v-2e98d1ee></div><div class="section-flare-item" data-v-2e98d1ee></div></div>', 1), SY = { class: "narrow-references-container" }, kY = /* @__PURE__ */ H({
44248
+ }), wY = /* @__PURE__ */ us('<div class="section-flare" data-v-2e98d1ee><div class="section-flare-item" data-v-2e98d1ee></div><div class="section-flare-item" data-v-2e98d1ee></div><div class="section-flare-item" data-v-2e98d1ee></div><div class="section-flare-item" data-v-2e98d1ee></div><div class="section-flare-item" data-v-2e98d1ee></div><div class="section-flare-item" data-v-2e98d1ee></div><div class="section-flare-item" data-v-2e98d1ee></div><div class="section-flare-item" data-v-2e98d1ee></div></div>', 1), SY = { class: "narrow-references-container" }, kY = /* @__PURE__ */ H({
44249
44249
  __name: "Content",
44250
44250
  props: {
44251
44251
  parsedSpec: {},
@@ -44360,7 +44360,11 @@ const wU = /* @__PURE__ */ H({
44360
44360
  }), $Y = /* @__PURE__ */ ee(kY, [["__scopeId", "data-v-2e98d1ee"]]), PY = /* @__PURE__ */ H({
44361
44361
  __name: "CustomToaster",
44362
44362
  setup(r) {
44363
- return (e, t) => (k(), W(S($P), { toastOptions: { className: "toaster" } }));
44363
+ const e = le(!1);
44364
+ return ds(() => e.value = !0), (t, n) => e.value ? (k(), W(S($P), {
44365
+ key: 0,
44366
+ toastOptions: { className: "toaster" }
44367
+ })) : B("", !0);
44364
44368
  }
44365
44369
  }), _Y = `{
44366
44370
  "openapi": "3.0.2",
@@ -45558,7 +45562,7 @@ const wU = /* @__PURE__ */ H({
45558
45562
  }
45559
45563
  }
45560
45564
  }
45561
- `, xY = (r) => ($t("data-v-d15d286f"), r = r(), Pt(), r), QY = { class: "start custom-scroll" }, TY = { class: "start-copy" }, CY = /* @__PURE__ */ ds('<div class="start-logo" data-v-d15d286f><svg height="36" viewBox="0 0 36 36" width="36" xmlns="http://www.w3.org/2000/svg" data-v-d15d286f><path d="M18 0a18 18 0 1 1 0 36 18 18 0 0 1 0-36Zm11.2 6.5c-3.3-3.3-11.1-1-17.4 5.3-6.2 6.3-8.6 14-5.3 17.4 3.3 3.3 11 .9 17.3-5.4 6.3-6.2 8.7-14 5.4-17.3ZM17.6 12a6.3 6.3 0 1 1 0 12.7 6.3 6.3 0 0 1 0-12.7Z" fill="currentColor" fill-rule="evenodd" data-v-d15d286f></path></svg></div><h1 class="start-h1" data-v-d15d286f>Swagger Editor</h1><p class="start-p" data-v-d15d286f> Welcome to the Scalar API References + Swagger Editor, a Free &amp; Open-Source tool that takes your Swagger/OAS file and generates Beautiful API references. </p>', 3), AY = { class: "start-cta" }, EY = { class: "start-row" }, RY = /* @__PURE__ */ ds('<div class="start-section" data-v-d15d286f><div class="start-h2" data-v-d15d286f>INTEGRATIONS</div><a class="start-item" href="https://github.com/scalar/scalar/tree/main/packages/fastify-api-reference#readme" target="_blank" data-v-d15d286f><svg fill="currentColor" height="16" viewBox="0 0 19 16" width="19" xmlns="http://www.w3.org/2000/svg" data-v-d15d286f><path d="m18.2 3.1.8-2V.9l-4.7 1.3C15.2 1 15 0 15 0s-2.5 1.6-4.3 1.5c-2 0-3.6.8-4 1-1.8 1.2-2.5 3.3-3.2 3.8L0 8.9 2.3 8l-2 2.5c.2.3 1.2 1.6 2.1 1.3l.4-.1 1.6.5-.7-1 .2-.2.9.3-.1-.8.9.3-.1-.8.3-.1 1-3.5 3.7-2.6-.3.7A4 4 0 0 1 8 7l-.6.2c-.5.5-.7.7-.8 2.5a2 2 0 0 1 1 0c1.6.4 2.2 2.3 1.7 2.9l-.7.6H8v.6h-.7v.5l-.2.2c-.7 0-1.4-.6-1.4-.6 0 .5.4 1.3.4 1.3s1.7 1.1 2.7.7c1-.4.7-2.3 2.8-3.2l3.3-.9.8-2.2-1.7.5v-2l2.5-.6.9-2.2-3.4.9v-2l4.2-1.1Z" fill="currentColor" fill-rule="nonzero" data-v-d15d286f></path></svg><span data-v-d15d286f>Fastify</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#from-a-cdn" target="_blank" data-v-d15d286f><svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" data-v-d15d286f><g data-v-d15d286f><path d="M22.5 1.5h-21A1.5 1.5 0 0 0 0 3v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 6V3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3A1.25 1.25 0 1 1 4.5 5.75 1.25 1.25 0 0 1 3.25 4.5ZM8.5 5.75A1.25 1.25 0 1 1 9.75 4.5 1.25 1.25 0 0 1 8.5 5.75Z" fill="currentColor" data-v-d15d286f></path><path d="M22.5 9h-21A1.5 1.5 0 0 0 0 10.5v3A1.5 1.5 0 0 0 1.5 15h21a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 22.5 9ZM3.25 12a1.25 1.25 0 1 1 1.25 1.25A1.25 1.25 0 0 1 3.25 12Zm5.25 1.25A1.25 1.25 0 1 1 9.75 12a1.25 1.25 0 0 1-1.25 1.25Z" fill="currentColor" data-v-d15d286f></path><path d="M22.5 16.5h-21A1.5 1.5 0 0 0 0 18v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 21v-3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3a1.25 1.25 0 1 1 1.25 1.25 1.25 1.25 0 0 1-1.25-1.25Zm5.25 1.25a1.25 1.25 0 1 1 1.25-1.25 1.25 1.25 0 0 1-1.25 1.25Z" fill="currentColor" data-v-d15d286f></path></g></svg><span data-v-d15d286f>CDN</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-vuejs" target="_blank" data-v-d15d286f><svg height="170" viewBox="0 0 196.3 170" width="196.3" xmlns="http://www.w3.org/2000/svg" data-v-d15d286f><g fill="currentColor" fill-rule="nonzero" data-v-d15d286f><polygon points="39.23 0 0 0 2.9450761 5.1010782 98.16 170.02 196.32 0 157.06 0 98.16 102.01 42.175701 5.0991171" data-v-d15d286f></polygon><polygon points="75.5 2.009956e-14 0 2.009956e-14 2.94 5.1 78.44871 5.1 98.16 39.26 117.87937 5.1 193.38 5.1 196.325 0 120.82 7.8065636e-15 114.97322 2.009956e-14 98.16 29.037153 81.35 2.009956e-14" data-v-d15d286f></polygon></g></svg><span data-v-d15d286f>Vue</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-react" target="_blank" data-v-d15d286f><svg height="23.3" viewBox="0 0 22 23.3" width="22" xmlns="http://www.w3.org/2000/svg" data-v-d15d286f><g fill="none" fill-rule="evenodd" data-v-d15d286f><circle cx="11" cy="11.6" fill="currentColor" fill-rule="nonzero" r="2" data-v-d15d286f></circle><g stroke="currentColor" data-v-d15d286f><ellipse cx="11" cy="11.6" rx="11" ry="4.2" data-v-d15d286f></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(60 11 11.6)" data-v-d15d286f></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(120 11 11.6)" data-v-d15d286f></ellipse></g></g></svg><span data-v-d15d286f>React</span></a></div>', 1), ZY = { class: "start-section start-section-colors" }, IY = /* @__PURE__ */ xY(() => /* @__PURE__ */ R("p", { class: "start-h2" }, "THEMING", -1)), jY = ["onClick"], NY = /* @__PURE__ */ ds('<p class="start-h1" data-v-d15d286f>Features</p><ul class="start-ul" data-v-d15d286f><li data-v-d15d286f><p class="start-h3" data-v-d15d286f>Customize</p> Bring your typography &amp; color palettes, or use our themes! </li><li data-v-d15d286f><p class="start-h3" data-v-d15d286f>Testing</p> A deeply integrated Rest API Client (Also Free &amp; Open-Source) </li><li data-v-d15d286f><p class="start-h3" data-v-d15d286f>Search</p> Fully integrated Search (Using fuse.js) </li><li data-v-d15d286f><p class="start-h3" data-v-d15d286f>Hosting</p> Free subdomain hosting on https://apidocumentation.com </li><li data-v-d15d286f><p class="start-h3" data-v-d15d286f>OpenAPI &amp; Swagger</p> Support for OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0 </li><li data-v-d15d286f><p class="start-h3" data-v-d15d286f>Code Samples</p> Code samples to show off your API in most popular languages </li></ul>', 2), DY = /* @__PURE__ */ H({
45565
+ `, xY = (r) => ($t("data-v-d15d286f"), r = r(), Pt(), r), QY = { class: "start custom-scroll" }, TY = { class: "start-copy" }, CY = /* @__PURE__ */ us('<div class="start-logo" data-v-d15d286f><svg height="36" viewBox="0 0 36 36" width="36" xmlns="http://www.w3.org/2000/svg" data-v-d15d286f><path d="M18 0a18 18 0 1 1 0 36 18 18 0 0 1 0-36Zm11.2 6.5c-3.3-3.3-11.1-1-17.4 5.3-6.2 6.3-8.6 14-5.3 17.4 3.3 3.3 11 .9 17.3-5.4 6.3-6.2 8.7-14 5.4-17.3ZM17.6 12a6.3 6.3 0 1 1 0 12.7 6.3 6.3 0 0 1 0-12.7Z" fill="currentColor" fill-rule="evenodd" data-v-d15d286f></path></svg></div><h1 class="start-h1" data-v-d15d286f>Swagger Editor</h1><p class="start-p" data-v-d15d286f> Welcome to the Scalar API References + Swagger Editor, a Free &amp; Open-Source tool that takes your Swagger/OAS file and generates Beautiful API references. </p>', 3), AY = { class: "start-cta" }, EY = { class: "start-row" }, RY = /* @__PURE__ */ us('<div class="start-section" data-v-d15d286f><div class="start-h2" data-v-d15d286f>INTEGRATIONS</div><a class="start-item" href="https://github.com/scalar/scalar/tree/main/packages/fastify-api-reference#readme" target="_blank" data-v-d15d286f><svg fill="currentColor" height="16" viewBox="0 0 19 16" width="19" xmlns="http://www.w3.org/2000/svg" data-v-d15d286f><path d="m18.2 3.1.8-2V.9l-4.7 1.3C15.2 1 15 0 15 0s-2.5 1.6-4.3 1.5c-2 0-3.6.8-4 1-1.8 1.2-2.5 3.3-3.2 3.8L0 8.9 2.3 8l-2 2.5c.2.3 1.2 1.6 2.1 1.3l.4-.1 1.6.5-.7-1 .2-.2.9.3-.1-.8.9.3-.1-.8.3-.1 1-3.5 3.7-2.6-.3.7A4 4 0 0 1 8 7l-.6.2c-.5.5-.7.7-.8 2.5a2 2 0 0 1 1 0c1.6.4 2.2 2.3 1.7 2.9l-.7.6H8v.6h-.7v.5l-.2.2c-.7 0-1.4-.6-1.4-.6 0 .5.4 1.3.4 1.3s1.7 1.1 2.7.7c1-.4.7-2.3 2.8-3.2l3.3-.9.8-2.2-1.7.5v-2l2.5-.6.9-2.2-3.4.9v-2l4.2-1.1Z" fill="currentColor" fill-rule="nonzero" data-v-d15d286f></path></svg><span data-v-d15d286f>Fastify</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#from-a-cdn" target="_blank" data-v-d15d286f><svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" data-v-d15d286f><g data-v-d15d286f><path d="M22.5 1.5h-21A1.5 1.5 0 0 0 0 3v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 6V3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3A1.25 1.25 0 1 1 4.5 5.75 1.25 1.25 0 0 1 3.25 4.5ZM8.5 5.75A1.25 1.25 0 1 1 9.75 4.5 1.25 1.25 0 0 1 8.5 5.75Z" fill="currentColor" data-v-d15d286f></path><path d="M22.5 9h-21A1.5 1.5 0 0 0 0 10.5v3A1.5 1.5 0 0 0 1.5 15h21a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 22.5 9ZM3.25 12a1.25 1.25 0 1 1 1.25 1.25A1.25 1.25 0 0 1 3.25 12Zm5.25 1.25A1.25 1.25 0 1 1 9.75 12a1.25 1.25 0 0 1-1.25 1.25Z" fill="currentColor" data-v-d15d286f></path><path d="M22.5 16.5h-21A1.5 1.5 0 0 0 0 18v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 21v-3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3a1.25 1.25 0 1 1 1.25 1.25 1.25 1.25 0 0 1-1.25-1.25Zm5.25 1.25a1.25 1.25 0 1 1 1.25-1.25 1.25 1.25 0 0 1-1.25 1.25Z" fill="currentColor" data-v-d15d286f></path></g></svg><span data-v-d15d286f>CDN</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-vuejs" target="_blank" data-v-d15d286f><svg height="170" viewBox="0 0 196.3 170" width="196.3" xmlns="http://www.w3.org/2000/svg" data-v-d15d286f><g fill="currentColor" fill-rule="nonzero" data-v-d15d286f><polygon points="39.23 0 0 0 2.9450761 5.1010782 98.16 170.02 196.32 0 157.06 0 98.16 102.01 42.175701 5.0991171" data-v-d15d286f></polygon><polygon points="75.5 2.009956e-14 0 2.009956e-14 2.94 5.1 78.44871 5.1 98.16 39.26 117.87937 5.1 193.38 5.1 196.325 0 120.82 7.8065636e-15 114.97322 2.009956e-14 98.16 29.037153 81.35 2.009956e-14" data-v-d15d286f></polygon></g></svg><span data-v-d15d286f>Vue</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-react" target="_blank" data-v-d15d286f><svg height="23.3" viewBox="0 0 22 23.3" width="22" xmlns="http://www.w3.org/2000/svg" data-v-d15d286f><g fill="none" fill-rule="evenodd" data-v-d15d286f><circle cx="11" cy="11.6" fill="currentColor" fill-rule="nonzero" r="2" data-v-d15d286f></circle><g stroke="currentColor" data-v-d15d286f><ellipse cx="11" cy="11.6" rx="11" ry="4.2" data-v-d15d286f></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(60 11 11.6)" data-v-d15d286f></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(120 11 11.6)" data-v-d15d286f></ellipse></g></g></svg><span data-v-d15d286f>React</span></a></div>', 1), ZY = { class: "start-section start-section-colors" }, IY = /* @__PURE__ */ xY(() => /* @__PURE__ */ R("p", { class: "start-h2" }, "THEMING", -1)), jY = ["onClick"], NY = /* @__PURE__ */ us('<p class="start-h1" data-v-d15d286f>Features</p><ul class="start-ul" data-v-d15d286f><li data-v-d15d286f><p class="start-h3" data-v-d15d286f>Customize</p> Bring your typography &amp; color palettes, or use our themes! </li><li data-v-d15d286f><p class="start-h3" data-v-d15d286f>Testing</p> A deeply integrated Rest API Client (Also Free &amp; Open-Source) </li><li data-v-d15d286f><p class="start-h3" data-v-d15d286f>Search</p> Fully integrated Search (Using fuse.js) </li><li data-v-d15d286f><p class="start-h3" data-v-d15d286f>Hosting</p> Free subdomain hosting on https://apidocumentation.com </li><li data-v-d15d286f><p class="start-h3" data-v-d15d286f>OpenAPI &amp; Swagger</p> Support for OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0 </li><li data-v-d15d286f><p class="start-h3" data-v-d15d286f>Code Samples</p> Code samples to show off your API in most popular languages </li></ul>', 2), DY = /* @__PURE__ */ H({
45562
45566
  __name: "GettingStarted",
45563
45567
  props: {
45564
45568
  theme: {}
@@ -45639,7 +45643,7 @@ const wU = /* @__PURE__ */ H({
45639
45643
  t((v) => {
45640
45644
  PP(v);
45641
45645
  });
45642
- const n = kd("(min-width: 1150px)"), s = de("100dvh"), i = de(null);
45646
+ const n = kd("(min-width: 1150px)"), s = le("100dvh"), i = le(null);
45643
45647
  fP(i, (v) => {
45644
45648
  s.value = v[0].contentRect.height + "px";
45645
45649
  });
@@ -45663,7 +45667,7 @@ const wU = /* @__PURE__ */ H({
45663
45667
  var $;
45664
45668
  m.value = !1, O(), v ? id(v) : ($ = i.value) == null || $.scrollTo(0, 0), await cs(100), m.value = !0;
45665
45669
  };
45666
- Ks(() => {
45670
+ ds(() => {
45667
45671
  e$.on(() => ZW(e.rawSpec)), window.onhashchange = () => y(decodeURIComponent(window.location.hash.replace(/^#/, ""))), window.onpopstate = () => g.value && y(u(window.location.pathname));
45668
45672
  });
45669
45673
  const b = se(
@@ -45731,7 +45735,7 @@ const wU = /* @__PURE__ */ H({
45731
45735
  ]]),
45732
45736
  style: io({ "--full-height": s.value }),
45733
45737
  onScrollPassive: $[4] || ($[4] = //@ts-ignore
45734
- (...le) => S(w) && S(w)(...le))
45738
+ (...ce) => S(w) && S(w)(...ce))
45735
45739
  }, [
45736
45740
  R("div", XY, [
45737
45741
  te(v.$slots, "header", kr($r(P.value)), void 0, !0)
@@ -45754,7 +45758,7 @@ const wU = /* @__PURE__ */ H({
45754
45758
  te(v.$slots, "editor", kr($r(P.value)), void 0, !0)
45755
45759
  ])
45756
45760
  ], 512), [
45757
- [Ws, v.configuration.isEditable]
45761
+ [Vs, v.configuration.isEditable]
45758
45762
  ]),
45759
45763
  b.value ? (k(), Q(J, { key: 1 }, [
45760
45764
  R("div", UY, [
@@ -45774,10 +45778,10 @@ const wU = /* @__PURE__ */ H({
45774
45778
  (U = v.configuration) != null && U.isEditable ? {
45775
45779
  name: "empty-state",
45776
45780
  fn: T(() => {
45777
- var le;
45781
+ var ce;
45778
45782
  return [
45779
45783
  I(MY, {
45780
- theme: ((le = v.configuration) == null ? void 0 : le.theme) || "default",
45784
+ theme: ((ce = v.configuration) == null ? void 0 : ce.theme) || "default",
45781
45785
  onChangeTheme: $[0] || ($[0] = (ne) => v.$emit("changeTheme", ne)),
45782
45786
  onLinkSwaggerFile: $[1] || ($[1] = (ne) => v.$emit("linkSwaggerFile")),
45783
45787
  onLoadSwaggerFile: $[2] || ($[2] = (ne) => v.$emit("loadSwaggerFile")),
@@ -45925,7 +45929,7 @@ const uL = (r) => ($t("data-v-56e62a70"), r = r(), Pt(), r), hL = {
45925
45929
  modalState: {}
45926
45930
  },
45927
45931
  setup(r) {
45928
- const e = r, t = Lr(e, "parsedSpec"), n = Sd(), s = de([]), i = de([]), o = de(0), a = de(""), l = de(null), c = new ZP(s.value, {
45932
+ const e = r, t = Lr(e, "parsedSpec"), n = Sd(), s = le([]), i = le([]), o = le(0), a = le(""), l = le(null), c = new ZP(s.value, {
45929
45933
  keys: ["title", "description", "body"]
45930
45934
  }), d = () => {
45931
45935
  o.value = 0, i.value = c.search(a.value);
@@ -45942,8 +45946,8 @@ const uL = (r) => ($t("data-v-56e62a70"), r = r(), Pt(), r), hL = {
45942
45946
  Ie(
45943
45947
  t.value,
45944
45948
  async () => {
45945
- var le, ne, ke, Re, Me, _e;
45946
- if (s.value = [], !((ne = (le = e.parsedSpec) == null ? void 0 : le.tags) != null && ne.length) && !((ke = e.parsedSpec) != null && ke.webhooks)) {
45949
+ var ce, ne, ke, Re, Me, _e;
45950
+ if (s.value = [], !((ne = (ce = e.parsedSpec) == null ? void 0 : ce.tags) != null && ne.length) && !((ke = e.parsedSpec) != null && ke.webhooks)) {
45947
45951
  c.setCollection([]);
45948
45952
  return;
45949
45953
  }
@@ -46080,7 +46084,7 @@ const uL = (r) => ($t("data-v-56e62a70"), r = r(), Pt(), r), hL = {
46080
46084
  onClick: (U) => P(C),
46081
46085
  onFocus: (U) => o.value = X
46082
46086
  }, [
46083
- I(S(hs), {
46087
+ I(S(fs), {
46084
46088
  as: "div",
46085
46089
  class: "item-entry-http-verb",
46086
46090
  method: C.item.httpVerb ?? "get",
@@ -46300,7 +46304,7 @@ const uL = (r) => ($t("data-v-56e62a70"), r = r(), Pt(), r), hL = {
46300
46304
  { immediate: !0 }
46301
46305
  );
46302
46306
  }
46303
- const { setAuthentication: a } = us();
46307
+ const { setAuthentication: a } = hs();
46304
46308
  o("authentication", a);
46305
46309
  const { setExcludedClients: l } = yl();
46306
46310
  o("hiddenClients", l);