@guihz/trading-vue-editor-tes 0.0.28 → 0.0.29
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) {
|
@@ -32,14 +32,14 @@ function A_() {
|
|
32
32
|
rc = 1;
|
33
33
|
var s = yr, i = Symbol.for("react.element"), a = Symbol.for("react.fragment"), l = 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
|
l.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"), l = 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"),
|
59
|
+
var s = yr, i = Symbol.for("react.element"), a = Symbol.for("react.portal"), l = 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 === l || y === p || ze || y === u || y === v || y === w || Z || y ===
|
87
|
+
return !!(typeof y == "string" || typeof y == "function" || y === l || 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.
|
@@ -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,8 +619,8 @@ 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.");
|
@@ -1040,12 +1040,12 @@ function vg({ width: s, height: i, isEditorReady: a, loading: l, _ref: u, classN
|
|
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
1047
|
let l = Fe(!0);
|
1048
|
-
|
1048
|
+
Dt(l.current || !a ? () => {
|
1049
1049
|
l.current = !1;
|
1050
1050
|
} : s, i);
|
1051
1051
|
}
|
@@ -1064,8 +1064,8 @@ function kg(s, i, a, l) {
|
|
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: l, modifiedLanguage: u, originalModelPath: p, modifiedModelPath: m, keepCurrentOriginalModel: b = !1, keepCurrentModifiedModel: g = !1, theme: v = "light", loading: w = "Loading...", options: k = {}, height: z = "100%", width:
|
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: l, 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();
|
@@ -1106,9 +1106,9 @@ function Ag({ original: s, modified: i, language: a, originalLanguage: l, modifi
|
|
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,18 +1116,18 @@ 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: l, language: u, path: p, theme: m = "light", line: b, loading: g = "Loading...", options: v = {}, overrideServices: w = {}, saveViewState: k = !0, keepCurrentModel: z = !1, width:
|
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: l, 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(l), 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();
|
@@ -1159,16 +1159,16 @@ function Ng({ defaultValue: s, defaultLanguage: i, defaultPath: a, value: l, lan
|
|
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
1161
|
}, [s, i, a, l, u, p, v, w, k, m, b]);
|
1162
|
-
|
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 = l,
|
1166
|
+
}, [Z, K, Et]), U.current = l, 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 = {
|
@@ -58937,10 +58937,10 @@ function jg(s, i = 0, a = !0) {
|
|
58937
58937
|
const l = s[i];
|
58938
58938
|
if (!l)
|
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 } = l,
|
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 } = l, 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) {
|
@@ -59108,16 +59108,16 @@ class $g {
|
|
59108
59108
|
const l = /* @__PURE__ */ new Map();
|
59109
59109
|
for (const [u, p] of i) {
|
59110
59110
|
const [m, ...b] = u.split("."), g = b.length > 0, v = l.get(this._getNodeKey(m, g ? "ns" : a));
|
59111
|
-
let w = /* @__PURE__ */ new Map(), k = p.map((
|
59112
|
-
...
|
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,
|
@@ -59167,19 +59167,19 @@ class $g {
|
|
59167
59167
|
var v, w, k, z;
|
59168
59168
|
let l = [];
|
59169
59169
|
const u = Wg(i.type || ""), p = this._methodNamespaceCache.get(u), m = a ? `${a}.${i.name}` : i.name;
|
59170
|
-
p && (l = p.filter((
|
59171
|
-
var
|
59172
|
-
const F = `${u}.${
|
59170
|
+
p && (l = 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 =
|
59181
|
+
for (const R of g) {
|
59182
|
+
const F = R.name, B = R.type, re = this._getInstanceTypeCompletionItemProp({ name: F, type: B });
|
59183
59183
|
this._setUserVariableSubItems({ name: F, type: B }, i.name), l.push({ ...re });
|
59184
59184
|
}
|
59185
59185
|
l.length && this._mergeUserCompletions(m, l);
|
@@ -59282,9 +59282,9 @@ class $g {
|
|
59282
59282
|
label: a,
|
59283
59283
|
detail: `(${p} ${l})`,
|
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
|
});
|
@@ -59335,7 +59335,7 @@ 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
|
});
|
@@ -59350,7 +59350,7 @@ class $g {
|
|
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
|
};
|
@@ -59363,7 +59363,7 @@ class $g {
|
|
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,7 +59389,7 @@ 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
|
};
|
@@ -59402,14 +59402,14 @@ class $g {
|
|
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
59410
|
_getFunctionCompletionItem(i, a = 2, l = !0) {
|
59411
|
-
var
|
59412
|
-
const u = i.returnedTypes && i.returnedTypes[0] || i.syntax && i.syntax[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)
|
@@ -59417,9 +59417,9 @@ class $g {
|
|
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: {
|
@@ -59441,7 +59441,7 @@ class $g {
|
|
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) {
|
@@ -59650,7 +59650,7 @@ class Gg {
|
|
59650
59650
|
if (a.includes(".")) {
|
59651
59651
|
const b = a.split(".");
|
59652
59652
|
let g = b[0], v, w = null, k = i.indexOf(a, l - a.length) + 1, z = k + g.length - 1;
|
59653
|
-
for (const
|
59653
|
+
for (const R of b.slice(1)) {
|
59654
59654
|
if (!w) {
|
59655
59655
|
const F = k <= l && z >= l, B = this._getUserVariablesDocVal(g, l, u);
|
59656
59656
|
if (F && B)
|
@@ -59658,18 +59658,18 @@ class Gg {
|
|
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 ===
|
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
59663
|
if (B && k <= l && z >= l)
|
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
|
}
|
@@ -59764,17 +59764,17 @@ var Gs = { exports: {} };
|
|
59764
59764
|
Gs.exports;
|
59765
59765
|
(function(s, i) {
|
59766
59766
|
(function() {
|
59767
|
-
var a, l = "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,
|
59767
|
+
var a, l = "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(_) {
|
@@ -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,7 +60558,7 @@ 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
60563
|
var r = Y(e), n = !r && Cr(e), o = !r && !n && fr(e), d = !r && !n && !o && Qr(e), f = r || n || o || d, h = f ? _i(e.length, yd) : [], x = h.length;
|
60564
60564
|
for (var A in e)
|
@@ -60580,15 +60580,15 @@ 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
|
}
|
@@ -60620,7 +60620,7 @@ Gs.exports;
|
|
60620
60620
|
return e === e && (r !== a && (e = e <= r ? e : r), t !== a && (e = e >= t ? e : t)), e;
|
60621
60621
|
}
|
60622
60622
|
function xt(e, t, r, n, o, d) {
|
60623
|
-
var f, h = t & k, x = t & z, A = t &
|
60623
|
+
var f, h = t & k, x = t & z, A = t & R;
|
60624
60624
|
if (r && (f = o ? r(e, n, o, d) : r(e)), f !== a)
|
60625
60625
|
return f;
|
60626
60626
|
if (!De(e))
|
@@ -60642,7 +60642,7 @@ Gs.exports;
|
|
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;
|
@@ -60805,7 +60805,7 @@ 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;
|
@@ -60823,15 +60823,15 @@ 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, o, d) : Gp(e, t, x, r, n, o, 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()), o(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, o, d)) : !1;
|
60835
60835
|
}
|
60836
60836
|
function xp(e) {
|
60837
60837
|
return qe(e) && He(e) == st;
|
@@ -60852,7 +60852,7 @@ Gs.exports;
|
|
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))
|
@@ -60918,7 +60918,7 @@ Gs.exports;
|
|
60918
60918
|
}
|
60919
60919
|
function xs(e, t, r, n, o) {
|
60920
60920
|
e !== t && ki(t, function(d, f) {
|
60921
|
-
if (o || (o = new
|
60921
|
+
if (o || (o = new Ct()), De(d))
|
60922
60922
|
Dp(e, t, f, r, xs, n, o);
|
60923
60923
|
else {
|
60924
60924
|
var h = n ? n(Qi(e, f), d, f + "", e, t, o) : a;
|
@@ -61094,7 +61094,7 @@ Gs.exports;
|
|
61094
61094
|
function Bo(e, t) {
|
61095
61095
|
for (var r = -1, n = e.length, o = 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
61099
|
d[o++] = f === 0 ? 0 : f;
|
61100
61100
|
}
|
@@ -61322,7 +61322,7 @@ Gs.exports;
|
|
61322
61322
|
function Jo(e) {
|
61323
61323
|
return function(t) {
|
61324
61324
|
t = fe(t);
|
61325
|
-
var r = jr(t) ?
|
61325
|
+
var r = jr(t) ? qt(t) : a, n = r ? r[0] : t.charAt(0), o = r ? mr(r, 1).join("") : t.slice(1);
|
61326
61326
|
return n[e]() + o;
|
61327
61327
|
};
|
61328
61328
|
}
|
@@ -61419,7 +61419,7 @@ Gs.exports;
|
|
61419
61419
|
});
|
61420
61420
|
}
|
61421
61421
|
function Is(e, t, r, n, o, d, f, h, x, A) {
|
61422
|
-
var q = t & Z, C = t & re, P = t &
|
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];
|
@@ -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
|
}
|
@@ -61479,7 +61479,7 @@ 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
61485
|
var o = t & re, d = Da(e);
|
@@ -61504,7 +61504,7 @@ Gs.exports;
|
|
61504
61504
|
}
|
61505
61505
|
function sl(e, t, r, n, o, 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,
|
@@ -61539,7 +61539,7 @@ Gs.exports;
|
|
61539
61539
|
};
|
61540
61540
|
}
|
61541
61541
|
function Qt(e, t, r, n, o, d, f, h) {
|
61542
|
-
var x = t &
|
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;
|
@@ -61567,7 +61567,7 @@ Gs.exports;
|
|
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
61572
|
function ol(e, t, r, n, o, d) {
|
61573
61573
|
return De(e) && De(t) && (d.set(t, e), xs(e, t, a, ol, d), d.delete(t)), e;
|
@@ -61614,12 +61614,12 @@ Gs.exports;
|
|
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:
|
@@ -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,7 +61891,7 @@ Gs.exports;
|
|
61891
61891
|
return t;
|
61892
61892
|
}
|
61893
61893
|
function im(e, t) {
|
61894
|
-
var r = e[1], n = t[1], o = r | n, d = o < (re |
|
61894
|
+
var r = e[1], n = t[1], o = r | n, d = o < (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
61897
|
n & re && (e[2] = t[2], o |= r & re ? 0 : M);
|
@@ -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;
|
@@ -62459,7 +62459,7 @@ Gs.exports;
|
|
62459
62459
|
}
|
62460
62460
|
return Qt(e, n, t, r, o);
|
62461
62461
|
}), Nl = J(function(e, t, r) {
|
62462
|
-
var n = re |
|
62462
|
+
var n = re | E;
|
62463
62463
|
if (r.length) {
|
62464
62464
|
var o = lr(r, Vr(Nl));
|
62465
62465
|
n |= K;
|
@@ -62482,19 +62482,19 @@ Gs.exports;
|
|
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 = o = a, A = Se, f = e.apply(rr,
|
62485
|
+
var zt = n, rr = o;
|
62486
|
+
return n = o = 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();
|
@@ -62512,8 +62512,8 @@ Gs.exports;
|
|
62512
62512
|
return h === a ? f : oe(Ps());
|
62513
62513
|
}
|
62514
62514
|
function dt() {
|
62515
|
-
var Se = Ps(),
|
62516
|
-
if (n = arguments, o = this, x = Se,
|
62515
|
+
var Se = Ps(), zt = H(Se);
|
62516
|
+
if (n = arguments, o = this, x = Se, zt) {
|
62517
62517
|
if (h === a)
|
62518
62518
|
return W(x);
|
62519
62519
|
if (C)
|
@@ -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;
|
@@ -62837,7 +62837,7 @@ Gs.exports;
|
|
62837
62837
|
for (o && Ke(t[0], t[1], o) && (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) {
|
@@ -62911,7 +62911,7 @@ 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 |
|
62914
|
+
}), Ft(e, $i(e), r), n && (r = xt(r, k | z | R, $p));
|
62915
62915
|
for (var o = t.length; o--; )
|
62916
62916
|
Mi(r, t[o]);
|
62917
62917
|
return r;
|
@@ -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 o = Ls({}, t.imports, n.imports, nl), d = Le(o), f = gi(o, d), h, x, A = 0, q = t.interpolate ||
|
63064
|
-
(t.escape ||
|
63063
|
+
var o = Ls({}, t.imports, n.imports, nl), d = Le(o), f = gi(o, 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), o = qt(t), d = oo(n, o), f = lo(n, o) + 1;
|
63112
63112
|
return mr(n, d, f).join("");
|
63113
63113
|
}
|
63114
63114
|
function Ph(e, t, r) {
|
@@ -63116,7 +63116,7 @@ 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 =
|
63119
|
+
var n = qt(e), o = lo(n, qt(t)) + 1;
|
63120
63120
|
return mr(n, 0, o).join("");
|
63121
63121
|
}
|
63122
63122
|
function Oh(e, t, r) {
|
@@ -63124,7 +63124,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
63124
63124
|
return e.replace(ma, "");
|
63125
63125
|
if (!e || !(t = lt(t)))
|
63126
63126
|
return e;
|
63127
|
-
var n =
|
63127
|
+
var n = qt(e), o = oo(n, qt(t));
|
63128
63128
|
return mr(n, o).join("");
|
63129
63129
|
}
|
63130
63130
|
function Eh(e, t) {
|
@@ -63136,7 +63136,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
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)
|
@@ -63328,7 +63328,7 @@ 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);
|
@@ -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" };
|
@@ -64233,7 +64233,7 @@ function tb(s, i) {
|
|
64233
64233
|
p.length % 2 === 0 ? b && b[0] === "'" && (v = !0) : b && !b[0] && (v = !0);
|
64234
64234
|
const w = Ua.parseCurrentInputFuncAndArg(l, 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,
|
@@ -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 = (l = u.timeout) !== null && l !== void 0 ? l : 1 / 0,
|
64384
|
+
var z = (l = u.timeout) !== null && l !== void 0 ? l : 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,20 +64407,20 @@ _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;
|
@@ -64480,15 +64480,15 @@ function cb(s, i, a, l, u) {
|
|
64480
64480
|
var k = p[b];
|
64481
64481
|
if (k.removed) {
|
64482
64482
|
if (k.value = s.join(l.slice(w, w + k.count)), w += k.count, b && p[b - 1].added) {
|
64483
|
-
var
|
64484
|
-
p[b - 1] = p[b], p[b] =
|
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 = l[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));
|
@@ -64674,11 +64674,11 @@ class fb {
|
|
64674
64674
|
var b, g, v, w, k, z;
|
64675
64675
|
const l = (b = i.target.element) == null ? void 0 : b.classList, u = l == null ? void 0 : l.contains(`line-${$e.added}`), p = l == null ? void 0 : l.contains(`line-${$e.modified}`), m = l == null ? void 0 : l.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") {
|
@@ -64721,6 +64721,9 @@ class yb {
|
|
64721
64721
|
value: void 0
|
64722
64722
|
}), this._editor = i, this._monaco = a, this._onActionTrigger = l, this._init();
|
64723
64723
|
}
|
64724
|
+
updateActionTrigger(i) {
|
64725
|
+
this._onActionTrigger = i;
|
64726
|
+
}
|
64724
64727
|
setModelMarkers(i) {
|
64725
64728
|
this._monaco.editor.setModelMarkers(this._editor.getModel(), "owner", i);
|
64726
64729
|
}
|
@@ -64888,7 +64891,7 @@ function cu(s, i = globalThis, a = ["*"]) {
|
|
64888
64891
|
const { id: p, type: m, path: b } = Object.assign({ path: [] }, u.data), g = (u.data.argumentList || []).map(Sr);
|
64889
64892
|
let v;
|
64890
64893
|
try {
|
64891
|
-
const w = b.slice(0, -1).reduce((z,
|
64894
|
+
const w = b.slice(0, -1).reduce((z, R) => z[R], s), k = b.reduce((z, R) => z[R], s);
|
64892
64895
|
switch (m) {
|
64893
64896
|
case "GET":
|
64894
64897
|
v = k;
|
@@ -64907,8 +64910,8 @@ function cu(s, i = globalThis, a = ["*"]) {
|
|
64907
64910
|
break;
|
64908
64911
|
case "ENDPOINT":
|
64909
64912
|
{
|
64910
|
-
const { port1: z, port2:
|
64911
|
-
cu(s,
|
64913
|
+
const { port1: z, port2: R } = new MessageChannel();
|
64914
|
+
cu(s, R), v = Db(z, [z]);
|
64912
64915
|
}
|
64913
64916
|
break;
|
64914
64917
|
case "RELEASE":
|
@@ -65097,10 +65100,10 @@ function zb(s) {
|
|
65097
65100
|
}
|
65098
65101
|
);
|
65099
65102
|
}
|
65100
|
-
var
|
65103
|
+
var Ot;
|
65101
65104
|
(function(s) {
|
65102
65105
|
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
|
-
})(
|
65106
|
+
})(Ot || (Ot = {}));
|
65104
65107
|
var _c;
|
65105
65108
|
(function(s) {
|
65106
65109
|
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 +65212,8 @@ var Wc;
|
|
65209
65212
|
(function(s) {
|
65210
65213
|
s.traditional = "Traditional", s.fibonacci = "Fibonacci", s.woodie = "Woodie", s.classic = "Classic", s.dm = "DM", s.camarilla = "Camarilla";
|
65211
65214
|
})(Wc || (Wc = {}));
|
65212
|
-
|
65213
|
-
|
65215
|
+
Ot.SERIES, Ot.SIMPLE, Ot.INPUT, Ot.CONST;
|
65216
|
+
Ot.INT, Ot.FLOAT, Ot.BOOL, Ot.COLOR, Ot.STRING;
|
65214
65217
|
const Nb = {
|
65215
65218
|
domReadOnly: !0,
|
65216
65219
|
scrollBeyondLastLine: !1,
|
@@ -65237,47 +65240,50 @@ const Pb = (s, i) => {
|
|
65237
65240
|
const { height: a, width: l, theme: u, options: p, hasDiff: m, readOnly: b, onChange: g, onDeclareConfigChange: v, onCursorPositionChange: w, onActionTrigger: k } = s, z = Fe(null);
|
65238
65241
|
Gc(i, () => ({
|
65239
65242
|
saveScript() {
|
65240
|
-
var
|
65241
|
-
(
|
65243
|
+
var E;
|
65244
|
+
(E = z.current) == null || E.saveScripts();
|
65242
65245
|
},
|
65243
|
-
setScript(
|
65246
|
+
setScript(E) {
|
65244
65247
|
var M;
|
65245
|
-
(M = z.current) == null || M.setValue(
|
65248
|
+
(M = z.current) == null || M.setValue(E);
|
65246
65249
|
},
|
65247
65250
|
gotoLine() {
|
65248
|
-
var
|
65249
|
-
(
|
65251
|
+
var E;
|
65252
|
+
(E = z.current) == null || E.gotoLine();
|
65250
65253
|
},
|
65251
65254
|
getEditorLayout() {
|
65252
|
-
var
|
65253
|
-
return (
|
65255
|
+
var E;
|
65256
|
+
return (E = z.current) == null ? void 0 : E.getEditorLayout();
|
65254
65257
|
},
|
65255
|
-
setPosition(
|
65258
|
+
setPosition(E, M) {
|
65256
65259
|
var le;
|
65257
|
-
(le = z.current) == null || le.setPosition({ column:
|
65260
|
+
(le = z.current) == null || le.setPosition({ column: E, lineNumber: M });
|
65258
65261
|
},
|
65259
|
-
setModelMarkers(
|
65262
|
+
setModelMarkers(E) {
|
65260
65263
|
var M;
|
65261
|
-
(M = z.current) == null || M.setModelMarkers(
|
65264
|
+
(M = z.current) == null || M.setModelMarkers(E);
|
65262
65265
|
}
|
65263
|
-
})),
|
65264
|
-
var
|
65265
|
-
m ? (M = z.current) == null || M.addDiffDecorations() : (
|
65266
|
-
}, [m]),
|
65267
|
-
var
|
65268
|
-
|
65266
|
+
})), Dt(() => {
|
65267
|
+
var E, M;
|
65268
|
+
m ? (M = z.current) == null || M.addDiffDecorations() : (E = z.current) == null || E.removeDiffDecorations();
|
65269
|
+
}, [m]), Dt(() => {
|
65270
|
+
var E;
|
65271
|
+
(E = z.current) == null || E.updateActionTrigger(k);
|
65272
|
+
}, [k]), Dt(() => {
|
65273
|
+
var E;
|
65274
|
+
a && ((E = z.current) == null || E.setEditorLayout(Number(a)));
|
65269
65275
|
}, [a]);
|
65270
|
-
function E
|
65276
|
+
function R(E, M) {
|
65271
65277
|
var ee, K;
|
65272
|
-
ta.initBuiltinsTrees(), z.current = new yb(
|
65273
|
-
const le =
|
65278
|
+
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));
|
65279
|
+
const le = E.getValue() + `
|
65274
65280
|
|
65275
65281
|
`;
|
65276
65282
|
z.current.onChangeCursorPosition(w), g && g(le), !b && F(le);
|
65277
65283
|
}
|
65278
|
-
const F = La(async (
|
65284
|
+
const F = La(async (E) => {
|
65279
65285
|
var de;
|
65280
|
-
const M = Date.now(), { errors: le, functions: ee, methods: K, types: ce, variables: Z, overloadsFuncs: ze, preParserCode: ge } = await Cb(
|
65286
|
+
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
65287
|
Ua.setUserDefined({
|
65282
65288
|
functions: ae,
|
65283
65289
|
methods: at,
|
@@ -65306,15 +65312,15 @@ const Pb = (s, i) => {
|
|
65306
65312
|
const U = Date.now();
|
65307
65313
|
console.log((U - M) / 1e3);
|
65308
65314
|
}, [v, b]), B = T_(() => Xg.debounce(F, 1e3), [F]);
|
65309
|
-
function re(
|
65315
|
+
function re(E) {
|
65310
65316
|
var M;
|
65311
65317
|
if (b) {
|
65312
|
-
F(
|
65318
|
+
F(E || "");
|
65313
65319
|
return;
|
65314
65320
|
}
|
65315
|
-
(M = z.current) == null || M.setModelMarkers([]), localStorage.setItem(dc,
|
65321
|
+
(M = z.current) == null || M.setModelMarkers([]), localStorage.setItem(dc, E || ""), E !== void 0 && (E = E + `
|
65316
65322
|
|
65317
|
-
`, g && g(
|
65323
|
+
`, g && g(E), B(E));
|
65318
65324
|
}
|
65319
65325
|
return pt.jsx(Og, { height: a, width: l || "100%", defaultLanguage: Ve, defaultValue: !b && localStorage.getItem(dc) || `indicator("我的脚本")
|
65320
65326
|
plot(close)
|
@@ -65335,7 +65341,7 @@ plot(close)
|
|
65335
65341
|
// },
|
65336
65342
|
// rulers: [80]
|
65337
65343
|
...p
|
65338
|
-
}, onMount:
|
65344
|
+
}, onMount: R, onChange: re });
|
65339
65345
|
}, Fb = $c(Pb), Bb = (s) => {
|
65340
65346
|
const { theme: i, modified: a, original: l, height: u, width: p, renderSideBySide: m = !0 } = s, b = La((g, v) => {
|
65341
65347
|
v.languages.register({
|