@camunda/play 1.9.2-rc.0 → 1.10.0
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/build/index.js +708 -702
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -473,13 +473,13 @@ function xIe() {
|
|
|
473
473
|
return Kn(te, Ce, Pe, Hn, Vt, ve.current, ie);
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
|
-
var Wt = v.ReactCurrentOwner,
|
|
476
|
+
var Wt = v.ReactCurrentOwner, gi = v.ReactDebugCurrentFrame;
|
|
477
477
|
function Ao(te) {
|
|
478
478
|
if (te) {
|
|
479
479
|
var Ne = te._owner, Je = zn(te.type, te._source, Ne ? Ne.type : null);
|
|
480
|
-
|
|
480
|
+
gi.setExtraStackFrame(Je);
|
|
481
481
|
} else
|
|
482
|
-
|
|
482
|
+
gi.setExtraStackFrame(null);
|
|
483
483
|
}
|
|
484
484
|
var wl;
|
|
485
485
|
wl = !1;
|
|
@@ -1430,7 +1430,7 @@ function MOe(i, e, t, n, r) {
|
|
|
1430
1430
|
}
|
|
1431
1431
|
}
|
|
1432
1432
|
function LOe(i, e, t, n) {
|
|
1433
|
-
var r = process.env.NODE_ENV !== "production" &&
|
|
1433
|
+
var r = process.env.NODE_ENV !== "production" && ys() && !!i, s = 0;
|
|
1434
1434
|
if (process.env.NODE_ENV !== "production" && r) {
|
|
1435
1435
|
s = Date.now();
|
|
1436
1436
|
var o = n ? Array.from(n) : H6;
|
|
@@ -1483,7 +1483,7 @@ var Y1 = /* @__PURE__ */ function(i) {
|
|
|
1483
1483
|
cye(e, i);
|
|
1484
1484
|
function e(n, r, s, o, a) {
|
|
1485
1485
|
var l;
|
|
1486
|
-
return s === void 0 && (s = process.env.NODE_ENV !== "production" ? "ObservableValue@" + _a() : "ObservableValue"), o === void 0 && (o = !0), a === void 0 && (a = t2.default), l = i.call(this, s) || this, l.enhancer = void 0, l.name_ = void 0, l.equals = void 0, l.hasUnreportedChange_ = !1, l.interceptors_ = void 0, l.changeListeners_ = void 0, l.value_ = void 0, l.dehancer = void 0, l.enhancer = r, l.name_ = s, l.equals = a, l.value_ = r(n, void 0, s), process.env.NODE_ENV !== "production" && o &&
|
|
1486
|
+
return s === void 0 && (s = process.env.NODE_ENV !== "production" ? "ObservableValue@" + _a() : "ObservableValue"), o === void 0 && (o = !0), a === void 0 && (a = t2.default), l = i.call(this, s) || this, l.enhancer = void 0, l.name_ = void 0, l.equals = void 0, l.hasUnreportedChange_ = !1, l.interceptors_ = void 0, l.changeListeners_ = void 0, l.value_ = void 0, l.dehancer = void 0, l.enhancer = r, l.name_ = s, l.equals = a, l.value_ = r(n, void 0, s), process.env.NODE_ENV !== "production" && o && ys() && pf({
|
|
1487
1487
|
type: NOe,
|
|
1488
1488
|
object: Lb(l),
|
|
1489
1489
|
observableKind: "value",
|
|
@@ -1497,7 +1497,7 @@ var Y1 = /* @__PURE__ */ function(i) {
|
|
|
1497
1497
|
}, t.set = function(r) {
|
|
1498
1498
|
var s = this.value_;
|
|
1499
1499
|
if (r = this.prepareNewValue_(r), r !== Te.UNCHANGED) {
|
|
1500
|
-
var o =
|
|
1500
|
+
var o = ys();
|
|
1501
1501
|
process.env.NODE_ENV !== "production" && o && pa({
|
|
1502
1502
|
type: Hl,
|
|
1503
1503
|
object: this,
|
|
@@ -1601,7 +1601,7 @@ var Jl = /* @__PURE__ */ function() {
|
|
|
1601
1601
|
/* see #1208 */
|
|
1602
1602
|
this.dependenciesState_ === jn.NOT_TRACKING_
|
|
1603
1603
|
), s = this.computeValue_(!0), o = r || kb(n) || kb(s) || !this.equals_(n, s);
|
|
1604
|
-
return o && (this.value_ = s, process.env.NODE_ENV !== "production" &&
|
|
1604
|
+
return o && (this.value_ = s, process.env.NODE_ENV !== "production" && ys() && pf({
|
|
1605
1605
|
observableKind: "computed",
|
|
1606
1606
|
debugObjectName: this.name_,
|
|
1607
1607
|
object: this.scope_,
|
|
@@ -1916,7 +1916,7 @@ var ff = /* @__PURE__ */ function() {
|
|
|
1916
1916
|
if (Te.trackingContext = this, Rx(this)) {
|
|
1917
1917
|
this.isTrackPending_ = !0;
|
|
1918
1918
|
try {
|
|
1919
|
-
this.onInvalidate_(), process.env.NODE_ENV !== "production" && this.isTrackPending_ &&
|
|
1919
|
+
this.onInvalidate_(), process.env.NODE_ENV !== "production" && this.isTrackPending_ && ys() && pf({
|
|
1920
1920
|
name: this.name_,
|
|
1921
1921
|
type: "scheduled-reaction"
|
|
1922
1922
|
});
|
|
@@ -1929,7 +1929,7 @@ var ff = /* @__PURE__ */ function() {
|
|
|
1929
1929
|
}, e.track = function(n) {
|
|
1930
1930
|
if (!this.isDisposed_) {
|
|
1931
1931
|
Ja();
|
|
1932
|
-
var r =
|
|
1932
|
+
var r = ys(), s;
|
|
1933
1933
|
process.env.NODE_ENV !== "production" && r && (s = Date.now(), pa({
|
|
1934
1934
|
name: this.name_,
|
|
1935
1935
|
type: "reaction"
|
|
@@ -1950,7 +1950,7 @@ var ff = /* @__PURE__ */ function() {
|
|
|
1950
1950
|
if (Te.disableErrorBoundaries)
|
|
1951
1951
|
throw n;
|
|
1952
1952
|
var s = process.env.NODE_ENV !== "production" ? "[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '" + this + "'" : "[mobx] uncaught error in '" + this + "'";
|
|
1953
|
-
Te.suppressReactionErrors ? process.env.NODE_ENV !== "production" && console.warn("[mobx] (error in reaction '" + this.name_ + "' suppressed, fix error of causing action below)") : console.error(s, n), process.env.NODE_ENV !== "production" &&
|
|
1953
|
+
Te.suppressReactionErrors ? process.env.NODE_ENV !== "production" && console.warn("[mobx] (error in reaction '" + this.name_ + "' suppressed, fix error of causing action below)") : console.error(s, n), process.env.NODE_ENV !== "production" && ys() && pf({
|
|
1954
1954
|
type: "error",
|
|
1955
1955
|
name: this.name_,
|
|
1956
1956
|
message: s,
|
|
@@ -1994,7 +1994,7 @@ function FOe(i) {
|
|
|
1994
1994
|
});
|
|
1995
1995
|
};
|
|
1996
1996
|
}
|
|
1997
|
-
function
|
|
1997
|
+
function ys() {
|
|
1998
1998
|
return process.env.NODE_ENV !== "production" && !!Te.spyListeners.length;
|
|
1999
1999
|
}
|
|
2000
2000
|
function pf(i) {
|
|
@@ -2093,7 +2093,7 @@ function Oye(i) {
|
|
|
2093
2093
|
return setTimeout(e, i.delay);
|
|
2094
2094
|
} : QOe;
|
|
2095
2095
|
}
|
|
2096
|
-
function
|
|
2096
|
+
function vs(i, e, t) {
|
|
2097
2097
|
var n, r, s, o;
|
|
2098
2098
|
t === void 0 && (t = rN), process.env.NODE_ENV !== "production" && ((!Ar(i) || !Ar(e)) && Ke("First and second argument to reaction should be functions"), Vo(t) || Ke("Third argument of reactions should be an object"));
|
|
2099
2099
|
var a = (n = t.name) != null ? n : process.env.NODE_ENV !== "production" ? "Reaction@" + _a() : "Reaction", l = xn(a, t.onError ? KOe(t.onError, e) : e), c = !t.scheduler && !t.delay, d = Oye(t), u = !0, f = !1, p, g = t.compareStructural ? t2.structural : t.equals || t2.default, m = new ff(a, function() {
|
|
@@ -2507,7 +2507,7 @@ var FV = "splice", Hl = "update", dVe = 1e4, uVe = {
|
|
|
2507
2507
|
return a;
|
|
2508
2508
|
}
|
|
2509
2509
|
}, e.notifyArrayChildUpdate_ = function(n, r, s) {
|
|
2510
|
-
var o = !this.owned_ &&
|
|
2510
|
+
var o = !this.owned_ && ys(), a = Ul(this), l = a || o ? {
|
|
2511
2511
|
observableKind: "array",
|
|
2512
2512
|
object: this.proxy_,
|
|
2513
2513
|
type: Hl,
|
|
@@ -2518,7 +2518,7 @@ var FV = "splice", Hl = "update", dVe = 1e4, uVe = {
|
|
|
2518
2518
|
} : null;
|
|
2519
2519
|
process.env.NODE_ENV !== "production" && o && pa(l), this.atom_.reportChanged(), a && ql(this, l), process.env.NODE_ENV !== "production" && o && ga();
|
|
2520
2520
|
}, e.notifyArraySplice_ = function(n, r, s) {
|
|
2521
|
-
var o = !this.owned_ &&
|
|
2521
|
+
var o = !this.owned_ && ys(), a = Ul(this), l = a || o ? {
|
|
2522
2522
|
observableKind: "array",
|
|
2523
2523
|
object: this.proxy_,
|
|
2524
2524
|
debugObjectName: this.atom_.name_,
|
|
@@ -2746,7 +2746,7 @@ var Uye = /* @__PURE__ */ function() {
|
|
|
2746
2746
|
return !1;
|
|
2747
2747
|
}
|
|
2748
2748
|
if (this.has_(n)) {
|
|
2749
|
-
var o =
|
|
2749
|
+
var o = ys(), a = Ul(this), l = a || o ? {
|
|
2750
2750
|
observableKind: "map",
|
|
2751
2751
|
debugObjectName: this.name_,
|
|
2752
2752
|
type: j6,
|
|
@@ -2765,7 +2765,7 @@ var Uye = /* @__PURE__ */ function() {
|
|
|
2765
2765
|
}, e.updateValue_ = function(n, r) {
|
|
2766
2766
|
var s = this.data_.get(n);
|
|
2767
2767
|
if (r = s.prepareNewValue_(r), r !== Te.UNCHANGED) {
|
|
2768
|
-
var o =
|
|
2768
|
+
var o = ys(), a = Ul(this), l = a || o ? {
|
|
2769
2769
|
observableKind: "map",
|
|
2770
2770
|
debugObjectName: this.name_,
|
|
2771
2771
|
type: Hl,
|
|
@@ -2782,7 +2782,7 @@ var Uye = /* @__PURE__ */ function() {
|
|
|
2782
2782
|
var c, d = new Y1(r, s.enhancer_, process.env.NODE_ENV !== "production" ? s.name_ + "." + Tx(n) : "ObservableMap.key", !1);
|
|
2783
2783
|
s.data_.set(n, d), r = d.value_, (c = s.hasMap_.get(n)) == null || c.setNewValue_(!0), s.keysAtom_.reportChanged();
|
|
2784
2784
|
});
|
|
2785
|
-
var o =
|
|
2785
|
+
var o = ys(), a = Ul(this), l = a || o ? {
|
|
2786
2786
|
observableKind: "map",
|
|
2787
2787
|
debugObjectName: this.name_,
|
|
2788
2788
|
type: ku,
|
|
@@ -2961,7 +2961,7 @@ var Qye = /* @__PURE__ */ function() {
|
|
|
2961
2961
|
$h(function() {
|
|
2962
2962
|
r.data_.add(r.enhancer_(n, void 0)), r.atom_.reportChanged();
|
|
2963
2963
|
});
|
|
2964
|
-
var o = process.env.NODE_ENV !== "production" &&
|
|
2964
|
+
var o = process.env.NODE_ENV !== "production" && ys(), a = Ul(this), l = a || o ? {
|
|
2965
2965
|
observableKind: "set",
|
|
2966
2966
|
debugObjectName: this.name_,
|
|
2967
2967
|
type: ku,
|
|
@@ -2983,7 +2983,7 @@ var Qye = /* @__PURE__ */ function() {
|
|
|
2983
2983
|
return !1;
|
|
2984
2984
|
}
|
|
2985
2985
|
if (this.has(n)) {
|
|
2986
|
-
var o = process.env.NODE_ENV !== "production" &&
|
|
2986
|
+
var o = process.env.NODE_ENV !== "production" && ys(), a = Ul(this), l = a || o ? {
|
|
2987
2987
|
observableKind: "set",
|
|
2988
2988
|
debugObjectName: this.name_,
|
|
2989
2989
|
type: j6,
|
|
@@ -3078,7 +3078,7 @@ var Qye = /* @__PURE__ */ function() {
|
|
|
3078
3078
|
r = o.newValue;
|
|
3079
3079
|
}
|
|
3080
3080
|
if (r = s.prepareNewValue_(r), r !== Te.UNCHANGED) {
|
|
3081
|
-
var a = Ul(this), l = process.env.NODE_ENV !== "production" &&
|
|
3081
|
+
var a = Ul(this), l = process.env.NODE_ENV !== "production" && ys(), c = a || l ? {
|
|
3082
3082
|
type: Hl,
|
|
3083
3083
|
observableKind: "object",
|
|
3084
3084
|
debugObjectName: this.name_,
|
|
@@ -3247,7 +3247,7 @@ var Qye = /* @__PURE__ */ function() {
|
|
|
3247
3247
|
try {
|
|
3248
3248
|
var o, a;
|
|
3249
3249
|
Ja();
|
|
3250
|
-
var l = Ul(this), c = process.env.NODE_ENV !== "production" &&
|
|
3250
|
+
var l = Ul(this), c = process.env.NODE_ENV !== "production" && ys(), d = this.values_.get(n), u = void 0;
|
|
3251
3251
|
if (!d && (l || c)) {
|
|
3252
3252
|
var f;
|
|
3253
3253
|
u = (f = R6(this.target_, n)) == null ? void 0 : f.value;
|
|
@@ -3277,7 +3277,7 @@ var Qye = /* @__PURE__ */ function() {
|
|
|
3277
3277
|
}, e.intercept_ = function(n) {
|
|
3278
3278
|
return x3(this, n);
|
|
3279
3279
|
}, e.notifyPropertyAddition_ = function(n, r) {
|
|
3280
|
-
var s, o, a = Ul(this), l = process.env.NODE_ENV !== "production" &&
|
|
3280
|
+
var s, o, a = Ul(this), l = process.env.NODE_ENV !== "production" && ys();
|
|
3281
3281
|
if (a || l) {
|
|
3282
3282
|
var c = a || l ? {
|
|
3283
3283
|
type: ku,
|
|
@@ -4373,7 +4373,7 @@ let YRe = class {
|
|
|
4373
4373
|
this.state = { ...oR };
|
|
4374
4374
|
};
|
|
4375
4375
|
};
|
|
4376
|
-
const
|
|
4376
|
+
const ui = new YRe(), G6 = (i) => {
|
|
4377
4377
|
try {
|
|
4378
4378
|
return JSON.parse(i), !0;
|
|
4379
4379
|
} catch {
|
|
@@ -4477,7 +4477,7 @@ let eHe = class {
|
|
|
4477
4477
|
this.setStatus("creating-cluster"), this.setExecutionPlatformVersion?.("8.2.0");
|
|
4478
4478
|
const e = VRe({
|
|
4479
4479
|
projectId: this.projectId,
|
|
4480
|
-
elementRegistry:
|
|
4480
|
+
elementRegistry: ui.state.elementRegistry,
|
|
4481
4481
|
fetchFilesByDecisionId: this.fetchFilesByDecisionId,
|
|
4482
4482
|
fetchFilesByProcessId: this.fetchFilesByProcessId,
|
|
4483
4483
|
fetchFileById: this.fetchFileById
|
|
@@ -4498,13 +4498,13 @@ let eHe = class {
|
|
|
4498
4498
|
}
|
|
4499
4499
|
};
|
|
4500
4500
|
updateFile = async () => {
|
|
4501
|
-
const e = await
|
|
4501
|
+
const e = await ui.toXml?.();
|
|
4502
4502
|
if (e?.error)
|
|
4503
4503
|
return { success: !1, reason: "serialization" };
|
|
4504
4504
|
const t = e?.xml;
|
|
4505
4505
|
if (this.xml === t)
|
|
4506
4506
|
return { success: !1, reason: "unchanged" };
|
|
4507
|
-
const n =
|
|
4507
|
+
const n = ui.state.viewer?.getDefinitions(), r = n.$attrs["camunda:diagramRelationId"] ?? n.diagramRelationId, s = {
|
|
4508
4508
|
content: t,
|
|
4509
4509
|
revision: this.state.currentDiagramRevision,
|
|
4510
4510
|
relationId: r,
|
|
@@ -4578,7 +4578,7 @@ let eHe = class {
|
|
|
4578
4578
|
content: e,
|
|
4579
4579
|
convertLinkedFormsToEmbeddedForms: this.convertLinkedFormsToEmbeddedForms
|
|
4580
4580
|
});
|
|
4581
|
-
await
|
|
4581
|
+
await ui.setDiagramDetails(n);
|
|
4582
4582
|
const { response: r } = await _t.deploy({
|
|
4583
4583
|
xml: n
|
|
4584
4584
|
});
|
|
@@ -5280,7 +5280,7 @@ let cHe = class {
|
|
|
5280
5280
|
), t = this.state.processInstance?.key !== void 0 && e.includes(this.state.processInstance?.key);
|
|
5281
5281
|
this.setIsCalledProcess(t);
|
|
5282
5282
|
}
|
|
5283
|
-
), this.processManuallyCompletedDisposer =
|
|
5283
|
+
), this.processManuallyCompletedDisposer = vs(
|
|
5284
5284
|
() => this.state.processInstance?.state,
|
|
5285
5285
|
(e, t) => {
|
|
5286
5286
|
t !== void 0 && t !== "COMPLETED" && e === "COMPLETED" && !qx() && this.setIsProcessManuallyCompleted(!0);
|
|
@@ -5568,10 +5568,10 @@ let gHe = class {
|
|
|
5568
5568
|
};
|
|
5569
5569
|
get errorThrowableJobsByErrorId() {
|
|
5570
5570
|
return this.state.jobs.filter(({ state: e }) => e === "ACTIVATABLE").reduce((e, { key: t, elementInstance: n }) => {
|
|
5571
|
-
const r =
|
|
5571
|
+
const r = ui.elements?.find(
|
|
5572
5572
|
({ id: s }) => s === n.element.elementId
|
|
5573
5573
|
);
|
|
5574
|
-
return
|
|
5574
|
+
return ui.getAvailableErrorEvents(r).forEach(({ errorCode: s, errorName: o, errorElementId: a }) => {
|
|
5575
5575
|
const l = {
|
|
5576
5576
|
errorCode: s,
|
|
5577
5577
|
errorName: o,
|
|
@@ -5625,28 +5625,28 @@ function AHe({ processId: i }) {
|
|
|
5625
5625
|
), [n, r] = ye(() => Lt.state.playId), [s, o] = ye(
|
|
5626
5626
|
() => Lt.state.endpoint
|
|
5627
5627
|
), [a, l] = ye(
|
|
5628
|
-
() =>
|
|
5628
|
+
() => ui.state.elementRegistry
|
|
5629
5629
|
);
|
|
5630
5630
|
Fe(
|
|
5631
|
-
() =>
|
|
5631
|
+
() => vs(
|
|
5632
5632
|
() => Ut.state.instanceKey,
|
|
5633
5633
|
(v) => t(v)
|
|
5634
5634
|
),
|
|
5635
5635
|
[]
|
|
5636
5636
|
), Fe(
|
|
5637
|
-
() =>
|
|
5638
|
-
() =>
|
|
5637
|
+
() => vs(
|
|
5638
|
+
() => ui.state.elementRegistry,
|
|
5639
5639
|
(v) => l(v)
|
|
5640
5640
|
),
|
|
5641
5641
|
[]
|
|
5642
5642
|
), Fe(
|
|
5643
|
-
() =>
|
|
5643
|
+
() => vs(
|
|
5644
5644
|
() => Lt.state.playId,
|
|
5645
5645
|
(v) => r(v)
|
|
5646
5646
|
),
|
|
5647
5647
|
[]
|
|
5648
5648
|
), Fe(
|
|
5649
|
-
() =>
|
|
5649
|
+
() => vs(
|
|
5650
5650
|
() => Lt.state.endpoint,
|
|
5651
5651
|
(v) => o(v)
|
|
5652
5652
|
),
|
|
@@ -29862,7 +29862,7 @@ function vf(i, e = (t) => t) {
|
|
|
29862
29862
|
function VN(i, e) {
|
|
29863
29863
|
return i.length > 0 ? i[0] : e;
|
|
29864
29864
|
}
|
|
29865
|
-
function
|
|
29865
|
+
function Ls(i, e) {
|
|
29866
29866
|
let t = typeof e == "number" ? i : 0;
|
|
29867
29867
|
typeof e == "number" ? t = i : (t = 0, e = i);
|
|
29868
29868
|
const n = [];
|
|
@@ -30206,7 +30206,7 @@ if (typeof hs == "object") {
|
|
|
30206
30206
|
// This is because the loader plugin decides what the default locale is based on
|
|
30207
30207
|
// how it's able to resolve the strings.
|
|
30208
30208
|
y({ key: "ensureLoaderPluginIsLoaded", comment: ["{Locked}"] }, "_"), P4 = qp, l_ = P4, Hme = navigator.language) : console.error("Unable to resolve platform.");
|
|
30209
|
-
const zs = t8, Pt = n8,
|
|
30209
|
+
const zs = t8, Pt = n8, _s = Vb, yg = NCe, nm = HN, Mit = HN && typeof Cd.importScripts == "function", Lit = Mit ? Cd.origin : void 0, wf = BN, ICe = TCe, uh = Sl, kit = typeof Cd.postMessage == "function" && !Cd.importScripts, OCe = (() => {
|
|
30210
30210
|
if (kit) {
|
|
30211
30211
|
const i = [];
|
|
30212
30212
|
Cd.addEventListener("message", (t) => {
|
|
@@ -30622,7 +30622,7 @@ class ds extends im {
|
|
|
30622
30622
|
return ds.string(e, this.defaultValue);
|
|
30623
30623
|
}
|
|
30624
30624
|
}
|
|
30625
|
-
function
|
|
30625
|
+
function ai(i, e, t, n) {
|
|
30626
30626
|
return typeof i != "string" ? e : n && i in n ? n[i] : t.indexOf(i) === -1 ? e : i;
|
|
30627
30627
|
}
|
|
30628
30628
|
class $n extends im {
|
|
@@ -30630,7 +30630,7 @@ class $n extends im {
|
|
|
30630
30630
|
typeof s < "u" && (s.type = "string", s.enum = r, s.default = n), super(e, t, n, s), this._allowedValues = r;
|
|
30631
30631
|
}
|
|
30632
30632
|
validate(e) {
|
|
30633
|
-
return
|
|
30633
|
+
return ai(e, this.defaultValue, this._allowedValues);
|
|
30634
30634
|
}
|
|
30635
30635
|
}
|
|
30636
30636
|
class F4 extends Fn {
|
|
@@ -30848,8 +30848,8 @@ class qit extends Fn {
|
|
|
30848
30848
|
const t = e;
|
|
30849
30849
|
return {
|
|
30850
30850
|
cursorMoveOnType: Oe(t.cursorMoveOnType, this.defaultValue.cursorMoveOnType),
|
|
30851
|
-
seedSearchStringFromSelection: typeof e.seedSearchStringFromSelection == "boolean" ? e.seedSearchStringFromSelection ? "always" : "never" :
|
|
30852
|
-
autoFindInSelection: typeof e.autoFindInSelection == "boolean" ? e.autoFindInSelection ? "always" : "never" :
|
|
30851
|
+
seedSearchStringFromSelection: typeof e.seedSearchStringFromSelection == "boolean" ? e.seedSearchStringFromSelection ? "always" : "never" : ai(t.seedSearchStringFromSelection, this.defaultValue.seedSearchStringFromSelection, ["never", "always", "selection"]),
|
|
30852
|
+
autoFindInSelection: typeof e.autoFindInSelection == "boolean" ? e.autoFindInSelection ? "always" : "never" : ai(t.autoFindInSelection, this.defaultValue.autoFindInSelection, ["never", "always", "multiline"]),
|
|
30853
30853
|
globalFindClipboard: Oe(t.globalFindClipboard, this.defaultValue.globalFindClipboard),
|
|
30854
30854
|
addExtraSpaceOnTop: Oe(t.addExtraSpaceOnTop, this.defaultValue.addExtraSpaceOnTop),
|
|
30855
30855
|
loop: Oe(t.loop, this.defaultValue.loop)
|
|
@@ -31049,12 +31049,12 @@ class Kit extends Fn {
|
|
|
31049
31049
|
return this.defaultValue;
|
|
31050
31050
|
const a = e;
|
|
31051
31051
|
return {
|
|
31052
|
-
multiple:
|
|
31053
|
-
multipleDefinitions: (t = a.multipleDefinitions) !== null && t !== void 0 ? t :
|
|
31054
|
-
multipleTypeDefinitions: (n = a.multipleTypeDefinitions) !== null && n !== void 0 ? n :
|
|
31055
|
-
multipleDeclarations: (r = a.multipleDeclarations) !== null && r !== void 0 ? r :
|
|
31056
|
-
multipleImplementations: (s = a.multipleImplementations) !== null && s !== void 0 ? s :
|
|
31057
|
-
multipleReferences: (o = a.multipleReferences) !== null && o !== void 0 ? o :
|
|
31052
|
+
multiple: ai(a.multiple, this.defaultValue.multiple, ["peek", "gotoAndPeek", "goto"]),
|
|
31053
|
+
multipleDefinitions: (t = a.multipleDefinitions) !== null && t !== void 0 ? t : ai(a.multipleDefinitions, "peek", ["peek", "gotoAndPeek", "goto"]),
|
|
31054
|
+
multipleTypeDefinitions: (n = a.multipleTypeDefinitions) !== null && n !== void 0 ? n : ai(a.multipleTypeDefinitions, "peek", ["peek", "gotoAndPeek", "goto"]),
|
|
31055
|
+
multipleDeclarations: (r = a.multipleDeclarations) !== null && r !== void 0 ? r : ai(a.multipleDeclarations, "peek", ["peek", "gotoAndPeek", "goto"]),
|
|
31056
|
+
multipleImplementations: (s = a.multipleImplementations) !== null && s !== void 0 ? s : ai(a.multipleImplementations, "peek", ["peek", "gotoAndPeek", "goto"]),
|
|
31057
|
+
multipleReferences: (o = a.multipleReferences) !== null && o !== void 0 ? o : ai(a.multipleReferences, "peek", ["peek", "gotoAndPeek", "goto"]),
|
|
31058
31058
|
alternativeDefinitionCommand: ds.string(a.alternativeDefinitionCommand, this.defaultValue.alternativeDefinitionCommand),
|
|
31059
31059
|
alternativeTypeDefinitionCommand: ds.string(a.alternativeTypeDefinitionCommand, this.defaultValue.alternativeTypeDefinitionCommand),
|
|
31060
31060
|
alternativeDeclarationCommand: ds.string(a.alternativeDeclarationCommand, this.defaultValue.alternativeDeclarationCommand),
|
|
@@ -31329,7 +31329,7 @@ class Xit extends Fn {
|
|
|
31329
31329
|
});
|
|
31330
31330
|
}
|
|
31331
31331
|
validate(e) {
|
|
31332
|
-
return
|
|
31332
|
+
return ai(e, "simple", ["simple", "advanced"]);
|
|
31333
31333
|
}
|
|
31334
31334
|
compute(e, t, n) {
|
|
31335
31335
|
return t.get(
|
|
@@ -31362,7 +31362,7 @@ class Jit extends Fn {
|
|
|
31362
31362
|
}
|
|
31363
31363
|
validate(e) {
|
|
31364
31364
|
return !e || typeof e != "object" ? this.defaultValue : {
|
|
31365
|
-
enabled:
|
|
31365
|
+
enabled: ai(e.enabled, this.defaultValue.enabled, [Zh.Off, Zh.OnCode, Zh.On])
|
|
31366
31366
|
};
|
|
31367
31367
|
}
|
|
31368
31368
|
}
|
|
@@ -31403,7 +31403,7 @@ class $it extends Fn {
|
|
|
31403
31403
|
return {
|
|
31404
31404
|
enabled: Oe(t.enabled, this.defaultValue.enabled),
|
|
31405
31405
|
maxLineCount: An.clampedInt(t.maxLineCount, this.defaultValue.maxLineCount, 1, 20),
|
|
31406
|
-
defaultModel:
|
|
31406
|
+
defaultModel: ai(t.defaultModel, this.defaultValue.defaultModel, ["outlineModel", "foldingProviderModel", "indentationModel"]),
|
|
31407
31407
|
scrollWithEditor: Oe(t.scrollWithEditor, this.defaultValue.scrollWithEditor)
|
|
31408
31408
|
};
|
|
31409
31409
|
}
|
|
@@ -31446,7 +31446,7 @@ class ert extends Fn {
|
|
|
31446
31446
|
return this.defaultValue;
|
|
31447
31447
|
const t = e;
|
|
31448
31448
|
return typeof t.enabled == "boolean" && (t.enabled = t.enabled ? "on" : "off"), {
|
|
31449
|
-
enabled:
|
|
31449
|
+
enabled: ai(t.enabled, this.defaultValue.enabled, ["on", "off", "offUnlessPressed", "onUnlessPressed"]),
|
|
31450
31450
|
fontSize: An.clampedInt(t.fontSize, this.defaultValue.fontSize, 0, 100),
|
|
31451
31451
|
fontFamily: ds.string(t.fontFamily, this.defaultValue.fontFamily),
|
|
31452
31452
|
padding: Oe(t.padding, this.defaultValue.padding)
|
|
@@ -31573,9 +31573,9 @@ class irt extends Fn {
|
|
|
31573
31573
|
return {
|
|
31574
31574
|
enabled: Oe(r.enabled, this.defaultValue.enabled),
|
|
31575
31575
|
autohide: Oe(r.autohide, this.defaultValue.autohide),
|
|
31576
|
-
size:
|
|
31577
|
-
side:
|
|
31578
|
-
showSlider:
|
|
31576
|
+
size: ai(r.size, this.defaultValue.size, ["proportional", "fill", "fit"]),
|
|
31577
|
+
side: ai(r.side, this.defaultValue.side, ["right", "left"]),
|
|
31578
|
+
showSlider: ai(r.showSlider, this.defaultValue.showSlider, ["always", "mouseover"]),
|
|
31579
31579
|
renderCharacters: Oe(r.renderCharacters, this.defaultValue.renderCharacters),
|
|
31580
31580
|
scale: An.clampedInt(r.scale, 1, 1, 3),
|
|
31581
31581
|
maxColumn: An.clampedInt(r.maxColumn, this.defaultValue.maxColumn, 1, 1e4),
|
|
@@ -31705,7 +31705,7 @@ class lrt extends Fn {
|
|
|
31705
31705
|
return this.defaultValue;
|
|
31706
31706
|
const { other: t, comments: n, strings: r } = e, s = ["on", "inline", "off"];
|
|
31707
31707
|
let o, a, l;
|
|
31708
|
-
return typeof t == "boolean" ? o = t ? "on" : "off" : o =
|
|
31708
|
+
return typeof t == "boolean" ? o = t ? "on" : "off" : o = ai(t, this.defaultValue.other, s), typeof n == "boolean" ? a = n ? "on" : "off" : a = ai(n, this.defaultValue.comments, s), typeof r == "boolean" ? l = r ? "on" : "off" : l = ai(r, this.defaultValue.strings, s), {
|
|
31709
31709
|
other: o,
|
|
31710
31710
|
comments: a,
|
|
31711
31711
|
strings: l
|
|
@@ -32046,8 +32046,8 @@ class prt extends Fn {
|
|
|
32046
32046
|
const t = e;
|
|
32047
32047
|
return {
|
|
32048
32048
|
enabled: Oe(t.enabled, this.defaultValue.enabled),
|
|
32049
|
-
mode:
|
|
32050
|
-
showToolbar:
|
|
32049
|
+
mode: ai(t.mode, this.defaultValue.mode, ["prefix", "subword", "subwordSmart"]),
|
|
32050
|
+
showToolbar: ai(t.showToolbar, this.defaultValue.showToolbar, ["always", "onHover", "never"]),
|
|
32051
32051
|
suppressSuggestions: Oe(t.suppressSuggestions, this.defaultValue.suppressSuggestions),
|
|
32052
32052
|
keepOnBlur: Oe(t.keepOnBlur, this.defaultValue.keepOnBlur),
|
|
32053
32053
|
fontFamily: ds.string(t.fontFamily, this.defaultValue.fontFamily)
|
|
@@ -32098,7 +32098,7 @@ class grt extends Fn {
|
|
|
32098
32098
|
const t = e;
|
|
32099
32099
|
return {
|
|
32100
32100
|
enabled: Oe(t.enabled, this.defaultValue.enabled),
|
|
32101
|
-
showToolbar:
|
|
32101
|
+
showToolbar: ai(t.showToolbar, this.defaultValue.showToolbar, ["always", "onHover", "never"]),
|
|
32102
32102
|
fontFamily: ds.string(t.fontFamily, this.defaultValue.fontFamily),
|
|
32103
32103
|
keepOnBlur: Oe(t.keepOnBlur, this.defaultValue.keepOnBlur),
|
|
32104
32104
|
backgroundColoring: Oe(t.backgroundColoring, this.defaultValue.backgroundColoring)
|
|
@@ -32478,16 +32478,16 @@ class vrt extends Fn {
|
|
|
32478
32478
|
return this.defaultValue;
|
|
32479
32479
|
const t = e;
|
|
32480
32480
|
return {
|
|
32481
|
-
insertMode:
|
|
32481
|
+
insertMode: ai(t.insertMode, this.defaultValue.insertMode, ["insert", "replace"]),
|
|
32482
32482
|
filterGraceful: Oe(t.filterGraceful, this.defaultValue.filterGraceful),
|
|
32483
32483
|
snippetsPreventQuickSuggestions: Oe(t.snippetsPreventQuickSuggestions, this.defaultValue.filterGraceful),
|
|
32484
32484
|
localityBonus: Oe(t.localityBonus, this.defaultValue.localityBonus),
|
|
32485
32485
|
shareSuggestSelections: Oe(t.shareSuggestSelections, this.defaultValue.shareSuggestSelections),
|
|
32486
|
-
selectionMode:
|
|
32486
|
+
selectionMode: ai(t.selectionMode, this.defaultValue.selectionMode, ["always", "never", "whenQuickSuggestion", "whenTriggerCharacter"]),
|
|
32487
32487
|
showIcons: Oe(t.showIcons, this.defaultValue.showIcons),
|
|
32488
32488
|
showStatusBar: Oe(t.showStatusBar, this.defaultValue.showStatusBar),
|
|
32489
32489
|
preview: Oe(t.preview, this.defaultValue.preview),
|
|
32490
|
-
previewMode:
|
|
32490
|
+
previewMode: ai(t.previewMode, this.defaultValue.previewMode, ["prefix", "subword", "subwordSmart"]),
|
|
32491
32491
|
showInlineDetails: Oe(t.showInlineDetails, this.defaultValue.showInlineDetails),
|
|
32492
32492
|
showMethods: Oe(t.showMethods, this.defaultValue.showMethods),
|
|
32493
32493
|
showFunctions: Oe(t.showFunctions, this.defaultValue.showFunctions),
|
|
@@ -32666,7 +32666,7 @@ class _rt extends Fn {
|
|
|
32666
32666
|
const t = e;
|
|
32667
32667
|
return {
|
|
32668
32668
|
enabled: Oe(t.enabled, this.defaultValue.enabled),
|
|
32669
|
-
showDropSelector:
|
|
32669
|
+
showDropSelector: ai(t.showDropSelector, this.defaultValue.showDropSelector, ["afterDrop", "never"])
|
|
32670
32670
|
};
|
|
32671
32671
|
}
|
|
32672
32672
|
}
|
|
@@ -32700,12 +32700,12 @@ class Ert extends Fn {
|
|
|
32700
32700
|
const t = e;
|
|
32701
32701
|
return {
|
|
32702
32702
|
enabled: Oe(t.enabled, this.defaultValue.enabled),
|
|
32703
|
-
showPasteSelector:
|
|
32703
|
+
showPasteSelector: ai(t.showPasteSelector, this.defaultValue.showPasteSelector, ["afterPaste", "never"])
|
|
32704
32704
|
};
|
|
32705
32705
|
}
|
|
32706
32706
|
}
|
|
32707
32707
|
const xrt = "Consolas, 'Courier New', monospace", Srt = "Menlo, Monaco, 'Courier New', monospace", Drt = "'Droid Sans Mono', 'monospace', monospace", Bo = {
|
|
32708
|
-
fontFamily: Pt ? Srt :
|
|
32708
|
+
fontFamily: Pt ? Srt : _s ? Drt : xrt,
|
|
32709
32709
|
fontWeight: "normal",
|
|
32710
32710
|
fontSize: Pt ? 12 : 14,
|
|
32711
32711
|
lineHeight: 0,
|
|
@@ -32963,7 +32963,7 @@ const Qf = {
|
|
|
32963
32963
|
readOnlyMessage: be(new drt()),
|
|
32964
32964
|
renameOnType: be(new Ot(93, "renameOnType", !1, { description: y("renameOnType", "Controls whether the editor auto renames on type."), markdownDeprecationMessage: y("renameOnTypeDeprecate", "Deprecated, use `editor.linkedEditing` instead.") })),
|
|
32965
32965
|
renderControlCharacters: be(new Ot(94, "renderControlCharacters", !0, { description: y("renderControlCharacters", "Controls whether the editor should render control characters."), restricted: !0 })),
|
|
32966
|
-
renderFinalNewline: be(new $n(95, "renderFinalNewline",
|
|
32966
|
+
renderFinalNewline: be(new $n(95, "renderFinalNewline", _s ? "dimmed" : "on", ["off", "on", "dimmed"], { description: y("renderFinalNewline", "Render last line number when the file ends with a newline.") })),
|
|
32967
32967
|
renderLineHighlight: be(new $n(96, "renderLineHighlight", "line", ["none", "gutter", "line", "all"], {
|
|
32968
32968
|
enumDescriptions: [
|
|
32969
32969
|
"",
|
|
@@ -32994,7 +32994,7 @@ const Qf = {
|
|
|
32994
32994
|
scrollPredominantAxis: be(new Ot(106, "scrollPredominantAxis", !0, { description: y("scrollPredominantAxis", "Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.") })),
|
|
32995
32995
|
selectionClipboard: be(new Ot(107, "selectionClipboard", !0, {
|
|
32996
32996
|
description: y("selectionClipboard", "Controls whether the Linux primary clipboard should be supported."),
|
|
32997
|
-
included:
|
|
32997
|
+
included: _s
|
|
32998
32998
|
})),
|
|
32999
32999
|
selectionHighlight: be(new Ot(108, "selectionHighlight", !0, { description: y("selectionHighlight", "Controls whether the editor should highlight matches similar to the selection.") })),
|
|
33000
33000
|
selectOnLineNumbers: be(new Ot(109, "selectOnLineNumbers", !0)),
|
|
@@ -34972,7 +34972,7 @@ function ast(i, e) {
|
|
|
34972
34972
|
}
|
|
34973
34973
|
return e;
|
|
34974
34974
|
}
|
|
34975
|
-
const
|
|
34975
|
+
const mi = "", Nl = "/", lst = /^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;
|
|
34976
34976
|
class Bt {
|
|
34977
34977
|
static isUri(e) {
|
|
34978
34978
|
return e instanceof Bt ? !0 : e ? typeof e.authority == "string" && typeof e.fragment == "string" && typeof e.path == "string" && typeof e.query == "string" && typeof e.scheme == "string" && typeof e.fsPath == "string" && typeof e.with == "function" && typeof e.toString == "function" : !1;
|
|
@@ -34981,7 +34981,7 @@ class Bt {
|
|
|
34981
34981
|
* @internal
|
|
34982
34982
|
*/
|
|
34983
34983
|
constructor(e, t, n, r, s, o = !1) {
|
|
34984
|
-
typeof e == "object" ? (this.scheme = e.scheme ||
|
|
34984
|
+
typeof e == "object" ? (this.scheme = e.scheme || mi, this.authority = e.authority || mi, this.path = e.path || mi, this.query = e.query || mi, this.fragment = e.fragment || mi) : (this.scheme = ost(e, o), this.authority = t || mi, this.path = ast(this.scheme, n || mi), this.query = r || mi, this.fragment = s || mi, sst(this, o));
|
|
34985
34985
|
}
|
|
34986
34986
|
// ---- filesystem path -----------------------
|
|
34987
34987
|
/**
|
|
@@ -35016,7 +35016,7 @@ class Bt {
|
|
|
35016
35016
|
if (!e)
|
|
35017
35017
|
return this;
|
|
35018
35018
|
let { scheme: t, authority: n, path: r, query: s, fragment: o } = e;
|
|
35019
|
-
return t === void 0 ? t = this.scheme : t === null && (t =
|
|
35019
|
+
return t === void 0 ? t = this.scheme : t === null && (t = mi), n === void 0 ? n = this.authority : n === null && (n = mi), r === void 0 ? r = this.path : r === null && (r = mi), s === void 0 ? s = this.query : s === null && (s = mi), o === void 0 ? o = this.fragment : o === null && (o = mi), t === this.scheme && n === this.authority && r === this.path && s === this.query && o === this.fragment ? this : new Cp(t, n, r, s, o);
|
|
35020
35020
|
}
|
|
35021
35021
|
// ---- parse & validate ------------------------
|
|
35022
35022
|
/**
|
|
@@ -35027,7 +35027,7 @@ class Bt {
|
|
|
35027
35027
|
*/
|
|
35028
35028
|
static parse(e, t = !1) {
|
|
35029
35029
|
const n = lst.exec(e);
|
|
35030
|
-
return n ? new Cp(n[2] ||
|
|
35030
|
+
return n ? new Cp(n[2] || mi, z4(n[4] || mi), z4(n[5] || mi), z4(n[7] || mi), z4(n[9] || mi), t) : new Cp(mi, mi, mi, mi, mi);
|
|
35031
35031
|
}
|
|
35032
35032
|
/**
|
|
35033
35033
|
* Creates a new URI from a file system path, e.g. `c:\my\files`,
|
|
@@ -35051,12 +35051,12 @@ class Bt {
|
|
|
35051
35051
|
* @param path A file system path (see `URI#fsPath`)
|
|
35052
35052
|
*/
|
|
35053
35053
|
static file(e) {
|
|
35054
|
-
let t =
|
|
35054
|
+
let t = mi;
|
|
35055
35055
|
if (zs && (e = e.replace(/\\/g, Nl)), e[0] === Nl && e[1] === Nl) {
|
|
35056
35056
|
const n = e.indexOf(Nl, 2);
|
|
35057
35057
|
n === -1 ? (t = e.substring(2), e = Nl) : (t = e.substring(2, n), e = e.substring(n) || Nl);
|
|
35058
35058
|
}
|
|
35059
|
-
return new Cp("file", t, e,
|
|
35059
|
+
return new Cp("file", t, e, mi, mi);
|
|
35060
35060
|
}
|
|
35061
35061
|
/**
|
|
35062
35062
|
* Creates new URI from uri components.
|
|
@@ -36599,7 +36599,7 @@ class gst {
|
|
|
36599
36599
|
return this._tokenizationSupport || (this._tokenizationSupport = this.createSupport()), this._tokenizationSupport;
|
|
36600
36600
|
}
|
|
36601
36601
|
}
|
|
36602
|
-
const
|
|
36602
|
+
const yi = new ust();
|
|
36603
36603
|
var tAe;
|
|
36604
36604
|
(function(i) {
|
|
36605
36605
|
i[i.Invoke = 0] = "Invoke", i[i.Automatic = 1] = "Automatic";
|
|
@@ -36975,7 +36975,7 @@ function oo(i) {
|
|
|
36975
36975
|
}
|
|
36976
36976
|
return -1;
|
|
36977
36977
|
}
|
|
36978
|
-
function
|
|
36978
|
+
function Ns(i, e = 0, t = i.length) {
|
|
36979
36979
|
for (let n = e; n < t; n++) {
|
|
36980
36980
|
const r = i.charCodeAt(n);
|
|
36981
36981
|
if (r !== 32 && r !== 9)
|
|
@@ -37421,7 +37421,7 @@ function Bst(i) {
|
|
|
37421
37421
|
case 59:
|
|
37422
37422
|
return 85;
|
|
37423
37423
|
case 60:
|
|
37424
|
-
if (
|
|
37424
|
+
if (_s)
|
|
37425
37425
|
return 97;
|
|
37426
37426
|
break;
|
|
37427
37427
|
case 61:
|
|
@@ -38268,11 +38268,11 @@ function v7e() {
|
|
|
38268
38268
|
const rt = an({}, [Be, We, dt], f_);
|
|
38269
38269
|
let Qn;
|
|
38270
38270
|
const Kn = ["application/xhtml+xml", "text/html"], mo = "text/html";
|
|
38271
|
-
let Wt,
|
|
38271
|
+
let Wt, gi = null;
|
|
38272
38272
|
const Ao = r.createElement("form"), wl = function(ie) {
|
|
38273
38273
|
return ie instanceof RegExp || ie instanceof Function;
|
|
38274
38274
|
}, qs = function(ie) {
|
|
38275
|
-
if (!(
|
|
38275
|
+
if (!(gi && gi === ie)) {
|
|
38276
38276
|
if ((!ie || typeof ie != "object") && (ie = {}), ie = _p(ie), Qn = // eslint-disable-next-line unicorn/prefer-includes
|
|
38277
38277
|
Kn.indexOf(ie.PARSER_MEDIA_TYPE) === -1 ? Qn = mo : Qn = ie.PARSER_MEDIA_TYPE, Wt = Qn === "application/xhtml+xml" ? f_ : Pb, ue = "ALLOWED_TAGS" in ie ? an({}, ie.ALLOWED_TAGS, Wt) : re, de = "ALLOWED_ATTR" in ie ? an({}, ie.ALLOWED_ATTR, Wt) : Q, dn = "ALLOWED_NAMESPACES" in ie ? an({}, ie.ALLOWED_NAMESPACES, f_) : rt, ve = "ADD_URI_SAFE_ATTR" in ie ? an(
|
|
38278
38278
|
_p(Me),
|
|
@@ -38296,7 +38296,7 @@ function v7e() {
|
|
|
38296
38296
|
b = ie.TRUSTED_TYPES_POLICY, _ = b.createHTML("");
|
|
38297
38297
|
} else
|
|
38298
38298
|
b === void 0 && (b = got(p, n)), b !== null && typeof _ == "string" && (_ = b.createHTML(""));
|
|
38299
|
-
lo && lo(ie),
|
|
38299
|
+
lo && lo(ie), gi = ie;
|
|
38300
38300
|
}
|
|
38301
38301
|
}, bl = an({}, ["mi", "mo", "mn", "ms", "mtext"]), Ih = an({}, ["foreignobject", "desc", "title", "annotation-xml"]), wc = an({}, ["title", "style", "font", "a", "script"]), ru = an({}, p_);
|
|
38302
38302
|
an(ru, g_), an(ru, sot);
|
|
@@ -38381,7 +38381,7 @@ function v7e() {
|
|
|
38381
38381
|
return typeof a == "object" ? ie instanceof a : ie && typeof ie == "object" && typeof ie.nodeType == "number" && typeof ie.nodeName == "string";
|
|
38382
38382
|
}, yl = function(ie, Ce, Pe) {
|
|
38383
38383
|
H[ie] && eot(H[ie], (It) => {
|
|
38384
|
-
It.call(e, Ce, Pe,
|
|
38384
|
+
It.call(e, Ce, Pe, gi);
|
|
38385
38385
|
});
|
|
38386
38386
|
}, te = function(ie) {
|
|
38387
38387
|
let Ce;
|
|
@@ -38537,9 +38537,9 @@ function v7e() {
|
|
|
38537
38537
|
}, e.setConfig = function(ze) {
|
|
38538
38538
|
qs(ze), we = !0;
|
|
38539
38539
|
}, e.clearConfig = function() {
|
|
38540
|
-
|
|
38540
|
+
gi = null, we = !1;
|
|
38541
38541
|
}, e.isValidAttribute = function(ze, ie, Ce) {
|
|
38542
|
-
|
|
38542
|
+
gi || qs({});
|
|
38543
38543
|
const Pe = Wt(ze), It = Wt(ie);
|
|
38544
38544
|
return Ne(Pe, It, Ce);
|
|
38545
38545
|
}, e.addHook = function(ze, ie) {
|
|
@@ -38930,7 +38930,7 @@ function u8(i, e) {
|
|
|
38930
38930
|
return u8(e);
|
|
38931
38931
|
throw new Error("Unable to figure out browser width and height");
|
|
38932
38932
|
}
|
|
38933
|
-
class
|
|
38933
|
+
class di {
|
|
38934
38934
|
// Adapted from WinJS
|
|
38935
38935
|
// Converts a CSS positioning string for the specified element to pixels.
|
|
38936
38936
|
static convertToPixels(e, t) {
|
|
@@ -38938,43 +38938,43 @@ class hi {
|
|
|
38938
38938
|
}
|
|
38939
38939
|
static getDimension(e, t, n) {
|
|
38940
38940
|
const r = nC(e), s = r ? r.getPropertyValue(t) : "0";
|
|
38941
|
-
return
|
|
38941
|
+
return di.convertToPixels(e, s);
|
|
38942
38942
|
}
|
|
38943
38943
|
static getBorderLeftWidth(e) {
|
|
38944
|
-
return
|
|
38944
|
+
return di.getDimension(e, "border-left-width", "borderLeftWidth");
|
|
38945
38945
|
}
|
|
38946
38946
|
static getBorderRightWidth(e) {
|
|
38947
|
-
return
|
|
38947
|
+
return di.getDimension(e, "border-right-width", "borderRightWidth");
|
|
38948
38948
|
}
|
|
38949
38949
|
static getBorderTopWidth(e) {
|
|
38950
|
-
return
|
|
38950
|
+
return di.getDimension(e, "border-top-width", "borderTopWidth");
|
|
38951
38951
|
}
|
|
38952
38952
|
static getBorderBottomWidth(e) {
|
|
38953
|
-
return
|
|
38953
|
+
return di.getDimension(e, "border-bottom-width", "borderBottomWidth");
|
|
38954
38954
|
}
|
|
38955
38955
|
static getPaddingLeft(e) {
|
|
38956
|
-
return
|
|
38956
|
+
return di.getDimension(e, "padding-left", "paddingLeft");
|
|
38957
38957
|
}
|
|
38958
38958
|
static getPaddingRight(e) {
|
|
38959
|
-
return
|
|
38959
|
+
return di.getDimension(e, "padding-right", "paddingRight");
|
|
38960
38960
|
}
|
|
38961
38961
|
static getPaddingTop(e) {
|
|
38962
|
-
return
|
|
38962
|
+
return di.getDimension(e, "padding-top", "paddingTop");
|
|
38963
38963
|
}
|
|
38964
38964
|
static getPaddingBottom(e) {
|
|
38965
|
-
return
|
|
38965
|
+
return di.getDimension(e, "padding-bottom", "paddingBottom");
|
|
38966
38966
|
}
|
|
38967
38967
|
static getMarginLeft(e) {
|
|
38968
|
-
return
|
|
38968
|
+
return di.getDimension(e, "margin-left", "marginLeft");
|
|
38969
38969
|
}
|
|
38970
38970
|
static getMarginTop(e) {
|
|
38971
|
-
return
|
|
38971
|
+
return di.getDimension(e, "margin-top", "marginTop");
|
|
38972
38972
|
}
|
|
38973
38973
|
static getMarginRight(e) {
|
|
38974
|
-
return
|
|
38974
|
+
return di.getDimension(e, "margin-right", "marginRight");
|
|
38975
38975
|
}
|
|
38976
38976
|
static getMarginBottom(e) {
|
|
38977
|
-
return
|
|
38977
|
+
return di.getDimension(e, "margin-bottom", "marginBottom");
|
|
38978
38978
|
}
|
|
38979
38979
|
}
|
|
38980
38980
|
class na {
|
|
@@ -39000,7 +39000,7 @@ function D7e(i) {
|
|
|
39000
39000
|
for (; (i = i.parentNode) !== null && i !== i.ownerDocument.body && i !== i.ownerDocument.documentElement; ) {
|
|
39001
39001
|
t -= i.scrollTop;
|
|
39002
39002
|
const r = L7e(i) ? null : nC(i);
|
|
39003
|
-
r && (n -= r.direction !== "rtl" ? i.scrollLeft : -i.scrollLeft), i === e && (n +=
|
|
39003
|
+
r && (n -= r.direction !== "rtl" ? i.scrollLeft : -i.scrollLeft), i === e && (n += di.getBorderLeftWidth(i), t += di.getBorderTopWidth(i), t += i.offsetTop, n += i.offsetLeft, e = i.offsetParent);
|
|
39004
39004
|
}
|
|
39005
39005
|
return {
|
|
39006
39006
|
left: n,
|
|
@@ -39025,19 +39025,19 @@ function M7e(i) {
|
|
|
39025
39025
|
return t;
|
|
39026
39026
|
}
|
|
39027
39027
|
function za(i) {
|
|
39028
|
-
const e =
|
|
39028
|
+
const e = di.getMarginLeft(i) + di.getMarginRight(i);
|
|
39029
39029
|
return i.offsetWidth + e;
|
|
39030
39030
|
}
|
|
39031
39031
|
function b_(i) {
|
|
39032
|
-
const e =
|
|
39032
|
+
const e = di.getBorderLeftWidth(i) + di.getBorderRightWidth(i), t = di.getPaddingLeft(i) + di.getPaddingRight(i);
|
|
39033
39033
|
return i.offsetWidth - e - t;
|
|
39034
39034
|
}
|
|
39035
39035
|
function Lot(i) {
|
|
39036
|
-
const e =
|
|
39036
|
+
const e = di.getBorderTopWidth(i) + di.getBorderBottomWidth(i), t = di.getPaddingTop(i) + di.getPaddingBottom(i);
|
|
39037
39037
|
return i.offsetHeight - e - t;
|
|
39038
39038
|
}
|
|
39039
39039
|
function cD(i) {
|
|
39040
|
-
const e =
|
|
39040
|
+
const e = di.getMarginTop(i) + di.getMarginBottom(i);
|
|
39041
39041
|
return i.offsetHeight + e;
|
|
39042
39042
|
}
|
|
39043
39043
|
function $i(i, e) {
|
|
@@ -39290,7 +39290,7 @@ function Re(i, ...e) {
|
|
|
39290
39290
|
function lT(i, e) {
|
|
39291
39291
|
return i.insertBefore(e, i.firstChild), e;
|
|
39292
39292
|
}
|
|
39293
|
-
function
|
|
39293
|
+
function Cs(i, ...e) {
|
|
39294
39294
|
i.innerText = "", Re(i, ...e);
|
|
39295
39295
|
}
|
|
39296
39296
|
const Pot = /([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;
|
|
@@ -40523,7 +40523,7 @@ const Pr = /* @__PURE__ */ new Map();
|
|
|
40523
40523
|
Pr.set("false", !1);
|
|
40524
40524
|
Pr.set("true", !0);
|
|
40525
40525
|
Pr.set("isMac", Pt);
|
|
40526
|
-
Pr.set("isLinux",
|
|
40526
|
+
Pr.set("isLinux", _s);
|
|
40527
40527
|
Pr.set("isWindows", zs);
|
|
40528
40528
|
Pr.set("isWeb", nm);
|
|
40529
40529
|
Pr.set("isMacNative", Pt && !nm);
|
|
@@ -40596,7 +40596,7 @@ let R7e = class xA {
|
|
|
40596
40596
|
const e = this._peek();
|
|
40597
40597
|
switch (e.type) {
|
|
40598
40598
|
case 11:
|
|
40599
|
-
return this._advance(),
|
|
40599
|
+
return this._advance(), Es.INSTANCE;
|
|
40600
40600
|
case 12:
|
|
40601
40601
|
return this._advance(), Ws.INSTANCE;
|
|
40602
40602
|
case 0: {
|
|
@@ -40811,7 +40811,7 @@ Received: '{1}'.`, e, Wc.getLexeme(t)), s = t.offset, o = Wc.getLexeme(t);
|
|
|
40811
40811
|
R7e._parseError = new Error();
|
|
40812
40812
|
class mt {
|
|
40813
40813
|
static false() {
|
|
40814
|
-
return
|
|
40814
|
+
return Es.INSTANCE;
|
|
40815
40815
|
}
|
|
40816
40816
|
static true() {
|
|
40817
40817
|
return Ws.INSTANCE;
|
|
@@ -40855,7 +40855,7 @@ function uat(i, e) {
|
|
|
40855
40855
|
function ev(i, e) {
|
|
40856
40856
|
return i.cmp(e);
|
|
40857
40857
|
}
|
|
40858
|
-
class
|
|
40858
|
+
class Es {
|
|
40859
40859
|
constructor() {
|
|
40860
40860
|
this.type = 0;
|
|
40861
40861
|
}
|
|
@@ -40881,7 +40881,7 @@ class _s {
|
|
|
40881
40881
|
return Ws.INSTANCE;
|
|
40882
40882
|
}
|
|
40883
40883
|
}
|
|
40884
|
-
|
|
40884
|
+
Es.INSTANCE = new Es();
|
|
40885
40885
|
class Ws {
|
|
40886
40886
|
constructor() {
|
|
40887
40887
|
this.type = 1;
|
|
@@ -40905,14 +40905,14 @@ class Ws {
|
|
|
40905
40905
|
return [];
|
|
40906
40906
|
}
|
|
40907
40907
|
negate() {
|
|
40908
|
-
return
|
|
40908
|
+
return Es.INSTANCE;
|
|
40909
40909
|
}
|
|
40910
40910
|
}
|
|
40911
40911
|
Ws.INSTANCE = new Ws();
|
|
40912
40912
|
class Jf {
|
|
40913
40913
|
static create(e, t = null) {
|
|
40914
40914
|
const n = Pr.get(e);
|
|
40915
|
-
return typeof n == "boolean" ? n ? Ws.INSTANCE :
|
|
40915
|
+
return typeof n == "boolean" ? n ? Ws.INSTANCE : Es.INSTANCE : new Jf(e, t);
|
|
40916
40916
|
}
|
|
40917
40917
|
constructor(e, t) {
|
|
40918
40918
|
this.key = e, this.negated = t, this.type = 2;
|
|
@@ -40925,7 +40925,7 @@ class Jf {
|
|
|
40925
40925
|
}
|
|
40926
40926
|
substituteConstants() {
|
|
40927
40927
|
const e = Pr.get(this.key);
|
|
40928
|
-
return typeof e == "boolean" ? e ? Ws.INSTANCE :
|
|
40928
|
+
return typeof e == "boolean" ? e ? Ws.INSTANCE : Es.INSTANCE : this;
|
|
40929
40929
|
}
|
|
40930
40930
|
evaluate(e) {
|
|
40931
40931
|
return !!e.getValue(this.key);
|
|
@@ -40945,7 +40945,7 @@ class B3 {
|
|
|
40945
40945
|
if (typeof t == "boolean")
|
|
40946
40946
|
return t ? Jf.create(e, n) : $f.create(e, n);
|
|
40947
40947
|
const r = Pr.get(e);
|
|
40948
|
-
return typeof r == "boolean" ? t === (r ? "true" : "false") ? Ws.INSTANCE :
|
|
40948
|
+
return typeof r == "boolean" ? t === (r ? "true" : "false") ? Ws.INSTANCE : Es.INSTANCE : new B3(e, t, n);
|
|
40949
40949
|
}
|
|
40950
40950
|
constructor(e, t, n) {
|
|
40951
40951
|
this.key = e, this.value = t, this.negated = n, this.type = 4;
|
|
@@ -40960,7 +40960,7 @@ class B3 {
|
|
|
40960
40960
|
const e = Pr.get(this.key);
|
|
40961
40961
|
if (typeof e == "boolean") {
|
|
40962
40962
|
const t = e ? "true" : "false";
|
|
40963
|
-
return this.value === t ? Ws.INSTANCE :
|
|
40963
|
+
return this.value === t ? Ws.INSTANCE : Es.INSTANCE;
|
|
40964
40964
|
}
|
|
40965
40965
|
return this;
|
|
40966
40966
|
}
|
|
@@ -41041,7 +41041,7 @@ class cC {
|
|
|
41041
41041
|
if (typeof t == "boolean")
|
|
41042
41042
|
return t ? $f.create(e, n) : Jf.create(e, n);
|
|
41043
41043
|
const r = Pr.get(e);
|
|
41044
|
-
return typeof r == "boolean" ? t === (r ? "true" : "false") ?
|
|
41044
|
+
return typeof r == "boolean" ? t === (r ? "true" : "false") ? Es.INSTANCE : Ws.INSTANCE : new cC(e, t, n);
|
|
41045
41045
|
}
|
|
41046
41046
|
constructor(e, t, n) {
|
|
41047
41047
|
this.key = e, this.value = t, this.negated = n, this.type = 5;
|
|
@@ -41056,7 +41056,7 @@ class cC {
|
|
|
41056
41056
|
const e = Pr.get(this.key);
|
|
41057
41057
|
if (typeof e == "boolean") {
|
|
41058
41058
|
const t = e ? "true" : "false";
|
|
41059
|
-
return this.value === t ?
|
|
41059
|
+
return this.value === t ? Es.INSTANCE : Ws.INSTANCE;
|
|
41060
41060
|
}
|
|
41061
41061
|
return this;
|
|
41062
41062
|
}
|
|
@@ -41076,7 +41076,7 @@ class cC {
|
|
|
41076
41076
|
class $f {
|
|
41077
41077
|
static create(e, t = null) {
|
|
41078
41078
|
const n = Pr.get(e);
|
|
41079
|
-
return typeof n == "boolean" ? n ?
|
|
41079
|
+
return typeof n == "boolean" ? n ? Es.INSTANCE : Ws.INSTANCE : new $f(e, t);
|
|
41080
41080
|
}
|
|
41081
41081
|
constructor(e, t) {
|
|
41082
41082
|
this.key = e, this.negated = t, this.type = 3;
|
|
@@ -41089,7 +41089,7 @@ class $f {
|
|
|
41089
41089
|
}
|
|
41090
41090
|
substituteConstants() {
|
|
41091
41091
|
const e = Pr.get(this.key);
|
|
41092
|
-
return typeof e == "boolean" ? e ?
|
|
41092
|
+
return typeof e == "boolean" ? e ? Es.INSTANCE : Ws.INSTANCE : this;
|
|
41093
41093
|
}
|
|
41094
41094
|
evaluate(e) {
|
|
41095
41095
|
return !e.getValue(this.key);
|
|
@@ -41109,7 +41109,7 @@ function hC(i, e) {
|
|
|
41109
41109
|
const t = parseFloat(i);
|
|
41110
41110
|
isNaN(t) || (i = t);
|
|
41111
41111
|
}
|
|
41112
|
-
return typeof i == "string" || typeof i == "number" ? e(i) :
|
|
41112
|
+
return typeof i == "string" || typeof i == "number" ? e(i) : Es.INSTANCE;
|
|
41113
41113
|
}
|
|
41114
41114
|
class dC {
|
|
41115
41115
|
static create(e, t, n = null) {
|
|
@@ -41363,7 +41363,7 @@ class H1 {
|
|
|
41363
41363
|
continue;
|
|
41364
41364
|
}
|
|
41365
41365
|
if (o.type === 0)
|
|
41366
|
-
return
|
|
41366
|
+
return Es.INSTANCE;
|
|
41367
41367
|
if (o.type === 6) {
|
|
41368
41368
|
r.push(...o.expr);
|
|
41369
41369
|
continue;
|
|
@@ -41394,7 +41394,7 @@ class H1 {
|
|
|
41394
41394
|
for (let o = 0; o < r.length; o++)
|
|
41395
41395
|
for (let a = o + 1; a < r.length; a++)
|
|
41396
41396
|
if (r[o].negate().equals(r[a]))
|
|
41397
|
-
return
|
|
41397
|
+
return Es.INSTANCE;
|
|
41398
41398
|
if (r.length === 1)
|
|
41399
41399
|
return r[0];
|
|
41400
41400
|
}
|
|
@@ -41482,7 +41482,7 @@ class nd {
|
|
|
41482
41482
|
}
|
|
41483
41483
|
}
|
|
41484
41484
|
if (r.length === 0 && s)
|
|
41485
|
-
return
|
|
41485
|
+
return Es.INSTANCE;
|
|
41486
41486
|
r.sort(ev);
|
|
41487
41487
|
}
|
|
41488
41488
|
if (r.length !== 0) {
|
|
@@ -43214,7 +43214,7 @@ class Yp {
|
|
|
43214
43214
|
}
|
|
43215
43215
|
}
|
|
43216
43216
|
}
|
|
43217
|
-
const
|
|
43217
|
+
const fi = zt("configurationService");
|
|
43218
43218
|
function AD(i, e) {
|
|
43219
43219
|
const t = /* @__PURE__ */ Object.create(null);
|
|
43220
43220
|
for (const n in i)
|
|
@@ -43674,7 +43674,7 @@ let vD = class extends me {
|
|
|
43674
43674
|
}
|
|
43675
43675
|
};
|
|
43676
43676
|
vD = dlt([
|
|
43677
|
-
BAe(0,
|
|
43677
|
+
BAe(0, fi),
|
|
43678
43678
|
BAe(1, rr)
|
|
43679
43679
|
], vD);
|
|
43680
43680
|
function ult(i, e, t, n) {
|
|
@@ -43711,7 +43711,7 @@ function PAe(i) {
|
|
|
43711
43711
|
}
|
|
43712
43712
|
function i_e(i, e, t) {
|
|
43713
43713
|
const n = i.getLineContent(e);
|
|
43714
|
-
let r =
|
|
43714
|
+
let r = Ns(n);
|
|
43715
43715
|
return r.length > t - 1 && (r = r.substring(0, t - 1)), r;
|
|
43716
43716
|
}
|
|
43717
43717
|
class plt {
|
|
@@ -49480,7 +49480,7 @@ class nht {
|
|
|
49480
49480
|
this._lastTokenType === t && this._lastTokenLanguage === this._languageId || (this._lastTokenType = t, this._lastTokenLanguage = this._languageId, this._tokens.push(new Qv(e, t, this._languageId)));
|
|
49481
49481
|
}
|
|
49482
49482
|
nestedLanguageTokenize(e, t, n, r) {
|
|
49483
|
-
const s = n.languageId, o = n.state, a =
|
|
49483
|
+
const s = n.languageId, o = n.state, a = yi.get(s);
|
|
49484
49484
|
if (!a)
|
|
49485
49485
|
return this.enterLanguage(s), this.emit(r, ""), o;
|
|
49486
49486
|
const l = a.tokenize(e, t, o);
|
|
@@ -49521,7 +49521,7 @@ class C8 {
|
|
|
49521
49521
|
return n !== null && a.set(n, r + s), a;
|
|
49522
49522
|
}
|
|
49523
49523
|
nestedLanguageTokenize(e, t, n, r) {
|
|
49524
|
-
const s = n.languageId, o = n.state, a =
|
|
49524
|
+
const s = n.languageId, o = n.state, a = yi.get(s);
|
|
49525
49525
|
if (!a)
|
|
49526
49526
|
return this.enterLanguage(s), this.emit(r, ""), o;
|
|
49527
49527
|
const l = a.tokenizeEncoded(e, t, o);
|
|
@@ -49538,7 +49538,7 @@ let ow = MD = class extends me {
|
|
|
49538
49538
|
constructor(e, t, n, r, s) {
|
|
49539
49539
|
super(), this._configurationService = s, this._languageService = e, this._standaloneThemeService = t, this._languageId = n, this._lexer = r, this._embeddedLanguages = /* @__PURE__ */ Object.create(null), this.embeddedLoaded = Promise.resolve(void 0);
|
|
49540
49540
|
let o = !1;
|
|
49541
|
-
this._register(
|
|
49541
|
+
this._register(yi.onDidChange((a) => {
|
|
49542
49542
|
if (o)
|
|
49543
49543
|
return;
|
|
49544
49544
|
let l = !1;
|
|
@@ -49549,7 +49549,7 @@ let ow = MD = class extends me {
|
|
|
49549
49549
|
break;
|
|
49550
49550
|
}
|
|
49551
49551
|
}
|
|
49552
|
-
l && (o = !0,
|
|
49552
|
+
l && (o = !0, yi.handleChange([this._languageId]), o = !1);
|
|
49553
49553
|
})), this._maxTokenizationLineLength = this._configurationService.getValue("editor.maxTokenizationLineLength", {
|
|
49554
49554
|
overrideIdentifier: this._languageId
|
|
49555
49555
|
}), this._register(this._configurationService.onDidChangeConfiguration((a) => {
|
|
@@ -49561,7 +49561,7 @@ let ow = MD = class extends me {
|
|
|
49561
49561
|
getLoadStatus() {
|
|
49562
49562
|
const e = [];
|
|
49563
49563
|
for (const t in this._embeddedLanguages) {
|
|
49564
|
-
const n =
|
|
49564
|
+
const n = yi.get(t);
|
|
49565
49565
|
if (n) {
|
|
49566
49566
|
if (n instanceof MD) {
|
|
49567
49567
|
const r = n.getLoadStatus();
|
|
@@ -49569,7 +49569,7 @@ let ow = MD = class extends me {
|
|
|
49569
49569
|
}
|
|
49570
49570
|
continue;
|
|
49571
49571
|
}
|
|
49572
|
-
|
|
49572
|
+
yi.isResolved(t) || e.push(yi.getOrCreate(t));
|
|
49573
49573
|
}
|
|
49574
49574
|
return e.length === 0 ? {
|
|
49575
49575
|
loaded: !0
|
|
@@ -49770,13 +49770,13 @@ let ow = MD = class extends me {
|
|
|
49770
49770
|
_getNestedEmbeddedLanguageData(e) {
|
|
49771
49771
|
if (!this._languageService.isRegisteredLanguageId(e))
|
|
49772
49772
|
return new $p(e, iw);
|
|
49773
|
-
e !== this._languageId && (this._languageService.requestBasicLanguageFeatures(e),
|
|
49774
|
-
const t =
|
|
49773
|
+
e !== this._languageId && (this._languageService.requestBasicLanguageFeatures(e), yi.getOrCreate(e), this._embeddedLanguages[e] = !0);
|
|
49774
|
+
const t = yi.get(e);
|
|
49775
49775
|
return t ? new $p(e, t.getInitialState()) : new $p(e, iw);
|
|
49776
49776
|
}
|
|
49777
49777
|
};
|
|
49778
49778
|
ow = MD = eht([
|
|
49779
|
-
tht(4,
|
|
49779
|
+
tht(4, fi)
|
|
49780
49780
|
], ow);
|
|
49781
49781
|
function iht(i, e) {
|
|
49782
49782
|
if (!e)
|
|
@@ -49824,7 +49824,7 @@ class ST {
|
|
|
49824
49824
|
const a = sm(t);
|
|
49825
49825
|
if (!e.isRegisteredLanguageId(n))
|
|
49826
49826
|
return wve(a, o, s);
|
|
49827
|
-
const l = await
|
|
49827
|
+
const l = await yi.getOrCreate(n);
|
|
49828
49828
|
return l ? rht(a, o, l, s) : wve(a, o, s);
|
|
49829
49829
|
}
|
|
49830
49830
|
static colorizeLine(e, t, n, r, s = 4) {
|
|
@@ -50549,7 +50549,7 @@ const St = Z("foreground", { dark: "#CCCCCC", light: "#616161", hcDark: "#FFFFFF
|
|
|
50549
50549
|
Z("disabledForeground", { dark: "#CCCCCC80", light: "#61616180", hcDark: "#A5A5A5", hcLight: "#7F7F7F" }, y("disabledForeground", "Overall foreground for disabled elements. This color is only used if not overridden by a component."));
|
|
50550
50550
|
Z("errorForeground", { dark: "#F48771", light: "#A1260D", hcDark: "#F48771", hcLight: "#B5200D" }, y("errorForeground", "Overall foreground color for error messages. This color is only used if not overridden by a component."));
|
|
50551
50551
|
Z("descriptionForeground", { light: "#717171", dark: Ye(St, 0.7), hcDark: Ye(St, 0.7), hcLight: Ye(St, 0.7) }, y("descriptionForeground", "Foreground color for description text providing additional information, for example for a label."));
|
|
50552
|
-
const eg = Z("icon.foreground", { dark: "#C5C5C5", light: "#424242", hcDark: "#FFFFFF", hcLight: "#292929" }, y("iconForeground", "The default color for icons in the workbench.")), ca = Z("focusBorder", { dark: "#007FD4", light: "#0090F1", hcDark: "#F38518", hcLight: "#006BBD" }, y("focusBorder", "Overall border color for focused elements. This color is only used if not overridden by a component.")), Ft = Z("contrastBorder", { light: null, dark: null, hcDark: "#6FC3DF", hcLight: "#0F4A85" }, y("contrastBorder", "An extra border around elements to separate them from others for greater contrast.")),
|
|
50552
|
+
const eg = Z("icon.foreground", { dark: "#C5C5C5", light: "#424242", hcDark: "#FFFFFF", hcLight: "#292929" }, y("iconForeground", "The default color for icons in the workbench.")), ca = Z("focusBorder", { dark: "#007FD4", light: "#0090F1", hcDark: "#F38518", hcLight: "#006BBD" }, y("focusBorder", "Overall border color for focused elements. This color is only used if not overridden by a component.")), Ft = Z("contrastBorder", { light: null, dark: null, hcDark: "#6FC3DF", hcLight: "#0F4A85" }, y("contrastBorder", "An extra border around elements to separate them from others for greater contrast.")), bi = Z("contrastActiveBorder", { light: null, dark: null, hcDark: ca, hcLight: ca }, y("activeContrastBorder", "An extra border around active elements to separate them from others for greater contrast."));
|
|
50553
50553
|
Z("selection.background", { light: null, dark: null, hcDark: null, hcLight: null }, y("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."));
|
|
50554
50554
|
const _ht = Z("textLink.foreground", { light: "#006AB1", dark: "#3794FF", hcDark: "#21A6FF", hcLight: "#0F4A85" }, y("textLinkForeground", "Foreground color for links in text."));
|
|
50555
50555
|
Z("textLink.activeForeground", { light: "#006AB1", dark: "#3794FF", hcDark: "#21A6FF", hcLight: "#0F4A85" }, y("textLinkActiveForeground", "Foreground color for links in text when clicked on and on mouse hover."));
|
|
@@ -50570,18 +50570,18 @@ Z("editorWidget.resizeBorder", { light: null, dark: null, hcDark: null, hcLight:
|
|
|
50570
50570
|
Z("editorError.background", { dark: null, light: null, hcDark: null, hcLight: null }, y("editorError.background", "Background color of error text in the editor. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
50571
50571
|
const dd = Z("editorError.foreground", { dark: "#F14C4C", light: "#E51400", hcDark: "#F48771", hcLight: "#B5200D" }, y("editorError.foreground", "Foreground color of error squigglies in the editor."));
|
|
50572
50572
|
Z("editorError.border", { dark: null, light: null, hcDark: pe.fromHex("#E47777").transparent(0.8), hcLight: "#B5200D" }, y("errorBorder", "If set, color of double underlines for errors in the editor."));
|
|
50573
|
-
const Y4 = Z("editorWarning.background", { dark: null, light: null, hcDark: null, hcLight: null }, y("editorWarning.background", "Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations."), !0),
|
|
50573
|
+
const Y4 = Z("editorWarning.background", { dark: null, light: null, hcDark: null, hcLight: null }, y("editorWarning.background", "Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations."), !0), ws = Z("editorWarning.foreground", { dark: "#CCA700", light: "#BF8803", hcDark: "#FFD370", hcLight: "#895503" }, y("editorWarning.foreground", "Foreground color of warning squigglies in the editor.")), D8 = Z("editorWarning.border", { dark: null, light: null, hcDark: pe.fromHex("#FFCC00").transparent(0.8), hcLight: pe.fromHex("#FFCC00").transparent(0.8) }, y("warningBorder", "If set, color of double underlines for warnings in the editor."));
|
|
50574
50574
|
Z("editorInfo.background", { dark: null, light: null, hcDark: null, hcLight: null }, y("editorInfo.background", "Background color of info text in the editor. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
50575
50575
|
const ha = Z("editorInfo.foreground", { dark: "#3794FF", light: "#1a85ff", hcDark: "#3794FF", hcLight: "#1a85ff" }, y("editorInfo.foreground", "Foreground color of info squigglies in the editor.")), M8 = Z("editorInfo.border", { dark: null, light: null, hcDark: pe.fromHex("#3794FF").transparent(0.8), hcLight: "#292929" }, y("infoBorder", "If set, color of double underlines for infos in the editor.")), Sht = Z("editorHint.foreground", { dark: pe.fromHex("#eeeeee").transparent(0.7), light: "#6c6c6c", hcDark: null, hcLight: null }, y("editorHint.foreground", "Foreground color of hint squigglies in the editor."));
|
|
50576
50576
|
Z("editorHint.border", { dark: null, light: null, hcDark: pe.fromHex("#eeeeee").transparent(0.8), hcLight: "#292929" }, y("hintBorder", "If set, color of double underlines for hints in the editor."));
|
|
50577
50577
|
Z("editorLink.activeForeground", { dark: "#4E94CE", light: pe.blue, hcDark: pe.cyan, hcLight: "#292929" }, y("activeLinkForeground", "Color of active links."));
|
|
50578
50578
|
const tg = Z("editor.selectionBackground", { light: "#ADD6FF", dark: "#264F78", hcDark: "#f3f518", hcLight: "#0F4A85" }, y("editorSelectionBackground", "Color of the editor selection.")), Dht = Z("editor.selectionForeground", { light: null, dark: null, hcDark: "#000000", hcLight: pe.white }, y("editorSelectionForeground", "Color of the selected text for high contrast.")), k_e = Z("editor.inactiveSelectionBackground", { light: Ye(tg, 0.5), dark: Ye(tg, 0.5), hcDark: Ye(tg, 0.7), hcLight: Ye(tg, 0.5) }, y("editorInactiveSelection", "Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."), !0), N_e = Z("editor.selectionHighlightBackground", { light: _ve(tg, Vr, 0.3, 0.6), dark: _ve(tg, Vr, 0.3, 0.6), hcDark: null, hcLight: null }, y("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);
|
|
50579
|
-
Z("editor.selectionHighlightBorder", { light: null, dark: null, hcDark:
|
|
50579
|
+
Z("editor.selectionHighlightBorder", { light: null, dark: null, hcDark: bi, hcLight: bi }, y("editorSelectionHighlightBorder", "Border color for regions with the same content as the selection."));
|
|
50580
50580
|
Z("editor.findMatchBackground", { light: "#A8AC94", dark: "#515C6A", hcDark: null, hcLight: null }, y("editorFindMatch", "Color of the current search match."));
|
|
50581
50581
|
const Mht = Z("editor.findMatchForeground", { light: null, dark: null, hcDark: null, hcLight: null }, y("editorFindMatchForeground", "Text color of the current search match.")), Ou = Z("editor.findMatchHighlightBackground", { light: "#EA5C0055", dark: "#EA5C0055", hcDark: null, hcLight: null }, y("findMatchHighlight", "Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."), !0), Lht = Z("editor.findMatchHighlightForeground", { light: null, dark: null, hcDark: null, hcLight: null }, y("findMatchHighlightForeground", "Foreground color of the other search matches."), !0);
|
|
50582
50582
|
Z("editor.findRangeHighlightBackground", { dark: "#3a3d4166", light: "#b4b4b44d", hcDark: null, hcLight: null }, y("findRangeHighlight", "Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
50583
|
-
Z("editor.findMatchBorder", { light: null, dark: null, hcDark:
|
|
50584
|
-
const P1 = Z("editor.findMatchHighlightBorder", { light: null, dark: null, hcDark:
|
|
50583
|
+
Z("editor.findMatchBorder", { light: null, dark: null, hcDark: bi, hcLight: bi }, y("editorFindMatchBorder", "Border color of the current search match."));
|
|
50584
|
+
const P1 = Z("editor.findMatchHighlightBorder", { light: null, dark: null, hcDark: bi, hcLight: bi }, y("findMatchHighlightBorder", "Border color of the other search matches.")), kht = Z("editor.findRangeHighlightBorder", { dark: null, light: null, hcDark: Ye(bi, 0.4), hcLight: Ye(bi, 0.4) }, y("findRangeHighlightBorder", "Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
50585
50585
|
Z("editor.hoverHighlightBackground", { light: "#ADD6FF26", dark: "#264f7840", hcDark: "#ADD6FF26", hcLight: null }, y("hoverHighlight", "Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
50586
50586
|
const xve = Z("editorHoverWidget.background", { light: ji, dark: ji, hcDark: ji, hcLight: ji }, y("hoverBackground", "Background color of the editor hover."));
|
|
50587
50587
|
Z("editorHoverWidget.foreground", { light: hd, dark: hd, hcDark: hd, hcLight: hd }, y("hoverForeground", "Foreground color of the editor hover."));
|
|
@@ -50613,7 +50613,7 @@ Z("diffEditor.unchangedRegionBackground", { dark: "sideBar.background", light: "
|
|
|
50613
50613
|
Z("diffEditor.unchangedRegionForeground", { dark: "foreground", light: "foreground", hcDark: "foreground", hcLight: "foreground" }, y("diffEditor.unchangedRegionForeground", "The foreground color of unchanged blocks in the diff editor."));
|
|
50614
50614
|
Z("diffEditor.unchangedCodeBackground", { dark: "#74747429", light: "#b8b8b829", hcDark: null, hcLight: null }, y("diffEditor.unchangedCodeBackground", "The background color of unchanged code in the diff editor."));
|
|
50615
50615
|
const Hu = Z("widget.shadow", { dark: Ye(pe.black, 0.36), light: Ye(pe.black, 0.16), hcDark: null, hcLight: null }, y("widgetShadow", "Shadow color of widgets such as find/replace inside the editor.")), Rht = Z("widget.border", { dark: null, light: null, hcDark: Ft, hcLight: Ft }, y("widgetBorder", "Border color of widgets such as find/replace inside the editor.")), Sve = Z("toolbar.hoverBackground", { dark: "#5a5d5e50", light: "#b8b8b850", hcDark: null, hcLight: null }, y("toolbarHoverBackground", "Toolbar background when hovering over actions using the mouse"));
|
|
50616
|
-
Z("toolbar.hoverOutline", { dark: null, light: null, hcDark:
|
|
50616
|
+
Z("toolbar.hoverOutline", { dark: null, light: null, hcDark: bi, hcLight: bi }, y("toolbarHoverOutline", "Toolbar outline when hovering over actions using the mouse"));
|
|
50617
50617
|
Z("toolbar.activeBackground", { dark: Kl(Sve, 0.1), light: op(Sve, 0.1), hcDark: null, hcLight: null }, y("toolbarActiveBackground", "Toolbar background when holding the mouse over actions"));
|
|
50618
50618
|
const Hht = Z("breadcrumb.foreground", { light: Ye(St, 0.8), dark: Ye(St, 0.8), hcDark: Ye(St, 0.8), hcLight: Ye(St, 0.8) }, y("breadcrumbsFocusForeground", "Color of focused breadcrumb items.")), Bht = Z("breadcrumb.background", { light: Vr, dark: Vr, hcDark: Vr, hcLight: Vr }, y("breadcrumbsBackground", "Background color of breadcrumb items.")), Dve = Z("breadcrumb.focusForeground", { light: op(St, 0.2), dark: Kl(St, 0.1), hcDark: Kl(St, 0.1), hcLight: Kl(St, 0.1) }, y("breadcrumbsFocusForeground", "Color of focused breadcrumb items.")), Pht = Z("breadcrumb.activeSelectionForeground", { light: op(St, 0.2), dark: Kl(St, 0.1), hcDark: Kl(St, 0.1), hcLight: Kl(St, 0.1) }, y("breadcrumbsSelectedForeground", "Color of selected breadcrumb items."));
|
|
50619
50619
|
Z("breadcrumbPicker.background", { light: ji, dark: ji, hcDark: ji, hcLight: ji }, y("breadcrumbsSelectedBackground", "Background color of breadcrumb item picker."));
|
|
@@ -50629,9 +50629,9 @@ Z("editorOverviewRuler.incomingContentForeground", { dark: Ye(ig, v2), light: Ye
|
|
|
50629
50629
|
Z("editorOverviewRuler.commonContentForeground", { dark: Ye(rg, v2), light: Ye(rg, v2), hcDark: w2, hcLight: w2 }, y("overviewRulerCommonContentForeground", "Common ancestor overview ruler foreground for inline merge-conflicts."));
|
|
50630
50630
|
const MT = Z("editorOverviewRuler.findMatchForeground", { dark: "#d186167e", light: "#d186167e", hcDark: "#AB5A00", hcLight: "" }, y("overviewRulerFindMatchForeground", "Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
50631
50631
|
Z("editorOverviewRuler.selectionHighlightForeground", { dark: "#A0A0A0CC", light: "#A0A0A0CC", hcDark: "#A0A0A0CC", hcLight: "#A0A0A0CC" }, y("overviewRulerSelectionHighlightForeground", "Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
50632
|
-
const Fht = Z("problemsErrorIcon.foreground", { dark: dd, light: dd, hcDark: dd, hcLight: dd }, y("problemsErrorIconForeground", "The color used for the problems error icon.")), zht = Z("problemsWarningIcon.foreground", { dark:
|
|
50632
|
+
const Fht = Z("problemsErrorIcon.foreground", { dark: dd, light: dd, hcDark: dd, hcLight: dd }, y("problemsErrorIconForeground", "The color used for the problems error icon.")), zht = Z("problemsWarningIcon.foreground", { dark: ws, light: ws, hcDark: ws, hcLight: ws }, y("problemsWarningIconForeground", "The color used for the problems warning icon.")), Wht = Z("problemsInfoIcon.foreground", { dark: ha, light: ha, hcDark: ha, hcLight: ha }, y("problemsInfoIconForeground", "The color used for the problems info icon.")), sg = Z("minimap.findMatchHighlight", { light: "#d18616", dark: "#d18616", hcDark: "#AB5A00", hcLight: "#0F4A85" }, y("minimapFindMatchHighlight", "Minimap marker color for find matches."), !0);
|
|
50633
50633
|
Z("minimap.selectionOccurrenceHighlight", { light: "#c9c9c9", dark: "#676767", hcDark: "#ffffff", hcLight: "#0F4A85" }, y("minimapSelectionOccurrenceHighlight", "Minimap marker color for repeating editor selections."), !0);
|
|
50634
|
-
const Nve = Z("minimap.selectionHighlight", { light: "#ADD6FF", dark: "#264F78", hcDark: "#ffffff", hcLight: "#0F4A85" }, y("minimapSelectionHighlight", "Minimap marker color for the editor selection."), !0), jht = Z("minimap.infoHighlight", { dark: ha, light: ha, hcDark: M8, hcLight: M8 }, y("minimapInfo", "Minimap marker color for infos.")), Zht = Z("minimap.warningHighlight", { dark:
|
|
50634
|
+
const Nve = Z("minimap.selectionHighlight", { light: "#ADD6FF", dark: "#264F78", hcDark: "#ffffff", hcLight: "#0F4A85" }, y("minimapSelectionHighlight", "Minimap marker color for the editor selection."), !0), jht = Z("minimap.infoHighlight", { dark: ha, light: ha, hcDark: M8, hcLight: M8 }, y("minimapInfo", "Minimap marker color for infos.")), Zht = Z("minimap.warningHighlight", { dark: ws, light: ws, hcDark: D8, hcLight: D8 }, y("overviewRuleWarning", "Minimap marker color for warnings.")), Uht = Z("minimap.errorHighlight", { dark: new pe(new Zt(255, 18, 18, 0.7)), light: new pe(new Zt(255, 18, 18, 0.7)), hcDark: new pe(new Zt(255, 50, 50, 1)), hcLight: "#B5200D" }, y("minimapError", "Minimap marker color for errors.")), qht = Z("minimap.background", { dark: null, light: null, hcDark: null, hcLight: null }, y("minimapBackground", "Minimap background color.")), Ght = Z("minimap.foregroundOpacity", { dark: pe.fromHex("#000f"), light: pe.fromHex("#000f"), hcDark: pe.fromHex("#000f"), hcLight: pe.fromHex("#000f") }, y("minimapForegroundOpacity", 'Opacity of foreground elements rendered in the minimap. For example, "#000000c0" will render the elements with 75% opacity.'));
|
|
50635
50635
|
Z("minimapSlider.background", { light: Ye(LA, 0.5), dark: Ye(LA, 0.5), hcDark: Ye(LA, 0.5), hcLight: Ye(LA, 0.5) }, y("minimapSliderBackground", "Minimap slider background color."));
|
|
50636
50636
|
Z("minimapSlider.hoverBackground", { light: Ye(kA, 0.5), dark: Ye(kA, 0.5), hcDark: Ye(kA, 0.5), hcLight: Ye(kA, 0.5) }, y("minimapSliderHoverBackground", "Minimap slider background color when hovering."));
|
|
50637
50637
|
Z("minimapSlider.activeBackground", { light: Ye(NA, 0.5), dark: Ye(NA, 0.5), hcDark: Ye(NA, 0.5), hcLight: Ye(NA, 0.5) }, y("minimapSliderActiveBackground", "Minimap slider background color when clicked on."));
|
|
@@ -50639,7 +50639,7 @@ Z("charts.foreground", { dark: St, light: St, hcDark: St, hcLight: St }, y("char
|
|
|
50639
50639
|
Z("charts.lines", { dark: Ye(St, 0.5), light: Ye(St, 0.5), hcDark: Ye(St, 0.5), hcLight: Ye(St, 0.5) }, y("chartsLines", "The color used for horizontal lines in charts."));
|
|
50640
50640
|
Z("charts.red", { dark: dd, light: dd, hcDark: dd, hcLight: dd }, y("chartsRed", "The red color used in chart visualizations."));
|
|
50641
50641
|
Z("charts.blue", { dark: ha, light: ha, hcDark: ha, hcLight: ha }, y("chartsBlue", "The blue color used in chart visualizations."));
|
|
50642
|
-
Z("charts.yellow", { dark:
|
|
50642
|
+
Z("charts.yellow", { dark: ws, light: ws, hcDark: ws, hcLight: ws }, y("chartsYellow", "The yellow color used in chart visualizations."));
|
|
50643
50643
|
Z("charts.orange", { dark: sg, light: sg, hcDark: sg, hcLight: sg }, y("chartsOrange", "The orange color used in chart visualizations."));
|
|
50644
50644
|
Z("charts.green", { dark: "#89D185", light: "#388A34", hcDark: "#89D185", hcLight: "#374e06" }, y("chartsGreen", "The green color used in chart visualizations."));
|
|
50645
50645
|
Z("charts.purple", { dark: "#B180D7", light: "#652D90", hcDark: "#B180D7", hcLight: "#652D90" }, y("chartsPurple", "The purple color used in chart visualizations."));
|
|
@@ -50651,16 +50651,16 @@ const Xht = Z("inputValidation.infoBackground", { dark: "#063B49", light: "#D6EC
|
|
|
50651
50651
|
Z("checkbox.selectBackground", { dark: ji, light: ji, hcDark: ji, hcLight: ji }, y("checkbox.select.background", "Background color of checkbox widget when the element it's in is selected."));
|
|
50652
50652
|
const fdt = Z("checkbox.foreground", { dark: ud, light: ud, hcDark: ud, hcLight: ud }, y("checkbox.foreground", "Foreground color of checkbox widget.")), pdt = Z("checkbox.border", { dark: og, light: og, hcDark: og, hcLight: og }, y("checkbox.border", "Border color of checkbox widget."));
|
|
50653
50653
|
Z("checkbox.selectBorder", { dark: eg, light: eg, hcDark: eg, hcLight: eg }, y("checkbox.select.border", "Border color of checkbox widget when the element it's in is selected."));
|
|
50654
|
-
const gdt = Z("keybindingLabel.background", { dark: new pe(new Zt(128, 128, 128, 0.17)), light: new pe(new Zt(221, 221, 221, 0.4)), hcDark: pe.transparent, hcLight: pe.transparent }, y("keybindingLabelBackground", "Keybinding label background color. The keybinding label is used to represent a keyboard shortcut.")), mdt = Z("keybindingLabel.foreground", { dark: pe.fromHex("#CCCCCC"), light: pe.fromHex("#555555"), hcDark: pe.white, hcLight: St }, y("keybindingLabelForeground", "Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut.")), Adt = Z("keybindingLabel.border", { dark: new pe(new Zt(51, 51, 51, 0.6)), light: new pe(new Zt(204, 204, 204, 0.4)), hcDark: new pe(new Zt(111, 195, 223)), hcLight: Ft }, y("keybindingLabelBorder", "Keybinding label border color. The keybinding label is used to represent a keyboard shortcut.")), vdt = Z("keybindingLabel.bottomBorder", { dark: new pe(new Zt(68, 68, 68, 0.6)), light: new pe(new Zt(187, 187, 187, 0.4)), hcDark: new pe(new Zt(111, 195, 223)), hcLight: St }, y("keybindingLabelBottomBorder", "Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut.")), wdt = Z("list.focusBackground", { dark: null, light: null, hcDark: null, hcLight: null }, y("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.")), bdt = Z("list.focusForeground", { dark: null, light: null, hcDark: null, hcLight: null }, y("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.")), ydt = Z("list.focusOutline", { dark: ca, light: ca, hcDark:
|
|
50654
|
+
const gdt = Z("keybindingLabel.background", { dark: new pe(new Zt(128, 128, 128, 0.17)), light: new pe(new Zt(221, 221, 221, 0.4)), hcDark: pe.transparent, hcLight: pe.transparent }, y("keybindingLabelBackground", "Keybinding label background color. The keybinding label is used to represent a keyboard shortcut.")), mdt = Z("keybindingLabel.foreground", { dark: pe.fromHex("#CCCCCC"), light: pe.fromHex("#555555"), hcDark: pe.white, hcLight: St }, y("keybindingLabelForeground", "Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut.")), Adt = Z("keybindingLabel.border", { dark: new pe(new Zt(51, 51, 51, 0.6)), light: new pe(new Zt(204, 204, 204, 0.4)), hcDark: new pe(new Zt(111, 195, 223)), hcLight: Ft }, y("keybindingLabelBorder", "Keybinding label border color. The keybinding label is used to represent a keyboard shortcut.")), vdt = Z("keybindingLabel.bottomBorder", { dark: new pe(new Zt(68, 68, 68, 0.6)), light: new pe(new Zt(187, 187, 187, 0.4)), hcDark: new pe(new Zt(111, 195, 223)), hcLight: St }, y("keybindingLabelBottomBorder", "Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut.")), wdt = Z("list.focusBackground", { dark: null, light: null, hcDark: null, hcLight: null }, y("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.")), bdt = Z("list.focusForeground", { dark: null, light: null, hcDark: null, hcLight: null }, y("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.")), ydt = Z("list.focusOutline", { dark: ca, light: ca, hcDark: bi, hcLight: bi }, y("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.")), Cdt = Z("list.focusAndSelectionOutline", { dark: null, light: null, hcDark: null, hcLight: null }, y("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.")), fd = Z("list.activeSelectionBackground", { dark: "#04395E", light: "#0060C0", hcDark: null, hcLight: pe.fromHex("#0F4A85").transparent(0.1) }, y("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.")), $c = Z("list.activeSelectionForeground", { dark: pe.white, light: pe.white, hcDark: null, hcLight: null }, y("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.")), VA = Z("list.activeSelectionIconForeground", { dark: null, light: null, hcDark: null, hcLight: null }, y("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.")), _dt = Z("list.inactiveSelectionBackground", { dark: "#37373D", light: "#E4E6F1", hcDark: null, hcLight: pe.fromHex("#0F4A85").transparent(0.1) }, y("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.")), Edt = Z("list.inactiveSelectionForeground", { dark: null, light: null, hcDark: null, hcLight: null }, y("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.")), xdt = Z("list.inactiveSelectionIconForeground", { dark: null, light: null, hcDark: null, hcLight: null }, y("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.")), Sdt = Z("list.inactiveFocusBackground", { dark: null, light: null, hcDark: null, hcLight: null }, y("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.")), Ddt = Z("list.inactiveFocusOutline", { dark: null, light: null, hcDark: null, hcLight: null }, y("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.")), I_e = Z("list.hoverBackground", { dark: "#2A2D2E", light: "#F0F0F0", hcDark: pe.white.transparent(0.1), hcLight: pe.fromHex("#0F4A85").transparent(0.1) }, y("listHoverBackground", "List/Tree background when hovering over items using the mouse.")), O_e = Z("list.hoverForeground", { dark: null, light: null, hcDark: null, hcLight: null }, y("listHoverForeground", "List/Tree foreground when hovering over items using the mouse.")), Mdt = Z("list.dropBackground", { dark: "#062F4A", light: "#D6EBFF", hcDark: null, hcLight: null }, y("listDropBackground", "List/Tree drag and drop background when moving items over other items when using the mouse.")), Ldt = Z("list.dropBetweenBackground", { dark: eg, light: eg, hcDark: null, hcLight: null }, y("listDropBetweenBackground", "List/Tree drag and drop border color when moving items between items when using the mouse.")), J4 = Z("list.highlightForeground", { dark: "#2AAAFF", light: "#0066BF", hcDark: ca, hcLight: ca }, y("highlight", "List/Tree foreground color of the match highlights when searching inside the list/tree."));
|
|
50655
50655
|
Z("list.focusHighlightForeground", { dark: J4, light: Cht(fd, J4, "#BBE7FF"), hcDark: J4, hcLight: J4 }, y("listFocusHighlightForeground", "List/Tree foreground color of the match highlights on actively focused items when searching inside the list/tree."));
|
|
50656
50656
|
Z("list.invalidItemForeground", { dark: "#B89500", light: "#B89500", hcDark: "#B89500", hcLight: "#B5200D" }, y("invalidItemForeground", "List/Tree foreground color for invalid items, for example an unresolved root in explorer."));
|
|
50657
50657
|
Z("list.errorForeground", { dark: "#F88070", light: "#B01011", hcDark: null, hcLight: null }, y("listErrorForeground", "Foreground color of list items containing errors."));
|
|
50658
50658
|
Z("list.warningForeground", { dark: "#CCA700", light: "#855F00", hcDark: null, hcLight: null }, y("listWarningForeground", "Foreground color of list items containing warnings."));
|
|
50659
50659
|
const kdt = Z("listFilterWidget.background", { light: op(ji, 0), dark: Kl(ji, 0), hcDark: ji, hcLight: ji }, y("listFilterWidgetBackground", "Background color of the type filter widget in lists and trees.")), Ndt = Z("listFilterWidget.outline", { dark: pe.transparent, light: pe.transparent, hcDark: "#f38518", hcLight: "#007ACC" }, y("listFilterWidgetOutline", "Outline color of the type filter widget in lists and trees.")), Tdt = Z("listFilterWidget.noMatchesOutline", { dark: "#BE1100", light: "#BE1100", hcDark: Ft, hcLight: Ft }, y("listFilterWidgetNoMatchesOutline", "Outline color of the type filter widget in lists and trees, when there are no matches.")), Idt = Z("listFilterWidget.shadow", { dark: Hu, light: Hu, hcDark: Hu, hcLight: Hu }, y("listFilterWidgetShadow", "Shadow color of the type filter widget in lists and trees."));
|
|
50660
50660
|
Z("list.filterMatchBackground", { dark: Ou, light: Ou, hcDark: null, hcLight: null }, y("listFilterMatchHighlight", "Background color of the filtered match."));
|
|
50661
|
-
Z("list.filterMatchBorder", { dark: P1, light: P1, hcDark: Ft, hcLight:
|
|
50661
|
+
Z("list.filterMatchBorder", { dark: P1, light: P1, hcDark: Ft, hcLight: bi }, y("listFilterMatchHighlightBorder", "Border color of the filtered match."));
|
|
50662
50662
|
Z("list.deemphasizedForeground", { dark: "#8C8C8C", light: "#8E8E90", hcDark: "#A7A8A9", hcLight: "#666666" }, y("listDeemphasizedForeground", "List/Tree foreground color for items that are deemphasized."));
|
|
50663
|
-
const RA = Z("tree.indentGuidesStroke", { dark: "#585858", light: "#a9a9a9", hcDark: "#a9a9a9", hcLight: "#a5a5a5" }, y("treeIndentGuidesStroke", "Tree stroke color for the indentation guides.")), Odt = Z("tree.inactiveIndentGuidesStroke", { dark: Ye(RA, 0.4), light: Ye(RA, 0.4), hcDark: Ye(RA, 0.4), hcLight: Ye(RA, 0.4) }, y("treeInactiveIndentGuidesStroke", "Tree stroke color for the indentation guides that are not active.")), Vdt = Z("tree.tableColumnsBorder", { dark: "#CCCCCC20", light: "#61616120", hcDark: null, hcLight: null }, y("tableColumnsBorder", "Table border color between columns.")), Rdt = Z("tree.tableOddRowsBackground", { dark: Ye(St, 0.04), light: Ye(St, 0.04), hcDark: null, hcLight: null }, y("tableOddRowsBackgroundColor", "Background color for odd table rows.")), Hdt = Z("menu.border", { dark: null, light: null, hcDark: Ft, hcLight: Ft }, y("menuBorder", "Border color of menus.")), Bdt = Z("menu.foreground", { dark: ud, light: ud, hcDark: ud, hcLight: ud }, y("menuForeground", "Foreground color of menu items.")), Pdt = Z("menu.background", { dark: Jc, light: Jc, hcDark: Jc, hcLight: Jc }, y("menuBackground", "Background color of menu items.")), Fdt = Z("menu.selectionForeground", { dark: $c, light: $c, hcDark: $c, hcLight: $c }, y("menuSelectionForeground", "Foreground color of the selected menu item in menus.")), zdt = Z("menu.selectionBackground", { dark: fd, light: fd, hcDark: fd, hcLight: fd }, y("menuSelectionBackground", "Background color of the selected menu item in menus.")), Wdt = Z("menu.selectionBorder", { dark: null, light: null, hcDark:
|
|
50663
|
+
const RA = Z("tree.indentGuidesStroke", { dark: "#585858", light: "#a9a9a9", hcDark: "#a9a9a9", hcLight: "#a5a5a5" }, y("treeIndentGuidesStroke", "Tree stroke color for the indentation guides.")), Odt = Z("tree.inactiveIndentGuidesStroke", { dark: Ye(RA, 0.4), light: Ye(RA, 0.4), hcDark: Ye(RA, 0.4), hcLight: Ye(RA, 0.4) }, y("treeInactiveIndentGuidesStroke", "Tree stroke color for the indentation guides that are not active.")), Vdt = Z("tree.tableColumnsBorder", { dark: "#CCCCCC20", light: "#61616120", hcDark: null, hcLight: null }, y("tableColumnsBorder", "Table border color between columns.")), Rdt = Z("tree.tableOddRowsBackground", { dark: Ye(St, 0.04), light: Ye(St, 0.04), hcDark: null, hcLight: null }, y("tableOddRowsBackgroundColor", "Background color for odd table rows.")), Hdt = Z("menu.border", { dark: null, light: null, hcDark: Ft, hcLight: Ft }, y("menuBorder", "Border color of menus.")), Bdt = Z("menu.foreground", { dark: ud, light: ud, hcDark: ud, hcLight: ud }, y("menuForeground", "Foreground color of menu items.")), Pdt = Z("menu.background", { dark: Jc, light: Jc, hcDark: Jc, hcLight: Jc }, y("menuBackground", "Background color of menu items.")), Fdt = Z("menu.selectionForeground", { dark: $c, light: $c, hcDark: $c, hcLight: $c }, y("menuSelectionForeground", "Foreground color of the selected menu item in menus.")), zdt = Z("menu.selectionBackground", { dark: fd, light: fd, hcDark: fd, hcLight: fd }, y("menuSelectionBackground", "Background color of the selected menu item in menus.")), Wdt = Z("menu.selectionBorder", { dark: null, light: null, hcDark: bi, hcLight: bi }, y("menuSelectionBorder", "Border color of the selected menu item in menus.")), jdt = Z("menu.separatorBackground", { dark: "#606060", light: "#D4D4D4", hcDark: Ft, hcLight: Ft }, y("menuSeparatorBackground", "Color of a separator menu item in menus.")), Tve = Z("quickInput.background", { dark: ji, light: ji, hcDark: ji, hcLight: ji }, y("pickerBackground", "Quick picker background color. The quick picker widget is the container for pickers like the command palette.")), Zdt = Z("quickInput.foreground", { dark: hd, light: hd, hcDark: hd, hcLight: hd }, y("pickerForeground", "Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")), Udt = Z("quickInputTitle.background", { dark: new pe(new Zt(255, 255, 255, 0.105)), light: new pe(new Zt(0, 0, 0, 0.06)), hcDark: "#000000", hcLight: pe.white }, y("pickerTitleBackground", "Quick picker title background color. The quick picker widget is the container for pickers like the command palette.")), V_e = Z("pickerGroup.foreground", { dark: "#3794FF", light: "#0066BF", hcDark: pe.white, hcLight: "#0F4A85" }, y("pickerGroupForeground", "Quick picker color for grouping labels.")), qdt = Z("pickerGroup.border", { dark: "#3F3F46", light: "#CCCEDB", hcDark: pe.white, hcLight: "#0F4A85" }, y("pickerGroupBorder", "Quick picker color for grouping borders.")), Ive = Z("quickInput.list.focusBackground", { dark: null, light: null, hcDark: null, hcLight: null }, "", void 0, y("quickInput.list.focusBackground deprecation", "Please use quickInputList.focusBackground instead")), VD = Z("quickInputList.focusForeground", { dark: $c, light: $c, hcDark: $c, hcLight: $c }, y("quickInput.listFocusForeground", "Quick picker foreground color for the focused item.")), R_e = Z("quickInputList.focusIconForeground", { dark: VA, light: VA, hcDark: VA, hcLight: VA }, y("quickInput.listFocusIconForeground", "Quick picker icon foreground color for the focused item.")), RD = Z("quickInputList.focusBackground", { dark: Cve(Ive, fd), light: Cve(Ive, fd), hcDark: null, hcLight: null }, y("quickInput.listFocusBackground", "Quick picker background color for the focused item."));
|
|
50664
50664
|
Z("search.resultsInfoForeground", { light: St, dark: Ye(St, 0.65), hcDark: St, hcLight: St }, y("search.resultsInfoForeground", "Color of the text in the search viewlet's completion message."));
|
|
50665
50665
|
Z("searchEditor.findMatchBackground", { light: Ye(Ou, 0.66), dark: Ye(Ou, 0.66), hcDark: Ou, hcLight: Ou }, y("searchEditor.queryMatch", "Color of the Search Editor query matches."));
|
|
50666
50666
|
Z("searchEditor.findMatchBorder", { light: Ye(P1, 0.66), dark: Ye(P1, 0.66), hcDark: P1, hcLight: P1 }, y("searchEditor.editorFindMatchBorder", "Border color of the Search Editor query matches."));
|
|
@@ -51086,7 +51086,7 @@ function xC(i) {
|
|
|
51086
51086
|
return i === da.DARK || i === da.HIGH_CONTRAST_DARK;
|
|
51087
51087
|
}
|
|
51088
51088
|
const nut = /* @__PURE__ */ function() {
|
|
51089
|
-
return yg ? !0 : !(
|
|
51089
|
+
return yg ? !0 : !(_s || ul || Pd);
|
|
51090
51090
|
}();
|
|
51091
51091
|
let kg = !0;
|
|
51092
51092
|
class Vve {
|
|
@@ -52138,7 +52138,7 @@ class F1 {
|
|
|
52138
52138
|
}
|
|
52139
52139
|
}
|
|
52140
52140
|
F1._INSTANCE = null;
|
|
52141
|
-
function
|
|
52141
|
+
function pi(i, e, t) {
|
|
52142
52142
|
let n = null, r = null;
|
|
52143
52143
|
if (typeof t.value == "function" ? (n = "value", r = t.value, r.length !== 0 && console.warn("Memoize should only be used in functions with zero parameters")) : typeof t.get == "function" && (n = "get", r = t.get), !r)
|
|
52144
52144
|
throw new Error("not supported");
|
|
@@ -52301,7 +52301,7 @@ On.SCROLL_FRICTION = -5e-3;
|
|
|
52301
52301
|
On.HOLD_DELAY = 700;
|
|
52302
52302
|
On.CLEAR_TAP_COUNT_TIME = 400;
|
|
52303
52303
|
hut([
|
|
52304
|
-
|
|
52304
|
+
pi
|
|
52305
52305
|
], On, "isTouchDevice", null);
|
|
52306
52306
|
let xa = class extends me {
|
|
52307
52307
|
onclick(e, t) {
|
|
@@ -54130,10 +54130,10 @@ class Out extends me {
|
|
|
54130
54130
|
}
|
|
54131
54131
|
const U_e = Z("editor.lineHighlightBackground", { dark: null, light: null, hcDark: null, hcLight: null }, y("lineHighlight", "Background color for the highlight of line at the cursor position.")), zve = Z("editor.lineHighlightBorder", { dark: "#282828", light: "#eeeeee", hcDark: "#f38518", hcLight: Ft }, y("lineHighlightBorderBox", "Background color for the border around the line at the cursor position."));
|
|
54132
54132
|
Z("editor.rangeHighlightBackground", { dark: "#ffffff0b", light: "#fdff0033", hcDark: null, hcLight: null }, y("rangeHighlight", "Background color of highlighted ranges, like by quick open and find features. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
54133
|
-
Z("editor.rangeHighlightBorder", { dark: null, light: null, hcDark:
|
|
54133
|
+
Z("editor.rangeHighlightBorder", { dark: null, light: null, hcDark: bi, hcLight: bi }, y("rangeHighlightBorder", "Background color of the border around highlighted ranges."));
|
|
54134
54134
|
Z("editor.symbolHighlightBackground", { dark: Ou, light: Ou, hcDark: null, hcLight: null }, y("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);
|
|
54135
|
-
Z("editor.symbolHighlightBorder", { dark: null, light: null, hcDark:
|
|
54136
|
-
const eh = Z("editorCursor.foreground", { dark: "#AEAFAD", light: pe.black, hcDark: pe.white, hcLight: "#0F4A85" }, y("caret", "Color of the editor cursor.")), pd = Z("editorCursor.background", null, y("editorCursorBackground", "The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.")), q_e = Z("editorMultiCursor.primary.foreground", { dark: eh, light: eh, hcDark: eh, hcLight: eh }, y("editorMultiCursorPrimaryForeground", "Color of the primary editor cursor when multiple cursors are present.")), Vut = Z("editorMultiCursor.primary.background", { dark: pd, light: pd, hcDark: pd, hcLight: pd }, y("editorMultiCursorPrimaryBackground", "The background color of the primary editor cursor when multiple cursors are present. Allows customizing the color of a character overlapped by a block cursor.")), G_e = Z("editorMultiCursor.secondary.foreground", { dark: eh, light: eh, hcDark: eh, hcLight: eh }, y("editorMultiCursorSecondaryForeground", "Color of secondary editor cursors when multiple cursors are present.")), Rut = Z("editorMultiCursor.secondary.background", { dark: pd, light: pd, hcDark: pd, hcLight: pd }, y("editorMultiCursorSecondaryBackground", "The background color of secondary editor cursors when multiple cursors are present. Allows customizing the color of a character overlapped by a block cursor.")), gd = Z("editorWhitespace.foreground", { dark: "#e3e4e229", light: "#33333333", hcDark: "#e3e4e229", hcLight: "#CCCCCC" }, y("editorWhitespaces", "Color of whitespace characters in the editor.")), Hut = Z("editorLineNumber.foreground", { dark: "#858585", light: "#237893", hcDark: pe.white, hcLight: "#292929" }, y("editorLineNumbers", "Color of editor line numbers.")), e5 = Z("editorIndentGuide.background", { dark: gd, light: gd, hcDark: gd, hcLight: gd }, y("editorIndentGuides", "Color of the editor indentation guides."), !1, y("deprecatedEditorIndentGuides", "'editorIndentGuide.background' is deprecated. Use 'editorIndentGuide.background1' instead.")), t5 = Z("editorIndentGuide.activeBackground", { dark: gd, light: gd, hcDark: gd, hcLight: gd }, y("editorActiveIndentGuide", "Color of the active editor indentation guides."), !1, y("deprecatedEditorActiveIndentGuide", "'editorIndentGuide.activeBackground' is deprecated. Use 'editorIndentGuide.activeBackground1' instead.")), q3 = Z("editorIndentGuide.background1", { dark: e5, light: e5, hcDark: e5, hcLight: e5 }, y("editorIndentGuides1", "Color of the editor indentation guides (1).")), But = Z("editorIndentGuide.background2", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorIndentGuides2", "Color of the editor indentation guides (2).")), Put = Z("editorIndentGuide.background3", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorIndentGuides3", "Color of the editor indentation guides (3).")), Fut = Z("editorIndentGuide.background4", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorIndentGuides4", "Color of the editor indentation guides (4).")), zut = Z("editorIndentGuide.background5", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorIndentGuides5", "Color of the editor indentation guides (5).")), Wut = Z("editorIndentGuide.background6", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorIndentGuides6", "Color of the editor indentation guides (6).")), G3 = Z("editorIndentGuide.activeBackground1", { dark: t5, light: t5, hcDark: t5, hcLight: t5 }, y("editorActiveIndentGuide1", "Color of the active editor indentation guides (1).")), jut = Z("editorIndentGuide.activeBackground2", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorActiveIndentGuide2", "Color of the active editor indentation guides (2).")), Zut = Z("editorIndentGuide.activeBackground3", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorActiveIndentGuide3", "Color of the active editor indentation guides (3).")), Uut = Z("editorIndentGuide.activeBackground4", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorActiveIndentGuide4", "Color of the active editor indentation guides (4).")), qut = Z("editorIndentGuide.activeBackground5", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorActiveIndentGuide5", "Color of the active editor indentation guides (5).")), Gut = Z("editorIndentGuide.activeBackground6", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorActiveIndentGuide6", "Color of the active editor indentation guides (6).")), n5 = Z("editorActiveLineNumber.foreground", { dark: "#c6c6c6", light: "#0B216F", hcDark:
|
|
54135
|
+
Z("editor.symbolHighlightBorder", { dark: null, light: null, hcDark: bi, hcLight: bi }, y("symbolHighlightBorder", "Background color of the border around highlighted symbols."));
|
|
54136
|
+
const eh = Z("editorCursor.foreground", { dark: "#AEAFAD", light: pe.black, hcDark: pe.white, hcLight: "#0F4A85" }, y("caret", "Color of the editor cursor.")), pd = Z("editorCursor.background", null, y("editorCursorBackground", "The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.")), q_e = Z("editorMultiCursor.primary.foreground", { dark: eh, light: eh, hcDark: eh, hcLight: eh }, y("editorMultiCursorPrimaryForeground", "Color of the primary editor cursor when multiple cursors are present.")), Vut = Z("editorMultiCursor.primary.background", { dark: pd, light: pd, hcDark: pd, hcLight: pd }, y("editorMultiCursorPrimaryBackground", "The background color of the primary editor cursor when multiple cursors are present. Allows customizing the color of a character overlapped by a block cursor.")), G_e = Z("editorMultiCursor.secondary.foreground", { dark: eh, light: eh, hcDark: eh, hcLight: eh }, y("editorMultiCursorSecondaryForeground", "Color of secondary editor cursors when multiple cursors are present.")), Rut = Z("editorMultiCursor.secondary.background", { dark: pd, light: pd, hcDark: pd, hcLight: pd }, y("editorMultiCursorSecondaryBackground", "The background color of secondary editor cursors when multiple cursors are present. Allows customizing the color of a character overlapped by a block cursor.")), gd = Z("editorWhitespace.foreground", { dark: "#e3e4e229", light: "#33333333", hcDark: "#e3e4e229", hcLight: "#CCCCCC" }, y("editorWhitespaces", "Color of whitespace characters in the editor.")), Hut = Z("editorLineNumber.foreground", { dark: "#858585", light: "#237893", hcDark: pe.white, hcLight: "#292929" }, y("editorLineNumbers", "Color of editor line numbers.")), e5 = Z("editorIndentGuide.background", { dark: gd, light: gd, hcDark: gd, hcLight: gd }, y("editorIndentGuides", "Color of the editor indentation guides."), !1, y("deprecatedEditorIndentGuides", "'editorIndentGuide.background' is deprecated. Use 'editorIndentGuide.background1' instead.")), t5 = Z("editorIndentGuide.activeBackground", { dark: gd, light: gd, hcDark: gd, hcLight: gd }, y("editorActiveIndentGuide", "Color of the active editor indentation guides."), !1, y("deprecatedEditorActiveIndentGuide", "'editorIndentGuide.activeBackground' is deprecated. Use 'editorIndentGuide.activeBackground1' instead.")), q3 = Z("editorIndentGuide.background1", { dark: e5, light: e5, hcDark: e5, hcLight: e5 }, y("editorIndentGuides1", "Color of the editor indentation guides (1).")), But = Z("editorIndentGuide.background2", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorIndentGuides2", "Color of the editor indentation guides (2).")), Put = Z("editorIndentGuide.background3", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorIndentGuides3", "Color of the editor indentation guides (3).")), Fut = Z("editorIndentGuide.background4", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorIndentGuides4", "Color of the editor indentation guides (4).")), zut = Z("editorIndentGuide.background5", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorIndentGuides5", "Color of the editor indentation guides (5).")), Wut = Z("editorIndentGuide.background6", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorIndentGuides6", "Color of the editor indentation guides (6).")), G3 = Z("editorIndentGuide.activeBackground1", { dark: t5, light: t5, hcDark: t5, hcLight: t5 }, y("editorActiveIndentGuide1", "Color of the active editor indentation guides (1).")), jut = Z("editorIndentGuide.activeBackground2", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorActiveIndentGuide2", "Color of the active editor indentation guides (2).")), Zut = Z("editorIndentGuide.activeBackground3", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorActiveIndentGuide3", "Color of the active editor indentation guides (3).")), Uut = Z("editorIndentGuide.activeBackground4", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorActiveIndentGuide4", "Color of the active editor indentation guides (4).")), qut = Z("editorIndentGuide.activeBackground5", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorActiveIndentGuide5", "Color of the active editor indentation guides (5).")), Gut = Z("editorIndentGuide.activeBackground6", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorActiveIndentGuide6", "Color of the active editor indentation guides (6).")), n5 = Z("editorActiveLineNumber.foreground", { dark: "#c6c6c6", light: "#0B216F", hcDark: bi, hcLight: bi }, y("editorActiveLineNumber", "Color of editor active line number"), !1, y("deprecatedEditorActiveLineNumber", "Id is deprecated. Use 'editorLineNumber.activeForeground' instead."));
|
|
54137
54137
|
Z("editorLineNumber.activeForeground", { dark: n5, light: n5, hcDark: n5, hcLight: n5 }, y("editorActiveLineNumber", "Color of editor active line number"));
|
|
54138
54138
|
const Qut = Z("editorLineNumber.dimmedForeground", { dark: null, light: null, hcDark: null, hcLight: null }, y("editorDimmedLineNumber", "Color of the final editor line when editor.renderFinalNewline is set to dimmed."));
|
|
54139
54139
|
Z("editorRuler.foreground", { dark: "#5A5A5A", light: pe.lightgrey, hcDark: pe.white, hcLight: "#292929" }, y("editorRuler", "Color of the editor rulers."));
|
|
@@ -54147,8 +54147,8 @@ const Xut = Z("editorUnnecessaryCode.opacity", { dark: pe.fromHex("#000a"), ligh
|
|
|
54147
54147
|
Z("editorGhostText.border", { dark: null, light: null, hcDark: pe.fromHex("#fff").transparent(0.8), hcLight: pe.fromHex("#292929").transparent(0.8) }, y("editorGhostTextBorder", "Border color of ghost text in the editor."));
|
|
54148
54148
|
Z("editorGhostText.foreground", { dark: pe.fromHex("#ffffff56"), light: pe.fromHex("#0007"), hcDark: null, hcLight: null }, y("editorGhostTextForeground", "Foreground color of the ghost text in the editor."));
|
|
54149
54149
|
Z("editorGhostText.background", { dark: null, light: null, hcDark: null, hcLight: null }, y("editorGhostTextBackground", "Background color of the ghost text in the editor."));
|
|
54150
|
-
const i5 = new pe(new Zt(0, 122, 204, 0.6)), Jut = Z("editorOverviewRuler.rangeHighlightForeground", { dark: i5, light: i5, hcDark: i5, hcLight: i5 }, y("overviewRulerRangeHighlight", "Overview ruler marker color for range highlights. The color must not be opaque so as not to hide underlying decorations."), !0), $ut = Z("editorOverviewRuler.errorForeground", { dark: new pe(new Zt(255, 18, 18, 0.7)), light: new pe(new Zt(255, 18, 18, 0.7)), hcDark: new pe(new Zt(255, 50, 50, 1)), hcLight: "#B5200D" }, y("overviewRuleError", "Overview ruler marker color for errors.")), e0t = Z("editorOverviewRuler.warningForeground", { dark:
|
|
54151
|
-
Z("editorUnicodeHighlight.border", { dark:
|
|
54150
|
+
const i5 = new pe(new Zt(0, 122, 204, 0.6)), Jut = Z("editorOverviewRuler.rangeHighlightForeground", { dark: i5, light: i5, hcDark: i5, hcLight: i5 }, y("overviewRulerRangeHighlight", "Overview ruler marker color for range highlights. The color must not be opaque so as not to hide underlying decorations."), !0), $ut = Z("editorOverviewRuler.errorForeground", { dark: new pe(new Zt(255, 18, 18, 0.7)), light: new pe(new Zt(255, 18, 18, 0.7)), hcDark: new pe(new Zt(255, 50, 50, 1)), hcLight: "#B5200D" }, y("overviewRuleError", "Overview ruler marker color for errors.")), e0t = Z("editorOverviewRuler.warningForeground", { dark: ws, light: ws, hcDark: D8, hcLight: D8 }, y("overviewRuleWarning", "Overview ruler marker color for warnings.")), t0t = Z("editorOverviewRuler.infoForeground", { dark: ha, light: ha, hcDark: M8, hcLight: M8 }, y("overviewRuleInfo", "Overview ruler marker color for infos.")), Q_e = Z("editorBracketHighlight.foreground1", { dark: "#FFD700", light: "#0431FAFF", hcDark: "#FFD700", hcLight: "#0431FAFF" }, y("editorBracketHighlightForeground1", "Foreground color of brackets (1). Requires enabling bracket pair colorization.")), K_e = Z("editorBracketHighlight.foreground2", { dark: "#DA70D6", light: "#319331FF", hcDark: "#DA70D6", hcLight: "#319331FF" }, y("editorBracketHighlightForeground2", "Foreground color of brackets (2). Requires enabling bracket pair colorization.")), Y_e = Z("editorBracketHighlight.foreground3", { dark: "#179FFF", light: "#7B3814FF", hcDark: "#87CEFA", hcLight: "#7B3814FF" }, y("editorBracketHighlightForeground3", "Foreground color of brackets (3). Requires enabling bracket pair colorization.")), X_e = Z("editorBracketHighlight.foreground4", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorBracketHighlightForeground4", "Foreground color of brackets (4). Requires enabling bracket pair colorization.")), J_e = Z("editorBracketHighlight.foreground5", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorBracketHighlightForeground5", "Foreground color of brackets (5). Requires enabling bracket pair colorization.")), $_e = Z("editorBracketHighlight.foreground6", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorBracketHighlightForeground6", "Foreground color of brackets (6). Requires enabling bracket pair colorization.")), n0t = Z("editorBracketHighlight.unexpectedBracket.foreground", { dark: new pe(new Zt(255, 18, 18, 0.8)), light: new pe(new Zt(255, 18, 18, 0.8)), hcDark: new pe(new Zt(255, 50, 50, 1)), hcLight: "" }, y("editorBracketHighlightUnexpectedBracketForeground", "Foreground color of unexpected brackets.")), i0t = Z("editorBracketPairGuide.background1", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorBracketPairGuide.background1", "Background color of inactive bracket pair guides (1). Requires enabling bracket pair guides.")), r0t = Z("editorBracketPairGuide.background2", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorBracketPairGuide.background2", "Background color of inactive bracket pair guides (2). Requires enabling bracket pair guides.")), s0t = Z("editorBracketPairGuide.background3", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorBracketPairGuide.background3", "Background color of inactive bracket pair guides (3). Requires enabling bracket pair guides.")), o0t = Z("editorBracketPairGuide.background4", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorBracketPairGuide.background4", "Background color of inactive bracket pair guides (4). Requires enabling bracket pair guides.")), a0t = Z("editorBracketPairGuide.background5", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorBracketPairGuide.background5", "Background color of inactive bracket pair guides (5). Requires enabling bracket pair guides.")), l0t = Z("editorBracketPairGuide.background6", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorBracketPairGuide.background6", "Background color of inactive bracket pair guides (6). Requires enabling bracket pair guides.")), c0t = Z("editorBracketPairGuide.activeBackground1", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorBracketPairGuide.activeBackground1", "Background color of active bracket pair guides (1). Requires enabling bracket pair guides.")), h0t = Z("editorBracketPairGuide.activeBackground2", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorBracketPairGuide.activeBackground2", "Background color of active bracket pair guides (2). Requires enabling bracket pair guides.")), d0t = Z("editorBracketPairGuide.activeBackground3", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorBracketPairGuide.activeBackground3", "Background color of active bracket pair guides (3). Requires enabling bracket pair guides.")), u0t = Z("editorBracketPairGuide.activeBackground4", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorBracketPairGuide.activeBackground4", "Background color of active bracket pair guides (4). Requires enabling bracket pair guides.")), f0t = Z("editorBracketPairGuide.activeBackground5", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorBracketPairGuide.activeBackground5", "Background color of active bracket pair guides (5). Requires enabling bracket pair guides.")), p0t = Z("editorBracketPairGuide.activeBackground6", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, y("editorBracketPairGuide.activeBackground6", "Background color of active bracket pair guides (6). Requires enabling bracket pair guides."));
|
|
54151
|
+
Z("editorUnicodeHighlight.border", { dark: ws, light: ws, hcDark: ws, hcLight: ws }, y("editorUnicodeHighlight.border", "Border color used to highlight unicode characters."));
|
|
54152
54152
|
Z("editorUnicodeHighlight.background", { dark: Y4, light: Y4, hcDark: Y4, hcLight: Y4 }, y("editorUnicodeHighlight.background", "Background color used to highlight unicode characters."));
|
|
54153
54153
|
Sh((i, e) => {
|
|
54154
54154
|
const t = i.getColor(Vr), n = i.getColor(U_e), r = n && !n.isTransparent() ? n : t;
|
|
@@ -54237,7 +54237,7 @@ class Q3 extends ap {
|
|
|
54237
54237
|
this._renderResult = null;
|
|
54238
54238
|
return;
|
|
54239
54239
|
}
|
|
54240
|
-
const t =
|
|
54240
|
+
const t = _s ? this._lineHeight % 2 === 0 ? " lh-even" : " lh-odd" : "", n = e.visibleRange.startLineNumber, r = e.visibleRange.endLineNumber, s = this._context.viewModel.getDecorationsInViewport(e.visibleRange).filter((c) => !!c.options.lineNumberClassName);
|
|
54241
54241
|
s.sort((c, d) => X.compareRangesUsingEnds(c.range, d.range));
|
|
54242
54242
|
let o = 0;
|
|
54243
54243
|
const a = this._context.viewModel.getLineCount(), l = [];
|
|
@@ -54711,7 +54711,7 @@ let PD = class extends uo {
|
|
|
54711
54711
|
width: f,
|
|
54712
54712
|
height: this._lineHeight,
|
|
54713
54713
|
useCover: !1,
|
|
54714
|
-
color: (
|
|
54714
|
+
color: (yi.getColorMap() || [])[v.foreground],
|
|
54715
54715
|
italic: v.italic,
|
|
54716
54716
|
bold: v.bold,
|
|
54717
54717
|
underline: v.underline,
|
|
@@ -55056,7 +55056,7 @@ class ur {
|
|
|
55056
55056
|
return e.isEmpty() || !t.isBeforeOrEqual(e.getStartPosition()) ? Mn.fromPositions(e.getStartPosition(), t) : Mn.fromPositions(e.getEndPosition(), t);
|
|
55057
55057
|
}
|
|
55058
55058
|
}
|
|
55059
|
-
class
|
|
55059
|
+
class Ds {
|
|
55060
55060
|
constructor(e, t, n) {
|
|
55061
55061
|
this._editOperationResultBrand = void 0, this.type = e, this.commands = t, this.shouldPushStackElementBefore = n.shouldPushStackElementBefore, this.shouldPushStackElementAfter = n.shouldPushStackElementAfter;
|
|
55062
55062
|
}
|
|
@@ -55108,7 +55108,7 @@ class D1 {
|
|
|
55108
55108
|
return this.columnSelect(e, t, n.fromViewLineNumber, n.fromViewVisualColumn, o, n.toViewVisualColumn);
|
|
55109
55109
|
}
|
|
55110
55110
|
}
|
|
55111
|
-
class
|
|
55111
|
+
class ks {
|
|
55112
55112
|
constructor(e, t, n = !1) {
|
|
55113
55113
|
this._range = e, this._text = t, this.insertsAutoWhitespace = n;
|
|
55114
55114
|
}
|
|
@@ -55364,7 +55364,7 @@ class Lf {
|
|
|
55364
55364
|
s[a] = null;
|
|
55365
55365
|
continue;
|
|
55366
55366
|
}
|
|
55367
|
-
d.startLineNumber !== d.endLineNumber && (o = !0), s[a] = new
|
|
55367
|
+
d.startLineNumber !== d.endLineNumber && (o = !0), s[a] = new ks(d, "");
|
|
55368
55368
|
}
|
|
55369
55369
|
return [o, s];
|
|
55370
55370
|
}
|
|
@@ -55411,7 +55411,7 @@ class Lf {
|
|
|
55411
55411
|
const r = [];
|
|
55412
55412
|
for (let s = 0, o = n.length; s < o; s++) {
|
|
55413
55413
|
const a = n[s].getPosition(), l = new X(a.lineNumber, a.column - 1, a.lineNumber, a.column + 1);
|
|
55414
|
-
r[s] = new
|
|
55414
|
+
r[s] = new ks(l, "");
|
|
55415
55415
|
}
|
|
55416
55416
|
return [!0, r];
|
|
55417
55417
|
}
|
|
@@ -55426,7 +55426,7 @@ class Lf {
|
|
|
55426
55426
|
o[l] = null;
|
|
55427
55427
|
continue;
|
|
55428
55428
|
}
|
|
55429
|
-
d.startLineNumber !== d.endLineNumber && (a = !0), o[l] = new
|
|
55429
|
+
d.startLineNumber !== d.endLineNumber && (a = !0), o[l] = new ks(d, "");
|
|
55430
55430
|
}
|
|
55431
55431
|
return [a, o];
|
|
55432
55432
|
}
|
|
@@ -55468,19 +55468,19 @@ class Lf {
|
|
|
55468
55468
|
let d, u, f, p;
|
|
55469
55469
|
c.lineNumber < t.getLineCount() ? (d = c.lineNumber, u = 1, f = c.lineNumber + 1, p = 1) : c.lineNumber > 1 && s?.endLineNumber !== c.lineNumber ? (d = c.lineNumber - 1, u = t.getLineMaxColumn(c.lineNumber - 1), f = c.lineNumber, p = t.getLineMaxColumn(c.lineNumber)) : (d = c.lineNumber, u = 1, f = c.lineNumber, p = t.getLineMaxColumn(c.lineNumber));
|
|
55470
55470
|
const g = new X(d, u, f, p);
|
|
55471
|
-
s = g, g.isEmpty() ? r[o] = null : r[o] = new
|
|
55471
|
+
s = g, g.isEmpty() ? r[o] = null : r[o] = new ks(g, "");
|
|
55472
55472
|
} else
|
|
55473
55473
|
r[o] = null;
|
|
55474
55474
|
else
|
|
55475
|
-
r[o] = new
|
|
55475
|
+
r[o] = new ks(l, "");
|
|
55476
55476
|
}
|
|
55477
|
-
return new
|
|
55477
|
+
return new Ds(0, r, {
|
|
55478
55478
|
shouldPushStackElementBefore: !0,
|
|
55479
55479
|
shouldPushStackElementAfter: !0
|
|
55480
55480
|
});
|
|
55481
55481
|
}
|
|
55482
55482
|
}
|
|
55483
|
-
class
|
|
55483
|
+
class Ai {
|
|
55484
55484
|
static _createWord(e, t, n, r, s) {
|
|
55485
55485
|
return { start: r, end: s, wordType: t, nextCharClass: n };
|
|
55486
55486
|
}
|
|
@@ -55558,17 +55558,17 @@ class mi {
|
|
|
55558
55558
|
static moveWordLeft(e, t, n, r) {
|
|
55559
55559
|
let s = n.lineNumber, o = n.column;
|
|
55560
55560
|
o === 1 && s > 1 && (s = s - 1, o = t.getLineMaxColumn(s));
|
|
55561
|
-
let a =
|
|
55561
|
+
let a = Ai._findPreviousWordOnLine(e, t, new oe(s, o));
|
|
55562
55562
|
if (r === 0)
|
|
55563
55563
|
return new oe(s, a ? a.start + 1 : 1);
|
|
55564
55564
|
if (r === 1)
|
|
55565
|
-
return a && a.wordType === 2 && a.end - a.start === 1 && a.nextCharClass === 0 && (a =
|
|
55565
|
+
return a && a.wordType === 2 && a.end - a.start === 1 && a.nextCharClass === 0 && (a = Ai._findPreviousWordOnLine(e, t, new oe(s, a.start + 1))), new oe(s, a ? a.start + 1 : 1);
|
|
55566
55566
|
if (r === 3) {
|
|
55567
55567
|
for (; a && a.wordType === 2; )
|
|
55568
|
-
a =
|
|
55568
|
+
a = Ai._findPreviousWordOnLine(e, t, new oe(s, a.start + 1));
|
|
55569
55569
|
return new oe(s, a ? a.start + 1 : 1);
|
|
55570
55570
|
}
|
|
55571
|
-
return a && o <= a.end + 1 && (a =
|
|
55571
|
+
return a && o <= a.end + 1 && (a = Ai._findPreviousWordOnLine(e, t, new oe(s, a.start + 1))), new oe(s, a ? a.end + 1 : 1);
|
|
55572
55572
|
}
|
|
55573
55573
|
static _moveWordPartLeft(e, t) {
|
|
55574
55574
|
const n = t.lineNumber, r = e.getLineMaxColumn(n);
|
|
@@ -55594,15 +55594,15 @@ class mi {
|
|
|
55594
55594
|
static moveWordRight(e, t, n, r) {
|
|
55595
55595
|
let s = n.lineNumber, o = n.column, a = !1;
|
|
55596
55596
|
o === t.getLineMaxColumn(s) && s < t.getLineCount() && (a = !0, s = s + 1, o = 1);
|
|
55597
|
-
let l =
|
|
55597
|
+
let l = Ai._findNextWordOnLine(e, t, new oe(s, o));
|
|
55598
55598
|
if (r === 2)
|
|
55599
|
-
l && l.wordType === 2 && l.end - l.start === 1 && l.nextCharClass === 0 && (l =
|
|
55599
|
+
l && l.wordType === 2 && l.end - l.start === 1 && l.nextCharClass === 0 && (l = Ai._findNextWordOnLine(e, t, new oe(s, l.end + 1))), l ? o = l.end + 1 : o = t.getLineMaxColumn(s);
|
|
55600
55600
|
else if (r === 3) {
|
|
55601
55601
|
for (a && (o = 0); l && (l.wordType === 2 || l.start + 1 <= o); )
|
|
55602
|
-
l =
|
|
55602
|
+
l = Ai._findNextWordOnLine(e, t, new oe(s, l.end + 1));
|
|
55603
55603
|
l ? o = l.start + 1 : o = t.getLineMaxColumn(s);
|
|
55604
55604
|
} else
|
|
55605
|
-
l && !a && o >= l.start + 1 && (l =
|
|
55605
|
+
l && !a && o >= l.start + 1 && (l = Ai._findNextWordOnLine(e, t, new oe(s, l.end + 1))), l ? o = l.start + 1 : o = t.getLineMaxColumn(s);
|
|
55606
55606
|
return new oe(s, o);
|
|
55607
55607
|
}
|
|
55608
55608
|
static _moveWordPartRight(e, t) {
|
|
@@ -55647,8 +55647,8 @@ class mi {
|
|
|
55647
55647
|
if (u)
|
|
55648
55648
|
return u;
|
|
55649
55649
|
}
|
|
55650
|
-
let d =
|
|
55651
|
-
return t === 0 ? d ? c = d.start + 1 : c > 1 ? c = 1 : (l--, c = r.getLineMaxColumn(l)) : (d && c <= d.end + 1 && (d =
|
|
55650
|
+
let d = Ai._findPreviousWordOnLine(n, r, a);
|
|
55651
|
+
return t === 0 ? d ? c = d.start + 1 : c > 1 ? c = 1 : (l--, c = r.getLineMaxColumn(l)) : (d && c <= d.end + 1 && (d = Ai._findPreviousWordOnLine(n, r, new oe(l, d.start + 1))), d ? c = d.end + 1 : c > 1 ? c = 1 : (l--, c = r.getLineMaxColumn(l))), new X(l, c, a.lineNumber, a.column);
|
|
55652
55652
|
}
|
|
55653
55653
|
static deleteInsideWord(e, t, n) {
|
|
55654
55654
|
if (!n.isEmpty())
|
|
@@ -55688,16 +55688,16 @@ class mi {
|
|
|
55688
55688
|
for (; f > 1 && this._charAtIsWhitespace(r, f - 2); )
|
|
55689
55689
|
f--;
|
|
55690
55690
|
return a(f, p);
|
|
55691
|
-
}, c =
|
|
55691
|
+
}, c = Ai._findPreviousWordOnLine(e, t, n);
|
|
55692
55692
|
if (c && o(c))
|
|
55693
55693
|
return l(c);
|
|
55694
|
-
const d =
|
|
55694
|
+
const d = Ai._findNextWordOnLine(e, t, n);
|
|
55695
55695
|
return d && o(d) ? l(d) : c && d ? a(c.end + 1, d.start + 1) : c ? a(c.start + 1, c.end + 1) : d ? a(d.start + 1, d.end + 1) : a(1, s + 1);
|
|
55696
55696
|
}
|
|
55697
55697
|
static _deleteWordPartLeft(e, t) {
|
|
55698
55698
|
if (!t.isEmpty())
|
|
55699
55699
|
return t;
|
|
55700
|
-
const n = t.getPosition(), r =
|
|
55700
|
+
const n = t.getPosition(), r = Ai._moveWordPartLeft(e, n);
|
|
55701
55701
|
return new X(n.lineNumber, n.column, r.lineNumber, r.column);
|
|
55702
55702
|
}
|
|
55703
55703
|
static _findFirstNonWhitespaceChar(e, t) {
|
|
@@ -55727,13 +55727,13 @@ class mi {
|
|
|
55727
55727
|
if (p)
|
|
55728
55728
|
return p;
|
|
55729
55729
|
}
|
|
55730
|
-
let f =
|
|
55731
|
-
return t === 2 ? f ? c = f.end + 1 : c < u || l === d ? c = u : (l++, f =
|
|
55730
|
+
let f = Ai._findNextWordOnLine(n, r, a);
|
|
55731
|
+
return t === 2 ? f ? c = f.end + 1 : c < u || l === d ? c = u : (l++, f = Ai._findNextWordOnLine(n, r, new oe(l, 1)), f ? c = f.start + 1 : c = r.getLineMaxColumn(l)) : (f && c >= f.start + 1 && (f = Ai._findNextWordOnLine(n, r, new oe(l, f.end + 1))), f ? c = f.start + 1 : c < u || l === d ? c = u : (l++, f = Ai._findNextWordOnLine(n, r, new oe(l, 1)), f ? c = f.start + 1 : c = r.getLineMaxColumn(l))), new X(l, c, a.lineNumber, a.column);
|
|
55732
55732
|
}
|
|
55733
55733
|
static _deleteWordPartRight(e, t) {
|
|
55734
55734
|
if (!t.isEmpty())
|
|
55735
55735
|
return t;
|
|
55736
|
-
const n = t.getPosition(), r =
|
|
55736
|
+
const n = t.getPosition(), r = Ai._moveWordPartRight(e, n);
|
|
55737
55737
|
return new X(n.lineNumber, n.column, r.lineNumber, r.column);
|
|
55738
55738
|
}
|
|
55739
55739
|
static _createWordAtPosition(e, t, n) {
|
|
@@ -55745,14 +55745,14 @@ class mi {
|
|
|
55745
55745
|
};
|
|
55746
55746
|
}
|
|
55747
55747
|
static getWordAtPosition(e, t, n, r) {
|
|
55748
|
-
const s = p2(t, n), o =
|
|
55748
|
+
const s = p2(t, n), o = Ai._findPreviousWordOnLine(s, e, r);
|
|
55749
55749
|
if (o && o.wordType === 1 && o.start <= r.column - 1 && r.column - 1 <= o.end)
|
|
55750
|
-
return
|
|
55751
|
-
const a =
|
|
55752
|
-
return a && a.wordType === 1 && a.start <= r.column - 1 && r.column - 1 <= a.end ?
|
|
55750
|
+
return Ai._createWordAtPosition(e, r.lineNumber, o);
|
|
55751
|
+
const a = Ai._findNextWordOnLine(s, e, r);
|
|
55752
|
+
return a && a.wordType === 1 && a.start <= r.column - 1 && r.column - 1 <= a.end ? Ai._createWordAtPosition(e, r.lineNumber, a) : null;
|
|
55753
55753
|
}
|
|
55754
55754
|
static word(e, t, n, r, s) {
|
|
55755
|
-
const o = p2(e.wordSeparators, e.wordSegmenterLocales), a =
|
|
55755
|
+
const o = p2(e.wordSeparators, e.wordSegmenterLocales), a = Ai._findPreviousWordOnLine(o, t, s), l = Ai._findNextWordOnLine(o, t, s);
|
|
55756
55756
|
if (!r) {
|
|
55757
55757
|
let p, g;
|
|
55758
55758
|
return a && a.wordType === 1 && a.start <= s.column - 1 && s.column - 1 <= a.end ? (p = a.start + 1, g = a.end + 1) : l && l.wordType === 1 && l.start <= s.column - 1 && s.column - 1 <= l.end ? (p = l.start + 1, g = l.end + 1) : (a ? p = a.end + 1 : p = 1, l ? g = l.start + 1 : g = t.getLineMaxColumn(s.lineNumber)), new ur(new X(s.lineNumber, p, s.lineNumber, g), 1, 0, new oe(s.lineNumber, g), 0);
|
|
@@ -55880,7 +55880,7 @@ class jr {
|
|
|
55880
55880
|
}
|
|
55881
55881
|
static word(e, t, n, r) {
|
|
55882
55882
|
const s = e.model.validatePosition(r);
|
|
55883
|
-
return Dt.fromModelState(
|
|
55883
|
+
return Dt.fromModelState(Ai.word(e.cursorConfig, e.model, t.modelState, n, s));
|
|
55884
55884
|
}
|
|
55885
55885
|
static cancelSelection(e, t) {
|
|
55886
55886
|
if (!t.modelState.hasSelection())
|
|
@@ -56322,7 +56322,7 @@ class nEe {
|
|
|
56322
56322
|
getProcessedLine(e, t) {
|
|
56323
56323
|
var n, r;
|
|
56324
56324
|
const s = (l, c) => {
|
|
56325
|
-
const d =
|
|
56325
|
+
const d = Ns(l);
|
|
56326
56326
|
return c + l.substring(d.length);
|
|
56327
56327
|
};
|
|
56328
56328
|
(r = (n = this.model.tokenization).forceTokenization) === null || r === void 0 || r.call(n, e);
|
|
@@ -56553,21 +56553,21 @@ function PT(i, e, t, n = !0, r) {
|
|
|
56553
56553
|
if (o.shouldIncrease(a) || o.shouldIndentNextLine(a)) {
|
|
56554
56554
|
const l = e.getLineContent(a);
|
|
56555
56555
|
return {
|
|
56556
|
-
indentation:
|
|
56556
|
+
indentation: Ns(l),
|
|
56557
56557
|
action: us.Indent,
|
|
56558
56558
|
line: a
|
|
56559
56559
|
};
|
|
56560
56560
|
} else if (o.shouldDecrease(a)) {
|
|
56561
56561
|
const l = e.getLineContent(a);
|
|
56562
56562
|
return {
|
|
56563
|
-
indentation:
|
|
56563
|
+
indentation: Ns(l),
|
|
56564
56564
|
action: null,
|
|
56565
56565
|
line: a
|
|
56566
56566
|
};
|
|
56567
56567
|
} else {
|
|
56568
56568
|
if (a === 1)
|
|
56569
56569
|
return {
|
|
56570
|
-
indentation:
|
|
56570
|
+
indentation: Ns(e.getLineContent(a)),
|
|
56571
56571
|
action: null,
|
|
56572
56572
|
line: a
|
|
56573
56573
|
};
|
|
@@ -56580,21 +56580,21 @@ function PT(i, e, t, n = !0, r) {
|
|
|
56580
56580
|
break;
|
|
56581
56581
|
}
|
|
56582
56582
|
return {
|
|
56583
|
-
indentation:
|
|
56583
|
+
indentation: Ns(e.getLineContent(d + 1)),
|
|
56584
56584
|
action: null,
|
|
56585
56585
|
line: d + 1
|
|
56586
56586
|
};
|
|
56587
56587
|
}
|
|
56588
56588
|
if (n)
|
|
56589
56589
|
return {
|
|
56590
|
-
indentation:
|
|
56590
|
+
indentation: Ns(e.getLineContent(a)),
|
|
56591
56591
|
action: null,
|
|
56592
56592
|
line: a
|
|
56593
56593
|
};
|
|
56594
56594
|
for (let d = a; d > 0; d--) {
|
|
56595
56595
|
if (o.shouldIncrease(d))
|
|
56596
56596
|
return {
|
|
56597
|
-
indentation:
|
|
56597
|
+
indentation: Ns(e.getLineContent(d)),
|
|
56598
56598
|
action: us.Indent,
|
|
56599
56599
|
line: d
|
|
56600
56600
|
};
|
|
@@ -56606,19 +56606,19 @@ function PT(i, e, t, n = !0, r) {
|
|
|
56606
56606
|
break;
|
|
56607
56607
|
}
|
|
56608
56608
|
return {
|
|
56609
|
-
indentation:
|
|
56609
|
+
indentation: Ns(e.getLineContent(u + 1)),
|
|
56610
56610
|
action: null,
|
|
56611
56611
|
line: u + 1
|
|
56612
56612
|
};
|
|
56613
56613
|
} else if (o.shouldDecrease(d))
|
|
56614
56614
|
return {
|
|
56615
|
-
indentation:
|
|
56615
|
+
indentation: Ns(e.getLineContent(d)),
|
|
56616
56616
|
action: null,
|
|
56617
56617
|
line: d
|
|
56618
56618
|
};
|
|
56619
56619
|
}
|
|
56620
56620
|
return {
|
|
56621
|
-
indentation:
|
|
56621
|
+
indentation: Ns(e.getLineContent(1)),
|
|
56622
56622
|
action: null,
|
|
56623
56623
|
line: 1
|
|
56624
56624
|
};
|
|
@@ -56631,7 +56631,7 @@ function N0t(i, e, t, n, r) {
|
|
|
56631
56631
|
if (!o)
|
|
56632
56632
|
return null;
|
|
56633
56633
|
e.tokenization.forceTokenization(t.startLineNumber);
|
|
56634
|
-
const l = new HT(e, r).getProcessedTokenContextAroundRange(t), c = l.afterRangeProcessedTokens, d = l.beforeRangeProcessedTokens, u =
|
|
56634
|
+
const l = new HT(e, r).getProcessedTokenContextAroundRange(t), c = l.afterRangeProcessedTokens, d = l.beforeRangeProcessedTokens, u = Ns(d.getLineContent()), f = I0t(e, t.startLineNumber, d), p = BT(e, t.getStartPosition()), g = e.getLineContent(t.startLineNumber), m = Ns(g), A = PT(i, f, t.startLineNumber + 1, void 0, r);
|
|
56635
56635
|
if (!A) {
|
|
56636
56636
|
const w = p ? m : u;
|
|
56637
56637
|
return {
|
|
@@ -56671,7 +56671,7 @@ function I0t(i, e, t) {
|
|
|
56671
56671
|
getLineContent: (r) => r === e ? t.getLineContent() : i.getLineContent(r)
|
|
56672
56672
|
};
|
|
56673
56673
|
}
|
|
56674
|
-
class
|
|
56674
|
+
class ci {
|
|
56675
56675
|
static indent(e, t, n) {
|
|
56676
56676
|
if (t === null || n === null)
|
|
56677
56677
|
return [];
|
|
@@ -56709,8 +56709,8 @@ class li {
|
|
|
56709
56709
|
static _distributedPaste(e, t, n, r) {
|
|
56710
56710
|
const s = [];
|
|
56711
56711
|
for (let o = 0, a = n.length; o < a; o++)
|
|
56712
|
-
s[o] = new
|
|
56713
|
-
return new
|
|
56712
|
+
s[o] = new ks(n[o], r[o]);
|
|
56713
|
+
return new Ds(0, s, {
|
|
56714
56714
|
shouldPushStackElementBefore: !0,
|
|
56715
56715
|
shouldPushStackElementAfter: !0
|
|
56716
56716
|
});
|
|
@@ -56724,9 +56724,9 @@ class li {
|
|
|
56724
56724
|
const u = new X(d.lineNumber, 1, d.lineNumber, 1);
|
|
56725
56725
|
o[a] = new tEe(u, r, c, !0);
|
|
56726
56726
|
} else
|
|
56727
|
-
o[a] = new
|
|
56727
|
+
o[a] = new ks(c, r);
|
|
56728
56728
|
}
|
|
56729
|
-
return new
|
|
56729
|
+
return new Ds(0, o, {
|
|
56730
56730
|
shouldPushStackElementBefore: !0,
|
|
56731
56731
|
shouldPushStackElementAfter: !0
|
|
56732
56732
|
});
|
|
@@ -56765,7 +56765,7 @@ class li {
|
|
|
56765
56765
|
const l = t.getLineMaxColumn(a), c = FD(e.autoIndent, t, new X(a, l, a, l), e.languageConfigurationService);
|
|
56766
56766
|
c && (s = c.indentation + c.appendText);
|
|
56767
56767
|
}
|
|
56768
|
-
return r && (r === us.Indent && (s =
|
|
56768
|
+
return r && (r === us.Indent && (s = ci.shiftIndent(e, s)), r === us.Outdent && (s = ci.unshiftIndent(e, s)), s = e.normalizeIndentation(s)), s || null;
|
|
56769
56769
|
}
|
|
56770
56770
|
static _replaceJumpToNextIndent(e, t, n, r) {
|
|
56771
56771
|
let s = "";
|
|
@@ -56776,7 +56776,7 @@ class li {
|
|
|
56776
56776
|
s += " ";
|
|
56777
56777
|
} else
|
|
56778
56778
|
s = " ";
|
|
56779
|
-
return new
|
|
56779
|
+
return new ks(n, s, r);
|
|
56780
56780
|
}
|
|
56781
56781
|
static tab(e, t, n) {
|
|
56782
56782
|
const r = [];
|
|
@@ -56789,7 +56789,7 @@ class li {
|
|
|
56789
56789
|
c = c || " ";
|
|
56790
56790
|
const d = e.normalizeIndentation(c);
|
|
56791
56791
|
if (!l.startsWith(d)) {
|
|
56792
|
-
r[s] = new
|
|
56792
|
+
r[s] = new ks(new X(a.startLineNumber, 1, a.startLineNumber, l.length + 1), d, !0);
|
|
56793
56793
|
continue;
|
|
56794
56794
|
}
|
|
56795
56795
|
}
|
|
@@ -56816,7 +56816,7 @@ class li {
|
|
|
56816
56816
|
}
|
|
56817
56817
|
static compositionType(e, t, n, r, s, o, a, l) {
|
|
56818
56818
|
const c = r.map((d) => this._compositionType(n, d, s, o, a, l));
|
|
56819
|
-
return new
|
|
56819
|
+
return new Ds(4, c, {
|
|
56820
56820
|
shouldPushStackElementBefore: s5(
|
|
56821
56821
|
e,
|
|
56822
56822
|
4
|
|
@@ -56832,24 +56832,24 @@ class li {
|
|
|
56832
56832
|
return e.getValueInRange(d) === n && o === 0 ? null : new Kb(d, n, 0, o);
|
|
56833
56833
|
}
|
|
56834
56834
|
static _typeCommand(e, t, n) {
|
|
56835
|
-
return n ? new r5(e, t, !0) : new
|
|
56835
|
+
return n ? new r5(e, t, !0) : new ks(e, t, !0);
|
|
56836
56836
|
}
|
|
56837
56837
|
static _enter(e, t, n, r) {
|
|
56838
56838
|
if (e.autoIndent === 0)
|
|
56839
|
-
return
|
|
56839
|
+
return ci._typeCommand(r, `
|
|
56840
56840
|
`, n);
|
|
56841
56841
|
if (!t.tokenization.isCheapToTokenize(r.getStartPosition().lineNumber) || e.autoIndent === 1) {
|
|
56842
|
-
const l = t.getLineContent(r.startLineNumber), c =
|
|
56843
|
-
return
|
|
56842
|
+
const l = t.getLineContent(r.startLineNumber), c = Ns(l).substring(0, r.startColumn - 1);
|
|
56843
|
+
return ci._typeCommand(r, `
|
|
56844
56844
|
` + e.normalizeIndentation(c), n);
|
|
56845
56845
|
}
|
|
56846
56846
|
const s = FD(e.autoIndent, t, r, e.languageConfigurationService);
|
|
56847
56847
|
if (s) {
|
|
56848
56848
|
if (s.indentAction === us.None)
|
|
56849
|
-
return
|
|
56849
|
+
return ci._typeCommand(r, `
|
|
56850
56850
|
` + e.normalizeIndentation(s.indentation + s.appendText), n);
|
|
56851
56851
|
if (s.indentAction === us.Indent)
|
|
56852
|
-
return
|
|
56852
|
+
return ci._typeCommand(r, `
|
|
56853
56853
|
` + e.normalizeIndentation(s.indentation + s.appendText), n);
|
|
56854
56854
|
if (s.indentAction === us.IndentOutdent) {
|
|
56855
56855
|
const l = e.normalizeIndentation(s.indentation), c = e.normalizeIndentation(s.indentation + s.appendText), d = `
|
|
@@ -56857,16 +56857,16 @@ class li {
|
|
|
56857
56857
|
` + l;
|
|
56858
56858
|
return n ? new r5(r, d, !0) : new Kb(r, d, -1, c.length - l.length, !0);
|
|
56859
56859
|
} else if (s.indentAction === us.Outdent) {
|
|
56860
|
-
const l =
|
|
56861
|
-
return
|
|
56860
|
+
const l = ci.unshiftIndent(e, s.indentation);
|
|
56861
|
+
return ci._typeCommand(r, `
|
|
56862
56862
|
` + e.normalizeIndentation(l + s.appendText), n);
|
|
56863
56863
|
}
|
|
56864
56864
|
}
|
|
56865
|
-
const o = t.getLineContent(r.startLineNumber), a =
|
|
56865
|
+
const o = t.getLineContent(r.startLineNumber), a = Ns(o).substring(0, r.startColumn - 1);
|
|
56866
56866
|
if (e.autoIndent >= 4) {
|
|
56867
56867
|
const l = N0t(e.autoIndent, t, r, {
|
|
56868
|
-
unshiftIndent: (c) =>
|
|
56869
|
-
shiftIndent: (c) =>
|
|
56868
|
+
unshiftIndent: (c) => ci.unshiftIndent(e, c),
|
|
56869
|
+
shiftIndent: (c) => ci.shiftIndent(e, c),
|
|
56870
56870
|
normalizeIndentation: (c) => e.normalizeIndentation(c)
|
|
56871
56871
|
}, e.languageConfigurationService);
|
|
56872
56872
|
if (l) {
|
|
@@ -56882,7 +56882,7 @@ class li {
|
|
|
56882
56882
|
}
|
|
56883
56883
|
}
|
|
56884
56884
|
}
|
|
56885
|
-
return
|
|
56885
|
+
return ci._typeCommand(r, `
|
|
56886
56886
|
` + e.normalizeIndentation(a), n);
|
|
56887
56887
|
}
|
|
56888
56888
|
static _isAutoIndentType(e, t, n) {
|
|
@@ -56895,14 +56895,14 @@ class li {
|
|
|
56895
56895
|
}
|
|
56896
56896
|
static _runAutoIndentType(e, t, n, r) {
|
|
56897
56897
|
const s = i_e(t, n.startLineNumber, n.startColumn), o = T0t(e.autoIndent, t, n, r, {
|
|
56898
|
-
shiftIndent: (a) =>
|
|
56899
|
-
unshiftIndent: (a) =>
|
|
56898
|
+
shiftIndent: (a) => ci.shiftIndent(e, a),
|
|
56899
|
+
unshiftIndent: (a) => ci.unshiftIndent(e, a)
|
|
56900
56900
|
}, e.languageConfigurationService);
|
|
56901
56901
|
if (o === null)
|
|
56902
56902
|
return null;
|
|
56903
56903
|
if (o !== e.normalizeIndentation(s)) {
|
|
56904
56904
|
const a = t.getLineFirstNonWhitespaceColumn(n.startLineNumber);
|
|
56905
|
-
return a === 0 ?
|
|
56905
|
+
return a === 0 ? ci._typeCommand(new X(n.startLineNumber, 1, n.endLineNumber, n.endColumn), e.normalizeIndentation(o) + r, !1) : ci._typeCommand(new X(n.startLineNumber, 1, n.endLineNumber, n.endColumn), e.normalizeIndentation(o) + t.getLineContent(n.startLineNumber).substring(a - 1, n.startColumn - 1) + r, !1);
|
|
56906
56906
|
}
|
|
56907
56907
|
return null;
|
|
56908
56908
|
}
|
|
@@ -56938,9 +56938,9 @@ class li {
|
|
|
56938
56938
|
const o = [];
|
|
56939
56939
|
for (let a = 0, l = r.length; a < l; a++) {
|
|
56940
56940
|
const d = r[a].getPosition(), u = new X(d.lineNumber, d.column, d.lineNumber, d.column + 1);
|
|
56941
|
-
o[a] = new
|
|
56941
|
+
o[a] = new ks(u, s);
|
|
56942
56942
|
}
|
|
56943
|
-
return new
|
|
56943
|
+
return new Ds(4, o, {
|
|
56944
56944
|
shouldPushStackElementBefore: s5(
|
|
56945
56945
|
e,
|
|
56946
56946
|
4
|
|
@@ -57012,7 +57012,7 @@ class li {
|
|
|
57012
57012
|
const { lineNumber: m, beforeColumn: A, afterColumn: v } = g, w = t.getLineContent(m), b = w.substring(0, A - 1), _ = w.substring(v - 1);
|
|
57013
57013
|
if (_.startsWith(f) || (p = !1), _.length > 0) {
|
|
57014
57014
|
const L = _.charAt(0);
|
|
57015
|
-
if (!
|
|
57015
|
+
if (!ci._isBeforeClosingBrace(e, _) && !c(L))
|
|
57016
57016
|
return null;
|
|
57017
57017
|
}
|
|
57018
57018
|
if (a.open.length === 1 && (r === "'" || r === '"') && l !== "always") {
|
|
@@ -57044,7 +57044,7 @@ class li {
|
|
|
57044
57044
|
const u = r[c];
|
|
57045
57045
|
l[c] = new iEe(u, s, !o, a);
|
|
57046
57046
|
}
|
|
57047
|
-
return new
|
|
57047
|
+
return new Ds(4, l, {
|
|
57048
57048
|
shouldPushStackElementBefore: !0,
|
|
57049
57049
|
shouldPushStackElementAfter: !1
|
|
57050
57050
|
});
|
|
@@ -57053,7 +57053,7 @@ class li {
|
|
|
57053
57053
|
return du(t) ? e.autoSurround === "quotes" || e.autoSurround === "languageDefined" : e.autoSurround === "brackets" || e.autoSurround === "languageDefined";
|
|
57054
57054
|
}
|
|
57055
57055
|
static _isSurroundSelectionType(e, t, n, r) {
|
|
57056
|
-
if (!
|
|
57056
|
+
if (!ci._shouldSurroundChar(e, r) || !e.surroundingPairs.hasOwnProperty(r))
|
|
57057
57057
|
return !1;
|
|
57058
57058
|
const s = du(r);
|
|
57059
57059
|
for (const o of n) {
|
|
@@ -57083,7 +57083,7 @@ class li {
|
|
|
57083
57083
|
const c = r[a], d = t.surroundingPairs[s];
|
|
57084
57084
|
o[a] = new M0t(c, s, d);
|
|
57085
57085
|
}
|
|
57086
|
-
return new
|
|
57086
|
+
return new Ds(0, o, {
|
|
57087
57087
|
shouldPushStackElementBefore: !0,
|
|
57088
57088
|
shouldPushStackElementAfter: !0
|
|
57089
57089
|
});
|
|
@@ -57118,8 +57118,8 @@ class li {
|
|
|
57118
57118
|
if (d) {
|
|
57119
57119
|
if (d.startLineNumber === o.lineNumber)
|
|
57120
57120
|
return null;
|
|
57121
|
-
const u = n.getLineContent(d.startLineNumber), f =
|
|
57122
|
-
return new
|
|
57121
|
+
const u = n.getLineContent(d.startLineNumber), f = Ns(u), p = t.normalizeIndentation(f), g = n.getLineContent(o.lineNumber), m = n.getLineFirstNonWhitespaceColumn(o.lineNumber) || o.column, A = g.substring(m - 1, o.column - 1), v = p + A + s, w = new X(o.lineNumber, 1, o.lineNumber, o.column), b = new ks(w, v);
|
|
57122
|
+
return new Ds(Z_(v, e), [b], {
|
|
57123
57123
|
shouldPushStackElementBefore: !1,
|
|
57124
57124
|
shouldPushStackElementAfter: !0
|
|
57125
57125
|
});
|
|
@@ -57149,7 +57149,7 @@ class li {
|
|
|
57149
57149
|
break;
|
|
57150
57150
|
}
|
|
57151
57151
|
if (c) {
|
|
57152
|
-
if (!
|
|
57152
|
+
if (!ci._shouldSurroundChar(t, l) || !t.surroundingPairs.hasOwnProperty(l))
|
|
57153
57153
|
return null;
|
|
57154
57154
|
const u = du(l);
|
|
57155
57155
|
for (const g of r)
|
|
@@ -57166,14 +57166,14 @@ class li {
|
|
|
57166
57166
|
const p = [];
|
|
57167
57167
|
for (let g = 0, m = f.length; g < m; g++)
|
|
57168
57168
|
p.push(new L0t(f[g], r[g].deletedText, t.surroundingPairs[l]));
|
|
57169
|
-
return new
|
|
57169
|
+
return new Ds(4, p, {
|
|
57170
57170
|
shouldPushStackElementBefore: !0,
|
|
57171
57171
|
shouldPushStackElementAfter: !1
|
|
57172
57172
|
});
|
|
57173
57173
|
}
|
|
57174
57174
|
if (this._isAutoClosingOvertype(t, n, s, o, l)) {
|
|
57175
|
-
const u = s.map((f) => new
|
|
57176
|
-
return new
|
|
57175
|
+
const u = s.map((f) => new ks(new X(f.positionLineNumber, f.positionColumn, f.positionLineNumber, f.positionColumn + 1), "", !1));
|
|
57176
|
+
return new Ds(4, u, {
|
|
57177
57177
|
shouldPushStackElementBefore: !0,
|
|
57178
57178
|
shouldPushStackElementAfter: !1
|
|
57179
57179
|
});
|
|
@@ -57186,8 +57186,8 @@ class li {
|
|
|
57186
57186
|
`) {
|
|
57187
57187
|
const d = [];
|
|
57188
57188
|
for (let u = 0, f = s.length; u < f; u++)
|
|
57189
|
-
d[u] =
|
|
57190
|
-
return new
|
|
57189
|
+
d[u] = ci._enter(n, r, !1, s[u]);
|
|
57190
|
+
return new Ds(4, d, {
|
|
57191
57191
|
shouldPushStackElementBefore: !0,
|
|
57192
57192
|
shouldPushStackElementAfter: !1
|
|
57193
57193
|
});
|
|
@@ -57201,7 +57201,7 @@ class li {
|
|
|
57201
57201
|
break;
|
|
57202
57202
|
}
|
|
57203
57203
|
if (!u)
|
|
57204
|
-
return new
|
|
57204
|
+
return new Ds(4, d, {
|
|
57205
57205
|
shouldPushStackElementBefore: !0,
|
|
57206
57206
|
shouldPushStackElementAfter: !1
|
|
57207
57207
|
});
|
|
@@ -57222,9 +57222,9 @@ class li {
|
|
|
57222
57222
|
}
|
|
57223
57223
|
const l = [];
|
|
57224
57224
|
for (let d = 0, u = s.length; d < u; d++)
|
|
57225
|
-
l[d] = new
|
|
57225
|
+
l[d] = new ks(s[d], a);
|
|
57226
57226
|
const c = Z_(a, t);
|
|
57227
|
-
return new
|
|
57227
|
+
return new Ds(c, l, {
|
|
57228
57228
|
shouldPushStackElementBefore: s5(t, c),
|
|
57229
57229
|
shouldPushStackElementAfter: !1
|
|
57230
57230
|
});
|
|
@@ -57232,9 +57232,9 @@ class li {
|
|
|
57232
57232
|
static typeWithoutInterceptors(e, t, n, r, s) {
|
|
57233
57233
|
const o = [];
|
|
57234
57234
|
for (let l = 0, c = r.length; l < c; l++)
|
|
57235
|
-
o[l] = new
|
|
57235
|
+
o[l] = new ks(r[l], s);
|
|
57236
57236
|
const a = Z_(s, e);
|
|
57237
|
-
return new
|
|
57237
|
+
return new Ds(a, o, {
|
|
57238
57238
|
shouldPushStackElementBefore: s5(e, a),
|
|
57239
57239
|
shouldPushStackElementAfter: !1
|
|
57240
57240
|
});
|
|
@@ -58705,7 +58705,7 @@ var qve;
|
|
|
58705
58705
|
});
|
|
58706
58706
|
}
|
|
58707
58707
|
runCoreEditingCommand(t, n, r) {
|
|
58708
|
-
t.pushUndoStop(), t.executeCommands(this.id,
|
|
58708
|
+
t.pushUndoStop(), t.executeCommands(this.id, ci.lineBreakInsert(n.cursorConfig, n.model, n.getCursorStates().map((s) => s.modelState.selection)));
|
|
58709
58709
|
}
|
|
58710
58710
|
}()), i.Outdent = et(new class extends e {
|
|
58711
58711
|
constructor() {
|
|
@@ -58721,7 +58721,7 @@ var qve;
|
|
|
58721
58721
|
});
|
|
58722
58722
|
}
|
|
58723
58723
|
runCoreEditingCommand(t, n, r) {
|
|
58724
|
-
t.pushUndoStop(), t.executeCommands(this.id,
|
|
58724
|
+
t.pushUndoStop(), t.executeCommands(this.id, ci.outdent(n.cursorConfig, n.model, n.getCursorStates().map((s) => s.modelState.selection))), t.pushUndoStop();
|
|
58725
58725
|
}
|
|
58726
58726
|
}()), i.Tab = et(new class extends e {
|
|
58727
58727
|
constructor() {
|
|
@@ -58737,7 +58737,7 @@ var qve;
|
|
|
58737
58737
|
});
|
|
58738
58738
|
}
|
|
58739
58739
|
runCoreEditingCommand(t, n, r) {
|
|
58740
|
-
t.pushUndoStop(), t.executeCommands(this.id,
|
|
58740
|
+
t.pushUndoStop(), t.executeCommands(this.id, ci.tab(n.cursorConfig, n.model, n.getCursorStates().map((s) => s.modelState.selection))), t.pushUndoStop();
|
|
58741
58741
|
}
|
|
58742
58742
|
}()), i.DeleteLeft = et(new class extends e {
|
|
58743
58743
|
constructor() {
|
|
@@ -58940,7 +58940,7 @@ class R0t {
|
|
|
58940
58940
|
}
|
|
58941
58941
|
}
|
|
58942
58942
|
dispatchMouse(e) {
|
|
58943
|
-
const t = this.configuration.options, n =
|
|
58943
|
+
const t = this.configuration.options, n = _s && t.get(
|
|
58944
58944
|
107
|
|
58945
58945
|
/* EditorOption.selectionClipboard */
|
|
58946
58946
|
), r = t.get(
|
|
@@ -61313,7 +61313,7 @@ class LC extends uo {
|
|
|
61313
61313
|
}, n.scrollType));
|
|
61314
61314
|
}
|
|
61315
61315
|
}
|
|
61316
|
-
if (this._updateLineWidthsFast() ? this._asyncUpdateLineWidths.cancel() : this._asyncUpdateLineWidths.schedule(),
|
|
61316
|
+
if (this._updateLineWidthsFast() ? this._asyncUpdateLineWidths.cancel() : this._asyncUpdateLineWidths.schedule(), _s && !this._asyncCheckMonospaceFontAssumptions.isScheduled()) {
|
|
61317
61317
|
const n = this._visibleLines.getStartLineNumber(), r = this._visibleLines.getEndLineNumber();
|
|
61318
61318
|
for (let s = n; s <= r; s++)
|
|
61319
61319
|
if (this._visibleLines.getVisibleLine(s).needsMonospaceFontCheck()) {
|
|
@@ -61574,12 +61574,12 @@ class K3 extends me {
|
|
|
61574
61574
|
return this._INSTANCE || (this._INSTANCE = new K3()), this._INSTANCE;
|
|
61575
61575
|
}
|
|
61576
61576
|
constructor() {
|
|
61577
|
-
super(), this._onDidChange = new $(), this.onDidChange = this._onDidChange.event, this._updateColorMap(), this._register(
|
|
61577
|
+
super(), this._onDidChange = new $(), this.onDidChange = this._onDidChange.event, this._updateColorMap(), this._register(yi.onDidChange((e) => {
|
|
61578
61578
|
e.changedColorMap && this._updateColorMap();
|
|
61579
61579
|
}));
|
|
61580
61580
|
}
|
|
61581
61581
|
_updateColorMap() {
|
|
61582
|
-
const e =
|
|
61582
|
+
const e = yi.getColorMap();
|
|
61583
61583
|
if (!e) {
|
|
61584
61584
|
this._colors = [To.Empty], this._backgroundIsLight = !0;
|
|
61585
61585
|
return;
|
|
@@ -62734,7 +62734,7 @@ class p1t {
|
|
|
62734
62734
|
const l = n.get(
|
|
62735
62735
|
73
|
|
62736
62736
|
/* EditorOption.minimap */
|
|
62737
|
-
), c = l.enabled, d = l.side, u = t.getColor(Yut), f =
|
|
62737
|
+
), c = l.enabled, d = l.side, u = t.getColor(Yut), f = yi.getDefaultBackground();
|
|
62738
62738
|
u ? this.backgroundColor = u : c && d === "right" ? this.backgroundColor = f : this.backgroundColor = null;
|
|
62739
62739
|
const g = n.get(
|
|
62740
62740
|
145
|
|
@@ -62868,7 +62868,7 @@ class p1t {
|
|
|
62868
62868
|
}
|
|
62869
62869
|
class g1t extends uo {
|
|
62870
62870
|
constructor(e) {
|
|
62871
|
-
super(e), this._actualShouldRender = 0, this._renderedDecorations = [], this._renderedCursorPositions = [], this._domNode = qt(document.createElement("canvas")), this._domNode.setClassName("decorationsOverviewRuler"), this._domNode.setPosition("absolute"), this._domNode.setLayerHinting(!0), this._domNode.setContain("strict"), this._domNode.setAttribute("aria-hidden", "true"), this._updateSettings(!1), this._tokensColorTrackerListener =
|
|
62871
|
+
super(e), this._actualShouldRender = 0, this._renderedDecorations = [], this._renderedCursorPositions = [], this._domNode = qt(document.createElement("canvas")), this._domNode.setClassName("decorationsOverviewRuler"), this._domNode.setPosition("absolute"), this._domNode.setLayerHinting(!0), this._domNode.setContain("strict"), this._domNode.setAttribute("aria-hidden", "true"), this._updateSettings(!1), this._tokensColorTrackerListener = yi.onDidChange((t) => {
|
|
62872
62872
|
t.changedColorMap && this._updateSettings(!0);
|
|
62873
62873
|
}), this._cursorPositions = [{ position: new oe(1, 1), color: this._settings.cursorColorSingle }];
|
|
62874
62874
|
}
|
|
@@ -63245,7 +63245,7 @@ function C1t(i) {
|
|
|
63245
63245
|
function _1t(i) {
|
|
63246
63246
|
return new y1t(i.lineNumber, i.ranges.map(C1t));
|
|
63247
63247
|
}
|
|
63248
|
-
class
|
|
63248
|
+
class hi extends ap {
|
|
63249
63249
|
constructor(e) {
|
|
63250
63250
|
super(), this._previousFrameVisibleRangesWithStyle = [], this._context = e;
|
|
63251
63251
|
const t = this._context.configuration.options;
|
|
@@ -63356,20 +63356,20 @@ class ci extends ap {
|
|
|
63356
63356
|
if (s) {
|
|
63357
63357
|
const x = b.startStyle, M = b.endStyle;
|
|
63358
63358
|
if (x.top === 1 || x.bottom === 1) {
|
|
63359
|
-
m += this._createSelectionPiece(p, g,
|
|
63360
|
-
let D =
|
|
63361
|
-
x.top === 1 && (D += " " +
|
|
63359
|
+
m += this._createSelectionPiece(p, g, hi.SELECTION_CLASS_NAME, b.left - hi.ROUNDED_PIECE_WIDTH, hi.ROUNDED_PIECE_WIDTH);
|
|
63360
|
+
let D = hi.EDITOR_BACKGROUND_CLASS_NAME;
|
|
63361
|
+
x.top === 1 && (D += " " + hi.SELECTION_TOP_RIGHT), x.bottom === 1 && (D += " " + hi.SELECTION_BOTTOM_RIGHT), m += this._createSelectionPiece(p, g, D, b.left - hi.ROUNDED_PIECE_WIDTH, hi.ROUNDED_PIECE_WIDTH);
|
|
63362
63362
|
}
|
|
63363
63363
|
if (M.top === 1 || M.bottom === 1) {
|
|
63364
|
-
m += this._createSelectionPiece(p, g,
|
|
63365
|
-
let D =
|
|
63366
|
-
M.top === 1 && (D += " " +
|
|
63364
|
+
m += this._createSelectionPiece(p, g, hi.SELECTION_CLASS_NAME, b.left + b.width, hi.ROUNDED_PIECE_WIDTH);
|
|
63365
|
+
let D = hi.EDITOR_BACKGROUND_CLASS_NAME;
|
|
63366
|
+
M.top === 1 && (D += " " + hi.SELECTION_TOP_LEFT), M.bottom === 1 && (D += " " + hi.SELECTION_BOTTOM_LEFT), m += this._createSelectionPiece(p, g, D, b.left + b.width, hi.ROUNDED_PIECE_WIDTH);
|
|
63367
63367
|
}
|
|
63368
63368
|
}
|
|
63369
|
-
let _ =
|
|
63369
|
+
let _ = hi.SELECTION_CLASS_NAME;
|
|
63370
63370
|
if (s) {
|
|
63371
63371
|
const x = b.startStyle, M = b.endStyle;
|
|
63372
|
-
x.top === 0 && (_ += " " +
|
|
63372
|
+
x.top === 0 && (_ += " " + hi.SELECTION_TOP_LEFT), x.bottom === 0 && (_ += " " + hi.SELECTION_BOTTOM_LEFT), M.top === 0 && (_ += " " + hi.SELECTION_TOP_RIGHT), M.bottom === 0 && (_ += " " + hi.SELECTION_BOTTOM_RIGHT);
|
|
63373
63373
|
}
|
|
63374
63374
|
A += this._createSelectionPiece(p, g, _, b.left, b.width);
|
|
63375
63375
|
}
|
|
@@ -63401,13 +63401,13 @@ class ci extends ap {
|
|
|
63401
63401
|
return n < 0 || n >= this._renderResult.length ? "" : this._renderResult[n];
|
|
63402
63402
|
}
|
|
63403
63403
|
}
|
|
63404
|
-
|
|
63405
|
-
|
|
63406
|
-
|
|
63407
|
-
|
|
63408
|
-
|
|
63409
|
-
|
|
63410
|
-
|
|
63404
|
+
hi.SELECTION_CLASS_NAME = "selected-text";
|
|
63405
|
+
hi.SELECTION_TOP_LEFT = "top-left-radius";
|
|
63406
|
+
hi.SELECTION_BOTTOM_LEFT = "bottom-left-radius";
|
|
63407
|
+
hi.SELECTION_TOP_RIGHT = "top-right-radius";
|
|
63408
|
+
hi.SELECTION_BOTTOM_RIGHT = "bottom-right-radius";
|
|
63409
|
+
hi.EDITOR_BACKGROUND_CLASS_NAME = "monaco-editor-background";
|
|
63410
|
+
hi.ROUNDED_PIECE_WIDTH = 10;
|
|
63411
63411
|
Sh((i, e) => {
|
|
63412
63412
|
const t = i.getColor(Dht);
|
|
63413
63413
|
t && !t.isTransparent() && e.addRule(`.monaco-editor .view-line span.inline-selected-text { color: ${t}; }`);
|
|
@@ -64150,7 +64150,7 @@ let jD = class extends U3 {
|
|
|
64150
64150
|
const d = new w1t(this._context);
|
|
64151
64151
|
this._viewParts.push(d);
|
|
64152
64152
|
const u = new B0t(this._context);
|
|
64153
|
-
this._viewParts.push(u), u.addDynamicOverlay(new j0t(this._context)), u.addDynamicOverlay(new
|
|
64153
|
+
this._viewParts.push(u), u.addDynamicOverlay(new j0t(this._context)), u.addDynamicOverlay(new hi(this._context)), u.addDynamicOverlay(new t1t(this._context)), u.addDynamicOverlay(new U0t(this._context)), u.addDynamicOverlay(new S1t(this._context));
|
|
64154
64154
|
const f = new P0t(this._context);
|
|
64155
64155
|
this._viewParts.push(f), f.addDynamicOverlay(new Z0t(this._context)), f.addDynamicOverlay(new o1t(this._context)), f.addDynamicOverlay(new s1t(this._context)), f.addDynamicOverlay(new Q3(this._context)), this._glyphMarginWidgets = new K0t(this._context), this._viewParts.push(this._glyphMarginWidgets);
|
|
64156
64156
|
const p = new Mf(this._context);
|
|
@@ -65012,14 +65012,14 @@ class z1t extends F1t {
|
|
|
65012
65012
|
}
|
|
65013
65013
|
}
|
|
65014
65014
|
function W1t(i, e, t, n) {
|
|
65015
|
-
return i !== t ?
|
|
65015
|
+
return i !== t ? vi(t - i, n) : vi(0, n - e);
|
|
65016
65016
|
}
|
|
65017
65017
|
const Ps = 0;
|
|
65018
65018
|
function V8(i) {
|
|
65019
65019
|
return i === 0;
|
|
65020
65020
|
}
|
|
65021
65021
|
const Io = 2 ** 26;
|
|
65022
|
-
function
|
|
65022
|
+
function vi(i, e) {
|
|
65023
65023
|
return i * Io + e;
|
|
65024
65024
|
}
|
|
65025
65025
|
function Aa(i) {
|
|
@@ -65046,9 +65046,9 @@ function fw(i, e) {
|
|
|
65046
65046
|
const s = Math.floor(t / Io), o = Math.floor(n / Io), a = n - o * Io;
|
|
65047
65047
|
if (s === o) {
|
|
65048
65048
|
const l = t - s * Io;
|
|
65049
|
-
return
|
|
65049
|
+
return vi(0, a - l);
|
|
65050
65050
|
} else
|
|
65051
|
-
return
|
|
65051
|
+
return vi(o - s, a);
|
|
65052
65052
|
}
|
|
65053
65053
|
function Og(i, e) {
|
|
65054
65054
|
return i < e;
|
|
@@ -65060,7 +65060,7 @@ function HA(i, e) {
|
|
|
65060
65060
|
return i >= e;
|
|
65061
65061
|
}
|
|
65062
65062
|
function hg(i) {
|
|
65063
|
-
return
|
|
65063
|
+
return vi(i.lineNumber - 1, i.column - 1);
|
|
65064
65064
|
}
|
|
65065
65065
|
function rf(i, e) {
|
|
65066
65066
|
const t = i, n = Math.floor(t / Io), r = t - n * Io, s = e, o = Math.floor(s / Io), a = s - o * Io;
|
|
@@ -65068,7 +65068,7 @@ function rf(i, e) {
|
|
|
65068
65068
|
}
|
|
65069
65069
|
function U1t(i) {
|
|
65070
65070
|
const e = sm(i);
|
|
65071
|
-
return
|
|
65071
|
+
return vi(e.length - 1, e[e.length - 1].length);
|
|
65072
65072
|
}
|
|
65073
65073
|
class Ad {
|
|
65074
65074
|
static fromModelContentChanges(e) {
|
|
@@ -65107,11 +65107,11 @@ class q1t {
|
|
|
65107
65107
|
return n === null ? null : fw(e, n);
|
|
65108
65108
|
}
|
|
65109
65109
|
translateOldToCur(e) {
|
|
65110
|
-
return e.lineCount === this.deltaLineIdxInOld ?
|
|
65110
|
+
return e.lineCount === this.deltaLineIdxInOld ? vi(e.lineCount + this.deltaOldToNewLineCount, e.columnCount + this.deltaOldToNewColumnCount) : vi(e.lineCount + this.deltaOldToNewLineCount, e.columnCount);
|
|
65111
65111
|
}
|
|
65112
65112
|
translateCurToOld(e) {
|
|
65113
65113
|
const t = Aa(e);
|
|
65114
|
-
return t.lineCount - this.deltaOldToNewLineCount === this.deltaLineIdxInOld ?
|
|
65114
|
+
return t.lineCount - this.deltaOldToNewLineCount === this.deltaLineIdxInOld ? vi(t.lineCount - this.deltaOldToNewLineCount, t.columnCount - this.deltaOldToNewColumnCount) : vi(t.lineCount - this.deltaOldToNewLineCount, t.columnCount);
|
|
65115
65115
|
}
|
|
65116
65116
|
adjustNextEdit(e) {
|
|
65117
65117
|
for (; this.nextEditIdx < this.edits.length; ) {
|
|
@@ -65561,7 +65561,7 @@ class J1t {
|
|
|
65561
65561
|
return this._offset;
|
|
65562
65562
|
}
|
|
65563
65563
|
get length() {
|
|
65564
|
-
return
|
|
65564
|
+
return vi(this.textBufferLineCount - 1, this.textBufferLastLineLength);
|
|
65565
65565
|
}
|
|
65566
65566
|
skip(e) {
|
|
65567
65567
|
this.didPeek = !1, this._offset = Oi(this._offset, e);
|
|
@@ -65634,10 +65634,10 @@ class eft {
|
|
|
65634
65634
|
let o, a = 0, l = 0, c = 0, d = 0;
|
|
65635
65635
|
const u = [];
|
|
65636
65636
|
for (let g = 0; g < 60; g++)
|
|
65637
|
-
u.push(new Su(
|
|
65637
|
+
u.push(new Su(vi(0, g), 0, -1, Ni.getEmpty(), new L1(vi(0, g))));
|
|
65638
65638
|
const f = [];
|
|
65639
65639
|
for (let g = 0; g < 60; g++)
|
|
65640
|
-
f.push(new Su(
|
|
65640
|
+
f.push(new Su(vi(1, g), 0, -1, Ni.getEmpty(), new L1(vi(1, g))));
|
|
65641
65641
|
if (r)
|
|
65642
65642
|
for (r.lastIndex = 0; (o = r.exec(e)) !== null; ) {
|
|
65643
65643
|
const g = o.index, m = o[0];
|
|
@@ -65652,7 +65652,7 @@ class eft {
|
|
|
65652
65652
|
if (v < u.length)
|
|
65653
65653
|
A = u[v];
|
|
65654
65654
|
else {
|
|
65655
|
-
const w =
|
|
65655
|
+
const w = vi(0, v);
|
|
65656
65656
|
A = new Su(w, 0, -1, Ni.getEmpty(), new L1(w));
|
|
65657
65657
|
}
|
|
65658
65658
|
} else {
|
|
@@ -65660,7 +65660,7 @@ class eft {
|
|
|
65660
65660
|
if (v === 1 && w < f.length)
|
|
65661
65661
|
A = f[w];
|
|
65662
65662
|
else {
|
|
65663
|
-
const b =
|
|
65663
|
+
const b = vi(v, w);
|
|
65664
65664
|
A = new Su(b, 0, -1, Ni.getEmpty(), new L1(b));
|
|
65665
65665
|
}
|
|
65666
65666
|
}
|
|
@@ -65671,10 +65671,10 @@ class eft {
|
|
|
65671
65671
|
}
|
|
65672
65672
|
const p = e.length;
|
|
65673
65673
|
if (c !== p) {
|
|
65674
|
-
const g = d === a ?
|
|
65674
|
+
const g = d === a ? vi(0, p - c) : vi(a - d, p - l);
|
|
65675
65675
|
s.push(new Su(g, 0, -1, Ni.getEmpty(), new L1(g)));
|
|
65676
65676
|
}
|
|
65677
|
-
this.length =
|
|
65677
|
+
this.length = vi(a, p - l), this.tokens = s;
|
|
65678
65678
|
}
|
|
65679
65679
|
get offset() {
|
|
65680
65680
|
return this._offset;
|
|
@@ -65696,11 +65696,11 @@ class UT {
|
|
|
65696
65696
|
}
|
|
65697
65697
|
const r = /* @__PURE__ */ new Map();
|
|
65698
65698
|
for (const s of e.bracketsNew.openingBrackets) {
|
|
65699
|
-
const o =
|
|
65699
|
+
const o = vi(0, s.bracketText.length), a = n(s), l = Ni.getEmpty().add(a, lwe);
|
|
65700
65700
|
r.set(s.bracketText, new Su(o, 1, a, l, H8.create(o, s, l)));
|
|
65701
65701
|
}
|
|
65702
65702
|
for (const s of e.bracketsNew.closingBrackets) {
|
|
65703
|
-
const o =
|
|
65703
|
+
const o = vi(0, s.bracketText.length);
|
|
65704
65704
|
let a = Ni.getEmpty();
|
|
65705
65705
|
const l = s.getOpeningBrackets();
|
|
65706
65706
|
for (const c of l)
|
|
@@ -66050,7 +66050,7 @@ class lft extends me {
|
|
|
66050
66050
|
}
|
|
66051
66051
|
}
|
|
66052
66052
|
handleDidChangeTokens({ ranges: e }) {
|
|
66053
|
-
const t = e.map((n) => new Ad(
|
|
66053
|
+
const t = e.map((n) => new Ad(vi(n.fromLineNumber - 1, 0), vi(n.toLineNumber, 0), vi(n.toLineNumber - n.fromLineNumber + 1, 0)));
|
|
66054
66054
|
this.handleEdits(t, !0), this.initialAstWithoutTokens || this.didChangeEmitter.fire();
|
|
66055
66055
|
}
|
|
66056
66056
|
handleContentChanged(e) {
|
|
@@ -66074,7 +66074,7 @@ class lft extends me {
|
|
|
66074
66074
|
}
|
|
66075
66075
|
getBracketsInRange(e, t) {
|
|
66076
66076
|
this.flushQueue();
|
|
66077
|
-
const n =
|
|
66077
|
+
const n = vi(e.startLineNumber - 1, e.startColumn - 1), r = vi(e.endLineNumber - 1, e.endColumn - 1);
|
|
66078
66078
|
return new sh((s) => {
|
|
66079
66079
|
const o = this.initialAstWithoutTokens || this.astWithTokens;
|
|
66080
66080
|
qD(o, Ps, o.length, n, r, s, 0, 0, /* @__PURE__ */ new Map(), t);
|
|
@@ -67377,7 +67377,7 @@ function mwe(i, e, t) {
|
|
|
67377
67377
|
tabSize: p
|
|
67378
67378
|
};
|
|
67379
67379
|
}
|
|
67380
|
-
function
|
|
67380
|
+
function Ms(i) {
|
|
67381
67381
|
return (i.metadata & 1) >>> 0;
|
|
67382
67382
|
}
|
|
67383
67383
|
function Nn(i, e) {
|
|
@@ -67707,10 +67707,10 @@ function ywe(i, e) {
|
|
|
67707
67707
|
), i.root = e, i.root;
|
|
67708
67708
|
Ift(i, e), uu(e.parent);
|
|
67709
67709
|
let t = e;
|
|
67710
|
-
for (; t !== i.root &&
|
|
67710
|
+
for (; t !== i.root && Ms(t.parent) === 1; )
|
|
67711
67711
|
if (t.parent === t.parent.parent.left) {
|
|
67712
67712
|
const n = t.parent.parent.right;
|
|
67713
|
-
|
|
67713
|
+
Ms(n) === 1 ? (Nn(
|
|
67714
67714
|
t.parent,
|
|
67715
67715
|
0
|
|
67716
67716
|
/* NodeColor.Black */
|
|
@@ -67733,7 +67733,7 @@ function ywe(i, e) {
|
|
|
67733
67733
|
), dv(i, t.parent.parent));
|
|
67734
67734
|
} else {
|
|
67735
67735
|
const n = t.parent.parent.left;
|
|
67736
|
-
|
|
67736
|
+
Ms(n) === 1 ? (Nn(
|
|
67737
67737
|
t.parent,
|
|
67738
67738
|
0
|
|
67739
67739
|
/* NodeColor.Black */
|
|
@@ -67792,15 +67792,15 @@ function Cwe(i, e) {
|
|
|
67792
67792
|
), e.detach(), eE(), b0(t), i.root.parent = vt;
|
|
67793
67793
|
return;
|
|
67794
67794
|
}
|
|
67795
|
-
const r =
|
|
67796
|
-
if (n === n.parent.left ? n.parent.left = t : n.parent.right = t, n === e ? t.parent = n.parent : (n.parent === e ? t.parent = n : t.parent = n.parent, n.left = e.left, n.right = e.right, n.parent = e.parent, Nn(n,
|
|
67795
|
+
const r = Ms(n) === 1;
|
|
67796
|
+
if (n === n.parent.left ? n.parent.left = t : n.parent.right = t, n === e ? t.parent = n.parent : (n.parent === e ? t.parent = n : t.parent = n.parent, n.left = e.left, n.right = e.right, n.parent = e.parent, Nn(n, Ms(e)), e === i.root ? i.root = n : e === e.parent.left ? e.parent.left = n : e.parent.right = n, n.left !== vt && (n.left.parent = n), n.right !== vt && (n.right.parent = n)), e.detach(), r) {
|
|
67797
67797
|
uu(t.parent), n !== e && (uu(n), uu(n.parent)), eE();
|
|
67798
67798
|
return;
|
|
67799
67799
|
}
|
|
67800
67800
|
uu(t), uu(t.parent), n !== e && (uu(n), uu(n.parent));
|
|
67801
67801
|
let s;
|
|
67802
|
-
for (; t !== i.root &&
|
|
67803
|
-
t === t.parent.left ? (s = t.parent.right,
|
|
67802
|
+
for (; t !== i.root && Ms(t) === 0; )
|
|
67803
|
+
t === t.parent.left ? (s = t.parent.right, Ms(s) === 1 && (Nn(
|
|
67804
67804
|
s,
|
|
67805
67805
|
0
|
|
67806
67806
|
/* NodeColor.Black */
|
|
@@ -67808,11 +67808,11 @@ function Cwe(i, e) {
|
|
|
67808
67808
|
t.parent,
|
|
67809
67809
|
1
|
|
67810
67810
|
/* NodeColor.Red */
|
|
67811
|
-
), hv(i, t.parent), s = t.parent.right),
|
|
67811
|
+
), hv(i, t.parent), s = t.parent.right), Ms(s.left) === 0 && Ms(s.right) === 0 ? (Nn(
|
|
67812
67812
|
s,
|
|
67813
67813
|
1
|
|
67814
67814
|
/* NodeColor.Red */
|
|
67815
|
-
), t = t.parent) : (
|
|
67815
|
+
), t = t.parent) : (Ms(s.right) === 0 && (Nn(
|
|
67816
67816
|
s.left,
|
|
67817
67817
|
0
|
|
67818
67818
|
/* NodeColor.Black */
|
|
@@ -67820,7 +67820,7 @@ function Cwe(i, e) {
|
|
|
67820
67820
|
s,
|
|
67821
67821
|
1
|
|
67822
67822
|
/* NodeColor.Red */
|
|
67823
|
-
), dv(i, s), s = t.parent.right), Nn(s,
|
|
67823
|
+
), dv(i, s), s = t.parent.right), Nn(s, Ms(t.parent)), Nn(
|
|
67824
67824
|
t.parent,
|
|
67825
67825
|
0
|
|
67826
67826
|
/* NodeColor.Black */
|
|
@@ -67828,7 +67828,7 @@ function Cwe(i, e) {
|
|
|
67828
67828
|
s.right,
|
|
67829
67829
|
0
|
|
67830
67830
|
/* NodeColor.Black */
|
|
67831
|
-
), hv(i, t.parent), t = i.root)) : (s = t.parent.left,
|
|
67831
|
+
), hv(i, t.parent), t = i.root)) : (s = t.parent.left, Ms(s) === 1 && (Nn(
|
|
67832
67832
|
s,
|
|
67833
67833
|
0
|
|
67834
67834
|
/* NodeColor.Black */
|
|
@@ -67836,11 +67836,11 @@ function Cwe(i, e) {
|
|
|
67836
67836
|
t.parent,
|
|
67837
67837
|
1
|
|
67838
67838
|
/* NodeColor.Red */
|
|
67839
|
-
), dv(i, t.parent), s = t.parent.left),
|
|
67839
|
+
), dv(i, t.parent), s = t.parent.left), Ms(s.left) === 0 && Ms(s.right) === 0 ? (Nn(
|
|
67840
67840
|
s,
|
|
67841
67841
|
1
|
|
67842
67842
|
/* NodeColor.Red */
|
|
67843
|
-
), t = t.parent) : (
|
|
67843
|
+
), t = t.parent) : (Ms(s.left) === 0 && (Nn(
|
|
67844
67844
|
s.right,
|
|
67845
67845
|
0
|
|
67846
67846
|
/* NodeColor.Black */
|
|
@@ -67848,7 +67848,7 @@ function Cwe(i, e) {
|
|
|
67848
67848
|
s,
|
|
67849
67849
|
1
|
|
67850
67850
|
/* NodeColor.Red */
|
|
67851
|
-
), hv(i, s), s = t.parent.left), Nn(s,
|
|
67851
|
+
), hv(i, s), s = t.parent.left), Nn(s, Ms(t.parent)), Nn(
|
|
67852
67852
|
t.parent,
|
|
67853
67853
|
0
|
|
67854
67854
|
/* NodeColor.Black */
|
|
@@ -69940,7 +69940,7 @@ class Yft extends me {
|
|
|
69940
69940
|
return this._backgroundTokenizationState;
|
|
69941
69941
|
}
|
|
69942
69942
|
constructor(e, t, n, r) {
|
|
69943
|
-
super(), this._languageIdCodec = e, this._textModel = t, this.getLanguageId = n, this._tokenizer = null, this._defaultBackgroundTokenizer = null, this._backgroundTokenizer = this._register(new Bd()), this._tokens = new mw(this._languageIdCodec), this._debugBackgroundTokenizer = this._register(new Bd()), this._backgroundTokenizationState = 1, this._onDidChangeBackgroundTokenizationState = this._register(new $()), this.onDidChangeBackgroundTokenizationState = this._onDidChangeBackgroundTokenizationState.event, this._onDidChangeTokens = this._register(new $()), this.onDidChangeTokens = this._onDidChangeTokens.event, this._attachedViewStates = this._register(new jN()), this._register(
|
|
69943
|
+
super(), this._languageIdCodec = e, this._textModel = t, this.getLanguageId = n, this._tokenizer = null, this._defaultBackgroundTokenizer = null, this._backgroundTokenizer = this._register(new Bd()), this._tokens = new mw(this._languageIdCodec), this._debugBackgroundTokenizer = this._register(new Bd()), this._backgroundTokenizationState = 1, this._onDidChangeBackgroundTokenizationState = this._register(new $()), this.onDidChangeBackgroundTokenizationState = this._onDidChangeBackgroundTokenizationState.event, this._onDidChangeTokens = this._register(new $()), this.onDidChangeTokens = this._onDidChangeTokens.event, this._attachedViewStates = this._register(new jN()), this._register(yi.onDidChange((s) => {
|
|
69944
69944
|
const o = this.getLanguageId();
|
|
69945
69945
|
s.changedLanguages.indexOf(o) !== -1 && this.resetTokenization();
|
|
69946
69946
|
})), this.resetTokenization(), this._register(r.onDidChangeVisibleRanges(({ view: s, state: o }) => {
|
|
@@ -69965,7 +69965,7 @@ class Yft extends me {
|
|
|
69965
69965
|
const n = () => {
|
|
69966
69966
|
if (this._textModel.isTooLargeForTokenization())
|
|
69967
69967
|
return [null, null];
|
|
69968
|
-
const o =
|
|
69968
|
+
const o = yi.get(this.getLanguageId());
|
|
69969
69969
|
if (!o)
|
|
69970
69970
|
return [null, null];
|
|
69971
69971
|
let a;
|
|
@@ -71203,43 +71203,43 @@ class Aw {
|
|
|
71203
71203
|
this.content = e.content || "", this.inlineClassName = e.inlineClassName || null, this.inlineClassNameAffectsLetterSpacing = e.inlineClassNameAffectsLetterSpacing || !1, this.attachedData = e.attachedData || null, this.cursorStops = e.cursorStops || null;
|
|
71204
71204
|
}
|
|
71205
71205
|
}
|
|
71206
|
-
class
|
|
71206
|
+
class li {
|
|
71207
71207
|
static register(e) {
|
|
71208
|
-
return new
|
|
71208
|
+
return new li(e);
|
|
71209
71209
|
}
|
|
71210
71210
|
static createDynamic(e) {
|
|
71211
|
-
return new
|
|
71211
|
+
return new li(e);
|
|
71212
71212
|
}
|
|
71213
71213
|
constructor(e) {
|
|
71214
71214
|
var t, n, r, s, o, a;
|
|
71215
71215
|
this.description = e.description, this.blockClassName = e.blockClassName ? yc(e.blockClassName) : null, this.blockDoesNotCollapse = (t = e.blockDoesNotCollapse) !== null && t !== void 0 ? t : null, this.blockIsAfterEnd = (n = e.blockIsAfterEnd) !== null && n !== void 0 ? n : null, this.blockPadding = (r = e.blockPadding) !== null && r !== void 0 ? r : null, this.stickiness = e.stickiness || 0, this.zIndex = e.zIndex || 0, this.className = e.className ? yc(e.className) : null, this.shouldFillLineOnLineBreak = (s = e.shouldFillLineOnLineBreak) !== null && s !== void 0 ? s : null, this.hoverMessage = e.hoverMessage || null, this.glyphMarginHoverMessage = e.glyphMarginHoverMessage || null, this.lineNumberHoverMessage = e.lineNumberHoverMessage || null, this.isWholeLine = e.isWholeLine || !1, this.showIfCollapsed = e.showIfCollapsed || !1, this.collapseOnReplaceEdit = e.collapseOnReplaceEdit || !1, this.overviewRuler = e.overviewRuler ? new opt(e.overviewRuler) : null, this.minimap = e.minimap ? new lpt(e.minimap) : null, this.glyphMargin = e.glyphMarginClassName ? new apt(e.glyphMargin) : null, this.glyphMarginClassName = e.glyphMarginClassName ? yc(e.glyphMarginClassName) : null, this.linesDecorationsClassName = e.linesDecorationsClassName ? yc(e.linesDecorationsClassName) : null, this.lineNumberClassName = e.lineNumberClassName ? yc(e.lineNumberClassName) : null, this.linesDecorationsTooltip = e.linesDecorationsTooltip ? bst(e.linesDecorationsTooltip) : null, this.firstLineDecorationClassName = e.firstLineDecorationClassName ? yc(e.firstLineDecorationClassName) : null, this.marginClassName = e.marginClassName ? yc(e.marginClassName) : null, this.inlineClassName = e.inlineClassName ? yc(e.inlineClassName) : null, this.inlineClassNameAffectsLetterSpacing = e.inlineClassNameAffectsLetterSpacing || !1, this.beforeContentClassName = e.beforeContentClassName ? yc(e.beforeContentClassName) : null, this.afterContentClassName = e.afterContentClassName ? yc(e.afterContentClassName) : null, this.after = e.after ? Aw.from(e.after) : null, this.before = e.before ? Aw.from(e.before) : null, this.hideInCommentTokens = (o = e.hideInCommentTokens) !== null && o !== void 0 ? o : !1, this.hideInStringTokens = (a = e.hideInStringTokens) !== null && a !== void 0 ? a : !1;
|
|
71216
71216
|
}
|
|
71217
71217
|
}
|
|
71218
|
-
|
|
71218
|
+
li.EMPTY = li.register({ description: "empty" });
|
|
71219
71219
|
const Dwe = [
|
|
71220
|
-
|
|
71220
|
+
li.register({
|
|
71221
71221
|
description: "tracked-range-always-grows-when-typing-at-edges",
|
|
71222
71222
|
stickiness: 0
|
|
71223
71223
|
/* model.TrackedRangeStickiness.AlwaysGrowsWhenTypingAtEdges */
|
|
71224
71224
|
}),
|
|
71225
|
-
|
|
71225
|
+
li.register({
|
|
71226
71226
|
description: "tracked-range-never-grows-when-typing-at-edges",
|
|
71227
71227
|
stickiness: 1
|
|
71228
71228
|
/* model.TrackedRangeStickiness.NeverGrowsWhenTypingAtEdges */
|
|
71229
71229
|
}),
|
|
71230
|
-
|
|
71230
|
+
li.register({
|
|
71231
71231
|
description: "tracked-range-grows-only-when-typing-before",
|
|
71232
71232
|
stickiness: 2
|
|
71233
71233
|
/* model.TrackedRangeStickiness.GrowsOnlyWhenTypingBefore */
|
|
71234
71234
|
}),
|
|
71235
|
-
|
|
71235
|
+
li.register({
|
|
71236
71236
|
description: "tracked-range-grows-only-when-typing-after",
|
|
71237
71237
|
stickiness: 3
|
|
71238
71238
|
/* model.TrackedRangeStickiness.GrowsOnlyWhenTypingAfter */
|
|
71239
71239
|
})
|
|
71240
71240
|
];
|
|
71241
71241
|
function Mwe(i) {
|
|
71242
|
-
return i instanceof
|
|
71242
|
+
return i instanceof li ? i : li.createDynamic(i);
|
|
71243
71243
|
}
|
|
71244
71244
|
class cpt extends me {
|
|
71245
71245
|
constructor(e) {
|
|
@@ -72336,7 +72336,7 @@ class Bpt extends me {
|
|
|
72336
72336
|
endComposition(e, t) {
|
|
72337
72337
|
const n = this._compositionState ? this._compositionState.deduceOutcome(this._model, this.getSelections()) : null;
|
|
72338
72338
|
this._compositionState = null, this._executeEdit(() => {
|
|
72339
|
-
t === "keyboard" && this._executeEditOperation(
|
|
72339
|
+
t === "keyboard" && this._executeEditOperation(ci.compositionEndWithInterceptors(this._prevEditOperationType, this.context.cursorConfig, this._model, n, this.getSelections(), this.getAutoClosedCharacters()));
|
|
72340
72340
|
}, e, t);
|
|
72341
72341
|
}
|
|
72342
72342
|
type(e, t, n) {
|
|
@@ -72346,10 +72346,10 @@ class Bpt extends me {
|
|
|
72346
72346
|
let s = 0;
|
|
72347
72347
|
for (; s < r; ) {
|
|
72348
72348
|
const o = JN(t, s), a = t.substr(s, o);
|
|
72349
|
-
this._executeEditOperation(
|
|
72349
|
+
this._executeEditOperation(ci.typeWithInterceptors(!!this._compositionState, this._prevEditOperationType, this.context.cursorConfig, this._model, this.getSelections(), this.getAutoClosedCharacters(), a)), s += o;
|
|
72350
72350
|
}
|
|
72351
72351
|
} else
|
|
72352
|
-
this._executeEditOperation(
|
|
72352
|
+
this._executeEditOperation(ci.typeWithoutInterceptors(this._prevEditOperationType, this.context.cursorConfig, this._model, this.getSelections(), t));
|
|
72353
72353
|
}, e, n);
|
|
72354
72354
|
}
|
|
72355
72355
|
compositionType(e, t, n, r, s, o) {
|
|
@@ -72370,13 +72370,13 @@ class Bpt extends me {
|
|
|
72370
72370
|
return;
|
|
72371
72371
|
}
|
|
72372
72372
|
this._executeEdit(() => {
|
|
72373
|
-
this._executeEditOperation(
|
|
72373
|
+
this._executeEditOperation(ci.compositionType(this._prevEditOperationType, this.context.cursorConfig, this._model, this.getSelections(), t, n, r, s));
|
|
72374
72374
|
}, e, o);
|
|
72375
72375
|
}
|
|
72376
72376
|
paste(e, t, n, r, s) {
|
|
72377
72377
|
this._executeEdit(
|
|
72378
72378
|
() => {
|
|
72379
|
-
this._executeEditOperation(
|
|
72379
|
+
this._executeEditOperation(ci.paste(this.context.cursorConfig, this._model, this.getSelections(), t, n, r || []));
|
|
72380
72380
|
},
|
|
72381
72381
|
e,
|
|
72382
72382
|
s,
|
|
@@ -72391,7 +72391,7 @@ class Bpt extends me {
|
|
|
72391
72391
|
}
|
|
72392
72392
|
executeCommand(e, t, n) {
|
|
72393
72393
|
this._executeEdit(() => {
|
|
72394
|
-
this._cursors.killSecondaryCursors(), this._executeEditOperation(new
|
|
72394
|
+
this._cursors.killSecondaryCursors(), this._executeEditOperation(new Ds(0, [t], {
|
|
72395
72395
|
shouldPushStackElementBefore: !1,
|
|
72396
72396
|
shouldPushStackElementAfter: !1
|
|
72397
72397
|
}));
|
|
@@ -72399,7 +72399,7 @@ class Bpt extends me {
|
|
|
72399
72399
|
}
|
|
72400
72400
|
executeCommands(e, t, n) {
|
|
72401
72401
|
this._executeEdit(() => {
|
|
72402
|
-
this._executeEditOperation(new
|
|
72402
|
+
this._executeEditOperation(new Ds(0, t, {
|
|
72403
72403
|
shouldPushStackElementBefore: !1,
|
|
72404
72404
|
shouldPushStackElementAfter: !1
|
|
72405
72405
|
}));
|
|
@@ -72644,7 +72644,7 @@ const Iwe = {
|
|
|
72644
72644
|
async function zpt(i, e, t) {
|
|
72645
72645
|
if (!t)
|
|
72646
72646
|
return Owe(e, i.languageIdCodec, Iwe);
|
|
72647
|
-
const n = await
|
|
72647
|
+
const n = await yi.getOrCreate(t);
|
|
72648
72648
|
return Owe(e, i.languageIdCodec, n || Iwe);
|
|
72649
72649
|
}
|
|
72650
72650
|
function Wpt(i, e, t, n, r, s, o) {
|
|
@@ -73902,7 +73902,7 @@ class egt {
|
|
|
73902
73902
|
}
|
|
73903
73903
|
const s = n.map((f) => ({
|
|
73904
73904
|
range: f,
|
|
73905
|
-
options:
|
|
73905
|
+
options: li.EMPTY
|
|
73906
73906
|
}));
|
|
73907
73907
|
this.hiddenAreasDecorationIds = this.model.deltaDecorations(this.hiddenAreasDecorationIds, s);
|
|
73908
73908
|
const o = n;
|
|
@@ -74960,7 +74960,7 @@ let ogt = class extends me {
|
|
|
74960
74960
|
return l;
|
|
74961
74961
|
}
|
|
74962
74962
|
_getColorMap() {
|
|
74963
|
-
const e =
|
|
74963
|
+
const e = yi.getColorMap(), t = ["#000000"];
|
|
74964
74964
|
if (e)
|
|
74965
74965
|
for (let n = 1, r = e.length; n < r; n++)
|
|
74966
74966
|
t[n] = pe.Format.CSS.formatHex(e[n]);
|
|
@@ -75408,7 +75408,7 @@ let ww = A1 = class extends me {
|
|
|
75408
75408
|
return this._overflowWidgetsDomNode;
|
|
75409
75409
|
}
|
|
75410
75410
|
getConfiguredWordAtPosition(e) {
|
|
75411
|
-
return this._modelData ?
|
|
75411
|
+
return this._modelData ? Ai.getWordAtPosition(this._modelData.model, this._configuration.options.get(
|
|
75412
75412
|
131
|
|
75413
75413
|
/* EditorOption.wordSeparators */
|
|
75414
75414
|
), this._configuration.options.get(
|
|
@@ -76206,7 +76206,7 @@ let ww = A1 = class extends me {
|
|
|
76206
76206
|
this._updateCounter--, this._updateCounter === 0 && this._onEndUpdate.fire();
|
|
76207
76207
|
}
|
|
76208
76208
|
};
|
|
76209
|
-
ww.dropIntoEditorDecorationOptions =
|
|
76209
|
+
ww.dropIntoEditorDecorationOptions = li.register({
|
|
76210
76210
|
description: "workbench-dnd-target",
|
|
76211
76211
|
className: "dnd-target"
|
|
76212
76212
|
});
|
|
@@ -76385,7 +76385,7 @@ function Cgt(i) {
|
|
|
76385
76385
|
Sh((i, e) => {
|
|
76386
76386
|
const t = i.getColor(dd);
|
|
76387
76387
|
t && e.addRule(`.monaco-editor .squiggly-error { background: url("data:image/svg+xml,${oE(t)}") repeat-x bottom left; }`);
|
|
76388
|
-
const n = i.getColor(
|
|
76388
|
+
const n = i.getColor(ws);
|
|
76389
76389
|
n && e.addRule(`.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,${oE(n)}") repeat-x bottom left; }`);
|
|
76390
76390
|
const r = i.getColor(ha);
|
|
76391
76391
|
r && e.addRule(`.monaco-editor .squiggly-info { background: url("data:image/svg+xml,${oE(r)}") repeat-x bottom left; }`);
|
|
@@ -77294,7 +77294,7 @@ Yt(
|
|
|
77294
77294
|
1
|
|
77295
77295
|
/* InstantiationType.Delayed */
|
|
77296
77296
|
);
|
|
77297
|
-
function
|
|
77297
|
+
function Ts(i, e, t) {
|
|
77298
77298
|
return Math.min(Math.max(i, e), t);
|
|
77299
77299
|
}
|
|
77300
77300
|
class zEe {
|
|
@@ -77365,13 +77365,13 @@ class Tgt {
|
|
|
77365
77365
|
}
|
|
77366
77366
|
get(e) {
|
|
77367
77367
|
const t = this._key(e), n = this._cache.get(t);
|
|
77368
|
-
return n ?
|
|
77368
|
+
return n ? Ts(n.value, this._min, this._max) : this.default();
|
|
77369
77369
|
}
|
|
77370
77370
|
update(e, t) {
|
|
77371
77371
|
const n = this._key(e);
|
|
77372
77372
|
let r = this._cache.get(n);
|
|
77373
77373
|
r || (r = new Mgt(6), this._cache.set(n, r));
|
|
77374
|
-
const s =
|
|
77374
|
+
const s = Ts(r.update(t), this._min, this._max);
|
|
77375
77375
|
return iT(e.uri, "output") || this._logService.trace(`[DEBOUNCE: ${this._name}] for ${e.uri.toString()} is ${s}ms`), s;
|
|
77376
77376
|
}
|
|
77377
77377
|
_overall() {
|
|
@@ -77382,7 +77382,7 @@ class Tgt {
|
|
|
77382
77382
|
}
|
|
77383
77383
|
default() {
|
|
77384
77384
|
const e = this._overall() | 0 || this._default;
|
|
77385
|
-
return
|
|
77385
|
+
return Ts(e, this._min, this._max);
|
|
77386
77386
|
}
|
|
77387
77387
|
}
|
|
77388
77388
|
let lM = class {
|
|
@@ -77698,7 +77698,7 @@ function Xwe(i, e) {
|
|
|
77698
77698
|
if (typeof e == "string")
|
|
77699
77699
|
return i;
|
|
77700
77700
|
const t = function(n, r) {
|
|
77701
|
-
return QD(n, e.base, !
|
|
77701
|
+
return QD(n, e.base, !_s) ? i(Jy(n.substr(e.base.length), t0), r) : null;
|
|
77702
77702
|
};
|
|
77703
77703
|
return t.allBasenames = i.allBasenames, t.allPaths = i.allPaths, t.basenames = i.basenames, t.patterns = i.patterns, t;
|
|
77704
77704
|
}
|
|
@@ -78085,7 +78085,7 @@ let bw = class extends me {
|
|
|
78085
78085
|
}
|
|
78086
78086
|
};
|
|
78087
78087
|
bw = $gt([
|
|
78088
|
-
e3e(3,
|
|
78088
|
+
e3e(3, fi),
|
|
78089
78089
|
e3e(4, cp)
|
|
78090
78090
|
], bw);
|
|
78091
78091
|
const hm = zt("contextViewService"), Kd = zt("contextMenuService"), v5 = tt;
|
|
@@ -78661,10 +78661,10 @@ let axe = class {
|
|
|
78661
78661
|
}
|
|
78662
78662
|
};
|
|
78663
78663
|
const r3e = new axe("id#");
|
|
78664
|
-
let
|
|
78664
|
+
let xs = {};
|
|
78665
78665
|
(function() {
|
|
78666
78666
|
function i(e, t) {
|
|
78667
|
-
t(
|
|
78667
|
+
t(xs);
|
|
78668
78668
|
}
|
|
78669
78669
|
i.amd = !0, function(e, t) {
|
|
78670
78670
|
typeof i == "function" && i.amd ? i(["exports"], t) : typeof exports == "object" && typeof module < "u" ? t(exports) : (e = typeof globalThis < "u" ? globalThis : e || self, t(e.marked = {}));
|
|
@@ -78983,7 +78983,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
78983
78983
|
items: []
|
|
78984
78984
|
};
|
|
78985
78985
|
Kn = mo ? "\\d{1,9}\\" + Kn.slice(-1) : "\\" + Kn, this.options.pedantic && (Kn = mo ? Kn : "[*+-]");
|
|
78986
|
-
for (var
|
|
78986
|
+
for (var gi = new RegExp("^( {0,3}" + Kn + ")((?:[ ][^\\n]*)?(?:\\n|$))"); z && (Qn = !1, !(!(j = gi.exec(z)) || this.rules.block.hr.test(z))); ) {
|
|
78987
78987
|
if (ne = j[0], z = z.substring(ne.length), ct = j[2].split(`
|
|
78988
78988
|
`, 1)[0], mn = z.split(`
|
|
78989
78989
|
`, 1)[0], this.options.pedantic ? (Me = 2, rt = ct.trimLeft()) : (Me = j[2].search(/[^ ]/), Me = Me > 4 ? 1 : Me, rt = ct.slice(Me), Me += j[1].length), We = !1, !ct && /^ *$/.test(mn) && (ne += mn + `
|
|
@@ -79739,7 +79739,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
79739
79739
|
var he = Ae.prototype;
|
|
79740
79740
|
return he.parse = function(z, j) {
|
|
79741
79741
|
j === void 0 && (j = !0);
|
|
79742
|
-
var ne = "", J, ve, Me, Be, We, dt, ct, mn, dn, rt, Qn, Kn, mo, Wt,
|
|
79742
|
+
var ne = "", J, ve, Me, Be, We, dt, ct, mn, dn, rt, Qn, Kn, mo, Wt, gi, Ao, wl, qs, bl, Ih = z.length;
|
|
79743
79743
|
for (J = 0; J < Ih; J++) {
|
|
79744
79744
|
if (rt = z[J], this.options.extensions && this.options.extensions.renderers && this.options.extensions.renderers[rt.type] && (bl = this.options.extensions.renderers[rt.type].call({
|
|
79745
79745
|
parser: this
|
|
@@ -79785,10 +79785,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
79785
79785
|
}
|
|
79786
79786
|
case "list": {
|
|
79787
79787
|
for (Qn = rt.ordered, Kn = rt.start, mo = rt.loose, Be = rt.items.length, dn = "", ve = 0; ve < Be; ve++)
|
|
79788
|
-
|
|
79788
|
+
gi = rt.items[ve], Ao = gi.checked, wl = gi.task, Wt = "", gi.task && (qs = this.renderer.checkbox(Ao), mo ? gi.tokens.length > 0 && gi.tokens[0].type === "paragraph" ? (gi.tokens[0].text = qs + " " + gi.tokens[0].text, gi.tokens[0].tokens && gi.tokens[0].tokens.length > 0 && gi.tokens[0].tokens[0].type === "text" && (gi.tokens[0].tokens[0].text = qs + " " + gi.tokens[0].tokens[0].text)) : gi.tokens.unshift({
|
|
79789
79789
|
type: "text",
|
|
79790
79790
|
text: qs
|
|
79791
|
-
}) : Wt += qs), Wt += this.parse(
|
|
79791
|
+
}) : Wt += qs), Wt += this.parse(gi.tokens, mo), dn += this.renderer.listitem(Wt, wl, Ao);
|
|
79792
79792
|
ne += this.renderer.list(dn, Qn, Kn);
|
|
79793
79793
|
continue;
|
|
79794
79794
|
}
|
|
@@ -80048,22 +80048,22 @@ Please report this to https://github.com/markedjs/marked.`, he.silent)
|
|
|
80048
80048
|
e.Lexer = B, e.Parser = ee, e.Renderer = T, e.Slugger = K, e.TextRenderer = O, e.Tokenizer = de, e.getDefaults = a, e.lexer = vc, e.marked = ae, e.options = we, e.parse = qi, e.parseInline = rn, e.parser = Th, e.setOptions = Xe, e.use = gt, e.walkTokens = zn, Object.defineProperty(e, "__esModule", { value: !0 });
|
|
80049
80049
|
});
|
|
80050
80050
|
})();
|
|
80051
|
-
|
|
80052
|
-
|
|
80053
|
-
|
|
80054
|
-
|
|
80055
|
-
|
|
80056
|
-
|
|
80057
|
-
|
|
80058
|
-
|
|
80059
|
-
var Ol =
|
|
80060
|
-
|
|
80061
|
-
|
|
80062
|
-
|
|
80063
|
-
|
|
80064
|
-
|
|
80065
|
-
|
|
80066
|
-
|
|
80051
|
+
xs.Lexer || exports.Lexer;
|
|
80052
|
+
xs.Parser || exports.Parser;
|
|
80053
|
+
xs.Renderer || exports.Renderer;
|
|
80054
|
+
xs.Slugger || exports.Slugger;
|
|
80055
|
+
xs.TextRenderer || exports.TextRenderer;
|
|
80056
|
+
xs.Tokenizer || exports.Tokenizer;
|
|
80057
|
+
xs.getDefaults || exports.getDefaults;
|
|
80058
|
+
xs.lexer || exports.lexer;
|
|
80059
|
+
var Ol = xs.marked || exports.marked;
|
|
80060
|
+
xs.options || exports.options;
|
|
80061
|
+
xs.parse || exports.parse;
|
|
80062
|
+
xs.parseInline || exports.parseInline;
|
|
80063
|
+
xs.parser || exports.parser;
|
|
80064
|
+
xs.setOptions || exports.setOptions;
|
|
80065
|
+
xs.use || exports.use;
|
|
80066
|
+
xs.walkTokens || exports.walkTokens;
|
|
80067
80067
|
function H2t(i) {
|
|
80068
80068
|
return JSON.stringify(i, B2t);
|
|
80069
80069
|
}
|
|
@@ -80209,7 +80209,7 @@ function dI(i, e = {}, t = {}) {
|
|
|
80209
80209
|
const _ = new Map(v), x = a.querySelectorAll("div[data-code]");
|
|
80210
80210
|
for (const M of x) {
|
|
80211
80211
|
const D = _.get((w = M.dataset.code) !== null && w !== void 0 ? w : "");
|
|
80212
|
-
D &&
|
|
80212
|
+
D && Cs(M, D);
|
|
80213
80213
|
}
|
|
80214
80214
|
(b = e.asyncRenderCallback) === null || b === void 0 || b.call(e);
|
|
80215
80215
|
});
|
|
@@ -80217,7 +80217,7 @@ function dI(i, e = {}, t = {}) {
|
|
|
80217
80217
|
const v = new Map(f), w = a.querySelectorAll("div[data-code]");
|
|
80218
80218
|
for (const b of w) {
|
|
80219
80219
|
const _ = v.get((r = b.dataset.code) !== null && r !== void 0 ? r : "");
|
|
80220
|
-
_ &&
|
|
80220
|
+
_ && Cs(b, _);
|
|
80221
80221
|
}
|
|
80222
80222
|
}
|
|
80223
80223
|
if (e.asyncRenderCallback)
|
|
@@ -80867,7 +80867,7 @@ let wM = class extends xa {
|
|
|
80867
80867
|
};
|
|
80868
80868
|
wM = dmt([
|
|
80869
80869
|
eA(1, yr),
|
|
80870
|
-
eA(2,
|
|
80870
|
+
eA(2, fi),
|
|
80871
80871
|
eA(3, X3),
|
|
80872
80872
|
eA(4, wn),
|
|
80873
80873
|
eA(5, uc)
|
|
@@ -83455,7 +83455,7 @@ class Ew extends me {
|
|
|
83455
83455
|
this._requestedBasicLanguages.has(e) || (this._requestedBasicLanguages.add(e), this._onDidRequestBasicLanguageFeatures.fire(e));
|
|
83456
83456
|
}
|
|
83457
83457
|
requestRichLanguageFeatures(e) {
|
|
83458
|
-
this._requestedRichLanguages.has(e) || (this._requestedRichLanguages.add(e), this.requestBasicLanguageFeatures(e),
|
|
83458
|
+
this._requestedRichLanguages.has(e) || (this._requestedRichLanguages.add(e), this.requestBasicLanguageFeatures(e), yi.getOrCreate(e), this._onDidRequestRichLanguageFeatures.fire(e));
|
|
83459
83459
|
}
|
|
83460
83460
|
}
|
|
83461
83461
|
Ew.instanceCount = 0;
|
|
@@ -84233,7 +84233,7 @@ class Da {
|
|
|
84233
84233
|
if (t === void 0)
|
|
84234
84234
|
return;
|
|
84235
84235
|
const n = e.offsetY / this.items[t].size, r = Math.floor(n / 0.25);
|
|
84236
|
-
return
|
|
84236
|
+
return Ts(r, 0, 3);
|
|
84237
84237
|
}
|
|
84238
84238
|
getItemIndexFromEventTarget(e) {
|
|
84239
84239
|
const t = this.scrollableElement.getDomNode();
|
|
@@ -84329,31 +84329,31 @@ class Da {
|
|
|
84329
84329
|
}
|
|
84330
84330
|
Da.InstanceCount = 0;
|
|
84331
84331
|
Yd([
|
|
84332
|
-
|
|
84332
|
+
pi
|
|
84333
84333
|
], Da.prototype, "onMouseClick", null);
|
|
84334
84334
|
Yd([
|
|
84335
|
-
|
|
84335
|
+
pi
|
|
84336
84336
|
], Da.prototype, "onMouseDblClick", null);
|
|
84337
84337
|
Yd([
|
|
84338
|
-
|
|
84338
|
+
pi
|
|
84339
84339
|
], Da.prototype, "onMouseMiddleClick", null);
|
|
84340
84340
|
Yd([
|
|
84341
|
-
|
|
84341
|
+
pi
|
|
84342
84342
|
], Da.prototype, "onMouseDown", null);
|
|
84343
84343
|
Yd([
|
|
84344
|
-
|
|
84344
|
+
pi
|
|
84345
84345
|
], Da.prototype, "onMouseOver", null);
|
|
84346
84346
|
Yd([
|
|
84347
|
-
|
|
84347
|
+
pi
|
|
84348
84348
|
], Da.prototype, "onMouseOut", null);
|
|
84349
84349
|
Yd([
|
|
84350
|
-
|
|
84350
|
+
pi
|
|
84351
84351
|
], Da.prototype, "onContextMenu", null);
|
|
84352
84352
|
Yd([
|
|
84353
|
-
|
|
84353
|
+
pi
|
|
84354
84354
|
], Da.prototype, "onTouchStart", null);
|
|
84355
84355
|
Yd([
|
|
84356
|
-
|
|
84356
|
+
pi
|
|
84357
84357
|
], Da.prototype, "onTap", null);
|
|
84358
84358
|
const C0 = (i, e) => i === e;
|
|
84359
84359
|
class zo {
|
|
@@ -85090,7 +85090,7 @@ let n9 = class {
|
|
|
85090
85090
|
}
|
|
85091
85091
|
};
|
|
85092
85092
|
Z0([
|
|
85093
|
-
|
|
85093
|
+
pi
|
|
85094
85094
|
], n9.prototype, "renderer", null);
|
|
85095
85095
|
class VAt extends n9 {
|
|
85096
85096
|
constructor(e) {
|
|
@@ -85189,7 +85189,7 @@ class xxe {
|
|
|
85189
85189
|
this.list.setAnchor(t), this.list.reveal(t), this.view.domNode.focus();
|
|
85190
85190
|
}
|
|
85191
85191
|
onCtrlA(e) {
|
|
85192
|
-
e.preventDefault(), e.stopPropagation(), this.list.setSelection(
|
|
85192
|
+
e.preventDefault(), e.stopPropagation(), this.list.setSelection(Ls(this.list.length), e.browserEvent), this.list.setAnchor(void 0), this.view.domNode.focus();
|
|
85193
85193
|
}
|
|
85194
85194
|
onEscape(e) {
|
|
85195
85195
|
this.list.getSelection().length && (e.preventDefault(), e.stopPropagation(), this.list.setSelection([], e.browserEvent), this.list.setAnchor(void 0), this.view.domNode.focus());
|
|
@@ -85199,7 +85199,7 @@ class xxe {
|
|
|
85199
85199
|
}
|
|
85200
85200
|
}
|
|
85201
85201
|
Z0([
|
|
85202
|
-
|
|
85202
|
+
pi
|
|
85203
85203
|
], xxe.prototype, "onKeyDown", null);
|
|
85204
85204
|
var Uc;
|
|
85205
85205
|
(function(i) {
|
|
@@ -85363,7 +85363,7 @@ class Mxe {
|
|
|
85363
85363
|
const d = this.list.getFocus()[0];
|
|
85364
85364
|
n = d ?? t, this.list.setAnchor(n);
|
|
85365
85365
|
}
|
|
85366
|
-
const r = Math.min(n, t), s = Math.max(n, t), o =
|
|
85366
|
+
const r = Math.min(n, t), s = Math.max(n, t), o = Ls(r, s + 1), a = this.list.getSelection(), l = ZAt(xM(a, [n]), n);
|
|
85367
85367
|
if (l.length === 0)
|
|
85368
85368
|
return;
|
|
85369
85369
|
const c = xM(o, UAt(a, l));
|
|
@@ -85892,7 +85892,7 @@ let fc = class {
|
|
|
85892
85892
|
const r = this.view.getScrollTop(), s = this.view.elementTop(e), o = this.view.elementHeight(e);
|
|
85893
85893
|
if (tm(t)) {
|
|
85894
85894
|
const a = o - this.view.renderHeight + n;
|
|
85895
|
-
this.view.setScrollTop(a *
|
|
85895
|
+
this.view.setScrollTop(a * Ts(t, 0, 1) + s - n);
|
|
85896
85896
|
} else {
|
|
85897
85897
|
const a = s + o, l = r + this.view.renderHeight;
|
|
85898
85898
|
s < r + n && a >= l || (s < r + n || a >= l && o >= this.view.renderHeight ? this.view.setScrollTop(s - n) : a >= l && this.view.setScrollTop(a - this.view.renderHeight));
|
|
@@ -85951,22 +85951,22 @@ let fc = class {
|
|
|
85951
85951
|
}
|
|
85952
85952
|
};
|
|
85953
85953
|
Z0([
|
|
85954
|
-
|
|
85954
|
+
pi
|
|
85955
85955
|
], fc.prototype, "onDidChangeFocus", null);
|
|
85956
85956
|
Z0([
|
|
85957
|
-
|
|
85957
|
+
pi
|
|
85958
85958
|
], fc.prototype, "onDidChangeSelection", null);
|
|
85959
85959
|
Z0([
|
|
85960
|
-
|
|
85960
|
+
pi
|
|
85961
85961
|
], fc.prototype, "onContextMenu", null);
|
|
85962
85962
|
Z0([
|
|
85963
|
-
|
|
85963
|
+
pi
|
|
85964
85964
|
], fc.prototype, "onKeyDown", null);
|
|
85965
85965
|
Z0([
|
|
85966
|
-
|
|
85966
|
+
pi
|
|
85967
85967
|
], fc.prototype, "onDidFocus", null);
|
|
85968
85968
|
Z0([
|
|
85969
|
-
|
|
85969
|
+
pi
|
|
85970
85970
|
], fc.prototype, "onDidBlur", null);
|
|
85971
85971
|
const j1 = tt, kxe = "selectOption.entry.template";
|
|
85972
85972
|
class KAt {
|
|
@@ -87006,8 +87006,8 @@ const fm = {
|
|
|
87006
87006
|
listHoverForeground: De(O_e),
|
|
87007
87007
|
listDropOverBackground: De(Mdt),
|
|
87008
87008
|
listDropBetweenBackground: De(Ldt),
|
|
87009
|
-
listSelectionOutline: De(
|
|
87010
|
-
listHoverOutline: De(
|
|
87009
|
+
listSelectionOutline: De(bi),
|
|
87010
|
+
listHoverOutline: De(bi),
|
|
87011
87011
|
treeIndentGuidesStroke: De(RA),
|
|
87012
87012
|
treeInactiveIndentGuidesStroke: De(Odt),
|
|
87013
87013
|
treeStickyScrollBackground: void 0,
|
|
@@ -87029,10 +87029,10 @@ const hvt = {
|
|
|
87029
87029
|
listFocusBackground: De(RD),
|
|
87030
87030
|
listInactiveSelectionIconForeground: De(R_e),
|
|
87031
87031
|
listFocusForeground: De(VD),
|
|
87032
|
-
listFocusOutline: wht(
|
|
87032
|
+
listFocusOutline: wht(bi, pe.transparent.toString()),
|
|
87033
87033
|
listHoverBackground: De(I_e),
|
|
87034
87034
|
listHoverForeground: De(O_e),
|
|
87035
|
-
listHoverOutline: De(
|
|
87035
|
+
listHoverOutline: De(bi),
|
|
87036
87036
|
selectListBorder: De(TA),
|
|
87037
87037
|
listBackground: void 0,
|
|
87038
87038
|
listActiveSelectionBackground: void 0,
|
|
@@ -87075,13 +87075,13 @@ var BC = function(i, e, t, n) {
|
|
|
87075
87075
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(i, e, t, n);
|
|
87076
87076
|
else for (var a = i.length - 1; a >= 0; a--) (o = i[a]) && (s = (r < 3 ? o(s) : r > 3 ? o(e, t, s) : o(e, t)) || s);
|
|
87077
87077
|
return r > 3 && s && Object.defineProperty(e, t, s), s;
|
|
87078
|
-
},
|
|
87078
|
+
}, Vs = function(i, e) {
|
|
87079
87079
|
return function(t, n) {
|
|
87080
87080
|
e(t, n, i);
|
|
87081
87081
|
};
|
|
87082
87082
|
};
|
|
87083
87083
|
function uvt(i, e, t, n) {
|
|
87084
|
-
const r = i.getActions(e), s = Tu.getInstance(), o = s.keyStatus.altKey || (zs ||
|
|
87084
|
+
const r = i.getActions(e), s = Tu.getInstance(), o = s.keyStatus.altKey || (zs || _s) && s.keyStatus.shiftKey;
|
|
87085
87085
|
Nxe(r, t, o, n ? (a) => a === n : (a) => a === "navigation");
|
|
87086
87086
|
}
|
|
87087
87087
|
function fvt(i, e, t, n, r, s) {
|
|
@@ -87177,12 +87177,12 @@ let Sw = class extends wI {
|
|
|
87177
87177
|
}
|
|
87178
87178
|
};
|
|
87179
87179
|
Sw = BC([
|
|
87180
|
-
|
|
87181
|
-
|
|
87182
|
-
|
|
87183
|
-
|
|
87184
|
-
|
|
87185
|
-
|
|
87180
|
+
Vs(2, yr),
|
|
87181
|
+
Vs(3, Zo),
|
|
87182
|
+
Vs(4, $t),
|
|
87183
|
+
Vs(5, Sa),
|
|
87184
|
+
Vs(6, Kd),
|
|
87185
|
+
Vs(7, uc)
|
|
87186
87186
|
], Sw);
|
|
87187
87187
|
let SM = class extends i9 {
|
|
87188
87188
|
constructor(e, t, n, r, s) {
|
|
@@ -87210,9 +87210,9 @@ let SM = class extends i9 {
|
|
|
87210
87210
|
}
|
|
87211
87211
|
};
|
|
87212
87212
|
SM = BC([
|
|
87213
|
-
|
|
87214
|
-
|
|
87215
|
-
|
|
87213
|
+
Vs(2, yr),
|
|
87214
|
+
Vs(3, Kd),
|
|
87215
|
+
Vs(4, Sa)
|
|
87216
87216
|
], SM);
|
|
87217
87217
|
let DM = class extends Tl {
|
|
87218
87218
|
constructor(e, t, n, r, s, o, a, l) {
|
|
@@ -87296,12 +87296,12 @@ let DM = class extends Tl {
|
|
|
87296
87296
|
}
|
|
87297
87297
|
};
|
|
87298
87298
|
DM = BC([
|
|
87299
|
-
|
|
87300
|
-
|
|
87301
|
-
|
|
87302
|
-
|
|
87303
|
-
|
|
87304
|
-
|
|
87299
|
+
Vs(2, yr),
|
|
87300
|
+
Vs(3, Zo),
|
|
87301
|
+
Vs(4, Kd),
|
|
87302
|
+
Vs(5, np),
|
|
87303
|
+
Vs(6, wn),
|
|
87304
|
+
Vs(7, um)
|
|
87305
87305
|
], DM);
|
|
87306
87306
|
let MM = class extends JAt {
|
|
87307
87307
|
constructor(e, t) {
|
|
@@ -87319,7 +87319,7 @@ let MM = class extends JAt {
|
|
|
87319
87319
|
}
|
|
87320
87320
|
};
|
|
87321
87321
|
MM = BC([
|
|
87322
|
-
|
|
87322
|
+
Vs(1, hm)
|
|
87323
87323
|
], MM);
|
|
87324
87324
|
function pvt(i, e, t) {
|
|
87325
87325
|
return e instanceof xd ? i.createInstance(Sw, e, t) : e instanceof tv ? e.item.isSelection ? i.createInstance(MM, e) : e.item.rememberDefaultAction ? i.createInstance(DM, e, { ...t, persistLastActionId: !0 }) : i.createInstance(SM, e, t) : void 0;
|
|
@@ -87572,7 +87572,7 @@ class Wg extends _0 {
|
|
|
87572
87572
|
ariaLabel: n.ariaLabel,
|
|
87573
87573
|
ariaRole: "menu",
|
|
87574
87574
|
focusOnlyEnabledItems: !0,
|
|
87575
|
-
triggerKeys: { keys: [3, ...Pt ||
|
|
87575
|
+
triggerKeys: { keys: [3, ...Pt || _s ? [
|
|
87576
87576
|
10
|
|
87577
87577
|
/* KeyCode.Space */
|
|
87578
87578
|
] : []], keyDown: !0 }
|
|
@@ -87591,7 +87591,7 @@ class Wg extends _0 {
|
|
|
87591
87591
|
f && f.container && (this.focusItemByElement(f.container), u.push(f)), this.mnemonics.set(d, u);
|
|
87592
87592
|
}
|
|
87593
87593
|
}
|
|
87594
|
-
})),
|
|
87594
|
+
})), _s && this._register(fe(s, Ee.KEY_DOWN, (c) => {
|
|
87595
87595
|
const d = new Rn(c);
|
|
87596
87596
|
d.equals(
|
|
87597
87597
|
14
|
|
@@ -88788,7 +88788,7 @@ class Evt {
|
|
|
88788
88788
|
this._modelEventListeners.dispose();
|
|
88789
88789
|
}
|
|
88790
88790
|
}
|
|
88791
|
-
const xvt =
|
|
88791
|
+
const xvt = _s || Pt ? 1 : 2;
|
|
88792
88792
|
class Svt {
|
|
88793
88793
|
constructor(e, t, n, r, s, o, a, l) {
|
|
88794
88794
|
this.uri = e, this.initialUndoRedoSnapshot = t, this.time = n, this.sharesUndoRedoStack = r, this.heapSize = s, this.sha1 = o, this.versionId = a, this.alternativeVersionId = l;
|
|
@@ -88980,7 +88980,7 @@ let c9 = Pp = class extends me {
|
|
|
88980
88980
|
};
|
|
88981
88981
|
c9.MAX_MEMORY_FOR_CLOSED_FILES_UNDO_STACK = 20 * 1024 * 1024;
|
|
88982
88982
|
c9 = Pp = _vt([
|
|
88983
|
-
nA(0,
|
|
88983
|
+
nA(0, fi),
|
|
88984
88984
|
nA(1, m_e),
|
|
88985
88985
|
nA(2, JT),
|
|
88986
88986
|
nA(3, rr),
|
|
@@ -89174,7 +89174,7 @@ class Oxe {
|
|
|
89174
89174
|
}
|
|
89175
89175
|
}
|
|
89176
89176
|
kvt([
|
|
89177
|
-
|
|
89177
|
+
pi
|
|
89178
89178
|
], Oxe.prototype, "toString", null);
|
|
89179
89179
|
const Nvt = /\[([^\]]+)\]\(((?:https?:\/\/|command:|file:)[^\)\s]+)(?: (["'])(.+?)(\3))?\)/gi;
|
|
89180
89180
|
function Tvt(i) {
|
|
@@ -89207,7 +89207,7 @@ function h9(i, e, t) {
|
|
|
89207
89207
|
};
|
|
89208
89208
|
}
|
|
89209
89209
|
function Vvt(i, e, t) {
|
|
89210
|
-
|
|
89210
|
+
Cs(e);
|
|
89211
89211
|
const n = Tvt(i);
|
|
89212
89212
|
let r = 0;
|
|
89213
89213
|
for (const s of n.nodes)
|
|
@@ -89349,7 +89349,7 @@ class r4 extends me {
|
|
|
89349
89349
|
const n = this.getTitle();
|
|
89350
89350
|
n && this.ui.title.textContent !== n ? this.ui.title.textContent = n : !n && this.ui.title.innerHTML !== " " && (this.ui.title.innerText = " ");
|
|
89351
89351
|
const r = this.getDescription();
|
|
89352
|
-
if (this.ui.description1.textContent !== r && (this.ui.description1.textContent = r), this.ui.description2.textContent !== r && (this.ui.description2.textContent = r), this._widgetUpdated && (this._widgetUpdated = !1, this._widget ?
|
|
89352
|
+
if (this.ui.description1.textContent !== r && (this.ui.description1.textContent = r), this.ui.description2.textContent !== r && (this.ui.description2.textContent = r), this._widgetUpdated && (this._widgetUpdated = !1, this._widget ? Cs(this.ui.widget, this._widget) : Cs(this.ui.widget)), this.busy && !this.busyDelay && (this.busyDelay = new P0(), this.busyDelay.setIfNotSet(() => {
|
|
89353
89353
|
this.visible && this.ui.progressBar.infinite();
|
|
89354
89354
|
}, 800)), !this.busy && this.busyDelay && (this.ui.progressBar.stop(), this.busyDelay.cancel(), this.busyDelay = void 0), this.buttonsUpdated) {
|
|
89355
89355
|
this.buttonsUpdated = !1, this.ui.leftActionBar.clear();
|
|
@@ -89365,7 +89365,7 @@ class r4 extends me {
|
|
|
89365
89365
|
}
|
|
89366
89366
|
this.ui.ignoreFocusOut = this.ignoreFocusOut, this.ui.setEnabled(this.enabled), this.ui.setContextKey(this.contextKey);
|
|
89367
89367
|
const s = this.validationMessage || this.noValidationMessage;
|
|
89368
|
-
this._lastValidationMessage !== s && (this._lastValidationMessage = s,
|
|
89368
|
+
this._lastValidationMessage !== s && (this._lastValidationMessage = s, Cs(this.ui.message), Vvt(s, this.ui.message, {
|
|
89369
89369
|
callback: (o) => {
|
|
89370
89370
|
this.ui.linkOpenerDelegate(o);
|
|
89371
89371
|
},
|
|
@@ -89695,7 +89695,7 @@ let Wvt = class extends r4 {
|
|
|
89695
89695
|
}
|
|
89696
89696
|
};
|
|
89697
89697
|
FM = Rvt([
|
|
89698
|
-
H3e(0,
|
|
89698
|
+
H3e(0, fi),
|
|
89699
89699
|
H3e(1, cp)
|
|
89700
89700
|
], FM);
|
|
89701
89701
|
pe.white.toString(), pe.white.toString();
|
|
@@ -89773,9 +89773,9 @@ let zM = class extends me {
|
|
|
89773
89773
|
const a = w7e(o, { ADD_TAGS: ["b", "i", "u", "code", "span"], ALLOWED_ATTR: ["class"], RETURN_TRUSTED_TYPE: !0 });
|
|
89774
89774
|
n.innerHTML = a;
|
|
89775
89775
|
} else
|
|
89776
|
-
|
|
89776
|
+
Cs(n);
|
|
89777
89777
|
} else
|
|
89778
|
-
this.options.supportIcons ?
|
|
89778
|
+
this.options.supportIcons ? Cs(n, ...this.getContentElements(e)) : n.textContent = e;
|
|
89779
89779
|
let r = "";
|
|
89780
89780
|
typeof this.options.title == "string" ? r = this.options.title : this.options.title && (r = W2t(e)), this.setTitle(r), typeof this.options.ariaLabel == "string" ? this._element.setAttribute("aria-label", this.options.ariaLabel) : this.options.ariaLabel && this._element.setAttribute("aria-label", r), this._label = e;
|
|
89781
89781
|
}
|
|
@@ -90522,7 +90522,7 @@ class twt {
|
|
|
90522
90522
|
return this._model;
|
|
90523
90523
|
}
|
|
90524
90524
|
set model(e) {
|
|
90525
|
-
this._model = e, this.list.splice(0, this.list.length,
|
|
90525
|
+
this._model = e, this.list.splice(0, this.list.length, Ls(e.length));
|
|
90526
90526
|
}
|
|
90527
90527
|
getFocus() {
|
|
90528
90528
|
return this.list.getFocus();
|
|
@@ -90570,10 +90570,10 @@ class yI {
|
|
|
90570
90570
|
}
|
|
90571
90571
|
}
|
|
90572
90572
|
gm([
|
|
90573
|
-
|
|
90573
|
+
pi
|
|
90574
90574
|
], yI.prototype, "onPointerMove", null);
|
|
90575
90575
|
gm([
|
|
90576
|
-
|
|
90576
|
+
pi
|
|
90577
90577
|
], yI.prototype, "onPointerUp", null);
|
|
90578
90578
|
class CI {
|
|
90579
90579
|
get onPointerMove() {
|
|
@@ -90590,10 +90590,10 @@ class CI {
|
|
|
90590
90590
|
}
|
|
90591
90591
|
}
|
|
90592
90592
|
gm([
|
|
90593
|
-
|
|
90593
|
+
pi
|
|
90594
90594
|
], CI.prototype, "onPointerMove", null);
|
|
90595
90595
|
gm([
|
|
90596
|
-
|
|
90596
|
+
pi
|
|
90597
90597
|
], CI.prototype, "onPointerUp", null);
|
|
90598
90598
|
class d9 {
|
|
90599
90599
|
get onPointerMove() {
|
|
@@ -90609,10 +90609,10 @@ class d9 {
|
|
|
90609
90609
|
}
|
|
90610
90610
|
}
|
|
90611
90611
|
gm([
|
|
90612
|
-
|
|
90612
|
+
pi
|
|
90613
90613
|
], d9.prototype, "onPointerMove", null);
|
|
90614
90614
|
gm([
|
|
90615
|
-
|
|
90615
|
+
pi
|
|
90616
90616
|
], d9.prototype, "onPointerUp", null);
|
|
90617
90617
|
const j3e = "pointer-events-disabled";
|
|
90618
90618
|
class Co extends me {
|
|
@@ -90794,7 +90794,7 @@ class jxe {
|
|
|
90794
90794
|
setVisible(e, t) {
|
|
90795
90795
|
var n, r;
|
|
90796
90796
|
if (e !== this.visible) {
|
|
90797
|
-
e ? (this.size =
|
|
90797
|
+
e ? (this.size = Ts(this._cachedVisibleSize, this.viewMinimumSize, this.viewMaximumSize), this._cachedVisibleSize = void 0) : (this._cachedVisibleSize = typeof t == "number" ? t : this.size, this.size = 0), this.container.classList.toggle("visible", e);
|
|
90798
90798
|
try {
|
|
90799
90799
|
(r = (n = this.view).setVisible) === null || r === void 0 || r.call(n, e);
|
|
90800
90800
|
} catch (s) {
|
|
@@ -90972,10 +90972,10 @@ class hwt extends me {
|
|
|
90972
90972
|
}
|
|
90973
90973
|
for (let s = 0; s < this.viewItems.length; s++) {
|
|
90974
90974
|
const o = this.viewItems[s], a = this.proportions[s];
|
|
90975
|
-
typeof a == "number" && r > 0 && (o.size =
|
|
90975
|
+
typeof a == "number" && r > 0 && (o.size = Ts(Math.round(a * e / r), o.minimumSize, o.maximumSize));
|
|
90976
90976
|
}
|
|
90977
90977
|
} else {
|
|
90978
|
-
const r =
|
|
90978
|
+
const r = Ls(this.viewItems.length), s = r.filter(
|
|
90979
90979
|
(a) => this.viewItems[a].priority === 1
|
|
90980
90980
|
/* LayoutPriority.Low */
|
|
90981
90981
|
), o = r.filter(
|
|
@@ -91005,7 +91005,7 @@ class hwt extends me {
|
|
|
91005
91005
|
}
|
|
91006
91006
|
let f, p;
|
|
91007
91007
|
if (!l) {
|
|
91008
|
-
const g =
|
|
91008
|
+
const g = Ls(r, -1), m = Ls(r + 1, this.viewItems.length), A = g.reduce((L, V) => L + (this.viewItems[V].minimumSize - c[V]), 0), v = g.reduce((L, V) => L + (this.viewItems[V].viewMaximumSize - c[V]), 0), w = m.length === 0 ? Number.POSITIVE_INFINITY : m.reduce((L, V) => L + (c[V] - this.viewItems[V].minimumSize), 0), b = m.length === 0 ? Number.NEGATIVE_INFINITY : m.reduce((L, V) => L + (c[V] - this.viewItems[V].viewMaximumSize), 0), _ = Math.max(A, b), x = Math.min(w, v), M = this.findFirstSnapIndex(g), D = this.findFirstSnapIndex(m);
|
|
91009
91009
|
if (typeof M == "number") {
|
|
91010
91010
|
const L = this.viewItems[M], V = Math.floor(L.viewMinimumSize / 2);
|
|
91011
91011
|
f = {
|
|
@@ -91044,7 +91044,7 @@ class hwt extends me {
|
|
|
91044
91044
|
}
|
|
91045
91045
|
onViewChange(e, t) {
|
|
91046
91046
|
const n = this.viewItems.indexOf(e);
|
|
91047
|
-
n < 0 || n >= this.viewItems.length || (t = typeof t == "number" ? t : e.size, t =
|
|
91047
|
+
n < 0 || n >= this.viewItems.length || (t = typeof t == "number" ? t : e.size, t = Ts(t, e.minimumSize, e.maximumSize), this.inverseAltBehavior && n > 0 ? (this.resize(n - 1, Math.floor((e.size - t) / 2)), this.distributeEmptySpace(), this.layoutViews()) : (e.size = t, this.relayout([n], void 0)));
|
|
91048
91048
|
}
|
|
91049
91049
|
/**
|
|
91050
91050
|
* Resize a {@link IView view} within the {@link SplitView}.
|
|
@@ -91058,14 +91058,14 @@ class hwt extends me {
|
|
|
91058
91058
|
throw new Error("Cant modify splitview");
|
|
91059
91059
|
this.state = Gh.Busy;
|
|
91060
91060
|
try {
|
|
91061
|
-
const n =
|
|
91061
|
+
const n = Ls(this.viewItems.length).filter((a) => a !== e), r = [...n.filter(
|
|
91062
91062
|
(a) => this.viewItems[a].priority === 1
|
|
91063
91063
|
/* LayoutPriority.Low */
|
|
91064
91064
|
), e], s = n.filter(
|
|
91065
91065
|
(a) => this.viewItems[a].priority === 2
|
|
91066
91066
|
/* LayoutPriority.High */
|
|
91067
91067
|
), o = this.viewItems[e];
|
|
91068
|
-
t = Math.round(t), t =
|
|
91068
|
+
t = Math.round(t), t = Ts(t, o.minimumSize, Math.min(o.maximumSize, this.size)), o.size = t, this.relayout(r, s);
|
|
91069
91069
|
} finally {
|
|
91070
91070
|
this.state = Gh.Idle;
|
|
91071
91071
|
}
|
|
@@ -91081,8 +91081,8 @@ class hwt extends me {
|
|
|
91081
91081
|
a.maximumSize - a.minimumSize > 0 && (e.push(a), t += a.size);
|
|
91082
91082
|
const n = Math.floor(t / e.length);
|
|
91083
91083
|
for (const a of e)
|
|
91084
|
-
a.size =
|
|
91085
|
-
const r =
|
|
91084
|
+
a.size = Ts(n, a.minimumSize, a.maximumSize);
|
|
91085
|
+
const r = Ls(this.viewItems.length), s = r.filter(
|
|
91086
91086
|
(a) => this.viewItems[a].priority === 1
|
|
91087
91087
|
/* LayoutPriority.Low */
|
|
91088
91088
|
), o = r.filter(
|
|
@@ -91118,7 +91118,7 @@ class hwt extends me {
|
|
|
91118
91118
|
orientation: 0
|
|
91119
91119
|
/* Orientation.VERTICAL */
|
|
91120
91120
|
}), g = this.orientation === 0 ? (L) => ({ sash: p, start: L.startY, current: L.currentY, alt: L.altKey }) : (L) => ({ sash: p, start: L.startX, current: L.currentX, alt: L.altKey }), A = xe.map(p.onDidStart, g)(this.onSashStart, this), w = xe.map(p.onDidChange, g)(this.onSashChange, this), _ = xe.map(p.onDidEnd, () => this.sashItems.findIndex((L) => L.sash === p))(this.onSashEnd, this), x = p.onDidReset(() => {
|
|
91121
|
-
const L = this.sashItems.findIndex((I) => I.sash === p), V =
|
|
91121
|
+
const L = this.sashItems.findIndex((I) => I.sash === p), V = Ls(L, -1), H = Ls(L + 1, this.viewItems.length), R = this.findFirstSnapIndex(V), k = this.findFirstSnapIndex(H);
|
|
91122
91122
|
typeof R == "number" && !this.viewItems[R].visible || typeof k == "number" && !this.viewItems[k].visible || this._onDidSashReset.fire(L);
|
|
91123
91123
|
}), M = oh(A, w, _, x, p), D = { sash: p, disposable: M };
|
|
91124
91124
|
this.sashItems.splice(n - 1, 0, D);
|
|
@@ -91137,7 +91137,7 @@ class hwt extends me {
|
|
|
91137
91137
|
resize(e, t, n = this.viewItems.map((d) => d.size), r, s, o = Number.NEGATIVE_INFINITY, a = Number.POSITIVE_INFINITY, l, c) {
|
|
91138
91138
|
if (e < 0 || e >= this.viewItems.length)
|
|
91139
91139
|
return 0;
|
|
91140
|
-
const d =
|
|
91140
|
+
const d = Ls(e, -1), u = Ls(e + 1, this.viewItems.length);
|
|
91141
91141
|
if (s)
|
|
91142
91142
|
for (const D of s)
|
|
91143
91143
|
s_(d, D), s_(u, D);
|
|
@@ -91156,13 +91156,13 @@ class hwt extends me {
|
|
|
91156
91156
|
}
|
|
91157
91157
|
if (M)
|
|
91158
91158
|
return this.resize(e, t, n, r, s, o, a);
|
|
91159
|
-
t =
|
|
91159
|
+
t = Ts(t, _, x);
|
|
91160
91160
|
for (let D = 0, L = t; D < f.length; D++) {
|
|
91161
|
-
const V = f[D], H =
|
|
91161
|
+
const V = f[D], H = Ts(p[D] + L, V.minimumSize, V.maximumSize), R = H - p[D];
|
|
91162
91162
|
L -= R, V.size = H;
|
|
91163
91163
|
}
|
|
91164
91164
|
for (let D = 0, L = t; D < g.length; D++) {
|
|
91165
|
-
const V = g[D], H =
|
|
91165
|
+
const V = g[D], H = Ts(m[D] - L, V.minimumSize, V.maximumSize), R = H - m[D];
|
|
91166
91166
|
L += R, V.size = H;
|
|
91167
91167
|
}
|
|
91168
91168
|
return t;
|
|
@@ -91170,7 +91170,7 @@ class hwt extends me {
|
|
|
91170
91170
|
distributeEmptySpace(e) {
|
|
91171
91171
|
const t = this.viewItems.reduce((a, l) => a + l.size, 0);
|
|
91172
91172
|
let n = this.size - t;
|
|
91173
|
-
const r =
|
|
91173
|
+
const r = Ls(this.viewItems.length - 1, -1), s = r.filter(
|
|
91174
91174
|
(a) => this.viewItems[a].priority === 1
|
|
91175
91175
|
/* LayoutPriority.Low */
|
|
91176
91176
|
), o = r.filter(
|
|
@@ -91183,7 +91183,7 @@ class hwt extends me {
|
|
|
91183
91183
|
B4(r, a);
|
|
91184
91184
|
typeof e == "number" && B4(r, e);
|
|
91185
91185
|
for (let a = 0; n !== 0 && a < r.length; a++) {
|
|
91186
|
-
const l = this.viewItems[r[a]], c =
|
|
91186
|
+
const l = this.viewItems[r[a]], c = Ts(l.size + n, l.minimumSize, l.maximumSize), d = c - l.size;
|
|
91187
91187
|
n -= d, l.size = c;
|
|
91188
91188
|
}
|
|
91189
91189
|
}
|
|
@@ -91218,7 +91218,7 @@ class hwt extends me {
|
|
|
91218
91218
|
a += d.size;
|
|
91219
91219
|
const u = !(t[l] && o[l + 1]), f = !(n[l] && s[l + 1]);
|
|
91220
91220
|
if (u && f) {
|
|
91221
|
-
const p =
|
|
91221
|
+
const p = Ls(l, -1), g = Ls(l + 1, this.viewItems.length), m = this.findFirstSnapIndex(p), A = this.findFirstSnapIndex(g), v = typeof m == "number" && !this.viewItems[m].visible, w = typeof A == "number" && !this.viewItems[A].visible;
|
|
91222
91222
|
v && s[l] && (a > 0 || this.startSnappingEnabled) ? c.state = 1 : w && t[l] && (a < this._contentSize || this.endSnappingEnabled) ? c.state = 2 : c.state = 0;
|
|
91223
91223
|
} else u && !f ? c.state = 1 : !u && f ? c.state = 2 : c.state = 3;
|
|
91224
91224
|
}
|
|
@@ -91785,7 +91785,7 @@ class gwt {
|
|
|
91785
91785
|
return this.onDragOver(e, A, v, r, s, !1);
|
|
91786
91786
|
}
|
|
91787
91787
|
const c = this.modelProvider(), d = c.getNodeLocation(t), u = c.getListIndex(d), f = c.getListRenderCount(d);
|
|
91788
|
-
return { ...a, feedback:
|
|
91788
|
+
return { ...a, feedback: Ls(u, u + f) };
|
|
91789
91789
|
}
|
|
91790
91790
|
drop(e, t, n, r, s) {
|
|
91791
91791
|
this.autoExpandDisposable.dispose(), this.autoExpandNode = void 0, this.dnd.drop(_E(e), t && t.element, n, r, s);
|
|
@@ -91884,7 +91884,7 @@ class Lw {
|
|
|
91884
91884
|
}
|
|
91885
91885
|
updateOptions(e = {}) {
|
|
91886
91886
|
if (typeof e.indent < "u") {
|
|
91887
|
-
const t =
|
|
91887
|
+
const t = Ts(e.indent, 0, 40);
|
|
91888
91888
|
if (t !== this.indent) {
|
|
91889
91889
|
this.indent = t;
|
|
91890
91890
|
for (const [n, r] of this.renderedNodes)
|
|
@@ -92372,7 +92372,7 @@ class Ewt extends me {
|
|
|
92372
92372
|
throw new Error("Sticky scroll focus received illigel state");
|
|
92373
92373
|
const n = this.focusedIndex;
|
|
92374
92374
|
if (this.removeFocus(), this.elements = e, this.state = t, t) {
|
|
92375
|
-
const r =
|
|
92375
|
+
const r = Ts(n, 0, t.count - 1);
|
|
92376
92376
|
this.setFocus(r);
|
|
92377
92377
|
} else
|
|
92378
92378
|
this.domHasFocus && this.view.domFocus();
|
|
@@ -93391,7 +93391,7 @@ class Kxe {
|
|
|
93391
93391
|
}
|
|
93392
93392
|
}
|
|
93393
93393
|
Owt([
|
|
93394
|
-
|
|
93394
|
+
pi
|
|
93395
93395
|
], Kxe.prototype, "compressedTreeNodeProvider", null);
|
|
93396
93396
|
class Vwt {
|
|
93397
93397
|
constructor(e) {
|
|
@@ -94091,7 +94091,7 @@ class Uwt extends Gxe {
|
|
|
94091
94091
|
}
|
|
94092
94092
|
}
|
|
94093
94093
|
new Ie("isMac", Pt, y("isMac", "Whether the operating system is macOS"));
|
|
94094
|
-
new Ie("isLinux",
|
|
94094
|
+
new Ie("isLinux", _s, y("isLinux", "Whether the operating system is Linux"));
|
|
94095
94095
|
new Ie("isWindows", zs, y("isWindows", "Whether the operating system is Windows"));
|
|
94096
94096
|
new Ie("isWeb", nm, y("isWeb", "Whether the platform is a web browser"));
|
|
94097
94097
|
new Ie("isMacNative", Pt && !nm, y("isMacNative", "Whether the operating system is macOS on a non-browser platform"));
|
|
@@ -94173,7 +94173,7 @@ class e3t extends me {
|
|
|
94173
94173
|
}
|
|
94174
94174
|
function UC(i, e) {
|
|
94175
94175
|
var t;
|
|
94176
|
-
const n = i.get(
|
|
94176
|
+
const n = i.get(fi), r = i.get(yr), s = new He();
|
|
94177
94177
|
return [{
|
|
94178
94178
|
...e,
|
|
94179
94179
|
keyboardNavigationDelegate: { mightProducePrintableCharacter(a) {
|
|
@@ -94238,7 +94238,7 @@ let K3e = class extends fc {
|
|
|
94238
94238
|
K3e = Xd([
|
|
94239
94239
|
Dn(5, $t),
|
|
94240
94240
|
Dn(6, Mh),
|
|
94241
|
-
Dn(7,
|
|
94241
|
+
Dn(7, fi),
|
|
94242
94242
|
Dn(8, wn)
|
|
94243
94243
|
], K3e);
|
|
94244
94244
|
let Y3e = class extends twt {
|
|
@@ -94287,7 +94287,7 @@ let Y3e = class extends twt {
|
|
|
94287
94287
|
Y3e = Xd([
|
|
94288
94288
|
Dn(5, $t),
|
|
94289
94289
|
Dn(6, Mh),
|
|
94290
|
-
Dn(7,
|
|
94290
|
+
Dn(7, fi),
|
|
94291
94291
|
Dn(8, wn)
|
|
94292
94292
|
], Y3e);
|
|
94293
94293
|
let X3e = class extends Zxe {
|
|
@@ -94344,7 +94344,7 @@ let X3e = class extends Zxe {
|
|
|
94344
94344
|
X3e = Xd([
|
|
94345
94345
|
Dn(6, $t),
|
|
94346
94346
|
Dn(7, Mh),
|
|
94347
|
-
Dn(8,
|
|
94347
|
+
Dn(8, fi),
|
|
94348
94348
|
Dn(9, wn)
|
|
94349
94349
|
], X3e);
|
|
94350
94350
|
class HI extends me {
|
|
@@ -94437,7 +94437,7 @@ UM = Xd([
|
|
|
94437
94437
|
Dn(5, wn),
|
|
94438
94438
|
Dn(6, $t),
|
|
94439
94439
|
Dn(7, Mh),
|
|
94440
|
-
Dn(8,
|
|
94440
|
+
Dn(8, fi)
|
|
94441
94441
|
], UM);
|
|
94442
94442
|
let J3e = class extends Yxe {
|
|
94443
94443
|
constructor(e, t, n, r, s, o, a, l, c) {
|
|
@@ -94452,7 +94452,7 @@ J3e = Xd([
|
|
|
94452
94452
|
Dn(5, wn),
|
|
94453
94453
|
Dn(6, $t),
|
|
94454
94454
|
Dn(7, Mh),
|
|
94455
|
-
Dn(8,
|
|
94455
|
+
Dn(8, fi)
|
|
94456
94456
|
], J3e);
|
|
94457
94457
|
let $3e = class extends Uwt {
|
|
94458
94458
|
constructor(e, t, n, r, s, o, a, l, c, d) {
|
|
@@ -94467,7 +94467,7 @@ $3e = Xd([
|
|
|
94467
94467
|
Dn(6, wn),
|
|
94468
94468
|
Dn(7, $t),
|
|
94469
94469
|
Dn(8, Mh),
|
|
94470
|
-
Dn(9,
|
|
94470
|
+
Dn(9, fi)
|
|
94471
94471
|
], $3e);
|
|
94472
94472
|
let e4e = class extends Jxe {
|
|
94473
94473
|
get onDidOpen() {
|
|
@@ -94485,7 +94485,7 @@ e4e = Xd([
|
|
|
94485
94485
|
Dn(6, wn),
|
|
94486
94486
|
Dn(7, $t),
|
|
94487
94487
|
Dn(8, Mh),
|
|
94488
|
-
Dn(9,
|
|
94488
|
+
Dn(9, fi)
|
|
94489
94489
|
], e4e);
|
|
94490
94490
|
let t4e = class extends jwt {
|
|
94491
94491
|
constructor(e, t, n, r, s, o, a, l, c, d, u) {
|
|
@@ -94500,7 +94500,7 @@ t4e = Xd([
|
|
|
94500
94500
|
Dn(7, wn),
|
|
94501
94501
|
Dn(8, $t),
|
|
94502
94502
|
Dn(9, Mh),
|
|
94503
|
-
Dn(10,
|
|
94503
|
+
Dn(10, fi)
|
|
94504
94504
|
], t4e);
|
|
94505
94505
|
function sSe(i) {
|
|
94506
94506
|
const e = i.getValue(OI);
|
|
@@ -94523,7 +94523,7 @@ function oSe(i) {
|
|
|
94523
94523
|
}
|
|
94524
94524
|
function o4(i, e) {
|
|
94525
94525
|
var t;
|
|
94526
|
-
const n = i.get(
|
|
94526
|
+
const n = i.get(fi), r = i.get(hm), s = i.get($t), o = i.get(wn), a = () => {
|
|
94527
94527
|
const p = s.getContextKeyValue(nSe);
|
|
94528
94528
|
if (p === "automatic")
|
|
94529
94529
|
return Uc.Automatic;
|
|
@@ -94649,7 +94649,7 @@ let Nf = class {
|
|
|
94649
94649
|
Nf = Xd([
|
|
94650
94650
|
Dn(4, $t),
|
|
94651
94651
|
Dn(5, Mh),
|
|
94652
|
-
Dn(6,
|
|
94652
|
+
Dn(6, fi)
|
|
94653
94653
|
], Nf);
|
|
94654
94654
|
const r3t = br.as(sp.Configuration);
|
|
94655
94655
|
r3t.registerConfiguration({
|
|
@@ -94825,7 +94825,7 @@ class af extends me {
|
|
|
94825
94825
|
const a = this.text.substring(o);
|
|
94826
94826
|
this.supportIcons ? s.push(...sf(a)) : s.push(a);
|
|
94827
94827
|
}
|
|
94828
|
-
if (
|
|
94828
|
+
if (Cs(this.domNode, ...s), !((t = (e = this.options) === null || e === void 0 ? void 0 : e.hoverDelegate) === null || t === void 0) && t.showNativeHover)
|
|
94829
94829
|
this.domNode.title = this.title;
|
|
94830
94830
|
else if (!this.customHover && this.title !== "") {
|
|
94831
94831
|
const a = (r = (n = this.options) === null || n === void 0 ? void 0 : n.hoverDelegate) !== null && r !== void 0 ? r : fo("mouse");
|
|
@@ -95846,10 +95846,10 @@ let Iw = class extends me {
|
|
|
95846
95846
|
}
|
|
95847
95847
|
};
|
|
95848
95848
|
qC([
|
|
95849
|
-
|
|
95849
|
+
pi
|
|
95850
95850
|
], Iw.prototype, "onDidChangeFocus", null);
|
|
95851
95851
|
qC([
|
|
95852
|
-
|
|
95852
|
+
pi
|
|
95853
95853
|
], Iw.prototype, "onDidChangeSelection", null);
|
|
95854
95854
|
Iw = qC([
|
|
95855
95855
|
qM(4, wn),
|
|
@@ -96212,7 +96212,7 @@ let v9 = QM = class extends me {
|
|
|
96212
96212
|
const t = this.getUI(!0);
|
|
96213
96213
|
this.onShowEmitter.fire();
|
|
96214
96214
|
const n = this.controller;
|
|
96215
|
-
this.controller = e, n?.didHide(), this.setEnabled(!0), t.leftActionBar.clear(), t.title.textContent = "", t.description1.textContent = "", t.description2.textContent = "",
|
|
96215
|
+
this.controller = e, n?.didHide(), this.setEnabled(!0), t.leftActionBar.clear(), t.title.textContent = "", t.description1.textContent = "", t.description2.textContent = "", Cs(t.widget), t.rightActionBar.clear(), t.checkAll.checked = !1, t.inputBox.placeholder = "", t.inputBox.password = !1, t.inputBox.showDecoration(Ri.Ignore), t.visibleCount.setCount(0), t.count.setCount(0), Cs(t.message), t.progressBar.stop(), t.list.setElements([]), t.list.matchOnDescription = !1, t.list.matchOnDetail = !1, t.list.matchOnLabel = !0, t.list.sortByLabel = !0, t.ignoreFocusOut = !1, t.inputBox.toggles = void 0;
|
|
96216
96216
|
const r = this.options.backKeybindingLabel();
|
|
96217
96217
|
PM.tooltip = r ? y("quickInput.backWithKeybinding", "Back ({0})", r) : y("quickInput.back", "Back"), t.container.style.display = "", this.updateLayout(), t.inputBox.setFocus(), this.quickInputTypeContext.set(e.type);
|
|
96218
96218
|
}
|
|
@@ -96379,8 +96379,8 @@ let KM = class extends Out {
|
|
|
96379
96379
|
listInactiveFocusForeground: VD,
|
|
96380
96380
|
listInactiveSelectionIconForeground: R_e,
|
|
96381
96381
|
listInactiveFocusBackground: RD,
|
|
96382
|
-
listFocusOutline:
|
|
96383
|
-
listInactiveFocusOutline:
|
|
96382
|
+
listFocusOutline: bi,
|
|
96383
|
+
listInactiveFocusOutline: bi
|
|
96384
96384
|
}),
|
|
96385
96385
|
pickerGroup: {
|
|
96386
96386
|
pickerGroupBorder: De(qdt),
|
|
@@ -96394,7 +96394,7 @@ KM = A3t([
|
|
|
96394
96394
|
sA(1, $t),
|
|
96395
96395
|
sA(2, Sa),
|
|
96396
96396
|
sA(3, W0),
|
|
96397
|
-
sA(4,
|
|
96397
|
+
sA(4, fi)
|
|
96398
96398
|
], KM);
|
|
96399
96399
|
var hSe = function(i, e, t, n) {
|
|
96400
96400
|
var r = arguments.length, s = r < 3 ? e : n === null ? n = Object.getOwnPropertyDescriptor(e, t) : n, o;
|
|
@@ -96469,7 +96469,7 @@ YM = hSe([
|
|
|
96469
96469
|
N1(2, $t),
|
|
96470
96470
|
N1(3, Sa),
|
|
96471
96471
|
N1(4, Ui),
|
|
96472
|
-
N1(5,
|
|
96472
|
+
N1(5, fi)
|
|
96473
96473
|
], YM);
|
|
96474
96474
|
let XM = class {
|
|
96475
96475
|
get activeService() {
|
|
@@ -97268,7 +97268,7 @@ ${this._themeCSS}`, this._globalStyleElement = null, this._styleElements = [], t
|
|
|
97268
97268
|
`)} }`);
|
|
97269
97269
|
const s = this._colorMapOverride || this._theme.tokenTheme.getColorMap();
|
|
97270
97270
|
n.addRule(S3t(s)), this._themeCSS = e.join(`
|
|
97271
|
-
`), this._updateCSS(),
|
|
97271
|
+
`), this._updateCSS(), yi.setColorMap(s), this._onColorThemeChange.fire(this._theme);
|
|
97272
97272
|
}
|
|
97273
97273
|
_updateCSS() {
|
|
97274
97274
|
this._allCSS = `${this._codiconCSS}
|
|
@@ -97337,7 +97337,7 @@ let $M = class extends me {
|
|
|
97337
97337
|
$M = B3t([
|
|
97338
97338
|
ME(0, $t),
|
|
97339
97339
|
ME(1, W0),
|
|
97340
|
-
ME(2,
|
|
97340
|
+
ME(2, fi)
|
|
97341
97341
|
], $M);
|
|
97342
97342
|
var QC = function(i, e, t, n) {
|
|
97343
97343
|
var r = arguments.length, s = r < 3 ? e : n === null ? n = Object.getOwnPropertyDescriptor(e, t) : n, o;
|
|
@@ -97914,7 +97914,7 @@ let rL = class extends wSe {
|
|
|
97914
97914
|
}
|
|
97915
97915
|
};
|
|
97916
97916
|
rL = z3t([
|
|
97917
|
-
W3t(0,
|
|
97917
|
+
W3t(0, fi)
|
|
97918
97918
|
], rL);
|
|
97919
97919
|
class q3t extends wSe {
|
|
97920
97920
|
constructor(e, t) {
|
|
@@ -98085,7 +98085,7 @@ class y9 {
|
|
|
98085
98085
|
}
|
|
98086
98086
|
invokeFunction(e, ...t) {
|
|
98087
98087
|
this._throwIfDisposed();
|
|
98088
|
-
const n =
|
|
98088
|
+
const n = Is.traceInvocation(this._enableTracing, e);
|
|
98089
98089
|
let r = !1;
|
|
98090
98090
|
try {
|
|
98091
98091
|
return e({
|
|
@@ -98105,7 +98105,7 @@ class y9 {
|
|
|
98105
98105
|
createInstance(e, ...t) {
|
|
98106
98106
|
this._throwIfDisposed();
|
|
98107
98107
|
let n, r;
|
|
98108
|
-
return e instanceof Bc ? (n =
|
|
98108
|
+
return e instanceof Bc ? (n = Is.traceCreation(this._enableTracing, e.ctor), r = this._createInstance(e.ctor, e.staticArguments.concat(t), n)) : (n = Is.traceCreation(this._enableTracing, e), r = this._createInstance(e, t, n)), n.stop(), r;
|
|
98109
98109
|
}
|
|
98110
98110
|
_createInstance(e, t = [], n) {
|
|
98111
98111
|
const r = Pl.getServiceDependencies(e).sort((a, l) => a.index - l.index), s = [];
|
|
@@ -98242,25 +98242,25 @@ class y9 {
|
|
|
98242
98242
|
throw new Error(e);
|
|
98243
98243
|
}
|
|
98244
98244
|
}
|
|
98245
|
-
class
|
|
98245
|
+
class Is {
|
|
98246
98246
|
static traceInvocation(e, t) {
|
|
98247
|
-
return e ? new
|
|
98247
|
+
return e ? new Is(2, t.name || new Error().stack.split(`
|
|
98248
98248
|
`).slice(3, 4).join(`
|
|
98249
|
-
`)) :
|
|
98249
|
+
`)) : Is._None;
|
|
98250
98250
|
}
|
|
98251
98251
|
static traceCreation(e, t) {
|
|
98252
|
-
return e ? new
|
|
98252
|
+
return e ? new Is(1, t.name) : Is._None;
|
|
98253
98253
|
}
|
|
98254
98254
|
constructor(e, t) {
|
|
98255
98255
|
this.type = e, this.name = t, this._start = Date.now(), this._dep = [];
|
|
98256
98256
|
}
|
|
98257
98257
|
branch(e, t) {
|
|
98258
|
-
const n = new
|
|
98258
|
+
const n = new Is(3, e.toString());
|
|
98259
98259
|
return this._dep.push([e, t, n]), n;
|
|
98260
98260
|
}
|
|
98261
98261
|
stop() {
|
|
98262
98262
|
const e = Date.now() - this._start;
|
|
98263
|
-
|
|
98263
|
+
Is._totals += e;
|
|
98264
98264
|
let t = !1;
|
|
98265
98265
|
function n(s, o) {
|
|
98266
98266
|
const a = [], l = new Array(s + 1).join(" ");
|
|
@@ -98277,14 +98277,14 @@ class Ts {
|
|
|
98277
98277
|
const r = [
|
|
98278
98278
|
`${this.type === 1 ? "CREATE" : "CALL"} ${this.name}`,
|
|
98279
98279
|
`${n(1, this)}`,
|
|
98280
|
-
`DONE, took ${e.toFixed(2)}ms (grand total ${
|
|
98280
|
+
`DONE, took ${e.toFixed(2)}ms (grand total ${Is._totals.toFixed(2)}ms)`
|
|
98281
98281
|
];
|
|
98282
|
-
(e > 2 || t) &&
|
|
98282
|
+
(e > 2 || t) && Is.all.add(r.join(`
|
|
98283
98283
|
`));
|
|
98284
98284
|
}
|
|
98285
98285
|
}
|
|
98286
|
-
|
|
98287
|
-
|
|
98286
|
+
Is.all = /* @__PURE__ */ new Set();
|
|
98287
|
+
Is._None = new class extends Is {
|
|
98288
98288
|
constructor() {
|
|
98289
98289
|
super(0, null);
|
|
98290
98290
|
}
|
|
@@ -98294,7 +98294,7 @@ Ts._None = new class extends Ts {
|
|
|
98294
98294
|
return this;
|
|
98295
98295
|
}
|
|
98296
98296
|
}();
|
|
98297
|
-
|
|
98297
|
+
Is._totals = 0;
|
|
98298
98298
|
const J3t = /* @__PURE__ */ new Set([
|
|
98299
98299
|
yt.inMemory,
|
|
98300
98300
|
yt.vscodeSourceControl,
|
|
@@ -99103,7 +99103,7 @@ let aL = class {
|
|
|
99103
99103
|
}
|
|
99104
99104
|
};
|
|
99105
99105
|
aL = Jd([
|
|
99106
|
-
Ji(0,
|
|
99106
|
+
Ji(0, fi),
|
|
99107
99107
|
Ji(1, Wo),
|
|
99108
99108
|
Ji(2, rr)
|
|
99109
99109
|
], aL);
|
|
@@ -99113,13 +99113,13 @@ let lL = class {
|
|
|
99113
99113
|
}
|
|
99114
99114
|
getEOL(e, t) {
|
|
99115
99115
|
const n = this.configurationService.getValue("files.eol", { overrideIdentifier: t, resource: e });
|
|
99116
|
-
return n && typeof n == "string" && n !== "auto" ? n :
|
|
99116
|
+
return n && typeof n == "string" && n !== "auto" ? n : _s || Pt ? `
|
|
99117
99117
|
` : `\r
|
|
99118
99118
|
`;
|
|
99119
99119
|
}
|
|
99120
99120
|
};
|
|
99121
99121
|
lL = Jd([
|
|
99122
|
-
Ji(0,
|
|
99122
|
+
Ji(0, fi)
|
|
99123
99123
|
], lL);
|
|
99124
99124
|
class d4t {
|
|
99125
99125
|
publicLog2() {
|
|
@@ -99244,7 +99244,7 @@ Yt(
|
|
|
99244
99244
|
/* InstantiationType.Eager */
|
|
99245
99245
|
);
|
|
99246
99246
|
Yt(
|
|
99247
|
-
|
|
99247
|
+
fi,
|
|
99248
99248
|
C9,
|
|
99249
99249
|
0
|
|
99250
99250
|
/* InstantiationType.Eager */
|
|
@@ -99949,10 +99949,10 @@ let fL = class extends me {
|
|
|
99949
99949
|
const a = document.createElement("div");
|
|
99950
99950
|
a.className = "diff-review-actions", this._actionBar = this._register(new _0(a)), this._register(hn((l) => {
|
|
99951
99951
|
this._actionBar.clear(), this._model.canClose.read(l) && this._actionBar.push(new Ed("diffreview.close", y("label.close", "Close"), "close-diff-review " + Tt.asClassName(S4t), !0, async () => t.close()), { label: !1, icon: !0 });
|
|
99952
|
-
})), this._content = document.createElement("div"), this._content.className = "diff-review-content", this._content.setAttribute("role", "code"), this._scrollbar = this._register(new VT(this._content, {})),
|
|
99952
|
+
})), this._content = document.createElement("div"), this._content.className = "diff-review-content", this._content.setAttribute("role", "code"), this._scrollbar = this._register(new VT(this._content, {})), Cs(this.domNode, this._scrollbar.getDomNode(), a), this._register(hn((l) => {
|
|
99953
99953
|
this._height.read(l), this._width.read(l), this._scrollbar.scanDomNode();
|
|
99954
99954
|
})), this._register(ft(() => {
|
|
99955
|
-
|
|
99955
|
+
Cs(this.domNode);
|
|
99956
99956
|
})), this._register(E0(this.domNode, { width: this._width, height: this._height })), this._register(E0(this._content, { width: this._width, height: this._height })), this._register(ph((l, c) => {
|
|
99957
99957
|
this._model.currentGroup.read(l), this._render(c);
|
|
99958
99958
|
})), this._register(ir(this.domNode, "keydown", (l) => {
|
|
@@ -100000,7 +100000,7 @@ let fL = class extends me {
|
|
|
100000
100000
|
r.className = "diff-review-table", r.setAttribute("role", "list"), r.setAttribute("aria-label", y("ariaLabel", "Accessible Diff Viewer. Use arrow up and down to navigate.")), Hr(r, n.get(
|
|
100001
100001
|
50
|
|
100002
100002
|
/* EditorOption.fontInfo */
|
|
100003
|
-
)),
|
|
100003
|
+
)), Cs(this._content, r);
|
|
100004
100004
|
const s = this._models.getOriginalModel(), o = this._models.getModifiedModel();
|
|
100005
100005
|
if (!s || !o)
|
|
100006
100006
|
return;
|
|
@@ -100297,48 +100297,48 @@ class v4e extends CSe {
|
|
|
100297
100297
|
Z("diffEditor.move.border", { dark: "#8b8b8b9c", light: "#8b8b8b9c", hcDark: "#8b8b8b9c", hcLight: "#8b8b8b9c" }, y("diffEditor.move.border", "The border color for text that got moved in the diff editor."));
|
|
100298
100298
|
Z("diffEditor.moveActive.border", { dark: "#FFA500", light: "#FFA500", hcDark: "#FFA500", hcLight: "#FFA500" }, y("diffEditor.moveActive.border", "The active border color for text that got moved in the diff editor."));
|
|
100299
100299
|
Z("diffEditor.unchangedRegionShadow", { dark: "#000000", light: "#737373BF", hcDark: "#000000", hcLight: "#737373BF" }, y("diffEditor.unchangedRegionShadow", "The color of the shadow around unchanged region widgets."));
|
|
100300
|
-
const O4t = po("diff-insert", Le.add, y("diffInsertIcon", "Line decoration for inserts in the diff editor.")), _Se = po("diff-remove", Le.remove, y("diffRemoveIcon", "Line decoration for removals in the diff editor.")), w4e =
|
|
100300
|
+
const O4t = po("diff-insert", Le.add, y("diffInsertIcon", "Line decoration for inserts in the diff editor.")), _Se = po("diff-remove", Le.remove, y("diffRemoveIcon", "Line decoration for removals in the diff editor.")), w4e = li.register({
|
|
100301
100301
|
className: "line-insert",
|
|
100302
100302
|
description: "line-insert",
|
|
100303
100303
|
isWholeLine: !0,
|
|
100304
100304
|
linesDecorationsClassName: "insert-sign " + Tt.asClassName(O4t),
|
|
100305
100305
|
marginClassName: "gutter-insert"
|
|
100306
|
-
}), b4e =
|
|
100306
|
+
}), b4e = li.register({
|
|
100307
100307
|
className: "line-delete",
|
|
100308
100308
|
description: "line-delete",
|
|
100309
100309
|
isWholeLine: !0,
|
|
100310
100310
|
linesDecorationsClassName: "delete-sign " + Tt.asClassName(_Se),
|
|
100311
100311
|
marginClassName: "gutter-delete"
|
|
100312
|
-
}), y4e =
|
|
100312
|
+
}), y4e = li.register({
|
|
100313
100313
|
className: "line-insert",
|
|
100314
100314
|
description: "line-insert",
|
|
100315
100315
|
isWholeLine: !0,
|
|
100316
100316
|
marginClassName: "gutter-insert"
|
|
100317
|
-
}), C4e =
|
|
100317
|
+
}), C4e = li.register({
|
|
100318
100318
|
className: "line-delete",
|
|
100319
100319
|
description: "line-delete",
|
|
100320
100320
|
isWholeLine: !0,
|
|
100321
100321
|
marginClassName: "gutter-delete"
|
|
100322
|
-
}), _4e =
|
|
100322
|
+
}), _4e = li.register({
|
|
100323
100323
|
className: "char-insert",
|
|
100324
100324
|
description: "char-insert",
|
|
100325
100325
|
shouldFillLineOnLineBreak: !0
|
|
100326
|
-
}), V4t =
|
|
100326
|
+
}), V4t = li.register({
|
|
100327
100327
|
className: "char-insert",
|
|
100328
100328
|
description: "char-insert",
|
|
100329
100329
|
isWholeLine: !0
|
|
100330
|
-
}), R4t =
|
|
100330
|
+
}), R4t = li.register({
|
|
100331
100331
|
className: "char-insert diff-range-empty",
|
|
100332
100332
|
description: "char-insert diff-range-empty"
|
|
100333
|
-
}), pL =
|
|
100333
|
+
}), pL = li.register({
|
|
100334
100334
|
className: "char-delete",
|
|
100335
100335
|
description: "char-delete",
|
|
100336
100336
|
shouldFillLineOnLineBreak: !0
|
|
100337
|
-
}), H4t =
|
|
100337
|
+
}), H4t = li.register({
|
|
100338
100338
|
className: "char-delete",
|
|
100339
100339
|
description: "char-delete",
|
|
100340
100340
|
isWholeLine: !0
|
|
100341
|
-
}), B4t =
|
|
100341
|
+
}), B4t = li.register({
|
|
100342
100342
|
className: "char-delete diff-range-empty",
|
|
100343
100343
|
description: "char-delete diff-range-empty"
|
|
100344
100344
|
});
|
|
@@ -101337,7 +101337,7 @@ class K4t extends me {
|
|
|
101337
101337
|
)));
|
|
101338
101338
|
}
|
|
101339
101339
|
dispose() {
|
|
101340
|
-
super.dispose(),
|
|
101340
|
+
super.dispose(), Cs(this._domNode);
|
|
101341
101341
|
}
|
|
101342
101342
|
render(e) {
|
|
101343
101343
|
if (!this.modelAttached.read(e))
|
|
@@ -101924,7 +101924,7 @@ class N4e extends CSe {
|
|
|
101924
101924
|
on("div.bottom@bottom", { title: y("diff.bottom", "Click or drag to show more below"), role: "button" })
|
|
101925
101925
|
]), c.root.appendChild(this._nodes.root);
|
|
101926
101926
|
const d = Zi(this._editor.onDidLayoutChange, () => this._editor.getLayoutInfo());
|
|
101927
|
-
this._hide ?
|
|
101927
|
+
this._hide ? Cs(this._nodes.first) : this._register(E0(this._nodes.first, { width: d.map((f) => f.contentLeft) })), this._register(hn((f) => {
|
|
101928
101928
|
const p = this._unchangedRegion.visibleLineCountTop.read(f) + this._unchangedRegion.visibleLineCountBottom.read(f) === this._unchangedRegion.lineCount;
|
|
101929
101929
|
this._nodes.bottom.classList.toggle("canMoveTop", !p), this._nodes.bottom.classList.toggle("canMoveBottom", this._unchangedRegion.visibleLineCountBottom.read(f) > 0), this._nodes.top.classList.toggle("canMoveTop", this._unchangedRegion.visibleLineCountTop.read(f) > 0), this._nodes.top.classList.toggle("canMoveBottom", !p);
|
|
101930
101930
|
const g = this._unchangedRegion.isDragged.read(f), m = this._editor.getDomNode();
|
|
@@ -102002,7 +102002,7 @@ class N4e extends CSe {
|
|
|
102002
102002
|
}
|
|
102003
102003
|
}
|
|
102004
102004
|
}
|
|
102005
|
-
|
|
102005
|
+
Cs(this._nodes.others, ...p);
|
|
102006
102006
|
}));
|
|
102007
102007
|
}
|
|
102008
102008
|
}
|
|
@@ -102429,8 +102429,8 @@ function I4e(i, e) {
|
|
|
102429
102429
|
originalEditable: Oe(i.originalEditable, e.originalEditable),
|
|
102430
102430
|
diffCodeLens: Oe(i.diffCodeLens, e.diffCodeLens),
|
|
102431
102431
|
renderOverviewRuler: Oe(i.renderOverviewRuler, e.renderOverviewRuler),
|
|
102432
|
-
diffWordWrap:
|
|
102433
|
-
diffAlgorithm:
|
|
102432
|
+
diffWordWrap: ai(i.diffWordWrap, e.diffWordWrap, ["off", "on", "inherit"]),
|
|
102433
|
+
diffAlgorithm: ai(i.diffAlgorithm, e.diffAlgorithm, ["legacy", "advanced"], { smart: "legacy", experimental: "advanced" }),
|
|
102434
102434
|
accessibilityVerbose: Oe(i.accessibilityVerbose, e.accessibilityVerbose),
|
|
102435
102435
|
experimental: {
|
|
102436
102436
|
showMoves: Oe((t = i.experimental) === null || t === void 0 ? void 0 : t.showMoves, e.experimental.showMoves),
|
|
@@ -102920,7 +102920,7 @@ xL = QI([
|
|
|
102920
102920
|
yn(7, yr),
|
|
102921
102921
|
yn(8, ml),
|
|
102922
102922
|
yn(9, Zo),
|
|
102923
|
-
yn(10,
|
|
102923
|
+
yn(10, fi),
|
|
102924
102924
|
yn(11, uc),
|
|
102925
102925
|
yn(12, Wo),
|
|
102926
102926
|
yn(13, rr),
|
|
@@ -102965,7 +102965,7 @@ SL = QI([
|
|
|
102965
102965
|
yn(4, Ui),
|
|
102966
102966
|
yn(5, ml),
|
|
102967
102967
|
yn(6, Zo),
|
|
102968
|
-
yn(7,
|
|
102968
|
+
yn(7, fi),
|
|
102969
102969
|
yn(8, Kd),
|
|
102970
102970
|
yn(9, pI),
|
|
102971
102971
|
yn(10, l4),
|
|
@@ -103508,14 +103508,14 @@ function j5t(i, e, t = 4) {
|
|
|
103508
103508
|
return Ge.get(ml).registerEditorContainer(pn.document.body), ST.colorizeModelLine(i, e, t);
|
|
103509
103509
|
}
|
|
103510
103510
|
function Z5t(i) {
|
|
103511
|
-
const e =
|
|
103511
|
+
const e = yi.get(i);
|
|
103512
103512
|
return e || {
|
|
103513
103513
|
getInitialState: () => iw,
|
|
103514
103514
|
tokenize: (t, n, r) => v_e(i, r)
|
|
103515
103515
|
};
|
|
103516
103516
|
}
|
|
103517
103517
|
function U5t(i, e) {
|
|
103518
|
-
|
|
103518
|
+
yi.getOrCreate(e);
|
|
103519
103519
|
const t = Z5t(e), n = sm(i), r = [];
|
|
103520
103520
|
let s = t.getInitialState();
|
|
103521
103521
|
for (let o = 0, a = n.length; o < a; o++) {
|
|
@@ -104029,18 +104029,18 @@ function VSe(i, e) {
|
|
|
104029
104029
|
function KI(i, e) {
|
|
104030
104030
|
const t = new gst(async () => {
|
|
104031
104031
|
const n = await Promise.resolve(e.create());
|
|
104032
|
-
return n ? dbt(n) ? VSe(i, n) : new ow(Ge.get(rr), Ge.get(ml), i, ISe(i, n), Ge.get(
|
|
104032
|
+
return n ? dbt(n) ? VSe(i, n) : new ow(Ge.get(rr), Ge.get(ml), i, ISe(i, n), Ge.get(fi)) : null;
|
|
104033
104033
|
});
|
|
104034
|
-
return
|
|
104034
|
+
return yi.registerFactory(i, t);
|
|
104035
104035
|
}
|
|
104036
104036
|
function pbt(i, e) {
|
|
104037
104037
|
if (!Ge.get(rr).isRegisteredLanguageId(i))
|
|
104038
104038
|
throw new Error(`Cannot set tokens provider for unknown language ${i}`);
|
|
104039
|
-
return OSe(e) ? KI(i, { create: () => e }) :
|
|
104039
|
+
return OSe(e) ? KI(i, { create: () => e }) : yi.register(i, VSe(i, e));
|
|
104040
104040
|
}
|
|
104041
104041
|
function gbt(i, e) {
|
|
104042
|
-
const t = (n) => new ow(Ge.get(rr), Ge.get(ml), i, ISe(i, n), Ge.get(
|
|
104043
|
-
return OSe(e) ? KI(i, { create: () => e }) :
|
|
104042
|
+
const t = (n) => new ow(Ge.get(rr), Ge.get(ml), i, ISe(i, n), Ge.get(fi));
|
|
104043
|
+
return OSe(e) ? KI(i, { create: () => e }) : yi.register(i, t(e));
|
|
104044
104044
|
}
|
|
104045
104045
|
function mbt(i, e) {
|
|
104046
104046
|
return Ge.get(Ln).referenceProvider.register(i, e);
|
|
@@ -104360,11 +104360,11 @@ Qf.glyphMargin.defaultValue = !1;
|
|
|
104360
104360
|
Qf.autoIndent.defaultValue = 3;
|
|
104361
104361
|
Qf.overviewRulerLanes.defaultValue = 2;
|
|
104362
104362
|
Pw.setFormatterSelector((i, e, t) => Promise.resolve(i[0]));
|
|
104363
|
-
const
|
|
104364
|
-
|
|
104365
|
-
|
|
104366
|
-
const Kbt =
|
|
104367
|
-
(NE?.globalAPI || typeof define == "function" && define.amd) && (globalThis.monaco =
|
|
104363
|
+
const Ss = e7e();
|
|
104364
|
+
Ss.editor = J5t();
|
|
104365
|
+
Ss.languages = jbt();
|
|
104366
|
+
const Kbt = Ss.CancellationTokenSource, Ybt = Ss.Emitter, Xbt = Ss.KeyCode, Jbt = Ss.KeyMod, $bt = Ss.Position, e6t = Ss.Range, t6t = Ss.Selection, n6t = Ss.SelectionDirection, i6t = Ss.MarkerSeverity, r6t = Ss.MarkerTag, s6t = Ss.Uri, o6t = Ss.Token, a6t = Ss.editor, l6t = Ss.languages, NE = globalThis.MonacoEnvironment;
|
|
104367
|
+
(NE?.globalAPI || typeof define == "function" && define.amd) && (globalThis.monaco = Ss);
|
|
104368
104368
|
typeof globalThis.require < "u" && typeof globalThis.require.config == "function" && globalThis.require.config({
|
|
104369
104369
|
ignoreDuplicateModules: [
|
|
104370
104370
|
"vscode-languageserver-types",
|
|
@@ -104601,7 +104601,7 @@ class Kr {
|
|
|
104601
104601
|
return e = e.concat(this._decorations), e = e.concat(this._overviewRulerApproximateDecorations), this._findScopeDecorationIds.length && e.push(...this._findScopeDecorationIds), this._rangeHighlightDecorationId && e.push(this._rangeHighlightDecorationId), e;
|
|
104602
104602
|
}
|
|
104603
104603
|
}
|
|
104604
|
-
Kr._CURRENT_FIND_MATCH_DECORATION =
|
|
104604
|
+
Kr._CURRENT_FIND_MATCH_DECORATION = li.register({
|
|
104605
104605
|
description: "current-find-match",
|
|
104606
104606
|
stickiness: 1,
|
|
104607
104607
|
zIndex: 13,
|
|
@@ -104618,7 +104618,7 @@ Kr._CURRENT_FIND_MATCH_DECORATION = ai.register({
|
|
|
104618
104618
|
/* MinimapPosition.Inline */
|
|
104619
104619
|
}
|
|
104620
104620
|
});
|
|
104621
|
-
Kr._FIND_MATCH_DECORATION =
|
|
104621
|
+
Kr._FIND_MATCH_DECORATION = li.register({
|
|
104622
104622
|
description: "find-match",
|
|
104623
104623
|
stickiness: 1,
|
|
104624
104624
|
zIndex: 10,
|
|
@@ -104635,13 +104635,13 @@ Kr._FIND_MATCH_DECORATION = ai.register({
|
|
|
104635
104635
|
/* MinimapPosition.Inline */
|
|
104636
104636
|
}
|
|
104637
104637
|
});
|
|
104638
|
-
Kr._FIND_MATCH_NO_OVERVIEW_DECORATION =
|
|
104638
|
+
Kr._FIND_MATCH_NO_OVERVIEW_DECORATION = li.register({
|
|
104639
104639
|
description: "find-match-no-overview",
|
|
104640
104640
|
stickiness: 1,
|
|
104641
104641
|
className: "findMatch",
|
|
104642
104642
|
showIfCollapsed: !0
|
|
104643
104643
|
});
|
|
104644
|
-
Kr._FIND_MATCH_ONLY_OVERVIEW_DECORATION =
|
|
104644
|
+
Kr._FIND_MATCH_ONLY_OVERVIEW_DECORATION = li.register({
|
|
104645
104645
|
description: "find-match-only-overview",
|
|
104646
104646
|
stickiness: 1,
|
|
104647
104647
|
overviewRuler: {
|
|
@@ -104649,13 +104649,13 @@ Kr._FIND_MATCH_ONLY_OVERVIEW_DECORATION = ai.register({
|
|
|
104649
104649
|
position: A0.Center
|
|
104650
104650
|
}
|
|
104651
104651
|
});
|
|
104652
|
-
Kr._RANGE_HIGHLIGHT_DECORATION =
|
|
104652
|
+
Kr._RANGE_HIGHLIGHT_DECORATION = li.register({
|
|
104653
104653
|
description: "find-range-highlight",
|
|
104654
104654
|
stickiness: 1,
|
|
104655
104655
|
className: "rangeHighlight",
|
|
104656
104656
|
isWholeLine: !0
|
|
104657
104657
|
});
|
|
104658
|
-
Kr._FIND_SCOPE_DECORATION =
|
|
104658
|
+
Kr._FIND_SCOPE_DECORATION = li.register({
|
|
104659
104659
|
description: "find-scope",
|
|
104660
104660
|
className: "findScope",
|
|
104661
104661
|
isWholeLine: !0
|
|
@@ -105076,7 +105076,7 @@ class _v {
|
|
|
105076
105076
|
const e = this._getReplacePattern(), t = this._editor.getSelection(), n = this._getNextMatch(t.getStartPosition(), !0, !1);
|
|
105077
105077
|
if (n)
|
|
105078
105078
|
if (t.equalsRange(n.range)) {
|
|
105079
|
-
const r = e.buildReplaceString(n.matches, this._state.preserveCase), s = new
|
|
105079
|
+
const r = e.buildReplaceString(n.matches, this._state.preserveCase), s = new ks(t, r);
|
|
105080
105080
|
this._executeEditorCommand("replace", s), this._decorations.setStartPosition(new oe(t.startLineNumber, t.startColumn + r.length)), this.research(!0);
|
|
105081
105081
|
} else
|
|
105082
105082
|
this._decorations.setStartPosition(this._editor.getPosition()), this._setCurrentFindMatch(n.range);
|
|
@@ -105996,7 +105996,7 @@ class t7 extends xa {
|
|
|
105996
105996
|
) && this._isReplaceVisible && (this._replaceInput.focusOnPreserve(), d.preventDefault());
|
|
105997
105997
|
})), this._register(this._findInput.inputBox.onDidHeightChange((d) => {
|
|
105998
105998
|
this._tryUpdateHeight() && this._showViewZone();
|
|
105999
|
-
})),
|
|
105999
|
+
})), _s && this._register(this._findInput.onMouseDown((d) => this._onFindInputMouseDown(d))), this._matchesCount = document.createElement("div"), this._matchesCount.className = "matchesCount", this._updateMatchesCount();
|
|
106000
106000
|
const n = this._register(D2());
|
|
106001
106001
|
this._prevBtn = this._register(new Tp({
|
|
106002
106002
|
label: H6t + this._keybindingLabelFor(_n.PreviousMatchFindAction),
|
|
@@ -107624,7 +107624,7 @@ const k8t = G(f3)`
|
|
|
107624
107624
|
`, N8t = ({ scopeKey: i }) => {
|
|
107625
107625
|
const [e, t] = ye(!1), n = nn(null);
|
|
107626
107626
|
return Fe(() => {
|
|
107627
|
-
const r =
|
|
107627
|
+
const r = vs(
|
|
107628
107628
|
() => el.state.variables,
|
|
107629
107629
|
(s, o) => {
|
|
107630
107630
|
[
|
|
@@ -107917,7 +107917,7 @@ let q8t = class {
|
|
|
107917
107917
|
}
|
|
107918
107918
|
setupConnectors = async () => {
|
|
107919
107919
|
this.setIsReady(!1);
|
|
107920
|
-
const e =
|
|
107920
|
+
const e = ui.elements?.filter((n) => {
|
|
107921
107921
|
const r = In(n);
|
|
107922
107922
|
return Object.hasOwn(r, "modelerTemplate") || Object.hasOwn(r?.$attrs, "zeebe:modelerTemplate");
|
|
107923
107923
|
}) ?? [], t = U8t(e);
|
|
@@ -110968,7 +110968,7 @@ const N9t = () => (localStorage.getItem("play-firstTime") ?? "true").toLowerCase
|
|
|
110968
110968
|
} = Lt, {
|
|
110969
110969
|
connectorElementsWithMissingSecrets: c,
|
|
110970
110970
|
state: { isReady: d }
|
|
110971
|
-
} = vh, u = Lt.fileProblems.length > 0 || c.length > 0 || Lt.hasDiagramError || Lt.hasServerError, f = Lt.isEnvironmentCreated && d, { isLoaded: p } =
|
|
110971
|
+
} = vh, u = Lt.fileProblems.length > 0 || c.length > 0 || Lt.hasDiagramError || Lt.hasServerError, f = Lt.isEnvironmentCreated && d, { isLoaded: p } = ui.state, g = async () => {
|
|
110972
110972
|
await r.current?.trackPlaybackPosition(), i();
|
|
110973
110973
|
};
|
|
110974
110974
|
return Fe(() => {
|
|
@@ -119611,7 +119611,7 @@ function LNt(i, e) {
|
|
|
119611
119611
|
return MNt(i, e);
|
|
119612
119612
|
}
|
|
119613
119613
|
var kNt = LNt;
|
|
119614
|
-
const
|
|
119614
|
+
const Rs = /* @__PURE__ */ nN(kNt);
|
|
119615
119615
|
function cbe(i, e) {
|
|
119616
119616
|
return e !== void 0 && !e.includes(i.businessObject.id) && i.type !== "label" && hCe(i.businessObject);
|
|
119617
119617
|
}
|
|
@@ -125179,16 +125179,16 @@ class Xr extends Id {
|
|
|
125179
125179
|
if (s.done)
|
|
125180
125180
|
break e;
|
|
125181
125181
|
let d = Math.min(s.len, l - a);
|
|
125182
|
-
|
|
125182
|
+
Os(r, d, -1);
|
|
125183
125183
|
let u = s.ins == -1 ? -1 : s.off == 0 ? s.ins : 0;
|
|
125184
|
-
|
|
125184
|
+
Os(t, d, u), u > 0 && Qu(n, t, s.text), s.forward(d), a += d;
|
|
125185
125185
|
}
|
|
125186
125186
|
let c = e[o++];
|
|
125187
125187
|
for (; a < c; ) {
|
|
125188
125188
|
if (s.done)
|
|
125189
125189
|
break e;
|
|
125190
125190
|
let d = Math.min(s.len, c - a);
|
|
125191
|
-
|
|
125191
|
+
Os(t, d, -1), Os(r, d, s.ins == -1 ? -1 : s.off == 0 ? s.ins : 0), s.forward(d), a += d;
|
|
125192
125192
|
}
|
|
125193
125193
|
}
|
|
125194
125194
|
return {
|
|
@@ -125216,7 +125216,7 @@ class Xr extends Id {
|
|
|
125216
125216
|
function l(d = !1) {
|
|
125217
125217
|
if (!d && !r.length)
|
|
125218
125218
|
return;
|
|
125219
|
-
o < t &&
|
|
125219
|
+
o < t && Os(r, t - o, -1);
|
|
125220
125220
|
let u = new Xr(r, s);
|
|
125221
125221
|
a = a ? a.compose(u.map(a)) : u, r = [], s = [], o = 0;
|
|
125222
125222
|
}
|
|
@@ -125235,7 +125235,7 @@ class Xr extends Id {
|
|
|
125235
125235
|
let g = p ? typeof p == "string" ? Zn.of(p.split(n || lk)) : p : Zn.empty, m = g.length;
|
|
125236
125236
|
if (u == f && m == 0)
|
|
125237
125237
|
return;
|
|
125238
|
-
u < o && l(), u > o &&
|
|
125238
|
+
u < o && l(), u > o && Os(r, u - o, -1), Os(r, f - u, m), Qu(s, r, g), o = f;
|
|
125239
125239
|
}
|
|
125240
125240
|
}
|
|
125241
125241
|
return c(e), l(!a), a;
|
|
@@ -125279,7 +125279,7 @@ class Xr extends Id {
|
|
|
125279
125279
|
return new Xr(e, t);
|
|
125280
125280
|
}
|
|
125281
125281
|
}
|
|
125282
|
-
function
|
|
125282
|
+
function Os(i, e, t, n = !1) {
|
|
125283
125283
|
if (e == 0 && t <= 0)
|
|
125284
125284
|
return;
|
|
125285
125285
|
let r = i.length - 2;
|
|
@@ -125316,12 +125316,12 @@ function hk(i, e, t, n = !1) {
|
|
|
125316
125316
|
for (let l = -1; ; )
|
|
125317
125317
|
if (o.ins == -1 && a.ins == -1) {
|
|
125318
125318
|
let c = Math.min(o.len, a.len);
|
|
125319
|
-
|
|
125319
|
+
Os(r, c, -1), o.forward(c), a.forward(c);
|
|
125320
125320
|
} else if (a.ins >= 0 && (o.ins < 0 || l == o.i || o.off == 0 && (a.len < o.len || a.len == o.len && !t))) {
|
|
125321
125321
|
let c = a.len;
|
|
125322
|
-
for (
|
|
125322
|
+
for (Os(r, a.ins, -1); c; ) {
|
|
125323
125323
|
let d = Math.min(o.len, c);
|
|
125324
|
-
o.ins >= 0 && l < o.i && o.len <= d && (
|
|
125324
|
+
o.ins >= 0 && l < o.i && o.len <= d && (Os(r, 0, o.ins), s && Qu(s, r, o.text), l = o.i), o.forward(d), c -= d;
|
|
125325
125325
|
}
|
|
125326
125326
|
a.next();
|
|
125327
125327
|
} else if (o.ins >= 0) {
|
|
@@ -125334,7 +125334,7 @@ function hk(i, e, t, n = !1) {
|
|
|
125334
125334
|
d -= a.len, a.next();
|
|
125335
125335
|
else
|
|
125336
125336
|
break;
|
|
125337
|
-
|
|
125337
|
+
Os(r, c, l < o.i ? o.ins : 0), s && l < o.i && Qu(s, r, o.text), l = o.i, o.forward(o.len - d);
|
|
125338
125338
|
} else {
|
|
125339
125339
|
if (o.done && a.done)
|
|
125340
125340
|
return s ? Xr.createSet(r, s) : Id.create(r);
|
|
@@ -125347,9 +125347,9 @@ function $Le(i, e, t = !1) {
|
|
|
125347
125347
|
if (s.done && o.done)
|
|
125348
125348
|
return r ? Xr.createSet(n, r) : Id.create(n);
|
|
125349
125349
|
if (s.ins == 0)
|
|
125350
|
-
|
|
125350
|
+
Os(n, s.len, 0, a), s.next();
|
|
125351
125351
|
else if (o.len == 0 && !o.done)
|
|
125352
|
-
|
|
125352
|
+
Os(n, 0, o.ins, a), r && Qu(r, n, o.text), o.next();
|
|
125353
125353
|
else {
|
|
125354
125354
|
if (s.done || o.done)
|
|
125355
125355
|
throw new Error("Mismatched change set lengths");
|
|
@@ -125357,8 +125357,8 @@ function $Le(i, e, t = !1) {
|
|
|
125357
125357
|
let l = Math.min(s.len2, o.len), c = n.length;
|
|
125358
125358
|
if (s.ins == -1) {
|
|
125359
125359
|
let d = o.ins == -1 ? -1 : o.off ? 0 : o.ins;
|
|
125360
|
-
|
|
125361
|
-
} else o.ins == -1 ? (
|
|
125360
|
+
Os(n, l, d, a), r && d && Qu(r, n, o.text);
|
|
125361
|
+
} else o.ins == -1 ? (Os(n, s.off ? 0 : s.len, l, a), r && Qu(r, n, s.textBit(l))) : (Os(n, s.off ? 0 : s.len, o.off ? 0 : o.ins, a), r && !o.off && Qu(r, n, o.text));
|
|
125362
125362
|
a = (s.ins > l || o.ins >= 0 && o.len > l) && (a || n.length > c), s.forward2(l), o.forward(l);
|
|
125363
125363
|
}
|
|
125364
125364
|
}
|
|
@@ -126045,15 +126045,15 @@ class Un {
|
|
|
126045
126045
|
}
|
|
126046
126046
|
Un.reconfigure = /* @__PURE__ */ Un.define();
|
|
126047
126047
|
Un.appendConfig = /* @__PURE__ */ Un.define();
|
|
126048
|
-
class
|
|
126048
|
+
class bs {
|
|
126049
126049
|
constructor(e, t, n, r, s, o) {
|
|
126050
|
-
this.startState = e, this.changes = t, this.selection = n, this.effects = r, this.annotations = s, this.scrollIntoView = o, this._doc = null, this._state = null, n && eke(n, t.newLength), s.some((a) => a.type ==
|
|
126050
|
+
this.startState = e, this.changes = t, this.selection = n, this.effects = r, this.annotations = s, this.scrollIntoView = o, this._doc = null, this._state = null, n && eke(n, t.newLength), s.some((a) => a.type == bs.time) || (this.annotations = s.concat(bs.time.of(Date.now())));
|
|
126051
126051
|
}
|
|
126052
126052
|
/**
|
|
126053
126053
|
@internal
|
|
126054
126054
|
*/
|
|
126055
126055
|
static create(e, t, n, r, s, o) {
|
|
126056
|
-
return new
|
|
126056
|
+
return new bs(e, t, n, r, s, o);
|
|
126057
126057
|
}
|
|
126058
126058
|
/**
|
|
126059
126059
|
The new document produced by the transaction. Contrary to
|
|
@@ -126115,14 +126115,14 @@ class ws {
|
|
|
126115
126115
|
`"select.pointer"` will match it.
|
|
126116
126116
|
*/
|
|
126117
126117
|
isUserEvent(e) {
|
|
126118
|
-
let t = this.annotation(
|
|
126118
|
+
let t = this.annotation(bs.userEvent);
|
|
126119
126119
|
return !!(t && (t == e || t.length > e.length && t.slice(0, e.length) == e && t[e.length] == "."));
|
|
126120
126120
|
}
|
|
126121
126121
|
}
|
|
126122
|
-
|
|
126123
|
-
|
|
126124
|
-
|
|
126125
|
-
|
|
126122
|
+
bs.time = /* @__PURE__ */ vp.define();
|
|
126123
|
+
bs.userEvent = /* @__PURE__ */ vp.define();
|
|
126124
|
+
bs.addToHistory = /* @__PURE__ */ vp.define();
|
|
126125
|
+
bs.remote = /* @__PURE__ */ vp.define();
|
|
126126
126126
|
function nOt(i, e) {
|
|
126127
126127
|
let t = [];
|
|
126128
126128
|
for (let n = 0, r = 0; ; ) {
|
|
@@ -126149,7 +126149,7 @@ function lke(i, e, t) {
|
|
|
126149
126149
|
}
|
|
126150
126150
|
function pk(i, e, t) {
|
|
126151
126151
|
let n = e.selection, r = Qg(e.annotations);
|
|
126152
|
-
return e.userEvent && (r = r.concat(
|
|
126152
|
+
return e.userEvent && (r = r.concat(bs.userEvent.of(e.userEvent))), {
|
|
126153
126153
|
changes: e.changes instanceof Xr ? e.changes : Xr.of(e.changes || [], t, i.facet(ike)),
|
|
126154
126154
|
selection: n && (n instanceof Ve ? n : Ve.single(n.anchor, n.head)),
|
|
126155
126155
|
effects: Qg(e.effects),
|
|
@@ -126165,7 +126165,7 @@ function cke(i, e, t) {
|
|
|
126165
126165
|
let o = !!e[s].sequential;
|
|
126166
126166
|
n = lke(n, pk(i, e[s], o ? n.changes.newLength : i.doc.length), o);
|
|
126167
126167
|
}
|
|
126168
|
-
let r =
|
|
126168
|
+
let r = bs.create(i, n.changes, n.selection, n.effects, n.annotations, n.scrollIntoView);
|
|
126169
126169
|
return rOt(t ? iOt(r) : r);
|
|
126170
126170
|
}
|
|
126171
126171
|
function iOt(i) {
|
|
@@ -126186,12 +126186,12 @@ function iOt(i) {
|
|
|
126186
126186
|
let o = i.changes.filter(t);
|
|
126187
126187
|
r = o.changes, s = o.filtered.mapDesc(o.changes).invertedDesc;
|
|
126188
126188
|
}
|
|
126189
|
-
i =
|
|
126189
|
+
i = bs.create(e, r, i.selection && i.selection.map(s), Un.mapEffects(i.effects, s), i.annotations, i.scrollIntoView);
|
|
126190
126190
|
}
|
|
126191
126191
|
let n = e.facet(ske);
|
|
126192
126192
|
for (let r = n.length - 1; r >= 0; r--) {
|
|
126193
126193
|
let s = n[r](i);
|
|
126194
|
-
s instanceof
|
|
126194
|
+
s instanceof bs ? i = s : Array.isArray(s) && s.length == 1 && s[0] instanceof bs ? i = s[0] : i = cke(e, Qg(s), !1);
|
|
126195
126195
|
}
|
|
126196
126196
|
return i;
|
|
126197
126197
|
}
|
|
@@ -126201,7 +126201,7 @@ function rOt(i) {
|
|
|
126201
126201
|
let s = t[r](i);
|
|
126202
126202
|
s && Object.keys(s).length && (n = lke(n, pk(e, s, i.changes.newLength), !0));
|
|
126203
126203
|
}
|
|
126204
|
-
return n == i ? i :
|
|
126204
|
+
return n == i ? i : bs.create(e, i.changes, i.selection, n.effects, n.annotations, n.scrollIntoView);
|
|
126205
126205
|
}
|
|
126206
126206
|
const sOt = [];
|
|
126207
126207
|
function Qg(i) {
|
|
@@ -127517,15 +127517,15 @@ function yOt(i, e) {
|
|
|
127517
127517
|
function pke(i) {
|
|
127518
127518
|
return i.scrollTop > Math.max(1, i.scrollHeight - i.clientHeight - 4);
|
|
127519
127519
|
}
|
|
127520
|
-
class
|
|
127520
|
+
class Hs {
|
|
127521
127521
|
constructor(e, t, n = !0) {
|
|
127522
127522
|
this.node = e, this.offset = t, this.precise = n;
|
|
127523
127523
|
}
|
|
127524
127524
|
static before(e, t) {
|
|
127525
|
-
return new
|
|
127525
|
+
return new Hs(e.parentNode, t3(e), t);
|
|
127526
127526
|
}
|
|
127527
127527
|
static after(e, t) {
|
|
127528
|
-
return new
|
|
127528
|
+
return new Hs(e.parentNode, t3(e) + 1, t);
|
|
127529
127529
|
}
|
|
127530
127530
|
}
|
|
127531
127531
|
const HO = [];
|
|
@@ -127797,7 +127797,7 @@ class Ud extends Ii {
|
|
|
127797
127797
|
return e == this.dom ? t : t ? this.text.length : 0;
|
|
127798
127798
|
}
|
|
127799
127799
|
domAtPos(e) {
|
|
127800
|
-
return new
|
|
127800
|
+
return new Hs(this.dom, e);
|
|
127801
127801
|
}
|
|
127802
127802
|
domBoundsAround(e, t, n) {
|
|
127803
127803
|
return { from: n, to: n + this.length, startDOM: this.dom, endDOM: this.dom.nextSibling };
|
|
@@ -127896,7 +127896,7 @@ class Ku extends Ii {
|
|
|
127896
127896
|
return n ? n.slice(r, r + this.length) : Zn.empty;
|
|
127897
127897
|
}
|
|
127898
127898
|
domAtPos(e) {
|
|
127899
|
-
return (this.length ? e == 0 : this.side > 0) ?
|
|
127899
|
+
return (this.length ? e == 0 : this.side > 0) ? Hs.before(this.dom) : Hs.after(this.dom, e == this.length);
|
|
127900
127900
|
}
|
|
127901
127901
|
domBoundsAround() {
|
|
127902
127902
|
return null;
|
|
@@ -127952,7 +127952,7 @@ class j2 extends Ii {
|
|
|
127952
127952
|
return this.side;
|
|
127953
127953
|
}
|
|
127954
127954
|
domAtPos(e) {
|
|
127955
|
-
return this.side > 0 ?
|
|
127955
|
+
return this.side > 0 ? Hs.before(this.dom) : Hs.after(this.dom);
|
|
127956
127956
|
}
|
|
127957
127957
|
localPosFromDOM() {
|
|
127958
127958
|
return 0;
|
|
@@ -127993,7 +127993,7 @@ function bke(i, e) {
|
|
|
127993
127993
|
if (o.dom.parentNode == t)
|
|
127994
127994
|
return o.domAtPos(0);
|
|
127995
127995
|
}
|
|
127996
|
-
return new
|
|
127996
|
+
return new Hs(t, 0);
|
|
127997
127997
|
}
|
|
127998
127998
|
function yke(i, e, t) {
|
|
127999
127999
|
let n, { children: r } = i;
|
|
@@ -128167,7 +128167,7 @@ class c0 extends Ii {
|
|
|
128167
128167
|
return n && (!(n instanceof c0) || !this.widget.compare(n.widget) || e > 0 && s <= 0 || t < this.length && o <= 0) ? !1 : (this.length = e + (n ? n.length : 0) + (this.length - t), !0);
|
|
128168
128168
|
}
|
|
128169
128169
|
domAtPos(e) {
|
|
128170
|
-
return e == 0 ?
|
|
128170
|
+
return e == 0 ? Hs.before(this.dom) : Hs.after(this.dom, e == this.length);
|
|
128171
128171
|
}
|
|
128172
128172
|
split(e) {
|
|
128173
128173
|
let t = this.length - e;
|
|
@@ -128595,27 +128595,27 @@ function Ske(i, e) {
|
|
|
128595
128595
|
}
|
|
128596
128596
|
return !0;
|
|
128597
128597
|
}
|
|
128598
|
-
const
|
|
128598
|
+
const wi = [];
|
|
128599
128599
|
function kOt(i, e, t, n, r) {
|
|
128600
128600
|
for (let s = 0; s <= n.length; s++) {
|
|
128601
128601
|
let o = s ? n[s - 1].to : e, a = s < n.length ? n[s].from : t, l = s ? 256 : r;
|
|
128602
128602
|
for (let c = o, d = l, u = l; c < a; c++) {
|
|
128603
128603
|
let f = xke(i.charCodeAt(c));
|
|
128604
|
-
f == 512 ? f = d : f == 8 && u == 4 && (f = 16),
|
|
128604
|
+
f == 512 ? f = d : f == 8 && u == 4 && (f = 16), wi[c] = f == 4 ? 2 : f, f & 7 && (u = f), d = f;
|
|
128605
128605
|
}
|
|
128606
128606
|
for (let c = o, d = l, u = l; c < a; c++) {
|
|
128607
|
-
let f =
|
|
128607
|
+
let f = wi[c];
|
|
128608
128608
|
if (f == 128)
|
|
128609
|
-
c < a - 1 && d ==
|
|
128609
|
+
c < a - 1 && d == wi[c + 1] && d & 24 ? f = wi[c] = d : wi[c] = 256;
|
|
128610
128610
|
else if (f == 64) {
|
|
128611
128611
|
let p = c + 1;
|
|
128612
|
-
for (; p < a &&
|
|
128612
|
+
for (; p < a && wi[p] == 64; )
|
|
128613
128613
|
p++;
|
|
128614
|
-
let g = c && d == 8 || p < t &&
|
|
128614
|
+
let g = c && d == 8 || p < t && wi[p] == 8 ? u == 1 ? 1 : 8 : 256;
|
|
128615
128615
|
for (let m = c; m < p; m++)
|
|
128616
|
-
|
|
128616
|
+
wi[m] = g;
|
|
128617
128617
|
c = p - 1;
|
|
128618
|
-
} else f == 8 && u == 1 && (
|
|
128618
|
+
} else f == 8 && u == 1 && (wi[c] = 1);
|
|
128619
128619
|
d = f, f & 7 && (u = f);
|
|
128620
128620
|
}
|
|
128621
128621
|
}
|
|
@@ -128630,7 +128630,7 @@ function NOt(i, e, t, n, r) {
|
|
|
128630
128630
|
for (let m = a - 3; m >= 0; m -= 3)
|
|
128631
128631
|
if (Lc[m + 1] == -p) {
|
|
128632
128632
|
let A = Lc[m + 2], v = A & 2 ? r : A & 4 ? A & 1 ? s : r : 0;
|
|
128633
|
-
v && (
|
|
128633
|
+
v && (wi[u] = wi[Lc[m]] = v), a = m;
|
|
128634
128634
|
break;
|
|
128635
128635
|
}
|
|
128636
128636
|
} else {
|
|
@@ -128638,7 +128638,7 @@ function NOt(i, e, t, n, r) {
|
|
|
128638
128638
|
break;
|
|
128639
128639
|
Lc[a++] = u, Lc[a++] = f, Lc[a++] = l;
|
|
128640
128640
|
}
|
|
128641
|
-
else if ((g =
|
|
128641
|
+
else if ((g = wi[u]) == 2 || g == 1) {
|
|
128642
128642
|
let m = g == r;
|
|
128643
128643
|
l = m ? 0 : 1;
|
|
128644
128644
|
for (let A = a - 3; A >= 0; A -= 3) {
|
|
@@ -128660,7 +128660,7 @@ function TOt(i, e, t, n) {
|
|
|
128660
128660
|
for (let r = 0, s = n; r <= t.length; r++) {
|
|
128661
128661
|
let o = r ? t[r - 1].to : i, a = r < t.length ? t[r].from : e;
|
|
128662
128662
|
for (let l = o; l < a; ) {
|
|
128663
|
-
let c =
|
|
128663
|
+
let c = wi[l];
|
|
128664
128664
|
if (c == 256) {
|
|
128665
128665
|
let d = l + 1;
|
|
128666
128666
|
for (; ; )
|
|
@@ -128668,13 +128668,13 @@ function TOt(i, e, t, n) {
|
|
|
128668
128668
|
if (r == t.length)
|
|
128669
128669
|
break;
|
|
128670
128670
|
d = t[r++].to, a = r < t.length ? t[r].from : e;
|
|
128671
|
-
} else if (
|
|
128671
|
+
} else if (wi[d] == 256)
|
|
128672
128672
|
d++;
|
|
128673
128673
|
else
|
|
128674
128674
|
break;
|
|
128675
|
-
let u = s == 1, f = (d < e ?
|
|
128675
|
+
let u = s == 1, f = (d < e ? wi[d] : n) == 1, p = u == f ? u ? 1 : 2 : n;
|
|
128676
128676
|
for (let g = d, m = r, A = m ? t[m - 1].to : i; g > l; )
|
|
128677
|
-
g == A && (g = t[--m].from, A = m ? t[m - 1].to : i),
|
|
128677
|
+
g == A && (g = t[--m].from, A = m ? t[m - 1].to : i), wi[--g] = p;
|
|
128678
128678
|
l = d;
|
|
128679
128679
|
} else
|
|
128680
128680
|
s = c, l++;
|
|
@@ -128687,7 +128687,7 @@ function Mk(i, e, t, n, r, s, o) {
|
|
|
128687
128687
|
for (let l = e, c = 0; l < t; ) {
|
|
128688
128688
|
let d = !0, u = !1;
|
|
128689
128689
|
if (c == s.length || l < s[c].from) {
|
|
128690
|
-
let m =
|
|
128690
|
+
let m = wi[l];
|
|
128691
128691
|
m != a && (d = !1, u = m == 16);
|
|
128692
128692
|
}
|
|
128693
128693
|
let f = !d && a == 1 ? [] : null, p = d ? n : n + 1, g = l;
|
|
@@ -128703,7 +128703,7 @@ function Mk(i, e, t, n, r, s, o) {
|
|
|
128703
128703
|
if (v < s.length && s[v].from == A)
|
|
128704
128704
|
A = s[v++].to;
|
|
128705
128705
|
else {
|
|
128706
|
-
if (
|
|
128706
|
+
if (wi[A] == a)
|
|
128707
128707
|
break e;
|
|
128708
128708
|
break;
|
|
128709
128709
|
}
|
|
@@ -128717,7 +128717,7 @@ function Mk(i, e, t, n, r, s, o) {
|
|
|
128717
128717
|
}
|
|
128718
128718
|
g = m.to;
|
|
128719
128719
|
} else {
|
|
128720
|
-
if (g == t || (d ?
|
|
128720
|
+
if (g == t || (d ? wi[g] != a : wi[g] == a))
|
|
128721
128721
|
break;
|
|
128722
128722
|
g++;
|
|
128723
128723
|
}
|
|
@@ -128727,7 +128727,7 @@ function Mk(i, e, t, n, r, s, o) {
|
|
|
128727
128727
|
for (let l = t, c = s.length; l > e; ) {
|
|
128728
128728
|
let d = !0, u = !1;
|
|
128729
128729
|
if (!c || l > s[c - 1].to) {
|
|
128730
|
-
let m =
|
|
128730
|
+
let m = wi[l - 1];
|
|
128731
128731
|
m != a && (d = !1, u = m == 16);
|
|
128732
128732
|
}
|
|
128733
128733
|
let f = !d && a == 1 ? [] : null, p = d ? n : n + 1, g = l;
|
|
@@ -128743,7 +128743,7 @@ function Mk(i, e, t, n, r, s, o) {
|
|
|
128743
128743
|
if (v && s[v - 1].to == A)
|
|
128744
128744
|
A = s[--v].from;
|
|
128745
128745
|
else {
|
|
128746
|
-
if (
|
|
128746
|
+
if (wi[A - 1] == a)
|
|
128747
128747
|
break e;
|
|
128748
128748
|
break;
|
|
128749
128749
|
}
|
|
@@ -128757,7 +128757,7 @@ function Mk(i, e, t, n, r, s, o) {
|
|
|
128757
128757
|
}
|
|
128758
128758
|
g = m.from;
|
|
128759
128759
|
} else {
|
|
128760
|
-
if (g == e || (d ?
|
|
128760
|
+
if (g == e || (d ? wi[g - 1] != a : wi[g - 1] == a))
|
|
128761
128761
|
break;
|
|
128762
128762
|
g--;
|
|
128763
128763
|
}
|
|
@@ -128774,8 +128774,8 @@ function IOt(i, e, t) {
|
|
|
128774
128774
|
if (e == Ff && !t.length && !LOt.test(i))
|
|
128775
128775
|
return Dke(i.length);
|
|
128776
128776
|
if (t.length)
|
|
128777
|
-
for (; i.length >
|
|
128778
|
-
|
|
128777
|
+
for (; i.length > wi.length; )
|
|
128778
|
+
wi[wi.length] = 256;
|
|
128779
128779
|
let n = [], r = e == Ff ? 0 : 1;
|
|
128780
128780
|
return Lk(i, r, r, t, 0, i.length, n), n;
|
|
128781
128781
|
}
|
|
@@ -129123,7 +129123,7 @@ class y6e extends Ii {
|
|
|
129123
129123
|
let a = this.view.state.selection.main, l = this.moveToLine(this.domAtPos(a.anchor)), c = a.empty ? l : this.moveToLine(this.domAtPos(a.head));
|
|
129124
129124
|
if (pt.gecko && a.empty && !this.hasComposition && BOt(l)) {
|
|
129125
129125
|
let u = document.createTextNode("");
|
|
129126
|
-
this.view.observer.ignore(() => l.node.insertBefore(u, l.node.childNodes[l.offset] || null)), l = c = new
|
|
129126
|
+
this.view.observer.ignore(() => l.node.insertBefore(u, l.node.childNodes[l.offset] || null)), l = c = new Hs(u, 0), o = !0;
|
|
129127
129127
|
}
|
|
129128
129128
|
let d = this.view.observer.selectionRange;
|
|
129129
129129
|
(o || !d.focusNode || (!Dv(l.node, l.offset, d.anchorNode, d.anchorOffset) || !Dv(c.node, c.offset, d.focusNode, d.focusOffset)) && !this.suppressWidgetCursorChange(d, a)) && (this.view.observer.ignore(() => {
|
|
@@ -129134,7 +129134,7 @@ class y6e extends Ii {
|
|
|
129134
129134
|
let f = FOt(l.node, l.offset);
|
|
129135
129135
|
if (f && f != 3) {
|
|
129136
129136
|
let p = Wke(l.node, l.offset, f == 1 ? 1 : -1);
|
|
129137
|
-
p && (l = new
|
|
129137
|
+
p && (l = new Hs(p.node, p.offset));
|
|
129138
129138
|
}
|
|
129139
129139
|
}
|
|
129140
129140
|
u.collapse(l.node, l.offset), a.bidiLevel != null && u.caretBidiLevel !== void 0 && (u.caretBidiLevel = a.bidiLevel);
|
|
@@ -129149,7 +129149,7 @@ class y6e extends Ii {
|
|
|
129149
129149
|
a.anchor > a.head && ([l, c] = [c, l]), f.setEnd(c.node, c.offset), f.setStart(l.node, l.offset), u.removeAllRanges(), u.addRange(f);
|
|
129150
129150
|
}
|
|
129151
129151
|
s && this.view.root.activeElement == this.dom && (this.dom.blur(), n && n.focus());
|
|
129152
|
-
}), this.view.observer.setSelectionRange(l, c)), this.impreciseAnchor = l.precise ? null : new
|
|
129152
|
+
}), this.view.observer.setSelectionRange(l, c)), this.impreciseAnchor = l.precise ? null : new Hs(d.anchorNode, d.anchorOffset), this.impreciseHead = c.precise ? null : new Hs(d.focusNode, d.focusOffset);
|
|
129153
129153
|
}
|
|
129154
129154
|
// If a zero-length widget is inserted next to the cursor during
|
|
129155
129155
|
// composition, avoid moving it across it and disrupting the
|
|
@@ -129191,7 +129191,7 @@ class y6e extends Ii {
|
|
|
129191
129191
|
let s = Ii.get(t.childNodes[r]);
|
|
129192
129192
|
s instanceof Tr && (n = s.domAtPos(s.length));
|
|
129193
129193
|
}
|
|
129194
|
-
return n ? new
|
|
129194
|
+
return n ? new Hs(n.node, n.offset, !0) : e;
|
|
129195
129195
|
}
|
|
129196
129196
|
nearest(e) {
|
|
129197
129197
|
for (let t = e; t; ) {
|
|
@@ -131776,7 +131776,7 @@ class ot {
|
|
|
131776
131776
|
this.observer = new BVt(this), this.inputState = new eVt(this), this.inputState.ensureHandlers(this.plugins), this.docView = new y6e(this), this.mountStyles(), this.updateAttrs(), this.updateState = 0, this.requestMeasure();
|
|
131777
131777
|
}
|
|
131778
131778
|
dispatch(...e) {
|
|
131779
|
-
let t = e.length == 1 && e[0] instanceof
|
|
131779
|
+
let t = e.length == 1 && e[0] instanceof bs ? e : e.length == 1 && Array.isArray(e[0]) ? e[0] : [this.state.update(...e)];
|
|
131780
131780
|
this.dispatchTransactions(t, this);
|
|
131781
131781
|
}
|
|
131782
131782
|
/**
|
|
@@ -135309,7 +135309,7 @@ function dHt(i) {
|
|
|
135309
135309
|
let { text: o, ranges: a } = e.instantiate(t.state, r), l = {
|
|
135310
135310
|
changes: { from: r, to: s, insert: Zn.of(o) },
|
|
135311
135311
|
scrollIntoView: !0,
|
|
135312
|
-
annotations: n ? [QO.of(n),
|
|
135312
|
+
annotations: n ? [QO.of(n), bs.userEvent.of("input.complete")] : void 0
|
|
135313
135313
|
};
|
|
135314
135314
|
if (a.length && (l.selection = JO(a, 0)), a.some((c) => c.field > 0)) {
|
|
135315
135315
|
let c = new Tm(a, 0), d = l.effects = [C4.of(c)];
|
|
@@ -143861,7 +143861,7 @@ let Gzt = class {
|
|
|
143861
143861
|
};
|
|
143862
143862
|
render = async (e) => {
|
|
143863
143863
|
const { container: t, xml: n, selectableFlowNodeIds: r, selectedFlowNodeIds: s } = e;
|
|
143864
|
-
if (this.navigatedViewer === null && this.#s(t), this.#e !== n && (this.#e = n, await this.import(n)), !
|
|
143864
|
+
if (this.navigatedViewer === null && this.#s(t), this.#e !== n && (this.#e = n, await this.import(n)), !Rs(this.#i, r)) {
|
|
143865
143865
|
this.#i.forEach((l) => {
|
|
143866
143866
|
this.removeMarker(l, "play-selectable");
|
|
143867
143867
|
}), r.forEach((l) => {
|
|
@@ -143878,7 +143878,7 @@ let Gzt = class {
|
|
|
143878
143878
|
this.addMarker(l, "play-non-selectable");
|
|
143879
143879
|
}), this.#n = a ? a.map(({ id: l }) => l) : [];
|
|
143880
143880
|
}
|
|
143881
|
-
|
|
143881
|
+
Rs(this.#t?.sort(), s?.sort()) || (this.#t !== void 0 && (this.#t.forEach((o) => {
|
|
143882
143882
|
this.removeMarker(o, "play-selected"), this.removeMarker(o, "play-selected-frame");
|
|
143883
143883
|
}), this.selectedFlowNode = void 0), s !== void 0 && s.forEach((o) => {
|
|
143884
143884
|
this.addMarker(o, "play-selected"), this.addMarker(o, "play-selected-frame");
|
|
@@ -143933,7 +143933,7 @@ let Gzt = class {
|
|
|
143933
143933
|
this.zoom(-0.1);
|
|
143934
143934
|
};
|
|
143935
143935
|
toggleMinimap = () => {
|
|
143936
|
-
|
|
143936
|
+
ui.toggleMinimap(), this.navigatedViewer?.get("minimap").toggle();
|
|
143937
143937
|
};
|
|
143938
143938
|
zoomReset = () => {
|
|
143939
143939
|
const e = this.navigatedViewer?.get("canvas");
|
|
@@ -144479,7 +144479,7 @@ const eWt = G.div`
|
|
|
144479
144479
|
}
|
|
144480
144480
|
), yWt = Et(
|
|
144481
144481
|
({ element: i, isRestartMode: e }) => {
|
|
144482
|
-
const t = Pn(wr), { definitions: n, elementsById: r } =
|
|
144482
|
+
const t = Pn(wr), { definitions: n, elementsById: r } = ui.state, [s, o] = ye(!1), a = nn(), l = nn(), c = nn(), [d, u] = ye(!1), [f, p] = ye(!1), [g, m] = ye(!0), A = dh(i), v = localStorage.getItem(
|
|
144483
144483
|
`jobCompletion ${Lt.processId} ${i.id}`
|
|
144484
144484
|
);
|
|
144485
144485
|
Fe(() => {
|
|
@@ -144856,7 +144856,7 @@ const wV = Et(
|
|
|
144856
144856
|
);
|
|
144857
144857
|
}, kWt = Et(
|
|
144858
144858
|
({ element: i, isRestartMode: e }) => {
|
|
144859
|
-
const t = Pn(wr), { definitions: n, elementsById: r } =
|
|
144859
|
+
const t = Pn(wr), { definitions: n, elementsById: r } = ui.state, [s, o] = ye(!1), a = nn(), l = nn(), [c, d] = ye(!1), [u, f] = ye(!1), [p, g] = ye(!1), [m, A] = ye(""), [v, w] = ye(!1), [b, _] = ye("none");
|
|
144860
144860
|
async function x(W) {
|
|
144861
144861
|
const { data: ce, errors: ke } = W ?? { data: {}, errors: {} };
|
|
144862
144862
|
if (Object.keys(ke).length === 0) {
|
|
@@ -144908,7 +144908,7 @@ const wV = Et(
|
|
|
144908
144908
|
...ke
|
|
144909
144909
|
};
|
|
144910
144910
|
let T = "none";
|
|
144911
|
-
|
|
144911
|
+
Rs(B, ce) ? T = "bpmn" : Rs(B, ke) && (T = "cache"), _(T);
|
|
144912
144912
|
const O = new K2();
|
|
144913
144913
|
l.current = O, O.attachTo(a.current);
|
|
144914
144914
|
const { warnings: K } = await O.importSchema(
|
|
@@ -144920,7 +144920,7 @@ const wV = Et(
|
|
|
144920
144920
|
({ data: ee, errors: ae }) => {
|
|
144921
144921
|
const we = localStorage.getItem(
|
|
144922
144922
|
`jobCompletion ${Lt.processId} ${i.id}`
|
|
144923
|
-
), Xe = !
|
|
144923
|
+
), Xe = !Rs(ee, JSON.parse(dh(i) ?? "{}")) && !Rs(ee, JSON.parse(we ?? "{}"));
|
|
144924
144924
|
g(Xe), A(JSON.stringify(ee)), w(Object.keys(ae).length === 0);
|
|
144925
144925
|
}
|
|
144926
144926
|
);
|
|
@@ -145312,19 +145312,19 @@ Error message: ${e.errorMessage}`
|
|
|
145312
145312
|
)
|
|
145313
145313
|
] });
|
|
145314
145314
|
}), BWt = Et(({ element: i }) => {
|
|
145315
|
-
const { takenSequenceFlows: e, completedElementInstances: t } = Ro, { elementRegistry: n } =
|
|
145315
|
+
const { takenSequenceFlows: e, completedElementInstances: t } = Ro, { elementRegistry: n } = ui.state;
|
|
145316
145316
|
return Fe(() => {
|
|
145317
145317
|
if (n !== void 0)
|
|
145318
145318
|
return e.some((r) => r.element.elementId === i.id) || i?.di?.bpmnElement?.sourceRef?.$type === "bpmn:EventBasedGateway" && t.some(
|
|
145319
145319
|
(r) => r.element.elementId === i.di.bpmnElement.targetRef.id
|
|
145320
|
-
) ?
|
|
145320
|
+
) ? ui.state.viewer?.addMarker(
|
|
145321
145321
|
i.id,
|
|
145322
145322
|
"play-sequence-flow-taken"
|
|
145323
|
-
) :
|
|
145323
|
+
) : ui.state.viewer?.removeMarker(
|
|
145324
145324
|
i.id,
|
|
145325
145325
|
"play-sequence-flow-taken"
|
|
145326
145326
|
), () => {
|
|
145327
|
-
|
|
145327
|
+
ui.state.viewer?.removeMarker(
|
|
145328
145328
|
i.id,
|
|
145329
145329
|
"play-sequence-flow-taken"
|
|
145330
145330
|
);
|
|
@@ -145407,7 +145407,7 @@ const zWt = Et(({ element: i }) => {
|
|
|
145407
145407
|
o.current && I();
|
|
145408
145408
|
}, [t]), !b || !D)
|
|
145409
145409
|
return null;
|
|
145410
|
-
const F =
|
|
145410
|
+
const F = ui.getAvailableErrorEvents(i), U = [
|
|
145411
145411
|
{
|
|
145412
145412
|
label: L ? "Open Task Form" : "Complete Job",
|
|
145413
145413
|
renderIcon: () => /* @__PURE__ */ S.jsx(V, { color: "white" }),
|
|
@@ -145638,7 +145638,7 @@ const ZWt = Et(({ element: i }) => {
|
|
|
145638
145638
|
}, [k]), Fe(() => {
|
|
145639
145639
|
const B = dh(i), T = localStorage.getItem(
|
|
145640
145640
|
`jobCompletion ${Lt.processId} ${i.id}`
|
|
145641
|
-
), O = JSON.parse(T || "{}"), K = JSON.parse(B || "{}"), ee = M === "bpmn" &&
|
|
145641
|
+
), O = JSON.parse(T || "{}"), K = JSON.parse(B || "{}"), ee = M === "bpmn" && Rs(JSON.parse(L), K), ae = M === "cache" && Rs(JSON.parse(L), O);
|
|
145642
145642
|
b(!ee && !ae);
|
|
145643
145643
|
}, [L, i, M]);
|
|
145644
145644
|
const I = R?.form?.resource, F = F9e(() => {
|
|
@@ -145709,7 +145709,7 @@ const ZWt = Et(({ element: i }) => {
|
|
|
145709
145709
|
...K
|
|
145710
145710
|
}, ae = kV(F), we = ue(ee, ae);
|
|
145711
145711
|
let Xe = "none";
|
|
145712
|
-
|
|
145712
|
+
Rs(we, T) ? Xe = "bpmn" : Rs(we, O) && (Xe = "cache"), D(Xe), V(JSON.stringify(we)), b(!1);
|
|
145713
145713
|
const gt = new K2();
|
|
145714
145714
|
a.current = gt;
|
|
145715
145715
|
const { warnings: zn } = await gt.importSchema(F, we);
|
|
@@ -145735,7 +145735,7 @@ const ZWt = Et(({ element: i }) => {
|
|
|
145735
145735
|
...T,
|
|
145736
145736
|
...O
|
|
145737
145737
|
}, ae = ue(ee, K);
|
|
145738
|
-
T &&
|
|
145738
|
+
T && Rs(ae, T) ? D("bpmn") : D("none"), b(!1), V(JSON.stringify(ae));
|
|
145739
145739
|
const { warnings: we } = await a.current?.importSchema(
|
|
145740
145740
|
F,
|
|
145741
145741
|
ae
|
|
@@ -145746,7 +145746,7 @@ const ZWt = Et(({ element: i }) => {
|
|
|
145746
145746
|
o.current && ge();
|
|
145747
145747
|
}, [ge, t]), !A || !k)
|
|
145748
145748
|
return null;
|
|
145749
|
-
const de =
|
|
145749
|
+
const de = ui.getAvailableErrorEvents(i), { prefillData: Q, originalDataSource: W } = zv(i, !0), ke = [
|
|
145750
145750
|
{
|
|
145751
145751
|
label: I ? "Open Task Form" : W === "bpmn" ? "Complete job with example data" : W === "cache" ? "Complete job with cached data" : "Complete job",
|
|
145752
145752
|
renderIcon: () => /* @__PURE__ */ S.jsx(U, { color: "white" }),
|
|
@@ -146459,7 +146459,7 @@ const ZWt = Et(({ element: i }) => {
|
|
|
146459
146459
|
outline: none;
|
|
146460
146460
|
`, XWt = Et(
|
|
146461
146461
|
({ handleZoomReset: i, handleZoomIn: e, handleZoomOut: t, handleMinimap: n }) => {
|
|
146462
|
-
const { handleFullscreenToggle: r } =
|
|
146462
|
+
const { handleFullscreenToggle: r } = ui, { isFullscreenActive: s, isMinimapActive: o } = ui.state;
|
|
146463
146463
|
return /* @__PURE__ */ S.jsx(KWt, { children: /* @__PURE__ */ S.jsxs(YWt, { children: [
|
|
146464
146464
|
/* @__PURE__ */ S.jsx(
|
|
146465
146465
|
Bp,
|
|
@@ -146595,7 +146595,7 @@ const ZWt = Et(({ element: i }) => {
|
|
|
146595
146595
|
)
|
|
146596
146596
|
] });
|
|
146597
146597
|
}), njt = Et(({ xml: i }) => {
|
|
146598
|
-
const e = Pn(wr), t = nn(null), n = nn(null), r =
|
|
146598
|
+
const e = Pn(wr), t = nn(null), n = nn(null), r = ui.selectableFlowNodeIds, s = rh.state.selection?.flowNodeId, o = Ut.state.instanceKey, a = e.featureFlags.isAcademyVideoExperiment;
|
|
146599
146599
|
function l() {
|
|
146600
146600
|
return n.current === null && (n.current = new Gzt(e.featureFlags.newContextPadEnabled)), n.current;
|
|
146601
146601
|
}
|
|
@@ -146604,12 +146604,12 @@ const ZWt = Et(({ element: i }) => {
|
|
|
146604
146604
|
async function d() {
|
|
146605
146605
|
if (t.current) {
|
|
146606
146606
|
const u = s ? [s] : void 0;
|
|
146607
|
-
|
|
146607
|
+
ui.startLoading(), await c.render({
|
|
146608
146608
|
container: t.current,
|
|
146609
146609
|
xml: i,
|
|
146610
146610
|
selectableFlowNodeIds: r,
|
|
146611
146611
|
selectedFlowNodeIds: u
|
|
146612
|
-
}),
|
|
146612
|
+
}), ui.finishLoading(c);
|
|
146613
146613
|
}
|
|
146614
146614
|
}
|
|
146615
146615
|
d();
|
|
@@ -146623,7 +146623,7 @@ const ZWt = Et(({ element: i }) => {
|
|
|
146623
146623
|
$isSelectionAllowed: o !== void 0
|
|
146624
146624
|
}
|
|
146625
146625
|
),
|
|
146626
|
-
|
|
146626
|
+
ui.state.isLoaded && /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
|
|
146627
146627
|
/* @__PURE__ */ S.jsx(
|
|
146628
146628
|
XWt,
|
|
146629
146629
|
{
|
|
@@ -146634,7 +146634,7 @@ const ZWt = Et(({ element: i }) => {
|
|
|
146634
146634
|
}
|
|
146635
146635
|
),
|
|
146636
146636
|
a && /* @__PURE__ */ S.jsx(tjt, {}),
|
|
146637
|
-
|
|
146637
|
+
ui.elements?.map((d) => /* @__PURE__ */ S.jsx(
|
|
146638
146638
|
QWt,
|
|
146639
146639
|
{
|
|
146640
146640
|
element: d,
|
|
@@ -146928,7 +146928,7 @@ const ljt = G.div`
|
|
|
146928
146928
|
));
|
|
146929
146929
|
});
|
|
146930
146930
|
function djt(i) {
|
|
146931
|
-
return
|
|
146931
|
+
return vs(
|
|
146932
146932
|
() => Ro.elementInstances,
|
|
146933
146933
|
(e, t) => {
|
|
146934
146934
|
if (t.length === 0 && Ut.state.instanceType !== "NEW_INSTANCE")
|
|
@@ -146949,7 +146949,7 @@ function djt(i) {
|
|
|
146949
146949
|
);
|
|
146950
146950
|
}
|
|
146951
146951
|
function ujt(i) {
|
|
146952
|
-
return
|
|
146952
|
+
return vs(
|
|
146953
146953
|
() => Wv.state.messageSubscriptions,
|
|
146954
146954
|
(e, t) => {
|
|
146955
146955
|
if (t.length === 0 && Ut.state.instanceType !== "NEW_INSTANCE")
|
|
@@ -146985,7 +146985,7 @@ function ujt(i) {
|
|
|
146985
146985
|
);
|
|
146986
146986
|
}
|
|
146987
146987
|
function fjt(i) {
|
|
146988
|
-
return
|
|
146988
|
+
return vs(
|
|
146989
146989
|
() => Ro.elementInstances,
|
|
146990
146990
|
(e, t) => {
|
|
146991
146991
|
if (t.length === 0 && Ut.state.instanceType !== "NEW_INSTANCE")
|
|
@@ -147002,7 +147002,7 @@ function fjt(i) {
|
|
|
147002
147002
|
title: `"${o.elementName || o.elementId}" event sub-process started`,
|
|
147003
147003
|
actionButtonLabel: "Go to sub-process",
|
|
147004
147004
|
onActionButtonClick: () => {
|
|
147005
|
-
|
|
147005
|
+
ui.focusOnElement(o.elementId);
|
|
147006
147006
|
}
|
|
147007
147007
|
});
|
|
147008
147008
|
});
|
|
@@ -147439,7 +147439,7 @@ class gjt {
|
|
|
147439
147439
|
payload: {
|
|
147440
147440
|
clusterId: this.clusterId,
|
|
147441
147441
|
organizationId: this.organizationId,
|
|
147442
|
-
|
|
147442
|
+
processDefinitionKey: e
|
|
147443
147443
|
}
|
|
147444
147444
|
});
|
|
147445
147445
|
return {
|
|
@@ -147640,7 +147640,7 @@ const bt = new gjt(), $r = {
|
|
|
147640
147640
|
"SEND_TASK"
|
|
147641
147641
|
], vjt = /["|{]?secrets\.((\w|-)+)["|}]?/gm, R7 = `{
|
|
147642
147642
|
"variableName": "variableValue"
|
|
147643
|
-
}`, Xk =
|
|
147643
|
+
}`, Xk = 1e3, wjt = "New BPMN Diagram";
|
|
147644
147644
|
class X0 {
|
|
147645
147645
|
boundCallback;
|
|
147646
147646
|
intervalId = null;
|
|
@@ -147719,7 +147719,7 @@ class yjt extends X0 {
|
|
|
147719
147719
|
), t = this.state.processInstance?.key !== void 0 && e.includes(this.state.processInstance?.key);
|
|
147720
147720
|
this.setIsCalledProcess(t);
|
|
147721
147721
|
}
|
|
147722
|
-
), this.processManuallyCompletedDisposer =
|
|
147722
|
+
), this.processManuallyCompletedDisposer = vs(
|
|
147723
147723
|
() => this.state.processInstance?.state,
|
|
147724
147724
|
(e, t) => {
|
|
147725
147725
|
t !== void 0 && t !== "COMPLETED" && e === "COMPLETED" && !Jk() && this.setIsProcessManuallyCompleted(!0);
|
|
@@ -148231,7 +148231,7 @@ class Gjt {
|
|
|
148231
148231
|
this.state = { ...r9e };
|
|
148232
148232
|
};
|
|
148233
148233
|
}
|
|
148234
|
-
const
|
|
148234
|
+
const oi = new Gjt(), s9e = new Djt(), o9e = {
|
|
148235
148235
|
definitions: void 0,
|
|
148236
148236
|
elementsById: void 0,
|
|
148237
148237
|
isMinimapActive: !1,
|
|
@@ -148273,10 +148273,10 @@ let Qjt = class {
|
|
|
148273
148273
|
fetchLinkedStartForm = async () => {
|
|
148274
148274
|
if (this.startEventWithLinkedForm === void 0)
|
|
148275
148275
|
return;
|
|
148276
|
-
const t = (await
|
|
148277
|
-
|
|
148276
|
+
const t = (await oi.fetchFilesByFormId?.(
|
|
148277
|
+
oi.projectId,
|
|
148278
148278
|
i9e(this.startEventWithLinkedForm).formId
|
|
148279
|
-
))?.at(0)?.id, n = await
|
|
148279
|
+
))?.at(0)?.id, n = await oi.fetchFileById?.(
|
|
148280
148280
|
t
|
|
148281
148281
|
);
|
|
148282
148282
|
this.state.linkedStartForm = n?.content ?? "{}";
|
|
@@ -148390,7 +148390,7 @@ class Kjt extends X0 {
|
|
|
148390
148390
|
...r,
|
|
148391
148391
|
scopeKey: r.processInstanceKey
|
|
148392
148392
|
}));
|
|
148393
|
-
|
|
148393
|
+
Rs(n, this.state.elementInstances) || (this.state.elementInstances = n), this.state.status = "fetched";
|
|
148394
148394
|
};
|
|
148395
148395
|
startFetching = () => {
|
|
148396
148396
|
this.state.status = "fetching";
|
|
@@ -148474,7 +148474,7 @@ class Yjt extends X0 {
|
|
|
148474
148474
|
)) : t || this.handleError();
|
|
148475
148475
|
};
|
|
148476
148476
|
handleSuccess = (e) => {
|
|
148477
|
-
|
|
148477
|
+
Rs(e, this.state.incidents) || (this.state.incidents = e ?? []), this.state.status = "fetched";
|
|
148478
148478
|
};
|
|
148479
148479
|
updateRetries = async ({
|
|
148480
148480
|
jobKey: e,
|
|
@@ -148789,7 +148789,7 @@ let iZt = class extends X0 {
|
|
|
148789
148789
|
elementName: n.flowNodeName ?? null,
|
|
148790
148790
|
bpmnElementType: n.type
|
|
148791
148791
|
} : t.scopeKey === t.processInstanceKey && (r = {
|
|
148792
|
-
elementId:
|
|
148792
|
+
elementId: oi.processId,
|
|
148793
148793
|
elementName: null,
|
|
148794
148794
|
bpmnElementType: "PROCESS"
|
|
148795
148795
|
}), {
|
|
@@ -148914,7 +148914,7 @@ class sZt extends X0 {
|
|
|
148914
148914
|
);
|
|
148915
148915
|
}
|
|
148916
148916
|
handleSuccess = (e) => {
|
|
148917
|
-
|
|
148917
|
+
Rs(e, this.state.childInstances) || (this.state.childInstances = e ?? []), this.state.status = "fetched";
|
|
148918
148918
|
};
|
|
148919
148919
|
startFetching = () => {
|
|
148920
148920
|
this.state.status = "fetching";
|
|
@@ -148977,7 +148977,7 @@ const eN = new oZt(), w9e = {
|
|
|
148977
148977
|
};
|
|
148978
148978
|
class aZt extends X0 {
|
|
148979
148979
|
state = { ...w9e };
|
|
148980
|
-
|
|
148980
|
+
processDefinitionKey = void 0;
|
|
148981
148981
|
constructor() {
|
|
148982
148982
|
super(), yh(this, {
|
|
148983
148983
|
state: _i,
|
|
@@ -148988,7 +148988,7 @@ class aZt extends X0 {
|
|
|
148988
148988
|
});
|
|
148989
148989
|
}
|
|
148990
148990
|
init(e) {
|
|
148991
|
-
super.init(), this.
|
|
148991
|
+
super.init(), this.processDefinitionKey = e;
|
|
148992
148992
|
}
|
|
148993
148993
|
shouldRefreshDataAfterPollingStops = !1;
|
|
148994
148994
|
initialDataFetchCondition = () => !0;
|
|
@@ -149000,11 +149000,11 @@ class aZt extends X0 {
|
|
|
149000
149000
|
fetchInstances = async ({
|
|
149001
149001
|
ignoreFailure: e = !1
|
|
149002
149002
|
}) => {
|
|
149003
|
-
if (this.
|
|
149003
|
+
if (this.processDefinitionKey === void 0)
|
|
149004
149004
|
return;
|
|
149005
149005
|
this.startFetching();
|
|
149006
149006
|
const { success: t, processInstances: n } = await bt.fetchInstances(
|
|
149007
|
-
this.
|
|
149007
|
+
this.processDefinitionKey
|
|
149008
149008
|
);
|
|
149009
149009
|
t ? this.handleSuccess(n) : e || this.handleError();
|
|
149010
149010
|
};
|
|
@@ -149022,36 +149022,44 @@ class aZt extends X0 {
|
|
|
149022
149022
|
}
|
|
149023
149023
|
}
|
|
149024
149024
|
const tN = new aZt();
|
|
149025
|
-
function lZt(
|
|
149026
|
-
const [
|
|
149025
|
+
function lZt() {
|
|
149026
|
+
const [i, e] = ye(
|
|
149027
149027
|
() => lt.state.instanceKey
|
|
149028
|
+
), [t, n] = ye(
|
|
149029
|
+
() => oi.state.processDefinitionKey
|
|
149028
149030
|
);
|
|
149029
149031
|
Fe(
|
|
149030
|
-
() =>
|
|
149032
|
+
() => vs(
|
|
149031
149033
|
() => lt.state.instanceKey,
|
|
149032
|
-
(
|
|
149034
|
+
(a) => e(a)
|
|
149035
|
+
),
|
|
149036
|
+
[]
|
|
149037
|
+
), Fe(
|
|
149038
|
+
() => vs(
|
|
149039
|
+
() => oi.state.processDefinitionKey,
|
|
149040
|
+
(a) => n(a)
|
|
149033
149041
|
),
|
|
149034
149042
|
[]
|
|
149035
149043
|
);
|
|
149036
|
-
const
|
|
149037
|
-
async function(
|
|
149038
|
-
ld.fetchJobs({ instanceKey:
|
|
149039
|
-
instanceKey:
|
|
149040
|
-
}), K1.fetchIncidents(
|
|
149044
|
+
const r = U6(
|
|
149045
|
+
async function(l) {
|
|
149046
|
+
ld.fetchJobs({ instanceKey: l }), I6.fetchUserTasks(l), $k.fetchTimers({ instanceKey: l }), xy.fetchMessageSubscriptions({
|
|
149047
|
+
instanceKey: l
|
|
149048
|
+
}), K1.fetchIncidents(l), ua.fetchVariables({}), rs.fetchFlowNodeInstances(l), O6.fetchChildInstances({});
|
|
149041
149049
|
},
|
|
149042
149050
|
150
|
|
149043
|
-
),
|
|
149051
|
+
), s = U6(
|
|
149044
149052
|
async function() {
|
|
149045
149053
|
CV.fetchTimers(), yV.fetchMessageSubscriptions();
|
|
149046
149054
|
},
|
|
149047
149055
|
150
|
|
149048
|
-
),
|
|
149049
|
-
|
|
149056
|
+
), o = async function() {
|
|
149057
|
+
r(i), s();
|
|
149050
149058
|
};
|
|
149051
|
-
return Fe(() => (
|
|
149059
|
+
return Fe(() => (i ? (lt.init(), Xl.init(), eN.init(), I6.init(), rs.init(), ua.init(), O6.init(), K1.init()) : (K1.init(), tN.init(t)), () => {
|
|
149052
149060
|
ld.reset(), $k.reset(), K1.reset(), xy.reset(), I6.reset(), ua.reset(), O6.reset(), rs.reset(), Xl.reset(), eN.reset(), tN.reset();
|
|
149053
|
-
}), [
|
|
149054
|
-
reloadFailedAPIs:
|
|
149061
|
+
}), [i, t]), {
|
|
149062
|
+
reloadFailedAPIs: o
|
|
149055
149063
|
};
|
|
149056
149064
|
}
|
|
149057
149065
|
const qo = O9e({
|
|
@@ -150166,7 +150174,7 @@ const _Ut = G.span`
|
|
|
150166
150174
|
width: 100%;
|
|
150167
150175
|
}
|
|
150168
150176
|
`;
|
|
150169
|
-
function
|
|
150177
|
+
function Bs(i) {
|
|
150170
150178
|
const e = JSON.parse(
|
|
150171
150179
|
localStorage.getItem("historyEntries") || "[]"
|
|
150172
150180
|
);
|
|
@@ -150613,7 +150621,7 @@ const NUt = G(W9e)`
|
|
|
150613
150621
|
scope: i,
|
|
150614
150622
|
variablesString: w
|
|
150615
150623
|
});
|
|
150616
|
-
b && m !== void 0 && Lo(
|
|
150624
|
+
b && m !== void 0 && Lo(Bs(m.key), {
|
|
150617
150625
|
action: "setVariables",
|
|
150618
150626
|
variables: w
|
|
150619
150627
|
}), b || t.displayNotification?.error($r), l(!1), r(null);
|
|
@@ -150649,7 +150657,7 @@ const NUt = G(W9e)`
|
|
|
150649
150657
|
scope: i,
|
|
150650
150658
|
variablesString: b
|
|
150651
150659
|
});
|
|
150652
|
-
_ && m !== void 0 && Lo(
|
|
150660
|
+
_ && m !== void 0 && Lo(Bs(m.key), {
|
|
150653
150661
|
action: "setVariables",
|
|
150654
150662
|
variables: b
|
|
150655
150663
|
}), _ || t.displayNotification?.error($r), l(!1), r(null);
|
|
@@ -150792,7 +150800,7 @@ const qUt = G(f3)`
|
|
|
150792
150800
|
`, GUt = ({ scopeKey: i }) => {
|
|
150793
150801
|
const [e, t] = ye(!1), n = nn(null);
|
|
150794
150802
|
return Fe(() => {
|
|
150795
|
-
const r =
|
|
150803
|
+
const r = vs(
|
|
150796
150804
|
() => ua.state.variables,
|
|
150797
150805
|
(s, o) => {
|
|
150798
150806
|
[
|
|
@@ -150871,7 +150879,7 @@ const qUt = G(f3)`
|
|
|
150871
150879
|
const c = {
|
|
150872
150880
|
instance: {
|
|
150873
150881
|
key: l.key,
|
|
150874
|
-
flowNodeId:
|
|
150882
|
+
flowNodeId: oi.processId ?? "process",
|
|
150875
150883
|
type: "PROCESS",
|
|
150876
150884
|
startDate: l.startDate,
|
|
150877
150885
|
endDate: l.endDate ?? null,
|
|
@@ -150883,7 +150891,7 @@ const qUt = G(f3)`
|
|
|
150883
150891
|
children: [],
|
|
150884
150892
|
isSelected: Xl.isSelected({
|
|
150885
150893
|
flowNodeInstanceId: lt.state.instanceKey,
|
|
150886
|
-
flowNodeId:
|
|
150894
|
+
flowNodeId: oi.processId
|
|
150887
150895
|
})
|
|
150888
150896
|
};
|
|
150889
150897
|
o[l.key] = c, a.push(c);
|
|
@@ -151146,7 +151154,7 @@ class pqt {
|
|
|
151146
151154
|
};
|
|
151147
151155
|
}
|
|
151148
151156
|
const V0 = new pqt(), gqt = Et(() => {
|
|
151149
|
-
const { fileProblems: i } =
|
|
151157
|
+
const { fileProblems: i } = oi;
|
|
151150
151158
|
Fe(() => {
|
|
151151
151159
|
const t = () => {
|
|
151152
151160
|
document.visibilityState !== "hidden" && V0.getConnectorSecrets();
|
|
@@ -151219,7 +151227,7 @@ const V0 = new pqt(), gqt = Et(() => {
|
|
|
151219
151227
|
{
|
|
151220
151228
|
variant: "text",
|
|
151221
151229
|
onClick: () => {
|
|
151222
|
-
window.open(
|
|
151230
|
+
window.open(oi.consoleSecretsUrl);
|
|
151223
151231
|
},
|
|
151224
151232
|
children: "Update connector secret"
|
|
151225
151233
|
}
|
|
@@ -151228,7 +151236,7 @@ const V0 = new pqt(), gqt = Et(() => {
|
|
|
151228
151236
|
] })
|
|
151229
151237
|
] });
|
|
151230
151238
|
}), mqt = Et(() => {
|
|
151231
|
-
const { fileProblems: i } =
|
|
151239
|
+
const { fileProblems: i } = oi, e = V0.connectorElementsWithMissingSecrets, t = i.length + e.length, [n, r] = ye(
|
|
151232
151240
|
t > 0 ? "problems" : "instances"
|
|
151233
151241
|
), { instanceKey: s } = lt.state, o = rs.state.elementInstances?.filter(
|
|
151234
151242
|
(l) => l.type !== "SEQUENCE_FLOW"
|
|
@@ -151390,14 +151398,14 @@ const Eqt = Et(
|
|
|
151390
151398
|
({ close: i, switchToImplementMode: e }) => {
|
|
151391
151399
|
const t = nn(null), {
|
|
151392
151400
|
state: { status: n, isRedeployment: r }
|
|
151393
|
-
} =
|
|
151401
|
+
} = oi, {
|
|
151394
151402
|
connectorElementsWithMissingSecrets: s,
|
|
151395
151403
|
state: { isReady: o }
|
|
151396
|
-
} = V0, a =
|
|
151404
|
+
} = V0, a = oi.fileProblems.length > 0 || s.length > 0 || oi.hasDiagramError, l = oi.isEnvironmentCreated && o, { isLoaded: c } = Wi.state;
|
|
151397
151405
|
return Fe(() => {
|
|
151398
151406
|
c && V0.setupConnectors();
|
|
151399
151407
|
}, [c]), Fe(() => {
|
|
151400
|
-
c &&
|
|
151408
|
+
c && oi.setupEnvironment();
|
|
151401
151409
|
}, [c]), Fe(() => {
|
|
151402
151410
|
r && l && !a && i?.();
|
|
151403
151411
|
}, [r, l, a, i]), /* @__PURE__ */ S.jsx(vqt, { children: /* @__PURE__ */ S.jsxs(wqt, { children: [
|
|
@@ -151419,7 +151427,7 @@ const Eqt = Et(
|
|
|
151419
151427
|
label: "Progress",
|
|
151420
151428
|
helperText: _qt({
|
|
151421
151429
|
isDeployingFiles: n === "deploying-files",
|
|
151422
|
-
hasDiagramError:
|
|
151430
|
+
hasDiagramError: oi.hasDiagramError,
|
|
151423
151431
|
hasProblems: a
|
|
151424
151432
|
}),
|
|
151425
151433
|
value: xqt(l),
|
|
@@ -151429,7 +151437,7 @@ const Eqt = Et(
|
|
|
151429
151437
|
] }),
|
|
151430
151438
|
/* @__PURE__ */ S.jsx(yqt, { children: /* @__PURE__ */ S.jsx(S.Fragment, { children: (() => {
|
|
151431
151439
|
if (l) {
|
|
151432
|
-
if (
|
|
151440
|
+
if (oi.hasDiagramError)
|
|
151433
151441
|
return /* @__PURE__ */ S.jsx(
|
|
151434
151442
|
Mx,
|
|
151435
151443
|
{
|
|
@@ -151504,7 +151512,7 @@ class Tqt {
|
|
|
151504
151512
|
};
|
|
151505
151513
|
render = async (e) => {
|
|
151506
151514
|
const { container: t, xml: n, selectableFlowNodeIds: r, selectedFlowNodeIds: s } = e;
|
|
151507
|
-
if (this.#e === null && this.#d(t), this.#i !== n && (this.#i = n, await this.import(n)), !
|
|
151515
|
+
if (this.#e === null && this.#d(t), this.#i !== n && (this.#i = n, await this.import(n)), !Rs(this.#t, r)) {
|
|
151508
151516
|
this.#t.forEach((l) => {
|
|
151509
151517
|
this.#s(l, "play-selectable");
|
|
151510
151518
|
}), r.forEach((l) => {
|
|
@@ -151521,7 +151529,7 @@ class Tqt {
|
|
|
151521
151529
|
this.#r(l, "play-non-selectable");
|
|
151522
151530
|
}), this.#o = a ? a.map(({ id: l }) => l) : [];
|
|
151523
151531
|
}
|
|
151524
|
-
|
|
151532
|
+
Rs(this.#n?.sort(), s?.sort()) || (this.#n !== void 0 && (this.#n.forEach((o) => {
|
|
151525
151533
|
this.#s(o, "play-selected"), this.#s(o, "play-selected-frame");
|
|
151526
151534
|
}), this.selectedFlowNode = void 0), s !== void 0 && s.forEach((o) => {
|
|
151527
151535
|
this.#r(o, "play-selected"), this.#r(o, "play-selected-frame");
|
|
@@ -151826,7 +151834,7 @@ const Pqt = G.div`
|
|
|
151826
151834
|
messageId: b,
|
|
151827
151835
|
isStartEvent: s
|
|
151828
151836
|
});
|
|
151829
|
-
L?.success ? (L?.success && l !== void 0 && Lo(
|
|
151837
|
+
L?.success ? (L?.success && l !== void 0 && Lo(Bs(l.key), {
|
|
151830
151838
|
action: "publishMessage",
|
|
151831
151839
|
elementId: r,
|
|
151832
151840
|
messageName: p,
|
|
@@ -151955,7 +151963,7 @@ const Pqt = G.div`
|
|
|
151955
151963
|
isStartEvent: n
|
|
151956
151964
|
});
|
|
151957
151965
|
c?.success ? (c?.success && s !== void 0 && Lo(
|
|
151958
|
-
|
|
151966
|
+
Bs(s.key),
|
|
151959
151967
|
{
|
|
151960
151968
|
action: "publishMessage",
|
|
151961
151969
|
elementId: t.id,
|
|
@@ -152017,7 +152025,7 @@ const Pqt = G.div`
|
|
|
152017
152025
|
n
|
|
152018
152026
|
);
|
|
152019
152027
|
d ? (d && c !== void 0 && Lo(
|
|
152020
|
-
|
|
152028
|
+
Bs(c.key),
|
|
152021
152029
|
{
|
|
152022
152030
|
action: "timeTravel",
|
|
152023
152031
|
elementId: i.id,
|
|
@@ -152156,7 +152164,7 @@ const Pqt = G.div`
|
|
|
152156
152164
|
), aGt = Et(
|
|
152157
152165
|
({ element: i, isRestartMode: e }) => {
|
|
152158
152166
|
const t = Pn(qo), { definitions: n, elementsById: r } = Wi.state, [s, o] = ye(!1), a = nn(), l = nn(), c = nn(), [d, u] = ye(!1), [f, p] = ye(!1), [g, m] = ye(!0), A = DV(i), v = localStorage.getItem(
|
|
152159
|
-
`jobCompletion ${
|
|
152167
|
+
`jobCompletion ${oi.processId} ${i.id}`
|
|
152160
152168
|
);
|
|
152161
152169
|
Fe(() => {
|
|
152162
152170
|
!f && !s && m(!0);
|
|
@@ -152164,7 +152172,7 @@ const Pqt = G.div`
|
|
|
152164
152172
|
async function w(H, { data: R, errors: k }) {
|
|
152165
152173
|
if (Object.keys(k).length === 0) {
|
|
152166
152174
|
u(!0), localStorage.setItem(
|
|
152167
|
-
`jobCompletion ${
|
|
152175
|
+
`jobCompletion ${oi.processId} ${i.id}`,
|
|
152168
152176
|
JSON.stringify(R)
|
|
152169
152177
|
);
|
|
152170
152178
|
const I = await t.startInstance?.(JSON.stringify(R));
|
|
@@ -152318,7 +152326,7 @@ const Pqt = G.div`
|
|
|
152318
152326
|
] });
|
|
152319
152327
|
}
|
|
152320
152328
|
), lGt = Et(({ childInstance: i }) => {
|
|
152321
|
-
const { deployedFiles: e } =
|
|
152329
|
+
const { deployedFiles: e } = oi.state;
|
|
152322
152330
|
return /* @__PURE__ */ S.jsx(
|
|
152323
152331
|
J0,
|
|
152324
152332
|
{
|
|
@@ -152554,7 +152562,7 @@ const fGt = G.form`
|
|
|
152554
152562
|
variablesString: a
|
|
152555
152563
|
}))
|
|
152556
152564
|
f !== void 0 && Lo(
|
|
152557
|
-
|
|
152565
|
+
Bs(f.key),
|
|
152558
152566
|
{
|
|
152559
152567
|
action: "setVariables",
|
|
152560
152568
|
variables: a
|
|
@@ -152571,11 +152579,11 @@ const fGt = G.form`
|
|
|
152571
152579
|
return;
|
|
152572
152580
|
}
|
|
152573
152581
|
nh.trackResolveIncident(
|
|
152574
|
-
|
|
152582
|
+
oi.processId
|
|
152575
152583
|
), (await K1.resolveIncident(
|
|
152576
152584
|
e.key
|
|
152577
152585
|
))?.success === !1 ? t.displayNotification?.error($r) : f !== void 0 && Lo(
|
|
152578
|
-
|
|
152586
|
+
Bs(f.key),
|
|
152579
152587
|
{
|
|
152580
152588
|
action: "resolveIncident",
|
|
152581
152589
|
elementId: i.id,
|
|
@@ -152614,7 +152622,7 @@ const fGt = G.form`
|
|
|
152614
152622
|
l.key
|
|
152615
152623
|
);
|
|
152616
152624
|
c && a !== void 0 && Lo(
|
|
152617
|
-
|
|
152625
|
+
Bs(a.key),
|
|
152618
152626
|
{
|
|
152619
152627
|
action: "invokeConnector",
|
|
152620
152628
|
elementId: i.id
|
|
@@ -152648,7 +152656,7 @@ const fGt = G.form`
|
|
|
152648
152656
|
jobKey: l.key,
|
|
152649
152657
|
variables: c
|
|
152650
152658
|
});
|
|
152651
|
-
d && a !== void 0 && Lo(
|
|
152659
|
+
d && a !== void 0 && Lo(Bs(a.key), {
|
|
152652
152660
|
action: "completeJob",
|
|
152653
152661
|
type: "serviceTask",
|
|
152654
152662
|
elementId: i.id,
|
|
@@ -152722,7 +152730,7 @@ const CGt = Et(({ element: i }) => {
|
|
|
152722
152730
|
!r && !t && V(!0);
|
|
152723
152731
|
}, [r, t]);
|
|
152724
152732
|
const Y = U ? lIe : N3, se = DV(i), ge = localStorage.getItem(
|
|
152725
|
-
`jobCompletion ${
|
|
152733
|
+
`jobCompletion ${oi.processId} ${i.id}`
|
|
152726
152734
|
);
|
|
152727
152735
|
async function ue(W, { data: ce, errors: ke }) {
|
|
152728
152736
|
if (Object.keys(ke).length === 0) {
|
|
@@ -152732,13 +152740,13 @@ const CGt = Et(({ element: i }) => {
|
|
|
152732
152740
|
variables: JSON.stringify(ce),
|
|
152733
152741
|
isZeebeUserTask: I?.implementation === "ZEEBE_USER_TASK"
|
|
152734
152742
|
});
|
|
152735
|
-
B && R !== void 0 && Lo(
|
|
152743
|
+
B && R !== void 0 && Lo(Bs(R.key), {
|
|
152736
152744
|
action: "completeJob",
|
|
152737
152745
|
type: "userTask",
|
|
152738
152746
|
elementId: i.id,
|
|
152739
152747
|
variables: JSON.stringify(ce)
|
|
152740
152748
|
}), B ? Lx(i, e) : e.displayNotification?.error($r), localStorage.setItem(
|
|
152741
|
-
`jobCompletion ${
|
|
152749
|
+
`jobCompletion ${oi.processId} ${i.id}`,
|
|
152742
152750
|
JSON.stringify(ce)
|
|
152743
152751
|
);
|
|
152744
152752
|
}
|
|
@@ -152801,7 +152809,7 @@ const CGt = Et(({ element: i }) => {
|
|
|
152801
152809
|
W = await ld.completeJob({
|
|
152802
152810
|
// jobKey: myJob?.key, // TODO: https://github.com/camunda/play/issues/226
|
|
152803
152811
|
});
|
|
152804
|
-
W && R !== void 0 && Lo(
|
|
152812
|
+
W && R !== void 0 && Lo(Bs(R.key), {
|
|
152805
152813
|
action: "completeJob",
|
|
152806
152814
|
type: i.type === "bpmn:UserTask" ? "userTask" : "serviceTask",
|
|
152807
152815
|
elementId: i.id
|
|
@@ -152873,7 +152881,7 @@ const CGt = Et(({ element: i }) => {
|
|
|
152873
152881
|
// jobKey: myJob?.key, // TODO: https://github.com/camunda/play/issues/226
|
|
152874
152882
|
variables: W
|
|
152875
152883
|
});
|
|
152876
|
-
ce && R !== void 0 && Lo(
|
|
152884
|
+
ce && R !== void 0 && Lo(Bs(R.key), {
|
|
152877
152885
|
action: "completeJob",
|
|
152878
152886
|
type: i.type === "bpmn:UserTask" ? "userTask" : "serviceTask",
|
|
152879
152887
|
elementId: i.id,
|
|
@@ -152921,7 +152929,7 @@ const CGt = Et(({ element: i }) => {
|
|
|
152921
152929
|
errorMessage: m
|
|
152922
152930
|
});
|
|
152923
152931
|
W && R !== void 0 && Lo(
|
|
152924
|
-
|
|
152932
|
+
Bs(R.key),
|
|
152925
152933
|
{
|
|
152926
152934
|
action: "failJob",
|
|
152927
152935
|
elementId: i.id,
|
|
@@ -152985,7 +152993,7 @@ const CGt = Et(({ element: i }) => {
|
|
|
152985
152993
|
errorMessage: m
|
|
152986
152994
|
});
|
|
152987
152995
|
W && R !== void 0 && Lo(
|
|
152988
|
-
|
|
152996
|
+
Bs(R.key),
|
|
152989
152997
|
{
|
|
152990
152998
|
action: "throwJob",
|
|
152991
152999
|
elementId: i.id,
|
|
@@ -153115,7 +153123,7 @@ const CGt = Et(({ element: i }) => {
|
|
|
153115
153123
|
}
|
|
153116
153124
|
nh.trackRewindedInstanceStart(v);
|
|
153117
153125
|
const w = SUt(
|
|
153118
|
-
|
|
153126
|
+
Bs(a.key)
|
|
153119
153127
|
), b = [];
|
|
153120
153128
|
for (const D of w) {
|
|
153121
153129
|
if (D.action !== "setVariables" && D.elementId === i.id)
|
|
@@ -153199,7 +153207,7 @@ const CGt = Et(({ element: i }) => {
|
|
|
153199
153207
|
i.id
|
|
153200
153208
|
);
|
|
153201
153209
|
e.rewindProcess.endRewinding(), xUt(
|
|
153202
|
-
|
|
153210
|
+
Bs(v),
|
|
153203
153211
|
b
|
|
153204
153212
|
), a.state === "ACTIVE" && bt.terminateProcessInstance(o), lt.setInstanceDetails({
|
|
153205
153213
|
instanceKey: v,
|
|
@@ -153223,7 +153231,7 @@ const CGt = Et(({ element: i }) => {
|
|
|
153223
153231
|
}
|
|
153224
153232
|
) });
|
|
153225
153233
|
}), xGt = Et(({ element: i, addOverlay: e }) => {
|
|
153226
|
-
const { instanceKey: t } = lt.state, { fileProblems: n } =
|
|
153234
|
+
const { instanceKey: t } = lt.state, { fileProblems: n } = oi, r = !t && n.find(
|
|
153227
153235
|
(M) => M.elementBusinessObject.id === i.businessObject?.id
|
|
153228
153236
|
);
|
|
153229
153237
|
if (r) {
|
|
@@ -153827,7 +153835,7 @@ const VGt = G.div`
|
|
|
153827
153835
|
));
|
|
153828
153836
|
});
|
|
153829
153837
|
function BGt(i) {
|
|
153830
|
-
return
|
|
153838
|
+
return vs(
|
|
153831
153839
|
() => rs.elementInstances,
|
|
153832
153840
|
(e, t) => {
|
|
153833
153841
|
if (t.length === 0 && lt.state.instanceType !== "NEW_INSTANCE")
|
|
@@ -153848,7 +153856,7 @@ function BGt(i) {
|
|
|
153848
153856
|
);
|
|
153849
153857
|
}
|
|
153850
153858
|
function PGt(i) {
|
|
153851
|
-
return
|
|
153859
|
+
return vs(
|
|
153852
153860
|
() => xy.state.messageSubscriptions,
|
|
153853
153861
|
(e, t) => {
|
|
153854
153862
|
if (t.length === 0 && lt.state.instanceType !== "NEW_INSTANCE")
|
|
@@ -153884,7 +153892,7 @@ function PGt(i) {
|
|
|
153884
153892
|
);
|
|
153885
153893
|
}
|
|
153886
153894
|
function FGt(i) {
|
|
153887
|
-
return
|
|
153895
|
+
return vs(
|
|
153888
153896
|
() => rs.elementInstances,
|
|
153889
153897
|
(e, t) => {
|
|
153890
153898
|
if (t.length === 0 && lt.state.instanceType !== "NEW_INSTANCE")
|
|
@@ -153934,11 +153942,11 @@ const UYt = ({
|
|
|
153934
153942
|
lt.setInstanceDetails({
|
|
153935
153943
|
instanceKey: k.instance,
|
|
153936
153944
|
instanceType: "EXISTING_INSTANCE"
|
|
153937
|
-
}),
|
|
153945
|
+
}), oi.setDeployedFiles(k.deployedFiles);
|
|
153938
153946
|
}
|
|
153939
153947
|
const [_, x] = ye(!b), [M, D] = ye(!1);
|
|
153940
153948
|
Fe(
|
|
153941
|
-
() =>
|
|
153949
|
+
() => vs(
|
|
153942
153950
|
() => lt.state.status,
|
|
153943
153951
|
(k) => {
|
|
153944
153952
|
D(k === "first-fetch");
|
|
@@ -153946,7 +153954,7 @@ const UYt = ({
|
|
|
153946
153954
|
),
|
|
153947
153955
|
[]
|
|
153948
153956
|
), Fe(() => () => {
|
|
153949
|
-
lt.reset(), V0.reset(),
|
|
153957
|
+
lt.reset(), V0.reset(), oi.reset(), Wi.reset();
|
|
153950
153958
|
}, []), Fe(() => {
|
|
153951
153959
|
nh.init(d), bt.init({
|
|
153952
153960
|
handlePostRequest: f,
|
|
@@ -153955,7 +153963,7 @@ const UYt = ({
|
|
|
153955
153963
|
organizationId: l
|
|
153956
153964
|
});
|
|
153957
153965
|
}, []), Fe(() => {
|
|
153958
|
-
|
|
153966
|
+
oi.init({
|
|
153959
153967
|
projectId: r,
|
|
153960
153968
|
processId: s,
|
|
153961
153969
|
processName: o,
|
|
@@ -153982,9 +153990,7 @@ const UYt = ({
|
|
|
153982
153990
|
l,
|
|
153983
153991
|
w
|
|
153984
153992
|
]);
|
|
153985
|
-
const L = lZt(
|
|
153986
|
-
processId: s
|
|
153987
|
-
}), V = OGt();
|
|
153993
|
+
const L = lZt(), V = OGt();
|
|
153988
153994
|
Fe(() => {
|
|
153989
153995
|
if (!V.isRewinding) {
|
|
153990
153996
|
const k = BGt(c), I = PGt(c), F = FGt(c);
|
|
@@ -153993,17 +153999,17 @@ const UYt = ({
|
|
|
153993
153999
|
};
|
|
153994
154000
|
}
|
|
153995
154001
|
}, [c, V.isRewinding]);
|
|
153996
|
-
function H(
|
|
153997
|
-
return new Promise((
|
|
153998
|
-
let
|
|
153999
|
-
const
|
|
154000
|
-
bt.fetchInstances(
|
|
154001
|
-
|
|
154002
|
-
const
|
|
154003
|
-
if (
|
|
154004
|
-
return clearInterval(
|
|
154005
|
-
if (
|
|
154006
|
-
return clearInterval(
|
|
154002
|
+
function H() {
|
|
154003
|
+
return new Promise((k, I) => {
|
|
154004
|
+
let F = 6;
|
|
154005
|
+
const U = setInterval(() => {
|
|
154006
|
+
bt.fetchInstances(oi.state.processDefinitionKey).then(({ processInstances: Y }) => {
|
|
154007
|
+
F--;
|
|
154008
|
+
const se = Y[0];
|
|
154009
|
+
if (se)
|
|
154010
|
+
return clearInterval(U), k(se.key);
|
|
154011
|
+
if (F === 0)
|
|
154012
|
+
return clearInterval(U), I();
|
|
154007
154013
|
});
|
|
154008
154014
|
}, 250);
|
|
154009
154015
|
});
|
|
@@ -154028,7 +154034,7 @@ const UYt = ({
|
|
|
154028
154034
|
return !1;
|
|
154029
154035
|
if (I)
|
|
154030
154036
|
try {
|
|
154031
|
-
const U = await H(
|
|
154037
|
+
const U = await H();
|
|
154032
154038
|
lt.reset(), lt.setInstanceDetails({
|
|
154033
154039
|
instanceKey: U,
|
|
154034
154040
|
instanceType: "NEW_INSTANCE"
|
|
@@ -154041,7 +154047,7 @@ const UYt = ({
|
|
|
154041
154047
|
startNewInstanceWithTimer: async (k) => {
|
|
154042
154048
|
if ((await bt.timeTravel({ dateTime: k }))?.success !== !1)
|
|
154043
154049
|
try {
|
|
154044
|
-
return await H(
|
|
154050
|
+
return await H();
|
|
154045
154051
|
} catch {
|
|
154046
154052
|
console.error("Could not get new instance");
|
|
154047
154053
|
return;
|
|
@@ -154065,7 +154071,7 @@ const UYt = ({
|
|
|
154065
154071
|
return { success: !1, instanceId: void 0 };
|
|
154066
154072
|
let ue;
|
|
154067
154073
|
try {
|
|
154068
|
-
return se && (ue = await H(
|
|
154074
|
+
return se && (ue = await H(), lt.reset(), lt.setInstanceDetails({
|
|
154069
154075
|
instanceKey: ue,
|
|
154070
154076
|
instanceType: "NEW_INSTANCE"
|
|
154071
154077
|
}), nh.trackInstanceStart(s)), { success: !0, instanceId: ue };
|