@guihz/trading-vue-editor-tes 0.0.15 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/assets/{parserTccWorker-BOXqLi6O.js → parserTccWorker-ClJL6TbY.js} +4 -4
- package/lib/assets/scriptsRunWorker-CT7aptUT.js +66 -0
- package/lib/components/editor/parseScript/buildInFuncNamespace/strategy.d.ts +2 -0
- package/lib/trading-vue-editor.js +230 -220
- package/lib/trading-vue-editor.umd.cjs +14 -14
- package/package.json +1 -1
- package/lib/assets/scriptsRunWorker-DNO5AVA5.js +0 -66
@@ -20,14 +20,14 @@ function D_() {
|
|
20
20
|
ec = 1;
|
21
21
|
var s = yr, i = Symbol.for("react.element"), a = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, u = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
|
22
22
|
function m(b, g, v) {
|
23
|
-
var w, D = {},
|
24
|
-
v !== void 0 && (
|
23
|
+
var w, D = {}, P = null, O = null;
|
24
|
+
v !== void 0 && (P = "" + v), g.key !== void 0 && (P = "" + g.key), g.ref !== void 0 && (O = g.ref);
|
25
25
|
for (w in g)
|
26
26
|
l.call(g, w) && !p.hasOwnProperty(w) && (D[w] = g[w]);
|
27
27
|
if (b && b.defaultProps)
|
28
28
|
for (w in g = b.defaultProps, g)
|
29
29
|
D[w] === void 0 && (D[w] = g[w]);
|
30
|
-
return { $$typeof: i, type: b, key:
|
30
|
+
return { $$typeof: i, type: b, key: P, ref: O, props: D, _owner: u.current };
|
31
31
|
}
|
32
32
|
return Sa.Fragment = a, Sa.jsx = m, Sa.jsxs = m, Sa;
|
33
33
|
}
|
@@ -44,7 +44,7 @@ var za = {};
|
|
44
44
|
var tc;
|
45
45
|
function k_() {
|
46
46
|
return tc || (tc = 1, process.env.NODE_ENV !== "production" && function() {
|
47
|
-
var s = yr, i = Symbol.for("react.element"), a = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), b = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), w = Symbol.for("react.suspense_list"), D = Symbol.for("react.memo"),
|
47
|
+
var s = yr, i = Symbol.for("react.element"), a = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), b = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), w = Symbol.for("react.suspense_list"), D = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), O = Symbol.for("react.offscreen"), M = Symbol.iterator, F = "@@iterator";
|
48
48
|
function R(y) {
|
49
49
|
if (y === null || typeof y != "object")
|
50
50
|
return null;
|
@@ -72,7 +72,7 @@ function k_() {
|
|
72
72
|
var oe = !1, Q = !1, ce = !1, J = !1, Se = !1, _e;
|
73
73
|
_e = Symbol.for("react.module.reference");
|
74
74
|
function ae(y) {
|
75
|
-
return !!(typeof y == "string" || typeof y == "function" || y === l || y === p || Se || y === u || y === v || y === w || J || y ===
|
75
|
+
return !!(typeof y == "string" || typeof y == "function" || y === l || y === p || Se || y === u || y === v || y === w || J || y === O || oe || Q || ce || typeof y == "object" && y !== null && (y.$$typeof === P || y.$$typeof === D || y.$$typeof === m || y.$$typeof === b || y.$$typeof === g || // This needs to include all possible module reference object
|
76
76
|
// types supported by any Flight configuration anywhere since
|
77
77
|
// we don't know which Flight build this will end up being used
|
78
78
|
// with.
|
@@ -88,7 +88,7 @@ function k_() {
|
|
88
88
|
function ft(y) {
|
89
89
|
return y.displayName || "Context";
|
90
90
|
}
|
91
|
-
function
|
91
|
+
function Oe(y) {
|
92
92
|
if (y == null)
|
93
93
|
return null;
|
94
94
|
if (typeof y.tag == "number" && H("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof y == "function")
|
@@ -121,11 +121,11 @@ function k_() {
|
|
121
121
|
return at(y, y.render, "ForwardRef");
|
122
122
|
case D:
|
123
123
|
var $ = y.displayName || null;
|
124
|
-
return $ !== null ? $ :
|
125
|
-
case
|
124
|
+
return $ !== null ? $ : Oe(y.type) || "Memo";
|
125
|
+
case P: {
|
126
126
|
var ue = y, pe = ue._payload, ie = ue._init;
|
127
127
|
try {
|
128
|
-
return
|
128
|
+
return Oe(ie(pe));
|
129
129
|
} catch {
|
130
130
|
return null;
|
131
131
|
}
|
@@ -311,7 +311,7 @@ function k_() {
|
|
311
311
|
return Ua(y.render);
|
312
312
|
case D:
|
313
313
|
return Lt(y.type, S, z);
|
314
|
-
case
|
314
|
+
case P: {
|
315
315
|
var $ = y, ue = $._payload, pe = $._init;
|
316
316
|
try {
|
317
317
|
return Lt(pe(ue), S, z);
|
@@ -321,8 +321,8 @@ function k_() {
|
|
321
321
|
}
|
322
322
|
return "";
|
323
323
|
}
|
324
|
-
var
|
325
|
-
function
|
324
|
+
var Pr = Object.prototype.hasOwnProperty, yt = {}, aa = Y.ReactDebugCurrentFrame;
|
325
|
+
function Or(y) {
|
326
326
|
if (y) {
|
327
327
|
var S = y._owner, z = Lt(y.type, y._source, S ? S.type : null);
|
328
328
|
aa.setExtraStackFrame(z);
|
@@ -331,7 +331,7 @@ function k_() {
|
|
331
331
|
}
|
332
332
|
function br(y, S, z, $, ue) {
|
333
333
|
{
|
334
|
-
var pe = Function.call.bind(
|
334
|
+
var pe = Function.call.bind(Pr);
|
335
335
|
for (var ie in y)
|
336
336
|
if (pe(y, ie)) {
|
337
337
|
var re = void 0;
|
@@ -344,7 +344,7 @@ function k_() {
|
|
344
344
|
} catch (Te) {
|
345
345
|
re = Te;
|
346
346
|
}
|
347
|
-
re && !(re instanceof Error) && (
|
347
|
+
re && !(re instanceof Error) && (Or(ue), H("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", $ || "React class", z, ie, typeof re), Or(null)), re instanceof Error && !(re.message in yt) && (yt[re.message] = !0, Or(ue), H("Failed %s type: %s", z, re.message), Or(null));
|
348
348
|
}
|
349
349
|
}
|
350
350
|
}
|
@@ -380,7 +380,7 @@ function k_() {
|
|
380
380
|
}, Rr, Lr, xr;
|
381
381
|
xr = {};
|
382
382
|
function sa(y) {
|
383
|
-
if (
|
383
|
+
if (Pr.call(y, "ref")) {
|
384
384
|
var S = Object.getOwnPropertyDescriptor(y, "ref").get;
|
385
385
|
if (S && S.isReactWarning)
|
386
386
|
return !1;
|
@@ -388,7 +388,7 @@ function k_() {
|
|
388
388
|
return y.ref !== void 0;
|
389
389
|
}
|
390
390
|
function ia(y) {
|
391
|
-
if (
|
391
|
+
if (Pr.call(y, "key")) {
|
392
392
|
var S = Object.getOwnPropertyDescriptor(y, "key").get;
|
393
393
|
if (S && S.isReactWarning)
|
394
394
|
return !1;
|
@@ -397,8 +397,8 @@ function k_() {
|
|
397
397
|
}
|
398
398
|
function na(y, S) {
|
399
399
|
if (typeof y.ref == "string" && Dt.current && S && Dt.current.stateNode !== S) {
|
400
|
-
var z =
|
401
|
-
xr[z] || (H('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',
|
400
|
+
var z = Oe(Dt.current.type);
|
401
|
+
xr[z] || (H('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', Oe(Dt.current.type), y.ref), xr[z] = !0);
|
402
402
|
}
|
403
403
|
}
|
404
404
|
function oa(y, S) {
|
@@ -457,7 +457,7 @@ function k_() {
|
|
457
457
|
var pe, ie = {}, re = null, Be = null;
|
458
458
|
z !== void 0 && (Wa(z), re = "" + z), ia(S) && (Wa(S.key), re = "" + S.key), sa(S) && (Be = S.ref, na(S, ue));
|
459
459
|
for (pe in S)
|
460
|
-
|
460
|
+
Pr.call(S, pe) && !ir.hasOwnProperty(pe) && (ie[pe] = S[pe]);
|
461
461
|
if (y && y.defaultProps) {
|
462
462
|
var Te = y.defaultProps;
|
463
463
|
for (pe in Te)
|
@@ -486,7 +486,7 @@ function k_() {
|
|
486
486
|
function $a() {
|
487
487
|
{
|
488
488
|
if (ua.current) {
|
489
|
-
var y =
|
489
|
+
var y = Oe(ua.current.type);
|
490
490
|
if (y)
|
491
491
|
return `
|
492
492
|
|
@@ -529,7 +529,7 @@ Check the top-level render call using <` + z + ">.");
|
|
529
529
|
return;
|
530
530
|
Xa[z] = !0;
|
531
531
|
var $ = "";
|
532
|
-
y && y._owner && y._owner !== ua.current && ($ = " It was passed a child from " +
|
532
|
+
y && y._owner && y._owner !== ua.current && ($ = " It was passed a child from " + Oe(y._owner.type) + "."), Gt(y), H('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', z, $), Gt(null);
|
533
533
|
}
|
534
534
|
}
|
535
535
|
function Ya(y, S) {
|
@@ -566,11 +566,11 @@ Check the top-level render call using <` + z + ">.");
|
|
566
566
|
else
|
567
567
|
return;
|
568
568
|
if (z) {
|
569
|
-
var $ =
|
569
|
+
var $ = Oe(S);
|
570
570
|
br(z, y.props, "prop", $, y);
|
571
571
|
} else if (S.PropTypes !== void 0 && !Mr) {
|
572
572
|
Mr = !0;
|
573
|
-
var ue =
|
573
|
+
var ue = Oe(S);
|
574
574
|
H("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ue || "Unknown");
|
575
575
|
}
|
576
576
|
typeof S.getDefaultProps == "function" && !S.getDefaultProps.isReactClassApproved && H("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
@@ -597,7 +597,7 @@ Check the top-level render call using <` + z + ">.");
|
|
597
597
|
var Be = Zs(ue);
|
598
598
|
Be ? re += Be : re += $a();
|
599
599
|
var Te;
|
600
|
-
y === null ? Te = "null" : Xt(y) ? Te = "array" : y !== void 0 && y.$$typeof === i ? (Te = "<" + (
|
600
|
+
y === null ? Te = "null" : Xt(y) ? Te = "array" : y !== void 0 && y.$$typeof === i ? (Te = "<" + (Oe(y.type) || "Unknown") + " />", re = " Did you accidentally export a JSX literal instead of a component?") : Te = typeof y, H("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Te, re);
|
601
601
|
}
|
602
602
|
var ke = Qs(y, S, z, ue, pe);
|
603
603
|
if (ke == null)
|
@@ -679,7 +679,7 @@ function C_(s, i) {
|
|
679
679
|
return a;
|
680
680
|
}
|
681
681
|
function S_(s, i) {
|
682
|
-
return z_(s) || N_(s, i) ||
|
682
|
+
return z_(s) || N_(s, i) || P_(s, i) || O_();
|
683
683
|
}
|
684
684
|
function z_(s) {
|
685
685
|
if (Array.isArray(s))
|
@@ -704,7 +704,7 @@ function N_(s, i) {
|
|
704
704
|
return a;
|
705
705
|
}
|
706
706
|
}
|
707
|
-
function
|
707
|
+
function P_(s, i) {
|
708
708
|
if (s) {
|
709
709
|
if (typeof s == "string")
|
710
710
|
return sc(s, i);
|
@@ -721,7 +721,7 @@ function sc(s, i) {
|
|
721
721
|
l[a] = s[a];
|
722
722
|
return l;
|
723
723
|
}
|
724
|
-
function
|
724
|
+
function O_() {
|
725
725
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
726
726
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
727
727
|
}
|
@@ -763,7 +763,7 @@ function R_() {
|
|
763
763
|
}, l);
|
764
764
|
};
|
765
765
|
}
|
766
|
-
function
|
766
|
+
function Pa(s) {
|
767
767
|
return function i() {
|
768
768
|
for (var a = this, l = arguments.length, u = new Array(l), p = 0; p < l; p++)
|
769
769
|
u[p] = arguments[p];
|
@@ -815,7 +815,7 @@ var H_ = {
|
|
815
815
|
changeType: "provided value of changes should be an object",
|
816
816
|
changeField: 'it seams you want to change a field in the state which is not specified in the "initial" state',
|
817
817
|
default: "an unknown error accured in `state-local` package"
|
818
|
-
}, hr =
|
818
|
+
}, hr = Pa(W_)(H_), Ms = {
|
819
819
|
changes: F_,
|
820
820
|
selector: B_,
|
821
821
|
handler: j_,
|
@@ -826,7 +826,7 @@ function $_(s) {
|
|
826
826
|
Ms.initial(s), Ms.handler(i);
|
827
827
|
var a = {
|
828
828
|
current: s
|
829
|
-
}, l =
|
829
|
+
}, l = Pa(K_)(a, i), u = Pa(G_)(a), p = Pa(Ms.changes)(s), m = Pa(X_)(a);
|
830
830
|
function b() {
|
831
831
|
var v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function(w) {
|
832
832
|
return w;
|
@@ -1052,7 +1052,7 @@ function Ig(s, i, a, l) {
|
|
1052
1052
|
function Zc(s, i) {
|
1053
1053
|
return s.Uri.parse(i);
|
1054
1054
|
}
|
1055
|
-
function Dg({ original: s, modified: i, language: a, originalLanguage: l, modifiedLanguage: u, originalModelPath: p, modifiedModelPath: m, keepCurrentOriginalModel: b = !1, keepCurrentModifiedModel: g = !1, theme: v = "light", loading: w = "Loading...", options: D = {}, height:
|
1055
|
+
function Dg({ original: s, modified: i, language: a, originalLanguage: l, modifiedLanguage: u, originalModelPath: p, modifiedModelPath: m, keepCurrentOriginalModel: b = !1, keepCurrentModifiedModel: g = !1, theme: v = "light", loading: w = "Loading...", options: D = {}, height: P = "100%", width: O = "100%", className: M, wrapperProps: F = {}, beforeMount: R = Ea, onMount: Y = Ea }) {
|
1056
1056
|
let [H, fe] = Ra(!1), [oe, Q] = Ra(!0), ce = Fe(null), J = Fe(null), Se = Fe(null), _e = Fe(Y), ae = Fe(R), at = Fe(!1);
|
1057
1057
|
Qc(() => {
|
1058
1058
|
let B = Dn.init();
|
@@ -1090,21 +1090,21 @@ function Dg({ original: s, modified: i, language: a, originalLanguage: l, modifi
|
|
1090
1090
|
ae.current(J.current);
|
1091
1091
|
let B = ea(J.current, s || "", l || a || "text", p || ""), te = ea(J.current, i || "", u || a || "text", m || "");
|
1092
1092
|
(ze = ce.current) == null || ze.setModel({ original: B, modified: te });
|
1093
|
-
}, [a, i, u, s, l, p, m]),
|
1093
|
+
}, [a, i, u, s, l, p, m]), Oe = La(() => {
|
1094
1094
|
var B;
|
1095
1095
|
!at.current && Se.current && (ce.current = J.current.editor.createDiffEditor(Se.current, { automaticLayout: !0, ...D }), ft(), (B = J.current) == null || B.editor.setTheme(v), fe(!0), at.current = !0);
|
1096
1096
|
}, [D, v, ft]);
|
1097
1097
|
Ut(() => {
|
1098
1098
|
H && _e.current(ce.current, J.current);
|
1099
1099
|
}, [H]), Ut(() => {
|
1100
|
-
!oe && !H &&
|
1101
|
-
}, [oe, H,
|
1100
|
+
!oe && !H && Oe();
|
1101
|
+
}, [oe, H, Oe]);
|
1102
1102
|
function Ee() {
|
1103
1103
|
var te, ze, Re, Et;
|
1104
1104
|
let B = (te = ce.current) == null ? void 0 : te.getModel();
|
1105
1105
|
b || ((ze = B == null ? void 0 : B.original) == null || ze.dispose()), g || ((Re = B == null ? void 0 : B.modified) == null || Re.dispose()), (Et = ce.current) == null || Et.dispose();
|
1106
1106
|
}
|
1107
|
-
return yr.createElement(Vc, { width:
|
1107
|
+
return yr.createElement(Vc, { width: O, height: P, isEditorReady: H, loading: w, _ref: Se, className: M, wrapperProps: F });
|
1108
1108
|
}
|
1109
1109
|
var kg = Dg, Ag = In(kg);
|
1110
1110
|
function qg(s) {
|
@@ -1114,8 +1114,8 @@ function qg(s) {
|
|
1114
1114
|
}, [s]), i.current;
|
1115
1115
|
}
|
1116
1116
|
var Cg = qg, Fs = /* @__PURE__ */ new Map();
|
1117
|
-
function Sg({ defaultValue: s, defaultLanguage: i, defaultPath: a, value: l, language: u, path: p, theme: m = "light", line: b, loading: g = "Loading...", options: v = {}, overrideServices: w = {}, saveViewState: D = !0, keepCurrentModel:
|
1118
|
-
let [Q, ce] = Ra(!1), [J, Se] = Ra(!0), _e = Fe(null), ae = Fe(null), at = Fe(null), ft = Fe(H),
|
1117
|
+
function Sg({ defaultValue: s, defaultLanguage: i, defaultPath: a, value: l, language: u, path: p, theme: m = "light", line: b, loading: g = "Loading...", options: v = {}, overrideServices: w = {}, saveViewState: D = !0, keepCurrentModel: P = !1, width: O = "100%", height: M = "100%", className: F, wrapperProps: R = {}, beforeMount: Y = Ea, onMount: H = Ea, onChange: fe, onValidate: oe = Ea }) {
|
1118
|
+
let [Q, ce] = Ra(!1), [J, Se] = Ra(!0), _e = Fe(null), ae = Fe(null), at = Fe(null), ft = Fe(H), Oe = Fe(Y), Ee = Fe(), B = Fe(l), te = Cg(p), ze = Fe(!1), Re = Fe(!1);
|
1119
1119
|
Qc(() => {
|
1120
1120
|
let X = Dn.init();
|
1121
1121
|
return X.then((ge) => (_e.current = ge) && Se(!1)).catch((ge) => (ge == null ? void 0 : ge.type) !== "cancelation" && console.error("Monaco initialization: error:", ge)), () => ae.current ? Wt() : X.cancel();
|
@@ -1142,7 +1142,7 @@ function Sg({ defaultValue: s, defaultLanguage: i, defaultPath: a, value: l, lan
|
|
1142
1142
|
let Et = La(() => {
|
1143
1143
|
var X;
|
1144
1144
|
if (!(!at.current || !_e.current) && !ze.current) {
|
1145
|
-
|
1145
|
+
Oe.current(_e.current);
|
1146
1146
|
let ge = p || a, Le = ea(_e.current, l || s || "", i || u || "", ge || "");
|
1147
1147
|
ae.current = (X = _e.current) == null ? void 0 : X.editor.create(at.current, { model: Le, automaticLayout: !0, ...v }, w), D && ae.current.restoreViewState(Fs.get(ge)), _e.current.editor.setTheme(m), b !== void 0 && ae.current.revealLine(b), ce(!0), ze.current = !0;
|
1148
1148
|
}
|
@@ -1175,9 +1175,9 @@ function Sg({ defaultValue: s, defaultLanguage: i, defaultPath: a, value: l, lan
|
|
1175
1175
|
}, [Q, oe]);
|
1176
1176
|
function Wt() {
|
1177
1177
|
var X, ge;
|
1178
|
-
(X = Ee.current) == null || X.dispose(),
|
1178
|
+
(X = Ee.current) == null || X.dispose(), P ? D && Fs.set(p, ae.current.saveViewState()) : (ge = ae.current.getModel()) == null || ge.dispose(), ae.current.dispose();
|
1179
1179
|
}
|
1180
|
-
return yr.createElement(Vc, { width:
|
1180
|
+
return yr.createElement(Vc, { width: O, height: M, isEditorReady: Q, loading: g, _ref: at, className: F, wrapperProps: R });
|
1181
1181
|
}
|
1182
1182
|
var zg = Sg, Ng = In(zg);
|
1183
1183
|
const lc = {
|
@@ -26359,7 +26359,15 @@ else
|
|
26359
26359
|
"series bool",
|
26360
26360
|
"simple bool",
|
26361
26361
|
"input bool",
|
26362
|
-
"const bool"
|
26362
|
+
"const bool",
|
26363
|
+
"series int",
|
26364
|
+
"simple int",
|
26365
|
+
"input int",
|
26366
|
+
"const int",
|
26367
|
+
"series float",
|
26368
|
+
"simple float",
|
26369
|
+
"input float",
|
26370
|
+
"const float"
|
26363
26371
|
],
|
26364
26372
|
displayType: "series bool"
|
26365
26373
|
}
|
@@ -37204,7 +37212,8 @@ else
|
|
37204
37212
|
desc: "An array object.",
|
37205
37213
|
required: !0,
|
37206
37214
|
allowedTypeIDs: [
|
37207
|
-
"float[]"
|
37215
|
+
"float[]",
|
37216
|
+
"int[]"
|
37208
37217
|
],
|
37209
37218
|
displayType: "float[]"
|
37210
37219
|
},
|
@@ -37278,7 +37287,8 @@ else
|
|
37278
37287
|
desc: "An array object.",
|
37279
37288
|
required: !0,
|
37280
37289
|
allowedTypeIDs: [
|
37281
|
-
"float[]"
|
37290
|
+
"float[]",
|
37291
|
+
"int[]"
|
37282
37292
|
],
|
37283
37293
|
displayType: "float[]"
|
37284
37294
|
},
|
@@ -58788,7 +58798,7 @@ else
|
|
58788
58798
|
]
|
58789
58799
|
}
|
58790
58800
|
]
|
58791
|
-
},
|
58801
|
+
}, Pg = [{
|
58792
58802
|
label: "if",
|
58793
58803
|
insertText: "if ${1:condition}\n ${2:local_block}\n",
|
58794
58804
|
kind: "statement"
|
@@ -58834,7 +58844,7 @@ else
|
|
58834
58844
|
parameter: "parameter",
|
58835
58845
|
namespaceDesc: "**Namespaces** are immutable terms that act as prefixes for groups of identifiers. A dot and another term always follow a namespace when naming Tcc functions, variables, and methods.",
|
58836
58846
|
toTriggerParameterHints: "to trigger parameters hint"
|
58837
|
-
},
|
58847
|
+
}, Og = {
|
58838
58848
|
clickOnKeywordForMoreHelp: "`click` on keyword for more help"
|
58839
58849
|
};
|
58840
58850
|
function Eg() {
|
@@ -58853,8 +58863,8 @@ function Rg(s, i) {
|
|
58853
58863
|
p !== "for...in" && (a.has(p) ? (m = a.get(p)) == null || m.push(u) : (l.push(p), a.set(p, [u])));
|
58854
58864
|
}), { mapObj: a, keys: l };
|
58855
58865
|
}
|
58856
|
-
const { keyList:
|
58857
|
-
console.log(
|
58866
|
+
const { keyList: Ob, keyMapList: Ot } = Eg();
|
58867
|
+
console.log(Ot);
|
58858
58868
|
var cc;
|
58859
58869
|
(function(s) {
|
58860
58870
|
s.Comment = "comment", s.Text = "text", s.String = "string", s.Paren = "paren", s.StringInvalid = "string.invalid", s.ConstantNumericInteger = "constant.numeric.integer", s.ConstantNumericFloat = "constant.numeric.float", s.ConstantLanguage = "constant.language", s.ConstantLanguageBoolean = "constant.other.boolean", s.ConstantOtherColor = "constant.other.color", s.SupportVariable = "support.variable", s.SupportType = "support.type", s.Keyword = "keyword", s.KeywordEquals = "keyword.equals", s.KeywordOperator = "keyword.operator", s.CustomType = "entity.name.type", s.VariableOther = "variable.other", s.Property = "variable.other.property", s.SupportFunction = "support.function", s.SupportMethod = "support.method", s.ImportedFunction = "meta.function-call", s.Function = "entity.name.function", s.ImportName = "entity.name.module", s.ImportAlias = "entity.name.module.name", s.ExtensionMethod = "entity.name.method", s.Annotation = "comment.annotation", s.PunctuationOperator = "punctuation.operator", s.Empty = "empty", s.Source = "source";
|
@@ -58914,20 +58924,20 @@ function Fg(s, i = 0, a = !0) {
|
|
58914
58924
|
const l = s[i];
|
58915
58925
|
if (!l)
|
58916
58926
|
return "";
|
58917
|
-
const u = /(Mac|iPhone|iPod|iPad)/i.test(window.navigator.userAgent), { name: p, title: m, desc: b, type: g, syntax: v, returns: w, remarks: D, fields:
|
58918
|
-
if (s.length > 1 &&
|
58927
|
+
const u = /(Mac|iPhone|iPod|iPad)/i.test(window.navigator.userAgent), { name: p, title: m, desc: b, type: g, syntax: v, returns: w, remarks: D, fields: P } = l, O = [`${he.bold(p)} (${m})`];
|
58928
|
+
if (s.length > 1 && O.push(he.italic(`+${s.length - 1} overloads`)), O.push(he.delimiter), b && O.push(he.paragraph(Array.isArray(b) ? b.join(he.lineBreak) : b || "")), g && O.push(he.paragraph(he.bold(It.Type), he.italic(g))), v && v.length && O.push(he.paragraph(he.bold(It.Syntax), he.pineCode(v.join(he.lineBreak)))), w && O.push(he.paragraph(he.bold(It.Returns), he.lineBreak, w.join(he.lineBreak))), D && D.length && s.length <= 1) {
|
58919
58929
|
let M = "";
|
58920
|
-
typeof D == "string" ? M = D : M = D.join(he.lineBreak) || "", M.length < 200 &&
|
58930
|
+
typeof D == "string" ? M = D : M = D.join(he.lineBreak) || "", M.length < 200 && O.push(he.paragraph(he.bold(It.Remarks), he.lineBreak, M));
|
58921
58931
|
}
|
58922
|
-
if (
|
58932
|
+
if (P) {
|
58923
58933
|
const M = [];
|
58924
|
-
for (const F of
|
58934
|
+
for (const F of P) {
|
58925
58935
|
const R = F.desc ? ` - ${F.desc}` : "";
|
58926
58936
|
M.push(`${F.name} (${F.type}) ${R}`);
|
58927
58937
|
}
|
58928
|
-
|
58938
|
+
O.push(he.paragraph(he.bold(It.Fields), he.lineBreak, M.join(he.paragraphBreak)));
|
58929
58939
|
}
|
58930
|
-
return a &&
|
58940
|
+
return a && O.push(he.italic(`${he.code(u ? "⌘" : "Ctrl")} + ${Og.clickOnKeywordForMoreHelp}`)), O.join(O.length === 2 ? " " : he.lineBreak);
|
58931
58941
|
}
|
58932
58942
|
function Bg(s) {
|
58933
58943
|
return s.replace(/<[^<>]+>/, "").replace(/(series|simple|const|input)\s+([\w\d.]+)/, "$2").replace(/\w[\w.\d]*\[\]/, "array");
|
@@ -59036,7 +59046,7 @@ class jg {
|
|
59036
59046
|
}
|
59037
59047
|
setUserDefind(i, a, l, u) {
|
59038
59048
|
this._initUserDefind();
|
59039
|
-
const p = this._mergeTreeSlices(this._generateTreeSlice(
|
59049
|
+
const p = this._mergeTreeSlices(this._generateTreeSlice(Ot.methods, "method"), this._generateTreeSlice(u, "method"));
|
59040
59050
|
this._getMethodNamespaceCache(p), this._userMethods = u, this._userTypes = a, this._userFunctions = i;
|
59041
59051
|
const m = this._generateTreeSlice(i, "fun");
|
59042
59052
|
this._userSuggestions = this._getAllUserCompletionItems(m, this._generateTreeSlice(a, "type"), this._generateTreeSlice(l, "var")), this._getUserFuncArgumentsCompletionItemsToCache(m);
|
@@ -59076,21 +59086,21 @@ class jg {
|
|
59076
59086
|
const l = /* @__PURE__ */ new Map();
|
59077
59087
|
for (const [u, p] of i) {
|
59078
59088
|
const [m, ...b] = u.split("."), g = b.length > 0, v = l.get(this._getNodeKey(m, g ? "ns" : a));
|
59079
|
-
let w = /* @__PURE__ */ new Map(), D = p.map((
|
59080
|
-
...
|
59089
|
+
let w = /* @__PURE__ */ new Map(), D = p.map((O) => ({
|
59090
|
+
...O,
|
59081
59091
|
name: u
|
59082
|
-
})),
|
59092
|
+
})), P = this._getNodeKey(u, a);
|
59083
59093
|
if (g && a !== "type") {
|
59084
|
-
const
|
59094
|
+
const O = /* @__PURE__ */ new Map([[b.join("."), p]]);
|
59085
59095
|
D = [{
|
59086
59096
|
name: m,
|
59087
59097
|
title: De.namespace
|
59088
|
-
}],
|
59098
|
+
}], P = this._getNodeKey(m, "ns"), w = this._generateTreeSlice(O, a);
|
59089
59099
|
}
|
59090
59100
|
v && (D = [{
|
59091
59101
|
name: m,
|
59092
59102
|
title: De.namespace
|
59093
|
-
}], w = this._mergeTreeSlices(v.children, w)), l.set(
|
59103
|
+
}], w = this._mergeTreeSlices(v.children, w)), l.set(P, {
|
59094
59104
|
value: D,
|
59095
59105
|
children: w
|
59096
59106
|
});
|
@@ -59098,7 +59108,7 @@ class jg {
|
|
59098
59108
|
return l;
|
59099
59109
|
}
|
59100
59110
|
_getBuiltinsCacheFragment() {
|
59101
|
-
const { keywords: i, variables: a, constants: l, types: u, functions: p } =
|
59111
|
+
const { keywords: i, variables: a, constants: l, types: u, functions: p } = Ot;
|
59102
59112
|
return this._builtinSubtreeCache = {
|
59103
59113
|
keywords: this._generateTreeSlice(i, "key"),
|
59104
59114
|
variables: this._mergeTreeSlices(this._generateTreeSlice(a, "var"), this._generateTreeSlice(l, "var")),
|
@@ -59132,22 +59142,22 @@ class jg {
|
|
59132
59142
|
return u.length && a && this._mergeCompletions(a, u), l;
|
59133
59143
|
}
|
59134
59144
|
_setUserVariableSubItems(i, a) {
|
59135
|
-
var v, w, D,
|
59145
|
+
var v, w, D, P;
|
59136
59146
|
let l = [];
|
59137
59147
|
const u = Bg(i.type || ""), p = this._methodNamespaceCache.get(u), m = a ? `${a}.${i.name}` : i.name;
|
59138
|
-
p && (l = p.filter((
|
59148
|
+
p && (l = p.filter((O) => {
|
59139
59149
|
var Y;
|
59140
|
-
const M = `${u}.${
|
59150
|
+
const M = `${u}.${O.label}`, F = Ot.methods.get(M) || this._userMethods.get(M), R = F == null ? void 0 : F.some((H) => !H.thisType || H.thisType[0].includes("<>") || H.thisType.includes(i.type || ""));
|
59141
59151
|
if (R && F) {
|
59142
|
-
const H = this._getNamedArgumentsCompletionList(((Y = F[0]) == null ? void 0 : Y.args) || []), fe = `${m}.${
|
59152
|
+
const H = this._getNamedArgumentsCompletionList(((Y = F[0]) == null ? void 0 : Y.args) || []), fe = `${m}.${O.label}`;
|
59143
59153
|
this._userFuncArgsCache.set(fe, H), this._methodFuncs.set(fe, F);
|
59144
59154
|
}
|
59145
59155
|
return R;
|
59146
59156
|
}));
|
59147
|
-
const { types: b } =
|
59157
|
+
const { types: b } = Ot, g = ((w = (v = this._userTypes.get(u)) == null ? void 0 : v[0]) == null ? void 0 : w.fields) || ((P = (D = b.get(u)) == null ? void 0 : D[0]) == null ? void 0 : P.fields);
|
59148
59158
|
if (g)
|
59149
|
-
for (const
|
59150
|
-
const M =
|
59159
|
+
for (const O of g) {
|
59160
|
+
const M = O.name, F = O.type, R = this._getInstanceTypeCompletionItemProp({ name: M, type: F });
|
59151
59161
|
this._setUserVariableSubItems({ name: M, type: F }, i.name), l.push({ ...R });
|
59152
59162
|
}
|
59153
59163
|
l.length && this._mergeUserCompletions(m, l);
|
@@ -59224,8 +59234,8 @@ class jg {
|
|
59224
59234
|
const w = this._getNamespaceCompletionItem(g[0]);
|
59225
59235
|
if (a) {
|
59226
59236
|
p.push({ ...w });
|
59227
|
-
const
|
59228
|
-
w.label =
|
59237
|
+
const P = `${a}.${w.label}`;
|
59238
|
+
w.label = P, w.insertText = P;
|
59229
59239
|
}
|
59230
59240
|
const D = this._getFunctionCompletionItems(v, w.label, l);
|
59231
59241
|
a || (l ? this._userOutermostNsItems.set(m, w) : this._outermostNsItems.set(m, w)), u.push(...D);
|
@@ -59242,7 +59252,7 @@ class jg {
|
|
59242
59252
|
return p.length && a && (l ? this._mergeUserCompletions(a, p) : this._mergeCompletions(a, p)), u;
|
59243
59253
|
}
|
59244
59254
|
_getSnippetsCompletionsList() {
|
59245
|
-
return
|
59255
|
+
return Pg.map((i) => {
|
59246
59256
|
const { label: a, kind: l, insertText: u } = i, p = a.charAt(0).toUpperCase() + a.substring(1), m = {
|
59247
59257
|
value: this._formatter.pineCode(u.replace(/\${\d:([^}]+)}|\${\d}/g, "$1"))
|
59248
59258
|
};
|
@@ -59266,8 +59276,8 @@ class jg {
|
|
59266
59276
|
const m = /* @__PURE__ */ new Map();
|
59267
59277
|
u.value.reduce((v, w) => {
|
59268
59278
|
const D = w.args;
|
59269
|
-
return D && D.length && D.forEach((
|
59270
|
-
v.set(
|
59279
|
+
return D && D.length && D.forEach((P) => {
|
59280
|
+
v.set(P.name, P);
|
59271
59281
|
}), v;
|
59272
59282
|
}, m);
|
59273
59283
|
const b = this._getNamedArgumentsCompletionList([...m.values()]), g = a ? `${a}.${p}` : p;
|
@@ -59284,8 +59294,8 @@ class jg {
|
|
59284
59294
|
const m = /* @__PURE__ */ new Map();
|
59285
59295
|
u.value.reduce((v, w) => {
|
59286
59296
|
const D = w.args;
|
59287
|
-
return D && D.length && D.forEach((
|
59288
|
-
v.set(
|
59297
|
+
return D && D.length && D.forEach((P) => {
|
59298
|
+
v.set(P.name, P);
|
59289
59299
|
}), v;
|
59290
59300
|
}, m);
|
59291
59301
|
const b = this._getNamedArgumentsCompletionList([...m.values()]), g = a ? `${a}.${p}` : p;
|
@@ -59376,19 +59386,19 @@ class jg {
|
|
59376
59386
|
};
|
59377
59387
|
}
|
59378
59388
|
_getFunctionCompletionItem(i, a = 2, l = !0) {
|
59379
|
-
var
|
59380
|
-
const u = i.returnedTypes && i.returnedTypes[0] || i.syntax && i.syntax[0] && ((
|
59389
|
+
var O;
|
59390
|
+
const u = i.returnedTypes && i.returnedTypes[0] || i.syntax && i.syntax[0] && ((O = i.syntax[0].split("→").pop()) == null ? void 0 : O.trim()), p = this._extractExamples(i), m = this._extractDescription(i), b = [this._createDescriptionSection(m)];
|
59381
59391
|
p.length ? b.push(this._createExampleSection(p)) : i.syntax && i.syntax.length && b.push(this._createSyntaxSection(i.syntax)), i.returns && i.returns.length && b.push(this._createReturnSection(i.returns));
|
59382
59392
|
const g = {
|
59383
59393
|
value: b.join(this._formatter.lineBreak)
|
59384
|
-
}, v = i.name, w = l ? De.functions : De.userDefinedFunction, D = i.template,
|
59394
|
+
}, v = i.name, w = l ? De.functions : De.userDefinedFunction, D = i.template, P = D ? `${Lg(v)}<\${1}>` : v;
|
59385
59395
|
return {
|
59386
59396
|
documentation: g,
|
59387
59397
|
label: D ? `${v.replace(/<.+>/, "")}<type>` : v,
|
59388
59398
|
kind: zt.CompletionItemKind.Function,
|
59389
59399
|
sortText: `${a}_${v}`,
|
59390
59400
|
insertTextRules: zt.CompletionItemInsertTextRule.InsertAsSnippet,
|
59391
|
-
insertText:
|
59401
|
+
insertText: P + this._bracketsPostfix,
|
59392
59402
|
detail: `(${w}) ${De.returns} ${u}`,
|
59393
59403
|
command: {
|
59394
59404
|
id: "tcc.editor.function",
|
@@ -59502,13 +59512,13 @@ class Ug {
|
|
59502
59512
|
return null;
|
59503
59513
|
}
|
59504
59514
|
_getBuildInFunc(i) {
|
59505
|
-
return
|
59515
|
+
return Ot.functions.get(i);
|
59506
59516
|
}
|
59507
59517
|
_getBuildInMethod(i) {
|
59508
|
-
return
|
59518
|
+
return Ot.methods.get(i);
|
59509
59519
|
}
|
59510
59520
|
_getBuildInOther(i) {
|
59511
|
-
const { keywords: a, variables: l, constants: u, types: p } =
|
59521
|
+
const { keywords: a, variables: l, constants: u, types: p } = Ot;
|
59512
59522
|
return a.get(i) || l.get(i) || u.get(i) || p.get(i);
|
59513
59523
|
}
|
59514
59524
|
parseCurrentInputFunc(i, a = !1, l = !1) {
|
@@ -59617,27 +59627,27 @@ class Ug {
|
|
59617
59627
|
var p, m;
|
59618
59628
|
if (a.includes(".")) {
|
59619
59629
|
const b = a.split(".");
|
59620
|
-
let g = b[0], v, w = null, D = i.indexOf(a, l - a.length) + 1,
|
59621
|
-
for (const
|
59630
|
+
let g = b[0], v, w = null, D = i.indexOf(a, l - a.length) + 1, P = D + g.length - 1;
|
59631
|
+
for (const O of b.slice(1)) {
|
59622
59632
|
if (!w) {
|
59623
|
-
const M = D <= l &&
|
59633
|
+
const M = D <= l && P >= l, F = this._getUserVariablesDocVal(g, l, u);
|
59624
59634
|
if (M && F)
|
59625
59635
|
return F;
|
59626
59636
|
w = F == null ? void 0 : F.type;
|
59627
59637
|
}
|
59628
59638
|
if (w) {
|
59629
|
-
v = w, D =
|
59630
|
-
const M = this._userTypes.get(w) ||
|
59631
|
-
if (F && D <= l &&
|
59639
|
+
v = w, D = P + 2, P = P + O.length + 1;
|
59640
|
+
const M = this._userTypes.get(w) || Ot.types.get(w), F = (m = (p = M == null ? void 0 : M[0]) == null ? void 0 : p.fields) == null ? void 0 : m.find((R) => R.name === O);
|
59641
|
+
if (F && D <= l && P >= l)
|
59632
59642
|
return {
|
59633
|
-
name: `${w}.${
|
59643
|
+
name: `${w}.${O}`,
|
59634
59644
|
desc: F.desc,
|
59635
59645
|
type: this._arrayTypeTransform(F.type),
|
59636
59646
|
title: De.field
|
59637
59647
|
};
|
59638
59648
|
w = F == null ? void 0 : F.type;
|
59639
59649
|
} else
|
59640
|
-
g = `${g}.${
|
59650
|
+
g = `${g}.${O}`, P = P + O.length + 1;
|
59641
59651
|
}
|
59642
59652
|
return v;
|
59643
59653
|
}
|
@@ -59732,7 +59742,7 @@ var $s = { exports: {} };
|
|
59732
59742
|
$s.exports;
|
59733
59743
|
(function(s, i) {
|
59734
59744
|
(function() {
|
59735
|
-
var a, l = "4.17.21", u = 200, p = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", m = "Expected a function", b = "Invalid `variable` option passed into `_.template`", g = "__lodash_hash_undefined__", v = 500, w = "__lodash_placeholder__", D = 1,
|
59745
|
+
var a, l = "4.17.21", u = 200, p = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", m = "Expected a function", b = "Invalid `variable` option passed into `_.template`", g = "__lodash_hash_undefined__", v = 500, w = "__lodash_placeholder__", D = 1, P = 2, O = 4, M = 1, F = 2, R = 1, Y = 2, H = 4, fe = 8, oe = 16, Q = 32, ce = 64, J = 128, Se = 256, _e = 512, ae = 30, at = "...", ft = 800, Oe = 16, Ee = 1, B = 2, te = 3, ze = 1 / 0, Re = 9007199254740991, Et = 17976931348623157e292, Wt = NaN, X = 4294967295, ge = X - 1, Le = X >>> 1, Ht = [
|
59736
59746
|
["ary", J],
|
59737
59747
|
["bind", R],
|
59738
59748
|
["bindKey", Y],
|
@@ -59742,16 +59752,16 @@ $s.exports;
|
|
59742
59752
|
["partial", Q],
|
59743
59753
|
["partialRight", ce],
|
59744
59754
|
["rearg", Se]
|
59745
|
-
], Xe = "[object Arguments]", ar = "[object Array]", ra = "[object AsyncFunction]", Rt = "[object Boolean]", $t = "[object Date]", zr = "[object DOMException]", Nr = "[object Error]", gr = "[object Function]", Ua = "[object GeneratorFunction]", st = "[object Map]", Lt = "[object Number]",
|
59746
|
-
Fr + "?" + Rn + "+" + jn + "(?=" + [
|
59747
|
-
Tu + "+" + Un + "(?=" + [
|
59755
|
+
], Xe = "[object Arguments]", ar = "[object Array]", ra = "[object AsyncFunction]", Rt = "[object Boolean]", $t = "[object Date]", zr = "[object DOMException]", Nr = "[object Error]", gr = "[object Function]", Ua = "[object GeneratorFunction]", st = "[object Map]", Lt = "[object Number]", Pr = "[object Null]", yt = "[object Object]", aa = "[object Promise]", Or = "[object Proxy]", br = "[object RegExp]", it = "[object Set]", Xt = "[object String]", Er = "[object Symbol]", Vs = "[object Undefined]", sr = "[object WeakMap]", Wa = "[object WeakSet]", Dt = "[object ArrayBuffer]", ir = "[object DataView]", Rr = "[object Float32Array]", Lr = "[object Float64Array]", xr = "[object Int8Array]", sa = "[object Int16Array]", ia = "[object Int32Array]", na = "[object Uint8Array]", oa = "[object Uint8ClampedArray]", la = "[object Uint16Array]", ca = "[object Uint32Array]", Qs = /\b__p \+= '';/g, ua = /\b(__p \+=) '' \+/g, Ha = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Gt = /&(?:amp|lt|gt|quot|#39);/g, Mr = /[&<>"']/g, da = RegExp(Gt.source), $a = RegExp(Mr.source), Zs = /<%-([\s\S]+?)%>/g, Xa = /<%([\s\S]+?)%>/g, Ga = /<%=([\s\S]+?)%>/g, Ka = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Ya = /^\w*$/, Js = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, pa = /[\\^$.*+?()[\]{}|]/g, Va = RegExp(pa.source), ma = /^\s+/, ei = /\s/, ti = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, ri = /\{\n\/\* \[wrapped with (.+)\] \*/, y = /,? & /, S = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, z = /[()=,{}\[\]\/\s]/, $ = /\\(\\)?/g, ue = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, pe = /\w*$/, ie = /^[-+]0x[0-9a-f]+$/i, re = /^0b[01]+$/i, Be = /^\[object .+?Constructor\]$/, Te = /^0o[0-7]+$/i, ke = /^(?:0|[1-9]\d*)$/, Qe = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, kt = /($^)/, Qa = /['\n\r\u2028\u2029\\]/g, Ze = "\\ud800-\\udfff", mu = "\\u0300-\\u036f", fu = "\\ufe20-\\ufe2f", yu = "\\u20d0-\\u20ff", qn = mu + fu + yu, Cn = "\\u2700-\\u27bf", Sn = "a-z\\xdf-\\xf6\\xf8-\\xff", hu = "\\xac\\xb1\\xd7\\xf7", _u = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", gu = "\\u2000-\\u206f", bu = " \\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", zn = "A-Z\\xc0-\\xd6\\xd8-\\xde", Nn = "\\ufe0e\\ufe0f", Pn = hu + _u + gu + bu, ai = "['’]", xu = "[" + Ze + "]", On = "[" + Pn + "]", Za = "[" + qn + "]", En = "\\d+", vu = "[" + Cn + "]", Rn = "[" + Sn + "]", Ln = "[^" + Ze + Pn + En + Cn + Sn + zn + "]", si = "\\ud83c[\\udffb-\\udfff]", wu = "(?:" + Za + "|" + si + ")", Mn = "[^" + Ze + "]", ii = "(?:\\ud83c[\\udde6-\\uddff]){2}", ni = "[\\ud800-\\udbff][\\udc00-\\udfff]", Fr = "[" + zn + "]", Fn = "\\u200d", Bn = "(?:" + Rn + "|" + Ln + ")", Tu = "(?:" + Fr + "|" + Ln + ")", jn = "(?:" + ai + "(?:d|ll|m|re|s|t|ve))?", Un = "(?:" + ai + "(?:D|LL|M|RE|S|T|VE))?", Wn = wu + "?", Hn = "[" + Nn + "]?", Iu = "(?:" + Fn + "(?:" + [Mn, ii, ni].join("|") + ")" + Hn + Wn + ")*", Du = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", ku = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", $n = Hn + Wn + Iu, Au = "(?:" + [vu, ii, ni].join("|") + ")" + $n, qu = "(?:" + [Mn + Za + "?", Za, ii, ni, xu].join("|") + ")", Cu = RegExp(ai, "g"), Su = RegExp(Za, "g"), oi = RegExp(si + "(?=" + si + ")|" + qu + $n, "g"), zu = RegExp([
|
59756
|
+
Fr + "?" + Rn + "+" + jn + "(?=" + [On, Fr, "$"].join("|") + ")",
|
59757
|
+
Tu + "+" + Un + "(?=" + [On, Fr + Bn, "$"].join("|") + ")",
|
59748
59758
|
Fr + "?" + Bn + "+" + jn,
|
59749
59759
|
Fr + "+" + Un,
|
59750
59760
|
ku,
|
59751
59761
|
Du,
|
59752
59762
|
En,
|
59753
59763
|
Au
|
59754
|
-
].join("|"), "g"), Nu = RegExp("[" + Fn + Ze + qn + Nn + "]"),
|
59764
|
+
].join("|"), "g"), Nu = RegExp("[" + Fn + Ze + qn + Nn + "]"), Pu = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/, Ou = [
|
59755
59765
|
"Array",
|
59756
59766
|
"Buffer",
|
59757
59767
|
"DataView",
|
@@ -60202,7 +60212,7 @@ $s.exports;
|
|
60202
60212
|
return Nu.test(_);
|
60203
60213
|
}
|
60204
60214
|
function ad(_) {
|
60205
|
-
return
|
60215
|
+
return Pu.test(_);
|
60206
60216
|
}
|
60207
60217
|
function sd(_) {
|
60208
60218
|
for (var k, T = []; !(k = _.next()).done; )
|
@@ -60275,7 +60285,7 @@ $s.exports;
|
|
60275
60285
|
return _.match(zu) || [];
|
60276
60286
|
}
|
60277
60287
|
var pd = function _(k) {
|
60278
|
-
k = k == null ? je : Wr.defaults(je.Object(), k, Wr.pick(je,
|
60288
|
+
k = k == null ? je : Wr.defaults(je.Object(), k, Wr.pick(je, Ou));
|
60279
60289
|
var T = k.Array, E = k.Date, G = k.Error, de = k.Function, Ne = k.Math, be = k.Object, bi = k.RegExp, md = k.String, gt = k.TypeError, rs = T.prototype, fd = de.prototype, Hr = be.prototype, as = k["__core-js_shared__"], ss = fd.toString, ye = Hr.hasOwnProperty, yd = 0, uo = function() {
|
60280
60290
|
var e = /[^.]+$/.exec(as && as.keys && as.keys.IE_PROTO || "");
|
60281
60291
|
return e ? "Symbol(src)_1." + e : "";
|
@@ -60287,7 +60297,7 @@ $s.exports;
|
|
60287
60297
|
return e({}, "", {}), e;
|
60288
60298
|
} catch {
|
60289
60299
|
}
|
60290
|
-
}(), bd = k.clearTimeout !== je.clearTimeout && k.clearTimeout, xd = E && E.now !== je.Date.now && E.now, vd = k.setTimeout !== je.setTimeout && k.setTimeout, ds = Ne.ceil, ps = Ne.floor, xi = be.getOwnPropertySymbols, wd = ns ? ns.isBuffer : a, ho = k.isFinite, Td = rs.join, Id = lo(be.keys, be),
|
60300
|
+
}(), bd = k.clearTimeout !== je.clearTimeout && k.clearTimeout, xd = E && E.now !== je.Date.now && E.now, vd = k.setTimeout !== je.setTimeout && k.setTimeout, ds = Ne.ceil, ps = Ne.floor, xi = be.getOwnPropertySymbols, wd = ns ? ns.isBuffer : a, ho = k.isFinite, Td = rs.join, Id = lo(be.keys, be), Pe = Ne.max, We = Ne.min, Dd = E.now, kd = k.parseInt, _o = Ne.random, Ad = rs.reverse, vi = Ar(k, "DataView"), ha = Ar(k, "Map"), wi = Ar(k, "Promise"), $r = Ar(k, "Set"), _a = Ar(k, "WeakMap"), ga = Ar(be, "create"), ms = _a && new _a(), Xr = {}, qd = qr(vi), Cd = qr(ha), Sd = qr(wi), zd = qr($r), Nd = qr(_a), fs = cr ? cr.prototype : a, ba = fs ? fs.valueOf : a, go = fs ? fs.toString : a;
|
60291
60301
|
function c(e) {
|
60292
60302
|
if (Ae(e) && !K(e) && !(e instanceof ne)) {
|
60293
60303
|
if (e instanceof bt)
|
@@ -60363,11 +60373,11 @@ $s.exports;
|
|
60363
60373
|
function ne(e) {
|
60364
60374
|
this.__wrapped__ = e, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = X, this.__views__ = [];
|
60365
60375
|
}
|
60366
|
-
function
|
60376
|
+
function Pd() {
|
60367
60377
|
var e = new ne(this.__wrapped__);
|
60368
60378
|
return e.__actions__ = Je(this.__actions__), e.__dir__ = this.__dir__, e.__filtered__ = this.__filtered__, e.__iteratees__ = Je(this.__iteratees__), e.__takeCount__ = this.__takeCount__, e.__views__ = Je(this.__views__), e;
|
60369
60379
|
}
|
60370
|
-
function
|
60380
|
+
function Od() {
|
60371
60381
|
if (this.__filtered__) {
|
60372
60382
|
var e = new ne(this);
|
60373
60383
|
e.__dir__ = -1, e.__filtered__ = !0;
|
@@ -60539,7 +60549,7 @@ $s.exports;
|
|
60539
60549
|
}
|
60540
60550
|
function xo(e) {
|
60541
60551
|
var t = e.length;
|
60542
|
-
return t ? e[
|
60552
|
+
return t ? e[Pi(0, t - 1)] : a;
|
60543
60553
|
}
|
60544
60554
|
function sp(e, t) {
|
60545
60555
|
return Cs(Je(e), Dr(t, 0, e.length));
|
@@ -60588,7 +60598,7 @@ $s.exports;
|
|
60588
60598
|
return e === e && (r !== a && (e = e <= r ? e : r), t !== a && (e = e >= t ? e : t)), e;
|
60589
60599
|
}
|
60590
60600
|
function xt(e, t, r, n, o, d) {
|
60591
|
-
var f, h = t & D, x = t &
|
60601
|
+
var f, h = t & D, x = t & P, A = t & O;
|
60592
60602
|
if (r && (f = o ? r(e, n, o, d) : r(e)), f !== a)
|
60593
60603
|
return f;
|
60594
60604
|
if (!Ie(e))
|
@@ -60724,7 +60734,7 @@ $s.exports;
|
|
60724
60734
|
return K(e) ? n : or(n, r(e));
|
60725
60735
|
}
|
60726
60736
|
function Ge(e) {
|
60727
|
-
return e == null ? e === a ? Vs :
|
60737
|
+
return e == null ? e === a ? Vs : Pr : wr && wr in be(e) ? Xp(e) : im(e);
|
60728
60738
|
}
|
60729
60739
|
function Ai(e, t) {
|
60730
60740
|
return e > t;
|
@@ -60736,7 +60746,7 @@ $s.exports;
|
|
60736
60746
|
return e != null && t in be(e);
|
60737
60747
|
}
|
60738
60748
|
function mp(e, t, r) {
|
60739
|
-
return e >= We(t, r) && e <
|
60749
|
+
return e >= We(t, r) && e < Pe(t, r);
|
60740
60750
|
}
|
60741
60751
|
function qi(e, t, r) {
|
60742
60752
|
for (var n = r ? ui : Ja, o = e[0].length, d = e.length, f = d, h = T(d), x = 1 / 0, A = []; f--; ) {
|
@@ -60845,7 +60855,7 @@ $s.exports;
|
|
60845
60855
|
return Ae(e) && Es(e.length) && !!ve[Ge(e)];
|
60846
60856
|
}
|
60847
60857
|
function So(e) {
|
60848
|
-
return typeof e == "function" ? e : e == null ? rt : typeof e == "object" ? K(e) ?
|
60858
|
+
return typeof e == "function" ? e : e == null ? rt : typeof e == "object" ? K(e) ? Po(e[0], e[1]) : No(e) : Zl(e);
|
60849
60859
|
}
|
60850
60860
|
function Si(e) {
|
60851
60861
|
if (!ka(e))
|
@@ -60878,7 +60888,7 @@ $s.exports;
|
|
60878
60888
|
return r === e || Ci(r, e, t);
|
60879
60889
|
};
|
60880
60890
|
}
|
60881
|
-
function
|
60891
|
+
function Po(e, t) {
|
60882
60892
|
return Ki(e) && dl(t) ? pl(Bt(e), t) : function(r) {
|
60883
60893
|
var n = sn(r, e);
|
60884
60894
|
return n === a && n === t ? nn(r, e) : Ta(t, n, M | F);
|
@@ -60907,7 +60917,7 @@ $s.exports;
|
|
60907
60917
|
}
|
60908
60918
|
C && (f.set(x, q), o(q, x, n, d, f), f.delete(x)), Ti(e, r, q);
|
60909
60919
|
}
|
60910
|
-
function
|
60920
|
+
function Oo(e, t) {
|
60911
60921
|
var r = e.length;
|
60912
60922
|
if (r)
|
60913
60923
|
return t += t < 0 ? r : 0, Jt(t, r) ? e[t] : a;
|
@@ -60964,15 +60974,15 @@ $s.exports;
|
|
60964
60974
|
}
|
60965
60975
|
return e;
|
60966
60976
|
}
|
60967
|
-
function
|
60977
|
+
function Pi(e, t) {
|
60968
60978
|
return e + ps(_o() * (t - e + 1));
|
60969
60979
|
}
|
60970
60980
|
function kp(e, t, r, n) {
|
60971
|
-
for (var o = -1, d =
|
60981
|
+
for (var o = -1, d = Pe(ds((t - e) / (r || 1)), 0), f = T(d); d--; )
|
60972
60982
|
f[n ? d : ++o] = e, e += r;
|
60973
60983
|
return f;
|
60974
60984
|
}
|
60975
|
-
function
|
60985
|
+
function Oi(e, t) {
|
60976
60986
|
var r = "";
|
60977
60987
|
if (!e || t < 1 || t > Re)
|
60978
60988
|
return r;
|
@@ -61166,11 +61176,11 @@ $s.exports;
|
|
61166
61176
|
var t = new e.constructor(e.byteLength);
|
61167
61177
|
return new os(t).set(new os(e)), t;
|
61168
61178
|
}
|
61169
|
-
function
|
61179
|
+
function Pp(e, t) {
|
61170
61180
|
var r = t ? Bi(e.buffer) : e.buffer;
|
61171
61181
|
return new e.constructor(r, e.byteOffset, e.byteLength);
|
61172
61182
|
}
|
61173
|
-
function
|
61183
|
+
function Op(e) {
|
61174
61184
|
var t = new e.constructor(e.source, pe.exec(e));
|
61175
61185
|
return t.lastIndex = e.lastIndex, t;
|
61176
61186
|
}
|
@@ -61204,7 +61214,7 @@ $s.exports;
|
|
61204
61214
|
return e.index - t.index;
|
61205
61215
|
}
|
61206
61216
|
function Ko(e, t, r, n) {
|
61207
|
-
for (var o = -1, d = e.length, f = r.length, h = -1, x = t.length, A =
|
61217
|
+
for (var o = -1, d = e.length, f = r.length, h = -1, x = t.length, A = Pe(d - f, 0), q = T(x + A), C = !n; ++h < x; )
|
61208
61218
|
q[h] = t[h];
|
61209
61219
|
for (; ++o < f; )
|
61210
61220
|
(C || o < d) && (q[r[o]] = e[o]);
|
@@ -61213,7 +61223,7 @@ $s.exports;
|
|
61213
61223
|
return q;
|
61214
61224
|
}
|
61215
61225
|
function Yo(e, t, r, n) {
|
61216
|
-
for (var o = -1, d = e.length, f = -1, h = r.length, x = -1, A = t.length, q =
|
61226
|
+
for (var o = -1, d = e.length, f = -1, h = r.length, x = -1, A = t.length, q = Pe(d - h, 0), C = T(q + A), N = !n; ++o < q; )
|
61217
61227
|
C[o] = e[o];
|
61218
61228
|
for (var L = o; ++x < A; )
|
61219
61229
|
C[L + x] = t[x];
|
@@ -61445,8 +61455,8 @@ $s.exports;
|
|
61445
61455
|
t = t === a ? " " : lt(t);
|
61446
61456
|
var r = t.length;
|
61447
61457
|
if (r < 2)
|
61448
|
-
return r ?
|
61449
|
-
var n =
|
61458
|
+
return r ? Oi(t, e) : t;
|
61459
|
+
var n = Oi(t, ds(e / Ur(t)));
|
61450
61460
|
return jr(t) ? mr(At(n), 0, e).join("") : n.slice(0, e);
|
61451
61461
|
}
|
61452
61462
|
function jp(e, t, r, n) {
|
@@ -61511,7 +61521,7 @@ $s.exports;
|
|
61511
61521
|
if (!x && typeof e != "function")
|
61512
61522
|
throw new gt(m);
|
61513
61523
|
var A = n ? n.length : 0;
|
61514
|
-
if (A || (t &= ~(Q | ce), n = o = a), f = f === a ? f :
|
61524
|
+
if (A || (t &= ~(Q | ce), n = o = a), f = f === a ? f : Pe(V(f), 0), h = h === a ? h : V(h), A -= o ? o.length : 0, t & ce) {
|
61515
61525
|
var q = n, C = o;
|
61516
61526
|
n = o = a;
|
61517
61527
|
}
|
@@ -61527,7 +61537,7 @@ $s.exports;
|
|
61527
61537
|
f,
|
61528
61538
|
h
|
61529
61539
|
];
|
61530
|
-
if (N && am(L, N), e = L[0], t = L[1], r = L[2], n = L[3], o = L[4], h = L[9] = L[9] === a ? x ? 0 : e.length :
|
61540
|
+
if (N && am(L, N), e = L[0], t = L[1], r = L[2], n = L[3], o = L[4], h = L[9] = L[9] === a ? x ? 0 : e.length : Pe(L[9] - A, 0), !h && t & (fe | oe) && (t &= ~(fe | oe)), !t || t == R)
|
61531
61541
|
var U = Fp(e, t, r);
|
61532
61542
|
else
|
61533
61543
|
t == fe || t == oe ? U = Bp(e, t, h) : (t == Q || t == (R | Q)) && !o.length ? U = jp(e, t, r, n) : U = Ts.apply(a, L);
|
@@ -61735,7 +61745,7 @@ $s.exports;
|
|
61735
61745
|
t = We(t, e + f);
|
61736
61746
|
break;
|
61737
61747
|
case "takeRight":
|
61738
|
-
e =
|
61748
|
+
e = Pe(e, t - f);
|
61739
61749
|
break;
|
61740
61750
|
}
|
61741
61751
|
}
|
@@ -61771,7 +61781,7 @@ $s.exports;
|
|
61771
61781
|
case $t:
|
61772
61782
|
return new n(+e);
|
61773
61783
|
case ir:
|
61774
|
-
return
|
61784
|
+
return Pp(e, r);
|
61775
61785
|
case Rr:
|
61776
61786
|
case Lr:
|
61777
61787
|
case xr:
|
@@ -61788,7 +61798,7 @@ $s.exports;
|
|
61788
61798
|
case Xt:
|
61789
61799
|
return new n(e);
|
61790
61800
|
case br:
|
61791
|
-
return
|
61801
|
+
return Op(e);
|
61792
61802
|
case it:
|
61793
61803
|
return new n();
|
61794
61804
|
case Er:
|
@@ -61853,7 +61863,7 @@ $s.exports;
|
|
61853
61863
|
};
|
61854
61864
|
}
|
61855
61865
|
function rm(e) {
|
61856
|
-
var t =
|
61866
|
+
var t = Ps(e, function(n) {
|
61857
61867
|
return r.size === v && r.clear(), n;
|
61858
61868
|
}), r = t.cache;
|
61859
61869
|
return t;
|
@@ -61881,8 +61891,8 @@ $s.exports;
|
|
61881
61891
|
return is.call(e);
|
61882
61892
|
}
|
61883
61893
|
function ml(e, t, r) {
|
61884
|
-
return t =
|
61885
|
-
for (var n = arguments, o = -1, d =
|
61894
|
+
return t = Pe(t === a ? e.length - 1 : t, 0), function() {
|
61895
|
+
for (var n = arguments, o = -1, d = Pe(n.length - t, 0), f = T(d); ++o < d; )
|
61886
61896
|
f[o] = n[t + o];
|
61887
61897
|
o = -1;
|
61888
61898
|
for (var h = T(t + 1); ++o < t; )
|
@@ -61914,7 +61924,7 @@ $s.exports;
|
|
61914
61924
|
function _l(e) {
|
61915
61925
|
var t = 0, r = 0;
|
61916
61926
|
return function() {
|
61917
|
-
var n = Dd(), o =
|
61927
|
+
var n = Dd(), o = Oe - (n - r);
|
61918
61928
|
if (r = n, o > 0) {
|
61919
61929
|
if (++t >= ft)
|
61920
61930
|
return arguments[0];
|
@@ -61926,7 +61936,7 @@ $s.exports;
|
|
61926
61936
|
function Cs(e, t) {
|
61927
61937
|
var r = -1, n = e.length, o = n - 1;
|
61928
61938
|
for (t = t === a ? n : t; ++r < t; ) {
|
61929
|
-
var d =
|
61939
|
+
var d = Pi(r, o), f = e[d];
|
61930
61940
|
e[d] = e[r], e[r] = f;
|
61931
61941
|
}
|
61932
61942
|
return e.length = t, e;
|
@@ -61969,7 +61979,7 @@ $s.exports;
|
|
61969
61979
|
return t.__actions__ = Je(e.__actions__), t.__index__ = e.__index__, t.__values__ = e.__values__, t;
|
61970
61980
|
}
|
61971
61981
|
function lm(e, t, r) {
|
61972
|
-
(r ? Ke(e, t, r) : t === a) ? t = 1 : t =
|
61982
|
+
(r ? Ke(e, t, r) : t === a) ? t = 1 : t = Pe(V(t), 0);
|
61973
61983
|
var n = e == null ? 0 : e.length;
|
61974
61984
|
if (!n || t < 1)
|
61975
61985
|
return [];
|
@@ -62024,14 +62034,14 @@ $s.exports;
|
|
62024
62034
|
if (!n)
|
62025
62035
|
return -1;
|
62026
62036
|
var o = r == null ? 0 : V(r);
|
62027
|
-
return o < 0 && (o =
|
62037
|
+
return o < 0 && (o = Pe(n + o, 0)), es(e, j(t, 3), o);
|
62028
62038
|
}
|
62029
62039
|
function vl(e, t, r) {
|
62030
62040
|
var n = e == null ? 0 : e.length;
|
62031
62041
|
if (!n)
|
62032
62042
|
return -1;
|
62033
62043
|
var o = n - 1;
|
62034
|
-
return r !== a && (o = V(r), o = r < 0 ?
|
62044
|
+
return r !== a && (o = V(r), o = r < 0 ? Pe(n + o, 0) : We(o, n - 1)), es(e, j(t, 3), o, !0);
|
62035
62045
|
}
|
62036
62046
|
function wl(e) {
|
62037
62047
|
var t = e == null ? 0 : e.length;
|
@@ -62060,7 +62070,7 @@ $s.exports;
|
|
62060
62070
|
if (!n)
|
62061
62071
|
return -1;
|
62062
62072
|
var o = r == null ? 0 : V(r);
|
62063
|
-
return o < 0 && (o =
|
62073
|
+
return o < 0 && (o = Pe(n + o, 0)), Br(e, t, o);
|
62064
62074
|
}
|
62065
62075
|
function Tm(e) {
|
62066
62076
|
var t = e == null ? 0 : e.length;
|
@@ -62088,10 +62098,10 @@ $s.exports;
|
|
62088
62098
|
if (!n)
|
62089
62099
|
return -1;
|
62090
62100
|
var o = n;
|
62091
|
-
return r !== a && (o = V(r), o = o < 0 ?
|
62101
|
+
return r !== a && (o = V(r), o = o < 0 ? Pe(n + o, 0) : We(o, n - 1)), t === t ? od(e, t, o) : es(e, ro, o, !0);
|
62092
62102
|
}
|
62093
62103
|
function Cm(e, t) {
|
62094
|
-
return e && e.length ?
|
62104
|
+
return e && e.length ? Oo(e, V(t)) : a;
|
62095
62105
|
}
|
62096
62106
|
var Sm = ee(Il);
|
62097
62107
|
function Il(e, t) {
|
@@ -62103,13 +62113,13 @@ $s.exports;
|
|
62103
62113
|
function Nm(e, t, r) {
|
62104
62114
|
return e && e.length && t && t.length ? Ni(e, t, a, r) : e;
|
62105
62115
|
}
|
62106
|
-
var
|
62116
|
+
var Pm = Zt(function(e, t) {
|
62107
62117
|
var r = e == null ? 0 : e.length, n = Ii(e, t);
|
62108
62118
|
return Lo(e, we(t, function(o) {
|
62109
62119
|
return Jt(o, r) ? +o : o;
|
62110
62120
|
}).sort(Go)), n;
|
62111
62121
|
});
|
62112
|
-
function
|
62122
|
+
function Om(e, t) {
|
62113
62123
|
var r = [];
|
62114
62124
|
if (!(e && e.length))
|
62115
62125
|
return r;
|
@@ -62204,7 +62214,7 @@ $s.exports;
|
|
62204
62214
|
var t = 0;
|
62205
62215
|
return e = nr(e, function(r) {
|
62206
62216
|
if (qe(r))
|
62207
|
-
return t =
|
62217
|
+
return t = Pe(r.length, t), !0;
|
62208
62218
|
}), hi(t, function(r) {
|
62209
62219
|
return we(e, mi(r));
|
62210
62220
|
});
|
@@ -62333,7 +62343,7 @@ $s.exports;
|
|
62333
62343
|
function qf(e, t, r, n) {
|
62334
62344
|
e = et(e) ? e : Zr(e), r = r && !n ? V(r) : 0;
|
62335
62345
|
var o = e.length;
|
62336
|
-
return r < 0 && (r =
|
62346
|
+
return r < 0 && (r = Pe(o + r, 0)), Rs(e) ? r <= o && e.indexOf(t, r) > -1 : !!o && Br(e, t, r) > -1;
|
62337
62347
|
}
|
62338
62348
|
var Cf = ee(function(e, t, r) {
|
62339
62349
|
var n = -1, o = typeof t == "function", d = et(e) ? T(e.length) : [];
|
@@ -62355,17 +62365,17 @@ $s.exports;
|
|
62355
62365
|
}, function() {
|
62356
62366
|
return [[], []];
|
62357
62367
|
});
|
62358
|
-
function
|
62368
|
+
function Pf(e, t, r) {
|
62359
62369
|
var n = K(e) ? di : so, o = arguments.length < 3;
|
62360
62370
|
return n(e, j(t, 4), r, o, ur);
|
62361
62371
|
}
|
62362
|
-
function
|
62372
|
+
function Of(e, t, r) {
|
62363
62373
|
var n = K(e) ? $u : so, o = arguments.length < 3;
|
62364
62374
|
return n(e, j(t, 4), r, o, Io);
|
62365
62375
|
}
|
62366
62376
|
function Ef(e, t) {
|
62367
62377
|
var r = K(e) ? nr : Do;
|
62368
|
-
return r(e,
|
62378
|
+
return r(e, Os(j(t, 3)));
|
62369
62379
|
}
|
62370
62380
|
function Rf(e) {
|
62371
62381
|
var t = K(e) ? xo : Ap;
|
@@ -62439,16 +62449,16 @@ $s.exports;
|
|
62439
62449
|
var n = Qt(e, fe, a, a, a, a, a, t);
|
62440
62450
|
return n.placeholder = Nl.placeholder, n;
|
62441
62451
|
}
|
62442
|
-
function
|
62452
|
+
function Pl(e, t, r) {
|
62443
62453
|
t = r ? a : t;
|
62444
62454
|
var n = Qt(e, oe, a, a, a, a, a, t);
|
62445
|
-
return n.placeholder =
|
62455
|
+
return n.placeholder = Pl.placeholder, n;
|
62446
62456
|
}
|
62447
|
-
function
|
62457
|
+
function Ol(e, t, r) {
|
62448
62458
|
var n, o, d, f, h, x, A = 0, q = !1, C = !1, N = !0;
|
62449
62459
|
if (typeof e != "function")
|
62450
62460
|
throw new gt(m);
|
62451
|
-
t = Tt(t) || 0, Ie(r) && (q = !!r.leading, C = "maxWait" in r, d = C ?
|
62461
|
+
t = Tt(t) || 0, Ie(r) && (q = !!r.leading, C = "maxWait" in r, d = C ? Pe(Tt(r.maxWait) || 0, t) : d, N = "trailing" in r ? !!r.trailing : N);
|
62452
62462
|
function L(Ce) {
|
62453
62463
|
var St = n, rr = o;
|
62454
62464
|
return n = o = a, A = Ce, f = e.apply(rr, St), f;
|
@@ -62499,7 +62509,7 @@ $s.exports;
|
|
62499
62509
|
function $f(e) {
|
62500
62510
|
return Qt(e, _e);
|
62501
62511
|
}
|
62502
|
-
function
|
62512
|
+
function Ps(e, t) {
|
62503
62513
|
if (typeof e != "function" || t != null && typeof t != "function")
|
62504
62514
|
throw new gt(m);
|
62505
62515
|
var r = function() {
|
@@ -62509,10 +62519,10 @@ $s.exports;
|
|
62509
62519
|
var f = e.apply(this, n);
|
62510
62520
|
return r.cache = d.set(o, f) || d, f;
|
62511
62521
|
};
|
62512
|
-
return r.cache = new (
|
62522
|
+
return r.cache = new (Ps.Cache || Yt)(), r;
|
62513
62523
|
}
|
62514
|
-
|
62515
|
-
function
|
62524
|
+
Ps.Cache = Yt;
|
62525
|
+
function Os(e) {
|
62516
62526
|
if (typeof e != "function")
|
62517
62527
|
throw new gt(m);
|
62518
62528
|
return function() {
|
@@ -62558,7 +62568,7 @@ $s.exports;
|
|
62558
62568
|
function Vf(e, t) {
|
62559
62569
|
if (typeof e != "function")
|
62560
62570
|
throw new gt(m);
|
62561
|
-
return t = t == null ? 0 :
|
62571
|
+
return t = t == null ? 0 : Pe(V(t), 0), ee(function(r) {
|
62562
62572
|
var n = r[t], o = mr(r, 0, t);
|
62563
62573
|
return n && or(o, n), nt(e, this, o);
|
62564
62574
|
});
|
@@ -62567,7 +62577,7 @@ $s.exports;
|
|
62567
62577
|
var n = !0, o = !0;
|
62568
62578
|
if (typeof e != "function")
|
62569
62579
|
throw new gt(m);
|
62570
|
-
return Ie(r) && (n = "leading" in r ? !!r.leading : n, o = "trailing" in r ? !!r.trailing : o),
|
62580
|
+
return Ie(r) && (n = "leading" in r ? !!r.leading : n, o = "trailing" in r ? !!r.trailing : o), Ol(e, t, {
|
62571
62581
|
leading: n,
|
62572
62582
|
maxWait: t,
|
62573
62583
|
trailing: o
|
@@ -62586,16 +62596,16 @@ $s.exports;
|
|
62586
62596
|
return K(e) ? e : [e];
|
62587
62597
|
}
|
62588
62598
|
function ty(e) {
|
62589
|
-
return xt(e,
|
62599
|
+
return xt(e, O);
|
62590
62600
|
}
|
62591
62601
|
function ry(e, t) {
|
62592
|
-
return t = typeof t == "function" ? t : a, xt(e,
|
62602
|
+
return t = typeof t == "function" ? t : a, xt(e, O, t);
|
62593
62603
|
}
|
62594
62604
|
function ay(e) {
|
62595
|
-
return xt(e, D |
|
62605
|
+
return xt(e, D | O);
|
62596
62606
|
}
|
62597
62607
|
function sy(e, t) {
|
62598
|
-
return t = typeof t == "function" ? t : a, xt(e, D |
|
62608
|
+
return t = typeof t == "function" ? t : a, xt(e, D | O, t);
|
62599
62609
|
}
|
62600
62610
|
function iy(e, t) {
|
62601
62611
|
return t == null || wo(e, t, Me(t));
|
@@ -62659,7 +62669,7 @@ $s.exports;
|
|
62659
62669
|
if (!Ie(e))
|
62660
62670
|
return !1;
|
62661
62671
|
var t = Ge(e);
|
62662
|
-
return t == gr || t == Ua || t == ra || t ==
|
62672
|
+
return t == gr || t == Ua || t == ra || t == Or;
|
62663
62673
|
}
|
62664
62674
|
function Rl(e) {
|
62665
62675
|
return typeof e == "number" && e == V(e);
|
@@ -62799,7 +62809,7 @@ $s.exports;
|
|
62799
62809
|
var r = Gr(e);
|
62800
62810
|
return t == null ? r : vo(r, t);
|
62801
62811
|
}
|
62802
|
-
var
|
62812
|
+
var Py = ee(function(e, t) {
|
62803
62813
|
e = be(e);
|
62804
62814
|
var r = -1, n = t.length, o = n > 2 ? t[2] : a;
|
62805
62815
|
for (o && Ke(t[0], t[1], o) && (n = 1); ++r < n; )
|
@@ -62808,7 +62818,7 @@ $s.exports;
|
|
62808
62818
|
(q === a || Ct(q, Hr[A]) && !ye.call(e, A)) && (e[A] = d[A]);
|
62809
62819
|
}
|
62810
62820
|
return e;
|
62811
|
-
}),
|
62821
|
+
}), Oy = ee(function(e) {
|
62812
62822
|
return e.push(a, nl), nt(Hl, a, e);
|
62813
62823
|
});
|
62814
62824
|
function Ey(e, t) {
|
@@ -62879,13 +62889,13 @@ $s.exports;
|
|
62879
62889
|
var n = !1;
|
62880
62890
|
t = we(t, function(d) {
|
62881
62891
|
return d = pr(d, e), n || (n = d.length > 1), d;
|
62882
|
-
}), Ft(e, Hi(e), r), n && (r = xt(r, D |
|
62892
|
+
}), Ft(e, Hi(e), r), n && (r = xt(r, D | P | O, Wp));
|
62883
62893
|
for (var o = t.length; o--; )
|
62884
62894
|
Ri(r, t[o]);
|
62885
62895
|
return r;
|
62886
62896
|
});
|
62887
62897
|
function Qy(e, t) {
|
62888
|
-
return $l(e,
|
62898
|
+
return $l(e, Os(j(t)));
|
62889
62899
|
}
|
62890
62900
|
var Zy = Zt(function(e, t) {
|
62891
62901
|
return e == null ? {} : Ip(e, t);
|
@@ -62956,7 +62966,7 @@ $s.exports;
|
|
62956
62966
|
var o = _o();
|
62957
62967
|
return We(e + o * (t - e + Bu("1e-" + ((o + "").length - 1))), t);
|
62958
62968
|
}
|
62959
|
-
return
|
62969
|
+
return Pi(e, t);
|
62960
62970
|
}
|
62961
62971
|
var uh = Yr(function(e, t, r) {
|
62962
62972
|
return t = t.toLowerCase(), e + (r ? Kl(t) : t);
|
@@ -63007,7 +63017,7 @@ $s.exports;
|
|
63007
63017
|
return r || t == null ? t = 0 : t && (t = +t), kd(me(e).replace(ma, ""), t || 0);
|
63008
63018
|
}
|
63009
63019
|
function vh(e, t, r) {
|
63010
|
-
return (r ? Ke(e, t, r) : t === a) ? t = 1 : t = V(t),
|
63020
|
+
return (r ? Ke(e, t, r) : t === a) ? t = 1 : t = V(t), Oi(me(e), t);
|
63011
63021
|
}
|
63012
63022
|
function wh() {
|
63013
63023
|
var e = arguments, t = me(e[0]);
|
@@ -63095,7 +63105,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
63095
63105
|
var n = At(e), o = no(n, At(t));
|
63096
63106
|
return mr(n, o).join("");
|
63097
63107
|
}
|
63098
|
-
function
|
63108
|
+
function Ph(e, t) {
|
63099
63109
|
var r = ae, n = at;
|
63100
63110
|
if (Ie(t)) {
|
63101
63111
|
var o = "separator" in t ? t.separator : o;
|
@@ -63128,7 +63138,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
63128
63138
|
}
|
63129
63139
|
return x + n;
|
63130
63140
|
}
|
63131
|
-
function
|
63141
|
+
function Oh(e) {
|
63132
63142
|
return e = me(e), e && da.test(e) ? e.replace(Gt, ld) : e;
|
63133
63143
|
}
|
63134
63144
|
var Eh = Yr(function(e, t, r) {
|
@@ -63184,7 +63194,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
63184
63194
|
return No(xt(e, D));
|
63185
63195
|
}
|
63186
63196
|
function Wh(e, t) {
|
63187
|
-
return
|
63197
|
+
return Po(e, xt(t, D));
|
63188
63198
|
}
|
63189
63199
|
var Hh = ee(function(e, t) {
|
63190
63200
|
return function(r) {
|
@@ -63218,7 +63228,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
63218
63228
|
}
|
63219
63229
|
function Gh(e) {
|
63220
63230
|
return e = V(e), ee(function(t) {
|
63221
|
-
return
|
63231
|
+
return Oo(t, e);
|
63222
63232
|
});
|
63223
63233
|
}
|
63224
63234
|
var Kh = ji(we), Yh = ji(eo), Vh = ji(pi);
|
@@ -63296,7 +63306,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
63296
63306
|
function x_(e, t) {
|
63297
63307
|
return e && e.length ? yi(e, j(t, 2)) : 0;
|
63298
63308
|
}
|
63299
|
-
return c.after = Uf, c.ary = Cl, c.assign = Cy, c.assignIn = Wl, c.assignInWith = Ls, c.assignWith = Sy, c.at = zy, c.before = Sl, c.bind = en, c.bindAll = Rh, c.bindKey = zl, c.castArray = ey, c.chain = kl, c.chunk = lm, c.compact = cm, c.concat = um, c.cond = Lh, c.conforms = Mh, c.constant = ln, c.countBy = bf, c.create = Ny, c.curry = Nl, c.curryRight =
|
63309
|
+
return c.after = Uf, c.ary = Cl, c.assign = Cy, c.assignIn = Wl, c.assignInWith = Ls, c.assignWith = Sy, c.at = zy, c.before = Sl, c.bind = en, c.bindAll = Rh, c.bindKey = zl, c.castArray = ey, c.chain = kl, c.chunk = lm, c.compact = cm, c.concat = um, c.cond = Lh, c.conforms = Mh, c.constant = ln, c.countBy = bf, c.create = Ny, c.curry = Nl, c.curryRight = Pl, c.debounce = Ol, c.defaults = Py, c.defaultsDeep = Oy, c.defer = Wf, c.delay = Hf, c.difference = dm, c.differenceBy = pm, c.differenceWith = mm, c.drop = fm, c.dropRight = ym, c.dropRightWhile = hm, c.dropWhile = _m, c.fill = gm, c.filter = vf, c.flatMap = If, c.flatMapDeep = Df, c.flatMapDepth = kf, c.flatten = wl, c.flattenDeep = bm, c.flattenDepth = xm, c.flip = $f, c.flow = Bh, c.flowRight = jh, c.fromPairs = vm, c.functions = jy, c.functionsIn = Uy, c.groupBy = Af, c.initial = Tm, c.intersection = Im, c.intersectionBy = Dm, c.intersectionWith = km, c.invert = Hy, c.invertBy = $y, c.invokeMap = Cf, c.iteratee = cn, c.keyBy = Sf, c.keys = Me, c.keysIn = tt, c.map = zs, c.mapKeys = Gy, c.mapValues = Ky, c.matches = Uh, c.matchesProperty = Wh, c.memoize = Ps, c.merge = Yy, c.mergeWith = Hl, c.method = Hh, c.methodOf = $h, c.mixin = un, c.negate = Os, c.nthArg = Gh, c.omit = Vy, c.omitBy = Qy, c.once = Xf, c.orderBy = zf, c.over = Kh, c.overArgs = Gf, c.overEvery = Yh, c.overSome = Vh, c.partial = tn, c.partialRight = El, c.partition = Nf, c.pick = Zy, c.pickBy = $l, c.property = Zl, c.propertyOf = Qh, c.pull = Sm, c.pullAll = Il, c.pullAllBy = zm, c.pullAllWith = Nm, c.pullAt = Pm, c.range = Zh, c.rangeRight = Jh, c.rearg = Kf, c.reject = Ef, c.remove = Om, c.rest = Yf, c.reverse = Zi, c.sampleSize = Lf, c.set = eh, c.setWith = th, c.shuffle = Mf, c.slice = Em, c.sortBy = jf, c.sortedUniq = Um, c.sortedUniqBy = Wm, c.split = Ih, c.spread = Vf, c.tail = Hm, c.take = $m, c.takeRight = Xm, c.takeRightWhile = Gm, c.takeWhile = Km, c.tap = uf, c.throttle = Qf, c.thru = Ss, c.toArray = Bl, c.toPairs = Xl, c.toPairsIn = Gl, c.toPath = s_, c.toPlainObject = Ul, c.transform = rh, c.unary = Zf, c.union = Ym, c.unionBy = Vm, c.unionWith = Qm, c.uniq = Zm, c.uniqBy = Jm, c.uniqWith = ef, c.unset = ah, c.unzip = Ji, c.unzipWith = Dl, c.update = sh, c.updateWith = ih, c.values = Zr, c.valuesIn = nh, c.without = tf, c.words = Vl, c.wrap = Jf, c.xor = rf, c.xorBy = af, c.xorWith = sf, c.zip = nf, c.zipObject = of, c.zipObjectDeep = lf, c.zipWith = cf, c.entries = Xl, c.entriesIn = Gl, c.extend = Wl, c.extendWith = Ls, un(c, c), c.add = n_, c.attempt = Ql, c.camelCase = uh, c.capitalize = Kl, c.ceil = o_, c.clamp = oh, c.clone = ty, c.cloneDeep = ay, c.cloneDeepWith = sy, c.cloneWith = ry, c.conformsTo = iy, c.deburr = Yl, c.defaultTo = Fh, c.divide = l_, c.endsWith = dh, c.eq = Ct, c.escape = ph, c.escapeRegExp = mh, c.every = xf, c.find = wf, c.findIndex = xl, c.findKey = Ey, c.findLast = Tf, c.findLastIndex = vl, c.findLastKey = Ry, c.floor = c_, c.forEach = Al, c.forEachRight = ql, c.forIn = Ly, c.forInRight = My, c.forOwn = Fy, c.forOwnRight = By, c.get = sn, c.gt = ny, c.gte = oy, c.has = Wy, c.hasIn = nn, c.head = Tl, c.identity = rt, c.includes = qf, c.indexOf = wm, c.inRange = lh, c.invoke = Xy, c.isArguments = Cr, c.isArray = K, c.isArrayBuffer = ly, c.isArrayLike = et, c.isArrayLikeObject = qe, c.isBoolean = cy, c.isBuffer = fr, c.isDate = uy, c.isElement = dy, c.isEmpty = py, c.isEqual = my, c.isEqualWith = fy, c.isError = rn, c.isFinite = yy, c.isFunction = er, c.isInteger = Rl, c.isLength = Es, c.isMap = Ll, c.isMatch = hy, c.isMatchWith = _y, c.isNaN = gy, c.isNative = by, c.isNil = vy, c.isNull = xy, c.isNumber = Ml, c.isObject = Ie, c.isObjectLike = Ae, c.isPlainObject = qa, c.isRegExp = an, c.isSafeInteger = wy, c.isSet = Fl, c.isString = Rs, c.isSymbol = ct, c.isTypedArray = Qr, c.isUndefined = Ty, c.isWeakMap = Iy, c.isWeakSet = Dy, c.join = Am, c.kebabCase = fh, c.last = wt, c.lastIndexOf = qm, c.lowerCase = yh, c.lowerFirst = hh, c.lt = ky, c.lte = Ay, c.max = u_, c.maxBy = d_, c.mean = p_, c.meanBy = m_, c.min = f_, c.minBy = y_, c.stubArray = pn, c.stubFalse = mn, c.stubObject = e_, c.stubString = t_, c.stubTrue = r_, c.multiply = h_, c.nth = Cm, c.noConflict = Xh, c.noop = dn, c.now = Ns, c.pad = _h, c.padEnd = gh, c.padStart = bh, c.parseInt = xh, c.random = ch, c.reduce = Pf, c.reduceRight = Of, c.repeat = vh, c.replace = wh, c.result = Jy, c.round = __, c.runInContext = _, c.sample = Rf, c.size = Ff, c.snakeCase = Th, c.some = Bf, c.sortedIndex = Rm, c.sortedIndexBy = Lm, c.sortedIndexOf = Mm, c.sortedLastIndex = Fm, c.sortedLastIndexBy = Bm, c.sortedLastIndexOf = jm, c.startCase = Dh, c.startsWith = kh, c.subtract = g_, c.sum = b_, c.sumBy = x_, c.template = Ah, c.times = a_, c.toFinite = tr, c.toInteger = V, c.toLength = jl, c.toLower = qh, c.toNumber = Tt, c.toSafeInteger = qy, c.toString = me, c.toUpper = Ch, c.trim = Sh, c.trimEnd = zh, c.trimStart = Nh, c.truncate = Ph, c.unescape = Oh, c.uniqueId = i_, c.upperCase = Eh, c.upperFirst = on, c.each = Al, c.eachRight = ql, c.first = Tl, un(c, function() {
|
63300
63310
|
var e = {};
|
63301
63311
|
return Mt(c, function(t, r) {
|
63302
63312
|
ye.call(c.prototype, r) || (e[r] = t);
|
@@ -63305,7 +63315,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
63305
63315
|
c[e].placeholder = c;
|
63306
63316
|
}), _t(["drop", "take"], function(e, t) {
|
63307
63317
|
ne.prototype[e] = function(r) {
|
63308
|
-
r = r === a ? 1 :
|
63318
|
+
r = r === a ? 1 : Pe(V(r), 0);
|
63309
63319
|
var n = this.__filtered__ && !t ? new ne(this) : this.clone();
|
63310
63320
|
return n.__filtered__ ? n.__takeCount__ = We(r, n.__takeCount__) : n.__views__.push({
|
63311
63321
|
size: We(r, X),
|
@@ -63344,7 +63354,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
63344
63354
|
return wa(r, e, t);
|
63345
63355
|
});
|
63346
63356
|
}), ne.prototype.reject = function(e) {
|
63347
|
-
return this.filter(
|
63357
|
+
return this.filter(Os(j(e)));
|
63348
63358
|
}, ne.prototype.slice = function(e, t) {
|
63349
63359
|
e = V(e);
|
63350
63360
|
var r = this;
|
@@ -63390,7 +63400,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
63390
63400
|
}), Xr[Ts(a, Y).name] = [{
|
63391
63401
|
name: "wrapper",
|
63392
63402
|
func: a
|
63393
|
-
}], ne.prototype.clone =
|
63403
|
+
}], ne.prototype.clone = Pd, ne.prototype.reverse = Od, ne.prototype.value = Ed, c.prototype.at = df, c.prototype.chain = pf, c.prototype.commit = mf, c.prototype.next = ff, c.prototype.plant = hf, c.prototype.reverse = _f, c.prototype.toJSON = c.prototype.valueOf = c.prototype.value = gf, c.prototype.first = c.prototype.head, ya && (c.prototype[ya] = yf), c;
|
63394
63404
|
}, Wr = pd();
|
63395
63405
|
vr ? ((vr.exports = Wr)._ = Wr, li._ = Wr) : je._ = Wr;
|
63396
63406
|
}).call(Ca);
|
@@ -63994,7 +64004,7 @@ class Xg {
|
|
63994
64004
|
};
|
63995
64005
|
}
|
63996
64006
|
_getFuncItems(i) {
|
63997
|
-
return
|
64007
|
+
return Ot.functions.get(i) || ta.userFuncs.get(i) || ta.methodFuncs.get(i);
|
63998
64008
|
}
|
63999
64009
|
_getSequentialSignatures(i, a) {
|
64000
64010
|
return a.map((l) => {
|
@@ -64163,8 +64173,8 @@ function Yg(s, i) {
|
|
64163
64173
|
};
|
64164
64174
|
let w = dc(ta.getSuggestions(m) || [], v);
|
64165
64175
|
if (u[0] === "." && (w = []), g && !m && !/=\s*\w+$/.test(l)) {
|
64166
|
-
const
|
64167
|
-
w = w.concat(
|
64176
|
+
const P = dc(ta.getArgSuggestions(g.funcName) || [], v);
|
64177
|
+
w = w.concat(P);
|
64168
64178
|
}
|
64169
64179
|
return {
|
64170
64180
|
suggestions: w || []
|
@@ -64188,20 +64198,20 @@ function Vg(s, i) {
|
|
64188
64198
|
};
|
64189
64199
|
}
|
64190
64200
|
function Qg(s, i) {
|
64191
|
-
var D,
|
64201
|
+
var D, P;
|
64192
64202
|
const a = {
|
64193
64203
|
startLineNumber: i.lineNumber,
|
64194
64204
|
endLineNumber: i.lineNumber,
|
64195
64205
|
startColumn: 1,
|
64196
64206
|
endColumn: i.column
|
64197
|
-
}, l = s.getValueInRange(a), u = s.findMatches(String(Hg), a, !0, !1, null, !0), p = s.findMatches(String($g), a, !0, !1, null, !0), m = (D = u.pop()) == null ? void 0 : D.matches, b = (
|
64207
|
+
}, l = s.getValueInRange(a), u = s.findMatches(String(Hg), a, !0, !1, null, !0), p = s.findMatches(String($g), a, !0, !1, null, !0), m = (D = u.pop()) == null ? void 0 : D.matches, b = (P = p.pop()) == null ? void 0 : P.matches;
|
64198
64208
|
let g = !1;
|
64199
64209
|
u.length % 2 === 0 ? m && m[0] === '"' && (g = !0) : m && !m[0] && (g = !0);
|
64200
64210
|
let v = !1;
|
64201
64211
|
p.length % 2 === 0 ? b && b[0] === "'" && (v = !0) : b && !b[0] && (v = !0);
|
64202
64212
|
const w = ja.parseCurrentInputFuncAndArg(l, v, g);
|
64203
64213
|
if (w) {
|
64204
|
-
const { funcName:
|
64214
|
+
const { funcName: O, args: M } = w, F = Gg.getSignatureHelpValues(O, M);
|
64205
64215
|
if (F)
|
64206
64216
|
return {
|
64207
64217
|
value: F,
|
@@ -64252,19 +64262,19 @@ function dc(s, i) {
|
|
64252
64262
|
return s.map((a) => (a.range = i, a));
|
64253
64263
|
}
|
64254
64264
|
const pc = "tcc_last_edited_script", au = "tcc_original_script", _n = "tcc_cursor_position";
|
64255
|
-
var
|
64265
|
+
var Oa = {}, Na = I_;
|
64256
64266
|
if (process.env.NODE_ENV === "production")
|
64257
|
-
|
64267
|
+
Oa.createRoot = Na.createRoot, Oa.hydrateRoot = Na.hydrateRoot;
|
64258
64268
|
else {
|
64259
64269
|
var Bs = Na.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
64260
|
-
|
64270
|
+
Oa.createRoot = function(s, i) {
|
64261
64271
|
Bs.usingClientEntryPoint = !0;
|
64262
64272
|
try {
|
64263
64273
|
return Na.createRoot(s, i);
|
64264
64274
|
} finally {
|
64265
64275
|
Bs.usingClientEntryPoint = !1;
|
64266
64276
|
}
|
64267
|
-
},
|
64277
|
+
}, Oa.hydrateRoot = function(s, i, a) {
|
64268
64278
|
Bs.usingClientEntryPoint = !0;
|
64269
64279
|
try {
|
64270
64280
|
return Na.hydrateRoot(s, i, a);
|
@@ -64307,7 +64317,7 @@ class sb {
|
|
64307
64317
|
configurable: !0,
|
64308
64318
|
writable: !0,
|
64309
64319
|
value: void 0
|
64310
|
-
}), this._id = i, this._domNode = document.createElement("div"), this._domNode.style.display = "none", this._domNode.style.width = l ? "calc(100% - 134px)" : "calc(100% - 14px)", this._domNode.style.height = "200px", a == null || a.onDidScrollChange(this.scrollChangeHandler.bind(this)),
|
64320
|
+
}), this._id = i, this._domNode = document.createElement("div"), this._domNode.style.display = "none", this._domNode.style.width = l ? "calc(100% - 134px)" : "calc(100% - 14px)", this._domNode.style.height = "200px", a == null || a.onDidScrollChange(this.scrollChangeHandler.bind(this)), Oa.createRoot(this._domNode).render(pt.jsx(ab, { ref: (u) => this._content = u, close: () => this._close(), retracement: this._retracement })), this._top = 0;
|
64311
64321
|
}
|
64312
64322
|
_close() {
|
64313
64323
|
this._domNode.style.display = "none";
|
@@ -64350,7 +64360,7 @@ _r.prototype = {
|
|
64350
64360
|
i = this.castInput(i), a = this.castInput(a), i = this.removeEmpty(this.tokenize(i)), a = this.removeEmpty(this.tokenize(a));
|
64351
64361
|
var g = a.length, v = i.length, w = 1, D = g + v;
|
64352
64362
|
u.maxEditLength && (D = Math.min(D, u.maxEditLength));
|
64353
|
-
var
|
64363
|
+
var P = (l = u.timeout) !== null && l !== void 0 ? l : 1 / 0, O = Date.now() + P, M = [{
|
64354
64364
|
oldPos: -1,
|
64355
64365
|
lastComponent: void 0
|
64356
64366
|
}], F = this.extractCommon(M[0], a, i, 0);
|
@@ -64383,13 +64393,13 @@ _r.prototype = {
|
|
64383
64393
|
if (p)
|
64384
64394
|
(function oe() {
|
64385
64395
|
setTimeout(function() {
|
64386
|
-
if (w > D || Date.now() >
|
64396
|
+
if (w > D || Date.now() > O)
|
64387
64397
|
return p();
|
64388
64398
|
H() || oe();
|
64389
64399
|
}, 0);
|
64390
64400
|
})();
|
64391
64401
|
else
|
64392
|
-
for (; w <= D && Date.now() <=
|
64402
|
+
for (; w <= D && Date.now() <= O; ) {
|
64393
64403
|
var fe = H();
|
64394
64404
|
if (fe)
|
64395
64405
|
return fe;
|
@@ -64449,16 +64459,16 @@ function ib(s, i, a, l, u) {
|
|
64449
64459
|
var D = p[b];
|
64450
64460
|
if (D.removed) {
|
64451
64461
|
if (D.value = s.join(l.slice(w, w + D.count)), w += D.count, b && p[b - 1].added) {
|
64452
|
-
var
|
64453
|
-
p[b - 1] = p[b], p[b] =
|
64462
|
+
var O = p[b - 1];
|
64463
|
+
p[b - 1] = p[b], p[b] = O;
|
64454
64464
|
}
|
64455
64465
|
} else {
|
64456
64466
|
if (!D.added && u) {
|
64457
|
-
var
|
64458
|
-
|
64467
|
+
var P = a.slice(v, v + D.count);
|
64468
|
+
P = P.map(function(F, R) {
|
64459
64469
|
var Y = l[w + R];
|
64460
64470
|
return Y.length > F.length ? Y : F;
|
64461
|
-
}), D.value = s.join(
|
64471
|
+
}), D.value = s.join(P);
|
64462
64472
|
} else
|
64463
64473
|
D.value = s.join(a.slice(v, v + D.count));
|
64464
64474
|
v += D.count, D.added || (w += D.count);
|
@@ -64640,14 +64650,14 @@ class ub {
|
|
64640
64650
|
this._editor.addOverlayWidget(a), this._onMouseDownListener = this._editor.onMouseDown((l) => this._onMouseDownHandle(l, i)), this._diffPopupWidget = a;
|
64641
64651
|
}
|
64642
64652
|
_onMouseDownHandle(i, a) {
|
64643
|
-
var b, g, v, w, D,
|
64653
|
+
var b, g, v, w, D, P;
|
64644
64654
|
const l = (b = i.target.element) == null ? void 0 : b.classList, u = l == null ? void 0 : l.contains(`line-${$e.added}`), p = l == null ? void 0 : l.contains(`line-${$e.modified}`), m = l == null ? void 0 : l.contains(`line-${$e.removed}`);
|
64645
64655
|
if (u || p || m) {
|
64646
|
-
const
|
64647
|
-
(
|
64656
|
+
const O = ((v = (g = i == null ? void 0 : i.target) == null ? void 0 : g.position) == null ? void 0 : v.lineNumber) || 0, M = ((w = this._editor) == null ? void 0 : w.getTopForLineNumber(O + 1)) || 0, F = ((D = this._editor) == null ? void 0 : D.getScrollTop()) || 0, R = u ? $e.added : p ? $e.modified : $e.removed;
|
64657
|
+
(P = this._diffPopupWidget) == null || P.show(M - F, M, R), this._diffEditor || (this._diffEditor = this._createDiffEditor(a)), this._diffEditor.setModel({
|
64648
64658
|
original: this._originalModel,
|
64649
64659
|
modified: this._editor.getModel()
|
64650
|
-
}), this._diffEditor.revealLineInCenter(
|
64660
|
+
}), this._diffEditor.revealLineInCenter(O + 1);
|
64651
64661
|
}
|
64652
64662
|
}
|
64653
64663
|
_createDiffEditor(i = "vs-dark") {
|
@@ -64830,7 +64840,7 @@ function lu(s, i = globalThis, a = ["*"]) {
|
|
64830
64840
|
const { id: p, type: m, path: b } = Object.assign({ path: [] }, u.data), g = (u.data.argumentList || []).map(Sr);
|
64831
64841
|
let v;
|
64832
64842
|
try {
|
64833
|
-
const w = b.slice(0, -1).reduce((
|
64843
|
+
const w = b.slice(0, -1).reduce((P, O) => P[O], s), D = b.reduce((P, O) => P[O], s);
|
64834
64844
|
switch (m) {
|
64835
64845
|
case "GET":
|
64836
64846
|
v = D;
|
@@ -64843,14 +64853,14 @@ function lu(s, i = globalThis, a = ["*"]) {
|
|
64843
64853
|
break;
|
64844
64854
|
case "CONSTRUCT":
|
64845
64855
|
{
|
64846
|
-
const
|
64847
|
-
v = wb(
|
64856
|
+
const P = new D(...g);
|
64857
|
+
v = wb(P);
|
64848
64858
|
}
|
64849
64859
|
break;
|
64850
64860
|
case "ENDPOINT":
|
64851
64861
|
{
|
64852
|
-
const { port1:
|
64853
|
-
lu(s,
|
64862
|
+
const { port1: P, port2: O } = new MessageChannel();
|
64863
|
+
lu(s, O), v = vb(P, [P]);
|
64854
64864
|
}
|
64855
64865
|
break;
|
64856
64866
|
case "RELEASE":
|
@@ -64863,14 +64873,14 @@ function lu(s, i = globalThis, a = ["*"]) {
|
|
64863
64873
|
v = { value: w, [Ws]: 0 };
|
64864
64874
|
}
|
64865
64875
|
Promise.resolve(v).catch((w) => ({ value: w, [Ws]: 0 })).then((w) => {
|
64866
|
-
const [D,
|
64867
|
-
i.postMessage(Object.assign(Object.assign({}, D), { id: p }),
|
64876
|
+
const [D, P] = Ks(w);
|
64877
|
+
i.postMessage(Object.assign(Object.assign({}, D), { id: p }), P), m === "RELEASE" && (i.removeEventListener("message", l), cu(i), gn in s && typeof s[gn] == "function" && s[gn]());
|
64868
64878
|
}).catch((w) => {
|
64869
|
-
const [D,
|
64879
|
+
const [D, P] = Ks({
|
64870
64880
|
value: new TypeError("Unserializable return value"),
|
64871
64881
|
[Ws]: 0
|
64872
64882
|
});
|
64873
|
-
i.postMessage(Object.assign(Object.assign({}, D), { id: p }),
|
64883
|
+
i.postMessage(Object.assign(Object.assign({}, D), { id: p }), P);
|
64874
64884
|
});
|
64875
64885
|
}), i.start && i.start();
|
64876
64886
|
}
|
@@ -65016,13 +65026,13 @@ function Jr(s, i, a) {
|
|
65016
65026
|
function Tb() {
|
65017
65027
|
return new Array(4).fill(0).map(() => Math.floor(Math.random() * Number.MAX_SAFE_INTEGER).toString(16)).join("-");
|
65018
65028
|
}
|
65019
|
-
const pu = new Worker(new URL("" + new URL("assets/scriptsRunWorker-
|
65029
|
+
const pu = new Worker(new URL("" + new URL("assets/scriptsRunWorker-CT7aptUT.js", import.meta.url).href, import.meta.url), { type: "module", name: "Run TccScript Server" });
|
65020
65030
|
pu.onerror = (s) => {
|
65021
65031
|
console.error(s);
|
65022
65032
|
};
|
65023
|
-
const Ib = An(pu), Db = An(new Worker(new URL("" + new URL("assets/parserTccWorker-
|
65033
|
+
const Ib = An(pu), Db = An(new Worker(new URL("" + new URL("assets/parserTccWorker-ClJL6TbY.js", import.meta.url).href, import.meta.url), { type: "module", name: "Parser TccScript Server" }));
|
65024
65034
|
async function kb(s, i = !1) {
|
65025
|
-
const { functions: a, types: l, constants: u, variables: p, methods: m } =
|
65035
|
+
const { functions: a, types: l, constants: u, variables: p, methods: m } = Ot;
|
65026
65036
|
return await Db(s, i, { functions: Object.fromEntries(a), methods: Object.fromEntries(m), types: Object.fromEntries(l), constants: Object.fromEntries(u), variables: Object.fromEntries(p) });
|
65027
65037
|
}
|
65028
65038
|
async function Ab(s, i, a = !0) {
|
@@ -65036,10 +65046,10 @@ function qb(s) {
|
|
65036
65046
|
}
|
65037
65047
|
);
|
65038
65048
|
}
|
65039
|
-
var
|
65049
|
+
var Pt;
|
65040
65050
|
(function(s) {
|
65041
65051
|
s.BOOL = "bool", s.INT = "int", s.FLOAT = "float", s.ARRAY = "array", s.BOX = "box", s.CHART_POINT = "chart.point", s.COLOR = "color", s.CONST = "const", s.LABEL = "label", s.LINE = "line", s.LINEFILL = "linefill", s.MAP = "map", s.MATRIX = "matrix", s.POLYLINE = "polyline", s.SERIES = "series", s.SIMPLE = "simple", s.STRING = "string", s.TABLE = "table", s.UNDETERMINED = "undetermined type", s.INPUT = "input", s.NA = "na", s.VOID = "void";
|
65042
|
-
})(
|
65052
|
+
})(Pt || (Pt = {}));
|
65043
65053
|
var hc;
|
65044
65054
|
(function(s) {
|
65045
65055
|
s.FlowStmt = "FlowStmt", s.DeclareAssign = "DeclareAssign", s.VarBlockStmt = "VarBlockStmt", s.VarSingle = "VarSingle", s.VarMultiple = "VarMultiple", s.ParenthesizedExpression = "ParenthesizedExpression", s.AdditiveExpression = "AdditiveExpression", s.RelationalExpression = "RelationalExpression", s.EqualityExpression = "EqualityExpression", s.TernaryExpression = "TernaryExpression", s.UnaryExpression = "UnaryExpression", s.NotExpression = "NotExpression", s.MemberIndexExpression = "MemberIndexExpression", s.MethodExpression = "MethodExpression", s.LogicalAndExpression = "LogicalAndExpression", s.LogicalOrExpression = "LogicalOrExpression", s.MultiplicativeExpression = "MultiplicativeExpression", s.Brackethesized = "Brackethesized", s.IfStatement = "IfStatement", s.ForToStatement = "ForToStatement", s.ForInStatement = "ForInStatement", s.SwitchStatement = "SwitchStatement", s.CaseClause = "CaseClause", s.DefaultCaluse = "DefaultCaluse", s.WhileStatement = "WhileStatement", s.ImportElement = "ImportElement", s.Literal = "Literal", s.ArrowFunction = "ArrowFunction", s.ArrowMethod = "ArrowMethod", s.TypeStatement = "TypeStatement", s.Name = "Name", s.AgainAssign = "AgainAssign";
|
@@ -65108,14 +65118,14 @@ var Nc;
|
|
65108
65118
|
(function(s) {
|
65109
65119
|
s.arrowdown = "arrowdown", s.arrowup = "arrowup", s.circle = "circle", s.cross = "cross", s.diamond = "diamond", s.flag = "flag", s.labeldown = "labeldown", s.labelup = "labelup", s.square = "square", s.triangledown = "triangledown", s.triangleup = "triangleup", s.xcross = "xcross";
|
65110
65120
|
})(Nc || (Nc = {}));
|
65111
|
-
var
|
65121
|
+
var Pc;
|
65112
65122
|
(function(s) {
|
65113
65123
|
s.auto = "auto", s.huge = "huge", s.large = "large", s.normal = "normal", s.small = "small", s.tiny = "tiny";
|
65114
|
-
})(
|
65115
|
-
var
|
65124
|
+
})(Pc || (Pc = {}));
|
65125
|
+
var Oc;
|
65116
65126
|
(function(s) {
|
65117
65127
|
s.cash = "cash", s.fixed = "fixed", s.percentOfEquity = "percent_of_equity";
|
65118
|
-
})(
|
65128
|
+
})(Oc || (Oc = {}));
|
65119
65129
|
var Ec;
|
65120
65130
|
(function(s) {
|
65121
65131
|
s.cashPerContract = "cash_per_contract", s.cashPerOrder = "cash_per_order", s.percent = "percent";
|
@@ -65148,8 +65158,8 @@ var Uc;
|
|
65148
65158
|
(function(s) {
|
65149
65159
|
s.traditional = "Traditional", s.fibonacci = "Fibonacci", s.woodie = "Woodie", s.classic = "Classic", s.dm = "DM", s.camarilla = "Camarilla";
|
65150
65160
|
})(Uc || (Uc = {}));
|
65151
|
-
|
65152
|
-
|
65161
|
+
Pt.SERIES, Pt.SIMPLE, Pt.INPUT, Pt.CONST;
|
65162
|
+
Pt.INT, Pt.FLOAT, Pt.BOOL, Pt.COLOR, Pt.STRING;
|
65153
65163
|
const Cb = {
|
65154
65164
|
domReadOnly: !0,
|
65155
65165
|
scrollBeyondLastLine: !1,
|
@@ -65195,15 +65205,15 @@ const Sb = (s, i) => {
|
|
65195
65205
|
var R, Y;
|
65196
65206
|
m ? (Y = D.current) == null || Y.addDiffDecorations() : (R = D.current) == null || R.removeDiffDecorations();
|
65197
65207
|
}, [m]);
|
65198
|
-
function
|
65208
|
+
function P(R, Y) {
|
65199
65209
|
var fe;
|
65200
65210
|
ta.initBuiltinsTrees(), D.current = new db(R, Y), m && ((fe = D.current) == null || fe.addDiffDecorations());
|
65201
65211
|
const H = R.getValue() + `
|
65202
65212
|
|
65203
65213
|
`;
|
65204
|
-
D.current.onChangeCursorPosition(w), g && g(H), !b &&
|
65214
|
+
D.current.onChangeCursorPosition(w), g && g(H), !b && O(H);
|
65205
65215
|
}
|
65206
|
-
const
|
65216
|
+
const O = La(async (R) => {
|
65207
65217
|
var B;
|
65208
65218
|
const Y = Date.now(), { errors: H, functions: fe, methods: oe, types: Q, variables: ce, overloadsFuncs: J, preParserCode: Se } = await kb(R), _e = new Map(Object.entries(fe)), ae = new Map(Object.entries(oe)), at = new Map(Object.entries(Q)), ft = new Map(Object.entries(ce));
|
65209
65219
|
ja.setUserDefined({
|
@@ -65212,7 +65222,7 @@ const Sb = (s, i) => {
|
|
65212
65222
|
types: at,
|
65213
65223
|
variables: ft
|
65214
65224
|
}, J), ta.setUserDefind(_e, at, ft, ae);
|
65215
|
-
const
|
65225
|
+
const Oe = H.map((te) => ({
|
65216
65226
|
...te,
|
65217
65227
|
severity: te.type || T_.Error
|
65218
65228
|
}));
|
@@ -65231,14 +65241,14 @@ const Sb = (s, i) => {
|
|
65231
65241
|
endColumn: 0
|
65232
65242
|
});
|
65233
65243
|
}
|
65234
|
-
(B = D.current) == null || B.setModelMarkers(
|
65244
|
+
(B = D.current) == null || B.setModelMarkers(Oe);
|
65235
65245
|
const Ee = Date.now();
|
65236
65246
|
console.log((Ee - Y) / 1e3);
|
65237
|
-
}, [v, b]), M = v_(() => Wg.debounce(
|
65247
|
+
}, [v, b]), M = v_(() => Wg.debounce(O, 1e3), [O]);
|
65238
65248
|
function F(R) {
|
65239
65249
|
var Y;
|
65240
65250
|
if (b) {
|
65241
|
-
|
65251
|
+
O(R || "");
|
65242
65252
|
return;
|
65243
65253
|
}
|
65244
65254
|
(Y = D.current) == null || Y.setModelMarkers([]), localStorage.setItem(pc, R || ""), R !== void 0 && (R = R + `
|
@@ -65263,7 +65273,7 @@ plot(close)
|
|
65263
65273
|
// },
|
65264
65274
|
// rulers: [80]
|
65265
65275
|
...p
|
65266
|
-
}, onMount:
|
65276
|
+
}, onMount: P, onChange: F });
|
65267
65277
|
}, Eb = Hc(Sb), Rb = (s) => {
|
65268
65278
|
const { theme: i, modified: a, original: l, height: u, width: p, renderSideBySide: m = !0 } = s, b = La((g, v) => {
|
65269
65279
|
v.languages.register({
|