@scalar/api-reference 1.22.30 → 1.22.31
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 +9 -0
- package/dist/browser/standalone.js +7 -7
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/{index-DejRnc4C.js → index-B9rrkLvw.js} +5 -4
- package/dist/{index-UE6WDCKA.cjs → index-BAwoyEYl.cjs} +1 -1
- package/dist/index-BJPlJ957.cjs +44 -0
- package/dist/{index-BmvyyrxG.js → index-CTShetQu.js} +564 -560
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/package.json +5 -5
- package/dist/index-BX2PkAJV.cjs +0 -44
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
var yr = Object.defineProperty;
|
|
2
2
|
var vr = (t, e, a) => e in t ? yr(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a;
|
|
3
|
-
var
|
|
4
|
-
import { ref as F, watch as Se, onBeforeUnmount as wr, toValue as q, computed as x, defineComponent as w, toRef as ce, openBlock as Q, createElementBlock as P, normalizeClass as J, unref as m, createElementVNode as u, toDisplayString as X, createTextVNode as U, Fragment as j, renderList as fe, createBlock as v, createStaticVNode as
|
|
5
|
-
import { Disclosure as _r, DisclosureButton as Wr, DisclosurePanel as Yr, TabGroup as Rr, TabList as qr, Tab as
|
|
6
|
-
import { E as N, c as oe, a as L, b as C, C as
|
|
7
|
-
import { av as
|
|
8
|
-
import { useMagicKeys as
|
|
3
|
+
var ca = (t, e, a) => (vr(t, typeof e != "symbol" ? e + "" : e, a), a);
|
|
4
|
+
import { ref as F, watch as Se, onBeforeUnmount as wr, toValue as q, computed as x, defineComponent as w, toRef as ce, openBlock as Q, createElementBlock as P, normalizeClass as J, unref as m, createElementVNode as u, toDisplayString as X, createTextVNode as U, Fragment as j, renderList as fe, createBlock as v, createStaticVNode as Nt, createCommentVNode as M, createVNode as Z, withCtx as b, pushScopeId as ut, popScopeId as ht, renderSlot as E, withDirectives as pe, vModelText as Me, vModelCheckbox as kr, vShow as sO, normalizeStyle as Tr, toRaw as Xr, withKeys as xr } from "vue";
|
|
5
|
+
import { Disclosure as _r, DisclosureButton as Wr, DisclosurePanel as Yr, TabGroup as Rr, TabList as qr, Tab as da, TabPanels as Cr, TabPanel as pa } from "@headlessui/vue";
|
|
6
|
+
import { E as N, c as oe, a as L, b as C, C as Wt, s as Oe, P as iO, k as et, F as oO, d as Ur, S as Mt, e as jr, g as nO, V as zr, l as Yt, f as re, M as Rt, R as Vr, h as Gr, i as lO, D as Ar, A as Er, T as Hr, j as Br, m as cO, n as ft, W as Ir, o as Dr, p as Nr, q as Mr, r as Lr, N as Fr, t as Jr, u as Kr, v as Lt, w as Le, I as Ft, x as Ue, y as p, L as je, z as ze, B as Ve, G as $e, H as Ge, J as mt, K as dO, O as es, Q as ts, U as qt, X as pO, Y as as, Z as Os, _ as rs, $ as ss, a0 as is, a1 as os, a2 as ns, a3 as ls, a4 as cs, a5 as ds, a6 as R, a7 as ps, a8 as uO, a9 as Ct, aa as Jt, ab as hO, ac as K, ad as us, ae as hs, af as fs, ag as fO, ah as ms, ai as Qs, aj as gs, ak as ua, al as Ss, am as Ps, an as $s, ao as bs } from "./index-B9rrkLvw.js";
|
|
7
|
+
import { av as fp, aw as mp, ap as Qp, aq as gp, ar as Sp, as as Pp, at as $p, az as bp, ay as Zp, au as yp, ax as vp } from "./index-B9rrkLvw.js";
|
|
8
|
+
import { useMagicKeys as mO, whenever as Ut, useMediaQuery as Zs } from "@vueuse/core";
|
|
9
9
|
import ys from "axios";
|
|
10
10
|
const vs = [
|
|
11
11
|
{
|
|
@@ -830,7 +830,7 @@ class QO {
|
|
|
830
830
|
e == "abort" && this.abortListeners && this.abortListeners.push(a);
|
|
831
831
|
}
|
|
832
832
|
}
|
|
833
|
-
function
|
|
833
|
+
function ha(t) {
|
|
834
834
|
let e = Object.keys(t).join(""), a = /\w/.test(e);
|
|
835
835
|
return a && (e = e.replace(/\w/g, "")), `[${a ? "\\w" : ""}${e.replace(/[^\w\s]/g, "\\$&")}]`;
|
|
836
836
|
}
|
|
@@ -841,7 +841,7 @@ function ks(t) {
|
|
|
841
841
|
for (let i = 1; i < r.length; i++)
|
|
842
842
|
a[r[i]] = !0;
|
|
843
843
|
}
|
|
844
|
-
let O =
|
|
844
|
+
let O = ha(e) + ha(a) + "*$";
|
|
845
845
|
return [new RegExp("^" + O), new RegExp(O)];
|
|
846
846
|
}
|
|
847
847
|
function gO(t) {
|
|
@@ -862,7 +862,7 @@ function Ts(t, e) {
|
|
|
862
862
|
return e(a);
|
|
863
863
|
};
|
|
864
864
|
}
|
|
865
|
-
class
|
|
865
|
+
class fa {
|
|
866
866
|
constructor(e, a, O, r) {
|
|
867
867
|
this.completion = e, this.source = a, this.match = O, this.score = r;
|
|
868
868
|
}
|
|
@@ -883,14 +883,14 @@ function Xs(t, e, a, O) {
|
|
|
883
883
|
range: C.cursor(o.from + i + e.length)
|
|
884
884
|
})), { scrollIntoView: !0, userEvent: "input.complete" });
|
|
885
885
|
}
|
|
886
|
-
const
|
|
886
|
+
const ma = /* @__PURE__ */ new WeakMap();
|
|
887
887
|
function xs(t) {
|
|
888
888
|
if (!Array.isArray(t))
|
|
889
889
|
return t;
|
|
890
|
-
let e =
|
|
891
|
-
return e ||
|
|
890
|
+
let e = ma.get(t);
|
|
891
|
+
return e || ma.set(t, e = gO(t)), e;
|
|
892
892
|
}
|
|
893
|
-
const
|
|
893
|
+
const tt = /* @__PURE__ */ re.define(), We = /* @__PURE__ */ re.define();
|
|
894
894
|
class _s {
|
|
895
895
|
constructor(e) {
|
|
896
896
|
this.pattern = e, this.chars = [], this.folded = [], this.any = [], this.precise = [], this.byWord = [], this.score = 0, this.matched = [];
|
|
@@ -943,7 +943,7 @@ class _s {
|
|
|
943
943
|
for (let $ = 0, k = Math.min(e.length, 200), H = 0; $ < k && d < n; ) {
|
|
944
944
|
let T = L(e, $);
|
|
945
945
|
o < 0 && (c < n && T == a[c] && (i[c++] = $), f < n && (T == a[f] || T == O[f] ? (f == 0 && (g = $), y = $ + 1, f++) : f = 0));
|
|
946
|
-
let V, me = T < 255 ? T >= 48 && T <= 57 || T >= 97 && T <= 122 ? 2 : T >= 65 && T <= 90 ? 1 : 0 : (V =
|
|
946
|
+
let V, me = T < 255 ? T >= 48 && T <= 57 || T >= 97 && T <= 122 ? 2 : T >= 65 && T <= 90 ? 1 : 0 : (V = lO(T)) != V.toLowerCase() ? 1 : V != V.toUpperCase() ? 2 : 0;
|
|
947
947
|
(!$ || me == 1 && _ || H == 0 && me != 0) && (a[d] == T || O[d] == T && (h = !0) ? s[d++] = $ : s.length && (W = !1)), H = me, $ += oe(T);
|
|
948
948
|
}
|
|
949
949
|
return d == n && s[0] == 0 && W ? this.result(-100 + (h ? -200 : 0), s, e) : f == n && g == 0 ? this.ret(-200 - e.length + (y == e.length ? 0 : -100), [0, y]) : o > -1 ? this.ret(-700 - e.length, [o, o + this.pattern.length]) : f == n ? this.ret(-900 - e.length, [g, y]) : d == n ? this.result(-100 + (h ? -200 : 0) + -700 + (W ? 0 : -1100), s, e) : a.length == 2 ? !1 : this.result((r[0] ? -700 : 0) + -200 + -1100, r, e);
|
|
@@ -957,7 +957,7 @@ class _s {
|
|
|
957
957
|
return this.ret(e - O.length, r);
|
|
958
958
|
}
|
|
959
959
|
}
|
|
960
|
-
const Y = /* @__PURE__ */
|
|
960
|
+
const Y = /* @__PURE__ */ oO.define({
|
|
961
961
|
combine(t) {
|
|
962
962
|
return Ur(t, {
|
|
963
963
|
activateOnTyping: !0,
|
|
@@ -980,13 +980,13 @@ const Y = /* @__PURE__ */ iO.define({
|
|
|
980
980
|
defaultKeymap: (e, a) => e && a,
|
|
981
981
|
closeOnBlur: (e, a) => e && a,
|
|
982
982
|
icons: (e, a) => e && a,
|
|
983
|
-
tooltipClass: (e, a) => (O) =>
|
|
984
|
-
optionClass: (e, a) => (O) =>
|
|
983
|
+
tooltipClass: (e, a) => (O) => Qa(e(O), a(O)),
|
|
984
|
+
optionClass: (e, a) => (O) => Qa(e(O), a(O)),
|
|
985
985
|
addToOptions: (e, a) => e.concat(a)
|
|
986
986
|
});
|
|
987
987
|
}
|
|
988
988
|
});
|
|
989
|
-
function
|
|
989
|
+
function Qa(t, e) {
|
|
990
990
|
return t ? e ? t + " " + e : t : e;
|
|
991
991
|
}
|
|
992
992
|
function Ws(t, e, a, O, r, i) {
|
|
@@ -1040,7 +1040,7 @@ function Ys(t) {
|
|
|
1040
1040
|
position: 80
|
|
1041
1041
|
}), e.sort((a, O) => a.position - O.position).map((a) => a.render);
|
|
1042
1042
|
}
|
|
1043
|
-
function
|
|
1043
|
+
function St(t, e, a) {
|
|
1044
1044
|
if (t <= a)
|
|
1045
1045
|
return { from: 0, to: t };
|
|
1046
1046
|
if (e < 0 && (e = 0), e <= t >> 1) {
|
|
@@ -1058,7 +1058,7 @@ class Rs {
|
|
|
1058
1058
|
key: this
|
|
1059
1059
|
}, this.space = null, this.currentClass = "";
|
|
1060
1060
|
let r = e.state.field(a), { options: i, selected: s } = r.open, o = e.state.facet(Y);
|
|
1061
|
-
this.optionContent = Ys(o), this.optionClass = o.optionClass, this.tooltipClass = o.tooltipClass, this.range =
|
|
1061
|
+
this.optionContent = Ys(o), this.optionClass = o.optionClass, this.tooltipClass = o.tooltipClass, this.range = St(i.length, s, o.maxRenderedOptions), this.dom = document.createElement("div"), this.dom.className = "cm-tooltip-autocomplete", this.updateTooltipClass(e.state), this.dom.addEventListener("mousedown", (n) => {
|
|
1062
1062
|
let { options: l } = e.state.field(a).open;
|
|
1063
1063
|
for (let c = n.target, d; c && c != this.dom; c = c.parentNode)
|
|
1064
1064
|
if (c.nodeName == "LI" && (d = /-(\d+)$/.exec(c.id)) && +d[1] < l.length) {
|
|
@@ -1083,7 +1083,7 @@ class Rs {
|
|
|
1083
1083
|
let O = e.state.field(this.stateField), r = e.startState.field(this.stateField);
|
|
1084
1084
|
if (this.updateTooltipClass(e.state), O != r) {
|
|
1085
1085
|
let { options: i, selected: s, disabled: o } = O.open;
|
|
1086
|
-
(!r.open || r.open.options != i) && (this.range =
|
|
1086
|
+
(!r.open || r.open.options != i) && (this.range = St(i.length, s, e.state.facet(Y).maxRenderedOptions), this.showOptions(i, O.id)), this.updateSel(), o != ((a = r.open) === null || a === void 0 ? void 0 : a.disabled) && this.dom.classList.toggle("cm-tooltip-autocomplete-disabled", !!o);
|
|
1087
1087
|
}
|
|
1088
1088
|
}
|
|
1089
1089
|
updateTooltipClass(e) {
|
|
@@ -1101,7 +1101,7 @@ class Rs {
|
|
|
1101
1101
|
}
|
|
1102
1102
|
updateSel() {
|
|
1103
1103
|
let e = this.view.state.field(this.stateField), a = e.open;
|
|
1104
|
-
if ((a.selected > -1 && a.selected < this.range.from || a.selected >= this.range.to) && (this.range =
|
|
1104
|
+
if ((a.selected > -1 && a.selected < this.range.from || a.selected >= this.range.to) && (this.range = St(a.options.length, a.selected, this.view.state.facet(Y).maxRenderedOptions), this.showOptions(a.options, e.id)), this.updateSelectedOption(a.selected)) {
|
|
1105
1105
|
this.destroyInfo();
|
|
1106
1106
|
let { completion: O } = a.options[a.selected], { info: r } = O;
|
|
1107
1107
|
if (!r)
|
|
@@ -1111,7 +1111,7 @@ class Rs {
|
|
|
1111
1111
|
return;
|
|
1112
1112
|
"then" in i ? i.then((s) => {
|
|
1113
1113
|
s && this.view.state.field(this.stateField, !1) == e && this.addInfoPane(s, O);
|
|
1114
|
-
}).catch((s) =>
|
|
1114
|
+
}).catch((s) => Yt(this.view.state, s, "completion info")) : this.addInfoPane(i, O);
|
|
1115
1115
|
}
|
|
1116
1116
|
}
|
|
1117
1117
|
addInfoPane(e, a) {
|
|
@@ -1186,7 +1186,7 @@ function Cs(t, e) {
|
|
|
1186
1186
|
let a = t.getBoundingClientRect(), O = e.getBoundingClientRect(), r = a.height / t.offsetHeight;
|
|
1187
1187
|
O.top < a.top ? t.scrollTop -= (a.top - O.top) / r : O.bottom > a.bottom && (t.scrollTop += (O.bottom - a.bottom) / r);
|
|
1188
1188
|
}
|
|
1189
|
-
function
|
|
1189
|
+
function ga(t) {
|
|
1190
1190
|
return (t.boost || 0) * 100 + (t.apply ? 10 : 0) + (t.info ? 5 : 0) + (t.type ? 1 : 0);
|
|
1191
1191
|
}
|
|
1192
1192
|
function Us(t, e) {
|
|
@@ -1204,13 +1204,13 @@ function Us(t, e) {
|
|
|
1204
1204
|
let l = n.result.getMatch;
|
|
1205
1205
|
if (n.result.filter === !1)
|
|
1206
1206
|
for (let c of n.result.options)
|
|
1207
|
-
r(new
|
|
1207
|
+
r(new fa(c, n.source, l ? l(c) : [], 1e9 - a.length));
|
|
1208
1208
|
else {
|
|
1209
1209
|
let c = new _s(e.sliceDoc(n.from, n.to));
|
|
1210
1210
|
for (let d of n.result.options)
|
|
1211
1211
|
if (c.match(d.label)) {
|
|
1212
1212
|
let h = d.displayLabel ? l ? l(d, c.matched) : [] : c.matched;
|
|
1213
|
-
r(new
|
|
1213
|
+
r(new fa(d, n.source, h, c.score + (d.boost || 0)));
|
|
1214
1214
|
}
|
|
1215
1215
|
}
|
|
1216
1216
|
}
|
|
@@ -1229,7 +1229,7 @@ function Us(t, e) {
|
|
|
1229
1229
|
let i = [], s = null, o = e.facet(Y).compareCompletions;
|
|
1230
1230
|
for (let n of a.sort((l, c) => c.score - l.score || o(l.completion, c.completion))) {
|
|
1231
1231
|
let l = n.completion;
|
|
1232
|
-
!s || s.label != l.label || s.detail != l.detail || s.type != null && l.type != null && s.type != l.type || s.apply != l.apply || s.boost != l.boost ? i.push(n) :
|
|
1232
|
+
!s || s.label != l.label || s.detail != l.detail || s.type != null && l.type != null && s.type != l.type || s.apply != l.apply || s.boost != l.boost ? i.push(n) : ga(n.completion) > ga(s) && (i[i.length - 1] = n), s = n.completion;
|
|
1233
1233
|
}
|
|
1234
1234
|
return i;
|
|
1235
1235
|
}
|
|
@@ -1238,7 +1238,7 @@ class Pe {
|
|
|
1238
1238
|
this.options = e, this.attrs = a, this.tooltip = O, this.timestamp = r, this.selected = i, this.disabled = s;
|
|
1239
1239
|
}
|
|
1240
1240
|
setSelected(e, a) {
|
|
1241
|
-
return e == this.selected || e >= this.options.length ? this : new Pe(this.options,
|
|
1241
|
+
return e == this.selected || e >= this.options.length ? this : new Pe(this.options, Sa(a, e), this.tooltip, this.timestamp, e, this.disabled);
|
|
1242
1242
|
}
|
|
1243
1243
|
static build(e, a, O, r, i) {
|
|
1244
1244
|
let s = Us(e, a);
|
|
@@ -1256,7 +1256,7 @@ class Pe {
|
|
|
1256
1256
|
break;
|
|
1257
1257
|
}
|
|
1258
1258
|
}
|
|
1259
|
-
return new Pe(s,
|
|
1259
|
+
return new Pe(s, Sa(O, o), {
|
|
1260
1260
|
pos: e.reduce((n, l) => l.hasResult() ? Math.min(n, l.from) : n, 1e8),
|
|
1261
1261
|
create: As,
|
|
1262
1262
|
above: i.aboveCursor
|
|
@@ -1266,12 +1266,12 @@ class Pe {
|
|
|
1266
1266
|
return new Pe(this.options, this.attrs, Object.assign(Object.assign({}, this.tooltip), { pos: e.mapPos(this.tooltip.pos) }), this.timestamp, this.selected, this.disabled);
|
|
1267
1267
|
}
|
|
1268
1268
|
}
|
|
1269
|
-
class
|
|
1269
|
+
class at {
|
|
1270
1270
|
constructor(e, a, O) {
|
|
1271
1271
|
this.active = e, this.id = a, this.open = O;
|
|
1272
1272
|
}
|
|
1273
1273
|
static start() {
|
|
1274
|
-
return new
|
|
1274
|
+
return new at(Vs, "cm-ac-" + Math.floor(Math.random() * 2e6).toString(36), null);
|
|
1275
1275
|
}
|
|
1276
1276
|
update(e) {
|
|
1277
1277
|
let { state: a } = e, O = a.facet(Y), i = (O.override || a.languageDataAt("autocomplete", ne(a)).map(xs)).map((o) => (this.active.find((l) => l.source == o) || new A(
|
|
@@ -1297,7 +1297,7 @@ class tt {
|
|
|
1297
1297
|
) : o));
|
|
1298
1298
|
for (let o of e.effects)
|
|
1299
1299
|
o.is(bO) && (s = s && s.setSelected(o.value, this.id));
|
|
1300
|
-
return i == this.active && s == this.open ? this : new
|
|
1300
|
+
return i == this.active && s == this.open ? this : new at(i, this.id, s);
|
|
1301
1301
|
}
|
|
1302
1302
|
get tooltip() {
|
|
1303
1303
|
return this.open ? this.open.tooltip : null;
|
|
@@ -1324,7 +1324,7 @@ function js(t, e) {
|
|
|
1324
1324
|
const zs = {
|
|
1325
1325
|
"aria-autocomplete": "list"
|
|
1326
1326
|
};
|
|
1327
|
-
function
|
|
1327
|
+
function Sa(t, e) {
|
|
1328
1328
|
let a = {
|
|
1329
1329
|
"aria-autocomplete": "list",
|
|
1330
1330
|
"aria-haspopup": "listbox",
|
|
@@ -1333,7 +1333,7 @@ function ga(t, e) {
|
|
|
1333
1333
|
return e > -1 && (a["aria-activedescendant"] = t + "-" + e), a;
|
|
1334
1334
|
}
|
|
1335
1335
|
const Vs = [];
|
|
1336
|
-
function
|
|
1336
|
+
function jt(t) {
|
|
1337
1337
|
return t.isUserEvent("input.type") ? "input" : t.isUserEvent("delete.backward") ? "delete" : null;
|
|
1338
1338
|
}
|
|
1339
1339
|
class A {
|
|
@@ -1344,14 +1344,14 @@ class A {
|
|
|
1344
1344
|
return !1;
|
|
1345
1345
|
}
|
|
1346
1346
|
update(e, a) {
|
|
1347
|
-
let O =
|
|
1347
|
+
let O = jt(e), r = this;
|
|
1348
1348
|
O ? r = r.handleUserEvent(e, O, a) : e.docChanged ? r = r.handleChange(e) : e.selection && r.state != 0 && (r = new A(
|
|
1349
1349
|
r.source,
|
|
1350
1350
|
0
|
|
1351
1351
|
/* State.Inactive */
|
|
1352
1352
|
));
|
|
1353
1353
|
for (let i of e.effects)
|
|
1354
|
-
if (i.is(
|
|
1354
|
+
if (i.is(tt))
|
|
1355
1355
|
r = new A(r.source, 1, i.value ? ne(e.state) : -1);
|
|
1356
1356
|
else if (i.is(We))
|
|
1357
1357
|
r = new A(
|
|
@@ -1422,9 +1422,9 @@ const $O = /* @__PURE__ */ re.define({
|
|
|
1422
1422
|
map(t, e) {
|
|
1423
1423
|
return t.map((a) => a.map(e));
|
|
1424
1424
|
}
|
|
1425
|
-
}), bO = /* @__PURE__ */ re.define(), D = /* @__PURE__ */
|
|
1425
|
+
}), bO = /* @__PURE__ */ re.define(), D = /* @__PURE__ */ Mt.define({
|
|
1426
1426
|
create() {
|
|
1427
|
-
return
|
|
1427
|
+
return at.start();
|
|
1428
1428
|
},
|
|
1429
1429
|
update(t, e) {
|
|
1430
1430
|
return t.update(e);
|
|
@@ -1440,13 +1440,13 @@ function ZO(t, e) {
|
|
|
1440
1440
|
return O instanceof be ? (typeof a == "string" ? t.dispatch(Object.assign(Object.assign({}, Xs(t.state, a, O.from, O.to)), { annotations: PO.of(e.completion) })) : a(t, e.completion, O.from, O.to), !0) : !1;
|
|
1441
1441
|
}
|
|
1442
1442
|
const As = /* @__PURE__ */ qs(D, ZO);
|
|
1443
|
-
function
|
|
1443
|
+
function Be(t, e = "option") {
|
|
1444
1444
|
return (a) => {
|
|
1445
1445
|
let O = a.state.field(D, !1);
|
|
1446
1446
|
if (!O || !O.open || O.open.disabled || Date.now() - O.open.timestamp < a.state.facet(Y).interactionDelay)
|
|
1447
1447
|
return !1;
|
|
1448
1448
|
let r = 1, i;
|
|
1449
|
-
e == "page" && (i =
|
|
1449
|
+
e == "page" && (i = nO(a, O.open.tooltip)) && (r = Math.max(2, Math.floor(i.dom.offsetHeight / i.dom.querySelector("li").offsetHeight) - 1));
|
|
1450
1450
|
let { length: s } = O.open.options, o = O.open.selected > -1 ? O.open.selected + r * (t ? 1 : -1) : t ? 0 : s - 1;
|
|
1451
1451
|
return o < 0 ? o = e == "page" ? 0 : s - 1 : o >= s && (o = e == "page" ? s - 1 : 0), a.dispatch({ effects: bO.of(o) }), !0;
|
|
1452
1452
|
};
|
|
@@ -1454,7 +1454,7 @@ function He(t, e = "option") {
|
|
|
1454
1454
|
const Es = (t) => {
|
|
1455
1455
|
let e = t.state.field(D, !1);
|
|
1456
1456
|
return t.state.readOnly || !e || !e.open || e.open.selected < 0 || e.open.disabled || Date.now() - e.open.timestamp < t.state.facet(Y).interactionDelay ? !1 : ZO(t, e.open.options[e.open.selected]);
|
|
1457
|
-
}, Hs = (t) => t.state.field(D, !1) ? (t.dispatch({ effects:
|
|
1457
|
+
}, Hs = (t) => t.state.field(D, !1) ? (t.dispatch({ effects: tt.of(!0) }), !0) : !1, Bs = (t) => {
|
|
1458
1458
|
let e = t.state.field(D, !1);
|
|
1459
1459
|
return !e || !e.active.some(
|
|
1460
1460
|
(a) => a.state != 0
|
|
@@ -1476,7 +1476,7 @@ const Ds = 50, Ns = 1e3, Ms = /* @__PURE__ */ zr.fromClass(class {
|
|
|
1476
1476
|
let e = t.state.field(D);
|
|
1477
1477
|
if (!t.selectionSet && !t.docChanged && t.startState.field(D) == e)
|
|
1478
1478
|
return;
|
|
1479
|
-
let a = t.transactions.some((r) => (r.selection || r.docChanged) && !
|
|
1479
|
+
let a = t.transactions.some((r) => (r.selection || r.docChanged) && !jt(r));
|
|
1480
1480
|
for (let r = 0; r < this.running.length; r++) {
|
|
1481
1481
|
let i = this.running[r];
|
|
1482
1482
|
if (a || i.updates.length + t.transactions.length > Ds && Date.now() - i.time > Ns) {
|
|
@@ -1484,17 +1484,17 @@ const Ds = 50, Ns = 1e3, Ms = /* @__PURE__ */ zr.fromClass(class {
|
|
|
1484
1484
|
try {
|
|
1485
1485
|
s();
|
|
1486
1486
|
} catch (o) {
|
|
1487
|
-
|
|
1487
|
+
Yt(this.view.state, o);
|
|
1488
1488
|
}
|
|
1489
1489
|
i.context.abortListeners = null, this.running.splice(r--, 1);
|
|
1490
1490
|
} else
|
|
1491
1491
|
i.updates.push(...t.transactions);
|
|
1492
1492
|
}
|
|
1493
|
-
this.debounceUpdate > -1 && clearTimeout(this.debounceUpdate), t.transactions.some((r) => r.effects.some((i) => i.is(
|
|
1493
|
+
this.debounceUpdate > -1 && clearTimeout(this.debounceUpdate), t.transactions.some((r) => r.effects.some((i) => i.is(tt))) && (this.pendingStart = !0);
|
|
1494
1494
|
let O = this.pendingStart ? 50 : t.state.facet(Y).activateOnTypingDelay;
|
|
1495
1495
|
if (this.debounceUpdate = e.active.some((r) => r.state == 1 && !this.running.some((i) => i.active.source == r.source)) ? setTimeout(() => this.startUpdate(), O) : -1, this.composing != 0)
|
|
1496
1496
|
for (let r of t.transactions)
|
|
1497
|
-
|
|
1497
|
+
jt(r) == "input" ? this.composing = 2 : this.composing == 2 && r.selection && (this.composing = 3);
|
|
1498
1498
|
}
|
|
1499
1499
|
startUpdate() {
|
|
1500
1500
|
this.debounceUpdate = -1, this.pendingStart = !1;
|
|
@@ -1507,7 +1507,7 @@ const Ds = 50, Ns = 1e3, Ms = /* @__PURE__ */ zr.fromClass(class {
|
|
|
1507
1507
|
this.running.push(r), Promise.resolve(t.source(O)).then((i) => {
|
|
1508
1508
|
r.context.aborted || (r.done = i || null, this.scheduleAccept());
|
|
1509
1509
|
}, (i) => {
|
|
1510
|
-
this.view.dispatch({ effects: We.of(null) }),
|
|
1510
|
+
this.view.dispatch({ effects: We.of(null) }), Yt(this.view.state, i);
|
|
1511
1511
|
});
|
|
1512
1512
|
}
|
|
1513
1513
|
scheduleAccept() {
|
|
@@ -1553,7 +1553,7 @@ const Ds = 50, Ns = 1e3, Ms = /* @__PURE__ */ zr.fromClass(class {
|
|
|
1553
1553
|
blur(t) {
|
|
1554
1554
|
let e = this.view.state.field(D, !1);
|
|
1555
1555
|
if (e && e.tooltip && this.view.state.facet(Y).closeOnBlur) {
|
|
1556
|
-
let a = e.open &&
|
|
1556
|
+
let a = e.open && nO(this.view, e.open.tooltip);
|
|
1557
1557
|
(!a || !a.dom.contains(t.relatedTarget)) && setTimeout(() => this.view.dispatch({ effects: We.of(null) }), 10);
|
|
1558
1558
|
}
|
|
1559
1559
|
},
|
|
@@ -1561,7 +1561,7 @@ const Ds = 50, Ns = 1e3, Ms = /* @__PURE__ */ zr.fromClass(class {
|
|
|
1561
1561
|
this.composing = 1;
|
|
1562
1562
|
},
|
|
1563
1563
|
compositionend() {
|
|
1564
|
-
this.composing == 3 && setTimeout(() => this.view.dispatch({ effects:
|
|
1564
|
+
this.composing == 3 && setTimeout(() => this.view.dispatch({ effects: tt.of(!1) }), 20), this.composing = 0;
|
|
1565
1565
|
}
|
|
1566
1566
|
}
|
|
1567
1567
|
}), yO = /* @__PURE__ */ N.baseTheme({
|
|
@@ -1692,16 +1692,16 @@ class Ls {
|
|
|
1692
1692
|
this.field = e, this.line = a, this.from = O, this.to = r;
|
|
1693
1693
|
}
|
|
1694
1694
|
}
|
|
1695
|
-
class
|
|
1695
|
+
class Kt {
|
|
1696
1696
|
constructor(e, a, O) {
|
|
1697
1697
|
this.field = e, this.from = a, this.to = O;
|
|
1698
1698
|
}
|
|
1699
1699
|
map(e) {
|
|
1700
|
-
let a = e.mapPos(this.from, -1,
|
|
1701
|
-
return a == null || O == null ? null : new
|
|
1700
|
+
let a = e.mapPos(this.from, -1, Rt.TrackDel), O = e.mapPos(this.to, 1, Rt.TrackDel);
|
|
1701
|
+
return a == null || O == null ? null : new Kt(this.field, a, O);
|
|
1702
1702
|
}
|
|
1703
1703
|
}
|
|
1704
|
-
class
|
|
1704
|
+
class ea {
|
|
1705
1705
|
constructor(e, a) {
|
|
1706
1706
|
this.lines = e, this.fieldPositions = a;
|
|
1707
1707
|
}
|
|
@@ -1711,12 +1711,12 @@ class Jt {
|
|
|
1711
1711
|
if (O.length) {
|
|
1712
1712
|
let l = s, c = /^\t*/.exec(n)[0].length;
|
|
1713
1713
|
for (let d = 0; d < c; d++)
|
|
1714
|
-
l += e.facet(
|
|
1714
|
+
l += e.facet(cO);
|
|
1715
1715
|
r.push(a + l.length - c), n = l + n.slice(c);
|
|
1716
1716
|
}
|
|
1717
1717
|
O.push(n), a += n.length + 1;
|
|
1718
1718
|
}
|
|
1719
|
-
let o = this.fieldPositions.map((n) => new
|
|
1719
|
+
let o = this.fieldPositions.map((n) => new Kt(n.field, r[n.line] + n.from, r[n.line] + n.to));
|
|
1720
1720
|
return { text: O, ranges: o };
|
|
1721
1721
|
}
|
|
1722
1722
|
static parse(e) {
|
|
@@ -1743,10 +1743,10 @@ class Jt {
|
|
|
1743
1743
|
}
|
|
1744
1744
|
O.push(s);
|
|
1745
1745
|
}
|
|
1746
|
-
return new
|
|
1746
|
+
return new ea(O, r);
|
|
1747
1747
|
}
|
|
1748
1748
|
}
|
|
1749
|
-
let Fs = /* @__PURE__ */
|
|
1749
|
+
let Fs = /* @__PURE__ */ ft.widget({ widget: /* @__PURE__ */ new class extends Ir {
|
|
1750
1750
|
toDOM() {
|
|
1751
1751
|
let t = document.createElement("span");
|
|
1752
1752
|
return t.className = "cm-snippetFieldPosition", t;
|
|
@@ -1754,10 +1754,10 @@ let Fs = /* @__PURE__ */ ht.widget({ widget: /* @__PURE__ */ new class extends I
|
|
|
1754
1754
|
ignoreEvent() {
|
|
1755
1755
|
return !1;
|
|
1756
1756
|
}
|
|
1757
|
-
}() }), Js = /* @__PURE__ */
|
|
1757
|
+
}() }), Js = /* @__PURE__ */ ft.mark({ class: "cm-snippetField" });
|
|
1758
1758
|
class ke {
|
|
1759
1759
|
constructor(e, a) {
|
|
1760
|
-
this.ranges = e, this.active = a, this.deco =
|
|
1760
|
+
this.ranges = e, this.active = a, this.deco = ft.set(e.map((O) => (O.from == O.to ? Fs : Js).range(O.from, O.to)));
|
|
1761
1761
|
}
|
|
1762
1762
|
map(e) {
|
|
1763
1763
|
let a = [];
|
|
@@ -1777,7 +1777,7 @@ const Ae = /* @__PURE__ */ re.define({
|
|
|
1777
1777
|
map(t, e) {
|
|
1778
1778
|
return t && t.map(e);
|
|
1779
1779
|
}
|
|
1780
|
-
}), Ks = /* @__PURE__ */ re.define(), Ye = /* @__PURE__ */
|
|
1780
|
+
}), Ks = /* @__PURE__ */ re.define(), Ye = /* @__PURE__ */ Mt.define({
|
|
1781
1781
|
create() {
|
|
1782
1782
|
return null;
|
|
1783
1783
|
},
|
|
@@ -1790,20 +1790,20 @@ const Ae = /* @__PURE__ */ re.define({
|
|
|
1790
1790
|
}
|
|
1791
1791
|
return t && e.docChanged && (t = t.map(e.changes)), t && e.selection && !t.selectionInsideField(e.selection) && (t = null), t;
|
|
1792
1792
|
},
|
|
1793
|
-
provide: (t) => N.decorations.from(t, (e) => e ? e.deco :
|
|
1793
|
+
provide: (t) => N.decorations.from(t, (e) => e ? e.deco : ft.none)
|
|
1794
1794
|
});
|
|
1795
|
-
function
|
|
1795
|
+
function ta(t, e) {
|
|
1796
1796
|
return C.create(t.filter((a) => a.field == e).map((a) => C.range(a.from, a.to)));
|
|
1797
1797
|
}
|
|
1798
1798
|
function ei(t) {
|
|
1799
|
-
let e =
|
|
1799
|
+
let e = ea.parse(t);
|
|
1800
1800
|
return (a, O, r, i) => {
|
|
1801
1801
|
let { text: s, ranges: o } = e.instantiate(a.state, r), n = {
|
|
1802
1802
|
changes: { from: r, to: i, insert: Hr.of(s) },
|
|
1803
1803
|
scrollIntoView: !0,
|
|
1804
1804
|
annotations: O ? [PO.of(O), Br.userEvent.of("input.complete")] : void 0
|
|
1805
1805
|
};
|
|
1806
|
-
if (o.length && (n.selection =
|
|
1806
|
+
if (o.length && (n.selection = ta(o, 0)), o.some((l) => l.field > 0)) {
|
|
1807
1807
|
let l = new ke(o, 0), c = n.effects = [Ae.of(l)];
|
|
1808
1808
|
a.state.field(Ye, !1) === void 0 && c.push(re.appendConfig.of([Ye, si, ii, yO]));
|
|
1809
1809
|
}
|
|
@@ -1817,7 +1817,7 @@ function vO(t) {
|
|
|
1817
1817
|
return !1;
|
|
1818
1818
|
let r = O.active + t, i = t > 0 && !O.ranges.some((s) => s.field == r + t);
|
|
1819
1819
|
return a(e.update({
|
|
1820
|
-
selection:
|
|
1820
|
+
selection: ta(O.ranges, r),
|
|
1821
1821
|
effects: Ae.of(i ? null : new ke(O.ranges, r)),
|
|
1822
1822
|
scrollIntoView: !0
|
|
1823
1823
|
})), !0;
|
|
@@ -1826,11 +1826,11 @@ function vO(t) {
|
|
|
1826
1826
|
const ti = ({ state: t, dispatch: e }) => t.field(Ye, !1) ? (e(t.update({ effects: Ae.of(null) })), !0) : !1, ai = /* @__PURE__ */ vO(1), Oi = /* @__PURE__ */ vO(-1), ri = [
|
|
1827
1827
|
{ key: "Tab", run: ai, shift: Oi },
|
|
1828
1828
|
{ key: "Escape", run: ti }
|
|
1829
|
-
],
|
|
1829
|
+
], Pa = /* @__PURE__ */ oO.define({
|
|
1830
1830
|
combine(t) {
|
|
1831
1831
|
return t.length ? t[0] : ri;
|
|
1832
1832
|
}
|
|
1833
|
-
}), si = /* @__PURE__ */
|
|
1833
|
+
}), si = /* @__PURE__ */ iO.highest(/* @__PURE__ */ et.compute([Pa], (t) => t.facet(Pa)));
|
|
1834
1834
|
function G(t, e) {
|
|
1835
1835
|
return Object.assign(Object.assign({}, e), { apply: ei(t) });
|
|
1836
1836
|
}
|
|
@@ -1841,7 +1841,7 @@ const ii = /* @__PURE__ */ N.domEventHandlers({
|
|
|
1841
1841
|
return !1;
|
|
1842
1842
|
let r = a.ranges.find((i) => i.from <= O && i.to >= O);
|
|
1843
1843
|
return !r || r.field == a.active ? !1 : (e.dispatch({
|
|
1844
|
-
selection:
|
|
1844
|
+
selection: ta(a.ranges, r.field),
|
|
1845
1845
|
effects: Ae.of(a.ranges.some((i) => i.field > r.field) ? new ke(a.ranges, r.field) : null),
|
|
1846
1846
|
scrollIntoView: !0
|
|
1847
1847
|
}), !0);
|
|
@@ -1852,14 +1852,14 @@ const ii = /* @__PURE__ */ N.domEventHandlers({
|
|
|
1852
1852
|
stringPrefixes: []
|
|
1853
1853
|
}, ue = /* @__PURE__ */ re.define({
|
|
1854
1854
|
map(t, e) {
|
|
1855
|
-
let a = e.mapPos(t, -1,
|
|
1855
|
+
let a = e.mapPos(t, -1, Rt.TrackAfter);
|
|
1856
1856
|
return a ?? void 0;
|
|
1857
1857
|
}
|
|
1858
|
-
}),
|
|
1858
|
+
}), aa = /* @__PURE__ */ new class extends Vr {
|
|
1859
1859
|
}();
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
const wO = /* @__PURE__ */
|
|
1860
|
+
aa.startSide = 1;
|
|
1861
|
+
aa.endSide = -1;
|
|
1862
|
+
const wO = /* @__PURE__ */ Mt.define({
|
|
1863
1863
|
create() {
|
|
1864
1864
|
return Gr.empty;
|
|
1865
1865
|
},
|
|
@@ -1869,19 +1869,19 @@ const wO = /* @__PURE__ */ Dt.define({
|
|
|
1869
1869
|
t = t.update({ filter: (O) => O >= a.from && O <= a.to });
|
|
1870
1870
|
}
|
|
1871
1871
|
for (let a of e.effects)
|
|
1872
|
-
a.is(ue) && (t = t.update({ add: [
|
|
1872
|
+
a.is(ue) && (t = t.update({ add: [aa.range(a.value, a.value + 1)] }));
|
|
1873
1873
|
return t;
|
|
1874
1874
|
}
|
|
1875
1875
|
});
|
|
1876
1876
|
function oi() {
|
|
1877
1877
|
return [li, wO];
|
|
1878
1878
|
}
|
|
1879
|
-
const
|
|
1879
|
+
const Pt = "()[]{}<>";
|
|
1880
1880
|
function kO(t) {
|
|
1881
|
-
for (let e = 0; e <
|
|
1882
|
-
if (
|
|
1883
|
-
return
|
|
1884
|
-
return
|
|
1881
|
+
for (let e = 0; e < Pt.length; e += 2)
|
|
1882
|
+
if (Pt.charCodeAt(e) == t)
|
|
1883
|
+
return Pt.charAt(e + 1);
|
|
1884
|
+
return lO(t < 128 ? t : t + 1);
|
|
1885
1885
|
}
|
|
1886
1886
|
function TO(t, e) {
|
|
1887
1887
|
return t.languageDataAt("closeBrackets", e)[0] || Re;
|
|
@@ -1901,7 +1901,7 @@ const ni = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navi
|
|
|
1901
1901
|
if (s.empty) {
|
|
1902
1902
|
let o = ui(t.doc, s.head);
|
|
1903
1903
|
for (let n of O)
|
|
1904
|
-
if (n == o &&
|
|
1904
|
+
if (n == o && Qt(t.doc, s.head) == kO(L(n, 0)))
|
|
1905
1905
|
return {
|
|
1906
1906
|
changes: { from: s.head - n.length, to: s.head + n.length },
|
|
1907
1907
|
range: C.cursor(s.head - n.length)
|
|
@@ -1930,7 +1930,7 @@ function XO(t, e) {
|
|
|
1930
1930
|
O == e && (a = !0);
|
|
1931
1931
|
}), a;
|
|
1932
1932
|
}
|
|
1933
|
-
function
|
|
1933
|
+
function Qt(t, e) {
|
|
1934
1934
|
let a = t.sliceString(e, e + 2);
|
|
1935
1935
|
return a.slice(0, oe(L(a, 0)));
|
|
1936
1936
|
}
|
|
@@ -1946,7 +1946,7 @@ function hi(t, e, a, O) {
|
|
|
1946
1946
|
effects: ue.of(s.to + e.length),
|
|
1947
1947
|
range: C.range(s.anchor + e.length, s.head + e.length)
|
|
1948
1948
|
};
|
|
1949
|
-
let o =
|
|
1949
|
+
let o = Qt(t.doc, s.head);
|
|
1950
1950
|
return !o || /\s/.test(o) || O.indexOf(o) > -1 ? {
|
|
1951
1951
|
changes: { insert: e + a, from: s.head },
|
|
1952
1952
|
effects: ue.of(s.head + e.length),
|
|
@@ -1959,7 +1959,7 @@ function hi(t, e, a, O) {
|
|
|
1959
1959
|
});
|
|
1960
1960
|
}
|
|
1961
1961
|
function fi(t, e, a) {
|
|
1962
|
-
let O = null, r = t.changeByRange((i) => i.empty &&
|
|
1962
|
+
let O = null, r = t.changeByRange((i) => i.empty && Qt(t.doc, i.head) == a ? {
|
|
1963
1963
|
changes: { from: i.head, to: i.head + a.length, insert: a },
|
|
1964
1964
|
range: C.cursor(i.head + a.length)
|
|
1965
1965
|
} : O = { range: i });
|
|
@@ -1976,9 +1976,9 @@ function mi(t, e, a, O) {
|
|
|
1976
1976
|
effects: ue.of(o.to + e.length),
|
|
1977
1977
|
range: C.range(o.anchor + e.length, o.head + e.length)
|
|
1978
1978
|
};
|
|
1979
|
-
let n = o.head, l =
|
|
1979
|
+
let n = o.head, l = Qt(t.doc, n), c;
|
|
1980
1980
|
if (l == e) {
|
|
1981
|
-
if (
|
|
1981
|
+
if ($a(t, n))
|
|
1982
1982
|
return {
|
|
1983
1983
|
changes: { insert: e + e, from: n },
|
|
1984
1984
|
effects: ue.of(n + e.length),
|
|
@@ -1992,13 +1992,13 @@ function mi(t, e, a, O) {
|
|
|
1992
1992
|
};
|
|
1993
1993
|
}
|
|
1994
1994
|
} else {
|
|
1995
|
-
if (a && t.sliceDoc(n - 2 * e.length, n) == e + e && (c =
|
|
1995
|
+
if (a && t.sliceDoc(n - 2 * e.length, n) == e + e && (c = ba(t, n - 2 * e.length, r)) > -1 && $a(t, c))
|
|
1996
1996
|
return {
|
|
1997
1997
|
changes: { insert: e + e + e + e, from: n },
|
|
1998
1998
|
effects: ue.of(n + e.length),
|
|
1999
1999
|
range: C.cursor(n + e.length)
|
|
2000
2000
|
};
|
|
2001
|
-
if (t.charCategorizer(n)(l) !=
|
|
2001
|
+
if (t.charCategorizer(n)(l) != Wt.Word && ba(t, n, r) > -1 && !Qi(t, n, e, r))
|
|
2002
2002
|
return {
|
|
2003
2003
|
changes: { insert: e + e, from: n },
|
|
2004
2004
|
effects: ue.of(n + e.length),
|
|
@@ -2012,7 +2012,7 @@ function mi(t, e, a, O) {
|
|
|
2012
2012
|
userEvent: "input.type"
|
|
2013
2013
|
});
|
|
2014
2014
|
}
|
|
2015
|
-
function
|
|
2015
|
+
function $a(t, e) {
|
|
2016
2016
|
let a = Oe(t).resolveInner(e + 1);
|
|
2017
2017
|
return a.parent && a.from == e;
|
|
2018
2018
|
}
|
|
@@ -2036,13 +2036,13 @@ function Qi(t, e, a, O) {
|
|
|
2036
2036
|
}
|
|
2037
2037
|
return !1;
|
|
2038
2038
|
}
|
|
2039
|
-
function
|
|
2039
|
+
function ba(t, e, a) {
|
|
2040
2040
|
let O = t.charCategorizer(e);
|
|
2041
|
-
if (O(t.sliceDoc(e - 1, e)) !=
|
|
2041
|
+
if (O(t.sliceDoc(e - 1, e)) != Wt.Word)
|
|
2042
2042
|
return e;
|
|
2043
2043
|
for (let r of a) {
|
|
2044
2044
|
let i = e - r.length;
|
|
2045
|
-
if (t.sliceDoc(i, e) == r && O(t.sliceDoc(i - 1, i)) !=
|
|
2045
|
+
if (t.sliceDoc(i, e) == r && O(t.sliceDoc(i - 1, i)) != Wt.Word)
|
|
2046
2046
|
return i;
|
|
2047
2047
|
}
|
|
2048
2048
|
return -1;
|
|
@@ -2059,12 +2059,12 @@ function gi(t = {}) {
|
|
|
2059
2059
|
const xO = [
|
|
2060
2060
|
{ key: "Ctrl-Space", run: Hs },
|
|
2061
2061
|
{ key: "Escape", run: Bs },
|
|
2062
|
-
{ key: "ArrowDown", run: /* @__PURE__ */
|
|
2063
|
-
{ key: "ArrowUp", run: /* @__PURE__ */
|
|
2064
|
-
{ key: "PageDown", run: /* @__PURE__ */
|
|
2065
|
-
{ key: "PageUp", run: /* @__PURE__ */
|
|
2062
|
+
{ key: "ArrowDown", run: /* @__PURE__ */ Be(!0) },
|
|
2063
|
+
{ key: "ArrowUp", run: /* @__PURE__ */ Be(!1) },
|
|
2064
|
+
{ key: "PageDown", run: /* @__PURE__ */ Be(!0, "page") },
|
|
2065
|
+
{ key: "PageUp", run: /* @__PURE__ */ Be(!1, "page") },
|
|
2066
2066
|
{ key: "Enter", run: Es }
|
|
2067
|
-
], Si = /* @__PURE__ */
|
|
2067
|
+
], Si = /* @__PURE__ */ iO.highest(/* @__PURE__ */ et.computeN([Y], (t) => t.facet(Y).defaultKeymap ? [xO] : []));
|
|
2068
2068
|
function _O(t, e) {
|
|
2069
2069
|
let a = -1;
|
|
2070
2070
|
return t.changeByRange((O) => {
|
|
@@ -2081,7 +2081,7 @@ function _O(t, e) {
|
|
|
2081
2081
|
});
|
|
2082
2082
|
}
|
|
2083
2083
|
const Pi = ({ state: t, dispatch: e }) => t.readOnly ? !1 : (e(t.update(_O(t, (a, O) => {
|
|
2084
|
-
O.push({ from: a.from, insert: t.facet(
|
|
2084
|
+
O.push({ from: a.from, insert: t.facet(cO) });
|
|
2085
2085
|
}), { userEvent: "input.indent" })), !0), $i = ({ state: t, dispatch: e }) => t.readOnly ? !1 : (e(t.update(_O(t, (a, O) => {
|
|
2086
2086
|
let r = /^\s*/.exec(a.text)[0];
|
|
2087
2087
|
if (!r)
|
|
@@ -2091,7 +2091,7 @@ const Pi = ({ state: t, dispatch: e }) => t.readOnly ? !1 : (e(t.update(_O(t, (a
|
|
|
2091
2091
|
s++;
|
|
2092
2092
|
O.push({ from: a.from + s, to: a.from + r.length, insert: o.slice(s) });
|
|
2093
2093
|
}), { userEvent: "delete.dedent" })), !0), bi = { key: "Tab", run: Pi, shift: $i };
|
|
2094
|
-
class
|
|
2094
|
+
class Ot {
|
|
2095
2095
|
/**
|
|
2096
2096
|
@internal
|
|
2097
2097
|
*/
|
|
@@ -2110,7 +2110,7 @@ class at {
|
|
|
2110
2110
|
*/
|
|
2111
2111
|
static start(e, a, O = 0) {
|
|
2112
2112
|
let r = e.parser.context;
|
|
2113
|
-
return new
|
|
2113
|
+
return new Ot(e, [], a, O, O, 0, [], 0, r ? new Za(r, r.start) : null, 0, null);
|
|
2114
2114
|
}
|
|
2115
2115
|
/**
|
|
2116
2116
|
The stack's current [context](#lr.ContextTracker) value, if
|
|
@@ -2241,7 +2241,7 @@ class at {
|
|
|
2241
2241
|
let O = e.buffer.slice(a), r = e.bufferBase + a;
|
|
2242
2242
|
for (; e && r == e.bufferBase; )
|
|
2243
2243
|
e = e.parent;
|
|
2244
|
-
return new
|
|
2244
|
+
return new Ot(this.p, this.stack.slice(), this.state, this.reducePos, this.pos, this.score, O, r, this.curContext, this.lookAhead, e);
|
|
2245
2245
|
}
|
|
2246
2246
|
// Try to recover from an error by 'deleting' (ignoring) one token.
|
|
2247
2247
|
/**
|
|
@@ -2440,7 +2440,7 @@ class at {
|
|
|
2440
2440
|
}
|
|
2441
2441
|
updateContext(e) {
|
|
2442
2442
|
if (e != this.curContext.context) {
|
|
2443
|
-
let a = new
|
|
2443
|
+
let a = new Za(this.curContext.tracker, e);
|
|
2444
2444
|
a.hash != this.curContext.hash && this.emitContext(), this.curContext = a;
|
|
2445
2445
|
}
|
|
2446
2446
|
}
|
|
@@ -2457,7 +2457,7 @@ class at {
|
|
|
2457
2457
|
this.curContext && this.curContext.tracker.strict && this.emitContext(), this.lookAhead > 0 && this.emitLookAhead();
|
|
2458
2458
|
}
|
|
2459
2459
|
}
|
|
2460
|
-
class
|
|
2460
|
+
class Za {
|
|
2461
2461
|
constructor(e, a) {
|
|
2462
2462
|
this.tracker = e, this.context = a, this.hash = e.strict ? e.hash(a) : 0;
|
|
2463
2463
|
}
|
|
@@ -2473,12 +2473,12 @@ class Zi {
|
|
|
2473
2473
|
this.state = r;
|
|
2474
2474
|
}
|
|
2475
2475
|
}
|
|
2476
|
-
class
|
|
2476
|
+
class rt {
|
|
2477
2477
|
constructor(e, a, O) {
|
|
2478
2478
|
this.stack = e, this.pos = a, this.index = O, this.buffer = e.buffer, this.index == 0 && this.maybeNext();
|
|
2479
2479
|
}
|
|
2480
2480
|
static create(e, a = e.bufferBase + e.buffer.length) {
|
|
2481
|
-
return new
|
|
2481
|
+
return new rt(e, a, a - e.bufferBase);
|
|
2482
2482
|
}
|
|
2483
2483
|
maybeNext() {
|
|
2484
2484
|
let e = this.stack.parent;
|
|
@@ -2500,7 +2500,7 @@ class Ot {
|
|
|
2500
2500
|
this.index -= 4, this.pos -= 4, this.index == 0 && this.maybeNext();
|
|
2501
2501
|
}
|
|
2502
2502
|
fork() {
|
|
2503
|
-
return new
|
|
2503
|
+
return new rt(this.stack, this.pos, this.index);
|
|
2504
2504
|
}
|
|
2505
2505
|
}
|
|
2506
2506
|
function xe(t, e = Uint16Array) {
|
|
@@ -2525,18 +2525,18 @@ function xe(t, e = Uint16Array) {
|
|
|
2525
2525
|
}
|
|
2526
2526
|
return a;
|
|
2527
2527
|
}
|
|
2528
|
-
class
|
|
2528
|
+
class Fe {
|
|
2529
2529
|
constructor() {
|
|
2530
2530
|
this.start = -1, this.value = -1, this.end = -1, this.extended = -1, this.lookAhead = 0, this.mask = 0, this.context = 0;
|
|
2531
2531
|
}
|
|
2532
2532
|
}
|
|
2533
|
-
const
|
|
2533
|
+
const ya = new Fe();
|
|
2534
2534
|
class yi {
|
|
2535
2535
|
/**
|
|
2536
2536
|
@internal
|
|
2537
2537
|
*/
|
|
2538
2538
|
constructor(e, a) {
|
|
2539
|
-
this.input = e, this.ranges = a, this.chunk = "", this.chunkOff = 0, this.chunk2 = "", this.chunk2Pos = 0, this.next = -1, this.token =
|
|
2539
|
+
this.input = e, this.ranges = a, this.chunk = "", this.chunkOff = 0, this.chunk2 = "", this.chunk2Pos = 0, this.next = -1, this.token = ya, this.rangeIndex = 0, this.pos = this.chunkPos = a[0].from, this.range = a[0], this.end = a[a.length - 1].to, this.readNext();
|
|
2540
2540
|
}
|
|
2541
2541
|
/**
|
|
2542
2542
|
@internal
|
|
@@ -2647,7 +2647,7 @@ class yi {
|
|
|
2647
2647
|
@internal
|
|
2648
2648
|
*/
|
|
2649
2649
|
reset(e, a) {
|
|
2650
|
-
if (a ? (this.token = a, a.start = e, a.lookAhead = e + 1, a.value = a.extended = -1) : this.token =
|
|
2650
|
+
if (a ? (this.token = a, a.start = e, a.lookAhead = e + 1, a.value = a.extended = -1) : this.token = ya, this.pos != e) {
|
|
2651
2651
|
if (this.pos = e, e == this.end)
|
|
2652
2652
|
return this.setDone(), this;
|
|
2653
2653
|
for (; e < this.range.from; )
|
|
@@ -2687,7 +2687,7 @@ class Ze {
|
|
|
2687
2687
|
}
|
|
2688
2688
|
}
|
|
2689
2689
|
Ze.prototype.contextual = Ze.prototype.fallback = Ze.prototype.extend = !1;
|
|
2690
|
-
class
|
|
2690
|
+
class st {
|
|
2691
2691
|
constructor(e, a, O) {
|
|
2692
2692
|
this.precTable = a, this.elseToken = O, this.data = typeof e == "string" ? xe(e) : e;
|
|
2693
2693
|
}
|
|
@@ -2706,7 +2706,7 @@ class rt {
|
|
|
2706
2706
|
r && (e.reset(O, e.token), e.acceptToken(this.elseToken, r));
|
|
2707
2707
|
}
|
|
2708
2708
|
}
|
|
2709
|
-
|
|
2709
|
+
st.prototype.contextual = Ze.prototype.fallback = Ze.prototype.extend = !1;
|
|
2710
2710
|
class z {
|
|
2711
2711
|
/**
|
|
2712
2712
|
Create a tokenizer. The first argument is the function that,
|
|
@@ -2751,20 +2751,20 @@ function WO(t, e, a, O, r, i) {
|
|
|
2751
2751
|
break;
|
|
2752
2752
|
}
|
|
2753
2753
|
}
|
|
2754
|
-
function
|
|
2754
|
+
function va(t, e, a) {
|
|
2755
2755
|
for (let O = e, r; (r = t[O]) != 65535; O++)
|
|
2756
2756
|
if (r == a)
|
|
2757
2757
|
return O - e;
|
|
2758
2758
|
return -1;
|
|
2759
2759
|
}
|
|
2760
2760
|
function vi(t, e, a, O) {
|
|
2761
|
-
let r =
|
|
2762
|
-
return r < 0 ||
|
|
2761
|
+
let r = va(a, O, e);
|
|
2762
|
+
return r < 0 || va(a, O, t) < r;
|
|
2763
2763
|
}
|
|
2764
2764
|
const B = typeof process < "u" && process.env && /\bparse\b/.test(process.env.LOG);
|
|
2765
|
-
let
|
|
2766
|
-
function
|
|
2767
|
-
let O = t.cursor(
|
|
2765
|
+
let $t = null;
|
|
2766
|
+
function wa(t, e, a) {
|
|
2767
|
+
let O = t.cursor(Ft.IncludeAnonymous);
|
|
2768
2768
|
for (O.moveTo(e); ; )
|
|
2769
2769
|
if (!(a < 0 ? O.childBefore(e) : O.childAfter(e)))
|
|
2770
2770
|
for (; ; ) {
|
|
@@ -2791,7 +2791,7 @@ class wi {
|
|
|
2791
2791
|
nextFragment() {
|
|
2792
2792
|
let e = this.fragment = this.i == this.fragments.length ? null : this.fragments[this.i++];
|
|
2793
2793
|
if (e) {
|
|
2794
|
-
for (this.safeFrom = e.openStart ?
|
|
2794
|
+
for (this.safeFrom = e.openStart ? wa(e.tree, e.from + e.offset, 1) - e.offset : e.from, this.safeTo = e.openEnd ? wa(e.tree, e.to + e.offset, -1) - e.offset : e.to; this.trees.length; )
|
|
2795
2795
|
this.trees.pop(), this.start.pop(), this.index.pop();
|
|
2796
2796
|
this.trees.push(e.tree), this.start.push(-e.offset), this.index.push(0), this.nextStart = this.safeFrom;
|
|
2797
2797
|
} else
|
|
@@ -2817,13 +2817,13 @@ class wi {
|
|
|
2817
2817
|
let i = O.children[r], s = this.start[a] + O.positions[r];
|
|
2818
2818
|
if (s > e)
|
|
2819
2819
|
return this.nextStart = s, null;
|
|
2820
|
-
if (i instanceof
|
|
2820
|
+
if (i instanceof Le) {
|
|
2821
2821
|
if (s == e) {
|
|
2822
2822
|
if (s < this.safeFrom)
|
|
2823
2823
|
return null;
|
|
2824
2824
|
let o = s + i.length;
|
|
2825
2825
|
if (o <= this.safeTo) {
|
|
2826
|
-
let n = i.prop(
|
|
2826
|
+
let n = i.prop(Lt.lookAhead);
|
|
2827
2827
|
if (!n || o + n < this.fragment.to)
|
|
2828
2828
|
return i;
|
|
2829
2829
|
}
|
|
@@ -2836,7 +2836,7 @@ class wi {
|
|
|
2836
2836
|
}
|
|
2837
2837
|
class ki {
|
|
2838
2838
|
constructor(e, a) {
|
|
2839
|
-
this.stream = a, this.tokens = [], this.mainToken = null, this.actions = [], this.tokens = e.tokenizers.map((O) => new
|
|
2839
|
+
this.stream = a, this.tokens = [], this.mainToken = null, this.actions = [], this.tokens = e.tokenizers.map((O) => new Fe());
|
|
2840
2840
|
}
|
|
2841
2841
|
getActions(e) {
|
|
2842
2842
|
let a = 0, O = null, { parser: r } = e.p, { tokenizers: i } = r, s = r.stateSlot(
|
|
@@ -2856,12 +2856,12 @@ class ki {
|
|
|
2856
2856
|
}
|
|
2857
2857
|
for (; this.actions.length > a; )
|
|
2858
2858
|
this.actions.pop();
|
|
2859
|
-
return n && e.setLookAhead(n), !O && e.pos == this.stream.end && (O = new
|
|
2859
|
+
return n && e.setLookAhead(n), !O && e.pos == this.stream.end && (O = new Fe(), O.value = e.p.parser.eofTerm, O.start = O.end = e.pos, a = this.addActions(e, O.value, O.end, a)), this.mainToken = O, this.actions;
|
|
2860
2860
|
}
|
|
2861
2861
|
getMainToken(e) {
|
|
2862
2862
|
if (this.mainToken)
|
|
2863
2863
|
return this.mainToken;
|
|
2864
|
-
let a = new
|
|
2864
|
+
let a = new Fe(), { pos: O, p: r } = e;
|
|
2865
2865
|
return a.start = O, a.end = Math.min(O + 1, r.stream.end), a.value = O == r.stream.end ? r.parser.eofTerm : 0, a;
|
|
2866
2866
|
}
|
|
2867
2867
|
updateCachedToken(e, a, O) {
|
|
@@ -2909,7 +2909,7 @@ class Ti {
|
|
|
2909
2909
|
constructor(e, a, O, r) {
|
|
2910
2910
|
this.parser = e, this.input = a, this.ranges = r, this.recovering = 0, this.nextStackID = 9812, this.minStackPos = 0, this.reused = [], this.stoppedAt = null, this.lastBigReductionStart = -1, this.lastBigReductionSize = 0, this.bigReductionCount = 0, this.stream = new yi(a, r), this.tokens = new ki(e, this.stream), this.topTerm = e.top[1];
|
|
2911
2911
|
let { from: i } = r[0];
|
|
2912
|
-
this.stacks = [
|
|
2912
|
+
this.stacks = [Ot.start(this, e.top[0], i)], this.fragments = O.length && this.stream.end - i > e.bufferLength * 4 ? new wi(O, e.nodeSet) : null;
|
|
2913
2913
|
}
|
|
2914
2914
|
get parsedPos() {
|
|
2915
2915
|
return this.minStackPos;
|
|
@@ -3007,12 +3007,12 @@ class Ti {
|
|
|
3007
3007
|
let l = e.curContext && e.curContext.tracker.strict, c = l ? e.curContext.hash : 0;
|
|
3008
3008
|
for (let d = this.fragments.nodeAt(r); d; ) {
|
|
3009
3009
|
let h = this.parser.nodeSet.types[d.type.id] == d.type ? i.getGoto(e.state, d.type.id) : -1;
|
|
3010
|
-
if (h > -1 && d.length && (!l || (d.prop(
|
|
3010
|
+
if (h > -1 && d.length && (!l || (d.prop(Lt.contextHash) || 0) == c))
|
|
3011
3011
|
return e.useNode(d, h), B && console.log(s + this.stackID(e) + ` (via reuse of ${i.getName(d.type.id)})`), !0;
|
|
3012
|
-
if (!(d instanceof
|
|
3012
|
+
if (!(d instanceof Le) || d.children.length == 0 || d.positions[0] > 0)
|
|
3013
3013
|
break;
|
|
3014
3014
|
let f = d.children[0];
|
|
3015
|
-
if (f instanceof
|
|
3015
|
+
if (f instanceof Le && d.positions[0] == 0)
|
|
3016
3016
|
d = f;
|
|
3017
3017
|
else
|
|
3018
3018
|
break;
|
|
@@ -3052,7 +3052,7 @@ class Ti {
|
|
|
3052
3052
|
if (!this.advanceStack(e, null, null))
|
|
3053
3053
|
return !1;
|
|
3054
3054
|
if (e.pos > O)
|
|
3055
|
-
return
|
|
3055
|
+
return ka(e, a), !0;
|
|
3056
3056
|
}
|
|
3057
3057
|
}
|
|
3058
3058
|
runRecovery(e, a, O) {
|
|
@@ -3066,14 +3066,14 @@ class Ti {
|
|
|
3066
3066
|
B && (h = this.stackID(d) + " -> ");
|
|
3067
3067
|
for (let f of o.recoverByInsert(n))
|
|
3068
3068
|
B && console.log(c + this.stackID(f) + " (via recover-insert)"), this.advanceFully(f, O);
|
|
3069
|
-
this.stream.end > o.pos ? (l == o.pos && (l++, n = 0), o.recoverByDelete(n, l), B && console.log(c + this.stackID(o) + ` (via recover-delete ${this.parser.getName(n)})`),
|
|
3069
|
+
this.stream.end > o.pos ? (l == o.pos && (l++, n = 0), o.recoverByDelete(n, l), B && console.log(c + this.stackID(o) + ` (via recover-delete ${this.parser.getName(n)})`), ka(o, O)) : (!r || r.score < o.score) && (r = o);
|
|
3070
3070
|
}
|
|
3071
3071
|
return r;
|
|
3072
3072
|
}
|
|
3073
3073
|
// Convert the stack's buffer to a syntax tree.
|
|
3074
3074
|
stackToTree(e) {
|
|
3075
|
-
return e.close(),
|
|
3076
|
-
buffer:
|
|
3075
|
+
return e.close(), Le.build({
|
|
3076
|
+
buffer: rt.create(e),
|
|
3077
3077
|
nodeSet: this.parser.nodeSet,
|
|
3078
3078
|
topID: this.topTerm,
|
|
3079
3079
|
maxBufferLength: this.parser.bufferLength,
|
|
@@ -3084,11 +3084,11 @@ class Ti {
|
|
|
3084
3084
|
});
|
|
3085
3085
|
}
|
|
3086
3086
|
stackID(e) {
|
|
3087
|
-
let a = (
|
|
3088
|
-
return a ||
|
|
3087
|
+
let a = ($t || ($t = /* @__PURE__ */ new WeakMap())).get(e);
|
|
3088
|
+
return a || $t.set(e, a = String.fromCodePoint(this.nextStackID++)), a + e;
|
|
3089
3089
|
}
|
|
3090
3090
|
}
|
|
3091
|
-
function
|
|
3091
|
+
function ka(t, e) {
|
|
3092
3092
|
for (let a = 0; a < e.length; a++) {
|
|
3093
3093
|
let O = e[a];
|
|
3094
3094
|
if (O.pos == t.pos && O.sameState(t)) {
|
|
@@ -3106,13 +3106,13 @@ class Xi {
|
|
|
3106
3106
|
return !this.disabled || this.disabled[e] == 0;
|
|
3107
3107
|
}
|
|
3108
3108
|
}
|
|
3109
|
-
const
|
|
3110
|
-
class
|
|
3109
|
+
const bt = (t) => t;
|
|
3110
|
+
class Oa {
|
|
3111
3111
|
/**
|
|
3112
3112
|
Define a context tracker.
|
|
3113
3113
|
*/
|
|
3114
3114
|
constructor(e) {
|
|
3115
|
-
this.start = e.start, this.shift = e.shift ||
|
|
3115
|
+
this.start = e.start, this.shift = e.shift || bt, this.reduce = e.reduce || bt, this.reuse = e.reuse || bt, this.hash = e.hash || (() => 0), this.strict = e.strict !== !1;
|
|
3116
3116
|
}
|
|
3117
3117
|
}
|
|
3118
3118
|
class le extends Lr {
|
|
@@ -3135,7 +3135,7 @@ class le extends Lr {
|
|
|
3135
3135
|
if (e.nodeProps)
|
|
3136
3136
|
for (let o of e.nodeProps) {
|
|
3137
3137
|
let n = o[0];
|
|
3138
|
-
typeof n == "string" && (n =
|
|
3138
|
+
typeof n == "string" && (n = Lt[n]);
|
|
3139
3139
|
for (let l = 1; l < o.length; ) {
|
|
3140
3140
|
let c = o[l++];
|
|
3141
3141
|
if (c >= 0)
|
|
@@ -3160,7 +3160,7 @@ class le extends Lr {
|
|
|
3160
3160
|
this.context = e.context, this.specializerSpecs = e.specialized || [], this.specialized = new Uint16Array(this.specializerSpecs.length);
|
|
3161
3161
|
for (let o = 0; o < this.specializerSpecs.length; o++)
|
|
3162
3162
|
this.specialized[o] = this.specializerSpecs[o].term;
|
|
3163
|
-
this.specializers = this.specializerSpecs.map(
|
|
3163
|
+
this.specializers = this.specializerSpecs.map(Ta), this.states = xe(e.states, Uint32Array), this.data = xe(e.stateData), this.goto = xe(e.goto), this.maxTerm = e.maxTerm, this.tokenizers = e.tokenizers.map((o) => typeof o == "number" ? new Ze(s, o) : o), this.topRules = e.topRules, this.dialects = e.dialects || {}, this.dynamicPrecedences = e.dynamicPrecedences || null, this.tokenPrecTable = e.tokenPrec, this.termNames = e.termNames || null, this.maxNode = this.nodeSet.types.length - 1, this.dialect = this.parseDialect(), this.top = this.topRules[Object.keys(this.topRules)[0]];
|
|
3164
3164
|
}
|
|
3165
3165
|
createParse(e, a, O) {
|
|
3166
3166
|
let r = new Ti(this, e, a, O);
|
|
@@ -3299,7 +3299,7 @@ class le extends Lr {
|
|
|
3299
3299
|
if (!i)
|
|
3300
3300
|
return O;
|
|
3301
3301
|
let s = Object.assign(Object.assign({}, O), { external: i.to });
|
|
3302
|
-
return a.specializers[r] =
|
|
3302
|
+
return a.specializers[r] = Ta(s), s;
|
|
3303
3303
|
})), e.contextTracker && (a.context = e.contextTracker), e.dialect && (a.dialect = this.parseDialect(e.dialect)), e.strict != null && (a.strict = e.strict), e.wrap && (a.wrappers = a.wrappers.concat(e.wrap)), e.bufferLength != null && (a.bufferLength = e.bufferLength), a;
|
|
3304
3304
|
}
|
|
3305
3305
|
/**
|
|
@@ -3378,14 +3378,14 @@ function xi(t) {
|
|
|
3378
3378
|
}
|
|
3379
3379
|
return e;
|
|
3380
3380
|
}
|
|
3381
|
-
function
|
|
3381
|
+
function Ta(t) {
|
|
3382
3382
|
if (t.external) {
|
|
3383
3383
|
let e = t.extend ? 1 : 0;
|
|
3384
3384
|
return (a, O) => t.external(a, O) << 1 | e;
|
|
3385
3385
|
}
|
|
3386
3386
|
return t.get;
|
|
3387
3387
|
}
|
|
3388
|
-
const _i = 99,
|
|
3388
|
+
const _i = 99, Xa = 1, Wi = 100, Yi = 101, xa = 2, YO = [
|
|
3389
3389
|
9,
|
|
3390
3390
|
10,
|
|
3391
3391
|
11,
|
|
@@ -3411,7 +3411,7 @@ const _i = 99, Ta = 1, Wi = 100, Yi = 101, Xa = 2, YO = [
|
|
|
3411
3411
|
8239,
|
|
3412
3412
|
8287,
|
|
3413
3413
|
12288
|
|
3414
|
-
], Ri = 58, qi = 40, RO = 95, Ci = 91,
|
|
3414
|
+
], Ri = 58, qi = 40, RO = 95, Ci = 91, Je = 45, Ui = 46, ji = 35, zi = 37, Vi = 38, Gi = 92, Ai = 10;
|
|
3415
3415
|
function qe(t) {
|
|
3416
3416
|
return t >= 65 && t <= 90 || t >= 97 && t <= 122 || t >= 161;
|
|
3417
3417
|
}
|
|
@@ -3421,28 +3421,28 @@ function qO(t) {
|
|
|
3421
3421
|
const Ei = new z((t, e) => {
|
|
3422
3422
|
for (let a = !1, O = 0, r = 0; ; r++) {
|
|
3423
3423
|
let { next: i } = t;
|
|
3424
|
-
if (qe(i) || i ==
|
|
3425
|
-
!a && (i !=
|
|
3424
|
+
if (qe(i) || i == Je || i == RO || a && qO(i))
|
|
3425
|
+
!a && (i != Je || r > 0) && (a = !0), O === r && i == Je && O++, t.advance();
|
|
3426
3426
|
else if (i == Gi && t.peek(1) != Ai)
|
|
3427
3427
|
t.advance(), t.next > -1 && t.advance(), a = !0;
|
|
3428
3428
|
else {
|
|
3429
|
-
a && t.acceptToken(i == qi ? Wi : O == 2 && e.canShift(
|
|
3429
|
+
a && t.acceptToken(i == qi ? Wi : O == 2 && e.canShift(xa) ? xa : Yi);
|
|
3430
3430
|
break;
|
|
3431
3431
|
}
|
|
3432
3432
|
}
|
|
3433
3433
|
}), Hi = new z((t) => {
|
|
3434
3434
|
if (YO.includes(t.peek(-1))) {
|
|
3435
3435
|
let { next: e } = t;
|
|
3436
|
-
(qe(e) || e == RO || e == ji || e == Ui || e == Ci || e == Ri && qe(t.peek(1)) || e ==
|
|
3436
|
+
(qe(e) || e == RO || e == ji || e == Ui || e == Ci || e == Ri && qe(t.peek(1)) || e == Je || e == Vi) && t.acceptToken(_i);
|
|
3437
3437
|
}
|
|
3438
3438
|
}), Bi = new z((t) => {
|
|
3439
3439
|
if (!YO.includes(t.peek(-1))) {
|
|
3440
3440
|
let { next: e } = t;
|
|
3441
|
-
if (e == zi && (t.advance(), t.acceptToken(
|
|
3441
|
+
if (e == zi && (t.advance(), t.acceptToken(Xa)), qe(e)) {
|
|
3442
3442
|
do
|
|
3443
3443
|
t.advance();
|
|
3444
3444
|
while (qe(t.next) || qO(t.next));
|
|
3445
|
-
t.acceptToken(
|
|
3445
|
+
t.acceptToken(Xa);
|
|
3446
3446
|
}
|
|
3447
3447
|
}
|
|
3448
3448
|
}), Ii = Ue({
|
|
@@ -3494,22 +3494,22 @@ const Ei = new z((t, e) => {
|
|
|
3494
3494
|
skippedNodes: [0, 3, 87],
|
|
3495
3495
|
repeatNodeCount: 11,
|
|
3496
3496
|
tokenData: "J^~R!^OX$}X^%u^p$}pq%uqr)Xrs.Rst/utu6duv$}vw7^wx7oxy9^yz9oz{9t{|:_|}?Q}!O?c!O!P@Q!P!Q@i!Q![Ab![!]B]!]!^CX!^!_$}!_!`Cj!`!aC{!a!b$}!b!cDw!c!}$}!}#OFa#O#P$}#P#QFr#Q#R6d#R#T$}#T#UGT#U#c$}#c#dHf#d#o$}#o#pH{#p#q6d#q#rI^#r#sIo#s#y$}#y#z%u#z$f$}$f$g%u$g#BY$}#BY#BZ%u#BZ$IS$}$IS$I_%u$I_$I|$}$I|$JO%u$JO$JT$}$JT$JU%u$JU$KV$}$KV$KW%u$KW&FU$}&FU&FV%u&FV;'S$};'S;=`JW<%lO$}`%QSOy%^z;'S%^;'S;=`%o<%lO%^`%cSo`Oy%^z;'S%^;'S;=`%o<%lO%^`%rP;=`<%l%^~%zh#Z~OX%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UOy%^z;'S%^;'S;=`%o<%lO%^nIcS!S^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!RQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",
|
|
3497
|
-
tokenizers: [Hi, Bi, Ei, 1, 2, 3, 4, new
|
|
3497
|
+
tokenizers: [Hi, Bi, Ei, 1, 2, 3, 4, new st("m~RRYZ[z{a~~g~aO#^~~dP!P!Qg~lO#_~~", 28, 105)],
|
|
3498
3498
|
topRules: { StyleSheet: [0, 4], Styles: [1, 86] },
|
|
3499
3499
|
specialized: [{ term: 100, get: (t) => Di[t] || -1 }, { term: 58, get: (t) => Ni[t] || -1 }, { term: 101, get: (t) => Mi[t] || -1 }],
|
|
3500
3500
|
tokenPrec: 1200
|
|
3501
3501
|
});
|
|
3502
|
-
let
|
|
3503
|
-
function
|
|
3504
|
-
if (!
|
|
3502
|
+
let Zt = null;
|
|
3503
|
+
function yt() {
|
|
3504
|
+
if (!Zt && typeof document == "object" && document.body) {
|
|
3505
3505
|
let { style: t } = document.body, e = [], a = /* @__PURE__ */ new Set();
|
|
3506
3506
|
for (let O in t)
|
|
3507
3507
|
O != "cssText" && O != "cssFloat" && typeof t[O] == "string" && (/[A-Z]/.test(O) && (O = O.replace(/[A-Z]/g, (r) => "-" + r.toLowerCase())), a.has(O) || (e.push(O), a.add(O)));
|
|
3508
|
-
|
|
3508
|
+
Zt = e.sort().map((O) => ({ type: "property", label: O }));
|
|
3509
3509
|
}
|
|
3510
|
-
return
|
|
3510
|
+
return Zt || [];
|
|
3511
3511
|
}
|
|
3512
|
-
const
|
|
3512
|
+
const _a = /* @__PURE__ */ [
|
|
3513
3513
|
"active",
|
|
3514
3514
|
"after",
|
|
3515
3515
|
"any-link",
|
|
@@ -3573,7 +3573,7 @@ const xa = /* @__PURE__ */ [
|
|
|
3573
3573
|
"valid",
|
|
3574
3574
|
"visited",
|
|
3575
3575
|
"where"
|
|
3576
|
-
].map((t) => ({ type: "class", label: t })),
|
|
3576
|
+
].map((t) => ({ type: "class", label: t })), Wa = /* @__PURE__ */ [
|
|
3577
3577
|
"above",
|
|
3578
3578
|
"absolute",
|
|
3579
3579
|
"activeborder",
|
|
@@ -4223,7 +4223,7 @@ function Ki(t, e) {
|
|
|
4223
4223
|
let O = (a = t.parent) === null || a === void 0 ? void 0 : a.firstChild;
|
|
4224
4224
|
return (O == null ? void 0 : O.name) != "Callee" ? !1 : e.sliceString(O.from, O.to) == "var";
|
|
4225
4225
|
}
|
|
4226
|
-
const
|
|
4226
|
+
const Ya = /* @__PURE__ */ new dO(), eo = ["Declaration"];
|
|
4227
4227
|
function to(t) {
|
|
4228
4228
|
for (let e = t; ; ) {
|
|
4229
4229
|
if (e.type.isTop)
|
|
@@ -4234,16 +4234,16 @@ function to(t) {
|
|
|
4234
4234
|
}
|
|
4235
4235
|
function CO(t, e, a) {
|
|
4236
4236
|
if (e.to - e.from > 4096) {
|
|
4237
|
-
let O =
|
|
4237
|
+
let O = Ya.get(e);
|
|
4238
4238
|
if (O)
|
|
4239
4239
|
return O;
|
|
4240
|
-
let r = [], i = /* @__PURE__ */ new Set(), s = e.cursor(
|
|
4240
|
+
let r = [], i = /* @__PURE__ */ new Set(), s = e.cursor(Ft.IncludeAnonymous);
|
|
4241
4241
|
if (s.firstChild())
|
|
4242
4242
|
do
|
|
4243
4243
|
for (let o of CO(t, s.node, a))
|
|
4244
4244
|
i.has(o.label) || (i.add(o.label), r.push(o));
|
|
4245
4245
|
while (s.nextSibling());
|
|
4246
|
-
return
|
|
4246
|
+
return Ya.set(e, r), r;
|
|
4247
4247
|
} else {
|
|
4248
4248
|
let O = [], r = /* @__PURE__ */ new Set();
|
|
4249
4249
|
return e.cursor().iterate((i) => {
|
|
@@ -4258,11 +4258,11 @@ function CO(t, e, a) {
|
|
|
4258
4258
|
const ao = (t) => (e) => {
|
|
4259
4259
|
let { state: a, pos: O } = e, r = Oe(a).resolveInner(O, -1), i = r.type.isError && r.from == r.to - 1 && a.doc.sliceString(r.from, r.to) == "-";
|
|
4260
4260
|
if (r.name == "PropertyName" || (i || r.name == "TagName") && /^(Block|Styles)$/.test(r.resolve(r.to).name))
|
|
4261
|
-
return { from: r.from, options:
|
|
4261
|
+
return { from: r.from, options: yt(), validFor: ie };
|
|
4262
4262
|
if (r.name == "ValueName")
|
|
4263
|
-
return { from: r.from, options:
|
|
4263
|
+
return { from: r.from, options: Wa, validFor: ie };
|
|
4264
4264
|
if (r.name == "PseudoClassName")
|
|
4265
|
-
return { from: r.from, options:
|
|
4265
|
+
return { from: r.from, options: _a, validFor: ie };
|
|
4266
4266
|
if (t(r) || (e.explicit || i) && Ki(r, a.doc))
|
|
4267
4267
|
return {
|
|
4268
4268
|
from: t(r) || i ? r.from : O,
|
|
@@ -4272,14 +4272,14 @@ const ao = (t) => (e) => {
|
|
|
4272
4272
|
if (r.name == "TagName") {
|
|
4273
4273
|
for (let { parent: n } = r; n; n = n.parent)
|
|
4274
4274
|
if (n.name == "Block")
|
|
4275
|
-
return { from: r.from, options:
|
|
4275
|
+
return { from: r.from, options: yt(), validFor: ie };
|
|
4276
4276
|
return { from: r.from, options: Fi, validFor: ie };
|
|
4277
4277
|
}
|
|
4278
4278
|
if (!e.explicit)
|
|
4279
4279
|
return null;
|
|
4280
4280
|
let s = r.resolve(O), o = s.childBefore(O);
|
|
4281
|
-
return o && o.name == ":" && s.name == "PseudoClassSelector" ? { from: O, options:
|
|
4282
|
-
}, Oo = /* @__PURE__ */ ao((t) => t.name == "VariableName"),
|
|
4281
|
+
return o && o.name == ":" && s.name == "PseudoClassSelector" ? { from: O, options: _a, validFor: ie } : o && o.name == ":" && s.name == "Declaration" || s.name == "ArgList" ? { from: O, options: Wa, validFor: ie } : s.name == "Block" || s.name == "Styles" ? { from: O, options: yt(), validFor: ie } : null;
|
|
4282
|
+
}, Oo = /* @__PURE__ */ ao((t) => t.name == "VariableName"), it = /* @__PURE__ */ ze.define({
|
|
4283
4283
|
name: "css",
|
|
4284
4284
|
parser: /* @__PURE__ */ Li.configure({
|
|
4285
4285
|
props: [
|
|
@@ -4287,7 +4287,7 @@ const ao = (t) => (e) => {
|
|
|
4287
4287
|
Declaration: /* @__PURE__ */ $e()
|
|
4288
4288
|
}),
|
|
4289
4289
|
/* @__PURE__ */ Ge.add({
|
|
4290
|
-
"Block KeyframeList":
|
|
4290
|
+
"Block KeyframeList": mt
|
|
4291
4291
|
})
|
|
4292
4292
|
]
|
|
4293
4293
|
}),
|
|
@@ -4298,9 +4298,9 @@ const ao = (t) => (e) => {
|
|
|
4298
4298
|
}
|
|
4299
4299
|
});
|
|
4300
4300
|
function UO() {
|
|
4301
|
-
return new je(
|
|
4301
|
+
return new je(it, it.data.of({ autocomplete: Oo }));
|
|
4302
4302
|
}
|
|
4303
|
-
const ro = 54, so = 1, io = 55, oo = 2, no = 56, lo = 3,
|
|
4303
|
+
const ro = 54, so = 1, io = 55, oo = 2, no = 56, lo = 3, Ra = 4, co = 5, ot = 6, jO = 7, zO = 8, VO = 9, GO = 10, po = 11, uo = 12, ho = 13, vt = 57, fo = 14, qa = 58, AO = 20, mo = 22, EO = 23, Qo = 24, zt = 26, HO = 27, go = 28, So = 31, Po = 34, $o = 36, bo = 37, Zo = 0, yo = 1, vo = {
|
|
4304
4304
|
area: !0,
|
|
4305
4305
|
base: !0,
|
|
4306
4306
|
br: !0,
|
|
@@ -4332,7 +4332,7 @@ const ro = 54, so = 1, io = 55, oo = 2, no = 56, lo = 3, Ya = 4, co = 5, it = 6,
|
|
|
4332
4332
|
tfoot: !0,
|
|
4333
4333
|
th: !0,
|
|
4334
4334
|
tr: !0
|
|
4335
|
-
},
|
|
4335
|
+
}, Ca = {
|
|
4336
4336
|
dd: { dd: !0, dt: !0 },
|
|
4337
4337
|
dt: { dd: !0, dt: !0 },
|
|
4338
4338
|
li: { li: !0 },
|
|
@@ -4382,36 +4382,36 @@ function ko(t) {
|
|
|
4382
4382
|
function BO(t) {
|
|
4383
4383
|
return t == 9 || t == 10 || t == 13 || t == 32;
|
|
4384
4384
|
}
|
|
4385
|
-
let
|
|
4386
|
-
function
|
|
4385
|
+
let Ua = null, ja = null, za = 0;
|
|
4386
|
+
function Vt(t, e) {
|
|
4387
4387
|
let a = t.pos + e;
|
|
4388
|
-
if (
|
|
4389
|
-
return
|
|
4388
|
+
if (za == a && ja == t)
|
|
4389
|
+
return Ua;
|
|
4390
4390
|
let O = t.peek(e);
|
|
4391
4391
|
for (; BO(O); )
|
|
4392
4392
|
O = t.peek(++e);
|
|
4393
4393
|
let r = "";
|
|
4394
4394
|
for (; ko(O); )
|
|
4395
4395
|
r += String.fromCharCode(O), O = t.peek(++e);
|
|
4396
|
-
return
|
|
4396
|
+
return ja = t, za = a, Ua = r ? r.toLowerCase() : O == To || O == Xo ? void 0 : null;
|
|
4397
4397
|
}
|
|
4398
|
-
const IO = 60,
|
|
4399
|
-
function
|
|
4398
|
+
const IO = 60, nt = 62, ra = 47, To = 63, Xo = 33, xo = 45;
|
|
4399
|
+
function Va(t, e) {
|
|
4400
4400
|
this.name = t, this.parent = e, this.hash = e ? e.hash : 0;
|
|
4401
4401
|
for (let a = 0; a < t.length; a++)
|
|
4402
4402
|
this.hash += (this.hash << 4) + t.charCodeAt(a) + (t.charCodeAt(a) << 8);
|
|
4403
4403
|
}
|
|
4404
|
-
const _o = [
|
|
4404
|
+
const _o = [ot, GO, jO, zO, VO], Wo = new Oa({
|
|
4405
4405
|
start: null,
|
|
4406
4406
|
shift(t, e, a, O) {
|
|
4407
|
-
return _o.indexOf(e) > -1 ? new
|
|
4407
|
+
return _o.indexOf(e) > -1 ? new Va(Vt(O, 1) || "", t) : t;
|
|
4408
4408
|
},
|
|
4409
4409
|
reduce(t, e) {
|
|
4410
4410
|
return e == AO && t ? t.parent : t;
|
|
4411
4411
|
},
|
|
4412
4412
|
reuse(t, e, a, O) {
|
|
4413
4413
|
let r = e.type.id;
|
|
4414
|
-
return r ==
|
|
4414
|
+
return r == ot || r == $o ? new Va(Vt(O, 1) || "", t) : t;
|
|
4415
4415
|
},
|
|
4416
4416
|
hash(t) {
|
|
4417
4417
|
return t ? t.hash : 0;
|
|
@@ -4419,23 +4419,23 @@ const _o = [it, GO, jO, zO, VO], Wo = new ta({
|
|
|
4419
4419
|
strict: !1
|
|
4420
4420
|
}), Yo = new z((t, e) => {
|
|
4421
4421
|
if (t.next != IO) {
|
|
4422
|
-
t.next < 0 && e.context && t.acceptToken(
|
|
4422
|
+
t.next < 0 && e.context && t.acceptToken(vt);
|
|
4423
4423
|
return;
|
|
4424
4424
|
}
|
|
4425
4425
|
t.advance();
|
|
4426
|
-
let a = t.next ==
|
|
4426
|
+
let a = t.next == ra;
|
|
4427
4427
|
a && t.advance();
|
|
4428
|
-
let O =
|
|
4428
|
+
let O = Vt(t, 0);
|
|
4429
4429
|
if (O === void 0)
|
|
4430
4430
|
return;
|
|
4431
4431
|
if (!O)
|
|
4432
|
-
return t.acceptToken(a ? fo :
|
|
4432
|
+
return t.acceptToken(a ? fo : ot);
|
|
4433
4433
|
let r = e.context ? e.context.name : null;
|
|
4434
4434
|
if (a) {
|
|
4435
4435
|
if (O == r)
|
|
4436
4436
|
return t.acceptToken(po);
|
|
4437
4437
|
if (r && wo[r])
|
|
4438
|
-
return t.acceptToken(
|
|
4438
|
+
return t.acceptToken(vt, -2);
|
|
4439
4439
|
if (e.dialectEnabled(Zo))
|
|
4440
4440
|
return t.acceptToken(uo);
|
|
4441
4441
|
for (let i = e.context; i; i = i.parent)
|
|
@@ -4451,18 +4451,18 @@ const _o = [it, GO, jO, zO, VO], Wo = new ta({
|
|
|
4451
4451
|
return t.acceptToken(VO);
|
|
4452
4452
|
if (vo.hasOwnProperty(O))
|
|
4453
4453
|
return t.acceptToken(GO);
|
|
4454
|
-
r &&
|
|
4454
|
+
r && Ca[r] && Ca[r][O] ? t.acceptToken(vt, -1) : t.acceptToken(ot);
|
|
4455
4455
|
}
|
|
4456
4456
|
}, { contextual: !0 }), Ro = new z((t) => {
|
|
4457
4457
|
for (let e = 0, a = 0; ; a++) {
|
|
4458
4458
|
if (t.next < 0) {
|
|
4459
|
-
a && t.acceptToken(
|
|
4459
|
+
a && t.acceptToken(qa);
|
|
4460
4460
|
break;
|
|
4461
4461
|
}
|
|
4462
4462
|
if (t.next == xo)
|
|
4463
4463
|
e++;
|
|
4464
|
-
else if (t.next ==
|
|
4465
|
-
a >= 3 && t.acceptToken(
|
|
4464
|
+
else if (t.next == nt && e >= 2) {
|
|
4465
|
+
a >= 3 && t.acceptToken(qa, -2);
|
|
4466
4466
|
break;
|
|
4467
4467
|
} else
|
|
4468
4468
|
e = 0;
|
|
@@ -4476,13 +4476,13 @@ function qo(t) {
|
|
|
4476
4476
|
return !1;
|
|
4477
4477
|
}
|
|
4478
4478
|
const Co = new z((t, e) => {
|
|
4479
|
-
if (t.next ==
|
|
4479
|
+
if (t.next == ra && t.peek(1) == nt) {
|
|
4480
4480
|
let a = e.dialectEnabled(yo) || qo(e.context);
|
|
4481
|
-
t.acceptToken(a ? co :
|
|
4481
|
+
t.acceptToken(a ? co : Ra, 2);
|
|
4482
4482
|
} else
|
|
4483
|
-
t.next ==
|
|
4483
|
+
t.next == nt && t.acceptToken(Ra, 1);
|
|
4484
4484
|
});
|
|
4485
|
-
function
|
|
4485
|
+
function sa(t, e, a) {
|
|
4486
4486
|
let O = 2 + t.length;
|
|
4487
4487
|
return new z((r) => {
|
|
4488
4488
|
for (let i = 0, s = 0, o = 0; ; o++) {
|
|
@@ -4490,11 +4490,11 @@ function Oa(t, e, a) {
|
|
|
4490
4490
|
o && r.acceptToken(e);
|
|
4491
4491
|
break;
|
|
4492
4492
|
}
|
|
4493
|
-
if (i == 0 && r.next == IO || i == 1 && r.next ==
|
|
4493
|
+
if (i == 0 && r.next == IO || i == 1 && r.next == ra || i >= 2 && i < O && r.next == t.charCodeAt(i - 2))
|
|
4494
4494
|
i++, s++;
|
|
4495
4495
|
else if ((i == 2 || i == O) && BO(r.next))
|
|
4496
4496
|
s++;
|
|
4497
|
-
else if (i == O && r.next ==
|
|
4497
|
+
else if (i == O && r.next == nt) {
|
|
4498
4498
|
o > s ? r.acceptToken(e, -s) : r.acceptToken(a, -(s - 2));
|
|
4499
4499
|
break;
|
|
4500
4500
|
} else if ((r.next == 10 || r.next == 13) && o) {
|
|
@@ -4506,7 +4506,7 @@ function Oa(t, e, a) {
|
|
|
4506
4506
|
}
|
|
4507
4507
|
});
|
|
4508
4508
|
}
|
|
4509
|
-
const Uo =
|
|
4509
|
+
const Uo = sa("script", ro, so), jo = sa("style", io, oo), zo = sa("textarea", no, lo), Vo = Ue({
|
|
4510
4510
|
"Text RawText": p.content,
|
|
4511
4511
|
"StartTag StartCloseTag SelfClosingEndTag EndTag": p.angleBracket,
|
|
4512
4512
|
TagName: p.tagName,
|
|
@@ -4544,16 +4544,16 @@ const Uo = Oa("script", ro, so), jo = Oa("style", io, oo), zo = Oa("textarea", n
|
|
|
4544
4544
|
function DO(t, e) {
|
|
4545
4545
|
let a = /* @__PURE__ */ Object.create(null);
|
|
4546
4546
|
for (let O of t.getChildren(EO)) {
|
|
4547
|
-
let r = O.getChild(Qo), i = O.getChild(
|
|
4548
|
-
r && (a[e.read(r.from, r.to)] = i ? i.type.id ==
|
|
4547
|
+
let r = O.getChild(Qo), i = O.getChild(zt) || O.getChild(HO);
|
|
4548
|
+
r && (a[e.read(r.from, r.to)] = i ? i.type.id == zt ? e.read(i.from + 1, i.to - 1) : e.read(i.from, i.to) : "");
|
|
4549
4549
|
}
|
|
4550
4550
|
return a;
|
|
4551
4551
|
}
|
|
4552
|
-
function
|
|
4552
|
+
function Ga(t, e) {
|
|
4553
4553
|
let a = t.getChild(mo);
|
|
4554
4554
|
return a ? e.read(a.from, a.to) : " ";
|
|
4555
4555
|
}
|
|
4556
|
-
function
|
|
4556
|
+
function wt(t, e, a) {
|
|
4557
4557
|
let O;
|
|
4558
4558
|
for (let r of a)
|
|
4559
4559
|
if (!r.attrs || r.attrs(O || (O = DO(t.node.parent.firstChild, e))))
|
|
@@ -4570,13 +4570,13 @@ function NO(t = [], e = []) {
|
|
|
4570
4570
|
return es((o, n) => {
|
|
4571
4571
|
let l = o.type.id;
|
|
4572
4572
|
if (l == go)
|
|
4573
|
-
return
|
|
4573
|
+
return wt(o, n, a);
|
|
4574
4574
|
if (l == So)
|
|
4575
|
-
return
|
|
4575
|
+
return wt(o, n, O);
|
|
4576
4576
|
if (l == Po)
|
|
4577
|
-
return
|
|
4577
|
+
return wt(o, n, r);
|
|
4578
4578
|
if (l == AO && i.length) {
|
|
4579
|
-
let c = o.node, d = c.firstChild, h = d &&
|
|
4579
|
+
let c = o.node, d = c.firstChild, h = d && Ga(d, n), f;
|
|
4580
4580
|
if (h) {
|
|
4581
4581
|
for (let g of i)
|
|
4582
4582
|
if (g.tag == h && (!g.attrs || g.attrs(f || (f = DO(c, n))))) {
|
|
@@ -4592,10 +4592,10 @@ function NO(t = [], e = []) {
|
|
|
4592
4592
|
let h = s[n.read(d.from, d.to)];
|
|
4593
4593
|
if (h)
|
|
4594
4594
|
for (let f of h) {
|
|
4595
|
-
if (f.tagName && f.tagName !=
|
|
4595
|
+
if (f.tagName && f.tagName != Ga(c.parent, n))
|
|
4596
4596
|
continue;
|
|
4597
4597
|
let g = c.lastChild;
|
|
4598
|
-
if (g.type.id ==
|
|
4598
|
+
if (g.type.id == zt) {
|
|
4599
4599
|
let y = g.from + 1, _ = g.lastChild, W = g.to - (_ && _.isError ? 0 : 1);
|
|
4600
4600
|
if (W > y)
|
|
4601
4601
|
return { parser: f.parser, overlay: [{ from: y, to: W }] };
|
|
@@ -4607,7 +4607,7 @@ function NO(t = [], e = []) {
|
|
|
4607
4607
|
return null;
|
|
4608
4608
|
});
|
|
4609
4609
|
}
|
|
4610
|
-
const Ao = 309,
|
|
4610
|
+
const Ao = 309, Aa = 1, Eo = 2, Ho = 3, Bo = 310, Io = 312, Do = 313, No = 4, Mo = 5, Lo = 0, Gt = [
|
|
4611
4611
|
9,
|
|
4612
4612
|
10,
|
|
4613
4613
|
11,
|
|
@@ -4633,7 +4633,7 @@ const Ao = 309, Ga = 1, Eo = 2, Ho = 3, Bo = 310, Io = 312, Do = 313, No = 4, Mo
|
|
|
4633
4633
|
8239,
|
|
4634
4634
|
8287,
|
|
4635
4635
|
12288
|
|
4636
|
-
], MO = 125, Fo = 59,
|
|
4636
|
+
], MO = 125, Fo = 59, At = 47, Jo = 42, Ko = 43, en = 45, tn = 60, an = 44, On = new Oa({
|
|
4637
4637
|
start: !1,
|
|
4638
4638
|
shift(t, e) {
|
|
4639
4639
|
return e == No || e == Mo || e == Io ? t : e == Do;
|
|
@@ -4644,34 +4644,34 @@ const Ao = 309, Ga = 1, Eo = 2, Ho = 3, Bo = 310, Io = 312, Do = 313, No = 4, Mo
|
|
|
4644
4644
|
(a == MO || a == -1 || e.context) && t.acceptToken(Bo);
|
|
4645
4645
|
}, { contextual: !0, fallback: !0 }), sn = new z((t, e) => {
|
|
4646
4646
|
let { next: a } = t, O;
|
|
4647
|
-
|
|
4647
|
+
Gt.indexOf(a) > -1 || a == At && ((O = t.peek(1)) == At || O == Jo) || a != MO && a != Fo && a != -1 && !e.context && t.acceptToken(Ao);
|
|
4648
4648
|
}, { contextual: !0 }), on = new z((t, e) => {
|
|
4649
4649
|
let { next: a } = t;
|
|
4650
4650
|
if ((a == Ko || a == en) && (t.advance(), a == t.next)) {
|
|
4651
4651
|
t.advance();
|
|
4652
|
-
let O = !e.context && e.canShift(
|
|
4653
|
-
t.acceptToken(O ?
|
|
4652
|
+
let O = !e.context && e.canShift(Aa);
|
|
4653
|
+
t.acceptToken(O ? Aa : Eo);
|
|
4654
4654
|
}
|
|
4655
4655
|
}, { contextual: !0 });
|
|
4656
|
-
function
|
|
4656
|
+
function kt(t, e) {
|
|
4657
4657
|
return t >= 65 && t <= 90 || t >= 97 && t <= 122 || t == 95 || t >= 192 || !e && t >= 48 && t <= 57;
|
|
4658
4658
|
}
|
|
4659
4659
|
const nn = new z((t, e) => {
|
|
4660
|
-
if (t.next != tn || !e.dialectEnabled(Lo) || (t.advance(), t.next ==
|
|
4660
|
+
if (t.next != tn || !e.dialectEnabled(Lo) || (t.advance(), t.next == At))
|
|
4661
4661
|
return;
|
|
4662
4662
|
let a = 0;
|
|
4663
|
-
for (;
|
|
4663
|
+
for (; Gt.indexOf(t.next) > -1; )
|
|
4664
4664
|
t.advance(), a++;
|
|
4665
|
-
if (
|
|
4666
|
-
for (t.advance(), a++;
|
|
4665
|
+
if (kt(t.next, !0)) {
|
|
4666
|
+
for (t.advance(), a++; kt(t.next, !1); )
|
|
4667
4667
|
t.advance(), a++;
|
|
4668
|
-
for (;
|
|
4668
|
+
for (; Gt.indexOf(t.next) > -1; )
|
|
4669
4669
|
t.advance(), a++;
|
|
4670
4670
|
if (t.next == an)
|
|
4671
4671
|
return;
|
|
4672
4672
|
for (let O = 0; ; O++) {
|
|
4673
4673
|
if (O == 7) {
|
|
4674
|
-
if (!
|
|
4674
|
+
if (!kt(t.next, !0))
|
|
4675
4675
|
return;
|
|
4676
4676
|
break;
|
|
4677
4677
|
}
|
|
@@ -4755,7 +4755,7 @@ const nn = new z((t, e) => {
|
|
|
4755
4755
|
skippedNodes: [0, 4, 5, 271],
|
|
4756
4756
|
repeatNodeCount: 37,
|
|
4757
4757
|
tokenData: "$Fj(CSR!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#8g!R![#:v![!]#Gv!]!^#IS!^!_#J^!_!`#Ns!`!a$#_!a!b$(l!b!c$,k!c!}Er!}#O$-u#O#P$/P#P#Q$4h#Q#R$5r#R#SEr#S#T$7P#T#o$8Z#o#p$<k#p#q$=a#q#r$>q#r#s$?}#s$f%Z$f$g+g$g#BYEr#BY#BZ$AX#BZ$ISEr$IS$I_$AX$I_$I|Er$I|$I}$Dd$I}$JO$Dd$JO$JTEr$JT$JU$AX$JU$KVE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z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr",
|
|
4758
|
-
tokenizers: [sn, on, nn, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, rn, new
|
|
4758
|
+
tokenizers: [sn, on, nn, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, rn, new st("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOt~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!R~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(Z~~", 141, 332), new st("j~RQYZXz{^~^O'x~~aP!P!Qd~iO'y~~", 25, 315)],
|
|
4759
4759
|
topRules: { Script: [0, 6], SingleExpression: [1, 269], SingleClassItem: [2, 270] },
|
|
4760
4760
|
dialects: { jsx: 0, ts: 14614 },
|
|
4761
4761
|
dynamicPrecedences: { 69: 1, 79: 1, 81: 1, 165: 1, 193: 1 },
|
|
@@ -4845,7 +4845,7 @@ const nn = new z((t, e) => {
|
|
|
4845
4845
|
detail: "definition",
|
|
4846
4846
|
type: "keyword"
|
|
4847
4847
|
})
|
|
4848
|
-
]),
|
|
4848
|
+
]), Ea = /* @__PURE__ */ new dO(), FO = /* @__PURE__ */ new Set([
|
|
4849
4849
|
"Script",
|
|
4850
4850
|
"Block",
|
|
4851
4851
|
"FunctionExpression",
|
|
@@ -4876,7 +4876,7 @@ const fn = ["FunctionDeclaration"], mn = {
|
|
|
4876
4876
|
__proto__: null
|
|
4877
4877
|
};
|
|
4878
4878
|
function JO(t, e) {
|
|
4879
|
-
let a =
|
|
4879
|
+
let a = Ea.get(e);
|
|
4880
4880
|
if (a)
|
|
4881
4881
|
return a;
|
|
4882
4882
|
let O = [], r = !0;
|
|
@@ -4884,7 +4884,7 @@ function JO(t, e) {
|
|
|
4884
4884
|
let n = t.sliceString(s.from, s.to);
|
|
4885
4885
|
O.push({ label: n, type: o });
|
|
4886
4886
|
}
|
|
4887
|
-
return e.cursor(
|
|
4887
|
+
return e.cursor(Ft.IncludeAnonymous).iterate((s) => {
|
|
4888
4888
|
if (r)
|
|
4889
4889
|
r = !1;
|
|
4890
4890
|
else if (s.name) {
|
|
@@ -4896,9 +4896,9 @@ function JO(t, e) {
|
|
|
4896
4896
|
O.push(o);
|
|
4897
4897
|
return !1;
|
|
4898
4898
|
}
|
|
4899
|
-
}),
|
|
4899
|
+
}), Ea.set(e, O), O;
|
|
4900
4900
|
}
|
|
4901
|
-
const
|
|
4901
|
+
const Ha = /^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/, KO = [
|
|
4902
4902
|
"TemplateString",
|
|
4903
4903
|
"String",
|
|
4904
4904
|
"RegExp",
|
|
@@ -4918,7 +4918,7 @@ function Qn(t) {
|
|
|
4918
4918
|
let e = Oe(t.state).resolveInner(t.pos, -1);
|
|
4919
4919
|
if (KO.indexOf(e.name) > -1)
|
|
4920
4920
|
return null;
|
|
4921
|
-
let a = e.name == "VariableName" || e.to - e.from < 20 &&
|
|
4921
|
+
let a = e.name == "VariableName" || e.to - e.from < 20 && Ha.test(t.state.sliceDoc(e.from, e.to));
|
|
4922
4922
|
if (!a && !t.explicit)
|
|
4923
4923
|
return null;
|
|
4924
4924
|
let O = [];
|
|
@@ -4927,7 +4927,7 @@ function Qn(t) {
|
|
|
4927
4927
|
return {
|
|
4928
4928
|
options: O,
|
|
4929
4929
|
from: a ? e.from : t.pos,
|
|
4930
|
-
validFor:
|
|
4930
|
+
validFor: Ha
|
|
4931
4931
|
};
|
|
4932
4932
|
}
|
|
4933
4933
|
const ee = /* @__PURE__ */ ze.define({
|
|
@@ -4942,7 +4942,7 @@ const ee = /* @__PURE__ */ ze.define({
|
|
|
4942
4942
|
let e = t.textAfter, a = /^\s*\}/.test(e), O = /^\s*(case|default)\b/.test(e);
|
|
4943
4943
|
return t.baseIndent + (a ? 0 : O ? 1 : 2) * t.unit;
|
|
4944
4944
|
},
|
|
4945
|
-
Block: /* @__PURE__ */
|
|
4945
|
+
Block: /* @__PURE__ */ qt({ closing: "}" }),
|
|
4946
4946
|
ArrowFunction: (t) => t.baseIndent + t.unit,
|
|
4947
4947
|
"TemplateString BlockComment": () => null,
|
|
4948
4948
|
"Statement Property": /* @__PURE__ */ $e({ except: /^{/ }),
|
|
@@ -4959,7 +4959,7 @@ const ee = /* @__PURE__ */ ze.define({
|
|
|
4959
4959
|
}
|
|
4960
4960
|
}),
|
|
4961
4961
|
/* @__PURE__ */ Ge.add({
|
|
4962
|
-
"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":
|
|
4962
|
+
"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType": mt,
|
|
4963
4963
|
BlockComment(t) {
|
|
4964
4964
|
return { from: t.from + 2, to: t.to - 2 };
|
|
4965
4965
|
}
|
|
@@ -4977,10 +4977,10 @@ const ee = /* @__PURE__ */ ze.define({
|
|
|
4977
4977
|
facet: /* @__PURE__ */ as({ commentTokens: { block: { open: "{/*", close: "*/}" } } })
|
|
4978
4978
|
}, tr = /* @__PURE__ */ ee.configure({ dialect: "ts" }, "typescript"), ar = /* @__PURE__ */ ee.configure({
|
|
4979
4979
|
dialect: "jsx",
|
|
4980
|
-
props: [/* @__PURE__ */
|
|
4980
|
+
props: [/* @__PURE__ */ pO.add((t) => t.isTop ? [er] : void 0)]
|
|
4981
4981
|
}), Or = /* @__PURE__ */ ee.configure({
|
|
4982
4982
|
dialect: "jsx ts",
|
|
4983
|
-
props: [/* @__PURE__ */
|
|
4983
|
+
props: [/* @__PURE__ */ pO.add((t) => t.isTop ? [er] : void 0)]
|
|
4984
4984
|
}, "typescript");
|
|
4985
4985
|
let rr = (t) => ({ label: t, type: "keyword" });
|
|
4986
4986
|
const sr = /* @__PURE__ */ "break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(rr), gn = /* @__PURE__ */ sr.concat(/* @__PURE__ */ ["declare", "implements", "private", "protected", "public"].map(rr));
|
|
@@ -5005,7 +5005,7 @@ function Pn(t) {
|
|
|
5005
5005
|
t = t.parent;
|
|
5006
5006
|
}
|
|
5007
5007
|
}
|
|
5008
|
-
function
|
|
5008
|
+
function Ba(t, e, a = t.length) {
|
|
5009
5009
|
for (let O = e == null ? void 0 : e.firstChild; O; O = O.nextSibling)
|
|
5010
5010
|
if (O.name == "JSXIdentifier" || O.name == "JSXBuiltin" || O.name == "JSXNamespacedName" || O.name == "JSXMemberExpression")
|
|
5011
5011
|
return t.sliceString(O.from, Math.min(O.to, a));
|
|
@@ -5022,13 +5022,13 @@ const $n = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navi
|
|
|
5022
5022
|
return { range: n, changes: { from: c, insert: "</>" } };
|
|
5023
5023
|
if (O == "/" && d.name == "JSXStartCloseTag") {
|
|
5024
5024
|
let f = d.parent, g = f.parent;
|
|
5025
|
-
if (g && f.from == c - 2 && ((h =
|
|
5025
|
+
if (g && f.from == c - 2 && ((h = Ba(s.doc, g.firstChild, c)) || ((l = g.firstChild) === null || l === void 0 ? void 0 : l.name) == "JSXFragmentTag")) {
|
|
5026
5026
|
let y = `${h}>`;
|
|
5027
5027
|
return { range: C.cursor(c + y.length, -1), changes: { from: c, insert: y } };
|
|
5028
5028
|
}
|
|
5029
5029
|
} else if (O == ">") {
|
|
5030
5030
|
let f = Pn(d);
|
|
5031
|
-
if (f && f.name == "JSXOpenTag" && !/^\/?>|^<\//.test(s.doc.sliceString(c, c + 2)) && (h =
|
|
5031
|
+
if (f && f.name == "JSXOpenTag" && !/^\/?>|^<\//.test(s.doc.sliceString(c, c + 2)) && (h = Ba(s.doc, f, c)))
|
|
5032
5032
|
return { range: n, changes: { from: c, insert: `</${h}>` } };
|
|
5033
5033
|
}
|
|
5034
5034
|
}
|
|
@@ -5038,7 +5038,7 @@ const $n = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navi
|
|
|
5038
5038
|
i,
|
|
5039
5039
|
s.update(o, { userEvent: "input.complete", scrollIntoView: !0 })
|
|
5040
5040
|
]), !0);
|
|
5041
|
-
}), Xe = ["_blank", "_self", "_top", "_parent"],
|
|
5041
|
+
}), Xe = ["_blank", "_self", "_top", "_parent"], Tt = ["ascii", "utf-8", "utf-16", "latin1", "latin1"], Xt = ["get", "post", "put", "delete"], xt = ["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"], I = ["true", "false"], S = {}, Zn = {
|
|
5042
5042
|
a: {
|
|
5043
5043
|
attrs: {
|
|
5044
5044
|
href: null,
|
|
@@ -5092,8 +5092,8 @@ const $n = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navi
|
|
|
5092
5092
|
value: null,
|
|
5093
5093
|
autofocus: ["autofocus"],
|
|
5094
5094
|
disabled: ["autofocus"],
|
|
5095
|
-
formenctype:
|
|
5096
|
-
formmethod:
|
|
5095
|
+
formenctype: xt,
|
|
5096
|
+
formmethod: Xt,
|
|
5097
5097
|
formnovalidate: ["novalidate"],
|
|
5098
5098
|
formtarget: Xe,
|
|
5099
5099
|
type: ["submit", "reset", "button"]
|
|
@@ -5139,10 +5139,10 @@ const $n = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navi
|
|
|
5139
5139
|
attrs: {
|
|
5140
5140
|
action: null,
|
|
5141
5141
|
name: null,
|
|
5142
|
-
"accept-charset":
|
|
5142
|
+
"accept-charset": Tt,
|
|
5143
5143
|
autocomplete: ["on", "off"],
|
|
5144
|
-
enctype:
|
|
5145
|
-
method:
|
|
5144
|
+
enctype: xt,
|
|
5145
|
+
method: Xt,
|
|
5146
5146
|
novalidate: ["novalidate"],
|
|
5147
5147
|
target: Xe
|
|
5148
5148
|
}
|
|
@@ -5209,8 +5209,8 @@ const $n = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navi
|
|
|
5209
5209
|
autofocus: ["autofocus"],
|
|
5210
5210
|
checked: ["checked"],
|
|
5211
5211
|
disabled: ["disabled"],
|
|
5212
|
-
formenctype:
|
|
5213
|
-
formmethod:
|
|
5212
|
+
formenctype: xt,
|
|
5213
|
+
formmethod: Xt,
|
|
5214
5214
|
formnovalidate: ["novalidate"],
|
|
5215
5215
|
formtarget: Xe,
|
|
5216
5216
|
multiple: ["multiple"],
|
|
@@ -5273,7 +5273,7 @@ const $n = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navi
|
|
|
5273
5273
|
meta: {
|
|
5274
5274
|
attrs: {
|
|
5275
5275
|
content: null,
|
|
5276
|
-
charset:
|
|
5276
|
+
charset: Tt,
|
|
5277
5277
|
name: ["viewport", "application-name", "author", "description", "generator", "keywords"],
|
|
5278
5278
|
"http-equiv": ["content-language", "content-type", "default-style", "refresh"]
|
|
5279
5279
|
}
|
|
@@ -5315,7 +5315,7 @@ const $n = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navi
|
|
|
5315
5315
|
src: null,
|
|
5316
5316
|
async: ["async"],
|
|
5317
5317
|
defer: ["defer"],
|
|
5318
|
-
charset:
|
|
5318
|
+
charset: Tt
|
|
5319
5319
|
}
|
|
5320
5320
|
},
|
|
5321
5321
|
section: S,
|
|
@@ -5459,12 +5459,12 @@ const $n = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navi
|
|
|
5459
5459
|
}, or = /* @__PURE__ */ "beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map((t) => "on" + t);
|
|
5460
5460
|
for (let t of or)
|
|
5461
5461
|
ir[t] = null;
|
|
5462
|
-
class
|
|
5462
|
+
class lt {
|
|
5463
5463
|
constructor(e, a) {
|
|
5464
5464
|
this.tags = Object.assign(Object.assign({}, Zn), e), this.globalAttrs = Object.assign(Object.assign({}, ir), a), this.allTags = Object.keys(this.tags), this.globalAttrNames = Object.keys(this.globalAttrs);
|
|
5465
5465
|
}
|
|
5466
5466
|
}
|
|
5467
|
-
|
|
5467
|
+
lt.default = /* @__PURE__ */ new lt();
|
|
5468
5468
|
function ye(t, e, a = t.length) {
|
|
5469
5469
|
if (!e)
|
|
5470
5470
|
return "";
|
|
@@ -5484,7 +5484,7 @@ function nr(t, e, a) {
|
|
|
5484
5484
|
let O = a.tags[ye(t, ve(e))];
|
|
5485
5485
|
return (O == null ? void 0 : O.children) || a.allTags;
|
|
5486
5486
|
}
|
|
5487
|
-
function
|
|
5487
|
+
function ia(t, e) {
|
|
5488
5488
|
let a = [];
|
|
5489
5489
|
for (let O = ve(e); O && !O.type.isTop; O = ve(O.parent)) {
|
|
5490
5490
|
let r = ye(t, O);
|
|
@@ -5495,12 +5495,12 @@ function ra(t, e) {
|
|
|
5495
5495
|
return a;
|
|
5496
5496
|
}
|
|
5497
5497
|
const lr = /^[:\-\.\w\u00b7-\uffff]*$/;
|
|
5498
|
-
function
|
|
5498
|
+
function Ia(t, e, a, O, r) {
|
|
5499
5499
|
let i = /\s*>/.test(t.sliceDoc(r, r + 5)) ? "" : ">", s = ve(a, !0);
|
|
5500
5500
|
return {
|
|
5501
5501
|
from: O,
|
|
5502
5502
|
to: r,
|
|
5503
|
-
options: nr(t.doc, s, e).map((o) => ({ label: o, type: "type" })).concat(
|
|
5503
|
+
options: nr(t.doc, s, e).map((o) => ({ label: o, type: "type" })).concat(ia(t.doc, a).map((o, n) => ({
|
|
5504
5504
|
label: "/" + o,
|
|
5505
5505
|
apply: "/" + o + i,
|
|
5506
5506
|
type: "type",
|
|
@@ -5509,12 +5509,12 @@ function Ba(t, e, a, O, r) {
|
|
|
5509
5509
|
validFor: /^\/?[:\-\.\w\u00b7-\uffff]*$/
|
|
5510
5510
|
};
|
|
5511
5511
|
}
|
|
5512
|
-
function
|
|
5512
|
+
function Da(t, e, a, O) {
|
|
5513
5513
|
let r = /\s*>/.test(t.sliceDoc(O, O + 5)) ? "" : ">";
|
|
5514
5514
|
return {
|
|
5515
5515
|
from: a,
|
|
5516
5516
|
to: O,
|
|
5517
|
-
options:
|
|
5517
|
+
options: ia(t.doc, e).map((i, s) => ({ label: i, apply: i + r, type: "type", boost: 99 - s })),
|
|
5518
5518
|
validFor: lr
|
|
5519
5519
|
};
|
|
5520
5520
|
}
|
|
@@ -5522,7 +5522,7 @@ function yn(t, e, a, O) {
|
|
|
5522
5522
|
let r = [], i = 0;
|
|
5523
5523
|
for (let s of nr(t.doc, a, e))
|
|
5524
5524
|
r.push({ label: "<" + s, type: "type" });
|
|
5525
|
-
for (let s of
|
|
5525
|
+
for (let s of ia(t.doc, a))
|
|
5526
5526
|
r.push({ label: "</" + s + ">", type: "type", boost: 99 - i++ });
|
|
5527
5527
|
return { from: O, to: O, options: r, validFor: /^<\/?[:\-\.\w\u00b7-\uffff]*$/ };
|
|
5528
5528
|
}
|
|
@@ -5561,10 +5561,10 @@ function kn(t, e) {
|
|
|
5561
5561
|
break;
|
|
5562
5562
|
i = r = o, s = n.from;
|
|
5563
5563
|
}
|
|
5564
|
-
return r.name == "TagName" ? r.parent && /CloseTag$/.test(r.parent.name) ?
|
|
5564
|
+
return r.name == "TagName" ? r.parent && /CloseTag$/.test(r.parent.name) ? Da(a, r, r.from, O) : Ia(a, t, r, r.from, O) : r.name == "StartTag" ? Ia(a, t, r, O, O) : r.name == "StartCloseTag" || r.name == "IncompleteCloseTag" ? Da(a, r, O, O) : r.name == "OpenTag" || r.name == "SelfClosingTag" || r.name == "AttributeName" ? vn(a, t, r, r.name == "AttributeName" ? r.from : O, O) : r.name == "Is" || r.name == "AttributeValue" || r.name == "UnquotedAttributeValue" ? wn(a, t, r, r.name == "Is" ? O : r.from, O) : e.explicit && (i.name == "Element" || i.name == "Text" || i.name == "Document") ? yn(a, t, r, O) : null;
|
|
5565
5565
|
}
|
|
5566
5566
|
function Tn(t) {
|
|
5567
|
-
let { extraTags: e, extraGlobalAttributes: a } = t, O = a || e ? new
|
|
5567
|
+
let { extraTags: e, extraGlobalAttributes: a } = t, O = a || e ? new lt(e, a) : lt.default;
|
|
5568
5568
|
return (r) => kn(O, r);
|
|
5569
5569
|
}
|
|
5570
5570
|
const Xn = /* @__PURE__ */ ee.parser.configure({ top: "SingleExpression" }), cr = [
|
|
@@ -5602,12 +5602,12 @@ const Xn = /* @__PURE__ */ ee.parser.configure({ top: "SingleExpression" }), cr
|
|
|
5602
5602
|
attrs(t) {
|
|
5603
5603
|
return (!t.lang || t.lang == "css") && (!t.type || /^(text\/)?(x-)?(stylesheet|css)$/i.test(t.type));
|
|
5604
5604
|
},
|
|
5605
|
-
parser:
|
|
5605
|
+
parser: it.parser
|
|
5606
5606
|
}
|
|
5607
5607
|
], dr = /* @__PURE__ */ [
|
|
5608
5608
|
{
|
|
5609
5609
|
name: "style",
|
|
5610
|
-
parser: /* @__PURE__ */
|
|
5610
|
+
parser: /* @__PURE__ */ it.parser.configure({ top: "Styles" })
|
|
5611
5611
|
}
|
|
5612
5612
|
].concat(/* @__PURE__ */ or.map((t) => ({ name: t, parser: ee.parser }))), pr = /* @__PURE__ */ ze.define({
|
|
5613
5613
|
name: "html",
|
|
@@ -5650,34 +5650,34 @@ const Xn = /* @__PURE__ */ ee.parser.configure({ top: "SingleExpression" }), cr
|
|
|
5650
5650
|
indentOnInput: /^\s*<\/\w+\W$/,
|
|
5651
5651
|
wordChars: "-._"
|
|
5652
5652
|
}
|
|
5653
|
-
}),
|
|
5653
|
+
}), Ke = /* @__PURE__ */ pr.configure({
|
|
5654
5654
|
wrap: /* @__PURE__ */ NO(cr, dr)
|
|
5655
5655
|
});
|
|
5656
5656
|
function xn(t = {}) {
|
|
5657
5657
|
let e = "", a;
|
|
5658
5658
|
t.matchClosingTags === !1 && (e = "noMatch"), t.selfClosingTags === !0 && (e = (e ? e + " " : "") + "selfClosing"), (t.nestedLanguages && t.nestedLanguages.length || t.nestedAttributes && t.nestedAttributes.length) && (a = NO((t.nestedLanguages || []).concat(cr), (t.nestedAttributes || []).concat(dr)));
|
|
5659
|
-
let O = a ? pr.configure({ wrap: a, dialect: e }) : e ?
|
|
5659
|
+
let O = a ? pr.configure({ wrap: a, dialect: e }) : e ? Ke.configure({ dialect: e }) : Ke;
|
|
5660
5660
|
return new je(O, [
|
|
5661
|
-
|
|
5661
|
+
Ke.data.of({ autocomplete: Tn(t) }),
|
|
5662
5662
|
t.autoCloseTags !== !1 ? _n : [],
|
|
5663
5663
|
Sn().support,
|
|
5664
5664
|
UO().support
|
|
5665
5665
|
]);
|
|
5666
5666
|
}
|
|
5667
|
-
const
|
|
5668
|
-
if (t.composing || t.state.readOnly || e != a || O != ">" && O != "/" || !
|
|
5667
|
+
const Na = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")), _n = /* @__PURE__ */ N.inputHandler.of((t, e, a, O, r) => {
|
|
5668
|
+
if (t.composing || t.state.readOnly || e != a || O != ">" && O != "/" || !Ke.isActiveAt(t.state, e, -1))
|
|
5669
5669
|
return !1;
|
|
5670
5670
|
let i = r(), { state: s } = i, o = s.changeByRange((n) => {
|
|
5671
5671
|
var l, c, d;
|
|
5672
5672
|
let h = s.doc.sliceString(n.from - 1, n.to) == O, { head: f } = n, g = Oe(s).resolveInner(f - 1, -1), y;
|
|
5673
5673
|
if ((g.name == "TagName" || g.name == "StartTag") && (g = g.parent), h && O == ">" && g.name == "OpenTag") {
|
|
5674
|
-
if (((c = (l = g.parent) === null || l === void 0 ? void 0 : l.lastChild) === null || c === void 0 ? void 0 : c.name) != "CloseTag" && (y = ye(s.doc, g.parent, f)) && !
|
|
5674
|
+
if (((c = (l = g.parent) === null || l === void 0 ? void 0 : l.lastChild) === null || c === void 0 ? void 0 : c.name) != "CloseTag" && (y = ye(s.doc, g.parent, f)) && !Na.has(y)) {
|
|
5675
5675
|
let _ = f + (s.doc.sliceString(f, f + 1) === ">" ? 1 : 0), W = `</${y}>`;
|
|
5676
5676
|
return { range: n, changes: { from: f, to: _, insert: W } };
|
|
5677
5677
|
}
|
|
5678
5678
|
} else if (h && O == "/" && g.name == "IncompleteCloseTag") {
|
|
5679
5679
|
let _ = g.parent;
|
|
5680
|
-
if (g.from == f - 2 && ((d = _.lastChild) === null || d === void 0 ? void 0 : d.name) != "CloseTag" && (y = ye(s.doc, _, f)) && !
|
|
5680
|
+
if (g.from == f - 2 && ((d = _.lastChild) === null || d === void 0 ? void 0 : d.name) != "CloseTag" && (y = ye(s.doc, _, f)) && !Na.has(y)) {
|
|
5681
5681
|
let W = f + (s.doc.sliceString(f, f + 1) === ">" ? 1 : 0), $ = `${y}>`;
|
|
5682
5682
|
return {
|
|
5683
5683
|
range: C.cursor(f + $.length, -1),
|
|
@@ -5731,7 +5731,7 @@ const Da = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command emb
|
|
|
5731
5731
|
Array: /* @__PURE__ */ $e({ except: /^\s*\]/ })
|
|
5732
5732
|
}),
|
|
5733
5733
|
/* @__PURE__ */ Ge.add({
|
|
5734
|
-
"Object Array":
|
|
5734
|
+
"Object Array": mt
|
|
5735
5735
|
})
|
|
5736
5736
|
]
|
|
5737
5737
|
}),
|
|
@@ -5743,13 +5743,13 @@ const Da = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command emb
|
|
|
5743
5743
|
function qn() {
|
|
5744
5744
|
return new je(Rn);
|
|
5745
5745
|
}
|
|
5746
|
-
const ge = 63,
|
|
5746
|
+
const ge = 63, Ma = 64, Cn = 1, Un = 2, ur = 3, jn = 4, hr = 5, zn = 6, Vn = 7, fr = 65, Gn = 66, An = 8, En = 9, Hn = 10, Bn = 11, In = 12, mr = 13, Dn = 19, Nn = 20, Mn = 29, Ln = 33, Fn = 34, Jn = 47, Kn = 0, oa = 1, Et = 2, Ce = 3, Ht = 4, pt = class pt {
|
|
5747
5747
|
constructor(e, a, O) {
|
|
5748
5748
|
this.parent = e, this.depth = a, this.type = O, this.hash = (e ? e.hash + e.hash << 8 : 0) + a + (a << 4) + O;
|
|
5749
5749
|
}
|
|
5750
5750
|
};
|
|
5751
|
-
|
|
5752
|
-
let de =
|
|
5751
|
+
ca(pt, "top", new pt(null, -1, Kn));
|
|
5752
|
+
let de = pt;
|
|
5753
5753
|
function _e(t, e) {
|
|
5754
5754
|
for (let a = 0, O = e - t.pos - 1; ; O--, a++) {
|
|
5755
5755
|
let r = t.peek(O);
|
|
@@ -5757,38 +5757,38 @@ function _e(t, e) {
|
|
|
5757
5757
|
return a;
|
|
5758
5758
|
}
|
|
5759
5759
|
}
|
|
5760
|
-
function
|
|
5760
|
+
function Bt(t) {
|
|
5761
5761
|
return t == 32 || t == 9;
|
|
5762
5762
|
}
|
|
5763
5763
|
function ae(t) {
|
|
5764
5764
|
return t == 10 || t == 13;
|
|
5765
5765
|
}
|
|
5766
5766
|
function Qr(t) {
|
|
5767
|
-
return
|
|
5767
|
+
return Bt(t) || ae(t);
|
|
5768
5768
|
}
|
|
5769
5769
|
function he(t) {
|
|
5770
5770
|
return t < 0 || Qr(t);
|
|
5771
5771
|
}
|
|
5772
|
-
const el = new
|
|
5772
|
+
const el = new Oa({
|
|
5773
5773
|
start: de.top,
|
|
5774
5774
|
reduce(t, e) {
|
|
5775
5775
|
return t.type == Ce && (e == Nn || e == Fn) ? t.parent : t;
|
|
5776
5776
|
},
|
|
5777
5777
|
shift(t, e, a, O) {
|
|
5778
5778
|
if (e == ur)
|
|
5779
|
-
return new de(t, _e(O, O.pos),
|
|
5779
|
+
return new de(t, _e(O, O.pos), oa);
|
|
5780
5780
|
if (e == fr || e == hr)
|
|
5781
|
-
return new de(t, _e(O, O.pos),
|
|
5781
|
+
return new de(t, _e(O, O.pos), Et);
|
|
5782
5782
|
if (e == ge)
|
|
5783
5783
|
return t.parent;
|
|
5784
5784
|
if (e == Dn || e == Ln)
|
|
5785
5785
|
return new de(t, 0, Ce);
|
|
5786
|
-
if (e == mr && t.type ==
|
|
5786
|
+
if (e == mr && t.type == Ht)
|
|
5787
5787
|
return t.parent;
|
|
5788
5788
|
if (e == Jn) {
|
|
5789
5789
|
let r = /[1-9]/.exec(O.read(O.pos, a.pos));
|
|
5790
5790
|
if (r)
|
|
5791
|
-
return new de(t, t.depth + +r[0],
|
|
5791
|
+
return new de(t, t.depth + +r[0], Ht);
|
|
5792
5792
|
}
|
|
5793
5793
|
return t;
|
|
5794
5794
|
},
|
|
@@ -5800,8 +5800,8 @@ function we(t, e, a = 0) {
|
|
|
5800
5800
|
return t.peek(a) == e && t.peek(a + 1) == e && t.peek(a + 2) == e && he(t.peek(a + 3));
|
|
5801
5801
|
}
|
|
5802
5802
|
const tl = new z((t, e) => {
|
|
5803
|
-
if (t.next == -1 && e.canShift(
|
|
5804
|
-
return t.acceptToken(
|
|
5803
|
+
if (t.next == -1 && e.canShift(Ma))
|
|
5804
|
+
return t.acceptToken(Ma);
|
|
5805
5805
|
let a = t.peek(-1);
|
|
5806
5806
|
if ((ae(a) || a < 0) && e.context.type != Ce) {
|
|
5807
5807
|
if (we(
|
|
@@ -5825,7 +5825,7 @@ const tl = new z((t, e) => {
|
|
|
5825
5825
|
let O = 0;
|
|
5826
5826
|
for (; t.next == 32; )
|
|
5827
5827
|
O++, t.advance();
|
|
5828
|
-
(O < e.context.depth || O == e.context.depth && e.context.type ==
|
|
5828
|
+
(O < e.context.depth || O == e.context.depth && e.context.type == oa && (t.next != 45 || !he(t.peek(1)))) && // Not blank
|
|
5829
5829
|
t.next != -1 && !ae(t.next) && t.next != 35 && t.acceptToken(ge, -O);
|
|
5830
5830
|
}
|
|
5831
5831
|
}, { contextual: !0 }), al = new z((t, e) => {
|
|
@@ -5834,25 +5834,25 @@ const tl = new z((t, e) => {
|
|
|
5834
5834
|
return;
|
|
5835
5835
|
}
|
|
5836
5836
|
if (t.next == 45)
|
|
5837
|
-
t.advance(), he(t.next) && t.acceptToken(e.context.type ==
|
|
5837
|
+
t.advance(), he(t.next) && t.acceptToken(e.context.type == oa && e.context.depth == _e(t, t.pos - 1) ? jn : ur);
|
|
5838
5838
|
else if (t.next == 63)
|
|
5839
|
-
t.advance(), he(t.next) && t.acceptToken(e.context.type ==
|
|
5839
|
+
t.advance(), he(t.next) && t.acceptToken(e.context.type == Et && e.context.depth == _e(t, t.pos - 1) ? zn : hr);
|
|
5840
5840
|
else {
|
|
5841
5841
|
let a = t.pos;
|
|
5842
5842
|
for (; ; )
|
|
5843
|
-
if (
|
|
5843
|
+
if (Bt(t.next)) {
|
|
5844
5844
|
if (t.pos == a)
|
|
5845
5845
|
return;
|
|
5846
5846
|
t.advance();
|
|
5847
5847
|
} else if (t.next == 33)
|
|
5848
5848
|
gr(t);
|
|
5849
5849
|
else if (t.next == 38)
|
|
5850
|
-
|
|
5850
|
+
It(t);
|
|
5851
5851
|
else if (t.next == 42) {
|
|
5852
|
-
|
|
5852
|
+
It(t);
|
|
5853
5853
|
break;
|
|
5854
5854
|
} else if (t.next == 39 || t.next == 34) {
|
|
5855
|
-
if (
|
|
5855
|
+
if (na(t, !0))
|
|
5856
5856
|
break;
|
|
5857
5857
|
return;
|
|
5858
5858
|
} else if (t.next == 91 || t.next == 123) {
|
|
@@ -5863,41 +5863,41 @@ const tl = new z((t, e) => {
|
|
|
5863
5863
|
Sr(t, !0, !1, 0);
|
|
5864
5864
|
break;
|
|
5865
5865
|
}
|
|
5866
|
-
for (;
|
|
5866
|
+
for (; Bt(t.next); )
|
|
5867
5867
|
t.advance();
|
|
5868
5868
|
if (t.next == 58) {
|
|
5869
5869
|
if (t.pos == a && e.canShift(Mn))
|
|
5870
5870
|
return;
|
|
5871
5871
|
let O = t.peek(1);
|
|
5872
|
-
he(O) && t.acceptTokenTo(e.context.type ==
|
|
5872
|
+
he(O) && t.acceptTokenTo(e.context.type == Et && e.context.depth == _e(t, a) ? Gn : fr, a);
|
|
5873
5873
|
}
|
|
5874
5874
|
}
|
|
5875
5875
|
}, { contextual: !0 });
|
|
5876
5876
|
function Ol(t) {
|
|
5877
5877
|
return t > 32 && t < 127 && t != 34 && t != 37 && t != 44 && t != 60 && t != 62 && t != 92 && t != 94 && t != 96 && t != 123 && t != 124 && t != 125;
|
|
5878
5878
|
}
|
|
5879
|
-
function
|
|
5879
|
+
function La(t) {
|
|
5880
5880
|
return t >= 48 && t <= 57 || t >= 97 && t <= 102 || t >= 65 && t <= 70;
|
|
5881
5881
|
}
|
|
5882
|
-
function
|
|
5883
|
-
return t.next == 37 ? (t.advance(),
|
|
5882
|
+
function Fa(t, e) {
|
|
5883
|
+
return t.next == 37 ? (t.advance(), La(t.next) && t.advance(), La(t.next) && t.advance(), !0) : Ol(t.next) || e && t.next == 44 ? (t.advance(), !0) : !1;
|
|
5884
5884
|
}
|
|
5885
5885
|
function gr(t) {
|
|
5886
5886
|
if (t.advance(), t.next == 60) {
|
|
5887
5887
|
for (t.advance(); ; )
|
|
5888
|
-
if (!
|
|
5888
|
+
if (!Fa(t, !0)) {
|
|
5889
5889
|
t.next == 62 && t.advance();
|
|
5890
5890
|
break;
|
|
5891
5891
|
}
|
|
5892
5892
|
} else
|
|
5893
|
-
for (;
|
|
5893
|
+
for (; Fa(t, !1); )
|
|
5894
5894
|
;
|
|
5895
5895
|
}
|
|
5896
|
-
function
|
|
5897
|
-
for (t.advance(); !he(t.next) &&
|
|
5896
|
+
function It(t) {
|
|
5897
|
+
for (t.advance(); !he(t.next) && ct(t.tag) != "f"; )
|
|
5898
5898
|
t.advance();
|
|
5899
5899
|
}
|
|
5900
|
-
function
|
|
5900
|
+
function na(t, e) {
|
|
5901
5901
|
let a = t.next, O = !1, r = t.pos;
|
|
5902
5902
|
for (t.advance(); ; ) {
|
|
5903
5903
|
let i = t.next;
|
|
@@ -5927,7 +5927,7 @@ function rl(t) {
|
|
|
5927
5927
|
if (t.next == 91 || t.next == 123)
|
|
5928
5928
|
e.push(t.next), t.advance();
|
|
5929
5929
|
else if (t.next == 39 || t.next == 34) {
|
|
5930
|
-
if (!
|
|
5930
|
+
if (!na(t, !0))
|
|
5931
5931
|
return !1;
|
|
5932
5932
|
} else if (t.next == 93 || t.next == 125) {
|
|
5933
5933
|
if (e[e.length - 1] != t.next - 2)
|
|
@@ -5941,15 +5941,15 @@ function rl(t) {
|
|
|
5941
5941
|
}
|
|
5942
5942
|
}
|
|
5943
5943
|
const sl = "iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif";
|
|
5944
|
-
function
|
|
5944
|
+
function ct(t) {
|
|
5945
5945
|
return t < 33 ? "u" : t > 125 ? "s" : sl[t - 33];
|
|
5946
5946
|
}
|
|
5947
|
-
function
|
|
5948
|
-
let a =
|
|
5947
|
+
function _t(t, e) {
|
|
5948
|
+
let a = ct(t);
|
|
5949
5949
|
return a != "u" && !(e && a == "f");
|
|
5950
5950
|
}
|
|
5951
5951
|
function Sr(t, e, a, O) {
|
|
5952
|
-
if (
|
|
5952
|
+
if (ct(t.next) == "s" || (t.next == 63 || t.next == 58 || t.next == 45) && _t(t.peek(1), a))
|
|
5953
5953
|
t.advance();
|
|
5954
5954
|
else
|
|
5955
5955
|
return !1;
|
|
@@ -5965,9 +5965,9 @@ function Sr(t, e, a, O) {
|
|
|
5965
5965
|
o++;
|
|
5966
5966
|
i = t.peek(++s);
|
|
5967
5967
|
}
|
|
5968
|
-
if (!(i >= 0 && (i == 58 ?
|
|
5968
|
+
if (!(i >= 0 && (i == 58 ? _t(t.peek(s + 1), a) : i == 35 ? t.peek(s - 1) != 32 : _t(i, a))) || !a && o <= O || o == 0 && !a && (we(t, 45, s) || we(t, 46, s)))
|
|
5969
5969
|
break;
|
|
5970
|
-
if (e &&
|
|
5970
|
+
if (e && ct(i) == "f")
|
|
5971
5971
|
return !1;
|
|
5972
5972
|
for (let l = s; l >= 0; l--)
|
|
5973
5973
|
t.advance();
|
|
@@ -5981,11 +5981,11 @@ const il = new z((t, e) => {
|
|
|
5981
5981
|
gr(t), t.acceptToken(In);
|
|
5982
5982
|
else if (t.next == 38 || t.next == 42) {
|
|
5983
5983
|
let a = t.next == 38 ? Hn : Bn;
|
|
5984
|
-
|
|
5984
|
+
It(t), t.acceptToken(a);
|
|
5985
5985
|
} else
|
|
5986
|
-
t.next == 39 || t.next == 34 ? (
|
|
5986
|
+
t.next == 39 || t.next == 34 ? (na(t, !1), t.acceptToken(En)) : Sr(t, !1, e.context.type == Ce, e.context.depth) && t.acceptToken(An);
|
|
5987
5987
|
}), ol = new z((t, e) => {
|
|
5988
|
-
let a = e.context.type ==
|
|
5988
|
+
let a = e.context.type == Ht ? e.context.depth : -1, O = t.pos;
|
|
5989
5989
|
e:
|
|
5990
5990
|
for (; ; ) {
|
|
5991
5991
|
let r = 0, i = t.next;
|
|
@@ -6064,11 +6064,11 @@ const il = new z((t, e) => {
|
|
|
6064
6064
|
}
|
|
6065
6065
|
return null;
|
|
6066
6066
|
},
|
|
6067
|
-
FlowMapping: /* @__PURE__ */
|
|
6068
|
-
FlowSequence: /* @__PURE__ */
|
|
6067
|
+
FlowMapping: /* @__PURE__ */ qt({ closing: "}" }),
|
|
6068
|
+
FlowSequence: /* @__PURE__ */ qt({ closing: "]" })
|
|
6069
6069
|
}),
|
|
6070
6070
|
/* @__PURE__ */ Ge.add({
|
|
6071
|
-
"FlowMapping FlowSequence":
|
|
6071
|
+
"FlowMapping FlowSequence": mt,
|
|
6072
6072
|
"BlockSequence BlockMapping BlockLiteral": (t, e) => ({ from: e.doc.lineAt(t.from).to, to: t.to })
|
|
6073
6073
|
})
|
|
6074
6074
|
]
|
|
@@ -6102,7 +6102,7 @@ const Qe = (t) => "provider" in t && !!q(t.provider), pl = {
|
|
|
6102
6102
|
});
|
|
6103
6103
|
function a() {
|
|
6104
6104
|
if (t.codeMirrorRef.value) {
|
|
6105
|
-
const i = Qe(t) ? q(t.provider) : null, s =
|
|
6105
|
+
const i = Qe(t) ? q(t.provider) : null, s = Ka({
|
|
6106
6106
|
...O.value,
|
|
6107
6107
|
provider: i
|
|
6108
6108
|
});
|
|
@@ -6135,7 +6135,7 @@ const Qe = (t) => "provider" in t && !!q(t.provider), pl = {
|
|
|
6135
6135
|
O,
|
|
6136
6136
|
() => {
|
|
6137
6137
|
if (e.value) {
|
|
6138
|
-
const i = Qe(t) ? q(t.provider) : null, s =
|
|
6138
|
+
const i = Qe(t) ? q(t.provider) : null, s = Ka({
|
|
6139
6139
|
...O.value,
|
|
6140
6140
|
provider: i
|
|
6141
6141
|
});
|
|
@@ -6174,13 +6174,13 @@ const Qe = (t) => "provider" in t && !!q(t.provider), pl = {
|
|
|
6174
6174
|
/** Codemirror instance */
|
|
6175
6175
|
codeMirror: e
|
|
6176
6176
|
};
|
|
6177
|
-
},
|
|
6177
|
+
}, Ja = {
|
|
6178
6178
|
html: xn,
|
|
6179
6179
|
json: qn,
|
|
6180
6180
|
yaml: dl,
|
|
6181
6181
|
css: UO
|
|
6182
6182
|
};
|
|
6183
|
-
function
|
|
6183
|
+
function Ka({
|
|
6184
6184
|
onChange: t,
|
|
6185
6185
|
onBlur: e,
|
|
6186
6186
|
onFocus: a,
|
|
@@ -6226,14 +6226,14 @@ function Ja({
|
|
|
6226
6226
|
ns(),
|
|
6227
6227
|
gi(),
|
|
6228
6228
|
oi(),
|
|
6229
|
-
|
|
6229
|
+
et.of([
|
|
6230
6230
|
...xO,
|
|
6231
6231
|
...di,
|
|
6232
6232
|
bi,
|
|
6233
6233
|
pl
|
|
6234
6234
|
])
|
|
6235
|
-
), r &&
|
|
6236
|
-
|
|
6235
|
+
), r && Ja[r] && h.push(Ja[r]()), o && h.push(ls()), n && h.push(cs()), l && h.push(
|
|
6236
|
+
et.of([
|
|
6237
6237
|
{
|
|
6238
6238
|
key: "Enter",
|
|
6239
6239
|
run: () => !0
|
|
@@ -6305,7 +6305,7 @@ function ml(t) {
|
|
|
6305
6305
|
const i = Math.floor(r / 30);
|
|
6306
6306
|
return i < 12 ? `${i} month${i === 1 ? "" : "s"} ago` : "more than a year ago";
|
|
6307
6307
|
}
|
|
6308
|
-
function
|
|
6308
|
+
function Ie(t, e, a) {
|
|
6309
6309
|
const O = {};
|
|
6310
6310
|
return t.forEach((r) => {
|
|
6311
6311
|
O[r[e]] = r[a];
|
|
@@ -6316,15 +6316,15 @@ const Ql = (t) => {
|
|
|
6316
6316
|
return "";
|
|
6317
6317
|
let e = t.trim();
|
|
6318
6318
|
return e.length > 1 && e.startsWith("/") && (e = e.slice(1)), e;
|
|
6319
|
-
},
|
|
6319
|
+
}, De = "GET", gl = (t) => {
|
|
6320
6320
|
if (typeof t != "string")
|
|
6321
6321
|
return console.warn(
|
|
6322
|
-
`[sendRequest] Request method is not a string. Using ${
|
|
6323
|
-
),
|
|
6322
|
+
`[sendRequest] Request method is not a string. Using ${De} as the default.`
|
|
6323
|
+
), De;
|
|
6324
6324
|
const e = t.trim().toUpperCase();
|
|
6325
6325
|
return ps(e) ? e : (console.warn(
|
|
6326
|
-
`[sendRequest] ${t} is not a valid request method. Using ${
|
|
6327
|
-
),
|
|
6326
|
+
`[sendRequest] ${t} is not a valid request method. Using ${De} as the default.`
|
|
6327
|
+
), De);
|
|
6328
6328
|
}, Sl = (t) => {
|
|
6329
6329
|
if (typeof t != "string")
|
|
6330
6330
|
return console.warn(
|
|
@@ -6337,31 +6337,31 @@ const Ql = (t) => {
|
|
|
6337
6337
|
const a = new URL(e);
|
|
6338
6338
|
return a.hostname = a.hostname.trim().toLowerCase(), a.toString();
|
|
6339
6339
|
};
|
|
6340
|
-
function
|
|
6340
|
+
function Ne(t) {
|
|
6341
6341
|
return (t ?? []).map((e) => ({ ...e, enabled: !0 }));
|
|
6342
6342
|
}
|
|
6343
6343
|
const Pl = (t) => {
|
|
6344
6344
|
var s, o;
|
|
6345
|
-
const { request: e } = t, { authentication: a } =
|
|
6345
|
+
const { request: e } = t, { authentication: a } = Jt(), {
|
|
6346
6346
|
openApi: { operation: O, globalSecurity: r }
|
|
6347
|
-
} =
|
|
6347
|
+
} = hO(), i = uO(
|
|
6348
6348
|
a,
|
|
6349
6349
|
((s = O == null ? void 0 : O.information) == null ? void 0 : s.security) ?? r
|
|
6350
6350
|
);
|
|
6351
6351
|
return e.headers = [
|
|
6352
6352
|
...e.headers ?? [],
|
|
6353
|
-
...
|
|
6353
|
+
...Ne(i.headers)
|
|
6354
6354
|
], e.cookies = [
|
|
6355
6355
|
...e.cookies ?? [],
|
|
6356
|
-
...
|
|
6356
|
+
...Ne(i.cookies)
|
|
6357
6357
|
], e.query = [
|
|
6358
6358
|
...e.query ?? [],
|
|
6359
|
-
...
|
|
6360
|
-
], e.body &&
|
|
6359
|
+
...Ne(i.queryString)
|
|
6360
|
+
], e.body && Ct(e.body) && ((o = e.headers) != null && o.some(
|
|
6361
6361
|
(l) => l.name.toLowerCase() === "content-type"
|
|
6362
6362
|
) || (e.headers = [
|
|
6363
6363
|
...e.headers ?? [],
|
|
6364
|
-
...
|
|
6364
|
+
...Ne([
|
|
6365
6365
|
{
|
|
6366
6366
|
name: "Content-Type",
|
|
6367
6367
|
value: "application/json; charset=utf-8"
|
|
@@ -6379,7 +6379,7 @@ let Zl = (t = 21) => {
|
|
|
6379
6379
|
};
|
|
6380
6380
|
async function yl(t, e) {
|
|
6381
6381
|
var W;
|
|
6382
|
-
const a = gl(t.type), O =
|
|
6382
|
+
const a = gl(t.type), O = Ie(
|
|
6383
6383
|
(t.headers ?? []).filter(($) => $.enabled),
|
|
6384
6384
|
"name",
|
|
6385
6385
|
"value"
|
|
@@ -6388,7 +6388,7 @@ async function yl(t, e) {
|
|
|
6388
6388
|
i
|
|
6389
6389
|
).split("?"), n = $l(
|
|
6390
6390
|
s,
|
|
6391
|
-
|
|
6391
|
+
Ie(
|
|
6392
6392
|
(t.variables ?? []).filter(($) => $.enabled),
|
|
6393
6393
|
"name",
|
|
6394
6394
|
"value"
|
|
@@ -6405,7 +6405,7 @@ async function yl(t, e) {
|
|
|
6405
6405
|
});
|
|
6406
6406
|
const c = new URLSearchParams(
|
|
6407
6407
|
// TODO: No type-casting
|
|
6408
|
-
|
|
6408
|
+
Ie(
|
|
6409
6409
|
[
|
|
6410
6410
|
...(t.query ?? []).filter(($) => $.enabled),
|
|
6411
6411
|
...l
|
|
@@ -6417,7 +6417,7 @@ async function yl(t, e) {
|
|
|
6417
6417
|
type: "none"
|
|
6418
6418
|
}, f = Date.now();
|
|
6419
6419
|
if (t.cookies && ((W = t.cookies) == null ? void 0 : W.length) > 0) {
|
|
6420
|
-
const $ =
|
|
6420
|
+
const $ = Ie(
|
|
6421
6421
|
(t.cookies ?? []).filter((k) => k.enabled),
|
|
6422
6422
|
"name",
|
|
6423
6423
|
"value"
|
|
@@ -6515,11 +6515,11 @@ const vl = [
|
|
|
6515
6515
|
"Eibit",
|
|
6516
6516
|
"Zibit",
|
|
6517
6517
|
"Yibit"
|
|
6518
|
-
],
|
|
6518
|
+
], eO = (t, e, a) => {
|
|
6519
6519
|
let O = t;
|
|
6520
6520
|
return typeof e == "string" || Array.isArray(e) ? O = t.toLocaleString(e, a) : (e === !0 || a !== void 0) && (O = t.toLocaleString(void 0, a)), O;
|
|
6521
6521
|
};
|
|
6522
|
-
function
|
|
6522
|
+
function dt(t, e) {
|
|
6523
6523
|
if (!Number.isFinite(t))
|
|
6524
6524
|
throw new TypeError(`Expected a finite number, got ${typeof t}: ${t}`);
|
|
6525
6525
|
e = {
|
|
@@ -6535,12 +6535,12 @@ function ct(t, e) {
|
|
|
6535
6535
|
r && (t = -t);
|
|
6536
6536
|
let s;
|
|
6537
6537
|
if (e.minimumFractionDigits !== void 0 && (s = { minimumFractionDigits: e.minimumFractionDigits }), e.maximumFractionDigits !== void 0 && (s = { maximumFractionDigits: e.maximumFractionDigits, ...s }), t < 1) {
|
|
6538
|
-
const c =
|
|
6538
|
+
const c = eO(t, e.locale, s);
|
|
6539
6539
|
return i + c + O + a[0];
|
|
6540
6540
|
}
|
|
6541
6541
|
const o = Math.min(Math.floor(e.binary ? Math.log(t) / Math.log(1024) : Math.log10(t) / 3), a.length - 1);
|
|
6542
6542
|
t /= (e.binary ? 1024 : 1e3) ** o, s || (t = t.toPrecision(3));
|
|
6543
|
-
const n =
|
|
6543
|
+
const n = eO(Number(t), e.locale, s), l = a[o];
|
|
6544
6544
|
return i + n + O + l;
|
|
6545
6545
|
}
|
|
6546
6546
|
function Xl(t) {
|
|
@@ -6612,9 +6612,9 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
6612
6612
|
setup(t) {
|
|
6613
6613
|
const { requestHistory: e, activeRequestId: a, setActiveResponse: O } = K(), r = (i) => {
|
|
6614
6614
|
var s;
|
|
6615
|
-
return (s = i == null ? void 0 : i.headers) != null && s["X-API-Client-Content-Length"] ?
|
|
6615
|
+
return (s = i == null ? void 0 : i.headers) != null && s["X-API-Client-Content-Length"] ? dt(
|
|
6616
6616
|
parseFloat(i.headers["X-API-Client-Content-Length"])
|
|
6617
|
-
) :
|
|
6617
|
+
) : dt(0);
|
|
6618
6618
|
};
|
|
6619
6619
|
return (i, s) => (Q(), P("div", {
|
|
6620
6620
|
class: J(["navtable-item", { "navtable-item__active": m(a) === i.history }]),
|
|
@@ -6644,7 +6644,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
6644
6644
|
])
|
|
6645
6645
|
], 2));
|
|
6646
6646
|
}
|
|
6647
|
-
}), Cl = /* @__PURE__ */ R(ql, [["__scopeId", "data-v-f35a2f95"]]), Ul = { class: "navigation-content-item" }, jl = { class: "navtable" }, zl = { class: "navtable-table" }, Vl = /* @__PURE__ */
|
|
6647
|
+
}), Cl = /* @__PURE__ */ R(ql, [["__scopeId", "data-v-f35a2f95"]]), Ul = { class: "navigation-content-item" }, jl = { class: "navtable" }, zl = { class: "navtable-table" }, Vl = /* @__PURE__ */ Nt('<div class="navtable-item navtable-item__top"><div class="navtable-item-40"><label for="">Request</label></div><div class="navtable-item-40"><label for="">Response</label></div><div class="navtable-item-20"><label for="">TIME</label></div></div>', 1), Gl = { class: "navtable-radios" }, Al = /* @__PURE__ */ Nt('<div class="navtable-mock"><div class="navtable-item"><div class="navtable-item-40"></div><div class="navtable-item-40"></div><div class="navtable-item-20"></div></div></div>', 1), El = /* @__PURE__ */ w({
|
|
6648
6648
|
__name: "RequestHistory",
|
|
6649
6649
|
emits: ["toggle"],
|
|
6650
6650
|
setup(t) {
|
|
@@ -6701,13 +6701,13 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
6701
6701
|
], 40, Bl)
|
|
6702
6702
|
]));
|
|
6703
6703
|
}
|
|
6704
|
-
}), Nl = /* @__PURE__ */ R(Dl, [["__scopeId", "data-v-9e096eb8"]]),
|
|
6704
|
+
}), Nl = /* @__PURE__ */ R(Dl, [["__scopeId", "data-v-9e096eb8"]]), Ee = (t) => (ut("data-v-7b70ccb4"), t = t(), ht(), t), Ml = {
|
|
6705
6705
|
key: 0,
|
|
6706
6706
|
class: "loader"
|
|
6707
|
-
}, Ll = { class: "url-form" }, Fl = { class: "url-form-field" }, Jl = {
|
|
6707
|
+
}, Ll = { class: "url-form" }, Fl = { class: "url-form-field" }, Jl = { class: "url-form-input-wrapper cm-scroller" }, Kl = /* @__PURE__ */ Ee(() => /* @__PURE__ */ u("div", { class: "url-form-input-fade__left" }, null, -1)), ec = /* @__PURE__ */ Ee(() => /* @__PURE__ */ u("div", { class: "url-form-input-fade__right" }, null, -1)), tc = {
|
|
6708
6708
|
key: 0,
|
|
6709
6709
|
class: "history"
|
|
6710
|
-
},
|
|
6710
|
+
}, ac = /* @__PURE__ */ Ee(() => /* @__PURE__ */ u("svg", {
|
|
6711
6711
|
fill: "none",
|
|
6712
6712
|
height: "48",
|
|
6713
6713
|
viewBox: "0 0 14 14",
|
|
@@ -6730,9 +6730,9 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
6730
6730
|
"fill-rule": "evenodd"
|
|
6731
6731
|
})
|
|
6732
6732
|
])
|
|
6733
|
-
], -1)),
|
|
6734
|
-
|
|
6735
|
-
],
|
|
6733
|
+
], -1)), Oc = [
|
|
6734
|
+
ac
|
|
6735
|
+
], rc = ["disabled"], sc = /* @__PURE__ */ Ee(() => /* @__PURE__ */ u("svg", {
|
|
6736
6736
|
fill: "none",
|
|
6737
6737
|
height: "48",
|
|
6738
6738
|
viewBox: "0 0 14 14",
|
|
@@ -6748,18 +6748,18 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
6748
6748
|
"fill-rule": "evenodd"
|
|
6749
6749
|
})
|
|
6750
6750
|
])
|
|
6751
|
-
], -1)),
|
|
6752
|
-
|
|
6753
|
-
|
|
6754
|
-
],
|
|
6751
|
+
], -1)), ic = /* @__PURE__ */ Ee(() => /* @__PURE__ */ u("span", null, "Send", -1)), oc = [
|
|
6752
|
+
sc,
|
|
6753
|
+
ic
|
|
6754
|
+
], nc = { class: "address-bar-content" }, lc = /* @__PURE__ */ w({
|
|
6755
6755
|
__name: "AddressBar",
|
|
6756
6756
|
props: {
|
|
6757
6757
|
proxyUrl: {}
|
|
6758
6758
|
},
|
|
6759
6759
|
emits: ["onSend"],
|
|
6760
6760
|
setup(t, { emit: e }) {
|
|
6761
|
-
const a = t, O = e, r =
|
|
6762
|
-
|
|
6761
|
+
const a = t, O = e, r = mO();
|
|
6762
|
+
Ut(us() ? r.meta_enter : r.ctrl_enter, $);
|
|
6763
6763
|
const i = F(!1), s = F(!1), {
|
|
6764
6764
|
activeRequest: o,
|
|
6765
6765
|
addRequestToHistory: n,
|
|
@@ -6796,34 +6796,38 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
6796
6796
|
requestMethod: y.value,
|
|
6797
6797
|
onChange: H
|
|
6798
6798
|
}, null, 8, ["readOnly", "requestMethod"]),
|
|
6799
|
-
|
|
6800
|
-
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
|
|
6804
|
-
|
|
6805
|
-
|
|
6806
|
-
|
|
6807
|
-
|
|
6808
|
-
|
|
6799
|
+
u("div", Jl, [
|
|
6800
|
+
Kl,
|
|
6801
|
+
Z(m(Pr), {
|
|
6802
|
+
class: "url-form-input",
|
|
6803
|
+
content: W.value,
|
|
6804
|
+
disableEnter: "",
|
|
6805
|
+
readOnly: m(d),
|
|
6806
|
+
withoutTheme: "",
|
|
6807
|
+
withVariables: "",
|
|
6808
|
+
onChange: k
|
|
6809
|
+
}, null, 8, ["content", "readOnly"]),
|
|
6810
|
+
ec
|
|
6811
|
+
]),
|
|
6812
|
+
m(c).length ? (Q(), P("div", tc, [
|
|
6809
6813
|
u("div", {
|
|
6810
6814
|
class: "history-toggle",
|
|
6811
6815
|
onClick: V[0] || (V[0] = (me) => m(f).show())
|
|
6812
|
-
},
|
|
6816
|
+
}, Oc)
|
|
6813
6817
|
])) : M("", !0),
|
|
6814
6818
|
u("button", {
|
|
6815
6819
|
class: "send-button",
|
|
6816
6820
|
disabled: !W.value.trim().length,
|
|
6817
6821
|
type: "submit",
|
|
6818
6822
|
onClick: $
|
|
6819
|
-
},
|
|
6823
|
+
}, oc, 8, rc)
|
|
6820
6824
|
])
|
|
6821
6825
|
]),
|
|
6822
6826
|
u("div", {
|
|
6823
6827
|
class: "address-bar-close",
|
|
6824
6828
|
onClick: V[1] || (V[1] = (me) => i.value = !1)
|
|
6825
6829
|
}),
|
|
6826
|
-
u("div",
|
|
6830
|
+
u("div", nc, [
|
|
6827
6831
|
Z(m(fs), {
|
|
6828
6832
|
state: m(f),
|
|
6829
6833
|
title: "Request History",
|
|
@@ -6841,7 +6845,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
6841
6845
|
], 2)
|
|
6842
6846
|
], 64));
|
|
6843
6847
|
}
|
|
6844
|
-
}),
|
|
6848
|
+
}), cc = /* @__PURE__ */ R(lc, [["__scopeId", "data-v-7b70ccb4"]]), dc = /* @__PURE__ */ u("svg", {
|
|
6845
6849
|
class: "scalar-api-client__toggle__icon",
|
|
6846
6850
|
height: "10",
|
|
6847
6851
|
viewBox: "0 0 5 10",
|
|
@@ -6853,10 +6857,10 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
6853
6857
|
fill: "currentColor",
|
|
6854
6858
|
"fill-rule": "nonzero"
|
|
6855
6859
|
})
|
|
6856
|
-
], -1),
|
|
6860
|
+
], -1), pc = { class: "scalar-api-client__item__title" }, uc = {
|
|
6857
6861
|
key: 0,
|
|
6858
6862
|
class: "scalar-api-client__item__options"
|
|
6859
|
-
},
|
|
6863
|
+
}, hc = { class: "scalar-api-client__item__content" }, se = /* @__PURE__ */ w({
|
|
6860
6864
|
__name: "CollapsibleSection",
|
|
6861
6865
|
props: {
|
|
6862
6866
|
title: {},
|
|
@@ -6886,9 +6890,9 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
6886
6890
|
onClick: s[0] || (s[0] = (n) => r.value = !r.value)
|
|
6887
6891
|
}, {
|
|
6888
6892
|
default: b(() => [
|
|
6889
|
-
|
|
6890
|
-
u("span",
|
|
6891
|
-
i.$slots.options && o ? (Q(), P("div",
|
|
6893
|
+
dc,
|
|
6894
|
+
u("span", pc, X(i.title), 1),
|
|
6895
|
+
i.$slots.options && o ? (Q(), P("div", uc, [
|
|
6892
6896
|
E(i.$slots, "options")
|
|
6893
6897
|
])) : M("", !0)
|
|
6894
6898
|
]),
|
|
@@ -6896,7 +6900,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
6896
6900
|
}, 1536),
|
|
6897
6901
|
Z(m(Yr), null, {
|
|
6898
6902
|
default: b(() => [
|
|
6899
|
-
u("div",
|
|
6903
|
+
u("div", hc, [
|
|
6900
6904
|
E(i.$slots, "default")
|
|
6901
6905
|
])
|
|
6902
6906
|
]),
|
|
@@ -6907,17 +6911,17 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
6907
6911
|
_: 3
|
|
6908
6912
|
}, 8, ["defaultOpen"]));
|
|
6909
6913
|
}
|
|
6910
|
-
}),
|
|
6914
|
+
}), fc = {
|
|
6911
6915
|
key: 0,
|
|
6912
6916
|
class: "preferred-security-scheme"
|
|
6913
|
-
},
|
|
6917
|
+
}, mc = {
|
|
6914
6918
|
key: 1,
|
|
6915
6919
|
class: "security-scheme-empty-state"
|
|
6916
|
-
},
|
|
6920
|
+
}, Qc = /* @__PURE__ */ w({
|
|
6917
6921
|
__name: "RequestAuthentication",
|
|
6918
6922
|
setup(t) {
|
|
6919
6923
|
const e = F(null);
|
|
6920
|
-
|
|
6924
|
+
fO.on(() => {
|
|
6921
6925
|
if (!e.value)
|
|
6922
6926
|
return;
|
|
6923
6927
|
e.value.scrollIntoView({
|
|
@@ -6925,7 +6929,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
6925
6929
|
block: "center"
|
|
6926
6930
|
});
|
|
6927
6931
|
});
|
|
6928
|
-
const { authentication: a, setAuthentication: O } =
|
|
6932
|
+
const { authentication: a, setAuthentication: O } = Jt(), r = (i) => {
|
|
6929
6933
|
O({
|
|
6930
6934
|
customSecurity: !0,
|
|
6931
6935
|
preferredSecurityScheme: i,
|
|
@@ -6950,12 +6954,12 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
6950
6954
|
default: b(() => {
|
|
6951
6955
|
var o;
|
|
6952
6956
|
return [
|
|
6953
|
-
m(a).preferredSecurityScheme ? (Q(), P("div",
|
|
6957
|
+
m(a).preferredSecurityScheme ? (Q(), P("div", fc, [
|
|
6954
6958
|
Z(Qs, {
|
|
6955
6959
|
value: (o = m(a).securitySchemes) == null ? void 0 : o[m(a).preferredSecurityScheme]
|
|
6956
6960
|
}, null, 8, ["value"])
|
|
6957
6961
|
])) : M("", !0),
|
|
6958
|
-
m(a).securitySchemes ? M("", !0) : (Q(), P("div",
|
|
6962
|
+
m(a).securitySchemes ? M("", !0) : (Q(), P("div", mc, [
|
|
6959
6963
|
u("div", {
|
|
6960
6964
|
class: "scalar-api-client-add",
|
|
6961
6965
|
variant: "outlined",
|
|
@@ -6978,31 +6982,31 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
6978
6982
|
})
|
|
6979
6983
|
], 512));
|
|
6980
6984
|
}
|
|
6981
|
-
}),
|
|
6985
|
+
}), gc = /* @__PURE__ */ R(Qc, [["__scopeId", "data-v-b8475d60"]]), Sc = { class: "table-row" }, Pc = { class: "table-row-item" }, $c = { class: "table-row-item" }, bc = {
|
|
6982
6986
|
key: 0,
|
|
6983
6987
|
class: "table-row-item"
|
|
6984
|
-
},
|
|
6988
|
+
}, Zc = { class: "table-row-meta" }, yc = /* @__PURE__ */ w({
|
|
6985
6989
|
__name: "GridRow",
|
|
6986
6990
|
props: {
|
|
6987
6991
|
showDescription: { type: Boolean }
|
|
6988
6992
|
},
|
|
6989
6993
|
setup(t) {
|
|
6990
|
-
return (e, a) => (Q(), P("div",
|
|
6991
|
-
u("div",
|
|
6994
|
+
return (e, a) => (Q(), P("div", Sc, [
|
|
6995
|
+
u("div", Pc, [
|
|
6992
6996
|
E(e.$slots, "key", {}, void 0, !0)
|
|
6993
6997
|
]),
|
|
6994
|
-
u("div",
|
|
6998
|
+
u("div", $c, [
|
|
6995
6999
|
E(e.$slots, "value", {}, void 0, !0)
|
|
6996
7000
|
]),
|
|
6997
|
-
e.showDescription ? (Q(), P("div",
|
|
7001
|
+
e.showDescription ? (Q(), P("div", bc, [
|
|
6998
7002
|
E(e.$slots, "description", {}, void 0, !0)
|
|
6999
7003
|
])) : M("", !0),
|
|
7000
|
-
u("div",
|
|
7004
|
+
u("div", Zc, [
|
|
7001
7005
|
E(e.$slots, "meta", {}, void 0, !0)
|
|
7002
7006
|
])
|
|
7003
7007
|
]));
|
|
7004
7008
|
}
|
|
7005
|
-
}),
|
|
7009
|
+
}), la = /* @__PURE__ */ R(yc, [["__scopeId", "data-v-65b233b7"]]), gt = (t) => (ut("data-v-1678900e"), t = t(), ht(), t), vc = /* @__PURE__ */ gt(() => /* @__PURE__ */ u("label", { class: "table-column-header" }, "Key", -1)), wc = /* @__PURE__ */ gt(() => /* @__PURE__ */ u("label", { class: "table-column-header" }, "Value", -1)), kc = /* @__PURE__ */ gt(() => /* @__PURE__ */ u("label", { class: "table-column-header" }, "Description", -1)), Tc = /* @__PURE__ */ gt(() => /* @__PURE__ */ u("svg", {
|
|
7006
7010
|
fill: "currentColor",
|
|
7007
7011
|
height: "12",
|
|
7008
7012
|
viewBox: "0 0 18 12",
|
|
@@ -7013,22 +7017,22 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7013
7017
|
d: "M0 12h12v-2H0v2zM0 0v2h18V0H0zm0 7h18V5H0v2z",
|
|
7014
7018
|
"fill-rule": "nonzero"
|
|
7015
7019
|
})
|
|
7016
|
-
], -1)),
|
|
7020
|
+
], -1)), Xc = /* @__PURE__ */ w({
|
|
7017
7021
|
__name: "GridHeader",
|
|
7018
7022
|
props: {
|
|
7019
7023
|
showDescription: { type: Boolean }
|
|
7020
7024
|
},
|
|
7021
7025
|
emits: ["update:showDescription"],
|
|
7022
7026
|
setup(t) {
|
|
7023
|
-
return (e, a) => (Q(), v(
|
|
7027
|
+
return (e, a) => (Q(), v(la, { showDescription: e.showDescription }, {
|
|
7024
7028
|
key: b(() => [
|
|
7025
|
-
|
|
7029
|
+
vc
|
|
7026
7030
|
]),
|
|
7027
7031
|
value: b(() => [
|
|
7028
|
-
|
|
7032
|
+
wc
|
|
7029
7033
|
]),
|
|
7030
7034
|
description: b(() => [
|
|
7031
|
-
|
|
7035
|
+
kc
|
|
7032
7036
|
]),
|
|
7033
7037
|
meta: b(() => [
|
|
7034
7038
|
Z(m(gs), {
|
|
@@ -7037,7 +7041,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7037
7041
|
onClick: a[0] || (a[0] = (O) => e.$emit("update:showDescription", !e.showDescription))
|
|
7038
7042
|
}, {
|
|
7039
7043
|
default: b(() => [
|
|
7040
|
-
|
|
7044
|
+
Tc
|
|
7041
7045
|
]),
|
|
7042
7046
|
_: 1
|
|
7043
7047
|
})
|
|
@@ -7045,7 +7049,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7045
7049
|
_: 1
|
|
7046
7050
|
}, 8, ["showDescription"]));
|
|
7047
7051
|
}
|
|
7048
|
-
}),
|
|
7052
|
+
}), xc = /* @__PURE__ */ R(Xc, [["__scopeId", "data-v-1678900e"]]), br = (t) => (ut("data-v-017a5949"), t = t(), ht(), t), _c = { class: "meta-check" }, Wc = /* @__PURE__ */ br(() => /* @__PURE__ */ u("span", { class: "meta-checkmark" }, null, -1)), Yc = /* @__PURE__ */ br(() => /* @__PURE__ */ u("svg", {
|
|
7049
7053
|
fill: "none",
|
|
7050
7054
|
height: "10",
|
|
7051
7055
|
viewBox: "-0.5 -0.5 10 10",
|
|
@@ -7066,9 +7070,9 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7066
7070
|
"stroke-linejoin": "round",
|
|
7067
7071
|
"stroke-width": "1.5"
|
|
7068
7072
|
})
|
|
7069
|
-
], -1)),
|
|
7070
|
-
|
|
7071
|
-
],
|
|
7073
|
+
], -1)), Rc = [
|
|
7074
|
+
Yc
|
|
7075
|
+
], qc = /* @__PURE__ */ w({
|
|
7072
7076
|
__name: "GridRowEditable",
|
|
7073
7077
|
props: {
|
|
7074
7078
|
name: {},
|
|
@@ -7096,7 +7100,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7096
7100
|
get: () => a.enabled,
|
|
7097
7101
|
set: (n) => O("update:enabled", n)
|
|
7098
7102
|
});
|
|
7099
|
-
return (n, l) => (Q(), v(
|
|
7103
|
+
return (n, l) => (Q(), v(la, {
|
|
7100
7104
|
class: J(["table-row-editable", { "required-parameter": n.required }])
|
|
7101
7105
|
}, {
|
|
7102
7106
|
key: b(() => [
|
|
@@ -7104,7 +7108,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7104
7108
|
"onUpdate:modelValue": l[0] || (l[0] = (c) => r.value = c),
|
|
7105
7109
|
placeholder: "Key"
|
|
7106
7110
|
}, null, 512), [
|
|
7107
|
-
[
|
|
7111
|
+
[Me, r.value]
|
|
7108
7112
|
])
|
|
7109
7113
|
]),
|
|
7110
7114
|
value: b(() => [
|
|
@@ -7112,7 +7116,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7112
7116
|
"onUpdate:modelValue": l[1] || (l[1] = (c) => i.value = c),
|
|
7113
7117
|
placeholder: "Value"
|
|
7114
7118
|
}, null, 512), [
|
|
7115
|
-
[
|
|
7119
|
+
[Me, i.value]
|
|
7116
7120
|
])
|
|
7117
7121
|
]),
|
|
7118
7122
|
description: b(() => [
|
|
@@ -7120,45 +7124,45 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7120
7124
|
"onUpdate:modelValue": l[2] || (l[2] = (c) => s.value = c),
|
|
7121
7125
|
placeholder: "Description"
|
|
7122
7126
|
}, null, 512), [
|
|
7123
|
-
[
|
|
7127
|
+
[Me, s.value]
|
|
7124
7128
|
])
|
|
7125
7129
|
]),
|
|
7126
7130
|
meta: b(() => [
|
|
7127
|
-
u("label",
|
|
7131
|
+
u("label", _c, [
|
|
7128
7132
|
pe(u("input", {
|
|
7129
7133
|
"onUpdate:modelValue": l[3] || (l[3] = (c) => o.value = c),
|
|
7130
7134
|
type: "checkbox"
|
|
7131
7135
|
}, null, 512), [
|
|
7132
7136
|
[kr, o.value]
|
|
7133
7137
|
]),
|
|
7134
|
-
|
|
7138
|
+
Wc
|
|
7135
7139
|
]),
|
|
7136
7140
|
n.required ? M("", !0) : (Q(), P("button", {
|
|
7137
7141
|
key: 0,
|
|
7138
7142
|
class: "meta-delete",
|
|
7139
7143
|
type: "button",
|
|
7140
7144
|
onClick: l[4] || (l[4] = (c) => n.$emit("delete"))
|
|
7141
|
-
},
|
|
7145
|
+
}, Rc))
|
|
7142
7146
|
]),
|
|
7143
7147
|
_: 1
|
|
7144
7148
|
}, 8, ["class"]));
|
|
7145
7149
|
}
|
|
7146
|
-
}),
|
|
7150
|
+
}), Cc = /* @__PURE__ */ R(qc, [["__scopeId", "data-v-017a5949"]]), Uc = (t) => (ut("data-v-aba8c9d5"), t = t(), ht(), t), jc = ["value"], zc = ["value"], Vc = /* @__PURE__ */ Uc(() => /* @__PURE__ */ u("input", {
|
|
7147
7151
|
disabled: "",
|
|
7148
7152
|
value: "Read-only"
|
|
7149
|
-
}, null, -1)),
|
|
7153
|
+
}, null, -1)), Gc = /* @__PURE__ */ w({
|
|
7150
7154
|
__name: "GridRowGenerated",
|
|
7151
7155
|
props: {
|
|
7152
7156
|
item: {}
|
|
7153
7157
|
},
|
|
7154
7158
|
setup(t) {
|
|
7155
|
-
return (e, a) => (Q(), v(
|
|
7159
|
+
return (e, a) => (Q(), v(la, { class: "table-row-generated" }, {
|
|
7156
7160
|
key: b(() => [
|
|
7157
7161
|
u("input", {
|
|
7158
7162
|
disabled: "",
|
|
7159
7163
|
placeholder: "key",
|
|
7160
7164
|
value: e.item.name
|
|
7161
|
-
}, null, 8,
|
|
7165
|
+
}, null, 8, jc)
|
|
7162
7166
|
]),
|
|
7163
7167
|
value: b(() => [
|
|
7164
7168
|
u("input", {
|
|
@@ -7166,15 +7170,15 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7166
7170
|
placeholder: "value",
|
|
7167
7171
|
type: "password",
|
|
7168
7172
|
value: e.item.value
|
|
7169
|
-
}, null, 8,
|
|
7173
|
+
}, null, 8, zc)
|
|
7170
7174
|
]),
|
|
7171
7175
|
description: b(() => [
|
|
7172
|
-
|
|
7176
|
+
Vc
|
|
7173
7177
|
]),
|
|
7174
7178
|
_: 1
|
|
7175
7179
|
}));
|
|
7176
7180
|
}
|
|
7177
|
-
}),
|
|
7181
|
+
}), Ac = /* @__PURE__ */ R(Gc, [["__scopeId", "data-v-aba8c9d5"]]), Ec = { class: "table" }, Hc = { class: "meta-actions" }, Bc = { class: "meta-actions-item-icon" }, Ic = { class: "meta-actions-item-icon" }, Dc = /* @__PURE__ */ w({
|
|
7178
7182
|
__name: "Grid",
|
|
7179
7183
|
props: {
|
|
7180
7184
|
items: {},
|
|
@@ -7188,18 +7192,18 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7188
7192
|
function i() {
|
|
7189
7193
|
a("addAnother"), r.value = !0;
|
|
7190
7194
|
}
|
|
7191
|
-
return (s, o) => (Q(), P("div",
|
|
7192
|
-
Z(
|
|
7195
|
+
return (s, o) => (Q(), P("div", Ec, [
|
|
7196
|
+
Z(xc, {
|
|
7193
7197
|
showDescription: O.value,
|
|
7194
7198
|
"onUpdate:showDescription": o[0] || (o[0] = (n) => O.value = n)
|
|
7195
7199
|
}, null, 8, ["showDescription"]),
|
|
7196
|
-
(Q(!0), P(j, null, fe(s.generatedItems, (n) => (Q(), v(
|
|
7200
|
+
(Q(!0), P(j, null, fe(s.generatedItems, (n) => (Q(), v(Ac, {
|
|
7197
7201
|
key: n.name,
|
|
7198
7202
|
item: n,
|
|
7199
7203
|
showDescription: O.value,
|
|
7200
|
-
onClick: o[1] || (o[1] = (l) => m(
|
|
7204
|
+
onClick: o[1] || (o[1] = (l) => m(fO).emit())
|
|
7201
7205
|
}, null, 8, ["item", "showDescription"]))), 128)),
|
|
7202
|
-
(Q(!0), P(j, null, fe(s.items, (n, l) => pe((Q(), v(
|
|
7206
|
+
(Q(!0), P(j, null, fe(s.items, (n, l) => pe((Q(), v(Cc, {
|
|
7203
7207
|
key: l,
|
|
7204
7208
|
description: n.description,
|
|
7205
7209
|
"onUpdate:description": (c) => n.description = c,
|
|
@@ -7213,17 +7217,17 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7213
7217
|
showDescription: O.value,
|
|
7214
7218
|
onDelete: (c) => s.$emit("deleteIndex", l)
|
|
7215
7219
|
}, null, 8, ["description", "onUpdate:description", "enabled", "onUpdate:enabled", "name", "onUpdate:name", "value", "onUpdate:value", "required", "showDescription", "onDelete"])), [
|
|
7216
|
-
[
|
|
7220
|
+
[sO, !s.showMoreFilter || s.showMoreFilter && l < 5 || r.value]
|
|
7217
7221
|
])), 128)),
|
|
7218
|
-
u("div",
|
|
7222
|
+
u("div", Hc, [
|
|
7219
7223
|
s.addLabel ? (Q(), P("button", {
|
|
7220
7224
|
key: 0,
|
|
7221
7225
|
class: "meta-actions-item",
|
|
7222
7226
|
type: "button",
|
|
7223
7227
|
onClick: i
|
|
7224
7228
|
}, [
|
|
7225
|
-
u("i",
|
|
7226
|
-
Z(m(
|
|
7229
|
+
u("i", Bc, [
|
|
7230
|
+
Z(m(ua), { icon: "Add" })
|
|
7227
7231
|
]),
|
|
7228
7232
|
U(" " + X(s.addLabel), 1)
|
|
7229
7233
|
])) : M("", !0),
|
|
@@ -7234,37 +7238,37 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7234
7238
|
onClick: o[2] || (o[2] = (n) => r.value = !0)
|
|
7235
7239
|
}, [
|
|
7236
7240
|
U(" Show More "),
|
|
7237
|
-
u("i",
|
|
7238
|
-
Z(m(
|
|
7241
|
+
u("i", Ic, [
|
|
7242
|
+
Z(m(ua), { icon: "ChevronDown" })
|
|
7239
7243
|
])
|
|
7240
7244
|
])) : M("", !0)
|
|
7241
7245
|
])
|
|
7242
7246
|
]));
|
|
7243
7247
|
}
|
|
7244
|
-
}),
|
|
7248
|
+
}), He = /* @__PURE__ */ R(Dc, [["__scopeId", "data-v-7b4a39aa"]]), Nc = { class: "navtable simpletable" }, Mc = { class: "navtable-table" }, Lc = /* @__PURE__ */ Nt('<div class="navtable-item navtable-item__top" data-v-af627a74><div class="navtable-item-33" data-v-af627a74><label for="" data-v-af627a74>Name</label></div><div class="navtable-item-66" data-v-af627a74><label for="" data-v-af627a74>Value</label></div></div>', 1), Fc = { class: "navtable-item-33" }, Jc = { class: "navtable-item-66" }, Kc = /* @__PURE__ */ w({
|
|
7245
7249
|
__name: "SimpleGrid",
|
|
7246
7250
|
props: {
|
|
7247
7251
|
items: {}
|
|
7248
7252
|
},
|
|
7249
7253
|
setup(t) {
|
|
7250
|
-
return (e, a) => (Q(), P("div",
|
|
7251
|
-
u("div",
|
|
7252
|
-
|
|
7254
|
+
return (e, a) => (Q(), P("div", Nc, [
|
|
7255
|
+
u("div", Mc, [
|
|
7256
|
+
Lc,
|
|
7253
7257
|
(Q(!0), P(j, null, fe(e.items, (O) => (Q(), P("div", {
|
|
7254
7258
|
key: O.id,
|
|
7255
7259
|
class: "navtable-item"
|
|
7256
7260
|
}, [
|
|
7257
|
-
u("div",
|
|
7261
|
+
u("div", Fc, [
|
|
7258
7262
|
u("p", null, X(O.name), 1)
|
|
7259
7263
|
]),
|
|
7260
|
-
u("div",
|
|
7264
|
+
u("div", Jc, [
|
|
7261
7265
|
u("p", null, X(O.value), 1)
|
|
7262
7266
|
])
|
|
7263
7267
|
]))), 128))
|
|
7264
7268
|
])
|
|
7265
7269
|
]));
|
|
7266
7270
|
}
|
|
7267
|
-
}),
|
|
7271
|
+
}), ed = /* @__PURE__ */ R(Kc, [["__scopeId", "data-v-af627a74"]]), td = { key: 0 }, ad = /* @__PURE__ */ w({
|
|
7268
7272
|
__name: "RequestBody",
|
|
7269
7273
|
props: {
|
|
7270
7274
|
body: {},
|
|
@@ -7279,7 +7283,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7279
7283
|
};
|
|
7280
7284
|
return (r, i) => (Q(), v(m(se), { title: "Body" }, {
|
|
7281
7285
|
default: b(() => [
|
|
7282
|
-
r.body && r.body.length === 0 && r.formData && r.formData.length === 0 ? (Q(), P("span",
|
|
7286
|
+
r.body && r.body.length === 0 && r.formData && r.formData.length === 0 ? (Q(), P("span", td, "No Body")) : r.formData && r.formData.length > 0 ? (Q(), v(m(He), {
|
|
7283
7287
|
key: 1,
|
|
7284
7288
|
items: r.formData
|
|
7285
7289
|
}, null, 8, ["items"])) : (Q(), v(m(Pr), {
|
|
@@ -7293,10 +7297,10 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7293
7297
|
_: 1
|
|
7294
7298
|
}));
|
|
7295
7299
|
}
|
|
7296
|
-
}),
|
|
7300
|
+
}), Od = {
|
|
7297
7301
|
key: 0,
|
|
7298
7302
|
class: "scalar-api-client__empty-state"
|
|
7299
|
-
},
|
|
7303
|
+
}, rd = /* @__PURE__ */ u("svg", {
|
|
7300
7304
|
class: "flow-icon",
|
|
7301
7305
|
"data-v-aa4fbd2d": "",
|
|
7302
7306
|
height: "100%",
|
|
@@ -7312,7 +7316,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7312
7316
|
"stroke-width": "3.429",
|
|
7313
7317
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7314
7318
|
})
|
|
7315
|
-
], -1),
|
|
7319
|
+
], -1), sd = /* @__PURE__ */ w({
|
|
7316
7320
|
__name: "RequestCookies",
|
|
7317
7321
|
props: {
|
|
7318
7322
|
cookies: {},
|
|
@@ -7337,20 +7341,20 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7337
7341
|
title: "Cookies"
|
|
7338
7342
|
}, {
|
|
7339
7343
|
default: b(() => [
|
|
7340
|
-
i.value ? (Q(), v(m(
|
|
7344
|
+
i.value ? (Q(), v(m(He), {
|
|
7341
7345
|
key: 1,
|
|
7342
7346
|
addLabel: "Cookie",
|
|
7343
7347
|
generatedItems: s.generatedCookies,
|
|
7344
7348
|
items: s.cookies,
|
|
7345
7349
|
onAddAnother: r,
|
|
7346
7350
|
onDeleteIndex: O
|
|
7347
|
-
}, null, 8, ["generatedItems", "items"])) : (Q(), P("div",
|
|
7351
|
+
}, null, 8, ["generatedItems", "items"])) : (Q(), P("div", Od, [
|
|
7348
7352
|
u("button", {
|
|
7349
7353
|
class: "scalar-api-client-add",
|
|
7350
7354
|
type: "button",
|
|
7351
7355
|
onClick: r
|
|
7352
7356
|
}, [
|
|
7353
|
-
|
|
7357
|
+
rd,
|
|
7354
7358
|
U(" Cookies ")
|
|
7355
7359
|
])
|
|
7356
7360
|
]))
|
|
@@ -7358,10 +7362,10 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7358
7362
|
_: 1
|
|
7359
7363
|
}, 8, ["defaultOpen"]));
|
|
7360
7364
|
}
|
|
7361
|
-
}),
|
|
7365
|
+
}), id = {
|
|
7362
7366
|
key: 0,
|
|
7363
7367
|
class: "scalar-api-client__empty-state"
|
|
7364
|
-
},
|
|
7368
|
+
}, od = /* @__PURE__ */ u("svg", {
|
|
7365
7369
|
class: "flow-icon",
|
|
7366
7370
|
"data-v-aa4fbd2d": "",
|
|
7367
7371
|
height: "100%",
|
|
@@ -7377,7 +7381,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7377
7381
|
"stroke-width": "3.429",
|
|
7378
7382
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7379
7383
|
})
|
|
7380
|
-
], -1),
|
|
7384
|
+
], -1), nd = /* @__PURE__ */ w({
|
|
7381
7385
|
__name: "RequestHeaders",
|
|
7382
7386
|
props: {
|
|
7383
7387
|
headers: {},
|
|
@@ -7402,20 +7406,20 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7402
7406
|
title: "Headers"
|
|
7403
7407
|
}, {
|
|
7404
7408
|
default: b(() => [
|
|
7405
|
-
i.value ? (Q(), v(m(
|
|
7409
|
+
i.value ? (Q(), v(m(He), {
|
|
7406
7410
|
key: 1,
|
|
7407
7411
|
addLabel: "Header",
|
|
7408
7412
|
generatedItems: s.generatedHeaders,
|
|
7409
7413
|
items: s.headers,
|
|
7410
7414
|
onAddAnother: r,
|
|
7411
7415
|
onDeleteIndex: O
|
|
7412
|
-
}, null, 8, ["generatedItems", "items"])) : (Q(), P("div",
|
|
7416
|
+
}, null, 8, ["generatedItems", "items"])) : (Q(), P("div", id, [
|
|
7413
7417
|
u("button", {
|
|
7414
7418
|
class: "scalar-api-client-add",
|
|
7415
7419
|
type: "button",
|
|
7416
7420
|
onClick: r
|
|
7417
7421
|
}, [
|
|
7418
|
-
|
|
7422
|
+
od,
|
|
7419
7423
|
U(" Headers ")
|
|
7420
7424
|
])
|
|
7421
7425
|
]))
|
|
@@ -7423,10 +7427,10 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7423
7427
|
_: 1
|
|
7424
7428
|
}, 8, ["defaultOpen"]));
|
|
7425
7429
|
}
|
|
7426
|
-
}),
|
|
7430
|
+
}), ld = {
|
|
7427
7431
|
key: 0,
|
|
7428
7432
|
class: "scalar-api-client__empty-state"
|
|
7429
|
-
},
|
|
7433
|
+
}, cd = /* @__PURE__ */ u("svg", {
|
|
7430
7434
|
class: "flow-icon",
|
|
7431
7435
|
"data-v-aa4fbd2d": "",
|
|
7432
7436
|
height: "100%",
|
|
@@ -7442,7 +7446,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7442
7446
|
"stroke-width": "3.429",
|
|
7443
7447
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7444
7448
|
})
|
|
7445
|
-
], -1),
|
|
7449
|
+
], -1), dd = /* @__PURE__ */ w({
|
|
7446
7450
|
__name: "RequestQuery",
|
|
7447
7451
|
props: {
|
|
7448
7452
|
queries: {},
|
|
@@ -7467,7 +7471,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7467
7471
|
title: "Query Parameters"
|
|
7468
7472
|
}, {
|
|
7469
7473
|
default: b(() => [
|
|
7470
|
-
i.value ? (Q(), v(m(
|
|
7474
|
+
i.value ? (Q(), v(m(He), {
|
|
7471
7475
|
key: 1,
|
|
7472
7476
|
addLabel: "Query Parameter",
|
|
7473
7477
|
generatedItems: s.generatedQueries,
|
|
@@ -7475,13 +7479,13 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7475
7479
|
showMoreFilter: !0,
|
|
7476
7480
|
onAddAnother: r,
|
|
7477
7481
|
onDeleteIndex: O
|
|
7478
|
-
}, null, 8, ["generatedItems", "items"])) : (Q(), P("div",
|
|
7482
|
+
}, null, 8, ["generatedItems", "items"])) : (Q(), P("div", ld, [
|
|
7479
7483
|
u("button", {
|
|
7480
7484
|
class: "scalar-api-client-add",
|
|
7481
7485
|
type: "button",
|
|
7482
7486
|
onClick: r
|
|
7483
7487
|
}, [
|
|
7484
|
-
|
|
7488
|
+
cd,
|
|
7485
7489
|
U(" Query Parameter ")
|
|
7486
7490
|
])
|
|
7487
7491
|
]))
|
|
@@ -7489,10 +7493,10 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7489
7493
|
_: 1
|
|
7490
7494
|
}, 8, ["defaultOpen"]));
|
|
7491
7495
|
}
|
|
7492
|
-
}),
|
|
7496
|
+
}), pd = {
|
|
7493
7497
|
key: 0,
|
|
7494
7498
|
class: "scalar-api-client__empty-state"
|
|
7495
|
-
},
|
|
7499
|
+
}, ud = /* @__PURE__ */ u("svg", {
|
|
7496
7500
|
class: "flow-icon",
|
|
7497
7501
|
"data-v-aa4fbd2d": "",
|
|
7498
7502
|
height: "100%",
|
|
@@ -7508,7 +7512,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7508
7512
|
"stroke-width": "3.429",
|
|
7509
7513
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7510
7514
|
})
|
|
7511
|
-
], -1),
|
|
7515
|
+
], -1), hd = /* @__PURE__ */ w({
|
|
7512
7516
|
__name: "RequestVariables",
|
|
7513
7517
|
props: {
|
|
7514
7518
|
variables: {}
|
|
@@ -7528,16 +7532,16 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7528
7532
|
title: "Variables"
|
|
7529
7533
|
}, {
|
|
7530
7534
|
default: b(() => [
|
|
7531
|
-
!r.variables || r.variables.length === 0 ? (Q(), P("div",
|
|
7535
|
+
!r.variables || r.variables.length === 0 ? (Q(), P("div", pd, [
|
|
7532
7536
|
u("button", {
|
|
7533
7537
|
class: "scalar-api-client-add",
|
|
7534
7538
|
type: "button",
|
|
7535
7539
|
onClick: O
|
|
7536
7540
|
}, [
|
|
7537
|
-
|
|
7541
|
+
ud,
|
|
7538
7542
|
U(" Variable ")
|
|
7539
7543
|
])
|
|
7540
|
-
])) : (Q(), v(m(
|
|
7544
|
+
])) : (Q(), v(m(He), {
|
|
7541
7545
|
key: 1,
|
|
7542
7546
|
addLabel: "Variable",
|
|
7543
7547
|
items: r.variables,
|
|
@@ -7549,15 +7553,15 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7549
7553
|
_: 1
|
|
7550
7554
|
}, 8, ["defaultOpen"]));
|
|
7551
7555
|
}
|
|
7552
|
-
}),
|
|
7556
|
+
}), fd = { class: "scalar-api-client__main__left custom-scroll" }, md = { class: "scalar-api-client__main__content" }, Qd = { class: "scalar-api-client__main__content__header" }, gd = /* @__PURE__ */ u("label", null, "Request", -1), Sd = { class: "meta" }, Pd = { class: "meta-item meta-item__input" }, $d = { class: "scalar-api-client__main__content__body" }, bd = /* @__PURE__ */ u("div", { class: "scalar-api-client__main__scroll-container" }, null, -1), Zd = !0, tO = /* @__PURE__ */ w({
|
|
7553
7557
|
__name: "Request",
|
|
7554
7558
|
setup(t) {
|
|
7555
|
-
const { activeRequest: e } = K(), { authentication: a } =
|
|
7559
|
+
const { activeRequest: e } = K(), { authentication: a } = Jt(), {
|
|
7556
7560
|
openApi: { operation: O, globalSecurity: r }
|
|
7557
|
-
} =
|
|
7561
|
+
} = hO(), i = x(
|
|
7558
7562
|
() => {
|
|
7559
7563
|
var o;
|
|
7560
|
-
return
|
|
7564
|
+
return uO(
|
|
7561
7565
|
a,
|
|
7562
7566
|
((o = O == null ? void 0 : O.information) == null ? void 0 : o.security) ?? r
|
|
7563
7567
|
);
|
|
@@ -7566,53 +7570,53 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7566
7570
|
const o = e.type.toLowerCase();
|
|
7567
7571
|
return o === "put" || o === "post" || o === "patch";
|
|
7568
7572
|
});
|
|
7569
|
-
return (o, n) => (Q(), P("div",
|
|
7570
|
-
u("div",
|
|
7571
|
-
u("div",
|
|
7572
|
-
|
|
7573
|
-
u("div",
|
|
7574
|
-
u("div",
|
|
7573
|
+
return (o, n) => (Q(), P("div", fd, [
|
|
7574
|
+
u("div", md, [
|
|
7575
|
+
u("div", Qd, [
|
|
7576
|
+
gd,
|
|
7577
|
+
u("div", Sd, [
|
|
7578
|
+
u("div", Pd, [
|
|
7575
7579
|
pe(u("input", {
|
|
7576
7580
|
"onUpdate:modelValue": n[0] || (n[0] = (l) => m(e).name = l),
|
|
7577
7581
|
class: "scalar-api-client__request-name",
|
|
7578
|
-
disabled:
|
|
7582
|
+
disabled: Zd,
|
|
7579
7583
|
placeholder: "Request Name",
|
|
7580
7584
|
type: "text"
|
|
7581
7585
|
}, null, 512), [
|
|
7582
|
-
[
|
|
7586
|
+
[Me, m(e).name]
|
|
7583
7587
|
])
|
|
7584
7588
|
])
|
|
7585
7589
|
])
|
|
7586
7590
|
]),
|
|
7587
|
-
u("div",
|
|
7588
|
-
Z(
|
|
7591
|
+
u("div", $d, [
|
|
7592
|
+
Z(hd, {
|
|
7589
7593
|
variables: m(e).variables
|
|
7590
7594
|
}, null, 8, ["variables"]),
|
|
7591
|
-
Z(m(
|
|
7592
|
-
Z(
|
|
7595
|
+
Z(m(gc)),
|
|
7596
|
+
Z(sd, {
|
|
7593
7597
|
cookies: m(e).cookies,
|
|
7594
7598
|
generatedCookies: i.value.cookies
|
|
7595
7599
|
}, null, 8, ["cookies", "generatedCookies"]),
|
|
7596
|
-
Z(
|
|
7600
|
+
Z(nd, {
|
|
7597
7601
|
generatedHeaders: i.value.headers,
|
|
7598
7602
|
headers: m(e).headers
|
|
7599
7603
|
}, null, 8, ["generatedHeaders", "headers"]),
|
|
7600
|
-
Z(
|
|
7604
|
+
Z(dd, {
|
|
7601
7605
|
generatedQueries: i.value.queryString,
|
|
7602
7606
|
queries: m(e).query
|
|
7603
7607
|
}, null, 8, ["generatedQueries", "queries"]),
|
|
7604
|
-
s.value ? (Q(), v(
|
|
7608
|
+
s.value ? (Q(), v(ad, {
|
|
7605
7609
|
key: 0,
|
|
7606
7610
|
body: m(e).body,
|
|
7607
7611
|
formData: m(e).formData,
|
|
7608
7612
|
requestBody: m(e).body
|
|
7609
7613
|
}, null, 8, ["body", "formData", "requestBody"])) : M("", !0),
|
|
7610
|
-
|
|
7614
|
+
bd
|
|
7611
7615
|
])
|
|
7612
7616
|
])
|
|
7613
7617
|
]));
|
|
7614
7618
|
}
|
|
7615
|
-
}),
|
|
7619
|
+
}), yd = ` .,,uod8B8bou,,.
|
|
7616
7620
|
..,uod8BBBBBBBBBBBBBBBBRPFT?l!i:.
|
|
7617
7621
|
||||||||||||||!?TFPRBBBBBBBBBBBBBBB8m=,
|
|
7618
7622
|
|||| '""^^!!||||||||||TFPRBBBVT!:...!
|
|
@@ -7642,7 +7646,7 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7642
7646
|
'"^!|Tf998888888889!\` WBBBBbo.
|
|
7643
7647
|
'"^!|Tf9989!\` YBBBP^'
|
|
7644
7648
|
'"^!\` \`
|
|
7645
|
-
`,
|
|
7649
|
+
`, vd = { class: "ascii-art" }, wd = { class: "ascii-art-line" }, kd = /* @__PURE__ */ w({
|
|
7646
7650
|
__name: "ScalarAsciiArt",
|
|
7647
7651
|
props: {
|
|
7648
7652
|
art: {}
|
|
@@ -7650,23 +7654,23 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7650
7654
|
setup(t) {
|
|
7651
7655
|
const e = t, a = x(() => e.art.split(`
|
|
7652
7656
|
`));
|
|
7653
|
-
return (O, r) => (Q(), P("div",
|
|
7657
|
+
return (O, r) => (Q(), P("div", vd, [
|
|
7654
7658
|
(Q(!0), P(j, null, fe(a.value, (i, s) => (Q(), P("span", {
|
|
7655
7659
|
key: s,
|
|
7656
7660
|
class: "ascii-art-line-wrapper",
|
|
7657
7661
|
style: Tr({ width: `calc(${i.length + 1}ch)` })
|
|
7658
7662
|
}, [
|
|
7659
|
-
u("span",
|
|
7663
|
+
u("span", wd, X(i), 1)
|
|
7660
7664
|
], 4))), 128))
|
|
7661
7665
|
]));
|
|
7662
7666
|
}
|
|
7663
|
-
}),
|
|
7667
|
+
}), Td = /* @__PURE__ */ R(kd, [["__scopeId", "data-v-b15ff222"]]), Xd = {
|
|
7664
7668
|
key: 1,
|
|
7665
7669
|
class: "scalar-api-client__empty-state"
|
|
7666
|
-
},
|
|
7670
|
+
}, xd = {
|
|
7667
7671
|
key: 1,
|
|
7668
7672
|
class: "scalar-api-client__empty-state"
|
|
7669
|
-
},
|
|
7673
|
+
}, _d = /* @__PURE__ */ w({
|
|
7670
7674
|
__name: "ResponseBody",
|
|
7671
7675
|
props: {
|
|
7672
7676
|
active: { type: Boolean, default: !1 },
|
|
@@ -7694,19 +7698,19 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7694
7698
|
class: "custom-scroll",
|
|
7695
7699
|
content: r.data,
|
|
7696
7700
|
lang: O.value
|
|
7697
|
-
}, null, 8, ["content", "lang"])) : (Q(), P("div",
|
|
7701
|
+
}, null, 8, ["content", "lang"])) : (Q(), P("div", Xd, [
|
|
7698
7702
|
a.value ? (Q(), P(j, { key: 0 }, [
|
|
7699
7703
|
U(" No Preview Available (" + X(a.value) + ") ", 1)
|
|
7700
7704
|
], 64)) : (Q(), P(j, { key: 1 }, [
|
|
7701
7705
|
U(" Can’t render a preview. The Content-Type header is missing or unknown. ")
|
|
7702
7706
|
], 64))
|
|
7703
7707
|
]))
|
|
7704
|
-
], 64)) : (Q(), P("div",
|
|
7708
|
+
], 64)) : (Q(), P("div", xd, " No Response "))
|
|
7705
7709
|
]),
|
|
7706
7710
|
_: 1
|
|
7707
7711
|
}));
|
|
7708
7712
|
}
|
|
7709
|
-
}),
|
|
7713
|
+
}), Wd = ["href"], Yd = /* @__PURE__ */ w({
|
|
7710
7714
|
__name: "HelpfulLink",
|
|
7711
7715
|
props: {
|
|
7712
7716
|
href: {}
|
|
@@ -7718,9 +7722,9 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7718
7722
|
target: "_blank"
|
|
7719
7723
|
}, [
|
|
7720
7724
|
E(e.$slots, "default", {}, void 0, !0)
|
|
7721
|
-
], 8,
|
|
7725
|
+
], 8, Wd));
|
|
7722
7726
|
}
|
|
7723
|
-
}), Zr = /* @__PURE__ */ R(
|
|
7727
|
+
}), Zr = /* @__PURE__ */ R(Yd, [["__scopeId", "data-v-faae4ad2"]]), Rd = /* @__PURE__ */ w({
|
|
7724
7728
|
__name: "SimpleCell",
|
|
7725
7729
|
props: {
|
|
7726
7730
|
wrap: { type: Boolean, default: !0 },
|
|
@@ -7742,10 +7746,10 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7742
7746
|
}, 8, ["href"])) : E(e.$slots, "default", { key: 1 }, void 0, !0)
|
|
7743
7747
|
], 2));
|
|
7744
7748
|
}
|
|
7745
|
-
}),
|
|
7749
|
+
}), Dt = /* @__PURE__ */ R(Rd, [["__scopeId", "data-v-fdd1d4be"]]), qd = /* @__PURE__ */ w({
|
|
7746
7750
|
__name: "SimpleHeader",
|
|
7747
7751
|
setup(t) {
|
|
7748
|
-
return (e, a) => (Q(), v(
|
|
7752
|
+
return (e, a) => (Q(), v(Dt, {
|
|
7749
7753
|
as: "th",
|
|
7750
7754
|
class: "simple-header"
|
|
7751
7755
|
}, {
|
|
@@ -7755,22 +7759,22 @@ const Wl = { class: "navtable-item-40 navtable-item-request" }, Yl = { class: "n
|
|
|
7755
7759
|
_: 3
|
|
7756
7760
|
}));
|
|
7757
7761
|
}
|
|
7758
|
-
}),
|
|
7759
|
-
function
|
|
7760
|
-
return Q(), P("tr",
|
|
7762
|
+
}), aO = /* @__PURE__ */ R(qd, [["__scopeId", "data-v-f5dc899e"]]), Cd = {}, Ud = { class: "simple-row" };
|
|
7763
|
+
function jd(t, e) {
|
|
7764
|
+
return Q(), P("tr", Ud, [
|
|
7761
7765
|
E(t.$slots, "default", {}, void 0, !0)
|
|
7762
7766
|
]);
|
|
7763
7767
|
}
|
|
7764
|
-
const
|
|
7765
|
-
function
|
|
7766
|
-
return Q(), P("table",
|
|
7768
|
+
const OO = /* @__PURE__ */ R(Cd, [["render", jd], ["__scopeId", "data-v-cf784a82"]]), zd = {}, Vd = { class: "simple-table" };
|
|
7769
|
+
function Gd(t, e) {
|
|
7770
|
+
return Q(), P("table", Vd, [
|
|
7767
7771
|
E(t.$slots, "default", {}, void 0, !0)
|
|
7768
7772
|
]);
|
|
7769
7773
|
}
|
|
7770
|
-
const
|
|
7774
|
+
const Ad = /* @__PURE__ */ R(zd, [["render", Gd], ["__scopeId", "data-v-e4383840"]]), Ed = {
|
|
7771
7775
|
key: 1,
|
|
7772
7776
|
class: "scalar-api-client__empty-state"
|
|
7773
|
-
},
|
|
7777
|
+
}, Hd = /* @__PURE__ */ w({
|
|
7774
7778
|
__name: "ResponseHeaders",
|
|
7775
7779
|
props: {
|
|
7776
7780
|
headers: {}
|
|
@@ -7782,17 +7786,17 @@ const zd = /* @__PURE__ */ R(Cd, [["render", jd], ["__scopeId", "data-v-e4383840
|
|
|
7782
7786
|
}, a = (O) => O.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1)).join("-");
|
|
7783
7787
|
return (O, r) => (Q(), v(m(se), { title: "Headers" }, {
|
|
7784
7788
|
default: b(() => [
|
|
7785
|
-
O.headers.length > 0 ? (Q(), v(m(
|
|
7789
|
+
O.headers.length > 0 ? (Q(), v(m(Ad), { key: 0 }, {
|
|
7786
7790
|
default: b(() => [
|
|
7787
|
-
Z(m(
|
|
7791
|
+
Z(m(OO), null, {
|
|
7788
7792
|
default: b(() => [
|
|
7789
|
-
Z(m(
|
|
7793
|
+
Z(m(aO), null, {
|
|
7790
7794
|
default: b(() => [
|
|
7791
7795
|
U("Key")
|
|
7792
7796
|
]),
|
|
7793
7797
|
_: 1
|
|
7794
7798
|
}),
|
|
7795
|
-
Z(m(
|
|
7799
|
+
Z(m(aO), null, {
|
|
7796
7800
|
default: b(() => [
|
|
7797
7801
|
U("Value")
|
|
7798
7802
|
]),
|
|
@@ -7801,11 +7805,11 @@ const zd = /* @__PURE__ */ R(Cd, [["render", jd], ["__scopeId", "data-v-e4383840
|
|
|
7801
7805
|
]),
|
|
7802
7806
|
_: 1
|
|
7803
7807
|
}),
|
|
7804
|
-
(Q(!0), P(j, null, fe(O.headers, (i) => (Q(), v(m(
|
|
7808
|
+
(Q(!0), P(j, null, fe(O.headers, (i) => (Q(), v(m(OO), {
|
|
7805
7809
|
key: i.name
|
|
7806
7810
|
}, {
|
|
7807
7811
|
default: b(() => [
|
|
7808
|
-
Z(m(
|
|
7812
|
+
Z(m(Dt), {
|
|
7809
7813
|
href: e(i.name),
|
|
7810
7814
|
strong: !0,
|
|
7811
7815
|
wrap: !1
|
|
@@ -7815,7 +7819,7 @@ const zd = /* @__PURE__ */ R(Cd, [["render", jd], ["__scopeId", "data-v-e4383840
|
|
|
7815
7819
|
]),
|
|
7816
7820
|
_: 2
|
|
7817
7821
|
}, 1032, ["href"]),
|
|
7818
|
-
Z(m(
|
|
7822
|
+
Z(m(Dt), null, {
|
|
7819
7823
|
default: b(() => [
|
|
7820
7824
|
U(X(i.value), 1)
|
|
7821
7825
|
]),
|
|
@@ -7826,12 +7830,12 @@ const zd = /* @__PURE__ */ R(Cd, [["render", jd], ["__scopeId", "data-v-e4383840
|
|
|
7826
7830
|
}, 1024))), 128))
|
|
7827
7831
|
]),
|
|
7828
7832
|
_: 1
|
|
7829
|
-
})) : (Q(), P("div",
|
|
7833
|
+
})) : (Q(), P("div", Ed, "No Headers"))
|
|
7830
7834
|
]),
|
|
7831
7835
|
_: 1
|
|
7832
7836
|
}));
|
|
7833
7837
|
}
|
|
7834
|
-
}),
|
|
7838
|
+
}), Bd = { class: "meta-item" }, Id = { class: "meta-item" }, Dd = { class: "meta-item" }, Nd = /* @__PURE__ */ w({
|
|
7835
7839
|
__name: "ResponseMetaInformation",
|
|
7836
7840
|
props: {
|
|
7837
7841
|
response: {}
|
|
@@ -7839,9 +7843,9 @@ const zd = /* @__PURE__ */ R(Cd, [["render", jd], ["__scopeId", "data-v-e4383840
|
|
|
7839
7843
|
setup(t) {
|
|
7840
7844
|
const e = t, a = (r) => {
|
|
7841
7845
|
var i;
|
|
7842
|
-
return (i = r == null ? void 0 : r.headers) != null && i["X-API-Client-Content-Length"] ?
|
|
7846
|
+
return (i = r == null ? void 0 : r.headers) != null && i["X-API-Client-Content-Length"] ? dt(
|
|
7843
7847
|
parseFloat(r.headers["X-API-Client-Content-Length"])
|
|
7844
|
-
) :
|
|
7848
|
+
) : dt(0);
|
|
7845
7849
|
}, O = x(() => {
|
|
7846
7850
|
const r = e.response.statusCode;
|
|
7847
7851
|
if (r)
|
|
@@ -7850,13 +7854,13 @@ const zd = /* @__PURE__ */ R(Cd, [["render", jd], ["__scopeId", "data-v-e4383840
|
|
|
7850
7854
|
return (r, i) => {
|
|
7851
7855
|
var s, o;
|
|
7852
7856
|
return Q(), P(j, null, [
|
|
7853
|
-
u("div",
|
|
7857
|
+
u("div", Bd, [
|
|
7854
7858
|
u("span", null, X(m($r)(r.response.duration)), 1)
|
|
7855
7859
|
]),
|
|
7856
|
-
u("div",
|
|
7860
|
+
u("div", Id, [
|
|
7857
7861
|
u("span", null, X(a(r.response)), 1)
|
|
7858
7862
|
]),
|
|
7859
|
-
u("div",
|
|
7863
|
+
u("div", Dd, [
|
|
7860
7864
|
u("span", {
|
|
7861
7865
|
class: J(`scalar-api-client__status scalar-api-client__status--${String(
|
|
7862
7866
|
r.response.statusCode
|
|
@@ -7878,19 +7882,19 @@ const zd = /* @__PURE__ */ R(Cd, [["render", jd], ["__scopeId", "data-v-e4383840
|
|
|
7878
7882
|
], 64);
|
|
7879
7883
|
};
|
|
7880
7884
|
}
|
|
7881
|
-
}),
|
|
7885
|
+
}), Md = { class: "scalar-api-client__main__right custom-scroll" }, Ld = { class: "scalar-api-client__main__content" }, Fd = { class: "scalar-api-client__main__content__header" }, Jd = /* @__PURE__ */ u("label", null, "Response", -1), Kd = {
|
|
7882
7886
|
key: 0,
|
|
7883
7887
|
class: "meta"
|
|
7884
|
-
},
|
|
7888
|
+
}, ep = {
|
|
7885
7889
|
key: 0,
|
|
7886
7890
|
class: "scalar-api-client__main__content__body"
|
|
7887
|
-
},
|
|
7891
|
+
}, tp = {
|
|
7888
7892
|
key: 0,
|
|
7889
7893
|
class: "scalar-api-client__empty-state"
|
|
7890
|
-
},
|
|
7894
|
+
}, ap = /* @__PURE__ */ u("div", { class: "scalar-api-client__main__scroll-container" }, null, -1), Op = {
|
|
7891
7895
|
key: 1,
|
|
7892
7896
|
class: "scalar-api-client__main__content empty-state"
|
|
7893
|
-
},
|
|
7897
|
+
}, rp = /* @__PURE__ */ u("p", null, "Fill the void and send your request", -1), rO = /* @__PURE__ */ w({
|
|
7894
7898
|
__name: "Response",
|
|
7895
7899
|
setup(t) {
|
|
7896
7900
|
const { activeResponse: e, activeRequestId: a } = K(), O = x(() => {
|
|
@@ -7909,41 +7913,41 @@ const zd = /* @__PURE__ */ R(Cd, [["render", jd], ["__scopeId", "data-v-e4383840
|
|
|
7909
7913
|
}), i = x(() => {
|
|
7910
7914
|
var o;
|
|
7911
7915
|
const s = (o = e.value) == null ? void 0 : o.data;
|
|
7912
|
-
return s &&
|
|
7916
|
+
return s && Ct(s) ? JSON.stringify(JSON.parse(s), null, 2) : s && typeof Xr(s) == "object" || s && !Ct(s) ? JSON.stringify(s, null, 2) : s;
|
|
7913
7917
|
});
|
|
7914
|
-
return (s, o) => (Q(), P("div",
|
|
7915
|
-
u("div",
|
|
7916
|
-
u("div",
|
|
7917
|
-
|
|
7918
|
-
m(a) && m(e) ? (Q(), P("div",
|
|
7919
|
-
Z(
|
|
7918
|
+
return (s, o) => (Q(), P("div", Md, [
|
|
7919
|
+
u("div", Ld, [
|
|
7920
|
+
u("div", Fd, [
|
|
7921
|
+
Jd,
|
|
7922
|
+
m(a) && m(e) ? (Q(), P("div", Kd, [
|
|
7923
|
+
Z(Nd, { response: m(e) }, null, 8, ["response"])
|
|
7920
7924
|
])) : M("", !0)
|
|
7921
7925
|
]),
|
|
7922
|
-
m(a) && m(e) ? (Q(), P("div",
|
|
7923
|
-
Z(
|
|
7926
|
+
m(a) && m(e) ? (Q(), P("div", ep, [
|
|
7927
|
+
Z(_d, {
|
|
7924
7928
|
active: !!m(e),
|
|
7925
7929
|
data: i.value,
|
|
7926
7930
|
headers: O.value
|
|
7927
7931
|
}, null, 8, ["active", "data", "headers"]),
|
|
7928
|
-
Z(
|
|
7932
|
+
Z(Hd, { headers: O.value }, null, 8, ["headers"]),
|
|
7929
7933
|
Z(m(se), { title: "Cookies" }, {
|
|
7930
7934
|
default: b(() => [
|
|
7931
|
-
pe(Z(m(
|
|
7932
|
-
[
|
|
7935
|
+
pe(Z(m(ed), { items: r.value }, null, 8, ["items"]), [
|
|
7936
|
+
[sO, r.value.length > 0]
|
|
7933
7937
|
]),
|
|
7934
|
-
r.value.length === 0 ? (Q(), P("div",
|
|
7938
|
+
r.value.length === 0 ? (Q(), P("div", tp, "No Cookies")) : M("", !0)
|
|
7935
7939
|
]),
|
|
7936
7940
|
_: 1
|
|
7937
7941
|
}),
|
|
7938
|
-
|
|
7939
|
-
])) : (Q(), P("div",
|
|
7940
|
-
Z(
|
|
7941
|
-
|
|
7942
|
+
ap
|
|
7943
|
+
])) : (Q(), P("div", Op, [
|
|
7944
|
+
Z(Td, { art: m(yd) }, null, 8, ["art"]),
|
|
7945
|
+
rp
|
|
7942
7946
|
]))
|
|
7943
7947
|
])
|
|
7944
7948
|
]));
|
|
7945
7949
|
}
|
|
7946
|
-
}),
|
|
7950
|
+
}), sp = { class: "scalar-api-client__main" }, pp = /* @__PURE__ */ w({
|
|
7947
7951
|
__name: "ApiClient",
|
|
7948
7952
|
props: {
|
|
7949
7953
|
proxyUrl: {},
|
|
@@ -7952,10 +7956,10 @@ const zd = /* @__PURE__ */ R(Cd, [["render", jd], ["__scopeId", "data-v-e4383840
|
|
|
7952
7956
|
withDefaultFonts: { type: Boolean, default: !0 },
|
|
7953
7957
|
showSideBar: { type: Boolean, default: !1 }
|
|
7954
7958
|
},
|
|
7955
|
-
emits: ["escapeKeyPress"],
|
|
7959
|
+
emits: ["escapeKeyPress", "toggleSidebar"],
|
|
7956
7960
|
setup(t, { emit: e }) {
|
|
7957
|
-
const a = t, O = e, r =
|
|
7958
|
-
|
|
7961
|
+
const a = t, O = e, r = mO();
|
|
7962
|
+
Ut(r.escape, () => O("escapeKeyPress")), Ut(r.meta_b, () => O("toggleSidebar"));
|
|
7959
7963
|
const { activeRequest: i, readOnly: s } = K(), o = Zs("(max-width: 820px)"), n = F(0), l = {
|
|
7960
7964
|
Request: 0,
|
|
7961
7965
|
Response: 1
|
|
@@ -7983,12 +7987,12 @@ const zd = /* @__PURE__ */ R(Cd, [["render", jd], ["__scopeId", "data-v-e4383840
|
|
|
7983
7987
|
default: b(() => [
|
|
7984
7988
|
u("div", null, [
|
|
7985
7989
|
E(d.$slots, "address-bar-controls"),
|
|
7986
|
-
Z(
|
|
7990
|
+
Z(cc, {
|
|
7987
7991
|
proxyUrl: d.proxyUrl,
|
|
7988
7992
|
onOnSend: h[0] || (h[0] = (f) => c(l.Response))
|
|
7989
7993
|
}, null, 8, ["proxyUrl"])
|
|
7990
7994
|
]),
|
|
7991
|
-
u("div",
|
|
7995
|
+
u("div", sp, [
|
|
7992
7996
|
d.showSideBar ? E(d.$slots, "sidebar", { key: 0 }) : M("", !0),
|
|
7993
7997
|
m(o) ? (Q(), v(m(Rr), {
|
|
7994
7998
|
key: 2,
|
|
@@ -7998,7 +8002,7 @@ const zd = /* @__PURE__ */ R(Cd, [["render", jd], ["__scopeId", "data-v-e4383840
|
|
|
7998
8002
|
default: b(() => [
|
|
7999
8003
|
Z(m(qr), { class: "scalar-api-client__mobile-navigation" }, {
|
|
8000
8004
|
default: b(() => [
|
|
8001
|
-
Z(m(
|
|
8005
|
+
Z(m(da), { class: "scalar-api-client__mobile-navigation__toggle" }, {
|
|
8002
8006
|
default: b(({ selected: f }) => [
|
|
8003
8007
|
u("span", {
|
|
8004
8008
|
class: J({
|
|
@@ -8008,7 +8012,7 @@ const zd = /* @__PURE__ */ R(Cd, [["render", jd], ["__scopeId", "data-v-e4383840
|
|
|
8008
8012
|
]),
|
|
8009
8013
|
_: 1
|
|
8010
8014
|
}),
|
|
8011
|
-
Z(m(
|
|
8015
|
+
Z(m(da), { class: "scalar-api-client__mobile-navigation__toggle" }, {
|
|
8012
8016
|
default: b(({ selected: f }) => [
|
|
8013
8017
|
u("span", {
|
|
8014
8018
|
class: J({
|
|
@@ -8023,15 +8027,15 @@ const zd = /* @__PURE__ */ R(Cd, [["render", jd], ["__scopeId", "data-v-e4383840
|
|
|
8023
8027
|
}),
|
|
8024
8028
|
Z(m(Cr), { as: "template" }, {
|
|
8025
8029
|
default: b(() => [
|
|
8026
|
-
Z(m(
|
|
8030
|
+
Z(m(pa), { as: "template" }, {
|
|
8027
8031
|
default: b(() => [
|
|
8028
|
-
Z(m(
|
|
8032
|
+
Z(m(tO))
|
|
8029
8033
|
]),
|
|
8030
8034
|
_: 1
|
|
8031
8035
|
}),
|
|
8032
|
-
Z(m(
|
|
8036
|
+
Z(m(pa), { as: "template" }, {
|
|
8033
8037
|
default: b(() => [
|
|
8034
|
-
Z(m(
|
|
8038
|
+
Z(m(rO))
|
|
8035
8039
|
]),
|
|
8036
8040
|
_: 1
|
|
8037
8041
|
})
|
|
@@ -8041,8 +8045,8 @@ const zd = /* @__PURE__ */ R(Cd, [["render", jd], ["__scopeId", "data-v-e4383840
|
|
|
8041
8045
|
]),
|
|
8042
8046
|
_: 1
|
|
8043
8047
|
}, 8, ["selectedIndex"])) : (Q(), P(j, { key: 1 }, [
|
|
8044
|
-
Z(m(
|
|
8045
|
-
Z(m(
|
|
8048
|
+
Z(m(tO)),
|
|
8049
|
+
Z(m(rO))
|
|
8046
8050
|
], 64))
|
|
8047
8051
|
])
|
|
8048
8052
|
]),
|
|
@@ -8052,36 +8056,36 @@ const zd = /* @__PURE__ */ R(Cd, [["render", jd], ["__scopeId", "data-v-e4383840
|
|
|
8052
8056
|
}
|
|
8053
8057
|
});
|
|
8054
8058
|
export {
|
|
8055
|
-
|
|
8059
|
+
pp as ApiClient,
|
|
8056
8060
|
bs as HttpMethod,
|
|
8057
|
-
|
|
8061
|
+
gc as RequestAuthentication,
|
|
8058
8062
|
Qs as SecurityScheme,
|
|
8059
8063
|
ms as SecuritySchemeSelector,
|
|
8060
8064
|
fl as concatenateUrlAndPath,
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
|
|
8064
|
-
|
|
8065
|
-
|
|
8066
|
-
|
|
8067
|
-
|
|
8068
|
-
|
|
8065
|
+
fp as createEmptyAuthenticationState,
|
|
8066
|
+
mp as createEmptyOpenApiState,
|
|
8067
|
+
Qp as createPlaceholderRequest,
|
|
8068
|
+
gp as encodeStringAsBase64,
|
|
8069
|
+
Sp as findVariables,
|
|
8070
|
+
Pp as getBase64Token,
|
|
8071
|
+
uO as getRequestFromAuthentication,
|
|
8072
|
+
$p as getSecretCredentialsFromAuthentication,
|
|
8069
8073
|
vs as httpHeaders,
|
|
8070
8074
|
ws as httpStatusCodes,
|
|
8071
8075
|
ml as humanDiff,
|
|
8072
8076
|
ps as isRequestMethod,
|
|
8073
|
-
|
|
8077
|
+
Ie as mapFromArray,
|
|
8074
8078
|
Ql as normalizePath,
|
|
8075
8079
|
gl as normalizeRequestMethod,
|
|
8076
8080
|
Sl as normalizeUrl,
|
|
8077
8081
|
Pl as prepareClientRequestConfig,
|
|
8078
8082
|
$l as replaceVariables,
|
|
8079
|
-
|
|
8080
|
-
|
|
8083
|
+
bp as requestMethodAbbreviations,
|
|
8084
|
+
Zp as requestMethodColors,
|
|
8081
8085
|
yl as sendRequest,
|
|
8082
|
-
|
|
8083
|
-
|
|
8084
|
-
|
|
8086
|
+
yp as useApiClientStore,
|
|
8087
|
+
Jt as useAuthenticationStore,
|
|
8088
|
+
hO as useOpenApiStore,
|
|
8085
8089
|
K as useRequestStore,
|
|
8086
|
-
|
|
8090
|
+
vp as validRequestMethods
|
|
8087
8091
|
};
|