@camunda/play 3.5.0 → 3.5.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 +584 -561
- package/package.json +3 -3
package/build/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import i3 from "bpmn-moddle";
|
|
|
4
4
|
import * as XBe from "react-dom";
|
|
5
5
|
import { unstable_batchedUpdates as JBe, createPortal as on } from "react-dom";
|
|
6
6
|
import G, { keyframes as G2, css as ns } from "styled-components";
|
|
7
|
-
import { MenuItemDivider as _Ee, Layer as Q2, Button as Vn, CodeSnippet as my, Modal as D1, TextInput as ha, FormLabel as r3, ModalHeader as xEe, ModalBody as SEe, ComposedModal as DEe, ModalFooter as MEe, Stack as Mn, Tabs as LEe, TabList as kEe, Tab as NEe, TreeNode as TEe, Tag as Ay, TreeView as IEe, Table as s3, TableHead as o3, TableRow as Lo, TableHeader as $s, TableBody as a3, TableCell as
|
|
7
|
+
import { MenuItemDivider as _Ee, Layer as Q2, Button as Vn, CodeSnippet as my, Modal as D1, TextInput as ha, FormLabel as r3, ModalHeader as xEe, ModalBody as SEe, ComposedModal as DEe, ModalFooter as MEe, Stack as Mn, Tabs as LEe, TabList as kEe, Tab as NEe, TreeNode as TEe, Tag as Ay, TreeView as IEe, Table as s3, TableHead as o3, TableRow as Lo, TableHeader as $s, TableBody as a3, TableCell as ui, ProgressBar as OEe, ActionableNotification as W0, Form as K2, Link as Za, InlineLoading as REe, Tooltip as l3, InlineNotification as eI, ToggletipActions as VEe, Toggletip as BEe, ToggletipContent as HEe, ComboBox as c3, IconButton as AD, Callout as $Be, DefinitionTooltip as eHe, TabPanel as tHe, SkeletonText as PEe, SkeletonIcon as nHe, Loading as FEe } from "@carbon/react";
|
|
8
8
|
import zEe, { loader as vb } from "@monaco-editor/react";
|
|
9
9
|
import { Form as Y2, getSchemaVariables as bb } from "@bpmn-io/form-js";
|
|
10
10
|
import { isNil as iHe, isEqual as WEe } from "lodash";
|
|
@@ -417,7 +417,7 @@ function sHe() {
|
|
|
417
417
|
});
|
|
418
418
|
}
|
|
419
419
|
}
|
|
420
|
-
function
|
|
420
|
+
function ti(ne, Te) {
|
|
421
421
|
{
|
|
422
422
|
var Je = function() {
|
|
423
423
|
Ze || (Ze = !0, v("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", Te));
|
|
@@ -428,7 +428,7 @@ function sHe() {
|
|
|
428
428
|
});
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
|
-
var
|
|
431
|
+
var ni = function(ne, Te, Je, Vt, je, oe, _e) {
|
|
432
432
|
var ke = {
|
|
433
433
|
// This tag allows us to uniquely identify this as a React Element
|
|
434
434
|
$$typeof: e,
|
|
@@ -470,9 +470,9 @@ function sHe() {
|
|
|
470
470
|
}
|
|
471
471
|
if (ke || Qt) {
|
|
472
472
|
var Zn = typeof ne == "function" ? ne.displayName || ne.name || "Unknown" : ne;
|
|
473
|
-
ke && rt(_e, Zn), Qt &&
|
|
473
|
+
ke && rt(_e, Zn), Qt && ti(_e, Zn);
|
|
474
474
|
}
|
|
475
|
-
return
|
|
475
|
+
return ni(ne, ke, Qt, je, Vt, we.current, _e);
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
478
|
var Ft = w.ReactCurrentOwner, vi = w.ReactDebugCurrentFrame;
|
|
@@ -962,7 +962,7 @@ function Cy(i, e) {
|
|
|
962
962
|
}
|
|
963
963
|
var Rt = /* @__PURE__ */ Symbol("mobx administration"), M1 = /* @__PURE__ */ function() {
|
|
964
964
|
function i(t) {
|
|
965
|
-
t === void 0 && (t = process.env.NODE_ENV !== "production" ? "Atom@" + Ea() : "Atom"), this.name_ = void 0, this.flags_ = 0, this.observers_ = /* @__PURE__ */ new Set(), this.lastAccessedBy_ = 0, this.lowestObserverState_ =
|
|
965
|
+
t === void 0 && (t = process.env.NODE_ENV !== "production" ? "Atom@" + Ea() : "Atom"), this.name_ = void 0, this.flags_ = 0, this.observers_ = /* @__PURE__ */ new Set(), this.lastAccessedBy_ = 0, this.lowestObserverState_ = Kn.NOT_TRACKING_, this.onBOL = void 0, this.onBUOL = void 0, this.name_ = t;
|
|
966
966
|
}
|
|
967
967
|
var e = i.prototype;
|
|
968
968
|
return e.onBO = function() {
|
|
@@ -1033,13 +1033,13 @@ var t2 = {
|
|
|
1033
1033
|
shallow: EHe
|
|
1034
1034
|
};
|
|
1035
1035
|
function f0(i, e, t) {
|
|
1036
|
-
return Rw(i) ? i : Array.isArray(i) ?
|
|
1036
|
+
return Rw(i) ? i : Array.isArray(i) ? ei.array(i, {
|
|
1037
1037
|
name: t
|
|
1038
|
-
}) : Io(i) ?
|
|
1038
|
+
}) : Io(i) ? ei.object(i, void 0, {
|
|
1039
1039
|
name: t
|
|
1040
|
-
}) : X2(i) ?
|
|
1040
|
+
}) : X2(i) ? ei.map(i, {
|
|
1041
1041
|
name: t
|
|
1042
|
-
}) : id(i) ?
|
|
1042
|
+
}) : id(i) ? ei.set(i, {
|
|
1043
1043
|
name: t
|
|
1044
1044
|
}) : typeof i == "function" && !n2(i) && !Ow(i) ? UEe(i) ? i2(i) : Iw(t, i) : i;
|
|
1045
1045
|
}
|
|
@@ -1047,22 +1047,22 @@ function xHe(i, e, t) {
|
|
|
1047
1047
|
if (i == null || $2(i) || ky(i) || L1(i) || Gc(i))
|
|
1048
1048
|
return i;
|
|
1049
1049
|
if (Array.isArray(i))
|
|
1050
|
-
return
|
|
1050
|
+
return ei.array(i, {
|
|
1051
1051
|
name: t,
|
|
1052
1052
|
deep: !1
|
|
1053
1053
|
});
|
|
1054
1054
|
if (Io(i))
|
|
1055
|
-
return
|
|
1055
|
+
return ei.object(i, void 0, {
|
|
1056
1056
|
name: t,
|
|
1057
1057
|
deep: !1
|
|
1058
1058
|
});
|
|
1059
1059
|
if (X2(i))
|
|
1060
|
-
return
|
|
1060
|
+
return ei.map(i, {
|
|
1061
1061
|
name: t,
|
|
1062
1062
|
deep: !1
|
|
1063
1063
|
});
|
|
1064
1064
|
if (id(i))
|
|
1065
|
-
return
|
|
1065
|
+
return ei.set(i, {
|
|
1066
1066
|
name: t,
|
|
1067
1067
|
deep: !1
|
|
1068
1068
|
});
|
|
@@ -1320,7 +1320,7 @@ function e_e(i) {
|
|
|
1320
1320
|
function QHe(i, e, t, n) {
|
|
1321
1321
|
var r, s;
|
|
1322
1322
|
if (t.get)
|
|
1323
|
-
return
|
|
1323
|
+
return Qn.make_(i, e, t, n);
|
|
1324
1324
|
if (t.set) {
|
|
1325
1325
|
var o = o1(e.toString(), t.set);
|
|
1326
1326
|
return n === i.target_ ? i.defineProperty_(e, {
|
|
@@ -1340,7 +1340,7 @@ function QHe(i, e, t, n) {
|
|
|
1340
1340
|
var d = (a = this.options_) != null && a.autoBind ? Iw.bound : Iw;
|
|
1341
1341
|
return d.make_(i, e, t, n);
|
|
1342
1342
|
}
|
|
1343
|
-
var u = ((r = this.options_) == null ? void 0 : r.deep) === !1 ?
|
|
1343
|
+
var u = ((r = this.options_) == null ? void 0 : r.deep) === !1 ? ei.ref : ei;
|
|
1344
1344
|
if (typeof t.value == "function" && (s = this.options_) != null && s.autoBind) {
|
|
1345
1345
|
var f;
|
|
1346
1346
|
t.value = t.value.bind((f = i.proxy_) != null ? f : i.target_);
|
|
@@ -1350,7 +1350,7 @@ function QHe(i, e, t, n) {
|
|
|
1350
1350
|
function KHe(i, e, t, n) {
|
|
1351
1351
|
var r, s;
|
|
1352
1352
|
if (t.get)
|
|
1353
|
-
return
|
|
1353
|
+
return Qn.extend_(i, e, t, n);
|
|
1354
1354
|
if (t.set)
|
|
1355
1355
|
return i.defineProperty_(e, {
|
|
1356
1356
|
configurable: Oe.safeDescriptors ? i.isPlainObject_ : !0,
|
|
@@ -1360,7 +1360,7 @@ function KHe(i, e, t, n) {
|
|
|
1360
1360
|
var o;
|
|
1361
1361
|
t.value = t.value.bind((o = i.proxy_) != null ? o : i.target_);
|
|
1362
1362
|
}
|
|
1363
|
-
var a = ((s = this.options_) == null ? void 0 : s.deep) === !1 ?
|
|
1363
|
+
var a = ((s = this.options_) == null ? void 0 : s.deep) === !1 ? ei.ref : ei;
|
|
1364
1364
|
return a.extend_(i, e, t, n);
|
|
1365
1365
|
}
|
|
1366
1366
|
function YHe(i, e) {
|
|
@@ -1401,7 +1401,7 @@ function i_e(i, e, t) {
|
|
|
1401
1401
|
d3(i, e, bD);
|
|
1402
1402
|
return;
|
|
1403
1403
|
}
|
|
1404
|
-
return Rw(i) ? i : Io(i) ?
|
|
1404
|
+
return Rw(i) ? i : Io(i) ? ei.object(i, e, t) : Array.isArray(i) ? ei.array(i, e) : X2(i) ? ei.map(i, e) : id(i) ? ei.set(i, e) : typeof i == "object" && i !== null ? i : ei.box(i, e);
|
|
1405
1405
|
}
|
|
1406
1406
|
jEe(i_e, n_e);
|
|
1407
1407
|
var oPe = {
|
|
@@ -1430,9 +1430,9 @@ var oPe = {
|
|
|
1430
1430
|
shallow: /* @__PURE__ */ Xl(nPe),
|
|
1431
1431
|
deep: n_e,
|
|
1432
1432
|
struct: /* @__PURE__ */ Xl(iPe)
|
|
1433
|
-
},
|
|
1433
|
+
}, ei = /* @__PURE__ */ jEe(i_e, oPe), r_e = "computed", aPe = "computed.struct", yD = /* @__PURE__ */ rI(r_e), lPe = /* @__PURE__ */ rI(aPe, {
|
|
1434
1434
|
equals: t2.structural
|
|
1435
|
-
}),
|
|
1435
|
+
}), Qn = function(e, t) {
|
|
1436
1436
|
if (u3(t))
|
|
1437
1437
|
return yD.decorate_20223_(e, t);
|
|
1438
1438
|
if (u0(t))
|
|
@@ -1443,8 +1443,8 @@ var oPe = {
|
|
|
1443
1443
|
var n = Io(t) ? t : {};
|
|
1444
1444
|
return n.get = e, n.name || (n.name = e.name || ""), new fl(n);
|
|
1445
1445
|
};
|
|
1446
|
-
Object.assign(
|
|
1447
|
-
|
|
1446
|
+
Object.assign(Qn, yD);
|
|
1447
|
+
Qn.struct = /* @__PURE__ */ Xl(lPe);
|
|
1448
1448
|
var rH, sH, _b = 0, cPe = 1, hPe = (rH = (sH = /* @__PURE__ */ yb(function() {
|
|
1449
1449
|
}, "name")) == null ? void 0 : sH.configurable) != null ? rH : !1, oH = {
|
|
1450
1450
|
value: "action",
|
|
@@ -1593,7 +1593,7 @@ var pPe = "create", Gf = /* @__PURE__ */ function(i) {
|
|
|
1593
1593
|
}, e;
|
|
1594
1594
|
}(M1), fl = /* @__PURE__ */ function() {
|
|
1595
1595
|
function i(t) {
|
|
1596
|
-
this.dependenciesState_ =
|
|
1596
|
+
this.dependenciesState_ = Kn.NOT_TRACKING_, this.observing_ = [], this.newObserving_ = null, this.observers_ = /* @__PURE__ */ new Set(), this.runId_ = 0, this.lastAccessedBy_ = 0, this.lowestObserverState_ = Kn.UP_TO_DATE_, this.unboundDepsCount_ = 0, this.value_ = new xb(null), this.name_ = void 0, this.triggeredBy_ = void 0, this.flags_ = 0, this.derivation = void 0, this.setter_ = void 0, this.isTracing_ = al.NONE, this.scope_ = void 0, this.equals_ = void 0, this.requiresReaction_ = void 0, this.keepAlive_ = void 0, this.onBOL = void 0, this.onBUOL = void 0, t.get || Ke(31), this.derivation = t.get, this.name_ = t.name || (process.env.NODE_ENV !== "production" ? "ComputedValue@" + Ea() : "ComputedValue"), t.set && (this.setter_ = o1(process.env.NODE_ENV !== "production" ? this.name_ + "-setter" : "ComputedValue-setter", t.set)), this.equals_ = t.equals || (t.compareStructural || t.struct ? t2.structural : t2.default), this.scope_ = t.context, this.requiresReaction_ = t.requiresReaction, this.keepAlive_ = !!t.keepAlive;
|
|
1597
1597
|
}
|
|
1598
1598
|
var e = i.prototype;
|
|
1599
1599
|
return e.onBecomeStale_ = function() {
|
|
@@ -1631,7 +1631,7 @@ var pPe = "create", Gf = /* @__PURE__ */ function(i) {
|
|
|
1631
1631
|
}, e.trackAndCompute = function() {
|
|
1632
1632
|
var n = this.value_, r = (
|
|
1633
1633
|
/* see #1208 */
|
|
1634
|
-
this.dependenciesState_ ===
|
|
1634
|
+
this.dependenciesState_ === Kn.NOT_TRACKING_
|
|
1635
1635
|
), s = this.computeValue_(!0), o = r || g6(n) || g6(s) || !this.equals_(n, s);
|
|
1636
1636
|
return o && (this.value_ = s, process.env.NODE_ENV !== "production" && ws() && p0({
|
|
1637
1637
|
observableKind: "computed",
|
|
@@ -1729,10 +1729,10 @@ fl.isRunningSetterMask_ = 2;
|
|
|
1729
1729
|
fl.isBeingObservedMask_ = 4;
|
|
1730
1730
|
fl.isPendingUnobservationMask_ = 8;
|
|
1731
1731
|
fl.diffValueMask_ = 16;
|
|
1732
|
-
var Dy = /* @__PURE__ */ j0("ComputedValue", fl),
|
|
1732
|
+
var Dy = /* @__PURE__ */ j0("ComputedValue", fl), Kn;
|
|
1733
1733
|
(function(i) {
|
|
1734
1734
|
i[i.NOT_TRACKING_ = -1] = "NOT_TRACKING_", i[i.UP_TO_DATE_ = 0] = "UP_TO_DATE_", i[i.POSSIBLY_STALE_ = 1] = "POSSIBLY_STALE_", i[i.STALE_ = 2] = "STALE_";
|
|
1735
|
-
})(
|
|
1735
|
+
})(Kn || (Kn = {}));
|
|
1736
1736
|
var al;
|
|
1737
1737
|
(function(i) {
|
|
1738
1738
|
i[i.NONE = 0] = "NONE", i[i.LOG = 1] = "LOG", i[i.BREAK = 2] = "BREAK";
|
|
@@ -1745,12 +1745,12 @@ function g6(i) {
|
|
|
1745
1745
|
}
|
|
1746
1746
|
function CD(i) {
|
|
1747
1747
|
switch (i.dependenciesState_) {
|
|
1748
|
-
case
|
|
1748
|
+
case Kn.UP_TO_DATE_:
|
|
1749
1749
|
return !1;
|
|
1750
|
-
case
|
|
1751
|
-
case
|
|
1750
|
+
case Kn.NOT_TRACKING_:
|
|
1751
|
+
case Kn.STALE_:
|
|
1752
1752
|
return !0;
|
|
1753
|
-
case
|
|
1753
|
+
case Kn.POSSIBLY_STALE_: {
|
|
1754
1754
|
for (var e = My(!0), t = Z0(), n = i.observing_, r = n.length, s = 0; s < r; s++) {
|
|
1755
1755
|
var o = n[s];
|
|
1756
1756
|
if (Dy(o)) {
|
|
@@ -1762,7 +1762,7 @@ function CD(i) {
|
|
|
1762
1762
|
} catch {
|
|
1763
1763
|
return vd(t), wg(e), !0;
|
|
1764
1764
|
}
|
|
1765
|
-
if (i.dependenciesState_ ===
|
|
1765
|
+
if (i.dependenciesState_ === Kn.STALE_)
|
|
1766
1766
|
return vd(t), wg(e), !0;
|
|
1767
1767
|
}
|
|
1768
1768
|
}
|
|
@@ -1803,7 +1803,7 @@ function mPe(i) {
|
|
|
1803
1803
|
process.env.NODE_ENV !== "production" && i.observing_.length === 0 && (typeof i.requiresObservable_ == "boolean" ? i.requiresObservable_ : Oe.reactionRequiresObservable) && console.warn("[mobx] Derivation '" + i.name_ + "' is created/updated without reading any observable value.");
|
|
1804
1804
|
}
|
|
1805
1805
|
function APe(i) {
|
|
1806
|
-
for (var e = i.observing_, t = i.observing_ = i.newObserving_, n =
|
|
1806
|
+
for (var e = i.observing_, t = i.observing_ = i.newObserving_, n = Kn.UP_TO_DATE_, r = 0, s = i.unboundDepsCount_, o = 0; o < s; o++) {
|
|
1807
1807
|
var a = t[o];
|
|
1808
1808
|
a.diffValue === 0 && (a.diffValue = 1, r !== o && (t[r] = a), r++), a.dependenciesState_ > n && (n = a.dependenciesState_);
|
|
1809
1809
|
}
|
|
@@ -1815,14 +1815,14 @@ function APe(i) {
|
|
|
1815
1815
|
var c = t[r];
|
|
1816
1816
|
c.diffValue === 1 && (c.diffValue = 0, vPe(c, i));
|
|
1817
1817
|
}
|
|
1818
|
-
n !==
|
|
1818
|
+
n !== Kn.UP_TO_DATE_ && (i.dependenciesState_ = n, i.onBecomeStale_());
|
|
1819
1819
|
}
|
|
1820
1820
|
function ED(i) {
|
|
1821
1821
|
var e = i.observing_;
|
|
1822
1822
|
i.observing_ = [];
|
|
1823
1823
|
for (var t = e.length; t--; )
|
|
1824
1824
|
c_e(e[t], i);
|
|
1825
|
-
i.dependenciesState_ =
|
|
1825
|
+
i.dependenciesState_ = Kn.NOT_TRACKING_;
|
|
1826
1826
|
}
|
|
1827
1827
|
function o_e(i) {
|
|
1828
1828
|
var e = Z0();
|
|
@@ -1847,10 +1847,10 @@ function wg(i) {
|
|
|
1847
1847
|
Oe.allowStateReads = i;
|
|
1848
1848
|
}
|
|
1849
1849
|
function a_e(i) {
|
|
1850
|
-
if (i.dependenciesState_ !==
|
|
1851
|
-
i.dependenciesState_ =
|
|
1850
|
+
if (i.dependenciesState_ !== Kn.UP_TO_DATE_) {
|
|
1851
|
+
i.dependenciesState_ = Kn.UP_TO_DATE_;
|
|
1852
1852
|
for (var e = i.observing_, t = e.length; t--; )
|
|
1853
|
-
e[t].lowestObserverState_ =
|
|
1853
|
+
e[t].lowestObserverState_ = Kn.UP_TO_DATE_;
|
|
1854
1854
|
}
|
|
1855
1855
|
}
|
|
1856
1856
|
var m6 = function() {
|
|
@@ -1895,18 +1895,18 @@ function d_e(i) {
|
|
|
1895
1895
|
return e !== null ? (e.runId_ !== i.lastAccessedBy_ && (i.lastAccessedBy_ = e.runId_, e.newObserving_[e.unboundDepsCount_++] = i, !i.isBeingObserved && Oe.trackingContext && (i.isBeingObserved = !0, i.onBO())), i.isBeingObserved) : (i.observers_.size === 0 && Oe.inBatch > 0 && h_e(i), !1);
|
|
1896
1896
|
}
|
|
1897
1897
|
function u_e(i) {
|
|
1898
|
-
i.lowestObserverState_ !==
|
|
1899
|
-
e.dependenciesState_ ===
|
|
1898
|
+
i.lowestObserverState_ !== Kn.STALE_ && (i.lowestObserverState_ = Kn.STALE_, i.observers_.forEach(function(e) {
|
|
1899
|
+
e.dependenciesState_ === Kn.UP_TO_DATE_ && (process.env.NODE_ENV !== "production" && e.isTracing_ !== al.NONE && f_e(e, i), e.onBecomeStale_()), e.dependenciesState_ = Kn.STALE_;
|
|
1900
1900
|
}));
|
|
1901
1901
|
}
|
|
1902
1902
|
function bPe(i) {
|
|
1903
|
-
i.lowestObserverState_ !==
|
|
1904
|
-
e.dependenciesState_ ===
|
|
1903
|
+
i.lowestObserverState_ !== Kn.STALE_ && (i.lowestObserverState_ = Kn.STALE_, i.observers_.forEach(function(e) {
|
|
1904
|
+
e.dependenciesState_ === Kn.POSSIBLY_STALE_ ? (e.dependenciesState_ = Kn.STALE_, process.env.NODE_ENV !== "production" && e.isTracing_ !== al.NONE && f_e(e, i)) : e.dependenciesState_ === Kn.UP_TO_DATE_ && (i.lowestObserverState_ = Kn.UP_TO_DATE_);
|
|
1905
1905
|
}));
|
|
1906
1906
|
}
|
|
1907
1907
|
function yPe(i) {
|
|
1908
|
-
i.lowestObserverState_ ===
|
|
1909
|
-
e.dependenciesState_ ===
|
|
1908
|
+
i.lowestObserverState_ === Kn.UP_TO_DATE_ && (i.lowestObserverState_ = Kn.POSSIBLY_STALE_, i.observers_.forEach(function(e) {
|
|
1909
|
+
e.dependenciesState_ === Kn.UP_TO_DATE_ && (e.dependenciesState_ = Kn.POSSIBLY_STALE_, e.onBecomeStale_());
|
|
1910
1910
|
}));
|
|
1911
1911
|
}
|
|
1912
1912
|
function f_e(i, e) {
|
|
@@ -1941,7 +1941,7 @@ function p_e(i, e, t) {
|
|
|
1941
1941
|
}
|
|
1942
1942
|
var ic = /* @__PURE__ */ function() {
|
|
1943
1943
|
function i(t, n, r, s) {
|
|
1944
|
-
t === void 0 && (t = process.env.NODE_ENV !== "production" ? "Reaction@" + Ea() : "Reaction"), this.name_ = void 0, this.onInvalidate_ = void 0, this.errorHandler_ = void 0, this.requiresObservable_ = void 0, this.observing_ = [], this.newObserving_ = [], this.dependenciesState_ =
|
|
1944
|
+
t === void 0 && (t = process.env.NODE_ENV !== "production" ? "Reaction@" + Ea() : "Reaction"), this.name_ = void 0, this.onInvalidate_ = void 0, this.errorHandler_ = void 0, this.requiresObservable_ = void 0, this.observing_ = [], this.newObserving_ = [], this.dependenciesState_ = Kn.NOT_TRACKING_, this.runId_ = 0, this.unboundDepsCount_ = 0, this.flags_ = 0, this.isTracing_ = al.NONE, this.name_ = t, this.onInvalidate_ = n, this.errorHandler_ = r, this.requiresObservable_ = s;
|
|
1945
1945
|
}
|
|
1946
1946
|
var e = i.prototype;
|
|
1947
1947
|
return e.onBecomeStale_ = function() {
|
|
@@ -6430,7 +6430,7 @@ function it(i) {
|
|
|
6430
6430
|
h.version.split(".")[0];
|
|
6431
6431
|
if (!wEe)
|
|
6432
6432
|
throw new Error("mobx-react requires React to be available");
|
|
6433
|
-
if (
|
|
6433
|
+
if (!ei)
|
|
6434
6434
|
throw new Error("mobx-react requires mobx to be available");
|
|
6435
6435
|
function Bze(i, e, t) {
|
|
6436
6436
|
return (e = Fze(e)) in i ? Object.defineProperty(i, e, {
|
|
@@ -6509,7 +6509,7 @@ function Zze() {
|
|
|
6509
6509
|
});
|
|
6510
6510
|
return l["aria-label"] || l["aria-labelledby"] || l.title ? (l.role = "img", o != null && (l.focusable = "true", l.tabindex = o)) : l["aria-hidden"] = !0, l;
|
|
6511
6511
|
}
|
|
6512
|
-
var L4 = { exports: {} }, k4 = { exports: {} },
|
|
6512
|
+
var L4 = { exports: {} }, k4 = { exports: {} }, ii = {};
|
|
6513
6513
|
/** @license React v16.13.1
|
|
6514
6514
|
* react-is.production.min.js
|
|
6515
6515
|
*
|
|
@@ -6520,7 +6520,7 @@ var L4 = { exports: {} }, k4 = { exports: {} }, ni = {};
|
|
|
6520
6520
|
*/
|
|
6521
6521
|
var mP;
|
|
6522
6522
|
function Uze() {
|
|
6523
|
-
if (mP) return
|
|
6523
|
+
if (mP) return ii;
|
|
6524
6524
|
mP = 1;
|
|
6525
6525
|
var i = typeof Symbol == "function" && Symbol.for, e = i ? Symbol.for("react.element") : 60103, t = i ? Symbol.for("react.portal") : 60106, n = i ? Symbol.for("react.fragment") : 60107, r = i ? Symbol.for("react.strict_mode") : 60108, s = i ? Symbol.for("react.profiler") : 60114, o = i ? Symbol.for("react.provider") : 60109, a = i ? Symbol.for("react.context") : 60110, l = i ? Symbol.for("react.async_mode") : 60111, c = i ? Symbol.for("react.concurrent_mode") : 60111, d = i ? Symbol.for("react.forward_ref") : 60112, u = i ? Symbol.for("react.suspense") : 60113, f = i ? Symbol.for("react.suspense_list") : 60120, p = i ? Symbol.for("react.memo") : 60115, g = i ? Symbol.for("react.lazy") : 60116, m = i ? Symbol.for("react.block") : 60121, A = i ? Symbol.for("react.fundamental") : 60117, w = i ? Symbol.for("react.responder") : 60118, v = i ? Symbol.for("react.scope") : 60119;
|
|
6526
6526
|
function b(S) {
|
|
@@ -6556,35 +6556,35 @@ function Uze() {
|
|
|
6556
6556
|
function y(S) {
|
|
6557
6557
|
return b(S) === c;
|
|
6558
6558
|
}
|
|
6559
|
-
return
|
|
6559
|
+
return ii.AsyncMode = l, ii.ConcurrentMode = c, ii.ContextConsumer = a, ii.ContextProvider = o, ii.Element = e, ii.ForwardRef = d, ii.Fragment = n, ii.Lazy = g, ii.Memo = p, ii.Portal = t, ii.Profiler = s, ii.StrictMode = r, ii.Suspense = u, ii.isAsyncMode = function(S) {
|
|
6560
6560
|
return y(S) || b(S) === l;
|
|
6561
|
-
},
|
|
6561
|
+
}, ii.isConcurrentMode = y, ii.isContextConsumer = function(S) {
|
|
6562
6562
|
return b(S) === a;
|
|
6563
|
-
},
|
|
6563
|
+
}, ii.isContextProvider = function(S) {
|
|
6564
6564
|
return b(S) === o;
|
|
6565
|
-
},
|
|
6565
|
+
}, ii.isElement = function(S) {
|
|
6566
6566
|
return typeof S == "object" && S !== null && S.$$typeof === e;
|
|
6567
|
-
},
|
|
6567
|
+
}, ii.isForwardRef = function(S) {
|
|
6568
6568
|
return b(S) === d;
|
|
6569
|
-
},
|
|
6569
|
+
}, ii.isFragment = function(S) {
|
|
6570
6570
|
return b(S) === n;
|
|
6571
|
-
},
|
|
6571
|
+
}, ii.isLazy = function(S) {
|
|
6572
6572
|
return b(S) === g;
|
|
6573
|
-
},
|
|
6573
|
+
}, ii.isMemo = function(S) {
|
|
6574
6574
|
return b(S) === p;
|
|
6575
|
-
},
|
|
6575
|
+
}, ii.isPortal = function(S) {
|
|
6576
6576
|
return b(S) === t;
|
|
6577
|
-
},
|
|
6577
|
+
}, ii.isProfiler = function(S) {
|
|
6578
6578
|
return b(S) === s;
|
|
6579
|
-
},
|
|
6579
|
+
}, ii.isStrictMode = function(S) {
|
|
6580
6580
|
return b(S) === r;
|
|
6581
|
-
},
|
|
6581
|
+
}, ii.isSuspense = function(S) {
|
|
6582
6582
|
return b(S) === u;
|
|
6583
|
-
},
|
|
6583
|
+
}, ii.isValidElementType = function(S) {
|
|
6584
6584
|
return typeof S == "string" || typeof S == "function" || S === n || S === c || S === s || S === r || S === u || S === f || typeof S == "object" && S !== null && (S.$$typeof === g || S.$$typeof === p || S.$$typeof === o || S.$$typeof === a || S.$$typeof === d || S.$$typeof === A || S.$$typeof === w || S.$$typeof === v || S.$$typeof === m);
|
|
6585
|
-
},
|
|
6585
|
+
}, ii.typeOf = b, ii;
|
|
6586
6586
|
}
|
|
6587
|
-
var
|
|
6587
|
+
var ri = {};
|
|
6588
6588
|
/** @license React v16.13.1
|
|
6589
6589
|
* react-is.development.js
|
|
6590
6590
|
*
|
|
@@ -6673,8 +6673,8 @@ function qze() {
|
|
|
6673
6673
|
function ce(Ce) {
|
|
6674
6674
|
return y(Ce) === u;
|
|
6675
6675
|
}
|
|
6676
|
-
|
|
6677
|
-
}()),
|
|
6676
|
+
ri.AsyncMode = S, ri.ConcurrentMode = M, ri.ContextConsumer = D, ri.ContextProvider = L, ri.Element = O, ri.ForwardRef = B, ri.Fragment = V, ri.Lazy = N, ri.Memo = R, ri.Portal = H, ri.Profiler = W, ri.StrictMode = q, ri.Suspense = ee, ri.isAsyncMode = ie, ri.isConcurrentMode = te, ri.isContextConsumer = se, ri.isContextProvider = Q, ri.isElement = z, ri.isForwardRef = le, ri.isFragment = Ee, ri.isLazy = P, ri.isMemo = I, ri.isPortal = T, ri.isProfiler = U, ri.isStrictMode = X, ri.isSuspense = ce, ri.isValidElementType = b, ri.typeOf = y;
|
|
6677
|
+
}()), ri;
|
|
6678
6678
|
}
|
|
6679
6679
|
var wP;
|
|
6680
6680
|
function $_e() {
|
|
@@ -31324,15 +31324,15 @@ class Xr extends sm {
|
|
|
31324
31324
|
return Xr.string(e, this.defaultValue);
|
|
31325
31325
|
}
|
|
31326
31326
|
}
|
|
31327
|
-
function
|
|
31327
|
+
function ai(i, e, t, n) {
|
|
31328
31328
|
return typeof i != "string" ? e : n && i in n ? n[i] : t.indexOf(i) === -1 ? e : i;
|
|
31329
31329
|
}
|
|
31330
|
-
class
|
|
31330
|
+
class si extends sm {
|
|
31331
31331
|
constructor(e, t, n, r, s = void 0) {
|
|
31332
31332
|
typeof s < "u" && (s.type = "string", s.enum = r, s.default = n), super(e, t, n, s), this._allowedValues = r;
|
|
31333
31333
|
}
|
|
31334
31334
|
validate(e) {
|
|
31335
|
-
return
|
|
31335
|
+
return ai(e, this.defaultValue, this._allowedValues);
|
|
31336
31336
|
}
|
|
31337
31337
|
}
|
|
31338
31338
|
class I4 extends jn {
|
|
@@ -31550,8 +31550,8 @@ class glt extends jn {
|
|
|
31550
31550
|
const t = e;
|
|
31551
31551
|
return {
|
|
31552
31552
|
cursorMoveOnType: Ie(t.cursorMoveOnType, this.defaultValue.cursorMoveOnType),
|
|
31553
|
-
seedSearchStringFromSelection: typeof e.seedSearchStringFromSelection == "boolean" ? e.seedSearchStringFromSelection ? "always" : "never" :
|
|
31554
|
-
autoFindInSelection: typeof e.autoFindInSelection == "boolean" ? e.autoFindInSelection ? "always" : "never" :
|
|
31553
|
+
seedSearchStringFromSelection: typeof e.seedSearchStringFromSelection == "boolean" ? e.seedSearchStringFromSelection ? "always" : "never" : ai(t.seedSearchStringFromSelection, this.defaultValue.seedSearchStringFromSelection, ["never", "always", "selection"]),
|
|
31554
|
+
autoFindInSelection: typeof e.autoFindInSelection == "boolean" ? e.autoFindInSelection ? "always" : "never" : ai(t.autoFindInSelection, this.defaultValue.autoFindInSelection, ["never", "always", "multiline"]),
|
|
31555
31555
|
globalFindClipboard: Ie(t.globalFindClipboard, this.defaultValue.globalFindClipboard),
|
|
31556
31556
|
addExtraSpaceOnTop: Ie(t.addExtraSpaceOnTop, this.defaultValue.addExtraSpaceOnTop),
|
|
31557
31557
|
loop: Ie(t.loop, this.defaultValue.loop)
|
|
@@ -31766,13 +31766,13 @@ class wlt extends jn {
|
|
|
31766
31766
|
return this.defaultValue;
|
|
31767
31767
|
const t = e;
|
|
31768
31768
|
return {
|
|
31769
|
-
multiple:
|
|
31770
|
-
multipleDefinitions: t.multipleDefinitions ??
|
|
31771
|
-
multipleTypeDefinitions: t.multipleTypeDefinitions ??
|
|
31772
|
-
multipleDeclarations: t.multipleDeclarations ??
|
|
31773
|
-
multipleImplementations: t.multipleImplementations ??
|
|
31774
|
-
multipleReferences: t.multipleReferences ??
|
|
31775
|
-
multipleTests: t.multipleTests ??
|
|
31769
|
+
multiple: ai(t.multiple, this.defaultValue.multiple, ["peek", "gotoAndPeek", "goto"]),
|
|
31770
|
+
multipleDefinitions: t.multipleDefinitions ?? ai(t.multipleDefinitions, "peek", ["peek", "gotoAndPeek", "goto"]),
|
|
31771
|
+
multipleTypeDefinitions: t.multipleTypeDefinitions ?? ai(t.multipleTypeDefinitions, "peek", ["peek", "gotoAndPeek", "goto"]),
|
|
31772
|
+
multipleDeclarations: t.multipleDeclarations ?? ai(t.multipleDeclarations, "peek", ["peek", "gotoAndPeek", "goto"]),
|
|
31773
|
+
multipleImplementations: t.multipleImplementations ?? ai(t.multipleImplementations, "peek", ["peek", "gotoAndPeek", "goto"]),
|
|
31774
|
+
multipleReferences: t.multipleReferences ?? ai(t.multipleReferences, "peek", ["peek", "gotoAndPeek", "goto"]),
|
|
31775
|
+
multipleTests: t.multipleTests ?? ai(t.multipleTests, "peek", ["peek", "gotoAndPeek", "goto"]),
|
|
31776
31776
|
alternativeDefinitionCommand: Xr.string(t.alternativeDefinitionCommand, this.defaultValue.alternativeDefinitionCommand),
|
|
31777
31777
|
alternativeTypeDefinitionCommand: Xr.string(t.alternativeTypeDefinitionCommand, this.defaultValue.alternativeTypeDefinitionCommand),
|
|
31778
31778
|
alternativeDeclarationCommand: Xr.string(t.alternativeDeclarationCommand, this.defaultValue.alternativeDeclarationCommand),
|
|
@@ -32048,7 +32048,7 @@ class blt extends jn {
|
|
|
32048
32048
|
});
|
|
32049
32049
|
}
|
|
32050
32050
|
validate(e) {
|
|
32051
|
-
return
|
|
32051
|
+
return ai(e, "simple", ["simple", "advanced"]);
|
|
32052
32052
|
}
|
|
32053
32053
|
compute(e, t, n) {
|
|
32054
32054
|
return t.get(
|
|
@@ -32081,7 +32081,7 @@ class ylt extends jn {
|
|
|
32081
32081
|
}
|
|
32082
32082
|
validate(e) {
|
|
32083
32083
|
return !e || typeof e != "object" ? this.defaultValue : {
|
|
32084
|
-
enabled:
|
|
32084
|
+
enabled: ai(e.enabled, this.defaultValue.enabled, [Gh.Off, Gh.OnCode, Gh.On])
|
|
32085
32085
|
};
|
|
32086
32086
|
}
|
|
32087
32087
|
}
|
|
@@ -32122,7 +32122,7 @@ class Clt extends jn {
|
|
|
32122
32122
|
return {
|
|
32123
32123
|
enabled: Ie(t.enabled, this.defaultValue.enabled),
|
|
32124
32124
|
maxLineCount: Cn.clampedInt(t.maxLineCount, this.defaultValue.maxLineCount, 1, 20),
|
|
32125
|
-
defaultModel:
|
|
32125
|
+
defaultModel: ai(t.defaultModel, this.defaultValue.defaultModel, ["outlineModel", "foldingProviderModel", "indentationModel"]),
|
|
32126
32126
|
scrollWithEditor: Ie(t.scrollWithEditor, this.defaultValue.scrollWithEditor)
|
|
32127
32127
|
};
|
|
32128
32128
|
}
|
|
@@ -32165,7 +32165,7 @@ class Elt extends jn {
|
|
|
32165
32165
|
return this.defaultValue;
|
|
32166
32166
|
const t = e;
|
|
32167
32167
|
return typeof t.enabled == "boolean" && (t.enabled = t.enabled ? "on" : "off"), {
|
|
32168
|
-
enabled:
|
|
32168
|
+
enabled: ai(t.enabled, this.defaultValue.enabled, ["on", "off", "offUnlessPressed", "onUnlessPressed"]),
|
|
32169
32169
|
fontSize: Cn.clampedInt(t.fontSize, this.defaultValue.fontSize, 0, 100),
|
|
32170
32170
|
fontFamily: Xr.string(t.fontFamily, this.defaultValue.fontFamily),
|
|
32171
32171
|
padding: Ie(t.padding, this.defaultValue.padding)
|
|
@@ -32291,9 +32291,9 @@ class Slt extends jn {
|
|
|
32291
32291
|
return {
|
|
32292
32292
|
enabled: Ie(t.enabled, this.defaultValue.enabled),
|
|
32293
32293
|
autohide: Ie(t.autohide, this.defaultValue.autohide),
|
|
32294
|
-
size:
|
|
32295
|
-
side:
|
|
32296
|
-
showSlider:
|
|
32294
|
+
size: ai(t.size, this.defaultValue.size, ["proportional", "fill", "fit"]),
|
|
32295
|
+
side: ai(t.side, this.defaultValue.side, ["right", "left"]),
|
|
32296
|
+
showSlider: ai(t.showSlider, this.defaultValue.showSlider, ["always", "mouseover"]),
|
|
32297
32297
|
renderCharacters: Ie(t.renderCharacters, this.defaultValue.renderCharacters),
|
|
32298
32298
|
scale: Cn.clampedInt(t.scale, 1, 1, 3),
|
|
32299
32299
|
maxColumn: Cn.clampedInt(t.maxColumn, this.defaultValue.maxColumn, 1, 1e4),
|
|
@@ -32431,7 +32431,7 @@ class Tlt extends jn {
|
|
|
32431
32431
|
return this.defaultValue;
|
|
32432
32432
|
const { other: t, comments: n, strings: r } = e, s = ["on", "inline", "off"];
|
|
32433
32433
|
let o, a, l;
|
|
32434
|
-
return typeof t == "boolean" ? o = t ? "on" : "off" : o =
|
|
32434
|
+
return typeof t == "boolean" ? o = t ? "on" : "off" : o = ai(t, this.defaultValue.other, s), typeof n == "boolean" ? a = n ? "on" : "off" : a = ai(n, this.defaultValue.comments, s), typeof r == "boolean" ? l = r ? "on" : "off" : l = ai(r, this.defaultValue.strings, s), {
|
|
32435
32435
|
other: o,
|
|
32436
32436
|
comments: a,
|
|
32437
32437
|
strings: l
|
|
@@ -32772,8 +32772,8 @@ class Hlt extends jn {
|
|
|
32772
32772
|
const t = e;
|
|
32773
32773
|
return {
|
|
32774
32774
|
enabled: Ie(t.enabled, this.defaultValue.enabled),
|
|
32775
|
-
mode:
|
|
32776
|
-
showToolbar:
|
|
32775
|
+
mode: ai(t.mode, this.defaultValue.mode, ["prefix", "subword", "subwordSmart"]),
|
|
32776
|
+
showToolbar: ai(t.showToolbar, this.defaultValue.showToolbar, ["always", "onHover", "never"]),
|
|
32777
32777
|
suppressSuggestions: Ie(t.suppressSuggestions, this.defaultValue.suppressSuggestions),
|
|
32778
32778
|
keepOnBlur: Ie(t.keepOnBlur, this.defaultValue.keepOnBlur),
|
|
32779
32779
|
fontFamily: Xr.string(t.fontFamily, this.defaultValue.fontFamily)
|
|
@@ -32818,7 +32818,7 @@ class Plt extends jn {
|
|
|
32818
32818
|
const t = e;
|
|
32819
32819
|
return {
|
|
32820
32820
|
enabled: Ie(t.enabled, this.defaultValue.enabled),
|
|
32821
|
-
showToolbar:
|
|
32821
|
+
showToolbar: ai(t.showToolbar, this.defaultValue.showToolbar, ["always", "onHover", "never"]),
|
|
32822
32822
|
fontFamily: Xr.string(t.fontFamily, this.defaultValue.fontFamily),
|
|
32823
32823
|
keepOnBlur: Ie(t.keepOnBlur, this.defaultValue.keepOnBlur)
|
|
32824
32824
|
};
|
|
@@ -33197,16 +33197,16 @@ class Wlt extends jn {
|
|
|
33197
33197
|
return this.defaultValue;
|
|
33198
33198
|
const t = e;
|
|
33199
33199
|
return {
|
|
33200
|
-
insertMode:
|
|
33200
|
+
insertMode: ai(t.insertMode, this.defaultValue.insertMode, ["insert", "replace"]),
|
|
33201
33201
|
filterGraceful: Ie(t.filterGraceful, this.defaultValue.filterGraceful),
|
|
33202
33202
|
snippetsPreventQuickSuggestions: Ie(t.snippetsPreventQuickSuggestions, this.defaultValue.filterGraceful),
|
|
33203
33203
|
localityBonus: Ie(t.localityBonus, this.defaultValue.localityBonus),
|
|
33204
33204
|
shareSuggestSelections: Ie(t.shareSuggestSelections, this.defaultValue.shareSuggestSelections),
|
|
33205
|
-
selectionMode:
|
|
33205
|
+
selectionMode: ai(t.selectionMode, this.defaultValue.selectionMode, ["always", "never", "whenQuickSuggestion", "whenTriggerCharacter"]),
|
|
33206
33206
|
showIcons: Ie(t.showIcons, this.defaultValue.showIcons),
|
|
33207
33207
|
showStatusBar: Ie(t.showStatusBar, this.defaultValue.showStatusBar),
|
|
33208
33208
|
preview: Ie(t.preview, this.defaultValue.preview),
|
|
33209
|
-
previewMode:
|
|
33209
|
+
previewMode: ai(t.previewMode, this.defaultValue.previewMode, ["prefix", "subword", "subwordSmart"]),
|
|
33210
33210
|
showInlineDetails: Ie(t.showInlineDetails, this.defaultValue.showInlineDetails),
|
|
33211
33211
|
showMethods: Ie(t.showMethods, this.defaultValue.showMethods),
|
|
33212
33212
|
showFunctions: Ie(t.showFunctions, this.defaultValue.showFunctions),
|
|
@@ -33385,7 +33385,7 @@ class Glt extends jn {
|
|
|
33385
33385
|
const t = e;
|
|
33386
33386
|
return {
|
|
33387
33387
|
enabled: Ie(t.enabled, this.defaultValue.enabled),
|
|
33388
|
-
showDropSelector:
|
|
33388
|
+
showDropSelector: ai(t.showDropSelector, this.defaultValue.showDropSelector, ["afterDrop", "never"])
|
|
33389
33389
|
};
|
|
33390
33390
|
}
|
|
33391
33391
|
}
|
|
@@ -33419,7 +33419,7 @@ class Qlt extends jn {
|
|
|
33419
33419
|
const t = e;
|
|
33420
33420
|
return {
|
|
33421
33421
|
enabled: Ie(t.enabled, this.defaultValue.enabled),
|
|
33422
|
-
showPasteSelector:
|
|
33422
|
+
showPasteSelector: ai(t.showPasteSelector, this.defaultValue.showPasteSelector, ["afterPaste", "never"])
|
|
33423
33423
|
};
|
|
33424
33424
|
}
|
|
33425
33425
|
}
|
|
@@ -33435,7 +33435,7 @@ function be(i) {
|
|
|
33435
33435
|
}
|
|
33436
33436
|
const G0 = {
|
|
33437
33437
|
acceptSuggestionOnCommitCharacter: be(new It(0, "acceptSuggestionOnCommitCharacter", !0, { markdownDescription: C("acceptSuggestionOnCommitCharacter", "Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.") })),
|
|
33438
|
-
acceptSuggestionOnEnter: be(new
|
|
33438
|
+
acceptSuggestionOnEnter: be(new si(1, "acceptSuggestionOnEnter", "on", ["on", "smart", "off"], {
|
|
33439
33439
|
markdownEnumDescriptions: [
|
|
33440
33440
|
"",
|
|
33441
33441
|
C("acceptSuggestionOnEnterSmart", "Only accept a suggestion with `Enter` when it makes a textual change."),
|
|
@@ -33454,7 +33454,7 @@ const G0 = {
|
|
|
33454
33454
|
description: C("screenReaderAnnounceInlineSuggestion", "Control whether inline suggestions are announced by a screen reader."),
|
|
33455
33455
|
tags: ["accessibility"]
|
|
33456
33456
|
})),
|
|
33457
|
-
autoClosingBrackets: be(new
|
|
33457
|
+
autoClosingBrackets: be(new si(6, "autoClosingBrackets", "languageDefined", ["always", "languageDefined", "beforeWhitespace", "never"], {
|
|
33458
33458
|
enumDescriptions: [
|
|
33459
33459
|
"",
|
|
33460
33460
|
C("editor.autoClosingBrackets.languageDefined", "Use language configurations to determine when to autoclose brackets."),
|
|
@@ -33463,7 +33463,7 @@ const G0 = {
|
|
|
33463
33463
|
],
|
|
33464
33464
|
description: C("autoClosingBrackets", "Controls whether the editor should automatically close brackets after the user adds an opening bracket.")
|
|
33465
33465
|
})),
|
|
33466
|
-
autoClosingComments: be(new
|
|
33466
|
+
autoClosingComments: be(new si(7, "autoClosingComments", "languageDefined", ["always", "languageDefined", "beforeWhitespace", "never"], {
|
|
33467
33467
|
enumDescriptions: [
|
|
33468
33468
|
"",
|
|
33469
33469
|
C("editor.autoClosingComments.languageDefined", "Use language configurations to determine when to autoclose comments."),
|
|
@@ -33472,7 +33472,7 @@ const G0 = {
|
|
|
33472
33472
|
],
|
|
33473
33473
|
description: C("autoClosingComments", "Controls whether the editor should automatically close comments after the user adds an opening comment.")
|
|
33474
33474
|
})),
|
|
33475
|
-
autoClosingDelete: be(new
|
|
33475
|
+
autoClosingDelete: be(new si(9, "autoClosingDelete", "auto", ["always", "auto", "never"], {
|
|
33476
33476
|
enumDescriptions: [
|
|
33477
33477
|
"",
|
|
33478
33478
|
C("editor.autoClosingDelete.auto", "Remove adjacent closing quotes or brackets only if they were automatically inserted."),
|
|
@@ -33480,7 +33480,7 @@ const G0 = {
|
|
|
33480
33480
|
],
|
|
33481
33481
|
description: C("autoClosingDelete", "Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")
|
|
33482
33482
|
})),
|
|
33483
|
-
autoClosingOvertype: be(new
|
|
33483
|
+
autoClosingOvertype: be(new si(10, "autoClosingOvertype", "auto", ["always", "auto", "never"], {
|
|
33484
33484
|
enumDescriptions: [
|
|
33485
33485
|
"",
|
|
33486
33486
|
C("editor.autoClosingOvertype.auto", "Type over closing quotes or brackets only if they were automatically inserted."),
|
|
@@ -33488,7 +33488,7 @@ const G0 = {
|
|
|
33488
33488
|
],
|
|
33489
33489
|
description: C("autoClosingOvertype", "Controls whether the editor should type over closing quotes or brackets.")
|
|
33490
33490
|
})),
|
|
33491
|
-
autoClosingQuotes: be(new
|
|
33491
|
+
autoClosingQuotes: be(new si(11, "autoClosingQuotes", "languageDefined", ["always", "languageDefined", "beforeWhitespace", "never"], {
|
|
33492
33492
|
enumDescriptions: [
|
|
33493
33493
|
"",
|
|
33494
33494
|
C("editor.autoClosingQuotes.languageDefined", "Use language configurations to determine when to autoclose quotes."),
|
|
@@ -33508,7 +33508,7 @@ const G0 = {
|
|
|
33508
33508
|
description: C("autoIndent", "Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")
|
|
33509
33509
|
})),
|
|
33510
33510
|
automaticLayout: be(new It(13, "automaticLayout", !1)),
|
|
33511
|
-
autoSurround: be(new
|
|
33511
|
+
autoSurround: be(new si(14, "autoSurround", "languageDefined", ["languageDefined", "quotes", "brackets", "never"], {
|
|
33512
33512
|
enumDescriptions: [
|
|
33513
33513
|
C("editor.autoSurround.languageDefined", "Use language configurations to determine when to automatically surround selections."),
|
|
33514
33514
|
C("editor.autoSurround.quotes", "Surround with quotes but not brackets."),
|
|
@@ -33530,7 +33530,7 @@ const G0 = {
|
|
|
33530
33530
|
markdownDescription: C("codeLensFontSize", "Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.")
|
|
33531
33531
|
})),
|
|
33532
33532
|
colorDecorators: be(new It(20, "colorDecorators", !0, { description: C("colorDecorators", "Controls whether the editor should render the inline color decorators and color picker.") })),
|
|
33533
|
-
colorDecoratorActivatedOn: be(new
|
|
33533
|
+
colorDecoratorActivatedOn: be(new si(149, "colorDecoratorsActivatedOn", "clickAndHover", ["clickAndHover", "hover", "click"], {
|
|
33534
33534
|
enumDescriptions: [
|
|
33535
33535
|
C("editor.colorDecoratorActivatedOn.clickAndHover", "Make the color picker appear both on click and hover of the color decorator"),
|
|
33536
33536
|
C("editor.colorDecoratorActivatedOn.hover", "Make the color picker appear on hover of the color decorator"),
|
|
@@ -33546,7 +33546,7 @@ const G0 = {
|
|
|
33546
33546
|
contextmenu: be(new It(24, "contextmenu", !0)),
|
|
33547
33547
|
copyWithSyntaxHighlighting: be(new It(25, "copyWithSyntaxHighlighting", !0, { description: C("copyWithSyntaxHighlighting", "Controls whether syntax highlighting should be copied into the clipboard.") })),
|
|
33548
33548
|
cursorBlinking: be(new I4(26, "cursorBlinking", 1, "blink", ["blink", "smooth", "phase", "expand", "solid"], dlt, { description: C("cursorBlinking", "Control the cursor animation style.") })),
|
|
33549
|
-
cursorSmoothCaretAnimation: be(new
|
|
33549
|
+
cursorSmoothCaretAnimation: be(new si(27, "cursorSmoothCaretAnimation", "off", ["off", "explicit", "on"], {
|
|
33550
33550
|
enumDescriptions: [
|
|
33551
33551
|
C("cursorSmoothCaretAnimation.off", "Smooth caret animation is disabled."),
|
|
33552
33552
|
C("cursorSmoothCaretAnimation.explicit", "Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."),
|
|
@@ -33556,7 +33556,7 @@ const G0 = {
|
|
|
33556
33556
|
})),
|
|
33557
33557
|
cursorStyle: be(new I4(28, "cursorStyle", Ar.Line, "line", ["line", "block", "underline", "line-thin", "block-outline", "underline-thin"], ult, { description: C("cursorStyle", "Controls the cursor style.") })),
|
|
33558
33558
|
cursorSurroundingLines: be(new Cn(29, "cursorSurroundingLines", 0, 0, 1073741824, { description: C("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.") })),
|
|
33559
|
-
cursorSurroundingLinesStyle: be(new
|
|
33559
|
+
cursorSurroundingLinesStyle: be(new si(30, "cursorSurroundingLinesStyle", "default", ["default", "all"], {
|
|
33560
33560
|
enumDescriptions: [
|
|
33561
33561
|
C("cursorSurroundingLinesStyle.default", "`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),
|
|
33562
33562
|
C("cursorSurroundingLinesStyle.all", "`cursorSurroundingLines` is enforced always.")
|
|
@@ -33571,7 +33571,7 @@ const G0 = {
|
|
|
33571
33571
|
emptySelectionClipboard: be(new plt()),
|
|
33572
33572
|
dropIntoEditor: be(new Glt()),
|
|
33573
33573
|
stickyScroll: be(new Clt()),
|
|
33574
|
-
experimentalWhitespaceRendering: be(new
|
|
33574
|
+
experimentalWhitespaceRendering: be(new si(38, "experimentalWhitespaceRendering", "svg", ["svg", "font", "off"], {
|
|
33575
33575
|
enumDescriptions: [
|
|
33576
33576
|
C("experimentalWhitespaceRendering.svg", "Use a new rendering method with svgs."),
|
|
33577
33577
|
C("experimentalWhitespaceRendering.font", "Use a new rendering method with font characters."),
|
|
@@ -33584,7 +33584,7 @@ const G0 = {
|
|
|
33584
33584
|
find: be(new glt()),
|
|
33585
33585
|
fixedOverflowWidgets: be(new It(42, "fixedOverflowWidgets", !1)),
|
|
33586
33586
|
folding: be(new It(43, "folding", !0, { description: C("folding", "Controls whether the editor has code folding enabled.") })),
|
|
33587
|
-
foldingStrategy: be(new
|
|
33587
|
+
foldingStrategy: be(new si(44, "foldingStrategy", "auto", ["auto", "indentation"], {
|
|
33588
33588
|
enumDescriptions: [
|
|
33589
33589
|
C("foldingStrategy.auto", "Use a language-specific folding strategy if available, else the indentation-based one."),
|
|
33590
33590
|
C("foldingStrategy.indentation", "Use the indentation-based folding strategy.")
|
|
@@ -33624,9 +33624,9 @@ const G0 = {
|
|
|
33624
33624
|
lineNumbersMinChars: be(new Cn(69, "lineNumbersMinChars", 5, 1, 300)),
|
|
33625
33625
|
linkedEditing: be(new It(70, "linkedEditing", !1, { description: C("linkedEditing", "Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.") })),
|
|
33626
33626
|
links: be(new It(71, "links", !0, { description: C("links", "Controls whether the editor should detect links and make them clickable.") })),
|
|
33627
|
-
matchBrackets: be(new
|
|
33627
|
+
matchBrackets: be(new si(72, "matchBrackets", "always", ["always", "near", "never"], { description: C("matchBrackets", "Highlight matching brackets.") })),
|
|
33628
33628
|
minimap: be(new Slt()),
|
|
33629
|
-
mouseStyle: be(new
|
|
33629
|
+
mouseStyle: be(new si(74, "mouseStyle", "text", ["text", "default", "copy"])),
|
|
33630
33630
|
mouseWheelScrollSensitivity: be(new ko(75, "mouseWheelScrollSensitivity", 1, (i) => i === 0 ? 1 : i, { markdownDescription: C("mouseWheelScrollSensitivity", "A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.") })),
|
|
33631
33631
|
mouseWheelZoom: be(new It(76, "mouseWheelZoom", !1, {
|
|
33632
33632
|
markdownDescription: Ht ? C("mouseWheelZoom.mac", "Zoom the font of the editor when using mouse wheel and holding `Cmd`.") : C("mouseWheelZoom", "Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")
|
|
@@ -33645,7 +33645,7 @@ const G0 = {
|
|
|
33645
33645
|
]
|
|
33646
33646
|
}, "The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the [multicursor modifier](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")
|
|
33647
33647
|
})),
|
|
33648
|
-
multiCursorPaste: be(new
|
|
33648
|
+
multiCursorPaste: be(new si(79, "multiCursorPaste", "spread", ["spread", "full"], {
|
|
33649
33649
|
markdownEnumDescriptions: [
|
|
33650
33650
|
C("multiCursorPaste.spread", "Each cursor pastes a single line of the text."),
|
|
33651
33651
|
C("multiCursorPaste.full", "Each cursor pastes the full text.")
|
|
@@ -33655,7 +33655,7 @@ const G0 = {
|
|
|
33655
33655
|
multiCursorLimit: be(new Cn(80, "multiCursorLimit", 1e4, 1, 1e5, {
|
|
33656
33656
|
markdownDescription: C("multiCursorLimit", "Controls the max number of cursors that can be in an active editor at once.")
|
|
33657
33657
|
})),
|
|
33658
|
-
occurrencesHighlight: be(new
|
|
33658
|
+
occurrencesHighlight: be(new si(81, "occurrencesHighlight", "singleFile", ["off", "singleFile", "multiFile"], {
|
|
33659
33659
|
markdownEnumDescriptions: [
|
|
33660
33660
|
C("occurrencesHighlight.off", "Does not highlight occurrences."),
|
|
33661
33661
|
C("occurrencesHighlight.singleFile", "Highlights occurrences only in the current file."),
|
|
@@ -33668,7 +33668,7 @@ const G0 = {
|
|
|
33668
33668
|
padding: be(new Mlt()),
|
|
33669
33669
|
pasteAs: be(new Qlt()),
|
|
33670
33670
|
parameterHints: be(new Llt()),
|
|
33671
|
-
peekWidgetDefaultFocus: be(new
|
|
33671
|
+
peekWidgetDefaultFocus: be(new si(87, "peekWidgetDefaultFocus", "tree", ["tree", "editor"], {
|
|
33672
33672
|
enumDescriptions: [
|
|
33673
33673
|
C("peekWidgetDefaultFocus.tree", "Focus the tree when opening peek"),
|
|
33674
33674
|
C("peekWidgetDefaultFocus.editor", "Focus the editor when opening peek")
|
|
@@ -33683,8 +33683,8 @@ const G0 = {
|
|
|
33683
33683
|
readOnlyMessage: be(new Rlt()),
|
|
33684
33684
|
renameOnType: be(new It(94, "renameOnType", !1, { description: C("renameOnType", "Controls whether the editor auto renames on type."), markdownDeprecationMessage: C("renameOnTypeDeprecate", "Deprecated, use `editor.linkedEditing` instead.") })),
|
|
33685
33685
|
renderControlCharacters: be(new It(95, "renderControlCharacters", !0, { description: C("renderControlCharacters", "Controls whether the editor should render control characters."), restricted: !0 })),
|
|
33686
|
-
renderFinalNewline: be(new
|
|
33687
|
-
renderLineHighlight: be(new
|
|
33686
|
+
renderFinalNewline: be(new si(96, "renderFinalNewline", bs ? "dimmed" : "on", ["off", "on", "dimmed"], { description: C("renderFinalNewline", "Render last line number when the file ends with a newline.") })),
|
|
33687
|
+
renderLineHighlight: be(new si(97, "renderLineHighlight", "line", ["none", "gutter", "line", "all"], {
|
|
33688
33688
|
enumDescriptions: [
|
|
33689
33689
|
"",
|
|
33690
33690
|
"",
|
|
@@ -33694,8 +33694,8 @@ const G0 = {
|
|
|
33694
33694
|
description: C("renderLineHighlight", "Controls how the editor should render the current line highlight.")
|
|
33695
33695
|
})),
|
|
33696
33696
|
renderLineHighlightOnlyWhenFocus: be(new It(98, "renderLineHighlightOnlyWhenFocus", !1, { description: C("renderLineHighlightOnlyWhenFocus", "Controls if the editor should render the current line highlight only when the editor is focused.") })),
|
|
33697
|
-
renderValidationDecorations: be(new
|
|
33698
|
-
renderWhitespace: be(new
|
|
33697
|
+
renderValidationDecorations: be(new si(99, "renderValidationDecorations", "editable", ["editable", "on", "off"])),
|
|
33698
|
+
renderWhitespace: be(new si(100, "renderWhitespace", "selection", ["none", "boundary", "selection", "trailing", "all"], {
|
|
33699
33699
|
enumDescriptions: [
|
|
33700
33700
|
"",
|
|
33701
33701
|
C("renderWhitespace.boundary", "Render whitespace characters except for single spaces between words."),
|
|
@@ -33718,7 +33718,7 @@ const G0 = {
|
|
|
33718
33718
|
})),
|
|
33719
33719
|
selectionHighlight: be(new It(109, "selectionHighlight", !0, { description: C("selectionHighlight", "Controls whether the editor should highlight matches similar to the selection.") })),
|
|
33720
33720
|
selectOnLineNumbers: be(new It(110, "selectOnLineNumbers", !0)),
|
|
33721
|
-
showFoldingControls: be(new
|
|
33721
|
+
showFoldingControls: be(new si(111, "showFoldingControls", "mouseover", ["always", "never", "mouseover"], {
|
|
33722
33722
|
enumDescriptions: [
|
|
33723
33723
|
C("showFoldingControls.always", "Always show the folding controls."),
|
|
33724
33724
|
C("showFoldingControls.never", "Never show the folding controls and reduce the gutter size."),
|
|
@@ -33729,7 +33729,7 @@ const G0 = {
|
|
|
33729
33729
|
showUnused: be(new It(112, "showUnused", !0, { description: C("showUnused", "Controls fading out of unused code.") })),
|
|
33730
33730
|
showDeprecated: be(new It(141, "showDeprecated", !0, { description: C("showDeprecated", "Controls strikethrough deprecated variables.") })),
|
|
33731
33731
|
inlayHints: be(new Elt()),
|
|
33732
|
-
snippetSuggestions: be(new
|
|
33732
|
+
snippetSuggestions: be(new si(113, "snippetSuggestions", "inline", ["top", "bottom", "inline", "none"], {
|
|
33733
33733
|
enumDescriptions: [
|
|
33734
33734
|
C("snippetSuggestions.top", "Show snippet suggestions on top of other suggestions."),
|
|
33735
33735
|
C("snippetSuggestions.bottom", "Show snippet suggestions below other suggestions."),
|
|
@@ -33755,7 +33755,7 @@ const G0 = {
|
|
|
33755
33755
|
suggestFontSize: be(new Cn(120, "suggestFontSize", 0, 0, 1e3, { markdownDescription: C("suggestFontSize", "Font size for the suggest widget. When set to {0}, the value of {1} is used.", "`0`", "`#editor.fontSize#`") })),
|
|
33756
33756
|
suggestLineHeight: be(new Cn(121, "suggestLineHeight", 0, 0, 1e3, { markdownDescription: C("suggestLineHeight", "Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.", "`0`", "`#editor.lineHeight#`") })),
|
|
33757
33757
|
suggestOnTriggerCharacters: be(new It(122, "suggestOnTriggerCharacters", !0, { description: C("suggestOnTriggerCharacters", "Controls whether suggestions should automatically show up when typing trigger characters.") })),
|
|
33758
|
-
suggestSelection: be(new
|
|
33758
|
+
suggestSelection: be(new si(123, "suggestSelection", "first", ["first", "recentlyUsed", "recentlyUsedByPrefix"], {
|
|
33759
33759
|
markdownEnumDescriptions: [
|
|
33760
33760
|
C("suggestSelection.first", "Always select the first suggestion."),
|
|
33761
33761
|
C("suggestSelection.recentlyUsed", "Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),
|
|
@@ -33763,7 +33763,7 @@ const G0 = {
|
|
|
33763
33763
|
],
|
|
33764
33764
|
description: C("suggestSelection", "Controls how suggestions are pre-selected when showing the suggest list.")
|
|
33765
33765
|
})),
|
|
33766
|
-
tabCompletion: be(new
|
|
33766
|
+
tabCompletion: be(new si(124, "tabCompletion", "off", ["on", "off", "onlySnippets"], {
|
|
33767
33767
|
enumDescriptions: [
|
|
33768
33768
|
C("tabCompletion.on", "Tab complete will insert the best matching suggestion when pressing tab."),
|
|
33769
33769
|
C("tabCompletion.off", "Disable tab completions."),
|
|
@@ -33780,7 +33780,7 @@ const G0 = {
|
|
|
33780
33780
|
/* Constants.MAX_SAFE_SMALL_INTEGER */
|
|
33781
33781
|
)),
|
|
33782
33782
|
unicodeHighlight: be(new Blt()),
|
|
33783
|
-
unusualLineTerminators: be(new
|
|
33783
|
+
unusualLineTerminators: be(new si(127, "unusualLineTerminators", "prompt", ["auto", "off", "prompt"], {
|
|
33784
33784
|
enumDescriptions: [
|
|
33785
33785
|
C("unusualLineTerminators.auto", "Unusual line terminators are automatically removed."),
|
|
33786
33786
|
C("unusualLineTerminators.off", "Unusual line terminators are ignored."),
|
|
@@ -33790,7 +33790,7 @@ const G0 = {
|
|
|
33790
33790
|
})),
|
|
33791
33791
|
useShadowDOM: be(new It(128, "useShadowDOM", !0)),
|
|
33792
33792
|
useTabStops: be(new It(129, "useTabStops", !0, { description: C("useTabStops", "Spaces and tabs are inserted and deleted in alignment with tab stops.") })),
|
|
33793
|
-
wordBreak: be(new
|
|
33793
|
+
wordBreak: be(new si(130, "wordBreak", "normal", ["normal", "keepAll"], {
|
|
33794
33794
|
markdownEnumDescriptions: [
|
|
33795
33795
|
C("wordBreak.normal", "Use the default line break rule."),
|
|
33796
33796
|
C("wordBreak.keepAll", "Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal.")
|
|
@@ -33799,7 +33799,7 @@ const G0 = {
|
|
|
33799
33799
|
})),
|
|
33800
33800
|
wordSegmenterLocales: be(new Zlt()),
|
|
33801
33801
|
wordSeparators: be(new Xr(132, "wordSeparators", yxe, { description: C("wordSeparators", "Characters that will be used as word separators when doing word related navigations or operations.") })),
|
|
33802
|
-
wordWrap: be(new
|
|
33802
|
+
wordWrap: be(new si(133, "wordWrap", "off", ["off", "on", "wordWrapColumn", "bounded"], {
|
|
33803
33803
|
markdownEnumDescriptions: [
|
|
33804
33804
|
C("wordWrap.off", "Lines will never wrap."),
|
|
33805
33805
|
C("wordWrap.on", "Lines will wrap at the viewport width."),
|
|
@@ -33846,8 +33846,8 @@ const G0 = {
|
|
|
33846
33846
|
]
|
|
33847
33847
|
}, "Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")
|
|
33848
33848
|
})),
|
|
33849
|
-
wordWrapOverride1: be(new
|
|
33850
|
-
wordWrapOverride2: be(new
|
|
33849
|
+
wordWrapOverride1: be(new si(137, "wordWrapOverride1", "inherit", ["off", "on", "inherit"])),
|
|
33850
|
+
wordWrapOverride2: be(new si(138, "wordWrapOverride2", "inherit", ["off", "on", "inherit"])),
|
|
33851
33851
|
// Leave these at the end (because they have dependencies!)
|
|
33852
33852
|
editorClassName: be(new flt()),
|
|
33853
33853
|
defaultColorDecorators: be(new It(148, "defaultColorDecorators", !1, { markdownDescription: C("defaultColorDecorators", "Controls whether inline color decorations should be shown using the default document color provider") })),
|
|
@@ -38984,15 +38984,15 @@ function iSe() {
|
|
|
38984
38984
|
const Le = dn({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), We = "http://www.w3.org/1998/Math/MathML", Ze = "http://www.w3.org/2000/svg", dt = "http://www.w3.org/1999/xhtml";
|
|
38985
38985
|
let ct = dt, yn = !1, fn = null;
|
|
38986
38986
|
const rt = dn({}, [We, Ze, dt], xE);
|
|
38987
|
-
let
|
|
38988
|
-
const
|
|
38987
|
+
let ti;
|
|
38988
|
+
const ni = ["application/xhtml+xml", "text/html"], go = "text/html";
|
|
38989
38989
|
let Ft, vi = null;
|
|
38990
38990
|
const mo = r.createElement("form"), Sl = function(oe) {
|
|
38991
38991
|
return oe instanceof RegExp || oe instanceof Function;
|
|
38992
38992
|
}, Us = function(oe) {
|
|
38993
38993
|
if (!(vi && vi === oe)) {
|
|
38994
|
-
if ((!oe || typeof oe != "object") && (oe = {}), oe = yp(oe),
|
|
38995
|
-
|
|
38994
|
+
if ((!oe || typeof oe != "object") && (oe = {}), oe = yp(oe), ti = // eslint-disable-next-line unicorn/prefer-includes
|
|
38995
|
+
ni.indexOf(oe.PARSER_MEDIA_TYPE) === -1 ? ti = go : ti = oe.PARSER_MEDIA_TYPE, Ft = ti === "application/xhtml+xml" ? xE : E6, ie = "ALLOWED_TAGS" in oe ? dn({}, oe.ALLOWED_TAGS, Ft) : te, se = "ALLOWED_ATTR" in oe ? dn({}, oe.ALLOWED_ATTR, Ft) : Q, fn = "ALLOWED_NAMESPACES" in oe ? dn({}, oe.ALLOWED_NAMESPACES, xE) : rt, we = "ADD_URI_SAFE_ATTR" in oe ? dn(
|
|
38996
38996
|
yp(Le),
|
|
38997
38997
|
// eslint-disable-line indent
|
|
38998
38998
|
oe.ADD_URI_SAFE_ATTR,
|
|
@@ -39027,7 +39027,7 @@ function iSe() {
|
|
|
39027
39027
|
tagName: "template"
|
|
39028
39028
|
});
|
|
39029
39029
|
const ke = E6(oe.tagName), Qt = E6(_e.tagName);
|
|
39030
|
-
return fn[oe.namespaceURI] ? oe.namespaceURI === Ze ? _e.namespaceURI === dt ? ke === "svg" : _e.namespaceURI === We ? ke === "svg" && (Qt === "annotation-xml" || Dl[Qt]) : !!au[ke] : oe.namespaceURI === We ? _e.namespaceURI === dt ? ke === "math" : _e.namespaceURI === Ze ? ke === "math" && Vh[Qt] : !!Sc[ke] : oe.namespaceURI === dt ? _e.namespaceURI === Ze && !Vh[Qt] || _e.namespaceURI === We && !Dl[Qt] ? !1 : !Sc[ke] && (xc[ke] || !au[ke]) : !!(
|
|
39030
|
+
return fn[oe.namespaceURI] ? oe.namespaceURI === Ze ? _e.namespaceURI === dt ? ke === "svg" : _e.namespaceURI === We ? ke === "svg" && (Qt === "annotation-xml" || Dl[Qt]) : !!au[ke] : oe.namespaceURI === We ? _e.namespaceURI === dt ? ke === "math" : _e.namespaceURI === Ze ? ke === "math" && Vh[Qt] : !!Sc[ke] : oe.namespaceURI === dt ? _e.namespaceURI === Ze && !Vh[Qt] || _e.namespaceURI === We && !Dl[Qt] ? !1 : !Sc[ke] && (xc[ke] || !au[ke]) : !!(ti === "application/xhtml+xml" && fn[oe.namespaceURI]) : !1;
|
|
39031
39031
|
}, Oa = function(oe) {
|
|
39032
39032
|
Bm(e.removed, {
|
|
39033
39033
|
element: oe
|
|
@@ -39068,11 +39068,11 @@ function iSe() {
|
|
|
39068
39068
|
const Zn = Sht(oe, /^[\r\n\t ]+/);
|
|
39069
39069
|
ke = Zn && Zn[0];
|
|
39070
39070
|
}
|
|
39071
|
-
|
|
39071
|
+
ti === "application/xhtml+xml" && ct === dt && (oe = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + oe + "</body></html>");
|
|
39072
39072
|
const Qt = b ? b.createHTML(oe) : oe;
|
|
39073
39073
|
if (ct === dt)
|
|
39074
39074
|
try {
|
|
39075
|
-
_e = new f().parseFromString(Qt,
|
|
39075
|
+
_e = new f().parseFromString(Qt, ti);
|
|
39076
39076
|
} catch {
|
|
39077
39077
|
}
|
|
39078
39078
|
if (!_e || !_e.documentElement) {
|
|
@@ -39648,7 +39648,7 @@ function UM(i, e) {
|
|
|
39648
39648
|
return new Ya(n.documentElement.clientWidth, n.documentElement.clientHeight);
|
|
39649
39649
|
throw new Error("Unable to figure out browser width and height");
|
|
39650
39650
|
}
|
|
39651
|
-
class
|
|
39651
|
+
class gi {
|
|
39652
39652
|
// Adapted from WinJS
|
|
39653
39653
|
// Converts a CSS positioning string for the specified element to pixels.
|
|
39654
39654
|
static convertToPixels(e, t) {
|
|
@@ -39656,43 +39656,43 @@ class pi {
|
|
|
39656
39656
|
}
|
|
39657
39657
|
static getDimension(e, t, n) {
|
|
39658
39658
|
const r = Yy(e), s = r ? r.getPropertyValue(t) : "0";
|
|
39659
|
-
return
|
|
39659
|
+
return gi.convertToPixels(e, s);
|
|
39660
39660
|
}
|
|
39661
39661
|
static getBorderLeftWidth(e) {
|
|
39662
|
-
return
|
|
39662
|
+
return gi.getDimension(e, "border-left-width", "borderLeftWidth");
|
|
39663
39663
|
}
|
|
39664
39664
|
static getBorderRightWidth(e) {
|
|
39665
|
-
return
|
|
39665
|
+
return gi.getDimension(e, "border-right-width", "borderRightWidth");
|
|
39666
39666
|
}
|
|
39667
39667
|
static getBorderTopWidth(e) {
|
|
39668
|
-
return
|
|
39668
|
+
return gi.getDimension(e, "border-top-width", "borderTopWidth");
|
|
39669
39669
|
}
|
|
39670
39670
|
static getBorderBottomWidth(e) {
|
|
39671
|
-
return
|
|
39671
|
+
return gi.getDimension(e, "border-bottom-width", "borderBottomWidth");
|
|
39672
39672
|
}
|
|
39673
39673
|
static getPaddingLeft(e) {
|
|
39674
|
-
return
|
|
39674
|
+
return gi.getDimension(e, "padding-left", "paddingLeft");
|
|
39675
39675
|
}
|
|
39676
39676
|
static getPaddingRight(e) {
|
|
39677
|
-
return
|
|
39677
|
+
return gi.getDimension(e, "padding-right", "paddingRight");
|
|
39678
39678
|
}
|
|
39679
39679
|
static getPaddingTop(e) {
|
|
39680
|
-
return
|
|
39680
|
+
return gi.getDimension(e, "padding-top", "paddingTop");
|
|
39681
39681
|
}
|
|
39682
39682
|
static getPaddingBottom(e) {
|
|
39683
|
-
return
|
|
39683
|
+
return gi.getDimension(e, "padding-bottom", "paddingBottom");
|
|
39684
39684
|
}
|
|
39685
39685
|
static getMarginLeft(e) {
|
|
39686
|
-
return
|
|
39686
|
+
return gi.getDimension(e, "margin-left", "marginLeft");
|
|
39687
39687
|
}
|
|
39688
39688
|
static getMarginTop(e) {
|
|
39689
|
-
return
|
|
39689
|
+
return gi.getDimension(e, "margin-top", "marginTop");
|
|
39690
39690
|
}
|
|
39691
39691
|
static getMarginRight(e) {
|
|
39692
|
-
return
|
|
39692
|
+
return gi.getDimension(e, "margin-right", "marginRight");
|
|
39693
39693
|
}
|
|
39694
39694
|
static getMarginBottom(e) {
|
|
39695
|
-
return
|
|
39695
|
+
return gi.getDimension(e, "margin-bottom", "marginBottom");
|
|
39696
39696
|
}
|
|
39697
39697
|
}
|
|
39698
39698
|
class Ya {
|
|
@@ -39720,7 +39720,7 @@ function uSe(i) {
|
|
|
39720
39720
|
for (; (i = i.parentNode) !== null && i !== i.ownerDocument.body && i !== i.ownerDocument.documentElement; ) {
|
|
39721
39721
|
t -= i.scrollTop;
|
|
39722
39722
|
const r = pSe(i) ? null : Yy(i);
|
|
39723
|
-
r && (n -= r.direction !== "rtl" ? i.scrollLeft : -i.scrollLeft), i === e && (n +=
|
|
39723
|
+
r && (n -= r.direction !== "rtl" ? i.scrollLeft : -i.scrollLeft), i === e && (n += gi.getBorderLeftWidth(i), t += gi.getBorderTopWidth(i), t += i.offsetTop, n += i.offsetLeft, e = i.offsetParent);
|
|
39724
39724
|
}
|
|
39725
39725
|
return {
|
|
39726
39726
|
left: n,
|
|
@@ -39745,19 +39745,19 @@ function fSe(i) {
|
|
|
39745
39745
|
return t;
|
|
39746
39746
|
}
|
|
39747
39747
|
function za(i) {
|
|
39748
|
-
const e =
|
|
39748
|
+
const e = gi.getMarginLeft(i) + gi.getMarginRight(i);
|
|
39749
39749
|
return i.offsetWidth + e;
|
|
39750
39750
|
}
|
|
39751
39751
|
function TE(i) {
|
|
39752
|
-
const e =
|
|
39752
|
+
const e = gi.getBorderLeftWidth(i) + gi.getBorderRightWidth(i), t = gi.getPaddingLeft(i) + gi.getPaddingRight(i);
|
|
39753
39753
|
return i.offsetWidth - e - t;
|
|
39754
39754
|
}
|
|
39755
39755
|
function edt(i) {
|
|
39756
|
-
const e =
|
|
39756
|
+
const e = gi.getBorderTopWidth(i) + gi.getBorderBottomWidth(i), t = gi.getPaddingTop(i) + gi.getPaddingBottom(i);
|
|
39757
39757
|
return i.offsetHeight - e - t;
|
|
39758
39758
|
}
|
|
39759
39759
|
function qM(i) {
|
|
39760
|
-
const e =
|
|
39760
|
+
const e = gi.getMarginTop(i) + gi.getMarginBottom(i);
|
|
39761
39761
|
return i.offsetHeight + e;
|
|
39762
39762
|
}
|
|
39763
39763
|
function Xi(i, e) {
|
|
@@ -53468,7 +53468,7 @@ var Xpt = function(i, e, t, n) {
|
|
|
53468
53468
|
(function(i) {
|
|
53469
53469
|
i.Tap = "-monaco-gesturetap", i.Change = "-monaco-gesturechange", i.Start = "-monaco-gesturestart", i.End = "-monaco-gesturesend", i.Contextmenu = "-monaco-gesturecontextmenu";
|
|
53470
53470
|
})(In || (In = {}));
|
|
53471
|
-
class
|
|
53471
|
+
class $n extends me {
|
|
53472
53472
|
static {
|
|
53473
53473
|
this.SCROLL_FRICTION = -5e-3;
|
|
53474
53474
|
}
|
|
@@ -53485,17 +53485,17 @@ class Xn extends me {
|
|
|
53485
53485
|
}, { window: En, disposables: this._store }));
|
|
53486
53486
|
}
|
|
53487
53487
|
static addTarget(e) {
|
|
53488
|
-
if (
|
|
53488
|
+
if (!$n.isTouchDevice())
|
|
53489
53489
|
return me.None;
|
|
53490
|
-
|
|
53491
|
-
const t =
|
|
53490
|
+
$n.INSTANCE || ($n.INSTANCE = new $n());
|
|
53491
|
+
const t = $n.INSTANCE.targets.push(e);
|
|
53492
53492
|
return ht(t);
|
|
53493
53493
|
}
|
|
53494
53494
|
static ignoreTarget(e) {
|
|
53495
|
-
if (
|
|
53495
|
+
if (!$n.isTouchDevice())
|
|
53496
53496
|
return me.None;
|
|
53497
|
-
|
|
53498
|
-
const t =
|
|
53497
|
+
$n.INSTANCE || ($n.INSTANCE = new $n());
|
|
53498
|
+
const t = $n.INSTANCE.ignoreTargets.push(e);
|
|
53499
53499
|
return ht(t);
|
|
53500
53500
|
}
|
|
53501
53501
|
static isTouchDevice() {
|
|
@@ -53533,10 +53533,10 @@ class Xn extends me {
|
|
|
53533
53533
|
continue;
|
|
53534
53534
|
}
|
|
53535
53535
|
const l = this.activeTouches[a.identifier], c = Date.now() - l.initialTimeStamp;
|
|
53536
|
-
if (c <
|
|
53536
|
+
if (c < $n.HOLD_DELAY && Math.abs(l.initialPageX - Uo(l.rollingPageX)) < 30 && Math.abs(l.initialPageY - Uo(l.rollingPageY)) < 30) {
|
|
53537
53537
|
const d = this.newGestureEvent(In.Tap, l.initialTarget);
|
|
53538
53538
|
d.pageX = Uo(l.rollingPageX), d.pageY = Uo(l.rollingPageY), this.dispatchEvent(d);
|
|
53539
|
-
} else if (c >=
|
|
53539
|
+
} else if (c >= $n.HOLD_DELAY && Math.abs(l.initialPageX - Uo(l.rollingPageX)) < 30 && Math.abs(l.initialPageY - Uo(l.rollingPageY)) < 30) {
|
|
53540
53540
|
const d = this.newGestureEvent(In.Contextmenu, l.initialTarget);
|
|
53541
53541
|
d.pageX = Uo(l.rollingPageX), d.pageY = Uo(l.rollingPageY), this.dispatchEvent(d);
|
|
53542
53542
|
} else if (r === 1) {
|
|
@@ -53572,7 +53572,7 @@ class Xn extends me {
|
|
|
53572
53572
|
if (e.type === In.Tap) {
|
|
53573
53573
|
const t = (/* @__PURE__ */ new Date()).getTime();
|
|
53574
53574
|
let n = 0;
|
|
53575
|
-
t - this._lastSetTapCountTime >
|
|
53575
|
+
t - this._lastSetTapCountTime > $n.CLEAR_TAP_COUNT_TIME ? n = 1 : n = 2, this._lastSetTapCountTime = t, e.tapCount = n;
|
|
53576
53576
|
} else (e.type === In.Change || e.type === In.Contextmenu) && (this._lastSetTapCountTime = 0);
|
|
53577
53577
|
if (e.initialTarget instanceof Node) {
|
|
53578
53578
|
for (const n of this.ignoreTargets)
|
|
@@ -53595,7 +53595,7 @@ class Xn extends me {
|
|
|
53595
53595
|
this.handle = ao(e, () => {
|
|
53596
53596
|
const d = Date.now(), u = d - n;
|
|
53597
53597
|
let f = 0, p = 0, g = !0;
|
|
53598
|
-
r +=
|
|
53598
|
+
r += $n.SCROLL_FRICTION * u, a += $n.SCROLL_FRICTION * u, r > 0 && (g = !1, f = s * r * u), a > 0 && (g = !1, p = l * a * u);
|
|
53599
53599
|
const m = this.newGestureEvent(In.Change);
|
|
53600
53600
|
m.translationX = f, m.translationY = p, t.forEach((A) => A.dispatchEvent(m)), g || this.inertia(e, t, d, r, s, o + f, a, l, c + p);
|
|
53601
53601
|
});
|
|
@@ -53616,7 +53616,7 @@ class Xn extends me {
|
|
|
53616
53616
|
}
|
|
53617
53617
|
Xpt([
|
|
53618
53618
|
wi
|
|
53619
|
-
],
|
|
53619
|
+
], $n, "isTouchDevice", null);
|
|
53620
53620
|
let xa = class extends me {
|
|
53621
53621
|
onclick(e, t) {
|
|
53622
53622
|
this._register(pe(e, De.CLICK, (n) => t(new Ul(Ue(e), n))));
|
|
@@ -53646,7 +53646,7 @@ let xa = class extends me {
|
|
|
53646
53646
|
this._register(pe(e, De.FOCUS, t));
|
|
53647
53647
|
}
|
|
53648
53648
|
ignoreGesture(e) {
|
|
53649
|
-
return
|
|
53649
|
+
return $n.ignoreTarget(e);
|
|
53650
53650
|
}
|
|
53651
53651
|
};
|
|
53652
53652
|
const y2 = 11;
|
|
@@ -55348,7 +55348,7 @@ class mgt extends me {
|
|
|
55348
55348
|
}
|
|
55349
55349
|
class Agt extends VO {
|
|
55350
55350
|
constructor(e, t, n) {
|
|
55351
|
-
super(e, t, n), this._register(
|
|
55351
|
+
super(e, t, n), this._register($n.addTarget(this.viewHelper.linesContentDomNode)), this._register(pe(this.viewHelper.linesContentDomNode, In.Tap, (s) => this.onTap(s))), this._register(pe(this.viewHelper.linesContentDomNode, In.Change, (s) => this.onChange(s))), this._register(pe(this.viewHelper.linesContentDomNode, In.Contextmenu, (s) => this._onContextMenu(new u1(s, !1, this.viewHelper.viewDomNode), !1))), this._lastPointerType = "mouse", this._register(pe(this.viewHelper.linesContentDomNode, "pointerdown", (s) => {
|
|
55352
55352
|
const o = s.pointerType;
|
|
55353
55353
|
if (o === "mouse") {
|
|
55354
55354
|
this._lastPointerType = "mouse";
|
|
@@ -55396,7 +55396,7 @@ class Agt extends VO {
|
|
|
55396
55396
|
}
|
|
55397
55397
|
class wgt extends VO {
|
|
55398
55398
|
constructor(e, t, n) {
|
|
55399
|
-
super(e, t, n), this._register(
|
|
55399
|
+
super(e, t, n), this._register($n.addTarget(this.viewHelper.linesContentDomNode)), this._register(pe(this.viewHelper.linesContentDomNode, In.Tap, (r) => this.onTap(r))), this._register(pe(this.viewHelper.linesContentDomNode, In.Change, (r) => this.onChange(r))), this._register(pe(this.viewHelper.linesContentDomNode, In.Contextmenu, (r) => this._onContextMenu(new u1(r, !1, this.viewHelper.viewDomNode), !1)));
|
|
55400
55400
|
}
|
|
55401
55401
|
onTap(e) {
|
|
55402
55402
|
e.preventDefault(), this.viewHelper.focusTextArea();
|
|
@@ -58773,7 +58773,7 @@ var Me;
|
|
|
58773
58773
|
i.editorSimpleInput = new Re("editorSimpleInput", !1, !0), i.editorTextFocus = new Re("editorTextFocus", !1, C("editorTextFocus", "Whether the editor text has focus (cursor is blinking)")), i.focus = new Re("editorFocus", !1, C("editorFocus", "Whether the editor or an editor widget has focus (e.g. focus is in the find widget)")), i.textInputFocus = new Re("textInputFocus", !1, C("textInputFocus", "Whether an editor or a rich text input has focus (cursor is blinking)")), i.readOnly = new Re("editorReadonly", !1, C("editorReadonly", "Whether the editor is read-only")), i.inDiffEditor = new Re("inDiffEditor", !1, C("inDiffEditor", "Whether the context is a diff editor")), i.isEmbeddedDiffEditor = new Re("isEmbeddedDiffEditor", !1, C("isEmbeddedDiffEditor", "Whether the context is an embedded diff editor")), i.inMultiDiffEditor = new Re("inMultiDiffEditor", !1, C("inMultiDiffEditor", "Whether the context is a multi diff editor")), i.multiDiffEditorAllCollapsed = new Re("multiDiffEditorAllCollapsed", void 0, C("multiDiffEditorAllCollapsed", "Whether all files in multi diff editor are collapsed")), i.hasChanges = new Re("diffEditorHasChanges", !1, C("diffEditorHasChanges", "Whether the diff editor has changes")), i.comparingMovedCode = new Re("comparingMovedCode", !1, C("comparingMovedCode", "Whether a moved code block is selected for comparison")), i.accessibleDiffViewerVisible = new Re("accessibleDiffViewerVisible", !1, C("accessibleDiffViewerVisible", "Whether the accessible diff viewer is visible")), i.diffEditorRenderSideBySideInlineBreakpointReached = new Re("diffEditorRenderSideBySideInlineBreakpointReached", !1, C("diffEditorRenderSideBySideInlineBreakpointReached", "Whether the diff editor render side by side inline breakpoint is reached")), i.diffEditorInlineMode = new Re("diffEditorInlineMode", !1, C("diffEditorInlineMode", "Whether inline mode is active")), i.diffEditorOriginalWritable = new Re("diffEditorOriginalWritable", !1, C("diffEditorOriginalWritable", "Whether modified is writable in the diff editor")), i.diffEditorModifiedWritable = new Re("diffEditorModifiedWritable", !1, C("diffEditorModifiedWritable", "Whether modified is writable in the diff editor")), i.diffEditorOriginalUri = new Re("diffEditorOriginalUri", "", C("diffEditorOriginalUri", "The uri of the original document")), i.diffEditorModifiedUri = new Re("diffEditorModifiedUri", "", C("diffEditorModifiedUri", "The uri of the modified document")), i.columnSelection = new Re("editorColumnSelection", !1, C("editorColumnSelection", "Whether `editor.columnSelection` is enabled")), i.writable = i.readOnly.toNegated(), i.hasNonEmptySelection = new Re("editorHasSelection", !1, C("editorHasSelection", "Whether the editor has text selected")), i.hasOnlyEmptySelection = i.hasNonEmptySelection.toNegated(), i.hasMultipleSelections = new Re("editorHasMultipleSelections", !1, C("editorHasMultipleSelections", "Whether the editor has multiple selections")), i.hasSingleSelection = i.hasMultipleSelections.toNegated(), i.tabMovesFocus = new Re("editorTabMovesFocus", !1, C("editorTabMovesFocus", "Whether `Tab` will move focus out of the editor")), i.tabDoesNotMoveFocus = i.tabMovesFocus.toNegated(), i.isInEmbeddedEditor = new Re("isInEmbeddedEditor", !1, !0), i.canUndo = new Re("canUndo", !1, !0), i.canRedo = new Re("canRedo", !1, !0), i.hoverVisible = new Re("editorHoverVisible", !1, C("editorHoverVisible", "Whether the editor hover is visible")), i.hoverFocused = new Re("editorHoverFocused", !1, C("editorHoverFocused", "Whether the editor hover is focused")), i.stickyScrollFocused = new Re("stickyScrollFocused", !1, C("stickyScrollFocused", "Whether the sticky scroll is focused")), i.stickyScrollVisible = new Re("stickyScrollVisible", !1, C("stickyScrollVisible", "Whether the sticky scroll is visible")), i.standaloneColorPickerVisible = new Re("standaloneColorPickerVisible", !1, C("standaloneColorPickerVisible", "Whether the standalone color picker is visible")), i.standaloneColorPickerFocused = new Re("standaloneColorPickerFocused", !1, C("standaloneColorPickerFocused", "Whether the standalone color picker is focused")), i.inCompositeEditor = new Re("inCompositeEditor", void 0, C("inCompositeEditor", "Whether the editor is part of a larger editor (e.g. notebooks)")), i.notInCompositeEditor = i.inCompositeEditor.toNegated(), i.languageId = new Re("editorLangId", "", C("editorLangId", "The language identifier of the editor")), i.hasCompletionItemProvider = new Re("editorHasCompletionItemProvider", !1, C("editorHasCompletionItemProvider", "Whether the editor has a completion item provider")), i.hasCodeActionsProvider = new Re("editorHasCodeActionsProvider", !1, C("editorHasCodeActionsProvider", "Whether the editor has a code actions provider")), i.hasCodeLensProvider = new Re("editorHasCodeLensProvider", !1, C("editorHasCodeLensProvider", "Whether the editor has a code lens provider")), i.hasDefinitionProvider = new Re("editorHasDefinitionProvider", !1, C("editorHasDefinitionProvider", "Whether the editor has a definition provider")), i.hasDeclarationProvider = new Re("editorHasDeclarationProvider", !1, C("editorHasDeclarationProvider", "Whether the editor has a declaration provider")), i.hasImplementationProvider = new Re("editorHasImplementationProvider", !1, C("editorHasImplementationProvider", "Whether the editor has an implementation provider")), i.hasTypeDefinitionProvider = new Re("editorHasTypeDefinitionProvider", !1, C("editorHasTypeDefinitionProvider", "Whether the editor has a type definition provider")), i.hasHoverProvider = new Re("editorHasHoverProvider", !1, C("editorHasHoverProvider", "Whether the editor has a hover provider")), i.hasDocumentHighlightProvider = new Re("editorHasDocumentHighlightProvider", !1, C("editorHasDocumentHighlightProvider", "Whether the editor has a document highlight provider")), i.hasDocumentSymbolProvider = new Re("editorHasDocumentSymbolProvider", !1, C("editorHasDocumentSymbolProvider", "Whether the editor has a document symbol provider")), i.hasReferenceProvider = new Re("editorHasReferenceProvider", !1, C("editorHasReferenceProvider", "Whether the editor has a reference provider")), i.hasRenameProvider = new Re("editorHasRenameProvider", !1, C("editorHasRenameProvider", "Whether the editor has a rename provider")), i.hasSignatureHelpProvider = new Re("editorHasSignatureHelpProvider", !1, C("editorHasSignatureHelpProvider", "Whether the editor has a signature help provider")), i.hasInlayHintsProvider = new Re("editorHasInlayHintsProvider", !1, C("editorHasInlayHintsProvider", "Whether the editor has an inline hints provider")), i.hasDocumentFormattingProvider = new Re("editorHasDocumentFormattingProvider", !1, C("editorHasDocumentFormattingProvider", "Whether the editor has a document formatting provider")), i.hasDocumentSelectionFormattingProvider = new Re("editorHasDocumentSelectionFormattingProvider", !1, C("editorHasDocumentSelectionFormattingProvider", "Whether the editor has a document selection formatting provider")), i.hasMultipleDocumentFormattingProvider = new Re("editorHasMultipleDocumentFormattingProvider", !1, C("editorHasMultipleDocumentFormattingProvider", "Whether the editor has multiple document formatting providers")), i.hasMultipleDocumentSelectionFormattingProvider = new Re("editorHasMultipleDocumentSelectionFormattingProvider", !1, C("editorHasMultipleDocumentSelectionFormattingProvider", "Whether the editor has multiple document selection formatting providers"));
|
|
58774
58774
|
})(Me || (Me = {}));
|
|
58775
58775
|
const zt = 0;
|
|
58776
|
-
class
|
|
58776
|
+
class di extends Wd {
|
|
58777
58777
|
runEditorCommand(e, t, n) {
|
|
58778
58778
|
const r = t._getViewModel();
|
|
58779
58779
|
r && this.runCoreEditorCommand(r, n || {});
|
|
@@ -58938,7 +58938,7 @@ class DL {
|
|
|
58938
58938
|
}
|
|
58939
58939
|
var Ui;
|
|
58940
58940
|
(function(i) {
|
|
58941
|
-
class e extends
|
|
58941
|
+
class e extends di {
|
|
58942
58942
|
constructor(v) {
|
|
58943
58943
|
super(v), this._inSelectionMode = v.inSelectionMode;
|
|
58944
58944
|
}
|
|
@@ -58959,7 +58959,7 @@ var Ui;
|
|
|
58959
58959
|
inSelectionMode: !0,
|
|
58960
58960
|
precondition: void 0
|
|
58961
58961
|
}));
|
|
58962
|
-
class t extends
|
|
58962
|
+
class t extends di {
|
|
58963
58963
|
runCoreEditorCommand(v, b) {
|
|
58964
58964
|
v.model.pushStackElement();
|
|
58965
58965
|
const y = this._getColumnSelectResult(v, v.getPrimaryCursorState(), v.getCursorColumnSelectData(), b);
|
|
@@ -59076,7 +59076,7 @@ var Ui;
|
|
|
59076
59076
|
linux: { primary: 0 }
|
|
59077
59077
|
}
|
|
59078
59078
|
}));
|
|
59079
|
-
class s extends
|
|
59079
|
+
class s extends di {
|
|
59080
59080
|
constructor() {
|
|
59081
59081
|
super({
|
|
59082
59082
|
id: "cursorMove",
|
|
@@ -59117,7 +59117,7 @@ var Ui;
|
|
|
59117
59117
|
}
|
|
59118
59118
|
}
|
|
59119
59119
|
i.CursorMoveImpl = s, i.CursorMove = $e(new s());
|
|
59120
|
-
class o extends
|
|
59120
|
+
class o extends di {
|
|
59121
59121
|
constructor(v) {
|
|
59122
59122
|
super(v), this._staticArgs = v.args;
|
|
59123
59123
|
}
|
|
@@ -59349,7 +59349,7 @@ var Ui;
|
|
|
59349
59349
|
primary: 1036
|
|
59350
59350
|
/* KeyCode.PageDown */
|
|
59351
59351
|
}
|
|
59352
|
-
})), i.CreateCursor = $e(new class extends
|
|
59352
|
+
})), i.CreateCursor = $e(new class extends di {
|
|
59353
59353
|
constructor() {
|
|
59354
59354
|
super({
|
|
59355
59355
|
id: "createCursor",
|
|
@@ -59374,7 +59374,7 @@ var Ui;
|
|
|
59374
59374
|
}
|
|
59375
59375
|
y.push(b), w.model.pushStackElement(), w.setCursorStates(v.source, 3, y);
|
|
59376
59376
|
}
|
|
59377
|
-
}()), i.LastCursorMoveToSelect = $e(new class extends
|
|
59377
|
+
}()), i.LastCursorMoveToSelect = $e(new class extends di {
|
|
59378
59378
|
constructor() {
|
|
59379
59379
|
super({
|
|
59380
59380
|
id: "_lastCursorMoveToSelect",
|
|
@@ -59388,7 +59388,7 @@ var Ui;
|
|
|
59388
59388
|
S[b] = Gr.moveTo(w, y[b], !0, v.position, v.viewPosition), w.model.pushStackElement(), w.setCursorStates(v.source, 3, S);
|
|
59389
59389
|
}
|
|
59390
59390
|
}());
|
|
59391
|
-
class a extends
|
|
59391
|
+
class a extends di {
|
|
59392
59392
|
constructor(v) {
|
|
59393
59393
|
super(v), this._inSelectionMode = v.inSelectionMode;
|
|
59394
59394
|
}
|
|
@@ -59423,7 +59423,7 @@ var Ui;
|
|
|
59423
59423
|
] }
|
|
59424
59424
|
}
|
|
59425
59425
|
}));
|
|
59426
|
-
class l extends
|
|
59426
|
+
class l extends di {
|
|
59427
59427
|
constructor(v) {
|
|
59428
59428
|
super(v), this._inSelectionMode = v.inSelectionMode;
|
|
59429
59429
|
}
|
|
@@ -59466,7 +59466,7 @@ var Ui;
|
|
|
59466
59466
|
}
|
|
59467
59467
|
}
|
|
59468
59468
|
}));
|
|
59469
|
-
class c extends
|
|
59469
|
+
class c extends di {
|
|
59470
59470
|
constructor(v) {
|
|
59471
59471
|
super(v), this._inSelectionMode = v.inSelectionMode;
|
|
59472
59472
|
}
|
|
@@ -59535,7 +59535,7 @@ var Ui;
|
|
|
59535
59535
|
}]
|
|
59536
59536
|
}
|
|
59537
59537
|
}));
|
|
59538
|
-
class d extends
|
|
59538
|
+
class d extends di {
|
|
59539
59539
|
constructor(v) {
|
|
59540
59540
|
super(v), this._inSelectionMode = v.inSelectionMode;
|
|
59541
59541
|
}
|
|
@@ -59578,7 +59578,7 @@ var Ui;
|
|
|
59578
59578
|
}
|
|
59579
59579
|
}
|
|
59580
59580
|
}));
|
|
59581
|
-
class u extends
|
|
59581
|
+
class u extends di {
|
|
59582
59582
|
constructor(v) {
|
|
59583
59583
|
super(v), this._inSelectionMode = v.inSelectionMode;
|
|
59584
59584
|
}
|
|
@@ -59613,7 +59613,7 @@ var Ui;
|
|
|
59613
59613
|
}
|
|
59614
59614
|
}
|
|
59615
59615
|
}));
|
|
59616
|
-
class f extends
|
|
59616
|
+
class f extends di {
|
|
59617
59617
|
constructor(v) {
|
|
59618
59618
|
super(v), this._inSelectionMode = v.inSelectionMode;
|
|
59619
59619
|
}
|
|
@@ -59648,7 +59648,7 @@ var Ui;
|
|
|
59648
59648
|
}
|
|
59649
59649
|
}
|
|
59650
59650
|
}));
|
|
59651
|
-
class p extends
|
|
59651
|
+
class p extends di {
|
|
59652
59652
|
constructor() {
|
|
59653
59653
|
super({
|
|
59654
59654
|
id: "editorScroll",
|
|
@@ -59730,7 +59730,7 @@ var Ui;
|
|
|
59730
59730
|
return v.viewLayout.getCurrentScrollLeft() + y * v.cursorConfig.typicalHalfwidthCharacterWidth;
|
|
59731
59731
|
}
|
|
59732
59732
|
}
|
|
59733
|
-
i.EditorScrollImpl = p, i.EditorScroll = $e(new p()), i.ScrollLineUp = $e(new class extends
|
|
59733
|
+
i.EditorScrollImpl = p, i.EditorScroll = $e(new p()), i.ScrollLineUp = $e(new class extends di {
|
|
59734
59734
|
constructor() {
|
|
59735
59735
|
super({
|
|
59736
59736
|
id: "scrollLineUp",
|
|
@@ -59756,7 +59756,7 @@ var Ui;
|
|
|
59756
59756
|
source: v.source
|
|
59757
59757
|
});
|
|
59758
59758
|
}
|
|
59759
|
-
}()), i.ScrollPageUp = $e(new class extends
|
|
59759
|
+
}()), i.ScrollPageUp = $e(new class extends di {
|
|
59760
59760
|
constructor() {
|
|
59761
59761
|
super({
|
|
59762
59762
|
id: "scrollPageUp",
|
|
@@ -59786,7 +59786,7 @@ var Ui;
|
|
|
59786
59786
|
source: v.source
|
|
59787
59787
|
});
|
|
59788
59788
|
}
|
|
59789
|
-
}()), i.ScrollEditorTop = $e(new class extends
|
|
59789
|
+
}()), i.ScrollEditorTop = $e(new class extends di {
|
|
59790
59790
|
constructor() {
|
|
59791
59791
|
super({
|
|
59792
59792
|
id: "scrollEditorTop",
|
|
@@ -59807,7 +59807,7 @@ var Ui;
|
|
|
59807
59807
|
source: v.source
|
|
59808
59808
|
});
|
|
59809
59809
|
}
|
|
59810
|
-
}()), i.ScrollLineDown = $e(new class extends
|
|
59810
|
+
}()), i.ScrollLineDown = $e(new class extends di {
|
|
59811
59811
|
constructor() {
|
|
59812
59812
|
super({
|
|
59813
59813
|
id: "scrollLineDown",
|
|
@@ -59833,7 +59833,7 @@ var Ui;
|
|
|
59833
59833
|
source: v.source
|
|
59834
59834
|
});
|
|
59835
59835
|
}
|
|
59836
|
-
}()), i.ScrollPageDown = $e(new class extends
|
|
59836
|
+
}()), i.ScrollPageDown = $e(new class extends di {
|
|
59837
59837
|
constructor() {
|
|
59838
59838
|
super({
|
|
59839
59839
|
id: "scrollPageDown",
|
|
@@ -59863,7 +59863,7 @@ var Ui;
|
|
|
59863
59863
|
source: v.source
|
|
59864
59864
|
});
|
|
59865
59865
|
}
|
|
59866
|
-
}()), i.ScrollEditorBottom = $e(new class extends
|
|
59866
|
+
}()), i.ScrollEditorBottom = $e(new class extends di {
|
|
59867
59867
|
constructor() {
|
|
59868
59868
|
super({
|
|
59869
59869
|
id: "scrollEditorBottom",
|
|
@@ -59884,7 +59884,7 @@ var Ui;
|
|
|
59884
59884
|
source: v.source
|
|
59885
59885
|
});
|
|
59886
59886
|
}
|
|
59887
|
-
}()), i.ScrollLeft = $e(new class extends
|
|
59887
|
+
}()), i.ScrollLeft = $e(new class extends di {
|
|
59888
59888
|
constructor() {
|
|
59889
59889
|
super({
|
|
59890
59890
|
id: "scrollLeft",
|
|
@@ -59905,7 +59905,7 @@ var Ui;
|
|
|
59905
59905
|
source: v.source
|
|
59906
59906
|
});
|
|
59907
59907
|
}
|
|
59908
|
-
}()), i.ScrollRight = $e(new class extends
|
|
59908
|
+
}()), i.ScrollRight = $e(new class extends di {
|
|
59909
59909
|
constructor() {
|
|
59910
59910
|
super({
|
|
59911
59911
|
id: "scrollRight",
|
|
@@ -59927,7 +59927,7 @@ var Ui;
|
|
|
59927
59927
|
});
|
|
59928
59928
|
}
|
|
59929
59929
|
}());
|
|
59930
|
-
class g extends
|
|
59930
|
+
class g extends di {
|
|
59931
59931
|
constructor(v) {
|
|
59932
59932
|
super(v), this._inSelectionMode = v.inSelectionMode;
|
|
59933
59933
|
}
|
|
@@ -59945,7 +59945,7 @@ var Ui;
|
|
|
59945
59945
|
inSelectionMode: !0,
|
|
59946
59946
|
id: "_wordSelectDrag",
|
|
59947
59947
|
precondition: void 0
|
|
59948
|
-
})), i.LastCursorWordSelect = $e(new class extends
|
|
59948
|
+
})), i.LastCursorWordSelect = $e(new class extends di {
|
|
59949
59949
|
constructor() {
|
|
59950
59950
|
super({
|
|
59951
59951
|
id: "lastCursorWordSelect",
|
|
@@ -59959,7 +59959,7 @@ var Ui;
|
|
|
59959
59959
|
S[b] = Gr.word(w, M, M.modelState.hasSelection(), v.position), w.model.pushStackElement(), w.setCursorStates(v.source, 3, S);
|
|
59960
59960
|
}
|
|
59961
59961
|
}());
|
|
59962
|
-
class m extends
|
|
59962
|
+
class m extends di {
|
|
59963
59963
|
constructor(v) {
|
|
59964
59964
|
super(v), this._inSelectionMode = v.inSelectionMode;
|
|
59965
59965
|
}
|
|
@@ -59978,7 +59978,7 @@ var Ui;
|
|
|
59978
59978
|
id: "_lineSelectDrag",
|
|
59979
59979
|
precondition: void 0
|
|
59980
59980
|
}));
|
|
59981
|
-
class A extends
|
|
59981
|
+
class A extends di {
|
|
59982
59982
|
constructor(v) {
|
|
59983
59983
|
super(v), this._inSelectionMode = v.inSelectionMode;
|
|
59984
59984
|
}
|
|
@@ -59997,7 +59997,7 @@ var Ui;
|
|
|
59997
59997
|
inSelectionMode: !0,
|
|
59998
59998
|
id: "lastCursorLineSelectDrag",
|
|
59999
59999
|
precondition: void 0
|
|
60000
|
-
})), i.CancelSelection = $e(new class extends
|
|
60000
|
+
})), i.CancelSelection = $e(new class extends di {
|
|
60001
60001
|
constructor() {
|
|
60002
60002
|
super({
|
|
60003
60003
|
id: "cancelSelection",
|
|
@@ -60018,7 +60018,7 @@ var Ui;
|
|
|
60018
60018
|
Gr.cancelSelection(w, w.getPrimaryCursorState())
|
|
60019
60019
|
]), w.revealAllCursors(v.source, !0);
|
|
60020
60020
|
}
|
|
60021
|
-
}()), i.RemoveSecondaryCursors = $e(new class extends
|
|
60021
|
+
}()), i.RemoveSecondaryCursors = $e(new class extends di {
|
|
60022
60022
|
constructor() {
|
|
60023
60023
|
super({
|
|
60024
60024
|
id: "removeSecondaryCursors",
|
|
@@ -60039,7 +60039,7 @@ var Ui;
|
|
|
60039
60039
|
w.getPrimaryCursorState()
|
|
60040
60040
|
]), w.revealAllCursors(v.source, !0), h8(C("removedCursor", "Removed secondary cursors"));
|
|
60041
60041
|
}
|
|
60042
|
-
}()), i.RevealLine = $e(new class extends
|
|
60042
|
+
}()), i.RevealLine = $e(new class extends di {
|
|
60043
60043
|
constructor() {
|
|
60044
60044
|
super({
|
|
60045
60045
|
id: "revealLine",
|
|
@@ -60093,7 +60093,7 @@ var Ui;
|
|
|
60093
60093
|
Gr.selectAll(w, w.getPrimaryCursorState())
|
|
60094
60094
|
]);
|
|
60095
60095
|
}
|
|
60096
|
-
}(), i.SetSelection = $e(new class extends
|
|
60096
|
+
}(), i.SetSelection = $e(new class extends di {
|
|
60097
60097
|
constructor() {
|
|
60098
60098
|
super({
|
|
60099
60099
|
id: "setSelection",
|
|
@@ -63712,7 +63712,7 @@ class rg extends me {
|
|
|
63712
63712
|
l = Math.min(l, this._model.getLineCount()), this._model.revealLineNumber(l);
|
|
63713
63713
|
}), this._sliderPointerMoveMonitor = new pC(), this._sliderPointerDownListener = rr(this._slider.domNode, De.POINTER_DOWN, (n) => {
|
|
63714
63714
|
n.preventDefault(), n.stopPropagation(), n.button === 0 && this._lastRenderData && this._startSliderDragging(n, n.pageY, this._lastRenderData.renderedLayout);
|
|
63715
|
-
}), this._gestureDisposable =
|
|
63715
|
+
}), this._gestureDisposable = $n.addTarget(this._domNode.domNode), this._sliderTouchStartListener = pe(this._domNode.domNode, In.Start, (n) => {
|
|
63716
63716
|
n.preventDefault(), n.stopPropagation(), this._lastRenderData && (this._slider.toggleClassName("active", !0), this._gestureInProgress = !0, this.scrollDueToTouchEvent(n));
|
|
63717
63717
|
}, { passive: !1 }), this._sliderTouchMoveListener = pe(this._domNode.domNode, In.Change, (n) => {
|
|
63718
63718
|
n.preventDefault(), n.stopPropagation(), this._lastRenderData && this._gestureInProgress && this.scrollDueToTouchEvent(n);
|
|
@@ -68496,21 +68496,21 @@ class bAt {
|
|
|
68496
68496
|
return !n && !M4e(e, t) ? e.with({ path: e.path + "/" }) : e;
|
|
68497
68497
|
}
|
|
68498
68498
|
}
|
|
68499
|
-
const
|
|
68500
|
-
|
|
68501
|
-
|
|
68502
|
-
|
|
68503
|
-
const eR =
|
|
68504
|
-
|
|
68505
|
-
const CAt =
|
|
68506
|
-
|
|
68507
|
-
const EAt =
|
|
68508
|
-
|
|
68509
|
-
const S4e =
|
|
68510
|
-
|
|
68511
|
-
const D4e =
|
|
68512
|
-
|
|
68513
|
-
|
|
68499
|
+
const Jn = new bAt(() => !1), yAt = Jn.isEqual.bind(Jn);
|
|
68500
|
+
Jn.isEqualOrParent.bind(Jn);
|
|
68501
|
+
Jn.getComparisonKey.bind(Jn);
|
|
68502
|
+
Jn.basenameOrAuthority.bind(Jn);
|
|
68503
|
+
const eR = Jn.basename.bind(Jn);
|
|
68504
|
+
Jn.extname.bind(Jn);
|
|
68505
|
+
const CAt = Jn.dirname.bind(Jn);
|
|
68506
|
+
Jn.joinPath.bind(Jn);
|
|
68507
|
+
const EAt = Jn.normalizePath.bind(Jn);
|
|
68508
|
+
Jn.relativePath.bind(Jn);
|
|
68509
|
+
const S4e = Jn.resolvePath.bind(Jn);
|
|
68510
|
+
Jn.isAbsolutePath.bind(Jn);
|
|
68511
|
+
const D4e = Jn.isEqualAuthority.bind(Jn), M4e = Jn.hasTrailingPathSeparator.bind(Jn);
|
|
68512
|
+
Jn.removeTrailingPathSeparator.bind(Jn);
|
|
68513
|
+
Jn.addTrailingPathSeparator.bind(Jn);
|
|
68514
68514
|
var L8;
|
|
68515
68515
|
(function(i) {
|
|
68516
68516
|
i.META_DATA_LABEL = "label", i.META_DATA_DESCRIPTION = "description", i.META_DATA_SIZE = "size", i.META_DATA_MIME = "mime";
|
|
@@ -72660,42 +72660,42 @@ class uv {
|
|
|
72660
72660
|
this.content = e.content || "", this.inlineClassName = e.inlineClassName || null, this.inlineClassNameAffectsLetterSpacing = e.inlineClassNameAffectsLetterSpacing || !1, this.attachedData = e.attachedData || null, this.cursorStops = e.cursorStops || null;
|
|
72661
72661
|
}
|
|
72662
72662
|
}
|
|
72663
|
-
class
|
|
72663
|
+
class pi {
|
|
72664
72664
|
static register(e) {
|
|
72665
|
-
return new
|
|
72665
|
+
return new pi(e);
|
|
72666
72666
|
}
|
|
72667
72667
|
static createDynamic(e) {
|
|
72668
|
-
return new
|
|
72668
|
+
return new pi(e);
|
|
72669
72669
|
}
|
|
72670
72670
|
constructor(e) {
|
|
72671
72671
|
this.description = e.description, this.blockClassName = e.blockClassName ? Dc(e.blockClassName) : null, this.blockDoesNotCollapse = e.blockDoesNotCollapse ?? null, this.blockIsAfterEnd = e.blockIsAfterEnd ?? null, this.blockPadding = e.blockPadding ?? null, this.stickiness = e.stickiness || 0, this.zIndex = e.zIndex || 0, this.className = e.className ? Dc(e.className) : null, this.shouldFillLineOnLineBreak = e.shouldFillLineOnLineBreak ?? null, this.hoverMessage = e.hoverMessage || null, this.glyphMarginHoverMessage = e.glyphMarginHoverMessage || null, this.lineNumberHoverMessage = e.lineNumberHoverMessage || null, this.isWholeLine = e.isWholeLine || !1, this.showIfCollapsed = e.showIfCollapsed || !1, this.collapseOnReplaceEdit = e.collapseOnReplaceEdit || !1, this.overviewRuler = e.overviewRuler ? new hwt(e.overviewRuler) : null, this.minimap = e.minimap ? new uwt(e.minimap) : null, this.glyphMargin = e.glyphMarginClassName ? new dwt(e.glyphMargin) : null, this.glyphMarginClassName = e.glyphMarginClassName ? Dc(e.glyphMarginClassName) : null, this.linesDecorationsClassName = e.linesDecorationsClassName ? Dc(e.linesDecorationsClassName) : null, this.lineNumberClassName = e.lineNumberClassName ? Dc(e.lineNumberClassName) : null, this.linesDecorationsTooltip = e.linesDecorationsTooltip ? Uct(e.linesDecorationsTooltip) : null, this.firstLineDecorationClassName = e.firstLineDecorationClassName ? Dc(e.firstLineDecorationClassName) : null, this.marginClassName = e.marginClassName ? Dc(e.marginClassName) : null, this.inlineClassName = e.inlineClassName ? Dc(e.inlineClassName) : null, this.inlineClassNameAffectsLetterSpacing = e.inlineClassNameAffectsLetterSpacing || !1, this.beforeContentClassName = e.beforeContentClassName ? Dc(e.beforeContentClassName) : null, this.afterContentClassName = e.afterContentClassName ? Dc(e.afterContentClassName) : null, this.after = e.after ? uv.from(e.after) : null, this.before = e.before ? uv.from(e.before) : null, this.hideInCommentTokens = e.hideInCommentTokens ?? !1, this.hideInStringTokens = e.hideInStringTokens ?? !1;
|
|
72672
72672
|
}
|
|
72673
72673
|
}
|
|
72674
|
-
|
|
72674
|
+
pi.EMPTY = pi.register({ description: "empty" });
|
|
72675
72675
|
const F4e = [
|
|
72676
|
-
|
|
72676
|
+
pi.register({
|
|
72677
72677
|
description: "tracked-range-always-grows-when-typing-at-edges",
|
|
72678
72678
|
stickiness: 0
|
|
72679
72679
|
/* model.TrackedRangeStickiness.AlwaysGrowsWhenTypingAtEdges */
|
|
72680
72680
|
}),
|
|
72681
|
-
|
|
72681
|
+
pi.register({
|
|
72682
72682
|
description: "tracked-range-never-grows-when-typing-at-edges",
|
|
72683
72683
|
stickiness: 1
|
|
72684
72684
|
/* model.TrackedRangeStickiness.NeverGrowsWhenTypingAtEdges */
|
|
72685
72685
|
}),
|
|
72686
|
-
|
|
72686
|
+
pi.register({
|
|
72687
72687
|
description: "tracked-range-grows-only-when-typing-before",
|
|
72688
72688
|
stickiness: 2
|
|
72689
72689
|
/* model.TrackedRangeStickiness.GrowsOnlyWhenTypingBefore */
|
|
72690
72690
|
}),
|
|
72691
|
-
|
|
72691
|
+
pi.register({
|
|
72692
72692
|
description: "tracked-range-grows-only-when-typing-after",
|
|
72693
72693
|
stickiness: 3
|
|
72694
72694
|
/* model.TrackedRangeStickiness.GrowsOnlyWhenTypingAfter */
|
|
72695
72695
|
})
|
|
72696
72696
|
];
|
|
72697
72697
|
function z4e(i) {
|
|
72698
|
-
return i instanceof
|
|
72698
|
+
return i instanceof pi ? i : pi.createDynamic(i);
|
|
72699
72699
|
}
|
|
72700
72700
|
class fwt extends me {
|
|
72701
72701
|
constructor(e) {
|
|
@@ -75362,7 +75362,7 @@ class svt {
|
|
|
75362
75362
|
}
|
|
75363
75363
|
const s = n.map((f) => ({
|
|
75364
75364
|
range: f,
|
|
75365
|
-
options:
|
|
75365
|
+
options: pi.EMPTY
|
|
75366
75366
|
}));
|
|
75367
75367
|
this.hiddenAreasDecorationIds = this.model.deltaDecorations(this.hiddenAreasDecorationIds, s);
|
|
75368
75368
|
const o = n;
|
|
@@ -76769,7 +76769,7 @@ let O8 = class extends me {
|
|
|
76769
76769
|
df = this;
|
|
76770
76770
|
}
|
|
76771
76771
|
static {
|
|
76772
|
-
this.dropIntoEditorDecorationOptions =
|
|
76772
|
+
this.dropIntoEditorDecorationOptions = pi.register({
|
|
76773
76773
|
description: "workbench-dnd-target",
|
|
76774
76774
|
className: "dnd-target"
|
|
76775
76775
|
});
|
|
@@ -79405,7 +79405,7 @@ class u5e {
|
|
|
79405
79405
|
return this.notebookType === e.notebookType && this.languageId === e.languageId && this.uri.toString() === e.uri.toString() && this.notebookUri?.toString() === e.notebookUri?.toString() && this.recursive === e.recursive;
|
|
79406
79406
|
}
|
|
79407
79407
|
}
|
|
79408
|
-
class
|
|
79408
|
+
class Gn {
|
|
79409
79409
|
constructor(e) {
|
|
79410
79410
|
this._notebookInfoResolver = e, this._clock = 0, this._entries = [], this._onDidChange = new $(), this.onDidChange = this._onDidChange.event;
|
|
79411
79411
|
}
|
|
@@ -79465,7 +79465,7 @@ class qn {
|
|
|
79465
79465
|
s._score = 1e3;
|
|
79466
79466
|
break;
|
|
79467
79467
|
}
|
|
79468
|
-
this._entries.sort(
|
|
79468
|
+
this._entries.sort(Gn._compareByScoreAndTime);
|
|
79469
79469
|
}
|
|
79470
79470
|
}
|
|
79471
79471
|
static _compareByScoreAndTime(e, t) {
|
|
@@ -79477,7 +79477,7 @@ function MA(i) {
|
|
|
79477
79477
|
}
|
|
79478
79478
|
class i3t {
|
|
79479
79479
|
constructor() {
|
|
79480
|
-
this.referenceProvider = new
|
|
79480
|
+
this.referenceProvider = new Gn(this._score.bind(this)), this.renameProvider = new Gn(this._score.bind(this)), this.newSymbolNamesProvider = new Gn(this._score.bind(this)), this.codeActionProvider = new Gn(this._score.bind(this)), this.definitionProvider = new Gn(this._score.bind(this)), this.typeDefinitionProvider = new Gn(this._score.bind(this)), this.declarationProvider = new Gn(this._score.bind(this)), this.implementationProvider = new Gn(this._score.bind(this)), this.documentSymbolProvider = new Gn(this._score.bind(this)), this.inlayHintsProvider = new Gn(this._score.bind(this)), this.colorProvider = new Gn(this._score.bind(this)), this.codeLensProvider = new Gn(this._score.bind(this)), this.documentFormattingEditProvider = new Gn(this._score.bind(this)), this.documentRangeFormattingEditProvider = new Gn(this._score.bind(this)), this.onTypeFormattingEditProvider = new Gn(this._score.bind(this)), this.signatureHelpProvider = new Gn(this._score.bind(this)), this.hoverProvider = new Gn(this._score.bind(this)), this.documentHighlightProvider = new Gn(this._score.bind(this)), this.multiDocumentHighlightProvider = new Gn(this._score.bind(this)), this.selectionRangeProvider = new Gn(this._score.bind(this)), this.foldingRangeProvider = new Gn(this._score.bind(this)), this.linkProvider = new Gn(this._score.bind(this)), this.inlineCompletionsProvider = new Gn(this._score.bind(this)), this.inlineEditProvider = new Gn(this._score.bind(this)), this.completionProvider = new Gn(this._score.bind(this)), this.linkedEditingRangeProvider = new Gn(this._score.bind(this)), this.documentRangeSemanticTokensProvider = new Gn(this._score.bind(this)), this.documentSemanticTokensProvider = new Gn(this._score.bind(this)), this.documentDropEditProvider = new Gn(this._score.bind(this)), this.documentPasteEditProvider = new Gn(this._score.bind(this));
|
|
79481
79481
|
}
|
|
79482
79482
|
_score(e) {
|
|
79483
79483
|
return this._notebookTypeResolver?.(e);
|
|
@@ -80434,20 +80434,20 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
80434
80434
|
}, fe.list = function(F) {
|
|
80435
80435
|
var j = this.rules.block.list.exec(F);
|
|
80436
80436
|
if (j) {
|
|
80437
|
-
var re, J, we, Le, We, Ze, dt, ct, yn, fn, rt,
|
|
80437
|
+
var re, J, we, Le, We, Ze, dt, ct, yn, fn, rt, ti, ni = j[1].trim(), go = ni.length > 1, Ft = {
|
|
80438
80438
|
type: "list",
|
|
80439
80439
|
raw: "",
|
|
80440
80440
|
ordered: go,
|
|
80441
|
-
start: go ? +
|
|
80441
|
+
start: go ? +ni.slice(0, -1) : "",
|
|
80442
80442
|
loose: !1,
|
|
80443
80443
|
items: []
|
|
80444
80444
|
};
|
|
80445
|
-
|
|
80446
|
-
for (var vi = new RegExp("^( {0,3}" +
|
|
80445
|
+
ni = go ? "\\d{1,9}\\" + ni.slice(-1) : "\\" + ni, this.options.pedantic && (ni = go ? ni : "[*+-]");
|
|
80446
|
+
for (var vi = new RegExp("^( {0,3}" + ni + ")((?:[ ][^\\n]*)?(?:\\n|$))"); F && (ti = !1, !(!(j = vi.exec(F)) || this.rules.block.hr.test(F))); ) {
|
|
80447
80447
|
if (re = j[0], F = F.substring(re.length), ct = j[2].split(`
|
|
80448
80448
|
`, 1)[0], yn = F.split(`
|
|
80449
80449
|
`, 1)[0], this.options.pedantic ? (Le = 2, rt = ct.trimLeft()) : (Le = j[2].search(/[^ ]/), Le = Le > 4 ? 1 : Le, rt = ct.slice(Le), Le += j[1].length), Ze = !1, !ct && /^ *$/.test(yn) && (re += yn + `
|
|
80450
|
-
`, F = F.substring(yn.length + 1),
|
|
80450
|
+
`, F = F.substring(yn.length + 1), ti = !0), !ti)
|
|
80451
80451
|
for (var mo = new RegExp("^ {0," + Math.min(3, Le - 1) + "}(?:[*+-]|\\d{1,9}[.)])((?: [^\\n]*)?(?:\\n|$))"), Sl = new RegExp("^ {0," + Math.min(3, Le - 1) + "}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)"), Us = new RegExp("^ {0," + Math.min(3, Le - 1) + "}(?:```|~~~)"), Dl = new RegExp("^ {0," + Math.min(3, Le - 1) + "}#"); F && (fn = F.split(`
|
|
80452
80452
|
`, 1)[0], ct = fn, this.options.pedantic && (ct = ct.replace(/^ {1,4}(?=( {4})*[^ ])/g, " ")), !(Us.test(ct) || Dl.test(ct) || mo.test(ct) || Sl.test(F))); ) {
|
|
80453
80453
|
if (ct.search(/[^ ]/) >= Le || !ct.trim())
|
|
@@ -81029,11 +81029,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
81029
81029
|
continue;
|
|
81030
81030
|
}
|
|
81031
81031
|
if (Le = F, this.options.extensions && this.options.extensions.startInline && function() {
|
|
81032
|
-
var rt = 1 / 0,
|
|
81032
|
+
var rt = 1 / 0, ti = F.slice(1), ni = void 0;
|
|
81033
81033
|
re.options.extensions.startInline.forEach(function(go) {
|
|
81034
|
-
|
|
81034
|
+
ni = go.call({
|
|
81035
81035
|
lexer: this
|
|
81036
|
-
},
|
|
81036
|
+
}, ti), typeof ni == "number" && ni >= 0 && (rt = Math.min(rt, ni));
|
|
81037
81037
|
}), rt < 1 / 0 && rt >= 0 && (Le = F.substring(0, rt + 1));
|
|
81038
81038
|
}(), J = this.tokenizer.inlineText(Le, le)) {
|
|
81039
81039
|
F = F.substring(J.raw.length), J.raw.slice(-1) !== "_" && (ct = J.raw.slice(-1)), dt = !0, we = j[j.length - 1], we && we.type === "text" ? (we.raw += J.raw, we.text += J.text) : j.push(J);
|
|
@@ -81199,7 +81199,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
81199
81199
|
var fe = Ae.prototype;
|
|
81200
81200
|
return fe.parse = function(F, j) {
|
|
81201
81201
|
j === void 0 && (j = !0);
|
|
81202
|
-
var re = "", J, we, Le, We, Ze, dt, ct, yn, fn, rt,
|
|
81202
|
+
var re = "", J, we, Le, We, Ze, dt, ct, yn, fn, rt, ti, ni, go, Ft, vi, mo, Sl, Us, Dl, Vh = F.length;
|
|
81203
81203
|
for (J = 0; J < Vh; J++) {
|
|
81204
81204
|
if (rt = F[J], this.options.extensions && this.options.extensions.renderers && this.options.extensions.renderers[rt.type] && (Dl = this.options.extensions.renderers[rt.type].call({
|
|
81205
81205
|
parser: this
|
|
@@ -81244,12 +81244,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
81244
81244
|
continue;
|
|
81245
81245
|
}
|
|
81246
81246
|
case "list": {
|
|
81247
|
-
for (
|
|
81247
|
+
for (ti = rt.ordered, ni = rt.start, go = rt.loose, We = rt.items.length, fn = "", we = 0; we < We; we++)
|
|
81248
81248
|
vi = rt.items[we], mo = vi.checked, Sl = vi.task, Ft = "", vi.task && (Us = this.renderer.checkbox(mo), go ? vi.tokens.length > 0 && vi.tokens[0].type === "paragraph" ? (vi.tokens[0].text = Us + " " + vi.tokens[0].text, vi.tokens[0].tokens && vi.tokens[0].tokens.length > 0 && vi.tokens[0].tokens[0].type === "text" && (vi.tokens[0].tokens[0].text = Us + " " + vi.tokens[0].tokens[0].text)) : vi.tokens.unshift({
|
|
81249
81249
|
type: "text",
|
|
81250
81250
|
text: Us
|
|
81251
81251
|
}) : Ft += Us), Ft += this.parse(vi.tokens, go), fn += this.renderer.listitem(Ft, Sl, mo);
|
|
81252
|
-
re += this.renderer.list(fn,
|
|
81252
|
+
re += this.renderer.list(fn, ti, ni);
|
|
81253
81253
|
continue;
|
|
81254
81254
|
}
|
|
81255
81255
|
case "html": {
|
|
@@ -81429,10 +81429,10 @@ Please report this to https://github.com/markedjs/marked.`, fe.silent)
|
|
|
81429
81429
|
var Le = ce.defaults.renderer || new I(), We = function(ct) {
|
|
81430
81430
|
var yn = Le[ct];
|
|
81431
81431
|
Le[ct] = function() {
|
|
81432
|
-
for (var fn = arguments.length, rt = new Array(fn),
|
|
81433
|
-
rt[
|
|
81434
|
-
var
|
|
81435
|
-
return
|
|
81432
|
+
for (var fn = arguments.length, rt = new Array(fn), ti = 0; ti < fn; ti++)
|
|
81433
|
+
rt[ti] = arguments[ti];
|
|
81434
|
+
var ni = J.renderer[ct].apply(Le, rt);
|
|
81435
|
+
return ni === !1 && (ni = yn.apply(Le, rt)), ni;
|
|
81436
81436
|
};
|
|
81437
81437
|
};
|
|
81438
81438
|
for (var Ze in J.renderer)
|
|
@@ -81442,10 +81442,10 @@ Please report this to https://github.com/markedjs/marked.`, fe.silent)
|
|
|
81442
81442
|
var Le = ce.defaults.tokenizer || new se(), We = function(ct) {
|
|
81443
81443
|
var yn = Le[ct];
|
|
81444
81444
|
Le[ct] = function() {
|
|
81445
|
-
for (var fn = arguments.length, rt = new Array(fn),
|
|
81446
|
-
rt[
|
|
81447
|
-
var
|
|
81448
|
-
return
|
|
81445
|
+
for (var fn = arguments.length, rt = new Array(fn), ti = 0; ti < fn; ti++)
|
|
81446
|
+
rt[ti] = arguments[ti];
|
|
81447
|
+
var ni = J.tokenizer[ct].apply(Le, rt);
|
|
81448
|
+
return ni === !1 && (ni = yn.apply(Le, rt)), ni;
|
|
81449
81449
|
};
|
|
81450
81450
|
};
|
|
81451
81451
|
for (var Ze in J.tokenizer)
|
|
@@ -81471,8 +81471,8 @@ Please report this to https://github.com/markedjs/marked.`, fe.silent)
|
|
|
81471
81471
|
}
|
|
81472
81472
|
for (var dt = o(we.rows), ct; !(ct = dt()).done; )
|
|
81473
81473
|
for (var yn = ct.value, fn = o(yn), rt; !(rt = fn()).done; ) {
|
|
81474
|
-
var
|
|
81475
|
-
ue = ue.concat(ce.walkTokens(
|
|
81474
|
+
var ti = rt.value;
|
|
81475
|
+
ue = ue.concat(ce.walkTokens(ti.tokens, fe));
|
|
81476
81476
|
}
|
|
81477
81477
|
break;
|
|
81478
81478
|
}
|
|
@@ -81481,8 +81481,8 @@ Please report this to https://github.com/markedjs/marked.`, fe.silent)
|
|
|
81481
81481
|
break;
|
|
81482
81482
|
}
|
|
81483
81483
|
default:
|
|
81484
|
-
ce.defaults.extensions && ce.defaults.extensions.childTokens && ce.defaults.extensions.childTokens[we.type] ? ce.defaults.extensions.childTokens[we.type].forEach(function(
|
|
81485
|
-
ue = ue.concat(ce.walkTokens(we[
|
|
81484
|
+
ce.defaults.extensions && ce.defaults.extensions.childTokens && ce.defaults.extensions.childTokens[we.type] ? ce.defaults.extensions.childTokens[we.type].forEach(function(ni) {
|
|
81485
|
+
ue = ue.concat(ce.walkTokens(we[ni], fe));
|
|
81486
81486
|
}) : we.tokens && (ue = ue.concat(ce.walkTokens(we.tokens, fe)));
|
|
81487
81487
|
}
|
|
81488
81488
|
}, j = o(Ae), re; !(re = j()).done; )
|
|
@@ -85285,7 +85285,7 @@ class yl {
|
|
|
85285
85285
|
this.items = [], this.itemId = 0, this.rangeMap = this.createRangeMap(r.paddingTop ?? 0);
|
|
85286
85286
|
for (const o of n)
|
|
85287
85287
|
this.renderers.set(o.templateId, o);
|
|
85288
|
-
this.cache = this.disposables.add(new v5t(this.renderers)), this.lastRenderTop = 0, this.lastRenderHeight = 0, this.domNode = document.createElement("div"), this.domNode.className = "monaco-list", this.domNode.classList.add(this.domId), this.domNode.tabIndex = 0, this.domNode.classList.toggle("mouse-support", typeof r.mouseSupport == "boolean" ? r.mouseSupport : !0), this._horizontalScrolling = r.horizontalScrolling ?? Lc.horizontalScrolling, this.domNode.classList.toggle("horizontal-scrolling", this._horizontalScrolling), this.paddingBottom = typeof r.paddingBottom > "u" ? 0 : r.paddingBottom, this.accessibilityProvider = new E5t(r.accessibilityProvider), this.rowsContainer = document.createElement("div"), this.rowsContainer.className = "monaco-list-rows", (r.transformOptimization ?? Lc.transformOptimization) && (this.rowsContainer.style.transform = "translate3d(0px, 0px, 0px)", this.rowsContainer.style.overflow = "hidden", this.rowsContainer.style.contain = "strict"), this.disposables.add(
|
|
85288
|
+
this.cache = this.disposables.add(new v5t(this.renderers)), this.lastRenderTop = 0, this.lastRenderHeight = 0, this.domNode = document.createElement("div"), this.domNode.className = "monaco-list", this.domNode.classList.add(this.domId), this.domNode.tabIndex = 0, this.domNode.classList.toggle("mouse-support", typeof r.mouseSupport == "boolean" ? r.mouseSupport : !0), this._horizontalScrolling = r.horizontalScrolling ?? Lc.horizontalScrolling, this.domNode.classList.toggle("horizontal-scrolling", this._horizontalScrolling), this.paddingBottom = typeof r.paddingBottom > "u" ? 0 : r.paddingBottom, this.accessibilityProvider = new E5t(r.accessibilityProvider), this.rowsContainer = document.createElement("div"), this.rowsContainer.className = "monaco-list-rows", (r.transformOptimization ?? Lc.transformOptimization) && (this.rowsContainer.style.transform = "translate3d(0px, 0px, 0px)", this.rowsContainer.style.overflow = "hidden", this.rowsContainer.style.contain = "strict"), this.disposables.add($n.addTarget(this.rowsContainer)), this.scrollable = this.disposables.add(new hm({
|
|
85289
85289
|
forceIntegerValues: !0,
|
|
85290
85290
|
smoothScrollDuration: r.smoothScrolling ?? !1 ? 125 : 0,
|
|
85291
85291
|
scheduleAtNextAnimationFrame: (o) => ao(Ue(this.domNode), o)
|
|
@@ -86824,7 +86824,7 @@ const W5e = {
|
|
|
86824
86824
|
};
|
|
86825
86825
|
class bLe {
|
|
86826
86826
|
constructor(e) {
|
|
86827
|
-
this.list = e, this.disposables = new ze(), this._onPointer = new $(), this.onPointer = this._onPointer.event, e.options.multipleSelectionSupport !== !1 && (this.multipleSelectionController = this.list.options.multipleSelectionController || W5e), this.mouseSupport = typeof e.options.mouseSupport > "u" || !!e.options.mouseSupport, this.mouseSupport && (e.onMouseDown(this.onMouseDown, this, this.disposables), e.onContextMenu(this.onContextMenu, this, this.disposables), e.onMouseDblClick(this.onDoubleClick, this, this.disposables), e.onTouchStart(this.onMouseDown, this, this.disposables), this.disposables.add(
|
|
86827
|
+
this.list = e, this.disposables = new ze(), this._onPointer = new $(), this.onPointer = this._onPointer.event, e.options.multipleSelectionSupport !== !1 && (this.multipleSelectionController = this.list.options.multipleSelectionController || W5e), this.mouseSupport = typeof e.options.mouseSupport > "u" || !!e.options.mouseSupport, this.mouseSupport && (e.onMouseDown(this.onMouseDown, this, this.disposables), e.onContextMenu(this.onContextMenu, this, this.disposables), e.onMouseDblClick(this.onDoubleClick, this, this.disposables), e.onTouchStart(this.onMouseDown, this, this.disposables), this.disposables.add($n.addTarget(e.getHTMLElement()))), Se.any(e.onMouseClick, e.onMouseMiddleClick, e.onTap)(this.onViewPointer, this, this.disposables);
|
|
86828
86828
|
}
|
|
86829
86829
|
updateOptions(e) {
|
|
86830
86830
|
e.multipleSelectionSupport !== void 0 && (this.multipleSelectionController = void 0, e.multipleSelectionSupport && (this.multipleSelectionController = this.list.options.multipleSelectionController || W5e));
|
|
@@ -87821,7 +87821,7 @@ class s6t extends me {
|
|
|
87821
87821
|
super(), this.selected = 0, this.selectBoxOptions = r || /* @__PURE__ */ Object.create(null), this.options = [], this.selectElement = document.createElement("select"), this.selectElement.className = "monaco-select-box", typeof this.selectBoxOptions.ariaLabel == "string" && this.selectElement.setAttribute("aria-label", this.selectBoxOptions.ariaLabel), typeof this.selectBoxOptions.ariaDescription == "string" && this.selectElement.setAttribute("aria-description", this.selectBoxOptions.ariaDescription), this._onDidSelect = this._register(new $()), this.styles = n, this.registerListeners(), this.setOptions(e, t);
|
|
87822
87822
|
}
|
|
87823
87823
|
registerListeners() {
|
|
87824
|
-
this._register(
|
|
87824
|
+
this._register($n.addTarget(this.selectElement)), [In.Tap].forEach((e) => {
|
|
87825
87825
|
this._register(pe(this.selectElement, e, (t) => {
|
|
87826
87826
|
this.selectElement.focus();
|
|
87827
87827
|
}));
|
|
@@ -87921,7 +87921,7 @@ class zl extends me {
|
|
|
87921
87921
|
}
|
|
87922
87922
|
render(e) {
|
|
87923
87923
|
const t = this.element = e;
|
|
87924
|
-
this._register(
|
|
87924
|
+
this._register($n.addTarget(e));
|
|
87925
87925
|
const n = this.options && this.options.draggable;
|
|
87926
87926
|
n && (e.draggable = !0, ml && this._register(pe(e, De.DRAG_START, (r) => r.dataTransfer?.setData(lLe.TEXT, this._action.label)))), this._register(pe(t, In.Tap, (r) => this.onClick(r, !0))), this._register(pe(t, De.MOUSE_DOWN, (r) => {
|
|
87927
87927
|
n || Lt.stop(r, !0), this._action.enabled && r.button === 0 && t.classList.add("active");
|
|
@@ -88092,7 +88092,7 @@ class l6t extends C0 {
|
|
|
88092
88092
|
)) && (Lt.stop(s, !0), this.visible ? this.hide() : this.show());
|
|
88093
88093
|
}));
|
|
88094
88094
|
const r = n(this._label);
|
|
88095
|
-
r && this._register(r), this._register(
|
|
88095
|
+
r && this._register(r), this._register($n.addTarget(this._label));
|
|
88096
88096
|
}
|
|
88097
88097
|
get element() {
|
|
88098
88098
|
return this._element;
|
|
@@ -89059,7 +89059,7 @@ class Fg extends Md {
|
|
|
89059
89059
|
10
|
|
89060
89060
|
/* KeyCode.Space */
|
|
89061
89061
|
] : []], keyDown: !0 }
|
|
89062
|
-
}), this.menuStyles = r, this.menuElement = s, this.actionsList.tabIndex = 0, this.initializeOrUpdateStyleSheet(e, r), this._register(
|
|
89062
|
+
}), this.menuStyles = r, this.menuElement = s, this.actionsList.tabIndex = 0, this.initializeOrUpdateStyleSheet(e, r), this._register($n.addTarget(s)), this._register(pe(s, De.KEY_DOWN, (c) => {
|
|
89063
89063
|
new Wn(c).equals(
|
|
89064
89064
|
2
|
|
89065
89065
|
/* KeyCode.Tab */
|
|
@@ -89102,7 +89102,7 @@ class Fg extends Md {
|
|
|
89102
89102
|
this.setFocusedItem(d), u !== this.focusedItem && this.updateFocus();
|
|
89103
89103
|
}
|
|
89104
89104
|
}
|
|
89105
|
-
})), this._register(
|
|
89105
|
+
})), this._register($n.addTarget(this.actionsList)), this._register(pe(this.actionsList, In.Tap, (c) => {
|
|
89106
89106
|
let d = c.initialTarget;
|
|
89107
89107
|
if (!(!d || !Xi(d, this.actionsList) || d === this.actionsList)) {
|
|
89108
89108
|
for (; d.parentElement !== this.actionsList && d.parentElement !== null; )
|
|
@@ -90709,7 +90709,7 @@ function Z6t(i, e, t) {
|
|
|
90709
90709
|
/* KeyCode.Enter */
|
|
90710
90710
|
);
|
|
90711
90711
|
}));
|
|
90712
|
-
t.disposables.add(
|
|
90712
|
+
t.disposables.add($n.addTarget(a));
|
|
90713
90713
|
const f = t.disposables.add(new St(a, In.Tap)).event;
|
|
90714
90714
|
Se.any(c, f, u)(l, null, t.disposables), e.appendChild(a);
|
|
90715
90715
|
}
|
|
@@ -91196,7 +91196,7 @@ let Nk = class extends me {
|
|
|
91196
91196
|
constructor(e, t) {
|
|
91197
91197
|
super(), this._label = "", this._onDidClick = this._register(new $()), this._onDidEscape = this._register(new $()), this.options = t, this._element = document.createElement("a"), this._element.classList.add("monaco-button"), this._element.tabIndex = 0, this._element.setAttribute("role", "button"), this._element.classList.toggle("secondary", !!t.secondary);
|
|
91198
91198
|
const n = t.secondary ? t.buttonSecondaryBackground : t.buttonBackground, r = t.secondary ? t.buttonSecondaryForeground : t.buttonForeground;
|
|
91199
|
-
this._element.style.color = r || "", this._element.style.backgroundColor = n || "", t.supportShortLabel && (this._labelShortElement = document.createElement("div"), this._labelShortElement.classList.add("monaco-button-label-short"), this._element.appendChild(this._labelShortElement), this._labelElement = document.createElement("div"), this._labelElement.classList.add("monaco-button-label"), this._element.appendChild(this._labelElement), this._element.classList.add("monaco-text-button-with-short-label")), typeof t.title == "string" && this.setTitle(t.title), typeof t.ariaLabel == "string" && this._element.setAttribute("aria-label", t.ariaLabel), e.appendChild(this._element), this._register(
|
|
91199
|
+
this._element.style.color = r || "", this._element.style.backgroundColor = n || "", t.supportShortLabel && (this._labelShortElement = document.createElement("div"), this._labelShortElement.classList.add("monaco-button-label-short"), this._element.appendChild(this._labelShortElement), this._labelElement = document.createElement("div"), this._labelElement.classList.add("monaco-button-label"), this._element.appendChild(this._labelElement), this._element.classList.add("monaco-text-button-with-short-label")), typeof t.title == "string" && this.setTitle(t.title), typeof t.ariaLabel == "string" && this._element.setAttribute("aria-label", t.ariaLabel), e.appendChild(this._element), this._register($n.addTarget(this._element)), [De.CLICK, In.Tap].forEach((s) => {
|
|
91200
91200
|
this._register(pe(this._element, s, (o) => {
|
|
91201
91201
|
if (!this.enabled) {
|
|
91202
91202
|
Lt.stop(o);
|
|
@@ -92161,7 +92161,7 @@ class bo extends me {
|
|
|
92161
92161
|
const o = this._register(new St(this.el, "mouseenter")).event;
|
|
92162
92162
|
this._register(o(() => bo.onMouseEnter(this)));
|
|
92163
92163
|
const a = this._register(new St(this.el, "mouseleave")).event;
|
|
92164
|
-
this._register(a(() => bo.onMouseLeave(this))), this._register(
|
|
92164
|
+
this._register(a(() => bo.onMouseLeave(this))), this._register($n.addTarget(this.el));
|
|
92165
92165
|
const l = this._register(new St(this.el, In.Start)).event;
|
|
92166
92166
|
this._register(l((u) => this.onPointerStart(u, new RR(this.el)), this));
|
|
92167
92167
|
const c = this._register(new St(this.el, In.Tap)).event;
|
|
@@ -101692,48 +101692,48 @@ class W9t {
|
|
|
101692
101692
|
Z("diffEditor.move.border", "#8b8b8b9c", C("diffEditor.move.border", "The border color for text that got moved in the diff editor."));
|
|
101693
101693
|
Z("diffEditor.moveActive.border", "#FFA500", C("diffEditor.moveActive.border", "The active border color for text that got moved in the diff editor."));
|
|
101694
101694
|
Z("diffEditor.unchangedRegionShadow", { dark: "#000000", light: "#737373BF", hcDark: "#000000", hcLight: "#737373BF" }, C("diffEditor.unchangedRegionShadow", "The color of the shadow around unchanged region widgets."));
|
|
101695
|
-
const j9t = uo("diff-insert", Ne.add, C("diffInsertIcon", "Line decoration for inserts in the diff editor.")), uke = uo("diff-remove", Ne.remove, C("diffRemoveIcon", "Line decoration for removals in the diff editor.")), I6e =
|
|
101695
|
+
const j9t = uo("diff-insert", Ne.add, C("diffInsertIcon", "Line decoration for inserts in the diff editor.")), uke = uo("diff-remove", Ne.remove, C("diffRemoveIcon", "Line decoration for removals in the diff editor.")), I6e = pi.register({
|
|
101696
101696
|
className: "line-insert",
|
|
101697
101697
|
description: "line-insert",
|
|
101698
101698
|
isWholeLine: !0,
|
|
101699
101699
|
linesDecorationsClassName: "insert-sign " + Tt.asClassName(j9t),
|
|
101700
101700
|
marginClassName: "gutter-insert"
|
|
101701
|
-
}), O6e =
|
|
101701
|
+
}), O6e = pi.register({
|
|
101702
101702
|
className: "line-delete",
|
|
101703
101703
|
description: "line-delete",
|
|
101704
101704
|
isWholeLine: !0,
|
|
101705
101705
|
linesDecorationsClassName: "delete-sign " + Tt.asClassName(uke),
|
|
101706
101706
|
marginClassName: "gutter-delete"
|
|
101707
|
-
}), R6e =
|
|
101707
|
+
}), R6e = pi.register({
|
|
101708
101708
|
className: "line-insert",
|
|
101709
101709
|
description: "line-insert",
|
|
101710
101710
|
isWholeLine: !0,
|
|
101711
101711
|
marginClassName: "gutter-insert"
|
|
101712
|
-
}), V6e =
|
|
101712
|
+
}), V6e = pi.register({
|
|
101713
101713
|
className: "line-delete",
|
|
101714
101714
|
description: "line-delete",
|
|
101715
101715
|
isWholeLine: !0,
|
|
101716
101716
|
marginClassName: "gutter-delete"
|
|
101717
|
-
}), B6e =
|
|
101717
|
+
}), B6e = pi.register({
|
|
101718
101718
|
className: "char-insert",
|
|
101719
101719
|
description: "char-insert",
|
|
101720
101720
|
shouldFillLineOnLineBreak: !0
|
|
101721
|
-
}), Z9t =
|
|
101721
|
+
}), Z9t = pi.register({
|
|
101722
101722
|
className: "char-insert",
|
|
101723
101723
|
description: "char-insert",
|
|
101724
101724
|
isWholeLine: !0
|
|
101725
|
-
}), U9t =
|
|
101725
|
+
}), U9t = pi.register({
|
|
101726
101726
|
className: "char-insert diff-range-empty",
|
|
101727
101727
|
description: "char-insert diff-range-empty"
|
|
101728
|
-
}), oN =
|
|
101728
|
+
}), oN = pi.register({
|
|
101729
101729
|
className: "char-delete",
|
|
101730
101730
|
description: "char-delete",
|
|
101731
101731
|
shouldFillLineOnLineBreak: !0
|
|
101732
|
-
}), q9t =
|
|
101732
|
+
}), q9t = pi.register({
|
|
101733
101733
|
className: "char-delete",
|
|
101734
101734
|
description: "char-delete",
|
|
101735
101735
|
isWholeLine: !0
|
|
101736
|
-
}), G9t =
|
|
101736
|
+
}), G9t = pi.register({
|
|
101737
101737
|
className: "char-delete diff-range-empty",
|
|
101738
101738
|
description: "char-delete diff-range-empty"
|
|
101739
101739
|
});
|
|
@@ -104172,8 +104172,8 @@ function Y6e(i, e) {
|
|
|
104172
104172
|
originalEditable: Ie(i.originalEditable, e.originalEditable),
|
|
104173
104173
|
diffCodeLens: Ie(i.diffCodeLens, e.diffCodeLens),
|
|
104174
104174
|
renderOverviewRuler: Ie(i.renderOverviewRuler, e.renderOverviewRuler),
|
|
104175
|
-
diffWordWrap:
|
|
104176
|
-
diffAlgorithm:
|
|
104175
|
+
diffWordWrap: ai(i.diffWordWrap, e.diffWordWrap, ["off", "on", "inherit"]),
|
|
104176
|
+
diffAlgorithm: ai(i.diffAlgorithm, e.diffAlgorithm, ["legacy", "advanced"], { smart: "legacy", experimental: "advanced" }),
|
|
104177
104177
|
accessibilityVerbose: Ie(i.accessibilityVerbose, e.accessibilityVerbose),
|
|
104178
104178
|
experimental: {
|
|
104179
104179
|
showMoves: Ie(i.experimental?.showMoves, e.experimental.showMoves),
|
|
@@ -106319,7 +106319,7 @@ class Fa {
|
|
|
106319
106319
|
return e = e.concat(this._decorations), e = e.concat(this._overviewRulerApproximateDecorations), this._findScopeDecorationIds.length && e.push(...this._findScopeDecorationIds), this._rangeHighlightDecorationId && e.push(this._rangeHighlightDecorationId), e;
|
|
106320
106320
|
}
|
|
106321
106321
|
static {
|
|
106322
|
-
this._CURRENT_FIND_MATCH_DECORATION =
|
|
106322
|
+
this._CURRENT_FIND_MATCH_DECORATION = pi.register({
|
|
106323
106323
|
description: "current-find-match",
|
|
106324
106324
|
stickiness: 1,
|
|
106325
106325
|
zIndex: 13,
|
|
@@ -106338,7 +106338,7 @@ class Fa {
|
|
|
106338
106338
|
});
|
|
106339
106339
|
}
|
|
106340
106340
|
static {
|
|
106341
|
-
this._FIND_MATCH_DECORATION =
|
|
106341
|
+
this._FIND_MATCH_DECORATION = pi.register({
|
|
106342
106342
|
description: "find-match",
|
|
106343
106343
|
stickiness: 1,
|
|
106344
106344
|
zIndex: 10,
|
|
@@ -106357,7 +106357,7 @@ class Fa {
|
|
|
106357
106357
|
});
|
|
106358
106358
|
}
|
|
106359
106359
|
static {
|
|
106360
|
-
this._FIND_MATCH_NO_OVERVIEW_DECORATION =
|
|
106360
|
+
this._FIND_MATCH_NO_OVERVIEW_DECORATION = pi.register({
|
|
106361
106361
|
description: "find-match-no-overview",
|
|
106362
106362
|
stickiness: 1,
|
|
106363
106363
|
className: "findMatch",
|
|
@@ -106365,7 +106365,7 @@ class Fa {
|
|
|
106365
106365
|
});
|
|
106366
106366
|
}
|
|
106367
106367
|
static {
|
|
106368
|
-
this._FIND_MATCH_ONLY_OVERVIEW_DECORATION =
|
|
106368
|
+
this._FIND_MATCH_ONLY_OVERVIEW_DECORATION = pi.register({
|
|
106369
106369
|
description: "find-match-only-overview",
|
|
106370
106370
|
stickiness: 1,
|
|
106371
106371
|
overviewRuler: {
|
|
@@ -106375,7 +106375,7 @@ class Fa {
|
|
|
106375
106375
|
});
|
|
106376
106376
|
}
|
|
106377
106377
|
static {
|
|
106378
|
-
this._RANGE_HIGHLIGHT_DECORATION =
|
|
106378
|
+
this._RANGE_HIGHLIGHT_DECORATION = pi.register({
|
|
106379
106379
|
description: "find-range-highlight",
|
|
106380
106380
|
stickiness: 1,
|
|
106381
106381
|
className: "rangeHighlight",
|
|
@@ -106383,7 +106383,7 @@ class Fa {
|
|
|
106383
106383
|
});
|
|
106384
106384
|
}
|
|
106385
106385
|
static {
|
|
106386
|
-
this._FIND_SCOPE_DECORATION =
|
|
106386
|
+
this._FIND_SCOPE_DECORATION = pi.register({
|
|
106387
106387
|
description: "find-scope",
|
|
106388
106388
|
className: "findScope",
|
|
106389
106389
|
isWholeLine: !0
|
|
@@ -109855,17 +109855,17 @@ const l_t = G.div`
|
|
|
109855
109855
|
] }) }),
|
|
109856
109856
|
/* @__PURE__ */ E.jsxs(a3, { children: [
|
|
109857
109857
|
i.map((t) => /* @__PURE__ */ E.jsxs(Lo, { children: [
|
|
109858
|
-
/* @__PURE__ */ E.jsxs(
|
|
109858
|
+
/* @__PURE__ */ E.jsxs(ui, { children: [
|
|
109859
109859
|
t.status === "not found" && /* @__PURE__ */ E.jsx(d_t, {}),
|
|
109860
109860
|
t.status === "deployment error" && /* @__PURE__ */ E.jsx(u_t, {}),
|
|
109861
109861
|
/* @__PURE__ */ E.jsx("b", { children: t.element.businessObject.name || t.element.businessObject.id })
|
|
109862
109862
|
] }),
|
|
109863
|
-
/* @__PURE__ */ E.jsxs(
|
|
109863
|
+
/* @__PURE__ */ E.jsxs(ui, { children: [
|
|
109864
109864
|
t.status === "not found" && "File not found",
|
|
109865
109865
|
t.status === "deployment error" && "Deployment error"
|
|
109866
109866
|
] }),
|
|
109867
|
-
/* @__PURE__ */ E.jsx(
|
|
109868
|
-
/* @__PURE__ */ E.jsxs(
|
|
109867
|
+
/* @__PURE__ */ E.jsx(ui, { children: t.filename || t.id }),
|
|
109868
|
+
/* @__PURE__ */ E.jsxs(ui, { children: [
|
|
109869
109869
|
t.status === "not found" && /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
|
|
109870
109870
|
"Verify file path or check file permissions.",
|
|
109871
109871
|
" ",
|
|
@@ -109893,13 +109893,13 @@ const l_t = G.div`
|
|
|
109893
109893
|
] })
|
|
109894
109894
|
] }, t.id + Math.random().toString())),
|
|
109895
109895
|
e.map((t) => /* @__PURE__ */ E.jsxs(Lo, { children: [
|
|
109896
|
-
/* @__PURE__ */ E.jsxs(
|
|
109896
|
+
/* @__PURE__ */ E.jsxs(ui, { children: [
|
|
109897
109897
|
/* @__PURE__ */ E.jsx(f_t, { children: /* @__PURE__ */ E.jsx(p_t, {}) }),
|
|
109898
109898
|
/* @__PURE__ */ E.jsx("b", { children: t.element.businessObject.name || t.element.businessObject.id })
|
|
109899
109899
|
] }),
|
|
109900
|
-
/* @__PURE__ */ E.jsx(
|
|
109901
|
-
/* @__PURE__ */ E.jsx(
|
|
109902
|
-
/* @__PURE__ */ E.jsx(
|
|
109900
|
+
/* @__PURE__ */ E.jsx(ui, { children: `Secret "${t.missingSecret}" missing` }),
|
|
109901
|
+
/* @__PURE__ */ E.jsx(ui, { children: "-" }),
|
|
109902
|
+
/* @__PURE__ */ E.jsx(ui, { children: /* @__PURE__ */ E.jsx(bV, { secrets: [t.missingSecret], children: /* @__PURE__ */ E.jsx(g_t, { variant: "text", children: "Update connector secret" }) }) })
|
|
109903
109903
|
] }, Math.random().toString()))
|
|
109904
109904
|
] })
|
|
109905
109905
|
] });
|
|
@@ -109960,7 +109960,7 @@ const l_t = G.div`
|
|
|
109960
109960
|
/* @__PURE__ */ E.jsx(a3, { children: l?.map(({ key: c, startTime: d, state: u, incidents: f }) => {
|
|
109961
109961
|
const p = f.length > 0;
|
|
109962
109962
|
return /* @__PURE__ */ E.jsxs(Lo, { children: [
|
|
109963
|
-
/* @__PURE__ */ E.jsxs(
|
|
109963
|
+
/* @__PURE__ */ E.jsxs(ui, { children: [
|
|
109964
109964
|
/* @__PURE__ */ E.jsx(e_t, { children: /* @__PURE__ */ E.jsx(
|
|
109965
109965
|
xI,
|
|
109966
109966
|
{
|
|
@@ -109982,10 +109982,10 @@ const l_t = G.div`
|
|
|
109982
109982
|
}
|
|
109983
109983
|
)
|
|
109984
109984
|
] }),
|
|
109985
|
-
/* @__PURE__ */ E.jsx(
|
|
109986
|
-
/* @__PURE__ */ E.jsx(
|
|
109985
|
+
/* @__PURE__ */ E.jsx(ui, { children: sxe(d) }),
|
|
109986
|
+
/* @__PURE__ */ E.jsx(ui, { children: "-" })
|
|
109987
109987
|
] }, c);
|
|
109988
|
-
}) ?? /* @__PURE__ */ E.jsx(Lo, { children: /* @__PURE__ */ E.jsx(
|
|
109988
|
+
}) ?? /* @__PURE__ */ E.jsx(Lo, { children: /* @__PURE__ */ E.jsx(ui, { children: "No Content" }) }) })
|
|
109989
109989
|
] }) : /* @__PURE__ */ E.jsxs(YEt, { children: [
|
|
109990
109990
|
/* @__PURE__ */ E.jsx(XEt, { children: "Start by activating a process instance" }),
|
|
109991
109991
|
/* @__PURE__ */ E.jsx(JEt, { children: "To activate an instance, click the Play button on the canvas" })
|
|
@@ -121014,7 +121014,7 @@ function xNt() {
|
|
|
121014
121014
|
return bS = e, bS;
|
|
121015
121015
|
}
|
|
121016
121016
|
var SNt = xNt();
|
|
121017
|
-
const
|
|
121017
|
+
const Yn = /* @__PURE__ */ wy(SNt);
|
|
121018
121018
|
function C9e(i, e) {
|
|
121019
121019
|
return e !== void 0 && !e.includes(i.businessObject.id) && i.type !== "label" && Z_e(i.businessObject);
|
|
121020
121020
|
}
|
|
@@ -122002,7 +122002,7 @@ var Vi;
|
|
|
122002
122002
|
(function(i) {
|
|
122003
122003
|
i[i.ExcludeBuffers = 1] = "ExcludeBuffers", i[i.IncludeAnonymous = 2] = "IncludeAnonymous", i[i.IgnoreMounts = 4] = "IgnoreMounts", i[i.IgnoreOverlays = 8] = "IgnoreOverlays";
|
|
122004
122004
|
})(Vi || (Vi = {}));
|
|
122005
|
-
class
|
|
122005
|
+
class ci {
|
|
122006
122006
|
/**
|
|
122007
122007
|
Construct a new tree. See also [`Tree.build`](#common.Tree^build).
|
|
122008
122008
|
*/
|
|
@@ -122135,7 +122135,7 @@ class li {
|
|
|
122135
122135
|
[`NodeType.none`](#common.NodeType^none).
|
|
122136
122136
|
*/
|
|
122137
122137
|
balance(e = {}) {
|
|
122138
|
-
return this.children.length <= 8 ? this : ZV(jr.none, this.children, this.positions, 0, this.children.length, 0, this.length, (t, n, r) => new
|
|
122138
|
+
return this.children.length <= 8 ? this : ZV(jr.none, this.children, this.positions, 0, this.children.length, 0, this.length, (t, n, r) => new ci(this.type, t, n, r, this.propValues), e.makeTree || ((t, n, r) => new ci(jr.none, t, n, r)));
|
|
122139
122139
|
}
|
|
122140
122140
|
/**
|
|
122141
122141
|
Build a tree from a postfix-ordered buffer of node information,
|
|
@@ -122145,7 +122145,7 @@ class li {
|
|
|
122145
122145
|
return gTt(e);
|
|
122146
122146
|
}
|
|
122147
122147
|
}
|
|
122148
|
-
|
|
122148
|
+
ci.empty = new ci(jr.none, [], [], 0);
|
|
122149
122149
|
class WV {
|
|
122150
122150
|
constructor(e, t) {
|
|
122151
122151
|
this.buffer = e, this.index = t;
|
|
@@ -122546,7 +122546,7 @@ class ju extends pIe {
|
|
|
122546
122546
|
let o = n.buffer[this.index + 1];
|
|
122547
122547
|
e.push(n.slice(r, s, o)), t.push(0);
|
|
122548
122548
|
}
|
|
122549
|
-
return new
|
|
122549
|
+
return new ci(this.type, e, t, this.to - this.from);
|
|
122550
122550
|
}
|
|
122551
122551
|
/**
|
|
122552
122552
|
@internal
|
|
@@ -122948,7 +122948,7 @@ function gTt(i) {
|
|
|
122948
122948
|
function p(S) {
|
|
122949
122949
|
return (M, D, L) => {
|
|
122950
122950
|
let O = 0, B = M.length - 1, V, N;
|
|
122951
|
-
if (B >= 0 && (V = M[B]) instanceof
|
|
122951
|
+
if (B >= 0 && (V = M[B]) instanceof ci) {
|
|
122952
122952
|
if (!B && V.type == S && V.length == L)
|
|
122953
122953
|
return V;
|
|
122954
122954
|
(N = V.prop(Gt.lookAhead)) && (O = D[B] + V.length + N);
|
|
@@ -122971,7 +122971,7 @@ function gTt(i) {
|
|
|
122971
122971
|
let V = [Gt.lookAhead, O];
|
|
122972
122972
|
B = B ? [V].concat(B) : [V];
|
|
122973
122973
|
}
|
|
122974
|
-
return new
|
|
122974
|
+
return new ci(S, M, D, L, B);
|
|
122975
122975
|
}
|
|
122976
122976
|
function A(S, M) {
|
|
122977
122977
|
let D = a.fork(), L = 0, O = 0, B = 0, V = D.end - r, N = { size: 0, start: 0, skip: 0 };
|
|
@@ -123015,7 +123015,7 @@ function gTt(i) {
|
|
|
123015
123015
|
for (; a.pos > 0; )
|
|
123016
123016
|
u(i.start || 0, i.bufferStart || 0, v, b, -1, 0);
|
|
123017
123017
|
let y = (e = i.length) !== null && e !== void 0 ? e : v.length ? b[0] + v[0].length : 0;
|
|
123018
|
-
return new
|
|
123018
|
+
return new ci(l[i.topID], v.reverse(), b.reverse(), y);
|
|
123019
123019
|
}
|
|
123020
123020
|
const Q9e = /* @__PURE__ */ new WeakMap();
|
|
123021
123021
|
function sb(i, e) {
|
|
@@ -123025,7 +123025,7 @@ function sb(i, e) {
|
|
|
123025
123025
|
if (t == null) {
|
|
123026
123026
|
t = 1;
|
|
123027
123027
|
for (let n of e.children) {
|
|
123028
|
-
if (n.type != i || !(n instanceof
|
|
123028
|
+
if (n.type != i || !(n instanceof ci)) {
|
|
123029
123029
|
t = 1;
|
|
123030
123030
|
break;
|
|
123031
123031
|
}
|
|
@@ -123213,7 +123213,7 @@ class vTt {
|
|
|
123213
123213
|
}
|
|
123214
123214
|
if (this.innerDone == this.inner.length) {
|
|
123215
123215
|
let n = this.baseTree;
|
|
123216
|
-
return this.stoppedAt != null && (n = new
|
|
123216
|
+
return this.stoppedAt != null && (n = new ci(n.type, n.children, n.positions, n.length, n.propValues.concat([[UN, this.stoppedAt]]))), n;
|
|
123217
123217
|
}
|
|
123218
123218
|
let e = this.inner[this.innerDone], t = e.parse.advance();
|
|
123219
123219
|
if (t) {
|
|
@@ -123308,7 +123308,7 @@ function yTt(i) {
|
|
|
123308
123308
|
let b = a[A + 1], y = a[A + 2];
|
|
123309
123309
|
l.push(w.length);
|
|
123310
123310
|
let S = m ? c(A + 4, a[A + 3], o.set.types[a[A]], b, y - b, m - 1) : e.toTree();
|
|
123311
|
-
return w.push(S), v.push(b - p), X9e(o, a[A + 3], u, w, v, p), new
|
|
123311
|
+
return w.push(S), v.push(b - p), X9e(o, a[A + 3], u, w, v, p), new ci(f, w, v, g);
|
|
123312
123312
|
}
|
|
123313
123313
|
r.children[s] = c(0, a.length, jr.none, 0, o.length, t.length - 1);
|
|
123314
123314
|
for (let d of l) {
|
|
@@ -123331,7 +123331,7 @@ class J9e {
|
|
|
123331
123331
|
for (let t = this.cursor.tree; ; ) {
|
|
123332
123332
|
if (t == e.tree)
|
|
123333
123333
|
return !0;
|
|
123334
|
-
if (t.children.length && t.positions[0] == 0 && t.children[0] instanceof
|
|
123334
|
+
if (t.children.length && t.positions[0] == 0 && t.children[0] instanceof ci)
|
|
123335
123335
|
t = t.children[0];
|
|
123336
123336
|
else
|
|
123337
123337
|
break;
|
|
@@ -124134,7 +124134,7 @@ let LTt = class {
|
|
|
124134
124134
|
let s = n.children[r], o = this.start[t] + n.positions[r];
|
|
124135
124135
|
if (o > e)
|
|
124136
124136
|
return this.nextStart = o, null;
|
|
124137
|
-
if (s instanceof
|
|
124137
|
+
if (s instanceof ci) {
|
|
124138
124138
|
if (o == e) {
|
|
124139
124139
|
if (o < this.safeFrom)
|
|
124140
124140
|
return null;
|
|
@@ -124325,10 +124325,10 @@ class NTt {
|
|
|
124325
124325
|
let f = this.parser.nodeSet.types[u.type.id] == u.type ? s.getGoto(e.state, u.type.id) : -1;
|
|
124326
124326
|
if (f > -1 && u.length && (!c || (u.prop(Gt.contextHash) || 0) == d))
|
|
124327
124327
|
return e.useNode(u, f), Qo && console.log(o + this.stackID(e) + ` (via reuse of ${s.getName(u.type.id)})`), !0;
|
|
124328
|
-
if (!(u instanceof
|
|
124328
|
+
if (!(u instanceof ci) || u.children.length == 0 || u.positions[0] > 0)
|
|
124329
124329
|
break;
|
|
124330
124330
|
let p = u.children[0];
|
|
124331
|
-
if (p instanceof
|
|
124331
|
+
if (p instanceof ci && u.positions[0] == 0)
|
|
124332
124332
|
u = p;
|
|
124333
124333
|
else
|
|
124334
124334
|
break;
|
|
@@ -124388,7 +124388,7 @@ class NTt {
|
|
|
124388
124388
|
}
|
|
124389
124389
|
// Convert the stack's buffer to a syntax tree.
|
|
124390
124390
|
stackToTree(e) {
|
|
124391
|
-
return e.close(),
|
|
124391
|
+
return e.close(), ci.build({
|
|
124392
124392
|
buffer: W9.create(e),
|
|
124393
124393
|
nodeSet: this.parser.nodeSet,
|
|
124394
124394
|
topID: this.topTerm,
|
|
@@ -125939,7 +125939,7 @@ const qIt = t4({
|
|
|
125939
125939
|
specialized: [{ term: 121, get: (i) => GIt[i] || -1 }],
|
|
125940
125940
|
tokenPrec: 2500
|
|
125941
125941
|
});
|
|
125942
|
-
let
|
|
125942
|
+
let li = class kIe {
|
|
125943
125943
|
/**
|
|
125944
125944
|
Get the line description around the given position.
|
|
125945
125945
|
*/
|
|
@@ -126074,7 +126074,7 @@ let ai = class kIe {
|
|
|
126074
126074
|
return e.length == 1 && !e[0] ? kIe.empty : e.length <= 32 ? new pr(e) : Kc.from(pr.split(e, []));
|
|
126075
126075
|
}
|
|
126076
126076
|
};
|
|
126077
|
-
class pr extends
|
|
126077
|
+
class pr extends li {
|
|
126078
126078
|
constructor(e, t = QIt(e)) {
|
|
126079
126079
|
super(), this.text = e, this.length = t;
|
|
126080
126080
|
}
|
|
@@ -126136,7 +126136,7 @@ class pr extends ai {
|
|
|
126136
126136
|
return r > -1 && t.push(new pr(n, r)), t;
|
|
126137
126137
|
}
|
|
126138
126138
|
}
|
|
126139
|
-
class Kc extends
|
|
126139
|
+
class Kc extends li {
|
|
126140
126140
|
constructor(e, t) {
|
|
126141
126141
|
super(), this.children = e, this.length = t, this.lines = 0;
|
|
126142
126142
|
for (let n of e)
|
|
@@ -126233,7 +126233,7 @@ class Kc extends ai {
|
|
|
126233
126233
|
return f(), a.length == 1 ? a[0] : new Kc(a, t);
|
|
126234
126234
|
}
|
|
126235
126235
|
}
|
|
126236
|
-
|
|
126236
|
+
li.empty = /* @__PURE__ */ new pr([""], 0);
|
|
126237
126237
|
function QIt(i) {
|
|
126238
126238
|
let e = -1;
|
|
126239
126239
|
for (let t of i)
|
|
@@ -126313,7 +126313,7 @@ class TIe {
|
|
|
126313
126313
|
return !1;
|
|
126314
126314
|
}
|
|
126315
126315
|
}
|
|
126316
|
-
typeof Symbol < "u" && (
|
|
126316
|
+
typeof Symbol < "u" && (li.prototype[Symbol.iterator] = function() {
|
|
126317
126317
|
return this.iter();
|
|
126318
126318
|
}, Ew.prototype[Symbol.iterator] = NIe.prototype[Symbol.iterator] = TIe.prototype[Symbol.iterator] = function() {
|
|
126319
126319
|
return this;
|
|
@@ -126594,8 +126594,8 @@ class Jr extends Od {
|
|
|
126594
126594
|
t[r] = a, t[r + 1] = o;
|
|
126595
126595
|
let l = r >> 1;
|
|
126596
126596
|
for (; n.length < l; )
|
|
126597
|
-
n.push(
|
|
126598
|
-
n.push(o ? e.slice(s, s + o) :
|
|
126597
|
+
n.push(li.empty);
|
|
126598
|
+
n.push(o ? e.slice(s, s + o) : li.empty);
|
|
126599
126599
|
}
|
|
126600
126600
|
s += o;
|
|
126601
126601
|
}
|
|
@@ -126709,7 +126709,7 @@ class Jr extends Od {
|
|
|
126709
126709
|
let { from: u, to: f = u, insert: p } = d;
|
|
126710
126710
|
if (u > f || u < 0 || f > t)
|
|
126711
126711
|
throw new RangeError(`Invalid change range ${u} to ${f} (in doc of length ${t})`);
|
|
126712
|
-
let g = p ? typeof p == "string" ?
|
|
126712
|
+
let g = p ? typeof p == "string" ? li.of(p.split(n || QN)) : p : li.empty, m = g.length;
|
|
126713
126713
|
if (u == f && m == 0)
|
|
126714
126714
|
return;
|
|
126715
126715
|
u < o && l(), u > o && Ls(r, u - o, -1), Ls(r, f - u, m), Zu(s, r, g), o = f;
|
|
@@ -126742,8 +126742,8 @@ class Jr extends Od {
|
|
|
126742
126742
|
t.push(s[0], 0);
|
|
126743
126743
|
else {
|
|
126744
126744
|
for (; n.length < r; )
|
|
126745
|
-
n.push(
|
|
126746
|
-
n[r] =
|
|
126745
|
+
n.push(li.empty);
|
|
126746
|
+
n[r] = li.of(s.slice(1)), t.push(s[0], n[r].length);
|
|
126747
126747
|
}
|
|
126748
126748
|
}
|
|
126749
126749
|
}
|
|
@@ -126770,7 +126770,7 @@ function Zu(i, e, t) {
|
|
|
126770
126770
|
i[i.length - 1] = i[i.length - 1].append(t);
|
|
126771
126771
|
else {
|
|
126772
126772
|
for (; i.length < n; )
|
|
126773
|
-
i.push(
|
|
126773
|
+
i.push(li.empty);
|
|
126774
126774
|
i.push(t);
|
|
126775
126775
|
}
|
|
126776
126776
|
}
|
|
@@ -126781,7 +126781,7 @@ function KN(i, e, t) {
|
|
|
126781
126781
|
if (l < 0)
|
|
126782
126782
|
r += a, s += a;
|
|
126783
126783
|
else {
|
|
126784
|
-
let c = r, d = s, u =
|
|
126784
|
+
let c = r, d = s, u = li.empty;
|
|
126785
126785
|
for (; c += a, d += l, l && n && (u = u.append(n[o - 2 >> 1])), !(t || o == i.sections.length || i.sections[o + 1] < 0); )
|
|
126786
126786
|
a = i.sections[o++], l = i.sections[o++];
|
|
126787
126787
|
e(r, c, s, d, u), r = c, s = d;
|
|
@@ -126857,11 +126857,11 @@ class Hv {
|
|
|
126857
126857
|
}
|
|
126858
126858
|
get text() {
|
|
126859
126859
|
let { inserted: e } = this.set, t = this.i - 2 >> 1;
|
|
126860
|
-
return t >= e.length ?
|
|
126860
|
+
return t >= e.length ? li.empty : e[t];
|
|
126861
126861
|
}
|
|
126862
126862
|
textBit(e) {
|
|
126863
126863
|
let { inserted: t } = this.set, n = this.i - 2 >> 1;
|
|
126864
|
-
return n >= t.length && !e ?
|
|
126864
|
+
return n >= t.length && !e ? li.empty : t[n].slice(this.off, e == null ? void 0 : this.off + e);
|
|
126865
126865
|
}
|
|
126866
126866
|
forward(e) {
|
|
126867
126867
|
e == this.len ? this.next() : (this.len -= e, this.off += e);
|
|
@@ -127471,10 +127471,10 @@ class tOt {
|
|
|
127471
127471
|
type.
|
|
127472
127472
|
*/
|
|
127473
127473
|
of(e) {
|
|
127474
|
-
return new
|
|
127474
|
+
return new Xn(this, e);
|
|
127475
127475
|
}
|
|
127476
127476
|
}
|
|
127477
|
-
class
|
|
127477
|
+
class Xn {
|
|
127478
127478
|
/**
|
|
127479
127479
|
@internal
|
|
127480
127480
|
*/
|
|
@@ -127487,7 +127487,7 @@ class Kn {
|
|
|
127487
127487
|
*/
|
|
127488
127488
|
map(e) {
|
|
127489
127489
|
let t = this.type.map(this.value, e);
|
|
127490
|
-
return t === void 0 ? void 0 : t == this.value ? this : new
|
|
127490
|
+
return t === void 0 ? void 0 : t == this.value ? this : new Xn(this.type, t);
|
|
127491
127491
|
}
|
|
127492
127492
|
/**
|
|
127493
127493
|
Tells you whether this effect object is of a given
|
|
@@ -127520,8 +127520,8 @@ class Kn {
|
|
|
127520
127520
|
return n;
|
|
127521
127521
|
}
|
|
127522
127522
|
}
|
|
127523
|
-
|
|
127524
|
-
|
|
127523
|
+
Xn.reconfigure = /* @__PURE__ */ Xn.define();
|
|
127524
|
+
Xn.appendConfig = /* @__PURE__ */ Xn.define();
|
|
127525
127525
|
class As {
|
|
127526
127526
|
constructor(e, t, n, r, s, o) {
|
|
127527
127527
|
this.startState = e, this.changes = t, this.selection = n, this.effects = r, this.annotations = s, this.scrollIntoView = o, this._doc = null, this._state = null, n && HIe(n, t.newLength), s.some((a) => a.type == As.time) || (this.annotations = s.concat(As.time.of(Date.now())));
|
|
@@ -127619,7 +127619,7 @@ function qIe(i, e, t) {
|
|
|
127619
127619
|
return t ? (r = e.changes, s = Jr.empty(e.changes.length), o = i.changes.compose(e.changes)) : (r = e.changes.map(i.changes), s = i.changes.mapDesc(e.changes, !0), o = i.changes.compose(r)), {
|
|
127620
127620
|
changes: o,
|
|
127621
127621
|
selection: e.selection ? e.selection.map(s) : (n = i.selection) === null || n === void 0 ? void 0 : n.map(r),
|
|
127622
|
-
effects:
|
|
127622
|
+
effects: Xn.mapEffects(i.effects, r).concat(Xn.mapEffects(e.effects, s)),
|
|
127623
127623
|
annotations: i.annotations.length ? i.annotations.concat(e.annotations) : e.annotations,
|
|
127624
127624
|
scrollIntoView: i.scrollIntoView || e.scrollIntoView
|
|
127625
127625
|
};
|
|
@@ -127663,7 +127663,7 @@ function iOt(i) {
|
|
|
127663
127663
|
let o = i.changes.filter(t);
|
|
127664
127664
|
r = o.changes, s = o.filtered.mapDesc(o.changes).invertedDesc;
|
|
127665
127665
|
}
|
|
127666
|
-
i = As.create(e, r, i.selection && i.selection.map(s),
|
|
127666
|
+
i = As.create(e, r, i.selection && i.selection.map(s), Xn.mapEffects(i.effects, s), i.annotations, i.scrollIntoView);
|
|
127667
127667
|
}
|
|
127668
127668
|
let n = e.facet(jIe);
|
|
127669
127669
|
for (let r = n.length - 1; r >= 0; r--) {
|
|
@@ -127755,7 +127755,7 @@ class Un {
|
|
|
127755
127755
|
applyTransaction(e) {
|
|
127756
127756
|
let t = this.config, { base: n, compartments: r } = t;
|
|
127757
127757
|
for (let a of e.effects)
|
|
127758
|
-
a.is(i4.reconfigure) ? (t && (r = /* @__PURE__ */ new Map(), t.compartments.forEach((l, c) => r.set(c, l)), t = null), r.set(a.value.compartment, a.value.extension)) : a.is(
|
|
127758
|
+
a.is(i4.reconfigure) ? (t && (r = /* @__PURE__ */ new Map(), t.compartments.forEach((l, c) => r.set(c, l)), t = null), r.set(a.value.compartment, a.value.extension)) : a.is(Xn.reconfigure) ? (t = null, n = a.value) : a.is(Xn.appendConfig) && (t = null, n = qg(n).concat(a.value));
|
|
127759
127759
|
let s;
|
|
127760
127760
|
t ? s = e.startState.values.slice() : (t = U9.resolve(n, r, this), s = new Un(t, this.doc, this.selection, t.dynamicSlots.map(() => null), (l, c) => c.reconfigure(l, this), null).values);
|
|
127761
127761
|
let o = e.startState.facet($N) ? e.newSelection : e.newSelection.asSingle();
|
|
@@ -127789,7 +127789,7 @@ class Un {
|
|
|
127789
127789
|
for (let f = 0; f < a; f++)
|
|
127790
127790
|
s[f] = s[f].map(d);
|
|
127791
127791
|
let u = r.mapDesc(c, !0);
|
|
127792
|
-
s.push(l.range.map(u)), r = r.compose(d), o =
|
|
127792
|
+
s.push(l.range.map(u)), r = r.compose(d), o = Xn.mapEffects(o, d).concat(Xn.mapEffects(qg(l.effects), u));
|
|
127793
127793
|
}
|
|
127794
127794
|
return {
|
|
127795
127795
|
changes: r,
|
|
@@ -127811,7 +127811,7 @@ class Un {
|
|
|
127811
127811
|
[`Text`](https://codemirror.net/6/docs/ref/#state.Text) instance from the given string.
|
|
127812
127812
|
*/
|
|
127813
127813
|
toText(e) {
|
|
127814
|
-
return
|
|
127814
|
+
return li.of(e.split(this.facet(Un.lineSeparator) || QN));
|
|
127815
127815
|
}
|
|
127816
127816
|
/**
|
|
127817
127817
|
Return the given range of the document as a string.
|
|
@@ -127873,7 +127873,7 @@ class Un {
|
|
|
127873
127873
|
transactions.
|
|
127874
127874
|
*/
|
|
127875
127875
|
static create(e = {}) {
|
|
127876
|
-
let t = U9.resolve(e.extensions || [], /* @__PURE__ */ new Map()), n = e.doc instanceof
|
|
127876
|
+
let t = U9.resolve(e.extensions || [], /* @__PURE__ */ new Map()), n = e.doc instanceof li ? e.doc : li.of((e.doc || "").split(t.staticFacet(Un.lineSeparator) || QN)), r = e.selection ? e.selection instanceof He ? e.selection : He.single(e.selection.anchor, e.selection.head) : He.single(0);
|
|
127877
127877
|
return HIe(r, n.length), t.staticFacet($N) || (r = r.asSingle()), new Un(t, n, r, t.dynamicSlots.map(() => null), (s, o) => o.create(s), null);
|
|
127878
127878
|
}
|
|
127879
127879
|
/**
|
|
@@ -127997,7 +127997,7 @@ Un.languageData = FIe;
|
|
|
127997
127997
|
Un.changeFilter = WIe;
|
|
127998
127998
|
Un.transactionFilter = jIe;
|
|
127999
127999
|
Un.transactionExtender = ZIe;
|
|
128000
|
-
i4.reconfigure = /* @__PURE__ */
|
|
128000
|
+
i4.reconfigure = /* @__PURE__ */ Xn.define();
|
|
128001
128001
|
function m7(i, e, t = {}) {
|
|
128002
128002
|
let n = {};
|
|
128003
128003
|
for (let r of i)
|
|
@@ -128089,7 +128089,7 @@ class XV {
|
|
|
128089
128089
|
return { mapped: n.length ? new XV(r, s, n, a) : null, pos: o };
|
|
128090
128090
|
}
|
|
128091
128091
|
}
|
|
128092
|
-
class
|
|
128092
|
+
class oi {
|
|
128093
128093
|
constructor(e, t, n, r) {
|
|
128094
128094
|
this.chunkPos = e, this.chunk = t, this.nextLayer = n, this.maxPoint = r;
|
|
128095
128095
|
}
|
|
@@ -128097,7 +128097,7 @@ class si {
|
|
|
128097
128097
|
@internal
|
|
128098
128098
|
*/
|
|
128099
128099
|
static create(e, t, n, r) {
|
|
128100
|
-
return new
|
|
128100
|
+
return new oi(e, t, n, r);
|
|
128101
128101
|
}
|
|
128102
128102
|
/**
|
|
128103
128103
|
@internal
|
|
@@ -128137,14 +128137,14 @@ class si {
|
|
|
128137
128137
|
if (t.length == 0 && !o)
|
|
128138
128138
|
return this;
|
|
128139
128139
|
if (n && (t = t.slice().sort(nT)), this.isEmpty)
|
|
128140
|
-
return t.length ?
|
|
128140
|
+
return t.length ? oi.of(t) : this;
|
|
128141
128141
|
let a = new QIe(this, null, -1).goto(0), l = 0, c = [], d = new Fv();
|
|
128142
128142
|
for (; a.value || l < t.length; )
|
|
128143
128143
|
if (l < t.length && (a.from - t[l].from || a.startSide - t[l].value.startSide) >= 0) {
|
|
128144
128144
|
let u = t[l++];
|
|
128145
128145
|
d.addInner(u.from, u.to, u.value) || c.push(u);
|
|
128146
128146
|
} else a.rangeIndex == 1 && a.chunkIndex < this.chunk.length && (l == t.length || this.chunkEnd(a.chunkIndex) < t[l].from) && (!o || r > this.chunkEnd(a.chunkIndex) || s < this.chunkPos[a.chunkIndex]) && d.addChunk(this.chunkPos[a.chunkIndex], this.chunk[a.chunkIndex]) ? a.nextChunk() : ((!o || r > a.to || s < a.from || o(a.from, a.to, a.value)) && (d.addInner(a.from, a.to, a.value) || c.push(Pv.create(a.from, a.to, a.value))), a.next());
|
|
128147
|
-
return d.finishInner(this.nextLayer.isEmpty && !c.length ?
|
|
128147
|
+
return d.finishInner(this.nextLayer.isEmpty && !c.length ? oi.empty : this.nextLayer.update({ add: c, filter: o, filterFrom: r, filterTo: s }));
|
|
128148
128148
|
}
|
|
128149
128149
|
/**
|
|
128150
128150
|
Map this range set through a set of changes, return the new set.
|
|
@@ -128163,7 +128163,7 @@ class si {
|
|
|
128163
128163
|
}
|
|
128164
128164
|
}
|
|
128165
128165
|
let s = this.nextLayer.map(e);
|
|
128166
|
-
return t.length == 0 ? s : new
|
|
128166
|
+
return t.length == 0 ? s : new oi(n, t, s || oi.empty, r);
|
|
128167
128167
|
}
|
|
128168
128168
|
/**
|
|
128169
128169
|
Iterate over the ranges that touch the region `from` to `to`,
|
|
@@ -128267,15 +128267,15 @@ class si {
|
|
|
128267
128267
|
*/
|
|
128268
128268
|
static join(e) {
|
|
128269
128269
|
if (!e.length)
|
|
128270
|
-
return
|
|
128270
|
+
return oi.empty;
|
|
128271
128271
|
let t = e[e.length - 1];
|
|
128272
128272
|
for (let n = e.length - 2; n >= 0; n--)
|
|
128273
|
-
for (let r = e[n]; r !=
|
|
128274
|
-
t = new
|
|
128273
|
+
for (let r = e[n]; r != oi.empty; r = r.nextLayer)
|
|
128274
|
+
t = new oi(r.chunkPos, r.chunk, t, Math.max(r.maxPoint, t.maxPoint));
|
|
128275
128275
|
return t;
|
|
128276
128276
|
}
|
|
128277
128277
|
}
|
|
128278
|
-
|
|
128278
|
+
oi.empty = /* @__PURE__ */ new oi([], [], null, -1);
|
|
128279
128279
|
function cOt(i) {
|
|
128280
128280
|
if (i.length > 1)
|
|
128281
128281
|
for (let e = i[0], t = 1; t < i.length; t++) {
|
|
@@ -128286,7 +128286,7 @@ function cOt(i) {
|
|
|
128286
128286
|
}
|
|
128287
128287
|
return i;
|
|
128288
128288
|
}
|
|
128289
|
-
|
|
128289
|
+
oi.empty.nextLayer = oi.empty;
|
|
128290
128290
|
class Fv {
|
|
128291
128291
|
finishChunk(e) {
|
|
128292
128292
|
this.chunks.push(new XV(this.from, this.to, this.value, this.maxPoint)), this.chunkPos.push(this.chunkStart), this.chunkStart = -1, this.setMaxPoint = Math.max(this.setMaxPoint, this.maxPoint), this.maxPoint = -1, e && (this.from = [], this.to = [], this.value = []);
|
|
@@ -128328,7 +128328,7 @@ class Fv {
|
|
|
128328
128328
|
used anymore after this has been called.
|
|
128329
128329
|
*/
|
|
128330
128330
|
finish() {
|
|
128331
|
-
return this.finishInner(
|
|
128331
|
+
return this.finishInner(oi.empty);
|
|
128332
128332
|
}
|
|
128333
128333
|
/**
|
|
128334
128334
|
@internal
|
|
@@ -128336,7 +128336,7 @@ class Fv {
|
|
|
128336
128336
|
finishInner(e) {
|
|
128337
128337
|
if (this.from.length && this.finishChunk(!1), this.chunks.length == 0)
|
|
128338
128338
|
return e;
|
|
128339
|
-
let t =
|
|
128339
|
+
let t = oi.create(this.chunkPos, this.chunks, this.nextLayer ? this.nextLayer.finishInner(e) : e, this.setMaxPoint);
|
|
128340
128340
|
return this.from = null, t;
|
|
128341
128341
|
}
|
|
128342
128342
|
}
|
|
@@ -129365,12 +129365,12 @@ class Uu extends Ti {
|
|
|
129365
129365
|
}
|
|
129366
129366
|
get overrideDOMText() {
|
|
129367
129367
|
if (this.length == 0)
|
|
129368
|
-
return
|
|
129368
|
+
return li.empty;
|
|
129369
129369
|
let e = this;
|
|
129370
129370
|
for (; e.parent; )
|
|
129371
129371
|
e = e.parent;
|
|
129372
129372
|
let { view: t } = e, n = t && t.state.doc, r = this.posAtStart;
|
|
129373
|
-
return n ? n.slice(r, r + this.length) :
|
|
129373
|
+
return n ? n.slice(r, r + this.length) : li.empty;
|
|
129374
129374
|
}
|
|
129375
129375
|
domAtPos(e) {
|
|
129376
129376
|
return (this.length ? e == 0 : this.side > 0) ? Os.before(this.dom) : Os.after(this.dom, e == this.length);
|
|
@@ -129441,7 +129441,7 @@ class H2 extends Ti {
|
|
|
129441
129441
|
return this.dom.getBoundingClientRect();
|
|
129442
129442
|
}
|
|
129443
129443
|
get overrideDOMText() {
|
|
129444
|
-
return
|
|
129444
|
+
return li.empty;
|
|
129445
129445
|
}
|
|
129446
129446
|
get isHidden() {
|
|
129447
129447
|
return !0;
|
|
@@ -129659,7 +129659,7 @@ class n1 extends Ti {
|
|
|
129659
129659
|
(!this.dom || !this.widget.updateDOM(this.dom, e)) && (this.dom && this.prevWidget && this.prevWidget.destroy(this.dom), this.prevWidget = null, this.setDOM(this.widget.toDOM(e)), this.widget.editable || (this.dom.contentEditable = "false"));
|
|
129660
129660
|
}
|
|
129661
129661
|
get overrideDOMText() {
|
|
129662
|
-
return this.parent ? this.parent.view.state.doc.slice(this.posAtStart, this.posAtEnd) :
|
|
129662
|
+
return this.parent ? this.parent.view.state.doc.slice(this.posAtStart, this.posAtEnd) : li.empty;
|
|
129663
129663
|
}
|
|
129664
129664
|
domBoundsAround() {
|
|
129665
129665
|
return null;
|
|
@@ -129777,7 +129777,7 @@ class r4 {
|
|
|
129777
129777
|
var nc = /* @__PURE__ */ function(i) {
|
|
129778
129778
|
return i[i.Text = 0] = "Text", i[i.WidgetBefore = 1] = "WidgetBefore", i[i.WidgetAfter = 2] = "WidgetAfter", i[i.WidgetRange = 3] = "WidgetRange", i;
|
|
129779
129779
|
}(nc || (nc = {}));
|
|
129780
|
-
class
|
|
129780
|
+
class hi extends R0 {
|
|
129781
129781
|
constructor(e, t, n, r) {
|
|
129782
129782
|
super(), this.startSide = e, this.endSide = t, this.widget = n, this.spec = r;
|
|
129783
129783
|
}
|
|
@@ -129834,7 +129834,7 @@ class ci extends R0 {
|
|
|
129834
129834
|
pass `true` for `sort` to make the library sort them for you.
|
|
129835
129835
|
*/
|
|
129836
129836
|
static set(e, t = !1) {
|
|
129837
|
-
return
|
|
129837
|
+
return oi.of(e, t);
|
|
129838
129838
|
}
|
|
129839
129839
|
/**
|
|
129840
129840
|
@internal
|
|
@@ -129843,8 +129843,8 @@ class ci extends R0 {
|
|
|
129843
129843
|
return this.widget ? this.widget.estimatedHeight > -1 : !1;
|
|
129844
129844
|
}
|
|
129845
129845
|
}
|
|
129846
|
-
|
|
129847
|
-
class s4 extends
|
|
129846
|
+
hi.none = oi.empty;
|
|
129847
|
+
class s4 extends hi {
|
|
129848
129848
|
constructor(e) {
|
|
129849
129849
|
let { start: t, end: n } = aOe(e);
|
|
129850
129850
|
super(t ? -1 : 5e8, n ? 1 : -6e8, null, e), this.tagName = e.tagName || "span", this.class = e.class || "", this.attrs = e.attributes || null;
|
|
@@ -129860,7 +129860,7 @@ class s4 extends ci {
|
|
|
129860
129860
|
}
|
|
129861
129861
|
}
|
|
129862
129862
|
s4.prototype.point = !1;
|
|
129863
|
-
class o4 extends
|
|
129863
|
+
class o4 extends hi {
|
|
129864
129864
|
constructor(e) {
|
|
129865
129865
|
super(-2e8, -2e8, null, e);
|
|
129866
129866
|
}
|
|
@@ -129875,7 +129875,7 @@ class o4 extends ci {
|
|
|
129875
129875
|
}
|
|
129876
129876
|
o4.prototype.mapMode = us.TrackBefore;
|
|
129877
129877
|
o4.prototype.point = !0;
|
|
129878
|
-
class _1 extends
|
|
129878
|
+
class _1 extends hi {
|
|
129879
129879
|
constructor(e, t, n, r, s, o) {
|
|
129880
129880
|
super(t, n, s, e), this.block = r, this.isReplace = o, this.mapMode = r ? t <= 0 ? us.TrackBefore : us.TrackAfter : us.TrackDel;
|
|
129881
129881
|
}
|
|
@@ -129975,7 +129975,7 @@ class Sw {
|
|
|
129975
129975
|
}
|
|
129976
129976
|
static build(e, t, n, r, s) {
|
|
129977
129977
|
let o = new Sw(e, t, n, s);
|
|
129978
|
-
return o.openEnd =
|
|
129978
|
+
return o.openEnd = oi.spans(r, t, n, o), o.openStart < 0 && (o.openStart = o.openEnd), o.finish(o.openEnd), o;
|
|
129979
129979
|
}
|
|
129980
129980
|
}
|
|
129981
129981
|
function q5(i, e) {
|
|
@@ -130300,7 +130300,7 @@ class Qg {
|
|
|
130300
130300
|
return this.range.to <= e.doc.length ? this : new Qg(He.cursor(e.doc.length), this.y, this.x, this.yMargin, this.xMargin, this.isSnapshot);
|
|
130301
130301
|
}
|
|
130302
130302
|
}
|
|
130303
|
-
const G5 = /* @__PURE__ */
|
|
130303
|
+
const G5 = /* @__PURE__ */ Xn.define({ map: (i, e) => i.map(e) });
|
|
130304
130304
|
function va(i, e, t) {
|
|
130305
130305
|
let n = i.facet(mOe);
|
|
130306
130306
|
n.length ? n[0](e) : window.onerror ? window.onerror(String(e), t, void 0, void 0, e) : t ? console.error(t + ":", e) : console.error(e);
|
|
@@ -130322,7 +130322,7 @@ class Ca {
|
|
|
130322
130322
|
let l = [HA.of(a)];
|
|
130323
130323
|
return o && l.push(Uv.of((c) => {
|
|
130324
130324
|
let d = c.plugin(a);
|
|
130325
|
-
return d ? o(d) :
|
|
130325
|
+
return d ? o(d) : hi.none;
|
|
130326
130326
|
})), s && l.push(s(a)), l;
|
|
130327
130327
|
});
|
|
130328
130328
|
}
|
|
@@ -130381,7 +130381,7 @@ function Iye(i, e) {
|
|
|
130381
130381
|
if (!t.length)
|
|
130382
130382
|
return t;
|
|
130383
130383
|
let n = t.map((s) => s instanceof Function ? s(i) : s), r = [];
|
|
130384
|
-
return
|
|
130384
|
+
return oi.spans(n, e.from, e.to, {
|
|
130385
130385
|
point() {
|
|
130386
130386
|
},
|
|
130387
130387
|
span(s, o, a, l) {
|
|
@@ -130780,7 +130780,7 @@ class Oye extends Ti {
|
|
|
130780
130780
|
let s = r == t.viewports.length ? null : t.viewports[r], o = s ? s.from - 1 : this.length;
|
|
130781
130781
|
if (o > n) {
|
|
130782
130782
|
let a = (t.lineBlockAt(o).bottom - t.lineBlockAt(n).top) / this.view.scaleY;
|
|
130783
|
-
e.push(
|
|
130783
|
+
e.push(hi.replace({
|
|
130784
130784
|
widget: new Rye(a),
|
|
130785
130785
|
block: !0,
|
|
130786
130786
|
inclusive: !0,
|
|
@@ -130791,14 +130791,14 @@ class Oye extends Ti {
|
|
|
130791
130791
|
break;
|
|
130792
130792
|
n = s.to + 1;
|
|
130793
130793
|
}
|
|
130794
|
-
return
|
|
130794
|
+
return hi.set(e);
|
|
130795
130795
|
}
|
|
130796
130796
|
updateDeco() {
|
|
130797
130797
|
let e = this.view.state.facet(Uv).map((r, s) => (this.dynamicDecorationMap[s] = typeof r == "function") ? r(this.view) : r), t = !1, n = this.view.state.facet(yOe).map((r, s) => {
|
|
130798
130798
|
let o = typeof r == "function";
|
|
130799
130799
|
return o && (t = !0), o ? r(this.view) : r;
|
|
130800
130800
|
});
|
|
130801
|
-
n.length && (this.dynamicDecorationMap[e.length] = t, e.push(
|
|
130801
|
+
n.length && (this.dynamicDecorationMap[e.length] = t, e.push(oi.join(n)));
|
|
130802
130802
|
for (let r = e.length; r < e.length + 3; r++)
|
|
130803
130803
|
this.dynamicDecorationMap[r] = !1;
|
|
130804
130804
|
return this.decorations = [
|
|
@@ -130925,7 +130925,7 @@ let zOt = class {
|
|
|
130925
130925
|
};
|
|
130926
130926
|
function WOt(i, e, t) {
|
|
130927
130927
|
let n = new zOt();
|
|
130928
|
-
return
|
|
130928
|
+
return oi.compare(i, e, t, n), n.changes;
|
|
130929
130929
|
}
|
|
130930
130930
|
function jOt(i, e) {
|
|
130931
130931
|
for (let t = i; t && t != e; t = t.assignedSlot || t.parentNode)
|
|
@@ -131658,7 +131658,7 @@ function mRt(i) {
|
|
|
131658
131658
|
const Yye = ["pre-wrap", "normal", "pre-line", "break-spaces"];
|
|
131659
131659
|
class ARt {
|
|
131660
131660
|
constructor(e) {
|
|
131661
|
-
this.lineWrapping = e, this.doc =
|
|
131661
|
+
this.lineWrapping = e, this.doc = li.empty, this.heightSamples = {}, this.lineHeight = 14, this.charWidth = 7, this.textHeight = 14, this.lineLength = 30, this.heightChanged = !1;
|
|
131662
131662
|
}
|
|
131663
131663
|
heightForGap(e, t) {
|
|
131664
131664
|
let n = this.doc.lineAt(t).number - this.doc.lineAt(e).number + 1;
|
|
@@ -132085,12 +132085,12 @@ class rB {
|
|
|
132085
132085
|
// to each other.
|
|
132086
132086
|
static build(e, t, n, r) {
|
|
132087
132087
|
let s = new rB(n, e);
|
|
132088
|
-
return
|
|
132088
|
+
return oi.spans(t, n, r, s, 0), s.finish(n);
|
|
132089
132089
|
}
|
|
132090
132090
|
}
|
|
132091
132091
|
function yRt(i, e, t) {
|
|
132092
132092
|
let n = new CRt();
|
|
132093
|
-
return
|
|
132093
|
+
return oi.compare(i, e, t, n, 0), n.changes;
|
|
132094
132094
|
}
|
|
132095
132095
|
class CRt {
|
|
132096
132096
|
constructor() {
|
|
@@ -132147,7 +132147,7 @@ class TS {
|
|
|
132147
132147
|
return !0;
|
|
132148
132148
|
}
|
|
132149
132149
|
draw(e, t) {
|
|
132150
|
-
return
|
|
132150
|
+
return hi.replace({
|
|
132151
132151
|
widget: new xRt(this.size * (t ? e.scaleY : e.scaleX), t)
|
|
132152
132152
|
}).range(this.from, this.to);
|
|
132153
132153
|
}
|
|
@@ -132171,7 +132171,7 @@ class Jye {
|
|
|
132171
132171
|
constructor(e) {
|
|
132172
132172
|
this.state = e, this.pixelViewport = { left: 0, right: window.innerWidth, top: 0, bottom: 0 }, this.inView = !0, this.paddingTop = 0, this.paddingBottom = 0, this.contentDOMWidth = 0, this.contentDOMHeight = 0, this.editorHeight = 0, this.editorWidth = 0, this.scrollTop = 0, this.scrolledToBottom = !0, this.scaleX = 1, this.scaleY = 1, this.scrollAnchorPos = 0, this.scrollAnchorHeight = -1, this.scaler = $ye, this.scrollTarget = null, this.printing = !1, this.mustMeasureContent = !0, this.defaultTextDirection = tr.LTR, this.visibleRanges = [], this.mustEnforceCursorAssoc = !1;
|
|
132173
132173
|
let t = e.facet(nB).some((n) => typeof n != "function" && n.class == "cm-lineWrapping");
|
|
132174
|
-
this.heightOracle = new ARt(t), this.stateDeco = e.facet(Uv).filter((n) => typeof n != "function"), this.heightMap = so.empty().applyChanges(this.stateDeco,
|
|
132174
|
+
this.heightOracle = new ARt(t), this.stateDeco = e.facet(Uv).filter((n) => typeof n != "function"), this.heightMap = so.empty().applyChanges(this.stateDeco, li.empty, this.heightOracle.setDoc(e.doc), [new dl(0, 0, 0, e.doc.length)]), this.viewport = this.getViewport(0, null), this.updateViewportLines(), this.updateForViewport(), this.lineGaps = this.ensureLineGaps([]), this.lineGapDeco = hi.set(this.lineGaps.map((n) => n.draw(this, !1))), this.computeVisibleRanges();
|
|
132175
132175
|
}
|
|
132176
132176
|
updateForViewport() {
|
|
132177
132177
|
let e = [this.viewport], { main: t } = this.state.selection;
|
|
@@ -132229,7 +132229,7 @@ class Jye {
|
|
|
132229
132229
|
m > 0 && A > 0 ? d = Math.max(m, A) : m < 0 && A < 0 && (d = Math.min(m, A)), r.heightChanged = !1;
|
|
132230
132230
|
for (let S of this.viewports) {
|
|
132231
132231
|
let M = S.from == this.viewport.from ? y : e.docView.measureVisibleLineHeights(S);
|
|
132232
|
-
this.heightMap = (o ? so.empty().applyChanges(this.stateDeco,
|
|
132232
|
+
this.heightMap = (o ? so.empty().applyChanges(this.stateDeco, li.empty, this.heightOracle, [new dl(0, 0, 0, e.state.doc.length)]) : this.heightMap).updateHeight(r, 0, o, new wRt(S.from, M));
|
|
132233
132233
|
}
|
|
132234
132234
|
r.heightChanged && (c |= 2);
|
|
132235
132235
|
}
|
|
@@ -132345,13 +132345,13 @@ class Jye {
|
|
|
132345
132345
|
return this.heightOracle.lineWrapping ? e.height * s : r.total * this.heightOracle.charWidth * s;
|
|
132346
132346
|
}
|
|
132347
132347
|
updateLineGaps(e) {
|
|
132348
|
-
TS.same(e, this.lineGaps) || (this.lineGaps = e, this.lineGapDeco =
|
|
132348
|
+
TS.same(e, this.lineGaps) || (this.lineGaps = e, this.lineGapDeco = hi.set(e.map((t) => t.draw(this, this.heightOracle.lineWrapping))));
|
|
132349
132349
|
}
|
|
132350
132350
|
computeVisibleRanges() {
|
|
132351
132351
|
let e = this.stateDeco;
|
|
132352
132352
|
this.lineGaps.length && (e = e.concat(this.lineGapDeco));
|
|
132353
132353
|
let t = [];
|
|
132354
|
-
|
|
132354
|
+
oi.spans(e, this.viewport.from, this.viewport.to, {
|
|
132355
132355
|
span(r, s) {
|
|
132356
132356
|
t.push({ from: r, to: s });
|
|
132357
132357
|
},
|
|
@@ -132388,7 +132388,7 @@ class Y5 {
|
|
|
132388
132388
|
}
|
|
132389
132389
|
function SRt(i, e, t) {
|
|
132390
132390
|
let n = [], r = i, s = 0;
|
|
132391
|
-
return
|
|
132391
|
+
return oi.spans(t, i, e, {
|
|
132392
132392
|
span() {
|
|
132393
132393
|
},
|
|
132394
132394
|
point(o, a) {
|
|
@@ -132839,7 +132839,7 @@ function zOe(i, e) {
|
|
|
132839
132839
|
d && (ft.chrome && s == 13 && d.toB == d.from + 2 && e.text.slice(d.from, d.toB) == zA + zA && d.toB--, t = {
|
|
132840
132840
|
from: o + d.from,
|
|
132841
132841
|
to: o + d.toA,
|
|
132842
|
-
insert:
|
|
132842
|
+
insert: li.of(e.text.slice(d.from, d.toB).split(zA))
|
|
132843
132843
|
});
|
|
132844
132844
|
} else n && (!i.hasFocus && i.state.facet(v7) || n.main.eq(r)) && (n = null);
|
|
132845
132845
|
if (!t && !n)
|
|
@@ -132848,8 +132848,8 @@ function zOe(i, e) {
|
|
|
132848
132848
|
from: r.from,
|
|
132849
132849
|
to: r.to,
|
|
132850
132850
|
insert: i.state.doc.slice(r.from, t.from).append(t.insert).append(i.state.doc.slice(t.to, r.to))
|
|
132851
|
-
} : (ft.mac || ft.android) && t && t.from == t.to && t.from == r.head - 1 && /^\. ?$/.test(t.insert.toString()) && i.contentDOM.getAttribute("autocorrect") == "off" ? (n && t.insert.length == 2 && (n = He.single(n.main.anchor - 1, n.main.head - 1)), t = { from: r.from, to: r.to, insert:
|
|
132852
|
-
` && i.lineWrapping && (n && (n = He.single(n.main.anchor - 1, n.main.head - 1)), t = { from: r.from, to: r.to, insert:
|
|
132851
|
+
} : (ft.mac || ft.android) && t && t.from == t.to && t.from == r.head - 1 && /^\. ?$/.test(t.insert.toString()) && i.contentDOM.getAttribute("autocorrect") == "off" ? (n && t.insert.length == 2 && (n = He.single(n.main.anchor - 1, n.main.head - 1)), t = { from: r.from, to: r.to, insert: li.of([" "]) }) : ft.chrome && t && t.from == t.to && t.from == r.head && t.insert.toString() == `
|
|
132852
|
+
` && i.lineWrapping && (n && (n = He.single(n.main.anchor - 1, n.main.head - 1)), t = { from: r.from, to: r.to, insert: li.of([" "]) }), t) {
|
|
132853
132853
|
if (ft.ios && i.inputState.flushIOSKey() || ft.android && (t.from == r.from && t.to == r.to && t.insert.length == 1 && t.insert.lines == 2 && Gg(i.contentDOM, "Enter", 13) || (t.from == r.from - 1 && t.to == r.to && t.insert.length == 0 || s == 8 && t.insert.length < t.to - t.from && t.to > r.head) && Gg(i.contentDOM, "Backspace", 8) || t.from == r.from && t.to == r.to + 1 && t.insert.length == 0 && Gg(i.contentDOM, "Delete", 46)))
|
|
132854
132854
|
return !0;
|
|
132855
132855
|
let o = t.insert.toString();
|
|
@@ -133900,7 +133900,7 @@ st.cspNonce = /* @__PURE__ */ bt.define({ combine: (i) => i.length ? i[0] : "" }
|
|
|
133900
133900
|
st.contentAttributes = nB;
|
|
133901
133901
|
st.editorAttributes = bOe;
|
|
133902
133902
|
st.lineWrapping = /* @__PURE__ */ st.contentAttributes.of({ class: "cm-lineWrapping" });
|
|
133903
|
-
st.announce = /* @__PURE__ */
|
|
133903
|
+
st.announce = /* @__PURE__ */ Xn.define();
|
|
133904
133904
|
const FRt = 4096, iCe = {};
|
|
133905
133905
|
class K9 {
|
|
133906
133906
|
constructor(e, t, n, r, s, o) {
|
|
@@ -134425,7 +134425,7 @@ function eVt(i, e, t, n, r, s) {
|
|
|
134425
134425
|
return l >= e && l <= t;
|
|
134426
134426
|
}
|
|
134427
134427
|
function tVt(i, e = {}) {
|
|
134428
|
-
let t =
|
|
134428
|
+
let t = Xn.define(), n = ka.define({
|
|
134429
134429
|
create() {
|
|
134430
134430
|
return null;
|
|
134431
134431
|
},
|
|
@@ -134465,7 +134465,7 @@ function ZOe(i, e) {
|
|
|
134465
134465
|
let n = t.manager.tooltips.indexOf(e);
|
|
134466
134466
|
return n < 0 ? null : t.manager.tooltipViews[n];
|
|
134467
134467
|
}
|
|
134468
|
-
const nVt = /* @__PURE__ */
|
|
134468
|
+
const nVt = /* @__PURE__ */ Xn.define(), aCe = /* @__PURE__ */ bt.define({
|
|
134469
134469
|
combine(i) {
|
|
134470
134470
|
let e, t;
|
|
134471
134471
|
for (let n of i)
|
|
@@ -134605,7 +134605,7 @@ const sVt = /* @__PURE__ */ Ca.fromClass(class {
|
|
|
134605
134605
|
syncGutters(i) {
|
|
134606
134606
|
let e = this.dom.nextSibling;
|
|
134607
134607
|
i && this.dom.remove();
|
|
134608
|
-
let t =
|
|
134608
|
+
let t = oi.iter(this.view.state.facet(OS), this.view.viewport.from), n = [], r = this.gutters.map((s) => new oVt(s, this.view.viewport, -this.view.documentPadding.top));
|
|
134609
134609
|
for (let s of this.view.viewportLineBlocks)
|
|
134610
134610
|
if (n.length && (n = []), Array.isArray(s.type)) {
|
|
134611
134611
|
let o = !0;
|
|
@@ -134630,7 +134630,7 @@ const sVt = /* @__PURE__ */ Ca.fromClass(class {
|
|
|
134630
134630
|
i && this.view.scrollDOM.insertBefore(this.dom, e);
|
|
134631
134631
|
}
|
|
134632
134632
|
updateGutters(i) {
|
|
134633
|
-
let e = i.startState.facet(gb), t = i.state.facet(gb), n = i.docChanged || i.heightChanged || i.viewportChanged || !
|
|
134633
|
+
let e = i.startState.facet(gb), t = i.state.facet(gb), n = i.docChanged || i.heightChanged || i.viewportChanged || !oi.eq(i.startState.facet(OS), i.state.facet(OS), i.view.viewport.from, i.view.viewport.to);
|
|
134634
134634
|
if (e == t)
|
|
134635
134635
|
for (let r of this.gutters)
|
|
134636
134636
|
r.update(i) && (n = !0);
|
|
@@ -134669,7 +134669,7 @@ function ET(i, e, t) {
|
|
|
134669
134669
|
}
|
|
134670
134670
|
class oVt {
|
|
134671
134671
|
constructor(e, t, n) {
|
|
134672
|
-
this.gutter = e, this.height = n, this.i = 0, this.cursor =
|
|
134672
|
+
this.gutter = e, this.height = n, this.i = 0, this.cursor = oi.iter(e.markers, t.from);
|
|
134673
134673
|
}
|
|
134674
134674
|
addElement(e, t, n) {
|
|
134675
134675
|
let { gutter: r } = this, s = (t.top - this.height) / e.scaleY, o = t.height / e.scaleY;
|
|
@@ -134725,7 +134725,7 @@ class dCe {
|
|
|
134725
134725
|
r != this.spacer.markers[0] && this.spacer.update(e.view, 0, 0, [r]);
|
|
134726
134726
|
}
|
|
134727
134727
|
let n = e.view.viewport;
|
|
134728
|
-
return !
|
|
134728
|
+
return !oi.eq(this.markers, t, n.from, n.to) || (this.config.lineMarkerChange ? this.config.lineMarkerChange(e) : !1);
|
|
134729
134729
|
}
|
|
134730
134730
|
destroy() {
|
|
134731
134731
|
for (let e of this.elements)
|
|
@@ -134917,7 +134917,7 @@ class Kl {
|
|
|
134917
134917
|
}
|
|
134918
134918
|
for (let l = 0; l < s.children.length; l++) {
|
|
134919
134919
|
let c = s.children[l];
|
|
134920
|
-
c instanceof
|
|
134920
|
+
c instanceof ci && r(c, s.positions[l] + o);
|
|
134921
134921
|
}
|
|
134922
134922
|
};
|
|
134923
134923
|
return r(Zr(e), 0), n;
|
|
@@ -134930,7 +134930,7 @@ class Kl {
|
|
|
134930
134930
|
return !0;
|
|
134931
134931
|
}
|
|
134932
134932
|
}
|
|
134933
|
-
Kl.setState = /* @__PURE__ */
|
|
134933
|
+
Kl.setState = /* @__PURE__ */ Xn.define();
|
|
134934
134934
|
function fCe(i, e, t) {
|
|
134935
134935
|
let n = i.facet(F2), r = Zr(i).topNode;
|
|
134936
134936
|
if (!n || n.allowsNesting)
|
|
@@ -134964,7 +134964,7 @@ class qv extends Kl {
|
|
|
134964
134964
|
}
|
|
134965
134965
|
function Zr(i) {
|
|
134966
134966
|
let e = i.field(Kl.state, !1);
|
|
134967
|
-
return e ? e.tree :
|
|
134967
|
+
return e ? e.tree : ci.empty;
|
|
134968
134968
|
}
|
|
134969
134969
|
class uVt {
|
|
134970
134970
|
/**
|
|
@@ -134999,7 +134999,7 @@ class X9 {
|
|
|
134999
134999
|
@internal
|
|
135000
135000
|
*/
|
|
135001
135001
|
static create(e, t, n) {
|
|
135002
|
-
return new X9(e, t, [],
|
|
135002
|
+
return new X9(e, t, [], ci.empty, 0, n, [], null);
|
|
135003
135003
|
}
|
|
135004
135004
|
startParse() {
|
|
135005
135005
|
return this.parser.startParse(new uVt(this.state.doc), this.fragments);
|
|
@@ -135008,7 +135008,7 @@ class X9 {
|
|
|
135008
135008
|
@internal
|
|
135009
135009
|
*/
|
|
135010
135010
|
work(e, t) {
|
|
135011
|
-
return t != null && t >= this.state.doc.length && (t = void 0), this.tree !=
|
|
135011
|
+
return t != null && t >= this.state.doc.length && (t = void 0), this.tree != ci.empty && this.isDone(t ?? this.state.doc.length) ? (this.takeTree(), !0) : this.withContext(() => {
|
|
135012
135012
|
var n;
|
|
135013
135013
|
if (typeof e == "number") {
|
|
135014
135014
|
let r = Date.now() + e;
|
|
@@ -135057,7 +135057,7 @@ class X9 {
|
|
|
135057
135057
|
let { fragments: n, tree: r, treeLen: s, viewport: o, skipped: a } = this;
|
|
135058
135058
|
if (this.takeTree(), !e.empty) {
|
|
135059
135059
|
let l = [];
|
|
135060
|
-
if (e.iterChangedRanges((c, d, u, f) => l.push({ fromA: c, toA: d, fromB: u, toB: f })), n = Id.applyChanges(n, l), r =
|
|
135060
|
+
if (e.iterChangedRanges((c, d, u, f) => l.push({ fromA: c, toA: d, fromB: u, toB: f })), n = Id.applyChanges(n, l), r = ci.empty, s = 0, o = { from: e.mapPos(o.from, -1), to: e.mapPos(o.to, 1) }, this.skipped.length) {
|
|
135061
135061
|
a = [];
|
|
135062
135062
|
for (let c of this.skipped) {
|
|
135063
135063
|
let d = e.mapPos(c.from, 1), u = e.mapPos(c.to, -1);
|
|
@@ -135117,7 +135117,7 @@ class X9 {
|
|
|
135117
135117
|
l.tempSkipped.push(c);
|
|
135118
135118
|
e && (l.scheduleOn = l.scheduleOn ? Promise.all([l.scheduleOn, e]) : e);
|
|
135119
135119
|
}
|
|
135120
|
-
return this.parsedPos = o, new
|
|
135120
|
+
return this.parsedPos = o, new ci(jr.none, [], [], o - s);
|
|
135121
135121
|
},
|
|
135122
135122
|
stoppedAt: null,
|
|
135123
135123
|
stopAt() {
|
|
@@ -135571,11 +135571,11 @@ class EVt {
|
|
|
135571
135571
|
}
|
|
135572
135572
|
buildDeco(e, t) {
|
|
135573
135573
|
if (!t || !this.tree.length)
|
|
135574
|
-
return
|
|
135574
|
+
return hi.none;
|
|
135575
135575
|
let n = new Fv();
|
|
135576
135576
|
for (let { from: r, to: s } of e.visibleRanges)
|
|
135577
135577
|
FTt(this.tree, t, (o, a, l) => {
|
|
135578
|
-
n.add(o, a, this.markCache[l] || (this.markCache[l] =
|
|
135578
|
+
n.add(o, a, this.markCache[l] || (this.markCache[l] = hi.mark({ class: l })));
|
|
135579
135579
|
}, r, s);
|
|
135580
135580
|
return n.finish();
|
|
135581
135581
|
}
|
|
@@ -135596,14 +135596,14 @@ const xVt = /* @__PURE__ */ st.baseTheme({
|
|
|
135596
135596
|
renderMatch: MVt
|
|
135597
135597
|
});
|
|
135598
135598
|
}
|
|
135599
|
-
}), SVt = /* @__PURE__ */
|
|
135599
|
+
}), SVt = /* @__PURE__ */ hi.mark({ class: "cm-matchingBracket" }), DVt = /* @__PURE__ */ hi.mark({ class: "cm-nonmatchingBracket" });
|
|
135600
135600
|
function MVt(i) {
|
|
135601
135601
|
let e = [], t = i.matched ? SVt : DVt;
|
|
135602
135602
|
return e.push(t.range(i.start.from, i.start.to)), i.end && e.push(t.range(i.end.from, i.end.to)), e;
|
|
135603
135603
|
}
|
|
135604
135604
|
const LVt = /* @__PURE__ */ ka.define({
|
|
135605
135605
|
create() {
|
|
135606
|
-
return
|
|
135606
|
+
return hi.none;
|
|
135607
135607
|
},
|
|
135608
135608
|
update(i, e) {
|
|
135609
135609
|
if (!e.docChanged && !e.selection)
|
|
@@ -135615,7 +135615,7 @@ const LVt = /* @__PURE__ */ ka.define({
|
|
|
135615
135615
|
let s = nh(e.state, r.head, -1, n) || r.head > 0 && nh(e.state, r.head - 1, 1, n) || n.afterCursor && (nh(e.state, r.head, 1, n) || r.head < e.state.doc.length && nh(e.state, r.head + 1, -1, n));
|
|
135616
135616
|
s && (t = t.concat(n.renderMatch(s, e.state)));
|
|
135617
135617
|
}
|
|
135618
|
-
return
|
|
135618
|
+
return hi.set(t, !0);
|
|
135619
135619
|
},
|
|
135620
135620
|
provide: (i) => st.decorations.from(i)
|
|
135621
135621
|
}), kVt = [
|
|
@@ -135842,7 +135842,7 @@ function PVt(i) {
|
|
|
135842
135842
|
let e = yCe.get(i);
|
|
135843
135843
|
return e || yCe.set(i, e = cB(i)), e;
|
|
135844
135844
|
}
|
|
135845
|
-
const $9 = /* @__PURE__ */
|
|
135845
|
+
const $9 = /* @__PURE__ */ Xn.define(), Qv = /* @__PURE__ */ Xn.define();
|
|
135846
135846
|
class FVt {
|
|
135847
135847
|
constructor(e) {
|
|
135848
135848
|
this.pattern = e, this.chars = [], this.folded = [], this.any = [], this.precise = [], this.byWord = [], this.score = 0, this.matched = [];
|
|
@@ -136394,11 +136394,11 @@ function XVt(i, e, t, n) {
|
|
|
136394
136394
|
let r = e.sliceDoc(t, n);
|
|
136395
136395
|
return typeof i == "function" ? i(r, t, n, e) : sRe(i, !0).test(r);
|
|
136396
136396
|
}
|
|
136397
|
-
const oRe = /* @__PURE__ */
|
|
136397
|
+
const oRe = /* @__PURE__ */ Xn.define({
|
|
136398
136398
|
map(i, e) {
|
|
136399
136399
|
return i.map((t) => t.map(e));
|
|
136400
136400
|
}
|
|
136401
|
-
}), aRe = /* @__PURE__ */
|
|
136401
|
+
}), aRe = /* @__PURE__ */ Xn.define(), _o = /* @__PURE__ */ ka.define({
|
|
136402
136402
|
create() {
|
|
136403
136403
|
return ey.start();
|
|
136404
136404
|
},
|
|
@@ -136730,7 +136730,7 @@ class fB {
|
|
|
136730
136730
|
return new fB(n, r);
|
|
136731
136731
|
}
|
|
136732
136732
|
}
|
|
136733
|
-
let cBt = /* @__PURE__ */
|
|
136733
|
+
let cBt = /* @__PURE__ */ hi.widget({ widget: /* @__PURE__ */ new class extends r4 {
|
|
136734
136734
|
toDOM() {
|
|
136735
136735
|
let i = document.createElement("span");
|
|
136736
136736
|
return i.className = "cm-snippetFieldPosition", i;
|
|
@@ -136738,10 +136738,10 @@ let cBt = /* @__PURE__ */ ci.widget({ widget: /* @__PURE__ */ new class extends
|
|
|
136738
136738
|
ignoreEvent() {
|
|
136739
136739
|
return !1;
|
|
136740
136740
|
}
|
|
136741
|
-
}() }), hBt = /* @__PURE__ */
|
|
136741
|
+
}() }), hBt = /* @__PURE__ */ hi.mark({ class: "cm-snippetField" });
|
|
136742
136742
|
class Mm {
|
|
136743
136743
|
constructor(e, t) {
|
|
136744
|
-
this.ranges = e, this.active = t, this.deco =
|
|
136744
|
+
this.ranges = e, this.active = t, this.deco = hi.set(e.map((n) => (n.from == n.to ? cBt : hBt).range(n.from, n.to)));
|
|
136745
136745
|
}
|
|
136746
136746
|
map(e) {
|
|
136747
136747
|
let t = [];
|
|
@@ -136757,11 +136757,11 @@ class Mm {
|
|
|
136757
136757
|
return e.ranges.every((t) => this.ranges.some((n) => n.field == this.active && n.from <= t.from && n.to >= t.to));
|
|
136758
136758
|
}
|
|
136759
136759
|
}
|
|
136760
|
-
const l4 = /* @__PURE__ */
|
|
136760
|
+
const l4 = /* @__PURE__ */ Xn.define({
|
|
136761
136761
|
map(i, e) {
|
|
136762
136762
|
return i && i.map(e);
|
|
136763
136763
|
}
|
|
136764
|
-
}), dBt = /* @__PURE__ */
|
|
136764
|
+
}), dBt = /* @__PURE__ */ Xn.define(), Kv = /* @__PURE__ */ ka.define({
|
|
136765
136765
|
create() {
|
|
136766
136766
|
return null;
|
|
136767
136767
|
},
|
|
@@ -136774,7 +136774,7 @@ const l4 = /* @__PURE__ */ Kn.define({
|
|
|
136774
136774
|
}
|
|
136775
136775
|
return i && e.docChanged && (i = i.map(e.changes)), i && e.selection && !i.selectionInsideField(e.selection) && (i = null), i;
|
|
136776
136776
|
},
|
|
136777
|
-
provide: (i) => st.decorations.from(i, (e) => e ? e.deco :
|
|
136777
|
+
provide: (i) => st.decorations.from(i, (e) => e ? e.deco : hi.none)
|
|
136778
136778
|
});
|
|
136779
136779
|
function pB(i, e) {
|
|
136780
136780
|
return He.create(i.filter((t) => t.field == e).map((t) => He.range(t.from, t.to)));
|
|
@@ -136783,13 +136783,13 @@ function uBt(i) {
|
|
|
136783
136783
|
let e = fB.parse(i);
|
|
136784
136784
|
return (t, n, r, s) => {
|
|
136785
136785
|
let { text: o, ranges: a } = e.instantiate(t.state, r), l = {
|
|
136786
|
-
changes: { from: r, to: s, insert:
|
|
136786
|
+
changes: { from: r, to: s, insert: li.of(o) },
|
|
136787
136787
|
scrollIntoView: !0,
|
|
136788
136788
|
annotations: n ? [hB.of(n), As.userEvent.of("input.complete")] : void 0
|
|
136789
136789
|
};
|
|
136790
136790
|
if (a.length && (l.selection = pB(a, 0)), a.some((c) => c.field > 0)) {
|
|
136791
136791
|
let c = new Mm(a, 0), d = l.effects = [l4.of(c)];
|
|
136792
|
-
t.state.field(Kv, !1) === void 0 && d.push(
|
|
136792
|
+
t.state.field(Kv, !1) === void 0 && d.push(Xn.appendConfig.of([Kv, ABt, wBt, lRe]));
|
|
136793
136793
|
}
|
|
136794
136794
|
t.dispatch(t.state.update(l));
|
|
136795
136795
|
};
|
|
@@ -136834,7 +136834,7 @@ const wBt = /* @__PURE__ */ st.domEventHandlers({
|
|
|
136834
136834
|
brackets: ["(", "[", "{", "'", '"'],
|
|
136835
136835
|
before: ")]}:;>",
|
|
136836
136836
|
stringPrefixes: []
|
|
136837
|
-
}, Zf = /* @__PURE__ */
|
|
136837
|
+
}, Zf = /* @__PURE__ */ Xn.define({
|
|
136838
136838
|
map(i, e) {
|
|
136839
136839
|
let t = e.mapPos(i, -1, us.TrackAfter);
|
|
136840
136840
|
return t ?? void 0;
|
|
@@ -136845,7 +136845,7 @@ gB.startSide = 1;
|
|
|
136845
136845
|
gB.endSide = -1;
|
|
136846
136846
|
const hRe = /* @__PURE__ */ ka.define({
|
|
136847
136847
|
create() {
|
|
136848
|
-
return
|
|
136848
|
+
return oi.empty;
|
|
136849
136849
|
},
|
|
136850
136850
|
update(i, e) {
|
|
136851
136851
|
if (i = i.map(e.changes), e.selection) {
|
|
@@ -137347,7 +137347,7 @@ const NRe = (i, e) => c4(i, (t) => {
|
|
|
137347
137347
|
if (i.readOnly)
|
|
137348
137348
|
return !1;
|
|
137349
137349
|
let t = i.changeByRange((n) => ({
|
|
137350
|
-
changes: { from: n.from, to: n.to, insert:
|
|
137350
|
+
changes: { from: n.from, to: n.to, insert: li.of(["", ""]) },
|
|
137351
137351
|
range: He.cursor(n.from)
|
|
137352
137352
|
}));
|
|
137353
137353
|
return e(i.update(t, { scrollIntoView: !0, userEvent: "input" })), !0;
|
|
@@ -137438,7 +137438,7 @@ function BRe(i) {
|
|
|
137438
137438
|
l ? { from: s, to: o } = l : s > a.from && s < a.from + 100 && !/\S/.test(a.text.slice(0, s)) && (s = a.from);
|
|
137439
137439
|
let u = ["", Gv(e, d)];
|
|
137440
137440
|
return l && u.push(Gv(e, c.lineIndent(a.from, -1))), {
|
|
137441
|
-
changes: { from: s, to: o, insert:
|
|
137441
|
+
changes: { from: s, to: o, insert: li.of(u) },
|
|
137442
137442
|
range: He.cursor(s + 1 + u[1].length)
|
|
137443
137443
|
};
|
|
137444
137444
|
});
|
|
@@ -137581,10 +137581,10 @@ class If {
|
|
|
137581
137581
|
static init(e, t, n) {
|
|
137582
137582
|
let r = e, s = n.facet(Uf).markerFilter;
|
|
137583
137583
|
s && (r = s(r));
|
|
137584
|
-
let o =
|
|
137584
|
+
let o = hi.set(r.map((a) => a.from == a.to || a.from == a.to - 1 && n.doc.lineAt(a.from).to == a.from ? hi.widget({
|
|
137585
137585
|
widget: new HHt(a),
|
|
137586
137586
|
diagnostic: a
|
|
137587
|
-
}).range(a.from) :
|
|
137587
|
+
}).range(a.from) : hi.mark({
|
|
137588
137588
|
attributes: { class: "cm-lintRange cm-lintRange-" + a.severity + (a.markClass ? " " + a.markClass : "") },
|
|
137589
137589
|
diagnostic: a
|
|
137590
137590
|
}).range(a.from, a.to)), !0);
|
|
@@ -137603,16 +137603,16 @@ function NHt(i, e) {
|
|
|
137603
137603
|
return !!(i.effects.some((n) => n.is(h4)) || i.changes.touchesRange(t.from, t.to));
|
|
137604
137604
|
}
|
|
137605
137605
|
function THt(i, e) {
|
|
137606
|
-
return i.field(Yl, !1) ? e : e.concat(
|
|
137606
|
+
return i.field(Yl, !1) ? e : e.concat(Xn.appendConfig.of(URe));
|
|
137607
137607
|
}
|
|
137608
137608
|
function IHt(i, e) {
|
|
137609
137609
|
return {
|
|
137610
137610
|
effects: THt(i, [h4.of(e)])
|
|
137611
137611
|
};
|
|
137612
137612
|
}
|
|
137613
|
-
const h4 = /* @__PURE__ */
|
|
137613
|
+
const h4 = /* @__PURE__ */ Xn.define(), FRe = /* @__PURE__ */ Xn.define(), zRe = /* @__PURE__ */ Xn.define(), Yl = /* @__PURE__ */ ka.define({
|
|
137614
137614
|
create() {
|
|
137615
|
-
return new If(
|
|
137615
|
+
return new If(hi.none, null, null);
|
|
137616
137616
|
},
|
|
137617
137617
|
update(i, e) {
|
|
137618
137618
|
if (e.docChanged) {
|
|
@@ -137631,7 +137631,7 @@ const h4 = /* @__PURE__ */ Kn.define(), FRe = /* @__PURE__ */ Kn.define(), zRe =
|
|
|
137631
137631
|
CT.from(i, (e) => e.panel),
|
|
137632
137632
|
st.decorations.from(i, (e) => e.diagnostics)
|
|
137633
137633
|
]
|
|
137634
|
-
}), OHt = /* @__PURE__ */
|
|
137634
|
+
}), OHt = /* @__PURE__ */ hi.mark({ class: "cm-lintRange cm-lintRange-active" });
|
|
137635
137635
|
function RHt(i, e, t) {
|
|
137636
137636
|
let { diagnostics: n } = i.state.field(Yl), r = [], s = 2e8, o = 0;
|
|
137637
137637
|
n.between(e - (t < 0 ? 1 : 0), e + (t > 0 ? 1 : 0), (l, c, { spec: d }) => {
|
|
@@ -137966,7 +137966,7 @@ const FHt = /* @__PURE__ */ st.baseTheme({
|
|
|
137966
137966
|
Yl,
|
|
137967
137967
|
/* @__PURE__ */ st.decorations.compute([Yl], (i) => {
|
|
137968
137968
|
let { selected: e, panel: t } = i.field(Yl);
|
|
137969
|
-
return !e || !t || e.from == e.to ?
|
|
137969
|
+
return !e || !t || e.from == e.to ? hi.none : hi.set([
|
|
137970
137970
|
OHt.range(e.from, e.to)
|
|
137971
137971
|
]);
|
|
137972
137972
|
}),
|
|
@@ -137982,12 +137982,12 @@ class ny {
|
|
|
137982
137982
|
this.type = e, this.value = t, this.from = n, this.hash = r, this.end = s, this.children = o, this.positions = a, this.hashProp = [[Gt.contextHash, r]];
|
|
137983
137983
|
}
|
|
137984
137984
|
addChild(e, t) {
|
|
137985
|
-
e.prop(Gt.contextHash) != this.hash && (e = new
|
|
137985
|
+
e.prop(Gt.contextHash) != this.hash && (e = new ci(e.type, e.children, e.positions, e.length, this.hashProp)), this.children.push(e), this.positions.push(t);
|
|
137986
137986
|
}
|
|
137987
137987
|
toTree(e, t = this.end) {
|
|
137988
137988
|
let n = this.children.length - 1;
|
|
137989
|
-
return n >= 0 && (t = Math.max(t, this.positions[n] + this.children[n].length + this.from)), new
|
|
137990
|
-
makeTree: (r, s, o) => new
|
|
137989
|
+
return n >= 0 && (t = Math.max(t, this.positions[n] + this.children[n].length + this.from)), new ci(e.types[this.type], this.children, this.positions, t - this.from).balance({
|
|
137990
|
+
makeTree: (r, s, o) => new ci(jr.none, r, s, o, this.hashProp)
|
|
137991
137991
|
});
|
|
137992
137992
|
}
|
|
137993
137993
|
}
|
|
@@ -138554,7 +138554,7 @@ class QHt {
|
|
|
138554
138554
|
}
|
|
138555
138555
|
/// @internal
|
|
138556
138556
|
addNode(e, t, n) {
|
|
138557
|
-
typeof e == "number" && (e = new
|
|
138557
|
+
typeof e == "number" && (e = new ci(this.parser.nodeSet.types[e], W2, W2, (n ?? this.prevLineEnd()) - t)), this.block.addChild(e, t - this.block.from);
|
|
138558
138558
|
}
|
|
138559
138559
|
/// Add a block element. Can be called by [block
|
|
138560
138560
|
/// parsers](#BlockParser.parse).
|
|
@@ -138609,7 +138609,7 @@ function tVe(i, e, t, n, r) {
|
|
|
138609
138609
|
let u = d.from + n, f, p = r.get(d.tree);
|
|
138610
138610
|
p ? f = p : d.to + n > s ? (f = tVe(i, e, d, n, r), c(d.to + n, !1)) : f = d.toTree(), o.push(f), a.push(u - l);
|
|
138611
138611
|
}
|
|
138612
|
-
return c(t.to + n, !1), new
|
|
138612
|
+
return c(t.to + n, !1), new ci(t.type, o, a, t.to + n - l, t.tree ? t.tree.propValues : void 0);
|
|
138613
138613
|
}
|
|
138614
138614
|
class _B extends UV {
|
|
138615
138615
|
/// @internal
|
|
@@ -138754,7 +138754,7 @@ let iVe = class {
|
|
|
138754
138754
|
return this;
|
|
138755
138755
|
}
|
|
138756
138756
|
finish(e, t) {
|
|
138757
|
-
return
|
|
138757
|
+
return ci.build({
|
|
138758
138758
|
buffer: this.content,
|
|
138759
138759
|
nodeSet: this.nodeSet,
|
|
138760
138760
|
reused: this.nodes,
|
|
@@ -139174,7 +139174,7 @@ class JHt {
|
|
|
139174
139174
|
if (t.to - n <= e.ranges[e.rangeI].to)
|
|
139175
139175
|
e.addNode(t.tree, d);
|
|
139176
139176
|
else {
|
|
139177
|
-
let u = new
|
|
139177
|
+
let u = new ci(e.parser.nodeSet.types[qe.Paragraph], [], [], 0, e.block.hashProp);
|
|
139178
139178
|
e.reusePlaceholders.set(u, t.tree), e.addNode(u, d);
|
|
139179
139179
|
}
|
|
139180
139180
|
if (t.type.is("Block") && (XHt.indexOf(t.type.id) < 0 ? (o = t.to - n, a = e.block.children.length) : (o = l, a = c, l = t.to - n, c = e.block.children.length)), !t.nextSibling())
|
|
@@ -145344,7 +145344,7 @@ let Qzt = class {
|
|
|
145344
145344
|
};
|
|
145345
145345
|
render = async (e) => {
|
|
145346
145346
|
const { container: t, xml: n, selectableFlowNodeIds: r, selectedFlowNodeIds: s } = e;
|
|
145347
|
-
if (this.navigatedViewer === null && this.#s(t), this.#n !== n && (this.#n = n, await this.import(n)), !
|
|
145347
|
+
if (this.navigatedViewer === null && this.#s(t), this.#n !== n && (this.#n = n, await this.import(n)), !Yn(this.#t, r)) {
|
|
145348
145348
|
this.#t.forEach((l) => {
|
|
145349
145349
|
this.removeMarker(l, "play-selectable");
|
|
145350
145350
|
}), r.forEach((l) => {
|
|
@@ -145361,7 +145361,7 @@ let Qzt = class {
|
|
|
145361
145361
|
this.addMarker(l, "play-non-selectable");
|
|
145362
145362
|
}), this.#i = a ? a.map(({ id: l }) => l) : [];
|
|
145363
145363
|
}
|
|
145364
|
-
|
|
145364
|
+
Yn(this.#e?.sort(), s?.sort()) || (this.#e !== void 0 && (this.#e.forEach((o) => {
|
|
145365
145365
|
this.removeMarker(o, "play-selected"), this.removeMarker(o, "play-selected-frame");
|
|
145366
145366
|
}), this.selectedFlowNode = void 0), s !== void 0 && s.forEach((o) => {
|
|
145367
145367
|
this.addMarker(o, "play-selected"), this.addMarker(o, "play-selected-frame");
|
|
@@ -146395,7 +146395,7 @@ const RB = it(
|
|
|
146395
146395
|
...Ee
|
|
146396
146396
|
};
|
|
146397
146397
|
let I = "none";
|
|
146398
|
-
|
|
146398
|
+
Yn(P, le) ? I = "bpmn" : Yn(P, Ee) && (I = "cache"), y(I);
|
|
146399
146399
|
const T = new Y2();
|
|
146400
146400
|
l.current = T, T.attachTo(a.current);
|
|
146401
146401
|
const { warnings: U } = await T.importSchema(
|
|
@@ -146407,7 +146407,7 @@ const RB = it(
|
|
|
146407
146407
|
({ data: X, errors: ce }) => {
|
|
146408
146408
|
const Ce = localStorage.getItem(
|
|
146409
146409
|
`jobCompletion ${kt.processId} ${i.id}`
|
|
146410
|
-
), Xe = !
|
|
146410
|
+
), Xe = !Yn(X, JSON.parse(hh(i) || "{}")) && !Yn(X, JSON.parse(Ce || "{}"));
|
|
146411
146411
|
g(Xe), A(JSON.stringify(X)), v(Object.keys(ce).length === 0);
|
|
146412
146412
|
}
|
|
146413
146413
|
);
|
|
@@ -147131,7 +147131,7 @@ const UWt = it(({ element: i }) => {
|
|
|
147131
147131
|
}, [N]), Ve(() => {
|
|
147132
147132
|
const P = hh(i), I = localStorage.getItem(
|
|
147133
147133
|
`jobCompletion ${kt.processId} ${i.id}`
|
|
147134
|
-
), T = JSON.parse(I || "{}"), U = JSON.parse(P || "{}"), X = M === "bpmn" &&
|
|
147134
|
+
), T = JSON.parse(I || "{}"), U = JSON.parse(P || "{}"), X = M === "bpmn" && Yn(JSON.parse(L), U), ce = M === "cache" && Yn(JSON.parse(L), T);
|
|
147135
147135
|
b(!X && !ce);
|
|
147136
147136
|
}, [L, i, M]);
|
|
147137
147137
|
const R = V?.form?.resource, H = $T(() => {
|
|
@@ -147202,7 +147202,7 @@ const UWt = it(({ element: i }) => {
|
|
|
147202
147202
|
...U
|
|
147203
147203
|
}, ce = bb(H), Ce = ie(X, ce);
|
|
147204
147204
|
let Xe = "none";
|
|
147205
|
-
|
|
147205
|
+
Yn(Ce, I) ? Xe = "bpmn" : Yn(Ce, T) && (Xe = "cache"), D(Xe), O(JSON.stringify(Ce)), b(!1);
|
|
147206
147206
|
const gt = new Y2();
|
|
147207
147207
|
a.current = gt;
|
|
147208
147208
|
const { warnings: bn } = await gt.importSchema(H, Ce);
|
|
@@ -147228,7 +147228,7 @@ const UWt = it(({ element: i }) => {
|
|
|
147228
147228
|
...I,
|
|
147229
147229
|
...T
|
|
147230
147230
|
}, ce = ie(X, U);
|
|
147231
|
-
I &&
|
|
147231
|
+
I && Yn(ce, I) ? D("bpmn") : D("none"), b(!1), O(JSON.stringify(ce));
|
|
147232
147232
|
const { warnings: Ce } = await a.current?.importSchema(
|
|
147233
147233
|
H,
|
|
147234
147234
|
ce
|
|
@@ -148894,13 +148894,29 @@ class Ajt {
|
|
|
148894
148894
|
url: e
|
|
148895
148895
|
});
|
|
148896
148896
|
}
|
|
148897
|
+
saveScenario({
|
|
148898
|
+
newTotalCoverage: e,
|
|
148899
|
+
coverageIncrease: t
|
|
148900
|
+
}) {
|
|
148901
|
+
return this.mixpanelTrack?.("save-scenario", {
|
|
148902
|
+
from: "play",
|
|
148903
|
+
newTotalCoverage: e,
|
|
148904
|
+
coverageIncrease: t
|
|
148905
|
+
});
|
|
148906
|
+
}
|
|
148907
|
+
runScenarios(e) {
|
|
148908
|
+
return this.mixpanelTrack?.("run-scenarios", {
|
|
148909
|
+
from: "play",
|
|
148910
|
+
count: e
|
|
148911
|
+
});
|
|
148912
|
+
}
|
|
148897
148913
|
applyModifictation(e) {
|
|
148898
148914
|
return this.mixpanelTrack?.(e, {
|
|
148899
148915
|
from: "play"
|
|
148900
148916
|
});
|
|
148901
148917
|
}
|
|
148902
148918
|
}
|
|
148903
|
-
const
|
|
148919
|
+
const qn = new Ajt();
|
|
148904
148920
|
class wjt {
|
|
148905
148921
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
148906
148922
|
handlePostRequest = void 0;
|
|
@@ -148924,14 +148940,14 @@ class wjt {
|
|
|
148924
148940
|
}
|
|
148925
148941
|
}) };
|
|
148926
148942
|
} catch (n) {
|
|
148927
|
-
return
|
|
148943
|
+
return qn.trackAPIError(e, n.status), { success: !1, response: n, status: n.status };
|
|
148928
148944
|
}
|
|
148929
148945
|
}
|
|
148930
148946
|
async getWithErrorHandling(e) {
|
|
148931
148947
|
try {
|
|
148932
148948
|
return { success: !0, response: await this.handleGetRequest(e) };
|
|
148933
148949
|
} catch (t) {
|
|
148934
|
-
return
|
|
148950
|
+
return qn.trackAPIError(e, t.status), { success: !1, response: t };
|
|
148935
148951
|
}
|
|
148936
148952
|
}
|
|
148937
148953
|
async getConnectorSecrets() {
|
|
@@ -149286,9 +149302,9 @@ class Ejt {
|
|
|
149286
149302
|
isPollRequestRunning = !1;
|
|
149287
149303
|
constructor() {
|
|
149288
149304
|
Es(this, {
|
|
149289
|
-
state:
|
|
149305
|
+
state: ei,
|
|
149290
149306
|
handleSuccess: Et,
|
|
149291
|
-
isClusterHealthy:
|
|
149307
|
+
isClusterHealthy: Qn,
|
|
149292
149308
|
reset: Et
|
|
149293
149309
|
});
|
|
149294
149310
|
}
|
|
@@ -149453,7 +149469,7 @@ class Djt extends Oh {
|
|
|
149453
149469
|
refetchTimeout = null;
|
|
149454
149470
|
constructor() {
|
|
149455
149471
|
super(), Es(this, {
|
|
149456
|
-
state:
|
|
149472
|
+
state: ei,
|
|
149457
149473
|
setIsProcessManuallyCompleted: Et,
|
|
149458
149474
|
setIsCalledProcess: Et,
|
|
149459
149475
|
setInstanceDetails: Et,
|
|
@@ -149462,9 +149478,9 @@ class Djt extends Oh {
|
|
|
149462
149478
|
handleError: Et,
|
|
149463
149479
|
setScenarioName: Et,
|
|
149464
149480
|
reset: Eh,
|
|
149465
|
-
isRunning:
|
|
149466
|
-
hasError:
|
|
149467
|
-
isInstanceDetailPageVisible:
|
|
149481
|
+
isRunning: Qn,
|
|
149482
|
+
hasError: Qn,
|
|
149483
|
+
isInstanceDetailPageVisible: Qn
|
|
149468
149484
|
});
|
|
149469
149485
|
}
|
|
149470
149486
|
shouldRefreshDataAfterPollingStops = !1;
|
|
@@ -149532,7 +149548,7 @@ class Djt extends Oh {
|
|
|
149532
149548
|
this.state.instanceKey = e, this.state.instanceType = t;
|
|
149533
149549
|
};
|
|
149534
149550
|
handleSuccess = (e) => {
|
|
149535
|
-
|
|
149551
|
+
Yn(this.state.processInstance, e) || (this.state.processInstance = e), this.state.status = "fetched";
|
|
149536
149552
|
};
|
|
149537
149553
|
startFetching = () => {
|
|
149538
149554
|
["initial", "first-fetch"].includes(this.state.status) ? this.state.status = "first-fetch" : this.state.status = "fetching";
|
|
@@ -150178,7 +150194,7 @@ class AZt {
|
|
|
150178
150194
|
};
|
|
150179
150195
|
try {
|
|
150180
150196
|
const o = await this.updateFileById?.(this.diagramId, s);
|
|
150181
|
-
return
|
|
150197
|
+
return qn.trackDiagramUpdated(), this.currentDiagramRevision = o.revision, this.xml = t, { success: !0 };
|
|
150182
150198
|
} catch (o) {
|
|
150183
150199
|
return o?.status === 409 ? { success: !1, reason: "conflict" } : { success: !1, reason: "unknown" };
|
|
150184
150200
|
}
|
|
@@ -150202,19 +150218,19 @@ class AZt {
|
|
|
150202
150218
|
name: w7e(t.filename, t.type)
|
|
150203
150219
|
});
|
|
150204
150220
|
if (r)
|
|
150205
|
-
|
|
150221
|
+
qn.trackDeployment({
|
|
150206
150222
|
success: !0,
|
|
150207
150223
|
fileId: t.fileId ?? void 0,
|
|
150208
150224
|
fileType: t.fileType
|
|
150209
150225
|
});
|
|
150210
150226
|
else {
|
|
150211
150227
|
const s = n;
|
|
150212
|
-
|
|
150228
|
+
qn.trackDeployment({
|
|
150213
150229
|
success: !1,
|
|
150214
150230
|
errorMessage: s.detail,
|
|
150215
150231
|
fileId: t.fileId ?? void 0,
|
|
150216
150232
|
fileType: t.fileType
|
|
150217
|
-
}),
|
|
150233
|
+
}), qn.trackDiagramErrors({
|
|
150218
150234
|
count: v7e(s.detail).length,
|
|
150219
150235
|
fileId: t.fileId ?? void 0,
|
|
150220
150236
|
fileType: t.fileType
|
|
@@ -150241,19 +150257,19 @@ class AZt {
|
|
|
150241
150257
|
]);
|
|
150242
150258
|
if (s) {
|
|
150243
150259
|
const a = r.deployments[0].process.processDefinitionKey;
|
|
150244
|
-
return gZt(this.processId, a),
|
|
150260
|
+
return gZt(this.processId, a), qn.trackDeployment({
|
|
150245
150261
|
success: !0,
|
|
150246
150262
|
fileId: this.diagramId,
|
|
150247
150263
|
fileType: "bpmn"
|
|
150248
150264
|
}), this.setProcessDefinitionKey(a), { status: "success" };
|
|
150249
150265
|
} else {
|
|
150250
150266
|
const o = r;
|
|
150251
|
-
|
|
150267
|
+
qn.trackDeployment({
|
|
150252
150268
|
success: !1,
|
|
150253
150269
|
errorMessage: o.detail,
|
|
150254
150270
|
fileId: this.diagramId,
|
|
150255
150271
|
fileType: "bpmn"
|
|
150256
|
-
}),
|
|
150272
|
+
}), qn.trackDiagramErrors({
|
|
150257
150273
|
count: v7e(o.detail).length,
|
|
150258
150274
|
fileId: this.diagramId,
|
|
150259
150275
|
fileType: "bpmn"
|
|
@@ -150409,7 +150425,7 @@ class vZt {
|
|
|
150409
150425
|
});
|
|
150410
150426
|
r ? (this.#n?.info({
|
|
150411
150427
|
title: `Moving ${YVe(n.length, "token")} to ${t}`
|
|
150412
|
-
}),
|
|
150428
|
+
}), qn.applyModifictation("move-token")) : this.#n?.error(nr);
|
|
150413
150429
|
}
|
|
150414
150430
|
this.finishMovingToken();
|
|
150415
150431
|
};
|
|
@@ -150601,17 +150617,17 @@ class yZt extends Oh {
|
|
|
150601
150617
|
state = { ...x7e };
|
|
150602
150618
|
constructor() {
|
|
150603
150619
|
super(), Es(this, {
|
|
150604
|
-
state:
|
|
150620
|
+
state: ei,
|
|
150605
150621
|
handleSuccess: Et,
|
|
150606
150622
|
startFetching: Et,
|
|
150607
150623
|
handleError: Et,
|
|
150608
150624
|
reset: Eh,
|
|
150609
|
-
completedElementInstances:
|
|
150610
|
-
activeElementInstances:
|
|
150611
|
-
elementInstances:
|
|
150612
|
-
elementIds:
|
|
150613
|
-
isInitialLoadComplete:
|
|
150614
|
-
elementInstancesWithType:
|
|
150625
|
+
completedElementInstances: Qn,
|
|
150626
|
+
activeElementInstances: Qn,
|
|
150627
|
+
elementInstances: Qn,
|
|
150628
|
+
elementIds: Qn,
|
|
150629
|
+
isInitialLoadComplete: Qn,
|
|
150630
|
+
elementInstancesWithType: Qn
|
|
150615
150631
|
});
|
|
150616
150632
|
}
|
|
150617
150633
|
shouldRefreshDataAfterPollingStops = !0;
|
|
@@ -150639,7 +150655,7 @@ class yZt extends Oh {
|
|
|
150639
150655
|
...r,
|
|
150640
150656
|
scopeKey: r.processInstanceKey
|
|
150641
150657
|
}));
|
|
150642
|
-
|
|
150658
|
+
Yn(n, this.state.elementInstances) || (this.state.elementInstances = n), this.state.status = "fetched";
|
|
150643
150659
|
};
|
|
150644
150660
|
startFetching = () => {
|
|
150645
150661
|
this.state.status === "initial" ? this.state.status = "first-fetch" : this.state.status = "fetching";
|
|
@@ -150684,12 +150700,12 @@ class CZt extends Oh {
|
|
|
150684
150700
|
state = { ...S7e };
|
|
150685
150701
|
constructor() {
|
|
150686
150702
|
super(), Es(this, {
|
|
150687
|
-
state:
|
|
150703
|
+
state: ei,
|
|
150688
150704
|
handleSuccess: Et,
|
|
150689
150705
|
handleError: Et,
|
|
150690
150706
|
startFetching: Et,
|
|
150691
150707
|
reset: Eh,
|
|
150692
|
-
incidents:
|
|
150708
|
+
incidents: Qn
|
|
150693
150709
|
});
|
|
150694
150710
|
}
|
|
150695
150711
|
shouldRefreshDataAfterPollingStops = !0;
|
|
@@ -150725,14 +150741,14 @@ class CZt extends Oh {
|
|
|
150725
150741
|
this.startFetching();
|
|
150726
150742
|
const { success: n, incidents: r } = await lt.fetchIncidents(e);
|
|
150727
150743
|
n ? (this.handleSuccess(r), r?.forEach(
|
|
150728
|
-
(s) =>
|
|
150744
|
+
(s) => qn.trackIncident(
|
|
150729
150745
|
s,
|
|
150730
150746
|
Be.state.processInstance?.bpmnProcessId
|
|
150731
150747
|
)
|
|
150732
150748
|
)) : t || this.handleError();
|
|
150733
150749
|
};
|
|
150734
150750
|
handleSuccess = (e) => {
|
|
150735
|
-
|
|
150751
|
+
Yn(e, this.state.incidents) || (this.state.incidents = e ?? []), this.state.status = "fetched";
|
|
150736
150752
|
};
|
|
150737
150753
|
updateRetries = async ({
|
|
150738
150754
|
jobKey: e,
|
|
@@ -150764,7 +150780,7 @@ class EZt extends Oh {
|
|
|
150764
150780
|
state = { ...D7e };
|
|
150765
150781
|
constructor() {
|
|
150766
150782
|
super(), Es(this, {
|
|
150767
|
-
state:
|
|
150783
|
+
state: ei,
|
|
150768
150784
|
handleSuccess: Et,
|
|
150769
150785
|
startFetching: Et,
|
|
150770
150786
|
handleError: Et,
|
|
@@ -150789,7 +150805,7 @@ class EZt extends Oh {
|
|
|
150789
150805
|
n ? this.handleSuccess(r) : e || this.handleError();
|
|
150790
150806
|
};
|
|
150791
150807
|
handleSuccess = (e) => {
|
|
150792
|
-
|
|
150808
|
+
Yn(e, this.state.userTasks) || (this.state.userTasks = e ?? []), this.state.status = "fetched";
|
|
150793
150809
|
};
|
|
150794
150810
|
startFetching = () => {
|
|
150795
150811
|
this.state.status = "fetching";
|
|
@@ -150818,7 +150834,7 @@ class _Zt {
|
|
|
150818
150834
|
t ? this.handleSuccess(n) : this.handleError();
|
|
150819
150835
|
};
|
|
150820
150836
|
handleSuccess = (e) => {
|
|
150821
|
-
|
|
150837
|
+
Yn(this.state.timers, e) || (this.state.timers = e ?? []), this.state.status = "fetched";
|
|
150822
150838
|
};
|
|
150823
150839
|
startFetching = () => {
|
|
150824
150840
|
this.state.status = "fetching";
|
|
@@ -150845,7 +150861,7 @@ class xZt {
|
|
|
150845
150861
|
e ? this.handleSuccess(t) : this.handleError();
|
|
150846
150862
|
};
|
|
150847
150863
|
handleSuccess = (e) => {
|
|
150848
|
-
|
|
150864
|
+
Yn(this.state.timers, e) || (this.state.timers = e ?? []), this.state.status = "fetched";
|
|
150849
150865
|
};
|
|
150850
150866
|
startFetching = () => {
|
|
150851
150867
|
this.state.status = "fetching";
|
|
@@ -150870,14 +150886,14 @@ let SZt = class extends Oh {
|
|
|
150870
150886
|
fetchVariablesDisposer = null;
|
|
150871
150887
|
constructor() {
|
|
150872
150888
|
super(), Es(this, {
|
|
150873
|
-
state:
|
|
150874
|
-
variables:
|
|
150889
|
+
state: ei,
|
|
150890
|
+
variables: Qn,
|
|
150875
150891
|
handleSuccess: Et,
|
|
150876
150892
|
handleError: Et,
|
|
150877
150893
|
setIsUpdatingVariable: Et,
|
|
150878
150894
|
startFetching: Et,
|
|
150879
|
-
scopeId:
|
|
150880
|
-
isInitialLoadComplete:
|
|
150895
|
+
scopeId: Qn,
|
|
150896
|
+
isInitialLoadComplete: Qn,
|
|
150881
150897
|
reset: Eh
|
|
150882
150898
|
});
|
|
150883
150899
|
}
|
|
@@ -150901,7 +150917,7 @@ let SZt = class extends Oh {
|
|
|
150901
150917
|
n ? this.handleSuccess(r) : e || this.handleError();
|
|
150902
150918
|
};
|
|
150903
150919
|
handleSuccess = (e) => {
|
|
150904
|
-
|
|
150920
|
+
Yn(e, this.state.variables) || (this.state.variables = e ?? []), this.state.status = "fetched";
|
|
150905
150921
|
};
|
|
150906
150922
|
setVariables = async ({
|
|
150907
150923
|
instanceKey: e,
|
|
@@ -150976,14 +150992,14 @@ class DZt extends Oh {
|
|
|
150976
150992
|
state = { ...N7e };
|
|
150977
150993
|
constructor() {
|
|
150978
150994
|
super(), Es(this, {
|
|
150979
|
-
state:
|
|
150995
|
+
state: ei,
|
|
150980
150996
|
handleSuccess: Et,
|
|
150981
150997
|
startFetching: Et,
|
|
150982
150998
|
handleError: Et,
|
|
150983
150999
|
reset: Eh,
|
|
150984
|
-
completedElementIds:
|
|
150985
|
-
activeElementIds:
|
|
150986
|
-
activeElementIdsWithoutIncident:
|
|
151000
|
+
completedElementIds: Qn,
|
|
151001
|
+
activeElementIds: Qn,
|
|
151002
|
+
activeElementIdsWithoutIncident: Qn
|
|
150987
151003
|
});
|
|
150988
151004
|
}
|
|
150989
151005
|
shouldRefreshDataAfterPollingStops = !0;
|
|
@@ -151091,7 +151107,7 @@ class LZt extends Oh {
|
|
|
151091
151107
|
state = { ...I7e };
|
|
151092
151108
|
constructor() {
|
|
151093
151109
|
super(), Es(this, {
|
|
151094
|
-
state:
|
|
151110
|
+
state: ei,
|
|
151095
151111
|
handleSuccess: Et,
|
|
151096
151112
|
startFetching: Et,
|
|
151097
151113
|
handleError: Et,
|
|
@@ -151118,7 +151134,7 @@ class LZt extends Oh {
|
|
|
151118
151134
|
n ? this.handleSuccess(r) : e || this.handleError();
|
|
151119
151135
|
};
|
|
151120
151136
|
handleSuccess = (e) => {
|
|
151121
|
-
|
|
151137
|
+
Yn(e, this.state.childInstances) || (this.state.childInstances = e ?? []), this.state.status = "fetched";
|
|
151122
151138
|
};
|
|
151123
151139
|
startFetching = () => {
|
|
151124
151140
|
this.state.status = "fetching";
|
|
@@ -151138,7 +151154,7 @@ class kZt extends Oh {
|
|
|
151138
151154
|
state = { ...O7e };
|
|
151139
151155
|
constructor() {
|
|
151140
151156
|
super(), Es(this, {
|
|
151141
|
-
state:
|
|
151157
|
+
state: ei,
|
|
151142
151158
|
handleSuccess: Et,
|
|
151143
151159
|
startFetching: Et,
|
|
151144
151160
|
handleError: Et,
|
|
@@ -151163,7 +151179,7 @@ class kZt extends Oh {
|
|
|
151163
151179
|
n ? this.handleSuccess(r) : e || this.handleError();
|
|
151164
151180
|
};
|
|
151165
151181
|
handleSuccess = (e) => {
|
|
151166
|
-
|
|
151182
|
+
Yn(this.state.sequenceFlows, e) || (this.state.sequenceFlows = e), this.state.status = "fetched";
|
|
151167
151183
|
};
|
|
151168
151184
|
startFetching = () => {
|
|
151169
151185
|
this.state.status = "fetching";
|
|
@@ -151184,7 +151200,7 @@ class NZt extends Oh {
|
|
|
151184
151200
|
processDefinitionKey = void 0;
|
|
151185
151201
|
constructor() {
|
|
151186
151202
|
super(), Es(this, {
|
|
151187
|
-
state:
|
|
151203
|
+
state: ei,
|
|
151188
151204
|
handleSuccess: Et,
|
|
151189
151205
|
handleError: Et,
|
|
151190
151206
|
startFetching: Et,
|
|
@@ -151213,7 +151229,7 @@ class NZt extends Oh {
|
|
|
151213
151229
|
t ? this.handleSuccess(n) : e || this.handleError();
|
|
151214
151230
|
};
|
|
151215
151231
|
handleSuccess = (e) => {
|
|
151216
|
-
|
|
151232
|
+
Yn(e, this.state.processInstances) || (this.state.processInstances = e), this.state.status = "fetched";
|
|
151217
151233
|
};
|
|
151218
151234
|
startFetching = () => {
|
|
151219
151235
|
this.state.status = "fetching";
|
|
@@ -151233,7 +151249,7 @@ class TZt extends Oh {
|
|
|
151233
151249
|
state = { ...V7e };
|
|
151234
151250
|
constructor() {
|
|
151235
151251
|
super(), Es(this, {
|
|
151236
|
-
state:
|
|
151252
|
+
state: ei,
|
|
151237
151253
|
handleSuccess: Et,
|
|
151238
151254
|
startFetching: Et,
|
|
151239
151255
|
handleError: Et,
|
|
@@ -152429,8 +152445,8 @@ const UUt = ({
|
|
|
152429
152445
|
class GUt {
|
|
152430
152446
|
constructor() {
|
|
152431
152447
|
Es(this, {
|
|
152432
|
-
startMessageSubscriptionCandidates:
|
|
152433
|
-
activeMessageSubscriptionCandidates:
|
|
152448
|
+
startMessageSubscriptionCandidates: Qn.struct,
|
|
152449
|
+
activeMessageSubscriptionCandidates: Qn.struct
|
|
152434
152450
|
});
|
|
152435
152451
|
}
|
|
152436
152452
|
get activeMessageSubscriptionCandidates() {
|
|
@@ -152460,8 +152476,8 @@ const jT = new GUt();
|
|
|
152460
152476
|
class QUt {
|
|
152461
152477
|
constructor() {
|
|
152462
152478
|
Es(this, {
|
|
152463
|
-
activeSignalCandidates:
|
|
152464
|
-
startSignalCandidates:
|
|
152479
|
+
activeSignalCandidates: Qn.struct,
|
|
152480
|
+
startSignalCandidates: Qn.struct
|
|
152465
152481
|
});
|
|
152466
152482
|
}
|
|
152467
152483
|
get activeSignalCandidates() {
|
|
@@ -152752,14 +152768,15 @@ let KUt = class extends nBe {
|
|
|
152752
152768
|
state = { ...Z7e };
|
|
152753
152769
|
constructor() {
|
|
152754
152770
|
super(), Es(this, {
|
|
152755
|
-
state:
|
|
152771
|
+
state: ei,
|
|
152756
152772
|
loadScenarios: Et,
|
|
152757
|
-
allCoveredFlowNodes:
|
|
152758
|
-
|
|
152759
|
-
|
|
152760
|
-
|
|
152761
|
-
|
|
152762
|
-
|
|
152773
|
+
allCoveredFlowNodes: Qn,
|
|
152774
|
+
currentTotalCoverage: Qn,
|
|
152775
|
+
coverageIncrease: Qn,
|
|
152776
|
+
newTotalCoverage: Qn,
|
|
152777
|
+
isAnyScenarioRunning: Qn,
|
|
152778
|
+
coveredFlowNodeIdsForSelectedScenario: Qn,
|
|
152779
|
+
isSingleScenarioSelected: Qn,
|
|
152763
152780
|
startRunningSingleScenario: Et,
|
|
152764
152781
|
updateSingleScenarioRun: Et,
|
|
152765
152782
|
deleteScenario: Et,
|
|
@@ -152784,17 +152801,20 @@ let KUt = class extends nBe {
|
|
|
152784
152801
|
({ coveredSequenceFlows: e }) => e
|
|
152785
152802
|
);
|
|
152786
152803
|
}
|
|
152787
|
-
get
|
|
152804
|
+
get currentTotalCoverage() {
|
|
152788
152805
|
return this.allCoveredFlowNodes.length / Nt.flowNodes.length * 100;
|
|
152789
152806
|
}
|
|
152790
|
-
get
|
|
152791
|
-
const e = sr.elementIds
|
|
152807
|
+
get newTotalCoverage() {
|
|
152808
|
+
const e = sr.elementIds;
|
|
152809
|
+
return Array.from(
|
|
152792
152810
|
/* @__PURE__ */ new Set([
|
|
152793
|
-
...this.allCoveredFlowNodes.map(({ flowNodeId:
|
|
152811
|
+
...this.allCoveredFlowNodes.map(({ flowNodeId: n }) => n),
|
|
152794
152812
|
...e
|
|
152795
152813
|
])
|
|
152796
152814
|
).length / Nt.flowNodeIds.length * 100;
|
|
152797
|
-
|
|
152815
|
+
}
|
|
152816
|
+
get coverageIncrease() {
|
|
152817
|
+
return Math.max(0, this.newTotalCoverage - this.currentTotalCoverage);
|
|
152798
152818
|
}
|
|
152799
152819
|
replay = async ({
|
|
152800
152820
|
processId: e,
|
|
@@ -152854,7 +152874,7 @@ let KUt = class extends nBe {
|
|
|
152854
152874
|
updateSingleScenarioRun = (e, t) => {
|
|
152855
152875
|
this.state.scenarioRuns[e] = t;
|
|
152856
152876
|
};
|
|
152857
|
-
getScenarioRun = (e) =>
|
|
152877
|
+
getScenarioRun = (e) => fi.state.scenarioRuns[e];
|
|
152858
152878
|
isScenarioCompleted = ({
|
|
152859
152879
|
instanceKey: e
|
|
152860
152880
|
}) => su(async () => {
|
|
@@ -152890,7 +152910,7 @@ let KUt = class extends nBe {
|
|
|
152890
152910
|
this.state = { ...Z7e };
|
|
152891
152911
|
};
|
|
152892
152912
|
};
|
|
152893
|
-
const
|
|
152913
|
+
const fi = new KUt(), U7e = G.p`
|
|
152894
152914
|
${El.body01};
|
|
152895
152915
|
`, iBe = it(
|
|
152896
152916
|
({ title: i, isOpen: e, onScenarioSaved: t, onClose: n, topContent: r }) => {
|
|
@@ -152915,7 +152935,7 @@ const gi = new KUt(), U7e = G.p`
|
|
|
152915
152935
|
/* @__PURE__ */ E.jsxs(U7e, { children: [
|
|
152916
152936
|
"This scenario increases the BPMN coverage of your scenario suite from",
|
|
152917
152937
|
" ",
|
|
152918
|
-
/* @__PURE__ */ E.jsx(WT, { children: `${
|
|
152938
|
+
/* @__PURE__ */ E.jsx(WT, { children: `${fi.currentTotalCoverage.toFixed(0)}%` }),
|
|
152919
152939
|
" ",
|
|
152920
152940
|
"to",
|
|
152921
152941
|
" ",
|
|
@@ -152923,7 +152943,7 @@ const gi = new KUt(), U7e = G.p`
|
|
|
152923
152943
|
WT,
|
|
152924
152944
|
{
|
|
152925
152945
|
isGreen: !0,
|
|
152926
|
-
children: `${
|
|
152946
|
+
children: `${fi.newTotalCoverage.toFixed(0)}%`
|
|
152927
152947
|
}
|
|
152928
152948
|
),
|
|
152929
152949
|
". ",
|
|
@@ -152948,7 +152968,7 @@ const gi = new KUt(), U7e = G.p`
|
|
|
152948
152968
|
invalidText: a,
|
|
152949
152969
|
onChange: (c) => {
|
|
152950
152970
|
const d = c.target.value;
|
|
152951
|
-
if (o(d),
|
|
152971
|
+
if (o(d), fi.state.scenarios.some(
|
|
152952
152972
|
(f) => f.name === d
|
|
152953
152973
|
)) {
|
|
152954
152974
|
l(
|
|
@@ -153100,9 +153120,9 @@ const gi = new KUt(), U7e = G.p`
|
|
|
153100
153120
|
] });
|
|
153101
153121
|
}
|
|
153102
153122
|
), sBe = it(() => {
|
|
153103
|
-
const i = vn(qr), { isReplayScenariosEnabled: e } = i.featureFlags, { instanceKey: t, processInstance: n, scenarioName: r } = Be.state, { scenarioRuns: s } =
|
|
153123
|
+
const i = vn(qr), { isReplayScenariosEnabled: e } = i.featureFlags, { instanceKey: t, processInstance: n, scenarioName: r } = Be.state, { scenarioRuns: s } = fi.state, { sanitizedOperateBaseUrl: o, hasLinkToOperate: a } = pt, l = n?.bpmnProcessId;
|
|
153104
153124
|
if (Ve(() => {
|
|
153105
|
-
l !== void 0 &&
|
|
153125
|
+
l !== void 0 && fi.loadScenarios(l);
|
|
153106
153126
|
}, [t, l]), !t || !n || !l)
|
|
153107
153127
|
return null;
|
|
153108
153128
|
const c = n.incident ? "INCIDENT" : n.state, d = `${o}/processes/${t}`, u = r !== WVe, f = Object.keys(s).find((p) => {
|
|
@@ -153134,7 +153154,7 @@ const gi = new KUt(), U7e = G.p`
|
|
|
153134
153154
|
rel: "noopener noreferrer",
|
|
153135
153155
|
renderIcon: () => /* @__PURE__ */ E.jsx(Hy, {}),
|
|
153136
153156
|
onClick: () => {
|
|
153137
|
-
|
|
153157
|
+
qn.openOperate(d);
|
|
153138
153158
|
},
|
|
153139
153159
|
children: t
|
|
153140
153160
|
}
|
|
@@ -153173,9 +153193,9 @@ const gi = new KUt(), U7e = G.p`
|
|
|
153173
153193
|
/* @__PURE__ */ E.jsx(
|
|
153174
153194
|
WT,
|
|
153175
153195
|
{
|
|
153176
|
-
isGreen:
|
|
153196
|
+
isGreen: fi.coverageIncrease > 0,
|
|
153177
153197
|
hasPrecedingPlusIcon: !0,
|
|
153178
|
-
children: `${
|
|
153198
|
+
children: `${fi.coverageIncrease.toFixed(0)}% `
|
|
153179
153199
|
}
|
|
153180
153200
|
),
|
|
153181
153201
|
/* @__PURE__ */ E.jsx(
|
|
@@ -153267,7 +153287,10 @@ const gi = new KUt(), U7e = G.p`
|
|
|
153267
153287
|
}
|
|
153268
153288
|
}
|
|
153269
153289
|
}
|
|
153270
|
-
)
|
|
153290
|
+
), qn.saveScenario({
|
|
153291
|
+
newTotalCoverage: `${fi.newTotalCoverage.toFixed(0)}%`,
|
|
153292
|
+
coverageIncrease: `${fi.coverageIncrease.toFixed(0)}%`
|
|
153293
|
+
});
|
|
153271
153294
|
},
|
|
153272
153295
|
isScenarioSaved: u
|
|
153273
153296
|
}
|
|
@@ -154390,17 +154413,17 @@ const GB = new oGt(), dBe = it(() => {
|
|
|
154390
154413
|
] }) }),
|
|
154391
154414
|
/* @__PURE__ */ E.jsxs(a3, { children: [
|
|
154392
154415
|
i.map((t) => /* @__PURE__ */ E.jsxs(Lo, { children: [
|
|
154393
|
-
/* @__PURE__ */ E.jsxs(
|
|
154416
|
+
/* @__PURE__ */ E.jsxs(ui, { children: [
|
|
154394
154417
|
(t.status === "unsupported binding" || t.status === "not found" || t.status === "deployment error") && /* @__PURE__ */ E.jsx(oD, {}),
|
|
154395
154418
|
/* @__PURE__ */ E.jsx("b", { children: t.elementBusinessObject.name || t.elementBusinessObject.id })
|
|
154396
154419
|
] }),
|
|
154397
|
-
/* @__PURE__ */ E.jsxs(
|
|
154420
|
+
/* @__PURE__ */ E.jsxs(ui, { children: [
|
|
154398
154421
|
t.status === "unsupported binding" && "Version tag binding is not supported in Play",
|
|
154399
154422
|
t.status === "not found" && "File not found",
|
|
154400
154423
|
t.status === "deployment error" && "Deployment error"
|
|
154401
154424
|
] }),
|
|
154402
|
-
/* @__PURE__ */ E.jsx(
|
|
154403
|
-
/* @__PURE__ */ E.jsxs(
|
|
154425
|
+
/* @__PURE__ */ E.jsx(ui, { children: t.filename || t.id }),
|
|
154426
|
+
/* @__PURE__ */ E.jsxs(ui, { children: [
|
|
154404
154427
|
t.status === "unsupported binding" && /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
|
|
154405
154428
|
"Change the binding for the element.",
|
|
154406
154429
|
" ",
|
|
@@ -154441,13 +154464,13 @@ const GB = new oGt(), dBe = it(() => {
|
|
|
154441
154464
|
] })
|
|
154442
154465
|
] }, t.id + Math.random().toString())),
|
|
154443
154466
|
Kd.connectorProblems.map((t) => /* @__PURE__ */ E.jsxs(Lo, { children: [
|
|
154444
|
-
/* @__PURE__ */ E.jsxs(
|
|
154467
|
+
/* @__PURE__ */ E.jsxs(ui, { children: [
|
|
154445
154468
|
/* @__PURE__ */ E.jsx(oD, {}),
|
|
154446
154469
|
/* @__PURE__ */ E.jsx("b", { children: t.element.businessObject.name || t.element.businessObject.id })
|
|
154447
154470
|
] }),
|
|
154448
|
-
/* @__PURE__ */ E.jsx(
|
|
154449
|
-
/* @__PURE__ */ E.jsx(
|
|
154450
|
-
/* @__PURE__ */ E.jsx(
|
|
154471
|
+
/* @__PURE__ */ E.jsx(ui, { children: `Secret "${t.missingSecret}" missing` }),
|
|
154472
|
+
/* @__PURE__ */ E.jsx(ui, { children: "-" }),
|
|
154473
|
+
/* @__PURE__ */ E.jsx(ui, { children: /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
|
|
154451
154474
|
/* @__PURE__ */ E.jsx(
|
|
154452
154475
|
Za,
|
|
154453
154476
|
{
|
|
@@ -154470,13 +154493,13 @@ const GB = new oGt(), dBe = it(() => {
|
|
|
154470
154493
|
] }) })
|
|
154471
154494
|
] }, t.element.id + t.missingSecret)),
|
|
154472
154495
|
e.map((t) => /* @__PURE__ */ E.jsxs(Lo, { children: [
|
|
154473
|
-
/* @__PURE__ */ E.jsxs(
|
|
154496
|
+
/* @__PURE__ */ E.jsxs(ui, { children: [
|
|
154474
154497
|
/* @__PURE__ */ E.jsx(oD, {}),
|
|
154475
154498
|
/* @__PURE__ */ E.jsx("b", { children: t.businessObject.name || t.businessObject.id })
|
|
154476
154499
|
] }),
|
|
154477
|
-
/* @__PURE__ */ E.jsx(
|
|
154478
|
-
/* @__PURE__ */ E.jsx(
|
|
154479
|
-
/* @__PURE__ */ E.jsx(
|
|
154500
|
+
/* @__PURE__ */ E.jsx(ui, { children: "Execution listeners are not suppported in Play. See actionable solution to resolve the issue." }),
|
|
154501
|
+
/* @__PURE__ */ E.jsx(ui, { children: "-" }),
|
|
154502
|
+
/* @__PURE__ */ E.jsx(ui, { children: /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
|
|
154480
154503
|
" Skip element. ",
|
|
154481
154504
|
/* @__PURE__ */ E.jsx(
|
|
154482
154505
|
Za,
|
|
@@ -154499,7 +154522,7 @@ dBe.displayName = "ErrorPanel";
|
|
|
154499
154522
|
G(Mn)`
|
|
154500
154523
|
${El.bodyCompact01};
|
|
154501
154524
|
`;
|
|
154502
|
-
const aD = G(
|
|
154525
|
+
const aD = G(ui)`
|
|
154503
154526
|
padding-top: 0 !important;
|
|
154504
154527
|
padding-bottom: 0 !important;
|
|
154505
154528
|
color: var(--cds-text-primary);
|
|
@@ -154542,7 +154565,7 @@ const aD = G(di)`
|
|
|
154542
154565
|
}
|
|
154543
154566
|
),
|
|
154544
154567
|
/* @__PURE__ */ E.jsxs(aGt, { children: [
|
|
154545
|
-
|
|
154568
|
+
fi.currentTotalCoverage.toFixed(0),
|
|
154546
154569
|
"%"
|
|
154547
154570
|
] })
|
|
154548
154571
|
] }));
|
|
@@ -154559,7 +154582,7 @@ const uGt = G(Mn)`
|
|
|
154559
154582
|
align-items: center;
|
|
154560
154583
|
padding-left: 0;
|
|
154561
154584
|
`, fBe = it(() => {
|
|
154562
|
-
const [i, e] = ye(!1), t =
|
|
154585
|
+
const [i, e] = ye(!1), t = fi.state.scenarios, { processId: n } = pt;
|
|
154563
154586
|
if (n !== void 0)
|
|
154564
154587
|
return /* @__PURE__ */ E.jsxs(uGt, { gap: 5, orientation: "horizontal", children: [
|
|
154565
154588
|
/* @__PURE__ */ E.jsx(uBe, {}),
|
|
@@ -154572,11 +154595,11 @@ const uGt = G(Mn)`
|
|
|
154572
154595
|
size: "sm",
|
|
154573
154596
|
kind: "ghost",
|
|
154574
154597
|
renderIcon: yI,
|
|
154575
|
-
disabled:
|
|
154598
|
+
disabled: fi.isAnyScenarioRunning,
|
|
154576
154599
|
onClick: async () => {
|
|
154577
|
-
e(!0), await Promise.all(
|
|
154600
|
+
e(!0), qn.runScenarios(t.length), await Promise.all(
|
|
154578
154601
|
t.map(async ({ name: r, actions: s }) => {
|
|
154579
|
-
await
|
|
154602
|
+
await fi.runSingleScenario({
|
|
154580
154603
|
name: r,
|
|
154581
154604
|
processId: n,
|
|
154582
154605
|
actions: s
|
|
@@ -154637,9 +154660,9 @@ const uGt = G(Mn)`
|
|
|
154637
154660
|
null
|
|
154638
154661
|
), { processId: t } = pt;
|
|
154639
154662
|
Ve(() => {
|
|
154640
|
-
t !== void 0 &&
|
|
154663
|
+
t !== void 0 && fi.loadScenarios(t);
|
|
154641
154664
|
}, [t]);
|
|
154642
|
-
const { scenarios: n, selectedScenario: r } =
|
|
154665
|
+
const { scenarios: n, selectedScenario: r } = fi.state;
|
|
154643
154666
|
return n.length === 0 || t === void 0 ? /* @__PURE__ */ E.jsx(pGt, {}) : /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
|
|
154644
154667
|
/* @__PURE__ */ E.jsx(fBe, {}),
|
|
154645
154668
|
/* @__PURE__ */ E.jsxs(s3, { size: "sm", children: [
|
|
@@ -154649,7 +154672,7 @@ const uGt = G(Mn)`
|
|
|
154649
154672
|
/* @__PURE__ */ E.jsx($s, { children: "Operations" })
|
|
154650
154673
|
] }) }),
|
|
154651
154674
|
/* @__PURE__ */ E.jsx(a3, { children: n?.map((s) => {
|
|
154652
|
-
const { key: o, name: a, actions: l } = s, c = r?.name === a, d =
|
|
154675
|
+
const { key: o, name: a, actions: l } = s, c = r?.name === a, d = fi.getScenarioRun(a), u = d?.status;
|
|
154653
154676
|
return /* @__PURE__ */ E.jsxs(
|
|
154654
154677
|
Y7e,
|
|
154655
154678
|
{
|
|
@@ -154657,7 +154680,7 @@ const uGt = G(Mn)`
|
|
|
154657
154680
|
$isClickable: !0,
|
|
154658
154681
|
isSelected: c,
|
|
154659
154682
|
onClick: () => {
|
|
154660
|
-
c ?
|
|
154683
|
+
c ? fi.clearSelectedScenario() : fi.setSelectedScenario(s);
|
|
154661
154684
|
},
|
|
154662
154685
|
children: [
|
|
154663
154686
|
/* @__PURE__ */ E.jsx(aD, { children: a }),
|
|
@@ -154683,7 +154706,7 @@ const uGt = G(Mn)`
|
|
|
154683
154706
|
kind: "ghost",
|
|
154684
154707
|
size: "sm",
|
|
154685
154708
|
onClick: async (f) => {
|
|
154686
|
-
f.stopPropagation(),
|
|
154709
|
+
f.stopPropagation(), qn.runScenarios(1), fi.runSingleScenario({
|
|
154687
154710
|
name: a,
|
|
154688
154711
|
processId: t,
|
|
154689
154712
|
actions: l
|
|
@@ -154726,7 +154749,7 @@ const uGt = G(Mn)`
|
|
|
154726
154749
|
kind: "ghost",
|
|
154727
154750
|
size: "sm",
|
|
154728
154751
|
onClick: () => {
|
|
154729
|
-
|
|
154752
|
+
qn.runScenarios(1), fi.runSingleScenario({
|
|
154730
154753
|
name: a,
|
|
154731
154754
|
processId: t,
|
|
154732
154755
|
actions: l
|
|
@@ -154773,10 +154796,10 @@ const uGt = G(Mn)`
|
|
|
154773
154796
|
e(null);
|
|
154774
154797
|
},
|
|
154775
154798
|
onRequestSubmit: () => {
|
|
154776
|
-
t === void 0 || i === null || (e(null),
|
|
154799
|
+
t === void 0 || i === null || (e(null), fi.deleteScenario({
|
|
154777
154800
|
processId: t,
|
|
154778
154801
|
scenario: i
|
|
154779
|
-
}),
|
|
154802
|
+
}), fi.loadScenarios(t));
|
|
154780
154803
|
},
|
|
154781
154804
|
children: /* @__PURE__ */ E.jsx("div", { children: `Are you sure you want to delete '${i?.name}' scenario? This action cannot be undone.` })
|
|
154782
154805
|
}
|
|
@@ -154818,7 +154841,7 @@ const gGt = G.div`
|
|
|
154818
154841
|
/* @__PURE__ */ E.jsx(lD, { children: "Operations" })
|
|
154819
154842
|
] }) }),
|
|
154820
154843
|
/* @__PURE__ */ E.jsx(a3, { children: i?.map(({ key: e, startDate: t, state: n, incident: r }) => /* @__PURE__ */ E.jsxs(Lo, { children: [
|
|
154821
|
-
/* @__PURE__ */ E.jsxs(
|
|
154844
|
+
/* @__PURE__ */ E.jsxs(ui, { children: [
|
|
154822
154845
|
/* @__PURE__ */ E.jsx(wGt, { children: /* @__PURE__ */ E.jsx(jB, { state: r ? "INCIDENT" : n, size: 20 }) }),
|
|
154823
154846
|
/* @__PURE__ */ E.jsx(
|
|
154824
154847
|
vGt,
|
|
@@ -154834,9 +154857,9 @@ const gGt = G.div`
|
|
|
154834
154857
|
}
|
|
154835
154858
|
)
|
|
154836
154859
|
] }),
|
|
154837
|
-
/* @__PURE__ */ E.jsx(
|
|
154838
|
-
/* @__PURE__ */ E.jsx(
|
|
154839
|
-
] }, e)) ?? /* @__PURE__ */ E.jsx(Lo, { children: /* @__PURE__ */ E.jsx(
|
|
154860
|
+
/* @__PURE__ */ E.jsx(ui, { children: $Ve(t) }),
|
|
154861
|
+
/* @__PURE__ */ E.jsx(ui, { children: "-" })
|
|
154862
|
+
] }, e)) ?? /* @__PURE__ */ E.jsx(Lo, { children: /* @__PURE__ */ E.jsx(ui, { children: "No Content" }) }) })
|
|
154840
154863
|
] });
|
|
154841
154864
|
});
|
|
154842
154865
|
gBe.displayName = "Processes";
|
|
@@ -155109,7 +155132,7 @@ class IGt {
|
|
|
155109
155132
|
};
|
|
155110
155133
|
render = async (e) => {
|
|
155111
155134
|
const { container: t, xml: n, selectableFlowNodeIds: r, selectedFlowNodeIds: s } = e;
|
|
155112
|
-
if (this.navigatedViewer === null && this.#c(t), this.#n !== n && (this.#n = n, await this.import(n)), !
|
|
155135
|
+
if (this.navigatedViewer === null && this.#c(t), this.#n !== n && (this.#n = n, await this.import(n)), !Yn(this.#t, r)) {
|
|
155113
155136
|
this.#t.forEach((l) => {
|
|
155114
155137
|
this.removeMarker(l, "play-selectable");
|
|
155115
155138
|
}), r.forEach((l) => {
|
|
@@ -155126,7 +155149,7 @@ class IGt {
|
|
|
155126
155149
|
this.addMarker(l, "play-non-selectable"), e.showModificationNotSupportedTooltip && this.#r(l, TGt);
|
|
155127
155150
|
}), this.#i = a ? a.map(({ id: l }) => l) : [];
|
|
155128
155151
|
}
|
|
155129
|
-
if (!
|
|
155152
|
+
if (!Yn(this.#e?.sort(), s?.sort())) {
|
|
155130
155153
|
this.#e !== void 0 && (this.#e.forEach((a) => {
|
|
155131
155154
|
this.removeMarker(a, "play-selected"), this.removeMarker(a, "play-selected-frame");
|
|
155132
155155
|
}), this.selectedFlowNode = void 0);
|
|
@@ -155626,7 +155649,7 @@ const A4 = it(
|
|
|
155626
155649
|
variables: w,
|
|
155627
155650
|
timeToLive: p,
|
|
155628
155651
|
messageId: m
|
|
155629
|
-
}),
|
|
155652
|
+
}), qn.trackUserCompletesElement(o, w), s ? a.displayNotification?.success({
|
|
155630
155653
|
title: r1
|
|
155631
155654
|
}) : a.displayNotification?.info({
|
|
155632
155655
|
title: `Message "${c}" published`,
|
|
@@ -155778,7 +155801,7 @@ const UT = it(
|
|
|
155778
155801
|
messageCorrelationKey: i.keyCandidate,
|
|
155779
155802
|
variables: c
|
|
155780
155803
|
}
|
|
155781
|
-
),
|
|
155804
|
+
), qn.trackUserCompletesElement(
|
|
155782
155805
|
t,
|
|
155783
155806
|
c
|
|
155784
155807
|
), n ? r.displayNotification?.success({
|
|
@@ -155921,7 +155944,7 @@ const KGt = { top: -20, left: -30 }, _c = { top: -38, left: 0 }, YGt = { bottom:
|
|
|
155921
155944
|
const le = await t.startInstance?.(JSON.stringify(Q));
|
|
155922
155945
|
o(!1), le ? (t.displayNotification?.success({
|
|
155923
155946
|
title: r1
|
|
155924
|
-
}),
|
|
155947
|
+
}), qn.trackUserCompletesElement(
|
|
155925
155948
|
i,
|
|
155926
155949
|
JSON.stringify(Q)
|
|
155927
155950
|
)) : t.displayNotification?.error(nr);
|
|
@@ -155970,7 +155993,7 @@ const KGt = { top: -20, left: -30 }, _c = { top: -38, left: 0 }, YGt = { bottom:
|
|
|
155970
155993
|
...z
|
|
155971
155994
|
};
|
|
155972
155995
|
let Ee = "none";
|
|
155973
|
-
|
|
155996
|
+
Yn(le, Q) ? Ee = "bpmn" : Yn(le, z) && (Ee = "cache"), y(Ee);
|
|
155974
155997
|
const P = new Y2();
|
|
155975
155998
|
l.current = P, P.attachTo(a.current);
|
|
155976
155999
|
const { warnings: I } = await P.importSchema(
|
|
@@ -155982,7 +156005,7 @@ const KGt = { top: -20, left: -30 }, _c = { top: -38, left: 0 }, YGt = { bottom:
|
|
|
155982
156005
|
({ data: T, errors: U }) => {
|
|
155983
156006
|
const X = localStorage.getItem(
|
|
155984
156007
|
`jobCompletion ${pt.processId} ${i.id}`
|
|
155985
|
-
), ce = !
|
|
156008
|
+
), ce = !Yn(T, JSON.parse(F0(i) || "{}")) && !Yn(T, JSON.parse(X || "{}"));
|
|
155986
156009
|
g(ce), A(JSON.stringify(T)), v(Object.keys(U).length === 0);
|
|
155987
156010
|
}
|
|
155988
156011
|
);
|
|
@@ -156030,7 +156053,7 @@ const KGt = { top: -20, left: -30 }, _c = { top: -38, left: 0 }, YGt = { bottom:
|
|
|
156030
156053
|
t.displayNotification?.error(nr), d(!1);
|
|
156031
156054
|
return;
|
|
156032
156055
|
}
|
|
156033
|
-
|
|
156056
|
+
qn.trackUserCompletesElement(i, q);
|
|
156034
156057
|
const Q = d0({ prefillSource: ee }) || void 0;
|
|
156035
156058
|
t.displayNotification?.success({
|
|
156036
156059
|
title: r1,
|
|
@@ -156060,7 +156083,7 @@ const KGt = { top: -20, left: -30 }, _c = { top: -38, left: 0 }, YGt = { bottom:
|
|
|
156060
156083
|
t.displayNotification?.error(nr), d(!1);
|
|
156061
156084
|
return;
|
|
156062
156085
|
}
|
|
156063
|
-
|
|
156086
|
+
qn.trackUserCompletesElement(
|
|
156064
156087
|
i,
|
|
156065
156088
|
se
|
|
156066
156089
|
), localStorage.setItem(
|
|
@@ -156267,7 +156290,7 @@ Error type: ${e.type}
|
|
|
156267
156290
|
Error message: ${e.message}`
|
|
156268
156291
|
), t.displayNotification?.info({
|
|
156269
156292
|
title: "AI prompt copied. Paste in the text area to continue."
|
|
156270
|
-
}), r(!1)) : window.open(`${t.organizationManagementPageUrl}/settings`),
|
|
156293
|
+
}), r(!1)) : window.open(`${t.organizationManagementPageUrl}/settings`), qn.trackIncidentAIModalOpened({
|
|
156271
156294
|
areAIFeaturesEnabled: o
|
|
156272
156295
|
});
|
|
156273
156296
|
}
|
|
@@ -156308,7 +156331,7 @@ Error message: ${e.message}`
|
|
|
156308
156331
|
t.displayNotification?.error(nr);
|
|
156309
156332
|
return;
|
|
156310
156333
|
}
|
|
156311
|
-
|
|
156334
|
+
qn.trackResolveIncident(pt.processId), (await qf.resolveIncident(e.key))?.success === !1 ? t.displayNotification?.error(nr) : s !== void 0 && io(ir(s.key), {
|
|
156312
156335
|
action: "resolveIncident",
|
|
156313
156336
|
elementId: i.id,
|
|
156314
156337
|
hasJob: !!e.jobKey
|
|
@@ -156323,7 +156346,7 @@ xBe.displayName = "IncidentButton";
|
|
|
156323
156346
|
const SBe = it(({ element: i }) => {
|
|
156324
156347
|
const { completedElementInstances: e } = sr, { isInstanceDetailPageVisible: t } = Be, n = Js.state.activeTab === "scenarios", {
|
|
156325
156348
|
state: { sequenceFlows: r }
|
|
156326
|
-
} = j2, s =
|
|
156349
|
+
} = j2, s = fi.state.selectedScenario?.coveredSequenceFlows ?? fi.allCoveredSequenceFlows;
|
|
156327
156350
|
return Ve(() => {
|
|
156328
156351
|
if (t)
|
|
156329
156352
|
return r.includes(i.id) || i?.di?.bpmnElement?.sourceRef?.$type === "bpmn:EventBasedGateway" && e.some(
|
|
@@ -156400,7 +156423,7 @@ const DBe = it(({ element: i }) => {
|
|
|
156400
156423
|
}, [H]), Ve(() => {
|
|
156401
156424
|
const T = F0(i), U = localStorage.getItem(
|
|
156402
156425
|
`jobCompletion ${pt.processId} ${i.id}`
|
|
156403
|
-
), X = JSON.parse(U || "{}"), ce = JSON.parse(T || "{}"), Ce = y === "bpmn" &&
|
|
156426
|
+
), X = JSON.parse(U || "{}"), ce = JSON.parse(T || "{}"), Ce = y === "bpmn" && Yn(JSON.parse(M), ce), Xe = y === "cache" && Yn(JSON.parse(M), X);
|
|
156404
156427
|
w(!Ce && !Xe);
|
|
156405
156428
|
}, [M, i, y]);
|
|
156406
156429
|
const q = W ? eBe : nm;
|
|
@@ -156418,7 +156441,7 @@ const DBe = it(({ element: i }) => {
|
|
|
156418
156441
|
type: "userTask",
|
|
156419
156442
|
elementId: i.id,
|
|
156420
156443
|
variables: JSON.stringify(U)
|
|
156421
|
-
}),
|
|
156444
|
+
}), qn.trackUserCompletesElement(
|
|
156422
156445
|
i,
|
|
156423
156446
|
JSON.stringify(U)
|
|
156424
156447
|
)), ce ? dD(i, e) : e.displayNotification?.error(nr), localStorage.setItem(
|
|
@@ -156478,7 +156501,7 @@ const DBe = it(({ element: i }) => {
|
|
|
156478
156501
|
...Xe
|
|
156479
156502
|
}, bn = bb(X), Ln = se(gt, bn);
|
|
156480
156503
|
let lr = "none";
|
|
156481
|
-
|
|
156504
|
+
Yn(Ln, ce) ? lr = "bpmn" : Yn(Ln, Ce) && (lr = "cache"), S(lr), D(JSON.stringify(Ln)), w(!1);
|
|
156482
156505
|
const po = new Y2();
|
|
156483
156506
|
a.current = po;
|
|
156484
156507
|
const { warnings: Ia } = await po.importSchema(X, Ln);
|
|
@@ -156504,7 +156527,7 @@ const DBe = it(({ element: i }) => {
|
|
|
156504
156527
|
...U,
|
|
156505
156528
|
...X
|
|
156506
156529
|
}, bn = se(gt, Xe);
|
|
156507
|
-
U &&
|
|
156530
|
+
U && Yn(bn, U) ? S("bpmn") : S("none"), w(!1), D(JSON.stringify(bn));
|
|
156508
156531
|
const { warnings: Ln } = await a.current?.importSchema(
|
|
156509
156532
|
Ce,
|
|
156510
156533
|
bn
|
|
@@ -156553,7 +156576,7 @@ const DBe = it(({ element: i }) => {
|
|
|
156553
156576
|
elementId: i.id,
|
|
156554
156577
|
variables: le || void 0,
|
|
156555
156578
|
taskDefinitionType: B
|
|
156556
|
-
}),
|
|
156579
|
+
}), qn.trackUserCompletesElement(i, le)), !T)
|
|
156557
156580
|
e.displayNotification?.error(nr), p(!1);
|
|
156558
156581
|
else {
|
|
156559
156582
|
const U = d0({ prefillSource: Ee }) || void 0;
|
|
@@ -156615,7 +156638,7 @@ const DBe = it(({ element: i }) => {
|
|
|
156615
156638
|
elementId: i.id,
|
|
156616
156639
|
variables: T ?? void 0,
|
|
156617
156640
|
taskDefinitionType: B
|
|
156618
|
-
}),
|
|
156641
|
+
}), qn.trackUserCompletesElement(
|
|
156619
156642
|
i,
|
|
156620
156643
|
T
|
|
156621
156644
|
), localStorage.setItem(
|
|
@@ -156798,7 +156821,7 @@ class gQt extends nBe {
|
|
|
156798
156821
|
state = { ...oEe };
|
|
156799
156822
|
constructor() {
|
|
156800
156823
|
super(), Es(this, {
|
|
156801
|
-
state:
|
|
156824
|
+
state: ei,
|
|
156802
156825
|
startRewinding: Et,
|
|
156803
156826
|
endRewinding: Et,
|
|
156804
156827
|
reset: Et
|
|
@@ -156853,7 +156876,7 @@ const mf = new gQt(), MBe = it(({ element: i }) => {
|
|
|
156853
156876
|
});
|
|
156854
156877
|
return;
|
|
156855
156878
|
}
|
|
156856
|
-
await fQt(a),
|
|
156879
|
+
await fQt(a), qn.trackRewindedInstanceStart(), Be.reset(), Be.setInstanceDetails({
|
|
156857
156880
|
instanceKey: a,
|
|
156858
156881
|
instanceType: "REWOUND_INSTANCE"
|
|
156859
156882
|
}), await mf.repeatUserActions({
|
|
@@ -156939,7 +156962,7 @@ const AQt = G.div`
|
|
|
156939
156962
|
signalName: a,
|
|
156940
156963
|
variables: c,
|
|
156941
156964
|
elementId: r.id
|
|
156942
|
-
}),
|
|
156965
|
+
}), qn.trackUserCompletesElement(r, c), n ? s.displayNotification?.success({
|
|
156943
156966
|
title: r1
|
|
156944
156967
|
}) : s.displayNotification?.info({
|
|
156945
156968
|
title: `Signal "${a}" broadcasted`
|
|
@@ -157038,7 +157061,7 @@ const GT = it(
|
|
|
157038
157061
|
signalName: i.signalName,
|
|
157039
157062
|
variables: c
|
|
157040
157063
|
}
|
|
157041
|
-
),
|
|
157064
|
+
), qn.trackUserCompletesElement(
|
|
157042
157065
|
t,
|
|
157043
157066
|
c
|
|
157044
157067
|
), n ? r.displayNotification?.success({
|
|
@@ -157086,7 +157109,7 @@ const kBe = it(({ decisionId: i }) => {
|
|
|
157086
157109
|
renderIcon: () => /* @__PURE__ */ E.jsx(Py, {}),
|
|
157087
157110
|
onClick: () => {
|
|
157088
157111
|
const r = `${t}/decisions/${e.id}`;
|
|
157089
|
-
window.open(r, "_blank"),
|
|
157112
|
+
window.open(r, "_blank"), qn.openOperate(r);
|
|
157090
157113
|
}
|
|
157091
157114
|
}
|
|
157092
157115
|
]
|
|
@@ -158765,7 +158788,7 @@ const wKt = ({
|
|
|
158765
158788
|
}
|
|
158766
158789
|
]
|
|
158767
158790
|
});
|
|
158768
|
-
return l &&
|
|
158791
|
+
return l && qn.applyModifictation("add-token"), l;
|
|
158769
158792
|
},
|
|
158770
158793
|
notificationTitle: `Adding token on ${n}`
|
|
158771
158794
|
}
|
|
@@ -158787,7 +158810,7 @@ const wKt = ({
|
|
|
158787
158810
|
processInstanceKey: r.key,
|
|
158788
158811
|
terminateInstructions: l
|
|
158789
158812
|
});
|
|
158790
|
-
return c &&
|
|
158813
|
+
return c && qn.applyModifictation("cancel-token"), c;
|
|
158791
158814
|
},
|
|
158792
158815
|
notificationTitle: `Canceling ${YVe(l.length, "token")} on ${n}`
|
|
158793
158816
|
}
|
|
@@ -158862,7 +158885,7 @@ const jBe = it(({ element: i, addOverlay: e }) => {
|
|
|
158862
158885
|
});
|
|
158863
158886
|
jBe.displayName = "ProblemOverlay";
|
|
158864
158887
|
const ZBe = it(({ element: i }) => {
|
|
158865
|
-
const { isInstanceDetailPageVisible: e } = Be, t =
|
|
158888
|
+
const { isInstanceDetailPageVisible: e } = Be, t = fi.isSingleScenarioSelected ? fi.coveredFlowNodeIdsForSelectedScenario : fi.allCoveredFlowNodes.map(({ flowNodeId: r }) => r), n = Js.state.activeTab === "scenarios";
|
|
158866
158889
|
return Ve(() => {
|
|
158867
158890
|
if (!e && t.length > 0 && n)
|
|
158868
158891
|
return t.includes(i.id) ? Nt.state.viewer?.addMarker(i.id, "play-flow-node-taken") : Nt.state.viewer?.removeMarker(
|
|
@@ -159187,9 +159210,9 @@ const TJt = ({
|
|
|
159187
159210
|
),
|
|
159188
159211
|
[]
|
|
159189
159212
|
), Ve(() => (V === "saas" && Yg.init(), Js.init(A?.isReplayScenariosEnabled), () => {
|
|
159190
|
-
V === "saas" && Yg.reset(), Be.reset(), Kd.reset(), pt.reset(), Nt.reset(), Js.reset(),
|
|
159213
|
+
V === "saas" && Yg.reset(), Be.reset(), Kd.reset(), pt.reset(), Nt.reset(), Js.reset(), fi.reset();
|
|
159191
159214
|
}), [A?.isReplayScenariosEnabled, V]), Ve(() => {
|
|
159192
|
-
V === "saas" && !R || (
|
|
159215
|
+
V === "saas" && !R || (qn.init({ mixpanelTrack: c, processId: o, diagramId: L }), lt.init({
|
|
159193
159216
|
authConfig: i,
|
|
159194
159217
|
handlePostRequest: u,
|
|
159195
159218
|
handleGetRequest: d
|