@guihz/trading-vue-editor-tes 0.0.28 → 0.0.30
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode('.line-decoration_modified,.line-decoration_added,.line-decoration_removed{left:auto!important;right:20px;transform:scale(-1);width:4px!important}.line-modified:before{content:"";height:100%;left:0;position:absolute;top:0;transition:width .2s;width:3px;z-index:1;background-image:linear-gradient(-45deg,#2962ff 25%,#0000 0,#0000 50%,#2962ff 0,#2962ff 75%,#0000 0,#0000);background-size:3px 3px}.line-added:before{content:"";height:100%;left:0;position:absolute;top:0;transition:width .2s;width:3px;z-index:1;background:#089950}.modified-in-monaco-diff-editor .line-modified:before,.modified-in-monaco-diff-editor .line-added:before,.modified-in-monaco-diff-editor .line-decoration_removed:after{background:none}.line-modified:hover:before,.line-added:hover:before,.line-decoration_removed:hover:before{width:5px}.line-decoration_removed:hover:before{background-color:#f23645}.line-decoration_removed:hover:after{background:none}.line-decoration_removed:before{content:"";height:100%;left:0;position:absolute;top:0;transition:width .2s;width:3px;z-index:1}.line-decoration_removed:after{background:url(../src/assets/error-triangle.svg) 50% no-repeat;background-size:5px 20px;content:"";height:10px;left:-4px;position:absolute;top:-3px;transform:scale(-1);width:10px}.content-popup{position:relative;border-bottom:1px solid;display:flex;flex-direction:column;height:100%;-webkit-user-select:none;user-select:none;background-color:#1e222d}.header-popup{align-items:center;position:relative;z-index:1;border-bottom:1px solid #0000;border-left:0;border-right:0;border-top:1px solid #0000;display:flex;height:22px;justify-content:space-between;margin-top:5px;background-color:#1e222d}.title-popup{font-size:13px;font-weight:400;line-height:18px;margin-left:27px}.actions-popup{align-items:center;display:flex}.button-popup{height:24px;cursor:pointer;justify-content:center;width:24px;display:flex;padding:0 5px;align-items:center;box-sizing:border-box;transition:background-color 60ms ease,opacity 60ms ease,color 60ms ease}.icon-popup{display:flex}.triangle-popup{position:absolute;left:55px;margin-top:1px;height:8px;z-index:0;transform:rotate(-45deg);width:8px}.triangle-modified-popup{background-color:#2962ff}.header-modified-popup{border-color:#2962ff}.content-modified-popup{border-bottom-color:#2962ff}.triangle-added-popup{background-color:#089950}.header-added-popup{border-color:#089950}.content-added-popup{border-bottom-color:#089950}.triangle-removed-popup{background-color:#f23645}.header-removed-popup{border-color:#f23645}.content-removed-popup{border-bottom-color:#f23645}.monaco-editor.vs-dark .quick-input-widget{background:#1e222d!important}.monaco-editor .monaco-inputbox:focus-within,.monaco-editor.vs-dark .monaco-inputbox:focus-within{border-color:#2962ff}.monaco-editor .quick-input-widget .monaco-inputbox{background-color:unset!important;border:unset!important}.monaco-editor .quick-input-widget .input:active,.monaco-editor .quick-input-widget .input:focus{border:2px solid #2962ff}.monaco-editor.vs-dark .quick-input-widget .input{background-color:#1e222d!important;color:#d1d4dc!important}.monaco-editor .monaco-inputbox .input{font-size:14px;line-height:18px;outline:none}.monaco-editor .quick-input-widget .input{background-color:#fff!important;border:1px solid #d1d4dc;border-radius:6px;color:#131722!important;height:28px;padding-bottom:5px}.monaco-editor .overflow-guard{overflow:hidden!important}section{display:block!important}.monaco-editor .find-widget .codicon.toggle:before{content:"";font-size:15px;transition:.3s ease-out}.monaco-editor .find-widget.replaceToggled{height:80px!important}.monaco-editor .find-widget{border-bottom-left-radius:6px;border-bottom-right-radius:6px;height:44px!important;width:450px!important;transition:.3s ease-out}.monaco-editor .find-widget.replaceToggled .find-part,.monaco-editor .find-widget.replaceToggled .replace-part{margin-left:17px}.monaco-editor .find-widget .codicon.toggle.codicon-find-expanded{height:77px}.monaco-editor .find-widget.replaceToggled .replace-part{margin-top:8px}.monaco-editor .find-widget .codicon.toggle{border-radius:4px;cursor:default;height:41px;left:2px;top:2px}.monaco-editor .find-widget .monaco-sash{display:none}.monaco-editor .find-widget .find-part{margin-top:8px}.monaco-editor .find-widget .monaco-findInput{width:255px}.monaco-editor .monaco-scrollable-element{--vscode-scrollbarSlider-background: #64646466;margin-bottom:-2px}.monaco-editor.vs-dark .find-widget .monaco-scrollable-element>.monaco-inputbox.idle{background-color:#1e222d!important}.monaco-editor.vs-dark .find-widget .monaco-scrollable-element>.monaco-inputbox.idle{border-color:#50535e!important}.monaco-editor .find-widget .monaco-scrollable-element>.monaco-inputbox.idle{background-color:#fff!important;border-color:#d1d4dc!important;border-radius:6px;height:28px}.monaco-editor.vs-dark .monaco-inputbox,.monaco-editor.vs-dark .monaco-inputbox.idle{border:2px solid #50535e}.monaco-editor .monaco-inputbox,.monaco-editor .monaco-inputbox.idle{border:2px solid #a3a6af;border-radius:4px;overflow:hidden}.monaco-editor .find-widget>.button.codicon-widget-close{top:10px}.monaco-editor .find-widget .codicon.toggle.codicon-find-expanded:before{transform:rotate(180deg)}.monaco-editor .find-widget .monaco-scrollable-element>.monaco-inputbox.idle .ibwrapper>textarea.input{padding-top:4px}.monaco-editor .monaco-inputbox .input{line-height:18px}.monaco-editor.vs-dark .find-widget .monaco-scrollable-element>.monaco-inputbox.synthetic-focus{border:1px solid #2962ff!important}.monaco-editor .find-widget .monaco-scrollable-element>.monaco-inputbox.synthetic-focus{border:1px solid #2962ff!important;outline-color:#0000}.monaco-editor .monaco-inputbox:focus-within{border-color:#2962ff}.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical{background-color:#1e222d!important}.context-view .monaco-menu>.monaco-action-bar.vertical{background-color:#fff!important}.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical .action-item .action-menu-item,.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical .action-item .submenu-indicator{color:#d1d4dc!important}.context-view .monaco-menu>.monaco-action-bar.vertical .action-item .action-menu-item,.context-view .monaco-menu>.monaco-action-bar.vertical .action-item .submenu-indicator{color:#131722!important}.context-view .monaco-menu>.monaco-action-bar.vertical .action-item .action-menu-item{border-radius:0;height:32px;margin:0}.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical .action-item.focused .action-menu-item,.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical .action-item.focused .submenu-indicator{background-color:#2a2e39!important;color:#d1d4dc!important}.context-view .monaco-menu>.monaco-action-bar.vertical .action-item.focused .action-menu-item,.context-view .monaco-menu>.monaco-action-bar.vertical .action-item.focused .submenu-indicator{background-color:#f0f3fa!important;color:#131722!important}.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical .action-label.separator{border-bottom:1px solid #434651!important}.context-view .monaco-menu>.monaco-action-bar.vertical .action-label.separator{border-bottom:1px solid #e0e3eb!important;margin-left:0!important;margin-right:0!important;opacity:1}.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical .action-item .action-menu-item span.keybinding{color:#5d606b}.context-view .monaco-menu>.monaco-action-bar.vertical .action-item .action-menu-item span.keybinding{color:#9598a1}.monaco-menu{max-height:calc(100vh - 35px)!important}')),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
2
|
-
import yr, { memo as Dn, useState as Ma, useRef as Fe, useCallback as La, useEffect as
|
2
|
+
import yr, { memo as Dn, useState as Ma, useRef as Fe, useCallback as La, useEffect as Dt, forwardRef as $c, useImperativeHandle as Gc, useMemo as T_ } from "react";
|
3
3
|
import * as I_ from "monaco-editor";
|
4
|
-
import { languages as
|
4
|
+
import { languages as Nt, MarkerSeverity as D_ } from "monaco-editor";
|
5
5
|
import k_ from "react-dom";
|
6
6
|
var tc;
|
7
7
|
(function(s) {
|
@@ -30,16 +30,16 @@ 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
|
-
var w, k = {}, z = null,
|
36
|
-
v !== void 0 && (z = "" + v), g.key !== void 0 && (z = "" + g.key), g.ref !== void 0 && (
|
35
|
+
var w, k = {}, z = null, R = null;
|
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]);
|
42
|
-
return { $$typeof: i, type: b, key: z, ref:
|
42
|
+
return { $$typeof: i, type: b, key: z, ref: R, props: k, _owner: u.current };
|
43
43
|
}
|
44
44
|
return Sa.Fragment = a, Sa.jsx = m, Sa.jsxs = m, Sa;
|
45
45
|
}
|
@@ -56,14 +56,14 @@ 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;
|
63
63
|
var S = F && y[F] || y[B];
|
64
64
|
return typeof S == "function" ? S : null;
|
65
65
|
}
|
66
|
-
var
|
66
|
+
var E = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
67
67
|
function M(y) {
|
68
68
|
{
|
69
69
|
for (var S = arguments.length, N = new Array(S > 1 ? S - 1 : 0), $ = 1; $ < S; $++)
|
@@ -73,7 +73,7 @@ function q_() {
|
|
73
73
|
}
|
74
74
|
function le(y, S, N) {
|
75
75
|
{
|
76
|
-
var $ =
|
76
|
+
var $ = E.ReactDebugCurrentFrame, ue = $.getStackAddendum();
|
77
77
|
ue !== "" && (S += "%s", N = N.concat([ue]));
|
78
78
|
var me = N.map(function(ie) {
|
79
79
|
return String(ie);
|
@@ -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";
|
@@ -207,7 +207,7 @@ function q_() {
|
|
207
207
|
U < 0 && M("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
208
208
|
}
|
209
209
|
}
|
210
|
-
var ar =
|
210
|
+
var ar = E.ReactCurrentDispatcher, ra;
|
211
211
|
function Rt(y, S, N) {
|
212
212
|
{
|
213
213
|
if (ra === void 0)
|
@@ -294,7 +294,7 @@ function q_() {
|
|
294
294
|
} finally {
|
295
295
|
$t = !1, ar.current = me, Ge(), Error.prepareStackTrace = ue;
|
296
296
|
}
|
297
|
-
var
|
297
|
+
var At = y ? y.displayName || y.name : "", Za = At ? Rt(At) : "";
|
298
298
|
return typeof y == "function" && zr.set(y, Za), Za;
|
299
299
|
}
|
300
300
|
function Wa(y, S, N) {
|
@@ -333,7 +333,7 @@ function q_() {
|
|
333
333
|
}
|
334
334
|
return "";
|
335
335
|
}
|
336
|
-
var Pr = Object.prototype.hasOwnProperty, yt = {}, aa =
|
336
|
+
var Pr = Object.prototype.hasOwnProperty, yt = {}, aa = E.ReactDebugCurrentFrame;
|
337
337
|
function Or(y) {
|
338
338
|
if (y) {
|
339
339
|
var S = y._owner, N = Mt(y.type, y._source, S ? S.type : null);
|
@@ -384,7 +384,7 @@ function q_() {
|
|
384
384
|
if (Qs(y))
|
385
385
|
return M("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Er(y)), sr(y);
|
386
386
|
}
|
387
|
-
var
|
387
|
+
var kt = E.ReactCurrentOwner, ir = {
|
388
388
|
key: !0,
|
389
389
|
ref: !0,
|
390
390
|
__self: !0,
|
@@ -408,9 +408,9 @@ function q_() {
|
|
408
408
|
return y.key !== void 0;
|
409
409
|
}
|
410
410
|
function na(y, S) {
|
411
|
-
if (typeof y.ref == "string" &&
|
412
|
-
var N = Ne(
|
413
|
-
xr[N] || (M('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', Ne(
|
411
|
+
if (typeof y.ref == "string" && kt.current && S && kt.current.stateNode !== S) {
|
412
|
+
var N = Ne(kt.current.type);
|
413
|
+
xr[N] || (M('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', Ne(kt.current.type), y.ref), xr[N] = !0);
|
414
414
|
}
|
415
415
|
}
|
416
416
|
function oa(y, S) {
|
@@ -479,10 +479,10 @@ function q_() {
|
|
479
479
|
var Ae = typeof y == "function" ? y.displayName || y.name || "Unknown" : y;
|
480
480
|
te && oa(ie, Ae), Be && la(ie, Ae);
|
481
481
|
}
|
482
|
-
return ca(y, te, Be, ue, $,
|
482
|
+
return ca(y, te, Be, ue, $, kt.current, ie);
|
483
483
|
}
|
484
484
|
}
|
485
|
-
var ua =
|
485
|
+
var ua = E.ReactCurrentOwner, $a = E.ReactDebugCurrentFrame;
|
486
486
|
function Xt(y) {
|
487
487
|
if (y) {
|
488
488
|
var S = y._owner, N = Mt(y.type, y._source, S ? S.type : null);
|
@@ -619,15 +619,15 @@ Check the top-level render call using <` + N + ">.");
|
|
619
619
|
if (Qe !== void 0)
|
620
620
|
if ($)
|
621
621
|
if (Gt(Qe)) {
|
622
|
-
for (var
|
623
|
-
Va(Qe[
|
622
|
+
for (var At = 0; At < Qe.length; At++)
|
623
|
+
Va(Qe[At], y);
|
624
624
|
Object.freeze && Object.freeze(Qe);
|
625
625
|
} else
|
626
626
|
M("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
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,43 +1035,43 @@ 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) {
|
1043
|
-
|
1043
|
+
Dt(s, []);
|
1044
1044
|
}
|
1045
1045
|
var Zc = Tg;
|
1046
1046
|
function Ig(s, i, a = !0) {
|
1047
|
-
let
|
1048
|
-
|
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:
|
1068
|
-
let [M, le] = Ma(!1), [ee, K] = Ma(!0), ce = Fe(null), Z = Fe(null), ze = Fe(null), ge = Fe(
|
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
|
+
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,15 +1100,15 @@ 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]);
|
1109
|
-
|
1109
|
+
Dt(() => {
|
1110
1110
|
M && ge.current(ce.current, Z.current);
|
1111
|
-
}, [M]),
|
1111
|
+
}, [M]), Dt(() => {
|
1112
1112
|
!ee && !M && Ne();
|
1113
1113
|
}, [ee, M, Ne]);
|
1114
1114
|
function Ee() {
|
@@ -1116,31 +1116,31 @@ function Ag({ original: s, modified: i, language: a, originalLanguage: l, modifi
|
|
1116
1116
|
let U = (de = ce.current) == null ? void 0 : de.getModel();
|
1117
1117
|
b || ((be = U == null ? void 0 : U.original) == null || be.dispose()), g || ((Re = U == null ? void 0 : U.modified) == null || Re.dispose()), (Et = ce.current) == null || Et.dispose();
|
1118
1118
|
}
|
1119
|
-
return yr.createElement(Qc, { width:
|
1119
|
+
return yr.createElement(Qc, { width: R, height: z, isEditorReady: M, loading: w, _ref: ze, className: F, wrapperProps: B });
|
1120
1120
|
}
|
1121
1121
|
var qg = Ag, Cg = Dn(qg);
|
1122
1122
|
function Sg(s) {
|
1123
1123
|
let i = Fe();
|
1124
|
-
return
|
1124
|
+
return Dt(() => {
|
1125
1125
|
i.current = 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(
|
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,20 +1155,20 @@ 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,
|
1162
|
-
|
1161
|
+
}, [s, i, a, o, u, p, v, w, k, m, b]);
|
1162
|
+
Dt(() => {
|
1163
1163
|
K && ft.current(ae.current, ge.current);
|
1164
|
-
}, [K]),
|
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);
|
1170
1170
|
}));
|
1171
|
-
}, [K, le]),
|
1171
|
+
}, [K, le]), Dt(() => {
|
1172
1172
|
if (K) {
|
1173
1173
|
let G = ge.current.editor.onDidChangeMarkers((_e) => {
|
1174
1174
|
var Ht;
|
@@ -1189,7 +1189,7 @@ function Ng({ defaultValue: s, defaultLanguage: i, defaultPath: a, value: l, lan
|
|
1189
1189
|
var G, _e;
|
1190
1190
|
(G = Ee.current) == null || G.dispose(), z ? k && Bs.set(p, ae.current.saveViewState()) : (_e = ae.current.getModel()) == null || _e.dispose(), ae.current.dispose();
|
1191
1191
|
}
|
1192
|
-
return yr.createElement(Qc, { width:
|
1192
|
+
return yr.createElement(Qc, { width: R, height: F, isEditorReady: K, loading: g, _ref: at, className: B, wrapperProps: re });
|
1193
1193
|
}
|
1194
1194
|
var Pg = Ng, Og = Dn(Pg);
|
1195
1195
|
const uc = {
|
@@ -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,13 +58934,13 @@ ${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 } =
|
58941
|
-
if (s.length > 1 &&
|
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
|
+
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
|
-
typeof k == "string" ? F = k : F = k.join(he.lineBreak) || "", F.length < 200 &&
|
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));
|
58944
58944
|
}
|
58945
58945
|
if (z) {
|
58946
58946
|
const F = [];
|
@@ -58948,9 +58948,9 @@ function jg(s, i = 0, a = !0) {
|
|
58948
58948
|
const re = B.desc ? ` - ${B.desc}` : "";
|
58949
58949
|
F.push(`${B.name} (${B.type}) ${re}`);
|
58950
58950
|
}
|
58951
|
-
|
58951
|
+
R.push(he.paragraph(he.bold(It.Fields), he.lineBreak, F.join(he.paragraphBreak)));
|
58952
58952
|
}
|
58953
|
-
return a &&
|
58953
|
+
return a && R.push(he.italic(`${he.code(u ? "⌘" : "Ctrl")} + ${Rg.clickOnKeywordForMoreHelp}`)), R.join(R.length === 2 ? " " : he.lineBreak);
|
58954
58954
|
}
|
58955
58955
|
const dc = "tcc_last_edited_script", eu = "tcc_original_script", gn = "tcc_cursor_position", Ug = ["submenuitem.EditorContextPeek", "editor.action.peekDefinition"];
|
58956
58956
|
function Wg(s) {
|
@@ -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,49 +59097,49 @@ 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 =
|
59111
|
-
let w = /* @__PURE__ */ new Map(), k = p.map((
|
59112
|
-
...
|
59110
|
+
const [m, ...b] = u.split("."), g = b.length > 0, v = o.get(this._getNodeKey(m, g ? "ns" : a));
|
59111
|
+
let w = /* @__PURE__ */ new Map(), k = p.map((R) => ({
|
59112
|
+
...R,
|
59113
59113
|
name: u
|
59114
59114
|
})), z = this._getNodeKey(u, a);
|
59115
59115
|
if (g && a !== "type") {
|
59116
|
-
const
|
59116
|
+
const R = /* @__PURE__ */ new Map([[b.join("."), p]]);
|
59117
59117
|
k = [{
|
59118
59118
|
name: m,
|
59119
59119
|
title: ke.namespace
|
59120
|
-
}], z = this._getNodeKey(m, "ns"), w = this._generateTreeSlice(
|
59120
|
+
}], z = this._getNodeKey(m, "ns"), w = this._generateTreeSlice(R, a);
|
59121
59121
|
}
|
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,34 +59158,34 @@ 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 && (
|
59171
|
-
var
|
59172
|
-
const F = `${u}.${
|
59170
|
+
p && (o = p.filter((R) => {
|
59171
|
+
var E;
|
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) {
|
59174
|
-
const M = this._getNamedArgumentsCompletionList(((
|
59174
|
+
const M = this._getNamedArgumentsCompletionList(((E = B[0]) == null ? void 0 : E.args) || []), le = `${m}.${R.label}`;
|
59175
59175
|
this._userFuncArgsCache.set(le, M), this._methodFuncs.set(le, B);
|
59176
59176
|
}
|
59177
59177
|
return re;
|
59178
59178
|
}));
|
59179
59179
|
const { types: b } = Ut, g = ((w = (v = this._userTypes.get(u)) == null ? void 0 : v[0]) == null ? void 0 : w.fields) || ((z = (k = b.get(u)) == null ? void 0 : k[0]) == null ? void 0 : z.fields);
|
59180
59180
|
if (g)
|
59181
|
-
for (const
|
59182
|
-
const F =
|
59183
|
-
this._setUserVariableSubItems({ name: F, type: B }, i.name),
|
59181
|
+
for (const R of g) {
|
59182
|
+
const F = R.name, B = R.type, re = this._getInstanceTypeCompletionItemProp({ name: F, type: B });
|
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,28 +59271,28 @@ 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
|
-
insertTextRules:
|
59285
|
+
insertTextRules: Nt.CompletionItemInsertTextRule.InsertAsSnippet,
|
59286
59286
|
sortText: `2_${a}`,
|
59287
|
-
kind:
|
59287
|
+
kind: Nt.CompletionItemKind.Snippet,
|
59288
59288
|
documentation: m
|
59289
59289
|
};
|
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: {
|
@@ -59335,35 +59335,35 @@ class $g {
|
|
59335
59335
|
},
|
59336
59336
|
insertText: m,
|
59337
59337
|
detail: `(${ke.parameter}) ${ke.types} ${p}`,
|
59338
|
-
kind:
|
59338
|
+
kind: Nt.CompletionItemKind.Text,
|
59339
59339
|
sortText: `0_${m}`
|
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,
|
59352
59352
|
insertText: i.name,
|
59353
|
-
kind:
|
59353
|
+
kind: Nt.CompletionItemKind.Variable,
|
59354
59354
|
sortText: `${a}_${i.name}`,
|
59355
59355
|
detail: `(${g}) ${i.type}`
|
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
|
},
|
59364
59364
|
label: i.name,
|
59365
59365
|
insertText: i.name,
|
59366
|
-
kind:
|
59366
|
+
kind: Nt.CompletionItemKind.Keyword,
|
59367
59367
|
sortText: `${a}_${i.name}`,
|
59368
59368
|
detail: `(${ke.keywords})`
|
59369
59369
|
};
|
@@ -59376,7 +59376,7 @@ class $g {
|
|
59376
59376
|
},
|
59377
59377
|
label: i.name,
|
59378
59378
|
insertText: i.name,
|
59379
|
-
kind:
|
59379
|
+
kind: Nt.CompletionItemKind.Keyword,
|
59380
59380
|
sortText: `1_${i.name}`,
|
59381
59381
|
detail: `(${ke.types})`
|
59382
59382
|
};
|
@@ -59389,37 +59389,37 @@ class $g {
|
|
59389
59389
|
},
|
59390
59390
|
label: i.name,
|
59391
59391
|
insertText: i.name,
|
59392
|
-
kind:
|
59392
|
+
kind: Nt.CompletionItemKind.Keyword,
|
59393
59393
|
sortText: `2_${i.name}`,
|
59394
59394
|
detail: `(${ke.userDefinedType})`
|
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,
|
59405
|
-
kind:
|
59405
|
+
kind: Nt.CompletionItemKind.Field,
|
59406
59406
|
sortText: `2_${i.name}`,
|
59407
59407
|
detail: `(${ke.field}) ${i.type}`
|
59408
59408
|
};
|
59409
59409
|
}
|
59410
|
-
_getFunctionCompletionItem(i, a = 2,
|
59411
|
-
var
|
59412
|
-
const u = i.returnedTypes && i.returnedTypes[0] || i.syntax && i.syntax[0] && ((
|
59410
|
+
_getFunctionCompletionItem(i, a = 2, o = !0) {
|
59411
|
+
var R;
|
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,
|
59420
|
-
kind:
|
59420
|
+
kind: Nt.CompletionItemKind.Function,
|
59421
59421
|
sortText: `${a}_${v}`,
|
59422
|
-
insertTextRules:
|
59422
|
+
insertTextRules: Nt.CompletionItemInsertTextRule.InsertAsSnippet,
|
59423
59423
|
insertText: z + this._bracketsPostfix,
|
59424
59424
|
detail: `(${w}) ${ke.returns} ${u}`,
|
59425
59425
|
command: {
|
@@ -59432,16 +59432,16 @@ 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,
|
59443
59443
|
sortText: `${a}_${i.name}`,
|
59444
|
-
kind:
|
59444
|
+
kind: Nt.CompletionItemKind.Module
|
59445
59445
|
};
|
59446
59446
|
}
|
59447
59447
|
_extractExamples(i) {
|
@@ -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,36 +59645,36 @@ 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,
|
59653
|
-
for (const
|
59652
|
+
let g = b[0], v, w = null, k = i.indexOf(a, o - a.length) + 1, z = k + g.length - 1;
|
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;
|
59659
59659
|
}
|
59660
59660
|
if (w) {
|
59661
|
-
v = w, k = z + 2, z = z +
|
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 ===
|
59663
|
-
if (B && k <=
|
59661
|
+
v = w, k = z + 2, z = z + R.length + 1;
|
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 <= o && z >= o)
|
59664
59664
|
return {
|
59665
|
-
name: `${w}.${
|
59665
|
+
name: `${w}.${R}`,
|
59666
59666
|
desc: B.desc,
|
59667
59667
|
type: this._arrayTypeTransform(B.type),
|
59668
59668
|
title: ke.field
|
59669
59669
|
};
|
59670
59670
|
w = B == null ? void 0 : B.type;
|
59671
59671
|
} else
|
59672
|
-
g = `${g}.${
|
59672
|
+
g = `${g}.${R}`, z = z + R.length + 1;
|
59673
59673
|
}
|
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,17 +59764,17 @@ 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
|
-
["bindKey",
|
59770
|
+
["bindKey", E],
|
59771
59771
|
["curry", le],
|
59772
59772
|
["curryRight", ee],
|
59773
59773
|
["flip", ge],
|
59774
59774
|
["partial", K],
|
59775
59775
|
["partialRight", ce],
|
59776
59776
|
["rearg", ze]
|
59777
|
-
], Ge = "[object Arguments]", ar = "[object Array]", ra = "[object AsyncFunction]", Rt = "[object Boolean]", $t = "[object Date]", zr = "[object DOMException]", Nr = "[object Error]", gr = "[object Function]", Wa = "[object GeneratorFunction]", st = "[object Map]", Mt = "[object Number]", Pr = "[object Null]", yt = "[object Object]", aa = "[object Promise]", Or = "[object Proxy]", br = "[object RegExp]", it = "[object Set]", Gt = "[object String]", Er = "[object Symbol]", Qs = "[object Undefined]", sr = "[object WeakMap]", Ha = "[object WeakSet]",
|
59777
|
+
], Ge = "[object Arguments]", ar = "[object Array]", ra = "[object AsyncFunction]", Rt = "[object Boolean]", $t = "[object Date]", zr = "[object DOMException]", Nr = "[object Error]", gr = "[object Function]", Wa = "[object GeneratorFunction]", st = "[object Map]", Mt = "[object Number]", Pr = "[object Null]", yt = "[object Object]", aa = "[object Promise]", Or = "[object Proxy]", br = "[object RegExp]", it = "[object Set]", Gt = "[object String]", Er = "[object Symbol]", Qs = "[object Undefined]", sr = "[object WeakMap]", Ha = "[object WeakSet]", kt = "[object ArrayBuffer]", ir = "[object DataView]", Rr = "[object Float32Array]", Mr = "[object Float64Array]", xr = "[object Int8Array]", sa = "[object Int16Array]", ia = "[object Int32Array]", na = "[object Uint8Array]", oa = "[object Uint8ClampedArray]", la = "[object Uint16Array]", ca = "[object Uint32Array]", Zs = /\b__p \+= '';/g, ua = /\b(__p \+=) '' \+/g, $a = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Xt = /&(?:amp|lt|gt|quot|#39);/g, Lr = /[&<>"']/g, da = RegExp(Xt.source), Ga = RegExp(Lr.source), Js = /<%-([\s\S]+?)%>/g, Xa = /<%([\s\S]+?)%>/g, Ka = /<%=([\s\S]+?)%>/g, Ya = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Va = /^\w*$/, ei = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, pa = /[\\^$.*+?()[\]{}|]/g, Qa = RegExp(pa.source), ma = /^\s+/, ti = /\s/, ri = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, ai = /\{\n\/\* \[wrapped with (.+)\] \*/, y = /,? & /, S = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, N = /[()=,{}\[\]\/\s]/, $ = /\\(\\)?/g, ue = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, me = /\w*$/, ie = /^[-+]0x[0-9a-f]+$/i, te = /^0b[01]+$/i, Be = /^\[object .+?Constructor\]$/, Ie = /^0o[0-7]+$/i, Ae = /^(?:0|[1-9]\d*)$/, Qe = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, At = /($^)/, Za = /['\n\r\u2028\u2029\\]/g, Ze = "\\ud800-\\udfff", yu = "\\u0300-\\u036f", hu = "\\ufe20-\\ufe2f", _u = "\\u20d0-\\u20ff", Cn = yu + hu + _u, Sn = "\\u2700-\\u27bf", zn = "a-z\\xdf-\\xf6\\xf8-\\xff", gu = "\\xac\\xb1\\xd7\\xf7", bu = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", xu = "\\u2000-\\u206f", vu = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Nn = "A-Z\\xc0-\\xd6\\xd8-\\xde", Pn = "\\ufe0e\\ufe0f", On = gu + bu + xu + vu, si = "['’]", wu = "[" + Ze + "]", En = "[" + On + "]", Ja = "[" + Cn + "]", Rn = "\\d+", Tu = "[" + Sn + "]", Mn = "[" + zn + "]", Ln = "[^" + Ze + On + Rn + Sn + zn + Nn + "]", ii = "\\ud83c[\\udffb-\\udfff]", Iu = "(?:" + Ja + "|" + ii + ")", Fn = "[^" + Ze + "]", ni = "(?:\\ud83c[\\udde6-\\uddff]){2}", oi = "[\\ud800-\\udbff][\\udc00-\\udfff]", Fr = "[" + Nn + "]", Bn = "\\u200d", jn = "(?:" + Mn + "|" + Ln + ")", Du = "(?:" + Fr + "|" + Ln + ")", Un = "(?:" + si + "(?:d|ll|m|re|s|t|ve))?", Wn = "(?:" + si + "(?:D|LL|M|RE|S|T|VE))?", Hn = Iu + "?", $n = "[" + Pn + "]?", ku = "(?:" + Bn + "(?:" + [Fn, ni, oi].join("|") + ")" + $n + Hn + ")*", Au = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", qu = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Gn = $n + Hn + ku, Cu = "(?:" + [Tu, ni, oi].join("|") + ")" + Gn, Su = "(?:" + [Fn + Ja + "?", Ja, ni, oi, wu].join("|") + ")", zu = RegExp(si, "g"), Nu = RegExp(Ja, "g"), li = RegExp(ii + "(?=" + ii + ")|" + Su + Gn, "g"), Pu = RegExp([
|
59778
59778
|
Fr + "?" + Mn + "+" + Un + "(?=" + [En, Fr, "$"].join("|") + ")",
|
59779
59779
|
Du + "+" + Wn + "(?=" + [En, Fr + jn, "$"].join("|") + ")",
|
59780
59780
|
Fr + "?" + jn + "+" + Un,
|
@@ -59815,9 +59815,9 @@ Gs.exports;
|
|
59815
59815
|
"parseInt",
|
59816
59816
|
"setTimeout"
|
59817
59817
|
], Mu = -1, we = {};
|
59818
|
-
we[Rr] = we[Mr] = we[xr] = we[sa] = we[ia] = we[na] = we[oa] = we[la] = we[ca] = !0, we[Ge] = we[ar] = we[
|
59818
|
+
we[Rr] = we[Mr] = we[xr] = we[sa] = we[ia] = we[na] = we[oa] = we[la] = we[ca] = !0, we[Ge] = we[ar] = we[kt] = we[Rt] = we[ir] = we[$t] = we[Nr] = we[gr] = we[st] = we[Mt] = we[yt] = we[br] = we[it] = we[Gt] = we[sr] = !1;
|
59819
59819
|
var ve = {};
|
59820
|
-
ve[Ge] = ve[ar] = ve[
|
59820
|
+
ve[Ge] = ve[ar] = ve[kt] = ve[ir] = ve[Rt] = ve[$t] = ve[Rr] = ve[Mr] = ve[xr] = ve[sa] = ve[ia] = ve[st] = ve[Mt] = ve[yt] = ve[br] = ve[it] = ve[Gt] = ve[Er] = ve[na] = ve[oa] = ve[la] = ve[ca] = !0, ve[Nr] = ve[gr] = ve[sr] = !1;
|
59821
59821
|
var Lu = {
|
59822
59822
|
// Latin-1 Supplement block.
|
59823
59823
|
À: "A",
|
@@ -60286,7 +60286,7 @@ Gs.exports;
|
|
60286
60286
|
function Ur(_) {
|
60287
60287
|
return jr(_) ? dd(_) : Ku(_);
|
60288
60288
|
}
|
60289
|
-
function
|
60289
|
+
function qt(_) {
|
60290
60290
|
return jr(_) ? pd(_) : Yu(_);
|
60291
60291
|
}
|
60292
60292
|
function uo(_) {
|
@@ -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:
|
@@ -60531,7 +60531,7 @@ Gs.exports;
|
|
60531
60531
|
return this.__data__.has(e);
|
60532
60532
|
}
|
60533
60533
|
Ir.prototype.add = Ir.prototype.push = Jd, Ir.prototype.has = ep;
|
60534
|
-
function
|
60534
|
+
function Ct(e) {
|
60535
60535
|
var t = this.__data__ = new Kt(e);
|
60536
60536
|
this.size = t.size;
|
60537
60537
|
}
|
@@ -60558,13 +60558,13 @@ Gs.exports;
|
|
60558
60558
|
}
|
60559
60559
|
return r.set(e, t), this.size = r.size, this;
|
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;
|
@@ -60580,21 +60580,21 @@ Gs.exports;
|
|
60580
60580
|
return Ss(Je(e));
|
60581
60581
|
}
|
60582
60582
|
function Ii(e, t, r) {
|
60583
|
-
(r !== a && !
|
60583
|
+
(r !== a && !St(e[t], r) || r === a && !(t in e)) && Vt(e, t, r);
|
60584
60584
|
}
|
60585
60585
|
function xa(e, t, r) {
|
60586
60586
|
var n = e[t];
|
60587
|
-
(!(ye.call(e, t) &&
|
60587
|
+
(!(ye.call(e, t) && St(n, r)) || r === a && !(t in e)) && Vt(e, t, r);
|
60588
60588
|
}
|
60589
60589
|
function _s(e, t) {
|
60590
60590
|
for (var r = e.length; r--; )
|
60591
|
-
if (
|
60591
|
+
if (St(e[r][0], t))
|
60592
60592
|
return r;
|
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,
|
60623
|
-
var f, h = t & k, x = t & z, A = t &
|
60624
|
-
if (r && (f =
|
60622
|
+
function xt(e, t, r, n, l, d) {
|
60623
|
+
var f, h = t & k, x = t & z, A = t & R;
|
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,16 +60633,16 @@ 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
|
}
|
60645
|
-
d || (d = new
|
60645
|
+
d || (d = new Ct());
|
60646
60646
|
var L = d.get(e);
|
60647
60647
|
if (L)
|
60648
60648
|
return L;
|
@@ -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) {
|
@@ -60805,15 +60805,15 @@ Gs.exports;
|
|
60805
60805
|
return qe(e) && Xe(e) == Ge;
|
60806
60806
|
}
|
60807
60807
|
function _p(e) {
|
60808
|
-
return qe(e) && Xe(e) ==
|
60808
|
+
return qe(e) && Xe(e) == kt;
|
60809
60809
|
}
|
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,36 +60823,36 @@ Gs.exports;
|
|
60823
60823
|
f = !0, q = !1;
|
60824
60824
|
}
|
60825
60825
|
if (P && !q)
|
60826
|
-
return d || (d = new
|
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
|
60831
|
+
return d || (d = new Ct()), l(Q, H, r, n, d);
|
60832
60832
|
}
|
60833
60833
|
}
|
60834
|
-
return P ? (d || (d = new
|
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))
|
60853
60853
|
return !1;
|
60854
60854
|
} else {
|
60855
|
-
var C = new
|
60855
|
+
var C = new Ct();
|
60856
60856
|
if (n)
|
60857
60857
|
var P = n(A, q, x, e, t, C);
|
60858
60858
|
if (!(P === a ? Ta(q, A, F | B, n, C) : P))
|
@@ -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
|
-
if (!r || !
|
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) ?
|
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,
|
61422
|
-
var q = t & Z, C = t & re, P = t &
|
61421
|
+
function Is(e, t, r, n, l, d, f, h, x, A) {
|
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,
|
@@ -61440,8 +61440,8 @@ Gs.exports;
|
|
61440
61440
|
A - se
|
61441
61441
|
);
|
61442
61442
|
}
|
61443
|
-
var
|
61444
|
-
return se = oe.length, h ? oe = lm(oe, h) : W && se > 1 && oe.reverse(), q && x < se && (oe.length = x), this && this !== je && this instanceof H && (rr = Q || Da(rr)), rr.apply(
|
61443
|
+
var zt = C ? r : this, rr = P ? zt[e] : e;
|
61444
|
+
return se = oe.length, h ? oe = lm(oe, h) : W && se > 1 && oe.reverse(), q && x < se && (oe.length = x), this && this !== je && this instanceof H && (rr = Q || Da(rr)), rr.apply(zt, oe);
|
61445
61445
|
}
|
61446
61446
|
return H;
|
61447
61447
|
}
|
@@ -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
|
});
|
@@ -61479,16 +61479,16 @@ Gs.exports;
|
|
61479
61479
|
if (r < 2)
|
61480
61480
|
return r ? Ei(t, e) : t;
|
61481
61481
|
var n = Ei(t, ps(e / Ur(t)));
|
61482
|
-
return jr(t) ? mr(
|
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
|
-
t |= q ? K : ce, t &= ~(q ? ce : K), t & M || (t &= ~(re |
|
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,
|
61542
|
-
var x = t &
|
61541
|
+
function Qt(e, t, r, n, l, d, f, h) {
|
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
|
-
return e === a ||
|
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,31 +61595,31 @@ 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)
|
61615
61615
|
return !1;
|
61616
61616
|
e = e.buffer, t = t.buffer;
|
61617
|
-
case
|
61617
|
+
case kt:
|
61618
61618
|
return !(e.byteLength != t.byteLength || !d(new ls(e), new ls(t)));
|
61619
61619
|
case Rt:
|
61620
61620
|
case $t:
|
61621
61621
|
case Mt:
|
61622
|
-
return
|
61622
|
+
return St(+e, +t);
|
61623
61623
|
case Nr:
|
61624
61624
|
return e.name == t.name && e.message == t.message;
|
61625
61625
|
case br:
|
@@ -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);
|
@@ -61797,7 +61797,7 @@ Gs.exports;
|
|
61797
61797
|
function Zp(e, t, r) {
|
61798
61798
|
var n = e.constructor;
|
61799
61799
|
switch (t) {
|
61800
|
-
case
|
61800
|
+
case kt:
|
61801
61801
|
return ji(e);
|
61802
61802
|
case Rt:
|
61803
61803
|
case $t:
|
@@ -61847,7 +61847,7 @@ Gs.exports;
|
|
61847
61847
|
if (!De(r))
|
61848
61848
|
return !1;
|
61849
61849
|
var n = typeof t;
|
61850
|
-
return (n == "number" ? et(r) && Jt(t, r.length) : n == "string" && t in r) ?
|
61850
|
+
return (n == "number" ? et(r) && Jt(t, r.length) : n == "string" && t in r) ? St(r[t], e) : !1;
|
61851
61851
|
}
|
61852
61852
|
function Yi(e, t) {
|
61853
61853
|
if (Y(e))
|
@@ -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);
|
@@ -62169,7 +62169,7 @@ Gs.exports;
|
|
62169
62169
|
var r = e == null ? 0 : e.length;
|
62170
62170
|
if (r) {
|
62171
62171
|
var n = vs(e, t);
|
62172
|
-
if (n < r &&
|
62172
|
+
if (n < r && St(e[n], t))
|
62173
62173
|
return n;
|
62174
62174
|
}
|
62175
62175
|
return -1;
|
@@ -62184,7 +62184,7 @@ Gs.exports;
|
|
62184
62184
|
var r = e == null ? 0 : e.length;
|
62185
62185
|
if (r) {
|
62186
62186
|
var n = vs(e, t, !0) - 1;
|
62187
|
-
if (
|
62187
|
+
if (St(e[n], t))
|
62188
62188
|
return n;
|
62189
62189
|
}
|
62190
62190
|
return -1;
|
@@ -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
|
-
var n = re |
|
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,24 +62477,24 @@ 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
|
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;
|
62490
62490
|
}
|
62491
62491
|
function Q(Se) {
|
62492
|
-
var
|
62492
|
+
var zt = Se - x, rr = Se - A, ec = t - zt;
|
62493
62493
|
return C ? We(ec, d - rr) : ec;
|
62494
62494
|
}
|
62495
62495
|
function H(Se) {
|
62496
|
-
var
|
62497
|
-
return x === a ||
|
62496
|
+
var zt = Se - x, rr = Se - A;
|
62497
|
+
return x === a || zt >= t || zt < 0 || C && rr >= d;
|
62498
62498
|
}
|
62499
62499
|
function se() {
|
62500
62500
|
var Se = Ps();
|
@@ -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
|
-
var Se = Ps(),
|
62516
|
-
if (n = arguments,
|
62515
|
+
var Se = Ps(), zt = H(Se);
|
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) {
|
@@ -62618,21 +62618,21 @@ Gs.exports;
|
|
62618
62618
|
return Y(e) ? e : [e];
|
62619
62619
|
}
|
62620
62620
|
function ay(e) {
|
62621
|
-
return xt(e,
|
62621
|
+
return xt(e, R);
|
62622
62622
|
}
|
62623
62623
|
function sy(e, t) {
|
62624
|
-
return t = typeof t == "function" ? t : a, xt(e,
|
62624
|
+
return t = typeof t == "function" ? t : a, xt(e, R, t);
|
62625
62625
|
}
|
62626
62626
|
function iy(e) {
|
62627
|
-
return xt(e, k |
|
62627
|
+
return xt(e, k | R);
|
62628
62628
|
}
|
62629
62629
|
function ny(e, t) {
|
62630
|
-
return t = typeof t == "function" ? t : a, xt(e, k |
|
62630
|
+
return t = typeof t == "function" ? t : a, xt(e, k | R, t);
|
62631
62631
|
}
|
62632
62632
|
function oy(e, t) {
|
62633
62633
|
return t == null || To(e, t, Le(t));
|
62634
62634
|
}
|
62635
|
-
function
|
62635
|
+
function St(e, t) {
|
62636
62636
|
return e === t || e !== e && t !== t;
|
62637
62637
|
}
|
62638
62638
|
var ly = As(qi), cy = As(function(e, t) {
|
@@ -62767,7 +62767,7 @@ Gs.exports;
|
|
62767
62767
|
if (!e)
|
62768
62768
|
return [];
|
62769
62769
|
if (et(e))
|
62770
|
-
return Ms(e) ?
|
62770
|
+
return Ms(e) ? qt(e) : Je(e);
|
62771
62771
|
if (ya && e[ya])
|
62772
62772
|
return nd(e[ya]());
|
62773
62773
|
var t = He(e), r = t == st ? bi : t == it ? rs : Zr;
|
@@ -62833,11 +62833,11 @@ 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
|
-
(q === a ||
|
62840
|
+
(q === a || St(q, Hr[A]) && !ye.call(e, A)) && (e[A] = d[A]);
|
62841
62841
|
}
|
62842
62842
|
return e;
|
62843
62843
|
}), Ry = J(function(e) {
|
@@ -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) {
|
@@ -62911,9 +62911,9 @@ Gs.exports;
|
|
62911
62911
|
var n = !1;
|
62912
62912
|
t = Te(t, function(d) {
|
62913
62913
|
return d = pr(d, e), n || (n = d.length > 1), d;
|
62914
|
-
}), Ft(e, $i(e), r), n && (r = xt(r, k | z |
|
62915
|
-
for (var
|
62916
|
-
Mi(r, t[
|
62914
|
+
}), Ft(e, $i(e), r), n && (r = xt(r, k | z | R, $p));
|
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);
|
@@ -63049,7 +63049,7 @@ Gs.exports;
|
|
63049
63049
|
return e + (r ? "_" : "") + t.toLowerCase();
|
63050
63050
|
});
|
63051
63051
|
function kh(e, t, r) {
|
63052
|
-
return r && typeof r != "number" && Ke(e, t, r) && (t = r = a), r = r === a ? G : r >>> 0, r ? (e = fe(e), e && (typeof t == "string" || t != null && !sn(t)) && (t = lt(t), !t && jr(e)) ? mr(
|
63052
|
+
return r && typeof r != "number" && Ke(e, t, r) && (t = r = a), r = r === a ? G : r >>> 0, r ? (e = fe(e), e && (typeof t == "string" || t != null && !sn(t)) && (t = lt(t), !t && jr(e)) ? mr(qt(e), 0, r) : e.split(t, r)) : [];
|
63053
63053
|
}
|
63054
63054
|
var Ah = Yr(function(e, t, r) {
|
63055
63055
|
return e + (r ? " " : "") + ln(t);
|
@@ -63060,8 +63060,8 @@ 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
|
63064
|
-
(t.escape ||
|
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
|
+
(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 + "]") + `
|
63067
63067
|
`;
|
@@ -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 =
|
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,27 +63116,27 @@ 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 =
|
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 =
|
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);
|
63137
63137
|
var d = e.length;
|
63138
63138
|
if (jr(e)) {
|
63139
|
-
var f =
|
63139
|
+
var f = qt(e);
|
63140
63140
|
d = f.length;
|
63141
63141
|
}
|
63142
63142
|
if (r >= d)
|
@@ -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)));
|
@@ -63328,12 +63328,12 @@ function print() { __p += __j.call(arguments, '') }
|
|
63328
63328
|
function w_(e, t) {
|
63329
63329
|
return e && e.length ? hi(e, j(t, 2)) : 0;
|
63330
63330
|
}
|
63331
|
-
return c.after = Hf, c.ary = Sl, c.assign = zy, c.assignIn = Hl, c.assignInWith = Ls, c.assignWith = Ny, c.at = Py, c.before = zl, c.bind = tn, c.bindAll = Lh, c.bindKey = Nl, c.castArray = ry, c.chain = Al, c.chunk = um, c.compact = dm, c.concat = pm, c.cond = Fh, c.conforms = Bh, c.constant = cn, c.countBy = vf, c.create = Oy, c.curry = Pl, c.curryRight = Ol, c.debounce = El, c.defaults = Ey, c.defaultsDeep = Ry, c.defer = $f, c.delay = Gf, c.difference = mm, c.differenceBy = fm, c.differenceWith = ym, c.drop = hm, c.dropRight = _m, c.dropRightWhile = gm, c.dropWhile = bm, c.fill = xm, c.filter = Tf, c.flatMap = kf, c.flatMapDeep = Af, c.flatMapDepth = qf, c.flatten = Tl, c.flattenDeep = vm, c.flattenDepth = wm, c.flip = Xf, c.flow = Uh, c.flowRight = Wh, c.fromPairs = Tm, c.functions = Wy, c.functionsIn = Hy, c.groupBy = Cf, c.initial = Dm, c.intersection = km, c.intersectionBy = Am, c.intersectionWith = qm, c.invert = Gy, c.invertBy = Xy, c.invokeMap = zf, c.iteratee = un, c.keyBy = Nf, c.keys = Le, c.keysIn = tt, c.map = Ns, c.mapKeys = Yy, c.mapValues = Vy, c.matches = Hh, c.matchesProperty = $h, c.memoize = Os, c.merge = Qy, c.mergeWith = $l, c.method = Gh, c.methodOf = Xh, c.mixin = dn, c.negate = Es, c.nthArg = Yh, c.omit = Zy, c.omitBy = Jy, c.once = Kf, c.orderBy = Pf, c.over = Vh, c.overArgs = Yf, c.overEvery = Qh, c.overSome = Zh, c.partial = rn, c.partialRight = Rl, c.partition = Of, c.pick = eh, c.pickBy = Gl, c.property = Jl, c.propertyOf = Jh, c.pull = Nm, c.pullAll = Dl, c.pullAllBy = Pm, c.pullAllWith = Om, c.pullAt = Em, c.range = e_, c.rangeRight = t_, c.rearg = Vf, c.reject = Mf, c.remove = Rm, c.rest = Qf, c.reverse = Ji, c.sampleSize = Ff, c.set = rh, c.setWith = ah, c.shuffle = Bf, c.slice = Mm, c.sortBy = Wf, c.sortedUniq = Hm, c.sortedUniqBy = $m, c.split = kh, c.spread = Zf, c.tail = Gm, c.take = Xm, c.takeRight = Km, c.takeRightWhile = Ym, c.takeWhile = Vm, c.tap = pf, c.throttle = Jf, c.thru = zs, c.toArray = jl, c.toPairs = Xl, c.toPairsIn = Kl, c.toPath = n_, c.toPlainObject = Wl, c.transform = sh, c.unary = ey, c.union = Qm, c.unionBy = Zm, c.unionWith = Jm, c.uniq = ef, c.uniqBy = tf, c.uniqWith = rf, c.unset = ih, c.unzip = en, c.unzipWith = kl, c.update = nh, c.updateWith = oh, c.values = Zr, c.valuesIn = lh, c.without = af, c.words = Ql, c.wrap = ty, c.xor = sf, c.xorBy = nf, c.xorWith = of, c.zip = lf, c.zipObject = cf, c.zipObjectDeep = uf, c.zipWith = df, c.entries = Xl, c.entriesIn = Kl, c.extend = Hl, c.extendWith = Ls, dn(c, c), c.add = l_, c.attempt = Zl, c.camelCase = ph, c.capitalize = Yl, c.ceil = c_, c.clamp = ch, c.clone = ay, c.cloneDeep = iy, c.cloneDeepWith = ny, c.cloneWith = sy, c.conformsTo = oy, c.deburr = Vl, c.defaultTo = jh, c.divide = u_, c.endsWith = mh, c.eq =
|
63331
|
+
return c.after = Hf, c.ary = Sl, c.assign = zy, c.assignIn = Hl, c.assignInWith = Ls, c.assignWith = Ny, c.at = Py, c.before = zl, c.bind = tn, c.bindAll = Lh, c.bindKey = Nl, c.castArray = ry, c.chain = Al, c.chunk = um, c.compact = dm, c.concat = pm, c.cond = Fh, c.conforms = Bh, c.constant = cn, c.countBy = vf, c.create = Oy, c.curry = Pl, c.curryRight = Ol, c.debounce = El, c.defaults = Ey, c.defaultsDeep = Ry, c.defer = $f, c.delay = Gf, c.difference = mm, c.differenceBy = fm, c.differenceWith = ym, c.drop = hm, c.dropRight = _m, c.dropRightWhile = gm, c.dropWhile = bm, c.fill = xm, c.filter = Tf, c.flatMap = kf, c.flatMapDeep = Af, c.flatMapDepth = qf, c.flatten = Tl, c.flattenDeep = vm, c.flattenDepth = wm, c.flip = Xf, c.flow = Uh, c.flowRight = Wh, c.fromPairs = Tm, c.functions = Wy, c.functionsIn = Hy, c.groupBy = Cf, c.initial = Dm, c.intersection = km, c.intersectionBy = Am, c.intersectionWith = qm, c.invert = Gy, c.invertBy = Xy, c.invokeMap = zf, c.iteratee = un, c.keyBy = Nf, c.keys = Le, c.keysIn = tt, c.map = Ns, c.mapKeys = Yy, c.mapValues = Vy, c.matches = Hh, c.matchesProperty = $h, c.memoize = Os, c.merge = Qy, c.mergeWith = $l, c.method = Gh, c.methodOf = Xh, c.mixin = dn, c.negate = Es, c.nthArg = Yh, c.omit = Zy, c.omitBy = Jy, c.once = Kf, c.orderBy = Pf, c.over = Vh, c.overArgs = Yf, c.overEvery = Qh, c.overSome = Zh, c.partial = rn, c.partialRight = Rl, c.partition = Of, c.pick = eh, c.pickBy = Gl, c.property = Jl, c.propertyOf = Jh, c.pull = Nm, c.pullAll = Dl, c.pullAllBy = Pm, c.pullAllWith = Om, c.pullAt = Em, c.range = e_, c.rangeRight = t_, c.rearg = Vf, c.reject = Mf, c.remove = Rm, c.rest = Qf, c.reverse = Ji, c.sampleSize = Ff, c.set = rh, c.setWith = ah, c.shuffle = Bf, c.slice = Mm, c.sortBy = Wf, c.sortedUniq = Hm, c.sortedUniqBy = $m, c.split = kh, c.spread = Zf, c.tail = Gm, c.take = Xm, c.takeRight = Km, c.takeRightWhile = Ym, c.takeWhile = Vm, c.tap = pf, c.throttle = Jf, c.thru = zs, c.toArray = jl, c.toPairs = Xl, c.toPairsIn = Kl, c.toPath = n_, c.toPlainObject = Wl, c.transform = sh, c.unary = ey, c.union = Qm, c.unionBy = Zm, c.unionWith = Jm, c.uniq = ef, c.uniqBy = tf, c.uniqWith = rf, c.unset = ih, c.unzip = en, c.unzipWith = kl, c.update = nh, c.updateWith = oh, c.values = Zr, c.valuesIn = lh, c.without = af, c.words = Ql, c.wrap = ty, c.xor = sf, c.xorBy = nf, c.xorWith = of, c.zip = lf, c.zipObject = cf, c.zipObjectDeep = uf, c.zipWith = df, c.entries = Xl, c.entriesIn = Kl, c.extend = Hl, c.extendWith = Ls, dn(c, c), c.add = l_, c.attempt = Zl, c.camelCase = ph, c.capitalize = Yl, c.ceil = c_, c.clamp = ch, c.clone = ay, c.cloneDeep = iy, c.cloneDeepWith = ny, c.cloneWith = sy, c.conformsTo = oy, c.deburr = Vl, c.defaultTo = jh, c.divide = u_, c.endsWith = mh, c.eq = St, c.escape = fh, c.escapeRegExp = yh, c.every = wf, c.find = If, c.findIndex = vl, c.findKey = My, c.findLast = Df, c.findLastIndex = wl, c.findLastKey = Ly, c.floor = d_, c.forEach = ql, c.forEachRight = Cl, c.forIn = Fy, c.forInRight = By, c.forOwn = jy, c.forOwnRight = Uy, c.get = nn, c.gt = ly, c.gte = cy, c.has = $y, c.hasIn = on, c.head = Il, c.identity = rt, c.includes = Sf, c.indexOf = Im, c.inRange = uh, c.invoke = Ky, c.isArguments = Cr, c.isArray = Y, c.isArrayBuffer = uy, c.isArrayLike = et, c.isArrayLikeObject = Ce, c.isBoolean = dy, c.isBuffer = fr, c.isDate = py, c.isElement = my, c.isEmpty = fy, c.isEqual = yy, c.isEqualWith = hy, c.isError = an, c.isFinite = _y, c.isFunction = er, c.isInteger = Ml, c.isLength = Rs, c.isMap = Ll, c.isMatch = gy, c.isMatchWith = by, c.isNaN = xy, c.isNative = vy, c.isNil = Ty, c.isNull = wy, c.isNumber = Fl, c.isObject = De, c.isObjectLike = qe, c.isPlainObject = qa, c.isRegExp = sn, c.isSafeInteger = Iy, c.isSet = Bl, c.isString = Ms, c.isSymbol = ct, c.isTypedArray = Qr, c.isUndefined = Dy, c.isWeakMap = ky, c.isWeakSet = Ay, c.join = Cm, c.kebabCase = hh, c.last = wt, c.lastIndexOf = Sm, c.lowerCase = _h, c.lowerFirst = gh, c.lt = qy, c.lte = Cy, c.max = p_, c.maxBy = m_, c.mean = f_, c.meanBy = y_, c.min = h_, c.minBy = __, c.stubArray = mn, c.stubFalse = fn, c.stubObject = r_, c.stubString = a_, c.stubTrue = s_, c.multiply = g_, c.nth = zm, c.noConflict = Kh, c.noop = pn, c.now = Ps, c.pad = bh, c.padEnd = xh, c.padStart = vh, c.parseInt = wh, c.random = dh, c.reduce = Ef, c.reduceRight = Rf, c.repeat = Th, c.replace = Ih, c.result = th, c.round = b_, c.runInContext = _, c.sample = Lf, c.size = jf, c.snakeCase = Dh, c.some = Uf, c.sortedIndex = Lm, c.sortedIndexBy = Fm, c.sortedIndexOf = Bm, c.sortedLastIndex = jm, c.sortedLastIndexBy = Um, c.sortedLastIndexOf = Wm, c.startCase = Ah, c.startsWith = qh, c.subtract = x_, c.sum = v_, c.sumBy = w_, c.template = Ch, c.times = i_, c.toFinite = tr, c.toInteger = V, c.toLength = Ul, c.toLower = Sh, c.toNumber = Tt, c.toSafeInteger = Sy, c.toString = fe, c.toUpper = zh, c.trim = Nh, c.trimEnd = Ph, c.trimStart = Oh, c.truncate = Eh, c.unescape = Rh, c.uniqueId = o_, c.upperCase = Mh, c.upperFirst = ln, c.each = ql, c.eachRight = Cl, c.first = Il, dn(c, function() {
|
63332
63332
|
var e = {};
|
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) {
|
@@ -63419,7 +63419,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
63419
63419
|
var n = r.name + "";
|
63420
63420
|
ye.call(Gr, n) || (Gr[n] = []), Gr[n].push({ name: t, func: r });
|
63421
63421
|
}
|
63422
|
-
}), Gr[Is(a,
|
63422
|
+
}), Gr[Is(a, E).name] = [{
|
63423
63423
|
name: "wrapper",
|
63424
63424
|
func: a
|
63425
63425
|
}], ne.prototype.clone = Ed, ne.prototype.reverse = Rd, ne.prototype.value = Md, c.prototype.at = mf, c.prototype.chain = ff, c.prototype.commit = yf, c.prototype.next = hf, c.prototype.plant = gf, c.prototype.reverse = bf, c.prototype.toJSON = c.prototype.valueOf = c.prototype.value = xf, c.prototype.first = c.prototype.head, ya && (c.prototype[ya] = _f), c;
|
@@ -63587,10 +63587,10 @@ const Ve = "tccScript", tu = {
|
|
63587
63587
|
importAlias: /[a-zA-Z\d\_\u00a1\uffff\/]+/,
|
63588
63588
|
empty: /^$/
|
63589
63589
|
};
|
63590
|
-
var
|
63590
|
+
var Pt;
|
63591
63591
|
(function(s) {
|
63592
63592
|
s[s.None = 0] = "None", s[s.Indent = 1] = "Indent", s[s.IndentOutdent = 2] = "IndentOutdent", s[s.Outdent = 3] = "Outdent";
|
63593
|
-
})(
|
63593
|
+
})(Pt || (Pt = {}));
|
63594
63594
|
const ru = {
|
63595
63595
|
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
63596
63596
|
comments: {
|
@@ -63642,47 +63642,47 @@ const ru = {
|
|
63642
63642
|
onEnterRules: [{
|
63643
63643
|
beforeText: /\)\s*=>\s*$/,
|
63644
63644
|
action: {
|
63645
|
-
indentAction:
|
63645
|
+
indentAction: Pt.Indent
|
63646
63646
|
}
|
63647
63647
|
}, {
|
63648
63648
|
beforeText: /if\s+.*\s*$/,
|
63649
63649
|
action: {
|
63650
|
-
indentAction:
|
63650
|
+
indentAction: Pt.Indent
|
63651
63651
|
}
|
63652
63652
|
}, {
|
63653
63653
|
beforeText: /else/,
|
63654
63654
|
action: {
|
63655
|
-
indentAction:
|
63655
|
+
indentAction: Pt.Indent
|
63656
63656
|
}
|
63657
63657
|
}, {
|
63658
63658
|
beforeText: /for\s+\S+\s*=\s*\S+\s+to\s+\S+(?:\s+by\s+\S+)?\s*$/,
|
63659
63659
|
action: {
|
63660
|
-
indentAction:
|
63660
|
+
indentAction: Pt.Indent
|
63661
63661
|
}
|
63662
63662
|
}, {
|
63663
63663
|
beforeText: /for\s+(?:\[\S+\s+\S+]|\S+)\s+in\s+\S+\s*$/,
|
63664
63664
|
action: {
|
63665
|
-
indentAction:
|
63665
|
+
indentAction: Pt.Indent
|
63666
63666
|
}
|
63667
63667
|
}, {
|
63668
63668
|
beforeText: /switch\s+.*\s*$/,
|
63669
63669
|
action: {
|
63670
|
-
indentAction:
|
63670
|
+
indentAction: Pt.Indent
|
63671
63671
|
}
|
63672
63672
|
}, {
|
63673
63673
|
beforeText: /while\s+.*\s*$/,
|
63674
63674
|
action: {
|
63675
|
-
indentAction:
|
63675
|
+
indentAction: Pt.Indent
|
63676
63676
|
}
|
63677
63677
|
}, {
|
63678
63678
|
beforeText: /type\s+\w+/,
|
63679
63679
|
action: {
|
63680
|
-
indentAction:
|
63680
|
+
indentAction: Pt.Indent
|
63681
63681
|
}
|
63682
63682
|
}, {
|
63683
63683
|
beforeText: /^\s*$/,
|
63684
63684
|
action: {
|
63685
|
-
indentAction:
|
63685
|
+
indentAction: Pt.Outdent
|
63686
63686
|
}
|
63687
63687
|
}]
|
63688
63688
|
}, I = { "color-white": "#ffffff", "color-black": "#000000", "color-transparent": "#00000000", "color-cold-gray-50": "#F8F9FD", "color-cold-gray-100": "#F0F3FA", "color-cold-gray-150": "#E0E3EB", "color-cold-gray-200": "#D1D4DC", "color-cold-gray-250": "#C1C4CD", "color-cold-gray-300": "#B2B5BE", "color-cold-gray-350": "#A3A6AF", "color-cold-gray-400": "#9598A1", "color-cold-gray-450": "#868993", "color-cold-gray-500": "#787B86", "color-cold-gray-550": "#6A6D78", "color-cold-gray-600": "#5D606B", "color-cold-gray-650": "#50535E", "color-cold-gray-700": "#434651", "color-cold-gray-750": "#363A45", "color-cold-gray-800": "#2A2E39", "color-cold-gray-850": "#1E222D", "color-cold-gray-900": "#131722", "color-cold-gray-950": "#0C0E15", "color-ripe-red-50": "#FFEBEC", "color-ripe-red-100": "#FCCBCD", "color-ripe-red-200": "#FAA1A4", "color-ripe-red-300": "#F77C80", "color-ripe-red-400": "#F7525F", "color-ripe-red-500": "#F23645", "color-ripe-red-600": "#CC2F3C", "color-ripe-red-700": "#B22833", "color-ripe-red-800": "#991F29", "color-ripe-red-900": "#801922", "color-ripe-red-a100": "#FF8080", "color-ripe-red-a200": "#FF5252", "color-ripe-red-a400": "#FF3333", "color-ripe-red-a600": "#CC2929", "color-ripe-red-a700": "#802028", "color-ripe-red-a800": "#4D191D", "color-ripe-red-a900": "#331F20", "color-tan-orange-50": "#FFF3E0", "color-tan-orange-100": "#FFE0B2", "color-tan-orange-200": "#FFCC80", "color-tan-orange-300": "#ffb74d", "color-tan-orange-400": "#FFA726", "color-tan-orange-500": "#FF9800", "color-tan-orange-600": "#FB8C00", "color-tan-orange-700": "#F57C00", "color-tan-orange-800": "#EF6C00", "color-tan-orange-900": "#e65100", "color-tan-orange-a200": "#ffab40", "color-tan-orange-a400": "#FF9100", "color-tan-orange-a600": "#CC7014", "color-tan-orange-a700": "#8C541C", "color-tan-orange-a800": "#593A1B", "color-tan-orange-a900": "#33261A", "color-iguana-green-100": "#C8E6C9", "color-iguana-green-200": "#A5D6A7", "color-iguana-green-300": "#81c784", "color-iguana-green-400": "#66BB6A", "color-iguana-green-500": "#4caf50", "color-iguana-green-600": "#43a047", "color-iguana-green-700": "#388e3c", "color-iguana-green-800": "#2E7D32", "color-iguana-green-900": "#1B5E20", "color-iguana-green-a700": "#00c853", "color-banana-yellow-100": "#FFF9C4", "color-banana-yellow-200": "#FFF59D", "color-banana-yellow-300": "#FFF176", "color-banana-yellow-400": "#ffee58", "color-banana-yellow-500": "#ffeb3b", "color-banana-yellow-600": "#fdd835", "color-banana-yellow-700": "#fbc02d", "color-banana-yellow-800": "#f9a825", "color-banana-yellow-900": "#F57F17", "color-banana-yellow-a400": "#ffea00", "color-banana-yellow-a700": "#EEDA01", "color-tv-blue-50": "#E3EFFD", "color-tv-blue-100": "#BBD9FB", "color-tv-blue-200": "#90BFF9", "color-tv-blue-300": "#5B9CF6", "color-tv-blue-400": "#3179F5", "color-tv-blue-500": "#2962FF", "color-tv-blue-600": "#1E53E5", "color-tv-blue-700": "#1848CC", "color-tv-blue-800": "#143EB3", "color-tv-blue-900": "#0C3299", "color-tv-blue-a100": "#82b1ff", "color-tv-blue-a200": "#448aff", "color-tv-blue-a400": "#2979ff", "color-tv-blue-a600": "#2962FF", "color-tv-blue-a700": "#143A87", "color-tv-blue-a800": "#142E61", "color-tv-blue-a900": "#132042", "color-deep-blue-50": "#EDE7F6", "color-deep-blue-100": "#D1C4E9", "color-deep-blue-200": "#B39DDB", "color-deep-blue-300": "#9575cd", "color-deep-blue-400": "#7e57c2", "color-deep-blue-500": "#673ab7", "color-deep-blue-700": "#512da8", "color-deep-blue-800": "#4527A0", "color-deep-blue-900": "#311B92", "color-deep-blue-a100": "#b388ff", "color-deep-blue-a200": "#7C4DFF", "color-deep-blue-a400": "#651FFF", "color-deep-blue-a700": "#6200EA", "color-minty-green-50": "#DAF2EE", "color-minty-green-100": "#ACE5DC", "color-minty-green-200": "#70CCBD", "color-minty-green-300": "#42BDA8", "color-minty-green-400": "#22AB94", "color-minty-green-500": "#089981", "color-minty-green-600": "#06806B", "color-minty-green-700": "#056656", "color-minty-green-800": "#004D40", "color-minty-green-900": "#00332A", "color-minty-green-a400": "#2BD9BC", "color-minty-green-a600": "#24B29B", "color-minty-green-a700": "#1B7667", "color-minty-green-a800": "#10443B", "color-minty-green-a900": "#082621", "color-grapes-purple-50": "#F3E5F5", "color-grapes-purple-100": "#E1BEE7", "color-grapes-purple-200": "#CE93D8", "color-grapes-purple-300": "#ba68c8", "color-grapes-purple-400": "#ab47bc", "color-grapes-purple-500": "#9c27b0", "color-grapes-purple-600": "#8e24aa", "color-grapes-purple-700": "#7b1fa2", "color-grapes-purple-800": "#6A1B9A", "color-grapes-purple-900": "#4A148C", "color-grapes-purple-a100": "#EA80FC", "color-grapes-purple-a200": "#E040FB", "color-grapes-purple-a400": "#D500F9", "color-grapes-purple-a700": "#aa00ff", "color-berry-pink-100": "#F8BBD0", "color-berry-pink-200": "#f48fb1", "color-berry-pink-300": "#f06292", "color-berry-pink-400": "#ec407a", "color-berry-pink-500": "#e91e63", "color-berry-pink-600": "#D81B60", "color-berry-pink-700": "#C2185B", "color-berry-pink-800": "#AD1457", "color-berry-pink-900": "#880E4F", "color-berry-pink-a100": "#ff80ab", "color-berry-pink-a200": "#ff4081", "color-berry-pink-a400": "#f50057", "color-sky-blue-100": "#B2EBF2", "color-sky-blue-200": "#80DEEA", "color-sky-blue-300": "#4dd0e1", "color-sky-blue-400": "#26c6da", "color-sky-blue-500": "#00bcd4", "color-sky-blue-600": "#00acc1", "color-sky-blue-700": "#0097A7", "color-sky-blue-800": "#00838F", "color-sky-blue-900": "#006064", "color-sky-blue-a400": "#00e5ff", "color-sky-blue-a700": "#00B8D4", "color-deep-blue-600": "#5E35B1", "color-forest-green-50": "#DAF2E6", "color-forest-green-100": "#ACE5C9", "color-forest-green-200": "#70CC9E", "color-forest-green-300": "#42BD7F", "color-forest-green-400": "#22AB67", "color-forest-green-500": "#089950", "color-forest-green-600": "#068043", "color-forest-green-700": "#056636", "color-forest-green-800": "#004D27", "color-forest-green-900": "#1A3326", "color-facebook": "#1877F2", "color-deep-facebook": "#1564CA", "color-twitter": "#1DA1F2", "color-deep-twitter": "#188CD3", "color-youtube": "#FF0000", "color-linkedin": "#007BB5", "color-seeking-alpha-brand": "#ff7200" };
|
@@ -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,14 +64226,14 @@ 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
|
-
const { funcName:
|
64236
|
+
const { funcName: R, args: F } = w, B = Qg.getSignatureHelpValues(R, F);
|
64237
64237
|
if (B)
|
64238
64238
|
return {
|
64239
64239
|
value: 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);
|
@@ -64390,9 +64390,9 @@ _r.prototype = {
|
|
64390
64390
|
value: this.join(a),
|
64391
64391
|
count: a.length
|
64392
64392
|
}]);
|
64393
|
-
var re = -1 / 0,
|
64393
|
+
var re = -1 / 0, E = 1 / 0;
|
64394
64394
|
function M() {
|
64395
|
-
for (var ee = Math.max(re, -w); ee <= Math.min(
|
64395
|
+
for (var ee = Math.max(re, -w); ee <= Math.min(E, w); ee += 2) {
|
64396
64396
|
var K = void 0, ce = F[ee - 1], Z = F[ee + 1];
|
64397
64397
|
ce && (F[ee - 1] = void 0);
|
64398
64398
|
var ze = !1;
|
@@ -64407,33 +64407,33 @@ _r.prototype = {
|
|
64407
64407
|
}
|
64408
64408
|
if (!ae || ze && ce.oldPos + 1 < Z.oldPos ? K = m.addToPath(Z, !0, void 0, 0) : K = m.addToPath(ce, void 0, !0, 1), B = m.extractCommon(K, a, i, ee), K.oldPos + 1 >= v && B + 1 >= g)
|
64409
64409
|
return b(cb(m, K.lastComponent, a, i, m.useLongestToken));
|
64410
|
-
F[ee] = K, K.oldPos + 1 >= v && (
|
64410
|
+
F[ee] = K, K.oldPos + 1 >= v && (E = Math.min(E, ee - 1)), B + 1 >= g && (re = Math.max(re, ee + 1));
|
64411
64411
|
}
|
64412
64412
|
w++;
|
64413
64413
|
}
|
64414
64414
|
if (p)
|
64415
64415
|
(function ee() {
|
64416
64416
|
setTimeout(function() {
|
64417
|
-
if (w > k || Date.now() >
|
64417
|
+
if (w > k || Date.now() > R)
|
64418
64418
|
return p();
|
64419
64419
|
M() || ee();
|
64420
64420
|
}, 0);
|
64421
64421
|
})();
|
64422
64422
|
else
|
64423
|
-
for (; w <= k && Date.now() <=
|
64423
|
+
for (; w <= k && Date.now() <= R; ) {
|
64424
64424
|
var le = M();
|
64425
64425
|
if (le)
|
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,23 +64472,23 @@ _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(
|
64483
|
-
var
|
64484
|
-
p[b - 1] = p[b], p[b] =
|
64482
|
+
if (k.value = s.join(o.slice(w, w + k.count)), w += k.count, b && p[b - 1].added) {
|
64483
|
+
var R = p[b - 1];
|
64484
|
+
p[b - 1] = p[b], p[b] = R;
|
64485
64485
|
}
|
64486
64486
|
} else {
|
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
|
64491
|
-
return
|
64490
|
+
var E = o[w + re];
|
64491
|
+
return E.length > B.length ? E : B;
|
64492
64492
|
}), k.value = s.join(z);
|
64493
64493
|
} else
|
64494
64494
|
k.value = s.join(a.slice(v, v + k.count));
|
@@ -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,51 +64634,51 @@ 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
|
-
const
|
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({
|
64679
64679
|
original: this._originalModel,
|
64680
64680
|
modified: this._editor.getModel()
|
64681
|
-
}), this._diffEditor.revealLineInCenter(
|
64681
|
+
}), this._diffEditor.revealLineInCenter(R + 1);
|
64682
64682
|
}
|
64683
64683
|
}
|
64684
64684
|
_createDiffEditor(i = "vs-dark") {
|
@@ -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,10 @@ 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
|
+
}
|
64724
|
+
updateActionTrigger(i) {
|
64725
|
+
this._onActionTrigger = i;
|
64723
64726
|
}
|
64724
64727
|
setModelMarkers(i) {
|
64725
64728
|
this._monaco.editor.setModelMarkers(this._editor.getModel(), "owner", i);
|
@@ -64735,7 +64738,8 @@ class yb {
|
|
64735
64738
|
this._editor.setValue(i);
|
64736
64739
|
}
|
64737
64740
|
setPosition(i) {
|
64738
|
-
|
64741
|
+
var a, o;
|
64742
|
+
(a = this._editor) == null || a.setPosition(i), (o = this._editor) == null || o.focus();
|
64739
64743
|
}
|
64740
64744
|
saveScripts() {
|
64741
64745
|
var a;
|
@@ -64743,16 +64747,16 @@ class yb {
|
|
64743
64747
|
localStorage.setItem(eu, i || ""), (a = this._decorations) == null || a.update(i);
|
64744
64748
|
}
|
64745
64749
|
getEditorLayout() {
|
64746
|
-
var
|
64747
|
-
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();
|
64748
64752
|
return {
|
64749
64753
|
contentHeight: i,
|
64750
64754
|
lineCount: a
|
64751
64755
|
};
|
64752
64756
|
}
|
64753
64757
|
setEditorLayout(i) {
|
64754
|
-
var a,
|
64755
|
-
(
|
64758
|
+
var a, o;
|
64759
|
+
(o = this._editor) == null || o.layout({ height: i, width: (a = this._editor) == null ? void 0 : a.getContainerDomNode().clientWidth });
|
64756
64760
|
}
|
64757
64761
|
_init() {
|
64758
64762
|
this._register(), this._setOptions(), this._addCommands(), this._addActions(), this._setCursorPosition();
|
@@ -64788,8 +64792,8 @@ class yb {
|
|
64788
64792
|
this._monaco.editor.addCommand({
|
64789
64793
|
id: "tcc.editor.function",
|
64790
64794
|
run: (i, a) => {
|
64791
|
-
var
|
64792
|
-
(
|
64795
|
+
var o;
|
64796
|
+
(o = this._editor.getAction(a)) == null || o.run();
|
64793
64797
|
}
|
64794
64798
|
});
|
64795
64799
|
}
|
@@ -64801,7 +64805,7 @@ class yb {
|
|
64801
64805
|
contextMenuGroupId: "9_modification",
|
64802
64806
|
contextMenuOrder: 1,
|
64803
64807
|
run: () => {
|
64804
|
-
this.
|
64808
|
+
this._onActionTrigger && this._onActionTrigger(Ea.Save);
|
64805
64809
|
}
|
64806
64810
|
}), this._editor.addAction({
|
64807
64811
|
id: "tcc-find-replace-line",
|
@@ -64832,8 +64836,8 @@ class yb {
|
|
64832
64836
|
onChangeCursorPosition(i) {
|
64833
64837
|
this._changPositionListener && this._changPositionListener.dispose();
|
64834
64838
|
const a = localStorage.getItem(gn);
|
64835
|
-
i && i(a ? JSON.parse(a) : { lineNumber: 1, column: 1 }), this._changPositionListener = this._editor.onDidChangeCursorPosition((
|
64836
|
-
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);
|
64837
64841
|
});
|
64838
64842
|
}
|
64839
64843
|
}
|
@@ -64878,7 +64882,7 @@ function xb(s, i) {
|
|
64878
64882
|
return !1;
|
64879
64883
|
}
|
64880
64884
|
function cu(s, i = globalThis, a = ["*"]) {
|
64881
|
-
i.addEventListener("message", function
|
64885
|
+
i.addEventListener("message", function o(u) {
|
64882
64886
|
if (!u || !u.data)
|
64883
64887
|
return;
|
64884
64888
|
if (!xb(a, u.origin)) {
|
@@ -64888,7 +64892,7 @@ function cu(s, i = globalThis, a = ["*"]) {
|
|
64888
64892
|
const { id: p, type: m, path: b } = Object.assign({ path: [] }, u.data), g = (u.data.argumentList || []).map(Sr);
|
64889
64893
|
let v;
|
64890
64894
|
try {
|
64891
|
-
const w = b.slice(0, -1).reduce((z,
|
64895
|
+
const w = b.slice(0, -1).reduce((z, R) => z[R], s), k = b.reduce((z, R) => z[R], s);
|
64892
64896
|
switch (m) {
|
64893
64897
|
case "GET":
|
64894
64898
|
v = k;
|
@@ -64907,8 +64911,8 @@ function cu(s, i = globalThis, a = ["*"]) {
|
|
64907
64911
|
break;
|
64908
64912
|
case "ENDPOINT":
|
64909
64913
|
{
|
64910
|
-
const { port1: z, port2:
|
64911
|
-
cu(s,
|
64914
|
+
const { port1: z, port2: R } = new MessageChannel();
|
64915
|
+
cu(s, R), v = Db(z, [z]);
|
64912
64916
|
}
|
64913
64917
|
break;
|
64914
64918
|
case "RELEASE":
|
@@ -64922,7 +64926,7 @@ function cu(s, i = globalThis, a = ["*"]) {
|
|
64922
64926
|
}
|
64923
64927
|
Promise.resolve(v).catch((w) => ({ value: w, [Hs]: 0 })).then((w) => {
|
64924
64928
|
const [k, z] = Ys(w);
|
64925
|
-
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]());
|
64926
64930
|
}).catch((w) => {
|
64927
64931
|
const [k, z] = Ys({
|
64928
64932
|
value: new TypeError("Unserializable return value"),
|
@@ -64965,12 +64969,12 @@ function Tb(s) {
|
|
64965
64969
|
}
|
64966
64970
|
function In(s, i = [], a = function() {
|
64967
64971
|
}) {
|
64968
|
-
let
|
64972
|
+
let o = !1;
|
64969
64973
|
const u = new Proxy(a, {
|
64970
64974
|
get(p, m) {
|
64971
|
-
if (Us(
|
64975
|
+
if (Us(o), m === _b)
|
64972
64976
|
return () => {
|
64973
|
-
Tb(u), du(s),
|
64977
|
+
Tb(u), du(s), o = !0;
|
64974
64978
|
};
|
64975
64979
|
if (m === "then") {
|
64976
64980
|
if (i.length === 0)
|
@@ -64984,7 +64988,7 @@ function In(s, i = [], a = function() {
|
|
64984
64988
|
return In(s, [...i, m]);
|
64985
64989
|
},
|
64986
64990
|
set(p, m, b) {
|
64987
|
-
Us(
|
64991
|
+
Us(o);
|
64988
64992
|
const [g, v] = Ys(b);
|
64989
64993
|
return Jr(s, {
|
64990
64994
|
type: "SET",
|
@@ -64993,7 +64997,7 @@ function In(s, i = [], a = function() {
|
|
64993
64997
|
}, v).then(Sr);
|
64994
64998
|
},
|
64995
64999
|
apply(p, m, b) {
|
64996
|
-
Us(
|
65000
|
+
Us(o);
|
64997
65001
|
const g = i[i.length - 1];
|
64998
65002
|
if (g === hb)
|
64999
65003
|
return Jr(s, {
|
@@ -65009,7 +65013,7 @@ function In(s, i = [], a = function() {
|
|
65009
65013
|
}, w).then(Sr);
|
65010
65014
|
},
|
65011
65015
|
construct(p, m) {
|
65012
|
-
Us(
|
65016
|
+
Us(o);
|
65013
65017
|
const [b, g] = hc(m);
|
65014
65018
|
return Jr(s, {
|
65015
65019
|
type: "CONSTRUCT",
|
@@ -65037,12 +65041,12 @@ function kb(s) {
|
|
65037
65041
|
function Ys(s) {
|
65038
65042
|
for (const [i, a] of lu)
|
65039
65043
|
if (a.canHandle(s)) {
|
65040
|
-
const [
|
65044
|
+
const [o, u] = a.serialize(s);
|
65041
65045
|
return [
|
65042
65046
|
{
|
65043
65047
|
type: "HANDLER",
|
65044
65048
|
name: i,
|
65045
|
-
value:
|
65049
|
+
value: o
|
65046
65050
|
},
|
65047
65051
|
u
|
65048
65052
|
];
|
@@ -65064,10 +65068,10 @@ function Sr(s) {
|
|
65064
65068
|
}
|
65065
65069
|
}
|
65066
65070
|
function Jr(s, i, a) {
|
65067
|
-
return new Promise((
|
65071
|
+
return new Promise((o) => {
|
65068
65072
|
const u = Ab();
|
65069
65073
|
s.addEventListener("message", function p(m) {
|
65070
|
-
!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));
|
65071
65075
|
}), s.start && s.start(), s.postMessage(Object.assign({ id: u }, i), a);
|
65072
65076
|
});
|
65073
65077
|
}
|
@@ -65080,8 +65084,8 @@ mu.onerror = (s) => {
|
|
65080
65084
|
};
|
65081
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" }));
|
65082
65086
|
async function Cb(s, i = !1) {
|
65083
|
-
const { functions: a, types:
|
65084
|
-
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) });
|
65085
65089
|
}
|
65086
65090
|
async function Sb(s, i, a = !0) {
|
65087
65091
|
return await fu.runScript(s, i, a);
|
@@ -65097,10 +65101,10 @@ function zb(s) {
|
|
65097
65101
|
}
|
65098
65102
|
);
|
65099
65103
|
}
|
65100
|
-
var
|
65104
|
+
var Ot;
|
65101
65105
|
(function(s) {
|
65102
65106
|
s.BOOL = "bool", s.INT = "int", s.FLOAT = "float", s.ARRAY = "array", s.BOX = "box", s.CHART_POINT = "chart.point", s.COLOR = "color", s.CONST = "const", s.LABEL = "label", s.LINE = "line", s.LINEFILL = "linefill", s.MAP = "map", s.MATRIX = "matrix", s.POLYLINE = "polyline", s.SERIES = "series", s.SIMPLE = "simple", s.STRING = "string", s.TABLE = "table", s.UNDETERMINED = "undetermined type", s.INPUT = "input", s.NA = "na", s.VOID = "void";
|
65103
|
-
})(
|
65107
|
+
})(Ot || (Ot = {}));
|
65104
65108
|
var _c;
|
65105
65109
|
(function(s) {
|
65106
65110
|
s.FlowStmt = "FlowStmt", s.DeclareAssign = "DeclareAssign", s.VarBlockStmt = "VarBlockStmt", s.VarSingle = "VarSingle", s.VarMultiple = "VarMultiple", s.ParenthesizedExpression = "ParenthesizedExpression", s.AdditiveExpression = "AdditiveExpression", s.RelationalExpression = "RelationalExpression", s.EqualityExpression = "EqualityExpression", s.TernaryExpression = "TernaryExpression", s.UnaryExpression = "UnaryExpression", s.NotExpression = "NotExpression", s.MemberIndexExpression = "MemberIndexExpression", s.MethodExpression = "MethodExpression", s.LogicalAndExpression = "LogicalAndExpression", s.LogicalOrExpression = "LogicalOrExpression", s.MultiplicativeExpression = "MultiplicativeExpression", s.Brackethesized = "Brackethesized", s.IfStatement = "IfStatement", s.ForToStatement = "ForToStatement", s.ForInStatement = "ForInStatement", s.SwitchStatement = "SwitchStatement", s.CaseClause = "CaseClause", s.DefaultCaluse = "DefaultCaluse", s.WhileStatement = "WhileStatement", s.ImportElement = "ImportElement", s.Literal = "Literal", s.ArrowFunction = "ArrowFunction", s.ArrowMethod = "ArrowMethod", s.TypeStatement = "TypeStatement", s.Name = "Name", s.AgainAssign = "AgainAssign";
|
@@ -65209,8 +65213,8 @@ var Wc;
|
|
65209
65213
|
(function(s) {
|
65210
65214
|
s.traditional = "Traditional", s.fibonacci = "Fibonacci", s.woodie = "Woodie", s.classic = "Classic", s.dm = "DM", s.camarilla = "Camarilla";
|
65211
65215
|
})(Wc || (Wc = {}));
|
65212
|
-
|
65213
|
-
|
65216
|
+
Ot.SERIES, Ot.SIMPLE, Ot.INPUT, Ot.CONST;
|
65217
|
+
Ot.INT, Ot.FLOAT, Ot.BOOL, Ot.COLOR, Ot.STRING;
|
65214
65218
|
const Nb = {
|
65215
65219
|
domReadOnly: !0,
|
65216
65220
|
scrollBeyondLastLine: !1,
|
@@ -65234,50 +65238,53 @@ self.MonacoEnvironment = {
|
|
65234
65238
|
};
|
65235
65239
|
kn.config({ monaco: I_ });
|
65236
65240
|
const Pb = (s, i) => {
|
65237
|
-
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);
|
65238
65242
|
Gc(i, () => ({
|
65239
65243
|
saveScript() {
|
65240
|
-
var
|
65241
|
-
(
|
65244
|
+
var E;
|
65245
|
+
(E = z.current) == null || E.saveScripts();
|
65242
65246
|
},
|
65243
|
-
setScript(
|
65247
|
+
setScript(E) {
|
65244
65248
|
var M;
|
65245
|
-
(M = z.current) == null || M.setValue(
|
65249
|
+
(M = z.current) == null || M.setValue(E);
|
65246
65250
|
},
|
65247
65251
|
gotoLine() {
|
65248
|
-
var
|
65249
|
-
(
|
65252
|
+
var E;
|
65253
|
+
(E = z.current) == null || E.gotoLine();
|
65250
65254
|
},
|
65251
65255
|
getEditorLayout() {
|
65252
|
-
var
|
65253
|
-
return (
|
65256
|
+
var E;
|
65257
|
+
return (E = z.current) == null ? void 0 : E.getEditorLayout();
|
65254
65258
|
},
|
65255
|
-
setPosition(
|
65259
|
+
setPosition(E, M) {
|
65256
65260
|
var le;
|
65257
|
-
(le = z.current) == null || le.setPosition({ column:
|
65261
|
+
(le = z.current) == null || le.setPosition({ column: E, lineNumber: M });
|
65258
65262
|
},
|
65259
|
-
setModelMarkers(
|
65263
|
+
setModelMarkers(E) {
|
65260
65264
|
var M;
|
65261
|
-
(M = z.current) == null || M.setModelMarkers(
|
65265
|
+
(M = z.current) == null || M.setModelMarkers(E);
|
65262
65266
|
}
|
65263
|
-
})),
|
65264
|
-
var
|
65265
|
-
m ? (M = z.current) == null || M.addDiffDecorations() : (
|
65266
|
-
}, [m]),
|
65267
|
-
var
|
65268
|
-
|
65267
|
+
})), Dt(() => {
|
65268
|
+
var E, M;
|
65269
|
+
m ? (M = z.current) == null || M.addDiffDecorations() : (E = z.current) == null || E.removeDiffDecorations();
|
65270
|
+
}, [m]), Dt(() => {
|
65271
|
+
var E;
|
65272
|
+
(E = z.current) == null || E.updateActionTrigger(k);
|
65273
|
+
}, [k]), Dt(() => {
|
65274
|
+
var E;
|
65275
|
+
a && ((E = z.current) == null || E.setEditorLayout(Number(a)));
|
65269
65276
|
}, [a]);
|
65270
|
-
function E
|
65277
|
+
function R(E, M) {
|
65271
65278
|
var ee, K;
|
65272
|
-
ta.initBuiltinsTrees(), z.current = new yb(
|
65273
|
-
const le =
|
65279
|
+
ta.initBuiltinsTrees(), z.current = new yb(E, M, k), m && ((ee = z.current) == null || ee.addDiffDecorations()), Hg(E), (K = z.current) == null || K.setEditorLayout(Number(a));
|
65280
|
+
const le = E.getValue() + `
|
65274
65281
|
|
65275
65282
|
`;
|
65276
65283
|
z.current.onChangeCursorPosition(w), g && g(le), !b && F(le);
|
65277
65284
|
}
|
65278
|
-
const F = La(async (
|
65285
|
+
const F = La(async (E) => {
|
65279
65286
|
var de;
|
65280
|
-
const M = Date.now(), { errors: le, functions: ee, methods: K, types: ce, variables: Z, overloadsFuncs: ze, preParserCode: ge } = await Cb(
|
65287
|
+
const M = Date.now(), { errors: le, functions: ee, methods: K, types: ce, variables: Z, overloadsFuncs: ze, preParserCode: ge } = await Cb(E), ae = new Map(Object.entries(ee)), at = new Map(Object.entries(K)), ft = new Map(Object.entries(ce)), Ne = new Map(Object.entries(Z));
|
65281
65288
|
Ua.setUserDefined({
|
65282
65289
|
functions: ae,
|
65283
65290
|
methods: at,
|
@@ -65306,38 +65313,39 @@ const Pb = (s, i) => {
|
|
65306
65313
|
const U = Date.now();
|
65307
65314
|
console.log((U - M) / 1e3);
|
65308
65315
|
}, [v, b]), B = T_(() => Xg.debounce(F, 1e3), [F]);
|
65309
|
-
function re(
|
65316
|
+
function re(E) {
|
65310
65317
|
var M;
|
65311
65318
|
if (b) {
|
65312
|
-
F(
|
65319
|
+
F(E || "");
|
65313
65320
|
return;
|
65314
65321
|
}
|
65315
|
-
(M = z.current) == null || M.setModelMarkers([]), localStorage.setItem(dc,
|
65322
|
+
(M = z.current) == null || M.setModelMarkers([]), localStorage.setItem(dc, E || ""), E !== void 0 && (E = E + `
|
65316
65323
|
|
65317
|
-
`, g && g(
|
65324
|
+
`, g && g(E), B(E));
|
65318
65325
|
}
|
65319
|
-
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("我的脚本")
|
65320
65327
|
plot(close)
|
65321
65328
|
`, theme: u || "vs-dark", className: u || "vs-dark", options: {
|
65322
65329
|
colorDecorators: !0,
|
65323
65330
|
matchOnWordStartOnly: !0,
|
65324
65331
|
useShadowDOM: !1,
|
65325
65332
|
suggest: {
|
65333
|
+
preview: !0,
|
65326
65334
|
matchOnWordStartOnly: !0
|
65327
65335
|
},
|
65328
65336
|
fontSize: 13,
|
65329
65337
|
...b ? Nb : {},
|
65330
|
-
|
65331
|
-
|
65332
|
-
|
65338
|
+
readOnlyMessage: {
|
65339
|
+
value: "该脚本是只读的。它无法被编辑。"
|
65340
|
+
},
|
65333
65341
|
// minimap: { // 关闭小地图
|
65334
65342
|
// enabled: false,
|
65335
65343
|
// },
|
65336
65344
|
// rulers: [80]
|
65337
65345
|
...p
|
65338
|
-
}, onMount:
|
65346
|
+
}, onMount: R, onChange: re });
|
65339
65347
|
}, Fb = $c(Pb), Bb = (s) => {
|
65340
|
-
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) => {
|
65341
65349
|
v.languages.register({
|
65342
65350
|
id: Ve
|
65343
65351
|
}), v.editor.defineTheme("vs-dark", su), v.editor.defineTheme("vs", au), v.languages.setMonarchTokensProvider(Ve, tu), v.languages.setLanguageConfiguration(Ve, ru);
|
@@ -65346,7 +65354,7 @@ plot(close)
|
|
65346
65354
|
readOnly: !0,
|
65347
65355
|
renderSideBySide: m,
|
65348
65356
|
scrollBeyondLastLine: !1
|
65349
|
-
}, language: Ve, modified: a, original:
|
65357
|
+
}, language: Ve, modified: a, original: o, onMount: b });
|
65350
65358
|
};
|
65351
65359
|
var Hc;
|
65352
65360
|
(function(s) {
|