@devtron-labs/devtron-fe-common-lib 0.2.6-beta-11 → 0.2.6-beta-13
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-a17f3adb.js → cssMode-8162d28c.js} +1 -1
- package/dist/{freemarker2-43537118.js → freemarker2-d87adc4c.js} +1 -1
- package/dist/{handlebars-46d9fb0b.js → handlebars-2d235a2d.js} +1 -1
- package/dist/{html-2930a367.js → html-d2746dea.js} +1 -1
- package/dist/{htmlMode-52a6c086.js → htmlMode-c889c03d.js} +1 -1
- package/dist/{index-3334c4f0.js → index-3187fa9d.js} +655 -652
- package/dist/index.js +1 -1
- package/dist/{javascript-e485e916.js → javascript-c09ad77c.js} +1 -1
- package/dist/{jsonMode-56d93b95.js → jsonMode-c091867f.js} +1 -1
- package/dist/{liquid-b43c5339.js → liquid-6eaf726c.js} +1 -1
- package/dist/{mdx-02e8afa3.js → mdx-4fb20b5f.js} +1 -1
- package/dist/{python-862b0e44.js → python-e2ac7988.js} +1 -1
- package/dist/{razor-76cc1641.js → razor-f0e5d3d7.js} +1 -1
- package/dist/{tsMode-5558ffee.js → tsMode-16192a46.js} +1 -1
- package/dist/{typescript-dc2a163f.js → typescript-a3c0580d.js} +1 -1
- package/dist/{xml-f6bdfb45.js → xml-2d55b860.js} +1 -1
- package/dist/{yaml-5f104a3f.js → yaml-54941288.js} +1 -1
- package/package.json +1 -1
|
@@ -377,17 +377,17 @@ class Swe {
|
|
|
377
377
|
this.code = e.code || 0, this.userMessage = e.userMessage || "", this.internalMessage = e.internalMessage || "", this.moreInfo = e.moreInfo || "";
|
|
378
378
|
}
|
|
379
379
|
}
|
|
380
|
-
class
|
|
380
|
+
class Qc extends Error {
|
|
381
381
|
constructor(t) {
|
|
382
382
|
super();
|
|
383
383
|
hi(this, "code");
|
|
384
384
|
hi(this, "errors");
|
|
385
385
|
this.code = t.code;
|
|
386
386
|
const i = t.errors.reduce((r, s) => (r += `${s.internalMessage || s.userMessage}`, r), "");
|
|
387
|
-
this.name = `[${t.code.toString()}]`, this.message = i, this.errors = t.errors.map((r) => new Swe(r)), Object.setPrototypeOf(this,
|
|
387
|
+
this.name = `[${t.code.toString()}]`, this.message = i, this.errors = t.errors.map((r) => new Swe(r)), Object.setPrototypeOf(this, Qc.prototype);
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
|
-
var rI = /* @__PURE__ */ ((n) => (n.black = "black", n.white = "white", n))(rI || {}), xa = /* @__PURE__ */ ((n) => (n.CHECKED = "CHECKED", n.INTERMEDIATE = "INTERMEDIATE", n.BULK_CHECKED = "BULK_CHECKED", n))(xa || {}),
|
|
390
|
+
var rI = /* @__PURE__ */ ((n) => (n.black = "black", n.white = "white", n))(rI || {}), xa = /* @__PURE__ */ ((n) => (n.CHECKED = "CHECKED", n.INTERMEDIATE = "INTERMEDIATE", n.BULK_CHECKED = "BULK_CHECKED", n))(xa || {}), Mc = /* @__PURE__ */ ((n) => (n.Large = "large", n.Medium = "medium", n.SMALL = "small", n))(Mc || {});
|
|
391
391
|
const FC = {
|
|
392
392
|
Security: "SECURITY",
|
|
393
393
|
Changes: "CHANGES"
|
|
@@ -470,7 +470,7 @@ function Awe() {
|
|
|
470
470
|
async function Mwe(n, e) {
|
|
471
471
|
const t = e.status;
|
|
472
472
|
let i = e.statusText || wQ[t];
|
|
473
|
-
const r = new
|
|
473
|
+
const r = new Qc({ code: t, errors: [] });
|
|
474
474
|
if (n !== "application/json")
|
|
475
475
|
i = `${wQ[t]}. Please try again.`;
|
|
476
476
|
else {
|
|
@@ -496,7 +496,7 @@ async function Nwe(n, e, t, i, r = !1, s) {
|
|
|
496
496
|
const l = a.headers.get("Content-Type");
|
|
497
497
|
if (a.status === 401) {
|
|
498
498
|
if (r)
|
|
499
|
-
throw new
|
|
499
|
+
throw new Qc({
|
|
500
500
|
code: 401,
|
|
501
501
|
errors: [
|
|
502
502
|
{ code: 401, internalMessage: "Please login again", userMessage: "Please login again" }
|
|
@@ -509,7 +509,7 @@ async function Nwe(n, e, t, i, r = !1, s) {
|
|
|
509
509
|
if (l === "application/json")
|
|
510
510
|
return a.json().then((c) => {
|
|
511
511
|
if (c.code >= 300 && c.code <= 599)
|
|
512
|
-
throw new
|
|
512
|
+
throw new Qc({ code: c.code, errors: c.errors });
|
|
513
513
|
return c;
|
|
514
514
|
});
|
|
515
515
|
if (l === "octet-stream" || l === "application/octet-stream")
|
|
@@ -523,7 +523,7 @@ async function Nwe(n, e, t, i, r = !1, s) {
|
|
|
523
523
|
internalMessage: a.message,
|
|
524
524
|
moreInfo: a.message
|
|
525
525
|
};
|
|
526
|
-
throw new
|
|
526
|
+
throw new Qc({ code: 0, errors: [l] });
|
|
527
527
|
}
|
|
528
528
|
);
|
|
529
529
|
}
|
|
@@ -541,7 +541,7 @@ function sI(n, e, t, i, r) {
|
|
|
541
541
|
Nwe(n, e, t, i?.signal || o, i?.preventAutoLogout || !1, r),
|
|
542
542
|
a
|
|
543
543
|
]).catch((l) => {
|
|
544
|
-
throw l instanceof
|
|
544
|
+
throw l instanceof Qc ? l : new Qc({
|
|
545
545
|
code: 408,
|
|
546
546
|
errors: [
|
|
547
547
|
{
|
|
@@ -1365,7 +1365,7 @@ function Rwe(n) {
|
|
|
1365
1365
|
return nt.createElement(nt.Fragment, null, d);
|
|
1366
1366
|
};
|
|
1367
1367
|
}
|
|
1368
|
-
var
|
|
1368
|
+
var qc = {
|
|
1369
1369
|
list: /* @__PURE__ */ new Map(),
|
|
1370
1370
|
emitQueue: /* @__PURE__ */ new Map(),
|
|
1371
1371
|
on: function(e, t) {
|
|
@@ -1421,7 +1421,7 @@ function Fwe(n) {
|
|
|
1421
1421
|
}
|
|
1422
1422
|
}).current;
|
|
1423
1423
|
et(function() {
|
|
1424
|
-
return c.containerId = n.containerId,
|
|
1424
|
+
return c.containerId = n.containerId, qc.cancelEmit(
|
|
1425
1425
|
3
|
|
1426
1426
|
/* WillUnmount */
|
|
1427
1427
|
).on(
|
|
@@ -1439,13 +1439,13 @@ function Fwe(n) {
|
|
|
1439
1439
|
2,
|
|
1440
1440
|
c
|
|
1441
1441
|
), function() {
|
|
1442
|
-
return
|
|
1442
|
+
return qc.emit(
|
|
1443
1443
|
3,
|
|
1444
1444
|
c
|
|
1445
1445
|
);
|
|
1446
1446
|
};
|
|
1447
1447
|
}, []), et(function() {
|
|
1448
|
-
c.isToastActive = l, c.displayedToast = r.length,
|
|
1448
|
+
c.isToastActive = l, c.displayedToast = r.length, qc.emit(
|
|
1449
1449
|
4,
|
|
1450
1450
|
r.length,
|
|
1451
1451
|
n.containerId
|
|
@@ -1880,7 +1880,7 @@ function Kwe(n) {
|
|
|
1880
1880
|
return n && (Rm(n.toastId) || bE(n.toastId)) ? n.toastId : vce();
|
|
1881
1881
|
}
|
|
1882
1882
|
function oI(n, e) {
|
|
1883
|
-
return gb.size > 0 ?
|
|
1883
|
+
return gb.size > 0 ? qc.emit(
|
|
1884
1884
|
0,
|
|
1885
1885
|
n,
|
|
1886
1886
|
e
|
|
@@ -1953,13 +1953,13 @@ ki.dark = function(n, e) {
|
|
|
1953
1953
|
}, e)));
|
|
1954
1954
|
};
|
|
1955
1955
|
ki.dismiss = function(n) {
|
|
1956
|
-
return
|
|
1956
|
+
return qc.emit(
|
|
1957
1957
|
1,
|
|
1958
1958
|
n
|
|
1959
1959
|
);
|
|
1960
1960
|
};
|
|
1961
1961
|
ki.clearWaitingQueue = function(n) {
|
|
1962
|
-
return n === void 0 && (n = {}),
|
|
1962
|
+
return n === void 0 && (n = {}), qc.emit(
|
|
1963
1963
|
5,
|
|
1964
1964
|
n
|
|
1965
1965
|
);
|
|
@@ -1990,11 +1990,11 @@ ki.done = function(n) {
|
|
|
1990
1990
|
});
|
|
1991
1991
|
};
|
|
1992
1992
|
ki.onChange = function(n) {
|
|
1993
|
-
return No(n) &&
|
|
1993
|
+
return No(n) && qc.on(
|
|
1994
1994
|
4,
|
|
1995
1995
|
n
|
|
1996
1996
|
), function() {
|
|
1997
|
-
No(n) &&
|
|
1997
|
+
No(n) && qc.off(
|
|
1998
1998
|
4,
|
|
1999
1999
|
n
|
|
2000
2000
|
);
|
|
@@ -2005,11 +2005,11 @@ ki.configure = function(n) {
|
|
|
2005
2005
|
};
|
|
2006
2006
|
ki.POSITION = hce;
|
|
2007
2007
|
ki.TYPE = ef;
|
|
2008
|
-
|
|
2008
|
+
qc.on(
|
|
2009
2009
|
2,
|
|
2010
2010
|
function(n) {
|
|
2011
2011
|
v7 = n.containerId || n, gb.set(v7, n), b7.forEach(function(e) {
|
|
2012
|
-
|
|
2012
|
+
qc.emit(
|
|
2013
2013
|
0,
|
|
2014
2014
|
e.content,
|
|
2015
2015
|
e.options
|
|
@@ -2019,7 +2019,7 @@ Qc.on(
|
|
|
2019
2019
|
).on(
|
|
2020
2020
|
3,
|
|
2021
2021
|
function(n) {
|
|
2022
|
-
gb.delete(n.containerId || n), gb.size === 0 &&
|
|
2022
|
+
gb.delete(n.containerId || n), gb.size === 0 && qc.off(
|
|
2023
2023
|
0
|
|
2024
2024
|
/* Show */
|
|
2025
2025
|
).off(
|
|
@@ -4114,12 +4114,12 @@ function QW(n) {
|
|
|
4114
4114
|
function wD(n) {
|
|
4115
4115
|
return n && n.Math == Math ? n : void 0;
|
|
4116
4116
|
}
|
|
4117
|
-
const
|
|
4117
|
+
const Kc = typeof globalThis == "object" && wD(globalThis) || // eslint-disable-next-line no-restricted-globals
|
|
4118
4118
|
typeof window == "object" && wD(window) || typeof self == "object" && wD(self) || typeof global == "object" && wD(global) || function() {
|
|
4119
4119
|
return this;
|
|
4120
4120
|
}() || {};
|
|
4121
4121
|
function xce(n, e, t) {
|
|
4122
|
-
const i = t ||
|
|
4122
|
+
const i = t || Kc, r = i.__SENTRY__ = i.__SENTRY__ || {};
|
|
4123
4123
|
return r[n] || (r[n] = e());
|
|
4124
4124
|
}
|
|
4125
4125
|
const zSe = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, WSe = "Sentry Logger ", kQ = [
|
|
@@ -4132,9 +4132,9 @@ const zSe = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, WSe = "Sentry Log
|
|
|
4132
4132
|
"trace"
|
|
4133
4133
|
], OQ = {};
|
|
4134
4134
|
function Ace(n) {
|
|
4135
|
-
if (!("console" in
|
|
4135
|
+
if (!("console" in Kc))
|
|
4136
4136
|
return n();
|
|
4137
|
-
const e =
|
|
4137
|
+
const e = Kc.console, t = {}, i = Object.keys(OQ);
|
|
4138
4138
|
i.forEach((r) => {
|
|
4139
4139
|
const s = OQ[r];
|
|
4140
4140
|
t[r] = e[r], e[r] = s;
|
|
@@ -4161,7 +4161,7 @@ function VSe() {
|
|
|
4161
4161
|
return zSe ? kQ.forEach((t) => {
|
|
4162
4162
|
e[t] = (...i) => {
|
|
4163
4163
|
n && Ace(() => {
|
|
4164
|
-
|
|
4164
|
+
Kc.console[t](`${WSe}[${t}]:`, ...i);
|
|
4165
4165
|
});
|
|
4166
4166
|
};
|
|
4167
4167
|
}) : kQ.forEach((t) => {
|
|
@@ -4206,7 +4206,7 @@ function HSe(n) {
|
|
|
4206
4206
|
}
|
|
4207
4207
|
}
|
|
4208
4208
|
function rd() {
|
|
4209
|
-
const n =
|
|
4209
|
+
const n = Kc, e = n.crypto || n.msCrypto;
|
|
4210
4210
|
let t = () => Math.random() * 16;
|
|
4211
4211
|
try {
|
|
4212
4212
|
if (e && e.randomUUID)
|
|
@@ -4338,7 +4338,7 @@ function qW() {
|
|
|
4338
4338
|
return Date.now() / Mce;
|
|
4339
4339
|
}
|
|
4340
4340
|
function GSe() {
|
|
4341
|
-
const { performance: n } =
|
|
4341
|
+
const { performance: n } = Kc;
|
|
4342
4342
|
if (!n || !n.now)
|
|
4343
4343
|
return qW;
|
|
4344
4344
|
const e = Date.now() - n.now(), t = n.timeOrigin == null ? e : n.timeOrigin;
|
|
@@ -4346,7 +4346,7 @@ function GSe() {
|
|
|
4346
4346
|
}
|
|
4347
4347
|
const Nce = GSe();
|
|
4348
4348
|
(() => {
|
|
4349
|
-
const { performance: n } =
|
|
4349
|
+
const { performance: n } = Kc;
|
|
4350
4350
|
if (!n || !n.now)
|
|
4351
4351
|
return;
|
|
4352
4352
|
const e = 3600 * 1e3, t = n.now(), i = Date.now(), r = n.timeOrigin ? Math.abs(n.timeOrigin + t - i) : e, s = r < e, o = n.timing && n.timing.navigationStart, l = typeof o == "number" ? Math.abs(o + t - i) : e, c = l < e;
|
|
@@ -5296,7 +5296,7 @@ Sentry.init({...});
|
|
|
5296
5296
|
* @deprecated Use top level `startSession` instead.
|
|
5297
5297
|
*/
|
|
5298
5298
|
startSession(e) {
|
|
5299
|
-
const { scope: t, client: i } = this.getStackTop(), { release: r, environment: s = Ece } = i && i.getOptions() || {}, { userAgent: o } =
|
|
5299
|
+
const { scope: t, client: i } = this.getStackTop(), { release: r, environment: s = Ece } = i && i.getOptions() || {}, { userAgent: o } = Kc.navigator || {}, a = QSe({
|
|
5300
5300
|
release: r,
|
|
5301
5301
|
environment: s,
|
|
5302
5302
|
user: t.getUser(),
|
|
@@ -5336,10 +5336,10 @@ Sentry.init({...});
|
|
|
5336
5336
|
}
|
|
5337
5337
|
}
|
|
5338
5338
|
function IE() {
|
|
5339
|
-
return
|
|
5339
|
+
return Kc.__SENTRY__ = Kc.__SENTRY__ || {
|
|
5340
5340
|
extensions: {},
|
|
5341
5341
|
hub: void 0
|
|
5342
|
-
},
|
|
5342
|
+
}, Kc;
|
|
5343
5343
|
}
|
|
5344
5344
|
function RQ(n) {
|
|
5345
5345
|
const e = IE(), t = N7(e);
|
|
@@ -5485,7 +5485,7 @@ function su(n) {
|
|
|
5485
5485
|
function Bce(n) {
|
|
5486
5486
|
st.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + n);
|
|
5487
5487
|
}
|
|
5488
|
-
function
|
|
5488
|
+
function ac(n, e) {
|
|
5489
5489
|
var t = !0;
|
|
5490
5490
|
return Hf(function() {
|
|
5491
5491
|
if (st.deprecationHandler != null && st.deprecationHandler(null, n), t) {
|
|
@@ -5702,13 +5702,13 @@ var BQ = {
|
|
|
5702
5702
|
years: "year",
|
|
5703
5703
|
year: "year"
|
|
5704
5704
|
};
|
|
5705
|
-
function
|
|
5705
|
+
function lc(n) {
|
|
5706
5706
|
return typeof n == "string" ? BQ[n] || BQ[n.toLowerCase()] : void 0;
|
|
5707
5707
|
}
|
|
5708
5708
|
function tV(n) {
|
|
5709
5709
|
var e = {}, t, i;
|
|
5710
5710
|
for (i in n)
|
|
5711
|
-
gn(n, i) && (t =
|
|
5711
|
+
gn(n, i) && (t = lc(i), t && (e[t] = n[i]));
|
|
5712
5712
|
return e;
|
|
5713
5713
|
}
|
|
5714
5714
|
var RIe = {
|
|
@@ -5786,7 +5786,7 @@ function VIe(n, e, t) {
|
|
|
5786
5786
|
function EE(n) {
|
|
5787
5787
|
return n % 4 === 0 && n % 100 !== 0 || n % 400 === 0;
|
|
5788
5788
|
}
|
|
5789
|
-
var ko = 0, Ch = 1, Fu = 2, Os = 3,
|
|
5789
|
+
var ko = 0, Ch = 1, Fu = 2, Os = 3, Hc = 4, yh = 5, nm = 6, HIe = 7, UIe = 8;
|
|
5790
5790
|
Ut("Y", 0, 0, function() {
|
|
5791
5791
|
var n = this.year();
|
|
5792
5792
|
return n <= 9999 ? gd(n, 4) : "+" + n;
|
|
@@ -5875,7 +5875,7 @@ function Qce(n, e, t) {
|
|
|
5875
5875
|
}
|
|
5876
5876
|
}
|
|
5877
5877
|
function YIe(n) {
|
|
5878
|
-
return n =
|
|
5878
|
+
return n = lc(n), Td(this[n]) ? this[n]() : this;
|
|
5879
5879
|
}
|
|
5880
5880
|
function QIe(n, e) {
|
|
5881
5881
|
if (typeof n == "object") {
|
|
@@ -5883,7 +5883,7 @@ function QIe(n, e) {
|
|
|
5883
5883
|
var t = jIe(n), i, r = t.length;
|
|
5884
5884
|
for (i = 0; i < r; i++)
|
|
5885
5885
|
this[t[i].unit](n[t[i].unit]);
|
|
5886
|
-
} else if (n =
|
|
5886
|
+
} else if (n = lc(n), Td(this[n]))
|
|
5887
5887
|
return this[n](e);
|
|
5888
5888
|
return this;
|
|
5889
5889
|
}
|
|
@@ -6266,19 +6266,19 @@ Xn(["h", "hh"], function(n, e, t) {
|
|
|
6266
6266
|
});
|
|
6267
6267
|
Xn("hmm", function(n, e, t) {
|
|
6268
6268
|
var i = n.length - 2;
|
|
6269
|
-
e[Os] = Wi(n.substr(0, i)), e[
|
|
6269
|
+
e[Os] = Wi(n.substr(0, i)), e[Hc] = Wi(n.substr(i)), Ni(t).bigHour = !0;
|
|
6270
6270
|
});
|
|
6271
6271
|
Xn("hmmss", function(n, e, t) {
|
|
6272
6272
|
var i = n.length - 4, r = n.length - 2;
|
|
6273
|
-
e[Os] = Wi(n.substr(0, i)), e[
|
|
6273
|
+
e[Os] = Wi(n.substr(0, i)), e[Hc] = Wi(n.substr(i, 2)), e[yh] = Wi(n.substr(r)), Ni(t).bigHour = !0;
|
|
6274
6274
|
});
|
|
6275
6275
|
Xn("Hmm", function(n, e, t) {
|
|
6276
6276
|
var i = n.length - 2;
|
|
6277
|
-
e[Os] = Wi(n.substr(0, i)), e[
|
|
6277
|
+
e[Os] = Wi(n.substr(0, i)), e[Hc] = Wi(n.substr(i));
|
|
6278
6278
|
});
|
|
6279
6279
|
Xn("Hmmss", function(n, e, t) {
|
|
6280
6280
|
var i = n.length - 4, r = n.length - 2;
|
|
6281
|
-
e[Os] = Wi(n.substr(0, i)), e[
|
|
6281
|
+
e[Os] = Wi(n.substr(0, i)), e[Hc] = Wi(n.substr(i, 2)), e[yh] = Wi(n.substr(r));
|
|
6282
6282
|
});
|
|
6283
6283
|
function EDe(n) {
|
|
6284
6284
|
return (n + "").toLowerCase().charAt(0) === "p";
|
|
@@ -6392,7 +6392,7 @@ function BDe() {
|
|
|
6392
6392
|
}
|
|
6393
6393
|
function uV(n) {
|
|
6394
6394
|
var e, t = n._a;
|
|
6395
|
-
return t && Ni(n).overflow === -2 && (e = t[Ch] < 0 || t[Ch] > 11 ? Ch : t[Fu] < 1 || t[Fu] > sV(t[ko], t[Ch]) ? Fu : t[Os] < 0 || t[Os] > 24 || t[Os] === 24 && (t[
|
|
6395
|
+
return t && Ni(n).overflow === -2 && (e = t[Ch] < 0 || t[Ch] > 11 ? Ch : t[Fu] < 1 || t[Fu] > sV(t[ko], t[Ch]) ? Fu : t[Os] < 0 || t[Os] > 24 || t[Os] === 24 && (t[Hc] !== 0 || t[yh] !== 0 || t[nm] !== 0) ? Os : t[Hc] < 0 || t[Hc] > 59 ? Hc : t[yh] < 0 || t[yh] > 59 ? yh : t[nm] < 0 || t[nm] > 999 ? nm : -1, Ni(n)._overflowDayOfYear && (e < ko || e > Fu) && (e = Fu), Ni(n)._overflowWeeks && e === -1 && (e = HIe), Ni(n)._overflowWeekday && e === -1 && (e = UIe), Ni(n).overflow = e), n;
|
|
6396
6396
|
}
|
|
6397
6397
|
var zDe = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, WDe = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, VDe = /Z|[+-]\d\d(?::?\d\d)?/, ID = [
|
|
6398
6398
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
@@ -6537,7 +6537,7 @@ function XDe(n) {
|
|
|
6537
6537
|
return;
|
|
6538
6538
|
n._strict ? n._isValid = !1 : st.createFromInputFallback(n);
|
|
6539
6539
|
}
|
|
6540
|
-
st.createFromInputFallback =
|
|
6540
|
+
st.createFromInputFallback = ac(
|
|
6541
6541
|
"value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",
|
|
6542
6542
|
function(n) {
|
|
6543
6543
|
n._d = /* @__PURE__ */ new Date(n._i + (n._useUTC ? " UTC" : ""));
|
|
@@ -6561,7 +6561,7 @@ function dV(n) {
|
|
|
6561
6561
|
n._a[e] = i[e] = r[e];
|
|
6562
6562
|
for (; e < 7; e++)
|
|
6563
6563
|
n._a[e] = i[e] = n._a[e] == null ? e === 2 ? 1 : 0 : n._a[e];
|
|
6564
|
-
n._a[Os] === 24 && n._a[
|
|
6564
|
+
n._a[Os] === 24 && n._a[Hc] === 0 && n._a[yh] === 0 && n._a[nm] === 0 && (n._nextDay = !0, n._a[Os] = 0), n._d = (n._useUTC ? lw : sDe).apply(
|
|
6565
6565
|
null,
|
|
6566
6566
|
i
|
|
6567
6567
|
), s = n._useUTC ? n._d.getUTCDay() : n._d.getDay(), n._tzm != null && n._d.setUTCMinutes(n._d.getUTCMinutes() - n._tzm), n._nextDay && (n._a[Os] = 24), n._w && typeof n._w.d < "u" && n._w.d !== s && (Ni(n).weekdayMismatch = !0);
|
|
@@ -6646,13 +6646,13 @@ function aue(n, e, t, i, r) {
|
|
|
6646
6646
|
function yr(n, e, t, i) {
|
|
6647
6647
|
return aue(n, e, t, i, !1);
|
|
6648
6648
|
}
|
|
6649
|
-
var sLe =
|
|
6649
|
+
var sLe = ac(
|
|
6650
6650
|
"moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
6651
6651
|
function() {
|
|
6652
6652
|
var n = yr.apply(null, arguments);
|
|
6653
6653
|
return this.isValid() && n.isValid() ? n < this ? this : n : DE();
|
|
6654
6654
|
}
|
|
6655
|
-
), oLe =
|
|
6655
|
+
), oLe = ac(
|
|
6656
6656
|
"moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
6657
6657
|
function() {
|
|
6658
6658
|
var n = yr.apply(null, arguments);
|
|
@@ -6821,7 +6821,7 @@ function fu(n, e) {
|
|
|
6821
6821
|
y: 0,
|
|
6822
6822
|
d: Wi(i[Fu]) * r,
|
|
6823
6823
|
h: Wi(i[Os]) * r,
|
|
6824
|
-
m: Wi(i[
|
|
6824
|
+
m: Wi(i[Hc]) * r,
|
|
6825
6825
|
s: Wi(i[yh]) * r,
|
|
6826
6826
|
ms: Wi(P7(i[nm] * 1e3)) * r
|
|
6827
6827
|
// the millisecond decimal point is included in the match
|
|
@@ -6938,11 +6938,11 @@ function RLe() {
|
|
|
6938
6938
|
}
|
|
6939
6939
|
function jLe(n, e) {
|
|
6940
6940
|
var t = su(n) ? n : yr(n);
|
|
6941
|
-
return this.isValid() && t.isValid() ? (e =
|
|
6941
|
+
return this.isValid() && t.isValid() ? (e = lc(e) || "millisecond", e === "millisecond" ? this.valueOf() > t.valueOf() : t.valueOf() < this.clone().startOf(e).valueOf()) : !1;
|
|
6942
6942
|
}
|
|
6943
6943
|
function FLe(n, e) {
|
|
6944
6944
|
var t = su(n) ? n : yr(n);
|
|
6945
|
-
return this.isValid() && t.isValid() ? (e =
|
|
6945
|
+
return this.isValid() && t.isValid() ? (e = lc(e) || "millisecond", e === "millisecond" ? this.valueOf() < t.valueOf() : this.clone().endOf(e).valueOf() < t.valueOf()) : !1;
|
|
6946
6946
|
}
|
|
6947
6947
|
function BLe(n, e, t, i) {
|
|
6948
6948
|
var r = su(n) ? n : yr(n), s = su(e) ? e : yr(e);
|
|
@@ -6950,7 +6950,7 @@ function BLe(n, e, t, i) {
|
|
|
6950
6950
|
}
|
|
6951
6951
|
function zLe(n, e) {
|
|
6952
6952
|
var t = su(n) ? n : yr(n), i;
|
|
6953
|
-
return this.isValid() && t.isValid() ? (e =
|
|
6953
|
+
return this.isValid() && t.isValid() ? (e = lc(e) || "millisecond", e === "millisecond" ? this.valueOf() === t.valueOf() : (i = t.valueOf(), this.clone().startOf(e).valueOf() <= i && i <= this.clone().endOf(e).valueOf())) : !1;
|
|
6954
6954
|
}
|
|
6955
6955
|
function WLe(n, e) {
|
|
6956
6956
|
return this.isSame(n, e) || this.isAfter(n, e);
|
|
@@ -6964,7 +6964,7 @@ function HLe(n, e, t) {
|
|
|
6964
6964
|
return NaN;
|
|
6965
6965
|
if (i = gV(n, this), !i.isValid())
|
|
6966
6966
|
return NaN;
|
|
6967
|
-
switch (r = (i.utcOffset() - this.utcOffset()) * 6e4, e =
|
|
6967
|
+
switch (r = (i.utcOffset() - this.utcOffset()) * 6e4, e = lc(e), e) {
|
|
6968
6968
|
case "year":
|
|
6969
6969
|
s = yx(this, i) / 12;
|
|
6970
6970
|
break;
|
|
@@ -7044,7 +7044,7 @@ function gue(n) {
|
|
|
7044
7044
|
var e;
|
|
7045
7045
|
return n === void 0 ? this._locale._abbr : (e = tf(n), e != null && (this._locale = e), this);
|
|
7046
7046
|
}
|
|
7047
|
-
var pue =
|
|
7047
|
+
var pue = ac(
|
|
7048
7048
|
"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
|
|
7049
7049
|
function(n) {
|
|
7050
7050
|
return n === void 0 ? this.localeData() : this.locale(n);
|
|
@@ -7065,7 +7065,7 @@ function _ue(n, e, t) {
|
|
|
7065
7065
|
}
|
|
7066
7066
|
function JLe(n) {
|
|
7067
7067
|
var e, t;
|
|
7068
|
-
if (n =
|
|
7068
|
+
if (n = lc(n), n === void 0 || n === "millisecond" || !this.isValid())
|
|
7069
7069
|
return this;
|
|
7070
7070
|
switch (t = this._isUTC ? _ue : bue, n) {
|
|
7071
7071
|
case "year":
|
|
@@ -7116,7 +7116,7 @@ function JLe(n) {
|
|
|
7116
7116
|
}
|
|
7117
7117
|
function $Le(n) {
|
|
7118
7118
|
var e, t;
|
|
7119
|
-
if (n =
|
|
7119
|
+
if (n = lc(n), n === void 0 || n === "millisecond" || !this.isValid())
|
|
7120
7120
|
return this;
|
|
7121
7121
|
switch (t = this._isUTC ? _ue : bue, n) {
|
|
7122
7122
|
case "year":
|
|
@@ -7460,7 +7460,7 @@ function Exe(n) {
|
|
|
7460
7460
|
Ut("m", ["mm", 2], 0, "minute");
|
|
7461
7461
|
Dt("m", Sr, rV);
|
|
7462
7462
|
Dt("mm", Sr, Dl);
|
|
7463
|
-
Xn(["m", "mm"],
|
|
7463
|
+
Xn(["m", "mm"], Hc);
|
|
7464
7464
|
var Txe = J1("Minutes", !1);
|
|
7465
7465
|
Ut("s", ["ss", 2], 0, "second");
|
|
7466
7466
|
Dt("s", Sr, rV);
|
|
@@ -7592,23 +7592,23 @@ lt.isUtc = uue;
|
|
|
7592
7592
|
lt.isUTC = uue;
|
|
7593
7593
|
lt.zoneAbbr = Pxe;
|
|
7594
7594
|
lt.zoneName = Rxe;
|
|
7595
|
-
lt.dates =
|
|
7595
|
+
lt.dates = ac(
|
|
7596
7596
|
"dates accessor is deprecated. Use date instead.",
|
|
7597
7597
|
yue
|
|
7598
7598
|
);
|
|
7599
|
-
lt.months =
|
|
7599
|
+
lt.months = ac(
|
|
7600
7600
|
"months accessor is deprecated. Use month instead",
|
|
7601
7601
|
Xce
|
|
7602
7602
|
);
|
|
7603
|
-
lt.years =
|
|
7603
|
+
lt.years = ac(
|
|
7604
7604
|
"years accessor is deprecated. Use year instead",
|
|
7605
7605
|
Yce
|
|
7606
7606
|
);
|
|
7607
|
-
lt.zone =
|
|
7607
|
+
lt.zone = ac(
|
|
7608
7608
|
"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
|
|
7609
7609
|
mLe
|
|
7610
7610
|
);
|
|
7611
|
-
lt.isDSTShifted =
|
|
7611
|
+
lt.isDSTShifted = ac(
|
|
7612
7612
|
"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
|
|
7613
7613
|
wLe
|
|
7614
7614
|
);
|
|
@@ -7715,11 +7715,11 @@ cg("en", {
|
|
|
7715
7715
|
return n + t;
|
|
7716
7716
|
}
|
|
7717
7717
|
});
|
|
7718
|
-
st.lang =
|
|
7718
|
+
st.lang = ac(
|
|
7719
7719
|
"moment.lang is deprecated. Use moment.locale instead.",
|
|
7720
7720
|
cg
|
|
7721
7721
|
);
|
|
7722
|
-
st.langData =
|
|
7722
|
+
st.langData = ac(
|
|
7723
7723
|
"moment.langData is deprecated. Use moment.localeData instead.",
|
|
7724
7724
|
tf
|
|
7725
7725
|
);
|
|
@@ -7755,7 +7755,7 @@ function qxe(n) {
|
|
|
7755
7755
|
if (!this.isValid())
|
|
7756
7756
|
return NaN;
|
|
7757
7757
|
var e, t, i = this._milliseconds;
|
|
7758
|
-
if (n =
|
|
7758
|
+
if (n = lc(n), n === "month" || n === "quarter" || n === "year")
|
|
7759
7759
|
switch (e = this._days + i / 864e5, t = this._months + Lue(e), n) {
|
|
7760
7760
|
case "month":
|
|
7761
7761
|
return t;
|
|
@@ -7792,7 +7792,7 @@ function rAe() {
|
|
|
7792
7792
|
return fu(this);
|
|
7793
7793
|
}
|
|
7794
7794
|
function sAe(n) {
|
|
7795
|
-
return n =
|
|
7795
|
+
return n = lc(n), this.isValid() ? this[n + "s"]() : NaN;
|
|
7796
7796
|
}
|
|
7797
7797
|
function D0(n) {
|
|
7798
7798
|
return function() {
|
|
@@ -7881,7 +7881,7 @@ on.toString = PE;
|
|
|
7881
7881
|
on.toJSON = PE;
|
|
7882
7882
|
on.locale = gue;
|
|
7883
7883
|
on.localeData = mue;
|
|
7884
|
-
on.toIsoString =
|
|
7884
|
+
on.toIsoString = ac(
|
|
7885
7885
|
"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
|
|
7886
7886
|
PE
|
|
7887
7887
|
);
|
|
@@ -7921,7 +7921,7 @@ st.defineLocale = cV;
|
|
|
7921
7921
|
st.updateLocale = FDe;
|
|
7922
7922
|
st.locales = BDe;
|
|
7923
7923
|
st.weekdaysShort = Vxe;
|
|
7924
|
-
st.normalizeUnits =
|
|
7924
|
+
st.normalizeUnits = lc;
|
|
7925
7925
|
st.relativeTimeRounding = mAe;
|
|
7926
7926
|
st.relativeTimeThreshold = vAe;
|
|
7927
7927
|
st.calendarFormat = OLe;
|
|
@@ -7998,7 +7998,7 @@ const _Ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
7998
7998
|
subTitle: s?.subTitle ?? HQ.subTitle
|
|
7999
7999
|
}
|
|
8000
8000
|
) : /* @__PURE__ */ b.jsx(iE, { ...o }) : /* @__PURE__ */ b.jsx(b.Fragment, { children: c }), Aue = wAe;
|
|
8001
|
-
var ka = "top",
|
|
8001
|
+
var ka = "top", ec = "bottom", tc = "right", Oa = "left", bV = "auto", dI = [ka, ec, tc, Oa], Zb = "start", dw = "end", SAe = "clippingParents", Mue = "viewport", G_ = "popper", IAe = "reference", UQ = /* @__PURE__ */ dI.reduce(function(n, e) {
|
|
8002
8002
|
return n.concat([e + "-" + Zb, e + "-" + dw]);
|
|
8003
8003
|
}, []), Nue = /* @__PURE__ */ [].concat(dI, [bV]).reduce(function(n, e) {
|
|
8004
8004
|
return n.concat([e, e + "-" + Zb, e + "-" + dw]);
|
|
@@ -8204,9 +8204,9 @@ var zAe = function(e, t) {
|
|
|
8204
8204
|
})) : e, Oue(typeof e != "number" ? e : Pue(e, dI));
|
|
8205
8205
|
};
|
|
8206
8206
|
function WAe(n) {
|
|
8207
|
-
var e, t = n.state, i = n.name, r = n.options, s = t.elements.arrow, o = t.modifiersData.popperOffsets, a = sd(t.placement), l = wV(a), c = [Oa,
|
|
8207
|
+
var e, t = n.state, i = n.name, r = n.options, s = t.elements.arrow, o = t.modifiersData.popperOffsets, a = sd(t.placement), l = wV(a), c = [Oa, tc].indexOf(a) >= 0, u = c ? "height" : "width";
|
|
8208
8208
|
if (!(!s || !o)) {
|
|
8209
|
-
var d = zAe(r.padding, t), h = yV(s), f = l === "y" ? ka : Oa, g = l === "y" ?
|
|
8209
|
+
var d = zAe(r.padding, t), h = yV(s), f = l === "y" ? ka : Oa, g = l === "y" ? ec : tc, p = t.rects.reference[u] + t.rects.reference[l] - o[l] - t.rects.popper[u], m = o[l] - t.rects.reference[l], v = hI(s), _ = v ? l === "y" ? v.clientHeight || 0 : v.clientWidth || 0 : 0, w = p / 2 - m / 2, y = d[f], S = _ - h[u] - d[g], I = _ / 2 - h[u] / 2 + w, D = py(y, I, S), x = l;
|
|
8210
8210
|
t.modifiersData[i] = (e = {}, e[x] = D, e.centerOffset = D - I, e);
|
|
8211
8211
|
}
|
|
8212
8212
|
}
|
|
@@ -8251,16 +8251,16 @@ function YQ(n) {
|
|
|
8251
8251
|
var v = o.hasOwnProperty("x"), _ = o.hasOwnProperty("y"), w = Oa, y = ka, S = window;
|
|
8252
8252
|
if (c) {
|
|
8253
8253
|
var I = hI(t), D = "clientHeight", x = "clientWidth";
|
|
8254
|
-
if (I === vl(t) && (I = tp(t), Yh(I).position !== "static" && a === "absolute" && (D = "scrollHeight", x = "scrollWidth")), I = I, r === ka || (r === Oa || r ===
|
|
8255
|
-
y =
|
|
8254
|
+
if (I === vl(t) && (I = tp(t), Yh(I).position !== "static" && a === "absolute" && (D = "scrollHeight", x = "scrollWidth")), I = I, r === ka || (r === Oa || r === tc) && s === dw) {
|
|
8255
|
+
y = ec;
|
|
8256
8256
|
var L = d && I === S && S.visualViewport ? S.visualViewport.height : (
|
|
8257
8257
|
// $FlowFixMe[prop-missing]
|
|
8258
8258
|
I[D]
|
|
8259
8259
|
);
|
|
8260
8260
|
p -= L - i.height, p *= l ? 1 : -1;
|
|
8261
8261
|
}
|
|
8262
|
-
if (r === Oa || (r === ka || r ===
|
|
8263
|
-
w =
|
|
8262
|
+
if (r === Oa || (r === ka || r === ec) && s === dw) {
|
|
8263
|
+
w = tc;
|
|
8264
8264
|
var E = d && I === S && S.visualViewport ? S.visualViewport.width : (
|
|
8265
8265
|
// $FlowFixMe[prop-missing]
|
|
8266
8266
|
I[x]
|
|
@@ -8441,13 +8441,13 @@ function jue(n) {
|
|
|
8441
8441
|
y: e.y - t.height
|
|
8442
8442
|
};
|
|
8443
8443
|
break;
|
|
8444
|
-
case
|
|
8444
|
+
case ec:
|
|
8445
8445
|
l = {
|
|
8446
8446
|
x: o,
|
|
8447
8447
|
y: e.y + e.height
|
|
8448
8448
|
};
|
|
8449
8449
|
break;
|
|
8450
|
-
case
|
|
8450
|
+
case tc:
|
|
8451
8451
|
l = {
|
|
8452
8452
|
x: e.x + e.width,
|
|
8453
8453
|
y: a
|
|
@@ -8495,7 +8495,7 @@ function hw(n, e) {
|
|
|
8495
8495
|
if (h === G_ && N) {
|
|
8496
8496
|
var A = N[r];
|
|
8497
8497
|
Object.keys(E).forEach(function(M) {
|
|
8498
|
-
var O = [
|
|
8498
|
+
var O = [tc, ec].indexOf(M) >= 0 ? 1 : -1, k = [ka, ec].indexOf(M) >= 0 ? "y" : "x";
|
|
8499
8499
|
E[M] += A[k] * O;
|
|
8500
8500
|
});
|
|
8501
8501
|
}
|
|
@@ -8540,13 +8540,13 @@ function sMe(n) {
|
|
|
8540
8540
|
allowedAutoPlacements: p
|
|
8541
8541
|
}) : de);
|
|
8542
8542
|
}, []), S = e.rects.reference, I = e.rects.popper, D = /* @__PURE__ */ new Map(), x = !0, L = y[0], E = 0; E < y.length; E++) {
|
|
8543
|
-
var N = y[E], A = sd(N), M = $b(N) === Zb, O = [ka,
|
|
8543
|
+
var N = y[E], A = sd(N), M = $b(N) === Zb, O = [ka, ec].indexOf(A) >= 0, k = O ? "width" : "height", U = hw(e, {
|
|
8544
8544
|
placement: N,
|
|
8545
8545
|
boundary: u,
|
|
8546
8546
|
rootBoundary: d,
|
|
8547
8547
|
altBoundary: h,
|
|
8548
8548
|
padding: c
|
|
8549
|
-
}), B = O ? M ?
|
|
8549
|
+
}), B = O ? M ? tc : Oa : M ? ec : ka;
|
|
8550
8550
|
S[k] > I[k] && (B = wx(B));
|
|
8551
8551
|
var j = wx(B), Q = [];
|
|
8552
8552
|
if (s && Q.push(U[A] <= 0), a && Q.push(U[B] <= 0, U[j] <= 0), Q.every(function(oe) {
|
|
@@ -8598,7 +8598,7 @@ function KQ(n, e, t) {
|
|
|
8598
8598
|
};
|
|
8599
8599
|
}
|
|
8600
8600
|
function ZQ(n) {
|
|
8601
|
-
return [ka,
|
|
8601
|
+
return [ka, tc, ec, Oa].some(function(e) {
|
|
8602
8602
|
return n[e] >= 0;
|
|
8603
8603
|
});
|
|
8604
8604
|
}
|
|
@@ -8629,7 +8629,7 @@ function cMe(n, e, t) {
|
|
|
8629
8629
|
var i = sd(n), r = [Oa, ka].indexOf(i) >= 0 ? -1 : 1, s = typeof t == "function" ? t(Object.assign({}, e, {
|
|
8630
8630
|
placement: n
|
|
8631
8631
|
})) : t, o = s[0], a = s[1];
|
|
8632
|
-
return o = o || 0, a = (a || 0) * r, [Oa,
|
|
8632
|
+
return o = o || 0, a = (a || 0) * r, [Oa, tc].indexOf(i) >= 0 ? {
|
|
8633
8633
|
x: a,
|
|
8634
8634
|
y: o
|
|
8635
8635
|
} : {
|
|
@@ -8689,14 +8689,14 @@ function pMe(n) {
|
|
|
8689
8689
|
};
|
|
8690
8690
|
if (I) {
|
|
8691
8691
|
if (s) {
|
|
8692
|
-
var M, O = y === "y" ? ka : Oa, k = y === "y" ?
|
|
8692
|
+
var M, O = y === "y" ? ka : Oa, k = y === "y" ? ec : tc, U = y === "y" ? "height" : "width", B = I[y], j = B + m[O], Q = B - m[k], R = f ? -x[U] / 2 : 0, T = _ === Zb ? D[U] : x[U], H = _ === Zb ? -x[U] : -D[U], q = e.elements.arrow, oe = f && q ? yV(q) : {
|
|
8693
8693
|
width: 0,
|
|
8694
8694
|
height: 0
|
|
8695
8695
|
}, de = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : kue(), re = de[O], se = de[k], ve = py(0, D[U], oe[U]), ae = w ? D[U] / 2 - R - ve - re - E.mainAxis : T - ve - re - E.mainAxis, G = w ? -D[U] / 2 + R + ve + se + E.mainAxis : H + ve + se + E.mainAxis, ne = e.elements.arrow && hI(e.elements.arrow), V = ne ? y === "y" ? ne.clientTop || 0 : ne.clientLeft || 0 : 0, fe = (M = N?.[y]) != null ? M : 0, Se = B + ae - fe - V, ue = B + G - fe, ee = py(f ? kA(j, Se) : j, B, f ? bm(Q, ue) : Q);
|
|
8696
8696
|
I[y] = ee, A[y] = ee - B;
|
|
8697
8697
|
}
|
|
8698
8698
|
if (a) {
|
|
8699
|
-
var we, Ne = y === "x" ? ka : Oa, ze = y === "x" ?
|
|
8699
|
+
var we, Ne = y === "x" ? ka : Oa, ze = y === "x" ? ec : tc, ce = I[S], le = S === "y" ? "height" : "width", ie = ce + m[Ne], z = ce - m[ze], Y = [ka, Oa].indexOf(v) !== -1, Z = (we = N?.[S]) != null ? we : 0, X = Y ? ie : ce - D[le] - x[le] - Z + E.altAxis, pe = Y ? ce + D[le] + x[le] - Z - E.altAxis : z, xe = f && Y ? BAe(X, ce, pe) : py(f ? X : ie, ce, f ? pe : z);
|
|
8700
8700
|
I[S] = xe, A[S] = xe - ce;
|
|
8701
8701
|
}
|
|
8702
8702
|
e.modifiersData[i] = A;
|
|
@@ -10198,11 +10198,11 @@ const pNe = "bulk-selection-pop-up-menu", Uk = {
|
|
|
10198
10198
|
[io.CLEAR_ALL_SELECTIONS]: "Clear selection(s)"
|
|
10199
10199
|
}, Y_ = "*", mNe = (n) => `Invalid action ${n} passed to useBulkSelection`, vNe = "useBulkSelection must be used within BulkSelectionContext", dq = "Selections on other pages are cleared", ode = $h({
|
|
10200
10200
|
selectedIdentifiers: {},
|
|
10201
|
-
handleBulkSelection:
|
|
10201
|
+
handleBulkSelection: oc,
|
|
10202
10202
|
isChecked: !1,
|
|
10203
10203
|
checkboxValue: xa.CHECKED,
|
|
10204
10204
|
isBulkSelectionApplied: !1,
|
|
10205
|
-
getSelectedIdentifiersCount:
|
|
10205
|
+
getSelectedIdentifiersCount: oc
|
|
10206
10206
|
}), bNe = () => {
|
|
10207
10207
|
const n = w0(ode);
|
|
10208
10208
|
if (!n)
|
|
@@ -10288,7 +10288,7 @@ const pNe = "bulk-selection-pop-up-menu", Uk = {
|
|
|
10288
10288
|
[i, c, d, h, o]
|
|
10289
10289
|
);
|
|
10290
10290
|
return /* @__PURE__ */ b.jsx(ode.Provider, { value: f, children: n });
|
|
10291
|
-
}, md = (n) => /* @__PURE__ */ K.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ...n }, /* @__PURE__ */ K.createElement("g", { fill: "none", fillRule: "evenodd" }, /* @__PURE__ */ K.createElement("path", { fill: "#999", className: "fill-color", fillRule: "nonzero", d: "M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6z" }))), _Ne = "data:image/svg+xml;base64,PCEtLQogIC0gQ29weXJpZ2h0IChjKSAyMDI0LiBEZXZ0cm9uIEluYy4KICAtCiAgLSBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgIkxpY2Vuc2UiKTsKICAtIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS4KICAtIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdAogIC0KICAtICAgICBodHRwOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjAKICAtCiAgLSBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlCiAgLSBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiAiQVMgSVMiIEJBU0lTLAogIC0gV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuCiAgLSBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kCiAgLSBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS4KICAtLT4KCjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiM5OTkiIGNsYXNzPSJmaWxsLWNvbG9yIiBmaWxsLXJ1bGU9Im5vbnplcm8iIGQ9Ik03LjQxIDguNTlMMTIgMTMuMTdsNC41OS00LjU4TDE4IDEwbC02IDYtNi02eiIvPgogICAgPC9nPgo8L3N2Zz4K", CNe = (n) => /* @__PURE__ */ K.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ K.createElement("rect", { x: 2, y: 2, width: 12, height: 12, rx: 2, stroke: "#596168", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ K.createElement("path", { d: "M11.2083 5.95801L7.12498 10.0412L5.08331 7.99967", stroke: "#596168", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), yNe = (n) => /* @__PURE__ */ K.createElement("svg", { width: 17, height: 17, viewBox: "0 0 17 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ K.createElement("rect", { x: 2, y: 2, width: 11.2, height: 11.2, rx: 2, stroke: "#596168", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ K.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__ */ K.createElement("path", { d: "M10.35 5.84961L6.85004 9.34945L5.10004 7.59961", stroke: "#596168", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })),
|
|
10291
|
+
}, md = (n) => /* @__PURE__ */ K.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ...n }, /* @__PURE__ */ K.createElement("g", { fill: "none", fillRule: "evenodd" }, /* @__PURE__ */ K.createElement("path", { fill: "#999", className: "fill-color", fillRule: "nonzero", d: "M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6z" }))), _Ne = "data:image/svg+xml;base64,PCEtLQogIC0gQ29weXJpZ2h0IChjKSAyMDI0LiBEZXZ0cm9uIEluYy4KICAtCiAgLSBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgIkxpY2Vuc2UiKTsKICAtIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS4KICAtIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdAogIC0KICAtICAgICBodHRwOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjAKICAtCiAgLSBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlCiAgLSBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiAiQVMgSVMiIEJBU0lTLAogIC0gV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuCiAgLSBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kCiAgLSBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS4KICAtLT4KCjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9IiM5OTkiIGNsYXNzPSJmaWxsLWNvbG9yIiBmaWxsLXJ1bGU9Im5vbnplcm8iIGQ9Ik03LjQxIDguNTlMMTIgMTMuMTdsNC41OS00LjU4TDE4IDEwbC02IDYtNi02eiIvPgogICAgPC9nPgo8L3N2Zz4K", CNe = (n) => /* @__PURE__ */ K.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ K.createElement("rect", { x: 2, y: 2, width: 12, height: 12, rx: 2, stroke: "#596168", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ K.createElement("path", { d: "M11.2083 5.95801L7.12498 10.0412L5.08331 7.99967", stroke: "#596168", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), yNe = (n) => /* @__PURE__ */ K.createElement("svg", { width: 17, height: 17, viewBox: "0 0 17 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ K.createElement("rect", { x: 2, y: 2, width: 11.2, height: 11.2, rx: 2, stroke: "#596168", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ K.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__ */ K.createElement("path", { d: "M10.35 5.84961L6.85004 9.34945L5.10004 7.59961", stroke: "#596168", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), cc = (n) => /* @__PURE__ */ K.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__ */ K.createElement("defs", null, /* @__PURE__ */ K.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__ */ K.createElement("g", { fill: "none", fillRule: "evenodd" }, /* @__PURE__ */ K.createElement("path", { d: "" }), /* @__PURE__ */ K.createElement("use", { fill: "#999", xlinkHref: "#a" }))), wNe = ({ showPagination: n, disabled: e = !1 }) => {
|
|
10292
10292
|
const { handleBulkSelection: t, isChecked: i, checkboxValue: r, getSelectedIdentifiersCount: s } = bNe(), o = s() > 0, a = [
|
|
10293
10293
|
{
|
|
10294
10294
|
locator: io.SELECT_ALL_ON_PAGE,
|
|
@@ -10309,7 +10309,7 @@ const pNe = "bulk-selection-pop-up-menu", Uk = {
|
|
|
10309
10309
|
locator: io.CLEAR_ALL_SELECTIONS,
|
|
10310
10310
|
label: Uk[io.CLEAR_ALL_SELECTIONS],
|
|
10311
10311
|
isSelected: !1,
|
|
10312
|
-
icon:
|
|
10312
|
+
icon: cc,
|
|
10313
10313
|
iconClass: "icon-use-fill-n6"
|
|
10314
10314
|
}
|
|
10315
10315
|
] : []
|
|
@@ -10327,7 +10327,7 @@ const pNe = "bulk-selection-pop-up-menu", Uk = {
|
|
|
10327
10327
|
i_,
|
|
10328
10328
|
{
|
|
10329
10329
|
isChecked: i,
|
|
10330
|
-
onChange:
|
|
10330
|
+
onChange: oc,
|
|
10331
10331
|
rootClassName: "icon-dim-20 m-0",
|
|
10332
10332
|
value: r,
|
|
10333
10333
|
disabled: e
|
|
@@ -10351,7 +10351,7 @@ const pNe = "bulk-selection-pop-up-menu", Uk = {
|
|
|
10351
10351
|
)) })
|
|
10352
10352
|
] });
|
|
10353
10353
|
}, EDt = wNe;
|
|
10354
|
-
var SNe = /* @__PURE__ */ ((n) => (n.CHART = "helm_charts", n.APPLICATION = "apps", n))(SNe || {}), Di = /* @__PURE__ */ ((n) => (n.Service = "Service", n.Alertmanager = "Alertmanager", n.PodSecurity = "PodSecurityPolicy", n.ConfigMap = "ConfigMap", n.ServiceAccount = "ServiceAccount", n.ClusterRoleBinding = "ClusterRoleBinding", n.RoleBinding = "RoleBinding", n.ClusterRole = "ClusterRole", n.Role = "Role", n.Prometheus = "Prometheus", n.ServiceMonitor = "ServiceMonitor", n.Deployment = "Deployment", n.MutatingWebhookConfiguration = "MutatingWebhookConfiguration", n.DaemonSet = "DaemonSet", n.Secret = "Secret", n.ValidatingWebhookConfiguration = "ValidatingWebhookConfiguration", n.Pod = "Pod", n.Ingress = "Ingress", n.ReplicaSet = "ReplicaSet", n.Endpoints = "Endpoints", n.Cluster = "ClusterRoleBinding", n.PodSecurityPolicy = "PodSecurityPolicy", n.CronJob = "CronJob", n.Job = "Job", n.ReplicationController = "ReplicationController", n.StatefulSet = "StatefulSet", n.Rollout = "Rollout", n.PersistentVolumeClaim = "PersistentVolumeClaim", n.PersistentVolume = "PersistentVolume", n.Containers = "Containers", n.InitContainers = "InitContainers", n.EndpointSlice = "EndpointSlice", n.NetworkPolicy = "NetworkPolicy", n.StorageClass = "StorageClass", n.VolumeSnapshot = "VolumeSnapshot", n.VolumeSnapshotContent = "VolumeSnapshotContent", n.VolumeSnapshotClass = "VolumeSnapshotClass", n.PodDisruptionBudget = "PodDisruptionBudget", n.Event = "Event", n.Namespace = "Namespace", n.Overview = "Overview", n))(Di || {}), G7 = /* @__PURE__ */ ((n) => (n.DEVTRON_APP = "devtron_app", n.DEVTRON_HELM_CHART = "devtron_helm_chart", n.EXTERNAL_HELM_CHART = "external_helm_chart", n.EXTERNAL_ARGO_APP = "external_argo_app", n.EXTERNAL_FLUX_APP = "external_flux_app", n))(G7 || {}), INe = /* @__PURE__ */ ((n) => (n.GIT = "git", n.GITHUB = "github", n.GITLAB = "gitlab", n.BITBUCKET = "bitbucket", n.DOCKER = "docker", n.DOCKER_HUB = "docker-hub", n.ACR = "acr", n.QUAY = "quay", n.ECR = "ecr", n.ARTIFACT_REGISTRY = "artifact-registry", n.GCR = "gcr", n.OTHER = "other", n))(INe || {}), pw = /* @__PURE__ */ ((n) => (n.system = "system", n.admin = "admin", n))(pw || {}), Sx = /* @__PURE__ */ ((n) => (n.CRITICAL = "critical", n.MODERATE = "moderate", n.LOW = "low", n))(Sx || {}), DNe = /* @__PURE__ */ ((n) => (n.REQUEST = "request", n.PENDING = "pending", n))(DNe || {}), LNe = /* @__PURE__ */ ((n) => (n.HEALTHY = "healthy", n.NONE = "none", n.UNKNOWN = "unknown", n.UPGRADING = "upgrading", n.UPGRADE_FAILED = "upgradeFailed", n.INSTALLED = "installed", n.INSTALLING = "installing", n.INSTALL_FAILED = "installFailed", n.NOT_INSTALLED = "notInstalled", n.TIMEOUT = "timeout", n))(LNe || {}), xNe = /* @__PURE__ */ ((n) => (n.CODE_SOURCE = "Code Source", n.PARAMETERS = "Parameters", n))(xNe || {}), Io = /* @__PURE__ */ ((n) => (n.devtronApplication = "application/devtron-application", n.helmChart = "application/helm-application", n.job = "job", n.cluster = "cluster", n.release = "release", n.releaseTrack = "release-track", n.tenant = "tenant", n.installation = "installation", n.environment = "environment", n.cdPipeline = "cd-pipeline", n.project = "project", n))(Io || {}), xV = /* @__PURE__ */ ((n) => (n.v1 = "v1", n.alpha1 = "alpha1", n))(xV || {}), ANe = /* @__PURE__ */ ((n) => (n.lockConfiguration = "lock-configuration", n))(ANe || {}), Y7 = /* @__PURE__ */ ((n) => (n.PULL_REQUEST = "Pull Request", n.TAG_CREATION = "Tag Creation", n))(Y7 || {}),
|
|
10354
|
+
var SNe = /* @__PURE__ */ ((n) => (n.CHART = "helm_charts", n.APPLICATION = "apps", n))(SNe || {}), Di = /* @__PURE__ */ ((n) => (n.Service = "Service", n.Alertmanager = "Alertmanager", n.PodSecurity = "PodSecurityPolicy", n.ConfigMap = "ConfigMap", n.ServiceAccount = "ServiceAccount", n.ClusterRoleBinding = "ClusterRoleBinding", n.RoleBinding = "RoleBinding", n.ClusterRole = "ClusterRole", n.Role = "Role", n.Prometheus = "Prometheus", n.ServiceMonitor = "ServiceMonitor", n.Deployment = "Deployment", n.MutatingWebhookConfiguration = "MutatingWebhookConfiguration", n.DaemonSet = "DaemonSet", n.Secret = "Secret", n.ValidatingWebhookConfiguration = "ValidatingWebhookConfiguration", n.Pod = "Pod", n.Ingress = "Ingress", n.ReplicaSet = "ReplicaSet", n.Endpoints = "Endpoints", n.Cluster = "ClusterRoleBinding", n.PodSecurityPolicy = "PodSecurityPolicy", n.CronJob = "CronJob", n.Job = "Job", n.ReplicationController = "ReplicationController", n.StatefulSet = "StatefulSet", n.Rollout = "Rollout", n.PersistentVolumeClaim = "PersistentVolumeClaim", n.PersistentVolume = "PersistentVolume", n.Containers = "Containers", n.InitContainers = "InitContainers", n.EndpointSlice = "EndpointSlice", n.NetworkPolicy = "NetworkPolicy", n.StorageClass = "StorageClass", n.VolumeSnapshot = "VolumeSnapshot", n.VolumeSnapshotContent = "VolumeSnapshotContent", n.VolumeSnapshotClass = "VolumeSnapshotClass", n.PodDisruptionBudget = "PodDisruptionBudget", n.Event = "Event", n.Namespace = "Namespace", n.Overview = "Overview", n))(Di || {}), G7 = /* @__PURE__ */ ((n) => (n.DEVTRON_APP = "devtron_app", n.DEVTRON_HELM_CHART = "devtron_helm_chart", n.EXTERNAL_HELM_CHART = "external_helm_chart", n.EXTERNAL_ARGO_APP = "external_argo_app", n.EXTERNAL_FLUX_APP = "external_flux_app", n))(G7 || {}), INe = /* @__PURE__ */ ((n) => (n.GIT = "git", n.GITHUB = "github", n.GITLAB = "gitlab", n.BITBUCKET = "bitbucket", n.DOCKER = "docker", n.DOCKER_HUB = "docker-hub", n.ACR = "acr", n.QUAY = "quay", n.ECR = "ecr", n.ARTIFACT_REGISTRY = "artifact-registry", n.GCR = "gcr", n.OTHER = "other", n))(INe || {}), pw = /* @__PURE__ */ ((n) => (n.system = "system", n.admin = "admin", n))(pw || {}), Sx = /* @__PURE__ */ ((n) => (n.CRITICAL = "critical", n.MODERATE = "moderate", n.LOW = "low", n))(Sx || {}), DNe = /* @__PURE__ */ ((n) => (n.REQUEST = "request", n.PENDING = "pending", n))(DNe || {}), LNe = /* @__PURE__ */ ((n) => (n.HEALTHY = "healthy", n.NONE = "none", n.UNKNOWN = "unknown", n.UPGRADING = "upgrading", n.UPGRADE_FAILED = "upgradeFailed", n.INSTALLED = "installed", n.INSTALLING = "installing", n.INSTALL_FAILED = "installFailed", n.NOT_INSTALLED = "notInstalled", n.TIMEOUT = "timeout", n))(LNe || {}), xNe = /* @__PURE__ */ ((n) => (n.CODE_SOURCE = "Code Source", n.PARAMETERS = "Parameters", n))(xNe || {}), Io = /* @__PURE__ */ ((n) => (n.devtronApplication = "application/devtron-application", n.helmChart = "application/helm-application", n.job = "job", n.cluster = "cluster", n.release = "release", n.releaseTrack = "release-track", n.tenant = "tenant", n.installation = "installation", n.environment = "environment", n.cdPipeline = "cd-pipeline", n.project = "project", n))(Io || {}), xV = /* @__PURE__ */ ((n) => (n.v1 = "v1", n.alpha1 = "alpha1", n))(xV || {}), ANe = /* @__PURE__ */ ((n) => (n.lockConfiguration = "lock-configuration", n))(ANe || {}), Y7 = /* @__PURE__ */ ((n) => (n.PULL_REQUEST = "Pull Request", n.TAG_CREATION = "Tag Creation", n))(Y7 || {}), yc = /* @__PURE__ */ ((n) => (n.Workloads = "Workloads", n.Networking = "Networking", n["Config & Storage"] = "Config & Storage", n.RBAC = "RBAC", n.Administration = "Administration", n["Custom Resource"] = "Custom Resource", n["Other Resources"] = "Other Resources", n.Events = "Events", n.Namespaces = "Namespaces", n))(yc || {}), MNe = /* @__PURE__ */ ((n) => (n.SSH = "SSH", n.PASSWORD = "PASSWORD", n.SSH_AND_PASSWORD = "PAT_AND_SSH", n))(MNe || {}), NNe = /* @__PURE__ */ ((n) => (n.UPSTREAM = "upstream", n.DOWNSTREAM = "downstream", n.LEVEL = "level", n))(NNe || {}), Ix = /* @__PURE__ */ ((n) => (n.FULFILLED = "fulfilled", n.REJECTED = "rejected", n))(Ix || {});
|
|
10355
10355
|
const ENe = (n) => /* @__PURE__ */ K.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ K.createElement("path", { d: "M7.34833 14.419C6.46444 17.0707 2.92891 17.0707 2.92891 17.0707C2.92891 17.0707 2.92891 13.5351 5.58056 12.6513M9.99998 13.5351L15.3033 8.23183C17.3114 6.2237 17.2918 4.21556 17.164 3.35914C17.1444 3.22728 17.0829 3.10522 16.9886 3.01095C16.8944 2.91668 16.7723 2.85518 16.6404 2.83553C15.784 2.70775 13.7759 2.68816 11.7677 4.6963L6.46444 9.9996M9.99998 13.5351L6.46444 9.9996M9.99998 13.5351L10.6548 16.8094C10.677 16.9203 10.7289 17.0232 10.8049 17.1069C10.881 17.1907 10.9783 17.2522 11.0866 17.285C11.1949 17.3178 11.31 17.3206 11.4197 17.2931C11.5294 17.2655 11.6296 17.2088 11.7096 17.1288L14.2363 14.6021C14.2944 14.544 14.3404 14.4751 14.3718 14.3993C14.4032 14.3235 14.4194 14.2422 14.4194 14.1601V9.11572M6.46444 9.9996L3.19017 9.34474C3.07924 9.32256 2.97642 9.27068 2.89266 9.19465C2.8089 9.11861 2.74734 9.02127 2.71456 8.913C2.68178 8.80473 2.679 8.68959 2.70651 8.57986C2.73403 8.47013 2.79081 8.36993 2.8708 8.28994L5.3975 5.76324C5.45554 5.7052 5.52444 5.65917 5.60027 5.62776C5.6761 5.59635 5.75737 5.58018 5.83944 5.58018H10.8839", stroke: "white", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), TNe = (n) => /* @__PURE__ */ K.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ K.createElement("path", { d: "M8.29075 5.35813V2.63086M8.29075 5.35813H3.1778C2.89542 5.35813 2.6665 5.61862 2.6665 5.93995V14.0854C2.6665 14.4067 2.89542 14.6672 3.1778 14.6672H13.4037C13.6861 14.6672 13.915 14.4067 13.915 14.0854V5.93995C13.915 5.61862 13.6861 5.35813 13.4037 5.35813H8.29075Z", stroke: "#596168", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ K.createElement("line", { x1: 6.71338, y1: 11.3945, x2: 9.86792, y2: 11.3945, stroke: "#596168", strokeWidth: 1.5, strokeLinecap: "round" }), /* @__PURE__ */ K.createElement("path", { d: "M5.96355 9.33334C6.44554 9.33334 6.83628 8.94261 6.83628 8.46062C6.83628 7.97862 6.44554 7.58789 5.96355 7.58789C5.48155 7.58789 5.09082 7.97862 5.09082 8.46062C5.09082 8.94261 5.48155 9.33334 5.96355 9.33334Z", fill: "#596168" }), /* @__PURE__ */ K.createElement("path", { d: "M10.6178 9.33334C11.0998 9.33334 11.4906 8.94261 11.4906 8.46062C11.4906 7.97862 11.0998 7.58789 10.6178 7.58789C10.1359 7.58789 9.74512 7.97862 9.74512 8.46062C9.74512 8.94261 10.1359 9.33334 10.6178 9.33334Z", fill: "#596168" }), /* @__PURE__ */ K.createElement("path", { d: "M9.98769 2L6.59375 2", stroke: "#596168", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), kNe = ({ imagePath: n, registryName: e }) => /* @__PURE__ */ b.jsxs("div", { children: [
|
|
10356
10356
|
/* @__PURE__ */ b.jsx("div", { className: "fw-6", children: e }),
|
|
10357
10357
|
/* @__PURE__ */ b.jsx("div", { children: n })
|
|
@@ -10860,7 +10860,7 @@ const Gf = {
|
|
|
10860
10860
|
});
|
|
10861
10861
|
function oEe(n, e, t) {
|
|
10862
10862
|
return nn(
|
|
10863
|
-
|
|
10863
|
+
$l(Ci.SECURITY_SCAN_EXECUTION_DETAILS, {
|
|
10864
10864
|
artifactId: n,
|
|
10865
10865
|
appId: e,
|
|
10866
10866
|
envId: t
|
|
@@ -10990,8 +10990,8 @@ const aEe = ({
|
|
|
10990
10990
|
label: n,
|
|
10991
10991
|
value: e,
|
|
10992
10992
|
handleRemoveFilter: t,
|
|
10993
|
-
getFormattedLabel: i =
|
|
10994
|
-
getFormattedValue: r =
|
|
10993
|
+
getFormattedLabel: i = oc,
|
|
10994
|
+
getFormattedValue: r = oc,
|
|
10995
10995
|
showRemoveIcon: s,
|
|
10996
10996
|
shouldHideLabel: o = !1
|
|
10997
10997
|
}) => {
|
|
@@ -11011,7 +11011,7 @@ const aEe = ({
|
|
|
11011
11011
|
className: "flex p-0 dc__transparent dc__hover-n50 br-4",
|
|
11012
11012
|
onClick: a,
|
|
11013
11013
|
"aria-label": "Remove filter",
|
|
11014
|
-
children: /* @__PURE__ */ b.jsx(
|
|
11014
|
+
children: /* @__PURE__ */ b.jsx(cc, { className: "icon-dim-12 icon-use-fill-n6" })
|
|
11015
11015
|
}
|
|
11016
11016
|
)
|
|
11017
11017
|
] });
|
|
@@ -11147,7 +11147,7 @@ const gEe = ({
|
|
|
11147
11147
|
onClick: u,
|
|
11148
11148
|
type: "button",
|
|
11149
11149
|
"aria-label": "remove-docker-args",
|
|
11150
|
-
children: /* @__PURE__ */ b.jsx(
|
|
11150
|
+
children: /* @__PURE__ */ b.jsx(cc, { className: "icon-dim-24 mt-6 ml-6" })
|
|
11151
11151
|
}
|
|
11152
11152
|
)
|
|
11153
11153
|
] });
|
|
@@ -11368,7 +11368,7 @@ const cde = (n) => {
|
|
|
11368
11368
|
}
|
|
11369
11369
|
)
|
|
11370
11370
|
}
|
|
11371
|
-
), BE = _Ee,
|
|
11371
|
+
), BE = _Ee, ic = (n) => /* @__PURE__ */ K.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 32, height: 32, viewBox: "0 0 32 32", ...n }, /* @__PURE__ */ K.createElement("g", { fill: "none", fillRule: "evenodd" }, /* @__PURE__ */ K.createElement("path", { d: "M0 0h32v32H0z" }), /* @__PURE__ */ K.createElement("path", { fill: "#FFCB5D", d: "M18.315 5.052L29.72 25.01A2.667 2.667 0 0 1 27.405 29H4.595a2.667 2.667 0 0 1-2.315-3.99L13.685 5.052a2.667 2.667 0 0 1 4.63 0z" }), /* @__PURE__ */ K.createElement("path", { fill: "#FFF", d: "M16 22.667a1.333 1.333 0 1 1 0 2.666 1.333 1.333 0 0 1 0-2.666zM16 12c.736 0 1.333.597 1.333 1.333v6.334a1.333 1.333 0 1 1-2.666 0v-6.334c0-.736.597-1.333 1.333-1.333z" }))), bq = "data:image/svg+xml;base64,PCEtLQogIC0gQ29weXJpZ2h0IChjKSAyMDI0LiBEZXZ0cm9uIEluYy4KICAtCiAgLSBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgIkxpY2Vuc2UiKTsKICAtIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS4KICAtIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdAogIC0KICAtICAgICBodHRwOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjAKICAtCiAgLSBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlCiAgLSBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiAiQVMgSVMiIEJBU0lTLAogIC0gV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuCiAgLSBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kCiAgLSBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS4KICAtLT4KCjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiI+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGQ9Ik0wIDBoMzJ2MzJIMHoiLz4KICAgICAgICA8cGF0aCBmaWxsPSIjRkZDQjVEIiBkPSJNMTguMzE1IDUuMDUyTDI5LjcyIDI1LjAxQTIuNjY3IDIuNjY3IDAgMCAxIDI3LjQwNSAyOUg0LjU5NWEyLjY2NyAyLjY2NyAwIDAgMS0yLjMxNS0zLjk5TDEzLjY4NSA1LjA1MmEyLjY2NyAyLjY2NyAwIDAgMSA0LjYzIDB6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTE2IDIyLjY2N2ExLjMzMyAxLjMzMyAwIDEgMSAwIDIuNjY2IDEuMzMzIDEuMzMzIDAgMCAxIDAtMi42NjZ6TTE2IDEyYy43MzYgMCAxLjMzMy41OTcgMS4zMzMgMS4zMzN2Ni4zMzRhMS4zMzMgMS4zMzMgMCAxIDEtMi42NjYgMHYtNi4zMzRjMC0uNzM2LjU5Ny0xLjMzMyAxLjMzMy0xLjMzM3oiLz4KICAgIDwvZz4KPC9zdmc+Cg==", AV = (n) => /* @__PURE__ */ K.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ K.createElement("path", { d: "M10.625 4.99991L15 9.37491M7.5 16.8749H3.75C3.58424 16.8749 3.42527 16.8091 3.30806 16.6918C3.19085 16.5746 3.125 16.4157 3.125 16.2499V12.7588C3.125 12.6767 3.14117 12.5954 3.17258 12.5196C3.20398 12.4438 3.25002 12.3749 3.30806 12.3168L12.6831 2.94185C12.8003 2.82464 12.9592 2.75879 13.125 2.75879C13.2908 2.75879 13.4497 2.82464 13.5669 2.94185L17.0581 6.43296C17.1753 6.55017 17.2411 6.70915 17.2411 6.87491C17.2411 7.04067 17.1753 7.19964 17.0581 7.31685L7.5 16.8749Z", stroke: "#596168", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
11372
11372
|
class MV extends iI {
|
|
11373
11373
|
constructor(e) {
|
|
11374
11374
|
super(e), this.clickHandler = this.clickHandler.bind(this);
|
|
@@ -11429,7 +11429,7 @@ const CEe = (n) => {
|
|
|
11429
11429
|
}
|
|
11430
11430
|
),
|
|
11431
11431
|
!d.isValid && /* @__PURE__ */ b.jsxs("span", { className: "form__error", children: [
|
|
11432
|
-
/* @__PURE__ */ b.jsx(
|
|
11432
|
+
/* @__PURE__ */ b.jsx(ic, { className: "form__icon form__icon--error" }),
|
|
11433
11433
|
d.message,
|
|
11434
11434
|
" ",
|
|
11435
11435
|
/* @__PURE__ */ b.jsx("br", {})
|
|
@@ -11713,7 +11713,7 @@ const EEe = ({ className: n, hideGettingStartedCard: e }) => {
|
|
|
11713
11713
|
s(!1), typeof Storage < "u" && RA("expiryDateOfHidingAnnouncementBanner", 1);
|
|
11714
11714
|
}, a = () => /* @__PURE__ */ b.jsxs("div", { className: "flex", children: [
|
|
11715
11715
|
/* @__PURE__ */ b.jsx("div", { children: t }),
|
|
11716
|
-
e ? null : /* @__PURE__ */ b.jsx(
|
|
11716
|
+
e ? null : /* @__PURE__ */ b.jsx(cc, { className: "icon-dim-20 ml-8 fcn-9", onClick: o })
|
|
11717
11717
|
] });
|
|
11718
11718
|
return r || e ? /* @__PURE__ */ b.jsx("div", { className: `announcement-banner-container ${n}`, children: /* @__PURE__ */ b.jsx(
|
|
11719
11719
|
_bt,
|
|
@@ -11806,7 +11806,7 @@ const EEe = ({ className: n, hideGettingStartedCard: e }) => {
|
|
|
11806
11806
|
type: "button",
|
|
11807
11807
|
"aria-label": "close-button",
|
|
11808
11808
|
onClick: l,
|
|
11809
|
-
children: /* @__PURE__ */ b.jsx(
|
|
11809
|
+
children: /* @__PURE__ */ b.jsx(cc, { className: "dc__page-header__close-icon icon-dim-24 cursor" })
|
|
11810
11810
|
}
|
|
11811
11811
|
),
|
|
11812
11812
|
/* @__PURE__ */ b.jsx("span", { className: "fw-6", "data-testid": "main-header", children: n }),
|
|
@@ -12663,7 +12663,7 @@ const e1 = {
|
|
|
12663
12663
|
)
|
|
12664
12664
|
] }),
|
|
12665
12665
|
i && /* @__PURE__ */ b.jsxs("div", { className: "form__error", children: [
|
|
12666
|
-
/* @__PURE__ */ b.jsx(
|
|
12666
|
+
/* @__PURE__ */ b.jsx(ic, { className: "form__icon form__icon--error" }),
|
|
12667
12667
|
i
|
|
12668
12668
|
] })
|
|
12669
12669
|
] });
|
|
@@ -12725,7 +12725,7 @@ const e1 = {
|
|
|
12725
12725
|
}
|
|
12726
12726
|
),
|
|
12727
12727
|
t && /* @__PURE__ */ b.jsxs("div", { className: "form__error", children: [
|
|
12728
|
-
/* @__PURE__ */ b.jsx(
|
|
12728
|
+
/* @__PURE__ */ b.jsx(ic, { className: "form__icon form__icon--error" }),
|
|
12729
12729
|
t
|
|
12730
12730
|
] })
|
|
12731
12731
|
] });
|
|
@@ -12940,27 +12940,31 @@ const PTe = (n, e) => n && e ? "user-role-groups__table-row--with-status-and-del
|
|
|
12940
12940
|
)) })
|
|
12941
12941
|
] });
|
|
12942
12942
|
}, $Dt = RTe, eLt = async () => {
|
|
12943
|
-
const
|
|
12944
|
-
|
|
12945
|
-
|
|
12946
|
-
|
|
12947
|
-
|
|
12948
|
-
{
|
|
12943
|
+
const n = $l("user/v2", {
|
|
12944
|
+
showAll: !0
|
|
12945
|
+
}), [e, t] = await Promise.allSettled([nn(n), nn("api-token")]), i = [];
|
|
12946
|
+
if (e.status === "fulfilled") {
|
|
12947
|
+
const { result: r } = e.value;
|
|
12948
|
+
i.push({
|
|
12949
12949
|
label: "Users",
|
|
12950
|
-
options: (
|
|
12951
|
-
label:
|
|
12952
|
-
value:
|
|
12950
|
+
options: (r?.users ?? []).sort((s, o) => $o(s.email_id, o.email_id)).filter(({ email_id: s }) => s !== pw.system).map(({ email_id: s }) => ({
|
|
12951
|
+
label: s,
|
|
12952
|
+
value: s
|
|
12953
12953
|
}))
|
|
12954
|
-
}
|
|
12955
|
-
|
|
12954
|
+
});
|
|
12955
|
+
}
|
|
12956
|
+
if (t.status === "fulfilled") {
|
|
12957
|
+
const { result: r } = t.value;
|
|
12958
|
+
i.push({
|
|
12956
12959
|
label: "API Tokens",
|
|
12957
|
-
options: (
|
|
12960
|
+
options: (r ?? []).sort((s, o) => $o(s.userIdentifier, o.userIdentifier)).map(({ userIdentifier: s }) => ({
|
|
12958
12961
|
// Remove the API Token Prefix
|
|
12959
|
-
label:
|
|
12960
|
-
value:
|
|
12962
|
+
label: s.startsWith(Q7) ? s.split(":")[1] : s,
|
|
12963
|
+
value: s
|
|
12961
12964
|
}))
|
|
12962
|
-
}
|
|
12963
|
-
|
|
12965
|
+
});
|
|
12966
|
+
}
|
|
12967
|
+
return i;
|
|
12964
12968
|
};
|
|
12965
12969
|
var jTe = /* @__PURE__ */ ((n) => (n.YAML = "yaml", n.SAVED = "variables", n.ENVIRONMENT_LIST = "environments", n))(jTe || {}), zC = /* @__PURE__ */ ((n) => (n.JOB_AND_CRONJOB_CHART_NAME = "Job & CronJob", n.ROLLOUT_DEPLOYMENT = "Rollout Deployment", n.DEPLOYMENT = "Deployment", n.STATEFUL_SET = "StatefulSet", n))(zC || {});
|
|
12966
12970
|
const FTe = "object", BTe = {
|
|
@@ -13080,13 +13084,13 @@ function WTe(n, e) {
|
|
|
13080
13084
|
case Di.CronJob:
|
|
13081
13085
|
case Di.ReplicationController:
|
|
13082
13086
|
case Di.StatefulSet:
|
|
13083
|
-
return
|
|
13087
|
+
return yc.Workloads;
|
|
13084
13088
|
case Di.Ingress:
|
|
13085
13089
|
case Di.Service:
|
|
13086
13090
|
case Di.Endpoints:
|
|
13087
13091
|
case Di.EndpointSlice:
|
|
13088
13092
|
case Di.NetworkPolicy:
|
|
13089
|
-
return
|
|
13093
|
+
return yc.Networking;
|
|
13090
13094
|
case Di.ConfigMap:
|
|
13091
13095
|
case Di.Secret:
|
|
13092
13096
|
case Di.PersistentVolume:
|
|
@@ -13096,27 +13100,27 @@ function WTe(n, e) {
|
|
|
13096
13100
|
case Di.VolumeSnapshotContent:
|
|
13097
13101
|
case Di.VolumeSnapshotClass:
|
|
13098
13102
|
case Di.PodDisruptionBudget:
|
|
13099
|
-
return
|
|
13103
|
+
return yc["Config & Storage"];
|
|
13100
13104
|
case Di.ServiceAccount:
|
|
13101
13105
|
case Di.ClusterRoleBinding:
|
|
13102
13106
|
case Di.RoleBinding:
|
|
13103
13107
|
case Di.ClusterRole:
|
|
13104
13108
|
case Di.Role:
|
|
13105
13109
|
case Di.PodSecurityPolicy:
|
|
13106
|
-
return
|
|
13110
|
+
return yc.RBAC;
|
|
13107
13111
|
case Di.MutatingWebhookConfiguration:
|
|
13108
13112
|
case Di.ValidatingWebhookConfiguration:
|
|
13109
|
-
return
|
|
13113
|
+
return yc.Administration;
|
|
13110
13114
|
case Di.Alertmanager:
|
|
13111
13115
|
case Di.Prometheus:
|
|
13112
13116
|
case Di.ServiceMonitor:
|
|
13113
|
-
return
|
|
13117
|
+
return yc["Custom Resource"];
|
|
13114
13118
|
case Di.Event:
|
|
13115
|
-
return
|
|
13119
|
+
return yc.Events;
|
|
13116
13120
|
case Di.Namespace:
|
|
13117
|
-
return
|
|
13121
|
+
return yc.Namespaces;
|
|
13118
13122
|
default:
|
|
13119
|
-
return e ?
|
|
13123
|
+
return e ? yc["Other Resources"] : yc["Custom Resource"];
|
|
13120
13124
|
}
|
|
13121
13125
|
}
|
|
13122
13126
|
const VTe = (n) => n.replace(IA.ESCAPED_CHARACTERS, "\\$&"), nLt = ({ searchText: n, text: e, highlightClasses: t }) => {
|
|
@@ -13438,7 +13442,7 @@ const qTe = (n, e = !1) => e ? btoa(n) : atob(n), Sq = (n, e = !1) => Object.key
|
|
|
13438
13442
|
var J7 = /* @__PURE__ */ ((n) => (n.GOT_IT = "Got it", n.VIEW_DOCUMENTATION = "View Documentation", n))(J7 || {});
|
|
13439
13443
|
const Dq = (n) => {
|
|
13440
13444
|
switch (n) {
|
|
13441
|
-
case
|
|
13445
|
+
case Mc.SMALL:
|
|
13442
13446
|
return { width: "100%", height: "200px" };
|
|
13443
13447
|
default:
|
|
13444
13448
|
return { width: "100%", height: "250px" };
|
|
@@ -14804,7 +14808,7 @@ const oke = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled
|
|
|
14804
14808
|
case "inprogress":
|
|
14805
14809
|
return /* @__PURE__ */ b.jsx("div", { className: "icon-dim-20", children: /* @__PURE__ */ b.jsx("div", { className: "pulse-highlight" }) });
|
|
14806
14810
|
case "unreachable":
|
|
14807
|
-
return /* @__PURE__ */ b.jsx(
|
|
14811
|
+
return /* @__PURE__ */ b.jsx(cc, { className: "icon-dim-20" });
|
|
14808
14812
|
case "loading":
|
|
14809
14813
|
return /* @__PURE__ */ b.jsx("div", { className: "dc__app-summary__icon icon-dim-20 mr-6 progressing progressing--node" });
|
|
14810
14814
|
case "disconnect":
|
|
@@ -14819,7 +14823,7 @@ const oke = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled
|
|
|
14819
14823
|
case bb.SUCCESS:
|
|
14820
14824
|
return /* @__PURE__ */ b.jsx(kV, { className: "dc__no-shrink icon-dim-16 scg-5" });
|
|
14821
14825
|
case bb.FAILURE:
|
|
14822
|
-
return /* @__PURE__ */ b.jsx(
|
|
14826
|
+
return /* @__PURE__ */ b.jsx(cc, { className: "dc__no-shrink icon-dim-16 fcr-5" });
|
|
14823
14827
|
default:
|
|
14824
14828
|
return /* @__PURE__ */ b.jsx(gke, { className: "dc__no-shrink icon-dim-16 ic-in-progress-orange" });
|
|
14825
14829
|
}
|
|
@@ -15415,16 +15419,16 @@ const xke = (n, e) => {
|
|
|
15415
15419
|
let o;
|
|
15416
15420
|
switch (n) {
|
|
15417
15421
|
case h7.ROLLBACK:
|
|
15418
|
-
o =
|
|
15422
|
+
o = $l(
|
|
15419
15423
|
`${Ci.CD_MATERIAL_GET}/${e}/material/rollback`,
|
|
15420
15424
|
s
|
|
15421
15425
|
);
|
|
15422
15426
|
break;
|
|
15423
15427
|
case h7.IMAGE_PROMOTION:
|
|
15424
|
-
o =
|
|
15428
|
+
o = $l(Ci.APP_ARTIFACT_PROMOTE_MATERIAL, r);
|
|
15425
15429
|
break;
|
|
15426
15430
|
default:
|
|
15427
|
-
o =
|
|
15431
|
+
o = $l(`${Ci.CD_MATERIAL_GET}/${e}/material`, {
|
|
15428
15432
|
...s,
|
|
15429
15433
|
stage: Ike[t]
|
|
15430
15434
|
});
|
|
@@ -15578,7 +15582,7 @@ const kke = async () => {
|
|
|
15578
15582
|
throw new Error("No content to download");
|
|
15579
15583
|
{
|
|
15580
15584
|
const c = await l?.json();
|
|
15581
|
-
throw new
|
|
15585
|
+
throw new Qc(c);
|
|
15582
15586
|
}
|
|
15583
15587
|
}
|
|
15584
15588
|
} catch (l) {
|
|
@@ -15865,7 +15869,7 @@ const zde = (n, e, t) => nn(`app/history/deployed-configuration/${n}/${e}/${t}`)
|
|
|
15865
15869
|
t
|
|
15866
15870
|
), r.values = i, r;
|
|
15867
15871
|
}, n4e = (n, e, t, i) => {
|
|
15868
|
-
const r =
|
|
15872
|
+
const r = $l(
|
|
15869
15873
|
`${Ci.RESOURCE_HISTORY_DEPLOYMENT}/${Ci.CONFIG_CD_PIPELINE}/${xV.v1}`,
|
|
15870
15874
|
{
|
|
15871
15875
|
baseConfigurationId: t,
|
|
@@ -15882,7 +15886,7 @@ const zde = (n, e, t) => nn(`app/history/deployed-configuration/${n}/${e}/${t}`)
|
|
|
15882
15886
|
releaseId: i,
|
|
15883
15887
|
showCurrentReleaseDeployments: r = !1
|
|
15884
15888
|
}) => {
|
|
15885
|
-
const s =
|
|
15889
|
+
const s = $l(
|
|
15886
15890
|
`${Ci.RESOURCE_HISTORY_DEPLOYMENT}/${Io.cdPipeline}/${xV.v1}`,
|
|
15887
15891
|
{
|
|
15888
15892
|
filterCriteria: pke({ appId: n, envId: e, releaseId: i, showCurrentReleaseDeployments: r }),
|
|
@@ -17890,13 +17894,13 @@ function C(n, e, ...t) {
|
|
|
17890
17894
|
}
|
|
17891
17895
|
var i4;
|
|
17892
17896
|
const zv = "en";
|
|
17893
|
-
let BA = !1, zA = !1, Ax = !1, $de = !1, WV = !1, VV = !1, ehe = !1, PD, Mx = zv, nK = zv, K4e,
|
|
17897
|
+
let BA = !1, zA = !1, Ax = !1, $de = !1, WV = !1, VV = !1, ehe = !1, PD, Mx = zv, nK = zv, K4e, wc;
|
|
17894
17898
|
const Ql = typeof self == "object" ? self : typeof global == "object" ? global : {};
|
|
17895
17899
|
let to;
|
|
17896
17900
|
typeof Ql.vscode < "u" && typeof Ql.vscode.process < "u" ? to = Ql.vscode.process : typeof process < "u" && (to = process);
|
|
17897
17901
|
const Z4e = typeof ((i4 = to?.versions) === null || i4 === void 0 ? void 0 : i4.electron) == "string", X4e = Z4e && to?.type === "renderer";
|
|
17898
17902
|
if (typeof navigator == "object" && !X4e)
|
|
17899
|
-
|
|
17903
|
+
wc = navigator.userAgent, BA = wc.indexOf("Windows") >= 0, zA = wc.indexOf("Macintosh") >= 0, VV = (wc.indexOf("Macintosh") >= 0 || wc.indexOf("iPad") >= 0 || wc.indexOf("iPhone") >= 0) && !!navigator.maxTouchPoints && navigator.maxTouchPoints > 0, Ax = wc.indexOf("Linux") >= 0, ehe = wc?.indexOf("Mobi") >= 0, WV = !0, // This call _must_ be done in the file that calls `nls.getConfiguredDefaultLocale`
|
|
17900
17904
|
// to ensure that the NLS AMD Loader plugin has been loaded and configured.
|
|
17901
17905
|
// This is because the loader plugin decides what the default locale is based on
|
|
17902
17906
|
// how it's able to resolve the strings.
|
|
@@ -17913,7 +17917,7 @@ else if (typeof to == "object") {
|
|
|
17913
17917
|
$de = !0;
|
|
17914
17918
|
} else
|
|
17915
17919
|
console.error("Unable to resolve platform.");
|
|
17916
|
-
const Ls = BA, ri = zA, Xs = Ax,
|
|
17920
|
+
const Ls = BA, ri = zA, Xs = Ax, Zc = $de, ip = WV, J4e = WV && typeof Ql.importScripts == "function", ou = VV, $4e = ehe, bd = wc, eOe = Mx, tOe = typeof Ql.postMessage == "function" && !Ql.importScripts, the = (() => {
|
|
17917
17921
|
if (tOe) {
|
|
17918
17922
|
const n = [];
|
|
17919
17923
|
Ql.addEventListener("message", (t) => {
|
|
@@ -18583,9 +18587,9 @@ class Sa extends Ln {
|
|
|
18583
18587
|
}
|
|
18584
18588
|
Sa.OFF = '"liga" off, "calt" off';
|
|
18585
18589
|
Sa.ON = '"liga" on, "calt" on';
|
|
18586
|
-
class
|
|
18590
|
+
class zc extends Ln {
|
|
18587
18591
|
constructor() {
|
|
18588
|
-
super(54, "fontVariations",
|
|
18592
|
+
super(54, "fontVariations", zc.OFF, {
|
|
18589
18593
|
anyOf: [
|
|
18590
18594
|
{
|
|
18591
18595
|
type: "boolean",
|
|
@@ -18601,14 +18605,14 @@ class Bc extends Ln {
|
|
|
18601
18605
|
});
|
|
18602
18606
|
}
|
|
18603
18607
|
validate(e) {
|
|
18604
|
-
return typeof e > "u" ? this.defaultValue : typeof e == "string" ? e === "false" ?
|
|
18608
|
+
return typeof e > "u" ? this.defaultValue : typeof e == "string" ? e === "false" ? zc.OFF : e === "true" ? zc.TRANSLATE : e : e ? zc.TRANSLATE : zc.OFF;
|
|
18605
18609
|
}
|
|
18606
18610
|
compute(e, t, i) {
|
|
18607
18611
|
return e.fontInfo.fontVariationSettings;
|
|
18608
18612
|
}
|
|
18609
18613
|
}
|
|
18610
|
-
|
|
18611
|
-
|
|
18614
|
+
zc.OFF = "normal";
|
|
18615
|
+
zc.TRANSLATE = "translate";
|
|
18612
18616
|
class mOe extends mI {
|
|
18613
18617
|
constructor() {
|
|
18614
18618
|
super(
|
|
@@ -20438,7 +20442,7 @@ const gu = {
|
|
|
20438
20442
|
fontLigatures2: Re(new Sa()),
|
|
20439
20443
|
fontSize: Re(new vOe()),
|
|
20440
20444
|
fontWeight: Re(new Bu()),
|
|
20441
|
-
fontVariations: Re(new
|
|
20445
|
+
fontVariations: Re(new zc()),
|
|
20442
20446
|
formatOnPaste: Re(new ai(55, "formatOnPaste", !1, { description: C("formatOnPaste", "Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.") })),
|
|
20443
20447
|
formatOnType: Re(new ai(56, "formatOnType", !1, { description: C("formatOnType", "Controls whether the editor should automatically format the line after typing.") })),
|
|
20444
20448
|
glyphMargin: Re(new ai(57, "glyphMargin", !0, { description: C("glyphMargin", "Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.") })),
|
|
@@ -22460,7 +22464,7 @@ const Ko = {
|
|
|
22460
22464
|
};
|
|
22461
22465
|
_r.win32 = Ko.win32 = Ko;
|
|
22462
22466
|
_r.posix = Ko.posix = _r;
|
|
22463
|
-
const vhe = rp ? Ko.normalize : _r.normalize, v3e = rp ? Ko.resolve : _r.resolve, b3e = rp ? Ko.relative : _r.relative, bhe = rp ? Ko.dirname : _r.dirname, dg = rp ? Ko.basename : _r.basename, _3e = rp ? Ko.extname : _r.extname,
|
|
22467
|
+
const vhe = rp ? Ko.normalize : _r.normalize, v3e = rp ? Ko.resolve : _r.resolve, b3e = rp ? Ko.relative : _r.relative, bhe = rp ? Ko.dirname : _r.dirname, dg = rp ? Ko.basename : _r.basename, _3e = rp ? Ko.extname : _r.extname, Xc = rp ? Ko.sep : _r.sep, C3e = /^\w[\w\d+.-]*$/, y3e = /^\//, w3e = /^\/\//;
|
|
22464
22468
|
function S3e(n, e) {
|
|
22465
22469
|
if (!n.scheme && e)
|
|
22466
22470
|
throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${n.authority}", path: "${n.path}", query: "${n.query}", fragment: "${n.fragment}"}`);
|
|
@@ -22482,12 +22486,12 @@ function D3e(n, e) {
|
|
|
22482
22486
|
case "https":
|
|
22483
22487
|
case "http":
|
|
22484
22488
|
case "file":
|
|
22485
|
-
e ? e[0] !==
|
|
22489
|
+
e ? e[0] !== Oc && (e = Oc + e) : e = Oc;
|
|
22486
22490
|
break;
|
|
22487
22491
|
}
|
|
22488
22492
|
return e;
|
|
22489
22493
|
}
|
|
22490
|
-
const er = "",
|
|
22494
|
+
const er = "", Oc = "/", L3e = /^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;
|
|
22491
22495
|
let pt = class Tx {
|
|
22492
22496
|
static isUri(e) {
|
|
22493
22497
|
return e instanceof Tx ? !0 : e ? typeof e.authority == "string" && typeof e.fragment == "string" && typeof e.path == "string" && typeof e.query == "string" && typeof e.scheme == "string" && typeof e.fsPath == "string" && typeof e.with == "function" && typeof e.toString == "function" : !1;
|
|
@@ -22567,9 +22571,9 @@ let pt = class Tx {
|
|
|
22567
22571
|
*/
|
|
22568
22572
|
static file(e) {
|
|
22569
22573
|
let t = er;
|
|
22570
|
-
if (Ls && (e = e.replace(/\\/g,
|
|
22571
|
-
const i = e.indexOf(
|
|
22572
|
-
i === -1 ? (t = e.substring(2), e =
|
|
22574
|
+
if (Ls && (e = e.replace(/\\/g, Oc)), e[0] === Oc && e[1] === Oc) {
|
|
22575
|
+
const i = e.indexOf(Oc, 2);
|
|
22576
|
+
i === -1 ? (t = e.substring(2), e = Oc) : (t = e.substring(2, i), e = e.substring(i) || Oc);
|
|
22573
22577
|
}
|
|
22574
22578
|
return new iv("file", t, e, er, er);
|
|
22575
22579
|
}
|
|
@@ -22698,7 +22702,7 @@ function GA(n, e) {
|
|
|
22698
22702
|
function d8(n, e) {
|
|
22699
22703
|
const t = e ? x3e : cK;
|
|
22700
22704
|
let i = "", { scheme: r, authority: s, path: o, query: a, fragment: l } = n;
|
|
22701
|
-
if (r && (i += r, i += ":"), (s || r === "file") && (i +=
|
|
22705
|
+
if (r && (i += r, i += ":"), (s || r === "file") && (i += Oc, i += Oc), s) {
|
|
22702
22706
|
let c = s.indexOf("@");
|
|
22703
22707
|
if (c !== -1) {
|
|
22704
22708
|
const u = s.substr(0, c);
|
|
@@ -24433,7 +24437,7 @@ function ji(n, e = 0, t = n.length) {
|
|
|
24433
24437
|
}
|
|
24434
24438
|
return n.substring(e, t);
|
|
24435
24439
|
}
|
|
24436
|
-
function
|
|
24440
|
+
function Jc(n, e = n.length - 1) {
|
|
24437
24441
|
for (let t = e; t >= 0; t--) {
|
|
24438
24442
|
const i = n.charCodeAt(t);
|
|
24439
24443
|
if (i !== 32 && i !== 9)
|
|
@@ -24847,35 +24851,35 @@ class Phe {
|
|
|
24847
24851
|
this.domNode = e, this._maxWidth = "", this._width = "", this._height = "", this._top = "", this._left = "", this._bottom = "", this._right = "", this._paddingLeft = "", this._fontFamily = "", this._fontWeight = "", this._fontSize = "", this._fontStyle = "", this._fontFeatureSettings = "", this._fontVariationSettings = "", this._textDecoration = "", this._lineHeight = "", this._letterSpacing = "", this._className = "", this._display = "", this._position = "", this._visibility = "", this._color = "", this._backgroundColor = "", this._layerHint = !1, this._contain = "none", this._boxShadow = "";
|
|
24848
24852
|
}
|
|
24849
24853
|
setMaxWidth(e) {
|
|
24850
|
-
const t =
|
|
24854
|
+
const t = bc(e);
|
|
24851
24855
|
this._maxWidth !== t && (this._maxWidth = t, this.domNode.style.maxWidth = this._maxWidth);
|
|
24852
24856
|
}
|
|
24853
24857
|
setWidth(e) {
|
|
24854
|
-
const t =
|
|
24858
|
+
const t = bc(e);
|
|
24855
24859
|
this._width !== t && (this._width = t, this.domNode.style.width = this._width);
|
|
24856
24860
|
}
|
|
24857
24861
|
setHeight(e) {
|
|
24858
|
-
const t =
|
|
24862
|
+
const t = bc(e);
|
|
24859
24863
|
this._height !== t && (this._height = t, this.domNode.style.height = this._height);
|
|
24860
24864
|
}
|
|
24861
24865
|
setTop(e) {
|
|
24862
|
-
const t =
|
|
24866
|
+
const t = bc(e);
|
|
24863
24867
|
this._top !== t && (this._top = t, this.domNode.style.top = this._top);
|
|
24864
24868
|
}
|
|
24865
24869
|
setLeft(e) {
|
|
24866
|
-
const t =
|
|
24870
|
+
const t = bc(e);
|
|
24867
24871
|
this._left !== t && (this._left = t, this.domNode.style.left = this._left);
|
|
24868
24872
|
}
|
|
24869
24873
|
setBottom(e) {
|
|
24870
|
-
const t =
|
|
24874
|
+
const t = bc(e);
|
|
24871
24875
|
this._bottom !== t && (this._bottom = t, this.domNode.style.bottom = this._bottom);
|
|
24872
24876
|
}
|
|
24873
24877
|
setRight(e) {
|
|
24874
|
-
const t =
|
|
24878
|
+
const t = bc(e);
|
|
24875
24879
|
this._right !== t && (this._right = t, this.domNode.style.right = this._right);
|
|
24876
24880
|
}
|
|
24877
24881
|
setPaddingLeft(e) {
|
|
24878
|
-
const t =
|
|
24882
|
+
const t = bc(e);
|
|
24879
24883
|
this._paddingLeft !== t && (this._paddingLeft = t, this.domNode.style.paddingLeft = this._paddingLeft);
|
|
24880
24884
|
}
|
|
24881
24885
|
setFontFamily(e) {
|
|
@@ -24885,7 +24889,7 @@ class Phe {
|
|
|
24885
24889
|
this._fontWeight !== e && (this._fontWeight = e, this.domNode.style.fontWeight = this._fontWeight);
|
|
24886
24890
|
}
|
|
24887
24891
|
setFontSize(e) {
|
|
24888
|
-
const t =
|
|
24892
|
+
const t = bc(e);
|
|
24889
24893
|
this._fontSize !== t && (this._fontSize = t, this.domNode.style.fontSize = this._fontSize);
|
|
24890
24894
|
}
|
|
24891
24895
|
setFontStyle(e) {
|
|
@@ -24901,11 +24905,11 @@ class Phe {
|
|
|
24901
24905
|
this._textDecoration !== e && (this._textDecoration = e, this.domNode.style.textDecoration = this._textDecoration);
|
|
24902
24906
|
}
|
|
24903
24907
|
setLineHeight(e) {
|
|
24904
|
-
const t =
|
|
24908
|
+
const t = bc(e);
|
|
24905
24909
|
this._lineHeight !== t && (this._lineHeight = t, this.domNode.style.lineHeight = this._lineHeight);
|
|
24906
24910
|
}
|
|
24907
24911
|
setLetterSpacing(e) {
|
|
24908
|
-
const t =
|
|
24912
|
+
const t = bc(e);
|
|
24909
24913
|
this._letterSpacing !== t && (this._letterSpacing = t, this.domNode.style.letterSpacing = this._letterSpacing);
|
|
24910
24914
|
}
|
|
24911
24915
|
setClassName(e) {
|
|
@@ -24951,7 +24955,7 @@ class Phe {
|
|
|
24951
24955
|
this.domNode.removeChild(e.domNode);
|
|
24952
24956
|
}
|
|
24953
24957
|
}
|
|
24954
|
-
function
|
|
24958
|
+
function bc(n) {
|
|
24955
24959
|
return typeof n == "number" ? `${n}px` : n;
|
|
24956
24960
|
}
|
|
24957
24961
|
function Ii(n) {
|
|
@@ -25062,7 +25066,7 @@ class ym {
|
|
|
25062
25066
|
static _create(e, t, i, r, s, o, a, l, c) {
|
|
25063
25067
|
o === 0 ? o = nPe * i : o < s4 && (o = o * i), o = Math.round(o), o < s4 && (o = s4);
|
|
25064
25068
|
const u = 1 + (c ? 0 : rl.getZoomLevel() * 0.1);
|
|
25065
|
-
return i *= u, o *= u, s ===
|
|
25069
|
+
return i *= u, o *= u, s === zc.TRANSLATE && (t === "normal" || t === "bold" ? s = zc.OFF : (s = `'wght' ${parseInt(t, 10)}`, t = "normal")), new ym({
|
|
25066
25070
|
pixelRatio: l,
|
|
25067
25071
|
fontFamily: e,
|
|
25068
25072
|
fontWeight: t,
|
|
@@ -25228,27 +25232,27 @@ class gK {
|
|
|
25228
25232
|
}
|
|
25229
25233
|
}
|
|
25230
25234
|
const nj = new sPe();
|
|
25231
|
-
var
|
|
25235
|
+
var Uc;
|
|
25232
25236
|
(function(n) {
|
|
25233
25237
|
n.serviceIds = /* @__PURE__ */ new Map(), n.DI_TARGET = "$di$target", n.DI_DEPENDENCIES = "$di$dependencies";
|
|
25234
25238
|
function e(t) {
|
|
25235
25239
|
return t[n.DI_DEPENDENCIES] || [];
|
|
25236
25240
|
}
|
|
25237
25241
|
n.getServiceDependencies = e;
|
|
25238
|
-
})(
|
|
25242
|
+
})(Uc || (Uc = {}));
|
|
25239
25243
|
const _t = Gt("instantiationService");
|
|
25240
25244
|
function oPe(n, e, t) {
|
|
25241
|
-
e[
|
|
25245
|
+
e[Uc.DI_TARGET] === e ? e[Uc.DI_DEPENDENCIES].push({ id: n, index: t }) : (e[Uc.DI_DEPENDENCIES] = [{ id: n, index: t }], e[Uc.DI_TARGET] = e);
|
|
25242
25246
|
}
|
|
25243
25247
|
function Gt(n) {
|
|
25244
|
-
if (
|
|
25245
|
-
return
|
|
25248
|
+
if (Uc.serviceIds.has(n))
|
|
25249
|
+
return Uc.serviceIds.get(n);
|
|
25246
25250
|
const e = function(t, i, r) {
|
|
25247
25251
|
if (arguments.length !== 3)
|
|
25248
25252
|
throw new Error("@IServiceName-decorator can only be used to decorate a parameter");
|
|
25249
25253
|
oPe(e, t, r);
|
|
25250
25254
|
};
|
|
25251
|
-
return e.toString = () => n,
|
|
25255
|
+
return e.toString = () => n, Uc.serviceIds.set(n, e), e;
|
|
25252
25256
|
}
|
|
25253
25257
|
const wi = Gt("codeEditorService"), vn = Gt("modelService"), Fo = Gt("textModelService");
|
|
25254
25258
|
var o1 = globalThis && globalThis.__awaiter || function(n, e, t, i) {
|
|
@@ -27264,7 +27268,7 @@ class Nw extends l1 {
|
|
|
27264
27268
|
super(`submenuitem.${e.submenu.id}`, typeof e.title == "string" ? e.title : e.title.value, i, "submenu"), this.item = e, this.hideActions = t;
|
|
27265
27269
|
}
|
|
27266
27270
|
}
|
|
27267
|
-
let
|
|
27271
|
+
let nc = Ox = class {
|
|
27268
27272
|
static label(e, t) {
|
|
27269
27273
|
return t?.renderShortTitle && e.shortTitle ? typeof e.shortTitle == "string" ? e.shortTitle : e.shortTitle.value : typeof e.title == "string" ? e.title : e.title.value;
|
|
27270
27274
|
}
|
|
@@ -27284,10 +27288,10 @@ let ic = Ox = class {
|
|
|
27284
27288
|
return !((t = this._options) === null || t === void 0) && t.arg && (r = [...r, this._options.arg]), !((i = this._options) === null || i === void 0) && i.shouldForwardArgs && (r = [...r, ...e]), this._commandService.executeCommand(this.id, ...r);
|
|
27285
27289
|
}
|
|
27286
27290
|
};
|
|
27287
|
-
|
|
27291
|
+
nc = Ox = IPe([
|
|
27288
27292
|
bK(4, yt),
|
|
27289
27293
|
bK(5, Hn)
|
|
27290
|
-
],
|
|
27294
|
+
], nc);
|
|
27291
27295
|
class Ga {
|
|
27292
27296
|
constructor(e) {
|
|
27293
27297
|
this.desc = e;
|
|
@@ -27406,10 +27410,10 @@ function MPe(n) {
|
|
|
27406
27410
|
new qe("logLevel", MPe(bs.Info));
|
|
27407
27411
|
const cH = {
|
|
27408
27412
|
clipboard: {
|
|
27409
|
-
writeText:
|
|
27410
|
-
readText:
|
|
27413
|
+
writeText: Zc || document.queryCommandSupported && document.queryCommandSupported("copy") || !!(navigator && navigator.clipboard && navigator.clipboard.writeText),
|
|
27414
|
+
readText: Zc || !!(navigator && navigator.clipboard && navigator.clipboard.readText)
|
|
27411
27415
|
},
|
|
27412
|
-
keyboard: (() =>
|
|
27416
|
+
keyboard: (() => Zc || ePe() ? 0 : navigator.keyboard || qh ? 1 : 2)(),
|
|
27413
27417
|
// 'ontouchstart' in window always evaluates to true with typescript's modern typings. This causes `window` to be
|
|
27414
27418
|
// `never` later in `window.navigator`. That's why we need the explicit `window as Window` cast
|
|
27415
27419
|
touch: "ontouchstart" in window || navigator.maxTouchPoints > 0,
|
|
@@ -27613,8 +27617,8 @@ au || (au = function(e) {
|
|
|
27613
27617
|
cj || (cj = function(e, t) {
|
|
27614
27618
|
return new e(...t);
|
|
27615
27619
|
});
|
|
27616
|
-
const WPe =
|
|
27617
|
-
function
|
|
27620
|
+
const WPe = rc(Array.prototype.forEach), yK = rc(Array.prototype.pop), K_ = rc(Array.prototype.push), Px = rc(String.prototype.toLowerCase), c4 = rc(String.prototype.toString), VPe = rc(String.prototype.match), _c = rc(String.prototype.replace), HPe = rc(String.prototype.indexOf), UPe = rc(String.prototype.trim), $a = rc(RegExp.prototype.test), Z_ = GPe(TypeError);
|
|
27621
|
+
function rc(n) {
|
|
27618
27622
|
return function(e) {
|
|
27619
27623
|
for (var t = arguments.length, i = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++)
|
|
27620
27624
|
i[r - 1] = arguments[r];
|
|
@@ -27653,9 +27657,9 @@ function zD(n, e) {
|
|
|
27653
27657
|
const i = BPe(n, e);
|
|
27654
27658
|
if (i) {
|
|
27655
27659
|
if (i.get)
|
|
27656
|
-
return
|
|
27660
|
+
return rc(i.get);
|
|
27657
27661
|
if (typeof i.value == "function")
|
|
27658
|
-
return
|
|
27662
|
+
return rc(i.value);
|
|
27659
27663
|
}
|
|
27660
27664
|
n = FPe(n);
|
|
27661
27665
|
}
|
|
@@ -27922,7 +27926,7 @@ function Ghe() {
|
|
|
27922
27926
|
}
|
|
27923
27927
|
return Un(De), !0;
|
|
27924
27928
|
}
|
|
27925
|
-
return De instanceof l && !Ei(De) || (ct === "noscript" || ct === "noembed" || ct === "noframes") && $a(/<\/no(script|embed|frames)/i, De.innerHTML) ? (Un(De), !0) : (G && De.nodeType === 3 && (Xe = De.textContent, Xe =
|
|
27929
|
+
return De instanceof l && !Ei(De) || (ct === "noscript" || ct === "noembed" || ct === "noframes") && $a(/<\/no(script|embed|frames)/i, De.innerHTML) ? (Un(De), !0) : (G && De.nodeType === 3 && (Xe = De.textContent, Xe = _c(Xe, N, " "), Xe = _c(Xe, A, " "), Xe = _c(Xe, M, " "), De.textContent !== Xe && (K_(e.removed, {
|
|
27926
27930
|
element: De.cloneNode()
|
|
27927
27931
|
}), De.textContent = Xe)), Yt("afterSanitizeElements", De, null), !1);
|
|
27928
27932
|
}, kt = function(De, Xe, ct) {
|
|
@@ -27941,9 +27945,9 @@ function Ghe() {
|
|
|
27941
27945
|
)
|
|
27942
27946
|
return !1;
|
|
27943
27947
|
} else if (!pe[Xe]) {
|
|
27944
|
-
if (!$a(j,
|
|
27948
|
+
if (!$a(j, _c(ct, B, ""))) {
|
|
27945
27949
|
if (!((Xe === "src" || Xe === "xlink:href" || Xe === "href") && De !== "script" && HPe(ct, "data:") === 0 && Z[De])) {
|
|
27946
|
-
if (!(ve && !$a(U,
|
|
27950
|
+
if (!(ve && !$a(U, _c(ct, B, "")))) {
|
|
27947
27951
|
if (ct)
|
|
27948
27952
|
return !1;
|
|
27949
27953
|
}
|
|
@@ -27981,7 +27985,7 @@ function Ghe() {
|
|
|
27981
27985
|
_e(Xa, De);
|
|
27982
27986
|
continue;
|
|
27983
27987
|
}
|
|
27984
|
-
G && (ct =
|
|
27988
|
+
G && (ct = _c(ct, N, " "), ct = _c(ct, A, " "), ct = _c(ct, M, " "));
|
|
27985
27989
|
const W_ = $e(De.nodeName);
|
|
27986
27990
|
if (kt(W_, wn, ct)) {
|
|
27987
27991
|
if (Ne && (wn === "id" || wn === "name") && (_e(Xa, De), ct = ze + ct), w && typeof f == "object" && typeof f.getAttributeType == "function" && !z_)
|
|
@@ -28050,7 +28054,7 @@ function Ghe() {
|
|
|
28050
28054
|
}
|
|
28051
28055
|
let $n = ne ? Xe.outerHTML : Xe.innerHTML;
|
|
28052
28056
|
return ne && Q["!doctype"] && Xe.ownerDocument && Xe.ownerDocument.doctype && Xe.ownerDocument.doctype.name && $a(Uhe, Xe.ownerDocument.doctype.name) && ($n = "<!DOCTYPE " + Xe.ownerDocument.doctype.name + `>
|
|
28053
|
-
` + $n), G && ($n =
|
|
28057
|
+
` + $n), G && ($n = _c($n, N, " "), $n = _c($n, A, " "), $n = _c($n, M, " ")), w && ee ? w.createHTML($n) : $n;
|
|
28054
28058
|
}, e.setConfig = function(mt) {
|
|
28055
28059
|
St(mt), V = !0;
|
|
28056
28060
|
}, e.clearConfig = function() {
|
|
@@ -28124,7 +28128,7 @@ class Ew {
|
|
|
28124
28128
|
return e.scheme === Ot.vscodeRemote ? Khe.rewrite(e) : (
|
|
28125
28129
|
// ...only ever for `file` resources
|
|
28126
28130
|
e.scheme === Ot.file && // ...and we run in native environments
|
|
28127
|
-
(
|
|
28131
|
+
(Zc || // ...or web worker extensions on desktop
|
|
28128
28132
|
J4e && Ql.origin === `${Ot.vscodeFileResource}://${Ew.FALLBACK_AUTHORITY}`) ? e.with({
|
|
28129
28133
|
scheme: Ot.vscodeFileResource,
|
|
28130
28134
|
// We need to provide an authority here so that it can serve
|
|
@@ -29323,7 +29327,7 @@ const M5e = (n, e) => {
|
|
|
29323
29327
|
}
|
|
29324
29328
|
};
|
|
29325
29329
|
};
|
|
29326
|
-
class
|
|
29330
|
+
class sc {
|
|
29327
29331
|
constructor(e) {
|
|
29328
29332
|
this.defaultDelay = e, this.deferred = null, this.completionPromise = null, this.doResolve = null, this.doReject = null, this.task = null;
|
|
29329
29333
|
}
|
|
@@ -29360,7 +29364,7 @@ class rc {
|
|
|
29360
29364
|
}
|
|
29361
29365
|
class ufe {
|
|
29362
29366
|
constructor(e) {
|
|
29363
|
-
this.delayer = new
|
|
29367
|
+
this.delayer = new sc(e), this.throttler = new A5e();
|
|
29364
29368
|
}
|
|
29365
29369
|
trigger(e, t) {
|
|
29366
29370
|
return this.delayer.trigger(() => this.throttler.queue(e), t);
|
|
@@ -29399,7 +29403,7 @@ function dfe(n, e = (i) => !!i, t = null) {
|
|
|
29399
29403
|
};
|
|
29400
29404
|
return s();
|
|
29401
29405
|
}
|
|
29402
|
-
class
|
|
29406
|
+
class uc {
|
|
29403
29407
|
constructor(e, t) {
|
|
29404
29408
|
this._token = -1, typeof e == "function" && typeof t == "number" && this.setIfNotSet(e, t);
|
|
29405
29409
|
}
|
|
@@ -30267,10 +30271,10 @@ function Y5e(n, e) {
|
|
|
30267
30271
|
function Q5e(n, e, t) {
|
|
30268
30272
|
n[t + 0] = e & 255, e = e >>> 8, n[t + 1] = e & 255;
|
|
30269
30273
|
}
|
|
30270
|
-
function
|
|
30274
|
+
function xc(n, e) {
|
|
30271
30275
|
return n[e] * Math.pow(2, 24) + n[e + 1] * Math.pow(2, 16) + n[e + 2] * Math.pow(2, 8) + n[e + 3];
|
|
30272
30276
|
}
|
|
30273
|
-
function
|
|
30277
|
+
function Ac(n, e, t) {
|
|
30274
30278
|
n[t + 3] = e, e = e >>> 8, n[t + 2] = e, e = e >>> 8, n[t + 1] = e, e = e >>> 8, n[t] = e;
|
|
30275
30279
|
}
|
|
30276
30280
|
function RK(n, e) {
|
|
@@ -32442,10 +32446,10 @@ var ta;
|
|
|
32442
32446
|
(function(n) {
|
|
32443
32447
|
n[n.Inline = 1] = "Inline", n[n.Gutter = 2] = "Gutter";
|
|
32444
32448
|
})(ta || (ta = {}));
|
|
32445
|
-
var
|
|
32449
|
+
var Gc;
|
|
32446
32450
|
(function(n) {
|
|
32447
32451
|
n[n.Both = 0] = "Both", n[n.Right = 1] = "Right", n[n.Left = 2] = "Left", n[n.None = 3] = "None";
|
|
32448
|
-
})(
|
|
32452
|
+
})(Gc || (Gc = {}));
|
|
32449
32453
|
class Fx {
|
|
32450
32454
|
get originalIndentSize() {
|
|
32451
32455
|
return this._indentSizeIsTabSize ? "tabSize" : this.indentSize;
|
|
@@ -33591,7 +33595,7 @@ function bj(n, e) {
|
|
|
33591
33595
|
return t === -1 ? e : t + 1;
|
|
33592
33596
|
}
|
|
33593
33597
|
function _j(n, e) {
|
|
33594
|
-
const t =
|
|
33598
|
+
const t = Jc(n);
|
|
33595
33599
|
return t === -1 ? e : t + 2;
|
|
33596
33600
|
}
|
|
33597
33601
|
function eZ(n) {
|
|
@@ -36393,7 +36397,7 @@ function Q9e(n, e, t, i) {
|
|
|
36393
36397
|
let g = 0, p = 0, m = i[p].type, v = i[p].containsRTL, _ = i[p].endIndex;
|
|
36394
36398
|
const w = i.length;
|
|
36395
36399
|
let y = !1, S = Zs(e), I;
|
|
36396
|
-
S === -1 ? (y = !0, S = t, I = t) : I =
|
|
36400
|
+
S === -1 ? (y = !0, S = t, I = t) : I = Jc(e);
|
|
36397
36401
|
let D = !1, x = 0, L = c && c[x], E = a % o;
|
|
36398
36402
|
for (let A = s; A < t; A++) {
|
|
36399
36403
|
const M = e.charCodeAt(A);
|
|
@@ -37871,7 +37875,7 @@ class D6e {
|
|
|
37871
37875
|
const i = this.colorsById[e];
|
|
37872
37876
|
if (i && i.defaults) {
|
|
37873
37877
|
const r = i.defaults[t.type];
|
|
37874
|
-
return
|
|
37878
|
+
return Sc(r, t);
|
|
37875
37879
|
}
|
|
37876
37880
|
}
|
|
37877
37881
|
getColorSchema() {
|
|
@@ -37908,7 +37912,7 @@ const Zu = te("widget.shadow", { dark: ut(Ce.black, 0.36), light: ut(Ce.black, 0
|
|
|
37908
37912
|
te("inputOption.hoverBackground", { dark: "#5a5d5e80", light: "#b8b8b850", hcDark: null, hcLight: null }, C("inputOption.hoverBackground", "Background color of activated options in input fields."));
|
|
37909
37913
|
const am = te("inputOption.activeBackground", { dark: ut(Ma, 0.4), light: ut(Ma, 0.2), hcDark: Ce.transparent, hcLight: Ce.transparent }, C("inputOption.activeBackground", "Background hover color of options in input fields.")), MH = te("inputOption.activeForeground", { dark: Ce.white, light: Ce.black, hcDark: Be, hcLight: Be }, C("inputOption.activeForeground", "Foreground color of activated options in input fields."));
|
|
37910
37914
|
te("input.placeholderForeground", { light: ut(Be, 0.5), dark: ut(Be, 0.5), hcDark: ut(Be, 0.7), hcLight: ut(Be, 0.7) }, C("inputPlaceholderForeground", "Input box foreground color for placeholder text."));
|
|
37911
|
-
const A6e = te("inputValidation.infoBackground", { dark: "#063B49", light: "#D6ECF2", hcDark: Ce.black, hcLight: Ce.white }, C("inputValidationInfoBackground", "Input validation background color for information severity.")), M6e = te("inputValidation.infoForeground", { dark: null, light: null, hcDark: null, hcLight: Be }, C("inputValidationInfoForeground", "Input validation foreground color for information severity.")), N6e = te("inputValidation.infoBorder", { dark: "#007acc", light: "#007acc", hcDark: ei, hcLight: ei }, C("inputValidationInfoBorder", "Input validation border color for information severity.")), E6e = te("inputValidation.warningBackground", { dark: "#352A05", light: "#F6F5D2", hcDark: Ce.black, hcLight: Ce.white }, C("inputValidationWarningBackground", "Input validation background color for warning severity.")), T6e = te("inputValidation.warningForeground", { dark: null, light: null, hcDark: null, hcLight: Be }, C("inputValidationWarningForeground", "Input validation foreground color for warning severity.")), k6e = te("inputValidation.warningBorder", { dark: "#B89500", light: "#B89500", hcDark: ei, hcLight: ei }, C("inputValidationWarningBorder", "Input validation border color for warning severity.")), O6e = te("inputValidation.errorBackground", { dark: "#5A1D1D", light: "#F2DEDE", hcDark: Ce.black, hcLight: Ce.white }, C("inputValidationErrorBackground", "Input validation background color for error severity.")), P6e = te("inputValidation.errorForeground", { dark: null, light: null, hcDark: null, hcLight: Be }, C("inputValidationErrorForeground", "Input validation foreground color for error severity.")), R6e = te("inputValidation.errorBorder", { dark: "#BE1100", light: "#BE1100", hcDark: ei, hcLight: ei }, C("inputValidationErrorBorder", "Input validation border color for error severity.")), Xu = te("dropdown.background", { dark: "#3C3C3C", light: Ce.white, hcDark: Ce.black, hcLight: Ce.white }, C("dropdownBackground", "Dropdown background.")), j6e = te("dropdown.listBackground", { dark: null, light: null, hcDark: Ce.black, hcLight: Ce.white }, C("dropdownListBackground", "Dropdown list background.")), Dh = te("dropdown.foreground", { dark: "#F0F0F0", light: Be, hcDark: Ce.white, hcLight: Be }, C("dropdownForeground", "Dropdown foreground.")), Qv = te("dropdown.border", { dark: Xu, light: "#CECECE", hcDark: ei, hcLight: ei }, C("dropdownBorder", "Dropdown border.")), HC = te("button.foreground", { dark: Ce.white, light: Ce.white, hcDark: Ce.white, hcLight: Ce.white }, C("buttonForeground", "Button foreground color.")), F6e = te("button.separator", { dark: ut(HC, 0.4), light: ut(HC, 0.4), hcDark: ut(HC, 0.4), hcLight: ut(HC, 0.4) }, C("buttonSeparator", "Button separator color.")), UC = te("button.background", { dark: "#0E639C", light: "#007ACC", hcDark: null, hcLight: "#0F4A85" }, C("buttonBackground", "Button background color.")), B6e = te("button.hoverBackground", { dark:
|
|
37915
|
+
const A6e = te("inputValidation.infoBackground", { dark: "#063B49", light: "#D6ECF2", hcDark: Ce.black, hcLight: Ce.white }, C("inputValidationInfoBackground", "Input validation background color for information severity.")), M6e = te("inputValidation.infoForeground", { dark: null, light: null, hcDark: null, hcLight: Be }, C("inputValidationInfoForeground", "Input validation foreground color for information severity.")), N6e = te("inputValidation.infoBorder", { dark: "#007acc", light: "#007acc", hcDark: ei, hcLight: ei }, C("inputValidationInfoBorder", "Input validation border color for information severity.")), E6e = te("inputValidation.warningBackground", { dark: "#352A05", light: "#F6F5D2", hcDark: Ce.black, hcLight: Ce.white }, C("inputValidationWarningBackground", "Input validation background color for warning severity.")), T6e = te("inputValidation.warningForeground", { dark: null, light: null, hcDark: null, hcLight: Be }, C("inputValidationWarningForeground", "Input validation foreground color for warning severity.")), k6e = te("inputValidation.warningBorder", { dark: "#B89500", light: "#B89500", hcDark: ei, hcLight: ei }, C("inputValidationWarningBorder", "Input validation border color for warning severity.")), O6e = te("inputValidation.errorBackground", { dark: "#5A1D1D", light: "#F2DEDE", hcDark: Ce.black, hcLight: Ce.white }, C("inputValidationErrorBackground", "Input validation background color for error severity.")), P6e = te("inputValidation.errorForeground", { dark: null, light: null, hcDark: null, hcLight: Be }, C("inputValidationErrorForeground", "Input validation foreground color for error severity.")), R6e = te("inputValidation.errorBorder", { dark: "#BE1100", light: "#BE1100", hcDark: ei, hcLight: ei }, C("inputValidationErrorBorder", "Input validation border color for error severity.")), Xu = te("dropdown.background", { dark: "#3C3C3C", light: Ce.white, hcDark: Ce.black, hcLight: Ce.white }, C("dropdownBackground", "Dropdown background.")), j6e = te("dropdown.listBackground", { dark: null, light: null, hcDark: Ce.black, hcLight: Ce.white }, C("dropdownListBackground", "Dropdown list background.")), Dh = te("dropdown.foreground", { dark: "#F0F0F0", light: Be, hcDark: Ce.white, hcLight: Be }, C("dropdownForeground", "Dropdown foreground.")), Qv = te("dropdown.border", { dark: Xu, light: "#CECECE", hcDark: ei, hcLight: ei }, C("dropdownBorder", "Dropdown border.")), HC = te("button.foreground", { dark: Ce.white, light: Ce.white, hcDark: Ce.white, hcLight: Ce.white }, C("buttonForeground", "Button foreground color.")), F6e = te("button.separator", { dark: ut(HC, 0.4), light: ut(HC, 0.4), hcDark: ut(HC, 0.4), hcLight: ut(HC, 0.4) }, C("buttonSeparator", "Button separator color.")), UC = te("button.background", { dark: "#0E639C", light: "#007ACC", hcDark: null, hcLight: "#0F4A85" }, C("buttonBackground", "Button background color.")), B6e = te("button.hoverBackground", { dark: $c(UC, 0.2), light: M0(UC, 0.2), hcDark: UC, hcLight: UC }, C("buttonHoverBackground", "Button background color when hovering.")), z6e = te("button.border", { dark: ei, light: ei, hcDark: ei, hcLight: ei }, C("buttonBorder", "Button border color.")), W6e = te("button.secondaryForeground", { dark: Ce.white, light: Ce.white, hcDark: Ce.white, hcLight: Be }, C("buttonSecondaryForeground", "Secondary button foreground color.")), Mj = te("button.secondaryBackground", { dark: "#3A3D41", light: "#5F6A79", hcDark: null, hcLight: Ce.white }, C("buttonSecondaryBackground", "Secondary button background color.")), V6e = te("button.secondaryHoverBackground", { dark: $c(Mj, 0.2), light: M0(Mj, 0.2), hcDark: null, hcLight: null }, C("buttonSecondaryHoverBackground", "Secondary button background color when hovering.")), Vx = te("badge.background", { dark: "#4D4D4D", light: "#C4C4C4", hcDark: Ce.black, hcLight: "#0F4A85" }, C("badgeBackground", "Badge background color. Badges are small information labels, e.g. for search results count.")), H6e = te("badge.foreground", { dark: Ce.white, light: "#333", hcDark: Ce.white, hcLight: Ce.white }, C("badgeForeground", "Badge foreground color. Badges are small information labels, e.g. for search results count.")), U6e = te("scrollbar.shadow", { dark: "#000000", light: "#DDDDDD", hcDark: null, hcLight: null }, C("scrollbarShadow", "Scrollbar shadow to indicate that the view is scrolled.")), GC = te("scrollbarSlider.background", { dark: Ce.fromHex("#797979").transparent(0.4), light: Ce.fromHex("#646464").transparent(0.4), hcDark: ut(ei, 0.6), hcLight: ut(ei, 0.4) }, C("scrollbarSliderBackground", "Scrollbar slider background color.")), YC = te("scrollbarSlider.hoverBackground", { dark: Ce.fromHex("#646464").transparent(0.7), light: Ce.fromHex("#646464").transparent(0.7), hcDark: ut(ei, 0.8), hcLight: ut(ei, 0.8) }, C("scrollbarSliderHoverBackground", "Scrollbar slider background color when hovering.")), QC = te("scrollbarSlider.activeBackground", { dark: Ce.fromHex("#BFBFBF").transparent(0.4), light: Ce.fromHex("#000000").transparent(0.6), hcDark: ei, hcLight: ei }, C("scrollbarSliderActiveBackground", "Scrollbar slider background color when clicked on.")), G6e = te("progressBar.background", { dark: Ce.fromHex("#0E70C0"), light: Ce.fromHex("#0E70C0"), hcDark: ei, hcLight: ei }, C("progressBarBackground", "Background color of the progress bar that can show for long running operations."));
|
|
37912
37916
|
te("editorError.background", { dark: null, light: null, hcDark: null, hcLight: null }, C("editorError.background", "Background color of error text in the editor. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
37913
37917
|
const Ju = te("editorError.foreground", { dark: "#F14C4C", light: "#E51400", hcDark: "#F48771", hcLight: "#B5200D" }, C("editorError.foreground", "Foreground color of error squigglies in the editor.")), Y6e = te("editorError.border", { dark: null, light: null, hcDark: Ce.fromHex("#E47777").transparent(0.8), hcLight: "#B5200D" }, C("errorBorder", "If set, color of double underlines for errors in the editor."));
|
|
37914
37918
|
te("editorWarning.background", { dark: null, light: null, hcDark: null, hcLight: null }, C("editorWarning.background", "Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
@@ -37930,7 +37934,7 @@ te("editor.hoverHighlightBackground", { light: "#ADD6FF26", dark: "#264f7840", h
|
|
|
37930
37934
|
const dM = te("editorHoverWidget.background", { light: Vn, dark: Vn, hcDark: Vn, hcLight: Vn }, C("hoverBackground", "Background color of the editor hover."));
|
|
37931
37935
|
te("editorHoverWidget.foreground", { light: $u, dark: $u, hcDark: $u, hcLight: $u }, C("hoverForeground", "Foreground color of the editor hover."));
|
|
37932
37936
|
const a7e = te("editorHoverWidget.border", { light: ed, dark: ed, hcDark: ed, hcLight: ed }, C("hoverBorder", "Border color of the editor hover."));
|
|
37933
|
-
te("editorHoverWidget.statusBarBackground", { dark:
|
|
37937
|
+
te("editorHoverWidget.statusBarBackground", { dark: $c(dM, 0.2), light: M0(dM, 0.05), hcDark: Vn, hcLight: Vn }, C("statusBarBackground", "Background color of the editor hover status bar."));
|
|
37934
37938
|
const l7e = te("editorLink.activeForeground", { dark: "#4E94CE", light: Ce.blue, hcDark: Ce.cyan, hcLight: "#292929" }, C("activeLinkForeground", "Color of active links.")), Lh = te("editorInlayHint.foreground", { dark: "#969696", light: "#969696", hcDark: Ce.white, hcLight: Ce.black }, C("editorInlayHintForeground", "Foreground color of inline hints")), xh = te("editorInlayHint.background", { dark: ut(Vx, 0.1), light: ut(Vx, 0.1), hcDark: ut(Ce.white, 0.1), hcLight: ut(Vx, 0.1) }, C("editorInlayHintBackground", "Background color of inline hints")), c7e = te("editorInlayHint.typeForeground", { dark: Lh, light: Lh, hcDark: Lh, hcLight: Lh }, C("editorInlayHintForegroundTypes", "Foreground color of inline hints for types")), u7e = te("editorInlayHint.typeBackground", { dark: xh, light: xh, hcDark: xh, hcLight: xh }, C("editorInlayHintBackgroundTypes", "Background color of inline hints for types")), d7e = te("editorInlayHint.parameterForeground", { dark: Lh, light: Lh, hcDark: Lh, hcLight: Lh }, C("editorInlayHintForegroundParameter", "Foreground color of inline hints for parameters")), h7e = te("editorInlayHint.parameterBackground", { dark: xh, light: xh, hcDark: xh, hcLight: xh }, C("editorInlayHintBackgroundParameter", "Background color of inline hints for parameters"));
|
|
37935
37939
|
te("editorLightBulb.foreground", { dark: "#FFCC00", light: "#DDB100", hcDark: "#FFCC00", hcLight: "#007ACC" }, C("editorLightBulbForeground", "The color used for the lightbulb actions icon."));
|
|
37936
37940
|
te("editorLightBulbAutoFix.foreground", { dark: "#75BEFF", light: "#007ACC", hcDark: "#75BEFF", hcLight: "#007ACC" }, C("editorLightBulbAutoFixForeground", "The color used for the lightbulb auto fix actions icon."));
|
|
@@ -37951,7 +37955,7 @@ const v7e = te("list.focusBackground", { dark: null, light: null, hcDark: null,
|
|
|
37951
37955
|
te("list.invalidItemForeground", { dark: "#B89500", light: "#B89500", hcDark: "#B89500", hcLight: "#B5200D" }, C("invalidItemForeground", "List/Tree foreground color for invalid items, for example an unresolved root in explorer."));
|
|
37952
37956
|
te("list.errorForeground", { dark: "#F88070", light: "#B01011", hcDark: null, hcLight: null }, C("listErrorForeground", "Foreground color of list items containing errors."));
|
|
37953
37957
|
te("list.warningForeground", { dark: "#CCA700", light: "#855F00", hcDark: null, hcLight: null }, C("listWarningForeground", "Foreground color of list items containing warnings."));
|
|
37954
|
-
const x7e = te("listFilterWidget.background", { light: M0(Vn, 0), dark:
|
|
37958
|
+
const x7e = te("listFilterWidget.background", { light: M0(Vn, 0), dark: $c(Vn, 0), hcDark: Vn, hcLight: Vn }, C("listFilterWidgetBackground", "Background color of the type filter widget in lists and trees.")), A7e = te("listFilterWidget.outline", { dark: Ce.transparent, light: Ce.transparent, hcDark: "#f38518", hcLight: "#007ACC" }, C("listFilterWidgetOutline", "Outline color of the type filter widget in lists and trees.")), M7e = te("listFilterWidget.noMatchesOutline", { dark: "#BE1100", light: "#BE1100", hcDark: ei, hcLight: ei }, C("listFilterWidgetNoMatchesOutline", "Outline color of the type filter widget in lists and trees, when there are no matches.")), N7e = te("listFilterWidget.shadow", { dark: Zu, light: Zu, hcDark: Zu, hcLight: Zu }, C("listFilterWidgetShadow", "Shadow color of the type filter widget in lists and trees."));
|
|
37955
37959
|
te("list.filterMatchBackground", { dark: td, light: td, hcDark: null, hcLight: null }, C("listFilterMatchHighlight", "Background color of the filtered match."));
|
|
37956
37960
|
te("list.filterMatchBorder", { dark: Xf, light: Xf, hcDark: ei, hcLight: rn }, C("listFilterMatchHighlightBorder", "Border color of the filtered match."));
|
|
37957
37961
|
const KC = te("tree.indentGuidesStroke", { dark: "#585858", light: "#a9a9a9", hcDark: "#a9a9a9", hcLight: "#a5a5a5" }, C("treeIndentGuidesStroke", "Tree stroke color for the indentation guides.")), E7e = te("tree.inactiveIndentGuidesStroke", { dark: ut(KC, 0.4), light: ut(KC, 0.4), hcDark: ut(KC, 0.4), hcLight: ut(KC, 0.4) }, C("treeInactiveIndentGuidesStroke", "Tree stroke color for the indentation guides that are not active.")), T7e = te("tree.tableColumnsBorder", { dark: "#CCCCCC20", light: "#61616120", hcDark: null, hcLight: null }, C("tableColumnsBorder", "Table border color between columns.")), k7e = te("tree.tableOddRowsBackground", { dark: ut(Be, 0.04), light: ut(Be, 0.04), hcDark: null, hcLight: null }, C("tableOddRowsBackgroundColor", "Background color for odd table rows."));
|
|
@@ -37962,12 +37966,12 @@ const P7e = te("checkbox.foreground", { dark: Dh, light: Dh, hcDark: Dh, hcLight
|
|
|
37962
37966
|
te("checkbox.selectBorder", { dark: Kf, light: Kf, hcDark: Kf, hcLight: Kf }, C("checkbox.select.border", "Border color of checkbox widget when the element it's in is selected."));
|
|
37963
37967
|
const DZ = te("quickInput.list.focusBackground", { dark: null, light: null, hcDark: null, hcLight: null }, "", void 0, C("quickInput.list.focusBackground deprecation", "Please use quickInputList.focusBackground instead")), lm = te("quickInputList.focusForeground", { dark: id, light: id, hcDark: id, hcLight: id }, C("quickInput.listFocusForeground", "Quick picker foreground color for the focused item.")), qv = te("quickInputList.focusIconForeground", { dark: qC, light: qC, hcDark: qC, hcLight: qC }, C("quickInput.listFocusIconForeground", "Quick picker icon foreground color for the focused item.")), cm = te("quickInputList.focusBackground", { dark: Uw(DZ, Ah), light: Uw(DZ, Ah), hcDark: null, hcLight: null }, C("quickInput.listFocusBackground", "Quick picker background color for the focused item.")), j7e = te("menu.border", { dark: null, light: null, hcDark: ei, hcLight: ei }, C("menuBorder", "Border color of menus.")), F7e = te("menu.foreground", { dark: Dh, light: Dh, hcDark: Dh, hcLight: Dh }, C("menuForeground", "Foreground color of menu items.")), B7e = te("menu.background", { dark: Xu, light: Xu, hcDark: Xu, hcLight: Xu }, C("menuBackground", "Background color of menu items.")), z7e = te("menu.selectionForeground", { dark: id, light: id, hcDark: id, hcLight: id }, C("menuSelectionForeground", "Foreground color of the selected menu item in menus.")), W7e = te("menu.selectionBackground", { dark: Ah, light: Ah, hcDark: Ah, hcLight: Ah }, C("menuSelectionBackground", "Background color of the selected menu item in menus.")), V7e = te("menu.selectionBorder", { dark: null, light: null, hcDark: rn, hcLight: rn }, C("menuSelectionBorder", "Border color of the selected menu item in menus.")), H7e = te("menu.separatorBackground", { dark: "#606060", light: "#D4D4D4", hcDark: ei, hcLight: ei }, C("menuSeparatorBackground", "Color of a separator menu item in menus.")), Tj = te("toolbar.hoverBackground", { dark: "#5a5d5e50", light: "#b8b8b850", hcDark: null, hcLight: null }, C("toolbarHoverBackground", "Toolbar background when hovering over actions using the mouse"));
|
|
37964
37968
|
te("toolbar.hoverOutline", { dark: null, light: null, hcDark: rn, hcLight: rn }, C("toolbarHoverOutline", "Toolbar outline when hovering over actions using the mouse"));
|
|
37965
|
-
te("toolbar.activeBackground", { dark:
|
|
37969
|
+
te("toolbar.activeBackground", { dark: $c(Tj, 0.1), light: M0(Tj, 0.1), hcDark: null, hcLight: null }, C("toolbarActiveBackground", "Toolbar background when holding the mouse over actions"));
|
|
37966
37970
|
te("editor.snippetTabstopHighlightBackground", { dark: new Ce(new ni(124, 124, 124, 0.3)), light: new Ce(new ni(10, 50, 100, 0.2)), hcDark: new Ce(new ni(124, 124, 124, 0.3)), hcLight: new Ce(new ni(10, 50, 100, 0.2)) }, C("snippetTabstopHighlightBackground", "Highlight background color of a snippet tabstop."));
|
|
37967
37971
|
te("editor.snippetTabstopHighlightBorder", { dark: null, light: null, hcDark: null, hcLight: null }, C("snippetTabstopHighlightBorder", "Highlight border color of a snippet tabstop."));
|
|
37968
37972
|
te("editor.snippetFinalTabstopHighlightBackground", { dark: null, light: null, hcDark: null, hcLight: null }, C("snippetFinalTabstopHighlightBackground", "Highlight background color of the final tabstop of a snippet."));
|
|
37969
37973
|
te("editor.snippetFinalTabstopHighlightBorder", { dark: "#525252", light: new Ce(new ni(10, 50, 100, 0.5)), hcDark: "#525252", hcLight: "#292929" }, C("snippetFinalTabstopHighlightBorder", "Highlight border color of the final tabstop of a snippet."));
|
|
37970
|
-
const U7e = te("breadcrumb.foreground", { light: ut(Be, 0.8), dark: ut(Be, 0.8), hcDark: ut(Be, 0.8), hcLight: ut(Be, 0.8) }, C("breadcrumbsFocusForeground", "Color of focused breadcrumb items.")), G7e = te("breadcrumb.background", { light: Tr, dark: Tr, hcDark: Tr, hcLight: Tr }, C("breadcrumbsBackground", "Background color of breadcrumb items.")), LZ = te("breadcrumb.focusForeground", { light: M0(Be, 0.2), dark:
|
|
37974
|
+
const U7e = te("breadcrumb.foreground", { light: ut(Be, 0.8), dark: ut(Be, 0.8), hcDark: ut(Be, 0.8), hcLight: ut(Be, 0.8) }, C("breadcrumbsFocusForeground", "Color of focused breadcrumb items.")), G7e = te("breadcrumb.background", { light: Tr, dark: Tr, hcDark: Tr, hcLight: Tr }, C("breadcrumbsBackground", "Background color of breadcrumb items.")), LZ = te("breadcrumb.focusForeground", { light: M0(Be, 0.2), dark: $c(Be, 0.1), hcDark: $c(Be, 0.1), hcLight: $c(Be, 0.1) }, C("breadcrumbsFocusForeground", "Color of focused breadcrumb items.")), Y7e = te("breadcrumb.activeSelectionForeground", { light: M0(Be, 0.2), dark: $c(Be, 0.1), hcDark: $c(Be, 0.1), hcLight: $c(Be, 0.1) }, C("breadcrumbsSelectedForeground", "Color of selected breadcrumb items."));
|
|
37971
37975
|
te("breadcrumbPicker.background", { light: Vn, dark: Vn, hcDark: Vn, hcLight: Vn }, C("breadcrumbsSelectedBackground", "Background color of breadcrumb item picker."));
|
|
37972
37976
|
const Kfe = 0.5, xZ = Ce.fromHex("#40C8AE").transparent(Kfe), AZ = Ce.fromHex("#40A6FF").transparent(Kfe), MZ = Ce.fromHex("#606060").transparent(0.4), Hl = 0.4, g1 = 1, Kv = te("merge.currentHeaderBackground", { dark: xZ, light: xZ, hcDark: null, hcLight: null }, C("mergeCurrentHeaderBackground", "Current header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
37973
37977
|
te("merge.currentContentBackground", { dark: ut(Kv, Hl), light: ut(Kv, Hl), hcDark: ut(Kv, Hl), hcLight: ut(Kv, Hl) }, C("mergeCurrentContentBackground", "Current content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
@@ -37996,29 +38000,29 @@ function t8e(n, e) {
|
|
|
37996
38000
|
var t, i, r, s;
|
|
37997
38001
|
switch (n.op) {
|
|
37998
38002
|
case 0:
|
|
37999
|
-
return (t =
|
|
38003
|
+
return (t = Sc(n.value, e)) === null || t === void 0 ? void 0 : t.darken(n.factor);
|
|
38000
38004
|
case 1:
|
|
38001
|
-
return (i =
|
|
38005
|
+
return (i = Sc(n.value, e)) === null || i === void 0 ? void 0 : i.lighten(n.factor);
|
|
38002
38006
|
case 2:
|
|
38003
|
-
return (r =
|
|
38007
|
+
return (r = Sc(n.value, e)) === null || r === void 0 ? void 0 : r.transparent(n.factor);
|
|
38004
38008
|
case 3: {
|
|
38005
|
-
const o =
|
|
38006
|
-
return o ? (s =
|
|
38009
|
+
const o = Sc(n.background, e);
|
|
38010
|
+
return o ? (s = Sc(n.value, e)) === null || s === void 0 ? void 0 : s.makeOpaque(o) : Sc(n.value, e);
|
|
38007
38011
|
}
|
|
38008
38012
|
case 4:
|
|
38009
38013
|
for (const o of n.values) {
|
|
38010
|
-
const a =
|
|
38014
|
+
const a = Sc(o, e);
|
|
38011
38015
|
if (a)
|
|
38012
38016
|
return a;
|
|
38013
38017
|
}
|
|
38014
38018
|
return;
|
|
38015
38019
|
case 6:
|
|
38016
|
-
return
|
|
38020
|
+
return Sc(e.defines(n.if) ? n.then : n.else, e);
|
|
38017
38021
|
case 5: {
|
|
38018
|
-
const o =
|
|
38022
|
+
const o = Sc(n.value, e);
|
|
38019
38023
|
if (!o)
|
|
38020
38024
|
return;
|
|
38021
|
-
const a =
|
|
38025
|
+
const a = Sc(n.background, e);
|
|
38022
38026
|
return a ? o.isDarkerThan(a) ? Ce.getLighterColor(o, a, n.factor).transparent(n.transparency) : Ce.getDarkerColor(o, a, n.factor).transparent(n.transparency) : o.transparent(n.factor * n.transparency);
|
|
38023
38027
|
}
|
|
38024
38028
|
default:
|
|
@@ -38028,7 +38032,7 @@ function t8e(n, e) {
|
|
|
38028
38032
|
function M0(n, e) {
|
|
38029
38033
|
return { op: 0, value: n, factor: e };
|
|
38030
38034
|
}
|
|
38031
|
-
function
|
|
38035
|
+
function $c(n, e) {
|
|
38032
38036
|
return { op: 1, value: n, factor: e };
|
|
38033
38037
|
}
|
|
38034
38038
|
function ut(n, e) {
|
|
@@ -38043,7 +38047,7 @@ function i8e(n, e, t) {
|
|
|
38043
38047
|
function EZ(n, e, t, i) {
|
|
38044
38048
|
return { op: 5, value: n, background: e, factor: t, transparency: i };
|
|
38045
38049
|
}
|
|
38046
|
-
function
|
|
38050
|
+
function Sc(n, e) {
|
|
38047
38051
|
if (n !== null) {
|
|
38048
38052
|
if (typeof n == "string")
|
|
38049
38053
|
return n[0] === "#" ? Ce.fromHex(n) : e.getColor(n);
|
|
@@ -38538,14 +38542,14 @@ var ul;
|
|
|
38538
38542
|
(function(n) {
|
|
38539
38543
|
n.DARK = "dark", n.LIGHT = "light", n.HIGH_CONTRAST_DARK = "hcDark", n.HIGH_CONTRAST_LIGHT = "hcLight";
|
|
38540
38544
|
})(ul || (ul = {}));
|
|
38541
|
-
function
|
|
38545
|
+
function eu(n) {
|
|
38542
38546
|
return n === ul.HIGH_CONTRAST_DARK || n === ul.HIGH_CONTRAST_LIGHT;
|
|
38543
38547
|
}
|
|
38544
38548
|
function m1(n) {
|
|
38545
38549
|
return n === ul.DARK || n === ul.HIGH_CONTRAST_DARK;
|
|
38546
38550
|
}
|
|
38547
38551
|
const g8e = function() {
|
|
38548
|
-
return
|
|
38552
|
+
return Zc ? !0 : !(Xs || bl || qh);
|
|
38549
38553
|
}();
|
|
38550
38554
|
let Mb = !0;
|
|
38551
38555
|
class OZ {
|
|
@@ -38609,7 +38613,7 @@ class Vu {
|
|
|
38609
38613
|
this._isMaybeInvalid = !0, this._options = e;
|
|
38610
38614
|
}
|
|
38611
38615
|
onSelectionChanged() {
|
|
38612
|
-
return
|
|
38616
|
+
return eu(this._options.themeType) || this._options.renderWhitespace === "selection" ? (this._isMaybeInvalid = !0, !0) : !1;
|
|
38613
38617
|
}
|
|
38614
38618
|
renderLine(e, t, i, r) {
|
|
38615
38619
|
if (this._isMaybeInvalid === !1)
|
|
@@ -38617,13 +38621,13 @@ class Vu {
|
|
|
38617
38621
|
this._isMaybeInvalid = !1;
|
|
38618
38622
|
const s = i.getViewLineRenderingData(e), o = this._options, a = Zo.filter(s.inlineDecorations, e, s.minColumn, s.maxColumn);
|
|
38619
38623
|
let l = null;
|
|
38620
|
-
if (
|
|
38624
|
+
if (eu(o.themeType) || this._options.renderWhitespace === "selection") {
|
|
38621
38625
|
const h = i.selections;
|
|
38622
38626
|
for (const f of h) {
|
|
38623
38627
|
if (f.endLineNumber < e || f.startLineNumber > e)
|
|
38624
38628
|
continue;
|
|
38625
38629
|
const g = f.startLineNumber === e ? f.startColumn : s.minColumn, p = f.endLineNumber === e ? f.endColumn : s.maxColumn;
|
|
38626
|
-
g < p && (
|
|
38630
|
+
g < p && (eu(o.themeType) && a.push(new Zo(
|
|
38627
38631
|
g,
|
|
38628
38632
|
p,
|
|
38629
38633
|
"inline-selected-text",
|
|
@@ -39583,7 +39587,7 @@ class um {
|
|
|
39583
39587
|
}
|
|
39584
39588
|
}
|
|
39585
39589
|
um._INSTANCE = null;
|
|
39586
|
-
let
|
|
39590
|
+
let dc = class extends ye {
|
|
39587
39591
|
onclick(e, t) {
|
|
39588
39592
|
this._register(Ae(e, Ge.CLICK, (i) => t(new cl(i))));
|
|
39589
39593
|
}
|
|
@@ -39616,9 +39620,9 @@ let uc = class extends ye {
|
|
|
39616
39620
|
}
|
|
39617
39621
|
};
|
|
39618
39622
|
const b1 = 11;
|
|
39619
|
-
class y8e extends
|
|
39623
|
+
class y8e extends dc {
|
|
39620
39624
|
constructor(e) {
|
|
39621
|
-
super(), this._onActivate = e.onActivate, this.bgDomNode = document.createElement("div"), this.bgDomNode.className = "arrow-background", this.bgDomNode.style.position = "absolute", this.bgDomNode.style.width = e.bgWidth + "px", this.bgDomNode.style.height = e.bgHeight + "px", typeof e.top < "u" && (this.bgDomNode.style.top = "0px"), typeof e.left < "u" && (this.bgDomNode.style.left = "0px"), typeof e.bottom < "u" && (this.bgDomNode.style.bottom = "0px"), typeof e.right < "u" && (this.bgDomNode.style.right = "0px"), this.domNode = document.createElement("div"), this.domNode.className = e.className, this.domNode.classList.add(...ft.asClassNameArray(e.icon)), this.domNode.style.position = "absolute", this.domNode.style.width = b1 + "px", this.domNode.style.height = b1 + "px", typeof e.top < "u" && (this.domNode.style.top = e.top + "px"), typeof e.left < "u" && (this.domNode.style.left = e.left + "px"), typeof e.bottom < "u" && (this.domNode.style.bottom = e.bottom + "px"), typeof e.right < "u" && (this.domNode.style.right = e.right + "px"), this._pointerMoveMonitor = this._register(new u_()), this._register(sr(this.bgDomNode, Ge.POINTER_DOWN, (t) => this._arrowPointerDown(t))), this._register(sr(this.domNode, Ge.POINTER_DOWN, (t) => this._arrowPointerDown(t))), this._pointerdownRepeatTimer = this._register(new wI()), this._pointerdownScheduleRepeatTimer = this._register(new
|
|
39625
|
+
super(), this._onActivate = e.onActivate, this.bgDomNode = document.createElement("div"), this.bgDomNode.className = "arrow-background", this.bgDomNode.style.position = "absolute", this.bgDomNode.style.width = e.bgWidth + "px", this.bgDomNode.style.height = e.bgHeight + "px", typeof e.top < "u" && (this.bgDomNode.style.top = "0px"), typeof e.left < "u" && (this.bgDomNode.style.left = "0px"), typeof e.bottom < "u" && (this.bgDomNode.style.bottom = "0px"), typeof e.right < "u" && (this.bgDomNode.style.right = "0px"), this.domNode = document.createElement("div"), this.domNode.className = e.className, this.domNode.classList.add(...ft.asClassNameArray(e.icon)), this.domNode.style.position = "absolute", this.domNode.style.width = b1 + "px", this.domNode.style.height = b1 + "px", typeof e.top < "u" && (this.domNode.style.top = e.top + "px"), typeof e.left < "u" && (this.domNode.style.left = e.left + "px"), typeof e.bottom < "u" && (this.domNode.style.bottom = e.bottom + "px"), typeof e.right < "u" && (this.domNode.style.right = e.right + "px"), this._pointerMoveMonitor = this._register(new u_()), this._register(sr(this.bgDomNode, Ge.POINTER_DOWN, (t) => this._arrowPointerDown(t))), this._register(sr(this.domNode, Ge.POINTER_DOWN, (t) => this._arrowPointerDown(t))), this._pointerdownRepeatTimer = this._register(new wI()), this._pointerdownScheduleRepeatTimer = this._register(new uc());
|
|
39622
39626
|
}
|
|
39623
39627
|
_arrowPointerDown(e) {
|
|
39624
39628
|
if (!e.target || !(e.target instanceof Element))
|
|
@@ -39634,7 +39638,7 @@ class y8e extends uc {
|
|
|
39634
39638
|
}
|
|
39635
39639
|
class w8e extends ye {
|
|
39636
39640
|
constructor(e, t, i) {
|
|
39637
|
-
super(), this._visibility = e, this._visibleClassName = t, this._invisibleClassName = i, this._domNode = null, this._isVisible = !1, this._isNeeded = !1, this._rawShouldBeVisible = !1, this._shouldBeVisible = !1, this._revealTimer = this._register(new
|
|
39641
|
+
super(), this._visibility = e, this._visibleClassName = t, this._invisibleClassName = i, this._domNode = null, this._isVisible = !1, this._isNeeded = !1, this._rawShouldBeVisible = !1, this._shouldBeVisible = !1, this._revealTimer = this._register(new uc());
|
|
39638
39642
|
}
|
|
39639
39643
|
setVisibility(e) {
|
|
39640
39644
|
this._visibility !== e && (this._visibility = e, this._updateShouldBeVisible());
|
|
@@ -39675,7 +39679,7 @@ class w8e extends ye {
|
|
|
39675
39679
|
}
|
|
39676
39680
|
}
|
|
39677
39681
|
const S8e = 140;
|
|
39678
|
-
class ige extends
|
|
39682
|
+
class ige extends dc {
|
|
39679
39683
|
constructor(e) {
|
|
39680
39684
|
super(), this._lazyRender = e.lazyRender, this._host = e.host, this._scrollable = e.scrollable, this._scrollByPage = e.scrollByPage, this._scrollbarState = e.scrollbarState, this._visibilityController = this._register(new w8e(e.visibility, "visible scrollbar " + e.extraScrollbarClassName, "invisible scrollbar " + e.extraScrollbarClassName)), this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()), this._pointerMoveMonitor = this._register(new u_()), this._shouldRender = !0, this.domNode = Ii(document.createElement("div")), this.domNode.setAttribute("role", "presentation"), this.domNode.setAttribute("aria-hidden", "true"), this._visibilityController.setDomNode(this.domNode), this.domNode.setPosition("absolute"), this._register(Ae(this.domNode.domNode, Ge.POINTER_DOWN, (t) => this._domNodePointerDown(t)));
|
|
39681
39685
|
}
|
|
@@ -40232,7 +40236,7 @@ class fM {
|
|
|
40232
40236
|
}
|
|
40233
40237
|
}
|
|
40234
40238
|
fM.INSTANCE = new fM();
|
|
40235
|
-
class RH extends
|
|
40239
|
+
class RH extends dc {
|
|
40236
40240
|
get options() {
|
|
40237
40241
|
return this._options;
|
|
40238
40242
|
}
|
|
@@ -40245,7 +40249,7 @@ class RH extends uc {
|
|
|
40245
40249
|
onDragStart: () => this._onDragStart(),
|
|
40246
40250
|
onDragEnd: () => this._onDragEnd()
|
|
40247
40251
|
};
|
|
40248
|
-
this._verticalScrollbar = this._register(new L8e(this._scrollable, this._options, r)), this._horizontalScrollbar = this._register(new D8e(this._scrollable, this._options, r)), this._domNode = document.createElement("div"), this._domNode.className = "monaco-scrollable-element " + this._options.className, this._domNode.setAttribute("role", "presentation"), this._domNode.style.position = "relative", this._domNode.style.overflow = "hidden", this._domNode.appendChild(e), this._domNode.appendChild(this._horizontalScrollbar.domNode.domNode), this._domNode.appendChild(this._verticalScrollbar.domNode.domNode), this._options.useShadows ? (this._leftShadowDomNode = Ii(document.createElement("div")), this._leftShadowDomNode.setClassName("shadow"), this._domNode.appendChild(this._leftShadowDomNode.domNode), this._topShadowDomNode = Ii(document.createElement("div")), this._topShadowDomNode.setClassName("shadow"), this._domNode.appendChild(this._topShadowDomNode.domNode), this._topLeftShadowDomNode = Ii(document.createElement("div")), this._topLeftShadowDomNode.setClassName("shadow"), this._domNode.appendChild(this._topLeftShadowDomNode.domNode)) : (this._leftShadowDomNode = null, this._topShadowDomNode = null, this._topLeftShadowDomNode = null), this._listenOnDomNode = this._options.listenOnDomNode || this._domNode, this._mouseWheelToDispose = [], this._setListeningToMouseWheel(this._options.handleMouseWheel), this.onmouseover(this._listenOnDomNode, (s) => this._onMouseOver(s)), this.onmouseleave(this._listenOnDomNode, (s) => this._onMouseLeave(s)), this._hideTimeout = this._register(new
|
|
40252
|
+
this._verticalScrollbar = this._register(new L8e(this._scrollable, this._options, r)), this._horizontalScrollbar = this._register(new D8e(this._scrollable, this._options, r)), this._domNode = document.createElement("div"), this._domNode.className = "monaco-scrollable-element " + this._options.className, this._domNode.setAttribute("role", "presentation"), this._domNode.style.position = "relative", this._domNode.style.overflow = "hidden", this._domNode.appendChild(e), this._domNode.appendChild(this._horizontalScrollbar.domNode.domNode), this._domNode.appendChild(this._verticalScrollbar.domNode.domNode), this._options.useShadows ? (this._leftShadowDomNode = Ii(document.createElement("div")), this._leftShadowDomNode.setClassName("shadow"), this._domNode.appendChild(this._leftShadowDomNode.domNode), this._topShadowDomNode = Ii(document.createElement("div")), this._topShadowDomNode.setClassName("shadow"), this._domNode.appendChild(this._topShadowDomNode.domNode), this._topLeftShadowDomNode = Ii(document.createElement("div")), this._topLeftShadowDomNode.setClassName("shadow"), this._domNode.appendChild(this._topLeftShadowDomNode.domNode)) : (this._leftShadowDomNode = null, this._topShadowDomNode = null, this._topLeftShadowDomNode = null), this._listenOnDomNode = this._options.listenOnDomNode || this._domNode, this._mouseWheelToDispose = [], this._setListeningToMouseWheel(this._options.handleMouseWheel), this.onmouseover(this._listenOnDomNode, (s) => this._onMouseOver(s)), this.onmouseleave(this._listenOnDomNode, (s) => this._onMouseLeave(s)), this._hideTimeout = this._register(new uc()), this._isDragging = !1, this._mouseIsOver = !1, this._shouldRender = !0, this._revealOnScroll = !0;
|
|
40249
40253
|
}
|
|
40250
40254
|
dispose() {
|
|
40251
40255
|
this._mouseWheelToDispose = Ai(this._mouseWheelToDispose), super.dispose();
|
|
@@ -41448,7 +41452,7 @@ class V8e {
|
|
|
41448
41452
|
}
|
|
41449
41453
|
const sge = new V8e();
|
|
41450
41454
|
xn.add(rge.ThemingContribution, sge);
|
|
41451
|
-
function
|
|
41455
|
+
function hc(n) {
|
|
41452
41456
|
return sge.onColorThemeChange(n);
|
|
41453
41457
|
}
|
|
41454
41458
|
class H8e extends ye {
|
|
@@ -41483,7 +41487,7 @@ te("editorGhostText.background", { dark: null, light: null, hcDark: null, hcLigh
|
|
|
41483
41487
|
const ZD = new Ce(new ni(0, 122, 204, 0.6)), lge = te("editorOverviewRuler.rangeHighlightForeground", { dark: ZD, light: ZD, hcDark: ZD, hcLight: ZD }, C("overviewRulerRangeHighlight", "Overview ruler marker color for range highlights. The color must not be opaque so as not to hide underlying decorations."), !0), oje = te("editorOverviewRuler.errorForeground", { dark: new Ce(new ni(255, 18, 18, 0.7)), light: new Ce(new ni(255, 18, 18, 0.7)), hcDark: new Ce(new ni(255, 50, 50, 1)), hcLight: "#B5200D" }, C("overviewRuleError", "Overview ruler marker color for errors.")), aje = te("editorOverviewRuler.warningForeground", { dark: Na, light: Na, hcDark: Vw, hcLight: Vw }, C("overviewRuleWarning", "Overview ruler marker color for warnings.")), lje = te("editorOverviewRuler.infoForeground", { dark: Eo, light: Eo, hcDark: Hw, hcLight: Hw }, C("overviewRuleInfo", "Overview ruler marker color for infos.")), cge = te("editorBracketHighlight.foreground1", { dark: "#FFD700", light: "#0431FAFF", hcDark: "#FFD700", hcLight: "#0431FAFF" }, C("editorBracketHighlightForeground1", "Foreground color of brackets (1). Requires enabling bracket pair colorization.")), uge = te("editorBracketHighlight.foreground2", { dark: "#DA70D6", light: "#319331FF", hcDark: "#DA70D6", hcLight: "#319331FF" }, C("editorBracketHighlightForeground2", "Foreground color of brackets (2). Requires enabling bracket pair colorization.")), dge = te("editorBracketHighlight.foreground3", { dark: "#179FFF", light: "#7B3814FF", hcDark: "#87CEFA", hcLight: "#7B3814FF" }, C("editorBracketHighlightForeground3", "Foreground color of brackets (3). Requires enabling bracket pair colorization.")), hge = te("editorBracketHighlight.foreground4", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, C("editorBracketHighlightForeground4", "Foreground color of brackets (4). Requires enabling bracket pair colorization.")), fge = te("editorBracketHighlight.foreground5", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, C("editorBracketHighlightForeground5", "Foreground color of brackets (5). Requires enabling bracket pair colorization.")), gge = te("editorBracketHighlight.foreground6", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, C("editorBracketHighlightForeground6", "Foreground color of brackets (6). Requires enabling bracket pair colorization.")), cje = te("editorBracketHighlight.unexpectedBracket.foreground", { dark: new Ce(new ni(255, 18, 18, 0.8)), light: new Ce(new ni(255, 18, 18, 0.8)), hcDark: new Ce(new ni(255, 50, 50, 1)), hcLight: "" }, C("editorBracketHighlightUnexpectedBracketForeground", "Foreground color of unexpected brackets.")), uje = te("editorBracketPairGuide.background1", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, C("editorBracketPairGuide.background1", "Background color of inactive bracket pair guides (1). Requires enabling bracket pair guides.")), dje = te("editorBracketPairGuide.background2", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, C("editorBracketPairGuide.background2", "Background color of inactive bracket pair guides (2). Requires enabling bracket pair guides.")), hje = te("editorBracketPairGuide.background3", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, C("editorBracketPairGuide.background3", "Background color of inactive bracket pair guides (3). Requires enabling bracket pair guides.")), fje = te("editorBracketPairGuide.background4", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, C("editorBracketPairGuide.background4", "Background color of inactive bracket pair guides (4). Requires enabling bracket pair guides.")), gje = te("editorBracketPairGuide.background5", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, C("editorBracketPairGuide.background5", "Background color of inactive bracket pair guides (5). Requires enabling bracket pair guides.")), pje = te("editorBracketPairGuide.background6", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, C("editorBracketPairGuide.background6", "Background color of inactive bracket pair guides (6). Requires enabling bracket pair guides.")), mje = te("editorBracketPairGuide.activeBackground1", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, C("editorBracketPairGuide.activeBackground1", "Background color of active bracket pair guides (1). Requires enabling bracket pair guides.")), vje = te("editorBracketPairGuide.activeBackground2", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, C("editorBracketPairGuide.activeBackground2", "Background color of active bracket pair guides (2). Requires enabling bracket pair guides.")), bje = te("editorBracketPairGuide.activeBackground3", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, C("editorBracketPairGuide.activeBackground3", "Background color of active bracket pair guides (3). Requires enabling bracket pair guides.")), _je = te("editorBracketPairGuide.activeBackground4", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, C("editorBracketPairGuide.activeBackground4", "Background color of active bracket pair guides (4). Requires enabling bracket pair guides.")), Cje = te("editorBracketPairGuide.activeBackground5", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, C("editorBracketPairGuide.activeBackground5", "Background color of active bracket pair guides (5). Requires enabling bracket pair guides.")), yje = te("editorBracketPairGuide.activeBackground6", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, C("editorBracketPairGuide.activeBackground6", "Background color of active bracket pair guides (6). Requires enabling bracket pair guides."));
|
|
41484
41488
|
te("editorUnicodeHighlight.border", { dark: "#BD9B03", light: "#CEA33D", hcDark: "#ff0000", hcLight: "#CEA33D" }, C("editorUnicodeHighlight.border", "Border color used to highlight unicode characters."));
|
|
41485
41489
|
te("editorUnicodeHighlight.background", { dark: "#bd9b0326", light: "#cea33d14", hcDark: "#00000000", hcLight: "#cea33d14" }, C("editorUnicodeHighlight.background", "Background color used to highlight unicode characters."));
|
|
41486
|
-
|
|
41490
|
+
hc((n, e) => {
|
|
41487
41491
|
const t = n.getColor(Tr), i = n.getColor(oge), r = i && !i.isTransparent() ? i : t;
|
|
41488
41492
|
r && e.addRule(`.monaco-editor .inputarea.ime-input { background-color: ${r}; }`);
|
|
41489
41493
|
});
|
|
@@ -41588,7 +41592,7 @@ class kI extends N0 {
|
|
|
41588
41592
|
}
|
|
41589
41593
|
}
|
|
41590
41594
|
kI.CLASS_NAME = "line-numbers";
|
|
41591
|
-
|
|
41595
|
+
hc((n, e) => {
|
|
41592
41596
|
const t = n.getColor(G8e), i = n.getColor(ije);
|
|
41593
41597
|
i ? e.addRule(`.monaco-editor .line-numbers.dimmed-line-number { color: ${i}; }`) : t && e.addRule(`.monaco-editor .line-numbers.dimmed-line-number { color: ${t.transparent(0.4)}; }`);
|
|
41594
41598
|
});
|
|
@@ -42951,7 +42955,7 @@ class yi {
|
|
|
42951
42955
|
return new me(i, r);
|
|
42952
42956
|
}
|
|
42953
42957
|
static _deleteWordLeftWhitespace(e, t) {
|
|
42954
|
-
const i = e.getLineContent(t.lineNumber), r = t.column - 2, s =
|
|
42958
|
+
const i = e.getLineContent(t.lineNumber), r = t.column - 2, s = Jc(i, r);
|
|
42955
42959
|
return s + 1 < r ? new F(t.lineNumber, s + 2, t.lineNumber, t.column) : null;
|
|
42956
42960
|
}
|
|
42957
42961
|
static deleteWordLeft(e, t) {
|
|
@@ -44090,7 +44094,7 @@ class Dn {
|
|
|
44090
44094
|
let a;
|
|
44091
44095
|
for (a = i - 1; a >= 1; a--) {
|
|
44092
44096
|
const u = t.getLineContent(a);
|
|
44093
|
-
if (
|
|
44097
|
+
if (Jc(u) >= 0)
|
|
44094
44098
|
break;
|
|
44095
44099
|
}
|
|
44096
44100
|
if (a < 1)
|
|
@@ -47326,11 +47330,11 @@ class Zje extends yge {
|
|
|
47326
47330
|
return this._shouldRenderInContent();
|
|
47327
47331
|
}
|
|
47328
47332
|
}
|
|
47329
|
-
|
|
47333
|
+
hc((n, e) => {
|
|
47330
47334
|
const t = n.getColor(oge);
|
|
47331
47335
|
if (t && (e.addRule(`.monaco-editor .view-overlays .current-line { background-color: ${t}; }`), e.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { background-color: ${t}; border: none; }`)), !t || t.isTransparent() || n.defines(FZ)) {
|
|
47332
47336
|
const i = n.getColor(FZ);
|
|
47333
|
-
i && (e.addRule(`.monaco-editor .view-overlays .current-line { border: 2px solid ${i}; }`), e.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid ${i}; }`),
|
|
47337
|
+
i && (e.addRule(`.monaco-editor .view-overlays .current-line { border: 2px solid ${i}; }`), e.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid ${i}; }`), eu(n.type) && (e.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"), e.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }")));
|
|
47334
47338
|
}
|
|
47335
47339
|
});
|
|
47336
47340
|
class Xje extends N0 {
|
|
@@ -47966,7 +47970,7 @@ function lv(n) {
|
|
|
47966
47970
|
if (!(n && n.isTransparent()))
|
|
47967
47971
|
return n;
|
|
47968
47972
|
}
|
|
47969
|
-
|
|
47973
|
+
hc((n, e) => {
|
|
47970
47974
|
const t = [
|
|
47971
47975
|
{ bracketColor: cge, guideColor: uje, guideColorActive: mje },
|
|
47972
47976
|
{ bracketColor: uge, guideColor: dje, guideColorActive: vje },
|
|
@@ -50606,7 +50610,7 @@ Gn.SELECTION_TOP_RIGHT = "top-right-radius";
|
|
|
50606
50610
|
Gn.SELECTION_BOTTOM_RIGHT = "bottom-right-radius";
|
|
50607
50611
|
Gn.EDITOR_BACKGROUND_CLASS_NAME = "monaco-editor-background";
|
|
50608
50612
|
Gn.ROUNDED_PIECE_WIDTH = 10;
|
|
50609
|
-
|
|
50613
|
+
hc((n, e) => {
|
|
50610
50614
|
const t = n.getColor(i7e);
|
|
50611
50615
|
t && !t.isTransparent() && e.addRule(`.monaco-editor .view-line span.inline-selected-text { color: ${t}; }`);
|
|
50612
50616
|
});
|
|
@@ -50733,7 +50737,7 @@ class Xw extends oa {
|
|
|
50733
50737
|
), this._cursorSmoothCaretAnimation = t.get(
|
|
50734
50738
|
27
|
|
50735
50739
|
/* EditorOption.cursorSmoothCaretAnimation */
|
|
50736
|
-
), this._selectionIsEmpty = !0, this._isComposingInput = !1, this._isVisible = !1, this._primaryCursor = new XZ(this._context), this._secondaryCursors = [], this._renderData = [], this._domNode = Ii(document.createElement("div")), this._domNode.setAttribute("role", "presentation"), this._domNode.setAttribute("aria-hidden", "true"), this._updateDomClassName(), this._domNode.appendChild(this._primaryCursor.getDomNode()), this._startCursorBlinkAnimation = new
|
|
50740
|
+
), this._selectionIsEmpty = !0, this._isComposingInput = !1, this._isVisible = !1, this._primaryCursor = new XZ(this._context), this._secondaryCursors = [], this._renderData = [], this._domNode = Ii(document.createElement("div")), this._domNode.setAttribute("role", "presentation"), this._domNode.setAttribute("aria-hidden", "true"), this._updateDomClassName(), this._domNode.appendChild(this._primaryCursor.getDomNode()), this._startCursorBlinkAnimation = new uc(), this._cursorFlatBlinkInterval = new wI(), this._blinkingEnabled = !1, this._editorHasFocus = !1, this._updateBlinking();
|
|
50737
50741
|
}
|
|
50738
50742
|
dispose() {
|
|
50739
50743
|
super.dispose(), this._startCursorBlinkAnimation.dispose(), this._cursorFlatBlinkInterval.dispose();
|
|
@@ -50929,11 +50933,11 @@ class Xw extends oa {
|
|
|
50929
50933
|
}
|
|
50930
50934
|
}
|
|
50931
50935
|
Xw.BLINK_INTERVAL = 500;
|
|
50932
|
-
|
|
50936
|
+
hc((n, e) => {
|
|
50933
50937
|
const t = n.getColor(age);
|
|
50934
50938
|
if (t) {
|
|
50935
50939
|
let i = n.getColor(U8e);
|
|
50936
|
-
i || (i = t.opposite()), e.addRule(`.monaco-editor .cursors-layer .cursor { background-color: ${t}; border-color: ${t}; color: ${i}; }`),
|
|
50940
|
+
i || (i = t.opposite()), e.addRule(`.monaco-editor .cursors-layer .cursor { background-color: ${t}; border-color: ${t}; color: ${i}; }`), eu(n.type) && e.addRule(`.monaco-editor .cursors-layer.has-selection .cursor { border-left: 1px solid ${i}; border-right: 1px solid ${i}; }`);
|
|
50937
50941
|
}
|
|
50938
50942
|
});
|
|
50939
50943
|
const B4 = () => {
|
|
@@ -51289,7 +51293,7 @@ class OFe extends N0 {
|
|
|
51289
51293
|
return "";
|
|
51290
51294
|
const s = this._context.theme.getColor(Mh), o = this._options.renderWithSVG, a = r.content, l = this._options.stopRenderingLineAfter === -1 ? a.length : Math.min(this._options.stopRenderingLineAfter, a.length), c = r.continuesWithWrappedLine, u = r.minColumn - 1, d = this._options.renderWhitespace === "boundary", h = this._options.renderWhitespace === "trailing", f = this._options.lineHeight, g = this._options.middotWidth, p = this._options.wsmiddotWidth, m = this._options.spaceWidth, v = Math.abs(p - m), _ = Math.abs(g - m), w = v < _ ? 11825 : 183, y = this._options.canUseHalfwidthRightwardsArrow;
|
|
51291
51295
|
let S = "", I = !1, D = Zs(a), x;
|
|
51292
|
-
D === -1 ? (I = !0, D = l, x = l) : x =
|
|
51296
|
+
D === -1 ? (I = !0, D = l, x = l) : x = Jc(a);
|
|
51293
51297
|
let L = 0, E = i && i[L], N = 0;
|
|
51294
51298
|
for (let A = u; A < l; A++) {
|
|
51295
51299
|
const M = a.charCodeAt(A);
|
|
@@ -53358,7 +53362,7 @@ class Oge {
|
|
|
53358
53362
|
return `bracket-highlighting-${e % 30}`;
|
|
53359
53363
|
}
|
|
53360
53364
|
}
|
|
53361
|
-
|
|
53365
|
+
hc((n, e) => {
|
|
53362
53366
|
const t = [
|
|
53363
53367
|
cge,
|
|
53364
53368
|
uge,
|
|
@@ -53401,25 +53405,25 @@ class vs {
|
|
|
53401
53405
|
}
|
|
53402
53406
|
static _writeString(e, t, i) {
|
|
53403
53407
|
const r = t.length;
|
|
53404
|
-
|
|
53408
|
+
Ac(e, r, i), i += 4;
|
|
53405
53409
|
for (let s = 0; s < r; s++)
|
|
53406
53410
|
Q5e(e, t.charCodeAt(s), i), i += 2;
|
|
53407
53411
|
return i;
|
|
53408
53412
|
}
|
|
53409
53413
|
static _readString(e, t) {
|
|
53410
|
-
const i =
|
|
53414
|
+
const i = xc(e, t);
|
|
53411
53415
|
return t += 4, K5e(e, t, i);
|
|
53412
53416
|
}
|
|
53413
53417
|
writeSize() {
|
|
53414
53418
|
return 4 + 4 + vs._writeStringSize(this.oldText) + vs._writeStringSize(this.newText);
|
|
53415
53419
|
}
|
|
53416
53420
|
write(e, t) {
|
|
53417
|
-
return
|
|
53421
|
+
return Ac(e, this.oldPosition, t), t += 4, Ac(e, this.newPosition, t), t += 4, t = vs._writeString(e, this.oldText, t), t = vs._writeString(e, this.newText, t), t;
|
|
53418
53422
|
}
|
|
53419
53423
|
static read(e, t, i) {
|
|
53420
|
-
const r =
|
|
53424
|
+
const r = xc(e, t);
|
|
53421
53425
|
t += 4;
|
|
53422
|
-
const s =
|
|
53426
|
+
const s = xc(e, t);
|
|
53423
53427
|
t += 4;
|
|
53424
53428
|
const o = vs._readString(e, t);
|
|
53425
53429
|
t += vs._writeStringSize(o);
|
|
@@ -53569,7 +53573,7 @@ function nX(n, e = _r.sep) {
|
|
|
53569
53573
|
}
|
|
53570
53574
|
return "";
|
|
53571
53575
|
}
|
|
53572
|
-
function Hj(n, e, t, i =
|
|
53576
|
+
function Hj(n, e, t, i = Xc) {
|
|
53573
53577
|
if (n === e)
|
|
53574
53578
|
return !0;
|
|
53575
53579
|
if (!n || !e || e.length > n.length)
|
|
@@ -53683,7 +53687,7 @@ class dBe {
|
|
|
53683
53687
|
isEqualAuthority(e, t) {
|
|
53684
53688
|
return e === t || e !== void 0 && t !== void 0 && Vv(e, t);
|
|
53685
53689
|
}
|
|
53686
|
-
hasTrailingPathSeparator(e, t =
|
|
53690
|
+
hasTrailingPathSeparator(e, t = Xc) {
|
|
53687
53691
|
if (e.scheme === Ot.file) {
|
|
53688
53692
|
const i = Lu(e);
|
|
53689
53693
|
return i.length > nX(i).length && i[i.length - 1] === t;
|
|
@@ -53692,10 +53696,10 @@ class dBe {
|
|
|
53692
53696
|
return i.length > 1 && i.charCodeAt(i.length - 1) === 47 && !/^[a-zA-Z]:(\/$|\\$)/.test(e.fsPath);
|
|
53693
53697
|
}
|
|
53694
53698
|
}
|
|
53695
|
-
removeTrailingPathSeparator(e, t =
|
|
53699
|
+
removeTrailingPathSeparator(e, t = Xc) {
|
|
53696
53700
|
return oX(e, t) ? e.with({ path: e.path.substr(0, e.path.length - 1) }) : e;
|
|
53697
53701
|
}
|
|
53698
|
-
addTrailingPathSeparator(e, t =
|
|
53702
|
+
addTrailingPathSeparator(e, t = Xc) {
|
|
53699
53703
|
let i = !1;
|
|
53700
53704
|
if (e.scheme === Ot.file) {
|
|
53701
53705
|
const r = Lu(e);
|
|
@@ -53748,22 +53752,22 @@ class jr {
|
|
|
53748
53752
|
return 4 + 4 * 4 * (e ? e.length : 0);
|
|
53749
53753
|
}
|
|
53750
53754
|
static _writeSelections(e, t, i) {
|
|
53751
|
-
if (
|
|
53755
|
+
if (Ac(e, t ? t.length : 0, i), i += 4, t)
|
|
53752
53756
|
for (const r of t)
|
|
53753
|
-
|
|
53757
|
+
Ac(e, r.selectionStartLineNumber, i), i += 4, Ac(e, r.selectionStartColumn, i), i += 4, Ac(e, r.positionLineNumber, i), i += 4, Ac(e, r.positionColumn, i), i += 4;
|
|
53754
53758
|
return i;
|
|
53755
53759
|
}
|
|
53756
53760
|
static _readSelections(e, t, i) {
|
|
53757
|
-
const r =
|
|
53761
|
+
const r = xc(e, t);
|
|
53758
53762
|
t += 4;
|
|
53759
53763
|
for (let s = 0; s < r; s++) {
|
|
53760
|
-
const o =
|
|
53764
|
+
const o = xc(e, t);
|
|
53761
53765
|
t += 4;
|
|
53762
|
-
const a =
|
|
53766
|
+
const a = xc(e, t);
|
|
53763
53767
|
t += 4;
|
|
53764
|
-
const l =
|
|
53768
|
+
const l = xc(e, t);
|
|
53765
53769
|
t += 4;
|
|
53766
|
-
const c =
|
|
53770
|
+
const c = xc(e, t);
|
|
53767
53771
|
t += 4, i.push(new ot(o, a, l, c));
|
|
53768
53772
|
}
|
|
53769
53773
|
return t;
|
|
@@ -53774,7 +53778,7 @@ class jr {
|
|
|
53774
53778
|
e += r.writeSize();
|
|
53775
53779
|
const t = new Uint8Array(e);
|
|
53776
53780
|
let i = 0;
|
|
53777
|
-
|
|
53781
|
+
Ac(t, this.beforeVersionId, i), i += 4, Ac(t, this.afterVersionId, i), i += 4, jK(t, this.beforeEOL, i), i += 1, jK(t, this.afterEOL, i), i += 1, i = jr._writeSelections(t, this.beforeCursorState, i), i = jr._writeSelections(t, this.afterCursorState, i), Ac(t, this.changes.length, i), i += 4;
|
|
53778
53782
|
for (const r of this.changes)
|
|
53779
53783
|
i = r.write(t, i);
|
|
53780
53784
|
return t.buffer;
|
|
@@ -53782,9 +53786,9 @@ class jr {
|
|
|
53782
53786
|
static deserialize(e) {
|
|
53783
53787
|
const t = new Uint8Array(e);
|
|
53784
53788
|
let i = 0;
|
|
53785
|
-
const r =
|
|
53789
|
+
const r = xc(t, i);
|
|
53786
53790
|
i += 4;
|
|
53787
|
-
const s =
|
|
53791
|
+
const s = xc(t, i);
|
|
53788
53792
|
i += 4;
|
|
53789
53793
|
const o = RK(t, i);
|
|
53790
53794
|
i += 1;
|
|
@@ -53794,7 +53798,7 @@ class jr {
|
|
|
53794
53798
|
i = jr._readSelections(t, i, l);
|
|
53795
53799
|
const c = [];
|
|
53796
53800
|
i = jr._readSelections(t, i, c);
|
|
53797
|
-
const u =
|
|
53801
|
+
const u = xc(t, i);
|
|
53798
53802
|
i += 4;
|
|
53799
53803
|
const d = [];
|
|
53800
53804
|
for (let h = 0; h < u; h++)
|
|
@@ -55561,7 +55565,7 @@ class Pb extends ye {
|
|
|
55561
55565
|
return t === -1 ? 0 : t + 1;
|
|
55562
55566
|
}
|
|
55563
55567
|
getLineLastNonWhitespaceColumn(e) {
|
|
55564
|
-
const t =
|
|
55568
|
+
const t = Jc(this.getLineContent(e));
|
|
55565
55569
|
return t === -1 ? 0 : t + 2;
|
|
55566
55570
|
}
|
|
55567
55571
|
_getEndOfLine(e) {
|
|
@@ -61327,7 +61331,7 @@ let eWe = class extends ye {
|
|
|
61327
61331
|
return t === -1 ? 0 : t + 1;
|
|
61328
61332
|
}
|
|
61329
61333
|
getLineLastNonWhitespaceColumn(e) {
|
|
61330
|
-
const t =
|
|
61334
|
+
const t = Jc(this.getLineContent(e));
|
|
61331
61335
|
return t === -1 ? 0 : t + 2;
|
|
61332
61336
|
}
|
|
61333
61337
|
getMinimapDecorationsInRange(e) {
|
|
@@ -61927,10 +61931,10 @@ class Ry {
|
|
|
61927
61931
|
}
|
|
61928
61932
|
}
|
|
61929
61933
|
function EX(n) {
|
|
61930
|
-
return n == null ? !0 : n ===
|
|
61934
|
+
return n == null ? !0 : n === Gc.Right || n === Gc.Both;
|
|
61931
61935
|
}
|
|
61932
61936
|
function TX(n) {
|
|
61933
|
-
return n == null ? !0 : n ===
|
|
61937
|
+
return n == null ? !0 : n === Gc.Left || n === Gc.Both;
|
|
61934
61938
|
}
|
|
61935
61939
|
class aL {
|
|
61936
61940
|
constructor(e, t) {
|
|
@@ -63453,7 +63457,7 @@ const wWe = encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" height="
|
|
|
63453
63457
|
function IWe(n) {
|
|
63454
63458
|
return wWe + encodeURIComponent(n.toString()) + SWe;
|
|
63455
63459
|
}
|
|
63456
|
-
|
|
63460
|
+
hc((n, e) => {
|
|
63457
63461
|
const t = n.getColor(Ju);
|
|
63458
63462
|
t && e.addRule(`.monaco-editor .squiggly-error { background: url("data:image/svg+xml,${$4(t)}") repeat-x bottom left; }`);
|
|
63459
63463
|
const i = n.getColor(Na);
|
|
@@ -65226,7 +65230,7 @@ function qX(n, e) {
|
|
|
65226
65230
|
if (typeof e == "string")
|
|
65227
65231
|
return n;
|
|
65228
65232
|
const t = function(i, r) {
|
|
65229
|
-
return Hj(i, e.base, !Xs) ? n(bI(i.substr(e.base.length),
|
|
65233
|
+
return Hj(i, e.base, !Xs) ? n(bI(i.substr(e.base.length), Xc), r) : null;
|
|
65230
65234
|
};
|
|
65231
65235
|
return t.allBasenames = n.allBasenames, t.allPaths = n.allPaths, t.basenames = n.basenames, t.patterns = n.patterns, t;
|
|
65232
65236
|
}
|
|
@@ -65261,7 +65265,7 @@ function KWe(n, e) {
|
|
|
65261
65265
|
return o.length && (r.allPaths = o), r;
|
|
65262
65266
|
}
|
|
65263
65267
|
function KX(n, e, t) {
|
|
65264
|
-
const i =
|
|
65268
|
+
const i = Xc === _r.sep, r = i ? n : n.replace(zWe, Xc), s = Xc + r, o = _r.sep + n;
|
|
65265
65269
|
let a;
|
|
65266
65270
|
return t ? a = function(l, c) {
|
|
65267
65271
|
return typeof l == "string" && (l === r || l.endsWith(s) || !i && (l === n || l.endsWith(o))) ? e : null;
|
|
@@ -66449,7 +66453,7 @@ class hVe extends ye {
|
|
|
66449
66453
|
return this._currentChords.length > 0;
|
|
66450
66454
|
}
|
|
66451
66455
|
constructor(e, t, i, r, s) {
|
|
66452
|
-
super(), this._contextKeyService = e, this._commandService = t, this._telemetryService = i, this._notificationService = r, this._logService = s, this._onDidUpdateKeybindings = this._register(new ge()), this._currentChords = [], this._currentChordChecker = new wI(), this._currentChordStatusMessage = null, this._ignoreSingleModifiers = ib.EMPTY, this._currentSingleModifier = null, this._currentSingleModifierClearTimeout = new
|
|
66456
|
+
super(), this._contextKeyService = e, this._commandService = t, this._telemetryService = i, this._notificationService = r, this._logService = s, this._onDidUpdateKeybindings = this._register(new ge()), this._currentChords = [], this._currentChordChecker = new wI(), this._currentChordStatusMessage = null, this._ignoreSingleModifiers = ib.EMPTY, this._currentSingleModifier = null, this._currentSingleModifierClearTimeout = new uc(), this._logging = !1;
|
|
66453
66457
|
}
|
|
66454
66458
|
dispose() {
|
|
66455
66459
|
super.dispose();
|
|
@@ -67389,7 +67393,7 @@ var fF;
|
|
|
67389
67393
|
(function(n) {
|
|
67390
67394
|
n.bulkEditServiceSummary = C("bulkEditServiceSummary", "Made {0} edits in {1} files");
|
|
67391
67395
|
})(fF || (fF = {}));
|
|
67392
|
-
const fpe = Gt("workspaceTrustManagementService"), of = Gt("contextViewService"),
|
|
67396
|
+
const fpe = Gt("workspaceTrustManagementService"), of = Gt("contextViewService"), fc = Gt("contextMenuService");
|
|
67393
67397
|
var As;
|
|
67394
67398
|
(function(n) {
|
|
67395
67399
|
function e(s, o) {
|
|
@@ -68189,14 +68193,14 @@ function ZVe(n, e, t, i, r, s, o = !1) {
|
|
|
68189
68193
|
n[e] === i[r] && (o && (Dpe[e] = r), e += 1), r += 1;
|
|
68190
68194
|
return e === t;
|
|
68191
68195
|
}
|
|
68192
|
-
var
|
|
68196
|
+
var tu;
|
|
68193
68197
|
(function(n) {
|
|
68194
68198
|
n.Default = [-100, 0];
|
|
68195
68199
|
function e(t) {
|
|
68196
68200
|
return !t || t.length === 2 && t[0] === -100 && t[1] === 0;
|
|
68197
68201
|
}
|
|
68198
68202
|
n.isDefault = e;
|
|
68199
|
-
})(
|
|
68203
|
+
})(tu || (tu = {}));
|
|
68200
68204
|
class PT {
|
|
68201
68205
|
constructor(e, t) {
|
|
68202
68206
|
this.firstMatchCanBeWeak = e, this.boostFullMatch = t;
|
|
@@ -68468,7 +68472,7 @@ function Lpe(n, e, t, i) {
|
|
|
68468
68472
|
var f;
|
|
68469
68473
|
const g = s !== void 0;
|
|
68470
68474
|
d && (s?.dispose(), s = void 0), h && (r?.dispose(), r = void 0), g && ((f = n.onDidHideHover) === null || f === void 0 || f.call(n));
|
|
68471
|
-
}, a = (d, h, f) => new
|
|
68475
|
+
}, a = (d, h, f) => new uc(() => _F(this, void 0, void 0, function* () {
|
|
68472
68476
|
(!s || s.isDisposed) && (s = new fHe(n, f || e, d > 0), yield s.update(t, h, i));
|
|
68473
68477
|
}), d), l = () => {
|
|
68474
68478
|
if (r)
|
|
@@ -70723,7 +70727,7 @@ class Al {
|
|
|
70723
70727
|
}
|
|
70724
70728
|
constructor(e, t, i, r = wu) {
|
|
70725
70729
|
var s, o, a, l, c, u, d, h, f, g, p, m, v;
|
|
70726
|
-
if (this.virtualDelegate = t, this.domId = `list_id_${++Al.InstanceCount}`, this.renderers = /* @__PURE__ */ new Map(), this.renderWidth = 0, this._scrollHeight = 0, this.scrollableElementUpdateDisposable = null, this.scrollableElementWidthDelayer = new
|
|
70730
|
+
if (this.virtualDelegate = t, this.domId = `list_id_${++Al.InstanceCount}`, this.renderers = /* @__PURE__ */ new Map(), this.renderWidth = 0, this._scrollHeight = 0, this.scrollableElementUpdateDisposable = null, this.scrollableElementWidthDelayer = new sc(50), this.splicing = !1, this.dragOverAnimationStopDisposable = ye.None, this.dragOverMouseY = 0, this.canDrop = !1, this.currentDragFeedbackDisposable = ye.None, this.onDragLeaveTimeout = ye.None, this.disposables = new Te(), this._onDidChangeContentHeight = new ge(), this._onDidChangeContentWidth = new ge(), this._horizontalScrolling = !1, r.horizontalScrolling && r.supportDynamicHeights)
|
|
70727
70731
|
throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");
|
|
70728
70732
|
this.items = [], this.itemId = 0, this.rangeMap = new lJ((s = r.paddingTop) !== null && s !== void 0 ? s : 0);
|
|
70729
70733
|
for (const w of i)
|
|
@@ -71848,7 +71852,7 @@ class oUe {
|
|
|
71848
71852
|
this.dnd.dispose();
|
|
71849
71853
|
}
|
|
71850
71854
|
}
|
|
71851
|
-
class
|
|
71855
|
+
class gc {
|
|
71852
71856
|
get onDidChangeFocus() {
|
|
71853
71857
|
return Ye.map(this.eventBufferer.wrapEvent(this.focus.onChange), (e) => this.toListEvent(e), this.disposables);
|
|
71854
71858
|
}
|
|
@@ -72157,19 +72161,19 @@ class fc {
|
|
|
72157
72161
|
}
|
|
72158
72162
|
k0([
|
|
72159
72163
|
ar
|
|
72160
|
-
],
|
|
72164
|
+
], gc.prototype, "onDidChangeFocus", null);
|
|
72161
72165
|
k0([
|
|
72162
72166
|
ar
|
|
72163
|
-
],
|
|
72167
|
+
], gc.prototype, "onDidChangeSelection", null);
|
|
72164
72168
|
k0([
|
|
72165
72169
|
ar
|
|
72166
|
-
],
|
|
72170
|
+
], gc.prototype, "onContextMenu", null);
|
|
72167
72171
|
k0([
|
|
72168
72172
|
ar
|
|
72169
|
-
],
|
|
72173
|
+
], gc.prototype, "onKeyDown", null);
|
|
72170
72174
|
k0([
|
|
72171
72175
|
ar
|
|
72172
|
-
],
|
|
72176
|
+
], gc.prototype, "onDidFocus", null);
|
|
72173
72177
|
const hm = Pe, Ope = "selectOption.entry.template";
|
|
72174
72178
|
class aUe {
|
|
72175
72179
|
get templateId() {
|
|
@@ -72354,7 +72358,7 @@ class Yu extends ye {
|
|
|
72354
72358
|
createSelectList(e) {
|
|
72355
72359
|
if (this.selectList)
|
|
72356
72360
|
return;
|
|
72357
|
-
this.selectDropDownListContainer = Ee(e, hm(".select-box-dropdown-list-container")), this.listRenderer = new aUe(), this.selectList = new
|
|
72361
|
+
this.selectDropDownListContainer = Ee(e, hm(".select-box-dropdown-list-container")), this.listRenderer = new aUe(), this.selectList = new gc("SelectBoxCustom", this.selectDropDownListContainer, this, [this.listRenderer], {
|
|
72358
72362
|
useShadows: !1,
|
|
72359
72363
|
verticalScrollMode: 3,
|
|
72360
72364
|
keyboardSupport: !1,
|
|
@@ -72568,7 +72572,7 @@ class lUe extends ye {
|
|
|
72568
72572
|
return r.value = e, r.text = e, r.disabled = !!i, r;
|
|
72569
72573
|
}
|
|
72570
72574
|
}
|
|
72571
|
-
class cUe extends
|
|
72575
|
+
class cUe extends dc {
|
|
72572
72576
|
constructor(e, t, i, r, s) {
|
|
72573
72577
|
super(), ri && !s?.useCustomDrawn ? this.selectBoxDelegate = new lUe(e, t, r, s) : this.selectBoxDelegate = new Yu(e, t, i, r, s), this._register(this.selectBoxDelegate);
|
|
72574
72578
|
}
|
|
@@ -72595,7 +72599,7 @@ class cUe extends uc {
|
|
|
72595
72599
|
this.selectBoxDelegate.render(e);
|
|
72596
72600
|
}
|
|
72597
72601
|
}
|
|
72598
|
-
class
|
|
72602
|
+
class Pc extends ye {
|
|
72599
72603
|
get action() {
|
|
72600
72604
|
return this._action;
|
|
72601
72605
|
}
|
|
@@ -72689,7 +72693,7 @@ class Oc extends ye {
|
|
|
72689
72693
|
this.element && (this.element.remove(), this.element = void 0), this._context = void 0, super.dispose();
|
|
72690
72694
|
}
|
|
72691
72695
|
}
|
|
72692
|
-
class L1 extends
|
|
72696
|
+
class L1 extends Pc {
|
|
72693
72697
|
constructor(e, t, i) {
|
|
72694
72698
|
super(e, t, i), this.options = i, this.options.icon = i.icon !== void 0 ? i.icon : !1, this.options.label = i.label !== void 0 ? i.label : !0, this.cssClass = "";
|
|
72695
72699
|
}
|
|
@@ -72736,7 +72740,7 @@ class L1 extends Oc {
|
|
|
72736
72740
|
this.label && (this.action.checked !== void 0 ? (this.label.classList.toggle("checked", this.action.checked), this.label.setAttribute("aria-checked", this.action.checked ? "true" : "false"), this.label.setAttribute("role", "checkbox")) : (this.label.classList.remove("checked"), this.label.setAttribute("aria-checked", ""), this.label.setAttribute("role", this.getDefaultAriaRole())));
|
|
72737
72741
|
}
|
|
72738
72742
|
}
|
|
72739
|
-
class uUe extends
|
|
72743
|
+
class uUe extends Pc {
|
|
72740
72744
|
constructor(e, t, i, r, s, o, a) {
|
|
72741
72745
|
super(e, t), this.selectBox = new cUe(i, r, s, o, a), this.selectBox.setFocusable(!1), this._register(this.selectBox), this.registerListeners();
|
|
72742
72746
|
}
|
|
@@ -72842,7 +72846,7 @@ class hUe extends dUe {
|
|
|
72842
72846
|
this.hide(), this.element.classList.remove("active");
|
|
72843
72847
|
}
|
|
72844
72848
|
}
|
|
72845
|
-
class BM extends
|
|
72849
|
+
class BM extends Pc {
|
|
72846
72850
|
constructor(e, t, i, r = /* @__PURE__ */ Object.create(null)) {
|
|
72847
72851
|
super(null, e, r), this.actionItem = null, this._onDidChangeVisibility = this._register(new ge()), this.onDidChangeVisibility = this._onDidChangeVisibility.event, this.menuActionsOrProvider = t, this.contextMenuProvider = i, this.options = r, this.options.actionRunner && (this.actionRunner = this.options.actionRunner);
|
|
72848
72852
|
}
|
|
@@ -73015,7 +73019,7 @@ class dO {
|
|
|
73015
73019
|
});
|
|
73016
73020
|
}
|
|
73017
73021
|
}
|
|
73018
|
-
const Jx = "__$__targetStorageMarker",
|
|
73022
|
+
const Jx = "__$__targetStorageMarker", pc = Gt("storageService");
|
|
73019
73023
|
var zM;
|
|
73020
73024
|
(function(n) {
|
|
73021
73025
|
n[n.NONE = 0] = "NONE", n[n.SHUTDOWN = 1] = "SHUTDOWN";
|
|
@@ -73334,7 +73338,7 @@ function Bpe(n, e, t, i = (o) => o === "navigation", r = () => !1, s = !1) {
|
|
|
73334
73338
|
let d;
|
|
73335
73339
|
i(c) ? (d = o, d.length > 0 && s && d.push(new Hr())) : (d = a, d.length > 0 && d.push(new Hr()));
|
|
73336
73340
|
for (let h of u) {
|
|
73337
|
-
t && (h = h instanceof
|
|
73341
|
+
t && (h = h instanceof nc && h.alt ? h.alt : h);
|
|
73338
73342
|
const f = d.push(h);
|
|
73339
73343
|
h instanceof l1 && l.add({ group: c, action: h, index: f - 1 });
|
|
73340
73344
|
}
|
|
@@ -73423,7 +73427,7 @@ Xm = FT([
|
|
|
73423
73427
|
Ao(3, lr),
|
|
73424
73428
|
Ao(4, yt),
|
|
73425
73429
|
Ao(5, kr),
|
|
73426
|
-
Ao(6,
|
|
73430
|
+
Ao(6, fc),
|
|
73427
73431
|
Ao(7, sf)
|
|
73428
73432
|
], Xm);
|
|
73429
73433
|
let AF = class extends BM {
|
|
@@ -73448,10 +73452,10 @@ let AF = class extends BM {
|
|
|
73448
73452
|
};
|
|
73449
73453
|
AF = FT([
|
|
73450
73454
|
Ao(2, Fi),
|
|
73451
|
-
Ao(3,
|
|
73455
|
+
Ao(3, fc),
|
|
73452
73456
|
Ao(4, kr)
|
|
73453
73457
|
], AF);
|
|
73454
|
-
let MF = class extends
|
|
73458
|
+
let MF = class extends Pc {
|
|
73455
73459
|
constructor(e, t, i, r, s, o, a, l) {
|
|
73456
73460
|
var c, u, d;
|
|
73457
73461
|
super(null, e), this._keybindingService = i, this._notificationService = r, this._contextMenuService = s, this._menuService = o, this._instaService = a, this._storageService = l, this._container = null, this._options = t, this._storageKey = `${e.item.submenu.id}_lastActionId`;
|
|
@@ -73464,7 +73468,7 @@ let MF = class extends Oc {
|
|
|
73464
73468
|
f && (h = e.actions.find((p) => f === p.id)), h || (h = e.actions[0]), this._defaultAction = this._instaService.createInstance(Xm, h, { keybinding: this._getDefaultActionKeybindingLabel(h) });
|
|
73465
73469
|
const g = Object.assign(Object.assign({ keybindingProvider: (p) => this._keybindingService.lookupKeybinding(p.id) }, t), { menuAsChild: (c = t?.menuAsChild) !== null && c !== void 0 ? c : !0, classNames: (u = t?.classNames) !== null && u !== void 0 ? u : ["codicon", "codicon-chevron-down"], actionRunner: (d = t?.actionRunner) !== null && d !== void 0 ? d : new a1() });
|
|
73466
73470
|
this._dropdown = new BM(e, e.actions, this._contextMenuService, g), this._dropdown.actionRunner.onDidRun((p) => {
|
|
73467
|
-
p.action instanceof
|
|
73471
|
+
p.action instanceof nc && this.update(p.action);
|
|
73468
73472
|
});
|
|
73469
73473
|
}
|
|
73470
73474
|
update(e) {
|
|
@@ -73531,10 +73535,10 @@ let MF = class extends Oc {
|
|
|
73531
73535
|
MF = FT([
|
|
73532
73536
|
Ao(2, Fi),
|
|
73533
73537
|
Ao(3, lr),
|
|
73534
|
-
Ao(4,
|
|
73538
|
+
Ao(4, fc),
|
|
73535
73539
|
Ao(5, kd),
|
|
73536
73540
|
Ao(6, _t),
|
|
73537
|
-
Ao(7,
|
|
73541
|
+
Ao(7, pc)
|
|
73538
73542
|
], MF);
|
|
73539
73543
|
let NF = class extends uUe {
|
|
73540
73544
|
constructor(e, t) {
|
|
@@ -73555,7 +73559,7 @@ NF = FT([
|
|
|
73555
73559
|
Ao(1, of)
|
|
73556
73560
|
], NF);
|
|
73557
73561
|
function IUe(n, e, t) {
|
|
73558
|
-
return e instanceof
|
|
73562
|
+
return e instanceof nc ? n.createInstance(Xm, e, t) : e instanceof Nw ? e.item.isSelection ? n.createInstance(NF, e) : e.item.rememberDefaultAction ? n.createInstance(MF, e, Object.assign(Object.assign({}, t), { persistLastActionId: !0 })) : n.createInstance(AF, e, t) : void 0;
|
|
73559
73563
|
}
|
|
73560
73564
|
var DUe = globalThis && globalThis.__awaiter || function(n, e, t, i) {
|
|
73561
73565
|
function r(s) {
|
|
@@ -73632,7 +73636,7 @@ class Il extends ye {
|
|
|
73632
73636
|
) ? f = this.focusLast() : h.equals(
|
|
73633
73637
|
2
|
|
73634
73638
|
/* KeyCode.Tab */
|
|
73635
|
-
) && g instanceof
|
|
73639
|
+
) && g instanceof Pc && g.trapsArrowNavigation ? f = this.focusNext() : this.isTriggerKeyEvent(h) ? this._triggerKeys.keyDown ? this.doTrigger(h) : this.triggerKeyDown = !0 : f = !1, f && (h.preventDefault(), h.stopPropagation());
|
|
73636
73640
|
})), this._register(Ae(this.domNode, Ge.KEY_UP, (d) => {
|
|
73637
73641
|
const h = new Ki(d);
|
|
73638
73642
|
this.isTriggerKeyEvent(h) ? (!this._triggerKeys.keyDown && this.triggerKeyDown && (this.triggerKeyDown = !1, this.doTrigger(h)), h.preventDefault(), h.stopPropagation()) : (h.equals(
|
|
@@ -73654,11 +73658,11 @@ class Il extends ye {
|
|
|
73654
73658
|
// When an action bar is focusable again, make sure the first item can be focused
|
|
73655
73659
|
setFocusable(e) {
|
|
73656
73660
|
if (this.focusable = e, this.focusable) {
|
|
73657
|
-
const t = this.viewItems.find((i) => i instanceof
|
|
73658
|
-
t instanceof
|
|
73661
|
+
const t = this.viewItems.find((i) => i instanceof Pc && i.isEnabled());
|
|
73662
|
+
t instanceof Pc && t.setFocusable(!0);
|
|
73659
73663
|
} else
|
|
73660
73664
|
this.viewItems.forEach((t) => {
|
|
73661
|
-
t instanceof
|
|
73665
|
+
t instanceof Pc && t.setFocusable(!1);
|
|
73662
73666
|
});
|
|
73663
73667
|
}
|
|
73664
73668
|
isTriggerKeyEvent(e) {
|
|
@@ -73716,7 +73720,7 @@ class Il extends ye {
|
|
|
73716
73720
|
const l = Object.assign({ hoverDelegate: this.options.hoverDelegate }, t);
|
|
73717
73721
|
this.options.actionViewItemProvider && (a = this.options.actionViewItemProvider(s, l)), a || (a = new L1(this.context, s, l)), this.options.allowContextMenu || this.viewItemDisposables.set(a, Ae(o, Ge.CONTEXT_MENU, (c) => {
|
|
73718
73722
|
Tt.stop(c, !0);
|
|
73719
|
-
})), a.actionRunner = this._actionRunner, a.setActionContext(this.context), a.render(o), this.focusable && a instanceof
|
|
73723
|
+
})), a.actionRunner = this._actionRunner, a.setActionContext(this.context), a.render(o), this.focusable && a instanceof Pc && this.viewItems.length === 0 && a.setFocusable(!0), r === null || r < 0 || r >= this.actionsList.children.length ? (this.actionsList.appendChild(o), this.viewItems.push(a)) : (this.actionsList.insertBefore(o, this.actionsList.children[r]), this.viewItems.splice(r, 0, a), r++);
|
|
73720
73724
|
}), typeof this.focusedItem == "number" && this.focus(this.focusedItem), this.refreshRole();
|
|
73721
73725
|
}
|
|
73722
73726
|
clear() {
|
|
@@ -73786,7 +73790,7 @@ class Il extends ye {
|
|
|
73786
73790
|
if (typeof this.focusedItem > "u")
|
|
73787
73791
|
return;
|
|
73788
73792
|
const t = this.viewItems[this.focusedItem];
|
|
73789
|
-
if (t instanceof
|
|
73793
|
+
if (t instanceof Pc) {
|
|
73790
73794
|
const i = t._context === null || t._context === void 0 ? e : t._context;
|
|
73791
73795
|
this.run(t._action, i);
|
|
73792
73796
|
}
|
|
@@ -73966,7 +73970,7 @@ let zpe = class $x extends Il {
|
|
|
73966
73970
|
}
|
|
73967
73971
|
}
|
|
73968
73972
|
};
|
|
73969
|
-
class Wpe extends
|
|
73973
|
+
class Wpe extends Pc {
|
|
73970
73974
|
constructor(e, t, i, r) {
|
|
73971
73975
|
if (i.isMenu = !0, super(t, t, i), this.menuStyle = r, this.options = i, this.options.icon = i.icon !== void 0 ? i.icon : !1, this.options.label = i.label !== void 0 ? i.label : !0, this.cssClass = "", this.options.label && i.enableMnemonics) {
|
|
73972
73976
|
const s = this.action.label;
|
|
@@ -74825,7 +74829,7 @@ RF = wU([
|
|
|
74825
74829
|
GM(0, wi),
|
|
74826
74830
|
GM(1, Hn)
|
|
74827
74831
|
], RF);
|
|
74828
|
-
const
|
|
74832
|
+
const mc = Gt("editorWorkerService");
|
|
74829
74833
|
var Fn;
|
|
74830
74834
|
(function(n) {
|
|
74831
74835
|
n[n.Hint = 1] = "Hint", n[n.Info = 2] = "Info", n[n.Warning = 4] = "Warning", n[n.Error = 8] = "Error";
|
|
@@ -75324,7 +75328,7 @@ function zUe(n, e) {
|
|
|
75324
75328
|
class WUe {
|
|
75325
75329
|
constructor(e, t, i, r, s = {}) {
|
|
75326
75330
|
const o = () => this.model, a = r.map((l) => new FUe(l, o));
|
|
75327
|
-
this.list = new
|
|
75331
|
+
this.list = new gc(e, t, i, a, zUe(o, s));
|
|
75328
75332
|
}
|
|
75329
75333
|
updateOptions(e) {
|
|
75330
75334
|
this.list.updateOptions(e);
|
|
@@ -75518,7 +75522,7 @@ class Ms extends ye {
|
|
|
75518
75522
|
}
|
|
75519
75523
|
}
|
|
75520
75524
|
constructor(e, t, i) {
|
|
75521
|
-
super(), this.hoverDelay = GUe, this.hoverDelayer = this._register(new
|
|
75525
|
+
super(), this.hoverDelay = GUe, this.hoverDelayer = this._register(new sc(this.hoverDelay)), this._state = 3, this.onDidEnablementChange = this._register(new ge()), this._onDidStart = this._register(new ge()), this._onDidChange = this._register(new ge()), this._onDidReset = this._register(new ge()), this._onDidEnd = this._register(new ge()), this.orthogonalStartSashDisposables = this._register(new Te()), this.orthogonalStartDragHandleDisposables = this._register(new Te()), this.orthogonalEndSashDisposables = this._register(new Te()), this.orthogonalEndDragHandleDisposables = this._register(new Te()), this.onDidStart = this._onDidStart.event, this.onDidChange = this._onDidChange.event, this.onDidReset = this._onDidReset.event, this.onDidEnd = this._onDidEnd.event, this.linkedSash = void 0, this.el = Ee(e, Pe(".monaco-sash")), i.orthogonalEdge && this.el.classList.add(`orthogonal-edge-${i.orthogonalEdge}`), ri && this.el.classList.add("mac");
|
|
75522
75526
|
const r = this._register(new qt(this.el, "mousedown")).event;
|
|
75523
75527
|
this._register(r((d) => this.onPointerStart(d, new SU()), this));
|
|
75524
75528
|
const s = this._register(new qt(this.el, "dblclick")).event;
|
|
@@ -76193,7 +76197,7 @@ class zT {
|
|
|
76193
76197
|
descriptor: l
|
|
76194
76198
|
})), this.splitview.el.style.height = `${i.headerRowHeight}px`, this.splitview.el.style.lineHeight = `${i.headerRowHeight}px`;
|
|
76195
76199
|
const c = new BI(r, s, (u) => this.splitview.getViewSize(u));
|
|
76196
|
-
this.list = this.disposables.add(new
|
|
76200
|
+
this.list = this.disposables.add(new gc(e, this.domNode, ZUe(i), [c], o)), Ye.any(...a.map((u) => u.onDidLayout))(([u, d]) => c.layoutColumn(u, d), null, this.disposables), this.splitview.onDidSashReset((u) => {
|
|
76197
76201
|
const d = r.reduce((f, g) => f + g.weight, 0), h = r[u].weight / d * this.cachedWidth;
|
|
76198
76202
|
this.splitview.resizeView(u, h);
|
|
76199
76203
|
}, null, this.disposables), this.styleElement = Cl(this.domNode), this.style(eUe);
|
|
@@ -76229,7 +76233,7 @@ class zT {
|
|
|
76229
76233
|
}
|
|
76230
76234
|
}
|
|
76231
76235
|
zT.InstanceCount = 0;
|
|
76232
|
-
let p_ = class extends
|
|
76236
|
+
let p_ = class extends dc {
|
|
76233
76237
|
constructor(e) {
|
|
76234
76238
|
super(), this._onChange = this._register(new ge()), this.onChange = this._onChange.event, this._onKeyDown = this._register(new ge()), this.onKeyDown = this._onKeyDown.event, this._opts = e, this._checked = this._opts.isChecked;
|
|
76235
76239
|
const t = ["monaco-custom-toggle"];
|
|
@@ -76383,7 +76387,7 @@ class iGe {
|
|
|
76383
76387
|
}
|
|
76384
76388
|
}
|
|
76385
76389
|
const uC = Pe;
|
|
76386
|
-
let nGe = class extends
|
|
76390
|
+
let nGe = class extends dc {
|
|
76387
76391
|
constructor(e, t, i) {
|
|
76388
76392
|
var r;
|
|
76389
76393
|
super(), this.state = "idle", this.maxHeight = Number.POSITIVE_INFINITY, this._onDidChange = this._register(new ge()), this.onDidChange = this._onDidChange.event, this._onDidHeightChange = this._register(new ge()), this.onDidHeightChange = this._onDidHeightChange.event, this.contextViewProvider = t, this.options = i, this.message = null, this.placeholder = this.options.placeholder || "", this.tooltip = (r = this.options.tooltip) !== null && r !== void 0 ? r : this.placeholder || "", this.ariaLabel = this.options.ariaLabel || "", this.options.validationOptions && (this.validation = this.options.validationOptions.validation), this.element = Ee(e, uC(".monaco-inputbox.idle"));
|
|
@@ -76617,7 +76621,7 @@ class Qpe extends nGe {
|
|
|
76617
76621
|
}
|
|
76618
76622
|
}
|
|
76619
76623
|
const rGe = C("defaultLabel", "input");
|
|
76620
|
-
class qpe extends
|
|
76624
|
+
class qpe extends dc {
|
|
76621
76625
|
constructor(e, t, i) {
|
|
76622
76626
|
super(), this.fixFocusOnOptionClickEnabled = !0, this.imeSessionInProgress = !1, this.additionalTogglesDisposables = this._register(new as()), this.additionalToggles = [], this._onDidOptionChange = this._register(new ge()), this.onDidOptionChange = this._onDidOptionChange.event, this._onKeyDown = this._register(new ge()), this.onKeyDown = this._onKeyDown.event, this._onMouseDown = this._register(new ge()), this.onMouseDown = this._onMouseDown.event, this._onInput = this._register(new ge()), this._onKeyUp = this._register(new ge()), this._onCaseSensitiveKeyDown = this._register(new ge()), this.onCaseSensitiveKeyDown = this._onCaseSensitiveKeyDown.event, this._onRegexKeyDown = this._register(new ge()), this.onRegexKeyDown = this._onRegexKeyDown.event, this._lastHighlightFindOptions = 0, this.placeholder = i.placeholder || "", this.validation = i.validation, this.label = i.label || rGe, this.showCommonFindToggles = !!i.showCommonFindToggles;
|
|
76623
76627
|
const r = i.appendCaseSensitiveLabel || "", s = i.appendWholeWordsLabel || "", o = i.appendRegexLabel || "", a = i.history || [], l = !!i.flexibleHeight, c = !!i.flexibleWidth, u = i.flexibleMaxHeight;
|
|
@@ -76808,7 +76812,7 @@ function fO(n) {
|
|
|
76808
76812
|
}
|
|
76809
76813
|
class sGe {
|
|
76810
76814
|
constructor(e, t, i, r = {}) {
|
|
76811
|
-
this.user = e, this.list = t, this.rootRef = [], this.eventBufferer = new qV(), this._onDidChangeCollapseState = new ge(), this.onDidChangeCollapseState = this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event), this._onDidChangeRenderNodeCount = new ge(), this.onDidChangeRenderNodeCount = this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event), this._onDidSplice = new ge(), this.onDidSplice = this._onDidSplice.event, this.refilterDelayer = new
|
|
76815
|
+
this.user = e, this.list = t, this.rootRef = [], this.eventBufferer = new qV(), this._onDidChangeCollapseState = new ge(), this.onDidChangeCollapseState = this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event), this._onDidChangeRenderNodeCount = new ge(), this.onDidChangeRenderNodeCount = this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event), this._onDidSplice = new ge(), this.onDidSplice = this._onDidSplice.event, this.refilterDelayer = new sc(cfe), this.collapseByDefault = typeof r.collapseByDefault > "u" ? !1 : r.collapseByDefault, this.filter = r.filter, this.autoExpandSingleChildren = typeof r.autoExpandSingleChildren > "u" ? !1 : r.autoExpandSingleChildren, this.root = {
|
|
76812
76816
|
parent: void 0,
|
|
76813
76817
|
element: i,
|
|
76814
76818
|
children: [],
|
|
@@ -77329,12 +77333,12 @@ class uGe {
|
|
|
77329
77333
|
return !1;
|
|
77330
77334
|
}
|
|
77331
77335
|
if (this._totalCount++, !this._pattern)
|
|
77332
|
-
return this._matchCount++, { data:
|
|
77336
|
+
return this._matchCount++, { data: tu.Default, visibility: i };
|
|
77333
77337
|
const r = this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e), s = Array.isArray(r) ? r : [r];
|
|
77334
77338
|
for (const o of s) {
|
|
77335
77339
|
const a = o && o.toString();
|
|
77336
77340
|
if (typeof a > "u")
|
|
77337
|
-
return { data:
|
|
77341
|
+
return { data: tu.Default, visibility: i };
|
|
77338
77342
|
let l;
|
|
77339
77343
|
if (this.tree.findMatchType === Jm.Contiguous) {
|
|
77340
77344
|
const c = a.toLowerCase().indexOf(this._lowercasePattern);
|
|
@@ -77348,7 +77352,7 @@ class uGe {
|
|
|
77348
77352
|
if (l)
|
|
77349
77353
|
return this._matchCount++, s.length === 1 ? { data: l, visibility: i } : { data: { label: a, score: l }, visibility: i };
|
|
77350
77354
|
}
|
|
77351
|
-
return this.tree.findMode === nd.Filter ? typeof this.tree.options.defaultFindVisibility == "number" ? this.tree.options.defaultFindVisibility : this.tree.options.defaultFindVisibility ? this.tree.options.defaultFindVisibility(e) : 2 : { data:
|
|
77355
|
+
return this.tree.findMode === nd.Filter ? typeof this.tree.options.defaultFindVisibility == "number" ? this.tree.options.defaultFindVisibility : this.tree.options.defaultFindVisibility ? this.tree.options.defaultFindVisibility(e) : 2 : { data: tu.Default, visibility: i };
|
|
77352
77356
|
}
|
|
77353
77357
|
reset() {
|
|
77354
77358
|
this._totalCount = 0, this._matchCount = 0;
|
|
@@ -77400,7 +77404,7 @@ let dGe = class {
|
|
|
77400
77404
|
}) : (r = this.widget) === null || r === void 0 || r.clearMessage();
|
|
77401
77405
|
}
|
|
77402
77406
|
shouldAllowFocus(e) {
|
|
77403
|
-
return !this.widget || !this.pattern || this._mode === nd.Filter || this.filter.totalCount > 0 && this.filter.matchCount <= 1 ? !0 : !
|
|
77407
|
+
return !this.widget || !this.pattern || this._mode === nd.Filter || this.filter.totalCount > 0 && this.filter.matchCount <= 1 ? !0 : !tu.isDefault(e.filterData);
|
|
77404
77408
|
}
|
|
77405
77409
|
layout(e) {
|
|
77406
77410
|
var t;
|
|
@@ -77512,7 +77516,7 @@ class hGe extends Tpe {
|
|
|
77512
77516
|
e.browserEvent.target.classList.contains("monaco-tl-twistie") || !this.tree.expandOnDoubleClick || e.browserEvent.isHandledByList || super.onDoubleClick(e);
|
|
77513
77517
|
}
|
|
77514
77518
|
}
|
|
77515
|
-
class fGe extends
|
|
77519
|
+
class fGe extends gc {
|
|
77516
77520
|
constructor(e, t, i, r, s, o, a, l) {
|
|
77517
77521
|
super(e, t, i, r, l), this.focusTrait = s, this.selectionTrait = o, this.anchorTrait = a;
|
|
77518
77522
|
}
|
|
@@ -77601,7 +77605,7 @@ class Kpe {
|
|
|
77601
77605
|
});
|
|
77602
77606
|
}, this.disposables);
|
|
77603
77607
|
f(() => null, null, this.disposables);
|
|
77604
|
-
const g = this.disposables.add(new ge()), p = this.disposables.add(new
|
|
77608
|
+
const g = this.disposables.add(new ge()), p = this.disposables.add(new sc(0));
|
|
77605
77609
|
if (this.disposables.add(Ye.any(f, this.focus.onDidChange, this.selection.onDidChange)(() => {
|
|
77606
77610
|
p.trigger(() => {
|
|
77607
77611
|
const m = /* @__PURE__ */ new Set();
|
|
@@ -78997,7 +79001,7 @@ function YT(n, e) {
|
|
|
78997
79001
|
return r.mightProducePrintableCharacter(a);
|
|
78998
79002
|
} }, smoothScrolling: !!i.getValue(uu), mouseWheelScrollSensitivity: i.getValue(Dd), fastScrollSensitivity: i.getValue(Ld), multipleSelectionController: (t = e.multipleSelectionController) !== null && t !== void 0 ? t : s.add(new RGe(i)), keyboardNavigationEventFilter: BGe(r), scrollByPage: !!i.getValue(cu) }), s];
|
|
78999
79003
|
}
|
|
79000
|
-
let WF = class extends
|
|
79004
|
+
let WF = class extends gc {
|
|
79001
79005
|
constructor(e, t, i, r, s, o, a, l, c) {
|
|
79002
79006
|
const u = typeof s.horizontalScrolling < "u" ? s.horizontalScrolling : !!l.getValue(pl), [d, h] = c.invokeFunction(YT, s);
|
|
79003
79007
|
super(e, t, i, r, Object.assign(Object.assign({ keyboardSupport: !1 }, d), { horizontalScrolling: u })), this.disposables.add(h), this.contextKeyService = UT(o, this), this.disposables.add(GT(this.contextKeyService, this)), this.listSupportsMultiSelect = VT.bindTo(this.contextKeyService), this.listSupportsMultiSelect.set(s.multipleSelectionSupport !== !1), HT.bindTo(this.contextKeyService).set(!!s.selectionNavigation), this.listHasSelectionOrFocus = kU.bindTo(this.contextKeyService), this.listDoubleSelection = OU.bindTo(this.contextKeyService), this.listMultiSelection = PU.bindTo(this.contextKeyService), this.horizontalScrolling = s.horizontalScrolling, this._useAltAsMultipleSelectionModifier = xd(l), this.disposables.add(this.contextKeyService), this.disposables.add(a.register(this)), this.updateStyles(s.overrideStyles), this.disposables.add(this.onDidChangeSelection(() => {
|
|
@@ -79572,10 +79576,10 @@ var pS;
|
|
|
79572
79576
|
(function(n) {
|
|
79573
79577
|
n[n.Blur = 1] = "Blur", n[n.Gesture = 2] = "Gesture", n[n.Other = 3] = "Other";
|
|
79574
79578
|
})(pS || (pS = {}));
|
|
79575
|
-
var
|
|
79579
|
+
var Nc;
|
|
79576
79580
|
(function(n) {
|
|
79577
79581
|
n[n.NONE = 0] = "NONE", n[n.FIRST = 1] = "FIRST", n[n.SECOND = 2] = "SECOND", n[n.LAST = 3] = "LAST";
|
|
79578
|
-
})(
|
|
79582
|
+
})(Nc || (Nc = {}));
|
|
79579
79583
|
const bu = Gt("quickInputService");
|
|
79580
79584
|
var HGe = globalThis && globalThis.__decorate || function(n, e, t, i) {
|
|
79581
79585
|
var r = arguments.length, s = r < 3 ? e : i === null ? i = Object.getOwnPropertyDescriptor(e, t) : i, o;
|
|
@@ -79617,7 +79621,7 @@ let UF = class extends ye {
|
|
|
79617
79621
|
typeof f == "string" && (e = f);
|
|
79618
79622
|
}
|
|
79619
79623
|
const c = new Te(), u = c.add(this.quickInputService.createQuickPick());
|
|
79620
|
-
u.value = e, this.adjustValueSelection(u, o, i), u.placeholder = o?.placeholder, u.quickNavigate = i?.quickNavigateConfiguration, u.hideInput = !!u.quickNavigate && !a, (typeof i?.itemActivation == "number" || i?.quickNavigateConfiguration) && (u.itemActivation = (r = i?.itemActivation) !== null && r !== void 0 ? r :
|
|
79624
|
+
u.value = e, this.adjustValueSelection(u, o, i), u.placeholder = o?.placeholder, u.quickNavigate = i?.quickNavigateConfiguration, u.hideInput = !!u.quickNavigate && !a, (typeof i?.itemActivation == "number" || i?.quickNavigateConfiguration) && (u.itemActivation = (r = i?.itemActivation) !== null && r !== void 0 ? r : Nc.SECOND), u.contextKey = o?.contextKey, u.filterValue = (f) => f.substring(o ? o.prefix.length : 0);
|
|
79621
79625
|
let d;
|
|
79622
79626
|
t && (d = new sT(), c.add(Ye.once(u.onWillAccept)((f) => {
|
|
79623
79627
|
f.veto(), u.hide();
|
|
@@ -80218,7 +80222,7 @@ var dme = globalThis && globalThis.__decorate || function(n, e, t, i) {
|
|
|
80218
80222
|
c((i = i.apply(n, e || [])).next());
|
|
80219
80223
|
});
|
|
80220
80224
|
};
|
|
80221
|
-
const
|
|
80225
|
+
const Ic = Pe;
|
|
80222
80226
|
class rYe {
|
|
80223
80227
|
constructor(e, t, i, r, s, o, a) {
|
|
80224
80228
|
var l, c, u;
|
|
@@ -80296,19 +80300,19 @@ class VI {
|
|
|
80296
80300
|
}
|
|
80297
80301
|
renderTemplate(e) {
|
|
80298
80302
|
const t = /* @__PURE__ */ Object.create(null);
|
|
80299
|
-
t.toDisposeElement = [], t.toDisposeTemplate = [], t.entry = Ee(e,
|
|
80300
|
-
const i = Ee(t.entry,
|
|
80303
|
+
t.toDisposeElement = [], t.toDisposeTemplate = [], t.entry = Ee(e, Ic(".quick-input-list-entry"));
|
|
80304
|
+
const i = Ee(t.entry, Ic("label.quick-input-list-label"));
|
|
80301
80305
|
t.toDisposeTemplate.push(sr(i, Ge.CLICK, (c) => {
|
|
80302
80306
|
t.checkbox.offsetParent || c.preventDefault();
|
|
80303
|
-
})), t.checkbox = Ee(i,
|
|
80307
|
+
})), t.checkbox = Ee(i, Ic("input.quick-input-list-checkbox")), t.checkbox.type = "checkbox", t.toDisposeTemplate.push(sr(t.checkbox, Ge.CHANGE, (c) => {
|
|
80304
80308
|
t.element.checked = t.checkbox.checked;
|
|
80305
80309
|
}));
|
|
80306
|
-
const r = Ee(i,
|
|
80307
|
-
t.label = new eN(s, { supportHighlights: !0, supportDescriptionHighlights: !0, supportIcons: !0 }), t.toDisposeTemplate.push(t.label), t.icon = tfe(t.label.element,
|
|
80308
|
-
const a = Ee(s,
|
|
80310
|
+
const r = Ee(i, Ic(".quick-input-list-rows")), s = Ee(r, Ic(".quick-input-list-row")), o = Ee(r, Ic(".quick-input-list-row"));
|
|
80311
|
+
t.label = new eN(s, { supportHighlights: !0, supportDescriptionHighlights: !0, supportIcons: !0 }), t.toDisposeTemplate.push(t.label), t.icon = tfe(t.label.element, Ic(".quick-input-list-icon"));
|
|
80312
|
+
const a = Ee(s, Ic(".quick-input-list-entry-keybinding"));
|
|
80309
80313
|
t.keybinding = new WI(a, Aa);
|
|
80310
|
-
const l = Ee(o,
|
|
80311
|
-
return t.detail = new eN(l, { supportHighlights: !0, supportIcons: !0 }), t.toDisposeTemplate.push(t.detail), t.separator = Ee(t.entry,
|
|
80314
|
+
const l = Ee(o, Ic(".quick-input-list-label-meta"));
|
|
80315
|
+
return t.detail = new eN(l, { supportHighlights: !0, supportIcons: !0 }), t.toDisposeTemplate.push(t.detail), t.separator = Ee(t.entry, Ic(".quick-input-list-separator")), t.actionBar = new Il(t.entry), t.actionBar.domNode.classList.add("quick-input-list-entry-action-bar"), t.toDisposeTemplate.push(t.actionBar), t;
|
|
80312
80316
|
}
|
|
80313
80317
|
renderElement(e, t, i) {
|
|
80314
80318
|
var r, s, o, a;
|
|
@@ -80375,7 +80379,7 @@ var Br;
|
|
|
80375
80379
|
})(Br || (Br = {}));
|
|
80376
80380
|
class VU {
|
|
80377
80381
|
constructor(e, t, i, r) {
|
|
80378
|
-
this.parent = e, this.options = i, this.inputElements = [], this.elements = [], this.elementsToIndexes = /* @__PURE__ */ new Map(), this.matchOnDescription = !1, this.matchOnDetail = !1, this.matchOnLabel = !0, this.matchOnLabelMode = "fuzzy", this.sortByLabel = !0, this._onChangedAllVisibleChecked = new ge(), this.onChangedAllVisibleChecked = this._onChangedAllVisibleChecked.event, this._onChangedCheckedCount = new ge(), this.onChangedCheckedCount = this._onChangedCheckedCount.event, this._onChangedVisibleCount = new ge(), this.onChangedVisibleCount = this._onChangedVisibleCount.event, this._onChangedCheckedElements = new ge(), this.onChangedCheckedElements = this._onChangedCheckedElements.event, this._onButtonTriggered = new ge(), this.onButtonTriggered = this._onButtonTriggered.event, this._onSeparatorButtonTriggered = new ge(), this.onSeparatorButtonTriggered = this._onSeparatorButtonTriggered.event, this._onKeyDown = new ge(), this.onKeyDown = this._onKeyDown.event, this._onLeave = new ge(), this.onLeave = this._onLeave.event, this._listElementChecked = new ge(), this._fireCheckedEvents = !0, this.elementDisposables = [], this.disposables = [], this.id = t, this.container = Ee(this.parent,
|
|
80382
|
+
this.parent = e, this.options = i, this.inputElements = [], this.elements = [], this.elementsToIndexes = /* @__PURE__ */ new Map(), this.matchOnDescription = !1, this.matchOnDetail = !1, this.matchOnLabel = !0, this.matchOnLabelMode = "fuzzy", this.sortByLabel = !0, this._onChangedAllVisibleChecked = new ge(), this.onChangedAllVisibleChecked = this._onChangedAllVisibleChecked.event, this._onChangedCheckedCount = new ge(), this.onChangedCheckedCount = this._onChangedCheckedCount.event, this._onChangedVisibleCount = new ge(), this.onChangedVisibleCount = this._onChangedVisibleCount.event, this._onChangedCheckedElements = new ge(), this.onChangedCheckedElements = this._onChangedCheckedElements.event, this._onButtonTriggered = new ge(), this.onButtonTriggered = this._onButtonTriggered.event, this._onSeparatorButtonTriggered = new ge(), this.onSeparatorButtonTriggered = this._onSeparatorButtonTriggered.event, this._onKeyDown = new ge(), this.onKeyDown = this._onKeyDown.event, this._onLeave = new ge(), this.onLeave = this._onLeave.event, this._listElementChecked = new ge(), this._fireCheckedEvents = !0, this.elementDisposables = [], this.disposables = [], this.id = t, this.container = Ee(this.parent, Ic(".quick-input-list"));
|
|
80379
80383
|
const s = new sYe(), o = new lYe();
|
|
80380
80384
|
if (this.list = i.createList("QuickInput", this.container, s, [new VI(r)], {
|
|
80381
80385
|
identityProvider: {
|
|
@@ -80868,7 +80872,7 @@ class HI extends ye {
|
|
|
80868
80872
|
const i = this.getTitle();
|
|
80869
80873
|
i && this.ui.title.textContent !== i ? this.ui.title.textContent = i : !i && this.ui.title.innerHTML !== " " && (this.ui.title.innerText = " ");
|
|
80870
80874
|
const r = this.getDescription();
|
|
80871
|
-
if (this.ui.description1.textContent !== r && (this.ui.description1.textContent = r), this.ui.description2.textContent !== r && (this.ui.description2.textContent = r), this._widgetUpdated && (this._widgetUpdated = !1, this._widget ? os(this.ui.widget, this._widget) : os(this.ui.widget)), this.busy && !this.busyDelay && (this.busyDelay = new
|
|
80875
|
+
if (this.ui.description1.textContent !== r && (this.ui.description1.textContent = r), this.ui.description2.textContent !== r && (this.ui.description2.textContent = r), this._widgetUpdated && (this._widgetUpdated = !1, this._widget ? os(this.ui.widget, this._widget) : os(this.ui.widget)), this.busy && !this.busyDelay && (this.busyDelay = new uc(), this.busyDelay.setIfNotSet(() => {
|
|
80872
80876
|
this.visible && this.ui.progressBar.infinite();
|
|
80873
80877
|
}, 800)), !this.busy && this.busyDelay && (this.ui.progressBar.stop(), this.busyDelay.cancel(), this.busyDelay = void 0), this.buttonsUpdated) {
|
|
80874
80878
|
this.buttonsUpdated = !1, this.ui.leftActionBar.clear();
|
|
@@ -80924,7 +80928,7 @@ class HI extends ye {
|
|
|
80924
80928
|
HI.noPromptMessage = C("inputModeEntry", "Press 'Enter' to confirm your input or 'Escape' to cancel");
|
|
80925
80929
|
class mS extends HI {
|
|
80926
80930
|
constructor() {
|
|
80927
|
-
super(...arguments), this._value = "", this.onDidChangeValueEmitter = this._register(new ge()), this.onWillAcceptEmitter = this._register(new ge()), this.onDidAcceptEmitter = this._register(new ge()), this.onDidCustomEmitter = this._register(new ge()), this._items = [], this.itemsUpdated = !1, this._canSelectMany = !1, this._canAcceptInBackground = !1, this._matchOnDescription = !1, this._matchOnDetail = !1, this._matchOnLabel = !0, this._matchOnLabelMode = "fuzzy", this._sortByLabel = !0, this._autoFocusOnList = !0, this._keepScrollPosition = !1, this._itemActivation =
|
|
80931
|
+
super(...arguments), this._value = "", this.onDidChangeValueEmitter = this._register(new ge()), this.onWillAcceptEmitter = this._register(new ge()), this.onDidAcceptEmitter = this._register(new ge()), this.onDidCustomEmitter = this._register(new ge()), this._items = [], this.itemsUpdated = !1, this._canSelectMany = !1, this._canAcceptInBackground = !1, this._matchOnDescription = !1, this._matchOnDetail = !1, this._matchOnLabel = !0, this._matchOnLabelMode = "fuzzy", this._sortByLabel = !0, this._autoFocusOnList = !0, this._keepScrollPosition = !1, this._itemActivation = Nc.FIRST, this._activeItems = [], this.activeItemsUpdated = !1, this.activeItemsToConfirm = [], this.onDidChangeActiveEmitter = this._register(new ge()), this._selectedItems = [], this.selectedItemsUpdated = !1, this.selectedItemsToConfirm = [], this.onDidChangeSelectionEmitter = this._register(new ge()), this.onDidTriggerItemButtonEmitter = this._register(new ge()), this.onDidTriggerSeparatorButtonEmitter = this._register(new ge()), this.valueSelectionUpdated = !0, this._ok = "default", this._customButton = !1, this.filterValue = (e) => e, this.onDidChangeValue = this.onDidChangeValueEmitter.event, this.onWillAccept = this.onWillAcceptEmitter.event, this.onDidAccept = this.onDidAcceptEmitter.event, this.onDidChangeActive = this.onDidChangeActiveEmitter.event, this.onDidChangeSelection = this.onDidChangeSelectionEmitter.event, this.onDidTriggerItemButton = this.onDidTriggerItemButtonEmitter.event, this.onDidTriggerSeparatorButton = this.onDidTriggerSeparatorButtonEmitter.event;
|
|
80928
80932
|
}
|
|
80929
80933
|
get quickNavigate() {
|
|
80930
80934
|
return this._quickNavigate;
|
|
@@ -81166,14 +81170,14 @@ class mS extends HI {
|
|
|
81166
81170
|
let r = this.ariaLabel;
|
|
81167
81171
|
if (!r && i.inputBox && (r = this.placeholder || mS.DEFAULT_ARIA_LABEL, this.title && (r += ` - ${this.title}`)), this.ui.list.ariaLabel !== r && (this.ui.list.ariaLabel = r ?? null), this.ui.list.matchOnDescription = this.matchOnDescription, this.ui.list.matchOnDetail = this.matchOnDetail, this.ui.list.matchOnLabel = this.matchOnLabel, this.ui.list.matchOnLabelMode = this.matchOnLabelMode, this.ui.list.sortByLabel = this.sortByLabel, this.itemsUpdated)
|
|
81168
81172
|
switch (this.itemsUpdated = !1, this.ui.list.setElements(this.items), this.ui.list.filter(this.filterValue(this.ui.inputBox.value)), this.ui.checkAll.checked = this.ui.list.getAllVisibleChecked(), this.ui.visibleCount.setCount(this.ui.list.getVisibleCount()), this.ui.count.setCount(this.ui.list.getCheckedCount()), this._itemActivation) {
|
|
81169
|
-
case
|
|
81170
|
-
this._itemActivation =
|
|
81173
|
+
case Nc.NONE:
|
|
81174
|
+
this._itemActivation = Nc.FIRST;
|
|
81171
81175
|
break;
|
|
81172
|
-
case
|
|
81173
|
-
this.ui.list.focus(Br.Second), this._itemActivation =
|
|
81176
|
+
case Nc.SECOND:
|
|
81177
|
+
this.ui.list.focus(Br.Second), this._itemActivation = Nc.FIRST;
|
|
81174
81178
|
break;
|
|
81175
|
-
case
|
|
81176
|
-
this.ui.list.focus(Br.Last), this._itemActivation =
|
|
81179
|
+
case Nc.LAST:
|
|
81180
|
+
this.ui.list.focus(Br.Last), this._itemActivation = Nc.FIRST;
|
|
81177
81181
|
break;
|
|
81178
81182
|
default:
|
|
81179
81183
|
this.trySelectFirst();
|
|
@@ -82421,7 +82425,7 @@ ${this._themeCSS}`, this._globalStyleElement = null, this._styleElements = [], t
|
|
|
82421
82425
|
_onOSSchemeChanged() {
|
|
82422
82426
|
if (this._autoDetectHighContrast) {
|
|
82423
82427
|
const e = window.matchMedia("(forced-colors: active)").matches;
|
|
82424
|
-
if (e !==
|
|
82428
|
+
if (e !== eu(this._theme.type)) {
|
|
82425
82429
|
let t;
|
|
82426
82430
|
m1(this._theme.type) ? t = e ? xm : zb : t = e ? Am : _h, this._updateActualTheme(this._knownThemes.get(t));
|
|
82427
82431
|
}
|
|
@@ -82548,7 +82552,7 @@ let eB = class {
|
|
|
82548
82552
|
};
|
|
82549
82553
|
eB = ZT([
|
|
82550
82554
|
e0(0, Hn),
|
|
82551
|
-
e0(1,
|
|
82555
|
+
e0(1, pc)
|
|
82552
82556
|
], eB);
|
|
82553
82557
|
let tN = Tv = class {
|
|
82554
82558
|
constructor(e) {
|
|
@@ -82623,7 +82627,7 @@ let tN = Tv = class {
|
|
|
82623
82627
|
};
|
|
82624
82628
|
tN._key = "menu.hiddenCommands";
|
|
82625
82629
|
tN = Tv = ZT([
|
|
82626
|
-
e0(0,
|
|
82630
|
+
e0(0, pc)
|
|
82627
82631
|
], tN);
|
|
82628
82632
|
let tB = Nf = class {
|
|
82629
82633
|
constructor(e, t, i, r, s) {
|
|
@@ -82667,7 +82671,7 @@ let tB = Nf = class {
|
|
|
82667
82671
|
l && this._hiddenStates.setDefaultState(this._id, a.command.id, !!a.isHiddenByDefault);
|
|
82668
82672
|
const c = EYe(this._id, l ? a.command : a, this._hiddenStates);
|
|
82669
82673
|
if (l)
|
|
82670
|
-
o.push(new
|
|
82674
|
+
o.push(new nc(a.command, a.alt, e, c, this._contextKeyService, this._commandService));
|
|
82671
82675
|
else {
|
|
82672
82676
|
const u = new Nf(a.submenu, this._hiddenStates, this._collectContextKeysForSubmenus, this._commandService, this._contextKeyService).createActionGroups(e), d = Hr.join(...u.map((h) => h[1]));
|
|
82673
82677
|
d.length > 0 && o.push(new Nw(a, c, d));
|
|
@@ -83286,7 +83290,7 @@ class iN {
|
|
|
83286
83290
|
return e instanceof Ou ? (i = Do.traceCreation(this._enableTracing, e.ctor), r = this._createInstance(e.ctor, e.staticArguments.concat(t), i)) : (i = Do.traceCreation(this._enableTracing, e), r = this._createInstance(e, t, i)), i.stop(), r;
|
|
83287
83291
|
}
|
|
83288
83292
|
_createInstance(e, t = [], i) {
|
|
83289
|
-
const r =
|
|
83293
|
+
const r = Uc.getServiceDependencies(e).sort((a, l) => a.index - l.index), s = [];
|
|
83290
83294
|
for (const a of r) {
|
|
83291
83295
|
const l = this._getOrCreateServiceInstance(a.id, i);
|
|
83292
83296
|
l || this._throwIfStrict(`[createInstance] ${e.name} depends on UNKNOWN service ${a.id}.`, !1), s.push(l);
|
|
@@ -83335,7 +83339,7 @@ class iN {
|
|
|
83335
83339
|
const l = a.pop();
|
|
83336
83340
|
if (s.lookupOrInsertNode(l), o++ > 1e3)
|
|
83337
83341
|
throw new VJ(s);
|
|
83338
|
-
for (const c of
|
|
83342
|
+
for (const c of Uc.getServiceDependencies(l.desc.ctor)) {
|
|
83339
83343
|
const u = this._getServiceInstanceOrDescriptor(c.id);
|
|
83340
83344
|
if (u || this._throwIfStrict(`[createInstance] ${e} depends on ${c.id} which is NOT registered.`, !0), (r = this._globalGraph) === null || r === void 0 || r.insertEdge(String(l.id), String(c.id)), u instanceof Ou) {
|
|
83341
83345
|
const d = { id: c.id, desc: u, _trace: l._trace.branch(c.id, !0) };
|
|
@@ -84437,13 +84441,13 @@ oi(
|
|
|
84437
84441
|
/* InstantiationType.Eager */
|
|
84438
84442
|
);
|
|
84439
84443
|
oi(
|
|
84440
|
-
|
|
84444
|
+
pc,
|
|
84441
84445
|
pUe,
|
|
84442
84446
|
0
|
|
84443
84447
|
/* InstantiationType.Eager */
|
|
84444
84448
|
);
|
|
84445
84449
|
oi(
|
|
84446
|
-
|
|
84450
|
+
mc,
|
|
84447
84451
|
wj,
|
|
84448
84452
|
0
|
|
84449
84453
|
/* InstantiationType.Eager */
|
|
@@ -84515,7 +84519,7 @@ oi(
|
|
|
84515
84519
|
/* InstantiationType.Eager */
|
|
84516
84520
|
);
|
|
84517
84521
|
oi(
|
|
84518
|
-
|
|
84522
|
+
fc,
|
|
84519
84523
|
dB,
|
|
84520
84524
|
0
|
|
84521
84525
|
/* InstantiationType.Eager */
|
|
@@ -86428,7 +86432,7 @@ let cN = zp = class {
|
|
|
86428
86432
|
};
|
|
86429
86433
|
cN.diffCache = /* @__PURE__ */ new Map();
|
|
86430
86434
|
cN = zp = HQe([
|
|
86431
|
-
i$(1,
|
|
86435
|
+
i$(1, mc),
|
|
86432
86436
|
i$(2, Ya)
|
|
86433
86437
|
], cN);
|
|
86434
86438
|
var GQe = globalThis && globalThis.__decorate || function(n, e, t, i) {
|
|
@@ -87167,7 +87171,7 @@ let yB = class extends ye {
|
|
|
87167
87171
|
};
|
|
87168
87172
|
yB = eqe([
|
|
87169
87173
|
o$(5, cf),
|
|
87170
|
-
o$(6,
|
|
87174
|
+
o$(6, fc)
|
|
87171
87175
|
], yB);
|
|
87172
87176
|
function a$(n, e, t, i, r, s) {
|
|
87173
87177
|
const o = new Qh(l$(n, i)), a = new Qh(l$(e, r)), l = n.getOption(
|
|
@@ -87263,8 +87267,8 @@ var tqe = globalThis && globalThis.__decorate || function(n, e, t, i) {
|
|
|
87263
87267
|
return function(t, i) {
|
|
87264
87268
|
e(t, i, n);
|
|
87265
87269
|
};
|
|
87266
|
-
},
|
|
87267
|
-
let Wh =
|
|
87270
|
+
}, Lc;
|
|
87271
|
+
let Wh = Lc = class extends ye {
|
|
87268
87272
|
constructor(e, t, i, r, s, o, a, l) {
|
|
87269
87273
|
super(), this._editors = e, this._rootElement = t, this._diffModel = i, this._rootWidth = r, this._rootHeight = s, this._modifiedEditorLayoutInfo = o, this._options = a, this._themeService = l;
|
|
87270
87274
|
const c = rs(this._themeService.onDidColorThemeChange, () => this._themeService.getColorTheme()), u = ii((f) => {
|
|
@@ -87277,7 +87281,7 @@ let Wh = Dc = class extends ye {
|
|
|
87277
87281
|
const p = Ii(document.createElement("div"));
|
|
87278
87282
|
p.setClassName("diffViewport"), p.setPosition("absolute");
|
|
87279
87283
|
const m = Jr("div.diffOverview", {
|
|
87280
|
-
style: { position: "absolute", top: "0px", width:
|
|
87284
|
+
style: { position: "absolute", top: "0px", width: Lc.ENTIRE_DIFF_OVERVIEW_WIDTH + "px" }
|
|
87281
87285
|
}).root;
|
|
87282
87286
|
g.add(IL(m, p.domNode)), g.add(sr(m, Ge.POINTER_DOWN, (v) => {
|
|
87283
87287
|
this._editors.modified.delegateVerticalScrollbarPointerDown(v);
|
|
@@ -87306,17 +87310,17 @@ let Wh = Dc = class extends ye {
|
|
|
87306
87310
|
})), _.add(Vi((E) => {
|
|
87307
87311
|
const N = this._rootHeight.read(E), A = this._rootWidth.read(E), M = this._modifiedEditorLayoutInfo.read(E);
|
|
87308
87312
|
if (M) {
|
|
87309
|
-
const O =
|
|
87313
|
+
const O = Lc.ENTIRE_DIFF_OVERVIEW_WIDTH - 2 * Lc.ONE_OVERVIEW_WIDTH;
|
|
87310
87314
|
y.setLayout({
|
|
87311
87315
|
top: 0,
|
|
87312
87316
|
height: N,
|
|
87313
|
-
right: O +
|
|
87314
|
-
width:
|
|
87317
|
+
right: O + Lc.ONE_OVERVIEW_WIDTH,
|
|
87318
|
+
width: Lc.ONE_OVERVIEW_WIDTH
|
|
87315
87319
|
}), S.setLayout({
|
|
87316
87320
|
top: 0,
|
|
87317
87321
|
height: N,
|
|
87318
87322
|
right: 0,
|
|
87319
|
-
width:
|
|
87323
|
+
width: Lc.ONE_OVERVIEW_WIDTH
|
|
87320
87324
|
});
|
|
87321
87325
|
const k = d.read(E), U = h.read(E), B = this._editors.modified.getOption(
|
|
87322
87326
|
102
|
|
@@ -87325,15 +87329,15 @@ let Wh = Dc = class extends ye {
|
|
|
87325
87329
|
p.setTop(j.getSliderPosition()), p.setHeight(j.getSliderSize());
|
|
87326
87330
|
} else
|
|
87327
87331
|
p.setTop(0), p.setHeight(0);
|
|
87328
|
-
m.style.height = N + "px", m.style.left = A -
|
|
87332
|
+
m.style.height = N + "px", m.style.left = A - Lc.ENTIRE_DIFF_OVERVIEW_WIDTH + "px", p.setWidth(Lc.ENTIRE_DIFF_OVERVIEW_WIDTH);
|
|
87329
87333
|
}));
|
|
87330
87334
|
}));
|
|
87331
87335
|
}));
|
|
87332
87336
|
}
|
|
87333
87337
|
};
|
|
87334
87338
|
Wh.ONE_OVERVIEW_WIDTH = 15;
|
|
87335
|
-
Wh.ENTIRE_DIFF_OVERVIEW_WIDTH =
|
|
87336
|
-
Wh =
|
|
87339
|
+
Wh.ENTIRE_DIFF_OVERVIEW_WIDTH = Lc.ONE_OVERVIEW_WIDTH * 2;
|
|
87340
|
+
Wh = Lc = tqe([
|
|
87337
87341
|
iqe(7, kr)
|
|
87338
87342
|
], Wh);
|
|
87339
87343
|
te("diffEditor.move.border", { dark: "#8b8b8b9c", light: "#8b8b8b9c", hcDark: "#8b8b8b9c", hcLight: "#8b8b8b9c" }, C("diffEditor.move.border", "The border color for text that got moved in the diff editor."));
|
|
@@ -88060,7 +88064,7 @@ IB = $U([
|
|
|
88060
88064
|
ln(5, qa),
|
|
88061
88065
|
ln(6, lr),
|
|
88062
88066
|
ln(7, ti),
|
|
88063
|
-
ln(8,
|
|
88067
|
+
ln(8, fc),
|
|
88064
88068
|
ln(9, cp),
|
|
88065
88069
|
ln(10, cf),
|
|
88066
88070
|
ln(11, UI)
|
|
@@ -89161,7 +89165,7 @@ function Qme(n, e, t, i, r, s) {
|
|
|
89161
89165
|
function jKe(n, e, t, i, r) {
|
|
89162
89166
|
var s, o;
|
|
89163
89167
|
return hu(this, void 0, void 0, function* () {
|
|
89164
|
-
const a = n.get(
|
|
89168
|
+
const a = n.get(mc), l = n.get(Qa);
|
|
89165
89169
|
let c, u;
|
|
89166
89170
|
Ad(t) ? (c = t.getModel(), u = new Vg(t, 5, void 0, r)) : (c = t, u = new iG(t, r));
|
|
89167
89171
|
const d = [];
|
|
@@ -89247,7 +89251,7 @@ function FKe(n, e, t, i, r) {
|
|
|
89247
89251
|
}
|
|
89248
89252
|
function BKe(n, e, t, i, r) {
|
|
89249
89253
|
return hu(this, void 0, void 0, function* () {
|
|
89250
|
-
const s = n.get(
|
|
89254
|
+
const s = n.get(mc);
|
|
89251
89255
|
let o, a;
|
|
89252
89256
|
Ad(t) ? (o = t.getModel(), a = new Vg(t, 5, void 0, r)) : (o = t, a = new iG(t, r));
|
|
89253
89257
|
let l;
|
|
@@ -89315,7 +89319,7 @@ si.registerCommand("_executeFormatRangeProvider", function(n, ...e) {
|
|
|
89315
89319
|
return hu(this, void 0, void 0, function* () {
|
|
89316
89320
|
const [t, i, r] = e;
|
|
89317
89321
|
Oi(pt.isUri(t)), Oi(F.isIRange(i));
|
|
89318
|
-
const s = n.get(Fo), o = n.get(
|
|
89322
|
+
const s = n.get(Fo), o = n.get(mc), a = n.get(tt), l = yield s.createModelReference(t);
|
|
89319
89323
|
try {
|
|
89320
89324
|
return zKe(o, a, l.object.textEditorModel, F.lift(i), r, Wt.None);
|
|
89321
89325
|
} finally {
|
|
@@ -89327,7 +89331,7 @@ si.registerCommand("_executeFormatDocumentProvider", function(n, ...e) {
|
|
|
89327
89331
|
return hu(this, void 0, void 0, function* () {
|
|
89328
89332
|
const [t, i] = e;
|
|
89329
89333
|
Oi(pt.isUri(t));
|
|
89330
|
-
const r = n.get(Fo), s = n.get(
|
|
89334
|
+
const r = n.get(Fo), s = n.get(mc), o = n.get(tt), a = yield r.createModelReference(t);
|
|
89331
89335
|
try {
|
|
89332
89336
|
return WKe(s, o, a.object.textEditorModel, i, Wt.None);
|
|
89333
89337
|
} finally {
|
|
@@ -89339,7 +89343,7 @@ si.registerCommand("_executeFormatOnTypeProvider", function(n, ...e) {
|
|
|
89339
89343
|
return hu(this, void 0, void 0, function* () {
|
|
89340
89344
|
const [t, i, r, s] = e;
|
|
89341
89345
|
Oi(pt.isUri(t)), Oi(me.isIPosition(i)), Oi(typeof r == "string");
|
|
89342
|
-
const o = n.get(Fo), a = n.get(
|
|
89346
|
+
const o = n.get(Fo), a = n.get(mc), l = n.get(tt), c = yield o.createModelReference(t);
|
|
89343
89347
|
try {
|
|
89344
89348
|
return qme(a, l, c.object.textEditorModel, me.lift(i), r, s, Wt.None);
|
|
89345
89349
|
} finally {
|
|
@@ -90743,37 +90747,37 @@ ht({
|
|
|
90743
90747
|
id: "freemarker2",
|
|
90744
90748
|
extensions: [".ftl", ".ftlh", ".ftlx"],
|
|
90745
90749
|
aliases: ["FreeMarker2", "Apache FreeMarker2"],
|
|
90746
|
-
loader: () => import("./freemarker2-
|
|
90750
|
+
loader: () => import("./freemarker2-d87adc4c.js").then((n) => n.TagAutoInterpolationDollar)
|
|
90747
90751
|
});
|
|
90748
90752
|
ht({
|
|
90749
90753
|
id: "freemarker2.tag-angle.interpolation-dollar",
|
|
90750
90754
|
aliases: ["FreeMarker2 (Angle/Dollar)", "Apache FreeMarker2 (Angle/Dollar)"],
|
|
90751
|
-
loader: () => import("./freemarker2-
|
|
90755
|
+
loader: () => import("./freemarker2-d87adc4c.js").then((n) => n.TagAngleInterpolationDollar)
|
|
90752
90756
|
});
|
|
90753
90757
|
ht({
|
|
90754
90758
|
id: "freemarker2.tag-bracket.interpolation-dollar",
|
|
90755
90759
|
aliases: ["FreeMarker2 (Bracket/Dollar)", "Apache FreeMarker2 (Bracket/Dollar)"],
|
|
90756
|
-
loader: () => import("./freemarker2-
|
|
90760
|
+
loader: () => import("./freemarker2-d87adc4c.js").then((n) => n.TagBracketInterpolationDollar)
|
|
90757
90761
|
});
|
|
90758
90762
|
ht({
|
|
90759
90763
|
id: "freemarker2.tag-angle.interpolation-bracket",
|
|
90760
90764
|
aliases: ["FreeMarker2 (Angle/Bracket)", "Apache FreeMarker2 (Angle/Bracket)"],
|
|
90761
|
-
loader: () => import("./freemarker2-
|
|
90765
|
+
loader: () => import("./freemarker2-d87adc4c.js").then((n) => n.TagAngleInterpolationBracket)
|
|
90762
90766
|
});
|
|
90763
90767
|
ht({
|
|
90764
90768
|
id: "freemarker2.tag-bracket.interpolation-bracket",
|
|
90765
90769
|
aliases: ["FreeMarker2 (Bracket/Bracket)", "Apache FreeMarker2 (Bracket/Bracket)"],
|
|
90766
|
-
loader: () => import("./freemarker2-
|
|
90770
|
+
loader: () => import("./freemarker2-d87adc4c.js").then((n) => n.TagBracketInterpolationBracket)
|
|
90767
90771
|
});
|
|
90768
90772
|
ht({
|
|
90769
90773
|
id: "freemarker2.tag-auto.interpolation-dollar",
|
|
90770
90774
|
aliases: ["FreeMarker2 (Auto/Dollar)", "Apache FreeMarker2 (Auto/Dollar)"],
|
|
90771
|
-
loader: () => import("./freemarker2-
|
|
90775
|
+
loader: () => import("./freemarker2-d87adc4c.js").then((n) => n.TagAutoInterpolationDollar)
|
|
90772
90776
|
});
|
|
90773
90777
|
ht({
|
|
90774
90778
|
id: "freemarker2.tag-auto.interpolation-bracket",
|
|
90775
90779
|
aliases: ["FreeMarker2 (Auto/Bracket)", "Apache FreeMarker2 (Auto/Bracket)"],
|
|
90776
|
-
loader: () => import("./freemarker2-
|
|
90780
|
+
loader: () => import("./freemarker2-d87adc4c.js").then((n) => n.TagAutoInterpolationBracket)
|
|
90777
90781
|
});
|
|
90778
90782
|
/*!-----------------------------------------------------------------------------
|
|
90779
90783
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90811,7 +90815,7 @@ ht({
|
|
|
90811
90815
|
extensions: [".handlebars", ".hbs"],
|
|
90812
90816
|
aliases: ["Handlebars", "handlebars", "hbs"],
|
|
90813
90817
|
mimetypes: ["text/x-handlebars-template"],
|
|
90814
|
-
loader: () => import("./handlebars-
|
|
90818
|
+
loader: () => import("./handlebars-2d235a2d.js")
|
|
90815
90819
|
});
|
|
90816
90820
|
/*!-----------------------------------------------------------------------------
|
|
90817
90821
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90836,7 +90840,7 @@ ht({
|
|
|
90836
90840
|
extensions: [".html", ".htm", ".shtml", ".xhtml", ".mdoc", ".jsp", ".asp", ".aspx", ".jshtm"],
|
|
90837
90841
|
aliases: ["HTML", "htm", "html", "xhtml"],
|
|
90838
90842
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
90839
|
-
loader: () => import("./html-
|
|
90843
|
+
loader: () => import("./html-d2746dea.js")
|
|
90840
90844
|
});
|
|
90841
90845
|
/*!-----------------------------------------------------------------------------
|
|
90842
90846
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90877,7 +90881,7 @@ ht({
|
|
|
90877
90881
|
filenames: ["jakefile"],
|
|
90878
90882
|
aliases: ["JavaScript", "javascript", "js"],
|
|
90879
90883
|
mimetypes: ["text/javascript"],
|
|
90880
|
-
loader: () => import("./javascript-
|
|
90884
|
+
loader: () => import("./javascript-c09ad77c.js")
|
|
90881
90885
|
});
|
|
90882
90886
|
/*!-----------------------------------------------------------------------------
|
|
90883
90887
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90952,7 +90956,7 @@ ht({
|
|
|
90952
90956
|
extensions: [".liquid", ".html.liquid"],
|
|
90953
90957
|
aliases: ["Liquid", "liquid"],
|
|
90954
90958
|
mimetypes: ["application/liquid"],
|
|
90955
|
-
loader: () => import("./liquid-
|
|
90959
|
+
loader: () => import("./liquid-6eaf726c.js")
|
|
90956
90960
|
});
|
|
90957
90961
|
/*!-----------------------------------------------------------------------------
|
|
90958
90962
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90988,7 +90992,7 @@ ht({
|
|
|
90988
90992
|
id: "mdx",
|
|
90989
90993
|
extensions: [".mdx"],
|
|
90990
90994
|
aliases: ["MDX", "mdx"],
|
|
90991
|
-
loader: () => import("./mdx-
|
|
90995
|
+
loader: () => import("./mdx-4fb20b5f.js")
|
|
90992
90996
|
});
|
|
90993
90997
|
/*!-----------------------------------------------------------------------------
|
|
90994
90998
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -91183,7 +91187,7 @@ ht({
|
|
|
91183
91187
|
extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
|
|
91184
91188
|
aliases: ["Python", "py"],
|
|
91185
91189
|
firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
|
|
91186
|
-
loader: () => import("./python-
|
|
91190
|
+
loader: () => import("./python-e2ac7988.js")
|
|
91187
91191
|
});
|
|
91188
91192
|
/*!-----------------------------------------------------------------------------
|
|
91189
91193
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -91220,7 +91224,7 @@ ht({
|
|
|
91220
91224
|
extensions: [".cshtml"],
|
|
91221
91225
|
aliases: ["Razor", "razor"],
|
|
91222
91226
|
mimetypes: ["text/x-cshtml"],
|
|
91223
|
-
loader: () => import("./razor-
|
|
91227
|
+
loader: () => import("./razor-f0e5d3d7.js")
|
|
91224
91228
|
});
|
|
91225
91229
|
/*!-----------------------------------------------------------------------------
|
|
91226
91230
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -91472,7 +91476,7 @@ ht({
|
|
|
91472
91476
|
extensions: [".ts", ".tsx", ".cts", ".mts"],
|
|
91473
91477
|
aliases: ["TypeScript", "ts", "typescript"],
|
|
91474
91478
|
mimetypes: ["text/typescript"],
|
|
91475
|
-
loader: () => import("./typescript-
|
|
91479
|
+
loader: () => import("./typescript-a3c0580d.js")
|
|
91476
91480
|
});
|
|
91477
91481
|
/*!-----------------------------------------------------------------------------
|
|
91478
91482
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -91528,7 +91532,7 @@ ht({
|
|
|
91528
91532
|
firstLine: "(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",
|
|
91529
91533
|
aliases: ["XML", "xml"],
|
|
91530
91534
|
mimetypes: ["text/xml", "application/xml", "application/xaml+xml", "application/xml-dtd"],
|
|
91531
|
-
loader: () => import("./xml-
|
|
91535
|
+
loader: () => import("./xml-2d55b860.js")
|
|
91532
91536
|
});
|
|
91533
91537
|
/*!-----------------------------------------------------------------------------
|
|
91534
91538
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -91541,7 +91545,7 @@ ht({
|
|
|
91541
91545
|
extensions: [".yaml", ".yml"],
|
|
91542
91546
|
aliases: ["YAML", "yaml", "YML", "yml"],
|
|
91543
91547
|
mimetypes: ["application/x-yaml", "text/x-yaml"],
|
|
91544
|
-
loader: () => import("./yaml-
|
|
91548
|
+
loader: () => import("./yaml-54941288.js")
|
|
91545
91549
|
});
|
|
91546
91550
|
/*!-----------------------------------------------------------------------------
|
|
91547
91551
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -91636,7 +91640,7 @@ var lG = class {
|
|
|
91636
91640
|
}, i0e = new lG("css", cG, uG), n0e = new lG("scss", cG, uG), r0e = new lG("less", cG, uG);
|
|
91637
91641
|
m_.languages.css = { cssDefaults: i0e, lessDefaults: r0e, scssDefaults: n0e };
|
|
91638
91642
|
function dG() {
|
|
91639
|
-
return import("./cssMode-
|
|
91643
|
+
return import("./cssMode-8162d28c.js");
|
|
91640
91644
|
}
|
|
91641
91645
|
m_.languages.onLanguage("less", () => {
|
|
91642
91646
|
dG().then((n) => n.setupMode(r0e));
|
|
@@ -91731,7 +91735,7 @@ n2.languages.html = {
|
|
|
91731
91735
|
registerHTMLLanguageService: o2
|
|
91732
91736
|
};
|
|
91733
91737
|
function sXe() {
|
|
91734
|
-
return import("./htmlMode-
|
|
91738
|
+
return import("./htmlMode-c889c03d.js");
|
|
91735
91739
|
}
|
|
91736
91740
|
function o2(n, e = r2, t = s2(n)) {
|
|
91737
91741
|
const i = new eXe(n, e, t);
|
|
@@ -91808,7 +91812,7 @@ var dXe = class {
|
|
|
91808
91812
|
}, l0e = new dXe("json", hXe, fXe);
|
|
91809
91813
|
YI.languages.json = { jsonDefaults: l0e };
|
|
91810
91814
|
function gXe() {
|
|
91811
|
-
return import("./jsonMode-
|
|
91815
|
+
return import("./jsonMode-c091867f.js");
|
|
91812
91816
|
}
|
|
91813
91817
|
YI.languages.register({
|
|
91814
91818
|
id: "json",
|
|
@@ -91971,7 +91975,7 @@ E1.languages.typescript = {
|
|
|
91971
91975
|
getJavaScriptWorker: SXe
|
|
91972
91976
|
};
|
|
91973
91977
|
function a2() {
|
|
91974
|
-
return import("./tsMode-
|
|
91978
|
+
return import("./tsMode-16192a46.js");
|
|
91975
91979
|
}
|
|
91976
91980
|
E1.languages.onLanguage("typescript", () => a2().then((n) => n.setupTypeScript(m0e)));
|
|
91977
91981
|
E1.languages.onLanguage("javascript", () => a2().then((n) => n.setupJavaScript(v0e)));
|
|
@@ -92778,7 +92782,7 @@ var GXe = globalThis && globalThis.__awaiter || function(n, e, t, i) {
|
|
|
92778
92782
|
c((i = i.apply(n, e || [])).next());
|
|
92779
92783
|
});
|
|
92780
92784
|
};
|
|
92781
|
-
const n0 = "9_cutcopypaste", YXe =
|
|
92785
|
+
const n0 = "9_cutcopypaste", YXe = Zc || document.queryCommandSupported("cut"), w0e = Zc || document.queryCommandSupported("copy"), QXe = typeof navigator.clipboard > "u" || bl ? document.queryCommandSupported("paste") : !0;
|
|
92782
92786
|
function hG(n) {
|
|
92783
92787
|
return n.register(), n;
|
|
92784
92788
|
}
|
|
@@ -92788,7 +92792,7 @@ const qXe = YXe ? hG(new a_({
|
|
|
92788
92792
|
kbOpts: (
|
|
92789
92793
|
// Do not bind cut keybindings in the browser,
|
|
92790
92794
|
// since browsers do that for us and it avoids security prompts
|
|
92791
|
-
|
|
92795
|
+
Zc ? {
|
|
92792
92796
|
primary: 2102,
|
|
92793
92797
|
win: { primary: 2102, secondary: [
|
|
92794
92798
|
1044
|
|
@@ -92827,7 +92831,7 @@ const qXe = YXe ? hG(new a_({
|
|
|
92827
92831
|
kbOpts: (
|
|
92828
92832
|
// Do not bind copy keybindings in the browser,
|
|
92829
92833
|
// since browsers do that for us and it avoids security prompts
|
|
92830
|
-
|
|
92834
|
+
Zc ? {
|
|
92831
92835
|
primary: 2081,
|
|
92832
92836
|
win: { primary: 2081, secondary: [
|
|
92833
92837
|
2067
|
|
@@ -92870,7 +92874,7 @@ const LO = QXe ? hG(new a_({
|
|
|
92870
92874
|
kbOpts: (
|
|
92871
92875
|
// Do not bind paste keybindings in the browser,
|
|
92872
92876
|
// since browsers do that for us and it avoids security prompts
|
|
92873
|
-
|
|
92877
|
+
Zc ? {
|
|
92874
92878
|
primary: 2100,
|
|
92875
92879
|
win: { primary: 2100, secondary: [
|
|
92876
92880
|
1043
|
|
@@ -93994,7 +93998,7 @@ let OB = class extends ye {
|
|
|
93994
93998
|
getHeight: (l) => l.kind === "header" ? this._headerLineHeight : this._actionLineHeight,
|
|
93995
93999
|
getTemplateId: (l) => l.kind
|
|
93996
94000
|
};
|
|
93997
|
-
this._list = this._register(new
|
|
94001
|
+
this._list = this._register(new gc(e, this.domNode, a, [
|
|
93998
94002
|
new kB(t, this._keybindingService),
|
|
93999
94003
|
new vJe()
|
|
94000
94004
|
], {
|
|
@@ -94339,7 +94343,7 @@ var yJe = globalThis && globalThis.__awaiter || function(n, e, t, i) {
|
|
|
94339
94343
|
const R0e = new qe("supportedCodeAction", "");
|
|
94340
94344
|
class wJe extends ye {
|
|
94341
94345
|
constructor(e, t, i, r = 250) {
|
|
94342
|
-
super(), this._editor = e, this._markerService = t, this._signalChange = i, this._delay = r, this._autoTriggerTimer = this._register(new
|
|
94346
|
+
super(), this._editor = e, this._markerService = t, this._signalChange = i, this._delay = r, this._autoTriggerTimer = this._register(new uc()), this._register(this._markerService.onMarkerChanged((s) => this._onMarkerChanges(s))), this._register(this._editor.onDidChangeCursorPosition(() => this._tryAutoTrigger()));
|
|
94343
94347
|
}
|
|
94344
94348
|
trigger(e) {
|
|
94345
94349
|
const t = this._getRangeOfSelectionUnlessWhitespaceEnclosed(e);
|
|
@@ -94714,12 +94718,12 @@ Hg = oA = IJe([
|
|
|
94714
94718
|
Gd(8, B0),
|
|
94715
94719
|
Gd(9, _t)
|
|
94716
94720
|
], Hg);
|
|
94717
|
-
|
|
94721
|
+
hc((n, e) => {
|
|
94718
94722
|
((r, s) => {
|
|
94719
94723
|
s && e.addRule(`.monaco-editor ${r} { background-color: ${s}; }`);
|
|
94720
94724
|
})(".quickfix-edit-highlight", n.getColor(td));
|
|
94721
94725
|
const i = n.getColor(Xf);
|
|
94722
|
-
i && e.addRule(`.monaco-editor .quickfix-edit-highlight { border: 1px ${
|
|
94726
|
+
i && e.addRule(`.monaco-editor .quickfix-edit-highlight { border: 1px ${eu(n.type) ? "dotted" : "solid"} ${i}; box-sizing: border-box; }`);
|
|
94723
94727
|
});
|
|
94724
94728
|
function KI(n) {
|
|
94725
94729
|
return Me.regex(R0e.keys()[0], new RegExp("(\\s|^)" + Fa(n.value) + "\\b"));
|
|
@@ -95134,7 +95138,7 @@ let RB = class {
|
|
|
95134
95138
|
}
|
|
95135
95139
|
};
|
|
95136
95140
|
RB = kJe([
|
|
95137
|
-
OJe(0,
|
|
95141
|
+
OJe(0, pc)
|
|
95138
95142
|
], RB);
|
|
95139
95143
|
oi(
|
|
95140
95144
|
B0e,
|
|
@@ -95864,7 +95868,7 @@ let Ug = FB = class extends ye {
|
|
|
95864
95868
|
return;
|
|
95865
95869
|
const e = this._editor.getModel();
|
|
95866
95870
|
!e || !this._languageFeaturesService.colorProvider.has(e) || (this._localToDispose.add(this._editor.onDidChangeModelContent(() => {
|
|
95867
|
-
this._timeoutTimer || (this._timeoutTimer = new
|
|
95871
|
+
this._timeoutTimer || (this._timeoutTimer = new uc(), this._timeoutTimer.cancelAndSet(() => {
|
|
95868
95872
|
this._timeoutTimer = null, this.beginCompute();
|
|
95869
95873
|
}, this._debounceInformation.get(e)));
|
|
95870
95874
|
})), this.beginCompute());
|
|
@@ -96184,7 +96188,7 @@ class XJe extends ye {
|
|
|
96184
96188
|
return this._button;
|
|
96185
96189
|
}
|
|
96186
96190
|
}
|
|
96187
|
-
class JJe extends
|
|
96191
|
+
class JJe extends dc {
|
|
96188
96192
|
constructor(e, t, i, r, s = !1) {
|
|
96189
96193
|
super(), this.model = t, this.pixelRatio = i, this._register(xw.onDidChange(() => this.layout()));
|
|
96190
96194
|
const o = La(".colorpicker-widget");
|
|
@@ -97127,7 +97131,7 @@ class m$e {
|
|
|
97127
97131
|
this.label.set(`${Sl(e.uri)}:${e.range.startLineNumber + 1}:${e.range.startColumn + 1}`);
|
|
97128
97132
|
else {
|
|
97129
97133
|
const { value: s, highlight: o } = r;
|
|
97130
|
-
t && !
|
|
97134
|
+
t && !tu.isDefault(t) ? (this.label.element.classList.toggle("referenceMatch", !1), this.label.set(s, jI(t))) : (this.label.element.classList.toggle("referenceMatch", !0), this.label.set(s, [o]));
|
|
97131
97135
|
}
|
|
97132
97136
|
}
|
|
97133
97137
|
}
|
|
@@ -97626,7 +97630,7 @@ Qg = lA = y$e([
|
|
|
97626
97630
|
gv(3, wi),
|
|
97627
97631
|
gv(4, lr),
|
|
97628
97632
|
gv(5, _t),
|
|
97629
|
-
gv(6,
|
|
97633
|
+
gv(6, pc),
|
|
97630
97634
|
gv(7, ti)
|
|
97631
97635
|
], Qg);
|
|
97632
97636
|
function V0(n, e) {
|
|
@@ -99876,7 +99880,7 @@ var z$e = globalThis && globalThis.__decorate || function(n, e, t, i) {
|
|
|
99876
99880
|
};
|
|
99877
99881
|
};
|
|
99878
99882
|
const q$ = Pe;
|
|
99879
|
-
class
|
|
99883
|
+
class Wc {
|
|
99880
99884
|
constructor(e, t, i, r, s) {
|
|
99881
99885
|
this.owner = e, this.range = t, this.contents = i, this.isBeforeContent = r, this.ordinal = s;
|
|
99882
99886
|
}
|
|
@@ -99889,7 +99893,7 @@ let yN = class {
|
|
|
99889
99893
|
this._editor = e, this._languageService = t, this._openerService = i, this._configurationService = r, this._languageFeaturesService = s, this.hoverOrdinal = 3;
|
|
99890
99894
|
}
|
|
99891
99895
|
createLoadingMessage(e) {
|
|
99892
|
-
return new
|
|
99896
|
+
return new Wc(this, e.range, [new Cs().appendText(C("modesContentHover.loading", "Loading..."))], !1, 2e3);
|
|
99893
99897
|
}
|
|
99894
99898
|
computeSync(e, t) {
|
|
99895
99899
|
if (!this._editor.hasModel() || e.type !== 1)
|
|
@@ -99903,9 +99907,9 @@ let yN = class {
|
|
|
99903
99907
|
overrideIdentifier: c
|
|
99904
99908
|
});
|
|
99905
99909
|
let h = !1;
|
|
99906
|
-
u >= 0 && l > u && e.range.startColumn >= u && (h = !0, o.push(new
|
|
99910
|
+
u >= 0 && l > u && e.range.startColumn >= u && (h = !0, o.push(new Wc(this, e.range, [{
|
|
99907
99911
|
value: C("stopped rendering", "Rendering paused for long line for performance reasons. This can be configured via `editor.stopRenderingLineAfter`.")
|
|
99908
|
-
}], !1, a++))), !h && typeof d == "number" && l >= d && o.push(new
|
|
99912
|
+
}], !1, a++))), !h && typeof d == "number" && l >= d && o.push(new Wc(this, e.range, [{
|
|
99909
99913
|
value: C("too many characters", "Tokenization is skipped for long lines for performance reasons. This can be configured via `editor.maxTokenizationLineLength`.")
|
|
99910
99914
|
}], !1, a++));
|
|
99911
99915
|
let f = !1;
|
|
@@ -99915,7 +99919,7 @@ let yN = class {
|
|
|
99915
99919
|
continue;
|
|
99916
99920
|
g.options.beforeContentClassName && (f = !0);
|
|
99917
99921
|
const _ = new F(e.range.startLineNumber, p, e.range.startLineNumber, m);
|
|
99918
|
-
o.push(new
|
|
99922
|
+
o.push(new Wc(this, _, BV(v), f, a++));
|
|
99919
99923
|
}
|
|
99920
99924
|
return o;
|
|
99921
99925
|
}
|
|
@@ -99928,7 +99932,7 @@ let yN = class {
|
|
|
99928
99932
|
const s = new me(e.range.startLineNumber, e.range.startColumn);
|
|
99929
99933
|
return IG(this._languageFeaturesService.hoverProvider, r, s, i).filter((o) => !D1(o.hover.contents)).map((o) => {
|
|
99930
99934
|
const a = o.hover.range ? F.lift(o.hover.range) : e.range;
|
|
99931
|
-
return new
|
|
99935
|
+
return new Wc(this, a, o.hover.contents, !1, o.ordinal);
|
|
99932
99936
|
});
|
|
99933
99937
|
}
|
|
99934
99938
|
renderHoverParts(e, t) {
|
|
@@ -100815,7 +100819,7 @@ let ez = class extends eet {
|
|
|
100815
100819
|
if (((r = this._options) === null || r === void 0 ? void 0 : r.hiddenItemStrategy) !== -1)
|
|
100816
100820
|
for (let f = 0; f < a.length; f++) {
|
|
100817
100821
|
const g = a[f];
|
|
100818
|
-
!(g instanceof
|
|
100822
|
+
!(g instanceof nc) && !(g instanceof Nw) || g.hideActions && (c.push(g.hideActions.toggle), g.hideActions.toggle.checked && u++, g.hideActions.isHidden && (h = !0, a[f] = void 0, ((s = this._options) === null || s === void 0 ? void 0 : s.hiddenItemStrategy) !== 0 && (d[f] = g)));
|
|
100819
100823
|
}
|
|
100820
100824
|
if (((o = this._options) === null || o === void 0 ? void 0 : o.overflowBehavior) !== void 0) {
|
|
100821
100825
|
const f = EUe(new Set(this._options.overflowBehavior.exempted), zt.map(a, (m) => m?.id)), g = this._options.overflowBehavior.maxItems - f.size;
|
|
@@ -100848,7 +100852,7 @@ let ez = class extends eet {
|
|
|
100848
100852
|
}
|
|
100849
100853
|
}
|
|
100850
100854
|
let I;
|
|
100851
|
-
if (!S && (y instanceof
|
|
100855
|
+
if (!S && (y instanceof nc || y instanceof Nw)) {
|
|
100852
100856
|
if (!y.hideActions)
|
|
100853
100857
|
return;
|
|
100854
100858
|
I = y.hideActions.hide;
|
|
@@ -100880,7 +100884,7 @@ let ez = class extends eet {
|
|
|
100880
100884
|
ez = tet([
|
|
100881
100885
|
bC(2, kd),
|
|
100882
100886
|
bC(3, yt),
|
|
100883
|
-
bC(4,
|
|
100887
|
+
bC(4, fc),
|
|
100884
100888
|
bC(5, Fi),
|
|
100885
100889
|
bC(6, Ya)
|
|
100886
100890
|
], ez);
|
|
@@ -100892,7 +100896,7 @@ var DG = globalThis && globalThis.__decorate || function(n, e, t, i) {
|
|
|
100892
100896
|
for (var a = n.length - 1; a >= 0; a--)
|
|
100893
100897
|
(o = n[a]) && (s = (r < 3 ? o(s) : r > 3 ? o(e, t, s) : o(e, t)) || s);
|
|
100894
100898
|
return r > 3 && s && Object.defineProperty(e, t, s), s;
|
|
100895
|
-
},
|
|
100899
|
+
}, Vc = globalThis && globalThis.__param || function(n, e) {
|
|
100896
100900
|
return function(t, i) {
|
|
100897
100901
|
e(t, i, n);
|
|
100898
100902
|
};
|
|
@@ -100926,7 +100930,7 @@ let tz = class extends ye {
|
|
|
100926
100930
|
}
|
|
100927
100931
|
};
|
|
100928
100932
|
tz = DG([
|
|
100929
|
-
|
|
100933
|
+
Vc(2, _t)
|
|
100930
100934
|
], tz);
|
|
100931
100935
|
const iet = Jn("inline-suggestion-hints-next", We.chevronRight, C("parameterHintsNextIcon", "Icon for show next parameter hint.")), net = Jn("inline-suggestion-hints-previous", We.chevronLeft, C("parameterHintsPreviousIcon", "Icon for show previous parameter hint."));
|
|
100932
100936
|
let Kg = hA = class extends ye {
|
|
@@ -100949,7 +100953,7 @@ let Kg = hA = class extends ye {
|
|
|
100949
100953
|
menuOptions: { renderShortTitle: !0 },
|
|
100950
100954
|
toolbarOptions: { primaryGroup: (h) => h.startsWith("primary") },
|
|
100951
100955
|
actionViewItemProvider: (h, f) => {
|
|
100952
|
-
if (h instanceof
|
|
100956
|
+
if (h instanceof nc)
|
|
100953
100957
|
return l.createInstance(set, h, void 0);
|
|
100954
100958
|
if (h === this.availableSuggestionCountAction) {
|
|
100955
100959
|
const g = new ret(void 0, h, { label: !0, icon: !1 });
|
|
@@ -100983,7 +100987,7 @@ let Kg = hA = class extends ye {
|
|
|
100983
100987
|
}));
|
|
100984
100988
|
for (const [p, m] of this.inlineCompletionsActionsMenus.getActions())
|
|
100985
100989
|
for (const v of m)
|
|
100986
|
-
v instanceof
|
|
100990
|
+
v instanceof nc && g.push(v);
|
|
100987
100991
|
g.length > 0 && g.unshift(new Hr()), this.toolBar.setAdditionalSecondaryActions(g);
|
|
100988
100992
|
}));
|
|
100989
100993
|
}
|
|
@@ -101008,11 +101012,11 @@ let Kg = hA = class extends ye {
|
|
|
101008
101012
|
Kg._dropDownVisible = !1;
|
|
101009
101013
|
Kg.id = 0;
|
|
101010
101014
|
Kg = hA = DG([
|
|
101011
|
-
|
|
101012
|
-
|
|
101013
|
-
|
|
101014
|
-
|
|
101015
|
-
|
|
101015
|
+
Vc(6, Hn),
|
|
101016
|
+
Vc(7, _t),
|
|
101017
|
+
Vc(8, Fi),
|
|
101018
|
+
Vc(9, yt),
|
|
101019
|
+
Vc(10, kd)
|
|
101016
101020
|
], Kg);
|
|
101017
101021
|
class ret extends L1 {
|
|
101018
101022
|
constructor() {
|
|
@@ -101052,11 +101056,11 @@ let set = class extends Xm {
|
|
|
101052
101056
|
}
|
|
101053
101057
|
};
|
|
101054
101058
|
iz = DG([
|
|
101055
|
-
|
|
101056
|
-
|
|
101057
|
-
|
|
101058
|
-
|
|
101059
|
-
|
|
101059
|
+
Vc(3, kd),
|
|
101060
|
+
Vc(4, yt),
|
|
101061
|
+
Vc(5, fc),
|
|
101062
|
+
Vc(6, Fi),
|
|
101063
|
+
Vc(7, Ya)
|
|
101060
101064
|
], iz);
|
|
101061
101065
|
var oet = globalThis && globalThis.__decorate || function(n, e, t, i) {
|
|
101062
101066
|
var r = arguments.length, s = r < 3 ? e : i === null ? i = Object.getOwnPropertyDescriptor(e, t) : i, o;
|
|
@@ -101551,7 +101555,7 @@ je(vet);
|
|
|
101551
101555
|
je(bet);
|
|
101552
101556
|
H0.register(yN);
|
|
101553
101557
|
H0.register($B);
|
|
101554
|
-
|
|
101558
|
+
hc((n, e) => {
|
|
101555
101559
|
const t = n.getColor(a7e);
|
|
101556
101560
|
t && (e.addRule(`.monaco-editor .monaco-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid ${t.transparent(0.5)}; }`), e.addRule(`.monaco-editor .monaco-hover hr { border-top: 1px solid ${t.transparent(0.5)}; }`), e.addRule(`.monaco-editor .monaco-hover hr { border-bottom: 0px solid ${t.transparent(0.5)}; }`));
|
|
101557
101561
|
});
|
|
@@ -101595,7 +101599,7 @@ var yve = globalThis && globalThis.__decorate || function(n, e, t, i) {
|
|
|
101595
101599
|
for (var a = n.length - 1; a >= 0; a--)
|
|
101596
101600
|
(o = n[a]) && (s = (r < 3 ? o(s) : r > 3 ? o(e, t, s) : o(e, t)) || s);
|
|
101597
101601
|
return r > 3 && s && Object.defineProperty(e, t, s), s;
|
|
101598
|
-
},
|
|
101602
|
+
}, Rc = globalThis && globalThis.__param || function(n, e) {
|
|
101599
101603
|
return function(t, i) {
|
|
101600
101604
|
e(t, i, n);
|
|
101601
101605
|
};
|
|
@@ -101648,12 +101652,12 @@ let Zg = sz = class extends ye {
|
|
|
101648
101652
|
};
|
|
101649
101653
|
Zg.ID = "editor.contrib.standaloneColorPickerController";
|
|
101650
101654
|
Zg = sz = yve([
|
|
101651
|
-
|
|
101652
|
-
|
|
101653
|
-
|
|
101654
|
-
|
|
101655
|
-
|
|
101656
|
-
|
|
101655
|
+
Rc(1, yt),
|
|
101656
|
+
Rc(2, vn),
|
|
101657
|
+
Rc(3, Fi),
|
|
101658
|
+
Rc(4, _t),
|
|
101659
|
+
Rc(5, tt),
|
|
101660
|
+
Rc(6, Hi)
|
|
101657
101661
|
], Zg);
|
|
101658
101662
|
fi(
|
|
101659
101663
|
Zg.ID,
|
|
@@ -101771,11 +101775,11 @@ let SN = oz = class extends ye {
|
|
|
101771
101775
|
};
|
|
101772
101776
|
SN.ID = "editor.contrib.standaloneColorPickerWidget";
|
|
101773
101777
|
SN = oz = yve([
|
|
101774
|
-
|
|
101775
|
-
|
|
101776
|
-
|
|
101777
|
-
|
|
101778
|
-
|
|
101778
|
+
Rc(3, _t),
|
|
101779
|
+
Rc(4, vn),
|
|
101780
|
+
Rc(5, Fi),
|
|
101781
|
+
Rc(6, tt),
|
|
101782
|
+
Rc(7, Hi)
|
|
101779
101783
|
], SN);
|
|
101780
101784
|
class Cet {
|
|
101781
101785
|
// The color picker result consists of: an array of color results and a boolean indicating if the color was found in the editor
|
|
@@ -102420,7 +102424,7 @@ let R1 = az = class {
|
|
|
102420
102424
|
};
|
|
102421
102425
|
R1.ID = "editor.contrib.contextmenu";
|
|
102422
102426
|
R1 = az = Met([
|
|
102423
|
-
Dp(1,
|
|
102427
|
+
Dp(1, fc),
|
|
102424
102428
|
Dp(2, of),
|
|
102425
102429
|
Dp(3, yt),
|
|
102426
102430
|
Dp(4, Fi),
|
|
@@ -103197,7 +103201,7 @@ let LN = lz = class extends ye {
|
|
|
103197
103201
|
};
|
|
103198
103202
|
LN.baseId = "editor.widget.postEditWidget";
|
|
103199
103203
|
LN = lz = Mve([
|
|
103200
|
-
Uy(7,
|
|
103204
|
+
Uy(7, fc),
|
|
103201
103205
|
Uy(8, yt),
|
|
103202
103206
|
Uy(9, Fi)
|
|
103203
103207
|
], LN);
|
|
@@ -104410,7 +104414,7 @@ const I2 = new qe("findInputFocussed", !1), EG = new qe("replaceInputFocussed",
|
|
|
104410
104414
|
}, og = 19999, Jet = 240;
|
|
104411
104415
|
class Gy {
|
|
104412
104416
|
constructor(e, t) {
|
|
104413
|
-
this._toDispose = new Te(), this._editor = e, this._state = t, this._isDisposed = !1, this._startSearchingTimer = new
|
|
104417
|
+
this._toDispose = new Te(), this._editor = e, this._state = t, this._isDisposed = !1, this._startSearchingTimer = new uc(), this._decorations = new Ys(e), this._toDispose.add(this._decorations), this._updateDecorationsScheduler = new Pi(() => this.research(!1), 100), this._toDispose.add(this._updateDecorationsScheduler), this._toDispose.add(this._editor.onDidChangeCursorPosition((i) => {
|
|
104414
104418
|
(i.reason === 3 || i.reason === 5 || i.reason === 6) && this._decorations.setStartPosition(this._editor.getPosition());
|
|
104415
104419
|
})), this._ignoreModelContentChanged = !1, this._toDispose.add(this._editor.onDidChangeModelContent((i) => {
|
|
104416
104420
|
this._ignoreModelContentChanged || (i.isFlush && this._decorations.reset(), this._decorations.setStartPosition(this._editor.getPosition()), this._updateDecorationsScheduler.schedule());
|
|
@@ -104643,7 +104647,7 @@ class Gy {
|
|
|
104643
104647
|
}
|
|
104644
104648
|
}
|
|
104645
104649
|
}
|
|
104646
|
-
class D2 extends
|
|
104650
|
+
class D2 extends dc {
|
|
104647
104651
|
constructor(e, t, i) {
|
|
104648
104652
|
super(), this._hideSoon = this._register(new Pi(() => this._hide(), 2e3)), this._isVisible = !1, this._editor = e, this._state = t, this._keybindingService = i, this._domNode = document.createElement("div"), this._domNode.className = "findOptionsWidget", this._domNode.style.display = "none", this._domNode.style.top = "10px", this._domNode.style.zIndex = "12", this._domNode.setAttribute("role", "presentation"), this._domNode.setAttribute("aria-hidden", "true");
|
|
104649
104653
|
const r = {
|
|
@@ -104838,7 +104842,7 @@ class itt extends p_ {
|
|
|
104838
104842
|
});
|
|
104839
104843
|
}
|
|
104840
104844
|
}
|
|
104841
|
-
class ntt extends
|
|
104845
|
+
class ntt extends dc {
|
|
104842
104846
|
constructor(e, t, i, r) {
|
|
104843
104847
|
super(), this._showOptionButtons = i, this.fixFocusOnOptionClickEnabled = !0, this.cachedOptionsWidth = 0, this._onDidOptionChange = this._register(new ge()), this.onDidOptionChange = this._onDidOptionChange.event, this._onKeyDown = this._register(new ge()), this.onKeyDown = this._onKeyDown.event, this._onMouseDown = this._register(new ge()), this._onInput = this._register(new ge()), this._onKeyUp = this._register(new ge()), this._onPreserveCaseKeyDown = this._register(new ge()), this.onPreserveCaseKeyDown = this._onPreserveCaseKeyDown.event, this.contextViewProvider = t, this.placeholder = r.placeholder || "", this.validation = r.validation, this.label = r.label || ett;
|
|
104844
104848
|
const s = r.appendPreserveCaseLabel || "", o = r.history || [], a = !!r.flexibleHeight, l = !!r.flexibleWidth, c = r.flexibleMaxHeight;
|
|
@@ -105059,13 +105063,13 @@ function mee(n, e, t) {
|
|
|
105059
105063
|
return;
|
|
105060
105064
|
}
|
|
105061
105065
|
}
|
|
105062
|
-
class L2 extends
|
|
105066
|
+
class L2 extends dc {
|
|
105063
105067
|
constructor(e, t, i, r, s, o, a, l, c) {
|
|
105064
105068
|
super(), this._cachedHeight = null, this._revealTimeouts = [], this._codeEditor = e, this._controller = t, this._state = i, this._contextViewProvider = r, this._keybindingService = s, this._contextKeyService = o, this._storageService = l, this._notificationService = c, this._ctrlEnterReplaceAllWarningPrompted = !!l.getBoolean(
|
|
105065
105069
|
fee,
|
|
105066
105070
|
0
|
|
105067
105071
|
/* StorageScope.PROFILE */
|
|
105068
|
-
), this._isVisible = !1, this._isReplaceVisible = !1, this._ignoreChangeEvent = !1, this._updateHistoryDelayer = new
|
|
105072
|
+
), this._isVisible = !1, this._isReplaceVisible = !1, this._ignoreChangeEvent = !1, this._updateHistoryDelayer = new sc(500), this._register(Ct(() => this._updateHistoryDelayer.cancel())), this._register(this._state.onFindReplaceStateChange((u) => this._onStateChanged(u))), this._buildDomNode(), this._updateButtons(), this._tryUpdateWidgetWidth(), this._findInput.inputBox.layout(), this._register(this._codeEditor.onDidChangeConfiguration((u) => {
|
|
105069
105073
|
if (u.hasChanged(
|
|
105070
105074
|
90
|
|
105071
105075
|
/* EditorOption.readOnly */
|
|
@@ -105399,7 +105403,7 @@ class L2 extends uc {
|
|
|
105399
105403
|
e.preventDefault();
|
|
105400
105404
|
return;
|
|
105401
105405
|
} else {
|
|
105402
|
-
Ls &&
|
|
105406
|
+
Ls && Zc && !this._ctrlEnterReplaceAllWarningPrompted && (this._notificationService.info(C("ctrlEnter.keybindingChanged", "Ctrl+Enter now inserts line break instead of replacing all. You can modify the keybinding for editor.action.replaceAll to override this behavior.")), this._ctrlEnterReplaceAllWarningPrompted = !0, this._storageService.store(
|
|
105403
105407
|
fee,
|
|
105404
105408
|
!0,
|
|
105405
105409
|
0,
|
|
@@ -105624,7 +105628,7 @@ class L2 extends uc {
|
|
|
105624
105628
|
}
|
|
105625
105629
|
}
|
|
105626
105630
|
L2.ID = "editor.contrib.findWidget";
|
|
105627
|
-
class bv extends
|
|
105631
|
+
class bv extends dc {
|
|
105628
105632
|
constructor(e) {
|
|
105629
105633
|
super(), this._opts = e;
|
|
105630
105634
|
let t = "button";
|
|
@@ -105661,7 +105665,7 @@ class bv extends uc {
|
|
|
105661
105665
|
this._domNode.setAttribute("aria-expanded", String(!!e)), e ? (this._domNode.classList.remove(...ft.asClassNameArray(uee)), this._domNode.classList.add(...ft.asClassNameArray(dee))) : (this._domNode.classList.remove(...ft.asClassNameArray(dee)), this._domNode.classList.add(...ft.asClassNameArray(uee)));
|
|
105662
105666
|
}
|
|
105663
105667
|
}
|
|
105664
|
-
|
|
105668
|
+
hc((n, e) => {
|
|
105665
105669
|
const t = (p, m) => {
|
|
105666
105670
|
m && e.addRule(`.monaco-editor ${p} { background-color: ${m}; }`);
|
|
105667
105671
|
};
|
|
@@ -105673,11 +105677,11 @@ dc((n, e) => {
|
|
|
105673
105677
|
const s = n.getColor(xH);
|
|
105674
105678
|
s && e.addRule(`.monaco-editor .find-widget { border-left: 1px solid ${s}; border-right: 1px solid ${s}; border-bottom: 1px solid ${s}; }`);
|
|
105675
105679
|
const o = n.getColor(Xf);
|
|
105676
|
-
o && e.addRule(`.monaco-editor .findMatch { border: 1px ${
|
|
105680
|
+
o && e.addRule(`.monaco-editor .findMatch { border: 1px ${eu(n.type) ? "dotted" : "solid"} ${o}; box-sizing: border-box; }`);
|
|
105677
105681
|
const a = n.getColor(s7e);
|
|
105678
105682
|
a && e.addRule(`.monaco-editor .currentFindMatch { border: 2px solid ${a}; padding: 1px; box-sizing: border-box; }`);
|
|
105679
105683
|
const l = n.getColor(o7e);
|
|
105680
|
-
l && e.addRule(`.monaco-editor .findScope { border: 1px ${
|
|
105684
|
+
l && e.addRule(`.monaco-editor .findScope { border: 1px ${eu(n.type) ? "dashed" : "solid"} ${l}; }`);
|
|
105681
105685
|
const c = n.getColor(ei);
|
|
105682
105686
|
c && e.addRule(`.monaco-editor .find-widget { border: 1px solid ${c}; }`);
|
|
105683
105687
|
const u = n.getColor($u);
|
|
@@ -105709,7 +105713,7 @@ var Gve = globalThis && globalThis.__decorate || function(n, e, t, i) {
|
|
|
105709
105713
|
for (var a = n.length - 1; a >= 0; a--)
|
|
105710
105714
|
(o = n[a]) && (s = (r < 3 ? o(s) : r > 3 ? o(e, t, s) : o(e, t)) || s);
|
|
105711
105715
|
return r > 3 && s && Object.defineProperty(e, t, s), s;
|
|
105712
|
-
},
|
|
105716
|
+
}, Ec = globalThis && globalThis.__param || function(n, e) {
|
|
105713
105717
|
return function(t, i) {
|
|
105714
105718
|
e(t, i, n);
|
|
105715
105719
|
};
|
|
@@ -105763,7 +105767,7 @@ let po = pz = class extends ye {
|
|
|
105763
105767
|
return e.getContribution(pz.ID);
|
|
105764
105768
|
}
|
|
105765
105769
|
constructor(e, t, i, r, s) {
|
|
105766
|
-
super(), this._editor = e, this._findWidgetVisible = uf.bindTo(t), this._contextKeyService = t, this._storageService = i, this._clipboardService = r, this._notificationService = s, this._updateHistoryDelayer = new
|
|
105770
|
+
super(), this._editor = e, this._findWidgetVisible = uf.bindTo(t), this._contextKeyService = t, this._storageService = i, this._clipboardService = r, this._notificationService = s, this._updateHistoryDelayer = new sc(500), this._state = this._register(new $et()), this.loadQueryState(), this._register(this._state.onFindReplaceStateChange((o) => this._onStateChanged(o))), this._model = null, this._register(this._editor.onDidChangeModel(() => {
|
|
105767
105771
|
const o = this._editor.getModel() && this._state.isRevealed;
|
|
105768
105772
|
this.disposeModel(), this._state.change({
|
|
105769
105773
|
searchScope: null,
|
|
@@ -105931,10 +105935,10 @@ let po = pz = class extends ye {
|
|
|
105931
105935
|
};
|
|
105932
105936
|
po.ID = "editor.contrib.findController";
|
|
105933
105937
|
po = pz = Gve([
|
|
105934
|
-
|
|
105935
|
-
|
|
105936
|
-
|
|
105937
|
-
|
|
105938
|
+
Ec(1, yt),
|
|
105939
|
+
Ec(2, pc),
|
|
105940
|
+
Ec(3, cf),
|
|
105941
|
+
Ec(4, lr)
|
|
105938
105942
|
], po);
|
|
105939
105943
|
let vz = class extends po {
|
|
105940
105944
|
constructor(e, t, i, r, s, o, a, l) {
|
|
@@ -105974,13 +105978,13 @@ let vz = class extends po {
|
|
|
105974
105978
|
}
|
|
105975
105979
|
};
|
|
105976
105980
|
vz = Gve([
|
|
105977
|
-
|
|
105978
|
-
|
|
105979
|
-
|
|
105980
|
-
|
|
105981
|
-
|
|
105982
|
-
|
|
105983
|
-
|
|
105981
|
+
Ec(1, of),
|
|
105982
|
+
Ec(2, yt),
|
|
105983
|
+
Ec(3, Fi),
|
|
105984
|
+
Ec(4, kr),
|
|
105985
|
+
Ec(5, lr),
|
|
105986
|
+
Ec(6, pc),
|
|
105987
|
+
Ec(7, cf)
|
|
105984
105988
|
], vz);
|
|
105985
105989
|
const Att = ofe(new sfe({
|
|
105986
105990
|
id: Ui.StartFindAction,
|
|
@@ -106602,7 +106606,7 @@ const Ftt = {
|
|
|
106602
106606
|
0: " ",
|
|
106603
106607
|
1: "u",
|
|
106604
106608
|
2: "r"
|
|
106605
|
-
}, vee = 65535,
|
|
106609
|
+
}, vee = 65535, Tc = 16777215, bee = 4278190080;
|
|
106606
106610
|
class zO {
|
|
106607
106611
|
constructor(e) {
|
|
106608
106612
|
const t = Math.ceil(e / 32);
|
|
@@ -106632,8 +106636,8 @@ class Ca {
|
|
|
106632
106636
|
};
|
|
106633
106637
|
for (let i = 0, r = this._startIndexes.length; i < r; i++) {
|
|
106634
106638
|
const s = this._startIndexes[i], o = this._endIndexes[i];
|
|
106635
|
-
if (s >
|
|
106636
|
-
throw new Error("startLineNumber or endLineNumber must not exceed " +
|
|
106639
|
+
if (s > Tc || o > Tc)
|
|
106640
|
+
throw new Error("startLineNumber or endLineNumber must not exceed " + Tc);
|
|
106637
106641
|
for (; e.length > 0 && !t(s, o); )
|
|
106638
106642
|
e.pop();
|
|
106639
106643
|
const a = e.length > 0 ? e[e.length - 1] : -1;
|
|
@@ -106645,10 +106649,10 @@ class Ca {
|
|
|
106645
106649
|
return this._startIndexes.length;
|
|
106646
106650
|
}
|
|
106647
106651
|
getStartLineNumber(e) {
|
|
106648
|
-
return this._startIndexes[e] &
|
|
106652
|
+
return this._startIndexes[e] & Tc;
|
|
106649
106653
|
}
|
|
106650
106654
|
getEndLineNumber(e) {
|
|
106651
|
-
return this._endIndexes[e] &
|
|
106655
|
+
return this._endIndexes[e] & Tc;
|
|
106652
106656
|
}
|
|
106653
106657
|
getType(e) {
|
|
106654
106658
|
return this._types ? this._types[e] : void 0;
|
|
@@ -106729,8 +106733,8 @@ class Ca {
|
|
|
106729
106733
|
}
|
|
106730
106734
|
toFoldRange(e) {
|
|
106731
106735
|
return {
|
|
106732
|
-
startLineNumber: this._startIndexes[e] &
|
|
106733
|
-
endLineNumber: this._endIndexes[e] &
|
|
106736
|
+
startLineNumber: this._startIndexes[e] & Tc,
|
|
106737
|
+
endLineNumber: this._endIndexes[e] & Tc,
|
|
106734
106738
|
type: this._types ? this._types[e] : void 0,
|
|
106735
106739
|
isCollapsed: this.isCollapsed(e),
|
|
106736
106740
|
source: this.getSource(e)
|
|
@@ -107219,7 +107223,7 @@ let Ztt = class {
|
|
|
107219
107223
|
this._startIndexes = [], this._endIndexes = [], this._indentOccurrences = [], this._length = 0, this._foldingRangesLimit = e;
|
|
107220
107224
|
}
|
|
107221
107225
|
insertFirst(e, t, i) {
|
|
107222
|
-
if (e >
|
|
107226
|
+
if (e > Tc || t > Tc)
|
|
107223
107227
|
return;
|
|
107224
107228
|
const r = this._length;
|
|
107225
107229
|
this._startIndexes[r] = e, this._endIndexes[r] = t, this._length++, i < 1e3 && (this._indentOccurrences[i] = (this._indentOccurrences[i] || 0) + 1);
|
|
@@ -107428,7 +107432,7 @@ class nit {
|
|
|
107428
107432
|
this._startIndexes = [], this._endIndexes = [], this._nestingLevels = [], this._nestingLevelCounts = [], this._types = [], this._length = 0, this._foldingRangesLimit = e;
|
|
107429
107433
|
}
|
|
107430
107434
|
add(e, t, i, r) {
|
|
107431
|
-
if (e >
|
|
107435
|
+
if (e > Tc || t > Tc)
|
|
107432
107436
|
return;
|
|
107433
107437
|
const s = this._length;
|
|
107434
107438
|
this._startIndexes[s] = e, this._endIndexes[s] = t, this._nestingLevels[s] = r, this._types[s] = i, this._length++, r < 30 && (this._nestingLevelCounts[r] = (this._nestingLevelCounts[r] || 0) + 1);
|
|
@@ -107633,7 +107637,7 @@ let Md = kv = class extends ye {
|
|
|
107633
107637
|
onModelChanged() {
|
|
107634
107638
|
this.localToDispose.clear();
|
|
107635
107639
|
const e = this.editor.getModel();
|
|
107636
|
-
!this._isEnabled || !e || e.isTooLargeForTokenization() || (this._currentModelHasFoldedImports = !1, this.foldingModel = new ztt(e, this.foldingDecorationProvider), this.localToDispose.add(this.foldingModel), this.hiddenRangeModel = new Ytt(this.foldingModel), this.localToDispose.add(this.hiddenRangeModel), this.localToDispose.add(this.hiddenRangeModel.onDidChange((t) => this.onHiddenRangesChanges(t))), this.updateScheduler = new
|
|
107640
|
+
!this._isEnabled || !e || e.isTooLargeForTokenization() || (this._currentModelHasFoldedImports = !1, this.foldingModel = new ztt(e, this.foldingDecorationProvider), this.localToDispose.add(this.foldingModel), this.hiddenRangeModel = new Ytt(this.foldingModel), this.localToDispose.add(this.hiddenRangeModel), this.localToDispose.add(this.hiddenRangeModel.onDidChange((t) => this.onHiddenRangesChanges(t))), this.updateScheduler = new sc(this.updateDebounceInfo.get(e)), this.cursorChangedScheduler = new Pi(() => this.revealCursor(), 200), this.localToDispose.add(this.cursorChangedScheduler), this.localToDispose.add(this.languageFeaturesService.foldingRangeProvider.onDidChange(() => this.onFoldingStrategyChanged())), this.localToDispose.add(this.editor.onDidChangeModelLanguageConfiguration(() => this.onFoldingStrategyChanged())), this.localToDispose.add(this.editor.onDidChangeModelContent((t) => this.onDidChangeModelContent(t))), this.localToDispose.add(this.editor.onDidChangeCursorPosition(() => this.onCursorPositionChanged())), this.localToDispose.add(this.editor.onMouseDown((t) => this.onEditorMouseDown(t))), this.localToDispose.add(this.editor.onMouseUp((t) => this.onEditorMouseUp(t))), this.localToDispose.add({
|
|
107637
107641
|
dispose: () => {
|
|
107638
107642
|
var t, i;
|
|
107639
107643
|
this.foldingRegionPromise && (this.foldingRegionPromise.cancel(), this.foldingRegionPromise = null), (t = this.updateScheduler) === null || t === void 0 || t.cancel(), this.updateScheduler = null, this.foldingModel = null, this.foldingModelPromise = null, this.hiddenRangeModel = null, this.cursorChangedScheduler = null, (i = this.rangeProvider) === null || i === void 0 || i.dispose(), this.rangeProvider = null;
|
|
@@ -108600,7 +108604,7 @@ let TS = class {
|
|
|
108600
108604
|
TS.ID = "editor.contrib.autoFormat";
|
|
108601
108605
|
TS = tbe([
|
|
108602
108606
|
MN(1, tt),
|
|
108603
|
-
MN(2,
|
|
108607
|
+
MN(2, mc)
|
|
108604
108608
|
], TS);
|
|
108605
108609
|
let kS = class {
|
|
108606
108610
|
constructor(e, t, i) {
|
|
@@ -109169,7 +109173,7 @@ let Iz = class extends ye {
|
|
|
109169
109173
|
range: F.fromPositions(new me(s.lineNumber, a.column)),
|
|
109170
109174
|
options: {
|
|
109171
109175
|
description: yee,
|
|
109172
|
-
after: { content: a.text, inlineClassName: a.preview ? "ghost-text-decoration-preview" : "ghost-text-decoration", cursorStops:
|
|
109176
|
+
after: { content: a.text, inlineClassName: a.preview ? "ghost-text-decoration-preview" : "ghost-text-decoration", cursorStops: Gc.Left },
|
|
109173
109177
|
showIfCollapsed: !0
|
|
109174
109178
|
}
|
|
109175
109179
|
});
|
|
@@ -109430,7 +109434,7 @@ class oo extends C_ {
|
|
|
109430
109434
|
}
|
|
109431
109435
|
class nbe extends C_ {
|
|
109432
109436
|
}
|
|
109433
|
-
let
|
|
109437
|
+
let jc = class rbe extends nbe {
|
|
109434
109438
|
static compareByIndex(e, t) {
|
|
109435
109439
|
return e.index === t.index ? 0 : e.isFinalTabstop ? 1 : t.isFinalTabstop || e.index < t.index ? -1 : e.index > t.index ? 1 : 0;
|
|
109436
109440
|
}
|
|
@@ -109475,12 +109479,12 @@ class zG extends C_ {
|
|
|
109475
109479
|
let i = !1, r = e.replace(this.regexp, function() {
|
|
109476
109480
|
return i = !0, t._replace(Array.prototype.slice.call(arguments, 0, -2));
|
|
109477
109481
|
});
|
|
109478
|
-
return !i && this._children.some((s) => s instanceof
|
|
109482
|
+
return !i && this._children.some((s) => s instanceof kc && !!s.elseValue) && (r = this._replace([])), r;
|
|
109479
109483
|
}
|
|
109480
109484
|
_replace(e) {
|
|
109481
109485
|
let t = "";
|
|
109482
109486
|
for (const i of this._children)
|
|
109483
|
-
if (i instanceof
|
|
109487
|
+
if (i instanceof kc) {
|
|
109484
109488
|
let r = e[i.index] || "";
|
|
109485
109489
|
r = i.resolve(r), t += r;
|
|
109486
109490
|
} else
|
|
@@ -109495,7 +109499,7 @@ class zG extends C_ {
|
|
|
109495
109499
|
return e.regexp = new RegExp(this.regexp.source, (this.regexp.ignoreCase ? "i" : "") + (this.regexp.global ? "g" : "")), e._children = this.children.map((t) => t.clone()), e;
|
|
109496
109500
|
}
|
|
109497
109501
|
}
|
|
109498
|
-
class
|
|
109502
|
+
class kc extends C_ {
|
|
109499
109503
|
constructor(e, t, i, r) {
|
|
109500
109504
|
super(), this.index = e, this.shorthandName = t, this.ifValue = i, this.elseValue = r;
|
|
109501
109505
|
}
|
|
@@ -109511,7 +109515,7 @@ class Tc extends C_ {
|
|
|
109511
109515
|
return t ? t.map((i, r) => r === 0 ? i.charAt(0).toLowerCase() + i.substr(1) : i.charAt(0).toUpperCase() + i.substr(1)).join("") : e;
|
|
109512
109516
|
}
|
|
109513
109517
|
clone() {
|
|
109514
|
-
return new
|
|
109518
|
+
return new kc(this.index, this.shorthandName, this.ifValue, this.elseValue);
|
|
109515
109519
|
}
|
|
109516
109520
|
}
|
|
109517
109521
|
class OS extends nbe {
|
|
@@ -109542,7 +109546,7 @@ class tD extends C_ {
|
|
|
109542
109546
|
const e = [];
|
|
109543
109547
|
let t;
|
|
109544
109548
|
this.walk(function(i) {
|
|
109545
|
-
return i instanceof
|
|
109549
|
+
return i instanceof jc && (e.push(i), t = !t || t.index < i.index ? i : t), !0;
|
|
109546
109550
|
}), this._placeholders = { all: e, last: t };
|
|
109547
109551
|
}
|
|
109548
109552
|
return this._placeholders;
|
|
@@ -109563,7 +109567,7 @@ class tD extends C_ {
|
|
|
109563
109567
|
const t = [];
|
|
109564
109568
|
let { parent: i } = e;
|
|
109565
109569
|
for (; i; )
|
|
109566
|
-
i instanceof
|
|
109570
|
+
i instanceof jc && t.push(i), i = i.parent;
|
|
109567
109571
|
return t;
|
|
109568
109572
|
}
|
|
109569
109573
|
resolveVariables(e) {
|
|
@@ -109602,16 +109606,16 @@ class z1 {
|
|
|
109602
109606
|
for (this._scanner.text(e), this._token = this._scanner.next(); this._parse(t); )
|
|
109603
109607
|
;
|
|
109604
109608
|
const r = /* @__PURE__ */ new Map(), s = [];
|
|
109605
|
-
t.walk((l) => (l instanceof
|
|
109609
|
+
t.walk((l) => (l instanceof jc && (l.isFinalTabstop ? r.set(0, void 0) : !r.has(l.index) && l.children.length > 0 ? r.set(l.index, l.children) : s.push(l)), !0));
|
|
109606
109610
|
const o = (l, c) => {
|
|
109607
109611
|
const u = r.get(l.index);
|
|
109608
109612
|
if (!u)
|
|
109609
109613
|
return;
|
|
109610
|
-
const d = new
|
|
109614
|
+
const d = new jc(l.index);
|
|
109611
109615
|
d.transform = l.transform;
|
|
109612
109616
|
for (const h of u) {
|
|
109613
109617
|
const f = h.clone();
|
|
109614
|
-
d.appendChild(f), f instanceof
|
|
109618
|
+
d.appendChild(f), f instanceof jc && r.has(f.index) && !c.has(f.index) && (c.add(f.index), o(f, c), c.delete(f.index));
|
|
109615
109619
|
}
|
|
109616
109620
|
t.replace(l, [d]);
|
|
109617
109621
|
}, a = /* @__PURE__ */ new Set();
|
|
@@ -109620,7 +109624,7 @@ class z1 {
|
|
|
109620
109624
|
return t.children.slice(i);
|
|
109621
109625
|
}
|
|
109622
109626
|
ensureFinalTabstop(e, t, i) {
|
|
109623
|
-
(t || i && e.placeholders.length > 0) && (e.placeholders.find((s) => s.index === 0) || e.appendChild(new
|
|
109627
|
+
(t || i && e.placeholders.length > 0) && (e.placeholders.find((s) => s.index === 0) || e.appendChild(new jc(0)));
|
|
109624
109628
|
}
|
|
109625
109629
|
_accept(e, t) {
|
|
109626
109630
|
if (e === void 0 || this._token.type === e) {
|
|
@@ -109662,7 +109666,7 @@ class z1 {
|
|
|
109662
109666
|
return this._accept(
|
|
109663
109667
|
0
|
|
109664
109668
|
/* TokenType.Dollar */
|
|
109665
|
-
) && (t = this._accept(9, !0) || this._accept(8, !0)) ? (e.appendChild(/^\d+$/.test(t) ? new
|
|
109669
|
+
) && (t = this._accept(9, !0) || this._accept(8, !0)) ? (e.appendChild(/^\d+$/.test(t) ? new jc(Number(t)) : new OS(t)), !0) : this._backTo(i);
|
|
109666
109670
|
}
|
|
109667
109671
|
// ${1:<children>}, ${1} -> placeholder
|
|
109668
109672
|
_parseComplexPlaceholder(e) {
|
|
@@ -109676,7 +109680,7 @@ class z1 {
|
|
|
109676
109680
|
/* TokenType.CurlyOpen */
|
|
109677
109681
|
) && (t = this._accept(8, !0))))
|
|
109678
109682
|
return this._backTo(i);
|
|
109679
|
-
const s = new
|
|
109683
|
+
const s = new jc(Number(t));
|
|
109680
109684
|
if (this._accept(
|
|
109681
109685
|
1
|
|
109682
109686
|
/* TokenType.Colon */
|
|
@@ -109833,14 +109837,14 @@ class z1 {
|
|
|
109833
109837
|
4
|
|
109834
109838
|
/* TokenType.CurlyClose */
|
|
109835
109839
|
))
|
|
109836
|
-
return e.appendChild(new
|
|
109840
|
+
return e.appendChild(new kc(Number(r))), !0;
|
|
109837
109841
|
if (!this._accept(
|
|
109838
109842
|
1
|
|
109839
109843
|
/* TokenType.Colon */
|
|
109840
109844
|
))
|
|
109841
109845
|
return this._backTo(t), !1;
|
|
109842
109846
|
} else
|
|
109843
|
-
return e.appendChild(new
|
|
109847
|
+
return e.appendChild(new kc(Number(r))), !0;
|
|
109844
109848
|
else
|
|
109845
109849
|
return this._backTo(t), !1;
|
|
109846
109850
|
if (this._accept(
|
|
@@ -109851,7 +109855,7 @@ class z1 {
|
|
|
109851
109855
|
return !s || !this._accept(
|
|
109852
109856
|
4
|
|
109853
109857
|
/* TokenType.CurlyClose */
|
|
109854
|
-
) ? (this._backTo(t), !1) : (e.appendChild(new
|
|
109858
|
+
) ? (this._backTo(t), !1) : (e.appendChild(new kc(Number(r), s)), !0);
|
|
109855
109859
|
} else if (this._accept(
|
|
109856
109860
|
11
|
|
109857
109861
|
/* TokenType.Plus */
|
|
@@ -109861,7 +109865,7 @@ class z1 {
|
|
|
109861
109865
|
/* TokenType.CurlyClose */
|
|
109862
109866
|
);
|
|
109863
109867
|
if (s)
|
|
109864
|
-
return e.appendChild(new
|
|
109868
|
+
return e.appendChild(new kc(Number(r), void 0, s, void 0)), !0;
|
|
109865
109869
|
} else if (this._accept(
|
|
109866
109870
|
12
|
|
109867
109871
|
/* TokenType.Dash */
|
|
@@ -109871,7 +109875,7 @@ class z1 {
|
|
|
109871
109875
|
/* TokenType.CurlyClose */
|
|
109872
109876
|
);
|
|
109873
109877
|
if (s)
|
|
109874
|
-
return e.appendChild(new
|
|
109878
|
+
return e.appendChild(new kc(Number(r), void 0, void 0, s)), !0;
|
|
109875
109879
|
} else if (this._accept(
|
|
109876
109880
|
13
|
|
109877
109881
|
/* TokenType.QuestionMark */
|
|
@@ -109886,7 +109890,7 @@ class z1 {
|
|
|
109886
109890
|
/* TokenType.CurlyClose */
|
|
109887
109891
|
);
|
|
109888
109892
|
if (o)
|
|
109889
|
-
return e.appendChild(new
|
|
109893
|
+
return e.appendChild(new kc(Number(r), void 0, s, o)), !0;
|
|
109890
109894
|
}
|
|
109891
109895
|
} else {
|
|
109892
109896
|
const s = this._until(
|
|
@@ -109894,7 +109898,7 @@ class z1 {
|
|
|
109894
109898
|
/* TokenType.CurlyClose */
|
|
109895
109899
|
);
|
|
109896
109900
|
if (s)
|
|
109897
|
-
return e.appendChild(new
|
|
109901
|
+
return e.appendChild(new kc(Number(r), void 0, void 0, s)), !0;
|
|
109898
109902
|
}
|
|
109899
109903
|
return this._backTo(t), !1;
|
|
109900
109904
|
}
|
|
@@ -110448,7 +110452,7 @@ const Nt = {
|
|
|
110448
110452
|
class nnt {
|
|
110449
110453
|
constructor(e, t, i, r) {
|
|
110450
110454
|
var s;
|
|
110451
|
-
this.position = e, this.completion = t, this.container = i, this.provider = r, this.isInvalid = !1, this.score =
|
|
110455
|
+
this.position = e, this.completion = t, this.container = i, this.provider = r, this.isInvalid = !1, this.score = tu.Default, this.distance = 0, this.textLabel = typeof t.label == "string" ? t.label : (s = t.label) === null || s === void 0 ? void 0 : s.label, this.labelLow = this.textLabel.toLowerCase(), this.isInvalid = !this.textLabel, this.sortTextLow = t.sortText && t.sortText.toLowerCase(), this.filterTextLow = t.filterText && t.filterText.toLowerCase(), this.extensionId = t.extensionId, F.isIRange(t.range) ? (this.editStart = new me(t.range.startLineNumber, t.range.startColumn), this.editInsertEnd = new me(t.range.endLineNumber, t.range.endColumn), this.editReplaceEnd = new me(t.range.endLineNumber, t.range.endColumn), this.isInvalid = this.isInvalid || F.spansMultipleLines(t.range) || t.range.startLineNumber !== e.lineNumber) : (this.editStart = new me(t.range.insert.startLineNumber, t.range.insert.startColumn), this.editInsertEnd = new me(t.range.insert.endLineNumber, t.range.insert.endColumn), this.editReplaceEnd = new me(t.range.replace.endLineNumber, t.range.replace.endColumn), this.isInvalid = this.isInvalid || F.spansMultipleLines(t.range.insert) || F.spansMultipleLines(t.range.replace) || t.range.insert.startLineNumber !== e.lineNumber || t.range.replace.startLineNumber !== e.lineNumber || t.range.insert.startColumn !== t.range.replace.startColumn), typeof r.resolveCompletionItem != "function" && (this._resolveCache = Promise.resolve(), this._resolveDuration = 0);
|
|
110452
110456
|
}
|
|
110453
110457
|
// ---- resolving
|
|
110454
110458
|
get isResolved() {
|
|
@@ -110749,7 +110753,7 @@ let TN = class {
|
|
|
110749
110753
|
TN = dnt([
|
|
110750
110754
|
hnt(2, Hi)
|
|
110751
110755
|
], TN);
|
|
110752
|
-
class
|
|
110756
|
+
class Yc {
|
|
110753
110757
|
constructor() {
|
|
110754
110758
|
this._date = /* @__PURE__ */ new Date();
|
|
110755
110759
|
}
|
|
@@ -110770,13 +110774,13 @@ class Gc {
|
|
|
110770
110774
|
if (t === "CURRENT_SECOND")
|
|
110771
110775
|
return String(this._date.getSeconds().valueOf()).padStart(2, "0");
|
|
110772
110776
|
if (t === "CURRENT_DAY_NAME")
|
|
110773
|
-
return
|
|
110777
|
+
return Yc.dayNames[this._date.getDay()];
|
|
110774
110778
|
if (t === "CURRENT_DAY_NAME_SHORT")
|
|
110775
|
-
return
|
|
110779
|
+
return Yc.dayNamesShort[this._date.getDay()];
|
|
110776
110780
|
if (t === "CURRENT_MONTH_NAME")
|
|
110777
|
-
return
|
|
110781
|
+
return Yc.monthNames[this._date.getMonth()];
|
|
110778
110782
|
if (t === "CURRENT_MONTH_NAME_SHORT")
|
|
110779
|
-
return
|
|
110783
|
+
return Yc.monthNamesShort[this._date.getMonth()];
|
|
110780
110784
|
if (t === "CURRENT_SECONDS_UNIX")
|
|
110781
110785
|
return String(Math.floor(this._date.getTime() / 1e3));
|
|
110782
110786
|
if (t === "CURRENT_TIMEZONE_OFFSET") {
|
|
@@ -110785,10 +110789,10 @@ class Gc {
|
|
|
110785
110789
|
}
|
|
110786
110790
|
}
|
|
110787
110791
|
}
|
|
110788
|
-
|
|
110789
|
-
|
|
110790
|
-
|
|
110791
|
-
|
|
110792
|
+
Yc.dayNames = [C("Sunday", "Sunday"), C("Monday", "Monday"), C("Tuesday", "Tuesday"), C("Wednesday", "Wednesday"), C("Thursday", "Thursday"), C("Friday", "Friday"), C("Saturday", "Saturday")];
|
|
110793
|
+
Yc.dayNamesShort = [C("SundayShort", "Sun"), C("MondayShort", "Mon"), C("TuesdayShort", "Tue"), C("WednesdayShort", "Wed"), C("ThursdayShort", "Thu"), C("FridayShort", "Fri"), C("SaturdayShort", "Sat")];
|
|
110794
|
+
Yc.monthNames = [C("January", "January"), C("February", "February"), C("March", "March"), C("April", "April"), C("May", "May"), C("June", "June"), C("July", "July"), C("August", "August"), C("September", "September"), C("October", "October"), C("November", "November"), C("December", "December")];
|
|
110795
|
+
Yc.monthNamesShort = [C("JanuaryShort", "Jan"), C("FebruaryShort", "Feb"), C("MarchShort", "Mar"), C("AprilShort", "Apr"), C("MayShort", "May"), C("JuneShort", "Jun"), C("JulyShort", "Jul"), C("AugustShort", "Aug"), C("SeptemberShort", "Sep"), C("OctoberShort", "Oct"), C("NovemberShort", "Nov"), C("DecemberShort", "Dec")];
|
|
110792
110796
|
class Pee {
|
|
110793
110797
|
constructor(e) {
|
|
110794
110798
|
this._workspaceService = e;
|
|
@@ -110841,10 +110845,10 @@ var fnt = globalThis && globalThis.__decorate || function(n, e, t, i) {
|
|
|
110841
110845
|
return function(t, i) {
|
|
110842
110846
|
e(t, i, n);
|
|
110843
110847
|
};
|
|
110844
|
-
},
|
|
110848
|
+
}, Dc;
|
|
110845
110849
|
class tl {
|
|
110846
110850
|
constructor(e, t, i) {
|
|
110847
|
-
this._editor = e, this._snippet = t, this._snippetLineLeadingWhitespace = i, this._offset = -1, this._nestingLevel = 1, this._placeholderGroups = $q(t.placeholders,
|
|
110851
|
+
this._editor = e, this._snippet = t, this._snippetLineLeadingWhitespace = i, this._offset = -1, this._nestingLevel = 1, this._placeholderGroups = $q(t.placeholders, jc.compareByIndex), this._placeholderGroupsIdx = -1;
|
|
110848
110852
|
}
|
|
110849
110853
|
initialize(e) {
|
|
110850
110854
|
this._offset = e.newPosition;
|
|
@@ -110901,7 +110905,7 @@ class tl {
|
|
|
110901
110905
|
_hasPlaceholderBeenCollapsed(e) {
|
|
110902
110906
|
let t = e;
|
|
110903
110907
|
for (; t; ) {
|
|
110904
|
-
if (t instanceof
|
|
110908
|
+
if (t instanceof jc) {
|
|
110905
110909
|
const i = this._placeholderDecorations.get(t);
|
|
110906
110910
|
if (this._editor.getModel().getDecorationRange(i).isEmpty() && t.toString().length > 0)
|
|
110907
110911
|
return !0;
|
|
@@ -110985,7 +110989,7 @@ class tl {
|
|
|
110985
110989
|
this._placeholderDecorations.set(l, h);
|
|
110986
110990
|
}
|
|
110987
110991
|
}
|
|
110988
|
-
this._placeholderGroups = $q(this._snippet.placeholders,
|
|
110992
|
+
this._placeholderGroups = $q(this._snippet.placeholders, jc.compareByIndex);
|
|
110989
110993
|
});
|
|
110990
110994
|
}
|
|
110991
110995
|
}
|
|
@@ -111002,7 +111006,7 @@ const jee = {
|
|
|
111002
111006
|
clipboardText: void 0,
|
|
111003
111007
|
overtypingCapturer: void 0
|
|
111004
111008
|
};
|
|
111005
|
-
let kN =
|
|
111009
|
+
let kN = Dc = class {
|
|
111006
111010
|
static adjustWhitespace(e, t, i, r, s) {
|
|
111007
111011
|
const o = e.getLineContent(t.lineNumber), a = ji(o, 0, t.column - 1);
|
|
111008
111012
|
let l;
|
|
@@ -111042,11 +111046,11 @@ let kN = Ic = class {
|
|
|
111042
111046
|
const u = [], d = [];
|
|
111043
111047
|
if (!e.hasModel())
|
|
111044
111048
|
return { edits: u, snippets: d };
|
|
111045
|
-
const h = e.getModel(), f = e.invokeWithinContext((y) => y.get(Km)), g = e.invokeWithinContext((y) => new kee(y.get(w1), h)), p = () => a, m = h.getValueInRange(
|
|
111049
|
+
const h = e.getModel(), f = e.invokeWithinContext((y) => y.get(Km)), g = e.invokeWithinContext((y) => new kee(y.get(w1), h)), p = () => a, m = h.getValueInRange(Dc.adjustSelection(h, e.getSelection(), i, 0)), v = h.getValueInRange(Dc.adjustSelection(h, e.getSelection(), 0, r)), _ = h.getLineFirstNonWhitespaceColumn(e.getSelection().positionLineNumber), w = e.getSelections().map((y, S) => ({ selection: y, idx: S })).sort((y, S) => F.compareRangesUsingStarts(y.selection, S.selection));
|
|
111046
111050
|
for (const { selection: y, idx: S } of w) {
|
|
111047
|
-
let I =
|
|
111051
|
+
let I = Dc.adjustSelection(h, y, i, 0), D = Dc.adjustSelection(h, y, 0, r);
|
|
111048
111052
|
m !== h.getValueInRange(I) && (I = y), v !== h.getValueInRange(D) && (D = y);
|
|
111049
|
-
const x = y.setStartPosition(I.startLineNumber, I.startColumn).setEndPosition(D.endLineNumber, D.endColumn), L = new z1().parse(t, !0, s), E = x.getStartPosition(), N =
|
|
111053
|
+
const x = y.setStartPosition(I.startLineNumber, I.startColumn).setEndPosition(D.endLineNumber, D.endColumn), L = new z1().parse(t, !0, s), E = x.getStartPosition(), N = Dc.adjustWhitespace(h, E, o || S > 0 && _ !== h.getLineFirstNonWhitespaceColumn(y.positionLineNumber), L);
|
|
111050
111054
|
L.resolveVariables(new Eee([
|
|
111051
111055
|
g,
|
|
111052
111056
|
new Oee(p, S, w.length, e.getOption(
|
|
@@ -111055,7 +111059,7 @@ let kN = Ic = class {
|
|
|
111055
111059
|
) === "spread"),
|
|
111056
111060
|
new Tee(h, y, S, l),
|
|
111057
111061
|
new TN(h, y, c),
|
|
111058
|
-
new
|
|
111062
|
+
new Yc(),
|
|
111059
111063
|
new Pee(f),
|
|
111060
111064
|
new Ree()
|
|
111061
111065
|
])), u[S] = fn.replace(x, L.toString()), u[S].identifier = { major: S, minor: 0 }, u[S]._isTracked = !0, d[S] = new tl(e, L, N);
|
|
@@ -111073,7 +111077,7 @@ let kN = Ic = class {
|
|
|
111073
111077
|
) === "spread"),
|
|
111074
111078
|
new Tee(c, e.getSelection(), 0, o),
|
|
111075
111079
|
new TN(c, e.getSelection(), a),
|
|
111076
|
-
new
|
|
111080
|
+
new Yc(),
|
|
111077
111081
|
new Pee(e.invokeWithinContext((g) => g.get(Km))),
|
|
111078
111082
|
new Ree()
|
|
111079
111083
|
]);
|
|
@@ -111086,7 +111090,7 @@ let kN = Ic = class {
|
|
|
111086
111090
|
d.appendChild(D), f += D.value.length;
|
|
111087
111091
|
}
|
|
111088
111092
|
const v = u.parseFragment(m, d);
|
|
111089
|
-
|
|
111093
|
+
Dc.adjustWhitespace(c, p.getStartPosition(), !0, d, new Set(v)), d.resolveVariables(h);
|
|
111090
111094
|
const _ = d.toString(), w = _.slice(f);
|
|
111091
111095
|
f = _.length;
|
|
111092
111096
|
const y = fn.replace(p, w);
|
|
@@ -111109,7 +111113,7 @@ let kN = Ic = class {
|
|
|
111109
111113
|
insert() {
|
|
111110
111114
|
if (!this._editor.hasModel())
|
|
111111
111115
|
return;
|
|
111112
|
-
const { edits: e, snippets: t } = typeof this._template == "string" ?
|
|
111116
|
+
const { edits: e, snippets: t } = typeof this._template == "string" ? Dc.createEditsAndSnippetsFromSelections(this._editor, this._template, this._options.overwriteBefore, this._options.overwriteAfter, !1, this._options.adjustWhitespace, this._options.clipboardText, this._options.overtypingCapturer, this._languageConfigurationService) : Dc.createEditsAndSnippetsFromEdits(this._editor, this._template, !1, this._options.adjustWhitespace, this._options.clipboardText, this._options.overtypingCapturer, this._languageConfigurationService);
|
|
111113
111117
|
this._snippets = t, this._editor.executeEdits("snippet", e, (i) => {
|
|
111114
111118
|
const r = i.filter((s) => !!s.identifier);
|
|
111115
111119
|
for (let s = 0; s < t.length; s++)
|
|
@@ -111121,7 +111125,7 @@ let kN = Ic = class {
|
|
|
111121
111125
|
if (!this._editor.hasModel())
|
|
111122
111126
|
return;
|
|
111123
111127
|
this._templateMerges.push([this._snippets[0]._nestingLevel, this._snippets[0]._placeholderGroupsIdx, e]);
|
|
111124
|
-
const { edits: i, snippets: r } =
|
|
111128
|
+
const { edits: i, snippets: r } = Dc.createEditsAndSnippetsFromSelections(this._editor, e, t.overwriteBefore, t.overwriteAfter, !0, t.adjustWhitespace, t.clipboardText, t.overtypingCapturer, this._languageConfigurationService);
|
|
111125
111129
|
this._editor.executeEdits("snippet", i, (s) => {
|
|
111126
111130
|
const o = s.filter((l) => !!l.identifier);
|
|
111127
111131
|
for (let l = 0; l < r.length; l++)
|
|
@@ -111206,7 +111210,7 @@ let kN = Ic = class {
|
|
|
111206
111210
|
return t.size > 0;
|
|
111207
111211
|
}
|
|
111208
111212
|
};
|
|
111209
|
-
kN =
|
|
111213
|
+
kN = Dc = fnt([
|
|
111210
111214
|
gnt(3, Hi)
|
|
111211
111215
|
], kN);
|
|
111212
111216
|
var pnt = globalThis && globalThis.__decorate || function(n, e, t, i) {
|
|
@@ -111840,7 +111844,7 @@ RS._strategyCtors = /* @__PURE__ */ new Map([
|
|
|
111840
111844
|
]);
|
|
111841
111845
|
RS._storagePrefix = "suggest/memories";
|
|
111842
111846
|
RS = ay = vnt([
|
|
111843
|
-
Bee(0,
|
|
111847
|
+
Bee(0, pc),
|
|
111844
111848
|
Bee(1, ti)
|
|
111845
111849
|
], RS);
|
|
111846
111850
|
const T2 = Gt("ISuggestMemories");
|
|
@@ -112153,25 +112157,25 @@ var Lnt = globalThis && globalThis.__awaiter || function(n, e, t, i) {
|
|
|
112153
112157
|
c((i = i.apply(n, e || [])).next());
|
|
112154
112158
|
});
|
|
112155
112159
|
};
|
|
112156
|
-
class
|
|
112160
|
+
class Fc {
|
|
112157
112161
|
static create(e, t) {
|
|
112158
112162
|
return Lnt(this, void 0, void 0, function* () {
|
|
112159
112163
|
if (!t.getOption(
|
|
112160
112164
|
117
|
|
112161
112165
|
/* EditorOption.suggest */
|
|
112162
112166
|
).localityBonus || !t.hasModel())
|
|
112163
|
-
return
|
|
112167
|
+
return Fc.None;
|
|
112164
112168
|
const i = t.getModel(), r = t.getPosition();
|
|
112165
112169
|
if (!e.canComputeWordRanges(i.uri))
|
|
112166
|
-
return
|
|
112170
|
+
return Fc.None;
|
|
112167
112171
|
const [s] = yield new _a().provideSelectionRanges(i, [r]);
|
|
112168
112172
|
if (s.length === 0)
|
|
112169
|
-
return
|
|
112173
|
+
return Fc.None;
|
|
112170
112174
|
const o = yield e.computeWordRanges(i.uri, s[0].range);
|
|
112171
112175
|
if (!o)
|
|
112172
|
-
return
|
|
112176
|
+
return Fc.None;
|
|
112173
112177
|
const a = i.getWordUntilPosition(r);
|
|
112174
|
-
return delete o[a.word], new class extends
|
|
112178
|
+
return delete o[a.word], new class extends Fc {
|
|
112175
112179
|
distance(l, c) {
|
|
112176
112180
|
if (!r.equals(t.getPosition()))
|
|
112177
112181
|
return 0;
|
|
@@ -112193,7 +112197,7 @@ class jc {
|
|
|
112193
112197
|
});
|
|
112194
112198
|
}
|
|
112195
112199
|
}
|
|
112196
|
-
|
|
112200
|
+
Fc.None = new class extends Fc {
|
|
112197
112201
|
distance() {
|
|
112198
112202
|
return 0;
|
|
112199
112203
|
}
|
|
@@ -112245,7 +112249,7 @@ class zf {
|
|
|
112245
112249
|
d ? d.push(u) : this._itemsByProvider.set(u.provider, [u]);
|
|
112246
112250
|
const h = u.position.column - u.editStart.column, f = h + i - (u.position.column - this._column);
|
|
112247
112251
|
if (r.length !== f && (r = f === 0 ? "" : t.slice(-f), s = r.toLowerCase()), u.word = r, f === 0)
|
|
112248
|
-
u.score =
|
|
112252
|
+
u.score = tu.Default;
|
|
112249
112253
|
else {
|
|
112250
112254
|
let g = 0;
|
|
112251
112255
|
for (; g < h; ) {
|
|
@@ -112256,7 +112260,7 @@ class zf {
|
|
|
112256
112260
|
break;
|
|
112257
112261
|
}
|
|
112258
112262
|
if (g >= f)
|
|
112259
|
-
u.score =
|
|
112263
|
+
u.score = tu.Default;
|
|
112260
112264
|
else if (typeof u.completion.filterText == "string") {
|
|
112261
112265
|
const p = l(r, s, g, u.completion.filterText, u.filterTextLow, 0, this._fuzzyScoreOptions);
|
|
112262
112266
|
if (!p)
|
|
@@ -112369,7 +112373,7 @@ function Nnt(n, e, t) {
|
|
|
112369
112373
|
}
|
|
112370
112374
|
let Mz = Az = class {
|
|
112371
112375
|
constructor(e, t, i, r, s, o, a, l, c) {
|
|
112372
|
-
this._editor = e, this._editorWorkerService = t, this._clipboardService = i, this._telemetryService = r, this._logService = s, this._contextKeyService = o, this._configurationService = a, this._languageFeaturesService = l, this._envService = c, this._toDispose = new Te(), this._triggerCharacterListener = new Te(), this._triggerQuickSuggest = new
|
|
112376
|
+
this._editor = e, this._editorWorkerService = t, this._clipboardService = i, this._telemetryService = r, this._logService = s, this._contextKeyService = o, this._configurationService = a, this._languageFeaturesService = l, this._envService = c, this._toDispose = new Te(), this._triggerCharacterListener = new Te(), this._triggerQuickSuggest = new uc(), this._triggerState = void 0, this._completionDisposables = new Te(), this._onDidCancel = new ge(), this._onDidTrigger = new ge(), this._onDidSuggest = new ge(), this.onDidCancel = this._onDidCancel.event, this.onDidTrigger = this._onDidTrigger.event, this.onDidSuggest = this._onDidSuggest.event, this._telemetryGate = 0, this._currentSelection = this._editor.getSelection() || new ot(1, 1, 1, 1), this._toDispose.add(this._editor.onDidChangeModel(() => {
|
|
112373
112377
|
this._updateTriggerCharacters(), this.cancel();
|
|
112374
112378
|
})), this._toDispose.add(this._editor.onDidChangeModelLanguage(() => {
|
|
112375
112379
|
this._updateTriggerCharacters(), this.cancel();
|
|
@@ -112523,7 +112527,7 @@ let Mz = Az = class {
|
|
|
112523
112527
|
h = 2;
|
|
112524
112528
|
break;
|
|
112525
112529
|
}
|
|
112526
|
-
const { itemKind: f, showDeprecated: g } = Az._createSuggestFilter(this._editor), p = new PS(h, (s = (r = e.completionOptions) === null || r === void 0 ? void 0 : r.kindFilter) !== null && s !== void 0 ? s : f, (o = e.completionOptions) === null || o === void 0 ? void 0 : o.providerFilter, (a = e.completionOptions) === null || a === void 0 ? void 0 : a.providerItemsToReuse, g), m =
|
|
112530
|
+
const { itemKind: f, showDeprecated: g } = Az._createSuggestFilter(this._editor), p = new PS(h, (s = (r = e.completionOptions) === null || r === void 0 ? void 0 : r.kindFilter) !== null && s !== void 0 ? s : f, (o = e.completionOptions) === null || o === void 0 ? void 0 : o.providerFilter, (a = e.completionOptions) === null || a === void 0 ? void 0 : a.providerItemsToReuse, g), m = Fc.create(this._editorWorkerService, this._editor), v = WG(this._languageFeaturesService.completionProvider, l, this._editor.getPosition(), p, u, this._requestToken.token);
|
|
112527
112531
|
Promise.all([v, m]).then(([_, w]) => Ant(this, void 0, void 0, function* () {
|
|
112528
112532
|
var y;
|
|
112529
112533
|
if ((y = this._requestToken) === null || y === void 0 || y.dispose(), !this._editor.hasModel())
|
|
@@ -112726,7 +112730,7 @@ let Mz = Az = class {
|
|
|
112726
112730
|
}
|
|
112727
112731
|
};
|
|
112728
112732
|
Mz = Az = xnt([
|
|
112729
|
-
Cf(1,
|
|
112733
|
+
Cf(1, mc),
|
|
112730
112734
|
Cf(2, cf),
|
|
112731
112735
|
Cf(3, Ya),
|
|
112732
112736
|
Cf(4, Qa),
|
|
@@ -112802,7 +112806,7 @@ class UG extends Xm {
|
|
|
112802
112806
|
let Nz = class {
|
|
112803
112807
|
constructor(e, t, i, r, s) {
|
|
112804
112808
|
this._menuId = t, this._menuService = r, this._contextKeyService = s, this._menuDisposables = new Te(), this.element = Ee(e, Pe(".suggest-status-bar"));
|
|
112805
|
-
const o = (a) => a instanceof
|
|
112809
|
+
const o = (a) => a instanceof nc ? i.createInstance(UG, a, void 0) : void 0;
|
|
112806
112810
|
this._leftActions = new Il(this.element, { actionViewItemProvider: o }), this._rightActions = new Il(this.element, { actionViewItemProvider: o }), this._leftActions.domNode.classList.add("left"), this._rightActions.domNode.classList.add("right");
|
|
112807
112811
|
}
|
|
112808
112812
|
dispose() {
|
|
@@ -113275,7 +113279,7 @@ class Hnt {
|
|
|
113275
113279
|
}
|
|
113276
113280
|
let FS = Pv = class {
|
|
113277
113281
|
constructor(e, t, i, r, s) {
|
|
113278
|
-
this.editor = e, this._storageService = t, this._state = 0, this._isAuto = !1, this._pendingLayout = new as(), this._pendingShowDetails = new as(), this._ignoreFocusEvents = !1, this._forceRenderingAbove = !1, this._explainMode = !1, this._showTimeout = new
|
|
113282
|
+
this.editor = e, this._storageService = t, this._state = 0, this._isAuto = !1, this._pendingLayout = new as(), this._pendingShowDetails = new as(), this._ignoreFocusEvents = !1, this._forceRenderingAbove = !1, this._explainMode = !1, this._showTimeout = new uc(), this._disposables = new Te(), this._onDidSelect = new zm(), this._onDidFocus = new zm(), this._onDidHide = new ge(), this._onDidShow = new ge(), this.onDidSelect = this._onDidSelect.event, this.onDidFocus = this._onDidFocus.event, this.onDidHide = this._onDidHide.event, this.onDidShow = this._onDidShow.event, this._onDetailsKeydown = new ge(), this.onDetailsKeyDown = this._onDetailsKeydown.event, this.element = new wG(), this.element.domNode.classList.add("editor-widget", "suggest-widget"), this._contentWidget = new Unt(this, e), this._persistedSize = new Hnt(t, e);
|
|
113279
113283
|
class o {
|
|
113280
113284
|
constructor(f, g, p = !1, m = !1) {
|
|
113281
113285
|
this.persistedSize = f, this.currentSize = g, this.persistHeight = p, this.persistWidth = m;
|
|
@@ -113303,7 +113307,7 @@ let FS = Pv = class {
|
|
|
113303
113307
|
).showIcons);
|
|
113304
113308
|
c();
|
|
113305
113309
|
const u = s.createInstance(Tz, this.editor);
|
|
113306
|
-
this._disposables.add(u), this._disposables.add(u.onDidToggleDetails(() => this.toggleDetails())), this._list = new
|
|
113310
|
+
this._disposables.add(u), this._disposables.add(u.onDidToggleDetails(() => this.toggleDetails())), this._list = new gc("SuggestWidget", this._listElement, {
|
|
113307
113311
|
getHeight: (h) => this.getLayoutInfo().itemHeight,
|
|
113308
113312
|
getTemplateId: (h) => "suggestion"
|
|
113309
113313
|
}, [u], {
|
|
@@ -113365,7 +113369,7 @@ let FS = Pv = class {
|
|
|
113365
113369
|
i && (this._onDidSelect.fire({ item: e, index: t, model: i }), this.editor.focus());
|
|
113366
113370
|
}
|
|
113367
113371
|
_onThemeChange(e) {
|
|
113368
|
-
this._details.widget.borderWidth =
|
|
113372
|
+
this._details.widget.borderWidth = eu(e.type) ? 2 : 1;
|
|
113369
113373
|
}
|
|
113370
113374
|
_onListFocus(e) {
|
|
113371
113375
|
var t;
|
|
@@ -113668,7 +113672,7 @@ let FS = Pv = class {
|
|
|
113668
113672
|
FS.LOADING_MESSAGE = C("suggestWidget.loading", "Loading...");
|
|
113669
113673
|
FS.NO_SUGGESTIONS_MESSAGE = C("suggestWidget.noSuggestions", "No suggestions.");
|
|
113670
113674
|
FS = Pv = znt([
|
|
113671
|
-
QL(1,
|
|
113675
|
+
QL(1, pc),
|
|
113672
113676
|
QL(2, yt),
|
|
113673
113677
|
QL(3, kr),
|
|
113674
113678
|
QL(4, _t)
|
|
@@ -115570,12 +115574,12 @@ var Ky = globalThis && globalThis.__awaiter || function(n, e, t, i) {
|
|
|
115570
115574
|
function drt(n, e, t, i) {
|
|
115571
115575
|
var r;
|
|
115572
115576
|
return Ky(this, void 0, void 0, function* () {
|
|
115573
|
-
const s = n.get(Fo), o = n.get(
|
|
115577
|
+
const s = n.get(Fo), o = n.get(fc), a = n.get(Hn), l = n.get(_t), c = n.get(lr);
|
|
115574
115578
|
if (yield i.item.resolve(Wt.None), !i.part.location)
|
|
115575
115579
|
return;
|
|
115576
115580
|
const u = i.part.location, d = [], h = new Set(ns.getMenuItems(J.EditorContext).map((g) => Hv(g) ? g.command.id : y2()));
|
|
115577
115581
|
for (const g of qs.all())
|
|
115578
|
-
h.has(g.desc.id) && d.push(new fo(g.desc.id,
|
|
115582
|
+
h.has(g.desc.id) && d.push(new fo(g.desc.id, nc.label(g.desc, { renderShortTitle: !0 }), void 0, !0, () => Ky(this, void 0, void 0, function* () {
|
|
115579
115583
|
const p = yield s.createModelReference(u.uri);
|
|
115580
115584
|
try {
|
|
115581
115585
|
const m = new O1(p.object.textEditorModel, F.getStartPosition(u.range)), v = i.item.anchor.range;
|
|
@@ -115907,7 +115911,7 @@ let f0 = fA = class {
|
|
|
115907
115911
|
width: `${l / 3 | 0}px`,
|
|
115908
115912
|
display: "inline-block"
|
|
115909
115913
|
});
|
|
115910
|
-
o(p, v, " ", m ?
|
|
115914
|
+
o(p, v, " ", m ? Gc.Right : Gc.None);
|
|
115911
115915
|
}, { fontSize: l, fontFamily: c, padding: u, isUniform: d } = this._getLayoutInfo(), h = "--code-editorInlayHintsFontFamily";
|
|
115912
115916
|
this._editor.getContainerDomNode().style.setProperty(h, c);
|
|
115913
115917
|
for (const p of t) {
|
|
@@ -115920,7 +115924,7 @@ let f0 = fA = class {
|
|
|
115920
115924
|
verticalAlign: d ? "baseline" : "middle",
|
|
115921
115925
|
unicodeBidi: "isolate"
|
|
115922
115926
|
};
|
|
115923
|
-
Rs(p.hint.textEdits) && (S.cursor = "default"), this._fillInColors(S, p.hint), (_.command || _.location) && ((i = this._activeInlayHintPart) === null || i === void 0 ? void 0 : i.part.item) === p && this._activeInlayHintPart.part.index === v && (S.textDecoration = "underline", this._activeInlayHintPart.hasTriggerModifier && (S.color = Rn(l7e), S.cursor = "pointer")), u && (w && y ? (S.padding = `1px ${Math.max(1, l / 4) | 0}px`, S.borderRadius = `${l / 4 | 0}px`) : w ? (S.padding = `1px 0 1px ${Math.max(1, l / 4) | 0}px`, S.borderRadius = `${l / 4 | 0}px 0 0 ${l / 4 | 0}px`) : y ? (S.padding = `1px ${Math.max(1, l / 4) | 0}px 1px 0`, S.borderRadius = `0 ${l / 4 | 0}px ${l / 4 | 0}px 0`) : S.padding = "1px 0 1px 0"), o(p, this._ruleFactory.createClassNameRef(S), grt(_.label), y && !p.hint.paddingRight ?
|
|
115927
|
+
Rs(p.hint.textEdits) && (S.cursor = "default"), this._fillInColors(S, p.hint), (_.command || _.location) && ((i = this._activeInlayHintPart) === null || i === void 0 ? void 0 : i.part.item) === p && this._activeInlayHintPart.part.index === v && (S.textDecoration = "underline", this._activeInlayHintPart.hasTriggerModifier && (S.color = Rn(l7e), S.cursor = "pointer")), u && (w && y ? (S.padding = `1px ${Math.max(1, l / 4) | 0}px`, S.borderRadius = `${l / 4 | 0}px`) : w ? (S.padding = `1px 0 1px ${Math.max(1, l / 4) | 0}px`, S.borderRadius = `${l / 4 | 0}px 0 0 ${l / 4 | 0}px`) : y ? (S.padding = `1px ${Math.max(1, l / 4) | 0}px 1px 0`, S.borderRadius = `0 ${l / 4 | 0}px ${l / 4 | 0}px 0`) : S.padding = "1px 0 1px 0"), o(p, this._ruleFactory.createClassNameRef(S), grt(_.label), y && !p.hint.paddingRight ? Gc.Right : Gc.None, new Rz(p, v));
|
|
115924
115928
|
}
|
|
115925
115929
|
if (p.hint.paddingRight && a(p, !0), s.length > fA._MAX_DECORATORS)
|
|
115926
115930
|
break;
|
|
@@ -116075,15 +116079,15 @@ let jz = class extends yN {
|
|
|
116075
116079
|
if (yield c.item.resolve(i), i.isCancellationRequested)
|
|
116076
116080
|
return;
|
|
116077
116081
|
let u;
|
|
116078
|
-
typeof c.item.hint.tooltip == "string" ? u = new Cs().appendText(c.item.hint.tooltip) : c.item.hint.tooltip && (u = c.item.hint.tooltip), u && r.emitOne(new
|
|
116082
|
+
typeof c.item.hint.tooltip == "string" ? u = new Cs().appendText(c.item.hint.tooltip) : c.item.hint.tooltip && (u = c.item.hint.tooltip), u && r.emitOne(new Wc(this, e.range, [u], !1, 0)), Rs(c.item.hint.textEdits) && r.emitOne(new Wc(this, e.range, [new Cs().appendText(C("hint.dbl", "Double-click to insert"))], !1, 10001));
|
|
116079
116083
|
let d;
|
|
116080
|
-
if (typeof c.part.tooltip == "string" ? d = new Cs().appendText(c.part.tooltip) : c.part.tooltip && (d = c.part.tooltip), d && r.emitOne(new
|
|
116084
|
+
if (typeof c.part.tooltip == "string" ? d = new Cs().appendText(c.part.tooltip) : c.part.tooltip && (d = c.part.tooltip), d && r.emitOne(new Wc(this, e.range, [d], !1, 1)), c.part.location || c.part.command) {
|
|
116081
116085
|
let m;
|
|
116082
116086
|
const _ = this._editor.getOption(
|
|
116083
116087
|
77
|
|
116084
116088
|
/* EditorOption.multiCursorModifier */
|
|
116085
116089
|
) === "altKey" ? ri ? C("links.navigate.kb.meta.mac", "cmd + click") : C("links.navigate.kb.meta", "ctrl + click") : ri ? C("links.navigate.kb.alt.mac", "option + click") : C("links.navigate.kb.alt", "alt + click");
|
|
116086
|
-
c.part.location && c.part.command ? m = new Cs().appendText(C("hint.defAndCommand", "Go to Definition ({0}), right click for more", _)) : c.part.location ? m = new Cs().appendText(C("hint.def", "Go to Definition ({0})", _)) : c.part.command && (m = new Cs(`[${C("hint.cmd", "Execute Command")}](${urt(c.part.command)} "${c.part.command.title}") (${_})`, { isTrusted: !0 })), m && r.emitOne(new
|
|
116090
|
+
c.part.location && c.part.command ? m = new Cs().appendText(C("hint.defAndCommand", "Go to Definition ({0}), right click for more", _)) : c.part.location ? m = new Cs().appendText(C("hint.def", "Go to Definition ({0})", _)) : c.part.command && (m = new Cs(`[${C("hint.cmd", "Execute Command")}](${urt(c.part.command)} "${c.part.command.title}") (${_})`, { isTrusted: !0 })), m && r.emitOne(new Wc(this, e.range, [m], !1, 1e4));
|
|
116087
116091
|
}
|
|
116088
116092
|
const h = yield this._resolveInlayHintLabelPartHover(c, i);
|
|
116089
116093
|
try {
|
|
@@ -116111,7 +116115,7 @@ let jz = class extends yN {
|
|
|
116111
116115
|
const { uri: i, range: r } = e.part.location, s = yield this._resolverService.createModelReference(i);
|
|
116112
116116
|
try {
|
|
116113
116117
|
const o = s.object.textEditorModel;
|
|
116114
|
-
return this._languageFeaturesService.hoverProvider.has(o) ? IG(this._languageFeaturesService.hoverProvider, o, new me(r.startLineNumber, r.startColumn), t).filter((a) => !D1(a.hover.contents)).map((a) => new
|
|
116118
|
+
return this._languageFeaturesService.hoverProvider.has(o) ? IG(this._languageFeaturesService.hoverProvider, o, new me(r.startLineNumber, r.startColumn), t).filter((a) => !D1(a.hover.contents)).map((a) => new Wc(this, e.item.anchor.range, a.hover.contents, !1, 2 + a.ordinal)) : ur.EMPTY;
|
|
116115
116119
|
} finally {
|
|
116116
116120
|
s.dispose();
|
|
116117
116121
|
}
|
|
@@ -116207,7 +116211,7 @@ Xg.DECORATION = xt.register({
|
|
|
116207
116211
|
className: "valueSetReplacement"
|
|
116208
116212
|
});
|
|
116209
116213
|
Xg = gA = brt([
|
|
116210
|
-
_rt(1,
|
|
116214
|
+
_rt(1, mc)
|
|
116211
116215
|
], Xg);
|
|
116212
116216
|
class Crt extends Je {
|
|
116213
116217
|
constructor() {
|
|
@@ -116308,7 +116312,7 @@ function Irt(n, e) {
|
|
|
116308
116312
|
let u = 0;
|
|
116309
116313
|
if (r < s && e[r].lineNumber === o && (u = e[r].column, r++, u === c) || l.length === 0)
|
|
116310
116314
|
continue;
|
|
116311
|
-
const d =
|
|
116315
|
+
const d = Jc(l);
|
|
116312
116316
|
let h = 0;
|
|
116313
116317
|
if (d === -1)
|
|
116314
116318
|
h = 1;
|
|
@@ -116476,14 +116480,14 @@ let Fz = class {
|
|
|
116476
116480
|
* @param futureAboveLineText
|
|
116477
116481
|
*/
|
|
116478
116482
|
matchEnterRuleMovingDown(e, t, i, r, s, o) {
|
|
116479
|
-
if (
|
|
116483
|
+
if (Jc(o) >= 0) {
|
|
116480
116484
|
const a = e.getLineMaxColumn(s), l = Eb(this._autoIndent, e, new F(s, a, s, a), this._languageConfigurationService);
|
|
116481
116485
|
return this.parseEnterResult(e, t, i, r, l);
|
|
116482
116486
|
} else {
|
|
116483
116487
|
let a = r - 1;
|
|
116484
116488
|
for (; a >= 1; ) {
|
|
116485
116489
|
const u = e.getLineContent(a);
|
|
116486
|
-
if (
|
|
116490
|
+
if (Jc(u) >= 0)
|
|
116487
116491
|
break;
|
|
116488
116492
|
a--;
|
|
116489
116493
|
}
|
|
@@ -116497,7 +116501,7 @@ let Fz = class {
|
|
|
116497
116501
|
let a = s;
|
|
116498
116502
|
for (; a >= 1; ) {
|
|
116499
116503
|
let u;
|
|
116500
|
-
if (a === s && o !== void 0 ? u = o : u = e.getLineContent(a),
|
|
116504
|
+
if (a === s && o !== void 0 ? u = o : u = e.getLineContent(a), Jc(u) >= 0)
|
|
116501
116505
|
break;
|
|
116502
116506
|
a--;
|
|
116503
116507
|
}
|
|
@@ -117410,10 +117414,10 @@ let Jg = pA = class extends ye {
|
|
|
117410
117414
|
this._localToDispose.add(Ye.runAndSubscribe(t.onDidChangeLanguageConfiguration, () => {
|
|
117411
117415
|
this._languageWordPattern = this.languageConfigurationService.getLanguageConfiguration(t.getLanguageId()).getWordDefinition();
|
|
117412
117416
|
}));
|
|
117413
|
-
const r = new
|
|
117417
|
+
const r = new sc(this._debounceInformation.get(t)), s = () => {
|
|
117414
117418
|
var l;
|
|
117415
117419
|
this._rangeUpdateTriggerPromise = r.trigger(() => this.updateRanges(), (l = this._debounceDuration) !== null && l !== void 0 ? l : this._debounceInformation.get(t));
|
|
117416
|
-
}, o = new
|
|
117420
|
+
}, o = new sc(0), a = (l) => {
|
|
117417
117421
|
this._rangeSyncTriggerPromise = o.trigger(() => this._syncRanges(l));
|
|
117418
117422
|
};
|
|
117419
117423
|
this._localToDispose.add(this._editor.onDidChangeCursorPosition(() => {
|
|
@@ -118082,7 +118086,7 @@ function ust(n) {
|
|
|
118082
118086
|
function dst(n) {
|
|
118083
118087
|
return n ? lst : ast;
|
|
118084
118088
|
}
|
|
118085
|
-
|
|
118089
|
+
hc((n, e) => {
|
|
118086
118090
|
const t = n.getColor(NH);
|
|
118087
118091
|
t && e.addRule(`.monaco-editor .selectionHighlight { background-color: ${t.transparent(0.5)}; }`);
|
|
118088
118092
|
});
|
|
@@ -118989,7 +118993,7 @@ var Ast = globalThis && globalThis.__awaiter || function(n, e, t, i) {
|
|
|
118989
118993
|
})(Pf || (Pf = {}));
|
|
118990
118994
|
class G2 extends ye {
|
|
118991
118995
|
constructor(e, t, i = G2.DEFAULT_DELAY) {
|
|
118992
|
-
super(), this._onChangedHints = this._register(new ge()), this.onChangedHints = this._onChangedHints.event, this.triggerOnType = !1, this._state = Pf.Default, this._pendingTriggers = [], this._lastSignatureHelpResult = this._register(new as()), this.triggerChars = new rM(), this.retriggerChars = new rM(), this.triggerId = 0, this.editor = e, this.providers = t, this.throttledDelayer = new
|
|
118996
|
+
super(), this._onChangedHints = this._register(new ge()), this.onChangedHints = this._onChangedHints.event, this.triggerOnType = !1, this._state = Pf.Default, this._pendingTriggers = [], this._lastSignatureHelpResult = this._register(new as()), this.triggerChars = new rM(), this.retriggerChars = new rM(), this.triggerId = 0, this.editor = e, this.providers = t, this.throttledDelayer = new sc(i), this._register(this.editor.onDidBlurEditorWidget(() => this.cancel())), this._register(this.editor.onDidChangeConfiguration(() => this.onEditorConfigurationChange())), this._register(this.editor.onDidChangeModel((r) => this.onModelChanged())), this._register(this.editor.onDidChangeModelLanguage((r) => this.onModelChanged())), this._register(this.editor.onDidChangeCursorSelection((r) => this.onCursorChange(r))), this._register(this.editor.onDidChangeModelContent((r) => this.onModelContentChange())), this._register(this.providers.onDidChange(this.onModelChanged, this)), this._register(this.editor.onDidType((r) => this.onDidType(r))), this.onEditorConfigurationChange(), this.onModelChanged();
|
|
118993
118997
|
}
|
|
118994
118998
|
get state() {
|
|
118995
118999
|
return this._state;
|
|
@@ -120934,7 +120938,7 @@ var ag;
|
|
|
120934
120938
|
})(ag || (ag = {}));
|
|
120935
120939
|
let Zz = class extends ye {
|
|
120936
120940
|
constructor(e, t, i, r) {
|
|
120937
|
-
super(), this._editor = e, this._languageConfigurationService = t, this._languageFeaturesService = i, this._modelProviders = [], this._modelPromise = null, this._updateScheduler = this._register(new
|
|
120941
|
+
super(), this._editor = e, this._languageConfigurationService = t, this._languageFeaturesService = i, this._modelProviders = [], this._modelPromise = null, this._updateScheduler = this._register(new sc(300)), this._updateOperation = this._register(new Te());
|
|
120938
120942
|
const s = new Xz(i), o = new $z(this._editor, i), a = new Jz(this._editor, t);
|
|
120939
120943
|
switch (r) {
|
|
120940
120944
|
case Xy.OUTLINE_MODEL:
|
|
@@ -121574,7 +121578,7 @@ let Nd = tW = class extends ye {
|
|
|
121574
121578
|
};
|
|
121575
121579
|
Nd.ID = "store.contrib.stickyScrollController";
|
|
121576
121580
|
Nd = tW = lot([
|
|
121577
|
-
yv(1,
|
|
121581
|
+
yv(1, fc),
|
|
121578
121582
|
yv(2, tt),
|
|
121579
121583
|
yv(3, _t),
|
|
121580
121584
|
yv(4, Hi),
|
|
@@ -121810,7 +121814,7 @@ let iW = class extends JOe {
|
|
|
121810
121814
|
const t = [], { items: i } = this.completionModel, r = this._suggestMemoryService.select(this.model, { lineNumber: this.line, column: this.word.endColumn + this.completionModel.lineContext.characterCountDelta }, i), s = zt.slice(i, r), o = zt.slice(i, 0, r);
|
|
121811
121815
|
let a = 5;
|
|
121812
121816
|
for (const l of zt.concat(s, o)) {
|
|
121813
|
-
if (l.score ===
|
|
121817
|
+
if (l.score === tu.Default)
|
|
121814
121818
|
continue;
|
|
121815
121819
|
const c = new F(
|
|
121816
121820
|
l.editStart.lineNumber,
|
|
@@ -121855,7 +121859,7 @@ let nW = class {
|
|
|
121855
121859
|
const f = yield WG(this._languageFeatureService.completionProvider, e, t, new PS(void 0, void 0, u?.providers), u && { triggerKind: 1, triggerCharacter: u.ch }, r);
|
|
121856
121860
|
let g;
|
|
121857
121861
|
f.needsClipboard && (g = yield this._clipboardService.readText());
|
|
121858
|
-
const p = new zf(f.items, t.column, new zee(h, 0),
|
|
121862
|
+
const p = new zf(f.items, t.column, new zee(h, 0), Fc.None, this._getEditorOption(117, e), this._getEditorOption(111, e), { boostFullMatch: !1, firstMatchCanBeWeak: !1 }, g);
|
|
121859
121863
|
d = new iW(e, t.lineNumber, c, p, f, this._suggestMemoryService);
|
|
121860
121864
|
}
|
|
121861
121865
|
return this._lastResult = d, d;
|
|
@@ -122191,7 +122195,7 @@ let U1 = class extends ye {
|
|
|
122191
122195
|
};
|
|
122192
122196
|
U1.ID = "editor.contrib.unicodeHighlighter";
|
|
122193
122197
|
U1 = iY([
|
|
122194
|
-
Ub(1,
|
|
122198
|
+
Ub(1, mc),
|
|
122195
122199
|
Ub(2, fpe),
|
|
122196
122200
|
Ub(3, _t)
|
|
122197
122201
|
], U1);
|
|
@@ -122252,7 +122256,7 @@ let aW = class extends ye {
|
|
|
122252
122256
|
}
|
|
122253
122257
|
};
|
|
122254
122258
|
aW = iY([
|
|
122255
|
-
Ub(3,
|
|
122259
|
+
Ub(3, mc)
|
|
122256
122260
|
], aW);
|
|
122257
122261
|
class Iot extends ye {
|
|
122258
122262
|
constructor(e, t, i) {
|
|
@@ -122344,7 +122348,7 @@ let lW = class {
|
|
|
122344
122348
|
inComment: c.inComment,
|
|
122345
122349
|
inString: c.inString
|
|
122346
122350
|
}, p = C("unicodeHighlight.adjustSettings", "Adjust settings"), m = `command:${nD.ID}?${encodeURIComponent(JSON.stringify(g))}`, v = new Cs("", !0).appendMarkdown(f).appendText(" ").appendLink(m, p);
|
|
122347
|
-
s.push(new
|
|
122351
|
+
s.push(new Wc(this, l.range, [v], !1, a++));
|
|
122348
122352
|
}
|
|
122349
122353
|
return s;
|
|
122350
122354
|
}
|
|
@@ -124195,7 +124199,7 @@ function nte(n) {
|
|
|
124195
124199
|
const Kbe = " ";
|
|
124196
124200
|
function gW(n) {
|
|
124197
124201
|
typeof n != "string" && (n = "");
|
|
124198
|
-
const e = n.toLowerCase(), { pathNormalized: t, normalized: i, normalizedLowercase: r } = rte(n), s = t.indexOf(
|
|
124202
|
+
const e = n.toLowerCase(), { pathNormalized: t, normalized: i, normalizedLowercase: r } = rte(n), s = t.indexOf(Xc) >= 0, o = nte(n);
|
|
124199
124203
|
let a;
|
|
124200
124204
|
const l = n.split(Kbe);
|
|
124201
124205
|
if (l.length > 1)
|
|
@@ -124214,7 +124218,7 @@ function gW(n) {
|
|
|
124214
124218
|
}
|
|
124215
124219
|
function rte(n) {
|
|
124216
124220
|
let e;
|
|
124217
|
-
Ls ? e = n.replace(/\//g,
|
|
124221
|
+
Ls ? e = n.replace(/\//g, Xc) : e = n.replace(/\\/g, Xc);
|
|
124218
124222
|
const t = F3e(e).replace(/\s|"/g, "");
|
|
124219
124223
|
return {
|
|
124220
124224
|
pathNormalized: e,
|
|
@@ -124515,7 +124519,7 @@ class rD extends Je {
|
|
|
124515
124519
|
});
|
|
124516
124520
|
}
|
|
124517
124521
|
run(e) {
|
|
124518
|
-
e.get(bu).quickAccess.show(ud.PREFIX, { itemActivation:
|
|
124522
|
+
e.get(bu).quickAccess.show(ud.PREFIX, { itemActivation: Nc.NONE });
|
|
124519
124523
|
}
|
|
124520
124524
|
}
|
|
124521
124525
|
rD.ID = "editor.action.quickOutline";
|
|
@@ -125041,7 +125045,7 @@ C0.PREF_KEY_CACHE = "commandPalette.mru.cache";
|
|
|
125041
125045
|
C0.PREF_KEY_COUNTER = "commandPalette.mru.counter";
|
|
125042
125046
|
C0.counter = 1;
|
|
125043
125047
|
C0 = Ar = Xbe([
|
|
125044
|
-
tm(0,
|
|
125048
|
+
tm(0, pc),
|
|
125045
125049
|
tm(1, ti)
|
|
125046
125050
|
], C0);
|
|
125047
125051
|
class kat extends _0 {
|
|
@@ -125184,7 +125188,7 @@ mW = Pat([
|
|
|
125184
125188
|
Sv(2, wi),
|
|
125185
125189
|
Sv(3, lr),
|
|
125186
125190
|
Sv(4, _t),
|
|
125187
|
-
Sv(5,
|
|
125191
|
+
Sv(5, pc),
|
|
125188
125192
|
Sv(6, ti)
|
|
125189
125193
|
], mW);
|
|
125190
125194
|
fi(
|
|
@@ -125204,7 +125208,7 @@ class Rat extends Je {
|
|
|
125204
125208
|
}
|
|
125205
125209
|
run(e, t) {
|
|
125206
125210
|
const i = e.get(qa), r = i.getColorTheme();
|
|
125207
|
-
|
|
125211
|
+
eu(r.type) ? (i.setTheme(this._originalThemeName || (m1(r.type) ? zb : _h)), this._originalThemeName = null) : (i.setTheme(m1(r.type) ? xm : Am), this._originalThemeName = r.themeName);
|
|
125208
125212
|
}
|
|
125209
125213
|
}
|
|
125210
125214
|
je(Rat);
|
|
@@ -125796,7 +125800,7 @@ function Y1({
|
|
|
125796
125800
|
copiedTippyText: e = "Copied!",
|
|
125797
125801
|
duration: t = 1e3,
|
|
125798
125802
|
trigger: i = !1,
|
|
125799
|
-
setTrigger: r =
|
|
125803
|
+
setTrigger: r = oc,
|
|
125800
125804
|
rootClassName: s = "",
|
|
125801
125805
|
iconSize: o = 16
|
|
125802
125806
|
}) {
|
|
@@ -126150,7 +126154,7 @@ const mte = {
|
|
|
126150
126154
|
const { error: n } = Y0();
|
|
126151
126155
|
return n ? /* @__PURE__ */ b.jsx("div", { className: "form__error", children: n }) : null;
|
|
126152
126156
|
}, alt = (n) => /* @__PURE__ */ b.jsxs("div", { className: `code-editor__warning ${n.className || ""}`, children: [
|
|
126153
|
-
/* @__PURE__ */ b.jsx(
|
|
126157
|
+
/* @__PURE__ */ b.jsx(ic, { className: "code-editor__information-info-icon" }),
|
|
126154
126158
|
n.text,
|
|
126155
126159
|
n.children
|
|
126156
126160
|
] }), llt = (n) => /* @__PURE__ */ b.jsxs("div", { className: `code-editor__error ${n.className || ""}`, children: [
|
|
@@ -129412,7 +129416,7 @@ function cct() {
|
|
|
129412
129416
|
}), bP;
|
|
129413
129417
|
}
|
|
129414
129418
|
var _P, kie;
|
|
129415
|
-
function
|
|
129419
|
+
function vc() {
|
|
129416
129420
|
if (kie)
|
|
129417
129421
|
return _P;
|
|
129418
129422
|
kie = 1;
|
|
@@ -129426,7 +129430,7 @@ function uct() {
|
|
|
129426
129430
|
if (Oie)
|
|
129427
129431
|
return CP;
|
|
129428
129432
|
Oie = 1;
|
|
129429
|
-
var n = Xi(), e = gY(), t = pY(), i = ak(), r = hf(), s = lk(), o =
|
|
129433
|
+
var n = Xi(), e = gY(), t = pY(), i = ak(), r = hf(), s = lk(), o = vc();
|
|
129430
129434
|
return CP = function(l, c, u) {
|
|
129431
129435
|
if (o(l) !== "Object")
|
|
129432
129436
|
throw new n("Assertion failed: Type(O) is not Object");
|
|
@@ -130657,7 +130661,7 @@ function jct() {
|
|
|
130657
130661
|
if (Bne)
|
|
130658
130662
|
return D5;
|
|
130659
130663
|
Bne = 1;
|
|
130660
|
-
var n = Xi(), e = jd(), t = hf(), i =
|
|
130664
|
+
var n = Xi(), e = jd(), t = hf(), i = vc();
|
|
130661
130665
|
return D5 = function(s, o) {
|
|
130662
130666
|
if (i(s) !== "Object")
|
|
130663
130667
|
throw new n("Assertion failed: `O` must be an Object");
|
|
@@ -141743,7 +141747,7 @@ function pk() {
|
|
|
141743
141747
|
if (joe)
|
|
141744
141748
|
return c6;
|
|
141745
141749
|
joe = 1;
|
|
141746
|
-
var n = Xi(), e = cht(), t = hf(), i =
|
|
141750
|
+
var n = Xi(), e = cht(), t = hf(), i = vc();
|
|
141747
141751
|
return c6 = function(s, o) {
|
|
141748
141752
|
if (i(s) !== "Object")
|
|
141749
141753
|
throw new n("Assertion failed: Type(O) is not Object");
|
|
@@ -141771,7 +141775,7 @@ function oCe() {
|
|
|
141771
141775
|
if (Woe)
|
|
141772
141776
|
return f6;
|
|
141773
141777
|
Woe = 1;
|
|
141774
|
-
var n = jd(), e = Xi(), t =
|
|
141778
|
+
var n = jd(), e = Xi(), t = vc(), i = dht(), r = X1e();
|
|
141775
141779
|
return f6 = function(o) {
|
|
141776
141780
|
if (t(o) !== "Object")
|
|
141777
141781
|
throw new e("ToPropertyDescriptor requires an object");
|
|
@@ -141798,7 +141802,7 @@ function hht() {
|
|
|
141798
141802
|
if (Voe)
|
|
141799
141803
|
return g6;
|
|
141800
141804
|
Voe = 1;
|
|
141801
|
-
var n = Xi(), e = mp(), t = gY(), i = pY(), r = ak(), s = hf(), o = lk(), a = oCe(), l =
|
|
141805
|
+
var n = Xi(), e = mp(), t = gY(), i = pY(), r = ak(), s = hf(), o = lk(), a = oCe(), l = vc();
|
|
141802
141806
|
return g6 = function(u, d, h) {
|
|
141803
141807
|
if (l(u) !== "Object")
|
|
141804
141808
|
throw new n("Assertion failed: Type(O) is not Object");
|
|
@@ -141854,7 +141858,7 @@ function ght() {
|
|
|
141854
141858
|
if (Uoe)
|
|
141855
141859
|
return p6;
|
|
141856
141860
|
Uoe = 1;
|
|
141857
|
-
var n = xs(), e = n("%Symbol.species%", !0), t = Xi(), i = sht(), r = pk(), s = FY(), o = fht(), a =
|
|
141861
|
+
var n = xs(), e = n("%Symbol.species%", !0), t = Xi(), i = sht(), r = pk(), s = FY(), o = fht(), a = vc(), l = sCe();
|
|
141858
141862
|
return p6 = function(u, d) {
|
|
141859
141863
|
if (!l(d) || d < 0)
|
|
141860
141864
|
throw new t("Assertion failed: length must be an integer >= 0");
|
|
@@ -141937,7 +141941,7 @@ function _ht() {
|
|
|
141937
141941
|
if (Zoe)
|
|
141938
141942
|
return y6;
|
|
141939
141943
|
Zoe = 1;
|
|
141940
|
-
var n = Xi(), e = gY(), t = vht(), i = mp(), r = pY(), s = BY(), o = ak(), a = bht(), l = hf(), c = lk(), u =
|
|
141944
|
+
var n = Xi(), e = gY(), t = vht(), i = mp(), r = pY(), s = BY(), o = ak(), a = bht(), l = hf(), c = lk(), u = vc();
|
|
141941
141945
|
return y6 = function(h, f, g, p, m) {
|
|
141942
141946
|
var v = u(h);
|
|
141943
141947
|
if (v !== "Undefined" && v !== "Object")
|
|
@@ -142031,7 +142035,7 @@ function Cht() {
|
|
|
142031
142035
|
if (Xoe)
|
|
142032
142036
|
return w6;
|
|
142033
142037
|
Xoe = 1;
|
|
142034
|
-
var n = ok(), e = rk(), t = Xi(), i = mp(), r = BY(), s = mht(), o = hf(), a = oCe(), l = lk(), c =
|
|
142038
|
+
var n = ok(), e = rk(), t = Xi(), i = mp(), r = BY(), s = mht(), o = hf(), a = oCe(), l = lk(), c = vc(), u = _ht();
|
|
142035
142039
|
return w6 = function(h, f, g) {
|
|
142036
142040
|
if (c(h) !== "Object")
|
|
142037
142041
|
throw new t("Assertion failed: O must be an Object");
|
|
@@ -142056,7 +142060,7 @@ function yht() {
|
|
|
142056
142060
|
if (Joe)
|
|
142057
142061
|
return S6;
|
|
142058
142062
|
Joe = 1;
|
|
142059
|
-
var n = Xi(), e = hf(), t = Cht(), i =
|
|
142063
|
+
var n = Xi(), e = hf(), t = Cht(), i = vc();
|
|
142060
142064
|
return S6 = function(s, o, a) {
|
|
142061
142065
|
if (i(s) !== "Object")
|
|
142062
142066
|
throw new n("Assertion failed: Type(O) is not Object");
|
|
@@ -142076,7 +142080,7 @@ function wht() {
|
|
|
142076
142080
|
if ($oe)
|
|
142077
142081
|
return I6;
|
|
142078
142082
|
$oe = 1;
|
|
142079
|
-
var n = Xi(), e = yht(), t = hf(), i =
|
|
142083
|
+
var n = Xi(), e = yht(), t = hf(), i = vc();
|
|
142080
142084
|
return I6 = function(s, o, a) {
|
|
142081
142085
|
if (i(s) !== "Object")
|
|
142082
142086
|
throw new n("Assertion failed: Type(O) is not Object");
|
|
@@ -142092,7 +142096,7 @@ function Sht() {
|
|
|
142092
142096
|
if (eae)
|
|
142093
142097
|
return D6;
|
|
142094
142098
|
eae = 1;
|
|
142095
|
-
var n = Xi(), e = hf(), t =
|
|
142099
|
+
var n = Xi(), e = hf(), t = vc();
|
|
142096
142100
|
return D6 = function(r, s) {
|
|
142097
142101
|
if (t(r) !== "Object")
|
|
142098
142102
|
throw new n("Assertion failed: `O` must be an Object");
|
|
@@ -142195,7 +142199,7 @@ function Mht() {
|
|
|
142195
142199
|
if (lae)
|
|
142196
142200
|
return k6;
|
|
142197
142201
|
lae = 1;
|
|
142198
|
-
var n = Xi(), e = pk(), t = lCe(), i =
|
|
142202
|
+
var n = Xi(), e = pk(), t = lCe(), i = vc();
|
|
142199
142203
|
return k6 = function(s) {
|
|
142200
142204
|
if (i(s) !== "Object")
|
|
142201
142205
|
throw new n("Assertion failed: `obj` must be an Object");
|
|
@@ -142638,7 +142642,7 @@ const Ght = "data:image/svg+xml;base64,PCEtLQogIC0gQ29weXJpZ2h0IChjKSAyMDI0LiBEZ
|
|
|
142638
142642
|
}
|
|
142639
142643
|
) }),
|
|
142640
142644
|
i && /* @__PURE__ */ b.jsxs("div", { className: "form__error", children: [
|
|
142641
|
-
/* @__PURE__ */ b.jsx(
|
|
142645
|
+
/* @__PURE__ */ b.jsx(ic, { className: "form__icon form__icon--error" }),
|
|
142642
142646
|
i
|
|
142643
142647
|
] })
|
|
142644
142648
|
] });
|
|
@@ -143299,7 +143303,7 @@ const Rft = zY(), jft = ({
|
|
|
143299
143303
|
) })
|
|
143300
143304
|
] }),
|
|
143301
143305
|
f && /* @__PURE__ */ b.jsxs("div", { className: "form__error", children: [
|
|
143302
|
-
/* @__PURE__ */ b.jsx(
|
|
143306
|
+
/* @__PURE__ */ b.jsx(ic, { className: "form__icon form__icon--error" }),
|
|
143303
143307
|
f
|
|
143304
143308
|
] })
|
|
143305
143309
|
] });
|
|
@@ -143484,7 +143488,7 @@ const Bft = ({ handleClick: n, imagePath: e, isExpanded: t, registryType: i }) =
|
|
|
143484
143488
|
className: "dc__transparent flex",
|
|
143485
143489
|
onClick: t,
|
|
143486
143490
|
"aria-label": "Close modal",
|
|
143487
|
-
children: /* @__PURE__ */ b.jsx(
|
|
143491
|
+
children: /* @__PURE__ */ b.jsx(cc, { className: "icon-dim-24 icon-use-fill-n6" })
|
|
143488
143492
|
}
|
|
143489
143493
|
)
|
|
143490
143494
|
] }),
|
|
@@ -143597,7 +143601,7 @@ const Qft = ({ URL: n, width: e, height: t, title: i, maxHeight: r, maxWidth: s
|
|
|
143597
143601
|
className: "p-0 flex dc__no-border dc__no-background dc__outline-none-imp dc__tab-focus icon-dim-18 dc__tab-focus",
|
|
143598
143602
|
onClick: d,
|
|
143599
143603
|
"aria-label": "Close",
|
|
143600
|
-
children: /* @__PURE__ */ b.jsx(
|
|
143604
|
+
children: /* @__PURE__ */ b.jsx(cc, { className: "dc__no-shrink icon-dim-18 fcn-6" })
|
|
143601
143605
|
}
|
|
143602
143606
|
)
|
|
143603
143607
|
] }),
|
|
@@ -143721,7 +143725,7 @@ const CEt = {
|
|
|
143721
143725
|
parentPluginId: e,
|
|
143722
143726
|
pluginId: t
|
|
143723
143727
|
}, { result: s } = await nn(
|
|
143724
|
-
|
|
143728
|
+
$l(Ci.PLUGIN_GLOBAL_LIST_DETAIL_V2, r)
|
|
143725
143729
|
);
|
|
143726
143730
|
return {
|
|
143727
143731
|
pluginStore: vCe(s?.parentPlugins)
|
|
@@ -143743,7 +143747,7 @@ const CEt = {
|
|
|
143743
143747
|
appId: t,
|
|
143744
143748
|
size: 20,
|
|
143745
143749
|
tag: e
|
|
143746
|
-
}, { result: o } = await nn(
|
|
143750
|
+
}, { result: o } = await nn($l(Ci.PLUGIN_GLOBAL_LIST_V2, s), {
|
|
143747
143751
|
signal: r
|
|
143748
143752
|
}), a = vCe(o?.parentPlugins);
|
|
143749
143753
|
return {
|
|
@@ -143759,7 +143763,7 @@ const CEt = {
|
|
|
143759
143763
|
const e = {
|
|
143760
143764
|
appId: n
|
|
143761
143765
|
}, { result: t } = await nn(
|
|
143762
|
-
|
|
143766
|
+
$l(Ci.PLUGIN_GLOBAL_LIST_TAGS, e)
|
|
143763
143767
|
);
|
|
143764
143768
|
if (!t?.tagNames)
|
|
143765
143769
|
return [];
|
|
@@ -143982,7 +143986,7 @@ const CEt = {
|
|
|
143982
143986
|
)),
|
|
143983
143987
|
f && /* @__PURE__ */ b.jsx(_Ce, {}),
|
|
143984
143988
|
t > e.length && !f && /* @__PURE__ */ b.jsx(Tde, { callback: p })
|
|
143985
|
-
] }) : s || r.length ? /* @__PURE__ */ b.jsx(wbt, { handleClearFilters: c, imageType:
|
|
143989
|
+
] }) : s || r.length ? /* @__PURE__ */ b.jsx(wbt, { handleClearFilters: c, imageType: Mc.Large }) : /* @__PURE__ */ b.jsx(To, { title: "No plugins found", subTitle: "We are unable to locate any plugin in our system" });
|
|
143986
143990
|
}, pgt = ggt;
|
|
143987
143991
|
const mgt = ({
|
|
143988
143992
|
availableTags: n,
|
|
@@ -144466,7 +144470,7 @@ const SEt = ({
|
|
|
144466
144470
|
}), _gt = (n) => {
|
|
144467
144471
|
const { isDisabled: e } = n;
|
|
144468
144472
|
return /* @__PURE__ */ b.jsx(pn.DropdownIndicator, { ...n, children: /* @__PURE__ */ b.jsx(RV, { className: `icon-dim-16 ${e ? "scn-3" : "scn-6"} dc__no-shrink` }) });
|
|
144469
|
-
}, Cgt = (n) => /* @__PURE__ */ b.jsx(pn.ClearIndicator, { ...n, children: /* @__PURE__ */ b.jsx(
|
|
144473
|
+
}, Cgt = (n) => /* @__PURE__ */ b.jsx(pn.ClearIndicator, { ...n, children: /* @__PURE__ */ b.jsx(cc, { className: "icon-dim-16 fcn-6 dc__no-shrink" }) }), ygt = ({
|
|
144470
144474
|
icon: n,
|
|
144471
144475
|
showSelectedOptionIcon: e,
|
|
144472
144476
|
...t
|
|
@@ -144578,7 +144582,7 @@ const SEt = ({
|
|
|
144578
144582
|
) }) })
|
|
144579
144583
|
] }),
|
|
144580
144584
|
n && /* @__PURE__ */ b.jsxs("div", { className: "flex left dc__gap-4 cr-5 fs-11 lh-16 fw-4", id: m, children: [
|
|
144581
|
-
/* @__PURE__ */ b.jsx(
|
|
144585
|
+
/* @__PURE__ */ b.jsx(ic, { className: "icon-dim-16 p-1 form__icon--error dc__no-shrink dc__align-self-start" }),
|
|
144582
144586
|
/* @__PURE__ */ b.jsx("span", { className: "dc__ellipsis-right__2nd-line", children: n })
|
|
144583
144587
|
] }),
|
|
144584
144588
|
i && /* @__PURE__ */ b.jsxs("div", { className: "flex left dc__gap-4 fs-11 lh-16 cn-7", children: [
|
|
@@ -145406,10 +145410,10 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
145406
145410
|
case "animationName":
|
|
145407
145411
|
if (typeof t == "string")
|
|
145408
145412
|
return t.replace(NCe, function(i, r, s) {
|
|
145409
|
-
return
|
|
145413
|
+
return Bc = {
|
|
145410
145414
|
name: r,
|
|
145411
145415
|
styles: s,
|
|
145412
|
-
next:
|
|
145416
|
+
next: Bc
|
|
145413
145417
|
}, r;
|
|
145414
145418
|
});
|
|
145415
145419
|
}
|
|
@@ -145440,19 +145444,19 @@ function $S(n, e, t) {
|
|
|
145440
145444
|
return "";
|
|
145441
145445
|
case "object": {
|
|
145442
145446
|
if (t.anim === 1)
|
|
145443
|
-
return
|
|
145447
|
+
return Bc = {
|
|
145444
145448
|
name: t.name,
|
|
145445
145449
|
styles: t.styles,
|
|
145446
|
-
next:
|
|
145450
|
+
next: Bc
|
|
145447
145451
|
}, t.name;
|
|
145448
145452
|
if (t.styles !== void 0) {
|
|
145449
145453
|
var i = t.next;
|
|
145450
145454
|
if (i !== void 0)
|
|
145451
145455
|
for (; i !== void 0; )
|
|
145452
|
-
|
|
145456
|
+
Bc = {
|
|
145453
145457
|
name: i.name,
|
|
145454
145458
|
styles: i.styles,
|
|
145455
|
-
next:
|
|
145459
|
+
next: Bc
|
|
145456
145460
|
}, i = i.next;
|
|
145457
145461
|
var r = t.styles + ";";
|
|
145458
145462
|
return process.env.NODE_ENV !== "production" && t.map !== void 0 && (r += t.map), r;
|
|
@@ -145461,8 +145465,8 @@ function $S(n, e, t) {
|
|
|
145461
145465
|
}
|
|
145462
145466
|
case "function": {
|
|
145463
145467
|
if (n !== void 0) {
|
|
145464
|
-
var s =
|
|
145465
|
-
return
|
|
145468
|
+
var s = Bc, o = t(n);
|
|
145469
|
+
return Bc = s, $S(n, e, o);
|
|
145466
145470
|
} else
|
|
145467
145471
|
process.env.NODE_ENV !== "production" && console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");
|
|
145468
145472
|
break;
|
|
@@ -145521,11 +145525,11 @@ function Spt(n, e, t) {
|
|
|
145521
145525
|
}
|
|
145522
145526
|
var Rae = /label:\s*([^\s;\n{]+)\s*(;|$)/g, TCe;
|
|
145523
145527
|
process.env.NODE_ENV !== "production" && (TCe = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);
|
|
145524
|
-
var
|
|
145528
|
+
var Bc, eI = function(e, t, i) {
|
|
145525
145529
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
145526
145530
|
return e[0];
|
|
145527
145531
|
var r = !0, s = "";
|
|
145528
|
-
|
|
145532
|
+
Bc = void 0;
|
|
145529
145533
|
var o = e[0];
|
|
145530
145534
|
o == null || o.raw === void 0 ? (r = !1, s += $S(i, t, o)) : (process.env.NODE_ENV !== "production" && o[0] === void 0 && console.error(kae), s += o[0]);
|
|
145531
145535
|
for (var a = 1; a < e.length; a++)
|
|
@@ -145542,14 +145546,14 @@ var Fc, eI = function(e, t, i) {
|
|
|
145542
145546
|
name: d,
|
|
145543
145547
|
styles: s,
|
|
145544
145548
|
map: l,
|
|
145545
|
-
next:
|
|
145549
|
+
next: Bc,
|
|
145546
145550
|
toString: function() {
|
|
145547
145551
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
145548
145552
|
}
|
|
145549
145553
|
} : {
|
|
145550
145554
|
name: d,
|
|
145551
145555
|
styles: s,
|
|
145552
|
-
next:
|
|
145556
|
+
next: Bc
|
|
145553
145557
|
};
|
|
145554
145558
|
}, Ipt = function(e) {
|
|
145555
145559
|
return e();
|
|
@@ -145922,7 +145926,7 @@ function Hpt(n) {
|
|
|
145922
145926
|
function RCe(n) {
|
|
145923
145927
|
return FCe(n) ? (n.nodeName || "").toLowerCase() : "#document";
|
|
145924
145928
|
}
|
|
145925
|
-
function
|
|
145929
|
+
function iu(n) {
|
|
145926
145930
|
var e;
|
|
145927
145931
|
return (n == null || (e = n.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
145928
145932
|
}
|
|
@@ -145931,16 +145935,16 @@ function jCe(n) {
|
|
|
145931
145935
|
return (e = (FCe(n) ? n.ownerDocument : n.document) || window.document) == null ? void 0 : e.documentElement;
|
|
145932
145936
|
}
|
|
145933
145937
|
function FCe(n) {
|
|
145934
|
-
return n instanceof Node || n instanceof
|
|
145938
|
+
return n instanceof Node || n instanceof iu(n).Node;
|
|
145935
145939
|
}
|
|
145936
145940
|
function IW(n) {
|
|
145937
|
-
return n instanceof Element || n instanceof
|
|
145941
|
+
return n instanceof Element || n instanceof iu(n).Element;
|
|
145938
145942
|
}
|
|
145939
145943
|
function iQ(n) {
|
|
145940
|
-
return n instanceof HTMLElement || n instanceof
|
|
145944
|
+
return n instanceof HTMLElement || n instanceof iu(n).HTMLElement;
|
|
145941
145945
|
}
|
|
145942
145946
|
function Hae(n) {
|
|
145943
|
-
return typeof ShadowRoot > "u" ? !1 : n instanceof ShadowRoot || n instanceof
|
|
145947
|
+
return typeof ShadowRoot > "u" ? !1 : n instanceof ShadowRoot || n instanceof iu(n).ShadowRoot;
|
|
145944
145948
|
}
|
|
145945
145949
|
function BCe(n) {
|
|
145946
145950
|
const {
|
|
@@ -145958,7 +145962,7 @@ function Gpt(n) {
|
|
|
145958
145962
|
return ["html", "body", "#document"].includes(RCe(n));
|
|
145959
145963
|
}
|
|
145960
145964
|
function nQ(n) {
|
|
145961
|
-
return
|
|
145965
|
+
return iu(n).getComputedStyle(n);
|
|
145962
145966
|
}
|
|
145963
145967
|
function Ypt(n) {
|
|
145964
145968
|
if (RCe(n) === "html")
|
|
@@ -145979,7 +145983,7 @@ function zCe(n) {
|
|
|
145979
145983
|
function ZN(n, e, t) {
|
|
145980
145984
|
var i;
|
|
145981
145985
|
e === void 0 && (e = []), t === void 0 && (t = !0);
|
|
145982
|
-
const r = zCe(n), s = r === ((i = n.ownerDocument) == null ? void 0 : i.body), o =
|
|
145986
|
+
const r = zCe(n), s = r === ((i = n.ownerDocument) == null ? void 0 : i.body), o = iu(r);
|
|
145983
145987
|
return s ? e.concat(o, o.visualViewport || [], BCe(r) ? r : [], o.frameElement && t ? ZN(o.frameElement) : []) : e.concat(r, ZN(r, [], t));
|
|
145984
145988
|
}
|
|
145985
145989
|
function Qpt(n) {
|
|
@@ -146012,14 +146016,14 @@ function Q6(n) {
|
|
|
146012
146016
|
}
|
|
146013
146017
|
const qpt = /* @__PURE__ */ KN(0);
|
|
146014
146018
|
function Kpt(n) {
|
|
146015
|
-
const e =
|
|
146019
|
+
const e = iu(n);
|
|
146016
146020
|
return !Upt() || !e.visualViewport ? qpt : {
|
|
146017
146021
|
x: e.visualViewport.offsetLeft,
|
|
146018
146022
|
y: e.visualViewport.offsetTop
|
|
146019
146023
|
};
|
|
146020
146024
|
}
|
|
146021
146025
|
function Zpt(n, e, t) {
|
|
146022
|
-
return e === void 0 && (e = !1), !t || e && t !==
|
|
146026
|
+
return e === void 0 && (e = !1), !t || e && t !== iu(n) ? !1 : e;
|
|
146023
146027
|
}
|
|
146024
146028
|
function Uae(n, e, t, i) {
|
|
146025
146029
|
e === void 0 && (e = !1), t === void 0 && (t = !1);
|
|
@@ -146029,11 +146033,11 @@ function Uae(n, e, t, i) {
|
|
|
146029
146033
|
const a = Zpt(s, t, i) ? Kpt(s) : KN(0);
|
|
146030
146034
|
let l = (r.left + a.x) / o.x, c = (r.top + a.y) / o.y, u = r.width / o.x, d = r.height / o.y;
|
|
146031
146035
|
if (s) {
|
|
146032
|
-
const h =
|
|
146036
|
+
const h = iu(s), f = i && IW(i) ? iu(i) : i;
|
|
146033
146037
|
let g = h, p = g.frameElement;
|
|
146034
146038
|
for (; p && i && f !== g; ) {
|
|
146035
146039
|
const m = Q6(p), v = p.getBoundingClientRect(), _ = nQ(p), w = v.left + (p.clientLeft + parseFloat(_.paddingLeft)) * m.x, y = v.top + (p.clientTop + parseFloat(_.paddingTop)) * m.y;
|
|
146036
|
-
l *= m.x, c *= m.y, u *= m.x, d *= m.y, l += w, c += y, g =
|
|
146040
|
+
l *= m.x, c *= m.y, u *= m.x, d *= m.y, l += w, c += y, g = iu(p), p = g.frameElement;
|
|
146037
146041
|
}
|
|
146038
146042
|
}
|
|
146039
146043
|
return Hpt({
|
|
@@ -148830,7 +148834,6 @@ const wvt = (n) => {
|
|
|
148830
148834
|
gap: "2px"
|
|
148831
148835
|
}),
|
|
148832
148836
|
singleValue: () => ({
|
|
148833
|
-
color: "var(--B500)",
|
|
148834
148837
|
fontWeight: 600
|
|
148835
148838
|
})
|
|
148836
148839
|
};
|
|
@@ -149071,7 +149074,7 @@ const wvt = (n) => {
|
|
|
149071
149074
|
).data : t, ule = (n) => {
|
|
149072
149075
|
const { isDisabled: e } = n;
|
|
149073
149076
|
return /* @__PURE__ */ b.jsx(pn.DropdownIndicator, { ...n, children: /* @__PURE__ */ b.jsx(RV, { className: `icon-dim-16 ${e ? "scn-3" : "scn-6"} dc__no-shrink` }) });
|
|
149074
|
-
}, dle = (n) => /* @__PURE__ */ b.jsx(pn.ClearIndicator, { ...n, children: /* @__PURE__ */ b.jsx(
|
|
149077
|
+
}, dle = (n) => /* @__PURE__ */ b.jsx(pn.ClearIndicator, { ...n, children: /* @__PURE__ */ b.jsx(cc, { className: "icon-dim-16 icon-use-fill-n6 dc__no-shrink" }) }), Lvt = ({
|
|
149075
149078
|
icon: n,
|
|
149076
149079
|
showSelectedOptionIcon: e,
|
|
149077
149080
|
...t
|
|
@@ -149109,7 +149112,7 @@ const wvt = (n) => {
|
|
|
149109
149112
|
r && !d && /* @__PURE__ */ b.jsx(
|
|
149110
149113
|
i_,
|
|
149111
149114
|
{
|
|
149112
|
-
onChange:
|
|
149115
|
+
onChange: oc,
|
|
149113
149116
|
onClick: h,
|
|
149114
149117
|
isChecked: e.isSelected || !1,
|
|
149115
149118
|
value: xa.CHECKED,
|
|
@@ -149161,7 +149164,7 @@ const wvt = (n) => {
|
|
|
149161
149164
|
),
|
|
149162
149165
|
/* @__PURE__ */ b.jsx(pn.MultiValueLabel, { ...e })
|
|
149163
149166
|
] });
|
|
149164
|
-
}, Evt = (n) => /* @__PURE__ */ b.jsx(pn.MultiValueLabel, { ...n, children: /* @__PURE__ */ b.jsx("span", { className: "flex dc__no-shrink", children: /* @__PURE__ */ b.jsx(
|
|
149167
|
+
}, Evt = (n) => /* @__PURE__ */ b.jsx(pn.MultiValueLabel, { ...n, children: /* @__PURE__ */ b.jsx("span", { className: "flex dc__no-shrink", children: /* @__PURE__ */ b.jsx(cc, { className: "icon-dim-12 icon-use-fill-n6" }) }) }), Tvt = ({
|
|
149165
149168
|
isGroupHeadingSelectable: n,
|
|
149166
149169
|
...e
|
|
149167
149170
|
}) => {
|
|
@@ -149192,7 +149195,7 @@ const wvt = (n) => {
|
|
|
149192
149195
|
n && /* @__PURE__ */ b.jsx(
|
|
149193
149196
|
i_,
|
|
149194
149197
|
{
|
|
149195
|
-
onChange:
|
|
149198
|
+
onChange: oc,
|
|
149196
149199
|
onClick: l,
|
|
149197
149200
|
isChecked: !!o,
|
|
149198
149201
|
value: o,
|
|
@@ -149369,7 +149372,7 @@ const wvt = (n) => {
|
|
|
149369
149372
|
) }) })
|
|
149370
149373
|
] }),
|
|
149371
149374
|
n && /* @__PURE__ */ b.jsxs("div", { className: "flex left dc__gap-4 cr-5 fs-11 lh-16 fw-4", id: oe, children: [
|
|
149372
|
-
/* @__PURE__ */ b.jsx(
|
|
149375
|
+
/* @__PURE__ */ b.jsx(ic, { className: "icon-dim-16 p-1 form__icon--error dc__no-shrink dc__align-self-start" }),
|
|
149373
149376
|
/* @__PURE__ */ b.jsx("span", { className: "dc__ellipsis-right__2nd-line", children: n })
|
|
149374
149377
|
] }),
|
|
149375
149378
|
i && /* @__PURE__ */ b.jsxs("div", { className: "flex left dc__gap-4 fs-11 lh-16 cn-7", children: [
|
|
@@ -149555,7 +149558,7 @@ const wvt = (n) => {
|
|
|
149555
149558
|
message: e.message
|
|
149556
149559
|
};
|
|
149557
149560
|
}
|
|
149558
|
-
}, TEt = ({ baseUrl: n, kind: e, version: t, suffix: i, queryParams: r }) =>
|
|
149561
|
+
}, TEt = ({ baseUrl: n, kind: e, version: t, suffix: i, queryParams: r }) => $l(`${n}/${e}/${t}${i ? `/${i}` : ""}`, r), kEt = ({ kind: n, version: e, queryParams: t, suffix: i }) => $l(`global/policy/${n}/${e}${i ? `/${i}` : ""}`, t), dye = (n, e, t, i, r) => {
|
|
149559
149562
|
const s = n.lastIndex;
|
|
149560
149563
|
Promise.resolve(e[s]()).then((o) => {
|
|
149561
149564
|
n.results[s] = { status: Ix.FULFILLED, value: o };
|
|
@@ -149590,7 +149593,7 @@ ki.configure({
|
|
|
149590
149593
|
bodyClassName: "devtron-toast__body"
|
|
149591
149594
|
});
|
|
149592
149595
|
function Bs(n, e = !0, t = !1) {
|
|
149593
|
-
n instanceof
|
|
149596
|
+
n instanceof Qc && Array.isArray(n.errors) ? n.errors.map(({ userMessage: i, internalMessage: r }) => {
|
|
149594
149597
|
n.code === 403 && (i === Kr.UNAUTHORIZED || i === Kr.FORBIDDEN) ? t || Xwe() : ki.error(i || r);
|
|
149595
149598
|
}) : (n.code !== 403 && n.code !== 408 && Tce(n), e && (n.message ? ki.error(n.message) : ki.error("Some Error Occurred")));
|
|
149596
149599
|
}
|
|
@@ -149644,7 +149647,7 @@ const REt = (n, e = "") => n ? /* @__PURE__ */ b.jsx(
|
|
|
149644
149647
|
children: n[0]
|
|
149645
149648
|
}
|
|
149646
149649
|
) : null, jEt = (n) => Array.from({ length: n });
|
|
149647
|
-
function
|
|
149650
|
+
function oc(...n) {
|
|
149648
149651
|
}
|
|
149649
149652
|
function hye(n) {
|
|
149650
149653
|
return !n;
|
|
@@ -149786,13 +149789,13 @@ function ble(n) {
|
|
|
149786
149789
|
return n;
|
|
149787
149790
|
}
|
|
149788
149791
|
}
|
|
149789
|
-
const Hvt = (n, e =
|
|
149792
|
+
const Hvt = (n, e = oc) => {
|
|
149790
149793
|
const t = function(i) {
|
|
149791
149794
|
i.preventDefault(), i.clipboardData.setData("text/plain", n);
|
|
149792
149795
|
};
|
|
149793
149796
|
document.addEventListener("copy", t), document.execCommand("copy"), document.removeEventListener("copy", t), e();
|
|
149794
149797
|
};
|
|
149795
|
-
function Uvt(n, e =
|
|
149798
|
+
function Uvt(n, e = oc) {
|
|
149796
149799
|
n && (window.isSecureContext && navigator.clipboard ? navigator.clipboard.writeText(n).then(() => {
|
|
149797
149800
|
e();
|
|
149798
149801
|
}).catch(() => {
|
|
@@ -149848,7 +149851,7 @@ function Jh(n, e = [], t = !0, i = { resetOnChange: !0 }) {
|
|
|
149848
149851
|
};
|
|
149849
149852
|
return [r.loading, r.result, r.error, l, c, r.dependencies];
|
|
149850
149853
|
}
|
|
149851
|
-
const VEt = (n, e) => n ? tE(n, !0) : e ? "" : "Not deployed",
|
|
149854
|
+
const VEt = (n, e) => n ? tE(n, !0) : e ? "" : "Not deployed", $l = (n, e = {}) => {
|
|
149852
149855
|
const t = new URLSearchParams();
|
|
149853
149856
|
Object.keys(e).forEach((r) => {
|
|
149854
149857
|
wwe.includes(e[r]) || (Array.isArray(e[r]) ? e[r].forEach((s) => {
|
|
@@ -150100,7 +150103,7 @@ const Jvt = ({
|
|
|
150100
150103
|
}) => {
|
|
150101
150104
|
const m = f === "row", v = () => {
|
|
150102
150105
|
switch (a) {
|
|
150103
|
-
case
|
|
150106
|
+
case Mc.Large:
|
|
150104
150107
|
return { width: "250px", height: "200px" };
|
|
150105
150108
|
default:
|
|
150106
150109
|
return { width: "200px", height: "160px" };
|
|
@@ -150179,7 +150182,7 @@ const Jvt = ({
|
|
|
150179
150182
|
isButtonAvailable: !0
|
|
150180
150183
|
};
|
|
150181
150184
|
default:
|
|
150182
|
-
return { onClick:
|
|
150185
|
+
return { onClick: oc, renderButtonText: "", isButtonAvailable: !1 };
|
|
150183
150186
|
}
|
|
150184
150187
|
}, {
|
|
150185
150188
|
onClick: d,
|
|
@@ -150215,7 +150218,7 @@ const Jvt = ({
|
|
|
150215
150218
|
title: Kr.BAD_REQUEST,
|
|
150216
150219
|
subTitle: t || Kr.BAD_REQUEST_MESSAGE,
|
|
150217
150220
|
image: gx,
|
|
150218
|
-
imageType:
|
|
150221
|
+
imageType: Mc.Large,
|
|
150219
150222
|
heightToDeduct: r,
|
|
150220
150223
|
reload: e
|
|
150221
150224
|
}
|
|
@@ -150228,7 +150231,7 @@ const Jvt = ({
|
|
|
150228
150231
|
title: Kr.UNAUTHORIZED,
|
|
150229
150232
|
subTitle: t || Kr.UNAUTHORIZED_MESSAGE,
|
|
150230
150233
|
image: MW,
|
|
150231
|
-
imageType:
|
|
150234
|
+
imageType: Mc.Large,
|
|
150232
150235
|
heightToDeduct: r
|
|
150233
150236
|
}
|
|
150234
150237
|
);
|
|
@@ -150240,7 +150243,7 @@ const Jvt = ({
|
|
|
150240
150243
|
title: Kr.FORBIDDEN,
|
|
150241
150244
|
subTitle: t || Kr.FORBIDDEN_MESSAGE,
|
|
150242
150245
|
image: MW,
|
|
150243
|
-
imageType:
|
|
150246
|
+
imageType: Mc.Large,
|
|
150244
150247
|
heightToDeduct: r
|
|
150245
150248
|
}
|
|
150246
150249
|
);
|
|
@@ -150252,7 +150255,7 @@ const Jvt = ({
|
|
|
150252
150255
|
title: Kr.PAGE_NOT_FOUND,
|
|
150253
150256
|
subTitle: t || Kr.PAGE_NOT_EXIST,
|
|
150254
150257
|
image: Xvt,
|
|
150255
|
-
imageType:
|
|
150258
|
+
imageType: Mc.Large,
|
|
150256
150259
|
heightToDeduct: r,
|
|
150257
150260
|
redirectURL: s
|
|
150258
150261
|
}
|
|
@@ -150265,7 +150268,7 @@ const Jvt = ({
|
|
|
150265
150268
|
title: Kr.INTERNAL_SERVER_ERROR,
|
|
150266
150269
|
subTitle: t || Kr.INTERNAL_SERVER_ERROR_MESSAGE,
|
|
150267
150270
|
image: gx,
|
|
150268
|
-
imageType:
|
|
150271
|
+
imageType: Mc.Large,
|
|
150269
150272
|
heightToDeduct: r,
|
|
150270
150273
|
reload: e
|
|
150271
150274
|
}
|
|
@@ -150278,7 +150281,7 @@ const Jvt = ({
|
|
|
150278
150281
|
title: Kr.BAD_GATEWAY,
|
|
150279
150282
|
subTitle: t || Kr.BAD_GATEWAY_MESSAGE,
|
|
150280
150283
|
image: gx,
|
|
150281
|
-
imageType:
|
|
150284
|
+
imageType: Mc.Large,
|
|
150282
150285
|
heightToDeduct: r,
|
|
150283
150286
|
reload: e
|
|
150284
150287
|
}
|
|
@@ -150291,7 +150294,7 @@ const Jvt = ({
|
|
|
150291
150294
|
title: Kr.SERVICE_TEMPORARY_UNAVAILABLE,
|
|
150292
150295
|
subTitle: t || Kr.SERVICE_TEMPORARY_UNAVAILABLE_MESSAGE,
|
|
150293
150296
|
image: gx,
|
|
150294
|
-
imageType:
|
|
150297
|
+
imageType: Mc.Large,
|
|
150295
150298
|
heightToDeduct: r,
|
|
150296
150299
|
reload: e
|
|
150297
150300
|
}
|
|
@@ -150872,7 +150875,7 @@ const Lo = wk, mbt = "data:image/svg+xml;base64,PCEtLQogIC0gQ29weXJpZ2h0IChjKSAy
|
|
|
150872
150875
|
const M = (j) => {
|
|
150873
150876
|
w || (j.stopPropagation(), j.target.value = j.target.value?.trim(), i(j)), typeof v == "function" && v(j);
|
|
150874
150877
|
}, O = (j) => /* @__PURE__ */ b.jsxs("div", { className: "form__error", children: [
|
|
150875
|
-
/* @__PURE__ */ b.jsx(
|
|
150878
|
+
/* @__PURE__ */ b.jsx(ic, { className: "form__icon form__icon--error" }),
|
|
150876
150879
|
j,
|
|
150877
150880
|
j && typeof L == "function" && L()
|
|
150878
150881
|
] }, j), k = () => t?.length ? typeof t == "object" ? A(t).map((j) => O(j)) : O(t) : null, U = () => typeof s == "string" ? /* @__PURE__ */ b.jsx("span", { className: `${h ? "dc__required-field" : ""}`, children: s }) : s, B = () => s ? /* @__PURE__ */ b.jsx("label", { className: `form__label ${l}`, "data-testid": `label-${d}`, children: U() }) : null;
|
|
@@ -151256,7 +151259,7 @@ const Sbt = (n) => {
|
|
|
151256
151259
|
{
|
|
151257
151260
|
type: "button",
|
|
151258
151261
|
className: `dc__transparent p-0 bcn-0 cn-7 flex dc__content-start dc__gap-4 dc__select-text ${s ? "" : "cursor-default"}`,
|
|
151259
|
-
onClick: s ? e :
|
|
151262
|
+
onClick: s ? e : oc,
|
|
151260
151263
|
disabled: r,
|
|
151261
151264
|
children: [
|
|
151262
151265
|
/* @__PURE__ */ b.jsx(Sk, { showOnTruncate: o, content: i, children: /* @__PURE__ */ b.jsx("span", { className: "dc__uppercase dc__ellipsis-right", children: i }) }),
|
|
@@ -151365,7 +151368,7 @@ const zbt = ({
|
|
|
151365
151368
|
try {
|
|
151366
151369
|
await t(s), ki.success("Successfully deleted"), e(!1), a ? g(l) : c(), typeof d == "function" && d();
|
|
151367
151370
|
} catch (w) {
|
|
151368
|
-
w instanceof
|
|
151371
|
+
w instanceof Qc && w.code === 500 && f(!0);
|
|
151369
151372
|
} finally {
|
|
151370
151373
|
n(!1);
|
|
151371
151374
|
}
|
|
@@ -151572,7 +151575,7 @@ const zbt = ({
|
|
|
151572
151575
|
)
|
|
151573
151576
|
] }),
|
|
151574
151577
|
N && /* @__PURE__ */ b.jsxs("div", { className: "flex left", children: [
|
|
151575
|
-
/* @__PURE__ */ b.jsx(
|
|
151578
|
+
/* @__PURE__ */ b.jsx(ic, { className: "form__icon form__icon--error" }),
|
|
151576
151579
|
/* @__PURE__ */ b.jsx("div", { className: "form__error", children: N })
|
|
151577
151580
|
] }),
|
|
151578
151581
|
/* @__PURE__ */ b.jsx("div", { className: "flex-wrap mt-8 flex left", children: L?.map((ie, z) => /* @__PURE__ */ b.jsx(
|
|
@@ -151617,7 +151620,7 @@ const zbt = ({
|
|
|
151617
151620
|
}
|
|
151618
151621
|
),
|
|
151619
151622
|
Q !== "" && /* @__PURE__ */ b.jsxs("div", { className: "flex left", children: [
|
|
151620
|
-
/* @__PURE__ */ b.jsx(
|
|
151623
|
+
/* @__PURE__ */ b.jsx(ic, { className: "form__icon form__icon--error" }),
|
|
151621
151624
|
/* @__PURE__ */ b.jsx("div", { className: "form__error", children: Q })
|
|
151622
151625
|
] }),
|
|
151623
151626
|
/* @__PURE__ */ b.jsxs("div", { className: "w-100 flex right mt-12", children: [
|
|
@@ -152099,7 +152102,7 @@ const uQ = {
|
|
|
152099
152102
|
return n.length > 0 && /* @__PURE__ */ b.jsx("span", { className: "display-grid rjsf-form-template__field--error dc__gap-12", id: t, children: n.filter((i) => !!i).map((i, r) => /* @__PURE__ */ b.jsxs(nt.Fragment, { children: [
|
|
152100
152103
|
/* @__PURE__ */ b.jsx("span", {}),
|
|
152101
152104
|
/* @__PURE__ */ b.jsxs("span", { className: "form__error", children: [
|
|
152102
|
-
/* @__PURE__ */ b.jsx(
|
|
152105
|
+
/* @__PURE__ */ b.jsx(ic, { className: "form__icon form__icon--error" }),
|
|
152103
152106
|
i
|
|
152104
152107
|
] })
|
|
152105
152108
|
] }, r)) });
|
|
@@ -153457,7 +153460,7 @@ Nothing to preview
|
|
|
153457
153460
|
]
|
|
153458
153461
|
];
|
|
153459
153462
|
var Ol = /* @__PURE__ */ ((n) => (n.HEADER = "header", n.BOLD = "bold", n.ITALIC = "italic", n.STRIKETHROUGH = "strikethrough", n.LINK = "link", n.QUOTE = "quote", n.CODE = "code", n.IMAGE = "image", n.UNORDERED_LIST = "unordered-list", n.ORDERED_LIST = "ordered-list", n.CHECKED_LIST = "checked-list", n))(Ol || {});
|
|
153460
|
-
const
|
|
153463
|
+
const Cc = {
|
|
153461
153464
|
header: "Add heading text",
|
|
153462
153465
|
bold: "Add bold text",
|
|
153463
153466
|
italic: "Add italic text",
|
|
@@ -153508,7 +153511,7 @@ const _c = {
|
|
|
153508
153511
|
className: "default-tt",
|
|
153509
153512
|
arrow: !1,
|
|
153510
153513
|
placement: "bottom",
|
|
153511
|
-
content:
|
|
153514
|
+
content: Cc[x],
|
|
153512
153515
|
children: /* @__PURE__ */ b.jsx("div", { className: "flex", children: /* @__PURE__ */ b.jsx(PIt, { className: "icon-dim-16 flex" }) })
|
|
153513
153516
|
}
|
|
153514
153517
|
);
|
|
@@ -153519,7 +153522,7 @@ const _c = {
|
|
|
153519
153522
|
className: "default-tt",
|
|
153520
153523
|
arrow: !1,
|
|
153521
153524
|
placement: "bottom",
|
|
153522
|
-
content:
|
|
153525
|
+
content: Cc[x],
|
|
153523
153526
|
children: /* @__PURE__ */ b.jsx("div", { className: "flex", children: /* @__PURE__ */ b.jsx(RIt, { className: "icon-dim-16 flex" }) })
|
|
153524
153527
|
}
|
|
153525
153528
|
);
|
|
@@ -153530,7 +153533,7 @@ const _c = {
|
|
|
153530
153533
|
className: "default-tt",
|
|
153531
153534
|
arrow: !1,
|
|
153532
153535
|
placement: "bottom",
|
|
153533
|
-
content:
|
|
153536
|
+
content: Cc[x],
|
|
153534
153537
|
children: /* @__PURE__ */ b.jsx("div", { className: "flex", children: /* @__PURE__ */ b.jsx(jIt, { className: "icon-dim-16 flex" }) })
|
|
153535
153538
|
}
|
|
153536
153539
|
);
|
|
@@ -153541,7 +153544,7 @@ const _c = {
|
|
|
153541
153544
|
className: "default-tt",
|
|
153542
153545
|
arrow: !1,
|
|
153543
153546
|
placement: "bottom",
|
|
153544
|
-
content:
|
|
153547
|
+
content: Cc[x],
|
|
153545
153548
|
children: /* @__PURE__ */ b.jsx("div", { className: "flex", children: /* @__PURE__ */ b.jsx(BIt, { className: "icon-dim-16 flex" }) })
|
|
153546
153549
|
}
|
|
153547
153550
|
);
|
|
@@ -153552,7 +153555,7 @@ const _c = {
|
|
|
153552
153555
|
className: "default-tt",
|
|
153553
153556
|
arrow: !1,
|
|
153554
153557
|
placement: "bottom",
|
|
153555
|
-
content:
|
|
153558
|
+
content: Cc[x],
|
|
153556
153559
|
children: /* @__PURE__ */ b.jsx("div", { className: "flex", children: /* @__PURE__ */ b.jsx(FIt, { className: "icon-dim-16 flex" }) })
|
|
153557
153560
|
}
|
|
153558
153561
|
);
|
|
@@ -153563,7 +153566,7 @@ const _c = {
|
|
|
153563
153566
|
className: "default-tt",
|
|
153564
153567
|
arrow: !1,
|
|
153565
153568
|
placement: "bottom",
|
|
153566
|
-
content:
|
|
153569
|
+
content: Cc[x],
|
|
153567
153570
|
children: /* @__PURE__ */ b.jsx("div", { className: "flex", children: /* @__PURE__ */ b.jsx(WIt, { className: "icon-dim-16 flex" }) })
|
|
153568
153571
|
}
|
|
153569
153572
|
);
|
|
@@ -153574,7 +153577,7 @@ const _c = {
|
|
|
153574
153577
|
className: "default-tt",
|
|
153575
153578
|
arrow: !1,
|
|
153576
153579
|
placement: "bottom",
|
|
153577
|
-
content:
|
|
153580
|
+
content: Cc[x],
|
|
153578
153581
|
children: /* @__PURE__ */ b.jsx("div", { className: "flex", children: /* @__PURE__ */ b.jsx(zIt, { className: "icon-dim-16 flex" }) })
|
|
153579
153582
|
}
|
|
153580
153583
|
);
|
|
@@ -153585,7 +153588,7 @@ const _c = {
|
|
|
153585
153588
|
className: "default-tt",
|
|
153586
153589
|
arrow: !1,
|
|
153587
153590
|
placement: "bottom",
|
|
153588
|
-
content:
|
|
153591
|
+
content: Cc[x],
|
|
153589
153592
|
children: /* @__PURE__ */ b.jsx("div", { className: "flex", children: /* @__PURE__ */ b.jsx(VIt, { className: "icon-dim-16 flex" }) })
|
|
153590
153593
|
}
|
|
153591
153594
|
);
|
|
@@ -153596,7 +153599,7 @@ const _c = {
|
|
|
153596
153599
|
className: "default-tt",
|
|
153597
153600
|
arrow: !1,
|
|
153598
153601
|
placement: "bottom",
|
|
153599
|
-
content:
|
|
153602
|
+
content: Cc[x],
|
|
153600
153603
|
children: /* @__PURE__ */ b.jsx("div", { className: "flex", children: /* @__PURE__ */ b.jsx($le, { className: "icon-dim-16 flex" }) })
|
|
153601
153604
|
}
|
|
153602
153605
|
);
|
|
@@ -153607,7 +153610,7 @@ const _c = {
|
|
|
153607
153610
|
className: "default-tt",
|
|
153608
153611
|
arrow: !1,
|
|
153609
153612
|
placement: "bottom",
|
|
153610
|
-
content:
|
|
153613
|
+
content: Cc[x],
|
|
153611
153614
|
children: /* @__PURE__ */ b.jsx("div", { className: "flex", children: /* @__PURE__ */ b.jsx(HIt, { className: "icon-dim-16 flex" }) })
|
|
153612
153615
|
}
|
|
153613
153616
|
);
|
|
@@ -153618,7 +153621,7 @@ const _c = {
|
|
|
153618
153621
|
className: "default-tt",
|
|
153619
153622
|
arrow: !1,
|
|
153620
153623
|
placement: "bottom",
|
|
153621
|
-
content:
|
|
153624
|
+
content: Cc[x],
|
|
153622
153625
|
children: /* @__PURE__ */ b.jsx("div", { className: "flex", children: /* @__PURE__ */ b.jsx(UIt, { className: "icon-dim-16 flex" }) })
|
|
153623
153626
|
}
|
|
153624
153627
|
);
|
|
@@ -153876,7 +153879,7 @@ export {
|
|
|
153876
153879
|
bD as aP,
|
|
153877
153880
|
REt as aQ,
|
|
153878
153881
|
jEt as aR,
|
|
153879
|
-
|
|
153882
|
+
oc as aS,
|
|
153880
153883
|
hye as aT,
|
|
153881
153884
|
fye as aU,
|
|
153882
153885
|
Wvt as aV,
|
|
@@ -153890,10 +153893,10 @@ export {
|
|
|
153890
153893
|
IDt as ac,
|
|
153891
153894
|
nu as ad,
|
|
153892
153895
|
Swe as ae,
|
|
153893
|
-
|
|
153896
|
+
Qc as af,
|
|
153894
153897
|
rI as ag,
|
|
153895
153898
|
xa as ah,
|
|
153896
|
-
|
|
153899
|
+
Mc as ai,
|
|
153897
153900
|
FC as aj,
|
|
153898
153901
|
d7 as ak,
|
|
153899
153902
|
mE as al,
|
|
@@ -153918,7 +153921,7 @@ export {
|
|
|
153918
153921
|
Uvt as b2,
|
|
153919
153922
|
Jh as b3,
|
|
153920
153923
|
VEt as b4,
|
|
153921
|
-
|
|
153924
|
+
$l as b5,
|
|
153922
153925
|
HEt as b6,
|
|
153923
153926
|
_le as b7,
|
|
153924
153927
|
Cle as b8,
|
|
@@ -154283,7 +154286,7 @@ export {
|
|
|
154283
154286
|
xV as gg,
|
|
154284
154287
|
ANe as gh,
|
|
154285
154288
|
Y7 as gi,
|
|
154286
|
-
|
|
154289
|
+
yc as gj,
|
|
154287
154290
|
MNe as gk,
|
|
154288
154291
|
NNe as gl,
|
|
154289
154292
|
Ix as gm,
|