st-comp 0.0.176 → 0.0.178
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/KlinePlus.cjs +3 -3
- package/es/KlinePlus.js +168 -165
- package/es/style.css +1 -1
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +43 -43
- package/lib/{index-5d22cd99.js → index-0f16f8b0.js} +439 -436
- package/lib/{python-0863213e.js → python-e9c32bc9.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/KlinePlus/index.vue +7 -4
- package/src/pages/KlinePlus/index.vue +4 -4
|
@@ -2799,7 +2799,7 @@ const f8e = Ke({
|
|
|
2799
2799
|
}, Me = async (H) => {
|
|
2800
2800
|
fe();
|
|
2801
2801
|
let { value: Q } = H.target;
|
|
2802
|
-
if (i.formatter && (Q = i.parser ? i.parser(Q) : Q), !
|
|
2802
|
+
if (i.formatter && (Q = i.parser ? i.parser(Q) : Q), !Be.value) {
|
|
2803
2803
|
if (Q === k.value) {
|
|
2804
2804
|
pe();
|
|
2805
2805
|
return;
|
|
@@ -2809,8 +2809,8 @@ const f8e = Ke({
|
|
|
2809
2809
|
}, De = (H) => {
|
|
2810
2810
|
t("change", H.target.value);
|
|
2811
2811
|
}, {
|
|
2812
|
-
isComposing:
|
|
2813
|
-
handleCompositionStart:
|
|
2812
|
+
isComposing: Be,
|
|
2813
|
+
handleCompositionStart: Ye,
|
|
2814
2814
|
handleCompositionUpdate: de,
|
|
2815
2815
|
handleCompositionEnd: q
|
|
2816
2816
|
} = eJ({ emit: t, afterComposition: Me }), oe = () => {
|
|
@@ -2846,7 +2846,7 @@ const f8e = Ke({
|
|
|
2846
2846
|
ref: C,
|
|
2847
2847
|
textareaStyle: I,
|
|
2848
2848
|
autosize: as(i, "autosize"),
|
|
2849
|
-
isComposing:
|
|
2849
|
+
isComposing: Be,
|
|
2850
2850
|
focus: ae,
|
|
2851
2851
|
blur: re,
|
|
2852
2852
|
select: ie,
|
|
@@ -2917,7 +2917,7 @@ const f8e = Ke({
|
|
|
2917
2917
|
form: H.form,
|
|
2918
2918
|
autofocus: H.autofocus,
|
|
2919
2919
|
role: H.containerRole,
|
|
2920
|
-
onCompositionstart: V(
|
|
2920
|
+
onCompositionstart: V(Ye),
|
|
2921
2921
|
onCompositionupdate: V(de),
|
|
2922
2922
|
onCompositionend: V(q),
|
|
2923
2923
|
onInput: Me,
|
|
@@ -3017,7 +3017,7 @@ const f8e = Ke({
|
|
|
3017
3017
|
autofocus: H.autofocus,
|
|
3018
3018
|
rows: H.rows,
|
|
3019
3019
|
role: H.containerRole,
|
|
3020
|
-
onCompositionstart: V(
|
|
3020
|
+
onCompositionstart: V(Ye),
|
|
3021
3021
|
onCompositionupdate: V(de),
|
|
3022
3022
|
onCompositionend: V(q),
|
|
3023
3023
|
onInput: Me,
|
|
@@ -4253,7 +4253,7 @@ function W6e(n) {
|
|
|
4253
4253
|
var e = n.state, t = n.options, i = n.name, r = t.mainAxis, o = r === void 0 ? !0 : r, s = t.altAxis, a = s === void 0 ? !1 : s, l = t.boundary, u = t.rootBoundary, c = t.altBoundary, d = t.padding, h = t.tether, f = h === void 0 ? !0 : h, p = t.tetherOffset, g = p === void 0 ? 0 : p, v = Y9(e, { boundary: l, rootBoundary: u, padding: d, altBoundary: c }), m = Hc(e.placement), _ = mg(e.placement), b = !_, y = mI(m), w = j6e(y), C = e.modifiersData.popperOffsets, x = e.rects.reference, D = e.rects.popper, S = typeof g == "function" ? g(Object.assign({}, e.rects, { placement: e.placement })) : g, E = typeof S == "number" ? { mainAxis: S, altAxis: S } : Object.assign({ mainAxis: 0, altAxis: 0 }, S), N = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, L = { x: 0, y: 0 };
|
|
4254
4254
|
if (C) {
|
|
4255
4255
|
if (o) {
|
|
4256
|
-
var R, F = y === "y" ? _l : wl, O = y === "y" ? Fu : Pu, I = y === "y" ? "height" : "width", k = C[y], j = k + v[F], P = k - v[O], G = f ? -D[I] / 2 : 0, ue = _ === hg ? x[I] : D[I], Z = _ === hg ? -D[I] : -x[I], W = e.elements.arrow, fe = f && W ? gI(W) : { width: 0, height: 0 }, _e = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : fJ(), we = _e[F], le = _e[O], ye = o9(0, x[I], fe[I]), pe = b ? x[I] / 2 - G - ye - we - E.mainAxis : ue - ye - we - E.mainAxis, Me = b ? -x[I] / 2 + G + ye + le + E.mainAxis : Z + ye + le + E.mainAxis, De = e.elements.arrow && N6(e.elements.arrow),
|
|
4256
|
+
var R, F = y === "y" ? _l : wl, O = y === "y" ? Fu : Pu, I = y === "y" ? "height" : "width", k = C[y], j = k + v[F], P = k - v[O], G = f ? -D[I] / 2 : 0, ue = _ === hg ? x[I] : D[I], Z = _ === hg ? -D[I] : -x[I], W = e.elements.arrow, fe = f && W ? gI(W) : { width: 0, height: 0 }, _e = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : fJ(), we = _e[F], le = _e[O], ye = o9(0, x[I], fe[I]), pe = b ? x[I] / 2 - G - ye - we - E.mainAxis : ue - ye - we - E.mainAxis, Me = b ? -x[I] / 2 + G + ye + le + E.mainAxis : Z + ye + le + E.mainAxis, De = e.elements.arrow && N6(e.elements.arrow), Be = De ? y === "y" ? De.clientTop || 0 : De.clientLeft || 0 : 0, Ye = (R = N == null ? void 0 : N[y]) != null ? R : 0, de = k + pe - Ye - Be, q = k + Me - Ye, oe = o9(f ? Py(j, de) : j, k, f ? Gf(P, q) : P);
|
|
4257
4257
|
C[y] = oe, L[y] = oe - k;
|
|
4258
4258
|
}
|
|
4259
4259
|
if (a) {
|
|
@@ -5430,8 +5430,8 @@ const Yu = dr(j7e), W7e = rn({
|
|
|
5430
5430
|
return;
|
|
5431
5431
|
}
|
|
5432
5432
|
le >= p.value.length && (le = p.value.length - 1);
|
|
5433
|
-
const ye = u.value.querySelector(`.${a.be("suggestion", "wrap")}`), Me = ye.querySelectorAll(`.${a.be("suggestion", "list")} li`)[le], De = ye.scrollTop, { offsetTop:
|
|
5434
|
-
|
|
5433
|
+
const ye = u.value.querySelector(`.${a.be("suggestion", "wrap")}`), Me = ye.querySelectorAll(`.${a.be("suggestion", "list")} li`)[le], De = ye.scrollTop, { offsetTop: Be, scrollHeight: Ye } = Me;
|
|
5434
|
+
Be + Ye > De + ye.clientHeight && (ye.scrollTop += Ye), Be < De && (ye.scrollTop -= Ye), g.value = le, l.value.ref.setAttribute("aria-activedescendant", `${y.value}-item-${g.value}`);
|
|
5435
5435
|
}, we = LX(d, () => {
|
|
5436
5436
|
var le;
|
|
5437
5437
|
(le = c.value) != null && le.isFocusInsideContent() || C.value && ue();
|
|
@@ -6579,17 +6579,17 @@ var AJ = { exports: {} };
|
|
|
6579
6579
|
var k = this, j = this.$locale();
|
|
6580
6580
|
if (!this.isValid())
|
|
6581
6581
|
return j.invalidDate || g;
|
|
6582
|
-
var P = I || "YYYY-MM-DDTHH:mm:ssZ", G = N.z(this), ue = this.$H, Z = this.$m, W = this.$M, fe = j.weekdays, _e = j.months, we = j.meridiem, le = function(Me, De,
|
|
6583
|
-
return Me && (Me[De] || Me(k, P)) ||
|
|
6582
|
+
var P = I || "YYYY-MM-DDTHH:mm:ssZ", G = N.z(this), ue = this.$H, Z = this.$m, W = this.$M, fe = j.weekdays, _e = j.months, we = j.meridiem, le = function(Me, De, Be, Ye) {
|
|
6583
|
+
return Me && (Me[De] || Me(k, P)) || Be[De].slice(0, Ye);
|
|
6584
6584
|
}, ye = function(Me) {
|
|
6585
6585
|
return N.s(ue % 12 || 12, Me, "0");
|
|
6586
|
-
}, pe = we || function(Me, De,
|
|
6587
|
-
var
|
|
6588
|
-
return
|
|
6586
|
+
}, pe = we || function(Me, De, Be) {
|
|
6587
|
+
var Ye = Me < 12 ? "AM" : "PM";
|
|
6588
|
+
return Be ? Ye.toLowerCase() : Ye;
|
|
6589
6589
|
};
|
|
6590
6590
|
return P.replace(m, function(Me, De) {
|
|
6591
|
-
return De || function(
|
|
6592
|
-
switch (
|
|
6591
|
+
return De || function(Be) {
|
|
6592
|
+
switch (Be) {
|
|
6593
6593
|
case "YY":
|
|
6594
6594
|
return String(k.$y).slice(-2);
|
|
6595
6595
|
case "YYYY":
|
|
@@ -10357,10 +10357,10 @@ const f_e = Ke({
|
|
|
10357
10357
|
De && pe.push(...$l(De));
|
|
10358
10358
|
}
|
|
10359
10359
|
if (ye !== void 0) {
|
|
10360
|
-
const De = pe.map((
|
|
10360
|
+
const De = pe.map((Be, Ye) => [Be, Ye]).filter(([Be]) => Object.keys(Be).includes("required"));
|
|
10361
10361
|
if (De.length > 0)
|
|
10362
|
-
for (const [
|
|
10363
|
-
|
|
10362
|
+
for (const [Be, Ye] of De)
|
|
10363
|
+
Be.required !== ye && (pe[Ye] = { ...Be, required: ye });
|
|
10364
10364
|
else
|
|
10365
10365
|
pe.push({ required: ye });
|
|
10366
10366
|
}
|
|
@@ -10372,8 +10372,8 @@ const f_e = Ke({
|
|
|
10372
10372
|
c.value = ye;
|
|
10373
10373
|
}, P = (ye) => {
|
|
10374
10374
|
var pe, Me;
|
|
10375
|
-
const { errors: De, fields:
|
|
10376
|
-
(!De || !
|
|
10375
|
+
const { errors: De, fields: Be } = ye;
|
|
10376
|
+
(!De || !Be) && console.error(ye), j("error"), h.value = De ? (Me = (pe = De == null ? void 0 : De[0]) == null ? void 0 : pe.message) != null ? Me : `${t.prop} is required` : "", r == null || r.emit("validate", t.prop, !1, h.value);
|
|
10377
10377
|
}, G = () => {
|
|
10378
10378
|
j("success"), r == null || r.emit("validate", t.prop, !0, "");
|
|
10379
10379
|
}, ue = async (ye) => {
|
|
@@ -10388,9 +10388,9 @@ const f_e = Ke({
|
|
|
10388
10388
|
if (!R.value)
|
|
10389
10389
|
return pe == null || pe(!1), !1;
|
|
10390
10390
|
const De = F(ye);
|
|
10391
|
-
return De.length === 0 ? (pe == null || pe(!0), !0) : (j("validating"), ue(De).then(() => (pe == null || pe(!0), !0)).catch((
|
|
10392
|
-
const { fields:
|
|
10393
|
-
return pe == null || pe(!1,
|
|
10391
|
+
return De.length === 0 ? (pe == null || pe(!0), !0) : (j("validating"), ue(De).then(() => (pe == null || pe(!0), !0)).catch((Be) => {
|
|
10392
|
+
const { fields: Ye } = Be;
|
|
10393
|
+
return pe == null || pe(!1, Ye), Me ? !1 : Promise.reject(Ye);
|
|
10394
10394
|
}));
|
|
10395
10395
|
}, W = () => {
|
|
10396
10396
|
j(""), h.value = "", g = !1;
|
|
@@ -11768,7 +11768,7 @@ const twe = (n, e) => {
|
|
|
11768
11768
|
var It;
|
|
11769
11769
|
(It = at.updateOption) == null || It.call(at, s.inputValue);
|
|
11770
11770
|
});
|
|
11771
|
-
},
|
|
11771
|
+
}, Be = Xa(), Ye = se(() => ["small"].includes(Be.value) ? "small" : "default"), de = se({
|
|
11772
11772
|
get() {
|
|
11773
11773
|
return S.value && !_e.value;
|
|
11774
11774
|
},
|
|
@@ -11916,7 +11916,7 @@ const twe = (n, e) => {
|
|
|
11916
11916
|
($e = m.value) == null || $e.handleScroll();
|
|
11917
11917
|
}, ke = (at) => {
|
|
11918
11918
|
s.options.set(at.value, at), s.cachedOptions.set(at.value, at);
|
|
11919
|
-
},
|
|
11919
|
+
}, ze = (at, It) => {
|
|
11920
11920
|
s.options.get(at) === It && s.options.delete(at);
|
|
11921
11921
|
}, lt = se(() => {
|
|
11922
11922
|
var at, It;
|
|
@@ -11987,7 +11987,7 @@ const twe = (n, e) => {
|
|
|
11987
11987
|
expanded: S,
|
|
11988
11988
|
optionsArray: ye,
|
|
11989
11989
|
hoverOption: E,
|
|
11990
|
-
selectSize:
|
|
11990
|
+
selectSize: Be,
|
|
11991
11991
|
filteredOptionsCount: le,
|
|
11992
11992
|
updateTooltip: Q,
|
|
11993
11993
|
updateTagTooltip: X,
|
|
@@ -12010,7 +12010,7 @@ const twe = (n, e) => {
|
|
|
12010
12010
|
validateIcon: W,
|
|
12011
12011
|
showNewOption: Me,
|
|
12012
12012
|
updateOptions: De,
|
|
12013
|
-
collapseTagSize:
|
|
12013
|
+
collapseTagSize: Ye,
|
|
12014
12014
|
setSelected: ee,
|
|
12015
12015
|
selectDisabled: I,
|
|
12016
12016
|
emptyText: we,
|
|
@@ -12018,7 +12018,7 @@ const twe = (n, e) => {
|
|
|
12018
12018
|
handleCompositionUpdate: y,
|
|
12019
12019
|
handleCompositionEnd: w,
|
|
12020
12020
|
onOptionCreate: ke,
|
|
12021
|
-
onOptionDestroy:
|
|
12021
|
+
onOptionDestroy: ze,
|
|
12022
12022
|
handleMenuEnter: Ut,
|
|
12023
12023
|
focus: Zt,
|
|
12024
12024
|
blur: ti,
|
|
@@ -14340,16 +14340,16 @@ function mCe() {
|
|
|
14340
14340
|
});
|
|
14341
14341
|
}, k = () => {
|
|
14342
14342
|
var Pe, ct;
|
|
14343
|
-
a.value.forEach((
|
|
14344
|
-
I(
|
|
14345
|
-
}), c.value = a.value.filter((
|
|
14343
|
+
a.value.forEach((ze) => {
|
|
14344
|
+
I(ze);
|
|
14345
|
+
}), c.value = a.value.filter((ze) => ze.type !== "selection" && [!0, "left"].includes(ze.fixed));
|
|
14346
14346
|
let ut;
|
|
14347
14347
|
if (((ct = (Pe = a.value) == null ? void 0 : Pe[0]) == null ? void 0 : ct.type) === "selection") {
|
|
14348
|
-
const
|
|
14349
|
-
ut = [!0, "left"].includes(
|
|
14348
|
+
const ze = a.value[0];
|
|
14349
|
+
ut = [!0, "left"].includes(ze.fixed) || c.value.length && ze.fixed !== "right", ut && c.value.unshift(ze);
|
|
14350
14350
|
}
|
|
14351
|
-
d.value = a.value.filter((
|
|
14352
|
-
const Ze = a.value.filter((
|
|
14351
|
+
d.value = a.value.filter((ze) => ze.fixed === "right");
|
|
14352
|
+
const Ze = a.value.filter((ze) => (ut ? ze.type !== "selection" : !0) && !ze.fixed);
|
|
14353
14353
|
l.value = [].concat(c.value).concat(Ze).concat(d.value);
|
|
14354
14354
|
const Pt = Rb(Ze), U = Rb(c.value), ke = Rb(d.value);
|
|
14355
14355
|
v.value = Pt.length, m.value = U.length, _.value = ke.length, u.value = [].concat(U).concat(Pt).concat(ke), s.value = c.value.length > 0 || d.value.length > 0;
|
|
@@ -14373,10 +14373,10 @@ function mCe() {
|
|
|
14373
14373
|
y.value = ct, e.emit("selection-change", ct.slice());
|
|
14374
14374
|
}
|
|
14375
14375
|
}, Z = () => (y.value || []).slice(), W = (Pe, ct, ut = !0, Ze = !1) => {
|
|
14376
|
-
var Pt, U, ke,
|
|
14376
|
+
var Pt, U, ke, ze;
|
|
14377
14377
|
const lt = {
|
|
14378
14378
|
children: (U = (Pt = e == null ? void 0 : e.store) == null ? void 0 : Pt.states) == null ? void 0 : U.childrenColumnName.value,
|
|
14379
|
-
checkStrictly: (
|
|
14379
|
+
checkStrictly: (ze = (ke = e == null ? void 0 : e.store) == null ? void 0 : ke.states) == null ? void 0 : ze.checkStrictly.value
|
|
14380
14380
|
};
|
|
14381
14381
|
if (zy(y.value, Pe, ct, lt, Ze ? void 0 : x.value, r.value.indexOf(Pe))) {
|
|
14382
14382
|
const Zt = (y.value || []).slice();
|
|
@@ -14387,13 +14387,13 @@ function mCe() {
|
|
|
14387
14387
|
const ut = C.value ? !b.value : !(b.value || y.value.length);
|
|
14388
14388
|
b.value = ut;
|
|
14389
14389
|
let Ze = !1, Pt = 0;
|
|
14390
|
-
const U = (ct = (Pe = e == null ? void 0 : e.store) == null ? void 0 : Pe.states) == null ? void 0 : ct.rowKey.value, { childrenColumnName: ke } = e.store.states,
|
|
14390
|
+
const U = (ct = (Pe = e == null ? void 0 : e.store) == null ? void 0 : Pe.states) == null ? void 0 : ct.rowKey.value, { childrenColumnName: ke } = e.store.states, ze = {
|
|
14391
14391
|
children: ke.value,
|
|
14392
14392
|
checkStrictly: !1
|
|
14393
14393
|
};
|
|
14394
14394
|
r.value.forEach((lt, Ut) => {
|
|
14395
14395
|
const Zt = Ut + Pt;
|
|
14396
|
-
zy(y.value, lt, ut,
|
|
14396
|
+
zy(y.value, lt, ut, ze, x.value, Zt) && (Ze = !0), Pt += le(ya(lt, U));
|
|
14397
14397
|
}), Ze && e.emit("selection-change", y.value ? y.value.slice() : []), e.emit("select-all", (y.value || []).slice());
|
|
14398
14398
|
}, _e = () => {
|
|
14399
14399
|
r.value.forEach((Pe) => {
|
|
@@ -14409,14 +14409,14 @@ function mCe() {
|
|
|
14409
14409
|
const { childrenColumnName: ct } = e.store.states;
|
|
14410
14410
|
let ut = 0, Ze = 0;
|
|
14411
14411
|
const Pt = (ke) => {
|
|
14412
|
-
var
|
|
14412
|
+
var ze;
|
|
14413
14413
|
for (const lt of ke) {
|
|
14414
14414
|
const Ut = x.value && x.value.call(null, lt, ut);
|
|
14415
14415
|
if (P(lt))
|
|
14416
14416
|
Ze++;
|
|
14417
14417
|
else if (!x.value || Ut)
|
|
14418
14418
|
return !1;
|
|
14419
|
-
if (ut++, (
|
|
14419
|
+
if (ut++, (ze = lt[ct.value]) != null && ze.length && !Pt(lt[ct.value]))
|
|
14420
14420
|
return !1;
|
|
14421
14421
|
}
|
|
14422
14422
|
return !0;
|
|
@@ -14457,9 +14457,9 @@ function mCe() {
|
|
|
14457
14457
|
sortProp: N.value,
|
|
14458
14458
|
sortOrder: L.value
|
|
14459
14459
|
});
|
|
14460
|
-
},
|
|
14460
|
+
}, Be = (Pe = void 0) => {
|
|
14461
14461
|
Pe && Pe.filter || Me(), De();
|
|
14462
|
-
},
|
|
14462
|
+
}, Ye = (Pe) => {
|
|
14463
14463
|
const { tableHeaderRef: ct } = e.refs;
|
|
14464
14464
|
if (!ct)
|
|
14465
14465
|
return;
|
|
@@ -14470,7 +14470,7 @@ function mCe() {
|
|
|
14470
14470
|
columns: u.value
|
|
14471
14471
|
}, U));
|
|
14472
14472
|
Ze.forEach((U) => {
|
|
14473
|
-
const ke = Pt.find((
|
|
14473
|
+
const ke = Pt.find((ze) => ze.id === U);
|
|
14474
14474
|
ke && (ke.filteredValue = []);
|
|
14475
14475
|
}), e.store.commit("filterChange", {
|
|
14476
14476
|
column: Pt,
|
|
@@ -14537,8 +14537,8 @@ function mCe() {
|
|
|
14537
14537
|
updateSort: pe,
|
|
14538
14538
|
execFilter: Me,
|
|
14539
14539
|
execSort: De,
|
|
14540
|
-
execQuery:
|
|
14541
|
-
clearFilter:
|
|
14540
|
+
execQuery: Be,
|
|
14541
|
+
clearFilter: Ye,
|
|
14542
14542
|
clearSort: de,
|
|
14543
14543
|
toggleRowExpansion: oe,
|
|
14544
14544
|
setExpandRowKeysAdapter: (Pe) => {
|
|
@@ -17378,7 +17378,7 @@ function yxe(n) {
|
|
|
17378
17378
|
mainTableRef: e,
|
|
17379
17379
|
leftTableRef: t,
|
|
17380
17380
|
rightTableRef: i,
|
|
17381
|
-
onMaybeEndReached:
|
|
17381
|
+
onMaybeEndReached: Ye
|
|
17382
17382
|
}), b = Wt("table-v2"), y = mi(), w = Wl(!1), {
|
|
17383
17383
|
expandedRowKeys: C,
|
|
17384
17384
|
lastRenderedRowIndex: x,
|
|
@@ -17425,11 +17425,11 @@ function yxe(n) {
|
|
|
17425
17425
|
const de = V(I).length === 0;
|
|
17426
17426
|
return Kn(n.fixedData) ? n.fixedData.length === 0 && de : de;
|
|
17427
17427
|
});
|
|
17428
|
-
function
|
|
17428
|
+
function Be(de) {
|
|
17429
17429
|
const { estimatedRowHeight: q, rowHeight: oe, rowKey: ae } = n;
|
|
17430
17430
|
return q ? V(E)[V(I)[de][ae]] || q : oe;
|
|
17431
17431
|
}
|
|
17432
|
-
function
|
|
17432
|
+
function Ye() {
|
|
17433
17433
|
const { onEndReached: de } = n;
|
|
17434
17434
|
if (!de)
|
|
17435
17435
|
return;
|
|
@@ -17466,7 +17466,7 @@ function yxe(n) {
|
|
|
17466
17466
|
leftTableWidth: Z,
|
|
17467
17467
|
rightTableWidth: W,
|
|
17468
17468
|
showEmpty: De,
|
|
17469
|
-
getRowHeight:
|
|
17469
|
+
getRowHeight: Be,
|
|
17470
17470
|
onColumnSorted: d,
|
|
17471
17471
|
onRowHovered: F,
|
|
17472
17472
|
onRowExpanded: L,
|
|
@@ -18016,7 +18016,7 @@ const Dxe = ({ atXEndEdge: n, atXStartEdge: e, atYEndEdge: t, atYStartEdge: i },
|
|
|
18016
18016
|
te.scrollLeft = Math.max(0, re);
|
|
18017
18017
|
te.scrollTop = Math.max(0, ce);
|
|
18018
18018
|
}
|
|
18019
|
-
}, { resetAfterColumnIndex: Me, resetAfterRowIndex: De, resetAfter:
|
|
18019
|
+
}, { resetAfterColumnIndex: Me, resetAfterRowIndex: De, resetAfter: Be } = y.proxy;
|
|
18020
18020
|
m({
|
|
18021
18021
|
windowRef: C,
|
|
18022
18022
|
innerRef: S,
|
|
@@ -18026,9 +18026,9 @@ const Dxe = ({ atXEndEdge: n, atXStartEdge: e, atYEndEdge: t, atYStartEdge: i },
|
|
|
18026
18026
|
states: E,
|
|
18027
18027
|
resetAfterColumnIndex: Me,
|
|
18028
18028
|
resetAfterRowIndex: De,
|
|
18029
|
-
resetAfter:
|
|
18029
|
+
resetAfter: Be
|
|
18030
18030
|
});
|
|
18031
|
-
const
|
|
18031
|
+
const Ye = () => {
|
|
18032
18032
|
const {
|
|
18033
18033
|
scrollbarAlwaysOn: ae,
|
|
18034
18034
|
scrollbarStartGap: re,
|
|
@@ -18094,7 +18094,7 @@ const Dxe = ({ atXEndEdge: n, atXStartEdge: e, atYEndEdge: t, atYStartEdge: i },
|
|
|
18094
18094
|
];
|
|
18095
18095
|
};
|
|
18096
18096
|
return () => {
|
|
18097
|
-
const ae = lr(g.containerElement), { horizontalScrollbar: re, verticalScrollbar: ce } =
|
|
18097
|
+
const ae = lr(g.containerElement), { horizontalScrollbar: re, verticalScrollbar: ce } = Ye(), ee = q();
|
|
18098
18098
|
return Yt("div", {
|
|
18099
18099
|
key: 0,
|
|
18100
18100
|
class: b.e("wrapper"),
|
|
@@ -19176,8 +19176,8 @@ const hSe = "ElTableV2", fSe = Ke({
|
|
|
19176
19176
|
headerHeight: pe,
|
|
19177
19177
|
headerClass: Me,
|
|
19178
19178
|
headerProps: De,
|
|
19179
|
-
headerCellProps:
|
|
19180
|
-
sortBy:
|
|
19179
|
+
headerCellProps: Be,
|
|
19180
|
+
sortBy: Ye,
|
|
19181
19181
|
sortState: de,
|
|
19182
19182
|
rowHeight: q,
|
|
19183
19183
|
rowClass: oe,
|
|
@@ -19285,11 +19285,11 @@ const hSe = "ElTableV2", fSe = Ke({
|
|
|
19285
19285
|
columnsStyles: ut
|
|
19286
19286
|
}, ke = {
|
|
19287
19287
|
ns: i,
|
|
19288
|
-
sortBy:
|
|
19288
|
+
sortBy: Ye,
|
|
19289
19289
|
sortState: de,
|
|
19290
|
-
headerCellProps:
|
|
19290
|
+
headerCellProps: Be,
|
|
19291
19291
|
onColumnSorted: k
|
|
19292
|
-
},
|
|
19292
|
+
}, ze = {
|
|
19293
19293
|
row: (Zt) => ge(Gxe, ji(Zt, Ze), {
|
|
19294
19294
|
row: e.row,
|
|
19295
19295
|
cell: (ti) => {
|
|
@@ -19325,12 +19325,12 @@ const hSe = "ElTableV2", fSe = Ke({
|
|
|
19325
19325
|
return ge("div", {
|
|
19326
19326
|
class: lt,
|
|
19327
19327
|
style: V(D)
|
|
19328
|
-
}, [ge(Fxe, be, t5(
|
|
19329
|
-
default: () => [
|
|
19330
|
-
}), ge(zxe, Re, t5(
|
|
19331
|
-
default: () => [
|
|
19332
|
-
}), ge(jxe, ct, t5(
|
|
19333
|
-
default: () => [
|
|
19328
|
+
}, [ge(Fxe, be, t5(ze) ? ze : {
|
|
19329
|
+
default: () => [ze]
|
|
19330
|
+
}), ge(zxe, Re, t5(ze) ? ze : {
|
|
19331
|
+
default: () => [ze]
|
|
19332
|
+
}), ge(jxe, ct, t5(ze) ? ze : {
|
|
19333
|
+
default: () => [ze]
|
|
19334
19334
|
}), e.footer && ge(uSe, Ut, {
|
|
19335
19335
|
default: e.footer
|
|
19336
19336
|
}), V(N) && ge(cSe, {
|
|
@@ -21598,7 +21598,7 @@ function Cte() {
|
|
|
21598
21598
|
if (!(!U || ut.restParam && !U.restParam)) {
|
|
21599
21599
|
if (!U.hasAny) {
|
|
21600
21600
|
const ke = b(U);
|
|
21601
|
-
if (ut.types.some((
|
|
21601
|
+
if (ut.types.some((ze) => !ke.has(ze.name)))
|
|
21602
21602
|
continue;
|
|
21603
21603
|
}
|
|
21604
21604
|
Ze.push(Pt);
|
|
@@ -21894,10 +21894,10 @@ function Cte() {
|
|
|
21894
21894
|
}
|
|
21895
21895
|
if (ke !== 0)
|
|
21896
21896
|
return ke;
|
|
21897
|
-
let
|
|
21898
|
-
for (
|
|
21899
|
-
if (
|
|
21900
|
-
return
|
|
21897
|
+
let ze;
|
|
21898
|
+
for (ze of U)
|
|
21899
|
+
if (ze !== 0)
|
|
21900
|
+
return ze;
|
|
21901
21901
|
return 0;
|
|
21902
21902
|
}
|
|
21903
21903
|
function k(z) {
|
|
@@ -21988,7 +21988,7 @@ function Cte() {
|
|
|
21988
21988
|
restParam: !1
|
|
21989
21989
|
};
|
|
21990
21990
|
});
|
|
21991
|
-
return
|
|
21991
|
+
return Be(Ve, function(Re) {
|
|
21992
21992
|
return H(Q, X + 1, be.concat([Re]));
|
|
21993
21993
|
});
|
|
21994
21994
|
} else
|
|
@@ -22095,13 +22095,13 @@ function Cte() {
|
|
|
22095
22095
|
const Pe = [], ct = /* @__PURE__ */ new Map();
|
|
22096
22096
|
for (nt of Ee)
|
|
22097
22097
|
ct.has(nt.name) || (nt.fn = Re[nt.fn], Pe.push(nt), ct.set(nt.name, nt));
|
|
22098
|
-
const ut = Pe[0] && Pe[0].params.length <= 2 && !w(Pe[0].params), Ze = Pe[1] && Pe[1].params.length <= 2 && !w(Pe[1].params), Pt = Pe[2] && Pe[2].params.length <= 2 && !w(Pe[2].params), U = Pe[3] && Pe[3].params.length <= 2 && !w(Pe[3].params), ke = Pe[4] && Pe[4].params.length <= 2 && !w(Pe[4].params),
|
|
22098
|
+
const ut = Pe[0] && Pe[0].params.length <= 2 && !w(Pe[0].params), Ze = Pe[1] && Pe[1].params.length <= 2 && !w(Pe[1].params), Pt = Pe[2] && Pe[2].params.length <= 2 && !w(Pe[2].params), U = Pe[3] && Pe[3].params.length <= 2 && !w(Pe[3].params), ke = Pe[4] && Pe[4].params.length <= 2 && !w(Pe[4].params), ze = Pe[5] && Pe[5].params.length <= 2 && !w(Pe[5].params), lt = ut && Ze && Pt && U && ke && ze;
|
|
22099
22099
|
for (let Et = 0; Et < Pe.length; ++Et)
|
|
22100
22100
|
Pe[Et].test = x(Pe[Et].params);
|
|
22101
|
-
const Ut = ut ? C(Pe[0].params[0]) : pu, Zt = Ze ? C(Pe[1].params[0]) : pu, ti = Pt ? C(Pe[2].params[0]) : pu, vr = U ? C(Pe[3].params[0]) : pu, vs = ke ? C(Pe[4].params[0]) : pu, ia =
|
|
22101
|
+
const Ut = ut ? C(Pe[0].params[0]) : pu, Zt = Ze ? C(Pe[1].params[0]) : pu, ti = Pt ? C(Pe[2].params[0]) : pu, vr = U ? C(Pe[3].params[0]) : pu, vs = ke ? C(Pe[4].params[0]) : pu, ia = ze ? C(Pe[5].params[0]) : pu, ra = ut ? C(Pe[0].params[1]) : pu, bs = Ze ? C(Pe[1].params[1]) : pu, oa = Pt ? C(Pe[2].params[1]) : pu, Ro = U ? C(Pe[3].params[1]) : pu, Ol = ke ? C(Pe[4].params[1]) : pu, Rl = ze ? C(Pe[5].params[1]) : pu;
|
|
22102
22102
|
for (let Et = 0; Et < Pe.length; ++Et)
|
|
22103
22103
|
Pe[Et].implementation = j(Pe[Et].params, Pe[Et].fn);
|
|
22104
|
-
const ll = ut ? Pe[0].implementation : I4, Xo = Ze ? Pe[1].implementation : I4, Jo = Pt ? Pe[2].implementation : I4, Ir = U ? Pe[3].implementation : I4, hu = ke ? Pe[4].implementation : I4, at =
|
|
22104
|
+
const ll = ut ? Pe[0].implementation : I4, Xo = Ze ? Pe[1].implementation : I4, Jo = Pt ? Pe[2].implementation : I4, Ir = U ? Pe[3].implementation : I4, hu = ke ? Pe[4].implementation : I4, at = ze ? Pe[5].implementation : I4, It = ut ? Pe[0].params.length : -1, yn = Ze ? Pe[1].params.length : -1, Qt = Pt ? Pe[2].params.length : -1, $t = U ? Pe[3].params.length : -1, $e = ke ? Pe[4].params.length : -1, Ct = ze ? Pe[5].params.length : -1, zt = lt ? 6 : 0, ni = Pe.length, br = Pe.map((Et) => Et.test), Ue = Pe.map((Et) => Et.implementation), Xe = function() {
|
|
22105
22105
|
for (let Et = zt; Et < ni; Et++)
|
|
22106
22106
|
if (br[Et](arguments))
|
|
22107
22107
|
return Ue[Et].apply(this, arguments);
|
|
@@ -22138,10 +22138,10 @@ function Cte() {
|
|
|
22138
22138
|
if (H(z[Q]))
|
|
22139
22139
|
return z[Q];
|
|
22140
22140
|
}
|
|
22141
|
-
function
|
|
22141
|
+
function Be(z, H) {
|
|
22142
22142
|
return Array.prototype.concat.apply([], z.map(H));
|
|
22143
22143
|
}
|
|
22144
|
-
function
|
|
22144
|
+
function Ye() {
|
|
22145
22145
|
const z = ye(arguments).map((Q) => v(y(Q))), H = pe(arguments);
|
|
22146
22146
|
if (typeof H != "function")
|
|
22147
22147
|
throw new TypeError("Callback function expected as last argument");
|
|
@@ -22221,7 +22221,7 @@ function Cte() {
|
|
|
22221
22221
|
H || (X = re(X, nt)), ee(be, Re);
|
|
22222
22222
|
}
|
|
22223
22223
|
return we(X || "", be);
|
|
22224
|
-
}, s.create = Cte, s.createCount = te.createCount, s.onMismatch = le, s.throwMismatchError = le, s.createError = L, s.clear = u, s.clearConversions = c, s.addTypes = l, s._findType = a, s.referTo =
|
|
22224
|
+
}, s.create = Cte, s.createCount = te.createCount, s.onMismatch = le, s.throwMismatchError = le, s.createError = L, s.clear = u, s.clearConversions = c, s.addTypes = l, s._findType = a, s.referTo = Ye, s.referToSelf = q, s.convert = g, s.findSignature = f, s.find = p, s.isTypedFunction = h, s.warnAgainstDeprecatedThis = !0, s.addType = function(z, H) {
|
|
22225
22225
|
let Q = "any";
|
|
22226
22226
|
H !== !1 && i.has("Object") && (Q = "Object"), s.addTypes([z], Q);
|
|
22227
22227
|
};
|
|
@@ -28974,11 +28974,11 @@ var zMe = /* @__PURE__ */ Se(sH, PMe, (n) => {
|
|
|
28974
28974
|
var le = L[we], ye = L[we + 1];
|
|
28975
28975
|
if (ye > le)
|
|
28976
28976
|
for (var pe = 0, Me = 0; Me < O; Me++) {
|
|
28977
|
-
for (var De = Me + 1,
|
|
28978
|
-
var de = N[
|
|
28979
|
-
pe !== De ? (
|
|
28977
|
+
for (var De = Me + 1, Be = void 0, Ye = le; Ye < ye; Ye++) {
|
|
28978
|
+
var de = N[Ye];
|
|
28979
|
+
pe !== De ? (Be = P(x[Me][de], E[Ye]), pe = De) : Be = j(Be, P(x[Me][de], E[Ye]));
|
|
28980
28980
|
}
|
|
28981
|
-
pe === De && !G(
|
|
28981
|
+
pe === De && !G(Be, ue) && (W.push(Me), Z.push(Be));
|
|
28982
28982
|
}
|
|
28983
28983
|
}
|
|
28984
28984
|
return fe[I] = W.length, _e;
|
|
@@ -28999,9 +28999,9 @@ var zMe = /* @__PURE__ */ Se(sH, PMe, (n) => {
|
|
|
28999
28999
|
fe[Me] ? W[Me] = P(W[Me], G(we, x[pe])) : (fe[Me] = !0, I.push(Me), W[Me] = G(we, x[pe]));
|
|
29000
29000
|
}
|
|
29001
29001
|
}
|
|
29002
|
-
for (var De = I.length,
|
|
29003
|
-
var
|
|
29004
|
-
O[
|
|
29002
|
+
for (var De = I.length, Be = 0; Be < De; Be++) {
|
|
29003
|
+
var Ye = I[Be];
|
|
29004
|
+
O[Be] = W[Ye];
|
|
29005
29005
|
}
|
|
29006
29006
|
return k[1] = I.length, w.createSparseMatrix({
|
|
29007
29007
|
values: O,
|
|
@@ -29028,9 +29028,9 @@ var zMe = /* @__PURE__ */ Se(sH, PMe, (n) => {
|
|
|
29028
29028
|
for (var ye = le + 1, pe = 0; pe < F; pe++) {
|
|
29029
29029
|
var Me = N[pe][le];
|
|
29030
29030
|
if (!P(Me, G))
|
|
29031
|
-
for (var De = S[pe],
|
|
29032
|
-
var de = D[
|
|
29033
|
-
we[de] !== ye ? (we[de] = ye, Z.push(de), _e[de] = j(Me, x[
|
|
29031
|
+
for (var De = S[pe], Be = S[pe + 1], Ye = De; Ye < Be; Ye++) {
|
|
29032
|
+
var de = D[Ye];
|
|
29033
|
+
we[de] !== ye ? (we[de] = ye, Z.push(de), _e[de] = j(Me, x[Ye])) : _e[de] = k(_e[de], j(Me, x[Ye]));
|
|
29034
29034
|
}
|
|
29035
29035
|
}
|
|
29036
29036
|
for (var q = W[le], oe = Z.length, ae = q; ae < oe; ae++) {
|
|
@@ -29049,16 +29049,16 @@ var zMe = /* @__PURE__ */ Se(sH, PMe, (n) => {
|
|
|
29049
29049
|
ptr: W,
|
|
29050
29050
|
size: [O, I],
|
|
29051
29051
|
datatype: E === w._datatype && F === C._datatype ? j : void 0
|
|
29052
|
-
}), _e = k ? [] : void 0, we = [], le, ye, pe, Me, De,
|
|
29052
|
+
}), _e = k ? [] : void 0, we = [], le, ye, pe, Me, De, Be, Ye, de, q = 0; q < I; q++) {
|
|
29053
29053
|
W[q] = Z.length;
|
|
29054
29054
|
var oe = q + 1;
|
|
29055
|
-
for (De = R[q],
|
|
29055
|
+
for (De = R[q], Be = R[q + 1], Me = De; Me < Be; Me++)
|
|
29056
29056
|
if (de = L[Me], k)
|
|
29057
29057
|
for (ye = S[de], pe = S[de + 1], le = ye; le < pe; le++)
|
|
29058
|
-
|
|
29058
|
+
Ye = D[le], we[Ye] !== oe ? (we[Ye] = oe, Z.push(Ye), _e[Ye] = G(N[Me], x[le])) : _e[Ye] = P(_e[Ye], G(N[Me], x[le]));
|
|
29059
29059
|
else
|
|
29060
29060
|
for (ye = S[de], pe = S[de + 1], le = ye; le < pe; le++)
|
|
29061
|
-
|
|
29061
|
+
Ye = D[le], we[Ye] !== oe && (we[Ye] = oe, Z.push(Ye));
|
|
29062
29062
|
if (k)
|
|
29063
29063
|
for (var ae = W[q], re = Z.length, ce = ae; ce < re; ce++) {
|
|
29064
29064
|
var ee = Z[ce];
|
|
@@ -31005,20 +31005,20 @@ var ZAe = "solveODE", XAe = ["typed", "add", "subtract", "multiply", "divide", "
|
|
|
31005
31005
|
var G = [F, O, k, P, j].filter((z) => z !== void 0);
|
|
31006
31006
|
if (!(G.every(C) || G.every(_u)))
|
|
31007
31007
|
throw new Error('Inconsistent type of "t" dependant variables');
|
|
31008
|
-
for (var ue = 1, Z = L.tol ? L.tol : 1e-4, W = L.minDelta ? L.minDelta : 0.2, fe = L.maxDelta ? L.maxDelta : 5, _e = L.maxIter ? L.maxIter : 1e4, we = [F, O, ...N, j, P].some(oi), [le, ye, pe, Me] = we ? [p(D.a), p(D.c), p(D.b), p(D.bp)] : [D.a, D.c, D.b, D.bp], De = k ? I ? k : g(k) : o(i(O, F), ue),
|
|
31008
|
+
for (var ue = 1, Z = L.tol ? L.tol : 1e-4, W = L.minDelta ? L.minDelta : 0.2, fe = L.maxDelta ? L.maxDelta : 5, _e = L.maxIter ? L.maxIter : 1e4, we = [F, O, ...N, j, P].some(oi), [le, ye, pe, Me] = we ? [p(D.a), p(D.c), p(D.b), p(D.bp)] : [D.a, D.c, D.b, D.bp], De = k ? I ? k : g(k) : o(i(O, F), ue), Be = [F], Ye = [N], de = i(pe, Me), q = 0, oe = 0, ae = y(I), re = w(I); ae(Be[q], O); ) {
|
|
31009
31009
|
var ce = [];
|
|
31010
|
-
De = re(
|
|
31010
|
+
De = re(Be[q], O, De), ce.push(S(Be[q], Ye[q]));
|
|
31011
31011
|
for (var ee = 1; ee < ye.length; ++ee)
|
|
31012
|
-
ce.push(S(t(
|
|
31012
|
+
ce.push(S(t(Be[q], r(ye[ee], De)), t(Ye[q], r(De, le[ee], ce))));
|
|
31013
31013
|
var te = s(l(a(r(de, ce), (z) => _u(z) ? z.value : z)));
|
|
31014
|
-
te < Z && Z / te > 1 / 4 && (
|
|
31014
|
+
te < Z && Z / te > 1 / 4 && (Be.push(t(Be[q], De)), Ye.push(t(Ye[q], r(De, pe, ce))), q++);
|
|
31015
31015
|
var ie = 0.84 * (Z / te) ** (1 / 5);
|
|
31016
31016
|
if (h(ie, W) ? ie = W : d(ie, fe) && (ie = fe), ie = we ? p(ie) : ie, De = r(De, ie), j && d(l(De), j) ? De = I ? j : g(j) : P && h(l(De), P) && (De = I ? P : g(P)), oe++, oe > _e)
|
|
31017
31017
|
throw new Error("Maximum number of iterations reached, try changing options");
|
|
31018
31018
|
}
|
|
31019
31019
|
return {
|
|
31020
|
-
t:
|
|
31021
|
-
y:
|
|
31020
|
+
t: Be,
|
|
31021
|
+
y: Ye
|
|
31022
31022
|
};
|
|
31023
31023
|
};
|
|
31024
31024
|
}
|
|
@@ -36118,10 +36118,10 @@ var oOe = "Unit", sOe = ["?on", "config", "addScalar", "subtractScalar", "multip
|
|
|
36118
36118
|
}
|
|
36119
36119
|
for (var Me in fe)
|
|
36120
36120
|
if (sn(fe, Me)) {
|
|
36121
|
-
var De = W[fe[Me]],
|
|
36122
|
-
for (var
|
|
36123
|
-
sn(De,
|
|
36124
|
-
|
|
36121
|
+
var De = W[fe[Me]], Be = {};
|
|
36122
|
+
for (var Ye in De)
|
|
36123
|
+
sn(De, Ye) && (Be[Ye] = De[Ye]);
|
|
36124
|
+
Be.name = Me, W[Me] = Be;
|
|
36125
36125
|
}
|
|
36126
36126
|
b.isValidAlpha = function(q) {
|
|
36127
36127
|
return /^[a-zA-Z]$/.test(q);
|
|
@@ -41061,17 +41061,17 @@ var uv = "OperatorNode", wFe = ["Node"], CFe = /* @__PURE__ */ Se(uv, wFe, (n) =
|
|
|
41061
41061
|
return y(U, {});
|
|
41062
41062
|
},
|
|
41063
41063
|
"string, Object": function(U, ke) {
|
|
41064
|
-
var
|
|
41065
|
-
return ue(U,
|
|
41064
|
+
var ze = ke.nodes !== void 0 ? ke.nodes : {};
|
|
41065
|
+
return ue(U, ze);
|
|
41066
41066
|
},
|
|
41067
41067
|
"Array | Matrix, Object": y
|
|
41068
41068
|
});
|
|
41069
41069
|
function y(U) {
|
|
41070
|
-
var ke = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {},
|
|
41070
|
+
var ke = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, ze = ke.nodes !== void 0 ? ke.nodes : {};
|
|
41071
41071
|
return vi(U, function(lt) {
|
|
41072
41072
|
if (typeof lt != "string")
|
|
41073
41073
|
throw new TypeError("String expected");
|
|
41074
|
-
return ue(lt,
|
|
41074
|
+
return ue(lt, ze);
|
|
41075
41075
|
});
|
|
41076
41076
|
}
|
|
41077
41077
|
var w = {
|
|
@@ -41198,13 +41198,13 @@ var uv = "OperatorNode", wFe = ["Node"], CFe = /* @__PURE__ */ Se(uv, wFe, (n) =
|
|
|
41198
41198
|
U.tokenType = w.DELIMITER, U.token = R(U), F(U);
|
|
41199
41199
|
return;
|
|
41200
41200
|
}
|
|
41201
|
-
var ke = R(U),
|
|
41201
|
+
var ke = R(U), ze = L(U, 2), lt = L(U, 3);
|
|
41202
41202
|
if (lt.length === 3 && C[lt]) {
|
|
41203
41203
|
U.tokenType = w.DELIMITER, U.token = lt, F(U), F(U), F(U);
|
|
41204
41204
|
return;
|
|
41205
41205
|
}
|
|
41206
|
-
if (
|
|
41207
|
-
U.tokenType = w.DELIMITER, U.token =
|
|
41206
|
+
if (ze.length === 2 && C[ze]) {
|
|
41207
|
+
U.tokenType = w.DELIMITER, U.token = ze, F(U), F(U);
|
|
41208
41208
|
return;
|
|
41209
41209
|
}
|
|
41210
41210
|
if (C[ke]) {
|
|
@@ -41272,8 +41272,8 @@ var uv = "OperatorNode", wFe = ["Node"], CFe = /* @__PURE__ */ Se(uv, wFe, (n) =
|
|
|
41272
41272
|
function G(U) {
|
|
41273
41273
|
U.nestingLevel--;
|
|
41274
41274
|
}
|
|
41275
|
-
b.isAlpha = function(U, ke,
|
|
41276
|
-
return b.isValidLatinOrGreek(U) || b.isValidMathSymbol(U,
|
|
41275
|
+
b.isAlpha = function(U, ke, ze) {
|
|
41276
|
+
return b.isValidLatinOrGreek(U) || b.isValidMathSymbol(U, ze) || b.isValidMathSymbol(ke, U);
|
|
41277
41277
|
}, b.isValidLatinOrGreek = function(U) {
|
|
41278
41278
|
return /^[a-zA-Z_$\u00C0-\u02AF\u0370-\u03FF\u2100-\u214F]$/.test(U);
|
|
41279
41279
|
}, b.isValidMathSymbol = function(U, ke) {
|
|
@@ -41291,56 +41291,56 @@ var uv = "OperatorNode", wFe = ["Node"], CFe = /* @__PURE__ */ Se(uv, wFe, (n) =
|
|
|
41291
41291
|
return U >= "0" && U <= "9" || U >= "a" && U <= "f" || U >= "A" && U <= "F";
|
|
41292
41292
|
};
|
|
41293
41293
|
function ue(U, ke) {
|
|
41294
|
-
var
|
|
41295
|
-
is(
|
|
41294
|
+
var ze = N();
|
|
41295
|
+
is(ze, {
|
|
41296
41296
|
expression: U,
|
|
41297
41297
|
extraNodes: ke
|
|
41298
|
-
}), k(
|
|
41299
|
-
var lt = Z(
|
|
41300
|
-
if (
|
|
41301
|
-
throw
|
|
41298
|
+
}), k(ze);
|
|
41299
|
+
var lt = Z(ze);
|
|
41300
|
+
if (ze.token !== "")
|
|
41301
|
+
throw ze.tokenType === w.DELIMITER ? Pt(ze, "Unexpected operator " + ze.token) : Ze(ze, 'Unexpected part "' + ze.token + '"');
|
|
41302
41302
|
return lt;
|
|
41303
41303
|
}
|
|
41304
41304
|
function Z(U) {
|
|
41305
|
-
var ke,
|
|
41305
|
+
var ke, ze = [], lt;
|
|
41306
41306
|
for (U.token !== "" && U.token !== `
|
|
41307
41307
|
` && U.token !== ";" && (ke = W(U), U.comment && (ke.comment = U.comment)); U.token === `
|
|
41308
41308
|
` || U.token === ";"; )
|
|
41309
|
-
|
|
41309
|
+
ze.length === 0 && ke && (lt = U.token !== ";", ze.push({
|
|
41310
41310
|
node: ke,
|
|
41311
41311
|
visible: lt
|
|
41312
41312
|
})), k(U), U.token !== `
|
|
41313
|
-
` && U.token !== ";" && U.token !== "" && (ke = W(U), U.comment && (ke.comment = U.comment), lt = U.token !== ";",
|
|
41313
|
+
` && U.token !== ";" && U.token !== "" && (ke = W(U), U.comment && (ke.comment = U.comment), lt = U.token !== ";", ze.push({
|
|
41314
41314
|
node: ke,
|
|
41315
41315
|
visible: lt
|
|
41316
41316
|
}));
|
|
41317
|
-
return
|
|
41317
|
+
return ze.length > 0 ? new a(ze) : (ke || (ke = new u(void 0), U.comment && (ke.comment = U.comment)), ke);
|
|
41318
41318
|
}
|
|
41319
41319
|
function W(U) {
|
|
41320
|
-
var ke,
|
|
41320
|
+
var ke, ze, lt, Ut, Zt = fe(U);
|
|
41321
41321
|
if (U.token === "=") {
|
|
41322
41322
|
if (Ts(Zt))
|
|
41323
41323
|
return ke = Zt.name, j(U), lt = W(U), new s(new _(ke), lt);
|
|
41324
41324
|
if (w3(Zt))
|
|
41325
41325
|
return j(U), lt = W(U), new s(Zt.object, Zt.index, lt);
|
|
41326
|
-
if (p2(Zt) && Ts(Zt.fn) && (Ut = !0,
|
|
41327
|
-
Ts(ti) ?
|
|
41326
|
+
if (p2(Zt) && Ts(Zt.fn) && (Ut = !0, ze = [], ke = Zt.name, Zt.args.forEach(function(ti, vr) {
|
|
41327
|
+
Ts(ti) ? ze[vr] = ti.name : Ut = !1;
|
|
41328
41328
|
}), Ut))
|
|
41329
|
-
return j(U), lt = W(U), new c(ke,
|
|
41329
|
+
return j(U), lt = W(U), new c(ke, ze, lt);
|
|
41330
41330
|
throw Ze(U, "Invalid left hand side of assignment operator =");
|
|
41331
41331
|
}
|
|
41332
41332
|
return Zt;
|
|
41333
41333
|
}
|
|
41334
41334
|
function fe(U) {
|
|
41335
41335
|
for (var ke = _e(U); U.token === "?"; ) {
|
|
41336
|
-
var
|
|
41336
|
+
var ze = U.conditionalLevel;
|
|
41337
41337
|
U.conditionalLevel = U.nestingLevel, j(U);
|
|
41338
41338
|
var lt = ke, Ut = W(U);
|
|
41339
41339
|
if (U.token !== ":")
|
|
41340
41340
|
throw Ze(U, "False part of conditional expression expected");
|
|
41341
41341
|
U.conditionalLevel = null, j(U);
|
|
41342
41342
|
var Zt = W(U);
|
|
41343
|
-
ke = new l(lt, Ut, Zt), U.conditionalLevel =
|
|
41343
|
+
ke = new l(lt, Ut, Zt), U.conditionalLevel = ze;
|
|
41344
41344
|
}
|
|
41345
41345
|
return ke;
|
|
41346
41346
|
}
|
|
@@ -41375,7 +41375,7 @@ var uv = "OperatorNode", wFe = ["Node"], CFe = /* @__PURE__ */ Se(uv, wFe, (n) =
|
|
|
41375
41375
|
return ke;
|
|
41376
41376
|
}
|
|
41377
41377
|
function De(U) {
|
|
41378
|
-
for (var ke = [
|
|
41378
|
+
for (var ke = [Be(U)], ze = [], lt = {
|
|
41379
41379
|
"==": "equal",
|
|
41380
41380
|
"!=": "unequal",
|
|
41381
41381
|
"<": "smaller",
|
|
@@ -41387,83 +41387,83 @@ var uv = "OperatorNode", wFe = ["Node"], CFe = /* @__PURE__ */ Se(uv, wFe, (n) =
|
|
|
41387
41387
|
name: U.token,
|
|
41388
41388
|
fn: lt[U.token]
|
|
41389
41389
|
};
|
|
41390
|
-
|
|
41390
|
+
ze.push(Ut), j(U), ke.push(Be(U));
|
|
41391
41391
|
}
|
|
41392
|
-
return ke.length === 1 ? ke[0] : ke.length === 2 ? new p(
|
|
41392
|
+
return ke.length === 1 ? ke[0] : ke.length === 2 ? new p(ze[0].name, ze[0].fn, ke) : new m(ze.map((Zt) => Zt.fn), ke);
|
|
41393
41393
|
}
|
|
41394
|
-
function
|
|
41395
|
-
var ke,
|
|
41396
|
-
ke =
|
|
41394
|
+
function Be(U) {
|
|
41395
|
+
var ke, ze, lt, Ut;
|
|
41396
|
+
ke = Ye(U);
|
|
41397
41397
|
for (var Zt = {
|
|
41398
41398
|
"<<": "leftShift",
|
|
41399
41399
|
">>": "rightArithShift",
|
|
41400
41400
|
">>>": "rightLogShift"
|
|
41401
41401
|
}; sn(Zt, U.token); )
|
|
41402
|
-
|
|
41402
|
+
ze = U.token, lt = Zt[ze], j(U), Ut = [ke, Ye(U)], ke = new p(ze, lt, Ut);
|
|
41403
41403
|
return ke;
|
|
41404
41404
|
}
|
|
41405
|
-
function
|
|
41406
|
-
var ke,
|
|
41405
|
+
function Ye(U) {
|
|
41406
|
+
var ke, ze, lt, Ut;
|
|
41407
41407
|
ke = de(U);
|
|
41408
41408
|
for (var Zt = {
|
|
41409
41409
|
to: "to",
|
|
41410
41410
|
in: "to"
|
|
41411
41411
|
// alias of 'to'
|
|
41412
41412
|
}; sn(Zt, U.token); )
|
|
41413
|
-
|
|
41413
|
+
ze = U.token, lt = Zt[ze], j(U), ze === "in" && U.token === "" ? ke = new p("*", "multiply", [ke, new _("in")], !0) : (Ut = [ke, de(U)], ke = new p(ze, lt, Ut));
|
|
41414
41414
|
return ke;
|
|
41415
41415
|
}
|
|
41416
41416
|
function de(U) {
|
|
41417
|
-
var ke,
|
|
41417
|
+
var ke, ze = [];
|
|
41418
41418
|
if (U.token === ":" ? ke = new u(1) : ke = q(U), U.token === ":" && U.conditionalLevel !== U.nestingLevel) {
|
|
41419
|
-
for (
|
|
41420
|
-
j(U), U.token === ")" || U.token === "]" || U.token === "," || U.token === "" ?
|
|
41421
|
-
|
|
41419
|
+
for (ze.push(ke); U.token === ":" && ze.length < 3; )
|
|
41420
|
+
j(U), U.token === ")" || U.token === "]" || U.token === "," || U.token === "" ? ze.push(new _("end")) : ze.push(q(U));
|
|
41421
|
+
ze.length === 3 ? ke = new v(ze[0], ze[2], ze[1]) : ke = new v(ze[0], ze[1]);
|
|
41422
41422
|
}
|
|
41423
41423
|
return ke;
|
|
41424
41424
|
}
|
|
41425
41425
|
function q(U) {
|
|
41426
|
-
var ke,
|
|
41426
|
+
var ke, ze, lt, Ut;
|
|
41427
41427
|
ke = oe(U);
|
|
41428
41428
|
for (var Zt = {
|
|
41429
41429
|
"+": "add",
|
|
41430
41430
|
"-": "subtract"
|
|
41431
41431
|
}; sn(Zt, U.token); ) {
|
|
41432
|
-
|
|
41432
|
+
ze = U.token, lt = Zt[ze], j(U);
|
|
41433
41433
|
var ti = oe(U);
|
|
41434
|
-
ti.isPercentage ? Ut = [ke, new p("*", "multiply", [ke, ti])] : Ut = [ke, ti], ke = new p(
|
|
41434
|
+
ti.isPercentage ? Ut = [ke, new p("*", "multiply", [ke, ti])] : Ut = [ke, ti], ke = new p(ze, lt, Ut);
|
|
41435
41435
|
}
|
|
41436
41436
|
return ke;
|
|
41437
41437
|
}
|
|
41438
41438
|
function oe(U) {
|
|
41439
|
-
var ke,
|
|
41440
|
-
ke = ae(U),
|
|
41439
|
+
var ke, ze, lt, Ut;
|
|
41440
|
+
ke = ae(U), ze = ke;
|
|
41441
41441
|
for (var Zt = {
|
|
41442
41442
|
"*": "multiply",
|
|
41443
41443
|
".*": "dotMultiply",
|
|
41444
41444
|
"/": "divide",
|
|
41445
41445
|
"./": "dotDivide"
|
|
41446
41446
|
}; sn(Zt, U.token); )
|
|
41447
|
-
lt = U.token, Ut = Zt[lt], j(U),
|
|
41447
|
+
lt = U.token, Ut = Zt[lt], j(U), ze = ae(U), ke = new p(lt, Ut, [ke, ze]);
|
|
41448
41448
|
return ke;
|
|
41449
41449
|
}
|
|
41450
41450
|
function ae(U) {
|
|
41451
|
-
var ke,
|
|
41452
|
-
for (ke = re(U),
|
|
41453
|
-
|
|
41451
|
+
var ke, ze;
|
|
41452
|
+
for (ke = re(U), ze = ke; U.tokenType === w.SYMBOL || U.token === "in" && Oi(ke) || U.tokenType === w.NUMBER && !Oi(ze) && (!Bo(ze) || ze.op === "!") || U.token === "("; )
|
|
41453
|
+
ze = re(U), ke = new p(
|
|
41454
41454
|
"*",
|
|
41455
41455
|
"multiply",
|
|
41456
|
-
[ke,
|
|
41456
|
+
[ke, ze],
|
|
41457
41457
|
!0
|
|
41458
41458
|
/* implicit */
|
|
41459
41459
|
);
|
|
41460
41460
|
return ke;
|
|
41461
41461
|
}
|
|
41462
41462
|
function re(U) {
|
|
41463
|
-
for (var ke = ce(U),
|
|
41463
|
+
for (var ke = ce(U), ze = ke, lt = []; U.token === "/" && hL(ze); )
|
|
41464
41464
|
if (lt.push(is({}, U)), j(U), U.tokenType === w.NUMBER)
|
|
41465
41465
|
if (lt.push(is({}, U)), j(U), U.tokenType === w.SYMBOL || U.token === "(")
|
|
41466
|
-
is(U, lt.pop()), lt.pop(),
|
|
41466
|
+
is(U, lt.pop()), lt.pop(), ze = ce(U), ke = new p("/", "divide", [ke, ze]);
|
|
41467
41467
|
else {
|
|
41468
41468
|
lt.pop(), is(U, lt.pop());
|
|
41469
41469
|
break;
|
|
@@ -41475,42 +41475,42 @@ var uv = "OperatorNode", wFe = ["Node"], CFe = /* @__PURE__ */ Se(uv, wFe, (n) =
|
|
|
41475
41475
|
return ke;
|
|
41476
41476
|
}
|
|
41477
41477
|
function ce(U) {
|
|
41478
|
-
var ke,
|
|
41478
|
+
var ke, ze, lt, Ut;
|
|
41479
41479
|
ke = ee(U);
|
|
41480
41480
|
for (var Zt = {
|
|
41481
41481
|
"%": "mod",
|
|
41482
41482
|
mod: "mod"
|
|
41483
41483
|
}; sn(Zt, U.token); )
|
|
41484
|
-
|
|
41484
|
+
ze = U.token, lt = Zt[ze], j(U), ze === "%" && U.tokenType === w.DELIMITER && U.token !== "(" ? ke = new p("/", "divide", [ke, new u(100)], !1, !0) : (Ut = [ke, ee(U)], ke = new p(ze, lt, Ut));
|
|
41485
41485
|
return ke;
|
|
41486
41486
|
}
|
|
41487
41487
|
function ee(U) {
|
|
41488
|
-
var ke,
|
|
41488
|
+
var ke, ze, lt, Ut = {
|
|
41489
41489
|
"-": "unaryMinus",
|
|
41490
41490
|
"+": "unaryPlus",
|
|
41491
41491
|
"~": "bitNot",
|
|
41492
41492
|
not: "not"
|
|
41493
41493
|
};
|
|
41494
|
-
return sn(Ut, U.token) ? (lt = Ut[U.token], ke = U.token, j(U),
|
|
41494
|
+
return sn(Ut, U.token) ? (lt = Ut[U.token], ke = U.token, j(U), ze = [ee(U)], new p(ke, lt, ze)) : te(U);
|
|
41495
41495
|
}
|
|
41496
41496
|
function te(U) {
|
|
41497
|
-
var ke,
|
|
41498
|
-
return ke = ie(U), (U.token === "^" || U.token === ".^") && (
|
|
41497
|
+
var ke, ze, lt, Ut;
|
|
41498
|
+
return ke = ie(U), (U.token === "^" || U.token === ".^") && (ze = U.token, lt = ze === "^" ? "pow" : "dotPow", j(U), Ut = [ke, ee(U)], ke = new p(ze, lt, Ut)), ke;
|
|
41499
41499
|
}
|
|
41500
41500
|
function ie(U) {
|
|
41501
|
-
var ke,
|
|
41501
|
+
var ke, ze, lt, Ut;
|
|
41502
41502
|
ke = z(U);
|
|
41503
41503
|
for (var Zt = {
|
|
41504
41504
|
"!": "factorial",
|
|
41505
41505
|
"'": "ctranspose"
|
|
41506
41506
|
}; sn(Zt, U.token); )
|
|
41507
|
-
|
|
41507
|
+
ze = U.token, lt = Zt[ze], k(U), Ut = [ke], ke = new p(ze, lt, Ut), ke = Q(U, ke);
|
|
41508
41508
|
return ke;
|
|
41509
41509
|
}
|
|
41510
41510
|
function z(U) {
|
|
41511
41511
|
var ke = [];
|
|
41512
41512
|
if (U.tokenType === w.SYMBOL && sn(U.extraNodes, U.token)) {
|
|
41513
|
-
var
|
|
41513
|
+
var ze = U.extraNodes[U.token];
|
|
41514
41514
|
if (k(U), U.token === "(") {
|
|
41515
41515
|
if (ke = [], P(U), k(U), U.token !== ")")
|
|
41516
41516
|
for (ke.push(W(U)); U.token === ","; )
|
|
@@ -41519,16 +41519,16 @@ var uv = "OperatorNode", wFe = ["Node"], CFe = /* @__PURE__ */ Se(uv, wFe, (n) =
|
|
|
41519
41519
|
throw Ze(U, "Parenthesis ) expected");
|
|
41520
41520
|
G(U), k(U);
|
|
41521
41521
|
}
|
|
41522
|
-
return new
|
|
41522
|
+
return new ze(ke);
|
|
41523
41523
|
}
|
|
41524
41524
|
return H(U);
|
|
41525
41525
|
}
|
|
41526
41526
|
function H(U) {
|
|
41527
|
-
var ke,
|
|
41528
|
-
return U.tokenType === w.SYMBOL || U.tokenType === w.DELIMITER && U.token in x ? (
|
|
41527
|
+
var ke, ze;
|
|
41528
|
+
return U.tokenType === w.SYMBOL || U.tokenType === w.DELIMITER && U.token in x ? (ze = U.token, k(U), sn(D, ze) ? ke = new u(D[ze]) : S.includes(ze) ? ke = new u(t(ze, "number")) : ke = new _(ze), ke = Q(U, ke), ke) : X(U);
|
|
41529
41529
|
}
|
|
41530
|
-
function Q(U, ke,
|
|
41531
|
-
for (var lt; (U.token === "(" || U.token === "[" || U.token === ".") && !
|
|
41530
|
+
function Q(U, ke, ze) {
|
|
41531
|
+
for (var lt; (U.token === "(" || U.token === "[" || U.token === ".") && !ze; )
|
|
41532
41532
|
if (lt = [], U.token === "(")
|
|
41533
41533
|
if (Ts(ke) || w3(ke)) {
|
|
41534
41534
|
if (P(U), k(U), U.token !== ")")
|
|
@@ -41558,45 +41558,45 @@ var uv = "OperatorNode", wFe = ["Node"], CFe = /* @__PURE__ */ Se(uv, wFe, (n) =
|
|
|
41558
41558
|
return ke;
|
|
41559
41559
|
}
|
|
41560
41560
|
function X(U) {
|
|
41561
|
-
var ke,
|
|
41562
|
-
return U.token === '"' || U.token === "'" ? (
|
|
41561
|
+
var ke, ze;
|
|
41562
|
+
return U.token === '"' || U.token === "'" ? (ze = be(U, U.token), ke = new u(ze), ke = Q(U, ke), ke) : Ee(U);
|
|
41563
41563
|
}
|
|
41564
41564
|
function be(U, ke) {
|
|
41565
|
-
for (var
|
|
41565
|
+
for (var ze = ""; R(U) !== "" && R(U) !== ke; )
|
|
41566
41566
|
if (R(U) === "\\") {
|
|
41567
41567
|
F(U);
|
|
41568
41568
|
var lt = R(U), Ut = E[lt];
|
|
41569
41569
|
if (Ut !== void 0)
|
|
41570
|
-
|
|
41570
|
+
ze += Ut, U.index += 1;
|
|
41571
41571
|
else if (lt === "u") {
|
|
41572
41572
|
var Zt = U.expression.slice(U.index + 1, U.index + 5);
|
|
41573
41573
|
if (/^[0-9A-Fa-f]{4}$/.test(Zt))
|
|
41574
|
-
|
|
41574
|
+
ze += String.fromCharCode(parseInt(Zt, 16)), U.index += 5;
|
|
41575
41575
|
else
|
|
41576
41576
|
throw Ze(U, "Invalid unicode character \\u".concat(Zt));
|
|
41577
41577
|
} else
|
|
41578
41578
|
throw Ze(U, "Bad escape character \\".concat(lt));
|
|
41579
41579
|
} else
|
|
41580
|
-
|
|
41580
|
+
ze += R(U), F(U);
|
|
41581
41581
|
if (k(U), U.token !== ke)
|
|
41582
41582
|
throw Ze(U, "End of string ".concat(ke, " expected"));
|
|
41583
|
-
return k(U),
|
|
41583
|
+
return k(U), ze;
|
|
41584
41584
|
}
|
|
41585
41585
|
function Ee(U) {
|
|
41586
|
-
var ke,
|
|
41586
|
+
var ke, ze, lt, Ut;
|
|
41587
41587
|
if (U.token === "[") {
|
|
41588
41588
|
if (P(U), k(U), U.token !== "]") {
|
|
41589
41589
|
var Zt = Ve(U);
|
|
41590
41590
|
if (U.token === ";") {
|
|
41591
|
-
for (lt = 1,
|
|
41592
|
-
k(U), U.token !== "]" && (
|
|
41591
|
+
for (lt = 1, ze = [Zt]; U.token === ";"; )
|
|
41592
|
+
k(U), U.token !== "]" && (ze[lt] = Ve(U), lt++);
|
|
41593
41593
|
if (U.token !== "]")
|
|
41594
41594
|
throw Ze(U, "End of matrix ] expected");
|
|
41595
|
-
G(U), k(U), Ut =
|
|
41595
|
+
G(U), k(U), Ut = ze[0].items.length;
|
|
41596
41596
|
for (var ti = 1; ti < lt; ti++)
|
|
41597
|
-
if (
|
|
41598
|
-
throw Pt(U, "Column dimensions mismatch (" +
|
|
41599
|
-
ke = new o(
|
|
41597
|
+
if (ze[ti].items.length !== Ut)
|
|
41598
|
+
throw Pt(U, "Column dimensions mismatch (" + ze[ti].items.length + " !== " + Ut + ")");
|
|
41599
|
+
ke = new o(ze);
|
|
41600
41600
|
} else {
|
|
41601
41601
|
if (U.token !== "]")
|
|
41602
41602
|
throw Ze(U, "End of matrix ] expected");
|
|
@@ -41609,14 +41609,14 @@ var uv = "OperatorNode", wFe = ["Node"], CFe = /* @__PURE__ */ Se(uv, wFe, (n) =
|
|
|
41609
41609
|
return Re(U);
|
|
41610
41610
|
}
|
|
41611
41611
|
function Ve(U) {
|
|
41612
|
-
for (var ke = [W(U)],
|
|
41613
|
-
k(U), U.token !== "]" && U.token !== ";" && (ke[
|
|
41612
|
+
for (var ke = [W(U)], ze = 1; U.token === ","; )
|
|
41613
|
+
k(U), U.token !== "]" && U.token !== ";" && (ke[ze] = W(U), ze++);
|
|
41614
41614
|
return new o(ke);
|
|
41615
41615
|
}
|
|
41616
41616
|
function Re(U) {
|
|
41617
41617
|
if (U.token === "{") {
|
|
41618
41618
|
P(U);
|
|
41619
|
-
var ke,
|
|
41619
|
+
var ke, ze = {};
|
|
41620
41620
|
do
|
|
41621
41621
|
if (k(U), U.token !== "}") {
|
|
41622
41622
|
if (U.token === '"' || U.token === "'")
|
|
@@ -41627,13 +41627,13 @@ var uv = "OperatorNode", wFe = ["Node"], CFe = /* @__PURE__ */ Se(uv, wFe, (n) =
|
|
|
41627
41627
|
throw Ze(U, "Symbol or string expected as object key");
|
|
41628
41628
|
if (U.token !== ":")
|
|
41629
41629
|
throw Ze(U, "Colon : expected after object key");
|
|
41630
|
-
k(U),
|
|
41630
|
+
k(U), ze[ke] = W(U);
|
|
41631
41631
|
}
|
|
41632
41632
|
while (U.token === ",");
|
|
41633
41633
|
if (U.token !== "}")
|
|
41634
41634
|
throw Ze(U, "Comma , or bracket } expected after object value");
|
|
41635
41635
|
G(U), k(U);
|
|
41636
|
-
var lt = new f(
|
|
41636
|
+
var lt = new f(ze);
|
|
41637
41637
|
return lt = Q(U, lt), lt;
|
|
41638
41638
|
}
|
|
41639
41639
|
return nt(U);
|
|
@@ -41658,12 +41658,12 @@ var uv = "OperatorNode", wFe = ["Node"], CFe = /* @__PURE__ */ Se(uv, wFe, (n) =
|
|
|
41658
41658
|
return U.index - U.token.length + 1;
|
|
41659
41659
|
}
|
|
41660
41660
|
function Ze(U, ke) {
|
|
41661
|
-
var
|
|
41662
|
-
return lt.char =
|
|
41661
|
+
var ze = ut(U), lt = new SyntaxError(ke + " (char " + ze + ")");
|
|
41662
|
+
return lt.char = ze, lt;
|
|
41663
41663
|
}
|
|
41664
41664
|
function Pt(U, ke) {
|
|
41665
|
-
var
|
|
41666
|
-
return lt.char =
|
|
41665
|
+
var ze = ut(U), lt = new SyntaxError(ke + " (char " + ze + ")");
|
|
41666
|
+
return lt.char = ze, lt;
|
|
41667
41667
|
}
|
|
41668
41668
|
return e.addConversion({
|
|
41669
41669
|
from: "string",
|
|
@@ -42046,7 +42046,7 @@ var JFe = "csAmd", ePe = ["add", "multiply", "transpose"], tPe = /* @__PURE__ */
|
|
|
42046
42046
|
g = Math.min(f - 2, g);
|
|
42047
42047
|
var v = r(u, c, h, f, g);
|
|
42048
42048
|
XFe(v, l, null);
|
|
42049
|
-
for (var m = v._index, _ = v._ptr, b = _[f], y = [], w = [], C = 0, x = f + 1, D = 2 * (f + 1), S = 3 * (f + 1), E = 4 * (f + 1), N = 5 * (f + 1), L = 6 * (f + 1), R = 7 * (f + 1), F = y, O = o(f, _, w, C, S, F, D, R, x, L, E, N), I = s(f, _, w, N, E, L, g, x, S, F, D), k = 0, j, P, G, ue, Z, W, fe, _e, we, le, ye, pe, Me, De,
|
|
42049
|
+
for (var m = v._index, _ = v._ptr, b = _[f], y = [], w = [], C = 0, x = f + 1, D = 2 * (f + 1), S = 3 * (f + 1), E = 4 * (f + 1), N = 5 * (f + 1), L = 6 * (f + 1), R = 7 * (f + 1), F = y, O = o(f, _, w, C, S, F, D, R, x, L, E, N), I = s(f, _, w, N, E, L, g, x, S, F, D), k = 0, j, P, G, ue, Z, W, fe, _e, we, le, ye, pe, Me, De, Be, Ye; I < f; ) {
|
|
42050
42050
|
for (G = -1; k < f && (G = w[S + k]) === -1; k++)
|
|
42051
42051
|
;
|
|
42052
42052
|
w[D + G] !== -1 && (F[w[D + G]] = -1), w[S + k] = w[D + G];
|
|
@@ -42068,23 +42068,23 @@ var JFe = "csAmd", ePe = ["add", "multiply", "transpose"], tPe = /* @__PURE__ */
|
|
|
42068
42068
|
W = m[ae], w[L + W] >= O ? w[L + W] -= we : w[L + W] !== 0 && (w[L + W] = w[N + W] + ee);
|
|
42069
42069
|
}
|
|
42070
42070
|
for (le = re; le < ce; le++) {
|
|
42071
|
-
for (j = m[le], pe = _[j], Me = pe + w[E + j] - 1, De = pe,
|
|
42071
|
+
for (j = m[le], pe = _[j], Me = pe + w[E + j] - 1, De = pe, Be = 0, Ye = 0, ae = pe; ae <= Me; ae++)
|
|
42072
42072
|
if (W = m[ae], w[L + W] !== 0) {
|
|
42073
42073
|
var te = w[L + W] - O;
|
|
42074
|
-
te > 0 ? (
|
|
42074
|
+
te > 0 ? (Ye += te, m[De++] = W, Be += W) : (_[W] = ph(G), w[L + W] = 0);
|
|
42075
42075
|
}
|
|
42076
42076
|
w[E + j] = De - pe + 1;
|
|
42077
42077
|
var ie = De, z = pe + w[C + j];
|
|
42078
42078
|
for (ae = Me + 1; ae < z; ae++) {
|
|
42079
42079
|
P = m[ae];
|
|
42080
42080
|
var H = w[x + P];
|
|
42081
|
-
H <= 0 || (
|
|
42081
|
+
H <= 0 || (Ye += H, m[De++] = P, Be += P);
|
|
42082
42082
|
}
|
|
42083
|
-
|
|
42083
|
+
Ye === 0 ? (_[j] = ph(G), we = -w[x + j], oe -= we, q += we, I += we, w[x + j] = 0, w[E + j] = -1) : (w[N + j] = Math.min(w[N + j], Ye), m[De] = m[ie], m[ie] = m[pe], m[pe] = G, w[C + j] = De - pe + 1, Be = (Be < 0 ? -Be : Be) % f, w[D + j] = w[R + Be], w[R + Be] = j, F[j] = Be);
|
|
42084
42084
|
}
|
|
42085
42085
|
for (w[N + G] = oe, p = Math.max(p, oe), O = a(O + p, p, w, L, f), le = re; le < ce; le++)
|
|
42086
42086
|
if (j = m[le], !(w[x + j] >= 0))
|
|
42087
|
-
for (
|
|
42087
|
+
for (Be = F[j], j = w[R + Be], w[R + Be] = -1; j !== -1 && w[D + j] !== -1; j = w[D + j], O++) {
|
|
42088
42088
|
for (_e = w[C + j], ye = w[E + j], ae = _[j] + 1; ae <= _[j] + _e - 1; ae++)
|
|
42089
42089
|
w[L + m[ae]] = O;
|
|
42090
42090
|
var Q = j;
|
|
@@ -42096,7 +42096,7 @@ var JFe = "csAmd", ePe = ["add", "multiply", "transpose"], tPe = /* @__PURE__ */
|
|
|
42096
42096
|
}
|
|
42097
42097
|
}
|
|
42098
42098
|
for (ae = re, le = re; le < ce; le++)
|
|
42099
|
-
j = m[le], !((we = -w[x + j]) <= 0) && (w[x + j] = we,
|
|
42099
|
+
j = m[le], !((we = -w[x + j]) <= 0) && (w[x + j] = we, Ye = w[N + j] + oe - we, Ye = Math.min(Ye, f - I - we), w[S + Ye] !== -1 && (F[w[S + Ye]] = j), w[D + j] = w[S + Ye], F[j] = -1, w[S + Ye] = j, k = Math.min(k, Ye), w[N + j] = Ye, m[ae++] = j);
|
|
42100
42100
|
w[x + G] = q, (w[C + G] = ae - re) === 0 && (_[G] = -1, w[L + G] = 0), de !== 0 && (b = ae);
|
|
42101
42101
|
}
|
|
42102
42102
|
for (j = 0; j < f; j++)
|
|
@@ -45163,7 +45163,7 @@ function dje(n) {
|
|
|
45163
45163
|
};
|
|
45164
45164
|
}
|
|
45165
45165
|
function D(Z, W, fe, _e, we) {
|
|
45166
|
-
var le = _e === "BigNumber", ye = _e === "Complex", pe = le ? u(0) : 0, Me = le ? u(1) : ye ? _(1) : 1, De = le ? u(1) : 1,
|
|
45166
|
+
var le = _e === "BigNumber", ye = _e === "Complex", pe = le ? u(0) : 0, Me = le ? u(1) : ye ? _(1) : 1, De = le ? u(1) : 1, Be = le ? u(10) : 2, Ye = o(Be, Be), de;
|
|
45167
45167
|
we && (de = Array(W).fill(Me));
|
|
45168
45168
|
for (var q = !1; !q; ) {
|
|
45169
45169
|
q = !0;
|
|
@@ -45171,10 +45171,10 @@ function dje(n) {
|
|
|
45171
45171
|
for (var ae = pe, re = pe, ce = 0; ce < W; ce++)
|
|
45172
45172
|
oe !== ce && (ae = e(ae, l(Z[ce][oe])), re = e(re, l(Z[oe][ce])));
|
|
45173
45173
|
if (!m(ae, 0) && !m(re, 0)) {
|
|
45174
|
-
for (var ee = De, te = ae, ie = s(re,
|
|
45175
|
-
te = o(te,
|
|
45174
|
+
for (var ee = De, te = ae, ie = s(re, Be), z = o(re, Be); y(te, ie); )
|
|
45175
|
+
te = o(te, Ye), ee = o(ee, Be);
|
|
45176
45176
|
for (; b(te, z); )
|
|
45177
|
-
te = s(te,
|
|
45177
|
+
te = s(te, Ye), ee = s(ee, Be);
|
|
45178
45178
|
var H = y(s(e(te, re), ee), o(e(ae, re), 0.95));
|
|
45179
45179
|
if (H) {
|
|
45180
45180
|
q = !1;
|
|
@@ -45191,25 +45191,25 @@ function dje(n) {
|
|
|
45191
45191
|
var ye = _e === "BigNumber", pe = _e === "Complex", Me = ye ? u(0) : pe ? _(0) : 0;
|
|
45192
45192
|
ye && (fe = u(fe));
|
|
45193
45193
|
for (var De = 0; De < W - 2; De++) {
|
|
45194
|
-
for (var
|
|
45194
|
+
for (var Be = 0, Ye = Me, de = De + 1; de < W; de++) {
|
|
45195
45195
|
var q = Z[de][De];
|
|
45196
|
-
y(l(
|
|
45196
|
+
y(l(Ye), l(q)) && (Ye = q, Be = de);
|
|
45197
45197
|
}
|
|
45198
|
-
if (!y(l(
|
|
45199
|
-
if (
|
|
45200
|
-
var oe = Z[
|
|
45201
|
-
Z[
|
|
45198
|
+
if (!y(l(Ye), fe)) {
|
|
45199
|
+
if (Be !== De + 1) {
|
|
45200
|
+
var oe = Z[Be];
|
|
45201
|
+
Z[Be] = Z[De + 1], Z[De + 1] = oe;
|
|
45202
45202
|
for (var ae = 0; ae < W; ae++) {
|
|
45203
|
-
var re = Z[ae][
|
|
45204
|
-
Z[ae][
|
|
45203
|
+
var re = Z[ae][Be];
|
|
45204
|
+
Z[ae][Be] = Z[ae][De + 1], Z[ae][De + 1] = re;
|
|
45205
45205
|
}
|
|
45206
45206
|
if (we) {
|
|
45207
|
-
var ce = le[
|
|
45208
|
-
le[
|
|
45207
|
+
var ce = le[Be];
|
|
45208
|
+
le[Be] = le[De + 1], le[De + 1] = ce;
|
|
45209
45209
|
}
|
|
45210
45210
|
}
|
|
45211
45211
|
for (var ee = De + 2; ee < W; ee++) {
|
|
45212
|
-
var te = s(Z[ee][De],
|
|
45212
|
+
var te = s(Z[ee][De], Ye);
|
|
45213
45213
|
if (te !== 0) {
|
|
45214
45214
|
for (var ie = 0; ie < W; ie++)
|
|
45215
45215
|
Z[ee][ie] = t(Z[ee][ie], o(te, Z[De + 1][ie]));
|
|
@@ -45227,48 +45227,48 @@ function dje(n) {
|
|
|
45227
45227
|
function E(Z, W, fe, _e, we) {
|
|
45228
45228
|
var le = _e === "BigNumber", ye = _e === "Complex", pe = le ? u(1) : ye ? _(1) : 1;
|
|
45229
45229
|
le && (fe = u(fe));
|
|
45230
|
-
for (var Me = jn(Z), De = [],
|
|
45230
|
+
for (var Me = jn(Z), De = [], Be = W, Ye = [], de = we ? c(Array(W).fill(pe)) : void 0, q = we ? c(Array(Be).fill(pe)) : void 0, oe = 0; oe <= 100; ) {
|
|
45231
45231
|
oe += 1;
|
|
45232
|
-
for (var ae = Me[
|
|
45232
|
+
for (var ae = Me[Be - 1][Be - 1], re = 0; re < Be; re++)
|
|
45233
45233
|
Me[re][re] = t(Me[re][re], ae);
|
|
45234
45234
|
var {
|
|
45235
45235
|
Q: ce,
|
|
45236
45236
|
R: ee
|
|
45237
45237
|
} = p(Me);
|
|
45238
45238
|
Me = r(ee, ce);
|
|
45239
|
-
for (var te = 0; te <
|
|
45239
|
+
for (var te = 0; te < Be; te++)
|
|
45240
45240
|
Me[te][te] = e(Me[te][te], ae);
|
|
45241
|
-
if (we && (q = r(q, ce)),
|
|
45242
|
-
oe = 0, De.push(Me[
|
|
45243
|
-
for (var ie = 0; ie <
|
|
45241
|
+
if (we && (q = r(q, ce)), Be === 1 || y(l(Me[Be - 1][Be - 2]), fe)) {
|
|
45242
|
+
oe = 0, De.push(Me[Be - 1][Be - 1]), we && (Ye.unshift([[1]]), F(q, W), de = r(de, q), Be > 1 && (q = c(Array(Be - 1).fill(pe)))), Be -= 1, Me.pop();
|
|
45243
|
+
for (var ie = 0; ie < Be; ie++)
|
|
45244
45244
|
Me[ie].pop();
|
|
45245
|
-
} else if (
|
|
45245
|
+
} else if (Be === 2 || y(l(Me[Be - 2][Be - 3]), fe)) {
|
|
45246
45246
|
oe = 0;
|
|
45247
|
-
var z = L(Me[
|
|
45248
|
-
De.push(...z), we && (
|
|
45249
|
-
for (var H = 0; H <
|
|
45247
|
+
var z = L(Me[Be - 2][Be - 2], Me[Be - 2][Be - 1], Me[Be - 1][Be - 2], Me[Be - 1][Be - 1]);
|
|
45248
|
+
De.push(...z), we && (Ye.unshift(R(Me[Be - 2][Be - 2], Me[Be - 2][Be - 1], Me[Be - 1][Be - 2], Me[Be - 1][Be - 1], z[0], z[1], fe, _e)), F(q, W), de = r(de, q), Be > 2 && (q = c(Array(Be - 2).fill(pe)))), Be -= 2, Me.pop(), Me.pop();
|
|
45249
|
+
for (var H = 0; H < Be; H++)
|
|
45250
45250
|
Me[H].pop(), Me[H].pop();
|
|
45251
45251
|
}
|
|
45252
|
-
if (
|
|
45252
|
+
if (Be === 0)
|
|
45253
45253
|
break;
|
|
45254
45254
|
}
|
|
45255
45255
|
if (De.sort((be, Ee) => +t(l(be), l(Ee))), oe > 100) {
|
|
45256
45256
|
var Q = Error("The eigenvalues failed to converge. Only found these eigenvalues: " + De.join(", "));
|
|
45257
45257
|
throw Q.values = De, Q.vectors = [], Q;
|
|
45258
45258
|
}
|
|
45259
|
-
var X = we ? r(de, O(
|
|
45259
|
+
var X = we ? r(de, O(Ye, W)) : void 0;
|
|
45260
45260
|
return {
|
|
45261
45261
|
values: De,
|
|
45262
45262
|
C: X
|
|
45263
45263
|
};
|
|
45264
45264
|
}
|
|
45265
45265
|
function N(Z, W, fe, _e, we, le, ye) {
|
|
45266
|
-
var pe = f(fe), Me = r(pe, Z, fe), De = ye === "BigNumber",
|
|
45266
|
+
var pe = f(fe), Me = r(pe, Z, fe), De = ye === "BigNumber", Be = ye === "Complex", Ye = De ? u(0) : Be ? _(0) : 0, de = De ? u(1) : Be ? _(1) : 1, q = [], oe = [];
|
|
45267
45267
|
for (var ae of we) {
|
|
45268
45268
|
var re = I(q, ae, m);
|
|
45269
45269
|
re === -1 ? (q.push(ae), oe.push(1)) : oe[re] += 1;
|
|
45270
45270
|
}
|
|
45271
|
-
for (var ce = [], ee = q.length, te = Array(W).fill(
|
|
45271
|
+
for (var ce = [], ee = q.length, te = Array(W).fill(Ye), ie = c(Array(W).fill(de)), z = function() {
|
|
45272
45272
|
var Q = q[H], X = t(Me, r(Q, ie)), be = v(X, te);
|
|
45273
45273
|
for (be.shift(); be.length < oe[H]; ) {
|
|
45274
45274
|
var Ee = k(X, W, be, le, ye);
|
|
@@ -45290,13 +45290,13 @@ function dje(n) {
|
|
|
45290
45290
|
return [e(ye, pe), t(ye, pe)];
|
|
45291
45291
|
}
|
|
45292
45292
|
function R(Z, W, fe, _e, we, le, ye, pe) {
|
|
45293
|
-
var Me = pe === "BigNumber", De = pe === "Complex",
|
|
45293
|
+
var Me = pe === "BigNumber", De = pe === "Complex", Be = Me ? u(0) : De ? _(0) : 0, Ye = Me ? u(1) : De ? _(1) : 1;
|
|
45294
45294
|
if (y(l(fe), ye))
|
|
45295
|
-
return [[
|
|
45295
|
+
return [[Ye, Be], [Be, Ye]];
|
|
45296
45296
|
if (b(l(t(we, le)), ye))
|
|
45297
45297
|
return [[t(we, _e), t(le, _e)], [fe, fe]];
|
|
45298
45298
|
var de = t(Z, we), q = t(_e, we);
|
|
45299
|
-
return y(l(W), ye) && y(l(q), ye) ? [[de,
|
|
45299
|
+
return y(l(W), ye) && y(l(q), ye) ? [[de, Ye], [fe, Be]] : [[W, Be], [q, Ye]];
|
|
45300
45300
|
}
|
|
45301
45301
|
function F(Z, W) {
|
|
45302
45302
|
for (var fe = 0; fe < Z.length; fe++)
|
|
@@ -45612,13 +45612,13 @@ var fje = "eigs", pje = ["config", "typed", "matrix", "addScalar", "equal", "sub
|
|
|
45612
45612
|
});
|
|
45613
45613
|
function G(we) {
|
|
45614
45614
|
var le, ye = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, pe = "eigenvectors" in ye ? ye.eigenvectors : !0, Me = (le = ye.precision) !== null && le !== void 0 ? le : e.epsilon, De = ue(we, Me, pe);
|
|
45615
|
-
return ye.matricize && (De.values = i(De.values), pe && (De.eigenvectors = De.eigenvectors.map((
|
|
45615
|
+
return ye.matricize && (De.values = i(De.values), pe && (De.eigenvectors = De.eigenvectors.map((Be) => {
|
|
45616
45616
|
var {
|
|
45617
|
-
value:
|
|
45617
|
+
value: Ye,
|
|
45618
45618
|
vector: de
|
|
45619
|
-
} =
|
|
45619
|
+
} = Be;
|
|
45620
45620
|
return {
|
|
45621
|
-
value:
|
|
45621
|
+
value: Ye,
|
|
45622
45622
|
vector: i(de)
|
|
45623
45623
|
};
|
|
45624
45624
|
}))), pe && Object.defineProperty(De, "vectors", {
|
|
@@ -45636,11 +45636,11 @@ var fje = "eigs", pje = ["config", "typed", "matrix", "addScalar", "equal", "sub
|
|
|
45636
45636
|
throw new RangeError("Matrix must be square (size: ".concat(hi(Me), ")"));
|
|
45637
45637
|
var De = Me[0];
|
|
45638
45638
|
if (W(pe, De, le) && (fe(pe, De), Z(pe, De, le))) {
|
|
45639
|
-
var
|
|
45640
|
-
return j(pe, De, le,
|
|
45639
|
+
var Be = _e(we, pe, De);
|
|
45640
|
+
return j(pe, De, le, Be, ye);
|
|
45641
45641
|
}
|
|
45642
|
-
var
|
|
45643
|
-
return P(pe, De, le,
|
|
45642
|
+
var Ye = _e(we, pe, De);
|
|
45643
|
+
return P(pe, De, le, Ye, ye);
|
|
45644
45644
|
}
|
|
45645
45645
|
function Z(we, le, ye) {
|
|
45646
45646
|
for (var pe = 0; pe < le; pe++)
|
|
@@ -45665,19 +45665,19 @@ var fje = "eigs", pje = ["config", "typed", "matrix", "addScalar", "equal", "sub
|
|
|
45665
45665
|
var pe = we.datatype();
|
|
45666
45666
|
if (pe === "number" || pe === "BigNumber" || pe === "Complex")
|
|
45667
45667
|
return pe;
|
|
45668
|
-
for (var Me = !1, De = !1,
|
|
45668
|
+
for (var Me = !1, De = !1, Be = !1, Ye = 0; Ye < ye; Ye++)
|
|
45669
45669
|
for (var de = 0; de < ye; de++) {
|
|
45670
|
-
var q = le[
|
|
45670
|
+
var q = le[Ye][de];
|
|
45671
45671
|
if (ii(q) || T6(q))
|
|
45672
45672
|
Me = !0;
|
|
45673
45673
|
else if (oi(q))
|
|
45674
45674
|
De = !0;
|
|
45675
45675
|
else if (l0(q))
|
|
45676
|
-
|
|
45676
|
+
Be = !0;
|
|
45677
45677
|
else
|
|
45678
45678
|
throw TypeError("Unsupported type in Matrix: " + Dr(q));
|
|
45679
45679
|
}
|
|
45680
|
-
if (De &&
|
|
45680
|
+
if (De && Be && console.warn("Complex BigNumbers not supported, this operation will lose precission."), Be) {
|
|
45681
45681
|
for (var oe = 0; oe < ye; oe++)
|
|
45682
45682
|
for (var ae = 0; ae < ye; ae++)
|
|
45683
45683
|
le[oe][ae] = w(le[oe][ae]);
|
|
@@ -45831,7 +45831,7 @@ var fje = "eigs", pje = ["config", "typed", "matrix", "addScalar", "equal", "sub
|
|
|
45831
45831
|
}
|
|
45832
45832
|
});
|
|
45833
45833
|
function v(m, _, b) {
|
|
45834
|
-
for (var y = _.size()[0], w = m.size()[0], C = t(m), x = C.T, D = C.U, S = t(o(-1, _)), E = S.T, N = S.U, L = o(o(l(D), b), N), R = s(0, w), F = [], O = (
|
|
45834
|
+
for (var y = _.size()[0], w = m.size()[0], C = t(m), x = C.T, D = C.U, S = t(o(-1, _)), E = S.T, N = S.U, L = o(o(l(D), b), N), R = s(0, w), F = [], O = (Be, Ye) => a(Be, Ye, 1), I = (Be, Ye) => a(Be, Ye, 0), k = 0; k < y; k++)
|
|
45835
45835
|
if (k < y - 1 && g(c(E, u(k + 1, k))) > 1e-5) {
|
|
45836
45836
|
for (var j = I(c(L, u(R, k)), c(L, u(R, k + 1))), P = 0; P < k; P++)
|
|
45837
45837
|
j = d(j, I(o(F[P], c(E, u(P, k))), o(F[P], c(E, u(P, k + 1)))));
|
|
@@ -46186,8 +46186,8 @@ var fje = "eigs", pje = ["config", "typed", "matrix", "addScalar", "equal", "sub
|
|
|
46186
46186
|
var Z = x(E, I, P, I, N, k, G, k, L, j, ue, j), W = x(P, I, R, E, G, k, F, N, ue, j, O, L), fe = x(E, I, R, E, N, k, F, N, L, j, O, L), _e = x(P, I, P, I, G, k, G, k, ue, j, ue, j), we = x(R, E, R, E, F, N, F, N, O, L, O, L), le = c(l(Z, W), l(fe, _e)), ye = c(l(we, _e), l(W, W));
|
|
46187
46187
|
if (p(ye))
|
|
46188
46188
|
return null;
|
|
46189
|
-
var pe = u(le, ye), Me = u(o(Z, l(pe, W)), _e), De = o(E, l(pe, c(R, E))),
|
|
46190
|
-
return h(De, de) && h(
|
|
46189
|
+
var pe = u(le, ye), Me = u(o(Z, l(pe, W)), _e), De = o(E, l(pe, c(R, E))), Be = o(N, l(pe, c(F, N))), Ye = o(L, l(pe, c(O, L))), de = o(I, l(Me, c(P, I))), q = o(k, l(Me, c(G, k))), oe = o(j, l(Me, c(ue, j)));
|
|
46190
|
+
return h(De, de) && h(Be, q) && h(Ye, oe) ? [De, Be, Ye] : null;
|
|
46191
46191
|
}
|
|
46192
46192
|
function S(E, N, L, R, F, O, I, k, j, P) {
|
|
46193
46193
|
var G = l(E, I), ue = l(R, I), Z = l(N, k), W = l(F, k), fe = l(L, j), _e = l(O, j), we = c(c(c(P, G), Z), fe), le = c(c(c(o(o(ue, W), _e), G), Z), fe), ye = u(we, le), pe = o(E, l(ye, c(R, E))), Me = o(N, l(ye, c(F, N))), De = o(L, l(ye, c(O, L)));
|
|
@@ -48301,7 +48301,7 @@ var jWe = "simplifyUtil", WWe = ["FunctionNode", "OperatorNode", "SymbolNode"],
|
|
|
48301
48301
|
}
|
|
48302
48302
|
return ce.repeat && H !== re && (H = De(H, ce, ee)), H;
|
|
48303
48303
|
}
|
|
48304
|
-
function
|
|
48304
|
+
function Be(re, ce) {
|
|
48305
48305
|
var ee = [], te, ie, z = j(re);
|
|
48306
48306
|
if (L(re, ce))
|
|
48307
48307
|
for (var H = 0; H < re.args.length; H++)
|
|
@@ -48313,7 +48313,7 @@ var jWe = "simplifyUtil", WWe = ["FunctionNode", "OperatorNode", "SymbolNode"],
|
|
|
48313
48313
|
}
|
|
48314
48314
|
return ee;
|
|
48315
48315
|
}
|
|
48316
|
-
function
|
|
48316
|
+
function Ye(re, ce) {
|
|
48317
48317
|
var ee = {
|
|
48318
48318
|
placeholders: {}
|
|
48319
48319
|
};
|
|
@@ -48337,7 +48337,7 @@ var jWe = "simplifyUtil", WWe = ["FunctionNode", "OperatorNode", "SymbolNode"],
|
|
|
48337
48337
|
return ee;
|
|
48338
48338
|
for (var te, ie = 0; ie < re.length; ie++)
|
|
48339
48339
|
for (var z = 0; z < ce.length; z++)
|
|
48340
|
-
te =
|
|
48340
|
+
te = Ye(re[ie], ce[z]), te && ee.push(te);
|
|
48341
48341
|
return ee;
|
|
48342
48342
|
}
|
|
48343
48343
|
function q(re) {
|
|
@@ -48382,7 +48382,7 @@ var jWe = "simplifyUtil", WWe = ["FunctionNode", "OperatorNode", "SymbolNode"],
|
|
|
48382
48382
|
}
|
|
48383
48383
|
ie = q(z);
|
|
48384
48384
|
} else if (ce.args.length >= 2 && re.args.length === 2) {
|
|
48385
|
-
for (var Ee =
|
|
48385
|
+
for (var Ee = Be(ce, ee), Ve = [], Re = 0; Re < Ee.length; Re++) {
|
|
48386
48386
|
var nt = oe(re, Ee[Re], ee, !0);
|
|
48387
48387
|
Ve = Ve.concat(nt);
|
|
48388
48388
|
}
|
|
@@ -49615,10 +49615,10 @@ var jWe = "simplifyUtil", WWe = ["FunctionNode", "OperatorNode", "SymbolNode"],
|
|
|
49615
49615
|
return new y(0);
|
|
49616
49616
|
return Z;
|
|
49617
49617
|
function ye(pe, Me, De) {
|
|
49618
|
-
var
|
|
49619
|
-
if (
|
|
49618
|
+
var Be = pe.type;
|
|
49619
|
+
if (Be === "FunctionNode")
|
|
49620
49620
|
throw new Error("There is an unsolved function call");
|
|
49621
|
-
if (
|
|
49621
|
+
if (Be === "OperatorNode") {
|
|
49622
49622
|
if (!"+-*^".includes(pe.op))
|
|
49623
49623
|
throw new Error("Operator " + pe.op + " invalid");
|
|
49624
49624
|
if (Me !== null) {
|
|
@@ -49630,9 +49630,9 @@ var jWe = "simplifyUtil", WWe = ["FunctionNode", "OperatorNode", "SymbolNode"],
|
|
|
49630
49630
|
throw new Error("Invalid " + pe.op + " placing");
|
|
49631
49631
|
}
|
|
49632
49632
|
(pe.op === "^" || pe.op === "*") && (De.fire = pe.op);
|
|
49633
|
-
for (var
|
|
49634
|
-
pe.fn === "unaryMinus" && (De.oper = "-"), (pe.op === "+" || pe.fn === "subtract") && (De.fire = "", De.cte = 1, De.oper =
|
|
49635
|
-
} else if (
|
|
49633
|
+
for (var Ye = 0; Ye < pe.args.length; Ye++)
|
|
49634
|
+
pe.fn === "unaryMinus" && (De.oper = "-"), (pe.op === "+" || pe.fn === "subtract") && (De.fire = "", De.cte = 1, De.oper = Ye === 0 ? "+" : pe.op), De.noFil = Ye, ye(pe.args[Ye], pe, De);
|
|
49635
|
+
} else if (Be === "SymbolNode") {
|
|
49636
49636
|
if (pe.name !== G && G !== "")
|
|
49637
49637
|
throw new Error("There is more than one variable");
|
|
49638
49638
|
if (G = pe.name, Me === null) {
|
|
@@ -49644,7 +49644,7 @@ var jWe = "simplifyUtil", WWe = ["FunctionNode", "OperatorNode", "SymbolNode"],
|
|
|
49644
49644
|
if (Me.op === "*" && De.noFil !== 1)
|
|
49645
49645
|
throw new Error("In multiply the variable should be the second parameter");
|
|
49646
49646
|
(De.fire === "" || De.fire === "*") && (P < 1 && (k[1] = 0), k[1] += De.cte * (De.oper === "+" ? 1 : -1), P = Math.max(1, P));
|
|
49647
|
-
} else if (
|
|
49647
|
+
} else if (Be === "ConstantNode") {
|
|
49648
49648
|
var de = parseFloat(pe.value);
|
|
49649
49649
|
if (Me === null) {
|
|
49650
49650
|
k[0] = de;
|
|
@@ -49662,7 +49662,7 @@ var jWe = "simplifyUtil", WWe = ["FunctionNode", "OperatorNode", "SymbolNode"],
|
|
|
49662
49662
|
}
|
|
49663
49663
|
De.cte = de, De.fire === "" && (k[0] += De.cte * (De.oper === "+" ? 1 : -1));
|
|
49664
49664
|
} else
|
|
49665
|
-
throw new Error("Type " +
|
|
49665
|
+
throw new Error("Type " + Be + " is not allowed");
|
|
49666
49666
|
}
|
|
49667
49667
|
}
|
|
49668
49668
|
}), k$ = "zpk2tf", a$e = ["typed", "add", "multiply", "Complex", "number"], l$e = /* @__PURE__ */ Se(k$, a$e, (n) => {
|
|
@@ -57450,9 +57450,9 @@ function WJe(n, e) {
|
|
|
57450
57450
|
} else {
|
|
57451
57451
|
let H;
|
|
57452
57452
|
const { el: Q, props: X } = q, { bm: be, m: Ee, parent: Ve } = de, Re = h9(q);
|
|
57453
|
-
if (tf(de, !1), be && o5(be), !Re && (H = X && X.onVnodeBeforeMount) && dc(H, Ve, q), tf(de, !0), Q &&
|
|
57453
|
+
if (tf(de, !1), be && o5(be), !Re && (H = X && X.onVnodeBeforeMount) && dc(H, Ve, q), tf(de, !0), Q && Ye) {
|
|
57454
57454
|
const nt = () => {
|
|
57455
|
-
process.env.NODE_ENV !== "production" && Md(de, "render"), de.subTree = LD(de), process.env.NODE_ENV !== "production" && Td(de, "render"), process.env.NODE_ENV !== "production" && Md(de, "hydrate"),
|
|
57455
|
+
process.env.NODE_ENV !== "production" && Md(de, "render"), de.subTree = LD(de), process.env.NODE_ENV !== "production" && Td(de, "render"), process.env.NODE_ENV !== "production" && Md(de, "hydrate"), Ye(
|
|
57456
57456
|
Q,
|
|
57457
57457
|
de.subTree,
|
|
57458
57458
|
de,
|
|
@@ -57694,18 +57694,18 @@ function WJe(n, e) {
|
|
|
57694
57694
|
}
|
|
57695
57695
|
const Pt = ct ? UJe(Ze) : Ip;
|
|
57696
57696
|
for (Re = Pt.length - 1, z = Pe - 1; z >= 0; z--) {
|
|
57697
|
-
const U = Ee + z, ke = q[U],
|
|
57697
|
+
const U = Ee + z, ke = q[U], ze = U + 1 < H ? q[U + 1].el : ae;
|
|
57698
57698
|
Ze[z] === 0 ? g(
|
|
57699
57699
|
null,
|
|
57700
57700
|
ke,
|
|
57701
57701
|
oe,
|
|
57702
|
-
|
|
57702
|
+
ze,
|
|
57703
57703
|
re,
|
|
57704
57704
|
ce,
|
|
57705
57705
|
ee,
|
|
57706
57706
|
te,
|
|
57707
57707
|
ie
|
|
57708
|
-
) : ct && (Re < 0 || z !== Pt[Re] ? Z(ke, oe,
|
|
57708
|
+
) : ct && (Re < 0 || z !== Pt[Re] ? Z(ke, oe, ze, 2) : Re--);
|
|
57709
57709
|
}
|
|
57710
57710
|
}
|
|
57711
57711
|
}, Z = (de, q, oe, ae, re = null) => {
|
|
@@ -57859,11 +57859,11 @@ function WJe(n, e) {
|
|
|
57859
57859
|
n: ye,
|
|
57860
57860
|
o: n
|
|
57861
57861
|
};
|
|
57862
|
-
let
|
|
57862
|
+
let Be, Ye;
|
|
57863
57863
|
return {
|
|
57864
57864
|
render: Me,
|
|
57865
|
-
hydrate:
|
|
57866
|
-
createApp: DJe(Me,
|
|
57865
|
+
hydrate: Be,
|
|
57866
|
+
createApp: DJe(Me, Be)
|
|
57867
57867
|
};
|
|
57868
57868
|
}
|
|
57869
57869
|
function ED({ type: n, props: e }, t) {
|
|
@@ -62187,7 +62187,7 @@ var mR = function() {
|
|
|
62187
62187
|
}
|
|
62188
62188
|
var C = [], x;
|
|
62189
62189
|
function D(Ue, Xe) {
|
|
62190
|
-
var gt =
|
|
62190
|
+
var gt = Be;
|
|
62191
62191
|
if (!x) {
|
|
62192
62192
|
x = /* @__PURE__ */ new WeakMap();
|
|
62193
62193
|
for (var Et = 0; Et < gt.length; Et++) {
|
|
@@ -62225,7 +62225,7 @@ var mR = function() {
|
|
|
62225
62225
|
t.wasmBinary && (E = t.wasmBinary);
|
|
62226
62226
|
var N;
|
|
62227
62227
|
t.noExitRuntime && (N = t.noExitRuntime), typeof WebAssembly != "object" && Ee("no native wasm support detected");
|
|
62228
|
-
var L,
|
|
62228
|
+
var L, Be, R = !1;
|
|
62229
62229
|
function F(Ue, Xe) {
|
|
62230
62230
|
Ue || Ee("Assertion failed: " + Xe);
|
|
62231
62231
|
}
|
|
@@ -62344,12 +62344,12 @@ var mR = function() {
|
|
|
62344
62344
|
initial: De / _e,
|
|
62345
62345
|
maximum: De / _e
|
|
62346
62346
|
}), L && (we = L.buffer), De = we.byteLength, pe(we);
|
|
62347
|
-
var
|
|
62347
|
+
var Be = new WebAssembly.Table({ initial: 1, element: "anyfunc" }), Ye = [], de = [], q = [], oe = [], ae = !1;
|
|
62348
62348
|
function re() {
|
|
62349
62349
|
if (t.preRun)
|
|
62350
62350
|
for (typeof t.preRun == "function" && (t.preRun = [t.preRun]); t.preRun.length; )
|
|
62351
62351
|
ie(t.preRun.shift());
|
|
62352
|
-
ke(
|
|
62352
|
+
ke(Ye);
|
|
62353
62353
|
}
|
|
62354
62354
|
function ce() {
|
|
62355
62355
|
ae = !0, ke(de);
|
|
@@ -62364,7 +62364,7 @@ var mR = function() {
|
|
|
62364
62364
|
ke(oe);
|
|
62365
62365
|
}
|
|
62366
62366
|
function ie(Ue) {
|
|
62367
|
-
|
|
62367
|
+
Ye.unshift(Ue);
|
|
62368
62368
|
}
|
|
62369
62369
|
function z(Ue) {
|
|
62370
62370
|
oe.unshift(Ue);
|
|
@@ -62463,14 +62463,14 @@ var mR = function() {
|
|
|
62463
62463
|
continue;
|
|
62464
62464
|
}
|
|
62465
62465
|
var gt = Xe.func;
|
|
62466
|
-
typeof gt == "number" ? Xe.arg === void 0 ?
|
|
62466
|
+
typeof gt == "number" ? Xe.arg === void 0 ? Be.get(gt)() : Be.get(gt)(Xe.arg) : gt(Xe.arg === void 0 ? null : Xe.arg);
|
|
62467
62467
|
}
|
|
62468
62468
|
}
|
|
62469
|
-
function
|
|
62469
|
+
function ze(Ue, Xe, gt) {
|
|
62470
62470
|
return gt && gt.length ? t["dynCall_" + Ue].apply(null, [Xe].concat(gt)) : t["dynCall_" + Ue].call(null, Xe);
|
|
62471
62471
|
}
|
|
62472
62472
|
function lt(Ue, Xe, gt) {
|
|
62473
|
-
return Ue.indexOf("j") != -1 ?
|
|
62473
|
+
return Ue.indexOf("j") != -1 ? ze(Ue, Xe, gt) : Be.get(Xe).apply(null, gt);
|
|
62474
62474
|
}
|
|
62475
62475
|
var Ut = { nextHandle: 1, loadedLibs: {}, loadedLibNames: {} };
|
|
62476
62476
|
function Zt(Ue) {
|
|
@@ -62541,7 +62541,7 @@ var mR = function() {
|
|
|
62541
62541
|
var aa = y(
|
|
62542
62542
|
ti(Mn + dn),
|
|
62543
62543
|
dn
|
|
62544
|
-
), W0 = Xo, ac =
|
|
62544
|
+
), W0 = Xo, ac = Be, Km = ac.length, RS = ac;
|
|
62545
62545
|
ac.grow(gn), F(ac === RS);
|
|
62546
62546
|
for (var lc = aa; lc < aa + Mn; lc++)
|
|
62547
62547
|
le[lc] = 0;
|
|
@@ -62729,7 +62729,7 @@ var mR = function() {
|
|
|
62729
62729
|
}
|
|
62730
62730
|
);
|
|
62731
62731
|
var Xo = {
|
|
62732
|
-
__indirect_function_table:
|
|
62732
|
+
__indirect_function_table: Be,
|
|
62733
62733
|
__memory_base: 1024,
|
|
62734
62734
|
__stack_pointer: Me,
|
|
62735
62735
|
__table_base: 1,
|
|
@@ -67058,13 +67058,13 @@ const Jue = (n) => (H3("data-v-79254471"), n = n(), j3(), n), Fct = { class: "kl
|
|
|
67058
67058
|
try {
|
|
67059
67059
|
if (!d.variety || !d.cycle)
|
|
67060
67060
|
return;
|
|
67061
|
-
const { variety: ye, featureId: pe, cycle: Me, indicatorStore: De, mainIndicator:
|
|
67061
|
+
const { variety: ye, featureId: pe, cycle: Me, indicatorStore: De, mainIndicator: Be, right: Ye, startTime: de, endTime: q } = d, { defaultShowCounts: oe, addCounts: ae, showWarningLine: re, getFactorData: ce } = S.value, ee = {
|
|
67062
67062
|
variety: ye,
|
|
67063
67063
|
featureId: pe,
|
|
67064
67064
|
cycle: Me,
|
|
67065
|
-
mainIndicatorList: De.getIndicatorParams(
|
|
67065
|
+
mainIndicatorList: De.getIndicatorParams(Be),
|
|
67066
67066
|
subIndicator: m.value,
|
|
67067
|
-
right:
|
|
67067
|
+
right: Ye,
|
|
67068
67068
|
showWarningLine: re,
|
|
67069
67069
|
getFactorData: ce
|
|
67070
67070
|
};
|
|
@@ -67095,23 +67095,23 @@ const Jue = (n) => (H3("data-v-79254471"), n = n(), j3(), n), Fct = { class: "kl
|
|
|
67095
67095
|
b.value = {
|
|
67096
67096
|
time: [...Me.body.time, ...b.value.time.slice(1)],
|
|
67097
67097
|
data: [...Me.body.data, ...b.value.data.slice(1)],
|
|
67098
|
-
mainIndicator: b.value.mainIndicator.map((De,
|
|
67098
|
+
mainIndicator: b.value.mainIndicator.map((De, Be) => ({
|
|
67099
67099
|
...De,
|
|
67100
|
-
data: [...Me.body.mainIndicator[
|
|
67100
|
+
data: [...Me.body.mainIndicator[Be].data, ...De.data.slice(1)]
|
|
67101
67101
|
})),
|
|
67102
|
-
subIndicator: b.value.subIndicator.map((De,
|
|
67102
|
+
subIndicator: b.value.subIndicator.map((De, Be) => ({
|
|
67103
67103
|
...De,
|
|
67104
|
-
data: [...Me.body.subIndicator[
|
|
67104
|
+
data: [...Me.body.subIndicator[Be].data, ...De.data.slice(1)]
|
|
67105
67105
|
}))
|
|
67106
67106
|
}, O(!0), Me.body.data.length < ye && (u = !0), l = !1;
|
|
67107
67107
|
}
|
|
67108
67108
|
}, O = (Z = !1) => {
|
|
67109
|
-
var
|
|
67109
|
+
var Be, Ye, de;
|
|
67110
67110
|
E();
|
|
67111
67111
|
const { time: W } = b.value, { gridRight: fe, gridLeft: _e, defaultShowCounts: we, maxShowCounts: le, showSubChart: ye } = S.value;
|
|
67112
67112
|
let pe = W.length - 1 - we, Me = W.length - 1;
|
|
67113
67113
|
if (Z) {
|
|
67114
|
-
const q = o.getOption(), oe = (
|
|
67114
|
+
const q = o.getOption(), oe = (Ye = (Be = q == null ? void 0 : q.xAxis) == null ? void 0 : Be[0]) == null ? void 0 : Ye.data, ae = (de = q == null ? void 0 : q.dataZoom) == null ? void 0 : de[0], re = oe[ae == null ? void 0 : ae.startValue], ce = oe[ae == null ? void 0 : ae.endValue];
|
|
67115
67115
|
pe = W.findIndex((ee) => ee === re), Me = W.findIndex((ee) => ee === ce);
|
|
67116
67116
|
}
|
|
67117
67117
|
const De = Cct(b.value, S.value, pe, Me, d.cycle);
|
|
@@ -67235,7 +67235,7 @@ const Jue = (n) => (H3("data-v-79254471"), n = n(), j3(), n), Fct = { class: "kl
|
|
|
67235
67235
|
});
|
|
67236
67236
|
const pe = async (Me) => {
|
|
67237
67237
|
o == null || o.getZr().off("mousedown", pe);
|
|
67238
|
-
const De = o == null ? void 0 : o.convertFromPixel({ yAxisIndex: 0 }, Me.offsetY),
|
|
67238
|
+
const De = o == null ? void 0 : o.convertFromPixel({ yAxisIndex: 0 }, Me.offsetY), Be = Math.round(De * 1e3) / 1e3;
|
|
67239
67239
|
o == null || o.setOption({
|
|
67240
67240
|
...le,
|
|
67241
67241
|
// 指示器样式
|
|
@@ -67264,7 +67264,7 @@ const Jue = (n) => (H3("data-v-79254471"), n = n(), j3(), n), Fct = { class: "kl
|
|
|
67264
67264
|
//品种id
|
|
67265
67265
|
featureType: we,
|
|
67266
67266
|
//品种类型
|
|
67267
|
-
warnPrice:
|
|
67267
|
+
warnPrice: Be
|
|
67268
67268
|
}), Zr.success("画线预警成功!"), j();
|
|
67269
67269
|
};
|
|
67270
67270
|
o == null || o.getZr().on("mousedown", pe);
|
|
@@ -67323,7 +67323,7 @@ const Jue = (n) => (H3("data-v-79254471"), n = n(), j3(), n), Fct = { class: "kl
|
|
|
67323
67323
|
style: { height: "36px" },
|
|
67324
67324
|
key: De.key,
|
|
67325
67325
|
index: De.key,
|
|
67326
|
-
onClick: (
|
|
67326
|
+
onClick: (Be) => P(De)
|
|
67327
67327
|
}, {
|
|
67328
67328
|
default: xe(() => [
|
|
67329
67329
|
Rt(wt(De.label), 1)
|
|
@@ -69234,8 +69234,8 @@ const Jdt = { class: "main-chart" }, e0t = { class: "indicator" }, t0t = {
|
|
|
69234
69234
|
label: {
|
|
69235
69235
|
rich: {},
|
|
69236
69236
|
formatter: (Me) => {
|
|
69237
|
-
const { axisDimension: De, value:
|
|
69238
|
-
return De === "x" ? ["6", "7", "8"].includes(l.cycle) ? en(
|
|
69237
|
+
const { axisDimension: De, value: Be } = Me;
|
|
69238
|
+
return De === "x" ? ["6", "7", "8"].includes(l.cycle) ? en(Be).format("YYYY-MM-DD") : Be : String(t(Be));
|
|
69239
69239
|
}
|
|
69240
69240
|
}
|
|
69241
69241
|
},
|
|
@@ -69243,10 +69243,10 @@ const Jdt = { class: "main-chart" }, e0t = { class: "indicator" }, t0t = {
|
|
|
69243
69243
|
if (!(Me != null && Me.length))
|
|
69244
69244
|
return null;
|
|
69245
69245
|
let De = "";
|
|
69246
|
-
if (Me.forEach((
|
|
69247
|
-
if (
|
|
69246
|
+
if (Me.forEach((Ye) => {
|
|
69247
|
+
if (Ye.seriesName === "netPosition" && Ye.data !== null && (De += `<div>资产持仓净值: ${Ye.data[1]}</div>`), Ye.componentSubType === "candlestick")
|
|
69248
69248
|
if (l.sellBuy === 0) {
|
|
69249
|
-
const de = ye.filter((ae) => (ae == null ? void 0 : ae.coord[0]) ===
|
|
69249
|
+
const de = ye.filter((ae) => (ae == null ? void 0 : ae.coord[0]) === Ye.axisValue);
|
|
69250
69250
|
let q = 0, oe = 0;
|
|
69251
69251
|
de.forEach((ae) => {
|
|
69252
69252
|
const { tradeType: re, amount: ce } = ae.customData;
|
|
@@ -69254,7 +69254,7 @@ const Jdt = { class: "main-chart" }, e0t = { class: "indicator" }, t0t = {
|
|
|
69254
69254
|
}), q && (De += `<div>买: ${q}</div>`), oe && (De += `<div>卖: ${oe}</div>`);
|
|
69255
69255
|
} else
|
|
69256
69256
|
ye.forEach((de) => {
|
|
69257
|
-
if ((de == null ? void 0 : de.coord[0]) ===
|
|
69257
|
+
if ((de == null ? void 0 : de.coord[0]) === Ye.axisValue) {
|
|
69258
69258
|
const { tradeType: q, amount: oe, profitAndLoss: ae, openPriceAll: re, closePriceAll: ce } = de.customData;
|
|
69259
69259
|
let ee = `<div>${q}: ${oe}手</div>`;
|
|
69260
69260
|
if (q.includes("开") && (ee += `<div>开仓价: ${(re / oe).toFixed(2)}</div>`), q.includes("平")) {
|
|
@@ -69266,10 +69266,10 @@ const Jdt = { class: "main-chart" }, e0t = { class: "indicator" }, t0t = {
|
|
|
69266
69266
|
});
|
|
69267
69267
|
}), !De)
|
|
69268
69268
|
return null;
|
|
69269
|
-
let
|
|
69270
|
-
return ["6", "7", "8"].includes(l.cycle) && (
|
|
69269
|
+
let Be = Me[0].axisValue;
|
|
69270
|
+
return ["6", "7", "8"].includes(l.cycle) && (Be = en(Be).format("YYYY-MM-DD")), `
|
|
69271
69271
|
<div>
|
|
69272
|
-
<span style="font-weight: bold;">${
|
|
69272
|
+
<span style="font-weight: bold;">${Be}</span>
|
|
69273
69273
|
${De}
|
|
69274
69274
|
</div>
|
|
69275
69275
|
`;
|
|
@@ -69300,20 +69300,23 @@ const Jdt = { class: "main-chart" }, e0t = { class: "indicator" }, t0t = {
|
|
|
69300
69300
|
}
|
|
69301
69301
|
},
|
|
69302
69302
|
min: (Me) => {
|
|
69303
|
-
const { min: De, max:
|
|
69304
|
-
return t(De -
|
|
69303
|
+
const { min: De, max: Be } = Me, Ye = Math.abs((Be - De) / 10);
|
|
69304
|
+
return t(De - Ye);
|
|
69305
69305
|
},
|
|
69306
|
-
max: (Me) =>
|
|
69306
|
+
max: (Me) => {
|
|
69307
|
+
const { min: De, max: Be } = Me, Ye = Math.abs((Be - De) / 10);
|
|
69308
|
+
return t(Be + Ye);
|
|
69309
|
+
}
|
|
69307
69310
|
},
|
|
69308
69311
|
{
|
|
69309
69312
|
show: !1,
|
|
69310
69313
|
min: (Me) => {
|
|
69311
|
-
const { min: De, max:
|
|
69312
|
-
return De -
|
|
69314
|
+
const { min: De, max: Be } = Me, Ye = Math.abs((Be - De) / 10);
|
|
69315
|
+
return De - Ye;
|
|
69313
69316
|
},
|
|
69314
69317
|
max: (Me) => {
|
|
69315
|
-
const { min: De, max:
|
|
69316
|
-
return
|
|
69318
|
+
const { min: De, max: Be } = Me, Ye = Math.abs((Be - De) / 10);
|
|
69319
|
+
return Be + Ye;
|
|
69317
69320
|
}
|
|
69318
69321
|
}
|
|
69319
69322
|
],
|
|
@@ -69387,21 +69390,21 @@ const Jdt = { class: "main-chart" }, e0t = { class: "indicator" }, t0t = {
|
|
|
69387
69390
|
{
|
|
69388
69391
|
const Me = [];
|
|
69389
69392
|
if (l.userKlineConfig.enable_tradeLogBrush && ye.length) {
|
|
69390
|
-
const [De,
|
|
69393
|
+
const [De, Be] = [ye[0].coord[0], ye.at(-1).coord[0]], Ye = VD(G, [De, Be], l.cycle);
|
|
69391
69394
|
Me.push({
|
|
69392
69395
|
brushId: "开平仓范围",
|
|
69393
69396
|
brushType: "lineX",
|
|
69394
69397
|
xAxisIndex: 0,
|
|
69395
|
-
coordRange:
|
|
69398
|
+
coordRange: Ye
|
|
69396
69399
|
});
|
|
69397
69400
|
}
|
|
69398
69401
|
if (l.syncBrushRange.cycleList.includes(l.cycle)) {
|
|
69399
|
-
const { startTime: De, endTime:
|
|
69402
|
+
const { startTime: De, endTime: Be } = l.syncBrushRange, Ye = VD(G, [De, Be], l.cycle);
|
|
69400
69403
|
Me.push({
|
|
69401
69404
|
brushId: "同步刷选范围",
|
|
69402
69405
|
brushType: "lineX",
|
|
69403
69406
|
xAxisIndex: 0,
|
|
69404
|
-
coordRange:
|
|
69407
|
+
coordRange: Ye,
|
|
69405
69408
|
brushStyle: {
|
|
69406
69409
|
fill: "rgba(64, 158, 255, 0.2)",
|
|
69407
69410
|
stroke: "rgba(64, 158, 255, 0.8)",
|
|
@@ -69410,12 +69413,12 @@ const Jdt = { class: "main-chart" }, e0t = { class: "indicator" }, t0t = {
|
|
|
69410
69413
|
});
|
|
69411
69414
|
}
|
|
69412
69415
|
if (l.positionTime) {
|
|
69413
|
-
const [De,
|
|
69416
|
+
const [De, Be] = [en(l.positionTime).format("YYYY-MM-DD 00:00:00"), en(l.positionTime).format("YYYY-MM-DD 23:59:59")], Ye = VD(G, [De, Be], l.cycle);
|
|
69414
69417
|
Me.push({
|
|
69415
69418
|
brushId: "强制定位高亮",
|
|
69416
69419
|
brushType: "lineX",
|
|
69417
69420
|
xAxisIndex: 0,
|
|
69418
|
-
coordRange:
|
|
69421
|
+
coordRange: Ye,
|
|
69419
69422
|
brushStyle: {
|
|
69420
69423
|
fill: "rgba(217, 179, 255, 0.2)",
|
|
69421
69424
|
stroke: "rgba(217, 179, 255, 0.8)",
|
|
@@ -69436,7 +69439,7 @@ const Jdt = { class: "main-chart" }, e0t = { class: "indicator" }, t0t = {
|
|
|
69436
69439
|
Number(j[De][3]) >= ue && (ue = Number(j[De][3]), Z = De);
|
|
69437
69440
|
const W = g.getOption(), fe = ((Me = W.series) == null ? void 0 : Me.filter((De) => De.name !== "maxPrice")) || [], _e = G - P, we = (Z - P) / _e;
|
|
69438
69441
|
let le = "right", ye = `←${ue}`;
|
|
69439
|
-
we > 0.7 ? (le = "left", ye = `${ue}→`) : (le = "right", ye = `←${ue}`), g == null || g.setOption(
|
|
69442
|
+
we > 0.7 ? (le = "left", ye = `${t(ue)}→`) : (le = "right", ye = `←${t(ue)}`), g == null || g.setOption(
|
|
69440
69443
|
{
|
|
69441
69444
|
...W,
|
|
69442
69445
|
series: [
|
|
@@ -69650,7 +69653,7 @@ const Jdt = { class: "main-chart" }, e0t = { class: "indicator" }, t0t = {
|
|
|
69650
69653
|
]);
|
|
69651
69654
|
};
|
|
69652
69655
|
}
|
|
69653
|
-
}, a0t = /* @__PURE__ */ Ai(s0t, [["__scopeId", "data-v-
|
|
69656
|
+
}, a0t = /* @__PURE__ */ Ai(s0t, [["__scopeId", "data-v-1cb277d7"]]), l0t = {
|
|
69654
69657
|
install(n) {
|
|
69655
69658
|
n.component("st-klinePlus", a0t);
|
|
69656
69659
|
}
|
|
@@ -180960,7 +180963,7 @@ function K1e() {
|
|
|
180960
180963
|
enumerable: !0,
|
|
180961
180964
|
value: !1
|
|
180962
180965
|
}
|
|
180963
|
-
})), fe = null, _e = null, we = !0, le = !0, ye = !1, pe = !0, Me = !1, De = !1,
|
|
180966
|
+
})), fe = null, _e = null, we = !0, le = !0, ye = !1, pe = !0, Me = !1, De = !1, Be = !1, Ye = !1, de = !1, q = !1, oe = !1, ae = !0, re = !1;
|
|
180964
180967
|
const ce = "user-content-";
|
|
180965
180968
|
let ee = !0, te = !1, ie = {}, z = null;
|
|
180966
180969
|
const H = Ci({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
@@ -180972,27 +180975,27 @@ function K1e() {
|
|
|
180972
180975
|
const Ze = Ci({}, [Ve, Re, nt], GD);
|
|
180973
180976
|
let Pt;
|
|
180974
180977
|
const U = ["application/xhtml+xml", "text/html"], ke = "text/html";
|
|
180975
|
-
let
|
|
180978
|
+
let ze, lt = null;
|
|
180976
180979
|
const Ut = r.createElement("form"), Zt = function($e) {
|
|
180977
180980
|
return $e instanceof RegExp || $e instanceof Function;
|
|
180978
180981
|
}, ti = function($e) {
|
|
180979
180982
|
if (!(lt && lt === $e)) {
|
|
180980
180983
|
if ((!$e || typeof $e != "object") && ($e = {}), $e = z4($e), Pt = // eslint-disable-next-line unicorn/prefer-includes
|
|
180981
|
-
U.indexOf($e.PARSER_MEDIA_TYPE) === -1 ? Pt = ke : Pt = $e.PARSER_MEDIA_TYPE,
|
|
180984
|
+
U.indexOf($e.PARSER_MEDIA_TYPE) === -1 ? Pt = ke : Pt = $e.PARSER_MEDIA_TYPE, ze = Pt === "application/xhtml+xml" ? GD : ry, P = "ALLOWED_TAGS" in $e ? Ci({}, $e.ALLOWED_TAGS, ze) : G, ue = "ALLOWED_ATTR" in $e ? Ci({}, $e.ALLOWED_ATTR, ze) : Z, ut = "ALLOWED_NAMESPACES" in $e ? Ci({}, $e.ALLOWED_NAMESPACES, GD) : Ze, be = "ADD_URI_SAFE_ATTR" in $e ? Ci(
|
|
180982
180985
|
z4(Ee),
|
|
180983
180986
|
// eslint-disable-line indent
|
|
180984
180987
|
$e.ADD_URI_SAFE_ATTR,
|
|
180985
180988
|
// eslint-disable-line indent
|
|
180986
|
-
|
|
180989
|
+
ze
|
|
180987
180990
|
// eslint-disable-line indent
|
|
180988
180991
|
) : Ee, Q = "ADD_DATA_URI_TAGS" in $e ? Ci(
|
|
180989
180992
|
z4(X),
|
|
180990
180993
|
// eslint-disable-line indent
|
|
180991
180994
|
$e.ADD_DATA_URI_TAGS,
|
|
180992
180995
|
// eslint-disable-line indent
|
|
180993
|
-
|
|
180996
|
+
ze
|
|
180994
180997
|
// eslint-disable-line indent
|
|
180995
|
-
) : X, z = "FORBID_CONTENTS" in $e ? Ci({}, $e.FORBID_CONTENTS,
|
|
180998
|
+
) : X, z = "FORBID_CONTENTS" in $e ? Ci({}, $e.FORBID_CONTENTS, ze) : H, fe = "FORBID_TAGS" in $e ? Ci({}, $e.FORBID_TAGS, ze) : {}, _e = "FORBID_ATTR" in $e ? Ci({}, $e.FORBID_ATTR, ze) : {}, ie = "USE_PROFILES" in $e ? $e.USE_PROFILES : !1, we = $e.ALLOW_ARIA_ATTR !== !1, le = $e.ALLOW_DATA_ATTR !== !1, ye = $e.ALLOW_UNKNOWN_PROTOCOLS || !1, pe = $e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Me = $e.SAFE_FOR_TEMPLATES || !1, De = $e.WHOLE_DOCUMENT || !1, de = $e.RETURN_DOM || !1, q = $e.RETURN_DOM_FRAGMENT || !1, oe = $e.RETURN_TRUSTED_TYPE || !1, Ye = $e.FORCE_BODY || !1, ae = $e.SANITIZE_DOM !== !1, re = $e.SANITIZE_NAMED_PROPS || !1, ee = $e.KEEP_CONTENT !== !1, te = $e.IN_PLACE || !1, j = $e.ALLOWED_URI_REGEXP || U1e, Pe = $e.NAMESPACE || nt, W = $e.CUSTOM_ELEMENT_HANDLING || {}, $e.CUSTOM_ELEMENT_HANDLING && Zt($e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (W.tagNameCheck = $e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), $e.CUSTOM_ELEMENT_HANDLING && Zt($e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (W.attributeNameCheck = $e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), $e.CUSTOM_ELEMENT_HANDLING && typeof $e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (W.allowCustomizedBuiltInElements = $e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Me && (le = !1), q && (de = !0), ie && (P = Ci({}, [...Uq]), ue = [], ie.html === !0 && (Ci(P, $q), Ci(ue, qq)), ie.svg === !0 && (Ci(P, QD), Ci(ue, JD), Ci(ue, Ov)), ie.svgFilters === !0 && (Ci(P, ZD), Ci(ue, JD), Ci(ue, Ov)), ie.mathMl === !0 && (Ci(P, XD), Ci(ue, Kq), Ci(ue, Ov))), $e.ADD_TAGS && (P === G && (P = z4(P)), Ci(P, $e.ADD_TAGS, ze)), $e.ADD_ATTR && (ue === Z && (ue = z4(ue)), Ci(ue, $e.ADD_ATTR, ze)), $e.ADD_URI_SAFE_ATTR && Ci(be, $e.ADD_URI_SAFE_ATTR, ze), $e.FORBID_CONTENTS && (z === H && (z = z4(z)), Ci(z, $e.FORBID_CONTENTS, ze)), ee && (P["#text"] = !0), De && Ci(P, ["html", "head", "body"]), P.table && (Ci(P, ["tbody"]), delete fe.tbody), $e.TRUSTED_TYPES_POLICY) {
|
|
180996
180999
|
if (typeof $e.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
180997
181000
|
throw d5('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
180998
181001
|
if (typeof $e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -181048,7 +181051,7 @@ function K1e() {
|
|
|
181048
181051
|
}
|
|
181049
181052
|
}, Rl = function($e) {
|
|
181050
181053
|
let Ct, zt;
|
|
181051
|
-
if (
|
|
181054
|
+
if (Ye)
|
|
181052
181055
|
$e = "<remove></remove>" + $e;
|
|
181053
181056
|
else {
|
|
181054
181057
|
const Ue = fft($e, /^[\r\n\t ]+/);
|
|
@@ -181091,7 +181094,7 @@ function K1e() {
|
|
|
181091
181094
|
let Ct;
|
|
181092
181095
|
if (Ir("beforeSanitizeElements", $e, null), Xo($e))
|
|
181093
181096
|
return Ro($e), !0;
|
|
181094
|
-
const zt =
|
|
181097
|
+
const zt = ze($e.nodeName);
|
|
181095
181098
|
if (Ir("uponSanitizeElement", $e, {
|
|
181096
181099
|
tagName: zt,
|
|
181097
181100
|
allowedTags: P
|
|
@@ -181163,14 +181166,14 @@ function K1e() {
|
|
|
181163
181166
|
name: gt,
|
|
181164
181167
|
namespaceURI: Et
|
|
181165
181168
|
} = Ct;
|
|
181166
|
-
if (zt = gt === "value" ? Ct.value : gft(Ct.value), ni =
|
|
181169
|
+
if (zt = gt === "value" ? Ct.value : gft(Ct.value), ni = ze(gt), Xe.attrName = ni, Xe.attrValue = zt, Xe.keepAttr = !0, Xe.forceKeepAttr = void 0, Ir("uponSanitizeAttribute", $e, Xe), zt = Xe.attrValue, Xe.forceKeepAttr || (Ol(gt, $e), !Xe.keepAttr))
|
|
181167
181170
|
continue;
|
|
181168
181171
|
if (!pe && zl(/\/>/i, zt)) {
|
|
181169
181172
|
Ol(gt, $e);
|
|
181170
181173
|
continue;
|
|
181171
181174
|
}
|
|
181172
181175
|
Me && (zt = o1(zt, N, " "), zt = o1(zt, L, " "), zt = o1(zt, R, " "));
|
|
181173
|
-
const En =
|
|
181176
|
+
const En = ze($e.nodeName);
|
|
181174
181177
|
if (at(En, ni, zt)) {
|
|
181175
181178
|
if (re && (ni === "id" || ni === "name") && (Ol(gt, $e), zt = ce + zt), b && typeof f == "object" && typeof f.getAttributeType == "function" && !Et)
|
|
181176
181179
|
switch (f.getAttributeType(En, ni)) {
|
|
@@ -181207,9 +181210,9 @@ function K1e() {
|
|
|
181207
181210
|
throw d5("toString is not a function");
|
|
181208
181211
|
if (!e.isSupported)
|
|
181209
181212
|
return $t;
|
|
181210
|
-
if (
|
|
181213
|
+
if (Be || ti($e), e.removed = [], typeof $t == "string" && (te = !1), te) {
|
|
181211
181214
|
if ($t.nodeName) {
|
|
181212
|
-
const gt =
|
|
181215
|
+
const gt = ze($t.nodeName);
|
|
181213
181216
|
if (!P[gt] || fe[gt])
|
|
181214
181217
|
throw d5("root node is forbidden and cannot be sanitized in-place");
|
|
181215
181218
|
}
|
|
@@ -181222,7 +181225,7 @@ function K1e() {
|
|
|
181222
181225
|
if (Ct = Rl($t), !Ct)
|
|
181223
181226
|
return de ? null : oe ? y : "";
|
|
181224
181227
|
}
|
|
181225
|
-
Ct &&
|
|
181228
|
+
Ct && Ye && Ro(Ct.firstChild);
|
|
181226
181229
|
const Ue = ll(te ? $t : Ct);
|
|
181227
181230
|
for (; ni = Ue.nextNode(); )
|
|
181228
181231
|
hu(ni) || (ni.content instanceof o && Qt(ni.content), yn(ni));
|
|
@@ -181240,12 +181243,12 @@ function K1e() {
|
|
|
181240
181243
|
return De && P["!doctype"] && Ct.ownerDocument && Ct.ownerDocument.doctype && Ct.ownerDocument.doctype.name && zl(q1e, Ct.ownerDocument.doctype.name) && (Xe = "<!DOCTYPE " + Ct.ownerDocument.doctype.name + `>
|
|
181241
181244
|
` + Xe), Me && (Xe = o1(Xe, N, " "), Xe = o1(Xe, L, " "), Xe = o1(Xe, R, " ")), b && oe ? b.createHTML(Xe) : Xe;
|
|
181242
181245
|
}, e.setConfig = function($t) {
|
|
181243
|
-
ti($t),
|
|
181246
|
+
ti($t), Be = !0;
|
|
181244
181247
|
}, e.clearConfig = function() {
|
|
181245
|
-
lt = null,
|
|
181248
|
+
lt = null, Be = !1;
|
|
181246
181249
|
}, e.isValidAttribute = function($t, $e, Ct) {
|
|
181247
181250
|
lt || ti({});
|
|
181248
|
-
const zt =
|
|
181251
|
+
const zt = ze($t), ni = ze($e);
|
|
181249
181252
|
return at(zt, ni, Ct);
|
|
181250
181253
|
}, e.addHook = function($t, $e) {
|
|
181251
181254
|
typeof $e == "function" && (E[$t] = E[$t] || [], c5(E[$t], $e));
|
|
@@ -189930,9 +189933,9 @@ class fp {
|
|
|
189930
189933
|
return t < 60 ? (u = s, c = a) : t < 120 ? (u = a, c = s) : t < 180 ? (c = s, d = a) : t < 240 ? (c = a, d = s) : t < 300 ? (u = a, d = s) : t <= 360 && (u = s, d = a), u = Math.round((u + l) * 255), c = Math.round((c + l) * 255), d = Math.round((d + l) * 255), new qn(u, c, d, o);
|
|
189931
189934
|
}
|
|
189932
189935
|
}
|
|
189933
|
-
class
|
|
189936
|
+
class Ge {
|
|
189934
189937
|
static fromHex(e) {
|
|
189935
|
-
return
|
|
189938
|
+
return Ge.Format.CSS.parseHex(e) || Ge.red;
|
|
189936
189939
|
}
|
|
189937
189940
|
static equals(e, t) {
|
|
189938
189941
|
return !e && !t ? !0 : !e || !t ? !1 : e.equals(t);
|
|
@@ -189964,7 +189967,7 @@ class Ye {
|
|
|
189964
189967
|
* Returns the number in the set [0, 1]. O => Darkest Black. 1 => Lightest white.
|
|
189965
189968
|
*/
|
|
189966
189969
|
getRelativeLuminance() {
|
|
189967
|
-
const e =
|
|
189970
|
+
const e = Ge._relativeLuminanceForComponent(this.rgba.r), t = Ge._relativeLuminanceForComponent(this.rgba.g), i = Ge._relativeLuminanceForComponent(this.rgba.b), r = 0.2126 * e + 0.7152 * t + 0.0722 * i;
|
|
189968
189971
|
return o2(r, 4);
|
|
189969
189972
|
}
|
|
189970
189973
|
static _relativeLuminanceForComponent(e) {
|
|
@@ -189987,14 +189990,14 @@ class Ye {
|
|
|
189987
189990
|
return t < i;
|
|
189988
189991
|
}
|
|
189989
189992
|
lighten(e) {
|
|
189990
|
-
return new
|
|
189993
|
+
return new Ge(new wu(this.hsla.h, this.hsla.s, this.hsla.l + this.hsla.l * e, this.hsla.a));
|
|
189991
189994
|
}
|
|
189992
189995
|
darken(e) {
|
|
189993
|
-
return new
|
|
189996
|
+
return new Ge(new wu(this.hsla.h, this.hsla.s, this.hsla.l - this.hsla.l * e, this.hsla.a));
|
|
189994
189997
|
}
|
|
189995
189998
|
transparent(e) {
|
|
189996
189999
|
const { r: t, g: i, b: r, a: o } = this.rgba;
|
|
189997
|
-
return new
|
|
190000
|
+
return new Ge(new qn(t, i, r, o * e));
|
|
189998
190001
|
}
|
|
189999
190002
|
isTransparent() {
|
|
190000
190003
|
return this.rgba.a === 0;
|
|
@@ -190003,16 +190006,16 @@ class Ye {
|
|
|
190003
190006
|
return this.rgba.a === 1;
|
|
190004
190007
|
}
|
|
190005
190008
|
opposite() {
|
|
190006
|
-
return new
|
|
190009
|
+
return new Ge(new qn(255 - this.rgba.r, 255 - this.rgba.g, 255 - this.rgba.b, this.rgba.a));
|
|
190007
190010
|
}
|
|
190008
190011
|
makeOpaque(e) {
|
|
190009
190012
|
if (this.isOpaque() || e.rgba.a !== 1)
|
|
190010
190013
|
return this;
|
|
190011
190014
|
const { r: t, g: i, b: r, a: o } = this.rgba;
|
|
190012
|
-
return new
|
|
190015
|
+
return new Ge(new qn(e.rgba.r - o * (e.rgba.r - t), e.rgba.g - o * (e.rgba.g - i), e.rgba.b - o * (e.rgba.b - r), 1));
|
|
190013
190016
|
}
|
|
190014
190017
|
toString() {
|
|
190015
|
-
return this._toString || (this._toString =
|
|
190018
|
+
return this._toString || (this._toString = Ge.Format.CSS.format(this)), this._toString;
|
|
190016
190019
|
}
|
|
190017
190020
|
static getLighterColor(e, t, i) {
|
|
190018
190021
|
if (e.isLighterThan(t))
|
|
@@ -190029,14 +190032,14 @@ class Ye {
|
|
|
190029
190032
|
return i = i * (r - o) / r, e.darken(i);
|
|
190030
190033
|
}
|
|
190031
190034
|
}
|
|
190032
|
-
|
|
190033
|
-
|
|
190034
|
-
|
|
190035
|
-
|
|
190036
|
-
|
|
190037
|
-
|
|
190038
|
-
|
|
190039
|
-
|
|
190035
|
+
Ge.white = new Ge(new qn(255, 255, 255, 1));
|
|
190036
|
+
Ge.black = new Ge(new qn(0, 0, 0, 1));
|
|
190037
|
+
Ge.red = new Ge(new qn(255, 0, 0, 1));
|
|
190038
|
+
Ge.blue = new Ge(new qn(0, 0, 255, 1));
|
|
190039
|
+
Ge.green = new Ge(new qn(0, 255, 0, 1));
|
|
190040
|
+
Ge.cyan = new Ge(new qn(0, 255, 255, 1));
|
|
190041
|
+
Ge.lightgrey = new Ge(new qn(211, 211, 211, 1));
|
|
190042
|
+
Ge.transparent = new Ge(new qn(0, 0, 0, 0));
|
|
190040
190043
|
(function(n) {
|
|
190041
190044
|
(function(e) {
|
|
190042
190045
|
(function(t) {
|
|
@@ -190146,7 +190149,7 @@ Ye.transparent = new Ye(new qn(0, 0, 0, 0));
|
|
|
190146
190149
|
}
|
|
190147
190150
|
})(e.CSS || (e.CSS = {}));
|
|
190148
190151
|
})(n.Format || (n.Format = {}));
|
|
190149
|
-
})(
|
|
190152
|
+
})(Ge || (Ge = {}));
|
|
190150
190153
|
function zce(n) {
|
|
190151
190154
|
const e = [];
|
|
190152
190155
|
for (const t of n) {
|
|
@@ -190178,7 +190181,7 @@ function m5(n, e) {
|
|
|
190178
190181
|
function Mpt(n, e) {
|
|
190179
190182
|
if (!n)
|
|
190180
190183
|
return;
|
|
190181
|
-
const t =
|
|
190184
|
+
const t = Ge.Format.CSS.parseHex(e);
|
|
190182
190185
|
if (t)
|
|
190183
190186
|
return {
|
|
190184
190187
|
range: n,
|
|
@@ -190197,7 +190200,7 @@ function jK(n, e, t) {
|
|
|
190197
190200
|
function WK(n, e, t) {
|
|
190198
190201
|
if (!n || e.length !== 1)
|
|
190199
190202
|
return;
|
|
190200
|
-
const r = e[0].values(), o = zce(r), s = new
|
|
190203
|
+
const r = e[0].values(), o = zce(r), s = new Ge(new wu(o[0], o[1] / 100, o[2] / 100, t ? o[3] : 1));
|
|
190201
190204
|
return {
|
|
190202
190205
|
range: n,
|
|
190203
190206
|
color: aF(s.rgba.r, s.rgba.g, s.rgba.b, s.rgba.a)
|
|
@@ -192837,35 +192840,35 @@ Le("errorForeground", { dark: "#F48771", light: "#A1260D", hcDark: "#F48771", hc
|
|
|
192837
192840
|
Le("descriptionForeground", { light: "#717171", dark: Kt(Rn, 0.7), hcDark: Kt(Rn, 0.7), hcLight: Kt(Rn, 0.7) }, A("descriptionForeground", "Foreground color for description text providing additional information, for example for a label."));
|
|
192838
192841
|
const gp = Le("icon.foreground", { dark: "#C5C5C5", light: "#424242", hcDark: "#FFFFFF", hcLight: "#292929" }, A("iconForeground", "The default color for icons in the workbench.")), Xl = Le("focusBorder", { dark: "#007FD4", light: "#0090F1", hcDark: "#F38518", hcLight: "#006BBD" }, A("focusBorder", "Overall border color for focused elements. This color is only used if not overridden by a component.")), Gn = Le("contrastBorder", { light: null, dark: null, hcDark: "#6FC3DF", hcLight: "#0F4A85" }, A("contrastBorder", "An extra border around elements to separate them from others for greater contrast.")), jr = Le("contrastActiveBorder", { light: null, dark: null, hcDark: Xl, hcLight: Xl }, A("activeContrastBorder", "An extra border around active elements to separate them from others for greater contrast."));
|
|
192839
192842
|
Le("selection.background", { light: null, dark: null, hcDark: null, hcLight: null }, A("selectionBackground", "The background color of text selections in the workbench (e.g. for input fields or text areas). Note that this does not apply to selections within the editor."));
|
|
192840
|
-
Le("textSeparator.foreground", { light: "#0000002e", dark: "#ffffff2e", hcDark:
|
|
192843
|
+
Le("textSeparator.foreground", { light: "#0000002e", dark: "#ffffff2e", hcDark: Ge.black, hcLight: "#292929" }, A("textSeparatorForeground", "Color for text separators."));
|
|
192841
192844
|
const Sgt = Le("textLink.foreground", { light: "#006AB1", dark: "#3794FF", hcDark: "#21A6FF", hcLight: "#0F4A85" }, A("textLinkForeground", "Foreground color for links in text."));
|
|
192842
192845
|
Le("textLink.activeForeground", { light: "#006AB1", dark: "#3794FF", hcDark: "#21A6FF", hcLight: "#0F4A85" }, A("textLinkActiveForeground", "Foreground color for links in text when clicked on and on mouse hover."));
|
|
192843
192846
|
Le("textPreformat.foreground", { light: "#A31515", dark: "#D7BA7D", hcDark: "#000000", hcLight: "#FFFFFF" }, A("textPreformatForeground", "Foreground color for preformatted text segments."));
|
|
192844
192847
|
Le("textPreformat.background", { light: "#0000001A", dark: "#FFFFFF1A", hcDark: "#FFFFFF", hcLight: "#09345f" }, A("textPreformatBackground", "Background color for preformatted text segments."));
|
|
192845
192848
|
Le("textBlockQuote.background", { light: "#f2f2f2", dark: "#222222", hcDark: null, hcLight: "#F2F2F2" }, A("textBlockQuoteBackground", "Background color for block quotes in text."));
|
|
192846
|
-
Le("textBlockQuote.border", { light: "#007acc80", dark: "#007acc80", hcDark:
|
|
192847
|
-
Le("textCodeBlock.background", { light: "#dcdcdc66", dark: "#0a0a0a66", hcDark:
|
|
192848
|
-
const Vh = Le("widget.shadow", { dark: Kt(
|
|
192849
|
+
Le("textBlockQuote.border", { light: "#007acc80", dark: "#007acc80", hcDark: Ge.white, hcLight: "#292929" }, A("textBlockQuoteBorder", "Border color for block quotes in text."));
|
|
192850
|
+
Le("textCodeBlock.background", { light: "#dcdcdc66", dark: "#0a0a0a66", hcDark: Ge.black, hcLight: "#F2F2F2" }, A("textCodeBlockBackground", "Background color for code blocks in text."));
|
|
192851
|
+
const Vh = Le("widget.shadow", { dark: Kt(Ge.black, 0.36), light: Kt(Ge.black, 0.16), hcDark: null, hcLight: null }, A("widgetShadow", "Shadow color of widgets such as find/replace inside the editor.")), Dgt = Le("widget.border", { dark: null, light: null, hcDark: Gn, hcLight: Gn }, A("widgetBorder", "Border color of widgets such as find/replace inside the editor.")), Ngt = Le("input.background", { dark: "#3C3C3C", light: Ge.white, hcDark: Ge.black, hcLight: Ge.white }, A("inputBoxBackground", "Input box background.")), Egt = Le("input.foreground", { dark: Rn, light: Rn, hcDark: Rn, hcLight: Rn }, A("inputBoxForeground", "Input box foreground.")), Lgt = Le("input.border", { dark: null, light: null, hcDark: Gn, hcLight: Gn }, A("inputBoxBorder", "Input box border.")), Mgt = Le("inputOption.activeBorder", { dark: "#007ACC", light: "#007ACC", hcDark: Gn, hcLight: Gn }, A("inputBoxActiveOptionBorder", "Border color of activated options in input fields."));
|
|
192849
192852
|
Le("inputOption.hoverBackground", { dark: "#5a5d5e80", light: "#b8b8b850", hcDark: null, hcLight: null }, A("inputOption.hoverBackground", "Background color of activated options in input fields."));
|
|
192850
|
-
const Tgt = Le("inputOption.activeBackground", { dark: Kt(Xl, 0.4), light: Kt(Xl, 0.2), hcDark:
|
|
192853
|
+
const Tgt = Le("inputOption.activeBackground", { dark: Kt(Xl, 0.4), light: Kt(Xl, 0.2), hcDark: Ge.transparent, hcLight: Ge.transparent }, A("inputOption.activeBackground", "Background hover color of options in input fields.")), Agt = Le("inputOption.activeForeground", { dark: Ge.white, light: Ge.black, hcDark: Rn, hcLight: Rn }, A("inputOption.activeForeground", "Foreground color of activated options in input fields."));
|
|
192851
192854
|
Le("input.placeholderForeground", { light: Kt(Rn, 0.5), dark: Kt(Rn, 0.5), hcDark: Kt(Rn, 0.7), hcLight: Kt(Rn, 0.7) }, A("inputPlaceholderForeground", "Input box foreground color for placeholder text."));
|
|
192852
|
-
const kgt = Le("inputValidation.infoBackground", { dark: "#063B49", light: "#D6ECF2", hcDark:
|
|
192855
|
+
const kgt = Le("inputValidation.infoBackground", { dark: "#063B49", light: "#D6ECF2", hcDark: Ge.black, hcLight: Ge.white }, A("inputValidationInfoBackground", "Input validation background color for information severity.")), Igt = Le("inputValidation.infoForeground", { dark: null, light: null, hcDark: null, hcLight: Rn }, A("inputValidationInfoForeground", "Input validation foreground color for information severity.")), Ogt = Le("inputValidation.infoBorder", { dark: "#007acc", light: "#007acc", hcDark: Gn, hcLight: Gn }, A("inputValidationInfoBorder", "Input validation border color for information severity.")), Rgt = Le("inputValidation.warningBackground", { dark: "#352A05", light: "#F6F5D2", hcDark: Ge.black, hcLight: Ge.white }, A("inputValidationWarningBackground", "Input validation background color for warning severity.")), Fgt = Le("inputValidation.warningForeground", { dark: null, light: null, hcDark: null, hcLight: Rn }, A("inputValidationWarningForeground", "Input validation foreground color for warning severity.")), Pgt = Le("inputValidation.warningBorder", { dark: "#B89500", light: "#B89500", hcDark: Gn, hcLight: Gn }, A("inputValidationWarningBorder", "Input validation border color for warning severity.")), Bgt = Le("inputValidation.errorBackground", { dark: "#5A1D1D", light: "#F2DEDE", hcDark: Ge.black, hcLight: Ge.white }, A("inputValidationErrorBackground", "Input validation background color for error severity.")), zgt = Le("inputValidation.errorForeground", { dark: null, light: null, hcDark: null, hcLight: Rn }, A("inputValidationErrorForeground", "Input validation foreground color for error severity.")), Vgt = Le("inputValidation.errorBorder", { dark: "#BE1100", light: "#BE1100", hcDark: Gn, hcLight: Gn }, A("inputValidationErrorBorder", "Input validation border color for error severity.")), Rc = Le("dropdown.background", { dark: "#3C3C3C", light: Ge.white, hcDark: Ge.black, hcLight: Ge.white }, A("dropdownBackground", "Dropdown background.")), Hgt = Le("dropdown.listBackground", { dark: null, light: null, hcDark: Ge.black, hcLight: Ge.white }, A("dropdownListBackground", "Dropdown list background.")), Jd = Le("dropdown.foreground", { dark: "#F0F0F0", light: Rn, hcDark: Ge.white, hcLight: Rn }, A("dropdownForeground", "Dropdown foreground.")), mp = Le("dropdown.border", { dark: Rc, light: "#CECECE", hcDark: Gn, hcLight: Gn }, A("dropdownBorder", "Dropdown border.")), V5 = Le("button.foreground", { dark: Ge.white, light: Ge.white, hcDark: Ge.white, hcLight: Ge.white }, A("buttonForeground", "Button foreground color.")), jgt = Le("button.separator", { dark: Kt(V5, 0.4), light: Kt(V5, 0.4), hcDark: Kt(V5, 0.4), hcLight: Kt(V5, 0.4) }, A("buttonSeparator", "Button separator color.")), H5 = Le("button.background", { dark: "#0E639C", light: "#007ACC", hcDark: null, hcLight: "#0F4A85" }, A("buttonBackground", "Button background color.")), Wgt = Le("button.hoverBackground", { dark: O1(H5, 0.2), light: _4(H5, 0.2), hcDark: H5, hcLight: H5 }, A("buttonHoverBackground", "Button background color when hovering.")), $gt = Le("button.border", { dark: Gn, light: Gn, hcDark: Gn, hcLight: Gn }, A("buttonBorder", "Button border color.")), Ugt = Le("button.secondaryForeground", { dark: Ge.white, light: Ge.white, hcDark: Ge.white, hcLight: Rn }, A("buttonSecondaryForeground", "Secondary button foreground color.")), zT = Le("button.secondaryBackground", { dark: "#3A3D41", light: "#5F6A79", hcDark: null, hcLight: Ge.white }, A("buttonSecondaryBackground", "Secondary button background color.")), qgt = Le("button.secondaryHoverBackground", { dark: O1(zT, 0.2), light: _4(zT, 0.2), hcDark: null, hcLight: null }, A("buttonSecondaryHoverBackground", "Secondary button background color when hovering.")), dy = Le("badge.background", { dark: "#4D4D4D", light: "#C4C4C4", hcDark: Ge.black, hcLight: "#0F4A85" }, A("badgeBackground", "Badge background color. Badges are small information labels, e.g. for search results count.")), Kgt = Le("badge.foreground", { dark: Ge.white, light: "#333", hcDark: Ge.white, hcLight: Ge.white }, A("badgeForeground", "Badge foreground color. Badges are small information labels, e.g. for search results count.")), j5 = Le("scrollbar.shadow", { dark: "#000000", light: "#DDDDDD", hcDark: null, hcLight: null }, A("scrollbarShadow", "Scrollbar shadow to indicate that the view is scrolled.")), W5 = Le("scrollbarSlider.background", { dark: Ge.fromHex("#797979").transparent(0.4), light: Ge.fromHex("#646464").transparent(0.4), hcDark: Kt(Gn, 0.6), hcLight: Kt(Gn, 0.4) }, A("scrollbarSliderBackground", "Scrollbar slider background color.")), $5 = Le("scrollbarSlider.hoverBackground", { dark: Ge.fromHex("#646464").transparent(0.7), light: Ge.fromHex("#646464").transparent(0.7), hcDark: Kt(Gn, 0.8), hcLight: Kt(Gn, 0.8) }, A("scrollbarSliderHoverBackground", "Scrollbar slider background color when hovering.")), U5 = Le("scrollbarSlider.activeBackground", { dark: Ge.fromHex("#BFBFBF").transparent(0.4), light: Ge.fromHex("#000000").transparent(0.6), hcDark: Gn, hcLight: Gn }, A("scrollbarSliderActiveBackground", "Scrollbar slider background color when clicked on.")), Ygt = Le("progressBar.background", { dark: Ge.fromHex("#0E70C0"), light: Ge.fromHex("#0E70C0"), hcDark: Gn, hcLight: Gn }, A("progressBarBackground", "Background color of the progress bar that can show for long running operations."));
|
|
192853
192856
|
Le("editorError.background", { dark: null, light: null, hcDark: null, hcLight: null }, A("editorError.background", "Background color of error text in the editor. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
192854
192857
|
const e0 = Le("editorError.foreground", { dark: "#F14C4C", light: "#E51400", hcDark: "#F48771", hcLight: "#B5200D" }, A("editorError.foreground", "Foreground color of error squigglies in the editor."));
|
|
192855
|
-
Le("editorError.border", { dark: null, light: null, hcDark:
|
|
192856
|
-
const zv = Le("editorWarning.background", { dark: null, light: null, hcDark: null, hcLight: null }, A("editorWarning.background", "Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations."), !0), qs = Le("editorWarning.foreground", { dark: "#CCA700", light: "#BF8803", hcDark: "#FFD370", hcLight: "#895503" }, A("editorWarning.foreground", "Foreground color of warning squigglies in the editor.")), X_ = Le("editorWarning.border", { dark: null, light: null, hcDark:
|
|
192858
|
+
Le("editorError.border", { dark: null, light: null, hcDark: Ge.fromHex("#E47777").transparent(0.8), hcLight: "#B5200D" }, A("errorBorder", "If set, color of double underlines for errors in the editor."));
|
|
192859
|
+
const zv = Le("editorWarning.background", { dark: null, light: null, hcDark: null, hcLight: null }, A("editorWarning.background", "Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations."), !0), qs = Le("editorWarning.foreground", { dark: "#CCA700", light: "#BF8803", hcDark: "#FFD370", hcLight: "#895503" }, A("editorWarning.foreground", "Foreground color of warning squigglies in the editor.")), X_ = Le("editorWarning.border", { dark: null, light: null, hcDark: Ge.fromHex("#FFCC00").transparent(0.8), hcLight: Ge.fromHex("#FFCC00").transparent(0.8) }, A("warningBorder", "If set, color of double underlines for warnings in the editor."));
|
|
192857
192860
|
Le("editorInfo.background", { dark: null, light: null, hcDark: null, hcLight: null }, A("editorInfo.background", "Background color of info text in the editor. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
192858
|
-
const Jl = Le("editorInfo.foreground", { dark: "#3794FF", light: "#1a85ff", hcDark: "#3794FF", hcLight: "#1a85ff" }, A("editorInfo.foreground", "Foreground color of info squigglies in the editor.")), J_ = Le("editorInfo.border", { dark: null, light: null, hcDark:
|
|
192859
|
-
Le("editorHint.border", { dark: null, light: null, hcDark:
|
|
192861
|
+
const Jl = Le("editorInfo.foreground", { dark: "#3794FF", light: "#1a85ff", hcDark: "#3794FF", hcLight: "#1a85ff" }, A("editorInfo.foreground", "Foreground color of info squigglies in the editor.")), J_ = Le("editorInfo.border", { dark: null, light: null, hcDark: Ge.fromHex("#3794FF").transparent(0.8), hcLight: "#292929" }, A("infoBorder", "If set, color of double underlines for infos in the editor.")), Ggt = Le("editorHint.foreground", { dark: Ge.fromHex("#eeeeee").transparent(0.7), light: "#6c6c6c", hcDark: null, hcLight: null }, A("editorHint.foreground", "Foreground color of hint squigglies in the editor."));
|
|
192862
|
+
Le("editorHint.border", { dark: null, light: null, hcDark: Ge.fromHex("#eeeeee").transparent(0.8), hcLight: "#292929" }, A("hintBorder", "If set, color of double underlines for hints in the editor."));
|
|
192860
192863
|
Le("sash.hoverBorder", { dark: Xl, light: Xl, hcDark: Xl, hcLight: Xl }, A("sashActiveBorder", "Border color of active sashes."));
|
|
192861
|
-
const ls = Le("editor.background", { light: "#ffffff", dark: "#1E1E1E", hcDark:
|
|
192864
|
+
const ls = Le("editor.background", { light: "#ffffff", dark: "#1E1E1E", hcDark: Ge.black, hcLight: Ge.white }, A("editorBackground", "Editor background color.")), Gx = Le("editor.foreground", { light: "#333333", dark: "#BBBBBB", hcDark: Ge.white, hcLight: Rn }, A("editorForeground", "Editor default foreground color."));
|
|
192862
192865
|
Le("editorStickyScroll.background", { light: ls, dark: ls, hcDark: ls, hcLight: ls }, A("editorStickyScrollBackground", "Background color of sticky scroll in the editor"));
|
|
192863
|
-
Le("editorStickyScrollHover.background", { dark: "#2A2D2E", light: "#F0F0F0", hcDark: null, hcLight:
|
|
192866
|
+
Le("editorStickyScrollHover.background", { dark: "#2A2D2E", light: "#F0F0F0", hcDark: null, hcLight: Ge.fromHex("#0F4A85").transparent(0.1) }, A("editorStickyScrollHoverBackground", "Background color of sticky scroll on hover in the editor"));
|
|
192864
192867
|
Le("editorStickyScroll.border", { dark: null, light: null, hcDark: Gn, hcLight: Gn }, A("editorStickyScrollBorder", "Border color of sticky scroll in the editor"));
|
|
192865
192868
|
Le("editorStickyScroll.shadow", { dark: j5, light: j5, hcDark: j5, hcLight: j5 }, A("editorStickyScrollShadow", " Shadow color of sticky scroll in the editor"));
|
|
192866
|
-
const uo = Le("editorWidget.background", { dark: "#252526", light: "#F3F3F3", hcDark: "#0C141F", hcLight:
|
|
192869
|
+
const uo = Le("editorWidget.background", { dark: "#252526", light: "#F3F3F3", hcDark: "#0C141F", hcLight: Ge.white }, A("editorWidgetBackground", "Background color of editor widgets, such as find/replace.")), t0 = Le("editorWidget.foreground", { dark: Rn, light: Rn, hcDark: Rn, hcLight: Rn }, A("editorWidgetForeground", "Foreground color of editor widgets, such as find/replace.")), q5 = Le("editorWidget.border", { dark: "#454545", light: "#C8C8C8", hcDark: Gn, hcLight: Gn }, A("editorWidgetBorder", "Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget."));
|
|
192867
192870
|
Le("editorWidget.resizeBorder", { light: null, dark: null, hcDark: null, hcLight: null }, A("editorWidgetResizeBorder", "Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget."));
|
|
192868
|
-
const eY = Le("quickInput.background", { dark: uo, light: uo, hcDark: uo, hcLight: uo }, A("pickerBackground", "Quick picker background color. The quick picker widget is the container for pickers like the command palette.")), Qgt = Le("quickInput.foreground", { dark: t0, light: t0, hcDark: t0, hcLight: t0 }, A("pickerForeground", "Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")), Zgt = Le("quickInputTitle.background", { dark: new
|
|
192871
|
+
const eY = Le("quickInput.background", { dark: uo, light: uo, hcDark: uo, hcLight: uo }, A("pickerBackground", "Quick picker background color. The quick picker widget is the container for pickers like the command palette.")), Qgt = Le("quickInput.foreground", { dark: t0, light: t0, hcDark: t0, hcLight: t0 }, A("pickerForeground", "Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")), Zgt = Le("quickInputTitle.background", { dark: new Ge(new qn(255, 255, 255, 0.105)), light: new Ge(new qn(0, 0, 0, 0.06)), hcDark: "#000000", hcLight: Ge.white }, A("pickerTitleBackground", "Quick picker title background color. The quick picker widget is the container for pickers like the command palette.")), ede = Le("pickerGroup.foreground", { dark: "#3794FF", light: "#0066BF", hcDark: Ge.white, hcLight: "#0F4A85" }, A("pickerGroupForeground", "Quick picker color for grouping labels.")), Xgt = Le("pickerGroup.border", { dark: "#3F3F46", light: "#CCCEDB", hcDark: Ge.white, hcLight: "#0F4A85" }, A("pickerGroupBorder", "Quick picker color for grouping borders.")), Jgt = Le("keybindingLabel.background", { dark: new Ge(new qn(128, 128, 128, 0.17)), light: new Ge(new qn(221, 221, 221, 0.4)), hcDark: Ge.transparent, hcLight: Ge.transparent }, A("keybindingLabelBackground", "Keybinding label background color. The keybinding label is used to represent a keyboard shortcut.")), emt = Le("keybindingLabel.foreground", { dark: Ge.fromHex("#CCCCCC"), light: Ge.fromHex("#555555"), hcDark: Ge.white, hcLight: Rn }, A("keybindingLabelForeground", "Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut.")), tmt = Le("keybindingLabel.border", { dark: new Ge(new qn(51, 51, 51, 0.6)), light: new Ge(new qn(204, 204, 204, 0.4)), hcDark: new Ge(new qn(111, 195, 223)), hcLight: Gn }, A("keybindingLabelBorder", "Keybinding label border color. The keybinding label is used to represent a keyboard shortcut.")), nmt = Le("keybindingLabel.bottomBorder", { dark: new Ge(new qn(68, 68, 68, 0.6)), light: new Ge(new qn(187, 187, 187, 0.4)), hcDark: new Ge(new qn(111, 195, 223)), hcLight: Rn }, A("keybindingLabelBottomBorder", "Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut.")), vp = Le("editor.selectionBackground", { light: "#ADD6FF", dark: "#264F78", hcDark: "#f3f518", hcLight: "#0F4A85" }, A("editorSelectionBackground", "Color of the editor selection.")), imt = Le("editor.selectionForeground", { light: null, dark: null, hcDark: "#000000", hcLight: Ge.white }, A("editorSelectionForeground", "Color of the selected text for high contrast.")), tde = Le("editor.inactiveSelectionBackground", { light: Kt(vp, 0.5), dark: Kt(vp, 0.5), hcDark: Kt(vp, 0.7), hcLight: Kt(vp, 0.5) }, A("editorInactiveSelection", "Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."), !0), nde = Le("editor.selectionHighlightBackground", { light: cY(vp, ls, 0.3, 0.6), dark: cY(vp, ls, 0.3, 0.6), hcDark: null, hcLight: null }, A("editorSelectionHighlight", "Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
192869
192872
|
Le("editor.selectionHighlightBorder", { light: null, dark: null, hcDark: jr, hcLight: jr }, A("editorSelectionHighlightBorder", "Border color for regions with the same content as the selection."));
|
|
192870
192873
|
Le("editor.findMatchBackground", { light: "#A8AC94", dark: "#515C6A", hcDark: null, hcLight: null }, A("editorFindMatch", "Color of the current search match."));
|
|
192871
192874
|
const Hh = Le("editor.findMatchHighlightBackground", { light: "#EA5C0055", dark: "#EA5C0055", hcDark: null, hcLight: null }, A("findMatchHighlight", "Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
@@ -192881,8 +192884,8 @@ const tY = Le("editorHoverWidget.background", { light: uo, dark: uo, hcDark: uo,
|
|
|
192881
192884
|
Le("editorHoverWidget.foreground", { light: t0, dark: t0, hcDark: t0, hcLight: t0 }, A("hoverForeground", "Foreground color of the editor hover."));
|
|
192882
192885
|
const rmt = Le("editorHoverWidget.border", { light: q5, dark: q5, hcDark: q5, hcLight: q5 }, A("hoverBorder", "Border color of the editor hover."));
|
|
192883
192886
|
Le("editorHoverWidget.statusBarBackground", { dark: O1(tY, 0.2), light: _4(tY, 0.05), hcDark: uo, hcLight: uo }, A("statusBarBackground", "Background color of the editor hover status bar."));
|
|
192884
|
-
Le("editorLink.activeForeground", { dark: "#4E94CE", light:
|
|
192885
|
-
const jh = Le("editorInlayHint.foreground", { dark: "#969696", light: "#969696", hcDark:
|
|
192887
|
+
Le("editorLink.activeForeground", { dark: "#4E94CE", light: Ge.blue, hcDark: Ge.cyan, hcLight: "#292929" }, A("activeLinkForeground", "Color of active links."));
|
|
192888
|
+
const jh = Le("editorInlayHint.foreground", { dark: "#969696", light: "#969696", hcDark: Ge.white, hcLight: Ge.black }, A("editorInlayHintForeground", "Foreground color of inline hints")), Wh = Le("editorInlayHint.background", { dark: Kt(dy, 0.1), light: Kt(dy, 0.1), hcDark: Kt(Ge.white, 0.1), hcLight: Kt(dy, 0.1) }, A("editorInlayHintBackground", "Background color of inline hints"));
|
|
192886
192889
|
Le("editorInlayHint.typeForeground", { dark: jh, light: jh, hcDark: jh, hcLight: jh }, A("editorInlayHintForegroundTypes", "Foreground color of inline hints for types"));
|
|
192887
192890
|
Le("editorInlayHint.typeBackground", { dark: Wh, light: Wh, hcDark: Wh, hcLight: Wh }, A("editorInlayHintBackgroundTypes", "Background color of inline hints for types"));
|
|
192888
192891
|
Le("editorInlayHint.parameterForeground", { dark: jh, light: jh, hcDark: jh, hcLight: jh }, A("editorInlayHintForegroundParameter", "Foreground color of inline hints for parameters"));
|
|
@@ -192890,7 +192893,7 @@ Le("editorInlayHint.parameterBackground", { dark: Wh, light: Wh, hcDark: Wh, hcL
|
|
|
192890
192893
|
const Vv = Le("editorLightBulb.foreground", { dark: "#FFCC00", light: "#DDB100", hcDark: "#FFCC00", hcLight: "#007ACC" }, A("editorLightBulbForeground", "The color used for the lightbulb actions icon."));
|
|
192891
192894
|
Le("editorLightBulbAutoFix.foreground", { dark: "#75BEFF", light: "#007ACC", hcDark: "#75BEFF", hcLight: "#007ACC" }, A("editorLightBulbAutoFixForeground", "The color used for the lightbulb auto fix actions icon."));
|
|
192892
192895
|
Le("editorLightBulbAi.foreground", { dark: Vv, light: Vv, hcDark: Vv, hcLight: Vv }, A("editorLightBulbAiForeground", "The color used for the lightbulb AI icon."));
|
|
192893
|
-
const VT = new
|
|
192896
|
+
const VT = new Ge(new qn(155, 185, 85, 0.2)), HT = new Ge(new qn(255, 0, 0, 0.2)), omt = Le("diffEditor.insertedTextBackground", { dark: "#9ccc2c33", light: "#9ccc2c40", hcDark: null, hcLight: null }, A("diffEditorInserted", "Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."), !0), smt = Le("diffEditor.removedTextBackground", { dark: "#ff000033", light: "#ff000033", hcDark: null, hcLight: null }, A("diffEditorRemoved", "Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
192894
192897
|
Le("diffEditor.insertedLineBackground", { dark: VT, light: VT, hcDark: null, hcLight: null }, A("diffEditorInsertedLines", "Background color for lines that got inserted. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
192895
192898
|
Le("diffEditor.removedLineBackground", { dark: HT, light: HT, hcDark: null, hcLight: null }, A("diffEditorRemovedLines", "Background color for lines that got removed. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
192896
192899
|
Le("diffEditorGutter.insertedLineBackground", { dark: null, light: null, hcDark: null, hcLight: null }, A("diffEditorInsertedLineGutter", "Background color for the margin where lines got inserted."));
|
|
@@ -192903,12 +192906,12 @@ Le("diffEditor.diagonalFill", { dark: "#cccccc33", light: "#22222233", hcDark: n
|
|
|
192903
192906
|
Le("diffEditor.unchangedRegionBackground", { dark: "sideBar.background", light: "sideBar.background", hcDark: "sideBar.background", hcLight: "sideBar.background" }, A("diffEditor.unchangedRegionBackground", "The background color of unchanged blocks in the diff editor."));
|
|
192904
192907
|
Le("diffEditor.unchangedRegionForeground", { dark: "foreground", light: "foreground", hcDark: "foreground", hcLight: "foreground" }, A("diffEditor.unchangedRegionForeground", "The foreground color of unchanged blocks in the diff editor."));
|
|
192905
192908
|
Le("diffEditor.unchangedCodeBackground", { dark: "#74747429", light: "#b8b8b829", hcDark: null, hcLight: null }, A("diffEditor.unchangedCodeBackground", "The background color of unchanged code in the diff editor."));
|
|
192906
|
-
const umt = Le("list.focusBackground", { dark: null, light: null, hcDark: null, hcLight: null }, A("listFocusBackground", "List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")), cmt = Le("list.focusForeground", { dark: null, light: null, hcDark: null, hcLight: null }, A("listFocusForeground", "List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")), dmt = Le("list.focusOutline", { dark: Xl, light: Xl, hcDark: jr, hcLight: jr }, A("listFocusOutline", "List/Tree outline color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")), hmt = Le("list.focusAndSelectionOutline", { dark: null, light: null, hcDark: null, hcLight: null }, A("listFocusAndSelectionOutline", "List/Tree outline color for the focused item when the list/tree is active and selected. An active list/tree has keyboard focus, an inactive does not.")), n0 = Le("list.activeSelectionBackground", { dark: "#04395E", light: "#0060C0", hcDark: null, hcLight:
|
|
192909
|
+
const umt = Le("list.focusBackground", { dark: null, light: null, hcDark: null, hcLight: null }, A("listFocusBackground", "List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")), cmt = Le("list.focusForeground", { dark: null, light: null, hcDark: null, hcLight: null }, A("listFocusForeground", "List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")), dmt = Le("list.focusOutline", { dark: Xl, light: Xl, hcDark: jr, hcLight: jr }, A("listFocusOutline", "List/Tree outline color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")), hmt = Le("list.focusAndSelectionOutline", { dark: null, light: null, hcDark: null, hcLight: null }, A("listFocusAndSelectionOutline", "List/Tree outline color for the focused item when the list/tree is active and selected. An active list/tree has keyboard focus, an inactive does not.")), n0 = Le("list.activeSelectionBackground", { dark: "#04395E", light: "#0060C0", hcDark: null, hcLight: Ge.fromHex("#0F4A85").transparent(0.1) }, A("listActiveSelectionBackground", "List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")), Fc = Le("list.activeSelectionForeground", { dark: Ge.white, light: Ge.white, hcDark: null, hcLight: null }, A("listActiveSelectionForeground", "List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")), K5 = Le("list.activeSelectionIconForeground", { dark: null, light: null, hcDark: null, hcLight: null }, A("listActiveSelectionIconForeground", "List/Tree icon foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")), fmt = Le("list.inactiveSelectionBackground", { dark: "#37373D", light: "#E4E6F1", hcDark: null, hcLight: Ge.fromHex("#0F4A85").transparent(0.1) }, A("listInactiveSelectionBackground", "List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")), pmt = Le("list.inactiveSelectionForeground", { dark: null, light: null, hcDark: null, hcLight: null }, A("listInactiveSelectionForeground", "List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")), gmt = Le("list.inactiveSelectionIconForeground", { dark: null, light: null, hcDark: null, hcLight: null }, A("listInactiveSelectionIconForeground", "List/Tree icon foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")), mmt = Le("list.inactiveFocusBackground", { dark: null, light: null, hcDark: null, hcLight: null }, A("listInactiveFocusBackground", "List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")), vmt = Le("list.inactiveFocusOutline", { dark: null, light: null, hcDark: null, hcLight: null }, A("listInactiveFocusOutline", "List/Tree outline color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")), ide = Le("list.hoverBackground", { dark: "#2A2D2E", light: "#F0F0F0", hcDark: Ge.white.transparent(0.1), hcLight: Ge.fromHex("#0F4A85").transparent(0.1) }, A("listHoverBackground", "List/Tree background when hovering over items using the mouse.")), rde = Le("list.hoverForeground", { dark: null, light: null, hcDark: null, hcLight: null }, A("listHoverForeground", "List/Tree foreground when hovering over items using the mouse.")), bmt = Le("list.dropBackground", { dark: "#062F4A", light: "#D6EBFF", hcDark: null, hcLight: null }, A("listDropBackground", "List/Tree drag and drop background when moving items over other items when using the mouse.")), ymt = Le("list.dropBetweenBackground", { dark: gp, light: gp, hcDark: null, hcLight: null }, A("listDropBetweenBackground", "List/Tree drag and drop border color when moving items between items when using the mouse.")), Hv = Le("list.highlightForeground", { dark: "#2AAAFF", light: "#0066BF", hcDark: Xl, hcLight: Xl }, A("highlight", "List/Tree foreground color of the match highlights when searching inside the list/tree."));
|
|
192907
192910
|
Le("list.focusHighlightForeground", { dark: Hv, light: Gmt(n0, Hv, "#BBE7FF"), hcDark: Hv, hcLight: Hv }, A("listFocusHighlightForeground", "List/Tree foreground color of the match highlights on actively focused items when searching inside the list/tree."));
|
|
192908
192911
|
Le("list.invalidItemForeground", { dark: "#B89500", light: "#B89500", hcDark: "#B89500", hcLight: "#B5200D" }, A("invalidItemForeground", "List/Tree foreground color for invalid items, for example an unresolved root in explorer."));
|
|
192909
192912
|
Le("list.errorForeground", { dark: "#F88070", light: "#B01011", hcDark: null, hcLight: null }, A("listErrorForeground", "Foreground color of list items containing errors."));
|
|
192910
192913
|
Le("list.warningForeground", { dark: "#CCA700", light: "#855F00", hcDark: null, hcLight: null }, A("listWarningForeground", "Foreground color of list items containing warnings."));
|
|
192911
|
-
const _mt = Le("listFilterWidget.background", { light: _4(uo, 0), dark: O1(uo, 0), hcDark: uo, hcLight: uo }, A("listFilterWidgetBackground", "Background color of the type filter widget in lists and trees.")), wmt = Le("listFilterWidget.outline", { dark:
|
|
192914
|
+
const _mt = Le("listFilterWidget.background", { light: _4(uo, 0), dark: O1(uo, 0), hcDark: uo, hcLight: uo }, A("listFilterWidgetBackground", "Background color of the type filter widget in lists and trees.")), wmt = Le("listFilterWidget.outline", { dark: Ge.transparent, light: Ge.transparent, hcDark: "#f38518", hcLight: "#007ACC" }, A("listFilterWidgetOutline", "Outline color of the type filter widget in lists and trees.")), Cmt = Le("listFilterWidget.noMatchesOutline", { dark: "#BE1100", light: "#BE1100", hcDark: Gn, hcLight: Gn }, A("listFilterWidgetNoMatchesOutline", "Outline color of the type filter widget in lists and trees, when there are no matches.")), xmt = Le("listFilterWidget.shadow", { dark: Vh, light: Vh, hcDark: Vh, hcLight: Vh }, A("listFilterWidgetShadow", "Shadow color of the type filter widget in lists and trees."));
|
|
192912
192915
|
Le("list.filterMatchBackground", { dark: Hh, light: Hh, hcDark: null, hcLight: null }, A("listFilterMatchHighlight", "Background color of the filtered match."));
|
|
192913
192916
|
Le("list.filterMatchBorder", { dark: bp, light: bp, hcDark: Gn, hcLight: jr }, A("listFilterMatchHighlightBorder", "Border color of the filtered match."));
|
|
192914
192917
|
const Y5 = Le("tree.indentGuidesStroke", { dark: "#585858", light: "#a9a9a9", hcDark: "#a9a9a9", hcLight: "#a5a5a5" }, A("treeIndentGuidesStroke", "Tree stroke color for the indentation guides.")), Smt = Le("tree.inactiveIndentGuidesStroke", { dark: Kt(Y5, 0.4), light: Kt(Y5, 0.4), hcDark: Kt(Y5, 0.4), hcLight: Kt(Y5, 0.4) }, A("treeInactiveIndentGuidesStroke", "Tree stroke color for the indentation guides that are not active.")), Dmt = Le("tree.tableColumnsBorder", { dark: "#CCCCCC20", light: "#61616120", hcDark: null, hcLight: null }, A("tableColumnsBorder", "Table border color between columns.")), Nmt = Le("tree.tableOddRowsBackground", { dark: Kt(Rn, 0.04), light: Kt(Rn, 0.04), hcDark: null, hcLight: null }, A("tableOddRowsBackgroundColor", "Background color for odd table rows."));
|
|
@@ -192920,13 +192923,13 @@ Le("checkbox.selectBorder", { dark: gp, light: gp, hcDark: gp, hcLight: gp }, A(
|
|
|
192920
192923
|
const nY = Le("quickInput.list.focusBackground", { dark: null, light: null, hcDark: null, hcLight: null }, "", void 0, A("quickInput.list.focusBackground deprecation", "Please use quickInputList.focusBackground instead")), jT = Le("quickInputList.focusForeground", { dark: Fc, light: Fc, hcDark: Fc, hcLight: Fc }, A("quickInput.listFocusForeground", "Quick picker foreground color for the focused item.")), ode = Le("quickInputList.focusIconForeground", { dark: K5, light: K5, hcDark: K5, hcLight: K5 }, A("quickInput.listFocusIconForeground", "Quick picker icon foreground color for the focused item.")), WT = Le("quickInputList.focusBackground", { dark: uY(nY, n0), light: uY(nY, n0), hcDark: null, hcLight: null }, A("quickInput.listFocusBackground", "Quick picker background color for the focused item.")), Tmt = Le("menu.border", { dark: null, light: null, hcDark: Gn, hcLight: Gn }, A("menuBorder", "Border color of menus.")), Amt = Le("menu.foreground", { dark: Jd, light: Jd, hcDark: Jd, hcLight: Jd }, A("menuForeground", "Foreground color of menu items.")), kmt = Le("menu.background", { dark: Rc, light: Rc, hcDark: Rc, hcLight: Rc }, A("menuBackground", "Background color of menu items.")), Imt = Le("menu.selectionForeground", { dark: Fc, light: Fc, hcDark: Fc, hcLight: Fc }, A("menuSelectionForeground", "Foreground color of the selected menu item in menus.")), Omt = Le("menu.selectionBackground", { dark: n0, light: n0, hcDark: n0, hcLight: n0 }, A("menuSelectionBackground", "Background color of the selected menu item in menus.")), Rmt = Le("menu.selectionBorder", { dark: null, light: null, hcDark: jr, hcLight: jr }, A("menuSelectionBorder", "Border color of the selected menu item in menus.")), Fmt = Le("menu.separatorBackground", { dark: "#606060", light: "#D4D4D4", hcDark: Gn, hcLight: Gn }, A("menuSeparatorBackground", "Color of a separator menu item in menus.")), iY = Le("toolbar.hoverBackground", { dark: "#5a5d5e50", light: "#b8b8b850", hcDark: null, hcLight: null }, A("toolbarHoverBackground", "Toolbar background when hovering over actions using the mouse"));
|
|
192921
192924
|
Le("toolbar.hoverOutline", { dark: null, light: null, hcDark: jr, hcLight: jr }, A("toolbarHoverOutline", "Toolbar outline when hovering over actions using the mouse"));
|
|
192922
192925
|
Le("toolbar.activeBackground", { dark: O1(iY, 0.1), light: _4(iY, 0.1), hcDark: null, hcLight: null }, A("toolbarActiveBackground", "Toolbar background when holding the mouse over actions"));
|
|
192923
|
-
Le("editor.snippetTabstopHighlightBackground", { dark: new
|
|
192926
|
+
Le("editor.snippetTabstopHighlightBackground", { dark: new Ge(new qn(124, 124, 124, 0.3)), light: new Ge(new qn(10, 50, 100, 0.2)), hcDark: new Ge(new qn(124, 124, 124, 0.3)), hcLight: new Ge(new qn(10, 50, 100, 0.2)) }, A("snippetTabstopHighlightBackground", "Highlight background color of a snippet tabstop."));
|
|
192924
192927
|
Le("editor.snippetTabstopHighlightBorder", { dark: null, light: null, hcDark: null, hcLight: null }, A("snippetTabstopHighlightBorder", "Highlight border color of a snippet tabstop."));
|
|
192925
192928
|
Le("editor.snippetFinalTabstopHighlightBackground", { dark: null, light: null, hcDark: null, hcLight: null }, A("snippetFinalTabstopHighlightBackground", "Highlight background color of the final tabstop of a snippet."));
|
|
192926
|
-
Le("editor.snippetFinalTabstopHighlightBorder", { dark: "#525252", light: new
|
|
192929
|
+
Le("editor.snippetFinalTabstopHighlightBorder", { dark: "#525252", light: new Ge(new qn(10, 50, 100, 0.5)), hcDark: "#525252", hcLight: "#292929" }, A("snippetFinalTabstopHighlightBorder", "Highlight border color of the final tabstop of a snippet."));
|
|
192927
192930
|
const Pmt = Le("breadcrumb.foreground", { light: Kt(Rn, 0.8), dark: Kt(Rn, 0.8), hcDark: Kt(Rn, 0.8), hcLight: Kt(Rn, 0.8) }, A("breadcrumbsFocusForeground", "Color of focused breadcrumb items.")), Bmt = Le("breadcrumb.background", { light: ls, dark: ls, hcDark: ls, hcLight: ls }, A("breadcrumbsBackground", "Background color of breadcrumb items.")), rY = Le("breadcrumb.focusForeground", { light: _4(Rn, 0.2), dark: O1(Rn, 0.1), hcDark: O1(Rn, 0.1), hcLight: O1(Rn, 0.1) }, A("breadcrumbsFocusForeground", "Color of focused breadcrumb items.")), zmt = Le("breadcrumb.activeSelectionForeground", { light: _4(Rn, 0.2), dark: O1(Rn, 0.1), hcDark: O1(Rn, 0.1), hcLight: O1(Rn, 0.1) }, A("breadcrumbsSelectedForeground", "Color of selected breadcrumb items."));
|
|
192928
192931
|
Le("breadcrumbPicker.background", { light: uo, dark: uo, hcDark: uo, hcLight: uo }, A("breadcrumbsSelectedBackground", "Background color of breadcrumb item picker."));
|
|
192929
|
-
const sde = 0.5, oY =
|
|
192932
|
+
const sde = 0.5, oY = Ge.fromHex("#40C8AE").transparent(sde), sY = Ge.fromHex("#40A6FF").transparent(sde), aY = Ge.fromHex("#606060").transparent(0.4), Mu = 0.4, Ug = 1, yp = Le("merge.currentHeaderBackground", { dark: oY, light: oY, hcDark: null, hcLight: null }, A("mergeCurrentHeaderBackground", "Current header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
192930
192933
|
Le("merge.currentContentBackground", { dark: Kt(yp, Mu), light: Kt(yp, Mu), hcDark: Kt(yp, Mu), hcLight: Kt(yp, Mu) }, A("mergeCurrentContentBackground", "Current content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
192931
192934
|
const _p = Le("merge.incomingHeaderBackground", { dark: sY, light: sY, hcDark: null, hcLight: null }, A("mergeIncomingHeaderBackground", "Incoming header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
192932
192935
|
Le("merge.incomingContentBackground", { dark: Kt(_p, Mu), light: Kt(_p, Mu), hcDark: Kt(_p, Mu), hcLight: Kt(_p, Mu) }, A("mergeIncomingContentBackground", "Incoming content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
@@ -192940,7 +192943,7 @@ Le("editorOverviewRuler.findMatchForeground", { dark: "#d186167e", light: "#d186
|
|
|
192940
192943
|
Le("editorOverviewRuler.selectionHighlightForeground", { dark: "#A0A0A0CC", light: "#A0A0A0CC", hcDark: "#A0A0A0CC", hcLight: "#A0A0A0CC" }, A("overviewRulerSelectionHighlightForeground", "Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
192941
192944
|
const jv = Le("minimap.findMatchHighlight", { light: "#d18616", dark: "#d18616", hcDark: "#AB5A00", hcLight: "#0F4A85" }, A("minimapFindMatchHighlight", "Minimap marker color for find matches."), !0);
|
|
192942
192945
|
Le("minimap.selectionOccurrenceHighlight", { light: "#c9c9c9", dark: "#676767", hcDark: "#ffffff", hcLight: "#0F4A85" }, A("minimapSelectionOccurrenceHighlight", "Minimap marker color for repeating editor selections."), !0);
|
|
192943
|
-
const lY = Le("minimap.selectionHighlight", { light: "#ADD6FF", dark: "#264F78", hcDark: "#ffffff", hcLight: "#0F4A85" }, A("minimapSelectionHighlight", "Minimap marker color for the editor selection."), !0), Vmt = Le("minimap.infoHighlight", { dark: Jl, light: Jl, hcDark: J_, hcLight: J_ }, A("minimapInfo", "Minimap marker color for infos.")), Hmt = Le("minimap.warningHighlight", { dark: qs, light: qs, hcDark: X_, hcLight: X_ }, A("overviewRuleWarning", "Minimap marker color for warnings.")), jmt = Le("minimap.errorHighlight", { dark: new
|
|
192946
|
+
const lY = Le("minimap.selectionHighlight", { light: "#ADD6FF", dark: "#264F78", hcDark: "#ffffff", hcLight: "#0F4A85" }, A("minimapSelectionHighlight", "Minimap marker color for the editor selection."), !0), Vmt = Le("minimap.infoHighlight", { dark: Jl, light: Jl, hcDark: J_, hcLight: J_ }, A("minimapInfo", "Minimap marker color for infos.")), Hmt = Le("minimap.warningHighlight", { dark: qs, light: qs, hcDark: X_, hcLight: X_ }, A("overviewRuleWarning", "Minimap marker color for warnings.")), jmt = Le("minimap.errorHighlight", { dark: new Ge(new qn(255, 18, 18, 0.7)), light: new Ge(new qn(255, 18, 18, 0.7)), hcDark: new Ge(new qn(255, 50, 50, 1)), hcLight: "#B5200D" }, A("minimapError", "Minimap marker color for errors.")), Wmt = Le("minimap.background", { dark: null, light: null, hcDark: null, hcLight: null }, A("minimapBackground", "Minimap background color.")), $mt = Le("minimap.foregroundOpacity", { dark: Ge.fromHex("#000f"), light: Ge.fromHex("#000f"), hcDark: Ge.fromHex("#000f"), hcLight: Ge.fromHex("#000f") }, A("minimapForegroundOpacity", 'Opacity of foreground elements rendered in the minimap. For example, "#000000c0" will render the elements with 75% opacity.'));
|
|
192944
192947
|
Le("minimapSlider.background", { light: Kt(W5, 0.5), dark: Kt(W5, 0.5), hcDark: Kt(W5, 0.5), hcLight: Kt(W5, 0.5) }, A("minimapSliderBackground", "Minimap slider background color."));
|
|
192945
192948
|
Le("minimapSlider.hoverBackground", { light: Kt($5, 0.5), dark: Kt($5, 0.5), hcDark: Kt($5, 0.5), hcLight: Kt($5, 0.5) }, A("minimapSliderHoverBackground", "Minimap slider background color when hovering."));
|
|
192946
192949
|
Le("minimapSlider.activeBackground", { light: Kt(U5, 0.5), dark: Kt(U5, 0.5), hcDark: Kt(U5, 0.5), hcLight: Kt(U5, 0.5) }, A("minimapSliderActiveBackground", "Minimap slider background color when clicked on."));
|
|
@@ -192980,7 +192983,7 @@ function Ymt(n, e) {
|
|
|
192980
192983
|
if (!s)
|
|
192981
192984
|
return;
|
|
192982
192985
|
const a = u1(n.background, e);
|
|
192983
|
-
return a ? s.isDarkerThan(a) ?
|
|
192986
|
+
return a ? s.isDarkerThan(a) ? Ge.getLighterColor(s, a, n.factor).transparent(n.transparency) : Ge.getDarkerColor(s, a, n.factor).transparent(n.transparency) : s.transparent(n.factor * n.transparency);
|
|
192984
192987
|
}
|
|
192985
192988
|
default:
|
|
192986
192989
|
throw JR();
|
|
@@ -193007,8 +193010,8 @@ function cY(n, e, t, i) {
|
|
|
193007
193010
|
function u1(n, e) {
|
|
193008
193011
|
if (n !== null) {
|
|
193009
193012
|
if (typeof n == "string")
|
|
193010
|
-
return n[0] === "#" ?
|
|
193011
|
-
if (n instanceof
|
|
193013
|
+
return n[0] === "#" ? Ge.fromHex(n) : e.getColor(n);
|
|
193014
|
+
if (n instanceof Ge)
|
|
193012
193015
|
return n;
|
|
193013
193016
|
if (typeof n == "object")
|
|
193014
193017
|
return Ymt(n, e);
|
|
@@ -196477,23 +196480,23 @@ Le("editor.rangeHighlightBackground", { dark: "#ffffff0b", light: "#fdff0033", h
|
|
|
196477
196480
|
Le("editor.rangeHighlightBorder", { dark: null, light: null, hcDark: jr, hcLight: jr }, A("rangeHighlightBorder", "Background color of the border around highlighted ranges."), !0);
|
|
196478
196481
|
Le("editor.symbolHighlightBackground", { dark: Hh, light: Hh, hcDark: null, hcLight: null }, A("symbolHighlight", "Background color of highlighted symbol, like for go to definition or go next/previous symbol. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
196479
196482
|
Le("editor.symbolHighlightBorder", { dark: null, light: null, hcDark: jr, hcLight: jr }, A("symbolHighlightBorder", "Background color of the border around highlighted symbols."), !0);
|
|
196480
|
-
const bde = Le("editorCursor.foreground", { dark: "#AEAFAD", light:
|
|
196483
|
+
const bde = Le("editorCursor.foreground", { dark: "#AEAFAD", light: Ge.black, hcDark: Ge.white, hcLight: "#0F4A85" }, A("caret", "Color of the editor cursor.")), P5t = Le("editorCursor.background", null, A("editorCursorBackground", "The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.")), i0 = Le("editorWhitespace.foreground", { dark: "#e3e4e229", light: "#33333333", hcDark: "#e3e4e229", hcLight: "#CCCCCC" }, A("editorWhitespaces", "Color of whitespace characters in the editor.")), B5t = Le("editorLineNumber.foreground", { dark: "#858585", light: "#237893", hcDark: Ge.white, hcLight: "#292929" }, A("editorLineNumbers", "Color of editor line numbers.")), $v = Le("editorIndentGuide.background", { dark: i0, light: i0, hcDark: i0, hcLight: i0 }, A("editorIndentGuides", "Color of the editor indentation guides."), !1, A("deprecatedEditorIndentGuides", "'editorIndentGuide.background' is deprecated. Use 'editorIndentGuide.background1' instead.")), Uv = Le("editorIndentGuide.activeBackground", { dark: i0, light: i0, hcDark: i0, hcLight: i0 }, A("editorActiveIndentGuide", "Color of the active editor indentation guides."), !1, A("deprecatedEditorActiveIndentGuide", "'editorIndentGuide.activeBackground' is deprecated. Use 'editorIndentGuide.activeBackground1' instead.")), u7 = Le("editorIndentGuide.background1", { dark: $v, light: $v, hcDark: $v, hcLight: $v }, A("editorIndentGuides1", "Color of the editor indentation guides (1).")), z5t = Le("editorIndentGuide.background2", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, A("editorIndentGuides2", "Color of the editor indentation guides (2).")), V5t = Le("editorIndentGuide.background3", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, A("editorIndentGuides3", "Color of the editor indentation guides (3).")), H5t = Le("editorIndentGuide.background4", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, A("editorIndentGuides4", "Color of the editor indentation guides (4).")), j5t = Le("editorIndentGuide.background5", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, A("editorIndentGuides5", "Color of the editor indentation guides (5).")), W5t = Le("editorIndentGuide.background6", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, A("editorIndentGuides6", "Color of the editor indentation guides (6).")), c7 = Le("editorIndentGuide.activeBackground1", { dark: Uv, light: Uv, hcDark: Uv, hcLight: Uv }, A("editorActiveIndentGuide1", "Color of the active editor indentation guides (1).")), $5t = Le("editorIndentGuide.activeBackground2", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, A("editorActiveIndentGuide2", "Color of the active editor indentation guides (2).")), U5t = Le("editorIndentGuide.activeBackground3", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, A("editorActiveIndentGuide3", "Color of the active editor indentation guides (3).")), q5t = Le("editorIndentGuide.activeBackground4", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, A("editorActiveIndentGuide4", "Color of the active editor indentation guides (4).")), K5t = Le("editorIndentGuide.activeBackground5", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, A("editorActiveIndentGuide5", "Color of the active editor indentation guides (5).")), Y5t = Le("editorIndentGuide.activeBackground6", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, A("editorActiveIndentGuide6", "Color of the active editor indentation guides (6).")), qv = Le("editorActiveLineNumber.foreground", { dark: "#c6c6c6", light: "#0B216F", hcDark: jr, hcLight: jr }, A("editorActiveLineNumber", "Color of editor active line number"), !1, A("deprecatedEditorActiveLineNumber", "Id is deprecated. Use 'editorLineNumber.activeForeground' instead."));
|
|
196481
196484
|
Le("editorLineNumber.activeForeground", { dark: qv, light: qv, hcDark: qv, hcLight: qv }, A("editorActiveLineNumber", "Color of editor active line number"));
|
|
196482
196485
|
const G5t = Le("editorLineNumber.dimmedForeground", { dark: null, light: null, hcDark: null, hcLight: null }, A("editorDimmedLineNumber", "Color of the final editor line when editor.renderFinalNewline is set to dimmed."));
|
|
196483
|
-
Le("editorRuler.foreground", { dark: "#5A5A5A", light:
|
|
196486
|
+
Le("editorRuler.foreground", { dark: "#5A5A5A", light: Ge.lightgrey, hcDark: Ge.white, hcLight: "#292929" }, A("editorRuler", "Color of the editor rulers."));
|
|
196484
196487
|
Le("editorCodeLens.foreground", { dark: "#999999", light: "#919191", hcDark: "#999999", hcLight: "#292929" }, A("editorCodeLensForeground", "Foreground color of editor CodeLens"));
|
|
196485
196488
|
Le("editorBracketMatch.background", { dark: "#0064001a", light: "#0064001a", hcDark: "#0064001a", hcLight: "#0000" }, A("editorBracketMatchBackground", "Background color behind matching brackets"));
|
|
196486
196489
|
Le("editorBracketMatch.border", { dark: "#888", light: "#B9B9B9", hcDark: Gn, hcLight: Gn }, A("editorBracketMatchBorder", "Color for matching brackets boxes"));
|
|
196487
196490
|
const Q5t = Le("editorOverviewRuler.border", { dark: "#7f7f7f4d", light: "#7f7f7f4d", hcDark: "#7f7f7f4d", hcLight: "#666666" }, A("editorOverviewRulerBorder", "Color of the overview ruler border.")), Z5t = Le("editorOverviewRuler.background", null, A("editorOverviewRulerBackground", "Background color of the editor overview ruler."));
|
|
196488
196491
|
Le("editorGutter.background", { dark: ls, light: ls, hcDark: ls, hcLight: ls }, A("editorGutter", "Background color of the editor gutter. The gutter contains the glyph margins and the line numbers."));
|
|
196489
|
-
Le("editorUnnecessaryCode.border", { dark: null, light: null, hcDark:
|
|
196490
|
-
const X5t = Le("editorUnnecessaryCode.opacity", { dark:
|
|
196491
|
-
Le("editorGhostText.border", { dark: null, light: null, hcDark:
|
|
196492
|
-
Le("editorGhostText.foreground", { dark:
|
|
196492
|
+
Le("editorUnnecessaryCode.border", { dark: null, light: null, hcDark: Ge.fromHex("#fff").transparent(0.8), hcLight: Gn }, A("unnecessaryCodeBorder", "Border color of unnecessary (unused) source code in the editor."));
|
|
196493
|
+
const X5t = Le("editorUnnecessaryCode.opacity", { dark: Ge.fromHex("#000a"), light: Ge.fromHex("#0007"), hcDark: null, hcLight: null }, A("unnecessaryCodeOpacity", `Opacity of unnecessary (unused) source code in the editor. For example, "#000000c0" will render the code with 75% opacity. For high contrast themes, use the 'editorUnnecessaryCode.border' theme color to underline unnecessary code instead of fading it out.`));
|
|
196494
|
+
Le("editorGhostText.border", { dark: null, light: null, hcDark: Ge.fromHex("#fff").transparent(0.8), hcLight: Ge.fromHex("#292929").transparent(0.8) }, A("editorGhostTextBorder", "Border color of ghost text in the editor."));
|
|
196495
|
+
Le("editorGhostText.foreground", { dark: Ge.fromHex("#ffffff56"), light: Ge.fromHex("#0007"), hcDark: null, hcLight: null }, A("editorGhostTextForeground", "Foreground color of the ghost text in the editor."));
|
|
196493
196496
|
Le("editorGhostText.background", { dark: null, light: null, hcDark: null, hcLight: null }, A("editorGhostTextBackground", "Background color of the ghost text in the editor."));
|
|
196494
|
-
const Kv = new
|
|
196497
|
+
const Kv = new Ge(new qn(0, 122, 204, 0.6));
|
|
196495
196498
|
Le("editorOverviewRuler.rangeHighlightForeground", { dark: Kv, light: Kv, hcDark: Kv, hcLight: Kv }, A("overviewRulerRangeHighlight", "Overview ruler marker color for range highlights. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
196496
|
-
const J5t = Le("editorOverviewRuler.errorForeground", { dark: new
|
|
196499
|
+
const J5t = Le("editorOverviewRuler.errorForeground", { dark: new Ge(new qn(255, 18, 18, 0.7)), light: new Ge(new qn(255, 18, 18, 0.7)), hcDark: new Ge(new qn(255, 50, 50, 1)), hcLight: "#B5200D" }, A("overviewRuleError", "Overview ruler marker color for errors.")), e9t = Le("editorOverviewRuler.warningForeground", { dark: qs, light: qs, hcDark: X_, hcLight: X_ }, A("overviewRuleWarning", "Overview ruler marker color for warnings.")), t9t = Le("editorOverviewRuler.infoForeground", { dark: Jl, light: Jl, hcDark: J_, hcLight: J_ }, A("overviewRuleInfo", "Overview ruler marker color for infos.")), yde = Le("editorBracketHighlight.foreground1", { dark: "#FFD700", light: "#0431FAFF", hcDark: "#FFD700", hcLight: "#0431FAFF" }, A("editorBracketHighlightForeground1", "Foreground color of brackets (1). Requires enabling bracket pair colorization.")), _de = Le("editorBracketHighlight.foreground2", { dark: "#DA70D6", light: "#319331FF", hcDark: "#DA70D6", hcLight: "#319331FF" }, A("editorBracketHighlightForeground2", "Foreground color of brackets (2). Requires enabling bracket pair colorization.")), wde = Le("editorBracketHighlight.foreground3", { dark: "#179FFF", light: "#7B3814FF", hcDark: "#87CEFA", hcLight: "#7B3814FF" }, A("editorBracketHighlightForeground3", "Foreground color of brackets (3). Requires enabling bracket pair colorization.")), Cde = Le("editorBracketHighlight.foreground4", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, A("editorBracketHighlightForeground4", "Foreground color of brackets (4). Requires enabling bracket pair colorization.")), xde = Le("editorBracketHighlight.foreground5", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, A("editorBracketHighlightForeground5", "Foreground color of brackets (5). Requires enabling bracket pair colorization.")), Sde = Le("editorBracketHighlight.foreground6", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, A("editorBracketHighlightForeground6", "Foreground color of brackets (6). Requires enabling bracket pair colorization.")), n9t = Le("editorBracketHighlight.unexpectedBracket.foreground", { dark: new Ge(new qn(255, 18, 18, 0.8)), light: new Ge(new qn(255, 18, 18, 0.8)), hcDark: new Ge(new qn(255, 50, 50, 1)), hcLight: "" }, A("editorBracketHighlightUnexpectedBracketForeground", "Foreground color of unexpected brackets.")), i9t = Le("editorBracketPairGuide.background1", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, A("editorBracketPairGuide.background1", "Background color of inactive bracket pair guides (1). Requires enabling bracket pair guides.")), r9t = Le("editorBracketPairGuide.background2", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, A("editorBracketPairGuide.background2", "Background color of inactive bracket pair guides (2). Requires enabling bracket pair guides.")), o9t = Le("editorBracketPairGuide.background3", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, A("editorBracketPairGuide.background3", "Background color of inactive bracket pair guides (3). Requires enabling bracket pair guides.")), s9t = Le("editorBracketPairGuide.background4", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, A("editorBracketPairGuide.background4", "Background color of inactive bracket pair guides (4). Requires enabling bracket pair guides.")), a9t = Le("editorBracketPairGuide.background5", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, A("editorBracketPairGuide.background5", "Background color of inactive bracket pair guides (5). Requires enabling bracket pair guides.")), l9t = Le("editorBracketPairGuide.background6", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, A("editorBracketPairGuide.background6", "Background color of inactive bracket pair guides (6). Requires enabling bracket pair guides.")), u9t = Le("editorBracketPairGuide.activeBackground1", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, A("editorBracketPairGuide.activeBackground1", "Background color of active bracket pair guides (1). Requires enabling bracket pair guides.")), c9t = Le("editorBracketPairGuide.activeBackground2", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, A("editorBracketPairGuide.activeBackground2", "Background color of active bracket pair guides (2). Requires enabling bracket pair guides.")), d9t = Le("editorBracketPairGuide.activeBackground3", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, A("editorBracketPairGuide.activeBackground3", "Background color of active bracket pair guides (3). Requires enabling bracket pair guides.")), h9t = Le("editorBracketPairGuide.activeBackground4", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, A("editorBracketPairGuide.activeBackground4", "Background color of active bracket pair guides (4). Requires enabling bracket pair guides.")), f9t = Le("editorBracketPairGuide.activeBackground5", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, A("editorBracketPairGuide.activeBackground5", "Background color of active bracket pair guides (5). Requires enabling bracket pair guides.")), p9t = Le("editorBracketPairGuide.activeBackground6", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, A("editorBracketPairGuide.activeBackground6", "Background color of active bracket pair guides (6). Requires enabling bracket pair guides."));
|
|
196497
196500
|
Le("editorUnicodeHighlight.border", { dark: qs, light: qs, hcDark: qs, hcLight: qs }, A("editorUnicodeHighlight.border", "Border color used to highlight unicode characters."));
|
|
196498
196501
|
Le("editorUnicodeHighlight.background", { dark: zv, light: zv, hcDark: zv, hcLight: zv }, A("editorUnicodeHighlight.background", "Background color used to highlight unicode characters."));
|
|
196499
196502
|
B0((n, e) => {
|
|
@@ -197123,7 +197126,7 @@ let qT = class extends al {
|
|
|
197123
197126
|
_doRender(e) {
|
|
197124
197127
|
this._lastRenderPosition = e.lastRenderPosition;
|
|
197125
197128
|
const t = this.textArea, i = this.textAreaCover;
|
|
197126
|
-
ds(t, this._fontInfo), t.setTop(e.top), t.setLeft(e.left), t.setWidth(e.width), t.setHeight(e.height), t.setColor(e.color ?
|
|
197129
|
+
ds(t, this._fontInfo), t.setTop(e.top), t.setLeft(e.left), t.setWidth(e.width), t.setHeight(e.height), t.setColor(e.color ? Ge.Format.CSS.formatHex(e.color) : ""), t.setFontStyle(e.italic ? "italic" : ""), e.bold && t.setFontWeight("bold"), t.setTextDecoration(`${e.underline ? " underline" : ""}${e.strikethrough ? " line-through" : ""}`), i.setTop(e.useCover ? e.top : 0), i.setLeft(e.useCover ? e.left : 0), i.setWidth(e.useCover ? e.width : 0), i.setHeight(e.useCover ? e.height : 0);
|
|
197127
197130
|
const r = this._context.configuration.options;
|
|
197128
197131
|
r.get(
|
|
197129
197132
|
57
|
|
@@ -205037,7 +205040,7 @@ class h8t {
|
|
|
205037
205040
|
}
|
|
205038
205041
|
}
|
|
205039
205042
|
equals(e) {
|
|
205040
|
-
return this.lineHeight === e.lineHeight && this.pixelRatio === e.pixelRatio && this.overviewRulerLanes === e.overviewRulerLanes && this.renderBorder === e.renderBorder && this.borderColor === e.borderColor && this.hideCursor === e.hideCursor && this.cursorColor === e.cursorColor && this.themeType === e.themeType &&
|
|
205043
|
+
return this.lineHeight === e.lineHeight && this.pixelRatio === e.pixelRatio && this.overviewRulerLanes === e.overviewRulerLanes && this.renderBorder === e.renderBorder && this.borderColor === e.borderColor && this.hideCursor === e.hideCursor && this.cursorColor === e.cursorColor && this.themeType === e.themeType && Ge.equals(this.backgroundColor, e.backgroundColor) && this.top === e.top && this.right === e.right && this.domWidth === e.domWidth && this.domHeight === e.domHeight && this.canvasWidth === e.canvasWidth && this.canvasHeight === e.canvasHeight;
|
|
205041
205044
|
}
|
|
205042
205045
|
}
|
|
205043
205046
|
class f8t extends al {
|
|
@@ -205096,7 +205099,7 @@ class f8t extends al {
|
|
|
205096
205099
|
_render() {
|
|
205097
205100
|
const e = this._settings.backgroundColor;
|
|
205098
205101
|
if (this._settings.overviewRulerLanes === 0) {
|
|
205099
|
-
this._domNode.setBackgroundColor(e ?
|
|
205102
|
+
this._domNode.setBackgroundColor(e ? Ge.Format.CSS.formatHexA(e) : ""), this._domNode.setDisplay("none");
|
|
205100
205103
|
return;
|
|
205101
205104
|
}
|
|
205102
205105
|
const t = this._context.viewModel.getAllOverviewRulerDecorations(this._context.theme);
|
|
@@ -205104,7 +205107,7 @@ class f8t extends al {
|
|
|
205104
205107
|
return;
|
|
205105
205108
|
this._renderedDecorations = t, this._renderedCursorPositions = this._cursorPositions, this._domNode.setDisplay("block");
|
|
205106
205109
|
const i = this._settings.canvasWidth, r = this._settings.canvasHeight, o = this._settings.lineHeight, s = this._context.viewLayout, a = this._context.viewLayout.getScrollHeight(), l = r / a, u = 6 * this._settings.pixelRatio | 0, c = u / 2 | 0, d = this._domNode.domNode.getContext("2d");
|
|
205107
|
-
e ? e.isOpaque() ? (d.fillStyle =
|
|
205110
|
+
e ? e.isOpaque() ? (d.fillStyle = Ge.Format.CSS.formatHexA(e), d.fillRect(0, 0, i, r)) : (d.clearRect(0, 0, i, r), d.fillStyle = Ge.Format.CSS.formatHexA(e), d.fillRect(0, 0, i, r)) : d.clearRect(0, 0, i, r);
|
|
205108
205111
|
const h = this._settings.x, f = this._settings.w;
|
|
205109
205112
|
for (const p of t) {
|
|
205110
205113
|
const g = p.color, v = p.data;
|
|
@@ -213351,7 +213354,7 @@ class s7t extends Xde {
|
|
|
213351
213354
|
this._resolvedColor = void 0;
|
|
213352
213355
|
}
|
|
213353
213356
|
_resolveColor(e, t) {
|
|
213354
|
-
return typeof e == "string" ?
|
|
213357
|
+
return typeof e == "string" ? Ge.fromHex(e) : t.getColor(e.id);
|
|
213355
213358
|
}
|
|
213356
213359
|
}
|
|
213357
213360
|
class W8 {
|
|
@@ -217118,7 +217121,7 @@ let rvt = class extends ot {
|
|
|
217118
217121
|
const e = Ur.getColorMap(), t = ["#000000"];
|
|
217119
217122
|
if (e)
|
|
217120
217123
|
for (let i = 1, r = e.length; i < r; i++)
|
|
217121
|
-
t[i] =
|
|
217124
|
+
t[i] = Ge.Format.CSS.formatHex(e[i]);
|
|
217122
217125
|
return t;
|
|
217123
217126
|
}
|
|
217124
217127
|
//#region cursor operations
|
|
@@ -221091,7 +221094,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
221091
221094
|
}, te.list = function(z) {
|
|
221092
221095
|
var H = this.rules.block.list.exec(z);
|
|
221093
221096
|
if (H) {
|
|
221094
|
-
var Q, X, be, Ee, Ve, Re, nt, Pe, ct, ut, Ze, Pt, U = H[1].trim(), ke = U.length > 1,
|
|
221097
|
+
var Q, X, be, Ee, Ve, Re, nt, Pe, ct, ut, Ze, Pt, U = H[1].trim(), ke = U.length > 1, ze = {
|
|
221095
221098
|
type: "list",
|
|
221096
221099
|
raw: "",
|
|
221097
221100
|
ordered: ke,
|
|
@@ -221118,20 +221121,20 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
221118
221121
|
!Re && !Pe.trim() && (Re = !0), Q += ut + `
|
|
221119
221122
|
`, z = z.substring(ut.length + 1);
|
|
221120
221123
|
}
|
|
221121
|
-
|
|
221124
|
+
ze.loose || (nt ? ze.loose = !0 : /\n *\n *$/.test(Q) && (nt = !0)), this.options.gfm && (X = /^\[[ xX]\] /.exec(Ze), X && (be = X[0] !== "[ ] ", Ze = Ze.replace(/^\[[ xX]\] +/, ""))), ze.items.push({
|
|
221122
221125
|
type: "list_item",
|
|
221123
221126
|
raw: Q,
|
|
221124
221127
|
task: !!X,
|
|
221125
221128
|
checked: be,
|
|
221126
221129
|
loose: !1,
|
|
221127
221130
|
text: Ze
|
|
221128
|
-
}),
|
|
221131
|
+
}), ze.raw += Q;
|
|
221129
221132
|
}
|
|
221130
|
-
|
|
221131
|
-
var vs =
|
|
221133
|
+
ze.items[ze.items.length - 1].raw = Q.trimRight(), ze.items[ze.items.length - 1].text = Ze.trimRight(), ze.raw = ze.raw.trimRight();
|
|
221134
|
+
var vs = ze.items.length;
|
|
221132
221135
|
for (Ve = 0; Ve < vs; Ve++) {
|
|
221133
|
-
this.lexer.state.top = !1,
|
|
221134
|
-
var ia =
|
|
221136
|
+
this.lexer.state.top = !1, ze.items[Ve].tokens = this.lexer.blockTokens(ze.items[Ve].text, []);
|
|
221137
|
+
var ia = ze.items[Ve].tokens.filter(function(bs) {
|
|
221135
221138
|
return bs.type === "space";
|
|
221136
221139
|
}), ra = ia.every(function(bs) {
|
|
221137
221140
|
for (var oa = bs.raw.split(""), Ro = 0, Ol = s(oa), Rl; !(Rl = Ol()).done; ) {
|
|
@@ -221142,9 +221145,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
221142
221145
|
}
|
|
221143
221146
|
return !1;
|
|
221144
221147
|
});
|
|
221145
|
-
!
|
|
221148
|
+
!ze.loose && ia.length && ra && (ze.loose = !0, ze.items[Ve].loose = !0);
|
|
221146
221149
|
}
|
|
221147
|
-
return
|
|
221150
|
+
return ze;
|
|
221148
221151
|
}
|
|
221149
221152
|
}, te.html = function(z) {
|
|
221150
221153
|
var H = this.rules.block.html.exec(z);
|
|
@@ -221856,7 +221859,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
221856
221859
|
var te = ee.prototype;
|
|
221857
221860
|
return te.parse = function(z, H) {
|
|
221858
221861
|
H === void 0 && (H = !0);
|
|
221859
|
-
var Q = "", X, be, Ee, Ve, Re, nt, Pe, ct, ut, Ze, Pt, U, ke,
|
|
221862
|
+
var Q = "", X, be, Ee, Ve, Re, nt, Pe, ct, ut, Ze, Pt, U, ke, ze, lt, Ut, Zt, ti, vr, vs = z.length;
|
|
221860
221863
|
for (X = 0; X < vs; X++) {
|
|
221861
221864
|
if (Ze = z[X], this.options.extensions && this.options.extensions.renderers && this.options.extensions.renderers[Ze.type] && (vr = this.options.extensions.renderers[Ze.type].call({
|
|
221862
221865
|
parser: this
|
|
@@ -221902,10 +221905,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
221902
221905
|
}
|
|
221903
221906
|
case "list": {
|
|
221904
221907
|
for (Pt = Ze.ordered, U = Ze.start, ke = Ze.loose, Ve = Ze.items.length, ut = "", be = 0; be < Ve; be++)
|
|
221905
|
-
lt = Ze.items[be], Ut = lt.checked, Zt = lt.task,
|
|
221908
|
+
lt = Ze.items[be], Ut = lt.checked, Zt = lt.task, ze = "", lt.task && (ti = this.renderer.checkbox(Ut), ke ? lt.tokens.length > 0 && lt.tokens[0].type === "paragraph" ? (lt.tokens[0].text = ti + " " + lt.tokens[0].text, lt.tokens[0].tokens && lt.tokens[0].tokens.length > 0 && lt.tokens[0].tokens[0].type === "text" && (lt.tokens[0].tokens[0].text = ti + " " + lt.tokens[0].tokens[0].text)) : lt.tokens.unshift({
|
|
221906
221909
|
type: "text",
|
|
221907
221910
|
text: ti
|
|
221908
|
-
}) :
|
|
221911
|
+
}) : ze += ti), ze += this.parse(lt.tokens, ke), ut += this.renderer.listitem(ze, Zt, Ut);
|
|
221909
221912
|
Q += this.renderer.list(ut, Pt, U);
|
|
221910
221913
|
continue;
|
|
221911
221914
|
}
|
|
@@ -222162,8 +222165,8 @@ Please report this to https://github.com/markedjs/marked.`, te.silent)
|
|
|
222162
222165
|
throw z;
|
|
222163
222166
|
}
|
|
222164
222167
|
}, De.Parser = Me, De.parser = Me.parse, De.Renderer = le, De.TextRenderer = ye, De.Lexer = we, De.lexer = we.lex, De.Tokenizer = ue, De.Slugger = pe, De.parse = De;
|
|
222165
|
-
var
|
|
222166
|
-
e.Lexer = we, e.Parser = Me, e.Renderer = le, e.Slugger = pe, e.TextRenderer = ye, e.Tokenizer = ue, e.getDefaults = a, e.lexer = ce, e.marked = De, e.options =
|
|
222168
|
+
var Be = De.options, Ye = De.setOptions, de = De.use, q = De.walkTokens, oe = De.parseInline, ae = De, re = Me.parse, ce = we.lex;
|
|
222169
|
+
e.Lexer = we, e.Parser = Me, e.Renderer = le, e.Slugger = pe, e.TextRenderer = ye, e.Tokenizer = ue, e.getDefaults = a, e.lexer = ce, e.marked = De, e.options = Be, e.parse = ae, e.parseInline = oe, e.parser = re, e.setOptions = Ye, e.use = de, e.walkTokens = q, Object.defineProperty(e, "__esModule", { value: !0 });
|
|
222167
222170
|
});
|
|
222168
222171
|
})();
|
|
222169
222172
|
ta.Lexer || exports.Lexer;
|
|
@@ -226835,9 +226838,9 @@ const m_t = {
|
|
|
226835
226838
|
listDropOverBackground: "#383B3D",
|
|
226836
226839
|
listDropBetweenBackground: "#EEEEEE",
|
|
226837
226840
|
treeIndentGuidesStroke: "#a9a9a9",
|
|
226838
|
-
treeInactiveIndentGuidesStroke:
|
|
226839
|
-
tableColumnsBorder:
|
|
226840
|
-
tableOddRowsBackgroundColor:
|
|
226841
|
+
treeInactiveIndentGuidesStroke: Ge.fromHex("#a9a9a9").transparent(0.4).toString(),
|
|
226842
|
+
tableColumnsBorder: Ge.fromHex("#cccccc").transparent(0.2).toString(),
|
|
226843
|
+
tableOddRowsBackgroundColor: Ge.fromHex("#cccccc").transparent(0.04).toString(),
|
|
226841
226844
|
listBackground: void 0,
|
|
226842
226845
|
listFocusForeground: void 0,
|
|
226843
226846
|
listInactiveSelectionForeground: void 0,
|
|
@@ -228404,7 +228407,7 @@ const B_t = {
|
|
|
228404
228407
|
listFocusBackground: yt(WT),
|
|
228405
228408
|
listInactiveSelectionIconForeground: yt(ode),
|
|
228406
228409
|
listFocusForeground: yt(jT),
|
|
228407
|
-
listFocusOutline: Cgt(jr,
|
|
228410
|
+
listFocusOutline: Cgt(jr, Ge.transparent.toString()),
|
|
228408
228411
|
listHoverBackground: yt(ide),
|
|
228409
228412
|
listHoverForeground: yt(rde),
|
|
228410
228413
|
listHoverOutline: yt(jr),
|
|
@@ -230713,7 +230716,7 @@ class jl extends ot {
|
|
|
230713
230716
|
}
|
|
230714
230717
|
}
|
|
230715
230718
|
const cwt = {
|
|
230716
|
-
separatorBorder:
|
|
230719
|
+
separatorBorder: Ge.transparent
|
|
230717
230720
|
};
|
|
230718
230721
|
class U0e {
|
|
230719
230722
|
set size(e) {
|
|
@@ -236677,7 +236680,7 @@ ZA = BCt([
|
|
|
236677
236680
|
MQ(0, Ar),
|
|
236678
236681
|
MQ(1, HF)
|
|
236679
236682
|
], ZA);
|
|
236680
|
-
|
|
236683
|
+
Ge.white.toString(), Ge.white.toString();
|
|
236681
236684
|
class XA extends ot {
|
|
236682
236685
|
get onDidClick() {
|
|
236683
236686
|
return this._onDidClick.event;
|
|
@@ -237497,7 +237500,7 @@ class KCt {
|
|
|
237497
237500
|
throw new Error("Illegal value for token color: " + e);
|
|
237498
237501
|
e = t[1].toUpperCase();
|
|
237499
237502
|
let i = this._color2id.get(e);
|
|
237500
|
-
return i || (i = ++this._lastColorId, this._color2id.set(e, i), this._id2color[i] =
|
|
237503
|
+
return i || (i = ++this._lastColorId, this._color2id.set(e, i), this._id2color[i] = Ge.fromHex("#" + e), i);
|
|
237501
237504
|
}
|
|
237502
237505
|
getColorMap() {
|
|
237503
237506
|
return this._id2color.slice(0);
|
|
@@ -237984,11 +237987,11 @@ class bhe {
|
|
|
237984
237987
|
if (!this.colors) {
|
|
237985
237988
|
const e = /* @__PURE__ */ new Map();
|
|
237986
237989
|
for (const t in this.themeData.colors)
|
|
237987
|
-
e.set(t,
|
|
237990
|
+
e.set(t, Ge.fromHex(this.themeData.colors[t]));
|
|
237988
237991
|
if (this.themeData.inherit) {
|
|
237989
237992
|
const t = nk(this.themeData.base);
|
|
237990
237993
|
for (const i in t.colors)
|
|
237991
|
-
e.has(i) || e.set(i,
|
|
237994
|
+
e.has(i) || e.set(i, Ge.fromHex(t.colors[i]));
|
|
237992
237995
|
}
|
|
237993
237996
|
this.colors = e;
|
|
237994
237997
|
}
|
|
@@ -242748,24 +242751,24 @@ let Dk = class extends ot {
|
|
|
242748
242751
|
const Me = this._editors.original.getModel();
|
|
242749
242752
|
if (le.originalRange.endLineNumberExclusive - 1 > Me.getLineCount())
|
|
242750
242753
|
return { orig: F, mod: O };
|
|
242751
|
-
const De = new OSt(le.originalRange.mapToLineArray((oe) => Me.tokenization.getLineTokens(oe)), le.originalRange.mapToLineArray((oe) => G[ue++]), fe, _e),
|
|
242754
|
+
const De = new OSt(le.originalRange.mapToLineArray((oe) => Me.tokenization.getLineTokens(oe)), le.originalRange.mapToLineArray((oe) => G[ue++]), fe, _e), Be = [];
|
|
242752
242755
|
for (const oe of le.diff.innerChanges || [])
|
|
242753
|
-
|
|
242756
|
+
Be.push(new w9(
|
|
242754
242757
|
oe.originalRange.delta(-(le.diff.original.startLineNumber - 1)),
|
|
242755
242758
|
_k.className,
|
|
242756
242759
|
0
|
|
242757
242760
|
/* InlineDecorationType.Regular */
|
|
242758
242761
|
));
|
|
242759
|
-
const
|
|
242762
|
+
const Ye = ISt(De, we, Be, pe), de = document.createElement("div");
|
|
242760
242763
|
if (de.className = "inline-deleted-margin-view-zone", ds(de, we.fontInfo), this._options.renderIndicators.read(b))
|
|
242761
|
-
for (let oe = 0; oe <
|
|
242764
|
+
for (let oe = 0; oe < Ye.heightInLines; oe++) {
|
|
242762
242765
|
const ae = document.createElement("div");
|
|
242763
242766
|
ae.className = `delete-sign ${Yn.asClassName(Lhe)}`, ae.setAttribute("style", `position:absolute;top:${oe * Z}px;width:${we.lineDecorationsWidth}px;height:${Z}px;right:0;`), de.appendChild(ae);
|
|
242764
242767
|
}
|
|
242765
242768
|
let q;
|
|
242766
|
-
m.add(new kSt(() => o1e(q), de, this._editors.modified, le.diff, this._diffEditorWidget,
|
|
242767
|
-
for (let oe = 0; oe <
|
|
242768
|
-
const ae =
|
|
242769
|
+
m.add(new kSt(() => o1e(q), de, this._editors.modified, le.diff, this._diffEditorWidget, Ye.viewLineCounts, this._editors.original.getModel(), this._contextMenuService, this._clipboardService));
|
|
242770
|
+
for (let oe = 0; oe < Ye.viewLineCounts.length; oe++) {
|
|
242771
|
+
const ae = Ye.viewLineCounts[oe];
|
|
242769
242772
|
ae > 1 && F.push({
|
|
242770
242773
|
afterLineNumber: le.originalRange.startLineNumber + oe,
|
|
242771
242774
|
domNode: v(),
|
|
@@ -242777,8 +242780,8 @@ let Dk = class extends ot {
|
|
|
242777
242780
|
O.push({
|
|
242778
242781
|
afterLineNumber: le.modifiedRange.startLineNumber - 1,
|
|
242779
242782
|
domNode: pe,
|
|
242780
|
-
heightInPx:
|
|
242781
|
-
minWidthInPx:
|
|
242783
|
+
heightInPx: Ye.heightInLines * Z,
|
|
242784
|
+
minWidthInPx: Ye.minWidthInPx,
|
|
242782
242785
|
marginDomNode: de,
|
|
242783
242786
|
setZoneId(oe) {
|
|
242784
242787
|
q = oe;
|
|
@@ -242811,8 +242814,8 @@ let Dk = class extends ot {
|
|
|
242811
242814
|
} else {
|
|
242812
242815
|
let pe = function() {
|
|
242813
242816
|
const De = document.createElement("div");
|
|
242814
|
-
return De.className = "arrow-revert-change " + Yn.asClassName(Mt.arrowRight), y.add(tt(De, "mousedown", (
|
|
242815
|
-
|
|
242817
|
+
return De.className = "arrow-revert-change " + Yn.asClassName(Mt.arrowRight), y.add(tt(De, "mousedown", (Be) => Be.stopPropagation())), y.add(tt(De, "click", (Be) => {
|
|
242818
|
+
Be.stopPropagation(), o.revert(le.diff);
|
|
242816
242819
|
})), Jt("div", {}, De);
|
|
242817
242820
|
};
|
|
242818
242821
|
if (W != null && W.lineRangeMapping.modified.delta(-1).deltaLength(2).contains(le.modifiedRange.endLineNumberExclusive - 1))
|
|
@@ -245190,7 +245193,7 @@ function GDt(n) {
|
|
|
245190
245193
|
if (n) {
|
|
245191
245194
|
const t = [null];
|
|
245192
245195
|
for (let i = 1, r = n.length; i < r; i++)
|
|
245193
|
-
t[i] =
|
|
245196
|
+
t[i] = Ge.fromHex(n[i]);
|
|
245194
245197
|
e.setColorMapOverride(t);
|
|
245195
245198
|
} else
|
|
245196
245199
|
e.setColorMapOverride(null);
|
|
@@ -245617,7 +245620,7 @@ Whe({
|
|
|
245617
245620
|
extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
|
|
245618
245621
|
aliases: ["Python", "py"],
|
|
245619
245622
|
firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
|
|
245620
|
-
loader: () => import("./python-
|
|
245623
|
+
loader: () => import("./python-e9c32bc9.js")
|
|
245621
245624
|
});
|
|
245622
245625
|
/*!-----------------------------------------------------------------------------
|
|
245623
245626
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -252724,10 +252727,10 @@ nC.exports;
|
|
|
252724
252727
|
var Y = T;
|
|
252725
252728
|
return x.string(Y) ? Y = Me(Y, M, B) : x.func(Y) && (Y = Y.apply(void 0, $)), x.element(Y) && (Y = we(Y)), Y;
|
|
252726
252729
|
}
|
|
252727
|
-
function
|
|
252730
|
+
function Be(T) {
|
|
252728
252731
|
return T && { x: "x" in T ? T.x : T.left, y: "y" in T ? T.y : T.top };
|
|
252729
252732
|
}
|
|
252730
|
-
function
|
|
252733
|
+
function Ye(T) {
|
|
252731
252734
|
return !T || "x" in T && "y" in T || ((T = pe({}, T)).x = T.left || 0, T.y = T.top || 0, T.width = T.width || (T.right || 0) - T.x, T.height = T.height || (T.bottom || 0) - T.y), T;
|
|
252732
252735
|
}
|
|
252733
252736
|
function de(T, M, B) {
|
|
@@ -252735,7 +252738,7 @@ nC.exports;
|
|
|
252735
252738
|
}
|
|
252736
252739
|
function q(T, M, B) {
|
|
252737
252740
|
var $ = B && T.options[B];
|
|
252738
|
-
return
|
|
252741
|
+
return Be(De($ && $.origin || T.options.origin, T, M, [T && M])) || { x: 0, y: 0 };
|
|
252739
252742
|
}
|
|
252740
252743
|
function oe(T, M) {
|
|
252741
252744
|
var B = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : function(Ae) {
|
|
@@ -252869,7 +252872,7 @@ nC.exports;
|
|
|
252869
252872
|
if (M(T[B], B, T))
|
|
252870
252873
|
return B;
|
|
252871
252874
|
return -1;
|
|
252872
|
-
},
|
|
252875
|
+
}, ze = function(T, M) {
|
|
252873
252876
|
return T[ke(T, M)];
|
|
252874
252877
|
}, lt = function(T) {
|
|
252875
252878
|
u(B, T);
|
|
@@ -253994,7 +253997,7 @@ nC.exports;
|
|
|
253994
253997
|
he(Xt, dt, Ae), he(Xt, dt, je, !0);
|
|
253995
253998
|
}
|
|
253996
253999
|
}
|
|
253997
|
-
var _n = $[dt], di =
|
|
254000
|
+
var _n = $[dt], di = ze(_n, function(Ii) {
|
|
253998
254001
|
return Ii.selector === Ie && Ii.context === Qe;
|
|
253999
254002
|
});
|
|
254000
254003
|
di || (di = { selector: Ie, context: Qe, listeners: [] }, _n.push(di)), di.listeners.push({ func: Dt, options: Ot });
|
|
@@ -254018,10 +254021,10 @@ nC.exports;
|
|
|
254018
254021
|
}, delegateListener: Ae, delegateUseCapture: je, delegatedEvents: $, documents: Y, targets: B, supportsOptions: !1, supportsPassive: !1 };
|
|
254019
254022
|
function he(Ie, Qe, dt, Dt) {
|
|
254020
254023
|
if (Ie.addEventListener) {
|
|
254021
|
-
var St = Gm(Dt), Ot =
|
|
254024
|
+
var St = Gm(Dt), Ot = ze(B, function(on) {
|
|
254022
254025
|
return on.eventTarget === Ie;
|
|
254023
254026
|
});
|
|
254024
|
-
Ot || (Ot = { eventTarget: Ie, events: {} }, B.push(Ot)), Ot.events[Qe] || (Ot.events[Qe] = []),
|
|
254027
|
+
Ot || (Ot = { eventTarget: Ie, events: {} }, B.push(Ot)), Ot.events[Qe] || (Ot.events[Qe] = []), ze(Ot.events[Qe], function(on) {
|
|
254025
254028
|
return on.func === dt && A7(on.options, St);
|
|
254026
254029
|
}) || (Ie.addEventListener(Qe, dt, ne.supportsOptions ? St : St.capture), Ot.events[Qe].push({ func: dt, options: St }));
|
|
254027
254030
|
}
|
|
@@ -254349,7 +254352,7 @@ nC.exports;
|
|
|
254349
254352
|
} }, { key: "getExisting", value: function(M, B) {
|
|
254350
254353
|
var $ = B && B.context || this.scope.document, Y = x.string(M), ne = Y ? this.selectorMap[M] : M[this.scope.id];
|
|
254351
254354
|
if (ne)
|
|
254352
|
-
return
|
|
254355
|
+
return ze(ne, function(he) {
|
|
254353
254356
|
return he._context === $ && (Y || he.inContext(M));
|
|
254354
254357
|
});
|
|
254355
254358
|
} }, { key: "forEachMatch", value: function(M, B) {
|
|
@@ -254584,7 +254587,7 @@ nC.exports;
|
|
|
254584
254587
|
}
|
|
254585
254588
|
var Qm = { noInner: iB, noOuter: rB, start: function(T) {
|
|
254586
254589
|
var M, B = T.interaction, $ = T.startOffset, Y = T.state, ne = Y.options;
|
|
254587
|
-
ne && (M =
|
|
254590
|
+
ne && (M = Be(X2(ne.offset, B, B.coords.start.page))), M = M || { x: 0, y: 0 }, Y.offset = { top: M.y + $.top, left: M.x + $.left, bottom: M.y - $.bottom, right: M.x - $.right };
|
|
254588
254591
|
}, set: function(T) {
|
|
254589
254592
|
var M = T.coords, B = T.edges, $ = T.interaction, Y = T.state, ne = Y.offset, he = Y.options;
|
|
254590
254593
|
if (B) {
|
|
@@ -254599,19 +254602,19 @@ nC.exports;
|
|
|
254599
254602
|
}, set: function(T) {
|
|
254600
254603
|
var M = T.interaction, B = T.state, $ = T.rect, Y = T.edges, ne = B.options;
|
|
254601
254604
|
if (Y) {
|
|
254602
|
-
var he =
|
|
254605
|
+
var he = Ye(X2(ne.min, M, T.coords)) || j2e, Ce = Ye(X2(ne.max, M, T.coords)) || W2e;
|
|
254603
254606
|
B.options = { endOnly: ne.endOnly, inner: pe({}, Qm.noInner), outer: pe({}, Qm.noOuter) }, Y.top ? (B.options.inner.top = $.bottom - he.height, B.options.outer.top = $.bottom - Ce.height) : Y.bottom && (B.options.inner.bottom = $.top + he.height, B.options.outer.bottom = $.top + Ce.height), Y.left ? (B.options.inner.left = $.right - he.width, B.options.outer.left = $.right - Ce.width) : Y.right && (B.options.inner.right = $.left + he.width, B.options.outer.right = $.left + Ce.width), Qm.set(T), B.options = ne;
|
|
254604
254607
|
}
|
|
254605
254608
|
}, defaults: { min: null, max: null, endOnly: !1, enabled: !1 } }, "restrictSize"), HS = { start: function(T) {
|
|
254606
254609
|
var M, B = T.interaction, $ = T.interactable, Y = T.element, ne = T.rect, he = T.state, Ce = T.startOffset, Ae = he.options, je = Ae.offsetWithOrigin ? function(dt) {
|
|
254607
|
-
var Dt = dt.interaction.element, St =
|
|
254610
|
+
var Dt = dt.interaction.element, St = Be(De(dt.state.options.origin, null, null, [Dt])), Ot = St || q(dt.interactable, Dt, dt.interaction.prepared.name);
|
|
254608
254611
|
return Ot;
|
|
254609
254612
|
}(T) : { x: 0, y: 0 };
|
|
254610
254613
|
if (Ae.offset === "startCoords")
|
|
254611
254614
|
M = { x: B.coords.start.page.x, y: B.coords.start.page.y };
|
|
254612
254615
|
else {
|
|
254613
254616
|
var Ie = De(Ae.offset, $, Y, [B]);
|
|
254614
|
-
(M =
|
|
254617
|
+
(M = Be(Ie) || { x: 0, y: 0 }).x += je.x, M.y += je.y;
|
|
254615
254618
|
}
|
|
254616
254619
|
var Qe = Ae.relativePoints;
|
|
254617
254620
|
he.offsets = ne && Qe && Qe.length ? Qe.map(function(dt, Dt) {
|
|
@@ -254810,7 +254813,7 @@ nC.exports;
|
|
|
254810
254813
|
var Qe = he[Ie], dt = $.getRect(Qe);
|
|
254811
254814
|
if (!dt)
|
|
254812
254815
|
return 1;
|
|
254813
|
-
var Dt, St =
|
|
254816
|
+
var Dt, St = ze(ne.interactions.list, function(Xt) {
|
|
254814
254817
|
return Xt.interacting() && Xt.interactable === $ && Xt.element === Qe && Xt.prepared.name === Y.name;
|
|
254815
254818
|
});
|
|
254816
254819
|
if (St)
|
|
@@ -254818,7 +254821,7 @@ nC.exports;
|
|
|
254818
254821
|
St._reflowResolve = Xt;
|
|
254819
254822
|
}));
|
|
254820
254823
|
else {
|
|
254821
|
-
var Ot =
|
|
254824
|
+
var Ot = Ye(dt), on = function(Xt) {
|
|
254822
254825
|
return { coords: Xt, get page() {
|
|
254823
254826
|
return this.coords.page;
|
|
254824
254827
|
}, get client() {
|