@guihz/trading-vue-editor-tes 0.0.43 → 0.0.44
Sign up to get free protection for your applications and to get access to all the features.
@@ -34,12 +34,12 @@ function V_() {
|
|
34
34
|
if (bc)
|
35
35
|
return Os;
|
36
36
|
bc = 1;
|
37
|
-
var a = ir, n = Symbol.for("react.element"), s = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, l = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
|
37
|
+
var a = ir, n = Symbol.for("react.element"), s = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, l = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
|
38
38
|
function m(h, g, b) {
|
39
39
|
var w, T = {}, R = null, L = null;
|
40
40
|
b !== void 0 && (R = "" + b), g.key !== void 0 && (R = "" + g.key), g.ref !== void 0 && (L = g.ref);
|
41
41
|
for (w in g)
|
42
|
-
o.call(g, w) && !
|
42
|
+
o.call(g, w) && !u.hasOwnProperty(w) && (T[w] = g[w]);
|
43
43
|
if (h && h.defaultProps)
|
44
44
|
for (w in g = h.defaultProps, g)
|
45
45
|
T[w] === void 0 && (T[w] = g[w]);
|
@@ -60,45 +60,45 @@ var Ps = {};
|
|
60
60
|
var xc;
|
61
61
|
function Q_() {
|
62
62
|
return xc || (xc = 1, process.env.NODE_ENV !== "production" && function() {
|
63
|
-
var a = ir, n = Symbol.for("react.element"), s = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"),
|
63
|
+
var a = ir, n = Symbol.for("react.element"), s = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), h = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), w = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), L = Symbol.for("react.offscreen"), A = Symbol.iterator, z = "@@iterator";
|
64
64
|
function H(y) {
|
65
65
|
if (y === null || typeof y != "object")
|
66
66
|
return null;
|
67
|
-
var
|
68
|
-
return typeof
|
67
|
+
var P = A && y[A] || y[z];
|
68
|
+
return typeof P == "function" ? P : null;
|
69
69
|
}
|
70
70
|
var $ = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
71
|
-
function
|
71
|
+
function O(y) {
|
72
72
|
{
|
73
|
-
for (var
|
73
|
+
for (var P = arguments.length, F = new Array(P > 1 ? P - 1 : 0), Q = 1; Q < P; Q++)
|
74
74
|
F[Q - 1] = arguments[Q];
|
75
75
|
B("error", y, F);
|
76
76
|
}
|
77
77
|
}
|
78
|
-
function B(y,
|
78
|
+
function B(y, P, F) {
|
79
79
|
{
|
80
80
|
var Q = $.ReactDebugCurrentFrame, de = Q.getStackAddendum();
|
81
|
-
de !== "" && (
|
81
|
+
de !== "" && (P += "%s", F = F.concat([de]));
|
82
82
|
var he = F.map(function(le) {
|
83
83
|
return String(le);
|
84
84
|
});
|
85
|
-
he.unshift("Warning: " +
|
85
|
+
he.unshift("Warning: " + P), Function.prototype.apply.call(console[y], console, he);
|
86
86
|
}
|
87
87
|
}
|
88
88
|
var S = !1, M = !1, J = !1, X = !1, fe = !1, ye;
|
89
89
|
ye = Symbol.for("react.module.reference");
|
90
90
|
function oe(y) {
|
91
|
-
return !!(typeof y == "string" || typeof y == "function" || y === o || y ===
|
91
|
+
return !!(typeof y == "string" || typeof y == "function" || y === o || y === u || fe || y === l || y === b || y === w || X || y === L || S || M || J || typeof y == "object" && y !== null && (y.$$typeof === R || y.$$typeof === T || y.$$typeof === m || y.$$typeof === h || y.$$typeof === g || // This needs to include all possible module reference object
|
92
92
|
// types supported by any Flight configuration anywhere since
|
93
93
|
// we don't know which Flight build this will end up being used
|
94
94
|
// with.
|
95
95
|
y.$$typeof === ye || y.getModuleId !== void 0));
|
96
96
|
}
|
97
|
-
function bt(y,
|
97
|
+
function bt(y, P, F) {
|
98
98
|
var Q = y.displayName;
|
99
99
|
if (Q)
|
100
100
|
return Q;
|
101
|
-
var de =
|
101
|
+
var de = P.displayName || P.name || "";
|
102
102
|
return de !== "" ? F + "(" + de + ")" : F;
|
103
103
|
}
|
104
104
|
function St(y) {
|
@@ -107,7 +107,7 @@ function Q_() {
|
|
107
107
|
function Ee(y) {
|
108
108
|
if (y == null)
|
109
109
|
return null;
|
110
|
-
if (typeof y.tag == "number" &&
|
110
|
+
if (typeof y.tag == "number" && O("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof y == "function")
|
111
111
|
return y.displayName || y.name || null;
|
112
112
|
if (typeof y == "string")
|
113
113
|
return y;
|
@@ -116,7 +116,7 @@ function Q_() {
|
|
116
116
|
return "Fragment";
|
117
117
|
case s:
|
118
118
|
return "Portal";
|
119
|
-
case
|
119
|
+
case u:
|
120
120
|
return "Profiler";
|
121
121
|
case l:
|
122
122
|
return "StrictMode";
|
@@ -128,8 +128,8 @@ function Q_() {
|
|
128
128
|
if (typeof y == "object")
|
129
129
|
switch (y.$$typeof) {
|
130
130
|
case h:
|
131
|
-
var
|
132
|
-
return St(
|
131
|
+
var P = y;
|
132
|
+
return St(P) + ".Consumer";
|
133
133
|
case m:
|
134
134
|
var F = y;
|
135
135
|
return St(F._context) + ".Provider";
|
@@ -208,11 +208,11 @@ function Q_() {
|
|
208
208
|
})
|
209
209
|
});
|
210
210
|
}
|
211
|
-
G < 0 &&
|
211
|
+
G < 0 && O("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
212
212
|
}
|
213
213
|
}
|
214
214
|
var or = $.ReactCurrentDispatcher, ns;
|
215
|
-
function Ft(y,
|
215
|
+
function Ft(y, P, F) {
|
216
216
|
{
|
217
217
|
if (ns === void 0)
|
218
218
|
try {
|
@@ -230,7 +230,7 @@ function Q_() {
|
|
230
230
|
var Rr = typeof WeakMap == "function" ? WeakMap : Map;
|
231
231
|
Er = new Rr();
|
232
232
|
}
|
233
|
-
function
|
233
|
+
function wr(y, P) {
|
234
234
|
if (!y || Kt)
|
235
235
|
return "";
|
236
236
|
{
|
@@ -245,7 +245,7 @@ function Q_() {
|
|
245
245
|
var he;
|
246
246
|
he = or.current, or.current = null, Gt();
|
247
247
|
try {
|
248
|
-
if (
|
248
|
+
if (P) {
|
249
249
|
var le = function() {
|
250
250
|
throw Error();
|
251
251
|
};
|
@@ -301,18 +301,18 @@ function Q_() {
|
|
301
301
|
var Nt = y ? y.displayName || y.name : "", ta = Nt ? Ft(Nt) : "";
|
302
302
|
return typeof y == "function" && Er.set(y, ta), ta;
|
303
303
|
}
|
304
|
-
function Xs(y,
|
305
|
-
return
|
304
|
+
function Xs(y, P, F) {
|
305
|
+
return wr(y, !1);
|
306
306
|
}
|
307
307
|
function lt(y) {
|
308
|
-
var
|
309
|
-
return !!(
|
308
|
+
var P = y.prototype;
|
309
|
+
return !!(P && P.isReactComponent);
|
310
310
|
}
|
311
|
-
function jt(y,
|
311
|
+
function jt(y, P, F) {
|
312
312
|
if (y == null)
|
313
313
|
return "";
|
314
314
|
if (typeof y == "function")
|
315
|
-
return
|
315
|
+
return wr(y, lt(y));
|
316
316
|
if (typeof y == "string")
|
317
317
|
return Ft(y);
|
318
318
|
switch (y) {
|
@@ -326,11 +326,11 @@ function Q_() {
|
|
326
326
|
case g:
|
327
327
|
return Xs(y.render);
|
328
328
|
case T:
|
329
|
-
return jt(y.type,
|
329
|
+
return jt(y.type, P, F);
|
330
330
|
case R: {
|
331
331
|
var Q = y, de = Q._payload, he = Q._init;
|
332
332
|
try {
|
333
|
-
return jt(he(de),
|
333
|
+
return jt(he(de), P, F);
|
334
334
|
} catch {
|
335
335
|
}
|
336
336
|
}
|
@@ -340,12 +340,12 @@ function Q_() {
|
|
340
340
|
var Lr = Object.prototype.hasOwnProperty, xt = {}, is = $.ReactDebugCurrentFrame;
|
341
341
|
function Mr(y) {
|
342
342
|
if (y) {
|
343
|
-
var
|
343
|
+
var P = y._owner, F = jt(y.type, y._source, P ? P.type : null);
|
344
344
|
is.setExtraStackFrame(F);
|
345
345
|
} else
|
346
346
|
is.setExtraStackFrame(null);
|
347
347
|
}
|
348
|
-
function
|
348
|
+
function vr(y, P, F, Q, de) {
|
349
349
|
{
|
350
350
|
var he = Function.call.bind(Lr);
|
351
351
|
for (var le in y)
|
@@ -356,11 +356,11 @@ function Q_() {
|
|
356
356
|
var We = Error((Q || "React class") + ": " + F + " type `" + le + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof y[le] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
357
357
|
throw We.name = "Invariant Violation", We;
|
358
358
|
}
|
359
|
-
ne = y[le](
|
359
|
+
ne = y[le](P, le, Q, F, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
360
360
|
} catch (De) {
|
361
361
|
ne = De;
|
362
362
|
}
|
363
|
-
ne && !(ne instanceof Error) && (Mr(de),
|
363
|
+
ne && !(ne instanceof Error) && (Mr(de), O("%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).", Q || "React class", F, le, typeof ne), Mr(null)), ne instanceof Error && !(ne.message in xt) && (xt[ne.message] = !0, Mr(de), O("Failed %s type: %s", F, ne.message), Mr(null));
|
364
364
|
}
|
365
365
|
}
|
366
366
|
}
|
@@ -370,7 +370,7 @@ function Q_() {
|
|
370
370
|
}
|
371
371
|
function Fr(y) {
|
372
372
|
{
|
373
|
-
var
|
373
|
+
var P = typeof Symbol == "function" && Symbol.toStringTag, F = P && y[Symbol.toStringTag] || y.constructor.name || "Object";
|
374
374
|
return F;
|
375
375
|
}
|
376
376
|
}
|
@@ -386,41 +386,41 @@ function Q_() {
|
|
386
386
|
}
|
387
387
|
function Gs(y) {
|
388
388
|
if (an(y))
|
389
|
-
return
|
389
|
+
return O("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Fr(y)), lr(y);
|
390
390
|
}
|
391
391
|
var zt = $.ReactCurrentOwner, cr = {
|
392
392
|
key: !0,
|
393
393
|
ref: !0,
|
394
394
|
__self: !0,
|
395
395
|
__source: !0
|
396
|
-
}, jr, Br,
|
397
|
-
|
396
|
+
}, jr, Br, Tr;
|
397
|
+
Tr = {};
|
398
398
|
function os(y) {
|
399
399
|
if (Lr.call(y, "ref")) {
|
400
|
-
var
|
401
|
-
if (
|
400
|
+
var P = Object.getOwnPropertyDescriptor(y, "ref").get;
|
401
|
+
if (P && P.isReactWarning)
|
402
402
|
return !1;
|
403
403
|
}
|
404
404
|
return y.ref !== void 0;
|
405
405
|
}
|
406
406
|
function ls(y) {
|
407
407
|
if (Lr.call(y, "key")) {
|
408
|
-
var
|
409
|
-
if (
|
408
|
+
var P = Object.getOwnPropertyDescriptor(y, "key").get;
|
409
|
+
if (P && P.isReactWarning)
|
410
410
|
return !1;
|
411
411
|
}
|
412
412
|
return y.key !== void 0;
|
413
413
|
}
|
414
|
-
function cs(y,
|
415
|
-
if (typeof y.ref == "string" && zt.current &&
|
414
|
+
function cs(y, P) {
|
415
|
+
if (typeof y.ref == "string" && zt.current && P && zt.current.stateNode !== P) {
|
416
416
|
var F = Ee(zt.current.type);
|
417
|
-
|
417
|
+
Tr[F] || (O('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', Ee(zt.current.type), y.ref), Tr[F] = !0);
|
418
418
|
}
|
419
419
|
}
|
420
|
-
function us(y,
|
420
|
+
function us(y, P) {
|
421
421
|
{
|
422
422
|
var F = function() {
|
423
|
-
jr || (jr = !0,
|
423
|
+
jr || (jr = !0, O("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", P));
|
424
424
|
};
|
425
425
|
F.isReactWarning = !0, Object.defineProperty(y, "key", {
|
426
426
|
get: F,
|
@@ -428,10 +428,10 @@ function Q_() {
|
|
428
428
|
});
|
429
429
|
}
|
430
430
|
}
|
431
|
-
function ds(y,
|
431
|
+
function ds(y, P) {
|
432
432
|
{
|
433
433
|
var F = function() {
|
434
|
-
Br || (Br = !0,
|
434
|
+
Br || (Br = !0, O("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", P));
|
435
435
|
};
|
436
436
|
F.isReactWarning = !0, Object.defineProperty(y, "ref", {
|
437
437
|
get: F,
|
@@ -439,13 +439,13 @@ function Q_() {
|
|
439
439
|
});
|
440
440
|
}
|
441
441
|
}
|
442
|
-
var ps = function(y,
|
442
|
+
var ps = function(y, P, F, Q, de, he, le) {
|
443
443
|
var ne = {
|
444
444
|
// This tag allows us to uniquely identify this as a React Element
|
445
445
|
$$typeof: n,
|
446
446
|
// Built-in properties that belong on the element
|
447
447
|
type: y,
|
448
|
-
key:
|
448
|
+
key: P,
|
449
449
|
ref: F,
|
450
450
|
props: le,
|
451
451
|
// Record the component responsible for creating this element.
|
@@ -468,12 +468,12 @@ function Q_() {
|
|
468
468
|
value: de
|
469
469
|
}), Object.freeze && (Object.freeze(ne.props), Object.freeze(ne)), ne;
|
470
470
|
};
|
471
|
-
function nn(y,
|
471
|
+
function nn(y, P, F, Q, de) {
|
472
472
|
{
|
473
473
|
var he, le = {}, ne = null, We = null;
|
474
|
-
F !== void 0 && (Gs(F), ne = "" + F), ls(
|
475
|
-
for (he in
|
476
|
-
Lr.call(
|
474
|
+
F !== void 0 && (Gs(F), ne = "" + F), ls(P) && (Gs(P.key), ne = "" + P.key), os(P) && (We = P.ref, cs(P, de));
|
475
|
+
for (he in P)
|
476
|
+
Lr.call(P, he) && !cr.hasOwnProperty(he) && (le[he] = P[he]);
|
477
477
|
if (y && y.defaultProps) {
|
478
478
|
var De = y.defaultProps;
|
479
479
|
for (he in De)
|
@@ -489,7 +489,7 @@ function Q_() {
|
|
489
489
|
var ms = $.ReactCurrentOwner, Ks = $.ReactDebugCurrentFrame;
|
490
490
|
function Vt(y) {
|
491
491
|
if (y) {
|
492
|
-
var
|
492
|
+
var P = y._owner, F = jt(y.type, y._source, P ? P.type : null);
|
493
493
|
Ks.setExtraStackFrame(F);
|
494
494
|
} else
|
495
495
|
Ks.setExtraStackFrame(null);
|
@@ -514,10 +514,10 @@ Check the render method of \`` + y + "`.";
|
|
514
514
|
function on(y) {
|
515
515
|
{
|
516
516
|
if (y !== void 0) {
|
517
|
-
var
|
517
|
+
var P = y.fileName.replace(/^.*[\\\/]/, ""), F = y.lineNumber;
|
518
518
|
return `
|
519
519
|
|
520
|
-
Check your code at ` +
|
520
|
+
Check your code at ` + P + ":" + F + ".";
|
521
521
|
}
|
522
522
|
return "";
|
523
523
|
}
|
@@ -525,37 +525,37 @@ Check your code at ` + O + ":" + F + ".";
|
|
525
525
|
var Vs = {};
|
526
526
|
function Qs(y) {
|
527
527
|
{
|
528
|
-
var
|
529
|
-
if (!
|
528
|
+
var P = Ys();
|
529
|
+
if (!P) {
|
530
530
|
var F = typeof y == "string" ? y : y.displayName || y.name;
|
531
|
-
F && (
|
531
|
+
F && (P = `
|
532
532
|
|
533
533
|
Check the top-level render call using <` + F + ">.");
|
534
534
|
}
|
535
|
-
return
|
535
|
+
return P;
|
536
536
|
}
|
537
537
|
}
|
538
|
-
function Js(y,
|
538
|
+
function Js(y, P) {
|
539
539
|
{
|
540
540
|
if (!y._store || y._store.validated || y.key != null)
|
541
541
|
return;
|
542
542
|
y._store.validated = !0;
|
543
|
-
var F = Qs(
|
543
|
+
var F = Qs(P);
|
544
544
|
if (Vs[F])
|
545
545
|
return;
|
546
546
|
Vs[F] = !0;
|
547
547
|
var Q = "";
|
548
|
-
y && y._owner && y._owner !== ms.current && (Q = " It was passed a child from " + Ee(y._owner.type) + "."), Vt(y),
|
548
|
+
y && y._owner && y._owner !== ms.current && (Q = " It was passed a child from " + Ee(y._owner.type) + "."), Vt(y), O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', F, Q), Vt(null);
|
549
549
|
}
|
550
550
|
}
|
551
|
-
function Zs(y,
|
551
|
+
function Zs(y, P) {
|
552
552
|
{
|
553
553
|
if (typeof y != "object")
|
554
554
|
return;
|
555
555
|
if (Yt(y))
|
556
556
|
for (var F = 0; F < y.length; F++) {
|
557
557
|
var Q = y[F];
|
558
|
-
fs(Q) && Js(Q,
|
558
|
+
fs(Q) && Js(Q, P);
|
559
559
|
}
|
560
560
|
else if (fs(y))
|
561
561
|
y._store && (y._store.validated = !0);
|
@@ -563,48 +563,48 @@ Check the top-level render call using <` + F + ">.");
|
|
563
563
|
var de = H(y);
|
564
564
|
if (typeof de == "function" && de !== y.entries)
|
565
565
|
for (var he = de.call(y), le; !(le = he.next()).done; )
|
566
|
-
fs(le.value) && Js(le.value,
|
566
|
+
fs(le.value) && Js(le.value, P);
|
567
567
|
}
|
568
568
|
}
|
569
569
|
}
|
570
570
|
function ln(y) {
|
571
571
|
{
|
572
|
-
var
|
573
|
-
if (
|
572
|
+
var P = y.type;
|
573
|
+
if (P == null || typeof P == "string")
|
574
574
|
return;
|
575
575
|
var F;
|
576
|
-
if (typeof
|
577
|
-
F =
|
578
|
-
else if (typeof
|
576
|
+
if (typeof P == "function")
|
577
|
+
F = P.propTypes;
|
578
|
+
else if (typeof P == "object" && (P.$$typeof === g || // Note: Memo only checks outer props here.
|
579
579
|
// Inner props are checked in the reconciler.
|
580
|
-
|
581
|
-
F =
|
580
|
+
P.$$typeof === T))
|
581
|
+
F = P.propTypes;
|
582
582
|
else
|
583
583
|
return;
|
584
584
|
if (F) {
|
585
|
-
var Q = Ee(
|
586
|
-
|
587
|
-
} else if (
|
585
|
+
var Q = Ee(P);
|
586
|
+
vr(F, y.props, "prop", Q, y);
|
587
|
+
} else if (P.PropTypes !== void 0 && !Ur) {
|
588
588
|
Ur = !0;
|
589
|
-
var de = Ee(
|
590
|
-
|
589
|
+
var de = Ee(P);
|
590
|
+
O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", de || "Unknown");
|
591
591
|
}
|
592
|
-
typeof
|
592
|
+
typeof P.getDefaultProps == "function" && !P.getDefaultProps.isReactClassApproved && O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
593
593
|
}
|
594
594
|
}
|
595
595
|
function ys(y) {
|
596
596
|
{
|
597
|
-
for (var
|
598
|
-
var Q =
|
597
|
+
for (var P = Object.keys(y.props), F = 0; F < P.length; F++) {
|
598
|
+
var Q = P[F];
|
599
599
|
if (Q !== "children" && Q !== "key") {
|
600
|
-
Vt(y),
|
600
|
+
Vt(y), O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Q), Vt(null);
|
601
601
|
break;
|
602
602
|
}
|
603
603
|
}
|
604
|
-
y.ref !== null && (Vt(y),
|
604
|
+
y.ref !== null && (Vt(y), O("Invalid attribute `ref` supplied to `React.Fragment`."), Vt(null));
|
605
605
|
}
|
606
606
|
}
|
607
|
-
function ea(y,
|
607
|
+
function ea(y, P, F, Q, de, he) {
|
608
608
|
{
|
609
609
|
var le = oe(y);
|
610
610
|
if (!le) {
|
@@ -613,13 +613,13 @@ Check the top-level render call using <` + F + ">.");
|
|
613
613
|
var We = on(de);
|
614
614
|
We ? ne += We : ne += Ys();
|
615
615
|
var De;
|
616
|
-
y === null ? De = "null" : Yt(y) ? De = "array" : y !== void 0 && y.$$typeof === n ? (De = "<" + (Ee(y.type) || "Unknown") + " />", ne = " Did you accidentally export a JSX literal instead of a component?") : De = typeof y,
|
616
|
+
y === null ? De = "null" : Yt(y) ? De = "array" : y !== void 0 && y.$$typeof === n ? (De = "<" + (Ee(y.type) || "Unknown") + " />", ne = " Did you accidentally export a JSX literal instead of a component?") : De = typeof y, O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", De, ne);
|
617
617
|
}
|
618
|
-
var qe = nn(y,
|
618
|
+
var qe = nn(y, P, F, de, he);
|
619
619
|
if (qe == null)
|
620
620
|
return qe;
|
621
621
|
if (le) {
|
622
|
-
var et =
|
622
|
+
var et = P.children;
|
623
623
|
if (et !== void 0)
|
624
624
|
if (Q)
|
625
625
|
if (Yt(et)) {
|
@@ -627,25 +627,25 @@ Check the top-level render call using <` + F + ">.");
|
|
627
627
|
Zs(et[Nt], y);
|
628
628
|
Object.freeze && Object.freeze(et);
|
629
629
|
} else
|
630
|
-
|
630
|
+
O("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
631
631
|
else
|
632
632
|
Zs(et, y);
|
633
633
|
}
|
634
634
|
return y === o ? ys(qe) : ln(qe), qe;
|
635
635
|
}
|
636
636
|
}
|
637
|
-
function hs(y,
|
638
|
-
return ea(y,
|
637
|
+
function hs(y, P, F) {
|
638
|
+
return ea(y, P, F, !0);
|
639
639
|
}
|
640
|
-
function cn(y,
|
641
|
-
return ea(y,
|
640
|
+
function cn(y, P, F) {
|
641
|
+
return ea(y, P, F, !1);
|
642
642
|
}
|
643
643
|
var un = cn, dn = hs;
|
644
644
|
Ps.Fragment = o, Ps.jsx = un, Ps.jsxs = dn;
|
645
645
|
}()), Ps;
|
646
646
|
}
|
647
647
|
process.env.NODE_ENV === "production" ? qi.exports = V_() : qi.exports = Q_();
|
648
|
-
var
|
648
|
+
var E = qi.exports;
|
649
649
|
function J_(a, n, s) {
|
650
650
|
return n in a ? Object.defineProperty(a, n, {
|
651
651
|
value: s,
|
@@ -678,9 +678,9 @@ function vc(a) {
|
|
678
678
|
function Z_(a, n) {
|
679
679
|
if (a == null)
|
680
680
|
return {};
|
681
|
-
var s = {}, o = Object.keys(a), l,
|
682
|
-
for (
|
683
|
-
l = o[
|
681
|
+
var s = {}, o = Object.keys(a), l, u;
|
682
|
+
for (u = 0; u < o.length; u++)
|
683
|
+
l = o[u], !(n.indexOf(l) >= 0) && (s[l] = a[l]);
|
684
684
|
return s;
|
685
685
|
}
|
686
686
|
function eg(a, n) {
|
@@ -688,9 +688,9 @@ function eg(a, n) {
|
|
688
688
|
return {};
|
689
689
|
var s = Z_(a, n), o, l;
|
690
690
|
if (Object.getOwnPropertySymbols) {
|
691
|
-
var
|
692
|
-
for (l = 0; l <
|
693
|
-
o =
|
691
|
+
var u = Object.getOwnPropertySymbols(a);
|
692
|
+
for (l = 0; l < u.length; l++)
|
693
|
+
o = u[l], !(n.indexOf(o) >= 0) && Object.prototype.propertyIsEnumerable.call(a, o) && (s[o] = a[o]);
|
694
694
|
}
|
695
695
|
return s;
|
696
696
|
}
|
@@ -703,18 +703,18 @@ function rg(a) {
|
|
703
703
|
}
|
704
704
|
function sg(a, n) {
|
705
705
|
if (!(typeof Symbol > "u" || !(Symbol.iterator in Object(a)))) {
|
706
|
-
var s = [], o = !0, l = !1,
|
706
|
+
var s = [], o = !0, l = !1, u = void 0;
|
707
707
|
try {
|
708
708
|
for (var m = a[Symbol.iterator](), h; !(o = (h = m.next()).done) && (s.push(h.value), !(n && s.length === n)); o = !0)
|
709
709
|
;
|
710
710
|
} catch (g) {
|
711
|
-
l = !0,
|
711
|
+
l = !0, u = g;
|
712
712
|
} finally {
|
713
713
|
try {
|
714
714
|
!o && m.return != null && m.return();
|
715
715
|
} finally {
|
716
716
|
if (l)
|
717
|
-
throw
|
717
|
+
throw u;
|
718
718
|
}
|
719
719
|
}
|
720
720
|
return s;
|
@@ -774,15 +774,15 @@ function og() {
|
|
774
774
|
for (var a = arguments.length, n = new Array(a), s = 0; s < a; s++)
|
775
775
|
n[s] = arguments[s];
|
776
776
|
return function(o) {
|
777
|
-
return n.reduceRight(function(l,
|
778
|
-
return
|
777
|
+
return n.reduceRight(function(l, u) {
|
778
|
+
return u(l);
|
779
779
|
}, o);
|
780
780
|
};
|
781
781
|
}
|
782
782
|
function Rs(a) {
|
783
783
|
return function n() {
|
784
|
-
for (var s = this, o = arguments.length, l = new Array(o),
|
785
|
-
l[
|
784
|
+
for (var s = this, o = arguments.length, l = new Array(o), u = 0; u < o; u++)
|
785
|
+
l[u] = arguments[u];
|
786
786
|
return l.length >= a.length ? a.apply(this, l) : function() {
|
787
787
|
for (var m = arguments.length, h = new Array(m), g = 0; g < m; g++)
|
788
788
|
h[g] = arguments[g];
|
@@ -803,20 +803,20 @@ function cg(a, n) {
|
|
803
803
|
return Object.prototype.hasOwnProperty.call(a, n);
|
804
804
|
}
|
805
805
|
function ug(a, n) {
|
806
|
-
return Va(n) ||
|
806
|
+
return Va(n) || br("changeType"), Object.keys(n).some(function(s) {
|
807
807
|
return !cg(a, s);
|
808
|
-
}) &&
|
808
|
+
}) && br("changeField"), n;
|
809
809
|
}
|
810
810
|
function dg(a) {
|
811
|
-
Us(a) ||
|
811
|
+
Us(a) || br("selectorType");
|
812
812
|
}
|
813
813
|
function pg(a) {
|
814
|
-
Us(a) || Va(a) ||
|
814
|
+
Us(a) || Va(a) || br("handlerType"), Va(a) && Object.values(a).some(function(n) {
|
815
815
|
return !Us(n);
|
816
|
-
}) &&
|
816
|
+
}) && br("handlersType");
|
817
817
|
}
|
818
818
|
function mg(a) {
|
819
|
-
a ||
|
819
|
+
a || br("initialIsRequired"), Va(a) || br("initialType"), lg(a) && br("initialContent");
|
820
820
|
}
|
821
821
|
function fg(a, n) {
|
822
822
|
throw new Error(a[n] || a.default);
|
@@ -831,7 +831,7 @@ var yg = {
|
|
831
831
|
changeType: "provided value of changes should be an object",
|
832
832
|
changeField: 'it seams you want to change a field in the state which is not specified in the "initial" state',
|
833
833
|
default: "an unknown error accured in `state-local` package"
|
834
|
-
},
|
834
|
+
}, br = Rs(fg)(yg), Ua = {
|
835
835
|
changes: ug,
|
836
836
|
selector: dg,
|
837
837
|
handler: pg,
|
@@ -842,7 +842,7 @@ function hg(a) {
|
|
842
842
|
Ua.initial(a), Ua.handler(n);
|
843
843
|
var s = {
|
844
844
|
current: a
|
845
|
-
}, o = Rs(bg)(s, n), l = Rs(gg)(s),
|
845
|
+
}, o = Rs(bg)(s, n), l = Rs(gg)(s), u = Rs(Ua.changes)(a), m = Rs(_g)(s);
|
846
846
|
function h() {
|
847
847
|
var b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function(w) {
|
848
848
|
return w;
|
@@ -850,7 +850,7 @@ function hg(a) {
|
|
850
850
|
return Ua.selector(b), b(s.current);
|
851
851
|
}
|
852
852
|
function g(b) {
|
853
|
-
og(o, l,
|
853
|
+
og(o, l, u, m)(b);
|
854
854
|
}
|
855
855
|
return [h, g];
|
856
856
|
}
|
@@ -875,8 +875,8 @@ var xg = {
|
|
875
875
|
};
|
876
876
|
function vg(a) {
|
877
877
|
return function n() {
|
878
|
-
for (var s = this, o = arguments.length, l = new Array(o),
|
879
|
-
l[
|
878
|
+
for (var s = this, o = arguments.length, l = new Array(o), u = 0; u < o; u++)
|
879
|
+
l[u] = arguments[u];
|
880
880
|
return l.length >= a.length ? a.apply(this, l) : function() {
|
881
881
|
for (var m = arguments.length, h = new Array(m), g = 0; g < m; g++)
|
882
882
|
h[g] = arguments[g];
|
@@ -920,8 +920,8 @@ var yu = {
|
|
920
920
|
for (var n = arguments.length, s = new Array(n), o = 0; o < n; o++)
|
921
921
|
s[o] = arguments[o];
|
922
922
|
return function(l) {
|
923
|
-
return s.reduceRight(function(
|
924
|
-
return m(
|
923
|
+
return s.reduceRight(function(u, m) {
|
924
|
+
return m(u);
|
925
925
|
}, l);
|
926
926
|
};
|
927
927
|
};
|
@@ -936,8 +936,8 @@ var Cg = {
|
|
936
936
|
};
|
937
937
|
function vi(a) {
|
938
938
|
var n = !1, s = new Promise(function(o, l) {
|
939
|
-
a.then(function(
|
940
|
-
return n ? l(Cg) : o(
|
939
|
+
a.then(function(u) {
|
940
|
+
return n ? l(Cg) : o(u);
|
941
941
|
}), a.catch(l);
|
942
942
|
});
|
943
943
|
return s.cancel = function() {
|
@@ -989,10 +989,10 @@ function Pg(a) {
|
|
989
989
|
}
|
990
990
|
function Eg(a) {
|
991
991
|
var n = Hs(function(o) {
|
992
|
-
var l = o.config,
|
992
|
+
var l = o.config, u = o.reject;
|
993
993
|
return {
|
994
994
|
config: l,
|
995
|
-
reject:
|
995
|
+
reject: u
|
996
996
|
};
|
997
997
|
}), s = Pg("".concat(n.config.paths.vs, "/loader.js"));
|
998
998
|
return s.onload = function() {
|
@@ -1001,11 +1001,11 @@ function Eg(a) {
|
|
1001
1001
|
}
|
1002
1002
|
function Rg() {
|
1003
1003
|
var a = Hs(function(s) {
|
1004
|
-
var o = s.config, l = s.resolve,
|
1004
|
+
var o = s.config, l = s.resolve, u = s.reject;
|
1005
1005
|
return {
|
1006
1006
|
config: o,
|
1007
1007
|
resolve: l,
|
1008
|
-
reject:
|
1008
|
+
reject: u
|
1009
1009
|
};
|
1010
1010
|
}), n = window.require;
|
1011
1011
|
n.config(a.config), n(["vs/editor/editor.main"], function(s) {
|
@@ -1039,8 +1039,8 @@ function Bg({ children: a }) {
|
|
1039
1039
|
return ir.createElement("div", { style: jg.container }, a);
|
1040
1040
|
}
|
1041
1041
|
var Ug = Bg, Wg = Ug;
|
1042
|
-
function Hg({ width: a, height: n, isEditorReady: s, loading: o, _ref: l, className:
|
1043
|
-
return ir.createElement("section", { style: { ...Ii.wrapper, width: a, height: n }, ...m }, !s && ir.createElement(Wg, null, o), ir.createElement("div", { ref: l, style: { ...Ii.fullWidth, ...!s && Ii.hide }, className:
|
1042
|
+
function Hg({ width: a, height: n, isEditorReady: s, loading: o, _ref: l, className: u, wrapperProps: m }) {
|
1043
|
+
return ir.createElement("section", { style: { ...Ii.wrapper, width: a, height: n }, ...m }, !s && ir.createElement(Wg, null, o), ir.createElement("div", { ref: l, style: { ...Ii.fullWidth, ...!s && Ii.hide }, className: u }));
|
1044
1044
|
}
|
1045
1045
|
var $g = Hg, bu = Ri($g);
|
1046
1046
|
function Xg(a) {
|
@@ -1068,59 +1068,59 @@ function Yg(a, n, s, o) {
|
|
1068
1068
|
function wu(a, n) {
|
1069
1069
|
return a.Uri.parse(n);
|
1070
1070
|
}
|
1071
|
-
function Vg({ original: a, modified: n, language: s, originalLanguage: o, modifiedLanguage: l, originalModelPath:
|
1072
|
-
let [
|
1071
|
+
function Vg({ original: a, modified: n, language: s, originalLanguage: o, modifiedLanguage: l, originalModelPath: u, modifiedModelPath: m, keepCurrentOriginalModel: h = !1, keepCurrentModifiedModel: g = !1, theme: b = "light", loading: w = "Loading...", options: T = {}, height: R = "100%", width: L = "100%", className: A, wrapperProps: z = {}, beforeMount: H = Fs, onMount: $ = Fs }) {
|
1072
|
+
let [O, B] = _t(!1), [S, M] = _t(!0), J = je(null), X = je(null), fe = je(null), ye = je($), oe = je(H), bt = je(!1);
|
1073
1073
|
xu(() => {
|
1074
1074
|
let G = Li.init();
|
1075
1075
|
return G.then((pe) => (X.current = pe) && M(!1)).catch((pe) => (pe == null ? void 0 : pe.type) !== "cancelation" && console.error("Monaco initialization: error:", pe)), () => J.current ? Re() : G.cancel();
|
1076
1076
|
}), ht(() => {
|
1077
1077
|
if (J.current && X.current) {
|
1078
|
-
let G = J.current.getOriginalEditor(), pe = as(X.current, a || "", o || s || "text",
|
1078
|
+
let G = J.current.getOriginalEditor(), pe = as(X.current, a || "", o || s || "text", u || "");
|
1079
1079
|
pe !== G.getModel() && G.setModel(pe);
|
1080
1080
|
}
|
1081
|
-
}, [
|
1081
|
+
}, [u], O), ht(() => {
|
1082
1082
|
if (J.current && X.current) {
|
1083
1083
|
let G = J.current.getModifiedEditor(), pe = as(X.current, n || "", l || s || "text", m || "");
|
1084
1084
|
pe !== G.getModel() && G.setModel(pe);
|
1085
1085
|
}
|
1086
|
-
}, [m],
|
1086
|
+
}, [m], O), ht(() => {
|
1087
1087
|
let G = J.current.getModifiedEditor();
|
1088
1088
|
G.getOption(X.current.editor.EditorOption.readOnly) ? G.setValue(n || "") : n !== G.getValue() && (G.executeEdits("", [{ range: G.getModel().getFullModelRange(), text: n || "", forceMoveMarkers: !0 }]), G.pushUndoStop());
|
1089
|
-
}, [n],
|
1089
|
+
}, [n], O), ht(() => {
|
1090
1090
|
var G, pe;
|
1091
1091
|
(pe = (G = J.current) == null ? void 0 : G.getModel()) == null || pe.original.setValue(a || "");
|
1092
|
-
}, [a],
|
1092
|
+
}, [a], O), ht(() => {
|
1093
1093
|
let { original: G, modified: pe } = J.current.getModel();
|
1094
1094
|
X.current.editor.setModelLanguage(G, o || s || "text"), X.current.editor.setModelLanguage(pe, l || s || "text");
|
1095
|
-
}, [s, o, l],
|
1095
|
+
}, [s, o, l], O), ht(() => {
|
1096
1096
|
var G;
|
1097
1097
|
(G = X.current) == null || G.editor.setTheme(b);
|
1098
|
-
}, [b],
|
1098
|
+
}, [b], O), ht(() => {
|
1099
1099
|
var G;
|
1100
1100
|
(G = J.current) == null || G.updateOptions(T);
|
1101
|
-
}, [T],
|
1101
|
+
}, [T], O);
|
1102
1102
|
let St = js(() => {
|
1103
1103
|
var Se;
|
1104
1104
|
if (!X.current)
|
1105
1105
|
return;
|
1106
1106
|
oe.current(X.current);
|
1107
|
-
let G = as(X.current, a || "", o || s || "text",
|
1107
|
+
let G = as(X.current, a || "", o || s || "text", u || ""), pe = as(X.current, n || "", l || s || "text", m || "");
|
1108
1108
|
(Se = J.current) == null || Se.setModel({ original: G, modified: pe });
|
1109
|
-
}, [s, n, l, a, o,
|
1109
|
+
}, [s, n, l, a, o, u, m]), Ee = js(() => {
|
1110
1110
|
var G;
|
1111
1111
|
!bt.current && fe.current && (J.current = X.current.editor.createDiffEditor(fe.current, { automaticLayout: !0, ...T }), St(), (G = X.current) == null || G.editor.setTheme(b), B(!0), bt.current = !0);
|
1112
1112
|
}, [T, b, St]);
|
1113
1113
|
Ze(() => {
|
1114
|
-
|
1115
|
-
}, [
|
1116
|
-
!S && !
|
1117
|
-
}, [S,
|
1114
|
+
O && ye.current(J.current, X.current);
|
1115
|
+
}, [O]), Ze(() => {
|
1116
|
+
!S && !O && Ee();
|
1117
|
+
}, [S, O, Ee]);
|
1118
1118
|
function Re() {
|
1119
1119
|
var pe, Se, Oe, ot;
|
1120
1120
|
let G = (pe = J.current) == null ? void 0 : pe.getModel();
|
1121
1121
|
h || ((Se = G == null ? void 0 : G.original) == null || Se.dispose()), g || ((Oe = G == null ? void 0 : G.modified) == null || Oe.dispose()), (ot = J.current) == null || ot.dispose();
|
1122
1122
|
}
|
1123
|
-
return ir.createElement(bu, { width: L, height: R, isEditorReady:
|
1123
|
+
return ir.createElement(bu, { width: L, height: R, isEditorReady: O, loading: w, _ref: fe, className: A, wrapperProps: z });
|
1124
1124
|
}
|
1125
1125
|
var Qg = Vg, Jg = Ri(Qg);
|
1126
1126
|
function Zg(a) {
|
@@ -1130,16 +1130,16 @@ function Zg(a) {
|
|
1130
1130
|
}, [a]), n.current;
|
1131
1131
|
}
|
1132
1132
|
var eb = Zg, Wa = /* @__PURE__ */ new Map();
|
1133
|
-
function tb({ defaultValue: a, defaultLanguage: n, defaultPath: s, value: o, language: l, path:
|
1134
|
-
let [M, J] = _t(!1), [X, fe] = _t(!0), ye = je(null), oe = je(null), bt = je(null), St = je(
|
1133
|
+
function tb({ defaultValue: a, defaultLanguage: n, defaultPath: s, value: o, language: l, path: u, theme: m = "light", line: h, loading: g = "Loading...", options: b = {}, overrideServices: w = {}, saveViewState: T = !0, keepCurrentModel: R = !1, width: L = "100%", height: A = "100%", className: z, wrapperProps: H = {}, beforeMount: $ = Fs, onMount: O = Fs, onChange: B, onValidate: S = Fs }) {
|
1134
|
+
let [M, J] = _t(!1), [X, fe] = _t(!0), ye = je(null), oe = je(null), bt = je(null), St = je(O), Ee = je($), Re = je(), G = je(o), pe = eb(u), Se = je(!1), Oe = je(!1);
|
1135
1135
|
xu(() => {
|
1136
1136
|
let Z = Li.init();
|
1137
1137
|
return Z.then((xe) => (ye.current = xe) && fe(!1)).catch((xe) => (xe == null ? void 0 : xe.type) !== "cancelation" && console.error("Monaco initialization: error:", xe)), () => oe.current ? Le() : Z.cancel();
|
1138
1138
|
}), ht(() => {
|
1139
1139
|
var xe, Be, Gt, Ye;
|
1140
|
-
let Z = as(ye.current, a || o || "", n || l || "",
|
1141
|
-
Z !== ((xe = oe.current) == null ? void 0 : xe.getModel()) && (T && Wa.set(pe, (Be = oe.current) == null ? void 0 : Be.saveViewState()), (Gt = oe.current) == null || Gt.setModel(Z), T && ((Ye = oe.current) == null || Ye.restoreViewState(Wa.get(
|
1142
|
-
}, [
|
1140
|
+
let Z = as(ye.current, a || o || "", n || l || "", u || s || "");
|
1141
|
+
Z !== ((xe = oe.current) == null ? void 0 : xe.getModel()) && (T && Wa.set(pe, (Be = oe.current) == null ? void 0 : Be.saveViewState()), (Gt = oe.current) == null || Gt.setModel(Z), T && ((Ye = oe.current) == null || Ye.restoreViewState(Wa.get(u))));
|
1142
|
+
}, [u], M), ht(() => {
|
1143
1143
|
var Z;
|
1144
1144
|
(Z = oe.current) == null || Z.updateOptions(b);
|
1145
1145
|
}, [b], M), ht(() => {
|
@@ -1159,10 +1159,10 @@ function tb({ defaultValue: a, defaultLanguage: n, defaultPath: s, value: o, lan
|
|
1159
1159
|
var Z;
|
1160
1160
|
if (!(!bt.current || !ye.current) && !Se.current) {
|
1161
1161
|
Ee.current(ye.current);
|
1162
|
-
let xe =
|
1162
|
+
let xe = u || s, Be = as(ye.current, o || a || "", n || l || "", xe || "");
|
1163
1163
|
oe.current = (Z = ye.current) == null ? void 0 : Z.editor.create(bt.current, { model: Be, automaticLayout: !0, ...b }, w), T && oe.current.restoreViewState(Wa.get(xe)), ye.current.editor.setTheme(m), h !== void 0 && oe.current.revealLine(h), J(!0), Se.current = !0;
|
1164
1164
|
}
|
1165
|
-
}, [a, n, s, o, l,
|
1165
|
+
}, [a, n, s, o, l, u, b, w, T, m, h]);
|
1166
1166
|
Ze(() => {
|
1167
1167
|
M && St.current(oe.current, ye.current);
|
1168
1168
|
}, [M]), Ze(() => {
|
@@ -1191,7 +1191,7 @@ function tb({ defaultValue: a, defaultLanguage: n, defaultPath: s, value: o, lan
|
|
1191
1191
|
}, [M, S]);
|
1192
1192
|
function Le() {
|
1193
1193
|
var Z, xe;
|
1194
|
-
(Z = Re.current) == null || Z.dispose(), R ? T && Wa.set(
|
1194
|
+
(Z = Re.current) == null || Z.dispose(), R ? T && Wa.set(u, oe.current.saveViewState()) : (xe = oe.current.getModel()) == null || xe.dispose(), oe.current.dispose();
|
1195
1195
|
}
|
1196
1196
|
return ir.createElement(bu, { width: L, height: A, isEditorReady: M, loading: g, _ref: bt, className: z, wrapperProps: H });
|
1197
1197
|
}
|
@@ -60261,7 +60261,7 @@ else
|
|
60261
60261
|
function ib() {
|
60262
60262
|
const a = {}, n = {};
|
60263
60263
|
return Object.keys(Ac).reduce((s, o) => {
|
60264
|
-
const l = Ac[o],
|
60264
|
+
const l = Ac[o], u = Ae[o], { mapObj: m, keys: h } = ob(l, u);
|
60265
60265
|
return s.keyMapList[o] = m, s.keyList[o] = h, s;
|
60266
60266
|
}, { keyList: a, keyMapList: n }), { keyList: a, keyMapList: n };
|
60267
60267
|
}
|
@@ -60270,8 +60270,8 @@ function ob(a, n) {
|
|
60270
60270
|
return a.forEach((l) => {
|
60271
60271
|
var m;
|
60272
60272
|
l.title = n;
|
60273
|
-
const
|
60274
|
-
|
60273
|
+
const u = l.originalName || l.name;
|
60274
|
+
u !== "for...in" && (s.has(u) ? (m = s.get(u)) == null || m.push(l) : (o.push(u), s.set(u, [l])));
|
60275
60275
|
}), { mapObj: s, keys: o };
|
60276
60276
|
}
|
60277
60277
|
const { keyList: Mi, keyMapList: gt } = ib();
|
@@ -60356,7 +60356,7 @@ function ub(a, n = 0, s = !0) {
|
|
60356
60356
|
const o = a[n];
|
60357
60357
|
if (!o)
|
60358
60358
|
return "";
|
60359
|
-
const l = /(Mac|iPhone|iPod|iPad)/i.test(window.navigator.userAgent), { name:
|
60359
|
+
const l = /(Mac|iPhone|iPod|iPad)/i.test(window.navigator.userAgent), { name: u, title: m, desc: h, type: g, syntax: b, returns: w, remarks: T, fields: R } = o, L = [`${be.bold(u)} (${m})`];
|
60360
60360
|
if (a.length > 1 && L.push(be.italic(`+${a.length - 1} overloads`)), L.push(be.delimiter), h && L.push(be.paragraph(Array.isArray(h) ? h.join(be.lineBreak) : h || "")), g && L.push(be.paragraph(be.bold(Ct.Type), be.italic(g))), b && b.length && L.push(be.paragraph(be.bold(Ct.Syntax), be.pineCode(b.join(be.lineBreak)))), w && L.push(be.paragraph(be.bold(Ct.Returns), be.lineBreak, w.join(be.lineBreak))), T && T.length && a.length <= 1) {
|
60361
60361
|
let A = "";
|
60362
60362
|
typeof T == "string" ? A = T : A = T.join(be.lineBreak) || "", A.length < 200 && L.push(be.paragraph(be.bold(Ct.Remarks), be.lineBreak, A));
|
@@ -60498,18 +60498,18 @@ class fb {
|
|
60498
60498
|
}
|
60499
60499
|
setUserDefind(n, s, o, l) {
|
60500
60500
|
this._initUserDefind();
|
60501
|
-
const
|
60502
|
-
this._getMethodNamespaceCache(
|
60501
|
+
const u = this._mergeTreeSlices(this._generateTreeSlice(gt.methods, "method"), this._generateTreeSlice(l, "method"));
|
60502
|
+
this._getMethodNamespaceCache(u), this._userMethods = l, this._userTypes = s, this._userFunctions = n;
|
60503
60503
|
const m = this._generateTreeSlice(n, "fun");
|
60504
60504
|
this._userSuggestions = this._getAllUserCompletionItems(m, this._generateTreeSlice(s, "type"), this._generateTreeSlice(o, "var")), this._getUserFuncArgumentsCompletionItemsToCache(m);
|
60505
60505
|
}
|
60506
60506
|
_getAllUserCompletionItems(n, s, o) {
|
60507
|
-
const l = this._getUserVariableCompletionItems(o),
|
60508
|
-
return [...
|
60507
|
+
const l = this._getUserVariableCompletionItems(o), u = this._getTypeCompletionItems(s, !0), m = this._getFunctionCompletionItems(n, void 0, !0);
|
60508
|
+
return [...u, ...m, ...l, ...this._userOutermostNsItems.values()];
|
60509
60509
|
}
|
60510
60510
|
_getAllCompletionItems() {
|
60511
|
-
const { variables: n, keywords: s, types: o, functions: l } = this._builtinSubtreeCache,
|
60512
|
-
return [...
|
60511
|
+
const { variables: n, keywords: s, types: o, functions: l } = this._builtinSubtreeCache, u = this._getVariableCompletionItems(n), m = this._getKeywordCompletionItems(s), h = this._getTypeCompletionItems(o), g = this._getFunctionCompletionItems(l), b = this._getSnippetsCompletionsList();
|
60512
|
+
return [...u, ...m, ...h, ...g, ...this._outermostNsItems.values(), ...b];
|
60513
60513
|
}
|
60514
60514
|
_getNodeKey(n, s) {
|
60515
60515
|
return `${s}_${n}`;
|
@@ -60517,12 +60517,12 @@ class fb {
|
|
60517
60517
|
_mergeTreeSlices(...n) {
|
60518
60518
|
const s = /* @__PURE__ */ new Map();
|
60519
60519
|
for (const o of n)
|
60520
|
-
for (const [l,
|
60520
|
+
for (const [l, u] of o) {
|
60521
60521
|
const m = s.get(l);
|
60522
60522
|
m ? s.set(l, {
|
60523
60523
|
...m,
|
60524
|
-
children: this._mergeTreeSlices(
|
60525
|
-
}) : s.set(l,
|
60524
|
+
children: this._mergeTreeSlices(u.children, m.children)
|
60525
|
+
}) : s.set(l, u);
|
60526
60526
|
}
|
60527
60527
|
return s;
|
60528
60528
|
}
|
@@ -60536,14 +60536,14 @@ class fb {
|
|
60536
60536
|
}
|
60537
60537
|
_generateTreeSlice(n, s) {
|
60538
60538
|
const o = /* @__PURE__ */ new Map();
|
60539
|
-
for (const [l,
|
60539
|
+
for (const [l, u] of n) {
|
60540
60540
|
const [m, ...h] = l.split("."), g = h.length > 0, b = o.get(this._getNodeKey(m, g ? "ns" : s));
|
60541
|
-
let w = /* @__PURE__ */ new Map(), T =
|
60541
|
+
let w = /* @__PURE__ */ new Map(), T = u.map((L) => ({
|
60542
60542
|
...L,
|
60543
60543
|
name: l
|
60544
60544
|
})), R = this._getNodeKey(l, s);
|
60545
60545
|
if (g && s !== "type") {
|
60546
|
-
const L = /* @__PURE__ */ new Map([[h.join("."),
|
60546
|
+
const L = /* @__PURE__ */ new Map([[h.join("."), u]]);
|
60547
60547
|
T = [{
|
60548
60548
|
name: m,
|
60549
60549
|
title: Ae.namespace
|
@@ -60560,19 +60560,19 @@ class fb {
|
|
60560
60560
|
return o;
|
60561
60561
|
}
|
60562
60562
|
_getBuiltinsCacheFragment() {
|
60563
|
-
const { keywords: n, variables: s, constants: o, types: l, functions:
|
60563
|
+
const { keywords: n, variables: s, constants: o, types: l, functions: u } = gt;
|
60564
60564
|
return this._builtinSubtreeCache = {
|
60565
60565
|
keywords: this._generateTreeSlice(n, "key"),
|
60566
60566
|
variables: this._mergeTreeSlices(this._generateTreeSlice(s, "var"), this._generateTreeSlice(o, "var")),
|
60567
60567
|
types: this._generateTreeSlice(l, "type"),
|
60568
|
-
functions: this._generateTreeSlice(
|
60568
|
+
functions: this._generateTreeSlice(u, "fun")
|
60569
60569
|
}, this._builtinSubtreeCache;
|
60570
60570
|
}
|
60571
60571
|
_getVariableCompletionItems(n, s) {
|
60572
60572
|
const o = [], l = [];
|
60573
|
-
for (const [
|
60573
|
+
for (const [u, m] of n) {
|
60574
60574
|
const { value: h, children: g } = m;
|
60575
|
-
if (
|
60575
|
+
if (u.startsWith("ns")) {
|
60576
60576
|
const b = this._getNamespaceCompletionItem(h[0]);
|
60577
60577
|
if (s) {
|
60578
60578
|
l.push({ ...b });
|
@@ -60580,7 +60580,7 @@ class fb {
|
|
60580
60580
|
b.label = T, b.insertText = T;
|
60581
60581
|
}
|
60582
60582
|
const w = this._getVariableCompletionItems(g, b.label);
|
60583
|
-
s || this._outermostNsItems.set(
|
60583
|
+
s || this._outermostNsItems.set(u, b), o.push(...w);
|
60584
60584
|
} else {
|
60585
60585
|
const b = this._getVariableCompletionItem(h[0], s ? 3 : 2);
|
60586
60586
|
if (s) {
|
@@ -60596,13 +60596,13 @@ class fb {
|
|
60596
60596
|
_setUserVariableSubItems(n, s) {
|
60597
60597
|
var b, w, T, R;
|
60598
60598
|
let o = [];
|
60599
|
-
const l = pb(n.type || ""),
|
60600
|
-
|
60599
|
+
const l = pb(n.type || ""), u = this._methodNamespaceCache.get(l), m = s ? `${s}.${n.name}` : n.name;
|
60600
|
+
u && (o = u.filter((L) => {
|
60601
60601
|
var $;
|
60602
|
-
const A = `${l}.${L.label}`, z = gt.methods.get(A) || this._userMethods.get(A), H = z == null ? void 0 : z.some((
|
60602
|
+
const A = `${l}.${L.label}`, z = gt.methods.get(A) || this._userMethods.get(A), H = z == null ? void 0 : z.some((O) => !O.thisType || O.thisType[0].includes("<>") || O.thisType.includes(n.type || ""));
|
60603
60603
|
if (H && z) {
|
60604
|
-
const
|
60605
|
-
this._userFuncArgsCache.set(B,
|
60604
|
+
const O = this._getNamedArgumentsCompletionList((($ = z[0]) == null ? void 0 : $.args) || []), B = `${m}.${L.label}`;
|
60605
|
+
this._userFuncArgsCache.set(B, O), this._methodFuncs.set(B, z);
|
60606
60606
|
}
|
60607
60607
|
return H;
|
60608
60608
|
}));
|
@@ -60616,9 +60616,9 @@ class fb {
|
|
60616
60616
|
}
|
60617
60617
|
_getUserVariableCompletionItems(n, s) {
|
60618
60618
|
const o = [], l = [];
|
60619
|
-
for (const [
|
60619
|
+
for (const [u, m] of n) {
|
60620
60620
|
const { value: h, children: g } = m;
|
60621
|
-
if (this._setUserVariableSubItems(h[0]),
|
60621
|
+
if (this._setUserVariableSubItems(h[0]), u.startsWith("ns")) {
|
60622
60622
|
const b = this._getNamespaceCompletionItem(h[0]);
|
60623
60623
|
if (s) {
|
60624
60624
|
l.push({ ...b });
|
@@ -60626,7 +60626,7 @@ class fb {
|
|
60626
60626
|
b.label = T, b.insertText = T;
|
60627
60627
|
}
|
60628
60628
|
const w = this._getUserVariableCompletionItems(g, b.label);
|
60629
|
-
s || this._userOutermostNsItems.set(
|
60629
|
+
s || this._userOutermostNsItems.set(u, b), o.push(...w);
|
60630
60630
|
} else {
|
60631
60631
|
const b = this._getVariableCompletionItem(h[0], s ? 2 : 1, !1);
|
60632
60632
|
if (s) {
|
@@ -60642,7 +60642,7 @@ class fb {
|
|
60642
60642
|
_getTypeCompletionItems(n, s = !1) {
|
60643
60643
|
const o = [];
|
60644
60644
|
for (const [, l] of n) {
|
60645
|
-
const { value:
|
60645
|
+
const { value: u } = l, m = s ? this._getCustomTypeCompletionItem(u[0]) : this._getTypeCompletionItem(u[0]);
|
60646
60646
|
o.push(m);
|
60647
60647
|
}
|
60648
60648
|
return o;
|
@@ -60650,15 +60650,15 @@ class fb {
|
|
60650
60650
|
_getKeywordCompletionItems(n) {
|
60651
60651
|
const s = [];
|
60652
60652
|
for (const [, o] of n) {
|
60653
|
-
const { value: l } = o,
|
60654
|
-
s.push(
|
60653
|
+
const { value: l } = o, u = this._getKeywordCompletionItem(l[0]);
|
60654
|
+
s.push(u);
|
60655
60655
|
}
|
60656
60656
|
return s;
|
60657
60657
|
}
|
60658
60658
|
_getMethodNamespaceCache(n, s) {
|
60659
60659
|
const o = [];
|
60660
|
-
for (const [l,
|
60661
|
-
const { value: m, children: h } =
|
60660
|
+
for (const [l, u] of n) {
|
60661
|
+
const { value: m, children: h } = u;
|
60662
60662
|
if (l.startsWith("ns")) {
|
60663
60663
|
const g = this._getNamespaceCompletionItem(m[0]);
|
60664
60664
|
if (s) {
|
@@ -60679,13 +60679,13 @@ class fb {
|
|
60679
60679
|
s && this._methodNamespaceCache.set(s, o);
|
60680
60680
|
}
|
60681
60681
|
_getFunctionCompletionItems(n, s, o = !1) {
|
60682
|
-
const l = [],
|
60682
|
+
const l = [], u = [];
|
60683
60683
|
for (const [m, h] of n) {
|
60684
60684
|
const { value: g, children: b } = h;
|
60685
60685
|
if (m.startsWith("ns")) {
|
60686
60686
|
const w = this._getNamespaceCompletionItem(g[0]);
|
60687
60687
|
if (s) {
|
60688
|
-
|
60688
|
+
u.push({ ...w });
|
60689
60689
|
const R = `${s}.${w.label}`;
|
60690
60690
|
w.label = R, w.insertText = R;
|
60691
60691
|
}
|
@@ -60694,23 +60694,23 @@ class fb {
|
|
60694
60694
|
} else {
|
60695
60695
|
const w = this._getFunctionCompletionItem(g[0], s ? 3 : 2, o);
|
60696
60696
|
if (g.length > 1 && (w.detail = `${w.detail} (+${g.length - 1} overloads)`), s) {
|
60697
|
-
|
60697
|
+
u.push({ ...w });
|
60698
60698
|
const { label: T } = w;
|
60699
60699
|
w.label = `${s}.${T}`, w.insertText = `${s}.${w.insertText}`, w.filterText = `${T}\r`;
|
60700
60700
|
}
|
60701
60701
|
l.push(w);
|
60702
60702
|
}
|
60703
60703
|
}
|
60704
|
-
return
|
60704
|
+
return u.length && s && (o ? this._mergeUserCompletions(s, u) : this._mergeCompletions(s, u)), l;
|
60705
60705
|
}
|
60706
60706
|
_getSnippetsCompletionsList() {
|
60707
60707
|
return ab.map((n) => {
|
60708
|
-
const { label: s, kind: o, insertText: l } = n,
|
60708
|
+
const { label: s, kind: o, insertText: l } = n, u = s.charAt(0).toUpperCase() + s.substring(1), m = {
|
60709
60709
|
value: this._formatter.pineCode(l.replace(/\${\d:([^}]+)}|\${\d}/g, "$1"))
|
60710
60710
|
};
|
60711
60711
|
return {
|
60712
60712
|
label: s,
|
60713
|
-
detail: `(${
|
60713
|
+
detail: `(${u} ${o})`,
|
60714
60714
|
insertText: l,
|
60715
60715
|
insertTextRules: it.CompletionItemInsertTextRule.InsertAsSnippet,
|
60716
60716
|
sortText: `2_${s}`,
|
@@ -60721,9 +60721,9 @@ class fb {
|
|
60721
60721
|
}
|
60722
60722
|
_getFuncArgumentsCompletionItemsToCache(n, s) {
|
60723
60723
|
for (const [o, l] of n) {
|
60724
|
-
const { name:
|
60724
|
+
const { name: u } = l.value[0];
|
60725
60725
|
if (o.startsWith("ns"))
|
60726
|
-
this._getFuncArgumentsCompletionItemsToCache(l.children, s ? `${s}.${
|
60726
|
+
this._getFuncArgumentsCompletionItemsToCache(l.children, s ? `${s}.${u}` : u);
|
60727
60727
|
else {
|
60728
60728
|
const m = /* @__PURE__ */ new Map();
|
60729
60729
|
l.value.reduce((b, w) => {
|
@@ -60732,16 +60732,16 @@ class fb {
|
|
60732
60732
|
b.set(R.name, R);
|
60733
60733
|
}), b;
|
60734
60734
|
}, m);
|
60735
|
-
const h = this._getNamedArgumentsCompletionList([...m.values()]), g = s ? `${s}.${
|
60735
|
+
const h = this._getNamedArgumentsCompletionList([...m.values()]), g = s ? `${s}.${u}` : u;
|
60736
60736
|
this._funcArgsCache.set(g, h);
|
60737
60737
|
}
|
60738
60738
|
}
|
60739
60739
|
}
|
60740
60740
|
_getUserFuncArgumentsCompletionItemsToCache(n, s) {
|
60741
60741
|
for (const [o, l] of n) {
|
60742
|
-
const { name:
|
60742
|
+
const { name: u } = l.value[0];
|
60743
60743
|
if (o.startsWith("ns"))
|
60744
|
-
this._getUserFuncArgumentsCompletionItemsToCache(l.children, s ? `${s}.${
|
60744
|
+
this._getUserFuncArgumentsCompletionItemsToCache(l.children, s ? `${s}.${u}` : u);
|
60745
60745
|
else {
|
60746
60746
|
const m = /* @__PURE__ */ new Map();
|
60747
60747
|
l.value.reduce((b, w) => {
|
@@ -60750,28 +60750,28 @@ class fb {
|
|
60750
60750
|
b.set(R.name, R);
|
60751
60751
|
}), b;
|
60752
60752
|
}, m);
|
60753
|
-
const h = this._getNamedArgumentsCompletionList([...m.values()]), g = s ? `${s}.${
|
60753
|
+
const h = this._getNamedArgumentsCompletionList([...m.values()]), g = s ? `${s}.${u}` : u;
|
60754
60754
|
this._userFuncArgsCache.set(g, h);
|
60755
60755
|
}
|
60756
60756
|
}
|
60757
60757
|
}
|
60758
60758
|
_getNamedArgumentsCompletionList(n) {
|
60759
60759
|
return n.map((s) => {
|
60760
|
-
const { name: o, desc: l, displayType:
|
60760
|
+
const { name: o, desc: l, displayType: u } = s, m = `${o} = `, h = Array.isArray(l) ? l.join(this._formatter.delimiter) : l || "";
|
60761
60761
|
return {
|
60762
60762
|
label: m,
|
60763
60763
|
documentation: {
|
60764
60764
|
value: this._formatter.paragraph(this._formatter.bold(Ae.Description), this._formatter.lineBreak, h)
|
60765
60765
|
},
|
60766
60766
|
insertText: m,
|
60767
|
-
detail: `(${Ae.parameter}) ${Ae.types} ${
|
60767
|
+
detail: `(${Ae.parameter}) ${Ae.types} ${u}`,
|
60768
60768
|
kind: it.CompletionItemKind.Text,
|
60769
60769
|
sortText: `0_${m}`
|
60770
60770
|
};
|
60771
60771
|
});
|
60772
60772
|
}
|
60773
60773
|
_getVariableCompletionItem(n, s = 2, o = !0) {
|
60774
|
-
const l = this._extractExamples(n),
|
60774
|
+
const l = this._extractExamples(n), u = this._extractDescription(n), m = [this._createDescriptionSection(u)];
|
60775
60775
|
l.length ? m.push(this._createExampleSection(l)) : n.syntax && n.syntax.length && m.push(this._createSyntaxSection(n.syntax));
|
60776
60776
|
const h = {
|
60777
60777
|
value: m.join(this._formatter.lineBreak)
|
@@ -60786,10 +60786,10 @@ class fb {
|
|
60786
60786
|
};
|
60787
60787
|
}
|
60788
60788
|
_getKeywordCompletionItem(n, s = 2) {
|
60789
|
-
const o = this._extractExamples(n), l = this._extractDescription(n),
|
60790
|
-
return o.length ?
|
60789
|
+
const o = this._extractExamples(n), l = this._extractDescription(n), u = [this._createDescriptionSection(l)];
|
60790
|
+
return o.length ? u.push(this._createExampleSection(o)) : n.syntax && n.syntax.length && u.push(this._createSyntaxSection(n.syntax)), {
|
60791
60791
|
documentation: {
|
60792
|
-
value:
|
60792
|
+
value: u.join(this._formatter.lineBreak)
|
60793
60793
|
},
|
60794
60794
|
label: n.name,
|
60795
60795
|
insertText: n.name,
|
@@ -60839,8 +60839,8 @@ class fb {
|
|
60839
60839
|
}
|
60840
60840
|
_getFunctionCompletionItem(n, s = 2, o = !0) {
|
60841
60841
|
var L;
|
60842
|
-
const l = n.returnedTypes && n.returnedTypes[0] || n.syntax && n.syntax[0] && ((L = n.syntax[0].split("→").pop()) == null ? void 0 : L.trim()),
|
60843
|
-
|
60842
|
+
const l = n.returnedTypes && n.returnedTypes[0] || n.syntax && n.syntax[0] && ((L = n.syntax[0].split("→").pop()) == null ? void 0 : L.trim()), u = this._extractExamples(n), m = this._extractDescription(n), h = [this._createDescriptionSection(m)];
|
60843
|
+
u.length ? h.push(this._createExampleSection(u)) : n.syntax && n.syntax.length && h.push(this._createSyntaxSection(n.syntax)), n.returns && n.returns.length && h.push(this._createReturnSection(n.returns));
|
60844
60844
|
const g = {
|
60845
60845
|
value: h.join(this._formatter.lineBreak)
|
60846
60846
|
}, b = n.name, w = o ? Ae.functions : Ae.userDefinedFunction, T = n.template, R = T ? `${lb(b)}<\${1}>` : b;
|
@@ -60926,16 +60926,16 @@ class yb {
|
|
60926
60926
|
}), this._userFunctions = /* @__PURE__ */ new Map(), this._userVariables = /* @__PURE__ */ new Map(), this._userTypes = /* @__PURE__ */ new Map(), this._userMethods = /* @__PURE__ */ new Map(), this._overloadsFuncs = [];
|
60927
60927
|
}
|
60928
60928
|
setUserDefined(n, s) {
|
60929
|
-
const { functions: o, variables: l, types:
|
60930
|
-
o && (this._userFunctions = o), l && (this._userVariables = l),
|
60929
|
+
const { functions: o, variables: l, types: u, methods: m } = n;
|
60930
|
+
o && (this._userFunctions = o), l && (this._userVariables = l), u && (this._userTypes = u), m && (this._userMethods = m), this._overloadsFuncs = s;
|
60931
60931
|
}
|
60932
60932
|
parseLineContentFuncVar(n, s, o, l) {
|
60933
|
-
let
|
60934
|
-
const m =
|
60935
|
-
if (this._removeString(
|
60933
|
+
let u = (o == null ? void 0 : o.getLineContent(s)) || "";
|
60934
|
+
const m = u.indexOf("//");
|
60935
|
+
if (this._removeString(u).indexOf("//") !== -1 && m <= n)
|
60936
60936
|
return;
|
60937
|
-
|
60938
|
-
const h = this._getVariablesDocVal(
|
60937
|
+
u = u + " ";
|
60938
|
+
const h = this._getVariablesDocVal(u, n, s);
|
60939
60939
|
if (h) {
|
60940
60940
|
if (h.isBuildIn) {
|
60941
60941
|
const w = o == null ? void 0 : o.getWordAtPosition(l || new X_(s, n));
|
@@ -60944,12 +60944,12 @@ class yb {
|
|
60944
60944
|
}
|
60945
60945
|
return h;
|
60946
60946
|
}
|
60947
|
-
const g = this._getFuncsDocVal(
|
60947
|
+
const g = this._getFuncsDocVal(u, n, s);
|
60948
60948
|
if (g)
|
60949
60949
|
return g;
|
60950
|
-
const b =
|
60950
|
+
const b = u.match(/[a-zA-Z_][a-zA-Z_0-9]*(\s*\.\s*[a-zA-Z_][a-zA-Z_0-9]*)*(?=\s*<)/g);
|
60951
60951
|
if (b) {
|
60952
|
-
const w = this._matchContent(b,
|
60952
|
+
const w = this._matchContent(b, u, n);
|
60953
60953
|
if (w) {
|
60954
60954
|
const T = this._getBuildInOther(w.name);
|
60955
60955
|
if (T)
|
@@ -60978,11 +60978,11 @@ class yb {
|
|
60978
60978
|
return gt.methods.get(n);
|
60979
60979
|
}
|
60980
60980
|
_getBuildInOther(n) {
|
60981
|
-
const { keywords: s, variables: o, constants: l, types:
|
60982
|
-
return s.get(n) || o.get(n) || l.get(n) ||
|
60981
|
+
const { keywords: s, variables: o, constants: l, types: u } = gt;
|
60982
|
+
return s.get(n) || o.get(n) || l.get(n) || u.get(n);
|
60983
60983
|
}
|
60984
60984
|
parseCurrentInputFunc(n, s = !1, o = !1) {
|
60985
|
-
let l = n.length - 1,
|
60985
|
+
let l = n.length - 1, u = 0, m = s, h = o;
|
60986
60986
|
for (; l >= 0; ) {
|
60987
60987
|
const g = n.charAt(l);
|
60988
60988
|
if (l -= 1, /['"]/.test(g)) {
|
@@ -61002,9 +61002,9 @@ class yb {
|
|
61002
61002
|
break;
|
61003
61003
|
}
|
61004
61004
|
}
|
61005
|
-
if (!(m || h) && (/\)/.test(g) && (
|
61006
|
-
if (
|
61007
|
-
|
61005
|
+
if (!(m || h) && (/\)/.test(g) && (u += 1), /\(/.test(g))) {
|
61006
|
+
if (u > 0) {
|
61007
|
+
u -= 1;
|
61008
61008
|
continue;
|
61009
61009
|
}
|
61010
61010
|
let b = "";
|
@@ -61025,9 +61025,9 @@ class yb {
|
|
61025
61025
|
}
|
61026
61026
|
}
|
61027
61027
|
parseCurrentInputFuncAndArg(n, s = !1, o = !1) {
|
61028
|
-
const { funcName: l, startIndex:
|
61029
|
-
if (l && typeof
|
61030
|
-
let m = n.slice(
|
61028
|
+
const { funcName: l, startIndex: u } = this.parseCurrentInputFunc(n, s, o) || {};
|
61029
|
+
if (l && typeof u == "number") {
|
61030
|
+
let m = n.slice(u + l.length).trim().slice(1), h = -1;
|
61031
61031
|
if (s && (h = m.lastIndexOf("'")), o) {
|
61032
61032
|
const w = m.lastIndexOf('"');
|
61033
61033
|
(w !== -1 && w < h || h === -1) && (h = w);
|
@@ -61049,22 +61049,22 @@ class yb {
|
|
61049
61049
|
_getVariablesDocVal(n, s, o) {
|
61050
61050
|
const l = this._removeString(n).replace(/\/\/.*/g, "").match(/[a-zA-Z_][a-zA-Z_0-9]*(\s*\.\s*[a-zA-Z_][a-zA-Z_0-9]*)*(?=\s*[^(a-zA-Z_0-9."'<])/g);
|
61051
61051
|
if (l) {
|
61052
|
-
const
|
61053
|
-
if (
|
61052
|
+
const u = this._matchContent(l, n, s);
|
61053
|
+
if (u) {
|
61054
61054
|
const m = {
|
61055
61055
|
docValue: void 0,
|
61056
61056
|
isBuildIn: !0,
|
61057
61057
|
index: 0
|
61058
|
-
}, h = this._getBuildInOther(
|
61058
|
+
}, h = this._getBuildInOther(u.name);
|
61059
61059
|
if (h)
|
61060
61060
|
return m.docValue = h, m;
|
61061
|
-
const g = this._getUserVariablesDocVal(
|
61061
|
+
const g = this._getUserVariablesDocVal(u.name, s, o);
|
61062
61062
|
if (g)
|
61063
61063
|
return Object.assign(m, { docValue: [g], isBuildIn: !1 });
|
61064
|
-
const b = this._getUserTypesDocVal(
|
61064
|
+
const b = this._getUserTypesDocVal(u.name);
|
61065
61065
|
if (b)
|
61066
61066
|
return Object.assign(m, { docValue: b, isBuildIn: !1 });
|
61067
|
-
const w = this._getTypesAndFileds(n,
|
61067
|
+
const w = this._getTypesAndFileds(n, u.name, s, o);
|
61068
61068
|
if (w && typeof w != "string")
|
61069
61069
|
return Object.assign(m, { docValue: [w], isBuildIn: !1 });
|
61070
61070
|
}
|
@@ -61084,7 +61084,7 @@ class yb {
|
|
61084
61084
|
return s[0].title = Ae.userDefinedType, s;
|
61085
61085
|
}
|
61086
61086
|
_getTypesAndFileds(n, s, o, l) {
|
61087
|
-
var
|
61087
|
+
var u, m;
|
61088
61088
|
if (s.includes(".")) {
|
61089
61089
|
const h = s.split(".");
|
61090
61090
|
let g = h[0], b, w = null, T = n.indexOf(s, o - s.length) + 1, R = T + g.length - 1;
|
@@ -61097,7 +61097,7 @@ class yb {
|
|
61097
61097
|
}
|
61098
61098
|
if (w) {
|
61099
61099
|
b = w, T = R + 2, R = R + L.length + 1;
|
61100
|
-
const A = this._userTypes.get(w) || gt.types.get(w), z = (m = (
|
61100
|
+
const A = this._userTypes.get(w) || gt.types.get(w), z = (m = (u = A == null ? void 0 : A[0]) == null ? void 0 : u.fields) == null ? void 0 : m.find((H) => H.name === L);
|
61101
61101
|
if (z && T <= o && R >= o)
|
61102
61102
|
return {
|
61103
61103
|
name: `${w}.${L}`,
|
@@ -61115,19 +61115,19 @@ class yb {
|
|
61115
61115
|
_getFuncsDocVal(n, s, o) {
|
61116
61116
|
const l = n.match(/[a-zA-Z_][a-zA-Z_0-9]*(\s*\.\s*[a-zA-Z_][a-zA-Z_0-9]*)*(?=\s*\()/g);
|
61117
61117
|
if (l) {
|
61118
|
-
const
|
61119
|
-
if (
|
61118
|
+
const u = this._matchContent(l, n, s);
|
61119
|
+
if (u) {
|
61120
61120
|
const m = {
|
61121
61121
|
docValue: void 0,
|
61122
61122
|
isBuildIn: !0,
|
61123
61123
|
index: 0
|
61124
|
-
}, h = this._getBuildInFunc(
|
61124
|
+
}, h = this._getBuildInFunc(u.name);
|
61125
61125
|
if (h)
|
61126
|
-
return m.index = this._getOverloadsFuncIndex(h, s,
|
61127
|
-
const g = this._getUserFuncsDocVal(
|
61126
|
+
return m.index = this._getOverloadsFuncIndex(h, s, u.name, o), Object.assign(m, { docValue: h });
|
61127
|
+
const g = this._getUserFuncsDocVal(u.name);
|
61128
61128
|
if (g)
|
61129
61129
|
return Object.assign(m, { docValue: g, isBuildIn: !1 });
|
61130
|
-
const b = this._getUserVarFuncsDocVal(n,
|
61130
|
+
const b = this._getUserVarFuncsDocVal(n, u.name, s, o);
|
61131
61131
|
if (b)
|
61132
61132
|
return Object.assign(m, { docValue: [b], isBuildIn: !1 });
|
61133
61133
|
}
|
@@ -61135,9 +61135,9 @@ class yb {
|
|
61135
61135
|
}
|
61136
61136
|
_getOverloadsFuncIndex(n, s, o, l) {
|
61137
61137
|
if (n.length > 1) {
|
61138
|
-
const
|
61139
|
-
if (
|
61140
|
-
return
|
61138
|
+
const u = this._overloadsFuncs.find((m) => m.name === o && m.line === l && m.startColumn <= s && m.endColumn >= s);
|
61139
|
+
if (u)
|
61140
|
+
return u.index;
|
61141
61141
|
}
|
61142
61142
|
return 0;
|
61143
61143
|
}
|
@@ -61152,7 +61152,7 @@ class yb {
|
|
61152
61152
|
return s[0].title = Ae.userDefinedMethod, s;
|
61153
61153
|
}
|
61154
61154
|
_getUserVarFuncsDocVal(n, s, o, l) {
|
61155
|
-
var
|
61155
|
+
var u;
|
61156
61156
|
if (s.includes(".")) {
|
61157
61157
|
const m = s.split("."), h = this._getTypesAndFileds(n, s, o, l);
|
61158
61158
|
if (typeof h == "string") {
|
@@ -61161,7 +61161,7 @@ class yb {
|
|
61161
61161
|
const T = this._getOverloadsFuncIndex(w, o, b, l);
|
61162
61162
|
return { ...w[0], name: b, index: T };
|
61163
61163
|
}
|
61164
|
-
return (
|
61164
|
+
return (u = this._getUserMethodsDocVal(b)) == null ? void 0 : u[0];
|
61165
61165
|
} else
|
61166
61166
|
return h;
|
61167
61167
|
}
|
@@ -61171,22 +61171,22 @@ class yb {
|
|
61171
61171
|
}
|
61172
61172
|
_matchContent(n, s, o) {
|
61173
61173
|
let l = 0;
|
61174
|
-
for (const
|
61175
|
-
l = o -
|
61176
|
-
const m = s.indexOf(
|
61177
|
-
if (l = m +
|
61174
|
+
for (const u of n) {
|
61175
|
+
l = o - u.length;
|
61176
|
+
const m = s.indexOf(u, l);
|
61177
|
+
if (l = m + u.length, this._judgeVal(s, m, l) && m + 1 <= o && l >= o)
|
61178
61178
|
return {
|
61179
|
-
name:
|
61179
|
+
name: u,
|
61180
61180
|
endIndex: l
|
61181
61181
|
};
|
61182
61182
|
}
|
61183
61183
|
}
|
61184
61184
|
_judgeVal(n, s, o) {
|
61185
|
-
const l = n.charAt(s - 1),
|
61186
|
-
if (
|
61185
|
+
const l = n.charAt(s - 1), u = /[\w\d."']/;
|
61186
|
+
if (u.test(l))
|
61187
61187
|
return !1;
|
61188
61188
|
const m = n.charAt(o);
|
61189
|
-
return !
|
61189
|
+
return !u.test(m);
|
61190
61190
|
}
|
61191
61191
|
}
|
61192
61192
|
const $s = new yb();
|
@@ -61202,7 +61202,7 @@ var Qa = { exports: {} };
|
|
61202
61202
|
Qa.exports;
|
61203
61203
|
(function(a, n) {
|
61204
61204
|
(function() {
|
61205
|
-
var s, o = "4.17.21", l = 200,
|
61205
|
+
var s, o = "4.17.21", l = 200, u = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", m = "Expected a function", h = "Invalid `variable` option passed into `_.template`", g = "__lodash_hash_undefined__", b = 500, w = "__lodash_placeholder__", T = 1, R = 2, L = 4, A = 1, z = 2, H = 1, $ = 2, O = 4, B = 8, S = 16, M = 32, J = 64, X = 128, fe = 256, ye = 512, oe = 30, bt = "...", St = 800, Ee = 16, Re = 1, G = 2, pe = 3, Se = 1 / 0, Oe = 9007199254740991, ot = 17976931348623157e292, Le = NaN, Z = 4294967295, xe = Z - 1, Be = Z >>> 1, Gt = [
|
61206
61206
|
["ary", X],
|
61207
61207
|
["bind", H],
|
61208
61208
|
["bindKey", $],
|
@@ -61212,7 +61212,7 @@ Qa.exports;
|
|
61212
61212
|
["partial", M],
|
61213
61213
|
["partialRight", J],
|
61214
61214
|
["rearg", fe]
|
61215
|
-
], Ye = "[object Arguments]", or = "[object Array]", ns = "[object AsyncFunction]", Ft = "[object Boolean]", Kt = "[object Date]", Er = "[object DOMException]", Rr = "[object Error]",
|
61215
|
+
], Ye = "[object Arguments]", or = "[object Array]", ns = "[object AsyncFunction]", Ft = "[object Boolean]", Kt = "[object Date]", Er = "[object DOMException]", Rr = "[object Error]", wr = "[object Function]", Xs = "[object GeneratorFunction]", lt = "[object Map]", jt = "[object Number]", Lr = "[object Null]", xt = "[object Object]", is = "[object Promise]", Mr = "[object Proxy]", vr = "[object RegExp]", ct = "[object Set]", Yt = "[object String]", Fr = "[object Symbol]", an = "[object Undefined]", lr = "[object WeakMap]", Gs = "[object WeakSet]", zt = "[object ArrayBuffer]", cr = "[object DataView]", jr = "[object Float32Array]", Br = "[object Float64Array]", Tr = "[object Int8Array]", os = "[object Int16Array]", ls = "[object Int32Array]", cs = "[object Uint8Array]", us = "[object Uint8ClampedArray]", ds = "[object Uint16Array]", ps = "[object Uint32Array]", nn = /\b__p \+= '';/g, ms = /\b(__p \+=) '' \+/g, Ks = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Vt = /&(?:amp|lt|gt|quot|#39);/g, Ur = /[&<>"']/g, fs = RegExp(Vt.source), Ys = RegExp(Ur.source), on = /<%-([\s\S]+?)%>/g, Vs = /<%([\s\S]+?)%>/g, Qs = /<%=([\s\S]+?)%>/g, Js = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Zs = /^\w*$/, ln = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, ys = /[\\^$.*+?()[\]{}|]/g, ea = RegExp(ys.source), hs = /^\s+/, cn = /\s/, un = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, dn = /\{\n\/\* \[wrapped with (.+)\] \*/, y = /,? & /, P = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, F = /[()=,{}\[\]\/\s]/, Q = /\\(\\)?/g, de = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, he = /\w*$/, le = /^[-+]0x[0-9a-f]+$/i, ne = /^0b[01]+$/i, We = /^\[object .+?Constructor\]$/, De = /^0o[0-7]+$/i, qe = /^(?:0|[1-9]\d*)$/, et = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Nt = /($^)/, ta = /['\n\r\u2028\u2029\\]/g, tt = "\\ud800-\\udfff", Ru = "\\u0300-\\u036f", Lu = "\\ufe20-\\ufe2f", Mu = "\\u20d0-\\u20ff", Xi = Ru + Lu + Mu, Gi = "\\u2700-\\u27bf", Ki = "a-z\\xdf-\\xf6\\xf8-\\xff", Fu = "\\xac\\xb1\\xd7\\xf7", ju = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Bu = "\\u2000-\\u206f", Uu = " \\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", Yi = "A-Z\\xc0-\\xd6\\xd8-\\xde", Vi = "\\ufe0e\\ufe0f", Qi = Fu + ju + Bu + Uu, pn = "['’]", Wu = "[" + tt + "]", Ji = "[" + Qi + "]", ra = "[" + Xi + "]", Zi = "\\d+", Hu = "[" + Gi + "]", eo = "[" + Ki + "]", to = "[^" + tt + Qi + Zi + Gi + Ki + Yi + "]", mn = "\\ud83c[\\udffb-\\udfff]", $u = "(?:" + ra + "|" + mn + ")", ro = "[^" + tt + "]", fn = "(?:\\ud83c[\\udde6-\\uddff]){2}", yn = "[\\ud800-\\udbff][\\udc00-\\udfff]", Wr = "[" + Yi + "]", so = "\\u200d", ao = "(?:" + eo + "|" + to + ")", Xu = "(?:" + Wr + "|" + to + ")", no = "(?:" + pn + "(?:d|ll|m|re|s|t|ve))?", io = "(?:" + pn + "(?:D|LL|M|RE|S|T|VE))?", oo = $u + "?", lo = "[" + Vi + "]?", Gu = "(?:" + so + "(?:" + [ro, fn, yn].join("|") + ")" + lo + oo + ")*", Ku = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Yu = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", co = lo + oo + Gu, Vu = "(?:" + [Hu, fn, yn].join("|") + ")" + co, Qu = "(?:" + [ro + ra + "?", ra, fn, yn, Wu].join("|") + ")", Ju = RegExp(pn, "g"), Zu = RegExp(ra, "g"), hn = RegExp(mn + "(?=" + mn + ")|" + Qu + co, "g"), ed = RegExp([
|
61216
61216
|
Wr + "?" + eo + "+" + no + "(?=" + [Ji, Wr, "$"].join("|") + ")",
|
61217
61217
|
Xu + "+" + io + "(?=" + [Ji, Wr + ao, "$"].join("|") + ")",
|
61218
61218
|
Wr + "?" + ao + "+" + no,
|
@@ -61253,9 +61253,9 @@ Qa.exports;
|
|
61253
61253
|
"parseInt",
|
61254
61254
|
"setTimeout"
|
61255
61255
|
], ad = -1, Te = {};
|
61256
|
-
Te[jr] = Te[Br] = Te[
|
61256
|
+
Te[jr] = Te[Br] = Te[Tr] = Te[os] = Te[ls] = Te[cs] = Te[us] = Te[ds] = Te[ps] = !0, Te[Ye] = Te[or] = Te[zt] = Te[Ft] = Te[cr] = Te[Kt] = Te[Rr] = Te[wr] = Te[lt] = Te[jt] = Te[xt] = Te[vr] = Te[ct] = Te[Yt] = Te[lr] = !1;
|
61257
61257
|
var ve = {};
|
61258
|
-
ve[Ye] = ve[or] = ve[zt] = ve[cr] = ve[Ft] = ve[Kt] = ve[jr] = ve[Br] = ve[
|
61258
|
+
ve[Ye] = ve[or] = ve[zt] = ve[cr] = ve[Ft] = ve[Kt] = ve[jr] = ve[Br] = ve[Tr] = ve[os] = ve[ls] = ve[lt] = ve[jt] = ve[xt] = ve[vr] = ve[ct] = ve[Yt] = ve[Fr] = ve[cs] = ve[us] = ve[ds] = ve[ps] = !0, ve[Rr] = ve[wr] = ve[lr] = !1;
|
61259
61259
|
var nd = {
|
61260
61260
|
// Latin-1 Supplement block.
|
61261
61261
|
À: "A",
|
@@ -61468,9 +61468,9 @@ Qa.exports;
|
|
61468
61468
|
"\r": "r",
|
61469
61469
|
"\u2028": "u2028",
|
61470
61470
|
"\u2029": "u2029"
|
61471
|
-
}, cd = parseFloat, ud = parseInt, uo = typeof Ns == "object" && Ns && Ns.Object === Object && Ns, dd = typeof self == "object" && self && self.Object === Object && self, He = uo || dd || Function("return this")(), _n = n && !n.nodeType && n,
|
61471
|
+
}, cd = parseFloat, ud = parseInt, uo = typeof Ns == "object" && Ns && Ns.Object === Object && Ns, dd = typeof self == "object" && self && self.Object === Object && self, He = uo || dd || Function("return this")(), _n = n && !n.nodeType && n, Ir = _n && !0 && a && !a.nodeType && a, po = Ir && Ir.exports === _n, gn = po && uo.process, wt = function() {
|
61472
61472
|
try {
|
61473
|
-
var x =
|
61473
|
+
var x = Ir && Ir.require && Ir.require("util").types;
|
61474
61474
|
return x || gn && gn.binding && gn.binding("util");
|
61475
61475
|
} catch {
|
61476
61476
|
}
|
@@ -61561,7 +61561,7 @@ Qa.exports;
|
|
61561
61561
|
return x.split("");
|
61562
61562
|
}
|
61563
61563
|
function _d(x) {
|
61564
|
-
return x.match(
|
61564
|
+
return x.match(P) || [];
|
61565
61565
|
}
|
61566
61566
|
function xo(x, k, I) {
|
61567
61567
|
var U;
|
@@ -61751,14 +61751,14 @@ Qa.exports;
|
|
61751
61751
|
return e ? "Symbol(src)_1." + e : "";
|
61752
61752
|
}(), ca = Kr.toString, Fd = la.call(we), jd = He._, Bd = qn(
|
61753
61753
|
"^" + la.call(ge).replace(ys, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
61754
|
-
), ua = po ? k.Buffer : s, mr = k.Symbol, da = k.Uint8Array, So = ua ? ua.allocUnsafe : s, pa = Ao(we.getPrototypeOf, we), zo = we.create, No = Kr.propertyIsEnumerable, ma = ia.splice, Oo = mr ? mr.isConcatSpreadable : s, gs = mr ? mr.iterator : s,
|
61754
|
+
), ua = po ? k.Buffer : s, mr = k.Symbol, da = k.Uint8Array, So = ua ? ua.allocUnsafe : s, pa = Ao(we.getPrototypeOf, we), zo = we.create, No = Kr.propertyIsEnumerable, ma = ia.splice, Oo = mr ? mr.isConcatSpreadable : s, gs = mr ? mr.iterator : s, Dr = mr ? mr.toStringTag : s, fa = function() {
|
61755
61755
|
try {
|
61756
|
-
var e =
|
61756
|
+
var e = Sr(we, "defineProperty");
|
61757
61757
|
return e({}, "", {}), e;
|
61758
61758
|
} catch {
|
61759
61759
|
}
|
61760
|
-
}(), Ud = k.clearTimeout !== He.clearTimeout && k.clearTimeout, Wd = U && U.now !== He.Date.now && U.now, Hd = k.setTimeout !== He.setTimeout && k.setTimeout, ya = Me.ceil, ha = Me.floor, Cn = we.getOwnPropertySymbols, $d = ua ? ua.isBuffer : s, Po = k.isFinite, Xd = ia.join, Gd = Ao(we.keys, we), Fe = Me.max, Xe = Me.min, Kd = U.now, Yd = k.parseInt, Eo = Me.random, Vd = ia.reverse, Sn =
|
61761
|
-
function
|
61760
|
+
}(), Ud = k.clearTimeout !== He.clearTimeout && k.clearTimeout, Wd = U && U.now !== He.Date.now && U.now, Hd = k.setTimeout !== He.setTimeout && k.setTimeout, ya = Me.ceil, ha = Me.floor, Cn = we.getOwnPropertySymbols, $d = ua ? ua.isBuffer : s, Po = k.isFinite, Xd = ia.join, Gd = Ao(we.keys, we), Fe = Me.max, Xe = Me.min, Kd = U.now, Yd = k.parseInt, Eo = Me.random, Vd = ia.reverse, Sn = Sr(k, "DataView"), bs = Sr(k, "Map"), zn = Sr(k, "Promise"), Yr = Sr(k, "Set"), xs = Sr(k, "WeakMap"), ws = Sr(we, "create"), _a = xs && new xs(), Vr = {}, Qd = zr(Sn), Jd = zr(bs), Zd = zr(zn), ep = zr(Yr), tp = zr(xs), ga = mr ? mr.prototype : s, vs = ga ? ga.valueOf : s, Ro = ga ? ga.toString : s;
|
61761
|
+
function d(e) {
|
61762
61762
|
if (Ce(e) && !te(e) && !(e instanceof ce)) {
|
61763
61763
|
if (e instanceof It)
|
61764
61764
|
return e;
|
@@ -61785,7 +61785,7 @@ Qa.exports;
|
|
61785
61785
|
function It(e, t) {
|
61786
61786
|
this.__wrapped__ = e, this.__actions__ = [], this.__chain__ = !!t, this.__index__ = 0, this.__values__ = s;
|
61787
61787
|
}
|
61788
|
-
|
61788
|
+
d.templateSettings = {
|
61789
61789
|
/**
|
61790
61790
|
* Used to detect `data` property values to be HTML-escaped.
|
61791
61791
|
*
|
@@ -61827,9 +61827,9 @@ Qa.exports;
|
|
61827
61827
|
* @memberOf _.templateSettings.imports
|
61828
61828
|
* @type {Function}
|
61829
61829
|
*/
|
61830
|
-
_:
|
61830
|
+
_: d
|
61831
61831
|
}
|
61832
|
-
},
|
61832
|
+
}, d.prototype = ba.prototype, d.prototype.constructor = d, It.prototype = Qr(ba.prototype), It.prototype.constructor = It;
|
61833
61833
|
function ce(e) {
|
61834
61834
|
this.__wrapped__ = e, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = Z, this.__views__ = [];
|
61835
61835
|
}
|
@@ -61868,7 +61868,7 @@ Qa.exports;
|
|
61868
61868
|
return Y;
|
61869
61869
|
}
|
61870
61870
|
ce.prototype = Qr(ba.prototype), ce.prototype.constructor = ce;
|
61871
|
-
function
|
61871
|
+
function kr(e) {
|
61872
61872
|
var t = -1, r = e == null ? 0 : e.length;
|
61873
61873
|
for (this.clear(); ++t < r; ) {
|
61874
61874
|
var i = e[t];
|
@@ -61898,7 +61898,7 @@ Qa.exports;
|
|
61898
61898
|
var r = this.__data__;
|
61899
61899
|
return this.size += this.has(e) ? 0 : 1, r[e] = ws && t === s ? g : t, this;
|
61900
61900
|
}
|
61901
|
-
|
61901
|
+
kr.prototype.clear = np, kr.prototype.delete = ip, kr.prototype.get = op, kr.prototype.has = lp, kr.prototype.set = cp;
|
61902
61902
|
function Qt(e) {
|
61903
61903
|
var t = -1, r = e == null ? 0 : e.length;
|
61904
61904
|
for (this.clear(); ++t < r; ) {
|
@@ -61937,9 +61937,9 @@ Qa.exports;
|
|
61937
61937
|
}
|
61938
61938
|
function yp() {
|
61939
61939
|
this.size = 0, this.__data__ = {
|
61940
|
-
hash: new
|
61940
|
+
hash: new kr(),
|
61941
61941
|
map: new (bs || Qt)(),
|
61942
|
-
string: new
|
61942
|
+
string: new kr()
|
61943
61943
|
};
|
61944
61944
|
}
|
61945
61945
|
function hp(e) {
|
@@ -61957,7 +61957,7 @@ Qa.exports;
|
|
61957
61957
|
return r.set(e, t), this.size += r.size == i ? 0 : 1, this;
|
61958
61958
|
}
|
61959
61959
|
Jt.prototype.clear = yp, Jt.prototype.delete = hp, Jt.prototype.get = _p, Jt.prototype.has = gp, Jt.prototype.set = bp;
|
61960
|
-
function
|
61960
|
+
function Ar(e) {
|
61961
61961
|
var t = -1, r = e == null ? 0 : e.length;
|
61962
61962
|
for (this.__data__ = new Jt(); ++t < r; )
|
61963
61963
|
this.add(e[t]);
|
@@ -61968,7 +61968,7 @@ Qa.exports;
|
|
61968
61968
|
function wp(e) {
|
61969
61969
|
return this.__data__.has(e);
|
61970
61970
|
}
|
61971
|
-
|
61971
|
+
Ar.prototype.add = Ar.prototype.push = xp, Ar.prototype.has = wp;
|
61972
61972
|
function Pt(e) {
|
61973
61973
|
var t = this.__data__ = new Qt(e);
|
61974
61974
|
this.size = t.size;
|
@@ -61998,7 +61998,7 @@ Qa.exports;
|
|
61998
61998
|
}
|
61999
61999
|
Pt.prototype.clear = vp, Pt.prototype.delete = Tp, Pt.prototype.get = Ip, Pt.prototype.has = Dp, Pt.prototype.set = kp;
|
62000
62000
|
function Lo(e, t) {
|
62001
|
-
var r = te(e), i = !r &&
|
62001
|
+
var r = te(e), i = !r && Nr(e), c = !r && !i && gr(e), p = !r && !i && !c && ts(e), f = r || i || c || p, _ = f ? Dn(e.length, Rd) : [], v = _.length;
|
62002
62002
|
for (var q in e)
|
62003
62003
|
(t || ge.call(e, q)) && !(f && // Safari 9 has enumerable `arguments.length` in strict mode.
|
62004
62004
|
(q == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
@@ -62012,7 +62012,7 @@ Qa.exports;
|
|
62012
62012
|
return t ? e[Un(0, t - 1)] : s;
|
62013
62013
|
}
|
62014
62014
|
function Ap(e, t) {
|
62015
|
-
return Oa(rt(e),
|
62015
|
+
return Oa(rt(e), qr(t, 0, e.length));
|
62016
62016
|
}
|
62017
62017
|
function qp(e) {
|
62018
62018
|
return Oa(rt(e));
|
@@ -62054,7 +62054,7 @@ Qa.exports;
|
|
62054
62054
|
c[r] = p ? s : mi(e, t[r]);
|
62055
62055
|
return c;
|
62056
62056
|
}
|
62057
|
-
function
|
62057
|
+
function qr(e, t, r) {
|
62058
62058
|
return e === e && (r !== s && (e = e <= r ? e : r), t !== s && (e = e >= t ? e : t)), e;
|
62059
62059
|
}
|
62060
62060
|
function Dt(e, t, r, i, c, p) {
|
@@ -62068,7 +62068,7 @@ Qa.exports;
|
|
62068
62068
|
if (f = gm(e), !_)
|
62069
62069
|
return rt(e, f);
|
62070
62070
|
} else {
|
62071
|
-
var N = Ge(e), j = N ==
|
62071
|
+
var N = Ge(e), j = N == wr || N == Xs;
|
62072
62072
|
if (gr(e))
|
62073
62073
|
return cl(e, _);
|
62074
62074
|
if (N == xt || N == Ye || j && !c) {
|
@@ -62122,7 +62122,7 @@ Qa.exports;
|
|
62122
62122
|
var c = -1, p = sa, f = !0, _ = e.length, v = [], q = t.length;
|
62123
62123
|
if (!_)
|
62124
62124
|
return v;
|
62125
|
-
r && (t = Ie(t, dt(r))), i ? (p = bn, f = !1) : t.length >= l && (p = _s, f = !1, t = new
|
62125
|
+
r && (t = Ie(t, dt(r))), i ? (p = bn, f = !1) : t.length >= l && (p = _s, f = !1, t = new Ar(t));
|
62126
62126
|
e:
|
62127
62127
|
for (; ++c < _; ) {
|
62128
62128
|
var C = e[c], N = r == null ? C : r(C);
|
@@ -62183,7 +62183,7 @@ Qa.exports;
|
|
62183
62183
|
return sr(e[r]);
|
62184
62184
|
});
|
62185
62185
|
}
|
62186
|
-
function
|
62186
|
+
function Cr(e, t) {
|
62187
62187
|
t = hr(t, e);
|
62188
62188
|
for (var r = 0, i = t.length; e != null && r < i; )
|
62189
62189
|
e = e[Wt(t[r++])];
|
@@ -62194,7 +62194,7 @@ Qa.exports;
|
|
62194
62194
|
return te(e) ? i : dr(i, r(e));
|
62195
62195
|
}
|
62196
62196
|
function Ve(e) {
|
62197
|
-
return e == null ? e === s ? an : Lr :
|
62197
|
+
return e == null ? e === s ? an : Lr : Dr && Dr in we(e) ? ym(e) : qm(e);
|
62198
62198
|
}
|
62199
62199
|
function Rn(e, t) {
|
62200
62200
|
return e > t;
|
@@ -62211,7 +62211,7 @@ Qa.exports;
|
|
62211
62211
|
function Ln(e, t, r) {
|
62212
62212
|
for (var i = r ? bn : sa, c = e[0].length, p = e.length, f = p, _ = I(p), v = 1 / 0, q = []; f--; ) {
|
62213
62213
|
var C = e[f];
|
62214
|
-
f && t && (C = Ie(C, dt(t))), v = Xe(C.length, v), _[f] = !r && (t || c >= 120 && C.length >= 120) ? new
|
62214
|
+
f && t && (C = Ie(C, dt(t))), v = Xe(C.length, v), _[f] = !r && (t || c >= 120 && C.length >= 120) ? new Ar(f && C) : s;
|
62215
62215
|
}
|
62216
62216
|
C = e[0];
|
62217
62217
|
var N = -1, j = _[0];
|
@@ -62303,10 +62303,10 @@ Qa.exports;
|
|
62303
62303
|
if (!ke(e) || Tm(e))
|
62304
62304
|
return !1;
|
62305
62305
|
var t = sr(e) ? Bd : We;
|
62306
|
-
return t.test(
|
62306
|
+
return t.test(zr(e));
|
62307
62307
|
}
|
62308
62308
|
function Up(e) {
|
62309
|
-
return Ce(e) && Ve(e) ==
|
62309
|
+
return Ce(e) && Ve(e) == vr;
|
62310
62310
|
}
|
62311
62311
|
function Wp(e) {
|
62312
62312
|
return Ce(e) && Ge(e) == ct;
|
@@ -62373,7 +62373,7 @@ Qa.exports;
|
|
62373
62373
|
var C = p ? p(_, v, r + "", e, t, f) : s, N = C === s;
|
62374
62374
|
if (N) {
|
62375
62375
|
var j = te(v), W = !j && gr(v), Y = !j && !W && ts(v);
|
62376
|
-
C = v, j || W || Y ? te(_) ? C = _ : ze(_) ? C = rt(_) : W ? (N = !1, C = cl(v, !0)) : Y ? (N = !1, C = ul(v, !0)) : C = [] : zs(v) ||
|
62376
|
+
C = v, j || W || Y ? te(_) ? C = _ : ze(_) ? C = rt(_) : W ? (N = !1, C = cl(v, !0)) : Y ? (N = !1, C = ul(v, !0)) : C = [] : zs(v) || Nr(v) ? (C = _, Nr(_) ? C = ic(_) : (!ke(_) || sr(_)) && (C = ql(v))) : N = !1;
|
62377
62377
|
}
|
62378
62378
|
N && (f.set(v, C), c(C, v, i, p, f), f.delete(v)), Nn(e, r, C);
|
62379
62379
|
}
|
@@ -62385,7 +62385,7 @@ Qa.exports;
|
|
62385
62385
|
function Zo(e, t, r) {
|
62386
62386
|
t.length ? t = Ie(t, function(p) {
|
62387
62387
|
return te(p) ? function(f) {
|
62388
|
-
return
|
62388
|
+
return Cr(f, p.length === 1 ? p[0] : p);
|
62389
62389
|
} : p;
|
62390
62390
|
}) : t = [nt];
|
62391
62391
|
var i = -1;
|
@@ -62407,14 +62407,14 @@ Qa.exports;
|
|
62407
62407
|
}
|
62408
62408
|
function el(e, t, r) {
|
62409
62409
|
for (var i = -1, c = t.length, p = {}; ++i < c; ) {
|
62410
|
-
var f = t[i], _ =
|
62410
|
+
var f = t[i], _ = Cr(e, f);
|
62411
62411
|
r(_, f) && As(p, hr(f, e), _);
|
62412
62412
|
}
|
62413
62413
|
return p;
|
62414
62414
|
}
|
62415
62415
|
function Kp(e) {
|
62416
62416
|
return function(t) {
|
62417
|
-
return
|
62417
|
+
return Cr(t, e);
|
62418
62418
|
};
|
62419
62419
|
}
|
62420
62420
|
function Bn(e, t, r, i) {
|
@@ -62459,7 +62459,7 @@ Qa.exports;
|
|
62459
62459
|
}
|
62460
62460
|
function Qp(e, t) {
|
62461
62461
|
var r = rs(e);
|
62462
|
-
return Oa(r,
|
62462
|
+
return Oa(r, qr(t, 0, r.length));
|
62463
62463
|
}
|
62464
62464
|
function As(e, t, r, i) {
|
62465
62465
|
if (!ke(e))
|
@@ -62560,7 +62560,7 @@ Qa.exports;
|
|
62560
62560
|
var q = t ? null : dm(e);
|
62561
62561
|
if (q)
|
62562
62562
|
return na(q);
|
62563
|
-
f = !1, c = _s, v = new
|
62563
|
+
f = !1, c = _s, v = new Ar();
|
62564
62564
|
} else
|
62565
62565
|
v = t ? [] : _;
|
62566
62566
|
e:
|
@@ -62580,7 +62580,7 @@ Qa.exports;
|
|
62580
62580
|
return t = hr(t, e), e = Nl(e, t), e == null || delete e[Wt(At(t))];
|
62581
62581
|
}
|
62582
62582
|
function nl(e, t, r, i) {
|
62583
|
-
return As(e, t, r(
|
62583
|
+
return As(e, t, r(Cr(e, t)), i);
|
62584
62584
|
}
|
62585
62585
|
function Da(e, t, r, i) {
|
62586
62586
|
for (var c = e.length, p = i ? c : -1; (i ? p-- : ++p < c) && t(e[p], p, e); )
|
@@ -62942,7 +62942,7 @@ Qa.exports;
|
|
62942
62942
|
}
|
62943
62943
|
function wl(e, t, r, i, c, p, f, _, v, q) {
|
62944
62944
|
var C = t & B, N = C ? f : s, j = C ? s : f, W = C ? p : s, Y = C ? s : p;
|
62945
|
-
t |= C ? M : J, t &= ~(C ? J : M), t &
|
62945
|
+
t |= C ? M : J, t &= ~(C ? J : M), t & O || (t &= ~(H | $));
|
62946
62946
|
var se = [
|
62947
62947
|
e,
|
62948
62948
|
t,
|
@@ -63020,7 +63020,7 @@ Qa.exports;
|
|
63020
63020
|
var q = p.get(e), C = p.get(t);
|
63021
63021
|
if (q && C)
|
63022
63022
|
return q == t && C == e;
|
63023
|
-
var N = -1, j = !0, W = r & z ? new
|
63023
|
+
var N = -1, j = !0, W = r & z ? new Ar() : s;
|
63024
63024
|
for (p.set(e, t), p.set(t, e); ++N < _; ) {
|
63025
63025
|
var Y = e[N], se = t[N];
|
63026
63026
|
if (i)
|
@@ -63060,7 +63060,7 @@ Qa.exports;
|
|
63060
63060
|
return Et(+e, +t);
|
63061
63061
|
case Rr:
|
63062
63062
|
return e.name == t.name && e.message == t.message;
|
63063
|
-
case
|
63063
|
+
case vr:
|
63064
63064
|
case Yt:
|
63065
63065
|
return e == t + "";
|
63066
63066
|
case lt:
|
@@ -63133,11 +63133,11 @@ Qa.exports;
|
|
63133
63133
|
return t;
|
63134
63134
|
}
|
63135
63135
|
function es(e) {
|
63136
|
-
var t = ge.call(
|
63136
|
+
var t = ge.call(d, "placeholder") ? d : e;
|
63137
63137
|
return t.placeholder;
|
63138
63138
|
}
|
63139
63139
|
function K() {
|
63140
|
-
var e =
|
63140
|
+
var e = d.iteratee || _i;
|
63141
63141
|
return e = e === _i ? Ko : e, arguments.length ? e(arguments[0], arguments[1]) : e;
|
63142
63142
|
}
|
63143
63143
|
function Na(e, t) {
|
@@ -63151,19 +63151,19 @@ Qa.exports;
|
|
63151
63151
|
}
|
63152
63152
|
return t;
|
63153
63153
|
}
|
63154
|
-
function
|
63154
|
+
function Sr(e, t) {
|
63155
63155
|
var r = Dd(e, t);
|
63156
63156
|
return Go(r) ? r : s;
|
63157
63157
|
}
|
63158
63158
|
function ym(e) {
|
63159
|
-
var t = ge.call(e,
|
63159
|
+
var t = ge.call(e, Dr), r = e[Dr];
|
63160
63160
|
try {
|
63161
|
-
e[
|
63161
|
+
e[Dr] = s;
|
63162
63162
|
var i = !0;
|
63163
63163
|
} catch {
|
63164
63164
|
}
|
63165
63165
|
var c = ca.call(e);
|
63166
|
-
return i && (t ? e[
|
63166
|
+
return i && (t ? e[Dr] = r : delete e[Dr]), c;
|
63167
63167
|
}
|
63168
63168
|
var ri = Cn ? function(e) {
|
63169
63169
|
return e == null ? [] : (e = we(e), ur(Cn(e), function(t) {
|
@@ -63175,7 +63175,7 @@ Qa.exports;
|
|
63175
63175
|
return t;
|
63176
63176
|
} : xi, Ge = Ve;
|
63177
63177
|
(Sn && Ge(new Sn(new ArrayBuffer(1))) != cr || bs && Ge(new bs()) != lt || zn && Ge(zn.resolve()) != is || Yr && Ge(new Yr()) != ct || xs && Ge(new xs()) != lr) && (Ge = function(e) {
|
63178
|
-
var t = Ve(e), r = t == xt ? e.constructor : s, i = r ?
|
63178
|
+
var t = Ve(e), r = t == xt ? e.constructor : s, i = r ? zr(r) : "";
|
63179
63179
|
if (i)
|
63180
63180
|
switch (i) {
|
63181
63181
|
case Qd:
|
@@ -63223,7 +63223,7 @@ Qa.exports;
|
|
63223
63223
|
break;
|
63224
63224
|
e = e[f];
|
63225
63225
|
}
|
63226
|
-
return p || ++i != c ? p : (c = e == null ? 0 : e.length, !!c && Fa(c) && rr(f, c) && (te(e) ||
|
63226
|
+
return p || ++i != c ? p : (c = e == null ? 0 : e.length, !!c && Fa(c) && rr(f, c) && (te(e) || Nr(e)));
|
63227
63227
|
}
|
63228
63228
|
function gm(e) {
|
63229
63229
|
var t = e.length, r = new e.constructor(t);
|
@@ -63244,7 +63244,7 @@ Qa.exports;
|
|
63244
63244
|
return rm(e, r);
|
63245
63245
|
case jr:
|
63246
63246
|
case Br:
|
63247
|
-
case
|
63247
|
+
case Tr:
|
63248
63248
|
case os:
|
63249
63249
|
case ls:
|
63250
63250
|
case cs:
|
@@ -63257,7 +63257,7 @@ Qa.exports;
|
|
63257
63257
|
case jt:
|
63258
63258
|
case Yt:
|
63259
63259
|
return new i(e);
|
63260
|
-
case
|
63260
|
+
case vr:
|
63261
63261
|
return sm(e);
|
63262
63262
|
case ct:
|
63263
63263
|
return new i();
|
@@ -63275,7 +63275,7 @@ Qa.exports;
|
|
63275
63275
|
`);
|
63276
63276
|
}
|
63277
63277
|
function wm(e) {
|
63278
|
-
return te(e) ||
|
63278
|
+
return te(e) || Nr(e) || !!(Oo && e && e[Oo]);
|
63279
63279
|
}
|
63280
63280
|
function rr(e, t) {
|
63281
63281
|
var r = typeof e;
|
@@ -63298,7 +63298,7 @@ Qa.exports;
|
|
63298
63298
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
63299
63299
|
}
|
63300
63300
|
function ai(e) {
|
63301
|
-
var t = za(e), r =
|
63301
|
+
var t = za(e), r = d[t];
|
63302
63302
|
if (typeof r != "function" || !(t in ce.prototype))
|
63303
63303
|
return !1;
|
63304
63304
|
if (e === r)
|
@@ -63332,7 +63332,7 @@ Qa.exports;
|
|
63332
63332
|
var r = e[1], i = t[1], c = r | i, p = c < (H | $ | X), f = i == X && r == B || i == X && r == fe && e[7].length <= t[8] || i == (X | fe) && t[7].length <= t[8] && r == B;
|
63333
63333
|
if (!(p || f))
|
63334
63334
|
return e;
|
63335
|
-
i & H && (e[2] = t[2], c |= r & H ? 0 :
|
63335
|
+
i & H && (e[2] = t[2], c |= r & H ? 0 : O);
|
63336
63336
|
var _ = t[3];
|
63337
63337
|
if (_) {
|
63338
63338
|
var v = e[3];
|
@@ -63361,7 +63361,7 @@ Qa.exports;
|
|
63361
63361
|
};
|
63362
63362
|
}
|
63363
63363
|
function Nl(e, t) {
|
63364
|
-
return t.length < 2 ? e :
|
63364
|
+
return t.length < 2 ? e : Cr(e, kt(t, 0, -1));
|
63365
63365
|
}
|
63366
63366
|
function Cm(e, t) {
|
63367
63367
|
for (var r = e.length, i = Xe(t.length, r), c = rt(e); i--; ) {
|
@@ -63413,7 +63413,7 @@ Qa.exports;
|
|
63413
63413
|
var t = e + "";
|
63414
63414
|
return t == "0" && 1 / e == -Se ? "-0" : t;
|
63415
63415
|
}
|
63416
|
-
function
|
63416
|
+
function zr(e) {
|
63417
63417
|
if (e != null) {
|
63418
63418
|
try {
|
63419
63419
|
return la.call(e);
|
@@ -63709,7 +63709,7 @@ Qa.exports;
|
|
63709
63709
|
return r = typeof r == "function" ? (e.pop(), r) : s, Wl(e, r);
|
63710
63710
|
});
|
63711
63711
|
function Hl(e) {
|
63712
|
-
var t =
|
63712
|
+
var t = d(e);
|
63713
63713
|
return t.__chain__ = !0, t;
|
63714
63714
|
}
|
63715
63715
|
function Of(e, t) {
|
@@ -64075,7 +64075,7 @@ Qa.exports;
|
|
64075
64075
|
}
|
64076
64076
|
var Cy = Sa(Rn), Sy = Sa(function(e, t) {
|
64077
64077
|
return e >= t;
|
64078
|
-
}),
|
64078
|
+
}), Nr = Xo(/* @__PURE__ */ function() {
|
64079
64079
|
return arguments;
|
64080
64080
|
}()) ? Xo : function(e) {
|
64081
64081
|
return Ce(e) && ge.call(e, "callee") && !No.call(e, "callee");
|
@@ -64096,7 +64096,7 @@ Qa.exports;
|
|
64096
64096
|
function Ey(e) {
|
64097
64097
|
if (e == null)
|
64098
64098
|
return !0;
|
64099
|
-
if (st(e) && (te(e) || typeof e == "string" || typeof e.splice == "function" || gr(e) || ts(e) ||
|
64099
|
+
if (st(e) && (te(e) || typeof e == "string" || typeof e.splice == "function" || gr(e) || ts(e) || Nr(e)))
|
64100
64100
|
return !e.length;
|
64101
64101
|
var t = Ge(e);
|
64102
64102
|
if (t == lt || t == ct)
|
@@ -64129,7 +64129,7 @@ Qa.exports;
|
|
64129
64129
|
if (!ke(e))
|
64130
64130
|
return !1;
|
64131
64131
|
var t = Ve(e);
|
64132
|
-
return t ==
|
64132
|
+
return t == wr || t == Xs || t == ns || t == Mr;
|
64133
64133
|
}
|
64134
64134
|
function ec(e) {
|
64135
64135
|
return typeof e == "number" && e == re(e);
|
@@ -64156,7 +64156,7 @@ Qa.exports;
|
|
64156
64156
|
}
|
64157
64157
|
function Uy(e) {
|
64158
64158
|
if (Im(e))
|
64159
|
-
throw new ee(
|
64159
|
+
throw new ee(u);
|
64160
64160
|
return Go(e);
|
64161
64161
|
}
|
64162
64162
|
function Wy(e) {
|
@@ -64225,7 +64225,7 @@ Qa.exports;
|
|
64225
64225
|
return t === t ? r ? t - r : t : 0;
|
64226
64226
|
}
|
64227
64227
|
function nc(e) {
|
64228
|
-
return e ?
|
64228
|
+
return e ? qr(re(e), 0, Z) : 0;
|
64229
64229
|
}
|
64230
64230
|
function qt(e) {
|
64231
64231
|
if (typeof e == "number")
|
@@ -64246,7 +64246,7 @@ Qa.exports;
|
|
64246
64246
|
return Ut(e, at(e));
|
64247
64247
|
}
|
64248
64248
|
function Qy(e) {
|
64249
|
-
return e ?
|
64249
|
+
return e ? qr(re(e), -Oe, Oe) : e === 0 ? e : 0;
|
64250
64250
|
}
|
64251
64251
|
function _e(e) {
|
64252
64252
|
return e == null ? "" : pt(e);
|
@@ -64306,7 +64306,7 @@ Qa.exports;
|
|
64306
64306
|
return e == null ? [] : va(e, at(e));
|
64307
64307
|
}
|
64308
64308
|
function mi(e, t, r) {
|
64309
|
-
var i = e == null ? s :
|
64309
|
+
var i = e == null ? s : Cr(e, t);
|
64310
64310
|
return i === s ? r : i;
|
64311
64311
|
}
|
64312
64312
|
function ph(e, t) {
|
@@ -64412,7 +64412,7 @@ Qa.exports;
|
|
64412
64412
|
return e == null ? [] : kn(e, at(e));
|
64413
64413
|
}
|
64414
64414
|
function Sh(e, t, r) {
|
64415
|
-
return r === s && (r = t, t = s), r !== s && (r = qt(r), r = r === r ? r : 0), t !== s && (t = qt(t), t = t === t ? t : 0),
|
64415
|
+
return r === s && (r = t, t = s), r !== s && (r = qt(r), r = r === r ? r : 0), t !== s && (t = qt(t), t = t === t ? t : 0), qr(qt(e), t, r);
|
64416
64416
|
}
|
64417
64417
|
function zh(e, t, r) {
|
64418
64418
|
return t = ar(t), r === s ? (r = t, t = 0) : r = ar(r), e = qt(e), Rp(e, t, r);
|
@@ -64440,7 +64440,7 @@ Qa.exports;
|
|
64440
64440
|
function Ph(e, t, r) {
|
64441
64441
|
e = _e(e), t = pt(t);
|
64442
64442
|
var i = e.length;
|
64443
|
-
r = r === s ? i :
|
64443
|
+
r = r === s ? i : qr(re(r), 0, i);
|
64444
64444
|
var c = r;
|
64445
64445
|
return r -= t.length, r >= 0 && e.slice(r, c) == t;
|
64446
64446
|
}
|
@@ -64493,10 +64493,10 @@ Qa.exports;
|
|
64493
64493
|
return e + (r ? " " : "") + yi(t);
|
64494
64494
|
});
|
64495
64495
|
function Yh(e, t, r) {
|
64496
|
-
return e = _e(e), r = r == null ? 0 :
|
64496
|
+
return e = _e(e), r = r == null ? 0 : qr(re(r), 0, e.length), t = pt(t), e.slice(r, r + t.length) == t;
|
64497
64497
|
}
|
64498
64498
|
function Vh(e, t, r) {
|
64499
|
-
var i =
|
64499
|
+
var i = d.templateSettings;
|
64500
64500
|
r && Qe(e, t, r) && (t = s), e = _e(e), t = Ba({}, t, i, Tl);
|
64501
64501
|
var c = Ba({}, t.imports, i.imports, Tl), p = Ue(c), f = kn(c, p), _, v, q = 0, C = t.interpolate || Nt, N = "__p += '", j = qn(
|
64502
64502
|
(t.escape || Nt).source + "|" + C.source + "|" + (C === Qs ? de : Nt).source + "|" + (t.evaluate || Nt).source + "|$",
|
@@ -64697,7 +64697,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
64697
64697
|
}
|
64698
64698
|
function x_(e) {
|
64699
64699
|
return function(t) {
|
64700
|
-
return e == null ? s :
|
64700
|
+
return e == null ? s : Cr(e, t);
|
64701
64701
|
};
|
64702
64702
|
}
|
64703
64703
|
var w_ = xl(), v_ = xl(!0);
|
@@ -64766,13 +64766,13 @@ function print() { __p += __j.call(arguments, '') }
|
|
64766
64766
|
function W_(e, t) {
|
64767
64767
|
return e && e.length ? In(e, K(t, 2)) : 0;
|
64768
64768
|
}
|
64769
|
-
return
|
64769
|
+
return d.after = dy, d.ary = Gl, d.assign = Jy, d.assignIn = oc, d.assignInWith = Ba, d.assignWith = Zy, d.at = eh, d.before = Kl, d.bind = ci, d.bindAll = n_, d.bindKey = Yl, d.castArray = Ty, d.chain = Hl, d.chunk = zm, d.compact = Nm, d.concat = Om, d.cond = i_, d.conforms = o_, d.constant = hi, d.countBy = Uf, d.create = th, d.curry = Vl, d.curryRight = Ql, d.debounce = Jl, d.defaults = rh, d.defaultsDeep = sh, d.defer = py, d.delay = my, d.difference = Pm, d.differenceBy = Em, d.differenceWith = Rm, d.drop = Lm, d.dropRight = Mm, d.dropRightWhile = Fm, d.dropWhile = jm, d.fill = Bm, d.filter = Hf, d.flatMap = Gf, d.flatMapDeep = Kf, d.flatMapDepth = Yf, d.flatten = jl, d.flattenDeep = Um, d.flattenDepth = Wm, d.flip = fy, d.flow = c_, d.flowRight = u_, d.fromPairs = Hm, d.functions = uh, d.functionsIn = dh, d.groupBy = Vf, d.initial = Xm, d.intersection = Gm, d.intersectionBy = Km, d.intersectionWith = Ym, d.invert = mh, d.invertBy = fh, d.invokeMap = Jf, d.iteratee = _i, d.keyBy = Zf, d.keys = Ue, d.keysIn = at, d.map = Ea, d.mapKeys = hh, d.mapValues = _h, d.matches = d_, d.matchesProperty = p_, d.memoize = La, d.merge = gh, d.mergeWith = lc, d.method = m_, d.methodOf = f_, d.mixin = gi, d.negate = Ma, d.nthArg = h_, d.omit = bh, d.omitBy = xh, d.once = yy, d.orderBy = ey, d.over = __, d.overArgs = hy, d.overEvery = g_, d.overSome = b_, d.partial = ui, d.partialRight = Zl, d.partition = ty, d.pick = wh, d.pickBy = cc, d.property = hc, d.propertyOf = x_, d.pull = Zm, d.pullAll = Ul, d.pullAllBy = ef, d.pullAllWith = tf, d.pullAt = rf, d.range = w_, d.rangeRight = v_, d.rearg = _y, d.reject = ay, d.remove = sf, d.rest = gy, d.reverse = oi, d.sampleSize = iy, d.set = Th, d.setWith = Ih, d.shuffle = oy, d.slice = af, d.sortBy = uy, d.sortedUniq = pf, d.sortedUniqBy = mf, d.split = Gh, d.spread = by, d.tail = ff, d.take = yf, d.takeRight = hf, d.takeRightWhile = _f, d.takeWhile = gf, d.tap = Of, d.throttle = xy, d.thru = Pa, d.toArray = ac, d.toPairs = uc, d.toPairsIn = dc, d.toPath = A_, d.toPlainObject = ic, d.transform = Dh, d.unary = wy, d.union = bf, d.unionBy = xf, d.unionWith = wf, d.uniq = vf, d.uniqBy = Tf, d.uniqWith = If, d.unset = kh, d.unzip = li, d.unzipWith = Wl, d.update = Ah, d.updateWith = qh, d.values = rs, d.valuesIn = Ch, d.without = Df, d.words = fc, d.wrap = vy, d.xor = kf, d.xorBy = Af, d.xorWith = qf, d.zip = Cf, d.zipObject = Sf, d.zipObjectDeep = zf, d.zipWith = Nf, d.entries = uc, d.entriesIn = dc, d.extend = oc, d.extendWith = Ba, gi(d, d), d.add = C_, d.attempt = yc, d.camelCase = Oh, d.capitalize = pc, d.ceil = S_, d.clamp = Sh, d.clone = Iy, d.cloneDeep = ky, d.cloneDeepWith = Ay, d.cloneWith = Dy, d.conformsTo = qy, d.deburr = mc, d.defaultTo = l_, d.divide = z_, d.endsWith = Ph, d.eq = Et, d.escape = Eh, d.escapeRegExp = Rh, d.every = Wf, d.find = $f, d.findIndex = Ml, d.findKey = ah, d.findLast = Xf, d.findLastIndex = Fl, d.findLastKey = nh, d.floor = N_, d.forEach = $l, d.forEachRight = Xl, d.forIn = ih, d.forInRight = oh, d.forOwn = lh, d.forOwnRight = ch, d.get = mi, d.gt = Cy, d.gte = Sy, d.has = ph, d.hasIn = fi, d.head = Bl, d.identity = nt, d.includes = Qf, d.indexOf = $m, d.inRange = zh, d.invoke = yh, d.isArguments = Nr, d.isArray = te, d.isArrayBuffer = zy, d.isArrayLike = st, d.isArrayLikeObject = ze, d.isBoolean = Ny, d.isBuffer = gr, d.isDate = Oy, d.isElement = Py, d.isEmpty = Ey, d.isEqual = Ry, d.isEqualWith = Ly, d.isError = di, d.isFinite = My, d.isFunction = sr, d.isInteger = ec, d.isLength = Fa, d.isMap = tc, d.isMatch = Fy, d.isMatchWith = jy, d.isNaN = By, d.isNative = Uy, d.isNil = Hy, d.isNull = Wy, d.isNumber = rc, d.isObject = ke, d.isObjectLike = Ce, d.isPlainObject = zs, d.isRegExp = pi, d.isSafeInteger = $y, d.isSet = sc, d.isString = ja, d.isSymbol = mt, d.isTypedArray = ts, d.isUndefined = Xy, d.isWeakMap = Gy, d.isWeakSet = Ky, d.join = Vm, d.kebabCase = Lh, d.last = At, d.lastIndexOf = Qm, d.lowerCase = Mh, d.lowerFirst = Fh, d.lt = Yy, d.lte = Vy, d.max = O_, d.maxBy = P_, d.mean = E_, d.meanBy = R_, d.min = L_, d.minBy = M_, d.stubArray = xi, d.stubFalse = wi, d.stubObject = T_, d.stubString = I_, d.stubTrue = D_, d.multiply = F_, d.nth = Jm, d.noConflict = y_, d.noop = bi, d.now = Ra, d.pad = jh, d.padEnd = Bh, d.padStart = Uh, d.parseInt = Wh, d.random = Nh, d.reduce = ry, d.reduceRight = sy, d.repeat = Hh, d.replace = $h, d.result = vh, d.round = j_, d.runInContext = x, d.sample = ny, d.size = ly, d.snakeCase = Xh, d.some = cy, d.sortedIndex = nf, d.sortedIndexBy = of, d.sortedIndexOf = lf, d.sortedLastIndex = cf, d.sortedLastIndexBy = uf, d.sortedLastIndexOf = df, d.startCase = Kh, d.startsWith = Yh, d.subtract = B_, d.sum = U_, d.sumBy = W_, d.template = Vh, d.times = k_, d.toFinite = ar, d.toInteger = re, d.toLength = nc, d.toLower = Qh, d.toNumber = qt, d.toSafeInteger = Qy, d.toString = _e, d.toUpper = Jh, d.trim = Zh, d.trimEnd = e_, d.trimStart = t_, d.truncate = r_, d.unescape = s_, d.uniqueId = q_, d.upperCase = a_, d.upperFirst = yi, d.each = $l, d.eachRight = Xl, d.first = Bl, gi(d, function() {
|
64770
64770
|
var e = {};
|
64771
|
-
return Bt(
|
64772
|
-
ge.call(
|
64771
|
+
return Bt(d, function(t, r) {
|
64772
|
+
ge.call(d.prototype, r) || (e[r] = t);
|
64773
64773
|
}), e;
|
64774
|
-
}(), { chain: !1 }),
|
64775
|
-
|
64774
|
+
}(), { chain: !1 }), d.VERSION = o, vt(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(e) {
|
64775
|
+
d[e].placeholder = d;
|
64776
64776
|
}), vt(["drop", "take"], function(e, t) {
|
64777
64777
|
ce.prototype[e] = function(r) {
|
64778
64778
|
r = r === s ? 1 : Fe(re(r), 0);
|
@@ -64824,10 +64824,10 @@ function print() { __p += __j.call(arguments, '') }
|
|
64824
64824
|
}, ce.prototype.toArray = function() {
|
64825
64825
|
return this.take(Z);
|
64826
64826
|
}, Bt(ce.prototype, function(e, t) {
|
64827
|
-
var r = /^(?:filter|find|map|reject)|While$/.test(t), i = /^(?:head|last)$/.test(t), c =
|
64828
|
-
c && (
|
64827
|
+
var r = /^(?:filter|find|map|reject)|While$/.test(t), i = /^(?:head|last)$/.test(t), c = d[i ? "take" + (t == "last" ? "Right" : "") : t], p = i || /^find/.test(t);
|
64828
|
+
c && (d.prototype[t] = function() {
|
64829
64829
|
var f = this.__wrapped__, _ = i ? [1] : arguments, v = f instanceof ce, q = _[0], C = v || te(f), N = function(ie) {
|
64830
|
-
var ue = c.apply(
|
64830
|
+
var ue = c.apply(d, dr([ie], _));
|
64831
64831
|
return i && j ? ue[0] : ue;
|
64832
64832
|
};
|
64833
64833
|
C && r && typeof q == "function" && q.length != 1 && (v = C = !1);
|
@@ -64841,7 +64841,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
64841
64841
|
});
|
64842
64842
|
}), vt(["pop", "push", "shift", "sort", "splice", "unshift"], function(e) {
|
64843
64843
|
var t = ia[e], r = /^(?:push|sort|unshift)$/.test(e) ? "tap" : "thru", i = /^(?:pop|shift)$/.test(e);
|
64844
|
-
|
64844
|
+
d.prototype[e] = function() {
|
64845
64845
|
var c = arguments;
|
64846
64846
|
if (i && !this.__chain__) {
|
64847
64847
|
var p = this.value();
|
@@ -64852,7 +64852,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
64852
64852
|
});
|
64853
64853
|
};
|
64854
64854
|
}), Bt(ce.prototype, function(e, t) {
|
64855
|
-
var r =
|
64855
|
+
var r = d[t];
|
64856
64856
|
if (r) {
|
64857
64857
|
var i = r.name + "";
|
64858
64858
|
ge.call(Vr, i) || (Vr[i] = []), Vr[i].push({ name: t, func: r });
|
@@ -64860,9 +64860,9 @@ function print() { __p += __j.call(arguments, '') }
|
|
64860
64860
|
}), Vr[Aa(s, $).name] = [{
|
64861
64861
|
name: "wrapper",
|
64862
64862
|
func: s
|
64863
|
-
}], ce.prototype.clone = rp, ce.prototype.reverse = sp, ce.prototype.value = ap,
|
64863
|
+
}], ce.prototype.clone = rp, ce.prototype.reverse = sp, ce.prototype.value = ap, d.prototype.at = Pf, d.prototype.chain = Ef, d.prototype.commit = Rf, d.prototype.next = Lf, d.prototype.plant = Ff, d.prototype.reverse = jf, d.prototype.toJSON = d.prototype.valueOf = d.prototype.value = Bf, d.prototype.first = d.prototype.head, gs && (d.prototype[gs] = Mf), d;
|
64864
64864
|
}, Gr = Ed();
|
64865
|
-
|
64865
|
+
Ir ? ((Ir.exports = Gr)._ = Gr, _n._ = Gr) : He._ = Gr;
|
64866
64866
|
}).call(Ns);
|
64867
64867
|
})(Qa, Qa.exports);
|
64868
64868
|
var qc = Qa.exports;
|
@@ -65418,8 +65418,8 @@ class gb {
|
|
65418
65418
|
configurable: !0,
|
65419
65419
|
writable: !0,
|
65420
65420
|
value: (s = [], o) => {
|
65421
|
-
const l = /* @__PURE__ */ new Map(),
|
65422
|
-
for (let m =
|
65421
|
+
const l = /* @__PURE__ */ new Map(), u = o.indexOf("(");
|
65422
|
+
for (let m = u + 1, h = u; m < o.length; m++)
|
65423
65423
|
o[m] !== "," && o[m] !== ")" || (h++, l.set(o.slice(h, m), h), h = m + 1);
|
65424
65424
|
return s.map(({ name: m, displayType: h, desc: g }) => {
|
65425
65425
|
const b = [], w = l.get(m), T = w + m.length;
|
@@ -65437,21 +65437,21 @@ class gb {
|
|
65437
65437
|
const o = this._getFuncItems(n);
|
65438
65438
|
if (!(o != null && o.length))
|
65439
65439
|
return null;
|
65440
|
-
const l = this._getSequentialSignatures(n, o),
|
65440
|
+
const l = this._getSequentialSignatures(n, o), u = this._getActiveIndex(o, s);
|
65441
65441
|
return {
|
65442
65442
|
signatures: l,
|
65443
|
-
...
|
65443
|
+
...u
|
65444
65444
|
};
|
65445
65445
|
}
|
65446
65446
|
_getActiveIndex(n, s = []) {
|
65447
65447
|
let o = 0, l = -1;
|
65448
65448
|
s.some((m) => !!m) || (l = s.length - 1);
|
65449
|
-
const
|
65450
|
-
if (
|
65449
|
+
const u = s.pop();
|
65450
|
+
if (u)
|
65451
65451
|
for (const [m, h] of n.entries()) {
|
65452
65452
|
const { args: g } = h;
|
65453
65453
|
if (g && g.length) {
|
65454
|
-
const b = g.findIndex((w) => w.name ===
|
65454
|
+
const b = g.findIndex((w) => w.name === u);
|
65455
65455
|
if (b != -1) {
|
65456
65456
|
l = b, o = m;
|
65457
65457
|
break;
|
@@ -65478,7 +65478,7 @@ class gb {
|
|
65478
65478
|
}
|
65479
65479
|
_getSignatureLabel(n, s, o = !1) {
|
65480
65480
|
const l = [n];
|
65481
|
-
return o && l.push("<type>"), s.args && (l.push("("), l.push(s.args.map(({ name:
|
65481
|
+
return o && l.push("<type>"), s.args && (l.push("("), l.push(s.args.map(({ name: u }) => u).join(", ")), l.push(")")), l.join("");
|
65482
65482
|
}
|
65483
65483
|
_getFormattedSignatureDocumentation(n) {
|
65484
65484
|
const { desc: s } = n, o = [];
|
@@ -65505,11 +65505,11 @@ class xb {
|
|
65505
65505
|
const s = [];
|
65506
65506
|
return n.forEach((o) => {
|
65507
65507
|
const { range: l } = o;
|
65508
|
-
let { matches:
|
65509
|
-
|
65510
|
-
const m =
|
65508
|
+
let { matches: u } = o;
|
65509
|
+
u = u || [];
|
65510
|
+
const m = u[0] || "";
|
65511
65511
|
let h = null;
|
65512
|
-
this._isHexToken(m) ? h = this._hexToColor(m) : this._isRgbColor(m) ? h = this._rgbToColor(m) : this._colors[m] ? h = this._hexToColor(this._colors[m]) : this._isColorExpression(m) &&
|
65512
|
+
this._isHexToken(m) ? h = this._hexToColor(m) : this._isRgbColor(m) ? h = this._rgbToColor(m) : this._colors[m] ? h = this._hexToColor(this._colors[m]) : this._isColorExpression(m) && u[1] && u[6] && (h = this._extractNewExpression(u[1], Number(u[6]))), h && s.push({
|
65513
65513
|
color: h,
|
65514
65514
|
range: l
|
65515
65515
|
});
|
@@ -65531,14 +65531,14 @@ class xb {
|
|
65531
65531
|
label: this._colorHexRepresentation(s)
|
65532
65532
|
}];
|
65533
65533
|
if (this._isColorExpression(l) || this._isRgbColor(l)) {
|
65534
|
-
const
|
65535
|
-
if (!
|
65534
|
+
const u = this._isColorExpression(l) ? this._colorNewRepresentation(s) : this._colorRgbRepresentation(s);
|
65535
|
+
if (!u)
|
65536
65536
|
return [];
|
65537
65537
|
const m = this._colorHexRepresentation(s);
|
65538
65538
|
return [{
|
65539
|
-
label:
|
65539
|
+
label: u,
|
65540
65540
|
textEdit: {
|
65541
|
-
text:
|
65541
|
+
text: u,
|
65542
65542
|
range: o
|
65543
65543
|
}
|
65544
65544
|
}, {
|
@@ -65575,12 +65575,12 @@ class xb {
|
|
65575
65575
|
} : null;
|
65576
65576
|
}
|
65577
65577
|
_colorHexRepresentation(n) {
|
65578
|
-
const s = this._hexFromNumber(n.red), o = this._hexFromNumber(n.green), l = this._hexFromNumber(n.blue),
|
65579
|
-
return `#${s}${o}${l}${n.alpha === 1 ? "" :
|
65578
|
+
const s = this._hexFromNumber(n.red), o = this._hexFromNumber(n.green), l = this._hexFromNumber(n.blue), u = this._hexFromNumber(n.alpha);
|
65579
|
+
return `#${s}${o}${l}${n.alpha === 1 ? "" : u}`;
|
65580
65580
|
}
|
65581
65581
|
_colorRgbRepresentation(n) {
|
65582
|
-
const s = this._denormalize(n.red), o = this._denormalize(n.green), l = this._denormalize(n.blue),
|
65583
|
-
return
|
65582
|
+
const s = this._denormalize(n.red), o = this._denormalize(n.green), l = this._denormalize(n.blue), u = this._denormalizeAlpha(n.alpha), m = [s, o, l];
|
65583
|
+
return u > 0 && m.push(u), `color.rgb(${m.join(", ")})`;
|
65584
65584
|
}
|
65585
65585
|
_colorNewRepresentation(n) {
|
65586
65586
|
const s = {
|
@@ -65590,20 +65590,20 @@ class xb {
|
|
65590
65590
|
return `color.new(${this._colorHexRepresentation(s)}, ${this._denormalizeAlpha(n.alpha)})`;
|
65591
65591
|
}
|
65592
65592
|
_hexToColor(n) {
|
65593
|
-
const s = (n = this._isHexToken(n) ? n.slice(1) : n).length === 3 || n.length === 4, o = s ? `${n.slice(0, 1)}${n.slice(0, 1)}` : n.slice(0, 2), l = s ? `${n.slice(1, 2)}${n.slice(1, 2)}` : n.slice(2, 4),
|
65593
|
+
const s = (n = this._isHexToken(n) ? n.slice(1) : n).length === 3 || n.length === 4, o = s ? `${n.slice(0, 1)}${n.slice(0, 1)}` : n.slice(0, 2), l = s ? `${n.slice(1, 2)}${n.slice(1, 2)}` : n.slice(2, 4), u = s ? `${n.slice(2, 3)}${n.slice(2, 3)}` : n.slice(4, 6), m = (s ? `${n.slice(3, 4)}${n.slice(3, 4)}` : n.slice(6, 8)) || "ff";
|
65594
65594
|
return {
|
65595
65595
|
red: this._normalize(parseInt(o, 16)),
|
65596
65596
|
green: this._normalize(parseInt(l, 16)),
|
65597
|
-
blue: this._normalize(parseInt(
|
65597
|
+
blue: this._normalize(parseInt(u, 16)),
|
65598
65598
|
alpha: this._normalize(parseInt(m, 16))
|
65599
65599
|
};
|
65600
65600
|
}
|
65601
65601
|
_rgbToColor(n) {
|
65602
|
-
const s = n.replace(/[^\d,]/g, "").split(","), o = this._normalize(Number(s[0])), l = this._normalize(Number(s[1])),
|
65603
|
-
return isNaN(o) || isNaN(l) || isNaN(
|
65602
|
+
const s = n.replace(/[^\d,]/g, "").split(","), o = this._normalize(Number(s[0])), l = this._normalize(Number(s[1])), u = this._normalize(Number(s[2])), m = this._normalizeAlpha(Number(s[3])) || 1;
|
65603
|
+
return isNaN(o) || isNaN(l) || isNaN(u) ? null : {
|
65604
65604
|
red: o,
|
65605
65605
|
green: l,
|
65606
|
-
blue:
|
65606
|
+
blue: u,
|
65607
65607
|
alpha: m
|
65608
65608
|
};
|
65609
65609
|
}
|
@@ -65625,7 +65625,7 @@ function wb(a, n) {
|
|
65625
65625
|
startColumn: 1,
|
65626
65626
|
endLineNumber: n.lineNumber,
|
65627
65627
|
endColumn: n.column
|
65628
|
-
}, o = a.getValueInRange(s), l = o.match(/([\w.]+)$/) || [],
|
65628
|
+
}, o = a.getValueInRange(s), l = o.match(/([\w.]+)$/) || [], u = (R = l[0]) == null ? void 0 : R.match(/.*[^\w.]+([\w.]+)(?=\.)|([\w.]+)(?=\.)/), m = u ? u[1] ? u[1] : u[2] ? u[2] : void 0 : void 0, h = a.getWordUntilPosition(n), g = $s.parseCurrentInputFunc(o), b = {
|
65629
65629
|
startLineNumber: n.lineNumber,
|
65630
65630
|
endLineNumber: n.lineNumber,
|
65631
65631
|
startColumn: h.startColumn,
|
@@ -65671,11 +65671,11 @@ function Ib(a, n) {
|
|
65671
65671
|
endLineNumber: n.lineNumber,
|
65672
65672
|
startColumn: 1,
|
65673
65673
|
endColumn: n.column
|
65674
|
-
}, o = a.getValueInRange(s), l = a.findMatches(String(hb), s, !0, !1, null, !0),
|
65674
|
+
}, o = a.getValueInRange(s), l = a.findMatches(String(hb), s, !0, !1, null, !0), u = a.findMatches(String(_b), s, !0, !1, null, !0), m = (T = l.pop()) == null ? void 0 : T.matches, h = (R = u.pop()) == null ? void 0 : R.matches;
|
65675
65675
|
let g = !1;
|
65676
65676
|
l.length % 2 === 0 ? m && m[0] === '"' && (g = !0) : m && !m[0] && (g = !0);
|
65677
65677
|
let b = !1;
|
65678
|
-
|
65678
|
+
u.length % 2 === 0 ? h && h[0] === "'" && (b = !0) : h && !h[0] && (b = !0);
|
65679
65679
|
const w = $s.parseCurrentInputFuncAndArg(o, b, g);
|
65680
65680
|
if (w) {
|
65681
65681
|
const { funcName: L, args: A } = w, z = bb.getSignatureHelpValues(L, A);
|
@@ -65706,9 +65706,9 @@ function Ab(a, n, s) {
|
|
65706
65706
|
const o = a.getModel(), l = $s.parseLineContentFuncVar(s.startColumn + 1, s.startLineNumber, o);
|
65707
65707
|
if (!l || l.isBuildIn || !l.docValue || !l.docValue[0].pos)
|
65708
65708
|
return !0;
|
65709
|
-
const { lineNumber:
|
65710
|
-
startLineNumber:
|
65711
|
-
endLineNumber:
|
65709
|
+
const { lineNumber: u, column: m } = l.docValue[0].pos, h = {
|
65710
|
+
startLineNumber: u,
|
65711
|
+
endLineNumber: u,
|
65712
65712
|
startColumn: m,
|
65713
65713
|
endColumn: m
|
65714
65714
|
};
|
@@ -65754,12 +65754,12 @@ var Ke;
|
|
65754
65754
|
a.added = "added", a.removed = "removed", a.modified = "modified";
|
65755
65755
|
})(Ke || (Ke = {}));
|
65756
65756
|
const Cb = (a, n) => {
|
65757
|
-
const { close: s, retracement: o } = a, [l,
|
65757
|
+
const { close: s, retracement: o } = a, [l, u] = _t("modified");
|
65758
65758
|
return fu(n, () => ({
|
65759
65759
|
updateType(m) {
|
65760
|
-
|
65760
|
+
u(m);
|
65761
65761
|
}
|
65762
|
-
})),
|
65762
|
+
})), E.jsxs("div", { className: `content-popup content-${l}-popup`, children: [E.jsx("div", { className: `triangle-popup triangle-${l}-popup` }), E.jsxs("div", { className: `header-popup header-${l}-popup`, children: [E.jsx("div", { className: "title-popup", children: "Local working changes" }), E.jsx("div", { className: "actions-popup", children: E.jsx("div", { onClick: s, "data-role": "button", className: "button-popup", "data-name": "button-close-diff", children: E.jsx("span", { className: "icon-popup", role: "img", children: E.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 12 12", width: "12", height: "12", children: E.jsx("path", { stroke: "currentColor", strokeWidth: "1.2", d: "m1.5 1.5 9 9m0-9-9 9" }) }) }) }) })] }), E.jsx("div", { id: "diffEditorContainer", style: { height: "100%" } })] });
|
65763
65763
|
}, Sb = mu(Cb);
|
65764
65764
|
class zb {
|
65765
65765
|
constructor(n, s, o = !0) {
|
@@ -65783,7 +65783,7 @@ class zb {
|
|
65783
65783
|
configurable: !0,
|
65784
65784
|
writable: !0,
|
65785
65785
|
value: void 0
|
65786
|
-
}), this._id = n, this._domNode = document.createElement("div"), this._domNode.style.display = "none", this._domNode.style.width = o ? "calc(100% - 134px)" : "calc(100% - 14px)", this._domNode.style.height = "200px", s == null || s.onDidScrollChange(this.scrollChangeHandler.bind(this)), Ls.createRoot(this._domNode).render(
|
65786
|
+
}), this._id = n, this._domNode = document.createElement("div"), this._domNode.style.display = "none", this._domNode.style.width = o ? "calc(100% - 134px)" : "calc(100% - 14px)", this._domNode.style.height = "200px", s == null || s.onDidScrollChange(this.scrollChangeHandler.bind(this)), Ls.createRoot(this._domNode).render(E.jsx(Sb, { ref: (l) => this._content = l, close: () => this._close(), retracement: this._retracement })), this._top = 0;
|
65787
65787
|
}
|
65788
65788
|
_close() {
|
65789
65789
|
this._domNode.style.display = "none";
|
@@ -65811,16 +65811,16 @@ class zb {
|
|
65811
65811
|
this._domNode.style.top = `${this._top - s}px`;
|
65812
65812
|
}
|
65813
65813
|
}
|
65814
|
-
function
|
65814
|
+
function xr() {
|
65815
65815
|
}
|
65816
|
-
|
65816
|
+
xr.prototype = {
|
65817
65817
|
diff: function(n, s) {
|
65818
|
-
var o, l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {},
|
65819
|
-
typeof l == "function" && (
|
65818
|
+
var o, l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, u = l.callback;
|
65819
|
+
typeof l == "function" && (u = l, l = {}), this.options = l;
|
65820
65820
|
var m = this;
|
65821
65821
|
function h(S) {
|
65822
|
-
return
|
65823
|
-
|
65822
|
+
return u ? (setTimeout(function() {
|
65823
|
+
u(void 0, S);
|
65824
65824
|
}, 0), !0) : S;
|
65825
65825
|
}
|
65826
65826
|
n = this.castInput(n), s = this.castInput(s), n = this.removeEmpty(this.tokenize(n)), s = this.removeEmpty(this.tokenize(s));
|
@@ -65836,7 +65836,7 @@ wr.prototype = {
|
|
65836
65836
|
count: s.length
|
65837
65837
|
}]);
|
65838
65838
|
var H = -1 / 0, $ = 1 / 0;
|
65839
|
-
function
|
65839
|
+
function O() {
|
65840
65840
|
for (var S = Math.max(H, -w); S <= Math.min($, w); S += 2) {
|
65841
65841
|
var M = void 0, J = A[S - 1], X = A[S + 1];
|
65842
65842
|
J && (A[S - 1] = void 0);
|
@@ -65856,30 +65856,30 @@ wr.prototype = {
|
|
65856
65856
|
}
|
65857
65857
|
w++;
|
65858
65858
|
}
|
65859
|
-
if (
|
65859
|
+
if (u)
|
65860
65860
|
(function S() {
|
65861
65861
|
setTimeout(function() {
|
65862
65862
|
if (w > T || Date.now() > L)
|
65863
|
-
return
|
65864
|
-
|
65863
|
+
return u();
|
65864
|
+
O() || S();
|
65865
65865
|
}, 0);
|
65866
65866
|
})();
|
65867
65867
|
else
|
65868
65868
|
for (; w <= T && Date.now() <= L; ) {
|
65869
|
-
var B =
|
65869
|
+
var B = O();
|
65870
65870
|
if (B)
|
65871
65871
|
return B;
|
65872
65872
|
}
|
65873
65873
|
},
|
65874
65874
|
addToPath: function(n, s, o, l) {
|
65875
|
-
var
|
65876
|
-
return
|
65875
|
+
var u = n.lastComponent;
|
65876
|
+
return u && u.added === s && u.removed === o ? {
|
65877
65877
|
oldPos: n.oldPos + l,
|
65878
65878
|
lastComponent: {
|
65879
|
-
count:
|
65879
|
+
count: u.count + 1,
|
65880
65880
|
added: s,
|
65881
65881
|
removed: o,
|
65882
|
-
previousComponent:
|
65882
|
+
previousComponent: u.previousComponent
|
65883
65883
|
}
|
65884
65884
|
} : {
|
65885
65885
|
oldPos: n.oldPos + l,
|
@@ -65887,12 +65887,12 @@ wr.prototype = {
|
|
65887
65887
|
count: 1,
|
65888
65888
|
added: s,
|
65889
65889
|
removed: o,
|
65890
|
-
previousComponent:
|
65890
|
+
previousComponent: u
|
65891
65891
|
}
|
65892
65892
|
};
|
65893
65893
|
},
|
65894
65894
|
extractCommon: function(n, s, o, l) {
|
65895
|
-
for (var
|
65895
|
+
for (var u = s.length, m = o.length, h = n.oldPos, g = h - l, b = 0; g + 1 < u && h + 1 < m && this.equals(s[g + 1], o[h + 1]); )
|
65896
65896
|
g++, h++, b++;
|
65897
65897
|
return b && (n.lastComponent = {
|
65898
65898
|
count: b,
|
@@ -65918,15 +65918,15 @@ wr.prototype = {
|
|
65918
65918
|
}
|
65919
65919
|
};
|
65920
65920
|
function Nb(a, n, s, o, l) {
|
65921
|
-
for (var
|
65922
|
-
|
65923
|
-
|
65924
|
-
for (var h = 0, g =
|
65925
|
-
var T =
|
65921
|
+
for (var u = [], m; n; )
|
65922
|
+
u.push(n), m = n.previousComponent, delete n.previousComponent, n = m;
|
65923
|
+
u.reverse();
|
65924
|
+
for (var h = 0, g = u.length, b = 0, w = 0; h < g; h++) {
|
65925
|
+
var T = u[h];
|
65926
65926
|
if (T.removed) {
|
65927
|
-
if (T.value = a.join(o.slice(w, w + T.count)), w += T.count, h &&
|
65928
|
-
var L =
|
65929
|
-
|
65927
|
+
if (T.value = a.join(o.slice(w, w + T.count)), w += T.count, h && u[h - 1].added) {
|
65928
|
+
var L = u[h - 1];
|
65929
|
+
u[h - 1] = u[h], u[h] = L;
|
65930
65930
|
}
|
65931
65931
|
} else {
|
65932
65932
|
if (!T.added && l) {
|
@@ -65940,10 +65940,10 @@ function Nb(a, n, s, o, l) {
|
|
65940
65940
|
b += T.count, T.added || (w += T.count);
|
65941
65941
|
}
|
65942
65942
|
}
|
65943
|
-
var A =
|
65944
|
-
return g > 1 && typeof A.value == "string" && (A.added || A.removed) && a.equals("", A.value) && (
|
65943
|
+
var A = u[g - 1];
|
65944
|
+
return g > 1 && typeof A.value == "string" && (A.added || A.removed) && a.equals("", A.value) && (u[g - 2].value += A.value, u.pop()), u;
|
65945
65945
|
}
|
65946
|
-
var zc = /^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/, Nc = /\S/, Tu = new
|
65946
|
+
var zc = /^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/, Nc = /\S/, Tu = new xr();
|
65947
65947
|
Tu.equals = function(a, n) {
|
65948
65948
|
return this.options.ignoreCase && (a = a.toLowerCase(), n = n.toLowerCase()), a === n || this.options.ignoreWhitespace && !Nc.test(a) && !Nc.test(n);
|
65949
65949
|
};
|
@@ -65952,7 +65952,7 @@ Tu.tokenize = function(a) {
|
|
65952
65952
|
!n[s + 1] && n[s + 2] && zc.test(n[s]) && zc.test(n[s + 2]) && (n[s] += n[s + 2], n.splice(s + 1, 2), s--);
|
65953
65953
|
return n;
|
65954
65954
|
};
|
65955
|
-
var Wi = new
|
65955
|
+
var Wi = new xr();
|
65956
65956
|
Wi.tokenize = function(a) {
|
65957
65957
|
this.options.stripTrailingCr && (a = a.replace(/\r\n/g, `
|
65958
65958
|
`));
|
@@ -65967,11 +65967,11 @@ Wi.tokenize = function(a) {
|
|
65967
65967
|
function Ob(a, n, s) {
|
65968
65968
|
return Wi.diff(a, n, s);
|
65969
65969
|
}
|
65970
|
-
var Pb = new
|
65970
|
+
var Pb = new xr();
|
65971
65971
|
Pb.tokenize = function(a) {
|
65972
65972
|
return a.split(/(\S.+?[.!?])(?=\s+|$)/);
|
65973
65973
|
};
|
65974
|
-
var Eb = new
|
65974
|
+
var Eb = new xr();
|
65975
65975
|
Eb.tokenize = function(a) {
|
65976
65976
|
return a.split(/([{}:;,]|\s+)/);
|
65977
65977
|
};
|
@@ -65983,28 +65983,28 @@ function Ka(a) {
|
|
65983
65983
|
return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
|
65984
65984
|
}, Ka(a);
|
65985
65985
|
}
|
65986
|
-
var Rb = Object.prototype.toString, Ws = new
|
65986
|
+
var Rb = Object.prototype.toString, Ws = new xr();
|
65987
65987
|
Ws.useLongestToken = !0;
|
65988
65988
|
Ws.tokenize = Wi.tokenize;
|
65989
65989
|
Ws.castInput = function(a) {
|
65990
|
-
var n = this.options, s = n.undefinedReplacement, o = n.stringifyReplacer, l = o === void 0 ? function(
|
65990
|
+
var n = this.options, s = n.undefinedReplacement, o = n.stringifyReplacer, l = o === void 0 ? function(u, m) {
|
65991
65991
|
return typeof m > "u" ? s : m;
|
65992
65992
|
} : o;
|
65993
65993
|
return typeof a == "string" ? a : JSON.stringify(Si(a, null, null, l), l, " ");
|
65994
65994
|
};
|
65995
65995
|
Ws.equals = function(a, n) {
|
65996
|
-
return
|
65996
|
+
return xr.prototype.equals.call(Ws, a.replace(/,([\r\n])/g, "$1"), n.replace(/,([\r\n])/g, "$1"));
|
65997
65997
|
};
|
65998
65998
|
function Si(a, n, s, o, l) {
|
65999
65999
|
n = n || [], s = s || [], o && (a = o(l, a));
|
66000
|
-
var
|
66001
|
-
for (
|
66002
|
-
if (n[
|
66003
|
-
return s[
|
66000
|
+
var u;
|
66001
|
+
for (u = 0; u < n.length; u += 1)
|
66002
|
+
if (n[u] === a)
|
66003
|
+
return s[u];
|
66004
66004
|
var m;
|
66005
66005
|
if (Rb.call(a) === "[object Array]") {
|
66006
|
-
for (n.push(a), m = new Array(a.length), s.push(m),
|
66007
|
-
m[
|
66006
|
+
for (n.push(a), m = new Array(a.length), s.push(m), u = 0; u < a.length; u += 1)
|
66007
|
+
m[u] = Si(a[u], n, s, o, l);
|
66008
66008
|
return n.pop(), s.pop(), m;
|
66009
66009
|
}
|
66010
66010
|
if (a && a.toJSON && (a = a.toJSON()), Ka(a) === "object" && a !== null) {
|
@@ -66012,14 +66012,14 @@ function Si(a, n, s, o, l) {
|
|
66012
66012
|
var h = [], g;
|
66013
66013
|
for (g in a)
|
66014
66014
|
a.hasOwnProperty(g) && h.push(g);
|
66015
|
-
for (h.sort(),
|
66016
|
-
g = h[
|
66015
|
+
for (h.sort(), u = 0; u < h.length; u += 1)
|
66016
|
+
g = h[u], m[g] = Si(a[g], n, s, o, g);
|
66017
66017
|
n.pop(), s.pop();
|
66018
66018
|
} else
|
66019
66019
|
m = a;
|
66020
66020
|
return m;
|
66021
66021
|
}
|
66022
|
-
var zi = new
|
66022
|
+
var zi = new xr();
|
66023
66023
|
zi.tokenize = function(a) {
|
66024
66024
|
return a.slice();
|
66025
66025
|
};
|
@@ -66089,16 +66089,16 @@ class Lb {
|
|
66089
66089
|
_changesHandle(n) {
|
66090
66090
|
let s = 0, o;
|
66091
66091
|
const l = [];
|
66092
|
-
let
|
66092
|
+
let u = 0;
|
66093
66093
|
for (const m of n) {
|
66094
66094
|
const { added: h, removed: g, count: b = 1, value: w } = m;
|
66095
|
-
h ? o && o.removed ? (s = this._changeHandle(l, s,
|
66095
|
+
h ? o && o.removed ? (s = this._changeHandle(l, s, u, b, Ke.modified), u = 0, o = void 0) : (o && o.added && (s = this._changeHandle(l, s, u, o.count || 1, Ke.added), u = 0), o = m) : g ? o && o.added ? (s = this._changeHandle(l, s, u, o.count || 1, Ke.modified), u = 0, o = void 0) : (o && o.removed && this._addDecorationList(l, s, Ke.removed), o = m) : /^\n+$/.test(w) ? o && (o.added || o.removed) ? u = b : s += b : (o && o.added ? (s = this._changeHandle(l, s, u, o.count || 1, Ke.added), u = 0, o = void 0) : o && o.removed && (this._addDecorationList(l, s, Ke.removed), o = void 0), s += b);
|
66096
66096
|
}
|
66097
|
-
return o && o.added ? s = this._changeHandle(l, s,
|
66097
|
+
return o && o.added ? s = this._changeHandle(l, s, u, o.count || 1, Ke.added) : o && o.removed && this._addDecorationList(l, s, Ke.removed), l;
|
66098
66098
|
}
|
66099
|
-
_changeHandle(n, s, o, l,
|
66099
|
+
_changeHandle(n, s, o, l, u) {
|
66100
66100
|
for (let m = 1; m <= l; m++)
|
66101
|
-
this._addDecorationList(n, s + m,
|
66101
|
+
this._addDecorationList(n, s + m, u);
|
66102
66102
|
return s += l + o, s;
|
66103
66103
|
}
|
66104
66104
|
_addDecorationList(n, s, o) {
|
@@ -66111,8 +66111,8 @@ class Lb {
|
|
66111
66111
|
});
|
66112
66112
|
}
|
66113
66113
|
_changeEvent() {
|
66114
|
-
var l,
|
66115
|
-
const n = Ob(this._originalModel.getValue(), ((l = this._editor.getModel()) == null ? void 0 : l.getValue()) || ""), s = this._changesHandle(n), o = ((
|
66114
|
+
var l, u;
|
66115
|
+
const n = Ob(this._originalModel.getValue(), ((l = this._editor.getModel()) == null ? void 0 : l.getValue()) || ""), s = this._changesHandle(n), o = ((u = this._editor.getModel()) == null ? void 0 : u.deltaDecorations(this._oldDecorations, s)) || [];
|
66116
66116
|
this._oldDecorations = o;
|
66117
66117
|
}
|
66118
66118
|
_eventListening() {
|
@@ -66121,8 +66121,8 @@ class Lb {
|
|
66121
66121
|
}
|
66122
66122
|
_onMouseDownHandle(n) {
|
66123
66123
|
var m, h, g, b, w, T;
|
66124
|
-
const s = (m = n.target.element) == null ? void 0 : m.classList, o = s == null ? void 0 : s.contains(`line-${Ke.added}`), l = s == null ? void 0 : s.contains(`line-${Ke.modified}`),
|
66125
|
-
if (o || l ||
|
66124
|
+
const s = (m = n.target.element) == null ? void 0 : m.classList, o = s == null ? void 0 : s.contains(`line-${Ke.added}`), l = s == null ? void 0 : s.contains(`line-${Ke.modified}`), u = s == null ? void 0 : s.contains(`line-${Ke.removed}`);
|
66125
|
+
if (o || l || u) {
|
66126
66126
|
const R = ((g = (h = n == null ? void 0 : n.target) == null ? void 0 : h.position) == null ? void 0 : g.lineNumber) || 0, L = ((b = this._editor) == null ? void 0 : b.getTopForLineNumber(R + 1)) || 0, A = ((w = this._editor) == null ? void 0 : w.getScrollTop()) || 0, z = o ? Ke.added : l ? Ke.modified : Ke.removed;
|
66127
66127
|
(T = this._diffPopupWidget) == null || T.show(L - A, L, z), this._diffEditor || (this._diffEditor = this._createDiffEditor()), this._diffEditor.setModel({
|
66128
66128
|
original: this._originalModel,
|
@@ -66356,7 +66356,7 @@ function Au(a, n = globalThis, s = ["*"]) {
|
|
66356
66356
|
console.warn(`Invalid origin '${l.origin}' for comlink proxy`);
|
66357
66357
|
return;
|
66358
66358
|
}
|
66359
|
-
const { id:
|
66359
|
+
const { id: u, type: m, path: h } = Object.assign({ path: [] }, l.data), g = (l.data.argumentList || []).map(Pr);
|
66360
66360
|
let b;
|
66361
66361
|
try {
|
66362
66362
|
const w = h.slice(0, -1).reduce((R, L) => R[L], a), T = h.reduce((R, L) => R[L], a);
|
@@ -66393,13 +66393,13 @@ function Au(a, n = globalThis, s = ["*"]) {
|
|
66393
66393
|
}
|
66394
66394
|
Promise.resolve(b).catch((w) => ({ value: w, [Ya]: 0 })).then((w) => {
|
66395
66395
|
const [T, R] = en(w);
|
66396
|
-
n.postMessage(Object.assign(Object.assign({}, T), { id:
|
66396
|
+
n.postMessage(Object.assign(Object.assign({}, T), { id: u }), R), m === "RELEASE" && (n.removeEventListener("message", o), qu(n), ki in a && typeof a[ki] == "function" && a[ki]());
|
66397
66397
|
}).catch((w) => {
|
66398
66398
|
const [T, R] = en({
|
66399
66399
|
value: new TypeError("Unserializable return value"),
|
66400
66400
|
[Ya]: 0
|
66401
66401
|
});
|
66402
|
-
n.postMessage(Object.assign(Object.assign({}, T), { id:
|
66402
|
+
n.postMessage(Object.assign(Object.assign({}, T), { id: u }), R);
|
66403
66403
|
});
|
66404
66404
|
}), n.start && n.start();
|
66405
66405
|
}
|
@@ -66438,7 +66438,7 @@ function Ni(a, n = [], s = function() {
|
|
66438
66438
|
}) {
|
66439
66439
|
let o = !1;
|
66440
66440
|
const l = new Proxy(s, {
|
66441
|
-
get(
|
66441
|
+
get(u, m) {
|
66442
66442
|
if ($a(o), m === jb)
|
66443
66443
|
return () => {
|
66444
66444
|
Xb(l), Cu(a), o = !0;
|
@@ -66454,7 +66454,7 @@ function Ni(a, n = [], s = function() {
|
|
66454
66454
|
}
|
66455
66455
|
return Ni(a, [...n, m]);
|
66456
66456
|
},
|
66457
|
-
set(
|
66457
|
+
set(u, m, h) {
|
66458
66458
|
$a(o);
|
66459
66459
|
const [g, b] = en(h);
|
66460
66460
|
return ss(a, {
|
@@ -66463,7 +66463,7 @@ function Ni(a, n = [], s = function() {
|
|
66463
66463
|
value: g
|
66464
66464
|
}, b).then(Pr);
|
66465
66465
|
},
|
66466
|
-
apply(
|
66466
|
+
apply(u, m, h) {
|
66467
66467
|
$a(o);
|
66468
66468
|
const g = n[n.length - 1];
|
66469
66469
|
if (g === Fb)
|
@@ -66479,7 +66479,7 @@ function Ni(a, n = [], s = function() {
|
|
66479
66479
|
argumentList: b
|
66480
66480
|
}, w).then(Pr);
|
66481
66481
|
},
|
66482
|
-
construct(
|
66482
|
+
construct(u, m) {
|
66483
66483
|
$a(o);
|
66484
66484
|
const [h, g] = Oc(m);
|
66485
66485
|
return ss(a, {
|
@@ -66537,8 +66537,8 @@ function Pr(a) {
|
|
66537
66537
|
function ss(a, n, s) {
|
66538
66538
|
return new Promise((o) => {
|
66539
66539
|
const l = Vb();
|
66540
|
-
a.addEventListener("message", function
|
66541
|
-
!m.data || !m.data.id || m.data.id !== l || (a.removeEventListener("message",
|
66540
|
+
a.addEventListener("message", function u(m) {
|
66541
|
+
!m.data || !m.data.id || m.data.id !== l || (a.removeEventListener("message", u), o(m.data));
|
66542
66542
|
}), a.start && a.start(), a.postMessage(Object.assign({ id: l }, n), s);
|
66543
66543
|
});
|
66544
66544
|
}
|
@@ -66551,13 +66551,13 @@ zu.onerror = (a) => {
|
|
66551
66551
|
};
|
66552
66552
|
const Nu = Hi(zu), Qb = Hi(new Worker(new URL("" + new URL("assets/parserTccWorker-CwSYSKEG.js", import.meta.url).href, import.meta.url), { type: "module", name: "Parser TccScript Server" }));
|
66553
66553
|
async function Jb(a, n = !1) {
|
66554
|
-
const { functions: s, types: o, constants: l, variables:
|
66555
|
-
return await Qb(a, n, { functions: Object.fromEntries(s), methods: Object.fromEntries(m), types: Object.fromEntries(o), constants: Object.fromEntries(l), variables: Object.fromEntries(
|
66554
|
+
const { functions: s, types: o, constants: l, variables: u, methods: m } = gt;
|
66555
|
+
return await Qb(a, n, { functions: Object.fromEntries(s), methods: Object.fromEntries(m), types: Object.fromEntries(o), constants: Object.fromEntries(l), variables: Object.fromEntries(u) });
|
66556
66556
|
}
|
66557
66557
|
async function Zb(a, n, s = !0) {
|
66558
66558
|
return await Nu.runScript(a, n, s);
|
66559
66559
|
}
|
66560
|
-
async function
|
66560
|
+
async function qx(a) {
|
66561
66561
|
return await Nu.removeScript(a);
|
66562
66562
|
}
|
66563
66563
|
function ex(a) {
|
@@ -66706,7 +66706,7 @@ self.MonacoEnvironment = {
|
|
66706
66706
|
Li.config({ monaco: $_ });
|
66707
66707
|
let ou = {};
|
66708
66708
|
const rx = (a, n) => {
|
66709
|
-
const { height: s, width: o, theme: l, options:
|
66709
|
+
const { height: s, width: o, theme: l, options: u, hasDiff: m, readOnly: h, defaultValue: g, onChange: b, onLinkOpen: w, onDeclareConfigChange: T, onCursorPositionChange: R, onActionTrigger: L, onEditorDidMount: A } = a, z = je(null);
|
66710
66710
|
fu(n, () => ({
|
66711
66711
|
setOriginalScript(S) {
|
66712
66712
|
var M;
|
@@ -66785,16 +66785,16 @@ const rx = (a, n) => {
|
|
66785
66785
|
(ot = z.current) == null || ot.setModelMarkers(Se);
|
66786
66786
|
const Oe = Date.now();
|
66787
66787
|
console.log((Oe - M) / 1e3);
|
66788
|
-
}, [T, h]),
|
66788
|
+
}, [T, h]), O = H_(() => qc.debounce($, 1e3), [$]);
|
66789
66789
|
function B(S) {
|
66790
66790
|
var M;
|
66791
66791
|
if (h) {
|
66792
66792
|
$(S || "");
|
66793
66793
|
return;
|
66794
66794
|
}
|
66795
|
-
(M = z.current) == null || M.setModelMarkers([]), S !== void 0 && (b && b(S),
|
66795
|
+
(M = z.current) == null || M.setModelMarkers([]), S !== void 0 && (b && b(S), O(S));
|
66796
66796
|
}
|
66797
|
-
return
|
66797
|
+
return E.jsx(sb, { height: s, width: o || "100%", defaultLanguage: Pe, defaultValue: g || `indicator("我的脚本")
|
66798
66798
|
plot(close)
|
66799
66799
|
`, theme: l || "vs-dark", className: l || "vs-dark", options: {
|
66800
66800
|
colorDecorators: !0,
|
@@ -66809,15 +66809,15 @@ plot(close)
|
|
66809
66809
|
readOnlyMessage: {
|
66810
66810
|
value: "该脚本是只读的。它无法被编辑。"
|
66811
66811
|
},
|
66812
|
-
...
|
66812
|
+
...u
|
66813
66813
|
}, onMount: H, onChange: B });
|
66814
|
-
},
|
66815
|
-
const { theme: n, modified: s, original: o, height: l, width:
|
66814
|
+
}, Cx = mu(rx), Sx = (a) => {
|
66815
|
+
const { theme: n, modified: s, original: o, height: l, width: u, renderSideBySide: m = !0 } = a, h = js((g, b) => {
|
66816
66816
|
b.languages.register({
|
66817
66817
|
id: Pe
|
66818
66818
|
}), b.editor.defineTheme("vs-dark", Ui), b.editor.defineTheme("vs", Bi), b.languages.setMonarchTokensProvider(Pe, Fi), b.languages.setLanguageConfiguration(Pe, ji);
|
66819
66819
|
}, []);
|
66820
|
-
return
|
66820
|
+
return E.jsx(Jg, { height: l || "90vh", width: u || "100%", theme: n || "vs-dark", options: {
|
66821
66821
|
readOnly: !0,
|
66822
66822
|
renderSideBySide: m,
|
66823
66823
|
scrollBeyondLastLine: !1
|
@@ -66858,10 +66858,10 @@ function ix(a) {
|
|
66858
66858
|
return a.replace(/#{\s*key\s*}/g, n);
|
66859
66859
|
}
|
66860
66860
|
function ox(a, n) {
|
66861
|
-
var s, o, l,
|
66861
|
+
var s, o, l, u, m, h, g = !1;
|
66862
66862
|
n || (n = {}), s = n.debug || !1;
|
66863
66863
|
try {
|
66864
|
-
l = ax(),
|
66864
|
+
l = ax(), u = document.createRange(), m = document.getSelection(), h = document.createElement("span"), h.textContent = a, h.ariaHidden = "true", h.style.all = "unset", h.style.position = "fixed", h.style.top = 0, h.style.clip = "rect(0, 0, 0, 0)", h.style.whiteSpace = "pre", h.style.webkitUserSelect = "text", h.style.MozUserSelect = "text", h.style.msUserSelect = "text", h.style.userSelect = "text", h.addEventListener("copy", function(w) {
|
66865
66865
|
if (w.stopPropagation(), n.format)
|
66866
66866
|
if (w.preventDefault(), typeof w.clipboardData > "u") {
|
66867
66867
|
s && console.warn("unable to use e.clipboardData"), s && console.warn("trying IE specific stuff"), window.clipboardData.clearData();
|
@@ -66870,7 +66870,7 @@ function ox(a, n) {
|
|
66870
66870
|
} else
|
66871
66871
|
w.clipboardData.clearData(), w.clipboardData.setData(n.format, a);
|
66872
66872
|
n.onCopy && (w.preventDefault(), n.onCopy(w.clipboardData));
|
66873
|
-
}), document.body.appendChild(h),
|
66873
|
+
}), document.body.appendChild(h), u.selectNodeContents(h), m.addRange(u);
|
66874
66874
|
var b = document.execCommand("copy");
|
66875
66875
|
if (!b)
|
66876
66876
|
throw new Error("copy command was unsuccessful");
|
@@ -66883,7 +66883,7 @@ function ox(a, n) {
|
|
66883
66883
|
s && console.error("unable to copy using clipboardData: ", T), s && console.error("falling back to prompt"), o = ix("message" in n ? n.message : nx), window.prompt(o, a);
|
66884
66884
|
}
|
66885
66885
|
} finally {
|
66886
|
-
m && (typeof m.removeRange == "function" ? m.removeRange(
|
66886
|
+
m && (typeof m.removeRange == "function" ? m.removeRange(u) : m.removeAllRanges()), h && document.body.removeChild(h), l();
|
66887
66887
|
}
|
66888
66888
|
return g;
|
66889
66889
|
}
|
@@ -66930,18 +66930,18 @@ function dx(a, n) {
|
|
66930
66930
|
return {};
|
66931
66931
|
var s = px(a, n), o, l;
|
66932
66932
|
if (Object.getOwnPropertySymbols) {
|
66933
|
-
var
|
66934
|
-
for (l = 0; l <
|
66935
|
-
o =
|
66933
|
+
var u = Object.getOwnPropertySymbols(a);
|
66934
|
+
for (l = 0; l < u.length; l++)
|
66935
|
+
o = u[l], !(n.indexOf(o) >= 0) && Object.prototype.propertyIsEnumerable.call(a, o) && (s[o] = a[o]);
|
66936
66936
|
}
|
66937
66937
|
return s;
|
66938
66938
|
}
|
66939
66939
|
function px(a, n) {
|
66940
66940
|
if (a == null)
|
66941
66941
|
return {};
|
66942
|
-
var s = {}, o = Object.keys(a), l,
|
66943
|
-
for (
|
66944
|
-
l = o[
|
66942
|
+
var s = {}, o = Object.keys(a), l, u;
|
66943
|
+
for (u = 0; u < o.length; u++)
|
66944
|
+
l = o[u], !(n.indexOf(l) >= 0) && (s[l] = a[l]);
|
66945
66945
|
return s;
|
66946
66946
|
}
|
66947
66947
|
function mx(a, n) {
|
@@ -66972,8 +66972,8 @@ function hx(a) {
|
|
66972
66972
|
return function() {
|
66973
66973
|
var o = tn(a), l;
|
66974
66974
|
if (n) {
|
66975
|
-
var
|
66976
|
-
l = Reflect.construct(o, arguments,
|
66975
|
+
var u = tn(this).constructor;
|
66976
|
+
l = Reflect.construct(o, arguments, u);
|
66977
66977
|
} else
|
66978
66978
|
l = o.apply(this, arguments);
|
66979
66979
|
return _x(this, l);
|
@@ -67017,9 +67017,9 @@ var Eu = /* @__PURE__ */ function(a) {
|
|
67017
67017
|
function s() {
|
67018
67018
|
var o;
|
67019
67019
|
mx(this, s);
|
67020
|
-
for (var l = arguments.length,
|
67021
|
-
|
67022
|
-
return o = n.call.apply(n, [this].concat(
|
67020
|
+
for (var l = arguments.length, u = new Array(l), m = 0; m < l; m++)
|
67021
|
+
u[m] = arguments[m];
|
67022
|
+
return o = n.call.apply(n, [this].concat(u)), $i(Pu(o), "onClick", function(h) {
|
67023
67023
|
var g = o.props, b = g.text, w = g.onCopy, T = g.children, R = g.options, L = Xa.default.Children.only(T), A = (0, cx.default)(b, R);
|
67024
67024
|
w && w(b, A), L && L.props && typeof L.props.onClick == "function" && L.props.onClick(h);
|
67025
67025
|
}), o;
|
@@ -67029,7 +67029,7 @@ var Eu = /* @__PURE__ */ function(a) {
|
|
67029
67029
|
value: function() {
|
67030
67030
|
var l = this.props;
|
67031
67031
|
l.text, l.onCopy, l.options;
|
67032
|
-
var
|
67032
|
+
var u = l.children, m = dx(l, ux), h = Xa.default.Children.only(u);
|
67033
67033
|
return /* @__PURE__ */ Xa.default.cloneElement(h, du(du({}, m), {}, {
|
67034
67034
|
onClick: this.onClick
|
67035
67035
|
}));
|
@@ -67049,70 +67049,79 @@ async function wx(a, n = 0) {
|
|
67049
67049
|
const s = a[n];
|
67050
67050
|
if (!s)
|
67051
67051
|
return;
|
67052
|
-
const { name: o, args: l, type:
|
67052
|
+
const { name: o, args: l, type: u, desc: m, examples: h, remarks: g, seeAlso: b, syntax: w, detailedDesc: T, fields: R, returns: L } = s, A = {
|
67053
67053
|
name: o
|
67054
67054
|
};
|
67055
|
-
if (a.length > 1 && (A.overloads = `${a.length} overloads`),
|
67056
|
-
const { name: H, desc: $, displayType:
|
67055
|
+
if (a.length > 1 && (A.overloads = `${a.length} overloads`), u && (A.type = u), l && (A.name = `${o}()`, A.args = l.map((z) => {
|
67056
|
+
const { name: H, desc: $, displayType: O } = z;
|
67057
67057
|
return {
|
67058
|
-
label: `${H} (${
|
67059
|
-
desc: $ &&
|
67058
|
+
label: `${H} (${O})`,
|
67059
|
+
desc: $ && Or($)
|
67060
67060
|
};
|
67061
|
-
})), m && (A.desc = m.map((z) =>
|
67061
|
+
})), m && (A.desc = m.map((z) => Or(z))), h && (A.originalExample = h.join(`
|
67062
67062
|
`), A.examples = await Bs.colorize(A.originalExample, Pe, {
|
67063
67063
|
tabSize: 4
|
67064
67064
|
})), T) {
|
67065
67065
|
A.detailedDesc = [];
|
67066
67066
|
for (const z of T) {
|
67067
67067
|
const { desc: H, examples: $ } = z;
|
67068
|
-
let
|
67068
|
+
let O = H.map((M) => Or(M)), B, S;
|
67069
67069
|
$ && (S = $.join(`
|
67070
67070
|
`), B = await Bs.colorize(S, Pe, {
|
67071
67071
|
tabSize: 4
|
67072
67072
|
})), A.detailedDesc.push({
|
67073
|
-
desc:
|
67073
|
+
desc: O,
|
67074
67074
|
examples: B,
|
67075
67075
|
originalExample: S
|
67076
67076
|
});
|
67077
67077
|
}
|
67078
67078
|
}
|
67079
|
-
return L && (A.returns = L.map((z) =>
|
67079
|
+
return L && (A.returns = L.map((z) => Or(z))), g && (A.remarks = typeof g == "string" ? [Or(g)] : g.map((z) => Or(z))), w && (A.syntax = a.map((z) => {
|
67080
67080
|
var H;
|
67081
67081
|
return (H = z.syntax) == null ? void 0 : H[0];
|
67082
67082
|
})), R && (A.fields = R.map((z) => {
|
67083
|
-
const { name: H, desc: $, type:
|
67083
|
+
const { name: H, desc: $, type: O } = z;
|
67084
67084
|
return {
|
67085
|
-
label: `${H} (${
|
67086
|
-
desc: $ &&
|
67085
|
+
label: `${H} (${O})`,
|
67086
|
+
desc: $ && Or($)
|
67087
67087
|
};
|
67088
|
-
})), b && (A.seeAlso = b.map((z) =>
|
67089
|
-
}
|
67090
|
-
function br(a, n = !1) {
|
67091
|
-
var d;
|
67092
|
-
const s = /\*\*([^\*]+)\*\*/g, o = /\`([^\`]+)\`/g, l = /\[([^\[\]]+)\]\(([^\(\)]+)\)/g;
|
67093
|
-
return n && (a = ((d = l.exec(a)) == null ? void 0 : d[0]) || ""), a.replace(s, (m, h) => `<strong>${h}</strong>`).replace(o, (m, h) => `<code>${h}</code>`).replace(l, (m, h, g) => `<a ${g.startsWith("#") ? `data-name="${h}"` : 'target="_blank"'} class="${n ? "manual-content-see_also-tag" : "manual-content-text-link"}" href="${g}">${h}</a>`);
|
67088
|
+
})), b && (A.seeAlso = b.map((z) => vx(z))), A;
|
67094
67089
|
}
|
67095
67090
|
function vx(a) {
|
67091
|
+
const s = /\[([^\[\]]+)\]\(([^\(\)]+)\)/g.exec(a);
|
67092
|
+
if (s) {
|
67093
|
+
const [o, l, u] = s;
|
67094
|
+
return {
|
67095
|
+
name: l,
|
67096
|
+
link: u
|
67097
|
+
};
|
67098
|
+
}
|
67099
|
+
}
|
67100
|
+
function Or(a) {
|
67101
|
+
const n = /\*\*([^\*]+)\*\*/g, s = /\`([^\`]+)\`/g, o = /\[([^\[\]]+)\]\(([^\(\)]+)\)/g;
|
67102
|
+
return a.replace(n, (l, u) => `<strong>${u}</strong>`).replace(s, (l, u) => `<code>${u}</code>`).replace(o, (l, u, m) => `<a ${m.startsWith("#") ? `data-name="${u}"` : 'target="_blank"'} class="manual-content-text-link" href="${m}">${u}</a>`);
|
67103
|
+
}
|
67104
|
+
function Tx(a) {
|
67096
67105
|
var o;
|
67097
67106
|
const n = [], s = [];
|
67098
67107
|
for (const l of Ga) {
|
67099
|
-
for (let
|
67100
|
-
if (vu.includes(
|
67108
|
+
for (let u of Mi[l.key].sort()) {
|
67109
|
+
if (vu.includes(u))
|
67101
67110
|
continue;
|
67102
|
-
let m =
|
67103
|
-
l.prefix === "fun" && (m = `${
|
67111
|
+
let m = u;
|
67112
|
+
l.prefix === "fun" && (m = `${u}()`), m.includes(a) && (m.startsWith(a) ? n.unshift({
|
67104
67113
|
label: m,
|
67105
67114
|
group: l,
|
67106
|
-
key: `${l.prefix}_${
|
67115
|
+
key: `${l.prefix}_${u}`
|
67107
67116
|
}) : n.push({
|
67108
67117
|
label: m,
|
67109
67118
|
group: l,
|
67110
|
-
key: `${l.prefix}_${
|
67119
|
+
key: `${l.prefix}_${u}`
|
67111
67120
|
}));
|
67112
67121
|
}
|
67113
|
-
for (const [
|
67122
|
+
for (const [u, m] of gt[l.key])
|
67114
67123
|
for (const h of m) {
|
67115
|
-
const { name: g, args: b, type: w, desc: T, examples: R, remarks: L, seeAlso: A, syntax: z, detailedDesc: H, fields: $, returns:
|
67124
|
+
const { name: g, args: b, type: w, desc: T, examples: R, remarks: L, seeAlso: A, syntax: z, detailedDesc: H, fields: $, returns: O } = h, B = {
|
67116
67125
|
label: g,
|
67117
67126
|
group: l,
|
67118
67127
|
key: `${l.prefix}_${g}`
|
@@ -67210,9 +67219,9 @@ function vx(a) {
|
|
67210
67219
|
if (S)
|
67211
67220
|
break;
|
67212
67221
|
}
|
67213
|
-
if (
|
67222
|
+
if (O) {
|
67214
67223
|
let S = !1;
|
67215
|
-
for (const M of
|
67224
|
+
for (const M of O)
|
67216
67225
|
if (M.includes(a)) {
|
67217
67226
|
s.push(B), S = !0;
|
67218
67227
|
break;
|
@@ -67227,24 +67236,24 @@ function vx(a) {
|
|
67227
67236
|
contentList: s
|
67228
67237
|
};
|
67229
67238
|
}
|
67230
|
-
const
|
67239
|
+
const Ix = (a) => {
|
67231
67240
|
var $;
|
67232
|
-
const { group: n, itemKey: s, onItemClick: o } = a, [l,
|
67241
|
+
const { group: n, itemKey: s, onItemClick: o } = a, [l, u] = _t(), [m, h] = _t(0), [g, b] = _t("Copy code"), [w, T] = _t("Copy link");
|
67233
67242
|
Ze(() => {
|
67234
67243
|
R(0);
|
67235
67244
|
}, [s]);
|
67236
|
-
const R = (
|
67245
|
+
const R = (O) => {
|
67237
67246
|
const B = s.replace(`${n == null ? void 0 : n.prefix}_`, ""), S = gt[n == null ? void 0 : n.key].get(B);
|
67238
|
-
h(
|
67239
|
-
|
67247
|
+
h(O), S && wx(S, O).then((M) => {
|
67248
|
+
u(M);
|
67240
67249
|
});
|
67241
|
-
}, L = (
|
67242
|
-
R(
|
67243
|
-
}, A = (
|
67250
|
+
}, L = (O) => {
|
67251
|
+
R(O);
|
67252
|
+
}, A = (O) => {
|
67244
67253
|
var B, S;
|
67245
|
-
if (
|
67246
|
-
|
67247
|
-
const { hash: M } =
|
67254
|
+
if (O.target.localName === "a" && O.target.hash && ((S = (B = O.target) == null ? void 0 : B.dataset) != null && S.name)) {
|
67255
|
+
O.preventDefault();
|
67256
|
+
const { hash: M } = O.target;
|
67248
67257
|
o(M.replace("#", ""));
|
67249
67258
|
}
|
67250
67259
|
}, z = () => {
|
@@ -67256,28 +67265,26 @@ const Tx = (a) => {
|
|
67256
67265
|
T("Copy link");
|
67257
67266
|
}, 3e3);
|
67258
67267
|
};
|
67259
|
-
return
|
67260
|
-
__html:
|
67261
|
-
}, className: "manual-content-text" }, B)), (l == null ? void 0 : l.type) &&
|
67268
|
+
return E.jsx("div", { onClick: A, id: `#${s}`, children: E.jsxs("div", { className: "manual-content-wrapper", children: [E.jsxs("div", { className: "manual-content-header", children: [E.jsxs("div", { children: [E.jsx("h3", { className: "manual-content-header-title", children: l == null ? void 0 : l.name }), !!(l != null && l.overloads) && E.jsx("span", { className: "manual-content-header-overloads", children: l == null ? void 0 : l.overloads })] }), E.jsx(Ai, { text: (l == null ? void 0 : l.name) || "", onCopy: H, children: E.jsx("div", { "data-tooltip": w, className: "manual-content-btn", children: E.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 28 28", width: "28", height: "28", children: E.jsxs("g", { fill: "currentColor", children: [E.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" }), E.jsx("path", { d: "M10.485 16.141l5.656-5.656.707.707-5.656 5.656z" })] }) }) }) })] }), ($ = l == null ? void 0 : l.desc) == null ? void 0 : $.map((O, B) => E.jsx("div", { dangerouslySetInnerHTML: {
|
67269
|
+
__html: O
|
67270
|
+
}, className: "manual-content-text" }, B)), (l == null ? void 0 : l.type) && E.jsxs(Ht, { children: [E.jsx("div", { className: "manual-content-sub-title", children: "type" }), E.jsx("div", { className: "manual-content-text", children: l.type })] }), (l == null ? void 0 : l.syntax) && E.jsxs(Ht, { children: [E.jsxs("div", { className: "manual-content-sub-title", children: ["Syntax ", !!(l != null && l.overloads) && "& Overloads"] }), l.syntax.map((O, B) => {
|
67262
67271
|
var S;
|
67263
|
-
return (((S = l.syntax) == null ? void 0 : S.length) || 0) > 1 ?
|
67264
|
-
})] }), (l == null ? void 0 : l.args) &&
|
67265
|
-
__html:
|
67266
|
-
} })] }, B))] }), (l == null ? void 0 : l.fields) &&
|
67267
|
-
__html:
|
67268
|
-
} })] }, B))] }), (l == null ? void 0 : l.examples) &&
|
67272
|
+
return (((S = l.syntax) == null ? void 0 : S.length) || 0) > 1 ? E.jsx("div", { onClick: () => L(B), children: E.jsx("pre", { className: `manual-content-syntax with-overloads ${B === m ? "selected" : ""}`, children: O }) }, B) : E.jsx("pre", { className: "manual-content-syntax", children: O }, B);
|
67273
|
+
})] }), (l == null ? void 0 : l.args) && E.jsxs(Ht, { children: [E.jsx("div", { className: "manual-content-sub-title", children: "arguments" }), l.args.map((O, B) => E.jsxs("div", { className: "manual-content-text", children: [E.jsx("span", { className: "manual-content-args-label", children: O.label }), " ", E.jsx("span", { dangerouslySetInnerHTML: {
|
67274
|
+
__html: O.desc || ""
|
67275
|
+
} })] }, B))] }), (l == null ? void 0 : l.fields) && E.jsxs(Ht, { children: [E.jsx("div", { className: "manual-content-sub-title", children: "fields" }), l.fields.map((O, B) => E.jsxs("div", { className: "manual-content-text", children: [E.jsx("span", { className: "manual-content-args-label", children: O.label }), " ", E.jsx("span", { dangerouslySetInnerHTML: {
|
67276
|
+
__html: O.desc || ""
|
67277
|
+
} })] }, B))] }), (l == null ? void 0 : l.examples) && E.jsxs(Ht, { children: [E.jsxs("div", { className: "manual-content-sub-title manual-content-example-header", children: [E.jsx("div", { children: E.jsx("span", { children: "example" }) }), E.jsx(Ai, { text: l.originalExample || "", onCopy: z, children: E.jsx("div", { "data-tooltip": g, className: "manual-content-btn manual-content-example-copy", children: E.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "28", height: "28", fill: "none", children: E.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" }) }) }) })] }), E.jsx("pre", { className: "manual-content-example", children: E.jsx("code", { dangerouslySetInnerHTML: {
|
67269
67278
|
__html: l.examples
|
67270
|
-
} }) })] }), (l == null ? void 0 : l.detailedDesc) && l.detailedDesc.map((
|
67279
|
+
} }) })] }), (l == null ? void 0 : l.detailedDesc) && l.detailedDesc.map((O, B) => E.jsxs(Ht, { children: [O.desc.map((S, M) => E.jsx("div", { className: "manual-content-text", dangerouslySetInnerHTML: {
|
67271
67280
|
__html: S
|
67272
|
-
} }, M)),
|
67273
|
-
__html:
|
67274
|
-
} }) })] }, B)), (l == null ? void 0 : l.returns) &&
|
67275
|
-
__html:
|
67276
|
-
} }, B))] }), (l == null ? void 0 : l.remarks) &&
|
67277
|
-
__html:
|
67278
|
-
} }, B))] }), (l == null ? void 0 : l.seeAlso) &&
|
67279
|
-
__html: E
|
67280
|
-
} }, B)) })] })] }) });
|
67281
|
+
} }, M)), E.jsxs("div", { className: "manual-content-sub-title manual-content-example-header", children: [E.jsx("div", { children: E.jsx("span", { children: "example" }) }), E.jsx(Ai, { text: O.originalExample || "", onCopy: z, children: E.jsx("div", { "data-tooltip": g, className: "manual-content-btn manual-content-example-copy", children: E.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "28", height: "28", fill: "none", children: E.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" }) }) }) })] }), E.jsx("pre", { className: "manual-content-example", children: E.jsx("code", { dangerouslySetInnerHTML: {
|
67282
|
+
__html: O.examples || ""
|
67283
|
+
} }) })] }, B)), (l == null ? void 0 : l.returns) && E.jsxs(Ht, { children: [E.jsx("div", { className: "manual-content-sub-title", children: "returns" }), l.returns.map((O, B) => E.jsx("div", { className: "manual-content-text", dangerouslySetInnerHTML: {
|
67284
|
+
__html: O
|
67285
|
+
} }, B))] }), (l == null ? void 0 : l.remarks) && E.jsxs(Ht, { children: [E.jsx("div", { className: "manual-content-sub-title", children: "remarks" }), l.remarks.map((O, B) => E.jsx("div", { className: "manual-content-text", dangerouslySetInnerHTML: {
|
67286
|
+
__html: O
|
67287
|
+
} }, B))] }), (l == null ? void 0 : l.seeAlso) && E.jsxs(Ht, { children: [E.jsx("div", { className: "manual-content-sub-title", children: "see Also" }), E.jsx("div", { className: "manual-content-see_also", children: l.seeAlso.map((O, B) => E.jsx("a", { className: "manual-content-see_also-tag", "data-name": O == null ? void 0 : O.name, href: O == null ? void 0 : O.link, children: O == null ? void 0 : O.name }, B)) })] })] }) });
|
67281
67288
|
};
|
67282
67289
|
it.register({
|
67283
67290
|
id: Pe
|
@@ -67286,8 +67293,8 @@ Bs.defineTheme("vs-dark", Ui);
|
|
67286
67293
|
Bs.defineTheme("vs", Bi);
|
67287
67294
|
it.setMonarchTokensProvider(Pe, Fi);
|
67288
67295
|
it.setLanguageConfiguration(Pe, ji);
|
67289
|
-
const
|
67290
|
-
const [n, s] = _t(Ga[0]), [o, l] = _t(null), [
|
67296
|
+
const zx = ({ theme: a = "vs-dark" }) => {
|
67297
|
+
const [n, s] = _t(Ga[0]), [o, l] = _t(null), [u, m] = _t(""), [h, g] = _t("var_bar_index"), b = je(null), w = (A) => {
|
67291
67298
|
A.key === (n == null ? void 0 : n.key) ? s(null) : s(A);
|
67292
67299
|
};
|
67293
67300
|
Ze(() => {
|
@@ -67299,7 +67306,7 @@ const Sx = ({ theme: a = "vs-dark" }) => {
|
|
67299
67306
|
if (m(A.target.value), A.target.value.trim() === "")
|
67300
67307
|
l(null);
|
67301
67308
|
else {
|
67302
|
-
const z =
|
67309
|
+
const z = Tx(A.target.value);
|
67303
67310
|
l(z);
|
67304
67311
|
}
|
67305
67312
|
}, L = (A) => {
|
@@ -67309,27 +67316,27 @@ const Sx = ({ theme: a = "vs-dark" }) => {
|
|
67309
67316
|
($ = (H = b.current) == null ? void 0 : H.querySelector(`a[data-href="${A}"]`)) == null || $.scrollIntoView(!0);
|
67310
67317
|
}, 10));
|
67311
67318
|
};
|
67312
|
-
return
|
67319
|
+
return E.jsxs("div", { className: `${a} manual-warpper`, children: [E.jsxs("div", { className: "manual-left", children: [E.jsxs("div", { className: "manual-search", children: [E.jsx("span", { className: "manual-search-icon", children: E.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", width: "18px", height: "18px", children: E.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" }) }) }), E.jsx("input", { onChange: R, spellCheck: "false", value: u, className: "manual-search-input", autoComplete: "off", placeholder: "Search", type: "text" }), E.jsx("span", { onClick: () => m(""), className: `manual-search-clear ${u ? "" : "hide"}`, children: E.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 95.939 95.939", width: "9", height: "9", children: E.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" }) }) })] }), E.jsx("div", { className: `manual-group-search-list manual-scroll ${u ? "" : "hide"}`, children: E.jsxs("div", { children: [o == null ? void 0 : o.labelList.map((A) => E.jsx("a", { onClick: (z) => {
|
67313
67320
|
z.preventDefault(), T(A.key, A.group);
|
67314
|
-
}, 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}`)),
|
67321
|
+
}, 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}`)), E.jsx("div", { className: "manual-content-separator" }), o == null ? void 0 : o.contentList.map((A) => E.jsx("a", { onClick: (z) => {
|
67315
67322
|
z.preventDefault(), T(A.key, A.group);
|
67316
|
-
}, 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}`))] }) }),
|
67323
|
+
}, 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}`))] }) }), E.jsx("div", { className: `manual-group-list manual-scroll ${u ? "hide" : ""}`, ref: b, children: Ga.map((A) => {
|
67317
67324
|
var z, H;
|
67318
|
-
return
|
67319
|
-
const
|
67320
|
-
return
|
67321
|
-
B.preventDefault(), T(
|
67322
|
-
}, className: `manual-group-body-item ${
|
67325
|
+
return E.jsxs(Ht, { children: [E.jsx("div", { onClick: () => w(A), className: `manual-group-title ${A.key === (n == null ? void 0 : n.key) ? "active" : ""}`, children: A.title }), E.jsx("div", { className: `manual-group-body manual-scroll ${A.key !== (n == null ? void 0 : n.key) ? "hide" : ""}`, children: (H = (z = Mi[A.key]) == null ? void 0 : z.sort().filter(($) => !vu.includes($))) == null ? void 0 : H.map(($) => {
|
67326
|
+
const O = `${A.prefix}_${$}`;
|
67327
|
+
return E.jsx("a", { onClick: (B) => {
|
67328
|
+
B.preventDefault(), T(O);
|
67329
|
+
}, className: `manual-group-body-item ${O === h ? "manual-group-body-item-selected" : ""}`, "data-href": O, href: `#${O}`, children: `${$}${A.prefix === "fun" ? "()" : ""}` }, O);
|
67323
67330
|
}) })] }, A.key);
|
67324
|
-
}) })] }),
|
67331
|
+
}) })] }), E.jsx("div", { className: "manual-right manual-scroll", children: E.jsx(Ix, { group: n, itemKey: h, onItemClick: L }) })] });
|
67325
67332
|
};
|
67326
67333
|
export {
|
67327
67334
|
Ms as Actions,
|
67328
|
-
|
67329
|
-
|
67330
|
-
|
67335
|
+
zx as ReferenceManual,
|
67336
|
+
Sx as TradingVueDiffEditor,
|
67337
|
+
Cx as TradingVueEditor,
|
67331
67338
|
lu as VMarkerSeverity,
|
67332
67339
|
Jb as parseTcc,
|
67333
|
-
|
67340
|
+
qx as removeScript,
|
67334
67341
|
Zb as scriptsRun
|
67335
67342
|
};
|