@guihz/trading-vue-editor-tes 0.0.153 → 0.0.155
Sign up to get free protection for your applications and to get access to all the features.
@@ -34,15 +34,15 @@ function ab() {
|
|
34
34
|
return Fr;
|
35
35
|
hc = 1;
|
36
36
|
var a = cs, n = Symbol.for("react.element"), r = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, c = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
|
37
|
-
function m(
|
37
|
+
function m(y, f, b) {
|
38
38
|
var h, T = {}, M = null, R = null;
|
39
39
|
b !== void 0 && (M = "" + b), f.key !== void 0 && (M = "" + f.key), f.ref !== void 0 && (R = f.ref);
|
40
40
|
for (h in f)
|
41
41
|
o.call(f, h) && !l.hasOwnProperty(h) && (T[h] = f[h]);
|
42
|
-
if (
|
43
|
-
for (h in f =
|
42
|
+
if (y && y.defaultProps)
|
43
|
+
for (h in f = y.defaultProps, f)
|
44
44
|
T[h] === void 0 && (T[h] = f[h]);
|
45
|
-
return { $$typeof: n, type:
|
45
|
+
return { $$typeof: n, type: y, key: M, ref: R, props: T, _owner: c.current };
|
46
46
|
}
|
47
47
|
return Fr.Fragment = r, Fr.jsx = m, Fr.jsxs = m, Fr;
|
48
48
|
}
|
@@ -59,7 +59,7 @@ var Rr = {};
|
|
59
59
|
var wc;
|
60
60
|
function nb() {
|
61
61
|
return wc || (wc = 1, process.env.NODE_ENV !== "production" && function() {
|
62
|
-
var a = cs, n = Symbol.for("react.element"), r = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), m = Symbol.for("react.provider"),
|
62
|
+
var a = cs, n = Symbol.for("react.element"), r = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), y = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), M = Symbol.for("react.lazy"), R = Symbol.for("react.offscreen"), O = Symbol.iterator, E = "@@iterator";
|
63
63
|
function U(g) {
|
64
64
|
if (g === null || typeof g != "object")
|
65
65
|
return null;
|
@@ -87,7 +87,7 @@ function nb() {
|
|
87
87
|
var I = !1, P = !1, X = !1, z = !1, j = !1, se;
|
88
88
|
se = Symbol.for("react.module.reference");
|
89
89
|
function oe(g) {
|
90
|
-
return !!(typeof g == "string" || typeof g == "function" || g === o || g === l || j || g === c || g === b || g === h || z || g === R || I || P || X || typeof g == "object" && g !== null && (g.$$typeof === M || g.$$typeof === T || g.$$typeof === m || g.$$typeof ===
|
90
|
+
return !!(typeof g == "string" || typeof g == "function" || g === o || g === l || j || g === c || g === b || g === h || z || g === R || I || P || X || typeof g == "object" && g !== null && (g.$$typeof === M || g.$$typeof === T || g.$$typeof === m || g.$$typeof === y || g.$$typeof === f || // This needs to include all possible module reference object
|
91
91
|
// types supported by any Flight configuration anywhere since
|
92
92
|
// we don't know which Flight build this will end up being used
|
93
93
|
// with.
|
@@ -126,7 +126,7 @@ function nb() {
|
|
126
126
|
}
|
127
127
|
if (typeof g == "object")
|
128
128
|
switch (g.$$typeof) {
|
129
|
-
case
|
129
|
+
case y:
|
130
130
|
var S = g;
|
131
131
|
return Nt(S) + ".Consumer";
|
132
132
|
case m:
|
@@ -704,7 +704,7 @@ function db(a, n) {
|
|
704
704
|
if (!(typeof Symbol > "u" || !(Symbol.iterator in Object(a)))) {
|
705
705
|
var r = [], o = !0, c = !1, l = void 0;
|
706
706
|
try {
|
707
|
-
for (var m = a[Symbol.iterator](),
|
707
|
+
for (var m = a[Symbol.iterator](), y; !(o = (y = m.next()).done) && (r.push(y.value), !(n && r.length === n)); o = !0)
|
708
708
|
;
|
709
709
|
} catch (f) {
|
710
710
|
c = !0, l = f;
|
@@ -783,9 +783,9 @@ function Kr(a) {
|
|
783
783
|
for (var r = this, o = arguments.length, c = new Array(o), l = 0; l < o; l++)
|
784
784
|
c[l] = arguments[l];
|
785
785
|
return c.length >= a.length ? a.apply(this, c) : function() {
|
786
|
-
for (var m = arguments.length,
|
787
|
-
|
788
|
-
return n.apply(r, [].concat(c,
|
786
|
+
for (var m = arguments.length, y = new Array(m), f = 0; f < m; f++)
|
787
|
+
y[f] = arguments[f];
|
788
|
+
return n.apply(r, [].concat(c, y));
|
789
789
|
};
|
790
790
|
};
|
791
791
|
}
|
@@ -842,7 +842,7 @@ function Db(a) {
|
|
842
842
|
var r = {
|
843
843
|
current: a
|
844
844
|
}, o = Kr(Ab)(r, n), c = Kr(kb)(r), l = Kr(ja.changes)(a), m = Kr(Ib)(r);
|
845
|
-
function
|
845
|
+
function y() {
|
846
846
|
var b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function(h) {
|
847
847
|
return h;
|
848
848
|
};
|
@@ -851,7 +851,7 @@ function Db(a) {
|
|
851
851
|
function f(b) {
|
852
852
|
_b(o, c, l, m)(b);
|
853
853
|
}
|
854
|
-
return [
|
854
|
+
return [y, f];
|
855
855
|
}
|
856
856
|
function Ib(a, n) {
|
857
857
|
return Hr(n) ? n(a.current) : n;
|
@@ -877,9 +877,9 @@ function zb(a) {
|
|
877
877
|
for (var r = this, o = arguments.length, c = new Array(o), l = 0; l < o; l++)
|
878
878
|
c[l] = arguments[l];
|
879
879
|
return c.length >= a.length ? a.apply(this, c) : function() {
|
880
|
-
for (var m = arguments.length,
|
881
|
-
|
882
|
-
return n.apply(r, [].concat(c,
|
880
|
+
for (var m = arguments.length, y = new Array(m), f = 0; f < m; f++)
|
881
|
+
y[f] = arguments[f];
|
882
|
+
return n.apply(r, [].concat(c, y));
|
883
883
|
};
|
884
884
|
};
|
885
885
|
}
|
@@ -1067,7 +1067,7 @@ function rx(a, n, r, o) {
|
|
1067
1067
|
function Ap(a, n) {
|
1068
1068
|
return a.Uri.parse(n);
|
1069
1069
|
}
|
1070
|
-
function ax({ original: a, modified: n, language: r, originalLanguage: o, modifiedLanguage: c, originalModelPath: l, modifiedModelPath: m, keepCurrentOriginalModel:
|
1070
|
+
function ax({ original: a, modified: n, language: r, originalLanguage: o, modifiedLanguage: c, originalModelPath: l, modifiedModelPath: m, keepCurrentOriginalModel: y = !1, keepCurrentModifiedModel: f = !1, theme: b = "light", loading: h = "Loading...", options: T = {}, height: M = "100%", width: R = "100%", className: O, wrapperProps: E = {}, beforeMount: U = jr, onMount: H = jr }) {
|
1071
1071
|
let [G, F] = ct(!1), [I, P] = ct(!0), X = ze(null), z = ze(null), j = ze(null), se = ze(H), oe = ze(U), Qe = ze(!1);
|
1072
1072
|
kp(() => {
|
1073
1073
|
let V = Ri.init();
|
@@ -1117,7 +1117,7 @@ function ax({ original: a, modified: n, language: r, originalLanguage: o, modifi
|
|
1117
1117
|
function Be() {
|
1118
1118
|
var _e, Ne, Se, pt;
|
1119
1119
|
let V = (_e = X.current) == null ? void 0 : _e.getModel();
|
1120
|
-
|
1120
|
+
y || ((Ne = V == null ? void 0 : V.original) == null || Ne.dispose()), f || ((Se = V == null ? void 0 : V.modified) == null || Se.dispose()), (pt = X.current) == null || pt.dispose();
|
1121
1121
|
}
|
1122
1122
|
return cs.createElement(Ip, { width: R, height: M, isEditorReady: G, loading: h, _ref: j, className: O, wrapperProps: E });
|
1123
1123
|
}
|
@@ -1129,7 +1129,7 @@ function ox(a) {
|
|
1129
1129
|
}, [a]), n.current;
|
1130
1130
|
}
|
1131
1131
|
var lx = ox, Ha = /* @__PURE__ */ new Map();
|
1132
|
-
function cx({ defaultValue: a, defaultLanguage: n, defaultPath: r, value: o, language: c, path: l, theme: m = "light", line:
|
1132
|
+
function cx({ defaultValue: a, defaultLanguage: n, defaultPath: r, value: o, language: c, path: l, theme: m = "light", line: y, loading: f = "Loading...", options: b = {}, overrideServices: h = {}, saveViewState: T = !0, keepCurrentModel: M = !1, width: R = "100%", height: O = "100%", className: E, wrapperProps: U = {}, beforeMount: H = jr, onMount: G = jr, onChange: F, onValidate: I = jr }) {
|
1133
1133
|
let [P, X] = ct(!1), [z, j] = ct(!0), se = ze(null), oe = ze(null), Qe = ze(null), Nt = ze(G), Re = ze(H), Be = ze(), V = ze(o), _e = lx(l), Ne = ze(!1), Se = ze(!1);
|
1134
1134
|
kp(() => {
|
1135
1135
|
let ee = Ri.init();
|
@@ -1149,8 +1149,8 @@ function cx({ defaultValue: a, defaultLanguage: n, defaultPath: r, value: o, lan
|
|
1149
1149
|
ee && c && ((Le = se.current) == null || Le.editor.setModelLanguage(ee, c));
|
1150
1150
|
}, [c], P), xt(() => {
|
1151
1151
|
var ee;
|
1152
|
-
|
1153
|
-
}, [
|
1152
|
+
y !== void 0 && ((ee = oe.current) == null || ee.revealLine(y));
|
1153
|
+
}, [y], P), xt(() => {
|
1154
1154
|
var ee;
|
1155
1155
|
(ee = se.current) == null || ee.editor.setTheme(m);
|
1156
1156
|
}, [m], P);
|
@@ -1159,9 +1159,9 @@ function cx({ defaultValue: a, defaultLanguage: n, defaultPath: r, value: o, lan
|
|
1159
1159
|
if (!(!Qe.current || !se.current) && !Ne.current) {
|
1160
1160
|
Re.current(se.current);
|
1161
1161
|
let be = l || r, Le = or(se.current, o || a || "", n || c || "", be || "");
|
1162
|
-
oe.current = (ee = se.current) == null ? void 0 : ee.editor.create(Qe.current, { model: Le, automaticLayout: !0, ...b }, h), T && oe.current.restoreViewState(Ha.get(be)), se.current.editor.setTheme(m),
|
1162
|
+
oe.current = (ee = se.current) == null ? void 0 : ee.editor.create(Qe.current, { model: Le, automaticLayout: !0, ...b }, h), T && oe.current.restoreViewState(Ha.get(be)), se.current.editor.setTheme(m), y !== void 0 && oe.current.revealLine(y), X(!0), Ne.current = !0;
|
1163
1163
|
}
|
1164
|
-
}, [a, n, r, o, c, l, b, h, T, m,
|
1164
|
+
}, [a, n, r, o, c, l, b, h, T, m, y]);
|
1165
1165
|
Ge(() => {
|
1166
1166
|
P && Nt.current(oe.current, se.current);
|
1167
1167
|
}, [P]), Ge(() => {
|
@@ -60470,7 +60470,7 @@ else
|
|
60470
60470
|
label: "switch",
|
60471
60471
|
insertText: "switch ${1:condition}\n ${2:value_1} => ${3:local_block_1}\n ${4:value_2} => ${5:local_block_2}\n => ${6:default_local_block}\n",
|
60472
60472
|
kind: "statement"
|
60473
|
-
}], qp = ["in", "as", "continue", "break", "else", "to", "by"],
|
60473
|
+
}], qp = ["in", "as", "continue", "break", "else", "to", "by"], fe = {
|
60474
60474
|
keywords: "keyword",
|
60475
60475
|
functions: "built-in function",
|
60476
60476
|
variables: "built-in variable",
|
@@ -60495,8 +60495,8 @@ else
|
|
60495
60495
|
function yx() {
|
60496
60496
|
const a = {}, n = {};
|
60497
60497
|
return Object.keys(qc).reduce((r, o) => {
|
60498
|
-
const c = qc[o], l =
|
60499
|
-
return r.keyMapList[o] = m, r.keyList[o] =
|
60498
|
+
const c = qc[o], l = fe[o], { mapObj: m, keys: y } = _x(c, l);
|
60499
|
+
return r.keyMapList[o] = m, r.keyList[o] = y, r;
|
60500
60500
|
}, { keyList: a, keyMapList: n }), { keyList: a, keyMapList: n };
|
60501
60501
|
}
|
60502
60502
|
function _x(a, n) {
|
@@ -60594,8 +60594,8 @@ function xx(a, n = 0, r = !0) {
|
|
60594
60594
|
return "";
|
60595
60595
|
if (o.isEnumMember)
|
60596
60596
|
return `${ie.bold(o.name)} (enum member)${o.value === void 0 ? "" : ` = ${o.value}`}`;
|
60597
|
-
const c = /(Mac|iPhone|iPod|iPad)/i.test(window.navigator.userAgent), { name: l, title: m, desc:
|
60598
|
-
if (a.length > 1 && O.push(ie.italic(`+${a.length - 1} overloads`)), O.push(ie.delimiter),
|
60597
|
+
const c = /(Mac|iPhone|iPod|iPad)/i.test(window.navigator.userAgent), { name: l, title: m, desc: y, type: f, syntax: b, returns: h, remarks: T, fields: M, members: R } = o, O = [`${ie.bold(l)} (${m})`];
|
60598
|
+
if (a.length > 1 && O.push(ie.italic(`+${a.length - 1} overloads`)), O.push(ie.delimiter), y && O.push(ie.paragraph(Array.isArray(y) ? y.join(ie.lineBreak) : y || "")), f && O.push(ie.paragraph(ie.bold(lt.Type), ie.italic(f))), b && b.length && O.push(ie.paragraph(ie.bold(lt.Syntax), ie.pineCode(b.join(ie.lineBreak)))), h && O.push(ie.paragraph(ie.bold(lt.Returns), ie.lineBreak, h.join(ie.lineBreak))), T && T.length && a.length <= 1) {
|
60599
60599
|
let E = "";
|
60600
60600
|
typeof T == "string" ? E = T : E = T.join(ie.lineBreak) || "", E.length < 200 && O.push(ie.paragraph(ie.bold(lt.Remarks), ie.lineBreak, E));
|
60601
60601
|
}
|
@@ -60757,16 +60757,16 @@ class Tx {
|
|
60757
60757
|
this._initUserDefind();
|
60758
60758
|
const m = this._mergeTreeSlices(this._generateTreeSlice(ht.methods, "method"), this._generateTreeSlice(c, "method"));
|
60759
60759
|
this._getMethodNamespaceCache(m), this._userMethods = c, this._userTypes = r, this._userFunctions = n, this._userEnums = l;
|
60760
|
-
const
|
60761
|
-
this._userSuggestions = this._getAllUserCompletionItems(
|
60760
|
+
const y = this._generateTreeSlice(n, "fun");
|
60761
|
+
this._userSuggestions = this._getAllUserCompletionItems(y, this._generateTreeSlice(r, "type"), this._generateTreeSlice(o, "var"), this._generateTreeSlice(l, "enum")), this._getUserFuncArgumentsCompletionItemsToCache(y);
|
60762
60762
|
}
|
60763
60763
|
_getAllUserCompletionItems(n, r, o, c) {
|
60764
|
-
const l = this._getEnumCompletionItems(c), m = this._getUserVariableCompletionItems(o),
|
60765
|
-
return [...
|
60764
|
+
const l = this._getEnumCompletionItems(c), m = this._getUserVariableCompletionItems(o), y = this._getTypeCompletionItems(r, !0), f = this._getFunctionCompletionItems(n, void 0, !0);
|
60765
|
+
return [...y, ...f, ...m, ...l, ...this._userOutermostNsItems.values()];
|
60766
60766
|
}
|
60767
60767
|
_getAllCompletionItems() {
|
60768
|
-
const { variables: n, keywords: r, types: o, functions: c } = this._builtinSubtreeCache, l = this._getVariableCompletionItems(n), m = this._getKeywordCompletionItems(r),
|
60769
|
-
return [...l, ...m, ...
|
60768
|
+
const { variables: n, keywords: r, types: o, functions: c } = this._builtinSubtreeCache, l = this._getVariableCompletionItems(n), m = this._getKeywordCompletionItems(r), y = this._getTypeCompletionItems(o), f = this._getFunctionCompletionItems(c), b = this._getSnippetsCompletionsList();
|
60769
|
+
return [...l, ...m, ...y, ...f, ...this._outermostNsItems.values(), ...b];
|
60770
60770
|
}
|
60771
60771
|
_getNodeKey(n, r) {
|
60772
60772
|
return `${r}_${n}`;
|
@@ -60794,21 +60794,21 @@ class Tx {
|
|
60794
60794
|
_generateTreeSlice(n, r) {
|
60795
60795
|
const o = /* @__PURE__ */ new Map();
|
60796
60796
|
for (const [c, l] of n) {
|
60797
|
-
const [m, ...
|
60797
|
+
const [m, ...y] = c.split("."), f = y.length > 0, b = o.get(this._getNodeKey(m, f ? "ns" : r));
|
60798
60798
|
let h = /* @__PURE__ */ new Map(), T = l.map((R) => ({
|
60799
60799
|
...R,
|
60800
60800
|
name: c
|
60801
60801
|
})), M = this._getNodeKey(c, r);
|
60802
60802
|
if (f && r !== "type") {
|
60803
|
-
const R = /* @__PURE__ */ new Map([[
|
60803
|
+
const R = /* @__PURE__ */ new Map([[y.join("."), l]]);
|
60804
60804
|
T = [{
|
60805
60805
|
name: m,
|
60806
|
-
title:
|
60806
|
+
title: fe.namespace
|
60807
60807
|
}], M = this._getNodeKey(m, "ns"), h = this._generateTreeSlice(R, r);
|
60808
60808
|
}
|
60809
60809
|
b && (T = [{
|
60810
60810
|
name: m,
|
60811
|
-
title:
|
60811
|
+
title: fe.namespace
|
60812
60812
|
}], h = this._mergeTreeSlices(b.children, h)), o.set(M, {
|
60813
60813
|
value: T,
|
60814
60814
|
children: h
|
@@ -60817,21 +60817,21 @@ class Tx {
|
|
60817
60817
|
return o;
|
60818
60818
|
}
|
60819
60819
|
_getBuiltinsCacheFragment() {
|
60820
|
-
const { keywords: n, variables: r, constants: o, types: c, functions: l, annotations: m } = ht,
|
60821
|
-
return
|
60820
|
+
const { keywords: n, variables: r, constants: o, types: c, functions: l, annotations: m } = ht, y = this._generateTreeSlice(m, "an");
|
60821
|
+
return y.delete("an_@version="), this._builtinSubtreeCache = {
|
60822
60822
|
keywords: this._generateTreeSlice(n, "key"),
|
60823
60823
|
variables: this._mergeTreeSlices(this._generateTreeSlice(r, "var"), this._generateTreeSlice(o, "var")),
|
60824
60824
|
types: this._generateTreeSlice(c, "type"),
|
60825
60825
|
functions: this._generateTreeSlice(l, "fun"),
|
60826
|
-
annotations:
|
60826
|
+
annotations: y
|
60827
60827
|
}, this._builtinSubtreeCache;
|
60828
60828
|
}
|
60829
60829
|
_getVariableCompletionItems(n, r) {
|
60830
60830
|
const o = [], c = [];
|
60831
60831
|
for (const [l, m] of n) {
|
60832
|
-
const { value:
|
60832
|
+
const { value: y, children: f } = m;
|
60833
60833
|
if (l.startsWith("ns")) {
|
60834
|
-
const b = this._getNamespaceCompletionItem(
|
60834
|
+
const b = this._getNamespaceCompletionItem(y[0]);
|
60835
60835
|
if (r) {
|
60836
60836
|
c.push({ ...b });
|
60837
60837
|
const T = `${r}.${b.label}`;
|
@@ -60840,7 +60840,7 @@ class Tx {
|
|
60840
60840
|
const h = this._getVariableCompletionItems(f, b.label);
|
60841
60841
|
r || this._outermostNsItems.set(l, b), o.push(...h);
|
60842
60842
|
} else {
|
60843
|
-
const b = this._getVariableCompletionItem(
|
60843
|
+
const b = this._getVariableCompletionItem(y[0], r ? 3 : 2);
|
60844
60844
|
if (r) {
|
60845
60845
|
c.push({ ...b });
|
60846
60846
|
const { label: h } = b;
|
@@ -60864,7 +60864,7 @@ class Tx {
|
|
60864
60864
|
}
|
60865
60865
|
return U;
|
60866
60866
|
}));
|
60867
|
-
const { types:
|
60867
|
+
const { types: y } = ht, f = ((h = (b = this._userTypes.get(c)) == null ? void 0 : b[0]) == null ? void 0 : h.fields) || ((M = (T = y.get(c)) == null ? void 0 : T[0]) == null ? void 0 : M.fields);
|
60868
60868
|
if (f)
|
60869
60869
|
for (const R of f) {
|
60870
60870
|
const O = R.name, E = R.type, U = this._getInstanceTypeCompletionItemProp({ name: O, type: E, desc: R.desc ? [R.desc] : void 0 });
|
@@ -60875,9 +60875,9 @@ class Tx {
|
|
60875
60875
|
_getUserVariableCompletionItems(n, r) {
|
60876
60876
|
const o = [], c = [];
|
60877
60877
|
for (const [l, m] of n) {
|
60878
|
-
const { value:
|
60879
|
-
if (this._setUserVariableSubItems(
|
60880
|
-
const b = this._getNamespaceCompletionItem(
|
60878
|
+
const { value: y, children: f } = m;
|
60879
|
+
if (this._setUserVariableSubItems(y[0]), l.startsWith("ns")) {
|
60880
|
+
const b = this._getNamespaceCompletionItem(y[0]);
|
60881
60881
|
if (r) {
|
60882
60882
|
c.push({ ...b });
|
60883
60883
|
const T = `${r}.${b.label}`;
|
@@ -60886,7 +60886,7 @@ class Tx {
|
|
60886
60886
|
const h = this._getUserVariableCompletionItems(f, b.label);
|
60887
60887
|
r || this._userOutermostNsItems.set(l, b), o.push(...h);
|
60888
60888
|
} else {
|
60889
|
-
const b = this._getVariableCompletionItem(
|
60889
|
+
const b = this._getVariableCompletionItem(y[0], r ? 2 : 1, !1);
|
60890
60890
|
if (r) {
|
60891
60891
|
c.push({ ...b });
|
60892
60892
|
const { label: h } = b;
|
@@ -60918,7 +60918,7 @@ class Tx {
|
|
60918
60918
|
_getEnumMemberCompletionItems(n, r) {
|
60919
60919
|
const o = [];
|
60920
60920
|
for (const c of r) {
|
60921
|
-
const { name: l, desc: m, value:
|
60921
|
+
const { name: l, desc: m, value: y } = c, f = this._getEnumMemberCompletionItem({ name: l, desc: m ? [m] : void 0, value: y });
|
60922
60922
|
o.push(f);
|
60923
60923
|
}
|
60924
60924
|
o.length && this._mergeUserCompletions(n, o);
|
@@ -60942,7 +60942,7 @@ class Tx {
|
|
60942
60942
|
_getMethodNamespaceCache(n, r) {
|
60943
60943
|
const o = [];
|
60944
60944
|
for (const [c, l] of n) {
|
60945
|
-
const { value: m, children:
|
60945
|
+
const { value: m, children: y } = l;
|
60946
60946
|
if (c.startsWith("ns")) {
|
60947
60947
|
const f = this._getNamespaceCompletionItem(m[0]);
|
60948
60948
|
if (r) {
|
@@ -60950,7 +60950,7 @@ class Tx {
|
|
60950
60950
|
const b = `${r}.${f.label}`;
|
60951
60951
|
f.label = b, f.insertText = b;
|
60952
60952
|
}
|
60953
|
-
this._getMethodNamespaceCache(
|
60953
|
+
this._getMethodNamespaceCache(y, f.label);
|
60954
60954
|
} else {
|
60955
60955
|
const f = this._getFunctionCompletionItem(m[0], r ? 3 : 2);
|
60956
60956
|
if (m.length > 1 && (f.detail = `${f.detail} (+${m.length - 1} overloads)`), r) {
|
@@ -60964,8 +60964,8 @@ class Tx {
|
|
60964
60964
|
}
|
60965
60965
|
_getFunctionCompletionItems(n, r, o = !1) {
|
60966
60966
|
const c = [], l = [];
|
60967
|
-
for (const [m,
|
60968
|
-
const { value: f, children: b } =
|
60967
|
+
for (const [m, y] of n) {
|
60968
|
+
const { value: f, children: b } = y;
|
60969
60969
|
if (m.startsWith("ns")) {
|
60970
60970
|
const h = this._getNamespaceCompletionItem(f[0]);
|
60971
60971
|
if (r) {
|
@@ -61016,8 +61016,8 @@ class Tx {
|
|
61016
61016
|
b.set(M.name, M);
|
61017
61017
|
}), b;
|
61018
61018
|
}, m);
|
61019
|
-
const
|
61020
|
-
this._funcArgsCache.set(f,
|
61019
|
+
const y = this._getNamedArgumentsCompletionList([...m.values()]), f = r ? `${r}.${l}` : l;
|
61020
|
+
this._funcArgsCache.set(f, y);
|
61021
61021
|
}
|
61022
61022
|
}
|
61023
61023
|
}
|
@@ -61034,21 +61034,21 @@ class Tx {
|
|
61034
61034
|
b.set(M.name, M);
|
61035
61035
|
}), b;
|
61036
61036
|
}, m);
|
61037
|
-
const
|
61038
|
-
this._userFuncArgsCache.set(f,
|
61037
|
+
const y = this._getNamedArgumentsCompletionList([...m.values()]), f = r ? `${r}.${l}` : l;
|
61038
|
+
this._userFuncArgsCache.set(f, y);
|
61039
61039
|
}
|
61040
61040
|
}
|
61041
61041
|
}
|
61042
61042
|
_getNamedArgumentsCompletionList(n) {
|
61043
61043
|
return n.map((r) => {
|
61044
|
-
const { name: o, desc: c, displayType: l } = r, m = `${o} = `,
|
61044
|
+
const { name: o, desc: c, displayType: l } = r, m = `${o} = `, y = Array.isArray(c) ? c.join(this._formatter.delimiter) : c || "";
|
61045
61045
|
return {
|
61046
61046
|
label: m,
|
61047
61047
|
documentation: {
|
61048
|
-
value: this._formatter.paragraph(this._formatter.bold(
|
61048
|
+
value: this._formatter.paragraph(this._formatter.bold(fe.Description), this._formatter.lineBreak, y)
|
61049
61049
|
},
|
61050
61050
|
insertText: m,
|
61051
|
-
detail: `(${
|
61051
|
+
detail: `(${fe.parameter}) ${fe.types} ${l}`,
|
61052
61052
|
kind: Ue.CompletionItemKind.Text,
|
61053
61053
|
sortText: `0_${m}`
|
61054
61054
|
};
|
@@ -61057,11 +61057,11 @@ class Tx {
|
|
61057
61057
|
_getVariableCompletionItem(n, r = 2, o = !0) {
|
61058
61058
|
const c = this._extractExamples(n), l = this._extractDescription(n), m = [this._createDescriptionSection(l)];
|
61059
61059
|
c.length ? m.push(this._createExampleSection(c)) : n.syntax && n.syntax.length && m.push(this._createSyntaxSection(n.syntax));
|
61060
|
-
const
|
61060
|
+
const y = {
|
61061
61061
|
value: m.join(this._formatter.lineBreak)
|
61062
|
-
}, f = o ?
|
61062
|
+
}, f = o ? fe.variables : fe.userDefinedVariable;
|
61063
61063
|
return {
|
61064
|
-
documentation:
|
61064
|
+
documentation: y,
|
61065
61065
|
label: n.name,
|
61066
61066
|
insertText: n.name,
|
61067
61067
|
kind: Ue.CompletionItemKind.Variable,
|
@@ -61079,7 +61079,7 @@ class Tx {
|
|
61079
61079
|
insertText: n.name,
|
61080
61080
|
kind: Ue.CompletionItemKind.Keyword,
|
61081
61081
|
sortText: `${r}_${n.name}`,
|
61082
|
-
detail: `(${
|
61082
|
+
detail: `(${fe.keywords})`
|
61083
61083
|
};
|
61084
61084
|
}
|
61085
61085
|
_getTypeCompletionItem(n) {
|
@@ -61092,7 +61092,7 @@ class Tx {
|
|
61092
61092
|
insertText: n.name,
|
61093
61093
|
kind: Ue.CompletionItemKind.Keyword,
|
61094
61094
|
sortText: `1_${n.name}`,
|
61095
|
-
detail: `(${
|
61095
|
+
detail: `(${fe.types})`
|
61096
61096
|
};
|
61097
61097
|
}
|
61098
61098
|
_getCustomTypeCompletionItem(n) {
|
@@ -61105,7 +61105,7 @@ class Tx {
|
|
61105
61105
|
insertText: n.name,
|
61106
61106
|
kind: Ue.CompletionItemKind.Keyword,
|
61107
61107
|
sortText: `2_${n.name}`,
|
61108
|
-
detail: `(${
|
61108
|
+
detail: `(${fe.userDefinedType})`
|
61109
61109
|
};
|
61110
61110
|
}
|
61111
61111
|
_getEnumCompletionItem(n) {
|
@@ -61118,7 +61118,7 @@ class Tx {
|
|
61118
61118
|
insertText: n.name,
|
61119
61119
|
kind: Ue.CompletionItemKind.Enum,
|
61120
61120
|
sortText: `2_${n.name}`,
|
61121
|
-
detail: `(${
|
61121
|
+
detail: `(${fe.enum})`
|
61122
61122
|
};
|
61123
61123
|
}
|
61124
61124
|
_getEnumMemberCompletionItem(n) {
|
@@ -61144,16 +61144,16 @@ class Tx {
|
|
61144
61144
|
insertText: n.name,
|
61145
61145
|
kind: Ue.CompletionItemKind.Field,
|
61146
61146
|
sortText: `2_${n.name}`,
|
61147
|
-
detail: `(${
|
61147
|
+
detail: `(${fe.field}) ${n.type}`
|
61148
61148
|
};
|
61149
61149
|
}
|
61150
61150
|
_getFunctionCompletionItem(n, r = 2, o = !0) {
|
61151
61151
|
var R;
|
61152
|
-
const c = n.returnedTypes && n.returnedTypes[0] || n.syntax && n.syntax[0] && ((R = n.syntax[0].split("→").pop()) == null ? void 0 : R.trim()), l = this._extractExamples(n), m = this._extractDescription(n),
|
61153
|
-
l.length ?
|
61152
|
+
const c = n.returnedTypes && n.returnedTypes[0] || n.syntax && n.syntax[0] && ((R = n.syntax[0].split("→").pop()) == null ? void 0 : R.trim()), l = this._extractExamples(n), m = this._extractDescription(n), y = [this._createDescriptionSection(m)];
|
61153
|
+
l.length ? y.push(this._createExampleSection(l)) : n.syntax && n.syntax.length && y.push(this._createSyntaxSection(n.syntax)), n.returns && n.returns.length && y.push(this._createReturnSection(n.returns));
|
61154
61154
|
const f = {
|
61155
|
-
value:
|
61156
|
-
}, b = n.name, h = o ?
|
61155
|
+
value: y.join(this._formatter.lineBreak)
|
61156
|
+
}, b = n.name, h = o ? fe.functions : fe.userDefinedFunction, T = n.template, M = T ? `${fx(b)}<\${1}>` : b;
|
61157
61157
|
return {
|
61158
61158
|
documentation: f,
|
61159
61159
|
label: T ? `${b.replace(/<.+>/, "")}<type>` : b,
|
@@ -61162,7 +61162,7 @@ class Tx {
|
|
61162
61162
|
insertTextRules: Ue.CompletionItemInsertTextRule.InsertAsSnippet,
|
61163
61163
|
insertText: M + this.bracketsPostfix,
|
61164
61164
|
originInsertText: M,
|
61165
|
-
detail: `(${h}) ${
|
61165
|
+
detail: `(${h}) ${fe.returns} ${c}`,
|
61166
61166
|
command: {
|
61167
61167
|
id: "tcc.editor.function",
|
61168
61168
|
title: "",
|
@@ -61181,17 +61181,17 @@ class Tx {
|
|
61181
61181
|
label: n.name,
|
61182
61182
|
insertText: n.name.replace("@", ""),
|
61183
61183
|
kind: Ue.CompletionItemKind.Keyword,
|
61184
|
-
detail: `(${
|
61184
|
+
detail: `(${fe.annotations})`
|
61185
61185
|
};
|
61186
61186
|
}
|
61187
61187
|
_getNamespaceCompletionItem(n, r = 2) {
|
61188
|
-
const o = [this._createDescriptionSection(
|
61188
|
+
const o = [this._createDescriptionSection(fe.namespaceDesc)];
|
61189
61189
|
return {
|
61190
61190
|
label: n.name,
|
61191
61191
|
documentation: {
|
61192
61192
|
value: o.join(this._formatter.lineBreak)
|
61193
61193
|
},
|
61194
|
-
detail: `(${
|
61194
|
+
detail: `(${fe.namespace}) ${n.name}`,
|
61195
61195
|
insertText: n.name,
|
61196
61196
|
sortText: `${r}_${n.name}`,
|
61197
61197
|
kind: Ue.CompletionItemKind.Module
|
@@ -61261,8 +61261,8 @@ class Dx {
|
|
61261
61261
|
return this._overloadsFuncs;
|
61262
61262
|
}
|
61263
61263
|
setUserDefined(n, r) {
|
61264
|
-
const { functions: o, variables: c, types: l, methods: m, imports:
|
61265
|
-
o && (this._userFunctions = o), c && (this._userVariables = c), l && (this._userTypes = l), m && (this._userMethods = m),
|
61264
|
+
const { functions: o, variables: c, types: l, methods: m, imports: y, enums: f } = n;
|
61265
|
+
o && (this._userFunctions = o), c && (this._userVariables = c), l && (this._userTypes = l), m && (this._userMethods = m), y && (this._imports = y), f && (this._userEnums = f), this._overloadsFuncs = r;
|
61266
61266
|
}
|
61267
61267
|
parseLineContentFuncVar(n, r, o, c) {
|
61268
61268
|
let l = (o == null ? void 0 : o.getLineContent(r)) || "";
|
@@ -61270,14 +61270,14 @@ class Dx {
|
|
61270
61270
|
if (this._removeString(l).indexOf("//") !== -1 && m <= n)
|
61271
61271
|
return;
|
61272
61272
|
l = l + " ";
|
61273
|
-
const
|
61274
|
-
if (
|
61275
|
-
if (
|
61273
|
+
const y = this._getVariablesDocVal(l, n, r);
|
61274
|
+
if (y) {
|
61275
|
+
if (y.isBuildIn) {
|
61276
61276
|
const h = o == null ? void 0 : o.getWordAtPosition(c || new eb(r, n));
|
61277
61277
|
if (((o == null ? void 0 : o.getValueInRange({ startLineNumber: r, startColumn: (h == null ? void 0 : h.endColumn) || 0, endLineNumber: r, endColumn: ((h == null ? void 0 : h.endColumn) || 0) + 2 })) || "").trim().startsWith("="))
|
61278
61278
|
return null;
|
61279
61279
|
}
|
61280
|
-
return
|
61280
|
+
return y;
|
61281
61281
|
}
|
61282
61282
|
const f = this._getFuncsDocVal(l, n, r);
|
61283
61283
|
if (f)
|
@@ -61309,9 +61309,9 @@ class Dx {
|
|
61309
61309
|
_getImportDocVal(n, r, o) {
|
61310
61310
|
const c = new RegExp("(?<=(import(\\s+)))([a-zA-Z\\d\\$_\\-\\.\\u00a1-\\uffff\\/]+)", "g"), l = new RegExp("(?<=(as\\b)(\\s+))([a-zA-Z\\d\\_\\u00a1\\uffff\\/]+)", "g"), m = n.match(c);
|
61311
61311
|
if (m) {
|
61312
|
-
const
|
61313
|
-
if (
|
61314
|
-
const b = this._imports.get(
|
61312
|
+
const y = this._matchContent(m, n, r);
|
61313
|
+
if (y) {
|
61314
|
+
const b = this._imports.get(y.name);
|
61315
61315
|
if (b)
|
61316
61316
|
return b;
|
61317
61317
|
}
|
@@ -61338,7 +61338,7 @@ class Dx {
|
|
61338
61338
|
return r.get(n) || o.get(n) || c.get(n) || l.get(n);
|
61339
61339
|
}
|
61340
61340
|
parseCurrentInputFunc(n, r = !1, o = !1) {
|
61341
|
-
let c = n.length - 1, l = 0, m = r,
|
61341
|
+
let c = n.length - 1, l = 0, m = r, y = o;
|
61342
61342
|
for (; c >= 0; ) {
|
61343
61343
|
const f = n.charAt(c);
|
61344
61344
|
if (c -= 1, /['"]/.test(f)) {
|
@@ -61348,8 +61348,8 @@ class Dx {
|
|
61348
61348
|
m = !1;
|
61349
61349
|
continue;
|
61350
61350
|
}
|
61351
|
-
} else if (
|
61352
|
-
|
61351
|
+
} else if (y) {
|
61352
|
+
y = !1;
|
61353
61353
|
continue;
|
61354
61354
|
}
|
61355
61355
|
for (; c >= 0; ) {
|
@@ -61358,7 +61358,7 @@ class Dx {
|
|
61358
61358
|
break;
|
61359
61359
|
}
|
61360
61360
|
}
|
61361
|
-
if (!(m ||
|
61361
|
+
if (!(m || y) && (/\)/.test(f) && (l += 1), /\(/.test(f))) {
|
61362
61362
|
if (l > 0) {
|
61363
61363
|
l -= 1;
|
61364
61364
|
continue;
|
@@ -61385,12 +61385,12 @@ class Dx {
|
|
61385
61385
|
parseCurrentInputFuncAndArg(n, r = !1, o = !1) {
|
61386
61386
|
const { funcName: c, startIndex: l } = this.parseCurrentInputFunc(n, r, o) || {};
|
61387
61387
|
if (c && typeof l == "number") {
|
61388
|
-
let m = n.slice(l + c.length).trim().slice(1),
|
61389
|
-
if (r && (
|
61388
|
+
let m = n.slice(l + c.length).trim().slice(1), y = -1;
|
61389
|
+
if (r && (y = m.lastIndexOf("'")), o) {
|
61390
61390
|
const h = m.lastIndexOf('"');
|
61391
|
-
(h !== -1 && h <
|
61391
|
+
(h !== -1 && h < y || y === -1) && (y = h);
|
61392
61392
|
}
|
61393
|
-
|
61393
|
+
y !== -1 && (m = m.substring(0, y));
|
61394
61394
|
const b = m.replace(/[\w.]+\(.*\)/g, "").split(",").map((h) => {
|
61395
61395
|
const T = h.trim().split("=");
|
61396
61396
|
return T.length <= 1 ? "" : T[0].trim();
|
@@ -61414,9 +61414,9 @@ class Dx {
|
|
61414
61414
|
docValue: void 0,
|
61415
61415
|
isBuildIn: !0,
|
61416
61416
|
index: 0
|
61417
|
-
},
|
61418
|
-
if (
|
61419
|
-
return m.docValue =
|
61417
|
+
}, y = this._getBuildInOther(l.name);
|
61418
|
+
if (y)
|
61419
|
+
return m.docValue = y, m;
|
61420
61420
|
const f = this._getUserVariablesDocVal(l.name, r, o);
|
61421
61421
|
if (f)
|
61422
61422
|
return Object.assign(m, { docValue: [f], isBuildIn: !1 });
|
@@ -61433,29 +61433,29 @@ class Dx {
|
|
61433
61433
|
}
|
61434
61434
|
}
|
61435
61435
|
_getUserVariablesDocVal(n, r, o) {
|
61436
|
-
const m = [...this._userVariables.get(n) || []].sort((
|
61437
|
-
const f =
|
61436
|
+
const m = [...this._userVariables.get(n) || []].sort((y, f) => (f.scope || 0) - (y.scope || 0)).find((y) => {
|
61437
|
+
const f = y.range;
|
61438
61438
|
return ((f == null ? void 0 : f.startColumn) || 0) <= r && ((f == null ? void 0 : f.startLineNumber) || 0) <= o && ((f == null ? void 0 : f.endLineNumber) || 0) >= o;
|
61439
61439
|
});
|
61440
61440
|
if (m)
|
61441
|
-
return m.title =
|
61441
|
+
return m.title = fe.userDefinedVariable, m.type = this._arrayTypeTransform(m.type), m;
|
61442
61442
|
}
|
61443
61443
|
_getUserTypesDocVal(n) {
|
61444
61444
|
const r = this._userTypes.get(n);
|
61445
61445
|
if (r)
|
61446
|
-
return r[0].title =
|
61446
|
+
return r[0].title = fe.userDefinedType, r;
|
61447
61447
|
}
|
61448
61448
|
_getUserEnumsDocVal(n, r) {
|
61449
61449
|
var f;
|
61450
61450
|
const { endIndex: o, name: c } = n, l = c.split(".");
|
61451
61451
|
let m = l[0];
|
61452
61452
|
l.length > 2 && (m = l.slice(0, 2).join("."));
|
61453
|
-
const
|
61454
|
-
if (
|
61455
|
-
|
61456
|
-
const b = l[l.length - 1], h = (f =
|
61453
|
+
const y = this._userEnums.get(m);
|
61454
|
+
if (y && y.length) {
|
61455
|
+
y[0].title = fe.enum;
|
61456
|
+
const b = l[l.length - 1], h = (f = y[0].members) == null ? void 0 : f.find((T) => T.name === b);
|
61457
61457
|
if (!h || r < o - b.length)
|
61458
|
-
return
|
61458
|
+
return y;
|
61459
61459
|
if (r > o - b.length)
|
61460
61460
|
return [h];
|
61461
61461
|
}
|
@@ -61463,9 +61463,9 @@ class Dx {
|
|
61463
61463
|
_getTypesAndFileds(n, r, o, c) {
|
61464
61464
|
var l, m;
|
61465
61465
|
if (r.includes(".")) {
|
61466
|
-
const
|
61467
|
-
let f =
|
61468
|
-
for (const R of
|
61466
|
+
const y = r.split(".");
|
61467
|
+
let f = y[0], b, h = null, T = n.indexOf(r, o - r.length) + 1, M = T + f.length - 1;
|
61468
|
+
for (const R of y.slice(1)) {
|
61469
61469
|
if (!h) {
|
61470
61470
|
const O = T <= o && M >= o, E = this._getUserVariablesDocVal(f, o, c);
|
61471
61471
|
if (O && E)
|
@@ -61480,7 +61480,7 @@ class Dx {
|
|
61480
61480
|
name: `${h}.${R}`,
|
61481
61481
|
desc: E.desc,
|
61482
61482
|
type: this._arrayTypeTransform(E.type),
|
61483
|
-
title:
|
61483
|
+
title: fe.field
|
61484
61484
|
};
|
61485
61485
|
h = E == null ? void 0 : E.type;
|
61486
61486
|
} else
|
@@ -61499,9 +61499,9 @@ class Dx {
|
|
61499
61499
|
isBuildIn: !0,
|
61500
61500
|
endIndex: l.endIndex,
|
61501
61501
|
index: 0
|
61502
|
-
},
|
61503
|
-
if (
|
61504
|
-
return m.index = this._getOverloadsFuncIndex(
|
61502
|
+
}, y = this._getBuildInFunc(l.name);
|
61503
|
+
if (y)
|
61504
|
+
return m.index = this._getOverloadsFuncIndex(y, r, l.name, o), Object.assign(m, { docValue: y });
|
61505
61505
|
const f = this._getUserFuncsDocVal(l.name);
|
61506
61506
|
if (f)
|
61507
61507
|
return m.index = this._getOverloadsFuncIndex(f, r, l.name, o), Object.assign(m, { docValue: f, isBuildIn: !1 });
|
@@ -61523,7 +61523,7 @@ class Dx {
|
|
61523
61523
|
const r = this._userFunctions.get(n);
|
61524
61524
|
if (r) {
|
61525
61525
|
for (const o of r)
|
61526
|
-
o.title =
|
61526
|
+
o.title = fe.userDefinedFunction;
|
61527
61527
|
return r;
|
61528
61528
|
}
|
61529
61529
|
}
|
@@ -61531,23 +61531,23 @@ class Dx {
|
|
61531
61531
|
const r = this._userMethods.get(n);
|
61532
61532
|
if (r) {
|
61533
61533
|
for (const o of r)
|
61534
|
-
o.title =
|
61534
|
+
o.title = fe.userDefinedFunction;
|
61535
61535
|
return r;
|
61536
61536
|
}
|
61537
61537
|
}
|
61538
61538
|
_getUserVarFuncsDocVal(n, r, o, c) {
|
61539
61539
|
var l;
|
61540
61540
|
if (r.includes(".")) {
|
61541
|
-
const m = r.split("."),
|
61542
|
-
if (typeof
|
61543
|
-
const b = `${this._arrayTypeTransform(
|
61541
|
+
const m = r.split("."), y = this._getTypesAndFileds(n, r, o, c);
|
61542
|
+
if (typeof y == "string") {
|
61543
|
+
const b = `${this._arrayTypeTransform(y).replace(/<[^<>]+>/, "").replace(/(series|simple|const|input)\s+([\w\d.]+)/, "$2")}.${m.pop()}`, h = this._getBuildInMethod(b);
|
61544
61544
|
if (h) {
|
61545
61545
|
const T = this._getOverloadsFuncIndex(h, o, b, c);
|
61546
61546
|
return { ...h[0], name: b, index: T };
|
61547
61547
|
}
|
61548
61548
|
return (l = this._getUserMethodsDocVal(b)) == null ? void 0 : l[0];
|
61549
61549
|
} else
|
61550
|
-
return
|
61550
|
+
return y;
|
61551
61551
|
}
|
61552
61552
|
}
|
61553
61553
|
_arrayTypeTransform(n = "") {
|
@@ -61586,7 +61586,7 @@ var Za = { exports: {} };
|
|
61586
61586
|
Za.exports;
|
61587
61587
|
(function(a, n) {
|
61588
61588
|
(function() {
|
61589
|
-
var r, o = "4.17.21", c = 200, l = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", m = "Expected a function",
|
61589
|
+
var r, o = "4.17.21", c = 200, l = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", m = "Expected a function", y = "Invalid `variable` option passed into `_.template`", f = "__lodash_hash_undefined__", b = 500, h = "__lodash_placeholder__", T = 1, M = 2, R = 4, O = 1, E = 2, U = 1, H = 2, G = 4, F = 8, I = 16, P = 32, X = 64, z = 128, j = 256, se = 512, oe = 30, Qe = "...", Nt = 800, Re = 16, Be = 1, V = 2, _e = 3, Ne = 1 / 0, Se = 9007199254740991, pt = 17976931348623157e292, wt = NaN, ee = 4294967295, be = ee - 1, Le = ee >>> 1, St = [
|
61590
61590
|
["ary", z],
|
61591
61591
|
["bind", U],
|
61592
61592
|
["bindKey", H],
|
@@ -61873,7 +61873,7 @@ Za.exports;
|
|
61873
61873
|
return w.apply(A, D);
|
61874
61874
|
}
|
61875
61875
|
function wd(w, A, D, $) {
|
61876
|
-
for (var te = -1,
|
61876
|
+
for (var te = -1, ge = w == null ? 0 : w.length; ++te < ge; ) {
|
61877
61877
|
var Oe = w[te];
|
61878
61878
|
A($, Oe, D(Oe), w);
|
61879
61879
|
}
|
@@ -61896,11 +61896,11 @@ Za.exports;
|
|
61896
61896
|
return !0;
|
61897
61897
|
}
|
61898
61898
|
function ms(w, A) {
|
61899
|
-
for (var D = -1, $ = w == null ? 0 : w.length, te = 0,
|
61899
|
+
for (var D = -1, $ = w == null ? 0 : w.length, te = 0, ge = []; ++D < $; ) {
|
61900
61900
|
var Oe = w[D];
|
61901
|
-
A(Oe, D, w) && (
|
61901
|
+
A(Oe, D, w) && (ge[te++] = Oe);
|
61902
61902
|
}
|
61903
|
-
return
|
61903
|
+
return ge;
|
61904
61904
|
}
|
61905
61905
|
function na(w, A) {
|
61906
61906
|
var D = w == null ? 0 : w.length;
|
@@ -61923,8 +61923,8 @@ Za.exports;
|
|
61923
61923
|
return w;
|
61924
61924
|
}
|
61925
61925
|
function vn(w, A, D, $) {
|
61926
|
-
var te = -1,
|
61927
|
-
for ($ &&
|
61926
|
+
var te = -1, ge = w == null ? 0 : w.length;
|
61927
|
+
for ($ && ge && (D = w[++te]); ++te < ge; )
|
61928
61928
|
D = A(D, w[te], te, w);
|
61929
61929
|
return D;
|
61930
61930
|
}
|
@@ -61949,22 +61949,22 @@ Za.exports;
|
|
61949
61949
|
}
|
61950
61950
|
function wo(w, A, D) {
|
61951
61951
|
var $;
|
61952
|
-
return D(w, function(te,
|
61953
|
-
if (A(te,
|
61954
|
-
return $ =
|
61952
|
+
return D(w, function(te, ge, Oe) {
|
61953
|
+
if (A(te, ge, Oe))
|
61954
|
+
return $ = ge, !1;
|
61955
61955
|
}), $;
|
61956
61956
|
}
|
61957
61957
|
function ia(w, A, D, $) {
|
61958
|
-
for (var te = w.length,
|
61959
|
-
if (A(w[
|
61960
|
-
return
|
61958
|
+
for (var te = w.length, ge = D + ($ ? 1 : -1); $ ? ge-- : ++ge < te; )
|
61959
|
+
if (A(w[ge], ge, w))
|
61960
|
+
return ge;
|
61961
61961
|
return -1;
|
61962
61962
|
}
|
61963
61963
|
function Gs(w, A, D) {
|
61964
61964
|
return A === A ? Fd(w, A, D) : ia(w, vo, D);
|
61965
61965
|
}
|
61966
61966
|
function Ad(w, A, D, $) {
|
61967
|
-
for (var te = D - 1,
|
61967
|
+
for (var te = D - 1, ge = w.length; ++te < ge; )
|
61968
61968
|
if ($(w[te], A))
|
61969
61969
|
return te;
|
61970
61970
|
return -1;
|
@@ -61987,8 +61987,8 @@ Za.exports;
|
|
61987
61987
|
};
|
61988
61988
|
}
|
61989
61989
|
function Do(w, A, D, $, te) {
|
61990
|
-
return te(w, function(
|
61991
|
-
D = $ ? ($ = !1,
|
61990
|
+
return te(w, function(ge, Oe, ve) {
|
61991
|
+
D = $ ? ($ = !1, ge) : A(D, ge, Oe, ve);
|
61992
61992
|
}), D;
|
61993
61993
|
}
|
61994
61994
|
function qd(w, A) {
|
@@ -61999,8 +61999,8 @@ Za.exports;
|
|
61999
61999
|
}
|
62000
62000
|
function kn(w, A) {
|
62001
62001
|
for (var D, $ = -1, te = w.length; ++$ < te; ) {
|
62002
|
-
var
|
62003
|
-
|
62002
|
+
var ge = A(w[$]);
|
62003
|
+
ge !== r && (D = D === r ? ge : D + ge);
|
62004
62004
|
}
|
62005
62005
|
return D;
|
62006
62006
|
}
|
@@ -62075,11 +62075,11 @@ Za.exports;
|
|
62075
62075
|
};
|
62076
62076
|
}
|
62077
62077
|
function ys(w, A) {
|
62078
|
-
for (var D = -1, $ = w.length, te = 0,
|
62078
|
+
for (var D = -1, $ = w.length, te = 0, ge = []; ++D < $; ) {
|
62079
62079
|
var Oe = w[D];
|
62080
|
-
(Oe === A || Oe === h) && (w[D] = h,
|
62080
|
+
(Oe === A || Oe === h) && (w[D] = h, ge[te++] = D);
|
62081
62081
|
}
|
62082
|
-
return
|
62082
|
+
return ge;
|
62083
62083
|
}
|
62084
62084
|
function oa(w) {
|
62085
62085
|
var A = -1, D = Array(w.size);
|
@@ -62130,7 +62130,7 @@ Za.exports;
|
|
62130
62130
|
}
|
62131
62131
|
var jd = function w(A) {
|
62132
62132
|
A = A == null ? He : Vs.defaults(He.Object(), A, Vs.pick(He, md));
|
62133
|
-
var D = A.Array, $ = A.Date, te = A.Error,
|
62133
|
+
var D = A.Array, $ = A.Date, te = A.Error, ge = A.Function, Oe = A.Math, ve = A.Object, zn = A.RegExp, Hd = A.String, It = A.TypeError, la = D.prototype, Wd = ge.prototype, Qs = ve.prototype, ca = A["__core-js_shared__"], pa = Wd.toString, we = Qs.hasOwnProperty, Gd = 0, zo = function() {
|
62134
62134
|
var e = /[^.]+$/.exec(ca && ca.keys && ca.keys.IE_PROTO || "");
|
62135
62135
|
return e ? "Symbol(src)_1." + e : "";
|
62136
62136
|
}(), da = Qs.toString, Xd = pa.call(ve), Yd = He._, Vd = zn(
|
@@ -62230,7 +62230,7 @@ Za.exports;
|
|
62230
62230
|
return e;
|
62231
62231
|
}
|
62232
62232
|
function um() {
|
62233
|
-
var e = this.__wrapped__.value(), t = this.__dir__, s = re(e), i = t < 0, p = s ? e.length : 0, u = Iu(0, p, this.__views__),
|
62233
|
+
var e = this.__wrapped__.value(), t = this.__dir__, s = re(e), i = t < 0, p = s ? e.length : 0, u = Iu(0, p, this.__views__), _ = u.start, x = u.end, v = x - _, q = i ? x : _ - 1, C = this.__iteratees__, N = C.length, K = 0, W = Xe(v, this.__takeCount__);
|
62234
62234
|
if (!s || !i && p == v && W == v)
|
62235
62235
|
return ol(e, this.__actions__);
|
62236
62236
|
var Q = [];
|
@@ -62382,9 +62382,9 @@ Za.exports;
|
|
62382
62382
|
}
|
62383
62383
|
Ft.prototype.clear = Em, Ft.prototype.delete = Nm, Ft.prototype.get = Sm, Ft.prototype.has = Lm, Ft.prototype.set = Mm;
|
62384
62384
|
function Fo(e, t) {
|
62385
|
-
var s = re(e), i = !s && Ls(e), p = !s && !i && hs(e), u = !s && !i && !p && ar(e),
|
62385
|
+
var s = re(e), i = !s && Ls(e), p = !s && !i && hs(e), u = !s && !i && !p && ar(e), _ = s || i || p || u, x = _ ? An(e.length, Hd) : [], v = x.length;
|
62386
62386
|
for (var q in e)
|
62387
|
-
(t || we.call(e, q)) && !(
|
62387
|
+
(t || we.call(e, q)) && !(_ && // Safari 9 has enumerable `arguments.length` in strict mode.
|
62388
62388
|
(q == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
62389
62389
|
p && (q == "offset" || q == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
62390
62390
|
u && (q == "buffer" || q == "byteLength" || q == "byteOffset") || // Skip index properties.
|
@@ -62415,8 +62415,8 @@ Za.exports;
|
|
62415
62415
|
return -1;
|
62416
62416
|
}
|
62417
62417
|
function Fm(e, t, s, i) {
|
62418
|
-
return fs(e, function(p, u,
|
62419
|
-
t(i, p, s(p),
|
62418
|
+
return fs(e, function(p, u, _) {
|
62419
|
+
t(i, p, s(p), _);
|
62420
62420
|
}), i;
|
62421
62421
|
}
|
62422
62422
|
function Bo(e, t) {
|
@@ -62442,41 +62442,41 @@ Za.exports;
|
|
62442
62442
|
return e === e && (s !== r && (e = e <= s ? e : s), t !== r && (e = e >= t ? e : t)), e;
|
62443
62443
|
}
|
62444
62444
|
function At(e, t, s, i, p, u) {
|
62445
|
-
var
|
62446
|
-
if (s && (
|
62447
|
-
return
|
62445
|
+
var _, x = t & T, v = t & M, q = t & R;
|
62446
|
+
if (s && (_ = p ? s(e, i, p, u) : s(e)), _ !== r)
|
62447
|
+
return _;
|
62448
62448
|
if (!Ae(e))
|
62449
62449
|
return e;
|
62450
62450
|
var C = re(e);
|
62451
62451
|
if (C) {
|
62452
|
-
if (
|
62453
|
-
return at(e,
|
62452
|
+
if (_ = Au(e), !x)
|
62453
|
+
return at(e, _);
|
62454
62454
|
} else {
|
62455
62455
|
var N = Ye(e), K = N == Ts || N == Xr;
|
62456
62456
|
if (hs(e))
|
62457
62457
|
return pl(e, x);
|
62458
62458
|
if (N == vt || N == $e || K && !p) {
|
62459
|
-
if (
|
62460
|
-
return v ? fu(e, Rm(
|
62459
|
+
if (_ = v || K ? {} : Cl(e), !x)
|
62460
|
+
return v ? fu(e, Rm(_, e)) : _u(e, Bo(_, e));
|
62461
62461
|
} else {
|
62462
62462
|
if (!Te[N])
|
62463
62463
|
return p ? e : {};
|
62464
|
-
|
62464
|
+
_ = qu(e, N, x);
|
62465
62465
|
}
|
62466
62466
|
}
|
62467
62467
|
u || (u = new Ft());
|
62468
62468
|
var W = u.get(e);
|
62469
62469
|
if (W)
|
62470
62470
|
return W;
|
62471
|
-
u.set(e,
|
62472
|
-
|
62471
|
+
u.set(e, _), ac(e) ? e.forEach(function(Z) {
|
62472
|
+
_.add(At(Z, t, s, Z, e, u));
|
62473
62473
|
}) : sc(e) && e.forEach(function(Z, pe) {
|
62474
|
-
|
62474
|
+
_.set(pe, At(Z, t, s, pe, e, u));
|
62475
62475
|
});
|
62476
62476
|
var Q = q ? v ? ti : ei : v ? it : Ke, ne = C ? r : Q(e);
|
62477
62477
|
return Dt(ne || e, function(Z, pe) {
|
62478
|
-
ne && (pe = Z, Z = e[pe]), qr(
|
62479
|
-
}),
|
62478
|
+
ne && (pe = Z, Z = e[pe]), qr(_, pe, At(Z, t, s, pe, e, u));
|
62479
|
+
}), _;
|
62480
62480
|
}
|
62481
62481
|
function Bm(e) {
|
62482
62482
|
var t = Ke(e);
|
@@ -62489,8 +62489,8 @@ Za.exports;
|
|
62489
62489
|
if (e == null)
|
62490
62490
|
return !i;
|
62491
62491
|
for (e = ve(e); i--; ) {
|
62492
|
-
var p = s[i], u = t[p],
|
62493
|
-
if (
|
62492
|
+
var p = s[i], u = t[p], _ = e[p];
|
62493
|
+
if (_ === r && !(p in e) || !u(_))
|
62494
62494
|
return !1;
|
62495
62495
|
}
|
62496
62496
|
return !0;
|
@@ -62503,14 +62503,14 @@ Za.exports;
|
|
62503
62503
|
}, t);
|
62504
62504
|
}
|
62505
62505
|
function Cr(e, t, s, i) {
|
62506
|
-
var p = -1, u = na,
|
62506
|
+
var p = -1, u = na, _ = !0, x = e.length, v = [], q = t.length;
|
62507
62507
|
if (!x)
|
62508
62508
|
return v;
|
62509
|
-
s && (t = Ie(t, yt(s))), i ? (u = wn,
|
62509
|
+
s && (t = Ie(t, yt(s))), i ? (u = wn, _ = !1) : t.length >= c && (u = vr, _ = !1, t = new Cs(t));
|
62510
62510
|
e:
|
62511
62511
|
for (; ++p < x; ) {
|
62512
62512
|
var C = e[p], N = s == null ? C : s(C);
|
62513
|
-
if (C = i || C !== 0 ? C : 0,
|
62513
|
+
if (C = i || C !== 0 ? C : 0, _ && N === N) {
|
62514
62514
|
for (var K = q; K--; )
|
62515
62515
|
if (t[K] === N)
|
62516
62516
|
continue e;
|
@@ -62529,9 +62529,9 @@ Za.exports;
|
|
62529
62529
|
}
|
62530
62530
|
function Ta(e, t, s) {
|
62531
62531
|
for (var i = -1, p = e.length; ++i < p; ) {
|
62532
|
-
var u = e[i],
|
62533
|
-
if (
|
62534
|
-
var x =
|
62532
|
+
var u = e[i], _ = t(u);
|
62533
|
+
if (_ != null && (x === r ? _ === _ && !ft(_) : s(_, x)))
|
62534
|
+
var x = _, v = u;
|
62535
62535
|
}
|
62536
62536
|
return v;
|
62537
62537
|
}
|
@@ -62548,8 +62548,8 @@ Za.exports;
|
|
62548
62548
|
}), s;
|
62549
62549
|
}
|
62550
62550
|
function We(e, t, s, i, p) {
|
62551
|
-
var u = -1,
|
62552
|
-
for (s || (s = zu), p || (p = []); ++u <
|
62551
|
+
var u = -1, _ = e.length;
|
62552
|
+
for (s || (s = zu), p || (p = []); ++u < _; ) {
|
62553
62553
|
var x = e[u];
|
62554
62554
|
t > 0 && s(x) ? t > 1 ? We(x, t - 1, s, i, p) : us(p, x) : i || (p[p.length] = x);
|
62555
62555
|
}
|
@@ -62593,9 +62593,9 @@ Za.exports;
|
|
62593
62593
|
return e >= Xe(t, s) && e < Fe(t, s);
|
62594
62594
|
}
|
62595
62595
|
function Rn(e, t, s) {
|
62596
|
-
for (var i = s ? wn : na, p = e[0].length, u = e.length,
|
62597
|
-
var C = e[
|
62598
|
-
|
62596
|
+
for (var i = s ? wn : na, p = e[0].length, u = e.length, _ = u, x = D(u), v = 1 / 0, q = []; _--; ) {
|
62597
|
+
var C = e[_];
|
62598
|
+
_ && t && (C = Ie(C, yt(t))), v = Xe(C.length, v), x[_] = !s && (t || p >= 120 && C.length >= 120) ? new Cs(_ && C) : r;
|
62599
62599
|
}
|
62600
62600
|
C = e[0];
|
62601
62601
|
var N = -1, K = x[0];
|
@@ -62603,9 +62603,9 @@ Za.exports;
|
|
62603
62603
|
for (; ++N < p && q.length < v; ) {
|
62604
62604
|
var W = C[N], Q = t ? t(W) : W;
|
62605
62605
|
if (W = s || W !== 0 ? W : 0, !(K ? vr(K, Q) : i(q, Q, s))) {
|
62606
|
-
for (
|
62607
|
-
var ne = x[
|
62608
|
-
if (!(ne ? vr(ne, Q) : i(e[
|
62606
|
+
for (_ = u; --_; ) {
|
62607
|
+
var ne = x[_];
|
62608
|
+
if (!(ne ? vr(ne, Q) : i(e[_], Q, s)))
|
62609
62609
|
continue e;
|
62610
62610
|
}
|
62611
62611
|
K && K.push(Q), q.push(W);
|
@@ -62614,8 +62614,8 @@ Za.exports;
|
|
62614
62614
|
return q;
|
62615
62615
|
}
|
62616
62616
|
function Wm(e, t, s, i) {
|
62617
|
-
return Ht(e, function(p, u,
|
62618
|
-
t(i, s(p), u,
|
62617
|
+
return Ht(e, function(p, u, _) {
|
62618
|
+
t(i, s(p), u, _);
|
62619
62619
|
}), i;
|
62620
62620
|
}
|
62621
62621
|
function zr(e, t, s) {
|
@@ -62636,16 +62636,16 @@ Za.exports;
|
|
62636
62636
|
return e === t ? !0 : e == null || t == null || !Ce(e) && !Ce(t) ? e !== e && t !== t : Ym(e, t, s, i, Er, p);
|
62637
62637
|
}
|
62638
62638
|
function Ym(e, t, s, i, p, u) {
|
62639
|
-
var
|
62639
|
+
var _ = re(e), x = re(t), v = _ ? Lt : Ye(e), q = x ? Lt : Ye(t);
|
62640
62640
|
v = v == $e ? vt : v, q = q == $e ? vt : q;
|
62641
62641
|
var C = v == vt, N = q == vt, K = v == q;
|
62642
62642
|
if (K && hs(e)) {
|
62643
62643
|
if (!hs(t))
|
62644
62644
|
return !1;
|
62645
|
-
|
62645
|
+
_ = !0, C = !1;
|
62646
62646
|
}
|
62647
62647
|
if (K && !C)
|
62648
|
-
return u || (u = new Ft()),
|
62648
|
+
return u || (u = new Ft()), _ || ar(e) ? kl(e, t, s, i, p, u) : vu(e, t, v, s, i, p, u);
|
62649
62649
|
if (!(s & O)) {
|
62650
62650
|
var W = C && we.call(e, "__wrapped__"), Q = N && we.call(t, "__wrapped__");
|
62651
62651
|
if (W || Q) {
|
@@ -62659,18 +62659,18 @@ Za.exports;
|
|
62659
62659
|
return Ce(e) && Ye(e) == dt;
|
62660
62660
|
}
|
62661
62661
|
function Bn(e, t, s, i) {
|
62662
|
-
var p = s.length, u = p,
|
62662
|
+
var p = s.length, u = p, _ = !i;
|
62663
62663
|
if (e == null)
|
62664
62664
|
return !u;
|
62665
62665
|
for (e = ve(e); p--; ) {
|
62666
62666
|
var x = s[p];
|
62667
|
-
if (
|
62667
|
+
if (_ && x[2] ? x[1] !== e[x[0]] : !(x[0] in e))
|
62668
62668
|
return !1;
|
62669
62669
|
}
|
62670
62670
|
for (; ++p < u; ) {
|
62671
62671
|
x = s[p];
|
62672
62672
|
var v = x[0], q = e[v], C = x[1];
|
62673
|
-
if (
|
62673
|
+
if (_ && x[2]) {
|
62674
62674
|
if (q === r && !(v in e))
|
62675
62675
|
return !1;
|
62676
62676
|
} else {
|
@@ -62722,8 +62722,8 @@ Za.exports;
|
|
62722
62722
|
}
|
62723
62723
|
function Vo(e, t) {
|
62724
62724
|
var s = -1, i = nt(e) ? D(e.length) : [];
|
62725
|
-
return fs(e, function(p, u,
|
62726
|
-
i[++s] = t(p, u,
|
62725
|
+
return fs(e, function(p, u, _) {
|
62726
|
+
i[++s] = t(p, u, _);
|
62727
62727
|
}), i;
|
62728
62728
|
}
|
62729
62729
|
function Qo(e) {
|
@@ -62739,27 +62739,27 @@ Za.exports;
|
|
62739
62739
|
};
|
62740
62740
|
}
|
62741
62741
|
function Ia(e, t, s, i, p) {
|
62742
|
-
e !== t && Pn(t, function(u,
|
62742
|
+
e !== t && Pn(t, function(u, _) {
|
62743
62743
|
if (p || (p = new Ft()), Ae(u))
|
62744
|
-
tu(e, t,
|
62744
|
+
tu(e, t, _, s, Ia, i, p);
|
62745
62745
|
else {
|
62746
|
-
var x = i ? i(oi(e,
|
62747
|
-
x === r && (x = u), Ln(e,
|
62746
|
+
var x = i ? i(oi(e, _), u, _ + "", e, t, p) : r;
|
62747
|
+
x === r && (x = u), Ln(e, _, x);
|
62748
62748
|
}
|
62749
62749
|
}, it);
|
62750
62750
|
}
|
62751
|
-
function tu(e, t, s, i, p, u,
|
62752
|
-
var x = oi(e, s), v = oi(t, s), q =
|
62751
|
+
function tu(e, t, s, i, p, u, _) {
|
62752
|
+
var x = oi(e, s), v = oi(t, s), q = _.get(v);
|
62753
62753
|
if (q) {
|
62754
62754
|
Ln(e, s, q);
|
62755
62755
|
return;
|
62756
62756
|
}
|
62757
|
-
var C = u ? u(x, v, s + "", e, t,
|
62757
|
+
var C = u ? u(x, v, s + "", e, t, _) : r, N = C === r;
|
62758
62758
|
if (N) {
|
62759
62759
|
var K = re(v), W = !K && hs(v), Q = !K && !W && ar(v);
|
62760
62760
|
C = v, K || W || Q ? re(x) ? C = x : Me(x) ? C = at(x) : W ? (N = !1, C = pl(v, !0)) : Q ? (N = !1, C = dl(v, !0)) : C = [] : Pr(v) || Ls(v) ? (C = x, Ls(x) ? C = oc(x) : (!Ae(x) || ns(x)) && (C = Cl(v))) : N = !1;
|
62761
62761
|
}
|
62762
|
-
N && (
|
62762
|
+
N && (_.set(v, C), p(C, v, i, u, _), _.delete(v)), Ln(e, s, C);
|
62763
62763
|
}
|
62764
62764
|
function Jo(e, t) {
|
62765
62765
|
var s = e.length;
|
@@ -62768,20 +62768,20 @@ Za.exports;
|
|
62768
62768
|
}
|
62769
62769
|
function el(e, t, s) {
|
62770
62770
|
t.length ? t = Ie(t, function(u) {
|
62771
|
-
return re(u) ? function(
|
62772
|
-
return Es(
|
62771
|
+
return re(u) ? function(_) {
|
62772
|
+
return Es(_, u.length === 1 ? u[0] : u);
|
62773
62773
|
} : u;
|
62774
62774
|
}) : t = [ot];
|
62775
62775
|
var i = -1;
|
62776
62776
|
t = Ie(t, yt(Y()));
|
62777
|
-
var p = Vo(e, function(u,
|
62777
|
+
var p = Vo(e, function(u, _, x) {
|
62778
62778
|
var v = Ie(t, function(q) {
|
62779
62779
|
return q(u);
|
62780
62780
|
});
|
62781
62781
|
return { criteria: v, index: ++i, value: u };
|
62782
62782
|
});
|
62783
|
-
return qd(p, function(u,
|
62784
|
-
return yu(u,
|
62783
|
+
return qd(p, function(u, _) {
|
62784
|
+
return yu(u, _, s);
|
62785
62785
|
});
|
62786
62786
|
}
|
62787
62787
|
function su(e, t) {
|
@@ -62791,8 +62791,8 @@ Za.exports;
|
|
62791
62791
|
}
|
62792
62792
|
function tl(e, t, s) {
|
62793
62793
|
for (var i = -1, p = t.length, u = {}; ++i < p; ) {
|
62794
|
-
var
|
62795
|
-
s(x,
|
62794
|
+
var _ = t[i], x = Es(e, _);
|
62795
|
+
s(x, _) && Nr(u, bs(_, e), x);
|
62796
62796
|
}
|
62797
62797
|
return u;
|
62798
62798
|
}
|
@@ -62802,8 +62802,8 @@ Za.exports;
|
|
62802
62802
|
};
|
62803
62803
|
}
|
62804
62804
|
function $n(e, t, s, i) {
|
62805
|
-
var p = i ? Ad : Gs, u = -1,
|
62806
|
-
for (e === t && (t = at(t)), s && (x = Ie(e, yt(s))); ++u <
|
62805
|
+
var p = i ? Ad : Gs, u = -1, _ = t.length, x = e;
|
62806
|
+
for (e === t && (t = at(t)), s && (x = Ie(e, yt(s))); ++u < _; )
|
62807
62807
|
for (var v = 0, q = t[u], C = s ? s(q) : q; (v = p(x, C, v, i)) > -1; )
|
62808
62808
|
x !== e && _a.call(x, v, 1), _a.call(e, v, 1);
|
62809
62809
|
return e;
|
@@ -62822,9 +62822,9 @@ Za.exports;
|
|
62822
62822
|
return e + ba(Po() * (t - e + 1));
|
62823
62823
|
}
|
62824
62824
|
function au(e, t, s, i) {
|
62825
|
-
for (var p = -1, u = Fe(ga((t - e) / (s || 1)), 0),
|
62826
|
-
|
62827
|
-
return
|
62825
|
+
for (var p = -1, u = Fe(ga((t - e) / (s || 1)), 0), _ = D(u); u--; )
|
62826
|
+
_[i ? u : ++p] = e, e += s;
|
62827
|
+
return _;
|
62828
62828
|
}
|
62829
62829
|
function Hn(e, t) {
|
62830
62830
|
var s = "";
|
@@ -62849,11 +62849,11 @@ Za.exports;
|
|
62849
62849
|
if (!Ae(e))
|
62850
62850
|
return e;
|
62851
62851
|
t = bs(t, e);
|
62852
|
-
for (var p = -1, u = t.length,
|
62852
|
+
for (var p = -1, u = t.length, _ = u - 1, x = e; x != null && ++p < u; ) {
|
62853
62853
|
var v = Gt(t[p]), q = s;
|
62854
62854
|
if (v === "__proto__" || v === "constructor" || v === "prototype")
|
62855
62855
|
return e;
|
62856
|
-
if (p !=
|
62856
|
+
if (p != _) {
|
62857
62857
|
var C = x[v];
|
62858
62858
|
q = i ? i(C, v, x) : r, q === r && (q = Ae(C) ? C : as(t[p + 1]) ? [] : {});
|
62859
62859
|
}
|
@@ -62891,8 +62891,8 @@ Za.exports;
|
|
62891
62891
|
var i = 0, p = e == null ? i : e.length;
|
62892
62892
|
if (typeof t == "number" && t === t && p <= Le) {
|
62893
62893
|
for (; i < p; ) {
|
62894
|
-
var u = i + p >>> 1,
|
62895
|
-
|
62894
|
+
var u = i + p >>> 1, _ = e[u];
|
62895
|
+
_ !== null && !ft(_) && (s ? _ <= t : _ < t) ? i = u + 1 : p = u;
|
62896
62896
|
}
|
62897
62897
|
return p;
|
62898
62898
|
}
|
@@ -62903,9 +62903,9 @@ Za.exports;
|
|
62903
62903
|
if (u === 0)
|
62904
62904
|
return 0;
|
62905
62905
|
t = s(t);
|
62906
|
-
for (var
|
62906
|
+
for (var _ = t !== t, x = t === null, v = ft(t), q = t === r; p < u; ) {
|
62907
62907
|
var C = ba((p + u) / 2), N = s(e[C]), K = N !== r, W = N === null, Q = N === N, ne = ft(N);
|
62908
|
-
if (
|
62908
|
+
if (_)
|
62909
62909
|
var Z = i || Q;
|
62910
62910
|
else
|
62911
62911
|
q ? Z = Q && (i || K) : x ? Z = Q && K && (i || !W) : v ? Z = Q && K && !W && (i || !ne) : W || ne ? Z = !1 : Z = i ? N <= t : N < t;
|
@@ -62915,10 +62915,10 @@ Za.exports;
|
|
62915
62915
|
}
|
62916
62916
|
function al(e, t) {
|
62917
62917
|
for (var s = -1, i = e.length, p = 0, u = []; ++s < i; ) {
|
62918
|
-
var
|
62918
|
+
var _ = e[s], x = t ? t(_) : _;
|
62919
62919
|
if (!s || !Rt(x, v)) {
|
62920
62920
|
var v = x;
|
62921
|
-
u[p++] =
|
62921
|
+
u[p++] = _ === 0 ? 0 : _;
|
62922
62922
|
}
|
62923
62923
|
}
|
62924
62924
|
return u;
|
@@ -62937,20 +62937,20 @@ Za.exports;
|
|
62937
62937
|
return t == "0" && 1 / e == -Ne ? "-0" : t;
|
62938
62938
|
}
|
62939
62939
|
function gs(e, t, s) {
|
62940
|
-
var i = -1, p = na, u = e.length,
|
62940
|
+
var i = -1, p = na, u = e.length, _ = !0, x = [], v = x;
|
62941
62941
|
if (s)
|
62942
|
-
|
62942
|
+
_ = !1, p = wn;
|
62943
62943
|
else if (u >= c) {
|
62944
62944
|
var q = t ? null : hu(e);
|
62945
62945
|
if (q)
|
62946
62946
|
return oa(q);
|
62947
|
-
|
62947
|
+
_ = !1, p = vr, v = new Cs();
|
62948
62948
|
} else
|
62949
62949
|
v = t ? [] : x;
|
62950
62950
|
e:
|
62951
62951
|
for (; ++i < u; ) {
|
62952
62952
|
var C = e[i], N = t ? t(C) : C;
|
62953
|
-
if (C = s || C !== 0 ? C : 0,
|
62953
|
+
if (C = s || C !== 0 ? C : 0, _ && N === N) {
|
62954
62954
|
for (var K = v.length; K--; )
|
62955
62955
|
if (v[K] === N)
|
62956
62956
|
continue e;
|
@@ -62982,16 +62982,16 @@ Za.exports;
|
|
62982
62982
|
if (i < 2)
|
62983
62983
|
return i ? gs(e[0]) : [];
|
62984
62984
|
for (var p = -1, u = D(i); ++p < i; )
|
62985
|
-
for (var
|
62986
|
-
x != p && (u[p] = Cr(u[p] ||
|
62985
|
+
for (var _ = e[p], x = -1; ++x < i; )
|
62986
|
+
x != p && (u[p] = Cr(u[p] || _, e[x], t, s));
|
62987
62987
|
return gs(We(u, 1), t, s);
|
62988
62988
|
}
|
62989
62989
|
function ll(e, t, s) {
|
62990
|
-
for (var i = -1, p = e.length, u = t.length,
|
62990
|
+
for (var i = -1, p = e.length, u = t.length, _ = {}; ++i < p; ) {
|
62991
62991
|
var x = i < u ? t[i] : r;
|
62992
|
-
s(
|
62992
|
+
s(_, e[i], x);
|
62993
62993
|
}
|
62994
|
-
return
|
62994
|
+
return _;
|
62995
62995
|
}
|
62996
62996
|
function Yn(e) {
|
62997
62997
|
return Me(e) ? e : [];
|
@@ -63037,16 +63037,16 @@ Za.exports;
|
|
63037
63037
|
}
|
63038
63038
|
function ml(e, t) {
|
63039
63039
|
if (e !== t) {
|
63040
|
-
var s = e !== r, i = e === null, p = e === e, u = ft(e),
|
63041
|
-
if (!x && !q && !u && e > t || u &&
|
63040
|
+
var s = e !== r, i = e === null, p = e === e, u = ft(e), _ = t !== r, x = t === null, v = t === t, q = ft(t);
|
63041
|
+
if (!x && !q && !u && e > t || u && _ && v && !x && !q || i && _ && v || !s && v || !p)
|
63042
63042
|
return 1;
|
63043
|
-
if (!i && !u && !q && e < t || q && s && p && !i && !u || x && s && p || !
|
63043
|
+
if (!i && !u && !q && e < t || q && s && p && !i && !u || x && s && p || !_ && p || !v)
|
63044
63044
|
return -1;
|
63045
63045
|
}
|
63046
63046
|
return 0;
|
63047
63047
|
}
|
63048
63048
|
function yu(e, t, s) {
|
63049
|
-
for (var i = -1, p = e.criteria, u = t.criteria,
|
63049
|
+
for (var i = -1, p = e.criteria, u = t.criteria, _ = p.length, x = s.length; ++i < _; ) {
|
63050
63050
|
var v = ml(p[i], u[i]);
|
63051
63051
|
if (v) {
|
63052
63052
|
if (i >= x)
|
@@ -63058,21 +63058,21 @@ Za.exports;
|
|
63058
63058
|
return e.index - t.index;
|
63059
63059
|
}
|
63060
63060
|
function ul(e, t, s, i) {
|
63061
|
-
for (var p = -1, u = e.length,
|
63061
|
+
for (var p = -1, u = e.length, _ = s.length, x = -1, v = t.length, q = Fe(u - _, 0), C = D(v + q), N = !i; ++x < v; )
|
63062
63062
|
C[x] = t[x];
|
63063
|
-
for (; ++p <
|
63063
|
+
for (; ++p < _; )
|
63064
63064
|
(N || p < u) && (C[s[p]] = e[p]);
|
63065
63065
|
for (; q--; )
|
63066
63066
|
C[x++] = e[p++];
|
63067
63067
|
return C;
|
63068
63068
|
}
|
63069
63069
|
function yl(e, t, s, i) {
|
63070
|
-
for (var p = -1, u = e.length,
|
63070
|
+
for (var p = -1, u = e.length, _ = -1, x = s.length, v = -1, q = t.length, C = Fe(u - x, 0), N = D(C + q), K = !i; ++p < C; )
|
63071
63071
|
N[p] = e[p];
|
63072
63072
|
for (var W = p; ++v < q; )
|
63073
63073
|
N[W + v] = t[v];
|
63074
|
-
for (; ++
|
63075
|
-
(K || p < u) && (N[W + s[
|
63074
|
+
for (; ++_ < x; )
|
63075
|
+
(K || p < u) && (N[W + s[_]] = e[p++]);
|
63076
63076
|
return N;
|
63077
63077
|
}
|
63078
63078
|
function at(e, t) {
|
@@ -63084,7 +63084,7 @@ Za.exports;
|
|
63084
63084
|
function Wt(e, t, s, i) {
|
63085
63085
|
var p = !s;
|
63086
63086
|
s || (s = {});
|
63087
|
-
for (var u = -1,
|
63087
|
+
for (var u = -1, _ = t.length; ++u < _; ) {
|
63088
63088
|
var x = t[u], v = i ? i(s[x], e[x], x, s, e) : r;
|
63089
63089
|
v === r && (v = e[x]), p ? ts(s, x, v) : qr(s, x, v);
|
63090
63090
|
}
|
@@ -63104,8 +63104,8 @@ Za.exports;
|
|
63104
63104
|
}
|
63105
63105
|
function tr(e) {
|
63106
63106
|
return le(function(t, s) {
|
63107
|
-
var i = -1, p = s.length, u = p > 1 ? s[p - 1] : r,
|
63108
|
-
for (u = e.length > 3 && typeof u == "function" ? (p--, u) : r,
|
63107
|
+
var i = -1, p = s.length, u = p > 1 ? s[p - 1] : r, _ = p > 2 ? s[2] : r;
|
63108
|
+
for (u = e.length > 3 && typeof u == "function" ? (p--, u) : r, _ && et(s[0], s[1], _) && (u = p < 3 ? r : u, p = 1), t = ve(t); ++i < p; ) {
|
63109
63109
|
var x = s[i];
|
63110
63110
|
x && e(t, x, i, u);
|
63111
63111
|
}
|
@@ -63118,15 +63118,15 @@ Za.exports;
|
|
63118
63118
|
return s;
|
63119
63119
|
if (!nt(s))
|
63120
63120
|
return e(s, i);
|
63121
|
-
for (var p = s.length, u = t ? p : -1,
|
63121
|
+
for (var p = s.length, u = t ? p : -1, _ = ve(s); (t ? u-- : ++u < p) && i(_[u], u, _) !== !1; )
|
63122
63122
|
;
|
63123
63123
|
return s;
|
63124
63124
|
};
|
63125
63125
|
}
|
63126
63126
|
function fl(e) {
|
63127
63127
|
return function(t, s, i) {
|
63128
|
-
for (var p = -1, u = ve(t),
|
63129
|
-
var v =
|
63128
|
+
for (var p = -1, u = ve(t), _ = i(t), x = _.length; x--; ) {
|
63129
|
+
var v = _[e ? x : ++p];
|
63130
63130
|
if (s(u[v], v, u) === !1)
|
63131
63131
|
break;
|
63132
63132
|
}
|
@@ -63136,8 +63136,8 @@ Za.exports;
|
|
63136
63136
|
function gu(e, t, s) {
|
63137
63137
|
var i = t & U, p = Sr(e);
|
63138
63138
|
function u() {
|
63139
|
-
var
|
63140
|
-
return
|
63139
|
+
var _ = this && this !== He && this instanceof u ? p : e;
|
63140
|
+
return _.apply(i ? s : this, arguments);
|
63141
63141
|
}
|
63142
63142
|
return u;
|
63143
63143
|
}
|
@@ -63181,9 +63181,9 @@ Za.exports;
|
|
63181
63181
|
function bu(e, t, s) {
|
63182
63182
|
var i = Sr(e);
|
63183
63183
|
function p() {
|
63184
|
-
for (var u = arguments.length,
|
63185
|
-
|
63186
|
-
var q = u < 3 &&
|
63184
|
+
for (var u = arguments.length, _ = D(u), x = u, v = rr(p); x--; )
|
63185
|
+
_[x] = arguments[x];
|
63186
|
+
var q = u < 3 && _[0] !== v && _[u - 1] !== v ? [] : ys(_, v);
|
63187
63187
|
if (u -= q.length, u < s)
|
63188
63188
|
return vl(
|
63189
63189
|
e,
|
@@ -63191,14 +63191,14 @@ Za.exports;
|
|
63191
63191
|
Ca,
|
63192
63192
|
p.placeholder,
|
63193
63193
|
r,
|
63194
|
-
|
63194
|
+
_,
|
63195
63195
|
q,
|
63196
63196
|
r,
|
63197
63197
|
r,
|
63198
63198
|
s - u
|
63199
63199
|
);
|
63200
63200
|
var C = this && this !== He && this instanceof p ? i : e;
|
63201
|
-
return ut(C, this,
|
63201
|
+
return ut(C, this, _);
|
63202
63202
|
}
|
63203
63203
|
return p;
|
63204
63204
|
}
|
@@ -63211,8 +63211,8 @@ Za.exports;
|
|
63211
63211
|
return u(p[x], x, p);
|
63212
63212
|
};
|
63213
63213
|
}
|
63214
|
-
var
|
63215
|
-
return
|
63214
|
+
var _ = e(t, s, i);
|
63215
|
+
return _ > -1 ? p[u ? t[_] : _] : r;
|
63216
63216
|
};
|
63217
63217
|
}
|
63218
63218
|
function xl(e) {
|
@@ -63222,32 +63222,32 @@ Za.exports;
|
|
63222
63222
|
var u = t[i];
|
63223
63223
|
if (typeof u != "function")
|
63224
63224
|
throw new It(m);
|
63225
|
-
if (p && !
|
63226
|
-
var
|
63225
|
+
if (p && !_ && Sa(u) == "wrapper")
|
63226
|
+
var _ = new kt([], !0);
|
63227
63227
|
}
|
63228
|
-
for (i =
|
63228
|
+
for (i = _ ? i : s; ++i < s; ) {
|
63229
63229
|
u = t[i];
|
63230
63230
|
var x = Sa(u), v = x == "wrapper" ? si(u) : r;
|
63231
|
-
v && ii(v[0]) && v[1] == (z | F | P | j) && !v[4].length && v[9] == 1 ?
|
63231
|
+
v && ii(v[0]) && v[1] == (z | F | P | j) && !v[4].length && v[9] == 1 ? _ = _[Sa(v[0])].apply(_, v[3]) : _ = u.length == 1 && ii(u) ? _[x]() : _.thru(u);
|
63232
63232
|
}
|
63233
63233
|
return function() {
|
63234
63234
|
var q = arguments, C = q[0];
|
63235
|
-
if (
|
63236
|
-
return
|
63235
|
+
if (_ && q.length == 1 && re(C))
|
63236
|
+
return _.plant(C).value();
|
63237
63237
|
for (var N = 0, K = s ? t[N].apply(this, q) : C; ++N < s; )
|
63238
63238
|
K = t[N].call(this, K);
|
63239
63239
|
return K;
|
63240
63240
|
};
|
63241
63241
|
});
|
63242
63242
|
}
|
63243
|
-
function Ca(e, t, s, i, p, u,
|
63243
|
+
function Ca(e, t, s, i, p, u, _, x, v, q) {
|
63244
63244
|
var C = t & z, N = t & U, K = t & H, W = t & (F | I), Q = t & se, ne = K ? r : Sr(e);
|
63245
63245
|
function Z() {
|
63246
63246
|
for (var pe = arguments.length, ue = D(pe), gt = pe; gt--; )
|
63247
63247
|
ue[gt] = arguments[gt];
|
63248
63248
|
if (W)
|
63249
63249
|
var tt = rr(Z), bt = zd(ue, tt);
|
63250
|
-
if (i && (ue = ul(ue, i, p, W)), u && (ue = yl(ue, u,
|
63250
|
+
if (i && (ue = ul(ue, i, p, W)), u && (ue = yl(ue, u, _, W)), pe -= bt, W && pe < q) {
|
63251
63251
|
var Pe = ys(ue, tt);
|
63252
63252
|
return vl(
|
63253
63253
|
e,
|
@@ -63305,14 +63305,14 @@ Za.exports;
|
|
63305
63305
|
}
|
63306
63306
|
function xu(e, t, s, i) {
|
63307
63307
|
var p = t & U, u = Sr(e);
|
63308
|
-
function
|
63309
|
-
for (var x = -1, v = arguments.length, q = -1, C = i.length, N = D(C + v), K = this && this !== He && this instanceof
|
63308
|
+
function _() {
|
63309
|
+
for (var x = -1, v = arguments.length, q = -1, C = i.length, N = D(C + v), K = this && this !== He && this instanceof _ ? u : e; ++q < C; )
|
63310
63310
|
N[q] = i[q];
|
63311
63311
|
for (; v--; )
|
63312
63312
|
N[q++] = arguments[++x];
|
63313
63313
|
return ut(K, p ? s : this, N);
|
63314
63314
|
}
|
63315
|
-
return
|
63315
|
+
return _;
|
63316
63316
|
}
|
63317
63317
|
function wl(e) {
|
63318
63318
|
return function(t, s, i) {
|
@@ -63324,8 +63324,8 @@ Za.exports;
|
|
63324
63324
|
return typeof t == "string" && typeof s == "string" || (t = zt(t), s = zt(s)), e(t, s);
|
63325
63325
|
};
|
63326
63326
|
}
|
63327
|
-
function vl(e, t, s, i, p, u,
|
63328
|
-
var C = t & F, N = C ?
|
63327
|
+
function vl(e, t, s, i, p, u, _, x, v, q) {
|
63328
|
+
var C = t & F, N = C ? _ : r, K = C ? r : _, W = C ? u : r, Q = C ? r : u;
|
63329
63329
|
t |= C ? P : X, t &= ~(C ? X : P), t & G || (t &= ~(U | H));
|
63330
63330
|
var ne = [
|
63331
63331
|
e,
|
@@ -63360,12 +63360,12 @@ Za.exports;
|
|
63360
63360
|
return s == dt ? Cn(t) : s == mt ? Od(t) : Cd(t, e(t));
|
63361
63361
|
};
|
63362
63362
|
}
|
63363
|
-
function ss(e, t, s, i, p, u,
|
63363
|
+
function ss(e, t, s, i, p, u, _, x) {
|
63364
63364
|
var v = t & H;
|
63365
63365
|
if (!v && typeof e != "function")
|
63366
63366
|
throw new It(m);
|
63367
63367
|
var q = i ? i.length : 0;
|
63368
|
-
if (q || (t &= ~(P | X), i = p = r),
|
63368
|
+
if (q || (t &= ~(P | X), i = p = r), _ = _ === r ? _ : Fe(ae(_), 0), x = x === r ? x : ae(x), q -= p ? p.length : 0, t & X) {
|
63369
63369
|
var C = i, N = p;
|
63370
63370
|
i = p = r;
|
63371
63371
|
}
|
@@ -63378,7 +63378,7 @@ Za.exports;
|
|
63378
63378
|
C,
|
63379
63379
|
N,
|
63380
63380
|
u,
|
63381
|
-
|
63381
|
+
_,
|
63382
63382
|
x
|
63383
63383
|
];
|
63384
63384
|
if (K && Mu(W, K), e = W[0], t = W[1], s = W[2], i = W[3], p = W[4], x = W[9] = W[9] === r ? v ? 0 : e.length : Fe(W[9] - q, 0), !x && t & (F | I) && (t &= ~(F | I)), !t || t == U)
|
@@ -63398,8 +63398,8 @@ Za.exports;
|
|
63398
63398
|
return Pr(e) ? r : e;
|
63399
63399
|
}
|
63400
63400
|
function kl(e, t, s, i, p, u) {
|
63401
|
-
var
|
63402
|
-
if (x != v && !(
|
63401
|
+
var _ = s & O, x = e.length, v = t.length;
|
63402
|
+
if (x != v && !(_ && v > x))
|
63403
63403
|
return !1;
|
63404
63404
|
var q = u.get(e), C = u.get(t);
|
63405
63405
|
if (q && C)
|
@@ -63408,7 +63408,7 @@ Za.exports;
|
|
63408
63408
|
for (u.set(e, t), u.set(t, e); ++N < x; ) {
|
63409
63409
|
var Q = e[N], ne = t[N];
|
63410
63410
|
if (i)
|
63411
|
-
var Z =
|
63411
|
+
var Z = _ ? i(ne, Q, N, t, e, u) : i(Q, ne, N, e, t, u);
|
63412
63412
|
if (Z !== r) {
|
63413
63413
|
if (Z)
|
63414
63414
|
continue;
|
@@ -63430,7 +63430,7 @@ Za.exports;
|
|
63430
63430
|
}
|
63431
63431
|
return u.delete(e), u.delete(t), K;
|
63432
63432
|
}
|
63433
|
-
function vu(e, t, s, i, p, u,
|
63433
|
+
function vu(e, t, s, i, p, u, _) {
|
63434
63434
|
switch (s) {
|
63435
63435
|
case ds:
|
63436
63436
|
if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
|
@@ -63453,12 +63453,12 @@ Za.exports;
|
|
63453
63453
|
var v = i & O;
|
63454
63454
|
if (x || (x = oa), e.size != t.size && !v)
|
63455
63455
|
return !1;
|
63456
|
-
var q =
|
63456
|
+
var q = _.get(e);
|
63457
63457
|
if (q)
|
63458
63458
|
return q == t;
|
63459
|
-
i |= E,
|
63460
|
-
var C = kl(x(e), x(t), i, p, u,
|
63461
|
-
return
|
63459
|
+
i |= E, _.set(e, t);
|
63460
|
+
var C = kl(x(e), x(t), i, p, u, _);
|
63461
|
+
return _.delete(e), C;
|
63462
63462
|
case Us:
|
63463
63463
|
if (Ar)
|
63464
63464
|
return Ar.call(e) == Ar.call(t);
|
@@ -63466,12 +63466,12 @@ Za.exports;
|
|
63466
63466
|
return !1;
|
63467
63467
|
}
|
63468
63468
|
function Tu(e, t, s, i, p, u) {
|
63469
|
-
var
|
63470
|
-
if (v != C && !
|
63469
|
+
var _ = s & O, x = ei(e), v = x.length, q = ei(t), C = q.length;
|
63470
|
+
if (v != C && !_)
|
63471
63471
|
return !1;
|
63472
63472
|
for (var N = v; N--; ) {
|
63473
63473
|
var K = x[N];
|
63474
|
-
if (!(
|
63474
|
+
if (!(_ ? K in t : we.call(t, K)))
|
63475
63475
|
return !1;
|
63476
63476
|
}
|
63477
63477
|
var W = u.get(e), Q = u.get(t);
|
@@ -63479,11 +63479,11 @@ Za.exports;
|
|
63479
63479
|
return W == t && Q == e;
|
63480
63480
|
var ne = !0;
|
63481
63481
|
u.set(e, t), u.set(t, e);
|
63482
|
-
for (var Z =
|
63482
|
+
for (var Z = _; ++N < v; ) {
|
63483
63483
|
K = x[N];
|
63484
63484
|
var pe = e[K], ue = t[K];
|
63485
63485
|
if (i)
|
63486
|
-
var gt =
|
63486
|
+
var gt = _ ? i(ue, pe, K, t, e, u) : i(pe, ue, K, e, t, u);
|
63487
63487
|
if (!(gt === r ? pe === ue || p(pe, ue, s, i, u) : gt)) {
|
63488
63488
|
ne = !1;
|
63489
63489
|
break;
|
@@ -63577,19 +63577,19 @@ Za.exports;
|
|
63577
63577
|
});
|
63578
63578
|
function Iu(e, t, s) {
|
63579
63579
|
for (var i = -1, p = s.length; ++i < p; ) {
|
63580
|
-
var u = s[i],
|
63580
|
+
var u = s[i], _ = u.size;
|
63581
63581
|
switch (u.type) {
|
63582
63582
|
case "drop":
|
63583
|
-
e +=
|
63583
|
+
e += _;
|
63584
63584
|
break;
|
63585
63585
|
case "dropRight":
|
63586
|
-
t -=
|
63586
|
+
t -= _;
|
63587
63587
|
break;
|
63588
63588
|
case "take":
|
63589
|
-
t = Xe(t, e +
|
63589
|
+
t = Xe(t, e + _);
|
63590
63590
|
break;
|
63591
63591
|
case "takeRight":
|
63592
|
-
e = Fe(e, t -
|
63592
|
+
e = Fe(e, t - _);
|
63593
63593
|
break;
|
63594
63594
|
}
|
63595
63595
|
}
|
@@ -63602,12 +63602,12 @@ Za.exports;
|
|
63602
63602
|
function ql(e, t, s) {
|
63603
63603
|
t = bs(t, e);
|
63604
63604
|
for (var i = -1, p = t.length, u = !1; ++i < p; ) {
|
63605
|
-
var
|
63606
|
-
if (!(u = e != null && s(e,
|
63605
|
+
var _ = Gt(t[i]);
|
63606
|
+
if (!(u = e != null && s(e, _)))
|
63607
63607
|
break;
|
63608
|
-
e = e[
|
63608
|
+
e = e[_];
|
63609
63609
|
}
|
63610
|
-
return u || ++i != p ? u : (p = e == null ? 0 : e.length, !!p && Ka(p) && as(
|
63610
|
+
return u || ++i != p ? u : (p = e == null ? 0 : e.length, !!p && Ka(p) && as(_, p) && (re(e) || Ls(e)));
|
63611
63611
|
}
|
63612
63612
|
function Au(e) {
|
63613
63613
|
var t = e.length, s = new e.constructor(t);
|
@@ -63713,8 +63713,8 @@ Za.exports;
|
|
63713
63713
|
return t;
|
63714
63714
|
}
|
63715
63715
|
function Mu(e, t) {
|
63716
|
-
var s = e[1], i = t[1], p = s | i, u = p < (U | H | z),
|
63717
|
-
if (!(u ||
|
63716
|
+
var s = e[1], i = t[1], p = s | i, u = p < (U | H | z), _ = i == z && s == F || i == z && s == j && e[7].length <= t[8] || i == (z | j) && t[7].length <= t[8] && s == F;
|
63717
|
+
if (!(u || _))
|
63718
63718
|
return e;
|
63719
63719
|
i & U && (e[2] = t[2], p |= s & U ? 0 : G);
|
63720
63720
|
var x = t[3];
|
@@ -63736,12 +63736,12 @@ Za.exports;
|
|
63736
63736
|
}
|
63737
63737
|
function Nl(e, t, s) {
|
63738
63738
|
return t = Fe(t === r ? e.length - 1 : t, 0), function() {
|
63739
|
-
for (var i = arguments, p = -1, u = Fe(i.length - t, 0),
|
63740
|
-
|
63739
|
+
for (var i = arguments, p = -1, u = Fe(i.length - t, 0), _ = D(u); ++p < u; )
|
63740
|
+
_[p] = i[t + p];
|
63741
63741
|
p = -1;
|
63742
63742
|
for (var x = D(t + 1); ++p < t; )
|
63743
63743
|
x[p] = i[p];
|
63744
|
-
return x[t] = s(
|
63744
|
+
return x[t] = s(_), ut(e, this, x);
|
63745
63745
|
};
|
63746
63746
|
}
|
63747
63747
|
function Sl(e, t) {
|
@@ -63780,8 +63780,8 @@ Za.exports;
|
|
63780
63780
|
function Ma(e, t) {
|
63781
63781
|
var s = -1, i = e.length, p = i - 1;
|
63782
63782
|
for (t = t === r ? i : t; ++s < t; ) {
|
63783
|
-
var u = jn(s, p),
|
63784
|
-
e[u] = e[s], e[s] =
|
63783
|
+
var u = jn(s, p), _ = e[u];
|
63784
|
+
e[u] = e[s], e[s] = _;
|
63785
63785
|
}
|
63786
63786
|
return e.length = t, e;
|
63787
63787
|
}
|
@@ -63827,9 +63827,9 @@ Za.exports;
|
|
63827
63827
|
var i = e == null ? 0 : e.length;
|
63828
63828
|
if (!i || t < 1)
|
63829
63829
|
return [];
|
63830
|
-
for (var p = 0, u = 0,
|
63831
|
-
|
63832
|
-
return
|
63830
|
+
for (var p = 0, u = 0, _ = D(ga(i / t)); p < i; )
|
63831
|
+
_[u++] = qt(e, p, p += t);
|
63832
|
+
return _;
|
63833
63833
|
}
|
63834
63834
|
function Ku(e) {
|
63835
63835
|
for (var t = -1, s = e == null ? 0 : e.length, i = 0, p = []; ++t < s; ) {
|
@@ -63969,8 +63969,8 @@ Za.exports;
|
|
63969
63969
|
return s;
|
63970
63970
|
var i = -1, p = [], u = e.length;
|
63971
63971
|
for (t = Y(t, 3); ++i < u; ) {
|
63972
|
-
var
|
63973
|
-
t(
|
63972
|
+
var _ = e[i];
|
63973
|
+
t(_, i, e) && (s.push(_), p.push(i));
|
63974
63974
|
}
|
63975
63975
|
return sl(e, p), s;
|
63976
63976
|
}
|
@@ -64191,8 +64191,8 @@ Za.exports;
|
|
64191
64191
|
}
|
64192
64192
|
var i_ = le(function(e, t, s) {
|
64193
64193
|
var i = -1, p = typeof t == "function", u = nt(e) ? D(e.length) : [];
|
64194
|
-
return fs(e, function(
|
64195
|
-
u[++i] = p ? ut(t,
|
64194
|
+
return fs(e, function(_) {
|
64195
|
+
u[++i] = p ? ut(t, _, s) : zr(_, t, s);
|
64196
64196
|
}), u;
|
64197
64197
|
}), o_ = qa(function(e, t, s) {
|
64198
64198
|
ts(e, s, t);
|
@@ -64299,16 +64299,16 @@ Za.exports;
|
|
64299
64299
|
return i.placeholder = Zl.placeholder, i;
|
64300
64300
|
}
|
64301
64301
|
function Jl(e, t, s) {
|
64302
|
-
var i, p, u,
|
64302
|
+
var i, p, u, _, x, v, q = 0, C = !1, N = !1, K = !0;
|
64303
64303
|
if (typeof e != "function")
|
64304
64304
|
throw new It(m);
|
64305
64305
|
t = zt(t) || 0, Ae(s) && (C = !!s.leading, N = "maxWait" in s, u = N ? Fe(zt(s.maxWait) || 0, t) : u, K = "trailing" in s ? !!s.trailing : K);
|
64306
64306
|
function W(Pe) {
|
64307
64307
|
var Bt = i, os = p;
|
64308
|
-
return i = p = r, q = Pe,
|
64308
|
+
return i = p = r, q = Pe, _ = e.apply(os, Bt), _;
|
64309
64309
|
}
|
64310
64310
|
function Q(Pe) {
|
64311
|
-
return q = Pe, x = Mr(pe, t), C ? W(Pe) :
|
64311
|
+
return q = Pe, x = Mr(pe, t), C ? W(Pe) : _;
|
64312
64312
|
}
|
64313
64313
|
function ne(Pe) {
|
64314
64314
|
var Bt = Pe - v, os = Pe - q, bc = t - Bt;
|
@@ -64325,13 +64325,13 @@ Za.exports;
|
|
64325
64325
|
x = Mr(pe, ne(Pe));
|
64326
64326
|
}
|
64327
64327
|
function ue(Pe) {
|
64328
|
-
return x = r, K && i ? W(Pe) : (i = p = r,
|
64328
|
+
return x = r, K && i ? W(Pe) : (i = p = r, _);
|
64329
64329
|
}
|
64330
64330
|
function gt() {
|
64331
64331
|
x !== r && cl(x), q = 0, i = v = p = x = r;
|
64332
64332
|
}
|
64333
64333
|
function tt() {
|
64334
|
-
return x === r ?
|
64334
|
+
return x === r ? _ : ue(Fa());
|
64335
64335
|
}
|
64336
64336
|
function bt() {
|
64337
64337
|
var Pe = Fa(), Bt = Z(Pe);
|
@@ -64341,7 +64341,7 @@ Za.exports;
|
|
64341
64341
|
if (N)
|
64342
64342
|
return cl(x), x = Mr(pe, t), W(v);
|
64343
64343
|
}
|
64344
|
-
return x === r && (x = Mr(pe, t)),
|
64344
|
+
return x === r && (x = Mr(pe, t)), _;
|
64345
64345
|
}
|
64346
64346
|
return bt.cancel = gt, bt.flush = tt, bt;
|
64347
64347
|
}
|
@@ -64360,8 +64360,8 @@ Za.exports;
|
|
64360
64360
|
var i = arguments, p = t ? t.apply(this, i) : i[0], u = s.cache;
|
64361
64361
|
if (u.has(p))
|
64362
64362
|
return u.get(p);
|
64363
|
-
var
|
64364
|
-
return s.cache = u.set(p,
|
64363
|
+
var _ = e.apply(this, i);
|
64364
|
+
return s.cache = u.set(p, _) || u, _;
|
64365
64365
|
};
|
64366
64366
|
return s.cache = new (Ra.Cache || es)(), s;
|
64367
64367
|
}
|
@@ -64657,8 +64657,8 @@ Za.exports;
|
|
64657
64657
|
e = ve(e);
|
64658
64658
|
var s = -1, i = t.length, p = i > 2 ? t[2] : r;
|
64659
64659
|
for (p && et(t[0], t[1], p) && (i = 1); ++s < i; )
|
64660
|
-
for (var u = t[s],
|
64661
|
-
var q =
|
64660
|
+
for (var u = t[s], _ = it(u), x = -1, v = _.length; ++x < v; ) {
|
64661
|
+
var q = _[x], C = e[q];
|
64662
64662
|
(C === r || Rt(C, Qs[q]) && !we.call(e, q)) && (e[q] = u[q]);
|
64663
64663
|
}
|
64664
64664
|
return e;
|
@@ -64776,8 +64776,8 @@ Za.exports;
|
|
64776
64776
|
var u = e && e.constructor;
|
64777
64777
|
p ? s = i ? new u() : [] : Ae(e) ? s = ns(u) ? er(ya(e)) : {} : s = {};
|
64778
64778
|
}
|
64779
|
-
return (p ? Dt : Ht)(e, function(
|
64780
|
-
return t(s,
|
64779
|
+
return (p ? Dt : Ht)(e, function(_, x, v) {
|
64780
|
+
return t(s, _, x, v);
|
64781
64781
|
}), s;
|
64782
64782
|
}
|
64783
64783
|
function Mf(e, t) {
|
@@ -64882,7 +64882,7 @@ Za.exports;
|
|
64882
64882
|
function ng(e, t, s) {
|
64883
64883
|
var i = d.templateSettings;
|
64884
64884
|
s && et(e, t, s) && (t = r), e = he(e), t = $a({}, t, i, Dl);
|
64885
|
-
var p = $a({}, t.imports, i.imports, Dl), u = Ke(p),
|
64885
|
+
var p = $a({}, t.imports, i.imports, Dl), u = Ke(p), _ = qn(p, u), x, v, q = 0, C = t.interpolate || Pt, N = "__p += '", K = zn(
|
64886
64886
|
(t.escape || Pt).source + "|" + C.source + "|" + (C === Jr ? ye : Pt).source + "|" + (t.evaluate || Pt).source + "|$",
|
64887
64887
|
"g"
|
64888
64888
|
), W = "//# sourceURL=" + (we.call(t, "sourceURL") ? (t.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++ud + "]") + `
|
@@ -64904,7 +64904,7 @@ __p += '`), ue && (N += `' +
|
|
64904
64904
|
}
|
64905
64905
|
`;
|
64906
64906
|
else if (B.test(Q))
|
64907
|
-
throw new te(
|
64907
|
+
throw new te(y);
|
64908
64908
|
N = (v ? N.replace(ln, "") : N).replace(br, "$1").replace(Vr, "$1;"), N = "function(" + (Q || "obj") + `) {
|
64909
64909
|
` + (Q ? "" : `obj || (obj = {});
|
64910
64910
|
`) + "var __t, __p = ''" + (x ? ", __e = _.escape" : "") + (v ? `, __j = Array.prototype.join;
|
@@ -64913,7 +64913,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
64913
64913
|
`) + N + `return __p
|
64914
64914
|
}`;
|
64915
64915
|
var ne = fc(function() {
|
64916
|
-
return
|
64916
|
+
return ge(u, W + "return " + N).apply(r, _);
|
64917
64917
|
});
|
64918
64918
|
if (ne.source = N, ui(ne))
|
64919
64919
|
throw ne;
|
@@ -64930,8 +64930,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
64930
64930
|
return Io(e);
|
64931
64931
|
if (!e || !(t = _t(t)))
|
64932
64932
|
return e;
|
64933
|
-
var i = Ot(e), p = Ot(t), u = ko(i, p),
|
64934
|
-
return xs(i, u,
|
64933
|
+
var i = Ot(e), p = Ot(t), u = ko(i, p), _ = Ao(i, p) + 1;
|
64934
|
+
return xs(i, u, _).join("");
|
64935
64935
|
}
|
64936
64936
|
function cg(e, t, s) {
|
64937
64937
|
if (e = he(e), e && (s || t === r))
|
@@ -64958,18 +64958,18 @@ function print() { __p += __j.call(arguments, '') }
|
|
64958
64958
|
e = he(e);
|
64959
64959
|
var u = e.length;
|
64960
64960
|
if (Xs(e)) {
|
64961
|
-
var
|
64962
|
-
u =
|
64961
|
+
var _ = Ot(e);
|
64962
|
+
u = _.length;
|
64963
64963
|
}
|
64964
64964
|
if (s >= u)
|
64965
64965
|
return e;
|
64966
64966
|
var x = s - Ys(i);
|
64967
64967
|
if (x < 1)
|
64968
64968
|
return i;
|
64969
|
-
var v =
|
64969
|
+
var v = _ ? xs(_, 0, x).join("") : e.slice(0, x);
|
64970
64970
|
if (p === r)
|
64971
64971
|
return v + i;
|
64972
|
-
if (
|
64972
|
+
if (_ && (x += v.length - x), yi(p)) {
|
64973
64973
|
if (e.slice(x).search(p)) {
|
64974
64974
|
var q, C = v;
|
64975
64975
|
for (p.global || (p = zn(p.source, he(xe.exec(p)) + "g")), p.lastIndex = 0; q = p.exec(C); )
|
@@ -65052,10 +65052,10 @@ function print() { __p += __j.call(arguments, '') }
|
|
65052
65052
|
function hi(e, t, s) {
|
65053
65053
|
var i = Ke(t), p = Da(t, i);
|
65054
65054
|
s == null && !(Ae(t) && (p.length || !i.length)) && (s = t, t = e, e = this, p = Da(t, Ke(t)));
|
65055
|
-
var u = !(Ae(s) && "chain" in s) || !!s.chain,
|
65055
|
+
var u = !(Ae(s) && "chain" in s) || !!s.chain, _ = ns(e);
|
65056
65056
|
return Dt(p, function(x) {
|
65057
65057
|
var v = t[x];
|
65058
|
-
e[x] = v,
|
65058
|
+
e[x] = v, _ && (e.prototype[x] = function() {
|
65059
65059
|
var q = this.__chain__;
|
65060
65060
|
if (u || q) {
|
65061
65061
|
var C = e(this.__wrapped__), N = C.__actions__ = at(this.__actions__);
|
@@ -65210,15 +65210,15 @@ function print() { __p += __j.call(arguments, '') }
|
|
65210
65210
|
}, Ht(me.prototype, function(e, t) {
|
65211
65211
|
var s = /^(?:filter|find|map|reject)|While$/.test(t), i = /^(?:head|last)$/.test(t), p = d[i ? "take" + (t == "last" ? "Right" : "") : t], u = i || /^find/.test(t);
|
65212
65212
|
p && (d.prototype[t] = function() {
|
65213
|
-
var
|
65213
|
+
var _ = this.__wrapped__, x = i ? [1] : arguments, v = _ instanceof me, q = x[0], C = v || re(_), N = function(pe) {
|
65214
65214
|
var ue = p.apply(d, us([pe], x));
|
65215
65215
|
return i && K ? ue[0] : ue;
|
65216
65216
|
};
|
65217
65217
|
C && s && typeof q == "function" && q.length != 1 && (v = C = !1);
|
65218
65218
|
var K = this.__chain__, W = !!this.__actions__.length, Q = u && !K, ne = v && !W;
|
65219
65219
|
if (!u && C) {
|
65220
|
-
|
65221
|
-
var Z = e.apply(
|
65220
|
+
_ = ne ? _ : new me(this);
|
65221
|
+
var Z = e.apply(_, x);
|
65222
65222
|
return Z.__actions__.push({ func: Pa, args: [N], thisArg: r }), new kt(Z, K);
|
65223
65223
|
}
|
65224
65224
|
return Q && ne ? e.apply(this, x) : (Z = this.thru(N), Q ? i ? Z.value()[0] : Z.value() : Z);
|
@@ -65231,8 +65231,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
65231
65231
|
var u = this.value();
|
65232
65232
|
return t.apply(re(u) ? u : [], p);
|
65233
65233
|
}
|
65234
|
-
return this[s](function(
|
65235
|
-
return t.apply(re(
|
65234
|
+
return this[s](function(_) {
|
65235
|
+
return t.apply(re(_) ? _ : [], p);
|
65236
65236
|
});
|
65237
65237
|
};
|
65238
65238
|
}), Ht(me.prototype, function(e, t) {
|
@@ -65808,11 +65808,11 @@ class Ax {
|
|
65808
65808
|
writable: !0,
|
65809
65809
|
value: (r = [], o) => {
|
65810
65810
|
const c = /* @__PURE__ */ new Map(), l = o.indexOf("(");
|
65811
|
-
for (let m = l + 1,
|
65812
|
-
o[m] !== "," && o[m] !== ")" || (
|
65813
|
-
return r.map(({ name: m = "", displayType:
|
65811
|
+
for (let m = l + 1, y = l; m < o.length; m++)
|
65812
|
+
o[m] !== "," && o[m] !== ")" || (y++, c.set(o.slice(y, m), y), y = m + 1);
|
65813
|
+
return r.map(({ name: m = "", displayType: y, desc: f }) => {
|
65814
65814
|
const b = [], h = c.get(m), T = h + m.length;
|
65815
|
-
return b.push(this._formatter.paragraph(this._formatter.bold(m), this._formatter.italic(
|
65815
|
+
return b.push(this._formatter.paragraph(this._formatter.bold(m), this._formatter.italic(y || ""))), f && b.push(Array.isArray(f) ? f.join(this._formatter.lineBreak) : f), {
|
65816
65816
|
label: [h, T],
|
65817
65817
|
documentation: {
|
65818
65818
|
value: b.join(this._formatter.lineBreak)
|
@@ -65827,10 +65827,10 @@ class Ax {
|
|
65827
65827
|
const l = this._getFuncItems(n);
|
65828
65828
|
if (!(l != null && l.length))
|
65829
65829
|
return null;
|
65830
|
-
const m = this._getSequentialSignatures(n, l),
|
65831
|
-
return f && (
|
65830
|
+
const m = this._getSequentialSignatures(n, l), y = this._getActiveIndex(l, r), f = (b = Os.overloadsFuncs) == null ? void 0 : b.find((h) => h.name === n && h.startColumn === o && c === h.line);
|
65831
|
+
return f && (y.activeSignature = Number(f.index)), {
|
65832
65832
|
signatures: m,
|
65833
|
-
...
|
65833
|
+
...y
|
65834
65834
|
};
|
65835
65835
|
}
|
65836
65836
|
_getActiveIndex(n, r = []) {
|
@@ -65838,8 +65838,8 @@ class Ax {
|
|
65838
65838
|
r.some((m) => !!m) || (c = r.length - 1);
|
65839
65839
|
const l = r.pop();
|
65840
65840
|
if (l)
|
65841
|
-
for (const [m,
|
65842
|
-
const { args: f } =
|
65841
|
+
for (const [m, y] of n.entries()) {
|
65842
|
+
const { args: f } = y;
|
65843
65843
|
if (f && f.length) {
|
65844
65844
|
const b = f.findIndex((h) => h.name === l);
|
65845
65845
|
if (b != -1) {
|
@@ -65876,7 +65876,7 @@ class Ax {
|
|
65876
65876
|
const c = `${this._formatter.code(this._isMac ? "⌘" : "Ctrl")} +
|
65877
65877
|
${this._formatter.code("Shift")} +
|
65878
65878
|
${this._formatter.code("Space")}`;
|
65879
|
-
return o.push(this._formatter.lineBreak), o.push(this._formatter.italic(`${c} ${
|
65879
|
+
return o.push(this._formatter.lineBreak), o.push(this._formatter.italic(`${c} ${fe.toTriggerParameterHints}`)), {
|
65880
65880
|
value: this._formatter.paragraph(...o)
|
65881
65881
|
};
|
65882
65882
|
}
|
@@ -65904,9 +65904,9 @@ class Cx {
|
|
65904
65904
|
let { matches: l } = o;
|
65905
65905
|
l = l || [];
|
65906
65906
|
const m = l[0] || "";
|
65907
|
-
let
|
65908
|
-
this._isHexToken(m) ?
|
65909
|
-
color:
|
65907
|
+
let y = null;
|
65908
|
+
this._isHexToken(m) ? y = this._hexToColor(m) : this._isRgbColor(m) ? y = this._rgbToColor(m) : this._colors[m] ? y = this._hexToColor(this._colors[m]) : this._isColorExpression(m) && l[1] && l[6] && (y = this._extractNewExpression(l[1], Number(l[6]))), y && r.push({
|
65909
|
+
color: y,
|
65910
65910
|
range: c
|
65911
65911
|
});
|
65912
65912
|
}), r;
|
@@ -66479,8 +66479,8 @@ class Ex {
|
|
66479
66479
|
async setInlayHints(n) {
|
66480
66480
|
const { endLine: r, endColumn: o, name: c, libraryId: l, libraryName: m } = n;
|
66481
66481
|
if (this._importCompleteLibrary.has(l)) {
|
66482
|
-
const
|
66483
|
-
return ((
|
66482
|
+
const y = this._funcs.get(l);
|
66483
|
+
return ((y == null ? void 0 : y.name) !== c || !c && !this._inlayHints.has(l)) && (this._updateFuncNames(c || m, l), this._inlayHintsHandle(n)), this._importCompleteLibrary.get(l);
|
66484
66484
|
}
|
66485
66485
|
return this._importCompleteLibrary.set(l, lp), this._inlayHints.set(l, {
|
66486
66486
|
label: "载入中...",
|
@@ -66553,15 +66553,15 @@ function Nx(a, n, r) {
|
|
66553
66553
|
return {
|
66554
66554
|
suggestions: []
|
66555
66555
|
};
|
66556
|
-
const m = (R = l[0]) == null ? void 0 : R.match(/.*[^\w.]+([\w.]+)(?=\.)|([\w.]+)(?=\.)/),
|
66556
|
+
const m = (R = l[0]) == null ? void 0 : R.match(/.*[^\w.]+([\w.]+)(?=\.)|([\w.]+)(?=\.)/), y = m ? m[1] ? m[1] : m[2] ? m[2] : void 0 : void 0, f = a.getWordUntilPosition(n), b = Os.parseCurrentInputFunc(c), h = {
|
66557
66557
|
startLineNumber: n.lineNumber,
|
66558
66558
|
endLineNumber: n.lineNumber,
|
66559
66559
|
startColumn: f.startColumn,
|
66560
66560
|
endColumn: f.endColumn
|
66561
66561
|
}, T = a.getValueInRange({ ...h, startColumn: f.endColumn, endColumn: f.endColumn + 1 });
|
66562
66562
|
Ut.nextIsBracket = T === "(";
|
66563
|
-
let M = cp(Ut.getSuggestions(
|
66564
|
-
if (l[0] === "." && (M = []), b && !
|
66563
|
+
let M = cp(Ut.getSuggestions(y) || [], h);
|
66564
|
+
if (l[0] === "." && (M = []), b && !y && !/=\s*\w+$/.test(c)) {
|
66565
66565
|
const O = cp(Ut.getArgSuggestions(b.funcName) || [], h);
|
66566
66566
|
M = M.concat(O);
|
66567
66567
|
}
|
@@ -66610,11 +66610,11 @@ function Mx(a, n) {
|
|
66610
66610
|
endLineNumber: n.lineNumber,
|
66611
66611
|
startColumn: 1,
|
66612
66612
|
endColumn: n.column
|
66613
|
-
}, o = a.getValueInRange(r), c = a.findMatches(String(Ix), r, !0, !1, null, !0), l = a.findMatches(String(kx), r, !0, !1, null, !0), m = (T = c.pop()) == null ? void 0 : T.matches,
|
66613
|
+
}, o = a.getValueInRange(r), c = a.findMatches(String(Ix), r, !0, !1, null, !0), l = a.findMatches(String(kx), r, !0, !1, null, !0), m = (T = c.pop()) == null ? void 0 : T.matches, y = (M = l.pop()) == null ? void 0 : M.matches;
|
66614
66614
|
let f = !1;
|
66615
66615
|
c.length % 2 === 0 ? m && m[0] === '"' && (f = !0) : m && !m[0] && (f = !0);
|
66616
66616
|
let b = !1;
|
66617
|
-
l.length % 2 === 0 ?
|
66617
|
+
l.length % 2 === 0 ? y && y[0] === "'" && (b = !0) : y && !y[0] && (b = !0);
|
66618
66618
|
const h = Os.parseCurrentInputFuncAndArg(o, b, f);
|
66619
66619
|
if (h) {
|
66620
66620
|
const { funcName: R, args: O, startIndex: E } = h, U = qx.getSignatureHelpValues(R, O, E + 1, n.lineNumber);
|
@@ -66641,9 +66641,10 @@ function Ox(a, n) {
|
|
66641
66641
|
return Ei.getDocumentColorPresentations(a, n) || [];
|
66642
66642
|
}
|
66643
66643
|
function Fx(a, n) {
|
66644
|
+
var y, f;
|
66644
66645
|
const r = a.getModel(), o = Os.parseLineContentFuncVar(n.startColumn + 1, n.startLineNumber, r);
|
66645
66646
|
if (!o || o.isBuildIn || !o.docValue || !o.docValue[0].pos)
|
66646
|
-
return o != null && o.isBuildIn ? o : void 0;
|
66647
|
+
return o != null && o.isBuildIn || (f = (y = o == null ? void 0 : o.docValue) == null ? void 0 : y[0].title) != null && f.startsWith("built-in") ? o : void 0;
|
66647
66648
|
const { lineNumber: c, column: l } = o.docValue[0].pos, m = {
|
66648
66649
|
startLineNumber: c,
|
66649
66650
|
endLineNumber: c,
|
@@ -66763,7 +66764,7 @@ vs.prototype = {
|
|
66763
66764
|
var o, c = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, l = c.callback;
|
66764
66765
|
typeof c == "function" && (l = c, c = {}), this.options = c;
|
66765
66766
|
var m = this;
|
66766
|
-
function
|
66767
|
+
function y(I) {
|
66767
66768
|
return l ? (setTimeout(function() {
|
66768
66769
|
l(void 0, I);
|
66769
66770
|
}, 0), !0) : I;
|
@@ -66776,7 +66777,7 @@ vs.prototype = {
|
|
66776
66777
|
lastComponent: void 0
|
66777
66778
|
}], E = this.extractCommon(O[0], r, n, 0);
|
66778
66779
|
if (O[0].oldPos + 1 >= b && E + 1 >= f)
|
66779
|
-
return
|
66780
|
+
return y([{
|
66780
66781
|
value: this.join(r),
|
66781
66782
|
count: r.length
|
66782
66783
|
}]);
|
@@ -66796,7 +66797,7 @@ vs.prototype = {
|
|
66796
66797
|
continue;
|
66797
66798
|
}
|
66798
66799
|
if (!oe || j && X.oldPos + 1 < z.oldPos ? P = m.addToPath(z, !0, void 0, 0) : P = m.addToPath(X, void 0, !0, 1), E = m.extractCommon(P, r, n, I), P.oldPos + 1 >= b && E + 1 >= f)
|
66799
|
-
return
|
66800
|
+
return y(jx(m, P.lastComponent, r, n, m.useLongestToken));
|
66800
66801
|
O[I] = P, P.oldPos + 1 >= b && (H = Math.min(H, I - 1)), E + 1 >= f && (U = Math.max(U, I + 1));
|
66801
66802
|
}
|
66802
66803
|
h++;
|
@@ -66837,12 +66838,12 @@ vs.prototype = {
|
|
66837
66838
|
};
|
66838
66839
|
},
|
66839
66840
|
extractCommon: function(n, r, o, c) {
|
66840
|
-
for (var l = r.length, m = o.length,
|
66841
|
-
f++,
|
66841
|
+
for (var l = r.length, m = o.length, y = n.oldPos, f = y - c, b = 0; f + 1 < l && y + 1 < m && this.equals(r[f + 1], o[y + 1]); )
|
66842
|
+
f++, y++, b++;
|
66842
66843
|
return b && (n.lastComponent = {
|
66843
66844
|
count: b,
|
66844
66845
|
previousComponent: n.lastComponent
|
66845
|
-
}), n.oldPos =
|
66846
|
+
}), n.oldPos = y, f;
|
66846
66847
|
},
|
66847
66848
|
equals: function(n, r) {
|
66848
66849
|
return this.options.comparator ? this.options.comparator(n, r) : n === r || this.options.ignoreCase && n.toLowerCase() === r.toLowerCase();
|
@@ -66866,12 +66867,12 @@ function jx(a, n, r, o, c) {
|
|
66866
66867
|
for (var l = [], m; n; )
|
66867
66868
|
l.push(n), m = n.previousComponent, delete n.previousComponent, n = m;
|
66868
66869
|
l.reverse();
|
66869
|
-
for (var
|
66870
|
-
var T = l[
|
66870
|
+
for (var y = 0, f = l.length, b = 0, h = 0; y < f; y++) {
|
66871
|
+
var T = l[y];
|
66871
66872
|
if (T.removed) {
|
66872
|
-
if (T.value = a.join(o.slice(h, h + T.count)), h += T.count,
|
66873
|
-
var R = l[
|
66874
|
-
l[
|
66873
|
+
if (T.value = a.join(o.slice(h, h + T.count)), h += T.count, y && l[y - 1].added) {
|
66874
|
+
var R = l[y - 1];
|
66875
|
+
l[y - 1] = l[y], l[y] = R;
|
66875
66876
|
}
|
66876
66877
|
} else {
|
66877
66878
|
if (!T.added && c) {
|
@@ -66954,11 +66955,11 @@ function Ni(a, n, r, o, c) {
|
|
66954
66955
|
}
|
66955
66956
|
if (a && a.toJSON && (a = a.toJSON()), Ya(a) === "object" && a !== null) {
|
66956
66957
|
n.push(a), m = {}, r.push(m);
|
66957
|
-
var
|
66958
|
+
var y = [], f;
|
66958
66959
|
for (f in a)
|
66959
|
-
a.hasOwnProperty(f) &&
|
66960
|
-
for (
|
66961
|
-
f =
|
66960
|
+
a.hasOwnProperty(f) && y.push(f);
|
66961
|
+
for (y.sort(), l = 0; l < y.length; l += 1)
|
66962
|
+
f = y[l], m[f] = Ni(a[f], n, r, o, f);
|
66962
66963
|
n.pop(), r.pop();
|
66963
66964
|
} else
|
66964
66965
|
m = a;
|
@@ -67036,8 +67037,8 @@ class Yx {
|
|
67036
67037
|
const c = [];
|
67037
67038
|
let l = 0;
|
67038
67039
|
for (const m of n) {
|
67039
|
-
const { added:
|
67040
|
-
|
67040
|
+
const { added: y, removed: f, count: b = 1, value: h } = m;
|
67041
|
+
y ? o && o.removed ? (r = this._changeHandle(c, r, l, b, Ve.modified), l = 0, o = void 0) : (o && o.added && (r = this._changeHandle(c, r, l, o.count || 1, Ve.added), l = 0), o = m) : f ? o && o.added ? (r = this._changeHandle(c, r, l, o.count || 1, Ve.modified), l = 0, o = void 0) : (o && o.removed && this._addDecorationList(c, r, Ve.removed), o = m) : /^\n+$/.test(h) ? o && (o.added || o.removed) ? l = b : r += b : (o && o.added ? (r = this._changeHandle(c, r, l, o.count || 1, Ve.added), l = 0, o = void 0) : o && o.removed && (this._addDecorationList(c, r, Ve.removed), o = void 0), r += b);
|
67041
67042
|
}
|
67042
67043
|
return o && o.added ? r = this._changeHandle(c, r, l, o.count || 1, Ve.added) : o && o.removed && this._addDecorationList(c, r, Ve.removed), c;
|
67043
67044
|
}
|
@@ -67065,10 +67066,10 @@ class Yx {
|
|
67065
67066
|
this._editor.addOverlayWidget(n), this._onMouseDownListener = this._editor.onMouseDown((r) => this._onMouseDownHandle(r)), this._diffPopupWidget = n;
|
67066
67067
|
}
|
67067
67068
|
_onMouseDownHandle(n) {
|
67068
|
-
var m,
|
67069
|
+
var m, y, f, b, h, T;
|
67069
67070
|
const r = (m = n.target.element) == null ? void 0 : m.classList, o = r == null ? void 0 : r.contains(`line-${Ve.added}`), c = r == null ? void 0 : r.contains(`line-${Ve.modified}`), l = r == null ? void 0 : r.contains(`line-${Ve.removed}`);
|
67070
67071
|
if (o || c || l) {
|
67071
|
-
const M = ((f = (
|
67072
|
+
const M = ((f = (y = n == null ? void 0 : n.target) == null ? void 0 : y.position) == null ? void 0 : f.lineNumber) || 0, R = ((b = this._editor) == null ? void 0 : b.getTopForLineNumber(M + 1)) || 0, O = ((h = this._editor) == null ? void 0 : h.getScrollTop()) || 0, E = o ? Ve.added : c ? Ve.modified : Ve.removed;
|
67072
67073
|
(T = this._diffPopupWidget) == null || T.show(R - O, R, E), this._diffEditor || (this._diffEditor = this._createDiffEditor()), this._diffEditor.setModel({
|
67073
67074
|
original: this._originalModel,
|
67074
67075
|
modified: this._editor.getModel()
|
@@ -67219,19 +67220,20 @@ class Vx {
|
|
67219
67220
|
const { index: R, docValue: O } = M, { title: E, name: U } = O[R];
|
67220
67221
|
let H = "";
|
67221
67222
|
switch (E) {
|
67222
|
-
case
|
67223
|
+
case fe.keywords:
|
67223
67224
|
H = "kw";
|
67224
67225
|
break;
|
67225
|
-
case
|
67226
|
+
case fe.methods:
|
67227
|
+
case fe.functions:
|
67226
67228
|
H = "fun";
|
67227
67229
|
break;
|
67228
|
-
case
|
67230
|
+
case fe.variables:
|
67229
67231
|
H = "var";
|
67230
67232
|
break;
|
67231
|
-
case
|
67233
|
+
case fe.types:
|
67232
67234
|
H = "type";
|
67233
67235
|
break;
|
67234
|
-
case
|
67236
|
+
case fe.constants:
|
67235
67237
|
H = "const";
|
67236
67238
|
break;
|
67237
67239
|
}
|
@@ -67245,10 +67247,10 @@ class Vx {
|
|
67245
67247
|
open: (b) => (this._onLinkOpen && b.fragment && this._onLinkOpen(b.fragment), !!b.fragment)
|
67246
67248
|
});
|
67247
67249
|
this._registerList.push(m);
|
67248
|
-
const
|
67250
|
+
const y = this._monaco.languages.registerDefinitionProvider(Ee, {
|
67249
67251
|
provideDefinition: Rx
|
67250
67252
|
});
|
67251
|
-
this._registerList.push(
|
67253
|
+
this._registerList.push(y);
|
67252
67254
|
const f = this._monaco.languages.registerInlayHintsProvider(Ee, {
|
67253
67255
|
provideInlayHints: Bx
|
67254
67256
|
});
|
@@ -67402,16 +67404,16 @@ function Lp(a, n = globalThis, r = ["*"]) {
|
|
67402
67404
|
console.warn(`Invalid origin '${c.origin}' for comlink proxy`);
|
67403
67405
|
return;
|
67404
67406
|
}
|
67405
|
-
const { id: l, type: m, path:
|
67407
|
+
const { id: l, type: m, path: y } = Object.assign({ path: [] }, c.data), f = (c.data.argumentList || []).map(Ps);
|
67406
67408
|
let b;
|
67407
67409
|
try {
|
67408
|
-
const h =
|
67410
|
+
const h = y.slice(0, -1).reduce((M, R) => M[R], a), T = y.reduce((M, R) => M[R], a);
|
67409
67411
|
switch (m) {
|
67410
67412
|
case "GET":
|
67411
67413
|
b = T;
|
67412
67414
|
break;
|
67413
67415
|
case "SET":
|
67414
|
-
h[
|
67416
|
+
h[y.slice(-1)[0]] = Ps(c.data.value), b = !0;
|
67415
67417
|
break;
|
67416
67418
|
case "APPLY":
|
67417
67419
|
b = T.apply(h, f);
|
@@ -67492,24 +67494,24 @@ function Li(a, n = [], r = function() {
|
|
67492
67494
|
if (m === "then") {
|
67493
67495
|
if (n.length === 0)
|
67494
67496
|
return { then: () => c };
|
67495
|
-
const
|
67497
|
+
const y = ir(a, {
|
67496
67498
|
type: "GET",
|
67497
67499
|
path: n.map((f) => f.toString())
|
67498
67500
|
}).then(Ps);
|
67499
|
-
return
|
67501
|
+
return y.then.bind(y);
|
67500
67502
|
}
|
67501
67503
|
return Li(a, [...n, m]);
|
67502
67504
|
},
|
67503
|
-
set(l, m,
|
67505
|
+
set(l, m, y) {
|
67504
67506
|
Ga(o);
|
67505
|
-
const [f, b] = sn(
|
67507
|
+
const [f, b] = sn(y);
|
67506
67508
|
return ir(a, {
|
67507
67509
|
type: "SET",
|
67508
67510
|
path: [...n, m].map((h) => h.toString()),
|
67509
67511
|
value: f
|
67510
67512
|
}, b).then(Ps);
|
67511
67513
|
},
|
67512
|
-
apply(l, m,
|
67514
|
+
apply(l, m, y) {
|
67513
67515
|
Ga(o);
|
67514
67516
|
const f = n[n.length - 1];
|
67515
67517
|
if (f === Qx)
|
@@ -67518,7 +67520,7 @@ function Li(a, n = [], r = function() {
|
|
67518
67520
|
}).then(Ps);
|
67519
67521
|
if (f === "bind")
|
67520
67522
|
return Li(a, n.slice(0, -1));
|
67521
|
-
const [b, h] = mp(
|
67523
|
+
const [b, h] = mp(y);
|
67522
67524
|
return ir(a, {
|
67523
67525
|
type: "APPLY",
|
67524
67526
|
path: n.map((T) => T.toString()),
|
@@ -67527,11 +67529,11 @@ function Li(a, n = [], r = function() {
|
|
67527
67529
|
},
|
67528
67530
|
construct(l, m) {
|
67529
67531
|
Ga(o);
|
67530
|
-
const [
|
67532
|
+
const [y, f] = mp(m);
|
67531
67533
|
return ir(a, {
|
67532
67534
|
type: "CONSTRUCT",
|
67533
67535
|
path: n.map((b) => b.toString()),
|
67534
|
-
argumentList:
|
67536
|
+
argumentList: y
|
67535
67537
|
}, f).then(Ps);
|
67536
67538
|
}
|
67537
67539
|
});
|
@@ -67591,7 +67593,7 @@ function ir(a, n, r) {
|
|
67591
67593
|
function oh() {
|
67592
67594
|
return new Array(4).fill(0).map(() => Math.floor(Math.random() * Number.MAX_SAFE_INTEGER).toString(16)).join("-");
|
67593
67595
|
}
|
67594
|
-
const Fp = new Worker(new URL("" + new URL("assets/scriptsRunWorker-
|
67596
|
+
const Fp = new Worker(new URL("" + new URL("assets/scriptsRunWorker-DcFMYcUp.js", import.meta.url).href, import.meta.url), { type: "module", name: "Run TccScript Server" });
|
67595
67597
|
Fp.onerror = (a) => {
|
67596
67598
|
console.error(a);
|
67597
67599
|
};
|
@@ -67636,7 +67638,7 @@ Ri.config({
|
|
67636
67638
|
});
|
67637
67639
|
let up = {};
|
67638
67640
|
const dh = (a, n) => {
|
67639
|
-
const { height: r, width: o, theme: c, options: l, hasDiff: m, readOnly:
|
67641
|
+
const { height: r, width: o, theme: c, options: l, hasDiff: m, readOnly: y, defaultValue: f, onChange: b, onLinkOpen: h, onDeclareConfigChange: T, onCursorPositionChange: M, onActionTrigger: R, onEditorDidMount: O } = a, E = ze(null), U = ze(null), H = ze(!1);
|
67640
67642
|
hp(n, () => ({
|
67641
67643
|
setOriginalScript(z) {
|
67642
67644
|
var j;
|
@@ -67682,7 +67684,7 @@ const dh = (a, n) => {
|
|
67682
67684
|
var oe, Qe;
|
67683
67685
|
Ut.initBuiltinsTrees(), Ja.setEditor(z), E.current = new Vx(z, j, R), h && ((oe = E.current) == null || oe.addLinkOpenFunc(h)), m && ((Qe = E.current) == null || Qe.addDiffDecorations()), vx(z), requestAnimationFrame(X);
|
67684
67686
|
const se = z.getValue();
|
67685
|
-
E.current.onChangeCursorPosition(M), b && b(se), !
|
67687
|
+
E.current.onChangeCursorPosition(M), b && b(se), !y && F(se), O && O();
|
67686
67688
|
}
|
67687
67689
|
const F = cr(async (z) => {
|
67688
67690
|
var Lt;
|
@@ -67701,7 +67703,7 @@ const dh = (a, n) => {
|
|
67701
67703
|
...Ze,
|
67702
67704
|
severity: Ze.type || tb.Error
|
67703
67705
|
}));
|
67704
|
-
if (
|
67706
|
+
if (y)
|
67705
67707
|
return;
|
67706
67708
|
try {
|
67707
67709
|
if (!se.length && _e) {
|
@@ -67722,10 +67724,10 @@ const dh = (a, n) => {
|
|
67722
67724
|
!H.current && ((Lt = E.current) == null || Lt.setModelMarkers(St));
|
67723
67725
|
const $e = Date.now();
|
67724
67726
|
console.log(($e - j) / 1e3);
|
67725
|
-
}, [T,
|
67727
|
+
}, [T, y]), I = Jg(() => Cc.debounce(F, 1500), [F]);
|
67726
67728
|
function P(z) {
|
67727
67729
|
var j;
|
67728
|
-
if (
|
67730
|
+
if (y) {
|
67729
67731
|
F(z || "");
|
67730
67732
|
return;
|
67731
67733
|
}
|
@@ -67756,14 +67758,14 @@ plot(close)
|
|
67756
67758
|
filterGraceful: !0
|
67757
67759
|
},
|
67758
67760
|
fontSize: 13,
|
67759
|
-
...
|
67761
|
+
...y ? zx : {},
|
67760
67762
|
readOnlyMessage: {
|
67761
67763
|
value: "该脚本是只读的。它无法被编辑。"
|
67762
67764
|
},
|
67763
67765
|
...l
|
67764
67766
|
}, onMount: G, onChange: P }) });
|
67765
67767
|
}, Rh = xp(dh), Bh = (a) => {
|
67766
|
-
const { theme: n, modified: r, original: o, height: c, width: l, renderSideBySide: m = !0 } = a,
|
67768
|
+
const { theme: n, modified: r, original: o, height: c, width: l, renderSideBySide: m = !0 } = a, y = cr((f, b) => {
|
67767
67769
|
b.languages.register({
|
67768
67770
|
id: Ee
|
67769
67771
|
}), b.editor.defineTheme("vs-dark", Ui), b.editor.defineTheme("vs", Ki), b.languages.setMonarchTokensProvider(Ee, lr), b.languages.setLanguageConfiguration(Ee, Bi);
|
@@ -67772,7 +67774,7 @@ plot(close)
|
|
67772
67774
|
readOnly: !0,
|
67773
67775
|
renderSideBySide: m,
|
67774
67776
|
scrollBeyondLastLine: !1
|
67775
|
-
}, language: Ee, modified: r, original: o, onMount:
|
67777
|
+
}, language: Ee, modified: r, original: o, onMount: y });
|
67776
67778
|
};
|
67777
67779
|
var yp;
|
67778
67780
|
(function(a) {
|
@@ -67809,10 +67811,10 @@ function _h(a) {
|
|
67809
67811
|
return a.replace(/#{\s*key\s*}/g, n);
|
67810
67812
|
}
|
67811
67813
|
function fh(a, n) {
|
67812
|
-
var r, o, c, l, m,
|
67814
|
+
var r, o, c, l, m, y, f = !1;
|
67813
67815
|
n || (n = {}), r = n.debug || !1;
|
67814
67816
|
try {
|
67815
|
-
c = uh(), l = document.createRange(), m = document.getSelection(),
|
67817
|
+
c = uh(), l = document.createRange(), m = document.getSelection(), y = document.createElement("span"), y.textContent = a, y.ariaHidden = "true", y.style.all = "unset", y.style.position = "fixed", y.style.top = 0, y.style.clip = "rect(0, 0, 0, 0)", y.style.whiteSpace = "pre", y.style.webkitUserSelect = "text", y.style.MozUserSelect = "text", y.style.msUserSelect = "text", y.style.userSelect = "text", y.addEventListener("copy", function(h) {
|
67816
67818
|
if (h.stopPropagation(), n.format)
|
67817
67819
|
if (h.preventDefault(), typeof h.clipboardData > "u") {
|
67818
67820
|
r && console.warn("unable to use e.clipboardData"), r && console.warn("trying IE specific stuff"), window.clipboardData.clearData();
|
@@ -67821,7 +67823,7 @@ function fh(a, n) {
|
|
67821
67823
|
} else
|
67822
67824
|
h.clipboardData.clearData(), h.clipboardData.setData(n.format, a);
|
67823
67825
|
n.onCopy && (h.preventDefault(), n.onCopy(h.clipboardData));
|
67824
|
-
}), document.body.appendChild(
|
67826
|
+
}), document.body.appendChild(y), l.selectNodeContents(y), m.addRange(l);
|
67825
67827
|
var b = document.execCommand("copy");
|
67826
67828
|
if (!b)
|
67827
67829
|
throw new Error("copy command was unsuccessful");
|
@@ -67834,7 +67836,7 @@ function fh(a, n) {
|
|
67834
67836
|
r && console.error("unable to copy using clipboardData: ", T), r && console.error("falling back to prompt"), o = _h("message" in n ? n.message : yh), window.prompt(o, a);
|
67835
67837
|
}
|
67836
67838
|
} finally {
|
67837
|
-
m && (typeof m.removeRange == "function" ? m.removeRange(l) : m.removeAllRanges()),
|
67839
|
+
m && (typeof m.removeRange == "function" ? m.removeRange(l) : m.removeAllRanges()), y && document.body.removeChild(y), c();
|
67838
67840
|
}
|
67839
67841
|
return f;
|
67840
67842
|
}
|
@@ -67970,9 +67972,9 @@ var jp = /* @__PURE__ */ function(a) {
|
|
67970
67972
|
vh(this, r);
|
67971
67973
|
for (var c = arguments.length, l = new Array(c), m = 0; m < c; m++)
|
67972
67974
|
l[m] = arguments[m];
|
67973
|
-
return o = n.call.apply(n, [this].concat(l)), Wi($p(o), "onClick", function(
|
67975
|
+
return o = n.call.apply(n, [this].concat(l)), Wi($p(o), "onClick", function(y) {
|
67974
67976
|
var f = o.props, b = f.text, h = f.onCopy, T = f.children, M = f.options, R = Xa.default.Children.only(T), O = (0, bh.default)(b, M);
|
67975
|
-
h && h(b, O), R && R.props && typeof R.props.onClick == "function" && R.props.onClick(
|
67977
|
+
h && h(b, O), R && R.props && typeof R.props.onClick == "function" && R.props.onClick(y);
|
67976
67978
|
}), o;
|
67977
67979
|
}
|
67978
67980
|
return Th(r, [{
|
@@ -67980,8 +67982,8 @@ var jp = /* @__PURE__ */ function(a) {
|
|
67980
67982
|
value: function() {
|
67981
67983
|
var c = this.props;
|
67982
67984
|
c.text, c.onCopy, c.options;
|
67983
|
-
var l = c.children, m = hh(c, xh),
|
67984
|
-
return /* @__PURE__ */ Xa.default.cloneElement(
|
67985
|
+
var l = c.children, m = hh(c, xh), y = Xa.default.Children.only(l);
|
67986
|
+
return /* @__PURE__ */ Xa.default.cloneElement(y, gp(gp({}, m), {}, {
|
67985
67987
|
onClick: this.onClick
|
67986
67988
|
}));
|
67987
67989
|
}
|
@@ -68000,7 +68002,7 @@ async function zh(a, n = 0) {
|
|
68000
68002
|
const r = a[n];
|
68001
68003
|
if (!r)
|
68002
68004
|
return;
|
68003
|
-
const { name: o, args: c, type: l, desc: m, examples:
|
68005
|
+
const { name: o, args: c, type: l, desc: m, examples: y, remarks: f, seeAlso: b, syntax: h, detailedDesc: T, fields: M, returns: R } = r, O = {
|
68004
68006
|
name: o
|
68005
68007
|
};
|
68006
68008
|
if (a.length > 1 && (O.overloads = `${a.length} overloads`), l && (O.type = l), c && (O.name = `${o}()`, O.args = c.map((E) => {
|
@@ -68009,7 +68011,7 @@ async function zh(a, n = 0) {
|
|
68009
68011
|
label: `${U} (${G})`,
|
68010
68012
|
desc: H && Ms(H)
|
68011
68013
|
};
|
68012
|
-
})), m && (O.desc = m.map((E) => Ms(E))),
|
68014
|
+
})), m && (O.desc = m.map((E) => Ms(E))), y && (O.originalExample = y.join(`
|
68013
68015
|
`), O.examples = await pr.colorize(O.originalExample, Ee, {
|
68014
68016
|
tabSize: 4
|
68015
68017
|
})), T) {
|
@@ -68071,8 +68073,8 @@ function Nh(a) {
|
|
68071
68073
|
}));
|
68072
68074
|
}
|
68073
68075
|
for (const [l, m] of ht[c.key])
|
68074
|
-
for (const
|
68075
|
-
const { name: f, args: b, type: h, desc: T, examples: M, remarks: R, seeAlso: O, syntax: E, detailedDesc: U, fields: H, returns: G } =
|
68076
|
+
for (const y of m) {
|
68077
|
+
const { name: f, args: b, type: h, desc: T, examples: M, remarks: R, seeAlso: O, syntax: E, detailedDesc: U, fields: H, returns: G } = y, F = {
|
68076
68078
|
label: f,
|
68077
68079
|
group: c,
|
68078
68080
|
key: `${c.prefix}_${f}`
|
@@ -68189,7 +68191,7 @@ function Nh(a) {
|
|
68189
68191
|
}
|
68190
68192
|
const Sh = (a) => {
|
68191
68193
|
var G;
|
68192
|
-
const { group: n, itemKey: r, onItemClick: o, currentIndex: c } = a, [l, m] = ct(), [
|
68194
|
+
const { group: n, itemKey: r, onItemClick: o, currentIndex: c } = a, [l, m] = ct(), [y, f] = ct(0), [b, h] = ct("Copy code"), [T, M] = ct("Copy link");
|
68193
68195
|
Ge(() => {
|
68194
68196
|
R(c);
|
68195
68197
|
}, [r]);
|
@@ -68220,7 +68222,7 @@ const Sh = (a) => {
|
|
68220
68222
|
__html: F
|
68221
68223
|
}, className: "manual-content-text" }, I)), (l == null ? void 0 : l.type) && L.jsxs(Xt, { children: [L.jsx("div", { className: "manual-content-sub-title", children: "type" }), L.jsx("div", { className: "manual-content-text", children: l.type })] }), (l == null ? void 0 : l.syntax) && L.jsxs(Xt, { children: [L.jsxs("div", { className: "manual-content-sub-title", children: ["Syntax ", !!(l != null && l.overloads) && "& Overloads"] }), l.syntax.map((F, I) => {
|
68222
68224
|
var P;
|
68223
|
-
return (((P = l.syntax) == null ? void 0 : P.length) || 0) > 1 ? L.jsx("div", { onClick: () => O(I), children: L.jsx("pre", { className: `manual-content-syntax with-overloads ${I ===
|
68225
|
+
return (((P = l.syntax) == null ? void 0 : P.length) || 0) > 1 ? L.jsx("div", { onClick: () => O(I), children: L.jsx("pre", { className: `manual-content-syntax with-overloads ${I === y ? "selected" : ""}`, children: F }) }, I) : L.jsx("pre", { className: "manual-content-syntax", children: F }, I);
|
68224
68226
|
})] }), (l == null ? void 0 : l.args) && L.jsxs(Xt, { children: [L.jsx("div", { className: "manual-content-sub-title", children: "arguments" }), l.args.map((F, I) => L.jsxs("div", { className: "manual-content-text", children: [L.jsx("span", { className: "manual-content-args-label", children: F.label }), " ", L.jsx("span", { dangerouslySetInnerHTML: {
|
68225
68227
|
__html: F.desc || ""
|
68226
68228
|
} })] }, I))] }), (l == null ? void 0 : l.fields) && L.jsxs(Xt, { children: [L.jsx("div", { className: "manual-content-sub-title", children: "fields" }), l.fields.map((F, I) => L.jsxs("div", { className: "manual-content-text", children: [L.jsx("span", { className: "manual-content-args-label", children: F.label }), " ", L.jsx("span", { dangerouslySetInnerHTML: {
|
@@ -68245,7 +68247,7 @@ pr.defineTheme("vs", Ki);
|
|
68245
68247
|
Ue.setMonarchTokensProvider(Ee, lr);
|
68246
68248
|
Ue.setLanguageConfiguration(Ee, Bi);
|
68247
68249
|
const Kh = ({ theme: a = "vs-dark", currentValue: n }) => {
|
68248
|
-
const [r, o] = ct(Ur[0]), [c, l] = ct(null), [m,
|
68250
|
+
const [r, o] = ct(Ur[0]), [c, l] = ct(null), [m, y] = ct(0), [f, b] = ct(""), [h, T] = ct("var_bar_index"), M = ze(null), R = ze(null), O = (I) => {
|
68249
68251
|
I.key === (r == null ? void 0 : r.key) && !(r != null && r.isHidden) ? o({ ...I, isHidden: !0 }) : o(I);
|
68250
68252
|
};
|
68251
68253
|
Ge(() => {
|
@@ -68253,12 +68255,12 @@ const Kh = ({ theme: a = "vs-dark", currentValue: n }) => {
|
|
68253
68255
|
}, [a]), Ge(() => {
|
68254
68256
|
if (n.value) {
|
68255
68257
|
const [I] = n.value.split("_"), P = Ur.find((X) => I === X.prefix);
|
68256
|
-
P && (
|
68258
|
+
P && (y(n.index || 0), G(P, n.value));
|
68257
68259
|
}
|
68258
68260
|
}, [n]);
|
68259
68261
|
const E = (I, P) => {
|
68260
68262
|
var X;
|
68261
|
-
I !== h && (P && o(P),
|
68263
|
+
I !== h && (P && o(P), y(0), T(I), (X = R.current) == null || X.scrollTo({ top: 0 }));
|
68262
68264
|
}, U = (I) => {
|
68263
68265
|
if (I.target.value.trim() === "")
|
68264
68266
|
H();
|
@@ -68280,7 +68282,7 @@ const Kh = ({ theme: a = "vs-dark", currentValue: n }) => {
|
|
68280
68282
|
}, 10), (X = R.current) == null || X.scrollTo({ top: 0 });
|
68281
68283
|
}, F = (I) => {
|
68282
68284
|
const P = Ur.find((X) => I.startsWith(X.prefix));
|
68283
|
-
P && (
|
68285
|
+
P && (y(0), G(P, I));
|
68284
68286
|
};
|
68285
68287
|
return L.jsxs("div", { className: `${a} manual-warpper`, children: [L.jsxs("div", { className: "manual-left", children: [L.jsxs("div", { className: "manual-search", children: [L.jsx("span", { className: "manual-search-icon", children: L.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", width: "18px", height: "18px", children: L.jsx("path", { fillRule: "evenodd", d: "M12.5 11h-.79l-.28-.27A6.47 6.47 0 0 0 13 6.5 6.5 6.5 0 1 0 6.5 13c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L17.49 16l-4.99-5zm-6 0C4.01 11 2 8.99 2 6.5S4.01 2 6.5 2 11 4.01 11 6.5 8.99 11 6.5 11z" }) }) }), L.jsx("input", { onChange: U, spellCheck: "false", value: f, className: "manual-search-input", autoComplete: "off", placeholder: "Search", type: "text" }), L.jsx("span", { onClick: H, className: `manual-search-clear ${f ? "" : "hide"}`, children: L.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 95.939 95.939", width: "9", height: "9", children: L.jsx("path", { d: "M62.82 47.97l32.53-32.534a2 2 0 0 0 0-2.828L83.332.586a2 2 0 0 0-2.827 0L47.97 33.12 15.435.587c-.75-.75-2.078-.75-2.828 0L.587 12.607a2 2 0 0 0 0 2.83L33.12 47.97.588 80.504a2 2 0 0 0 0 2.828l12.02 12.02a1.997 1.997 0 0 0 2.83 0L47.97 62.818l32.535 32.535a2 2 0 0 0 2.827 0l12.02-12.02c.78-.783.78-2.05 0-2.83L62.82 47.97z" }) }) })] }), L.jsx("div", { className: `manual-group-search-list manual-scroll ${f ? "" : "hide"}`, children: L.jsxs("div", { children: [c == null ? void 0 : c.labelList.map((I) => L.jsx("a", { onClick: (P) => {
|
68286
68288
|
P.preventDefault(), E(I.key, I.group);
|