@camunda/play 5.5.1-rc.3 → 5.5.1-rc.4
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 +290 -301
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -382,7 +382,7 @@ function BRe() {
|
|
|
382
382
|
ref: !0,
|
|
383
383
|
__self: !0,
|
|
384
384
|
__source: !0
|
|
385
|
-
}, He,
|
|
385
|
+
}, He, Ue;
|
|
386
386
|
function ut($) {
|
|
387
387
|
if (cn.call($, "ref")) {
|
|
388
388
|
var Te = Object.getOwnPropertyDescriptor($, "ref").get;
|
|
@@ -416,7 +416,7 @@ function BRe() {
|
|
|
416
416
|
function nt($, Te) {
|
|
417
417
|
{
|
|
418
418
|
var tt = function() {
|
|
419
|
-
|
|
419
|
+
Ue || (Ue = !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));
|
|
420
420
|
};
|
|
421
421
|
tt.isReactWarning = !0, Object.defineProperty($, "ref", {
|
|
422
422
|
get: tt,
|
|
@@ -8152,11 +8152,8 @@ class $Qe {
|
|
|
8152
8152
|
reset = () => {
|
|
8153
8153
|
this.state = { ...NP };
|
|
8154
8154
|
};
|
|
8155
|
-
get isSelfManaged() {
|
|
8156
|
-
return this.authType === "sm";
|
|
8157
|
-
}
|
|
8158
8155
|
}
|
|
8159
|
-
const
|
|
8156
|
+
const Fe = new $Qe(), EP = { selection: null };
|
|
8160
8157
|
class eqe {
|
|
8161
8158
|
state = { ...EP };
|
|
8162
8159
|
rootNodeSelectionDisposer = null;
|
|
@@ -8397,13 +8394,13 @@ let nqe = class {
|
|
|
8397
8394
|
fetchLinkedStartForm = async () => {
|
|
8398
8395
|
if (this.startEventWithLinkedForm === void 0)
|
|
8399
8396
|
return;
|
|
8400
|
-
const e = vP(this.startEventWithLinkedForm)?.formId, n = (await
|
|
8401
|
-
|
|
8397
|
+
const e = vP(this.startEventWithLinkedForm)?.formId, n = (await Fe.fetchFilesByFormId?.(
|
|
8398
|
+
Fe.projectId,
|
|
8402
8399
|
e
|
|
8403
8400
|
))?.at(0)?.id;
|
|
8404
8401
|
if (!n)
|
|
8405
8402
|
return;
|
|
8406
|
-
const i = await
|
|
8403
|
+
const i = await Fe.fetchFileById?.(n);
|
|
8407
8404
|
this.state.linkedStartForm = i?.content ?? "{}";
|
|
8408
8405
|
};
|
|
8409
8406
|
getErrorBoundaryEventsForElement = (e, t = []) => {
|
|
@@ -8544,7 +8541,7 @@ function rqe(o) {
|
|
|
8544
8541
|
function xP(o) {
|
|
8545
8542
|
return Du(async () => {
|
|
8546
8543
|
const { processInstances: e, success: t } = await At.fetchInstances(
|
|
8547
|
-
|
|
8544
|
+
Fe.state.processDefinitionKey
|
|
8548
8545
|
);
|
|
8549
8546
|
if (t) {
|
|
8550
8547
|
const n = e[0];
|
|
@@ -8649,7 +8646,7 @@ let sqe = class extends np {
|
|
|
8649
8646
|
elementName: n.flowNodeName ?? null,
|
|
8650
8647
|
bpmnElementType: n.type
|
|
8651
8648
|
} : t.scopeKey === t.processInstanceKey && (i = {
|
|
8652
|
-
elementId:
|
|
8649
|
+
elementId: Fe.processId,
|
|
8653
8650
|
elementName: null,
|
|
8654
8651
|
bpmnElementType: "PROCESS"
|
|
8655
8652
|
}), {
|
|
@@ -8779,7 +8776,7 @@ class pqe {
|
|
|
8779
8776
|
const { messageSubscriptionCandidates: e } = Et, { activeElementIdsWithoutIncident: t } = _s, { variables: n } = Bs.state, i = Ie.state.processInstance?.state === "ACTIVE";
|
|
8780
8777
|
return e.filter(
|
|
8781
8778
|
(r) => BL({
|
|
8782
|
-
processId:
|
|
8779
|
+
processId: Fe.processId,
|
|
8783
8780
|
activeElementIds: t,
|
|
8784
8781
|
candidate: r,
|
|
8785
8782
|
isProcessRunning: i
|
|
@@ -8810,7 +8807,7 @@ class uqe {
|
|
|
8810
8807
|
const { signalCandidates: e } = Et, { activeElementIdsWithoutIncident: t } = _s, n = Ie.state.processInstance?.state === "ACTIVE";
|
|
8811
8808
|
return e.filter(
|
|
8812
8809
|
(i) => BL({
|
|
8813
|
-
processId:
|
|
8810
|
+
processId: Fe.processId,
|
|
8814
8811
|
activeElementIds: t,
|
|
8815
8812
|
candidate: i,
|
|
8816
8813
|
isProcessRunning: n
|
|
@@ -8831,7 +8828,7 @@ const m5 = new uqe(), jP = ({
|
|
|
8831
8828
|
const { statistics: n } = await At.fetchStatistics(o), { processInstance: i } = await At.fetchInstanceDetails(o);
|
|
8832
8829
|
return t.filter(
|
|
8833
8830
|
(s) => BL({
|
|
8834
|
-
processId:
|
|
8831
|
+
processId: Fe.processId,
|
|
8835
8832
|
activeElementIds: n.filter(
|
|
8836
8833
|
({ active: a, incidents: l }) => Number(a) > 0 && Number(l) === 0
|
|
8837
8834
|
).map(({ activityId: a }) => a),
|
|
@@ -8966,7 +8963,7 @@ class V7e {
|
|
|
8966
8963
|
variables: n
|
|
8967
8964
|
}) => {
|
|
8968
8965
|
const { processInstances: i, success: r } = await At.fetchInstances(
|
|
8969
|
-
|
|
8966
|
+
Fe.state.processDefinitionKey
|
|
8970
8967
|
);
|
|
8971
8968
|
if (!r)
|
|
8972
8969
|
return;
|
|
@@ -9562,7 +9559,7 @@ let Iqe = class extends V7e {
|
|
|
9562
9559
|
this.startFetching();
|
|
9563
9560
|
try {
|
|
9564
9561
|
t = await this.fetchTestsByProcessId?.(
|
|
9565
|
-
|
|
9562
|
+
Fe.projectId,
|
|
9566
9563
|
e
|
|
9567
9564
|
) ?? [];
|
|
9568
9565
|
} catch (r) {
|
|
@@ -9626,7 +9623,7 @@ let Iqe = class extends V7e {
|
|
|
9626
9623
|
subtitle: "Please contact support",
|
|
9627
9624
|
errorMessage: s.errorMessage + " Scenarios: " + JSON.stringify(i)
|
|
9628
9625
|
}), { isSuccess: !1 };
|
|
9629
|
-
const a =
|
|
9626
|
+
const a = Fe.processName?.trim(), l = a ? a + " test scenarios" : "Test scenarios";
|
|
9630
9627
|
let p;
|
|
9631
9628
|
try {
|
|
9632
9629
|
const u = await this.createFile({
|
|
@@ -9676,8 +9673,8 @@ let Iqe = class extends V7e {
|
|
|
9676
9673
|
const a = await this.loadScenarios(e);
|
|
9677
9674
|
this.state.testScenarioFileMetadata?.id === void 0 && await this.createTestScenarioFile({
|
|
9678
9675
|
processId: e,
|
|
9679
|
-
projectId:
|
|
9680
|
-
folderId:
|
|
9676
|
+
projectId: Fe.projectId,
|
|
9677
|
+
folderId: Fe.folderId,
|
|
9681
9678
|
scenarios: a
|
|
9682
9679
|
}), a.push({
|
|
9683
9680
|
key: this.#t(e, n),
|
|
@@ -9736,9 +9733,9 @@ let Iqe = class extends V7e {
|
|
|
9736
9733
|
this.setIsProcessing(!0);
|
|
9737
9734
|
const a = await this.loadScenarios(e);
|
|
9738
9735
|
this.state.testScenarioFileMetadata?.id === void 0 && await this.createTestScenarioFile({
|
|
9739
|
-
projectId:
|
|
9736
|
+
projectId: Fe.projectId,
|
|
9740
9737
|
processId: e,
|
|
9741
|
-
folderId:
|
|
9738
|
+
folderId: Fe.folderId,
|
|
9742
9739
|
scenarios: a
|
|
9743
9740
|
});
|
|
9744
9741
|
const l = {
|
|
@@ -10528,7 +10525,7 @@ function _qe(o, e) {
|
|
|
10528
10525
|
const [t, n] = it(
|
|
10529
10526
|
() => Ie.state.instanceKey
|
|
10530
10527
|
), [i, r] = it(
|
|
10531
|
-
() =>
|
|
10528
|
+
() => Fe.state.processDefinitionKey
|
|
10532
10529
|
);
|
|
10533
10530
|
return Qt(
|
|
10534
10531
|
() => jd(
|
|
@@ -10538,7 +10535,7 @@ function _qe(o, e) {
|
|
|
10538
10535
|
[]
|
|
10539
10536
|
), Qt(
|
|
10540
10537
|
() => jd(
|
|
10541
|
-
() =>
|
|
10538
|
+
() => Fe.state.processDefinitionKey,
|
|
10542
10539
|
(s) => r(s)
|
|
10543
10540
|
),
|
|
10544
10541
|
[]
|
|
@@ -46454,9 +46451,9 @@ function SEe() {
|
|
|
46454
46451
|
let X = null;
|
|
46455
46452
|
const Z = sn({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
46456
46453
|
let Ae = null;
|
|
46457
|
-
const Ne = sn({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), He = "http://www.w3.org/1998/Math/MathML",
|
|
46454
|
+
const Ne = sn({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), He = "http://www.w3.org/1998/Math/MathML", Ue = "http://www.w3.org/2000/svg", ut = "http://www.w3.org/1999/xhtml";
|
|
46458
46455
|
let at = ut, mn = !1, pn = null;
|
|
46459
|
-
const nt = sn({}, [He,
|
|
46456
|
+
const nt = sn({}, [He, Ue, ut], bC);
|
|
46460
46457
|
let Fn;
|
|
46461
46458
|
const Yn = ["application/xhtml+xml", "text/html"], gr = "text/html";
|
|
46462
46459
|
let Ft, Vn = null;
|
|
@@ -46500,7 +46497,7 @@ function SEe() {
|
|
|
46500
46497
|
tagName: "template"
|
|
46501
46498
|
});
|
|
46502
46499
|
const Be = gM(ee.tagName), Lt = gM(Me.tagName);
|
|
46503
|
-
return pn[ee.namespaceURI] ? ee.namespaceURI ===
|
|
46500
|
+
return pn[ee.namespaceURI] ? ee.namespaceURI === Ue ? Me.namespaceURI === ut ? Be === "svg" : Me.namespaceURI === He ? Be === "svg" && (Lt === "annotation-xml" || rc[Lt]) : !!gp[Be] : ee.namespaceURI === He ? Me.namespaceURI === ut ? Be === "math" : Me.namespaceURI === Ue ? Be === "math" && sc[Lt] : !!ac[Be] : ee.namespaceURI === ut ? Me.namespaceURI === Ue && !sc[Lt] || Me.namespaceURI === He && !rc[Lt] ? !1 : !ac[Be] && (hp[Be] || !gp[Be]) : !!(Fn === "application/xhtml+xml" && pn[ee.namespaceURI]) : !1;
|
|
46504
46501
|
}, Aa = function(ee) {
|
|
46505
46502
|
Ym(e.removed, {
|
|
46506
46503
|
element: ee
|
|
@@ -46966,7 +46963,7 @@ class Cx {
|
|
|
46966
46963
|
this._h0 = this._h0 + n & 4294967295, this._h1 = this._h1 + i & 4294967295, this._h2 = this._h2 + r & 4294967295, this._h3 = this._h3 + s & 4294967295, this._h4 = this._h4 + a & 4294967295;
|
|
46967
46964
|
}
|
|
46968
46965
|
}
|
|
46969
|
-
const { getWindow:
|
|
46966
|
+
const { getWindow: Qe, getWindows: REe, getWindowsCount: B0t, getWindowId: k5, getWindowById: q4e, onDidRegisterWindow: T8, onWillUnregisterWindow: V0t, onDidUnregisterWindow: U0t } = function() {
|
|
46970
46967
|
const o = /* @__PURE__ */ new Map();
|
|
46971
46968
|
Ogt(Mn, 1);
|
|
46972
46969
|
const e = { window: Mn, disposables: new Pe() };
|
|
@@ -47013,7 +47010,7 @@ const { getWindow: qe, getWindows: REe, getWindowsCount: B0t, getWindowId: k5, g
|
|
|
47013
47010
|
return l?.view ? l.view.window : Mn;
|
|
47014
47011
|
},
|
|
47015
47012
|
getDocument(s) {
|
|
47016
|
-
return
|
|
47013
|
+
return Qe(s).document;
|
|
47017
47014
|
}
|
|
47018
47015
|
};
|
|
47019
47016
|
}();
|
|
@@ -47044,7 +47041,7 @@ function F0t(o) {
|
|
|
47044
47041
|
}
|
|
47045
47042
|
const qi = function(e, t, n, i) {
|
|
47046
47043
|
let r = n;
|
|
47047
|
-
return t === "click" || t === "mousedown" || t === "contextmenu" ? r = q0t(
|
|
47044
|
+
return t === "click" || t === "mousedown" || t === "contextmenu" ? r = q0t(Qe(e), n) : (t === "keydown" || t === "keypress" || t === "keyup") && (r = F0t(n)), le(e, t, r, i);
|
|
47048
47045
|
};
|
|
47049
47046
|
function T3(o, e, t) {
|
|
47050
47047
|
return JA(o, e, t);
|
|
@@ -47056,7 +47053,7 @@ class Nx extends wx {
|
|
|
47056
47053
|
* @param node The optional node from which the target window is determined
|
|
47057
47054
|
*/
|
|
47058
47055
|
constructor(e) {
|
|
47059
|
-
super(), this.defaultTarget = e &&
|
|
47056
|
+
super(), this.defaultTarget = e && Qe(e);
|
|
47060
47057
|
}
|
|
47061
47058
|
cancelAndSet(e, t, n) {
|
|
47062
47059
|
return super.cancelAndSet(e, t, n ?? this.defaultTarget);
|
|
@@ -47105,10 +47102,10 @@ class NC {
|
|
|
47105
47102
|
};
|
|
47106
47103
|
})();
|
|
47107
47104
|
function z8(o) {
|
|
47108
|
-
return
|
|
47105
|
+
return Qe(o).getComputedStyle(o, null);
|
|
47109
47106
|
}
|
|
47110
47107
|
function uI(o, e) {
|
|
47111
|
-
const t =
|
|
47108
|
+
const t = Qe(o), n = t.document;
|
|
47112
47109
|
if (o !== n.body)
|
|
47113
47110
|
return new za(o.clientWidth, o.clientHeight);
|
|
47114
47111
|
if (V1 && t?.visualViewport)
|
|
@@ -47201,7 +47198,7 @@ function HEe(o) {
|
|
|
47201
47198
|
};
|
|
47202
47199
|
}
|
|
47203
47200
|
function ds(o) {
|
|
47204
|
-
const e = o.getBoundingClientRect(), t =
|
|
47201
|
+
const e = o.getBoundingClientRect(), t = Qe(o);
|
|
47205
47202
|
return {
|
|
47206
47203
|
left: e.left + t.scrollX,
|
|
47207
47204
|
top: e.top + t.scrollY,
|
|
@@ -47347,19 +47344,19 @@ function gI(o, e, t = K0t()) {
|
|
|
47347
47344
|
}
|
|
47348
47345
|
}
|
|
47349
47346
|
function lo(o) {
|
|
47350
|
-
return o instanceof HTMLElement || o instanceof
|
|
47347
|
+
return o instanceof HTMLElement || o instanceof Qe(o).HTMLElement;
|
|
47351
47348
|
}
|
|
47352
47349
|
function F4e(o) {
|
|
47353
|
-
return o instanceof HTMLAnchorElement || o instanceof
|
|
47350
|
+
return o instanceof HTMLAnchorElement || o instanceof Qe(o).HTMLAnchorElement;
|
|
47354
47351
|
}
|
|
47355
47352
|
function X0t(o) {
|
|
47356
|
-
return o instanceof SVGElement || o instanceof
|
|
47353
|
+
return o instanceof SVGElement || o instanceof Qe(o).SVGElement;
|
|
47357
47354
|
}
|
|
47358
47355
|
function Ix(o) {
|
|
47359
|
-
return o instanceof MouseEvent || o instanceof
|
|
47356
|
+
return o instanceof MouseEvent || o instanceof Qe(o).MouseEvent;
|
|
47360
47357
|
}
|
|
47361
47358
|
function Sp(o) {
|
|
47362
|
-
return o instanceof KeyboardEvent || o instanceof
|
|
47359
|
+
return o instanceof KeyboardEvent || o instanceof Qe(o).KeyboardEvent;
|
|
47363
47360
|
}
|
|
47364
47361
|
const De = {
|
|
47365
47362
|
// Mouse
|
|
@@ -47430,7 +47427,7 @@ class O5 extends he {
|
|
|
47430
47427
|
const i = () => {
|
|
47431
47428
|
n = !1, t || (t = !0, this._onDidFocus.fire());
|
|
47432
47429
|
}, r = () => {
|
|
47433
|
-
t && (n = !0, (lo(e) ?
|
|
47430
|
+
t && (n = !0, (lo(e) ? Qe(e) : e).setTimeout(() => {
|
|
47434
47431
|
n && (n = !1, t = !1, this._onDidBlur.fire());
|
|
47435
47432
|
}, 0));
|
|
47436
47433
|
};
|
|
@@ -58636,7 +58633,7 @@ class RIe extends he {
|
|
|
58636
58633
|
try {
|
|
58637
58634
|
n = !1, i = !0, t();
|
|
58638
58635
|
} finally {
|
|
58639
|
-
Wr(
|
|
58636
|
+
Wr(Qe(this._referenceDomElement), () => {
|
|
58640
58637
|
i = !1, r();
|
|
58641
58638
|
});
|
|
58642
58639
|
}
|
|
@@ -58815,10 +58812,10 @@ var Oft = function(o, e, t, n) {
|
|
|
58815
58812
|
};
|
|
58816
58813
|
let kI = class extends he {
|
|
58817
58814
|
constructor(e, t, n, i, r) {
|
|
58818
|
-
super(), this._accessibilityService = r, this._onDidChange = this._register(new J()), this.onDidChange = this._onDidChange.event, this._onDidChangeFast = this._register(new J()), this.onDidChangeFast = this._onDidChangeFast.event, this._isDominatedByLongLines = !1, this._viewLineCount = 1, this._lineNumbersDigitCount = 1, this._reservedHeight = 0, this._glyphMarginDecorationLaneCount = 1, this._computeOptionsMemory = new JNe(), this.isSimpleWidget = e, this.contextMenuId = t, this._containerObserver = this._register(new RIe(i, n.dimension)), this._targetWindowId =
|
|
58815
|
+
super(), this._accessibilityService = r, this._onDidChange = this._register(new J()), this.onDidChange = this._onDidChange.event, this._onDidChangeFast = this._register(new J()), this.onDidChangeFast = this._onDidChangeFast.event, this._isDominatedByLongLines = !1, this._viewLineCount = 1, this._lineNumbersDigitCount = 1, this._reservedHeight = 0, this._glyphMarginDecorationLaneCount = 1, this._computeOptionsMemory = new JNe(), this.isSimpleWidget = e, this.contextMenuId = t, this._containerObserver = this._register(new RIe(i, n.dimension)), this._targetWindowId = Qe(i).vscodeWindowId, this._rawOptions = ZMe(n), this._validatedOptions = $u.validateOptions(this._rawOptions), this.options = this._computeOptions(), this.options.get(
|
|
58819
58816
|
13
|
|
58820
58817
|
/* EditorOption.automaticLayout */
|
|
58821
|
-
) && this._containerObserver.startObserving(), this._register(Zu.onDidChangeZoomLevel(() => this._recomputeOptions())), this._register(K5.onDidChangeTabFocus(() => this._recomputeOptions())), this._register(this._containerObserver.onDidChange(() => this._recomputeOptions())), this._register(AI.onDidChange(() => this._recomputeOptions())), this._register(j5.getInstance(
|
|
58818
|
+
) && this._containerObserver.startObserving(), this._register(Zu.onDidChangeZoomLevel(() => this._recomputeOptions())), this._register(K5.onDidChangeTabFocus(() => this._recomputeOptions())), this._register(this._containerObserver.onDidChange(() => this._recomputeOptions())), this._register(AI.onDidChange(() => this._recomputeOptions())), this._register(j5.getInstance(Qe(i)).onDidChange(() => this._recomputeOptions())), this._register(this._accessibilityService.onDidChangeScreenReaderOptimized(() => this._recomputeOptions()));
|
|
58822
58819
|
}
|
|
58823
58820
|
_recomputeOptions() {
|
|
58824
58821
|
const e = this._computeOptions(), t = $u.checkEquals(this.options, e);
|
|
@@ -59086,7 +59083,7 @@ class W8 {
|
|
|
59086
59083
|
}
|
|
59087
59084
|
}));
|
|
59088
59085
|
} catch {
|
|
59089
|
-
s =
|
|
59086
|
+
s = Qe(e);
|
|
59090
59087
|
}
|
|
59091
59088
|
this._hooks.add(le(s, De.POINTER_MOVE, (a) => {
|
|
59092
59089
|
if (a.buttons !== n) {
|
|
@@ -59373,7 +59370,7 @@ function ok(o, e, t) {
|
|
|
59373
59370
|
}
|
|
59374
59371
|
class Ud extends vl {
|
|
59375
59372
|
constructor(e, t, n) {
|
|
59376
|
-
super(
|
|
59373
|
+
super(Qe(n), e), this._editorMouseEventBrand = void 0, this.isFromPointerCapture = t, this.pos = new $8(this.posx, this.posy), this.editorPos = ik(n), this.relativePos = ok(n, this.editorPos, this.pos);
|
|
59377
59374
|
}
|
|
59378
59375
|
}
|
|
59379
59376
|
class Ibt {
|
|
@@ -60693,7 +60690,7 @@ class Mo {
|
|
|
60693
60690
|
w && d.push({ offset: w.left, column: a + 1 });
|
|
60694
60691
|
}
|
|
60695
60692
|
d.sort((w, v) => w.offset - v.offset);
|
|
60696
|
-
const g = t.pos.toClientCoordinates(
|
|
60693
|
+
const g = t.pos.toClientCoordinates(Qe(e.viewDomNode)), m = n.getBoundingClientRect(), A = m.left <= g.clientX && g.clientX <= m.right;
|
|
60697
60694
|
let f = null;
|
|
60698
60695
|
for (let w = 1; w < d.length; w++) {
|
|
60699
60696
|
const v = d[w - 1], D = d[w];
|
|
@@ -60715,11 +60712,11 @@ class Mo {
|
|
|
60715
60712
|
const a = Math.floor((i + r) / 2);
|
|
60716
60713
|
let l = t.pos.y + (a - t.mouseVerticalOffset);
|
|
60717
60714
|
l <= t.editorPos.y && (l = t.editorPos.y + 1), l >= t.editorPos.y + t.editorPos.height && (l = t.editorPos.y + t.editorPos.height - 1);
|
|
60718
|
-
const p = new $8(t.pos.x, l), u = this._actualDoHitTestWithCaretRangeFromPoint(e, p.toClientCoordinates(
|
|
60715
|
+
const p = new $8(t.pos.x, l), u = this._actualDoHitTestWithCaretRangeFromPoint(e, p.toClientCoordinates(Qe(e.viewDomNode)));
|
|
60719
60716
|
if (u.type === 1)
|
|
60720
60717
|
return u;
|
|
60721
60718
|
}
|
|
60722
|
-
return this._actualDoHitTestWithCaretRangeFromPoint(e, t.pos.toClientCoordinates(
|
|
60719
|
+
return this._actualDoHitTestWithCaretRangeFromPoint(e, t.pos.toClientCoordinates(Qe(e.viewDomNode)));
|
|
60723
60720
|
}
|
|
60724
60721
|
static _actualDoHitTestWithCaretRangeFromPoint(e, t) {
|
|
60725
60722
|
const n = z2(e.viewDomNode);
|
|
@@ -60768,7 +60765,7 @@ class Mo {
|
|
|
60768
60765
|
}
|
|
60769
60766
|
static doHitTest(e, t) {
|
|
60770
60767
|
let n = new Hu();
|
|
60771
|
-
if (typeof e.viewDomNode.ownerDocument.caretRangeFromPoint == "function" ? n = this._doHitTestWithCaretRangeFromPoint(e, t) : e.viewDomNode.ownerDocument.caretPositionFromPoint && (n = this._doHitTestWithCaretPositionFromPoint(e, t.pos.toClientCoordinates(
|
|
60768
|
+
if (typeof e.viewDomNode.ownerDocument.caretRangeFromPoint == "function" ? n = this._doHitTestWithCaretRangeFromPoint(e, t) : e.viewDomNode.ownerDocument.caretPositionFromPoint && (n = this._doHitTestWithCaretPositionFromPoint(e, t.pos.toClientCoordinates(Qe(e.viewDomNode)))), n.type === 1) {
|
|
60772
60769
|
const i = e.viewModel.getInjectedTextAt(n.position), r = e.viewModel.normalizePosition(
|
|
60773
60770
|
n.position,
|
|
60774
60771
|
2
|
|
@@ -60785,7 +60782,7 @@ function Bbt(o, e, t) {
|
|
|
60785
60782
|
if (i !== null) {
|
|
60786
60783
|
for (; i && i.firstChild && i.firstChild.nodeType !== i.firstChild.TEXT_NODE && i.lastChild && i.lastChild.firstChild; )
|
|
60787
60784
|
i = i.lastChild;
|
|
60788
|
-
const r = i.getBoundingClientRect(), s =
|
|
60785
|
+
const r = i.getBoundingClientRect(), s = Qe(i), a = s.getComputedStyle(i, null).getPropertyValue("font-style"), l = s.getComputedStyle(i, null).getPropertyValue("font-variant"), p = s.getComputedStyle(i, null).getPropertyValue("font-weight"), u = s.getComputedStyle(i, null).getPropertyValue("font-size"), d = s.getComputedStyle(i, null).getPropertyValue("line-height"), h = s.getComputedStyle(i, null).getPropertyValue("font-family"), g = `${a} ${l} ${p} ${u}/${d} ${h}`, m = i.innerText;
|
|
60789
60786
|
let A = r.left, f = 0, w;
|
|
60790
60787
|
if (e > r.left + r.width)
|
|
60791
60788
|
f = m.length;
|
|
@@ -60997,16 +60994,16 @@ Vbt([
|
|
|
60997
60994
|
], Un, "isTouchDevice", null);
|
|
60998
60995
|
let la = class extends he {
|
|
60999
60996
|
onclick(e, t) {
|
|
61000
|
-
this._register(le(e, De.CLICK, (n) => t(new vl(
|
|
60997
|
+
this._register(le(e, De.CLICK, (n) => t(new vl(Qe(e), n))));
|
|
61001
60998
|
}
|
|
61002
60999
|
onmousedown(e, t) {
|
|
61003
|
-
this._register(le(e, De.MOUSE_DOWN, (n) => t(new vl(
|
|
61000
|
+
this._register(le(e, De.MOUSE_DOWN, (n) => t(new vl(Qe(e), n))));
|
|
61004
61001
|
}
|
|
61005
61002
|
onmouseover(e, t) {
|
|
61006
|
-
this._register(le(e, De.MOUSE_OVER, (n) => t(new vl(
|
|
61003
|
+
this._register(le(e, De.MOUSE_OVER, (n) => t(new vl(Qe(e), n))));
|
|
61007
61004
|
}
|
|
61008
61005
|
onmouseleave(e, t) {
|
|
61009
|
-
this._register(le(e, De.MOUSE_LEAVE, (n) => t(new vl(
|
|
61006
|
+
this._register(le(e, De.MOUSE_LEAVE, (n) => t(new vl(Qe(e), n))));
|
|
61010
61007
|
}
|
|
61011
61008
|
onkeydown(e, t) {
|
|
61012
61009
|
this._register(le(e, De.KEY_DOWN, (n) => t(new xn(n))));
|
|
@@ -61036,7 +61033,7 @@ class Ubt extends la {
|
|
|
61036
61033
|
if (!e.target || !(e.target instanceof Element))
|
|
61037
61034
|
return;
|
|
61038
61035
|
const t = () => {
|
|
61039
|
-
this._pointerdownRepeatTimer.cancelAndSet(() => this._onActivate(), 1e3 / 24,
|
|
61036
|
+
this._pointerdownRepeatTimer.cancelAndSet(() => this._onActivate(), 1e3 / 24, Qe(e));
|
|
61040
61037
|
};
|
|
61041
61038
|
this._onActivate(), this._pointerdownRepeatTimer.cancel(), this._pointerdownScheduleRepeatTimer.cancelAndSet(t, 200), this._pointerMoveMonitor.startMonitoring(e.target, e.pointerId, e.buttons, (n) => {
|
|
61042
61039
|
}, () => {
|
|
@@ -61622,7 +61619,7 @@ class nv {
|
|
|
61622
61619
|
}
|
|
61623
61620
|
acceptStandardWheelEvent(e) {
|
|
61624
61621
|
if (wb) {
|
|
61625
|
-
const t =
|
|
61622
|
+
const t = Qe(e.browserEvent), n = Xgt(t);
|
|
61626
61623
|
this.accept(Date.now(), e.deltaX * n, e.deltaY * n);
|
|
61627
61624
|
} else
|
|
61628
61625
|
this.accept(Date.now(), e.deltaX, e.deltaY);
|
|
@@ -61791,7 +61788,7 @@ class $bt extends rk {
|
|
|
61791
61788
|
const n = new wm({
|
|
61792
61789
|
forceIntegerValues: !0,
|
|
61793
61790
|
smoothScrollDuration: 0,
|
|
61794
|
-
scheduleAtNextAnimationFrame: (i) => Wr(
|
|
61791
|
+
scheduleAtNextAnimationFrame: (i) => Wr(Qe(e), i)
|
|
61795
61792
|
});
|
|
61796
61793
|
super(e, t, n), this._register(n);
|
|
61797
61794
|
}
|
|
@@ -61817,7 +61814,7 @@ class sk extends rk {
|
|
|
61817
61814
|
forceIntegerValues: !1,
|
|
61818
61815
|
// See https://github.com/microsoft/vscode/issues/139877
|
|
61819
61816
|
smoothScrollDuration: 0,
|
|
61820
|
-
scheduleAtNextAnimationFrame: (i) => Wr(
|
|
61817
|
+
scheduleAtNextAnimationFrame: (i) => Wr(Qe(e), i)
|
|
61821
61818
|
});
|
|
61822
61819
|
super(e, t, n), this._register(n), this._element = e, this._register(this.onScroll((i) => {
|
|
61823
61820
|
i.scrollTopChanged && (this._element.scrollTop = i.scrollTop), i.scrollLeftChanged && (this._element.scrollLeft = i.scrollLeft);
|
|
@@ -61950,7 +61947,7 @@ class ak extends Sb {
|
|
|
61950
61947
|
}
|
|
61951
61948
|
// --- end event handlers
|
|
61952
61949
|
getTargetAtClientPoint(e, t) {
|
|
61953
|
-
const i = new iTe(e, t).toPageCoordinates(
|
|
61950
|
+
const i = new iTe(e, t).toPageCoordinates(Qe(this.viewHelper.viewDomNode)), r = ik(this.viewHelper.viewDomNode);
|
|
61954
61951
|
if (i.y < r.y || i.y > r.y + r.height || i.x < r.x || i.x > r.x + r.width)
|
|
61955
61952
|
return null;
|
|
61956
61953
|
const s = ok(this.viewHelper.viewDomNode, r, i);
|
|
@@ -62184,7 +62181,7 @@ class n3t extends he {
|
|
|
62184
62181
|
}
|
|
62185
62182
|
class i3t extends he {
|
|
62186
62183
|
constructor(e, t, n, i, r, s) {
|
|
62187
|
-
super(), this._context = e, this._viewHelper = t, this._mouseTargetFactory = n, this._dispatchMouse = i, this._position = r, this._mouseEvent = s, this._lastTime = Date.now(), this._animationFrameDisposable = Wr(
|
|
62184
|
+
super(), this._context = e, this._viewHelper = t, this._mouseTargetFactory = n, this._dispatchMouse = i, this._position = r, this._mouseEvent = s, this._lastTime = Date.now(), this._animationFrameDisposable = Wr(Qe(s.browserEvent), () => this._execute());
|
|
62188
62185
|
}
|
|
62189
62186
|
dispose() {
|
|
62190
62187
|
this._animationFrameDisposable.dispose(), super.dispose();
|
|
@@ -62232,7 +62229,7 @@ class i3t extends he {
|
|
|
62232
62229
|
!0,
|
|
62233
62230
|
2
|
|
62234
62231
|
/* NavigationCommandRevealType.None */
|
|
62235
|
-
), this._animationFrameDisposable = Wr(
|
|
62232
|
+
), this._animationFrameDisposable = Wr(Qe(l.element), () => this._execute());
|
|
62236
62233
|
}
|
|
62237
62234
|
}
|
|
62238
62235
|
class lk {
|
|
@@ -62708,7 +62705,7 @@ class s3t extends he {
|
|
|
62708
62705
|
let r = null;
|
|
62709
62706
|
const s = z2(i);
|
|
62710
62707
|
s ? r = s.activeElement : r = qo();
|
|
62711
|
-
const a =
|
|
62708
|
+
const a = Qe(r), l = r === i, p = i.selectionStart, u = i.selectionEnd;
|
|
62712
62709
|
if (l && p === t && u === n) {
|
|
62713
62710
|
Wa && a.parent !== a && i.focus();
|
|
62714
62711
|
return;
|
|
@@ -72328,7 +72325,7 @@ class S5e {
|
|
|
72328
72325
|
const h = e.visibleRangeForPosition(i);
|
|
72329
72326
|
if (!h || h.outsideRenderedLine)
|
|
72330
72327
|
return null;
|
|
72331
|
-
const g =
|
|
72328
|
+
const g = Qe(this._domNode.domNode);
|
|
72332
72329
|
let m;
|
|
72333
72330
|
this._cursorStyle === io.Line ? (m = W4e(g, this._lineCursorWidth > 0 ? this._lineCursorWidth : 2), m > 2 && (t = r, n = this._getTokenClassName(i))) : m = W4e(g, 1);
|
|
72334
72331
|
let A = h.left, f = 0;
|
|
@@ -72489,7 +72486,7 @@ class a6 extends Gr {
|
|
|
72489
72486
|
const e = this._getCursorBlinking(), t = e === 0, n = e === 5;
|
|
72490
72487
|
t ? this._hide() : this._show(), this._blinkingEnabled = !1, this._updateDomClassName(), !t && !n && (e === 1 ? this._cursorFlatBlinkInterval.cancelAndSet(() => {
|
|
72491
72488
|
this._isVisible ? this._hide() : this._show();
|
|
72492
|
-
}, a6.BLINK_INTERVAL,
|
|
72489
|
+
}, a6.BLINK_INTERVAL, Qe(this._domNode.domNode)) : this._startCursorBlinkAnimation.setIfNotSet(() => {
|
|
72493
72490
|
this._blinkingEnabled = !0, this._updateDomClassName();
|
|
72494
72491
|
}, a6.BLINK_INTERVAL));
|
|
72495
72492
|
}
|
|
@@ -73084,7 +73081,7 @@ let KI = class extends Sb {
|
|
|
73084
73081
|
if (this._renderAnimationFrame === null) {
|
|
73085
73082
|
const e = this._createCoordinatedRendering();
|
|
73086
73083
|
this._renderAnimationFrame = bk.INSTANCE.scheduleCoordinatedRendering({
|
|
73087
|
-
window:
|
|
73084
|
+
window: Qe(this.domNode.domNode),
|
|
73088
73085
|
prepareRenderText: () => {
|
|
73089
73086
|
if (this._store.isDisposed)
|
|
73090
73087
|
throw new rn();
|
|
@@ -73728,17 +73725,17 @@ class kMt extends he {
|
|
|
73728
73725
|
this._instantiateSome(
|
|
73729
73726
|
0
|
|
73730
73727
|
/* EditorContributionInstantiation.Eager */
|
|
73731
|
-
), this._register(T3(
|
|
73728
|
+
), this._register(T3(Qe(this._editor.getDomNode()), () => {
|
|
73732
73729
|
this._instantiateSome(
|
|
73733
73730
|
1
|
|
73734
73731
|
/* EditorContributionInstantiation.AfterFirstRender */
|
|
73735
73732
|
);
|
|
73736
|
-
})), this._register(T3(
|
|
73733
|
+
})), this._register(T3(Qe(this._editor.getDomNode()), () => {
|
|
73737
73734
|
this._instantiateSome(
|
|
73738
73735
|
2
|
|
73739
73736
|
/* EditorContributionInstantiation.BeforeFirstInteraction */
|
|
73740
73737
|
);
|
|
73741
|
-
})), this._register(T3(
|
|
73738
|
+
})), this._register(T3(Qe(this._editor.getDomNode()), () => {
|
|
73742
73739
|
this._instantiateSome(
|
|
73743
73740
|
3
|
|
73744
73741
|
/* EditorContributionInstantiation.Eventually */
|
|
@@ -73765,7 +73762,7 @@ class kMt extends he {
|
|
|
73765
73762
|
);
|
|
73766
73763
|
}
|
|
73767
73764
|
onAfterModelAttached() {
|
|
73768
|
-
return T3(
|
|
73765
|
+
return T3(Qe(this._editor?.getDomNode()), () => {
|
|
73769
73766
|
this._instantiateSome(
|
|
73770
73767
|
1
|
|
73771
73768
|
/* EditorContributionInstantiation.AfterFirstRender */
|
|
@@ -84845,7 +84842,7 @@ let f6 = class extends he {
|
|
|
84845
84842
|
}
|
|
84846
84843
|
const t = [];
|
|
84847
84844
|
this._domElement.setAttribute("data-mode-id", e.getLanguageId()), this._configuration.setIsDominatedByLongLines(e.isDominatedByLongLines()), this._configuration.setModelLineCount(e.getLineCount());
|
|
84848
|
-
const n = e.onBeforeAttached(), i = new twt(this._id, this._configuration, e, Mk.create(
|
|
84845
|
+
const n = e.onBeforeAttached(), i = new twt(this._id, this._configuration, e, Mk.create(Qe(this._domElement)), xk.create(this._configuration.options), (a) => Wr(Qe(this._domElement), a), this.languageConfigurationService, this._themeService, n, {
|
|
84849
84846
|
batchChanges: (a) => {
|
|
84850
84847
|
try {
|
|
84851
84848
|
return this._beginUpdate(), a();
|
|
@@ -87812,7 +87809,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
87812
87809
|
}, ae.list = function(P) {
|
|
87813
87810
|
var B = this.rules.block.list.exec(P);
|
|
87814
87811
|
if (B) {
|
|
87815
|
-
var X, Z, Ae, Ne, He,
|
|
87812
|
+
var X, Z, Ae, Ne, He, Ue, ut, at, mn, pn, nt, Fn, Yn = B[1].trim(), gr = Yn.length > 1, Ft = {
|
|
87816
87813
|
type: "list",
|
|
87817
87814
|
raw: "",
|
|
87818
87815
|
ordered: gr,
|
|
@@ -87824,19 +87821,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
87824
87821
|
for (var Vn = new RegExp("^( {0,3}" + Yn + ")((?:[ ][^\\n]*)?(?:\\n|$))"); P && (Fn = !1, !(!(B = Vn.exec(P)) || this.rules.block.hr.test(P))); ) {
|
|
87825
87822
|
if (X = B[0], P = P.substring(X.length), at = B[2].split(`
|
|
87826
87823
|
`, 1)[0], mn = P.split(`
|
|
87827
|
-
`, 1)[0], this.options.pedantic ? (Ne = 2, nt = at.trimLeft()) : (Ne = B[2].search(/[^ ]/), Ne = Ne > 4 ? 1 : Ne, nt = at.slice(Ne), Ne += B[1].length),
|
|
87824
|
+
`, 1)[0], this.options.pedantic ? (Ne = 2, nt = at.trimLeft()) : (Ne = B[2].search(/[^ ]/), Ne = Ne > 4 ? 1 : Ne, nt = at.slice(Ne), Ne += B[1].length), Ue = !1, !at && /^ *$/.test(mn) && (X += mn + `
|
|
87828
87825
|
`, P = P.substring(mn.length + 1), Fn = !0), !Fn)
|
|
87829
87826
|
for (var nl = new RegExp("^ {0," + Math.min(3, Ne - 1) + "}(?:[*+-]|\\d{1,9}[.)])((?: [^\\n]*)?(?:\\n|$))"), il = new RegExp("^ {0," + Math.min(3, Ne - 1) + "}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)"), $r = new RegExp("^ {0," + Math.min(3, Ne - 1) + "}(?:```|~~~)"), rc = new RegExp("^ {0," + Math.min(3, Ne - 1) + "}#"); P && (pn = P.split(`
|
|
87830
87827
|
`, 1)[0], at = pn, this.options.pedantic && (at = at.replace(/^ {1,4}(?=( {4})*[^ ])/g, " ")), !($r.test(at) || rc.test(at) || nl.test(at) || il.test(P))); ) {
|
|
87831
87828
|
if (at.search(/[^ ]/) >= Ne || !at.trim())
|
|
87832
87829
|
nt += `
|
|
87833
87830
|
` + at.slice(Ne);
|
|
87834
|
-
else if (!
|
|
87831
|
+
else if (!Ue)
|
|
87835
87832
|
nt += `
|
|
87836
87833
|
` + at;
|
|
87837
87834
|
else
|
|
87838
87835
|
break;
|
|
87839
|
-
!
|
|
87836
|
+
!Ue && !at.trim() && (Ue = !0), X += pn + `
|
|
87840
87837
|
`, P = P.substring(pn.length + 1);
|
|
87841
87838
|
}
|
|
87842
87839
|
Ft.loose || (ut ? Ft.loose = !0 : /\n *\n *$/.test(X) && (ut = !0)), this.options.gfm && (Z = /^\[[ xX]\] /.exec(nt), Z && (Ae = Z[0] !== "[ ] ", nt = nt.replace(/^\[[ xX]\] +/, ""))), Ft.items.push({
|
|
@@ -87911,7 +87908,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
87911
87908
|
};
|
|
87912
87909
|
if (X.header.length === X.align.length) {
|
|
87913
87910
|
X.raw = B[0];
|
|
87914
|
-
var Z = X.align.length, Ae, Ne, He,
|
|
87911
|
+
var Z = X.align.length, Ae, Ne, He, Ue;
|
|
87915
87912
|
for (Ae = 0; Ae < Z; Ae++)
|
|
87916
87913
|
/^ *-+: *$/.test(X.align[Ae]) ? X.align[Ae] = "right" : /^ *:-+: *$/.test(X.align[Ae]) ? X.align[Ae] = "center" : /^ *:-+ *$/.test(X.align[Ae]) ? X.align[Ae] = "left" : X.align[Ae] = null;
|
|
87917
87914
|
for (Z = X.rows.length, Ae = 0; Ae < Z; Ae++)
|
|
@@ -87923,8 +87920,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
87923
87920
|
for (Z = X.header.length, Ne = 0; Ne < Z; Ne++)
|
|
87924
87921
|
X.header[Ne].tokens = this.lexer.inline(X.header[Ne].text);
|
|
87925
87922
|
for (Z = X.rows.length, Ne = 0; Ne < Z; Ne++)
|
|
87926
|
-
for (
|
|
87927
|
-
|
|
87923
|
+
for (Ue = X.rows[Ne], He = 0; He < Ue.length; He++)
|
|
87924
|
+
Ue[He].tokens = this.lexer.inline(Ue[He].text);
|
|
87928
87925
|
return X;
|
|
87929
87926
|
}
|
|
87930
87927
|
}
|
|
@@ -87994,14 +87991,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
87994
87991
|
B[2] = B[2].substring(0, Ae), B[0] = B[0].substring(0, He).trim(), B[3] = "";
|
|
87995
87992
|
}
|
|
87996
87993
|
}
|
|
87997
|
-
var
|
|
87994
|
+
var Ue = B[2], ut = "";
|
|
87998
87995
|
if (this.options.pedantic) {
|
|
87999
|
-
var at = /^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(
|
|
88000
|
-
at && (
|
|
87996
|
+
var at = /^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Ue);
|
|
87997
|
+
at && (Ue = at[1], ut = at[3]);
|
|
88001
87998
|
} else
|
|
88002
87999
|
ut = B[3] ? B[3].slice(1, -1) : "";
|
|
88003
|
-
return
|
|
88004
|
-
href:
|
|
88000
|
+
return Ue = Ue.trim(), /^</.test(Ue) && (this.options.pedantic && !/>$/.test(X) ? Ue = Ue.slice(1) : Ue = Ue.slice(1, -1)), ce(B, {
|
|
88001
|
+
href: Ue && Ue.replace(this.rules.inline._escapes, "$1"),
|
|
88005
88002
|
title: ut && ut.replace(this.rules.inline._escapes, "$1")
|
|
88006
88003
|
}, B[0], this.lexer);
|
|
88007
88004
|
}
|
|
@@ -88025,30 +88022,30 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
88025
88022
|
if (Z && !(Z[3] && X.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))) {
|
|
88026
88023
|
var Ae = Z[1] || Z[2] || "";
|
|
88027
88024
|
if (!Ae || Ae && (X === "" || this.rules.inline.punctuation.exec(X))) {
|
|
88028
|
-
var Ne = Z[0].length - 1, He,
|
|
88025
|
+
var Ne = Z[0].length - 1, He, Ue, ut = Ne, at = 0, mn = Z[0][0] === "*" ? this.rules.inline.emStrong.rDelimAst : this.rules.inline.emStrong.rDelimUnd;
|
|
88029
88026
|
for (mn.lastIndex = 0, B = B.slice(-1 * P.length + Ne); (Z = mn.exec(B)) != null; )
|
|
88030
88027
|
if (He = Z[1] || Z[2] || Z[3] || Z[4] || Z[5] || Z[6], !!He) {
|
|
88031
|
-
if (
|
|
88032
|
-
ut +=
|
|
88028
|
+
if (Ue = He.length, Z[3] || Z[4]) {
|
|
88029
|
+
ut += Ue;
|
|
88033
88030
|
continue;
|
|
88034
|
-
} else if ((Z[5] || Z[6]) && Ne % 3 && !((Ne +
|
|
88035
|
-
at +=
|
|
88031
|
+
} else if ((Z[5] || Z[6]) && Ne % 3 && !((Ne + Ue) % 3)) {
|
|
88032
|
+
at += Ue;
|
|
88036
88033
|
continue;
|
|
88037
88034
|
}
|
|
88038
|
-
if (ut -=
|
|
88039
|
-
if (
|
|
88040
|
-
var pn = P.slice(1, Ne + Z.index +
|
|
88035
|
+
if (ut -= Ue, !(ut > 0)) {
|
|
88036
|
+
if (Ue = Math.min(Ue, Ue + ut + at), Math.min(Ne, Ue) % 2) {
|
|
88037
|
+
var pn = P.slice(1, Ne + Z.index + Ue);
|
|
88041
88038
|
return {
|
|
88042
88039
|
type: "em",
|
|
88043
|
-
raw: P.slice(0, Ne + Z.index +
|
|
88040
|
+
raw: P.slice(0, Ne + Z.index + Ue + 1),
|
|
88044
88041
|
text: pn,
|
|
88045
88042
|
tokens: this.lexer.inlineTokens(pn)
|
|
88046
88043
|
};
|
|
88047
88044
|
}
|
|
88048
|
-
var nt = P.slice(2, Ne + Z.index +
|
|
88045
|
+
var nt = P.slice(2, Ne + Z.index + Ue - 1);
|
|
88049
88046
|
return {
|
|
88050
88047
|
type: "strong",
|
|
88051
|
-
raw: P.slice(0, Ne + Z.index +
|
|
88048
|
+
raw: P.slice(0, Ne + Z.index + Ue + 1),
|
|
88052
88049
|
text: nt,
|
|
88053
88050
|
tokens: this.lexer.inlineTokens(nt)
|
|
88054
88051
|
};
|
|
@@ -88332,12 +88329,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
88332
88329
|
continue;
|
|
88333
88330
|
}
|
|
88334
88331
|
if (P) {
|
|
88335
|
-
var
|
|
88332
|
+
var Ue = "Infinite loop on byte: " + P.charCodeAt(0);
|
|
88336
88333
|
if (this.options.silent) {
|
|
88337
|
-
console.error(
|
|
88334
|
+
console.error(Ue);
|
|
88338
88335
|
break;
|
|
88339
88336
|
} else
|
|
88340
|
-
throw new Error(
|
|
88337
|
+
throw new Error(Ue);
|
|
88341
88338
|
}
|
|
88342
88339
|
}
|
|
88343
88340
|
return this.state.top = !0, B;
|
|
@@ -88349,17 +88346,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
88349
88346
|
}, ae.inlineTokens = function(P, B) {
|
|
88350
88347
|
var X = this;
|
|
88351
88348
|
B === void 0 && (B = []);
|
|
88352
|
-
var Z, Ae, Ne, He = P,
|
|
88349
|
+
var Z, Ae, Ne, He = P, Ue, ut, at;
|
|
88353
88350
|
if (this.tokens.links) {
|
|
88354
88351
|
var mn = Object.keys(this.tokens.links);
|
|
88355
88352
|
if (mn.length > 0)
|
|
88356
|
-
for (; (
|
|
88357
|
-
mn.includes(
|
|
88353
|
+
for (; (Ue = this.tokenizer.rules.inline.reflinkSearch.exec(He)) != null; )
|
|
88354
|
+
mn.includes(Ue[0].slice(Ue[0].lastIndexOf("[") + 1, -1)) && (He = He.slice(0, Ue.index) + "[" + me("a", Ue[0].length - 2) + "]" + He.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex));
|
|
88358
88355
|
}
|
|
88359
|
-
for (; (
|
|
88360
|
-
He = He.slice(0,
|
|
88361
|
-
for (; (
|
|
88362
|
-
He = He.slice(0,
|
|
88356
|
+
for (; (Ue = this.tokenizer.rules.inline.blockSkip.exec(He)) != null; )
|
|
88357
|
+
He = He.slice(0, Ue.index) + "[" + me("a", Ue[0].length - 2) + "]" + He.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
|
|
88358
|
+
for (; (Ue = this.tokenizer.rules.inline.escapedEmSt.exec(He)) != null; )
|
|
88359
|
+
He = He.slice(0, Ue.index) + "++" + He.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);
|
|
88363
88360
|
for (; P; )
|
|
88364
88361
|
if (ut || (at = ""), ut = !1, !(this.options.extensions && this.options.extensions.inline && this.options.extensions.inline.some(function(nt) {
|
|
88365
88362
|
return (Z = nt.call({
|
|
@@ -88577,7 +88574,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
88577
88574
|
var ae = fe.prototype;
|
|
88578
88575
|
return ae.parse = function(P, B) {
|
|
88579
88576
|
B === void 0 && (B = !0);
|
|
88580
|
-
var X = "", Z, Ae, Ne, He,
|
|
88577
|
+
var X = "", Z, Ae, Ne, He, Ue, ut, at, mn, pn, nt, Fn, Yn, gr, Ft, Vn, nl, il, $r, rc, sc = P.length;
|
|
88581
88578
|
for (Z = 0; Z < sc; Z++) {
|
|
88582
88579
|
if (nt = P[Z], this.options.extensions && this.options.extensions.renderers && this.options.extensions.renderers[nt.type] && (rc = this.options.extensions.renderers[nt.type].call({
|
|
88583
88580
|
parser: this
|
|
@@ -88607,7 +88604,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
88607
88604
|
align: nt.align[Ae]
|
|
88608
88605
|
});
|
|
88609
88606
|
for (mn += this.renderer.tablerow(at), pn = "", He = nt.rows.length, Ae = 0; Ae < He; Ae++) {
|
|
88610
|
-
for (ut = nt.rows[Ae], at = "",
|
|
88607
|
+
for (ut = nt.rows[Ae], at = "", Ue = ut.length, Ne = 0; Ne < Ue; Ne++)
|
|
88611
88608
|
at += this.renderer.tablecell(this.parseInline(ut[Ne].tokens), {
|
|
88612
88609
|
header: !1,
|
|
88613
88610
|
align: nt.align[Ne]
|
|
@@ -88708,12 +88705,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
88708
88705
|
break;
|
|
88709
88706
|
}
|
|
88710
88707
|
default: {
|
|
88711
|
-
var
|
|
88708
|
+
var Ue = 'Token with "' + Ae.type + '" type was not found.';
|
|
88712
88709
|
if (this.options.silent) {
|
|
88713
|
-
console.error(
|
|
88710
|
+
console.error(Ue);
|
|
88714
88711
|
return;
|
|
88715
88712
|
} else
|
|
88716
|
-
throw new Error(
|
|
88713
|
+
throw new Error(Ue);
|
|
88717
88714
|
}
|
|
88718
88715
|
}
|
|
88719
88716
|
}
|
|
@@ -88732,23 +88729,23 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
88732
88729
|
} catch (He) {
|
|
88733
88730
|
return re(He);
|
|
88734
88731
|
}
|
|
88735
|
-
var X = function(
|
|
88732
|
+
var X = function(Ue) {
|
|
88736
88733
|
var ut;
|
|
88737
|
-
if (!
|
|
88734
|
+
if (!Ue)
|
|
88738
88735
|
try {
|
|
88739
88736
|
ae.walkTokens && W.walkTokens(B, ae.walkTokens), ut = Y.parse(B, ae);
|
|
88740
88737
|
} catch (at) {
|
|
88741
|
-
|
|
88738
|
+
Ue = at;
|
|
88742
88739
|
}
|
|
88743
|
-
return ae.highlight = P,
|
|
88740
|
+
return ae.highlight = P, Ue ? re(Ue) : re(null, ut);
|
|
88744
88741
|
};
|
|
88745
88742
|
if (!P || P.length < 3 || (delete ae.highlight, !B.length)) return X();
|
|
88746
88743
|
var Z = 0;
|
|
88747
88744
|
W.walkTokens(B, function(He) {
|
|
88748
88745
|
He.type === "code" && (Z++, setTimeout(function() {
|
|
88749
|
-
P(He.text, He.lang, function(
|
|
88750
|
-
if (
|
|
88751
|
-
return X(
|
|
88746
|
+
P(He.text, He.lang, function(Ue, ut) {
|
|
88747
|
+
if (Ue)
|
|
88748
|
+
return X(Ue);
|
|
88752
88749
|
ut != null && ut !== He.text && (He.text = ut, He.escaped = !0), Z--, Z === 0 && X();
|
|
88753
88750
|
});
|
|
88754
88751
|
}, 0));
|
|
@@ -88791,7 +88788,7 @@ Please report this to https://github.com/markedjs/marked.`, ae.silent)
|
|
|
88791
88788
|
if (Ne.renderer) {
|
|
88792
88789
|
var He = B.renderers ? B.renderers[Ne.name] : null;
|
|
88793
88790
|
He ? B.renderers[Ne.name] = function() {
|
|
88794
|
-
for (var
|
|
88791
|
+
for (var Ue = arguments.length, ut = new Array(Ue), at = 0; at < Ue; at++)
|
|
88795
88792
|
ut[at] = arguments[at];
|
|
88796
88793
|
var mn = Ne.renderer.apply(this, ut);
|
|
88797
88794
|
return mn === !1 && (mn = He.apply(this, ut)), mn;
|
|
@@ -88813,8 +88810,8 @@ Please report this to https://github.com/markedjs/marked.`, ae.silent)
|
|
|
88813
88810
|
return Yn === !1 && (Yn = mn.apply(Ne, nt)), Yn;
|
|
88814
88811
|
};
|
|
88815
88812
|
};
|
|
88816
|
-
for (var
|
|
88817
|
-
He(
|
|
88813
|
+
for (var Ue in Z.renderer)
|
|
88814
|
+
He(Ue);
|
|
88818
88815
|
P.renderer = Ne;
|
|
88819
88816
|
}(), Z.tokenizer && function() {
|
|
88820
88817
|
var Ne = W.defaults.tokenizer || new pe(), He = function(at) {
|
|
@@ -88826,8 +88823,8 @@ Please report this to https://github.com/markedjs/marked.`, ae.silent)
|
|
|
88826
88823
|
return Yn === !1 && (Yn = mn.apply(Ne, nt)), Yn;
|
|
88827
88824
|
};
|
|
88828
88825
|
};
|
|
88829
|
-
for (var
|
|
88830
|
-
He(
|
|
88826
|
+
for (var Ue in Z.tokenizer)
|
|
88827
|
+
He(Ue);
|
|
88831
88828
|
P.tokenizer = Ne;
|
|
88832
88829
|
}(), Z.walkTokens) {
|
|
88833
88830
|
var Ae = W.defaults.walkTokens;
|
|
@@ -88844,8 +88841,8 @@ Please report this to https://github.com/markedjs/marked.`, ae.silent)
|
|
|
88844
88841
|
switch (re = re.concat(ae.call(W, Ae)), Ae.type) {
|
|
88845
88842
|
case "table": {
|
|
88846
88843
|
for (var Ne = s(Ae.header), He; !(He = Ne()).done; ) {
|
|
88847
|
-
var
|
|
88848
|
-
re = re.concat(W.walkTokens(
|
|
88844
|
+
var Ue = He.value;
|
|
88845
|
+
re = re.concat(W.walkTokens(Ue.tokens, ae));
|
|
88849
88846
|
}
|
|
88850
88847
|
for (var ut = s(Ae.rows), at; !(at = ut()).done; )
|
|
88851
88848
|
for (var mn = at.value, pn = s(mn), nt; !(nt = pn()).done; ) {
|
|
@@ -88987,7 +88984,7 @@ function qk(o, e = {}, t = {}) {
|
|
|
88987
88984
|
}
|
|
88988
88985
|
}, f = e.actionHandler.disposables.add(new Nt(r, "click")), w = e.actionHandler.disposables.add(new Nt(r, "auxclick"));
|
|
88989
88986
|
e.actionHandler.disposables.add(we.any(f.event, w.event)((v) => {
|
|
88990
|
-
const D = new vl(
|
|
88987
|
+
const D = new vl(Qe(r), v);
|
|
88991
88988
|
!D.leftButton && !D.middleButton || A(D);
|
|
88992
88989
|
})), e.actionHandler.disposables.add(le(r, "keydown", (v) => {
|
|
88993
88990
|
const D = new xn(v);
|
|
@@ -89457,10 +89454,10 @@ var avt = function(o, e, t, n) {
|
|
|
89457
89454
|
const cc = Xe;
|
|
89458
89455
|
let IT = class extends la {
|
|
89459
89456
|
get _targetWindow() {
|
|
89460
|
-
return
|
|
89457
|
+
return Qe(this._target.targetElements[0]);
|
|
89461
89458
|
}
|
|
89462
89459
|
get _targetDocumentElement() {
|
|
89463
|
-
return
|
|
89460
|
+
return Qe(this._target.targetElements[0]).document.documentElement;
|
|
89464
89461
|
}
|
|
89465
89462
|
get isDisposed() {
|
|
89466
89463
|
return this._isDisposed;
|
|
@@ -89714,10 +89711,10 @@ class _6e extends la {
|
|
|
89714
89711
|
this._isMouseIn = !1, this._evaluateMouseState(e);
|
|
89715
89712
|
}
|
|
89716
89713
|
_evaluateMouseState(e) {
|
|
89717
|
-
this._clearEvaluateMouseStateTimeout(e), this._mouseTimeout =
|
|
89714
|
+
this._clearEvaluateMouseStateTimeout(e), this._mouseTimeout = Qe(e).setTimeout(() => this._fireIfMouseOutside(), 0);
|
|
89718
89715
|
}
|
|
89719
89716
|
_clearEvaluateMouseStateTimeout(e) {
|
|
89720
|
-
this._mouseTimeout && (
|
|
89717
|
+
this._mouseTimeout && (Qe(e).clearTimeout(this._mouseTimeout), this._mouseTimeout = void 0);
|
|
89721
89718
|
}
|
|
89722
89719
|
_fireIfMouseOutside() {
|
|
89723
89720
|
this._isMouseIn || this._onMouseOut.fire();
|
|
@@ -89876,7 +89873,7 @@ class D6 extends he {
|
|
|
89876
89873
|
return !!this.delegate;
|
|
89877
89874
|
}
|
|
89878
89875
|
onDOMEvent(e, t) {
|
|
89879
|
-
this.delegate && (this.delegate.onDOMEvent ? this.delegate.onDOMEvent(e,
|
|
89876
|
+
this.delegate && (this.delegate.onDOMEvent ? this.delegate.onDOMEvent(e, Qe(e).document.activeElement) : t && !Vi(e.target, this.container) && this.hide());
|
|
89880
89877
|
}
|
|
89881
89878
|
dispose() {
|
|
89882
89879
|
this.hide(), super.dispose();
|
|
@@ -89946,7 +89943,7 @@ let C6 = class extends he {
|
|
|
89946
89943
|
// ContextView
|
|
89947
89944
|
showContextView(e, t, n) {
|
|
89948
89945
|
let i;
|
|
89949
|
-
t ? t === this.layoutService.getContainer(
|
|
89946
|
+
t ? t === this.layoutService.getContainer(Qe(t)) ? i = 1 : n ? i = 3 : i = 2 : i = 1, this.contextView.setContainer(t ?? this.layoutService.activeContainer, i), this.contextView.show(e);
|
|
89950
89947
|
const r = {
|
|
89951
89948
|
close: () => {
|
|
89952
89949
|
this.openContextView === r && this.hideContextView();
|
|
@@ -90044,10 +90041,10 @@ let TT = class extends he {
|
|
|
90044
90041
|
this._currentHover?.domNode && UEe(this._currentHover.domNode) && this._lastFocusedElementBeforeOpen?.focus(), this._currentHoverOptions === e && (this._currentHoverOptions = void 0), s.dispose();
|
|
90045
90042
|
}, void 0, s), !e.container) {
|
|
90046
90043
|
const l = lo(e.target) ? e.target : e.target.targetElements[0];
|
|
90047
|
-
e.container = this._layoutService.getContainer(
|
|
90044
|
+
e.container = this._layoutService.getContainer(Qe(l));
|
|
90048
90045
|
}
|
|
90049
90046
|
if (this._contextViewHandler.showContextView(new Avt(a, t), e.container), a.onRequestLayout(() => this._contextViewHandler.layout(), void 0, s), e.persistence?.sticky)
|
|
90050
|
-
s.add(le(
|
|
90047
|
+
s.add(le(Qe(e.container).document, De.MOUSE_DOWN, (l) => {
|
|
90051
90048
|
Vi(l.target, a.domNode) || this.doHideHover();
|
|
90052
90049
|
}));
|
|
90053
90050
|
else {
|
|
@@ -90058,7 +90055,7 @@ let TT = class extends he {
|
|
|
90058
90055
|
s.add(le(e.target, De.CLICK, () => this.hideHover()));
|
|
90059
90056
|
const l = qo();
|
|
90060
90057
|
if (l) {
|
|
90061
|
-
const p =
|
|
90058
|
+
const p = Qe(l).document;
|
|
90062
90059
|
s.add(le(l, De.KEY_DOWN, (u) => this._keyDown(u, a, !!e.persistence?.hideOnKeyDown))), s.add(le(p, De.KEY_DOWN, (u) => this._keyDown(u, a, !!e.persistence?.hideOnKeyDown))), s.add(le(l, De.KEY_UP, (u) => this._keyUp(u, a))), s.add(le(p, De.KEY_UP, (u) => this._keyUp(u, a)));
|
|
90063
90060
|
}
|
|
90064
90061
|
}
|
|
@@ -90193,7 +90190,7 @@ class Avt {
|
|
|
90193
90190
|
}
|
|
90194
90191
|
}
|
|
90195
90192
|
function P6e(o, e) {
|
|
90196
|
-
for (e = e ??
|
|
90193
|
+
for (e = e ?? Qe(o).document.body; !o.hasAttribute("custom-hover") && o !== e; )
|
|
90197
90194
|
o = o.parentElement;
|
|
90198
90195
|
return o;
|
|
90199
90196
|
}
|
|
@@ -92634,7 +92631,7 @@ class $a {
|
|
|
92634
92631
|
this.cache = this.disposables.add(new c9t(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 i.mouseSupport == "boolean" ? i.mouseSupport : !0), this._horizontalScrolling = i.horizontalScrolling ?? pc.horizontalScrolling, this.domNode.classList.toggle("horizontal-scrolling", this._horizontalScrolling), this.paddingBottom = typeof i.paddingBottom > "u" ? 0 : i.paddingBottom, this.accessibilityProvider = new h9t(i.accessibilityProvider), this.rowsContainer = document.createElement("div"), this.rowsContainer.className = "monaco-list-rows", (i.transformOptimization ?? pc.transformOptimization) && (this.rowsContainer.style.transform = "translate3d(0px, 0px, 0px)", this.rowsContainer.style.overflow = "hidden", this.rowsContainer.style.contain = "strict"), this.disposables.add(Un.addTarget(this.rowsContainer)), this.scrollable = this.disposables.add(new wm({
|
|
92635
92632
|
forceIntegerValues: !0,
|
|
92636
92633
|
smoothScrollDuration: i.smoothScrolling ?? !1 ? 125 : 0,
|
|
92637
|
-
scheduleAtNextAnimationFrame: (s) => Wr(
|
|
92634
|
+
scheduleAtNextAnimationFrame: (s) => Wr(Qe(this.domNode), s)
|
|
92638
92635
|
})), this.scrollableElement = this.disposables.add(new iv(this.rowsContainer, {
|
|
92639
92636
|
alwaysConsumeMouseWheel: i.alwaysConsumeMouseWheel ?? pc.alwaysConsumeMouseWheel,
|
|
92640
92637
|
horizontal: 1,
|
|
@@ -92714,7 +92711,7 @@ class $a {
|
|
|
92714
92711
|
return this.eventuallyUpdateScrollDimensions(), this.supportDynamicHeights && this._rerender(this.scrollTop, this.renderHeight), h.map((N) => N.element);
|
|
92715
92712
|
}
|
|
92716
92713
|
eventuallyUpdateScrollDimensions() {
|
|
92717
|
-
this._scrollHeight = this.contentHeight, this.rowsContainer.style.height = `${this._scrollHeight}px`, this.scrollableElementUpdateDisposable || (this.scrollableElementUpdateDisposable = Wr(
|
|
92714
|
+
this._scrollHeight = this.contentHeight, this.rowsContainer.style.height = `${this._scrollHeight}px`, this.scrollableElementUpdateDisposable || (this.scrollableElementUpdateDisposable = Wr(Qe(this.domNode), () => {
|
|
92718
92715
|
this.scrollableElement.setScrollDimensions({ scrollHeight: this.scrollHeight }), this.updateScrollWidth(), this.scrollableElementUpdateDisposable = null;
|
|
92719
92716
|
}));
|
|
92720
92717
|
}
|
|
@@ -92831,7 +92828,7 @@ class $a {
|
|
|
92831
92828
|
if (!e.row || !e.row.domNode)
|
|
92832
92829
|
return;
|
|
92833
92830
|
e.row.domNode.style.width = "fit-content", e.width = EC(e.row.domNode);
|
|
92834
|
-
const t =
|
|
92831
|
+
const t = Qe(e.row.domNode).getComputedStyle(e.row.domNode);
|
|
92835
92832
|
t.paddingLeft && (e.width += parseFloat(t.paddingLeft)), t.paddingRight && (e.width += parseFloat(t.paddingRight)), e.row.domNode.style.width = "";
|
|
92836
92833
|
}
|
|
92837
92834
|
updateItemInDOM(e, t) {
|
|
@@ -92992,7 +92989,7 @@ class $a {
|
|
|
92992
92989
|
setupDragAndDropScrollTopAnimation(e) {
|
|
92993
92990
|
if (!this.dragOverAnimationDisposable) {
|
|
92994
92991
|
const t = HEe(this.domNode).top;
|
|
92995
|
-
this.dragOverAnimationDisposable = o2t(
|
|
92992
|
+
this.dragOverAnimationDisposable = o2t(Qe(this.domNode), this.animateDragAndDropScrollTop.bind(this, t));
|
|
92996
92993
|
}
|
|
92997
92994
|
this.dragOverAnimationStopDisposable.dispose(), this.dragOverAnimationStopDisposable = aI(() => {
|
|
92998
92995
|
this.dragOverAnimationDisposable && (this.dragOverAnimationDisposable.dispose(), this.dragOverAnimationDisposable = void 0);
|
|
@@ -93083,7 +93080,7 @@ class $a {
|
|
|
93083
93080
|
return 0;
|
|
93084
93081
|
const n = t.size;
|
|
93085
93082
|
if (t.row)
|
|
93086
|
-
return t.row.domNode.style.height = "", t.size = t.row.domNode.offsetHeight, t.size === 0 && !Vi(t.row.domNode,
|
|
93083
|
+
return t.row.domNode.style.height = "", t.size = t.row.domNode.offsetHeight, t.size === 0 && !Vi(t.row.domNode, Qe(t.row.domNode).document.body) && console.warn("Measuring item node that is not in DOM! Add ListView to the DOM before measuring row height!"), t.lastDynamicHeightWidth = this.renderWidth, t.size - n;
|
|
93087
93084
|
const { row: i } = this.cache.alloc(t.templateId);
|
|
93088
93085
|
i.domNode.style.height = "", this.rowsContainer.appendChild(i.domNode);
|
|
93089
93086
|
const r = this.renderers.get(t.templateId);
|
|
@@ -94148,7 +94145,7 @@ class H9t {
|
|
|
94148
94145
|
const i = n.querySelector("[tabIndex]");
|
|
94149
94146
|
if (!i || !lo(i) || i.tabIndex === -1)
|
|
94150
94147
|
return;
|
|
94151
|
-
const r =
|
|
94148
|
+
const r = Qe(i).getComputedStyle(i);
|
|
94152
94149
|
r.visibility === "hidden" || r.display === "none" || (e.preventDefault(), e.stopPropagation(), i.focus());
|
|
94153
94150
|
}
|
|
94154
94151
|
dispose() {
|
|
@@ -94515,7 +94512,7 @@ let Xl = class {
|
|
|
94515
94512
|
const t = we.chain(this.disposables.add(new Nt(this.view.domNode, "keydown")).event, (r) => r.map((s) => new xn(s)).filter((s) => e = s.keyCode === 58 || s.shiftKey && s.keyCode === 68).map((s) => zt.stop(s, !0)).filter(() => !1)), n = we.chain(this.disposables.add(new Nt(this.view.domNode, "keyup")).event, (r) => r.forEach(() => e = !1).map((s) => new xn(s)).filter((s) => s.keyCode === 58 || s.shiftKey && s.keyCode === 68).map((s) => zt.stop(s, !0)).map(({ browserEvent: s }) => {
|
|
94516
94513
|
const a = this.getFocus(), l = a.length ? a[0] : void 0, p = typeof l < "u" ? this.view.element(l) : void 0, u = typeof l < "u" ? this.view.domElement(l) : this.view.domNode;
|
|
94517
94514
|
return { index: l, element: p, anchor: u, browserEvent: s };
|
|
94518
|
-
})), i = we.chain(this.view.onContextMenu, (r) => r.filter((s) => !e).map(({ element: s, index: a, browserEvent: l }) => ({ element: s, index: a, anchor: new vl(
|
|
94515
|
+
})), i = we.chain(this.view.onContextMenu, (r) => r.filter((s) => !e).map(({ element: s, index: a, browserEvent: l }) => ({ element: s, index: a, anchor: new vl(Qe(this.view.domNode), l), browserEvent: l })));
|
|
94519
94516
|
return we.any(t, n, i);
|
|
94520
94517
|
}
|
|
94521
94518
|
get onKeyDown() {
|
|
@@ -94972,7 +94969,7 @@ class Xh extends he {
|
|
|
94972
94969
|
return !1;
|
|
94973
94970
|
if (this.selectList) {
|
|
94974
94971
|
this.selectDropDownContainer.classList.add("visible");
|
|
94975
|
-
const t =
|
|
94972
|
+
const t = Qe(this.selectElement), n = ds(this.selectElement), i = Qe(this.selectElement).getComputedStyle(this.selectElement), r = parseFloat(i.getPropertyValue("--dropdown-padding-top")) + parseFloat(i.getPropertyValue("--dropdown-padding-bottom")), s = t.innerHeight - n.top - n.height - (this.selectBoxOptions.minBottomMargin || 0), a = n.top - Xh.DEFAULT_DROPDOWN_MINIMUM_TOP_MARGIN, l = this.selectElement.offsetWidth, p = this.setWidthControlElement(this.widthControlElement), u = Math.max(p, Math.round(l)).toString() + "px";
|
|
94976
94973
|
this.selectDropDownContainer.style.width = u, this.selectList.getHTMLElement().style.height = "", this.selectList.layout();
|
|
94977
94974
|
let d = this.selectList.contentHeight;
|
|
94978
94975
|
this._hasDetails && this._cachedMaxDetailsHeight === void 0 && (this._cachedMaxDetailsHeight = this.measureMaxDetailsHeight());
|
|
@@ -96478,7 +96475,7 @@ class a2 extends iu {
|
|
|
96478
96475
|
})), this._register(le(a, De.MOUSE_UP, (p) => {
|
|
96479
96476
|
p.preventDefault();
|
|
96480
96477
|
}));
|
|
96481
|
-
const l =
|
|
96478
|
+
const l = Qe(e);
|
|
96482
96479
|
r.style.maxHeight = `${Math.max(10, l.innerHeight - e.getBoundingClientRect().top - 35)}px`, t = t.filter((p, u) => n.submenuIds?.has(p.id) ? (console.warn(`Found submenu cycle: ${p.id}`), !1) : !(p instanceof Io && (u === t.length - 1 || u === 0 || t[u - 1] instanceof Io))), this.push(t, { icon: !0, label: !0, isMenu: !0 }), e.appendChild(this.scrollableElement.getDomNode()), this.scrollableElement.scanDomNode(), this.viewItems.filter((p) => !(p instanceof awe)).forEach((p, u, d) => {
|
|
96483
96480
|
p.updatePositionInSet(u + 1, d.length);
|
|
96484
96481
|
});
|
|
@@ -96560,7 +96557,7 @@ class Kze extends ml {
|
|
|
96560
96557
|
this.runOnceToEnableMouseUp = new No(() => {
|
|
96561
96558
|
this.element && (this._register(le(this.element, De.MOUSE_UP, (r) => {
|
|
96562
96559
|
if (zt.stop(r, !0), Wa) {
|
|
96563
|
-
if (new vl(
|
|
96560
|
+
if (new vl(Qe(this.element), r).rightButton)
|
|
96564
96561
|
return;
|
|
96565
96562
|
this.onClick(r);
|
|
96566
96563
|
} else
|
|
@@ -96687,14 +96684,14 @@ class swe extends Kze {
|
|
|
96687
96684
|
this.parentData.submenu.focus(!1);
|
|
96688
96685
|
else {
|
|
96689
96686
|
this.updateAriaExpanded("true"), this.submenuContainer = Oe(this.element, Xe("div.monaco-submenu")), this.submenuContainer.classList.add("menubar-menu-items-holder", "context-view");
|
|
96690
|
-
const t =
|
|
96687
|
+
const t = Qe(this.parentData.parent.domNode).getComputedStyle(this.parentData.parent.domNode), n = parseFloat(t.paddingTop || "0") || 0;
|
|
96691
96688
|
this.submenuContainer.style.zIndex = "1", this.submenuContainer.style.position = "fixed", this.submenuContainer.style.top = "0", this.submenuContainer.style.left = "0", this.parentData.submenu = new a2(this.submenuContainer, this.submenuActions.length ? this.submenuActions : [new Sx()], this.submenuOptions, this.menuStyle);
|
|
96692
96689
|
const i = this.element.getBoundingClientRect(), r = {
|
|
96693
96690
|
top: i.top - n,
|
|
96694
96691
|
left: i.left,
|
|
96695
96692
|
height: i.height + 2 * n,
|
|
96696
96693
|
width: i.width
|
|
96697
|
-
}, s = this.submenuContainer.getBoundingClientRect(), a =
|
|
96694
|
+
}, s = this.submenuContainer.getBoundingClientRect(), a = Qe(this.element), { top: l, left: p } = this.calculateSubmenuMenuLayout(new za(a.innerWidth, a.innerHeight), za.lift(s), r, this.expandDirection);
|
|
96698
96695
|
this.submenuContainer.style.left = `${p - s.left}px`, this.submenuContainer.style.top = `${l - s.top}px`, this.submenuDisposables.add(le(this.submenuContainer, De.KEY_UP, (u) => {
|
|
96699
96696
|
new xn(u).equals(
|
|
96700
96697
|
15
|
|
@@ -97154,7 +97151,7 @@ class ADt {
|
|
|
97154
97151
|
actionRunner: l,
|
|
97155
97152
|
getKeyBinding: e.getKeyBinding ? e.getKeyBinding : (u) => this.keybindingService.lookupKeybinding(u.id)
|
|
97156
97153
|
}, pDt), n.onDidCancel(() => this.contextViewService.hideContextView(!0), null, a), n.onDidBlur(() => this.contextViewService.hideContextView(!0), null, a);
|
|
97157
|
-
const p =
|
|
97154
|
+
const p = Qe(r);
|
|
97158
97155
|
return a.add(le(p, De.BLUR, () => this.contextViewService.hideContextView(!0))), a.add(le(p, De.MOUSE_DOWN, (u) => {
|
|
97159
97156
|
if (u.defaultPrevented)
|
|
97160
97157
|
return;
|
|
@@ -99374,10 +99371,10 @@ class rO {
|
|
|
99374
99371
|
this.el = e, this.disposables = new Pe();
|
|
99375
99372
|
}
|
|
99376
99373
|
get onPointerMove() {
|
|
99377
|
-
return this.disposables.add(new Nt(
|
|
99374
|
+
return this.disposables.add(new Nt(Qe(this.el), "mousemove")).event;
|
|
99378
99375
|
}
|
|
99379
99376
|
get onPointerUp() {
|
|
99380
|
-
return this.disposables.add(new Nt(
|
|
99377
|
+
return this.disposables.add(new Nt(Qe(this.el), "mouseup")).event;
|
|
99381
99378
|
}
|
|
99382
99379
|
dispose() {
|
|
99383
99380
|
this.disposables.dispose();
|
|
@@ -99735,7 +99732,7 @@ class cCt extends he {
|
|
|
99735
99732
|
super(), this.size = 0, this._contentSize = 0, this.proportions = void 0, this.viewItems = [], this.sashItems = [], this.state = zp.Idle, this._onDidSashChange = this._register(new J()), this._onDidSashReset = this._register(new J()), this._startSnappingEnabled = !0, this._endSnappingEnabled = !0, this.onDidSashChange = this._onDidSashChange.event, this.onDidSashReset = this._onDidSashReset.event, this.orientation = t.orientation ?? 0, this.inverseAltBehavior = t.inverseAltBehavior ?? !1, this.proportionalLayout = t.proportionalLayout ?? !0, this.getSashOrthogonalSize = t.getSashOrthogonalSize, this.el = document.createElement("div"), this.el.classList.add("monaco-split-view2"), this.el.classList.add(this.orientation === 0 ? "vertical" : "horizontal"), e.appendChild(this.el), this.sashContainer = Oe(this.el, Xe(".sash-container")), this.viewContainer = Xe(".split-view-container"), this.scrollable = this._register(new wm({
|
|
99736
99733
|
forceIntegerValues: !0,
|
|
99737
99734
|
smoothScrollDuration: 125,
|
|
99738
|
-
scheduleAtNextAnimationFrame: (i) => Wr(
|
|
99735
|
+
scheduleAtNextAnimationFrame: (i) => Wr(Qe(this.el), i)
|
|
99739
99736
|
})), this.scrollableElement = this._register(new iv(this.viewContainer, {
|
|
99740
99737
|
vertical: this.orientation === 0 ? t.scrollbarVisibility ?? 1 : 2,
|
|
99741
99738
|
horizontal: this.orientation === 1 ? t.scrollbarVisibility ?? 1 : 2
|
|
@@ -104729,7 +104726,7 @@ let sz = class extends he {
|
|
|
104729
104726
|
}
|
|
104730
104727
|
constructor(e, t, n, i) {
|
|
104731
104728
|
super(), this.options = e, this.layoutService = t, this.instantiationService = n, this.contextKeyService = i, this.enabled = !0, this.onDidAcceptEmitter = this._register(new J()), this.onDidCustomEmitter = this._register(new J()), this.onDidTriggerButtonEmitter = this._register(new J()), this.keyMods = { ctrlCmd: !1, alt: !1 }, this.controller = null, this.onShowEmitter = this._register(new J()), this.onShow = this.onShowEmitter.event, this.onHideEmitter = this._register(new J()), this.onHide = this.onHideEmitter.event, this.inQuickInputContext = _Dt.bindTo(this.contextKeyService), this.quickInputTypeContext = PDt.bindTo(this.contextKeyService), this.endOfQuickInputBoxContext = HDt.bindTo(this.contextKeyService), this.idPrefix = e.idPrefix, this._container = e.container, this.styles = e.styles, this._register(we.runAndSubscribe(T8, ({ window: r, disposables: s }) => this.registerKeyModsListeners(r, s), { window: Mn, disposables: this._store })), this._register(V0t((r) => {
|
|
104732
|
-
this.ui &&
|
|
104729
|
+
this.ui && Qe(this.ui.container) === r && (this.reparentUI(this.layoutService.mainContainer), this.layout(this.layoutService.mainContainerDimension, this.layoutService.mainContainerOffset.quickPickTop));
|
|
104733
104730
|
}));
|
|
104734
104731
|
}
|
|
104735
104732
|
registerKeyModsListeners(e, t) {
|
|
@@ -104741,7 +104738,7 @@ let sz = class extends he {
|
|
|
104741
104738
|
}
|
|
104742
104739
|
getUI(e) {
|
|
104743
104740
|
if (this.ui)
|
|
104744
|
-
return e &&
|
|
104741
|
+
return e && Qe(this._container) !== Qe(this.layoutService.activeContainer) && (this.reparentUI(this.layoutService.activeContainer), this.layout(this.layoutService.activeContainerDimension, this.layoutService.activeContainerOffset.quickPickTop)), this.ui;
|
|
104745
104742
|
const t = Oe(this._container, jr(".quick-input-widget.show-file-icons"));
|
|
104746
104743
|
t.tabIndex = -1, t.style.display = "none";
|
|
104747
104744
|
const n = Ga(t), i = Oe(t, jr(".quick-input-titlebar")), r = this._register(new iu(i, { hoverDelegate: this.options.hoverDelegate }));
|
|
@@ -105058,7 +105055,7 @@ let az = class extends u3t {
|
|
|
105058
105055
|
...t
|
|
105059
105056
|
}));
|
|
105060
105057
|
return i.layout(e.activeContainerDimension, e.activeContainerOffset.quickPickTop), this._register(e.onDidLayoutActiveContainer((r) => {
|
|
105061
|
-
|
|
105058
|
+
Qe(e.activeContainer) === Qe(i.container) && i.layout(r, e.activeContainerOffset.quickPickTop);
|
|
105062
105059
|
})), this._register(e.onDidChangeActiveContainer(() => {
|
|
105063
105060
|
i.isVisible() || i.layout(e.activeContainerDimension, e.activeContainerOffset.quickPickTop);
|
|
105064
105061
|
})), this._register(i.onShow(() => {
|
|
@@ -110474,7 +110471,7 @@ let kz = class extends XNt {
|
|
|
110474
110471
|
}
|
|
110475
110472
|
}
|
|
110476
110473
|
s4e(i), s4e(l), super.setActions(i, Io.join(l, r)), (s.length > 0 || i.length > 0) && this._sessionDisposables.add(le(this.getElement(), "contextmenu", (u) => {
|
|
110477
|
-
const d = new vl(
|
|
110474
|
+
const d = new vl(Qe(this.getElement()), u), h = this.getItemAction(d.target);
|
|
110478
110475
|
if (!h)
|
|
110479
110476
|
return;
|
|
110480
110477
|
d.preventDefault(), d.stopPropagation();
|
|
@@ -111034,7 +111031,7 @@ class c8e extends TO {
|
|
|
111034
111031
|
let g = !1;
|
|
111035
111032
|
const m = this._unchangedRegion.visibleLineCountTop.get();
|
|
111036
111033
|
this._unchangedRegion.isDragged.set("top", void 0);
|
|
111037
|
-
const A =
|
|
111034
|
+
const A = Qe(this._nodes.top), f = le(A, "mousemove", (v) => {
|
|
111038
111035
|
const C = v.clientY - h;
|
|
111039
111036
|
g = g || Math.abs(C) > 2;
|
|
111040
111037
|
const N = Math.round(C / u.getOption(
|
|
@@ -111053,7 +111050,7 @@ class c8e extends TO {
|
|
|
111053
111050
|
let g = !1;
|
|
111054
111051
|
const m = this._unchangedRegion.visibleLineCountBottom.get();
|
|
111055
111052
|
this._unchangedRegion.isDragged.set("bottom", void 0);
|
|
111056
|
-
const A =
|
|
111053
|
+
const A = Qe(this._nodes.bottom), f = le(A, "mousemove", (v) => {
|
|
111057
111054
|
const C = v.clientY - h;
|
|
111058
111055
|
g = g || Math.abs(C) > 2;
|
|
111059
111056
|
const N = Math.round(C / u.getOption(
|
|
@@ -111621,7 +111618,7 @@ let lw = class extends RO {
|
|
|
111621
111618
|
let g = !1;
|
|
111622
111619
|
const m = wc(this, (C) => (
|
|
111623
111620
|
/** @description ViewZoneManager */
|
|
111624
|
-
this._instantiationService.createInstance(va(xz, C),
|
|
111621
|
+
this._instantiationService.createInstance(va(xz, C), Qe(this._domElement), this._editors, this._diffModel, this._options, this, () => g || u.get().isUpdatingHiddenAreas, d, h)
|
|
111625
111622
|
)).recomputeInitiallyAndOnChange(this._store), A = ct(this, (C) => {
|
|
111626
111623
|
const N = m.read(C).viewZones.read(C).orig, z = u.read(C).viewZones.read(C).origViewZones;
|
|
111627
111624
|
return N.concat(z);
|
|
@@ -112242,7 +112239,7 @@ let Vz = class extends he {
|
|
|
112242
112239
|
Ut("div.monaco-editor@overflowWidgetsDomNode", {})
|
|
112243
112240
|
]), this._scrollable = this._register(new wm({
|
|
112244
112241
|
forceIntegerValues: !1,
|
|
112245
|
-
scheduleAtNextAnimationFrame: (l) => Wr(
|
|
112242
|
+
scheduleAtNextAnimationFrame: (l) => Wr(Qe(this._element), l),
|
|
112246
112243
|
smoothScrollDuration: 100
|
|
112247
112244
|
})), this._scrollableElement = this._register(new iv(this._scrollableElements.root, {
|
|
112248
112245
|
vertical: 1,
|
|
@@ -116276,13 +116273,13 @@ const Ov = Pt(
|
|
|
116276
116273
|
tooltipTextForInvalid: i = "Please enter valid JSON to save"
|
|
116277
116274
|
}) => {
|
|
116278
116275
|
const [r, s] = it("initial"), a = pr(Fo)?.switchToImplementMode;
|
|
116279
|
-
if (!
|
|
116276
|
+
if (!Fe.canUserSaveExampleData || j7e(t))
|
|
116280
116277
|
return null;
|
|
116281
116278
|
const l = p8(t), p = !o || e === "" || e === l, u = l !== void 0 ? "Update example data" : "Save example data";
|
|
116282
116279
|
let d;
|
|
116283
116280
|
!o || e === "" ? d = i : p && (d = "Please make changes to the example data to save");
|
|
116284
116281
|
const h = async () => {
|
|
116285
|
-
const g = Dzt(t, e), m = await
|
|
116282
|
+
const g = Dzt(t, e), m = await Fe.updateFile();
|
|
116286
116283
|
g && m.success ? (s("success"), n()) : g && !m.success && m.reason === "conflict" ? s("conflict") : s("error");
|
|
116287
116284
|
};
|
|
116288
116285
|
return /* @__PURE__ */ I.jsxs(I.Fragment, { children: [
|
|
@@ -116413,7 +116410,7 @@ const Ov = Pt(
|
|
|
116413
116410
|
isDirty: h,
|
|
116414
116411
|
setEditedValue: g,
|
|
116415
116412
|
resetPrefill: m
|
|
116416
|
-
} = dLe(i,
|
|
116413
|
+
} = dLe(i, Fe.processId), A = ws(null);
|
|
116417
116414
|
return Qt(() => {
|
|
116418
116415
|
u && A.current?.hideMarkers();
|
|
116419
116416
|
}, [u]), /* @__PURE__ */ I.jsx(
|
|
@@ -116448,7 +116445,7 @@ const Ov = Pt(
|
|
|
116448
116445
|
}) : r.displayNotification?.info({
|
|
116449
116446
|
title: `Signal "${a}" broadcasted`
|
|
116450
116447
|
}), hb({
|
|
116451
|
-
processId:
|
|
116448
|
+
processId: Fe.processId,
|
|
116452
116449
|
elementId: i.id,
|
|
116453
116450
|
variables: p ?? ""
|
|
116454
116451
|
})) : r.displayNotification?.error(Qo);
|
|
@@ -116599,7 +116596,7 @@ const zzt = ge.div`
|
|
|
116599
116596
|
isDirty: C,
|
|
116600
116597
|
setEditedValue: N,
|
|
116601
116598
|
resetPrefill: z
|
|
116602
|
-
} = dLe(s,
|
|
116599
|
+
} = dLe(s, Fe.processId), { authType: T } = Fe, L = ws(null);
|
|
116603
116600
|
return Qt(() => {
|
|
116604
116601
|
v && L.current?.hideMarkers();
|
|
116605
116602
|
}, [v]), /* @__PURE__ */ I.jsx(
|
|
@@ -116651,7 +116648,7 @@ const zzt = ge.div`
|
|
|
116651
116648
|
title: `Message "${p}" published`,
|
|
116652
116649
|
subtitle: `Correlation key: ${d}`
|
|
116653
116650
|
}), hb({
|
|
116654
|
-
processId:
|
|
116651
|
+
processId: Fe.processId,
|
|
116655
116652
|
elementId: s.id,
|
|
116656
116653
|
variables: w ?? ""
|
|
116657
116654
|
})) : a.displayNotification?.error(Qo);
|
|
@@ -116812,7 +116809,7 @@ function Szt({
|
|
|
116812
116809
|
}
|
|
116813
116810
|
const FO = Pt(
|
|
116814
116811
|
({ children: o, messageSubscription: e, element: t, isStartEvent: n = !1 }) => {
|
|
116815
|
-
const { authType: i } =
|
|
116812
|
+
const { authType: i } = Fe, {
|
|
116816
116813
|
isModalOpen: r,
|
|
116817
116814
|
setIsModalOpen: s,
|
|
116818
116815
|
publishMessage: a,
|
|
@@ -116965,7 +116962,7 @@ const mLe = ({
|
|
|
116965
116962
|
const [s, a] = it(!0), { prefillData: l, prefillSource: p } = Fa({
|
|
116966
116963
|
element: r,
|
|
116967
116964
|
useCache: s,
|
|
116968
|
-
processId:
|
|
116965
|
+
processId: Fe.processId
|
|
116969
116966
|
}), [u, d] = it(l), [h, g] = it(p), m = S8e(u), [A, f] = it(!1);
|
|
116970
116967
|
return Qt(() => {
|
|
116971
116968
|
d(l), g(p);
|
|
@@ -116984,7 +116981,7 @@ const mLe = ({
|
|
|
116984
116981
|
const { prefillData: w, prefillSource: v } = Fa({
|
|
116985
116982
|
element: r,
|
|
116986
116983
|
useCache: !1,
|
|
116987
|
-
processId:
|
|
116984
|
+
processId: Fe.processId
|
|
116988
116985
|
});
|
|
116989
116986
|
d(w), g(v), f(!1);
|
|
116990
116987
|
},
|
|
@@ -117051,7 +117048,7 @@ function Ozt({
|
|
|
117051
117048
|
(T, L) => {
|
|
117052
117049
|
const { cachedVariables: S, variablesFromExampleData: _ } = L8e({
|
|
117053
117050
|
element: o,
|
|
117054
|
-
processId:
|
|
117051
|
+
processId: Fe.processId
|
|
117055
117052
|
}), j = L === "bpmn" && od(T, _), O = L === "cache" && od(T, S);
|
|
117056
117053
|
return j || O;
|
|
117057
117054
|
},
|
|
@@ -117085,7 +117082,7 @@ function Ozt({
|
|
|
117085
117082
|
const { cachedVariables: L, variablesFromExampleData: S } = L8e(
|
|
117086
117083
|
{
|
|
117087
117084
|
element: o,
|
|
117088
|
-
processId:
|
|
117085
|
+
processId: Fe.processId
|
|
117089
117086
|
}
|
|
117090
117087
|
);
|
|
117091
117088
|
return {
|
|
@@ -117295,7 +117292,7 @@ const _zt = ({
|
|
|
117295
117292
|
element: e,
|
|
117296
117293
|
linkedStartForm: Et.state.linkedStartForm,
|
|
117297
117294
|
definitions: Et.state.definitions
|
|
117298
|
-
}), n = t !== void 0, { authType: i } =
|
|
117295
|
+
}), n = t !== void 0, { authType: i } = Fe, {
|
|
117299
117296
|
isModalOpen: r,
|
|
117300
117297
|
isStartingInstance: s,
|
|
117301
117298
|
setIsModalOpen: a,
|
|
@@ -117322,7 +117319,7 @@ const _zt = ({
|
|
|
117322
117319
|
onClose: () => a(!1),
|
|
117323
117320
|
onSubmit: async (g) => {
|
|
117324
117321
|
a(!1), l({
|
|
117325
|
-
processId:
|
|
117322
|
+
processId: Fe.processId,
|
|
117326
117323
|
variables: g ?? "{}"
|
|
117327
117324
|
});
|
|
117328
117325
|
},
|
|
@@ -117341,7 +117338,7 @@ const _zt = ({
|
|
|
117341
117338
|
},
|
|
117342
117339
|
onSubmit: async (g) => {
|
|
117343
117340
|
h(!1), l({
|
|
117344
|
-
processId:
|
|
117341
|
+
processId: Fe.processId,
|
|
117345
117342
|
variables: JSON.stringify(g)
|
|
117346
117343
|
});
|
|
117347
117344
|
},
|
|
@@ -117470,7 +117467,7 @@ const fLe = Pt(
|
|
|
117470
117467
|
);
|
|
117471
117468
|
fLe.displayName = "RestartInstance";
|
|
117472
117469
|
const yLe = Pt(() => {
|
|
117473
|
-
const o = pr(Fo), { isReplayScenariosEnabled: e } = o.featureFlags, { instanceKey: t, status: n, processInstance: i, scenarioName: r, isCalledProcess: s } = Ie.state, { scenarioRuns: a } = Wt.state, { sanitizedOperateBaseUrl: l, hasLinkToOperate: p, authType: u, projectId: d } =
|
|
117470
|
+
const o = pr(Fo), { isReplayScenariosEnabled: e } = o.featureFlags, { instanceKey: t, status: n, processInstance: i, scenarioName: r, isCalledProcess: s } = Ie.state, { scenarioRuns: a } = Wt.state, { sanitizedOperateBaseUrl: l, hasLinkToOperate: p, authType: u, projectId: d } = Fe, h = i?.bpmnProcessId;
|
|
117474
117471
|
if (Qt(() => {
|
|
117475
117472
|
h !== void 0 && Wt.loadScenarios(h);
|
|
117476
117473
|
}, [t, h, d]), Qt(() => {
|
|
@@ -117912,7 +117909,7 @@ const rSt = ge(lm)`
|
|
|
117912
117909
|
/* @__PURE__ */ I.jsx(x8e, { width: "276px" }),
|
|
117913
117910
|
/* @__PURE__ */ I.jsx(x8e, { width: "384px" })
|
|
117914
117911
|
] }), uSt = () => /* @__PURE__ */ I.jsx(lSt, { "data-testid": "variables-skeleton", children: [...Array(20)].map((o, e) => /* @__PURE__ */ I.jsx(pSt, {}, e)) }), bLe = Pt(({ selectedScope: o, isActive: e }) => {
|
|
117915
|
-
const t = pr(Fo), { authType: n } =
|
|
117912
|
+
const t = pr(Fo), { authType: n } = Fe, i = t.displayNotification, [r, s] = it(null), [a, l] = it(""), [p, u] = it(!1), [d, h] = it(!1), [g, m] = it(!1), A = Bs.state.isUpdatingVariable, { instanceKey: f } = Ie.state, w = Bs.state.variables.filter(
|
|
117916
117913
|
(D) => D.scopeKey === o
|
|
117917
117914
|
);
|
|
117918
117915
|
Qt(() => {
|
|
@@ -118320,7 +118317,7 @@ const CSt = ge.ul`
|
|
|
118320
118317
|
const h = {}, g = [], m = {
|
|
118321
118318
|
instance: {
|
|
118322
118319
|
key: s.key,
|
|
118323
|
-
flowNodeId: Et.processName ??
|
|
118320
|
+
flowNodeId: Et.processName ?? Fe.processId ?? "process",
|
|
118324
118321
|
type: "PROCESS",
|
|
118325
118322
|
startDate: s.startDate,
|
|
118326
118323
|
endDate: s.endDate ?? null,
|
|
@@ -118332,7 +118329,7 @@ const CSt = ge.ul`
|
|
|
118332
118329
|
childNodes: [],
|
|
118333
118330
|
isSelected: ro.isSelected({
|
|
118334
118331
|
flowNodeInstanceId: a,
|
|
118335
|
-
flowNodeId:
|
|
118332
|
+
flowNodeId: Fe.processId
|
|
118336
118333
|
})
|
|
118337
118334
|
};
|
|
118338
118335
|
h[s.key] = m, g.push(m);
|
|
@@ -118481,7 +118478,7 @@ class KSt {
|
|
|
118481
118478
|
e && this.setExistingSecrets(t);
|
|
118482
118479
|
};
|
|
118483
118480
|
get connectorElementsWithMissingSecrets() {
|
|
118484
|
-
if (
|
|
118481
|
+
if (Fe.authType === "sm")
|
|
118485
118482
|
return [];
|
|
118486
118483
|
const e = [];
|
|
118487
118484
|
return this.state.connectorElementsWithSecrets.forEach(({ element: t, secrets: n }) => {
|
|
@@ -118519,14 +118516,14 @@ class JSt {
|
|
|
118519
118516
|
ih(this);
|
|
118520
118517
|
}
|
|
118521
118518
|
get problemCount() {
|
|
118522
|
-
return
|
|
118519
|
+
return Fe.fileProblems.length + mu.connectorProblems.length + Et.diagramProblemCount;
|
|
118523
118520
|
}
|
|
118524
118521
|
get hasProblems() {
|
|
118525
|
-
return
|
|
118522
|
+
return Fe.hasAuthorizationError || Fe.hasDiagramError || this.problemCount > 0;
|
|
118526
118523
|
}
|
|
118527
118524
|
}
|
|
118528
118525
|
const GO = new JSt(), CLe = Pt(() => {
|
|
118529
|
-
const { fileProblems: o } =
|
|
118526
|
+
const { fileProblems: o } = Fe;
|
|
118530
118527
|
Qt(() => {
|
|
118531
118528
|
const t = () => {
|
|
118532
118529
|
document.visibilityState !== "hidden" && mu.getConnectorSecrets();
|
|
@@ -118606,7 +118603,7 @@ const GO = new JSt(), CLe = Pt(() => {
|
|
|
118606
118603
|
/* @__PURE__ */ I.jsx(
|
|
118607
118604
|
Pr,
|
|
118608
118605
|
{
|
|
118609
|
-
href:
|
|
118606
|
+
href: Fe.consoleSecretsUrl,
|
|
118610
118607
|
target: "_blank",
|
|
118611
118608
|
rel: "noreferrer",
|
|
118612
118609
|
children: "Update connector secret."
|
|
@@ -118719,15 +118716,10 @@ const iLt = ge(ii)`
|
|
|
118719
118716
|
margin-left: auto;
|
|
118720
118717
|
`;
|
|
118721
118718
|
function ELe({
|
|
118722
|
-
fileId: o
|
|
118723
|
-
isSelfManaged: e
|
|
118719
|
+
fileId: o
|
|
118724
118720
|
}) {
|
|
118725
|
-
const
|
|
118726
|
-
|
|
118727
|
-
const n = window.location.pathname, i = n.lastIndexOf("/diagrams/");
|
|
118728
|
-
return i !== -1 ? n.substring(0, i) + t : "/modeler" + t;
|
|
118729
|
-
}
|
|
118730
|
-
return t;
|
|
118721
|
+
const e = `/test-scenarios/${encodeURIComponent(o)}`, t = window.location.pathname, n = t.lastIndexOf("/diagrams/");
|
|
118722
|
+
return n !== -1 ? t.substring(0, n) + e : e;
|
|
118731
118723
|
}
|
|
118732
118724
|
const sLt = Pt(() => {
|
|
118733
118725
|
const { hasMultipleTestFilesLinked: o } = Wt.state;
|
|
@@ -118751,8 +118743,7 @@ const sLt = Pt(() => {
|
|
|
118751
118743
|
Pr,
|
|
118752
118744
|
{
|
|
118753
118745
|
href: ELe({
|
|
118754
|
-
fileId: Wt.state.testScenarioFileMetadata.id
|
|
118755
|
-
isSelfManaged: Ue.isSelfManaged
|
|
118746
|
+
fileId: Wt.state.testScenarioFileMetadata.id
|
|
118756
118747
|
}),
|
|
118757
118748
|
target: "_blank",
|
|
118758
118749
|
renderIcon: $7e,
|
|
@@ -118761,7 +118752,7 @@ const sLt = Pt(() => {
|
|
|
118761
118752
|
)
|
|
118762
118753
|
] });
|
|
118763
118754
|
}), ILe = Pt(() => {
|
|
118764
|
-
const [o, e] = it(!1), t = Wt.state.scenarios, { processId: n } =
|
|
118755
|
+
const [o, e] = it(!1), t = Wt.state.scenarios, { processId: n } = Fe;
|
|
118765
118756
|
if (n !== void 0)
|
|
118766
118757
|
return /* @__PURE__ */ I.jsxs(iLt, { gap: 5, orientation: "horizontal", children: [
|
|
118767
118758
|
/* @__PURE__ */ I.jsx(NLe, {}),
|
|
@@ -118852,7 +118843,7 @@ const sLt = Pt(() => {
|
|
|
118852
118843
|
] }), TLe = Pt(() => {
|
|
118853
118844
|
const [o, e] = it(
|
|
118854
118845
|
null
|
|
118855
|
-
), { processId: t } =
|
|
118846
|
+
), { processId: t } = Fe;
|
|
118856
118847
|
Qt(() => {
|
|
118857
118848
|
t !== void 0 && Wt.loadScenarios(t);
|
|
118858
118849
|
}, [t]);
|
|
@@ -119236,11 +119227,11 @@ const LLe = Pt(
|
|
|
119236
119227
|
({ authConfig: o, close: e, switchToImplementMode: t }) => {
|
|
119237
119228
|
const n = o?.type, i = n === "saas" ? o.config.clusterId : void 0, r = ws(null), {
|
|
119238
119229
|
state: { status: s, isRedeployment: a }
|
|
119239
|
-
} =
|
|
119230
|
+
} = Fe, { areConnectorsReady: l } = mu, p = GO.hasProblems, u = Fe.isEnvironmentCreated && l, { isLoaded: d } = Et.state;
|
|
119240
119231
|
Qt(() => {
|
|
119241
119232
|
d && mu.setupConnectors();
|
|
119242
119233
|
}, [d]), Qt(() => {
|
|
119243
|
-
n === "saas" && !i || !d || s !== "initial" ||
|
|
119234
|
+
n === "saas" && !i || !d || s !== "initial" || Fe.setupEnvironment();
|
|
119244
119235
|
}, [d, i, s, n]), Qt(() => {
|
|
119245
119236
|
a && u && !p && e?.();
|
|
119246
119237
|
}, [a, u, p, e]);
|
|
@@ -119252,8 +119243,8 @@ const LLe = Pt(
|
|
|
119252
119243
|
} = ILt({
|
|
119253
119244
|
isInitial: s === "initial",
|
|
119254
119245
|
isDeployingFiles: s === "deploying-files",
|
|
119255
|
-
hasAuthorizationError:
|
|
119256
|
-
hasDiagramError:
|
|
119246
|
+
hasAuthorizationError: Fe.hasAuthorizationError,
|
|
119247
|
+
hasDiagramError: Fe.hasDiagramError,
|
|
119257
119248
|
hasProblems: p,
|
|
119258
119249
|
areConnectorsReady: l
|
|
119259
119250
|
});
|
|
@@ -119282,9 +119273,9 @@ const LLe = Pt(
|
|
|
119282
119273
|
] }),
|
|
119283
119274
|
/* @__PURE__ */ I.jsx(NLt, { children: /* @__PURE__ */ I.jsx(I.Fragment, { children: (() => {
|
|
119284
119275
|
if (u) {
|
|
119285
|
-
if (
|
|
119276
|
+
if (Fe.hasDiagramError || Fe.hasAuthorizationError)
|
|
119286
119277
|
return /* @__PURE__ */ I.jsxs(I.Fragment, { children: [
|
|
119287
|
-
|
|
119278
|
+
Fe.hasAuthorizationError && /* @__PURE__ */ I.jsx(
|
|
119288
119279
|
f4,
|
|
119289
119280
|
{
|
|
119290
119281
|
kind: "ghost",
|
|
@@ -143013,10 +143004,10 @@ class _w {
|
|
|
143013
143004
|
});
|
|
143014
143005
|
}
|
|
143015
143006
|
}
|
|
143016
|
-
var
|
|
143007
|
+
var qe;
|
|
143017
143008
|
(function(o) {
|
|
143018
143009
|
o[o.Document = 1] = "Document", o[o.CodeBlock = 2] = "CodeBlock", o[o.FencedCode = 3] = "FencedCode", o[o.Blockquote = 4] = "Blockquote", o[o.HorizontalRule = 5] = "HorizontalRule", o[o.BulletList = 6] = "BulletList", o[o.OrderedList = 7] = "OrderedList", o[o.ListItem = 8] = "ListItem", o[o.ATXHeading1 = 9] = "ATXHeading1", o[o.ATXHeading2 = 10] = "ATXHeading2", o[o.ATXHeading3 = 11] = "ATXHeading3", o[o.ATXHeading4 = 12] = "ATXHeading4", o[o.ATXHeading5 = 13] = "ATXHeading5", o[o.ATXHeading6 = 14] = "ATXHeading6", o[o.SetextHeading1 = 15] = "SetextHeading1", o[o.SetextHeading2 = 16] = "SetextHeading2", o[o.HTMLBlock = 17] = "HTMLBlock", o[o.LinkReference = 18] = "LinkReference", o[o.Paragraph = 19] = "Paragraph", o[o.CommentBlock = 20] = "CommentBlock", o[o.ProcessingInstructionBlock = 21] = "ProcessingInstructionBlock", o[o.Escape = 22] = "Escape", o[o.Entity = 23] = "Entity", o[o.HardBreak = 24] = "HardBreak", o[o.Emphasis = 25] = "Emphasis", o[o.StrongEmphasis = 26] = "StrongEmphasis", o[o.Link = 27] = "Link", o[o.Image = 28] = "Image", o[o.InlineCode = 29] = "InlineCode", o[o.HTMLTag = 30] = "HTMLTag", o[o.Comment = 31] = "Comment", o[o.ProcessingInstruction = 32] = "ProcessingInstruction", o[o.Autolink = 33] = "Autolink", o[o.HeaderMark = 34] = "HeaderMark", o[o.QuoteMark = 35] = "QuoteMark", o[o.ListMark = 36] = "ListMark", o[o.LinkMark = 37] = "LinkMark", o[o.EmphasisMark = 38] = "EmphasisMark", o[o.CodeMark = 39] = "CodeMark", o[o.CodeText = 40] = "CodeText", o[o.CodeInfo = 41] = "CodeInfo", o[o.LinkTitle = 42] = "LinkTitle", o[o.LinkLabel = 43] = "LinkLabel", o[o.URL = 44] = "URL";
|
|
143019
|
-
})(
|
|
143010
|
+
})(qe || (qe = {}));
|
|
143020
143011
|
class fQt {
|
|
143021
143012
|
/// @internal
|
|
143022
143013
|
constructor(e, t) {
|
|
@@ -143093,19 +143084,19 @@ function bDe(o, e, t) {
|
|
|
143093
143084
|
return !0;
|
|
143094
143085
|
if (t.indent >= t.baseIndent + 4)
|
|
143095
143086
|
return !1;
|
|
143096
|
-
let n = (o.type ==
|
|
143097
|
-
return n > 0 && (o.type !=
|
|
143087
|
+
let n = (o.type == qe.OrderedList ? Wj : Yj)(t, e, !1);
|
|
143088
|
+
return n > 0 && (o.type != qe.BulletList || Fj(t, e, !1) < 0) && t.text.charCodeAt(t.pos + n - 1) == o.value;
|
|
143098
143089
|
}
|
|
143099
143090
|
const Uje = {
|
|
143100
|
-
[
|
|
143101
|
-
return t.next != 62 ? !1 : (t.markers.push(Ln(
|
|
143091
|
+
[qe.Blockquote](o, e, t) {
|
|
143092
|
+
return t.next != 62 ? !1 : (t.markers.push(Ln(qe.QuoteMark, e.lineStart + t.pos, e.lineStart + t.pos + 1)), t.moveBase(t.pos + (nc(t.text.charCodeAt(t.pos + 1)) ? 2 : 1)), o.end = e.lineStart + t.text.length, !0);
|
|
143102
143093
|
},
|
|
143103
|
-
[
|
|
143094
|
+
[qe.ListItem](o, e, t) {
|
|
143104
143095
|
return t.indent < t.baseIndent + o.value && t.next > -1 ? !1 : (t.moveBaseColumn(t.baseIndent + o.value), !0);
|
|
143105
143096
|
},
|
|
143106
|
-
[
|
|
143107
|
-
[
|
|
143108
|
-
[
|
|
143097
|
+
[qe.OrderedList]: bDe,
|
|
143098
|
+
[qe.BulletList]: bDe,
|
|
143099
|
+
[qe.Document]() {
|
|
143109
143100
|
return !0;
|
|
143110
143101
|
}
|
|
143111
143102
|
};
|
|
@@ -143160,7 +143151,7 @@ function Fje(o, e) {
|
|
|
143160
143151
|
return !1;
|
|
143161
143152
|
}
|
|
143162
143153
|
function Yj(o, e, t) {
|
|
143163
|
-
return (o.next == 45 || o.next == 43 || o.next == 42) && (o.pos == o.text.length - 1 || nc(o.text.charCodeAt(o.pos + 1))) && (!t || Fje(e,
|
|
143154
|
+
return (o.next == 45 || o.next == 43 || o.next == 42) && (o.pos == o.text.length - 1 || nc(o.text.charCodeAt(o.pos + 1))) && (!t || Fje(e, qe.BulletList) || o.skipSpace(o.pos + 2) < o.text.length) ? 1 : -1;
|
|
143164
143155
|
}
|
|
143165
143156
|
function Wj(o, e, t) {
|
|
143166
143157
|
let n = o.pos, i = o.next;
|
|
@@ -143170,7 +143161,7 @@ function Wj(o, e, t) {
|
|
|
143170
143161
|
return -1;
|
|
143171
143162
|
i = o.text.charCodeAt(n);
|
|
143172
143163
|
}
|
|
143173
|
-
return n == o.pos || n > o.pos + 9 || i != 46 && i != 41 || n < o.text.length - 1 && !nc(o.text.charCodeAt(n + 1)) || t && !Fje(e,
|
|
143164
|
+
return n == o.pos || n > o.pos + 9 || i != 46 && i != 41 || n < o.text.length - 1 && !nc(o.text.charCodeAt(n + 1)) || t && !Fje(e, qe.OrderedList) && (o.skipSpace(n + 1) == o.text.length || n > o.pos + 1 || o.next != 49) ? -1 : n + 1 - o.pos;
|
|
143174
143165
|
}
|
|
143175
143166
|
function Yje(o) {
|
|
143176
143167
|
if (o.next != 35)
|
|
@@ -143218,7 +143209,7 @@ function wDe(o, e) {
|
|
|
143218
143209
|
}
|
|
143219
143210
|
function zh(o, e, t) {
|
|
143220
143211
|
let n = o.length - 1;
|
|
143221
|
-
n >= 0 && o[n].to == e && o[n].type ==
|
|
143212
|
+
n >= 0 && o[n].to == e && o[n].type == qe.CodeText ? o[n].to = t : o.push(Ln(qe.CodeText, e, t));
|
|
143222
143213
|
}
|
|
143223
143214
|
const K4 = {
|
|
143224
143215
|
LinkReference: void 0,
|
|
@@ -143238,7 +143229,7 @@ const K4 = {
|
|
|
143238
143229
|
{
|
|
143239
143230
|
if (a.length) {
|
|
143240
143231
|
for (let p of a)
|
|
143241
|
-
p.type ==
|
|
143232
|
+
p.type == qe.CodeText ? zh(s, p.from, p.to) : s.push(p);
|
|
143242
143233
|
a = [];
|
|
143243
143234
|
}
|
|
143244
143235
|
zh(s, o.lineStart - 1, o.lineStart);
|
|
@@ -143249,14 +143240,14 @@ const K4 = {
|
|
|
143249
143240
|
l < r && zh(s, l, r);
|
|
143250
143241
|
}
|
|
143251
143242
|
}
|
|
143252
|
-
return a.length && (a = a.filter((l) => l.type !=
|
|
143243
|
+
return a.length && (a = a.filter((l) => l.type != qe.CodeText), a.length && (e.markers = a.concat(e.markers))), o.addNode(o.buffer.writeElements(s, -i).finish(qe.CodeBlock, r - i), i), !0;
|
|
143253
143244
|
},
|
|
143254
143245
|
FencedCode(o, e) {
|
|
143255
143246
|
let t = Qje(e);
|
|
143256
143247
|
if (t < 0)
|
|
143257
143248
|
return !1;
|
|
143258
|
-
let n = o.lineStart + e.pos, i = e.next, r = t - e.pos, s = e.skipSpace(t), a = MDe(e.text, e.text.length, s), l = [Ln(
|
|
143259
|
-
s < a && l.push(Ln(
|
|
143249
|
+
let n = o.lineStart + e.pos, i = e.next, r = t - e.pos, s = e.skipSpace(t), a = MDe(e.text, e.text.length, s), l = [Ln(qe.CodeMark, n, n + r)];
|
|
143250
|
+
s < a && l.push(Ln(qe.CodeInfo, o.lineStart + s, o.lineStart + a));
|
|
143260
143251
|
for (let p = !0; o.nextLine() && e.depth >= o.stack.length; p = !1) {
|
|
143261
143252
|
let u = e.pos;
|
|
143262
143253
|
if (e.indent - e.baseIndent < 4)
|
|
@@ -143265,7 +143256,7 @@ const K4 = {
|
|
|
143265
143256
|
if (u - e.pos >= r && e.skipSpace(u) == e.text.length) {
|
|
143266
143257
|
for (let d of e.markers)
|
|
143267
143258
|
l.push(d);
|
|
143268
|
-
l.push(Ln(
|
|
143259
|
+
l.push(Ln(qe.CodeMark, o.lineStart + e.pos, o.lineStart + u)), o.nextLine();
|
|
143269
143260
|
break;
|
|
143270
143261
|
} else {
|
|
143271
143262
|
p || zh(l, o.lineStart - 1, o.lineStart);
|
|
@@ -143275,33 +143266,33 @@ const K4 = {
|
|
|
143275
143266
|
d < h && zh(l, d, h);
|
|
143276
143267
|
}
|
|
143277
143268
|
}
|
|
143278
|
-
return o.addNode(o.buffer.writeElements(l, -n).finish(
|
|
143269
|
+
return o.addNode(o.buffer.writeElements(l, -n).finish(qe.FencedCode, o.prevLineEnd() - n), n), !0;
|
|
143279
143270
|
},
|
|
143280
143271
|
Blockquote(o, e) {
|
|
143281
143272
|
let t = qje(e);
|
|
143282
|
-
return t < 0 ? !1 : (o.startContext(
|
|
143273
|
+
return t < 0 ? !1 : (o.startContext(qe.Blockquote, e.pos), o.addNode(qe.QuoteMark, o.lineStart + e.pos, o.lineStart + e.pos + 1), e.moveBase(e.pos + t), null);
|
|
143283
143274
|
},
|
|
143284
143275
|
HorizontalRule(o, e) {
|
|
143285
143276
|
if (Fj(e, o, !1) < 0)
|
|
143286
143277
|
return !1;
|
|
143287
143278
|
let t = o.lineStart + e.pos;
|
|
143288
|
-
return o.nextLine(), o.addNode(
|
|
143279
|
+
return o.nextLine(), o.addNode(qe.HorizontalRule, t), !0;
|
|
143289
143280
|
},
|
|
143290
143281
|
BulletList(o, e) {
|
|
143291
143282
|
let t = Yj(e, o, !1);
|
|
143292
143283
|
if (t < 0)
|
|
143293
143284
|
return !1;
|
|
143294
|
-
o.block.type !=
|
|
143285
|
+
o.block.type != qe.BulletList && o.startContext(qe.BulletList, e.basePos, e.next);
|
|
143295
143286
|
let n = wDe(e, e.pos + 1);
|
|
143296
|
-
return o.startContext(
|
|
143287
|
+
return o.startContext(qe.ListItem, e.basePos, n - e.baseIndent), o.addNode(qe.ListMark, o.lineStart + e.pos, o.lineStart + e.pos + t), e.moveBaseColumn(n), null;
|
|
143297
143288
|
},
|
|
143298
143289
|
OrderedList(o, e) {
|
|
143299
143290
|
let t = Wj(e, o, !1);
|
|
143300
143291
|
if (t < 0)
|
|
143301
143292
|
return !1;
|
|
143302
|
-
o.block.type !=
|
|
143293
|
+
o.block.type != qe.OrderedList && o.startContext(qe.OrderedList, e.basePos, e.text.charCodeAt(e.pos + t - 1));
|
|
143303
143294
|
let n = wDe(e, e.pos + t);
|
|
143304
|
-
return o.startContext(
|
|
143295
|
+
return o.startContext(qe.ListItem, e.basePos, n - e.baseIndent), o.addNode(qe.ListMark, o.lineStart + e.pos, o.lineStart + e.pos + t), e.moveBaseColumn(n), null;
|
|
143305
143296
|
},
|
|
143306
143297
|
ATXHeading(o, e) {
|
|
143307
143298
|
let t = Yje(e);
|
|
@@ -143311,9 +143302,9 @@ const K4 = {
|
|
|
143311
143302
|
for (; s > n && e.text.charCodeAt(s - 1) == e.next; )
|
|
143312
143303
|
s--;
|
|
143313
143304
|
(s == r || s == n || !nc(e.text.charCodeAt(s - 1))) && (s = e.text.length);
|
|
143314
|
-
let a = o.buffer.write(
|
|
143315
|
-
s < e.text.length && a.write(
|
|
143316
|
-
let l = a.finish(
|
|
143305
|
+
let a = o.buffer.write(qe.HeaderMark, 0, t).writeElements(o.parser.parseInline(e.text.slice(n + t + 1, s), i + t + 1), -i);
|
|
143306
|
+
s < e.text.length && a.write(qe.HeaderMark, s - n, r - n);
|
|
143307
|
+
let l = a.finish(qe.ATXHeading1 - 1 + t, e.text.length - n);
|
|
143317
143308
|
return o.nextLine(), o.addNode(l, i), !0;
|
|
143318
143309
|
},
|
|
143319
143310
|
HTMLBlock(o, e) {
|
|
@@ -143330,7 +143321,7 @@ const K4 = {
|
|
|
143330
143321
|
r.push(p);
|
|
143331
143322
|
}
|
|
143332
143323
|
s && o.nextLine();
|
|
143333
|
-
let a = i == Zje ?
|
|
143324
|
+
let a = i == Zje ? qe.CommentBlock : i == Gje ? qe.ProcessingInstructionBlock : qe.HTMLBlock, l = o.prevLineEnd();
|
|
143334
143325
|
return o.addNode(o.buffer.writeElements(r, -n).finish(a, l - n), n), !0;
|
|
143335
143326
|
},
|
|
143336
143327
|
SetextHeading: void 0
|
|
@@ -143351,7 +143342,7 @@ class bQt {
|
|
|
143351
143342
|
return (this.stage == 2 || this.stage == 3) && jf(t.content, this.pos) == t.content.length ? this.complete(e, t, t.content.length) : !1;
|
|
143352
143343
|
}
|
|
143353
143344
|
complete(e, t, n) {
|
|
143354
|
-
return e.addLeafElement(t, Ln(
|
|
143345
|
+
return e.addLeafElement(t, Ln(qe.LinkReference, this.start, this.start + n, this.elts)), !0;
|
|
143355
143346
|
}
|
|
143356
143347
|
nextStage(e) {
|
|
143357
143348
|
return e ? (this.pos = e.to - this.start, this.elts.push(e), this.stage++, !0) : (e === !1 && (this.stage = -1), !1);
|
|
@@ -143365,7 +143356,7 @@ class bQt {
|
|
|
143365
143356
|
return -1;
|
|
143366
143357
|
if (e.charCodeAt(this.pos) != 58)
|
|
143367
143358
|
return this.stage = -1;
|
|
143368
|
-
this.elts.push(Ln(
|
|
143359
|
+
this.elts.push(Ln(qe.LinkMark, this.pos + this.start, this.pos + this.start + 1)), this.pos++;
|
|
143369
143360
|
} else if (this.stage == 1) {
|
|
143370
143361
|
if (!this.nextStage(i_e(e, jf(e, this.pos), this.start)))
|
|
143371
143362
|
return -1;
|
|
@@ -143399,8 +143390,8 @@ class MQt {
|
|
|
143399
143390
|
let i = t.depth < e.stack.length ? -1 : Wje(t), r = t.next;
|
|
143400
143391
|
if (i < 0)
|
|
143401
143392
|
return !1;
|
|
143402
|
-
let s = Ln(
|
|
143403
|
-
return e.nextLine(), e.addLeafElement(n, Ln(r == 61 ?
|
|
143393
|
+
let s = Ln(qe.HeaderMark, e.lineStart + t.pos, e.lineStart + i);
|
|
143394
|
+
return e.nextLine(), e.addLeafElement(n, Ln(r == 61 ? qe.SetextHeading1 : qe.SetextHeading2, n.start, e.prevLineEnd(), [
|
|
143404
143395
|
...e.parser.parseInline(n.content, n.start),
|
|
143405
143396
|
s
|
|
143406
143397
|
])), !0;
|
|
@@ -143428,7 +143419,7 @@ const wQt = {
|
|
|
143428
143419
|
class CQt {
|
|
143429
143420
|
/// @internal
|
|
143430
143421
|
constructor(e, t, n, i) {
|
|
143431
|
-
this.parser = e, this.input = t, this.ranges = i, this.line = new yQt(), this.atEnd = !1, this.reusePlaceholders = /* @__PURE__ */ new Map(), this.stoppedAt = null, this.rangeI = 0, this.to = i[i.length - 1].to, this.lineStart = this.absoluteLineStart = this.absoluteLineEnd = i[0].from, this.block = _w.create(
|
|
143422
|
+
this.parser = e, this.input = t, this.ranges = i, this.line = new yQt(), this.atEnd = !1, this.reusePlaceholders = /* @__PURE__ */ new Map(), this.stoppedAt = null, this.rangeI = 0, this.to = i[i.length - 1].to, this.lineStart = this.absoluteLineStart = this.absoluteLineEnd = i[0].from, this.block = _w.create(qe.Document, 0, this.lineStart, 0, 0), this.stack = [this.block], this.fragments = n.length ? new TQt(n, t) : null, this.readLine();
|
|
143432
143423
|
}
|
|
143433
143424
|
get parsedPos() {
|
|
143434
143425
|
return this.absoluteLineStart;
|
|
@@ -143543,7 +143534,7 @@ class CQt {
|
|
|
143543
143534
|
for (this.absoluteLineEnd = n, e.reset(t); e.depth < this.stack.length; e.depth++) {
|
|
143544
143535
|
let i = this.stack[e.depth], r = this.parser.skipContextMarkup[i.type];
|
|
143545
143536
|
if (!r)
|
|
143546
|
-
throw new Error("Unhandled block context " +
|
|
143537
|
+
throw new Error("Unhandled block context " + qe[i.type]);
|
|
143547
143538
|
if (!r(i, this, e))
|
|
143548
143539
|
break;
|
|
143549
143540
|
e.forward();
|
|
@@ -143608,7 +143599,7 @@ class CQt {
|
|
|
143608
143599
|
if (n.finish(this, e))
|
|
143609
143600
|
return;
|
|
143610
143601
|
let t = tL(this.parser.parseInline(e.content, e.start), e.marks);
|
|
143611
|
-
this.addNode(this.buffer.writeElements(t, -e.start).finish(
|
|
143602
|
+
this.addNode(this.buffer.writeElements(t, -e.start).finish(qe.Paragraph, e.content.length), e.start);
|
|
143612
143603
|
}
|
|
143613
143604
|
elt(e, t, n, i) {
|
|
143614
143605
|
return typeof e == "string" ? Ln(this.parser.getNodeType(e), t, n, i) : new e_e(e, t);
|
|
@@ -143660,7 +143651,7 @@ class Zj extends mj {
|
|
|
143660
143651
|
if (h.some((N) => N.name == A))
|
|
143661
143652
|
continue;
|
|
143662
143653
|
w && (i[h.length] = (N, z, T) => w(z, T, N.value));
|
|
143663
|
-
let D = h.length, C = w ? ["Block", "BlockContext"] : f ? D >=
|
|
143654
|
+
let D = h.length, C = w ? ["Block", "BlockContext"] : f ? D >= qe.ATXHeading1 && D <= qe.SetextHeading2 ? ["Block", "LeafBlock", "Heading"] : ["Block", "LeafBlock"] : void 0;
|
|
143664
143655
|
h.push(zo.define({
|
|
143665
143656
|
id: D,
|
|
143666
143657
|
name: A,
|
|
@@ -143755,11 +143746,11 @@ function J4(o, e) {
|
|
|
143755
143746
|
return t;
|
|
143756
143747
|
}
|
|
143757
143748
|
let Xje = [zo.none];
|
|
143758
|
-
for (let o = 1, e; e =
|
|
143749
|
+
for (let o = 1, e; e = qe[o]; o++)
|
|
143759
143750
|
Xje[o] = zo.define({
|
|
143760
143751
|
id: o,
|
|
143761
143752
|
name: e,
|
|
143762
|
-
props: o >=
|
|
143753
|
+
props: o >= qe.Escape ? [] : [[Gt.group, o in Uje ? ["Block", "BlockContext"] : ["Block", "LeafBlock"]]],
|
|
143763
143754
|
top: e == "Document"
|
|
143764
143755
|
});
|
|
143765
143756
|
const om = [];
|
|
@@ -143841,14 +143832,14 @@ const MN = {
|
|
|
143841
143832
|
let n = o.char(t + 1);
|
|
143842
143833
|
for (let i = 0; i < vDe.length; i++)
|
|
143843
143834
|
if (vDe.charCodeAt(i) == n)
|
|
143844
|
-
return o.append(Ln(
|
|
143835
|
+
return o.append(Ln(qe.Escape, t, t + 2));
|
|
143845
143836
|
return -1;
|
|
143846
143837
|
},
|
|
143847
143838
|
Entity(o, e, t) {
|
|
143848
143839
|
if (e != 38)
|
|
143849
143840
|
return -1;
|
|
143850
143841
|
let n = /^(?:#\d+|#x[a-f\d]+|\w+);/i.exec(o.slice(t + 1, t + 31));
|
|
143851
|
-
return n ? o.append(Ln(
|
|
143842
|
+
return n ? o.append(Ln(qe.Entity, t, t + 1 + n[0].length)) : -1;
|
|
143852
143843
|
},
|
|
143853
143844
|
InlineCode(o, e, t) {
|
|
143854
143845
|
if (e != 96 || t && o.char(t - 1) == 96)
|
|
@@ -143860,9 +143851,9 @@ const MN = {
|
|
|
143860
143851
|
for (; n < o.end; n++)
|
|
143861
143852
|
if (o.char(n) == 96) {
|
|
143862
143853
|
if (r++, r == i && o.char(n + 1) != 96)
|
|
143863
|
-
return o.append(Ln(
|
|
143864
|
-
Ln(
|
|
143865
|
-
Ln(
|
|
143854
|
+
return o.append(Ln(qe.InlineCode, t, n + 1, [
|
|
143855
|
+
Ln(qe.CodeMark, t, t + i),
|
|
143856
|
+
Ln(qe.CodeMark, n + 1 - i, n + 1)
|
|
143866
143857
|
]));
|
|
143867
143858
|
} else
|
|
143868
143859
|
r = 0;
|
|
@@ -143873,20 +143864,20 @@ const MN = {
|
|
|
143873
143864
|
return -1;
|
|
143874
143865
|
let n = o.slice(t + 1, o.end), i = /^(?:[a-z][-\w+.]+:[^\s>]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i.exec(n);
|
|
143875
143866
|
if (i)
|
|
143876
|
-
return o.append(Ln(
|
|
143877
|
-
Ln(
|
|
143867
|
+
return o.append(Ln(qe.Autolink, t, t + 1 + i[0].length, [
|
|
143868
|
+
Ln(qe.LinkMark, t, t + 1),
|
|
143878
143869
|
// url[0] includes the closing bracket, so exclude it from this slice
|
|
143879
|
-
Ln(
|
|
143880
|
-
Ln(
|
|
143870
|
+
Ln(qe.URL, t + 1, t + i[0].length),
|
|
143871
|
+
Ln(qe.LinkMark, t + i[0].length, t + 1 + i[0].length)
|
|
143881
143872
|
]));
|
|
143882
143873
|
let r = /^!--[^>](?:-[^-]|[^-])*?-->/i.exec(n);
|
|
143883
143874
|
if (r)
|
|
143884
|
-
return o.append(Ln(
|
|
143875
|
+
return o.append(Ln(qe.Comment, t, t + 1 + r[0].length));
|
|
143885
143876
|
let s = /^\?[^]*?\?>/.exec(n);
|
|
143886
143877
|
if (s)
|
|
143887
|
-
return o.append(Ln(
|
|
143878
|
+
return o.append(Ln(qe.ProcessingInstruction, t, t + 1 + s[0].length));
|
|
143888
143879
|
let a = /^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(n);
|
|
143889
|
-
return a ? o.append(Ln(
|
|
143880
|
+
return a ? o.append(Ln(qe.HTMLTag, t, t + 1 + a[0].length)) : -1;
|
|
143890
143881
|
},
|
|
143891
143882
|
Emphasis(o, e, t) {
|
|
143892
143883
|
if (e != 95 && e != 42)
|
|
@@ -143899,13 +143890,13 @@ const MN = {
|
|
|
143899
143890
|
},
|
|
143900
143891
|
HardBreak(o, e, t) {
|
|
143901
143892
|
if (e == 92 && o.char(t + 1) == 10)
|
|
143902
|
-
return o.append(Ln(
|
|
143893
|
+
return o.append(Ln(qe.HardBreak, t, t + 2));
|
|
143903
143894
|
if (e == 32) {
|
|
143904
143895
|
let n = t + 1;
|
|
143905
143896
|
for (; o.char(n) == 32; )
|
|
143906
143897
|
n++;
|
|
143907
143898
|
if (o.char(n) == 10 && n >= t + 2)
|
|
143908
|
-
return o.append(Ln(
|
|
143899
|
+
return o.append(Ln(qe.HardBreak, t, n + 1));
|
|
143909
143900
|
}
|
|
143910
143901
|
return -1;
|
|
143911
143902
|
},
|
|
@@ -143935,7 +143926,7 @@ const MN = {
|
|
|
143935
143926
|
if (i instanceof Da && (i.type == h0 || i.type == $S)) {
|
|
143936
143927
|
if (!i.side || o.skipSpace(i.to) == t && !/[(\[]/.test(o.slice(t + 1, t + 2)))
|
|
143937
143928
|
return o.parts[n] = null, -1;
|
|
143938
|
-
let r = o.takeContent(n), s = o.parts[n] = NQt(o, r, i.type == h0 ?
|
|
143929
|
+
let r = o.takeContent(n), s = o.parts[n] = NQt(o, r, i.type == h0 ? qe.Link : qe.Image, i.from, t + 1);
|
|
143939
143930
|
if (i.type == h0)
|
|
143940
143931
|
for (let a = 0; a < n; a++) {
|
|
143941
143932
|
let l = o.parts[a];
|
|
@@ -143949,9 +143940,9 @@ const MN = {
|
|
|
143949
143940
|
};
|
|
143950
143941
|
function NQt(o, e, t, n, i) {
|
|
143951
143942
|
let { text: r } = o, s = o.char(i), a = i;
|
|
143952
|
-
if (e.unshift(Ln(
|
|
143943
|
+
if (e.unshift(Ln(qe.LinkMark, n, n + (t == qe.Image ? 2 : 1))), e.push(Ln(qe.LinkMark, i - 1, i)), s == 40) {
|
|
143953
143944
|
let l = o.skipSpace(i + 1), p = i_e(r, l - o.offset, o.offset), u;
|
|
143954
|
-
p && (l = o.skipSpace(p.to), l != p.to && (u = o_e(r, l - o.offset, o.offset), u && (l = o.skipSpace(u.to)))), o.char(l) == 41 && (e.push(Ln(
|
|
143945
|
+
p && (l = o.skipSpace(p.to), l != p.to && (u = o_e(r, l - o.offset, o.offset), u && (l = o.skipSpace(u.to)))), o.char(l) == 41 && (e.push(Ln(qe.LinkMark, i, i + 1)), a = l + 1, p && e.push(p), u && e.push(u), e.push(Ln(qe.LinkMark, l, a)));
|
|
143955
143946
|
} else if (s == 91) {
|
|
143956
143947
|
let l = r_e(r, i - o.offset, o.offset, !1);
|
|
143957
143948
|
l && (e.push(l), a = l.to);
|
|
@@ -143963,7 +143954,7 @@ function i_e(o, e, t) {
|
|
|
143963
143954
|
for (let i = e + 1; i < o.length; i++) {
|
|
143964
143955
|
let r = o.charCodeAt(i);
|
|
143965
143956
|
if (r == 62)
|
|
143966
|
-
return Ln(
|
|
143957
|
+
return Ln(qe.URL, e + t, i + 1 + t);
|
|
143967
143958
|
if (r == 60 || r == 10)
|
|
143968
143959
|
return !1;
|
|
143969
143960
|
}
|
|
@@ -143984,7 +143975,7 @@ function i_e(o, e, t) {
|
|
|
143984
143975
|
i--;
|
|
143985
143976
|
} else a == 92 && (s = !0);
|
|
143986
143977
|
}
|
|
143987
|
-
return r > e ? Ln(
|
|
143978
|
+
return r > e ? Ln(qe.URL, e + t, r + t) : r == o.length ? null : !1;
|
|
143988
143979
|
}
|
|
143989
143980
|
}
|
|
143990
143981
|
function o_e(o, e, t) {
|
|
@@ -143998,7 +143989,7 @@ function o_e(o, e, t) {
|
|
|
143998
143989
|
s = !1;
|
|
143999
143990
|
else {
|
|
144000
143991
|
if (a == i)
|
|
144001
|
-
return Ln(
|
|
143992
|
+
return Ln(qe.LinkTitle, e + t, r + 1 + t);
|
|
144002
143993
|
a == 92 && (s = !0);
|
|
144003
143994
|
}
|
|
144004
143995
|
}
|
|
@@ -144011,7 +144002,7 @@ function r_e(o, e, t, n) {
|
|
|
144011
144002
|
i = !1;
|
|
144012
144003
|
else {
|
|
144013
144004
|
if (a == 93)
|
|
144014
|
-
return n ? !1 : Ln(
|
|
144005
|
+
return n ? !1 : Ln(qe.LinkLabel, e + t, r + 1 + t);
|
|
144015
144006
|
if (n && !nc(a) && (n = !1), a == 91)
|
|
144016
144007
|
return !1;
|
|
144017
144008
|
a == 92 && (i = !0);
|
|
@@ -144147,7 +144138,7 @@ function tL(o, e) {
|
|
|
144147
144138
|
}
|
|
144148
144139
|
return t;
|
|
144149
144140
|
}
|
|
144150
|
-
const IQt = [
|
|
144141
|
+
const IQt = [qe.CodeBlock, qe.ListItem, qe.OrderedList, qe.BulletList];
|
|
144151
144142
|
class TQt {
|
|
144152
144143
|
constructor(e, t) {
|
|
144153
144144
|
this.fragments = e, this.input = t, this.i = 0, this.fragment = null, this.fragmentEnd = -1, this.cursor = null, e.length && (this.fragment = e[this.i++]);
|
|
@@ -144196,7 +144187,7 @@ class TQt {
|
|
|
144196
144187
|
if (t.to - n <= e.ranges[e.rangeI].to)
|
|
144197
144188
|
e.addNode(t.tree, u);
|
|
144198
144189
|
else {
|
|
144199
|
-
let d = new ei(e.parser.nodeSet.types[
|
|
144190
|
+
let d = new ei(e.parser.nodeSet.types[qe.Paragraph], [], [], 0, e.block.hashProp);
|
|
144200
144191
|
e.reusePlaceholders.set(d, t.tree), e.addNode(d, u);
|
|
144201
144192
|
}
|
|
144202
144193
|
if (t.type.is("Block") && (IQt.indexOf(t.type.id) < 0 ? (s = t.to - n, a = e.block.children.length) : (s = l, a = p, l = t.to - n, p = e.block.children.length)), !t.nextSibling())
|
|
@@ -150837,7 +150828,7 @@ const jYt = ge.div`
|
|
|
150837
150828
|
const n = Ie.state.processInstance, { prefillSource: i } = Fa({
|
|
150838
150829
|
element: e,
|
|
150839
150830
|
useCache: !0,
|
|
150840
|
-
processId:
|
|
150831
|
+
processId: Fe.processId
|
|
150841
150832
|
});
|
|
150842
150833
|
return /* @__PURE__ */ I.jsx(
|
|
150843
150834
|
FO,
|
|
@@ -150859,7 +150850,7 @@ const jYt = ge.div`
|
|
|
150859
150850
|
renderIcon: () => /* @__PURE__ */ I.jsx(xSt, { color: "white" }),
|
|
150860
150851
|
onClick: async () => {
|
|
150861
150852
|
r({
|
|
150862
|
-
processId:
|
|
150853
|
+
processId: Fe.processId,
|
|
150863
150854
|
messageSubscription: o,
|
|
150864
150855
|
isStartEvent: t,
|
|
150865
150856
|
processInstanceKey: n?.key
|
|
@@ -150890,7 +150881,7 @@ const BYt = { top: -20, left: -30 }, ic = { top: -38, left: 0 }, VYt = { bottom:
|
|
|
150890
150881
|
const s = r ? vLe : kSt, { prefillData: a, prefillSource: l } = Fa({
|
|
150891
150882
|
element: o,
|
|
150892
150883
|
useCache: !0,
|
|
150893
|
-
processId:
|
|
150884
|
+
processId: Fe.processId
|
|
150894
150885
|
}), p = eg({
|
|
150895
150886
|
prefix: "Start instance",
|
|
150896
150887
|
prefillSource: l
|
|
@@ -150906,7 +150897,7 @@ const BYt = { top: -20, left: -30 }, ic = { top: -38, left: 0 }, VYt = { bottom:
|
|
|
150906
150897
|
renderIcon: () => /* @__PURE__ */ I.jsx(s, { color: "white" }),
|
|
150907
150898
|
onClick: async () => {
|
|
150908
150899
|
r ? n() : e({
|
|
150909
|
-
processId:
|
|
150900
|
+
processId: Fe.processId,
|
|
150910
150901
|
variables: a || "{}",
|
|
150911
150902
|
successNotificationSubtitle: eg({ prefillSource: l }) || void 0
|
|
150912
150903
|
});
|
|
@@ -150938,7 +150929,7 @@ const $Yt = ({
|
|
|
150938
150929
|
const n = t.find(({ state: i }) => i === "ACTIVE");
|
|
150939
150930
|
return n !== void 0 ? n : t[0];
|
|
150940
150931
|
}, k_e = Pt(({ element: o, isActive: e }) => {
|
|
150941
|
-
const { processedFiles: t } =
|
|
150932
|
+
const { processedFiles: t } = Fe.state, n = XYt(o), i = $Yt({
|
|
150942
150933
|
childInstances: KN.state.childInstances,
|
|
150943
150934
|
calledProcessId: n
|
|
150944
150935
|
});
|
|
@@ -151050,7 +151041,7 @@ const YDe = ge(ii)`
|
|
|
151050
151041
|
});
|
|
151051
151042
|
O_e.displayName = "CompletedOverlay";
|
|
151052
151043
|
const j_e = Pt(({ element: o, incident: e }) => {
|
|
151053
|
-
const t = pr(Fo), [n, i] = it(!1), { processInstance: r } = Ie.state, s = t.featureFlags.areAIFeaturesEnabled, a = s, l = a || t.isUserOrgOwnerOrAdmin, p =
|
|
151044
|
+
const t = pr(Fo), [n, i] = it(!1), { processInstance: r } = Ie.state, s = t.featureFlags.areAIFeaturesEnabled, a = s, l = a || t.isUserOrgOwnerOrAdmin, p = Fe.authType !== "sm" ? {
|
|
151054
151045
|
label: a ? "Copy and ask AI" : "Enable incident copilot",
|
|
151055
151046
|
id: s ? "camunda-ai-button" : void 0,
|
|
151056
151047
|
icon: /* @__PURE__ */ I.jsx(QSt, {}),
|
|
@@ -151104,13 +151095,13 @@ Error message: ${e.message}`
|
|
|
151104
151095
|
t.displayNotification?.error(Qo);
|
|
151105
151096
|
return;
|
|
151106
151097
|
}
|
|
151107
|
-
Qn.trackResolveIncident(
|
|
151098
|
+
Qn.trackResolveIncident(Fe.processId);
|
|
151108
151099
|
const u = await Yf.resolveIncident(e.key);
|
|
151109
151100
|
if (u.status === Rl) {
|
|
151110
151101
|
t.displayNotification?.error(
|
|
151111
151102
|
{
|
|
151112
151103
|
title: tp,
|
|
151113
|
-
subtitle: `Please contact your ${
|
|
151104
|
+
subtitle: `Please contact your ${Fe.authType === "sm" ? "admin" : "organization owner or admin"} to give you the necessary permissions to resolve this incident.`
|
|
151114
151105
|
},
|
|
151115
151106
|
Xs
|
|
151116
151107
|
);
|
|
@@ -151259,7 +151250,7 @@ const P_e = Pt(({ element: o }) => {
|
|
|
151259
151250
|
S ? e?.error(
|
|
151260
151251
|
{
|
|
151261
151252
|
title: tp,
|
|
151262
|
-
subtitle: `Please contact your ${
|
|
151253
|
+
subtitle: `Please contact your ${Fe.authType === "sm" ? "admin" : "organization owner or admin"} to give you the necessary permissions to update the user task.`
|
|
151263
151254
|
},
|
|
151264
151255
|
Xs
|
|
151265
151256
|
) : o.type === "bpmn:UserTask" ? e?.error(Qo) : e?.error(
|
|
@@ -151280,7 +151271,7 @@ const P_e = Pt(({ element: o }) => {
|
|
|
151280
151271
|
const { prefillData: N, prefillSource: z } = Fa({
|
|
151281
151272
|
element: o,
|
|
151282
151273
|
useCache: !0,
|
|
151283
|
-
processId:
|
|
151274
|
+
processId: Fe.processId
|
|
151284
151275
|
}), L = [
|
|
151285
151276
|
{
|
|
151286
151277
|
label: eg({
|
|
@@ -151391,7 +151382,7 @@ const P_e = Pt(({ element: o }) => {
|
|
|
151391
151382
|
o,
|
|
151392
151383
|
S
|
|
151393
151384
|
), hb({
|
|
151394
|
-
processId:
|
|
151385
|
+
processId: Fe.processId,
|
|
151395
151386
|
elementId: o.id,
|
|
151396
151387
|
variables: S ?? ""
|
|
151397
151388
|
})), _ ? oL(o, e) : (D(j), p(!1));
|
|
@@ -151554,7 +151545,7 @@ const rL = Pt(
|
|
|
151554
151545
|
const n = Ie.state.processInstance, { prefillSource: i } = Fa({
|
|
151555
151546
|
element: e,
|
|
151556
151547
|
useCache: !0,
|
|
151557
|
-
processId:
|
|
151548
|
+
processId: Fe.processId
|
|
151558
151549
|
});
|
|
151559
151550
|
return /* @__PURE__ */ I.jsx(
|
|
151560
151551
|
qO,
|
|
@@ -151576,7 +151567,7 @@ const rL = Pt(
|
|
|
151576
151567
|
renderIcon: () => /* @__PURE__ */ I.jsx(qSt, { color: "white" }),
|
|
151577
151568
|
onClick: async () => {
|
|
151578
151569
|
r({
|
|
151579
|
-
processId:
|
|
151570
|
+
processId: Fe.processId,
|
|
151580
151571
|
isStartEvent: t,
|
|
151581
151572
|
processInstanceKey: n?.key,
|
|
151582
151573
|
signalCandidate: o
|
|
@@ -151600,7 +151591,7 @@ rL.displayName = "BroadcastSignalButton";
|
|
|
151600
151591
|
const B_e = Pt(({ decisionId: o }) => {
|
|
151601
151592
|
const e = XN.state.decisionInstances.find(
|
|
151602
151593
|
(r) => r.decisionId === o
|
|
151603
|
-
), { sanitizedOperateBaseUrl: t, hasLinkToOperate: n } =
|
|
151594
|
+
), { sanitizedOperateBaseUrl: t, hasLinkToOperate: n } = Fe;
|
|
151604
151595
|
if (!n)
|
|
151605
151596
|
return null;
|
|
151606
151597
|
const i = e !== void 0;
|
|
@@ -151783,7 +151774,7 @@ const uWt = "camunda-forms:bpmn:", dWt = async ({
|
|
|
151783
151774
|
return t;
|
|
151784
151775
|
}, V_e = Pt(
|
|
151785
151776
|
({ element: o, userTaskJob: e, processInstanceKey: t }) => {
|
|
151786
|
-
const [n, i] = it(!1), [r, s] = it(!1), a =
|
|
151777
|
+
const [n, i] = it(!1), [r, s] = it(!1), a = Fe.authType, { isCompletingUserTask: l, completeUserTask: p } = pWt({
|
|
151787
151778
|
userTaskJob: e,
|
|
151788
151779
|
element: o,
|
|
151789
151780
|
isSelfManagedEnv: a === "sm"
|
|
@@ -151815,7 +151806,7 @@ const uWt = "camunda-forms:bpmn:", dWt = async ({
|
|
|
151815
151806
|
onClose: () => s(!1),
|
|
151816
151807
|
onSubmit: async (d) => {
|
|
151817
151808
|
s(!1), p({
|
|
151818
|
-
processId:
|
|
151809
|
+
processId: Fe.processId,
|
|
151819
151810
|
processInstanceKey: t,
|
|
151820
151811
|
variables: d ?? "{}"
|
|
151821
151812
|
});
|
|
@@ -151835,7 +151826,7 @@ const uWt = "camunda-forms:bpmn:", dWt = async ({
|
|
|
151835
151826
|
},
|
|
151836
151827
|
onSubmit: async (d) => {
|
|
151837
151828
|
i(!1), p({
|
|
151838
|
-
processId:
|
|
151829
|
+
processId: Fe.processId,
|
|
151839
151830
|
processInstanceKey: t,
|
|
151840
151831
|
variables: JSON.stringify(d)
|
|
151841
151832
|
});
|
|
@@ -153385,7 +153376,7 @@ const TZt = ({
|
|
|
153385
153376
|
width: 100%;
|
|
153386
153377
|
`, LZt = ({ children: o, text: e, align: t }) => e ? /* @__PURE__ */ I.jsx(Kw, { align: t, label: e, children: /* @__PURE__ */ I.jsx("div", { children: o }) }) : o, LN = Pt(
|
|
153387
153378
|
({ title: o, label: e, renderIcon: t, onClick: n, notificationTitle: i }) => {
|
|
153388
|
-
const r = pr(Fo), s =
|
|
153379
|
+
const r = pr(Fo), s = Fe.authType;
|
|
153389
153380
|
return /* @__PURE__ */ I.jsx(LZt, { align: "right", text: o, children: /* @__PURE__ */ I.jsx(
|
|
153390
153381
|
SZt,
|
|
153391
153382
|
{
|
|
@@ -153506,7 +153497,7 @@ const TZt = ({
|
|
|
153506
153497
|
width: 20px;
|
|
153507
153498
|
border: solid 4px var(--icon-bg-color);
|
|
153508
153499
|
`, tRe = Pt(({ element: o }) => {
|
|
153509
|
-
const { authType: e } =
|
|
153500
|
+
const { authType: e } = Fe;
|
|
153510
153501
|
if (e === "sm")
|
|
153511
153502
|
return;
|
|
153512
153503
|
const { connectorElementsWithMissingSecrets: t } = mu;
|
|
@@ -153517,7 +153508,7 @@ const TZt = ({
|
|
|
153517
153508
|
});
|
|
153518
153509
|
tRe.displayName = "ConnectorSecretOverlay";
|
|
153519
153510
|
const nRe = Pt(({ element: o, addOverlay: e }) => {
|
|
153520
|
-
const { instanceKey: t } = Ie.state, { fileProblems: n } =
|
|
153511
|
+
const { instanceKey: t } = Ie.state, { fileProblems: n } = Fe;
|
|
153521
153512
|
if (t)
|
|
153522
153513
|
return;
|
|
153523
153514
|
if (n.find(
|
|
@@ -153589,7 +153580,7 @@ const oCe = "40px", kZt = ge(Jw)`
|
|
|
153589
153580
|
title: "Cluster Unavailable",
|
|
153590
153581
|
onActionButtonClick: () => {
|
|
153591
153582
|
window.open(
|
|
153592
|
-
`${
|
|
153583
|
+
`${Fe.consoleDashboardPageUrl}/cluster/${e}`,
|
|
153593
153584
|
"_blank"
|
|
153594
153585
|
);
|
|
153595
153586
|
},
|
|
@@ -153599,7 +153590,7 @@ const oCe = "40px", kZt = ge(Jw)`
|
|
|
153599
153590
|
});
|
|
153600
153591
|
oRe.displayName = "ClusterUnavailableNotification";
|
|
153601
153592
|
const rRe = Pt(({ FeedbackButton: o }) => {
|
|
153602
|
-
const e =
|
|
153593
|
+
const e = Fe.xmlToDisplay, t = ws(null), n = ws(null), i = Ha.isMovingToken, r = Et.selectableFlowNodeIds, s = ro.state.selection?.flowNodeId, a = Ie.state.instanceKey;
|
|
153603
153594
|
function l() {
|
|
153604
153595
|
return n.current === null && (n.current = new OYt()), n.current;
|
|
153605
153596
|
}
|
|
@@ -153843,7 +153834,7 @@ ge(ii)`
|
|
|
153843
153834
|
const aCe = ge.p`
|
|
153844
153835
|
${Ds.body01};
|
|
153845
153836
|
`, aRe = Pt(
|
|
153846
|
-
({ open: o, fileName: e, fileId: t, onClose: n
|
|
153837
|
+
({ open: o, fileName: e, fileId: t, onClose: n }) => /* @__PURE__ */ I.jsx(
|
|
153847
153838
|
lm,
|
|
153848
153839
|
{
|
|
153849
153840
|
open: o,
|
|
@@ -153858,7 +153849,7 @@ const aCe = ge.p`
|
|
|
153858
153849
|
t ? /* @__PURE__ */ I.jsx(
|
|
153859
153850
|
Pr,
|
|
153860
153851
|
{
|
|
153861
|
-
href: ELe({ fileId: t
|
|
153852
|
+
href: ELe({ fileId: t }),
|
|
153862
153853
|
target: "_blank",
|
|
153863
153854
|
inline: !0,
|
|
153864
153855
|
children: e
|
|
@@ -153948,23 +153939,22 @@ function HZt({
|
|
|
153948
153939
|
};
|
|
153949
153940
|
}
|
|
153950
153941
|
const lRe = Pt(
|
|
153951
|
-
({ processId: o, projectId: e, folderId: t
|
|
153942
|
+
({ processId: o, projectId: e, folderId: t }) => {
|
|
153952
153943
|
const {
|
|
153953
|
-
fileName:
|
|
153954
|
-
fileId:
|
|
153955
|
-
isMigrationCompletedModalVisible:
|
|
153956
|
-
setIsMigrationCompletedModalVisible:
|
|
153944
|
+
fileName: n,
|
|
153945
|
+
fileId: i,
|
|
153946
|
+
isMigrationCompletedModalVisible: r,
|
|
153947
|
+
setIsMigrationCompletedModalVisible: s
|
|
153957
153948
|
} = HZt({ processId: o, projectId: e, folderId: t });
|
|
153958
153949
|
return /* @__PURE__ */ I.jsx(
|
|
153959
153950
|
aRe,
|
|
153960
153951
|
{
|
|
153961
|
-
open:
|
|
153952
|
+
open: r,
|
|
153962
153953
|
onClose: () => {
|
|
153963
|
-
|
|
153954
|
+
s(!1);
|
|
153964
153955
|
},
|
|
153965
|
-
fileName:
|
|
153966
|
-
fileId:
|
|
153967
|
-
isSelfManaged: n
|
|
153956
|
+
fileName: n,
|
|
153957
|
+
fileId: i
|
|
153968
153958
|
}
|
|
153969
153959
|
);
|
|
153970
153960
|
}
|
|
@@ -154008,7 +153998,7 @@ const wJt = ({
|
|
|
154008
153998
|
Ie.setInstanceDetails({
|
|
154009
153999
|
instanceKey: H.instance,
|
|
154010
154000
|
instanceType: "EXISTING_INSTANCE"
|
|
154011
|
-
}),
|
|
154001
|
+
}), Fe.setProcessedFiles(H.processedFiles);
|
|
154012
154002
|
}
|
|
154013
154003
|
const [me, ce] = it(!R), [oe, pe] = it(!1);
|
|
154014
154004
|
Qt(
|
|
@@ -154030,7 +154020,7 @@ const wJt = ({
|
|
|
154030
154020
|
),
|
|
154031
154021
|
[]
|
|
154032
154022
|
), Qt(() => (q === "saas" && H0.init(), Br.init(D?.isReplayScenariosEnabled), () => {
|
|
154033
|
-
q === "saas" && H0.reset(), Ie.reset(), mu.reset(),
|
|
154023
|
+
q === "saas" && H0.reset(), Ie.reset(), mu.reset(), Fe.reset(), Et.reset(), Br.reset(), Wt.reset();
|
|
154034
154024
|
}), [D?.isReplayScenariosEnabled, q]), Qt(() => {
|
|
154035
154025
|
q === "saas" && !ue || (Qn.init({ mixpanelTrack: u, processId: a, diagramId: j }), At.init({
|
|
154036
154026
|
authConfig: o,
|
|
@@ -154048,7 +154038,7 @@ const wJt = ({
|
|
|
154048
154038
|
j,
|
|
154049
154039
|
V
|
|
154050
154040
|
]), Qt(() => {
|
|
154051
|
-
|
|
154041
|
+
Fe.init({
|
|
154052
154042
|
projectId: r,
|
|
154053
154043
|
folderId: s,
|
|
154054
154044
|
processId: a,
|
|
@@ -154116,7 +154106,7 @@ const wJt = ({
|
|
|
154116
154106
|
function Se(H) {
|
|
154117
154107
|
return Du(async () => {
|
|
154118
154108
|
const { processInstances: x, success: k } = await At.fetchInstances(
|
|
154119
|
-
|
|
154109
|
+
Fe.state.processDefinitionKey
|
|
154120
154110
|
);
|
|
154121
154111
|
if (k) {
|
|
154122
154112
|
const Y = x[0];
|
|
@@ -154151,7 +154141,7 @@ const wJt = ({
|
|
|
154151
154141
|
let je = [];
|
|
154152
154142
|
if (ie) {
|
|
154153
154143
|
const cn = await At.fetchInstances(
|
|
154154
|
-
|
|
154144
|
+
Fe.state.processDefinitionKey
|
|
154155
154145
|
);
|
|
154156
154146
|
if (!cn.success)
|
|
154157
154147
|
return { success: !1 };
|
|
@@ -154190,7 +154180,7 @@ const wJt = ({
|
|
|
154190
154180
|
let Y = [];
|
|
154191
154181
|
if (k) {
|
|
154192
154182
|
const ie = await At.fetchInstances(
|
|
154193
|
-
|
|
154183
|
+
Fe.state.processDefinitionKey
|
|
154194
154184
|
);
|
|
154195
154185
|
if (!ie.success)
|
|
154196
154186
|
return { success: !1 };
|
|
@@ -154257,8 +154247,7 @@ const wJt = ({
|
|
|
154257
154247
|
{
|
|
154258
154248
|
processId: a,
|
|
154259
154249
|
projectId: r,
|
|
154260
|
-
folderId: s
|
|
154261
|
-
isSelfManaged: Ue.isSelfManaged
|
|
154250
|
+
folderId: s
|
|
154262
154251
|
}
|
|
154263
154252
|
)
|
|
154264
154253
|
] });
|