@guihz/trading-vue-editor-tes 0.0.171 → 0.0.173
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/assets/{parserTccWorker-DtwPqtEv.js → parserTccWorker-BGGjQBvd.js} +42 -42
- package/lib/assets/{scriptsRunWorker-D8YiSjdL.js → scriptsRunWorker-CwAth1v4.js} +13 -13
- package/lib/components/editor/parseScript/buildInFuncNamespace/request.d.ts +3 -0
- package/lib/components/editor/parseScript/constants.d.ts +1 -0
- package/lib/trading-vue-editor.js +395 -392
- package/lib/trading-vue-editor.umd.cjs +18 -18
- package/package.json +1 -1
@@ -1,5 +1,5 @@
|
|
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("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='4'%20height='18'%20viewBox='0%200%204%2018'%20fill='%23F23645'%3e%3cpath%20d='M3.7%208.11a.5.5%200%200%201%200%20.67L.89%2012a.5.5%200%200%201-.88-.33V5.3a.5.5%200%200%201%20.87-.33L3.7%208.1Z'/%3e%3c/svg%3e") 50% no-repeat;background-size:5px 20px;content:"";height:10px;left:-4px;position:absolute;top:-3px;transform:scale(-1);width:10px}.vs-dark .content-popup{background-color:#1e222d}.content-popup{position:relative;border-bottom:1px solid;display:flex;flex-direction:column;height:100%;-webkit-user-select:none;user-select:none;background-color:#fff}.header-popup{align-items:center;position:relative;z-index:1;border-left:0;border-right:0;display:flex;height:22px;justify-content:space-between;margin-top:5px;border-bottom:1px solid #fff;border-top:1px solid #fff;background-color:#fff}.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}.vs-dark .header-modified-popup{background-color:#1e222d}.header-modified-popup{background-color:#e3effd;border-color:#2962ff}.content-modified-popup{border-bottom-color:#2962ff}.triangle-added-popup{background-color:#089950}.vs-dark .header-added-popup{background-color:#1a3326}.header-added-popup{background-color:#daf2e6;border-color:#089950}.content-added-popup{border-bottom-color:#089950}.triangle-removed-popup{background-color:#f23645}.vs-dark .header-removed-popup{background-color:#331f20}.header-removed-popup{background-color:#ffebec;border-color:#f23645}.content-removed-popup{border-bottom-color:#f23645}.tvue-script .monaco-editor.vs-dark .quick-input-widget{background:#1e222d!important}.tvue-script .monaco-editor .monaco-inputbox:focus-within,.tvue-script .monaco-editor.vs-dark .monaco-inputbox:focus-within{border-color:#2962ff}.tvue-script .monaco-editor .quick-input-widget .monaco-inputbox{background-color:unset!important;border:unset!important}.tvue-script .monaco-editor .quick-input-widget .input:active,.tvue-script .monaco-editor .quick-input-widget .input:focus{border:2px solid #2962ff}.tvue-script .monaco-editor.vs-dark .quick-input-widget .input{background-color:#1e222d!important;color:#d1d4dc!important}.tvue-script .monaco-editor .monaco-inputbox .input{font-size:14px;line-height:18px;outline:none}.tvue-script .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}.tvue-script .monaco-editor .overflow-guard{overflow:hidden!important}.tvue-script .monaco-editor .find-widget .codicon.toggle:before{content:"";font-size:15px;transition:.3s ease-out}.tvue-script .monaco-editor .find-widget.replaceToggled{height:80px!important}.tvue-script .monaco-editor .find-widget{border-bottom-left-radius:6px;border-bottom-right-radius:6px;height:44px!important;width:450px!important;transition:.3s ease-out}.tvue-script .monaco-editor .find-widget.replaceToggled .find-part,.tvue-script .monaco-editor .find-widget.replaceToggled .replace-part{margin-left:17px}.tvue-script .monaco-editor .find-widget .codicon.toggle.codicon-find-expanded{height:77px}.tvue-script .monaco-editor .find-widget.replaceToggled .replace-part{margin-top:8px}.tvue-script .monaco-editor .find-widget .codicon.toggle{border-radius:4px;cursor:default;height:41px;left:2px;top:2px}.tvue-script .monaco-editor .find-widget .monaco-sash{display:none}.tvue-script .monaco-editor .find-widget .find-part{margin-top:8px}.tvue-script .monaco-editor .find-widget .monaco-findInput{width:255px}.tvue-script .monaco-editor .monaco-scrollable-element{--vscode-scrollbarSlider-background: #64646466;margin-bottom:-2px}.tvue-script .monaco-editor.vs-dark .find-widget .monaco-scrollable-element>.monaco-inputbox.idle{background-color:#1e222d!important}.tvue-script .monaco-editor.vs-dark .find-widget .monaco-scrollable-element>.monaco-inputbox.idle{border-color:#50535e!important}.tvue-script .monaco-editor .find-widget .monaco-scrollable-element>.monaco-inputbox.idle{background-color:#fff!important;border-color:#d1d4dc!important;border-radius:6px;height:28px}.tvue-script .monaco-editor.vs-dark .monaco-inputbox,.tvue-script .monaco-editor.vs-dark .monaco-inputbox.idle{border:2px solid #50535e}.tvue-script .monaco-editor .monaco-inputbox,.tvue-script .monaco-editor .monaco-inputbox.idle{border:2px solid #a3a6af;border-radius:4px;overflow:hidden}.tvue-script .monaco-editor .find-widget .button{box-sizing:content-box}.tvue-script .monaco-editor .find-widget>.button.codicon-widget-close{top:10px}.tvue-script .monaco-editor .find-widget .codicon.toggle.codicon-find-expanded:before{transform:rotate(180deg)}.tvue-script .monaco-editor .find-widget .monaco-scrollable-element>.monaco-inputbox.idle .ibwrapper>textarea.input{padding-top:4px}.tvue-script .monaco-editor .monaco-inputbox .input{line-height:18px}.tvue-script .monaco-editor.vs-dark .find-widget .monaco-scrollable-element>.monaco-inputbox.synthetic-focus{border:1px solid #2962ff!important}.tvue-script .monaco-editor .find-widget .monaco-scrollable-element>.monaco-inputbox.synthetic-focus{border:1px solid #2962ff!important;outline-color:#0000}.tvue-script .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}.vs-dark.manual-warpper{color:#d1d4dc}.manual-warpper{display:flex;height:100%;text-align:left;color:#131722}.vs-dark .manual-left{border-right-color:#434651}.manual-left{border-right:1px solid #e0e3eb;display:flex;flex:0 0 240px;flex-direction:column;height:100%}.manual-right{flex:1;height:100%;overflow-y:auto;-webkit-user-select:text;user-select:text}.vs-dark .manual-search{border-bottom-color:#434651}.manual-search{display:flex;align-items:center;flex:0 0 47px;padding-left:16.5px;border-bottom:1px solid #e0e3eb}.manual-search-icon{height:18px;font-size:14px;opacity:.8;pointer-events:none;transition:opacity .35s ease}.manual-search-icon svg{fill:#a3a6af}.manual-search-input{background-color:transparent;color:inherit;height:29px;width:146px;margin-left:5px;border:none;outline:none}.vs-dark .manual-search-clear svg{fill:#d1d4dc}.manual-search-clear svg{fill:#434651}.manual-search-clear{cursor:pointer;opacity:.5;text-align:center;transition:opacity .35s ease;width:36px;font-size:14px}.manual-search-clear:hover{opacity:1;transition-duration:60ms}.manual-group-list{display:flex;flex:1 1 100%;flex-direction:column;overflow-y:auto;text-align:left}.manual-group-search-list{flex:1 1 100%;overflow-y:auto;text-align:left}.vs-dark .manual-content-separator{background-color:#363a45}.manual-content-separator{background-color:#e0e3eb;height:1px}.vs-dark .manual-group-title{color:#d1d4dc;border-bottom-color:#434651}.manual-group-title{box-sizing:border-box;color:#434651;cursor:default;display:block;flex:0 0 auto;font-size:14px;font-weight:700;margin:0;padding:12px;border-bottom:1px solid #e0e3eb;-webkit-user-select:none;user-select:none}.vs-dark .manual-group-title.active{background-color:#2a2e39;border-top-color:#2a2e39;color:#d1d4dc}.manual-group-title.active{background-color:#e3effd;border-top-color:#e3effd;color:#131722}.vs-dark .manual-group-body{border-bottom-color:#434651}.manual-group-body{display:block;flex:1 1 auto;pointer-events:auto;-webkit-user-select:text;user-select:text;overflow-x:hidden;overflow-y:auto;transform:translateZ(0);border-bottom:1px solid #e0e3eb}.manual-group-body.hide,.manual-search-clear.hide,.manual-group-list.hide,.manual-group-search-list.hide{display:none}.vs-dark .manual-group-body-item{color:#b2b5be}.manual-group-body-item{box-sizing:border-box;color:#5d606b;cursor:default;display:block;font-size:14px;letter-spacing:.3px;line-height:24px;padding:2px 8px 2px 12px;position:relative;transition:none;word-break:break-all;text-decoration:none}.vs-dark .manual-group-body-item-selected{fill:#2962ff;color:#2962ff}.manual-group-body-item-selected{color:#2962ff;fill:#2962ff}.manual-group-body-item-selected:before{background-color:#2962ff;bottom:0;content:"";display:block;left:0;position:absolute;top:0;width:4px}.manual-content-wrapper{box-sizing:border-box;padding:30px 25px 25px;position:relative}.manual-content-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:2px}.vs-dark .manual-content-header-overloads{background-color:#2a2e39}.manual-content-header-overloads{background-color:#e3effd;border-radius:8px;display:inline-block;height:auto;margin-left:6px;padding:4px 8px;vertical-align:top}.vs-dark .manual-content-header-title{color:#d1d4dc}.manual-content-header-title{font-size:18px;line-height:26px;color:#131722;font-weight:700;display:inline-block;margin:0}.vs-dark .manual-content-btn{color:#d1d4dc}.manual-content-btn{align-items:center;background:#0000;border:none;border-radius:4px;box-sizing:initial;color:#131722;cursor:default;display:flex;height:34px;justify-content:center;margin:0;padding:0;width:34px}.vs-dark .manual-content-btn:hover{background-color:#2a2e39}.manual-content-btn:hover{background-color:#f0f3fa}.vs-dark .manual-content-args-label{color:#d1d4dc}.manual-content-args-label{color:#131722;font-weight:700}.vs-dark .manual-content-syntax{background-color:#2a2e39;color:#d1d4dc}.manual-content-syntax{background-color:#e3effd;border-radius:8px;color:#131722;font-family:Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;overflow:hidden;transition:opacity .1s ease;white-space:pre-wrap;font-size:14px;line-height:21px;margin-top:8px;padding:24px;-webkit-user-select:none;user-select:none}.with-overloads{opacity:.6}.with-overloads:hover{opacity:.8}.with-overloads.selected{box-shadow:0 0 0 2px #2962ff;opacity:1}.vs-dark .manual-content-text{color:#d1d4dc}.manual-content-text{font-size:14px;line-height:21px;color:#131722;margin-top:8px}.vs-dark .manual-content-text-link{fill:#5b9cf6;color:#5b9cf6}.vs-dark .manual-content-text-link:hover{fill:#3179f5;color:#3179f5}.manual-content-text-link{color:#2962ff;fill:#2962ff}.manual-content-text-link:hover{color:#1e53e5;fill:#1e53e5}.vs-dark .manual-content-text code{background-color:#2a2e39}.manual-content-text code{background-color:#e0e3eb;border-radius:3px;padding:0 .4em}.vs-dark .manual-content-sub-title{color:#868993}.manual-content-sub-title{color:#6a6d78;font-size:11px;letter-spacing:.4px;line-height:16px;margin-top:24px;text-transform:uppercase}.manual-content-example-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px}.vs-dark .manual-content-example-copy{color:#868993}.manual-content-example-copy{color:#6a6d78}.vs-dark .manual-content-example{background-color:#2a2e39}.manual-content-example{background-color:#e3effd;border-radius:8px;box-shadow:none;margin-top:0;overflow:hidden}.manual-content-example code{display:block;font-family:Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:13px;line-height:18px;overflow-x:auto;padding:24px}.manual-content-see_also{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;-webkit-user-select:none;user-select:none}.vs-dark .manual-content-see_also-tag{background-color:#1e222d;color:#d1d4dc}.vs-dark .manual-content-see_also-tag:hover{background-color:#363a45}.manual-content-see_also-tag{background-color:#f8f9fd;border-radius:3px;color:#131722;cursor:default;font-size:14px;line-height:21px;margin:0;padding:6px 8px}.manual-content-see_also-tag:hover{background-color:#f0f3fa}.manual-scroll::-webkit-scrollbar{height:5px;width:5px}.manual-scroll::-webkit-scrollbar-corner{display:none}.vs-dark .manual-scroll::-webkit-scrollbar-thumb,.vs-dark code::-webkit-scrollbar-thumb{background-color:#363a45}.manual-scroll::-webkit-scrollbar-thumb{background-clip:content-box;background-color:#9598a1;border:1px solid #0000;border-radius:3px}.manual-scroll::-webkit-scrollbar-track{background-color:initial;border-radius:3px}[data-tooltip]{position:relative;text-transform:none}[data-tooltip]:before,[data-tooltip]:after{position:absolute;opacity:0;z-index:1000;pointer-events:none;transition:.2s}[data-tooltip]:before{content:"";border:5px solid transparent;border-top-color:#2a2e39;-webkit-transform:translateX(-50%);transform:translate(-50%);bottom:100%;left:50%;margin-bottom:-5px}[data-tooltip]:after{content:attr(data-tooltip);background:#2a2e39;font:12px Microsoft YaHei;color:#fff;padding:4px 8px;border-radius:2px;box-shadow:3px 3px 6px #0000004d;bottom:100%;width:max-content;left:50%;transform:translate(-50%);margin-bottom:5px}[data-tooltip]:hover:before,[data-tooltip]:hover:after{opacity:1;-webkit-transition-delay:.15s;transition-delay:.15s}[data-tooltip=""]:before,[data-tooltip=""]:after{display:none!important}.vs-dark ::selection{background:#143a87}::selection{background:#bbd9fb}`)),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
2
|
-
import cs, { memo as Fi, useState as ct, useRef as qe, useCallback as cr, useEffect as
|
2
|
+
import cs, { memo as Fi, useState as ct, useRef as qe, useCallback as cr, useEffect as $e, forwardRef as hp, useImperativeHandle as wp, useMemo as eb, Fragment as Xt } from "react";
|
3
3
|
import { languages as Ue, Position as tb, editor as pr, MarkerSeverity as xc } from "monaco-editor";
|
4
4
|
import sb from "react-dom";
|
5
5
|
var hc;
|
@@ -35,14 +35,14 @@ function ab() {
|
|
35
35
|
wc = 1;
|
36
36
|
var a = cs, n = Symbol.for("react.element"), r = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, c = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
|
37
37
|
function m(y, f, b) {
|
38
|
-
var h, T = {},
|
39
|
-
b !== void 0 && (
|
38
|
+
var h, T = {}, N = null, R = null;
|
39
|
+
b !== void 0 && (N = "" + b), f.key !== void 0 && (N = "" + f.key), f.ref !== void 0 && (R = f.ref);
|
40
40
|
for (h in f)
|
41
41
|
o.call(f, h) && !l.hasOwnProperty(h) && (T[h] = f[h]);
|
42
42
|
if (y && y.defaultProps)
|
43
43
|
for (h in f = y.defaultProps, f)
|
44
44
|
T[h] === void 0 && (T[h] = f[h]);
|
45
|
-
return { $$typeof: n, type: y, key:
|
45
|
+
return { $$typeof: n, type: y, key: N, ref: R, props: T, _owner: c.current };
|
46
46
|
}
|
47
47
|
return Fr.Fragment = r, Fr.jsx = m, Fr.jsxs = m, Fr;
|
48
48
|
}
|
@@ -59,11 +59,11 @@ var Rr = {};
|
|
59
59
|
var vc;
|
60
60
|
function nb() {
|
61
61
|
return vc || (vc = 1, process.env.NODE_ENV !== "production" && function() {
|
62
|
-
var a = cs, n = Symbol.for("react.element"), r = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), y = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"),
|
62
|
+
var a = cs, n = Symbol.for("react.element"), r = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), y = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), N = Symbol.for("react.lazy"), R = Symbol.for("react.offscreen"), P = Symbol.iterator, S = "@@iterator";
|
63
63
|
function U(g) {
|
64
64
|
if (g === null || typeof g != "object")
|
65
65
|
return null;
|
66
|
-
var L = P && g[P] || g[
|
66
|
+
var L = P && g[P] || g[S];
|
67
67
|
return typeof L == "function" ? L : null;
|
68
68
|
}
|
69
69
|
var G = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
@@ -84,10 +84,10 @@ function nb() {
|
|
84
84
|
xe.unshift("Warning: " + L), Function.prototype.apply.call(console[g], console, xe);
|
85
85
|
}
|
86
86
|
}
|
87
|
-
var F = !1,
|
87
|
+
var F = !1, A = !1, $ = !1, C = !1, j = !1, V;
|
88
88
|
V = Symbol.for("react.module.reference");
|
89
89
|
function ae(g) {
|
90
|
-
return !!(typeof g == "string" || typeof g == "function" || g === o || g === l || j || g === c || g === b || g === h || C || g === R || F ||
|
90
|
+
return !!(typeof g == "string" || typeof g == "function" || g === o || g === l || j || g === c || g === b || g === h || C || g === R || F || A || $ || typeof g == "object" && g !== null && (g.$$typeof === N || g.$$typeof === T || g.$$typeof === m || g.$$typeof === y || g.$$typeof === f || // This needs to include all possible module reference object
|
91
91
|
// types supported by any Flight configuration anywhere since
|
92
92
|
// we don't know which Flight build this will end up being used
|
93
93
|
// with.
|
@@ -137,7 +137,7 @@ function nb() {
|
|
137
137
|
case T:
|
138
138
|
var ee = g.displayName || null;
|
139
139
|
return ee !== null ? ee : Re(g.type) || "Memo";
|
140
|
-
case
|
140
|
+
case N: {
|
141
141
|
var ye = g, xe = ye._payload, de = ye._init;
|
142
142
|
try {
|
143
143
|
return Re(de(xe));
|
@@ -175,7 +175,7 @@ function nb() {
|
|
175
175
|
Q++;
|
176
176
|
}
|
177
177
|
}
|
178
|
-
function
|
178
|
+
function je() {
|
179
179
|
{
|
180
180
|
if (Q--, Q === 0) {
|
181
181
|
var g = {
|
@@ -210,18 +210,18 @@ function nb() {
|
|
210
210
|
Q < 0 && X("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
211
211
|
}
|
212
212
|
}
|
213
|
-
var Lt = G.ReactCurrentDispatcher,
|
213
|
+
var Lt = G.ReactCurrentDispatcher, He;
|
214
214
|
function $t(g, L, B) {
|
215
215
|
{
|
216
|
-
if (
|
216
|
+
if (He === void 0)
|
217
217
|
try {
|
218
218
|
throw Error();
|
219
219
|
} catch (ye) {
|
220
220
|
var ee = ye.stack.trim().match(/\n( *(at )?)/);
|
221
|
-
|
221
|
+
He = ee && ee[1] || "";
|
222
222
|
}
|
223
223
|
return `
|
224
|
-
` +
|
224
|
+
` + He + g;
|
225
225
|
}
|
226
226
|
}
|
227
227
|
var Vt = !1, Fs;
|
@@ -278,14 +278,14 @@ function nb() {
|
|
278
278
|
} catch (rt) {
|
279
279
|
if (rt && ee && typeof rt.stack == "string") {
|
280
280
|
for (var ce = rt.stack.split(`
|
281
|
-
`),
|
282
|
-
`), ke = ce.length - 1, Ce =
|
281
|
+
`), We = ee.stack.split(`
|
282
|
+
`), ke = ce.length - 1, Ce = We.length - 1; ke >= 1 && Ce >= 0 && ce[ke] !== We[Ce]; )
|
283
283
|
Ce--;
|
284
284
|
for (; ke >= 1 && Ce >= 0; ke--, Ce--)
|
285
|
-
if (ce[ke] !==
|
285
|
+
if (ce[ke] !== We[Ce]) {
|
286
286
|
if (ke !== 1 || Ce !== 1)
|
287
287
|
do
|
288
|
-
if (ke--, Ce--, Ce < 0 || ce[ke] !==
|
288
|
+
if (ke--, Ce--, Ce < 0 || ce[ke] !== We[Ce]) {
|
289
289
|
var st = `
|
290
290
|
` + ce[ke].replace(" at new ", " at ");
|
291
291
|
return g.displayName && st.includes("<anonymous>") && (st = st.replace("<anonymous>", g.displayName)), typeof g == "function" && Fs.set(g, st), st;
|
@@ -295,7 +295,7 @@ function nb() {
|
|
295
295
|
}
|
296
296
|
}
|
297
297
|
} finally {
|
298
|
-
Vt = !1, Lt.current = xe,
|
298
|
+
Vt = !1, Lt.current = xe, je(), Error.prepareStackTrace = ye;
|
299
299
|
}
|
300
300
|
var Pt = g ? g.displayName || g.name : "", ra = Pt ? $t(Pt) : "";
|
301
301
|
return typeof g == "function" && Fs.set(g, ra), ra;
|
@@ -326,7 +326,7 @@ function nb() {
|
|
326
326
|
return Xr(g.render);
|
327
327
|
case T:
|
328
328
|
return jt(g.type, L, B);
|
329
|
-
case
|
329
|
+
case N: {
|
330
330
|
var ee = g, ye = ee._payload, xe = ee._init;
|
331
331
|
try {
|
332
332
|
return jt(xe(ye), L, B);
|
@@ -352,8 +352,8 @@ function nb() {
|
|
352
352
|
var ce = void 0;
|
353
353
|
try {
|
354
354
|
if (typeof g[de] != "function") {
|
355
|
-
var
|
356
|
-
throw
|
355
|
+
var We = Error((ee || "React class") + ": " + B + " type `" + de + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof g[de] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
356
|
+
throw We.name = "Invariant Violation", We;
|
357
357
|
}
|
358
358
|
ce = g[de](L, de, ee, B, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
359
359
|
} catch (ke) {
|
@@ -469,8 +469,8 @@ function nb() {
|
|
469
469
|
};
|
470
470
|
function ln(g, L, B, ee, ye) {
|
471
471
|
{
|
472
|
-
var xe, de = {}, ce = null,
|
473
|
-
B !== void 0 && (Yr(B), ce = "" + B), ur(L) && (Yr(L.key), ce = "" + L.key), mr(L) && (
|
472
|
+
var xe, de = {}, ce = null, We = null;
|
473
|
+
B !== void 0 && (Yr(B), ce = "" + B), ur(L) && (Yr(L.key), ce = "" + L.key), mr(L) && (We = L.ref, yr(L, ye));
|
474
474
|
for (xe in L)
|
475
475
|
Bs.call(L, xe) && !ds.hasOwnProperty(xe) && (de[xe] = L[xe]);
|
476
476
|
if (g && g.defaultProps) {
|
@@ -478,11 +478,11 @@ function nb() {
|
|
478
478
|
for (xe in ke)
|
479
479
|
de[xe] === void 0 && (de[xe] = ke[xe]);
|
480
480
|
}
|
481
|
-
if (ce ||
|
481
|
+
if (ce || We) {
|
482
482
|
var Ce = typeof g == "function" ? g.displayName || g.name || "Unknown" : g;
|
483
|
-
ce && _r(de, Ce),
|
483
|
+
ce && _r(de, Ce), We && fr(de, Ce);
|
484
484
|
}
|
485
|
-
return gr(g, ce,
|
485
|
+
return gr(g, ce, We, ye, ee, Mt.current, de);
|
486
486
|
}
|
487
487
|
}
|
488
488
|
var br = G.ReactCurrentOwner, Vr = G.ReactDebugCurrentFrame;
|
@@ -609,8 +609,8 @@ Check the top-level render call using <` + B + ">.");
|
|
609
609
|
if (!de) {
|
610
610
|
var ce = "";
|
611
611
|
(g === void 0 || typeof g == "object" && g !== null && Object.keys(g).length === 0) && (ce += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
612
|
-
var
|
613
|
-
|
612
|
+
var We = cn(ye);
|
613
|
+
We ? ce += We : ce += Qr();
|
614
614
|
var ke;
|
615
615
|
g === null ? ke = "null" : Qt(g) ? ke = "array" : g !== void 0 && g.$$typeof === n ? (ke = "<" + (Re(g.type) || "Unknown") + " />", ce = " Did you accidentally export a JSX literal instead of a component?") : ke = typeof g, X("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ke, ce);
|
616
616
|
}
|
@@ -1043,12 +1043,12 @@ function Zb({ width: a, height: n, isEditorReady: r, loading: o, _ref: c, classN
|
|
1043
1043
|
}
|
1044
1044
|
var Jb = Zb, kp = Fi(Jb);
|
1045
1045
|
function ex(a) {
|
1046
|
-
|
1046
|
+
$e(a, []);
|
1047
1047
|
}
|
1048
1048
|
var Ap = ex;
|
1049
1049
|
function tx(a, n, r = !0) {
|
1050
1050
|
let o = qe(!0);
|
1051
|
-
|
1051
|
+
$e(o.current || !r ? () => {
|
1052
1052
|
o.current = !1;
|
1053
1053
|
} : a, n);
|
1054
1054
|
}
|
@@ -1067,11 +1067,11 @@ function rx(a, n, r, o) {
|
|
1067
1067
|
function qp(a, n) {
|
1068
1068
|
return a.Uri.parse(n);
|
1069
1069
|
}
|
1070
|
-
function ax({ original: a, modified: n, language: r, originalLanguage: o, modifiedLanguage: c, originalModelPath: l, modifiedModelPath: m, keepCurrentOriginalModel: y = !1, keepCurrentModifiedModel: f = !1, theme: b = "light", loading: h = "Loading...", options: T = {}, height:
|
1071
|
-
let [X, O] = ct(!1), [F,
|
1070
|
+
function ax({ original: a, modified: n, language: r, originalLanguage: o, modifiedLanguage: c, originalModelPath: l, modifiedModelPath: m, keepCurrentOriginalModel: y = !1, keepCurrentModifiedModel: f = !1, theme: b = "light", loading: h = "Loading...", options: T = {}, height: N = "100%", width: R = "100%", className: P, wrapperProps: S = {}, beforeMount: U = jr, onMount: G = jr }) {
|
1071
|
+
let [X, O] = ct(!1), [F, A] = ct(!0), $ = qe(null), C = qe(null), j = qe(null), V = qe(G), ae = qe(U), Ze = qe(!1);
|
1072
1072
|
Ap(() => {
|
1073
1073
|
let Q = Ri.init();
|
1074
|
-
return Q.then((_e) => (C.current = _e) &&
|
1074
|
+
return Q.then((_e) => (C.current = _e) && A(!1)).catch((_e) => (_e == null ? void 0 : _e.type) !== "cancelation" && console.error("Monaco initialization: error:", _e)), () => $.current ? Be() : Q.cancel();
|
1075
1075
|
}), xt(() => {
|
1076
1076
|
if ($.current && C.current) {
|
1077
1077
|
let Q = $.current.getOriginalEditor(), _e = or(C.current, a || "", o || r || "text", l || "");
|
@@ -1109,9 +1109,9 @@ function ax({ original: a, modified: n, language: r, originalLanguage: o, modifi
|
|
1109
1109
|
var Q;
|
1110
1110
|
!Ze.current && j.current && ($.current = C.current.editor.createDiffEditor(j.current, { automaticLayout: !0, ...T }), Nt(), (Q = C.current) == null || Q.editor.setTheme(b), O(!0), Ze.current = !0);
|
1111
1111
|
}, [T, b, Nt]);
|
1112
|
-
|
1112
|
+
$e(() => {
|
1113
1113
|
X && V.current($.current, C.current);
|
1114
|
-
}, [X]),
|
1114
|
+
}, [X]), $e(() => {
|
1115
1115
|
!F && !X && Re();
|
1116
1116
|
}, [F, X, Re]);
|
1117
1117
|
function Be() {
|
@@ -1119,41 +1119,41 @@ function ax({ original: a, modified: n, language: r, originalLanguage: o, modifi
|
|
1119
1119
|
let Q = (_e = $.current) == null ? void 0 : _e.getModel();
|
1120
1120
|
y || ((Ne = Q == null ? void 0 : Q.original) == null || Ne.dispose()), f || ((Se = Q == null ? void 0 : Q.modified) == null || Se.dispose()), (pt = $.current) == null || pt.dispose();
|
1121
1121
|
}
|
1122
|
-
return cs.createElement(kp, { width: R, height:
|
1122
|
+
return cs.createElement(kp, { width: R, height: N, isEditorReady: X, loading: h, _ref: j, className: P, wrapperProps: S });
|
1123
1123
|
}
|
1124
1124
|
var nx = ax, ix = Fi(nx);
|
1125
1125
|
function ox(a) {
|
1126
1126
|
let n = qe();
|
1127
|
-
return
|
1127
|
+
return $e(() => {
|
1128
1128
|
n.current = a;
|
1129
1129
|
}, [a]), n.current;
|
1130
1130
|
}
|
1131
1131
|
var lx = ox, Ha = /* @__PURE__ */ new Map();
|
1132
|
-
function cx({ defaultValue: a, defaultLanguage: n, defaultPath: r, value: o, language: c, path: l, theme: m = "light", line: y, loading: f = "Loading...", options: b = {}, overrideServices: h = {}, saveViewState: T = !0, keepCurrentModel:
|
1133
|
-
let [
|
1132
|
+
function cx({ defaultValue: a, defaultLanguage: n, defaultPath: r, value: o, language: c, path: l, theme: m = "light", line: y, loading: f = "Loading...", options: b = {}, overrideServices: h = {}, saveViewState: T = !0, keepCurrentModel: N = !1, width: R = "100%", height: P = "100%", className: S, wrapperProps: U = {}, beforeMount: G = jr, onMount: X = jr, onChange: O, onValidate: F = jr }) {
|
1133
|
+
let [A, $] = ct(!1), [C, j] = ct(!0), V = qe(null), ae = qe(null), Ze = qe(null), Nt = qe(X), Re = qe(G), Be = qe(), Q = qe(o), _e = lx(l), Ne = qe(!1), Se = qe(!1);
|
1134
1134
|
Ap(() => {
|
1135
1135
|
let te = Ri.init();
|
1136
1136
|
return te.then((be) => (V.current = be) && j(!1)).catch((be) => (be == null ? void 0 : be.type) !== "cancelation" && console.error("Monaco initialization: error:", be)), () => ae.current ? wt() : te.cancel();
|
1137
1137
|
}), xt(() => {
|
1138
|
-
var be, Le, St,
|
1138
|
+
var be, Le, St, je;
|
1139
1139
|
let te = or(V.current, a || o || "", n || c || "", l || r || "");
|
1140
|
-
te !== ((be = ae.current) == null ? void 0 : be.getModel()) && (T && Ha.set(_e, (Le = ae.current) == null ? void 0 : Le.saveViewState()), (St = ae.current) == null || St.setModel(te), T && ((
|
1141
|
-
}, [l],
|
1140
|
+
te !== ((be = ae.current) == null ? void 0 : be.getModel()) && (T && Ha.set(_e, (Le = ae.current) == null ? void 0 : Le.saveViewState()), (St = ae.current) == null || St.setModel(te), T && ((je = ae.current) == null || je.restoreViewState(Ha.get(l))));
|
1141
|
+
}, [l], A), xt(() => {
|
1142
1142
|
var te;
|
1143
1143
|
(te = ae.current) == null || te.updateOptions(b);
|
1144
|
-
}, [b],
|
1144
|
+
}, [b], A), xt(() => {
|
1145
1145
|
!ae.current || o === void 0 || (ae.current.getOption(V.current.editor.EditorOption.readOnly) ? ae.current.setValue(o) : o !== ae.current.getValue() && (Se.current = !0, ae.current.executeEdits("", [{ range: ae.current.getModel().getFullModelRange(), text: o, forceMoveMarkers: !0 }]), ae.current.pushUndoStop(), Se.current = !1));
|
1146
|
-
}, [o],
|
1146
|
+
}, [o], A), xt(() => {
|
1147
1147
|
var be, Le;
|
1148
1148
|
let te = (be = ae.current) == null ? void 0 : be.getModel();
|
1149
1149
|
te && c && ((Le = V.current) == null || Le.editor.setModelLanguage(te, c));
|
1150
|
-
}, [c],
|
1150
|
+
}, [c], A), xt(() => {
|
1151
1151
|
var te;
|
1152
1152
|
y !== void 0 && ((te = ae.current) == null || te.revealLine(y));
|
1153
|
-
}, [y],
|
1153
|
+
}, [y], A), xt(() => {
|
1154
1154
|
var te;
|
1155
1155
|
(te = V.current) == null || te.editor.setTheme(m);
|
1156
|
-
}, [m],
|
1156
|
+
}, [m], A);
|
1157
1157
|
let pt = cr(() => {
|
1158
1158
|
var te;
|
1159
1159
|
if (!(!Ze.current || !V.current) && !Ne.current) {
|
@@ -1162,23 +1162,23 @@ function cx({ defaultValue: a, defaultLanguage: n, defaultPath: r, value: o, lan
|
|
1162
1162
|
ae.current = (te = V.current) == null ? void 0 : te.editor.create(Ze.current, { model: Le, automaticLayout: !0, ...b }, h), T && ae.current.restoreViewState(Ha.get(be)), V.current.editor.setTheme(m), y !== void 0 && ae.current.revealLine(y), $(!0), Ne.current = !0;
|
1163
1163
|
}
|
1164
1164
|
}, [a, n, r, o, c, l, b, h, T, m, y]);
|
1165
|
-
|
1166
|
-
|
1167
|
-
}, [
|
1168
|
-
!C && !
|
1169
|
-
}, [C,
|
1165
|
+
$e(() => {
|
1166
|
+
A && Nt.current(ae.current, V.current);
|
1167
|
+
}, [A]), $e(() => {
|
1168
|
+
!C && !A && pt();
|
1169
|
+
}, [C, A, pt]), Q.current = o, $e(() => {
|
1170
1170
|
var te, be;
|
1171
|
-
|
1171
|
+
A && O && ((te = Be.current) == null || te.dispose(), Be.current = (be = ae.current) == null ? void 0 : be.onDidChangeModelContent((Le) => {
|
1172
1172
|
Se.current || O(ae.current.getValue(), Le);
|
1173
1173
|
}));
|
1174
|
-
}, [
|
1175
|
-
if (
|
1174
|
+
}, [A, O]), $e(() => {
|
1175
|
+
if (A) {
|
1176
1176
|
let te = V.current.editor.onDidChangeMarkers((be) => {
|
1177
1177
|
var St;
|
1178
1178
|
let Le = (St = ae.current.getModel()) == null ? void 0 : St.uri;
|
1179
|
-
if (Le && be.find((
|
1180
|
-
let
|
1181
|
-
F == null || F(
|
1179
|
+
if (Le && be.find((je) => je.path === Le.path)) {
|
1180
|
+
let je = V.current.editor.getModelMarkers({ resource: Le });
|
1181
|
+
F == null || F(je);
|
1182
1182
|
}
|
1183
1183
|
});
|
1184
1184
|
return () => {
|
@@ -1187,12 +1187,12 @@ function cx({ defaultValue: a, defaultLanguage: n, defaultPath: r, value: o, lan
|
|
1187
1187
|
}
|
1188
1188
|
return () => {
|
1189
1189
|
};
|
1190
|
-
}, [
|
1190
|
+
}, [A, F]);
|
1191
1191
|
function wt() {
|
1192
1192
|
var te, be;
|
1193
|
-
(te = Be.current) == null || te.dispose(),
|
1193
|
+
(te = Be.current) == null || te.dispose(), N ? T && Ha.set(l, ae.current.saveViewState()) : (be = ae.current.getModel()) == null || be.dispose(), ae.current.dispose();
|
1194
1194
|
}
|
1195
|
-
return cs.createElement(kp, { width: R, height: P, isEditorReady:
|
1195
|
+
return cs.createElement(kp, { width: R, height: P, isEditorReady: A, loading: f, _ref: Ze, className: S, wrapperProps: U });
|
1196
1196
|
}
|
1197
1197
|
var px = cx, dx = Fi(px);
|
1198
1198
|
const Cc = {
|
@@ -60594,26 +60594,26 @@ function xx(a, n = 0, r = !0) {
|
|
60594
60594
|
return "";
|
60595
60595
|
if (o.isEnumMember)
|
60596
60596
|
return `${oe.bold(o.name)} (enum member)${o.value === void 0 ? "" : ` = ${o.value}`}`;
|
60597
|
-
const c = /(Mac|iPhone|iPod|iPad)/i.test(window.navigator.userAgent), { name: l, title: m, desc: y, type: f, syntax: b, returns: h, remarks: T, fields:
|
60597
|
+
const c = /(Mac|iPhone|iPod|iPad)/i.test(window.navigator.userAgent), { name: l, title: m, desc: y, type: f, syntax: b, returns: h, remarks: T, fields: N, members: R } = o, P = [`${oe.bold(l)} (${m})`];
|
60598
60598
|
if (a.length > 1 && P.push(oe.italic(`+${a.length - 1} overloads`)), P.push(oe.delimiter), y && P.push(oe.paragraph(Array.isArray(y) ? y.join(oe.lineBreak) : y || "")), f && P.push(oe.paragraph(oe.bold(lt.Type), oe.italic(f))), b && b.length && P.push(oe.paragraph(oe.bold(lt.Syntax), oe.pineCode(b.join(oe.lineBreak)))), h && P.push(oe.paragraph(oe.bold(lt.Returns), oe.lineBreak, h.join(oe.lineBreak))), T && T.length && a.length <= 1) {
|
60599
|
-
let
|
60600
|
-
typeof T == "string" ?
|
60599
|
+
let S = "";
|
60600
|
+
typeof T == "string" ? S = T : S = T.join(oe.lineBreak) || "", S.length < 200 && P.push(oe.paragraph(oe.bold(lt.Remarks), oe.lineBreak, S));
|
60601
60601
|
}
|
60602
|
-
if (
|
60603
|
-
const
|
60604
|
-
for (const U of
|
60602
|
+
if (N) {
|
60603
|
+
const S = [];
|
60604
|
+
for (const U of N) {
|
60605
60605
|
const G = U.desc ? ` - ${U.desc}` : "";
|
60606
|
-
|
60606
|
+
S.push(`${U.name} (${U.type})${G}`);
|
60607
60607
|
}
|
60608
|
-
P.push(oe.paragraph(oe.bold(lt.Fields), oe.lineBreak,
|
60608
|
+
P.push(oe.paragraph(oe.bold(lt.Fields), oe.lineBreak, S.join(oe.paragraphBreak)));
|
60609
60609
|
}
|
60610
60610
|
if (R) {
|
60611
|
-
const
|
60611
|
+
const S = [];
|
60612
60612
|
for (const U of R) {
|
60613
60613
|
const G = U.desc ? ` - ${U.desc}` : "";
|
60614
|
-
|
60614
|
+
S.push(`${U.name}${U.value ? ` (${U.value})` : ""}${G}`);
|
60615
60615
|
}
|
60616
|
-
P.push(oe.paragraph(oe.bold(lt.EnumMembers), oe.lineBreak,
|
60616
|
+
P.push(oe.paragraph(oe.bold(lt.EnumMembers), oe.lineBreak, S.join(oe.paragraphBreak)));
|
60617
60617
|
}
|
60618
60618
|
return r && P.push(oe.italic(`${oe.code(c ? "⌘" : "Ctrl")} + ${ux.clickOnKeywordForMoreHelp}`)), P.join(P.length === 2 ? " " : oe.lineBreak);
|
60619
60619
|
}
|
@@ -60798,18 +60798,18 @@ class Tx {
|
|
60798
60798
|
let h = /* @__PURE__ */ new Map(), T = l.map((R) => ({
|
60799
60799
|
...R,
|
60800
60800
|
name: c
|
60801
|
-
})),
|
60801
|
+
})), N = this._getNodeKey(c, r);
|
60802
60802
|
if (f && r !== "type") {
|
60803
60803
|
const R = /* @__PURE__ */ new Map([[y.join("."), l]]);
|
60804
60804
|
T = [{
|
60805
60805
|
name: m,
|
60806
60806
|
title: fe.namespace
|
60807
|
-
}],
|
60807
|
+
}], N = this._getNodeKey(m, "ns"), h = this._generateTreeSlice(R, r);
|
60808
60808
|
}
|
60809
60809
|
b && (T = [{
|
60810
60810
|
name: m,
|
60811
60811
|
title: fe.namespace
|
60812
|
-
}], h = this._mergeTreeSlices(b.children, h)), o.set(
|
60812
|
+
}], h = this._mergeTreeSlices(b.children, h)), o.set(N, {
|
60813
60813
|
value: T,
|
60814
60814
|
children: h
|
60815
60815
|
});
|
@@ -60852,23 +60852,23 @@ class Tx {
|
|
60852
60852
|
return c.length && r && this._mergeCompletions(r, c), o;
|
60853
60853
|
}
|
60854
60854
|
_setUserVariableSubItems(n, r) {
|
60855
|
-
var b, h, T,
|
60855
|
+
var b, h, T, N;
|
60856
60856
|
let o = [];
|
60857
60857
|
const c = wx(n.type || ""), l = this._methodNamespaceCache.get(c), m = r ? `${r}.${n.name}` : n.name;
|
60858
60858
|
l && (o = l.filter((R) => {
|
60859
60859
|
var G;
|
60860
|
-
const P = `${c}.${R.label}`,
|
60861
|
-
if (U &&
|
60862
|
-
const X = this._getNamedArgumentsCompletionList(((G =
|
60863
|
-
this._userFuncArgsCache.set(O, X), this._methodFuncs.set(O,
|
60860
|
+
const P = `${c}.${R.label}`, S = ht.methods.get(P) || this._userMethods.get(P), U = S == null ? void 0 : S.some((X) => !X.thisType || X.thisType[0].includes("<>") || X.thisType.includes(n.type || ""));
|
60861
|
+
if (U && S) {
|
60862
|
+
const X = this._getNamedArgumentsCompletionList(((G = S[0]) == null ? void 0 : G.args) || []), O = `${m}.${R.label}`;
|
60863
|
+
this._userFuncArgsCache.set(O, X), this._methodFuncs.set(O, S);
|
60864
60864
|
}
|
60865
60865
|
return U;
|
60866
60866
|
}));
|
60867
|
-
const { types: y } = ht, f = ((h = (b = this._userTypes.get(c)) == null ? void 0 : b[0]) == null ? void 0 : h.fields) || ((
|
60867
|
+
const { types: y } = ht, f = ((h = (b = this._userTypes.get(c)) == null ? void 0 : b[0]) == null ? void 0 : h.fields) || ((N = (T = y.get(c)) == null ? void 0 : T[0]) == null ? void 0 : N.fields);
|
60868
60868
|
if (f)
|
60869
60869
|
for (const R of f) {
|
60870
|
-
const P = R.name,
|
60871
|
-
this._setUserVariableSubItems({ name: P, type:
|
60870
|
+
const P = R.name, S = R.type, U = this._getInstanceTypeCompletionItemProp({ name: P, type: S, desc: R.desc ? [R.desc] : void 0 });
|
60871
|
+
this._setUserVariableSubItems({ name: P, type: S }, n.name), o.push({ ...U });
|
60872
60872
|
}
|
60873
60873
|
o.length && this._mergeUserCompletions(m, o);
|
60874
60874
|
}
|
@@ -60970,8 +60970,8 @@ class Tx {
|
|
60970
60970
|
const h = this._getNamespaceCompletionItem(f[0]);
|
60971
60971
|
if (r) {
|
60972
60972
|
l.push({ ...h });
|
60973
|
-
const
|
60974
|
-
h.label =
|
60973
|
+
const N = `${r}.${h.label}`;
|
60974
|
+
h.label = N, h.insertText = N;
|
60975
60975
|
}
|
60976
60976
|
const T = this._getFunctionCompletionItems(b, h.label, o);
|
60977
60977
|
r || (o ? this._userOutermostNsItems.set(m, h) : this._outermostNsItems.set(m, h)), c.push(...T);
|
@@ -61012,8 +61012,8 @@ class Tx {
|
|
61012
61012
|
const m = /* @__PURE__ */ new Map();
|
61013
61013
|
c.value.reduce((b, h) => {
|
61014
61014
|
const T = h.args;
|
61015
|
-
return T && T.length && T.forEach((
|
61016
|
-
b.set(
|
61015
|
+
return T && T.length && T.forEach((N) => {
|
61016
|
+
b.set(N.name, N);
|
61017
61017
|
}), b;
|
61018
61018
|
}, m);
|
61019
61019
|
const y = this._getNamedArgumentsCompletionList([...m.values()]), f = r ? `${r}.${l}` : l;
|
@@ -61030,8 +61030,8 @@ class Tx {
|
|
61030
61030
|
const m = /* @__PURE__ */ new Map();
|
61031
61031
|
c.value.reduce((b, h) => {
|
61032
61032
|
const T = h.args;
|
61033
|
-
return T && T.length && T.forEach((
|
61034
|
-
b.set(
|
61033
|
+
return T && T.length && T.forEach((N) => {
|
61034
|
+
b.set(N.name, N);
|
61035
61035
|
}), b;
|
61036
61036
|
}, m);
|
61037
61037
|
const y = this._getNamedArgumentsCompletionList([...m.values()]), f = r ? `${r}.${l}` : l;
|
@@ -61153,15 +61153,15 @@ class Tx {
|
|
61153
61153
|
l.length ? y.push(this._createExampleSection(l)) : n.syntax && n.syntax.length && y.push(this._createSyntaxSection(n.syntax)), n.returns && n.returns.length && y.push(this._createReturnSection(n.returns));
|
61154
61154
|
const f = {
|
61155
61155
|
value: y.join(this._formatter.lineBreak)
|
61156
|
-
}, b = n.name, h = o ? fe.functions : fe.userDefinedFunction, T = n.template,
|
61156
|
+
}, b = n.name, h = o ? fe.functions : fe.userDefinedFunction, T = n.template, N = T ? `${fx(b)}<\${1}>` : b;
|
61157
61157
|
return {
|
61158
61158
|
documentation: f,
|
61159
61159
|
label: T ? `${b.replace(/<.+>/, "")}<type>` : b,
|
61160
61160
|
kind: Ue.CompletionItemKind.Function,
|
61161
61161
|
sortText: `${r}_${b}`,
|
61162
61162
|
insertTextRules: Ue.CompletionItemInsertTextRule.InsertAsSnippet,
|
61163
|
-
insertText:
|
61164
|
-
originInsertText:
|
61163
|
+
insertText: N + this.bracketsPostfix,
|
61164
|
+
originInsertText: N,
|
61165
61165
|
detail: `(${h}) ${fe.returns} ${c}`,
|
61166
61166
|
command: {
|
61167
61167
|
id: "tcc.editor.function",
|
@@ -61294,10 +61294,10 @@ class Dx {
|
|
61294
61294
|
index: 0
|
61295
61295
|
};
|
61296
61296
|
{
|
61297
|
-
const
|
61298
|
-
if (
|
61297
|
+
const N = this._getBuildInFunc(`${h.name}<type>`);
|
61298
|
+
if (N)
|
61299
61299
|
return {
|
61300
|
-
docValue:
|
61300
|
+
docValue: N,
|
61301
61301
|
isBuildIn: !0,
|
61302
61302
|
index: 0
|
61303
61303
|
};
|
@@ -61464,27 +61464,27 @@ class Dx {
|
|
61464
61464
|
var l, m;
|
61465
61465
|
if (r.includes(".")) {
|
61466
61466
|
const y = r.split(".");
|
61467
|
-
let f = y[0], b, h = null, T = n.indexOf(r, o - r.length) + 1,
|
61467
|
+
let f = y[0], b, h = null, T = n.indexOf(r, o - r.length) + 1, N = T + f.length - 1;
|
61468
61468
|
for (const R of y.slice(1)) {
|
61469
61469
|
if (!h) {
|
61470
|
-
const P = T <= o &&
|
61471
|
-
if (P &&
|
61472
|
-
return
|
61473
|
-
h =
|
61470
|
+
const P = T <= o && N >= o, S = this._getUserVariablesDocVal(f, o, c);
|
61471
|
+
if (P && S)
|
61472
|
+
return S;
|
61473
|
+
h = S == null ? void 0 : S.type;
|
61474
61474
|
}
|
61475
61475
|
if (h) {
|
61476
|
-
b = h, T =
|
61477
|
-
const P = this._userTypes.get(h) || ht.types.get(h),
|
61478
|
-
if (
|
61476
|
+
b = h, T = N + 2, N = N + R.length + 1;
|
61477
|
+
const P = this._userTypes.get(h) || ht.types.get(h), S = (m = (l = P == null ? void 0 : P[0]) == null ? void 0 : l.fields) == null ? void 0 : m.find((U) => U.name === R);
|
61478
|
+
if (S && T <= o && N >= o)
|
61479
61479
|
return {
|
61480
61480
|
name: `${h}.${R}`,
|
61481
|
-
desc:
|
61482
|
-
type: this._arrayTypeTransform(
|
61481
|
+
desc: S.desc,
|
61482
|
+
type: this._arrayTypeTransform(S.type),
|
61483
61483
|
title: fe.field
|
61484
61484
|
};
|
61485
|
-
h =
|
61485
|
+
h = S == null ? void 0 : S.type;
|
61486
61486
|
} else
|
61487
|
-
f = `${f}.${R}`,
|
61487
|
+
f = `${f}.${R}`, N = N + R.length + 1;
|
61488
61488
|
}
|
61489
61489
|
return b;
|
61490
61490
|
}
|
@@ -61586,17 +61586,17 @@ var Za = { exports: {} };
|
|
61586
61586
|
Za.exports;
|
61587
61587
|
(function(a, n) {
|
61588
61588
|
(function() {
|
61589
|
-
var r, o = "4.17.21", c = 200, l = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", m = "Expected a function", y = "Invalid `variable` option passed into `_.template`", f = "__lodash_hash_undefined__", b = 500, h = "__lodash_placeholder__", T = 1,
|
61589
|
+
var r, o = "4.17.21", c = 200, l = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", m = "Expected a function", y = "Invalid `variable` option passed into `_.template`", f = "__lodash_hash_undefined__", b = 500, h = "__lodash_placeholder__", T = 1, N = 2, R = 4, P = 1, S = 2, U = 1, G = 2, X = 4, O = 8, F = 16, A = 32, $ = 64, C = 128, j = 256, V = 512, ae = 30, Ze = "...", Nt = 800, Re = 16, Be = 1, Q = 2, _e = 3, Ne = 1 / 0, Se = 9007199254740991, pt = 17976931348623157e292, wt = NaN, te = 4294967295, be = te - 1, Le = te >>> 1, St = [
|
61590
61590
|
["ary", C],
|
61591
61591
|
["bind", U],
|
61592
61592
|
["bindKey", G],
|
61593
61593
|
["curry", O],
|
61594
61594
|
["curryRight", F],
|
61595
61595
|
["flip", V],
|
61596
|
-
["partial",
|
61596
|
+
["partial", A],
|
61597
61597
|
["partialRight", $],
|
61598
61598
|
["rearg", j]
|
61599
|
-
],
|
61599
|
+
], je = "[object Arguments]", Lt = "[object Array]", He = "[object AsyncFunction]", $t = "[object Boolean]", Vt = "[object Date]", Fs = "[object DOMException]", Rs = "[object Error]", Ts = "[object Function]", Xr = "[object GeneratorFunction]", dt = "[object Map]", jt = "[object Number]", Bs = "[object Null]", vt = "[object Object]", dr = "[object Promise]", Ks = "[object Proxy]", Ds = "[object RegExp]", mt = "[object Set]", Qt = "[object String]", Us = "[object Symbol]", on = "[object Undefined]", ps = "[object WeakMap]", Yr = "[object WeakSet]", Mt = "[object ArrayBuffer]", ds = "[object DataView]", $s = "[object Float32Array]", js = "[object Float64Array]", Is = "[object Int8Array]", mr = "[object Int16Array]", ur = "[object Int32Array]", yr = "[object Uint8Array]", _r = "[object Uint8ClampedArray]", fr = "[object Uint16Array]", gr = "[object Uint32Array]", ln = /\b__p \+= '';/g, br = /\b(__p \+=) '' \+/g, Vr = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Zt = /&(?:amp|lt|gt|quot|#39);/g, Hs = /[&<>"']/g, xr = RegExp(Zt.source), Qr = RegExp(Hs.source), cn = /<%-([\s\S]+?)%>/g, Zr = /<%([\s\S]+?)%>/g, Jr = /<%=([\s\S]+?)%>/g, ea = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, ta = /^\w*$/, pn = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, hr = /[\\^$.*+?()[\]{}|]/g, sa = RegExp(hr.source), wr = /^\s+/, dn = /\s/, mn = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, un = /\{\n\/\* \[wrapped with (.+)\] \*/, g = /,? & /, L = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, B = /[()=,{}\[\]\/\s]/, ee = /\\(\\)?/g, ye = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, xe = /\w*$/, de = /^[-+]0x[0-9a-f]+$/i, ce = /^0b[01]+$/i, We = /^\[object .+?Constructor\]$/, ke = /^0o[0-7]+$/i, Ce = /^(?:0|[1-9]\d*)$/, st = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Pt = /($^)/, ra = /['\n\r\u2028\u2029\\]/g, rt = "\\ud800-\\udfff", Wp = "\\u0300-\\u036f", Gp = "\\ufe20-\\ufe2f", Xp = "\\u20d0-\\u20ff", Gi = Wp + Gp + Xp, Xi = "\\u2700-\\u27bf", Yi = "a-z\\xdf-\\xf6\\xf8-\\xff", Yp = "\\xac\\xb1\\xd7\\xf7", Vp = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Qp = "\\u2000-\\u206f", Zp = " \\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", Vi = "A-Z\\xc0-\\xd6\\xd8-\\xde", Qi = "\\ufe0e\\ufe0f", Zi = Yp + Vp + Qp + Zp, yn = "['’]", Jp = "[" + rt + "]", Ji = "[" + Zi + "]", aa = "[" + Gi + "]", eo = "\\d+", ed = "[" + Xi + "]", to = "[" + Yi + "]", so = "[^" + rt + Zi + eo + Xi + Yi + Vi + "]", _n = "\\ud83c[\\udffb-\\udfff]", td = "(?:" + aa + "|" + _n + ")", ro = "[^" + rt + "]", fn = "(?:\\ud83c[\\udde6-\\uddff]){2}", gn = "[\\ud800-\\udbff][\\udc00-\\udfff]", Ws = "[" + Vi + "]", ao = "\\u200d", no = "(?:" + to + "|" + so + ")", sd = "(?:" + Ws + "|" + so + ")", io = "(?:" + yn + "(?:d|ll|m|re|s|t|ve))?", oo = "(?:" + yn + "(?:D|LL|M|RE|S|T|VE))?", lo = td + "?", co = "[" + Qi + "]?", rd = "(?:" + ao + "(?:" + [ro, fn, gn].join("|") + ")" + co + lo + ")*", ad = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", nd = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", po = co + lo + rd, id = "(?:" + [ed, fn, gn].join("|") + ")" + po, od = "(?:" + [ro + aa + "?", aa, fn, gn, Jp].join("|") + ")", ld = RegExp(yn, "g"), cd = RegExp(aa, "g"), bn = RegExp(_n + "(?=" + _n + ")|" + od + po, "g"), pd = RegExp([
|
61600
61600
|
Ws + "?" + to + "+" + io + "(?=" + [Ji, Ws, "$"].join("|") + ")",
|
61601
61601
|
sd + "+" + oo + "(?=" + [Ji, Ws + no, "$"].join("|") + ")",
|
61602
61602
|
Ws + "?" + no + "+" + io,
|
@@ -61637,9 +61637,9 @@ Za.exports;
|
|
61637
61637
|
"parseInt",
|
61638
61638
|
"setTimeout"
|
61639
61639
|
], yd = -1, De = {};
|
61640
|
-
De[$s] = De[js] = De[Is] = De[mr] = De[ur] = De[yr] = De[_r] = De[fr] = De[gr] = !0, De[
|
61640
|
+
De[$s] = De[js] = De[Is] = De[mr] = De[ur] = De[yr] = De[_r] = De[fr] = De[gr] = !0, De[je] = De[Lt] = De[Mt] = De[$t] = De[ds] = De[Vt] = De[Rs] = De[Ts] = De[dt] = De[jt] = De[vt] = De[Ds] = De[mt] = De[Qt] = De[ps] = !1;
|
61641
61641
|
var Te = {};
|
61642
|
-
Te[
|
61642
|
+
Te[je] = Te[Lt] = Te[Mt] = Te[ds] = Te[$t] = Te[Vt] = Te[$s] = Te[js] = Te[Is] = Te[mr] = Te[ur] = Te[dt] = Te[jt] = Te[vt] = Te[Ds] = Te[mt] = Te[Qt] = Te[Us] = Te[yr] = Te[_r] = Te[fr] = Te[gr] = !0, Te[Rs] = Te[Ts] = Te[ps] = !1;
|
61643
61643
|
var _d = {
|
61644
61644
|
// Latin-1 Supplement block.
|
61645
61645
|
À: "A",
|
@@ -61852,7 +61852,7 @@ Za.exports;
|
|
61852
61852
|
"\r": "r",
|
61853
61853
|
"\u2028": "u2028",
|
61854
61854
|
"\u2029": "u2029"
|
61855
|
-
}, xd = parseFloat, hd = parseInt, mo = typeof Or == "object" && Or && Or.Object === Object && Or, wd = typeof self == "object" && self && self.Object === Object && self,
|
61855
|
+
}, xd = parseFloat, hd = parseInt, mo = typeof Or == "object" && Or && Or.Object === Object && Or, wd = typeof self == "object" && self && self.Object === Object && self, Ge = mo || wd || Function("return this")(), xn = n && !n.nodeType && n, ks = xn && !0 && a && !a.nodeType && a, uo = ks && ks.exports === xn, hn = uo && mo.process, Tt = function() {
|
61856
61856
|
try {
|
61857
61857
|
var w = ks && ks.require && ks.require("util").types;
|
61858
61858
|
return w || hn && hn.binding && hn.binding("util");
|
@@ -62129,11 +62129,11 @@ Za.exports;
|
|
62129
62129
|
return w.match(pd) || [];
|
62130
62130
|
}
|
62131
62131
|
var Hd = function w(k) {
|
62132
|
-
k = k == null ?
|
62132
|
+
k = k == null ? Ge : Vs.defaults(Ge.Object(), k, Vs.pick(Ge, ud));
|
62133
62133
|
var D = k.Array, H = k.Date, se = k.Error, ge = k.Function, Oe = k.Math, ve = k.Object, zn = k.RegExp, Wd = k.String, It = k.TypeError, la = D.prototype, Gd = ge.prototype, Qs = ve.prototype, ca = k["__core-js_shared__"], pa = Gd.toString, we = Qs.hasOwnProperty, Xd = 0, zo = function() {
|
62134
62134
|
var e = /[^.]+$/.exec(ca && ca.keys && ca.keys.IE_PROTO || "");
|
62135
62135
|
return e ? "Symbol(src)_1." + e : "";
|
62136
|
-
}(), da = Qs.toString, Yd = pa.call(ve), Vd =
|
62136
|
+
}(), da = Qs.toString, Yd = pa.call(ve), Vd = Ge._, Qd = zn(
|
62137
62137
|
"^" + pa.call(we).replace(hr, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
62138
62138
|
), ma = uo ? k.Buffer : r, _s = k.Symbol, ua = k.Uint8Array, Eo = ma ? ma.allocUnsafe : r, ya = qo(ve.getPrototypeOf, ve), No = ve.create, So = Qs.propertyIsEnumerable, _a = la.splice, Lo = _s ? _s.isConcatSpreadable : r, Tr = _s ? _s.iterator : r, As = _s ? _s.toStringTag : r, fa = function() {
|
62139
62139
|
try {
|
@@ -62141,7 +62141,7 @@ Za.exports;
|
|
62141
62141
|
return e({}, "", {}), e;
|
62142
62142
|
} catch {
|
62143
62143
|
}
|
62144
|
-
}(), Zd = k.clearTimeout !==
|
62144
|
+
}(), Zd = k.clearTimeout !== Ge.clearTimeout && k.clearTimeout, Jd = H && H.now !== Ge.Date.now && H.now, em = k.setTimeout !== Ge.setTimeout && k.setTimeout, ga = Oe.ceil, ba = Oe.floor, En = ve.getOwnPropertySymbols, tm = ma ? ma.isBuffer : r, Mo = k.isFinite, sm = la.join, rm = qo(ve.keys, ve), Fe = Oe.max, Ye = Oe.min, am = H.now, nm = k.parseInt, Po = Oe.random, im = la.reverse, Nn = Ns(k, "DataView"), Dr = Ns(k, "Map"), Sn = Ns(k, "Promise"), Zs = Ns(k, "Set"), Ir = Ns(k, "WeakMap"), kr = Ns(ve, "create"), xa = Ir && new Ir(), Js = {}, om = Ss(Nn), lm = Ss(Dr), cm = Ss(Sn), pm = Ss(Zs), dm = Ss(Ir), ha = _s ? _s.prototype : r, Ar = ha ? ha.valueOf : r, Oo = ha ? ha.toString : r;
|
62145
62145
|
function d(e) {
|
62146
62146
|
if (ze(e) && !re(e) && !(e instanceof me)) {
|
62147
62147
|
if (e instanceof kt)
|
@@ -62230,14 +62230,14 @@ Za.exports;
|
|
62230
62230
|
return e;
|
62231
62231
|
}
|
62232
62232
|
function ym() {
|
62233
|
-
var e = this.__wrapped__.value(), t = this.__dir__, s = re(e), i = t < 0, p = s ? e.length : 0, u = ku(0, p, this.__views__), _ = u.start, x = u.end, v = x - _,
|
62233
|
+
var e = this.__wrapped__.value(), t = this.__dir__, s = re(e), i = t < 0, p = s ? e.length : 0, u = ku(0, p, this.__views__), _ = u.start, x = u.end, v = x - _, q = i ? x : _ - 1, z = this.__iteratees__, E = z.length, K = 0, W = Ye(v, this.__takeCount__);
|
62234
62234
|
if (!s || !i && p == v && W == v)
|
62235
62235
|
return ol(e, this.__actions__);
|
62236
62236
|
var Z = [];
|
62237
62237
|
e:
|
62238
62238
|
for (; v-- && K < W; ) {
|
62239
|
-
|
62240
|
-
for (var ie = -1, J = e[
|
62239
|
+
q += t;
|
62240
|
+
for (var ie = -1, J = e[q]; ++ie < E; ) {
|
62241
62241
|
var pe = z[ie], ue = pe.iteratee, gt = pe.type, tt = ue(J);
|
62242
62242
|
if (gt == Q)
|
62243
62243
|
J = tt;
|
@@ -62383,12 +62383,12 @@ Za.exports;
|
|
62383
62383
|
Ft.prototype.clear = Nm, Ft.prototype.delete = Sm, Ft.prototype.get = Lm, Ft.prototype.has = Mm, Ft.prototype.set = Pm;
|
62384
62384
|
function Fo(e, t) {
|
62385
62385
|
var s = re(e), i = !s && Ls(e), p = !s && !i && hs(e), u = !s && !i && !p && ar(e), _ = s || i || p || u, x = _ ? An(e.length, Wd) : [], v = x.length;
|
62386
|
-
for (var
|
62387
|
-
(t || we.call(e,
|
62388
|
-
(
|
62389
|
-
p && (
|
62390
|
-
u && (
|
62391
|
-
as(
|
62386
|
+
for (var q in e)
|
62387
|
+
(t || we.call(e, q)) && !(_ && // Safari 9 has enumerable `arguments.length` in strict mode.
|
62388
|
+
(q == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
62389
|
+
p && (q == "offset" || q == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
62390
|
+
u && (q == "buffer" || q == "byteLength" || q == "byteOffset") || // Skip index properties.
|
62391
|
+
as(q, v))) && x.push(q);
|
62392
62392
|
return x;
|
62393
62393
|
}
|
62394
62394
|
function Ro(e) {
|
@@ -62442,7 +62442,7 @@ Za.exports;
|
|
62442
62442
|
return e === e && (s !== r && (e = e <= s ? e : s), t !== r && (e = e >= t ? e : t)), e;
|
62443
62443
|
}
|
62444
62444
|
function At(e, t, s, i, p, u) {
|
62445
|
-
var _, x = t & T, v = t &
|
62445
|
+
var _, x = t & T, v = t & N, q = t & R;
|
62446
62446
|
if (s && (_ = p ? s(e, i, p, u) : s(e)), _ !== r)
|
62447
62447
|
return _;
|
62448
62448
|
if (!Ae(e))
|
@@ -62455,7 +62455,7 @@ Za.exports;
|
|
62455
62455
|
var E = Ve(e), K = E == Ts || E == Xr;
|
62456
62456
|
if (hs(e))
|
62457
62457
|
return pl(e, x);
|
62458
|
-
if (E == vt || E ==
|
62458
|
+
if (E == vt || E == je || K && !p) {
|
62459
62459
|
if (_ = v || K ? {} : Cl(e), !x)
|
62460
62460
|
return v ? gu(e, Bm(_, e)) : fu(e, Bo(_, e));
|
62461
62461
|
} else {
|
@@ -62473,7 +62473,7 @@ Za.exports;
|
|
62473
62473
|
}) : sc(e) && e.forEach(function(J, pe) {
|
62474
62474
|
_.set(pe, At(J, t, s, pe, e, u));
|
62475
62475
|
});
|
62476
|
-
var Z =
|
62476
|
+
var Z = q ? v ? ti : ei : v ? it : Ke, ie = z ? r : Z(e);
|
62477
62477
|
return Dt(ie || e, function(J, pe) {
|
62478
62478
|
ie && (pe = J, J = e[pe]), qr(_, pe, At(J, t, s, pe, e, u));
|
62479
62479
|
}), _;
|
@@ -62503,7 +62503,7 @@ Za.exports;
|
|
62503
62503
|
}, t);
|
62504
62504
|
}
|
62505
62505
|
function Cr(e, t, s, i) {
|
62506
|
-
var p = -1, u = na, _ = !0, x = e.length, v = [],
|
62506
|
+
var p = -1, u = na, _ = !0, x = e.length, v = [], q = t.length;
|
62507
62507
|
if (!x)
|
62508
62508
|
return v;
|
62509
62509
|
s && (t = Ie(t, yt(s))), i ? (u = wn, _ = !1) : t.length >= c && (u = vr, _ = !1, t = new Cs(t));
|
@@ -62511,7 +62511,7 @@ Za.exports;
|
|
62511
62511
|
for (; ++p < x; ) {
|
62512
62512
|
var z = e[p], E = s == null ? z : s(z);
|
62513
62513
|
if (z = i || z !== 0 ? z : 0, _ && E === E) {
|
62514
|
-
for (var K =
|
62514
|
+
for (var K = q; K--; )
|
62515
62515
|
if (t[K] === E)
|
62516
62516
|
continue e;
|
62517
62517
|
v.push(z);
|
@@ -62547,11 +62547,11 @@ Za.exports;
|
|
62547
62547
|
t(i, p, u) && s.push(i);
|
62548
62548
|
}), s;
|
62549
62549
|
}
|
62550
|
-
function
|
62550
|
+
function Xe(e, t, s, i, p) {
|
62551
62551
|
var u = -1, _ = e.length;
|
62552
62552
|
for (s || (s = Eu), p || (p = []); ++u < _; ) {
|
62553
62553
|
var x = e[u];
|
62554
|
-
t > 0 && s(x) ? t > 1 ?
|
62554
|
+
t > 0 && s(x) ? t > 1 ? Xe(x, t - 1, s, i, p) : us(p, x) : i || (p[p.length] = x);
|
62555
62555
|
}
|
62556
62556
|
return p;
|
62557
62557
|
}
|
@@ -62593,25 +62593,25 @@ Za.exports;
|
|
62593
62593
|
return e >= Ye(t, s) && e < Fe(t, s);
|
62594
62594
|
}
|
62595
62595
|
function Rn(e, t, s) {
|
62596
|
-
for (var i = s ? wn : na, p = e[0].length, u = e.length, _ = u, x = D(u), v = 1 / 0,
|
62596
|
+
for (var i = s ? wn : na, p = e[0].length, u = e.length, _ = u, x = D(u), v = 1 / 0, q = []; _--; ) {
|
62597
62597
|
var z = e[_];
|
62598
62598
|
_ && t && (z = Ie(z, yt(t))), v = Ye(z.length, v), x[_] = !s && (t || p >= 120 && z.length >= 120) ? new Cs(_ && z) : r;
|
62599
62599
|
}
|
62600
62600
|
z = e[0];
|
62601
62601
|
var E = -1, K = x[0];
|
62602
62602
|
e:
|
62603
|
-
for (; ++E < p &&
|
62603
|
+
for (; ++E < p && q.length < v; ) {
|
62604
62604
|
var W = z[E], Z = t ? t(W) : W;
|
62605
|
-
if (W = s || W !== 0 ? W : 0, !(K ? vr(K, Z) : i(
|
62605
|
+
if (W = s || W !== 0 ? W : 0, !(K ? vr(K, Z) : i(q, Z, s))) {
|
62606
62606
|
for (_ = u; --_; ) {
|
62607
62607
|
var ie = x[_];
|
62608
62608
|
if (!(ie ? vr(ie, Z) : i(e[_], Z, s)))
|
62609
62609
|
continue e;
|
62610
62610
|
}
|
62611
|
-
K && K.push(Z),
|
62611
|
+
K && K.push(Z), q.push(W);
|
62612
62612
|
}
|
62613
62613
|
}
|
62614
|
-
return
|
62614
|
+
return q;
|
62615
62615
|
}
|
62616
62616
|
function Gm(e, t, s, i) {
|
62617
62617
|
return Ht(e, function(p, u, _) {
|
@@ -62624,7 +62624,7 @@ Za.exports;
|
|
62624
62624
|
return i == null ? r : ut(i, e, s);
|
62625
62625
|
}
|
62626
62626
|
function Go(e) {
|
62627
|
-
return ze(e) && Je(e) ==
|
62627
|
+
return ze(e) && Je(e) == je;
|
62628
62628
|
}
|
62629
62629
|
function Xm(e) {
|
62630
62630
|
return ze(e) && Je(e) == Mt;
|
@@ -62636,9 +62636,9 @@ Za.exports;
|
|
62636
62636
|
return e === t ? !0 : e == null || t == null || !ze(e) && !ze(t) ? e !== e && t !== t : Vm(e, t, s, i, Er, p);
|
62637
62637
|
}
|
62638
62638
|
function Vm(e, t, s, i, p, u) {
|
62639
|
-
var _ = re(e), x = re(t), v = _ ? Lt : Ve(e),
|
62640
|
-
v = v ==
|
62641
|
-
var z = v == vt, E =
|
62639
|
+
var _ = re(e), x = re(t), v = _ ? Lt : Ve(e), q = x ? Lt : Ve(t);
|
62640
|
+
v = v == je ? vt : v, q = q == je ? vt : q;
|
62641
|
+
var z = v == vt, E = q == vt, K = v == q;
|
62642
62642
|
if (K && hs(e)) {
|
62643
62643
|
if (!hs(t))
|
62644
62644
|
return !1;
|
@@ -62669,15 +62669,15 @@ Za.exports;
|
|
62669
62669
|
}
|
62670
62670
|
for (; ++p < u; ) {
|
62671
62671
|
x = s[p];
|
62672
|
-
var v = x[0],
|
62672
|
+
var v = x[0], q = e[v], z = x[1];
|
62673
62673
|
if (_ && x[2]) {
|
62674
|
-
if (
|
62674
|
+
if (q === r && !(v in e))
|
62675
62675
|
return !1;
|
62676
62676
|
} else {
|
62677
62677
|
var E = new Ft();
|
62678
62678
|
if (i)
|
62679
|
-
var K = i(
|
62680
|
-
if (!(K === r ? Er(z,
|
62679
|
+
var K = i(q, z, v, e, t, E);
|
62680
|
+
if (!(K === r ? Er(z, q, P | S, i, E) : K))
|
62681
62681
|
return !1;
|
62682
62682
|
}
|
62683
62683
|
}
|
@@ -62686,7 +62686,7 @@ Za.exports;
|
|
62686
62686
|
function Xo(e) {
|
62687
62687
|
if (!Ae(e) || Su(e))
|
62688
62688
|
return !1;
|
62689
|
-
var t = ns(e) ? Qd :
|
62689
|
+
var t = ns(e) ? Qd : We;
|
62690
62690
|
return t.test(Ss(e));
|
62691
62691
|
}
|
62692
62692
|
function Zm(e) {
|
@@ -62735,7 +62735,7 @@ Za.exports;
|
|
62735
62735
|
function Zo(e, t) {
|
62736
62736
|
return ni(e) && zl(t) ? El(Gt(e), t) : function(s) {
|
62737
62737
|
var i = _i(s, e);
|
62738
|
-
return i === r && i === t ? fi(s, e) : Er(t, i, P |
|
62738
|
+
return i === r && i === t ? fi(s, e) : Er(t, i, P | S);
|
62739
62739
|
};
|
62740
62740
|
}
|
62741
62741
|
function Ia(e, t, s, i, p) {
|
@@ -62749,9 +62749,9 @@ Za.exports;
|
|
62749
62749
|
}, it);
|
62750
62750
|
}
|
62751
62751
|
function su(e, t, s, i, p, u, _) {
|
62752
|
-
var x = oi(e, s), v = oi(t, s),
|
62753
|
-
if (
|
62754
|
-
Ln(e, s,
|
62752
|
+
var x = oi(e, s), v = oi(t, s), q = _.get(v);
|
62753
|
+
if (q) {
|
62754
|
+
Ln(e, s, q);
|
62755
62755
|
return;
|
62756
62756
|
}
|
62757
62757
|
var z = u ? u(x, v, s + "", e, t, _) : r, E = z === r;
|
@@ -62775,8 +62775,8 @@ Za.exports;
|
|
62775
62775
|
var i = -1;
|
62776
62776
|
t = Ie(t, yt(Y()));
|
62777
62777
|
var p = Vo(e, function(u, _, x) {
|
62778
|
-
var v = Ie(t, function(
|
62779
|
-
return
|
62778
|
+
var v = Ie(t, function(q) {
|
62779
|
+
return q(u);
|
62780
62780
|
});
|
62781
62781
|
return { criteria: v, index: ++i, value: u };
|
62782
62782
|
});
|
@@ -62804,7 +62804,7 @@ Za.exports;
|
|
62804
62804
|
function $n(e, t, s, i) {
|
62805
62805
|
var p = i ? qd : Gs, u = -1, _ = t.length, x = e;
|
62806
62806
|
for (e === t && (t = at(t)), s && (x = Ie(e, yt(s))); ++u < _; )
|
62807
|
-
for (var v = 0,
|
62807
|
+
for (var v = 0, q = t[u], z = s ? s(q) : q; (v = p(x, z, v, i)) > -1; )
|
62808
62808
|
x !== e && _a.call(x, v, 1), _a.call(e, v, 1);
|
62809
62809
|
return e;
|
62810
62810
|
}
|
@@ -62850,14 +62850,14 @@ Za.exports;
|
|
62850
62850
|
return e;
|
62851
62851
|
t = bs(t, e);
|
62852
62852
|
for (var p = -1, u = t.length, _ = u - 1, x = e; x != null && ++p < u; ) {
|
62853
|
-
var v = Gt(t[p]),
|
62853
|
+
var v = Gt(t[p]), q = s;
|
62854
62854
|
if (v === "__proto__" || v === "constructor" || v === "prototype")
|
62855
62855
|
return e;
|
62856
62856
|
if (p != _) {
|
62857
62857
|
var z = x[v];
|
62858
|
-
|
62858
|
+
q = i ? i(z, v, x) : r, q === r && (q = Ae(z) ? z : as(t[p + 1]) ? [] : {});
|
62859
62859
|
}
|
62860
|
-
qr(x, v,
|
62860
|
+
qr(x, v, q), x = x[v];
|
62861
62861
|
}
|
62862
62862
|
return e;
|
62863
62863
|
}
|
@@ -62903,12 +62903,12 @@ Za.exports;
|
|
62903
62903
|
if (u === 0)
|
62904
62904
|
return 0;
|
62905
62905
|
t = s(t);
|
62906
|
-
for (var _ = t !== t, x = t === null, v = ft(t),
|
62906
|
+
for (var _ = t !== t, x = t === null, v = ft(t), q = t === r; p < u; ) {
|
62907
62907
|
var z = ba((p + u) / 2), E = s(e[z]), K = E !== r, W = E === null, Z = E === E, ie = ft(E);
|
62908
62908
|
if (_)
|
62909
62909
|
var J = i || Z;
|
62910
62910
|
else
|
62911
|
-
|
62911
|
+
q ? J = Z && (i || K) : x ? J = Z && K && (i || !W) : v ? J = Z && K && !W && (i || !ie) : W || ie ? J = !1 : J = i ? E <= t : E < t;
|
62912
62912
|
J ? p = z + 1 : u = z;
|
62913
62913
|
}
|
62914
62914
|
return Ye(u, be);
|
@@ -62941,9 +62941,9 @@ Za.exports;
|
|
62941
62941
|
if (s)
|
62942
62942
|
_ = !1, p = wn;
|
62943
62943
|
else if (u >= c) {
|
62944
|
-
var
|
62945
|
-
if (
|
62946
|
-
return oa(
|
62944
|
+
var q = t ? null : wu(e);
|
62945
|
+
if (q)
|
62946
|
+
return oa(q);
|
62947
62947
|
_ = !1, p = vr, v = new Cs();
|
62948
62948
|
} else
|
62949
62949
|
v = t ? [] : x;
|
@@ -62984,7 +62984,7 @@ Za.exports;
|
|
62984
62984
|
for (var p = -1, u = D(i); ++p < i; )
|
62985
62985
|
for (var _ = e[p], x = -1; ++x < i; )
|
62986
62986
|
x != p && (u[p] = Cr(u[p] || _, e[x], t, s));
|
62987
|
-
return gs(
|
62987
|
+
return gs(Xe(u, 1), t, s);
|
62988
62988
|
}
|
62989
62989
|
function ll(e, t, s) {
|
62990
62990
|
for (var i = -1, p = e.length, u = t.length, _ = {}; ++i < p; ) {
|
@@ -63008,7 +63008,7 @@ Za.exports;
|
|
63008
63008
|
return s = s === r ? i : s, !t && s >= i ? e : qt(e, t, s);
|
63009
63009
|
}
|
63010
63010
|
var cl = Zd || function(e) {
|
63011
|
-
return
|
63011
|
+
return Ge.clearTimeout(e);
|
63012
63012
|
};
|
63013
63013
|
function pl(e, t) {
|
63014
63014
|
if (t)
|
@@ -63037,10 +63037,10 @@ Za.exports;
|
|
63037
63037
|
}
|
63038
63038
|
function ml(e, t) {
|
63039
63039
|
if (e !== t) {
|
63040
|
-
var s = e !== r, i = e === null, p = e === e, u = ft(e), _ = t !== r, x = t === null, v = t === t,
|
63041
|
-
if (!x && !
|
63040
|
+
var s = e !== r, i = e === null, p = e === e, u = ft(e), _ = t !== r, x = t === null, v = t === t, q = ft(t);
|
63041
|
+
if (!x && !q && !u && e > t || u && _ && v && !x && !q || i && _ && v || !s && v || !p)
|
63042
63042
|
return 1;
|
63043
|
-
if (!i && !u && !
|
63043
|
+
if (!i && !u && !q && e < t || q && s && p && !i && !u || x && s && p || !_ && p || !v)
|
63044
63044
|
return -1;
|
63045
63045
|
}
|
63046
63046
|
return 0;
|
@@ -63051,25 +63051,25 @@ Za.exports;
|
|
63051
63051
|
if (v) {
|
63052
63052
|
if (i >= x)
|
63053
63053
|
return v;
|
63054
|
-
var
|
63055
|
-
return v * (
|
63054
|
+
var q = s[i];
|
63055
|
+
return v * (q == "desc" ? -1 : 1);
|
63056
63056
|
}
|
63057
63057
|
}
|
63058
63058
|
return e.index - t.index;
|
63059
63059
|
}
|
63060
63060
|
function ul(e, t, s, i) {
|
63061
|
-
for (var p = -1, u = e.length, _ = s.length, x = -1, v = t.length,
|
63061
|
+
for (var p = -1, u = e.length, _ = s.length, x = -1, v = t.length, q = Fe(u - _, 0), z = D(v + q), E = !i; ++x < v; )
|
63062
63062
|
z[x] = t[x];
|
63063
63063
|
for (; ++p < _; )
|
63064
63064
|
(E || p < u) && (z[s[p]] = e[p]);
|
63065
|
-
for (;
|
63065
|
+
for (; q--; )
|
63066
63066
|
z[x++] = e[p++];
|
63067
63067
|
return z;
|
63068
63068
|
}
|
63069
63069
|
function yl(e, t, s, i) {
|
63070
|
-
for (var p = -1, u = e.length, _ = -1, x = s.length, v = -1,
|
63070
|
+
for (var p = -1, u = e.length, _ = -1, x = s.length, v = -1, q = t.length, z = Fe(u - x, 0), E = D(z + q), K = !i; ++p < z; )
|
63071
63071
|
E[p] = e[p];
|
63072
|
-
for (var W = p; ++v <
|
63072
|
+
for (var W = p; ++v < q; )
|
63073
63073
|
E[W + v] = t[v];
|
63074
63074
|
for (; ++_ < x; )
|
63075
63075
|
(K || p < u) && (E[W + s[_]] = e[p++]);
|
@@ -63136,7 +63136,7 @@ Za.exports;
|
|
63136
63136
|
function bu(e, t, s) {
|
63137
63137
|
var i = t & U, p = Sr(e);
|
63138
63138
|
function u() {
|
63139
|
-
var _ = this && this !==
|
63139
|
+
var _ = this && this !== Ge && this instanceof u ? p : e;
|
63140
63140
|
return _.apply(i ? s : this, arguments);
|
63141
63141
|
}
|
63142
63142
|
return u;
|
@@ -63183,8 +63183,8 @@ Za.exports;
|
|
63183
63183
|
function p() {
|
63184
63184
|
for (var u = arguments.length, _ = D(u), x = u, v = rr(p); x--; )
|
63185
63185
|
_[x] = arguments[x];
|
63186
|
-
var
|
63187
|
-
if (u -=
|
63186
|
+
var q = u < 3 && _[0] !== v && _[u - 1] !== v ? [] : ys(_, v);
|
63187
|
+
if (u -= q.length, u < s)
|
63188
63188
|
return vl(
|
63189
63189
|
e,
|
63190
63190
|
t,
|
@@ -63192,12 +63192,12 @@ Za.exports;
|
|
63192
63192
|
p.placeholder,
|
63193
63193
|
r,
|
63194
63194
|
_,
|
63195
|
-
|
63195
|
+
q,
|
63196
63196
|
r,
|
63197
63197
|
r,
|
63198
63198
|
s - u
|
63199
63199
|
);
|
63200
|
-
var z = this && this !==
|
63200
|
+
var z = this && this !== Ge && this instanceof p ? i : e;
|
63201
63201
|
return ut(z, this, _);
|
63202
63202
|
}
|
63203
63203
|
return p;
|
@@ -63228,26 +63228,26 @@ Za.exports;
|
|
63228
63228
|
for (i = _ ? i : s; ++i < s; ) {
|
63229
63229
|
u = t[i];
|
63230
63230
|
var x = Sa(u), v = x == "wrapper" ? si(u) : r;
|
63231
|
-
v && ii(v[0]) && v[1] == (C | O |
|
63231
|
+
v && ii(v[0]) && v[1] == (C | O | A | j) && !v[4].length && v[9] == 1 ? _ = _[Sa(v[0])].apply(_, v[3]) : _ = u.length == 1 && ii(u) ? _[x]() : _.thru(u);
|
63232
63232
|
}
|
63233
63233
|
return function() {
|
63234
|
-
var
|
63235
|
-
if (_ &&
|
63234
|
+
var q = arguments, z = q[0];
|
63235
|
+
if (_ && q.length == 1 && re(z))
|
63236
63236
|
return _.plant(z).value();
|
63237
|
-
for (var E = 0, K = s ? t[E].apply(this,
|
63237
|
+
for (var E = 0, K = s ? t[E].apply(this, q) : z; ++E < s; )
|
63238
63238
|
K = t[E].call(this, K);
|
63239
63239
|
return K;
|
63240
63240
|
};
|
63241
63241
|
});
|
63242
63242
|
}
|
63243
|
-
function Ca(e, t, s, i, p, u, _, x, v,
|
63243
|
+
function Ca(e, t, s, i, p, u, _, x, v, q) {
|
63244
63244
|
var z = t & C, E = t & U, K = t & G, W = t & (O | F), Z = t & V, ie = K ? r : Sr(e);
|
63245
63245
|
function J() {
|
63246
63246
|
for (var pe = arguments.length, ue = D(pe), gt = pe; gt--; )
|
63247
63247
|
ue[gt] = arguments[gt];
|
63248
63248
|
if (W)
|
63249
63249
|
var tt = rr(J), bt = Ed(ue, tt);
|
63250
|
-
if (i && (ue = ul(ue, i, p, W)), u && (ue = yl(ue, u, _, W)), pe -= bt, W && pe <
|
63250
|
+
if (i && (ue = ul(ue, i, p, W)), u && (ue = yl(ue, u, _, W)), pe -= bt, W && pe < q) {
|
63251
63251
|
var Pe = ys(ue, tt);
|
63252
63252
|
return vl(
|
63253
63253
|
e,
|
@@ -63259,11 +63259,11 @@ Za.exports;
|
|
63259
63259
|
Pe,
|
63260
63260
|
x,
|
63261
63261
|
v,
|
63262
|
-
|
63262
|
+
q - pe
|
63263
63263
|
);
|
63264
63264
|
}
|
63265
63265
|
var Bt = E ? s : this, os = K ? Bt[e] : e;
|
63266
|
-
return pe = ue.length, x ? ue = Ru(ue, x) : Z && pe > 1 && ue.reverse(), z && v < pe && (ue.length = v), this && this !==
|
63266
|
+
return pe = ue.length, x ? ue = Ru(ue, x) : Z && pe > 1 && ue.reverse(), z && v < pe && (ue.length = v), this && this !== Ge && this instanceof J && (os = ie || Sr(os)), os.apply(Bt, ue);
|
63267
63267
|
}
|
63268
63268
|
return J;
|
63269
63269
|
}
|
@@ -63306,10 +63306,10 @@ Za.exports;
|
|
63306
63306
|
function hu(e, t, s, i) {
|
63307
63307
|
var p = t & U, u = Sr(e);
|
63308
63308
|
function _() {
|
63309
|
-
for (var x = -1, v = arguments.length,
|
63310
|
-
E[
|
63309
|
+
for (var x = -1, v = arguments.length, q = -1, z = i.length, E = D(z + v), K = this && this !== Ge && this instanceof _ ? u : e; ++q < z; )
|
63310
|
+
E[q] = i[q];
|
63311
63311
|
for (; v--; )
|
63312
|
-
E[
|
63312
|
+
E[q++] = arguments[++x];
|
63313
63313
|
return ut(K, p ? s : this, E);
|
63314
63314
|
}
|
63315
63315
|
return _;
|
@@ -63324,9 +63324,9 @@ Za.exports;
|
|
63324
63324
|
return typeof t == "string" && typeof s == "string" || (t = zt(t), s = zt(s)), e(t, s);
|
63325
63325
|
};
|
63326
63326
|
}
|
63327
|
-
function vl(e, t, s, i, p, u, _, x, v,
|
63327
|
+
function vl(e, t, s, i, p, u, _, x, v, q) {
|
63328
63328
|
var z = t & O, E = z ? _ : r, K = z ? r : _, W = z ? u : r, Z = z ? r : u;
|
63329
|
-
t |= z ?
|
63329
|
+
t |= z ? A : $, t &= ~(z ? $ : A), t & X || (t &= ~(U | G));
|
63330
63330
|
var ie = [
|
63331
63331
|
e,
|
63332
63332
|
t,
|
@@ -63337,7 +63337,7 @@ Za.exports;
|
|
63337
63337
|
K,
|
63338
63338
|
x,
|
63339
63339
|
v,
|
63340
|
-
|
63340
|
+
q
|
63341
63341
|
], J = s.apply(r, ie);
|
63342
63342
|
return ii(e) && Ll(J, ie), J.placeholder = i, Ml(J, e, t);
|
63343
63343
|
}
|
@@ -63364,8 +63364,8 @@ Za.exports;
|
|
63364
63364
|
var v = t & G;
|
63365
63365
|
if (!v && typeof e != "function")
|
63366
63366
|
throw new It(m);
|
63367
|
-
var
|
63368
|
-
if (
|
63367
|
+
var q = i ? i.length : 0;
|
63368
|
+
if (q || (t &= ~(A | $), i = p = r), _ = _ === r ? _ : Fe(ne(_), 0), x = x === r ? x : ne(x), q -= p ? p.length : 0, t & $) {
|
63369
63369
|
var z = i, E = p;
|
63370
63370
|
i = p = r;
|
63371
63371
|
}
|
@@ -63381,10 +63381,10 @@ Za.exports;
|
|
63381
63381
|
_,
|
63382
63382
|
x
|
63383
63383
|
];
|
63384
|
-
if (K && Pu(W, K), e = W[0], t = W[1], s = W[2], i = W[3], p = W[4], x = W[9] = W[9] === r ? v ? 0 : e.length : Fe(W[9] -
|
63384
|
+
if (K && Pu(W, K), e = W[0], t = W[1], s = W[2], i = W[3], p = W[4], x = W[9] = W[9] === r ? v ? 0 : e.length : Fe(W[9] - q, 0), !x && t & (O | F) && (t &= ~(O | F)), !t || t == U)
|
63385
63385
|
var Z = bu(e, t, s);
|
63386
63386
|
else
|
63387
|
-
t == O || t == F ? Z = xu(e, t, x) : (t ==
|
63387
|
+
t == O || t == F ? Z = xu(e, t, x) : (t == A || t == (U | A)) && !p.length ? Z = hu(e, t, s, i) : Z = Ca.apply(r, W);
|
63388
63388
|
var ie = K ? rl : Ll;
|
63389
63389
|
return Ml(ie(Z, W), e, t);
|
63390
63390
|
}
|
@@ -63401,10 +63401,10 @@ Za.exports;
|
|
63401
63401
|
var _ = s & P, x = e.length, v = t.length;
|
63402
63402
|
if (x != v && !(_ && v > x))
|
63403
63403
|
return !1;
|
63404
|
-
var
|
63405
|
-
if (
|
63406
|
-
return
|
63407
|
-
var E = -1, K = !0, W = s &
|
63404
|
+
var q = u.get(e), z = u.get(t);
|
63405
|
+
if (q && z)
|
63406
|
+
return q == t && z == e;
|
63407
|
+
var E = -1, K = !0, W = s & S ? new Cs() : r;
|
63408
63408
|
for (u.set(e, t), u.set(t, e); ++E < x; ) {
|
63409
63409
|
var Z = e[E], ie = t[E];
|
63410
63410
|
if (i)
|
@@ -63453,10 +63453,10 @@ Za.exports;
|
|
63453
63453
|
var v = i & P;
|
63454
63454
|
if (x || (x = oa), e.size != t.size && !v)
|
63455
63455
|
return !1;
|
63456
|
-
var
|
63457
|
-
if (
|
63458
|
-
return
|
63459
|
-
i |=
|
63456
|
+
var q = _.get(e);
|
63457
|
+
if (q)
|
63458
|
+
return q == t;
|
63459
|
+
i |= S, _.set(e, t);
|
63460
63460
|
var z = kl(x(e), x(t), i, p, u, _);
|
63461
63461
|
return _.delete(e), z;
|
63462
63462
|
case Us:
|
@@ -63466,7 +63466,7 @@ Za.exports;
|
|
63466
63466
|
return !1;
|
63467
63467
|
}
|
63468
63468
|
function Du(e, t, s, i, p, u) {
|
63469
|
-
var _ = s & P, x = ei(e), v = x.length,
|
63469
|
+
var _ = s & P, x = ei(e), v = x.length, q = ei(t), z = q.length;
|
63470
63470
|
if (v != z && !_)
|
63471
63471
|
return !1;
|
63472
63472
|
for (var E = v; E--; ) {
|
@@ -63759,7 +63759,7 @@ Za.exports;
|
|
63759
63759
|
return e[t];
|
63760
63760
|
}
|
63761
63761
|
var Ll = Pl(rl), Mr = em || function(e, t) {
|
63762
|
-
return
|
63762
|
+
return Ge.setTimeout(e, t);
|
63763
63763
|
}, li = Pl(lu);
|
63764
63764
|
function Ml(e, t, s) {
|
63765
63765
|
var i = t + "";
|
@@ -63844,16 +63844,16 @@ Za.exports;
|
|
63844
63844
|
return [];
|
63845
63845
|
for (var t = D(e - 1), s = arguments[0], i = e; i--; )
|
63846
63846
|
t[i - 1] = arguments[i];
|
63847
|
-
return us(re(s) ? at(s) : [s],
|
63847
|
+
return us(re(s) ? at(s) : [s], Xe(t, 1));
|
63848
63848
|
}
|
63849
63849
|
var ju = le(function(e, t) {
|
63850
|
-
return Me(e) ? Cr(e,
|
63850
|
+
return Me(e) ? Cr(e, Xe(t, 1, Me, !0)) : [];
|
63851
63851
|
}), Hu = le(function(e, t) {
|
63852
63852
|
var s = Ct(t);
|
63853
|
-
return Me(s) && (s = r), Me(e) ? Cr(e,
|
63853
|
+
return Me(s) && (s = r), Me(e) ? Cr(e, Xe(t, 1, Me, !0), Y(s, 2)) : [];
|
63854
63854
|
}), Wu = le(function(e, t) {
|
63855
63855
|
var s = Ct(t);
|
63856
|
-
return Me(s) && (s = r), Me(e) ? Cr(e,
|
63856
|
+
return Me(s) && (s = r), Me(e) ? Cr(e, Xe(t, 1, Me, !0), r, s) : [];
|
63857
63857
|
});
|
63858
63858
|
function Gu(e, t, s) {
|
63859
63859
|
var i = e == null ? 0 : e.length;
|
@@ -63889,15 +63889,15 @@ Za.exports;
|
|
63889
63889
|
}
|
63890
63890
|
function Kl(e) {
|
63891
63891
|
var t = e == null ? 0 : e.length;
|
63892
|
-
return t ?
|
63892
|
+
return t ? Xe(e, 1) : [];
|
63893
63893
|
}
|
63894
63894
|
function Zu(e) {
|
63895
63895
|
var t = e == null ? 0 : e.length;
|
63896
|
-
return t ?
|
63896
|
+
return t ? Xe(e, Ne) : [];
|
63897
63897
|
}
|
63898
63898
|
function Ju(e, t) {
|
63899
63899
|
var s = e == null ? 0 : e.length;
|
63900
|
-
return s ? (t = t === r ? 1 : ne(t),
|
63900
|
+
return s ? (t = t === r ? 1 : ne(t), Xe(e, t)) : [];
|
63901
63901
|
}
|
63902
63902
|
function ey(e) {
|
63903
63903
|
for (var t = -1, s = e == null ? 0 : e.length, i = {}; ++t < s; ) {
|
@@ -64035,13 +64035,13 @@ Za.exports;
|
|
64035
64035
|
return e && e.length ? Aa(e, Y(t, 3)) : [];
|
64036
64036
|
}
|
64037
64037
|
var qy = le(function(e) {
|
64038
|
-
return gs(
|
64038
|
+
return gs(Xe(e, 1, Me, !0));
|
64039
64039
|
}), Cy = le(function(e) {
|
64040
64040
|
var t = Ct(e);
|
64041
|
-
return Me(t) && (t = r), gs(
|
64041
|
+
return Me(t) && (t = r), gs(Xe(e, 1, Me, !0), Y(t, 2));
|
64042
64042
|
}), zy = le(function(e) {
|
64043
64043
|
var t = Ct(e);
|
64044
|
-
return t = typeof t == "function" ? t : r, gs(
|
64044
|
+
return t = typeof t == "function" ? t : r, gs(Xe(e, 1, Me, !0), r, t);
|
64045
64045
|
});
|
64046
64046
|
function Ey(e) {
|
64047
64047
|
return e && e.length ? gs(e) : [];
|
@@ -64165,13 +64165,13 @@ Za.exports;
|
|
64165
64165
|
}
|
64166
64166
|
var e_ = bl(Rl), t_ = bl(Bl);
|
64167
64167
|
function s_(e, t) {
|
64168
|
-
return
|
64168
|
+
return Xe(Oa(e, t), 1);
|
64169
64169
|
}
|
64170
64170
|
function r_(e, t) {
|
64171
|
-
return
|
64171
|
+
return Xe(Oa(e, t), Ne);
|
64172
64172
|
}
|
64173
64173
|
function a_(e, t, s) {
|
64174
|
-
return s = s === r ? 1 : ne(s),
|
64174
|
+
return s = s === r ? 1 : ne(s), Xe(Oa(e, t), s);
|
64175
64175
|
}
|
64176
64176
|
function Wl(e, t) {
|
64177
64177
|
var s = re(e) ? Dt : fs;
|
@@ -64250,9 +64250,9 @@ Za.exports;
|
|
64250
64250
|
if (e == null)
|
64251
64251
|
return [];
|
64252
64252
|
var s = t.length;
|
64253
|
-
return s > 1 && et(e, t[0], t[1]) ? t = [] : s > 2 && et(t[0], t[1], t[2]) && (t = [t[0]]), el(e,
|
64253
|
+
return s > 1 && et(e, t[0], t[1]) ? t = [] : s > 2 && et(t[0], t[1], t[2]) && (t = [t[0]]), el(e, Xe(t, 1), []);
|
64254
64254
|
}), Fa = Jd || function() {
|
64255
|
-
return
|
64255
|
+
return Ge.Date.now();
|
64256
64256
|
};
|
64257
64257
|
function h_(e, t) {
|
64258
64258
|
if (typeof t != "function")
|
@@ -64277,14 +64277,14 @@ Za.exports;
|
|
64277
64277
|
var i = U;
|
64278
64278
|
if (s.length) {
|
64279
64279
|
var p = ys(s, rr(di));
|
64280
|
-
i |=
|
64280
|
+
i |= A;
|
64281
64281
|
}
|
64282
64282
|
return ss(e, i, t, s, p);
|
64283
64283
|
}), Vl = le(function(e, t, s) {
|
64284
64284
|
var i = U | G;
|
64285
64285
|
if (s.length) {
|
64286
64286
|
var p = ys(s, rr(Vl));
|
64287
|
-
i |=
|
64287
|
+
i |= A;
|
64288
64288
|
}
|
64289
64289
|
return ss(t, i, e, s, p);
|
64290
64290
|
});
|
@@ -64299,23 +64299,23 @@ Za.exports;
|
|
64299
64299
|
return i.placeholder = Zl.placeholder, i;
|
64300
64300
|
}
|
64301
64301
|
function Jl(e, t, s) {
|
64302
|
-
var i, p, u, _, x, v,
|
64302
|
+
var i, p, u, _, x, v, q = 0, z = !1, E = !1, K = !0;
|
64303
64303
|
if (typeof e != "function")
|
64304
64304
|
throw new It(m);
|
64305
64305
|
t = zt(t) || 0, Ae(s) && (z = !!s.leading, E = "maxWait" in s, u = E ? Fe(zt(s.maxWait) || 0, t) : u, K = "trailing" in s ? !!s.trailing : K);
|
64306
64306
|
function W(Pe) {
|
64307
64307
|
var Bt = i, os = p;
|
64308
|
-
return i = p = r,
|
64308
|
+
return i = p = r, q = Pe, _ = e.apply(os, Bt), _;
|
64309
64309
|
}
|
64310
64310
|
function Z(Pe) {
|
64311
|
-
return
|
64311
|
+
return q = Pe, x = Mr(pe, t), z ? W(Pe) : _;
|
64312
64312
|
}
|
64313
64313
|
function ie(Pe) {
|
64314
|
-
var Bt = Pe - v, os = Pe -
|
64314
|
+
var Bt = Pe - v, os = Pe - q, bc = t - Bt;
|
64315
64315
|
return E ? Ye(bc, u - os) : bc;
|
64316
64316
|
}
|
64317
64317
|
function J(Pe) {
|
64318
|
-
var Bt = Pe - v, os = Pe -
|
64318
|
+
var Bt = Pe - v, os = Pe - q;
|
64319
64319
|
return v === r || Bt >= t || Bt < 0 || E && os >= u;
|
64320
64320
|
}
|
64321
64321
|
function pe() {
|
@@ -64328,7 +64328,7 @@ Za.exports;
|
|
64328
64328
|
return x = r, K && i ? W(Pe) : (i = p = r, _);
|
64329
64329
|
}
|
64330
64330
|
function gt() {
|
64331
|
-
x !== r && cl(x),
|
64331
|
+
x !== r && cl(x), q = 0, i = v = p = x = r;
|
64332
64332
|
}
|
64333
64333
|
function tt() {
|
64334
64334
|
return x === r ? _ : ue(Fa());
|
@@ -64388,7 +64388,7 @@ Za.exports;
|
|
64388
64388
|
return Yl(2, e);
|
64389
64389
|
}
|
64390
64390
|
var I_ = du(function(e, t) {
|
64391
|
-
t = t.length == 1 && re(t[0]) ? Ie(t[0], yt(Y())) : Ie(
|
64391
|
+
t = t.length == 1 && re(t[0]) ? Ie(t[0], yt(Y())) : Ie(Xe(t, 1), yt(Y()));
|
64392
64392
|
var s = t.length;
|
64393
64393
|
return le(function(i) {
|
64394
64394
|
for (var p = -1, u = Ye(i.length, s); ++p < u; )
|
@@ -64397,7 +64397,7 @@ Za.exports;
|
|
64397
64397
|
});
|
64398
64398
|
}), mi = le(function(e, t) {
|
64399
64399
|
var s = ys(t, rr(mi));
|
64400
|
-
return ss(e,
|
64400
|
+
return ss(e, A, r, t, s);
|
64401
64401
|
}), ec = le(function(e, t) {
|
64402
64402
|
var s = ys(t, rr(ec));
|
64403
64403
|
return ss(e, $, r, t, s);
|
@@ -64513,7 +64513,7 @@ Za.exports;
|
|
64513
64513
|
if (!Ae(e))
|
64514
64514
|
return !1;
|
64515
64515
|
var t = Je(e);
|
64516
|
-
return t == Ts || t == Xr || t ==
|
64516
|
+
return t == Ts || t == Xr || t == He || t == Ks;
|
64517
64517
|
}
|
64518
64518
|
function tc(e) {
|
64519
64519
|
return typeof e == "number" && e == ne(e);
|
@@ -64658,8 +64658,8 @@ Za.exports;
|
|
64658
64658
|
var s = -1, i = t.length, p = i > 2 ? t[2] : r;
|
64659
64659
|
for (p && et(t[0], t[1], p) && (i = 1); ++s < i; )
|
64660
64660
|
for (var u = t[s], _ = it(u), x = -1, v = _.length; ++x < v; ) {
|
64661
|
-
var
|
64662
|
-
(z === r || Rt(z, Qs[
|
64661
|
+
var q = _[x], z = e[q];
|
64662
|
+
(z === r || Rt(z, Qs[q]) && !we.call(e, q)) && (e[q] = u[q]);
|
64663
64663
|
}
|
64664
64664
|
return e;
|
64665
64665
|
}), uf = le(function(e) {
|
@@ -64733,7 +64733,7 @@ Za.exports;
|
|
64733
64733
|
var i = !1;
|
64734
64734
|
t = Ie(t, function(u) {
|
64735
64735
|
return u = bs(u, e), i || (i = u.length > 1), u;
|
64736
|
-
}), Wt(e, ti(e), s), i && (s = At(s, T |
|
64736
|
+
}), Wt(e, ti(e), s), i && (s = At(s, T | N | R, vu));
|
64737
64737
|
for (var p = t.length; p--; )
|
64738
64738
|
Gn(s, t[p]);
|
64739
64739
|
return s;
|
@@ -64882,19 +64882,19 @@ Za.exports;
|
|
64882
64882
|
function ig(e, t, s) {
|
64883
64883
|
var i = d.templateSettings;
|
64884
64884
|
s && et(e, t, s) && (t = r), e = he(e), t = $a({}, t, i, Dl);
|
64885
|
-
var p = $a({}, t.imports, i.imports, Dl), u = Ke(p), _ = qn(p, u), x, v,
|
64885
|
+
var p = $a({}, t.imports, i.imports, Dl), u = Ke(p), _ = qn(p, u), x, v, q = 0, z = t.interpolate || Pt, E = "__p += '", K = zn(
|
64886
64886
|
(t.escape || Pt).source + "|" + z.source + "|" + (z === Jr ? ye : Pt).source + "|" + (t.evaluate || Pt).source + "|$",
|
64887
64887
|
"g"
|
64888
64888
|
), W = "//# sourceURL=" + (we.call(t, "sourceURL") ? (t.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++yd + "]") + `
|
64889
64889
|
`;
|
64890
64890
|
e.replace(K, function(J, pe, ue, gt, tt, bt) {
|
64891
|
-
return ue || (ue = gt), E += e.slice(
|
64891
|
+
return ue || (ue = gt), E += e.slice(q, bt).replace(ra, Ld), pe && (x = !0, E += `' +
|
64892
64892
|
__e(` + pe + `) +
|
64893
64893
|
'`), tt && (v = !0, E += `';
|
64894
64894
|
` + tt + `;
|
64895
64895
|
__p += '`), ue && (E += `' +
|
64896
64896
|
((__t = (` + ue + `)) == null ? '' : __t) +
|
64897
|
-
'`),
|
64897
|
+
'`), q = bt + J.length, J;
|
64898
64898
|
}), E += `';
|
64899
64899
|
`;
|
64900
64900
|
var Z = we.call(t, "variable") && t.variable;
|
@@ -64971,9 +64971,9 @@ function print() { __p += __j.call(arguments, '') }
|
|
64971
64971
|
return v + i;
|
64972
64972
|
if (_ && (x += v.length - x), yi(p)) {
|
64973
64973
|
if (e.slice(x).search(p)) {
|
64974
|
-
var
|
64975
|
-
for (p.global || (p = zn(p.source, he(xe.exec(p)) + "g")), p.lastIndex = 0;
|
64976
|
-
var E =
|
64974
|
+
var q, z = v;
|
64975
|
+
for (p.global || (p = zn(p.source, he(xe.exec(p)) + "g")), p.lastIndex = 0; q = p.exec(z); )
|
64976
|
+
var E = q.index;
|
64977
64977
|
v = v.slice(0, E === r ? x : E);
|
64978
64978
|
}
|
64979
64979
|
} else if (e.indexOf(_t(p), x) != x) {
|
@@ -65056,17 +65056,17 @@ function print() { __p += __j.call(arguments, '') }
|
|
65056
65056
|
return Dt(p, function(x) {
|
65057
65057
|
var v = t[x];
|
65058
65058
|
e[x] = v, _ && (e.prototype[x] = function() {
|
65059
|
-
var
|
65060
|
-
if (u ||
|
65059
|
+
var q = this.__chain__;
|
65060
|
+
if (u || q) {
|
65061
65061
|
var z = e(this.__wrapped__), E = z.__actions__ = at(this.__actions__);
|
65062
|
-
return E.push({ func: v, args: arguments, thisArg: e }), z.__chain__ =
|
65062
|
+
return E.push({ func: v, args: arguments, thisArg: e }), z.__chain__ = q, z;
|
65063
65063
|
}
|
65064
65064
|
return v.apply(e, us([this.value()], arguments));
|
65065
65065
|
});
|
65066
65066
|
}), e;
|
65067
65067
|
}
|
65068
65068
|
function Ig() {
|
65069
|
-
return
|
65069
|
+
return Ge._ === this && (Ge._ = Vd), this;
|
65070
65070
|
}
|
65071
65071
|
function wi() {
|
65072
65072
|
}
|
@@ -65210,11 +65210,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
65210
65210
|
}, Ht(me.prototype, function(e, t) {
|
65211
65211
|
var s = /^(?:filter|find|map|reject)|While$/.test(t), i = /^(?:head|last)$/.test(t), p = d[i ? "take" + (t == "last" ? "Right" : "") : t], u = i || /^find/.test(t);
|
65212
65212
|
p && (d.prototype[t] = function() {
|
65213
|
-
var _ = this.__wrapped__, x = i ? [1] : arguments, v = _ instanceof me,
|
65213
|
+
var _ = this.__wrapped__, x = i ? [1] : arguments, v = _ instanceof me, q = x[0], z = v || re(_), E = function(pe) {
|
65214
65214
|
var ue = p.apply(d, us([pe], x));
|
65215
65215
|
return i && K ? ue[0] : ue;
|
65216
65216
|
};
|
65217
|
-
z && s && typeof
|
65217
|
+
z && s && typeof q == "function" && q.length != 1 && (v = z = !1);
|
65218
65218
|
var K = this.__chain__, W = !!this.__actions__.length, Z = u && !K, ie = v && !W;
|
65219
65219
|
if (!u && z) {
|
65220
65220
|
_ = ie ? _ : new me(this);
|
@@ -65246,7 +65246,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
65246
65246
|
func: r
|
65247
65247
|
}], me.prototype.clone = mm, me.prototype.reverse = um, me.prototype.value = ym, d.prototype.at = $y, d.prototype.chain = jy, d.prototype.commit = Hy, d.prototype.next = Wy, d.prototype.plant = Xy, d.prototype.reverse = Yy, d.prototype.toJSON = d.prototype.valueOf = d.prototype.value = Vy, d.prototype.first = d.prototype.head, Tr && (d.prototype[Tr] = Gy), d;
|
65248
65248
|
}, Vs = Hd();
|
65249
|
-
ks ? ((ks.exports = Vs)._ = Vs, xn._ = Vs) :
|
65249
|
+
ks ? ((ks.exports = Vs)._ = Vs, xn._ = Vs) : Ge._ = Vs;
|
65250
65250
|
}).call(Or);
|
65251
65251
|
})(Za, Za.exports);
|
65252
65252
|
var zc = Za.exports;
|
@@ -66560,13 +66560,13 @@ function Nx(a, n, r) {
|
|
66560
66560
|
endColumn: f.endColumn
|
66561
66561
|
}, T = a.getValueInRange({ ...h, startColumn: f.endColumn, endColumn: f.endColumn + 1 });
|
66562
66562
|
Ut.nextIsBracket = T === "(";
|
66563
|
-
let
|
66564
|
-
if (l[0] === "." && (
|
66563
|
+
let N = pp(Ut.getSuggestions(y) || [], h);
|
66564
|
+
if (l[0] === "." && (N = []), b && !y && !/=\s*\w+$/.test(c)) {
|
66565
66565
|
const P = pp(Ut.getArgSuggestions(b.funcName) || [], h);
|
66566
|
-
|
66566
|
+
N = N.concat(P);
|
66567
66567
|
}
|
66568
66568
|
return {
|
66569
|
-
suggestions:
|
66569
|
+
suggestions: N || [],
|
66570
66570
|
dispose: () => {
|
66571
66571
|
}
|
66572
66572
|
};
|
@@ -66604,20 +66604,20 @@ function Lx(a, n) {
|
|
66604
66604
|
};
|
66605
66605
|
}
|
66606
66606
|
function Mx(a, n) {
|
66607
|
-
var T,
|
66607
|
+
var T, N;
|
66608
66608
|
const r = {
|
66609
66609
|
startLineNumber: n.lineNumber,
|
66610
66610
|
endLineNumber: n.lineNumber,
|
66611
66611
|
startColumn: 1,
|
66612
66612
|
endColumn: n.column
|
66613
|
-
}, o = a.getValueInRange(r), c = a.findMatches(String(Ix), r, !0, !1, null, !0), l = a.findMatches(String(kx), r, !0, !1, null, !0), m = (T = c.pop()) == null ? void 0 : T.matches, y = (
|
66613
|
+
}, o = a.getValueInRange(r), c = a.findMatches(String(Ix), r, !0, !1, null, !0), l = a.findMatches(String(kx), r, !0, !1, null, !0), m = (T = c.pop()) == null ? void 0 : T.matches, y = (N = l.pop()) == null ? void 0 : N.matches;
|
66614
66614
|
let f = !1;
|
66615
66615
|
c.length % 2 === 0 ? m && m[0] === '"' && (f = !0) : m && !m[0] && (f = !0);
|
66616
66616
|
let b = !1;
|
66617
66617
|
l.length % 2 === 0 ? y && y[0] === "'" && (b = !0) : y && !y[0] && (b = !0);
|
66618
66618
|
const h = Os.parseCurrentInputFuncAndArg(o, b, f);
|
66619
66619
|
if (h) {
|
66620
|
-
const { funcName: R, args: P, startIndex:
|
66620
|
+
const { funcName: R, args: P, startIndex: S } = h, U = qx.getSignatureHelpValues(R, P, S + 1, n.lineNumber);
|
66621
66621
|
if (U)
|
66622
66622
|
return {
|
66623
66623
|
value: U,
|
@@ -66772,11 +66772,11 @@ vs.prototype = {
|
|
66772
66772
|
n = this.castInput(n), r = this.castInput(r), n = this.removeEmpty(this.tokenize(n)), r = this.removeEmpty(this.tokenize(r));
|
66773
66773
|
var f = r.length, b = n.length, h = 1, T = f + b;
|
66774
66774
|
c.maxEditLength && (T = Math.min(T, c.maxEditLength));
|
66775
|
-
var
|
66775
|
+
var N = (o = c.timeout) !== null && o !== void 0 ? o : 1 / 0, R = Date.now() + N, P = [{
|
66776
66776
|
oldPos: -1,
|
66777
66777
|
lastComponent: void 0
|
66778
|
-
}],
|
66779
|
-
if (P[0].oldPos + 1 >= b &&
|
66778
|
+
}], S = this.extractCommon(P[0], r, n, 0);
|
66779
|
+
if (P[0].oldPos + 1 >= b && S + 1 >= f)
|
66780
66780
|
return y([{
|
66781
66781
|
value: this.join(r),
|
66782
66782
|
count: r.length
|
@@ -66784,7 +66784,7 @@ vs.prototype = {
|
|
66784
66784
|
var U = -1 / 0, G = 1 / 0;
|
66785
66785
|
function X() {
|
66786
66786
|
for (var F = Math.max(U, -h); F <= Math.min(G, h); F += 2) {
|
66787
|
-
var
|
66787
|
+
var A = void 0, $ = P[F - 1], C = P[F + 1];
|
66788
66788
|
$ && (P[F - 1] = void 0);
|
66789
66789
|
var j = !1;
|
66790
66790
|
if (C) {
|
@@ -66796,9 +66796,9 @@ vs.prototype = {
|
|
66796
66796
|
P[F] = void 0;
|
66797
66797
|
continue;
|
66798
66798
|
}
|
66799
|
-
if (!ae || j && $.oldPos + 1 < C.oldPos ?
|
66800
|
-
return y(jx(m,
|
66801
|
-
P[F] =
|
66799
|
+
if (!ae || j && $.oldPos + 1 < C.oldPos ? A = m.addToPath(C, !0, void 0, 0) : A = m.addToPath($, void 0, !0, 1), S = m.extractCommon(A, r, n, F), A.oldPos + 1 >= b && S + 1 >= f)
|
66800
|
+
return y(jx(m, A.lastComponent, r, n, m.useLongestToken));
|
66801
|
+
P[F] = A, A.oldPos + 1 >= b && (G = Math.min(G, F - 1)), S + 1 >= f && (U = Math.max(U, F + 1));
|
66802
66802
|
}
|
66803
66803
|
h++;
|
66804
66804
|
}
|
@@ -66876,11 +66876,11 @@ function jx(a, n, r, o, c) {
|
|
66876
66876
|
}
|
66877
66877
|
} else {
|
66878
66878
|
if (!T.added && c) {
|
66879
|
-
var
|
66880
|
-
|
66879
|
+
var N = r.slice(b, b + T.count);
|
66880
|
+
N = N.map(function(S, U) {
|
66881
66881
|
var G = o[h + U];
|
66882
|
-
return G.length >
|
66883
|
-
}), T.value = a.join(
|
66882
|
+
return G.length > S.length ? G : S;
|
66883
|
+
}), T.value = a.join(N);
|
66884
66884
|
} else
|
66885
66885
|
T.value = a.join(r.slice(b, b + T.count));
|
66886
66886
|
b += T.count, T.added || (h += T.count);
|
@@ -67069,11 +67069,11 @@ class Yx {
|
|
67069
67069
|
var m, y, f, b, h, T;
|
67070
67070
|
const r = (m = n.target.element) == null ? void 0 : m.classList, o = r == null ? void 0 : r.contains(`line-${Qe.added}`), c = r == null ? void 0 : r.contains(`line-${Qe.modified}`), l = r == null ? void 0 : r.contains(`line-${Qe.removed}`);
|
67071
67071
|
if (o || c || l) {
|
67072
|
-
const
|
67073
|
-
(T = this._diffPopupWidget) == null || T.show(R - P, R,
|
67072
|
+
const N = ((f = (y = n == null ? void 0 : n.target) == null ? void 0 : y.position) == null ? void 0 : f.lineNumber) || 0, R = ((b = this._editor) == null ? void 0 : b.getTopForLineNumber(N + 1)) || 0, P = ((h = this._editor) == null ? void 0 : h.getScrollTop()) || 0, S = o ? Qe.added : c ? Qe.modified : Qe.removed;
|
67073
|
+
(T = this._diffPopupWidget) == null || T.show(R - P, R, S), this._diffEditor || (this._diffEditor = this._createDiffEditor()), this._diffEditor.setModel({
|
67074
67074
|
original: this._originalModel,
|
67075
67075
|
modified: this._editor.getModel()
|
67076
|
-
}), this._diffEditor.revealLineInCenter(
|
67076
|
+
}), this._diffEditor.revealLineInCenter(N + 1);
|
67077
67077
|
}
|
67078
67078
|
}
|
67079
67079
|
_createDiffEditor() {
|
@@ -67215,11 +67215,11 @@ class Vx {
|
|
67215
67215
|
this._registerList.push(c);
|
67216
67216
|
const l = this._monaco.editor.registerEditorOpener({
|
67217
67217
|
openCodeEditor: (b, h, T) => {
|
67218
|
-
const
|
67219
|
-
if (
|
67220
|
-
const { index: R, docValue: P } =
|
67218
|
+
const N = Fx(b, T);
|
67219
|
+
if (N) {
|
67220
|
+
const { index: R, docValue: P } = N, { title: S, name: U } = P[R];
|
67221
67221
|
let G = "";
|
67222
|
-
switch (
|
67222
|
+
switch (S) {
|
67223
67223
|
case fe.keywords:
|
67224
67224
|
G = "kw";
|
67225
67225
|
break;
|
@@ -67407,7 +67407,7 @@ function Mp(a, n = globalThis, r = ["*"]) {
|
|
67407
67407
|
const { id: l, type: m, path: y } = Object.assign({ path: [] }, c.data), f = (c.data.argumentList || []).map(Ps);
|
67408
67408
|
let b;
|
67409
67409
|
try {
|
67410
|
-
const h = y.slice(0, -1).reduce((
|
67410
|
+
const h = y.slice(0, -1).reduce((N, R) => N[R], a), T = y.reduce((N, R) => N[R], a);
|
67411
67411
|
switch (m) {
|
67412
67412
|
case "GET":
|
67413
67413
|
b = T;
|
@@ -67420,14 +67420,14 @@ function Mp(a, n = globalThis, r = ["*"]) {
|
|
67420
67420
|
break;
|
67421
67421
|
case "CONSTRUCT":
|
67422
67422
|
{
|
67423
|
-
const
|
67424
|
-
b = Hi(
|
67423
|
+
const N = new T(...f);
|
67424
|
+
b = Hi(N);
|
67425
67425
|
}
|
67426
67426
|
break;
|
67427
67427
|
case "ENDPOINT":
|
67428
67428
|
{
|
67429
|
-
const { port1:
|
67430
|
-
Mp(a, R), b = ih(
|
67429
|
+
const { port1: N, port2: R } = new MessageChannel();
|
67430
|
+
Mp(a, R), b = ih(N, [N]);
|
67431
67431
|
}
|
67432
67432
|
break;
|
67433
67433
|
case "RELEASE":
|
@@ -67440,14 +67440,14 @@ function Mp(a, n = globalThis, r = ["*"]) {
|
|
67440
67440
|
b = { value: h, [Va]: 0 };
|
67441
67441
|
}
|
67442
67442
|
Promise.resolve(b).catch((h) => ({ value: h, [Va]: 0 })).then((h) => {
|
67443
|
-
const [T,
|
67444
|
-
n.postMessage(Object.assign(Object.assign({}, T), { id: l }),
|
67443
|
+
const [T, N] = sn(h);
|
67444
|
+
n.postMessage(Object.assign(Object.assign({}, T), { id: l }), N), m === "RELEASE" && (n.removeEventListener("message", o), Pp(n), qi in a && typeof a[qi] == "function" && a[qi]());
|
67445
67445
|
}).catch((h) => {
|
67446
|
-
const [T,
|
67446
|
+
const [T, N] = sn({
|
67447
67447
|
value: new TypeError("Unserializable return value"),
|
67448
67448
|
[Va]: 0
|
67449
67449
|
});
|
67450
|
-
n.postMessage(Object.assign(Object.assign({}, T), { id: l }),
|
67450
|
+
n.postMessage(Object.assign(Object.assign({}, T), { id: l }), N);
|
67451
67451
|
});
|
67452
67452
|
}), n.start && n.start();
|
67453
67453
|
}
|
@@ -67593,14 +67593,14 @@ function ir(a, n, r) {
|
|
67593
67593
|
function oh() {
|
67594
67594
|
return new Array(4).fill(0).map(() => Math.floor(Math.random() * Number.MAX_SAFE_INTEGER).toString(16)).join("-");
|
67595
67595
|
}
|
67596
|
-
const Rp = new Worker(new URL("" + new URL("assets/scriptsRunWorker-
|
67596
|
+
const Rp = new Worker(new URL("" + new URL("assets/scriptsRunWorker-CwAth1v4.js", import.meta.url).href, import.meta.url), { type: "module", name: "Run TccScript Server" });
|
67597
67597
|
Rp.onerror = (a) => {
|
67598
67598
|
console.error(a);
|
67599
67599
|
};
|
67600
67600
|
async function Bp(a) {
|
67601
67601
|
return await Ja.setInlayHints(a);
|
67602
67602
|
}
|
67603
|
-
const Kp = ji(Rp), Up = ji(new Worker(new URL("" + new URL("assets/parserTccWorker-
|
67603
|
+
const Kp = ji(Rp), Up = ji(new Worker(new URL("" + new URL("assets/parserTccWorker-BGGjQBvd.js", import.meta.url).href, import.meta.url), { type: "module", name: "Parser TccScript Server" }));
|
67604
67604
|
async function lh(a, n = !1) {
|
67605
67605
|
const { functions: r, types: o, constants: c, variables: l, methods: m } = ht;
|
67606
67606
|
return await Up.parseTcc(a, n, Hi(Bp), { functions: Object.fromEntries(r), methods: Object.fromEntries(m), types: Object.fromEntries(o), constants: Object.fromEntries(c), variables: Object.fromEntries(l) });
|
@@ -67638,53 +67638,53 @@ Ri.config({
|
|
67638
67638
|
});
|
67639
67639
|
let yp = {};
|
67640
67640
|
const dh = (a, n) => {
|
67641
|
-
const { height: r, width: o, theme: c, options: l, hasDiff: m, readOnly: y, defaultValue: f, onChange: b, onLinkOpen: h, onDeclareConfigChange: T, onCursorPositionChange:
|
67641
|
+
const { height: r, width: o, theme: c, options: l, hasDiff: m, readOnly: y, defaultValue: f, onChange: b, onLinkOpen: h, onDeclareConfigChange: T, onCursorPositionChange: N, onActionTrigger: R, onEditorDidMount: P } = a, S = qe(null), U = qe(null), G = qe(!1);
|
67642
67642
|
wp(n, () => ({
|
67643
67643
|
setOriginalScript(C) {
|
67644
67644
|
var j;
|
67645
|
-
(j =
|
67645
|
+
(j = S.current) == null || j.setOriginalScript(C);
|
67646
67646
|
},
|
67647
67647
|
setScript(C) {
|
67648
67648
|
var j;
|
67649
|
-
(j =
|
67649
|
+
(j = S.current) == null || j.setValue(C);
|
67650
67650
|
},
|
67651
67651
|
gotoLine() {
|
67652
67652
|
var C;
|
67653
|
-
(C =
|
67653
|
+
(C = S.current) == null || C.gotoLine();
|
67654
67654
|
},
|
67655
67655
|
getEditorLayout() {
|
67656
67656
|
var C;
|
67657
|
-
return (C =
|
67657
|
+
return (C = S.current) == null ? void 0 : C.getEditorLayout();
|
67658
67658
|
},
|
67659
67659
|
setPosition(C, j) {
|
67660
67660
|
var V;
|
67661
|
-
(V =
|
67661
|
+
(V = S.current) == null || V.setPosition({ column: C, lineNumber: j });
|
67662
67662
|
},
|
67663
67663
|
setModelMarkers(C) {
|
67664
67664
|
var j;
|
67665
|
-
(j =
|
67665
|
+
(j = S.current) == null || j.setModelMarkers(C);
|
67666
67666
|
},
|
67667
67667
|
focus() {
|
67668
67668
|
var C;
|
67669
|
-
(C =
|
67669
|
+
(C = S.current) == null || C.focus();
|
67670
67670
|
}
|
67671
|
-
})),
|
67671
|
+
})), $e(() => {
|
67672
67672
|
var C, j;
|
67673
|
-
m ? (j =
|
67674
|
-
}, [m]),
|
67673
|
+
m ? (j = S.current) == null || j.addDiffDecorations() : (C = S.current) == null || C.removeDiffDecorations();
|
67674
|
+
}, [m]), $e(() => {
|
67675
67675
|
c && pr.setTheme(c);
|
67676
|
-
}, [c]),
|
67676
|
+
}, [c]), $e(() => {
|
67677
67677
|
var C;
|
67678
|
-
(C =
|
67679
|
-
}, [R]),
|
67678
|
+
(C = S.current) == null || C.updateActionTrigger(R);
|
67679
|
+
}, [R]), $e(() => {
|
67680
67680
|
var C;
|
67681
|
-
h && ((C =
|
67681
|
+
h && ((C = S.current) == null || C.addLinkOpenFunc(h));
|
67682
67682
|
}, [h]);
|
67683
67683
|
function X(C, j) {
|
67684
67684
|
var ae, Ze;
|
67685
|
-
Ut.initBuiltinsTrees(), Ja.setEditor(C),
|
67685
|
+
Ut.initBuiltinsTrees(), Ja.setEditor(C), S.current = new Vx(C, j, R), h && ((ae = S.current) == null || ae.addLinkOpenFunc(h)), m && ((Ze = S.current) == null || Ze.addDiffDecorations()), vx(C), requestAnimationFrame($);
|
67686
67686
|
const V = C.getValue();
|
67687
|
-
|
67687
|
+
S.current.onChangeCursorPosition(N), b && b(V), !y && O(V), P && P();
|
67688
67688
|
}
|
67689
67689
|
const O = cr(async (C) => {
|
67690
67690
|
var Lt;
|
@@ -67699,52 +67699,52 @@ const dh = (a, n) => {
|
|
67699
67699
|
imports: be,
|
67700
67700
|
enums: Le
|
67701
67701
|
}, Be), Ut.setUserDefind(Se, wt, te, pt, Le);
|
67702
|
-
const St = V.map((
|
67703
|
-
...
|
67704
|
-
severity:
|
67702
|
+
const St = V.map((He) => ({
|
67703
|
+
...He,
|
67704
|
+
severity: He.type || xc.Error
|
67705
67705
|
}));
|
67706
67706
|
if (y)
|
67707
67707
|
return;
|
67708
67708
|
try {
|
67709
|
-
if (!V.some((
|
67710
|
-
const
|
67709
|
+
if (!V.some((He) => He.type === xc.Error) && _e) {
|
67710
|
+
const He = await ch(_e, {
|
67711
67711
|
isPreParser: !0
|
67712
67712
|
});
|
67713
|
-
zc.isEqual(
|
67713
|
+
zc.isEqual(He, yp) || (yp = He, T && T(He));
|
67714
67714
|
}
|
67715
|
-
} catch (
|
67716
|
-
console.log(
|
67717
|
-
message:
|
67715
|
+
} catch (He) {
|
67716
|
+
console.log(He), V.push({
|
67717
|
+
message: He.message,
|
67718
67718
|
startLineNumber: 0,
|
67719
67719
|
endLineNumber: 0,
|
67720
67720
|
startColumn: 0,
|
67721
67721
|
endColumn: 0
|
67722
67722
|
});
|
67723
67723
|
}
|
67724
|
-
!G.current && ((Lt =
|
67725
|
-
const
|
67726
|
-
console.log((
|
67724
|
+
!G.current && ((Lt = S.current) == null || Lt.setModelMarkers(St));
|
67725
|
+
const je = Date.now();
|
67726
|
+
console.log((je - j) / 1e3);
|
67727
67727
|
}, [T, y]), F = eb(() => zc.debounce(O, 1500), [O]);
|
67728
|
-
function
|
67728
|
+
function A(C) {
|
67729
67729
|
var j;
|
67730
67730
|
if (y) {
|
67731
67731
|
O(C || "");
|
67732
67732
|
return;
|
67733
67733
|
}
|
67734
|
-
G.current = !0, Ja.clearInlayHints(), (j =
|
67734
|
+
G.current = !0, Ja.clearInlayHints(), (j = S.current) == null || j.setModelMarkers([]), C !== void 0 && (b && b(C), F(C));
|
67735
67735
|
}
|
67736
67736
|
const $ = cr(() => {
|
67737
67737
|
var j, V;
|
67738
67738
|
const C = (j = U.current) == null ? void 0 : j.getBoundingClientRect();
|
67739
|
-
(V =
|
67739
|
+
(V = S.current) == null || V.setEditorLayout((C == null ? void 0 : C.height) || 0, C == null ? void 0 : C.width);
|
67740
67740
|
}, []);
|
67741
|
-
return
|
67741
|
+
return $e(() => {
|
67742
67742
|
const C = () => {
|
67743
67743
|
window.requestAnimationFrame($);
|
67744
67744
|
}, j = new ResizeObserver(C);
|
67745
67745
|
return U.current && j.observe(U.current), () => {
|
67746
67746
|
var V;
|
67747
|
-
U.current && j.unobserve(U.current), j.disconnect(), (V =
|
67747
|
+
U.current && j.unobserve(U.current), j.disconnect(), (V = S.current) == null || V.dispose();
|
67748
67748
|
};
|
67749
67749
|
}, []), M.jsx("div", { ref: U, children: M.jsx(dx, { height: r, width: o || "100%", defaultLanguage: Ee, defaultValue: f || `indicator("我的脚本")
|
67750
67750
|
plot(close)
|
@@ -67768,7 +67768,7 @@ plot(close)
|
|
67768
67768
|
value: "该脚本是只读的。它无法被编辑。"
|
67769
67769
|
},
|
67770
67770
|
...l
|
67771
|
-
}, onMount: X, onChange:
|
67771
|
+
}, onMount: X, onChange: A }) });
|
67772
67772
|
}, Rh = hp(dh), Bh = (a) => {
|
67773
67773
|
const { theme: n, modified: r, original: o, height: c, width: l, renderSideBySide: m = !0 } = a, y = cr((f, b) => {
|
67774
67774
|
b.languages.register({
|
@@ -67978,7 +67978,7 @@ var Hp = /* @__PURE__ */ function(a) {
|
|
67978
67978
|
for (var c = arguments.length, l = new Array(c), m = 0; m < c; m++)
|
67979
67979
|
l[m] = arguments[m];
|
67980
67980
|
return o = n.call.apply(n, [this].concat(l)), Wi(jp(o), "onClick", function(y) {
|
67981
|
-
var f = o.props, b = f.text, h = f.onCopy, T = f.children,
|
67981
|
+
var f = o.props, b = f.text, h = f.onCopy, T = f.children, N = f.options, R = Xa.default.Children.only(T), P = (0, bh.default)(b, N);
|
67982
67982
|
h && h(b, P), R && R.props && typeof R.props.onClick == "function" && R.props.onClick(y);
|
67983
67983
|
}), o;
|
67984
67984
|
}
|
@@ -68007,23 +68007,23 @@ async function zh(a, n = 0) {
|
|
68007
68007
|
const r = a[n];
|
68008
68008
|
if (!r)
|
68009
68009
|
return;
|
68010
|
-
const { name: o, args: c, type: l, desc: m, examples: y, remarks: f, seeAlso: b, syntax: h, detailedDesc: T, fields:
|
68010
|
+
const { name: o, args: c, type: l, desc: m, examples: y, remarks: f, seeAlso: b, syntax: h, detailedDesc: T, fields: N, returns: R } = r, P = {
|
68011
68011
|
name: o
|
68012
68012
|
};
|
68013
|
-
if (a.length > 1 && (P.overloads = `${a.length} overloads`), l && (P.type = l), c && (P.name = `${o}()`, P.args = c.map((
|
68014
|
-
const { name: U, desc: G, displayType: X } =
|
68013
|
+
if (a.length > 1 && (P.overloads = `${a.length} overloads`), l && (P.type = l), c && (P.name = `${o}()`, P.args = c.map((S) => {
|
68014
|
+
const { name: U, desc: G, displayType: X } = S;
|
68015
68015
|
return {
|
68016
68016
|
label: `${U} (${X})`,
|
68017
68017
|
desc: G && Ms(G)
|
68018
68018
|
};
|
68019
|
-
})), m && (P.desc = m.map((
|
68019
|
+
})), m && (P.desc = m.map((S) => Ms(S))), y && (P.originalExample = y.join(`
|
68020
68020
|
`), P.examples = await pr.colorize(P.originalExample, Ee, {
|
68021
68021
|
tabSize: 4
|
68022
68022
|
})), T) {
|
68023
68023
|
P.detailedDesc = [];
|
68024
|
-
for (const
|
68025
|
-
const { desc: U, examples: G } =
|
68026
|
-
let X = U.map((
|
68024
|
+
for (const S of T) {
|
68025
|
+
const { desc: U, examples: G } = S;
|
68026
|
+
let X = U.map((A) => Ms(A)), O, F;
|
68027
68027
|
G && (F = G.join(`
|
68028
68028
|
`), O = await pr.colorize(F, Ee, {
|
68029
68029
|
tabSize: 4
|
@@ -68034,16 +68034,16 @@ async function zh(a, n = 0) {
|
|
68034
68034
|
});
|
68035
68035
|
}
|
68036
68036
|
}
|
68037
|
-
return R && (P.returns = R.map((
|
68037
|
+
return R && (P.returns = R.map((S) => Ms(S))), f && (P.remarks = typeof f == "string" ? [Ms(f)] : f.map((S) => Ms(S))), h && (P.syntax = a.map((S) => {
|
68038
68038
|
var U;
|
68039
|
-
return (U =
|
68040
|
-
})),
|
68041
|
-
const { name: U, desc: G, type: X } =
|
68039
|
+
return (U = S.syntax) == null ? void 0 : U[0];
|
68040
|
+
})), N && (P.fields = N.map((S) => {
|
68041
|
+
const { name: U, desc: G, type: X } = S;
|
68042
68042
|
return {
|
68043
68043
|
label: `${U} (${X})`,
|
68044
68044
|
desc: G && Ms(G)
|
68045
68045
|
};
|
68046
|
-
})), b && (P.seeAlso = b.map((
|
68046
|
+
})), b && (P.seeAlso = b.map((S) => Eh(S))), P;
|
68047
68047
|
}
|
68048
68048
|
function Eh(a) {
|
68049
68049
|
const r = /\[([^\[\]]+)\]\(([^\(\)]+)\)/g.exec(a);
|
@@ -68079,7 +68079,7 @@ function Nh(a) {
|
|
68079
68079
|
}
|
68080
68080
|
for (const [l, m] of ht[c.key])
|
68081
68081
|
for (const y of m) {
|
68082
|
-
const { name: f, args: b, type: h, desc: T, examples:
|
68082
|
+
const { name: f, args: b, type: h, desc: T, examples: N, remarks: R, seeAlso: P, syntax: S, detailedDesc: U, fields: G, returns: X } = y, O = {
|
68083
68083
|
label: f,
|
68084
68084
|
group: c,
|
68085
68085
|
key: `${c.prefix}_${f}`
|
@@ -68088,8 +68088,8 @@ function Nh(a) {
|
|
68088
68088
|
break;
|
68089
68089
|
if (b) {
|
68090
68090
|
let F = !1;
|
68091
|
-
for (const
|
68092
|
-
const { name: $, desc: C, displayType: j } =
|
68091
|
+
for (const A of b) {
|
68092
|
+
const { name: $, desc: C, displayType: j } = A;
|
68093
68093
|
if ($.includes(a) || C != null && C.includes(a) || j != null && j.includes(a)) {
|
68094
68094
|
r.push(O), F = !0;
|
68095
68095
|
break;
|
@@ -68104,18 +68104,18 @@ function Nh(a) {
|
|
68104
68104
|
}
|
68105
68105
|
if (T) {
|
68106
68106
|
let F = !1;
|
68107
|
-
for (const
|
68108
|
-
if (
|
68107
|
+
for (const A of T)
|
68108
|
+
if (A.includes(a)) {
|
68109
68109
|
r.push(O), F = !0;
|
68110
68110
|
break;
|
68111
68111
|
}
|
68112
68112
|
if (F)
|
68113
68113
|
break;
|
68114
68114
|
}
|
68115
|
-
if (
|
68115
|
+
if (N) {
|
68116
68116
|
let F = !1;
|
68117
|
-
for (const
|
68118
|
-
if (
|
68117
|
+
for (const A of N)
|
68118
|
+
if (A.includes(a)) {
|
68119
68119
|
r.push(O), F = !0;
|
68120
68120
|
break;
|
68121
68121
|
}
|
@@ -68127,10 +68127,10 @@ function Nh(a) {
|
|
68127
68127
|
r.push(O);
|
68128
68128
|
break;
|
68129
68129
|
}
|
68130
|
-
if (
|
68130
|
+
if (S) {
|
68131
68131
|
let F = !1;
|
68132
|
-
for (const
|
68133
|
-
if (
|
68132
|
+
for (const A of S)
|
68133
|
+
if (A.includes(a)) {
|
68134
68134
|
r.push(O), F = !0;
|
68135
68135
|
break;
|
68136
68136
|
}
|
@@ -68139,8 +68139,8 @@ function Nh(a) {
|
|
68139
68139
|
}
|
68140
68140
|
if (U) {
|
68141
68141
|
let F = !1;
|
68142
|
-
for (const
|
68143
|
-
const { desc: $, examples: C } =
|
68142
|
+
for (const A of U) {
|
68143
|
+
const { desc: $, examples: C } = A;
|
68144
68144
|
if ($.join(`
|
68145
68145
|
`).includes(a)) {
|
68146
68146
|
r.push(O), F = !0;
|
@@ -68157,8 +68157,8 @@ function Nh(a) {
|
|
68157
68157
|
}
|
68158
68158
|
if (G) {
|
68159
68159
|
let F = !1;
|
68160
|
-
for (const
|
68161
|
-
const { name: $, desc: C, type: j } =
|
68160
|
+
for (const A of G) {
|
68161
|
+
const { name: $, desc: C, type: j } = A;
|
68162
68162
|
if ($.includes(a) || C != null && C.includes(a) || j != null && j.includes(a)) {
|
68163
68163
|
r.push(O), F = !0;
|
68164
68164
|
break;
|
@@ -68169,8 +68169,8 @@ function Nh(a) {
|
|
68169
68169
|
}
|
68170
68170
|
if (X) {
|
68171
68171
|
let F = !1;
|
68172
|
-
for (const
|
68173
|
-
if (
|
68172
|
+
for (const A of X)
|
68173
|
+
if (A.includes(a)) {
|
68174
68174
|
r.push(O), F = !0;
|
68175
68175
|
break;
|
68176
68176
|
}
|
@@ -68186,20 +68186,20 @@ function Nh(a) {
|
|
68186
68186
|
}
|
68187
68187
|
const Sh = (a) => {
|
68188
68188
|
var X;
|
68189
|
-
const { group: n, itemKey: r, onItemClick: o, currentIndex: c } = a, [l, m] = ct(), [y, f] = ct(0), [b, h] = ct("Copy code"), [T,
|
68190
|
-
|
68189
|
+
const { group: n, itemKey: r, onItemClick: o, currentIndex: c } = a, [l, m] = ct(), [y, f] = ct(0), [b, h] = ct("Copy code"), [T, N] = ct("Copy link");
|
68190
|
+
$e(() => {
|
68191
68191
|
R(c);
|
68192
68192
|
}, [r]);
|
68193
68193
|
const R = (O) => {
|
68194
|
-
const F = r.replace(`${n == null ? void 0 : n.prefix}_`, ""),
|
68195
|
-
f(O),
|
68194
|
+
const F = r.replace(`${n == null ? void 0 : n.prefix}_`, ""), A = ht[n == null ? void 0 : n.key].get(F);
|
68195
|
+
f(O), A && zh(A, O).then(($) => {
|
68196
68196
|
m($);
|
68197
68197
|
});
|
68198
68198
|
}, P = (O) => {
|
68199
68199
|
R(O);
|
68200
|
-
},
|
68201
|
-
var F,
|
68202
|
-
if (O.target.localName === "a" && O.target.hash && ((
|
68200
|
+
}, S = (O) => {
|
68201
|
+
var F, A;
|
68202
|
+
if (O.target.localName === "a" && O.target.hash && ((A = (F = O.target) == null ? void 0 : F.dataset) != null && A.name)) {
|
68203
68203
|
O.preventDefault();
|
68204
68204
|
const { hash: $ } = O.target;
|
68205
68205
|
o($.replace("#", ""));
|
@@ -68209,23 +68209,23 @@ const Sh = (a) => {
|
|
68209
68209
|
h("Copy code");
|
68210
68210
|
}, 1e3);
|
68211
68211
|
}, G = () => {
|
68212
|
-
|
68213
|
-
|
68212
|
+
N("Link copied"), setTimeout(() => {
|
68213
|
+
N("Copy link");
|
68214
68214
|
}, 3e3);
|
68215
68215
|
};
|
68216
|
-
return M.jsx("div", { onClick:
|
68216
|
+
return M.jsx("div", { onClick: S, id: `#${r}`, children: M.jsxs("div", { className: "manual-content-wrapper", children: [M.jsxs("div", { className: "manual-content-header", children: [M.jsxs("div", { children: [M.jsx("h3", { className: "manual-content-header-title", children: l == null ? void 0 : l.name }), !!(l != null && l.overloads) && M.jsx("span", { className: "manual-content-header-overloads", children: l == null ? void 0 : l.overloads })] }), M.jsx(Ci, { text: (l == null ? void 0 : l.name) || "", onCopy: G, children: M.jsx("div", { "data-tooltip": T, className: "manual-content-btn", children: M.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 28 28", width: "28", height: "28", children: M.jsxs("g", { fill: "currentColor", children: [M.jsx("path", { fillRule: "nonzero", d: "M15.039 5.969l-.019-.019-2.828 2.828.707.707 2.474-2.474c1.367-1.367 3.582-1.367 4.949 0s1.367 3.582 0 4.949l-2.474 2.474.707.707 2.828-2.828-.019-.019c1.415-1.767 1.304-4.352-.334-5.99-1.638-1.638-4.224-1.749-5.99-.334zM5.97 15.038l-.019-.019 2.828-2.828.707.707-2.475 2.475c-1.367 1.367-1.367 3.582 0 4.949s3.582 1.367 4.949 0l2.474-2.474.707.707-2.828 2.828-.019-.019c-1.767 1.415-4.352 1.304-5.99-.334-1.638-1.638-1.749-4.224-.334-5.99z" }), M.jsx("path", { d: "M10.485 16.141l5.656-5.656.707.707-5.656 5.656z" })] }) }) }) })] }), (X = l == null ? void 0 : l.desc) == null ? void 0 : X.map((O, F) => M.jsx("div", { dangerouslySetInnerHTML: {
|
68217
68217
|
__html: O
|
68218
68218
|
}, className: "manual-content-text" }, F)), (l == null ? void 0 : l.type) && M.jsxs(Xt, { children: [M.jsx("div", { className: "manual-content-sub-title", children: "type" }), M.jsx("div", { className: "manual-content-text", children: l.type })] }), (l == null ? void 0 : l.syntax) && M.jsxs(Xt, { children: [M.jsxs("div", { className: "manual-content-sub-title", children: ["Syntax ", !!(l != null && l.overloads) && "& Overloads"] }), l.syntax.map((O, F) => {
|
68219
|
-
var
|
68220
|
-
return (((
|
68219
|
+
var A;
|
68220
|
+
return (((A = l.syntax) == null ? void 0 : A.length) || 0) > 1 ? M.jsx("div", { onClick: () => P(F), children: M.jsx("pre", { className: `manual-content-syntax with-overloads ${F === y ? "selected" : ""}`, children: O }) }, F) : M.jsx("pre", { className: "manual-content-syntax", children: O }, F);
|
68221
68221
|
})] }), (l == null ? void 0 : l.args) && M.jsxs(Xt, { children: [M.jsx("div", { className: "manual-content-sub-title", children: "arguments" }), l.args.map((O, F) => M.jsxs("div", { className: "manual-content-text", children: [M.jsx("span", { className: "manual-content-args-label", children: O.label }), " ", M.jsx("span", { dangerouslySetInnerHTML: {
|
68222
68222
|
__html: O.desc || ""
|
68223
68223
|
} })] }, F))] }), (l == null ? void 0 : l.fields) && M.jsxs(Xt, { children: [M.jsx("div", { className: "manual-content-sub-title", children: "fields" }), l.fields.map((O, F) => M.jsxs("div", { className: "manual-content-text", children: [M.jsx("span", { className: "manual-content-args-label", children: O.label }), " ", M.jsx("span", { dangerouslySetInnerHTML: {
|
68224
68224
|
__html: O.desc || ""
|
68225
68225
|
} })] }, F))] }), (l == null ? void 0 : l.examples) && M.jsxs(Xt, { children: [M.jsxs("div", { className: "manual-content-sub-title manual-content-example-header", children: [M.jsx("div", { children: M.jsx("span", { children: "example" }) }), M.jsx(Ci, { text: l.originalExample || "", onCopy: U, children: M.jsx("div", { "data-tooltip": b, className: "manual-content-btn manual-content-example-copy", children: M.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "28", height: "28", fill: "none", children: M.jsx("path", { stroke: "currentColor", d: "M8 9.5H6.5a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1V20m-8-1.5h11a1 1 0 0 0 1-1v-11a1 1 0 0 0-1-1h-11a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1z" }) }) }) })] }), M.jsx("pre", { className: "manual-content-example", children: M.jsx("code", { dangerouslySetInnerHTML: {
|
68226
68226
|
__html: l.examples
|
68227
|
-
} }) })] }), (l == null ? void 0 : l.detailedDesc) && l.detailedDesc.map((O, F) => M.jsxs(Xt, { children: [O.desc.map((
|
68228
|
-
__html:
|
68227
|
+
} }) })] }), (l == null ? void 0 : l.detailedDesc) && l.detailedDesc.map((O, F) => M.jsxs(Xt, { children: [O.desc.map((A, $) => M.jsx("div", { className: "manual-content-text", dangerouslySetInnerHTML: {
|
68228
|
+
__html: A
|
68229
68229
|
} }, $)), M.jsxs("div", { className: "manual-content-sub-title manual-content-example-header", children: [M.jsx("div", { children: M.jsx("span", { children: "example" }) }), M.jsx(Ci, { text: O.originalExample || "", onCopy: U, children: M.jsx("div", { "data-tooltip": b, className: "manual-content-btn manual-content-example-copy", children: M.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "28", height: "28", fill: "none", children: M.jsx("path", { stroke: "currentColor", d: "M8 9.5H6.5a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1V20m-8-1.5h11a1 1 0 0 0 1-1v-11a1 1 0 0 0-1-1h-11a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1z" }) }) }) })] }), M.jsx("pre", { className: "manual-content-example", children: M.jsx("code", { dangerouslySetInnerHTML: {
|
68230
68230
|
__html: O.examples || ""
|
68231
68231
|
} }) })] }, F)), (l == null ? void 0 : l.returns) && M.jsxs(Xt, { children: [M.jsx("div", { className: "manual-content-sub-title", children: "returns" }), l.returns.map((O, F) => M.jsx("div", { className: "manual-content-text", dangerouslySetInnerHTML: {
|
@@ -68242,59 +68242,62 @@ pr.defineTheme("vs", Ki);
|
|
68242
68242
|
Ue.setMonarchTokensProvider(Ee, lr);
|
68243
68243
|
Ue.setLanguageConfiguration(Ee, Bi);
|
68244
68244
|
const Kh = ({ theme: a = "vs-dark", currentValue: n }) => {
|
68245
|
-
const [r, o] = ct(Ur[0]), [c, l] = ct(null), [m, y] = ct(0), [f, b] = ct(""), [h, T] = ct("var_bar_index"),
|
68245
|
+
const [r, o] = ct(Ur[0]), [c, l] = ct(null), [m, y] = ct(0), [f, b] = ct(""), [h, T] = ct("var_bar_index"), N = qe(null), R = qe(null), P = qe(null), S = (A) => {
|
68246
68246
|
var $;
|
68247
|
-
|
68247
|
+
A.key === (r == null ? void 0 : r.key) && !(r != null && r.isHidden) ? o({ ...A, isHidden: !0 }) : o(A), ($ = N.current) == null || $.focus();
|
68248
68248
|
};
|
68249
|
-
|
68249
|
+
$e(() => {
|
68250
68250
|
pr.setTheme(a);
|
68251
|
-
}, [a]),
|
68252
|
-
var
|
68251
|
+
}, [a]), $e(() => {
|
68252
|
+
var A;
|
68253
68253
|
if (n.value) {
|
68254
68254
|
const [$] = n.value.split("_"), C = Ur.find((j) => $ === j.prefix);
|
68255
|
-
C && (y(n.index || 0), O(C, n.value)), (
|
68255
|
+
C && (y(n.index || 0), O(C, n.value)), (A = N.current) == null || A.focus();
|
68256
68256
|
}
|
68257
|
-
}, [n])
|
68258
|
-
|
68257
|
+
}, [n]), $e(() => {
|
68258
|
+
var A;
|
68259
|
+
(A = N.current) == null || A.focus();
|
68260
|
+
}, [N.current]);
|
68261
|
+
const U = (A, $) => {
|
68259
68262
|
var C, j;
|
68260
|
-
|
68261
|
-
}, G = (
|
68262
|
-
if (
|
68263
|
+
A !== h && ($ && o($), y(0), T(A), (C = P.current) == null || C.scrollTo({ top: 0 }), (j = N.current) == null || j.focus());
|
68264
|
+
}, G = (A) => {
|
68265
|
+
if (A.target.value.trim() === "")
|
68263
68266
|
X();
|
68264
68267
|
else {
|
68265
|
-
b(
|
68266
|
-
const $ = Nh(
|
68268
|
+
b(A.target.value);
|
68269
|
+
const $ = Nh(A.target.value);
|
68267
68270
|
l($);
|
68268
68271
|
}
|
68269
68272
|
}, X = () => {
|
68270
|
-
var
|
68273
|
+
var A;
|
68271
68274
|
b(""), l(null), setTimeout(() => {
|
68272
68275
|
var $, C;
|
68273
68276
|
(C = ($ = R.current) == null ? void 0 : $.querySelector(`a[data-href="${h}"]`)) == null || C.scrollIntoView(!0);
|
68274
|
-
}, 10), (
|
68275
|
-
}, O = (
|
68277
|
+
}, 10), (A = N.current) == null || A.focus();
|
68278
|
+
}, O = (A, $) => {
|
68276
68279
|
var C;
|
68277
|
-
o(
|
68280
|
+
o(A), T($), setTimeout(() => {
|
68278
68281
|
var j, V;
|
68279
68282
|
(V = (j = R.current) == null ? void 0 : j.querySelector(`a[data-href="${$}"]`)) == null || V.scrollIntoView(!0);
|
68280
68283
|
}, 10), (C = P.current) == null || C.scrollTo({ top: 0 });
|
68281
|
-
}, F = (
|
68284
|
+
}, F = (A) => {
|
68282
68285
|
var C;
|
68283
|
-
const $ = Ur.find((j) =>
|
68284
|
-
$ && (y(0), O($,
|
68286
|
+
const $ = Ur.find((j) => A.startsWith(j.prefix));
|
68287
|
+
$ && (y(0), O($, A), (C = N.current) == null || C.focus());
|
68285
68288
|
};
|
68286
|
-
return M.jsxs("div", { className: `${a} manual-warpper`, children: [M.jsxs("div", { className: "manual-left", children: [M.jsxs("div", { className: "manual-search", children: [M.jsx("span", { className: "manual-search-icon", children: M.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", width: "18px", height: "18px", children: M.jsx("path", { fillRule: "evenodd", d: "M12.5 11h-.79l-.28-.27A6.47 6.47 0 0 0 13 6.5 6.5 6.5 0 1 0 6.5 13c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L17.49 16l-4.99-5zm-6 0C4.01 11 2 8.99 2 6.5S4.01 2 6.5 2 11 4.01 11 6.5 8.99 11 6.5 11z" }) }) }), M.jsx("input", { onChange: G, ref:
|
68287
|
-
$.preventDefault(), U(
|
68288
|
-
}, className: `manual-group-body-item ${
|
68289
|
-
$.preventDefault(), U(
|
68290
|
-
}, className: `manual-group-body-item ${
|
68289
|
+
return M.jsxs("div", { className: `${a} manual-warpper`, children: [M.jsxs("div", { className: "manual-left", children: [M.jsxs("div", { className: "manual-search", children: [M.jsx("span", { className: "manual-search-icon", children: M.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", width: "18px", height: "18px", children: M.jsx("path", { fillRule: "evenodd", d: "M12.5 11h-.79l-.28-.27A6.47 6.47 0 0 0 13 6.5 6.5 6.5 0 1 0 6.5 13c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L17.49 16l-4.99-5zm-6 0C4.01 11 2 8.99 2 6.5S4.01 2 6.5 2 11 4.01 11 6.5 8.99 11 6.5 11z" }) }) }), M.jsx("input", { onChange: G, ref: N, spellCheck: "false", value: f, className: "manual-search-input", autoComplete: "off", placeholder: "Search", type: "text" }), M.jsx("span", { onClick: X, className: `manual-search-clear ${f ? "" : "hide"}`, children: M.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 95.939 95.939", width: "9", height: "9", children: M.jsx("path", { d: "M62.82 47.97l32.53-32.534a2 2 0 0 0 0-2.828L83.332.586a2 2 0 0 0-2.827 0L47.97 33.12 15.435.587c-.75-.75-2.078-.75-2.828 0L.587 12.607a2 2 0 0 0 0 2.83L33.12 47.97.588 80.504a2 2 0 0 0 0 2.828l12.02 12.02a1.997 1.997 0 0 0 2.83 0L47.97 62.818l32.535 32.535a2 2 0 0 0 2.827 0l12.02-12.02c.78-.783.78-2.05 0-2.83L62.82 47.97z" }) }) })] }), M.jsx("div", { className: `manual-group-search-list manual-scroll ${f ? "" : "hide"}`, children: M.jsxs("div", { children: [c == null ? void 0 : c.labelList.map((A) => M.jsx("a", { onClick: ($) => {
|
68290
|
+
$.preventDefault(), U(A.key, A.group);
|
68291
|
+
}, className: `manual-group-body-item ${A.key === h ? "manual-group-body-item-selected" : ""}`, "data-href": A.key, href: `#${A.key}`, children: A.label }, `search_${A.key}`)), M.jsx("div", { className: "manual-content-separator" }), c == null ? void 0 : c.contentList.map((A) => M.jsx("a", { onClick: ($) => {
|
68292
|
+
$.preventDefault(), U(A.key, A.group);
|
68293
|
+
}, className: `manual-group-body-item ${A.key === h ? "manual-group-body-item-selected" : ""}`, "data-href": A.key, href: `#${A.key}`, children: A.label }, `search_${A.key}`))] }) }), M.jsx("div", { className: `manual-group-list manual-scroll ${f ? "hide" : ""}`, ref: R, children: Ur.map((A) => {
|
68291
68294
|
var $, C;
|
68292
|
-
return M.jsxs(Xt, { children: [M.jsx("div", { onClick: () =>
|
68293
|
-
const V = `${
|
68295
|
+
return M.jsxs(Xt, { children: [M.jsx("div", { onClick: () => S(A), className: `manual-group-title ${A.key === (r == null ? void 0 : r.key) && !(r != null && r.isHidden) ? "active" : ""}`, children: A.title }), M.jsx("div", { className: `manual-group-body manual-scroll ${A.key !== (r == null ? void 0 : r.key) || r != null && r.isHidden ? "hide" : ""}`, children: (C = ($ = zp[A.key]) == null ? void 0 : $.sort().filter((j) => !Cp.includes(j))) == null ? void 0 : C.map((j) => {
|
68296
|
+
const V = `${A.prefix}_${j}`;
|
68294
68297
|
return M.jsx("a", { onClick: (ae) => {
|
68295
68298
|
ae.preventDefault(), U(V);
|
68296
|
-
}, className: `manual-group-body-item ${V === h ? "manual-group-body-item-selected" : ""}`, "data-href": V, href: `#${V}`, children: `${j}${
|
68297
|
-
}) })] },
|
68299
|
+
}, className: `manual-group-body-item ${V === h ? "manual-group-body-item-selected" : ""}`, "data-href": V, href: `#${V}`, children: `${j}${A.prefix === "fun" ? "()" : ""}` }, V);
|
68300
|
+
}) })] }, A.key);
|
68298
68301
|
}) })] }), M.jsx("div", { ref: P, className: "manual-right manual-scroll", children: M.jsx(Sh, { currentIndex: m, group: r, itemKey: h, onItemClick: F }) })] });
|
68299
68302
|
};
|
68300
68303
|
export {
|