@scalar/api-reference 1.22.51 → 1.22.53
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/CHANGELOG.md +18 -0
- package/dist/browser/standalone.js +4 -4
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
- package/dist/esm.d.ts +2 -0
- package/dist/esm.d.ts.map +1 -1
- package/dist/{index-D8LAyo3Q.js → index-Bb3Mdphw.js} +692 -677
- package/dist/{index-DfQWCuu_.cjs → index-DWM5ulzV.cjs} +2 -2
- package/dist/{index-BwS1Ev_W.cjs → index-DmTHbZ53.cjs} +35 -35
- package/dist/{index-DrSm8-mz.js → index-DwSL-6br.js} +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/package.json +6 -6
|
@@ -2,7 +2,7 @@ import './index.css';
|
|
|
2
2
|
var Rw = Object.defineProperty;
|
|
3
3
|
var Lw = (r, e, t) => e in r ? Rw(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
4
4
|
var Fp = (r, e, t) => (Lw(r, typeof e != "symbol" ? e + "" : e, t), t);
|
|
5
|
-
import { defineComponent as Q, openBlock as k, createBlock as z, resolveDynamicComponent as br, unref as $, createElementBlock as A, Fragment as Z, createCommentVNode as K, withCtx as N, createTextVNode as
|
|
5
|
+
import { defineComponent as Q, openBlock as k, createBlock as z, resolveDynamicComponent as br, unref as $, createElementBlock as A, Fragment as Z, createCommentVNode as K, withCtx as N, createTextVNode as J, toDisplayString as ee, onMounted as vr, useCssModule as E0, renderSlot as re, reactive as $r, readonly as $h, ref as ie, computed as ne, normalizeStyle as ns, normalizeProps as cr, guardReactiveProps as ur, createElementVNode as F, createVNode as L, normalizeClass as xe, shallowRef as jw, watch as je, getCurrentScope as Bw, onScopeDispose as Vw, shallowReadonly as Ln, useAttrs as xo, mergeProps as Cn, nextTick as _i, onServerPrefetch as En, useSSRContext as na, defineAsyncComponent as A0, useCssVars as Fw, createStaticVNode as oa, Teleport as zw, renderList as Se, pushScopeId as Pt, popScopeId as It, withModifiers as ia, onUnmounted as O0, watchEffect as xi, toValue as zp, withDirectives as Co, vShow as pc, inject as _h, createSlots as aa, vModelSelect as qw, vModelCheckbox as Hw, onBeforeMount as Kw, getCurrentInstance as Uw, provide as qp, toRef as Qu, isRef as Ww, createApp as Gw } from "vue";
|
|
6
6
|
import { Dialog as Jw, DialogPanel as Yw, DialogTitle as Xw, DialogDescription as Qw, Listbox as Zw, ListboxButton as ek, ListboxOptions as tk, ListboxOption as rk, Disclosure as xh, DisclosureButton as Ch, DisclosurePanel as Eh, TabGroup as sk, TabList as nk, Tab as ok, provideUseId as ik } from "@headlessui/vue";
|
|
7
7
|
import { useEventBus as Ah, useMediaQuery as Oh, useIntersectionObserver as ak, useElementHover as lk, computedAsync as ck, useMutationObserver as uk, useResizeObserver as dk, useDebounceFn as hk, useMagicKeys as T0, whenever as gl } from "@vueuse/core";
|
|
8
8
|
import { AxiosHeaders as fk } from "axios";
|
|
@@ -39,7 +39,7 @@ const Ok = ":root{--scalar-text-decoration: underline;--scalar-text-decoration-h
|
|
|
39
39
|
e.withDefaultFonts ? (k(), z(Bk, { key: 0 })) : K("", !0),
|
|
40
40
|
e.id !== "none" ? (k(), z(br("style"), { key: 1 }, {
|
|
41
41
|
default: N(() => [
|
|
42
|
-
|
|
42
|
+
J(ee($(Zk)(e.id, { layer: "scalar-theme" })), 1)
|
|
43
43
|
]),
|
|
44
44
|
_: 1
|
|
45
45
|
})) : K("", !0)
|
|
@@ -2066,7 +2066,7 @@ const XS = {
|
|
|
2066
2066
|
}, {
|
|
2067
2067
|
default: N(() => [
|
|
2068
2068
|
re(o.$slots, "default", cr(ur({ normalized: t.value, abbreviated: s.value, color: n.value })), () => [
|
|
2069
|
-
|
|
2069
|
+
J(ee(o.short ? s.value : t.value), 1)
|
|
2070
2070
|
])
|
|
2071
2071
|
]),
|
|
2072
2072
|
_: 3
|
|
@@ -2529,7 +2529,7 @@ function Oi(r, e) {
|
|
|
2529
2529
|
let s = r.charCodeAt(e + 1);
|
|
2530
2530
|
return ry(s) ? (t - 55296 << 10) + (s - 56320) + 65536 : t;
|
|
2531
2531
|
}
|
|
2532
|
-
function
|
|
2532
|
+
function c6(r) {
|
|
2533
2533
|
return r <= 65535 ? String.fromCharCode(r) : (r -= 65536, String.fromCharCode((r >> 10) + 55296, (r & 1023) + 56320));
|
|
2534
2534
|
}
|
|
2535
2535
|
function nd(r) {
|
|
@@ -6563,12 +6563,12 @@ function Wy(r) {
|
|
|
6563
6563
|
return { left: e, right: t, top: s, bottom: n };
|
|
6564
6564
|
}
|
|
6565
6565
|
const yi = /* @__PURE__ */ pe.define();
|
|
6566
|
-
class
|
|
6566
|
+
class tr {
|
|
6567
6567
|
constructor(e, t, s, n) {
|
|
6568
6568
|
this.fromA = e, this.toA = t, this.fromB = s, this.toB = n;
|
|
6569
6569
|
}
|
|
6570
6570
|
join(e) {
|
|
6571
|
-
return new
|
|
6571
|
+
return new tr(Math.min(this.fromA, e.fromA), Math.max(this.toA, e.toA), Math.min(this.fromB, e.fromB), Math.max(this.toB, e.toB));
|
|
6572
6572
|
}
|
|
6573
6573
|
addToSet(e) {
|
|
6574
6574
|
let t = e.length, s = this;
|
|
@@ -6590,13 +6590,13 @@ class er {
|
|
|
6590
6590
|
let l = n == e.length ? null : e[n], c = i - a, u = l ? l.fromB : 1e9;
|
|
6591
6591
|
for (; o < t.length && t[o] < u; ) {
|
|
6592
6592
|
let d = t[o], h = t[o + 1], f = Math.max(a, d), p = Math.min(u, h);
|
|
6593
|
-
if (f <= p && new
|
|
6593
|
+
if (f <= p && new tr(f + c, p + c, f, p).addToSet(s), h > u)
|
|
6594
6594
|
break;
|
|
6595
6595
|
o += 2;
|
|
6596
6596
|
}
|
|
6597
6597
|
if (!l)
|
|
6598
6598
|
return s;
|
|
6599
|
-
new
|
|
6599
|
+
new tr(l.fromA, l.toA, l.fromB, l.toB).addToSet(s), i = l.toA, a = l.toB;
|
|
6600
6600
|
}
|
|
6601
6601
|
}
|
|
6602
6602
|
}
|
|
@@ -6606,7 +6606,7 @@ class ql {
|
|
|
6606
6606
|
for (let o of s)
|
|
6607
6607
|
this.changes = this.changes.compose(o.changes);
|
|
6608
6608
|
let n = [];
|
|
6609
|
-
this.changes.iterChangedRanges((o, i, a, l) => n.push(new
|
|
6609
|
+
this.changes.iterChangedRanges((o, i, a, l) => n.push(new tr(o, i, a, l))), this.changedRanges = n;
|
|
6610
6610
|
}
|
|
6611
6611
|
/**
|
|
6612
6612
|
@internal
|
|
@@ -6666,7 +6666,7 @@ class gm extends Ge {
|
|
|
6666
6666
|
return this.view.state.doc.length;
|
|
6667
6667
|
}
|
|
6668
6668
|
constructor(e) {
|
|
6669
|
-
super(), this.view = e, this.decorations = [], this.dynamicDecorationMap = [], this.domChanged = null, this.hasComposition = null, this.markedForComposition = /* @__PURE__ */ new Set(), this.minWidth = 0, this.minWidthFrom = 0, this.minWidthTo = 0, this.impreciseAnchor = null, this.impreciseHead = null, this.forceSelection = !1, this.lastUpdate = Date.now(), this.setDOM(e.contentDOM), this.children = [new lt()], this.children[0].setParent(this), this.updateDeco(), this.updateInner([new
|
|
6669
|
+
super(), this.view = e, this.decorations = [], this.dynamicDecorationMap = [], this.domChanged = null, this.hasComposition = null, this.markedForComposition = /* @__PURE__ */ new Set(), this.minWidth = 0, this.minWidthFrom = 0, this.minWidthTo = 0, this.impreciseAnchor = null, this.impreciseHead = null, this.forceSelection = !1, this.lastUpdate = Date.now(), this.setDOM(e.contentDOM), this.children = [new lt()], this.children[0].setParent(this), this.updateDeco(), this.updateInner([new tr(0, 0, 0, e.state.doc.length)], 0, null);
|
|
6670
6670
|
}
|
|
6671
6671
|
// Update the document view to a given state.
|
|
6672
6672
|
update(e) {
|
|
@@ -6679,11 +6679,11 @@ class gm extends Ge {
|
|
|
6679
6679
|
if (this.domChanged = null, this.hasComposition) {
|
|
6680
6680
|
this.markedForComposition.clear();
|
|
6681
6681
|
let { from: c, to: u } = this.hasComposition;
|
|
6682
|
-
s = new
|
|
6682
|
+
s = new tr(c, u, e.changes.mapPos(c, -1), e.changes.mapPos(u, 1)).addToSet(s.slice());
|
|
6683
6683
|
}
|
|
6684
6684
|
this.hasComposition = o ? { from: o.range.fromB, to: o.range.toB } : null, (le.ie || le.chrome) && !o && e && e.state.doc.lines != e.startState.doc.lines && (this.forceSelection = !0);
|
|
6685
6685
|
let i = this.decorations, a = this.updateDeco(), l = W2(i, a, e.changes);
|
|
6686
|
-
return s =
|
|
6686
|
+
return s = tr.extendWithRanges(s, l), !(this.flags & 7) && s.length == 0 ? !1 : (this.updateInner(s, e.startState.doc.length, o), e.transactions.length && (this.lastUpdate = Date.now()), !0);
|
|
6687
6687
|
}
|
|
6688
6688
|
// Used by update and the constructor do perform the actual DOM
|
|
6689
6689
|
// update
|
|
@@ -7028,7 +7028,7 @@ function H2(r, e, t) {
|
|
|
7028
7028
|
let { node: n, from: o, to: i } = s, a = n.nodeValue;
|
|
7029
7029
|
if (/[\n\r]/.test(a) || r.state.doc.sliceString(s.from, s.to) != a)
|
|
7030
7030
|
return null;
|
|
7031
|
-
let l = e.invertedDesc, c = new
|
|
7031
|
+
let l = e.invertedDesc, c = new tr(l.mapPos(o), l.mapPos(i), o, i), u = [];
|
|
7032
7032
|
for (let d = n.parentNode; ; d = d.parentNode) {
|
|
7033
7033
|
let h = Ge.get(d);
|
|
7034
7034
|
if (h instanceof as)
|
|
@@ -8333,7 +8333,7 @@ class Mm {
|
|
|
8333
8333
|
constructor(e) {
|
|
8334
8334
|
this.state = e, this.pixelViewport = { left: 0, right: window.innerWidth, top: 0, bottom: 0 }, this.inView = !0, this.paddingTop = 0, this.paddingBottom = 0, this.contentDOMWidth = 0, this.contentDOMHeight = 0, this.editorHeight = 0, this.editorWidth = 0, this.scrollTop = 0, this.scrolledToBottom = !0, this.scaleX = 1, this.scaleY = 1, this.scrollAnchorPos = 0, this.scrollAnchorHeight = -1, this.scaler = Dm, this.scrollTarget = null, this.printing = !1, this.mustMeasureContent = !0, this.defaultTextDirection = ct.LTR, this.visibleRanges = [], this.mustEnforceCursorAssoc = !1;
|
|
8335
8335
|
let t = e.facet(Xh).some((s) => typeof s != "function" && s.class == "cm-lineWrapping");
|
|
8336
|
-
this.heightOracle = new S$(t), this.stateDeco = e.facet(Gi).filter((s) => typeof s != "function"), this.heightMap = Tt.empty().applyChanges(this.stateDeco, Le.empty, this.heightOracle.setDoc(e.doc), [new
|
|
8336
|
+
this.heightOracle = new S$(t), this.stateDeco = e.facet(Gi).filter((s) => typeof s != "function"), this.heightMap = Tt.empty().applyChanges(this.stateDeco, Le.empty, this.heightOracle.setDoc(e.doc), [new tr(0, 0, 0, e.doc.length)]), this.viewport = this.getViewport(0, null), this.updateViewportLines(), this.updateForViewport(), this.lineGaps = this.ensureLineGaps([]), this.lineGapDeco = Je.set(this.lineGaps.map((s) => s.draw(this, !1))), this.computeVisibleRanges();
|
|
8337
8337
|
}
|
|
8338
8338
|
updateForViewport() {
|
|
8339
8339
|
let e = [this.viewport], { main: t } = this.state.selection;
|
|
@@ -8355,7 +8355,7 @@ class Mm {
|
|
|
8355
8355
|
this.state = e.state;
|
|
8356
8356
|
let s = this.stateDeco;
|
|
8357
8357
|
this.stateDeco = this.state.facet(Gi).filter((u) => typeof u != "function");
|
|
8358
|
-
let n = e.changedRanges, o =
|
|
8358
|
+
let n = e.changedRanges, o = tr.extendWithRanges(n, C$(s, this.stateDeco, e ? e.changes : ft.empty(this.state.doc.length))), i = this.heightMap.height, a = this.scrolledToBottom ? null : this.scrollAnchorAt(this.scrollTop);
|
|
8359
8359
|
this.heightMap = this.heightMap.applyChanges(this.stateDeco, e.startState.doc, this.heightOracle.setDoc(this.state.doc), o), this.heightMap.height != i && (e.flags |= 2), a ? (this.scrollAnchorPos = e.changes.mapPos(a.from, -1), this.scrollAnchorHeight = a.top) : (this.scrollAnchorPos = -1, this.scrollAnchorHeight = this.heightMap.height);
|
|
8360
8360
|
let l = o.length ? this.mapViewport(this.viewport, e.changes) : this.viewport;
|
|
8361
8361
|
(t && (t.range.head < l.from || t.range.head > l.to) || !this.viewportIsAppropriate(l)) && (l = this.getViewport(0, t));
|
|
@@ -8391,7 +8391,7 @@ class Mm {
|
|
|
8391
8391
|
g > 0 && m > 0 ? u = Math.max(g, m) : g < 0 && m < 0 && (u = Math.min(g, m)), n.heightChanged = !1;
|
|
8392
8392
|
for (let _ of this.viewports) {
|
|
8393
8393
|
let w = _.from == this.viewport.from ? S : e.docView.measureVisibleLineHeights(_);
|
|
8394
|
-
this.heightMap = (i ? Tt.empty().applyChanges(this.stateDeco, Le.empty, this.heightOracle, [new
|
|
8394
|
+
this.heightMap = (i ? Tt.empty().applyChanges(this.stateDeco, Le.empty, this.heightOracle, [new tr(0, 0, 0, e.state.doc.length)]) : this.heightMap).updateHeight(n, 0, i, new $$(_.from, w));
|
|
8395
8395
|
}
|
|
8396
8396
|
n.heightChanged && (c |= 2);
|
|
8397
8397
|
}
|
|
@@ -10327,7 +10327,7 @@ const xl = /* @__PURE__ */ pe.define({
|
|
|
10327
10327
|
return (e.replaceTabs = !n_()) && (e.specialChars = new RegExp(" |" + e.specialChars.source, Md)), e.addSpecialChars && (e.specialChars = new RegExp(e.specialChars.source + "|" + e.addSpecialChars.source, Md)), e;
|
|
10328
10328
|
}
|
|
10329
10329
|
});
|
|
10330
|
-
function
|
|
10330
|
+
function d6(r = {}) {
|
|
10331
10331
|
return [xl.of(r), o_()];
|
|
10332
10332
|
}
|
|
10333
10333
|
let Hm = null;
|
|
@@ -10648,7 +10648,7 @@ const ku = /* @__PURE__ */ pe.define({
|
|
|
10648
10648
|
}), f_ = { x: 0, y: 0 }, p_ = /* @__PURE__ */ pe.define({
|
|
10649
10649
|
enables: [hb, h_]
|
|
10650
10650
|
});
|
|
10651
|
-
function
|
|
10651
|
+
function h6(r, e) {
|
|
10652
10652
|
let t = r.plugin(hb);
|
|
10653
10653
|
if (!t)
|
|
10654
10654
|
return null;
|
|
@@ -10928,7 +10928,7 @@ const w_ = /* @__PURE__ */ Cl.compute([Jn], (r) => ({
|
|
|
10928
10928
|
},
|
|
10929
10929
|
domEventHandlers: r.facet(Jn).domEventHandlers
|
|
10930
10930
|
}));
|
|
10931
|
-
function
|
|
10931
|
+
function f6(r = {}) {
|
|
10932
10932
|
return [
|
|
10933
10933
|
Jn.of(r),
|
|
10934
10934
|
m_(),
|
|
@@ -10943,7 +10943,7 @@ function Gm(r) {
|
|
|
10943
10943
|
}
|
|
10944
10944
|
const k_ = 1024;
|
|
10945
10945
|
let S_ = 0;
|
|
10946
|
-
class
|
|
10946
|
+
class er {
|
|
10947
10947
|
constructor(e, t) {
|
|
10948
10948
|
this.from = e, this.to = t;
|
|
10949
10949
|
}
|
|
@@ -12022,8 +12022,8 @@ function E_(r) {
|
|
|
12022
12022
|
let { id: W, start: j, end: ue, size: ae } = a, me = u;
|
|
12023
12023
|
for (; ae < 0; )
|
|
12024
12024
|
if (a.next(), ae == -1) {
|
|
12025
|
-
let
|
|
12026
|
-
x.push(
|
|
12025
|
+
let Y = o[W];
|
|
12026
|
+
x.push(Y), T.push(j - _);
|
|
12027
12027
|
return;
|
|
12028
12028
|
} else if (ae == -3) {
|
|
12029
12029
|
c = W;
|
|
@@ -12035,16 +12035,16 @@ function E_(r) {
|
|
|
12035
12035
|
throw new RangeError(`Unrecognized record size: ${ae}`);
|
|
12036
12036
|
let Pe = l[W], De, Be, ve = j - _;
|
|
12037
12037
|
if (ue - j <= n && (Be = m(a.pos - w, R))) {
|
|
12038
|
-
let
|
|
12038
|
+
let Y = new Uint16Array(Be.size - Be.skip), M = a.pos - Be.size, q = Y.length;
|
|
12039
12039
|
for (; a.pos > M; )
|
|
12040
|
-
q = y(Be.start,
|
|
12041
|
-
De = new js(
|
|
12040
|
+
q = y(Be.start, Y, q);
|
|
12041
|
+
De = new js(Y, ue - Be.start, s), ve = Be.start - _;
|
|
12042
12042
|
} else {
|
|
12043
|
-
let
|
|
12043
|
+
let Y = a.pos - ae;
|
|
12044
12044
|
a.next();
|
|
12045
12045
|
let M = [], q = [], V = W >= i ? W : -1, C = 0, P = ue;
|
|
12046
|
-
for (; a.pos >
|
|
12047
|
-
V >= 0 && a.id == V && a.size >= 0 ? (a.end <= P - n && (p(M, q, j, C, a.end, P, V, me), C = M.length, P = a.end), a.next()) : B > 2500 ? h(j,
|
|
12046
|
+
for (; a.pos > Y; )
|
|
12047
|
+
V >= 0 && a.id == V && a.size >= 0 ? (a.end <= P - n && (p(M, q, j, C, a.end, P, V, me), C = M.length, P = a.end), a.next()) : B > 2500 ? h(j, Y, M, q) : d(j, Y, M, q, V, B + 1);
|
|
12048
12048
|
if (V >= 0 && C > 0 && C < M.length && p(M, q, j, C, j, P, V, me), M.reverse(), q.reverse(), V > -1 && C > 0) {
|
|
12049
12049
|
let D = f(Pe);
|
|
12050
12050
|
De = rf(Pe, M, q, 0, M.length, 0, ue - j, D, D);
|
|
@@ -12198,7 +12198,7 @@ function rf(r, e, t, s, n, o, i, a, l) {
|
|
|
12198
12198
|
}
|
|
12199
12199
|
return f(e, t, s, n, 0), (a || l)(d, h, i);
|
|
12200
12200
|
}
|
|
12201
|
-
class
|
|
12201
|
+
class p6 {
|
|
12202
12202
|
constructor() {
|
|
12203
12203
|
this.map = /* @__PURE__ */ new WeakMap();
|
|
12204
12204
|
}
|
|
@@ -12317,7 +12317,7 @@ class A_ {
|
|
|
12317
12317
|
case will start at `ranges[0].from`.
|
|
12318
12318
|
*/
|
|
12319
12319
|
startParse(e, t, s) {
|
|
12320
|
-
return typeof e == "string" && (e = new O_(e)), s = s ? s.length ? s.map((n) => new
|
|
12320
|
+
return typeof e == "string" && (e = new O_(e)), s = s ? s.length ? s.map((n) => new er(n.from, n.to)) : [new er(0, 0)] : [new er(0, e.length)], this.createParse(e, t || [], s);
|
|
12321
12321
|
}
|
|
12322
12322
|
/**
|
|
12323
12323
|
Run a full parse, returning the resulting tree.
|
|
@@ -12348,7 +12348,7 @@ class O_ {
|
|
|
12348
12348
|
return this.string.slice(e, t);
|
|
12349
12349
|
}
|
|
12350
12350
|
}
|
|
12351
|
-
function
|
|
12351
|
+
function m6(r) {
|
|
12352
12352
|
return (e, t, s, n) => new P_(e, r, t, s, n);
|
|
12353
12353
|
}
|
|
12354
12354
|
class Qm {
|
|
@@ -12431,11 +12431,11 @@ class P_ {
|
|
|
12431
12431
|
if (typeof o.overlay == "function")
|
|
12432
12432
|
t = new T_(o.parser, o.overlay, c, this.inner.length, n.from, n.tree, t);
|
|
12433
12433
|
else {
|
|
12434
|
-
let u = rg(this.ranges, o.overlay || (n.from < n.to ? [new
|
|
12435
|
-
u.length && Zm(u), (u.length || !o.overlay) && this.inner.push(new Qm(o.parser, u.length ? o.parser.startParse(this.input, sg(c, u), u) : o.parser.startParse(""), o.overlay ? o.overlay.map((d) => new
|
|
12434
|
+
let u = rg(this.ranges, o.overlay || (n.from < n.to ? [new er(n.from, n.to)] : []));
|
|
12435
|
+
u.length && Zm(u), (u.length || !o.overlay) && this.inner.push(new Qm(o.parser, u.length ? o.parser.startParse(this.input, sg(c, u), u) : o.parser.startParse(""), o.overlay ? o.overlay.map((d) => new er(d.from - n.from, d.to - n.from)) : null, n.tree, u.length ? u[0].from : n.from)), o.overlay ? u.length && (s = { ranges: u, depth: 0, prev: s }) : a = !1;
|
|
12436
12436
|
}
|
|
12437
12437
|
} else
|
|
12438
|
-
t && (l = t.predicate(n)) && (l === !0 && (l = new
|
|
12438
|
+
t && (l = t.predicate(n)) && (l === !0 && (l = new er(n.from, n.to)), l.from < l.to && t.ranges.push(l));
|
|
12439
12439
|
if (a && n.firstChild())
|
|
12440
12440
|
t && t.depth++, s && s.depth++;
|
|
12441
12441
|
else
|
|
@@ -12444,7 +12444,7 @@ class P_ {
|
|
|
12444
12444
|
break e;
|
|
12445
12445
|
if (t && !--t.depth) {
|
|
12446
12446
|
let c = rg(this.ranges, t.ranges);
|
|
12447
|
-
c.length && (Zm(c), this.inner.splice(t.index, 0, new Qm(t.parser, t.parser.startParse(this.input, sg(t.mounts, c), c), t.ranges.map((u) => new
|
|
12447
|
+
c.length && (Zm(c), this.inner.splice(t.index, 0, new Qm(t.parser, t.parser.startParse(this.input, sg(t.mounts, c), c), t.ranges.map((u) => new er(u.from - t.start, u.to - t.start)), t.target, c[0].from))), t = t.prev;
|
|
12448
12448
|
}
|
|
12449
12449
|
s && !--s.depth && (s = s.prev);
|
|
12450
12450
|
}
|
|
@@ -12563,7 +12563,7 @@ function rg(r, e) {
|
|
|
12563
12563
|
let l = s[o];
|
|
12564
12564
|
if (l.from >= a)
|
|
12565
12565
|
break;
|
|
12566
|
-
l.to <= i || (t || (s = t = e.slice()), l.from < i ? (t[o] = new
|
|
12566
|
+
l.to <= i || (t || (s = t = e.slice()), l.from < i ? (t[o] = new er(l.from, i), l.to > a && t.splice(o + 1, 0, new er(a, l.to))) : l.to > a ? t[o--] = new er(a, l.to) : t.splice(o--, 1));
|
|
12567
12567
|
}
|
|
12568
12568
|
}
|
|
12569
12569
|
return s;
|
|
@@ -12574,7 +12574,7 @@ function D_(r, e, t, s) {
|
|
|
12574
12574
|
let u = n == r.length ? 1e9 : i ? r[n].to : r[n].from, d = o == e.length ? 1e9 : a ? e[o].to : e[o].from;
|
|
12575
12575
|
if (i != a) {
|
|
12576
12576
|
let h = Math.max(l, t), f = Math.min(u, d, s);
|
|
12577
|
-
h < f && c.push(new
|
|
12577
|
+
h < f && c.push(new er(h, f));
|
|
12578
12578
|
}
|
|
12579
12579
|
if (l = Math.min(u, d), l == 1e9)
|
|
12580
12580
|
break;
|
|
@@ -12587,7 +12587,7 @@ function sg(r, e) {
|
|
|
12587
12587
|
for (let { pos: s, mount: n, frag: o } of r) {
|
|
12588
12588
|
let i = s + (n.overlay ? n.overlay[0].from : 0), a = i + n.tree.length, l = Math.max(o.from, i), c = Math.min(o.to, a);
|
|
12589
12589
|
if (n.overlay) {
|
|
12590
|
-
let u = n.overlay.map((h) => new
|
|
12590
|
+
let u = n.overlay.map((h) => new er(h.from + s, h.to + s)), d = D_(e, u, l, c);
|
|
12591
12591
|
for (let h = 0, f = l; ; h++) {
|
|
12592
12592
|
let p = h == d.length, g = p ? c : d[h].from;
|
|
12593
12593
|
if (g > f && t.push(new ts(f, g, n.tree, -i, o.from >= f || o.openStart, o.to <= g || o.openEnd)), p)
|
|
@@ -13614,7 +13614,7 @@ const Eu = typeof navigator < "u" && (!((Cu = navigator.scheduling) === null ||
|
|
|
13614
13614
|
})
|
|
13615
13615
|
]
|
|
13616
13616
|
});
|
|
13617
|
-
class
|
|
13617
|
+
class y6 {
|
|
13618
13618
|
/**
|
|
13619
13619
|
Create a language support object.
|
|
13620
13620
|
*/
|
|
@@ -13836,22 +13836,22 @@ function ox(r) {
|
|
|
13836
13836
|
a = l.to;
|
|
13837
13837
|
}
|
|
13838
13838
|
}
|
|
13839
|
-
function
|
|
13839
|
+
function b6({ closing: r, align: e = !0, units: t = 1 }) {
|
|
13840
13840
|
return (s) => xb(s, e, t, r);
|
|
13841
13841
|
}
|
|
13842
13842
|
function xb(r, e, t, s, n) {
|
|
13843
13843
|
let o = r.textAfter, i = o.match(/^\s*/)[0].length, a = s && o.slice(i, i + s.length) == s || n == r.pos + i, l = e ? ox(r) : null;
|
|
13844
13844
|
return l ? a ? r.column(l.from) : r.column(l.to) : r.baseIndent + (a ? 0 : r.unit * t);
|
|
13845
13845
|
}
|
|
13846
|
-
const
|
|
13847
|
-
function
|
|
13846
|
+
const v6 = (r) => r.baseIndent;
|
|
13847
|
+
function w6({ except: r, units: e = 1 } = {}) {
|
|
13848
13848
|
return (t) => {
|
|
13849
13849
|
let s = r && r.test(t.textAfter);
|
|
13850
13850
|
return t.baseIndent + (s ? 0 : e * t.unit);
|
|
13851
13851
|
};
|
|
13852
13852
|
}
|
|
13853
13853
|
const ix = 200;
|
|
13854
|
-
function
|
|
13854
|
+
function k6() {
|
|
13855
13855
|
return Me.transactionFilter.of((r) => {
|
|
13856
13856
|
if (!r.docChanged || !r.isUserEvent("input.type") && !r.isUserEvent("input.complete"))
|
|
13857
13857
|
return r;
|
|
@@ -13879,8 +13879,8 @@ function w6() {
|
|
|
13879
13879
|
return l.length ? [r, { changes: l, sequential: !0 }] : r;
|
|
13880
13880
|
});
|
|
13881
13881
|
}
|
|
13882
|
-
const
|
|
13883
|
-
function
|
|
13882
|
+
const S6 = /* @__PURE__ */ new Te();
|
|
13883
|
+
function $6(r) {
|
|
13884
13884
|
let e = r.firstChild, t = r.lastChild;
|
|
13885
13885
|
return e && e.to < t.from ? { from: e.to, to: t.type.isError ? r.to : t.from } : null;
|
|
13886
13886
|
}
|
|
@@ -13953,7 +13953,7 @@ class lx {
|
|
|
13953
13953
|
}
|
|
13954
13954
|
const cx = /* @__PURE__ */ Hh.high(/* @__PURE__ */ wr.fromClass(lx, {
|
|
13955
13955
|
decorations: (r) => r.decorations
|
|
13956
|
-
})),
|
|
13956
|
+
})), _6 = /* @__PURE__ */ fa.define([
|
|
13957
13957
|
{
|
|
13958
13958
|
tag: G.meta,
|
|
13959
13959
|
color: "#404740"
|
|
@@ -14069,7 +14069,7 @@ const px = /* @__PURE__ */ zs.define({
|
|
|
14069
14069
|
px,
|
|
14070
14070
|
ux
|
|
14071
14071
|
];
|
|
14072
|
-
function
|
|
14072
|
+
function x6(r = {}) {
|
|
14073
14073
|
return [Ob.of(r), mx];
|
|
14074
14074
|
}
|
|
14075
14075
|
const gx = /* @__PURE__ */ new Te();
|
|
@@ -14220,7 +14220,7 @@ var Sx = (r) => {
|
|
|
14220
14220
|
}), l = fa.define(s), c = [a, ax(l)];
|
|
14221
14221
|
return c;
|
|
14222
14222
|
};
|
|
14223
|
-
const
|
|
14223
|
+
const C6 = Sx({
|
|
14224
14224
|
theme: "light",
|
|
14225
14225
|
settings: {
|
|
14226
14226
|
background: "var(--scalar-background-2)",
|
|
@@ -14313,7 +14313,7 @@ const x6 = Sx({
|
|
|
14313
14313
|
class: "api-client-url-variable"
|
|
14314
14314
|
}
|
|
14315
14315
|
})
|
|
14316
|
-
}),
|
|
14316
|
+
}), E6 = () => wr.fromClass(
|
|
14317
14317
|
class {
|
|
14318
14318
|
constructor(r) {
|
|
14319
14319
|
Fp(this, "variables");
|
|
@@ -14367,7 +14367,7 @@ const x6 = Sx({
|
|
|
14367
14367
|
class: "modal-header"
|
|
14368
14368
|
}, {
|
|
14369
14369
|
default: N(() => [
|
|
14370
|
-
|
|
14370
|
+
J(ee(e.title), 1)
|
|
14371
14371
|
]),
|
|
14372
14372
|
_: 1
|
|
14373
14373
|
})) : K("", !0),
|
|
@@ -14485,7 +14485,7 @@ function Tx(r) {
|
|
|
14485
14485
|
r.http.basic.password
|
|
14486
14486
|
].filter(Boolean);
|
|
14487
14487
|
}
|
|
14488
|
-
const
|
|
14488
|
+
const A6 = Ah(Symbol()), Px = {}, Ix = { class: "card-form" };
|
|
14489
14489
|
function Nx(r, e) {
|
|
14490
14490
|
return k(), A("form", Ix, [
|
|
14491
14491
|
re(r.$slots, "default", {}, void 0, !0)
|
|
@@ -14510,7 +14510,7 @@ function jx(r, e) {
|
|
|
14510
14510
|
re(r.$slots, "default", {}, void 0, !0)
|
|
14511
14511
|
]);
|
|
14512
14512
|
}
|
|
14513
|
-
const hg = /* @__PURE__ */ oe(Rx, [["render", jx], ["__scopeId", "data-v-
|
|
14513
|
+
const hg = /* @__PURE__ */ oe(Rx, [["render", jx], ["__scopeId", "data-v-c2b3e8ed"]]);
|
|
14514
14514
|
function Nb(r) {
|
|
14515
14515
|
var e, t, s = "";
|
|
14516
14516
|
if (typeof r == "string" || typeof r == "number")
|
|
@@ -14871,7 +14871,7 @@ function pC(r) {
|
|
|
14871
14871
|
return nC.test(r);
|
|
14872
14872
|
}
|
|
14873
14873
|
function yg() {
|
|
14874
|
-
const r = Ke("colors"), e = Ke("spacing"), t = Ke("blur"), s = Ke("brightness"), n = Ke("borderColor"), o = Ke("borderRadius"), i = Ke("borderSpacing"), a = Ke("borderWidth"), l = Ke("contrast"), c = Ke("grayscale"), u = Ke("hueRotate"), d = Ke("invert"), h = Ke("gap"), f = Ke("gradientColorStops"), p = Ke("gradientColorStopPositions"), g = Ke("inset"), m = Ke("margin"), y = Ke("opacity"), b = Ke("padding"), v = Ke("saturate"), S = Ke("scale"), _ = Ke("sepia"), w = Ke("skew"), x = Ke("space"), T = Ke("translate"), R = () => ["auto", "contain", "none"], B = () => ["auto", "hidden", "clip", "visible", "scroll"], W = () => ["auto", _e, e], j = () => [_e, e], ue = () => ["", Jr, fs], ae = () => ["auto", ln, _e], me = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], Pe = () => ["solid", "dashed", "dotted", "double", "none"], De = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Be = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], ve = () => ["", "0", _e],
|
|
14874
|
+
const r = Ke("colors"), e = Ke("spacing"), t = Ke("blur"), s = Ke("brightness"), n = Ke("borderColor"), o = Ke("borderRadius"), i = Ke("borderSpacing"), a = Ke("borderWidth"), l = Ke("contrast"), c = Ke("grayscale"), u = Ke("hueRotate"), d = Ke("invert"), h = Ke("gap"), f = Ke("gradientColorStops"), p = Ke("gradientColorStopPositions"), g = Ke("inset"), m = Ke("margin"), y = Ke("opacity"), b = Ke("padding"), v = Ke("saturate"), S = Ke("scale"), _ = Ke("sepia"), w = Ke("skew"), x = Ke("space"), T = Ke("translate"), R = () => ["auto", "contain", "none"], B = () => ["auto", "hidden", "clip", "visible", "scroll"], W = () => ["auto", _e, e], j = () => [_e, e], ue = () => ["", Jr, fs], ae = () => ["auto", ln, _e], me = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], Pe = () => ["solid", "dashed", "dotted", "double", "none"], De = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Be = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], ve = () => ["", "0", _e], Y = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], M = () => [ln, tl], q = () => [ln, _e];
|
|
14875
14875
|
return {
|
|
14876
14876
|
cacheSize: 500,
|
|
14877
14877
|
separator: ":",
|
|
@@ -14928,14 +14928,14 @@ function yg() {
|
|
|
14928
14928
|
* @see https://tailwindcss.com/docs/break-after
|
|
14929
14929
|
*/
|
|
14930
14930
|
"break-after": [{
|
|
14931
|
-
"break-after":
|
|
14931
|
+
"break-after": Y()
|
|
14932
14932
|
}],
|
|
14933
14933
|
/**
|
|
14934
14934
|
* Break Before
|
|
14935
14935
|
* @see https://tailwindcss.com/docs/break-before
|
|
14936
14936
|
*/
|
|
14937
14937
|
"break-before": [{
|
|
14938
|
-
"break-before":
|
|
14938
|
+
"break-before": Y()
|
|
14939
14939
|
}],
|
|
14940
14940
|
/**
|
|
14941
14941
|
* Break Inside
|
|
@@ -17380,14 +17380,14 @@ function pa(r) {
|
|
|
17380
17380
|
overflowX: t,
|
|
17381
17381
|
overflowY: s,
|
|
17382
17382
|
display: n
|
|
17383
|
-
} =
|
|
17383
|
+
} = nr(r);
|
|
17384
17384
|
return /auto|scroll|overlay|hidden|clip/.test(e + s + t) && !["inline", "contents"].includes(n);
|
|
17385
17385
|
}
|
|
17386
17386
|
function IC(r) {
|
|
17387
17387
|
return ["table", "td", "th"].includes(ls(r));
|
|
17388
17388
|
}
|
|
17389
17389
|
function af(r) {
|
|
17390
|
-
const e = lf(), t =
|
|
17390
|
+
const e = lf(), t = nr(r);
|
|
17391
17391
|
return t.transform !== "none" || t.perspective !== "none" || (t.containerType ? t.containerType !== "normal" : !1) || !e && (t.backdropFilter ? t.backdropFilter !== "none" : !1) || !e && (t.filter ? t.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((s) => (t.willChange || "").includes(s)) || ["paint", "layout", "strict", "content"].some((s) => (t.contain || "").includes(s));
|
|
17392
17392
|
}
|
|
17393
17393
|
function NC(r) {
|
|
@@ -17405,7 +17405,7 @@ function lf() {
|
|
|
17405
17405
|
function Cc(r) {
|
|
17406
17406
|
return ["html", "body", "#document"].includes(ls(r));
|
|
17407
17407
|
}
|
|
17408
|
-
function
|
|
17408
|
+
function nr(r) {
|
|
17409
17409
|
return Kt(r).getComputedStyle(r);
|
|
17410
17410
|
}
|
|
17411
17411
|
function Ec(r) {
|
|
@@ -17440,7 +17440,7 @@ function Xi(r, e, t) {
|
|
|
17440
17440
|
return o ? e.concat(i, i.visualViewport || [], pa(n) ? n : [], i.frameElement && t ? Xi(i.frameElement) : []) : e.concat(n, Xi(n, [], t));
|
|
17441
17441
|
}
|
|
17442
17442
|
function Hb(r) {
|
|
17443
|
-
const e =
|
|
17443
|
+
const e = nr(r);
|
|
17444
17444
|
let t = parseFloat(e.width) || 0, s = parseFloat(e.height) || 0;
|
|
17445
17445
|
const n = qr(r), o = n ? r.offsetWidth : t, i = n ? r.offsetHeight : s, a = Yl(t) !== o || Yl(s) !== i;
|
|
17446
17446
|
return a && (t = o, s = i), {
|
|
@@ -17489,7 +17489,7 @@ function Sn(r, e, t, s) {
|
|
|
17489
17489
|
const h = Kt(o), f = s && cs(s) ? Kt(s) : s;
|
|
17490
17490
|
let p = h, g = p.frameElement;
|
|
17491
17491
|
for (; g && s && f !== p; ) {
|
|
17492
|
-
const m = io(g), y = g.getBoundingClientRect(), b =
|
|
17492
|
+
const m = io(g), y = g.getBoundingClientRect(), b = nr(g), v = y.left + (g.clientLeft + parseFloat(b.paddingLeft)) * m.x, S = y.top + (g.clientTop + parseFloat(b.paddingTop)) * m.y;
|
|
17493
17493
|
l *= m.x, c *= m.y, u *= m.x, d *= m.y, l += v, c += S, p = Kt(g), g = p.frameElement;
|
|
17494
17494
|
}
|
|
17495
17495
|
}
|
|
@@ -17546,7 +17546,7 @@ function BC(r) {
|
|
|
17546
17546
|
const e = hs(r), t = Ec(r), s = r.ownerDocument.body, n = mn(e.scrollWidth, e.clientWidth, s.scrollWidth, s.clientWidth), o = mn(e.scrollHeight, e.clientHeight, s.scrollHeight, s.clientHeight);
|
|
17547
17547
|
let i = -t.scrollLeft + Wb(r);
|
|
17548
17548
|
const a = -t.scrollTop;
|
|
17549
|
-
return
|
|
17549
|
+
return nr(s).direction === "rtl" && (i += mn(e.clientWidth, s.clientWidth) - n), {
|
|
17550
17550
|
width: n,
|
|
17551
17551
|
height: o,
|
|
17552
17552
|
x: i,
|
|
@@ -17597,17 +17597,17 @@ function kg(r, e, t) {
|
|
|
17597
17597
|
}
|
|
17598
17598
|
function Gb(r, e) {
|
|
17599
17599
|
const t = vo(r);
|
|
17600
|
-
return t === e || !cs(t) || Cc(t) ? !1 :
|
|
17600
|
+
return t === e || !cs(t) || Cc(t) ? !1 : nr(t).position === "fixed" || Gb(t, e);
|
|
17601
17601
|
}
|
|
17602
17602
|
function zC(r, e) {
|
|
17603
17603
|
const t = e.get(r);
|
|
17604
17604
|
if (t)
|
|
17605
17605
|
return t;
|
|
17606
17606
|
let s = Xi(r, [], !1).filter((a) => cs(a) && ls(a) !== "body"), n = null;
|
|
17607
|
-
const o =
|
|
17607
|
+
const o = nr(r).position === "fixed";
|
|
17608
17608
|
let i = o ? vo(r) : r;
|
|
17609
17609
|
for (; cs(i) && !Cc(i); ) {
|
|
17610
|
-
const a =
|
|
17610
|
+
const a = nr(i), l = af(i);
|
|
17611
17611
|
!l && a.position === "fixed" && (n = null), (o ? !l && !n : !l && a.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || pa(i) && !l && Gb(r, i)) ? s = s.filter((u) => u !== i) : n = a, i = vo(i);
|
|
17612
17612
|
}
|
|
17613
17613
|
return e.set(r, s), s;
|
|
@@ -17662,16 +17662,16 @@ function KC(r, e, t) {
|
|
|
17662
17662
|
};
|
|
17663
17663
|
}
|
|
17664
17664
|
function Sg(r, e) {
|
|
17665
|
-
return !qr(r) ||
|
|
17665
|
+
return !qr(r) || nr(r).position === "fixed" ? null : e ? e(r) : r.offsetParent;
|
|
17666
17666
|
}
|
|
17667
17667
|
function Jb(r, e) {
|
|
17668
17668
|
const t = Kt(r);
|
|
17669
17669
|
if (!qr(r) || Ub(r))
|
|
17670
17670
|
return t;
|
|
17671
17671
|
let s = Sg(r, e);
|
|
17672
|
-
for (; s && IC(s) &&
|
|
17672
|
+
for (; s && IC(s) && nr(s).position === "static"; )
|
|
17673
17673
|
s = Sg(s, e);
|
|
17674
|
-
return s && (ls(s) === "html" || ls(s) === "body" &&
|
|
17674
|
+
return s && (ls(s) === "html" || ls(s) === "body" && nr(s).position === "static" && !af(s)) ? t : s || NC(r) || t;
|
|
17675
17675
|
}
|
|
17676
17676
|
const UC = async function(r) {
|
|
17677
17677
|
const e = this.getOffsetParent || Jb, t = this.getDimensions;
|
|
@@ -17685,7 +17685,7 @@ const UC = async function(r) {
|
|
|
17685
17685
|
};
|
|
17686
17686
|
};
|
|
17687
17687
|
function WC(r) {
|
|
17688
|
-
return
|
|
17688
|
+
return nr(r).direction === "rtl";
|
|
17689
17689
|
}
|
|
17690
17690
|
const GC = {
|
|
17691
17691
|
convertOffsetParentRelativeRectToViewportRelativeRect: LC,
|
|
@@ -17897,7 +17897,7 @@ const Ud = "scalar-component", rE = bC({
|
|
|
17897
17897
|
[Ud]: [Ud]
|
|
17898
17898
|
}
|
|
17899
17899
|
}
|
|
17900
|
-
}), { cva: uf, cx: An, compose:
|
|
17900
|
+
}), { cva: uf, cx: An, compose: O6 } = Bx({
|
|
17901
17901
|
hooks: {
|
|
17902
17902
|
onComplete: (r) => `${rE(r, Ud)}`
|
|
17903
17903
|
}
|
|
@@ -18475,7 +18475,7 @@ const hE = ["innerHTML"], Cs = /* @__PURE__ */ Q({
|
|
|
18475
18475
|
ref_key: "el",
|
|
18476
18476
|
ref: i,
|
|
18477
18477
|
class: xe(`scalar-codeblock-code language-${l.value}`)
|
|
18478
|
-
},
|
|
18478
|
+
}, ee($(sl)(d.content)), 3))
|
|
18479
18479
|
], 2));
|
|
18480
18480
|
}
|
|
18481
18481
|
}), Cg = /* @__PURE__ */ Object.assign({ "./Add.svg": () => import("./Add-ngyZgYXx-DoqFEwg6.js"), "./ArrowLeft.svg": () => import("./ArrowLeft-aY17W2aS-Cn6xpEuC.js"), "./ArrowRight.svg": () => import("./ArrowRight-DEMtdoE7-DTUgvJ5B.js"), "./Background.svg": () => import("./Background-DcRhSHgf-D9bLWDd3.js"), "./Brackets.svg": () => import("./Brackets-4I8OKomf-DWpQfvXD.js"), "./Branch.svg": () => import("./Branch-CXwj8YuG-CvPS_xP0.js"), "./CallToAction.svg": () => import("./CallToAction-EyQKkvbg-P3zHezrK.js"), "./Checkmark.svg": () => import("./Checkmark-De7nq6cG-I65LWhZ2.js"), "./ChevronDown.svg": () => import("./ChevronDown-Co7EAKAv-Dw2u19C4.js"), "./ChevronLeft.svg": () => import("./ChevronLeft-DYt0idAu-4ItgPaSH.js"), "./ChevronRight.svg": () => import("./ChevronRight-ylxToVWl-DMyZ2Rmi.js"), "./ChevronUp.svg": () => import("./ChevronUp-xAnukIfj-DYWzMh-o.js"), "./Clipboard.svg": () => import("./Clipboard-CU_KxGEv-DuOPrhqK.js"), "./Close.svg": () => import("./Close-CW3z42qZ-C-nzSJmV.js"), "./CodeFolder.svg": () => import("./CodeFolder-Cv_igzJE-POyxhw77.js"), "./Cookie.svg": () => import("./Cookie-CEHvXpqB-Bu1-nQ4L.js"), "./DarkMode.svg": () => import("./DarkMode-CBsV8Q_I-C-P5vpQi.js"), "./Delete.svg": () => import("./Delete-BCZmxrDD-RGj_5vHb.js"), "./Discord.svg": () => import("./Discord-BHYOFBB2-BKiLx0Gp.js"), "./DocsPage.svg": () => import("./DocsPage-rh2xwxKN-DGM8iLwe.js"), "./Duplicate.svg": () => import("./Duplicate-BPlzNpcf-hfR5nT2J.js"), "./Edit.svg": () => import("./Edit-Br04RNYb-DB3yOiz_.js"), "./Ellipses.svg": () => import("./Ellipses-Bo_X36Hx-D4ayuQAy.js"), "./Error.svg": () => import("./Error-B_RGtWJI-D-cqIU7Z.js"), "./ExternalLink.svg": () => import("./ExternalLink-DK8L-EH7-CnaH9txm.js"), "./FilterList.svg": () => import("./FilterList-CsAcE9em-BEVsn3KR.js"), "./Folder.svg": () => import("./Folder-Cdcj4evh-BjFbVB1N.js"), "./GitHub.svg": () => import("./GitHub-NdE6Zs9k-CxmMd7Ky.js"), "./Hide.svg": () => import("./Hide-DBLY4PPo-BcbT7C9e.js"), "./History.svg": () => import("./History-D9nmhNIn-Bg9VGGKO.js"), "./JsonObject.svg": () => import("./JsonObject-hGdHUQ4M-JVzShx7P.js"), "./Key.svg": () => import("./Key-CWXJqX28-CVsMvoNb.js"), "./Leave.svg": () => import("./Leave-K1J3uwoG-6WpXSkaE.js"), "./LightDarkModeToggle.svg": () => import("./LightDarkModeToggle-BkvMimDa-CCZGR9vi.js"), "./LightMode.svg": () => import("./LightMode-Btz6vyT_-D8lhPTNZ.js"), "./Link.svg": () => import("./Link-Bzuc__Nc-Bopu3OCd.js"), "./Lock.svg": () => import("./Lock-xhiH1mKz-j1VwEotb.js"), "./Logo.svg": () => import("./Logo-mtzeKD8M-_nfcd_3S.js"), "./LogoAPI.svg": () => import("./LogoAPI-CaU5E6FK-BIDyFPeR.js"), "./LogoClient.svg": () => import("./LogoClient-DdC-t_7P-BJVLusot.js"), "./LogoMarket.svg": () => import("./LogoMarket-DwlApcab-BpTQzqp5.js"), "./LogoSwagger.svg": () => import("./LogoSwagger-CH60H5qW--whYwExv.js"), "./Magic.svg": () => import("./Magic-Dsi9_bEc-BSsgSxL9.js"), "./Menu.svg": () => import("./Menu-CFK5cOsm-Bt89Z42K.js"), "./Page.svg": () => import("./Page-B7rVuhpl-BdUgg7Vj.js"), "./PaperAirplane.svg": () => import("./PaperAirplane-BC-4mGEB-CC_xr_GF.js"), "./Payment.svg": () => import("./Payment-hzcXP1Xb-DwRM2zOI.js"), "./Play.svg": () => import("./Play-BrVagRQA-ibf1r6jV.js"), "./Refresh.svg": () => import("./Refresh-Be6vHEEi-jbqubK_U.js"), "./Response.svg": () => import("./Response-Dq9pM-ZU-gbj_nXZc.js"), "./Search.svg": () => import("./Search-DqtlswRG-C2Pti_ld.js"), "./Show.svg": () => import("./Show-CMsTZAgT-CiyXRP8J.js"), "./SideBarClosed.svg": () => import("./SideBarClosed-CYUNS2XM-CyV-4FlW.js"), "./SideBarOpen.svg": () => import("./SideBarOpen-BOxW49_U-_LagsnZP.js"), "./Sort.svg": () => import("./Sort-oTjBhJFQ-CxatimqM.js"), "./Terminal.svg": () => import("./Terminal-CKp--su5-DBOGXF1p.js"), "./ThumbsDown.svg": () => import("./ThumbsDown-BMgnsASL-B1FsmbXx.js"), "./ThumbsUp.svg": () => import("./ThumbsUp-C1j6zY2j-Ca8-bvgl.js"), "./Trash.svg": () => import("./Trash-BpA3zWPD-RGj_5vHb.js"), "./Unlock.svg": () => import("./Unlock-CY8UqJoE-xu6vPL1E.js"), "./Upload.svg": () => import("./Upload-REIdL7RI-DTkPybxz.js"), "./User.svg": () => import("./User-Df5svMQ3-BviG15gd.js"), "./programming-framework-angular.svg": () => import("./programming-framework-angular-DD4Vjgbk-CUF3ZYYB.js"), "./programming-framework-astro.svg": () => import("./programming-framework-astro-CLfrRt19-CH6OCtd8.js"), "./programming-framework-laravel.svg": () => import("./programming-framework-laravel-kAy2wVLy-kXRM5aCd.js"), "./programming-framework-nextdotjs.svg": () => import("./programming-framework-nextdotjs-BKdd_DY_-DF9m888v.js"), "./programming-framework-react.svg": () => import("./programming-framework-react-PDgmtZuN-DZjob66N.js"), "./programming-framework-vuedotjs.svg": () => import("./programming-framework-vuedotjs-Cv46W2aB-5jp2dhVz.js"), "./programming-language-c.svg": () => import("./programming-language-c-hPGu2Zvg-BesPZa4K.js"), "./programming-language-clojure.svg": () => import("./programming-language-clojure-Cvmzky8x-BfidiK-3.js"), "./programming-language-csharp.svg": () => import("./programming-language-csharp-lqX1oWgb-D-Mz5PM1.js"), "./programming-language-css3.svg": () => import("./programming-language-css3-Dpp4Cr6b-Dpx1zlAe.js"), "./programming-language-go.svg": () => import("./programming-language-go-DoJxWwT6-Bayz8oGO.js"), "./programming-language-html5.svg": () => import("./programming-language-html5-DlqJK4EL-DfQp7LQz.js"), "./programming-language-http.svg": () => import("./programming-language-http-wMYwFS1I-nvzm47LE.js"), "./programming-language-java.svg": () => import("./programming-language-java-BCxG2T_w-01jrBctS.js"), "./programming-language-javascript.svg": () => import("./programming-language-javascript-VxLvi1QG-qbgoUfZ8.js"), "./programming-language-json.svg": () => import("./programming-language-json-vEX_g7Zi-D-_9dDj_.js"), "./programming-language-kotlin.svg": () => import("./programming-language-kotlin-DKV8vP9h-C-cTXwXu.js"), "./programming-language-node.svg": () => import("./programming-language-node-Xsgx38lm-Be410R9Y.js"), "./programming-language-objc.svg": () => import("./programming-language-objc-BQXSOBsX-UyJQMZSh.js"), "./programming-language-ocaml.svg": () => import("./programming-language-ocaml-BEz7gGv7-L9a3ID8U.js"), "./programming-language-php.svg": () => import("./programming-language-php-GY38f8r4-jRMN5AZX.js"), "./programming-language-powershell.svg": () => import("./programming-language-powershell-C9DkSp36-C7fZCJBW.js"), "./programming-language-python.svg": () => import("./programming-language-python-Ct-_kNjo-DsKRdoNg.js"), "./programming-language-r.svg": () => import("./programming-language-r-BGoKwua9-BguWvgpu.js"), "./programming-language-ruby.svg": () => import("./programming-language-ruby-DhdM4d7g-BuT1i5is.js"), "./programming-language-scala.svg": () => import("./programming-language-scala-BVg0dToJ-p_n-G2sI.js"), "./programming-language-shell.svg": () => import("./programming-language-shell-BsTa1xI7-Mbhl6UDK.js"), "./programming-language-swift.svg": () => import("./programming-language-swift-Dn72xPjg-D-JnfNts.js"), "./programming-language-typescript.svg": () => import("./programming-language-typescript-CdF-HuRi-ocSQSwHb.js"), "./programming-script-code.svg": () => import("./programming-script-code-DQN1veb2-CcjBWaNF.js"), "./programming-tool-git.svg": () => import("./programming-tool-git-DDnQ1zGD-CGHot6Y8.js"), "./programming-tool-tailwindcss.svg": () => import("./programming-tool-tailwindcss-xjXi0E6g-r5YhtCAf.js") }), Eg = (r) => {
|
|
@@ -18548,7 +18548,7 @@ const hE = ["innerHTML"], Cs = /* @__PURE__ */ Q({
|
|
|
18548
18548
|
type: "button"
|
|
18549
18549
|
}), [
|
|
18550
18550
|
L($(Ze), { icon: s.icon }, null, 8, ["icon"]),
|
|
18551
|
-
F("span", mE,
|
|
18551
|
+
F("span", mE, ee(s.label), 1)
|
|
18552
18552
|
], 16, pE));
|
|
18553
18553
|
}
|
|
18554
18554
|
}), gE = { class: "sr-only" }, yE = ["value"], bE = /* @__PURE__ */ Q({
|
|
@@ -18576,7 +18576,7 @@ const hE = ["innerHTML"], Cs = /* @__PURE__ */ Q({
|
|
|
18576
18576
|
}), [
|
|
18577
18577
|
F("span", gE, [
|
|
18578
18578
|
re(o.$slots, "label", {}, () => [
|
|
18579
|
-
|
|
18579
|
+
J("Enter search")
|
|
18580
18580
|
])
|
|
18581
18581
|
]),
|
|
18582
18582
|
F("input", {
|
|
@@ -18709,7 +18709,7 @@ const hE = ["innerHTML"], Cs = /* @__PURE__ */ Q({
|
|
|
18709
18709
|
}, null, 8, ["icon", "label"])) : K("", !0)
|
|
18710
18710
|
]));
|
|
18711
18711
|
}
|
|
18712
|
-
}), Bn = /* @__PURE__ */ oe(IE, [["__scopeId", "data-v-
|
|
18712
|
+
}), Bn = /* @__PURE__ */ oe(IE, [["__scopeId", "data-v-ba56ce97"]]), NE = (r) => (Pt("data-v-ad168955"), r = r(), It(), r), ME = { class: "scopes-label" }, DE = /* @__PURE__ */ NE(() => /* @__PURE__ */ F("em", null, "/", -1)), RE = ["checked"], LE = { class: "dropdown-item-title" }, jE = { class: "dropdown-item-description" }, BE = /* @__PURE__ */ Q({
|
|
18713
18713
|
__name: "SecuritySchemeScopes",
|
|
18714
18714
|
props: {
|
|
18715
18715
|
scopes: {},
|
|
@@ -18739,9 +18739,9 @@ const hE = ["innerHTML"], Cs = /* @__PURE__ */ Q({
|
|
|
18739
18739
|
L($(ek), { as: Ib }, {
|
|
18740
18740
|
default: N(() => [
|
|
18741
18741
|
F("div", ME, [
|
|
18742
|
-
|
|
18742
|
+
J(" Scopes " + ee(a.value.length), 1),
|
|
18743
18743
|
DE,
|
|
18744
|
-
|
|
18744
|
+
J(ee(Object.entries(l.scopes).length) + " ", 1),
|
|
18745
18745
|
L($(Ze), {
|
|
18746
18746
|
icon: u ? "ChevronUp" : "ChevronDown",
|
|
18747
18747
|
size: "sm"
|
|
@@ -18778,8 +18778,8 @@ const hE = ["innerHTML"], Cs = /* @__PURE__ */ Q({
|
|
|
18778
18778
|
tabindex: "-1",
|
|
18779
18779
|
type: "checkbox"
|
|
18780
18780
|
}, null, 8, RE),
|
|
18781
|
-
F("dt", LE,
|
|
18782
|
-
F("dd", jE,
|
|
18781
|
+
F("dt", LE, ee(h), 1),
|
|
18782
|
+
F("dd", jE, ee(f), 1)
|
|
18783
18783
|
]),
|
|
18784
18784
|
_: 2
|
|
18785
18785
|
}, 1032, ["value"]))), 128))
|
|
@@ -18795,7 +18795,7 @@ const hE = ["innerHTML"], Cs = /* @__PURE__ */ Q({
|
|
|
18795
18795
|
_: 1
|
|
18796
18796
|
}, 8, ["modelValue"]));
|
|
18797
18797
|
}
|
|
18798
|
-
}), VE = /* @__PURE__ */ oe(BE, [["__scopeId", "data-v-
|
|
18798
|
+
}), VE = /* @__PURE__ */ oe(BE, [["__scopeId", "data-v-ad168955"]]), FE = /* @__PURE__ */ Q({
|
|
18799
18799
|
__name: "SecurityScheme",
|
|
18800
18800
|
props: {
|
|
18801
18801
|
value: {}
|
|
@@ -18885,7 +18885,7 @@ const hE = ["innerHTML"], Cs = /* @__PURE__ */ Q({
|
|
|
18885
18885
|
onInput: s
|
|
18886
18886
|
}, {
|
|
18887
18887
|
default: N(() => [
|
|
18888
|
-
|
|
18888
|
+
J(ee(d.value.in.charAt(0).toUpperCase() + d.value.in.slice(1)) + " API ", 1)
|
|
18889
18889
|
]),
|
|
18890
18890
|
_: 1
|
|
18891
18891
|
}, 8, ["id", "value"])) : d.value.type === "http" || d.value.type === "basic" ? (k(), A(Z, { key: 1 }, [
|
|
@@ -18898,7 +18898,7 @@ const hE = ["innerHTML"], Cs = /* @__PURE__ */ Q({
|
|
|
18898
18898
|
onInput: n
|
|
18899
18899
|
}, {
|
|
18900
18900
|
default: N(() => [
|
|
18901
|
-
|
|
18901
|
+
J(" Username ")
|
|
18902
18902
|
]),
|
|
18903
18903
|
_: 1
|
|
18904
18904
|
}, 8, ["value"]),
|
|
@@ -18910,7 +18910,7 @@ const hE = ["innerHTML"], Cs = /* @__PURE__ */ Q({
|
|
|
18910
18910
|
onInput: o
|
|
18911
18911
|
}, {
|
|
18912
18912
|
default: N(() => [
|
|
18913
|
-
|
|
18913
|
+
J(" Password ")
|
|
18914
18914
|
]),
|
|
18915
18915
|
_: 1
|
|
18916
18916
|
}, 8, ["value"])
|
|
@@ -18925,7 +18925,7 @@ const hE = ["innerHTML"], Cs = /* @__PURE__ */ Q({
|
|
|
18925
18925
|
onInput: i
|
|
18926
18926
|
}, {
|
|
18927
18927
|
default: N(() => [
|
|
18928
|
-
|
|
18928
|
+
J(" Bearer Token ")
|
|
18929
18929
|
]),
|
|
18930
18930
|
_: 1
|
|
18931
18931
|
}, 8, ["value"])) : K("", !0)
|
|
@@ -18939,7 +18939,7 @@ const hE = ["innerHTML"], Cs = /* @__PURE__ */ Q({
|
|
|
18939
18939
|
value: $(e).oAuth2.accessToken
|
|
18940
18940
|
}, {
|
|
18941
18941
|
default: N(() => [
|
|
18942
|
-
|
|
18942
|
+
J(" Access Token ")
|
|
18943
18943
|
]),
|
|
18944
18944
|
_: 1
|
|
18945
18945
|
}, 8, ["value"]),
|
|
@@ -18953,7 +18953,7 @@ const hE = ["innerHTML"], Cs = /* @__PURE__ */ Q({
|
|
|
18953
18953
|
}))
|
|
18954
18954
|
}, {
|
|
18955
18955
|
default: N(() => [
|
|
18956
|
-
|
|
18956
|
+
J(" Reset ")
|
|
18957
18957
|
]),
|
|
18958
18958
|
_: 1
|
|
18959
18959
|
})
|
|
@@ -18966,7 +18966,7 @@ const hE = ["innerHTML"], Cs = /* @__PURE__ */ Q({
|
|
|
18966
18966
|
onInput: a
|
|
18967
18967
|
}, {
|
|
18968
18968
|
default: N(() => [
|
|
18969
|
-
|
|
18969
|
+
J(" Client ID ")
|
|
18970
18970
|
]),
|
|
18971
18971
|
_: 1
|
|
18972
18972
|
}, 8, ["value"]),
|
|
@@ -19027,8 +19027,8 @@ const hE = ["innerHTML"], Cs = /* @__PURE__ */ Q({
|
|
|
19027
19027
|
const l = (m) => !(m != null && m.type), c = (m) => m.type.toLowerCase() === "apikey", u = (m) => m.type === "http" && m.scheme.toLowerCase() === "basic" || m.type.toLowerCase() === "basic", d = (m) => m.type === "http" && m.scheme.toLowerCase() === "bearer", h = (m) => m.type.toLowerCase() === "oauth2", f = (m, y) => `${p(m)} (${y})`, p = (m) => l(m) ? "No Authentication" : c(m) ? "API Key" : u(m) ? "Basic Authentication" : d(m) ? "Bearer Authentication" : h(m) ? "OAuth 2.0" : `${m.type} (not yet supported)`, g = ne(() => Object.keys(t.value ?? {}));
|
|
19028
19028
|
return (m, y) => {
|
|
19029
19029
|
var b, v;
|
|
19030
|
-
return g.value.length === 1 ? (k(), A("div", HE,
|
|
19031
|
-
F("span", UE,
|
|
19030
|
+
return g.value.length === 1 ? (k(), A("div", HE, ee(f((b = m.value) == null ? void 0 : b[g.value[0]], g.value[0])), 1)) : g.value.length > 1 ? (k(), A("div", KE, [
|
|
19031
|
+
F("span", UE, ee($(n).preferredSecurityScheme ? f(
|
|
19032
19032
|
(v = m.value) == null ? void 0 : v[$(n).preferredSecurityScheme],
|
|
19033
19033
|
$(n).preferredSecurityScheme
|
|
19034
19034
|
) : "None"), 1),
|
|
@@ -19045,7 +19045,7 @@ const hE = ["innerHTML"], Cs = /* @__PURE__ */ Q({
|
|
|
19045
19045
|
return k(), A("option", {
|
|
19046
19046
|
key: S,
|
|
19047
19047
|
value: S ?? null
|
|
19048
|
-
},
|
|
19048
|
+
}, ee(f((_ = m.value) == null ? void 0 : _[S], S)), 9, JE);
|
|
19049
19049
|
}), 128))
|
|
19050
19050
|
], 40, WE)
|
|
19051
19051
|
])) : K("", !0);
|
|
@@ -19157,7 +19157,7 @@ function Wd(r) {
|
|
|
19157
19157
|
const e = (s = r == null ? void 0 : r.servers) == null ? void 0 : s[r.selectedServer ?? 0];
|
|
19158
19158
|
return typeof (e == null ? void 0 : e.url) == "string" ? ev(e == null ? void 0 : e.url, r.variables) : e == null ? void 0 : e.url;
|
|
19159
19159
|
}
|
|
19160
|
-
function
|
|
19160
|
+
function T6(r) {
|
|
19161
19161
|
const e = /{{?\s*([\w.-]+)\s*}}?/g, t = r == null ? void 0 : r.matchAll(e);
|
|
19162
19162
|
return Array.from(t ?? [], (s) => s[1]);
|
|
19163
19163
|
}
|
|
@@ -19172,10 +19172,10 @@ function sA(r) {
|
|
|
19172
19172
|
return !1;
|
|
19173
19173
|
}
|
|
19174
19174
|
}
|
|
19175
|
-
const
|
|
19175
|
+
const P6 = (r, e) => Object.keys(r).map((t) => ({
|
|
19176
19176
|
[e ?? t]: t,
|
|
19177
19177
|
value: r[t]
|
|
19178
|
-
})),
|
|
19178
|
+
})), I6 = (r) => r.reduce((e, t) => ({
|
|
19179
19179
|
...e,
|
|
19180
19180
|
...t
|
|
19181
19181
|
}), {});
|
|
@@ -19352,7 +19352,7 @@ var Yd = { exports: {} }, sv = {};
|
|
|
19352
19352
|
}
|
|
19353
19353
|
}
|
|
19354
19354
|
})(sv);
|
|
19355
|
-
var nv = {}, Xd = { exports: {} }, gn = {},
|
|
19355
|
+
var nv = {}, Xd = { exports: {} }, gn = {}, rr = {}, wo = {}, ya = {}, ye = {}, Qi = {};
|
|
19356
19356
|
(function(r) {
|
|
19357
19357
|
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;
|
|
19358
19358
|
class e {
|
|
@@ -19649,8 +19649,8 @@ var Qd = {};
|
|
|
19649
19649
|
super(), this.varKind = C, this.name = P, this.rhs = D;
|
|
19650
19650
|
}
|
|
19651
19651
|
render({ es5: C, _n: P }) {
|
|
19652
|
-
const D = C ? t.varKinds.var : this.varKind,
|
|
19653
|
-
return `${D} ${this.name}${
|
|
19652
|
+
const D = C ? t.varKinds.var : this.varKind, X = this.rhs === void 0 ? "" : ` = ${this.rhs}`;
|
|
19653
|
+
return `${D} ${this.name}${X};` + P;
|
|
19654
19654
|
}
|
|
19655
19655
|
optimizeNames(C, P) {
|
|
19656
19656
|
if (C[this.name.str])
|
|
@@ -19677,8 +19677,8 @@ var Qd = {};
|
|
|
19677
19677
|
}
|
|
19678
19678
|
}
|
|
19679
19679
|
class l extends a {
|
|
19680
|
-
constructor(C, P, D,
|
|
19681
|
-
super(C, D,
|
|
19680
|
+
constructor(C, P, D, X) {
|
|
19681
|
+
super(C, D, X), this.op = P;
|
|
19682
19682
|
}
|
|
19683
19683
|
render({ _n: C }) {
|
|
19684
19684
|
return `${this.lhs} ${this.op}= ${this.rhs};` + C;
|
|
@@ -19746,10 +19746,10 @@ var Qd = {};
|
|
|
19746
19746
|
}
|
|
19747
19747
|
optimizeNames(C, P) {
|
|
19748
19748
|
const { nodes: D } = this;
|
|
19749
|
-
let
|
|
19750
|
-
for (;
|
|
19751
|
-
const
|
|
19752
|
-
|
|
19749
|
+
let X = D.length;
|
|
19750
|
+
for (; X--; ) {
|
|
19751
|
+
const te = D[X];
|
|
19752
|
+
te.optimizeNames(C, P) || (me(C, te.names), D.splice(X, 1));
|
|
19753
19753
|
}
|
|
19754
19754
|
return D.length > 0 ? this : void 0;
|
|
19755
19755
|
}
|
|
@@ -19820,12 +19820,12 @@ var Qd = {};
|
|
|
19820
19820
|
}
|
|
19821
19821
|
}
|
|
19822
19822
|
class S extends b {
|
|
19823
|
-
constructor(C, P, D,
|
|
19824
|
-
super(), this.varKind = C, this.name = P, this.from = D, this.to =
|
|
19823
|
+
constructor(C, P, D, X) {
|
|
19824
|
+
super(), this.varKind = C, this.name = P, this.from = D, this.to = X;
|
|
19825
19825
|
}
|
|
19826
19826
|
render(C) {
|
|
19827
|
-
const P = C.es5 ? t.varKinds.var : this.varKind, { name: D, from:
|
|
19828
|
-
return `for(${P} ${D}=${
|
|
19827
|
+
const P = C.es5 ? t.varKinds.var : this.varKind, { name: D, from: X, to: te } = this;
|
|
19828
|
+
return `for(${P} ${D}=${X}; ${D}<${te}; ${D}++)` + super.render(C);
|
|
19829
19829
|
}
|
|
19830
19830
|
get names() {
|
|
19831
19831
|
const C = ue(super.names, this.from);
|
|
@@ -19833,8 +19833,8 @@ var Qd = {};
|
|
|
19833
19833
|
}
|
|
19834
19834
|
}
|
|
19835
19835
|
class _ extends b {
|
|
19836
|
-
constructor(C, P, D,
|
|
19837
|
-
super(), this.loop = C, this.varKind = P, this.name = D, this.iterable =
|
|
19836
|
+
constructor(C, P, D, X) {
|
|
19837
|
+
super(), this.loop = C, this.varKind = P, this.name = D, this.iterable = X;
|
|
19838
19838
|
}
|
|
19839
19839
|
render(C) {
|
|
19840
19840
|
return `for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})` + super.render(C);
|
|
@@ -19872,8 +19872,8 @@ var Qd = {};
|
|
|
19872
19872
|
return super.optimizeNodes(), (C = this.catch) === null || C === void 0 || C.optimizeNodes(), (P = this.finally) === null || P === void 0 || P.optimizeNodes(), this;
|
|
19873
19873
|
}
|
|
19874
19874
|
optimizeNames(C, P) {
|
|
19875
|
-
var D,
|
|
19876
|
-
return super.optimizeNames(C, P), (D = this.catch) === null || D === void 0 || D.optimizeNames(C, P), (
|
|
19875
|
+
var D, X;
|
|
19876
|
+
return super.optimizeNames(C, P), (D = this.catch) === null || D === void 0 || D.optimizeNames(C, P), (X = this.finally) === null || X === void 0 || X.optimizeNames(C, P), this;
|
|
19877
19877
|
}
|
|
19878
19878
|
get names() {
|
|
19879
19879
|
const C = super.names;
|
|
@@ -19927,9 +19927,9 @@ var Qd = {};
|
|
|
19927
19927
|
scopeCode() {
|
|
19928
19928
|
return this._extScope.scopeCode(this._values);
|
|
19929
19929
|
}
|
|
19930
|
-
_def(C, P, D,
|
|
19931
|
-
const
|
|
19932
|
-
return D !== void 0 &&
|
|
19930
|
+
_def(C, P, D, X) {
|
|
19931
|
+
const te = this._scope.toName(P);
|
|
19932
|
+
return D !== void 0 && X && (this._constants[te.str] = D), this._leafNode(new i(C, te, D)), te;
|
|
19933
19933
|
}
|
|
19934
19934
|
// `const` declaration (`var` in es5 mode)
|
|
19935
19935
|
const(C, P, D) {
|
|
@@ -19958,8 +19958,8 @@ var Qd = {};
|
|
|
19958
19958
|
// returns code for object literal for the passed argument list of key-value pairs
|
|
19959
19959
|
object(...C) {
|
|
19960
19960
|
const P = ["{"];
|
|
19961
|
-
for (const [D,
|
|
19962
|
-
P.length > 1 && P.push(","), P.push(D), (D !==
|
|
19961
|
+
for (const [D, X] of C)
|
|
19962
|
+
P.length > 1 && P.push(","), P.push(D), (D !== X || this.opts.es5) && (P.push(":"), (0, e.addCodeArg)(P, X));
|
|
19963
19963
|
return P.push("}"), new e._Code(P);
|
|
19964
19964
|
}
|
|
19965
19965
|
// `if` clause (or statement if `thenBody` and, optionally, `elseBody` are passed)
|
|
@@ -19992,28 +19992,28 @@ var Qd = {};
|
|
|
19992
19992
|
return this._for(new v(C), P);
|
|
19993
19993
|
}
|
|
19994
19994
|
// `for` statement for a range of values
|
|
19995
|
-
forRange(C, P, D,
|
|
19995
|
+
forRange(C, P, D, X, te = this.opts.es5 ? t.varKinds.var : t.varKinds.let) {
|
|
19996
19996
|
const we = this._scope.toName(C);
|
|
19997
|
-
return this._for(new S(
|
|
19997
|
+
return this._for(new S(te, we, P, D), () => X(we));
|
|
19998
19998
|
}
|
|
19999
19999
|
// `for-of` statement (in es5 mode replace with a normal for loop)
|
|
20000
|
-
forOf(C, P, D,
|
|
20001
|
-
const
|
|
20000
|
+
forOf(C, P, D, X = t.varKinds.const) {
|
|
20001
|
+
const te = this._scope.toName(C);
|
|
20002
20002
|
if (this.opts.es5) {
|
|
20003
20003
|
const we = P instanceof e.Name ? P : this.var("_arr", P);
|
|
20004
20004
|
return this.forRange("_i", 0, (0, e._)`${we}.length`, (be) => {
|
|
20005
|
-
this.var(
|
|
20005
|
+
this.var(te, (0, e._)`${we}[${be}]`), D(te);
|
|
20006
20006
|
});
|
|
20007
20007
|
}
|
|
20008
|
-
return this._for(new _("of",
|
|
20008
|
+
return this._for(new _("of", X, te, P), () => D(te));
|
|
20009
20009
|
}
|
|
20010
20010
|
// `for-in` statement.
|
|
20011
20011
|
// With option `ownProperties` replaced with a `for-of` loop for object keys
|
|
20012
|
-
forIn(C, P, D,
|
|
20012
|
+
forIn(C, P, D, X = this.opts.es5 ? t.varKinds.var : t.varKinds.const) {
|
|
20013
20013
|
if (this.opts.ownProperties)
|
|
20014
20014
|
return this.forOf(C, (0, e._)`Object.keys(${P})`, D);
|
|
20015
|
-
const
|
|
20016
|
-
return this._for(new _("in",
|
|
20015
|
+
const te = this._scope.toName(C);
|
|
20016
|
+
return this._for(new _("in", X, te, P), () => D(te));
|
|
20017
20017
|
}
|
|
20018
20018
|
// end `for` loop
|
|
20019
20019
|
endFor() {
|
|
@@ -20038,12 +20038,12 @@ var Qd = {};
|
|
|
20038
20038
|
try(C, P, D) {
|
|
20039
20039
|
if (!P && !D)
|
|
20040
20040
|
throw new Error('CodeGen: "try" without "catch" and "finally"');
|
|
20041
|
-
const
|
|
20042
|
-
if (this._blockNode(
|
|
20043
|
-
const
|
|
20044
|
-
this._currNode =
|
|
20041
|
+
const X = new T();
|
|
20042
|
+
if (this._blockNode(X), this.code(C), P) {
|
|
20043
|
+
const te = this.name("e");
|
|
20044
|
+
this._currNode = X.catch = new R(te), P(te);
|
|
20045
20045
|
}
|
|
20046
|
-
return D && (this._currNode =
|
|
20046
|
+
return D && (this._currNode = X.finally = new B(), this.code(D)), this._endBlockNode(R, B);
|
|
20047
20047
|
}
|
|
20048
20048
|
// `throw` statement
|
|
20049
20049
|
throw(C) {
|
|
@@ -20064,8 +20064,8 @@ var Qd = {};
|
|
|
20064
20064
|
return this._nodes.length = P, this;
|
|
20065
20065
|
}
|
|
20066
20066
|
// `function` heading (or definition if funcBody is passed)
|
|
20067
|
-
func(C, P = e.nil, D,
|
|
20068
|
-
return this._blockNode(new w(C, P, D)),
|
|
20067
|
+
func(C, P = e.nil, D, X) {
|
|
20068
|
+
return this._blockNode(new w(C, P, D)), X && this.code(X).endFunc(), this;
|
|
20069
20069
|
}
|
|
20070
20070
|
// end function definition
|
|
20071
20071
|
endFunc() {
|
|
@@ -20117,15 +20117,15 @@ var Qd = {};
|
|
|
20117
20117
|
function ae(V, C, P) {
|
|
20118
20118
|
if (V instanceof e.Name)
|
|
20119
20119
|
return D(V);
|
|
20120
|
-
if (!
|
|
20120
|
+
if (!X(V))
|
|
20121
20121
|
return V;
|
|
20122
|
-
return new e._Code(V._items.reduce((
|
|
20123
|
-
function D(
|
|
20124
|
-
const we = P[
|
|
20125
|
-
return we === void 0 || C[
|
|
20122
|
+
return new e._Code(V._items.reduce((te, we) => (we instanceof e.Name && (we = D(we)), we instanceof e._Code ? te.push(...we._items) : te.push(we), te), []));
|
|
20123
|
+
function D(te) {
|
|
20124
|
+
const we = P[te.str];
|
|
20125
|
+
return we === void 0 || C[te.str] !== 1 ? te : (delete C[te.str], we);
|
|
20126
20126
|
}
|
|
20127
|
-
function
|
|
20128
|
-
return
|
|
20127
|
+
function X(te) {
|
|
20128
|
+
return te instanceof e._Code && te._items.some((we) => we instanceof e.Name && C[we.str] === 1 && P[we.str] !== void 0);
|
|
20129
20129
|
}
|
|
20130
20130
|
}
|
|
20131
20131
|
function me(V, C) {
|
|
@@ -20142,10 +20142,10 @@ var Qd = {};
|
|
|
20142
20142
|
}
|
|
20143
20143
|
r.and = Be;
|
|
20144
20144
|
const ve = M(r.operators.OR);
|
|
20145
|
-
function
|
|
20145
|
+
function Y(...V) {
|
|
20146
20146
|
return V.reduce(ve);
|
|
20147
20147
|
}
|
|
20148
|
-
r.or =
|
|
20148
|
+
r.or = Y;
|
|
20149
20149
|
function M(V) {
|
|
20150
20150
|
return (C, P) => C === e.nil ? P : P === e.nil ? C : (0, e._)`${q(C)} ${V} ${q(P)}`;
|
|
20151
20151
|
}
|
|
@@ -21088,8 +21088,8 @@ function cO(r, e) {
|
|
|
21088
21088
|
}
|
|
21089
21089
|
}
|
|
21090
21090
|
bt.getSchemaRefs = cO;
|
|
21091
|
-
Object.defineProperty(
|
|
21092
|
-
|
|
21091
|
+
Object.defineProperty(rr, "__esModule", { value: !0 });
|
|
21092
|
+
rr.getData = rr.KeywordCxt = rr.validateFunctionCode = void 0;
|
|
21093
21093
|
const yv = wo, Pg = ba, gf = rs, ec = ba, uO = Ac, Ni = Fr, Iu = Ns, ce = ye, ge = Wt, dO = bt, ss = Ee, hi = ya;
|
|
21094
21094
|
function hO(r) {
|
|
21095
21095
|
if (wv(r) && (kv(r), vv(r))) {
|
|
@@ -21098,7 +21098,7 @@ function hO(r) {
|
|
|
21098
21098
|
}
|
|
21099
21099
|
bv(r, () => (0, yv.topBoolOrEmptySchema)(r));
|
|
21100
21100
|
}
|
|
21101
|
-
|
|
21101
|
+
rr.validateFunctionCode = hO;
|
|
21102
21102
|
function bv({ gen: r, validateName: e, schema: t, schemaEnv: s, opts: n }, o) {
|
|
21103
21103
|
n.code.es5 ? r.func(e, (0, ce._)`${ge.default.data}, ${ge.default.valCxt}`, s.$async, () => {
|
|
21104
21104
|
r.code((0, ce._)`"use strict"; ${Ig(t, n)}`), pO(r, n), r.code(o);
|
|
@@ -21359,7 +21359,7 @@ class xv {
|
|
|
21359
21359
|
return n.if(t, () => this.mergeEvaluated(e, ce.Name)), !0;
|
|
21360
21360
|
}
|
|
21361
21361
|
}
|
|
21362
|
-
|
|
21362
|
+
rr.KeywordCxt = xv;
|
|
21363
21363
|
function Cv(r, e, t, s) {
|
|
21364
21364
|
const n = new xv(r, t, e);
|
|
21365
21365
|
"code" in t ? t.code(n, s) : n.$data && t.validate ? (0, Ni.funcKeywordCode)(n, t) : "macro" in t ? (0, Ni.macroKeywordCode)(n, t) : (t.compile || t.validate) && (0, Ni.funcKeywordCode)(n, t);
|
|
@@ -21397,7 +21397,7 @@ function Ev(r, { dataLevel: e, dataNames: t, dataPathArr: s }) {
|
|
|
21397
21397
|
return `Cannot access ${c} ${u} levels up, current level is ${e}`;
|
|
21398
21398
|
}
|
|
21399
21399
|
}
|
|
21400
|
-
|
|
21400
|
+
rr.getData = Ev;
|
|
21401
21401
|
var Io = {};
|
|
21402
21402
|
Object.defineProperty(Io, "__esModule", { value: !0 });
|
|
21403
21403
|
class NO extends Error {
|
|
@@ -21418,7 +21418,7 @@ No.default = MO;
|
|
|
21418
21418
|
var Ot = {};
|
|
21419
21419
|
Object.defineProperty(Ot, "__esModule", { value: !0 });
|
|
21420
21420
|
Ot.resolveSchema = Ot.getCompilingSchema = Ot.resolveRef = Ot.compileSchema = Ot.SchemaEnv = void 0;
|
|
21421
|
-
const
|
|
21421
|
+
const ar = ye, DO = Io, Xs = Wt, pr = bt, Dg = Ee, RO = rr;
|
|
21422
21422
|
class Oc {
|
|
21423
21423
|
constructor(e) {
|
|
21424
21424
|
var t;
|
|
@@ -21432,11 +21432,11 @@ function bf(r) {
|
|
|
21432
21432
|
const e = Av.call(this, r);
|
|
21433
21433
|
if (e)
|
|
21434
21434
|
return e;
|
|
21435
|
-
const t = (0, pr.getFullPath)(this.opts.uriResolver, r.root.baseId), { es5: s, lines: n } = this.opts.code, { ownProperties: o } = this.opts, i = new
|
|
21435
|
+
const t = (0, pr.getFullPath)(this.opts.uriResolver, r.root.baseId), { es5: s, lines: n } = this.opts.code, { ownProperties: o } = this.opts, i = new ar.CodeGen(this.scope, { es5: s, lines: n, ownProperties: o });
|
|
21436
21436
|
let a;
|
|
21437
21437
|
r.$async && (a = i.scopeValue("Error", {
|
|
21438
21438
|
ref: DO.default,
|
|
21439
|
-
code: (0,
|
|
21439
|
+
code: (0, ar._)`require("ajv/dist/runtime/validation_error").default`
|
|
21440
21440
|
}));
|
|
21441
21441
|
const l = i.scopeName("validate");
|
|
21442
21442
|
r.validateName = l;
|
|
@@ -21447,20 +21447,20 @@ function bf(r) {
|
|
|
21447
21447
|
parentData: Xs.default.parentData,
|
|
21448
21448
|
parentDataProperty: Xs.default.parentDataProperty,
|
|
21449
21449
|
dataNames: [Xs.default.data],
|
|
21450
|
-
dataPathArr: [
|
|
21450
|
+
dataPathArr: [ar.nil],
|
|
21451
21451
|
dataLevel: 0,
|
|
21452
21452
|
dataTypes: [],
|
|
21453
21453
|
definedProperties: /* @__PURE__ */ new Set(),
|
|
21454
|
-
topSchemaRef: i.scopeValue("schema", this.opts.code.source === !0 ? { ref: r.schema, code: (0,
|
|
21454
|
+
topSchemaRef: i.scopeValue("schema", this.opts.code.source === !0 ? { ref: r.schema, code: (0, ar.stringify)(r.schema) } : { ref: r.schema }),
|
|
21455
21455
|
validateName: l,
|
|
21456
21456
|
ValidationError: a,
|
|
21457
21457
|
schema: r.schema,
|
|
21458
21458
|
schemaEnv: r,
|
|
21459
21459
|
rootId: t,
|
|
21460
21460
|
baseId: r.baseId || t,
|
|
21461
|
-
schemaPath:
|
|
21461
|
+
schemaPath: ar.nil,
|
|
21462
21462
|
errSchemaPath: r.schemaPath || (this.opts.jtd ? "" : "#"),
|
|
21463
|
-
errorPath: (0,
|
|
21463
|
+
errorPath: (0, ar._)`""`,
|
|
21464
21464
|
opts: this.opts,
|
|
21465
21465
|
self: this
|
|
21466
21466
|
};
|
|
@@ -21473,11 +21473,11 @@ function bf(r) {
|
|
|
21473
21473
|
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: d, scopeValues: i._values }), this.opts.unevaluated) {
|
|
21474
21474
|
const { props: f, items: p } = c;
|
|
21475
21475
|
h.evaluated = {
|
|
21476
|
-
props: f instanceof
|
|
21477
|
-
items: p instanceof
|
|
21478
|
-
dynamicProps: f instanceof
|
|
21479
|
-
dynamicItems: p instanceof
|
|
21480
|
-
}, h.source && (h.source.evaluated = (0,
|
|
21476
|
+
props: f instanceof ar.Name ? void 0 : f,
|
|
21477
|
+
items: p instanceof ar.Name ? void 0 : p,
|
|
21478
|
+
dynamicProps: f instanceof ar.Name,
|
|
21479
|
+
dynamicItems: p instanceof ar.Name
|
|
21480
|
+
}, h.source && (h.source.evaluated = (0, ar.stringify)(h.evaluated));
|
|
21481
21481
|
}
|
|
21482
21482
|
return r.validate = h, r;
|
|
21483
21483
|
} catch (d) {
|
|
@@ -21630,7 +21630,7 @@ var vf = {}, eh = { exports: {} };
|
|
|
21630
21630
|
function c(E) {
|
|
21631
21631
|
var O = "[A-Za-z]", I = "[0-9]", H = s(I, "[A-Fa-f]"), U = n(n("%[EFef]" + H + "%" + H + H + "%" + H + H) + "|" + n("%[89A-Fa-f]" + H + "%" + H + H) + "|" + n("%" + H + H)), fe = "[\\:\\/\\?\\#\\[\\]\\@]", he = "[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]", Ie = s(fe, he), nt = E ? "[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]" : "[]", Fe = E ? "[\\uE000-\\uF8FF]" : "[]", Oe = s(O, I, "[\\-\\.\\_\\~]", nt);
|
|
21632
21632
|
n(O + s(O, I, "[\\+\\-\\.]") + "*"), n(n(U + "|" + s(Oe, he, "[\\:]")) + "*");
|
|
21633
|
-
var He = n(n("25[0-5]") + "|" + n("2[0-4]" + I) + "|" + n("1" + I + I) + "|" + n("0?[1-9]" + I) + "|0?0?" + I), et = n(He + "\\." + He + "\\." + He + "\\." + He), ke = n(H + "{1,4}"), ot = n(n(ke + "\\:" + ke) + "|" + et), ze = n(n(ke + "\\:") + "{6}" + ot), Jt = n("\\:\\:" + n(ke + "\\:") + "{5}" + ot), Rn = n(n(ke) + "?\\:\\:" + n(ke + "\\:") + "{4}" + ot),
|
|
21633
|
+
var He = n(n("25[0-5]") + "|" + n("2[0-4]" + I) + "|" + n("1" + I + I) + "|" + n("0?[1-9]" + I) + "|0?0?" + I), et = n(He + "\\." + He + "\\." + He + "\\." + He), ke = n(H + "{1,4}"), ot = n(n(ke + "\\:" + ke) + "|" + et), ze = n(n(ke + "\\:") + "{6}" + ot), Jt = n("\\:\\:" + n(ke + "\\:") + "{5}" + ot), Rn = n(n(ke) + "?\\:\\:" + n(ke + "\\:") + "{4}" + ot), ir = n(n(n(ke + "\\:") + "{0,1}" + ke) + "?\\:\\:" + n(ke + "\\:") + "{3}" + ot), Wr = n(n(n(ke + "\\:") + "{0,2}" + ke) + "?\\:\\:" + n(ke + "\\:") + "{2}" + ot), Ws = n(n(n(ke + "\\:") + "{0,3}" + ke) + "?\\:\\:" + ke + "\\:" + ot), Gs = n(n(n(ke + "\\:") + "{0,4}" + ke) + "?\\:\\:" + ot), Yt = n(n(n(ke + "\\:") + "{0,5}" + ke) + "?\\:\\:" + ke), Gr = n(n(n(ke + "\\:") + "{0,6}" + ke) + "?\\:\\:"), Js = n([ze, Jt, Rn, ir, Wr, Ws, Gs, Yt, Gr].join("|")), Or = n(n(Oe + "|" + U) + "+");
|
|
21634
21634
|
n("[vV]" + H + "+\\." + s(Oe, he, "[\\:]") + "+"), n(n(U + "|" + s(Oe, he)) + "*");
|
|
21635
21635
|
var Ma = n(U + "|" + s(Oe, he, "[\\:\\@]"));
|
|
21636
21636
|
return n(n(U + "|" + s(Oe, he, "[\\@]")) + "+"), n(n(Ma + "|" + s("[\\/\\?]", Fe)) + "*"), {
|
|
@@ -21716,7 +21716,7 @@ var vf = {}, eh = { exports: {} };
|
|
|
21716
21716
|
return String.fromCodePoint.apply(String, f(E));
|
|
21717
21717
|
}, ve = function(E) {
|
|
21718
21718
|
return E - 48 < 10 ? E - 22 : E - 65 < 26 ? E - 65 : E - 97 < 26 ? E - 97 : g;
|
|
21719
|
-
},
|
|
21719
|
+
}, Y = function(E, O) {
|
|
21720
21720
|
return E + 22 + 75 * (E < 26) - ((O != 0) << 5);
|
|
21721
21721
|
}, M = function(E, O, I) {
|
|
21722
21722
|
var H = 0;
|
|
@@ -21776,7 +21776,7 @@ var vf = {}, eh = { exports: {} };
|
|
|
21776
21776
|
for (et && O.push(w); ke < I; ) {
|
|
21777
21777
|
var ot = p, ze = !0, Jt = !1, Rn = void 0;
|
|
21778
21778
|
try {
|
|
21779
|
-
for (var
|
|
21779
|
+
for (var ir = E[Symbol.iterator](), Wr; !(ze = (Wr = ir.next()).done); ze = !0) {
|
|
21780
21780
|
var Ws = Wr.value;
|
|
21781
21781
|
Ws >= H && Ws < ot && (ot = Ws);
|
|
21782
21782
|
}
|
|
@@ -21784,7 +21784,7 @@ var vf = {}, eh = { exports: {} };
|
|
|
21784
21784
|
Jt = !0, Rn = si;
|
|
21785
21785
|
} finally {
|
|
21786
21786
|
try {
|
|
21787
|
-
!ze &&
|
|
21787
|
+
!ze && ir.return && ir.return();
|
|
21788
21788
|
} finally {
|
|
21789
21789
|
if (Jt)
|
|
21790
21790
|
throw Rn;
|
|
@@ -21807,9 +21807,9 @@ var vf = {}, eh = { exports: {} };
|
|
|
21807
21807
|
if (Da < La)
|
|
21808
21808
|
break;
|
|
21809
21809
|
var Bp = Da - La, Vp = g - La;
|
|
21810
|
-
O.push(ue(
|
|
21810
|
+
O.push(ue(Y(La + Bp % Vp, 0))), Da = j(Bp / Vp);
|
|
21811
21811
|
}
|
|
21812
|
-
O.push(ue(
|
|
21812
|
+
O.push(ue(Y(Da, 0))), fe = M(U, Gs, ke == et), U = 0, ++ke;
|
|
21813
21813
|
}
|
|
21814
21814
|
}
|
|
21815
21815
|
} catch (si) {
|
|
@@ -21855,8 +21855,8 @@ var vf = {}, eh = { exports: {} };
|
|
|
21855
21855
|
encode: V,
|
|
21856
21856
|
toASCII: P,
|
|
21857
21857
|
toUnicode: C
|
|
21858
|
-
},
|
|
21859
|
-
function
|
|
21858
|
+
}, X = {};
|
|
21859
|
+
function te(E) {
|
|
21860
21860
|
var O = E.charCodeAt(0), I = void 0;
|
|
21861
21861
|
return O < 16 ? I = "%0" + O.toString(16).toUpperCase() : O < 128 ? I = "%" + O.toString(16).toUpperCase() : O < 2048 ? I = "%" + (O >> 6 | 192).toString(16).toUpperCase() + "%" + (O & 63 | 128).toString(16).toUpperCase() : I = "%" + (O >> 12 | 224).toString(16).toUpperCase() + "%" + (O >> 6 & 63 | 128).toString(16).toUpperCase() + "%" + (O & 63 | 128).toString(16).toUpperCase(), I;
|
|
21862
21862
|
}
|
|
@@ -21889,7 +21889,7 @@ var vf = {}, eh = { exports: {} };
|
|
|
21889
21889
|
var U = we(H);
|
|
21890
21890
|
return U.match(O.UNRESERVED) ? U : H;
|
|
21891
21891
|
}
|
|
21892
|
-
return E.scheme && (E.scheme = String(E.scheme).replace(O.PCT_ENCODED, I).toLowerCase().replace(O.NOT_SCHEME, "")), E.userinfo !== void 0 && (E.userinfo = String(E.userinfo).replace(O.PCT_ENCODED, I).replace(O.NOT_USERINFO,
|
|
21892
|
+
return E.scheme && (E.scheme = String(E.scheme).replace(O.PCT_ENCODED, I).toLowerCase().replace(O.NOT_SCHEME, "")), E.userinfo !== void 0 && (E.userinfo = String(E.userinfo).replace(O.PCT_ENCODED, I).replace(O.NOT_USERINFO, te).replace(O.PCT_ENCODED, i)), E.host !== void 0 && (E.host = String(E.host).replace(O.PCT_ENCODED, I).toLowerCase().replace(O.NOT_HOST, te).replace(O.PCT_ENCODED, i)), E.path !== void 0 && (E.path = String(E.path).replace(O.PCT_ENCODED, I).replace(E.scheme ? O.NOT_PATH : O.NOT_PATH_NOSCHEME, te).replace(O.PCT_ENCODED, i)), E.query !== void 0 && (E.query = String(E.query).replace(O.PCT_ENCODED, I).replace(O.NOT_QUERY, te).replace(O.PCT_ENCODED, i)), E.fragment !== void 0 && (E.fragment = String(E.fragment).replace(O.PCT_ENCODED, I).replace(O.NOT_FRAGMENT, te).replace(O.PCT_ENCODED, i)), E;
|
|
21893
21893
|
}
|
|
21894
21894
|
function Ne(E) {
|
|
21895
21895
|
return E.replace(/^0*(.*)/, "$1") || "0";
|
|
@@ -21910,11 +21910,11 @@ var vf = {}, eh = { exports: {} };
|
|
|
21910
21910
|
Or && Or.index + Or.length === Js ? Or.length++ : Yt.push({ index: Js, length: 1 });
|
|
21911
21911
|
}
|
|
21912
21912
|
return Yt;
|
|
21913
|
-
}, []),
|
|
21913
|
+
}, []), ir = Rn.sort(function(Yt, Gr) {
|
|
21914
21914
|
return Gr.length - Yt.length;
|
|
21915
21915
|
})[0], Wr = void 0;
|
|
21916
|
-
if (
|
|
21917
|
-
var Ws = ze.slice(0,
|
|
21916
|
+
if (ir && ir.length > 1) {
|
|
21917
|
+
var Ws = ze.slice(0, ir.index), Gs = ze.slice(ir.index + ir.length);
|
|
21918
21918
|
Wr = Ws.join(":") + "::" + Gs.join(":");
|
|
21919
21919
|
} else
|
|
21920
21920
|
Wr = ze.join(":");
|
|
@@ -21929,7 +21929,7 @@ var vf = {}, eh = { exports: {} };
|
|
|
21929
21929
|
var U = E.match(Yo);
|
|
21930
21930
|
if (U) {
|
|
21931
21931
|
Xo ? (I.scheme = U[1], I.userinfo = U[3], I.host = U[4], I.port = parseInt(U[5], 10), I.path = U[6] || "", I.query = U[7], I.fragment = U[8], isNaN(I.port) && (I.port = U[5])) : (I.scheme = U[1] || void 0, I.userinfo = E.indexOf("@") !== -1 ? U[3] : void 0, I.host = E.indexOf("//") !== -1 ? U[4] : void 0, I.port = parseInt(U[5], 10), I.path = U[6] || "", I.query = E.indexOf("?") !== -1 ? U[7] : void 0, I.fragment = E.indexOf("#") !== -1 ? U[8] : void 0, isNaN(I.port) && (I.port = E.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/) ? U[4] : void 0)), I.host && (I.host = Tn(Cr(I.host, H), H)), I.scheme === void 0 && I.userinfo === void 0 && I.host === void 0 && I.port === void 0 && !I.path && I.query === void 0 ? I.reference = "same-document" : I.scheme === void 0 ? I.reference = "relative" : I.fragment === void 0 ? I.reference = "absolute" : I.reference = "uri", O.reference && O.reference !== "suffix" && O.reference !== I.reference && (I.error = I.error || "URI is not a " + O.reference + " reference.");
|
|
21932
|
-
var fe =
|
|
21932
|
+
var fe = X[(O.scheme || I.scheme || "").toLowerCase()];
|
|
21933
21933
|
if (!O.unicodeSupport && (!fe || !fe.unicodeSupport)) {
|
|
21934
21934
|
if (I.host && (O.domainHost || fe && fe.domainHost))
|
|
21935
21935
|
try {
|
|
@@ -21973,7 +21973,7 @@ var vf = {}, eh = { exports: {} };
|
|
|
21973
21973
|
return O.join("");
|
|
21974
21974
|
}
|
|
21975
21975
|
function Nt(E) {
|
|
21976
|
-
var O = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, I = O.iri ? d : u, H = [], U =
|
|
21976
|
+
var O = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, I = O.iri ? d : u, H = [], U = X[(O.scheme || E.scheme || "").toLowerCase()];
|
|
21977
21977
|
if (U && U.serialize && U.serialize(E, O), E.host && !I.IPV6ADDRESS.test(E.host) && (O.domainHost || U && U.domainHost))
|
|
21978
21978
|
try {
|
|
21979
21979
|
E.host = O.iri ? D.toUnicode(E.host) : D.toASCII(E.host.replace(I.PCT_ENCODED, we).toLowerCase());
|
|
@@ -22003,7 +22003,7 @@ var vf = {}, eh = { exports: {} };
|
|
|
22003
22003
|
return typeof E == "string" ? E = Nt(Bt(E, I), I) : o(E) === "object" && (E = Nt(E, I)), typeof O == "string" ? O = Nt(Bt(O, I), I) : o(O) === "object" && (O = Nt(O, I)), E === O;
|
|
22004
22004
|
}
|
|
22005
22005
|
function Na(E, O) {
|
|
22006
|
-
return E && E.toString().replace(!O || !O.iri ? u.ESCAPE : d.ESCAPE,
|
|
22006
|
+
return E && E.toString().replace(!O || !O.iri ? u.ESCAPE : d.ESCAPE, te);
|
|
22007
22007
|
}
|
|
22008
22008
|
function Gt(E, O) {
|
|
22009
22009
|
return E && E.toString().replace(!O || !O.iri ? u.PCT_ENCODED : d.PCT_ENCODED, we);
|
|
@@ -22095,7 +22095,7 @@ var vf = {}, eh = { exports: {} };
|
|
|
22095
22095
|
var I = E, H = a(E.to);
|
|
22096
22096
|
if (H) {
|
|
22097
22097
|
for (var U = 0, fe = H.length; U < fe; ++U) {
|
|
22098
|
-
var he = String(H[U]), Ie = he.lastIndexOf("@"), nt = he.slice(0, Ie).replace(Dn, cu).replace(Dn, i).replace(Iw,
|
|
22098
|
+
var he = String(H[U]), Ie = he.lastIndexOf("@"), nt = he.slice(0, Ie).replace(Dn, cu).replace(Dn, i).replace(Iw, te), Fe = he.slice(Ie + 1);
|
|
22099
22099
|
try {
|
|
22100
22100
|
Fe = O.iri ? D.toUnicode(Fe) : D.toASCII(Gt(Fe, O).toLowerCase());
|
|
22101
22101
|
} catch (ke) {
|
|
@@ -22109,7 +22109,7 @@ var vf = {}, eh = { exports: {} };
|
|
|
22109
22109
|
E.subject && (Oe.subject = E.subject), E.body && (Oe.body = E.body);
|
|
22110
22110
|
var He = [];
|
|
22111
22111
|
for (var et in Oe)
|
|
22112
|
-
Oe[et] !== xw[et] && He.push(et.replace(Dn, cu).replace(Dn, i).replace(Mp,
|
|
22112
|
+
Oe[et] !== xw[et] && He.push(et.replace(Dn, cu).replace(Dn, i).replace(Mp, te) + "=" + Oe[et].replace(Dn, cu).replace(Dn, i).replace(Nw, te));
|
|
22113
22113
|
return He.length && (I.query = He.join("&")), I;
|
|
22114
22114
|
}
|
|
22115
22115
|
}, Mw = /^([^\:]+)\:(.*)/, Rp = {
|
|
@@ -22117,14 +22117,14 @@ var vf = {}, eh = { exports: {} };
|
|
|
22117
22117
|
parse: function(E, O) {
|
|
22118
22118
|
var I = E.path && E.path.match(Mw), H = E;
|
|
22119
22119
|
if (I) {
|
|
22120
|
-
var U = O.scheme || H.scheme || "urn", fe = I[1].toLowerCase(), he = I[2], Ie = U + ":" + (O.nid || fe), nt =
|
|
22120
|
+
var U = O.scheme || H.scheme || "urn", fe = I[1].toLowerCase(), he = I[2], Ie = U + ":" + (O.nid || fe), nt = X[Ie];
|
|
22121
22121
|
H.nid = fe, H.nss = he, H.path = void 0, nt && (H = nt.parse(H, O));
|
|
22122
22122
|
} else
|
|
22123
22123
|
H.error = H.error || "URN can not be parsed.";
|
|
22124
22124
|
return H;
|
|
22125
22125
|
},
|
|
22126
22126
|
serialize: function(E, O) {
|
|
22127
|
-
var I = O.scheme || E.scheme || "urn", H = E.nid, U = I + ":" + (O.nid || H), fe =
|
|
22127
|
+
var I = O.scheme || E.scheme || "urn", H = E.nid, U = I + ":" + (O.nid || H), fe = X[U];
|
|
22128
22128
|
fe && (E = fe.serialize(E, O));
|
|
22129
22129
|
var he = E, Ie = E.nss;
|
|
22130
22130
|
return he.path = (H || O.nid) + ":" + Ie, he;
|
|
@@ -22140,7 +22140,7 @@ var vf = {}, eh = { exports: {} };
|
|
|
22140
22140
|
return I.nss = (E.uuid || "").toLowerCase(), I;
|
|
22141
22141
|
}
|
|
22142
22142
|
};
|
|
22143
|
-
|
|
22143
|
+
X[Us.scheme] = Us, X[Tp.scheme] = Tp, X[ri.scheme] = ri, X[Ip.scheme] = Ip, X[Dp.scheme] = Dp, X[Rp.scheme] = Rp, X[Lp.scheme] = Lp, t.SCHEMES = X, t.pctEncChar = te, t.pctDecChars = we, t.parse = Bt, t.removeDotSegments = Er, t.serialize = Nt, t.resolveComponents = Mn, t.resolve = ei, t.normalize = Ks, t.equal = ti, t.escapeComponent = Na, t.unescapeComponent = Gt, Object.defineProperty(t, "__esModule", { value: !0 });
|
|
22144
22144
|
});
|
|
22145
22145
|
})(eh, eh.exports);
|
|
22146
22146
|
var JO = eh.exports;
|
|
@@ -22150,7 +22150,7 @@ Ov.code = 'require("ajv/dist/runtime/uri").default';
|
|
|
22150
22150
|
vf.default = Ov;
|
|
22151
22151
|
(function(r) {
|
|
22152
22152
|
Object.defineProperty(r, "__esModule", { value: !0 }), r.CodeGen = r.Name = r.nil = r.stringify = r.str = r._ = r.KeywordCxt = void 0;
|
|
22153
|
-
var e =
|
|
22153
|
+
var e = rr;
|
|
22154
22154
|
Object.defineProperty(r, "KeywordCxt", { enumerable: !0, get: function() {
|
|
22155
22155
|
return e.KeywordCxt;
|
|
22156
22156
|
} });
|
|
@@ -22168,7 +22168,7 @@ vf.default = Ov;
|
|
|
22168
22168
|
} }), Object.defineProperty(r, "CodeGen", { enumerable: !0, get: function() {
|
|
22169
22169
|
return t.CodeGen;
|
|
22170
22170
|
} });
|
|
22171
|
-
const s = Io, n = No, o = $n, i = Ot, a = ye, l = bt, c = ba, u = Ee, d = GO, h = vf, f = (
|
|
22171
|
+
const s = Io, n = No, o = $n, i = Ot, a = ye, l = bt, c = ba, u = Ee, d = GO, h = vf, f = (Y, M) => new RegExp(Y, M);
|
|
22172
22172
|
f.code = "new RegExp";
|
|
22173
22173
|
const p = ["removeAdditional", "useDefaults", "coerceTypes"], g = /* @__PURE__ */ new Set([
|
|
22174
22174
|
"validate",
|
|
@@ -22205,27 +22205,27 @@ vf.default = Ov;
|
|
|
22205
22205
|
jsPropertySyntax: "",
|
|
22206
22206
|
unicode: '"minLength"/"maxLength" account for unicode characters by default.'
|
|
22207
22207
|
}, b = 200;
|
|
22208
|
-
function v(
|
|
22209
|
-
var M, q, V, C, P, D,
|
|
22210
|
-
const Ks =
|
|
22208
|
+
function v(Y) {
|
|
22209
|
+
var M, q, V, C, P, D, X, te, we, be, Ne, Cr, Tn, Yo, Xo, Bt, Qo, Pn, In, Nn, Zo, Er, Nt, Mn, ei;
|
|
22210
|
+
const Ks = Y.strict, ti = (M = Y.code) === null || M === void 0 ? void 0 : M.optimize, Na = ti === !0 || ti === void 0 ? 1 : ti || 0, Gt = (V = (q = Y.code) === null || q === void 0 ? void 0 : q.regExp) !== null && V !== void 0 ? V : f, Us = (C = Y.uriResolver) !== null && C !== void 0 ? C : h.default;
|
|
22211
22211
|
return {
|
|
22212
|
-
strictSchema: (D = (P =
|
|
22213
|
-
strictNumbers: (
|
|
22214
|
-
strictTypes: (be = (we =
|
|
22215
|
-
strictTuples: (Cr = (Ne =
|
|
22216
|
-
strictRequired: (Yo = (Tn =
|
|
22217
|
-
code:
|
|
22218
|
-
loopRequired: (Xo =
|
|
22219
|
-
loopEnum: (Bt =
|
|
22220
|
-
meta: (Qo =
|
|
22221
|
-
messages: (Pn =
|
|
22222
|
-
inlineRefs: (In =
|
|
22223
|
-
schemaId: (Nn =
|
|
22224
|
-
addUsedSchema: (Zo =
|
|
22225
|
-
validateSchema: (Er =
|
|
22226
|
-
validateFormats: (Nt =
|
|
22227
|
-
unicodeRegExp: (Mn =
|
|
22228
|
-
int32range: (ei =
|
|
22212
|
+
strictSchema: (D = (P = Y.strictSchema) !== null && P !== void 0 ? P : Ks) !== null && D !== void 0 ? D : !0,
|
|
22213
|
+
strictNumbers: (te = (X = Y.strictNumbers) !== null && X !== void 0 ? X : Ks) !== null && te !== void 0 ? te : !0,
|
|
22214
|
+
strictTypes: (be = (we = Y.strictTypes) !== null && we !== void 0 ? we : Ks) !== null && be !== void 0 ? be : "log",
|
|
22215
|
+
strictTuples: (Cr = (Ne = Y.strictTuples) !== null && Ne !== void 0 ? Ne : Ks) !== null && Cr !== void 0 ? Cr : "log",
|
|
22216
|
+
strictRequired: (Yo = (Tn = Y.strictRequired) !== null && Tn !== void 0 ? Tn : Ks) !== null && Yo !== void 0 ? Yo : !1,
|
|
22217
|
+
code: Y.code ? { ...Y.code, optimize: Na, regExp: Gt } : { optimize: Na, regExp: Gt },
|
|
22218
|
+
loopRequired: (Xo = Y.loopRequired) !== null && Xo !== void 0 ? Xo : b,
|
|
22219
|
+
loopEnum: (Bt = Y.loopEnum) !== null && Bt !== void 0 ? Bt : b,
|
|
22220
|
+
meta: (Qo = Y.meta) !== null && Qo !== void 0 ? Qo : !0,
|
|
22221
|
+
messages: (Pn = Y.messages) !== null && Pn !== void 0 ? Pn : !0,
|
|
22222
|
+
inlineRefs: (In = Y.inlineRefs) !== null && In !== void 0 ? In : !0,
|
|
22223
|
+
schemaId: (Nn = Y.schemaId) !== null && Nn !== void 0 ? Nn : "$id",
|
|
22224
|
+
addUsedSchema: (Zo = Y.addUsedSchema) !== null && Zo !== void 0 ? Zo : !0,
|
|
22225
|
+
validateSchema: (Er = Y.validateSchema) !== null && Er !== void 0 ? Er : !0,
|
|
22226
|
+
validateFormats: (Nt = Y.validateFormats) !== null && Nt !== void 0 ? Nt : !0,
|
|
22227
|
+
unicodeRegExp: (Mn = Y.unicodeRegExp) !== null && Mn !== void 0 ? Mn : !0,
|
|
22228
|
+
int32range: (ei = Y.int32range) !== null && ei !== void 0 ? ei : !0,
|
|
22229
22229
|
uriResolver: Us
|
|
22230
22230
|
};
|
|
22231
22231
|
}
|
|
@@ -22282,14 +22282,14 @@ vf.default = Ov;
|
|
|
22282
22282
|
} catch (Ne) {
|
|
22283
22283
|
if (!(Ne instanceof n.default))
|
|
22284
22284
|
throw Ne;
|
|
22285
|
-
return
|
|
22285
|
+
return X.call(this, Ne), await te.call(this, Ne.missingSchema), D.call(this, be);
|
|
22286
22286
|
}
|
|
22287
22287
|
}
|
|
22288
|
-
function
|
|
22288
|
+
function X({ missingSchema: be, missingRef: Ne }) {
|
|
22289
22289
|
if (this.refs[be])
|
|
22290
22290
|
throw new Error(`AnySchema ${be} is loaded but ${Ne} cannot be resolved`);
|
|
22291
22291
|
}
|
|
22292
|
-
async function
|
|
22292
|
+
async function te(be) {
|
|
22293
22293
|
const Ne = await we.call(this, be);
|
|
22294
22294
|
this.refs[be] || await P.call(this, Ne.$schema), this.refs[be] || this.addSchema(Ne, be, q);
|
|
22295
22295
|
}
|
|
@@ -22433,14 +22433,14 @@ vf.default = Ov;
|
|
|
22433
22433
|
for (const C of q) {
|
|
22434
22434
|
const P = C.split("/").slice(1);
|
|
22435
22435
|
let D = M;
|
|
22436
|
-
for (const
|
|
22437
|
-
D = D[
|
|
22438
|
-
for (const
|
|
22439
|
-
const
|
|
22440
|
-
if (typeof
|
|
22436
|
+
for (const X of P)
|
|
22437
|
+
D = D[X];
|
|
22438
|
+
for (const X in V) {
|
|
22439
|
+
const te = V[X];
|
|
22440
|
+
if (typeof te != "object")
|
|
22441
22441
|
continue;
|
|
22442
|
-
const { $data: we } =
|
|
22443
|
-
we && be && (D[
|
|
22442
|
+
const { $data: we } = te.definition, be = D[X];
|
|
22443
|
+
we && be && (D[X] = ve(be));
|
|
22444
22444
|
}
|
|
22445
22445
|
}
|
|
22446
22446
|
return M;
|
|
@@ -22453,21 +22453,21 @@ vf.default = Ov;
|
|
|
22453
22453
|
}
|
|
22454
22454
|
_addSchema(M, q, V, C = this.opts.validateSchema, P = this.opts.addUsedSchema) {
|
|
22455
22455
|
let D;
|
|
22456
|
-
const { schemaId:
|
|
22456
|
+
const { schemaId: X } = this.opts;
|
|
22457
22457
|
if (typeof M == "object")
|
|
22458
|
-
D = M[
|
|
22458
|
+
D = M[X];
|
|
22459
22459
|
else {
|
|
22460
22460
|
if (this.opts.jtd)
|
|
22461
22461
|
throw new Error("schema must be object");
|
|
22462
22462
|
if (typeof M != "boolean")
|
|
22463
22463
|
throw new Error("schema must be object or boolean");
|
|
22464
22464
|
}
|
|
22465
|
-
let
|
|
22466
|
-
if (
|
|
22467
|
-
return
|
|
22465
|
+
let te = this._cache.get(M);
|
|
22466
|
+
if (te !== void 0)
|
|
22467
|
+
return te;
|
|
22468
22468
|
V = (0, l.normalizeId)(D || V);
|
|
22469
22469
|
const we = l.getSchemaRefs.call(this, M, V);
|
|
22470
|
-
return
|
|
22470
|
+
return te = new i.SchemaEnv({ schema: M, schemaId: X, meta: q, baseId: V, localRefs: we }), this._cache.set(te.schema, te), P && !V.startsWith("#") && (V && this._checkUnique(V), this.refs[V] = te), C && this.validateSchema(M, !0), te;
|
|
22471
22471
|
}
|
|
22472
22472
|
_checkUnique(M) {
|
|
22473
22473
|
if (this.schemas[M] || this.refs[M])
|
|
@@ -22489,64 +22489,64 @@ vf.default = Ov;
|
|
|
22489
22489
|
}
|
|
22490
22490
|
}
|
|
22491
22491
|
r.default = S, S.ValidationError = s.default, S.MissingRefError = n.default;
|
|
22492
|
-
function _(
|
|
22493
|
-
for (const C in
|
|
22492
|
+
function _(Y, M, q, V = "error") {
|
|
22493
|
+
for (const C in Y) {
|
|
22494
22494
|
const P = C;
|
|
22495
|
-
P in M && this.logger[V](`${q}: option ${C}. ${
|
|
22495
|
+
P in M && this.logger[V](`${q}: option ${C}. ${Y[P]}`);
|
|
22496
22496
|
}
|
|
22497
22497
|
}
|
|
22498
|
-
function w(
|
|
22499
|
-
return
|
|
22498
|
+
function w(Y) {
|
|
22499
|
+
return Y = (0, l.normalizeId)(Y), this.schemas[Y] || this.refs[Y];
|
|
22500
22500
|
}
|
|
22501
22501
|
function x() {
|
|
22502
|
-
const
|
|
22503
|
-
if (
|
|
22504
|
-
if (Array.isArray(
|
|
22505
|
-
this.addSchema(
|
|
22502
|
+
const Y = this.opts.schemas;
|
|
22503
|
+
if (Y)
|
|
22504
|
+
if (Array.isArray(Y))
|
|
22505
|
+
this.addSchema(Y);
|
|
22506
22506
|
else
|
|
22507
|
-
for (const M in
|
|
22508
|
-
this.addSchema(
|
|
22507
|
+
for (const M in Y)
|
|
22508
|
+
this.addSchema(Y[M], M);
|
|
22509
22509
|
}
|
|
22510
22510
|
function T() {
|
|
22511
|
-
for (const
|
|
22512
|
-
const M = this.opts.formats[
|
|
22513
|
-
M && this.addFormat(
|
|
22511
|
+
for (const Y in this.opts.formats) {
|
|
22512
|
+
const M = this.opts.formats[Y];
|
|
22513
|
+
M && this.addFormat(Y, M);
|
|
22514
22514
|
}
|
|
22515
22515
|
}
|
|
22516
|
-
function R(
|
|
22517
|
-
if (Array.isArray(
|
|
22518
|
-
this.addVocabulary(
|
|
22516
|
+
function R(Y) {
|
|
22517
|
+
if (Array.isArray(Y)) {
|
|
22518
|
+
this.addVocabulary(Y);
|
|
22519
22519
|
return;
|
|
22520
22520
|
}
|
|
22521
22521
|
this.logger.warn("keywords option as map is deprecated, pass array");
|
|
22522
|
-
for (const M in
|
|
22523
|
-
const q =
|
|
22522
|
+
for (const M in Y) {
|
|
22523
|
+
const q = Y[M];
|
|
22524
22524
|
q.keyword || (q.keyword = M), this.addKeyword(q);
|
|
22525
22525
|
}
|
|
22526
22526
|
}
|
|
22527
22527
|
function B() {
|
|
22528
|
-
const
|
|
22528
|
+
const Y = { ...this.opts };
|
|
22529
22529
|
for (const M of p)
|
|
22530
|
-
delete
|
|
22531
|
-
return
|
|
22530
|
+
delete Y[M];
|
|
22531
|
+
return Y;
|
|
22532
22532
|
}
|
|
22533
22533
|
const W = { log() {
|
|
22534
22534
|
}, warn() {
|
|
22535
22535
|
}, error() {
|
|
22536
22536
|
} };
|
|
22537
|
-
function j(
|
|
22538
|
-
if (
|
|
22537
|
+
function j(Y) {
|
|
22538
|
+
if (Y === !1)
|
|
22539
22539
|
return W;
|
|
22540
|
-
if (
|
|
22540
|
+
if (Y === void 0)
|
|
22541
22541
|
return console;
|
|
22542
|
-
if (
|
|
22543
|
-
return
|
|
22542
|
+
if (Y.log && Y.warn && Y.error)
|
|
22543
|
+
return Y;
|
|
22544
22544
|
throw new Error("logger must implement log, warn and error methods");
|
|
22545
22545
|
}
|
|
22546
22546
|
const ue = /^[a-z_$][a-z0-9_$:-]*$/i;
|
|
22547
|
-
function ae(
|
|
22547
|
+
function ae(Y, M) {
|
|
22548
22548
|
const { RULES: q } = this;
|
|
22549
|
-
if ((0, u.eachItem)(
|
|
22549
|
+
if ((0, u.eachItem)(Y, (V) => {
|
|
22550
22550
|
if (q.keywords[V])
|
|
22551
22551
|
throw new Error(`Keyword ${V} is already defined`);
|
|
22552
22552
|
if (!ue.test(V))
|
|
@@ -22554,38 +22554,38 @@ vf.default = Ov;
|
|
|
22554
22554
|
}), !!M && M.$data && !("code" in M || "validate" in M))
|
|
22555
22555
|
throw new Error('$data keyword must have "code" or "validate" function');
|
|
22556
22556
|
}
|
|
22557
|
-
function me(
|
|
22557
|
+
function me(Y, M, q) {
|
|
22558
22558
|
var V;
|
|
22559
22559
|
const C = M == null ? void 0 : M.post;
|
|
22560
22560
|
if (q && C)
|
|
22561
22561
|
throw new Error('keyword with "post" flag cannot have "type"');
|
|
22562
22562
|
const { RULES: P } = this;
|
|
22563
|
-
let D = C ? P.post : P.rules.find(({ type:
|
|
22564
|
-
if (D || (D = { type: q, rules: [] }, P.rules.push(D)), P.keywords[
|
|
22563
|
+
let D = C ? P.post : P.rules.find(({ type: te }) => te === q);
|
|
22564
|
+
if (D || (D = { type: q, rules: [] }, P.rules.push(D)), P.keywords[Y] = !0, !M)
|
|
22565
22565
|
return;
|
|
22566
|
-
const
|
|
22567
|
-
keyword:
|
|
22566
|
+
const X = {
|
|
22567
|
+
keyword: Y,
|
|
22568
22568
|
definition: {
|
|
22569
22569
|
...M,
|
|
22570
22570
|
type: (0, c.getJSONTypes)(M.type),
|
|
22571
22571
|
schemaType: (0, c.getJSONTypes)(M.schemaType)
|
|
22572
22572
|
}
|
|
22573
22573
|
};
|
|
22574
|
-
M.before ? Pe.call(this, D,
|
|
22574
|
+
M.before ? Pe.call(this, D, X, M.before) : D.rules.push(X), P.all[Y] = X, (V = M.implements) === null || V === void 0 || V.forEach((te) => this.addKeyword(te));
|
|
22575
22575
|
}
|
|
22576
|
-
function Pe(
|
|
22577
|
-
const V =
|
|
22578
|
-
V >= 0 ?
|
|
22576
|
+
function Pe(Y, M, q) {
|
|
22577
|
+
const V = Y.rules.findIndex((C) => C.keyword === q);
|
|
22578
|
+
V >= 0 ? Y.rules.splice(V, 0, M) : (Y.rules.push(M), this.logger.warn(`rule ${q} is not defined`));
|
|
22579
22579
|
}
|
|
22580
|
-
function De(
|
|
22581
|
-
let { metaSchema: M } =
|
|
22582
|
-
M !== void 0 && (
|
|
22580
|
+
function De(Y) {
|
|
22581
|
+
let { metaSchema: M } = Y;
|
|
22582
|
+
M !== void 0 && (Y.$data && this.opts.$data && (M = ve(M)), Y.validateSchema = this.compile(M, !0));
|
|
22583
22583
|
}
|
|
22584
22584
|
const Be = {
|
|
22585
22585
|
$ref: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"
|
|
22586
22586
|
};
|
|
22587
|
-
function ve(
|
|
22588
|
-
return { anyOf: [
|
|
22587
|
+
function ve(Y) {
|
|
22588
|
+
return { anyOf: [Y, Be] };
|
|
22589
22589
|
}
|
|
22590
22590
|
})(gn);
|
|
22591
22591
|
var wf = {}, Pc = {}, kf = {};
|
|
@@ -23096,9 +23096,9 @@ const Bg = ye, JT = Ee, YT = Ce, XT = Mo, QT = {
|
|
|
23096
23096
|
xf.default = ZT;
|
|
23097
23097
|
var Cf = {};
|
|
23098
23098
|
Object.defineProperty(Cf, "__esModule", { value: !0 });
|
|
23099
|
-
const
|
|
23100
|
-
message: ({ params: { min: r, max: e } }) => e === void 0 ? (0,
|
|
23101
|
-
params: ({ params: { min: r, max: e } }) => e === void 0 ? (0,
|
|
23099
|
+
const Zt = ye, ol = Ee, eP = {
|
|
23100
|
+
message: ({ params: { min: r, max: e } }) => e === void 0 ? (0, Zt.str)`must contain at least ${r} valid item(s)` : (0, Zt.str)`must contain at least ${r} and no more than ${e} valid item(s)`,
|
|
23101
|
+
params: ({ params: { min: r, max: e } }) => e === void 0 ? (0, Zt._)`{minContains: ${r}}` : (0, Zt._)`{minContains: ${r}, maxContains: ${e}}`
|
|
23102
23102
|
}, tP = {
|
|
23103
23103
|
keyword: "contains",
|
|
23104
23104
|
type: "array",
|
|
@@ -23111,7 +23111,7 @@ const Qt = ye, ol = Ee, eP = {
|
|
|
23111
23111
|
let i, a;
|
|
23112
23112
|
const { minContains: l, maxContains: c } = s;
|
|
23113
23113
|
o.opts.next ? (i = l === void 0 ? 1 : l, a = c) : i = 1;
|
|
23114
|
-
const u = e.const("len", (0,
|
|
23114
|
+
const u = e.const("len", (0, Zt._)`${n}.length`);
|
|
23115
23115
|
if (r.setParams({ min: i, max: a }), a === void 0 && i === 0) {
|
|
23116
23116
|
(0, ol.checkStrictMode)(o, '"minContains" == 0 without "maxContains": "contains" keyword ignored');
|
|
23117
23117
|
return;
|
|
@@ -23121,13 +23121,13 @@ const Qt = ye, ol = Ee, eP = {
|
|
|
23121
23121
|
return;
|
|
23122
23122
|
}
|
|
23123
23123
|
if ((0, ol.alwaysValidSchema)(o, t)) {
|
|
23124
|
-
let g = (0,
|
|
23125
|
-
a !== void 0 && (g = (0,
|
|
23124
|
+
let g = (0, Zt._)`${u} >= ${i}`;
|
|
23125
|
+
a !== void 0 && (g = (0, Zt._)`${g} && ${u} <= ${a}`), r.pass(g);
|
|
23126
23126
|
return;
|
|
23127
23127
|
}
|
|
23128
23128
|
o.items = !0;
|
|
23129
23129
|
const d = e.name("valid");
|
|
23130
|
-
a === void 0 && i === 1 ? f(d, () => e.if(d, () => e.break())) : i === 0 ? (e.let(d, !0), a !== void 0 && e.if((0,
|
|
23130
|
+
a === void 0 && i === 1 ? f(d, () => e.if(d, () => e.break())) : i === 0 ? (e.let(d, !0), a !== void 0 && e.if((0, Zt._)`${n}.length > 0`, h)) : (e.let(d, !1), h()), r.result(d, () => r.reset());
|
|
23131
23131
|
function h() {
|
|
23132
23132
|
const g = e.name("_valid"), m = e.let("count", 0);
|
|
23133
23133
|
f(g, () => e.if(g, () => p(m)));
|
|
@@ -23143,7 +23143,7 @@ const Qt = ye, ol = Ee, eP = {
|
|
|
23143
23143
|
});
|
|
23144
23144
|
}
|
|
23145
23145
|
function p(g) {
|
|
23146
|
-
e.code((0,
|
|
23146
|
+
e.code((0, Zt._)`${g}++`), a === void 0 ? e.if((0, Zt._)`${g} >= ${i}`, () => e.assign(d, !0).break()) : (e.if((0, Zt._)`${g} > ${a}`, () => e.assign(d, !1).break()), i === 1 ? e.assign(d, !0) : e.if((0, Zt._)`${g} >= ${i}`, () => e.assign(d, !0)));
|
|
23147
23147
|
}
|
|
23148
23148
|
}
|
|
23149
23149
|
};
|
|
@@ -23319,7 +23319,7 @@ const il = Ce, lr = ye, oP = Wt, al = Ee, iP = {
|
|
|
23319
23319
|
qc.default = aP;
|
|
23320
23320
|
var Af = {};
|
|
23321
23321
|
Object.defineProperty(Af, "__esModule", { value: !0 });
|
|
23322
|
-
const lP =
|
|
23322
|
+
const lP = rr, Vg = Ce, Ru = Ee, Fg = qc, cP = {
|
|
23323
23323
|
keyword: "properties",
|
|
23324
23324
|
type: "object",
|
|
23325
23325
|
schemaType: "object",
|
|
@@ -23978,7 +23978,7 @@ const ZP = "http://json-schema.org/draft-07/schema#", eI = "http://json-schema.o
|
|
|
23978
23978
|
}
|
|
23979
23979
|
}
|
|
23980
23980
|
r.exports = e = l, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = l;
|
|
23981
|
-
var c =
|
|
23981
|
+
var c = rr;
|
|
23982
23982
|
Object.defineProperty(e, "KeywordCxt", { enumerable: !0, get: function() {
|
|
23983
23983
|
return c.KeywordCxt;
|
|
23984
23984
|
} });
|
|
@@ -25131,7 +25131,7 @@ Zf.default = e5;
|
|
|
25131
25131
|
}
|
|
25132
25132
|
}
|
|
25133
25133
|
r.exports = e = a, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = a;
|
|
25134
|
-
var l =
|
|
25134
|
+
var l = rr;
|
|
25135
25135
|
Object.defineProperty(e, "KeywordCxt", { enumerable: !0, get: function() {
|
|
25136
25136
|
return l.KeywordCxt;
|
|
25137
25137
|
} });
|
|
@@ -25185,10 +25185,10 @@ function i5(r) {
|
|
|
25185
25185
|
const e = [];
|
|
25186
25186
|
return !r || typeof r != "object" || Mr(r, (t) => (t.$ref && typeof t.$ref == "string" && !t.$ref.startsWith("#") && e.push(t.$ref.split("#")[0]), t)), e;
|
|
25187
25187
|
}
|
|
25188
|
-
const ep = Symbol.for("yaml.alias"), uh = Symbol.for("yaml.document"), Ms = Symbol.for("yaml.map"), zv = Symbol.for("yaml.pair"), us = Symbol.for("yaml.scalar"), jo = Symbol.for("yaml.seq"),
|
|
25188
|
+
const ep = Symbol.for("yaml.alias"), uh = Symbol.for("yaml.document"), Ms = Symbol.for("yaml.map"), zv = Symbol.for("yaml.pair"), us = Symbol.for("yaml.scalar"), jo = Symbol.for("yaml.seq"), or = Symbol.for("yaml.node.type"), On = (r) => !!r && typeof r == "object" && r[or] === ep, Bo = (r) => !!r && typeof r == "object" && r[or] === uh, Vo = (r) => !!r && typeof r == "object" && r[or] === Ms, Ye = (r) => !!r && typeof r == "object" && r[or] === zv, qe = (r) => !!r && typeof r == "object" && r[or] === us, Fo = (r) => !!r && typeof r == "object" && r[or] === jo;
|
|
25189
25189
|
function Qe(r) {
|
|
25190
25190
|
if (r && typeof r == "object")
|
|
25191
|
-
switch (r[
|
|
25191
|
+
switch (r[or]) {
|
|
25192
25192
|
case Ms:
|
|
25193
25193
|
case jo:
|
|
25194
25194
|
return !0;
|
|
@@ -25197,7 +25197,7 @@ function Qe(r) {
|
|
|
25197
25197
|
}
|
|
25198
25198
|
function st(r) {
|
|
25199
25199
|
if (r && typeof r == "object")
|
|
25200
|
-
switch (r[
|
|
25200
|
+
switch (r[or]) {
|
|
25201
25201
|
case ep:
|
|
25202
25202
|
case Ms:
|
|
25203
25203
|
case us:
|
|
@@ -25518,9 +25518,9 @@ function Zn(r, e, t, s) {
|
|
|
25518
25518
|
}
|
|
25519
25519
|
return r.call(e, t, s);
|
|
25520
25520
|
}
|
|
25521
|
-
function
|
|
25521
|
+
function sr(r, e, t) {
|
|
25522
25522
|
if (Array.isArray(r))
|
|
25523
|
-
return r.map((s, n) =>
|
|
25523
|
+
return r.map((s, n) => sr(s, String(n), t));
|
|
25524
25524
|
if (r && typeof r.toJSON == "function") {
|
|
25525
25525
|
if (!t || !a5(r))
|
|
25526
25526
|
return r.toJSON(e, t);
|
|
@@ -25535,7 +25535,7 @@ function rr(r, e, t) {
|
|
|
25535
25535
|
}
|
|
25536
25536
|
class tp {
|
|
25537
25537
|
constructor(e) {
|
|
25538
|
-
Object.defineProperty(this,
|
|
25538
|
+
Object.defineProperty(this, or, { value: e });
|
|
25539
25539
|
}
|
|
25540
25540
|
/** Create a copy of this node. */
|
|
25541
25541
|
clone() {
|
|
@@ -25553,7 +25553,7 @@ class tp {
|
|
|
25553
25553
|
mapAsMap: t === !0,
|
|
25554
25554
|
mapKeyWarned: !1,
|
|
25555
25555
|
maxAliasCount: typeof s == "number" ? s : 100
|
|
25556
|
-
}, a =
|
|
25556
|
+
}, a = sr(this, "", i);
|
|
25557
25557
|
if (typeof n == "function")
|
|
25558
25558
|
for (const { count: l, res: c } of i.anchors.values())
|
|
25559
25559
|
n(c, l);
|
|
@@ -25591,7 +25591,7 @@ class Kc extends tp {
|
|
|
25591
25591
|
throw new ReferenceError(l);
|
|
25592
25592
|
}
|
|
25593
25593
|
let a = s.get(i);
|
|
25594
|
-
if (a || (
|
|
25594
|
+
if (a || (sr(i, null, t), a = s.get(i)), !a || a.res === void 0) {
|
|
25595
25595
|
const l = "This should not happen: Alias anchor was not resolved?";
|
|
25596
25596
|
throw new ReferenceError(l);
|
|
25597
25597
|
}
|
|
@@ -25637,7 +25637,7 @@ class $e extends tp {
|
|
|
25637
25637
|
super(us), this.value = e;
|
|
25638
25638
|
}
|
|
25639
25639
|
toJSON(e, t) {
|
|
25640
|
-
return t != null && t.keep ? this.value :
|
|
25640
|
+
return t != null && t.keep ? this.value : sr(this.value, e, t);
|
|
25641
25641
|
}
|
|
25642
25642
|
toString() {
|
|
25643
25643
|
return String(this.value);
|
|
@@ -26275,13 +26275,13 @@ function e1(r, e, { key: t, value: s }) {
|
|
|
26275
26275
|
else
|
|
26276
26276
|
ju(r, e, s);
|
|
26277
26277
|
else {
|
|
26278
|
-
const n =
|
|
26278
|
+
const n = sr(t, "", r);
|
|
26279
26279
|
if (e instanceof Map)
|
|
26280
|
-
e.set(n,
|
|
26280
|
+
e.set(n, sr(s, n, r));
|
|
26281
26281
|
else if (e instanceof Set)
|
|
26282
26282
|
e.add(n);
|
|
26283
26283
|
else {
|
|
26284
|
-
const o = w5(t, n, r), i =
|
|
26284
|
+
const o = w5(t, n, r), i = sr(s, o, r);
|
|
26285
26285
|
o in e ? Object.defineProperty(e, o, {
|
|
26286
26286
|
value: i,
|
|
26287
26287
|
writable: !0,
|
|
@@ -26333,7 +26333,7 @@ function sp(r, e, t) {
|
|
|
26333
26333
|
}
|
|
26334
26334
|
let Lt = class t1 {
|
|
26335
26335
|
constructor(e, t = null) {
|
|
26336
|
-
Object.defineProperty(this,
|
|
26336
|
+
Object.defineProperty(this, or, { value: zv }), this.key = e, this.value = t;
|
|
26337
26337
|
}
|
|
26338
26338
|
clone(e) {
|
|
26339
26339
|
let { key: t, value: s } = this;
|
|
@@ -26595,7 +26595,7 @@ class Fs extends rp {
|
|
|
26595
26595
|
t != null && t.onCreate && t.onCreate(s);
|
|
26596
26596
|
let n = 0;
|
|
26597
26597
|
for (const o of this.items)
|
|
26598
|
-
s.push(
|
|
26598
|
+
s.push(sr(o, String(n++), t));
|
|
26599
26599
|
return s;
|
|
26600
26600
|
}
|
|
26601
26601
|
toString(e, t, s) {
|
|
@@ -26918,7 +26918,7 @@ class co extends Fs {
|
|
|
26918
26918
|
t != null && t.onCreate && t.onCreate(s);
|
|
26919
26919
|
for (const n of this.items) {
|
|
26920
26920
|
let o, i;
|
|
26921
|
-
if (Ye(n) ? (o =
|
|
26921
|
+
if (Ye(n) ? (o = sr(n.key, "", t), i = sr(n.value, o, t)) : o = sr(n, "", t), s.has(o))
|
|
26922
26922
|
throw new Error("Ordered maps must not include duplicate keys");
|
|
26923
26923
|
s.set(o, i);
|
|
26924
26924
|
}
|
|
@@ -27297,7 +27297,7 @@ function R5(r, e) {
|
|
|
27297
27297
|
}
|
|
27298
27298
|
class Ho {
|
|
27299
27299
|
constructor(e, t, s) {
|
|
27300
|
-
this.commentBefore = null, this.comment = null, this.errors = [], this.warnings = [], Object.defineProperty(this,
|
|
27300
|
+
this.commentBefore = null, this.comment = null, this.errors = [], this.warnings = [], Object.defineProperty(this, or, { value: uh });
|
|
27301
27301
|
let n = null;
|
|
27302
27302
|
typeof t == "function" || Array.isArray(t) ? n = t : s === void 0 && t && (s = t, t = void 0);
|
|
27303
27303
|
const o = Object.assign({
|
|
@@ -27320,7 +27320,7 @@ class Ho {
|
|
|
27320
27320
|
*/
|
|
27321
27321
|
clone() {
|
|
27322
27322
|
const e = Object.create(Ho.prototype, {
|
|
27323
|
-
[
|
|
27323
|
+
[or]: { value: uh }
|
|
27324
27324
|
});
|
|
27325
27325
|
return e.commentBefore = this.commentBefore, e.comment = this.comment, e.errors = this.errors.slice(), e.warnings = this.warnings.slice(), e.options = Object.assign({}, this.options), this.directives && (e.directives = this.directives.clone()), e.schema = this.schema.clone(), e.contents = st(this.contents) ? this.contents.clone(e.schema) : this.contents, this.range && (e.range = this.range.slice()), e;
|
|
27326
27326
|
}
|
|
@@ -27479,7 +27479,7 @@ class Ho {
|
|
|
27479
27479
|
mapAsMap: s === !0,
|
|
27480
27480
|
mapKeyWarned: !1,
|
|
27481
27481
|
maxAliasCount: typeof n == "number" ? n : 100
|
|
27482
|
-
}, l =
|
|
27482
|
+
}, l = sr(this.contents, t ?? "", a);
|
|
27483
27483
|
if (typeof o == "function")
|
|
27484
27484
|
for (const { count: c, res: u } of a.anchors.values())
|
|
27485
27485
|
o(u, c);
|
|
@@ -31563,9 +31563,9 @@ const u3 = /* @__PURE__ */ Oa(n3, [["render", c3]]), d3 = ["aria-live", "data-st
|
|
|
31563
31563
|
() => n.heights.findIndex((D) => D.toastId === n.toast.id) || 0
|
|
31564
31564
|
), w = ne(
|
|
31565
31565
|
() => n.toast.duration || n.duration || g3
|
|
31566
|
-
), x = ie(0), T = ie(0), R = ie(w.value), B = ie(0), W = ie(null), j = ne(() => n.position.split("-")), ue = ne(() => j.value[0]), ae = ne(() => j.value[1]), me = ne(() => n.heights.reduce((D,
|
|
31566
|
+
), x = ie(0), T = ie(0), R = ie(w.value), B = ie(0), W = ie(null), j = ne(() => n.position.split("-")), ue = ne(() => j.value[0]), ae = ne(() => j.value[1]), me = ne(() => n.heights.reduce((D, X, te) => te >= _.value ? D : D + X.height, 0)), Pe = ne(() => n.toast.invert || n.invert), De = ne(() => c.value === "loading"), Be = ne(
|
|
31567
31567
|
() => c.value ?? (n.toast.type || null)
|
|
31568
|
-
), ve = ne(() => !t(n.toast) && typeof n.toast.title == "object"),
|
|
31568
|
+
), ve = ne(() => !t(n.toast) && typeof n.toast.title == "object"), Y = ne(() => {
|
|
31569
31569
|
if (!t(n.toast))
|
|
31570
31570
|
return null;
|
|
31571
31571
|
switch (c.value) {
|
|
@@ -31583,13 +31583,13 @@ const u3 = /* @__PURE__ */ Oa(n3, [["render", c3]]), d3 = ["aria-live", "data-st
|
|
|
31583
31583
|
T.value = _.value * y3 + me.value;
|
|
31584
31584
|
});
|
|
31585
31585
|
function M() {
|
|
31586
|
-
var D,
|
|
31587
|
-
(!De.value || y.value) && (q(), (
|
|
31586
|
+
var D, X;
|
|
31587
|
+
(!De.value || y.value) && (q(), (X = (D = n.toast).onDismiss) == null || X.call(D, n.toast));
|
|
31588
31588
|
}
|
|
31589
31589
|
function q() {
|
|
31590
31590
|
i.value = !0, u.value = T.value;
|
|
31591
31591
|
const D = n.heights.filter(
|
|
31592
|
-
(
|
|
31592
|
+
(X) => X.toastId !== n.toast.id
|
|
31593
31593
|
);
|
|
31594
31594
|
s("update:heights", D), setTimeout(() => {
|
|
31595
31595
|
s("removeToast", n.toast);
|
|
@@ -31598,61 +31598,61 @@ const u3 = /* @__PURE__ */ Oa(n3, [["render", c3]]), d3 = ["aria-live", "data-st
|
|
|
31598
31598
|
const V = (D) => {
|
|
31599
31599
|
De || (u.value = T.value, D.target.setPointerCapture(D.pointerId), D.target.tagName !== "BUTTON" && (a.value = !0, W.value = { x: D.clientX, y: D.clientY }));
|
|
31600
31600
|
}, C = (D) => {
|
|
31601
|
-
var
|
|
31601
|
+
var X, te, we, be;
|
|
31602
31602
|
if (l.value)
|
|
31603
31603
|
return;
|
|
31604
31604
|
W.value = null;
|
|
31605
31605
|
const Ne = Number(
|
|
31606
|
-
((
|
|
31606
|
+
((X = f.value) == null ? void 0 : X.style.getPropertyValue("--swipe-amount").replace("px", "")) || 0
|
|
31607
31607
|
);
|
|
31608
31608
|
if (Math.abs(Ne) >= b3) {
|
|
31609
|
-
u.value = T.value, (we = (
|
|
31609
|
+
u.value = T.value, (we = (te = n.toast).onDismiss) == null || we.call(te, n.toast), q(), l.value = !0;
|
|
31610
31610
|
return;
|
|
31611
31611
|
}
|
|
31612
31612
|
(be = f.value) == null || be.style.setProperty("--swipe-amount", "0px"), a.value = !0;
|
|
31613
31613
|
}, P = (D) => {
|
|
31614
|
-
var
|
|
31614
|
+
var X;
|
|
31615
31615
|
if (!W.value)
|
|
31616
31616
|
return;
|
|
31617
|
-
const
|
|
31618
|
-
Math.abs(be) > Ne ? (
|
|
31617
|
+
const te = D.clientY - W.value.y, we = D.clientX - W.value.x, be = (j.value[0] === "top" ? Math.min : Math.max)(0, te), Ne = D.pointerType === "touch" ? 10 : 2;
|
|
31618
|
+
Math.abs(be) > Ne ? (X = f.value) == null || X.style.setProperty("--swipe-amount", `${te}px`) : Math.abs(we) > Ne && (W.value = null);
|
|
31619
31619
|
};
|
|
31620
31620
|
return xi((D) => {
|
|
31621
31621
|
if (n.toast.promise && c.value === "loading" || n.toast.duration === 1 / 0)
|
|
31622
31622
|
return;
|
|
31623
|
-
let
|
|
31624
|
-
const
|
|
31623
|
+
let X;
|
|
31624
|
+
const te = () => {
|
|
31625
31625
|
if (B.value < x.value) {
|
|
31626
31626
|
const be = (/* @__PURE__ */ new Date()).getTime() - x.value;
|
|
31627
31627
|
R.value = R.value - be;
|
|
31628
31628
|
}
|
|
31629
31629
|
B.value = (/* @__PURE__ */ new Date()).getTime();
|
|
31630
31630
|
}, we = () => {
|
|
31631
|
-
x.value = (/* @__PURE__ */ new Date()).getTime(),
|
|
31631
|
+
x.value = (/* @__PURE__ */ new Date()).getTime(), X = setTimeout(() => {
|
|
31632
31632
|
var be, Ne;
|
|
31633
31633
|
(Ne = (be = n.toast).onAutoClose) == null || Ne.call(be, n.toast), q();
|
|
31634
31634
|
}, R.value);
|
|
31635
31635
|
};
|
|
31636
|
-
n.expanded || n.interacting ?
|
|
31637
|
-
clearTimeout(
|
|
31636
|
+
n.expanded || n.interacting ? te() : we(), D(() => {
|
|
31637
|
+
clearTimeout(X);
|
|
31638
31638
|
});
|
|
31639
31639
|
}), vr(() => {
|
|
31640
31640
|
if (f.value) {
|
|
31641
31641
|
const D = f.value.getBoundingClientRect().height;
|
|
31642
31642
|
d.value = D;
|
|
31643
|
-
const
|
|
31644
|
-
s("update:heights",
|
|
31643
|
+
const X = [{ toastId: n.toast.id, height: D }, ...n.heights];
|
|
31644
|
+
s("update:heights", X);
|
|
31645
31645
|
}
|
|
31646
31646
|
}), O0(() => {
|
|
31647
31647
|
if (f.value) {
|
|
31648
31648
|
const D = n.heights.filter(
|
|
31649
|
-
(
|
|
31649
|
+
(X) => X.toastId !== n.toast.id
|
|
31650
31650
|
);
|
|
31651
31651
|
s("update:heights", D);
|
|
31652
31652
|
}
|
|
31653
31653
|
}), xi(() => {
|
|
31654
31654
|
n.toast.delete && q();
|
|
31655
|
-
}), (D,
|
|
31655
|
+
}), (D, X) => (k(), A("li", {
|
|
31656
31656
|
"aria-live": D.toast.important ? "assertive" : "polite",
|
|
31657
31657
|
"aria-atomic": "",
|
|
31658
31658
|
role: "status",
|
|
@@ -31706,14 +31706,14 @@ const u3 = /* @__PURE__ */ Oa(n3, [["render", c3]]), d3 = ["aria-live", "data-st
|
|
|
31706
31706
|
F("div", p3, [
|
|
31707
31707
|
F("div", m3, [
|
|
31708
31708
|
typeof D.toast.title == "string" ? (k(), A(Z, { key: 0 }, [
|
|
31709
|
-
|
|
31709
|
+
J(ee(D.toast.title), 1)
|
|
31710
31710
|
], 64)) : D.toast.title === void 0 || D.toast.title === null ? (k(), A(Z, { key: 1 }, [
|
|
31711
|
-
|
|
31711
|
+
J(ee(Y.value), 1)
|
|
31712
31712
|
], 64)) : ve.value ? (k(), z(br(D.toast.title), {
|
|
31713
31713
|
key: 2,
|
|
31714
|
-
onCloseToast:
|
|
31715
|
-
var
|
|
31716
|
-
q(), (
|
|
31714
|
+
onCloseToast: X[0] || (X[0] = () => {
|
|
31715
|
+
var te;
|
|
31716
|
+
q(), (te = D.toast.cancel) != null && te.onClick && D.toast.cancel.onClick();
|
|
31717
31717
|
})
|
|
31718
31718
|
}, null, 32)) : K("", !0)
|
|
31719
31719
|
]),
|
|
@@ -31721,25 +31721,25 @@ const u3 = /* @__PURE__ */ Oa(n3, [["render", c3]]), d3 = ["aria-live", "data-st
|
|
|
31721
31721
|
key: 0,
|
|
31722
31722
|
"data-description": "",
|
|
31723
31723
|
class: xe(D.descriptionClass + $(v))
|
|
31724
|
-
},
|
|
31724
|
+
}, ee(D.toast.description), 3)) : K("", !0)
|
|
31725
31725
|
]),
|
|
31726
31726
|
D.toast.cancel ? (k(), A("button", {
|
|
31727
31727
|
key: 2,
|
|
31728
31728
|
"data-button": "",
|
|
31729
31729
|
"data-cancel": "",
|
|
31730
|
-
onClick:
|
|
31731
|
-
var
|
|
31732
|
-
q(), (
|
|
31730
|
+
onClick: X[1] || (X[1] = () => {
|
|
31731
|
+
var te;
|
|
31732
|
+
q(), (te = D.toast.cancel) != null && te.onClick && D.toast.cancel.onClick();
|
|
31733
31733
|
})
|
|
31734
|
-
},
|
|
31734
|
+
}, ee(D.toast.cancel.label), 1)) : K("", !0),
|
|
31735
31735
|
D.toast.action ? (k(), A("button", {
|
|
31736
31736
|
key: 3,
|
|
31737
31737
|
"data-button": "",
|
|
31738
|
-
onClick:
|
|
31739
|
-
var
|
|
31740
|
-
q(), (
|
|
31738
|
+
onClick: X[2] || (X[2] = () => {
|
|
31739
|
+
var te;
|
|
31740
|
+
q(), (te = D.toast.action) == null || te.onClick();
|
|
31741
31741
|
})
|
|
31742
|
-
},
|
|
31742
|
+
}, ee(D.toast.action.label), 1)) : K("", !0)
|
|
31743
31743
|
], 46, d3));
|
|
31744
31744
|
}
|
|
31745
31745
|
}), k3 = ["aria-label"], S3 = ["dir", "data-theme", "data-rich-colors", "data-y-position", "data-x-position"], $3 = 3, v0 = "32px", _3 = 4e3, x3 = 356, w0 = 14, C3 = typeof window < "u" && typeof document < "u", E3 = /* @__PURE__ */ Q({
|
|
@@ -32381,7 +32381,7 @@ const X3 = /* @__PURE__ */ Q({
|
|
|
32381
32381
|
size: "xs",
|
|
32382
32382
|
onClick: ia(a, ["stop"])
|
|
32383
32383
|
}, null, 8, ["icon"]),
|
|
32384
|
-
|
|
32384
|
+
J(" ")
|
|
32385
32385
|
])) : K("", !0),
|
|
32386
32386
|
F("a", {
|
|
32387
32387
|
class: "sidebar-heading-link",
|
|
@@ -32393,9 +32393,9 @@ const X3 = /* @__PURE__ */ Q({
|
|
|
32393
32393
|
class: "sidebar-icon",
|
|
32394
32394
|
icon: u.item.icon.src
|
|
32395
32395
|
}, null, 8, ["icon"])) : K("", !0),
|
|
32396
|
-
F("p", tL,
|
|
32396
|
+
F("p", tL, ee(u.item.title), 1),
|
|
32397
32397
|
u.item.httpVerb && !u.hasChildren ? (k(), A("p", rL, [
|
|
32398
|
-
|
|
32398
|
+
J(" "),
|
|
32399
32399
|
L(iw, {
|
|
32400
32400
|
active: u.isActive,
|
|
32401
32401
|
method: u.item.httpVerb
|
|
@@ -32460,7 +32460,7 @@ const X3 = /* @__PURE__ */ Q({
|
|
|
32460
32460
|
key: h.id
|
|
32461
32461
|
}, [
|
|
32462
32462
|
h.isGroup ? (k(), A(Z, { key: 0 }, [
|
|
32463
|
-
F("li", aL,
|
|
32463
|
+
F("li", aL, ee(h.displayTitle ?? h.title), 1),
|
|
32464
32464
|
(k(!0), A(Z, null, Se(h.children, (f) => (k(), z(ml, {
|
|
32465
32465
|
key: f.id,
|
|
32466
32466
|
id: `sidebar-${f.id}`,
|
|
@@ -32583,7 +32583,7 @@ const X3 = /* @__PURE__ */ Q({
|
|
|
32583
32583
|
emits: ["toggleDarkMode"],
|
|
32584
32584
|
setup(r) {
|
|
32585
32585
|
const e = A0(
|
|
32586
|
-
() => import("./index-
|
|
32586
|
+
() => import("./index-DwSL-6br.js").then((i) => i.ApiClient)
|
|
32587
32587
|
), { hideApiClient: t, state: s } = Ph(), n = Oh("(max-width: 1000px)"), o = ie(!1);
|
|
32588
32588
|
return (i, a) => (k(), A(Z, null, [
|
|
32589
32589
|
$(s).showApiClient || i.overloadShow ? (k(), A("div", uL, [
|
|
@@ -32764,7 +32764,7 @@ const bL = (r) => {
|
|
|
32764
32764
|
innerHTML: t.value
|
|
32765
32765
|
}, null, 8, EL));
|
|
32766
32766
|
}
|
|
32767
|
-
}), Ut = /* @__PURE__ */ oe(AL, [["__scopeId", "data-v-
|
|
32767
|
+
}), Ut = /* @__PURE__ */ oe(AL, [["__scopeId", "data-v-5a5f5321"]]), OL = ["title", "innerHTML"], TL = /* @__PURE__ */ Q({
|
|
32768
32768
|
__name: "ServerItem",
|
|
32769
32769
|
props: {
|
|
32770
32770
|
value: {},
|
|
@@ -32815,7 +32815,7 @@ const bL = (r) => {
|
|
|
32815
32815
|
F("label", {
|
|
32816
32816
|
for: `variable-${a.name}`
|
|
32817
32817
|
}, [
|
|
32818
|
-
F("code", null,
|
|
32818
|
+
F("code", null, ee(a.name), 1)
|
|
32819
32819
|
], 8, NL),
|
|
32820
32820
|
a.enum ? (k(), A(Z, { key: 0 }, [
|
|
32821
32821
|
F("select", {
|
|
@@ -32826,9 +32826,9 @@ const bL = (r) => {
|
|
|
32826
32826
|
(k(!0), A(Z, null, Se(a.enum, (l) => (k(), A("option", {
|
|
32827
32827
|
key: l,
|
|
32828
32828
|
value: l
|
|
32829
|
-
},
|
|
32829
|
+
}, ee(l), 9, DL))), 128))
|
|
32830
32830
|
], 40, ML),
|
|
32831
|
-
F("div", RL,
|
|
32831
|
+
F("div", RL, ee(a.default), 1)
|
|
32832
32832
|
], 64)) : (k(), A("input", {
|
|
32833
32833
|
key: 1,
|
|
32834
32834
|
id: `variable-${a.name}`,
|
|
@@ -32896,7 +32896,7 @@ const bL = (r) => {
|
|
|
32896
32896
|
(k(!0), A(Z, null, Se($(e).servers, (i, a) => (k(), A("option", {
|
|
32897
32897
|
key: a,
|
|
32898
32898
|
value: a
|
|
32899
|
-
},
|
|
32899
|
+
}, ee(i.url), 9, GL))), 128))
|
|
32900
32900
|
], 40, WL)) : K("", !0),
|
|
32901
32901
|
L(PL, {
|
|
32902
32902
|
value: $(e).servers[s.value],
|
|
@@ -32987,7 +32987,7 @@ const bL = (r) => {
|
|
|
32987
32987
|
icon: l(f.targetKey)
|
|
32988
32988
|
}, null, 8, ["icon"])
|
|
32989
32989
|
], 2),
|
|
32990
|
-
F("span", null,
|
|
32990
|
+
F("span", null, ee($(n)(f)), 1)
|
|
32991
32991
|
], 10, ZL))), 128)),
|
|
32992
32992
|
F("div", {
|
|
32993
32993
|
class: xe(["client-libraries client-libraries__select", {
|
|
@@ -33009,7 +33009,7 @@ const bL = (r) => {
|
|
|
33009
33009
|
targetKey: f.key,
|
|
33010
33010
|
clientKey: p.key
|
|
33011
33011
|
})
|
|
33012
|
-
},
|
|
33012
|
+
}, ee($(s)({
|
|
33013
33013
|
targetKey: f.key,
|
|
33014
33014
|
clientKey: p.key
|
|
33015
33015
|
})), 9, rj))), 128))
|
|
@@ -33042,7 +33042,7 @@ const bL = (r) => {
|
|
|
33042
33042
|
F("div", null, [
|
|
33043
33043
|
L(cj)
|
|
33044
33044
|
]),
|
|
33045
|
-
F("div", hj,
|
|
33045
|
+
F("div", hj, ee($(t)) + " " + ee($(e)), 1)
|
|
33046
33046
|
]));
|
|
33047
33047
|
}
|
|
33048
33048
|
}), pj = /* @__PURE__ */ oe(fj, [["__scopeId", "data-v-a067531c"]]), mj = {}, gj = { class: "badge" };
|
|
@@ -33375,13 +33375,13 @@ const Pa = /* @__PURE__ */ oe(Tj, [["render", Ij], ["__scopeId", "data-v-34b2695
|
|
|
33375
33375
|
F("div", Wj, [
|
|
33376
33376
|
o.info.version ? (k(), z($(sa), { key: 0 }, {
|
|
33377
33377
|
default: N(() => [
|
|
33378
|
-
|
|
33378
|
+
J(ee(o.info.version), 1)
|
|
33379
33379
|
]),
|
|
33380
33380
|
_: 1
|
|
33381
33381
|
})) : K("", !0),
|
|
33382
33382
|
s.value ? (k(), z($(sa), { key: 1 }, {
|
|
33383
33383
|
default: N(() => [
|
|
33384
|
-
|
|
33384
|
+
J(" OAS " + ee(s.value), 1)
|
|
33385
33385
|
]),
|
|
33386
33386
|
_: 1
|
|
33387
33387
|
})) : K("", !0)
|
|
@@ -33392,7 +33392,7 @@ const Pa = /* @__PURE__ */ oe(Tj, [["render", Ij], ["__scopeId", "data-v-34b2695
|
|
|
33392
33392
|
tight: ""
|
|
33393
33393
|
}, {
|
|
33394
33394
|
default: N(() => [
|
|
33395
|
-
|
|
33395
|
+
J(ee(o.info.title), 1)
|
|
33396
33396
|
]),
|
|
33397
33397
|
_: 1
|
|
33398
33398
|
}, 8, ["loading"]),
|
|
@@ -33473,12 +33473,12 @@ const Pa = /* @__PURE__ */ oe(Tj, [["render", Ij], ["__scopeId", "data-v-34b2695
|
|
|
33473
33473
|
type: "button",
|
|
33474
33474
|
onClick: n[0] || (n[0] = ia((o) => $(e)(t(s.id)), ["stop"]))
|
|
33475
33475
|
}, [
|
|
33476
|
-
|
|
33476
|
+
J(" # "),
|
|
33477
33477
|
L(mw, null, {
|
|
33478
33478
|
default: N(() => [
|
|
33479
|
-
|
|
33479
|
+
J('Copy link to "'),
|
|
33480
33480
|
re(s.$slots, "default", {}, void 0, !0),
|
|
33481
|
-
|
|
33481
|
+
J('"')
|
|
33482
33482
|
]),
|
|
33483
33483
|
_: 3
|
|
33484
33484
|
})
|
|
@@ -33629,11 +33629,11 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
33629
33629
|
(k(!0), A(Z, null, Se(s.options, (n) => (k(), A("option", {
|
|
33630
33630
|
key: n.value,
|
|
33631
33631
|
value: n.value
|
|
33632
|
-
},
|
|
33632
|
+
}, ee(n.label), 9, w4))), 128))
|
|
33633
33633
|
], 8, v4)) : (k(), A("option", {
|
|
33634
33634
|
key: s.value,
|
|
33635
33635
|
value: s.value
|
|
33636
|
-
},
|
|
33636
|
+
}, ee(s.label), 9, k4))
|
|
33637
33637
|
], 64))), 128))
|
|
33638
33638
|
], 40, b4)
|
|
33639
33639
|
], 2));
|
|
@@ -33694,7 +33694,7 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
33694
33694
|
"onUpdate:modelValue": a[0] || (a[0] = (l) => (t.value = parseInt(l), 10))
|
|
33695
33695
|
}, {
|
|
33696
33696
|
default: N(() => [
|
|
33697
|
-
|
|
33697
|
+
J(ee(n.value.label), 1)
|
|
33698
33698
|
]),
|
|
33699
33699
|
_: 1
|
|
33700
33700
|
}, 8, ["modelValue", "options"]),
|
|
@@ -33763,21 +33763,21 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
33763
33763
|
title: typeof e.value.type == "string" ? e.value.type : Array.isArray(e.value.type) ? e.value.type.join(" | ") : "unkown type"
|
|
33764
33764
|
}, [
|
|
33765
33765
|
e.value.type === "object" ? (k(), A(Z, { key: 0 }, [
|
|
33766
|
-
|
|
33766
|
+
J(" {} ")
|
|
33767
33767
|
], 64)) : K("", !0),
|
|
33768
33768
|
e.value.type === "array" ? (k(), A(Z, { key: 1 }, [
|
|
33769
|
-
|
|
33769
|
+
J(" [] ")
|
|
33770
33770
|
], 64)) : K("", !0),
|
|
33771
33771
|
e.value.enum ? (k(), A(Z, { key: 2 }, [
|
|
33772
|
-
|
|
33772
|
+
J(" enum ")
|
|
33773
33773
|
], 64)) : K("", !0)
|
|
33774
33774
|
], 8, C4),
|
|
33775
33775
|
(n = (s = e.value) == null ? void 0 : s.xml) != null && n.name && ((i = (o = e.value) == null ? void 0 : o.xml) == null ? void 0 : i.name) !== "##default" ? (k(), A(Z, { key: 0 }, [
|
|
33776
|
-
|
|
33776
|
+
J(" <" + ee((l = (a = e.value) == null ? void 0 : a.xml) == null ? void 0 : l.name) + " /> ", 1)
|
|
33777
33777
|
], 64)) : e.name ? (k(), A(Z, { key: 1 }, [
|
|
33778
|
-
|
|
33778
|
+
J(ee(e.name), 1)
|
|
33779
33779
|
], 64)) : (k(), A(Z, { key: 2 }, [
|
|
33780
|
-
|
|
33780
|
+
J(ee(e.value.type), 1)
|
|
33781
33781
|
], 64))
|
|
33782
33782
|
]);
|
|
33783
33783
|
};
|
|
@@ -33803,7 +33803,7 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
33803
33803
|
}, [
|
|
33804
33804
|
e.$slots.prefix ? (k(), A("div", A4, [
|
|
33805
33805
|
re(e.$slots, "prefix", {}, void 0, !0),
|
|
33806
|
-
|
|
33806
|
+
J(" ")
|
|
33807
33807
|
])) : K("", !0),
|
|
33808
33808
|
e.code ? (k(), A("code", O4, [
|
|
33809
33809
|
re(e.$slots, "default", {}, void 0, !0)
|
|
@@ -33812,7 +33812,7 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
33812
33812
|
]))
|
|
33813
33813
|
], 2));
|
|
33814
33814
|
}
|
|
33815
|
-
}),
|
|
33815
|
+
}), Qt = /* @__PURE__ */ oe(P4, [["__scopeId", "data-v-16d94ef5"]]), I4 = { class: "property-heading" }, N4 = {
|
|
33816
33816
|
key: 0,
|
|
33817
33817
|
class: "property-name"
|
|
33818
33818
|
}, M4 = {
|
|
@@ -33826,14 +33826,17 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
33826
33826
|
class: "property-required"
|
|
33827
33827
|
}, L4 = {
|
|
33828
33828
|
key: 4,
|
|
33829
|
-
class: "property-
|
|
33829
|
+
class: "property-const"
|
|
33830
33830
|
}, j4 = {
|
|
33831
33831
|
key: 5,
|
|
33832
|
-
class: "property-
|
|
33832
|
+
class: "property-details"
|
|
33833
33833
|
}, B4 = {
|
|
33834
33834
|
key: 6,
|
|
33835
|
+
class: "property-write-only"
|
|
33836
|
+
}, V4 = {
|
|
33837
|
+
key: 7,
|
|
33835
33838
|
class: "property-read-only"
|
|
33836
|
-
},
|
|
33839
|
+
}, F4 = /* @__PURE__ */ Q({
|
|
33837
33840
|
__name: "SchemaPropertyHeading",
|
|
33838
33841
|
props: {
|
|
33839
33842
|
value: {},
|
|
@@ -33844,48 +33847,58 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
33844
33847
|
setup(r) {
|
|
33845
33848
|
const e = ["oneOf", "anyOf", "allOf", "not"];
|
|
33846
33849
|
return (t, s) => {
|
|
33847
|
-
var n, o, i, a, l;
|
|
33850
|
+
var n, o, i, a, l, c, u;
|
|
33848
33851
|
return k(), A("div", I4, [
|
|
33849
33852
|
t.$slots.name ? (k(), A("div", N4, [
|
|
33850
33853
|
re(t.$slots, "name", {}, void 0, !0)
|
|
33851
33854
|
])) : K("", !0),
|
|
33852
33855
|
t.additional ? (k(), A("div", M4, [
|
|
33853
33856
|
(n = t.value) != null && n["x-additionalPropertiesName"] ? (k(), A(Z, { key: 0 }, [
|
|
33854
|
-
|
|
33857
|
+
J(ee(t.value["x-additionalPropertiesName"]), 1)
|
|
33855
33858
|
], 64)) : (k(), A(Z, { key: 1 }, [
|
|
33856
|
-
|
|
33859
|
+
J(" additional properties ")
|
|
33857
33860
|
], 64))
|
|
33858
33861
|
])) : K("", !0),
|
|
33859
33862
|
(o = t.value) != null && o.deprecated ? (k(), A("div", D4, [
|
|
33860
33863
|
L($(sa), null, {
|
|
33861
33864
|
default: N(() => [
|
|
33862
|
-
|
|
33865
|
+
J("deprecated")
|
|
33863
33866
|
]),
|
|
33864
33867
|
_: 1
|
|
33865
33868
|
})
|
|
33866
33869
|
])) : K("", !0),
|
|
33867
33870
|
t.required ? (k(), A("div", R4, " required ")) : K("", !0),
|
|
33868
|
-
(i = t.value) != null && i.
|
|
33869
|
-
|
|
33871
|
+
(i = t.value) != null && i.const || (a = t.value) != null && a.enum && t.value.enum.length === 1 ? (k(), A("div", L4, [
|
|
33872
|
+
L(Qt, { truncate: "" }, {
|
|
33873
|
+
prefix: N(() => [
|
|
33874
|
+
J("const:")
|
|
33875
|
+
]),
|
|
33876
|
+
default: N(() => [
|
|
33877
|
+
J(" " + ee(t.value.const ?? t.value.enum[0]), 1)
|
|
33878
|
+
]),
|
|
33879
|
+
_: 1
|
|
33880
|
+
})
|
|
33881
|
+
])) : (l = t.value) != null && l.type ? (k(), A("div", j4, [
|
|
33882
|
+
t.additional ? (k(), z(Qt, { key: 0 }, {
|
|
33870
33883
|
prefix: N(() => [
|
|
33871
|
-
|
|
33884
|
+
J("key:")
|
|
33872
33885
|
]),
|
|
33873
33886
|
default: N(() => [
|
|
33874
|
-
|
|
33887
|
+
J(" string ")
|
|
33875
33888
|
]),
|
|
33876
33889
|
_: 1
|
|
33877
33890
|
})) : K("", !0),
|
|
33878
|
-
L(
|
|
33891
|
+
L(Qt, null, aa({
|
|
33879
33892
|
default: N(() => {
|
|
33880
|
-
var
|
|
33893
|
+
var d, h, f;
|
|
33881
33894
|
return [
|
|
33882
|
-
(
|
|
33883
|
-
|
|
33895
|
+
(h = (d = t.value) == null ? void 0 : d.items) != null && h.type ? (k(), A(Z, { key: 0 }, [
|
|
33896
|
+
J(ee(t.value.type) + " " + ee(t.value.items.type) + "[] ", 1)
|
|
33884
33897
|
], 64)) : (k(), A(Z, { key: 1 }, [
|
|
33885
|
-
|
|
33898
|
+
J(ee(Array.isArray(t.value.type) ? t.value.type.join(" | ") : t.value.type) + " " + ee((f = t.value) != null && f.nullable ? " | nullable" : ""), 1)
|
|
33886
33899
|
], 64)),
|
|
33887
33900
|
t.value.minItems || t.value.maxItems ? (k(), A(Z, { key: 2 }, [
|
|
33888
|
-
|
|
33901
|
+
J(ee(t.value.minItems) + "…" + ee(t.value.maxItems), 1)
|
|
33889
33902
|
], 64)) : K("", !0)
|
|
33890
33903
|
];
|
|
33891
33904
|
}),
|
|
@@ -33894,126 +33907,126 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
33894
33907
|
t.additional ? {
|
|
33895
33908
|
name: "prefix",
|
|
33896
33909
|
fn: N(() => [
|
|
33897
|
-
|
|
33910
|
+
J("value:")
|
|
33898
33911
|
]),
|
|
33899
33912
|
key: "0"
|
|
33900
33913
|
} : void 0
|
|
33901
33914
|
]), 1024),
|
|
33902
|
-
t.value.minLength ? (k(), z(
|
|
33915
|
+
t.value.minLength ? (k(), z(Qt, { key: 1 }, {
|
|
33903
33916
|
prefix: N(() => [
|
|
33904
|
-
|
|
33917
|
+
J("min:")
|
|
33905
33918
|
]),
|
|
33906
33919
|
default: N(() => [
|
|
33907
|
-
|
|
33920
|
+
J(" " + ee(t.value.minLength), 1)
|
|
33908
33921
|
]),
|
|
33909
33922
|
_: 1
|
|
33910
33923
|
})) : K("", !0),
|
|
33911
|
-
t.value.maxLength ? (k(), z(
|
|
33924
|
+
t.value.maxLength ? (k(), z(Qt, { key: 2 }, {
|
|
33912
33925
|
prefix: N(() => [
|
|
33913
|
-
|
|
33926
|
+
J("max:")
|
|
33914
33927
|
]),
|
|
33915
33928
|
default: N(() => [
|
|
33916
|
-
|
|
33929
|
+
J(" " + ee(t.value.maxLength), 1)
|
|
33917
33930
|
]),
|
|
33918
33931
|
_: 1
|
|
33919
33932
|
})) : K("", !0),
|
|
33920
|
-
t.value.uniqueItems ? (k(), z(
|
|
33933
|
+
t.value.uniqueItems ? (k(), z(Qt, { key: 3 }, {
|
|
33921
33934
|
default: N(() => [
|
|
33922
|
-
|
|
33935
|
+
J(" unique! ")
|
|
33923
33936
|
]),
|
|
33924
33937
|
_: 1
|
|
33925
33938
|
})) : K("", !0),
|
|
33926
|
-
t.value.format ? (k(), z(
|
|
33939
|
+
t.value.format ? (k(), z(Qt, { key: 4 }, {
|
|
33927
33940
|
default: N(() => [
|
|
33928
|
-
|
|
33941
|
+
J(ee(t.value.format), 1)
|
|
33929
33942
|
]),
|
|
33930
33943
|
_: 1
|
|
33931
33944
|
})) : K("", !0),
|
|
33932
|
-
t.value.minimum ? (k(), z(
|
|
33945
|
+
t.value.minimum ? (k(), z(Qt, { key: 5 }, {
|
|
33933
33946
|
prefix: N(() => [
|
|
33934
|
-
|
|
33947
|
+
J("min:")
|
|
33935
33948
|
]),
|
|
33936
33949
|
default: N(() => [
|
|
33937
|
-
|
|
33950
|
+
J(" " + ee(t.value.minimum), 1)
|
|
33938
33951
|
]),
|
|
33939
33952
|
_: 1
|
|
33940
33953
|
})) : K("", !0),
|
|
33941
|
-
t.value.maximum ? (k(), z(
|
|
33954
|
+
t.value.maximum ? (k(), z(Qt, { key: 6 }, {
|
|
33942
33955
|
prefix: N(() => [
|
|
33943
|
-
|
|
33956
|
+
J("max:")
|
|
33944
33957
|
]),
|
|
33945
33958
|
default: N(() => [
|
|
33946
|
-
|
|
33959
|
+
J(" " + ee(t.value.maximum), 1)
|
|
33947
33960
|
]),
|
|
33948
33961
|
_: 1
|
|
33949
33962
|
})) : K("", !0),
|
|
33950
|
-
t.value.pattern ? (k(), z(
|
|
33963
|
+
t.value.pattern ? (k(), z(Qt, {
|
|
33951
33964
|
key: 7,
|
|
33952
33965
|
code: "",
|
|
33953
33966
|
truncate: ""
|
|
33954
33967
|
}, {
|
|
33955
33968
|
default: N(() => [
|
|
33956
|
-
|
|
33969
|
+
J(ee(t.value.pattern), 1)
|
|
33957
33970
|
]),
|
|
33958
33971
|
_: 1
|
|
33959
33972
|
})) : K("", !0),
|
|
33960
|
-
t.$props.enum ? (k(), z(
|
|
33973
|
+
t.$props.enum ? (k(), z(Qt, { key: 8 }, {
|
|
33961
33974
|
default: N(() => [
|
|
33962
|
-
|
|
33975
|
+
J("enum")
|
|
33963
33976
|
]),
|
|
33964
33977
|
_: 1
|
|
33965
33978
|
})) : K("", !0),
|
|
33966
|
-
t.value.default ? (k(), z(
|
|
33979
|
+
t.value.default ? (k(), z(Qt, {
|
|
33967
33980
|
key: 9,
|
|
33968
33981
|
truncate: ""
|
|
33969
33982
|
}, {
|
|
33970
33983
|
prefix: N(() => [
|
|
33971
|
-
|
|
33984
|
+
J("default:")
|
|
33972
33985
|
]),
|
|
33973
33986
|
default: N(() => [
|
|
33974
|
-
|
|
33987
|
+
J(" " + ee(t.value.default), 1)
|
|
33975
33988
|
]),
|
|
33976
33989
|
_: 1
|
|
33977
33990
|
})) : K("", !0)
|
|
33978
33991
|
])) : K("", !0),
|
|
33979
|
-
(
|
|
33980
|
-
(k(!0), A(Z, null, Se(e.filter((
|
|
33981
|
-
var
|
|
33982
|
-
return ((
|
|
33983
|
-
}), (
|
|
33992
|
+
(c = t.value) != null && c.writeOnly ? (k(), A("div", B4, " write-only ")) : (u = t.value) != null && u.readOnly ? (k(), A("div", V4, " read-only ")) : K("", !0),
|
|
33993
|
+
(k(!0), A(Z, null, Se(e.filter((d) => {
|
|
33994
|
+
var h, f, p;
|
|
33995
|
+
return ((h = t.value) == null ? void 0 : h[d]) || ((p = (f = t.value) == null ? void 0 : f.items) == null ? void 0 : p[d]);
|
|
33996
|
+
}), (d) => (k(), z($(sa), { key: d }, {
|
|
33984
33997
|
default: N(() => [
|
|
33985
|
-
|
|
33998
|
+
J(ee(d), 1)
|
|
33986
33999
|
]),
|
|
33987
34000
|
_: 2
|
|
33988
34001
|
}, 1024))), 128))
|
|
33989
34002
|
]);
|
|
33990
34003
|
};
|
|
33991
34004
|
}
|
|
33992
|
-
}),
|
|
34005
|
+
}), z4 = /* @__PURE__ */ oe(F4, [["__scopeId", "data-v-c1c21610"]]), q4 = (r) => (Pt("data-v-bd31a06f"), r = r(), It(), r), H4 = {
|
|
33993
34006
|
key: 0,
|
|
33994
34007
|
class: "property-description"
|
|
33995
|
-
},
|
|
34008
|
+
}, K4 = {
|
|
33996
34009
|
key: 1,
|
|
33997
34010
|
class: "property-description"
|
|
33998
|
-
},
|
|
34011
|
+
}, U4 = {
|
|
33999
34012
|
key: 2,
|
|
34000
34013
|
class: "property-example custom-scroll"
|
|
34001
|
-
},
|
|
34014
|
+
}, W4 = /* @__PURE__ */ q4(() => /* @__PURE__ */ F("span", { class: "property-example-label" }, "Example", -1)), G4 = { class: "property-example-value" }, J4 = {
|
|
34002
34015
|
key: 3,
|
|
34003
34016
|
class: "property-enum"
|
|
34004
|
-
},
|
|
34017
|
+
}, Y4 = { class: "property-enum-values" }, X4 = {
|
|
34005
34018
|
key: 4,
|
|
34006
34019
|
class: "children"
|
|
34007
|
-
},
|
|
34020
|
+
}, Q4 = {
|
|
34008
34021
|
key: 0,
|
|
34009
34022
|
class: "children"
|
|
34010
|
-
},
|
|
34023
|
+
}, Z4 = {
|
|
34011
34024
|
key: 0,
|
|
34012
34025
|
class: "property-rule"
|
|
34013
|
-
},
|
|
34026
|
+
}, eB = {
|
|
34014
34027
|
key: 1,
|
|
34015
34028
|
class: "property-rule"
|
|
34016
|
-
},
|
|
34029
|
+
}, tB = /* @__PURE__ */ Q({
|
|
34017
34030
|
__name: "SchemaProperty",
|
|
34018
34031
|
props: {
|
|
34019
34032
|
value: {},
|
|
@@ -34044,10 +34057,10 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
34044
34057
|
return !i || !e[i.type] ? null : e[i.type][i.format || "_default"];
|
|
34045
34058
|
}, n = function(i) {
|
|
34046
34059
|
var a;
|
|
34047
|
-
return (i == null ? void 0 : i.enum) || ((a = i == null ? void 0 : i.items) == null ? void 0 : a.enum) ||
|
|
34060
|
+
return (i == null ? void 0 : i.enum) || ((a = i == null ? void 0 : i.items) == null ? void 0 : a.enum) || [];
|
|
34048
34061
|
}, o = ["oneOf", "anyOf", "allOf", "not"];
|
|
34049
34062
|
return (i, a) => {
|
|
34050
|
-
var l, c, u, d, h, f, p, g, m;
|
|
34063
|
+
var l, c, u, d, h, f, p, g, m, y;
|
|
34051
34064
|
return k(), A("div", {
|
|
34052
34065
|
class: xe(["property", [
|
|
34053
34066
|
`property--level-${i.level}`,
|
|
@@ -34057,50 +34070,50 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
34057
34070
|
}
|
|
34058
34071
|
]])
|
|
34059
34072
|
}, [
|
|
34060
|
-
L(
|
|
34073
|
+
L(z4, {
|
|
34061
34074
|
additional: i.additional,
|
|
34062
|
-
enum:
|
|
34075
|
+
enum: n(i.value).length > 1,
|
|
34063
34076
|
required: i.required,
|
|
34064
34077
|
value: i.value
|
|
34065
34078
|
}, aa({ _: 2 }, [
|
|
34066
34079
|
i.name ? {
|
|
34067
34080
|
name: "name",
|
|
34068
34081
|
fn: N(() => [
|
|
34069
|
-
|
|
34082
|
+
J(ee(i.name), 1)
|
|
34070
34083
|
]),
|
|
34071
34084
|
key: "0"
|
|
34072
34085
|
} : void 0
|
|
34073
34086
|
]), 1032, ["additional", "enum", "required", "value"]),
|
|
34074
|
-
t(i.description, i.value) ? (k(), A("div",
|
|
34087
|
+
t(i.description, i.value) ? (k(), A("div", H4, [
|
|
34075
34088
|
L($(Ut), {
|
|
34076
34089
|
value: t(i.description, i.value)
|
|
34077
34090
|
}, null, 8, ["value"])
|
|
34078
|
-
])) : s(i.value) ? (k(), A("div",
|
|
34091
|
+
])) : s(i.value) ? (k(), A("div", K4, [
|
|
34079
34092
|
L($(Ut), {
|
|
34080
34093
|
value: s(i.value) || ""
|
|
34081
34094
|
}, null, 8, ["value"])
|
|
34082
34095
|
])) : K("", !0),
|
|
34083
|
-
(c = i.value) != null && c.example || (d = (u = i.value) == null ? void 0 : u.items) != null && d.example ? (k(), A("div",
|
|
34084
|
-
|
|
34085
|
-
F("code",
|
|
34096
|
+
(c = i.value) != null && c.example || (d = (u = i.value) == null ? void 0 : u.items) != null && d.example ? (k(), A("div", U4, [
|
|
34097
|
+
W4,
|
|
34098
|
+
F("code", G4, ee(i.value.example || ((h = i.value) == null ? void 0 : h.items.example)), 1)
|
|
34086
34099
|
])) : K("", !0),
|
|
34087
|
-
n(i.value) ? (k(), A("div",
|
|
34088
|
-
F("ul",
|
|
34089
|
-
(k(!0), A(Z, null, Se(n(i.value), (
|
|
34090
|
-
key:
|
|
34100
|
+
((f = n(i.value)) == null ? void 0 : f.length) > 1 ? (k(), A("div", J4, [
|
|
34101
|
+
F("ul", Y4, [
|
|
34102
|
+
(k(!0), A(Z, null, Se(n(i.value), (b) => (k(), A("li", {
|
|
34103
|
+
key: b,
|
|
34091
34104
|
class: "property-enum-value"
|
|
34092
|
-
},
|
|
34105
|
+
}, ee(b), 1))), 128))
|
|
34093
34106
|
])
|
|
34094
34107
|
])) : K("", !0),
|
|
34095
|
-
((
|
|
34108
|
+
((p = i.value) == null ? void 0 : p.type) === "object" && ((g = i.value) != null && g.properties || (m = i.value) != null && m.additionalProperties) ? (k(), A("div", X4, [
|
|
34096
34109
|
L(fn, {
|
|
34097
34110
|
compact: i.compact,
|
|
34098
34111
|
level: i.level + 1,
|
|
34099
34112
|
value: i.value
|
|
34100
34113
|
}, null, 8, ["compact", "level", "value"])
|
|
34101
34114
|
])) : K("", !0),
|
|
34102
|
-
(
|
|
34103
|
-
["object"].includes(i.value.items.type) ? (k(), A("div",
|
|
34115
|
+
(y = i.value) != null && y.items ? (k(), A(Z, { key: 5 }, [
|
|
34116
|
+
["object"].includes(i.value.items.type) ? (k(), A("div", Q4, [
|
|
34104
34117
|
L(fn, {
|
|
34105
34118
|
compact: i.compact,
|
|
34106
34119
|
level: i.level + 1,
|
|
@@ -34108,23 +34121,23 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
34108
34121
|
}, null, 8, ["compact", "level", "value"])
|
|
34109
34122
|
])) : K("", !0)
|
|
34110
34123
|
], 64)) : K("", !0),
|
|
34111
|
-
(k(), A(Z, null, Se(o, (
|
|
34112
|
-
var
|
|
34113
|
-
return k(), A(Z, { key:
|
|
34114
|
-
(
|
|
34115
|
-
(k(!0), A(Z, null, Se(i.value[
|
|
34116
|
-
key:
|
|
34124
|
+
(k(), A(Z, null, Se(o, (b) => {
|
|
34125
|
+
var v, S, _;
|
|
34126
|
+
return k(), A(Z, { key: b }, [
|
|
34127
|
+
(v = i.value) != null && v[b] ? (k(), A("div", Z4, [
|
|
34128
|
+
(k(!0), A(Z, null, Se(i.value[b], (w, x) => (k(), z(fn, {
|
|
34129
|
+
key: x,
|
|
34117
34130
|
compact: i.compact,
|
|
34118
34131
|
level: i.level + 1,
|
|
34119
|
-
value:
|
|
34132
|
+
value: w
|
|
34120
34133
|
}, null, 8, ["compact", "level", "value"]))), 128))
|
|
34121
34134
|
])) : K("", !0),
|
|
34122
|
-
(
|
|
34123
|
-
(k(!0), A(Z, null, Se(i.value.items[
|
|
34124
|
-
key:
|
|
34135
|
+
(_ = (S = i.value) == null ? void 0 : S.items) != null && _[b] && i.level < 3 ? (k(), A("div", eB, [
|
|
34136
|
+
(k(!0), A(Z, null, Se(i.value.items[b], (w, x) => (k(), z(fn, {
|
|
34137
|
+
key: x,
|
|
34125
34138
|
compact: i.compact,
|
|
34126
34139
|
level: i.level + 1,
|
|
34127
|
-
value:
|
|
34140
|
+
value: w
|
|
34128
34141
|
}, null, 8, ["compact", "level", "value"]))), 128))
|
|
34129
34142
|
])) : K("", !0)
|
|
34130
34143
|
], 64);
|
|
@@ -34132,15 +34145,15 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
34132
34145
|
], 2);
|
|
34133
34146
|
};
|
|
34134
34147
|
}
|
|
34135
|
-
}), hn = /* @__PURE__ */ oe(
|
|
34148
|
+
}), hn = /* @__PURE__ */ oe(tB, [["__scopeId", "data-v-bd31a06f"]]), rB = (r) => (Pt("data-v-7f5d0941"), r = r(), It(), r), sB = {
|
|
34136
34149
|
key: 0,
|
|
34137
34150
|
class: "schema-card-description"
|
|
34138
|
-
},
|
|
34151
|
+
}, nB = /* @__PURE__ */ rB(() => /* @__PURE__ */ F("polygon", {
|
|
34139
34152
|
"fill-rule": "nonzero",
|
|
34140
34153
|
points: "14 8 8 8 8 14 6 14 6 8 0 8 0 6 6 6 6 0 8 0 8 6 14 6"
|
|
34141
|
-
}, null, -1)),
|
|
34142
|
-
|
|
34143
|
-
],
|
|
34154
|
+
}, null, -1)), oB = [
|
|
34155
|
+
nB
|
|
34156
|
+
], iB = /* @__PURE__ */ Q({
|
|
34144
34157
|
__name: "Schema",
|
|
34145
34158
|
props: {
|
|
34146
34159
|
value: {},
|
|
@@ -34164,7 +34177,7 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
34164
34177
|
{ "schema-card--compact": n.compact, "schema-card--open": i }
|
|
34165
34178
|
]])
|
|
34166
34179
|
}, [
|
|
34167
|
-
(a = n.value) != null && a.description ? (k(), A("div",
|
|
34180
|
+
(a = n.value) != null && a.description ? (k(), A("div", sB, [
|
|
34168
34181
|
L($(Ut), {
|
|
34169
34182
|
value: n.value.description
|
|
34170
34183
|
}, null, 8, ["value"])
|
|
@@ -34192,11 +34205,11 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
34192
34205
|
viewBox: "0 0 14 14",
|
|
34193
34206
|
width: "14",
|
|
34194
34207
|
xmlns: "http://www.w3.org/2000/svg"
|
|
34195
|
-
},
|
|
34208
|
+
}, oB, 2)) : K("", !0),
|
|
34196
34209
|
i ? (k(), A(Z, { key: 1 }, [
|
|
34197
|
-
|
|
34210
|
+
J(" Hide " + ee(((l = n.value) == null ? void 0 : l.title) ?? "Child Attributes"), 1)
|
|
34198
34211
|
], 64)) : (k(), A(Z, { key: 2 }, [
|
|
34199
|
-
|
|
34212
|
+
J(" Show " + ee(((c = n.value) == null ? void 0 : c.title) ?? "Child Attributes"), 1)
|
|
34200
34213
|
], 64))
|
|
34201
34214
|
], 64)) : (k(), A(Z, { key: 1 }, [
|
|
34202
34215
|
t.value ? (k(), z($(Ze), {
|
|
@@ -34267,15 +34280,15 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
34267
34280
|
_: 1
|
|
34268
34281
|
}, 8, ["defaultOpen"])) : K("", !0);
|
|
34269
34282
|
}
|
|
34270
|
-
}), fn = /* @__PURE__ */ oe(
|
|
34283
|
+
}), fn = /* @__PURE__ */ oe(iB, [["__scopeId", "data-v-7f5d0941"]]), aB = { class: "parameter-item" }, lB = { class: "parameter-item-container" }, cB = /* @__PURE__ */ Q({
|
|
34271
34284
|
__name: "ParameterItem",
|
|
34272
34285
|
props: {
|
|
34273
34286
|
parameter: {},
|
|
34274
34287
|
showChildren: { type: Boolean, default: !1 }
|
|
34275
34288
|
},
|
|
34276
34289
|
setup(r) {
|
|
34277
|
-
return (e, t) => (k(), A("li",
|
|
34278
|
-
F("div",
|
|
34290
|
+
return (e, t) => (k(), A("li", aB, [
|
|
34291
|
+
F("div", lB, [
|
|
34279
34292
|
L($(hn), {
|
|
34280
34293
|
compact: "",
|
|
34281
34294
|
description: e.parameter.description,
|
|
@@ -34288,10 +34301,10 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
34288
34301
|
])
|
|
34289
34302
|
]));
|
|
34290
34303
|
}
|
|
34291
|
-
}),
|
|
34304
|
+
}), uB = /* @__PURE__ */ oe(cB, [["__scopeId", "data-v-f70ee55c"]]), dB = {
|
|
34292
34305
|
key: 0,
|
|
34293
34306
|
class: "parameters"
|
|
34294
|
-
},
|
|
34307
|
+
}, hB = { class: "parameters-title" }, fB = { class: "parameter-list" }, pB = /* @__PURE__ */ Q({
|
|
34295
34308
|
__name: "Parameters",
|
|
34296
34309
|
props: {
|
|
34297
34310
|
parameters: {},
|
|
@@ -34300,12 +34313,12 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
34300
34313
|
setup(r) {
|
|
34301
34314
|
return (e, t) => {
|
|
34302
34315
|
var s;
|
|
34303
|
-
return (s = e.parameters) != null && s.length ? (k(), A("div",
|
|
34304
|
-
F("div",
|
|
34316
|
+
return (s = e.parameters) != null && s.length ? (k(), A("div", dB, [
|
|
34317
|
+
F("div", hB, [
|
|
34305
34318
|
re(e.$slots, "title", {}, void 0, !0)
|
|
34306
34319
|
]),
|
|
34307
|
-
F("ul",
|
|
34308
|
-
(k(!0), A(Z, null, Se(e.parameters, (n) => (k(), z(
|
|
34320
|
+
F("ul", fB, [
|
|
34321
|
+
(k(!0), A(Z, null, Se(e.parameters, (n) => (k(), z(uB, {
|
|
34309
34322
|
key: n.name,
|
|
34310
34323
|
parameter: n,
|
|
34311
34324
|
showChildren: e.showChildren
|
|
@@ -34314,13 +34327,13 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
34314
34327
|
])) : K("", !0);
|
|
34315
34328
|
};
|
|
34316
34329
|
}
|
|
34317
|
-
}), fr = /* @__PURE__ */ oe(
|
|
34330
|
+
}), fr = /* @__PURE__ */ oe(pB, [["__scopeId", "data-v-45fca787"]]), mB = { key: 0 }, gB = { class: "request-body-title" }, yB = ["value"], bB = {
|
|
34318
34331
|
key: 0,
|
|
34319
34332
|
class: "request-body-description"
|
|
34320
|
-
},
|
|
34333
|
+
}, vB = {
|
|
34321
34334
|
key: 0,
|
|
34322
34335
|
class: "request-body-schema"
|
|
34323
|
-
},
|
|
34336
|
+
}, wB = /* @__PURE__ */ Q({
|
|
34324
34337
|
__name: "RequestBody",
|
|
34325
34338
|
props: {
|
|
34326
34339
|
requestBody: {}
|
|
@@ -34333,13 +34346,13 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
34333
34346
|
}), s = ie("application/json");
|
|
34334
34347
|
return (n = e.requestBody) != null && n.content && t.value.length > 0 && (s.value = t.value[0]), (o, i) => {
|
|
34335
34348
|
var a, l, c, u;
|
|
34336
|
-
return e != null && e.requestBody ? (k(), A("div",
|
|
34337
|
-
F("div",
|
|
34349
|
+
return e != null && e.requestBody ? (k(), A("div", mB, [
|
|
34350
|
+
F("div", gB, [
|
|
34338
34351
|
re(o.$slots, "title", {}, void 0, !0),
|
|
34339
34352
|
F("div", {
|
|
34340
34353
|
class: xe(["request-body-title-select", { "request-body-title-no-select": t.value.length <= 1 }])
|
|
34341
34354
|
}, [
|
|
34342
|
-
F("span", null,
|
|
34355
|
+
F("span", null, ee(s.value), 1),
|
|
34343
34356
|
e != null && e.requestBody && t.value.length > 1 ? Co((k(), A("select", {
|
|
34344
34357
|
key: 0,
|
|
34345
34358
|
"onUpdate:modelValue": i[0] || (i[0] = (d) => s.value = d)
|
|
@@ -34347,18 +34360,18 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
34347
34360
|
(k(!0), A(Z, null, Se((a = e.requestBody) == null ? void 0 : a.content, (d, h) => (k(), A("option", {
|
|
34348
34361
|
key: h,
|
|
34349
34362
|
value: h
|
|
34350
|
-
},
|
|
34363
|
+
}, ee(h), 9, yB))), 128))
|
|
34351
34364
|
], 512)), [
|
|
34352
34365
|
[qw, s.value]
|
|
34353
34366
|
]) : K("", !0)
|
|
34354
34367
|
], 2),
|
|
34355
|
-
e != null && e.requestBody.description ? (k(), A("div",
|
|
34368
|
+
e != null && e.requestBody.description ? (k(), A("div", bB, [
|
|
34356
34369
|
L($(Ut), {
|
|
34357
34370
|
value: e.requestBody.description
|
|
34358
34371
|
}, null, 8, ["value"])
|
|
34359
34372
|
])) : K("", !0)
|
|
34360
34373
|
]),
|
|
34361
|
-
(l = e == null ? void 0 : e.requestBody.content) != null && l[s.value] ? (k(), A("div",
|
|
34374
|
+
(l = e == null ? void 0 : e.requestBody.content) != null && l[s.value] ? (k(), A("div", vB, [
|
|
34362
34375
|
L($(fn), {
|
|
34363
34376
|
compact: "",
|
|
34364
34377
|
noncollapsible: "",
|
|
@@ -34368,7 +34381,7 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
34368
34381
|
])) : K("", !0);
|
|
34369
34382
|
};
|
|
34370
34383
|
}
|
|
34371
|
-
}), Op = /* @__PURE__ */ oe(
|
|
34384
|
+
}), Op = /* @__PURE__ */ oe(wB, [["__scopeId", "data-v-e095eb63"]]), kB = { class: "endpoint-details" }, SB = { class: "endpoint-description" }, $B = /* @__PURE__ */ Q({
|
|
34372
34385
|
__name: "EndpointDetails",
|
|
34373
34386
|
props: {
|
|
34374
34387
|
operation: {}
|
|
@@ -34377,8 +34390,8 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
34377
34390
|
const e = r, { parameterMap: t } = Sp(e), { responses: s } = $p(e.operation);
|
|
34378
34391
|
return (n, o) => {
|
|
34379
34392
|
var i, a;
|
|
34380
|
-
return k(), A("div",
|
|
34381
|
-
F("div",
|
|
34393
|
+
return k(), A("div", kB, [
|
|
34394
|
+
F("div", SB, [
|
|
34382
34395
|
L($(Ut), {
|
|
34383
34396
|
value: n.operation.description,
|
|
34384
34397
|
withImages: ""
|
|
@@ -34388,7 +34401,7 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
34388
34401
|
parameters: $(t).path
|
|
34389
34402
|
}, {
|
|
34390
34403
|
title: N(() => [
|
|
34391
|
-
|
|
34404
|
+
J("Path Parameters")
|
|
34392
34405
|
]),
|
|
34393
34406
|
_: 1
|
|
34394
34407
|
}, 8, ["parameters"]),
|
|
@@ -34396,7 +34409,7 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
34396
34409
|
parameters: $(t).query
|
|
34397
34410
|
}, {
|
|
34398
34411
|
title: N(() => [
|
|
34399
|
-
|
|
34412
|
+
J("Query Parameters")
|
|
34400
34413
|
]),
|
|
34401
34414
|
_: 1
|
|
34402
34415
|
}, 8, ["parameters"]),
|
|
@@ -34404,7 +34417,7 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
34404
34417
|
parameters: $(t).header
|
|
34405
34418
|
}, {
|
|
34406
34419
|
title: N(() => [
|
|
34407
|
-
|
|
34420
|
+
J("Headers")
|
|
34408
34421
|
]),
|
|
34409
34422
|
_: 1
|
|
34410
34423
|
}, 8, ["parameters"]),
|
|
@@ -34413,7 +34426,7 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
34413
34426
|
showChildren: ""
|
|
34414
34427
|
}, {
|
|
34415
34428
|
title: N(() => [
|
|
34416
|
-
|
|
34429
|
+
J("Body Parameters")
|
|
34417
34430
|
]),
|
|
34418
34431
|
_: 1
|
|
34419
34432
|
}, 8, ["parameters"]),
|
|
@@ -34421,7 +34434,7 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
34421
34434
|
parameters: $(t).formData
|
|
34422
34435
|
}, {
|
|
34423
34436
|
title: N(() => [
|
|
34424
|
-
|
|
34437
|
+
J("Form Data")
|
|
34425
34438
|
]),
|
|
34426
34439
|
_: 1
|
|
34427
34440
|
}, 8, ["parameters"]),
|
|
@@ -34430,20 +34443,20 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
34430
34443
|
requestBody: (a = n.operation.information) == null ? void 0 : a.requestBody
|
|
34431
34444
|
}, {
|
|
34432
34445
|
title: N(() => [
|
|
34433
|
-
|
|
34446
|
+
J("Body")
|
|
34434
34447
|
]),
|
|
34435
34448
|
_: 1
|
|
34436
34449
|
}, 8, ["requestBody"])) : K("", !0),
|
|
34437
34450
|
L(fr, { parameters: $(s) }, {
|
|
34438
34451
|
title: N(() => [
|
|
34439
|
-
|
|
34452
|
+
J("Responses")
|
|
34440
34453
|
]),
|
|
34441
34454
|
_: 1
|
|
34442
34455
|
}, 8, ["parameters"])
|
|
34443
34456
|
]);
|
|
34444
34457
|
};
|
|
34445
34458
|
}
|
|
34446
|
-
}),
|
|
34459
|
+
}), _B = { key: 0 }, xB = /* @__PURE__ */ Q({
|
|
34447
34460
|
__name: "EndpointPath",
|
|
34448
34461
|
props: {
|
|
34449
34462
|
path: {},
|
|
@@ -34455,23 +34468,23 @@ const au = /* @__PURE__ */ oe(o4, [["render", a4], ["__scopeId", "data-v-dcabb13
|
|
|
34455
34468
|
class: xe(["endpoint-path", { deprecated: n.deprecated }])
|
|
34456
34469
|
}, [
|
|
34457
34470
|
(k(!0), A(Z, null, Se(s.value, (i, a) => (k(), A(Z, { key: a }, [
|
|
34458
|
-
t(i) ? (k(), A("em",
|
|
34459
|
-
|
|
34471
|
+
t(i) ? (k(), A("em", _B, ee(i), 1)) : (k(), A(Z, { key: 1 }, [
|
|
34472
|
+
J(ee(i), 1)
|
|
34460
34473
|
], 64))
|
|
34461
34474
|
], 64))), 128))
|
|
34462
34475
|
], 2));
|
|
34463
34476
|
}
|
|
34464
|
-
}), kh = /* @__PURE__ */ oe(
|
|
34477
|
+
}), kh = /* @__PURE__ */ oe(xB, [["__scopeId", "data-v-a4eadd9b"]]);
|
|
34465
34478
|
function Ia(r) {
|
|
34466
34479
|
return r.reduce((e, t) => (e[t.name] = t.value, e), {});
|
|
34467
34480
|
}
|
|
34468
|
-
function
|
|
34481
|
+
function CB(r) {
|
|
34469
34482
|
return /\s|-/.test(r);
|
|
34470
34483
|
}
|
|
34471
34484
|
function Kr(r, e = 0) {
|
|
34472
34485
|
let t = [], s = " ".repeat(e), n = " ".repeat(e + 2);
|
|
34473
34486
|
for (const [o, i] of Object.entries(r)) {
|
|
34474
|
-
let a =
|
|
34487
|
+
let a = CB(o) ? `'${o}'` : o;
|
|
34475
34488
|
if (Array.isArray(i)) {
|
|
34476
34489
|
const l = i.map((c) => typeof c == "string" ? `'${c}'` : c && typeof c == "object" ? Kr(c, e + 2) : c).join(`, ${n}`);
|
|
34477
34490
|
t.push(`${n}${a}: [${l}]`);
|
|
@@ -34500,7 +34513,7 @@ ${t.join(`,
|
|
|
34500
34513
|
`)}
|
|
34501
34514
|
${s}}`;
|
|
34502
34515
|
}
|
|
34503
|
-
function
|
|
34516
|
+
function EB(r) {
|
|
34504
34517
|
var e, t;
|
|
34505
34518
|
const s = {
|
|
34506
34519
|
method: "GET",
|
|
@@ -34528,7 +34541,7 @@ function CB(r) {
|
|
|
34528
34541
|
const { statusCode, body } = await request('${s.url}${i}'${a})`
|
|
34529
34542
|
};
|
|
34530
34543
|
}
|
|
34531
|
-
function
|
|
34544
|
+
function AB(r) {
|
|
34532
34545
|
var e, t;
|
|
34533
34546
|
const s = {
|
|
34534
34547
|
method: "GET",
|
|
@@ -34556,7 +34569,7 @@ function EB(r) {
|
|
|
34556
34569
|
code: `fetch('${s.url}${i}'${a})`
|
|
34557
34570
|
};
|
|
34558
34571
|
}
|
|
34559
|
-
function
|
|
34572
|
+
function OB(r) {
|
|
34560
34573
|
var e, t;
|
|
34561
34574
|
const s = {
|
|
34562
34575
|
method: "GET",
|
|
@@ -34584,7 +34597,7 @@ function AB(r) {
|
|
|
34584
34597
|
code: `fetch('${s.url}${i}'${a})`
|
|
34585
34598
|
};
|
|
34586
34599
|
}
|
|
34587
|
-
function
|
|
34600
|
+
function TB(r) {
|
|
34588
34601
|
var e, t;
|
|
34589
34602
|
const s = {
|
|
34590
34603
|
method: "GET",
|
|
@@ -34612,7 +34625,7 @@ function OB(r) {
|
|
|
34612
34625
|
code: `ofetch('${s.url}'${i})`
|
|
34613
34626
|
};
|
|
34614
34627
|
}
|
|
34615
|
-
function
|
|
34628
|
+
function PB(r) {
|
|
34616
34629
|
var e, t;
|
|
34617
34630
|
const s = {
|
|
34618
34631
|
method: "GET",
|
|
@@ -34641,7 +34654,7 @@ function TB(r) {
|
|
|
34641
34654
|
};
|
|
34642
34655
|
}
|
|
34643
34656
|
function x0() {
|
|
34644
|
-
const r = [
|
|
34657
|
+
const r = [EB, AB, OB, TB, PB];
|
|
34645
34658
|
return {
|
|
34646
34659
|
get(e, t, s) {
|
|
34647
34660
|
const n = this.findPlugin(e, t);
|
|
@@ -34678,7 +34691,7 @@ function x0() {
|
|
|
34678
34691
|
}
|
|
34679
34692
|
};
|
|
34680
34693
|
}
|
|
34681
|
-
const
|
|
34694
|
+
const IB = /* @__PURE__ */ Q({
|
|
34682
34695
|
__name: "ExamplePicker",
|
|
34683
34696
|
props: {
|
|
34684
34697
|
examples: {}
|
|
@@ -34718,15 +34731,15 @@ const PB = /* @__PURE__ */ Q({
|
|
|
34718
34731
|
}))
|
|
34719
34732
|
}, {
|
|
34720
34733
|
default: N(() => [
|
|
34721
|
-
|
|
34734
|
+
J(ee(i(n.value)), 1)
|
|
34722
34735
|
]),
|
|
34723
34736
|
_: 1
|
|
34724
34737
|
}, 8, ["modelValue", "options"]));
|
|
34725
34738
|
}
|
|
34726
|
-
}), yw = /* @__PURE__ */ oe(
|
|
34739
|
+
}), yw = /* @__PURE__ */ oe(IB, [["__scopeId", "data-v-652a7e14"]]), NB = { class: "request-header" }, MB = { class: "code-snippet" }, DB = {
|
|
34727
34740
|
key: 0,
|
|
34728
34741
|
class: "request-card-footer-addon"
|
|
34729
|
-
},
|
|
34742
|
+
}, RB = /* @__PURE__ */ Q({
|
|
34730
34743
|
__name: "ExampleRequest",
|
|
34731
34744
|
props: {
|
|
34732
34745
|
operation: {}
|
|
@@ -34824,7 +34837,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
34824
34837
|
"onUpdate:modelValue": b[0] || (b[0] = (v) => $(l)(JSON.parse(v)))
|
|
34825
34838
|
}, {
|
|
34826
34839
|
default: N(() => [
|
|
34827
|
-
|
|
34840
|
+
J(ee($(c)) + " " + ee($(u)), 1)
|
|
34828
34841
|
]),
|
|
34829
34842
|
_: 1
|
|
34830
34843
|
}, 8, ["modelValue", "options"]),
|
|
@@ -34840,7 +34853,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
34840
34853
|
])
|
|
34841
34854
|
]),
|
|
34842
34855
|
default: N(() => [
|
|
34843
|
-
F("div",
|
|
34856
|
+
F("div", NB, [
|
|
34844
34857
|
L($(Oo), {
|
|
34845
34858
|
as: "span",
|
|
34846
34859
|
class: "request-method",
|
|
@@ -34857,7 +34870,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
34857
34870
|
frameless: ""
|
|
34858
34871
|
}, {
|
|
34859
34872
|
default: N(() => [
|
|
34860
|
-
F("div",
|
|
34873
|
+
F("div", MB, [
|
|
34861
34874
|
L($(Cs), {
|
|
34862
34875
|
content: n.value,
|
|
34863
34876
|
hideCredentials: $(Tx)($(f)),
|
|
@@ -34876,7 +34889,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
34876
34889
|
default: N(() => {
|
|
34877
34890
|
var v, S, _, w;
|
|
34878
34891
|
return [
|
|
34879
|
-
p.value ? (k(), A("div",
|
|
34892
|
+
p.value ? (k(), A("div", DB, [
|
|
34880
34893
|
L(yw, {
|
|
34881
34894
|
class: "request-example-selector",
|
|
34882
34895
|
examples: ((w = (_ = (S = (v = y.operation.information) == null ? void 0 : v.requestBody) == null ? void 0 : S.content) == null ? void 0 : _["application/json"]) == null ? void 0 : w.examples) ?? [],
|
|
@@ -34892,13 +34905,13 @@ const PB = /* @__PURE__ */ Q({
|
|
|
34892
34905
|
_: 3
|
|
34893
34906
|
}));
|
|
34894
34907
|
}
|
|
34895
|
-
}), bw = /* @__PURE__ */ oe(
|
|
34908
|
+
}), bw = /* @__PURE__ */ oe(RB, [["__scopeId", "data-v-317d5c87"]]), LB = { key: 0 }, jB = { key: 1 }, BB = {
|
|
34896
34909
|
key: 0,
|
|
34897
34910
|
class: "rule"
|
|
34898
|
-
},
|
|
34911
|
+
}, VB = { class: "rule-title" }, FB = { class: "rule-items" }, zB = {
|
|
34899
34912
|
key: 2,
|
|
34900
34913
|
class: "empty-state"
|
|
34901
|
-
},
|
|
34914
|
+
}, qB = /* @__PURE__ */ Q({
|
|
34902
34915
|
__name: "ExampleResponse",
|
|
34903
34916
|
props: {
|
|
34904
34917
|
response: {}
|
|
@@ -34910,12 +34923,12 @@ const PB = /* @__PURE__ */ Q({
|
|
|
34910
34923
|
}), {});
|
|
34911
34924
|
return (s, n) => {
|
|
34912
34925
|
var o, i, a, l, c, u, d;
|
|
34913
|
-
return (o = s.response) != null && o.example ? (k(), A("div",
|
|
34926
|
+
return (o = s.response) != null && o.example ? (k(), A("div", LB, [
|
|
34914
34927
|
L($(Cs), {
|
|
34915
34928
|
content: $(Fi)((i = s.response) == null ? void 0 : i.example),
|
|
34916
34929
|
lang: "json"
|
|
34917
34930
|
}, null, 8, ["content"])
|
|
34918
|
-
])) : (a = s.response) != null && a.schema ? (k(), A("div",
|
|
34931
|
+
])) : (a = s.response) != null && a.schema ? (k(), A("div", jB, [
|
|
34919
34932
|
(l = s.response) != null && l.schema.type ? (k(), z($(Cs), {
|
|
34920
34933
|
key: 0,
|
|
34921
34934
|
content: $(Fi)(
|
|
@@ -34929,9 +34942,9 @@ const PB = /* @__PURE__ */ Q({
|
|
|
34929
34942
|
(k(), A(Z, null, Se(e, (h) => {
|
|
34930
34943
|
var f, p, g, m, y, b;
|
|
34931
34944
|
return k(), A(Z, { key: h }, [
|
|
34932
|
-
(f = s.response) != null && f.schema[h] && (((p = s.response) == null ? void 0 : p.schema[h].length) > 1 || h === "not") ? (k(), A("div",
|
|
34933
|
-
F("div",
|
|
34934
|
-
F("ol",
|
|
34945
|
+
(f = s.response) != null && f.schema[h] && (((p = s.response) == null ? void 0 : p.schema[h].length) > 1 || h === "not") ? (k(), A("div", BB, [
|
|
34946
|
+
F("div", VB, ee(h), 1),
|
|
34947
|
+
F("ol", FB, [
|
|
34935
34948
|
(k(!0), A(Z, null, Se((g = s.response) == null ? void 0 : g.schema[h], (v, S) => (k(), A("li", {
|
|
34936
34949
|
key: S,
|
|
34937
34950
|
class: "rule-item"
|
|
@@ -34967,16 +34980,16 @@ const PB = /* @__PURE__ */ Q({
|
|
|
34967
34980
|
),
|
|
34968
34981
|
lang: "json"
|
|
34969
34982
|
}, null, 8, ["content"])) : K("", !0)
|
|
34970
|
-
])) : (k(), A("div",
|
|
34983
|
+
])) : (k(), A("div", zB, " No Body "));
|
|
34971
34984
|
};
|
|
34972
34985
|
}
|
|
34973
|
-
}), C0 = /* @__PURE__ */ oe(
|
|
34986
|
+
}), C0 = /* @__PURE__ */ oe(qB, [["__scopeId", "data-v-800e8c7d"]]), HB = (r) => (Pt("data-v-314905de"), r = r(), It(), r), KB = {
|
|
34974
34987
|
key: 1,
|
|
34975
34988
|
class: "scalar-card-checkbox"
|
|
34976
|
-
},
|
|
34989
|
+
}, UB = /* @__PURE__ */ HB(() => /* @__PURE__ */ F("span", { class: "scalar-card-checkbox-checkmark" }, null, -1)), WB = { class: "scalar-card-container custom-scroll" }, GB = {
|
|
34977
34990
|
key: 1,
|
|
34978
34991
|
class: "response-description"
|
|
34979
|
-
},
|
|
34992
|
+
}, JB = /* @__PURE__ */ Q({
|
|
34980
34993
|
__name: "PathResponses",
|
|
34981
34994
|
props: {
|
|
34982
34995
|
operation: {}
|
|
@@ -35036,8 +35049,8 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35036
35049
|
x: "asd"
|
|
35037
35050
|
})
|
|
35038
35051
|
])) : K("", !0),
|
|
35039
|
-
(m = l.value) != null && m.schema ? (k(), A("label",
|
|
35040
|
-
|
|
35052
|
+
(m = l.value) != null && m.schema ? (k(), A("label", KB, [
|
|
35053
|
+
J(" Show Schema "),
|
|
35041
35054
|
Co(F("input", {
|
|
35042
35055
|
"onUpdate:modelValue": f[1] || (f[1] = (y) => d.value = y),
|
|
35043
35056
|
class: "scalar-card-checkbox-input",
|
|
@@ -35045,21 +35058,21 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35045
35058
|
}, null, 512), [
|
|
35046
35059
|
[Hw, d.value]
|
|
35047
35060
|
]),
|
|
35048
|
-
|
|
35061
|
+
UB
|
|
35049
35062
|
])) : K("", !0)
|
|
35050
35063
|
];
|
|
35051
35064
|
}),
|
|
35052
35065
|
default: N(() => [
|
|
35053
35066
|
(k(!0), A(Z, null, Se(n.value, (g) => (k(), z($(y4), { key: g }, {
|
|
35054
35067
|
default: N(() => [
|
|
35055
|
-
|
|
35068
|
+
J(ee(g), 1)
|
|
35056
35069
|
]),
|
|
35057
35070
|
_: 2
|
|
35058
35071
|
}, 1024))), 128))
|
|
35059
35072
|
]),
|
|
35060
35073
|
_: 1
|
|
35061
35074
|
}),
|
|
35062
|
-
F("div",
|
|
35075
|
+
F("div", WB, [
|
|
35063
35076
|
L($(Jo), { muted: "" }, {
|
|
35064
35077
|
default: N(() => {
|
|
35065
35078
|
var g;
|
|
@@ -35095,7 +35108,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35095
35108
|
class: "response-example-selector",
|
|
35096
35109
|
examples: (g = l.value) == null ? void 0 : g.examples,
|
|
35097
35110
|
"onUpdate:modelValue": f[2] || (f[2] = (y) => s.value = y)
|
|
35098
|
-
}, null, 8, ["examples"])) : (m = a.value) != null && m.description ? (k(), A("div",
|
|
35111
|
+
}, null, 8, ["examples"])) : (m = a.value) != null && m.description ? (k(), A("div", GB, [
|
|
35099
35112
|
L($(Ut), {
|
|
35100
35113
|
class: "markdown",
|
|
35101
35114
|
value: a.value.description
|
|
@@ -35110,7 +35123,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35110
35123
|
_: 1
|
|
35111
35124
|
})) : K("", !0);
|
|
35112
35125
|
}
|
|
35113
|
-
}), vw = /* @__PURE__ */ oe(
|
|
35126
|
+
}), vw = /* @__PURE__ */ oe(JB, [["__scopeId", "data-v-314905de"]]), YB = (r) => (Pt("data-v-f44e2b65"), r = r(), It(), r), XB = /* @__PURE__ */ YB(() => /* @__PURE__ */ F("span", null, "Test Request", -1)), QB = /* @__PURE__ */ Q({
|
|
35114
35127
|
__name: "TryRequestButton",
|
|
35115
35128
|
props: {
|
|
35116
35129
|
operation: {}
|
|
@@ -35129,12 +35142,12 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35129
35142
|
}, {
|
|
35130
35143
|
default: N(() => [
|
|
35131
35144
|
L($(Ze), { icon: "PaperAirplane" }),
|
|
35132
|
-
|
|
35145
|
+
XB
|
|
35133
35146
|
]),
|
|
35134
35147
|
_: 1
|
|
35135
35148
|
}, 8, ["method"]));
|
|
35136
35149
|
}
|
|
35137
|
-
}), Sh = /* @__PURE__ */ oe(
|
|
35150
|
+
}), Sh = /* @__PURE__ */ oe(QB, [["__scopeId", "data-v-f44e2b65"]]), ZB = { class: "examples" }, e9 = /* @__PURE__ */ Q({
|
|
35138
35151
|
__name: "Operation",
|
|
35139
35152
|
props: {
|
|
35140
35153
|
id: {},
|
|
@@ -35164,7 +35177,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35164
35177
|
return [
|
|
35165
35178
|
(o = s.operation.information) != null && o.deprecated ? (k(), z($(sa), { key: 0 }, {
|
|
35166
35179
|
default: N(() => [
|
|
35167
|
-
|
|
35180
|
+
J(" Deprecated ")
|
|
35168
35181
|
]),
|
|
35169
35182
|
_: 1
|
|
35170
35183
|
})) : K("", !0),
|
|
@@ -35177,7 +35190,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35177
35190
|
id: s.id ?? ""
|
|
35178
35191
|
}, {
|
|
35179
35192
|
default: N(() => [
|
|
35180
|
-
|
|
35193
|
+
J(ee(s.operation.name), 1)
|
|
35181
35194
|
]),
|
|
35182
35195
|
_: 1
|
|
35183
35196
|
}, 8, ["id"])
|
|
@@ -35185,14 +35198,14 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35185
35198
|
_: 1
|
|
35186
35199
|
})
|
|
35187
35200
|
], 2),
|
|
35188
|
-
L(
|
|
35201
|
+
L($B, { operation: s.operation }, null, 8, ["operation"])
|
|
35189
35202
|
];
|
|
35190
35203
|
}),
|
|
35191
35204
|
_: 1
|
|
35192
35205
|
}),
|
|
35193
35206
|
L($(_o), null, {
|
|
35194
35207
|
default: N(() => [
|
|
35195
|
-
F("div",
|
|
35208
|
+
F("div", ZB, [
|
|
35196
35209
|
t.value ? (k(), z(_4, {
|
|
35197
35210
|
key: 0,
|
|
35198
35211
|
examples: t.value,
|
|
@@ -35249,7 +35262,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35249
35262
|
_: 1
|
|
35250
35263
|
}, 8, ["id", "label"]));
|
|
35251
35264
|
}
|
|
35252
|
-
}), ww = /* @__PURE__ */ oe(
|
|
35265
|
+
}), ww = /* @__PURE__ */ oe(e9, [["__scopeId", "data-v-9cd31f5d"]]), t9 = { class: "endpoint-details-card" }, r9 = /* @__PURE__ */ Q({
|
|
35253
35266
|
__name: "EndpointDetailsCard",
|
|
35254
35267
|
props: {
|
|
35255
35268
|
operation: {}
|
|
@@ -35258,13 +35271,13 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35258
35271
|
const e = r, { parameterMap: t } = Sp(e), { responses: s } = $p(e.operation);
|
|
35259
35272
|
return (n, o) => {
|
|
35260
35273
|
var i;
|
|
35261
|
-
return k(), A("div",
|
|
35274
|
+
return k(), A("div", t9, [
|
|
35262
35275
|
L(fr, {
|
|
35263
35276
|
class: "endpoint-details-card-item",
|
|
35264
35277
|
parameters: $(t).path
|
|
35265
35278
|
}, {
|
|
35266
35279
|
title: N(() => [
|
|
35267
|
-
|
|
35280
|
+
J("Path Parameters")
|
|
35268
35281
|
]),
|
|
35269
35282
|
_: 1
|
|
35270
35283
|
}, 8, ["parameters"]),
|
|
@@ -35273,7 +35286,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35273
35286
|
parameters: $(t).query
|
|
35274
35287
|
}, {
|
|
35275
35288
|
title: N(() => [
|
|
35276
|
-
|
|
35289
|
+
J("Query Parameters")
|
|
35277
35290
|
]),
|
|
35278
35291
|
_: 1
|
|
35279
35292
|
}, 8, ["parameters"]),
|
|
@@ -35282,7 +35295,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35282
35295
|
parameters: $(t).header
|
|
35283
35296
|
}, {
|
|
35284
35297
|
title: N(() => [
|
|
35285
|
-
|
|
35298
|
+
J("Headers")
|
|
35286
35299
|
]),
|
|
35287
35300
|
_: 1
|
|
35288
35301
|
}, 8, ["parameters"]),
|
|
@@ -35291,7 +35304,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35291
35304
|
requestBody: (i = n.operation.information) == null ? void 0 : i.requestBody
|
|
35292
35305
|
}, {
|
|
35293
35306
|
title: N(() => [
|
|
35294
|
-
|
|
35307
|
+
J("Body")
|
|
35295
35308
|
]),
|
|
35296
35309
|
_: 1
|
|
35297
35310
|
}, 8, ["requestBody"]),
|
|
@@ -35300,14 +35313,14 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35300
35313
|
parameters: $(s)
|
|
35301
35314
|
}, {
|
|
35302
35315
|
title: N(() => [
|
|
35303
|
-
|
|
35316
|
+
J("Responses")
|
|
35304
35317
|
]),
|
|
35305
35318
|
_: 1
|
|
35306
35319
|
}, 8, ["parameters"])
|
|
35307
35320
|
]);
|
|
35308
35321
|
};
|
|
35309
35322
|
}
|
|
35310
|
-
}),
|
|
35323
|
+
}), s9 = /* @__PURE__ */ oe(r9, [["__scopeId", "data-v-f94bee14"]]), n9 = { class: "endpoint-header" }, o9 = { class: "endpoint-details" }, i9 = { class: "endpoint-label" }, a9 = { class: "endpoint-label-path" }, l9 = { class: "endpoint-label-name" }, c9 = { class: "endpoint-content" }, u9 = /* @__PURE__ */ Q({
|
|
35311
35324
|
__name: "OperationAccordion",
|
|
35312
35325
|
props: {
|
|
35313
35326
|
id: {},
|
|
@@ -35321,8 +35334,8 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35321
35334
|
transparent: ""
|
|
35322
35335
|
}, aa({
|
|
35323
35336
|
title: N(() => [
|
|
35324
|
-
F("h3",
|
|
35325
|
-
F("div",
|
|
35337
|
+
F("h3", n9, [
|
|
35338
|
+
F("div", o9, [
|
|
35326
35339
|
L($(Oo), {
|
|
35327
35340
|
class: "endpoint-type",
|
|
35328
35341
|
method: t.operation.httpVerb,
|
|
@@ -35335,14 +35348,14 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35335
35348
|
default: N(() => {
|
|
35336
35349
|
var n;
|
|
35337
35350
|
return [
|
|
35338
|
-
F("div",
|
|
35339
|
-
F("div",
|
|
35351
|
+
F("div", i9, [
|
|
35352
|
+
F("div", a9, [
|
|
35340
35353
|
L(kh, {
|
|
35341
35354
|
deprecated: (n = t.operation.information) == null ? void 0 : n.deprecated,
|
|
35342
35355
|
path: t.operation.path
|
|
35343
35356
|
}, null, 8, ["deprecated", "path"])
|
|
35344
35357
|
]),
|
|
35345
|
-
F("div",
|
|
35358
|
+
F("div", l9, ee(t.operation.name), 1)
|
|
35346
35359
|
])
|
|
35347
35360
|
];
|
|
35348
35361
|
}),
|
|
@@ -35370,8 +35383,8 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35370
35383
|
})
|
|
35371
35384
|
]),
|
|
35372
35385
|
default: N(() => [
|
|
35373
|
-
F("div",
|
|
35374
|
-
L(
|
|
35386
|
+
F("div", c9, [
|
|
35387
|
+
L(s9, { operation: t.operation }, null, 8, ["operation"]),
|
|
35375
35388
|
L($(vw), { operation: t.operation }, null, 8, ["operation"]),
|
|
35376
35389
|
L(bw, { operation: t.operation }, null, 8, ["operation"])
|
|
35377
35390
|
])
|
|
@@ -35390,7 +35403,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35390
35403
|
} : void 0
|
|
35391
35404
|
]), 1032, ["id"]));
|
|
35392
35405
|
}
|
|
35393
|
-
}),
|
|
35406
|
+
}), d9 = /* @__PURE__ */ oe(u9, [["__scopeId", "data-v-f61893df"]]), h9 = /* @__PURE__ */ Q({
|
|
35394
35407
|
__name: "ShowMoreButton",
|
|
35395
35408
|
props: {
|
|
35396
35409
|
id: {}
|
|
@@ -35402,14 +35415,14 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35402
35415
|
type: "button",
|
|
35403
35416
|
onClick: s[0] || (s[0] = (n) => $(e)(t.id, !0))
|
|
35404
35417
|
}, [
|
|
35405
|
-
|
|
35418
|
+
J(" Show More "),
|
|
35406
35419
|
L($(Ze), {
|
|
35407
35420
|
class: "show-more-icon",
|
|
35408
35421
|
icon: "ChevronDown"
|
|
35409
35422
|
})
|
|
35410
35423
|
]));
|
|
35411
35424
|
}
|
|
35412
|
-
}), kw = /* @__PURE__ */ oe(
|
|
35425
|
+
}), kw = /* @__PURE__ */ oe(h9, [["__scopeId", "data-v-60a9fbab"]]), f9 = { class: "endpoints" }, p9 = ["onClick"], m9 = /* @__PURE__ */ Q({
|
|
35413
35426
|
__name: "Endpoints",
|
|
35414
35427
|
props: {
|
|
35415
35428
|
id: {},
|
|
@@ -35440,7 +35453,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35440
35453
|
id: $(o)(c.tag)
|
|
35441
35454
|
}, {
|
|
35442
35455
|
default: N(() => [
|
|
35443
|
-
|
|
35456
|
+
J(ee(c.tag["x-displayName"] ?? c.tag.name), 1)
|
|
35444
35457
|
]),
|
|
35445
35458
|
_: 1
|
|
35446
35459
|
}, 8, ["id"])
|
|
@@ -35465,7 +35478,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35465
35478
|
default: N(() => [
|
|
35466
35479
|
L($(lu), { muted: "" }, {
|
|
35467
35480
|
default: N(() => [
|
|
35468
|
-
|
|
35481
|
+
J("Endpoints")
|
|
35469
35482
|
]),
|
|
35470
35483
|
_: 1
|
|
35471
35484
|
}),
|
|
@@ -35474,7 +35487,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35474
35487
|
muted: ""
|
|
35475
35488
|
}, {
|
|
35476
35489
|
default: N(() => [
|
|
35477
|
-
F("div",
|
|
35490
|
+
F("div", f9, [
|
|
35478
35491
|
(k(!0), A(Z, null, Se(c.tag.operations, (h) => (k(), A("a", {
|
|
35479
35492
|
key: $(n)(h, c.tag),
|
|
35480
35493
|
class: "endpoint",
|
|
@@ -35483,8 +35496,8 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35483
35496
|
L($(Oo), {
|
|
35484
35497
|
method: h.httpVerb
|
|
35485
35498
|
}, null, 8, ["method"]),
|
|
35486
|
-
F("span", null,
|
|
35487
|
-
], 8,
|
|
35499
|
+
F("span", null, ee(h.path), 1)
|
|
35500
|
+
], 8, p9))), 128))
|
|
35488
35501
|
])
|
|
35489
35502
|
]),
|
|
35490
35503
|
_: 1
|
|
@@ -35506,9 +35519,9 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35506
35519
|
_: 1
|
|
35507
35520
|
}, 8, ["id", "label"]));
|
|
35508
35521
|
}
|
|
35509
|
-
}),
|
|
35522
|
+
}), g9 = /* @__PURE__ */ oe(m9, [["__scopeId", "data-v-b209ef2d"]]), y9 = (r, e) => {
|
|
35510
35523
|
uk(r, e, { childList: !0, subtree: !0 });
|
|
35511
|
-
},
|
|
35524
|
+
}, b9 = /* @__PURE__ */ Q({
|
|
35512
35525
|
__name: "Tag",
|
|
35513
35526
|
props: {
|
|
35514
35527
|
id: {},
|
|
@@ -35522,7 +35535,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35522
35535
|
}, i = (c) => {
|
|
35523
35536
|
window.location.href = `#${c}`;
|
|
35524
35537
|
}, a = (c) => {
|
|
35525
|
-
|
|
35538
|
+
y9(t, (u, d) => {
|
|
35526
35539
|
u.forEach((h) => {
|
|
35527
35540
|
Array.from(h.addedNodes).some((p) => p instanceof HTMLElement && p.id === c) && (i(c), d.disconnect());
|
|
35528
35541
|
});
|
|
@@ -35538,7 +35551,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35538
35551
|
default: N(() => {
|
|
35539
35552
|
var d;
|
|
35540
35553
|
return [
|
|
35541
|
-
o(c.tag) ? (k(), z(
|
|
35554
|
+
o(c.tag) ? (k(), z(g9, {
|
|
35542
35555
|
key: 0,
|
|
35543
35556
|
id: c.id,
|
|
35544
35557
|
tag: c.tag,
|
|
@@ -35553,7 +35566,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35553
35566
|
_: 3
|
|
35554
35567
|
}, 512));
|
|
35555
35568
|
}
|
|
35556
|
-
}), Sw = /* @__PURE__ */ oe(
|
|
35569
|
+
}), Sw = /* @__PURE__ */ oe(b9, [["__scopeId", "data-v-7fef7ce7"]]), v9 = /* @__PURE__ */ Q({
|
|
35557
35570
|
__name: "TagAccordion",
|
|
35558
35571
|
props: {
|
|
35559
35572
|
tag: {},
|
|
@@ -35572,7 +35585,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35572
35585
|
id: $(e)(t.tag)
|
|
35573
35586
|
}, {
|
|
35574
35587
|
default: N(() => [
|
|
35575
|
-
|
|
35588
|
+
J(ee(t.tag.name), 1)
|
|
35576
35589
|
]),
|
|
35577
35590
|
_: 1
|
|
35578
35591
|
}, 8, ["id"])
|
|
@@ -35591,7 +35604,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35591
35604
|
_: 3
|
|
35592
35605
|
}));
|
|
35593
35606
|
}
|
|
35594
|
-
}),
|
|
35607
|
+
}), w9 = /* @__PURE__ */ oe(v9, [["__scopeId", "data-v-f11e3b56"]]), k9 = /* @__PURE__ */ Q({
|
|
35595
35608
|
__name: "Loading",
|
|
35596
35609
|
props: {
|
|
35597
35610
|
layout: { default: "default" },
|
|
@@ -35693,7 +35706,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35693
35706
|
default: N(() => {
|
|
35694
35707
|
var y;
|
|
35695
35708
|
return [
|
|
35696
|
-
|
|
35709
|
+
J(ee(((y = $(Vr)(h.parsedSpec)) == null ? void 0 : y[p]).title ?? p), 1)
|
|
35697
35710
|
];
|
|
35698
35711
|
}),
|
|
35699
35712
|
_: 2
|
|
@@ -35721,7 +35734,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35721
35734
|
[pc, u.value]
|
|
35722
35735
|
]);
|
|
35723
35736
|
}
|
|
35724
|
-
}),
|
|
35737
|
+
}), S9 = (r) => (Pt("data-v-f19478dd"), r = r(), It(), r), $9 = /* @__PURE__ */ S9(() => /* @__PURE__ */ F("div", { id: "models" }, null, -1)), _9 = /* @__PURE__ */ Q({
|
|
35725
35738
|
__name: "Models",
|
|
35726
35739
|
props: {
|
|
35727
35740
|
schemas: {}
|
|
@@ -35740,7 +35753,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35740
35753
|
isLazy: !1
|
|
35741
35754
|
}, {
|
|
35742
35755
|
default: N(() => [
|
|
35743
|
-
|
|
35756
|
+
$9
|
|
35744
35757
|
]),
|
|
35745
35758
|
_: 1
|
|
35746
35759
|
}),
|
|
@@ -35763,7 +35776,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35763
35776
|
id: $(s)(l)
|
|
35764
35777
|
}, {
|
|
35765
35778
|
default: N(() => [
|
|
35766
|
-
|
|
35779
|
+
J(ee(i.schemas[l].title ?? l), 1)
|
|
35767
35780
|
]),
|
|
35768
35781
|
_: 2
|
|
35769
35782
|
}, 1032, ["id"])
|
|
@@ -35793,10 +35806,10 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35793
35806
|
_: 1
|
|
35794
35807
|
})) : K("", !0);
|
|
35795
35808
|
}
|
|
35796
|
-
}),
|
|
35809
|
+
}), x9 = /* @__PURE__ */ oe(_9, [["__scopeId", "data-v-f19478dd"]]), C9 = {
|
|
35797
35810
|
key: 0,
|
|
35798
35811
|
class: "properties"
|
|
35799
|
-
},
|
|
35812
|
+
}, E9 = { key: 1 }, A9 = /* @__PURE__ */ Q({
|
|
35800
35813
|
__name: "ModelsAccordion",
|
|
35801
35814
|
props: {
|
|
35802
35815
|
schemas: {}
|
|
@@ -35813,7 +35826,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35813
35826
|
title: N(() => [
|
|
35814
35827
|
L($(qs), { level: 2 }, {
|
|
35815
35828
|
default: N(() => [
|
|
35816
|
-
|
|
35829
|
+
J("Models")
|
|
35817
35830
|
]),
|
|
35818
35831
|
_: 1
|
|
35819
35832
|
})
|
|
@@ -35840,14 +35853,14 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35840
35853
|
}, 1032, ["id"])
|
|
35841
35854
|
]),
|
|
35842
35855
|
default: N(() => [
|
|
35843
|
-
a != null && a.properties ? (k(), A("div",
|
|
35856
|
+
a != null && a.properties ? (k(), A("div", C9, [
|
|
35844
35857
|
(k(!0), A(Z, null, Se(Object.entries(a.properties), ([l, c]) => (k(), z($(hn), {
|
|
35845
35858
|
key: l,
|
|
35846
35859
|
name: l,
|
|
35847
35860
|
required: a.required && !!a.required.length && a.required.includes(l),
|
|
35848
35861
|
value: c
|
|
35849
35862
|
}, null, 8, ["name", "required", "value"]))), 128))
|
|
35850
|
-
])) : (k(), A("div",
|
|
35863
|
+
])) : (k(), A("div", E9, [
|
|
35851
35864
|
L($(hn), { value: a }, null, 8, ["value"])
|
|
35852
35865
|
]))
|
|
35853
35866
|
]),
|
|
@@ -35857,7 +35870,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35857
35870
|
_: 1
|
|
35858
35871
|
})) : K("", !0);
|
|
35859
35872
|
}
|
|
35860
|
-
}),
|
|
35873
|
+
}), O9 = /* @__PURE__ */ oe(A9, [["__scopeId", "data-v-2399f144"]]), T9 = /* @__PURE__ */ Q({
|
|
35861
35874
|
__name: "Webhook",
|
|
35862
35875
|
props: {
|
|
35863
35876
|
webhook: {}
|
|
@@ -35871,20 +35884,20 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35871
35884
|
requestBody: (o = s.webhook.information) == null ? void 0 : o.requestBody
|
|
35872
35885
|
}, {
|
|
35873
35886
|
title: N(() => [
|
|
35874
|
-
|
|
35887
|
+
J("Payload")
|
|
35875
35888
|
]),
|
|
35876
35889
|
_: 1
|
|
35877
35890
|
}, 8, ["requestBody"]),
|
|
35878
35891
|
L(fr, { parameters: $(t) }, {
|
|
35879
35892
|
title: N(() => [
|
|
35880
|
-
|
|
35893
|
+
J("Responses")
|
|
35881
35894
|
]),
|
|
35882
35895
|
_: 1
|
|
35883
35896
|
}, 8, ["parameters"])
|
|
35884
35897
|
], 64)) : K("", !0);
|
|
35885
35898
|
};
|
|
35886
35899
|
}
|
|
35887
|
-
}),
|
|
35900
|
+
}), P9 = /* @__PURE__ */ Q({
|
|
35888
35901
|
__name: "Webhooks",
|
|
35889
35902
|
props: {
|
|
35890
35903
|
webhooks: {}
|
|
@@ -35918,7 +35931,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35918
35931
|
default: N(() => {
|
|
35919
35932
|
var h;
|
|
35920
35933
|
return [
|
|
35921
|
-
|
|
35934
|
+
J(ee((h = n.webhooks[i][l]) == null ? void 0 : h.name), 1)
|
|
35922
35935
|
];
|
|
35923
35936
|
}),
|
|
35924
35937
|
_: 2
|
|
@@ -35931,7 +35944,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35931
35944
|
value: (d = n.webhooks[i][l]) == null ? void 0 : d.description,
|
|
35932
35945
|
withImages: ""
|
|
35933
35946
|
}, null, 8, ["value"])) : K("", !0),
|
|
35934
|
-
L(
|
|
35947
|
+
L(T9, {
|
|
35935
35948
|
webhook: n.webhooks[i][l]
|
|
35936
35949
|
}, null, 8, ["webhook"])
|
|
35937
35950
|
];
|
|
@@ -35948,7 +35961,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35948
35961
|
_: 1
|
|
35949
35962
|
})) : K("", !0);
|
|
35950
35963
|
}
|
|
35951
|
-
}),
|
|
35964
|
+
}), I9 = /* @__PURE__ */ oa('<div class="section-flare" data-v-09a6c646><div class="section-flare-item" data-v-09a6c646></div><div class="section-flare-item" data-v-09a6c646></div><div class="section-flare-item" data-v-09a6c646></div><div class="section-flare-item" data-v-09a6c646></div><div class="section-flare-item" data-v-09a6c646></div><div class="section-flare-item" data-v-09a6c646></div><div class="section-flare-item" data-v-09a6c646></div><div class="section-flare-item" data-v-09a6c646></div></div>', 1), N9 = { class: "narrow-references-container" }, M9 = /* @__PURE__ */ Q({
|
|
35952
35965
|
__name: "Content",
|
|
35953
35966
|
props: {
|
|
35954
35967
|
parsedSpec: {},
|
|
@@ -35981,17 +35994,17 @@ const PB = /* @__PURE__ */ Q({
|
|
|
35981
35994
|
{ deep: !0, immediate: !0 }
|
|
35982
35995
|
);
|
|
35983
35996
|
const c = ne(
|
|
35984
|
-
() => e.layout === "accordion" ?
|
|
35997
|
+
() => e.layout === "accordion" ? w9 : Sw
|
|
35985
35998
|
), u = ne(
|
|
35986
|
-
() => e.layout === "accordion" ?
|
|
35999
|
+
() => e.layout === "accordion" ? d9 : ww
|
|
35987
36000
|
), d = ne(
|
|
35988
36001
|
() => e.layout === "accordion" ? "after" : "aside"
|
|
35989
36002
|
), h = e.layout !== "accordion" && !n.value.startsWith("model");
|
|
35990
36003
|
return (f, p) => (k(), A(Z, null, [
|
|
35991
|
-
|
|
35992
|
-
F("div",
|
|
36004
|
+
I9,
|
|
36005
|
+
F("div", N9, [
|
|
35993
36006
|
re(f.$slots, "start", {}, void 0, !0),
|
|
35994
|
-
L($(
|
|
36007
|
+
L($(k9), {
|
|
35995
36008
|
layout: f.layout,
|
|
35996
36009
|
parsedSpec: f.parsedSpec
|
|
35997
36010
|
}, null, 8, ["layout", "parsedSpec"]),
|
|
@@ -36043,15 +36056,15 @@ const PB = /* @__PURE__ */ Q({
|
|
|
36043
36056
|
]),
|
|
36044
36057
|
_: 2
|
|
36045
36058
|
}, 1032, ["id", "isLazy"]))), 128)),
|
|
36046
|
-
f.parsedSpec.webhooks ? (k(), z($(
|
|
36059
|
+
f.parsedSpec.webhooks ? (k(), z($(P9), {
|
|
36047
36060
|
key: 2,
|
|
36048
36061
|
webhooks: f.parsedSpec.webhooks
|
|
36049
36062
|
}, null, 8, ["webhooks"])) : K("", !0),
|
|
36050
36063
|
$(tv)(f.parsedSpec) && !$(i) ? (k(), A(Z, { key: 3 }, [
|
|
36051
|
-
f.layout === "accordion" ? (k(), z($(
|
|
36064
|
+
f.layout === "accordion" ? (k(), z($(O9), {
|
|
36052
36065
|
key: 0,
|
|
36053
36066
|
schemas: $(Vr)(f.parsedSpec)
|
|
36054
|
-
}, null, 8, ["schemas"])) : (k(), z($(
|
|
36067
|
+
}, null, 8, ["schemas"])) : (k(), z($(x9), {
|
|
36055
36068
|
key: 1,
|
|
36056
36069
|
schemas: $(Vr)(f.parsedSpec)
|
|
36057
36070
|
}, null, 8, ["schemas"]))
|
|
@@ -36060,7 +36073,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
36060
36073
|
])
|
|
36061
36074
|
], 64));
|
|
36062
36075
|
}
|
|
36063
|
-
}),
|
|
36076
|
+
}), D9 = /* @__PURE__ */ oe(M9, [["__scopeId", "data-v-09a6c646"]]), R9 = (r) => (Pt("data-v-391b4e37"), r = r(), It(), r), L9 = { class: "start custom-scroll" }, j9 = { class: "start-copy" }, B9 = /* @__PURE__ */ oa('<div class="start-logo" data-v-391b4e37><svg height="36" viewBox="0 0 36 36" width="36" xmlns="http://www.w3.org/2000/svg" data-v-391b4e37><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-391b4e37></path></svg></div><h1 class="start-h1" data-v-391b4e37>Swagger Editor</h1><p class="start-p" data-v-391b4e37> Welcome to the Scalar API References + Swagger Editor, a Free & Open-Source tool that takes your Swagger/OAS file and generates Beautiful API references. </p>', 3), V9 = { class: "start-cta" }, F9 = { class: "start-row" }, z9 = /* @__PURE__ */ oa('<div class="start-section start-section-integrations" data-v-391b4e37><div class="start-h2" data-v-391b4e37>INTEGRATIONS</div><a class="start-item" href="https://github.com/scalar/scalar/tree/main/packages/fastify-api-reference#readme" target="_blank" data-v-391b4e37><svg fill="currentColor" height="16" viewBox="0 0 19 16" width="19" xmlns="http://www.w3.org/2000/svg" data-v-391b4e37><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-391b4e37></path></svg><span data-v-391b4e37>Fastify</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#from-a-cdn" target="_blank" data-v-391b4e37><svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" data-v-391b4e37><g data-v-391b4e37><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-391b4e37></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-391b4e37></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-391b4e37></path></g></svg><span data-v-391b4e37>CDN</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-vuejs" target="_blank" data-v-391b4e37><svg height="170" viewBox="0 0 196.3 170" width="196.3" xmlns="http://www.w3.org/2000/svg" data-v-391b4e37><g fill="currentColor" fill-rule="nonzero" data-v-391b4e37><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-391b4e37></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-391b4e37></polygon></g></svg><span data-v-391b4e37>Vue</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-react" target="_blank" data-v-391b4e37><svg height="23.3" viewBox="0 0 22 23.3" width="22" xmlns="http://www.w3.org/2000/svg" data-v-391b4e37><g fill="none" fill-rule="evenodd" data-v-391b4e37><circle cx="11" cy="11.6" fill="currentColor" fill-rule="nonzero" r="2" data-v-391b4e37></circle><g stroke="currentColor" data-v-391b4e37><ellipse cx="11" cy="11.6" rx="11" ry="4.2" data-v-391b4e37></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(60 11 11.6)" data-v-391b4e37></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(120 11 11.6)" data-v-391b4e37></ellipse></g></g></svg><span data-v-391b4e37>React</span></a></div>', 1), q9 = { class: "start-section start-section-colors" }, H9 = /* @__PURE__ */ R9(() => /* @__PURE__ */ F("p", { class: "start-h2" }, "THEMING", -1)), K9 = ["onClick"], U9 = /* @__PURE__ */ oa('<p class="start-h1" data-v-391b4e37>Features</p><ul class="start-ul" data-v-391b4e37><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>Customize</p> Bring your typography & color palettes, or use our themes! </li><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>Testing</p> A deeply integrated Rest API Client (Also Free & Open-Source) </li><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>Search</p> Fully integrated Search (Using fuse.js) </li><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>Hosting</p> Free subdomain hosting on https://apidocumentation.com </li><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>OpenAPI & Swagger</p> Support for OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0 </li><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>Code Samples</p> Code samples to show off your API in most popular languages </li></ul>', 2), W9 = /* @__PURE__ */ Q({
|
|
36064
36077
|
__name: "GettingStarted",
|
|
36065
36078
|
props: {
|
|
36066
36079
|
theme: {}
|
|
@@ -36085,16 +36098,16 @@ const PB = /* @__PURE__ */ Q({
|
|
|
36085
36098
|
);
|
|
36086
36099
|
t("updateContent", await o.text());
|
|
36087
36100
|
}
|
|
36088
|
-
return (o, i) => (k(), A("div",
|
|
36089
|
-
F("div",
|
|
36090
|
-
|
|
36091
|
-
F("div",
|
|
36101
|
+
return (o, i) => (k(), A("div", L9, [
|
|
36102
|
+
F("div", j9, [
|
|
36103
|
+
B9,
|
|
36104
|
+
F("div", V9, [
|
|
36092
36105
|
L($(xg), {
|
|
36093
36106
|
fullWidth: "",
|
|
36094
36107
|
onClick: n
|
|
36095
36108
|
}, {
|
|
36096
36109
|
default: N(() => [
|
|
36097
|
-
|
|
36110
|
+
J(" Show Example ")
|
|
36098
36111
|
]),
|
|
36099
36112
|
_: 1
|
|
36100
36113
|
}),
|
|
@@ -36104,33 +36117,33 @@ const PB = /* @__PURE__ */ Q({
|
|
|
36104
36117
|
onClick: i[0] || (i[0] = (a) => o.$emit("loadSwaggerFile"))
|
|
36105
36118
|
}, {
|
|
36106
36119
|
default: N(() => [
|
|
36107
|
-
|
|
36120
|
+
J(" Upload File ")
|
|
36108
36121
|
]),
|
|
36109
36122
|
_: 1
|
|
36110
36123
|
})
|
|
36111
36124
|
])
|
|
36112
36125
|
]),
|
|
36113
|
-
F("div",
|
|
36114
|
-
|
|
36115
|
-
F("div",
|
|
36116
|
-
|
|
36126
|
+
F("div", F9, [
|
|
36127
|
+
z9,
|
|
36128
|
+
F("div", q9, [
|
|
36129
|
+
H9,
|
|
36117
36130
|
(k(), A(Z, null, Se(s, (a) => F("div", {
|
|
36118
36131
|
key: a,
|
|
36119
36132
|
class: xe(["start-item", { "start-item-active": a === o.theme }]),
|
|
36120
36133
|
onClick: (l) => o.$emit("changeTheme", { id: a, label: $(Hp)[a] })
|
|
36121
|
-
},
|
|
36134
|
+
}, ee($(Hp)[a]), 11, K9)), 64))
|
|
36122
36135
|
])
|
|
36123
36136
|
]),
|
|
36124
|
-
|
|
36137
|
+
U9
|
|
36125
36138
|
]));
|
|
36126
36139
|
}
|
|
36127
|
-
}),
|
|
36140
|
+
}), G9 = /* @__PURE__ */ oe(W9, [["__scopeId", "data-v-391b4e37"]]), J9 = { class: "references-header" }, Y9 = {
|
|
36128
36141
|
key: 0,
|
|
36129
36142
|
class: "references-navigation t-doc__sidebar"
|
|
36130
|
-
},
|
|
36143
|
+
}, X9 = { class: "references-navigation-list" }, Q9 = { class: "references-editor" }, Z9 = { class: "references-editor-textarea" }, e8 = { class: "references-rendered" }, t8 = {
|
|
36131
36144
|
key: 0,
|
|
36132
36145
|
class: "references-footer"
|
|
36133
|
-
},
|
|
36146
|
+
}, r8 = /* @__PURE__ */ Q({
|
|
36134
36147
|
inheritAttrs: !1,
|
|
36135
36148
|
__name: "ApiReferenceLayout",
|
|
36136
36149
|
props: {
|
|
@@ -36238,11 +36251,11 @@ const PB = /* @__PURE__ */ Q({
|
|
|
36238
36251
|
onScrollPassive: x[4] || (x[4] = //@ts-ignore
|
|
36239
36252
|
(...ae) => $(S) && $(S)(...ae))
|
|
36240
36253
|
}, [
|
|
36241
|
-
F("div",
|
|
36254
|
+
F("div", J9, [
|
|
36242
36255
|
re(w.$slots, "header", cr(ur(_.value)), void 0, !0)
|
|
36243
36256
|
]),
|
|
36244
|
-
w.configuration.showSidebar ? (k(), A("aside",
|
|
36245
|
-
F("div",
|
|
36257
|
+
w.configuration.showSidebar ? (k(), A("aside", Y9, [
|
|
36258
|
+
F("div", X9, [
|
|
36246
36259
|
L($(aw), { parsedSpec: w.parsedSpec }, {
|
|
36247
36260
|
"sidebar-start": N(() => [
|
|
36248
36261
|
re(w.$slots, "sidebar-start", cr(ur(_.value)), void 0, !0)
|
|
@@ -36254,16 +36267,16 @@ const PB = /* @__PURE__ */ Q({
|
|
|
36254
36267
|
}, 8, ["parsedSpec"])
|
|
36255
36268
|
])
|
|
36256
36269
|
])) : K("", !0),
|
|
36257
|
-
Co(F("div",
|
|
36258
|
-
F("div",
|
|
36270
|
+
Co(F("div", Q9, [
|
|
36271
|
+
F("div", Z9, [
|
|
36259
36272
|
re(w.$slots, "editor", cr(ur(_.value)), void 0, !0)
|
|
36260
36273
|
])
|
|
36261
36274
|
], 512), [
|
|
36262
36275
|
[pc, w.configuration.isEditable]
|
|
36263
36276
|
]),
|
|
36264
36277
|
v.value ? (k(), A(Z, { key: 1 }, [
|
|
36265
|
-
F("div",
|
|
36266
|
-
L($(
|
|
36278
|
+
F("div", e8, [
|
|
36279
|
+
L($(D9), {
|
|
36267
36280
|
baseServerURL: w.configuration.baseServerURL,
|
|
36268
36281
|
layout: w.configuration.layout === "classic" ? "accordion" : "default",
|
|
36269
36282
|
parsedSpec: w.parsedSpec
|
|
@@ -36281,7 +36294,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
36281
36294
|
fn: N(() => {
|
|
36282
36295
|
var ae;
|
|
36283
36296
|
return [
|
|
36284
|
-
L(
|
|
36297
|
+
L(G9, {
|
|
36285
36298
|
theme: ((ae = w.configuration) == null ? void 0 : ae.theme) || "default",
|
|
36286
36299
|
onChangeTheme: x[0] || (x[0] = (me) => w.$emit("changeTheme", me)),
|
|
36287
36300
|
onLinkSwaggerFile: x[1] || (x[1] = (me) => w.$emit("linkSwaggerFile")),
|
|
@@ -36294,7 +36307,7 @@ const PB = /* @__PURE__ */ Q({
|
|
|
36294
36307
|
} : void 0
|
|
36295
36308
|
]), 1032, ["baseServerURL", "layout", "parsedSpec"])
|
|
36296
36309
|
]),
|
|
36297
|
-
w.$slots.footer ? (k(), A("div",
|
|
36310
|
+
w.$slots.footer ? (k(), A("div", t8, [
|
|
36298
36311
|
re(w.$slots, "footer", cr(ur(_.value)), void 0, !0)
|
|
36299
36312
|
])) : K("", !0)
|
|
36300
36313
|
], 64)) : K("", !0),
|
|
@@ -36322,39 +36335,39 @@ const PB = /* @__PURE__ */ Q({
|
|
|
36322
36335
|
], 64);
|
|
36323
36336
|
};
|
|
36324
36337
|
}
|
|
36325
|
-
}), $w = /* @__PURE__ */ oe(
|
|
36326
|
-
function
|
|
36327
|
-
return k(), A("div",
|
|
36328
|
-
F("div",
|
|
36338
|
+
}), $w = /* @__PURE__ */ oe(r8, [["__scopeId", "data-v-e661a778"]]), s8 = {}, n8 = { class: "references-classic-header-container" }, o8 = { class: "references-classic-header" };
|
|
36339
|
+
function i8(r, e) {
|
|
36340
|
+
return k(), A("div", n8, [
|
|
36341
|
+
F("div", o8, [
|
|
36329
36342
|
re(r.$slots, "default", {}, void 0, !0),
|
|
36330
36343
|
re(r.$slots, "dark-mode-toggle", {}, void 0, !0)
|
|
36331
36344
|
])
|
|
36332
36345
|
]);
|
|
36333
36346
|
}
|
|
36334
|
-
const
|
|
36347
|
+
const a8 = /* @__PURE__ */ oe(s8, [["render", i8], ["__scopeId", "data-v-a860f78f"]]), l8 = (r) => (Pt("data-v-559a0a79"), r = r(), It(), r), c8 = { class: "darklight-reference" }, u8 = { key: 0 }, d8 = { key: 1 }, h8 = /* @__PURE__ */ l8(() => /* @__PURE__ */ F("a", {
|
|
36335
36348
|
class: "darklight-reference-promo",
|
|
36336
36349
|
href: "https://www.scalar.com",
|
|
36337
36350
|
target: "_blank"
|
|
36338
|
-
}, " Powered by scalar.com ", -1)),
|
|
36351
|
+
}, " Powered by scalar.com ", -1)), f8 = /* @__PURE__ */ Q({
|
|
36339
36352
|
__name: "DarkModeToggle",
|
|
36340
36353
|
props: {
|
|
36341
36354
|
isDarkMode: { type: Boolean }
|
|
36342
36355
|
},
|
|
36343
36356
|
emits: ["toggleDarkMode"],
|
|
36344
36357
|
setup(r) {
|
|
36345
|
-
return (e, t) => (k(), A("div",
|
|
36358
|
+
return (e, t) => (k(), A("div", c8, [
|
|
36346
36359
|
F("button", {
|
|
36347
36360
|
class: "darklight",
|
|
36348
36361
|
type: "button",
|
|
36349
36362
|
onClick: t[0] || (t[0] = (s) => e.$emit("toggleDarkMode"))
|
|
36350
36363
|
}, [
|
|
36351
36364
|
L($(Ze), { icon: "LightDarkModeToggle" }),
|
|
36352
|
-
e.isDarkMode ? (k(), A("span",
|
|
36365
|
+
e.isDarkMode ? (k(), A("span", u8, "Light Mode")) : (k(), A("span", d8, "Dark Mode"))
|
|
36353
36366
|
]),
|
|
36354
|
-
|
|
36367
|
+
h8
|
|
36355
36368
|
]));
|
|
36356
36369
|
}
|
|
36357
|
-
}),
|
|
36370
|
+
}), p8 = /* @__PURE__ */ oe(f8, [["__scopeId", "data-v-559a0a79"]]), m8 = /* @__PURE__ */ Q({
|
|
36358
36371
|
__name: "DarkModeIconToggle",
|
|
36359
36372
|
props: {
|
|
36360
36373
|
isDarkMode: { type: Boolean }
|
|
@@ -36371,25 +36384,25 @@ const i8 = /* @__PURE__ */ oe(r8, [["render", o8], ["__scopeId", "data-v-a860f78
|
|
|
36371
36384
|
}, null, 8, ["icon"]),
|
|
36372
36385
|
L(mw, null, {
|
|
36373
36386
|
default: N(() => [
|
|
36374
|
-
|
|
36387
|
+
J(" Switch to " + ee(e.isDarkMode ? "Light" : "Dark") + " Mode ", 1)
|
|
36375
36388
|
]),
|
|
36376
36389
|
_: 1
|
|
36377
36390
|
})
|
|
36378
36391
|
]));
|
|
36379
36392
|
}
|
|
36380
|
-
}),
|
|
36381
|
-
function
|
|
36393
|
+
}), g8 = /* @__PURE__ */ oe(m8, [["__scopeId", "data-v-8f61ca56"]]);
|
|
36394
|
+
function y8(r, e) {
|
|
36382
36395
|
let t = r;
|
|
36383
36396
|
const s = e.required && e.required.includes(r);
|
|
36384
36397
|
return t += s ? " REQUIRED " : " optional ", e.properties[r] && (t += e.properties[r].type, e.properties[r].description && (t += " " + e.properties[r].description)), t;
|
|
36385
36398
|
}
|
|
36386
|
-
function
|
|
36399
|
+
function b8(r) {
|
|
36387
36400
|
var s;
|
|
36388
36401
|
const e = ["Body"], t = (s = r == null ? void 0 : r.schema) == null ? void 0 : s.properties;
|
|
36389
36402
|
return t && Object.keys(t).forEach((n) => {
|
|
36390
36403
|
if (!r.schema)
|
|
36391
36404
|
return;
|
|
36392
|
-
e.push(
|
|
36405
|
+
e.push(y8(n, r.schema));
|
|
36393
36406
|
const o = t[n];
|
|
36394
36407
|
o.type === "object" && !!o.properties && o.properties && Object.keys(o.properties).forEach((a) => {
|
|
36395
36408
|
var l, c;
|
|
@@ -36397,21 +36410,21 @@ function y8(r) {
|
|
|
36397
36410
|
});
|
|
36398
36411
|
}), e;
|
|
36399
36412
|
}
|
|
36400
|
-
function
|
|
36413
|
+
function v8(r) {
|
|
36401
36414
|
var e, t, s;
|
|
36402
36415
|
try {
|
|
36403
36416
|
const n = (s = (t = (e = r == null ? void 0 : r.information) == null ? void 0 : e.requestBody) == null ? void 0 : t.content) == null ? void 0 : s["application/json"];
|
|
36404
36417
|
if (!n)
|
|
36405
36418
|
throw new Error("Body not found");
|
|
36406
|
-
return
|
|
36419
|
+
return b8(n);
|
|
36407
36420
|
} catch {
|
|
36408
36421
|
return !1;
|
|
36409
36422
|
}
|
|
36410
36423
|
}
|
|
36411
|
-
const
|
|
36424
|
+
const w8 = (r) => (Pt("data-v-3445e6c6"), r = r(), It(), r), k8 = /* @__PURE__ */ w8(() => /* @__PURE__ */ F("div", { class: "ref-search-meta" }, [
|
|
36412
36425
|
/* @__PURE__ */ F("span", null, "↑↓ Navigate"),
|
|
36413
36426
|
/* @__PURE__ */ F("span", null, "⏎ Select")
|
|
36414
|
-
], -1)),
|
|
36427
|
+
], -1)), S8 = /* @__PURE__ */ Q({
|
|
36415
36428
|
__name: "SearchModal",
|
|
36416
36429
|
props: {
|
|
36417
36430
|
parsedSpec: {},
|
|
@@ -36459,7 +36472,7 @@ const v8 = (r) => (Pt("data-v-3445e6c6"), r = r(), It(), r), w8 = /* @__PURE__ *
|
|
|
36459
36472
|
body: ""
|
|
36460
36473
|
});
|
|
36461
36474
|
}), o.value = o.value.concat(T)), (Be = e.parsedSpec.tags) == null || Be.forEach((ve) => {
|
|
36462
|
-
const
|
|
36475
|
+
const Y = {
|
|
36463
36476
|
title: ve["x-displayName"] ?? ve.name,
|
|
36464
36477
|
href: `#${y(ve)}`,
|
|
36465
36478
|
description: ve.description,
|
|
@@ -36467,8 +36480,8 @@ const v8 = (r) => (Pt("data-v-3445e6c6"), r = r(), It(), r), w8 = /* @__PURE__ *
|
|
|
36467
36480
|
tag: ve.name,
|
|
36468
36481
|
body: ""
|
|
36469
36482
|
};
|
|
36470
|
-
o.value.push(
|
|
36471
|
-
const { parameterMap: q } = Sp({ operation: M }), V =
|
|
36483
|
+
o.value.push(Y), ve.operations && ve.operations.forEach((M) => {
|
|
36484
|
+
const { parameterMap: q } = Sp({ operation: M }), V = v8(M) || q.value;
|
|
36472
36485
|
let C = null;
|
|
36473
36486
|
typeof V != "boolean" && (C = V);
|
|
36474
36487
|
const P = {
|
|
@@ -36564,7 +36577,7 @@ const v8 = (r) => (Pt("data-v-3445e6c6"), r = r(), It(), r), w8 = /* @__PURE__ *
|
|
|
36564
36577
|
noResults: !S.value.length
|
|
36565
36578
|
}, {
|
|
36566
36579
|
query: N(() => [
|
|
36567
|
-
|
|
36580
|
+
J(ee(l.value), 1)
|
|
36568
36581
|
]),
|
|
36569
36582
|
default: N(() => [
|
|
36570
36583
|
(k(!0), A(Z, null, Se(S.value, (B, W) => (k(), z($(AE), {
|
|
@@ -36577,20 +36590,20 @@ const v8 = (r) => (Pt("data-v-3445e6c6"), r = r(), It(), r), w8 = /* @__PURE__ *
|
|
|
36577
36590
|
onFocus: (j) => a.value = W
|
|
36578
36591
|
}, aa({
|
|
36579
36592
|
default: N(() => [
|
|
36580
|
-
|
|
36593
|
+
J(ee(B.item.title) + " ", 1)
|
|
36581
36594
|
]),
|
|
36582
36595
|
_: 2
|
|
36583
36596
|
}, [
|
|
36584
36597
|
(B.item.httpVerb || B.item.path) && B.item.path !== B.item.title ? {
|
|
36585
36598
|
name: "description",
|
|
36586
36599
|
fn: N(() => [
|
|
36587
|
-
|
|
36600
|
+
J(ee(B.item.path), 1)
|
|
36588
36601
|
]),
|
|
36589
36602
|
key: "0"
|
|
36590
36603
|
} : B.item.description ? {
|
|
36591
36604
|
name: "description",
|
|
36592
36605
|
fn: N(() => [
|
|
36593
|
-
|
|
36606
|
+
J(ee(B.item.description), 1)
|
|
36594
36607
|
]),
|
|
36595
36608
|
key: "1"
|
|
36596
36609
|
} : void 0,
|
|
@@ -36607,12 +36620,12 @@ const v8 = (r) => (Pt("data-v-3445e6c6"), r = r(), It(), r), w8 = /* @__PURE__ *
|
|
|
36607
36620
|
]),
|
|
36608
36621
|
_: 1
|
|
36609
36622
|
}, 8, ["noResults"]),
|
|
36610
|
-
|
|
36623
|
+
k8
|
|
36611
36624
|
]),
|
|
36612
36625
|
_: 1
|
|
36613
36626
|
}, 8, ["state"]));
|
|
36614
36627
|
}
|
|
36615
|
-
}),
|
|
36628
|
+
}), $8 = /* @__PURE__ */ oe(S8, [["__scopeId", "data-v-3445e6c6"]]), _8 = (r) => (Pt("data-v-edb0a931"), r = r(), It(), r), x8 = { class: "sidebar-search-input" }, C8 = /* @__PURE__ */ _8(() => /* @__PURE__ */ F("span", { class: "sidebar-search-placeholder" }, "Search", -1)), E8 = { class: "sidebar-search-shortcut" }, A8 = { class: "sidebar-search-key" }, O8 = /* @__PURE__ */ Q({
|
|
36616
36629
|
__name: "SearchButton",
|
|
36617
36630
|
props: {
|
|
36618
36631
|
spec: {},
|
|
@@ -36640,20 +36653,20 @@ const v8 = (r) => (Pt("data-v-3445e6c6"), r = r(), It(), r), w8 = /* @__PURE__ *
|
|
|
36640
36653
|
icon: "Search",
|
|
36641
36654
|
size: "sm"
|
|
36642
36655
|
}),
|
|
36643
|
-
F("div",
|
|
36644
|
-
|
|
36645
|
-
F("span",
|
|
36646
|
-
F("span",
|
|
36656
|
+
F("div", x8, [
|
|
36657
|
+
C8,
|
|
36658
|
+
F("span", E8, [
|
|
36659
|
+
F("span", A8, ee($(Tu)() ? "⌘" : "⌃") + ee(n.searchHotKey), 1)
|
|
36647
36660
|
])
|
|
36648
36661
|
])
|
|
36649
36662
|
], 2),
|
|
36650
|
-
L(
|
|
36663
|
+
L($8, {
|
|
36651
36664
|
modalState: $(t),
|
|
36652
36665
|
parsedSpec: n.spec
|
|
36653
36666
|
}, null, 8, ["modalState", "parsedSpec"])
|
|
36654
36667
|
], 64));
|
|
36655
36668
|
}
|
|
36656
|
-
}), _w = /* @__PURE__ */ oe(
|
|
36669
|
+
}), _w = /* @__PURE__ */ oe(O8, [["__scopeId", "data-v-edb0a931"]]), T8 = /* @__PURE__ */ Q({
|
|
36657
36670
|
__name: "ClassicLayout",
|
|
36658
36671
|
props: {
|
|
36659
36672
|
configuration: {},
|
|
@@ -36670,9 +36683,9 @@ const v8 = (r) => (Pt("data-v-3445e6c6"), r = r(), It(), r), w8 = /* @__PURE__ *
|
|
|
36670
36683
|
rawSpec: s.rawSpec
|
|
36671
36684
|
}, {
|
|
36672
36685
|
"content-start": N(({ spec: o }) => [
|
|
36673
|
-
L(
|
|
36686
|
+
L(a8, null, {
|
|
36674
36687
|
"dark-mode-toggle": N(() => [
|
|
36675
|
-
L($(
|
|
36688
|
+
L($(g8), {
|
|
36676
36689
|
isDarkMode: s.isDark,
|
|
36677
36690
|
onToggleDarkMode: n[0] || (n[0] = (i) => s.$emit("toggleDarkMode"))
|
|
36678
36691
|
}, null, 8, ["isDarkMode"])
|
|
@@ -36693,7 +36706,7 @@ const v8 = (r) => (Pt("data-v-3445e6c6"), r = r(), It(), r), w8 = /* @__PURE__ *
|
|
|
36693
36706
|
_: 3
|
|
36694
36707
|
}, 8, ["configuration", "parsedSpec", "rawSpec"]));
|
|
36695
36708
|
}
|
|
36696
|
-
}),
|
|
36709
|
+
}), P8 = { class: "references-mobile-header t-doc__header" }, I8 = { class: "references-mobile-breadcrumbs" }, N8 = { class: "references-mobile-header-actions" }, M8 = /* @__PURE__ */ Q({
|
|
36697
36710
|
__name: "MobileHeader",
|
|
36698
36711
|
props: {
|
|
36699
36712
|
open: { type: Boolean }
|
|
@@ -36701,20 +36714,20 @@ const v8 = (r) => (Pt("data-v-3445e6c6"), r = r(), It(), r), w8 = /* @__PURE__ *
|
|
|
36701
36714
|
emits: ["update:open"],
|
|
36702
36715
|
setup(r) {
|
|
36703
36716
|
const { breadcrumb: e } = xr();
|
|
36704
|
-
return (t, s) => (k(), A("div",
|
|
36717
|
+
return (t, s) => (k(), A("div", P8, [
|
|
36705
36718
|
L($(ma), {
|
|
36706
36719
|
icon: t.open ? "Close" : "Menu",
|
|
36707
36720
|
label: t.open ? "Close Menu" : "Open Menu",
|
|
36708
36721
|
size: "md",
|
|
36709
36722
|
onClick: s[0] || (s[0] = (n) => t.$emit("update:open", !t.open))
|
|
36710
36723
|
}, null, 8, ["icon", "label"]),
|
|
36711
|
-
F("span",
|
|
36712
|
-
F("div",
|
|
36724
|
+
F("span", I8, ee($(e)), 1),
|
|
36725
|
+
F("div", N8, [
|
|
36713
36726
|
re(t.$slots, "actions", {}, void 0, !0)
|
|
36714
36727
|
])
|
|
36715
36728
|
]));
|
|
36716
36729
|
}
|
|
36717
|
-
}),
|
|
36730
|
+
}), D8 = /* @__PURE__ */ oe(M8, [["__scopeId", "data-v-0242e3de"]]), R8 = { class: "scalar-api-references-standalone-search" }, L8 = /* @__PURE__ */ Q({
|
|
36718
36731
|
__name: "ModernLayout",
|
|
36719
36732
|
props: {
|
|
36720
36733
|
configuration: {},
|
|
@@ -36740,7 +36753,7 @@ const v8 = (r) => (Pt("data-v-3445e6c6"), r = r(), It(), r), w8 = /* @__PURE__ *
|
|
|
36740
36753
|
rawSpec: o.rawSpec
|
|
36741
36754
|
}, {
|
|
36742
36755
|
header: N(() => [
|
|
36743
|
-
e.configuration.showSidebar ? (k(), z(
|
|
36756
|
+
e.configuration.showSidebar ? (k(), z(D8, {
|
|
36744
36757
|
key: 0,
|
|
36745
36758
|
open: $(s),
|
|
36746
36759
|
"onUpdate:open": i[0] || (i[0] = (a) => Ww(s) ? s.value = a : null)
|
|
@@ -36749,7 +36762,7 @@ const v8 = (r) => (Pt("data-v-3445e6c6"), r = r(), It(), r), w8 = /* @__PURE__ *
|
|
|
36749
36762
|
"sidebar-start": N(({ spec: a }) => {
|
|
36750
36763
|
var l;
|
|
36751
36764
|
return [
|
|
36752
|
-
F("div",
|
|
36765
|
+
F("div", R8, [
|
|
36753
36766
|
L(_w, {
|
|
36754
36767
|
searchHotKey: (l = e.configuration) == null ? void 0 : l.searchHotKey,
|
|
36755
36768
|
spec: a
|
|
@@ -36758,7 +36771,7 @@ const v8 = (r) => (Pt("data-v-3445e6c6"), r = r(), It(), r), w8 = /* @__PURE__ *
|
|
|
36758
36771
|
];
|
|
36759
36772
|
}),
|
|
36760
36773
|
"sidebar-end": N(() => [
|
|
36761
|
-
L($(
|
|
36774
|
+
L($(p8), {
|
|
36762
36775
|
isDarkMode: o.isDark,
|
|
36763
36776
|
onToggleDarkMode: i[1] || (i[1] = (a) => o.$emit("toggleDarkMode"))
|
|
36764
36777
|
}, null, 8, ["isDarkMode"])
|
|
@@ -36769,10 +36782,10 @@ const v8 = (r) => (Pt("data-v-3445e6c6"), r = r(), It(), r), w8 = /* @__PURE__ *
|
|
|
36769
36782
|
_: 3
|
|
36770
36783
|
}, 8, ["class", "configuration", "parsedSpec", "rawSpec"]));
|
|
36771
36784
|
}
|
|
36772
|
-
}),
|
|
36773
|
-
modern:
|
|
36774
|
-
classic:
|
|
36775
|
-
},
|
|
36785
|
+
}), j8 = /* @__PURE__ */ oe(L8, [["__scopeId", "data-v-333fecad"]]), B8 = {
|
|
36786
|
+
modern: j8,
|
|
36787
|
+
classic: T8
|
|
36788
|
+
}, V8 = /* @__PURE__ */ Q({
|
|
36776
36789
|
__name: "ApiReference",
|
|
36777
36790
|
props: {
|
|
36778
36791
|
configuration: {}
|
|
@@ -36846,11 +36859,11 @@ const v8 = (r) => (Pt("data-v-3445e6c6"), r = r(), It(), r), w8 = /* @__PURE__ *
|
|
|
36846
36859
|
return k(), A(Z, null, [
|
|
36847
36860
|
(g = o.value) != null && g.customCss ? (k(), z(br("style"), { key: 0 }, {
|
|
36848
36861
|
default: N(() => [
|
|
36849
|
-
|
|
36862
|
+
J(ee(o.value.customCss), 1)
|
|
36850
36863
|
]),
|
|
36851
36864
|
_: 1
|
|
36852
36865
|
})) : K("", !0),
|
|
36853
|
-
(k(), z(br($(
|
|
36866
|
+
(k(), z(br($(B8)[((m = o.value) == null ? void 0 : m.layout) || "modern"]), {
|
|
36854
36867
|
configuration: o.value,
|
|
36855
36868
|
isDark: $(s),
|
|
36856
36869
|
parsedSpec: $(c),
|
|
@@ -36867,8 +36880,8 @@ const v8 = (r) => (Pt("data-v-3445e6c6"), r = r(), It(), r), w8 = /* @__PURE__ *
|
|
|
36867
36880
|
};
|
|
36868
36881
|
}
|
|
36869
36882
|
});
|
|
36870
|
-
function
|
|
36871
|
-
const s = $r(e), n = Gw(
|
|
36883
|
+
function M6(r, e, t = !0) {
|
|
36884
|
+
const s = $r(e), n = Gw(V8, { configuration: s });
|
|
36872
36885
|
function o(i = r) {
|
|
36873
36886
|
if (!i) {
|
|
36874
36887
|
console.warn(
|
|
@@ -36887,7 +36900,9 @@ function N6(r, e, t = !0) {
|
|
|
36887
36900
|
s.spec = i;
|
|
36888
36901
|
},
|
|
36889
36902
|
/** Mount the references to a given element */
|
|
36890
|
-
mount: o
|
|
36903
|
+
mount: o,
|
|
36904
|
+
/** Unmount the app from an element */
|
|
36905
|
+
unmount: () => n.unmount()
|
|
36891
36906
|
};
|
|
36892
36907
|
}
|
|
36893
36908
|
export {
|
|
@@ -36898,51 +36913,51 @@ export {
|
|
|
36898
36913
|
ct as D,
|
|
36899
36914
|
Ae as E,
|
|
36900
36915
|
pe as F,
|
|
36901
|
-
|
|
36902
|
-
|
|
36916
|
+
w6 as G,
|
|
36917
|
+
S6 as H,
|
|
36903
36918
|
Xe as I,
|
|
36904
|
-
|
|
36905
|
-
|
|
36906
|
-
|
|
36919
|
+
$6 as J,
|
|
36920
|
+
p6 as K,
|
|
36921
|
+
y6 as L,
|
|
36907
36922
|
zt as M,
|
|
36908
36923
|
pb as N,
|
|
36909
|
-
|
|
36924
|
+
m6 as O,
|
|
36910
36925
|
Hh as P,
|
|
36911
|
-
|
|
36926
|
+
v6 as Q,
|
|
36912
36927
|
po as R,
|
|
36913
36928
|
zs as S,
|
|
36914
36929
|
Le as T,
|
|
36915
|
-
|
|
36930
|
+
b6 as U,
|
|
36916
36931
|
wr as V,
|
|
36917
36932
|
ua as W,
|
|
36918
36933
|
U_ as X,
|
|
36919
36934
|
K_ as Y,
|
|
36920
36935
|
gx as Z,
|
|
36921
|
-
|
|
36936
|
+
d6 as _,
|
|
36922
36937
|
Oi as a,
|
|
36923
36938
|
Vr as a$,
|
|
36924
|
-
|
|
36925
|
-
|
|
36926
|
-
|
|
36927
|
-
|
|
36928
|
-
|
|
36929
|
-
|
|
36939
|
+
C6 as a0,
|
|
36940
|
+
k6 as a1,
|
|
36941
|
+
x6 as a2,
|
|
36942
|
+
f6 as a3,
|
|
36943
|
+
E6 as a4,
|
|
36944
|
+
_6 as a5,
|
|
36930
36945
|
oe as a6,
|
|
36931
36946
|
Jp as a7,
|
|
36932
36947
|
Tb as a8,
|
|
36933
36948
|
OS as a9,
|
|
36934
36949
|
gL as aA,
|
|
36935
|
-
|
|
36950
|
+
V8 as aB,
|
|
36936
36951
|
$w as aC,
|
|
36937
|
-
|
|
36938
|
-
|
|
36939
|
-
|
|
36952
|
+
j8 as aD,
|
|
36953
|
+
D9 as aE,
|
|
36954
|
+
$8 as aF,
|
|
36940
36955
|
_w as aG,
|
|
36941
|
-
|
|
36942
|
-
|
|
36956
|
+
G9 as aH,
|
|
36957
|
+
M6 as aI,
|
|
36943
36958
|
H3 as aJ,
|
|
36944
|
-
|
|
36945
|
-
|
|
36959
|
+
p8 as aK,
|
|
36960
|
+
g8 as aL,
|
|
36946
36961
|
aw as aM,
|
|
36947
36962
|
au as aN,
|
|
36948
36963
|
lu as aO,
|
|
@@ -36964,7 +36979,7 @@ export {
|
|
|
36964
36979
|
Tu as ad,
|
|
36965
36980
|
Cx as ae,
|
|
36966
36981
|
xx as af,
|
|
36967
|
-
|
|
36982
|
+
A6 as ag,
|
|
36968
36983
|
XE as ah,
|
|
36969
36984
|
zE as ai,
|
|
36970
36985
|
xg as aj,
|
|
@@ -36986,13 +37001,13 @@ export {
|
|
|
36986
37001
|
QS as az,
|
|
36987
37002
|
de as b,
|
|
36988
37003
|
Wd as b0,
|
|
36989
|
-
|
|
37004
|
+
T6 as b1,
|
|
36990
37005
|
tv as b2,
|
|
36991
37006
|
tA as b3,
|
|
36992
37007
|
rA as b4,
|
|
36993
37008
|
sA as b5,
|
|
36994
|
-
|
|
36995
|
-
|
|
37009
|
+
P6 as b6,
|
|
37010
|
+
I6 as b7,
|
|
36996
37011
|
rv as b8,
|
|
36997
37012
|
Jd as b9,
|
|
36998
37013
|
kR as ba,
|
|
@@ -37008,9 +37023,9 @@ export {
|
|
|
37008
37023
|
Kh as d,
|
|
37009
37024
|
p_ as e,
|
|
37010
37025
|
pt as f,
|
|
37011
|
-
|
|
37026
|
+
h6 as g,
|
|
37012
37027
|
Re as h,
|
|
37013
|
-
|
|
37028
|
+
c6 as i,
|
|
37014
37029
|
$t as j,
|
|
37015
37030
|
J$ as k,
|
|
37016
37031
|
Is as l,
|