@camunda/play 1.16.0 → 1.16.1
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 +418 -418
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -746,7 +746,7 @@ function tT(i) {
|
|
|
746
746
|
}
|
|
747
747
|
var ag = function() {
|
|
748
748
|
};
|
|
749
|
-
function
|
|
749
|
+
function wr(i) {
|
|
750
750
|
return typeof i == "function";
|
|
751
751
|
}
|
|
752
752
|
function S1(i) {
|
|
@@ -1131,7 +1131,7 @@ function RVe(i, e) {
|
|
|
1131
1131
|
}
|
|
1132
1132
|
function HVe(i, e, t, n) {
|
|
1133
1133
|
var r = e.annotationType_, s = n.value;
|
|
1134
|
-
process.env.NODE_ENV !== "production" && !
|
|
1134
|
+
process.env.NODE_ENV !== "production" && !wr(s) && Xe("Cannot apply '" + r + "' to '" + i.name_ + "." + t.toString() + "':" + (`
|
|
1135
1135
|
'` + r + "' can only be used on properties with a function value."));
|
|
1136
1136
|
}
|
|
1137
1137
|
function xCe(i, e, t, n, r) {
|
|
@@ -1195,7 +1195,7 @@ function FVe(i, e) {
|
|
|
1195
1195
|
}
|
|
1196
1196
|
function zVe(i, e, t, n) {
|
|
1197
1197
|
var r = e.annotationType_, s = n.value;
|
|
1198
|
-
process.env.NODE_ENV !== "production" && !
|
|
1198
|
+
process.env.NODE_ENV !== "production" && !wr(s) && Xe("Cannot apply '" + r + "' to '" + i.name_ + "." + t.toString() + "':" + (`
|
|
1199
1199
|
'` + r + "' can only be used on properties with a generator function value."));
|
|
1200
1200
|
}
|
|
1201
1201
|
function DCe(i, e, t, n, r, s) {
|
|
@@ -1430,7 +1430,7 @@ var hRe = {
|
|
|
1430
1430
|
return Em(e, t, _S);
|
|
1431
1431
|
if (Ho(e))
|
|
1432
1432
|
return nc(rT(TCe, e));
|
|
1433
|
-
process.env.NODE_ENV !== "production" && (
|
|
1433
|
+
process.env.NODE_ENV !== "production" && (wr(e) || Xe("First argument to `computed` should be an expression."), wr(t) && Xe("A setter as second argument is no longer supported, use `{ set: fn }` option instead"));
|
|
1434
1434
|
var n = Ho(t) ? t : {};
|
|
1435
1435
|
return n.get = e, n.name || (n.name = e.name || ""), new vl(n);
|
|
1436
1436
|
};
|
|
@@ -1444,7 +1444,7 @@ var HR, BR, u8 = 0, fRe = 1, pRe = (HR = (BR = /* @__PURE__ */ c8(function() {
|
|
|
1444
1444
|
enumerable: !1
|
|
1445
1445
|
};
|
|
1446
1446
|
function _0(i, e, t, n) {
|
|
1447
|
-
t === void 0 && (t = !1), process.env.NODE_ENV !== "production" && (
|
|
1447
|
+
t === void 0 && (t = !1), process.env.NODE_ENV !== "production" && (wr(e) || Xe("`action` can only be invoked on functions"), (typeof i != "string" || !i) && Xe("actions should have valid names, got: '" + i + "'"));
|
|
1448
1448
|
function r() {
|
|
1449
1449
|
return gRe(i, t, e, n || this, arguments);
|
|
1450
1450
|
}
|
|
@@ -2114,9 +2114,9 @@ var oT = "action", LRe = "action.bound", ZCe = "autoAction", NRe = "autoAction.b
|
|
|
2114
2114
|
});
|
|
2115
2115
|
function UCe(i) {
|
|
2116
2116
|
var e = function(n, r) {
|
|
2117
|
-
if (
|
|
2117
|
+
if (wr(n))
|
|
2118
2118
|
return _0(n.name || TRe, n, i);
|
|
2119
|
-
if (
|
|
2119
|
+
if (wr(r))
|
|
2120
2120
|
return _0(n, r, i);
|
|
2121
2121
|
if (U3(r))
|
|
2122
2122
|
return (i ? MS : DS).decorate_20223_(n, r);
|
|
@@ -2138,11 +2138,11 @@ Object.assign(dw, MS);
|
|
|
2138
2138
|
An.bound = /* @__PURE__ */ nc(IRe);
|
|
2139
2139
|
dw.bound = /* @__PURE__ */ nc(ORe);
|
|
2140
2140
|
function G3(i) {
|
|
2141
|
-
return
|
|
2141
|
+
return wr(i) && i.isMobxAction === !0;
|
|
2142
2142
|
}
|
|
2143
2143
|
function aT(i, e) {
|
|
2144
2144
|
var t, n, r, s;
|
|
2145
|
-
e === void 0 && (e = eT), process.env.NODE_ENV !== "production" && (
|
|
2145
|
+
e === void 0 && (e = eT), process.env.NODE_ENV !== "production" && (wr(i) || Xe("Autorun expects a function as first argument"), G3(i) && Xe("Autorun does not accept actions since actions are untrackable"));
|
|
2146
2146
|
var o = (t = (n = e) == null ? void 0 : n.name) != null ? t : process.env.NODE_ENV !== "production" ? i.name || "Autorun@" + La() : "Autorun", a = !e.scheduler && !e.delay, l;
|
|
2147
2147
|
if (a)
|
|
2148
2148
|
l = new wl(o, function() {
|
|
@@ -2171,7 +2171,7 @@ function qCe(i) {
|
|
|
2171
2171
|
}
|
|
2172
2172
|
function is(i, e, t) {
|
|
2173
2173
|
var n, r, s;
|
|
2174
|
-
t === void 0 && (t = eT), process.env.NODE_ENV !== "production" && ((!
|
|
2174
|
+
t === void 0 && (t = eT), process.env.NODE_ENV !== "production" && ((!wr(i) || !wr(e)) && Xe("First and second argument to reaction should be functions"), Ho(t) || Xe("Third argument of reactions should be an object"));
|
|
2175
2175
|
var o = (n = t.name) != null ? n : process.env.NODE_ENV !== "production" ? "Reaction@" + La() : "Reaction", a = An(o, t.onError ? RRe(t.onError, e) : e), l = !t.scheduler && !t.delay, c = qCe(t), h = !0, u = !1, f, p = t.compareStructural ? D1.structural : t.equals || D1.default, g = new wl(o, function() {
|
|
2176
2176
|
h || l ? m() : u || (u = !0, c(m));
|
|
2177
2177
|
}, t.onError, t.requiresObservable);
|
|
@@ -2205,7 +2205,7 @@ function GCe(i, e, t) {
|
|
|
2205
2205
|
return QCe(BRe, i, e, t);
|
|
2206
2206
|
}
|
|
2207
2207
|
function QCe(i, e, t, n) {
|
|
2208
|
-
var r = typeof n == "function" ? E0(e, t) : E0(e), s =
|
|
2208
|
+
var r = typeof n == "function" ? E0(e, t) : E0(e), s = wr(n) ? n : t, o = i + "L";
|
|
2209
2209
|
return r[o] ? r[o].add(s) : r[o] = /* @__PURE__ */ new Set([s]), function() {
|
|
2210
2210
|
var a = r[o];
|
|
2211
2211
|
a && (a.delete(s), a.size === 0 && delete r[o]);
|
|
@@ -2288,7 +2288,7 @@ var S_ = /* @__PURE__ */ SCe("flow"), URe = /* @__PURE__ */ SCe("flow.bound", {
|
|
|
2288
2288
|
b(_);
|
|
2289
2289
|
}
|
|
2290
2290
|
function b(C) {
|
|
2291
|
-
if (
|
|
2291
|
+
if (wr(C?.then)) {
|
|
2292
2292
|
C.then(b, m);
|
|
2293
2293
|
return;
|
|
2294
2294
|
}
|
|
@@ -2310,7 +2310,7 @@ var S_ = /* @__PURE__ */ SCe("flow"), URe = /* @__PURE__ */ SCe("flow.bound", {
|
|
|
2310
2310
|
}, S_);
|
|
2311
2311
|
_2.bound = /* @__PURE__ */ nc(URe);
|
|
2312
2312
|
function zR(i) {
|
|
2313
|
-
|
|
2313
|
+
wr(i.cancel) && i.cancel();
|
|
2314
2314
|
}
|
|
2315
2315
|
function uw(i) {
|
|
2316
2316
|
return i?.isMobXFlow === !0;
|
|
@@ -2775,7 +2775,7 @@ function Y3(i) {
|
|
|
2775
2775
|
var nHe = {}, zu = "add", m8 = "delete", t7e = /* @__PURE__ */ function() {
|
|
2776
2776
|
function i(t, n, r) {
|
|
2777
2777
|
var s = this;
|
|
2778
|
-
n === void 0 && (n = M1), r === void 0 && (r = process.env.NODE_ENV !== "production" ? "ObservableMap@" + La() : "ObservableMap"), this.enhancer_ = void 0, this.name_ = void 0, this[Tt] = nHe, this.data_ = void 0, this.hasMap_ = void 0, this.keysAtom_ = void 0, this.interceptors_ = void 0, this.changeListeners_ = void 0, this.dehancer = void 0, this.enhancer_ = n, this.name_ = r,
|
|
2778
|
+
n === void 0 && (n = M1), r === void 0 && (r = process.env.NODE_ENV !== "production" ? "ObservableMap@" + La() : "ObservableMap"), this.enhancer_ = void 0, this.name_ = void 0, this[Tt] = nHe, this.data_ = void 0, this.hasMap_ = void 0, this.keysAtom_ = void 0, this.interceptors_ = void 0, this.changeListeners_ = void 0, this.dehancer = void 0, this.enhancer_ = n, this.name_ = r, wr(Map) || Xe(18), $0(function() {
|
|
2779
2779
|
s.keysAtom_ = iT(process.env.NODE_ENV !== "production" ? s.name_ + ".keys()" : "ObservableMap.keys()"), s.data_ = /* @__PURE__ */ new Map(), s.hasMap_ = /* @__PURE__ */ new Map(), t && s.merge(t);
|
|
2780
2780
|
});
|
|
2781
2781
|
}
|
|
@@ -2993,7 +2993,7 @@ function iHe(i) {
|
|
|
2993
2993
|
var rHe = {}, n7e = /* @__PURE__ */ function() {
|
|
2994
2994
|
function i(t, n, r) {
|
|
2995
2995
|
var s = this;
|
|
2996
|
-
n === void 0 && (n = M1), r === void 0 && (r = process.env.NODE_ENV !== "production" ? "ObservableSet@" + La() : "ObservableSet"), this.name_ = void 0, this[Tt] = rHe, this.data_ = /* @__PURE__ */ new Set(), this.atom_ = void 0, this.changeListeners_ = void 0, this.interceptors_ = void 0, this.dehancer = void 0, this.enhancer_ = void 0, this.name_ = r,
|
|
2996
|
+
n === void 0 && (n = M1), r === void 0 && (r = process.env.NODE_ENV !== "production" ? "ObservableSet@" + La() : "ObservableSet"), this.name_ = void 0, this[Tt] = rHe, this.data_ = /* @__PURE__ */ new Set(), this.atom_ = void 0, this.changeListeners_ = void 0, this.interceptors_ = void 0, this.dehancer = void 0, this.enhancer_ = void 0, this.name_ = r, wr(Set) || Xe(22), this.enhancer_ = function(o, a) {
|
|
2997
2997
|
return n(o, a, r);
|
|
2998
2998
|
}, $0(function() {
|
|
2999
2999
|
s.atom_ = iT(s.name_), t && s.replace(t);
|
|
@@ -3542,7 +3542,7 @@ function E0(i, e) {
|
|
|
3542
3542
|
}
|
|
3543
3543
|
if (nT(i) || wC(i) || p8(i))
|
|
3544
3544
|
return i;
|
|
3545
|
-
} else if (
|
|
3545
|
+
} else if (wr(i) && p8(i[Tt]))
|
|
3546
3546
|
return i[Tt];
|
|
3547
3547
|
Xe(28);
|
|
3548
3548
|
}
|
|
@@ -3614,7 +3614,7 @@ function LS(i, e, t, n, r) {
|
|
|
3614
3614
|
if (typeof i != "object" || typeof e != "object")
|
|
3615
3615
|
return !1;
|
|
3616
3616
|
var l = i.constructor, c = e.constructor;
|
|
3617
|
-
if (l !== c && !(
|
|
3617
|
+
if (l !== c && !(wr(l) && l instanceof l && wr(c) && c instanceof c) && "constructor" in i && "constructor" in e)
|
|
3618
3618
|
return !1;
|
|
3619
3619
|
}
|
|
3620
3620
|
if (t === 0)
|
|
@@ -3651,7 +3651,7 @@ function dHe() {
|
|
|
3651
3651
|
function o7e(i) {
|
|
3652
3652
|
return (
|
|
3653
3653
|
// Can be function
|
|
3654
|
-
i instanceof Object && typeof i.annotationType_ == "string" &&
|
|
3654
|
+
i instanceof Object && typeof i.annotationType_ == "string" && wr(i.make_) && wr(i.extend_)
|
|
3655
3655
|
);
|
|
3656
3656
|
}
|
|
3657
3657
|
["Symbol", "Map", "Set"].forEach(function(i) {
|
|
@@ -5830,7 +5830,7 @@ function iPe({ processId: i }) {
|
|
|
5830
5830
|
reloadFailedAPIs: A
|
|
5831
5831
|
};
|
|
5832
5832
|
}
|
|
5833
|
-
const
|
|
5833
|
+
const yr = qye({
|
|
5834
5834
|
featureFlags: {
|
|
5835
5835
|
newContextPadEnabled: !1,
|
|
5836
5836
|
isAcademyVideoExperiment: !1,
|
|
@@ -29714,7 +29714,7 @@ let Mrt = class {
|
|
|
29714
29714
|
};
|
|
29715
29715
|
};
|
|
29716
29716
|
const BS = new Mrt(), krt = xt(() => {
|
|
29717
|
-
const i = Fn(
|
|
29717
|
+
const i = Fn(yr), { instanceKey: e, processInstance: t } = Gt.state, n = BS.state.status === "error" || T1.state.status === "error" || Aw.state.status === "error" || _C.state.status === "error" || vw.state.status === "error" || y8.state.status === "error" || EC.state.status === "error" || ol.state.status === "error" || ns.state.status === "error" || C8.state.status === "error" || Bo.state.status === "error" || Gt.state.status === "error";
|
|
29718
29718
|
if (n)
|
|
29719
29719
|
return /* @__PURE__ */ S.jsx(TAe, { children: /* @__PURE__ */ S.jsx(IAe, { isOpen: n, onClick: i.reloadFailedAPIs }) });
|
|
29720
29720
|
if (!e || !t)
|
|
@@ -29851,7 +29851,7 @@ const Wrt = G.span`
|
|
|
29851
29851
|
width: 100%;
|
|
29852
29852
|
}
|
|
29853
29853
|
`;
|
|
29854
|
-
function
|
|
29854
|
+
function Dr(i) {
|
|
29855
29855
|
const e = JSON.parse(
|
|
29856
29856
|
localStorage.getItem("historyEntries") || "[]"
|
|
29857
29857
|
);
|
|
@@ -30822,24 +30822,24 @@ function Dst(i) {
|
|
|
30822
30822
|
return 5;
|
|
30823
30823
|
}
|
|
30824
30824
|
}
|
|
30825
|
-
var
|
|
30825
|
+
var mr;
|
|
30826
30826
|
(function(i) {
|
|
30827
30827
|
i[i.Line = 1] = "Line", i[i.Block = 2] = "Block", i[i.Underline = 3] = "Underline", i[i.LineThin = 4] = "LineThin", i[i.BlockOutline = 5] = "BlockOutline", i[i.UnderlineThin = 6] = "UnderlineThin";
|
|
30828
|
-
})(
|
|
30828
|
+
})(mr || (mr = {}));
|
|
30829
30829
|
function Mst(i) {
|
|
30830
30830
|
switch (i) {
|
|
30831
30831
|
case "line":
|
|
30832
|
-
return
|
|
30832
|
+
return mr.Line;
|
|
30833
30833
|
case "block":
|
|
30834
|
-
return
|
|
30834
|
+
return mr.Block;
|
|
30835
30835
|
case "underline":
|
|
30836
|
-
return
|
|
30836
|
+
return mr.Underline;
|
|
30837
30837
|
case "line-thin":
|
|
30838
|
-
return
|
|
30838
|
+
return mr.LineThin;
|
|
30839
30839
|
case "block-outline":
|
|
30840
|
-
return
|
|
30840
|
+
return mr.BlockOutline;
|
|
30841
30841
|
case "underline-thin":
|
|
30842
|
-
return
|
|
30842
|
+
return mr.UnderlineThin;
|
|
30843
30843
|
}
|
|
30844
30844
|
}
|
|
30845
30845
|
class kst extends n4 {
|
|
@@ -32929,7 +32929,7 @@ const cp = {
|
|
|
32929
32929
|
],
|
|
32930
32930
|
description: y("cursorSmoothCaretAnimation", "Controls whether the smooth caret animation should be enabled.")
|
|
32931
32931
|
})),
|
|
32932
|
-
cursorStyle: we(new c5(28, "cursorStyle",
|
|
32932
|
+
cursorStyle: we(new c5(28, "cursorStyle", mr.Line, "line", ["line", "block", "underline", "line-thin", "block-outline", "underline-thin"], Mst, { description: y("cursorStyle", "Controls the cursor style.") })),
|
|
32933
32933
|
cursorSurroundingLines: we(new Cn(29, "cursorSurroundingLines", 0, 0, 1073741824, { description: y("cursorSurroundingLines", "Controls the minimal number of visible leading lines (minimum 0) and trailing lines (minimum 1) surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.") })),
|
|
32934
32934
|
cursorSurroundingLinesStyle: we(new ei(30, "cursorSurroundingLinesStyle", "default", ["default", "all"], {
|
|
32935
32935
|
enumDescriptions: [
|
|
@@ -33340,7 +33340,7 @@ function D2(i, e) {
|
|
|
33340
33340
|
function Y7e(i) {
|
|
33341
33341
|
return typeof i == "object" && i !== null && typeof i.dispose == "function" && i.dispose.length === 0;
|
|
33342
33342
|
}
|
|
33343
|
-
function
|
|
33343
|
+
function br(i) {
|
|
33344
33344
|
if (Jt.is(i)) {
|
|
33345
33345
|
const e = [];
|
|
33346
33346
|
for (const t of i)
|
|
@@ -33359,7 +33359,7 @@ function yr(i) {
|
|
|
33359
33359
|
return i.dispose(), i;
|
|
33360
33360
|
}
|
|
33361
33361
|
function Ah(...i) {
|
|
33362
|
-
return gt(() =>
|
|
33362
|
+
return gt(() => br(i));
|
|
33363
33363
|
}
|
|
33364
33364
|
function gt(i) {
|
|
33365
33365
|
return {
|
|
@@ -33392,7 +33392,7 @@ class Fe {
|
|
|
33392
33392
|
clear() {
|
|
33393
33393
|
if (this._toDispose.size !== 0)
|
|
33394
33394
|
try {
|
|
33395
|
-
|
|
33395
|
+
br(this._toDispose);
|
|
33396
33396
|
} finally {
|
|
33397
33397
|
this._toDispose.clear();
|
|
33398
33398
|
}
|
|
@@ -33480,7 +33480,7 @@ class PT {
|
|
|
33480
33480
|
clearAndDisposeAll() {
|
|
33481
33481
|
if (this._store.size)
|
|
33482
33482
|
try {
|
|
33483
|
-
|
|
33483
|
+
br(this._store.values());
|
|
33484
33484
|
} finally {
|
|
33485
33485
|
this._store.clear();
|
|
33486
33486
|
}
|
|
@@ -35411,7 +35411,7 @@ let de = class Lf {
|
|
|
35411
35411
|
column: this.column
|
|
35412
35412
|
};
|
|
35413
35413
|
}
|
|
35414
|
-
}, X = class
|
|
35414
|
+
}, X = class cr {
|
|
35415
35415
|
constructor(e, t, n, r) {
|
|
35416
35416
|
e > n || e === n && t > r ? (this.startLineNumber = n, this.startColumn = r, this.endLineNumber = e, this.endColumn = t) : (this.startLineNumber = e, this.startColumn = t, this.endLineNumber = n, this.endColumn = r);
|
|
35417
35417
|
}
|
|
@@ -35419,7 +35419,7 @@ let de = class Lf {
|
|
|
35419
35419
|
* Test if this range is empty.
|
|
35420
35420
|
*/
|
|
35421
35421
|
isEmpty() {
|
|
35422
|
-
return
|
|
35422
|
+
return cr.isEmpty(this);
|
|
35423
35423
|
}
|
|
35424
35424
|
/**
|
|
35425
35425
|
* Test if `range` is empty.
|
|
@@ -35431,7 +35431,7 @@ let de = class Lf {
|
|
|
35431
35431
|
* Test if position is in this range. If the position is at the edges, will return true.
|
|
35432
35432
|
*/
|
|
35433
35433
|
containsPosition(e) {
|
|
35434
|
-
return
|
|
35434
|
+
return cr.containsPosition(this, e);
|
|
35435
35435
|
}
|
|
35436
35436
|
/**
|
|
35437
35437
|
* Test if `position` is in `range`. If the position is at the edges, will return true.
|
|
@@ -35450,7 +35450,7 @@ let de = class Lf {
|
|
|
35450
35450
|
* Test if range is in this range. If the range is equal to this range, will return true.
|
|
35451
35451
|
*/
|
|
35452
35452
|
containsRange(e) {
|
|
35453
|
-
return
|
|
35453
|
+
return cr.containsRange(this, e);
|
|
35454
35454
|
}
|
|
35455
35455
|
/**
|
|
35456
35456
|
* Test if `otherRange` is in `range`. If the ranges are equal, will return true.
|
|
@@ -35462,7 +35462,7 @@ let de = class Lf {
|
|
|
35462
35462
|
* Test if `range` is strictly in this range. `range` must start after and end before this range for the result to be true.
|
|
35463
35463
|
*/
|
|
35464
35464
|
strictContainsRange(e) {
|
|
35465
|
-
return
|
|
35465
|
+
return cr.strictContainsRange(this, e);
|
|
35466
35466
|
}
|
|
35467
35467
|
/**
|
|
35468
35468
|
* Test if `otherRange` is strictly in `range` (must start after, and end before). If the ranges are equal, will return false.
|
|
@@ -35475,7 +35475,7 @@ let de = class Lf {
|
|
|
35475
35475
|
* The smallest position will be used as the start point, and the largest one as the end point.
|
|
35476
35476
|
*/
|
|
35477
35477
|
plusRange(e) {
|
|
35478
|
-
return
|
|
35478
|
+
return cr.plusRange(this, e);
|
|
35479
35479
|
}
|
|
35480
35480
|
/**
|
|
35481
35481
|
* A reunion of the two ranges.
|
|
@@ -35483,13 +35483,13 @@ let de = class Lf {
|
|
|
35483
35483
|
*/
|
|
35484
35484
|
static plusRange(e, t) {
|
|
35485
35485
|
let n, r, s, o;
|
|
35486
|
-
return t.startLineNumber < e.startLineNumber ? (n = t.startLineNumber, r = t.startColumn) : t.startLineNumber === e.startLineNumber ? (n = t.startLineNumber, r = Math.min(t.startColumn, e.startColumn)) : (n = e.startLineNumber, r = e.startColumn), t.endLineNumber > e.endLineNumber ? (s = t.endLineNumber, o = t.endColumn) : t.endLineNumber === e.endLineNumber ? (s = t.endLineNumber, o = Math.max(t.endColumn, e.endColumn)) : (s = e.endLineNumber, o = e.endColumn), new
|
|
35486
|
+
return t.startLineNumber < e.startLineNumber ? (n = t.startLineNumber, r = t.startColumn) : t.startLineNumber === e.startLineNumber ? (n = t.startLineNumber, r = Math.min(t.startColumn, e.startColumn)) : (n = e.startLineNumber, r = e.startColumn), t.endLineNumber > e.endLineNumber ? (s = t.endLineNumber, o = t.endColumn) : t.endLineNumber === e.endLineNumber ? (s = t.endLineNumber, o = Math.max(t.endColumn, e.endColumn)) : (s = e.endLineNumber, o = e.endColumn), new cr(n, r, s, o);
|
|
35487
35487
|
}
|
|
35488
35488
|
/**
|
|
35489
35489
|
* A intersection of the two ranges.
|
|
35490
35490
|
*/
|
|
35491
35491
|
intersectRanges(e) {
|
|
35492
|
-
return
|
|
35492
|
+
return cr.intersectRanges(this, e);
|
|
35493
35493
|
}
|
|
35494
35494
|
/**
|
|
35495
35495
|
* A intersection of the two ranges.
|
|
@@ -35497,13 +35497,13 @@ let de = class Lf {
|
|
|
35497
35497
|
static intersectRanges(e, t) {
|
|
35498
35498
|
let n = e.startLineNumber, r = e.startColumn, s = e.endLineNumber, o = e.endColumn;
|
|
35499
35499
|
const a = t.startLineNumber, l = t.startColumn, c = t.endLineNumber, h = t.endColumn;
|
|
35500
|
-
return n < a ? (n = a, r = l) : n === a && (r = Math.max(r, l)), s > c ? (s = c, o = h) : s === c && (o = Math.min(o, h)), n > s || n === s && r > o ? null : new
|
|
35500
|
+
return n < a ? (n = a, r = l) : n === a && (r = Math.max(r, l)), s > c ? (s = c, o = h) : s === c && (o = Math.min(o, h)), n > s || n === s && r > o ? null : new cr(n, r, s, o);
|
|
35501
35501
|
}
|
|
35502
35502
|
/**
|
|
35503
35503
|
* Test if this range equals other.
|
|
35504
35504
|
*/
|
|
35505
35505
|
equalsRange(e) {
|
|
35506
|
-
return
|
|
35506
|
+
return cr.equalsRange(this, e);
|
|
35507
35507
|
}
|
|
35508
35508
|
/**
|
|
35509
35509
|
* Test if range `a` equals `b`.
|
|
@@ -35515,7 +35515,7 @@ let de = class Lf {
|
|
|
35515
35515
|
* Return the end position (which will be after or equal to the start position)
|
|
35516
35516
|
*/
|
|
35517
35517
|
getEndPosition() {
|
|
35518
|
-
return
|
|
35518
|
+
return cr.getEndPosition(this);
|
|
35519
35519
|
}
|
|
35520
35520
|
/**
|
|
35521
35521
|
* Return the end position (which will be after or equal to the start position)
|
|
@@ -35527,7 +35527,7 @@ let de = class Lf {
|
|
|
35527
35527
|
* Return the start position (which will be before or equal to the end position)
|
|
35528
35528
|
*/
|
|
35529
35529
|
getStartPosition() {
|
|
35530
|
-
return
|
|
35530
|
+
return cr.getStartPosition(this);
|
|
35531
35531
|
}
|
|
35532
35532
|
/**
|
|
35533
35533
|
* Return the start position (which will be before or equal to the end position)
|
|
@@ -35545,50 +35545,50 @@ let de = class Lf {
|
|
|
35545
35545
|
* Create a new range using this range's start position, and using endLineNumber and endColumn as the end position.
|
|
35546
35546
|
*/
|
|
35547
35547
|
setEndPosition(e, t) {
|
|
35548
|
-
return new
|
|
35548
|
+
return new cr(this.startLineNumber, this.startColumn, e, t);
|
|
35549
35549
|
}
|
|
35550
35550
|
/**
|
|
35551
35551
|
* Create a new range using this range's end position, and using startLineNumber and startColumn as the start position.
|
|
35552
35552
|
*/
|
|
35553
35553
|
setStartPosition(e, t) {
|
|
35554
|
-
return new
|
|
35554
|
+
return new cr(e, t, this.endLineNumber, this.endColumn);
|
|
35555
35555
|
}
|
|
35556
35556
|
/**
|
|
35557
35557
|
* Create a new empty range using this range's start position.
|
|
35558
35558
|
*/
|
|
35559
35559
|
collapseToStart() {
|
|
35560
|
-
return
|
|
35560
|
+
return cr.collapseToStart(this);
|
|
35561
35561
|
}
|
|
35562
35562
|
/**
|
|
35563
35563
|
* Create a new empty range using this range's start position.
|
|
35564
35564
|
*/
|
|
35565
35565
|
static collapseToStart(e) {
|
|
35566
|
-
return new
|
|
35566
|
+
return new cr(e.startLineNumber, e.startColumn, e.startLineNumber, e.startColumn);
|
|
35567
35567
|
}
|
|
35568
35568
|
/**
|
|
35569
35569
|
* Create a new empty range using this range's end position.
|
|
35570
35570
|
*/
|
|
35571
35571
|
collapseToEnd() {
|
|
35572
|
-
return
|
|
35572
|
+
return cr.collapseToEnd(this);
|
|
35573
35573
|
}
|
|
35574
35574
|
/**
|
|
35575
35575
|
* Create a new empty range using this range's end position.
|
|
35576
35576
|
*/
|
|
35577
35577
|
static collapseToEnd(e) {
|
|
35578
|
-
return new
|
|
35578
|
+
return new cr(e.endLineNumber, e.endColumn, e.endLineNumber, e.endColumn);
|
|
35579
35579
|
}
|
|
35580
35580
|
/**
|
|
35581
35581
|
* Moves the range by the given amount of lines.
|
|
35582
35582
|
*/
|
|
35583
35583
|
delta(e) {
|
|
35584
|
-
return new
|
|
35584
|
+
return new cr(this.startLineNumber + e, this.startColumn, this.endLineNumber + e, this.endColumn);
|
|
35585
35585
|
}
|
|
35586
35586
|
// ---
|
|
35587
35587
|
static fromPositions(e, t = e) {
|
|
35588
|
-
return new
|
|
35588
|
+
return new cr(e.lineNumber, e.column, t.lineNumber, t.column);
|
|
35589
35589
|
}
|
|
35590
35590
|
static lift(e) {
|
|
35591
|
-
return e ? new
|
|
35591
|
+
return e ? new cr(e.startLineNumber, e.startColumn, e.endLineNumber, e.endColumn) : null;
|
|
35592
35592
|
}
|
|
35593
35593
|
/**
|
|
35594
35594
|
* Test if `obj` is an `IRange`.
|
|
@@ -38942,7 +38942,7 @@ function flt(i) {
|
|
|
38942
38942
|
return i(new Pn(e));
|
|
38943
38943
|
};
|
|
38944
38944
|
}
|
|
38945
|
-
const
|
|
38945
|
+
const or = function(e, t, n, r) {
|
|
38946
38946
|
let s = n;
|
|
38947
38947
|
return t === "click" || t === "mousedown" || t === "contextmenu" ? s = ult(qe(e), n) : (t === "keydown" || t === "keypress" || t === "keyup") && (s = flt(n)), pe(e, t, s, r);
|
|
38948
38948
|
};
|
|
@@ -39256,7 +39256,7 @@ function $D(i, e, t = vlt()) {
|
|
|
39256
39256
|
$D(i, e, s);
|
|
39257
39257
|
}
|
|
39258
39258
|
}
|
|
39259
|
-
function
|
|
39259
|
+
function vr(i) {
|
|
39260
39260
|
return i instanceof HTMLElement || i instanceof qe(i).HTMLElement;
|
|
39261
39261
|
}
|
|
39262
39262
|
function bve(i) {
|
|
@@ -39348,7 +39348,7 @@ function Clt(i, e) {
|
|
|
39348
39348
|
}
|
|
39349
39349
|
class F8 extends Ae {
|
|
39350
39350
|
static hasFocusWithin(e) {
|
|
39351
|
-
if (
|
|
39351
|
+
if (vr(e)) {
|
|
39352
39352
|
const t = N2(e), n = t ? t.activeElement : e.ownerDocument.activeElement;
|
|
39353
39353
|
return nr(n, e);
|
|
39354
39354
|
} else {
|
|
@@ -39362,13 +39362,13 @@ class F8 extends Ae {
|
|
|
39362
39362
|
const r = () => {
|
|
39363
39363
|
n = !1, t || (t = !0, this._onDidFocus.fire());
|
|
39364
39364
|
}, s = () => {
|
|
39365
|
-
t && (n = !0, (
|
|
39365
|
+
t && (n = !0, (vr(e) ? qe(e) : e).setTimeout(() => {
|
|
39366
39366
|
n && (n = !1, t = !1, this._onDidBlur.fire());
|
|
39367
39367
|
}, 0));
|
|
39368
39368
|
};
|
|
39369
39369
|
this._refreshStateHandler = () => {
|
|
39370
39370
|
F8.hasFocusWithin(e) !== t && (t ? s() : r());
|
|
39371
|
-
}, this._register(pe(e, Ee.FOCUS, r, !0)), this._register(pe(e, Ee.BLUR, s, !0)),
|
|
39371
|
+
}, this._register(pe(e, Ee.FOCUS, r, !0)), this._register(pe(e, Ee.BLUR, s, !0)), vr(e) && (this._register(pe(e, Ee.FOCUS_IN, () => this._refreshStateHandler())), this._register(pe(e, Ee.FOCUS_OUT, () => this._refreshStateHandler())));
|
|
39372
39372
|
}
|
|
39373
39373
|
}
|
|
39374
39374
|
function P1(i) {
|
|
@@ -39649,7 +39649,7 @@ function ln(i, ...e) {
|
|
|
39649
39649
|
const l = {};
|
|
39650
39650
|
if (r.groups.name && (l[r.groups.name] = o), n)
|
|
39651
39651
|
for (const c of n)
|
|
39652
|
-
|
|
39652
|
+
vr(c) ? o.appendChild(c) : typeof c == "string" ? o.append(c) : "root" in c && (Object.assign(l, c), o.appendChild(c.root));
|
|
39653
39653
|
for (const [c, h] of Object.entries(t))
|
|
39654
39654
|
if (c !== "className")
|
|
39655
39655
|
if (c === "style")
|
|
@@ -41722,7 +41722,7 @@ class Jlt {
|
|
|
41722
41722
|
return this.data.get(e) || null;
|
|
41723
41723
|
}
|
|
41724
41724
|
}
|
|
41725
|
-
const
|
|
41725
|
+
const Cr = new Jlt();
|
|
41726
41726
|
class cI {
|
|
41727
41727
|
constructor() {
|
|
41728
41728
|
this._coreKeybindings = new to(), this._extensionKeybindings = [], this._cachedMergedKeybindings = null;
|
|
@@ -41779,7 +41779,7 @@ class cI {
|
|
|
41779
41779
|
const mp = new cI(), $lt = {
|
|
41780
41780
|
EditorModes: "platform.keybindingsRegistry"
|
|
41781
41781
|
};
|
|
41782
|
-
|
|
41782
|
+
Cr.add($lt.EditorModes, mp);
|
|
41783
41783
|
function ect(i, e) {
|
|
41784
41784
|
if (i.weight1 !== e.weight1)
|
|
41785
41785
|
return i.weight1 - e.weight1;
|
|
@@ -42090,11 +42090,11 @@ Rd = u6 = tct([
|
|
|
42090
42090
|
Mve(6, Uo)
|
|
42091
42091
|
], Rd);
|
|
42092
42092
|
const nf = jt("telemetryService"), Rh = jt("logService");
|
|
42093
|
-
var
|
|
42093
|
+
var Sr;
|
|
42094
42094
|
(function(i) {
|
|
42095
42095
|
i[i.Off = 0] = "Off", i[i.Trace = 1] = "Trace", i[i.Debug = 2] = "Debug", i[i.Info = 3] = "Info", i[i.Warning = 4] = "Warning", i[i.Error = 5] = "Error";
|
|
42096
|
-
})(
|
|
42097
|
-
const Q_e =
|
|
42096
|
+
})(Sr || (Sr = {}));
|
|
42097
|
+
const Q_e = Sr.Info;
|
|
42098
42098
|
class K_e extends Ae {
|
|
42099
42099
|
constructor() {
|
|
42100
42100
|
super(...arguments), this.level = Q_e, this._onDidChangeLogLevel = this._register(new ee()), this.onDidChangeLogLevel = this._onDidChangeLogLevel.event;
|
|
@@ -42106,7 +42106,7 @@ class K_e extends Ae {
|
|
|
42106
42106
|
return this.level;
|
|
42107
42107
|
}
|
|
42108
42108
|
checkLogLevel(e) {
|
|
42109
|
-
return this.level !==
|
|
42109
|
+
return this.level !== Sr.Off && this.level <= e;
|
|
42110
42110
|
}
|
|
42111
42111
|
}
|
|
42112
42112
|
class ict extends K_e {
|
|
@@ -42114,19 +42114,19 @@ class ict extends K_e {
|
|
|
42114
42114
|
super(), this.useColors = t, this.setLevel(e);
|
|
42115
42115
|
}
|
|
42116
42116
|
trace(e, ...t) {
|
|
42117
|
-
this.checkLogLevel(
|
|
42117
|
+
this.checkLogLevel(Sr.Trace) && (this.useColors ? console.log("%cTRACE", "color: #888", e, ...t) : console.log(e, ...t));
|
|
42118
42118
|
}
|
|
42119
42119
|
debug(e, ...t) {
|
|
42120
|
-
this.checkLogLevel(
|
|
42120
|
+
this.checkLogLevel(Sr.Debug) && (this.useColors ? console.log("%cDEBUG", "background: #eee; color: #888", e, ...t) : console.log(e, ...t));
|
|
42121
42121
|
}
|
|
42122
42122
|
info(e, ...t) {
|
|
42123
|
-
this.checkLogLevel(
|
|
42123
|
+
this.checkLogLevel(Sr.Info) && (this.useColors ? console.log("%c INFO", "color: #33f", e, ...t) : console.log(e, ...t));
|
|
42124
42124
|
}
|
|
42125
42125
|
warn(e, ...t) {
|
|
42126
|
-
this.checkLogLevel(
|
|
42126
|
+
this.checkLogLevel(Sr.Warning) && (this.useColors ? console.log("%c WARN", "color: #993", e, ...t) : console.log(e, ...t));
|
|
42127
42127
|
}
|
|
42128
42128
|
error(e, ...t) {
|
|
42129
|
-
this.checkLogLevel(
|
|
42129
|
+
this.checkLogLevel(Sr.Error) && (this.useColors ? console.log("%c ERR", "color: #f33", e, ...t) : console.error(e, ...t));
|
|
42130
42130
|
}
|
|
42131
42131
|
}
|
|
42132
42132
|
class rct extends K_e {
|
|
@@ -42166,21 +42166,21 @@ class rct extends K_e {
|
|
|
42166
42166
|
}
|
|
42167
42167
|
function sct(i) {
|
|
42168
42168
|
switch (i) {
|
|
42169
|
-
case
|
|
42169
|
+
case Sr.Trace:
|
|
42170
42170
|
return "trace";
|
|
42171
|
-
case
|
|
42171
|
+
case Sr.Debug:
|
|
42172
42172
|
return "debug";
|
|
42173
|
-
case
|
|
42173
|
+
case Sr.Info:
|
|
42174
42174
|
return "info";
|
|
42175
|
-
case
|
|
42175
|
+
case Sr.Warning:
|
|
42176
42176
|
return "warn";
|
|
42177
|
-
case
|
|
42177
|
+
case Sr.Error:
|
|
42178
42178
|
return "error";
|
|
42179
|
-
case
|
|
42179
|
+
case Sr.Off:
|
|
42180
42180
|
return "off";
|
|
42181
42181
|
}
|
|
42182
42182
|
}
|
|
42183
|
-
new Oe("logLevel", sct(
|
|
42183
|
+
new Oe("logLevel", sct(Sr.Info));
|
|
42184
42184
|
class XC {
|
|
42185
42185
|
constructor(e) {
|
|
42186
42186
|
this.id = e.id, this.precondition = e.precondition, this._kbOpts = e.kbOpts, this._menuOpts = e.menuOpts, this.metadata = e.metadata;
|
|
@@ -42405,7 +42405,7 @@ class nl {
|
|
|
42405
42405
|
}
|
|
42406
42406
|
}
|
|
42407
42407
|
nl.INSTANCE = new nl();
|
|
42408
|
-
|
|
42408
|
+
Cr.add(oct.EditorCommonContributions, nl.INSTANCE);
|
|
42409
42409
|
function l4(i) {
|
|
42410
42410
|
return i.register(), i;
|
|
42411
42411
|
}
|
|
@@ -43377,7 +43377,7 @@ function Vve(i, e, t) {
|
|
|
43377
43377
|
function Rct(i) {
|
|
43378
43378
|
return i.replace(/[\[\]]/g, "");
|
|
43379
43379
|
}
|
|
43380
|
-
const
|
|
43380
|
+
const ar = jt("languageService");
|
|
43381
43381
|
class Yc {
|
|
43382
43382
|
constructor(e, t = [], n = !1) {
|
|
43383
43383
|
this.ctor = e, this.staticArguments = t, this.supportsDelayedInstantiation = n;
|
|
@@ -43415,10 +43415,10 @@ class Bct {
|
|
|
43415
43415
|
}
|
|
43416
43416
|
}
|
|
43417
43417
|
const Pct = new Bct();
|
|
43418
|
-
|
|
43418
|
+
Cr.add(t7.JSONContribution, Pct);
|
|
43419
43419
|
const bp = {
|
|
43420
43420
|
Configuration: "base.contributions.configuration"
|
|
43421
|
-
}, wA = "vscode://schemas/settings/resourceLanguage", Hve =
|
|
43421
|
+
}, wA = "vscode://schemas/settings/resourceLanguage", Hve = Cr.as(t7.JSONContribution);
|
|
43422
43422
|
class Fct {
|
|
43423
43423
|
constructor() {
|
|
43424
43424
|
this.overrideIdentifiers = /* @__PURE__ */ new Set(), this._onDidSchemaChange = new ee(), this._onDidUpdateConfiguration = new ee(), this.configurationDefaultsOverrides = /* @__PURE__ */ new Map(), this.defaultLanguageConfigurationOverridesNode = {
|
|
@@ -43593,7 +43593,7 @@ function Wct(i) {
|
|
|
43593
43593
|
}
|
|
43594
43594
|
}
|
|
43595
43595
|
const f6 = new Fct();
|
|
43596
|
-
|
|
43596
|
+
Cr.add(bp.Configuration, f6);
|
|
43597
43597
|
function jct(i, e) {
|
|
43598
43598
|
var t, n, r, s;
|
|
43599
43599
|
return i.trim() ? D0.test(i) ? y("config.property.languageDefault", "Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.", i) : f6.getConfigurationProperties()[i] !== void 0 ? y("config.property.duplicate", "Cannot register '{0}'. This property is already registered.", i) : !((t = e.policy) === null || t === void 0) && t.name && f6.getPolicyConfigurations().get((n = e.policy) === null || n === void 0 ? void 0 : n.name) !== void 0 ? y("config.policy.duplicate", "Cannot register '{0}'. The associated policy {1} is already registered with {2}.", i, (r = e.policy) === null || r === void 0 ? void 0 : r.name, f6.getPolicyConfigurations().get((s = e.policy) === null || s === void 0 ? void 0 : s.name)) : null : y("config.property.empty", "Cannot register an empty property");
|
|
@@ -43621,7 +43621,7 @@ class Uct {
|
|
|
43621
43621
|
}
|
|
43622
43622
|
}
|
|
43623
43623
|
const O2 = new Uct();
|
|
43624
|
-
|
|
43624
|
+
Cr.add(Zct.ModesRegistry, O2);
|
|
43625
43625
|
const gl = "plaintext", qct = ".txt";
|
|
43626
43626
|
O2.registerLanguage({
|
|
43627
43627
|
id: gl,
|
|
@@ -43629,7 +43629,7 @@ O2.registerLanguage({
|
|
|
43629
43629
|
aliases: [y("plainText.alias", "Plain Text"), "text"],
|
|
43630
43630
|
mimetypes: [md.text]
|
|
43631
43631
|
});
|
|
43632
|
-
|
|
43632
|
+
Cr.as(bp.Configuration).registerDefaultConfigurations([{
|
|
43633
43633
|
overrides: {
|
|
43634
43634
|
"[plaintext]": {
|
|
43635
43635
|
"editor.unicodeHighlight.ambiguousCharacters": !1,
|
|
@@ -43769,7 +43769,7 @@ let oM = class extends Ae {
|
|
|
43769
43769
|
};
|
|
43770
43770
|
oM = Yct([
|
|
43771
43771
|
Fve(0, fi),
|
|
43772
|
-
Fve(1,
|
|
43772
|
+
Fve(1, ar)
|
|
43773
43773
|
], oM);
|
|
43774
43774
|
function Xct(i, e, t, n) {
|
|
43775
43775
|
let r = e.getLanguageConfiguration(i);
|
|
@@ -48399,7 +48399,7 @@ class mdt extends Ae {
|
|
|
48399
48399
|
}
|
|
48400
48400
|
dispose() {
|
|
48401
48401
|
for (const e in this._syncedModels)
|
|
48402
|
-
|
|
48402
|
+
br(this._syncedModels[e]);
|
|
48403
48403
|
this._syncedModels = /* @__PURE__ */ Object.create(null), this._syncedModelsLastUsedTime = /* @__PURE__ */ Object.create(null), super.dispose();
|
|
48404
48404
|
}
|
|
48405
48405
|
ensureSyncedResources(e, t) {
|
|
@@ -48437,7 +48437,7 @@ class mdt extends Ae {
|
|
|
48437
48437
|
}
|
|
48438
48438
|
_stopModelSync(e) {
|
|
48439
48439
|
const t = this._syncedModels[e];
|
|
48440
|
-
delete this._syncedModels[e], delete this._syncedModelsLastUsedTime[e],
|
|
48440
|
+
delete this._syncedModels[e], delete this._syncedModelsLastUsedTime[e], br(t);
|
|
48441
48441
|
}
|
|
48442
48442
|
}
|
|
48443
48443
|
class mwe {
|
|
@@ -50568,7 +50568,7 @@ class sut {
|
|
|
50568
50568
|
}
|
|
50569
50569
|
}
|
|
50570
50570
|
const r7 = new sut();
|
|
50571
|
-
|
|
50571
|
+
Cr.add(REe.ColorContribution, r7);
|
|
50572
50572
|
function q(i, e, t, n, r) {
|
|
50573
50573
|
return r7.registerColor(i, e, t, n, r);
|
|
50574
50574
|
}
|
|
@@ -50633,7 +50633,7 @@ function Hl(i, e) {
|
|
|
50633
50633
|
return out(i, e);
|
|
50634
50634
|
}
|
|
50635
50635
|
}
|
|
50636
|
-
const HEe = "vscode://schemas/workbench-colors", BEe =
|
|
50636
|
+
const HEe = "vscode://schemas/workbench-colors", BEe = Cr.as(t7.JSONContribution);
|
|
50637
50637
|
BEe.registerSchema(HEe, r7.getColorSchema());
|
|
50638
50638
|
const Swe = new Fr(() => BEe.notifySchemaChanged(HEe), 200);
|
|
50639
50639
|
r7.onDidChangeSchema(() => {
|
|
@@ -50864,7 +50864,7 @@ class R0t extends Ae {
|
|
|
50864
50864
|
super(), this._editorViewDomNode = e, this._globalPointerMoveMonitor = this._register(new i7()), this._keydownListener = null;
|
|
50865
50865
|
}
|
|
50866
50866
|
startMonitoring(e, t, n, r, s) {
|
|
50867
|
-
this._keydownListener =
|
|
50867
|
+
this._keydownListener = or(e.ownerDocument, "keydown", (o) => {
|
|
50868
50868
|
o.toKeyCodeChord().isModifierKey() || this._globalPointerMoveMonitor.stopMonitoring(!0, o.browserEvent);
|
|
50869
50869
|
}, !0), this._globalPointerMoveMonitor.startMonitoring(e, t, n, (o) => {
|
|
50870
50870
|
r(new L0(o, !0, this._editorViewDomNode));
|
|
@@ -52432,7 +52432,7 @@ let Ta = class extends Ae {
|
|
|
52432
52432
|
const W2 = 11;
|
|
52433
52433
|
class Y0t extends Ta {
|
|
52434
52434
|
constructor(e) {
|
|
52435
|
-
super(), this._onActivate = e.onActivate, this.bgDomNode = document.createElement("div"), this.bgDomNode.className = "arrow-background", this.bgDomNode.style.position = "absolute", this.bgDomNode.style.width = e.bgWidth + "px", this.bgDomNode.style.height = e.bgHeight + "px", typeof e.top < "u" && (this.bgDomNode.style.top = "0px"), typeof e.left < "u" && (this.bgDomNode.style.left = "0px"), typeof e.bottom < "u" && (this.bgDomNode.style.bottom = "0px"), typeof e.right < "u" && (this.bgDomNode.style.right = "0px"), this.domNode = document.createElement("div"), this.domNode.className = e.className, this.domNode.classList.add(...Ot.asClassNameArray(e.icon)), this.domNode.style.position = "absolute", this.domNode.style.width = W2 + "px", this.domNode.style.height = W2 + "px", typeof e.top < "u" && (this.domNode.style.top = e.top + "px"), typeof e.left < "u" && (this.domNode.style.left = e.left + "px"), typeof e.bottom < "u" && (this.domNode.style.bottom = e.bottom + "px"), typeof e.right < "u" && (this.domNode.style.right = e.right + "px"), this._pointerMoveMonitor = this._register(new i7()), this._register(
|
|
52435
|
+
super(), this._onActivate = e.onActivate, this.bgDomNode = document.createElement("div"), this.bgDomNode.className = "arrow-background", this.bgDomNode.style.position = "absolute", this.bgDomNode.style.width = e.bgWidth + "px", this.bgDomNode.style.height = e.bgHeight + "px", typeof e.top < "u" && (this.bgDomNode.style.top = "0px"), typeof e.left < "u" && (this.bgDomNode.style.left = "0px"), typeof e.bottom < "u" && (this.bgDomNode.style.bottom = "0px"), typeof e.right < "u" && (this.bgDomNode.style.right = "0px"), this.domNode = document.createElement("div"), this.domNode.className = e.className, this.domNode.classList.add(...Ot.asClassNameArray(e.icon)), this.domNode.style.position = "absolute", this.domNode.style.width = W2 + "px", this.domNode.style.height = W2 + "px", typeof e.top < "u" && (this.domNode.style.top = e.top + "px"), typeof e.left < "u" && (this.domNode.style.left = e.left + "px"), typeof e.bottom < "u" && (this.domNode.style.bottom = e.bottom + "px"), typeof e.right < "u" && (this.domNode.style.right = e.right + "px"), this._pointerMoveMonitor = this._register(new i7()), this._register(or(this.bgDomNode, Ee.POINTER_DOWN, (t) => this._arrowPointerDown(t))), this._register(or(this.domNode, Ee.POINTER_DOWN, (t) => this._arrowPointerDown(t))), this._pointerdownRepeatTimer = this._register(new tI()), this._pointerdownScheduleRepeatTimer = this._register(new tf());
|
|
52436
52436
|
}
|
|
52437
52437
|
_arrowPointerDown(e) {
|
|
52438
52438
|
if (!e.target || !(e.target instanceof Element))
|
|
@@ -53070,7 +53070,7 @@ class LI extends Ta {
|
|
|
53070
53070
|
this._verticalScrollbar = this._register(new tft(this._scrollable, this._options, r)), this._horizontalScrollbar = this._register(new eft(this._scrollable, this._options, r)), this._domNode = document.createElement("div"), this._domNode.className = "monaco-scrollable-element " + this._options.className, this._domNode.setAttribute("role", "presentation"), this._domNode.style.position = "relative", this._domNode.style.overflow = "hidden", this._domNode.appendChild(e), this._domNode.appendChild(this._horizontalScrollbar.domNode.domNode), this._domNode.appendChild(this._verticalScrollbar.domNode.domNode), this._options.useShadows ? (this._leftShadowDomNode = Kt(document.createElement("div")), this._leftShadowDomNode.setClassName("shadow"), this._domNode.appendChild(this._leftShadowDomNode.domNode), this._topShadowDomNode = Kt(document.createElement("div")), this._topShadowDomNode.setClassName("shadow"), this._domNode.appendChild(this._topShadowDomNode.domNode), this._topLeftShadowDomNode = Kt(document.createElement("div")), this._topLeftShadowDomNode.setClassName("shadow"), this._domNode.appendChild(this._topLeftShadowDomNode.domNode)) : (this._leftShadowDomNode = null, this._topShadowDomNode = null, this._topLeftShadowDomNode = null), this._listenOnDomNode = this._options.listenOnDomNode || this._domNode, this._mouseWheelToDispose = [], this._setListeningToMouseWheel(this._options.handleMouseWheel), this.onmouseover(this._listenOnDomNode, (s) => this._onMouseOver(s)), this.onmouseleave(this._listenOnDomNode, (s) => this._onMouseLeave(s)), this._hideTimeout = this._register(new tf()), this._isDragging = !1, this._mouseIsOver = !1, this._shouldRender = !0, this._revealOnScroll = !0;
|
|
53071
53071
|
}
|
|
53072
53072
|
dispose() {
|
|
53073
|
-
this._mouseWheelToDispose =
|
|
53073
|
+
this._mouseWheelToDispose = br(this._mouseWheelToDispose), super.dispose();
|
|
53074
53074
|
}
|
|
53075
53075
|
/**
|
|
53076
53076
|
* Get the generated 'scrollable' dom node
|
|
@@ -53114,7 +53114,7 @@ class LI extends Ta {
|
|
|
53114
53114
|
}
|
|
53115
53115
|
// -------------------- mouse wheel scrolling --------------------
|
|
53116
53116
|
_setListeningToMouseWheel(e) {
|
|
53117
|
-
if (this._mouseWheelToDispose.length > 0 !== e && (this._mouseWheelToDispose =
|
|
53117
|
+
if (this._mouseWheelToDispose.length > 0 !== e && (this._mouseWheelToDispose = br(this._mouseWheelToDispose), e)) {
|
|
53118
53118
|
const n = (r) => {
|
|
53119
53119
|
this._onMouseWheel(new B1(r));
|
|
53120
53120
|
};
|
|
@@ -53671,7 +53671,7 @@ class Dt {
|
|
|
53671
53671
|
this.emitter.dispose();
|
|
53672
53672
|
}
|
|
53673
53673
|
}
|
|
53674
|
-
class
|
|
53674
|
+
class hr {
|
|
53675
53675
|
constructor(e, t, n, r, s) {
|
|
53676
53676
|
this.value = e, this.selectionStart = t, this.selectionEnd = n, this.selection = r, this.newlineCountBeforeSelection = s;
|
|
53677
53677
|
}
|
|
@@ -53685,10 +53685,10 @@ class dr {
|
|
|
53685
53685
|
const a = n.substring(0, r), l = t.value.substring(0, t.selectionStart);
|
|
53686
53686
|
a === l && (o = t.newlineCountBeforeSelection);
|
|
53687
53687
|
}
|
|
53688
|
-
return new
|
|
53688
|
+
return new hr(n, r, s, null, o);
|
|
53689
53689
|
}
|
|
53690
53690
|
collapseSelection() {
|
|
53691
|
-
return this.selectionStart === this.value.length ? this : new
|
|
53691
|
+
return this.selectionStart === this.value.length ? this : new hr(this.value, this.value.length, this.value.length, null, void 0);
|
|
53692
53692
|
}
|
|
53693
53693
|
writeToTextArea(e, t, n) {
|
|
53694
53694
|
t.setValue(e, this.value), n && t.setSelectionRange(e, this.selectionStart, this.selectionEnd);
|
|
@@ -53772,7 +53772,7 @@ class dr {
|
|
|
53772
53772
|
};
|
|
53773
53773
|
}
|
|
53774
53774
|
}
|
|
53775
|
-
|
|
53775
|
+
hr.EMPTY = new hr("", 0, 0, null, void 0);
|
|
53776
53776
|
class Eg {
|
|
53777
53777
|
static _getPageOfLine(e, t) {
|
|
53778
53778
|
return Math.floor((e - 1) / t);
|
|
@@ -53830,7 +53830,7 @@ class Eg {
|
|
|
53830
53830
|
/* EndOfLinePreference.LF */
|
|
53831
53831
|
);
|
|
53832
53832
|
}
|
|
53833
|
-
return r && A.length > 2 * 500 && (A = A.substring(0, 500) + "…" + A.substring(A.length - 500, A.length)), new
|
|
53833
|
+
return r && A.length > 2 * 500 && (A = A.substring(0, 500) + "…" + A.substring(A.length - 500, A.length)), new hr(u + A + m, u.length, u.length + A.length, t, h.endLineNumber - h.startLineNumber);
|
|
53834
53834
|
}
|
|
53835
53835
|
}
|
|
53836
53836
|
var uft = function(i, e, t, n) {
|
|
@@ -53878,7 +53878,7 @@ let xM = class extends Ae {
|
|
|
53878
53878
|
return this._textAreaState;
|
|
53879
53879
|
}
|
|
53880
53880
|
constructor(e, t, n, r, s, o) {
|
|
53881
|
-
super(), this._host = e, this._textArea = t, this._OS = n, this._browser = r, this._accessibilityService = s, this._logService = o, this._onFocus = this._register(new ee()), this.onFocus = this._onFocus.event, this._onBlur = this._register(new ee()), this.onBlur = this._onBlur.event, this._onKeyDown = this._register(new ee()), this.onKeyDown = this._onKeyDown.event, this._onKeyUp = this._register(new ee()), this.onKeyUp = this._onKeyUp.event, this._onCut = this._register(new ee()), this.onCut = this._onCut.event, this._onPaste = this._register(new ee()), this.onPaste = this._onPaste.event, this._onType = this._register(new ee()), this.onType = this._onType.event, this._onCompositionStart = this._register(new ee()), this.onCompositionStart = this._onCompositionStart.event, this._onCompositionUpdate = this._register(new ee()), this.onCompositionUpdate = this._onCompositionUpdate.event, this._onCompositionEnd = this._register(new ee()), this.onCompositionEnd = this._onCompositionEnd.event, this._onSelectionChangeRequest = this._register(new ee()), this.onSelectionChangeRequest = this._onSelectionChangeRequest.event, this._asyncFocusGainWriteScreenReaderContent = this._register(new Qd()), this._asyncTriggerCut = this._register(new Fr(() => this._onCut.fire(), 0)), this._textAreaState =
|
|
53881
|
+
super(), this._host = e, this._textArea = t, this._OS = n, this._browser = r, this._accessibilityService = s, this._logService = o, this._onFocus = this._register(new ee()), this.onFocus = this._onFocus.event, this._onBlur = this._register(new ee()), this.onBlur = this._onBlur.event, this._onKeyDown = this._register(new ee()), this.onKeyDown = this._onKeyDown.event, this._onKeyUp = this._register(new ee()), this.onKeyUp = this._onKeyUp.event, this._onCut = this._register(new ee()), this.onCut = this._onCut.event, this._onPaste = this._register(new ee()), this.onPaste = this._onPaste.event, this._onType = this._register(new ee()), this.onType = this._onType.event, this._onCompositionStart = this._register(new ee()), this.onCompositionStart = this._onCompositionStart.event, this._onCompositionUpdate = this._register(new ee()), this.onCompositionUpdate = this._onCompositionUpdate.event, this._onCompositionEnd = this._register(new ee()), this.onCompositionEnd = this._onCompositionEnd.event, this._onSelectionChangeRequest = this._register(new ee()), this.onSelectionChangeRequest = this._onSelectionChangeRequest.event, this._asyncFocusGainWriteScreenReaderContent = this._register(new Qd()), this._asyncTriggerCut = this._register(new Fr(() => this._onCut.fire(), 0)), this._textAreaState = hr.EMPTY, this._selectionChangeListener = null, this._accessibilityService.isScreenReaderOptimized() && this.writeNativeTextAreaContent("ctor"), this._register(xe.runAndSubscribe(this._accessibilityService.onDidChangeScreenReaderOptimized, () => {
|
|
53882
53882
|
this._accessibilityService.isScreenReaderOptimized() && !this._asyncFocusGainWriteScreenReaderContent.value ? this._asyncFocusGainWriteScreenReaderContent.value = this._register(new Fr(() => this.writeNativeTextAreaContent("asyncFocusGain"), 0)) : this._asyncFocusGainWriteScreenReaderContent.clear();
|
|
53883
53883
|
})), this._hasFocus = !1, this._currentComposition = null;
|
|
53884
53884
|
let a = null;
|
|
@@ -53914,27 +53914,27 @@ let xM = class extends Ae {
|
|
|
53914
53914
|
if (!c)
|
|
53915
53915
|
return;
|
|
53916
53916
|
if (this._browser.isAndroid) {
|
|
53917
|
-
const u =
|
|
53917
|
+
const u = hr.readFromTextArea(this._textArea, this._textAreaState), f = hr.deduceAndroidCompositionInput(this._textAreaState, u);
|
|
53918
53918
|
this._textAreaState = u, this._onType.fire(f), this._onCompositionUpdate.fire(l);
|
|
53919
53919
|
return;
|
|
53920
53920
|
}
|
|
53921
53921
|
const h = c.handleCompositionUpdate(l.data);
|
|
53922
|
-
this._textAreaState =
|
|
53922
|
+
this._textAreaState = hr.readFromTextArea(this._textArea, this._textAreaState), this._onType.fire(h), this._onCompositionUpdate.fire(l);
|
|
53923
53923
|
})), this._register(this._textArea.onCompositionEnd((l) => {
|
|
53924
53924
|
const c = this._currentComposition;
|
|
53925
53925
|
if (!c)
|
|
53926
53926
|
return;
|
|
53927
53927
|
if (this._currentComposition = null, this._browser.isAndroid) {
|
|
53928
|
-
const u =
|
|
53928
|
+
const u = hr.readFromTextArea(this._textArea, this._textAreaState), f = hr.deduceAndroidCompositionInput(this._textAreaState, u);
|
|
53929
53929
|
this._textAreaState = u, this._onType.fire(f), this._onCompositionEnd.fire();
|
|
53930
53930
|
return;
|
|
53931
53931
|
}
|
|
53932
53932
|
const h = c.handleCompositionUpdate(l.data);
|
|
53933
|
-
this._textAreaState =
|
|
53933
|
+
this._textAreaState = hr.readFromTextArea(this._textArea, this._textAreaState), this._onType.fire(h), this._onCompositionEnd.fire();
|
|
53934
53934
|
})), this._register(this._textArea.onInput((l) => {
|
|
53935
53935
|
if (this._textArea.setIgnoreSelectionChangeTime("received input event"), this._currentComposition)
|
|
53936
53936
|
return;
|
|
53937
|
-
const c =
|
|
53937
|
+
const c = hr.readFromTextArea(this._textArea, this._textAreaState), h = hr.deduceInput(
|
|
53938
53938
|
this._textAreaState,
|
|
53939
53939
|
c,
|
|
53940
53940
|
/*couldBeEmojiInput*/
|
|
@@ -54208,7 +54208,7 @@ class vft {
|
|
|
54208
54208
|
}
|
|
54209
54209
|
}
|
|
54210
54210
|
const $Ee = new vft();
|
|
54211
|
-
|
|
54211
|
+
Cr.add(JEe.ThemingContribution, $Ee);
|
|
54212
54212
|
function Bh(i) {
|
|
54213
54213
|
return $Ee.onColorThemeChange(i);
|
|
54214
54214
|
}
|
|
@@ -54430,7 +54430,7 @@ class e1t {
|
|
|
54430
54430
|
this._enabled = !1, this._onDidChange.fire();
|
|
54431
54431
|
}
|
|
54432
54432
|
}
|
|
54433
|
-
const Vv = new e1t(),
|
|
54433
|
+
const Vv = new e1t(), _r = jt("keybindingService");
|
|
54434
54434
|
var t1t = function(i, e, t, n) {
|
|
54435
54435
|
var r = arguments.length, s = r < 3 ? e : n === null ? n = Object.getOwnPropertyDescriptor(e, t) : n, o;
|
|
54436
54436
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(i, e, t, n);
|
|
@@ -54524,7 +54524,7 @@ let DM = class extends uo {
|
|
|
54524
54524
|
const g = f.getStartPosition();
|
|
54525
54525
|
let m = this._getWordBeforePosition(g);
|
|
54526
54526
|
if (m.length === 0 && (m = this._getCharacterBeforePosition(g)), m.length > 0)
|
|
54527
|
-
return new
|
|
54527
|
+
return new hr(m, m.length, m.length, X.fromPositions(g), 0);
|
|
54528
54528
|
}
|
|
54529
54529
|
if (zt && !f.isEmpty() && c.getValueLengthInRange(
|
|
54530
54530
|
f,
|
|
@@ -54536,22 +54536,22 @@ let DM = class extends uo {
|
|
|
54536
54536
|
0
|
|
54537
54537
|
/* EndOfLinePreference.TextDefined */
|
|
54538
54538
|
);
|
|
54539
|
-
return new
|
|
54539
|
+
return new hr(g, 0, g.length, f, 0);
|
|
54540
54540
|
}
|
|
54541
54541
|
if (Kd && !f.isEmpty()) {
|
|
54542
54542
|
const g = "vscode-placeholder";
|
|
54543
|
-
return new
|
|
54543
|
+
return new hr(g, 0, g.length, null, void 0);
|
|
54544
54544
|
}
|
|
54545
|
-
return
|
|
54545
|
+
return hr.EMPTY;
|
|
54546
54546
|
}
|
|
54547
54547
|
if (ave) {
|
|
54548
54548
|
const f = this._selections[0];
|
|
54549
54549
|
if (f.isEmpty()) {
|
|
54550
54550
|
const p = f.getStartPosition(), [g, m] = this._getAndroidWordAtPosition(p);
|
|
54551
54551
|
if (g.length > 0)
|
|
54552
|
-
return new
|
|
54552
|
+
return new hr(g, m, m, X.fromPositions(p), 0);
|
|
54553
54553
|
}
|
|
54554
|
-
return
|
|
54554
|
+
return hr.EMPTY;
|
|
54555
54555
|
}
|
|
54556
54556
|
return Eg.fromEditorSelection(
|
|
54557
54557
|
c,
|
|
@@ -54885,7 +54885,7 @@ let DM = class extends uo {
|
|
|
54885
54885
|
}
|
|
54886
54886
|
};
|
|
54887
54887
|
DM = t1t([
|
|
54888
|
-
Zwe(3,
|
|
54888
|
+
Zwe(3, _r),
|
|
54889
54889
|
Zwe(4, En)
|
|
54890
54890
|
], DM);
|
|
54891
54891
|
function i1t(i, e, t, n) {
|
|
@@ -55107,7 +55107,7 @@ class kt {
|
|
|
55107
55107
|
return new c1t(e);
|
|
55108
55108
|
}
|
|
55109
55109
|
static fromModelSelection(e) {
|
|
55110
|
-
const t = Tn.liftSelection(e), n = new
|
|
55110
|
+
const t = Tn.liftSelection(e), n = new gr(X.fromPositions(t.getSelectionStart()), 0, 0, t.getPosition(), 0);
|
|
55111
55111
|
return kt.fromModelState(n);
|
|
55112
55112
|
}
|
|
55113
55113
|
static fromModelSelections(e) {
|
|
@@ -55133,9 +55133,9 @@ class c1t {
|
|
|
55133
55133
|
this.modelState = null, this.viewState = e;
|
|
55134
55134
|
}
|
|
55135
55135
|
}
|
|
55136
|
-
class
|
|
55136
|
+
class gr {
|
|
55137
55137
|
constructor(e, t, n, r, s) {
|
|
55138
|
-
this.selectionStart = e, this.selectionStartKind = t, this.selectionStartLeftoverVisibleColumns = n, this.position = r, this.leftoverVisibleColumns = s, this._singleCursorStateBrand = void 0, this.selection =
|
|
55138
|
+
this.selectionStart = e, this.selectionStartKind = t, this.selectionStartLeftoverVisibleColumns = n, this.position = r, this.leftoverVisibleColumns = s, this._singleCursorStateBrand = void 0, this.selection = gr._computeSelection(this.selectionStart, this.position);
|
|
55139
55139
|
}
|
|
55140
55140
|
equals(e) {
|
|
55141
55141
|
return this.selectionStartLeftoverVisibleColumns === e.selectionStartLeftoverVisibleColumns && this.leftoverVisibleColumns === e.leftoverVisibleColumns && this.selectionStartKind === e.selectionStartKind && this.position.equals(e.position) && this.selectionStart.equalsRange(e.selectionStart);
|
|
@@ -55144,7 +55144,7 @@ class mr {
|
|
|
55144
55144
|
return !this.selection.isEmpty() || !this.selectionStart.isEmpty();
|
|
55145
55145
|
}
|
|
55146
55146
|
move(e, t, n, r) {
|
|
55147
|
-
return e ? new
|
|
55147
|
+
return e ? new gr(this.selectionStart, this.selectionStartKind, this.selectionStartLeftoverVisibleColumns, new de(t, n), r) : new gr(new X(t, n, t, n), 0, r, new de(t, n), r);
|
|
55148
55148
|
}
|
|
55149
55149
|
static _computeSelection(e, t) {
|
|
55150
55150
|
return e.isEmpty() || !t.isBeforeOrEqual(e.getStartPosition()) ? Tn.fromPositions(e.getStartPosition(), t) : Tn.fromPositions(e.getEndPosition(), t);
|
|
@@ -55163,12 +55163,12 @@ class jf {
|
|
|
55163
55163
|
const a = Math.abs(s - n) + 1, l = n > s, c = r > o, h = r < o, u = [];
|
|
55164
55164
|
for (let f = 0; f < a; f++) {
|
|
55165
55165
|
const p = n + (l ? -f : f), g = e.columnFromVisibleColumn(t, p, r), m = e.columnFromVisibleColumn(t, p, o), A = e.visibleColumnFromColumn(t, new de(p, g)), v = e.visibleColumnFromColumn(t, new de(p, m));
|
|
55166
|
-
h && (A > o || v < r) || c && (v > r || A < o) || u.push(new
|
|
55166
|
+
h && (A > o || v < r) || c && (v > r || A < o) || u.push(new gr(new X(p, g, p, g), 0, 0, new de(p, m), 0));
|
|
55167
55167
|
}
|
|
55168
55168
|
if (u.length === 0)
|
|
55169
55169
|
for (let f = 0; f < a; f++) {
|
|
55170
55170
|
const p = n + (l ? -f : f), g = t.getLineMaxColumn(p);
|
|
55171
|
-
u.push(new
|
|
55171
|
+
u.push(new gr(new X(p, g, p, g), 0, 0, new de(p, g), 0));
|
|
55172
55172
|
}
|
|
55173
55173
|
return {
|
|
55174
55174
|
viewStates: u,
|
|
@@ -55381,7 +55381,7 @@ class hn {
|
|
|
55381
55381
|
}
|
|
55382
55382
|
static translateDown(e, t, n) {
|
|
55383
55383
|
const r = n.selection, s = hn.down(e, t, r.selectionStartLineNumber, r.selectionStartColumn, n.selectionStartLeftoverVisibleColumns, 1, !1), o = hn.down(e, t, r.positionLineNumber, r.positionColumn, n.leftoverVisibleColumns, 1, !1);
|
|
55384
|
-
return new
|
|
55384
|
+
return new gr(new X(s.lineNumber, s.column, s.lineNumber, s.column), 0, s.leftoverVisibleColumns, new de(o.lineNumber, o.column), o.leftoverVisibleColumns);
|
|
55385
55385
|
}
|
|
55386
55386
|
static up(e, t, n, r, s, o, a) {
|
|
55387
55387
|
return this.vertical(
|
|
@@ -55404,7 +55404,7 @@ class hn {
|
|
|
55404
55404
|
}
|
|
55405
55405
|
static translateUp(e, t, n) {
|
|
55406
55406
|
const r = n.selection, s = hn.up(e, t, r.selectionStartLineNumber, r.selectionStartColumn, n.selectionStartLeftoverVisibleColumns, 1, !1), o = hn.up(e, t, r.positionLineNumber, r.positionColumn, n.leftoverVisibleColumns, 1, !1);
|
|
55407
|
-
return new
|
|
55407
|
+
return new gr(new X(s.lineNumber, s.column, s.lineNumber, s.column), 0, s.leftoverVisibleColumns, new de(o.lineNumber, o.column), o.leftoverVisibleColumns);
|
|
55408
55408
|
}
|
|
55409
55409
|
static _isBlankLine(e, t) {
|
|
55410
55410
|
return e.getLineFirstNonWhitespaceColumn(t) === 0;
|
|
@@ -55849,7 +55849,7 @@ class Ai {
|
|
|
55849
55849
|
const o = V2(e.wordSeparators, e.wordSegmenterLocales), a = Ai._findPreviousWordOnLine(o, t, s), l = Ai._findNextWordOnLine(o, t, s);
|
|
55850
55850
|
if (!r) {
|
|
55851
55851
|
let p, g;
|
|
55852
|
-
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
|
|
55852
|
+
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 gr(new X(s.lineNumber, p, s.lineNumber, g), 1, 0, new de(s.lineNumber, g), 0);
|
|
55853
55853
|
}
|
|
55854
55854
|
let c, h;
|
|
55855
55855
|
a && a.wordType === 1 && a.start < s.column - 1 && s.column - 1 < a.end ? (c = a.start + 1, h = a.end + 1) : l && l.wordType === 1 && l.start < s.column - 1 && s.column - 1 < l.end ? (c = l.start + 1, h = l.end + 1) : (c = s.column, h = s.column);
|
|
@@ -55929,7 +55929,7 @@ class Gr {
|
|
|
55929
55929
|
for (let r = 0, s = t.length; r < s; r++) {
|
|
55930
55930
|
const o = t[r], a = o.modelState.selection.startLineNumber, l = e.model.getLineCount();
|
|
55931
55931
|
let c = o.modelState.selection.endLineNumber, h;
|
|
55932
|
-
c === l ? h = e.model.getLineMaxColumn(l) : (c++, h = 1), n[r] = kt.fromModelState(new
|
|
55932
|
+
c === l ? h = e.model.getLineMaxColumn(l) : (c++, h = 1), n[r] = kt.fromModelState(new gr(new X(a, 1, a, 1), 0, 0, new de(c, h), 0));
|
|
55933
55933
|
}
|
|
55934
55934
|
return n;
|
|
55935
55935
|
}
|
|
@@ -55951,14 +55951,14 @@ class Gr {
|
|
|
55951
55951
|
}
|
|
55952
55952
|
static selectAll(e, t) {
|
|
55953
55953
|
const n = e.model.getLineCount(), r = e.model.getLineMaxColumn(n);
|
|
55954
|
-
return kt.fromModelState(new
|
|
55954
|
+
return kt.fromModelState(new gr(new X(1, 1, 1, 1), 0, 0, new de(n, r), 0));
|
|
55955
55955
|
}
|
|
55956
55956
|
static line(e, t, n, r, s) {
|
|
55957
55957
|
const o = e.model.validatePosition(r), a = s ? e.coordinatesConverter.validateViewPosition(new de(s.lineNumber, s.column), o) : e.coordinatesConverter.convertModelPositionToViewPosition(o);
|
|
55958
55958
|
if (!n) {
|
|
55959
55959
|
const c = e.model.getLineCount();
|
|
55960
55960
|
let h = o.lineNumber + 1, u = 1;
|
|
55961
|
-
return h > c && (h = c, u = e.model.getLineMaxColumn(h)), kt.fromModelState(new
|
|
55961
|
+
return h > c && (h = c, u = e.model.getLineMaxColumn(h)), kt.fromModelState(new gr(new X(o.lineNumber, 1, h, u), 2, 0, new de(h, u), 0));
|
|
55962
55962
|
}
|
|
55963
55963
|
const l = t.modelState.selectionStart.getStartPosition().lineNumber;
|
|
55964
55964
|
if (o.lineNumber < l)
|
|
@@ -55980,7 +55980,7 @@ class Gr {
|
|
|
55980
55980
|
if (!t.modelState.hasSelection())
|
|
55981
55981
|
return new kt(t.modelState, t.viewState);
|
|
55982
55982
|
const n = t.viewState.position.lineNumber, r = t.viewState.position.column;
|
|
55983
|
-
return kt.fromViewState(new
|
|
55983
|
+
return kt.fromViewState(new gr(new X(n, r, n, r), 0, 0, new de(n, r), 0));
|
|
55984
55984
|
}
|
|
55985
55985
|
static moveTo(e, t, n, r, s) {
|
|
55986
55986
|
if (n) {
|
|
@@ -57404,7 +57404,7 @@ class si extends Xd {
|
|
|
57404
57404
|
r && this.runCoreEditorCommand(r, n || {});
|
|
57405
57405
|
}
|
|
57406
57406
|
}
|
|
57407
|
-
var
|
|
57407
|
+
var Er;
|
|
57408
57408
|
(function(i) {
|
|
57409
57409
|
const e = function(n) {
|
|
57410
57410
|
if (!hc(n))
|
|
@@ -57506,7 +57506,7 @@ var xr;
|
|
|
57506
57506
|
};
|
|
57507
57507
|
}
|
|
57508
57508
|
i.parse = t;
|
|
57509
|
-
})(
|
|
57509
|
+
})(Er || (Er = {}));
|
|
57510
57510
|
var xg;
|
|
57511
57511
|
(function(i) {
|
|
57512
57512
|
const e = function(t) {
|
|
@@ -58278,7 +58278,7 @@ var Yi;
|
|
|
58278
58278
|
super({
|
|
58279
58279
|
id: "editorScroll",
|
|
58280
58280
|
precondition: void 0,
|
|
58281
|
-
metadata:
|
|
58281
|
+
metadata: Er.metadata
|
|
58282
58282
|
});
|
|
58283
58283
|
}
|
|
58284
58284
|
determineScrollMethod(w) {
|
|
@@ -58305,7 +58305,7 @@ var Yi;
|
|
|
58305
58305
|
return b.includes(w.unit) && _.includes(w.direction) ? this._runHorizontalEditorScroll.bind(this) : C.includes(w.unit) && M.includes(w.direction) ? this._runVerticalEditorScroll.bind(this) : null;
|
|
58306
58306
|
}
|
|
58307
58307
|
runCoreEditorCommand(w, b) {
|
|
58308
|
-
const C =
|
|
58308
|
+
const C = Er.parse(b);
|
|
58309
58309
|
if (!C)
|
|
58310
58310
|
return;
|
|
58311
58311
|
const _ = this.determineScrollMethod(C);
|
|
@@ -58373,8 +58373,8 @@ var Yi;
|
|
|
58373
58373
|
}
|
|
58374
58374
|
runCoreEditorCommand(v, w) {
|
|
58375
58375
|
i.EditorScroll.runCoreEditorCommand(v, {
|
|
58376
|
-
to:
|
|
58377
|
-
by:
|
|
58376
|
+
to: Er.RawDirection.Up,
|
|
58377
|
+
by: Er.RawUnit.WrappedLine,
|
|
58378
58378
|
value: 1,
|
|
58379
58379
|
revealCursor: !1,
|
|
58380
58380
|
select: !1,
|
|
@@ -58403,8 +58403,8 @@ var Yi;
|
|
|
58403
58403
|
}
|
|
58404
58404
|
runCoreEditorCommand(v, w) {
|
|
58405
58405
|
i.EditorScroll.runCoreEditorCommand(v, {
|
|
58406
|
-
to:
|
|
58407
|
-
by:
|
|
58406
|
+
to: Er.RawDirection.Up,
|
|
58407
|
+
by: Er.RawUnit.Page,
|
|
58408
58408
|
value: 1,
|
|
58409
58409
|
revealCursor: !1,
|
|
58410
58410
|
select: !1,
|
|
@@ -58424,8 +58424,8 @@ var Yi;
|
|
|
58424
58424
|
}
|
|
58425
58425
|
runCoreEditorCommand(v, w) {
|
|
58426
58426
|
i.EditorScroll.runCoreEditorCommand(v, {
|
|
58427
|
-
to:
|
|
58428
|
-
by:
|
|
58427
|
+
to: Er.RawDirection.Up,
|
|
58428
|
+
by: Er.RawUnit.Editor,
|
|
58429
58429
|
value: 1,
|
|
58430
58430
|
revealCursor: !1,
|
|
58431
58431
|
select: !1,
|
|
@@ -58450,8 +58450,8 @@ var Yi;
|
|
|
58450
58450
|
}
|
|
58451
58451
|
runCoreEditorCommand(v, w) {
|
|
58452
58452
|
i.EditorScroll.runCoreEditorCommand(v, {
|
|
58453
|
-
to:
|
|
58454
|
-
by:
|
|
58453
|
+
to: Er.RawDirection.Down,
|
|
58454
|
+
by: Er.RawUnit.WrappedLine,
|
|
58455
58455
|
value: 1,
|
|
58456
58456
|
revealCursor: !1,
|
|
58457
58457
|
select: !1,
|
|
@@ -58480,8 +58480,8 @@ var Yi;
|
|
|
58480
58480
|
}
|
|
58481
58481
|
runCoreEditorCommand(v, w) {
|
|
58482
58482
|
i.EditorScroll.runCoreEditorCommand(v, {
|
|
58483
|
-
to:
|
|
58484
|
-
by:
|
|
58483
|
+
to: Er.RawDirection.Down,
|
|
58484
|
+
by: Er.RawUnit.Page,
|
|
58485
58485
|
value: 1,
|
|
58486
58486
|
revealCursor: !1,
|
|
58487
58487
|
select: !1,
|
|
@@ -58501,8 +58501,8 @@ var Yi;
|
|
|
58501
58501
|
}
|
|
58502
58502
|
runCoreEditorCommand(v, w) {
|
|
58503
58503
|
i.EditorScroll.runCoreEditorCommand(v, {
|
|
58504
|
-
to:
|
|
58505
|
-
by:
|
|
58504
|
+
to: Er.RawDirection.Down,
|
|
58505
|
+
by: Er.RawUnit.Editor,
|
|
58506
58506
|
value: 1,
|
|
58507
58507
|
revealCursor: !1,
|
|
58508
58508
|
select: !1,
|
|
@@ -58522,8 +58522,8 @@ var Yi;
|
|
|
58522
58522
|
}
|
|
58523
58523
|
runCoreEditorCommand(v, w) {
|
|
58524
58524
|
i.EditorScroll.runCoreEditorCommand(v, {
|
|
58525
|
-
to:
|
|
58526
|
-
by:
|
|
58525
|
+
to: Er.RawDirection.Left,
|
|
58526
|
+
by: Er.RawUnit.Column,
|
|
58527
58527
|
value: 2,
|
|
58528
58528
|
revealCursor: !1,
|
|
58529
58529
|
select: !1,
|
|
@@ -58543,8 +58543,8 @@ var Yi;
|
|
|
58543
58543
|
}
|
|
58544
58544
|
runCoreEditorCommand(v, w) {
|
|
58545
58545
|
i.EditorScroll.runCoreEditorCommand(v, {
|
|
58546
|
-
to:
|
|
58547
|
-
by:
|
|
58546
|
+
to: Er.RawDirection.Right,
|
|
58547
|
+
by: Er.RawUnit.Column,
|
|
58548
58548
|
value: 2,
|
|
58549
58549
|
revealCursor: !1,
|
|
58550
58550
|
select: !1,
|
|
@@ -62353,7 +62353,7 @@ class Sg extends Ae {
|
|
|
62353
62353
|
this._domNode,
|
|
62354
62354
|
9
|
|
62355
62355
|
/* PartFingerprint.Minimap */
|
|
62356
|
-
), this._domNode.setClassName(this._getMinimapDomNodeClassName()), this._domNode.setPosition("absolute"), this._domNode.setAttribute("role", "presentation"), this._domNode.setAttribute("aria-hidden", "true"), this._shadow = Kt(document.createElement("div")), this._shadow.setClassName("minimap-shadow-hidden"), this._domNode.appendChild(this._shadow), this._canvas = Kt(document.createElement("canvas")), this._canvas.setPosition("absolute"), this._canvas.setLeft(0), this._domNode.appendChild(this._canvas), this._decorationsCanvas = Kt(document.createElement("canvas")), this._decorationsCanvas.setPosition("absolute"), this._decorationsCanvas.setClassName("minimap-decorations-layer"), this._decorationsCanvas.setLeft(0), this._domNode.appendChild(this._decorationsCanvas), this._slider = Kt(document.createElement("div")), this._slider.setPosition("absolute"), this._slider.setClassName("minimap-slider"), this._slider.setLayerHinting(!0), this._slider.setContain("strict"), this._domNode.appendChild(this._slider), this._sliderHorizontal = Kt(document.createElement("div")), this._sliderHorizontal.setPosition("absolute"), this._sliderHorizontal.setClassName("minimap-slider-horizontal"), this._slider.appendChild(this._sliderHorizontal), this._applyLayout(), this._pointerDownListener =
|
|
62356
|
+
), this._domNode.setClassName(this._getMinimapDomNodeClassName()), this._domNode.setPosition("absolute"), this._domNode.setAttribute("role", "presentation"), this._domNode.setAttribute("aria-hidden", "true"), this._shadow = Kt(document.createElement("div")), this._shadow.setClassName("minimap-shadow-hidden"), this._domNode.appendChild(this._shadow), this._canvas = Kt(document.createElement("canvas")), this._canvas.setPosition("absolute"), this._canvas.setLeft(0), this._domNode.appendChild(this._canvas), this._decorationsCanvas = Kt(document.createElement("canvas")), this._decorationsCanvas.setPosition("absolute"), this._decorationsCanvas.setClassName("minimap-decorations-layer"), this._decorationsCanvas.setLeft(0), this._domNode.appendChild(this._decorationsCanvas), this._slider = Kt(document.createElement("div")), this._slider.setPosition("absolute"), this._slider.setClassName("minimap-slider"), this._slider.setLayerHinting(!0), this._slider.setContain("strict"), this._domNode.appendChild(this._slider), this._sliderHorizontal = Kt(document.createElement("div")), this._sliderHorizontal.setPosition("absolute"), this._sliderHorizontal.setClassName("minimap-slider-horizontal"), this._slider.appendChild(this._sliderHorizontal), this._applyLayout(), this._pointerDownListener = or(this._domNode.domNode, Ee.POINTER_DOWN, (n) => {
|
|
62357
62357
|
if (n.preventDefault(), this._model.options.renderMinimap === 0 || !this._lastRenderData)
|
|
62358
62358
|
return;
|
|
62359
62359
|
if (this._model.options.size !== "proportional") {
|
|
@@ -62366,13 +62366,13 @@ class Sg extends Ae {
|
|
|
62366
62366
|
const s = this._model.options.minimapLineHeight, o = this._model.options.canvasInnerHeight / this._model.options.canvasOuterHeight * n.offsetY;
|
|
62367
62367
|
let l = Math.floor(o / s) + this._lastRenderData.renderedLayout.startLineNumber - this._lastRenderData.renderedLayout.topPaddingLineCount;
|
|
62368
62368
|
l = Math.min(l, this._model.getLineCount()), this._model.revealLineNumber(l);
|
|
62369
|
-
}), this._sliderPointerMoveMonitor = new i7(), this._sliderPointerDownListener =
|
|
62369
|
+
}), this._sliderPointerMoveMonitor = new i7(), this._sliderPointerDownListener = or(this._slider.domNode, Ee.POINTER_DOWN, (n) => {
|
|
62370
62370
|
n.preventDefault(), n.stopPropagation(), n.button === 0 && this._lastRenderData && this._startSliderDragging(n, n.pageY, this._lastRenderData.renderedLayout);
|
|
62371
62371
|
}), this._gestureDisposable = Hn.addTarget(this._domNode.domNode), this._sliderTouchStartListener = pe(this._domNode.domNode, kn.Start, (n) => {
|
|
62372
62372
|
n.preventDefault(), n.stopPropagation(), this._lastRenderData && (this._slider.toggleClassName("active", !0), this._gestureInProgress = !0, this.scrollDueToTouchEvent(n));
|
|
62373
62373
|
}, { passive: !1 }), this._sliderTouchMoveListener = pe(this._domNode.domNode, kn.Change, (n) => {
|
|
62374
62374
|
n.preventDefault(), n.stopPropagation(), this._lastRenderData && this._gestureInProgress && this.scrollDueToTouchEvent(n);
|
|
62375
|
-
}, { passive: !1 }), this._sliderTouchEndListener =
|
|
62375
|
+
}, { passive: !1 }), this._sliderTouchEndListener = or(this._domNode.domNode, kn.End, (n) => {
|
|
62376
62376
|
n.preventDefault(), n.stopPropagation(), this._gestureInProgress = !1, this._slider.toggleClassName("active", !1);
|
|
62377
62377
|
});
|
|
62378
62378
|
}
|
|
@@ -63592,13 +63592,13 @@ class r3e {
|
|
|
63592
63592
|
_prepareRender(e) {
|
|
63593
63593
|
let t = "", n = "";
|
|
63594
63594
|
const [r, s] = this._getGraphemeAwarePosition();
|
|
63595
|
-
if (this._cursorStyle ===
|
|
63595
|
+
if (this._cursorStyle === mr.Line || this._cursorStyle === mr.LineThin) {
|
|
63596
63596
|
const f = e.visibleRangeForPosition(r);
|
|
63597
63597
|
if (!f || f.outsideRenderedLine)
|
|
63598
63598
|
return null;
|
|
63599
63599
|
const p = qe(this._domNode.domNode);
|
|
63600
63600
|
let g;
|
|
63601
|
-
this._cursorStyle ===
|
|
63601
|
+
this._cursorStyle === mr.Line ? (g = Cve(p, this._lineCursorWidth > 0 ? this._lineCursorWidth : 2), g > 2 && (t = s, n = this._getTokenClassName(r))) : g = Cve(p, 1);
|
|
63602
63602
|
let m = f.left, A = 0;
|
|
63603
63603
|
g >= 2 && m >= 1 && (A = 1, m -= A);
|
|
63604
63604
|
const v = e.getVerticalOffsetForLineNumber(r.lineNumber) - e.bigNumbersDelta;
|
|
@@ -63611,9 +63611,9 @@ class r3e {
|
|
|
63611
63611
|
if (a.outsideRenderedLine || a.ranges.length === 0)
|
|
63612
63612
|
return null;
|
|
63613
63613
|
const l = a.ranges[0], c = s === " " ? this._typicalHalfwidthCharacterWidth : l.width < 1 ? this._typicalHalfwidthCharacterWidth : l.width;
|
|
63614
|
-
this._cursorStyle ===
|
|
63614
|
+
this._cursorStyle === mr.Block && (t = s, n = this._getTokenClassName(r));
|
|
63615
63615
|
let h = e.getVerticalOffsetForLineNumber(r.lineNumber) - e.bigNumbersDelta, u = this._lineHeight;
|
|
63616
|
-
return (this._cursorStyle ===
|
|
63616
|
+
return (this._cursorStyle === mr.Underline || this._cursorStyle === mr.UnderlineThin) && (h += this._lineHeight - 2, u = 2), new i3e(h, l.left, 0, c, u, t, n);
|
|
63617
63617
|
}
|
|
63618
63618
|
_getTokenClassName(e) {
|
|
63619
63619
|
const t = this._context.viewModel.getViewLineData(e.lineNumber), n = t.tokens.findTokenIndexAtOffset(e.column - 1);
|
|
@@ -63765,22 +63765,22 @@ class zw extends uo {
|
|
|
63765
63765
|
_getClassName() {
|
|
63766
63766
|
let e = "cursors-layer";
|
|
63767
63767
|
switch (this._selectionIsEmpty || (e += " has-selection"), this._cursorStyle) {
|
|
63768
|
-
case
|
|
63768
|
+
case mr.Line:
|
|
63769
63769
|
e += " cursor-line-style";
|
|
63770
63770
|
break;
|
|
63771
|
-
case
|
|
63771
|
+
case mr.Block:
|
|
63772
63772
|
e += " cursor-block-style";
|
|
63773
63773
|
break;
|
|
63774
|
-
case
|
|
63774
|
+
case mr.Underline:
|
|
63775
63775
|
e += " cursor-underline-style";
|
|
63776
63776
|
break;
|
|
63777
|
-
case
|
|
63777
|
+
case mr.LineThin:
|
|
63778
63778
|
e += " cursor-line-thin-style";
|
|
63779
63779
|
break;
|
|
63780
|
-
case
|
|
63780
|
+
case mr.BlockOutline:
|
|
63781
63781
|
e += " cursor-block-outline-style";
|
|
63782
63782
|
break;
|
|
63783
|
-
case
|
|
63783
|
+
case mr.UnderlineThin:
|
|
63784
63784
|
e += " cursor-underline-thin-style";
|
|
63785
63785
|
break;
|
|
63786
63786
|
default:
|
|
@@ -66817,7 +66817,7 @@ Bh((i, e) => {
|
|
|
66817
66817
|
function T5(i) {
|
|
66818
66818
|
return i.replace(/\n/g, "\\n").replace(/\r/g, "\\r");
|
|
66819
66819
|
}
|
|
66820
|
-
class
|
|
66820
|
+
class xr {
|
|
66821
66821
|
get oldLength() {
|
|
66822
66822
|
return this.oldText.length;
|
|
66823
66823
|
}
|
|
@@ -66851,20 +66851,20 @@ class Sr {
|
|
|
66851
66851
|
return t += 4, Ect(e, t, n);
|
|
66852
66852
|
}
|
|
66853
66853
|
writeSize() {
|
|
66854
|
-
return 8 +
|
|
66854
|
+
return 8 + xr._writeStringSize(this.oldText) + xr._writeStringSize(this.newText);
|
|
66855
66855
|
}
|
|
66856
66856
|
write(e, t) {
|
|
66857
|
-
return Fl(e, this.oldPosition, t), t += 4, Fl(e, this.newPosition, t), t += 4, t =
|
|
66857
|
+
return Fl(e, this.oldPosition, t), t += 4, Fl(e, this.newPosition, t), t += 4, t = xr._writeString(e, this.oldText, t), t = xr._writeString(e, this.newText, t), t;
|
|
66858
66858
|
}
|
|
66859
66859
|
static read(e, t, n) {
|
|
66860
66860
|
const r = Pl(e, t);
|
|
66861
66861
|
t += 4;
|
|
66862
66862
|
const s = Pl(e, t);
|
|
66863
66863
|
t += 4;
|
|
66864
|
-
const o =
|
|
66865
|
-
t +=
|
|
66866
|
-
const a =
|
|
66867
|
-
return t +=
|
|
66864
|
+
const o = xr._readString(e, t);
|
|
66865
|
+
t += xr._writeStringSize(o);
|
|
66866
|
+
const a = xr._readString(e, t);
|
|
66867
|
+
return t += xr._writeStringSize(a), n.push(new xr(r, o, s, a)), t;
|
|
66868
66868
|
}
|
|
66869
66869
|
}
|
|
66870
66870
|
function Jpt(i, e) {
|
|
@@ -66913,7 +66913,7 @@ class Uc {
|
|
|
66913
66913
|
const [c, h] = Uc._splitCurr(r, n.newLength);
|
|
66914
66914
|
a = n, l = c, n = this._getPrev(++e), r = h;
|
|
66915
66915
|
}
|
|
66916
|
-
this._result[this._resultLen++] = new
|
|
66916
|
+
this._result[this._resultLen++] = new xr(a.oldPosition, a.oldText, l.newPosition, l.newText), this._prevDeltaOffset += a.newLength - a.oldLength, this._currDeltaOffset += l.newLength - l.oldLength;
|
|
66917
66917
|
}
|
|
66918
66918
|
const s = Uc._merge(this._result);
|
|
66919
66919
|
return Uc._removeNoOps(s);
|
|
@@ -66931,23 +66931,23 @@ class Uc {
|
|
|
66931
66931
|
return e < this._prevLen ? this._prevEdits[e] : null;
|
|
66932
66932
|
}
|
|
66933
66933
|
static _rebaseCurr(e, t) {
|
|
66934
|
-
return new
|
|
66934
|
+
return new xr(t.oldPosition - e, t.oldText, t.newPosition, t.newText);
|
|
66935
66935
|
}
|
|
66936
66936
|
static _rebasePrev(e, t) {
|
|
66937
|
-
return new
|
|
66937
|
+
return new xr(t.oldPosition, t.oldText, t.newPosition + e, t.newText);
|
|
66938
66938
|
}
|
|
66939
66939
|
static _splitPrev(e, t) {
|
|
66940
66940
|
const n = e.newText.substr(0, t), r = e.newText.substr(t);
|
|
66941
66941
|
return [
|
|
66942
|
-
new
|
|
66943
|
-
new
|
|
66942
|
+
new xr(e.oldPosition, e.oldText, e.newPosition, n),
|
|
66943
|
+
new xr(e.oldEnd, "", e.newPosition + t, r)
|
|
66944
66944
|
];
|
|
66945
66945
|
}
|
|
66946
66946
|
static _splitCurr(e, t) {
|
|
66947
66947
|
const n = e.oldText.substr(0, t), r = e.oldText.substr(t);
|
|
66948
66948
|
return [
|
|
66949
|
-
new
|
|
66950
|
-
new
|
|
66949
|
+
new xr(e.oldPosition, n, e.newPosition, e.newText),
|
|
66950
|
+
new xr(e.oldPosition + t, r, e.newEnd, "")
|
|
66951
66951
|
];
|
|
66952
66952
|
}
|
|
66953
66953
|
static _merge(e) {
|
|
@@ -66957,7 +66957,7 @@ class Uc {
|
|
|
66957
66957
|
let n = 0, r = e[0];
|
|
66958
66958
|
for (let s = 1; s < e.length; s++) {
|
|
66959
66959
|
const o = e[s];
|
|
66960
|
-
r.oldEnd === o.oldPosition ? r = new
|
|
66960
|
+
r.oldEnd === o.oldPosition ? r = new xr(r.oldPosition, r.oldText + o.oldText, r.newPosition, r.newText + o.newText) : (t[n++] = r, r = o);
|
|
66961
66961
|
}
|
|
66962
66962
|
return t[n++] = r, t;
|
|
66963
66963
|
}
|
|
@@ -67242,7 +67242,7 @@ class Xi {
|
|
|
67242
67242
|
n += 4;
|
|
67243
67243
|
const u = [];
|
|
67244
67244
|
for (let f = 0; f < h; f++)
|
|
67245
|
-
n =
|
|
67245
|
+
n = xr.read(t, n, u);
|
|
67246
67246
|
return new Xi(r, s, o, a, l, c, u);
|
|
67247
67247
|
}
|
|
67248
67248
|
}
|
|
@@ -69089,7 +69089,7 @@ class e2 extends Ae {
|
|
|
69089
69089
|
identifier: v.identifier,
|
|
69090
69090
|
range: w,
|
|
69091
69091
|
text: b,
|
|
69092
|
-
textChange: new
|
|
69092
|
+
textChange: new xr(v.rangeOffset, b, C, v.text)
|
|
69093
69093
|
};
|
|
69094
69094
|
}
|
|
69095
69095
|
c || f.sort((A, v) => A.sortIndex - v.sortIndex);
|
|
@@ -71157,7 +71157,7 @@ T0.DEFAULT_CREATION_OPTIONS = {
|
|
|
71157
71157
|
};
|
|
71158
71158
|
T0 = Tf = Hgt([
|
|
71159
71159
|
WE(4, QI),
|
|
71160
|
-
WE(5,
|
|
71160
|
+
WE(5, ar),
|
|
71161
71161
|
WE(6, Hh)
|
|
71162
71162
|
], T0);
|
|
71163
71163
|
function jgt(i) {
|
|
@@ -71604,7 +71604,7 @@ function Pxe(i, e, t, n, r) {
|
|
|
71604
71604
|
}
|
|
71605
71605
|
class p9 {
|
|
71606
71606
|
constructor(e) {
|
|
71607
|
-
this._selTrackedRange = null, this._trackSelection = !0, this._setState(e, new
|
|
71607
|
+
this._selTrackedRange = null, this._trackSelection = !0, this._setState(e, new gr(new X(1, 1, 1, 1), 0, 0, new de(1, 1), 0), new gr(new X(1, 1, 1, 1), 0, 0, new de(1, 1), 0));
|
|
71608
71608
|
}
|
|
71609
71609
|
dispose(e) {
|
|
71610
71610
|
this._removeTrackedRange(e);
|
|
@@ -71657,24 +71657,24 @@ class p9 {
|
|
|
71657
71657
|
2
|
|
71658
71658
|
/* PositionAffinity.None */
|
|
71659
71659
|
), a = this._validatePositionWithCache(e, r, n, o), l = this._validatePositionWithCache(e, s, r, a);
|
|
71660
|
-
return n.equals(o) && r.equals(a) && s.equals(l) ? t : new
|
|
71660
|
+
return n.equals(o) && r.equals(a) && s.equals(l) ? t : new gr(X.fromPositions(a, l), t.selectionStartKind, t.selectionStartLeftoverVisibleColumns + r.column - a.column, o, t.leftoverVisibleColumns + n.column - o.column);
|
|
71661
71661
|
}
|
|
71662
71662
|
_setState(e, t, n) {
|
|
71663
71663
|
if (n && (n = p9._validateViewState(e.viewModel, n)), t) {
|
|
71664
71664
|
const r = e.model.validateRange(t.selectionStart), s = t.selectionStart.equalsRange(r) ? t.selectionStartLeftoverVisibleColumns : 0, o = e.model.validatePosition(t.position), a = t.position.equals(o) ? t.leftoverVisibleColumns : 0;
|
|
71665
|
-
t = new
|
|
71665
|
+
t = new gr(r, t.selectionStartKind, s, o, a);
|
|
71666
71666
|
} else {
|
|
71667
71667
|
if (!n)
|
|
71668
71668
|
return;
|
|
71669
71669
|
const r = e.model.validateRange(e.coordinatesConverter.convertViewRangeToModelRange(n.selectionStart)), s = e.model.validatePosition(e.coordinatesConverter.convertViewPositionToModelPosition(n.position));
|
|
71670
|
-
t = new
|
|
71670
|
+
t = new gr(r, n.selectionStartKind, n.selectionStartLeftoverVisibleColumns, s, n.leftoverVisibleColumns);
|
|
71671
71671
|
}
|
|
71672
71672
|
if (n) {
|
|
71673
71673
|
const r = e.coordinatesConverter.validateViewRange(n.selectionStart, t.selectionStart), s = e.coordinatesConverter.validateViewPosition(n.position, t.position);
|
|
71674
|
-
n = new
|
|
71674
|
+
n = new gr(r, t.selectionStartKind, t.selectionStartLeftoverVisibleColumns, s, t.leftoverVisibleColumns);
|
|
71675
71675
|
} else {
|
|
71676
71676
|
const r = e.coordinatesConverter.convertModelPositionToViewPosition(new de(t.selectionStart.startLineNumber, t.selectionStart.startColumn)), s = e.coordinatesConverter.convertModelPositionToViewPosition(new de(t.selectionStart.endLineNumber, t.selectionStart.endColumn)), o = new X(r.lineNumber, r.column, s.lineNumber, s.column), a = e.coordinatesConverter.convertModelPositionToViewPosition(t.position);
|
|
71677
|
-
n = new
|
|
71677
|
+
n = new gr(o, t.selectionStartKind, t.selectionStartLeftoverVisibleColumns, a, t.leftoverVisibleColumns);
|
|
71678
71678
|
}
|
|
71679
71679
|
this.modelState = t, this.viewState = n, this._updateTrackedRange(e);
|
|
71680
71680
|
}
|
|
@@ -72141,7 +72141,7 @@ class _2t extends Ae {
|
|
|
72141
72141
|
super(), this._model = e, this._knownModelVersionId = this._model.getVersionId(), this._viewModel = t, this._coordinatesConverter = n, this.context = new I3e(this._model, this._viewModel, this._coordinatesConverter, r), this._cursors = new T3e(this.context), this._hasFocus = !1, this._isHandling = !1, this._compositionState = null, this._columnSelectData = null, this._autoClosedActions = [], this._prevEditOperationType = 0;
|
|
72142
72142
|
}
|
|
72143
72143
|
dispose() {
|
|
72144
|
-
this._cursors.dispose(), this._autoClosedActions =
|
|
72144
|
+
this._cursors.dispose(), this._autoClosedActions = br(this._autoClosedActions), super.dispose();
|
|
72145
72145
|
}
|
|
72146
72146
|
updateConfiguration(e) {
|
|
72147
72147
|
this.context = new I3e(this._model, this._viewModel, this._coordinatesConverter, e), this._cursors.updateContext(this.context);
|
|
@@ -76320,7 +76320,7 @@ let X2t = 0, J2t = class {
|
|
|
76320
76320
|
this.model = e, this.viewModel = t, this.view = n, this.hasRealView = r, this.listenersToRemove = s, this.attachedView = o;
|
|
76321
76321
|
}
|
|
76322
76322
|
dispose() {
|
|
76323
|
-
|
|
76323
|
+
br(this.listenersToRemove), this.model.onBeforeDetached(this.attachedView), this.hasRealView && this.view.dispose(), this.viewModel.dispose();
|
|
76324
76324
|
}
|
|
76325
76325
|
};
|
|
76326
76326
|
class W3e extends Ae {
|
|
@@ -77532,7 +77532,7 @@ let XM = class {
|
|
|
77532
77532
|
const r = this._languageService.languageIdCodec.encodeLanguageId(n), s = this._hashTable.get(e, t, r);
|
|
77533
77533
|
let o;
|
|
77534
77534
|
if (s)
|
|
77535
|
-
o = s.metadata, this._logService.getLevel() ===
|
|
77535
|
+
o = s.metadata, this._logService.getLevel() === Sr.Trace && this._logService.trace(`SemanticTokensProviderStyling [CACHED] ${e} / ${t}: foreground ${$s.getForeground(o)}, fontStyle ${$s.getFontStyle(o).toString(2)}`);
|
|
77536
77536
|
else {
|
|
77537
77537
|
let a = this._legend.tokenTypes[e];
|
|
77538
77538
|
const l = [];
|
|
@@ -77540,7 +77540,7 @@ let XM = class {
|
|
|
77540
77540
|
let c = t;
|
|
77541
77541
|
for (let u = 0; c > 0 && u < this._legend.tokenModifiers.length; u++)
|
|
77542
77542
|
c & 1 && l.push(this._legend.tokenModifiers[u]), c = c >> 1;
|
|
77543
|
-
c > 0 && this._logService.getLevel() ===
|
|
77543
|
+
c > 0 && this._logService.getLevel() === Sr.Trace && (this._logService.trace(`SemanticTokensProviderStyling: unknown token modifier index: ${t.toString(2)} for legend: ${JSON.stringify(this._legend.tokenModifiers)}`), l.push("not-in-legend"));
|
|
77544
77544
|
const h = this._themeService.getColorTheme().getTokenStyleMetadata(a, l, n);
|
|
77545
77545
|
if (typeof h > "u")
|
|
77546
77546
|
o = 2147483647;
|
|
@@ -77568,8 +77568,8 @@ let XM = class {
|
|
|
77568
77568
|
o === 0 && (o = 2147483647);
|
|
77569
77569
|
}
|
|
77570
77570
|
} else
|
|
77571
|
-
this._logService.getLevel() ===
|
|
77572
|
-
this._hashTable.add(e, t, r, o), this._logService.getLevel() ===
|
|
77571
|
+
this._logService.getLevel() === Sr.Trace && this._logService.trace(`SemanticTokensProviderStyling: unknown token type index: ${e} for legend: ${JSON.stringify(this._legend.tokenTypes)}`), o = 2147483647, a = "not-in-legend";
|
|
77572
|
+
this._hashTable.add(e, t, r, o), this._logService.getLevel() === Sr.Trace && this._logService.trace(`SemanticTokensProviderStyling ${e} (${a}) / ${t} (${l.join(" ")}): foreground ${$s.getForeground(o)}, fontStyle ${$s.getFontStyle(o).toString(2)}`);
|
|
77573
77573
|
}
|
|
77574
77574
|
return o;
|
|
77575
77575
|
}
|
|
@@ -77585,7 +77585,7 @@ let XM = class {
|
|
|
77585
77585
|
};
|
|
77586
77586
|
XM = vmt([
|
|
77587
77587
|
QE(1, Ia),
|
|
77588
|
-
QE(2,
|
|
77588
|
+
QE(2, ar),
|
|
77589
77589
|
QE(3, Rh)
|
|
77590
77590
|
], XM);
|
|
77591
77591
|
class wmt {
|
|
@@ -77661,7 +77661,7 @@ let JM = class extends Ae {
|
|
|
77661
77661
|
JM = ymt([
|
|
77662
77662
|
KE(0, Ia),
|
|
77663
77663
|
KE(1, Rh),
|
|
77664
|
-
KE(2,
|
|
77664
|
+
KE(2, ar)
|
|
77665
77665
|
], JM);
|
|
77666
77666
|
$t(
|
|
77667
77667
|
bmt,
|
|
@@ -78146,15 +78146,15 @@ let Kw = class extends Ae {
|
|
|
78146
78146
|
showHover(e, t) {
|
|
78147
78147
|
const n = typeof this.overrideOptions == "function" ? this.overrideOptions(e, t) : this.overrideOptions;
|
|
78148
78148
|
this.hoverDisposables.clear();
|
|
78149
|
-
const r =
|
|
78149
|
+
const r = vr(e.target) ? [e.target] : e.target.targetElements;
|
|
78150
78150
|
for (const o of r)
|
|
78151
|
-
this.hoverDisposables.add(
|
|
78151
|
+
this.hoverDisposables.add(or(o, "keydown", (a) => {
|
|
78152
78152
|
a.equals(
|
|
78153
78153
|
9
|
|
78154
78154
|
/* KeyCode.Escape */
|
|
78155
78155
|
) && this.hoverService.hideHover();
|
|
78156
78156
|
}));
|
|
78157
|
-
const s =
|
|
78157
|
+
const s = vr(e.content) ? void 0 : e.content.toString();
|
|
78158
78158
|
return this.hoverService.showHover({
|
|
78159
78159
|
...e,
|
|
78160
78160
|
...n,
|
|
@@ -78281,7 +78281,7 @@ function iSe(i, e, t, n) {
|
|
|
78281
78281
|
r = document.createElement("code");
|
|
78282
78282
|
else if (e.type === 5 && t) {
|
|
78283
78283
|
const s = document.createElement("a");
|
|
78284
|
-
t.disposables.add(
|
|
78284
|
+
t.disposables.add(or(s, "click", (o) => {
|
|
78285
78285
|
t.callback(String(e.index), o);
|
|
78286
78286
|
})), r = s;
|
|
78287
78287
|
} else e.type === 8 ? r = document.createElement("br") : e.type === 1 && (r = i);
|
|
@@ -80694,7 +80694,7 @@ _9._ttpTokenizer = wp("tokenizeToString", {
|
|
|
80694
80694
|
}
|
|
80695
80695
|
});
|
|
80696
80696
|
_9 = ok = QAt([
|
|
80697
|
-
c4e(1,
|
|
80697
|
+
c4e(1, ar),
|
|
80698
80698
|
c4e(2, b4)
|
|
80699
80699
|
], _9);
|
|
80700
80700
|
async function wSe(i, e, t) {
|
|
@@ -80774,7 +80774,7 @@ let ak = class extends Ta {
|
|
|
80774
80774
|
const m = Oc("div.hover-row.markdown-hover"), A = Oc("div.hover-contents");
|
|
80775
80775
|
if (typeof e.content == "string")
|
|
80776
80776
|
A.textContent = e.content, A.style.whiteSpace = "pre-wrap";
|
|
80777
|
-
else if (
|
|
80777
|
+
else if (vr(e.content))
|
|
80778
80778
|
A.appendChild(e.content), A.classList.add("html-hover-contents");
|
|
80779
80779
|
else {
|
|
80780
80780
|
const C = e.content, _ = this._instantiationService.createInstance(_9, { codeBlockFontFamily: this._configurationService.getValue("editor").fontFamily || Fo.fontFamily }), { element: M } = _.render(C, {
|
|
@@ -80960,7 +80960,7 @@ let ak = class extends Ta {
|
|
|
80960
80960
|
}
|
|
80961
80961
|
};
|
|
80962
80962
|
ak = YAt([
|
|
80963
|
-
kA(1,
|
|
80963
|
+
kA(1, _r),
|
|
80964
80964
|
kA(2, fi),
|
|
80965
80965
|
kA(3, b4),
|
|
80966
80966
|
kA(4, En),
|
|
@@ -81055,11 +81055,11 @@ class q2 extends Ae {
|
|
|
81055
81055
|
this.container.appendChild(this.view);
|
|
81056
81056
|
const s = new Fe();
|
|
81057
81057
|
q2.BUBBLE_UP_EVENTS.forEach((o) => {
|
|
81058
|
-
s.add(
|
|
81058
|
+
s.add(or(this.container, o, (a) => {
|
|
81059
81059
|
this.onDOMEvent(a, !1);
|
|
81060
81060
|
}));
|
|
81061
81061
|
}), q2.BUBBLE_DOWN_EVENTS.forEach((o) => {
|
|
81062
|
-
s.add(
|
|
81062
|
+
s.add(or(this.container, o, (a) => {
|
|
81063
81063
|
this.onDOMEvent(a, !0);
|
|
81064
81064
|
}, !0));
|
|
81065
81065
|
}), this.toDisposeOnSetContainer = s;
|
|
@@ -81087,7 +81087,7 @@ class q2 extends Ae {
|
|
|
81087
81087
|
return;
|
|
81088
81088
|
const e = this.delegate.getAnchor();
|
|
81089
81089
|
let t;
|
|
81090
|
-
if (
|
|
81090
|
+
if (vr(e)) {
|
|
81091
81091
|
const f = Oo(e), p = H_e(e);
|
|
81092
81092
|
t = {
|
|
81093
81093
|
top: f.top * p,
|
|
@@ -81246,7 +81246,7 @@ class ivt {
|
|
|
81246
81246
|
if (this._cancellationTokenSource && (this._cancellationTokenSource.dispose(!0), this._cancellationTokenSource = void 0), this.isDisposed)
|
|
81247
81247
|
return;
|
|
81248
81248
|
let s;
|
|
81249
|
-
if (e === void 0 || so(e) ||
|
|
81249
|
+
if (e === void 0 || so(e) || vr(e))
|
|
81250
81250
|
s = e;
|
|
81251
81251
|
else if (!D8(e.markdown))
|
|
81252
81252
|
s = (r = e.markdown) !== null && r !== void 0 ? r : e.markdownNotSupportedFallback;
|
|
@@ -81316,7 +81316,7 @@ let lk = class extends Ae {
|
|
|
81316
81316
|
var f, p;
|
|
81317
81317
|
((f = this._currentHover) === null || f === void 0 ? void 0 : f.domNode) && P_e(this._currentHover.domNode) && ((p = this._lastFocusedElementBeforeOpen) === null || p === void 0 || p.focus()), this._currentHoverOptions === e && (this._currentHoverOptions = void 0), h.dispose();
|
|
81318
81318
|
}, void 0, h), !e.container) {
|
|
81319
|
-
const f =
|
|
81319
|
+
const f = vr(e.target) ? e.target : e.target.targetElements[0];
|
|
81320
81320
|
e.container = this._layoutService.getContainer(qe(f));
|
|
81321
81321
|
}
|
|
81322
81322
|
if (this._contextViewHandler.showContextView(new svt(u, t), e.container), u.onRequestLayout(() => this._contextViewHandler.layout(), void 0, h), !((a = e.persistence) === null || a === void 0) && a.sticky)
|
|
@@ -81402,11 +81402,11 @@ let lk = class extends Ae {
|
|
|
81402
81402
|
};
|
|
81403
81403
|
if (e.placement === void 0 || e.placement === "mouse") {
|
|
81404
81404
|
const M = (D) => {
|
|
81405
|
-
_.x = D.x + 10,
|
|
81405
|
+
_.x = D.x + 10, vr(D.target) && u4e(D.target, t) !== t && a(!0, !0);
|
|
81406
81406
|
};
|
|
81407
81407
|
C.add(pe(t, Ee.MOUSE_MOVE, M, !0));
|
|
81408
81408
|
}
|
|
81409
|
-
s = C, !(
|
|
81409
|
+
s = C, !(vr(b.target) && u4e(b.target, t) !== t) && C.add(l(e.delay, !1, _));
|
|
81410
81410
|
}, g = pe(t, Ee.MOUSE_OVER, p, !0), m = () => {
|
|
81411
81411
|
if (c || s)
|
|
81412
81412
|
return;
|
|
@@ -81447,7 +81447,7 @@ let lk = class extends Ae {
|
|
|
81447
81447
|
lk = rvt([
|
|
81448
81448
|
LA(0, En),
|
|
81449
81449
|
LA(1, su),
|
|
81450
|
-
LA(2,
|
|
81450
|
+
LA(2, _r),
|
|
81451
81451
|
LA(3, sf),
|
|
81452
81452
|
LA(4, xc)
|
|
81453
81453
|
], lk);
|
|
@@ -81822,7 +81822,7 @@ function cvt(i) {
|
|
|
81822
81822
|
function hvt(i) {
|
|
81823
81823
|
return bSe()[`diffEditor.${i}`] || !1;
|
|
81824
81824
|
}
|
|
81825
|
-
const dvt =
|
|
81825
|
+
const dvt = Cr.as(bp.Configuration);
|
|
81826
81826
|
dvt.registerConfiguration(x9);
|
|
81827
81827
|
class uvt {
|
|
81828
81828
|
static insert(e, t) {
|
|
@@ -81855,9 +81855,9 @@ class uvt {
|
|
|
81855
81855
|
function q5(i) {
|
|
81856
81856
|
return Object.isFrozen(i) ? i : sst(i);
|
|
81857
81857
|
}
|
|
81858
|
-
class
|
|
81858
|
+
class Ar {
|
|
81859
81859
|
static createEmptyModel(e) {
|
|
81860
|
-
return new
|
|
81860
|
+
return new Ar({}, [], [], void 0, e);
|
|
81861
81861
|
}
|
|
81862
81862
|
constructor(e, t, n, r, s) {
|
|
81863
81863
|
this._contents = e, this._keys = t, this._overrides = n, this.raw = r, this.logService = s, this.overrideConfigurations = /* @__PURE__ */ new Map();
|
|
@@ -81867,7 +81867,7 @@ class vr {
|
|
|
81867
81867
|
if (!this._rawConfiguration)
|
|
81868
81868
|
if (!((e = this.raw) === null || e === void 0) && e.length) {
|
|
81869
81869
|
const t = this.raw.map((n) => {
|
|
81870
|
-
if (n instanceof
|
|
81870
|
+
if (n instanceof Ar)
|
|
81871
81871
|
return n;
|
|
81872
81872
|
const r = new fvt("", this.logService);
|
|
81873
81873
|
return r.parseRaw(n), r.configurationModel;
|
|
@@ -81907,7 +81907,7 @@ class vr {
|
|
|
81907
81907
|
get overrides() {
|
|
81908
81908
|
const r = [];
|
|
81909
81909
|
for (const { contents: s, identifiers: o, keys: a } of n.rawConfiguration.overrides) {
|
|
81910
|
-
const l = new
|
|
81910
|
+
const l = new Ar(s, a, [], void 0, n.logService).getValue(e);
|
|
81911
81911
|
l !== void 0 && r.push({ identifiers: o, value: l });
|
|
81912
81912
|
}
|
|
81913
81913
|
return r.length ? q5(r) : void 0;
|
|
@@ -81935,7 +81935,7 @@ class vr {
|
|
|
81935
81935
|
for (const c of l.keys)
|
|
81936
81936
|
o.indexOf(c) === -1 && o.push(c);
|
|
81937
81937
|
}
|
|
81938
|
-
return new
|
|
81938
|
+
return new Ar(r, o, s, a.every((l) => l instanceof Ar) ? void 0 : a, this.logService);
|
|
81939
81939
|
}
|
|
81940
81940
|
createOverrideConfigurationModel(e) {
|
|
81941
81941
|
const t = this.getContentsForOverrideIdentifer(e);
|
|
@@ -81947,7 +81947,7 @@ class vr {
|
|
|
81947
81947
|
const o = t[r];
|
|
81948
81948
|
o && (typeof s == "object" && typeof o == "object" ? (s = Su(s), this.mergeContents(s, o)) : s = o), n[r] = s;
|
|
81949
81949
|
}
|
|
81950
|
-
return new
|
|
81950
|
+
return new Ar(n, this.keys, this.overrides, void 0, this.logService);
|
|
81951
81951
|
}
|
|
81952
81952
|
mergeContents(e, t) {
|
|
81953
81953
|
for (const n of Object.keys(t)) {
|
|
@@ -81998,15 +81998,15 @@ class fvt {
|
|
|
81998
81998
|
this._name = e, this.logService = t, this._raw = null, this._configurationModel = null, this._restrictedConfigurations = [];
|
|
81999
81999
|
}
|
|
82000
82000
|
get configurationModel() {
|
|
82001
|
-
return this._configurationModel ||
|
|
82001
|
+
return this._configurationModel || Ar.createEmptyModel(this.logService);
|
|
82002
82002
|
}
|
|
82003
82003
|
parseRaw(e, t) {
|
|
82004
82004
|
this._raw = e;
|
|
82005
82005
|
const { contents: n, keys: r, overrides: s, restricted: o, hasExcludedProperties: a } = this.doParseRaw(e, t);
|
|
82006
|
-
this._configurationModel = new
|
|
82006
|
+
this._configurationModel = new Ar(n, r, s, a ? [e] : void 0, this.logService), this._restrictedConfigurations = o || [];
|
|
82007
82007
|
}
|
|
82008
82008
|
doParseRaw(e, t) {
|
|
82009
|
-
const n =
|
|
82009
|
+
const n = Cr.as(bp.Configuration).getConfigurationProperties(), r = this.filter(e, n, !0, t);
|
|
82010
82010
|
e = r.raw;
|
|
82011
82011
|
const s = sM(e, (l) => this.logService.error(`Conflict in settings file ${this._name}: ${l}`)), o = Object.keys(e), a = this.toOverrides(e, (l) => this.logService.error(`Conflict in settings file ${this._name}: ${l}`));
|
|
82012
82012
|
return { contents: s, keys: o, overrides: a, restricted: r.restricted, hasExcludedProperties: r.hasExcludedProperties };
|
|
@@ -82066,7 +82066,7 @@ let ySe = class CSe {
|
|
|
82066
82066
|
}
|
|
82067
82067
|
updateValue(e, t, n = {}) {
|
|
82068
82068
|
let r;
|
|
82069
|
-
n.resource ? (r = this._memoryConfigurationByResource.get(n.resource), r || (r =
|
|
82069
|
+
n.resource ? (r = this._memoryConfigurationByResource.get(n.resource), r || (r = Ar.createEmptyModel(this.logService), this._memoryConfigurationByResource.set(n.resource, r))) : r = this._memoryConfiguration, t === void 0 ? r.removeValue(e) : r.setValue(e, t), n.resource || (this._workspaceConsolidatedConfiguration = null);
|
|
82070
82070
|
}
|
|
82071
82071
|
inspect(e, t, n) {
|
|
82072
82072
|
const r = this.getConsolidatedConfigurationModel(e, t, n), s = this.getFolderConfigurationModelForResource(t.resource, n), o = t.resource ? this._memoryConfigurationByResource.get(t.resource) || this._memoryConfiguration : this._memoryConfiguration, a = /* @__PURE__ */ new Set();
|
|
@@ -82154,10 +82154,10 @@ let ySe = class CSe {
|
|
|
82154
82154
|
}
|
|
82155
82155
|
static parse(e, t) {
|
|
82156
82156
|
const n = this.parseConfigurationModel(e.defaults, t), r = this.parseConfigurationModel(e.policy, t), s = this.parseConfigurationModel(e.application, t), o = this.parseConfigurationModel(e.user, t), a = this.parseConfigurationModel(e.workspace, t), l = e.folders.reduce((c, h) => (c.set(Ft.revive(h[0]), this.parseConfigurationModel(h[1], t)), c), new ss());
|
|
82157
|
-
return new CSe(n, r, s, o,
|
|
82157
|
+
return new CSe(n, r, s, o, Ar.createEmptyModel(t), a, l, Ar.createEmptyModel(t), new ss(), t);
|
|
82158
82158
|
}
|
|
82159
82159
|
static parseConfigurationModel(e, t) {
|
|
82160
|
-
return new
|
|
82160
|
+
return new Ar(e.contents, e.keys, e.overrides, void 0, t);
|
|
82161
82161
|
}
|
|
82162
82162
|
};
|
|
82163
82163
|
class gvt {
|
|
@@ -83440,7 +83440,7 @@ class Jw extends Ae {
|
|
|
83440
83440
|
}), n.mimetypes.forEach((r) => {
|
|
83441
83441
|
this._mimeTypesMap[r] = n.identifier;
|
|
83442
83442
|
});
|
|
83443
|
-
}),
|
|
83443
|
+
}), Cr.as(bp.Configuration).registerOverrideIdentifiers(this.getRegisteredLanguageIds()), this._onDidChange.fire();
|
|
83444
83444
|
}
|
|
83445
83445
|
_registerLanguage(e) {
|
|
83446
83446
|
const t = e.id;
|
|
@@ -84332,7 +84332,7 @@ class Oa {
|
|
|
84332
84332
|
getItemIndexFromEventTarget(e) {
|
|
84333
84333
|
const t = this.scrollableElement.getDomNode();
|
|
84334
84334
|
let n = e;
|
|
84335
|
-
for (;
|
|
84335
|
+
for (; vr(n) && n !== this.rowsContainer && t.contains(n); ) {
|
|
84336
84336
|
const r = n.getAttribute("data-index");
|
|
84337
84337
|
if (r) {
|
|
84338
84338
|
const s = Number(r);
|
|
@@ -85180,7 +85180,7 @@ let k9 = class {
|
|
|
85180
85180
|
return Qrt(this.sortedIndexes, e, N4e) >= 0;
|
|
85181
85181
|
}
|
|
85182
85182
|
dispose() {
|
|
85183
|
-
|
|
85183
|
+
br(this._onChange);
|
|
85184
85184
|
}
|
|
85185
85185
|
};
|
|
85186
85186
|
af([
|
|
@@ -85382,7 +85382,7 @@ class xwt {
|
|
|
85382
85382
|
if (!n)
|
|
85383
85383
|
return;
|
|
85384
85384
|
const r = n.querySelector("[tabIndex]");
|
|
85385
|
-
if (!r || !
|
|
85385
|
+
if (!r || !vr(r) || r.tabIndex === -1)
|
|
85386
85386
|
return;
|
|
85387
85387
|
const s = qe(r).getComputedStyle(r);
|
|
85388
85388
|
s.visibility === "hidden" || s.display === "none" || (e.preventDefault(), e.stopPropagation(), r.focus());
|
|
@@ -86100,7 +86100,7 @@ class rh extends Ae {
|
|
|
86100
86100
|
}));
|
|
86101
86101
|
}
|
|
86102
86102
|
registerListeners() {
|
|
86103
|
-
this._register(
|
|
86103
|
+
this._register(or(this.selectElement, "change", (t) => {
|
|
86104
86104
|
this.selected = t.target.selectedIndex, this._onDidSelect.fire({
|
|
86105
86105
|
index: t.target.selectedIndex,
|
|
86106
86106
|
selected: t.target.value
|
|
@@ -86419,14 +86419,14 @@ class Vwt extends Ae {
|
|
|
86419
86419
|
this._register(pe(this.selectElement, e, (t) => {
|
|
86420
86420
|
this.selectElement.focus();
|
|
86421
86421
|
}));
|
|
86422
|
-
}), this._register(
|
|
86422
|
+
}), this._register(or(this.selectElement, "click", (e) => {
|
|
86423
86423
|
Lt.stop(e, !0);
|
|
86424
|
-
})), this._register(
|
|
86424
|
+
})), this._register(or(this.selectElement, "change", (e) => {
|
|
86425
86425
|
this.selectElement.title = e.target.value, this._onDidSelect.fire({
|
|
86426
86426
|
index: e.target.selectedIndex,
|
|
86427
86427
|
selected: e.target.value
|
|
86428
86428
|
});
|
|
86429
|
-
})), this._register(
|
|
86429
|
+
})), this._register(or(this.selectElement, "keydown", (e) => {
|
|
86430
86430
|
let t = !1;
|
|
86431
86431
|
zt ? (e.keyCode === 18 || e.keyCode === 16 || e.keyCode === 10) && (t = !0) : (e.keyCode === 18 && e.altKey || e.keyCode === 10 || e.keyCode === 3) && (t = !0), t && e.stopPropagation();
|
|
86432
86432
|
}));
|
|
@@ -87271,7 +87271,7 @@ let t3 = class extends gO {
|
|
|
87271
87271
|
}
|
|
87272
87272
|
};
|
|
87273
87273
|
t3 = b7([
|
|
87274
|
-
Hs(2,
|
|
87274
|
+
Hs(2, _r),
|
|
87275
87275
|
Hs(3, qo),
|
|
87276
87276
|
Hs(4, nn),
|
|
87277
87277
|
Hs(5, Ia),
|
|
@@ -87304,7 +87304,7 @@ let pk = class extends L9 {
|
|
|
87304
87304
|
}
|
|
87305
87305
|
};
|
|
87306
87306
|
pk = b7([
|
|
87307
|
-
Hs(2,
|
|
87307
|
+
Hs(2, _r),
|
|
87308
87308
|
Hs(3, su),
|
|
87309
87309
|
Hs(4, Ia)
|
|
87310
87310
|
], pk);
|
|
@@ -87390,7 +87390,7 @@ let gk = class extends Wl {
|
|
|
87390
87390
|
}
|
|
87391
87391
|
};
|
|
87392
87392
|
gk = b7([
|
|
87393
|
-
Hs(2,
|
|
87393
|
+
Hs(2, _r),
|
|
87394
87394
|
Hs(3, qo),
|
|
87395
87395
|
Hs(4, su),
|
|
87396
87396
|
Hs(5, Ap),
|
|
@@ -87542,7 +87542,7 @@ class O0 extends Ae {
|
|
|
87542
87542
|
var t;
|
|
87543
87543
|
if (typeof e == "number")
|
|
87544
87544
|
return (t = this.viewItems[e]) === null || t === void 0 ? void 0 : t.action;
|
|
87545
|
-
if (
|
|
87545
|
+
if (vr(e)) {
|
|
87546
87546
|
for (; e.parentElement !== this.actionsList; ) {
|
|
87547
87547
|
if (!e.parentElement)
|
|
87548
87548
|
return;
|
|
@@ -87567,7 +87567,7 @@ class O0 extends Ae {
|
|
|
87567
87567
|
}), typeof this.focusedItem == "number" && this.focus(this.focusedItem), this.refreshRole();
|
|
87568
87568
|
}
|
|
87569
87569
|
clear() {
|
|
87570
|
-
this.isEmpty() || (this.viewItems =
|
|
87570
|
+
this.isEmpty() || (this.viewItems = br(this.viewItems), this.viewItemDisposables.clearAndDisposeAll(), fc(this.actionsList), this.refreshRole());
|
|
87571
87571
|
}
|
|
87572
87572
|
length() {
|
|
87573
87573
|
return this.viewItems.length;
|
|
@@ -87642,7 +87642,7 @@ class O0 extends Ae {
|
|
|
87642
87642
|
await this._actionRunner.run(e, t);
|
|
87643
87643
|
}
|
|
87644
87644
|
dispose() {
|
|
87645
|
-
this._context = void 0, this.viewItems =
|
|
87645
|
+
this._context = void 0, this.viewItems = br(this.viewItems), this.getContainer().remove(), super.dispose();
|
|
87646
87646
|
}
|
|
87647
87647
|
}
|
|
87648
87648
|
const Ak = /\(&([^\s&])\)|(^|[^&])&([^\s&])/, rx = /(&)?(&)([^\s&])/g;
|
|
@@ -88409,7 +88409,7 @@ class n3t {
|
|
|
88409
88409
|
return;
|
|
88410
88410
|
this.focusToReturn = os();
|
|
88411
88411
|
let n;
|
|
88412
|
-
const r =
|
|
88412
|
+
const r = vr(e.domForShadowRoot) ? e.domForShadowRoot : void 0;
|
|
88413
88413
|
this.contextViewService.showContextView({
|
|
88414
88414
|
getAnchor: () => e.getAnchor(),
|
|
88415
88415
|
canRelayout: !1,
|
|
@@ -88494,7 +88494,7 @@ wk = i3t([
|
|
|
88494
88494
|
Qp(0, nf),
|
|
88495
88495
|
Qp(1, qo),
|
|
88496
88496
|
Qp(2, Pm),
|
|
88497
|
-
Qp(3,
|
|
88497
|
+
Qp(3, _r),
|
|
88498
88498
|
Qp(4, Ap),
|
|
88499
88499
|
Qp(5, nn)
|
|
88500
88500
|
], wk);
|
|
@@ -89077,7 +89077,7 @@ R9 = ng = l3t([
|
|
|
89077
89077
|
NA(0, fi),
|
|
89078
89078
|
NA(1, xEe),
|
|
89079
89079
|
NA(2, QI),
|
|
89080
|
-
NA(3,
|
|
89080
|
+
NA(3, ar),
|
|
89081
89081
|
NA(4, Hh)
|
|
89082
89082
|
], R9);
|
|
89083
89083
|
class y7 {
|
|
@@ -89116,7 +89116,7 @@ class u3t {
|
|
|
89116
89116
|
return e && this.providers.find((n) => e.startsWith(n.prefix)) || void 0 || this.defaultProvider;
|
|
89117
89117
|
}
|
|
89118
89118
|
}
|
|
89119
|
-
|
|
89119
|
+
Cr.add(WSe.Quickaccess, new u3t());
|
|
89120
89120
|
const f3t = { ctrlCmd: !1, alt: !1 };
|
|
89121
89121
|
var Y2;
|
|
89122
89122
|
(function(i) {
|
|
@@ -89143,7 +89143,7 @@ var p3t = function(i, e, t, n) {
|
|
|
89143
89143
|
};
|
|
89144
89144
|
let Sk = class extends Ae {
|
|
89145
89145
|
constructor(e, t) {
|
|
89146
|
-
super(), this.quickInputService = e, this.instantiationService = t, this.registry =
|
|
89146
|
+
super(), this.quickInputService = e, this.instantiationService = t, this.registry = Cr.as(WSe.Quickaccess), this.mapProviderToDescriptor = /* @__PURE__ */ new Map(), this.lastAcceptedPickerValues = /* @__PURE__ */ new Map(), this.visibleQuickAccess = void 0;
|
|
89147
89147
|
}
|
|
89148
89148
|
show(e = "", t) {
|
|
89149
89149
|
this.doShowOrPick(e, !1, t);
|
|
@@ -89775,7 +89775,7 @@ let D3t = class extends D4 {
|
|
|
89775
89775
|
}
|
|
89776
89776
|
getOverrideOptions(e) {
|
|
89777
89777
|
var t;
|
|
89778
|
-
const n = (
|
|
89778
|
+
const n = (vr(e.content) ? (t = e.content.textContent) !== null && t !== void 0 ? t : "" : typeof e.content == "string" ? e.content : e.content.value).includes(`
|
|
89779
89779
|
`);
|
|
89780
89780
|
return {
|
|
89781
89781
|
persistence: {
|
|
@@ -90485,7 +90485,7 @@ class XSe extends Ta {
|
|
|
90485
90485
|
const V3t = nt;
|
|
90486
90486
|
class R3t extends Ae {
|
|
90487
90487
|
constructor(e, t, n) {
|
|
90488
|
-
super(), this.parent = e, this.onKeyDown = (s) =>
|
|
90488
|
+
super(), this.parent = e, this.onKeyDown = (s) => or(this.findInput.inputBox.inputElement, Ee.KEY_DOWN, s), this.onDidChange = (s) => this.findInput.onDidChange(s), this.container = He(this.parent, V3t(".quick-input-box")), this.findInput = this._register(new XSe(this.container, void 0, { label: "", inputBoxStyles: t, toggleStyles: n }));
|
|
90489
90489
|
const r = this.findInput.inputBox.inputElement;
|
|
90490
90490
|
r.role = "combobox", r.ariaHasPopup = "menu", r.ariaAutoComplete = "list", r.ariaExpanded = "true";
|
|
90491
90491
|
}
|
|
@@ -90865,7 +90865,7 @@ class Eo extends Ae {
|
|
|
90865
90865
|
getOrthogonalSash(e) {
|
|
90866
90866
|
var t;
|
|
90867
90867
|
const n = (t = e.initialTarget) !== null && t !== void 0 ? t : e.target;
|
|
90868
|
-
if (!(!n || !
|
|
90868
|
+
if (!(!n || !vr(n)) && n.classList.contains("orthogonal-drag-handle"))
|
|
90869
90869
|
return n.classList.contains("start") ? this.orthogonalStartSash : this.orthogonalEndSash;
|
|
90870
90870
|
}
|
|
90871
90871
|
dispose() {
|
|
@@ -91347,7 +91347,7 @@ class K3t extends Ae {
|
|
|
91347
91347
|
}
|
|
91348
91348
|
dispose() {
|
|
91349
91349
|
var e;
|
|
91350
|
-
(e = this.sashDragState) === null || e === void 0 || e.disposable.dispose(),
|
|
91350
|
+
(e = this.sashDragState) === null || e === void 0 || e.disposable.dispose(), br(this.viewItems), this.viewItems = [], this.sashItems.forEach((t) => t.disposable.dispose()), this.sashItems = [], super.dispose();
|
|
91351
91351
|
}
|
|
91352
91352
|
}
|
|
91353
91353
|
class M4 {
|
|
@@ -92058,7 +92058,7 @@ class r3 {
|
|
|
92058
92058
|
}), this.activeIndentNodes = t;
|
|
92059
92059
|
}
|
|
92060
92060
|
dispose() {
|
|
92061
|
-
this.renderedNodes.clear(), this.renderedElements.clear(), this.indentGuidesDisposable.dispose(),
|
|
92061
|
+
this.renderedNodes.clear(), this.renderedElements.clear(), this.indentGuidesDisposable.dispose(), br(this.disposables);
|
|
92062
92062
|
}
|
|
92063
92063
|
}
|
|
92064
92064
|
r3.DefaultIndent = 8;
|
|
@@ -92105,7 +92105,7 @@ class i4t {
|
|
|
92105
92105
|
this._totalCount = 0, this._matchCount = 0;
|
|
92106
92106
|
}
|
|
92107
92107
|
dispose() {
|
|
92108
|
-
|
|
92108
|
+
br(this.disposables);
|
|
92109
92109
|
}
|
|
92110
92110
|
}
|
|
92111
92111
|
var kd;
|
|
@@ -92983,7 +92983,7 @@ class nDe {
|
|
|
92983
92983
|
}
|
|
92984
92984
|
dispose() {
|
|
92985
92985
|
var e;
|
|
92986
|
-
|
|
92986
|
+
br(this.disposables), (e = this.stickyScrollController) === null || e === void 0 || e.dispose(), this.view.dispose();
|
|
92987
92987
|
}
|
|
92988
92988
|
}
|
|
92989
92989
|
class CO {
|
|
@@ -94096,7 +94096,7 @@ class S4t {
|
|
|
94096
94096
|
this.renderer.disposeTemplate(e.templateData);
|
|
94097
94097
|
}
|
|
94098
94098
|
dispose() {
|
|
94099
|
-
this.renderedNodes.clear(), this.disposables =
|
|
94099
|
+
this.renderedNodes.clear(), this.disposables = br(this.disposables);
|
|
94100
94100
|
}
|
|
94101
94101
|
}
|
|
94102
94102
|
function D4t(i) {
|
|
@@ -94267,7 +94267,7 @@ class P4t extends Ae {
|
|
|
94267
94267
|
}
|
|
94268
94268
|
function D7(i, e) {
|
|
94269
94269
|
var t;
|
|
94270
|
-
const n = i.get(fi), r = i.get(
|
|
94270
|
+
const n = i.get(fi), r = i.get(_r), s = new Fe();
|
|
94271
94271
|
return [{
|
|
94272
94272
|
...e,
|
|
94273
94273
|
keyboardNavigationDelegate: { mightProducePrintableCharacter(a) {
|
|
@@ -94737,7 +94737,7 @@ let q1 = class {
|
|
|
94737
94737
|
this.tree.style(e ? E4(e) : Wm);
|
|
94738
94738
|
}
|
|
94739
94739
|
dispose() {
|
|
94740
|
-
this.disposables =
|
|
94740
|
+
this.disposables = br(this.disposables);
|
|
94741
94741
|
}
|
|
94742
94742
|
};
|
|
94743
94743
|
q1 = au([
|
|
@@ -94745,7 +94745,7 @@ q1 = au([
|
|
|
94745
94745
|
Nn(5, Fh),
|
|
94746
94746
|
Nn(6, fi)
|
|
94747
94747
|
], q1);
|
|
94748
|
-
const j4t =
|
|
94748
|
+
const j4t = Cr.as(bp.Configuration);
|
|
94749
94749
|
j4t.registerConfiguration({
|
|
94750
94750
|
id: "workbench",
|
|
94751
94751
|
order: 7,
|
|
@@ -94974,7 +94974,7 @@ class r5e extends Ae {
|
|
|
94974
94974
|
const l = this.domNode.element.querySelector(".monaco-icon-label-iconpath");
|
|
94975
94975
|
if (n?.iconPath) {
|
|
94976
94976
|
let c;
|
|
94977
|
-
!l || !
|
|
94977
|
+
!l || !vr(l) ? (c = nt(".monaco-icon-label-iconpath"), this.domNode.element.prepend(c)) : c = l, c.style.backgroundImage = Yd(n?.iconPath);
|
|
94978
94978
|
} else l && l.remove();
|
|
94979
94979
|
if (this.domNode.className = s.join(" "), this.domNode.element.setAttribute("aria-label", a), this.labelContainer.className = o.join(" "), this.setupHover(n?.descriptionTitle ? this.labelContainer : this.element, n?.title), this.nameNode.setLabel(e, n), t || this.descriptionNode) {
|
|
94980
94980
|
const c = this.getOrCreateDescriptionNode();
|
|
@@ -95300,7 +95300,7 @@ class ADe {
|
|
|
95300
95300
|
const t = /* @__PURE__ */ Object.create(null);
|
|
95301
95301
|
t.toDisposeElement = new Fe(), t.toDisposeTemplate = new Fe(), t.entry = He(e, Bl(".quick-input-list-entry"));
|
|
95302
95302
|
const n = He(t.entry, Bl("label.quick-input-list-label"));
|
|
95303
|
-
t.toDisposeTemplate.add(
|
|
95303
|
+
t.toDisposeTemplate.add(or(n, Ee.CLICK, (c) => {
|
|
95304
95304
|
t.checkbox.offsetParent || c.preventDefault();
|
|
95305
95305
|
})), t.checkbox = He(n, Bl("input.quick-input-list-checkbox")), t.checkbox.type = "checkbox";
|
|
95306
95306
|
const r = He(n, Bl(".quick-input-list-rows")), s = He(r, Bl(".quick-input-list-row")), o = He(r, Bl(".quick-input-list-row"));
|
|
@@ -95326,7 +95326,7 @@ let a3 = Vk = class extends ADe {
|
|
|
95326
95326
|
}
|
|
95327
95327
|
renderTemplate(e) {
|
|
95328
95328
|
const t = super.renderTemplate(e);
|
|
95329
|
-
return t.toDisposeTemplate.add(
|
|
95329
|
+
return t.toDisposeTemplate.add(or(t.checkbox, Ee.CHANGE, (n) => {
|
|
95330
95330
|
t.element.checked = t.checkbox.checked;
|
|
95331
95331
|
})), t;
|
|
95332
95332
|
}
|
|
@@ -96107,7 +96107,7 @@ let U9 = Rk = class extends Ae {
|
|
|
96107
96107
|
const o = He(r, Ks(".quick-input-title")), a = this._register(new O0(r, { hoverDelegate: this.options.hoverDelegate }));
|
|
96108
96108
|
a.domNode.classList.add("quick-input-right-action-bar");
|
|
96109
96109
|
const l = He(t, Ks(".quick-input-header")), c = He(l, Ks("input.quick-input-check-all"));
|
|
96110
|
-
c.type = "checkbox", c.setAttribute("aria-label", y("quickInput.checkAll", "Toggle all checkboxes")), this._register(
|
|
96110
|
+
c.type = "checkbox", c.setAttribute("aria-label", y("quickInput.checkAll", "Toggle all checkboxes")), this._register(or(c, Ee.CHANGE, (O) => {
|
|
96111
96111
|
const P = c.checked;
|
|
96112
96112
|
V.setAllVisibleChecked(P);
|
|
96113
96113
|
})), this._register(pe(c, Ee.CLICK, (O) => {
|
|
@@ -96153,7 +96153,7 @@ let U9 = Rk = class extends Ae {
|
|
|
96153
96153
|
const U = P.inputBox.isSelectionAtEnd();
|
|
96154
96154
|
this.endOfQuickInputBoxContext.get() !== U && this.endOfQuickInputBoxContext.set(U);
|
|
96155
96155
|
}
|
|
96156
|
-
nr(O.relatedTarget, P.container) || (this.inQuickInputContext.set(!0), this.previousFocusElement =
|
|
96156
|
+
nr(O.relatedTarget, P.container) || (this.inQuickInputContext.set(!0), this.previousFocusElement = vr(O.relatedTarget) ? O.relatedTarget : void 0);
|
|
96157
96157
|
}, !0)), this._register(N.onDidBlur(() => {
|
|
96158
96158
|
!this.getUI().ignoreFocusOut && !this.options.ignoreFocusOut() && this.hide(Y2.Blur), this.inQuickInputContext.set(!1), this.endOfQuickInputBoxContext.set(!1), this.previousFocusElement = void 0;
|
|
96159
96159
|
})), this._register(p.onKeyDown((O) => {
|
|
@@ -96161,7 +96161,7 @@ let U9 = Rk = class extends Ae {
|
|
|
96161
96161
|
this.endOfQuickInputBoxContext.get() !== P && this.endOfQuickInputBoxContext.set(P);
|
|
96162
96162
|
})), this._register(pe(t, Ee.FOCUS, (O) => {
|
|
96163
96163
|
p.setFocus();
|
|
96164
|
-
})), this._register(
|
|
96164
|
+
})), this._register(or(t, Ee.KEY_DOWN, (O) => {
|
|
96165
96165
|
if (!nr(O.target, k))
|
|
96166
96166
|
switch (O.keyCode) {
|
|
96167
96167
|
case 3:
|
|
@@ -96284,7 +96284,7 @@ let U9 = Rk = class extends Ae {
|
|
|
96284
96284
|
a.hide();
|
|
96285
96285
|
}),
|
|
96286
96286
|
a.onDidHide(() => {
|
|
96287
|
-
|
|
96287
|
+
br(c), o(void 0);
|
|
96288
96288
|
})
|
|
96289
96289
|
];
|
|
96290
96290
|
a.title = t.title, a.canSelectMany = !!t.canPickMany, a.placeholder = t.placeHolder, a.ignoreFocusOut = !!t.ignoreFocusLost, a.matchOnDescription = !!t.matchOnDescription, a.matchOnDetail = !!t.matchOnDetail, a.matchOnLabel = t.matchOnLabel === void 0 || t.matchOnLabel, a.quickNavigate = t.quickNavigate, a.hideInput = !!t.hideInput, a.contextKey = t.contextKey, a.busy = !0, Promise.all([e, t.activeItem]).then(([h, u]) => {
|
|
@@ -97118,7 +97118,7 @@ class A5t {
|
|
|
97118
97118
|
}
|
|
97119
97119
|
}
|
|
97120
97120
|
const Dp = new A5t();
|
|
97121
|
-
|
|
97121
|
+
Cr.add(m5t.IconContribution, Dp);
|
|
97122
97122
|
function po(i, e, t, n) {
|
|
97123
97123
|
return Dp.registerIcon(i, e, t, n);
|
|
97124
97124
|
}
|
|
@@ -97133,7 +97133,7 @@ function v5t() {
|
|
|
97133
97133
|
}
|
|
97134
97134
|
}
|
|
97135
97135
|
v5t();
|
|
97136
|
-
const CDe = "vscode://schemas/icons", _De =
|
|
97136
|
+
const CDe = "vscode://schemas/icons", _De = Cr.as(t7.JSONContribution);
|
|
97137
97137
|
_De.registerSchema(CDe, Dp.getIconSchema());
|
|
97138
97138
|
const d5e = new Fr(() => _De.notifySchemaChanged(CDe), 200);
|
|
97139
97139
|
Dp.onDidChange(() => {
|
|
@@ -97180,7 +97180,7 @@ class EDe {
|
|
|
97180
97180
|
return n;
|
|
97181
97181
|
}
|
|
97182
97182
|
}
|
|
97183
|
-
const Bu = "vs", Xv = "vs-dark", a2 = "hc-black", l2 = "hc-light", xDe =
|
|
97183
|
+
const Bu = "vs", Xv = "vs-dark", a2 = "hc-black", l2 = "hc-light", xDe = Cr.as(REe.ColorContribution), y5t = Cr.as(JEe.ThemingContribution);
|
|
97184
97184
|
class SDe {
|
|
97185
97185
|
constructor(e, t) {
|
|
97186
97186
|
this.semanticHighlighting = !1, this.themeData = t;
|
|
@@ -97456,7 +97456,7 @@ let Wk = class {
|
|
|
97456
97456
|
};
|
|
97457
97457
|
Wk = L7([
|
|
97458
97458
|
bh(0, Uo),
|
|
97459
|
-
bh(1,
|
|
97459
|
+
bh(1, _r),
|
|
97460
97460
|
bh(2, zm)
|
|
97461
97461
|
], Wk);
|
|
97462
97462
|
let q9 = ig = class {
|
|
@@ -97617,7 +97617,7 @@ let jk = xu = class {
|
|
|
97617
97617
|
};
|
|
97618
97618
|
jk = xu = L7([
|
|
97619
97619
|
bh(3, Uo),
|
|
97620
|
-
bh(4,
|
|
97620
|
+
bh(4, _r),
|
|
97621
97621
|
bh(5, nn)
|
|
97622
97622
|
], jk);
|
|
97623
97623
|
let Zk = class {
|
|
@@ -97660,7 +97660,7 @@ let Zk = class {
|
|
|
97660
97660
|
};
|
|
97661
97661
|
Zk = L7([
|
|
97662
97662
|
bh(3, Uo),
|
|
97663
|
-
bh(4,
|
|
97663
|
+
bh(4, _r),
|
|
97664
97664
|
bh(5, nn)
|
|
97665
97665
|
], Zk);
|
|
97666
97666
|
function E5t(i, e, t) {
|
|
@@ -97755,7 +97755,7 @@ let G9 = Uk = class extends Ae {
|
|
|
97755
97755
|
}
|
|
97756
97756
|
fallbackWriteText(e) {
|
|
97757
97757
|
const t = nI(), n = t.activeElement, r = t.body.appendChild(nt("textarea", { "aria-hidden": !0 }));
|
|
97758
|
-
r.style.height = "1px", r.style.width = "1px", r.style.position = "absolute", r.value = e, r.focus(), r.select(), t.execCommand("copy"),
|
|
97758
|
+
r.style.height = "1px", r.style.width = "1px", r.style.position = "absolute", r.value = e, r.focus(), r.select(), t.execCommand("copy"), vr(n) && n.focus(), t.body.removeChild(r);
|
|
97759
97759
|
}
|
|
97760
97760
|
async readText(e) {
|
|
97761
97761
|
if (e)
|
|
@@ -98158,7 +98158,7 @@ class Q9 {
|
|
|
98158
98158
|
}
|
|
98159
98159
|
dispose() {
|
|
98160
98160
|
if (!this._isDisposed) {
|
|
98161
|
-
this._isDisposed = !0,
|
|
98161
|
+
this._isDisposed = !0, br(this._children), this._children.clear();
|
|
98162
98162
|
for (const e of this._servicesToMaybeDispose)
|
|
98163
98163
|
Y7e(e) && e.dispose();
|
|
98164
98164
|
this._servicesToMaybeDispose.clear();
|
|
@@ -98574,7 +98574,7 @@ class F5t extends Ae {
|
|
|
98574
98574
|
return this._configurationModel;
|
|
98575
98575
|
}
|
|
98576
98576
|
constructor(e) {
|
|
98577
|
-
super(), this.logService = e, this._configurationModel =
|
|
98577
|
+
super(), this.logService = e, this._configurationModel = Ar.createEmptyModel(this.logService);
|
|
98578
98578
|
}
|
|
98579
98579
|
reload() {
|
|
98580
98580
|
return this.resetConfigurationModel(), this.configurationModel;
|
|
@@ -98583,8 +98583,8 @@ class F5t extends Ae {
|
|
|
98583
98583
|
return {};
|
|
98584
98584
|
}
|
|
98585
98585
|
resetConfigurationModel() {
|
|
98586
|
-
this._configurationModel =
|
|
98587
|
-
const e =
|
|
98586
|
+
this._configurationModel = Ar.createEmptyModel(this.logService);
|
|
98587
|
+
const e = Cr.as(bp.Configuration).getConfigurationProperties();
|
|
98588
98588
|
this.updateConfigurationModel(Object.keys(e), e);
|
|
98589
98589
|
}
|
|
98590
98590
|
updateConfigurationModel(e, t) {
|
|
@@ -99147,7 +99147,7 @@ let K9 = class {
|
|
|
99147
99147
|
constructor(e) {
|
|
99148
99148
|
this.logService = e, this._onDidChangeConfiguration = new ee(), this.onDidChangeConfiguration = this._onDidChangeConfiguration.event;
|
|
99149
99149
|
const t = new F5t(e);
|
|
99150
|
-
this._configuration = new ySe(t.reload(),
|
|
99150
|
+
this._configuration = new ySe(t.reload(), Ar.createEmptyModel(e), Ar.createEmptyModel(e), Ar.createEmptyModel(e), Ar.createEmptyModel(e), Ar.createEmptyModel(e), new ss(), Ar.createEmptyModel(e), new ss(), e), t.dispose();
|
|
99151
99151
|
}
|
|
99152
99152
|
getValue(e, t) {
|
|
99153
99153
|
const n = typeof e == "string" ? e : void 0, r = A5e(e) ? e : A5e(t) ? t : {};
|
|
@@ -99199,7 +99199,7 @@ let Kk = class {
|
|
|
99199
99199
|
Kk = lu([
|
|
99200
99200
|
tr(0, fi),
|
|
99201
99201
|
tr(1, Zo),
|
|
99202
|
-
tr(2,
|
|
99202
|
+
tr(2, ar)
|
|
99203
99203
|
], Kk);
|
|
99204
99204
|
let Yk = class {
|
|
99205
99205
|
constructor(e) {
|
|
@@ -99323,7 +99323,7 @@ $k = lu([
|
|
|
99323
99323
|
tr(0, nf),
|
|
99324
99324
|
tr(1, qo),
|
|
99325
99325
|
tr(2, Pm),
|
|
99326
|
-
tr(3,
|
|
99326
|
+
tr(3, _r),
|
|
99327
99327
|
tr(4, Ap),
|
|
99328
99328
|
tr(5, nn)
|
|
99329
99329
|
], $k);
|
|
@@ -99398,7 +99398,7 @@ $t(
|
|
|
99398
99398
|
/* InstantiationType.Eager */
|
|
99399
99399
|
);
|
|
99400
99400
|
$t(
|
|
99401
|
-
|
|
99401
|
+
ar,
|
|
99402
99402
|
$5t,
|
|
99403
99403
|
0
|
|
99404
99404
|
/* InstantiationType.Eager */
|
|
@@ -99488,7 +99488,7 @@ $t(
|
|
|
99488
99488
|
/* InstantiationType.Eager */
|
|
99489
99489
|
);
|
|
99490
99490
|
$t(
|
|
99491
|
-
|
|
99491
|
+
_r,
|
|
99492
99492
|
em,
|
|
99493
99493
|
0
|
|
99494
99494
|
/* InstantiationType.Eager */
|
|
@@ -100049,7 +100049,7 @@ let tL = class extends Ae {
|
|
|
100049
100049
|
Es(this.domNode);
|
|
100050
100050
|
})), this._register(V0(this.domNode, { width: this._width, height: this._height })), this._register(V0(this._content, { width: this._width, height: this._height })), this._register(Sh((l, c) => {
|
|
100051
100051
|
this._model.currentGroup.read(l), this._render(c);
|
|
100052
|
-
})), this._register(
|
|
100052
|
+
})), this._register(or(this.domNode, "keydown", (l) => {
|
|
100053
100053
|
(l.equals(
|
|
100054
100054
|
18
|
|
100055
100055
|
/* KeyCode.DownArrow */
|
|
@@ -100220,7 +100220,7 @@ let tL = class extends Ae {
|
|
|
100220
100220
|
}
|
|
100221
100221
|
};
|
|
100222
100222
|
tL = PO([
|
|
100223
|
-
FO(5,
|
|
100223
|
+
FO(5, ar)
|
|
100224
100224
|
], tL);
|
|
100225
100225
|
class vbt {
|
|
100226
100226
|
constructor(e) {
|
|
@@ -100953,7 +100953,7 @@ class Lbt extends Ae {
|
|
|
100953
100953
|
autoSelectFirstItem: !0
|
|
100954
100954
|
});
|
|
100955
100955
|
};
|
|
100956
|
-
this._register(
|
|
100956
|
+
this._register(or(this._diffActions, "mousedown", (g) => {
|
|
100957
100957
|
if (!g.leftButton)
|
|
100958
100958
|
return;
|
|
100959
100959
|
const { top: m, height: A } = Oo(this._diffActions), v = Math.floor(h / 3);
|
|
@@ -101694,7 +101694,7 @@ aL = BDe([
|
|
|
101694
101694
|
$a(2, Ap),
|
|
101695
101695
|
$a(3, nn),
|
|
101696
101696
|
$a(4, su),
|
|
101697
|
-
$a(5,
|
|
101697
|
+
$a(5, _r),
|
|
101698
101698
|
$a(6, Uo),
|
|
101699
101699
|
$a(7, nf)
|
|
101700
101700
|
], aL);
|
|
@@ -101721,7 +101721,7 @@ ny = BDe([
|
|
|
101721
101721
|
$a(3, Ap),
|
|
101722
101722
|
$a(4, nn),
|
|
101723
101723
|
$a(5, su),
|
|
101724
|
-
$a(6,
|
|
101724
|
+
$a(6, _r),
|
|
101725
101725
|
$a(7, Uo),
|
|
101726
101726
|
$a(8, nf)
|
|
101727
101727
|
], ny);
|
|
@@ -102121,7 +102121,7 @@ let G1 = Ga = class extends Ae {
|
|
|
102121
102121
|
const u = ln("div.diffOverview", {
|
|
102122
102122
|
style: { position: "absolute", top: "0px", width: Ga.ENTIRE_DIFF_OVERVIEW_WIDTH + "px" }
|
|
102123
102123
|
}).root;
|
|
102124
|
-
this._register(Av(u, h.domNode)), this._register(
|
|
102124
|
+
this._register(Av(u, h.domNode)), this._register(or(u, Ee.POINTER_DOWN, (f) => {
|
|
102125
102125
|
this._editors.modified.delegateVerticalScrollbarPointerDown(f);
|
|
102126
102126
|
})), this._register(pe(u, Ee.MOUSE_WHEEL, (f) => {
|
|
102127
102127
|
this._editors.modified.delegateScrollFromMouseWheelEvent(f);
|
|
@@ -102365,7 +102365,7 @@ let dL = class extends Ae {
|
|
|
102365
102365
|
};
|
|
102366
102366
|
dL = jbt([
|
|
102367
102367
|
O5e(5, En),
|
|
102368
|
-
O5e(6,
|
|
102368
|
+
O5e(6, _r)
|
|
102369
102369
|
], dL);
|
|
102370
102370
|
class O7 extends Ae {
|
|
102371
102371
|
constructor() {
|
|
@@ -102966,7 +102966,7 @@ sy = ZO([
|
|
|
102966
102966
|
Sn(4, Uo),
|
|
102967
102967
|
Sn(5, nn),
|
|
102968
102968
|
Sn(6, Ep),
|
|
102969
|
-
Sn(7,
|
|
102969
|
+
Sn(7, _r),
|
|
102970
102970
|
Sn(8, Ia),
|
|
102971
102971
|
Sn(9, qo),
|
|
102972
102972
|
Sn(10, xc),
|
|
@@ -103011,13 +103011,13 @@ fL = ZO([
|
|
|
103011
103011
|
Sn(4, Uo),
|
|
103012
103012
|
Sn(5, nn),
|
|
103013
103013
|
Sn(6, Ep),
|
|
103014
|
-
Sn(7,
|
|
103014
|
+
Sn(7, _r),
|
|
103015
103015
|
Sn(8, Sl),
|
|
103016
103016
|
Sn(9, qo),
|
|
103017
103017
|
Sn(10, fi),
|
|
103018
103018
|
Sn(11, xc),
|
|
103019
103019
|
Sn(12, Zo),
|
|
103020
|
-
Sn(13,
|
|
103020
|
+
Sn(13, ar),
|
|
103021
103021
|
Sn(14, Hh),
|
|
103022
103022
|
Sn(15, In)
|
|
103023
103023
|
], fL);
|
|
@@ -103519,7 +103519,7 @@ function u6t(i) {
|
|
|
103519
103519
|
n.add(T2.appendMenuItem(F.EditorContext, r));
|
|
103520
103520
|
}
|
|
103521
103521
|
if (Array.isArray(i.keybindings)) {
|
|
103522
|
-
const r = Qe.get(
|
|
103522
|
+
const r = Qe.get(_r);
|
|
103523
103523
|
if (!(r instanceof em))
|
|
103524
103524
|
console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService");
|
|
103525
103525
|
else {
|
|
@@ -103537,7 +103537,7 @@ function f6t(i) {
|
|
|
103537
103537
|
return zDe([i]);
|
|
103538
103538
|
}
|
|
103539
103539
|
function zDe(i) {
|
|
103540
|
-
const e = Qe.get(
|
|
103540
|
+
const e = Qe.get(_r);
|
|
103541
103541
|
return e instanceof em ? e.addDynamicKeybindings(i.map((t) => ({
|
|
103542
103542
|
keybinding: t.keybinding,
|
|
103543
103543
|
command: t.command,
|
|
@@ -103546,11 +103546,11 @@ function zDe(i) {
|
|
|
103546
103546
|
}))) : (console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"), Ae.None);
|
|
103547
103547
|
}
|
|
103548
103548
|
function p6t(i, e, t) {
|
|
103549
|
-
const n = Qe.get(
|
|
103549
|
+
const n = Qe.get(ar), r = n.getLanguageIdByMimeType(e) || e;
|
|
103550
103550
|
return FDe(Qe.get(Zo), n, i, r, t);
|
|
103551
103551
|
}
|
|
103552
103552
|
function g6t(i, e) {
|
|
103553
|
-
const t = Qe.get(
|
|
103553
|
+
const t = Qe.get(ar), n = t.getLanguageIdByMimeType(e) || e || gl;
|
|
103554
103554
|
i.setLanguage(t.createById(n));
|
|
103555
103555
|
}
|
|
103556
103556
|
function m6t(i, e, t) {
|
|
@@ -103589,13 +103589,13 @@ function x6t(i) {
|
|
|
103589
103589
|
return Adt(Qe.get(Zo), Qe.get(Hh), i);
|
|
103590
103590
|
}
|
|
103591
103591
|
function S6t(i, e) {
|
|
103592
|
-
const t = Qe.get(
|
|
103592
|
+
const t = Qe.get(ar), n = Qe.get(Sl);
|
|
103593
103593
|
return CI.colorizeElement(n, t, i, e).then(() => {
|
|
103594
103594
|
n.registerEditorContainer(i);
|
|
103595
103595
|
});
|
|
103596
103596
|
}
|
|
103597
103597
|
function D6t(i, e, t) {
|
|
103598
|
-
const n = Qe.get(
|
|
103598
|
+
const n = Qe.get(ar);
|
|
103599
103599
|
return Qe.get(Sl).registerEditorContainer(wn.document.body), CI.colorize(n, i, e, t);
|
|
103600
103600
|
}
|
|
103601
103601
|
function M6t(i, e, t = 4) {
|
|
@@ -104008,11 +104008,11 @@ function Z6t() {
|
|
|
104008
104008
|
return i = i.concat(O2.getLanguages()), i;
|
|
104009
104009
|
}
|
|
104010
104010
|
function U6t(i) {
|
|
104011
|
-
return Qe.get(
|
|
104011
|
+
return Qe.get(ar).languageIdCodec.encodeLanguageId(i);
|
|
104012
104012
|
}
|
|
104013
104013
|
function q6t(i, e) {
|
|
104014
104014
|
return Qe.withServices(() => {
|
|
104015
|
-
const n = Qe.get(
|
|
104015
|
+
const n = Qe.get(ar).onDidRequestRichLanguageFeatures((r) => {
|
|
104016
104016
|
r === i && (n.dispose(), e());
|
|
104017
104017
|
});
|
|
104018
104018
|
return n;
|
|
@@ -104020,14 +104020,14 @@ function q6t(i, e) {
|
|
|
104020
104020
|
}
|
|
104021
104021
|
function G6t(i, e) {
|
|
104022
104022
|
return Qe.withServices(() => {
|
|
104023
|
-
const n = Qe.get(
|
|
104023
|
+
const n = Qe.get(ar).onDidRequestBasicLanguageFeatures((r) => {
|
|
104024
104024
|
r === i && (n.dispose(), e());
|
|
104025
104025
|
});
|
|
104026
104026
|
return n;
|
|
104027
104027
|
});
|
|
104028
104028
|
}
|
|
104029
104029
|
function Q6t(i, e) {
|
|
104030
|
-
if (!Qe.get(
|
|
104030
|
+
if (!Qe.get(ar).isRegisteredLanguageId(i))
|
|
104031
104031
|
throw new Error(`Cannot set configuration for unknown language ${i}`);
|
|
104032
104032
|
return Qe.get(Hh).register(i, e, 100);
|
|
104033
104033
|
}
|
|
@@ -104118,22 +104118,22 @@ function J6t(i) {
|
|
|
104118
104118
|
e.setColorMapOverride(null);
|
|
104119
104119
|
}
|
|
104120
104120
|
function ZDe(i, e) {
|
|
104121
|
-
return X6t(e) ? new K6t(i, e) : new f3(i, e, Qe.get(
|
|
104121
|
+
return X6t(e) ? new K6t(i, e) : new f3(i, e, Qe.get(ar), Qe.get(Sl));
|
|
104122
104122
|
}
|
|
104123
104123
|
function UO(i, e) {
|
|
104124
104124
|
const t = new eat(async () => {
|
|
104125
104125
|
const n = await Promise.resolve(e.create());
|
|
104126
|
-
return n ? Y6t(n) ? ZDe(i, n) : new Vw(Qe.get(
|
|
104126
|
+
return n ? Y6t(n) ? ZDe(i, n) : new Vw(Qe.get(ar), Qe.get(Sl), i, WDe(i, n), Qe.get(fi)) : null;
|
|
104127
104127
|
});
|
|
104128
104128
|
return Ci.registerFactory(i, t);
|
|
104129
104129
|
}
|
|
104130
104130
|
function $6t(i, e) {
|
|
104131
|
-
if (!Qe.get(
|
|
104131
|
+
if (!Qe.get(ar).isRegisteredLanguageId(i))
|
|
104132
104132
|
throw new Error(`Cannot set tokens provider for unknown language ${i}`);
|
|
104133
104133
|
return jDe(e) ? UO(i, { create: () => e }) : Ci.register(i, ZDe(i, e));
|
|
104134
104134
|
}
|
|
104135
104135
|
function e8t(i, e) {
|
|
104136
|
-
const t = (n) => new Vw(Qe.get(
|
|
104136
|
+
const t = (n) => new Vw(Qe.get(ar), Qe.get(Sl), i, WDe(i, n), Qe.get(fi));
|
|
104137
104137
|
return jDe(e) ? UO(i, { create: () => e }) : Ci.register(i, t(e));
|
|
104138
104138
|
}
|
|
104139
104139
|
function t8t(i, e) {
|
|
@@ -105024,7 +105024,7 @@ class $v {
|
|
|
105024
105024
|
})), this._toDispose.add(this._state.onFindReplaceStateChange((n) => this._onStateChanged(n))), this.research(!1, this._state.searchScope);
|
|
105025
105025
|
}
|
|
105026
105026
|
dispose() {
|
|
105027
|
-
this._isDisposed = !0,
|
|
105027
|
+
this._isDisposed = !0, br(this._startSearchingTimer), this._toDispose.dispose();
|
|
105028
105028
|
}
|
|
105029
105029
|
_onStateChanged(e) {
|
|
105030
105030
|
this._isDisposed || this._editor.hasModel() && (e.searchString || e.isReplaceRevealed || e.isRegex || e.wholeWord || e.matchCase || e.searchScope) && (this._editor.getModel().isTooLargeForSyncing() ? (this._startSearchingTimer.cancel(), this._startSearchingTimer.setIfNotSet(() => {
|
|
@@ -106521,7 +106521,7 @@ let _L = class extends Ma {
|
|
|
106521
106521
|
_L = nMe([
|
|
106522
106522
|
$o(1, Pm),
|
|
106523
106523
|
$o(2, nn),
|
|
106524
|
-
$o(3,
|
|
106524
|
+
$o(3, _r),
|
|
106525
106525
|
$o(4, Ia),
|
|
106526
106526
|
$o(5, qo),
|
|
106527
106527
|
$o(6, zm),
|
|
@@ -107172,7 +107172,7 @@ const Q9t = G.div`
|
|
|
107172
107172
|
hasJSONObjectValidation: c = !1,
|
|
107173
107173
|
dataTestId: h
|
|
107174
107174
|
}) => {
|
|
107175
|
-
const f = Fn(
|
|
107175
|
+
const f = Fn(yr).monacoLoaderConfig, [p, g] = Ce(null), m = i === "" && t !== void 0;
|
|
107176
107176
|
return Pe(() => {
|
|
107177
107177
|
G9t(f).then((A) => {
|
|
107178
107178
|
g(A);
|
|
@@ -107444,7 +107444,7 @@ const Q9t = G.div`
|
|
|
107444
107444
|
}
|
|
107445
107445
|
);
|
|
107446
107446
|
}, ryt = xt(({ selectedScope: i, isActive: e }) => {
|
|
107447
|
-
const t = Fn(
|
|
107447
|
+
const t = Fn(yr), [n, r] = Ce(null), [s, o] = Ce(""), [a, l] = Ce(!1), [c, h] = Ce(!1), [u, f] = Ce(!1), p = ol.state.isUpdatingVariable, { instanceKey: g, processInstance: m } = Gt.state, A = ol.state.variables.filter(
|
|
107448
107448
|
(v) => v.scope.key === i
|
|
107449
107449
|
);
|
|
107450
107450
|
return Pe(() => {
|
|
@@ -107539,7 +107539,7 @@ const Q9t = G.div`
|
|
|
107539
107539
|
scope: i,
|
|
107540
107540
|
variablesString: w
|
|
107541
107541
|
});
|
|
107542
|
-
b && m !== void 0 && rs(
|
|
107542
|
+
b && m !== void 0 && rs(Dr(m.key), {
|
|
107543
107543
|
action: "setVariables",
|
|
107544
107544
|
variables: w
|
|
107545
107545
|
}), b || t.displayNotification?.error(xi), l(!1), r(null);
|
|
@@ -107575,7 +107575,7 @@ const Q9t = G.div`
|
|
|
107575
107575
|
scope: i,
|
|
107576
107576
|
variablesString: b
|
|
107577
107577
|
});
|
|
107578
|
-
C && m !== void 0 && rs(
|
|
107578
|
+
C && m !== void 0 && rs(Dr(m.key), {
|
|
107579
107579
|
action: "setVariables",
|
|
107580
107580
|
variables: b
|
|
107581
107581
|
}), C || t.displayNotification?.error(xi), l(!1), r(null);
|
|
@@ -108091,7 +108091,7 @@ let Nyt = class {
|
|
|
108091
108091
|
};
|
|
108092
108092
|
};
|
|
108093
108093
|
const Lh = new Nyt(), KO = xt(({ children: i, secrets: e }) => {
|
|
108094
|
-
const t = Fn(
|
|
108094
|
+
const t = Fn(yr), [n, r] = Ce(!1), [s, o] = Ce(!1), a = on(null), {
|
|
108095
108095
|
state: { existingSecrets: l }
|
|
108096
108096
|
} = Lh, c = il(
|
|
108097
108097
|
() => e.reduce(
|
|
@@ -111158,7 +111158,7 @@ function bCt(i, e) {
|
|
|
111158
111158
|
return i ? e ? "error" : "finished" : "active";
|
|
111159
111159
|
}
|
|
111160
111160
|
const yCt = ({ onRefresh: i }) => {
|
|
111161
|
-
const e = Fn(
|
|
111161
|
+
const e = Fn(yr);
|
|
111162
111162
|
return /* @__PURE__ */ S.jsxs(en, { open: !0, maxWidth: 480, children: [
|
|
111163
111163
|
/* @__PURE__ */ S.jsx(en.Header, { children: /* @__PURE__ */ S.jsx(en.Title, { children: "Play session expired" }) }),
|
|
111164
111164
|
/* @__PURE__ */ S.jsxs(en.Content, { children: [
|
|
@@ -112398,7 +112398,7 @@ var h_t = {
|
|
|
112398
112398
|
unbind: c_t
|
|
112399
112399
|
}, d_t = u_t, JMe = !1, ub;
|
|
112400
112400
|
typeof document < "u" && (ub = document.createElement("div"), ub.innerHTML = ' <link/><table></table><a href="/a">a</a><input type="checkbox"/>', JMe = !ub.getElementsByTagName("link").length, ub = void 0);
|
|
112401
|
-
var
|
|
112401
|
+
var dr = {
|
|
112402
112402
|
legend: [1, "<fieldset>", "</fieldset>"],
|
|
112403
112403
|
tr: [2, "<table><tbody>", "</tbody></table>"],
|
|
112404
112404
|
col: [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"],
|
|
@@ -112406,10 +112406,10 @@ var ur = {
|
|
|
112406
112406
|
// in a div with a non-whitespace character in front, ha!
|
|
112407
112407
|
_default: JMe ? [1, "X<div>", "</div>"] : [0, "", ""]
|
|
112408
112408
|
};
|
|
112409
|
-
|
|
112410
|
-
|
|
112411
|
-
|
|
112412
|
-
|
|
112409
|
+
dr.td = dr.th = [3, "<table><tbody><tr>", "</tr></tbody></table>"];
|
|
112410
|
+
dr.option = dr.optgroup = [1, '<select multiple="multiple">', "</select>"];
|
|
112411
|
+
dr.thead = dr.tbody = dr.colgroup = dr.caption = dr.tfoot = [1, "<table>", "</table>"];
|
|
112412
|
+
dr.polyline = dr.ellipse = dr.polygon = dr.circle = dr.text = dr.line = dr.path = dr.rect = dr.g = [1, '<svg xmlns="http://www.w3.org/2000/svg" version="1.1">', "</svg>"];
|
|
112413
112413
|
function u_t(i, e) {
|
|
112414
112414
|
if (typeof i != "string") throw new TypeError("String expected");
|
|
112415
112415
|
e || (e = document);
|
|
@@ -112421,7 +112421,7 @@ function u_t(i, e) {
|
|
|
112421
112421
|
var l = e.createElement("html");
|
|
112422
112422
|
return l.innerHTML = i, l.removeChild(l.lastChild);
|
|
112423
112423
|
}
|
|
112424
|
-
var r = Object.prototype.hasOwnProperty.call(
|
|
112424
|
+
var r = Object.prototype.hasOwnProperty.call(dr, n) ? dr[n] : dr._default, s = r[0], o = r[1], a = r[2], l = e.createElement("div");
|
|
112425
112425
|
for (l.innerHTML = o + i + a; s--; ) l = l.lastChild;
|
|
112426
112426
|
if (l.firstChild == l.lastChild)
|
|
112427
112427
|
return l.removeChild(l.firstChild);
|
|
@@ -114353,7 +114353,7 @@ var Ebe = {
|
|
|
114353
114353
|
unbind: Q_t
|
|
114354
114354
|
}, K_t = Y_t, lke = !1, pb;
|
|
114355
114355
|
typeof document < "u" && (pb = document.createElement("div"), pb.innerHTML = ' <link/><table></table><a href="/a">a</a><input type="checkbox"/>', lke = !pb.getElementsByTagName("link").length, pb = void 0);
|
|
114356
|
-
var
|
|
114356
|
+
var ur = {
|
|
114357
114357
|
legend: [1, "<fieldset>", "</fieldset>"],
|
|
114358
114358
|
tr: [2, "<table><tbody>", "</tbody></table>"],
|
|
114359
114359
|
col: [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"],
|
|
@@ -114361,10 +114361,10 @@ var fr = {
|
|
|
114361
114361
|
// in a div with a non-whitespace character in front, ha!
|
|
114362
114362
|
_default: lke ? [1, "X<div>", "</div>"] : [0, "", ""]
|
|
114363
114363
|
};
|
|
114364
|
-
|
|
114365
|
-
|
|
114366
|
-
|
|
114367
|
-
|
|
114364
|
+
ur.td = ur.th = [3, "<table><tbody><tr>", "</tr></tbody></table>"];
|
|
114365
|
+
ur.option = ur.optgroup = [1, '<select multiple="multiple">', "</select>"];
|
|
114366
|
+
ur.thead = ur.tbody = ur.colgroup = ur.caption = ur.tfoot = [1, "<table>", "</table>"];
|
|
114367
|
+
ur.polyline = ur.ellipse = ur.polygon = ur.circle = ur.text = ur.line = ur.path = ur.rect = ur.g = [1, '<svg xmlns="http://www.w3.org/2000/svg" version="1.1">', "</svg>"];
|
|
114368
114368
|
function Y_t(i, e) {
|
|
114369
114369
|
if (typeof i != "string") throw new TypeError("String expected");
|
|
114370
114370
|
e || (e = document);
|
|
@@ -114376,7 +114376,7 @@ function Y_t(i, e) {
|
|
|
114376
114376
|
var l = e.createElement("html");
|
|
114377
114377
|
return l.innerHTML = i, l.removeChild(l.lastChild);
|
|
114378
114378
|
}
|
|
114379
|
-
var r = Object.prototype.hasOwnProperty.call(
|
|
114379
|
+
var r = Object.prototype.hasOwnProperty.call(ur, n) ? ur[n] : ur._default, s = r[0], o = r[1], a = r[2], l = e.createElement("div");
|
|
114380
114380
|
for (l.innerHTML = o + i + a; s--; ) l = l.lastChild;
|
|
114381
114381
|
if (l.firstChild == l.lastChild)
|
|
114382
114382
|
return l.removeChild(l.firstChild);
|
|
@@ -117480,11 +117480,11 @@ function Xxt() {
|
|
|
117480
117480
|
document.body.removeChild(Jc);
|
|
117481
117481
|
})), document.body.appendChild(Jc);
|
|
117482
117482
|
}
|
|
117483
|
-
function
|
|
117483
|
+
function lr(i) {
|
|
117484
117484
|
i = It({}, $xt, i), this._moddle = this._createModdle(i), this._container = this._createContainer(i), tSt(this._container), this._init(this._container, this._moddle, i);
|
|
117485
117485
|
}
|
|
117486
|
-
Va(
|
|
117487
|
-
|
|
117486
|
+
Va(lr, hf);
|
|
117487
|
+
lr.prototype.importXML = async function(e, t) {
|
|
117488
117488
|
const n = this;
|
|
117489
117489
|
function r(o) {
|
|
117490
117490
|
return n.get("eventBus").createEvent(o);
|
|
@@ -117516,10 +117516,10 @@ cr.prototype.importXML = async function(e, t) {
|
|
|
117516
117516
|
throw s = s.concat(a.warnings || []), W6(a, s), a = Jxt(a), this._emit("import.done", { error: a, warnings: a.warnings }), a;
|
|
117517
117517
|
}
|
|
117518
117518
|
};
|
|
117519
|
-
|
|
117519
|
+
lr.prototype.importDefinitions = async function(e, t) {
|
|
117520
117520
|
return this._setDefinitions(e), { warnings: (await this.open(t)).warnings };
|
|
117521
117521
|
};
|
|
117522
|
-
|
|
117522
|
+
lr.prototype.open = async function(e) {
|
|
117523
117523
|
const t = this._definitions;
|
|
117524
117524
|
let n = e;
|
|
117525
117525
|
if (!t) {
|
|
@@ -117538,7 +117538,7 @@ cr.prototype.open = async function(e) {
|
|
|
117538
117538
|
const { warnings: r } = await Wxt(this, t, n);
|
|
117539
117539
|
return { warnings: r };
|
|
117540
117540
|
};
|
|
117541
|
-
|
|
117541
|
+
lr.prototype.saveXML = async function(e) {
|
|
117542
117542
|
e = e || {};
|
|
117543
117543
|
let t = this._definitions, n, r;
|
|
117544
117544
|
try {
|
|
@@ -117557,7 +117557,7 @@ cr.prototype.saveXML = async function(e) {
|
|
|
117557
117557
|
throw n;
|
|
117558
117558
|
return s;
|
|
117559
117559
|
};
|
|
117560
|
-
|
|
117560
|
+
lr.prototype.saveSVG = async function() {
|
|
117561
117561
|
this._emit("saveSVG.start");
|
|
117562
117562
|
let e, t;
|
|
117563
117563
|
try {
|
|
@@ -117576,37 +117576,37 @@ cr.prototype.saveSVG = async function() {
|
|
|
117576
117576
|
throw t;
|
|
117577
117577
|
return { svg: e };
|
|
117578
117578
|
};
|
|
117579
|
-
|
|
117579
|
+
lr.prototype._setDefinitions = function(i) {
|
|
117580
117580
|
this._definitions = i;
|
|
117581
117581
|
};
|
|
117582
|
-
|
|
117582
|
+
lr.prototype.getModules = function() {
|
|
117583
117583
|
return this._modules;
|
|
117584
117584
|
};
|
|
117585
|
-
|
|
117585
|
+
lr.prototype.clear = function() {
|
|
117586
117586
|
this.getDefinitions() && hf.prototype.clear.call(this);
|
|
117587
117587
|
};
|
|
117588
|
-
|
|
117588
|
+
lr.prototype.destroy = function() {
|
|
117589
117589
|
hf.prototype.destroy.call(this), f_t(this._container);
|
|
117590
117590
|
};
|
|
117591
|
-
|
|
117591
|
+
lr.prototype.on = function(i, e, t, n) {
|
|
117592
117592
|
return this.get("eventBus").on(i, e, t, n);
|
|
117593
117593
|
};
|
|
117594
|
-
|
|
117594
|
+
lr.prototype.off = function(i, e) {
|
|
117595
117595
|
this.get("eventBus").off(i, e);
|
|
117596
117596
|
};
|
|
117597
|
-
|
|
117597
|
+
lr.prototype.attachTo = function(i) {
|
|
117598
117598
|
if (!i)
|
|
117599
117599
|
throw new Error("parentNode required");
|
|
117600
117600
|
this.detach(), i.get && i.constructor.prototype.jquery && (i = i.get(0)), typeof i == "string" && (i = n0(i)), i.appendChild(this._container), this._emit("attach", {}), this.get("canvas").resized();
|
|
117601
117601
|
};
|
|
117602
|
-
|
|
117602
|
+
lr.prototype.getDefinitions = function() {
|
|
117603
117603
|
return this._definitions;
|
|
117604
117604
|
};
|
|
117605
|
-
|
|
117605
|
+
lr.prototype.detach = function() {
|
|
117606
117606
|
const i = this._container, e = i.parentNode;
|
|
117607
117607
|
e && (this._emit("detach", {}), e.removeChild(i));
|
|
117608
117608
|
};
|
|
117609
|
-
|
|
117609
|
+
lr.prototype._init = function(i, e, t) {
|
|
117610
117610
|
const n = t.modules || this.getModules(t), r = t.additionalModules || [], s = [
|
|
117611
117611
|
{
|
|
117612
117612
|
bpmnjs: ["value", this],
|
|
@@ -117618,10 +117618,10 @@ cr.prototype._init = function(i, e, t) {
|
|
|
117618
117618
|
});
|
|
117619
117619
|
hf.call(this, a), t && t.container && this.attachTo(t.container);
|
|
117620
117620
|
};
|
|
117621
|
-
|
|
117621
|
+
lr.prototype._emit = function(i, e) {
|
|
117622
117622
|
return this.get("eventBus").fire(i, e);
|
|
117623
117623
|
};
|
|
117624
|
-
|
|
117624
|
+
lr.prototype._createContainer = function(i) {
|
|
117625
117625
|
const e = im('<div class="bjs-container"></div>');
|
|
117626
117626
|
return Pu(e, {
|
|
117627
117627
|
width: Vbe(i.width),
|
|
@@ -117629,11 +117629,11 @@ cr.prototype._createContainer = function(i) {
|
|
|
117629
117629
|
position: i.position
|
|
117630
117630
|
}), e;
|
|
117631
117631
|
};
|
|
117632
|
-
|
|
117632
|
+
lr.prototype._createModdle = function(i) {
|
|
117633
117633
|
const e = It({}, this._moddleExtensions, i.moddleExtensions);
|
|
117634
117634
|
return new z3(e);
|
|
117635
117635
|
};
|
|
117636
|
-
|
|
117636
|
+
lr.prototype._modules = [];
|
|
117637
117637
|
function W6(i, e) {
|
|
117638
117638
|
return i.warnings = e, i;
|
|
117639
117639
|
}
|
|
@@ -117666,9 +117666,9 @@ function tSt(i) {
|
|
|
117666
117666
|
});
|
|
117667
117667
|
}
|
|
117668
117668
|
function Km(i) {
|
|
117669
|
-
|
|
117669
|
+
lr.call(this, i);
|
|
117670
117670
|
}
|
|
117671
|
-
Va(Km,
|
|
117671
|
+
Va(Km, lr);
|
|
117672
117672
|
Km.prototype._modules = [
|
|
117673
117673
|
MEt,
|
|
117674
117674
|
GEt,
|
|
@@ -119995,7 +119995,7 @@ var kIt = {
|
|
|
119995
119995
|
highContrastCanvas: ["type", MIt]
|
|
119996
119996
|
}, LIt = NIt, vLe = !1, Eb;
|
|
119997
119997
|
typeof document < "u" && (Eb = document.createElement("div"), Eb.innerHTML = ' <link/><table></table><a href="/a">a</a><input type="checkbox"/>', vLe = !Eb.getElementsByTagName("link").length, Eb = void 0);
|
|
119998
|
-
var
|
|
119998
|
+
var fr = {
|
|
119999
119999
|
legend: [1, "<fieldset>", "</fieldset>"],
|
|
120000
120000
|
tr: [2, "<table><tbody>", "</tbody></table>"],
|
|
120001
120001
|
col: [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"],
|
|
@@ -120003,10 +120003,10 @@ var pr = {
|
|
|
120003
120003
|
// in a div with a non-whitespace character in front, ha!
|
|
120004
120004
|
_default: vLe ? [1, "X<div>", "</div>"] : [0, "", ""]
|
|
120005
120005
|
};
|
|
120006
|
-
|
|
120007
|
-
|
|
120008
|
-
|
|
120009
|
-
|
|
120006
|
+
fr.td = fr.th = [3, "<table><tbody><tr>", "</tr></tbody></table>"];
|
|
120007
|
+
fr.option = fr.optgroup = [1, '<select multiple="multiple">', "</select>"];
|
|
120008
|
+
fr.thead = fr.tbody = fr.colgroup = fr.caption = fr.tfoot = [1, "<table>", "</table>"];
|
|
120009
|
+
fr.polyline = fr.ellipse = fr.polygon = fr.circle = fr.text = fr.line = fr.path = fr.rect = fr.g = [1, '<svg xmlns="http://www.w3.org/2000/svg" version="1.1">', "</svg>"];
|
|
120010
120010
|
function NIt(i, e) {
|
|
120011
120011
|
if (typeof i != "string") throw new TypeError("String expected");
|
|
120012
120012
|
e || (e = document);
|
|
@@ -120018,7 +120018,7 @@ function NIt(i, e) {
|
|
|
120018
120018
|
var l = e.createElement("html");
|
|
120019
120019
|
return l.innerHTML = i, l.removeChild(l.lastChild);
|
|
120020
120020
|
}
|
|
120021
|
-
var r = Object.prototype.hasOwnProperty.call(
|
|
120021
|
+
var r = Object.prototype.hasOwnProperty.call(fr, n) ? fr[n] : fr._default, s = r[0], o = r[1], a = r[2], l = e.createElement("div");
|
|
120022
120022
|
for (l.innerHTML = o + i + a; s--; ) l = l.lastChild;
|
|
120023
120023
|
if (l.firstChild == l.lastChild)
|
|
120024
120024
|
return l.removeChild(l.firstChild);
|
|
@@ -124903,10 +124903,10 @@ let ni = class iNe {
|
|
|
124903
124903
|
static of(e) {
|
|
124904
124904
|
if (e.length == 0)
|
|
124905
124905
|
throw new RangeError("A document must have at least one line");
|
|
124906
|
-
return e.length == 1 && !e[0] ? iNe.empty : e.length <= 32 ? new
|
|
124906
|
+
return e.length == 1 && !e[0] ? iNe.empty : e.length <= 32 ? new pr(e) : sh.from(pr.split(e, []));
|
|
124907
124907
|
}
|
|
124908
124908
|
};
|
|
124909
|
-
class
|
|
124909
|
+
class pr extends ni {
|
|
124910
124910
|
constructor(e, t = jVt(e)) {
|
|
124911
124911
|
super(), this.text = e, this.length = t;
|
|
124912
124912
|
}
|
|
@@ -124925,24 +124925,24 @@ class gr extends ni {
|
|
|
124925
124925
|
}
|
|
124926
124926
|
}
|
|
124927
124927
|
decompose(e, t, n, r) {
|
|
124928
|
-
let s = e <= 0 && t >= this.length ? this : new
|
|
124928
|
+
let s = e <= 0 && t >= this.length ? this : new pr(r8e(this.text, e, t), Math.min(t, this.length) - Math.max(0, e));
|
|
124929
124929
|
if (r & 1) {
|
|
124930
124930
|
let o = n.pop(), a = X6(s.text, o.text.slice(), 0, s.length);
|
|
124931
124931
|
if (a.length <= 32)
|
|
124932
|
-
n.push(new
|
|
124932
|
+
n.push(new pr(a, o.length + s.length));
|
|
124933
124933
|
else {
|
|
124934
124934
|
let l = a.length >> 1;
|
|
124935
|
-
n.push(new
|
|
124935
|
+
n.push(new pr(a.slice(0, l)), new pr(a.slice(l)));
|
|
124936
124936
|
}
|
|
124937
124937
|
} else
|
|
124938
124938
|
n.push(s);
|
|
124939
124939
|
}
|
|
124940
124940
|
replace(e, t, n) {
|
|
124941
|
-
if (!(n instanceof
|
|
124941
|
+
if (!(n instanceof pr))
|
|
124942
124942
|
return super.replace(e, t, n);
|
|
124943
124943
|
[e, t] = cm(this, e, t);
|
|
124944
124944
|
let r = X6(this.text, X6(n.text, r8e(this.text, 0, e)), t), s = this.length + n.length - (t - e);
|
|
124945
|
-
return r.length <= 32 ? new
|
|
124945
|
+
return r.length <= 32 ? new pr(r, s) : sh.from(pr.split(r, []), s);
|
|
124946
124946
|
}
|
|
124947
124947
|
sliceString(e, t = this.length, n = `
|
|
124948
124948
|
`) {
|
|
@@ -124964,8 +124964,8 @@ class gr extends ni {
|
|
|
124964
124964
|
static split(e, t) {
|
|
124965
124965
|
let n = [], r = -1;
|
|
124966
124966
|
for (let s of e)
|
|
124967
|
-
n.push(s), r += s.length + 1, n.length == 32 && (t.push(new
|
|
124968
|
-
return r > -1 && t.push(new
|
|
124967
|
+
n.push(s), r += s.length + 1, n.length == 32 && (t.push(new pr(n, r)), n = [], r = -1);
|
|
124968
|
+
return r > -1 && t.push(new pr(n, r)), t;
|
|
124969
124969
|
}
|
|
124970
124970
|
}
|
|
124971
124971
|
class sh extends ni {
|
|
@@ -125043,7 +125043,7 @@ class sh extends ni {
|
|
|
125043
125043
|
let p = [];
|
|
125044
125044
|
for (let g of e)
|
|
125045
125045
|
g.flatten(p);
|
|
125046
|
-
return new
|
|
125046
|
+
return new pr(p, t);
|
|
125047
125047
|
}
|
|
125048
125048
|
let r = Math.max(
|
|
125049
125049
|
32,
|
|
@@ -125055,7 +125055,7 @@ class sh extends ni {
|
|
|
125055
125055
|
if (p.lines > s && p instanceof sh)
|
|
125056
125056
|
for (let m of p.children)
|
|
125057
125057
|
u(m);
|
|
125058
|
-
else p.lines > o && (l > o || !l) ? (f(), a.push(p)) : p instanceof
|
|
125058
|
+
else p.lines > o && (l > o || !l) ? (f(), a.push(p)) : p instanceof pr && l && (g = h[h.length - 1]) instanceof pr && p.lines + g.lines <= 32 ? (l += p.lines, c += p.length + 1, h[h.length - 1] = new pr(g.text.concat(p.text), g.length + 1 + p.length)) : (l + p.lines > r && f(), l += p.lines, c += p.length + 1, h.push(p));
|
|
125059
125059
|
}
|
|
125060
125060
|
function f() {
|
|
125061
125061
|
l != 0 && (a.push(h.length == 1 ? h[0] : sh.from(h, c)), c = -1, l = h.length = 0);
|
|
@@ -125065,7 +125065,7 @@ class sh extends ni {
|
|
|
125065
125065
|
return f(), a.length == 1 ? a[0] : new sh(a, t);
|
|
125066
125066
|
}
|
|
125067
125067
|
}
|
|
125068
|
-
ni.empty = /* @__PURE__ */ new
|
|
125068
|
+
ni.empty = /* @__PURE__ */ new pr([""], 0);
|
|
125069
125069
|
function jVt(i) {
|
|
125070
125070
|
let e = -1;
|
|
125071
125071
|
for (let t of i)
|
|
@@ -125084,11 +125084,11 @@ function r8e(i, e, t) {
|
|
|
125084
125084
|
}
|
|
125085
125085
|
class nw {
|
|
125086
125086
|
constructor(e, t = 1) {
|
|
125087
|
-
this.dir = t, this.done = !1, this.lineBreak = !1, this.value = "", this.nodes = [e], this.offsets = [t > 0 ? 1 : (e instanceof
|
|
125087
|
+
this.dir = t, this.done = !1, this.lineBreak = !1, this.value = "", this.nodes = [e], this.offsets = [t > 0 ? 1 : (e instanceof pr ? e.text.length : e.children.length) << 1];
|
|
125088
125088
|
}
|
|
125089
125089
|
nextInner(e, t) {
|
|
125090
125090
|
for (this.done = this.lineBreak = !1; ; ) {
|
|
125091
|
-
let n = this.nodes.length - 1, r = this.nodes[n], s = this.offsets[n], o = s >> 1, a = r instanceof
|
|
125091
|
+
let n = this.nodes.length - 1, r = this.nodes[n], s = this.offsets[n], o = s >> 1, a = r instanceof pr ? r.text.length : r.children.length;
|
|
125092
125092
|
if (o == (t > 0 ? a : 0)) {
|
|
125093
125093
|
if (n == 0)
|
|
125094
125094
|
return this.done = !0, this.value = "", this;
|
|
@@ -125098,14 +125098,14 @@ class nw {
|
|
|
125098
125098
|
return this.lineBreak = !0, this.value = `
|
|
125099
125099
|
`, this;
|
|
125100
125100
|
e--;
|
|
125101
|
-
} else if (r instanceof
|
|
125101
|
+
} else if (r instanceof pr) {
|
|
125102
125102
|
let l = r.text[o + (t < 0 ? -1 : 0)];
|
|
125103
125103
|
if (this.offsets[n] += t, l.length > Math.max(0, e))
|
|
125104
125104
|
return this.value = e == 0 ? l : t > 0 ? l.slice(e) : l.slice(0, l.length - e), this;
|
|
125105
125105
|
e -= l.length;
|
|
125106
125106
|
} else {
|
|
125107
125107
|
let l = r.children[o + (t < 0 ? -1 : 0)];
|
|
125108
|
-
e > l.length ? (e -= l.length, this.offsets[n] += t) : (t < 0 && this.offsets[n]--, this.nodes.push(l), this.offsets.push(t > 0 ? 1 : (l instanceof
|
|
125108
|
+
e > l.length ? (e -= l.length, this.offsets[n] += t) : (t < 0 && this.offsets[n]--, this.nodes.push(l), this.offsets.push(t > 0 ? 1 : (l instanceof pr ? l.text.length : l.children.length) << 1));
|
|
125109
125109
|
}
|
|
125110
125110
|
}
|
|
125111
125111
|
}
|
|
@@ -144467,7 +144467,7 @@ const Kjt = G.div`
|
|
|
144467
144467
|
exampleData: o,
|
|
144468
144468
|
element: a
|
|
144469
144469
|
}) => {
|
|
144470
|
-
const l = Fn(
|
|
144470
|
+
const l = Fn(yr), c = Gt.state.processInstance, h = w7e(a), [u, f] = Ce(
|
|
144471
144471
|
o ? I7e(o) : ""
|
|
144472
144472
|
), [p, g] = Ce(!0), [m, A] = Ce(e), [v, w] = Ce(t), [b, C] = Ce(""), [_, M] = Ce(""), [D, k] = Ce(!0), R = on(null);
|
|
144473
144473
|
return Pe(() => {
|
|
@@ -144498,7 +144498,7 @@ const Kjt = G.div`
|
|
|
144498
144498
|
messageId: _,
|
|
144499
144499
|
isStartEvent: s
|
|
144500
144500
|
});
|
|
144501
|
-
H?.success ? (H?.success && c !== void 0 && rs(
|
|
144501
|
+
H?.success ? (H?.success && c !== void 0 && rs(Dr(c.key), {
|
|
144502
144502
|
action: "publishMessage",
|
|
144503
144503
|
elementId: r,
|
|
144504
144504
|
messageName: m,
|
|
@@ -144603,7 +144603,7 @@ const Kjt = G.div`
|
|
|
144603
144603
|
element: t,
|
|
144604
144604
|
isStartEvent: n = !1
|
|
144605
144605
|
}) => {
|
|
144606
|
-
const r = Fn(
|
|
144606
|
+
const r = Fn(yr), s = Gt.state.processInstance, [o, a] = Ce(!1), l = e ? DC : Hit;
|
|
144607
144607
|
return /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
|
|
144608
144608
|
/* @__PURE__ */ S.jsx(
|
|
144609
144609
|
Lc,
|
|
@@ -144620,7 +144620,7 @@ const Kjt = G.div`
|
|
|
144620
144620
|
isStartEvent: n
|
|
144621
144621
|
});
|
|
144622
144622
|
c?.success ? (c?.success && s !== void 0 && rs(
|
|
144623
|
-
|
|
144623
|
+
Dr(s.key),
|
|
144624
144624
|
{
|
|
144625
144625
|
action: "publishMessage",
|
|
144626
144626
|
elementId: t.id,
|
|
@@ -144666,7 +144666,7 @@ const Kjt = G.div`
|
|
|
144666
144666
|
shouldWaitForInstanceCreation: n,
|
|
144667
144667
|
isStartEvent: r
|
|
144668
144668
|
}) => {
|
|
144669
|
-
const s = Fn(
|
|
144669
|
+
const s = Fn(yr), [o, a] = Ce(!1), l = t ? DC : Oit, c = Gt.state.processInstance;
|
|
144670
144670
|
return /* @__PURE__ */ S.jsx(
|
|
144671
144671
|
Lc,
|
|
144672
144672
|
{
|
|
@@ -144683,7 +144683,7 @@ const Kjt = G.div`
|
|
|
144683
144683
|
n
|
|
144684
144684
|
);
|
|
144685
144685
|
h ? (h && c !== void 0 && rs(
|
|
144686
|
-
|
|
144686
|
+
Dr(c.key),
|
|
144687
144687
|
{
|
|
144688
144688
|
action: "timeTravel",
|
|
144689
144689
|
elementId: i.id,
|
|
@@ -144790,7 +144790,7 @@ const Kjt = G.div`
|
|
|
144790
144790
|
}
|
|
144791
144791
|
), mZt = xt(
|
|
144792
144792
|
({ element: i, isRestartMode: e }) => {
|
|
144793
|
-
const t = Fn(
|
|
144793
|
+
const t = Fn(yr), { definitions: n, elementsById: r } = ui.state, [s, o] = Ce(!1), a = on(), l = on(), c = on(), [h, u] = Ce(!1), [f, p] = Ce(!1), [g, m] = Ce(!0), A = Ch(i), v = localStorage.getItem(
|
|
144794
144794
|
`jobCompletion ${Nt.processId} ${i.id}`
|
|
144795
144795
|
);
|
|
144796
144796
|
Pe(() => {
|
|
@@ -145005,7 +145005,7 @@ const mR = xt(
|
|
|
145005
145005
|
onSuccess: n,
|
|
145006
145006
|
tooltipTextForInvalid: r = "Please enter valid JSON to save"
|
|
145007
145007
|
}) => {
|
|
145008
|
-
const [s, o] = Ce("initial"), a = Fn(
|
|
145008
|
+
const [s, o] = Ce("initial"), a = Fn(yr)?.switchToImplementMode, l = Ch(t), c = !i || e === "" || e === l, h = l !== void 0 ? "Update example data" : "Save example data";
|
|
145009
145009
|
let u;
|
|
145010
145010
|
i ? c && (u = "Please make changes to the example data to save") : u = r;
|
|
145011
145011
|
const f = async () => {
|
|
@@ -145169,7 +145169,7 @@ const mR = xt(
|
|
|
145169
145169
|
);
|
|
145170
145170
|
}, xZt = xt(
|
|
145171
145171
|
({ element: i, isRestartMode: e }) => {
|
|
145172
|
-
const t = Fn(
|
|
145172
|
+
const t = Fn(yr), { definitions: n, elementsById: r } = ui.state, [s, o] = Ce(!1), a = on(), l = on(), [c, h] = Ce(!1), [u, f] = Ce(!1), [p, g] = Ce(!1), [m, A] = Ce(""), [v, w] = Ce(!1), [b, C] = Ce("none");
|
|
145173
145173
|
async function _(W) {
|
|
145174
145174
|
const { data: ce, errors: ke } = W ?? { data: {}, errors: {} };
|
|
145175
145175
|
if (Object.keys(ke).length === 0) {
|
|
@@ -145492,7 +145492,7 @@ const mR = xt(
|
|
|
145492
145492
|
/* @__PURE__ */ S.jsx("div", { children: "Completed" })
|
|
145493
145493
|
] });
|
|
145494
145494
|
}), NZt = xt(({ element: i, incident: e }) => {
|
|
145495
|
-
const t = Fn(
|
|
145495
|
+
const t = Fn(yr), [n, r] = Ce(!1), { processInstance: s } = Gt.state, o = t.featureFlags.areAIFeaturesEnabled, a = o, l = a || t.isUserOrgOwnerOrAdmin;
|
|
145496
145496
|
return /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
|
|
145497
145497
|
/* @__PURE__ */ S.jsx(
|
|
145498
145498
|
Lc,
|
|
@@ -145547,7 +145547,7 @@ Error message: ${e.errorMessage}`
|
|
|
145547
145547
|
}
|
|
145548
145548
|
ir.trackResolveIncident(Nt.processId), (await T1.resolveIncident({
|
|
145549
145549
|
incidentKey: e.key
|
|
145550
|
-
}))?.success === !1 ? t.displayNotification?.error(xi) : s !== void 0 && rs(
|
|
145550
|
+
}))?.success === !1 ? t.displayNotification?.error(xi) : s !== void 0 && rs(Dr(s.key), {
|
|
145551
145551
|
action: "resolveIncident",
|
|
145552
145552
|
elementId: i.id,
|
|
145553
145553
|
hasJob: !!e.job?.key
|
|
@@ -145558,7 +145558,7 @@ Error message: ${e.errorMessage}`
|
|
|
145558
145558
|
)
|
|
145559
145559
|
] });
|
|
145560
145560
|
}), TZt = xt(({ element: i }) => {
|
|
145561
|
-
const e = Fn(
|
|
145561
|
+
const e = Fn(yr), [t, n] = Ce(!1), [r, s] = Ce(!1), { instanceKey: o, processInstance: a } = Gt.state, l = ns.state.jobs.find(
|
|
145562
145562
|
(c) => c.elementInstance.element.elementId === i.id && c.state === "ACTIVATABLE"
|
|
145563
145563
|
);
|
|
145564
145564
|
return Pe(() => {
|
|
@@ -145579,7 +145579,7 @@ Error message: ${e.errorMessage}`
|
|
|
145579
145579
|
l.key
|
|
145580
145580
|
);
|
|
145581
145581
|
c && a !== void 0 && rs(
|
|
145582
|
-
|
|
145582
|
+
Dr(a.key),
|
|
145583
145583
|
{
|
|
145584
145584
|
action: "invokeConnector",
|
|
145585
145585
|
elementId: i.id
|
|
@@ -145613,7 +145613,7 @@ Error message: ${e.errorMessage}`
|
|
|
145613
145613
|
jobKey: l.key,
|
|
145614
145614
|
variables: c
|
|
145615
145615
|
});
|
|
145616
|
-
h && a !== void 0 && rs(
|
|
145616
|
+
h && a !== void 0 && rs(Dr(a.key), {
|
|
145617
145617
|
action: "completeJob",
|
|
145618
145618
|
type: "serviceTask",
|
|
145619
145619
|
elementId: i.id,
|
|
@@ -145665,7 +145665,7 @@ function aS(i, e) {
|
|
|
145665
145665
|
e.displayNotification?.success(n);
|
|
145666
145666
|
}
|
|
145667
145667
|
const RZt = xt(({ element: i }) => {
|
|
145668
|
-
const e = Fn(
|
|
145668
|
+
const e = Fn(yr), [t, n] = Ce(!1), [r, s] = Ce(!1), o = on(), a = on(), l = on(), [c, h] = Ce(!1), [u, f] = Ce(""), [p, g] = Ce(!1), [m, A] = Ce(!1), [v, w] = Ce(!0), { instanceKey: b, processInstance: C } = Gt.state, _ = ns.state.jobs.find(
|
|
145669
145669
|
(Q) => Q.elementInstance.element.elementId === i.id && Q.state === "ACTIVATABLE"
|
|
145670
145670
|
), M = vw.state.userTasks?.find(
|
|
145671
145671
|
(Q) => Q.elementInstance.element.elementId === i.id && Q.state === "CREATED"
|
|
@@ -145685,7 +145685,7 @@ const RZt = xt(({ element: i }) => {
|
|
|
145685
145685
|
jobKey: D?.key,
|
|
145686
145686
|
variables: JSON.stringify(te)
|
|
145687
145687
|
});
|
|
145688
|
-
ae && C !== void 0 && rs(
|
|
145688
|
+
ae && C !== void 0 && rs(Dr(C.key), {
|
|
145689
145689
|
action: "completeJob",
|
|
145690
145690
|
type: i.type === "bpmn:UserTask" ? "userTask" : "serviceTask",
|
|
145691
145691
|
elementId: i.id,
|
|
@@ -145732,7 +145732,7 @@ const RZt = xt(({ element: i }) => {
|
|
|
145732
145732
|
const Q = await ns.completeJob({
|
|
145733
145733
|
jobKey: D.key
|
|
145734
145734
|
});
|
|
145735
|
-
Q && C !== void 0 && rs(
|
|
145735
|
+
Q && C !== void 0 && rs(Dr(C.key), {
|
|
145736
145736
|
action: "completeJob",
|
|
145737
145737
|
type: i.type === "bpmn:UserTask" ? "userTask" : "serviceTask",
|
|
145738
145738
|
elementId: i.id
|
|
@@ -145789,7 +145789,7 @@ const RZt = xt(({ element: i }) => {
|
|
|
145789
145789
|
jobKey: D.key,
|
|
145790
145790
|
variables: Q
|
|
145791
145791
|
});
|
|
145792
|
-
te && C !== void 0 && rs(
|
|
145792
|
+
te && C !== void 0 && rs(Dr(C.key), {
|
|
145793
145793
|
action: "completeJob",
|
|
145794
145794
|
type: i.type === "bpmn:UserTask" ? "userTask" : "serviceTask",
|
|
145795
145795
|
elementId: i.id,
|
|
@@ -145841,7 +145841,7 @@ const RZt = xt(({ element: i }) => {
|
|
|
145841
145841
|
});
|
|
145842
145842
|
if (Q && C !== void 0) {
|
|
145843
145843
|
rs(
|
|
145844
|
-
|
|
145844
|
+
Dr(C.key),
|
|
145845
145845
|
{
|
|
145846
145846
|
action: "throwJob",
|
|
145847
145847
|
elementId: i.id,
|
|
@@ -145947,7 +145947,7 @@ function lS(i, e, t) {
|
|
|
145947
145947
|
e.displayNotification?.success(r);
|
|
145948
145948
|
}
|
|
145949
145949
|
const PZt = xt(({ element: i }) => {
|
|
145950
|
-
const e = Fn(
|
|
145950
|
+
const e = Fn(yr), [t, n] = Ce(!1), [r, s] = Ce(!1), o = on(), a = on(), [l, c] = Ce(!1), [h, u] = Ce(""), [f, p] = Ce(!1), [g, m] = Ce(!1), { instanceKey: A, processInstance: v } = Gt.state, [w, b] = Ce(!1), [C, _] = Ce(!1), [M, D] = Ce("none"), [k, R] = Ce(""), H = ns.state.jobs.find(
|
|
145951
145951
|
(B) => B.elementInstance.element.elementId === i.id && B.state === "ACTIVATABLE"
|
|
145952
145952
|
), V = vw.state.userTasks?.find(
|
|
145953
145953
|
(B) => B.elementInstance.element.elementId === i.id && B.state === "CREATED"
|
|
@@ -145979,7 +145979,7 @@ const PZt = xt(({ element: i }) => {
|
|
|
145979
145979
|
jobKey: N?.key,
|
|
145980
145980
|
variables: JSON.stringify(T)
|
|
145981
145981
|
});
|
|
145982
|
-
Y && v !== void 0 && (rs(
|
|
145982
|
+
Y && v !== void 0 && (rs(Dr(v.key), {
|
|
145983
145983
|
action: "completeJob",
|
|
145984
145984
|
type: i.type === "bpmn:UserTask" ? "userTask" : "serviceTask",
|
|
145985
145985
|
elementId: i.id,
|
|
@@ -146078,7 +146078,7 @@ const PZt = xt(({ element: i }) => {
|
|
|
146078
146078
|
jobKey: N.key,
|
|
146079
146079
|
variables: Z
|
|
146080
146080
|
});
|
|
146081
|
-
if (B && v !== void 0 && (rs(
|
|
146081
|
+
if (B && v !== void 0 && (rs(Dr(v.key), {
|
|
146082
146082
|
action: "completeJob",
|
|
146083
146083
|
type: i.type === "bpmn:UserTask" ? "userTask" : "serviceTask",
|
|
146084
146084
|
elementId: i.id,
|
|
@@ -146127,7 +146127,7 @@ const PZt = xt(({ element: i }) => {
|
|
|
146127
146127
|
jobKey: N.key,
|
|
146128
146128
|
variables: B
|
|
146129
146129
|
});
|
|
146130
|
-
T && v !== void 0 && (rs(
|
|
146130
|
+
T && v !== void 0 && (rs(Dr(v.key), {
|
|
146131
146131
|
action: "completeJob",
|
|
146132
146132
|
type: i.type === "bpmn:UserTask" ? "userTask" : "serviceTask",
|
|
146133
146133
|
elementId: i.id,
|
|
@@ -146184,7 +146184,7 @@ const PZt = xt(({ element: i }) => {
|
|
|
146184
146184
|
});
|
|
146185
146185
|
if (B && v !== void 0) {
|
|
146186
146186
|
rs(
|
|
146187
|
-
|
|
146187
|
+
Dr(v.key),
|
|
146188
146188
|
{
|
|
146189
146189
|
action: "throwJob",
|
|
146190
146190
|
elementId: i.id,
|
|
@@ -146295,7 +146295,7 @@ const PZt = xt(({ element: i }) => {
|
|
|
146295
146295
|
}), FZt = G(Fit)`
|
|
146296
146296
|
fill: currentColor;
|
|
146297
146297
|
`, zZt = xt(({ element: i }) => {
|
|
146298
|
-
const e = Fn(
|
|
146298
|
+
const e = Fn(yr), t = _C.state.definitionMessageSubscriptions, n = (t?.length ?? 0) > 0, r = (EC.state.timers?.length ?? 0) > 0, s = Bo.completedElementInstances.map(
|
|
146299
146299
|
({ element: l }) => l
|
|
146300
146300
|
) ?? [], { instanceKey: o, processInstance: a } = Gt.state;
|
|
146301
146301
|
return /* @__PURE__ */ S.jsx(S.Fragment, { children: /* @__PURE__ */ S.jsx(
|
|
@@ -146370,7 +146370,7 @@ const PZt = xt(({ element: i }) => {
|
|
|
146370
146370
|
}
|
|
146371
146371
|
ir.trackRewindedInstanceStart(v);
|
|
146372
146372
|
const w = Urt(
|
|
146373
|
-
|
|
146373
|
+
Dr(a.key)
|
|
146374
146374
|
), b = [];
|
|
146375
146375
|
for (const D of w) {
|
|
146376
146376
|
if (D.action !== "setVariables" && D.elementId === i.id)
|
|
@@ -146458,7 +146458,7 @@ const PZt = xt(({ element: i }) => {
|
|
|
146458
146458
|
i.id
|
|
146459
146459
|
);
|
|
146460
146460
|
e.rewindProcess.endRewinding(), Zrt(
|
|
146461
|
-
|
|
146461
|
+
Dr(v),
|
|
146462
146462
|
b
|
|
146463
146463
|
), a.state === "ACTIVATED" && St.terminateProcessInstance(o), Gt.setInstanceDetails({
|
|
146464
146464
|
instanceKey: v,
|
|
@@ -146488,7 +146488,7 @@ const PZt = xt(({ element: i }) => {
|
|
|
146488
146488
|
}
|
|
146489
146489
|
) });
|
|
146490
146490
|
}), WZt = xt(({ element: i }) => {
|
|
146491
|
-
const [e, t] = Ce(!1), [n, r] = Ce(""), { processInstance: s } = Gt.state, o = Fn(
|
|
146491
|
+
const [e, t] = Ce(!1), [n, r] = Ce(""), { processInstance: s } = Gt.state, o = Fn(yr), a = ns.errorThrowableJobsByErrorId[i.id];
|
|
146492
146492
|
if (a === void 0)
|
|
146493
146493
|
return null;
|
|
146494
146494
|
const l = [
|
|
@@ -146501,7 +146501,7 @@ const PZt = xt(({ element: i }) => {
|
|
|
146501
146501
|
jobKey: u,
|
|
146502
146502
|
errorCode: c
|
|
146503
146503
|
});
|
|
146504
|
-
f && s !== void 0 && (rs(
|
|
146504
|
+
f && s !== void 0 && (rs(Dr(s.key), {
|
|
146505
146505
|
action: "throwJob",
|
|
146506
146506
|
elementId: h.elementId,
|
|
146507
146507
|
errorCode: c
|
|
@@ -146552,7 +146552,7 @@ const PZt = xt(({ element: i }) => {
|
|
|
146552
146552
|
jobKey: c.job.key,
|
|
146553
146553
|
errorCode: c.errorCode
|
|
146554
146554
|
});
|
|
146555
|
-
h && s !== void 0 && (rs(
|
|
146555
|
+
h && s !== void 0 && (rs(Dr(s.key), {
|
|
146556
146556
|
action: "throwJob",
|
|
146557
146557
|
elementId: c.job.elementId,
|
|
146558
146558
|
errorCode: c.errorCode
|
|
@@ -146592,7 +146592,7 @@ const PZt = xt(({ element: i }) => {
|
|
|
146592
146592
|
)
|
|
146593
146593
|
] });
|
|
146594
146594
|
}), jZt = xt(({ element: i, addOverlay: e }) => {
|
|
146595
|
-
const { instanceKey: t } = Gt.state, { fileProblems: n } = Nt, r = Fn(
|
|
146595
|
+
const { instanceKey: t } = Gt.state, { fileProblems: n } = Nt, r = Fn(yr).featureFlags.isSaveExampleDataEnabled, s = !t && n?.find((D) => D.element.id === i.id);
|
|
146596
146596
|
if (s) {
|
|
146597
146597
|
const D = e(i, "PROBLEM", $jt);
|
|
146598
146598
|
return _n(
|
|
@@ -146938,7 +146938,7 @@ const PZt = xt(({ element: i }) => {
|
|
|
146938
146938
|
)
|
|
146939
146939
|
] });
|
|
146940
146940
|
}), XZt = xt(({ xml: i }) => {
|
|
146941
|
-
const e = Fn(
|
|
146941
|
+
const e = Fn(yr), t = on(null), n = on(null), r = ui.selectableFlowNodeIds, s = gh.state.selection?.flowNodeId, o = Gt.state.instanceKey, a = e.featureFlags.isAcademyVideoExperiment;
|
|
146942
146942
|
function l() {
|
|
146943
146943
|
return n.current === null && (n.current = new Wjt(e.featureFlags.newContextPadEnabled)), n.current;
|
|
146944
146944
|
}
|
|
@@ -147242,7 +147242,7 @@ const iUt = G.div`
|
|
|
147242
147242
|
}
|
|
147243
147243
|
}
|
|
147244
147244
|
`, sUt = xt(() => {
|
|
147245
|
-
const i = Fn(
|
|
147245
|
+
const i = Fn(yr);
|
|
147246
147246
|
return !Gt.state.isProcessManuallyCompleted || OS() || Gt.state.isCalledProcess ? null : (OS() || QBe(), /* @__PURE__ */ S.jsxs(
|
|
147247
147247
|
W3,
|
|
147248
147248
|
{
|
|
@@ -147544,7 +147544,7 @@ const Y$t = ({
|
|
|
147544
147544
|
isUserOrgOwnerOrAdmin: C,
|
|
147545
147545
|
organizationManagementPageUrl: _
|
|
147546
147546
|
};
|
|
147547
|
-
return /* @__PURE__ */ S.jsxs(
|
|
147547
|
+
return /* @__PURE__ */ S.jsxs(yr.Provider, { value: P, children: [
|
|
147548
147548
|
N.isRewinding && /* @__PURE__ */ S.jsx(c7t, { children: "Rewinding..." }),
|
|
147549
147549
|
/* @__PURE__ */ S.jsx(krt, {}),
|
|
147550
147550
|
/* @__PURE__ */ S.jsx(XZt, { xml: e }),
|
|
@@ -148223,7 +148223,7 @@ class YUt {
|
|
|
148223
148223
|
return this.state.selection?.flowNodeInstanceId === at.state.processInstance?.key;
|
|
148224
148224
|
}
|
|
148225
148225
|
get isFlowNodeInstanceSelected() {
|
|
148226
|
-
return
|
|
148226
|
+
return this.state.selection?.flowNodeInstanceId !== void 0 && !this.isRootNodeSelected;
|
|
148227
148227
|
}
|
|
148228
148228
|
isSelected = ({
|
|
148229
148229
|
flowNodeId: e,
|
|
@@ -148245,7 +148245,7 @@ class YUt {
|
|
|
148245
148245
|
this.state = { ...lye };
|
|
148246
148246
|
};
|
|
148247
148247
|
}
|
|
148248
|
-
const
|
|
148248
|
+
const Mr = new YUt(), wOe = (i, e) => Math.abs(i) === 1 ? `${e}` : `${e}s`, cye = {
|
|
148249
148249
|
status: "initial",
|
|
148250
148250
|
sourceFlowNodeIdForMoveOperation: null,
|
|
148251
148251
|
sourceFlowNodeInstanceKeyForMoveOperation: null
|
|
@@ -148271,22 +148271,22 @@ class XUt {
|
|
|
148271
148271
|
return Qn.flowNodes.filter((e) => e.isActivatable).map(({ id: e }) => e);
|
|
148272
148272
|
}
|
|
148273
148273
|
get modifiableFlowNodes() {
|
|
148274
|
-
return
|
|
148274
|
+
return Mr.isFlowNodeInstanceSelected ? [] : this.isMovingToken ? this.activatableFlowNodes.filter(
|
|
148275
148275
|
(e) => e !== this.state.sourceFlowNodeIdForMoveOperation
|
|
148276
148276
|
) : Array.from(
|
|
148277
148277
|
/* @__PURE__ */ new Set([...this.activatableFlowNodes, ...this.cancellableFlowNodes])
|
|
148278
148278
|
);
|
|
148279
148279
|
}
|
|
148280
148280
|
get canSelectedFlowNodeBeModified() {
|
|
148281
|
-
return
|
|
148282
|
-
|
|
148281
|
+
return Mr.selectedFlowNodeId === void 0 ? !1 : this.modifiableFlowNodes.includes(
|
|
148282
|
+
Mr.selectedFlowNodeId
|
|
148283
148283
|
);
|
|
148284
148284
|
}
|
|
148285
148285
|
get availableModifications() {
|
|
148286
148286
|
const e = [], {
|
|
148287
148287
|
selectedFlowNodeId: t,
|
|
148288
148288
|
state: { selection: n }
|
|
148289
|
-
} =
|
|
148289
|
+
} = Mr;
|
|
148290
148290
|
return t === void 0 || !this.canSelectedFlowNodeBeModified || (this.activatableFlowNodes.includes(t) && n?.flowNodeInstanceId === void 0 && e.push("add"), !this.cancellableFlowNodes.includes(t)) || (e.push("cancel-all"), e.push("move-all")), e;
|
|
148291
148291
|
}
|
|
148292
148292
|
startMovingToken = (e, t) => {
|
|
@@ -149244,7 +149244,7 @@ let aqt = class extends pf {
|
|
|
149244
149244
|
});
|
|
149245
149245
|
}
|
|
149246
149246
|
get scopeId() {
|
|
149247
|
-
const { selection: e } =
|
|
149247
|
+
const { selection: e } = Mr.state;
|
|
149248
149248
|
if (e?.flowNodeInstanceId !== void 0)
|
|
149249
149249
|
return e.flowNodeInstanceId;
|
|
149250
149250
|
const { elementInstances: t } = Qi.state, n = t?.filter(
|
|
@@ -149656,8 +149656,8 @@ function vqt(i, e) {
|
|
|
149656
149656
|
};
|
|
149657
149657
|
return Pe(() => {
|
|
149658
149658
|
if (!(i === "saas" && e === void 0))
|
|
149659
|
-
return t ? (at.init(),
|
|
149660
|
-
xv.reset(), jN.reset(), d1.reset(), mm.reset(), r8.reset(), da.reset(), s8.reset(), Qi.reset(),
|
|
149659
|
+
return t ? (at.init(), Mr.init(), ZN.init(), r8.init(), Qi.init(), da.init(), s8.init(), d1.init()) : (d1.init(), UN.init(r), mm.init()), () => {
|
|
149660
|
+
xv.reset(), jN.reset(), d1.reset(), mm.reset(), r8.reset(), da.reset(), s8.reset(), Qi.reset(), Mr.reset(), ZN.reset(), UN.reset(), Al.reset();
|
|
149661
149661
|
};
|
|
149662
149662
|
}, [i, e, t, r]), {
|
|
149663
149663
|
reloadFailedAPIs: l
|
|
@@ -151193,7 +151193,7 @@ const YGt = G(W3)`
|
|
|
151193
151193
|
/* @__PURE__ */ S.jsx(iCe, { children: /* @__PURE__ */ S.jsx(BGt, { "aria-label": "Variables", children: /* @__PURE__ */ S.jsx(sCe, { children: "Variables" }) }) }),
|
|
151194
151194
|
da.isInitialLoadComplete ? /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
|
|
151195
151195
|
/* @__PURE__ */ S.jsxs(xGt, { $isEmpty: A.length === 0, children: [
|
|
151196
|
-
A.length === 0 && /* @__PURE__ */ S.jsx(SGt, { children:
|
|
151196
|
+
A.length === 0 && /* @__PURE__ */ S.jsx(SGt, { children: Mr.isRootNodeSelected ? "This process instance has no variables" : "The flow node has no variables" }),
|
|
151197
151197
|
A.length > 0 && /* @__PURE__ */ S.jsxs(DGt, { children: [
|
|
151198
151198
|
/* @__PURE__ */ S.jsx(MGt, { children: /* @__PURE__ */ S.jsxs("tr", { children: [
|
|
151199
151199
|
/* @__PURE__ */ S.jsx(LGt, { children: "Name" }),
|
|
@@ -151505,7 +151505,7 @@ const fQt = G(sC)`
|
|
|
151505
151505
|
active: t ? i.key : void 0,
|
|
151506
151506
|
renderIcon: () => /* @__PURE__ */ S.jsx(dQt, { children: /* @__PURE__ */ S.jsx(uQt, { type: i.type }) }),
|
|
151507
151507
|
onSelect: () => {
|
|
151508
|
-
|
|
151508
|
+
Mr.selectFlowNode({
|
|
151509
151509
|
flowNodeId: r ? void 0 : i.flowNodeId,
|
|
151510
151510
|
flowNodeName: r ? void 0 : i.flowNodeName ?? i.flowNodeId,
|
|
151511
151511
|
flowNodeInstanceId: i.key,
|
|
@@ -151576,7 +151576,7 @@ const gQt = G.ul`
|
|
|
151576
151576
|
incident: l.incident
|
|
151577
151577
|
},
|
|
151578
151578
|
children: [],
|
|
151579
|
-
isSelected:
|
|
151579
|
+
isSelected: Mr.isSelected({
|
|
151580
151580
|
flowNodeInstanceId: at.state.instanceKey,
|
|
151581
151581
|
flowNodeId: Qt.processId
|
|
151582
151582
|
})
|
|
@@ -151586,7 +151586,7 @@ const gQt = G.ul`
|
|
|
151586
151586
|
const f = i[u], p = {
|
|
151587
151587
|
instance: f,
|
|
151588
151588
|
children: [],
|
|
151589
|
-
isSelected:
|
|
151589
|
+
isSelected: Mr.isSelected({
|
|
151590
151590
|
flowNodeInstanceId: f.key,
|
|
151591
151591
|
flowNodeId: f.flowNodeId,
|
|
151592
151592
|
isMultiInstance: f.type === "MULTI_INSTANCE_BODY"
|
|
@@ -152281,18 +152281,18 @@ class $Qt {
|
|
|
152281
152281
|
if (!(Lye(t, this.#t) || this.#t.length === 0))
|
|
152282
152282
|
if (this.#t.includes(t.id) && (this.#e === void 0 || !this.#e.includes(t.id)))
|
|
152283
152283
|
if (Al.isMovingToken) {
|
|
152284
|
-
|
|
152284
|
+
Mr.clearSelection(), Al.moveToken(
|
|
152285
152285
|
t.id,
|
|
152286
152286
|
t.businessObject?.name ?? t.id
|
|
152287
152287
|
);
|
|
152288
152288
|
return;
|
|
152289
152289
|
} else
|
|
152290
|
-
|
|
152290
|
+
Mr.selectFlowNode({
|
|
152291
152291
|
flowNodeId: t.id,
|
|
152292
152292
|
flowNodeName: t.businessObject.name ?? t.id,
|
|
152293
152293
|
isMultiInstance: zN(t.businessObject)
|
|
152294
152294
|
});
|
|
152295
|
-
else this.#e !== void 0 &&
|
|
152295
|
+
else this.#e !== void 0 && Mr.clearSelection();
|
|
152296
152296
|
};
|
|
152297
152297
|
#a = (e, t) => {
|
|
152298
152298
|
this.navigatedViewer?.get("overlays")?.remove({ type: e, element: t });
|
|
@@ -152345,7 +152345,7 @@ class $Qt {
|
|
|
152345
152345
|
return;
|
|
152346
152346
|
this.navigatedViewer.get("zoomScroll").reset();
|
|
152347
152347
|
const t = this.navigatedViewer.get("elementRegistry").get(e);
|
|
152348
|
-
t !== void 0 && (this.navigatedViewer.get("canvas").scrollToElement(t),
|
|
152348
|
+
t !== void 0 && (this.navigatedViewer.get("canvas").scrollToElement(t), Mr.selectFlowNode({
|
|
152349
152349
|
flowNodeId: t.id,
|
|
152350
152350
|
flowNodeName: t.businessObject?.name ?? t.id,
|
|
152351
152351
|
isMultiInstance: zN(t.businessObject)
|
|
@@ -155844,7 +155844,7 @@ const zYt = ({
|
|
|
155844
155844
|
const o = await n();
|
|
155845
155845
|
r !== void 0 && (o ? s.displayNotification?.info({
|
|
155846
155846
|
title: r
|
|
155847
|
-
}) : s.displayNotification?.error(bs)),
|
|
155847
|
+
}) : s.displayNotification?.error(bs)), Mr.clearSelection();
|
|
155848
155848
|
},
|
|
155849
155849
|
children: e
|
|
155850
155850
|
}
|
|
@@ -155852,7 +155852,7 @@ const zYt = ({
|
|
|
155852
155852
|
}
|
|
155853
155853
|
), UYt = xt(
|
|
155854
155854
|
({ selectedFlowNodeRef: i, diagramCanvasRef: e }) => {
|
|
155855
|
-
const t =
|
|
155855
|
+
const t = Mr.state.selection?.flowNodeId, n = Mr.state.selection?.flowNodeName, {
|
|
155856
155856
|
state: { processInstance: r },
|
|
155857
155857
|
isRunning: s
|
|
155858
155858
|
} = at, { availableModifications: o, canSelectedFlowNodeBeModified: a } = Al;
|
|
@@ -155923,7 +155923,7 @@ const zYt = ({
|
|
|
155923
155923
|
title: "Move all running instances in this flow node to another target",
|
|
155924
155924
|
label: "Move all",
|
|
155925
155925
|
onClick: () => {
|
|
155926
|
-
Al.startMovingToken(t),
|
|
155926
|
+
Al.startMovingToken(t), Mr.clearSelection();
|
|
155927
155927
|
}
|
|
155928
155928
|
}
|
|
155929
155929
|
)
|
|
@@ -155933,7 +155933,7 @@ const zYt = ({
|
|
|
155933
155933
|
);
|
|
155934
155934
|
}
|
|
155935
155935
|
), tVe = xt(({ xml: i, FeedbackButton: e }) => {
|
|
155936
|
-
const t = Fn(mo), n = on(null), r = on(null), s = Al.isMovingToken, o = Qn.selectableFlowNodeIds, a =
|
|
155936
|
+
const t = Fn(mo), n = on(null), r = on(null), s = Al.isMovingToken, o = Qn.selectableFlowNodeIds, a = Mr.state.selection?.flowNodeId, l = at.state.instanceKey;
|
|
155937
155937
|
function c() {
|
|
155938
155938
|
return r.current === null && (r.current = new $Qt(t.featureFlags.newContextPadEnabled)), r.current;
|
|
155939
155939
|
}
|