UNPKG

vitepress-openapi

Version:

Generate VitePress API Documentation from OpenAPI Specification.

457 lines 203 kB
var Ur = Object.defineProperty; var Ir = (e, t, n) => t in e ? Ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n; var _ = (e, t, n) => Ir(e, typeof t != "symbol" ? t + "" : t, n); import { toRef as Hr, readonly as bn, customRef as _r, ref as A, onMounted as yn, nextTick as it, getCurrentInstance as Ae, watch as ue, getCurrentScope as Sn, onScopeDispose as Dr, hasInjectionContext as $n, inject as qr, computed as V, shallowRef as fe, toValue as Q, watchEffect as Fr, unref as Le, isRef as kn } from "vue"; function we(e) { let t, n, r; if (Array.isArray(e)) { for (n = Array(t = e.length); t--; ) n[t] = (r = e[t]) && typeof r == "object" ? we(r) : r; return n; } if (Object.prototype.toString.call(e) === "[object Object]") { n = {}; for (t in e) t === "__proto__" ? Object.defineProperty(n, t, { value: we(e[t]), configurable: !0, enumerable: !0, writable: !0 }) : n[t] = (r = e[t]) && typeof r == "object" ? we(r) : r; return n; } return e; } const He = /* @__PURE__ */ new Map(), Mr = (e, t) => { He.has(e) || He.set(e, /* @__PURE__ */ new Map()); const n = He.get(e); if (n.has(t)) return n.get(t); const r = t.split("/").slice(1); let s = e; for (const i of r) (!s || typeof s != "object") && (s = null), s = s[i] ?? null; return n.set(t, s), s; }, _e = /* @__PURE__ */ new Map(), Vr = (e) => { if (_e.has(e)) return _e.get(e); const t = /* @__PURE__ */ new Set(), n = we(e), r = (i, u) => { if (typeof i == "object" && i !== null) { if (t.has(i)) return i; if (t.add(i), Array.isArray(i)) for (let o = 0; o < i.length; o++) i[o] = r(i[o]); else { if ("$ref" in i && typeof i.$ref == "string") { let o = i; do o = Mr(n, o.$ref); while (o != null && o.$ref); return o; } for (const o in i) i[o] = r(i[o]); } } return i; }, s = r(n); return _e.set(e, s), s; }; function se(e) { if (e instanceof Promise) return e.then(De).catch(qe); try { const t = e(); return t instanceof Promise ? t.then(De).catch(qe) : De(t); } catch (t) { return qe(t); } } const De = (e) => [e, null], qe = (e) => [null, new ut(e)]; class ut extends Error { /** * Creates a new error with the given cause. * * @param cause - The cause of the error. */ constructor(t) { super("thrown error", { cause: t }), this.cause = t, Error.captureStackTrace && Error.captureStackTrace(this, ut); } } /*! * allof-merge v0.6.6 * Copyright (C) 2012-2024 Damir Yusipov * Date: Sat, 17 Feb 2024 19:27:36 GMT */ function he(e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (e != null && typeof Object.getOwnPropertySymbols == "function") { var s = 0; for (r = Object.getOwnPropertySymbols(e); s < r.length; s++) t.indexOf(r[s]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[s]) && (n[r[s]] = e[r[s]]); } return n; } function Jr(e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (e != null && typeof Object.getOwnPropertySymbols == "function") { var s = 0; for (r = Object.getOwnPropertySymbols(e); s < r.length; s++) t.indexOf(r[s]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[s]) && (n[r[s]] = e[r[s]]); } return n; } const Gr = (e = {}, t, n, r) => { const s = `/${t}`, i = typeof e["/**"] == "function" ? e["/**"]({ key: t, path: n, value: r }) : e["/**"], u = typeof e["/*"] == "function" ? e["/*"]({ key: t, path: n, value: r }) : e["/*"]; let o = {}; if (s in e) o = e[s]; else if (!i && !u) return; return o = typeof o == "function" ? o({ key: t, path: n, value: r }) : o, u && (o = Object.assign(Object.assign({}, u), o)), i ? Object.assign(Object.assign({ "/**": e["/**"] }, i), o) : o; }, vn = (e) => { const t = {}, n = e.reduce((r, s) => (Object.keys(s).forEach((i) => r.add(i)), r), /* @__PURE__ */ new Set()); for (const r of n.keys()) { const s = e.filter((i) => r in i); if (s.length !== 1) { if (r.charAt(0) !== "/") throw new Error(`Cannot merge rules. Duplicate key: ${r}. Rules should not have same Rule key`); t[r] = (i, u) => { const o = s.map((a) => typeof a[r] == "function" ? a[r](i, u) : a[r]); return vn(o); }; } else t[r] = s[0][r]; } return t; }, W = (e) => typeof e == "object" && e !== null, Fe = (e) => Array.isArray(e), Wr = (e, t, n = {}) => { var r, s; t = Fe(t) ? t : [t]; const i = Fe(n.rules) ? vn(n.rules) : n.rules, u = [{ data: e, state: n.state, path: [], keys: [], keyIndex: -1, rules: i }]; for (; u.length > 0; ) { const o = u[u.length - 1]; if (o.keyIndex >= o.keys.length) { for (; !((r = o.hooks) === null || r === void 0) && r.length; ) o.hooks.pop()(); u.pop(); continue; } const a = o.keys[o.keyIndex++], [c, l, g] = u.length > 1 ? [o.data[a], [...o.path, a], Gr(o.rules, a, [...o.path, a], o.data[a])] : [o.data, o.path, i]; let p = { value: c, path: l, key: a, state: o.state, rules: g }; const f = []; for (const h of t) { if (!h || typeof h != "function") continue; const y = (s = h(p)) !== null && s !== void 0 ? s : {}, { terminate: b, done: S, exitHook: $ } = y, T = Jr(y, ["terminate", "done", "exitHook"]); if (b) return; if ($ && f.push($), p = Object.assign(Object.assign({}, p), T), S) { p = null; break; } } if (p && W(p.value)) { const h = Fe(p.value) ? [...p.value.keys()] : Object.keys(p.value); u.push({ hooks: f, state: p.state, data: p.value, path: l, keys: h, keyIndex: 0, rules: p.rules }); } else for (; f.length; ) f.pop()(); } }, zr = () => { const e = /* @__PURE__ */ new WeakMap(); let t; return [({ value: n }) => { t = n; }, ({ value: n, path: r, key: s, state: i }) => { if (s = r.length ? s : "#", W(t) && W(n)) { if (e.has(t)) return i.node[s] = e.get(t), { done: !0 }; const u = Array.isArray(n) ? [] : {}; i.node[s] = u, e.set(t, u); } else i.node[s] = n; return { value: n, state: Object.assign(Object.assign({}, i), { node: i.node[s] }) }; }]; }; class Tn extends Map { add(t, n) { const r = this.get(t); return r ? r.push(n) : this.set(t, [n]), this; } } const Yr = (e, t) => { const n = {}; for (const r of t) r in e && (n[r] = e[r], delete e[r]); return n; }, On = (e, t) => { if (Array.isArray(e) && Array.isArray(t)) return [...e, ...t]; if (W(e) && W(t)) { const n = Object.assign({}, e); for (const r of Object.keys(t)) n[r] = On(n[r], t[r]); return n; } return t; }, Xe = (e) => e && e.$ref && typeof e.$ref == "string", Wt = (e) => e && e.anyOf && Array.isArray(e.anyOf), zt = (e) => e && e.oneOf && Array.isArray(e.oneOf), En = (e, t = "") => { const [n = t, r] = e.split("#"), s = r && r !== "/" ? r : ""; return { filePath: n, pointer: s, normalized: Kr(n, s), jsonPath: wn(s) }; }, Kr = (e, t) => e ? `${e}${t ? "#" + t : ""}` : t ? `#${t}` : "#", jn = (e, t, n = [t]) => { if (!W(e)) return; let r = e; const s = wn(t); for (const i of s) if (Array.isArray(r) && r.length > +i) r = r[+i]; else if (W(r) && i in r) r = r[i]; else { if (!Xe(r)) return; { const u = En(r.$ref); r = u.filePath || n.includes(u.pointer) ? void 0 : jn(e, u.pointer, [...n, u.pointer]); } } return r; }, xe = { slash: /\//g, tilde: /~/g, escapedSlash: /~1/g, escapedTilde: /~0/g }, wn = (e) => e.split("/").map((t) => decodeURIComponent(t.replace(xe.escapedSlash, "/").replace(xe.escapedTilde, "~"))).slice(1), ct = (e) => e.length ? "/" + e.map((t) => encodeURIComponent(String(t).replace(xe.tilde, "~0").replace(xe.slash, "~1"))).join("/") : "", Qr = (e, t) => JSON.stringify(e) == JSON.stringify(t), Xr = (e) => { let t = 1; for (; e * t % 1 != 0; ) t *= 10; return t; }; function Zr(e) { const t = e.reduce((n, r) => Math.max(n, Xr(r)), 0); return e.reduce((n, r) => Math.round(n * t * r * t / Pn(n * t, r * t)) / t); } function Pn(e, t) { return t === 0 ? e : Pn(t, e % t); } const xn = (e) => { if (e.length === 0) return [[]]; const t = e[0], n = e.slice(1), r = xn(n), s = []; for (const i of t) for (const u of r) s.push([i, ...u]); return s; }, eo = (e) => { const t = []; for (const n of e) { if (!("properties" in n)) continue; const r = new Set(Object.keys(n.properties)), s = new Tn(); for (const u of r.values()) for (const o of e) if (!(o == n || o.properties && u in o.properties)) if ("patternProperties" in o && o.patternProperties) for (const a of Object.keys(o.patternProperties)) new RegExp(a).test(u) || r.delete(u); else "additionalProperties" in o && (o.additionalProperties === !1 ? r.delete(u) : typeof o.additionalProperties == "object" && s.add(u, o.additionalProperties)); if (!r.size) continue; const i = {}; for (const u of r.values()) s.has(u) ? i[u] = { allOf: [n.properties[u], ...s.get(u)] } : i[u] = n.properties[u]; t.push(i); } return t; }, to = (e) => { const t = []; for (const n of e) { if (!("patternProperties" in n)) continue; const r = new Set(Object.keys(n.patternProperties)); for (const i of e) if (i != n && "additionalProperties" in i && !i.additionalProperties) for (const u of r.values()) i.patternProperties && u in i.patternProperties || r.delete(u); if (!r.size) continue; const s = {}; for (const i of r.values()) s[i] = n.patternProperties[i]; t.push(s); } return t; }, Yt = (e) => { const t = {}, n = dt(e); for (const [r, s] of Object.entries(n)) s.includes(!1) ? t[r] = !1 : t[r] = s.length > 1 ? { allOf: s } : s[0]; return t; }, no = (e, t) => !!e.reduce((n, r) => n && r === !0, !0) || ye(e, t), ro = () => "Could not merge values, they are probably incompatible", oo = (e) => `Merge rule not found for key: ${e}`, dt = (e) => { const t = {}; for (const n of e) for (const r of Object.keys(n)) Array.isArray(t[r]) ? t[r].push(n[r]) : t[r] = [n[r]]; return t; }, ye = (e, t) => { if (e.includes(!1)) return !1; const n = {}, r = dt(e); "properties" in r && (r.properties = eo(e)), "patternProperties" in r && (r.patternProperties = to(e)); for (let [s, i] of Object.entries(r)) { if (!i.length) continue; const u = t.mergeRules; let o = `/${s}` in u ? u[`/${s}`] : u["/?"]; o = o && !("$" in o) && "/" in o ? o["/"] : o, o = typeof o == "function" ? o() : o; const a = o && "$" in o ? o.$ : void 0; if (!a) throw new Error(oo(s)); const c = i.length > 1 ? a(i, Object.assign(Object.assign({}, t), { allOfItems: e })) : i[0]; c === void 0 ? t.mergeError(i) : n[s] = c; } return Object.keys(n).length ? n : void 0; }, F = (e) => e[e.length - 1], ne = (e) => e.reduce((t, n) => t || n, !1), ce = (e) => Math.min(...e), de = (e) => Math.max(...e), so = (e) => e.length > 1 ? e.reduce((t, n) => `${t}(?=${n})`, "") : e[0], Cn = ([e, ...t]) => t.reduce((n, r) => n.filter((s) => r.includes(s)), e), ao = ([e, ...t]) => t.find((n) => !Qr(n, e)) ? void 0 : e, D = ([e, ...t]) => t.reduce((n, r) => On(n, r), e), pe = (e) => xn(e).map((t) => ({ allOf: t })), io = (e) => ({ anyOf: e }), uo = (e) => Zr(e), co = (e, t) => { const n = e.map((s) => s.map((i) => JSON.stringify(i))), r = Cn(n).map((s) => JSON.parse(s)).sort(); return r.length || t.mergeError(e), r; }, lo = (e, t) => { const n = e.map((s) => Array.isArray(s) ? s : [s]), r = Cn(n); return r.length === 1 ? r[0] : r.length ? r : void 0; }, Rn = (e) => { const t = /* @__PURE__ */ new Set(); for (const n of e) for (const r of n) t.add(r); return Array.from(t).sort(); }, fo = (e, t) => { const n = {}, r = dt(e); for (const [s, i] of Object.entries(r)) if (i.reduce((u, o) => u && Array.isArray(o), !0)) n[s] = Rn(i); else { const u = i.map((o) => Array.isArray(o) ? { required: o } : o); n[s] = u.length > 1 ? { allOf: u } : u[0]; } return n; }, Bn = (e, t) => { if (!e.reduce((a, c) => Array.isArray(c) || a, !1)) return ye(e, t); const n = []; let r = 1 / 0, s = 0; const i = new Tn(); for (const a of t.allOfItems) "additionalItems" in a && a.additionalItems && "items" in a && Array.isArray(a.items) && i.add(a.items.length, a.additionalItems), "items" in a && (n.push(a.items), Array.isArray(a.items) && (s = Math.max(s, a.items.length), "additionalItems" in a && a.additionalItems === !1 && (r = Math.min(r, a.items.length)))); const u = Math.min(s, r), o = [...Array(u)].map(() => ({ allOf: [] })); for (const a of n) if (Array.isArray(a)) for (let c = 0; c < u; c++) { const l = []; for (let g = 0; g <= c; g++) i.has(g) && l.push(...i.get(g)); c < a.length ? o[c].allOf.push(l.length ? Object.assign(Object.assign({}, a[c]), { allOf: l }) : a[c]) : o[c].allOf.push(!l.length || { allOf: l }); } else o.forEach(({ allOf: c }) => c.push(a)); return o; }, po = (e, t) => { const n = [], r = []; for (const s of t.allOfItems) "items" in s && !Array.isArray(s.items) && r.push(s.items), "additionalItems" in s && "items" in s && Array.isArray(s.items) && n.push(s.additionalItems); return r.length && n.forEach((s) => s.allOf = r), ye(n, t); }, I = (e = "draft-06", t = {}) => Object.assign(Object.assign(Object.assign(Object.assign({ "/maximum": { $: ce }, "/exclusiveMaximum": { $: ne }, "/minimum": { $: de }, "/exclusiveMinimum": { $: ne }, "/maxLength": { $: ce }, "/minLength": { $: de }, "/maxItems": { $: ce }, "/minItems": { $: de }, "/uniqueItems": { $: ne }, "/maxProperties": { $: ce }, "/minProperties": { $: de }, "/required": { $: Rn }, "/multipleOf": { $: uo }, "/enum": { $: co }, "/type": { $: lo }, "/allOf": { "/*": () => I(e, t), $: pe }, "/not": { $: io }, "/oneOf": { "/*": () => I(e, t), $: pe, sibling: ["definitions", "$defs", "$id", "$schema"] }, "/anyOf": { "/*": () => I(e, t), $: pe, sibling: ["definitions", "$defs", "$id", "$schema"] }, "/properties": { "/*": () => I(e, t), $: Yt }, "/items": () => Object.assign(Object.assign({}, I(e, t)), { $: Bn, "/*": ({ key: n }) => typeof n == "number" ? I(e, t) : {} }), "/additionalProperties": () => Object.assign(Object.assign({}, I(e, t)), { $: no }), "/additionalItems": () => Object.assign(Object.assign({}, I(e, t)), { $: po }), "/patternProperties": { "/*": () => I(e, t), $: Yt }, "/pattern": { $: so }, "/readOnly": { $: ne }, "/writeOnly": { $: ne }, "/example": { $: D }, "/examples": { $: D }, "/deprecated": { $: ne } }, e !== "draft-04" ? { "/propertyNames": () => I(e, t), "/contains": () => I(e, t), "/dependencies": { "/*": () => I(e, t), $: fo }, "/const": { $: ao }, "/exclusiveMaximum": { $: ce }, "/exclusiveMinimum": { $: de }, "/$defs": { "/*": () => I(e, t), $: D } } : {}), { "/definitions": { "/*": () => I(e, t), $: D }, "/xml": { $: D }, "/externalDocs": { $: F }, "/description": { $: F }, "/title": { $: F }, "/format": { $: F }, "/default": { $: F }, "/?": { $: F } }), t), { $: ye }), ge = (e) => I(e, { "/discriminator": { $: D }, "/oneOf": { "/*": () => ge(e), $: pe, sibling: ["discriminator"] }, "/anyOf": { "/*": () => ge(e), $: pe, sibling: ["discriminator"] } }), Ne = (e) => e === "3.0.x" ? Object.assign(Object.assign({}, ge("draft-04")), { "/items": ({ key: t }) => Object.assign(Object.assign({}, ge("draft-04")), { $: Bn }) }) : ge("draft-06"), oe = (e) => ({ "/*": { "/schema": Ne(e) } }), Kt = (e) => ({ "/content": { "/*": { "/schema": Ne(e), "/encoding": { "/headers": oe(e) } } } }), Qt = (e) => ({ "/*": { "/headers": oe(e), "/content": { "/*": { "/schema": Ne(e), "/encoding": { "/headers": oe(e) } } } } }), go = (e = "3.0.x") => ({ "/paths": { "/*": { "/*": { "/parameters": oe(e), "/requestBody": Kt(e), "/responses": Qt(e) }, "/parameters": oe(e) } }, "/components": { "/schemas": { "/*": Ne(e) }, "/responses": Qt(e), "/parameters": oe(e), "/requestBodies": { "/*": Kt(e) }, "/headers": oe(e) } }), re = I("draft-06", { "/args": () => re, "/nullable": { $: ne }, "/specifiedByURL": { $: F }, "/values": { $: D, "/*": { $: D, "/description": { $: F }, "/deprecated": { $: F, "/reason": { $: F } } } }, "/interfaces": { $: D, "/*": { $: D } }, "/directives": { $: D, "/*": () => Object.assign(Object.assign({}, re), { "/meta": { $: D } }) } }), ho = { "/queries": { "/*": () => re }, "/mutations": { "/*": () => re }, "/subscriptions": { "/*": () => re }, "/components": { "/*": { "/*": re }, "/directives": { "/*": { "/args": () => re } } } }, Te = (e, t, n) => { const r = n.sibling || [], s = e, i = t, u = s[i], o = he(s, [typeof i == "symbol" ? i : i + ""]), a = Yr(o, r); return Object.keys(o).length ? Object.assign({ [t]: u.map((c) => ({ allOf: [o, c] })) }, a) : e; }, An = (e, t, n, r) => { const s = [], i = ct(t), u = [], o = { pointer: i, data: "", refs: [] }; for (const c of e) if (Xe(c) && !u.includes(c.$ref)) { o.data === "" && (o.data = JSON.stringify(e)); const { $ref: l } = c, g = he(c, ["$ref"]), { filePath: p, normalized: f, pointer: h } = En(l), y = r.find((S) => S.refs.includes(c.$ref) && S.data === o.data && h !== S.pointer); if (y) return { allOfItems: [{ $ref: "#" + y.pointer }], brokenRefs: u }; o.refs.push(f); const b = p ? void 0 : jn(n, h); b === void 0 ? (u.push(f), s.push(c)) : s.push(b), Object.keys(g).length && s.push(g); } else s.push(c); o.refs.length && r.push(o); const a = Ln(s); return a.find((c) => Xe(c) && !u.includes(c.$ref)) ? An(a, t, n, r) : { allOfItems: a, brokenRefs: u }; }, Ln = (e) => { const t = []; for (const n of e) if (W(n)) if (n.allOf && Array.isArray(n.allOf)) { const { allOf: r } = n, s = he(n, ["allOf"]), i = Object.keys(s).length ? [...r, s] : r; t.push(...Ln(i)); } else t.push(n); return t; }, mo = (e) => { if (typeof e != "object" || !e) return I(); if ("openapi" in e && typeof e.openapi == "string" && /3.+/.test(e.openapi)) { const t = e.openapi.startsWith("3.1") ? "3.1.x" : "3.0.x"; return go(t); } return "graphapi" in e && typeof e.graphapi == "string" ? ho : I(); }, bo = (e, t) => { var n; const r = (n = void 0) !== null && n !== void 0 ? n : mo(e); return ((s, i = [], u = {}) => { var o; i = Array.isArray(i) ? i : [i]; const a = { "#": void 0 }, c = Object.assign({ state: Object.assign(Object.assign({}, (o = u.state) !== null && o !== void 0 ? o : {}), { root: a, node: a }) }, u.rules ? { rules: u.rules } : {}), [l, g] = zr(); return Wr(s, [l, ...i, g], c), a["#"]; })(e, yo(t), { rules: r }); }, yo = (e) => { const t = /* @__PURE__ */ new Map(); let n = e == null ? void 0 : e.source; const r = []; return ({ value: s, key: i, path: u, rules: o, state: a }) => { u.length || e != null && e.source || (n = s); const c = (S) => { var $; const T = So(u); T ? t.set(...T) : ($ = e == null ? void 0 : e.onMergeError) === null || $ === void 0 || $.call(e, ro(), u, S); }, l = () => { const { node: S } = a, $ = ct(u); if (t.has($)) { const T = t.get($), x = S[i]; Array.isArray(x) && (x.length < 2 && c((s == null ? void 0 : s.allOf) || []), x.splice(T, 1)); } }; if (!W(s) || Array.isArray(s)) return { exitHook: l }; if (!((S) => !!S && S["/allOf"] && "$" in S["/allOf"])(o)) return { exitHook: l }; const { allOf: g } = s, p = he(s, ["allOf"]), f = []; if (Array.isArray(g) && f.push(...g), f.length) Object.keys(p).length && f.push(p); else { const { $ref: S } = p, $ = he(p, ["$ref"]); if (e != null && e.mergeRefSibling && S && Object.keys($).length > 0) f.push({ $ref: S }, $); else if (e != null && e.mergeCombinarySibling) { if (Wt(p) && o["/anyOf"]) return { value: Te(p, "anyOf", o["/anyOf"]), exitHook: l }; if (zt(p) && o["/oneOf"]) return { value: Te(p, "oneOf", o["/oneOf"]), exitHook: l }; } } if (!f.length) return { value: p, exitHook: l }; const { allOfItems: h, brokenRefs: y } = An(f, u, n, r); if (y.length) return y.forEach((S) => { var $; return ($ = e == null ? void 0 : e.onRefResolveError) === null || $ === void 0 ? void 0 : $.call(e, "Cannot resolve $ref", u, S); }), { value: { allOf: h }, exitHook: l }; if (h.length < 2) return { value: h.length ? h[0] : {}, exitHook: l }; const b = ye(h, { allOfItems: h, mergeRules: o, mergeError: c }); return e != null && e.mergeCombinarySibling && Wt(b) ? { value: Te(b, "anyOf", o["/anyOf"]), exitHook: l } : e != null && e.mergeCombinarySibling && zt(b) ? { value: Te(b, "oneOf", o["/oneOf"]), exitHook: l } : { value: b, exitHook: l }; }; }, So = (e) => { for (let t = e.length - 2; t >= 0; t--) if (e[t] === "anyOf" || e[t] === "oneOf") { const n = e.slice(0, t + 1); return [ct(n), e[t + 1]]; } }, $o = Object.freeze(JSON.parse('{"colors":{"activityBar.activeBorder":"#4d9375","activityBar.background":"#121212","activityBar.border":"#191919","activityBar.foreground":"#dbd7caee","activityBar.inactiveForeground":"#dedcd550","activityBarBadge.background":"#bfbaaa","activityBarBadge.foreground":"#121212","badge.background":"#dedcd590","badge.foreground":"#121212","breadcrumb.activeSelectionForeground":"#eeeeee18","breadcrumb.background":"#181818","breadcrumb.focusForeground":"#dbd7caee","breadcrumb.foreground":"#959da5","breadcrumbPicker.background":"#121212","button.background":"#4d9375","button.foreground":"#121212","button.hoverBackground":"#4d9375","checkbox.background":"#181818","checkbox.border":"#2f363d","debugToolBar.background":"#121212","descriptionForeground":"#dedcd590","diffEditor.insertedTextBackground":"#4d937550","diffEditor.removedTextBackground":"#ab595950","dropdown.background":"#121212","dropdown.border":"#191919","dropdown.foreground":"#dbd7caee","dropdown.listBackground":"#181818","editor.background":"#121212","editor.findMatchBackground":"#e6cc7722","editor.findMatchHighlightBackground":"#e6cc7744","editor.focusedStackFrameHighlightBackground":"#b808","editor.foldBackground":"#eeeeee10","editor.foreground":"#dbd7caee","editor.inactiveSelectionBackground":"#eeeeee10","editor.lineHighlightBackground":"#181818","editor.selectionBackground":"#eeeeee18","editor.selectionHighlightBackground":"#eeeeee10","editor.stackFrameHighlightBackground":"#a707","editor.wordHighlightBackground":"#1c6b4805","editor.wordHighlightStrongBackground":"#1c6b4810","editorBracketHighlight.foreground1":"#5eaab5","editorBracketHighlight.foreground2":"#4d9375","editorBracketHighlight.foreground3":"#d4976c","editorBracketHighlight.foreground4":"#d9739f","editorBracketHighlight.foreground5":"#e6cc77","editorBracketHighlight.foreground6":"#6394bf","editorBracketMatch.background":"#4d937520","editorError.foreground":"#cb7676","editorGroup.border":"#191919","editorGroupHeader.tabsBackground":"#121212","editorGroupHeader.tabsBorder":"#191919","editorGutter.addedBackground":"#4d9375","editorGutter.commentRangeForeground":"#dedcd550","editorGutter.deletedBackground":"#cb7676","editorGutter.foldingControlForeground":"#dedcd590","editorGutter.modifiedBackground":"#6394bf","editorHint.foreground":"#4d9375","editorIndentGuide.activeBackground":"#ffffff30","editorIndentGuide.background":"#ffffff15","editorInfo.foreground":"#6394bf","editorInlayHint.background":"#181818","editorInlayHint.foreground":"#666666","editorLineNumber.activeForeground":"#bfbaaa","editorLineNumber.foreground":"#dedcd550","editorOverviewRuler.border":"#111","editorStickyScroll.background":"#181818","editorStickyScrollHover.background":"#181818","editorWarning.foreground":"#d4976c","editorWhitespace.foreground":"#ffffff15","editorWidget.background":"#121212","errorForeground":"#cb7676","focusBorder":"#00000000","foreground":"#dbd7caee","gitDecoration.addedResourceForeground":"#4d9375","gitDecoration.conflictingResourceForeground":"#d4976c","gitDecoration.deletedResourceForeground":"#cb7676","gitDecoration.ignoredResourceForeground":"#dedcd550","gitDecoration.modifiedResourceForeground":"#6394bf","gitDecoration.submoduleResourceForeground":"#dedcd590","gitDecoration.untrackedResourceForeground":"#5eaab5","input.background":"#181818","input.border":"#191919","input.foreground":"#dbd7caee","input.placeholderForeground":"#dedcd590","inputOption.activeBackground":"#dedcd550","list.activeSelectionBackground":"#181818","list.activeSelectionForeground":"#dbd7caee","list.focusBackground":"#181818","list.highlightForeground":"#4d9375","list.hoverBackground":"#181818","list.hoverForeground":"#dbd7caee","list.inactiveFocusBackground":"#121212","list.inactiveSelectionBackground":"#181818","list.inactiveSelectionForeground":"#dbd7caee","menu.separatorBackground":"#191919","notificationCenterHeader.background":"#121212","notificationCenterHeader.foreground":"#959da5","notifications.background":"#121212","notifications.border":"#191919","notifications.foreground":"#dbd7caee","notificationsErrorIcon.foreground":"#cb7676","notificationsInfoIcon.foreground":"#6394bf","notificationsWarningIcon.foreground":"#d4976c","panel.background":"#121212","panel.border":"#191919","panelInput.border":"#2f363d","panelTitle.activeBorder":"#4d9375","panelTitle.activeForeground":"#dbd7caee","panelTitle.inactiveForeground":"#959da5","peekViewEditor.background":"#121212","peekViewEditor.matchHighlightBackground":"#ffd33d33","peekViewResult.background":"#121212","peekViewResult.matchHighlightBackground":"#ffd33d33","pickerGroup.border":"#191919","pickerGroup.foreground":"#dbd7caee","problemsErrorIcon.foreground":"#cb7676","problemsInfoIcon.foreground":"#6394bf","problemsWarningIcon.foreground":"#d4976c","progressBar.background":"#4d9375","quickInput.background":"#121212","quickInput.foreground":"#dbd7caee","quickInputList.focusBackground":"#181818","scrollbar.shadow":"#0000","scrollbarSlider.activeBackground":"#dedcd550","scrollbarSlider.background":"#dedcd510","scrollbarSlider.hoverBackground":"#dedcd550","settings.headerForeground":"#dbd7caee","settings.modifiedItemIndicator":"#4d9375","sideBar.background":"#121212","sideBar.border":"#191919","sideBar.foreground":"#bfbaaa","sideBarSectionHeader.background":"#121212","sideBarSectionHeader.border":"#191919","sideBarSectionHeader.foreground":"#dbd7caee","sideBarTitle.foreground":"#dbd7caee","statusBar.background":"#121212","statusBar.border":"#191919","statusBar.debuggingBackground":"#181818","statusBar.debuggingForeground":"#bfbaaa","statusBar.foreground":"#bfbaaa","statusBar.noFolderBackground":"#121212","statusBarItem.prominentBackground":"#181818","tab.activeBackground":"#121212","tab.activeBorder":"#191919","tab.activeBorderTop":"#dedcd590","tab.activeForeground":"#dbd7caee","tab.border":"#191919","tab.hoverBackground":"#181818","tab.inactiveBackground":"#121212","tab.inactiveForeground":"#959da5","tab.unfocusedActiveBorder":"#191919","tab.unfocusedActiveBorderTop":"#191919","tab.unfocusedHoverBackground":"#121212","terminal.ansiBlack":"#393a34","terminal.ansiBlue":"#6394bf","terminal.ansiBrightBlack":"#777777","terminal.ansiBrightBlue":"#6394bf","terminal.ansiBrightCyan":"#5eaab5","terminal.ansiBrightGreen":"#4d9375","terminal.ansiBrightMagenta":"#d9739f","terminal.ansiBrightRed":"#cb7676","terminal.ansiBrightWhite":"#ffffff","terminal.ansiBrightYellow":"#e6cc77","terminal.ansiCyan":"#5eaab5","terminal.ansiGreen":"#4d9375","terminal.ansiMagenta":"#d9739f","terminal.ansiRed":"#cb7676","terminal.ansiWhite":"#dbd7ca","terminal.ansiYellow":"#e6cc77","terminal.foreground":"#dbd7caee","terminal.selectionBackground":"#eeeeee18","textBlockQuote.background":"#121212","textBlockQuote.border":"#191919","textCodeBlock.background":"#121212","textLink.activeForeground":"#4d9375","textLink.foreground":"#4d9375","textPreformat.foreground":"#d1d5da","textSeparator.foreground":"#586069","titleBar.activeBackground":"#121212","titleBar.activeForeground":"#bfbaaa","titleBar.border":"#181818","titleBar.inactiveBackground":"#121212","titleBar.inactiveForeground":"#959da5","tree.indentGuidesStroke":"#2f363d","welcomePage.buttonBackground":"#2f363d","welcomePage.buttonHoverBackground":"#444d56"},"displayName":"Vitesse Dark","name":"vitesse-dark","semanticHighlighting":true,"semanticTokenColors":{"class":"#6872ab","interface":"#5d99a9","namespace":"#db889a","property":"#b8a965","type":"#5d99a9"},"tokenColors":[{"scope":["comment","punctuation.definition.comment","string.comment"],"settings":{"foreground":"#758575dd"}},{"scope":["delimiter.bracket","delimiter","invalid.illegal.character-not-allowed-here.html","keyword.operator.rest","keyword.operator.spread","keyword.operator.type.annotation","keyword.operator.relational","keyword.operator.assignment","keyword.operator.type","meta.brace","meta.tag.block.any.html","meta.tag.inline.any.html","meta.tag.structure.input.void.html","meta.type.annotation","meta.embedded.block.github-actions-expression","storage.type.function.arrow","meta.objectliteral.ts","punctuation","punctuation.definition.string.begin.html.vue","punctuation.definition.string.end.html.vue"],"settings":{"foreground":"#666666"}},{"scope":["constant","entity.name.constant","variable.language","meta.definition.variable"],"settings":{"foreground":"#c99076"}},{"scope":["entity","entity.name"],"settings":{"foreground":"#80a665"}},{"scope":"variable.parameter.function","settings":{"foreground":"#dbd7caee"}},{"scope":["entity.name.tag","tag.html"],"settings":{"foreground":"#4d9375"}},{"scope":"entity.name.function","settings":{"foreground":"#80a665"}},{"scope":["keyword","storage.type.class.jsdoc","punctuation.definition.template-expression"],"settings":{"foreground":"#4d9375"}},{"scope":["storage","storage.type","support.type.builtin","constant.language.undefined","constant.language.null","constant.language.import-export-all.ts"],"settings":{"foreground":"#cb7676"}},{"scope":["text.html.derivative","storage.modifier.package","storage.modifier.import","storage.type.java"],"settings":{"foreground":"#dbd7caee"}},{"scope":["string","string punctuation.section.embedded source","attribute.value"],"settings":{"foreground":"#c98a7d"}},{"scope":["punctuation.definition.string"],"settings":{"foreground":"#c98a7d77"}},{"scope":["punctuation.support.type.property-name"],"settings":{"foreground":"#b8a96577"}},{"scope":"support","settings":{"foreground":"#b8a965"}},{"scope":["property","meta.property-name","meta.object-literal.key","entity.name.tag.yaml","attribute.name"],"settings":{"foreground":"#b8a965"}},{"scope":["entity.other.attribute-name","invalid.deprecated.entity.other.attribute-name.html"],"settings":{"foreground":"#bd976a"}},{"scope":["variable","identifier"],"settings":{"foreground":"#bd976a"}},{"scope":["support.type.primitive","entity.name.type"],"settings":{"foreground":"#5DA994"}},{"scope":"namespace","settings":{"foreground":"#db889a"}},{"scope":["keyword.operator","keyword.operator.assignment.compound","meta.var.expr.ts"],"settings":{"foreground":"#cb7676"}},{"scope":"invalid.broken","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.deprecated","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.illegal","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.unimplemented","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"carriage-return","settings":{"background":"#f97583","content":"^M","fontStyle":"italic underline","foreground":"#24292e"}},{"scope":"message.error","settings":{"foreground":"#fdaeb7"}},{"scope":"string variable","settings":{"foreground":"#c98a7d"}},{"scope":["source.regexp","string.regexp"],"settings":{"foreground":"#c4704f"}},{"scope":["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],"settings":{"foreground":"#c98a7d"}},{"scope":"string.regexp constant.character.escape","settings":{"foreground":"#e6cc77"}},{"scope":["support.constant"],"settings":{"foreground":"#c99076"}},{"scope":["keyword.operator.quantifier.regexp","constant.numeric","number"],"settings":{"foreground":"#4C9A91"}},{"scope":["keyword.other.unit"],"settings":{"foreground":"#cb7676"}},{"scope":["constant.language.boolean","constant.language"],"settings":{"foreground":"#4d9375"}},{"scope":"meta.module-reference","settings":{"foreground":"#4d9375"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#d4976c"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#4d9375"}},{"scope":"markup.quote","settings":{"foreground":"#5d99a9"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#dbd7caee"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#dbd7caee"}},{"scope":"markup.raw","settings":{"foreground":"#4d9375"}},{"scope":["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],"settings":{"background":"#86181d","foreground":"#fdaeb7"}},{"scope":["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],"settings":{"background":"#144620","foreground":"#85e89d"}},{"scope":["markup.changed","punctuation.definition.changed"],"settings":{"background":"#c24e00","foreground":"#ffab70"}},{"scope":["markup.ignored","markup.untracked"],"settings":{"background":"#79b8ff","foreground":"#2f363d"}},{"scope":"meta.diff.range","settings":{"fontStyle":"bold","foreground":"#b392f0"}},{"scope":"meta.diff.header","settings":{"foreground":"#79b8ff"}},{"scope":"meta.separator","settings":{"fontStyle":"bold","foreground":"#79b8ff"}},{"scope":"meta.output","settings":{"foreground":"#79b8ff"}},{"scope":["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],"settings":{"foreground":"#d1d5da"}},{"scope":"brackethighlighter.unmatched","settings":{"foreground":"#fdaeb7"}},{"scope":["constant.other.reference.link","string.other.link","punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown"],"settings":{"foreground":"#c98a7d"}},{"scope":["markup.underline.link.markdown","markup.underline.link.image.markdown"],"settings":{"fontStyle":"underline","foreground":"#dedcd590"}},{"scope":["type.identifier","constant.other.character-class.regexp"],"settings":{"foreground":"#6872ab"}},{"scope":["entity.other.attribute-name.html.vue"],"settings":{"foreground":"#80a665"}},{"scope":["invalid.illegal.unrecognized-tag.html"],"settings":{"fontStyle":"normal"}}],"type":"dark"}')), ko = Object.freeze(JSON.parse('{"colors":{"activityBar.activeBorder":"#1c6b48","activityBar.background":"#ffffff","activityBar.border":"#f0f0f0","activityBar.foreground":"#393a34","activityBar.inactiveForeground":"#393a3450","activityBarBadge.background":"#4e4f47","activityBarBadge.foreground":"#ffffff","badge.background":"#393a3490","badge.foreground":"#ffffff","breadcrumb.activeSelectionForeground":"#22222218","breadcrumb.background":"#f7f7f7","breadcrumb.focusForeground":"#393a34","breadcrumb.foreground":"#6a737d","breadcrumbPicker.background":"#ffffff","button.background":"#1c6b48","button.foreground":"#ffffff","button.hoverBackground":"#1c6b48","checkbox.background":"#f7f7f7","checkbox.border":"#d1d5da","debugToolBar.background":"#ffffff","descriptionForeground":"#393a3490","diffEditor.insertedTextBackground":"#1c6b4830","diffEditor.removedTextBackground":"#ab595940","dropdown.background":"#ffffff","dropdown.border":"#f0f0f0","dropdown.foreground":"#393a34","dropdown.listBackground":"#f7f7f7","editor.background":"#ffffff","editor.findMatchBackground":"#e6cc7744","editor.findMatchHighlightBackground":"#e6cc7766","editor.focusedStackFrameHighlightBackground":"#fff5b1","editor.foldBackground":"#22222210","editor.foreground":"#393a34","editor.inactiveSelectionBackground":"#22222210","editor.lineHighlightBackground":"#f7f7f7","editor.selectionBackground":"#22222218","editor.selectionHighlightBackground":"#22222210","editor.stackFrameHighlightBackground":"#fffbdd","editor.wordHighlightBackground":"#1c6b4805","editor.wordHighlightStrongBackground":"#1c6b4810","editorBracketHighlight.foreground1":"#2993a3","editorBracketHighlight.foreground2":"#1e754f","editorBracketHighlight.foreground3":"#a65e2b","editorBracketHighlight.foreground4":"#a13865","editorBracketHighlight.foreground5":"#bda437","editorBracketHighlight.foreground6":"#296aa3","editorBracketMatch.background":"#1c6b4820","editorError.foreground":"#ab5959","editorGroup.border":"#f0f0f0","editorGroupHeader.tabsBackground":"#ffffff","editorGroupHeader.tabsBorder":"#f0f0f0","editorGutter.addedBackground":"#1e754f","editorGutter.commentRangeForeground":"#393a3450","editorGutter.deletedBackground":"#ab5959","editorGutter.foldingControlForeground":"#393a3490","editorGutter.modifiedBackground":"#296aa3","editorHint.foreground":"#1e754f","editorIndentGuide.activeBackground":"#00000030","editorIndentGuide.background":"#00000015","editorInfo.foreground":"#296aa3","editorInlayHint.background":"#f7f7f7","editorInlayHint.foreground":"#999999","editorLineNumber.activeForeground":"#4e4f47","editorLineNumber.foreground":"#393a3450","editorOverviewRuler.border":"#fff","editorStickyScroll.background":"#f7f7f7","editorStickyScrollHover.background":"#f7f7f7","editorWarning.foreground":"#a65e2b","editorWhitespace.foreground":"#00000015","editorWidget.background":"#ffffff","errorForeground":"#ab5959","focusBorder":"#00000000","foreground":"#393a34","gitDecoration.addedResourceForeground":"#1e754f","gitDecoration.conflictingResourceForeground":"#a65e2b","gitDecoration.deletedResourceForeground":"#ab5959","gitDecoration.ignoredResourceForeground":"#393a3450","gitDecoration.modifiedResourceForeground":"#296aa3","gitDecoration.submoduleResourceForeground":"#393a3490","gitDecoration.untrackedResourceForeground":"#2993a3","input.background":"#f7f7f7","input.border":"#f0f0f0","input.foreground":"#393a34","input.placeholderForeground":"#393a3490","inputOption.activeBackground":"#393a3450","list.activeSelectionBackground":"#f7f7f7","list.activeSelectionForeground":"#393a34","list.focusBackground":"#f7f7f7","list.highlightForeground":"#1c6b48","list.hoverBackground":"#f7f7f7","list.hoverForeground":"#393a34","list.inactiveFocusBackground":"#ffffff","list.inactiveSelectionBackground":"#f7f7f7","list.inactiveSelectionForeground":"#393a34","menu.separatorBackground":"#f0f0f0","notificationCenterHeader.background":"#ffffff","notificationCenterHeader.foreground":"#6a737d","notifications.background":"#ffffff","notifications.border":"#f0f0f0","notifications.foreground":"#393a34","notificationsErrorIcon.foreground":"#ab5959","notificationsInfoIcon.foreground":"#296aa3","notificationsWarningIcon.foreground":"#a65e2b","panel.background":"#ffffff","panel.border":"#f0f0f0","panelInput.border":"#e1e4e8","panelTitle.activeBorder":"#1c6b48","panelTitle.activeForeground":"#393a34","panelTitle.inactiveForeground":"#6a737d","peekViewEditor.background":"#ffffff","peekViewResult.background":"#ffffff","pickerGroup.border":"#f0f0f0","pickerGroup.foreground":"#393a34","problemsErrorIcon.foreground":"#ab5959","problemsInfoIcon.foreground":"#296aa3","problemsWarningIcon.foreground":"#a65e2b","progressBar.background":"#1c6b48","quickInput.background":"#ffffff","quickInput.foreground":"#393a34","quickInputList.focusBackground":"#f7f7f7","scrollbar.shadow":"#6a737d33","scrollbarSlider.activeBackground":"#393a3450","scrollbarSlider.background":"#393a3410","scrollbarSlider.hoverBackground":"#393a3450","settings.headerForeground":"#393a34","settings.modifiedItemIndicator":"#1c6b48","sideBar.background":"#ffffff","sideBar.border":"#f0f0f0","sideBar.foreground":"#4e4f47","sideBarSectionHeader.background":"#ffffff","sideBarSectionHeader.border":"#f0f0f0","sideBarSectionHeader.foreground":"#393a34","sideBarTitle.foreground":"#393a34","statusBar.background":"#ffffff","statusBar.border":"#f0f0f0","statusBar.debuggingBackground":"#f7f7f7","statusBar.debuggingForeground":"#4e4f47","statusBar.foreground":"#4e4f47","statusBar.noFolderBackground":"#ffffff","statusBarItem.prominentBackground":"#f7f7f7","tab.activeBackground":"#ffffff","tab.activeBorder":"#f0f0f0","tab.activeBorderTop":"#393a3490","tab.activeForeground":"#393a34","tab.border":"#f0f0f0","tab.hoverBackground":"#f7f7f7","tab.inactiveBackground":"#ffffff","tab.inactiveForeground":"#6a737d","tab.unfocusedActiveBorder":"#f0f0f0","tab.unfocusedActiveBorderTop":"#f0f0f0","tab.unfocusedHoverBackground":"#ffffff","terminal.ansiBlack":"#121212","terminal.ansiBlue":"#296aa3","terminal.ansiBrightBlack":"#aaaaaa","terminal.ansiBrightBlue":"#296aa3","terminal.ansiBrightCyan":"#2993a3","terminal.ansiBrightGreen":"#1e754f","terminal.ansiBrightMagenta":"#a13865","terminal.ansiBrightRed":"#ab5959","terminal.ansiBrightWhite":"#dddddd","terminal.ansiBrightYellow":"#bda437","terminal.ansiCyan":"#2993a3","terminal.ansiGreen":"#1e754f","terminal.ansiMagenta":"#a13865","terminal.ansiRed":"#ab5959","terminal.ansiWhite":"#dbd7ca","terminal.ansiYellow":"#bda437","terminal.foreground":"#393a34","terminal.selectionBackground":"#22222218","textBlockQuote.background":"#ffffff","textBlockQuote.border":"#f0f0f0","textCodeBlock.background":"#ffffff","textLink.activeForeground":"#1c6b48","textLink.foreground":"#1c6b48","textPreformat.foreground":"#586069","textSeparator.foreground":"#d1d5da","titleBar.activeBackground":"#ffffff","titleBar.activeForeground":"#4e4f47","titleBar.border":"#f7f7f7","titleBar.inactiveBackground":"#ffffff","titleBar.inactiveForeground":"#6a737d","tree.indentGuidesStroke":"#e1e4e8","welcomePage.buttonBackground":"#f6f8fa","welcomePage.buttonHoverBackground":"#e1e4e8"},"displayName":"Vitesse Light","name":"vitesse-light","semanticHighlighting":true,"semanticTokenColors":{"class":"#5a6aa6","interface":"#2e808f","namespace":"#b05a78","property":"#998418","type":"#2e808f"},"tokenColors":[{"scope":["comment","punctuation.definition.comment","string.comment"],"settings":{"foreground":"#a0ada0"}},{"scope":["delimiter.bracket","delimiter","invalid.illegal.character-not-allowed-here.html","keyword.operator.rest","keyword.operator.spread","keyword.operator.type.annotation","keyword.operator.relational","keyword.operator.assignment","keyword.operator.type","meta.brace","meta.tag.block.any.html","meta.tag.inline.any.html","meta.tag.structure.input.void.html","meta.type.annotation","meta.embedded.block.github-actions-expression","storage.type.function.arrow","meta.objectliteral.ts","punctuation","punctuation.definition.string.begin.html.vue","punctuation.definition.string.end.html.vue"],"settings":{"foreground":"#999999"}},{"scope":["constant","entity.name.constant","variable.language","meta.definition.variable"],"settings":{"foreground":"#a65e2b"}},{"scope":["entity","entity.name"],"settings":{"foreground":"#59873a"}},{"scope":"variable.parameter.function","settings":{"foreground":"#393a34"}},{"scope":["entity.name.tag","tag.html"],"settings":{"foreground":"#1e754f"}},{"scope":"entity.name.function","settings":{"foreground":"#59873a"}},{"scope":["keyword","storage.type.class.jsdoc","punctuation.definition.template-expression"],"settings":{"foreground":"#1e754f"}},{"scope":["storage","storage.type","support.type.builtin","constant.language.undefined","constant.language.null","constant.language.import-export-all.ts"],"settings":{"foreground":"#ab5959"}},{"scope":["text.html.derivative","storage.modifier.package","storage.modifier.import","storage.type.java"],"settings":{"foreground":"#393a34"}},{"scope":["string","string punctuation.section.embedded source","attribute.value"],"settings":{"foreground":"#b56959"}},{"scope":["punctuation.definition.string"],"settings":{"foreground":"#b5695977"}},{"scope":["punctuation.support.type.property-name"],"settings":{"foreground":"#99841877"}},{"scope":"support","settings":{"foreground":"#998418"}},{"scope":["property","meta.property-name","meta.object-literal.key","entity.name.tag.yaml","attribute.name"],"settings":{"foreground":"#998418"}},{"scope":["entity.other.attribute-name","invalid.deprecated.entity.other.attribute-name.html"],"settings":{"foreground":"#b07d48"}},{"scope":["variable","identifier"],"settings":{"foreground":"#b07d48"}},{"scope":["support.type.primitive","entity.name.type"],"settings":{"foreground":"#2e8f82"}},{"scope":"namespace","settings":{"foreground":"#b05a78"}},{"scope":["keyword.operator","keyword.operator.assignment.compound","meta.var.expr.ts"],"settings":{"foreground":"#ab5959"}},{"scope":"invalid.broken","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.deprecated","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.illegal","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.unimplemented","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"carriage-return","settings":{"background":"#d73a49","content":"^M","fontStyle":"italic underline","foreground":"#fafbfc"}},{"scope":"message.error","settings":{"foreground":"#b31d28"}},{"scope":"string variable","settings":{"foreground":"#b56959"}},{"scope":["source.regexp","string.regexp"],"settings":{"foreground":"#ab5e3f"}},{"scope":["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],"settings":{"foreground":"#b56959"}},{"scope":"string.regexp constant.character.escape","settings":{"foreground":"#bda437"}},{"scope":["support.constant"],"settings":{"foreground":"#a65e2b"}},{"scope":["keyword.operator.quantifier.regexp","constant.numeric","number"],"settings":{"foreground":"#2f798a"}},{"scope":["keyword.other.unit"],"settings":{"foreground":"#ab5959"}},{"scope":["constant.language.boolean","constant.language"],"settings":{"foreground":"#1e754f"}},{"scope":"meta.module-reference","settings":{"foreground":"#1c6b48"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#a65e2b"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#1c6b48"}},{"scope":"markup.quote","settings":{"foreground":"#2e808f"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#393a34"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#393a34"}},{"scope":"markup.raw","settings":{"foreground":"#1c6b48"}},{"scope":["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],"settings":{"background":"#ffeef0","foreground":"#b31d28"}},{"scope":["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],"settings":{"background":"#f0fff4","foreground":"#22863a"}},{"scope":["markup.changed","punctuation.definition.changed"],"settings":{"background":"#ffebda","foreground":"#e36209"}},{"scope":["markup.ignored","markup.untracked"],"settings":{"background":"#005cc5","foreground":"#f6f8fa"}},{"scope":"meta.diff.range","settings":{"fontStyle":"bold","foreground":"#6f42c1"}},{"scope":"meta.diff.header","settings":{"foreground":"#005cc5"}},{"scope":"meta.separator","settings":{"fontStyle":"bold","foreground":"#005cc5"}},{"scope":"meta.output","settings":{"foreground":"#005cc5"}},{"scope":["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],"settings":{"foreground":"#586069"}},{"scope":"brackethighlighter.unmatched","settings":{"foreground":"#b31d28"}},{"scope":["constant.other.reference.link","string.other.link","punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown"],"settings":{"foreground":"#b56959"}},{"scope":["markup.underline.link.markdown","markup.underline.link.image.markdown"],"settings":{"fontStyle":"underline","foreground":"#393a3490"}},{"scope":["type.identifier","constant.other.character-class.regexp"],"settings":{"foreground":"#5a6aa6"}},{"scope":["entity.other.attribute-name.html.vue"],"settings":{"foreground":"#59873a"}},{"scope":["invalid.illegal.unrecognized-tag.html"],"settings":{"fontStyle":"normal"}}],"type":"light"}')); function vo(e) { return Sn() ? (Dr(e), !0) : !1; } const Me = /* @__PURE__ */ new WeakMap(), To = (...e) => { var t; const n = e[0], r = (t = Ae()) == null ? void 0 : t.proxy; if (r == null && !$n()) throw new Error("injectLocal must be called in setup"); return r && Me.has(r) && n in Me.get(r) ? Me.get(r)[n] : qr(...e); }, Oo = typeof window < "u" && typeof document < "u"; typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope; const Eo = (e) => typeof e < "u", jo = Object.prototype.toString, wo = (e) => jo.call(e) === "[object Object]", Po = () => { }; function xo(e, t) { function n(...r) { return new Promise((s, i) => { Promise.resolve(e(() => t.apply(this, r), { fn: t, thisArg: this, args: r })).then(s).catch(i); }); } return n; } const Nn = (e) => e(); function Co(e = Nn, t = {}) { const { initialState: n = "active" } = t, r = Un(n === "active"); function s() { r.value = !1; } function i() { r.value = !0; } const u = (...o) => { r.value && e(...o); }; return { isActive: bn(r), pause: s, resume: i, eventFilter: u }; } function Xt(e) { return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e); } function Ro(e) { return Ae(); } function Ve(e) { return Array.isArray(e) ? e : [e]; } function Un(...e) { if (e.length !== 1) return Hr(...e); const t = e[0]; return typeof t == "function" ? bn(_r(() => ({ get: t, set: Po }))) : A(t); } function Bo(e, t, n = {}) { const { eventFilter: r = Nn, ...s } = n; return ue( e, xo( r, t ), s ); } function Ao(e, t, n = {}) { const { eventFilter: r, initialState: s = "active", ...i } = n, { eventFilt