@devtron-labs/devtron-fe-common-lib 0.1.8-beta-1 → 0.1.8-beta-3
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/dist/{cssMode-f2041000.js → cssMode-46565917.js} +1 -1
- package/dist/{freemarker2-6d4da3dd.js → freemarker2-30f0b882.js} +1 -1
- package/dist/{handlebars-c6090b95.js → handlebars-7146aa19.js} +1 -1
- package/dist/{html-9b18aef3.js → html-658499e7.js} +1 -1
- package/dist/{htmlMode-b79b819d.js → htmlMode-7460496c.js} +1 -1
- package/dist/{index-a02e8b40.js → index-5dd358b6.js} +281 -281
- package/dist/index.js +1 -1
- package/dist/{javascript-f0049b34.js → javascript-17c071ad.js} +1 -1
- package/dist/{jsonMode-42a677c8.js → jsonMode-9e5d2735.js} +1 -1
- package/dist/{liquid-8059c291.js → liquid-875b774f.js} +1 -1
- package/dist/{mdx-4a7fcdf5.js → mdx-2360dbb7.js} +1 -1
- package/dist/{python-33772baf.js → python-d8f638c7.js} +1 -1
- package/dist/{razor-78c05948.js → razor-eba3bc11.js} +1 -1
- package/dist/{tsMode-f6f13eda.js → tsMode-96aad75e.js} +1 -1
- package/dist/{typescript-15389368.js → typescript-19458c0b.js} +1 -1
- package/dist/{xml-bed45dad.js → xml-e2b971ba.js} +1 -1
- package/dist/{yaml-4c66b731.js → yaml-57fb9693.js} +1 -1
- package/package.json +1 -1
|
@@ -8115,11 +8115,11 @@ const wi = _Ie, Uae = (n = {}) => ({
|
|
|
8115
8115
|
}
|
|
8116
8116
|
);
|
|
8117
8117
|
}, IIe = DIe;
|
|
8118
|
-
var
|
|
8118
|
+
var Hs = /* @__PURE__ */ ((n) => (n.CLEAR_ALL_SELECTIONS = "CLEAR_ALL_SELECTIONS", n.CLEAR_IDENTIFIERS = "CLEAR_IDENTIFIERS", n.SELECT_ALL_ACROSS_PAGES = "SELECT_ALL_ACROSS_PAGES", n.SELECT_ALL_ON_PAGE = "SELECT_ALL_ON_PAGE", n.SELECT_IDENTIFIER = "SELECT_IDENTIFIER", n.CLEAR_IDENTIFIERS_AFTER_ACROSS_SELECTION = "CLEAR_IDENTIFIERS_AFTER_ACROSS_SELECTION", n.CLEAR_SELECTIONS_AND_SELECT_ALL_ACROSS_PAGES = "CLEAR_SELECTIONS_AND_SELECT_ALL_ACROSS_PAGES", n))(Hs || {}), Gae = /* @__PURE__ */ ((n) => (n.OPEN = "OPEN", n.CLOSED = "CLOSED", n))(Gae || {});
|
|
8119
8119
|
const LIe = "bulk-selection-pop-up-menu", s2 = {
|
|
8120
|
-
[
|
|
8121
|
-
[
|
|
8122
|
-
[
|
|
8120
|
+
[Hs.SELECT_ALL_ON_PAGE]: "All on this page",
|
|
8121
|
+
[Hs.SELECT_ALL_ACROSS_PAGES]: "All across pages",
|
|
8122
|
+
[Hs.CLEAR_ALL_SELECTIONS]: "Clear selection(s)"
|
|
8123
8123
|
}, $1 = "*", MIe = (n) => `Invalid action ${n} passed to useBulkSelection`, NIe = "useBulkSelection must be used within BulkSelectionContext", WY = "Selections on other pages are cleared", Qae = _g({
|
|
8124
8124
|
selectedIdentifiers: {},
|
|
8125
8125
|
handleBulkSelection: $d,
|
|
@@ -8151,18 +8151,18 @@ const LIe = "bulk-selection-pop-up-menu", s2 = {
|
|
|
8151
8151
|
}, c = ({ action: g, data: p }) => {
|
|
8152
8152
|
const m = p?.identifierIds ?? [], v = p?.identifierObject ?? {};
|
|
8153
8153
|
switch (g) {
|
|
8154
|
-
case
|
|
8154
|
+
case Hs.CLEAR_ALL_SELECTIONS:
|
|
8155
8155
|
r({});
|
|
8156
8156
|
break;
|
|
8157
|
-
case
|
|
8157
|
+
case Hs.CLEAR_IDENTIFIERS_AFTER_ACROSS_SELECTION: {
|
|
8158
8158
|
xi.info(WY), a(e, m);
|
|
8159
8159
|
break;
|
|
8160
8160
|
}
|
|
8161
|
-
case
|
|
8161
|
+
case Hs.CLEAR_IDENTIFIERS: {
|
|
8162
8162
|
a(i, m);
|
|
8163
8163
|
break;
|
|
8164
8164
|
}
|
|
8165
|
-
case
|
|
8165
|
+
case Hs.SELECT_ALL_ACROSS_PAGES: {
|
|
8166
8166
|
if (s || o() > 0 && t() === Gae.OPEN)
|
|
8167
8167
|
return;
|
|
8168
8168
|
r({
|
|
@@ -8170,16 +8170,16 @@ const LIe = "bulk-selection-pop-up-menu", s2 = {
|
|
|
8170
8170
|
});
|
|
8171
8171
|
break;
|
|
8172
8172
|
}
|
|
8173
|
-
case
|
|
8173
|
+
case Hs.CLEAR_SELECTIONS_AND_SELECT_ALL_ACROSS_PAGES:
|
|
8174
8174
|
r({
|
|
8175
8175
|
[$1]: !0
|
|
8176
8176
|
});
|
|
8177
8177
|
break;
|
|
8178
|
-
case
|
|
8178
|
+
case Hs.SELECT_ALL_ON_PAGE: {
|
|
8179
8179
|
i[$1] && xi.info(WY), l(e);
|
|
8180
8180
|
break;
|
|
8181
8181
|
}
|
|
8182
|
-
case
|
|
8182
|
+
case Hs.SELECT_IDENTIFIER: {
|
|
8183
8183
|
l(v);
|
|
8184
8184
|
break;
|
|
8185
8185
|
}
|
|
@@ -8215,23 +8215,23 @@ const LIe = "bulk-selection-pop-up-menu", s2 = {
|
|
|
8215
8215
|
}, Fd = (n) => /* @__PURE__ */ $.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ...n }, /* @__PURE__ */ $.createElement("g", { fill: "none", fillRule: "evenodd" }, /* @__PURE__ */ $.createElement("path", { fill: "#999", className: "fill-color", fillRule: "nonzero", d: "M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6z" }))), AIe = "data:image/svg+xml;base64,PCEtLQogIC0gQ29weXJpZ2h0IChjKSAyMDI0LiBEZXZ0cm9uIEluYy4KICAtCiAgLSBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgIkxpY2Vuc2UiKTsKICAtIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS4KICAtIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdAogIC0KICAtICAgICBodHRwOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjAKICAtCiAgLSBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlCiAgLSBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiAiQVMgSVMiIEJBU0lTLAogIC0gV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuCiAgLSBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kCiAgLSBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS4KICAtLT4KCjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiM5OTkiIGNsYXNzPSJmaWxsLWNvbG9yIiBmaWxsLXJ1bGU9Im5vbnplcm8iIGQ9Ik03LjQxIDguNTlMMTIgMTMuMTdsNC41OS00LjU4TDE4IDEwbC02IDYtNi02eiIvPgogICAgPC9nPgo8L3N2Zz4K", TIe = (n) => /* @__PURE__ */ $.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ $.createElement("rect", { x: 2, y: 2, width: 12, height: 12, rx: 2, stroke: "#596168", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ $.createElement("path", { d: "M11.2083 5.95801L7.12498 10.0412L5.08331 7.99967", stroke: "#596168", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), EIe = (n) => /* @__PURE__ */ $.createElement("svg", { width: 17, height: 17, viewBox: "0 0 17 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ $.createElement("rect", { x: 2, y: 2, width: 11.2, height: 11.2, rx: 2, stroke: "#596168", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ $.createElement("path", { d: "M15.4667 5.86621V11.4662C15.4667 13.6754 13.6758 15.4662 11.4667 15.4662H5.8667", stroke: "#596168", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ $.createElement("path", { d: "M10.35 5.84961L6.85004 9.34945L5.10004 7.59961", stroke: "#596168", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Ih = (n) => /* @__PURE__ */ $.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", width: 24, height: 24, viewBox: "0 0 24 24", ...n }, /* @__PURE__ */ $.createElement("defs", null, /* @__PURE__ */ $.createElement("path", { id: "a", className: "stroke-color", d: "M18.295 5.705a.997.997 0 0 0-1.41 0L12 10.59 7.115 5.705a.997.997 0 1 0-1.41 1.41L10.59 12l-4.885 4.885a.997.997 0 1 0 1.41 1.41L12 13.41l4.885 4.885a.997.997 0 0 0 1.41-1.41L13.41 12l4.885-4.885a.997.997 0 0 0 0-1.41z" })), /* @__PURE__ */ $.createElement("g", { fill: "none", fillRule: "evenodd" }, /* @__PURE__ */ $.createElement("path", { d: "" }), /* @__PURE__ */ $.createElement("use", { fill: "#999", xlinkHref: "#a" }))), kIe = ({ showPagination: n, disabled: e = !1 }) => {
|
|
8216
8216
|
const { handleBulkSelection: t, isChecked: i, checkboxValue: r, getSelectedIdentifiersCount: s } = xIe(), o = s() > 0, a = [
|
|
8217
8217
|
{
|
|
8218
|
-
locator:
|
|
8219
|
-
label: s2[
|
|
8218
|
+
locator: Hs.SELECT_ALL_ON_PAGE,
|
|
8219
|
+
label: s2[Hs.SELECT_ALL_ON_PAGE],
|
|
8220
8220
|
isSelected: i && r === bd.CHECKED,
|
|
8221
8221
|
icon: TIe
|
|
8222
8222
|
},
|
|
8223
8223
|
...n ? [
|
|
8224
8224
|
{
|
|
8225
|
-
locator:
|
|
8226
|
-
label: s2[
|
|
8225
|
+
locator: Hs.SELECT_ALL_ACROSS_PAGES,
|
|
8226
|
+
label: s2[Hs.SELECT_ALL_ACROSS_PAGES],
|
|
8227
8227
|
isSelected: i && r === bd.BULK_CHECKED,
|
|
8228
8228
|
icon: EIe
|
|
8229
8229
|
}
|
|
8230
8230
|
] : [],
|
|
8231
8231
|
...o ? [
|
|
8232
8232
|
{
|
|
8233
|
-
locator:
|
|
8234
|
-
label: s2[
|
|
8233
|
+
locator: Hs.CLEAR_ALL_SELECTIONS,
|
|
8234
|
+
label: s2[Hs.CLEAR_ALL_SELECTIONS],
|
|
8235
8235
|
isSelected: !1,
|
|
8236
8236
|
icon: Ih,
|
|
8237
8237
|
iconClass: "icon-use-fill-n6"
|
|
@@ -10147,7 +10147,7 @@ const fb = {
|
|
|
10147
10147
|
fromCreateView: e
|
|
10148
10148
|
});
|
|
10149
10149
|
} catch (t) {
|
|
10150
|
-
throw
|
|
10150
|
+
throw to(t), t;
|
|
10151
10151
|
}
|
|
10152
10152
|
}, ale = (n) => {
|
|
10153
10153
|
const e = n.configurations, i = Object.keys(e).reduce((s, o) => {
|
|
@@ -10429,7 +10429,7 @@ const fb = {
|
|
|
10429
10429
|
try {
|
|
10430
10430
|
e ? await IMe({ name: n, profileInput: l }) : await LMe({ profileInput: l }), f(!1), xi.success(ls.getSubmitSuccessMessage(l.name, e)), t ? t() : a();
|
|
10431
10431
|
} catch (b) {
|
|
10432
|
-
|
|
10432
|
+
to(b), f(!1);
|
|
10433
10433
|
}
|
|
10434
10434
|
}
|
|
10435
10435
|
};
|
|
@@ -11101,7 +11101,7 @@ const JMe = (n, e = !1) => e ? btoa(n) : atob(n), JY = (n, e = !1) => Object.key
|
|
|
11101
11101
|
const { result: n } = await qn(Li.ENVIRONMENT_LIST_MIN);
|
|
11102
11102
|
return n ? $Me(n) : [];
|
|
11103
11103
|
} catch (n) {
|
|
11104
|
-
return
|
|
11104
|
+
return to(n), n;
|
|
11105
11105
|
}
|
|
11106
11106
|
}, iNe = ({
|
|
11107
11107
|
handleEnvironmentChange: n,
|
|
@@ -12455,7 +12455,7 @@ const txe = {
|
|
|
12455
12455
|
[go.INITIATING]: "initiating",
|
|
12456
12456
|
[go.QUEUED]: "queued"
|
|
12457
12457
|
};
|
|
12458
|
-
var
|
|
12458
|
+
var zs = /* @__PURE__ */ ((n) => (n.Degraded = "degraded", n.Healthy = "healthy", n.Progressing = "progressing", n.Missing = "missing", n.Suspended = "suspended", n.Unknown = "unknown", n))(zs || {});
|
|
12459
12459
|
const hG = {
|
|
12460
12460
|
missing: 1,
|
|
12461
12461
|
degraded: 2,
|
|
@@ -12994,7 +12994,7 @@ const hG = {
|
|
|
12994
12994
|
const N = await (await r()).blob(), L = document.createElement("a");
|
|
12995
12995
|
L.href = URL.createObjectURL(N), L.download = `${w || b}.zip`, L.click();
|
|
12996
12996
|
} catch (I) {
|
|
12997
|
-
|
|
12997
|
+
to(I);
|
|
12998
12998
|
}
|
|
12999
12999
|
}
|
|
13000
13000
|
return n.toLowerCase() === go.RUNNING || n.toLowerCase() === go.STARTING ? /* @__PURE__ */ C.jsx(wxe, {}) : a && !t ? /* @__PURE__ */ C.jsxs("div", { className: "flex column p-24 w-100 h-100", children: [
|
|
@@ -13864,21 +13864,21 @@ const Qxe = (n, e) => {
|
|
|
13864
13864
|
let r = 0, s = 0, o = 0, a = 0, l = 0;
|
|
13865
13865
|
n?.forEach((u) => {
|
|
13866
13866
|
const h = u.health?.status;
|
|
13867
|
-
h?.toLowerCase() ===
|
|
13867
|
+
h?.toLowerCase() === zs.Healthy ? s += 1 : h?.toLowerCase() === zs.Degraded ? a += 1 : h?.toLowerCase() === zs.Progressing ? o += 1 : h?.toLowerCase() === zs.Missing && (l += 1), r += 1;
|
|
13868
13868
|
});
|
|
13869
13869
|
const c = [
|
|
13870
13870
|
{ status: "all", count: r, isSelected: t == "all" },
|
|
13871
|
-
{ status:
|
|
13872
|
-
{ status:
|
|
13871
|
+
{ status: zs.Missing, count: l, isSelected: zs.Missing == t },
|
|
13872
|
+
{ status: zs.Degraded, count: a, isSelected: zs.Degraded == t },
|
|
13873
13873
|
{
|
|
13874
|
-
status:
|
|
13874
|
+
status: zs.Progressing,
|
|
13875
13875
|
count: o,
|
|
13876
|
-
isSelected:
|
|
13876
|
+
isSelected: zs.Progressing == t
|
|
13877
13877
|
},
|
|
13878
|
-
{ status:
|
|
13878
|
+
{ status: zs.Healthy, count: s, isSelected: zs.Healthy == t }
|
|
13879
13879
|
];
|
|
13880
13880
|
nt(() => {
|
|
13881
|
-
t ===
|
|
13881
|
+
t === zs.Healthy && s === 0 || t === zs.Degraded && a === 0 || t === zs.Progressing && o === 0 || t === zs.Missing && l === 0 ? i("all") : e ? e(t) : Rz.updateFilterType(t.toUpperCase());
|
|
13882
13882
|
}, [n, t]);
|
|
13883
13883
|
const d = (u) => {
|
|
13884
13884
|
i(u.target.value);
|
|
@@ -14005,7 +14005,7 @@ const Qxe = (n, e) => {
|
|
|
14005
14005
|
try {
|
|
14006
14006
|
const p = await xxe({ appId: i, envId: r });
|
|
14007
14007
|
} catch (p) {
|
|
14008
|
-
|
|
14008
|
+
to(p);
|
|
14009
14009
|
}
|
|
14010
14010
|
}
|
|
14011
14011
|
const u = () => {
|
|
@@ -14506,7 +14506,7 @@ const nAe = ({
|
|
|
14506
14506
|
}
|
|
14507
14507
|
);
|
|
14508
14508
|
} catch (S) {
|
|
14509
|
-
|
|
14509
|
+
to(S), i(!1);
|
|
14510
14510
|
}
|
|
14511
14511
|
}, [d, u, h]);
|
|
14512
14512
|
const b = () => /* @__PURE__ */ C.jsx(
|
|
@@ -14657,7 +14657,7 @@ function Gf(n, e = (t) => t) {
|
|
|
14657
14657
|
function Rle(n, e) {
|
|
14658
14658
|
return n.length > 0 ? n[0] : e;
|
|
14659
14659
|
}
|
|
14660
|
-
function
|
|
14660
|
+
function Ws(n, e) {
|
|
14661
14661
|
let t = typeof e == "number" ? n : 0;
|
|
14662
14662
|
typeof e == "number" ? t = n : (t = 0, e = n);
|
|
14663
14663
|
const i = [];
|
|
@@ -14811,10 +14811,10 @@ class Td {
|
|
|
14811
14811
|
}
|
|
14812
14812
|
Td.empty = new Td((n) => {
|
|
14813
14813
|
});
|
|
14814
|
-
function
|
|
14814
|
+
function Xs(n) {
|
|
14815
14815
|
return typeof n == "string";
|
|
14816
14816
|
}
|
|
14817
|
-
function
|
|
14817
|
+
function Qs(n) {
|
|
14818
14818
|
return typeof n == "object" && n !== null && !Array.isArray(n) && !(n instanceof RegExp) && !(n instanceof Date);
|
|
14819
14819
|
}
|
|
14820
14820
|
function mAe(n) {
|
|
@@ -14857,7 +14857,7 @@ function vAe(n, e) {
|
|
|
14857
14857
|
bAe(n[i], e[i]);
|
|
14858
14858
|
}
|
|
14859
14859
|
function bAe(n, e) {
|
|
14860
|
-
if (
|
|
14860
|
+
if (Xs(e)) {
|
|
14861
14861
|
if (typeof n !== e)
|
|
14862
14862
|
throw new Error(`argument does not match constraint: typeof ${e}`);
|
|
14863
14863
|
} else if (my(e)) {
|
|
@@ -14910,7 +14910,7 @@ function g9(n, e, t) {
|
|
|
14910
14910
|
r.push(g9(s, e, t));
|
|
14911
14911
|
return r;
|
|
14912
14912
|
}
|
|
14913
|
-
if (
|
|
14913
|
+
if (Qs(n)) {
|
|
14914
14914
|
if (t.has(n))
|
|
14915
14915
|
throw new Error("Cannot clone recursive data-structure");
|
|
14916
14916
|
t.add(n);
|
|
@@ -14922,8 +14922,8 @@ function g9(n, e, t) {
|
|
|
14922
14922
|
return n;
|
|
14923
14923
|
}
|
|
14924
14924
|
function cA(n, e, t = !0) {
|
|
14925
|
-
return
|
|
14926
|
-
i in n ? t && (
|
|
14925
|
+
return Qs(n) ? (Qs(e) && Object.keys(e).forEach((i) => {
|
|
14926
|
+
i in n ? t && (Qs(n[i]) && Qs(e[i]) ? cA(n[i], e[i], t) : n[i] = e[i]) : n[i] = e[i];
|
|
14927
14927
|
}), n) : e;
|
|
14928
14928
|
}
|
|
14929
14929
|
function pa(n, e) {
|
|
@@ -14992,18 +14992,18 @@ var b2;
|
|
|
14992
14992
|
const ev = "en";
|
|
14993
14993
|
let yM = !1, wM = !1, mL = !1, Vle = !1, Bz = !1, zz = !1, Hle = !1, MD, vL = ev, DG = ev, DAe, Kl;
|
|
14994
14994
|
const wl = typeof self == "object" ? self : typeof global == "object" ? global : {};
|
|
14995
|
-
let
|
|
14996
|
-
typeof wl.vscode < "u" && typeof wl.vscode.process < "u" ?
|
|
14997
|
-
const IAe = typeof ((b2 =
|
|
14995
|
+
let Vs;
|
|
14996
|
+
typeof wl.vscode < "u" && typeof wl.vscode.process < "u" ? Vs = wl.vscode.process : typeof process < "u" && (Vs = process);
|
|
14997
|
+
const IAe = typeof ((b2 = Vs?.versions) === null || b2 === void 0 ? void 0 : b2.electron) == "string", LAe = IAe && Vs?.type === "renderer";
|
|
14998
14998
|
if (typeof navigator == "object" && !LAe)
|
|
14999
14999
|
Kl = navigator.userAgent, yM = Kl.indexOf("Windows") >= 0, wM = Kl.indexOf("Macintosh") >= 0, zz = (Kl.indexOf("Macintosh") >= 0 || Kl.indexOf("iPad") >= 0 || Kl.indexOf("iPhone") >= 0) && !!navigator.maxTouchPoints && navigator.maxTouchPoints > 0, mL = Kl.indexOf("Linux") >= 0, Hle = Kl?.indexOf("Mobi") >= 0, Bz = !0, // This call _must_ be done in the file that calls `nls.getConfiguredDefaultLocale`
|
|
15000
15000
|
// to ensure that the NLS AMD Loader plugin has been loaded and configured.
|
|
15001
15001
|
// This is because the loader plugin decides what the default locale is based on
|
|
15002
15002
|
// how it's able to resolve the strings.
|
|
15003
15003
|
_({ key: "ensureLoaderPluginIsLoaded", comment: ["{Locked}"] }, "_"), MD = ev, vL = MD, DG = navigator.language;
|
|
15004
|
-
else if (typeof
|
|
15005
|
-
yM =
|
|
15006
|
-
const n =
|
|
15004
|
+
else if (typeof Vs == "object") {
|
|
15005
|
+
yM = Vs.platform === "win32", wM = Vs.platform === "darwin", mL = Vs.platform === "linux", mL && Vs.env.SNAP && Vs.env.SNAP_REVISION, Vs.env.CI || Vs.env.BUILD_ARTIFACTSTAGINGDIRECTORY, MD = ev, vL = ev;
|
|
15006
|
+
const n = Vs.env.VSCODE_NLS_CONFIG;
|
|
15007
15007
|
if (n)
|
|
15008
15008
|
try {
|
|
15009
15009
|
const e = JSON.parse(n), t = e.availableLanguages["*"];
|
|
@@ -15161,7 +15161,7 @@ let rr = class p9 {
|
|
|
15161
15161
|
}
|
|
15162
15162
|
};
|
|
15163
15163
|
rr.Undefined = new rr(void 0);
|
|
15164
|
-
class
|
|
15164
|
+
class qs {
|
|
15165
15165
|
constructor() {
|
|
15166
15166
|
this._first = rr.Undefined, this._last = rr.Undefined, this._size = 0;
|
|
15167
15167
|
}
|
|
@@ -15247,7 +15247,7 @@ function qle(n) {
|
|
|
15247
15247
|
}
|
|
15248
15248
|
return e.lastIndex = 0, e;
|
|
15249
15249
|
}
|
|
15250
|
-
const Kle = new
|
|
15250
|
+
const Kle = new qs();
|
|
15251
15251
|
Kle.unshift({
|
|
15252
15252
|
maxLen: 1e3,
|
|
15253
15253
|
windowSize: 15,
|
|
@@ -18495,7 +18495,7 @@ class $le {
|
|
|
18495
18495
|
}
|
|
18496
18496
|
class rm extends he {
|
|
18497
18497
|
constructor(e) {
|
|
18498
|
-
super(e), this._isPaused = 0, this._eventQueue = new
|
|
18498
|
+
super(e), this._isPaused = 0, this._eventQueue = new qs(), this._mergeFn = e?.merge;
|
|
18499
18499
|
}
|
|
18500
18500
|
pause() {
|
|
18501
18501
|
this._isPaused++;
|
|
@@ -20264,7 +20264,7 @@ let pe = class ep {
|
|
|
20264
20264
|
};
|
|
20265
20265
|
const C9 = /* @__PURE__ */ Object.create(null);
|
|
20266
20266
|
function P(n, e) {
|
|
20267
|
-
if (
|
|
20267
|
+
if (Xs(e)) {
|
|
20268
20268
|
const t = C9[e];
|
|
20269
20269
|
if (t === void 0)
|
|
20270
20270
|
throw new Error(`${n} references an unknown codicon: ${e}`);
|
|
@@ -21149,7 +21149,7 @@ var NM;
|
|
|
21149
21149
|
}
|
|
21150
21150
|
n.toIcon = t;
|
|
21151
21151
|
})(NM || (NM = {}));
|
|
21152
|
-
class
|
|
21152
|
+
class Ks {
|
|
21153
21153
|
/**
|
|
21154
21154
|
* Returns a {@link FoldingRangeKind} for the given value.
|
|
21155
21155
|
*
|
|
@@ -21158,13 +21158,13 @@ class Zs {
|
|
|
21158
21158
|
static fromValue(e) {
|
|
21159
21159
|
switch (e) {
|
|
21160
21160
|
case "comment":
|
|
21161
|
-
return
|
|
21161
|
+
return Ks.Comment;
|
|
21162
21162
|
case "imports":
|
|
21163
|
-
return
|
|
21163
|
+
return Ks.Imports;
|
|
21164
21164
|
case "region":
|
|
21165
|
-
return
|
|
21165
|
+
return Ks.Region;
|
|
21166
21166
|
}
|
|
21167
|
-
return new
|
|
21167
|
+
return new Ks(e);
|
|
21168
21168
|
}
|
|
21169
21169
|
/**
|
|
21170
21170
|
* Creates a new {@link FoldingRangeKind}.
|
|
@@ -21175,9 +21175,9 @@ class Zs {
|
|
|
21175
21175
|
this.value = e;
|
|
21176
21176
|
}
|
|
21177
21177
|
}
|
|
21178
|
-
|
|
21179
|
-
|
|
21180
|
-
|
|
21178
|
+
Ks.Comment = new Ks("comment");
|
|
21179
|
+
Ks.Imports = new Ks("imports");
|
|
21180
|
+
Ks.Region = new Ks("region");
|
|
21181
21181
|
var w9;
|
|
21182
21182
|
(function(n) {
|
|
21183
21183
|
function e(t) {
|
|
@@ -22378,7 +22378,7 @@ var _b = globalThis && globalThis.__awaiter || function(n, e, t, i) {
|
|
|
22378
22378
|
c((i = i.apply(n, e || [])).next());
|
|
22379
22379
|
});
|
|
22380
22380
|
};
|
|
22381
|
-
class
|
|
22381
|
+
class Js extends ye {
|
|
22382
22382
|
constructor(e, t = "", i = "", r = !0, s) {
|
|
22383
22383
|
super(), this._onDidChange = this._register(new he()), this.onDidChange = this._onDidChange.event, this._enabled = !0, this._id = e, this._label = t, this._cssClass = i, this._enabled = r, this._actionCallback = s;
|
|
22384
22384
|
}
|
|
@@ -22491,7 +22491,7 @@ class yb {
|
|
|
22491
22491
|
});
|
|
22492
22492
|
}
|
|
22493
22493
|
}
|
|
22494
|
-
class hA extends
|
|
22494
|
+
class hA extends Js {
|
|
22495
22495
|
constructor() {
|
|
22496
22496
|
super(hA.ID, _("submenu.empty", "(empty)"), void 0, !1);
|
|
22497
22497
|
}
|
|
@@ -22596,7 +22596,7 @@ const En = Ut("commandService"), ni = new class {
|
|
|
22596
22596
|
}
|
|
22597
22597
|
const { id: t } = n;
|
|
22598
22598
|
let i = this._commands.get(t);
|
|
22599
|
-
i || (i = new
|
|
22599
|
+
i || (i = new qs(), this._commands.set(t, i));
|
|
22600
22600
|
const r = i.unshift(n), s = Ct(() => {
|
|
22601
22601
|
r();
|
|
22602
22602
|
const o = this._commands.get(t);
|
|
@@ -22965,7 +22965,7 @@ let Ice = class U_ {
|
|
|
22965
22965
|
const e = this._peek();
|
|
22966
22966
|
switch (e.type) {
|
|
22967
22967
|
case 11:
|
|
22968
|
-
return this._advance(),
|
|
22968
|
+
return this._advance(), $s.INSTANCE;
|
|
22969
22969
|
case 12:
|
|
22970
22970
|
return this._advance(), _o.INSTANCE;
|
|
22971
22971
|
case 0: {
|
|
@@ -23180,7 +23180,7 @@ Received: '{1}'.`, e, cp.getLexeme(t)), s = t.offset, o = cp.getLexeme(t);
|
|
|
23180
23180
|
Ice._parseError = new Error();
|
|
23181
23181
|
class xe {
|
|
23182
23182
|
static false() {
|
|
23183
|
-
return
|
|
23183
|
+
return $s.INSTANCE;
|
|
23184
23184
|
}
|
|
23185
23185
|
static true() {
|
|
23186
23186
|
return _o.INSTANCE;
|
|
@@ -23224,7 +23224,7 @@ function QEe(n, e) {
|
|
|
23224
23224
|
function SC(n, e) {
|
|
23225
23225
|
return n.cmp(e);
|
|
23226
23226
|
}
|
|
23227
|
-
class
|
|
23227
|
+
class $s {
|
|
23228
23228
|
constructor() {
|
|
23229
23229
|
this.type = 0;
|
|
23230
23230
|
}
|
|
@@ -23250,7 +23250,7 @@ class eo {
|
|
|
23250
23250
|
return _o.INSTANCE;
|
|
23251
23251
|
}
|
|
23252
23252
|
}
|
|
23253
|
-
|
|
23253
|
+
$s.INSTANCE = new $s();
|
|
23254
23254
|
class _o {
|
|
23255
23255
|
constructor() {
|
|
23256
23256
|
this.type = 1;
|
|
@@ -23274,14 +23274,14 @@ class _o {
|
|
|
23274
23274
|
return [];
|
|
23275
23275
|
}
|
|
23276
23276
|
negate() {
|
|
23277
|
-
return
|
|
23277
|
+
return $s.INSTANCE;
|
|
23278
23278
|
}
|
|
23279
23279
|
}
|
|
23280
23280
|
_o.INSTANCE = new _o();
|
|
23281
23281
|
class Vm {
|
|
23282
23282
|
static create(e, t = null) {
|
|
23283
23283
|
const i = Ls.get(e);
|
|
23284
|
-
return typeof i == "boolean" ? i ? _o.INSTANCE :
|
|
23284
|
+
return typeof i == "boolean" ? i ? _o.INSTANCE : $s.INSTANCE : new Vm(e, t);
|
|
23285
23285
|
}
|
|
23286
23286
|
constructor(e, t) {
|
|
23287
23287
|
this.key = e, this.negated = t, this.type = 2;
|
|
@@ -23294,7 +23294,7 @@ class Vm {
|
|
|
23294
23294
|
}
|
|
23295
23295
|
substituteConstants() {
|
|
23296
23296
|
const e = Ls.get(this.key);
|
|
23297
|
-
return typeof e == "boolean" ? e ? _o.INSTANCE :
|
|
23297
|
+
return typeof e == "boolean" ? e ? _o.INSTANCE : $s.INSTANCE : this;
|
|
23298
23298
|
}
|
|
23299
23299
|
evaluate(e) {
|
|
23300
23300
|
return !!e.getValue(this.key);
|
|
@@ -23314,7 +23314,7 @@ class f1 {
|
|
|
23314
23314
|
if (typeof t == "boolean")
|
|
23315
23315
|
return t ? Vm.create(e, i) : Hm.create(e, i);
|
|
23316
23316
|
const r = Ls.get(e);
|
|
23317
|
-
return typeof r == "boolean" ? t === (r ? "true" : "false") ? _o.INSTANCE :
|
|
23317
|
+
return typeof r == "boolean" ? t === (r ? "true" : "false") ? _o.INSTANCE : $s.INSTANCE : new f1(e, t, i);
|
|
23318
23318
|
}
|
|
23319
23319
|
constructor(e, t, i) {
|
|
23320
23320
|
this.key = e, this.value = t, this.negated = i, this.type = 4;
|
|
@@ -23329,7 +23329,7 @@ class f1 {
|
|
|
23329
23329
|
const e = Ls.get(this.key);
|
|
23330
23330
|
if (typeof e == "boolean") {
|
|
23331
23331
|
const t = e ? "true" : "false";
|
|
23332
|
-
return this.value === t ? _o.INSTANCE :
|
|
23332
|
+
return this.value === t ? _o.INSTANCE : $s.INSTANCE;
|
|
23333
23333
|
}
|
|
23334
23334
|
return this;
|
|
23335
23335
|
}
|
|
@@ -23410,7 +23410,7 @@ class pA {
|
|
|
23410
23410
|
if (typeof t == "boolean")
|
|
23411
23411
|
return t ? Hm.create(e, i) : Vm.create(e, i);
|
|
23412
23412
|
const r = Ls.get(e);
|
|
23413
|
-
return typeof r == "boolean" ? t === (r ? "true" : "false") ?
|
|
23413
|
+
return typeof r == "boolean" ? t === (r ? "true" : "false") ? $s.INSTANCE : _o.INSTANCE : new pA(e, t, i);
|
|
23414
23414
|
}
|
|
23415
23415
|
constructor(e, t, i) {
|
|
23416
23416
|
this.key = e, this.value = t, this.negated = i, this.type = 5;
|
|
@@ -23425,7 +23425,7 @@ class pA {
|
|
|
23425
23425
|
const e = Ls.get(this.key);
|
|
23426
23426
|
if (typeof e == "boolean") {
|
|
23427
23427
|
const t = e ? "true" : "false";
|
|
23428
|
-
return this.value === t ?
|
|
23428
|
+
return this.value === t ? $s.INSTANCE : _o.INSTANCE;
|
|
23429
23429
|
}
|
|
23430
23430
|
return this;
|
|
23431
23431
|
}
|
|
@@ -23445,7 +23445,7 @@ class pA {
|
|
|
23445
23445
|
class Hm {
|
|
23446
23446
|
static create(e, t = null) {
|
|
23447
23447
|
const i = Ls.get(e);
|
|
23448
|
-
return typeof i == "boolean" ? i ?
|
|
23448
|
+
return typeof i == "boolean" ? i ? $s.INSTANCE : _o.INSTANCE : new Hm(e, t);
|
|
23449
23449
|
}
|
|
23450
23450
|
constructor(e, t) {
|
|
23451
23451
|
this.key = e, this.negated = t, this.type = 3;
|
|
@@ -23458,7 +23458,7 @@ class Hm {
|
|
|
23458
23458
|
}
|
|
23459
23459
|
substituteConstants() {
|
|
23460
23460
|
const e = Ls.get(this.key);
|
|
23461
|
-
return typeof e == "boolean" ? e ?
|
|
23461
|
+
return typeof e == "boolean" ? e ? $s.INSTANCE : _o.INSTANCE : this;
|
|
23462
23462
|
}
|
|
23463
23463
|
evaluate(e) {
|
|
23464
23464
|
return !e.getValue(this.key);
|
|
@@ -23478,7 +23478,7 @@ function mA(n, e) {
|
|
|
23478
23478
|
const t = parseFloat(n);
|
|
23479
23479
|
isNaN(t) || (n = t);
|
|
23480
23480
|
}
|
|
23481
|
-
return typeof n == "string" || typeof n == "number" ? e(n) :
|
|
23481
|
+
return typeof n == "string" || typeof n == "number" ? e(n) : $s.INSTANCE;
|
|
23482
23482
|
}
|
|
23483
23483
|
class vA {
|
|
23484
23484
|
static create(e, t, i = null) {
|
|
@@ -23732,7 +23732,7 @@ class Dp {
|
|
|
23732
23732
|
continue;
|
|
23733
23733
|
}
|
|
23734
23734
|
if (o.type === 0)
|
|
23735
|
-
return
|
|
23735
|
+
return $s.INSTANCE;
|
|
23736
23736
|
if (o.type === 6) {
|
|
23737
23737
|
r.push(...o.expr);
|
|
23738
23738
|
continue;
|
|
@@ -23763,7 +23763,7 @@ class Dp {
|
|
|
23763
23763
|
for (let o = 0; o < r.length; o++)
|
|
23764
23764
|
for (let a = o + 1; a < r.length; a++)
|
|
23765
23765
|
if (r[o].negate().equals(r[a]))
|
|
23766
|
-
return
|
|
23766
|
+
return $s.INSTANCE;
|
|
23767
23767
|
if (r.length === 1)
|
|
23768
23768
|
return r[0];
|
|
23769
23769
|
}
|
|
@@ -23851,7 +23851,7 @@ class Fu {
|
|
|
23851
23851
|
}
|
|
23852
23852
|
}
|
|
23853
23853
|
if (r.length === 0 && s)
|
|
23854
|
-
return
|
|
23854
|
+
return $s.INSTANCE;
|
|
23855
23855
|
r.sort(SC);
|
|
23856
23856
|
}
|
|
23857
23857
|
if (r.length !== 0) {
|
|
@@ -24039,7 +24039,7 @@ class ZEe {
|
|
|
24039
24039
|
this.data = /* @__PURE__ */ new Map();
|
|
24040
24040
|
}
|
|
24041
24041
|
add(e, t) {
|
|
24042
|
-
D2(
|
|
24042
|
+
D2(Xs(e)), D2(Qs(t)), D2(!this.data.has(e), "There is already an extension with this id"), this.data.set(e, t);
|
|
24043
24043
|
}
|
|
24044
24044
|
as(e) {
|
|
24045
24045
|
return this.data.get(e) || null;
|
|
@@ -24048,7 +24048,7 @@ class ZEe {
|
|
|
24048
24048
|
const mn = new ZEe();
|
|
24049
24049
|
class oW {
|
|
24050
24050
|
constructor() {
|
|
24051
|
-
this._coreKeybindings = new
|
|
24051
|
+
this._coreKeybindings = new qs(), this._extensionKeybindings = [], this._cachedMergedKeybindings = null;
|
|
24052
24052
|
}
|
|
24053
24053
|
/**
|
|
24054
24054
|
* Take current platform into account and reduce to primary & secondary.
|
|
@@ -24334,7 +24334,7 @@ const Ur = new class {
|
|
|
24334
24334
|
}
|
|
24335
24335
|
appendMenuItem(n, e) {
|
|
24336
24336
|
let t = this._menuItems.get(n);
|
|
24337
|
-
t || (t = new
|
|
24337
|
+
t || (t = new qs(), this._menuItems.set(n, t));
|
|
24338
24338
|
const i = t.push(e);
|
|
24339
24339
|
return this._onDidChangeMenu.fire(Bu.for(n)), Ct(() => {
|
|
24340
24340
|
i(), this._onDidChangeMenu.fire(Bu.for(n));
|
|
@@ -25704,13 +25704,13 @@ Pe.SVG = function(n, e, ...t) {
|
|
|
25704
25704
|
return Yce(My.SVG, n, e, ...t);
|
|
25705
25705
|
};
|
|
25706
25706
|
function q2e(n, ...e) {
|
|
25707
|
-
n ? Ao(...e) :
|
|
25707
|
+
n ? Ao(...e) : Us(...e);
|
|
25708
25708
|
}
|
|
25709
25709
|
function Ao(...n) {
|
|
25710
25710
|
for (const e of n)
|
|
25711
25711
|
e.style.display = "", e.removeAttribute("aria-hidden");
|
|
25712
25712
|
}
|
|
25713
|
-
function
|
|
25713
|
+
function Us(...n) {
|
|
25714
25714
|
for (const e of n)
|
|
25715
25715
|
e.style.display = "none", e.setAttribute("aria-hidden", "true");
|
|
25716
25716
|
}
|
|
@@ -27890,7 +27890,7 @@ class zke {
|
|
|
27890
27890
|
description: _("defaultLanguageConfiguration.description", "Configure settings to be overridden for the {0} language.", u),
|
|
27891
27891
|
$ref: s_,
|
|
27892
27892
|
defaultDefaultValue: d,
|
|
27893
|
-
source:
|
|
27893
|
+
source: Xs(o) ? void 0 : o,
|
|
27894
27894
|
defaultValueSource: o
|
|
27895
27895
|
};
|
|
27896
27896
|
r.push(...FM(a)), this.configurationProperties[a] = h, this.defaultLanguageConfigurationOverridesNode.properties[a] = h;
|
|
@@ -34774,7 +34774,7 @@ var JOe = globalThis && globalThis.__decorate || function(n, e, t, i) {
|
|
|
34774
34774
|
})(Ri || (Ri = {}));
|
|
34775
34775
|
class Pi extends ye {
|
|
34776
34776
|
constructor() {
|
|
34777
|
-
super(), this.dispatched = !1, this.targets = new
|
|
34777
|
+
super(), this.dispatched = !1, this.targets = new qs(), this.ignoreTargets = new qs(), this.activeTouches = {}, this.handle = null, this._lastSetTapCountTime = 0, this._register(Ne(document, "touchstart", (e) => this.onTouchStart(e), { passive: !1 })), this._register(Ne(document, "touchend", (e) => this.onTouchEnd(e))), this._register(Ne(document, "touchmove", (e) => this.onTouchMove(e), { passive: !1 }));
|
|
34778
34778
|
}
|
|
34779
34779
|
static addTarget(e) {
|
|
34780
34780
|
if (!Pi.isTouchDevice())
|
|
@@ -40583,10 +40583,10 @@ class Or {
|
|
|
40583
40583
|
var JM;
|
|
40584
40584
|
(function(n) {
|
|
40585
40585
|
const e = function(i) {
|
|
40586
|
-
if (!
|
|
40586
|
+
if (!Qs(i))
|
|
40587
40587
|
return !1;
|
|
40588
40588
|
const r = i;
|
|
40589
|
-
return !(!
|
|
40589
|
+
return !(!Xs(r.to) || !Eo(r.select) && !Ble(r.select) || !Eo(r.by) && !Xs(r.by) || !Eo(r.value) && !Qf(r.value));
|
|
40590
40590
|
};
|
|
40591
40591
|
n.description = {
|
|
40592
40592
|
description: "Move cursor to a logical position in the view",
|
|
@@ -41746,10 +41746,10 @@ class xn extends Tr {
|
|
|
41746
41746
|
var $r;
|
|
41747
41747
|
(function(n) {
|
|
41748
41748
|
const e = function(i) {
|
|
41749
|
-
if (!
|
|
41749
|
+
if (!Qs(i))
|
|
41750
41750
|
return !1;
|
|
41751
41751
|
const r = i;
|
|
41752
|
-
return !(!
|
|
41752
|
+
return !(!Xs(r.to) || !Eo(r.by) && !Xs(r.by) || !Eo(r.value) && !Qf(r.value) || !Eo(r.revealCursor) && !Ble(r.revealCursor));
|
|
41753
41753
|
};
|
|
41754
41754
|
n.description = {
|
|
41755
41755
|
description: "Scroll editor in the given direction",
|
|
@@ -41849,10 +41849,10 @@ var $r;
|
|
|
41849
41849
|
var gv;
|
|
41850
41850
|
(function(n) {
|
|
41851
41851
|
const e = function(t) {
|
|
41852
|
-
if (!
|
|
41852
|
+
if (!Qs(t))
|
|
41853
41853
|
return !1;
|
|
41854
41854
|
const i = t;
|
|
41855
|
-
return !(!Qf(i.lineNumber) && !
|
|
41855
|
+
return !(!Qf(i.lineNumber) && !Xs(i.lineNumber) || !Eo(i.at) && !Xs(i.at));
|
|
41856
41856
|
};
|
|
41857
41857
|
n.description = {
|
|
41858
41858
|
description: "Reveal the given line at the given logical position",
|
|
@@ -48767,7 +48767,7 @@ Qy.zero = new Qy(0, 0);
|
|
|
48767
48767
|
function p6e(n, e, t, i) {
|
|
48768
48768
|
return n !== t ? Un(t - n, i) : Un(0, i - e);
|
|
48769
48769
|
}
|
|
48770
|
-
const
|
|
48770
|
+
const Zs = 0;
|
|
48771
48771
|
function tN(n) {
|
|
48772
48772
|
return n === 0;
|
|
48773
48773
|
}
|
|
@@ -48787,7 +48787,7 @@ function Ln(n, e) {
|
|
|
48787
48787
|
return e >= ua && (t = t - n % ua), t;
|
|
48788
48788
|
}
|
|
48789
48789
|
function v6e(n, e) {
|
|
48790
|
-
return n.reduce((t, i) => Ln(t, e(i)),
|
|
48790
|
+
return n.reduce((t, i) => Ln(t, e(i)), Zs);
|
|
48791
48791
|
}
|
|
48792
48792
|
function mue(n, e) {
|
|
48793
48793
|
return n === e;
|
|
@@ -48795,7 +48795,7 @@ function mue(n, e) {
|
|
|
48795
48795
|
function qy(n, e) {
|
|
48796
48796
|
const t = n, i = e;
|
|
48797
48797
|
if (i - t <= 0)
|
|
48798
|
-
return
|
|
48798
|
+
return Zs;
|
|
48799
48799
|
const s = Math.floor(t / ua), o = Math.floor(i / ua), a = i - o * ua;
|
|
48800
48800
|
if (s === o) {
|
|
48801
48801
|
const l = t - s * ua;
|
|
@@ -49024,7 +49024,7 @@ class Yd extends zW {
|
|
|
49024
49024
|
return r ? new C6e(s, e.listHeight + 1, e, t, i, o) : new Zy(s, e.listHeight + 1, e, t, i, o);
|
|
49025
49025
|
}
|
|
49026
49026
|
static getEmpty() {
|
|
49027
|
-
return new y6e(
|
|
49027
|
+
return new y6e(Zs, 0, [], or.getEmpty());
|
|
49028
49028
|
}
|
|
49029
49029
|
get kind() {
|
|
49030
49030
|
return 4;
|
|
@@ -49308,7 +49308,7 @@ let sf = class {
|
|
|
49308
49308
|
};
|
|
49309
49309
|
class bue {
|
|
49310
49310
|
constructor(e, t) {
|
|
49311
|
-
this.textModel = e, this.bracketTokens = t, this.reader = new D6e(this.textModel, this.bracketTokens), this._offset =
|
|
49311
|
+
this.textModel = e, this.bracketTokens = t, this.reader = new D6e(this.textModel, this.bracketTokens), this._offset = Zs, this.didPeek = !1, this.peeked = null, this.textBufferLineCount = e.getLineCount(), this.textBufferLastLineLength = e.getLineLength(this.textBufferLineCount);
|
|
49312
49312
|
}
|
|
49313
49313
|
get offset() {
|
|
49314
49314
|
return this._offset;
|
|
@@ -49381,7 +49381,7 @@ class D6e {
|
|
|
49381
49381
|
}
|
|
49382
49382
|
class I6e {
|
|
49383
49383
|
constructor(e, t) {
|
|
49384
|
-
this.text = e, this._offset =
|
|
49384
|
+
this.text = e, this._offset = Zs, this.idx = 0;
|
|
49385
49385
|
const i = t.getRegExpStr(), r = i ? new RegExp(i + `|
|
|
49386
49386
|
`, "gi") : null, s = [];
|
|
49387
49387
|
let o, a = 0, l = 0, c = 0, d = 0;
|
|
@@ -49592,7 +49592,7 @@ function x6e(n, e) {
|
|
|
49592
49592
|
}
|
|
49593
49593
|
class A6e {
|
|
49594
49594
|
constructor(e) {
|
|
49595
|
-
this.lastOffset =
|
|
49595
|
+
this.lastOffset = Zs, this.nextNodes = [e], this.offsets = [Zs], this.idxs = [];
|
|
49596
49596
|
}
|
|
49597
49597
|
/**
|
|
49598
49598
|
* Returns the longest node at `offset` that satisfies the predicate.
|
|
@@ -49740,7 +49740,7 @@ function rN(n, e) {
|
|
|
49740
49740
|
} else
|
|
49741
49741
|
o.push({ startOffset: c, endOffset: d, newLength: u });
|
|
49742
49742
|
}
|
|
49743
|
-
let l =
|
|
49743
|
+
let l = Zs;
|
|
49744
49744
|
for (const c of i) {
|
|
49745
49745
|
const d = s(c.lengthBefore);
|
|
49746
49746
|
if (c.modified) {
|
|
@@ -49760,9 +49760,9 @@ class _f {
|
|
|
49760
49760
|
}
|
|
49761
49761
|
splitAt(e) {
|
|
49762
49762
|
const t = qy(e, this.lengthAfter);
|
|
49763
|
-
return mue(t,
|
|
49763
|
+
return mue(t, Zs) ? [this, void 0] : this.modified ? [
|
|
49764
49764
|
new _f(this.modified, this.lengthBefore, e),
|
|
49765
|
-
new _f(this.modified,
|
|
49765
|
+
new _f(this.modified, Zs, t)
|
|
49766
49766
|
] : [
|
|
49767
49767
|
new _f(this.modified, e, e),
|
|
49768
49768
|
new _f(this.modified, t, t)
|
|
@@ -49774,7 +49774,7 @@ class _f {
|
|
|
49774
49774
|
}
|
|
49775
49775
|
function Sq(n) {
|
|
49776
49776
|
const e = [];
|
|
49777
|
-
let t =
|
|
49777
|
+
let t = Zs;
|
|
49778
49778
|
for (const i of n) {
|
|
49779
49779
|
const r = qy(t, i.startOffset);
|
|
49780
49780
|
tN(r) || e.push(new _f(!1, r, r));
|
|
@@ -49830,7 +49830,7 @@ class E6e extends ye {
|
|
|
49830
49830
|
const i = Un(e.startLineNumber - 1, e.startColumn - 1), r = Un(e.endLineNumber - 1, e.endColumn - 1);
|
|
49831
49831
|
return new Td((s) => {
|
|
49832
49832
|
const o = this.initialAstWithoutTokens || this.astWithTokens;
|
|
49833
|
-
K7(o,
|
|
49833
|
+
K7(o, Zs, o.length, i, r, s, 0, 0, /* @__PURE__ */ new Map(), t);
|
|
49834
49834
|
});
|
|
49835
49835
|
}
|
|
49836
49836
|
getBracketPairsInRange(e, t) {
|
|
@@ -49838,18 +49838,18 @@ class E6e extends ye {
|
|
|
49838
49838
|
const i = pv(e.getStartPosition()), r = pv(e.getEndPosition());
|
|
49839
49839
|
return new Td((s) => {
|
|
49840
49840
|
const o = this.initialAstWithoutTokens || this.astWithTokens, a = new k6e(s, t, this.textModel);
|
|
49841
|
-
Z7(o,
|
|
49841
|
+
Z7(o, Zs, o.length, i, r, a, 0, /* @__PURE__ */ new Map());
|
|
49842
49842
|
});
|
|
49843
49843
|
}
|
|
49844
49844
|
getFirstBracketAfter(e) {
|
|
49845
49845
|
this.flushQueue();
|
|
49846
49846
|
const t = this.initialAstWithoutTokens || this.astWithTokens;
|
|
49847
|
-
return wue(t,
|
|
49847
|
+
return wue(t, Zs, t.length, pv(e));
|
|
49848
49848
|
}
|
|
49849
49849
|
getFirstBracketBefore(e) {
|
|
49850
49850
|
this.flushQueue();
|
|
49851
49851
|
const t = this.initialAstWithoutTokens || this.astWithTokens;
|
|
49852
|
-
return yue(t,
|
|
49852
|
+
return yue(t, Zs, t.length, pv(e));
|
|
49853
49853
|
}
|
|
49854
49854
|
}
|
|
49855
49855
|
function yue(n, e, t, i) {
|
|
@@ -49981,7 +49981,7 @@ function Z7(n, e, t, i, r, s, o, a) {
|
|
|
49981
49981
|
}
|
|
49982
49982
|
const u = Ln(e, n.openingBracket.length);
|
|
49983
49983
|
let h = -1;
|
|
49984
|
-
if (s.includeMinIndentation && (h = n.computeMinIndentation(e, s.textModel)), c = s.push(new g6e(Vp(e, t), Vp(e, u), n.closingBracket ? Vp(Ln(u, ((l = n.child) === null || l === void 0 ? void 0 : l.length) ||
|
|
49984
|
+
if (s.includeMinIndentation && (h = n.computeMinIndentation(e, s.textModel)), c = s.push(new g6e(Vp(e, t), Vp(e, u), n.closingBracket ? Vp(Ln(u, ((l = n.child) === null || l === void 0 ? void 0 : l.length) || Zs), t) : void 0, o, d, n, h)), e = u, c && n.child) {
|
|
49985
49985
|
const f = n.child;
|
|
49986
49986
|
if (t = Ln(e, f.length), qv(e, r) && eC(t, i) && (c = Z7(f, e, t, i, r, s, o + 1, a), !c))
|
|
49987
49987
|
return !1;
|
|
@@ -60606,7 +60606,7 @@ var e8e = globalThis && globalThis.__decorate || function(n, e, t, i) {
|
|
|
60606
60606
|
};
|
|
60607
60607
|
let c8 = class extends ye {
|
|
60608
60608
|
constructor(e) {
|
|
60609
|
-
super(), this._themeService = e, this._onWillCreateCodeEditor = this._register(new he()), this._onCodeEditorAdd = this._register(new he()), this.onCodeEditorAdd = this._onCodeEditorAdd.event, this._onCodeEditorRemove = this._register(new he()), this.onCodeEditorRemove = this._onCodeEditorRemove.event, this._onWillCreateDiffEditor = this._register(new he()), this._onDiffEditorAdd = this._register(new he()), this.onDiffEditorAdd = this._onDiffEditorAdd.event, this._onDiffEditorRemove = this._register(new he()), this.onDiffEditorRemove = this._onDiffEditorRemove.event, this._decorationOptionProviders = /* @__PURE__ */ new Map(), this._codeEditorOpenHandlers = new
|
|
60609
|
+
super(), this._themeService = e, this._onWillCreateCodeEditor = this._register(new he()), this._onCodeEditorAdd = this._register(new he()), this.onCodeEditorAdd = this._onCodeEditorAdd.event, this._onCodeEditorRemove = this._register(new he()), this.onCodeEditorRemove = this._onCodeEditorRemove.event, this._onWillCreateDiffEditor = this._register(new he()), this._onDiffEditorAdd = this._register(new he()), this.onDiffEditorAdd = this._onDiffEditorAdd.event, this._onDiffEditorRemove = this._register(new he()), this.onDiffEditorRemove = this._onDiffEditorRemove.event, this._decorationOptionProviders = /* @__PURE__ */ new Map(), this._codeEditorOpenHandlers = new qs(), this._modelProperties = /* @__PURE__ */ new Map(), this._codeEditors = /* @__PURE__ */ Object.create(null), this._diffEditors = /* @__PURE__ */ Object.create(null), this._globalStyleSheet = null;
|
|
60610
60610
|
}
|
|
60611
60611
|
willCreateCodeEditor() {
|
|
60612
60612
|
this._onWillCreateCodeEditor.fire();
|
|
@@ -62674,7 +62674,7 @@ class aV {
|
|
|
62674
62674
|
}
|
|
62675
62675
|
class lh extends aV {
|
|
62676
62676
|
static is(e) {
|
|
62677
|
-
return e instanceof lh ? !0 :
|
|
62677
|
+
return e instanceof lh ? !0 : Qs(e) && pt.isUri(e.resource) && Qs(e.textEdit);
|
|
62678
62678
|
}
|
|
62679
62679
|
static lift(e) {
|
|
62680
62680
|
return e instanceof lh ? e : new lh(e.resource, e.textEdit, e.versionId, e.metadata);
|
|
@@ -62685,7 +62685,7 @@ class lh extends aV {
|
|
|
62685
62685
|
}
|
|
62686
62686
|
class Xv extends aV {
|
|
62687
62687
|
static is(e) {
|
|
62688
|
-
return e instanceof Xv ? !0 :
|
|
62688
|
+
return e instanceof Xv ? !0 : Qs(e) && (!!e.newResource || !!e.oldResource);
|
|
62689
62689
|
}
|
|
62690
62690
|
static lift(e) {
|
|
62691
62691
|
return e instanceof Xv ? e : new Xv(e.oldResource, e.newResource, e.options, e.metadata);
|
|
@@ -63091,7 +63091,7 @@ class bs {
|
|
|
63091
63091
|
}
|
|
63092
63092
|
mergeContents(e, t) {
|
|
63093
63093
|
for (const i of Object.keys(t)) {
|
|
63094
|
-
if (i in e &&
|
|
63094
|
+
if (i in e && Qs(e[i]) && Qs(t[i])) {
|
|
63095
63095
|
this.mergeContents(e[i], t[i]);
|
|
63096
63096
|
continue;
|
|
63097
63097
|
}
|
|
@@ -64527,7 +64527,7 @@ function vv(n, e, t) {
|
|
|
64527
64527
|
}
|
|
64528
64528
|
class Rb extends ye {
|
|
64529
64529
|
constructor(e, t) {
|
|
64530
|
-
super(), this.container = null, this.delegate = null, this.toDisposeOnClean = ye.None, this.toDisposeOnSetContainer = ye.None, this.shadowRoot = null, this.shadowRootHostElement = null, this.view = Pe(".context-view"), this.useFixedPosition = !1, this.useShadowDOM = !1,
|
|
64530
|
+
super(), this.container = null, this.delegate = null, this.toDisposeOnClean = ye.None, this.toDisposeOnSetContainer = ye.None, this.shadowRoot = null, this.shadowRootHostElement = null, this.view = Pe(".context-view"), this.useFixedPosition = !1, this.useShadowDOM = !1, Us(this.view), this.setContainer(e, t), this._register(Ct(() => this.setContainer(
|
|
64531
64531
|
null,
|
|
64532
64532
|
1
|
|
64533
64533
|
/* ContextViewDOMPosition.ABSOLUTE */
|
|
@@ -64624,7 +64624,7 @@ class Rb extends ye {
|
|
|
64624
64624
|
}
|
|
64625
64625
|
hide(e) {
|
|
64626
64626
|
const t = this.delegate;
|
|
64627
|
-
this.delegate = null, t?.onHide && t.onHide(e), this.toDisposeOnClean.dispose(),
|
|
64627
|
+
this.delegate = null, t?.onHide && t.onHide(e), this.toDisposeOnClean.dispose(), Us(this.view);
|
|
64628
64628
|
}
|
|
64629
64629
|
isVisible() {
|
|
64630
64630
|
return !!this.delegate;
|
|
@@ -65517,7 +65517,7 @@ var M8 = globalThis && globalThis.__awaiter || function(n, e, t, i) {
|
|
|
65517
65517
|
});
|
|
65518
65518
|
};
|
|
65519
65519
|
function Wje(n, e) {
|
|
65520
|
-
|
|
65520
|
+
Xs(e) ? n.title = mV(e) : e?.markdownNotSupportedFallback ? n.title = e.markdownNotSupportedFallback : n.removeAttribute("title");
|
|
65521
65521
|
}
|
|
65522
65522
|
class Vje {
|
|
65523
65523
|
constructor(e, t, i) {
|
|
@@ -65529,7 +65529,7 @@ class Vje {
|
|
|
65529
65529
|
if (this._cancellationTokenSource && (this._cancellationTokenSource.dispose(!0), this._cancellationTokenSource = void 0), this.isDisposed)
|
|
65530
65530
|
return;
|
|
65531
65531
|
let s;
|
|
65532
|
-
if (e === void 0 ||
|
|
65532
|
+
if (e === void 0 || Xs(e) || e instanceof HTMLElement)
|
|
65533
65533
|
s = e;
|
|
65534
65534
|
else if (!my(e.markdown))
|
|
65535
65535
|
s = (r = e.markdown) !== null && r !== void 0 ? r : e.markdownNotSupportedFallback;
|
|
@@ -68545,7 +68545,7 @@ class bhe {
|
|
|
68545
68545
|
this.list.setAnchor(t), this.list.reveal(t), this.view.domNode.focus();
|
|
68546
68546
|
}
|
|
68547
68547
|
onCtrlA(e) {
|
|
68548
|
-
e.preventDefault(), e.stopPropagation(), this.list.setSelection(
|
|
68548
|
+
e.preventDefault(), e.stopPropagation(), this.list.setSelection(Ws(this.list.length), e.browserEvent), this.list.setAnchor(void 0), this.view.domNode.focus();
|
|
68549
68549
|
}
|
|
68550
68550
|
onEscape(e) {
|
|
68551
68551
|
this.list.getSelection().length && (e.preventDefault(), e.stopPropagation(), this.list.setSelection([], e.browserEvent), this.list.setAnchor(void 0), this.view.domNode.focus());
|
|
@@ -68719,7 +68719,7 @@ class yhe {
|
|
|
68719
68719
|
const d = this.list.getFocus()[0];
|
|
68720
68720
|
i = d ?? t, this.list.setAnchor(i);
|
|
68721
68721
|
}
|
|
68722
|
-
const r = Math.min(i, t), s = Math.max(i, t), o =
|
|
68722
|
+
const r = Math.min(i, t), s = Math.max(i, t), o = Ws(r, s + 1), a = this.list.getSelection(), l = TFe(P8(a, [i]), i);
|
|
68723
68723
|
if (l.length === 0)
|
|
68724
68724
|
return;
|
|
68725
68725
|
const c = P8(o, EFe(a, l));
|
|
@@ -69700,7 +69700,7 @@ class ac extends ye {
|
|
|
69700
69700
|
return this._action;
|
|
69701
69701
|
}
|
|
69702
69702
|
constructor(e, t, i = {}) {
|
|
69703
|
-
super(), this.options = i, this._context = e || this, this._action = t, t instanceof
|
|
69703
|
+
super(), this.options = i, this._context = e || this, this._action = t, t instanceof Js && this._register(t.onDidChange((r) => {
|
|
69704
69704
|
this.element && this.handleActionChangeEvent(r);
|
|
69705
69705
|
}));
|
|
69706
69706
|
}
|
|
@@ -70070,7 +70070,7 @@ let BL = class Dhe extends ye {
|
|
|
70070
70070
|
return;
|
|
70071
70071
|
if (na(t))
|
|
70072
70072
|
return this.delete(e, i);
|
|
70073
|
-
const r =
|
|
70073
|
+
const r = Qs(t) || Array.isArray(t) ? Kje(t) : String(t);
|
|
70074
70074
|
if (this.cache.get(e) !== r)
|
|
70075
70075
|
return this.cache.set(e, r), this.pendingInserts.set(e, r), this.pendingDeletes.delete(e), this._onDidChangeStorage.fire({ key: e, external: i }), this.doFlush();
|
|
70076
70076
|
});
|
|
@@ -71857,7 +71857,7 @@ H8 = CV([
|
|
|
71857
71857
|
], H8);
|
|
71858
71858
|
let U8 = class {
|
|
71859
71859
|
constructor(e, t) {
|
|
71860
|
-
this._openers = new
|
|
71860
|
+
this._openers = new qs(), this._validators = new qs(), this._resolvers = new qs(), this._resolvedUriTargets = new ys((i) => i.with({ path: null, fragment: null, query: null }).toString()), this._externalOpeners = new qs(), this._defaultExternalOpener = {
|
|
71861
71861
|
openExternal: (i) => vp(this, void 0, void 0, function* () {
|
|
71862
71862
|
return oK(i, kt.http, kt.https) ? Gce(i) : window.location.href = i, !0;
|
|
71863
71863
|
})
|
|
@@ -72454,7 +72454,7 @@ class mBe {
|
|
|
72454
72454
|
return this._model;
|
|
72455
72455
|
}
|
|
72456
72456
|
set model(e) {
|
|
72457
|
-
this._model = e, this.list.splice(0, this.list.length,
|
|
72457
|
+
this._model = e, this.list.splice(0, this.list.length, Ws(e.length));
|
|
72458
72458
|
}
|
|
72459
72459
|
getFocus() {
|
|
72460
72460
|
return this.list.getFocus();
|
|
@@ -72898,7 +72898,7 @@ class The extends ye {
|
|
|
72898
72898
|
typeof a == "number" && (o.size = Mo(Math.round(a * e / r), o.minimumSize, o.maximumSize));
|
|
72899
72899
|
}
|
|
72900
72900
|
} else {
|
|
72901
|
-
const r =
|
|
72901
|
+
const r = Ws(this.viewItems.length), s = r.filter(
|
|
72902
72902
|
(a) => this.viewItems[a].priority === 1
|
|
72903
72903
|
/* LayoutPriority.Low */
|
|
72904
72904
|
), o = r.filter(
|
|
@@ -72928,7 +72928,7 @@ class The extends ye {
|
|
|
72928
72928
|
}
|
|
72929
72929
|
let h, f;
|
|
72930
72930
|
if (!l) {
|
|
72931
|
-
const g =
|
|
72931
|
+
const g = Ws(r, -1), p = Ws(r + 1, this.viewItems.length), m = g.reduce((N, L) => N + (this.viewItems[L].minimumSize - c[L]), 0), v = g.reduce((N, L) => N + (this.viewItems[L].viewMaximumSize - c[L]), 0), b = p.length === 0 ? Number.POSITIVE_INFINITY : p.reduce((N, L) => N + (c[L] - this.viewItems[L].minimumSize), 0), w = p.length === 0 ? Number.NEGATIVE_INFINITY : p.reduce((N, L) => N + (c[L] - this.viewItems[L].viewMaximumSize), 0), y = Math.max(m, w), S = Math.min(b, v), D = this.findFirstSnapIndex(g), I = this.findFirstSnapIndex(p);
|
|
72932
72932
|
if (typeof D == "number") {
|
|
72933
72933
|
const N = this.viewItems[D], L = Math.floor(N.viewMinimumSize / 2);
|
|
72934
72934
|
h = {
|
|
@@ -72980,7 +72980,7 @@ class The extends ye {
|
|
|
72980
72980
|
throw new Error("Cant modify splitview");
|
|
72981
72981
|
if (this.state = Mu.Busy, e < 0 || e >= this.viewItems.length)
|
|
72982
72982
|
return;
|
|
72983
|
-
const i =
|
|
72983
|
+
const i = Ws(this.viewItems.length).filter((a) => a !== e), r = [...i.filter(
|
|
72984
72984
|
(a) => this.viewItems[a].priority === 1
|
|
72985
72985
|
/* LayoutPriority.Low */
|
|
72986
72986
|
), e], s = i.filter(
|
|
@@ -73000,7 +73000,7 @@ class The extends ye {
|
|
|
73000
73000
|
const i = Math.floor(t / e.length);
|
|
73001
73001
|
for (const a of e)
|
|
73002
73002
|
a.size = Mo(i, a.minimumSize, a.maximumSize);
|
|
73003
|
-
const r =
|
|
73003
|
+
const r = Ws(this.viewItems.length), s = r.filter(
|
|
73004
73004
|
(a) => this.viewItems[a].priority === 1
|
|
73005
73005
|
/* LayoutPriority.Low */
|
|
73006
73006
|
), o = r.filter(
|
|
@@ -73033,7 +73033,7 @@ class The extends ye {
|
|
|
73033
73033
|
orientation: 0
|
|
73034
73034
|
/* Orientation.VERTICAL */
|
|
73035
73035
|
})), g = this.orientation === 0 ? (N) => ({ sash: f, start: N.startY, current: N.currentY, alt: N.altKey }) : (N) => ({ sash: f, start: N.startX, current: N.currentX, alt: N.altKey }), m = Ge.map(f.onDidStart, g)(this.onSashStart, this), b = Ge.map(f.onDidChange, g)(this.onSashChange, this), y = Ge.map(f.onDidEnd, () => this.sashItems.findIndex((N) => N.sash === f))(this.onSashEnd, this), S = f.onDidReset(() => {
|
|
73036
|
-
const N = this.sashItems.findIndex((x) => x.sash === f), L =
|
|
73036
|
+
const N = this.sashItems.findIndex((x) => x.sash === f), L = Ws(N, -1), E = Ws(N + 1, this.viewItems.length), T = this.findFirstSnapIndex(L), M = this.findFirstSnapIndex(E);
|
|
73037
73037
|
typeof T == "number" && !this.viewItems[T].visible || typeof M == "number" && !this.viewItems[M].visible || this._onDidSashReset.fire(N);
|
|
73038
73038
|
}), D = Sl(m, b, y, S, f), I = { sash: f, disposable: D };
|
|
73039
73039
|
this.sashItems.splice(i - 1, 0, I);
|
|
@@ -73049,7 +73049,7 @@ class The extends ye {
|
|
|
73049
73049
|
resize(e, t, i = this.viewItems.map((d) => d.size), r, s, o = Number.NEGATIVE_INFINITY, a = Number.POSITIVE_INFINITY, l, c) {
|
|
73050
73050
|
if (e < 0 || e >= this.viewItems.length)
|
|
73051
73051
|
return 0;
|
|
73052
|
-
const d =
|
|
73052
|
+
const d = Ws(e, -1), u = Ws(e + 1, this.viewItems.length);
|
|
73053
73053
|
if (s)
|
|
73054
73054
|
for (const I of s)
|
|
73055
73055
|
v2(d, I), v2(u, I);
|
|
@@ -73082,7 +73082,7 @@ class The extends ye {
|
|
|
73082
73082
|
distributeEmptySpace(e) {
|
|
73083
73083
|
const t = this.viewItems.reduce((a, l) => a + l.size, 0);
|
|
73084
73084
|
let i = this.size - t;
|
|
73085
|
-
const r =
|
|
73085
|
+
const r = Ws(this.viewItems.length - 1, -1), s = r.filter(
|
|
73086
73086
|
(a) => this.viewItems[a].priority === 1
|
|
73087
73087
|
/* LayoutPriority.Low */
|
|
73088
73088
|
), o = r.filter(
|
|
@@ -73130,7 +73130,7 @@ class The extends ye {
|
|
|
73130
73130
|
a += d.size;
|
|
73131
73131
|
const u = !(t[l] && o[l + 1]), h = !(i[l] && s[l + 1]);
|
|
73132
73132
|
if (u && h) {
|
|
73133
|
-
const f =
|
|
73133
|
+
const f = Ws(l, -1), g = Ws(l + 1, this.viewItems.length), p = this.findFirstSnapIndex(f), m = this.findFirstSnapIndex(g), v = typeof p == "number" && !this.viewItems[p].visible, b = typeof m == "number" && !this.viewItems[m].visible;
|
|
73134
73134
|
v && s[l] && (a > 0 || this.startSnappingEnabled) ? c.state = 1 : b && t[l] && (a < this.contentSize || this.endSnappingEnabled) ? c.state = 2 : c.state = 0;
|
|
73135
73135
|
} else
|
|
73136
73136
|
u && !h ? c.state = 1 : !u && h ? c.state = 2 : c.state = 3;
|
|
@@ -74239,7 +74239,7 @@ class RBe {
|
|
|
74239
74239
|
return this.onDragOver(e, p, m, r, !1);
|
|
74240
74240
|
}
|
|
74241
74241
|
const l = this.modelProvider(), c = l.getNodeLocation(t), d = l.getListIndex(c), u = l.getListRenderCount(c);
|
|
74242
|
-
return Object.assign(Object.assign({}, o), { feedback:
|
|
74242
|
+
return Object.assign(Object.assign({}, o), { feedback: Ws(d, d + u) });
|
|
74243
74243
|
}
|
|
74244
74244
|
drop(e, t, i, r) {
|
|
74245
74245
|
this.autoExpandDisposable.dispose(), this.autoExpandNode = void 0, this.dnd.drop(Ak(e), t && t.element, i, r);
|
|
@@ -77495,7 +77495,7 @@ class zV {
|
|
|
77495
77495
|
this.toggleCheckbox();
|
|
77496
77496
|
break;
|
|
77497
77497
|
case 31:
|
|
77498
|
-
(ii ? a.metaKey : a.ctrlKey) && this.list.setFocus(
|
|
77498
|
+
(ii ? a.metaKey : a.ctrlKey) && this.list.setFocus(Ws(this.list.length));
|
|
77499
77499
|
break;
|
|
77500
77500
|
case 16: {
|
|
77501
77501
|
const c = this.list.getFocus();
|
|
@@ -77974,14 +77974,14 @@ class jS extends ye {
|
|
|
77974
77974
|
this.buttonsUpdated = !1, this.ui.leftActionBar.clear();
|
|
77975
77975
|
const o = this.buttons.filter((l) => l === ij);
|
|
77976
77976
|
this.ui.leftActionBar.push(o.map((l, c) => {
|
|
77977
|
-
const d = new
|
|
77977
|
+
const d = new Js(`id-${c}`, "", l.iconClass || tj(l.iconPath), !0, () => tZ(this, void 0, void 0, function* () {
|
|
77978
77978
|
this.onDidTriggerButtonEmitter.fire(l);
|
|
77979
77979
|
}));
|
|
77980
77980
|
return d.tooltip = l.tooltip || "", d;
|
|
77981
77981
|
}), { icon: !0, label: !1 }), this.ui.rightActionBar.clear();
|
|
77982
77982
|
const a = this.buttons.filter((l) => l !== ij);
|
|
77983
77983
|
this.ui.rightActionBar.push(a.map((l, c) => {
|
|
77984
|
-
const d = new
|
|
77984
|
+
const d = new Js(`id-${c}`, "", l.iconClass || tj(l.iconPath), !0, () => tZ(this, void 0, void 0, function* () {
|
|
77985
77985
|
this.onDidTriggerButtonEmitter.fire(l);
|
|
77986
77986
|
}));
|
|
77987
77987
|
return d.tooltip = l.tooltip || "", d;
|
|
@@ -79229,8 +79229,8 @@ var nZ;
|
|
|
79229
79229
|
}
|
|
79230
79230
|
n.toJSONObject = e;
|
|
79231
79231
|
function t(i) {
|
|
79232
|
-
const r = (s) =>
|
|
79233
|
-
if (i && Array.isArray(i.src) && i.src.every((s) =>
|
|
79232
|
+
const r = (s) => Xs(s) ? s : void 0;
|
|
79233
|
+
if (i && Array.isArray(i.src) && i.src.every((s) => Xs(s.format) && Xs(s.location)))
|
|
79234
79234
|
return {
|
|
79235
79235
|
weight: r(i.weight),
|
|
79236
79236
|
style: r(i.style),
|
|
@@ -80485,7 +80485,7 @@ class FN {
|
|
|
80485
80485
|
get(c, d) {
|
|
80486
80486
|
if (!l.isInitialized && typeof d == "string" && (d.startsWith("onDid") || d.startsWith("onWill"))) {
|
|
80487
80487
|
let f = a.get(d);
|
|
80488
|
-
return f || (f = new
|
|
80488
|
+
return f || (f = new qs(), a.set(d, f)), (p, m, v) => {
|
|
80489
80489
|
const b = f.push([p, m, v]);
|
|
80490
80490
|
return Ct(b);
|
|
80491
80491
|
};
|
|
@@ -82494,11 +82494,11 @@ let wj = class extends ye {
|
|
|
82494
82494
|
});
|
|
82495
82495
|
})), this._register(Fi((o) => {
|
|
82496
82496
|
const a = this.currentElement.read(o);
|
|
82497
|
-
a?.type ===
|
|
82497
|
+
a?.type === Ys.Deleted ? this._audioCueService.playAudioCue(ai.diffLineDeleted, { source: "accessibleDiffViewer.currentElementChanged" }) : a?.type === Ys.Added && this._audioCueService.playAudioCue(ai.diffLineInserted, { source: "accessibleDiffViewer.currentElementChanged" });
|
|
82498
82498
|
})), this._register(Fi((o) => {
|
|
82499
82499
|
var a;
|
|
82500
82500
|
const l = this.currentElement.read(o);
|
|
82501
|
-
if (l && l.type !==
|
|
82501
|
+
if (l && l.type !== Ys.Header) {
|
|
82502
82502
|
const c = (a = l.modifiedLineNumber) !== null && a !== void 0 ? a : l.diff.modified.startLineNumber;
|
|
82503
82503
|
this._editors.modified.setSelection(j.fromPositions(new pe(c, 1)));
|
|
82504
82504
|
}
|
|
@@ -82540,7 +82540,7 @@ let wj = class extends ye {
|
|
|
82540
82540
|
revealCurrentElementInEditor() {
|
|
82541
82541
|
this._setVisible(!1, void 0);
|
|
82542
82542
|
const e = this.currentElement.get();
|
|
82543
|
-
e && (e.type ===
|
|
82543
|
+
e && (e.type === Ys.Deleted ? (this._editors.original.setSelection(j.fromPositions(new pe(e.originalLineNumber, 1))), this._editors.original.revealLine(e.originalLineNumber), this._editors.original.focus()) : (e.type !== Ys.Header && (this._editors.modified.setSelection(j.fromPositions(new pe(e.modifiedLineNumber, 1))), this._editors.modified.revealLine(e.modifiedLineNumber)), this._editors.modified.focus()));
|
|
82544
82544
|
}
|
|
82545
82545
|
close() {
|
|
82546
82546
|
this._setVisible(!1, void 0), this._editors.modified.focus();
|
|
@@ -82571,10 +82571,10 @@ function tVe(n, e, t) {
|
|
|
82571
82571
|
}
|
|
82572
82572
|
return i;
|
|
82573
82573
|
}
|
|
82574
|
-
var
|
|
82574
|
+
var Ys;
|
|
82575
82575
|
(function(n) {
|
|
82576
82576
|
n[n.Header = 0] = "Header", n[n.Unchanged = 1] = "Unchanged", n[n.Deleted = 2] = "Deleted", n[n.Added = 3] = "Added";
|
|
82577
|
-
})(
|
|
82577
|
+
})(Ys || (Ys = {}));
|
|
82578
82578
|
class iVe {
|
|
82579
82579
|
constructor(e, t) {
|
|
82580
82580
|
this.range = e, this.lines = t;
|
|
@@ -82582,22 +82582,22 @@ class iVe {
|
|
|
82582
82582
|
}
|
|
82583
82583
|
class nVe {
|
|
82584
82584
|
constructor() {
|
|
82585
|
-
this.type =
|
|
82585
|
+
this.type = Ys.Header;
|
|
82586
82586
|
}
|
|
82587
82587
|
}
|
|
82588
82588
|
class rVe {
|
|
82589
82589
|
constructor(e, t) {
|
|
82590
|
-
this.diff = e, this.originalLineNumber = t, this.type =
|
|
82590
|
+
this.diff = e, this.originalLineNumber = t, this.type = Ys.Deleted, this.modifiedLineNumber = void 0;
|
|
82591
82591
|
}
|
|
82592
82592
|
}
|
|
82593
82593
|
class sVe {
|
|
82594
82594
|
constructor(e, t) {
|
|
82595
|
-
this.diff = e, this.modifiedLineNumber = t, this.type =
|
|
82595
|
+
this.diff = e, this.modifiedLineNumber = t, this.type = Ys.Added, this.originalLineNumber = void 0;
|
|
82596
82596
|
}
|
|
82597
82597
|
}
|
|
82598
82598
|
class oVe {
|
|
82599
82599
|
constructor(e, t) {
|
|
82600
|
-
this.originalLineNumber = e, this.modifiedLineNumber = t, this.type =
|
|
82600
|
+
this.originalLineNumber = e, this.modifiedLineNumber = t, this.type = Ys.Unchanged;
|
|
82601
82601
|
}
|
|
82602
82602
|
}
|
|
82603
82603
|
let Sj = class extends ye {
|
|
@@ -82605,7 +82605,7 @@ let Sj = class extends ye {
|
|
|
82605
82605
|
super(), this._element = e, this._model = t, this._width = i, this._height = r, this._editors = s, this._languageService = o, this.domNode = this._element, this.domNode.className = "diff-review monaco-editor-background";
|
|
82606
82606
|
const a = document.createElement("div");
|
|
82607
82607
|
a.className = "diff-review-actions", this._actionBar = this._register(new tl(a)), this._register(Fi((l) => {
|
|
82608
|
-
this._actionBar.clear(), this._model.canClose.read(l) && this._actionBar.push(new
|
|
82608
|
+
this._actionBar.clear(), this._model.canClose.read(l) && this._actionBar.push(new Js("diffreview.close", _("label.close", "Close"), "close-diff-review " + ft.asClassName(eVe), !0, () => XWe(this, void 0, void 0, function* () {
|
|
82609
82609
|
return t.close();
|
|
82610
82610
|
})), { label: !1, icon: !0 });
|
|
82611
82611
|
})), this._content = document.createElement("div"), this._content.className = "diff-review-content", this._content.setAttribute("role", "code"), this._scrollbar = this._register(new DS(this._content, {})), Qr(this.domNode, this._scrollbar.getDomNode(), a), this._register(Ct(() => {
|
|
@@ -82669,7 +82669,7 @@ let Sj = class extends ye {
|
|
|
82669
82669
|
if (!d)
|
|
82670
82670
|
break;
|
|
82671
82671
|
let h;
|
|
82672
|
-
if (u.type ===
|
|
82672
|
+
if (u.type === Ys.Header) {
|
|
82673
82673
|
const g = document.createElement("div");
|
|
82674
82674
|
g.className = "diff-review-row", g.setAttribute("role", "listitem");
|
|
82675
82675
|
const p = d.range, m = this._model.currentGroupIndex.get(), v = this._model.groups.get().length, b = (D) => D === 0 ? _("no_lines_changed", "no lines changed") : D === 1 ? _("one_line_changed", "1 line changed") : _("more_lines_changed", "{0} lines changed", D), w = b(p.original.length), y = b(p.modified.length);
|
|
@@ -82714,10 +82714,10 @@ let Sj = class extends ye {
|
|
|
82714
82714
|
const m = "diff-review-spacer";
|
|
82715
82715
|
let v = null;
|
|
82716
82716
|
switch (e.type) {
|
|
82717
|
-
case
|
|
82717
|
+
case Ys.Added:
|
|
82718
82718
|
g = "diff-review-row line-insert", p = " char-insert", v = JWe;
|
|
82719
82719
|
break;
|
|
82720
|
-
case
|
|
82720
|
+
case Ys.Deleted:
|
|
82721
82721
|
g = "diff-review-row line-delete", p = " char-delete", v = $We;
|
|
82722
82722
|
break;
|
|
82723
82723
|
}
|
|
@@ -82747,13 +82747,13 @@ let Sj = class extends ye {
|
|
|
82747
82747
|
I.length === 0 && (I = _("blankLine", "blank"));
|
|
82748
82748
|
let N = "";
|
|
82749
82749
|
switch (e.type) {
|
|
82750
|
-
case
|
|
82750
|
+
case Ys.Unchanged:
|
|
82751
82751
|
e.originalLineNumber === e.modifiedLineNumber ? N = _({ key: "unchangedLine", comment: ["The placeholders are contents of the line and should not be translated."] }, "{0} unchanged line {1}", I, e.originalLineNumber) : N = _("equalLine", "{0} original line {1} modified line {2}", I, e.originalLineNumber, e.modifiedLineNumber);
|
|
82752
82752
|
break;
|
|
82753
|
-
case
|
|
82753
|
+
case Ys.Added:
|
|
82754
82754
|
N = _("insertLine", "+ {0} modified line {1}", I, e.modifiedLineNumber);
|
|
82755
82755
|
break;
|
|
82756
|
-
case
|
|
82756
|
+
case Ys.Deleted:
|
|
82757
82757
|
N = _("deleteLine", "- {0} original line {1}", I, e.originalLineNumber);
|
|
82758
82758
|
break;
|
|
82759
82759
|
}
|
|
@@ -82951,9 +82951,9 @@ class CZ extends bfe {
|
|
|
82951
82951
|
i.changes.length > 0 ? l = this._kind === "original" ? _("codeMovedToWithChanges", "Code moved with changes to line {0}-{1}", this._move.lineRangeMapping.modified.startLineNumber, this._move.lineRangeMapping.modified.endLineNumberExclusive - 1) : _("codeMovedFromWithChanges", "Code moved with changes from line {0}-{1}", this._move.lineRangeMapping.original.startLineNumber, this._move.lineRangeMapping.original.endLineNumberExclusive - 1) : l = this._kind === "original" ? _("codeMovedTo", "Code moved to line {0}-{1}", this._move.lineRangeMapping.modified.startLineNumber, this._move.lineRangeMapping.modified.endLineNumberExclusive - 1) : _("codeMovedFrom", "Code moved from line {0}-{1}", this._move.lineRangeMapping.original.startLineNumber, this._move.lineRangeMapping.original.endLineNumberExclusive - 1);
|
|
82952
82952
|
const c = this._register(new tl(this._nodes.actionBar, {
|
|
82953
82953
|
highlightToggledItems: !0
|
|
82954
|
-
})), d = new
|
|
82954
|
+
})), d = new Js("", l, "", !1);
|
|
82955
82955
|
c.push(d, { icon: !1, label: !0 });
|
|
82956
|
-
const u = new
|
|
82956
|
+
const u = new Js("", "Compare", ft.asClassName(ze.compareChanges), !0, () => {
|
|
82957
82957
|
this._editor.focus(), this._diffModel.movedTextToCompare.set(this._diffModel.movedTextToCompare.get() === i ? void 0 : this._move, void 0);
|
|
82958
82958
|
});
|
|
82959
82959
|
this._register(Fi((h) => {
|
|
@@ -83867,10 +83867,10 @@ class LVe extends ye {
|
|
|
83867
83867
|
getAnchor: () => ({ x: g, y: p }),
|
|
83868
83868
|
getActions: () => {
|
|
83869
83869
|
const v = [], b = r.modified.isEmpty;
|
|
83870
|
-
return v.push(new
|
|
83870
|
+
return v.push(new Js("diff.clipboard.copyDeletedContent", b ? r.original.length > 1 ? _("diff.clipboard.copyDeletedLinesContent.label", "Copy deleted lines") : _("diff.clipboard.copyDeletedLinesContent.single.label", "Copy deleted line") : r.original.length > 1 ? _("diff.clipboard.copyChangedLinesContent.label", "Copy changed lines") : _("diff.clipboard.copyChangedLinesContent.single.label", "Copy changed line"), void 0, !0, () => Bk(this, void 0, void 0, function* () {
|
|
83871
83871
|
const y = this._originalTextModel.getValueInRange(r.original.toExclusiveRange());
|
|
83872
83872
|
yield this._clipboardService.writeText(y);
|
|
83873
|
-
}))), r.original.length > 1 && v.push(new
|
|
83873
|
+
}))), r.original.length > 1 && v.push(new Js("diff.clipboard.copyDeletedLineContent", b ? _("diff.clipboard.copyDeletedLineContent.label", "Copy deleted line ({0})", r.original.startLineNumber + u) : _("diff.clipboard.copyChangedLineContent.label", "Copy changed line ({0})", r.original.startLineNumber + u), void 0, !0, () => Bk(this, void 0, void 0, function* () {
|
|
83874
83874
|
let y = this._originalTextModel.getLineContent(r.original.startLineNumber + u);
|
|
83875
83875
|
y === "" && (y = this._originalTextModel.getEndOfLineSequence() === 0 ? `
|
|
83876
83876
|
` : `\r
|
|
@@ -83878,7 +83878,7 @@ class LVe extends ye {
|
|
|
83878
83878
|
}))), i.getOption(
|
|
83879
83879
|
90
|
|
83880
83880
|
/* EditorOption.readOnly */
|
|
83881
|
-
) || v.push(new
|
|
83881
|
+
) || v.push(new Js("diff.inline.revertChange", _("diff.inline.revertChange.label", "Revert this change"), void 0, !0, () => Bk(this, void 0, void 0, function* () {
|
|
83882
83882
|
this._editor.revert(this._diff);
|
|
83883
83883
|
}))), v;
|
|
83884
83884
|
},
|
|
@@ -86028,7 +86028,7 @@ function lUe() {
|
|
|
86028
86028
|
InlineCompletionTriggerKind: W9,
|
|
86029
86029
|
CodeActionTriggerType: D9,
|
|
86030
86030
|
// classes
|
|
86031
|
-
FoldingRangeKind:
|
|
86031
|
+
FoldingRangeKind: Ks,
|
|
86032
86032
|
SelectedSuggestionInfo: hce
|
|
86033
86033
|
};
|
|
86034
86034
|
}
|
|
@@ -86042,7 +86042,7 @@ ri(
|
|
|
86042
86042
|
add(n, e) {
|
|
86043
86043
|
let t = this._tokens.get(n);
|
|
86044
86044
|
t || (t = n.invokeWithinContext((r) => {
|
|
86045
|
-
const s = Afe.bindTo(r.get(yt)), o = new
|
|
86045
|
+
const s = Afe.bindTo(r.get(yt)), o = new qs();
|
|
86046
86046
|
return { key: s, tokens: o };
|
|
86047
86047
|
}), this._tokens.set(n, t));
|
|
86048
86048
|
let i;
|
|
@@ -86251,7 +86251,7 @@ class Cm {
|
|
|
86251
86251
|
});
|
|
86252
86252
|
}
|
|
86253
86253
|
}
|
|
86254
|
-
Cm._selectors = new
|
|
86254
|
+
Cm._selectors = new qs();
|
|
86255
86255
|
function Pfe(n, e, t, i, r, s) {
|
|
86256
86256
|
return Rc(this, void 0, void 0, function* () {
|
|
86257
86257
|
const o = n.get(_t), { documentRangeFormattingEditProvider: a } = n.get(et), l = Zd(e) ? e.getModel() : e, c = a.ordered(l), d = yield Cm.select(c, l, i);
|
|
@@ -87843,37 +87843,37 @@ ht({
|
|
|
87843
87843
|
id: "freemarker2",
|
|
87844
87844
|
extensions: [".ftl", ".ftlh", ".ftlx"],
|
|
87845
87845
|
aliases: ["FreeMarker2", "Apache FreeMarker2"],
|
|
87846
|
-
loader: () => import("./freemarker2-
|
|
87846
|
+
loader: () => import("./freemarker2-30f0b882.js").then((n) => n.TagAutoInterpolationDollar)
|
|
87847
87847
|
});
|
|
87848
87848
|
ht({
|
|
87849
87849
|
id: "freemarker2.tag-angle.interpolation-dollar",
|
|
87850
87850
|
aliases: ["FreeMarker2 (Angle/Dollar)", "Apache FreeMarker2 (Angle/Dollar)"],
|
|
87851
|
-
loader: () => import("./freemarker2-
|
|
87851
|
+
loader: () => import("./freemarker2-30f0b882.js").then((n) => n.TagAngleInterpolationDollar)
|
|
87852
87852
|
});
|
|
87853
87853
|
ht({
|
|
87854
87854
|
id: "freemarker2.tag-bracket.interpolation-dollar",
|
|
87855
87855
|
aliases: ["FreeMarker2 (Bracket/Dollar)", "Apache FreeMarker2 (Bracket/Dollar)"],
|
|
87856
|
-
loader: () => import("./freemarker2-
|
|
87856
|
+
loader: () => import("./freemarker2-30f0b882.js").then((n) => n.TagBracketInterpolationDollar)
|
|
87857
87857
|
});
|
|
87858
87858
|
ht({
|
|
87859
87859
|
id: "freemarker2.tag-angle.interpolation-bracket",
|
|
87860
87860
|
aliases: ["FreeMarker2 (Angle/Bracket)", "Apache FreeMarker2 (Angle/Bracket)"],
|
|
87861
|
-
loader: () => import("./freemarker2-
|
|
87861
|
+
loader: () => import("./freemarker2-30f0b882.js").then((n) => n.TagAngleInterpolationBracket)
|
|
87862
87862
|
});
|
|
87863
87863
|
ht({
|
|
87864
87864
|
id: "freemarker2.tag-bracket.interpolation-bracket",
|
|
87865
87865
|
aliases: ["FreeMarker2 (Bracket/Bracket)", "Apache FreeMarker2 (Bracket/Bracket)"],
|
|
87866
|
-
loader: () => import("./freemarker2-
|
|
87866
|
+
loader: () => import("./freemarker2-30f0b882.js").then((n) => n.TagBracketInterpolationBracket)
|
|
87867
87867
|
});
|
|
87868
87868
|
ht({
|
|
87869
87869
|
id: "freemarker2.tag-auto.interpolation-dollar",
|
|
87870
87870
|
aliases: ["FreeMarker2 (Auto/Dollar)", "Apache FreeMarker2 (Auto/Dollar)"],
|
|
87871
|
-
loader: () => import("./freemarker2-
|
|
87871
|
+
loader: () => import("./freemarker2-30f0b882.js").then((n) => n.TagAutoInterpolationDollar)
|
|
87872
87872
|
});
|
|
87873
87873
|
ht({
|
|
87874
87874
|
id: "freemarker2.tag-auto.interpolation-bracket",
|
|
87875
87875
|
aliases: ["FreeMarker2 (Auto/Bracket)", "Apache FreeMarker2 (Auto/Bracket)"],
|
|
87876
|
-
loader: () => import("./freemarker2-
|
|
87876
|
+
loader: () => import("./freemarker2-30f0b882.js").then((n) => n.TagAutoInterpolationBracket)
|
|
87877
87877
|
});
|
|
87878
87878
|
/*!-----------------------------------------------------------------------------
|
|
87879
87879
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -87911,7 +87911,7 @@ ht({
|
|
|
87911
87911
|
extensions: [".handlebars", ".hbs"],
|
|
87912
87912
|
aliases: ["Handlebars", "handlebars", "hbs"],
|
|
87913
87913
|
mimetypes: ["text/x-handlebars-template"],
|
|
87914
|
-
loader: () => import("./handlebars-
|
|
87914
|
+
loader: () => import("./handlebars-7146aa19.js")
|
|
87915
87915
|
});
|
|
87916
87916
|
/*!-----------------------------------------------------------------------------
|
|
87917
87917
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -87936,7 +87936,7 @@ ht({
|
|
|
87936
87936
|
extensions: [".html", ".htm", ".shtml", ".xhtml", ".mdoc", ".jsp", ".asp", ".aspx", ".jshtm"],
|
|
87937
87937
|
aliases: ["HTML", "htm", "html", "xhtml"],
|
|
87938
87938
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
87939
|
-
loader: () => import("./html-
|
|
87939
|
+
loader: () => import("./html-658499e7.js")
|
|
87940
87940
|
});
|
|
87941
87941
|
/*!-----------------------------------------------------------------------------
|
|
87942
87942
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -87977,7 +87977,7 @@ ht({
|
|
|
87977
87977
|
filenames: ["jakefile"],
|
|
87978
87978
|
aliases: ["JavaScript", "javascript", "js"],
|
|
87979
87979
|
mimetypes: ["text/javascript"],
|
|
87980
|
-
loader: () => import("./javascript-
|
|
87980
|
+
loader: () => import("./javascript-17c071ad.js")
|
|
87981
87981
|
});
|
|
87982
87982
|
/*!-----------------------------------------------------------------------------
|
|
87983
87983
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -88052,7 +88052,7 @@ ht({
|
|
|
88052
88052
|
extensions: [".liquid", ".html.liquid"],
|
|
88053
88053
|
aliases: ["Liquid", "liquid"],
|
|
88054
88054
|
mimetypes: ["application/liquid"],
|
|
88055
|
-
loader: () => import("./liquid-
|
|
88055
|
+
loader: () => import("./liquid-875b774f.js")
|
|
88056
88056
|
});
|
|
88057
88057
|
/*!-----------------------------------------------------------------------------
|
|
88058
88058
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -88088,7 +88088,7 @@ ht({
|
|
|
88088
88088
|
id: "mdx",
|
|
88089
88089
|
extensions: [".mdx"],
|
|
88090
88090
|
aliases: ["MDX", "mdx"],
|
|
88091
|
-
loader: () => import("./mdx-
|
|
88091
|
+
loader: () => import("./mdx-2360dbb7.js")
|
|
88092
88092
|
});
|
|
88093
88093
|
/*!-----------------------------------------------------------------------------
|
|
88094
88094
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -88283,7 +88283,7 @@ ht({
|
|
|
88283
88283
|
extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
|
|
88284
88284
|
aliases: ["Python", "py"],
|
|
88285
88285
|
firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
|
|
88286
|
-
loader: () => import("./python-
|
|
88286
|
+
loader: () => import("./python-d8f638c7.js")
|
|
88287
88287
|
});
|
|
88288
88288
|
/*!-----------------------------------------------------------------------------
|
|
88289
88289
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -88320,7 +88320,7 @@ ht({
|
|
|
88320
88320
|
extensions: [".cshtml"],
|
|
88321
88321
|
aliases: ["Razor", "razor"],
|
|
88322
88322
|
mimetypes: ["text/x-cshtml"],
|
|
88323
|
-
loader: () => import("./razor-
|
|
88323
|
+
loader: () => import("./razor-eba3bc11.js")
|
|
88324
88324
|
});
|
|
88325
88325
|
/*!-----------------------------------------------------------------------------
|
|
88326
88326
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -88572,7 +88572,7 @@ ht({
|
|
|
88572
88572
|
extensions: [".ts", ".tsx", ".cts", ".mts"],
|
|
88573
88573
|
aliases: ["TypeScript", "ts", "typescript"],
|
|
88574
88574
|
mimetypes: ["text/typescript"],
|
|
88575
|
-
loader: () => import("./typescript-
|
|
88575
|
+
loader: () => import("./typescript-19458c0b.js")
|
|
88576
88576
|
});
|
|
88577
88577
|
/*!-----------------------------------------------------------------------------
|
|
88578
88578
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -88628,7 +88628,7 @@ ht({
|
|
|
88628
88628
|
firstLine: "(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",
|
|
88629
88629
|
aliases: ["XML", "xml"],
|
|
88630
88630
|
mimetypes: ["text/xml", "application/xml", "application/xaml+xml", "application/xml-dtd"],
|
|
88631
|
-
loader: () => import("./xml-
|
|
88631
|
+
loader: () => import("./xml-e2b971ba.js")
|
|
88632
88632
|
});
|
|
88633
88633
|
/*!-----------------------------------------------------------------------------
|
|
88634
88634
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -88641,7 +88641,7 @@ ht({
|
|
|
88641
88641
|
extensions: [".yaml", ".yml"],
|
|
88642
88642
|
aliases: ["YAML", "yaml", "YML", "yml"],
|
|
88643
88643
|
mimetypes: ["application/x-yaml", "text/x-yaml"],
|
|
88644
|
-
loader: () => import("./yaml-
|
|
88644
|
+
loader: () => import("./yaml-57fb9693.js")
|
|
88645
88645
|
});
|
|
88646
88646
|
/*!-----------------------------------------------------------------------------
|
|
88647
88647
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -88736,7 +88736,7 @@ var oH = class {
|
|
|
88736
88736
|
}, Ufe = new oH("css", aH, lH), Yfe = new oH("scss", aH, lH), Gfe = new oH("less", aH, lH);
|
|
88737
88737
|
D1.languages.css = { cssDefaults: Ufe, lessDefaults: Gfe, scssDefaults: Yfe };
|
|
88738
88738
|
function cH() {
|
|
88739
|
-
return import("./cssMode-
|
|
88739
|
+
return import("./cssMode-46565917.js");
|
|
88740
88740
|
}
|
|
88741
88741
|
D1.languages.onLanguage("less", () => {
|
|
88742
88742
|
cH().then((n) => n.setupMode(Gfe));
|
|
@@ -88831,7 +88831,7 @@ DT.languages.html = {
|
|
|
88831
88831
|
registerHTMLLanguageService: MT
|
|
88832
88832
|
};
|
|
88833
88833
|
function OYe() {
|
|
88834
|
-
return import("./htmlMode-
|
|
88834
|
+
return import("./htmlMode-7460496c.js");
|
|
88835
88835
|
}
|
|
88836
88836
|
function MT(n, e = IT, t = LT(n)) {
|
|
88837
88837
|
const i = new xYe(n, e, t);
|
|
@@ -88908,7 +88908,7 @@ var zYe = class {
|
|
|
88908
88908
|
}, Zfe = new zYe("json", WYe, VYe);
|
|
88909
88909
|
zS.languages.json = { jsonDefaults: Zfe };
|
|
88910
88910
|
function HYe() {
|
|
88911
|
-
return import("./jsonMode-
|
|
88911
|
+
return import("./jsonMode-9e5d2735.js");
|
|
88912
88912
|
}
|
|
88913
88913
|
zS.languages.register({
|
|
88914
88914
|
id: "json",
|
|
@@ -89071,7 +89071,7 @@ Ub.languages.typescript = {
|
|
|
89071
89071
|
getJavaScriptWorker: JYe
|
|
89072
89072
|
};
|
|
89073
89073
|
function NT() {
|
|
89074
|
-
return import("./tsMode-
|
|
89074
|
+
return import("./tsMode-96aad75e.js");
|
|
89075
89075
|
}
|
|
89076
89076
|
Ub.languages.onLanguage("typescript", () => NT().then((n) => n.setupTypeScript(rge)));
|
|
89077
89077
|
Ub.languages.onLanguage("javascript", () => NT().then((n) => n.setupJavaScript(sge)));
|
|
@@ -93912,7 +93912,7 @@ let $N = class extends PQe {
|
|
|
93912
93912
|
const i = Pe(".peekview-actions");
|
|
93913
93913
|
Ae(this._headElement, i);
|
|
93914
93914
|
const r = this._getActionBarOptions();
|
|
93915
|
-
this._actionbarWidget = new tl(i, r), this._disposables.add(this._actionbarWidget), t || this._actionbarWidget.push(new
|
|
93915
|
+
this._actionbarWidget = new tl(i, r), this._disposables.add(this._actionbarWidget), t || this._actionbarWidget.push(new Js("peekview.close", _("label.close", "Close"), ft.asClassName(ze.close), !0, () => (this.dispose(), Promise.resolve())), { label: !1, icon: !0 });
|
|
93916
93916
|
}
|
|
93917
93917
|
_fillTitleIcon(e) {
|
|
93918
93918
|
}
|
|
@@ -93929,7 +93929,7 @@ let $N = class extends PQe {
|
|
|
93929
93929
|
this._primaryHeading && this._secondaryHeading && (this._primaryHeading.innerText = e, this._primaryHeading.setAttribute("title", e), t ? this._secondaryHeading.innerText = t : Gr(this._secondaryHeading));
|
|
93930
93930
|
}
|
|
93931
93931
|
setMetaTitle(e) {
|
|
93932
|
-
this._metaHeading && (e ? (this._metaHeading.innerText = e, Ao(this._metaHeading)) :
|
|
93932
|
+
this._metaHeading && (e ? (this._metaHeading.innerText = e, Ao(this._metaHeading)) : Us(this._metaHeading));
|
|
93933
93933
|
}
|
|
93934
93934
|
_doLayout(e, t) {
|
|
93935
93935
|
if (!this._isShowing && e < 0) {
|
|
@@ -94416,7 +94416,7 @@ let Jj = class extends $N {
|
|
|
94416
94416
|
});
|
|
94417
94417
|
}
|
|
94418
94418
|
_fillBody(e) {
|
|
94419
|
-
this.setCssClass("reference-zone-widget"), this._messageContainer = Ae(e, Pe("div.messages")),
|
|
94419
|
+
this.setCssClass("reference-zone-widget"), this._messageContainer = Ae(e, Pe("div.messages")), Us(this._messageContainer), this._splitView = new The(e, {
|
|
94420
94420
|
orientation: 1
|
|
94421
94421
|
/* Orientation.HORIZONTAL */
|
|
94422
94422
|
}), this._previewContainer = Ae(e, Pe("div.preview.inline"));
|
|
@@ -94436,7 +94436,7 @@ let Jj = class extends $N {
|
|
|
94436
94436
|
enabled: !1
|
|
94437
94437
|
}
|
|
94438
94438
|
};
|
|
94439
|
-
this._preview = this._instantiationService.createInstance(dg, this._previewContainer, t, {}, this.editor),
|
|
94439
|
+
this._preview = this._instantiationService.createInstance(dg, this._previewContainer, t, {}, this.editor), Us(this._previewContainer), this._previewNotAvailableMessage = new Gd(_("missingPreviewMessage", "no preview available"), ma, Gd.DEFAULT_CREATION_OPTIONS, null, this._undoRedoService, this._languageService, this._languageConfigurationService), this._treeContainer = Ae(e, Pe("div.ref-tree.inline"));
|
|
94440
94440
|
const i = {
|
|
94441
94441
|
keyboardSupport: this._defaultTreeKeyboardSupport,
|
|
94442
94442
|
accessibilityProvider: new GQe(),
|
|
@@ -94480,7 +94480,7 @@ let Jj = class extends $N {
|
|
|
94480
94480
|
};
|
|
94481
94481
|
this._tree.onDidOpen((s) => {
|
|
94482
94482
|
s.sideBySide ? r(s.element, "side") : s.editorOptions.pinned ? r(s.element, "goto") : r(s.element, "show");
|
|
94483
|
-
}),
|
|
94483
|
+
}), Us(this._treeContainer);
|
|
94484
94484
|
}
|
|
94485
94485
|
_onWidth(e) {
|
|
94486
94486
|
this._dim && this._doLayoutBody(this._dim.height, e);
|
|
@@ -94497,7 +94497,7 @@ let Jj = class extends $N {
|
|
|
94497
94497
|
return this._disposeOnNewModel.clear(), this._model = e, this._model ? this._onNewModel() : Promise.resolve();
|
|
94498
94498
|
}
|
|
94499
94499
|
_onNewModel() {
|
|
94500
|
-
return this._model ? this._model.isEmpty ? (this.setTitle(""), this._messageContainer.innerText = _("noResults", "No results"), Ao(this._messageContainer), Promise.resolve(void 0)) : (
|
|
94500
|
+
return this._model ? this._model.isEmpty ? (this.setTitle(""), this._messageContainer.innerText = _("noResults", "No results"), Ao(this._messageContainer), Promise.resolve(void 0)) : (Us(this._messageContainer), this._decorationsManager = new jT(this._preview, this._model), this._disposeOnNewModel.add(this._decorationsManager), this._disposeOnNewModel.add(this._model.onDidChangeReferenceRange((e) => this._tree.rerender(e))), this._disposeOnNewModel.add(this._preview.onMouseDown((e) => {
|
|
94501
94501
|
const { event: t, target: i } = e;
|
|
94502
94502
|
if (t.detail !== 2)
|
|
94503
94503
|
return;
|
|
@@ -97144,7 +97144,7 @@ tF = ipe([
|
|
|
97144
97144
|
const npe = Ut("IMarkerNavigationService");
|
|
97145
97145
|
let iF = class {
|
|
97146
97146
|
constructor(e, t) {
|
|
97147
|
-
this._markerService = e, this._configService = t, this._provider = new
|
|
97147
|
+
this._markerService = e, this._configService = t, this._provider = new qs();
|
|
97148
97148
|
}
|
|
97149
97149
|
getMarkerList(e) {
|
|
97150
97150
|
for (const t of this._provider) {
|
|
@@ -97859,7 +97859,7 @@ class xqe extends ye {
|
|
|
97859
97859
|
this.clear(), this.disposables.dispose(), super.dispose();
|
|
97860
97860
|
}
|
|
97861
97861
|
}
|
|
97862
|
-
class Dw extends
|
|
97862
|
+
class Dw extends Js {
|
|
97863
97863
|
constructor(e, t) {
|
|
97864
97864
|
t = t || _("moreActions", "More Actions..."), super(Dw.ID, t, void 0, !0), this._menuActions = [], this.toggleDropdownMenu = e;
|
|
97865
97865
|
}
|
|
@@ -98034,14 +98034,14 @@ let gg = $L = class extends ye {
|
|
|
98034
98034
|
return this._dropDownVisible;
|
|
98035
98035
|
}
|
|
98036
98036
|
createCommandAction(e, t, i) {
|
|
98037
|
-
const r = new
|
|
98037
|
+
const r = new Js(e, t, i, !0, () => this._commandService.executeCommand(e)), s = this.keybindingService.lookupKeybinding(e, this._contextKeyService);
|
|
98038
98038
|
let o = t;
|
|
98039
98039
|
return s && (o = _({ key: "content", comment: ["A label", "A keybinding"] }, "{0} ({1})", t, s.getLabel())), r.tooltip = o, r;
|
|
98040
98040
|
}
|
|
98041
98041
|
constructor(e, t, i, r, s, o, a, l, c, d, u) {
|
|
98042
98042
|
super(), this.editor = e, this.withBorder = t, this._position = i, this._currentSuggestionIdx = r, this._suggestionCount = s, this._extraCommands = o, this._commandService = a, this.keybindingService = c, this._contextKeyService = d, this._menuService = u, this.id = `InlineSuggestionHintsContentWidget${$L.id++}`, this.allowEditorOverflow = !0, this.suppressMouseDown = !1, this.nodes = Fr("div.inlineSuggestionsHints", { className: this.withBorder ? ".withBorder" : "" }, [
|
|
98043
98043
|
Fr("div@toolBar")
|
|
98044
|
-
]), this.previousAction = this.createCommandAction(ape, _("previous", "Previous"), ft.asClassName(Eqe)), this.availableSuggestionCountAction = new
|
|
98044
|
+
]), this.previousAction = this.createCommandAction(ape, _("previous", "Previous"), ft.asClassName(Eqe)), this.availableSuggestionCountAction = new Js("inlineSuggestionHints.availableSuggestionCount", "", void 0, !1), this.nextAction = this.createCommandAction(lpe, _("next", "Next"), ft.asClassName(Tqe)), this.inlineCompletionsActionsMenus = this._register(this._menuService.createMenu(X.InlineCompletionsActions, this._contextKeyService)), this.clearAvailableSuggestionCountLabelDebounced = this._register(new Ti(() => {
|
|
98045
98045
|
this.availableSuggestionCountAction.label = "";
|
|
98046
98046
|
}, 100)), this.disableButtonsDebounced = this._register(new Ti(() => {
|
|
98047
98047
|
this.previousAction.enabled = this.nextAction.enabled = !1;
|
|
@@ -102855,7 +102855,7 @@ function DF(n, e = "single", t = !1) {
|
|
|
102855
102855
|
}
|
|
102856
102856
|
return null;
|
|
102857
102857
|
}
|
|
102858
|
-
let
|
|
102858
|
+
let eo = SF = class extends ye {
|
|
102859
102859
|
get editor() {
|
|
102860
102860
|
return this._editor;
|
|
102861
102861
|
}
|
|
@@ -103029,14 +103029,14 @@ let to = SF = class extends ye {
|
|
|
103029
103029
|
).globalFindClipboard && this._editor.hasModel() && !this._editor.getModel().isTooLargeForSyncing() && this._clipboardService.writeFindText(e);
|
|
103030
103030
|
}
|
|
103031
103031
|
};
|
|
103032
|
-
|
|
103033
|
-
|
|
103032
|
+
eo.ID = "editor.contrib.findController";
|
|
103033
|
+
eo = SF = kpe([
|
|
103034
103034
|
nc(1, yt),
|
|
103035
103035
|
nc(2, Vl),
|
|
103036
103036
|
nc(3, Th),
|
|
103037
103037
|
nc(4, Xn)
|
|
103038
|
-
],
|
|
103039
|
-
let IF = class extends
|
|
103038
|
+
], eo);
|
|
103039
|
+
let IF = class extends eo {
|
|
103040
103040
|
constructor(e, t, i, r, s, o, a, l) {
|
|
103041
103041
|
super(e, i, a, l, o), this._contextViewService = t, this._keybindingService = r, this._themeService = s, this._widget = null, this._findOptionsWidget = null;
|
|
103042
103042
|
}
|
|
@@ -103101,7 +103101,7 @@ const tZe = Kce(new qce({
|
|
|
103101
103101
|
}
|
|
103102
103102
|
}));
|
|
103103
103103
|
tZe.addImplementation(0, (n, e, t) => {
|
|
103104
|
-
const i =
|
|
103104
|
+
const i = eo.get(e);
|
|
103105
103105
|
return i ? i.start({
|
|
103106
103106
|
forceRevealReplace: !1,
|
|
103107
103107
|
seedSearchStringFromSelection: e.getOption(
|
|
@@ -103192,7 +103192,7 @@ class nZe extends Je {
|
|
|
103192
103192
|
}
|
|
103193
103193
|
run(e, t, i) {
|
|
103194
103194
|
return Nm(this, void 0, void 0, function* () {
|
|
103195
|
-
const r =
|
|
103195
|
+
const r = eo.get(t);
|
|
103196
103196
|
if (r) {
|
|
103197
103197
|
const s = i ? {
|
|
103198
103198
|
searchString: i.searchString,
|
|
@@ -103250,7 +103250,7 @@ class rZe extends Je {
|
|
|
103250
103250
|
}
|
|
103251
103251
|
run(e, t) {
|
|
103252
103252
|
return Nm(this, void 0, void 0, function* () {
|
|
103253
|
-
const i =
|
|
103253
|
+
const i = eo.get(t);
|
|
103254
103254
|
i && (yield i.start({
|
|
103255
103255
|
forceRevealReplace: !1,
|
|
103256
103256
|
seedSearchStringFromSelection: "multiple",
|
|
@@ -103270,7 +103270,7 @@ class rZe extends Je {
|
|
|
103270
103270
|
class Ope extends Je {
|
|
103271
103271
|
run(e, t) {
|
|
103272
103272
|
return Nm(this, void 0, void 0, function* () {
|
|
103273
|
-
const i =
|
|
103273
|
+
const i = eo.get(t);
|
|
103274
103274
|
i && !this._run(i) && (yield i.start({
|
|
103275
103275
|
forceRevealReplace: !1,
|
|
103276
103276
|
seedSearchStringFromSelection: i.getState().searchString.length === 0 && t.getOption(
|
|
@@ -103362,7 +103362,7 @@ class aZe extends Je {
|
|
|
103362
103362
|
}), this._highlightDecorations = [];
|
|
103363
103363
|
}
|
|
103364
103364
|
run(e, t, i) {
|
|
103365
|
-
const r =
|
|
103365
|
+
const r = eo.get(t);
|
|
103366
103366
|
if (!r)
|
|
103367
103367
|
return;
|
|
103368
103368
|
const s = r.getState().matchesCount;
|
|
@@ -103435,7 +103435,7 @@ class aZe extends Je {
|
|
|
103435
103435
|
class Ppe extends Je {
|
|
103436
103436
|
run(e, t) {
|
|
103437
103437
|
return Nm(this, void 0, void 0, function* () {
|
|
103438
|
-
const i =
|
|
103438
|
+
const i = eo.get(t);
|
|
103439
103439
|
if (!i)
|
|
103440
103440
|
return;
|
|
103441
103441
|
const r = DF(t, "single", !1);
|
|
@@ -103521,7 +103521,7 @@ dZe.addImplementation(0, (n, e, t) => {
|
|
|
103521
103521
|
/* EditorOption.readOnly */
|
|
103522
103522
|
))
|
|
103523
103523
|
return !1;
|
|
103524
|
-
const i =
|
|
103524
|
+
const i = eo.get(e);
|
|
103525
103525
|
if (!i)
|
|
103526
103526
|
return !1;
|
|
103527
103527
|
const r = e.getSelection(), s = i.isFindInputFocused(), o = !r.isEmpty() && r.startLineNumber === r.endLineNumber && e.getOption(
|
|
@@ -103549,7 +103549,7 @@ dZe.addImplementation(0, (n, e, t) => {
|
|
|
103549
103549
|
});
|
|
103550
103550
|
});
|
|
103551
103551
|
di(
|
|
103552
|
-
|
|
103552
|
+
eo.ID,
|
|
103553
103553
|
IF,
|
|
103554
103554
|
0
|
|
103555
103555
|
/* EditorContributionInstantiation.Eager */
|
|
@@ -103561,7 +103561,7 @@ je(oZe);
|
|
|
103561
103561
|
je(aZe);
|
|
103562
103562
|
je(lZe);
|
|
103563
103563
|
je(cZe);
|
|
103564
|
-
const Hc = Tr.bindToContribution(
|
|
103564
|
+
const Hc = Tr.bindToContribution(eo.get);
|
|
103565
103565
|
Ve(new Hc({
|
|
103566
103566
|
id: zi.CloseFindWidgetCommand,
|
|
103567
103567
|
precondition: Eh,
|
|
@@ -104771,7 +104771,7 @@ let Xd = q0 = class extends ye {
|
|
|
104771
104771
|
if (s && r === this.foldingRegionPromise) {
|
|
104772
104772
|
let o;
|
|
104773
104773
|
if (this._foldingImportsByDefault && !this._currentModelHasFoldedImports) {
|
|
104774
|
-
const d = s.setCollapsedAllOfType(
|
|
104774
|
+
const d = s.setCollapsedAllOfType(Ks.Imports.value, !0);
|
|
104775
104775
|
d && (o = Pc.capture(this.editor), this._currentModelHasFoldedImports = d);
|
|
104776
104776
|
}
|
|
104777
104777
|
const a = this.editor.getSelections(), l = a ? a.map((d) => d.startLineNumber) : [];
|
|
@@ -104907,7 +104907,7 @@ class Wpe {
|
|
|
104907
104907
|
(e !== this._computed || t !== this._limited) && (this._computed = e, this._limited = t, this._onDidChange.fire());
|
|
104908
104908
|
}
|
|
104909
104909
|
}
|
|
104910
|
-
class
|
|
104910
|
+
class Bs extends Je {
|
|
104911
104911
|
runEditorCommand(e, t, i) {
|
|
104912
104912
|
const r = e.get(Bi), s = Xd.get(t);
|
|
104913
104913
|
if (!s)
|
|
@@ -104934,15 +104934,15 @@ class zs extends Je {
|
|
|
104934
104934
|
}
|
|
104935
104935
|
function Vpe(n) {
|
|
104936
104936
|
if (!Eo(n)) {
|
|
104937
|
-
if (!
|
|
104937
|
+
if (!Qs(n))
|
|
104938
104938
|
return !1;
|
|
104939
104939
|
const e = n;
|
|
104940
|
-
if (!Eo(e.levels) && !Qf(e.levels) || !Eo(e.direction) && !
|
|
104940
|
+
if (!Eo(e.levels) && !Qf(e.levels) || !Eo(e.direction) && !Xs(e.direction) || !Eo(e.selectionLines) && (!Array.isArray(e.selectionLines) || !e.selectionLines.every(Qf)))
|
|
104941
104941
|
return !1;
|
|
104942
104942
|
}
|
|
104943
104943
|
return !0;
|
|
104944
104944
|
}
|
|
104945
|
-
class OZe extends
|
|
104945
|
+
class OZe extends Bs {
|
|
104946
104946
|
constructor() {
|
|
104947
104947
|
super({
|
|
104948
104948
|
id: "editor.unfold",
|
|
@@ -105000,7 +105000,7 @@ class OZe extends zs {
|
|
|
105000
105000
|
r && r.direction === "up" ? jpe(t, !1, s, o) : M1(t, !1, s, o);
|
|
105001
105001
|
}
|
|
105002
105002
|
}
|
|
105003
|
-
class PZe extends
|
|
105003
|
+
class PZe extends Bs {
|
|
105004
105004
|
constructor() {
|
|
105005
105005
|
super({
|
|
105006
105006
|
id: "editor.unfoldRecursively",
|
|
@@ -105023,7 +105023,7 @@ class PZe extends zs {
|
|
|
105023
105023
|
M1(t, !1, Number.MAX_VALUE, this.getSelectedLines(i));
|
|
105024
105024
|
}
|
|
105025
105025
|
}
|
|
105026
|
-
class RZe extends
|
|
105026
|
+
class RZe extends Bs {
|
|
105027
105027
|
constructor() {
|
|
105028
105028
|
super({
|
|
105029
105029
|
id: "editor.fold",
|
|
@@ -105080,7 +105080,7 @@ class RZe extends zs {
|
|
|
105080
105080
|
typeof o != "number" && typeof a != "string" ? gZe(t, !0, s) : a === "up" ? jpe(t, !0, o || 1, s) : M1(t, !0, o || 1, s);
|
|
105081
105081
|
}
|
|
105082
105082
|
}
|
|
105083
|
-
class jZe extends
|
|
105083
|
+
class jZe extends Bs {
|
|
105084
105084
|
constructor() {
|
|
105085
105085
|
super({
|
|
105086
105086
|
id: "editor.toggleFold",
|
|
@@ -105104,7 +105104,7 @@ class jZe extends zs {
|
|
|
105104
105104
|
Rpe(t, 1, r);
|
|
105105
105105
|
}
|
|
105106
105106
|
}
|
|
105107
|
-
class FZe extends
|
|
105107
|
+
class FZe extends Bs {
|
|
105108
105108
|
constructor() {
|
|
105109
105109
|
super({
|
|
105110
105110
|
id: "editor.foldRecursively",
|
|
@@ -105128,7 +105128,7 @@ class FZe extends zs {
|
|
|
105128
105128
|
M1(t, !0, Number.MAX_VALUE, r);
|
|
105129
105129
|
}
|
|
105130
105130
|
}
|
|
105131
|
-
class BZe extends
|
|
105131
|
+
class BZe extends Bs {
|
|
105132
105132
|
constructor() {
|
|
105133
105133
|
super({
|
|
105134
105134
|
id: "editor.foldAllBlockComments",
|
|
@@ -105149,7 +105149,7 @@ class BZe extends zs {
|
|
|
105149
105149
|
}
|
|
105150
105150
|
invoke(e, t, i, r, s) {
|
|
105151
105151
|
if (t.regions.hasTypes())
|
|
105152
|
-
kH(t,
|
|
105152
|
+
kH(t, Ks.Comment.value, !0);
|
|
105153
105153
|
else {
|
|
105154
105154
|
const o = i.getModel();
|
|
105155
105155
|
if (!o)
|
|
@@ -105162,7 +105162,7 @@ class BZe extends zs {
|
|
|
105162
105162
|
}
|
|
105163
105163
|
}
|
|
105164
105164
|
}
|
|
105165
|
-
class zZe extends
|
|
105165
|
+
class zZe extends Bs {
|
|
105166
105166
|
constructor() {
|
|
105167
105167
|
super({
|
|
105168
105168
|
id: "editor.foldAllMarkerRegions",
|
|
@@ -105183,7 +105183,7 @@ class zZe extends zs {
|
|
|
105183
105183
|
}
|
|
105184
105184
|
invoke(e, t, i, r, s) {
|
|
105185
105185
|
if (t.regions.hasTypes())
|
|
105186
|
-
kH(t,
|
|
105186
|
+
kH(t, Ks.Region.value, !0);
|
|
105187
105187
|
else {
|
|
105188
105188
|
const o = i.getModel();
|
|
105189
105189
|
if (!o)
|
|
@@ -105196,7 +105196,7 @@ class zZe extends zs {
|
|
|
105196
105196
|
}
|
|
105197
105197
|
}
|
|
105198
105198
|
}
|
|
105199
|
-
class WZe extends
|
|
105199
|
+
class WZe extends Bs {
|
|
105200
105200
|
constructor() {
|
|
105201
105201
|
super({
|
|
105202
105202
|
id: "editor.unfoldAllMarkerRegions",
|
|
@@ -105217,7 +105217,7 @@ class WZe extends zs {
|
|
|
105217
105217
|
}
|
|
105218
105218
|
invoke(e, t, i, r, s) {
|
|
105219
105219
|
if (t.regions.hasTypes())
|
|
105220
|
-
kH(t,
|
|
105220
|
+
kH(t, Ks.Region.value, !1);
|
|
105221
105221
|
else {
|
|
105222
105222
|
const o = i.getModel();
|
|
105223
105223
|
if (!o)
|
|
@@ -105230,7 +105230,7 @@ class WZe extends zs {
|
|
|
105230
105230
|
}
|
|
105231
105231
|
}
|
|
105232
105232
|
}
|
|
105233
|
-
class VZe extends
|
|
105233
|
+
class VZe extends Bs {
|
|
105234
105234
|
constructor() {
|
|
105235
105235
|
super({
|
|
105236
105236
|
id: "editor.foldAllExcept",
|
|
@@ -105254,7 +105254,7 @@ class VZe extends zs {
|
|
|
105254
105254
|
Fpe(t, !0, r);
|
|
105255
105255
|
}
|
|
105256
105256
|
}
|
|
105257
|
-
class HZe extends
|
|
105257
|
+
class HZe extends Bs {
|
|
105258
105258
|
constructor() {
|
|
105259
105259
|
super({
|
|
105260
105260
|
id: "editor.unfoldAllExcept",
|
|
@@ -105278,7 +105278,7 @@ class HZe extends zs {
|
|
|
105278
105278
|
Fpe(t, !1, r);
|
|
105279
105279
|
}
|
|
105280
105280
|
}
|
|
105281
|
-
class UZe extends
|
|
105281
|
+
class UZe extends Bs {
|
|
105282
105282
|
constructor() {
|
|
105283
105283
|
super({
|
|
105284
105284
|
id: "editor.foldAll",
|
|
@@ -105301,7 +105301,7 @@ class UZe extends zs {
|
|
|
105301
105301
|
M1(t, !0);
|
|
105302
105302
|
}
|
|
105303
105303
|
}
|
|
105304
|
-
class YZe extends
|
|
105304
|
+
class YZe extends Bs {
|
|
105305
105305
|
constructor() {
|
|
105306
105306
|
super({
|
|
105307
105307
|
id: "editor.unfoldAll",
|
|
@@ -105324,7 +105324,7 @@ class YZe extends zs {
|
|
|
105324
105324
|
M1(t, !1);
|
|
105325
105325
|
}
|
|
105326
105326
|
}
|
|
105327
|
-
class xm extends
|
|
105327
|
+
class xm extends Bs {
|
|
105328
105328
|
getFoldingLevel() {
|
|
105329
105329
|
return parseInt(this.id.substr(xm.ID_PREFIX.length));
|
|
105330
105330
|
}
|
|
@@ -105334,7 +105334,7 @@ class xm extends zs {
|
|
|
105334
105334
|
}
|
|
105335
105335
|
xm.ID_PREFIX = "editor.foldLevel";
|
|
105336
105336
|
xm.ID = (n) => xm.ID_PREFIX + n;
|
|
105337
|
-
class GZe extends
|
|
105337
|
+
class GZe extends Bs {
|
|
105338
105338
|
constructor() {
|
|
105339
105339
|
super({
|
|
105340
105340
|
id: "editor.gotoParentFold",
|
|
@@ -105361,7 +105361,7 @@ class GZe extends zs {
|
|
|
105361
105361
|
}
|
|
105362
105362
|
}
|
|
105363
105363
|
}
|
|
105364
|
-
class QZe extends
|
|
105364
|
+
class QZe extends Bs {
|
|
105365
105365
|
constructor() {
|
|
105366
105366
|
super({
|
|
105367
105367
|
id: "editor.gotoPreviousFold",
|
|
@@ -105388,7 +105388,7 @@ class QZe extends zs {
|
|
|
105388
105388
|
}
|
|
105389
105389
|
}
|
|
105390
105390
|
}
|
|
105391
|
-
class qZe extends
|
|
105391
|
+
class qZe extends Bs {
|
|
105392
105392
|
constructor() {
|
|
105393
105393
|
super({
|
|
105394
105394
|
id: "editor.gotoNextFold",
|
|
@@ -105415,7 +105415,7 @@ class qZe extends zs {
|
|
|
105415
105415
|
}
|
|
105416
105416
|
}
|
|
105417
105417
|
}
|
|
105418
|
-
class KZe extends
|
|
105418
|
+
class KZe extends Bs {
|
|
105419
105419
|
constructor() {
|
|
105420
105420
|
super({
|
|
105421
105421
|
id: "editor.createFoldingRangeFromSelection",
|
|
@@ -105462,7 +105462,7 @@ class KZe extends zs {
|
|
|
105462
105462
|
}
|
|
105463
105463
|
}
|
|
105464
105464
|
}
|
|
105465
|
-
class ZZe extends
|
|
105465
|
+
class ZZe extends Bs {
|
|
105466
105466
|
constructor() {
|
|
105467
105467
|
super({
|
|
105468
105468
|
id: "editor.removeManualFoldingRanges",
|
|
@@ -105558,7 +105558,7 @@ ni.registerCommand("_executeFoldingRangeProvider", function(n, ...e) {
|
|
|
105558
105558
|
if (u)
|
|
105559
105559
|
for (let f = 0; f < u.length; f++) {
|
|
105560
105560
|
const g = u.getType(f);
|
|
105561
|
-
h.push({ start: u.getStartLineNumber(f), end: u.getEndLineNumber(f), kind: g ?
|
|
105561
|
+
h.push({ start: u.getStartLineNumber(f), end: u.getEndLineNumber(f), kind: g ? Ks.fromValue(g) : void 0 });
|
|
105562
105562
|
}
|
|
105563
105563
|
return h;
|
|
105564
105564
|
} finally {
|
|
@@ -106405,7 +106405,7 @@ function pXe(n, e) {
|
|
|
106405
106405
|
l(u, d), d = Ln(d, u.length);
|
|
106406
106406
|
}
|
|
106407
106407
|
}
|
|
106408
|
-
return l(s,
|
|
106408
|
+
return l(s, Zs), o;
|
|
106409
106409
|
}
|
|
106410
106410
|
class mXe {
|
|
106411
106411
|
constructor(e) {
|
|
@@ -106482,7 +106482,7 @@ class N1 {
|
|
|
106482
106482
|
this._children = [];
|
|
106483
106483
|
}
|
|
106484
106484
|
appendChild(e) {
|
|
106485
|
-
return e instanceof
|
|
106485
|
+
return e instanceof Gs && this._children[this._children.length - 1] instanceof Gs ? this._children[this._children.length - 1].value += e.value : (e.parent = this, this._children.push(e)), this;
|
|
106486
106486
|
}
|
|
106487
106487
|
replace(e, t) {
|
|
106488
106488
|
const { parent: i } = e, r = i.children.indexOf(e), s = i.children.slice(0);
|
|
@@ -106514,7 +106514,7 @@ class N1 {
|
|
|
106514
106514
|
return 0;
|
|
106515
106515
|
}
|
|
106516
106516
|
}
|
|
106517
|
-
class
|
|
106517
|
+
class Gs extends N1 {
|
|
106518
106518
|
constructor(e) {
|
|
106519
106519
|
super(), this.value = e;
|
|
106520
106520
|
}
|
|
@@ -106525,7 +106525,7 @@ class Qs extends N1 {
|
|
|
106525
106525
|
return this.value.length;
|
|
106526
106526
|
}
|
|
106527
106527
|
clone() {
|
|
106528
|
-
return new
|
|
106528
|
+
return new Gs(this.value);
|
|
106529
106529
|
}
|
|
106530
106530
|
}
|
|
106531
106531
|
class Ype extends N1 {
|
|
@@ -106553,7 +106553,7 @@ class x1 extends N1 {
|
|
|
106553
106553
|
super(...arguments), this.options = [];
|
|
106554
106554
|
}
|
|
106555
106555
|
appendChild(e) {
|
|
106556
|
-
return e instanceof
|
|
106556
|
+
return e instanceof Gs && (e.parent = this, this.options.push(e)), this;
|
|
106557
106557
|
}
|
|
106558
106558
|
toString() {
|
|
106559
106559
|
return this.options[0].value;
|
|
@@ -106620,7 +106620,7 @@ class xw extends Ype {
|
|
|
106620
106620
|
}
|
|
106621
106621
|
resolve(e) {
|
|
106622
106622
|
let t = e.resolve(this);
|
|
106623
|
-
return this.transform && (t = this.transform.resolve(t || "")), t !== void 0 ? (this._children = [new
|
|
106623
|
+
return this.transform && (t = this.transform.resolve(t || "")), t !== void 0 ? (this._children = [new Gs(t)], !0) : !1;
|
|
106624
106624
|
}
|
|
106625
106625
|
clone() {
|
|
106626
106626
|
const e = new xw(this.name);
|
|
@@ -106753,7 +106753,7 @@ class $b {
|
|
|
106753
106753
|
// \$, \\, \} -> just text
|
|
106754
106754
|
_parseEscaped(e) {
|
|
106755
106755
|
let t;
|
|
106756
|
-
return (t = this._accept(5, !0)) ? (t = this._accept(0, !0) || this._accept(4, !0) || this._accept(5, !0) || t, e.appendChild(new
|
|
106756
|
+
return (t = this._accept(5, !0)) ? (t = this._accept(0, !0) || this._accept(4, !0) || this._accept(5, !0) || t, e.appendChild(new Gs(t)), !0) : !1;
|
|
106757
106757
|
}
|
|
106758
106758
|
// $foo -> variable, $1 -> tabstop
|
|
106759
106759
|
_parseTabstopOrVariableName(e) {
|
|
@@ -106788,7 +106788,7 @@ class $b {
|
|
|
106788
106788
|
))
|
|
106789
106789
|
return e.appendChild(s), !0;
|
|
106790
106790
|
if (!this._parse(s))
|
|
106791
|
-
return e.appendChild(new
|
|
106791
|
+
return e.appendChild(new Gs("${" + t + ":")), s.children.forEach(e.appendChild, e), !0;
|
|
106792
106792
|
}
|
|
106793
106793
|
else if (s.index > 0 && this._accept(
|
|
106794
106794
|
7
|
|
@@ -106830,7 +106830,7 @@ class $b {
|
|
|
106830
106830
|
return this._backTo(t), !1;
|
|
106831
106831
|
i.push(r);
|
|
106832
106832
|
}
|
|
106833
|
-
return i.length === 0 ? (this._backTo(t), !1) : (e.appendChild(new
|
|
106833
|
+
return i.length === 0 ? (this._backTo(t), !1) : (e.appendChild(new Gs(i.join(""))), !0);
|
|
106834
106834
|
}
|
|
106835
106835
|
// ${foo:<children>}, ${foo} -> variable
|
|
106836
106836
|
_parseComplexVariable(e) {
|
|
@@ -106856,7 +106856,7 @@ class $b {
|
|
|
106856
106856
|
))
|
|
106857
106857
|
return e.appendChild(s), !0;
|
|
106858
106858
|
if (!this._parse(s))
|
|
106859
|
-
return e.appendChild(new
|
|
106859
|
+
return e.appendChild(new Gs("${" + t + ":")), s.children.forEach(e.appendChild, e), !0;
|
|
106860
106860
|
}
|
|
106861
106861
|
else
|
|
106862
106862
|
return this._accept(
|
|
@@ -106891,7 +106891,7 @@ class $b {
|
|
|
106891
106891
|
); ) {
|
|
106892
106892
|
let s;
|
|
106893
106893
|
if (s = this._accept(5, !0)) {
|
|
106894
|
-
s = this._accept(5, !0) || this._accept(6, !0) || s, t.appendChild(new
|
|
106894
|
+
s = this._accept(5, !0) || this._accept(6, !0) || s, t.appendChild(new Gs(s));
|
|
106895
106895
|
continue;
|
|
106896
106896
|
}
|
|
106897
106897
|
if (!(this._parseFormatString(t) || this._parseAnything(t)))
|
|
@@ -106999,7 +106999,7 @@ class $b {
|
|
|
106999
106999
|
return this._backTo(t), !1;
|
|
107000
107000
|
}
|
|
107001
107001
|
_parseAnything(e) {
|
|
107002
|
-
return this._token.type !== 14 ? (e.appendChild(new
|
|
107002
|
+
return this._token.type !== 14 ? (e.appendChild(new Gs(this._scanner.tokenText(this._token))), this._accept(void 0), !0) : !1;
|
|
107003
107003
|
}
|
|
107004
107004
|
}
|
|
107005
107005
|
var r4 = globalThis && globalThis.__awaiter || function(n, e, t, i) {
|
|
@@ -107143,7 +107143,7 @@ class fx {
|
|
|
107143
107143
|
u !== 0 && (l = new j(l.startLineNumber, l.startColumn, l.endLineNumber, l.endColumn + u));
|
|
107144
107144
|
}
|
|
107145
107145
|
const d = new $b().parse(e.insertText.snippet);
|
|
107146
|
-
d.children.length === 1 && d.children[0] instanceof
|
|
107146
|
+
d.children.length === 1 && d.children[0] instanceof Gs ? (o = d.children[0].value, a = void 0) : (o = d.toString(), a = {
|
|
107147
107147
|
snippet: e.insertText.snippet,
|
|
107148
107148
|
range: l
|
|
107149
107149
|
});
|
|
@@ -107764,7 +107764,7 @@ class $X {
|
|
|
107764
107764
|
if (i && r && e.snippet) {
|
|
107765
107765
|
const s = this._model.getLineContent(this._selection.startLineNumber), o = ki(s, 0, this._selection.startColumn - 1);
|
|
107766
107766
|
let a = o;
|
|
107767
|
-
e.snippet.walk((c) => c === e ? !1 : (c instanceof
|
|
107767
|
+
e.snippet.walk((c) => c === e ? !1 : (c instanceof Gs && (a = ki(Wd(c.value).pop())), !0));
|
|
107768
107768
|
const l = om(a, o);
|
|
107769
107769
|
i = i.replace(/(\r\n|\r|\n)(.*)/g, (c, d, u) => `${d}${a.substr(l)}${u}`);
|
|
107770
107770
|
}
|
|
@@ -108107,7 +108107,7 @@ let px = Jl = class {
|
|
|
108107
108107
|
const o = e.getLineContent(t.lineNumber), a = ki(o, 0, t.column - 1);
|
|
108108
108108
|
let l;
|
|
108109
108109
|
return r.walk((c) => {
|
|
108110
|
-
if (!(c instanceof
|
|
108110
|
+
if (!(c instanceof Gs) || c.parent instanceof x1 || s && !s.has(c))
|
|
108111
108111
|
return !0;
|
|
108112
108112
|
const d = c.value.split(/\r\n|\r|\n/);
|
|
108113
108113
|
if (i) {
|
|
@@ -108123,7 +108123,7 @@ let px = Jl = class {
|
|
|
108123
108123
|
d[f] = e.normalizeIndentation(a + d[f]);
|
|
108124
108124
|
}
|
|
108125
108125
|
const u = d.join(e.getEOL());
|
|
108126
|
-
return u !== c.value && (c.parent.replace(c, [new
|
|
108126
|
+
return u !== c.value && (c.parent.replace(c, [new Gs(u)]), l = void 0), !0;
|
|
108127
108127
|
}), a;
|
|
108128
108128
|
}
|
|
108129
108129
|
static adjustSelection(e, t, i, r) {
|
|
@@ -108182,7 +108182,7 @@ let px = Jl = class {
|
|
|
108182
108182
|
for (let g = 0; g < t.length; g++) {
|
|
108183
108183
|
const { range: p, template: m } = t[g];
|
|
108184
108184
|
if (g > 0) {
|
|
108185
|
-
const S = t[g - 1].range, D = j.fromPositions(S.getEndPosition(), p.getStartPosition()), I = new
|
|
108185
|
+
const S = t[g - 1].range, D = j.fromPositions(S.getEndPosition(), p.getStartPosition()), I = new Gs(c.getValueInRange(D));
|
|
108186
108186
|
u.appendChild(I), f += I.value.length;
|
|
108187
108187
|
}
|
|
108188
108188
|
const v = d.parseFragment(m, u);
|
|
@@ -109167,7 +109167,7 @@ class ea {
|
|
|
109167
109167
|
let u = o.has(d) ? o.get(d) : 0;
|
|
109168
109168
|
if (u -= 1, o.set(d, Math.max(0, u)), u < 0) {
|
|
109169
109169
|
let h = s.get(d);
|
|
109170
|
-
h || (h = new
|
|
109170
|
+
h || (h = new qs(), s.set(d, h)), h.push(l.range);
|
|
109171
109171
|
}
|
|
109172
109172
|
}
|
|
109173
109173
|
r = l.range.getEndPosition();
|
|
@@ -110010,7 +110010,7 @@ let BF = class {
|
|
|
110010
110010
|
const a = s.length > 1e5 ? `${s.substr(0, 1e5)}…` : s;
|
|
110011
110011
|
this._type.textContent = a, this._type.title = a, Ao(this._type), this._type.classList.toggle("auto-wrap", !/\r?\n^\s+/gmi.test(a));
|
|
110012
110012
|
} else
|
|
110013
|
-
Gr(this._type), this._type.title = "",
|
|
110013
|
+
Gr(this._type), this._type.title = "", Us(this._type), this.domNode.classList.add("no-type");
|
|
110014
110014
|
if (Gr(this._docs), typeof o == "string")
|
|
110015
110015
|
this._docs.classList.remove("markdown-docs"), this._docs.textContent = o;
|
|
110016
110016
|
else if (o) {
|
|
@@ -110272,11 +110272,11 @@ let zF = class {
|
|
|
110272
110272
|
) >= 0 && (s.extraClasses = (s.extraClasses || []).concat(["deprecated"]), s.matches = []), i.iconLabel.setLabel(e.textLabel, void 0, s), typeof r.label == "string" ? (i.parametersLabel.textContent = "", i.detailsLabel.textContent = l4(r.detail || ""), i.root.classList.add("string-label")) : (i.parametersLabel.textContent = l4(r.label.detail || ""), i.detailsLabel.textContent = l4(r.label.description || ""), i.root.classList.remove("string-label")), this._editor.getOption(
|
|
110273
110273
|
117
|
|
110274
110274
|
/* EditorOption.suggest */
|
|
110275
|
-
).showInlineDetails ? Ao(i.detailsLabel) :
|
|
110275
|
+
).showInlineDetails ? Ao(i.detailsLabel) : Us(i.detailsLabel), HH(e) ? (i.right.classList.add("can-expand-details"), Ao(i.readMore), i.readMore.onmousedown = (a) => {
|
|
110276
110276
|
a.stopPropagation(), a.preventDefault();
|
|
110277
110277
|
}, i.readMore.onclick = (a) => {
|
|
110278
110278
|
a.stopPropagation(), a.preventDefault(), this._onDidToggleDetails.fire();
|
|
110279
|
-
}) : (i.right.classList.remove("can-expand-details"),
|
|
110279
|
+
}) : (i.right.classList.remove("can-expand-details"), Us(i.readMore), i.readMore.onmousedown = null, i.readMore.onclick = null);
|
|
110280
110280
|
}
|
|
110281
110281
|
disposeTemplate(e) {
|
|
110282
110282
|
e.disposables.dispose();
|
|
@@ -110500,22 +110500,22 @@ let kw = Z0 = class {
|
|
|
110500
110500
|
/* State.Frozen */
|
|
110501
110501
|
), this.element.domNode.classList.remove("message"), e) {
|
|
110502
110502
|
case 0:
|
|
110503
|
-
|
|
110503
|
+
Us(this._messageElement, this._listElement, this._status.element), this._details.hide(!0), this._status.hide(), this._contentWidget.hide(), this._ctxSuggestWidgetVisible.reset(), this._ctxSuggestWidgetMultipleSuggestions.reset(), this._ctxSuggestWidgetHasFocusedSuggestion.reset(), this._showTimeout.cancel(), this.element.domNode.classList.remove("visible"), this._list.splice(0, this._list.length), this._focusedItem = void 0, this._cappedHeight = void 0, this._explainMode = !1;
|
|
110504
110504
|
break;
|
|
110505
110505
|
case 1:
|
|
110506
|
-
this.element.domNode.classList.add("message"), this._messageElement.textContent = Z0.LOADING_MESSAGE,
|
|
110506
|
+
this.element.domNode.classList.add("message"), this._messageElement.textContent = Z0.LOADING_MESSAGE, Us(this._listElement, this._status.element), Ao(this._messageElement), this._details.hide(), this._show(), this._focusedItem = void 0, tg(Z0.LOADING_MESSAGE);
|
|
110507
110507
|
break;
|
|
110508
110508
|
case 2:
|
|
110509
|
-
this.element.domNode.classList.add("message"), this._messageElement.textContent = Z0.NO_SUGGESTIONS_MESSAGE,
|
|
110509
|
+
this.element.domNode.classList.add("message"), this._messageElement.textContent = Z0.NO_SUGGESTIONS_MESSAGE, Us(this._listElement, this._status.element), Ao(this._messageElement), this._details.hide(), this._show(), this._focusedItem = void 0, tg(Z0.NO_SUGGESTIONS_MESSAGE);
|
|
110510
110510
|
break;
|
|
110511
110511
|
case 3:
|
|
110512
|
-
|
|
110512
|
+
Us(this._messageElement), Ao(this._listElement, this._status.element), this._show();
|
|
110513
110513
|
break;
|
|
110514
110514
|
case 4:
|
|
110515
|
-
|
|
110515
|
+
Us(this._messageElement), Ao(this._listElement, this._status.element), this._show();
|
|
110516
110516
|
break;
|
|
110517
110517
|
case 5:
|
|
110518
|
-
|
|
110518
|
+
Us(this._messageElement), Ao(this._listElement, this._status.element), this._details.show(), this._show();
|
|
110519
110519
|
break;
|
|
110520
110520
|
}
|
|
110521
110521
|
}
|
|
@@ -111495,7 +111495,7 @@ Ve(new ro({
|
|
|
111495
111495
|
id: "insertBestCompletion",
|
|
111496
111496
|
precondition: xe.and(J.textInputFocus, xe.equals("config.editor.tabCompletion", "on"), Ew.AtEnd, At.Visible.toNegated(), Am.OtherSuggestions.toNegated(), Zr.InSnippetMode.toNegated()),
|
|
111497
111497
|
handler: (n, e) => {
|
|
111498
|
-
n.triggerSuggestAndAcceptBest(
|
|
111498
|
+
n.triggerSuggestAndAcceptBest(Qs(e) ? Object.assign({ fallback: "tab" }, e) : { fallback: "tab" });
|
|
111499
111499
|
},
|
|
111500
111500
|
kbOpts: {
|
|
111501
111501
|
weight: Ca,
|
|
@@ -112675,7 +112675,7 @@ function FJe(n, e, t, i) {
|
|
|
112675
112675
|
return;
|
|
112676
112676
|
const d = i.part.location, u = [], h = new Set(Ur.getMenuItems(X.EditorContext).map((g) => nv(g) ? g.command.id : VT()));
|
|
112677
112677
|
for (const g of Ps.all())
|
|
112678
|
-
h.has(g.desc.id) && u.push(new
|
|
112678
|
+
h.has(g.desc.id) && u.push(new Js(g.desc.id, Tl.label(g.desc, { renderShortTitle: !0 }), void 0, !0, () => XC(this, void 0, void 0, function* () {
|
|
112679
112679
|
const p = yield s.createModelReference(d.uri);
|
|
112680
112680
|
try {
|
|
112681
112681
|
const m = new Qb(p.object.textEditorModel, j.getStartPosition(d.range)), v = i.item.anchor.range;
|
|
@@ -112686,7 +112686,7 @@ function FJe(n, e, t, i) {
|
|
|
112686
112686
|
})));
|
|
112687
112687
|
if (i.part.command) {
|
|
112688
112688
|
const { command: g } = i.part;
|
|
112689
|
-
u.push(new Ar()), u.push(new
|
|
112689
|
+
u.push(new Ar()), u.push(new Js(g.id, g.title, void 0, !0, () => XC(this, void 0, void 0, function* () {
|
|
112690
112690
|
var p;
|
|
112691
112691
|
try {
|
|
112692
112692
|
yield a.executeCommand(g.id, ...(p = g.arguments) !== null && p !== void 0 ? p : []);
|
|
@@ -115646,11 +115646,11 @@ class T1 extends Je {
|
|
|
115646
115646
|
return;
|
|
115647
115647
|
const r = t._getViewModel();
|
|
115648
115648
|
if (r) {
|
|
115649
|
-
const s = r.getCursorStates(), o =
|
|
115649
|
+
const s = r.getCursorStates(), o = eo.get(t);
|
|
115650
115650
|
if (o)
|
|
115651
115651
|
this._run(i, o);
|
|
115652
115652
|
else {
|
|
115653
|
-
const a = e.get(_t).createInstance(
|
|
115653
|
+
const a = e.get(_t).createInstance(eo, t);
|
|
115654
115654
|
this._run(i, a), a.dispose();
|
|
115655
115655
|
}
|
|
115656
115656
|
Eg(s, r.getCursorStates());
|
|
@@ -115810,7 +115810,7 @@ let Bw = ZF = class extends ye {
|
|
|
115810
115810
|
})), this._register(e.onDidChangeModelContent((r) => {
|
|
115811
115811
|
this._isEnabled && this.updateSoon.schedule();
|
|
115812
115812
|
}));
|
|
115813
|
-
const i =
|
|
115813
|
+
const i = eo.get(e);
|
|
115814
115814
|
i && this._register(i.getState().onFindReplaceStateChange((r) => {
|
|
115815
115815
|
this._update();
|
|
115816
115816
|
})), this.updateSoon.schedule();
|
|
@@ -115827,7 +115827,7 @@ let Bw = ZF = class extends ye {
|
|
|
115827
115827
|
const s = Em.get(i);
|
|
115828
115828
|
if (!s)
|
|
115829
115829
|
return null;
|
|
115830
|
-
const o =
|
|
115830
|
+
const o = eo.get(i);
|
|
115831
115831
|
if (!o)
|
|
115832
115832
|
return null;
|
|
115833
115833
|
let a = s.getSession(o);
|
|
@@ -119155,7 +119155,7 @@ let gB = class extends ye {
|
|
|
119155
119155
|
for (const o of e.actions)
|
|
119156
119156
|
this._register(this.instantiationService.createInstance(hB, this.messageActionsContainer, Object.assign(Object.assign({}, o), { tabIndex: -1 }), {}));
|
|
119157
119157
|
const s = Ae(this.element, Pe("div.action-container"));
|
|
119158
|
-
this.actionBar = this._register(new tl(s)), this.actionBar.push(this._register(new
|
|
119158
|
+
this.actionBar = this._register(new tl(s)), this.actionBar.push(this._register(new Js("banner.close", "Close Banner", ft.asClassName(sfe), !0, () => {
|
|
119159
119159
|
typeof e.onClose == "function" && e.onClose();
|
|
119160
119160
|
})), { icon: !0, label: !1 }), this.actionBar.setFocusable(!1);
|
|
119161
119161
|
}
|
|
@@ -121645,7 +121645,7 @@ function jme(n = null, e = !1) {
|
|
|
121645
121645
|
const t = Bd(n), i = jme(t[0], e);
|
|
121646
121646
|
return t.length > 1 ? _("error.moreErrors", "{0} ({1} errors in total)", i, t.length) : i;
|
|
121647
121647
|
}
|
|
121648
|
-
if (
|
|
121648
|
+
if (Xs(n))
|
|
121649
121649
|
return n;
|
|
121650
121650
|
if (n.detail) {
|
|
121651
121651
|
const t = n.detail;
|
|
@@ -122532,7 +122532,7 @@ const Bme = () => {
|
|
|
122532
122532
|
git().then((t) => {
|
|
122533
122533
|
e(t.result.superAdmin ?? !1);
|
|
122534
122534
|
}).catch((t) => {
|
|
122535
|
-
|
|
122535
|
+
to(t);
|
|
122536
122536
|
});
|
|
122537
122537
|
}, []), { isSuperAdmin: n };
|
|
122538
122538
|
}, Cit = (n, e) => {
|
|
@@ -123020,7 +123020,7 @@ const a0 = ({
|
|
|
123020
123020
|
try {
|
|
123021
123021
|
await n();
|
|
123022
123022
|
} catch (r) {
|
|
123023
|
-
|
|
123023
|
+
to(r);
|
|
123024
123024
|
} finally {
|
|
123025
123025
|
t(!1);
|
|
123026
123026
|
}
|
|
@@ -123628,7 +123628,7 @@ const qit = kh, Kit = (n) => /* @__PURE__ */ $.createElement("svg", { width: 18,
|
|
|
123628
123628
|
f(bG(y.result, a)), w(!1);
|
|
123629
123629
|
});
|
|
123630
123630
|
} catch (y) {
|
|
123631
|
-
|
|
123631
|
+
to(y), w(!1);
|
|
123632
123632
|
}
|
|
123633
123633
|
}, [d]), nt(() => {
|
|
123634
123634
|
try {
|
|
@@ -123642,7 +123642,7 @@ const qit = kh, Kit = (n) => /* @__PURE__ */ $.createElement("svg", { width: 18,
|
|
|
123642
123642
|
p(bG(y.result, a));
|
|
123643
123643
|
});
|
|
123644
123644
|
} catch (y) {
|
|
123645
|
-
|
|
123645
|
+
to(y), w(!1);
|
|
123646
123646
|
}
|
|
123647
123647
|
}, [l, a, c]), nt(() => (n(!0), () => {
|
|
123648
123648
|
n(!1);
|
|
@@ -140703,7 +140703,7 @@ const blt = ({ handleClick: n, imagePath: e, isExpanded: t, registryType: i }) =
|
|
|
140703
140703
|
);
|
|
140704
140704
|
return ibe(e);
|
|
140705
140705
|
} catch (e) {
|
|
140706
|
-
throw
|
|
140706
|
+
throw to(e), e;
|
|
140707
140707
|
}
|
|
140708
140708
|
}, Clt = async (n) => {
|
|
140709
140709
|
try {
|
|
@@ -140712,7 +140712,7 @@ const blt = ({ handleClick: n, imagePath: e, isExpanded: t, registryType: i }) =
|
|
|
140712
140712
|
);
|
|
140713
140713
|
return ibe(e);
|
|
140714
140714
|
} catch (e) {
|
|
140715
|
-
throw
|
|
140715
|
+
throw to(e), e;
|
|
140716
140716
|
}
|
|
140717
140717
|
}, ylt = (n) => /* @__PURE__ */ $.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ $.createElement("path", { d: "M10 3.125V16.875M10 16.875L15.625 11.25M10 16.875L4.375 11.25", stroke: "#596168", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), wlt = ({ material: n, pipelineName: e, ciPipelineId: t, selectCommit: i }) => {
|
|
140718
140718
|
const r = (s, o, a) => {
|
|
@@ -141511,10 +141511,10 @@ const Ayt = ({
|
|
|
141511
141511
|
}, 0), xi.success("Downloaded Successfully");
|
|
141512
141512
|
} else {
|
|
141513
141513
|
const a = await o?.json();
|
|
141514
|
-
|
|
141514
|
+
throw new vc(a);
|
|
141515
141515
|
}
|
|
141516
141516
|
} catch (o) {
|
|
141517
|
-
|
|
141517
|
+
to(o);
|
|
141518
141518
|
} finally {
|
|
141519
141519
|
e(!1);
|
|
141520
141520
|
}
|
|
@@ -141553,7 +141553,7 @@ xi.configure({
|
|
|
141553
141553
|
toastClassName: "devtron-toast",
|
|
141554
141554
|
bodyClassName: "devtron-toast__body"
|
|
141555
141555
|
});
|
|
141556
|
-
function
|
|
141556
|
+
function to(n, e = !0, t = !1) {
|
|
141557
141557
|
n instanceof vc && Array.isArray(n.errors) ? n.errors.map(({ userMessage: i, internalMessage: r }) => {
|
|
141558
141558
|
n.code === 403 && (i === Pr.UNAUTHORIZED || i === Pr.FORBIDDEN) ? t || G1e() : xi.error(i || r);
|
|
141559
141559
|
}) : (n.code !== 403 && n.code !== 408 && Doe(n), e && (n.message ? xi.error(n.message) : xi.error("Some Error Occurred")));
|
|
@@ -141919,7 +141919,7 @@ function dbe(n, e) {
|
|
|
141919
141919
|
break;
|
|
141920
141920
|
return t;
|
|
141921
141921
|
} catch (t) {
|
|
141922
|
-
return
|
|
141922
|
+
return to(t), !0;
|
|
141923
141923
|
}
|
|
141924
141924
|
}
|
|
141925
141925
|
function ect(n, e) {
|
|
@@ -143432,7 +143432,7 @@ const Yct = ({
|
|
|
143432
143432
|
}));
|
|
143433
143433
|
o && o(H.result?.appReleaseTags), l && l(H.result?.tagsEditable), g(K), m(H.result?.imageComment?.comment), E(K), y(H.result?.imageComment?.comment), k([]), q([]), F([]), ae(), N(!1), M(""), r && r(e, K, H.result?.imageComment);
|
|
143434
143434
|
}).catch((H) => {
|
|
143435
|
-
H.errors?.[0]?.userMessage?.appReleaseTags?.length ? (xi.error(H.errors?.[0]?.internalMessage), ge(H.errors)) :
|
|
143435
|
+
H.errors?.[0]?.userMessage?.appReleaseTags?.length ? (xi.error(H.errors?.[0]?.internalMessage), ge(H.errors)) : to(H);
|
|
143436
143436
|
}).finally(() => {
|
|
143437
143437
|
re(!1);
|
|
143438
143438
|
});
|
|
@@ -144975,7 +144975,7 @@ const Smt = Zbe, Dmt = Jbe, ywt = (n) => /* @__PURE__ */ C.jsx(
|
|
|
144975
144975
|
const v = mse(p, m[0]);
|
|
144976
144976
|
u(v);
|
|
144977
144977
|
}).catch((g) => {
|
|
144978
|
-
|
|
144978
|
+
to(g);
|
|
144979
144979
|
});
|
|
144980
144980
|
}, []);
|
|
144981
144981
|
const u = (g) => {
|
|
@@ -145414,7 +145414,7 @@ const Ql = {
|
|
|
145414
145414
|
try {
|
|
145415
145415
|
c(!0), await s(N), u(!0), f(N);
|
|
145416
145416
|
} catch (E) {
|
|
145417
|
-
|
|
145417
|
+
to(E);
|
|
145418
145418
|
} finally {
|
|
145419
145419
|
c(!1);
|
|
145420
145420
|
}
|
|
@@ -145780,7 +145780,7 @@ export {
|
|
|
145780
145780
|
k0t as aF,
|
|
145781
145781
|
O0t as aG,
|
|
145782
145782
|
G1e as aH,
|
|
145783
|
-
|
|
145783
|
+
to as aI,
|
|
145784
145784
|
Yc as aJ,
|
|
145785
145785
|
rM as aK,
|
|
145786
145786
|
Mr as aL,
|
|
@@ -146011,7 +146011,7 @@ export {
|
|
|
146011
146011
|
B0t as dp,
|
|
146012
146012
|
xIe as dq,
|
|
146013
146013
|
F0t as dr,
|
|
146014
|
-
|
|
146014
|
+
Hs as ds,
|
|
146015
146015
|
Gae as dt,
|
|
146016
146016
|
LIe as du,
|
|
146017
146017
|
s2 as dv,
|
|
@@ -146030,7 +146030,7 @@ export {
|
|
|
146030
146030
|
hf as e6,
|
|
146031
146031
|
txe as e7,
|
|
146032
146032
|
ixe as e8,
|
|
146033
|
-
|
|
146033
|
+
zs as e9,
|
|
146034
146034
|
bnt as eA,
|
|
146035
146035
|
zxe as eB,
|
|
146036
146036
|
tnt as eC,
|