@guihz/trading-vue-editor-tes 0.0.29 → 0.0.31
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/trading-vue-editor.js +602 -600
- package/lib/trading-vue-editor.umd.cjs +2 -2
- package/package.json +1 -1
@@ -30,12 +30,12 @@ function A_() {
|
|
30
30
|
if (rc)
|
31
31
|
return Sa;
|
32
32
|
rc = 1;
|
33
|
-
var s = yr, i = Symbol.for("react.element"), a = Symbol.for("react.fragment"),
|
33
|
+
var s = yr, i = Symbol.for("react.element"), a = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, u = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
|
34
34
|
function m(b, g, v) {
|
35
35
|
var w, k = {}, z = null, R = null;
|
36
36
|
v !== void 0 && (z = "" + v), g.key !== void 0 && (z = "" + g.key), g.ref !== void 0 && (R = g.ref);
|
37
37
|
for (w in g)
|
38
|
-
|
38
|
+
o.call(g, w) && !p.hasOwnProperty(w) && (k[w] = g[w]);
|
39
39
|
if (b && b.defaultProps)
|
40
40
|
for (w in g = b.defaultProps, g)
|
41
41
|
k[w] === void 0 && (k[w] = g[w]);
|
@@ -56,7 +56,7 @@ var za = {};
|
|
56
56
|
var ac;
|
57
57
|
function q_() {
|
58
58
|
return ac || (ac = 1, process.env.NODE_ENV !== "production" && function() {
|
59
|
-
var s = yr, i = Symbol.for("react.element"), a = Symbol.for("react.portal"),
|
59
|
+
var s = yr, i = Symbol.for("react.element"), a = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), b = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), w = Symbol.for("react.suspense_list"), k = Symbol.for("react.memo"), z = Symbol.for("react.lazy"), R = Symbol.for("react.offscreen"), F = Symbol.iterator, B = "@@iterator";
|
60
60
|
function re(y) {
|
61
61
|
if (y === null || typeof y != "object")
|
62
62
|
return null;
|
@@ -84,7 +84,7 @@ function q_() {
|
|
84
84
|
var ee = !1, K = !1, ce = !1, Z = !1, ze = !1, ge;
|
85
85
|
ge = Symbol.for("react.module.reference");
|
86
86
|
function ae(y) {
|
87
|
-
return !!(typeof y == "string" || typeof y == "function" || y ===
|
87
|
+
return !!(typeof y == "string" || typeof y == "function" || y === o || y === p || ze || y === u || y === v || y === w || Z || y === R || ee || K || ce || typeof y == "object" && y !== null && (y.$$typeof === z || y.$$typeof === k || y.$$typeof === m || y.$$typeof === b || y.$$typeof === g || // This needs to include all possible module reference object
|
88
88
|
// types supported by any Flight configuration anywhere since
|
89
89
|
// we don't know which Flight build this will end up being used
|
90
90
|
// with.
|
@@ -108,7 +108,7 @@ function q_() {
|
|
108
108
|
if (typeof y == "string")
|
109
109
|
return y;
|
110
110
|
switch (y) {
|
111
|
-
case
|
111
|
+
case o:
|
112
112
|
return "Fragment";
|
113
113
|
case a:
|
114
114
|
return "Portal";
|
@@ -627,7 +627,7 @@ Check the top-level render call using <` + N + ">.");
|
|
627
627
|
else
|
628
628
|
Va(Qe, y);
|
629
629
|
}
|
630
|
-
return y ===
|
630
|
+
return y === o ? pa(Ae) : ei(Ae), Ae;
|
631
631
|
}
|
632
632
|
}
|
633
633
|
function ma(y, S, N) {
|
@@ -637,7 +637,7 @@ Check the top-level render call using <` + N + ">.");
|
|
637
637
|
return Qa(y, S, N, !1);
|
638
638
|
}
|
639
639
|
var ri = ti, ai = ma;
|
640
|
-
za.Fragment =
|
640
|
+
za.Fragment = o, za.jsx = ri, za.jsxs = ai;
|
641
641
|
}()), za;
|
642
642
|
}
|
643
643
|
process.env.NODE_ENV === "production" ? xn.exports = A_() : xn.exports = q_();
|
@@ -653,20 +653,20 @@ function C_(s, i, a) {
|
|
653
653
|
function sc(s, i) {
|
654
654
|
var a = Object.keys(s);
|
655
655
|
if (Object.getOwnPropertySymbols) {
|
656
|
-
var
|
657
|
-
i && (
|
656
|
+
var o = Object.getOwnPropertySymbols(s);
|
657
|
+
i && (o = o.filter(function(u) {
|
658
658
|
return Object.getOwnPropertyDescriptor(s, u).enumerable;
|
659
|
-
})), a.push.apply(a,
|
659
|
+
})), a.push.apply(a, o);
|
660
660
|
}
|
661
661
|
return a;
|
662
662
|
}
|
663
663
|
function ic(s) {
|
664
664
|
for (var i = 1; i < arguments.length; i++) {
|
665
665
|
var a = arguments[i] != null ? arguments[i] : {};
|
666
|
-
i % 2 ? sc(Object(a), !0).forEach(function(
|
667
|
-
C_(s,
|
668
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(s, Object.getOwnPropertyDescriptors(a)) : sc(Object(a)).forEach(function(
|
669
|
-
Object.defineProperty(s,
|
666
|
+
i % 2 ? sc(Object(a), !0).forEach(function(o) {
|
667
|
+
C_(s, o, a[o]);
|
668
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(s, Object.getOwnPropertyDescriptors(a)) : sc(Object(a)).forEach(function(o) {
|
669
|
+
Object.defineProperty(s, o, Object.getOwnPropertyDescriptor(a, o));
|
670
670
|
});
|
671
671
|
}
|
672
672
|
return s;
|
@@ -674,19 +674,19 @@ function ic(s) {
|
|
674
674
|
function S_(s, i) {
|
675
675
|
if (s == null)
|
676
676
|
return {};
|
677
|
-
var a = {},
|
678
|
-
for (p = 0; p <
|
679
|
-
u =
|
677
|
+
var a = {}, o = Object.keys(s), u, p;
|
678
|
+
for (p = 0; p < o.length; p++)
|
679
|
+
u = o[p], !(i.indexOf(u) >= 0) && (a[u] = s[u]);
|
680
680
|
return a;
|
681
681
|
}
|
682
682
|
function z_(s, i) {
|
683
683
|
if (s == null)
|
684
684
|
return {};
|
685
|
-
var a = S_(s, i),
|
685
|
+
var a = S_(s, i), o, u;
|
686
686
|
if (Object.getOwnPropertySymbols) {
|
687
687
|
var p = Object.getOwnPropertySymbols(s);
|
688
688
|
for (u = 0; u < p.length; u++)
|
689
|
-
|
689
|
+
o = p[u], !(i.indexOf(o) >= 0) && Object.prototype.propertyIsEnumerable.call(s, o) && (a[o] = s[o]);
|
690
690
|
}
|
691
691
|
return a;
|
692
692
|
}
|
@@ -699,15 +699,15 @@ function P_(s) {
|
|
699
699
|
}
|
700
700
|
function O_(s, i) {
|
701
701
|
if (!(typeof Symbol > "u" || !(Symbol.iterator in Object(s)))) {
|
702
|
-
var a = [],
|
702
|
+
var a = [], o = !0, u = !1, p = void 0;
|
703
703
|
try {
|
704
|
-
for (var m = s[Symbol.iterator](), b; !(
|
704
|
+
for (var m = s[Symbol.iterator](), b; !(o = (b = m.next()).done) && (a.push(b.value), !(i && a.length === i)); o = !0)
|
705
705
|
;
|
706
706
|
} catch (g) {
|
707
707
|
u = !0, p = g;
|
708
708
|
} finally {
|
709
709
|
try {
|
710
|
-
!
|
710
|
+
!o && m.return != null && m.return();
|
711
711
|
} finally {
|
712
712
|
if (u)
|
713
713
|
throw p;
|
@@ -729,9 +729,9 @@ function E_(s, i) {
|
|
729
729
|
}
|
730
730
|
function nc(s, i) {
|
731
731
|
(i == null || i > s.length) && (i = s.length);
|
732
|
-
for (var a = 0,
|
733
|
-
|
734
|
-
return
|
732
|
+
for (var a = 0, o = new Array(i); a < i; a++)
|
733
|
+
o[a] = s[a];
|
734
|
+
return o;
|
735
735
|
}
|
736
736
|
function R_() {
|
737
737
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
@@ -748,20 +748,20 @@ function M_(s, i, a) {
|
|
748
748
|
function oc(s, i) {
|
749
749
|
var a = Object.keys(s);
|
750
750
|
if (Object.getOwnPropertySymbols) {
|
751
|
-
var
|
752
|
-
i && (
|
751
|
+
var o = Object.getOwnPropertySymbols(s);
|
752
|
+
i && (o = o.filter(function(u) {
|
753
753
|
return Object.getOwnPropertyDescriptor(s, u).enumerable;
|
754
|
-
})), a.push.apply(a,
|
754
|
+
})), a.push.apply(a, o);
|
755
755
|
}
|
756
756
|
return a;
|
757
757
|
}
|
758
758
|
function lc(s) {
|
759
759
|
for (var i = 1; i < arguments.length; i++) {
|
760
760
|
var a = arguments[i] != null ? arguments[i] : {};
|
761
|
-
i % 2 ? oc(Object(a), !0).forEach(function(
|
762
|
-
M_(s,
|
763
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(s, Object.getOwnPropertyDescriptors(a)) : oc(Object(a)).forEach(function(
|
764
|
-
Object.defineProperty(s,
|
761
|
+
i % 2 ? oc(Object(a), !0).forEach(function(o) {
|
762
|
+
M_(s, o, a[o]);
|
763
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(s, Object.getOwnPropertyDescriptors(a)) : oc(Object(a)).forEach(function(o) {
|
764
|
+
Object.defineProperty(s, o, Object.getOwnPropertyDescriptor(a, o));
|
765
765
|
});
|
766
766
|
}
|
767
767
|
return s;
|
@@ -769,15 +769,15 @@ function lc(s) {
|
|
769
769
|
function L_() {
|
770
770
|
for (var s = arguments.length, i = new Array(s), a = 0; a < s; a++)
|
771
771
|
i[a] = arguments[a];
|
772
|
-
return function(
|
772
|
+
return function(o) {
|
773
773
|
return i.reduceRight(function(u, p) {
|
774
774
|
return p(u);
|
775
|
-
},
|
775
|
+
}, o);
|
776
776
|
};
|
777
777
|
}
|
778
778
|
function Pa(s) {
|
779
779
|
return function i() {
|
780
|
-
for (var a = this,
|
780
|
+
for (var a = this, o = arguments.length, u = new Array(o), p = 0; p < o; p++)
|
781
781
|
u[p] = arguments[p];
|
782
782
|
return u.length >= s.length ? s.apply(this, u) : function() {
|
783
783
|
for (var m = arguments.length, b = new Array(m), g = 0; g < m; g++)
|
@@ -838,7 +838,7 @@ function X_(s) {
|
|
838
838
|
Fs.initial(s), Fs.handler(i);
|
839
839
|
var a = {
|
840
840
|
current: s
|
841
|
-
},
|
841
|
+
}, o = Pa(V_)(a, i), u = Pa(Y_)(a), p = Pa(Fs.changes)(s), m = Pa(K_)(a);
|
842
842
|
function b() {
|
843
843
|
var v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function(w) {
|
844
844
|
return w;
|
@@ -846,7 +846,7 @@ function X_(s) {
|
|
846
846
|
return Fs.selector(v), v(a.current);
|
847
847
|
}
|
848
848
|
function g(v) {
|
849
|
-
L_(
|
849
|
+
L_(o, u, p, m)(v);
|
850
850
|
}
|
851
851
|
return [b, g];
|
852
852
|
}
|
@@ -857,9 +857,9 @@ function Y_(s, i) {
|
|
857
857
|
return s.current = lc(lc({}, s.current), i), i;
|
858
858
|
}
|
859
859
|
function V_(s, i, a) {
|
860
|
-
return Fa(i) ? i(s.current) : Object.keys(a).forEach(function(
|
860
|
+
return Fa(i) ? i(s.current) : Object.keys(a).forEach(function(o) {
|
861
861
|
var u;
|
862
|
-
return (u = i[
|
862
|
+
return (u = i[o]) === null || u === void 0 ? void 0 : u.call(i, s.current[o]);
|
863
863
|
}), a;
|
864
864
|
}
|
865
865
|
var Q_ = {
|
@@ -871,7 +871,7 @@ var Q_ = {
|
|
871
871
|
};
|
872
872
|
function J_(s) {
|
873
873
|
return function i() {
|
874
|
-
for (var a = this,
|
874
|
+
for (var a = this, o = arguments.length, u = new Array(o), p = 0; p < o; p++)
|
875
875
|
u[p] = arguments[p];
|
876
876
|
return u.length >= s.length ? s.apply(this, u) : function() {
|
877
877
|
for (var m = arguments.length, b = new Array(m), g = 0; g < m; g++)
|
@@ -913,8 +913,8 @@ var Xc = {
|
|
913
913
|
}, cc = J_(ag)(Xc), sg = {
|
914
914
|
config: tg
|
915
915
|
}, ig = function() {
|
916
|
-
for (var i = arguments.length, a = new Array(i),
|
917
|
-
a[
|
916
|
+
for (var i = arguments.length, a = new Array(i), o = 0; o < i; o++)
|
917
|
+
a[o] = arguments[o];
|
918
918
|
return function(u) {
|
919
919
|
return a.reduceRight(function(p, m) {
|
920
920
|
return m(p);
|
@@ -931,9 +931,9 @@ var ng = {
|
|
931
931
|
msg: "operation is manually canceled"
|
932
932
|
};
|
933
933
|
function yn(s) {
|
934
|
-
var i = !1, a = new Promise(function(
|
934
|
+
var i = !1, a = new Promise(function(o, u) {
|
935
935
|
s.then(function(p) {
|
936
|
-
return i ? u(ng) :
|
936
|
+
return i ? u(ng) : o(p);
|
937
937
|
}), s.catch(u);
|
938
938
|
});
|
939
939
|
return a.cancel = function() {
|
@@ -948,20 +948,20 @@ var og = Q_.create({
|
|
948
948
|
monaco: null
|
949
949
|
}), Yc = N_(og, 2), ja = Yc[0], Vs = Yc[1];
|
950
950
|
function lg(s) {
|
951
|
-
var i = sg.config(s), a = i.monaco,
|
951
|
+
var i = sg.config(s), a = i.monaco, o = z_(i, ["monaco"]);
|
952
952
|
Vs(function(u) {
|
953
953
|
return {
|
954
|
-
config: Kc(u.config,
|
954
|
+
config: Kc(u.config, o),
|
955
955
|
monaco: a
|
956
956
|
};
|
957
957
|
});
|
958
958
|
}
|
959
959
|
function cg() {
|
960
960
|
var s = ja(function(i) {
|
961
|
-
var a = i.monaco,
|
961
|
+
var a = i.monaco, o = i.isInitialized, u = i.resolve;
|
962
962
|
return {
|
963
963
|
monaco: a,
|
964
|
-
isInitialized:
|
964
|
+
isInitialized: o,
|
965
965
|
resolve: u
|
966
966
|
};
|
967
967
|
});
|
@@ -984,8 +984,8 @@ function dg(s) {
|
|
984
984
|
return s && (i.src = s), i;
|
985
985
|
}
|
986
986
|
function pg(s) {
|
987
|
-
var i = ja(function(
|
988
|
-
var u =
|
987
|
+
var i = ja(function(o) {
|
988
|
+
var u = o.config, p = o.reject;
|
989
989
|
return {
|
990
990
|
config: u,
|
991
991
|
reject: p
|
@@ -997,9 +997,9 @@ function pg(s) {
|
|
997
997
|
}
|
998
998
|
function mg() {
|
999
999
|
var s = ja(function(a) {
|
1000
|
-
var
|
1000
|
+
var o = a.config, u = a.resolve, p = a.reject;
|
1001
1001
|
return {
|
1002
|
-
config:
|
1002
|
+
config: o,
|
1003
1003
|
resolve: u,
|
1004
1004
|
reject: p
|
1005
1005
|
};
|
@@ -1035,8 +1035,8 @@ function gg({ children: s }) {
|
|
1035
1035
|
return yr.createElement("div", { style: _g.container }, s);
|
1036
1036
|
}
|
1037
1037
|
var bg = gg, xg = bg;
|
1038
|
-
function vg({ width: s, height: i, isEditorReady: a, loading:
|
1039
|
-
return yr.createElement("section", { style: { ..._n.wrapper, width: s, height: i }, ...m }, !a && yr.createElement(xg, null,
|
1038
|
+
function vg({ width: s, height: i, isEditorReady: a, loading: o, _ref: u, className: p, wrapperProps: m }) {
|
1039
|
+
return yr.createElement("section", { style: { ..._n.wrapper, width: s, height: i }, ...m }, !a && yr.createElement(xg, null, o), yr.createElement("div", { ref: u, style: { ..._n.fullWidth, ...!a && _n.hide }, className: p }));
|
1040
1040
|
}
|
1041
1041
|
var wg = vg, Qc = Dn(wg);
|
1042
1042
|
function Tg(s) {
|
@@ -1044,34 +1044,34 @@ function Tg(s) {
|
|
1044
1044
|
}
|
1045
1045
|
var Zc = Tg;
|
1046
1046
|
function Ig(s, i, a = !0) {
|
1047
|
-
let
|
1048
|
-
Dt(
|
1049
|
-
|
1047
|
+
let o = Fe(!0);
|
1048
|
+
Dt(o.current || !a ? () => {
|
1049
|
+
o.current = !1;
|
1050
1050
|
} : s, i);
|
1051
1051
|
}
|
1052
1052
|
var mt = Ig;
|
1053
1053
|
function Ra() {
|
1054
1054
|
}
|
1055
|
-
function ea(s, i, a,
|
1056
|
-
return Dg(s,
|
1055
|
+
function ea(s, i, a, o) {
|
1056
|
+
return Dg(s, o) || kg(s, i, a, o);
|
1057
1057
|
}
|
1058
1058
|
function Dg(s, i) {
|
1059
1059
|
return s.editor.getModel(Jc(s, i));
|
1060
1060
|
}
|
1061
|
-
function kg(s, i, a,
|
1062
|
-
return s.editor.createModel(i, a,
|
1061
|
+
function kg(s, i, a, o) {
|
1062
|
+
return s.editor.createModel(i, a, o ? Jc(s, o) : void 0);
|
1063
1063
|
}
|
1064
1064
|
function Jc(s, i) {
|
1065
1065
|
return s.Uri.parse(i);
|
1066
1066
|
}
|
1067
|
-
function Ag({ original: s, modified: i, language: a, originalLanguage:
|
1067
|
+
function Ag({ original: s, modified: i, language: a, originalLanguage: o, modifiedLanguage: u, originalModelPath: p, modifiedModelPath: m, keepCurrentOriginalModel: b = !1, keepCurrentModifiedModel: g = !1, theme: v = "light", loading: w = "Loading...", options: k = {}, height: z = "100%", width: R = "100%", className: F, wrapperProps: B = {}, beforeMount: re = Ra, onMount: E = Ra }) {
|
1068
1068
|
let [M, le] = Ma(!1), [ee, K] = Ma(!0), ce = Fe(null), Z = Fe(null), ze = Fe(null), ge = Fe(E), ae = Fe(re), at = Fe(!1);
|
1069
1069
|
Zc(() => {
|
1070
1070
|
let U = kn.init();
|
1071
1071
|
return U.then((de) => (Z.current = de) && K(!1)).catch((de) => (de == null ? void 0 : de.type) !== "cancelation" && console.error("Monaco initialization: error:", de)), () => ce.current ? Ee() : U.cancel();
|
1072
1072
|
}), mt(() => {
|
1073
1073
|
if (ce.current && Z.current) {
|
1074
|
-
let U = ce.current.getOriginalEditor(), de = ea(Z.current, s || "",
|
1074
|
+
let U = ce.current.getOriginalEditor(), de = ea(Z.current, s || "", o || a || "text", p || "");
|
1075
1075
|
de !== U.getModel() && U.setModel(de);
|
1076
1076
|
}
|
1077
1077
|
}, [p], M), mt(() => {
|
@@ -1087,8 +1087,8 @@ function Ag({ original: s, modified: i, language: a, originalLanguage: l, modifi
|
|
1087
1087
|
(de = (U = ce.current) == null ? void 0 : U.getModel()) == null || de.original.setValue(s || "");
|
1088
1088
|
}, [s], M), mt(() => {
|
1089
1089
|
let { original: U, modified: de } = ce.current.getModel();
|
1090
|
-
Z.current.editor.setModelLanguage(U,
|
1091
|
-
}, [a,
|
1090
|
+
Z.current.editor.setModelLanguage(U, o || a || "text"), Z.current.editor.setModelLanguage(de, u || a || "text");
|
1091
|
+
}, [a, o, u], M), mt(() => {
|
1092
1092
|
var U;
|
1093
1093
|
(U = Z.current) == null || U.editor.setTheme(v);
|
1094
1094
|
}, [v], M), mt(() => {
|
@@ -1100,9 +1100,9 @@ function Ag({ original: s, modified: i, language: a, originalLanguage: l, modifi
|
|
1100
1100
|
if (!Z.current)
|
1101
1101
|
return;
|
1102
1102
|
ae.current(Z.current);
|
1103
|
-
let U = ea(Z.current, s || "",
|
1103
|
+
let U = ea(Z.current, s || "", o || a || "text", p || ""), de = ea(Z.current, i || "", u || a || "text", m || "");
|
1104
1104
|
(be = ce.current) == null || be.setModel({ original: U, modified: de });
|
1105
|
-
}, [a, i, u, s,
|
1105
|
+
}, [a, i, u, s, o, p, m]), Ne = La(() => {
|
1106
1106
|
var U;
|
1107
1107
|
!at.current && ze.current && (ce.current = Z.current.editor.createDiffEditor(ze.current, { automaticLayout: !0, ...k }), ft(), (U = Z.current) == null || U.editor.setTheme(v), le(!0), at.current = !0);
|
1108
1108
|
}, [k, v, ft]);
|
@@ -1126,21 +1126,21 @@ function Sg(s) {
|
|
1126
1126
|
}, [s]), i.current;
|
1127
1127
|
}
|
1128
1128
|
var zg = Sg, Bs = /* @__PURE__ */ new Map();
|
1129
|
-
function Ng({ defaultValue: s, defaultLanguage: i, defaultPath: a, value:
|
1130
|
-
let [K, ce] = Ma(!1), [Z, ze] = Ma(!0), ge = Fe(null), ae = Fe(null), at = Fe(null), ft = Fe(M), Ne = Fe(E), Ee = Fe(), U = Fe(
|
1129
|
+
function Ng({ defaultValue: s, defaultLanguage: i, defaultPath: a, value: o, language: u, path: p, theme: m = "light", line: b, loading: g = "Loading...", options: v = {}, overrideServices: w = {}, saveViewState: k = !0, keepCurrentModel: z = !1, width: R = "100%", height: F = "100%", className: B, wrapperProps: re = {}, beforeMount: E = Ra, onMount: M = Ra, onChange: le, onValidate: ee = Ra }) {
|
1130
|
+
let [K, ce] = Ma(!1), [Z, ze] = Ma(!0), ge = Fe(null), ae = Fe(null), at = Fe(null), ft = Fe(M), Ne = Fe(E), Ee = Fe(), U = Fe(o), de = zg(p), be = Fe(!1), Re = Fe(!1);
|
1131
1131
|
Zc(() => {
|
1132
1132
|
let G = kn.init();
|
1133
1133
|
return G.then((_e) => (ge.current = _e) && ze(!1)).catch((_e) => (_e == null ? void 0 : _e.type) !== "cancelation" && console.error("Monaco initialization: error:", _e)), () => ae.current ? Wt() : G.cancel();
|
1134
1134
|
}), mt(() => {
|
1135
1135
|
var _e, Me, Ht, Ge;
|
1136
|
-
let G = ea(ge.current, s ||
|
1136
|
+
let G = ea(ge.current, s || o || "", i || u || "", p || a || "");
|
1137
1137
|
G !== ((_e = ae.current) == null ? void 0 : _e.getModel()) && (k && Bs.set(de, (Me = ae.current) == null ? void 0 : Me.saveViewState()), (Ht = ae.current) == null || Ht.setModel(G), k && ((Ge = ae.current) == null || Ge.restoreViewState(Bs.get(p))));
|
1138
1138
|
}, [p], K), mt(() => {
|
1139
1139
|
var G;
|
1140
1140
|
(G = ae.current) == null || G.updateOptions(v);
|
1141
1141
|
}, [v], K), mt(() => {
|
1142
|
-
!ae.current ||
|
1143
|
-
}, [
|
1142
|
+
!ae.current || o === void 0 || (ae.current.getOption(ge.current.editor.EditorOption.readOnly) ? ae.current.setValue(o) : o !== ae.current.getValue() && (Re.current = !0, ae.current.executeEdits("", [{ range: ae.current.getModel().getFullModelRange(), text: o, forceMoveMarkers: !0 }]), ae.current.pushUndoStop(), Re.current = !1));
|
1143
|
+
}, [o], K), mt(() => {
|
1144
1144
|
var _e, Me;
|
1145
1145
|
let G = (_e = ae.current) == null ? void 0 : _e.getModel();
|
1146
1146
|
G && u && ((Me = ge.current) == null || Me.editor.setModelLanguage(G, u));
|
@@ -1155,15 +1155,15 @@ function Ng({ defaultValue: s, defaultLanguage: i, defaultPath: a, value: l, lan
|
|
1155
1155
|
var G;
|
1156
1156
|
if (!(!at.current || !ge.current) && !be.current) {
|
1157
1157
|
Ne.current(ge.current);
|
1158
|
-
let _e = p || a, Me = ea(ge.current,
|
1158
|
+
let _e = p || a, Me = ea(ge.current, o || s || "", i || u || "", _e || "");
|
1159
1159
|
ae.current = (G = ge.current) == null ? void 0 : G.editor.create(at.current, { model: Me, automaticLayout: !0, ...v }, w), k && ae.current.restoreViewState(Bs.get(_e)), ge.current.editor.setTheme(m), b !== void 0 && ae.current.revealLine(b), ce(!0), be.current = !0;
|
1160
1160
|
}
|
1161
|
-
}, [s, i, a,
|
1161
|
+
}, [s, i, a, o, u, p, v, w, k, m, b]);
|
1162
1162
|
Dt(() => {
|
1163
1163
|
K && ft.current(ae.current, ge.current);
|
1164
1164
|
}, [K]), Dt(() => {
|
1165
1165
|
!Z && !K && Et();
|
1166
|
-
}, [Z, K, Et]), U.current =
|
1166
|
+
}, [Z, K, Et]), U.current = o, Dt(() => {
|
1167
1167
|
var G, _e;
|
1168
1168
|
K && le && ((G = Ee.current) == null || G.dispose(), Ee.current = (_e = ae.current) == null ? void 0 : _e.onDidChangeModelContent((Me) => {
|
1169
1169
|
Re.current || le(ae.current.getValue(), Me);
|
@@ -58871,19 +58871,19 @@ else
|
|
58871
58871
|
};
|
58872
58872
|
function Mg() {
|
58873
58873
|
const s = {}, i = {};
|
58874
|
-
return Object.keys(uc).reduce((a,
|
58875
|
-
const u = uc[
|
58876
|
-
return a.keyMapList[
|
58874
|
+
return Object.keys(uc).reduce((a, o) => {
|
58875
|
+
const u = uc[o], p = ke[o], { mapObj: m, keys: b } = Lg(u, p);
|
58876
|
+
return a.keyMapList[o] = m, a.keyList[o] = b, a;
|
58877
58877
|
}, { keyList: s, keyMapList: i }), { keyList: s, keyMapList: i };
|
58878
58878
|
}
|
58879
58879
|
function Lg(s, i) {
|
58880
|
-
const a = /* @__PURE__ */ new Map(),
|
58880
|
+
const a = /* @__PURE__ */ new Map(), o = [];
|
58881
58881
|
return s.forEach((u) => {
|
58882
58882
|
var m;
|
58883
58883
|
u.title = i;
|
58884
58884
|
const p = u.originalName || u.name;
|
58885
|
-
p !== "for...in" && (a.has(p) ? (m = a.get(p)) == null || m.push(u) : (
|
58886
|
-
}), { mapObj: a, keys:
|
58885
|
+
p !== "for...in" && (a.has(p) ? (m = a.get(p)) == null || m.push(u) : (o.push(p), a.set(p, [u])));
|
58886
|
+
}), { mapObj: a, keys: o };
|
58887
58887
|
}
|
58888
58888
|
const { keyList: Mb, keyMapList: Ut } = Mg();
|
58889
58889
|
function Fg(s) {
|
@@ -58934,10 +58934,10 @@ ${i}
|
|
58934
58934
|
}
|
58935
58935
|
const he = new Bg();
|
58936
58936
|
function jg(s, i = 0, a = !0) {
|
58937
|
-
const
|
58938
|
-
if (!
|
58937
|
+
const o = s[i];
|
58938
|
+
if (!o)
|
58939
58939
|
return "";
|
58940
|
-
const u = /(Mac|iPhone|iPod|iPad)/i.test(window.navigator.userAgent), { name: p, title: m, desc: b, type: g, syntax: v, returns: w, remarks: k, fields: z } =
|
58940
|
+
const u = /(Mac|iPhone|iPod|iPad)/i.test(window.navigator.userAgent), { name: p, title: m, desc: b, type: g, syntax: v, returns: w, remarks: k, fields: z } = o, R = [`${he.bold(p)} (${m})`];
|
58941
58941
|
if (s.length > 1 && R.push(he.italic(`+${s.length - 1} overloads`)), R.push(he.delimiter), b && R.push(he.paragraph(Array.isArray(b) ? b.join(he.lineBreak) : b || "")), g && R.push(he.paragraph(he.bold(It.Type), he.italic(g))), v && v.length && R.push(he.paragraph(he.bold(It.Syntax), he.pineCode(v.join(he.lineBreak)))), w && R.push(he.paragraph(he.bold(It.Returns), he.lineBreak, w.join(he.lineBreak))), k && k.length && s.length <= 1) {
|
58942
58942
|
let F = "";
|
58943
58943
|
typeof k == "string" ? F = k : F = k.join(he.lineBreak) || "", F.length < 200 && R.push(he.paragraph(he.bold(It.Remarks), he.lineBreak, F));
|
@@ -59066,19 +59066,19 @@ class $g {
|
|
59066
59066
|
_initUserDefind() {
|
59067
59067
|
this._userFuncArgsCache.clear(), this._userNamespaceCache.clear(), this._userOutermostNsItems.clear(), this._methodNamespaceCache.clear(), this._methodFuncs.clear();
|
59068
59068
|
}
|
59069
|
-
setUserDefind(i, a,
|
59069
|
+
setUserDefind(i, a, o, u) {
|
59070
59070
|
this._initUserDefind();
|
59071
59071
|
const p = this._mergeTreeSlices(this._generateTreeSlice(Ut.methods, "method"), this._generateTreeSlice(u, "method"));
|
59072
59072
|
this._getMethodNamespaceCache(p), this._userMethods = u, this._userTypes = a, this._userFunctions = i;
|
59073
59073
|
const m = this._generateTreeSlice(i, "fun");
|
59074
|
-
this._userSuggestions = this._getAllUserCompletionItems(m, this._generateTreeSlice(a, "type"), this._generateTreeSlice(
|
59074
|
+
this._userSuggestions = this._getAllUserCompletionItems(m, this._generateTreeSlice(a, "type"), this._generateTreeSlice(o, "var")), this._getUserFuncArgumentsCompletionItemsToCache(m);
|
59075
59075
|
}
|
59076
|
-
_getAllUserCompletionItems(i, a,
|
59077
|
-
const u = this._getUserVariableCompletionItems(
|
59076
|
+
_getAllUserCompletionItems(i, a, o) {
|
59077
|
+
const u = this._getUserVariableCompletionItems(o), p = this._getTypeCompletionItems(a, !0), m = this._getFunctionCompletionItems(i, void 0, !0);
|
59078
59078
|
return [...p, ...m, ...u, ...this._userOutermostNsItems.values()];
|
59079
59079
|
}
|
59080
59080
|
_getAllCompletionItems() {
|
59081
|
-
const { variables: i, keywords: a, types:
|
59081
|
+
const { variables: i, keywords: a, types: o, functions: u } = this._builtinSubtreeCache, p = this._getVariableCompletionItems(i), m = this._getKeywordCompletionItems(a), b = this._getTypeCompletionItems(o), g = this._getFunctionCompletionItems(u), v = this._getSnippetsCompletionsList();
|
59082
59082
|
return [...p, ...m, ...b, ...g, ...this._outermostNsItems.values(), ...v];
|
59083
59083
|
}
|
59084
59084
|
_getNodeKey(i, a) {
|
@@ -59086,8 +59086,8 @@ class $g {
|
|
59086
59086
|
}
|
59087
59087
|
_mergeTreeSlices(...i) {
|
59088
59088
|
const a = /* @__PURE__ */ new Map();
|
59089
|
-
for (const
|
59090
|
-
for (const [u, p] of
|
59089
|
+
for (const o of i)
|
59090
|
+
for (const [u, p] of o) {
|
59091
59091
|
const m = a.get(u);
|
59092
59092
|
m ? a.set(u, {
|
59093
59093
|
...m,
|
@@ -59097,17 +59097,17 @@ class $g {
|
|
59097
59097
|
return a;
|
59098
59098
|
}
|
59099
59099
|
_mergeCompletions(i, a) {
|
59100
|
-
const
|
59101
|
-
|
59100
|
+
const o = this._namespaceCache.get(i);
|
59101
|
+
o ? this._namespaceCache.set(i, [...o, ...a]) : this._namespaceCache.set(i, a);
|
59102
59102
|
}
|
59103
59103
|
_mergeUserCompletions(i, a) {
|
59104
|
-
const
|
59105
|
-
|
59104
|
+
const o = this._userNamespaceCache.get(i);
|
59105
|
+
o ? this._userNamespaceCache.set(i, [...o, ...a]) : this._userNamespaceCache.set(i, a);
|
59106
59106
|
}
|
59107
59107
|
_generateTreeSlice(i, a) {
|
59108
|
-
const
|
59108
|
+
const o = /* @__PURE__ */ new Map();
|
59109
59109
|
for (const [u, p] of i) {
|
59110
|
-
const [m, ...b] = u.split("."), g = b.length > 0, v =
|
59110
|
+
const [m, ...b] = u.split("."), g = b.length > 0, v = o.get(this._getNodeKey(m, g ? "ns" : a));
|
59111
59111
|
let w = /* @__PURE__ */ new Map(), k = p.map((R) => ({
|
59112
59112
|
...R,
|
59113
59113
|
name: u
|
@@ -59122,24 +59122,24 @@ class $g {
|
|
59122
59122
|
v && (k = [{
|
59123
59123
|
name: m,
|
59124
59124
|
title: ke.namespace
|
59125
|
-
}], w = this._mergeTreeSlices(v.children, w)),
|
59125
|
+
}], w = this._mergeTreeSlices(v.children, w)), o.set(z, {
|
59126
59126
|
value: k,
|
59127
59127
|
children: w
|
59128
59128
|
});
|
59129
59129
|
}
|
59130
|
-
return
|
59130
|
+
return o;
|
59131
59131
|
}
|
59132
59132
|
_getBuiltinsCacheFragment() {
|
59133
|
-
const { keywords: i, variables: a, constants:
|
59133
|
+
const { keywords: i, variables: a, constants: o, types: u, functions: p } = Ut;
|
59134
59134
|
return this._builtinSubtreeCache = {
|
59135
59135
|
keywords: this._generateTreeSlice(i, "key"),
|
59136
|
-
variables: this._mergeTreeSlices(this._generateTreeSlice(a, "var"), this._generateTreeSlice(
|
59136
|
+
variables: this._mergeTreeSlices(this._generateTreeSlice(a, "var"), this._generateTreeSlice(o, "var")),
|
59137
59137
|
types: this._generateTreeSlice(u, "type"),
|
59138
59138
|
functions: this._generateTreeSlice(p, "fun")
|
59139
59139
|
}, this._builtinSubtreeCache;
|
59140
59140
|
}
|
59141
59141
|
_getVariableCompletionItems(i, a) {
|
59142
|
-
const
|
59142
|
+
const o = [], u = [];
|
59143
59143
|
for (const [p, m] of i) {
|
59144
59144
|
const { value: b, children: g } = m;
|
59145
59145
|
if (p.startsWith("ns")) {
|
@@ -59150,7 +59150,7 @@ class $g {
|
|
59150
59150
|
v.label = k, v.insertText = k;
|
59151
59151
|
}
|
59152
59152
|
const w = this._getVariableCompletionItems(g, v.label);
|
59153
|
-
a || this._outermostNsItems.set(p, v),
|
59153
|
+
a || this._outermostNsItems.set(p, v), o.push(...w);
|
59154
59154
|
} else {
|
59155
59155
|
const v = this._getVariableCompletionItem(b[0], a ? 3 : 2);
|
59156
59156
|
if (a) {
|
@@ -59158,16 +59158,16 @@ class $g {
|
|
59158
59158
|
const { label: w } = v;
|
59159
59159
|
v.label = `${a}.${w}`, v.insertText = `${a}.${v.insertText}`, v.filterText = `${w}\r`;
|
59160
59160
|
}
|
59161
|
-
|
59161
|
+
o.push(v);
|
59162
59162
|
}
|
59163
59163
|
}
|
59164
|
-
return u.length && a && this._mergeCompletions(a, u),
|
59164
|
+
return u.length && a && this._mergeCompletions(a, u), o;
|
59165
59165
|
}
|
59166
59166
|
_setUserVariableSubItems(i, a) {
|
59167
59167
|
var v, w, k, z;
|
59168
|
-
let
|
59168
|
+
let o = [];
|
59169
59169
|
const u = Wg(i.type || ""), p = this._methodNamespaceCache.get(u), m = a ? `${a}.${i.name}` : i.name;
|
59170
|
-
p && (
|
59170
|
+
p && (o = p.filter((R) => {
|
59171
59171
|
var E;
|
59172
59172
|
const F = `${u}.${R.label}`, B = Ut.methods.get(F) || this._userMethods.get(F), re = B == null ? void 0 : B.some((M) => !M.thisType || M.thisType[0].includes("<>") || M.thisType.includes(i.type || ""));
|
59173
59173
|
if (re && B) {
|
@@ -59180,12 +59180,12 @@ class $g {
|
|
59180
59180
|
if (g)
|
59181
59181
|
for (const R of g) {
|
59182
59182
|
const F = R.name, B = R.type, re = this._getInstanceTypeCompletionItemProp({ name: F, type: B });
|
59183
|
-
this._setUserVariableSubItems({ name: F, type: B }, i.name),
|
59183
|
+
this._setUserVariableSubItems({ name: F, type: B }, i.name), o.push({ ...re });
|
59184
59184
|
}
|
59185
|
-
|
59185
|
+
o.length && this._mergeUserCompletions(m, o);
|
59186
59186
|
}
|
59187
59187
|
_getUserVariableCompletionItems(i, a) {
|
59188
|
-
const
|
59188
|
+
const o = [], u = [];
|
59189
59189
|
for (const [p, m] of i) {
|
59190
59190
|
const { value: b, children: g } = m;
|
59191
59191
|
if (this._setUserVariableSubItems(b[0]), p.startsWith("ns")) {
|
@@ -59196,7 +59196,7 @@ class $g {
|
|
59196
59196
|
v.label = k, v.insertText = k;
|
59197
59197
|
}
|
59198
59198
|
const w = this._getUserVariableCompletionItems(g, v.label);
|
59199
|
-
a || this._userOutermostNsItems.set(p, v),
|
59199
|
+
a || this._userOutermostNsItems.set(p, v), o.push(...w);
|
59200
59200
|
} else {
|
59201
59201
|
const v = this._getVariableCompletionItem(b[0], a ? 2 : 1, !0);
|
59202
59202
|
if (a) {
|
@@ -59204,35 +59204,35 @@ class $g {
|
|
59204
59204
|
const { label: w } = v;
|
59205
59205
|
v.label = `${a}.${w}`, v.insertText = `${a}.${v.insertText}`, v.filterText = `${w}\r`;
|
59206
59206
|
}
|
59207
|
-
|
59207
|
+
o.push(v);
|
59208
59208
|
}
|
59209
59209
|
}
|
59210
|
-
return u.length && a && this._mergeUserCompletions(a, u),
|
59210
|
+
return u.length && a && this._mergeUserCompletions(a, u), o;
|
59211
59211
|
}
|
59212
59212
|
_getTypeCompletionItems(i, a = !1) {
|
59213
|
-
const
|
59213
|
+
const o = [];
|
59214
59214
|
for (const [, u] of i) {
|
59215
59215
|
const { value: p } = u, m = a ? this._getCustomTypeCompletionItem(p[0]) : this._getTypeCompletionItem(p[0]);
|
59216
|
-
|
59216
|
+
o.push(m);
|
59217
59217
|
}
|
59218
|
-
return
|
59218
|
+
return o;
|
59219
59219
|
}
|
59220
59220
|
_getKeywordCompletionItems(i) {
|
59221
59221
|
const a = [];
|
59222
|
-
for (const [,
|
59223
|
-
const { value: u } =
|
59222
|
+
for (const [, o] of i) {
|
59223
|
+
const { value: u } = o, p = this._getKeywordCompletionItem(u[0]);
|
59224
59224
|
a.push(p);
|
59225
59225
|
}
|
59226
59226
|
return a;
|
59227
59227
|
}
|
59228
59228
|
_getMethodNamespaceCache(i, a) {
|
59229
|
-
const
|
59229
|
+
const o = [];
|
59230
59230
|
for (const [u, p] of i) {
|
59231
59231
|
const { value: m, children: b } = p;
|
59232
59232
|
if (u.startsWith("ns")) {
|
59233
59233
|
const g = this._getNamespaceCompletionItem(m[0]);
|
59234
59234
|
if (a) {
|
59235
|
-
|
59235
|
+
o.push({ ...g });
|
59236
59236
|
const v = `${a}.${g.label}`;
|
59237
59237
|
g.label = v, g.insertText = v;
|
59238
59238
|
}
|
@@ -59240,15 +59240,15 @@ class $g {
|
|
59240
59240
|
} else {
|
59241
59241
|
const g = this._getFunctionCompletionItem(m[0], a ? 3 : 2);
|
59242
59242
|
if (m.length > 1 && (g.detail = `${g.detail} (+${m.length - 1} overloads)`), a) {
|
59243
|
-
|
59243
|
+
o.push({ ...g });
|
59244
59244
|
const { label: v } = g;
|
59245
59245
|
g.label = `${a}.${v}`, g.insertText = `${a}.${g.insertText}`, g.filterText = `${v}\r`;
|
59246
59246
|
}
|
59247
59247
|
}
|
59248
59248
|
}
|
59249
|
-
a && this._methodNamespaceCache.set(a,
|
59249
|
+
a && this._methodNamespaceCache.set(a, o);
|
59250
59250
|
}
|
59251
|
-
_getFunctionCompletionItems(i, a,
|
59251
|
+
_getFunctionCompletionItems(i, a, o = !1) {
|
59252
59252
|
const u = [], p = [];
|
59253
59253
|
for (const [m, b] of i) {
|
59254
59254
|
const { value: g, children: v } = b;
|
@@ -59259,10 +59259,10 @@ class $g {
|
|
59259
59259
|
const z = `${a}.${w.label}`;
|
59260
59260
|
w.label = z, w.insertText = z;
|
59261
59261
|
}
|
59262
|
-
const k = this._getFunctionCompletionItems(v, w.label,
|
59263
|
-
a || (
|
59262
|
+
const k = this._getFunctionCompletionItems(v, w.label, o);
|
59263
|
+
a || (o ? this._userOutermostNsItems.set(m, w) : this._outermostNsItems.set(m, w)), u.push(...k);
|
59264
59264
|
} else {
|
59265
|
-
const w = this._getFunctionCompletionItem(g[0], a ? 3 : 2,
|
59265
|
+
const w = this._getFunctionCompletionItem(g[0], a ? 3 : 2, o);
|
59266
59266
|
if (g.length > 1 && (w.detail = `${w.detail} (+${g.length - 1} overloads)`), a) {
|
59267
59267
|
p.push({ ...w });
|
59268
59268
|
const { label: k } = w;
|
@@ -59271,16 +59271,16 @@ class $g {
|
|
59271
59271
|
u.push(w);
|
59272
59272
|
}
|
59273
59273
|
}
|
59274
|
-
return p.length && a && (
|
59274
|
+
return p.length && a && (o ? this._mergeUserCompletions(a, p) : this._mergeCompletions(a, p)), u;
|
59275
59275
|
}
|
59276
59276
|
_getSnippetsCompletionsList() {
|
59277
59277
|
return Eg.map((i) => {
|
59278
|
-
const { label: a, kind:
|
59278
|
+
const { label: a, kind: o, insertText: u } = i, p = a.charAt(0).toUpperCase() + a.substring(1), m = {
|
59279
59279
|
value: this._formatter.pineCode(u.replace(/\${\d:([^}]+)}|\${\d}/g, "$1"))
|
59280
59280
|
};
|
59281
59281
|
return {
|
59282
59282
|
label: a,
|
59283
|
-
detail: `(${p} ${
|
59283
|
+
detail: `(${p} ${o})`,
|
59284
59284
|
insertText: u,
|
59285
59285
|
insertTextRules: Nt.CompletionItemInsertTextRule.InsertAsSnippet,
|
59286
59286
|
sortText: `2_${a}`,
|
@@ -59290,9 +59290,9 @@ class $g {
|
|
59290
59290
|
});
|
59291
59291
|
}
|
59292
59292
|
_getFuncArgumentsCompletionItemsToCache(i, a) {
|
59293
|
-
for (const [
|
59293
|
+
for (const [o, u] of i) {
|
59294
59294
|
const { name: p } = u.value[0];
|
59295
|
-
if (
|
59295
|
+
if (o.startsWith("ns"))
|
59296
59296
|
this._getFuncArgumentsCompletionItemsToCache(u.children, a ? `${a}.${p}` : p);
|
59297
59297
|
else {
|
59298
59298
|
const m = /* @__PURE__ */ new Map();
|
@@ -59308,9 +59308,9 @@ class $g {
|
|
59308
59308
|
}
|
59309
59309
|
}
|
59310
59310
|
_getUserFuncArgumentsCompletionItemsToCache(i, a) {
|
59311
|
-
for (const [
|
59311
|
+
for (const [o, u] of i) {
|
59312
59312
|
const { name: p } = u.value[0];
|
59313
|
-
if (
|
59313
|
+
if (o.startsWith("ns"))
|
59314
59314
|
this._getUserFuncArgumentsCompletionItemsToCache(u.children, a ? `${a}.${p}` : p);
|
59315
59315
|
else {
|
59316
59316
|
const m = /* @__PURE__ */ new Map();
|
@@ -59327,7 +59327,7 @@ class $g {
|
|
59327
59327
|
}
|
59328
59328
|
_getNamedArgumentsCompletionList(i) {
|
59329
59329
|
return i.map((a) => {
|
59330
|
-
const { name:
|
59330
|
+
const { name: o, desc: u, displayType: p } = a, m = `${o} = `, b = Array.isArray(u) ? u.join(this._formatter.delimiter) : u || "";
|
59331
59331
|
return {
|
59332
59332
|
label: m,
|
59333
59333
|
documentation: {
|
@@ -59340,12 +59340,12 @@ class $g {
|
|
59340
59340
|
};
|
59341
59341
|
});
|
59342
59342
|
}
|
59343
|
-
_getVariableCompletionItem(i, a = 2,
|
59343
|
+
_getVariableCompletionItem(i, a = 2, o = !0) {
|
59344
59344
|
const u = this._extractExamples(i), p = this._extractDescription(i), m = [this._createDescriptionSection(p)];
|
59345
59345
|
u.length ? m.push(this._createExampleSection(u)) : i.syntax && i.syntax.length && m.push(this._createSyntaxSection(i.syntax));
|
59346
59346
|
const b = {
|
59347
59347
|
value: m.join(this._formatter.lineBreak)
|
59348
|
-
}, g =
|
59348
|
+
}, g = o ? ke.variables : ke.userDefinedVariable;
|
59349
59349
|
return {
|
59350
59350
|
documentation: b,
|
59351
59351
|
label: i.name,
|
@@ -59356,8 +59356,8 @@ class $g {
|
|
59356
59356
|
};
|
59357
59357
|
}
|
59358
59358
|
_getKeywordCompletionItem(i, a = 2) {
|
59359
|
-
const
|
59360
|
-
return
|
59359
|
+
const o = this._extractExamples(i), u = this._extractDescription(i), p = [this._createDescriptionSection(u)];
|
59360
|
+
return o.length ? p.push(this._createExampleSection(o)) : i.syntax && i.syntax.length && p.push(this._createSyntaxSection(i.syntax)), {
|
59361
59361
|
documentation: {
|
59362
59362
|
value: p.join(this._formatter.lineBreak)
|
59363
59363
|
},
|
@@ -59395,10 +59395,10 @@ class $g {
|
|
59395
59395
|
};
|
59396
59396
|
}
|
59397
59397
|
_getInstanceTypeCompletionItemProp(i) {
|
59398
|
-
const a = this._extractDescription(i),
|
59399
|
-
return a &&
|
59398
|
+
const a = this._extractDescription(i), o = [];
|
59399
|
+
return a && o.push(this._formatter.paragraph(this._formatter.bold(It.Description), this._formatter.lineBreak, a)), {
|
59400
59400
|
documentation: {
|
59401
|
-
value:
|
59401
|
+
value: o.join(this._formatter.lineBreak)
|
59402
59402
|
},
|
59403
59403
|
label: i.name,
|
59404
59404
|
insertText: i.name,
|
@@ -59407,13 +59407,13 @@ class $g {
|
|
59407
59407
|
detail: `(${ke.field}) ${i.type}`
|
59408
59408
|
};
|
59409
59409
|
}
|
59410
|
-
_getFunctionCompletionItem(i, a = 2,
|
59410
|
+
_getFunctionCompletionItem(i, a = 2, o = !0) {
|
59411
59411
|
var R;
|
59412
59412
|
const u = i.returnedTypes && i.returnedTypes[0] || i.syntax && i.syntax[0] && ((R = i.syntax[0].split("→").pop()) == null ? void 0 : R.trim()), p = this._extractExamples(i), m = this._extractDescription(i), b = [this._createDescriptionSection(m)];
|
59413
59413
|
p.length ? b.push(this._createExampleSection(p)) : i.syntax && i.syntax.length && b.push(this._createSyntaxSection(i.syntax)), i.returns && i.returns.length && b.push(this._createReturnSection(i.returns));
|
59414
59414
|
const g = {
|
59415
59415
|
value: b.join(this._formatter.lineBreak)
|
59416
|
-
}, v = i.name, w =
|
59416
|
+
}, v = i.name, w = o ? ke.functions : ke.userDefinedFunction, k = i.template, z = k ? `${Fg(v)}<\${1}>` : v;
|
59417
59417
|
return {
|
59418
59418
|
documentation: g,
|
59419
59419
|
label: k ? `${v.replace(/<.+>/, "")}<type>` : v,
|
@@ -59432,11 +59432,11 @@ class $g {
|
|
59432
59432
|
};
|
59433
59433
|
}
|
59434
59434
|
_getNamespaceCompletionItem(i, a = 2) {
|
59435
|
-
const
|
59435
|
+
const o = [this._createDescriptionSection(ke.namespaceDesc)];
|
59436
59436
|
return {
|
59437
59437
|
label: i.name,
|
59438
59438
|
documentation: {
|
59439
|
-
value:
|
59439
|
+
value: o.join(this._formatter.lineBreak)
|
59440
59440
|
},
|
59441
59441
|
detail: `(${ke.namespace}) ${i.name}`,
|
59442
59442
|
insertText: i.name,
|
@@ -59495,18 +59495,18 @@ class Gg {
|
|
59495
59495
|
}), this._userFunctions = /* @__PURE__ */ new Map(), this._userVariables = /* @__PURE__ */ new Map(), this._userTypes = /* @__PURE__ */ new Map(), this._userMethods = /* @__PURE__ */ new Map(), this._overloadsFuncs = [];
|
59496
59496
|
}
|
59497
59497
|
setUserDefined(i, a) {
|
59498
|
-
const { functions:
|
59499
|
-
|
59498
|
+
const { functions: o, variables: u, types: p, methods: m } = i;
|
59499
|
+
o && (this._userFunctions = o), u && (this._userVariables = u), p && (this._userTypes = p), m && (this._userMethods = m), this._overloadsFuncs = a;
|
59500
59500
|
}
|
59501
|
-
parseLineContentFuncVar(i, a,
|
59501
|
+
parseLineContentFuncVar(i, a, o) {
|
59502
59502
|
const u = i.indexOf("//");
|
59503
59503
|
if (this._removeString(i).indexOf("//") !== -1 && u <= a)
|
59504
59504
|
return;
|
59505
59505
|
i = i + " ";
|
59506
|
-
const p = this._getVariablesDocVal(i, a,
|
59506
|
+
const p = this._getVariablesDocVal(i, a, o);
|
59507
59507
|
if (p)
|
59508
59508
|
return p;
|
59509
|
-
const m = this._getFuncsDocVal(i, a,
|
59509
|
+
const m = this._getFuncsDocVal(i, a, o);
|
59510
59510
|
if (m)
|
59511
59511
|
return m;
|
59512
59512
|
const b = i.match(/[a-zA-Z_][a-zA-Z_0-9]*(\s*\.\s*[a-zA-Z_][a-zA-Z_0-9]*)*(?=\s*<)/g);
|
@@ -59540,11 +59540,11 @@ class Gg {
|
|
59540
59540
|
return Ut.methods.get(i);
|
59541
59541
|
}
|
59542
59542
|
_getBuildInOther(i) {
|
59543
|
-
const { keywords: a, variables:
|
59544
|
-
return a.get(i) ||
|
59543
|
+
const { keywords: a, variables: o, constants: u, types: p } = Ut;
|
59544
|
+
return a.get(i) || o.get(i) || u.get(i) || p.get(i);
|
59545
59545
|
}
|
59546
|
-
parseCurrentInputFunc(i, a = !1,
|
59547
|
-
let u = i.length - 1, p = 0, m = a, b =
|
59546
|
+
parseCurrentInputFunc(i, a = !1, o = !1) {
|
59547
|
+
let u = i.length - 1, p = 0, m = a, b = o;
|
59548
59548
|
for (; u >= 0; ) {
|
59549
59549
|
const g = i.charAt(u);
|
59550
59550
|
if (u -= 1, /['"]/.test(g)) {
|
@@ -59586,11 +59586,11 @@ class Gg {
|
|
59586
59586
|
}
|
59587
59587
|
}
|
59588
59588
|
}
|
59589
|
-
parseCurrentInputFuncAndArg(i, a = !1,
|
59590
|
-
const { funcName: u, startIndex: p } = this.parseCurrentInputFunc(i, a,
|
59589
|
+
parseCurrentInputFuncAndArg(i, a = !1, o = !1) {
|
59590
|
+
const { funcName: u, startIndex: p } = this.parseCurrentInputFunc(i, a, o) || {};
|
59591
59591
|
if (u && typeof p == "number") {
|
59592
59592
|
let m = i.slice(p + u.length).trim().slice(1), b = -1;
|
59593
|
-
if (a && (b = m.lastIndexOf("'")),
|
59593
|
+
if (a && (b = m.lastIndexOf("'")), o) {
|
59594
59594
|
const w = m.lastIndexOf('"');
|
59595
59595
|
(w !== -1 && w < b || b === -1) && (b = w);
|
59596
59596
|
}
|
@@ -59608,7 +59608,7 @@ class Gg {
|
|
59608
59608
|
_removeString(i) {
|
59609
59609
|
return i.replace(/\\"|\\'/g, "").replace(/"[^"]*"|'[^']*'/g, "");
|
59610
59610
|
}
|
59611
|
-
_getVariablesDocVal(i, a,
|
59611
|
+
_getVariablesDocVal(i, a, o) {
|
59612
59612
|
const u = this._removeString(i).replace(/\/\/.*/g, "").match(/[a-zA-Z_][a-zA-Z_0-9]*(\s*\.\s*[a-zA-Z_][a-zA-Z_0-9]*)*(?=\s*[^(a-zA-Z_0-9."'<])/g);
|
59613
59613
|
if (u) {
|
59614
59614
|
const p = this._matchContent(u, i, a);
|
@@ -59620,22 +59620,22 @@ class Gg {
|
|
59620
59620
|
}, b = this._getBuildInOther(p.name);
|
59621
59621
|
if (b)
|
59622
59622
|
return m.docValue = b, m;
|
59623
|
-
const g = this._getUserVariablesDocVal(p.name, a,
|
59623
|
+
const g = this._getUserVariablesDocVal(p.name, a, o);
|
59624
59624
|
if (g)
|
59625
59625
|
return Object.assign(m, { docValue: [g], isBuildIn: !1 });
|
59626
59626
|
const v = this._getUserTypesDocVal(p.name);
|
59627
59627
|
if (v)
|
59628
59628
|
return Object.assign(m, { docValue: v, isBuildIn: !1 });
|
59629
|
-
const w = this._getTypesAndFileds(i, p.name, a,
|
59629
|
+
const w = this._getTypesAndFileds(i, p.name, a, o);
|
59630
59630
|
if (w && typeof w != "string")
|
59631
59631
|
return Object.assign(m, { docValue: [w], isBuildIn: !1 });
|
59632
59632
|
}
|
59633
59633
|
}
|
59634
59634
|
}
|
59635
|
-
_getUserVariablesDocVal(i, a,
|
59635
|
+
_getUserVariablesDocVal(i, a, o) {
|
59636
59636
|
const m = [...this._userVariables.get(i) || []].sort((b, g) => (g.scope || 0) - (b.scope || 0)).find((b) => {
|
59637
59637
|
const g = b.range;
|
59638
|
-
return ((g == null ? void 0 : g.startColumn) || 0) <= a && ((g == null ? void 0 : g.startLineNumber) || 0) <=
|
59638
|
+
return ((g == null ? void 0 : g.startColumn) || 0) <= a && ((g == null ? void 0 : g.startLineNumber) || 0) <= o && ((g == null ? void 0 : g.endLineNumber) || 0) >= o;
|
59639
59639
|
});
|
59640
59640
|
if (m)
|
59641
59641
|
return m.title = ke.userDefinedVariable, m.type = this._arrayTypeTransform(m.type), m;
|
@@ -59645,14 +59645,14 @@ class Gg {
|
|
59645
59645
|
if (a)
|
59646
59646
|
return a[0].title = ke.userDefinedType, a;
|
59647
59647
|
}
|
59648
|
-
_getTypesAndFileds(i, a,
|
59648
|
+
_getTypesAndFileds(i, a, o, u) {
|
59649
59649
|
var p, m;
|
59650
59650
|
if (a.includes(".")) {
|
59651
59651
|
const b = a.split(".");
|
59652
|
-
let g = b[0], v, w = null, k = i.indexOf(a,
|
59652
|
+
let g = b[0], v, w = null, k = i.indexOf(a, o - a.length) + 1, z = k + g.length - 1;
|
59653
59653
|
for (const R of b.slice(1)) {
|
59654
59654
|
if (!w) {
|
59655
|
-
const F = k <=
|
59655
|
+
const F = k <= o && z >= o, B = this._getUserVariablesDocVal(g, o, u);
|
59656
59656
|
if (F && B)
|
59657
59657
|
return B;
|
59658
59658
|
w = B == null ? void 0 : B.type;
|
@@ -59660,7 +59660,7 @@ class Gg {
|
|
59660
59660
|
if (w) {
|
59661
59661
|
v = w, k = z + 2, z = z + R.length + 1;
|
59662
59662
|
const F = this._userTypes.get(w) || Ut.types.get(w), B = (m = (p = F == null ? void 0 : F[0]) == null ? void 0 : p.fields) == null ? void 0 : m.find((re) => re.name === R);
|
59663
|
-
if (B && k <=
|
59663
|
+
if (B && k <= o && z >= o)
|
59664
59664
|
return {
|
59665
59665
|
name: `${w}.${R}`,
|
59666
59666
|
desc: B.desc,
|
@@ -59674,7 +59674,7 @@ class Gg {
|
|
59674
59674
|
return v;
|
59675
59675
|
}
|
59676
59676
|
}
|
59677
|
-
_getFuncsDocVal(i, a,
|
59677
|
+
_getFuncsDocVal(i, a, o) {
|
59678
59678
|
const u = i.match(/[a-zA-Z_][a-zA-Z_0-9]*(\s*\.\s*[a-zA-Z_][a-zA-Z_0-9]*)*(?=\s*\()/g);
|
59679
59679
|
if (u) {
|
59680
59680
|
const p = this._matchContent(u, i, a);
|
@@ -59685,19 +59685,19 @@ class Gg {
|
|
59685
59685
|
index: 0
|
59686
59686
|
}, b = this._getBuildInFunc(p.name);
|
59687
59687
|
if (b)
|
59688
|
-
return m.index = this._getOverloadsFuncIndex(b, a, p.name,
|
59688
|
+
return m.index = this._getOverloadsFuncIndex(b, a, p.name, o), Object.assign(m, { docValue: b });
|
59689
59689
|
const g = this._getUserFuncsDocVal(p.name);
|
59690
59690
|
if (g)
|
59691
59691
|
return Object.assign(m, { docValue: g, isBuildIn: !1 });
|
59692
|
-
const v = this._getUserVarFuncsDocVal(i, p.name, a,
|
59692
|
+
const v = this._getUserVarFuncsDocVal(i, p.name, a, o);
|
59693
59693
|
if (v)
|
59694
59694
|
return Object.assign(m, { docValue: [v], isBuildIn: !1 });
|
59695
59695
|
}
|
59696
59696
|
}
|
59697
59697
|
}
|
59698
|
-
_getOverloadsFuncIndex(i, a,
|
59698
|
+
_getOverloadsFuncIndex(i, a, o, u) {
|
59699
59699
|
if (i.length > 1) {
|
59700
|
-
const p = this._overloadsFuncs.find((m) => m.name ===
|
59700
|
+
const p = this._overloadsFuncs.find((m) => m.name === o && m.line === u && m.startColumn <= a && m.endColumn >= a);
|
59701
59701
|
if (p)
|
59702
59702
|
return p.index;
|
59703
59703
|
}
|
@@ -59713,14 +59713,14 @@ class Gg {
|
|
59713
59713
|
if (a)
|
59714
59714
|
return a[0].title = ke.userDefinedMethod, a;
|
59715
59715
|
}
|
59716
|
-
_getUserVarFuncsDocVal(i, a,
|
59716
|
+
_getUserVarFuncsDocVal(i, a, o, u) {
|
59717
59717
|
var p;
|
59718
59718
|
if (a.includes(".")) {
|
59719
|
-
const m = a.split("."), b = this._getTypesAndFileds(i, a,
|
59719
|
+
const m = a.split("."), b = this._getTypesAndFileds(i, a, o, u);
|
59720
59720
|
if (typeof b == "string") {
|
59721
59721
|
const v = `${this._arrayTypeTransform(b).replace(/<[^<>]+>/, "").replace(/(series|simple|const|input)\s+([\w\d.]+)/, "$2")}.${m.pop()}`, w = this._getBuildInMethod(v);
|
59722
59722
|
if (w) {
|
59723
|
-
const k = this._getOverloadsFuncIndex(w,
|
59723
|
+
const k = this._getOverloadsFuncIndex(w, o, v, u);
|
59724
59724
|
return { ...w[0], name: v, index: k };
|
59725
59725
|
}
|
59726
59726
|
return (p = this._getUserMethodsDocVal(v)) == null ? void 0 : p[0];
|
@@ -59731,23 +59731,23 @@ class Gg {
|
|
59731
59731
|
_arrayTypeTransform(i = "") {
|
59732
59732
|
return i.includes("[]") ? `array<${i.replace("[]", "")}>` : i;
|
59733
59733
|
}
|
59734
|
-
_matchContent(i, a,
|
59734
|
+
_matchContent(i, a, o) {
|
59735
59735
|
let u = 0;
|
59736
59736
|
for (const p of i) {
|
59737
|
-
u =
|
59737
|
+
u = o - p.length;
|
59738
59738
|
const m = a.indexOf(p, u);
|
59739
|
-
if (u = m + p.length, this._judgeVal(a, m, u) && m + 1 <=
|
59739
|
+
if (u = m + p.length, this._judgeVal(a, m, u) && m + 1 <= o && u >= o)
|
59740
59740
|
return {
|
59741
59741
|
name: p,
|
59742
59742
|
endIndex: u
|
59743
59743
|
};
|
59744
59744
|
}
|
59745
59745
|
}
|
59746
|
-
_judgeVal(i, a,
|
59746
|
+
_judgeVal(i, a, o) {
|
59747
59747
|
const u = i.charAt(a - 1), p = /[\w\d."']/;
|
59748
59748
|
if (p.test(u))
|
59749
59749
|
return !1;
|
59750
|
-
const m = i.charAt(
|
59750
|
+
const m = i.charAt(o);
|
59751
59751
|
return !p.test(m);
|
59752
59752
|
}
|
59753
59753
|
}
|
@@ -59764,7 +59764,7 @@ var Gs = { exports: {} };
|
|
59764
59764
|
Gs.exports;
|
59765
59765
|
(function(s, i) {
|
59766
59766
|
(function() {
|
59767
|
-
var a,
|
59767
|
+
var a, o = "4.17.21", u = 200, p = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", m = "Expected a function", b = "Invalid `variable` option passed into `_.template`", g = "__lodash_hash_undefined__", v = 500, w = "__lodash_placeholder__", k = 1, z = 2, R = 4, F = 1, B = 2, re = 1, E = 2, M = 4, le = 8, ee = 16, K = 32, ce = 64, Z = 128, ze = 256, ge = 512, ae = 30, at = "...", ft = 800, Ne = 16, Ee = 1, U = 2, de = 3, be = 1 / 0, Re = 9007199254740991, Et = 17976931348623157e292, Wt = NaN, G = 4294967295, _e = G - 1, Me = G >>> 1, Ht = [
|
59768
59768
|
["ary", Z],
|
59769
59769
|
["bind", re],
|
59770
59770
|
["bindKey", E],
|
@@ -60408,8 +60408,8 @@ Gs.exports;
|
|
60408
60408
|
return e;
|
60409
60409
|
}
|
60410
60410
|
function Md() {
|
60411
|
-
var e = this.__wrapped__.value(), t = this.__dir__, r = Y(e), n = t < 0,
|
60412
|
-
if (!r || !n &&
|
60411
|
+
var e = this.__wrapped__.value(), t = this.__dir__, r = Y(e), n = t < 0, l = r ? e.length : 0, d = Yp(0, l, this.__views__), f = d.start, h = d.end, x = h - f, A = n ? h : f - 1, q = this.__iteratees__, C = q.length, P = 0, L = We(x, this.__takeCount__);
|
60412
|
+
if (!r || !n && l == x && L == x)
|
60413
60413
|
return Wo(e, this.__actions__);
|
60414
60414
|
var W = [];
|
60415
60415
|
e:
|
@@ -60560,11 +60560,11 @@ Gs.exports;
|
|
60560
60560
|
}
|
60561
60561
|
Ct.prototype.clear = tp, Ct.prototype.delete = rp, Ct.prototype.get = ap, Ct.prototype.has = sp, Ct.prototype.set = ip;
|
60562
60562
|
function xo(e, t) {
|
60563
|
-
var r = Y(e), n = !r && Cr(e),
|
60563
|
+
var r = Y(e), n = !r && Cr(e), l = !r && !n && fr(e), d = !r && !n && !l && Qr(e), f = r || n || l || d, h = f ? _i(e.length, yd) : [], x = h.length;
|
60564
60564
|
for (var A in e)
|
60565
60565
|
(t || ye.call(e, A)) && !(f && // Safari 9 has enumerable `arguments.length` in strict mode.
|
60566
60566
|
(A == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
60567
|
-
|
60567
|
+
l && (A == "offset" || A == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
60568
60568
|
d && (A == "buffer" || A == "byteLength" || A == "byteOffset") || // Skip index properties.
|
60569
60569
|
Jt(A, x))) && h.push(A);
|
60570
60570
|
return h;
|
@@ -60593,8 +60593,8 @@ Gs.exports;
|
|
60593
60593
|
return -1;
|
60594
60594
|
}
|
60595
60595
|
function lp(e, t, r, n) {
|
60596
|
-
return ur(e, function(
|
60597
|
-
t(n,
|
60596
|
+
return ur(e, function(l, d, f) {
|
60597
|
+
t(n, l, r(l), f);
|
60598
60598
|
}), n;
|
60599
60599
|
}
|
60600
60600
|
function wo(e, t) {
|
@@ -60612,16 +60612,16 @@ Gs.exports;
|
|
60612
60612
|
}) : e[t] = r;
|
60613
60613
|
}
|
60614
60614
|
function Di(e, t) {
|
60615
|
-
for (var r = -1, n = t.length,
|
60616
|
-
|
60617
|
-
return
|
60615
|
+
for (var r = -1, n = t.length, l = T(n), d = e == null; ++r < n; )
|
60616
|
+
l[r] = d ? a : nn(e, t[r]);
|
60617
|
+
return l;
|
60618
60618
|
}
|
60619
60619
|
function Dr(e, t, r) {
|
60620
60620
|
return e === e && (r !== a && (e = e <= r ? e : r), t !== a && (e = e >= t ? e : t)), e;
|
60621
60621
|
}
|
60622
|
-
function xt(e, t, r, n,
|
60622
|
+
function xt(e, t, r, n, l, d) {
|
60623
60623
|
var f, h = t & k, x = t & z, A = t & R;
|
60624
|
-
if (r && (f =
|
60624
|
+
if (r && (f = l ? r(e, n, l, d) : r(e)), f !== a)
|
60625
60625
|
return f;
|
60626
60626
|
if (!De(e))
|
60627
60627
|
return e;
|
@@ -60633,12 +60633,12 @@ Gs.exports;
|
|
60633
60633
|
var C = He(e), P = C == gr || C == Wa;
|
60634
60634
|
if (fr(e))
|
60635
60635
|
return Go(e, h);
|
60636
|
-
if (C == yt || C == Ge || P && !
|
60636
|
+
if (C == yt || C == Ge || P && !l) {
|
60637
60637
|
if (f = x || P ? {} : dl(e), !h)
|
60638
60638
|
return x ? Bp(e, cp(f, e)) : Fp(e, wo(f, e));
|
60639
60639
|
} else {
|
60640
60640
|
if (!ve[C])
|
60641
|
-
return
|
60641
|
+
return l ? e : {};
|
60642
60642
|
f = Zp(e, C, h);
|
60643
60643
|
}
|
60644
60644
|
}
|
@@ -60667,8 +60667,8 @@ Gs.exports;
|
|
60667
60667
|
if (e == null)
|
60668
60668
|
return !n;
|
60669
60669
|
for (e = xe(e); n--; ) {
|
60670
|
-
var
|
60671
|
-
if (f === a && !(
|
60670
|
+
var l = r[n], d = t[l], f = e[l];
|
60671
|
+
if (f === a && !(l in e) || !d(f))
|
60672
60672
|
return !1;
|
60673
60673
|
}
|
60674
60674
|
return !0;
|
@@ -60681,13 +60681,13 @@ Gs.exports;
|
|
60681
60681
|
}, t);
|
60682
60682
|
}
|
60683
60683
|
function va(e, t, r, n) {
|
60684
|
-
var
|
60684
|
+
var l = -1, d = es, f = !0, h = e.length, x = [], A = t.length;
|
60685
60685
|
if (!h)
|
60686
60686
|
return x;
|
60687
60687
|
r && (t = Te(t, ot(r))), n ? (d = di, f = !1) : t.length >= u && (d = fa, f = !1, t = new Ir(t));
|
60688
60688
|
e:
|
60689
|
-
for (; ++
|
60690
|
-
var q = e[
|
60689
|
+
for (; ++l < h; ) {
|
60690
|
+
var q = e[l], C = r == null ? q : r(q);
|
60691
60691
|
if (q = n || q !== 0 ? q : 0, f && C === C) {
|
60692
60692
|
for (var P = A; P--; )
|
60693
60693
|
if (t[P] === C)
|
@@ -60701,12 +60701,12 @@ Gs.exports;
|
|
60701
60701
|
var ur = Qo(Lt), Do = Qo(Ai, !0);
|
60702
60702
|
function dp(e, t) {
|
60703
60703
|
var r = !0;
|
60704
|
-
return ur(e, function(n,
|
60705
|
-
return r = !!t(n,
|
60704
|
+
return ur(e, function(n, l, d) {
|
60705
|
+
return r = !!t(n, l, d), r;
|
60706
60706
|
}), r;
|
60707
60707
|
}
|
60708
60708
|
function gs(e, t, r) {
|
60709
|
-
for (var n = -1,
|
60709
|
+
for (var n = -1, l = e.length; ++n < l; ) {
|
60710
60710
|
var d = e[n], f = t(d);
|
60711
60711
|
if (f != null && (h === a ? f === f && !ct(f) : r(f, h)))
|
60712
60712
|
var h = f, x = d;
|
@@ -60714,24 +60714,24 @@ Gs.exports;
|
|
60714
60714
|
return x;
|
60715
60715
|
}
|
60716
60716
|
function pp(e, t, r, n) {
|
60717
|
-
var
|
60718
|
-
for (r = V(r), r < 0 && (r = -r >
|
60717
|
+
var l = e.length;
|
60718
|
+
for (r = V(r), r < 0 && (r = -r > l ? 0 : l + r), n = n === a || n > l ? l : V(n), n < 0 && (n += l), n = r > n ? 0 : Ul(n); r < n; )
|
60719
60719
|
e[r++] = t;
|
60720
60720
|
return e;
|
60721
60721
|
}
|
60722
60722
|
function ko(e, t) {
|
60723
60723
|
var r = [];
|
60724
|
-
return ur(e, function(n,
|
60725
|
-
t(n,
|
60724
|
+
return ur(e, function(n, l, d) {
|
60725
|
+
t(n, l, d) && r.push(n);
|
60726
60726
|
}), r;
|
60727
60727
|
}
|
60728
|
-
function Ue(e, t, r, n,
|
60728
|
+
function Ue(e, t, r, n, l) {
|
60729
60729
|
var d = -1, f = e.length;
|
60730
|
-
for (r || (r = em),
|
60730
|
+
for (r || (r = em), l || (l = []); ++d < f; ) {
|
60731
60731
|
var h = e[d];
|
60732
|
-
t > 0 && r(h) ? t > 1 ? Ue(h, t - 1, r, n,
|
60732
|
+
t > 0 && r(h) ? t > 1 ? Ue(h, t - 1, r, n, l) : or(l, h) : n || (l[l.length] = h);
|
60733
60733
|
}
|
60734
|
-
return
|
60734
|
+
return l;
|
60735
60735
|
}
|
60736
60736
|
var ki = Zo(), Ao = Zo(!0);
|
60737
60737
|
function Lt(e, t) {
|
@@ -60771,14 +60771,14 @@ Gs.exports;
|
|
60771
60771
|
return e >= We(t, r) && e < Oe(t, r);
|
60772
60772
|
}
|
60773
60773
|
function Ci(e, t, r) {
|
60774
|
-
for (var n = r ? di : es,
|
60774
|
+
for (var n = r ? di : es, l = e[0].length, d = e.length, f = d, h = T(d), x = 1 / 0, A = []; f--; ) {
|
60775
60775
|
var q = e[f];
|
60776
|
-
f && t && (q = Te(q, ot(t))), x = We(q.length, x), h[f] = !r && (t ||
|
60776
|
+
f && t && (q = Te(q, ot(t))), x = We(q.length, x), h[f] = !r && (t || l >= 120 && q.length >= 120) ? new Ir(f && q) : a;
|
60777
60777
|
}
|
60778
60778
|
q = e[0];
|
60779
60779
|
var C = -1, P = h[0];
|
60780
60780
|
e:
|
60781
|
-
for (; ++C <
|
60781
|
+
for (; ++C < l && A.length < x; ) {
|
60782
60782
|
var L = q[C], W = t ? t(L) : L;
|
60783
60783
|
if (L = r || L !== 0 ? L : 0, !(P ? fa(P, W) : n(A, W, r))) {
|
60784
60784
|
for (f = d; --f; ) {
|
@@ -60792,8 +60792,8 @@ Gs.exports;
|
|
60792
60792
|
return A;
|
60793
60793
|
}
|
60794
60794
|
function hp(e, t, r, n) {
|
60795
|
-
return Lt(e, function(
|
60796
|
-
t(n, r(
|
60795
|
+
return Lt(e, function(l, d, f) {
|
60796
|
+
t(n, r(l), d, f);
|
60797
60797
|
}), n;
|
60798
60798
|
}
|
60799
60799
|
function wa(e, t, r) {
|
@@ -60810,10 +60810,10 @@ Gs.exports;
|
|
60810
60810
|
function gp(e) {
|
60811
60811
|
return qe(e) && Xe(e) == $t;
|
60812
60812
|
}
|
60813
|
-
function Ta(e, t, r, n,
|
60814
|
-
return e === t ? !0 : e == null || t == null || !qe(e) && !qe(t) ? e !== e && t !== t : bp(e, t, r, n, Ta,
|
60813
|
+
function Ta(e, t, r, n, l) {
|
60814
|
+
return e === t ? !0 : e == null || t == null || !qe(e) && !qe(t) ? e !== e && t !== t : bp(e, t, r, n, Ta, l);
|
60815
60815
|
}
|
60816
|
-
function bp(e, t, r, n,
|
60816
|
+
function bp(e, t, r, n, l, d) {
|
60817
60817
|
var f = Y(e), h = Y(t), x = f ? ar : He(e), A = h ? ar : He(t);
|
60818
60818
|
x = x == Ge ? yt : x, A = A == Ge ? yt : A;
|
60819
60819
|
var q = x == yt, C = A == yt, P = x == A;
|
@@ -60823,30 +60823,30 @@ Gs.exports;
|
|
60823
60823
|
f = !0, q = !1;
|
60824
60824
|
}
|
60825
60825
|
if (P && !q)
|
60826
|
-
return d || (d = new Ct()), f || Qr(e) ? ll(e, t, r, n,
|
60826
|
+
return d || (d = new Ct()), f || Qr(e) ? ll(e, t, r, n, l, d) : Gp(e, t, x, r, n, l, d);
|
60827
60827
|
if (!(r & F)) {
|
60828
60828
|
var L = q && ye.call(e, "__wrapped__"), W = C && ye.call(t, "__wrapped__");
|
60829
60829
|
if (L || W) {
|
60830
60830
|
var Q = L ? e.value() : e, H = W ? t.value() : t;
|
60831
|
-
return d || (d = new Ct()),
|
60831
|
+
return d || (d = new Ct()), l(Q, H, r, n, d);
|
60832
60832
|
}
|
60833
60833
|
}
|
60834
|
-
return P ? (d || (d = new Ct()), Xp(e, t, r, n,
|
60834
|
+
return P ? (d || (d = new Ct()), Xp(e, t, r, n, l, d)) : !1;
|
60835
60835
|
}
|
60836
60836
|
function xp(e) {
|
60837
60837
|
return qe(e) && He(e) == st;
|
60838
60838
|
}
|
60839
60839
|
function Si(e, t, r, n) {
|
60840
|
-
var
|
60840
|
+
var l = r.length, d = l, f = !n;
|
60841
60841
|
if (e == null)
|
60842
60842
|
return !d;
|
60843
|
-
for (e = xe(e);
|
60844
|
-
var h = r[
|
60843
|
+
for (e = xe(e); l--; ) {
|
60844
|
+
var h = r[l];
|
60845
60845
|
if (f && h[2] ? h[1] !== e[h[0]] : !(h[0] in e))
|
60846
60846
|
return !1;
|
60847
60847
|
}
|
60848
|
-
for (; ++
|
60849
|
-
h = r[
|
60848
|
+
for (; ++l < d; ) {
|
60849
|
+
h = r[l];
|
60850
60850
|
var x = h[0], A = e[x], q = h[1];
|
60851
60851
|
if (f && h[2]) {
|
60852
60852
|
if (A === a && !(x in e))
|
@@ -60900,8 +60900,8 @@ Gs.exports;
|
|
60900
60900
|
}
|
60901
60901
|
function No(e, t) {
|
60902
60902
|
var r = -1, n = et(e) ? T(e.length) : [];
|
60903
|
-
return ur(e, function(
|
60904
|
-
n[++r] = t(
|
60903
|
+
return ur(e, function(l, d, f) {
|
60904
|
+
n[++r] = t(l, d, f);
|
60905
60905
|
}), n;
|
60906
60906
|
}
|
60907
60907
|
function Po(e) {
|
@@ -60916,17 +60916,17 @@ Gs.exports;
|
|
60916
60916
|
return n === a && n === t ? on(r, e) : Ta(t, n, F | B);
|
60917
60917
|
};
|
60918
60918
|
}
|
60919
|
-
function xs(e, t, r, n,
|
60919
|
+
function xs(e, t, r, n, l) {
|
60920
60920
|
e !== t && ki(t, function(d, f) {
|
60921
|
-
if (
|
60922
|
-
Dp(e, t, f, r, xs, n,
|
60921
|
+
if (l || (l = new Ct()), De(d))
|
60922
|
+
Dp(e, t, f, r, xs, n, l);
|
60923
60923
|
else {
|
60924
|
-
var h = n ? n(Qi(e, f), d, f + "", e, t,
|
60924
|
+
var h = n ? n(Qi(e, f), d, f + "", e, t, l) : a;
|
60925
60925
|
h === a && (h = d), Ii(e, f, h);
|
60926
60926
|
}
|
60927
60927
|
}, tt);
|
60928
60928
|
}
|
60929
|
-
function Dp(e, t, r, n,
|
60929
|
+
function Dp(e, t, r, n, l, d, f) {
|
60930
60930
|
var h = Qi(e, r), x = Qi(t, r), A = f.get(x);
|
60931
60931
|
if (A) {
|
60932
60932
|
Ii(e, r, A);
|
@@ -60937,7 +60937,7 @@ Gs.exports;
|
|
60937
60937
|
var P = Y(x), L = !P && fr(x), W = !P && !L && Qr(x);
|
60938
60938
|
q = x, P || L || W ? Y(h) ? q = h : Ce(h) ? q = Je(h) : L ? (C = !1, q = Go(x, !0)) : W ? (C = !1, q = Xo(x, !0)) : q = [] : qa(x) || Cr(x) ? (q = h, Cr(h) ? q = Wl(h) : (!De(h) || er(h)) && (q = dl(x))) : C = !1;
|
60939
60939
|
}
|
60940
|
-
C && (f.set(x, q),
|
60940
|
+
C && (f.set(x, q), l(q, x, n, d, f), f.delete(x)), Ii(e, r, q);
|
60941
60941
|
}
|
60942
60942
|
function Eo(e, t) {
|
60943
60943
|
var r = e.length;
|
@@ -60952,13 +60952,13 @@ Gs.exports;
|
|
60952
60952
|
}) : t = [rt];
|
60953
60953
|
var n = -1;
|
60954
60954
|
t = Te(t, ot(j()));
|
60955
|
-
var
|
60955
|
+
var l = No(e, function(d, f, h) {
|
60956
60956
|
var x = Te(t, function(A) {
|
60957
60957
|
return A(d);
|
60958
60958
|
});
|
60959
60959
|
return { criteria: x, index: ++n, value: d };
|
60960
60960
|
});
|
60961
|
-
return Zu(
|
60961
|
+
return Zu(l, function(d, f) {
|
60962
60962
|
return Lp(d, f, r);
|
60963
60963
|
});
|
60964
60964
|
}
|
@@ -60968,7 +60968,7 @@ Gs.exports;
|
|
60968
60968
|
});
|
60969
60969
|
}
|
60970
60970
|
function Mo(e, t, r) {
|
60971
|
-
for (var n = -1,
|
60971
|
+
for (var n = -1, l = t.length, d = {}; ++n < l; ) {
|
60972
60972
|
var f = t[n], h = kr(e, f);
|
60973
60973
|
r(h, f) && Ia(d, pr(f, e), h);
|
60974
60974
|
}
|
@@ -60980,18 +60980,18 @@ Gs.exports;
|
|
60980
60980
|
};
|
60981
60981
|
}
|
60982
60982
|
function Pi(e, t, r, n) {
|
60983
|
-
var
|
60983
|
+
var l = n ? Qu : Br, d = -1, f = t.length, h = e;
|
60984
60984
|
for (e === t && (t = Je(t)), r && (h = Te(e, ot(r))); ++d < f; )
|
60985
|
-
for (var x = 0, A = t[d], q = r ? r(A) : A; (x =
|
60985
|
+
for (var x = 0, A = t[d], q = r ? r(A) : A; (x = l(h, q, x, n)) > -1; )
|
60986
60986
|
h !== e && us.call(h, x, 1), us.call(e, x, 1);
|
60987
60987
|
return e;
|
60988
60988
|
}
|
60989
60989
|
function Lo(e, t) {
|
60990
60990
|
for (var r = e ? t.length : 0, n = r - 1; r--; ) {
|
60991
|
-
var
|
60992
|
-
if (r == n ||
|
60993
|
-
var d =
|
60994
|
-
Jt(
|
60991
|
+
var l = t[r];
|
60992
|
+
if (r == n || l !== d) {
|
60993
|
+
var d = l;
|
60994
|
+
Jt(l) ? us.call(e, l, 1) : Mi(e, l);
|
60995
60995
|
}
|
60996
60996
|
}
|
60997
60997
|
return e;
|
@@ -61000,8 +61000,8 @@ Gs.exports;
|
|
61000
61000
|
return e + ms(go() * (t - e + 1));
|
61001
61001
|
}
|
61002
61002
|
function qp(e, t, r, n) {
|
61003
|
-
for (var
|
61004
|
-
f[n ? d : ++
|
61003
|
+
for (var l = -1, d = Oe(ps((t - e) / (r || 1)), 0), f = T(d); d--; )
|
61004
|
+
f[n ? d : ++l] = e, e += r;
|
61005
61005
|
return f;
|
61006
61006
|
}
|
61007
61007
|
function Ei(e, t) {
|
@@ -61027,13 +61027,13 @@ Gs.exports;
|
|
61027
61027
|
if (!De(e))
|
61028
61028
|
return e;
|
61029
61029
|
t = pr(t, e);
|
61030
|
-
for (var
|
61031
|
-
var x = Bt(t[
|
61030
|
+
for (var l = -1, d = t.length, f = d - 1, h = e; h != null && ++l < d; ) {
|
61031
|
+
var x = Bt(t[l]), A = r;
|
61032
61032
|
if (x === "__proto__" || x === "constructor" || x === "prototype")
|
61033
61033
|
return e;
|
61034
|
-
if (
|
61034
|
+
if (l != f) {
|
61035
61035
|
var q = h[x];
|
61036
|
-
A = n ? n(q, x, h) : a, A === a && (A = De(q) ? q : Jt(t[
|
61036
|
+
A = n ? n(q, x, h) : a, A === a && (A = De(q) ? q : Jt(t[l + 1]) ? [] : {});
|
61037
61037
|
}
|
61038
61038
|
xa(h, x, A), h = h[x];
|
61039
61039
|
}
|
@@ -61053,50 +61053,50 @@ Gs.exports;
|
|
61053
61053
|
return Ss(Zr(e));
|
61054
61054
|
}
|
61055
61055
|
function vt(e, t, r) {
|
61056
|
-
var n = -1,
|
61057
|
-
t < 0 && (t = -t >
|
61058
|
-
for (var d = T(
|
61056
|
+
var n = -1, l = e.length;
|
61057
|
+
t < 0 && (t = -t > l ? 0 : l + t), r = r > l ? l : r, r < 0 && (r += l), l = t > r ? 0 : r - t >>> 0, t >>>= 0;
|
61058
|
+
for (var d = T(l); ++n < l; )
|
61059
61059
|
d[n] = e[n + t];
|
61060
61060
|
return d;
|
61061
61061
|
}
|
61062
61062
|
function Pp(e, t) {
|
61063
61063
|
var r;
|
61064
|
-
return ur(e, function(n,
|
61065
|
-
return r = t(n,
|
61064
|
+
return ur(e, function(n, l, d) {
|
61065
|
+
return r = t(n, l, d), !r;
|
61066
61066
|
}), !!r;
|
61067
61067
|
}
|
61068
61068
|
function vs(e, t, r) {
|
61069
|
-
var n = 0,
|
61070
|
-
if (typeof t == "number" && t === t &&
|
61071
|
-
for (; n <
|
61072
|
-
var d = n +
|
61073
|
-
f !== null && !ct(f) && (r ? f <= t : f < t) ? n = d + 1 :
|
61069
|
+
var n = 0, l = e == null ? n : e.length;
|
61070
|
+
if (typeof t == "number" && t === t && l <= Me) {
|
61071
|
+
for (; n < l; ) {
|
61072
|
+
var d = n + l >>> 1, f = e[d];
|
61073
|
+
f !== null && !ct(f) && (r ? f <= t : f < t) ? n = d + 1 : l = d;
|
61074
61074
|
}
|
61075
|
-
return
|
61075
|
+
return l;
|
61076
61076
|
}
|
61077
61077
|
return Ri(e, t, rt, r);
|
61078
61078
|
}
|
61079
61079
|
function Ri(e, t, r, n) {
|
61080
|
-
var
|
61080
|
+
var l = 0, d = e == null ? 0 : e.length;
|
61081
61081
|
if (d === 0)
|
61082
61082
|
return 0;
|
61083
61083
|
t = r(t);
|
61084
|
-
for (var f = t !== t, h = t === null, x = ct(t), A = t === a;
|
61085
|
-
var q = ms((
|
61084
|
+
for (var f = t !== t, h = t === null, x = ct(t), A = t === a; l < d; ) {
|
61085
|
+
var q = ms((l + d) / 2), C = r(e[q]), P = C !== a, L = C === null, W = C === C, Q = ct(C);
|
61086
61086
|
if (f)
|
61087
61087
|
var H = n || W;
|
61088
61088
|
else
|
61089
61089
|
A ? H = W && (n || P) : h ? H = W && P && (n || !L) : x ? H = W && P && !L && (n || !Q) : L || Q ? H = !1 : H = n ? C <= t : C < t;
|
61090
|
-
H ?
|
61090
|
+
H ? l = q + 1 : d = q;
|
61091
61091
|
}
|
61092
61092
|
return We(d, _e);
|
61093
61093
|
}
|
61094
61094
|
function Bo(e, t) {
|
61095
|
-
for (var r = -1, n = e.length,
|
61095
|
+
for (var r = -1, n = e.length, l = 0, d = []; ++r < n; ) {
|
61096
61096
|
var f = e[r], h = t ? t(f) : f;
|
61097
61097
|
if (!r || !St(h, x)) {
|
61098
61098
|
var x = h;
|
61099
|
-
d[
|
61099
|
+
d[l++] = f === 0 ? 0 : f;
|
61100
61100
|
}
|
61101
61101
|
}
|
61102
61102
|
return d;
|
@@ -61115,14 +61115,14 @@ Gs.exports;
|
|
61115
61115
|
return t == "0" && 1 / e == -be ? "-0" : t;
|
61116
61116
|
}
|
61117
61117
|
function dr(e, t, r) {
|
61118
|
-
var n = -1,
|
61118
|
+
var n = -1, l = es, d = e.length, f = !0, h = [], x = h;
|
61119
61119
|
if (r)
|
61120
|
-
f = !1,
|
61120
|
+
f = !1, l = di;
|
61121
61121
|
else if (d >= u) {
|
61122
61122
|
var A = t ? null : Hp(e);
|
61123
61123
|
if (A)
|
61124
61124
|
return rs(A);
|
61125
|
-
f = !1,
|
61125
|
+
f = !1, l = fa, x = new Ir();
|
61126
61126
|
} else
|
61127
61127
|
x = t ? [] : h;
|
61128
61128
|
e:
|
@@ -61134,7 +61134,7 @@ Gs.exports;
|
|
61134
61134
|
continue e;
|
61135
61135
|
t && x.push(C), h.push(q);
|
61136
61136
|
} else
|
61137
|
-
|
61137
|
+
l(x, C, r) || (x !== h && x.push(C), h.push(q));
|
61138
61138
|
}
|
61139
61139
|
return h;
|
61140
61140
|
}
|
@@ -61145,27 +61145,27 @@ Gs.exports;
|
|
61145
61145
|
return Ia(e, t, r(kr(e, t)), n);
|
61146
61146
|
}
|
61147
61147
|
function ws(e, t, r, n) {
|
61148
|
-
for (var
|
61148
|
+
for (var l = e.length, d = n ? l : -1; (n ? d-- : ++d < l) && t(e[d], d, e); )
|
61149
61149
|
;
|
61150
|
-
return r ? vt(e, n ? 0 : d, n ? d + 1 :
|
61150
|
+
return r ? vt(e, n ? 0 : d, n ? d + 1 : l) : vt(e, n ? d + 1 : 0, n ? l : d);
|
61151
61151
|
}
|
61152
61152
|
function Wo(e, t) {
|
61153
61153
|
var r = e;
|
61154
|
-
return r instanceof ne && (r = r.value()), pi(t, function(n,
|
61155
|
-
return
|
61154
|
+
return r instanceof ne && (r = r.value()), pi(t, function(n, l) {
|
61155
|
+
return l.func.apply(l.thisArg, or([n], l.args));
|
61156
61156
|
}, r);
|
61157
61157
|
}
|
61158
61158
|
function Li(e, t, r) {
|
61159
61159
|
var n = e.length;
|
61160
61160
|
if (n < 2)
|
61161
61161
|
return n ? dr(e[0]) : [];
|
61162
|
-
for (var
|
61163
|
-
for (var f = e[
|
61164
|
-
h !=
|
61162
|
+
for (var l = -1, d = T(n); ++l < n; )
|
61163
|
+
for (var f = e[l], h = -1; ++h < n; )
|
61164
|
+
h != l && (d[l] = va(d[l] || f, e[h], t, r));
|
61165
61165
|
return dr(Ue(d, 1), t, r);
|
61166
61166
|
}
|
61167
61167
|
function Ho(e, t, r) {
|
61168
|
-
for (var n = -1,
|
61168
|
+
for (var n = -1, l = e.length, d = t.length, f = {}; ++n < l; ) {
|
61169
61169
|
var h = n < d ? t[n] : a;
|
61170
61170
|
r(f, e[n], h);
|
61171
61171
|
}
|
@@ -61215,17 +61215,17 @@ Gs.exports;
|
|
61215
61215
|
}
|
61216
61216
|
function Ko(e, t) {
|
61217
61217
|
if (e !== t) {
|
61218
|
-
var r = e !== a, n = e === null,
|
61219
|
-
if (!h && !A && !d && e > t || d && f && x && !h && !A || n && f && x || !r && x || !
|
61218
|
+
var r = e !== a, n = e === null, l = e === e, d = ct(e), f = t !== a, h = t === null, x = t === t, A = ct(t);
|
61219
|
+
if (!h && !A && !d && e > t || d && f && x && !h && !A || n && f && x || !r && x || !l)
|
61220
61220
|
return 1;
|
61221
|
-
if (!n && !d && !A && e < t || A && r &&
|
61221
|
+
if (!n && !d && !A && e < t || A && r && l && !n && !d || h && r && l || !f && l || !x)
|
61222
61222
|
return -1;
|
61223
61223
|
}
|
61224
61224
|
return 0;
|
61225
61225
|
}
|
61226
61226
|
function Lp(e, t, r) {
|
61227
|
-
for (var n = -1,
|
61228
|
-
var x = Ko(
|
61227
|
+
for (var n = -1, l = e.criteria, d = t.criteria, f = l.length, h = r.length; ++n < f; ) {
|
61228
|
+
var x = Ko(l[n], d[n]);
|
61229
61229
|
if (x) {
|
61230
61230
|
if (n >= h)
|
61231
61231
|
return x;
|
@@ -61236,21 +61236,21 @@ Gs.exports;
|
|
61236
61236
|
return e.index - t.index;
|
61237
61237
|
}
|
61238
61238
|
function Yo(e, t, r, n) {
|
61239
|
-
for (var
|
61239
|
+
for (var l = -1, d = e.length, f = r.length, h = -1, x = t.length, A = Oe(d - f, 0), q = T(x + A), C = !n; ++h < x; )
|
61240
61240
|
q[h] = t[h];
|
61241
|
-
for (; ++
|
61242
|
-
(C ||
|
61241
|
+
for (; ++l < f; )
|
61242
|
+
(C || l < d) && (q[r[l]] = e[l]);
|
61243
61243
|
for (; A--; )
|
61244
|
-
q[h++] = e[
|
61244
|
+
q[h++] = e[l++];
|
61245
61245
|
return q;
|
61246
61246
|
}
|
61247
61247
|
function Vo(e, t, r, n) {
|
61248
|
-
for (var
|
61249
|
-
C[
|
61250
|
-
for (var L =
|
61248
|
+
for (var l = -1, d = e.length, f = -1, h = r.length, x = -1, A = t.length, q = Oe(d - h, 0), C = T(q + A), P = !n; ++l < q; )
|
61249
|
+
C[l] = e[l];
|
61250
|
+
for (var L = l; ++x < A; )
|
61251
61251
|
C[L + x] = t[x];
|
61252
61252
|
for (; ++f < h; )
|
61253
|
-
(P ||
|
61253
|
+
(P || l < d) && (C[L + r[f]] = e[l++]);
|
61254
61254
|
return C;
|
61255
61255
|
}
|
61256
61256
|
function Je(e, t) {
|
@@ -61260,11 +61260,11 @@ Gs.exports;
|
|
61260
61260
|
return t;
|
61261
61261
|
}
|
61262
61262
|
function Ft(e, t, r, n) {
|
61263
|
-
var
|
61263
|
+
var l = !r;
|
61264
61264
|
r || (r = {});
|
61265
61265
|
for (var d = -1, f = t.length; ++d < f; ) {
|
61266
61266
|
var h = t[d], x = n ? n(r[h], e[h], h, r, e) : a;
|
61267
|
-
x === a && (x = e[h]),
|
61267
|
+
x === a && (x = e[h]), l ? Vt(r, h, x) : xa(r, h, x);
|
61268
61268
|
}
|
61269
61269
|
return r;
|
61270
61270
|
}
|
@@ -61276,14 +61276,14 @@ Gs.exports;
|
|
61276
61276
|
}
|
61277
61277
|
function Ts(e, t) {
|
61278
61278
|
return function(r, n) {
|
61279
|
-
var
|
61280
|
-
return
|
61279
|
+
var l = Y(r) ? $u : lp, d = t ? t() : {};
|
61280
|
+
return l(r, e, j(n, 2), d);
|
61281
61281
|
};
|
61282
61282
|
}
|
61283
61283
|
function Kr(e) {
|
61284
61284
|
return J(function(t, r) {
|
61285
|
-
var n = -1,
|
61286
|
-
for (d = e.length > 3 && typeof d == "function" ? (
|
61285
|
+
var n = -1, l = r.length, d = l > 1 ? r[l - 1] : a, f = l > 2 ? r[2] : a;
|
61286
|
+
for (d = e.length > 3 && typeof d == "function" ? (l--, d) : a, f && Ke(r[0], r[1], f) && (d = l < 3 ? a : d, l = 1), t = xe(t); ++n < l; ) {
|
61287
61287
|
var h = r[n];
|
61288
61288
|
h && e(t, h, n, d);
|
61289
61289
|
}
|
@@ -61296,15 +61296,15 @@ Gs.exports;
|
|
61296
61296
|
return r;
|
61297
61297
|
if (!et(r))
|
61298
61298
|
return e(r, n);
|
61299
|
-
for (var
|
61299
|
+
for (var l = r.length, d = t ? l : -1, f = xe(r); (t ? d-- : ++d < l) && n(f[d], d, f) !== !1; )
|
61300
61300
|
;
|
61301
61301
|
return r;
|
61302
61302
|
};
|
61303
61303
|
}
|
61304
61304
|
function Zo(e) {
|
61305
61305
|
return function(t, r, n) {
|
61306
|
-
for (var
|
61307
|
-
var x = f[e ? h : ++
|
61306
|
+
for (var l = -1, d = xe(t), f = n(t), h = f.length; h--; ) {
|
61307
|
+
var x = f[e ? h : ++l];
|
61308
61308
|
if (r(d[x], x, d) === !1)
|
61309
61309
|
break;
|
61310
61310
|
}
|
@@ -61312,9 +61312,9 @@ Gs.exports;
|
|
61312
61312
|
};
|
61313
61313
|
}
|
61314
61314
|
function jp(e, t, r) {
|
61315
|
-
var n = t & re,
|
61315
|
+
var n = t & re, l = Da(e);
|
61316
61316
|
function d() {
|
61317
|
-
var f = this && this !== je && this instanceof d ?
|
61317
|
+
var f = this && this !== je && this instanceof d ? l : e;
|
61318
61318
|
return f.apply(n ? r : this, arguments);
|
61319
61319
|
}
|
61320
61320
|
return d;
|
@@ -61322,8 +61322,8 @@ Gs.exports;
|
|
61322
61322
|
function Jo(e) {
|
61323
61323
|
return function(t) {
|
61324
61324
|
t = fe(t);
|
61325
|
-
var r = jr(t) ? qt(t) : a, n = r ? r[0] : t.charAt(0),
|
61326
|
-
return n[e]() +
|
61325
|
+
var r = jr(t) ? qt(t) : a, n = r ? r[0] : t.charAt(0), l = r ? mr(r, 1).join("") : t.slice(1);
|
61326
|
+
return n[e]() + l;
|
61327
61327
|
};
|
61328
61328
|
}
|
61329
61329
|
function Yr(e) {
|
@@ -61358,8 +61358,8 @@ Gs.exports;
|
|
61358
61358
|
}
|
61359
61359
|
function Up(e, t, r) {
|
61360
61360
|
var n = Da(e);
|
61361
|
-
function
|
61362
|
-
for (var d = arguments.length, f = T(d), h = d, x = Vr(
|
61361
|
+
function l() {
|
61362
|
+
for (var d = arguments.length, f = T(d), h = d, x = Vr(l); h--; )
|
61363
61363
|
f[h] = arguments[h];
|
61364
61364
|
var A = d < 3 && f[0] !== x && f[d - 1] !== x ? [] : lr(f, x);
|
61365
61365
|
if (d -= A.length, d < r)
|
@@ -61367,7 +61367,7 @@ Gs.exports;
|
|
61367
61367
|
e,
|
61368
61368
|
t,
|
61369
61369
|
Is,
|
61370
|
-
|
61370
|
+
l.placeholder,
|
61371
61371
|
a,
|
61372
61372
|
f,
|
61373
61373
|
A,
|
@@ -61375,32 +61375,32 @@ Gs.exports;
|
|
61375
61375
|
a,
|
61376
61376
|
r - d
|
61377
61377
|
);
|
61378
|
-
var q = this && this !== je && this instanceof
|
61378
|
+
var q = this && this !== je && this instanceof l ? n : e;
|
61379
61379
|
return nt(q, this, f);
|
61380
61380
|
}
|
61381
|
-
return
|
61381
|
+
return l;
|
61382
61382
|
}
|
61383
61383
|
function el(e) {
|
61384
61384
|
return function(t, r, n) {
|
61385
|
-
var
|
61385
|
+
var l = xe(t);
|
61386
61386
|
if (!et(t)) {
|
61387
61387
|
var d = j(r, 3);
|
61388
61388
|
t = Le(t), r = function(h) {
|
61389
|
-
return d(
|
61389
|
+
return d(l[h], h, l);
|
61390
61390
|
};
|
61391
61391
|
}
|
61392
61392
|
var f = e(t, r, n);
|
61393
|
-
return f > -1 ?
|
61393
|
+
return f > -1 ? l[d ? t[f] : f] : a;
|
61394
61394
|
};
|
61395
61395
|
}
|
61396
61396
|
function tl(e) {
|
61397
61397
|
return Zt(function(t) {
|
61398
|
-
var r = t.length, n = r,
|
61398
|
+
var r = t.length, n = r, l = bt.prototype.thru;
|
61399
61399
|
for (e && t.reverse(); n--; ) {
|
61400
61400
|
var d = t[n];
|
61401
61401
|
if (typeof d != "function")
|
61402
61402
|
throw new gt(m);
|
61403
|
-
if (
|
61403
|
+
if (l && !f && qs(d) == "wrapper")
|
61404
61404
|
var f = new bt([], !0);
|
61405
61405
|
}
|
61406
61406
|
for (n = f ? n : r; ++n < r; ) {
|
@@ -61418,14 +61418,14 @@ Gs.exports;
|
|
61418
61418
|
};
|
61419
61419
|
});
|
61420
61420
|
}
|
61421
|
-
function Is(e, t, r, n,
|
61421
|
+
function Is(e, t, r, n, l, d, f, h, x, A) {
|
61422
61422
|
var q = t & Z, C = t & re, P = t & E, L = t & (le | ee), W = t & ge, Q = P ? a : Da(e);
|
61423
61423
|
function H() {
|
61424
61424
|
for (var se = arguments.length, oe = T(se), ut = se; ut--; )
|
61425
61425
|
oe[ut] = arguments[ut];
|
61426
61426
|
if (L)
|
61427
61427
|
var Ye = Vr(H), dt = ed(oe, Ye);
|
61428
|
-
if (n && (oe = Yo(oe, n,
|
61428
|
+
if (n && (oe = Yo(oe, n, l, L)), d && (oe = Vo(oe, d, f, L)), se -= dt, L && se < A) {
|
61429
61429
|
var Se = lr(oe, Ye);
|
61430
61430
|
return sl(
|
61431
61431
|
e,
|
@@ -61452,23 +61452,23 @@ Gs.exports;
|
|
61452
61452
|
}
|
61453
61453
|
function Ds(e, t) {
|
61454
61454
|
return function(r, n) {
|
61455
|
-
var
|
61455
|
+
var l;
|
61456
61456
|
if (r === a && n === a)
|
61457
61457
|
return t;
|
61458
|
-
if (r !== a && (
|
61459
|
-
if (
|
61458
|
+
if (r !== a && (l = r), n !== a) {
|
61459
|
+
if (l === a)
|
61460
61460
|
return n;
|
61461
|
-
typeof r == "string" || typeof n == "string" ? (r = lt(r), n = lt(n)) : (r = jo(r), n = jo(n)),
|
61461
|
+
typeof r == "string" || typeof n == "string" ? (r = lt(r), n = lt(n)) : (r = jo(r), n = jo(n)), l = e(r, n);
|
61462
61462
|
}
|
61463
|
-
return
|
61463
|
+
return l;
|
61464
61464
|
};
|
61465
61465
|
}
|
61466
61466
|
function Ui(e) {
|
61467
61467
|
return Zt(function(t) {
|
61468
61468
|
return t = Te(t, ot(j())), J(function(r) {
|
61469
61469
|
var n = this;
|
61470
|
-
return e(t, function(
|
61471
|
-
return nt(
|
61470
|
+
return e(t, function(l) {
|
61471
|
+
return nt(l, n, r);
|
61472
61472
|
});
|
61473
61473
|
});
|
61474
61474
|
});
|
@@ -61482,13 +61482,13 @@ Gs.exports;
|
|
61482
61482
|
return jr(t) ? mr(qt(n), 0, e).join("") : n.slice(0, e);
|
61483
61483
|
}
|
61484
61484
|
function Wp(e, t, r, n) {
|
61485
|
-
var
|
61485
|
+
var l = t & re, d = Da(e);
|
61486
61486
|
function f() {
|
61487
61487
|
for (var h = -1, x = arguments.length, A = -1, q = n.length, C = T(q + x), P = this && this !== je && this instanceof f ? d : e; ++A < q; )
|
61488
61488
|
C[A] = n[A];
|
61489
61489
|
for (; x--; )
|
61490
61490
|
C[A++] = arguments[++h];
|
61491
|
-
return nt(P,
|
61491
|
+
return nt(P, l ? r : this, C);
|
61492
61492
|
}
|
61493
61493
|
return f;
|
61494
61494
|
}
|
@@ -61502,13 +61502,13 @@ Gs.exports;
|
|
61502
61502
|
return typeof t == "string" && typeof r == "string" || (t = Tt(t), r = Tt(r)), e(t, r);
|
61503
61503
|
};
|
61504
61504
|
}
|
61505
|
-
function sl(e, t, r, n,
|
61505
|
+
function sl(e, t, r, n, l, d, f, h, x, A) {
|
61506
61506
|
var q = t & le, C = q ? f : a, P = q ? a : f, L = q ? d : a, W = q ? a : d;
|
61507
61507
|
t |= q ? K : ce, t &= ~(q ? ce : K), t & M || (t &= ~(re | E));
|
61508
61508
|
var Q = [
|
61509
61509
|
e,
|
61510
61510
|
t,
|
61511
|
-
|
61511
|
+
l,
|
61512
61512
|
L,
|
61513
61513
|
C,
|
61514
61514
|
W,
|
@@ -61523,8 +61523,8 @@ Gs.exports;
|
|
61523
61523
|
var t = Pe[e];
|
61524
61524
|
return function(r, n) {
|
61525
61525
|
if (r = Tt(r), n = n == null ? 0 : We(V(n), 292), n && _o(r)) {
|
61526
|
-
var
|
61527
|
-
return
|
61526
|
+
var l = (fe(r) + "e").split("e"), d = t(l[0] + "e" + (+l[1] + n));
|
61527
|
+
return l = (fe(d) + "e").split("e"), +(l[0] + "e" + (+l[1] - n));
|
61528
61528
|
}
|
61529
61529
|
return t(r);
|
61530
61530
|
};
|
@@ -61538,44 +61538,44 @@ Gs.exports;
|
|
61538
61538
|
return r == st ? bi(t) : r == it ? od(t) : Ju(t, e(t));
|
61539
61539
|
};
|
61540
61540
|
}
|
61541
|
-
function Qt(e, t, r, n,
|
61541
|
+
function Qt(e, t, r, n, l, d, f, h) {
|
61542
61542
|
var x = t & E;
|
61543
61543
|
if (!x && typeof e != "function")
|
61544
61544
|
throw new gt(m);
|
61545
61545
|
var A = n ? n.length : 0;
|
61546
|
-
if (A || (t &= ~(K | ce), n =
|
61547
|
-
var q = n, C =
|
61548
|
-
n =
|
61546
|
+
if (A || (t &= ~(K | ce), n = l = a), f = f === a ? f : Oe(V(f), 0), h = h === a ? h : V(h), A -= l ? l.length : 0, t & ce) {
|
61547
|
+
var q = n, C = l;
|
61548
|
+
n = l = a;
|
61549
61549
|
}
|
61550
61550
|
var P = x ? a : Gi(e), L = [
|
61551
61551
|
e,
|
61552
61552
|
t,
|
61553
61553
|
r,
|
61554
61554
|
n,
|
61555
|
-
|
61555
|
+
l,
|
61556
61556
|
q,
|
61557
61557
|
C,
|
61558
61558
|
d,
|
61559
61559
|
f,
|
61560
61560
|
h
|
61561
61561
|
];
|
61562
|
-
if (P && im(L, P), e = L[0], t = L[1], r = L[2], n = L[3],
|
61562
|
+
if (P && im(L, P), e = L[0], t = L[1], r = L[2], n = L[3], l = L[4], h = L[9] = L[9] === a ? x ? 0 : e.length : Oe(L[9] - A, 0), !h && t & (le | ee) && (t &= ~(le | ee)), !t || t == re)
|
61563
61563
|
var W = jp(e, t, r);
|
61564
61564
|
else
|
61565
|
-
t == le || t == ee ? W = Up(e, t, h) : (t == K || t == (re | K)) && !
|
61565
|
+
t == le || t == ee ? W = Up(e, t, h) : (t == K || t == (re | K)) && !l.length ? W = Wp(e, t, r, n) : W = Is.apply(a, L);
|
61566
61566
|
var Q = P ? Fo : hl;
|
61567
61567
|
return _l(Q(W, L), e, t);
|
61568
61568
|
}
|
61569
61569
|
function nl(e, t, r, n) {
|
61570
61570
|
return e === a || St(e, Hr[r]) && !ye.call(n, r) ? t : e;
|
61571
61571
|
}
|
61572
|
-
function ol(e, t, r, n,
|
61572
|
+
function ol(e, t, r, n, l, d) {
|
61573
61573
|
return De(e) && De(t) && (d.set(t, e), xs(e, t, a, ol, d), d.delete(t)), e;
|
61574
61574
|
}
|
61575
61575
|
function $p(e) {
|
61576
61576
|
return qa(e) ? a : e;
|
61577
61577
|
}
|
61578
|
-
function ll(e, t, r, n,
|
61578
|
+
function ll(e, t, r, n, l, d) {
|
61579
61579
|
var f = r & F, h = e.length, x = t.length;
|
61580
61580
|
if (h != x && !(f && x > h))
|
61581
61581
|
return !1;
|
@@ -61595,20 +61595,20 @@ Gs.exports;
|
|
61595
61595
|
}
|
61596
61596
|
if (L) {
|
61597
61597
|
if (!mi(t, function(se, oe) {
|
61598
|
-
if (!fa(L, oe) && (W === se ||
|
61598
|
+
if (!fa(L, oe) && (W === se || l(W, se, r, n, d)))
|
61599
61599
|
return L.push(oe);
|
61600
61600
|
})) {
|
61601
61601
|
P = !1;
|
61602
61602
|
break;
|
61603
61603
|
}
|
61604
|
-
} else if (!(W === Q ||
|
61604
|
+
} else if (!(W === Q || l(W, Q, r, n, d))) {
|
61605
61605
|
P = !1;
|
61606
61606
|
break;
|
61607
61607
|
}
|
61608
61608
|
}
|
61609
61609
|
return d.delete(e), d.delete(t), P;
|
61610
61610
|
}
|
61611
|
-
function Gp(e, t, r, n,
|
61611
|
+
function Gp(e, t, r, n, l, d, f) {
|
61612
61612
|
switch (r) {
|
61613
61613
|
case ir:
|
61614
61614
|
if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
|
@@ -61635,7 +61635,7 @@ Gs.exports;
|
|
61635
61635
|
if (A)
|
61636
61636
|
return A == t;
|
61637
61637
|
n |= B, f.set(e, t);
|
61638
|
-
var q = ll(h(e), h(t), n,
|
61638
|
+
var q = ll(h(e), h(t), n, l, d, f);
|
61639
61639
|
return f.delete(e), q;
|
61640
61640
|
case Er:
|
61641
61641
|
if (ba)
|
@@ -61643,7 +61643,7 @@ Gs.exports;
|
|
61643
61643
|
}
|
61644
61644
|
return !1;
|
61645
61645
|
}
|
61646
|
-
function Xp(e, t, r, n,
|
61646
|
+
function Xp(e, t, r, n, l, d) {
|
61647
61647
|
var f = r & F, h = Hi(e), x = h.length, A = Hi(t), q = A.length;
|
61648
61648
|
if (x != q && !f)
|
61649
61649
|
return !1;
|
@@ -61662,7 +61662,7 @@ Gs.exports;
|
|
61662
61662
|
var se = e[P], oe = t[P];
|
61663
61663
|
if (n)
|
61664
61664
|
var ut = f ? n(oe, se, P, t, e, d) : n(se, oe, P, e, t, d);
|
61665
|
-
if (!(ut === a ? se === oe ||
|
61665
|
+
if (!(ut === a ? se === oe || l(se, oe, r, n, d) : ut)) {
|
61666
61666
|
Q = !1;
|
61667
61667
|
break;
|
61668
61668
|
}
|
@@ -61688,9 +61688,9 @@ Gs.exports;
|
|
61688
61688
|
} : pn;
|
61689
61689
|
function qs(e) {
|
61690
61690
|
for (var t = e.name + "", r = Gr[t], n = ye.call(Gr, t) ? r.length : 0; n--; ) {
|
61691
|
-
var
|
61691
|
+
var l = r[n], d = l.func;
|
61692
61692
|
if (d == null || d == e)
|
61693
|
-
return
|
61693
|
+
return l.name;
|
61694
61694
|
}
|
61695
61695
|
return t;
|
61696
61696
|
}
|
@@ -61708,8 +61708,8 @@ Gs.exports;
|
|
61708
61708
|
}
|
61709
61709
|
function Xi(e) {
|
61710
61710
|
for (var t = Le(e), r = t.length; r--; ) {
|
61711
|
-
var n = t[r],
|
61712
|
-
t[r] = [n,
|
61711
|
+
var n = t[r], l = e[n];
|
61712
|
+
t[r] = [n, l, pl(l)];
|
61713
61713
|
}
|
61714
61714
|
return t;
|
61715
61715
|
}
|
@@ -61724,8 +61724,8 @@ Gs.exports;
|
|
61724
61724
|
var n = !0;
|
61725
61725
|
} catch {
|
61726
61726
|
}
|
61727
|
-
var
|
61728
|
-
return n && (t ? e[wr] = r : delete e[wr]),
|
61727
|
+
var l = ns.call(e);
|
61728
|
+
return n && (t ? e[wr] = r : delete e[wr]), l;
|
61729
61729
|
}
|
61730
61730
|
var Ki = vi ? function(e) {
|
61731
61731
|
return e == null ? [] : (e = xe(e), nr(vi(e), function(t) {
|
@@ -61754,7 +61754,7 @@ Gs.exports;
|
|
61754
61754
|
return t;
|
61755
61755
|
});
|
61756
61756
|
function Yp(e, t, r) {
|
61757
|
-
for (var n = -1,
|
61757
|
+
for (var n = -1, l = r.length; ++n < l; ) {
|
61758
61758
|
var d = r[n], f = d.size;
|
61759
61759
|
switch (d.type) {
|
61760
61760
|
case "drop":
|
@@ -61779,13 +61779,13 @@ Gs.exports;
|
|
61779
61779
|
}
|
61780
61780
|
function ul(e, t, r) {
|
61781
61781
|
t = pr(t, e);
|
61782
|
-
for (var n = -1,
|
61782
|
+
for (var n = -1, l = t.length, d = !1; ++n < l; ) {
|
61783
61783
|
var f = Bt(t[n]);
|
61784
61784
|
if (!(d = e != null && r(e, f)))
|
61785
61785
|
break;
|
61786
61786
|
e = e[f];
|
61787
61787
|
}
|
61788
|
-
return d || ++n !=
|
61788
|
+
return d || ++n != l ? d : (l = e == null ? 0 : e.length, !!l && Rs(l) && Jt(f, l) && (Y(e) || Cr(e)));
|
61789
61789
|
}
|
61790
61790
|
function Qp(e) {
|
61791
61791
|
var t = e.length, r = new e.constructor(t);
|
@@ -61891,16 +61891,16 @@ Gs.exports;
|
|
61891
61891
|
return t;
|
61892
61892
|
}
|
61893
61893
|
function im(e, t) {
|
61894
|
-
var r = e[1], n = t[1],
|
61894
|
+
var r = e[1], n = t[1], l = r | n, d = l < (re | E | Z), f = n == Z && r == le || n == Z && r == ze && e[7].length <= t[8] || n == (Z | ze) && t[7].length <= t[8] && r == le;
|
61895
61895
|
if (!(d || f))
|
61896
61896
|
return e;
|
61897
|
-
n & re && (e[2] = t[2],
|
61897
|
+
n & re && (e[2] = t[2], l |= r & re ? 0 : M);
|
61898
61898
|
var h = t[3];
|
61899
61899
|
if (h) {
|
61900
61900
|
var x = e[3];
|
61901
61901
|
e[3] = x ? Yo(x, h, t[4]) : h, e[4] = x ? lr(e[3], w) : t[4];
|
61902
61902
|
}
|
61903
|
-
return h = t[5], h && (x = e[5], e[5] = x ? Vo(x, h, t[6]) : h, e[6] = x ? lr(e[5], w) : t[6]), h = t[7], h && (e[7] = h), n & Z && (e[8] = e[8] == null ? t[8] : We(e[8], t[8])), e[9] == null && (e[9] = t[9]), e[0] = t[0], e[1] =
|
61903
|
+
return h = t[5], h && (x = e[5], e[5] = x ? Vo(x, h, t[6]) : h, e[6] = x ? lr(e[5], w) : t[6]), h = t[7], h && (e[7] = h), n & Z && (e[8] = e[8] == null ? t[8] : We(e[8], t[8])), e[9] == null && (e[9] = t[9]), e[0] = t[0], e[1] = l, e;
|
61904
61904
|
}
|
61905
61905
|
function nm(e) {
|
61906
61906
|
var t = [];
|
@@ -61914,11 +61914,11 @@ Gs.exports;
|
|
61914
61914
|
}
|
61915
61915
|
function fl(e, t, r) {
|
61916
61916
|
return t = Oe(t === a ? e.length - 1 : t, 0), function() {
|
61917
|
-
for (var n = arguments,
|
61918
|
-
f[
|
61919
|
-
|
61920
|
-
for (var h = T(t + 1); ++
|
61921
|
-
h[
|
61917
|
+
for (var n = arguments, l = -1, d = Oe(n.length - t, 0), f = T(d); ++l < d; )
|
61918
|
+
f[l] = n[t + l];
|
61919
|
+
l = -1;
|
61920
|
+
for (var h = T(t + 1); ++l < t; )
|
61921
|
+
h[l] = n[l];
|
61922
61922
|
return h[t] = r(f), nt(e, this, h);
|
61923
61923
|
};
|
61924
61924
|
}
|
@@ -61926,9 +61926,9 @@ Gs.exports;
|
|
61926
61926
|
return t.length < 2 ? e : kr(e, vt(t, 0, -1));
|
61927
61927
|
}
|
61928
61928
|
function lm(e, t) {
|
61929
|
-
for (var r = e.length, n = We(t.length, r),
|
61929
|
+
for (var r = e.length, n = We(t.length, r), l = Je(e); n--; ) {
|
61930
61930
|
var d = t[n];
|
61931
|
-
e[n] = Jt(d, r) ?
|
61931
|
+
e[n] = Jt(d, r) ? l[d] : a;
|
61932
61932
|
}
|
61933
61933
|
return e;
|
61934
61934
|
}
|
@@ -61946,8 +61946,8 @@ Gs.exports;
|
|
61946
61946
|
function gl(e) {
|
61947
61947
|
var t = 0, r = 0;
|
61948
61948
|
return function() {
|
61949
|
-
var n = Ad(),
|
61950
|
-
if (r = n,
|
61949
|
+
var n = Ad(), l = Ne - (n - r);
|
61950
|
+
if (r = n, l > 0) {
|
61951
61951
|
if (++t >= ft)
|
61952
61952
|
return arguments[0];
|
61953
61953
|
} else
|
@@ -61956,17 +61956,17 @@ Gs.exports;
|
|
61956
61956
|
};
|
61957
61957
|
}
|
61958
61958
|
function Ss(e, t) {
|
61959
|
-
var r = -1, n = e.length,
|
61959
|
+
var r = -1, n = e.length, l = n - 1;
|
61960
61960
|
for (t = t === a ? n : t; ++r < t; ) {
|
61961
|
-
var d = Oi(r,
|
61961
|
+
var d = Oi(r, l), f = e[d];
|
61962
61962
|
e[d] = e[r], e[r] = f;
|
61963
61963
|
}
|
61964
61964
|
return e.length = t, e;
|
61965
61965
|
}
|
61966
61966
|
var bl = sm(function(e) {
|
61967
61967
|
var t = [];
|
61968
|
-
return e.charCodeAt(0) === 46 && t.push(""), e.replace(ei, function(r, n,
|
61969
|
-
t.push(
|
61968
|
+
return e.charCodeAt(0) === 46 && t.push(""), e.replace(ei, function(r, n, l, d) {
|
61969
|
+
t.push(l ? d.replace($, "$1") : n || r);
|
61970
61970
|
}), t;
|
61971
61971
|
});
|
61972
61972
|
function Bt(e) {
|
@@ -62005,16 +62005,16 @@ Gs.exports;
|
|
62005
62005
|
var n = e == null ? 0 : e.length;
|
62006
62006
|
if (!n || t < 1)
|
62007
62007
|
return [];
|
62008
|
-
for (var
|
62009
|
-
f[d++] = vt(e,
|
62008
|
+
for (var l = 0, d = 0, f = T(ps(n / t)); l < n; )
|
62009
|
+
f[d++] = vt(e, l, l += t);
|
62010
62010
|
return f;
|
62011
62011
|
}
|
62012
62012
|
function dm(e) {
|
62013
|
-
for (var t = -1, r = e == null ? 0 : e.length, n = 0,
|
62013
|
+
for (var t = -1, r = e == null ? 0 : e.length, n = 0, l = []; ++t < r; ) {
|
62014
62014
|
var d = e[t];
|
62015
|
-
d && (
|
62015
|
+
d && (l[n++] = d);
|
62016
62016
|
}
|
62017
|
-
return
|
62017
|
+
return l;
|
62018
62018
|
}
|
62019
62019
|
function pm() {
|
62020
62020
|
var e = arguments.length;
|
@@ -62048,22 +62048,22 @@ Gs.exports;
|
|
62048
62048
|
return e && e.length ? ws(e, j(t, 3), !0) : [];
|
62049
62049
|
}
|
62050
62050
|
function xm(e, t, r, n) {
|
62051
|
-
var
|
62052
|
-
return
|
62051
|
+
var l = e == null ? 0 : e.length;
|
62052
|
+
return l ? (r && typeof r != "number" && Ke(e, t, r) && (r = 0, n = l), pp(e, t, r, n)) : [];
|
62053
62053
|
}
|
62054
62054
|
function vl(e, t, r) {
|
62055
62055
|
var n = e == null ? 0 : e.length;
|
62056
62056
|
if (!n)
|
62057
62057
|
return -1;
|
62058
|
-
var
|
62059
|
-
return
|
62058
|
+
var l = r == null ? 0 : V(r);
|
62059
|
+
return l < 0 && (l = Oe(n + l, 0)), ts(e, j(t, 3), l);
|
62060
62060
|
}
|
62061
62061
|
function wl(e, t, r) {
|
62062
62062
|
var n = e == null ? 0 : e.length;
|
62063
62063
|
if (!n)
|
62064
62064
|
return -1;
|
62065
|
-
var
|
62066
|
-
return r !== a && (
|
62065
|
+
var l = n - 1;
|
62066
|
+
return r !== a && (l = V(r), l = r < 0 ? Oe(n + l, 0) : We(l, n - 1)), ts(e, j(t, 3), l, !0);
|
62067
62067
|
}
|
62068
62068
|
function Tl(e) {
|
62069
62069
|
var t = e == null ? 0 : e.length;
|
@@ -62079,8 +62079,8 @@ Gs.exports;
|
|
62079
62079
|
}
|
62080
62080
|
function Tm(e) {
|
62081
62081
|
for (var t = -1, r = e == null ? 0 : e.length, n = {}; ++t < r; ) {
|
62082
|
-
var
|
62083
|
-
n[
|
62082
|
+
var l = e[t];
|
62083
|
+
n[l[0]] = l[1];
|
62084
62084
|
}
|
62085
62085
|
return n;
|
62086
62086
|
}
|
@@ -62091,8 +62091,8 @@ Gs.exports;
|
|
62091
62091
|
var n = e == null ? 0 : e.length;
|
62092
62092
|
if (!n)
|
62093
62093
|
return -1;
|
62094
|
-
var
|
62095
|
-
return
|
62094
|
+
var l = r == null ? 0 : V(r);
|
62095
|
+
return l < 0 && (l = Oe(n + l, 0)), Br(e, t, l);
|
62096
62096
|
}
|
62097
62097
|
function Dm(e) {
|
62098
62098
|
var t = e == null ? 0 : e.length;
|
@@ -62119,8 +62119,8 @@ Gs.exports;
|
|
62119
62119
|
var n = e == null ? 0 : e.length;
|
62120
62120
|
if (!n)
|
62121
62121
|
return -1;
|
62122
|
-
var
|
62123
|
-
return r !== a && (
|
62122
|
+
var l = n;
|
62123
|
+
return r !== a && (l = V(r), l = l < 0 ? Oe(n + l, 0) : We(l, n - 1)), t === t ? cd(e, t, l) : ts(e, ao, l, !0);
|
62124
62124
|
}
|
62125
62125
|
function zm(e, t) {
|
62126
62126
|
return e && e.length ? Eo(e, V(t)) : a;
|
@@ -62137,20 +62137,20 @@ Gs.exports;
|
|
62137
62137
|
}
|
62138
62138
|
var Em = Zt(function(e, t) {
|
62139
62139
|
var r = e == null ? 0 : e.length, n = Di(e, t);
|
62140
|
-
return Lo(e, Te(t, function(
|
62141
|
-
return Jt(
|
62140
|
+
return Lo(e, Te(t, function(l) {
|
62141
|
+
return Jt(l, r) ? +l : l;
|
62142
62142
|
}).sort(Ko)), n;
|
62143
62143
|
});
|
62144
62144
|
function Rm(e, t) {
|
62145
62145
|
var r = [];
|
62146
62146
|
if (!(e && e.length))
|
62147
62147
|
return r;
|
62148
|
-
var n = -1,
|
62148
|
+
var n = -1, l = [], d = e.length;
|
62149
62149
|
for (t = j(t, 3); ++n < d; ) {
|
62150
62150
|
var f = e[n];
|
62151
|
-
t(f, n, e) && (r.push(f),
|
62151
|
+
t(f, n, e) && (r.push(f), l.push(n));
|
62152
62152
|
}
|
62153
|
-
return Lo(e,
|
62153
|
+
return Lo(e, l), r;
|
62154
62154
|
}
|
62155
62155
|
function Ji(e) {
|
62156
62156
|
return e == null ? e : Cd.call(e);
|
@@ -62281,12 +62281,12 @@ Gs.exports;
|
|
62281
62281
|
return t(e);
|
62282
62282
|
}
|
62283
62283
|
var mf = Zt(function(e) {
|
62284
|
-
var t = e.length, r = t ? e[0] : 0, n = this.__wrapped__,
|
62284
|
+
var t = e.length, r = t ? e[0] : 0, n = this.__wrapped__, l = function(d) {
|
62285
62285
|
return Di(d, e);
|
62286
62286
|
};
|
62287
|
-
return t > 1 || this.__actions__.length || !(n instanceof ne) || !Jt(r) ? this.thru(
|
62287
|
+
return t > 1 || this.__actions__.length || !(n instanceof ne) || !Jt(r) ? this.thru(l) : (n = n.slice(r, +r + (t ? 1 : 0)), n.__actions__.push({
|
62288
62288
|
func: zs,
|
62289
|
-
args: [
|
62289
|
+
args: [l],
|
62290
62290
|
thisArg: a
|
62291
62291
|
}), new bt(n, this.__chain__).thru(function(d) {
|
62292
62292
|
return t && !d.length && d.push(a), d;
|
@@ -62309,11 +62309,11 @@ Gs.exports;
|
|
62309
62309
|
function gf(e) {
|
62310
62310
|
for (var t, r = this; r instanceof hs; ) {
|
62311
62311
|
var n = xl(r);
|
62312
|
-
n.__index__ = 0, n.__values__ = a, t ?
|
62313
|
-
var
|
62312
|
+
n.__index__ = 0, n.__values__ = a, t ? l.__wrapped__ = n : t = n;
|
62313
|
+
var l = n;
|
62314
62314
|
r = r.__wrapped__;
|
62315
62315
|
}
|
62316
|
-
return
|
62316
|
+
return l.__wrapped__ = e, t;
|
62317
62317
|
}
|
62318
62318
|
function bf() {
|
62319
62319
|
var e = this.__wrapped__;
|
@@ -62364,13 +62364,13 @@ Gs.exports;
|
|
62364
62364
|
});
|
62365
62365
|
function Sf(e, t, r, n) {
|
62366
62366
|
e = et(e) ? e : Zr(e), r = r && !n ? V(r) : 0;
|
62367
|
-
var
|
62368
|
-
return r < 0 && (r = Oe(
|
62367
|
+
var l = e.length;
|
62368
|
+
return r < 0 && (r = Oe(l + r, 0)), Ms(e) ? r <= l && e.indexOf(t, r) > -1 : !!l && Br(e, t, r) > -1;
|
62369
62369
|
}
|
62370
62370
|
var zf = J(function(e, t, r) {
|
62371
|
-
var n = -1,
|
62371
|
+
var n = -1, l = typeof t == "function", d = et(e) ? T(e.length) : [];
|
62372
62372
|
return ur(e, function(f) {
|
62373
|
-
d[++n] =
|
62373
|
+
d[++n] = l ? nt(t, f, r) : wa(f, t, r);
|
62374
62374
|
}), d;
|
62375
62375
|
}), Nf = Ts(function(e, t, r) {
|
62376
62376
|
Vt(e, r, t);
|
@@ -62388,12 +62388,12 @@ Gs.exports;
|
|
62388
62388
|
return [[], []];
|
62389
62389
|
});
|
62390
62390
|
function Ef(e, t, r) {
|
62391
|
-
var n = Y(e) ? pi : io,
|
62392
|
-
return n(e, j(t, 4), r,
|
62391
|
+
var n = Y(e) ? pi : io, l = arguments.length < 3;
|
62392
|
+
return n(e, j(t, 4), r, l, ur);
|
62393
62393
|
}
|
62394
62394
|
function Rf(e, t, r) {
|
62395
|
-
var n = Y(e) ? Xu : io,
|
62396
|
-
return n(e, j(t, 4), r,
|
62395
|
+
var n = Y(e) ? Xu : io, l = arguments.length < 3;
|
62396
|
+
return n(e, j(t, 4), r, l, Do);
|
62397
62397
|
}
|
62398
62398
|
function Mf(e, t) {
|
62399
62399
|
var r = Y(e) ? nr : ko;
|
@@ -62454,17 +62454,17 @@ Gs.exports;
|
|
62454
62454
|
var tn = J(function(e, t, r) {
|
62455
62455
|
var n = re;
|
62456
62456
|
if (r.length) {
|
62457
|
-
var
|
62457
|
+
var l = lr(r, Vr(tn));
|
62458
62458
|
n |= K;
|
62459
62459
|
}
|
62460
|
-
return Qt(e, n, t, r,
|
62460
|
+
return Qt(e, n, t, r, l);
|
62461
62461
|
}), Nl = J(function(e, t, r) {
|
62462
62462
|
var n = re | E;
|
62463
62463
|
if (r.length) {
|
62464
|
-
var
|
62464
|
+
var l = lr(r, Vr(Nl));
|
62465
62465
|
n |= K;
|
62466
62466
|
}
|
62467
|
-
return Qt(t, n, e, r,
|
62467
|
+
return Qt(t, n, e, r, l);
|
62468
62468
|
});
|
62469
62469
|
function Pl(e, t, r) {
|
62470
62470
|
t = r ? a : t;
|
@@ -62477,13 +62477,13 @@ Gs.exports;
|
|
62477
62477
|
return n.placeholder = Ol.placeholder, n;
|
62478
62478
|
}
|
62479
62479
|
function El(e, t, r) {
|
62480
|
-
var n,
|
62480
|
+
var n, l, d, f, h, x, A = 0, q = !1, C = !1, P = !0;
|
62481
62481
|
if (typeof e != "function")
|
62482
62482
|
throw new gt(m);
|
62483
62483
|
t = Tt(t) || 0, De(r) && (q = !!r.leading, C = "maxWait" in r, d = C ? Oe(Tt(r.maxWait) || 0, t) : d, P = "trailing" in r ? !!r.trailing : P);
|
62484
62484
|
function L(Se) {
|
62485
|
-
var zt = n, rr =
|
62486
|
-
return n =
|
62485
|
+
var zt = n, rr = l;
|
62486
|
+
return n = l = a, A = Se, f = e.apply(rr, zt), f;
|
62487
62487
|
}
|
62488
62488
|
function W(Se) {
|
62489
62489
|
return A = Se, h = Aa(se, t), q ? L(Se) : f;
|
@@ -62503,17 +62503,17 @@ Gs.exports;
|
|
62503
62503
|
h = Aa(se, Q(Se));
|
62504
62504
|
}
|
62505
62505
|
function oe(Se) {
|
62506
|
-
return h = a, P && n ? L(Se) : (n =
|
62506
|
+
return h = a, P && n ? L(Se) : (n = l = a, f);
|
62507
62507
|
}
|
62508
62508
|
function ut() {
|
62509
|
-
h !== a && $o(h), A = 0, n = x =
|
62509
|
+
h !== a && $o(h), A = 0, n = x = l = h = a;
|
62510
62510
|
}
|
62511
62511
|
function Ye() {
|
62512
62512
|
return h === a ? f : oe(Ps());
|
62513
62513
|
}
|
62514
62514
|
function dt() {
|
62515
62515
|
var Se = Ps(), zt = H(Se);
|
62516
|
-
if (n = arguments,
|
62516
|
+
if (n = arguments, l = this, x = Se, zt) {
|
62517
62517
|
if (h === a)
|
62518
62518
|
return W(x);
|
62519
62519
|
if (C)
|
@@ -62535,11 +62535,11 @@ Gs.exports;
|
|
62535
62535
|
if (typeof e != "function" || t != null && typeof t != "function")
|
62536
62536
|
throw new gt(m);
|
62537
62537
|
var r = function() {
|
62538
|
-
var n = arguments,
|
62539
|
-
if (d.has(
|
62540
|
-
return d.get(
|
62538
|
+
var n = arguments, l = t ? t.apply(this, n) : n[0], d = r.cache;
|
62539
|
+
if (d.has(l))
|
62540
|
+
return d.get(l);
|
62541
62541
|
var f = e.apply(this, n);
|
62542
|
-
return r.cache = d.set(
|
62542
|
+
return r.cache = d.set(l, f) || d, f;
|
62543
62543
|
};
|
62544
62544
|
return r.cache = new (Os.Cache || Yt)(), r;
|
62545
62545
|
}
|
@@ -62569,8 +62569,8 @@ Gs.exports;
|
|
62569
62569
|
t = t.length == 1 && Y(t[0]) ? Te(t[0], ot(j())) : Te(Ue(t, 1), ot(j()));
|
62570
62570
|
var r = t.length;
|
62571
62571
|
return J(function(n) {
|
62572
|
-
for (var
|
62573
|
-
n[
|
62572
|
+
for (var l = -1, d = We(n.length, r); ++l < d; )
|
62573
|
+
n[l] = t[l].call(this, n[l]);
|
62574
62574
|
return nt(e, this, n);
|
62575
62575
|
});
|
62576
62576
|
}), rn = J(function(e, t) {
|
@@ -62591,18 +62591,18 @@ Gs.exports;
|
|
62591
62591
|
if (typeof e != "function")
|
62592
62592
|
throw new gt(m);
|
62593
62593
|
return t = t == null ? 0 : Oe(V(t), 0), J(function(r) {
|
62594
|
-
var n = r[t],
|
62595
|
-
return n && or(
|
62594
|
+
var n = r[t], l = mr(r, 0, t);
|
62595
|
+
return n && or(l, n), nt(e, this, l);
|
62596
62596
|
});
|
62597
62597
|
}
|
62598
62598
|
function Jf(e, t, r) {
|
62599
|
-
var n = !0,
|
62599
|
+
var n = !0, l = !0;
|
62600
62600
|
if (typeof e != "function")
|
62601
62601
|
throw new gt(m);
|
62602
|
-
return De(r) && (n = "leading" in r ? !!r.leading : n,
|
62602
|
+
return De(r) && (n = "leading" in r ? !!r.leading : n, l = "trailing" in r ? !!r.trailing : l), El(e, t, {
|
62603
62603
|
leading: n,
|
62604
62604
|
maxWait: t,
|
62605
|
-
trailing:
|
62605
|
+
trailing: l
|
62606
62606
|
});
|
62607
62607
|
}
|
62608
62608
|
function ey(e) {
|
@@ -62833,8 +62833,8 @@ Gs.exports;
|
|
62833
62833
|
}
|
62834
62834
|
var Ey = J(function(e, t) {
|
62835
62835
|
e = xe(e);
|
62836
|
-
var r = -1, n = t.length,
|
62837
|
-
for (
|
62836
|
+
var r = -1, n = t.length, l = n > 2 ? t[2] : a;
|
62837
|
+
for (l && Ke(t[0], t[1], l) && (n = 1); ++r < n; )
|
62838
62838
|
for (var d = t[r], f = tt(d), h = -1, x = f.length; ++h < x; ) {
|
62839
62839
|
var A = f[h], q = e[A];
|
62840
62840
|
(q === a || St(q, Hr[A]) && !ye.call(e, A)) && (e[A] = d[A]);
|
@@ -62890,14 +62890,14 @@ Gs.exports;
|
|
62890
62890
|
}
|
62891
62891
|
function Yy(e, t) {
|
62892
62892
|
var r = {};
|
62893
|
-
return t = j(t, 3), Lt(e, function(n,
|
62894
|
-
Vt(r, t(n,
|
62893
|
+
return t = j(t, 3), Lt(e, function(n, l, d) {
|
62894
|
+
Vt(r, t(n, l, d), n);
|
62895
62895
|
}), r;
|
62896
62896
|
}
|
62897
62897
|
function Vy(e, t) {
|
62898
62898
|
var r = {};
|
62899
|
-
return t = j(t, 3), Lt(e, function(n,
|
62900
|
-
Vt(r,
|
62899
|
+
return t = j(t, 3), Lt(e, function(n, l, d) {
|
62900
|
+
Vt(r, l, t(n, l, d));
|
62901
62901
|
}), r;
|
62902
62902
|
}
|
62903
62903
|
var Qy = Kr(function(e, t, r) {
|
@@ -62912,8 +62912,8 @@ Gs.exports;
|
|
62912
62912
|
t = Te(t, function(d) {
|
62913
62913
|
return d = pr(d, e), n || (n = d.length > 1), d;
|
62914
62914
|
}), Ft(e, $i(e), r), n && (r = xt(r, k | z | R, $p));
|
62915
|
-
for (var
|
62916
|
-
Mi(r, t[
|
62915
|
+
for (var l = t.length; l--; )
|
62916
|
+
Mi(r, t[l]);
|
62917
62917
|
return r;
|
62918
62918
|
});
|
62919
62919
|
function Jy(e, t) {
|
@@ -62928,16 +62928,16 @@ Gs.exports;
|
|
62928
62928
|
var r = Te($i(e), function(n) {
|
62929
62929
|
return [n];
|
62930
62930
|
});
|
62931
|
-
return t = j(t), Mo(e, r, function(n,
|
62932
|
-
return t(n,
|
62931
|
+
return t = j(t), Mo(e, r, function(n, l) {
|
62932
|
+
return t(n, l[0]);
|
62933
62933
|
});
|
62934
62934
|
}
|
62935
62935
|
function th(e, t, r) {
|
62936
62936
|
t = pr(t, e);
|
62937
|
-
var n = -1,
|
62938
|
-
for (
|
62937
|
+
var n = -1, l = t.length;
|
62938
|
+
for (l || (l = 1, e = a); ++n < l; ) {
|
62939
62939
|
var d = e == null ? a : e[Bt(t[n])];
|
62940
|
-
d === a && (n =
|
62940
|
+
d === a && (n = l, d = r), e = er(d) ? d.call(e) : d;
|
62941
62941
|
}
|
62942
62942
|
return e;
|
62943
62943
|
}
|
@@ -62949,12 +62949,12 @@ Gs.exports;
|
|
62949
62949
|
}
|
62950
62950
|
var Xl = il(Le), Kl = il(tt);
|
62951
62951
|
function sh(e, t, r) {
|
62952
|
-
var n = Y(e),
|
62952
|
+
var n = Y(e), l = n || fr(e) || Qr(e);
|
62953
62953
|
if (t = j(t, 4), r == null) {
|
62954
62954
|
var d = e && e.constructor;
|
62955
|
-
|
62955
|
+
l ? r = n ? new d() : [] : De(e) ? r = er(d) ? Xr(cs(e)) : {} : r = {};
|
62956
62956
|
}
|
62957
|
-
return (
|
62957
|
+
return (l ? _t : Lt)(e, function(f, h, x) {
|
62958
62958
|
return t(r, f, h, x);
|
62959
62959
|
}), r;
|
62960
62960
|
}
|
@@ -62985,8 +62985,8 @@ Gs.exports;
|
|
62985
62985
|
e = t, t = n;
|
62986
62986
|
}
|
62987
62987
|
if (r || e % 1 || t % 1) {
|
62988
|
-
var
|
62989
|
-
return We(e +
|
62988
|
+
var l = go();
|
62989
|
+
return We(e + l * (t - e + Uu("1e-" + ((l + "").length - 1))), t);
|
62990
62990
|
}
|
62991
62991
|
return Oi(e, t);
|
62992
62992
|
}
|
@@ -63003,8 +63003,8 @@ Gs.exports;
|
|
63003
63003
|
e = fe(e), t = lt(t);
|
63004
63004
|
var n = e.length;
|
63005
63005
|
r = r === a ? n : Dr(V(r), 0, n);
|
63006
|
-
var
|
63007
|
-
return r -= t.length, r >= 0 && e.slice(r,
|
63006
|
+
var l = r;
|
63007
|
+
return r -= t.length, r >= 0 && e.slice(r, l) == t;
|
63008
63008
|
}
|
63009
63009
|
function fh(e) {
|
63010
63010
|
return e = fe(e), e && Ga.test(e) ? e.replace(Lr, rd) : e;
|
@@ -63022,8 +63022,8 @@ Gs.exports;
|
|
63022
63022
|
var n = t ? Ur(e) : 0;
|
63023
63023
|
if (!t || n >= t)
|
63024
63024
|
return e;
|
63025
|
-
var
|
63026
|
-
return ks(ms(
|
63025
|
+
var l = (t - n) / 2;
|
63026
|
+
return ks(ms(l), r) + e + ks(ps(l), r);
|
63027
63027
|
}
|
63028
63028
|
function xh(e, t, r) {
|
63029
63029
|
e = fe(e), t = V(t);
|
@@ -63060,7 +63060,7 @@ Gs.exports;
|
|
63060
63060
|
function Ch(e, t, r) {
|
63061
63061
|
var n = c.templateSettings;
|
63062
63062
|
r && Ke(e, t, r) && (t = a), e = fe(e), t = Ls({}, t, n, nl);
|
63063
|
-
var
|
63063
|
+
var l = Ls({}, t.imports, n.imports, nl), d = Le(l), f = gi(l, d), h, x, A = 0, q = t.interpolate || At, C = "__p += '", P = xi(
|
63064
63064
|
(t.escape || At).source + "|" + q.source + "|" + (q === Ka ? ue : At).source + "|" + (t.evaluate || At).source + "|$",
|
63065
63065
|
"g"
|
63066
63066
|
), L = "//# sourceURL=" + (ye.call(t, "sourceURL") ? (t.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++Mu + "]") + `
|
@@ -63108,7 +63108,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
63108
63108
|
return no(e);
|
63109
63109
|
if (!e || !(t = lt(t)))
|
63110
63110
|
return e;
|
63111
|
-
var n = qt(e),
|
63111
|
+
var n = qt(e), l = qt(t), d = oo(n, l), f = lo(n, l) + 1;
|
63112
63112
|
return mr(n, d, f).join("");
|
63113
63113
|
}
|
63114
63114
|
function Ph(e, t, r) {
|
@@ -63116,21 +63116,21 @@ function print() { __p += __j.call(arguments, '') }
|
|
63116
63116
|
return e.slice(0, uo(e) + 1);
|
63117
63117
|
if (!e || !(t = lt(t)))
|
63118
63118
|
return e;
|
63119
|
-
var n = qt(e),
|
63120
|
-
return mr(n, 0,
|
63119
|
+
var n = qt(e), l = lo(n, qt(t)) + 1;
|
63120
|
+
return mr(n, 0, l).join("");
|
63121
63121
|
}
|
63122
63122
|
function Oh(e, t, r) {
|
63123
63123
|
if (e = fe(e), e && (r || t === a))
|
63124
63124
|
return e.replace(ma, "");
|
63125
63125
|
if (!e || !(t = lt(t)))
|
63126
63126
|
return e;
|
63127
|
-
var n = qt(e),
|
63128
|
-
return mr(n,
|
63127
|
+
var n = qt(e), l = oo(n, qt(t));
|
63128
|
+
return mr(n, l).join("");
|
63129
63129
|
}
|
63130
63130
|
function Eh(e, t) {
|
63131
63131
|
var r = ae, n = at;
|
63132
63132
|
if (De(t)) {
|
63133
|
-
var
|
63133
|
+
var l = "separator" in t ? t.separator : l;
|
63134
63134
|
r = "length" in t ? V(t.length) : r, n = "omission" in t ? lt(t.omission) : n;
|
63135
63135
|
}
|
63136
63136
|
e = fe(e);
|
@@ -63145,17 +63145,17 @@ function print() { __p += __j.call(arguments, '') }
|
|
63145
63145
|
if (h < 1)
|
63146
63146
|
return n;
|
63147
63147
|
var x = f ? mr(f, 0, h).join("") : e.slice(0, h);
|
63148
|
-
if (
|
63148
|
+
if (l === a)
|
63149
63149
|
return x + n;
|
63150
|
-
if (f && (h += x.length - h), sn(
|
63151
|
-
if (e.slice(h).search(
|
63150
|
+
if (f && (h += x.length - h), sn(l)) {
|
63151
|
+
if (e.slice(h).search(l)) {
|
63152
63152
|
var A, q = x;
|
63153
|
-
for (
|
63153
|
+
for (l.global || (l = xi(l.source, fe(me.exec(l)) + "g")), l.lastIndex = 0; A = l.exec(q); )
|
63154
63154
|
var C = A.index;
|
63155
63155
|
x = x.slice(0, C === a ? h : C);
|
63156
63156
|
}
|
63157
|
-
} else if (e.indexOf(lt(
|
63158
|
-
var P = x.lastIndexOf(
|
63157
|
+
} else if (e.indexOf(lt(l), h) != h) {
|
63158
|
+
var P = x.lastIndexOf(l);
|
63159
63159
|
P > -1 && (x = x.slice(0, P));
|
63160
63160
|
}
|
63161
63161
|
return x + n;
|
@@ -63187,8 +63187,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
63187
63187
|
throw new gt(m);
|
63188
63188
|
return [r(n[0]), n[1]];
|
63189
63189
|
}) : [], J(function(n) {
|
63190
|
-
for (var
|
63191
|
-
var d = e[
|
63190
|
+
for (var l = -1; ++l < t; ) {
|
63191
|
+
var d = e[l];
|
63192
63192
|
if (nt(d[0], this, n))
|
63193
63193
|
return nt(d[1], this, n);
|
63194
63194
|
}
|
@@ -63228,10 +63228,10 @@ function print() { __p += __j.call(arguments, '') }
|
|
63228
63228
|
};
|
63229
63229
|
});
|
63230
63230
|
function dn(e, t, r) {
|
63231
|
-
var n = Le(t),
|
63232
|
-
r == null && !(De(t) && (
|
63231
|
+
var n = Le(t), l = bs(t, n);
|
63232
|
+
r == null && !(De(t) && (l.length || !n.length)) && (r = t, t = e, e = this, l = bs(t, Le(t)));
|
63233
63233
|
var d = !(De(r) && "chain" in r) || !!r.chain, f = er(e);
|
63234
|
-
return _t(
|
63234
|
+
return _t(l, function(h) {
|
63235
63235
|
var x = t[h];
|
63236
63236
|
e[h] = x, f && (e.prototype[h] = function() {
|
63237
63237
|
var A = this.__chain__;
|
@@ -63283,9 +63283,9 @@ function print() { __p += __j.call(arguments, '') }
|
|
63283
63283
|
return [];
|
63284
63284
|
var r = G, n = We(e, G);
|
63285
63285
|
t = j(t), e -= G;
|
63286
|
-
for (var
|
63286
|
+
for (var l = _i(n, t); ++r < e; )
|
63287
63287
|
t(r);
|
63288
|
-
return
|
63288
|
+
return l;
|
63289
63289
|
}
|
63290
63290
|
function n_(e) {
|
63291
63291
|
return Y(e) ? Te(e, Bt) : ct(e) ? [e] : Je(bl(fe(e)));
|
@@ -63333,7 +63333,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
63333
63333
|
return Lt(c, function(t, r) {
|
63334
63334
|
ye.call(c.prototype, r) || (e[r] = t);
|
63335
63335
|
}), e;
|
63336
|
-
}(), { chain: !1 }), c.VERSION =
|
63336
|
+
}(), { chain: !1 }), c.VERSION = o, _t(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(e) {
|
63337
63337
|
c[e].placeholder = c;
|
63338
63338
|
}), _t(["drop", "take"], function(e, t) {
|
63339
63339
|
ne.prototype[e] = function(r) {
|
@@ -63348,10 +63348,10 @@ function print() { __p += __j.call(arguments, '') }
|
|
63348
63348
|
};
|
63349
63349
|
}), _t(["filter", "map", "takeWhile"], function(e, t) {
|
63350
63350
|
var r = t + 1, n = r == Ee || r == de;
|
63351
|
-
ne.prototype[e] = function(
|
63351
|
+
ne.prototype[e] = function(l) {
|
63352
63352
|
var d = this.clone();
|
63353
63353
|
return d.__iteratees__.push({
|
63354
|
-
iteratee: j(
|
63354
|
+
iteratee: j(l, 3),
|
63355
63355
|
type: r
|
63356
63356
|
}), d.__filtered__ = d.__filtered__ || n, d;
|
63357
63357
|
};
|
@@ -63386,10 +63386,10 @@ function print() { __p += __j.call(arguments, '') }
|
|
63386
63386
|
}, ne.prototype.toArray = function() {
|
63387
63387
|
return this.take(G);
|
63388
63388
|
}, Lt(ne.prototype, function(e, t) {
|
63389
|
-
var r = /^(?:filter|find|map|reject)|While$/.test(t), n = /^(?:head|last)$/.test(t),
|
63390
|
-
|
63389
|
+
var r = /^(?:filter|find|map|reject)|While$/.test(t), n = /^(?:head|last)$/.test(t), l = c[n ? "take" + (t == "last" ? "Right" : "") : t], d = n || /^find/.test(t);
|
63390
|
+
l && (c.prototype[t] = function() {
|
63391
63391
|
var f = this.__wrapped__, h = n ? [1] : arguments, x = f instanceof ne, A = h[0], q = x || Y(f), C = function(se) {
|
63392
|
-
var oe =
|
63392
|
+
var oe = l.apply(c, or([se], h));
|
63393
63393
|
return n && P ? oe[0] : oe;
|
63394
63394
|
};
|
63395
63395
|
q && r && typeof A == "function" && A.length != 1 && (x = q = !1);
|
@@ -63404,13 +63404,13 @@ function print() { __p += __j.call(arguments, '') }
|
|
63404
63404
|
}), _t(["pop", "push", "shift", "sort", "splice", "unshift"], function(e) {
|
63405
63405
|
var t = as[e], r = /^(?:push|sort|unshift)$/.test(e) ? "tap" : "thru", n = /^(?:pop|shift)$/.test(e);
|
63406
63406
|
c.prototype[e] = function() {
|
63407
|
-
var
|
63407
|
+
var l = arguments;
|
63408
63408
|
if (n && !this.__chain__) {
|
63409
63409
|
var d = this.value();
|
63410
|
-
return t.apply(Y(d) ? d : [],
|
63410
|
+
return t.apply(Y(d) ? d : [], l);
|
63411
63411
|
}
|
63412
63412
|
return this[r](function(f) {
|
63413
|
-
return t.apply(Y(f) ? f : [],
|
63413
|
+
return t.apply(Y(f) ? f : [], l);
|
63414
63414
|
});
|
63415
63415
|
};
|
63416
63416
|
}), Lt(ne.prototype, function(e, t) {
|
@@ -63979,10 +63979,10 @@ class Vg {
|
|
63979
63979
|
enumerable: !0,
|
63980
63980
|
configurable: !0,
|
63981
63981
|
writable: !0,
|
63982
|
-
value: (a = [],
|
63983
|
-
const u = /* @__PURE__ */ new Map(), p =
|
63984
|
-
for (let m = p + 1, b = p; m <
|
63985
|
-
|
63982
|
+
value: (a = [], o) => {
|
63983
|
+
const u = /* @__PURE__ */ new Map(), p = o.indexOf("(");
|
63984
|
+
for (let m = p + 1, b = p; m < o.length; m++)
|
63985
|
+
o[m] !== "," && o[m] !== ")" || (b++, u.set(o.slice(b, m), b), b = m + 1);
|
63986
63986
|
return a.map(({ name: m, displayType: b, desc: g }) => {
|
63987
63987
|
const v = [], w = u.get(m), k = w + m.length;
|
63988
63988
|
return v.push(this._formatter.paragraph(this._formatter.bold(m), this._formatter.italic(b || ""))), g && v.push(Array.isArray(g) ? g.join(this._formatter.lineBreak) : g), {
|
@@ -63996,17 +63996,17 @@ class Vg {
|
|
63996
63996
|
}), this._formatter = he, this._isMac = /(Mac|iPhone|iPod|iPad)/i.test(i);
|
63997
63997
|
}
|
63998
63998
|
getSignatureHelpValues(i, a) {
|
63999
|
-
const
|
64000
|
-
if (!(
|
63999
|
+
const o = this._getFuncItems(i);
|
64000
|
+
if (!(o != null && o.length))
|
64001
64001
|
return null;
|
64002
|
-
const u = this._getSequentialSignatures(i,
|
64002
|
+
const u = this._getSequentialSignatures(i, o), p = this._getActiveIndex(o, a);
|
64003
64003
|
return {
|
64004
64004
|
signatures: u,
|
64005
64005
|
...p
|
64006
64006
|
};
|
64007
64007
|
}
|
64008
64008
|
_getActiveIndex(i, a = []) {
|
64009
|
-
let
|
64009
|
+
let o = 0, u = -1;
|
64010
64010
|
a.some((m) => !!m) || (u = a.length - 1);
|
64011
64011
|
const p = a.pop();
|
64012
64012
|
if (p)
|
@@ -64015,41 +64015,41 @@ class Vg {
|
|
64015
64015
|
if (g && g.length) {
|
64016
64016
|
const v = g.findIndex((w) => w.name === p);
|
64017
64017
|
if (v != -1) {
|
64018
|
-
u = v,
|
64018
|
+
u = v, o = m;
|
64019
64019
|
break;
|
64020
64020
|
}
|
64021
64021
|
}
|
64022
64022
|
}
|
64023
64023
|
return {
|
64024
64024
|
activeParameter: u,
|
64025
|
-
activeSignature:
|
64025
|
+
activeSignature: o
|
64026
64026
|
};
|
64027
64027
|
}
|
64028
64028
|
_getFuncItems(i) {
|
64029
64029
|
return Ut.functions.get(i) || ta.userFuncs.get(i) || ta.methodFuncs.get(i);
|
64030
64030
|
}
|
64031
64031
|
_getSequentialSignatures(i, a) {
|
64032
|
-
return a.map((
|
64033
|
-
const u = this._getSignatureLabel(i,
|
64032
|
+
return a.map((o) => {
|
64033
|
+
const u = this._getSignatureLabel(i, o);
|
64034
64034
|
return {
|
64035
64035
|
label: u,
|
64036
|
-
documentation: this._getFormattedSignatureDocumentation(
|
64037
|
-
parameters: this._getSignatureParams(
|
64036
|
+
documentation: this._getFormattedSignatureDocumentation(o),
|
64037
|
+
parameters: this._getSignatureParams(o.args, u)
|
64038
64038
|
};
|
64039
64039
|
});
|
64040
64040
|
}
|
64041
|
-
_getSignatureLabel(i, a,
|
64041
|
+
_getSignatureLabel(i, a, o = !1) {
|
64042
64042
|
const u = [i];
|
64043
|
-
return
|
64043
|
+
return o && u.push("<type>"), a.args && (u.push("("), u.push(a.args.map(({ name: p }) => p).join(", ")), u.push(")")), u.join("");
|
64044
64044
|
}
|
64045
64045
|
_getFormattedSignatureDocumentation(i) {
|
64046
|
-
const { desc: a } = i,
|
64047
|
-
a &&
|
64046
|
+
const { desc: a } = i, o = [];
|
64047
|
+
a && o.push(Array.isArray(a) ? a.join(this._formatter.lineBreak) : a);
|
64048
64048
|
const u = `${this._formatter.code(this._isMac ? "⌘" : "Ctrl")} +
|
64049
64049
|
${this._formatter.code("Shift")} +
|
64050
64050
|
${this._formatter.code("Space")}`;
|
64051
|
-
return
|
64052
|
-
value: this._formatter.paragraph(...
|
64051
|
+
return o.push(this._formatter.lineBreak), o.push(this._formatter.italic(`${u} ${ke.toTriggerParameterHints}`)), {
|
64052
|
+
value: this._formatter.paragraph(...o)
|
64053
64053
|
};
|
64054
64054
|
}
|
64055
64055
|
}
|
@@ -64065,9 +64065,9 @@ class Zg {
|
|
64065
64065
|
}
|
64066
64066
|
getDocumentColors(i) {
|
64067
64067
|
const a = [];
|
64068
|
-
return i.forEach((
|
64069
|
-
const { range: u } =
|
64070
|
-
let { matches: p } =
|
64068
|
+
return i.forEach((o) => {
|
64069
|
+
const { range: u } = o;
|
64070
|
+
let { matches: p } = o;
|
64071
64071
|
p = p || [];
|
64072
64072
|
const m = p[0] || "";
|
64073
64073
|
let b = null;
|
@@ -64084,8 +64084,8 @@ class Zg {
|
|
64084
64084
|
const i = `#[0-9a-fA-F]{6,8}|(\\b(color.rgb\\s*\\((\\s*\\d+\\s*,\\s*){2}(\\s*\\d+\\s*,{0,1}){1,2}\\s*\\)${this._defultColorsRegStr}))`;
|
64085
64085
|
return `color.new\\s*\\(\\s*(${i})\\s*,\\s*(\\d+)\\s*\\)|${i}`;
|
64086
64086
|
}
|
64087
|
-
getDocumentColorPresentations(i, { color: a, range:
|
64088
|
-
const u = i.getValueInRange(
|
64087
|
+
getDocumentColorPresentations(i, { color: a, range: o }) {
|
64088
|
+
const u = i.getValueInRange(o);
|
64089
64089
|
if (this._isHexToken(u) || this._colors[u])
|
64090
64090
|
return [{
|
64091
64091
|
label: this._colorRgbRepresentation(a)
|
@@ -64101,13 +64101,13 @@ class Zg {
|
|
64101
64101
|
label: p,
|
64102
64102
|
textEdit: {
|
64103
64103
|
text: p,
|
64104
|
-
range:
|
64104
|
+
range: o
|
64105
64105
|
}
|
64106
64106
|
}, {
|
64107
64107
|
label: m,
|
64108
64108
|
textEdit: {
|
64109
64109
|
text: m,
|
64110
|
-
range:
|
64110
|
+
range: o
|
64111
64111
|
}
|
64112
64112
|
}];
|
64113
64113
|
}
|
@@ -64130,18 +64130,18 @@ class Zg {
|
|
64130
64130
|
return 100 - Math.round(100 * i);
|
64131
64131
|
}
|
64132
64132
|
_extractNewExpression(i, a) {
|
64133
|
-
let
|
64134
|
-
return this._isHexToken(i) ?
|
64135
|
-
...
|
64133
|
+
let o = null;
|
64134
|
+
return this._isHexToken(i) ? o = this._hexToColor(i) : this._isRgbColor(i) ? o = this._rgbToColor(i) : this._colors[i] && (o = this._hexToColor(this._colors[i])), o && !Number.isNaN(a) ? {
|
64135
|
+
...o,
|
64136
64136
|
alpha: this._normalizeAlpha(a)
|
64137
64137
|
} : null;
|
64138
64138
|
}
|
64139
64139
|
_colorHexRepresentation(i) {
|
64140
|
-
const a = this._hexFromNumber(i.red),
|
64141
|
-
return `#${a}${
|
64140
|
+
const a = this._hexFromNumber(i.red), o = this._hexFromNumber(i.green), u = this._hexFromNumber(i.blue), p = this._hexFromNumber(i.alpha);
|
64141
|
+
return `#${a}${o}${u}${i.alpha === 1 ? "" : p}`;
|
64142
64142
|
}
|
64143
64143
|
_colorRgbRepresentation(i) {
|
64144
|
-
const a = this._denormalize(i.red),
|
64144
|
+
const a = this._denormalize(i.red), o = this._denormalize(i.green), u = this._denormalize(i.blue), p = this._denormalizeAlpha(i.alpha), m = [a, o, u];
|
64145
64145
|
return p > 0 && m.push(p), `color.rgb(${m.join(", ")})`;
|
64146
64146
|
}
|
64147
64147
|
_colorNewRepresentation(i) {
|
@@ -64152,18 +64152,18 @@ class Zg {
|
|
64152
64152
|
return `color.new(${this._colorHexRepresentation(a)}, ${this._denormalizeAlpha(i.alpha)})`;
|
64153
64153
|
}
|
64154
64154
|
_hexToColor(i) {
|
64155
|
-
const a = (i = this._isHexToken(i) ? i.slice(1) : i).length === 3 || i.length === 4,
|
64155
|
+
const a = (i = this._isHexToken(i) ? i.slice(1) : i).length === 3 || i.length === 4, o = a ? `${i.slice(0, 1)}${i.slice(0, 1)}` : i.slice(0, 2), u = a ? `${i.slice(1, 2)}${i.slice(1, 2)}` : i.slice(2, 4), p = a ? `${i.slice(2, 3)}${i.slice(2, 3)}` : i.slice(4, 6), m = (a ? `${i.slice(3, 4)}${i.slice(3, 4)}` : i.slice(6, 8)) || "ff";
|
64156
64156
|
return {
|
64157
|
-
red: this._normalize(parseInt(
|
64157
|
+
red: this._normalize(parseInt(o, 16)),
|
64158
64158
|
green: this._normalize(parseInt(u, 16)),
|
64159
64159
|
blue: this._normalize(parseInt(p, 16)),
|
64160
64160
|
alpha: this._normalize(parseInt(m, 16))
|
64161
64161
|
};
|
64162
64162
|
}
|
64163
64163
|
_rgbToColor(i) {
|
64164
|
-
const a = i.replace(/[^\d,]/g, "").split(","),
|
64165
|
-
return isNaN(
|
64166
|
-
red:
|
64164
|
+
const a = i.replace(/[^\d,]/g, "").split(","), o = this._normalize(Number(a[0])), u = this._normalize(Number(a[1])), p = this._normalize(Number(a[2])), m = this._normalizeAlpha(Number(a[3])) || 1;
|
64165
|
+
return isNaN(o) || isNaN(u) || isNaN(p) ? null : {
|
64166
|
+
red: o,
|
64167
64167
|
green: u,
|
64168
64168
|
blue: p,
|
64169
64169
|
alpha: m
|
@@ -64187,14 +64187,14 @@ function Jg(s, i) {
|
|
64187
64187
|
startColumn: 1,
|
64188
64188
|
endLineNumber: i.lineNumber,
|
64189
64189
|
endColumn: i.column
|
64190
|
-
},
|
64190
|
+
}, o = s.getValueInRange(a), u = o.match(/([\w.]+)$/) || [], p = (k = u[0]) == null ? void 0 : k.match(/.*[^\w.]+([\w.]+)(?=\.)|([\w.]+)(?=\.)/), m = p ? p[1] ? p[1] : p[2] ? p[2] : void 0 : void 0, b = s.getWordUntilPosition(i), g = Ua.parseCurrentInputFunc(o), v = {
|
64191
64191
|
startLineNumber: i.lineNumber,
|
64192
64192
|
endLineNumber: i.lineNumber,
|
64193
64193
|
startColumn: b.startColumn,
|
64194
64194
|
endColumn: b.endColumn
|
64195
64195
|
};
|
64196
64196
|
let w = mc(ta.getSuggestions(m) || [], v);
|
64197
|
-
if (u[0] === "." && (w = []), g && !m && !/=\s*\w+$/.test(
|
64197
|
+
if (u[0] === "." && (w = []), g && !m && !/=\s*\w+$/.test(o)) {
|
64198
64198
|
const z = mc(ta.getArgSuggestions(g.funcName) || [], v);
|
64199
64199
|
w = w.concat(z);
|
64200
64200
|
}
|
@@ -64203,9 +64203,9 @@ function Jg(s, i) {
|
|
64203
64203
|
};
|
64204
64204
|
}
|
64205
64205
|
function eb(s, i) {
|
64206
|
-
const a = s.getLineContent(i.lineNumber),
|
64207
|
-
if (
|
64208
|
-
const u = jg(
|
64206
|
+
const a = s.getLineContent(i.lineNumber), o = Ua.parseLineContentFuncVar(a, i.column, i.lineNumber);
|
64207
|
+
if (o && o.docValue.length) {
|
64208
|
+
const u = jg(o.docValue, o.index, o.isBuildIn);
|
64209
64209
|
if (u)
|
64210
64210
|
return {
|
64211
64211
|
contents: [
|
@@ -64226,12 +64226,12 @@ function tb(s, i) {
|
|
64226
64226
|
endLineNumber: i.lineNumber,
|
64227
64227
|
startColumn: 1,
|
64228
64228
|
endColumn: i.column
|
64229
|
-
},
|
64229
|
+
}, o = s.getValueInRange(a), u = s.findMatches(String(Kg), a, !0, !1, null, !0), p = s.findMatches(String(Yg), a, !0, !1, null, !0), m = (k = u.pop()) == null ? void 0 : k.matches, b = (z = p.pop()) == null ? void 0 : z.matches;
|
64230
64230
|
let g = !1;
|
64231
64231
|
u.length % 2 === 0 ? m && m[0] === '"' && (g = !0) : m && !m[0] && (g = !0);
|
64232
64232
|
let v = !1;
|
64233
64233
|
p.length % 2 === 0 ? b && b[0] === "'" && (v = !0) : b && !b[0] && (v = !0);
|
64234
|
-
const w = Ua.parseCurrentInputFuncAndArg(
|
64234
|
+
const w = Ua.parseCurrentInputFuncAndArg(o, v, g);
|
64235
64235
|
if (w) {
|
64236
64236
|
const { funcName: R, args: F } = w, B = Qg.getSignatureHelpValues(R, F);
|
64237
64237
|
if (B)
|
@@ -64246,19 +64246,19 @@ function tb(s, i) {
|
|
64246
64246
|
}
|
64247
64247
|
function rb(s) {
|
64248
64248
|
let i = s.findMatches(vn.colorMatchesRegStr, !0, !0, !1, null, !0);
|
64249
|
-
return i = i.filter((
|
64249
|
+
return i = i.filter((o) => {
|
64250
64250
|
const u = s.getValueInRange({
|
64251
|
-
...
|
64251
|
+
...o.range,
|
64252
64252
|
startColumn: 0
|
64253
64253
|
});
|
64254
|
-
return u.indexOf("//") === -1 || u.indexOf("//") >
|
64254
|
+
return u.indexOf("//") === -1 || u.indexOf("//") > o.range.endColumn;
|
64255
64255
|
}), vn.getDocumentColors(i);
|
64256
64256
|
}
|
64257
64257
|
function ab(s, i) {
|
64258
64258
|
return vn.getDocumentColorPresentations(s, i) || [];
|
64259
64259
|
}
|
64260
64260
|
function sb(s, i, a) {
|
64261
|
-
const
|
64261
|
+
const o = s.getModel(), u = o == null ? void 0 : o.getLineContent(a.startLineNumber), p = Ua.parseLineContentFuncVar(u || "", a.startColumn + 1, a.startLineNumber);
|
64262
64262
|
if (!p || p.isBuildIn || !p.docValue || !p.docValue[0].pos)
|
64263
64263
|
return !0;
|
64264
64264
|
const { lineNumber: m, column: b } = p.docValue[0].pos, g = {
|
@@ -64309,7 +64309,7 @@ var $e;
|
|
64309
64309
|
s.added = "added", s.removed = "removed", s.modified = "modified";
|
64310
64310
|
})($e || ($e = {}));
|
64311
64311
|
const nb = (s, i) => {
|
64312
|
-
const { close: a, retracement:
|
64312
|
+
const { close: a, retracement: o } = s, [u, p] = Ma("modified");
|
64313
64313
|
return Gc(i, () => ({
|
64314
64314
|
updateType(m) {
|
64315
64315
|
p(m);
|
@@ -64317,7 +64317,7 @@ const nb = (s, i) => {
|
|
64317
64317
|
})), pt.jsxs("div", { className: `content-popup content-${u}-popup`, children: [pt.jsx("div", { className: `triangle-popup triangle-${u}-popup` }), pt.jsxs("div", { className: `header-popup header-${u}-popup`, children: [pt.jsx("div", { className: "title-popup", children: "Local working changes" }), pt.jsx("div", { className: "actions-popup", children: pt.jsx("div", { onClick: a, "data-role": "button", className: "button-popup", "data-name": "button-close-diff", children: pt.jsx("span", { className: "icon-popup", role: "img", children: pt.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 12 12", width: "12", height: "12", children: pt.jsx("path", { stroke: "currentColor", strokeWidth: "1.2", d: "m1.5 1.5 9 9m0-9-9 9" }) }) }) }) })] }), pt.jsx("div", { id: "diffEditorContainer", style: { height: "100%" } })] });
|
64318
64318
|
}, ob = $c(nb);
|
64319
64319
|
class lb {
|
64320
|
-
constructor(i, a,
|
64320
|
+
constructor(i, a, o = !0) {
|
64321
64321
|
Object.defineProperty(this, "_domNode", {
|
64322
64322
|
enumerable: !0,
|
64323
64323
|
configurable: !0,
|
@@ -64338,7 +64338,7 @@ class lb {
|
|
64338
64338
|
configurable: !0,
|
64339
64339
|
writable: !0,
|
64340
64340
|
value: void 0
|
64341
|
-
}), this._id = i, this._domNode = document.createElement("div"), this._domNode.style.display = "none", this._domNode.style.width =
|
64341
|
+
}), this._id = i, this._domNode = document.createElement("div"), this._domNode.style.display = "none", this._domNode.style.width = o ? "calc(100% - 134px)" : "calc(100% - 14px)", this._domNode.style.height = "200px", a == null || a.onDidScrollChange(this.scrollChangeHandler.bind(this)), Oa.createRoot(this._domNode).render(pt.jsx(ob, { ref: (u) => this._content = u, close: () => this._close(), retracement: this._retracement })), this._top = 0;
|
64342
64342
|
}
|
64343
64343
|
_close() {
|
64344
64344
|
this._domNode.style.display = "none";
|
@@ -64354,9 +64354,9 @@ class lb {
|
|
64354
64354
|
getPosition() {
|
64355
64355
|
return null;
|
64356
64356
|
}
|
64357
|
-
show(i, a,
|
64357
|
+
show(i, a, o) {
|
64358
64358
|
var u;
|
64359
|
-
this._top = a, (u = this._content) == null || u.updateType(
|
64359
|
+
this._top = a, (u = this._content) == null || u.updateType(o), this._domNode.style.top = `${i}px`, this._domNode.style.display = "block";
|
64360
64360
|
}
|
64361
64361
|
hide() {
|
64362
64362
|
this._domNode.style.display = "none";
|
@@ -64370,7 +64370,7 @@ function _r() {
|
|
64370
64370
|
}
|
64371
64371
|
_r.prototype = {
|
64372
64372
|
diff: function(i, a) {
|
64373
|
-
var
|
64373
|
+
var o, u = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, p = u.callback;
|
64374
64374
|
typeof u == "function" && (p = u, u = {}), this.options = u;
|
64375
64375
|
var m = this;
|
64376
64376
|
function b(ee) {
|
@@ -64381,7 +64381,7 @@ _r.prototype = {
|
|
64381
64381
|
i = this.castInput(i), a = this.castInput(a), i = this.removeEmpty(this.tokenize(i)), a = this.removeEmpty(this.tokenize(a));
|
64382
64382
|
var g = a.length, v = i.length, w = 1, k = g + v;
|
64383
64383
|
u.maxEditLength && (k = Math.min(k, u.maxEditLength));
|
64384
|
-
var z = (
|
64384
|
+
var z = (o = u.timeout) !== null && o !== void 0 ? o : 1 / 0, R = Date.now() + z, F = [{
|
64385
64385
|
oldPos: -1,
|
64386
64386
|
lastComponent: void 0
|
64387
64387
|
}], B = this.extractCommon(F[0], a, i, 0);
|
@@ -64426,14 +64426,14 @@ _r.prototype = {
|
|
64426
64426
|
return le;
|
64427
64427
|
}
|
64428
64428
|
},
|
64429
|
-
addToPath: function(i, a,
|
64429
|
+
addToPath: function(i, a, o, u) {
|
64430
64430
|
var p = i.lastComponent;
|
64431
|
-
return p && p.added === a && p.removed ===
|
64431
|
+
return p && p.added === a && p.removed === o ? {
|
64432
64432
|
oldPos: i.oldPos + u,
|
64433
64433
|
lastComponent: {
|
64434
64434
|
count: p.count + 1,
|
64435
64435
|
added: a,
|
64436
|
-
removed:
|
64436
|
+
removed: o,
|
64437
64437
|
previousComponent: p.previousComponent
|
64438
64438
|
}
|
64439
64439
|
} : {
|
@@ -64441,13 +64441,13 @@ _r.prototype = {
|
|
64441
64441
|
lastComponent: {
|
64442
64442
|
count: 1,
|
64443
64443
|
added: a,
|
64444
|
-
removed:
|
64444
|
+
removed: o,
|
64445
64445
|
previousComponent: p
|
64446
64446
|
}
|
64447
64447
|
};
|
64448
64448
|
},
|
64449
|
-
extractCommon: function(i, a,
|
64450
|
-
for (var p = a.length, m =
|
64449
|
+
extractCommon: function(i, a, o, u) {
|
64450
|
+
for (var p = a.length, m = o.length, b = i.oldPos, g = b - u, v = 0; g + 1 < p && b + 1 < m && this.equals(a[g + 1], o[b + 1]); )
|
64451
64451
|
g++, b++, v++;
|
64452
64452
|
return v && (i.lastComponent = {
|
64453
64453
|
count: v,
|
@@ -64458,8 +64458,8 @@ _r.prototype = {
|
|
64458
64458
|
return this.options.comparator ? this.options.comparator(i, a) : i === a || this.options.ignoreCase && i.toLowerCase() === a.toLowerCase();
|
64459
64459
|
},
|
64460
64460
|
removeEmpty: function(i) {
|
64461
|
-
for (var a = [],
|
64462
|
-
i[
|
64461
|
+
for (var a = [], o = 0; o < i.length; o++)
|
64462
|
+
i[o] && a.push(i[o]);
|
64463
64463
|
return a;
|
64464
64464
|
},
|
64465
64465
|
castInput: function(i) {
|
@@ -64472,14 +64472,14 @@ _r.prototype = {
|
|
64472
64472
|
return i.join("");
|
64473
64473
|
}
|
64474
64474
|
};
|
64475
|
-
function cb(s, i, a,
|
64475
|
+
function cb(s, i, a, o, u) {
|
64476
64476
|
for (var p = [], m; i; )
|
64477
64477
|
p.push(i), m = i.previousComponent, delete i.previousComponent, i = m;
|
64478
64478
|
p.reverse();
|
64479
64479
|
for (var b = 0, g = p.length, v = 0, w = 0; b < g; b++) {
|
64480
64480
|
var k = p[b];
|
64481
64481
|
if (k.removed) {
|
64482
|
-
if (k.value = s.join(
|
64482
|
+
if (k.value = s.join(o.slice(w, w + k.count)), w += k.count, b && p[b - 1].added) {
|
64483
64483
|
var R = p[b - 1];
|
64484
64484
|
p[b - 1] = p[b], p[b] = R;
|
64485
64485
|
}
|
@@ -64487,7 +64487,7 @@ function cb(s, i, a, l, u) {
|
|
64487
64487
|
if (!k.added && u) {
|
64488
64488
|
var z = a.slice(v, v + k.count);
|
64489
64489
|
z = z.map(function(B, re) {
|
64490
|
-
var E =
|
64490
|
+
var E = o[w + re];
|
64491
64491
|
return E.length > B.length ? E : B;
|
64492
64492
|
}), k.value = s.join(z);
|
64493
64493
|
} else
|
@@ -64513,9 +64513,9 @@ An.tokenize = function(s) {
|
|
64513
64513
|
`));
|
64514
64514
|
var i = [], a = s.split(/(\n|\r\n)/);
|
64515
64515
|
a[a.length - 1] || a.pop();
|
64516
|
-
for (var
|
64517
|
-
var u = a[
|
64518
|
-
|
64516
|
+
for (var o = 0; o < a.length; o++) {
|
64517
|
+
var u = a[o];
|
64518
|
+
o % 2 && !this.options.newlineIsToken ? i[i.length - 1] += u : (this.options.ignoreWhitespace && (u = u.trim()), i.push(u));
|
64519
64519
|
}
|
64520
64520
|
return i;
|
64521
64521
|
};
|
@@ -64542,16 +64542,16 @@ var mb = Object.prototype.toString, Ba = new _r();
|
|
64542
64542
|
Ba.useLongestToken = !0;
|
64543
64543
|
Ba.tokenize = An.tokenize;
|
64544
64544
|
Ba.castInput = function(s) {
|
64545
|
-
var i = this.options, a = i.undefinedReplacement,
|
64545
|
+
var i = this.options, a = i.undefinedReplacement, o = i.stringifyReplacer, u = o === void 0 ? function(p, m) {
|
64546
64546
|
return typeof m > "u" ? a : m;
|
64547
|
-
} :
|
64547
|
+
} : o;
|
64548
64548
|
return typeof s == "string" ? s : JSON.stringify(wn(s, null, null, u), u, " ");
|
64549
64549
|
};
|
64550
64550
|
Ba.equals = function(s, i) {
|
64551
64551
|
return _r.prototype.equals.call(Ba, s.replace(/,([\r\n])/g, "$1"), i.replace(/,([\r\n])/g, "$1"));
|
64552
64552
|
};
|
64553
|
-
function wn(s, i, a,
|
64554
|
-
i = i || [], a = a || [],
|
64553
|
+
function wn(s, i, a, o, u) {
|
64554
|
+
i = i || [], a = a || [], o && (s = o(u, s));
|
64555
64555
|
var p;
|
64556
64556
|
for (p = 0; p < i.length; p += 1)
|
64557
64557
|
if (i[p] === s)
|
@@ -64559,7 +64559,7 @@ function wn(s, i, a, l, u) {
|
|
64559
64559
|
var m;
|
64560
64560
|
if (mb.call(s) === "[object Array]") {
|
64561
64561
|
for (i.push(s), m = new Array(s.length), a.push(m), p = 0; p < s.length; p += 1)
|
64562
|
-
m[p] = wn(s[p], i, a,
|
64562
|
+
m[p] = wn(s[p], i, a, o, u);
|
64563
64563
|
return i.pop(), a.pop(), m;
|
64564
64564
|
}
|
64565
64565
|
if (s && s.toJSON && (s = s.toJSON()), Ws(s) === "object" && s !== null) {
|
@@ -64568,7 +64568,7 @@ function wn(s, i, a, l, u) {
|
|
64568
64568
|
for (g in s)
|
64569
64569
|
s.hasOwnProperty(g) && b.push(g);
|
64570
64570
|
for (b.sort(), p = 0; p < b.length; p += 1)
|
64571
|
-
g = b[p], m[g] = wn(s[g], i, a,
|
64571
|
+
g = b[p], m[g] = wn(s[g], i, a, o, g);
|
64572
64572
|
i.pop(), a.pop();
|
64573
64573
|
} else
|
64574
64574
|
m = s;
|
@@ -64582,7 +64582,7 @@ Tn.join = Tn.removeEmpty = function(s) {
|
|
64582
64582
|
return s;
|
64583
64583
|
};
|
64584
64584
|
class fb {
|
64585
|
-
constructor(i, a,
|
64585
|
+
constructor(i, a, o) {
|
64586
64586
|
Object.defineProperty(this, "_editor", {
|
64587
64587
|
enumerable: !0,
|
64588
64588
|
configurable: !0,
|
@@ -64623,7 +64623,7 @@ class fb {
|
|
64623
64623
|
configurable: !0,
|
64624
64624
|
writable: !0,
|
64625
64625
|
value: void 0
|
64626
|
-
}), this._editor = i, this._monaco = a, this._originalModel = this._monaco.editor.createModel(localStorage.getItem(eu) || "", Ve), this._oldDecorations = [], this._init(), this._eventListening(
|
64626
|
+
}), this._editor = i, this._monaco = a, this._originalModel = this._monaco.editor.createModel(localStorage.getItem(eu) || "", Ve), this._oldDecorations = [], this._init(), this._eventListening(o);
|
64627
64627
|
}
|
64628
64628
|
_init() {
|
64629
64629
|
var i;
|
@@ -64634,45 +64634,45 @@ class fb {
|
|
64634
64634
|
this._originalModel = this._monaco.editor.createModel(i, Ve), (a = this._editor.getModel()) == null || a.deltaDecorations(this._oldDecorations, []), this._oldDecorations = [];
|
64635
64635
|
}
|
64636
64636
|
dispose() {
|
64637
|
-
var i, a,
|
64638
|
-
this._diffPopupWidget && (this._diffPopupWidget.hide(), this._editor.removeOverlayWidget(this._diffPopupWidget)), (i = this._didChangeListener) == null || i.dispose(), (a = this._onMouseDownListener) == null || a.dispose(), (
|
64637
|
+
var i, a, o, u;
|
64638
|
+
this._diffPopupWidget && (this._diffPopupWidget.hide(), this._editor.removeOverlayWidget(this._diffPopupWidget)), (i = this._didChangeListener) == null || i.dispose(), (a = this._onMouseDownListener) == null || a.dispose(), (o = this._editor.getModel()) == null || o.deltaDecorations(this._oldDecorations, []), this._oldDecorations = [], (u = this._diffEditor) == null || u.dispose(), this._diffEditor = void 0;
|
64639
64639
|
}
|
64640
64640
|
_changesHandle(i) {
|
64641
|
-
let a = 0,
|
64641
|
+
let a = 0, o;
|
64642
64642
|
const u = [];
|
64643
64643
|
let p = 0;
|
64644
64644
|
for (const m of i) {
|
64645
64645
|
const { added: b, removed: g, count: v = 1, value: w } = m;
|
64646
|
-
b ?
|
64646
|
+
b ? o && o.removed ? (a = this._changeHandle(u, a, p, v, $e.modified), p = 0, o = void 0) : (o && o.added && (a = this._changeHandle(u, a, p, o.count || 1, $e.added), p = 0), o = m) : g ? o && o.added ? (a = this._changeHandle(u, a, p, o.count || 1, $e.modified), p = 0, o = void 0) : (o && o.removed && this._addDecorationList(u, a, $e.removed), o = m) : /^\n+$/.test(w) ? o && (o.added || o.removed) ? p = v : a += v : (o && o.added ? (a = this._changeHandle(u, a, p, o.count || 1, $e.added), p = 0, o = void 0) : o && o.removed && (this._addDecorationList(u, a, $e.removed), o = void 0), a += v);
|
64647
64647
|
}
|
64648
|
-
return
|
64648
|
+
return o && o.added ? a = this._changeHandle(u, a, p, o.count || 1, $e.added) : o && o.removed && this._addDecorationList(u, a, $e.removed), u;
|
64649
64649
|
}
|
64650
|
-
_changeHandle(i, a,
|
64650
|
+
_changeHandle(i, a, o, u, p) {
|
64651
64651
|
for (let m = 1; m <= u; m++)
|
64652
64652
|
this._addDecorationList(i, a + m, p);
|
64653
|
-
return a += u +
|
64653
|
+
return a += u + o, a;
|
64654
64654
|
}
|
64655
|
-
_addDecorationList(i, a,
|
64655
|
+
_addDecorationList(i, a, o) {
|
64656
64656
|
i.push({
|
64657
64657
|
range: new this._monaco.Range(a, 1, a, 1),
|
64658
64658
|
options: {
|
64659
64659
|
isWholeLine: !0,
|
64660
|
-
linesDecorationsClassName: `line-${
|
64660
|
+
linesDecorationsClassName: `line-${o} line-decoration_${o}`
|
64661
64661
|
}
|
64662
64662
|
});
|
64663
64663
|
}
|
64664
64664
|
_changeEvent() {
|
64665
64665
|
var u, p;
|
64666
|
-
const i = ub(this._originalModel.getValue(), ((u = this._editor.getModel()) == null ? void 0 : u.getValue()) || ""), a = this._changesHandle(i),
|
64667
|
-
this._oldDecorations =
|
64666
|
+
const i = ub(this._originalModel.getValue(), ((u = this._editor.getModel()) == null ? void 0 : u.getValue()) || ""), a = this._changesHandle(i), o = ((p = this._editor.getModel()) == null ? void 0 : p.deltaDecorations(this._oldDecorations, a)) || [];
|
64667
|
+
this._oldDecorations = o;
|
64668
64668
|
}
|
64669
64669
|
_eventListening(i) {
|
64670
64670
|
const a = new lb("diff.popup.widget", this._editor);
|
64671
|
-
this._editor.addOverlayWidget(a), this._onMouseDownListener = this._editor.onMouseDown((
|
64671
|
+
this._editor.addOverlayWidget(a), this._onMouseDownListener = this._editor.onMouseDown((o) => this._onMouseDownHandle(o, i)), this._diffPopupWidget = a;
|
64672
64672
|
}
|
64673
64673
|
_onMouseDownHandle(i, a) {
|
64674
64674
|
var b, g, v, w, k, z;
|
64675
|
-
const
|
64675
|
+
const o = (b = i.target.element) == null ? void 0 : b.classList, u = o == null ? void 0 : o.contains(`line-${$e.added}`), p = o == null ? void 0 : o.contains(`line-${$e.modified}`), m = o == null ? void 0 : o.contains(`line-${$e.removed}`);
|
64676
64676
|
if (u || p || m) {
|
64677
64677
|
const R = ((v = (g = i == null ? void 0 : i.target) == null ? void 0 : g.position) == null ? void 0 : v.lineNumber) || 0, F = ((w = this._editor) == null ? void 0 : w.getTopForLineNumber(R + 1)) || 0, B = ((k = this._editor) == null ? void 0 : k.getScrollTop()) || 0, re = u ? $e.added : p ? $e.modified : $e.removed;
|
64678
64678
|
(z = this._diffPopupWidget) == null || z.show(F - B, F, re), this._diffEditor || (this._diffEditor = this._createDiffEditor(a)), this._diffEditor.setModel({
|
@@ -64693,7 +64693,7 @@ class fb {
|
|
64693
64693
|
}
|
64694
64694
|
}
|
64695
64695
|
class yb {
|
64696
|
-
constructor(i, a,
|
64696
|
+
constructor(i, a, o) {
|
64697
64697
|
Object.defineProperty(this, "_editor", {
|
64698
64698
|
enumerable: !0,
|
64699
64699
|
configurable: !0,
|
@@ -64719,7 +64719,7 @@ class yb {
|
|
64719
64719
|
configurable: !0,
|
64720
64720
|
writable: !0,
|
64721
64721
|
value: void 0
|
64722
|
-
}), this._editor = i, this._monaco = a, this._onActionTrigger =
|
64722
|
+
}), this._editor = i, this._monaco = a, this._onActionTrigger = o, this._init();
|
64723
64723
|
}
|
64724
64724
|
updateActionTrigger(i) {
|
64725
64725
|
this._onActionTrigger = i;
|
@@ -64738,7 +64738,8 @@ class yb {
|
|
64738
64738
|
this._editor.setValue(i);
|
64739
64739
|
}
|
64740
64740
|
setPosition(i) {
|
64741
|
-
|
64741
|
+
var a, o, u;
|
64742
|
+
(a = this._editor) == null || a.setPosition(i), (o = this._editor) == null || o.revealPositionInCenter(i), (u = this._editor) == null || u.focus();
|
64742
64743
|
}
|
64743
64744
|
saveScripts() {
|
64744
64745
|
var a;
|
@@ -64746,16 +64747,16 @@ class yb {
|
|
64746
64747
|
localStorage.setItem(eu, i || ""), (a = this._decorations) == null || a.update(i);
|
64747
64748
|
}
|
64748
64749
|
getEditorLayout() {
|
64749
|
-
var
|
64750
|
-
const i = this._editor.getContentHeight(), a = (
|
64750
|
+
var o;
|
64751
|
+
const i = this._editor.getContentHeight(), a = (o = this._editor.getModel()) == null ? void 0 : o.getLineCount();
|
64751
64752
|
return {
|
64752
64753
|
contentHeight: i,
|
64753
64754
|
lineCount: a
|
64754
64755
|
};
|
64755
64756
|
}
|
64756
64757
|
setEditorLayout(i) {
|
64757
|
-
var a,
|
64758
|
-
(
|
64758
|
+
var a, o;
|
64759
|
+
(o = this._editor) == null || o.layout({ height: i, width: (a = this._editor) == null ? void 0 : a.getContainerDomNode().clientWidth });
|
64759
64760
|
}
|
64760
64761
|
_init() {
|
64761
64762
|
this._register(), this._setOptions(), this._addCommands(), this._addActions(), this._setCursorPosition();
|
@@ -64791,8 +64792,8 @@ class yb {
|
|
64791
64792
|
this._monaco.editor.addCommand({
|
64792
64793
|
id: "tcc.editor.function",
|
64793
64794
|
run: (i, a) => {
|
64794
|
-
var
|
64795
|
-
(
|
64795
|
+
var o;
|
64796
|
+
(o = this._editor.getAction(a)) == null || o.run();
|
64796
64797
|
}
|
64797
64798
|
});
|
64798
64799
|
}
|
@@ -64804,7 +64805,7 @@ class yb {
|
|
64804
64805
|
contextMenuGroupId: "9_modification",
|
64805
64806
|
contextMenuOrder: 1,
|
64806
64807
|
run: () => {
|
64807
|
-
this.
|
64808
|
+
this._onActionTrigger && this._onActionTrigger(Ea.Save);
|
64808
64809
|
}
|
64809
64810
|
}), this._editor.addAction({
|
64810
64811
|
id: "tcc-find-replace-line",
|
@@ -64835,8 +64836,8 @@ class yb {
|
|
64835
64836
|
onChangeCursorPosition(i) {
|
64836
64837
|
this._changPositionListener && this._changPositionListener.dispose();
|
64837
64838
|
const a = localStorage.getItem(gn);
|
64838
|
-
i && i(a ? JSON.parse(a) : { lineNumber: 1, column: 1 }), this._changPositionListener = this._editor.onDidChangeCursorPosition((
|
64839
|
-
localStorage.setItem(gn, JSON.stringify(
|
64839
|
+
i && i(a ? JSON.parse(a) : { lineNumber: 1, column: 1 }), this._changPositionListener = this._editor.onDidChangeCursorPosition((o) => {
|
64840
|
+
localStorage.setItem(gn, JSON.stringify(o.position)), i && i(o.position);
|
64840
64841
|
});
|
64841
64842
|
}
|
64842
64843
|
}
|
@@ -64881,7 +64882,7 @@ function xb(s, i) {
|
|
64881
64882
|
return !1;
|
64882
64883
|
}
|
64883
64884
|
function cu(s, i = globalThis, a = ["*"]) {
|
64884
|
-
i.addEventListener("message", function
|
64885
|
+
i.addEventListener("message", function o(u) {
|
64885
64886
|
if (!u || !u.data)
|
64886
64887
|
return;
|
64887
64888
|
if (!xb(a, u.origin)) {
|
@@ -64925,7 +64926,7 @@ function cu(s, i = globalThis, a = ["*"]) {
|
|
64925
64926
|
}
|
64926
64927
|
Promise.resolve(v).catch((w) => ({ value: w, [Hs]: 0 })).then((w) => {
|
64927
64928
|
const [k, z] = Ys(w);
|
64928
|
-
i.postMessage(Object.assign(Object.assign({}, k), { id: p }), z), m === "RELEASE" && (i.removeEventListener("message",
|
64929
|
+
i.postMessage(Object.assign(Object.assign({}, k), { id: p }), z), m === "RELEASE" && (i.removeEventListener("message", o), uu(i), bn in s && typeof s[bn] == "function" && s[bn]());
|
64929
64930
|
}).catch((w) => {
|
64930
64931
|
const [k, z] = Ys({
|
64931
64932
|
value: new TypeError("Unserializable return value"),
|
@@ -64968,12 +64969,12 @@ function Tb(s) {
|
|
64968
64969
|
}
|
64969
64970
|
function In(s, i = [], a = function() {
|
64970
64971
|
}) {
|
64971
|
-
let
|
64972
|
+
let o = !1;
|
64972
64973
|
const u = new Proxy(a, {
|
64973
64974
|
get(p, m) {
|
64974
|
-
if (Us(
|
64975
|
+
if (Us(o), m === _b)
|
64975
64976
|
return () => {
|
64976
|
-
Tb(u), du(s),
|
64977
|
+
Tb(u), du(s), o = !0;
|
64977
64978
|
};
|
64978
64979
|
if (m === "then") {
|
64979
64980
|
if (i.length === 0)
|
@@ -64987,7 +64988,7 @@ function In(s, i = [], a = function() {
|
|
64987
64988
|
return In(s, [...i, m]);
|
64988
64989
|
},
|
64989
64990
|
set(p, m, b) {
|
64990
|
-
Us(
|
64991
|
+
Us(o);
|
64991
64992
|
const [g, v] = Ys(b);
|
64992
64993
|
return Jr(s, {
|
64993
64994
|
type: "SET",
|
@@ -64996,7 +64997,7 @@ function In(s, i = [], a = function() {
|
|
64996
64997
|
}, v).then(Sr);
|
64997
64998
|
},
|
64998
64999
|
apply(p, m, b) {
|
64999
|
-
Us(
|
65000
|
+
Us(o);
|
65000
65001
|
const g = i[i.length - 1];
|
65001
65002
|
if (g === hb)
|
65002
65003
|
return Jr(s, {
|
@@ -65012,7 +65013,7 @@ function In(s, i = [], a = function() {
|
|
65012
65013
|
}, w).then(Sr);
|
65013
65014
|
},
|
65014
65015
|
construct(p, m) {
|
65015
|
-
Us(
|
65016
|
+
Us(o);
|
65016
65017
|
const [b, g] = hc(m);
|
65017
65018
|
return Jr(s, {
|
65018
65019
|
type: "CONSTRUCT",
|
@@ -65040,12 +65041,12 @@ function kb(s) {
|
|
65040
65041
|
function Ys(s) {
|
65041
65042
|
for (const [i, a] of lu)
|
65042
65043
|
if (a.canHandle(s)) {
|
65043
|
-
const [
|
65044
|
+
const [o, u] = a.serialize(s);
|
65044
65045
|
return [
|
65045
65046
|
{
|
65046
65047
|
type: "HANDLER",
|
65047
65048
|
name: i,
|
65048
|
-
value:
|
65049
|
+
value: o
|
65049
65050
|
},
|
65050
65051
|
u
|
65051
65052
|
];
|
@@ -65067,10 +65068,10 @@ function Sr(s) {
|
|
65067
65068
|
}
|
65068
65069
|
}
|
65069
65070
|
function Jr(s, i, a) {
|
65070
|
-
return new Promise((
|
65071
|
+
return new Promise((o) => {
|
65071
65072
|
const u = Ab();
|
65072
65073
|
s.addEventListener("message", function p(m) {
|
65073
|
-
!m.data || !m.data.id || m.data.id !== u || (s.removeEventListener("message", p),
|
65074
|
+
!m.data || !m.data.id || m.data.id !== u || (s.removeEventListener("message", p), o(m.data));
|
65074
65075
|
}), s.start && s.start(), s.postMessage(Object.assign({ id: u }, i), a);
|
65075
65076
|
});
|
65076
65077
|
}
|
@@ -65083,8 +65084,8 @@ mu.onerror = (s) => {
|
|
65083
65084
|
};
|
65084
65085
|
const fu = qn(mu), qb = qn(new Worker(new URL("" + new URL("assets/parserTccWorker-CZf29GR5.js", import.meta.url).href, import.meta.url), { type: "module", name: "Parser TccScript Server" }));
|
65085
65086
|
async function Cb(s, i = !1) {
|
65086
|
-
const { functions: a, types:
|
65087
|
-
return await qb(s, i, { functions: Object.fromEntries(a), methods: Object.fromEntries(m), types: Object.fromEntries(
|
65087
|
+
const { functions: a, types: o, constants: u, variables: p, methods: m } = Ut;
|
65088
|
+
return await qb(s, i, { functions: Object.fromEntries(a), methods: Object.fromEntries(m), types: Object.fromEntries(o), constants: Object.fromEntries(u), variables: Object.fromEntries(p) });
|
65088
65089
|
}
|
65089
65090
|
async function Sb(s, i, a = !0) {
|
65090
65091
|
return await fu.runScript(s, i, a);
|
@@ -65237,7 +65238,7 @@ self.MonacoEnvironment = {
|
|
65237
65238
|
};
|
65238
65239
|
kn.config({ monaco: I_ });
|
65239
65240
|
const Pb = (s, i) => {
|
65240
|
-
const { height: a, width:
|
65241
|
+
const { height: a, width: o, theme: u, options: p, hasDiff: m, readOnly: b, onChange: g, onDeclareConfigChange: v, onCursorPositionChange: w, onActionTrigger: k } = s, z = Fe(null);
|
65241
65242
|
Gc(i, () => ({
|
65242
65243
|
saveScript() {
|
65243
65244
|
var E;
|
@@ -65322,20 +65323,21 @@ const Pb = (s, i) => {
|
|
65322
65323
|
|
65323
65324
|
`, g && g(E), B(E));
|
65324
65325
|
}
|
65325
|
-
return pt.jsx(Og, { height: a, width:
|
65326
|
+
return pt.jsx(Og, { height: a, width: o || "100%", defaultLanguage: Ve, defaultValue: !b && localStorage.getItem(dc) || `indicator("我的脚本")
|
65326
65327
|
plot(close)
|
65327
65328
|
`, theme: u || "vs-dark", className: u || "vs-dark", options: {
|
65328
65329
|
colorDecorators: !0,
|
65329
65330
|
matchOnWordStartOnly: !0,
|
65330
65331
|
useShadowDOM: !1,
|
65331
65332
|
suggest: {
|
65333
|
+
preview: !0,
|
65332
65334
|
matchOnWordStartOnly: !0
|
65333
65335
|
},
|
65334
65336
|
fontSize: 13,
|
65335
65337
|
...b ? Nb : {},
|
65336
|
-
|
65337
|
-
|
65338
|
-
|
65338
|
+
readOnlyMessage: {
|
65339
|
+
value: "该脚本是只读的。它无法被编辑。"
|
65340
|
+
},
|
65339
65341
|
// minimap: { // 关闭小地图
|
65340
65342
|
// enabled: false,
|
65341
65343
|
// },
|
@@ -65343,7 +65345,7 @@ plot(close)
|
|
65343
65345
|
...p
|
65344
65346
|
}, onMount: R, onChange: re });
|
65345
65347
|
}, Fb = $c(Pb), Bb = (s) => {
|
65346
|
-
const { theme: i, modified: a, original:
|
65348
|
+
const { theme: i, modified: a, original: o, height: u, width: p, renderSideBySide: m = !0 } = s, b = La((g, v) => {
|
65347
65349
|
v.languages.register({
|
65348
65350
|
id: Ve
|
65349
65351
|
}), v.editor.defineTheme("vs-dark", su), v.editor.defineTheme("vs", au), v.languages.setMonarchTokensProvider(Ve, tu), v.languages.setLanguageConfiguration(Ve, ru);
|
@@ -65352,7 +65354,7 @@ plot(close)
|
|
65352
65354
|
readOnly: !0,
|
65353
65355
|
renderSideBySide: m,
|
65354
65356
|
scrollBeyondLastLine: !1
|
65355
|
-
}, language: Ve, modified: a, original:
|
65357
|
+
}, language: Ve, modified: a, original: o, onMount: b });
|
65356
65358
|
};
|
65357
65359
|
var Hc;
|
65358
65360
|
(function(s) {
|