@ansible/ansible-ui-framework 2.4.304 → 2.4.306
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/framework/components/useManagedItems.d.ts +5 -9
- package/index.js +636 -674
- package/index.umd.cjs +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -18,7 +18,7 @@ var tk = (n, e, t, i) => ({
|
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
import * as le from "react";
|
|
21
|
-
import W, { useState as
|
|
21
|
+
import W, { useState as He, useCallback as qe, useEffect as St, useRef as Sr, useContext as Vs, createElement as $j, createContext as Vl, useId as Ine, Fragment as bd, useMemo as ct, Component as Ane, isValidElement as zN, Children as UN, cloneElement as Nne, useLayoutEffect as Hj } from "react";
|
|
22
22
|
import { Tooltip as Mo, Switch as jj, ButtonVariant as hc, Dropdown as zj, DropdownSeparator as One, DropdownItem as VC, DropdownToggle as Uj, KebabToggle as Mne, Button as gn, Split as pp, DropdownPosition as Ox, Flex as Cr, FlexItem as jn, AlertGroup as Rne, Alert as Mx, AlertActionCloseButton as Pne, Popover as Rx, Stack as bl, StackItem as Lh, FormGroup as Px, Select as qj, SelectVariant as Fne, SelectOption as Us, Modal as vp, ModalVariant as _p, Form as Kj, ClipboardCopy as Bne, Truncate as $C, SplitItem as hl, LabelGroup as Gj, Label as Qy, PageSection as Sa, Card as Yj, CardHeader as Zj, Text as td, Title as yl, CardBody as Fx, Bullseye as Xj, ProgressStepper as Wne, ProgressStep as Vne, Skeleton as xa, DescriptionListGroup as bg, DescriptionListTerm as PD, DescriptionListDescription as yg, DescriptionList as HC, DropdownToggleCheckbox as $ne, SearchInput as Qj, MenuToggle as Jj, ToolbarItem as Gs, DatePicker as B6, isValidDate as W6, Chip as FD, ChipGroup as ez, InputGroup as Bx, TextInputGroup as Hne, TextInputGroupMain as jne, TextInputGroupUtilities as zne, ToolbarToggleGroup as tz, ToolbarGroup as Kv, ToolbarFilter as Une, ToggleGroup as nz, ToggleGroupItem as Jy, ToolbarContent as iz, Toolbar as BD, Pagination as rz, PaginationVariant as sz, EmptyState as qN, EmptyStateVariant as KN, EmptyStateIcon as GN, EmptyStateBody as Qg, EmptyStatePrimary as qne, Divider as jC, ModalBoxBody as Gv, CardTitle as Kne, CardActions as Gne, Checkbox as YN, CardFooter as Yne, DataList as Zne, DataListItem as Xne, DataListItemRow as Qne, DataListCheck as Jne, DataListItemCells as eie, DataListCell as V6, DataListAction as tie, Spinner as nie, EmptyStateSecondaryActions as iie, Progress as rie, ProgressSize as sie, ProgressVariant as $6, Icon as oie, SelectGroup as aie, TextArea as lie, TextInput as oz, ActionGroup as cie, Grid as uie, PageSectionVariants as H6, PageNavigation as die, Breadcrumb as hie, BreadcrumbItem as fie, Masthead as gie, MastheadMain as mie, MastheadToggle as pie, PageToggleButton as vie, Tab as _ie, PageSectionTypes as az, Tabs as lz } from "@patternfly/react-core";
|
|
23
23
|
import { CircleIcon as bie, ExternalLinkAltIcon as cz, OutlinedQuestionCircleIcon as uz, HelpIcon as yie, TimesCircleIcon as Cie, TimesIcon as dz, ArrowRightIcon as wie, FilterIcon as hz, SortAmountDownIcon as Sie, SortAmountUpIcon as xie, SortNumericDownAltIcon as Lie, SortNumericUpIcon as kie, SortAlphaDownAltIcon as Die, SortAlphaUpIcon as Eie, ColumnsIcon as Tie, TableIcon as Iie, ListIcon as Aie, ThLargeIcon as Nie, ExclamationCircleIcon as fz, PlusCircleIcon as Oie, CubesIcon as Mie, SearchIcon as gz, PendingIcon as Rie, CheckCircleIcon as Pie, ExclamationTriangleIcon as Fie, EyeIcon as ZN, EyeSlashIcon as XN, CopyIcon as Bie, AngleRightIcon as Wie, BarsIcon as Vie, SyncAltIcon as $ie } from "@patternfly/react-icons";
|
|
24
24
|
import { Link as Wx } from "react-router-dom";
|
|
@@ -405,7 +405,7 @@ function zie() {
|
|
|
405
405
|
__source: !0
|
|
406
406
|
}, Ee, Oe, Ye;
|
|
407
407
|
Ye = {};
|
|
408
|
-
function
|
|
408
|
+
function Ue(q) {
|
|
409
409
|
if ($.call(q, "ref")) {
|
|
410
410
|
var ke = Object.getOwnPropertyDescriptor(q, "ref").get;
|
|
411
411
|
if (ke && ke.isReactWarning)
|
|
@@ -481,7 +481,7 @@ function zie() {
|
|
|
481
481
|
function Vn(q, ke, Pe, rt, Pt) {
|
|
482
482
|
{
|
|
483
483
|
var cn, Ut = {}, jt = null, Ir = null;
|
|
484
|
-
Pe !== void 0 && (z(Pe), jt = "" + Pe), Rt(ke) && (z(ke.key), jt = "" + ke.key),
|
|
484
|
+
Pe !== void 0 && (z(Pe), jt = "" + Pe), Rt(ke) && (z(ke.key), jt = "" + ke.key), Ue(ke) && (Ir = ke.ref, kt(ke, Pt));
|
|
485
485
|
for (cn in ke)
|
|
486
486
|
$.call(ke, cn) && !Se.hasOwnProperty(cn) && (Ut[cn] = ke[cn]);
|
|
487
487
|
if (q && q.defaultProps) {
|
|
@@ -644,13 +644,13 @@ Check the top-level render call using <` + Pe + ">.");
|
|
|
644
644
|
return q === i ? Qf(Ni) : Yd(Ni), Ni;
|
|
645
645
|
}
|
|
646
646
|
}
|
|
647
|
-
function
|
|
647
|
+
function dt(q, ke, Pe) {
|
|
648
648
|
return Zd(q, ke, Pe, !0);
|
|
649
649
|
}
|
|
650
650
|
function me(q, ke, Pe) {
|
|
651
651
|
return Zd(q, ke, Pe, !1);
|
|
652
652
|
}
|
|
653
|
-
var Ve = me, ot =
|
|
653
|
+
var Ve = me, ot = dt;
|
|
654
654
|
e0.Fragment = i, e0.jsx = Ve, e0.jsxs = ot;
|
|
655
655
|
}()), e0;
|
|
656
656
|
}
|
|
@@ -689,13 +689,13 @@ const Uie = {
|
|
|
689
689
|
xxl: Number(qie.value.replace("px", ""))
|
|
690
690
|
};
|
|
691
691
|
function ire() {
|
|
692
|
-
const [n, e] =
|
|
692
|
+
const [n, e] = He(() => window.innerWidth <= za.sm ? "xs" : window.innerWidth <= za.md ? "sm" : window.innerWidth <= za.lg ? "md" : window.innerWidth <= za.xl ? "lg" : window.innerWidth <= za.xxl ? "xl" : "xxl"), t = qe(() => {
|
|
693
693
|
window.innerWidth <= za.sm ? e("xs") : window.innerWidth <= za.md ? e("sm") : window.innerWidth <= za.lg ? e("md") : window.innerWidth <= za.xl ? e("lg") : window.innerWidth <= za.xxl ? e("xl") : e("xxl");
|
|
694
694
|
}, []);
|
|
695
|
-
return
|
|
695
|
+
return St(() => {
|
|
696
696
|
const i = t;
|
|
697
697
|
return window.addEventListener("resize", i), () => window.removeEventListener("resize", i);
|
|
698
|
-
}, [t]),
|
|
698
|
+
}, [t]), St(() => t(), [t]), n;
|
|
699
699
|
}
|
|
700
700
|
function eo(n) {
|
|
701
701
|
const e = ire();
|
|
@@ -750,15 +750,15 @@ function eo(n) {
|
|
|
750
750
|
}
|
|
751
751
|
}
|
|
752
752
|
function hht() {
|
|
753
|
-
const [n, e] =
|
|
753
|
+
const [n, e] = He(
|
|
754
754
|
() => window.innerWidth > window.innerHeight ? "landscape" : "portrait"
|
|
755
|
-
), t =
|
|
755
|
+
), t = qe(() => {
|
|
756
756
|
e(window.innerWidth > window.innerHeight ? "landscape" : "portrait");
|
|
757
757
|
}, []);
|
|
758
|
-
return
|
|
758
|
+
return St(() => {
|
|
759
759
|
const i = t;
|
|
760
760
|
return window.addEventListener("resize", i), () => window.removeEventListener("resize", i);
|
|
761
|
-
}, [t]),
|
|
761
|
+
}, [t]), St(() => t(), [t]), n;
|
|
762
762
|
}
|
|
763
763
|
var VD = { exports: {} }, yn = {};
|
|
764
764
|
/** @license React v16.13.1
|
|
@@ -2115,7 +2115,7 @@ const vn = qD, Az = {
|
|
|
2115
2115
|
validating: "Validating..."
|
|
2116
2116
|
}, Nz = Vl([Az, () => alert("Use FrameworkTranslationsProvider")]);
|
|
2117
2117
|
function ese(n) {
|
|
2118
|
-
const e =
|
|
2118
|
+
const e = He(Az);
|
|
2119
2119
|
return /* @__PURE__ */ L.jsx(Nz.Provider, { value: e, children: n.children });
|
|
2120
2120
|
}
|
|
2121
2121
|
function zi() {
|
|
@@ -2137,7 +2137,7 @@ function Oz(n, e) {
|
|
|
2137
2137
|
}
|
|
2138
2138
|
function C1() {
|
|
2139
2139
|
const [n] = zi();
|
|
2140
|
-
return
|
|
2140
|
+
return qe(
|
|
2141
2141
|
(e, t, i) => {
|
|
2142
2142
|
if ("selection" in e)
|
|
2143
2143
|
switch (e.selection) {
|
|
@@ -2225,23 +2225,23 @@ function iO(n) {
|
|
|
2225
2225
|
} = n;
|
|
2226
2226
|
let { actions: d } = n;
|
|
2227
2227
|
d = d.filter((x) => !Oz(x, a)), d = sse(d);
|
|
2228
|
-
const [h, f] =
|
|
2228
|
+
const [h, f] = He(!1), g = ct(
|
|
2229
2229
|
() => !d.every(
|
|
2230
2230
|
(x) => !("selection" in x) || x.selection !== li.Multiple
|
|
2231
2231
|
),
|
|
2232
2232
|
[d]
|
|
2233
|
-
), m =
|
|
2233
|
+
), m = ct(
|
|
2234
2234
|
() => d.find(
|
|
2235
2235
|
(x) => x.type !== lr.Seperator && x.icon !== void 0
|
|
2236
2236
|
) !== void 0,
|
|
2237
2237
|
[d]
|
|
2238
|
-
), p =
|
|
2238
|
+
), p = ct(
|
|
2239
2239
|
() => d.find(
|
|
2240
2240
|
(x) => x.type !== lr.Seperator && x.type === lr.Switch
|
|
2241
2241
|
) !== void 0,
|
|
2242
2242
|
[d]
|
|
2243
2243
|
);
|
|
2244
|
-
if (
|
|
2244
|
+
if (St(() => {
|
|
2245
2245
|
s == null || s(r ?? "default", h);
|
|
2246
2246
|
}, [h, r, s, n]), d.length === 0)
|
|
2247
2247
|
return /* @__PURE__ */ L.jsx(L.Fragment, {});
|
|
@@ -2526,14 +2526,14 @@ function hse(n) {
|
|
|
2526
2526
|
function w1(n) {
|
|
2527
2527
|
const { actions: e, selectedItem: t, iconOnly: i, onOpen: r } = n, s = eo(
|
|
2528
2528
|
n.collapse !== "never" && n.collapse !== "always" ? n.collapse ?? "lg" : "lg"
|
|
2529
|
-
), o = n.collapse !== "never" && (n.collapse === "always" || !s), a =
|
|
2529
|
+
), o = n.collapse !== "never" && (n.collapse === "always" || !s), a = ct(
|
|
2530
2530
|
() => e.filter((f) => !Oz(f, t)),
|
|
2531
2531
|
[e, t]
|
|
2532
|
-
), l =
|
|
2533
|
-
|
|
2532
|
+
), l = ct(() => o ? [] : a == null ? void 0 : a.filter(sP), [o, a]), c = ct(() => o ? a : (a == null ? void 0 : a.filter((f) => !sP(f))) ?? [], [o, a]), [u, d] = He({});
|
|
2533
|
+
St(() => {
|
|
2534
2534
|
Object.values(u).find((f) => f) ? r == null || r(!0) : r == null || r(!1);
|
|
2535
2535
|
}, [r, u]);
|
|
2536
|
-
const h =
|
|
2536
|
+
const h = qe((f, g) => {
|
|
2537
2537
|
d((m) => (m[f] !== g && (m = { ...m }, m[f] = g), m));
|
|
2538
2538
|
}, []);
|
|
2539
2539
|
return /* @__PURE__ */ L.jsxs(
|
|
@@ -2562,7 +2562,7 @@ function fse() {
|
|
|
2562
2562
|
return Vs(Rz);
|
|
2563
2563
|
}
|
|
2564
2564
|
function gse(n) {
|
|
2565
|
-
const [e, t] =
|
|
2565
|
+
const [e, t] = He([]), [i] = He(() => {
|
|
2566
2566
|
function r(l) {
|
|
2567
2567
|
t((c) => l ? c.filter(l) : []);
|
|
2568
2568
|
}
|
|
@@ -2673,7 +2673,7 @@ function ght(n) {
|
|
|
2673
2673
|
}
|
|
2674
2674
|
const mht = Vl(void 0), pht = Vl(() => null), Bz = Vl([void 0, () => alert("Use PageDialogProvider")]);
|
|
2675
2675
|
function mse(n) {
|
|
2676
|
-
const e =
|
|
2676
|
+
const e = He();
|
|
2677
2677
|
return /* @__PURE__ */ L.jsxs(Bz.Provider, { value: e, children: [
|
|
2678
2678
|
e[0] !== void 0 && e[0],
|
|
2679
2679
|
n.children
|
|
@@ -2738,7 +2738,7 @@ function M0(n) {
|
|
|
2738
2738
|
additionalControls: u,
|
|
2739
2739
|
placeholderText: d,
|
|
2740
2740
|
...h
|
|
2741
|
-
} = n, [f, g] =
|
|
2741
|
+
} = n, [f, g] = He(!1), m = qe(() => g((v) => !v), []), p = qe(
|
|
2742
2742
|
(v, b) => {
|
|
2743
2743
|
typeof b == "string" ? t == null || t(v, b) : t == null || t(v, b.value ?? ""), g(!1);
|
|
2744
2744
|
},
|
|
@@ -2788,7 +2788,7 @@ function L1() {
|
|
|
2788
2788
|
return n;
|
|
2789
2789
|
}
|
|
2790
2790
|
function vse(n) {
|
|
2791
|
-
const [e, t] =
|
|
2791
|
+
const [e, t] = He(() => {
|
|
2792
2792
|
const r = localStorage.getItem("theme"), s = r !== "dark" && r !== "light" ? window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : r;
|
|
2793
2793
|
let o = "comfortable";
|
|
2794
2794
|
switch (localStorage.getItem("tableLayout")) {
|
|
@@ -2825,7 +2825,7 @@ function vse(n) {
|
|
|
2825
2825
|
formLayout: l
|
|
2826
2826
|
};
|
|
2827
2827
|
return s === "dark" ? document.documentElement.classList.add("pf-theme-dark") : document.documentElement.classList.remove("pf-theme-dark"), c;
|
|
2828
|
-
}), i =
|
|
2828
|
+
}), i = qe((r) => {
|
|
2829
2829
|
localStorage.setItem("theme", r.theme ?? "system"), localStorage.setItem("tableLayout", r.tableLayout ?? "comfortable"), localStorage.setItem("formColumns", r.formColumns ?? "multiple"), localStorage.setItem("formLayout", r.formLayout ?? "vertical");
|
|
2830
2830
|
const s = r.theme !== "light" && r.theme !== "dark" ? window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : r.theme;
|
|
2831
2831
|
r.activeTheme = s, t(r), s === "dark" ? document.documentElement.classList.add("pf-theme-dark") : document.documentElement.classList.remove("pf-theme-dark");
|
|
@@ -2833,8 +2833,8 @@ function vse(n) {
|
|
|
2833
2833
|
return /* @__PURE__ */ L.jsx(x1.Provider, { value: [e, i], children: n.children });
|
|
2834
2834
|
}
|
|
2835
2835
|
function vht(n) {
|
|
2836
|
-
const [e, t] =
|
|
2837
|
-
return
|
|
2836
|
+
const [e, t] = He(!1), i = qe(() => t(!0), []), [r, s] = tu();
|
|
2837
|
+
return St(() => {
|
|
2838
2838
|
s(e ? /* @__PURE__ */ L.jsx(_se, { open: e, setOpen: t }) : void 0);
|
|
2839
2839
|
}, [e, s, n]), i;
|
|
2840
2840
|
}
|
|
@@ -7879,8 +7879,8 @@ const bae = vn.span`
|
|
|
7879
7879
|
white-space: nowrap;
|
|
7880
7880
|
`;
|
|
7881
7881
|
function yae(n) {
|
|
7882
|
-
const [e] = zi(), { author: t, onClick: i } = n, [r, s] =
|
|
7883
|
-
return
|
|
7882
|
+
const [e] = zi(), { author: t, onClick: i } = n, [r, s] = He(null);
|
|
7883
|
+
return St(() => {
|
|
7884
7884
|
if (n.format === "date-time" && typeof n.value == "string") {
|
|
7885
7885
|
s(_ae(n.value));
|
|
7886
7886
|
return;
|
|
@@ -7902,8 +7902,8 @@ function yae(n) {
|
|
|
7902
7902
|
] });
|
|
7903
7903
|
}
|
|
7904
7904
|
function wht(n) {
|
|
7905
|
-
const e =
|
|
7906
|
-
|
|
7905
|
+
const e = ct(() => new Date(n.start ?? 0).valueOf(), [n.start]), t = ct(() => new Date(n.finish ?? 0).valueOf(), [n.finish]), [i, r] = He(Math.max(0, t - e.valueOf()));
|
|
7906
|
+
St(() => {
|
|
7907
7907
|
const u = setInterval(() => {
|
|
7908
7908
|
e && (n.finish ? r(Math.max(0, t - e)) : r(Math.max(0, Date.now() - e)));
|
|
7909
7909
|
}, 1e3);
|
|
@@ -8007,7 +8007,7 @@ function kae(n) {
|
|
|
8007
8007
|
}
|
|
8008
8008
|
function dO() {
|
|
8009
8009
|
const n = Lae();
|
|
8010
|
-
return
|
|
8010
|
+
return qe(
|
|
8011
8011
|
(t) => {
|
|
8012
8012
|
t != null && t.startsWith("http") ? open(t, "_blank") : n ? n(t ?? "") : open(t, "_self");
|
|
8013
8013
|
},
|
|
@@ -8429,10 +8429,10 @@ const tle = () => fk || (fk = ele()), nle = vn.div`
|
|
|
8429
8429
|
`;
|
|
8430
8430
|
function tE(n) {
|
|
8431
8431
|
var s, o;
|
|
8432
|
-
const e = Sr(null), [t, i] =
|
|
8432
|
+
const e = Sr(null), [t, i] = He({
|
|
8433
8433
|
width: ((s = e.current) == null ? void 0 : s.clientWidth) ?? 0,
|
|
8434
8434
|
height: ((o = e.current) == null ? void 0 : o.clientWidth) ?? 0
|
|
8435
|
-
}), r =
|
|
8435
|
+
}), r = qe(
|
|
8436
8436
|
() => i((a) => {
|
|
8437
8437
|
var c, u;
|
|
8438
8438
|
const l = {
|
|
@@ -8443,17 +8443,17 @@ function tE(n) {
|
|
|
8443
8443
|
}),
|
|
8444
8444
|
[]
|
|
8445
8445
|
);
|
|
8446
|
-
return
|
|
8446
|
+
return St(() => r(), [e, r]), Lp(e, () => r()), /* @__PURE__ */ L.jsx(nle, { ref: e, className: n.className, children: /* @__PURE__ */ L.jsx(ile, { children: n.children(t) }) });
|
|
8447
8447
|
}
|
|
8448
8448
|
function nE(n) {
|
|
8449
|
-
const e = Sr(null), [t, i] =
|
|
8449
|
+
const e = Sr(null), [t, i] = He(0), [r, s] = He(0), o = qe(() => {
|
|
8450
8450
|
if (e.current) {
|
|
8451
8451
|
i(Math.min(1, e.current.scrollTop / 8));
|
|
8452
8452
|
const d = e.current.scrollHeight - e.current.scrollTop - e.current.clientHeight - 1;
|
|
8453
8453
|
s(Math.max(0, Math.min(1, d / 8)));
|
|
8454
8454
|
}
|
|
8455
8455
|
}, []);
|
|
8456
|
-
|
|
8456
|
+
St(() => o(), [o, n.children]), Lp(e, () => {
|
|
8457
8457
|
o();
|
|
8458
8458
|
});
|
|
8459
8459
|
const a = 0.2 * t, l = 0.2 * r, c = n.borderTop ? "thin solid var(--pf-global--BorderColor--100)" : "", u = n.borderBottom ? "thin solid var(--pf-global--BorderColor--100)" : "";
|
|
@@ -8517,7 +8517,7 @@ function nE(n) {
|
|
|
8517
8517
|
}
|
|
8518
8518
|
const YU = Vl({ columns: 1 }), $P = 1662 / 24;
|
|
8519
8519
|
function xht(n) {
|
|
8520
|
-
const e = Sr(null), [t, i] =
|
|
8520
|
+
const e = Sr(null), [t, i] = He(1);
|
|
8521
8521
|
return Hj(() => {
|
|
8522
8522
|
var r;
|
|
8523
8523
|
i(Math.max(1, Math.floor((((r = e.current) == null ? void 0 : r.clientWidth) ?? 0) / $P)));
|
|
@@ -22975,11 +22975,11 @@ var RY = {}, PY = { exports: {} };
|
|
|
22975
22975
|
for (var z = 0, de = void 0, Se = void 0; z < this._ids.length; z++) {
|
|
22976
22976
|
var Ee = this._ids[z], Oe = v[2 * Ee], Ye = v[2 * Ee + 1];
|
|
22977
22977
|
if (!(z > 0 && Math.abs(Oe - de) <= t && Math.abs(Ye - Se) <= t) && (de = Oe, Se = Ye, !(Ee === re || Ee === ne || Ee === X))) {
|
|
22978
|
-
for (var
|
|
22978
|
+
for (var Ue = 0, Rt = 0, kt = this._hashKey(Oe, Ye); Rt < this._hashSize && (Ue = k[(kt + Rt) % this._hashSize], !(Ue !== -1 && Ue !== y[Ue])); Rt++)
|
|
22979
22979
|
;
|
|
22980
|
-
|
|
22981
|
-
for (var Ae =
|
|
22982
|
-
if (Ae = Tt, Ae ===
|
|
22980
|
+
Ue = b[Ue];
|
|
22981
|
+
for (var Ae = Ue, Tt = void 0; Tt = y[Ae], !l(Oe, Ye, v[2 * Ae], v[2 * Ae + 1], v[2 * Tt], v[2 * Tt + 1]); )
|
|
22982
|
+
if (Ae = Tt, Ae === Ue) {
|
|
22983
22983
|
Ae = -1;
|
|
22984
22984
|
break;
|
|
22985
22985
|
}
|
|
@@ -22988,7 +22988,7 @@ var RY = {}, PY = { exports: {} };
|
|
|
22988
22988
|
w[Ee] = this._legalize($t + 2), w[Ae] = $t, j++;
|
|
22989
22989
|
for (var Vn = y[Ae]; Tt = y[Vn], l(Oe, Ye, v[2 * Vn], v[2 * Vn + 1], v[2 * Tt], v[2 * Tt + 1]); )
|
|
22990
22990
|
$t = this._addTriangle(Vn, Ee, Tt, w[Ee], -1, w[Vn]), w[Ee] = this._legalize($t + 2), y[Vn] = Vn, j--, Vn = Tt;
|
|
22991
|
-
if (Ae ===
|
|
22991
|
+
if (Ae === Ue)
|
|
22992
22992
|
for (; Tt = b[Ae], l(Oe, Ye, v[2 * Tt], v[2 * Tt + 1], v[2 * Ae], v[2 * Ae + 1]); )
|
|
22993
22993
|
$t = this._addTriangle(Tt, Ee, Ae, -1, w[Ae], w[Tt]), this._legalize($t + 2), w[Tt] = $t, y[Ae] = Ae, j--, Ae = Tt;
|
|
22994
22994
|
this._hullStart = b[Ee] = Ae, y[Ae] = b[Vn] = Ee, y[Ee] = Vn, k[this._hashKey(Oe, Ye)] = Ee, k[this._hashKey(v[2 * Ae], v[2 * Ae + 1])] = Ae;
|
|
@@ -28299,7 +28299,7 @@ function Uk(n) {
|
|
|
28299
28299
|
}
|
|
28300
28300
|
var kFe = function(e, t) {
|
|
28301
28301
|
var i = Sr();
|
|
28302
|
-
return
|
|
28302
|
+
return St(function() {
|
|
28303
28303
|
i.current = t ? i.current : e;
|
|
28304
28304
|
}, [e, t]), i.current;
|
|
28305
28305
|
};
|
|
@@ -28321,8 +28321,8 @@ function ho(n) {
|
|
|
28321
28321
|
function g() {
|
|
28322
28322
|
return o.getFixedT(null, c.nsMode === "fallback" ? h : h[0], d);
|
|
28323
28323
|
}
|
|
28324
|
-
var m =
|
|
28325
|
-
|
|
28324
|
+
var m = He(g), p = LFe(m, 2), _ = p[0], v = p[1], b = h.join(), y = kFe(b), w = Sr(!0);
|
|
28325
|
+
St(function() {
|
|
28326
28326
|
var D = c.bindI18n, E = c.bindI18nStore;
|
|
28327
28327
|
w.current = !0, !f && !u && Y9(o, h, function() {
|
|
28328
28328
|
w.current && v(g);
|
|
@@ -28339,7 +28339,7 @@ function ho(n) {
|
|
|
28339
28339
|
};
|
|
28340
28340
|
}, [o, b]);
|
|
28341
28341
|
var k = Sr(!0);
|
|
28342
|
-
|
|
28342
|
+
St(function() {
|
|
28343
28343
|
w.current && !k.current && v(g), k.current = !1;
|
|
28344
28344
|
}, [o, d]);
|
|
28345
28345
|
var x = [_, o, f];
|
|
@@ -28504,13 +28504,13 @@ function es(n) {
|
|
|
28504
28504
|
}
|
|
28505
28505
|
}
|
|
28506
28506
|
function uZ(n) {
|
|
28507
|
-
return
|
|
28507
|
+
return ct(
|
|
28508
28508
|
() => n.filter((e) => !(e.table === "hidden" || e.table === "description" || e.table === "expanded")),
|
|
28509
28509
|
[n]
|
|
28510
28510
|
);
|
|
28511
28511
|
}
|
|
28512
28512
|
function RFe(n) {
|
|
28513
|
-
return
|
|
28513
|
+
return ct(
|
|
28514
28514
|
() => n.filter(
|
|
28515
28515
|
(e) => e.list !== "hidden"
|
|
28516
28516
|
/* Hidden */
|
|
@@ -28519,7 +28519,7 @@ function RFe(n) {
|
|
|
28519
28519
|
);
|
|
28520
28520
|
}
|
|
28521
28521
|
function PFe(n) {
|
|
28522
|
-
return
|
|
28522
|
+
return ct(
|
|
28523
28523
|
() => n.filter(
|
|
28524
28524
|
(e) => e.card !== "hidden"
|
|
28525
28525
|
/* Hidden */
|
|
@@ -28528,7 +28528,7 @@ function PFe(n) {
|
|
|
28528
28528
|
);
|
|
28529
28529
|
}
|
|
28530
28530
|
function dZ(n) {
|
|
28531
|
-
return
|
|
28531
|
+
return ct(
|
|
28532
28532
|
() => n.filter(
|
|
28533
28533
|
(e) => e.modal !== "hidden"
|
|
28534
28534
|
/* Hidden */
|
|
@@ -28548,22 +28548,22 @@ function Tht(n, e) {
|
|
|
28548
28548
|
}
|
|
28549
28549
|
}
|
|
28550
28550
|
function FFe(n) {
|
|
28551
|
-
return
|
|
28551
|
+
return ct(
|
|
28552
28552
|
() => n.filter((e) => e.table === "hidden" ? !1 : e.table === "description"),
|
|
28553
28553
|
[n]
|
|
28554
28554
|
);
|
|
28555
28555
|
}
|
|
28556
28556
|
function BFe(n) {
|
|
28557
|
-
return
|
|
28557
|
+
return ct(
|
|
28558
28558
|
() => n.filter((e) => e.table === "hidden" ? !1 : e.table === "expanded"),
|
|
28559
28559
|
[n]
|
|
28560
28560
|
);
|
|
28561
28561
|
}
|
|
28562
28562
|
function Iht(n) {
|
|
28563
|
-
return
|
|
28563
|
+
return ct(() => n.map((e) => ({ ...e, sort: void 0 })), [n]);
|
|
28564
28564
|
}
|
|
28565
28565
|
function Aht(n) {
|
|
28566
|
-
return
|
|
28566
|
+
return ct(
|
|
28567
28567
|
() => n.map((e) => ({
|
|
28568
28568
|
...e,
|
|
28569
28569
|
table: e.table === "expanded" ? void 0 : e.table
|
|
@@ -28648,9 +28648,9 @@ function HFe(n) {
|
|
|
28648
28648
|
}), o;
|
|
28649
28649
|
}
|
|
28650
28650
|
function jFe(n) {
|
|
28651
|
-
const [e, t] =
|
|
28651
|
+
const [e, t] = He(!1), i = eo("sm"), [r] = zi(), { pageItems: s, selectedItems: o, selectItems: a, unselectAll: l } = n, c = n.itemCount !== void 0 && n.itemCount > 0 && s && s.length > 0 && (s ?? []).every((p) => o == null ? void 0 : o.includes(p)), u = qe(() => {
|
|
28652
28652
|
c ? l == null || l() : a == null || a(s ?? []);
|
|
28653
|
-
}, [c, l, a, s]), d =
|
|
28653
|
+
}, [c, l, a, s]), d = ct(() => i ? o && o.length > 0 ? `${o.length} selected` : "" : o && o.length > 0 ? `${o.length}` : "", [i, o]), h = ct(() => {
|
|
28654
28654
|
const p = o ? o.length : 0;
|
|
28655
28655
|
return /* @__PURE__ */ L.jsx(
|
|
28656
28656
|
Uj,
|
|
@@ -28671,7 +28671,7 @@ function jFe(n) {
|
|
|
28671
28671
|
onToggle: (_) => t(_)
|
|
28672
28672
|
}
|
|
28673
28673
|
);
|
|
28674
|
-
}, [o, c, u, d]), f =
|
|
28674
|
+
}, [o, c, u, d]), f = ct(() => /* @__PURE__ */ L.jsx(
|
|
28675
28675
|
VC,
|
|
28676
28676
|
{
|
|
28677
28677
|
id: "select-none",
|
|
@@ -28681,7 +28681,7 @@ function jFe(n) {
|
|
|
28681
28681
|
children: n.selectNoneText ?? r.selectNone
|
|
28682
28682
|
},
|
|
28683
28683
|
"select-none"
|
|
28684
|
-
), [n.selectNoneText, r.selectNone, l]), g =
|
|
28684
|
+
), [n.selectNoneText, r.selectNone, l]), g = ct(() => /* @__PURE__ */ L.jsx(
|
|
28685
28685
|
VC,
|
|
28686
28686
|
{
|
|
28687
28687
|
id: "select-page",
|
|
@@ -28691,7 +28691,7 @@ function jFe(n) {
|
|
|
28691
28691
|
children: `Select ${(s == null ? void 0 : s.length) ?? 0} page items`
|
|
28692
28692
|
},
|
|
28693
28693
|
"select-page"
|
|
28694
|
-
), [a, s]), m =
|
|
28694
|
+
), [a, s]), m = ct(
|
|
28695
28695
|
() => [f, g],
|
|
28696
28696
|
[f, g]
|
|
28697
28697
|
);
|
|
@@ -30285,7 +30285,7 @@ const pM = (n) => {
|
|
|
30285
30285
|
};
|
|
30286
30286
|
pM.displayName = "SelectOption";
|
|
30287
30287
|
function zh(n) {
|
|
30288
|
-
const { t: e } = ho(), { id: t, icon: i, value: r, onSelect: s, options: o, placeholder: a } = n, [l, c] =
|
|
30288
|
+
const { t: e } = ho(), { id: t, icon: i, value: r, onSelect: s, options: o, placeholder: a } = n, [l, c] = He(!1), u = ct(
|
|
30289
30289
|
() => o.find((v) => r === v.value),
|
|
30290
30290
|
[o, r]
|
|
30291
30291
|
), d = (v) => /* @__PURE__ */ L.jsxs(
|
|
@@ -30307,22 +30307,22 @@ function zh(n) {
|
|
|
30307
30307
|
u ? u.label : /* @__PURE__ */ L.jsx("span", { className: "page-select-placeholder", children: a })
|
|
30308
30308
|
]
|
|
30309
30309
|
}
|
|
30310
|
-
), h =
|
|
30310
|
+
), h = qe(
|
|
30311
30311
|
(v, b) => {
|
|
30312
30312
|
const y = o.find((w) => w.key !== void 0 ? w.key === b : w.label === b);
|
|
30313
30313
|
y && (s(y.value), c(!1));
|
|
30314
30314
|
},
|
|
30315
30315
|
[s, o]
|
|
30316
|
-
), [f, g] =
|
|
30317
|
-
|
|
30316
|
+
), [f, g] = He(""), m = Sr(null);
|
|
30317
|
+
St(() => {
|
|
30318
30318
|
g(""), l && m.current && m.current.focus();
|
|
30319
|
-
}, [l]),
|
|
30319
|
+
}, [l]), St(() => {
|
|
30320
30320
|
n.isRequired && !u && o.length > 0 && s(o[0].value);
|
|
30321
30321
|
}, [s, o, n.isRequired, u]);
|
|
30322
|
-
const p =
|
|
30322
|
+
const p = ct(
|
|
30323
30323
|
() => o.filter((v) => f === "" ? !0 : v.label.toLowerCase().includes(f.toLowerCase())),
|
|
30324
30324
|
[o, f]
|
|
30325
|
-
), _ =
|
|
30325
|
+
), _ = ct(
|
|
30326
30326
|
() => p.length > 10 || f,
|
|
30327
30327
|
[f, p.length]
|
|
30328
30328
|
);
|
|
@@ -30368,14 +30368,14 @@ function EWe(n) {
|
|
|
30368
30368
|
function l(f) {
|
|
30369
30369
|
n.options.find((m) => m.value === f) && t(() => [f]);
|
|
30370
30370
|
}
|
|
30371
|
-
const [c, u] =
|
|
30371
|
+
const [c, u] = He(() => {
|
|
30372
30372
|
if (e && e.length > 1)
|
|
30373
30373
|
return e[1];
|
|
30374
|
-
}), [d, h] =
|
|
30374
|
+
}), [d, h] = He(() => {
|
|
30375
30375
|
if (e && e.length > 2)
|
|
30376
30376
|
return e[2];
|
|
30377
30377
|
});
|
|
30378
|
-
return
|
|
30378
|
+
return St(() => {
|
|
30379
30379
|
if (a && a.isCustom) {
|
|
30380
30380
|
const f = [a.value];
|
|
30381
30381
|
c && (f.push(c), d && f.push(d)), t(() => f);
|
|
@@ -30435,7 +30435,7 @@ function TWe(n) {
|
|
|
30435
30435
|
] });
|
|
30436
30436
|
}
|
|
30437
30437
|
function IWe(n) {
|
|
30438
|
-
const { t: e } = ho(), { id: t, icon: i, placeholder: r, values: s, onSelect: o, options: a, variant: l, disableClearSelection: c } = n, [u, d] =
|
|
30438
|
+
const { t: e } = ho(), { id: t, icon: i, placeholder: r, values: s, onSelect: o, options: a, variant: l, disableClearSelection: c } = n, [u, d] = He(!1), h = ct(
|
|
30439
30439
|
() => a.filter((w) => s == null ? !1 : s.includes(w.value)),
|
|
30440
30440
|
[a, s]
|
|
30441
30441
|
), f = (w) => /* @__PURE__ */ L.jsxs(
|
|
@@ -30477,7 +30477,7 @@ function IWe(n) {
|
|
|
30477
30477
|
] }) }) : /* @__PURE__ */ L.jsx("span", { className: "page-select-placeholder", children: r })
|
|
30478
30478
|
]
|
|
30479
30479
|
}
|
|
30480
|
-
), g =
|
|
30480
|
+
), g = ct(() => h.map((w) => w.label), [h]), m = qe(
|
|
30481
30481
|
(w, k) => {
|
|
30482
30482
|
o((x) => {
|
|
30483
30483
|
const D = a.find((E) => E.key !== void 0 ? E.key === k : E.label === k);
|
|
@@ -30485,14 +30485,14 @@ function IWe(n) {
|
|
|
30485
30485
|
});
|
|
30486
30486
|
},
|
|
30487
30487
|
[o, a]
|
|
30488
|
-
), [p, _] =
|
|
30489
|
-
|
|
30488
|
+
), [p, _] = He(""), v = Sr(null);
|
|
30489
|
+
St(() => {
|
|
30490
30490
|
_(""), u && v.current && v.current.focus();
|
|
30491
30491
|
}, [u]);
|
|
30492
|
-
const b =
|
|
30492
|
+
const b = ct(
|
|
30493
30493
|
() => a.filter((w) => p === "" ? !0 : w.label.toLowerCase().includes(p.toLowerCase())),
|
|
30494
30494
|
[a, p]
|
|
30495
|
-
), y =
|
|
30495
|
+
), y = ct(
|
|
30496
30496
|
() => b.length > 10 || p,
|
|
30497
30497
|
[p, b.length]
|
|
30498
30498
|
);
|
|
@@ -30562,7 +30562,7 @@ function NWe(n) {
|
|
|
30562
30562
|
);
|
|
30563
30563
|
}
|
|
30564
30564
|
function OWe(n) {
|
|
30565
|
-
const { t: e } = ho(), [t, i] =
|
|
30565
|
+
const { t: e } = ho(), [t, i] = He("");
|
|
30566
30566
|
let r = n.placeholder;
|
|
30567
30567
|
if (!r)
|
|
30568
30568
|
switch (n.comparison) {
|
|
@@ -30625,7 +30625,7 @@ function OWe(n) {
|
|
|
30625
30625
|
var MWe = /* @__PURE__ */ ((n) => (n[n.Text = 0] = "Text", n[n.SingleSelect = 1] = "SingleSelect", n[n.MultiSelect = 2] = "MultiSelect", n[n.DateRange = 3] = "DateRange", n))(MWe || {});
|
|
30626
30626
|
function uF(n) {
|
|
30627
30627
|
var l;
|
|
30628
|
-
const { toolbarFilters: e, filterState: t, setFilterState: i } = n, [r, s] =
|
|
30628
|
+
const { toolbarFilters: e, filterState: t, setFilterState: i } = n, [r, s] = He(
|
|
30629
30629
|
() => e && (e == null ? void 0 : e.length) > 0 ? e[0].key : ""
|
|
30630
30630
|
), o = e == null ? void 0 : e.find((c) => c.key === r);
|
|
30631
30631
|
if (!o)
|
|
@@ -30635,7 +30635,7 @@ function uF(n) {
|
|
|
30635
30635
|
if (e.length === 0)
|
|
30636
30636
|
return /* @__PURE__ */ L.jsx(L.Fragment, {});
|
|
30637
30637
|
let a = e.length === 1;
|
|
30638
|
-
return e.length >= 1 && (e[0].type === 2 && e[0].isPinned || e[0].type === 1 && e[0].isPinned && (t[e[0].key] == null || ((l = t[e[0].key]) == null ? void 0 : l.length) === 0)) && (a = !1), /* @__PURE__ */ L.jsx(L.Fragment, { children: e.length === 1 ? /* @__PURE__ */ L.
|
|
30638
|
+
return e.length >= 1 && (e[0].type === 2 && e[0].isPinned || e[0].type === 1 && e[0].isPinned && (t[e[0].key] == null || ((l = t[e[0].key]) == null ? void 0 : l.length) === 0)) && (a = !1), /* @__PURE__ */ L.jsx(L.Fragment, { children: e.length === 1 ? /* @__PURE__ */ L.jsxs(Gs, { children: [
|
|
30639
30639
|
a && /* @__PURE__ */ L.jsx("div", { style: { marginTop: 6, marginRight: 6, whiteSpace: "nowrap" }, children: e[0].label }),
|
|
30640
30640
|
/* @__PURE__ */ L.jsx(
|
|
30641
30641
|
dF,
|
|
@@ -30646,7 +30646,7 @@ function uF(n) {
|
|
|
30646
30646
|
setFilterState: i
|
|
30647
30647
|
}
|
|
30648
30648
|
)
|
|
30649
|
-
] })
|
|
30649
|
+
] }) : /* @__PURE__ */ L.jsxs(Gs, { children: [
|
|
30650
30650
|
/* @__PURE__ */ L.jsx(
|
|
30651
30651
|
zh,
|
|
30652
30652
|
{
|
|
@@ -30743,7 +30743,7 @@ function RWe(n) {
|
|
|
30743
30743
|
] }) });
|
|
30744
30744
|
}
|
|
30745
30745
|
function dF(n) {
|
|
30746
|
-
const { filter: e, filterState: t, setFilterState: i } = n, r = t == null ? void 0 : t[e.key], s =
|
|
30746
|
+
const { filter: e, filterState: t, setFilterState: i } = n, r = t == null ? void 0 : t[e.key], s = qe(
|
|
30747
30747
|
(a) => {
|
|
30748
30748
|
i((l) => {
|
|
30749
30749
|
const c = { ...l }, u = c[e.key] ?? [];
|
|
@@ -30751,7 +30751,7 @@ function dF(n) {
|
|
|
30751
30751
|
});
|
|
30752
30752
|
},
|
|
30753
30753
|
[e.key, i]
|
|
30754
|
-
), o =
|
|
30754
|
+
), o = qe(
|
|
30755
30755
|
(a) => {
|
|
30756
30756
|
i((l) => {
|
|
30757
30757
|
const c = { ...l }, u = c[e.key] ?? [];
|
|
@@ -30811,7 +30811,7 @@ function dF(n) {
|
|
|
30811
30811
|
}
|
|
30812
30812
|
}
|
|
30813
30813
|
function PWe(n) {
|
|
30814
|
-
const { sort: e, setSort: t, sortDirection: i, setSortDirection: r, sortOptions: s } = n, o = s == null ? void 0 : s.find((u) => u.value === e), a = o ? o.type : void 0, [l] = zi(), c =
|
|
30814
|
+
const { sort: e, setSort: t, sortDirection: i, setSortDirection: r, sortOptions: s } = n, o = s == null ? void 0 : s.find((u) => u.value === e), a = o ? o.type : void 0, [l] = zi(), c = ct(() => {
|
|
30815
30815
|
switch (a) {
|
|
30816
30816
|
case "text":
|
|
30817
30817
|
switch (i) {
|
|
@@ -30866,7 +30866,7 @@ function PWe(n) {
|
|
|
30866
30866
|
] }) });
|
|
30867
30867
|
}
|
|
30868
30868
|
function FWe(n) {
|
|
30869
|
-
const { sortOptions: e, sort: t, setSort: i, setSortDirection: r } = n, s =
|
|
30869
|
+
const { sortOptions: e, sort: t, setSort: i, setSortDirection: r } = n, s = qe(
|
|
30870
30870
|
(o) => {
|
|
30871
30871
|
if (o) {
|
|
30872
30872
|
const a = e.find((l) => l.value === o);
|
|
@@ -30889,7 +30889,7 @@ function FWe(n) {
|
|
|
30889
30889
|
);
|
|
30890
30890
|
}
|
|
30891
30891
|
function BWe(n) {
|
|
30892
|
-
return
|
|
30892
|
+
return ct(() => {
|
|
30893
30893
|
const t = [];
|
|
30894
30894
|
for (const i of n)
|
|
30895
30895
|
if (i.sort) {
|
|
@@ -31033,15 +31033,15 @@ function $We(n) {
|
|
|
31033
31033
|
setSortDirection: m,
|
|
31034
31034
|
sortOptions: p,
|
|
31035
31035
|
clearAllFilters: _
|
|
31036
|
-
} = n, v =
|
|
31036
|
+
} = n, v = qe(() => {
|
|
31037
31037
|
_ ? _() : c && c({});
|
|
31038
31038
|
}, [c, _]), b = eo("md"), { viewType: y, setViewType: w } = n;
|
|
31039
31039
|
let { toolbarActions: k } = n;
|
|
31040
31040
|
k = k ?? [];
|
|
31041
|
-
const x =
|
|
31041
|
+
const x = qe(
|
|
31042
31042
|
(N, P) => r ? r(P) : null,
|
|
31043
31043
|
[r]
|
|
31044
|
-
), D =
|
|
31044
|
+
), D = qe(
|
|
31045
31045
|
(N, P) => s ? s(P) : null,
|
|
31046
31046
|
[s]
|
|
31047
31047
|
), E = o !== void 0, O = k !== void 0 && k.length > 0, A = n.showSelect === !0 || a !== void 0 && k && k.find(
|
|
@@ -31211,8 +31211,8 @@ function Mht(n, e, t) {
|
|
|
31211
31211
|
f,
|
|
31212
31212
|
e,
|
|
31213
31213
|
t == null ? void 0 : t.search
|
|
31214
|
-
), { paged: b, page: y, setPage: w, perPage: k, setPerPage: x } = V2(m), D =
|
|
31215
|
-
return
|
|
31214
|
+
), { paged: b, page: y, setPage: w, perPage: k, setPerPage: x } = V2(m), D = qe(() => a(b), [b, a]), E = qe(() => a(m), [m, a]);
|
|
31215
|
+
return ct(
|
|
31216
31216
|
() => ({
|
|
31217
31217
|
allSelected: c,
|
|
31218
31218
|
filtered: f,
|
|
@@ -31264,8 +31264,8 @@ function Mht(n, e, t) {
|
|
|
31264
31264
|
);
|
|
31265
31265
|
}
|
|
31266
31266
|
function DZ(n, e, t) {
|
|
31267
|
-
const [i, r] =
|
|
31268
|
-
|
|
31267
|
+
const [i, r] = He(() => t ? t.reduce((g, m) => (g[e(m)] = m, g), {}) : {});
|
|
31268
|
+
St(() => {
|
|
31269
31269
|
r((g) => {
|
|
31270
31270
|
let m = !1;
|
|
31271
31271
|
return n.forEach((p) => {
|
|
@@ -31274,7 +31274,7 @@ function DZ(n, e, t) {
|
|
|
31274
31274
|
}), m ? { ...g } : g;
|
|
31275
31275
|
});
|
|
31276
31276
|
}, [n, e]);
|
|
31277
|
-
const s =
|
|
31277
|
+
const s = qe(
|
|
31278
31278
|
(g) => {
|
|
31279
31279
|
r((m) => {
|
|
31280
31280
|
const p = e(g);
|
|
@@ -31282,7 +31282,7 @@ function DZ(n, e, t) {
|
|
|
31282
31282
|
});
|
|
31283
31283
|
},
|
|
31284
31284
|
[e]
|
|
31285
|
-
), o =
|
|
31285
|
+
), o = qe(
|
|
31286
31286
|
(g) => {
|
|
31287
31287
|
r((m) => {
|
|
31288
31288
|
const p = e(g);
|
|
@@ -31290,13 +31290,13 @@ function DZ(n, e, t) {
|
|
|
31290
31290
|
});
|
|
31291
31291
|
},
|
|
31292
31292
|
[e]
|
|
31293
|
-
), a =
|
|
31293
|
+
), a = qe(
|
|
31294
31294
|
(g) => {
|
|
31295
31295
|
const m = e(g);
|
|
31296
31296
|
return i[m] !== void 0;
|
|
31297
31297
|
},
|
|
31298
31298
|
[e, i]
|
|
31299
|
-
), l =
|
|
31299
|
+
), l = qe(
|
|
31300
31300
|
(g) => {
|
|
31301
31301
|
r((m) => {
|
|
31302
31302
|
m = { ...m };
|
|
@@ -31308,19 +31308,19 @@ function DZ(n, e, t) {
|
|
|
31308
31308
|
});
|
|
31309
31309
|
},
|
|
31310
31310
|
[e]
|
|
31311
|
-
), c =
|
|
31311
|
+
), c = qe(() => l(n), [n, l]), u = qe(
|
|
31312
31312
|
(g) => {
|
|
31313
31313
|
for (const m of g)
|
|
31314
31314
|
o(m);
|
|
31315
31315
|
},
|
|
31316
31316
|
[o]
|
|
31317
|
-
), d =
|
|
31317
|
+
), d = qe(() => {
|
|
31318
31318
|
r((g) => Object.keys(g).length > 0 ? {} : g);
|
|
31319
|
-
}, []), h =
|
|
31319
|
+
}, []), h = ct(() => Object.values(i), [i]), f = ct(
|
|
31320
31320
|
() => h.length === n.length,
|
|
31321
31321
|
[n.length, h.length]
|
|
31322
31322
|
);
|
|
31323
|
-
return
|
|
31323
|
+
return ct(
|
|
31324
31324
|
() => ({
|
|
31325
31325
|
selectedItems: h,
|
|
31326
31326
|
selectItem: s,
|
|
@@ -31348,8 +31348,8 @@ function DZ(n, e, t) {
|
|
|
31348
31348
|
);
|
|
31349
31349
|
}
|
|
31350
31350
|
function KWe(n, e) {
|
|
31351
|
-
const [t, i] =
|
|
31352
|
-
|
|
31351
|
+
const [t, i] = He({});
|
|
31352
|
+
St(() => {
|
|
31353
31353
|
i((f) => {
|
|
31354
31354
|
let g = !1;
|
|
31355
31355
|
const m = n ? n.reduce((v, b) => {
|
|
@@ -31367,7 +31367,7 @@ function KWe(n, e) {
|
|
|
31367
31367
|
return g ? { ...f } : f;
|
|
31368
31368
|
});
|
|
31369
31369
|
}, [n, e]);
|
|
31370
|
-
const r =
|
|
31370
|
+
const r = qe(
|
|
31371
31371
|
(f) => {
|
|
31372
31372
|
i((g) => {
|
|
31373
31373
|
const m = e(f);
|
|
@@ -31375,7 +31375,7 @@ function KWe(n, e) {
|
|
|
31375
31375
|
});
|
|
31376
31376
|
},
|
|
31377
31377
|
[e]
|
|
31378
|
-
), s =
|
|
31378
|
+
), s = qe(
|
|
31379
31379
|
(f) => {
|
|
31380
31380
|
i((g) => {
|
|
31381
31381
|
const m = e(f);
|
|
@@ -31383,19 +31383,19 @@ function KWe(n, e) {
|
|
|
31383
31383
|
});
|
|
31384
31384
|
},
|
|
31385
31385
|
[e]
|
|
31386
|
-
), o =
|
|
31386
|
+
), o = qe(
|
|
31387
31387
|
(f) => {
|
|
31388
31388
|
for (const g of f)
|
|
31389
31389
|
s(g);
|
|
31390
31390
|
},
|
|
31391
31391
|
[s]
|
|
31392
|
-
), a =
|
|
31392
|
+
), a = qe(
|
|
31393
31393
|
(f) => {
|
|
31394
31394
|
const g = e(f);
|
|
31395
31395
|
return t[g] !== void 0;
|
|
31396
31396
|
},
|
|
31397
31397
|
[e, t]
|
|
31398
|
-
), l =
|
|
31398
|
+
), l = qe(
|
|
31399
31399
|
(f) => {
|
|
31400
31400
|
i((g) => {
|
|
31401
31401
|
g = { ...g };
|
|
@@ -31407,15 +31407,15 @@ function KWe(n, e) {
|
|
|
31407
31407
|
});
|
|
31408
31408
|
},
|
|
31409
31409
|
[e]
|
|
31410
|
-
), c =
|
|
31410
|
+
), c = qe(() => {
|
|
31411
31411
|
l(n ?? []);
|
|
31412
|
-
}, [n, l]), u =
|
|
31412
|
+
}, [n, l]), u = qe(() => {
|
|
31413
31413
|
i((f) => Object.keys(f).length > 0 ? {} : f);
|
|
31414
|
-
}, []), d =
|
|
31414
|
+
}, []), d = ct(() => Object.values(t), [t]), h = ct(
|
|
31415
31415
|
() => d.length === (n == null ? void 0 : n.length),
|
|
31416
31416
|
[n, d.length]
|
|
31417
31417
|
);
|
|
31418
|
-
return
|
|
31418
|
+
return ct(
|
|
31419
31419
|
() => ({
|
|
31420
31420
|
selectedItems: d,
|
|
31421
31421
|
selectItem: r,
|
|
@@ -31443,20 +31443,20 @@ function KWe(n, e) {
|
|
|
31443
31443
|
);
|
|
31444
31444
|
}
|
|
31445
31445
|
function EZ(n) {
|
|
31446
|
-
const [e, t] =
|
|
31447
|
-
return
|
|
31446
|
+
const [e, t] = He(), { direction: i, sortFn: r } = e ?? {}, s = ct(() => n ? r ? i === "asc" ? [...n.sort(r)] : [...n.sort(r).reverse()] : n : [], [i, n, r]);
|
|
31447
|
+
return ct(() => ({ sorted: s, sort: e, setSort: t }), [e, s]);
|
|
31448
31448
|
}
|
|
31449
31449
|
function TZ(n, e) {
|
|
31450
31450
|
const t = Sr({
|
|
31451
31451
|
map: {}
|
|
31452
|
-
}), [i, r] =
|
|
31452
|
+
}), [i, r] = He(), s = qe(
|
|
31453
31453
|
(c) => r(() => c),
|
|
31454
31454
|
[]
|
|
31455
|
-
), [o, a] =
|
|
31456
|
-
|
|
31455
|
+
), [o, a] = He([]);
|
|
31456
|
+
St(() => {
|
|
31457
31457
|
t.current.map = {};
|
|
31458
31458
|
}, [i]);
|
|
31459
|
-
const l =
|
|
31459
|
+
const l = qe(
|
|
31460
31460
|
(c) => {
|
|
31461
31461
|
const u = e(c);
|
|
31462
31462
|
let d = t.current.map[u];
|
|
@@ -31464,9 +31464,9 @@ function TZ(n, e) {
|
|
|
31464
31464
|
},
|
|
31465
31465
|
[i, e]
|
|
31466
31466
|
);
|
|
31467
|
-
return
|
|
31467
|
+
return St(() => {
|
|
31468
31468
|
a(i ? n.filter(l) : n);
|
|
31469
|
-
}, [n, i, l]),
|
|
31469
|
+
}, [n, i, l]), ct(
|
|
31470
31470
|
function() {
|
|
31471
31471
|
return { filtered: o, setFilterFn: s };
|
|
31472
31472
|
},
|
|
@@ -31476,17 +31476,17 @@ function TZ(n, e) {
|
|
|
31476
31476
|
function GWe(n, e, t) {
|
|
31477
31477
|
const i = Sr({
|
|
31478
31478
|
map: {}
|
|
31479
|
-
}), [r, s] =
|
|
31479
|
+
}), [r, s] = He(), o = qe(
|
|
31480
31480
|
(f) => s(() => f),
|
|
31481
31481
|
[]
|
|
31482
|
-
), [a, l] =
|
|
31482
|
+
), [a, l] = He([]), [c, u] = He(t ?? ""), d = qe(
|
|
31483
31483
|
qWe((f) => u(f), 200),
|
|
31484
31484
|
[]
|
|
31485
31485
|
);
|
|
31486
|
-
|
|
31486
|
+
St(() => {
|
|
31487
31487
|
i.current.map = {};
|
|
31488
31488
|
}, [c, r]);
|
|
31489
|
-
const h =
|
|
31489
|
+
const h = qe(
|
|
31490
31490
|
(f) => {
|
|
31491
31491
|
const g = e(f);
|
|
31492
31492
|
let m = i.current.map[g];
|
|
@@ -31494,11 +31494,11 @@ function GWe(n, e, t) {
|
|
|
31494
31494
|
},
|
|
31495
31495
|
[e, r, c]
|
|
31496
31496
|
);
|
|
31497
|
-
return
|
|
31497
|
+
return St(() => {
|
|
31498
31498
|
l(
|
|
31499
31499
|
r && c ? n.map(h).filter((f) => f.score < 0.5).sort((f, g) => f.score - g.score).map((f) => f.item) : n
|
|
31500
31500
|
);
|
|
31501
|
-
}, [c, n, r, h]),
|
|
31501
|
+
}, [c, n, r, h]), ct(
|
|
31502
31502
|
function() {
|
|
31503
31503
|
return { searched: a, search: c, setSearch: d, setSearchFn: o };
|
|
31504
31504
|
},
|
|
@@ -31506,8 +31506,8 @@ function GWe(n, e, t) {
|
|
|
31506
31506
|
);
|
|
31507
31507
|
}
|
|
31508
31508
|
function V2(n) {
|
|
31509
|
-
const [e, t] =
|
|
31510
|
-
return
|
|
31509
|
+
const [e, t] = He([]), [i, r] = He(1), [s, o] = He(10);
|
|
31510
|
+
return St(() => {
|
|
31511
31511
|
t((a) => {
|
|
31512
31512
|
const l = n.slice((i - 1) * s, i * s);
|
|
31513
31513
|
if (a.length !== l.length)
|
|
@@ -31518,9 +31518,9 @@ function V2(n) {
|
|
|
31518
31518
|
return l;
|
|
31519
31519
|
return a;
|
|
31520
31520
|
});
|
|
31521
|
-
}, [i, s, n]),
|
|
31521
|
+
}, [i, s, n]), St(() => {
|
|
31522
31522
|
i > Math.ceil(n.length / s) && r(1);
|
|
31523
|
-
}, [i, s, n.length]),
|
|
31523
|
+
}, [i, s, n.length]), ct(() => ({ paged: e, page: i, setPage: r, perPage: s, setPerPage: o }), [i, e, s]);
|
|
31524
31524
|
}
|
|
31525
31525
|
const Kk = {
|
|
31526
31526
|
button: "pf-c-button",
|
|
@@ -31616,7 +31616,7 @@ function YWe(n) {
|
|
|
31616
31616
|
unselectAll: d,
|
|
31617
31617
|
hideColumnHeaders: h,
|
|
31618
31618
|
isSelectableWithCheckbox: f
|
|
31619
|
-
} = n, [g, m] =
|
|
31619
|
+
} = n, [g, m] = He(null), [p, _] = He(null), [v, b] = He(!1), y = Sr(null), w = (P) => {
|
|
31620
31620
|
if (y.current) {
|
|
31621
31621
|
const F = y.current.getBoundingClientRect();
|
|
31622
31622
|
return P.clientX > F.x && P.clientX < F.x + F.width && P.clientY > F.y && P.clientY < F.y + F.height;
|
|
@@ -31662,7 +31662,7 @@ function YWe(n) {
|
|
|
31662
31662
|
);
|
|
31663
31663
|
P.currentTarget.setAttribute("aria-pressed", "true"), _(F), m(Q);
|
|
31664
31664
|
}
|
|
31665
|
-
}, N =
|
|
31665
|
+
}, N = qe(
|
|
31666
31666
|
(P) => {
|
|
31667
31667
|
const F = r.findIndex((ie) => i(ie) === i(P)), Q = [...r];
|
|
31668
31668
|
Q[F] = P, s(Q);
|
|
@@ -31675,6 +31675,7 @@ function YWe(n) {
|
|
|
31675
31675
|
"aria-label": e("Table with draggable rows"),
|
|
31676
31676
|
className: v ? Kk.modifiers.dragOver : "",
|
|
31677
31677
|
variant: "compact",
|
|
31678
|
+
gridBreakPoint: "",
|
|
31678
31679
|
children: [
|
|
31679
31680
|
!h && /* @__PURE__ */ L.jsx(QN, { children: /* @__PURE__ */ L.jsxs(nd, { children: [
|
|
31680
31681
|
/* @__PURE__ */ L.jsx(Bc, {}),
|
|
@@ -31727,71 +31728,54 @@ function YWe(n) {
|
|
|
31727
31728
|
);
|
|
31728
31729
|
}
|
|
31729
31730
|
function ZWe(n) {
|
|
31730
|
-
const [e, t] = tu(), [i] =
|
|
31731
|
+
const [e, t] = tu(), [i] = He(() => n.keyFn), [r] = He(() => n.saveFn), [s] = He(() => n.loadFn), [o, a] = He(() => {
|
|
31731
31732
|
try {
|
|
31732
|
-
const
|
|
31733
|
-
if (typeof
|
|
31734
|
-
const
|
|
31735
|
-
if (Array.isArray(
|
|
31736
|
-
|
|
31737
|
-
const _ = [...n.items];
|
|
31738
|
-
return a(_, p), _;
|
|
31739
|
-
} else
|
|
31740
|
-
return p;
|
|
31733
|
+
const h = localStorage.getItem(n.id);
|
|
31734
|
+
if (typeof h == "string") {
|
|
31735
|
+
const f = JSON.parse(h);
|
|
31736
|
+
if (Array.isArray(f) && f.every((g) => typeof g == "object") && f.every((g) => "key" in g && "enabled" in g))
|
|
31737
|
+
return f;
|
|
31741
31738
|
}
|
|
31742
|
-
return n.items;
|
|
31743
31739
|
} catch {
|
|
31744
|
-
return n.items;
|
|
31745
31740
|
}
|
|
31746
|
-
})
|
|
31747
|
-
|
|
31748
|
-
|
|
31749
|
-
|
|
31750
|
-
|
|
31751
|
-
|
|
31752
|
-
|
|
31753
|
-
|
|
31754
|
-
|
|
31755
|
-
|
|
31756
|
-
|
|
31757
|
-
|
|
31758
|
-
|
|
31759
|
-
|
|
31741
|
+
}), l = ct(() => o ? n.items.map((h) => {
|
|
31742
|
+
if (s) {
|
|
31743
|
+
const f = o.find((g) => g.key === i(h));
|
|
31744
|
+
f && f.state && s(h, f.state);
|
|
31745
|
+
}
|
|
31746
|
+
return h;
|
|
31747
|
+
}).sort((h, f) => {
|
|
31748
|
+
const g = o.findIndex((p) => p.key === i(h)), m = o.findIndex((p) => p.key === i(f));
|
|
31749
|
+
return g === -1 && m === -1 ? 0 : g === -1 ? 1 : m === -1 ? -1 : g - m;
|
|
31750
|
+
}) : n.items, [o, i, s, n.items]), c = ct(() => o ? l.filter((h) => {
|
|
31751
|
+
const f = o.find((g) => g.key === i(h));
|
|
31752
|
+
return f ? f.enabled : !0;
|
|
31753
|
+
}) : l, [l, o, i]), u = qe(
|
|
31754
|
+
(h, f) => {
|
|
31755
|
+
const g = h.map((m) => ({
|
|
31756
|
+
key: i(m),
|
|
31757
|
+
enabled: f.includes(m),
|
|
31758
|
+
state: r ? r(m) : void 0
|
|
31759
|
+
}));
|
|
31760
|
+
a(g), localStorage.setItem(n.id, JSON.stringify(g));
|
|
31760
31761
|
},
|
|
31761
|
-
[n.id,
|
|
31762
|
-
)
|
|
31762
|
+
[i, n.id, r]
|
|
31763
|
+
);
|
|
31764
|
+
return { openManageItems: () => t(
|
|
31763
31765
|
/* @__PURE__ */ L.jsx(
|
|
31764
31766
|
XWe,
|
|
31765
31767
|
{
|
|
31766
31768
|
...n,
|
|
31767
31769
|
keyFn: i,
|
|
31768
31770
|
items: l,
|
|
31769
|
-
defaultSelectedItems:
|
|
31771
|
+
defaultSelectedItems: c,
|
|
31770
31772
|
onApplyChanges: u
|
|
31771
31773
|
}
|
|
31772
31774
|
)
|
|
31773
|
-
),
|
|
31774
|
-
() => l.filter((m) => r ? r(m) : !0),
|
|
31775
|
-
[r, l]
|
|
31776
|
-
), f = ze(() => s ? (m) => {
|
|
31777
|
-
s(m, !0), c((p) => [...p]);
|
|
31778
|
-
} : () => {
|
|
31779
|
-
alert("No setSelected callback provided");
|
|
31780
|
-
}, [s]), g = ze(() => s ? (m) => {
|
|
31781
|
-
s(m, !1), c((p) => [...p]);
|
|
31782
|
-
} : () => {
|
|
31783
|
-
alert("No setSelected callback provided");
|
|
31784
|
-
}, [s]);
|
|
31785
|
-
return {
|
|
31786
|
-
openModal: d,
|
|
31787
|
-
items: h,
|
|
31788
|
-
isSelected: r || (() => !1),
|
|
31789
|
-
selectItem: f,
|
|
31790
|
-
unselectItem: g
|
|
31791
|
-
};
|
|
31775
|
+
), managedItems: c };
|
|
31792
31776
|
}
|
|
31793
31777
|
function XWe(n) {
|
|
31794
|
-
const { t: e } = ho(), { title: t, description: i, columns: r, onApplyChanges: s } = n, [o] =
|
|
31778
|
+
const { t: e } = ho(), { title: t, description: i, columns: r, onApplyChanges: s } = n, [o] = He(() => n.keyFn), [a, l] = tu(), c = () => l(void 0), [u, d] = He(() => n.items), {
|
|
31795
31779
|
selectedItems: h,
|
|
31796
31780
|
isSelected: f,
|
|
31797
31781
|
selectItem: g,
|
|
@@ -31800,9 +31784,6 @@ function XWe(n) {
|
|
|
31800
31784
|
selectAll: _,
|
|
31801
31785
|
unselectAll: v
|
|
31802
31786
|
} = DZ(u, o, n.defaultSelectedItems), b = () => {
|
|
31803
|
-
var y, w;
|
|
31804
|
-
for (const k of u)
|
|
31805
|
-
h.includes(k) ? (w = n.setSelected) == null || w.call(n, k, !0) : (y = n.setSelected) == null || y.call(n, k, !1);
|
|
31806
31787
|
s(u, h), l(void 0);
|
|
31807
31788
|
};
|
|
31808
31789
|
return /* @__PURE__ */ L.jsxs(
|
|
@@ -31835,7 +31816,7 @@ function XWe(n) {
|
|
|
31835
31816
|
selectAll: _,
|
|
31836
31817
|
unselectAll: v,
|
|
31837
31818
|
hideColumnHeaders: n.hideColumnHeaders,
|
|
31838
|
-
isSelectableWithCheckbox: n.
|
|
31819
|
+
isSelectableWithCheckbox: n.hideSelection !== !0
|
|
31839
31820
|
}
|
|
31840
31821
|
) }),
|
|
31841
31822
|
/* @__PURE__ */ L.jsx(jC, {})
|
|
@@ -31844,7 +31825,7 @@ function XWe(n) {
|
|
|
31844
31825
|
);
|
|
31845
31826
|
}
|
|
31846
31827
|
function QWe(n, e, t, i, r) {
|
|
31847
|
-
const { t: s } = ho(), o =
|
|
31828
|
+
const { t: s } = ho(), o = ct(() => {
|
|
31848
31829
|
const d = [{ header: s("Column Name"), cell: (h) => h.header }];
|
|
31849
31830
|
return t || d.push({
|
|
31850
31831
|
header: s("Table View"),
|
|
@@ -32002,32 +31983,12 @@ function QWe(n, e, t, i, r) {
|
|
|
32002
31983
|
}
|
|
32003
31984
|
)
|
|
32004
31985
|
}), d;
|
|
32005
|
-
}, [r, i, t, s]), a =
|
|
32006
|
-
|
|
32007
|
-
|
|
32008
|
-
|
|
32009
|
-
|
|
32010
|
-
|
|
32011
|
-
} else {
|
|
32012
|
-
const m = f.find((p) => p.header === g.header);
|
|
32013
|
-
m && (g.table = m.table, g.list = m.list, g.card = m.card);
|
|
32014
|
-
}
|
|
32015
|
-
d.sort((g, m) => {
|
|
32016
|
-
if (g.id && m.id) {
|
|
32017
|
-
const p = f.findIndex((v) => v.id === g.id), _ = f.findIndex((v) => v.id === m.id);
|
|
32018
|
-
return p - _;
|
|
32019
|
-
} else {
|
|
32020
|
-
const p = f.findIndex((v) => v.header === g.header), _ = f.findIndex((v) => v.header === m.header);
|
|
32021
|
-
return p - _;
|
|
32022
|
-
}
|
|
32023
|
-
});
|
|
32024
|
-
}, []), l = ze(
|
|
32025
|
-
(d) => d.map((h) => {
|
|
32026
|
-
const { id: f, header: g, table: m, list: p, card: _ } = h;
|
|
32027
|
-
return { id: f, header: g, table: m, list: p, card: _ };
|
|
32028
|
-
}),
|
|
32029
|
-
[]
|
|
32030
|
-
), { openModal: c, items: u } = ZWe({
|
|
31986
|
+
}, [r, i, t, s]), a = qe((d, h) => {
|
|
31987
|
+
typeof h == "object" && h !== null && ("table" in h && typeof h.table == "string" ? d.table = h.table : d.table = void 0, "list" in h && typeof h.list == "string" ? d.list = h.list : d.list = void 0, "card" in h && typeof h.card == "string" ? d.card = h.card : d.card = void 0);
|
|
31988
|
+
}, []), l = qe((d) => {
|
|
31989
|
+
const { table: h, list: f, card: g } = d;
|
|
31990
|
+
return { table: h, list: f, card: g };
|
|
31991
|
+
}, []), { openManageItems: c, managedItems: u } = ZWe({
|
|
32031
31992
|
id: n,
|
|
32032
31993
|
title: s("Manage Columns"),
|
|
32033
31994
|
description: s("Manage the order, placement, and format of columns."),
|
|
@@ -32035,7 +31996,8 @@ function QWe(n, e, t, i, r) {
|
|
|
32035
31996
|
keyFn: (d) => d.id ?? d.header,
|
|
32036
31997
|
columns: o,
|
|
32037
31998
|
loadFn: a,
|
|
32038
|
-
saveFn: l
|
|
31999
|
+
saveFn: l,
|
|
32000
|
+
hideSelection: !0
|
|
32039
32001
|
});
|
|
32040
32002
|
return {
|
|
32041
32003
|
openColumnManagement: c,
|
|
@@ -32043,7 +32005,7 @@ function QWe(n, e, t, i, r) {
|
|
|
32043
32005
|
};
|
|
32044
32006
|
}
|
|
32045
32007
|
function JWe(n) {
|
|
32046
|
-
const { setPage: e, setPerPage: t } = n, i =
|
|
32008
|
+
const { setPage: e, setPerPage: t } = n, i = qe((o, a) => e(a), [e]), r = qe(
|
|
32047
32009
|
(o, a) => t(a),
|
|
32048
32010
|
[t]
|
|
32049
32011
|
), s = !eo("md");
|
|
@@ -32071,7 +32033,7 @@ function JWe(n) {
|
|
|
32071
32033
|
);
|
|
32072
32034
|
}
|
|
32073
32035
|
function eVe(n) {
|
|
32074
|
-
const e = n.size ?? 350, t = Sr(null), [i, r] =
|
|
32036
|
+
const e = n.size ?? 350, t = Sr(null), [i, r] = He("1fr"), s = qe(
|
|
32075
32037
|
(a) => {
|
|
32076
32038
|
let l = Math.min(n.maxColumns ?? 12, Math.max(Math.floor(a / e), 1));
|
|
32077
32039
|
l < 1 && (l = 1), r(() => new Array(l).fill("1fr").join(" "));
|
|
@@ -32126,7 +32088,7 @@ function cVe(n) {
|
|
|
32126
32088
|
itemActions: o,
|
|
32127
32089
|
showSelect: a,
|
|
32128
32090
|
defaultCardSubtitle: l
|
|
32129
|
-
} = n, c =
|
|
32091
|
+
} = n, c = ct(() => t(e), [e, t]), u = !!(i != null && i(e)), d = qe(() => {
|
|
32130
32092
|
i != null && i(e) ? s == null || s(e) : r == null || r(e);
|
|
32131
32093
|
}, [i, e, r, s]), h = o !== void 0 && o.length > 0, f = a || h;
|
|
32132
32094
|
return /* @__PURE__ */ L.jsxs(
|
|
@@ -32203,7 +32165,7 @@ function cVe(n) {
|
|
|
32203
32165
|
);
|
|
32204
32166
|
}
|
|
32205
32167
|
function uVe(n, e) {
|
|
32206
|
-
const t =
|
|
32168
|
+
const t = ct(() => {
|
|
32207
32169
|
let c, u, d;
|
|
32208
32170
|
const h = [];
|
|
32209
32171
|
let f;
|
|
@@ -32246,7 +32208,7 @@ function uVe(n, e) {
|
|
|
32246
32208
|
labelColumn: f
|
|
32247
32209
|
};
|
|
32248
32210
|
}, [n]), { nameColumn: i, subtitleColumn: r, descriptionColumn: s, countColumns: o, cardColumns: a, labelColumn: l } = t;
|
|
32249
|
-
return
|
|
32211
|
+
return ct(() => (c) => {
|
|
32250
32212
|
var f, g;
|
|
32251
32213
|
let u = !!s;
|
|
32252
32214
|
s != null && s.value && !s.value(c) && (u = !1);
|
|
@@ -32289,7 +32251,7 @@ function dVe(n) {
|
|
|
32289
32251
|
rowActions: a,
|
|
32290
32252
|
showSelect: l,
|
|
32291
32253
|
defaultSubtitle: c
|
|
32292
|
-
} = n, u = uVe(i, e), d =
|
|
32254
|
+
} = n, u = uVe(i, e), d = ct(() => /* @__PURE__ */ L.jsx(eVe, { size: 400, children: t == null ? void 0 : t.map((h) => /* @__PURE__ */ L.jsx(
|
|
32293
32255
|
cVe,
|
|
32294
32256
|
{
|
|
32295
32257
|
item: h,
|
|
@@ -32339,7 +32301,7 @@ function hVe(n) {
|
|
|
32339
32301
|
return /* @__PURE__ */ L.jsx(Zne, { "aria-label": "TODO", style: { marginTop: -1, maxWidth: "100%", overflow: "hidden" }, children: t == null ? void 0 : t.map(u) });
|
|
32340
32302
|
}
|
|
32341
32303
|
function fVe(n, e, t, i, r, s, o, a) {
|
|
32342
|
-
const l =
|
|
32304
|
+
const l = ct(() => {
|
|
32343
32305
|
let _, v, b;
|
|
32344
32306
|
const y = [];
|
|
32345
32307
|
let w;
|
|
@@ -32385,7 +32347,7 @@ function fVe(n, e, t, i, r, s, o, a) {
|
|
|
32385
32347
|
secondaryColumns: x,
|
|
32386
32348
|
labelColumn: w
|
|
32387
32349
|
};
|
|
32388
|
-
}, [n]), c =
|
|
32350
|
+
}, [n]), c = qe(
|
|
32389
32351
|
(_) => {
|
|
32390
32352
|
t != null && t(_) ? r == null || r(_) : i == null || i(_);
|
|
32391
32353
|
},
|
|
@@ -32399,7 +32361,7 @@ function fVe(n, e, t, i, r, s, o, a) {
|
|
|
32399
32361
|
secondaryColumns: m,
|
|
32400
32362
|
labelColumn: p
|
|
32401
32363
|
} = l;
|
|
32402
|
-
return
|
|
32364
|
+
return qe(
|
|
32403
32365
|
(_) => {
|
|
32404
32366
|
const v = e(_), b = t == null ? void 0 : t(_);
|
|
32405
32367
|
return /* @__PURE__ */ L.jsx(Xne, { "aria-labelledby": `data-list-${v}`, isExpanded: b, children: /* @__PURE__ */ L.jsxs(Qne, { children: [
|
|
@@ -32521,7 +32483,7 @@ function $2(n) {
|
|
|
32521
32483
|
n.disableCardView
|
|
32522
32484
|
), u = n.showSelect || (t == null ? void 0 : t.find(
|
|
32523
32485
|
(b) => "selection" in b && b.selection === li.Multiple
|
|
32524
|
-
)) !== void 0, d = !n.disableTableView, h = !n.disableListView, [f, g] =
|
|
32486
|
+
)) !== void 0, d = !n.disableTableView, h = !n.disableListView, [f, g] = He(() => {
|
|
32525
32487
|
switch (n.id ? localStorage.getItem(n.id + "-view") : void 0) {
|
|
32526
32488
|
case "table":
|
|
32527
32489
|
return Gn.Table;
|
|
@@ -32531,7 +32493,7 @@ function $2(n) {
|
|
|
32531
32493
|
return Gn.Cards;
|
|
32532
32494
|
}
|
|
32533
32495
|
return n.defaultTableView ?? (d ? Gn.Table : h ? Gn.List : Gn.Cards);
|
|
32534
|
-
}), m =
|
|
32496
|
+
}), m = qe(
|
|
32535
32497
|
(b) => {
|
|
32536
32498
|
g(b), n.id && localStorage.setItem(n.id + "-view", b);
|
|
32537
32499
|
},
|
|
@@ -32595,7 +32557,7 @@ function _Ve(n) {
|
|
|
32595
32557
|
clearAllFilters: u,
|
|
32596
32558
|
onSelect: d,
|
|
32597
32559
|
unselectAll: h
|
|
32598
|
-
} = n, f = uZ(n.tableColumns), g = FFe(n.tableColumns), m = BFe(n.tableColumns), p =
|
|
32560
|
+
} = n, f = uZ(n.tableColumns), g = FFe(n.tableColumns), m = BFe(n.tableColumns), p = ct(() => {
|
|
32599
32561
|
const E = [];
|
|
32600
32562
|
if (g.length)
|
|
32601
32563
|
for (const A of g)
|
|
@@ -32617,23 +32579,23 @@ function _Ve(n) {
|
|
|
32617
32579
|
)), n.expandedRow && E.push(n.expandedRow), E.length === 0 ? void 0 : E.length === 1 ? E[0] : (A) => /* @__PURE__ */ L.jsx(bl, { hasGutter: !0, style: { gap: 12 }, children: E.map((T) => T(A)) });
|
|
32618
32580
|
}, [g, m, o, n.expandedRow]), [_] = zi(), v = n.showSelect || (l == null ? void 0 : l.find(
|
|
32619
32581
|
(E) => "selection" in E && E.selection === li.Multiple
|
|
32620
|
-
)) !== void 0, b = Sr(null), [y, w] =
|
|
32582
|
+
)) !== void 0, b = Sr(null), [y, w] = He({
|
|
32621
32583
|
left: 0,
|
|
32622
32584
|
right: 0,
|
|
32623
32585
|
top: 0,
|
|
32624
32586
|
bottom: 0
|
|
32625
|
-
}), k =
|
|
32587
|
+
}), k = qe((E) => {
|
|
32626
32588
|
E && w({
|
|
32627
32589
|
top: E.scrollTop,
|
|
32628
32590
|
bottom: E.scrollHeight - E.clientHeight - E.scrollTop,
|
|
32629
32591
|
left: E.scrollLeft,
|
|
32630
32592
|
right: E.scrollWidth - E.clientWidth - E.scrollLeft
|
|
32631
32593
|
});
|
|
32632
|
-
}, []), x =
|
|
32594
|
+
}, []), x = qe(
|
|
32633
32595
|
(E) => k(E.currentTarget),
|
|
32634
32596
|
[k]
|
|
32635
32597
|
);
|
|
32636
|
-
Lp(b, () => k(b.current)),
|
|
32598
|
+
Lp(b, () => k(b.current)), St(() => k(b.current), [k]);
|
|
32637
32599
|
const D = L1();
|
|
32638
32600
|
return /* @__PURE__ */ L.jsxs(gVe, { className: "pf-c-scroll-inner-wrapper", ref: b, onScroll: x, children: [
|
|
32639
32601
|
/* @__PURE__ */ L.jsxs(
|
|
@@ -32704,7 +32666,7 @@ function bVe(n) {
|
|
|
32704
32666
|
showSelect: a,
|
|
32705
32667
|
onSelect: l,
|
|
32706
32668
|
expandedRow: c
|
|
32707
|
-
} = n, u =
|
|
32669
|
+
} = n, u = qe(
|
|
32708
32670
|
(d, h) => {
|
|
32709
32671
|
if (h.sort)
|
|
32710
32672
|
return {
|
|
@@ -32781,7 +32743,7 @@ function yVe(n) {
|
|
|
32781
32743
|
onSelect: d,
|
|
32782
32744
|
expandedRow: h,
|
|
32783
32745
|
disableLastRowBorder: f
|
|
32784
|
-
} = n, [g, m] =
|
|
32746
|
+
} = n, [g, m] = He(!1), p = L1(), _ = h == null ? void 0 : h(a);
|
|
32785
32747
|
return /* @__PURE__ */ L.jsxs(L.Fragment, { children: [
|
|
32786
32748
|
/* @__PURE__ */ L.jsxs(
|
|
32787
32749
|
nd,
|
|
@@ -32877,7 +32839,7 @@ function yVe(n) {
|
|
|
32877
32839
|
] });
|
|
32878
32840
|
}
|
|
32879
32841
|
function CVe(n) {
|
|
32880
|
-
const { columns: e, item: t, rowActions: i } = n, [r, s] =
|
|
32842
|
+
const { columns: e, item: t, rowActions: i } = n, [r, s] = He(!1);
|
|
32881
32843
|
return /* @__PURE__ */ L.jsxs(bd, { children: [
|
|
32882
32844
|
e.map((o) => /* @__PURE__ */ L.jsx(
|
|
32883
32845
|
ns,
|
|
@@ -32928,7 +32890,7 @@ function wVe(n) {
|
|
|
32928
32890
|
onClose: a,
|
|
32929
32891
|
processingText: l,
|
|
32930
32892
|
isDanger: c
|
|
32931
|
-
} = n, [u] = zi(), [d, h] =
|
|
32893
|
+
} = n, [u] = zi(), [d, h] = He(!0), [f, g] = He(!1), [m, p] = He(0), [_, v] = He(""), [b, y] = He(), [w] = He(() => new AbortController()), [k, x] = tu(), D = qe(() => {
|
|
32932
32894
|
g(!0), w.abort(), h(!1), y((T) => {
|
|
32933
32895
|
const N = { ...T };
|
|
32934
32896
|
for (const P of t) {
|
|
@@ -32937,10 +32899,10 @@ function wVe(n) {
|
|
|
32937
32899
|
}
|
|
32938
32900
|
return N;
|
|
32939
32901
|
});
|
|
32940
|
-
}, [w, t, i]), E =
|
|
32902
|
+
}, [w, t, i]), E = qe(() => {
|
|
32941
32903
|
x(void 0), a == null || a();
|
|
32942
32904
|
}, [a, x]);
|
|
32943
|
-
|
|
32905
|
+
St(() => {
|
|
32944
32906
|
async function T() {
|
|
32945
32907
|
const N = HFe(5);
|
|
32946
32908
|
let P = 0;
|
|
@@ -33059,8 +33021,8 @@ function wVe(n) {
|
|
|
33059
33021
|
);
|
|
33060
33022
|
}
|
|
33061
33023
|
function SVe() {
|
|
33062
|
-
const [n, e] = tu(), [t, i] =
|
|
33063
|
-
return
|
|
33024
|
+
const [n, e] = tu(), [t, i] = He();
|
|
33025
|
+
return St(() => {
|
|
33064
33026
|
if (t) {
|
|
33065
33027
|
const r = () => {
|
|
33066
33028
|
var s;
|
|
@@ -33123,9 +33085,9 @@ function EVe(n) {
|
|
|
33123
33085
|
confirmText: u,
|
|
33124
33086
|
actionButtonText: d,
|
|
33125
33087
|
isDanger: h
|
|
33126
|
-
} = n, [f, g] = tu(), [m] = zi(), p =
|
|
33088
|
+
} = n, [f, g] = tu(), [m] = zi(), p = qe(() => {
|
|
33127
33089
|
g(void 0), c == null || c();
|
|
33128
|
-
}, [c, g]), _ =
|
|
33090
|
+
}, [c, g]), _ = ct(() => a && t.some(a) ? t.sort((D, E) => uC(a(D), a(E))) : t, [t, a]), v = V2(_), [b, y] = He(!u), w = ct(() => a && t.some(a) ? [
|
|
33129
33091
|
{
|
|
33130
33092
|
header: "",
|
|
33131
33093
|
cell: (D) => a(D) ? /* @__PURE__ */ L.jsx(
|
|
@@ -33138,7 +33100,7 @@ function EVe(n) {
|
|
|
33138
33100
|
) : null
|
|
33139
33101
|
},
|
|
33140
33102
|
...o
|
|
33141
|
-
] : o, [o, a, t]), k =
|
|
33103
|
+
] : o, [o, a, t]), k = ct(() => a ? t.filter((D) => !a(D)) : t, [a, t]), x = dZ(w);
|
|
33142
33104
|
return /* @__PURE__ */ L.jsx(
|
|
33143
33105
|
vp,
|
|
33144
33106
|
{
|
|
@@ -33199,8 +33161,8 @@ function EVe(n) {
|
|
|
33199
33161
|
);
|
|
33200
33162
|
}
|
|
33201
33163
|
function TVe() {
|
|
33202
|
-
const [n, e] = tu(), [t, i] =
|
|
33203
|
-
return
|
|
33164
|
+
const [n, e] = tu(), [t, i] = He();
|
|
33165
|
+
return St(() => {
|
|
33204
33166
|
if (t) {
|
|
33205
33167
|
const r = () => {
|
|
33206
33168
|
var s;
|
|
@@ -33213,7 +33175,7 @@ function TVe() {
|
|
|
33213
33175
|
}
|
|
33214
33176
|
function Rht() {
|
|
33215
33177
|
const n = TVe(), e = SVe();
|
|
33216
|
-
return
|
|
33178
|
+
return qe(
|
|
33217
33179
|
(t) => {
|
|
33218
33180
|
const i = Object.assign({}, t);
|
|
33219
33181
|
return t.isItemNonActionable && t.isItemNonActionable !== void 0 && (i.items = t.items.filter(
|
|
@@ -33227,7 +33189,7 @@ function Rht() {
|
|
|
33227
33189
|
);
|
|
33228
33190
|
}
|
|
33229
33191
|
function Pht(n) {
|
|
33230
|
-
const { title: e, view: t, tableColumns: i, toolbarFilters: r, confirmText: s, cancelText: o, onSelect: a } = n, [l, c] = tu(), u =
|
|
33192
|
+
const { title: e, view: t, tableColumns: i, toolbarFilters: r, confirmText: s, cancelText: o, onSelect: a } = n, [l, c] = tu(), u = qe(() => c(void 0), [c]), [d] = zi();
|
|
33231
33193
|
return /* @__PURE__ */ L.jsx(
|
|
33232
33194
|
vp,
|
|
33233
33195
|
{
|
|
@@ -33288,10 +33250,10 @@ function fF(n) {
|
|
|
33288
33250
|
return n.open && (e += " expanded"), /* @__PURE__ */ L.jsx("div", { className: e, children: n.children });
|
|
33289
33251
|
}
|
|
33290
33252
|
function Fht(n) {
|
|
33291
|
-
const { view: e, tableColumns: t, toolbarFilters: i, confirm: r, cancel: s, selected: o, isMultiple: a } = n, [l, c] =
|
|
33253
|
+
const { view: e, tableColumns: t, toolbarFilters: i, confirm: r, cancel: s, selected: o, isMultiple: a } = n, [l, c] = He(""), [u, d] = He(), h = qe((m, p) => {
|
|
33292
33254
|
c(p ?? ""), d(() => m);
|
|
33293
33255
|
}, []), [f, g] = tu();
|
|
33294
|
-
return
|
|
33256
|
+
return St(() => {
|
|
33295
33257
|
u !== void 0 ? g(
|
|
33296
33258
|
/* @__PURE__ */ L.jsx(
|
|
33297
33259
|
IVe,
|
|
@@ -33415,7 +33377,7 @@ function IVe(n) {
|
|
|
33415
33377
|
);
|
|
33416
33378
|
}
|
|
33417
33379
|
function Bht(n) {
|
|
33418
|
-
const { onSelect: e, value: t } = n, i =
|
|
33380
|
+
const { onSelect: e, value: t } = n, i = qe(
|
|
33419
33381
|
(l, c) => {
|
|
33420
33382
|
var u;
|
|
33421
33383
|
e(l, (u = n.options.find((d) => d.label === c.toString())) == null ? void 0 : u.value);
|
|
@@ -33458,7 +33420,7 @@ function Bht(n) {
|
|
|
33458
33420
|
);
|
|
33459
33421
|
}
|
|
33460
33422
|
function AVe(n) {
|
|
33461
|
-
const [e, t] =
|
|
33423
|
+
const [e, t] = He(!1), { helperTextInvalid: i, ...r } = n;
|
|
33462
33424
|
return /* @__PURE__ */ L.jsx(Vx, { ...n, children: /* @__PURE__ */ L.jsxs(Bx, { children: [
|
|
33463
33425
|
/* @__PURE__ */ L.jsx(
|
|
33464
33426
|
lie,
|
|
@@ -33482,7 +33444,7 @@ function AVe(n) {
|
|
|
33482
33444
|
] }) });
|
|
33483
33445
|
}
|
|
33484
33446
|
function Wht(n) {
|
|
33485
|
-
const [e, t] =
|
|
33447
|
+
const [e, t] = He(!1), { children: i, isReadOnly: r, placeholder: s, ...o } = n, a = n.id ? n.id : typeof n.label == "string" ? n.label.toLowerCase().split(" ").join("-") : void 0;
|
|
33486
33448
|
return /* @__PURE__ */ L.jsx(Vx, { ...o, id: a, children: /* @__PURE__ */ L.jsxs(Bx, { children: [
|
|
33487
33449
|
/* @__PURE__ */ L.jsx(
|
|
33488
33450
|
oz,
|
|
@@ -34191,8 +34153,8 @@ function KVe(n = {}, e) {
|
|
|
34191
34153
|
}), z)
|
|
34192
34154
|
return d.isValid && v(), Ee && h.state.next({ name: ve, ...de ? {} : Se });
|
|
34193
34155
|
if (!j && de && h.state.next({ ...i }), b(!0), t.resolver) {
|
|
34194
|
-
const { errors: Oe } = await E([ve]), Ye = CF(i.errors, r, ve),
|
|
34195
|
-
U =
|
|
34156
|
+
const { errors: Oe } = await E([ve]), Ye = CF(i.errors, r, ve), Ue = CF(Oe, r, Ye.name || ve);
|
|
34157
|
+
U = Ue.error, ve = Ue.name, M = Io(Oe);
|
|
34196
34158
|
} else
|
|
34197
34159
|
U = (await yF(K, o, p, t.shouldUseNativeValidation))[ve], Be = isNaN(R) || R === Qe(o, ve, R), Be && (U ? M = !1 : d.isValid && (M = await A(r, !0)));
|
|
34198
34160
|
Be && (K._f.deps && X(K._f.deps), D(ve, M, U, Se));
|
|
@@ -35154,7 +35116,7 @@ function bX(n, e) {
|
|
|
35154
35116
|
};
|
|
35155
35117
|
return t.snippet = a$e(t), new os(e, t);
|
|
35156
35118
|
}
|
|
35157
|
-
function
|
|
35119
|
+
function ft(n, e) {
|
|
35158
35120
|
throw bX(n, e);
|
|
35159
35121
|
}
|
|
35160
35122
|
function dS(n, e) {
|
|
@@ -35163,15 +35125,15 @@ function dS(n, e) {
|
|
|
35163
35125
|
var kF = {
|
|
35164
35126
|
YAML: function(e, t, i) {
|
|
35165
35127
|
var r, s, o;
|
|
35166
|
-
e.version !== null &&
|
|
35128
|
+
e.version !== null && ft(e, "duplication of %YAML directive"), i.length !== 1 && ft(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(i[0]), r === null && ft(e, "ill-formed argument of the YAML directive"), s = parseInt(r[1], 10), o = parseInt(r[2], 10), s !== 1 && ft(e, "unacceptable YAML version of the document"), e.version = i[0], e.checkLineBreaks = o < 2, o !== 1 && o !== 2 && dS(e, "unsupported YAML version of the document");
|
|
35167
35129
|
},
|
|
35168
35130
|
TAG: function(e, t, i) {
|
|
35169
35131
|
var r, s;
|
|
35170
|
-
i.length !== 2 &&
|
|
35132
|
+
i.length !== 2 && ft(e, "TAG directive accepts exactly two arguments"), r = i[0], s = i[1], mX.test(r) || ft(e, "ill-formed tag handle (first argument) of the TAG directive"), xd.call(e.tagMap, r) && ft(e, 'there is a previously declared suffix for "' + r + '" tag handle'), pX.test(s) || ft(e, "ill-formed tag prefix (second argument) of the TAG directive");
|
|
35171
35133
|
try {
|
|
35172
35134
|
s = decodeURIComponent(s);
|
|
35173
35135
|
} catch {
|
|
35174
|
-
|
|
35136
|
+
ft(e, "tag prefix is malformed: " + s);
|
|
35175
35137
|
}
|
|
35176
35138
|
e.tagMap[r] = s;
|
|
35177
35139
|
}
|
|
@@ -35181,22 +35143,22 @@ function ad(n, e, t, i) {
|
|
|
35181
35143
|
if (e < t) {
|
|
35182
35144
|
if (a = n.input.slice(e, t), i)
|
|
35183
35145
|
for (r = 0, s = a.length; r < s; r += 1)
|
|
35184
|
-
o = a.charCodeAt(r), o === 9 || 32 <= o && o <= 1114111 ||
|
|
35146
|
+
o = a.charCodeAt(r), o === 9 || 32 <= o && o <= 1114111 || ft(n, "expected valid JSON character");
|
|
35185
35147
|
else
|
|
35186
|
-
Z$e.test(a) &&
|
|
35148
|
+
Z$e.test(a) && ft(n, "the stream contains non-printable characters");
|
|
35187
35149
|
n.result += a;
|
|
35188
35150
|
}
|
|
35189
35151
|
}
|
|
35190
35152
|
function DF(n, e, t, i) {
|
|
35191
35153
|
var r, s, o, a;
|
|
35192
|
-
for (Xi.isObject(t) ||
|
|
35154
|
+
for (Xi.isObject(t) || ft(n, "cannot merge mappings; the provided source object is unacceptable"), r = Object.keys(t), o = 0, a = r.length; o < a; o += 1)
|
|
35193
35155
|
s = r[o], xd.call(e, s) || (e[s] = t[s], i[s] = !0);
|
|
35194
35156
|
}
|
|
35195
35157
|
function Tg(n, e, t, i, r, s, o, a, l) {
|
|
35196
35158
|
var c, u;
|
|
35197
35159
|
if (Array.isArray(r))
|
|
35198
35160
|
for (r = Array.prototype.slice.call(r), c = 0, u = r.length; c < u; c += 1)
|
|
35199
|
-
Array.isArray(r[c]) &&
|
|
35161
|
+
Array.isArray(r[c]) && ft(n, "nested arrays are not supported inside keys"), typeof r == "object" && xF(r[c]) === "[object Object]" && (r[c] = "[object Object]");
|
|
35200
35162
|
if (typeof r == "object" && xF(r) === "[object Object]" && (r = "[object Object]"), r = String(r), e === null && (e = {}), i === "tag:yaml.org,2002:merge")
|
|
35201
35163
|
if (Array.isArray(s))
|
|
35202
35164
|
for (c = 0, u = s.length; c < u; c += 1)
|
|
@@ -35204,7 +35166,7 @@ function Tg(n, e, t, i, r, s, o, a, l) {
|
|
|
35204
35166
|
else
|
|
35205
35167
|
DF(n, e, s, t);
|
|
35206
35168
|
else
|
|
35207
|
-
!n.json && !xd.call(t, r) && xd.call(e, r) && (n.line = o || n.line, n.lineStart = a || n.lineStart, n.position = l || n.position,
|
|
35169
|
+
!n.json && !xd.call(t, r) && xd.call(e, r) && (n.line = o || n.line, n.lineStart = a || n.lineStart, n.position = l || n.position, ft(n, "duplicated mapping key")), r === "__proto__" ? Object.defineProperty(e, r, {
|
|
35208
35170
|
configurable: !0,
|
|
35209
35171
|
enumerable: !0,
|
|
35210
35172
|
writable: !0,
|
|
@@ -35214,7 +35176,7 @@ function Tg(n, e, t, i, r, s, o, a, l) {
|
|
|
35214
35176
|
}
|
|
35215
35177
|
function xM(n) {
|
|
35216
35178
|
var e;
|
|
35217
|
-
e = n.input.charCodeAt(n.position), e === 10 ? n.position++ : e === 13 ? (n.position++, n.input.charCodeAt(n.position) === 10 && n.position++) :
|
|
35179
|
+
e = n.input.charCodeAt(n.position), e === 10 ? n.position++ : e === 13 ? (n.position++, n.input.charCodeAt(n.position) === 10 && n.position++) : ft(n, "a line break is expected"), n.line += 1, n.lineStart = n.position, n.firstTabInLine = -1;
|
|
35218
35180
|
}
|
|
35219
35181
|
function $i(n, e, t) {
|
|
35220
35182
|
for (var i = 0, r = n.input.charCodeAt(n.position); r !== 0; ) {
|
|
@@ -35278,8 +35240,8 @@ function sHe(n, e) {
|
|
|
35278
35240
|
else
|
|
35279
35241
|
return !0;
|
|
35280
35242
|
else
|
|
35281
|
-
xl(t) ? (ad(n, i, r, !0), LM(n, $i(n, !1, e)), i = r = n.position) : n.position === n.lineStart && H2(n) ?
|
|
35282
|
-
|
|
35243
|
+
xl(t) ? (ad(n, i, r, !0), LM(n, $i(n, !1, e)), i = r = n.position) : n.position === n.lineStart && H2(n) ? ft(n, "unexpected end of the document within a single quoted scalar") : (n.position++, r = n.position);
|
|
35244
|
+
ft(n, "unexpected end of the stream within a single quoted scalar");
|
|
35283
35245
|
}
|
|
35284
35246
|
function oHe(n, e) {
|
|
35285
35247
|
var t, i, r, s, o, a;
|
|
@@ -35295,15 +35257,15 @@ function oHe(n, e) {
|
|
|
35295
35257
|
n.result += _X[a], n.position++;
|
|
35296
35258
|
else if ((o = eHe(a)) > 0) {
|
|
35297
35259
|
for (r = o, s = 0; r > 0; r--)
|
|
35298
|
-
a = n.input.charCodeAt(++n.position), (o = J$e(a)) >= 0 ? s = (s << 4) + o :
|
|
35260
|
+
a = n.input.charCodeAt(++n.position), (o = J$e(a)) >= 0 ? s = (s << 4) + o : ft(n, "expected hexadecimal character");
|
|
35299
35261
|
n.result += nHe(s), n.position++;
|
|
35300
35262
|
} else
|
|
35301
|
-
|
|
35263
|
+
ft(n, "unknown escape sequence");
|
|
35302
35264
|
t = i = n.position;
|
|
35303
35265
|
} else
|
|
35304
|
-
xl(a) ? (ad(n, t, i, !0), LM(n, $i(n, !1, e)), t = i = n.position) : n.position === n.lineStart && H2(n) ?
|
|
35266
|
+
xl(a) ? (ad(n, t, i, !0), LM(n, $i(n, !1, e)), t = i = n.position) : n.position === n.lineStart && H2(n) ? ft(n, "unexpected end of the document within a double quoted scalar") : (n.position++, i = n.position);
|
|
35305
35267
|
}
|
|
35306
|
-
|
|
35268
|
+
ft(n, "unexpected end of the stream within a double quoted scalar");
|
|
35307
35269
|
}
|
|
35308
35270
|
function aHe(n, e) {
|
|
35309
35271
|
var t = !0, i, r, s, o = n.tag, a, l = n.anchor, c, u, d, h, f, g = /* @__PURE__ */ Object.create(null), m, p, _, v;
|
|
@@ -35316,9 +35278,9 @@ function aHe(n, e) {
|
|
|
35316
35278
|
for (n.anchor !== null && (n.anchorMap[n.anchor] = a), v = n.input.charCodeAt(++n.position); v !== 0; ) {
|
|
35317
35279
|
if ($i(n, !0, e), v = n.input.charCodeAt(n.position), v === u)
|
|
35318
35280
|
return n.position++, n.tag = o, n.anchor = l, n.kind = f ? "mapping" : "sequence", n.result = a, !0;
|
|
35319
|
-
t ? v === 44 &&
|
|
35281
|
+
t ? v === 44 && ft(n, "expected the node content, but found ','") : ft(n, "missed comma between flow collection entries"), p = m = _ = null, d = h = !1, v === 63 && (c = n.input.charCodeAt(n.position + 1), Os(c) && (d = h = !0, n.position++, $i(n, !0, e))), i = n.line, r = n.lineStart, s = n.position, Vm(n, e, cS, !1, !0), p = n.tag, m = n.result, $i(n, !0, e), v = n.input.charCodeAt(n.position), (h || n.line === i) && v === 58 && (d = !0, v = n.input.charCodeAt(++n.position), $i(n, !0, e), Vm(n, e, cS, !1, !0), _ = n.result), f ? Tg(n, a, g, p, m, _, i, r, s) : d ? a.push(Tg(n, null, g, p, m, _, i, r, s)) : a.push(m), $i(n, !0, e), v = n.input.charCodeAt(n.position), v === 44 ? (t = !0, v = n.input.charCodeAt(++n.position)) : t = !1;
|
|
35320
35282
|
}
|
|
35321
|
-
|
|
35283
|
+
ft(n, "unexpected end of the stream within a flow collection");
|
|
35322
35284
|
}
|
|
35323
35285
|
function lHe(n, e) {
|
|
35324
35286
|
var t, i, r = e5, s = !1, o = !1, a = e, l = 0, c = !1, u, d;
|
|
@@ -35330,9 +35292,9 @@ function lHe(n, e) {
|
|
|
35330
35292
|
return !1;
|
|
35331
35293
|
for (n.kind = "scalar", n.result = ""; d !== 0; )
|
|
35332
35294
|
if (d = n.input.charCodeAt(++n.position), d === 43 || d === 45)
|
|
35333
|
-
e5 === r ? r = d === 43 ? SF : Y$e :
|
|
35295
|
+
e5 === r ? r = d === 43 ? SF : Y$e : ft(n, "repeat of a chomping mode identifier");
|
|
35334
35296
|
else if ((u = tHe(d)) >= 0)
|
|
35335
|
-
u === 0 ?
|
|
35297
|
+
u === 0 ? ft(n, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? ft(n, "repeat of an indentation width identifier") : (a = e + u - 1, o = !0);
|
|
35336
35298
|
else
|
|
35337
35299
|
break;
|
|
35338
35300
|
if (Uh(d)) {
|
|
@@ -35371,13 +35333,13 @@ function EF(n, e) {
|
|
|
35371
35333
|
var t, i = n.tag, r = n.anchor, s = [], o, a = !1, l;
|
|
35372
35334
|
if (n.firstTabInLine !== -1)
|
|
35373
35335
|
return !1;
|
|
35374
|
-
for (n.anchor !== null && (n.anchorMap[n.anchor] = s), l = n.input.charCodeAt(n.position); l !== 0 && (n.firstTabInLine !== -1 && (n.position = n.firstTabInLine,
|
|
35336
|
+
for (n.anchor !== null && (n.anchorMap[n.anchor] = s), l = n.input.charCodeAt(n.position); l !== 0 && (n.firstTabInLine !== -1 && (n.position = n.firstTabInLine, ft(n, "tab characters must not be used in indentation")), !(l !== 45 || (o = n.input.charCodeAt(n.position + 1), !Os(o)))); ) {
|
|
35375
35337
|
if (a = !0, n.position++, $i(n, !0, -1) && n.lineIndent <= e) {
|
|
35376
35338
|
s.push(null), l = n.input.charCodeAt(n.position);
|
|
35377
35339
|
continue;
|
|
35378
35340
|
}
|
|
35379
35341
|
if (t = n.line, Vm(n, e, gX, !1, !0), s.push(n.result), $i(n, !0, -1), l = n.input.charCodeAt(n.position), (n.line === t || n.lineIndent > e) && l !== 0)
|
|
35380
|
-
|
|
35342
|
+
ft(n, "bad indentation of a sequence entry");
|
|
35381
35343
|
else if (n.lineIndent < e)
|
|
35382
35344
|
break;
|
|
35383
35345
|
}
|
|
@@ -35388,8 +35350,8 @@ function cHe(n, e, t) {
|
|
|
35388
35350
|
if (n.firstTabInLine !== -1)
|
|
35389
35351
|
return !1;
|
|
35390
35352
|
for (n.anchor !== null && (n.anchorMap[n.anchor] = d), v = n.input.charCodeAt(n.position); v !== 0; ) {
|
|
35391
|
-
if (!p && n.firstTabInLine !== -1 && (n.position = n.firstTabInLine,
|
|
35392
|
-
v === 63 ? (p && (Tg(n, d, h, f, g, null, o, a, l), f = g = m = null), _ = !0, p = !0, r = !0) : p ? (p = !1, r = !0) :
|
|
35353
|
+
if (!p && n.firstTabInLine !== -1 && (n.position = n.firstTabInLine, ft(n, "tab characters must not be used in indentation")), i = n.input.charCodeAt(n.position + 1), s = n.line, (v === 63 || v === 58) && Os(i))
|
|
35354
|
+
v === 63 ? (p && (Tg(n, d, h, f, g, null, o, a, l), f = g = m = null), _ = !0, p = !0, r = !0) : p ? (p = !1, r = !0) : ft(n, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), n.position += 1, v = i;
|
|
35393
35355
|
else {
|
|
35394
35356
|
if (o = n.line, a = n.lineStart, l = n.position, !Vm(n, t, fX, !1, !0))
|
|
35395
35357
|
break;
|
|
@@ -35397,18 +35359,18 @@ function cHe(n, e, t) {
|
|
|
35397
35359
|
for (v = n.input.charCodeAt(n.position); Uh(v); )
|
|
35398
35360
|
v = n.input.charCodeAt(++n.position);
|
|
35399
35361
|
if (v === 58)
|
|
35400
|
-
v = n.input.charCodeAt(++n.position), Os(v) ||
|
|
35362
|
+
v = n.input.charCodeAt(++n.position), Os(v) || ft(n, "a whitespace character is expected after the key-value separator within a block mapping"), p && (Tg(n, d, h, f, g, null, o, a, l), f = g = m = null), _ = !0, p = !1, r = !1, f = n.tag, g = n.result;
|
|
35401
35363
|
else if (_)
|
|
35402
|
-
|
|
35364
|
+
ft(n, "can not read an implicit mapping pair; a colon is missed");
|
|
35403
35365
|
else
|
|
35404
35366
|
return n.tag = c, n.anchor = u, !0;
|
|
35405
35367
|
} else if (_)
|
|
35406
|
-
|
|
35368
|
+
ft(n, "can not read a block mapping entry; a multiline key may not be an implicit key");
|
|
35407
35369
|
else
|
|
35408
35370
|
return n.tag = c, n.anchor = u, !0;
|
|
35409
35371
|
}
|
|
35410
35372
|
if ((n.line === s || n.lineIndent > e) && (p && (o = n.line, a = n.lineStart, l = n.position), Vm(n, e, uS, !0, r) && (p ? g = n.result : m = n.result), p || (Tg(n, d, h, f, g, m, o, a, l), f = g = m = null), $i(n, !0, -1), v = n.input.charCodeAt(n.position)), (n.line === s || n.lineIndent > e) && v !== 0)
|
|
35411
|
-
|
|
35373
|
+
ft(n, "bad indentation of a mapping entry");
|
|
35412
35374
|
else if (n.lineIndent < e)
|
|
35413
35375
|
break;
|
|
35414
35376
|
}
|
|
@@ -35418,31 +35380,31 @@ function uHe(n) {
|
|
|
35418
35380
|
var e, t = !1, i = !1, r, s, o;
|
|
35419
35381
|
if (o = n.input.charCodeAt(n.position), o !== 33)
|
|
35420
35382
|
return !1;
|
|
35421
|
-
if (n.tag !== null &&
|
|
35383
|
+
if (n.tag !== null && ft(n, "duplication of a tag property"), o = n.input.charCodeAt(++n.position), o === 60 ? (t = !0, o = n.input.charCodeAt(++n.position)) : o === 33 ? (i = !0, r = "!!", o = n.input.charCodeAt(++n.position)) : r = "!", e = n.position, t) {
|
|
35422
35384
|
do
|
|
35423
35385
|
o = n.input.charCodeAt(++n.position);
|
|
35424
35386
|
while (o !== 0 && o !== 62);
|
|
35425
|
-
n.position < n.length ? (s = n.input.slice(e, n.position), o = n.input.charCodeAt(++n.position)) :
|
|
35387
|
+
n.position < n.length ? (s = n.input.slice(e, n.position), o = n.input.charCodeAt(++n.position)) : ft(n, "unexpected end of the stream within a verbatim tag");
|
|
35426
35388
|
} else {
|
|
35427
35389
|
for (; o !== 0 && !Os(o); )
|
|
35428
|
-
o === 33 && (i ?
|
|
35429
|
-
s = n.input.slice(e, n.position), Q$e.test(s) &&
|
|
35390
|
+
o === 33 && (i ? ft(n, "tag suffix cannot contain exclamation marks") : (r = n.input.slice(e - 1, n.position + 1), mX.test(r) || ft(n, "named tag handle cannot contain such characters"), i = !0, e = n.position + 1)), o = n.input.charCodeAt(++n.position);
|
|
35391
|
+
s = n.input.slice(e, n.position), Q$e.test(s) && ft(n, "tag suffix cannot contain flow indicator characters");
|
|
35430
35392
|
}
|
|
35431
|
-
s && !pX.test(s) &&
|
|
35393
|
+
s && !pX.test(s) && ft(n, "tag name cannot contain such characters: " + s);
|
|
35432
35394
|
try {
|
|
35433
35395
|
s = decodeURIComponent(s);
|
|
35434
35396
|
} catch {
|
|
35435
|
-
|
|
35397
|
+
ft(n, "tag name is malformed: " + s);
|
|
35436
35398
|
}
|
|
35437
|
-
return t ? n.tag = s : xd.call(n.tagMap, r) ? n.tag = n.tagMap[r] + s : r === "!" ? n.tag = "!" + s : r === "!!" ? n.tag = "tag:yaml.org,2002:" + s :
|
|
35399
|
+
return t ? n.tag = s : xd.call(n.tagMap, r) ? n.tag = n.tagMap[r] + s : r === "!" ? n.tag = "!" + s : r === "!!" ? n.tag = "tag:yaml.org,2002:" + s : ft(n, 'undeclared tag handle "' + r + '"'), !0;
|
|
35438
35400
|
}
|
|
35439
35401
|
function dHe(n) {
|
|
35440
35402
|
var e, t;
|
|
35441
35403
|
if (t = n.input.charCodeAt(n.position), t !== 38)
|
|
35442
35404
|
return !1;
|
|
35443
|
-
for (n.anchor !== null &&
|
|
35405
|
+
for (n.anchor !== null && ft(n, "duplication of an anchor property"), t = n.input.charCodeAt(++n.position), e = n.position; t !== 0 && !Os(t) && !Eg(t); )
|
|
35444
35406
|
t = n.input.charCodeAt(++n.position);
|
|
35445
|
-
return n.position === e &&
|
|
35407
|
+
return n.position === e && ft(n, "name of an anchor node must contain at least one character"), n.anchor = n.input.slice(e, n.position), !0;
|
|
35446
35408
|
}
|
|
35447
35409
|
function hHe(n) {
|
|
35448
35410
|
var e, t, i;
|
|
@@ -35450,17 +35412,17 @@ function hHe(n) {
|
|
|
35450
35412
|
return !1;
|
|
35451
35413
|
for (i = n.input.charCodeAt(++n.position), e = n.position; i !== 0 && !Os(i) && !Eg(i); )
|
|
35452
35414
|
i = n.input.charCodeAt(++n.position);
|
|
35453
|
-
return n.position === e &&
|
|
35415
|
+
return n.position === e && ft(n, "name of an alias node must contain at least one character"), t = n.input.slice(e, n.position), xd.call(n.anchorMap, t) || ft(n, 'unidentified alias "' + t + '"'), n.result = n.anchorMap[t], $i(n, !0, -1), !0;
|
|
35454
35416
|
}
|
|
35455
35417
|
function Vm(n, e, t, i, r) {
|
|
35456
35418
|
var s, o, a, l = 1, c = !1, u = !1, d, h, f, g, m, p;
|
|
35457
35419
|
if (n.listener !== null && n.listener("open", n), n.tag = null, n.anchor = null, n.kind = null, n.result = null, s = o = a = uS === t || gX === t, i && $i(n, !0, -1) && (c = !0, n.lineIndent > e ? l = 1 : n.lineIndent === e ? l = 0 : n.lineIndent < e && (l = -1)), l === 1)
|
|
35458
35420
|
for (; uHe(n) || dHe(n); )
|
|
35459
35421
|
$i(n, !0, -1) ? (c = !0, a = s, n.lineIndent > e ? l = 1 : n.lineIndent === e ? l = 0 : n.lineIndent < e && (l = -1)) : a = !1;
|
|
35460
|
-
if (a && (a = c || r), (l === 1 || uS === t) && (cS === t || fX === t ? m = e : m = e + 1, p = n.position - n.lineStart, l === 1 ? a && (EF(n, p) || cHe(n, p, m)) || aHe(n, m) ? u = !0 : (o && lHe(n, m) || sHe(n, m) || oHe(n, m) ? u = !0 : hHe(n) ? (u = !0, (n.tag !== null || n.anchor !== null) &&
|
|
35422
|
+
if (a && (a = c || r), (l === 1 || uS === t) && (cS === t || fX === t ? m = e : m = e + 1, p = n.position - n.lineStart, l === 1 ? a && (EF(n, p) || cHe(n, p, m)) || aHe(n, m) ? u = !0 : (o && lHe(n, m) || sHe(n, m) || oHe(n, m) ? u = !0 : hHe(n) ? (u = !0, (n.tag !== null || n.anchor !== null) && ft(n, "alias node should not have any properties")) : rHe(n, m, cS === t) && (u = !0, n.tag === null && (n.tag = "?")), n.anchor !== null && (n.anchorMap[n.anchor] = n.result)) : l === 0 && (u = a && EF(n, p))), n.tag === null)
|
|
35461
35423
|
n.anchor !== null && (n.anchorMap[n.anchor] = n.result);
|
|
35462
35424
|
else if (n.tag === "?") {
|
|
35463
|
-
for (n.result !== null && n.kind !== "scalar" &&
|
|
35425
|
+
for (n.result !== null && n.kind !== "scalar" && ft(n, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + n.kind + '"'), d = 0, h = n.implicitTypes.length; d < h; d += 1)
|
|
35464
35426
|
if (g = n.implicitTypes[d], g.resolve(n.result)) {
|
|
35465
35427
|
n.result = g.construct(n.result), n.tag = g.tag, n.anchor !== null && (n.anchorMap[n.anchor] = n.result);
|
|
35466
35428
|
break;
|
|
@@ -35474,7 +35436,7 @@ function Vm(n, e, t, i, r) {
|
|
|
35474
35436
|
g = f[d];
|
|
35475
35437
|
break;
|
|
35476
35438
|
}
|
|
35477
|
-
g ||
|
|
35439
|
+
g || ft(n, "unknown tag !<" + n.tag + ">"), n.result !== null && g.kind !== n.kind && ft(n, "unacceptable node kind for !<" + n.tag + '> tag; it should be "' + g.kind + '", not "' + n.kind + '"'), g.resolve(n.result, n.tag) ? (n.result = g.construct(n.result, n.tag), n.anchor !== null && (n.anchorMap[n.anchor] = n.result)) : ft(n, "cannot resolve a node with !<" + n.tag + "> explicit tag");
|
|
35478
35440
|
}
|
|
35479
35441
|
return n.listener !== null && n.listener("close", n), n.tag !== null || n.anchor !== null || u;
|
|
35480
35442
|
}
|
|
@@ -35483,7 +35445,7 @@ function fHe(n) {
|
|
|
35483
35445
|
for (n.version = null, n.checkLineBreaks = n.legacy, n.tagMap = /* @__PURE__ */ Object.create(null), n.anchorMap = /* @__PURE__ */ Object.create(null); (o = n.input.charCodeAt(n.position)) !== 0 && ($i(n, !0, -1), o = n.input.charCodeAt(n.position), !(n.lineIndent > 0 || o !== 37)); ) {
|
|
35484
35446
|
for (s = !0, o = n.input.charCodeAt(++n.position), t = n.position; o !== 0 && !Os(o); )
|
|
35485
35447
|
o = n.input.charCodeAt(++n.position);
|
|
35486
|
-
for (i = n.input.slice(t, n.position), r = [], i.length < 1 &&
|
|
35448
|
+
for (i = n.input.slice(t, n.position), r = [], i.length < 1 && ft(n, "directive name must not be less than one character in length"); o !== 0; ) {
|
|
35487
35449
|
for (; Uh(o); )
|
|
35488
35450
|
o = n.input.charCodeAt(++n.position);
|
|
35489
35451
|
if (o === 35) {
|
|
@@ -35500,12 +35462,12 @@ function fHe(n) {
|
|
|
35500
35462
|
}
|
|
35501
35463
|
o !== 0 && xM(n), xd.call(kF, i) ? kF[i](n, i, r) : dS(n, 'unknown document directive "' + i + '"');
|
|
35502
35464
|
}
|
|
35503
|
-
if ($i(n, !0, -1), n.lineIndent === 0 && n.input.charCodeAt(n.position) === 45 && n.input.charCodeAt(n.position + 1) === 45 && n.input.charCodeAt(n.position + 2) === 45 ? (n.position += 3, $i(n, !0, -1)) : s &&
|
|
35465
|
+
if ($i(n, !0, -1), n.lineIndent === 0 && n.input.charCodeAt(n.position) === 45 && n.input.charCodeAt(n.position + 1) === 45 && n.input.charCodeAt(n.position + 2) === 45 ? (n.position += 3, $i(n, !0, -1)) : s && ft(n, "directives end mark is expected"), Vm(n, n.lineIndent - 1, uS, !1, !0), $i(n, !0, -1), n.checkLineBreaks && X$e.test(n.input.slice(e, n.position)) && dS(n, "non-ASCII line breaks are interpreted as content"), n.documents.push(n.result), n.position === n.lineStart && H2(n)) {
|
|
35504
35466
|
n.input.charCodeAt(n.position) === 46 && (n.position += 3, $i(n, !0, -1));
|
|
35505
35467
|
return;
|
|
35506
35468
|
}
|
|
35507
35469
|
if (n.position < n.length - 1)
|
|
35508
|
-
|
|
35470
|
+
ft(n, "end of the stream or a document separator is expected");
|
|
35509
35471
|
else
|
|
35510
35472
|
return;
|
|
35511
35473
|
}
|
|
@@ -35513,7 +35475,7 @@ function yX(n, e) {
|
|
|
35513
35475
|
n = String(n), e = e || {}, n.length !== 0 && (n.charCodeAt(n.length - 1) !== 10 && n.charCodeAt(n.length - 1) !== 13 && (n += `
|
|
35514
35476
|
`), n.charCodeAt(0) === 65279 && (n = n.slice(1)));
|
|
35515
35477
|
var t = new iHe(n, e), i = n.indexOf("\0");
|
|
35516
|
-
for (i !== -1 && (t.position = i,
|
|
35478
|
+
for (i !== -1 && (t.position = i, ft(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
|
|
35517
35479
|
t.lineIndent += 1, t.position += 1;
|
|
35518
35480
|
for (; t.position < t.length - 1; )
|
|
35519
35481
|
fHe(t);
|
|
@@ -39348,7 +39310,7 @@ class Pf {
|
|
|
39348
39310
|
return this._stopTime !== -1 ? this._stopTime - this._startTime : this._now() - this._startTime;
|
|
39349
39311
|
}
|
|
39350
39312
|
}
|
|
39351
|
-
var
|
|
39313
|
+
var $e;
|
|
39352
39314
|
(function(n) {
|
|
39353
39315
|
n.None = () => xe.None;
|
|
39354
39316
|
function e(E, O) {
|
|
@@ -39593,7 +39555,7 @@ var He;
|
|
|
39593
39555
|
};
|
|
39594
39556
|
}
|
|
39595
39557
|
n.fromObservableLight = D;
|
|
39596
|
-
})(
|
|
39558
|
+
})($e || ($e = {}));
|
|
39597
39559
|
class zm {
|
|
39598
39560
|
constructor(e) {
|
|
39599
39561
|
this.listenerCount = 0, this.invocationCount = 0, this.elapsedOverall = 0, this.durations = [], this.name = `${e}_${zm._idPool++}`, zm.all.add(this);
|
|
@@ -39824,7 +39786,7 @@ class PM {
|
|
|
39824
39786
|
}
|
|
39825
39787
|
class qF {
|
|
39826
39788
|
constructor() {
|
|
39827
|
-
this.listening = !1, this.inputEvent =
|
|
39789
|
+
this.listening = !1, this.inputEvent = $e.None, this.inputEventListener = xe.None, this.emitter = new te({
|
|
39828
39790
|
onDidAddFirstListener: () => {
|
|
39829
39791
|
this.listening = !0, this.inputEventListener = this.inputEvent(this.emitter.fire, this.emitter);
|
|
39830
39792
|
},
|
|
@@ -39853,7 +39815,7 @@ var Uo;
|
|
|
39853
39815
|
}
|
|
39854
39816
|
n.isCancellationToken = e, n.None = Object.freeze({
|
|
39855
39817
|
isCancellationRequested: !1,
|
|
39856
|
-
onCancellationRequested:
|
|
39818
|
+
onCancellationRequested: $e.None
|
|
39857
39819
|
}), n.Cancelled = Object.freeze({
|
|
39858
39820
|
isCancellationRequested: !0,
|
|
39859
39821
|
onCancellationRequested: JX
|
|
@@ -46886,7 +46848,7 @@ class Ls {
|
|
|
46886
46848
|
return { done: !1, value: this._results[e++] };
|
|
46887
46849
|
if (this._state === 1)
|
|
46888
46850
|
return { done: !0, value: void 0 };
|
|
46889
|
-
yield
|
|
46851
|
+
yield $e.toPromise(this._onStateChanged.event);
|
|
46890
46852
|
} while (!0);
|
|
46891
46853
|
})
|
|
46892
46854
|
};
|
|
@@ -49795,7 +49757,7 @@ function dd(n, e) {
|
|
|
49795
49757
|
const t = Math.pow(10, e);
|
|
49796
49758
|
return Math.round(n * t) / t;
|
|
49797
49759
|
}
|
|
49798
|
-
class
|
|
49760
|
+
class wt {
|
|
49799
49761
|
constructor(e, t, i, r = 1) {
|
|
49800
49762
|
this._rgbaBrand = void 0, this.r = Math.min(255, Math.max(0, e)) | 0, this.g = Math.min(255, Math.max(0, t)) | 0, this.b = Math.min(255, Math.max(0, i)) | 0, this.a = dd(Math.max(Math.min(1, r), 0), 3);
|
|
49801
49763
|
}
|
|
@@ -49854,7 +49816,7 @@ class Oo {
|
|
|
49854
49816
|
const c = r < 0.5 ? r * (1 + i) : r + i - r * i, u = 2 * r - c;
|
|
49855
49817
|
o = Oo._hue2rgb(u, c, t + 1 / 3), a = Oo._hue2rgb(u, c, t), l = Oo._hue2rgb(u, c, t - 1 / 3);
|
|
49856
49818
|
}
|
|
49857
|
-
return new
|
|
49819
|
+
return new wt(Math.round(o * 255), Math.round(a * 255), Math.round(l * 255), s);
|
|
49858
49820
|
}
|
|
49859
49821
|
}
|
|
49860
49822
|
class Pg {
|
|
@@ -49874,7 +49836,7 @@ class Pg {
|
|
|
49874
49836
|
static toRGBA(e) {
|
|
49875
49837
|
const { h: t, s: i, v: r, a: s } = e, o = r * i, a = o * (1 - Math.abs(t / 60 % 2 - 1)), l = r - o;
|
|
49876
49838
|
let [c, u, d] = [0, 0, 0];
|
|
49877
|
-
return t < 60 ? (c = o, u = a) : t < 120 ? (c = a, u = o) : t < 180 ? (u = o, d = a) : t < 240 ? (u = a, d = o) : t < 300 ? (c = a, d = o) : t <= 360 && (c = o, d = a), c = Math.round((c + l) * 255), u = Math.round((u + l) * 255), d = Math.round((d + l) * 255), new
|
|
49839
|
+
return t < 60 ? (c = o, u = a) : t < 120 ? (c = a, u = o) : t < 180 ? (u = o, d = a) : t < 240 ? (u = a, d = o) : t < 300 ? (c = a, d = o) : t <= 360 && (c = o, d = a), c = Math.round((c + l) * 255), u = Math.round((u + l) * 255), d = Math.round((d + l) * 255), new wt(c, u, d, s);
|
|
49878
49840
|
}
|
|
49879
49841
|
}
|
|
49880
49842
|
let fe = class Do {
|
|
@@ -49892,7 +49854,7 @@ let fe = class Do {
|
|
|
49892
49854
|
}
|
|
49893
49855
|
constructor(e) {
|
|
49894
49856
|
if (e)
|
|
49895
|
-
if (e instanceof
|
|
49857
|
+
if (e instanceof wt)
|
|
49896
49858
|
this.rgba = e;
|
|
49897
49859
|
else if (e instanceof Oo)
|
|
49898
49860
|
this._hsla = e, this.rgba = Oo.toRGBA(e);
|
|
@@ -49904,7 +49866,7 @@ let fe = class Do {
|
|
|
49904
49866
|
throw new Error("Color needs a value");
|
|
49905
49867
|
}
|
|
49906
49868
|
equals(e) {
|
|
49907
|
-
return !!e &&
|
|
49869
|
+
return !!e && wt.equals(this.rgba, e.rgba) && Oo.equals(this.hsla, e.hsla) && Pg.equals(this.hsva, e.hsva);
|
|
49908
49870
|
}
|
|
49909
49871
|
/**
|
|
49910
49872
|
* http://www.w3.org/TR/WCAG20/#relativeluminancedef
|
|
@@ -49941,7 +49903,7 @@ let fe = class Do {
|
|
|
49941
49903
|
}
|
|
49942
49904
|
transparent(e) {
|
|
49943
49905
|
const { r: t, g: i, b: r, a: s } = this.rgba;
|
|
49944
|
-
return new Do(new
|
|
49906
|
+
return new Do(new wt(t, i, r, s * e));
|
|
49945
49907
|
}
|
|
49946
49908
|
isTransparent() {
|
|
49947
49909
|
return this.rgba.a === 0;
|
|
@@ -49950,13 +49912,13 @@ let fe = class Do {
|
|
|
49950
49912
|
return this.rgba.a === 1;
|
|
49951
49913
|
}
|
|
49952
49914
|
opposite() {
|
|
49953
|
-
return new Do(new
|
|
49915
|
+
return new Do(new wt(255 - this.rgba.r, 255 - this.rgba.g, 255 - this.rgba.b, this.rgba.a));
|
|
49954
49916
|
}
|
|
49955
49917
|
makeOpaque(e) {
|
|
49956
49918
|
if (this.isOpaque() || e.rgba.a !== 1)
|
|
49957
49919
|
return this;
|
|
49958
49920
|
const { r: t, g: i, b: r, a: s } = this.rgba;
|
|
49959
|
-
return new Do(new
|
|
49921
|
+
return new Do(new wt(e.rgba.r - s * (e.rgba.r - t), e.rgba.g - s * (e.rgba.g - i), e.rgba.b - s * (e.rgba.b - r), 1));
|
|
49960
49922
|
}
|
|
49961
49923
|
toString() {
|
|
49962
49924
|
return this._toString || (this._toString = Do.Format.CSS.format(this)), this._toString;
|
|
@@ -49976,14 +49938,14 @@ let fe = class Do {
|
|
|
49976
49938
|
return i = i * (r - s) / r, e.darken(i);
|
|
49977
49939
|
}
|
|
49978
49940
|
};
|
|
49979
|
-
fe.white = new fe(new
|
|
49980
|
-
fe.black = new fe(new
|
|
49981
|
-
fe.red = new fe(new
|
|
49982
|
-
fe.blue = new fe(new
|
|
49983
|
-
fe.green = new fe(new
|
|
49984
|
-
fe.cyan = new fe(new
|
|
49985
|
-
fe.lightgrey = new fe(new
|
|
49986
|
-
fe.transparent = new fe(new
|
|
49941
|
+
fe.white = new fe(new wt(255, 255, 255, 1));
|
|
49942
|
+
fe.black = new fe(new wt(0, 0, 0, 1));
|
|
49943
|
+
fe.red = new fe(new wt(255, 0, 0, 1));
|
|
49944
|
+
fe.blue = new fe(new wt(0, 0, 255, 1));
|
|
49945
|
+
fe.green = new fe(new wt(0, 255, 0, 1));
|
|
49946
|
+
fe.cyan = new fe(new wt(0, 255, 255, 1));
|
|
49947
|
+
fe.lightgrey = new fe(new wt(211, 211, 211, 1));
|
|
49948
|
+
fe.transparent = new fe(new wt(0, 0, 0, 0));
|
|
49987
49949
|
(function(n) {
|
|
49988
49950
|
(function(e) {
|
|
49989
49951
|
(function(t) {
|
|
@@ -50025,19 +49987,19 @@ fe.transparent = new fe(new St(0, 0, 0, 0));
|
|
|
50025
49987
|
return null;
|
|
50026
49988
|
if (g === 7) {
|
|
50027
49989
|
const m = 16 * h(f.charCodeAt(1)) + h(f.charCodeAt(2)), p = 16 * h(f.charCodeAt(3)) + h(f.charCodeAt(4)), _ = 16 * h(f.charCodeAt(5)) + h(f.charCodeAt(6));
|
|
50028
|
-
return new n(new
|
|
49990
|
+
return new n(new wt(m, p, _, 1));
|
|
50029
49991
|
}
|
|
50030
49992
|
if (g === 9) {
|
|
50031
49993
|
const m = 16 * h(f.charCodeAt(1)) + h(f.charCodeAt(2)), p = 16 * h(f.charCodeAt(3)) + h(f.charCodeAt(4)), _ = 16 * h(f.charCodeAt(5)) + h(f.charCodeAt(6)), v = 16 * h(f.charCodeAt(7)) + h(f.charCodeAt(8));
|
|
50032
|
-
return new n(new
|
|
49994
|
+
return new n(new wt(m, p, _, v / 255));
|
|
50033
49995
|
}
|
|
50034
49996
|
if (g === 4) {
|
|
50035
49997
|
const m = h(f.charCodeAt(1)), p = h(f.charCodeAt(2)), _ = h(f.charCodeAt(3));
|
|
50036
|
-
return new n(new
|
|
49998
|
+
return new n(new wt(16 * m + m, 16 * p + p, 16 * _ + _));
|
|
50037
49999
|
}
|
|
50038
50000
|
if (g === 5) {
|
|
50039
50001
|
const m = h(f.charCodeAt(1)), p = h(f.charCodeAt(2)), _ = h(f.charCodeAt(3)), v = h(f.charCodeAt(4));
|
|
50040
|
-
return new n(new
|
|
50002
|
+
return new n(new wt(16 * m + m, 16 * p + p, 16 * _ + _, (16 * v + v) / 255));
|
|
50041
50003
|
}
|
|
50042
50004
|
return null;
|
|
50043
50005
|
}
|
|
@@ -52720,8 +52682,8 @@ function oJ() {
|
|
|
52720
52682
|
}
|
|
52721
52683
|
var P = {};
|
|
52722
52684
|
e.isSupported = typeof b == "function" && D && typeof D.createHTMLDocument < "u" && N !== 9;
|
|
52723
|
-
var F = rYe, Q = sYe, ie = oYe, re = aYe, ne = cYe, X = uYe, se = lYe, Y = null, Z = zt({}, [].concat(Ka(sW), Ka(x5), Ka(L5), Ka(k5), Ka(oW))), ce = null, Le = zt({}, [].concat(Ka(aW), Ka(D5), Ka(lW), Ka(fy))), ee = null, we = null, he = !0, _e = !0, ye = !1, ge = !1, J = !1, Xe = !1, Je = !1, Me = !1, $ = !1, oe = !0, ve = !1, Be = !0, K = !0, V = !1, U = {}, M = null, R = zt({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]), j = null, z = zt({}, ["audio", "video", "img", "source", "image", "track"]), de = null, Se = zt({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ee = "http://www.w3.org/1998/Math/MathML", Oe = "http://www.w3.org/2000/svg", Ye = "http://www.w3.org/1999/xhtml",
|
|
52724
|
-
kt && kt === me || ((!me || (typeof me > "u" ? "undefined" : U0(me)) !== "object") && (me = {}), me = eh(me), Y = "ALLOWED_TAGS" in me ? zt({}, me.ALLOWED_TAGS) : Z, ce = "ALLOWED_ATTR" in me ? zt({}, me.ALLOWED_ATTR) : Le, de = "ADD_URI_SAFE_ATTR" in me ? zt(eh(Se), me.ADD_URI_SAFE_ATTR) : Se, j = "ADD_DATA_URI_TAGS" in me ? zt(eh(z), me.ADD_DATA_URI_TAGS) : z, M = "FORBID_CONTENTS" in me ? zt({}, me.FORBID_CONTENTS) : R, ee = "FORBID_TAGS" in me ? zt({}, me.FORBID_TAGS) : {}, we = "FORBID_ATTR" in me ? zt({}, me.FORBID_ATTR) : {}, U = "USE_PROFILES" in me ? me.USE_PROFILES : !1, he = me.ALLOW_ARIA_ATTR !== !1, _e = me.ALLOW_DATA_ATTR !== !1, ye = me.ALLOW_UNKNOWN_PROTOCOLS || !1, ge = me.SAFE_FOR_TEMPLATES || !1, J = me.WHOLE_DOCUMENT || !1, Me = me.RETURN_DOM || !1, $ = me.RETURN_DOM_FRAGMENT || !1, oe = me.RETURN_DOM_IMPORT !== !1, ve = me.RETURN_TRUSTED_TYPE || !1, Je = me.FORCE_BODY || !1, Be = me.SANITIZE_DOM !== !1, K = me.KEEP_CONTENT !== !1, V = me.IN_PLACE || !1, se = me.ALLOWED_URI_REGEXP || se,
|
|
52685
|
+
var F = rYe, Q = sYe, ie = oYe, re = aYe, ne = cYe, X = uYe, se = lYe, Y = null, Z = zt({}, [].concat(Ka(sW), Ka(x5), Ka(L5), Ka(k5), Ka(oW))), ce = null, Le = zt({}, [].concat(Ka(aW), Ka(D5), Ka(lW), Ka(fy))), ee = null, we = null, he = !0, _e = !0, ye = !1, ge = !1, J = !1, Xe = !1, Je = !1, Me = !1, $ = !1, oe = !0, ve = !1, Be = !0, K = !0, V = !1, U = {}, M = null, R = zt({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]), j = null, z = zt({}, ["audio", "video", "img", "source", "image", "track"]), de = null, Se = zt({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ee = "http://www.w3.org/1998/Math/MathML", Oe = "http://www.w3.org/2000/svg", Ye = "http://www.w3.org/1999/xhtml", Ue = Ye, Rt = !1, kt = null, Ae = i.createElement("form"), Tt = function(me) {
|
|
52686
|
+
kt && kt === me || ((!me || (typeof me > "u" ? "undefined" : U0(me)) !== "object") && (me = {}), me = eh(me), Y = "ALLOWED_TAGS" in me ? zt({}, me.ALLOWED_TAGS) : Z, ce = "ALLOWED_ATTR" in me ? zt({}, me.ALLOWED_ATTR) : Le, de = "ADD_URI_SAFE_ATTR" in me ? zt(eh(Se), me.ADD_URI_SAFE_ATTR) : Se, j = "ADD_DATA_URI_TAGS" in me ? zt(eh(z), me.ADD_DATA_URI_TAGS) : z, M = "FORBID_CONTENTS" in me ? zt({}, me.FORBID_CONTENTS) : R, ee = "FORBID_TAGS" in me ? zt({}, me.FORBID_TAGS) : {}, we = "FORBID_ATTR" in me ? zt({}, me.FORBID_ATTR) : {}, U = "USE_PROFILES" in me ? me.USE_PROFILES : !1, he = me.ALLOW_ARIA_ATTR !== !1, _e = me.ALLOW_DATA_ATTR !== !1, ye = me.ALLOW_UNKNOWN_PROTOCOLS || !1, ge = me.SAFE_FOR_TEMPLATES || !1, J = me.WHOLE_DOCUMENT || !1, Me = me.RETURN_DOM || !1, $ = me.RETURN_DOM_FRAGMENT || !1, oe = me.RETURN_DOM_IMPORT !== !1, ve = me.RETURN_TRUSTED_TYPE || !1, Je = me.FORCE_BODY || !1, Be = me.SANITIZE_DOM !== !1, K = me.KEEP_CONTENT !== !1, V = me.IN_PLACE || !1, se = me.ALLOWED_URI_REGEXP || se, Ue = me.NAMESPACE || Ye, ge && (_e = !1), $ && (Me = !0), U && (Y = zt({}, [].concat(Ka(oW))), ce = [], U.html === !0 && (zt(Y, sW), zt(ce, aW)), U.svg === !0 && (zt(Y, x5), zt(ce, D5), zt(ce, fy)), U.svgFilters === !0 && (zt(Y, L5), zt(ce, D5), zt(ce, fy)), U.mathMl === !0 && (zt(Y, k5), zt(ce, lW), zt(ce, fy))), me.ADD_TAGS && (Y === Z && (Y = eh(Y)), zt(Y, me.ADD_TAGS)), me.ADD_ATTR && (ce === Le && (ce = eh(ce)), zt(ce, me.ADD_ATTR)), me.ADD_URI_SAFE_ATTR && zt(de, me.ADD_URI_SAFE_ATTR), me.FORBID_CONTENTS && (M === R && (M = eh(M)), zt(M, me.FORBID_CONTENTS)), K && (Y["#text"] = !0), J && zt(Y, ["html", "head", "body"]), Y.table && (zt(Y, ["tbody"]), delete ee.tbody), vs && vs(me), kt = me);
|
|
52725
52687
|
}, $t = zt({}, ["mi", "mo", "mn", "ms", "mtext"]), Vn = zt({}, ["foreignobject", "desc", "title", "annotation-xml"]), Kt = zt({}, x5);
|
|
52726
52688
|
zt(Kt, L5), zt(Kt, nYe);
|
|
52727
52689
|
var kn = zt({}, k5);
|
|
@@ -52787,20 +52749,20 @@ function oJ() {
|
|
|
52787
52749
|
ot = q && q[0];
|
|
52788
52750
|
}
|
|
52789
52751
|
var ke = w ? w.createHTML(me) : me;
|
|
52790
|
-
if (
|
|
52752
|
+
if (Ue === Ye)
|
|
52791
52753
|
try {
|
|
52792
52754
|
Ve = new f().parseFromString(ke, "text/html");
|
|
52793
52755
|
} catch {
|
|
52794
52756
|
}
|
|
52795
52757
|
if (!Ve || !Ve.documentElement) {
|
|
52796
|
-
Ve = D.createDocument(
|
|
52758
|
+
Ve = D.createDocument(Ue, "template", null);
|
|
52797
52759
|
try {
|
|
52798
52760
|
Ve.documentElement.innerHTML = Rt ? "" : ke;
|
|
52799
52761
|
} catch {
|
|
52800
52762
|
}
|
|
52801
52763
|
}
|
|
52802
52764
|
var Pe = Ve.body || Ve.documentElement;
|
|
52803
|
-
return me && ot && Pe.insertBefore(i.createTextNode(ot), Pe.childNodes[0] || null),
|
|
52765
|
+
return me && ot && Pe.insertBefore(i.createTextNode(ot), Pe.childNodes[0] || null), Ue === Ye ? A.call(Ve, J ? "html" : "body")[0] : J ? Ve.documentElement : Pe;
|
|
52804
52766
|
}, Ql = function(me) {
|
|
52805
52767
|
return E.call(me.ownerDocument || me, me, l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT, null, !1);
|
|
52806
52768
|
}, ja = function(me) {
|
|
@@ -52881,44 +52843,44 @@ function oJ() {
|
|
|
52881
52843
|
}
|
|
52882
52844
|
Tr("afterSanitizeAttributes", me, null);
|
|
52883
52845
|
}
|
|
52884
|
-
}, Zd = function
|
|
52846
|
+
}, Zd = function dt(me) {
|
|
52885
52847
|
var Ve = void 0, ot = Ql(me);
|
|
52886
52848
|
for (Tr("beforeSanitizeShadowDOM", me, null); Ve = ot.nextNode(); )
|
|
52887
|
-
Tr("uponSanitizeShadowNode", Ve, null), !Gd(Ve) && (Ve.content instanceof r &&
|
|
52849
|
+
Tr("uponSanitizeShadowNode", Ve, null), !Gd(Ve) && (Ve.content instanceof r && dt(Ve.content), Qf(Ve));
|
|
52888
52850
|
Tr("afterSanitizeShadowDOM", me, null);
|
|
52889
52851
|
};
|
|
52890
|
-
return e.sanitize = function(
|
|
52852
|
+
return e.sanitize = function(dt, me) {
|
|
52891
52853
|
var Ve = void 0, ot = void 0, q = void 0, ke = void 0, Pe = void 0;
|
|
52892
|
-
if (Rt = !
|
|
52893
|
-
if (typeof
|
|
52854
|
+
if (Rt = !dt, Rt && (dt = "<!-->"), typeof dt != "string" && !Jl(dt)) {
|
|
52855
|
+
if (typeof dt.toString != "function")
|
|
52894
52856
|
throw rW("toString is not a function");
|
|
52895
|
-
if (
|
|
52857
|
+
if (dt = dt.toString(), typeof dt != "string")
|
|
52896
52858
|
throw rW("dirty is not a string, aborting");
|
|
52897
52859
|
}
|
|
52898
52860
|
if (!e.isSupported) {
|
|
52899
52861
|
if (U0(n.toStaticHTML) === "object" || typeof n.toStaticHTML == "function") {
|
|
52900
|
-
if (typeof
|
|
52901
|
-
return n.toStaticHTML(
|
|
52902
|
-
if (Jl(
|
|
52903
|
-
return n.toStaticHTML(
|
|
52862
|
+
if (typeof dt == "string")
|
|
52863
|
+
return n.toStaticHTML(dt);
|
|
52864
|
+
if (Jl(dt))
|
|
52865
|
+
return n.toStaticHTML(dt.outerHTML);
|
|
52904
52866
|
}
|
|
52905
|
-
return
|
|
52867
|
+
return dt;
|
|
52906
52868
|
}
|
|
52907
|
-
if (Xe || Tt(me), e.removed = [], typeof
|
|
52908
|
-
if (
|
|
52909
|
-
Ve = ea("<!---->"), ot = Ve.ownerDocument.importNode(
|
|
52869
|
+
if (Xe || Tt(me), e.removed = [], typeof dt == "string" && (V = !1), !V)
|
|
52870
|
+
if (dt instanceof o)
|
|
52871
|
+
Ve = ea("<!---->"), ot = Ve.ownerDocument.importNode(dt, !0), ot.nodeType === 1 && ot.nodeName === "BODY" || ot.nodeName === "HTML" ? Ve = ot : Ve.appendChild(ot);
|
|
52910
52872
|
else {
|
|
52911
52873
|
if (!Me && !ge && !J && // eslint-disable-next-line unicorn/prefer-includes
|
|
52912
|
-
|
|
52913
|
-
return w && ve ? w.createHTML(
|
|
52914
|
-
if (Ve = ea(
|
|
52874
|
+
dt.indexOf("<") === -1)
|
|
52875
|
+
return w && ve ? w.createHTML(dt) : dt;
|
|
52876
|
+
if (Ve = ea(dt), !Ve)
|
|
52915
52877
|
return Me ? null : k;
|
|
52916
52878
|
}
|
|
52917
52879
|
Ve && Je && ir(Ve.firstChild);
|
|
52918
|
-
for (var rt = Ql(V ?
|
|
52880
|
+
for (var rt = Ql(V ? dt : Ve); q = rt.nextNode(); )
|
|
52919
52881
|
q.nodeType === 3 && q === ke || Gd(q) || (q.content instanceof r && Zd(q.content), Qf(q), ke = q);
|
|
52920
52882
|
if (ke = null, V)
|
|
52921
|
-
return
|
|
52883
|
+
return dt;
|
|
52922
52884
|
if (Me) {
|
|
52923
52885
|
if ($)
|
|
52924
52886
|
for (Pe = O.call(Ve.ownerDocument); Ve.firstChild; )
|
|
@@ -52929,20 +52891,20 @@ function oJ() {
|
|
|
52929
52891
|
}
|
|
52930
52892
|
var Pt = J ? Ve.outerHTML : Ve.innerHTML;
|
|
52931
52893
|
return ge && (Pt = bu(Pt, F, " "), Pt = bu(Pt, Q, " ")), w && ve ? w.createHTML(Pt) : Pt;
|
|
52932
|
-
}, e.setConfig = function(
|
|
52933
|
-
Tt(
|
|
52894
|
+
}, e.setConfig = function(dt) {
|
|
52895
|
+
Tt(dt), Xe = !0;
|
|
52934
52896
|
}, e.clearConfig = function() {
|
|
52935
52897
|
kt = null, Xe = !1;
|
|
52936
|
-
}, e.isValidAttribute = function(
|
|
52898
|
+
}, e.isValidAttribute = function(dt, me, Ve) {
|
|
52937
52899
|
kt || Tt({});
|
|
52938
|
-
var ot = dh(
|
|
52900
|
+
var ot = dh(dt), q = dh(me);
|
|
52939
52901
|
return Yd(ot, q, Ve);
|
|
52940
|
-
}, e.addHook = function(
|
|
52941
|
-
typeof me == "function" && (P[
|
|
52942
|
-
}, e.removeHook = function(
|
|
52943
|
-
P[
|
|
52944
|
-
}, e.removeHooks = function(
|
|
52945
|
-
P[
|
|
52902
|
+
}, e.addHook = function(dt, me) {
|
|
52903
|
+
typeof me == "function" && (P[dt] = P[dt] || [], w0(P[dt], me));
|
|
52904
|
+
}, e.removeHook = function(dt) {
|
|
52905
|
+
P[dt] && nW(P[dt]);
|
|
52906
|
+
}, e.removeHooks = function(dt) {
|
|
52907
|
+
P[dt] && (P[dt] = []);
|
|
52946
52908
|
}, e.removeAllHooks = function() {
|
|
52947
52909
|
P = {};
|
|
52948
52910
|
}, e;
|
|
@@ -53364,7 +53326,7 @@ function wYe(n) {
|
|
|
53364
53326
|
const e = n;
|
|
53365
53327
|
return !!(e && typeof e.preventDefault == "function" && typeof e.stopPropagation == "function");
|
|
53366
53328
|
}
|
|
53367
|
-
const
|
|
53329
|
+
const ht = {
|
|
53368
53330
|
stop: (n, e) => (n.preventDefault(), e && n.stopPropagation(), n)
|
|
53369
53331
|
};
|
|
53370
53332
|
function SYe(n) {
|
|
@@ -55181,7 +55143,7 @@ function H(n, e, t, i, r) {
|
|
|
55181
55143
|
const gt = H("foreground", { dark: "#CCCCCC", light: "#616161", hcDark: "#FFFFFF", hcLight: "#292929" }, C("foreground", "Overall foreground color. This color is only used if not overridden by a component."));
|
|
55182
55144
|
H("disabledForeground", { dark: "#CCCCCC80", light: "#61616180", hcDark: "#A5A5A5", hcLight: "#7F7F7F" }, C("disabledForeground", "Overall foreground for disabled elements. This color is only used if not overridden by a component."));
|
|
55183
55145
|
H("errorForeground", { dark: "#F48771", light: "#A1260D", hcDark: "#F48771", hcLight: "#B5200D" }, C("errorForeground", "Overall foreground color for error messages. This color is only used if not overridden by a component."));
|
|
55184
|
-
H("descriptionForeground", { light: "#717171", dark:
|
|
55146
|
+
H("descriptionForeground", { light: "#717171", dark: ze(gt, 0.7), hcDark: ze(gt, 0.7), hcLight: ze(gt, 0.7) }, C("descriptionForeground", "Foreground color for description text providing additional information, for example for a label."));
|
|
55185
55147
|
const gy = H("icon.foreground", { dark: "#C5C5C5", light: "#424242", hcDark: "#FFFFFF", hcLight: "#292929" }, C("iconForeground", "The default color for icons in the workbench.")), Zs = H("focusBorder", { dark: "#007FD4", light: "#0090F1", hcDark: "#F38518", hcLight: "#006BBD" }, C("focusBorder", "Overall border color for focused elements. This color is only used if not overridden by a component.")), Et = H("contrastBorder", { light: null, dark: null, hcDark: "#6FC3DF", hcLight: "#0F4A85" }, C("contrastBorder", "An extra border around elements to separate them from others for greater contrast.")), Bn = H("contrastActiveBorder", { light: null, dark: null, hcDark: Zs, hcLight: Zs }, C("activeContrastBorder", "An extra border around active elements to separate them from others for greater contrast."));
|
|
55186
55148
|
H("selection.background", { light: null, dark: null, hcDark: null, hcLight: null }, C("selectionBackground", "The background color of text selections in the workbench (e.g. for input fields or text areas). Note that this does not apply to selections within the editor."));
|
|
55187
55149
|
H("textSeparator.foreground", { light: "#0000002e", dark: "#ffffff2e", hcDark: fe.black, hcLight: "#292929" }, C("textSeparatorForeground", "Color for text separators."));
|
|
@@ -55191,11 +55153,11 @@ H("textPreformat.foreground", { light: "#A31515", dark: "#D7BA7D", hcDark: "#D7B
|
|
|
55191
55153
|
H("textBlockQuote.background", { light: "#7f7f7f1a", dark: "#7f7f7f1a", hcDark: null, hcLight: "#F2F2F2" }, C("textBlockQuoteBackground", "Background color for block quotes in text."));
|
|
55192
55154
|
H("textBlockQuote.border", { light: "#007acc80", dark: "#007acc80", hcDark: fe.white, hcLight: "#292929" }, C("textBlockQuoteBorder", "Border color for block quotes in text."));
|
|
55193
55155
|
H("textCodeBlock.background", { light: "#dcdcdc66", dark: "#0a0a0a66", hcDark: fe.black, hcLight: "#F2F2F2" }, C("textCodeBlockBackground", "Background color for code blocks in text."));
|
|
55194
|
-
const qu = H("widget.shadow", { dark:
|
|
55156
|
+
const qu = H("widget.shadow", { dark: ze(fe.black, 0.36), light: ze(fe.black, 0.16), hcDark: null, hcLight: null }, C("widgetShadow", "Shadow color of widgets such as find/replace inside the editor.")), eZe = H("widget.border", { dark: null, light: null, hcDark: Et, hcLight: Et }, C("widgetBorder", "Border color of widgets such as find/replace inside the editor.")), tZe = H("input.background", { dark: "#3C3C3C", light: fe.white, hcDark: fe.black, hcLight: fe.white }, C("inputBoxBackground", "Input box background.")), nZe = H("input.foreground", { dark: gt, light: gt, hcDark: gt, hcLight: gt }, C("inputBoxForeground", "Input box foreground.")), iZe = H("input.border", { dark: null, light: null, hcDark: Et, hcLight: Et }, C("inputBoxBorder", "Input box border.")), rZe = H("inputOption.activeBorder", { dark: "#007ACC", light: "#007ACC", hcDark: Et, hcLight: Et }, C("inputBoxActiveOptionBorder", "Border color of activated options in input fields."));
|
|
55195
55157
|
H("inputOption.hoverBackground", { dark: "#5a5d5e80", light: "#b8b8b850", hcDark: null, hcLight: null }, C("inputOption.hoverBackground", "Background color of activated options in input fields."));
|
|
55196
|
-
const sZe = H("inputOption.activeBackground", { dark:
|
|
55197
|
-
H("input.placeholderForeground", { light:
|
|
55198
|
-
const aZe = H("inputValidation.infoBackground", { dark: "#063B49", light: "#D6ECF2", hcDark: fe.black, hcLight: fe.white }, C("inputValidationInfoBackground", "Input validation background color for information severity.")), lZe = H("inputValidation.infoForeground", { dark: null, light: null, hcDark: null, hcLight: gt }, C("inputValidationInfoForeground", "Input validation foreground color for information severity.")), cZe = H("inputValidation.infoBorder", { dark: "#007acc", light: "#007acc", hcDark: Et, hcLight: Et }, C("inputValidationInfoBorder", "Input validation border color for information severity.")), uZe = H("inputValidation.warningBackground", { dark: "#352A05", light: "#F6F5D2", hcDark: fe.black, hcLight: fe.white }, C("inputValidationWarningBackground", "Input validation background color for warning severity.")), dZe = H("inputValidation.warningForeground", { dark: null, light: null, hcDark: null, hcLight: gt }, C("inputValidationWarningForeground", "Input validation foreground color for warning severity.")), hZe = H("inputValidation.warningBorder", { dark: "#B89500", light: "#B89500", hcDark: Et, hcLight: Et }, C("inputValidationWarningBorder", "Input validation border color for warning severity.")), fZe = H("inputValidation.errorBackground", { dark: "#5A1D1D", light: "#F2DEDE", hcDark: fe.black, hcLight: fe.white }, C("inputValidationErrorBackground", "Input validation background color for error severity.")), gZe = H("inputValidation.errorForeground", { dark: null, light: null, hcDark: null, hcLight: gt }, C("inputValidationErrorForeground", "Input validation foreground color for error severity.")), mZe = H("inputValidation.errorBorder", { dark: "#BE1100", light: "#BE1100", hcDark: Et, hcLight: Et }, C("inputValidationErrorBorder", "Input validation border color for error severity.")), ml = H("dropdown.background", { dark: "#3C3C3C", light: fe.white, hcDark: fe.black, hcLight: fe.white }, C("dropdownBackground", "Dropdown background.")), pZe = H("dropdown.listBackground", { dark: null, light: null, hcDark: fe.black, hcLight: fe.white }, C("dropdownListBackground", "Dropdown list background.")), Oc = H("dropdown.foreground", { dark: "#F0F0F0", light: gt, hcDark: fe.white, hcLight: gt }, C("dropdownForeground", "Dropdown foreground.")), Bg = H("dropdown.border", { dark: ml, light: "#CECECE", hcDark: Et, hcLight: Et }, C("dropdownBorder", "Dropdown border.")), K0 = H("button.foreground", { dark: fe.white, light: fe.white, hcDark: fe.white, hcLight: fe.white }, C("buttonForeground", "Button foreground color.")), vZe = H("button.separator", { dark:
|
|
55158
|
+
const sZe = H("inputOption.activeBackground", { dark: ze(Zs, 0.4), light: ze(Zs, 0.2), hcDark: fe.transparent, hcLight: fe.transparent }, C("inputOption.activeBackground", "Background hover color of options in input fields.")), oZe = H("inputOption.activeForeground", { dark: fe.white, light: fe.black, hcDark: gt, hcLight: gt }, C("inputOption.activeForeground", "Foreground color of activated options in input fields."));
|
|
55159
|
+
H("input.placeholderForeground", { light: ze(gt, 0.5), dark: ze(gt, 0.5), hcDark: ze(gt, 0.7), hcLight: ze(gt, 0.7) }, C("inputPlaceholderForeground", "Input box foreground color for placeholder text."));
|
|
55160
|
+
const aZe = H("inputValidation.infoBackground", { dark: "#063B49", light: "#D6ECF2", hcDark: fe.black, hcLight: fe.white }, C("inputValidationInfoBackground", "Input validation background color for information severity.")), lZe = H("inputValidation.infoForeground", { dark: null, light: null, hcDark: null, hcLight: gt }, C("inputValidationInfoForeground", "Input validation foreground color for information severity.")), cZe = H("inputValidation.infoBorder", { dark: "#007acc", light: "#007acc", hcDark: Et, hcLight: Et }, C("inputValidationInfoBorder", "Input validation border color for information severity.")), uZe = H("inputValidation.warningBackground", { dark: "#352A05", light: "#F6F5D2", hcDark: fe.black, hcLight: fe.white }, C("inputValidationWarningBackground", "Input validation background color for warning severity.")), dZe = H("inputValidation.warningForeground", { dark: null, light: null, hcDark: null, hcLight: gt }, C("inputValidationWarningForeground", "Input validation foreground color for warning severity.")), hZe = H("inputValidation.warningBorder", { dark: "#B89500", light: "#B89500", hcDark: Et, hcLight: Et }, C("inputValidationWarningBorder", "Input validation border color for warning severity.")), fZe = H("inputValidation.errorBackground", { dark: "#5A1D1D", light: "#F2DEDE", hcDark: fe.black, hcLight: fe.white }, C("inputValidationErrorBackground", "Input validation background color for error severity.")), gZe = H("inputValidation.errorForeground", { dark: null, light: null, hcDark: null, hcLight: gt }, C("inputValidationErrorForeground", "Input validation foreground color for error severity.")), mZe = H("inputValidation.errorBorder", { dark: "#BE1100", light: "#BE1100", hcDark: Et, hcLight: Et }, C("inputValidationErrorBorder", "Input validation border color for error severity.")), ml = H("dropdown.background", { dark: "#3C3C3C", light: fe.white, hcDark: fe.black, hcLight: fe.white }, C("dropdownBackground", "Dropdown background.")), pZe = H("dropdown.listBackground", { dark: null, light: null, hcDark: fe.black, hcLight: fe.white }, C("dropdownListBackground", "Dropdown list background.")), Oc = H("dropdown.foreground", { dark: "#F0F0F0", light: gt, hcDark: fe.white, hcLight: gt }, C("dropdownForeground", "Dropdown foreground.")), Bg = H("dropdown.border", { dark: ml, light: "#CECECE", hcDark: Et, hcLight: Et }, C("dropdownBorder", "Dropdown border.")), K0 = H("button.foreground", { dark: fe.white, light: fe.white, hcDark: fe.white, hcLight: fe.white }, C("buttonForeground", "Button foreground color.")), vZe = H("button.separator", { dark: ze(K0, 0.4), light: ze(K0, 0.4), hcDark: ze(K0, 0.4), hcLight: ze(K0, 0.4) }, C("buttonSeparator", "Button separator color.")), G0 = H("button.background", { dark: "#0E639C", light: "#007ACC", hcDark: null, hcLight: "#0F4A85" }, C("buttonBackground", "Button background color.")), _Ze = H("button.hoverBackground", { dark: Ea(G0, 0.2), light: jf(G0, 0.2), hcDark: G0, hcLight: G0 }, C("buttonHoverBackground", "Button background color when hovering.")), bZe = H("button.border", { dark: Et, light: Et, hcDark: Et, hcLight: Et }, C("buttonBorder", "Button border color.")), yZe = H("button.secondaryForeground", { dark: fe.white, light: fe.white, hcDark: fe.white, hcLight: gt }, C("buttonSecondaryForeground", "Secondary button foreground color.")), oA = H("button.secondaryBackground", { dark: "#3A3D41", light: "#5F6A79", hcDark: null, hcLight: fe.white }, C("buttonSecondaryBackground", "Secondary button background color.")), CZe = H("button.secondaryHoverBackground", { dark: Ea(oA, 0.2), light: jf(oA, 0.2), hcDark: null, hcLight: null }, C("buttonSecondaryHoverBackground", "Secondary button background color when hovering.")), xC = H("badge.background", { dark: "#4D4D4D", light: "#C4C4C4", hcDark: fe.black, hcLight: "#0F4A85" }, C("badgeBackground", "Badge background color. Badges are small information labels, e.g. for search results count.")), TJ = H("badge.foreground", { dark: fe.white, light: "#333", hcDark: fe.white, hcLight: fe.white }, C("badgeForeground", "Badge foreground color. Badges are small information labels, e.g. for search results count.")), wZe = H("scrollbar.shadow", { dark: "#000000", light: "#DDDDDD", hcDark: null, hcLight: null }, C("scrollbarShadow", "Scrollbar shadow to indicate that the view is scrolled.")), Y0 = H("scrollbarSlider.background", { dark: fe.fromHex("#797979").transparent(0.4), light: fe.fromHex("#646464").transparent(0.4), hcDark: ze(Et, 0.6), hcLight: ze(Et, 0.4) }, C("scrollbarSliderBackground", "Scrollbar slider background color.")), Z0 = H("scrollbarSlider.hoverBackground", { dark: fe.fromHex("#646464").transparent(0.7), light: fe.fromHex("#646464").transparent(0.7), hcDark: ze(Et, 0.8), hcLight: ze(Et, 0.8) }, C("scrollbarSliderHoverBackground", "Scrollbar slider background color when hovering.")), X0 = H("scrollbarSlider.activeBackground", { dark: fe.fromHex("#BFBFBF").transparent(0.4), light: fe.fromHex("#000000").transparent(0.6), hcDark: Et, hcLight: Et }, C("scrollbarSliderActiveBackground", "Scrollbar slider background color when clicked on.")), SZe = H("progressBar.background", { dark: fe.fromHex("#0E70C0"), light: fe.fromHex("#0E70C0"), hcDark: Et, hcLight: Et }, C("progressBarBackground", "Background color of the progress bar that can show for long running operations."));
|
|
55199
55161
|
H("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);
|
|
55200
55162
|
const Mc = H("editorError.foreground", { dark: "#F14C4C", light: "#E51400", hcDark: "#F48771", hcLight: "#B5200D" }, C("editorError.foreground", "Foreground color of error squigglies in the editor."));
|
|
55201
55163
|
H("editorError.border", { dark: null, light: null, hcDark: fe.fromHex("#E47777").transparent(0.8), hcLight: "#B5200D" }, C("errorBorder", "If set, color of double underlines for errors in the editor."));
|
|
@@ -55210,31 +55172,31 @@ H("editorStickyScroll.background", { light: Qi, dark: Qi, hcDark: Qi, hcLight: Q
|
|
|
55210
55172
|
H("editorStickyScrollHover.background", { dark: "#2A2D2E", light: "#F0F0F0", hcDark: null, hcLight: fe.fromHex("#0F4A85").transparent(0.1) }, C("editorStickyScrollHoverBackground", "Sticky scroll on hover background color for the editor"));
|
|
55211
55173
|
const ui = H("editorWidget.background", { dark: "#252526", light: "#F3F3F3", hcDark: "#0C141F", hcLight: fe.white }, C("editorWidgetBackground", "Background color of editor widgets, such as find/replace.")), Rc = H("editorWidget.foreground", { dark: gt, light: gt, hcDark: gt, hcLight: gt }, C("editorWidgetForeground", "Foreground color of editor widgets, such as find/replace.")), Q0 = H("editorWidget.border", { dark: "#454545", light: "#C8C8C8", hcDark: Et, hcLight: Et }, C("editorWidgetBorder", "Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget."));
|
|
55212
55174
|
H("editorWidget.resizeBorder", { light: null, dark: null, hcDark: null, hcLight: null }, C("editorWidgetResizeBorder", "Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget."));
|
|
55213
|
-
const yW = H("quickInput.background", { dark: ui, light: ui, hcDark: ui, hcLight: ui }, C("pickerBackground", "Quick picker background color. The quick picker widget is the container for pickers like the command palette.")), LZe = H("quickInput.foreground", { dark: Rc, light: Rc, hcDark: Rc, hcLight: Rc }, C("pickerForeground", "Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")), kZe = H("quickInputTitle.background", { dark: new fe(new
|
|
55175
|
+
const yW = H("quickInput.background", { dark: ui, light: ui, hcDark: ui, hcLight: ui }, C("pickerBackground", "Quick picker background color. The quick picker widget is the container for pickers like the command palette.")), LZe = H("quickInput.foreground", { dark: Rc, light: Rc, hcDark: Rc, hcLight: Rc }, C("pickerForeground", "Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")), kZe = H("quickInputTitle.background", { dark: new fe(new wt(255, 255, 255, 0.105)), light: new fe(new wt(0, 0, 0, 0.06)), hcDark: "#000000", hcLight: fe.white }, C("pickerTitleBackground", "Quick picker title background color. The quick picker widget is the container for pickers like the command palette.")), IJ = H("pickerGroup.foreground", { dark: "#3794FF", light: "#0066BF", hcDark: fe.white, hcLight: "#0F4A85" }, C("pickerGroupForeground", "Quick picker color for grouping labels.")), DZe = H("pickerGroup.border", { dark: "#3F3F46", light: "#CCCEDB", hcDark: fe.white, hcLight: "#0F4A85" }, C("pickerGroupBorder", "Quick picker color for grouping borders.")), EZe = H("keybindingLabel.background", { dark: new fe(new wt(128, 128, 128, 0.17)), light: new fe(new wt(221, 221, 221, 0.4)), hcDark: fe.transparent, hcLight: fe.transparent }, C("keybindingLabelBackground", "Keybinding label background color. The keybinding label is used to represent a keyboard shortcut.")), TZe = H("keybindingLabel.foreground", { dark: fe.fromHex("#CCCCCC"), light: fe.fromHex("#555555"), hcDark: fe.white, hcLight: gt }, C("keybindingLabelForeground", "Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut.")), IZe = H("keybindingLabel.border", { dark: new fe(new wt(51, 51, 51, 0.6)), light: new fe(new wt(204, 204, 204, 0.4)), hcDark: new fe(new wt(111, 195, 223)), hcLight: Et }, C("keybindingLabelBorder", "Keybinding label border color. The keybinding label is used to represent a keyboard shortcut.")), AZe = H("keybindingLabel.bottomBorder", { dark: new fe(new wt(68, 68, 68, 0.6)), light: new fe(new wt(187, 187, 187, 0.4)), hcDark: new fe(new wt(111, 195, 223)), hcLight: gt }, C("keybindingLabelBottomBorder", "Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut.")), Wg = H("editor.selectionBackground", { light: "#ADD6FF", dark: "#264F78", hcDark: "#f3f518", hcLight: "#0F4A85" }, C("editorSelectionBackground", "Color of the editor selection.")), NZe = H("editor.selectionForeground", { light: null, dark: null, hcDark: "#000000", hcLight: fe.white }, C("editorSelectionForeground", "Color of the selected text for high contrast.")), AJ = H("editor.inactiveSelectionBackground", { light: ze(Wg, 0.5), dark: ze(Wg, 0.5), hcDark: ze(Wg, 0.7), hcLight: ze(Wg, 0.5) }, C("editorInactiveSelection", "Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."), !0), NJ = H("editor.selectionHighlightBackground", { light: IW(Wg, Qi, 0.3, 0.6), dark: IW(Wg, Qi, 0.3, 0.6), hcDark: null, hcLight: null }, C("editorSelectionHighlight", "Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
55214
55176
|
H("editor.selectionHighlightBorder", { light: null, dark: null, hcDark: Bn, hcLight: Bn }, C("editorSelectionHighlightBorder", "Border color for regions with the same content as the selection."));
|
|
55215
55177
|
H("editor.findMatchBackground", { light: "#A8AC94", dark: "#515C6A", hcDark: null, hcLight: null }, C("editorFindMatch", "Color of the current search match."));
|
|
55216
55178
|
const Ku = H("editor.findMatchHighlightBackground", { light: "#EA5C0055", dark: "#EA5C0055", hcDark: null, hcLight: null }, C("findMatchHighlight", "Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
55217
55179
|
H("editor.findRangeHighlightBackground", { dark: "#3a3d4166", light: "#b4b4b44d", hcDark: null, hcLight: null }, C("findRangeHighlight", "Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
55218
55180
|
H("editor.findMatchBorder", { light: null, dark: null, hcDark: Bn, hcLight: Bn }, C("editorFindMatchBorder", "Border color of the current search match."));
|
|
55219
55181
|
const Vg = H("editor.findMatchHighlightBorder", { light: null, dark: null, hcDark: Bn, hcLight: Bn }, C("findMatchHighlightBorder", "Border color of the other search matches."));
|
|
55220
|
-
H("editor.findRangeHighlightBorder", { dark: null, light: null, hcDark:
|
|
55221
|
-
H("searchEditor.findMatchBackground", { light:
|
|
55222
|
-
H("searchEditor.findMatchBorder", { light:
|
|
55223
|
-
H("search.resultsInfoForeground", { light: gt, dark:
|
|
55182
|
+
H("editor.findRangeHighlightBorder", { dark: null, light: null, hcDark: ze(Bn, 0.4), hcLight: ze(Bn, 0.4) }, C("findRangeHighlightBorder", "Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
55183
|
+
H("searchEditor.findMatchBackground", { light: ze(Ku, 0.66), dark: ze(Ku, 0.66), hcDark: Ku, hcLight: Ku }, C("searchEditor.queryMatch", "Color of the Search Editor query matches."));
|
|
55184
|
+
H("searchEditor.findMatchBorder", { light: ze(Vg, 0.66), dark: ze(Vg, 0.66), hcDark: Vg, hcLight: Vg }, C("searchEditor.editorFindMatchBorder", "Border color of the Search Editor query matches."));
|
|
55185
|
+
H("search.resultsInfoForeground", { light: gt, dark: ze(gt, 0.65), hcDark: gt, hcLight: gt }, C("search.resultsInfoForeground", "Color of the text in the search viewlet's completion message."));
|
|
55224
55186
|
H("editor.hoverHighlightBackground", { light: "#ADD6FF26", dark: "#264f7840", hcDark: "#ADD6FF26", hcLight: null }, C("hoverHighlight", "Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
55225
55187
|
const CW = H("editorHoverWidget.background", { light: ui, dark: ui, hcDark: ui, hcLight: ui }, C("hoverBackground", "Background color of the editor hover."));
|
|
55226
55188
|
H("editorHoverWidget.foreground", { light: Rc, dark: Rc, hcDark: Rc, hcLight: Rc }, C("hoverForeground", "Foreground color of the editor hover."));
|
|
55227
55189
|
H("editorHoverWidget.border", { light: Q0, dark: Q0, hcDark: Q0, hcLight: Q0 }, C("hoverBorder", "Border color of the editor hover."));
|
|
55228
55190
|
H("editorHoverWidget.statusBarBackground", { dark: Ea(CW, 0.2), light: jf(CW, 0.05), hcDark: ui, hcLight: ui }, C("statusBarBackground", "Background color of the editor hover status bar."));
|
|
55229
55191
|
H("editorLink.activeForeground", { dark: "#4E94CE", light: fe.blue, hcDark: fe.cyan, hcLight: "#292929" }, C("activeLinkForeground", "Color of active links."));
|
|
55230
|
-
const Gu = H("editorInlayHint.foreground", { dark: gt, light: gt, hcDark: fe.black, hcLight: TJ }, C("editorInlayHintForeground", "Foreground color of inline hints")), Yu = H("editorInlayHint.background", { dark:
|
|
55192
|
+
const Gu = H("editorInlayHint.foreground", { dark: gt, light: gt, hcDark: fe.black, hcLight: TJ }, C("editorInlayHintForeground", "Foreground color of inline hints")), Yu = H("editorInlayHint.background", { dark: ze(xC, 0.25), light: ze(xC, 0.3), hcDark: "#f38518", hcLight: xC }, C("editorInlayHintBackground", "Background color of inline hints"));
|
|
55231
55193
|
H("editorInlayHint.typeForeground", { dark: Gu, light: Gu, hcDark: Gu, hcLight: Gu }, C("editorInlayHintForegroundTypes", "Foreground color of inline hints for types"));
|
|
55232
55194
|
H("editorInlayHint.typeBackground", { dark: Yu, light: Yu, hcDark: Yu, hcLight: Yu }, C("editorInlayHintBackgroundTypes", "Background color of inline hints for types"));
|
|
55233
55195
|
H("editorInlayHint.parameterForeground", { dark: Gu, light: Gu, hcDark: Gu, hcLight: Gu }, C("editorInlayHintForegroundParameter", "Foreground color of inline hints for parameters"));
|
|
55234
55196
|
H("editorInlayHint.parameterBackground", { dark: Yu, light: Yu, hcDark: Yu, hcLight: Yu }, C("editorInlayHintBackgroundParameter", "Background color of inline hints for parameters"));
|
|
55235
55197
|
H("editorLightBulb.foreground", { dark: "#FFCC00", light: "#DDB100", hcDark: "#FFCC00", hcLight: "#007ACC" }, C("editorLightBulbForeground", "The color used for the lightbulb actions icon."));
|
|
55236
55198
|
H("editorLightBulbAutoFix.foreground", { dark: "#75BEFF", light: "#007ACC", hcDark: "#75BEFF", hcLight: "#007ACC" }, C("editorLightBulbAutoFixForeground", "The color used for the lightbulb auto fix actions icon."));
|
|
55237
|
-
const WS = new fe(new
|
|
55199
|
+
const WS = new fe(new wt(155, 185, 85, 0.2)), VS = new fe(new wt(255, 0, 0, 0.2)), OJ = H("diffEditor.insertedTextBackground", { dark: "#9ccc2c33", light: "#9ccc2c40", hcDark: null, hcLight: null }, C("diffEditorInserted", "Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."), !0), MJ = H("diffEditor.removedTextBackground", { dark: "#ff000033", light: "#ff000033", hcDark: null, hcLight: null }, C("diffEditorRemoved", "Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
55238
55200
|
H("diffEditor.insertedLineBackground", { dark: WS, light: WS, hcDark: null, hcLight: null }, C("diffEditorInsertedLines", "Background color for lines that got inserted. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
55239
55201
|
H("diffEditor.removedLineBackground", { dark: VS, light: VS, hcDark: null, hcLight: null }, C("diffEditorRemovedLines", "Background color for lines that got removed. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
55240
55202
|
H("diffEditorGutter.insertedLineBackground", { dark: null, light: null, hcDark: null, hcLight: null }, C("diffEditorInsertedLineGutter", "Background color for the margin where lines got inserted."));
|
|
@@ -55255,7 +55217,7 @@ H("list.warningForeground", { dark: "#CCA700", light: "#855F00", hcDark: null, h
|
|
|
55255
55217
|
const zZe = H("listFilterWidget.background", { light: jf(ui, 0), dark: Ea(ui, 0), hcDark: ui, hcLight: ui }, C("listFilterWidgetBackground", "Background color of the type filter widget in lists and trees.")), UZe = H("listFilterWidget.outline", { dark: fe.transparent, light: fe.transparent, hcDark: "#f38518", hcLight: "#007ACC" }, C("listFilterWidgetOutline", "Outline color of the type filter widget in lists and trees.")), qZe = H("listFilterWidget.noMatchesOutline", { dark: "#BE1100", light: "#BE1100", hcDark: Et, hcLight: Et }, C("listFilterWidgetNoMatchesOutline", "Outline color of the type filter widget in lists and trees, when there are no matches.")), KZe = H("listFilterWidget.shadow", { dark: qu, light: qu, hcDark: qu, hcLight: qu }, C("listFilterWidgetShadow", "Shadow color of the type filter widget in lists and trees."));
|
|
55256
55218
|
H("list.filterMatchBackground", { dark: Ku, light: Ku, hcDark: null, hcLight: null }, C("listFilterMatchHighlight", "Background color of the filtered match."));
|
|
55257
55219
|
H("list.filterMatchBorder", { dark: Vg, light: Vg, hcDark: Et, hcLight: Bn }, C("listFilterMatchHighlightBorder", "Border color of the filtered match."));
|
|
55258
|
-
const ev = H("tree.indentGuidesStroke", { dark: "#585858", light: "#a9a9a9", hcDark: "#a9a9a9", hcLight: "#a5a5a5" }, C("treeIndentGuidesStroke", "Tree stroke color for the indentation guides.")), GZe = H("tree.inactiveIndentGuidesStroke", { dark:
|
|
55220
|
+
const ev = H("tree.indentGuidesStroke", { dark: "#585858", light: "#a9a9a9", hcDark: "#a9a9a9", hcLight: "#a5a5a5" }, C("treeIndentGuidesStroke", "Tree stroke color for the indentation guides.")), GZe = H("tree.inactiveIndentGuidesStroke", { dark: ze(ev, 0.4), light: ze(ev, 0.4), hcDark: ze(ev, 0.4), hcLight: ze(ev, 0.4) }, C("treeInactiveIndentGuidesStroke", "Tree stroke color for the indentation guides that are not active.")), YZe = H("tree.tableColumnsBorder", { dark: "#CCCCCC20", light: "#61616120", hcDark: null, hcLight: null }, C("tableColumnsBorder", "Table border color between columns.")), ZZe = H("tree.tableOddRowsBackground", { dark: ze(gt, 0.04), light: ze(gt, 0.04), hcDark: null, hcLight: null }, C("tableOddRowsBackgroundColor", "Background color for odd table rows."));
|
|
55259
55221
|
H("list.deemphasizedForeground", { dark: "#8C8C8C", light: "#8E8E90", hcDark: "#A7A8A9", hcLight: "#666666" }, C("listDeemphasizedForeground", "List/Tree foreground color for items that are deemphasized. "));
|
|
55260
55222
|
const XZe = H("checkbox.background", { dark: ml, light: ml, hcDark: ml, hcLight: ml }, C("checkbox.background", "Background color of checkbox widget."));
|
|
55261
55223
|
H("checkbox.selectBackground", { dark: ui, light: ui, hcDark: ui, hcLight: ui }, C("checkbox.select.background", "Background color of checkbox widget when the element it's in is selected."));
|
|
@@ -55264,33 +55226,33 @@ H("checkbox.selectBorder", { dark: gy, light: gy, hcDark: gy, hcLight: gy }, C("
|
|
|
55264
55226
|
const wW = H("quickInput.list.focusBackground", { dark: null, light: null, hcDark: null, hcLight: null }, "", void 0, C("quickInput.list.focusBackground deprecation", "Please use quickInputList.focusBackground instead")), aA = H("quickInputList.focusForeground", { dark: pl, light: pl, hcDark: pl, hcLight: pl }, C("quickInput.listFocusForeground", "Quick picker foreground color for the focused item.")), WJ = H("quickInputList.focusIconForeground", { dark: J0, light: J0, hcDark: J0, hcLight: J0 }, C("quickInput.listFocusIconForeground", "Quick picker icon foreground color for the focused item.")), lA = H("quickInputList.focusBackground", { dark: TW(wW, Pc), light: TW(wW, Pc), hcDark: null, hcLight: null }, C("quickInput.listFocusBackground", "Quick picker background color for the focused item.")), eXe = H("menu.border", { dark: null, light: null, hcDark: Et, hcLight: Et }, C("menuBorder", "Border color of menus.")), tXe = H("menu.foreground", { dark: Oc, light: Oc, hcDark: Oc, hcLight: Oc }, C("menuForeground", "Foreground color of menu items.")), nXe = H("menu.background", { dark: ml, light: ml, hcDark: ml, hcLight: ml }, C("menuBackground", "Background color of menu items.")), iXe = H("menu.selectionForeground", { dark: pl, light: pl, hcDark: pl, hcLight: pl }, C("menuSelectionForeground", "Foreground color of the selected menu item in menus.")), rXe = H("menu.selectionBackground", { dark: Pc, light: Pc, hcDark: Pc, hcLight: Pc }, C("menuSelectionBackground", "Background color of the selected menu item in menus.")), sXe = H("menu.selectionBorder", { dark: null, light: null, hcDark: Bn, hcLight: Bn }, C("menuSelectionBorder", "Border color of the selected menu item in menus.")), oXe = H("menu.separatorBackground", { dark: "#606060", light: "#D4D4D4", hcDark: Et, hcLight: Et }, C("menuSeparatorBackground", "Color of a separator menu item in menus.")), SW = H("toolbar.hoverBackground", { dark: "#5a5d5e50", light: "#b8b8b850", hcDark: null, hcLight: null }, C("toolbarHoverBackground", "Toolbar background when hovering over actions using the mouse"));
|
|
55265
55227
|
H("toolbar.hoverOutline", { dark: null, light: null, hcDark: Bn, hcLight: Bn }, C("toolbarHoverOutline", "Toolbar outline when hovering over actions using the mouse"));
|
|
55266
55228
|
H("toolbar.activeBackground", { dark: Ea(SW, 0.1), light: jf(SW, 0.1), hcDark: null, hcLight: null }, C("toolbarActiveBackground", "Toolbar background when holding the mouse over actions"));
|
|
55267
|
-
H("editor.snippetTabstopHighlightBackground", { dark: new fe(new
|
|
55229
|
+
H("editor.snippetTabstopHighlightBackground", { dark: new fe(new wt(124, 124, 124, 0.3)), light: new fe(new wt(10, 50, 100, 0.2)), hcDark: new fe(new wt(124, 124, 124, 0.3)), hcLight: new fe(new wt(10, 50, 100, 0.2)) }, C("snippetTabstopHighlightBackground", "Highlight background color of a snippet tabstop."));
|
|
55268
55230
|
H("editor.snippetTabstopHighlightBorder", { dark: null, light: null, hcDark: null, hcLight: null }, C("snippetTabstopHighlightBorder", "Highlight border color of a snippet tabstop."));
|
|
55269
55231
|
H("editor.snippetFinalTabstopHighlightBackground", { dark: null, light: null, hcDark: null, hcLight: null }, C("snippetFinalTabstopHighlightBackground", "Highlight background color of the final tabstop of a snippet."));
|
|
55270
|
-
H("editor.snippetFinalTabstopHighlightBorder", { dark: "#525252", light: new fe(new
|
|
55271
|
-
const aXe = H("breadcrumb.foreground", { light:
|
|
55232
|
+
H("editor.snippetFinalTabstopHighlightBorder", { dark: "#525252", light: new fe(new wt(10, 50, 100, 0.5)), hcDark: "#525252", hcLight: "#292929" }, C("snippetFinalTabstopHighlightBorder", "Highlight border color of the final tabstop of a snippet."));
|
|
55233
|
+
const aXe = H("breadcrumb.foreground", { light: ze(gt, 0.8), dark: ze(gt, 0.8), hcDark: ze(gt, 0.8), hcLight: ze(gt, 0.8) }, C("breadcrumbsFocusForeground", "Color of focused breadcrumb items.")), lXe = H("breadcrumb.background", { light: Qi, dark: Qi, hcDark: Qi, hcLight: Qi }, C("breadcrumbsBackground", "Background color of breadcrumb items.")), xW = H("breadcrumb.focusForeground", { light: jf(gt, 0.2), dark: Ea(gt, 0.1), hcDark: Ea(gt, 0.1), hcLight: Ea(gt, 0.1) }, C("breadcrumbsFocusForeground", "Color of focused breadcrumb items.")), cXe = H("breadcrumb.activeSelectionForeground", { light: jf(gt, 0.2), dark: Ea(gt, 0.1), hcDark: Ea(gt, 0.1), hcLight: Ea(gt, 0.1) }, C("breadcrumbsSelectedForeground", "Color of selected breadcrumb items."));
|
|
55272
55234
|
H("breadcrumbPicker.background", { light: ui, dark: ui, hcDark: ui, hcLight: ui }, C("breadcrumbsSelectedBackground", "Background color of breadcrumb item picker."));
|
|
55273
55235
|
const VJ = 0.5, LW = fe.fromHex("#40C8AE").transparent(VJ), kW = fe.fromHex("#40A6FF").transparent(VJ), DW = fe.fromHex("#606060").transparent(0.4), Wo = 0.4, ep = 1, $g = H("merge.currentHeaderBackground", { dark: LW, light: LW, 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);
|
|
55274
|
-
H("merge.currentContentBackground", { dark:
|
|
55236
|
+
H("merge.currentContentBackground", { dark: ze($g, Wo), light: ze($g, Wo), hcDark: ze($g, Wo), hcLight: ze($g, Wo) }, C("mergeCurrentContentBackground", "Current content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
55275
55237
|
const Hg = H("merge.incomingHeaderBackground", { dark: kW, light: kW, hcDark: null, hcLight: null }, C("mergeIncomingHeaderBackground", "Incoming header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
55276
|
-
H("merge.incomingContentBackground", { dark:
|
|
55238
|
+
H("merge.incomingContentBackground", { dark: ze(Hg, Wo), light: ze(Hg, Wo), hcDark: ze(Hg, Wo), hcLight: ze(Hg, Wo) }, C("mergeIncomingContentBackground", "Incoming content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
55277
55239
|
const jg = H("merge.commonHeaderBackground", { dark: DW, light: DW, hcDark: null, hcLight: null }, C("mergeCommonHeaderBackground", "Common ancestor header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
55278
|
-
H("merge.commonContentBackground", { dark:
|
|
55240
|
+
H("merge.commonContentBackground", { dark: ze(jg, Wo), light: ze(jg, Wo), hcDark: ze(jg, Wo), hcLight: ze(jg, Wo) }, C("mergeCommonContentBackground", "Common ancestor content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
55279
55241
|
const tp = H("merge.border", { dark: null, light: null, hcDark: "#C3DF6F", hcLight: "#007ACC" }, C("mergeBorder", "Border color on headers and the splitter in inline merge-conflicts."));
|
|
55280
|
-
H("editorOverviewRuler.currentContentForeground", { dark:
|
|
55281
|
-
H("editorOverviewRuler.incomingContentForeground", { dark:
|
|
55282
|
-
H("editorOverviewRuler.commonContentForeground", { dark:
|
|
55242
|
+
H("editorOverviewRuler.currentContentForeground", { dark: ze($g, ep), light: ze($g, ep), hcDark: tp, hcLight: tp }, C("overviewRulerCurrentContentForeground", "Current overview ruler foreground for inline merge-conflicts."));
|
|
55243
|
+
H("editorOverviewRuler.incomingContentForeground", { dark: ze(Hg, ep), light: ze(Hg, ep), hcDark: tp, hcLight: tp }, C("overviewRulerIncomingContentForeground", "Incoming overview ruler foreground for inline merge-conflicts."));
|
|
55244
|
+
H("editorOverviewRuler.commonContentForeground", { dark: ze(jg, ep), light: ze(jg, ep), hcDark: tp, hcLight: tp }, C("overviewRulerCommonContentForeground", "Common ancestor overview ruler foreground for inline merge-conflicts."));
|
|
55283
55245
|
H("editorOverviewRuler.findMatchForeground", { dark: "#d186167e", light: "#d186167e", hcDark: "#AB5A00", hcLight: "" }, C("overviewRulerFindMatchForeground", "Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
55284
55246
|
H("editorOverviewRuler.selectionHighlightForeground", { dark: "#A0A0A0CC", light: "#A0A0A0CC", hcDark: "#A0A0A0CC", hcLight: "#A0A0A0CC" }, C("overviewRulerSelectionHighlightForeground", "Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
55285
55247
|
const py = H("minimap.findMatchHighlight", { light: "#d18616", dark: "#d18616", hcDark: "#AB5A00", hcLight: "#0F4A85" }, C("minimapFindMatchHighlight", "Minimap marker color for find matches."), !0);
|
|
55286
55248
|
H("minimap.selectionOccurrenceHighlight", { light: "#c9c9c9", dark: "#676767", hcDark: "#ffffff", hcLight: "#0F4A85" }, C("minimapSelectionOccurrenceHighlight", "Minimap marker color for repeating editor selections."), !0);
|
|
55287
|
-
const EW = H("minimap.selectionHighlight", { light: "#ADD6FF", dark: "#264F78", hcDark: "#ffffff", hcLight: "#0F4A85" }, C("minimapSelectionHighlight", "Minimap marker color for the editor selection."), !0), uXe = H("minimap.errorHighlight", { dark: new fe(new
|
|
55288
|
-
H("minimapSlider.background", { light:
|
|
55289
|
-
H("minimapSlider.hoverBackground", { light:
|
|
55290
|
-
H("minimapSlider.activeBackground", { light:
|
|
55249
|
+
const EW = H("minimap.selectionHighlight", { light: "#ADD6FF", dark: "#264F78", hcDark: "#ffffff", hcLight: "#0F4A85" }, C("minimapSelectionHighlight", "Minimap marker color for the editor selection."), !0), uXe = H("minimap.errorHighlight", { dark: new fe(new wt(255, 18, 18, 0.7)), light: new fe(new wt(255, 18, 18, 0.7)), hcDark: new fe(new wt(255, 50, 50, 1)), hcLight: "#B5200D" }, C("minimapError", "Minimap marker color for errors.")), dXe = H("minimap.warningHighlight", { dark: Xs, light: Xs, hcDark: BS, hcLight: BS }, C("overviewRuleWarning", "Minimap marker color for warnings.")), hXe = H("minimap.background", { dark: null, light: null, hcDark: null, hcLight: null }, C("minimapBackground", "Minimap background color.")), fXe = H("minimap.foregroundOpacity", { dark: fe.fromHex("#000f"), light: fe.fromHex("#000f"), hcDark: fe.fromHex("#000f"), hcLight: fe.fromHex("#000f") }, C("minimapForegroundOpacity", 'Opacity of foreground elements rendered in the minimap. For example, "#000000c0" will render the elements with 75% opacity.'));
|
|
55250
|
+
H("minimapSlider.background", { light: ze(Y0, 0.5), dark: ze(Y0, 0.5), hcDark: ze(Y0, 0.5), hcLight: ze(Y0, 0.5) }, C("minimapSliderBackground", "Minimap slider background color."));
|
|
55251
|
+
H("minimapSlider.hoverBackground", { light: ze(Z0, 0.5), dark: ze(Z0, 0.5), hcDark: ze(Z0, 0.5), hcLight: ze(Z0, 0.5) }, C("minimapSliderHoverBackground", "Minimap slider background color when hovering."));
|
|
55252
|
+
H("minimapSlider.activeBackground", { light: ze(X0, 0.5), dark: ze(X0, 0.5), hcDark: ze(X0, 0.5), hcLight: ze(X0, 0.5) }, C("minimapSliderActiveBackground", "Minimap slider background color when clicked on."));
|
|
55291
55253
|
const gXe = H("problemsErrorIcon.foreground", { dark: Mc, light: Mc, hcDark: Mc, hcLight: Mc }, C("problemsErrorIconForeground", "The color used for the problems error icon.")), mXe = H("problemsWarningIcon.foreground", { dark: Xs, light: Xs, hcDark: Xs, hcLight: Xs }, C("problemsWarningIconForeground", "The color used for the problems warning icon.")), pXe = H("problemsInfoIcon.foreground", { dark: wa, light: wa, hcDark: wa, hcLight: wa }, C("problemsInfoIconForeground", "The color used for the problems info icon."));
|
|
55292
55254
|
H("charts.foreground", { dark: gt, light: gt, hcDark: gt, hcLight: gt }, C("chartsForeground", "The foreground color used in charts."));
|
|
55293
|
-
H("charts.lines", { dark:
|
|
55255
|
+
H("charts.lines", { dark: ze(gt, 0.5), light: ze(gt, 0.5), hcDark: ze(gt, 0.5), hcLight: ze(gt, 0.5) }, C("chartsLines", "The color used for horizontal lines in charts."));
|
|
55294
55256
|
H("charts.red", { dark: Mc, light: Mc, hcDark: Mc, hcLight: Mc }, C("chartsRed", "The red color used in chart visualizations."));
|
|
55295
55257
|
H("charts.blue", { dark: wa, light: wa, hcDark: wa, hcLight: wa }, C("chartsBlue", "The blue color used in chart visualizations."));
|
|
55296
55258
|
H("charts.yellow", { dark: Xs, light: Xs, hcDark: Xs, hcLight: Xs }, C("chartsYellow", "The yellow color used in chart visualizations."));
|
|
@@ -55336,7 +55298,7 @@ function jf(n, e) {
|
|
|
55336
55298
|
function Ea(n, e) {
|
|
55337
55299
|
return { op: 1, value: n, factor: e };
|
|
55338
55300
|
}
|
|
55339
|
-
function
|
|
55301
|
+
function ze(n, e) {
|
|
55340
55302
|
return { op: 2, value: n, factor: e };
|
|
55341
55303
|
}
|
|
55342
55304
|
function TW(...n) {
|
|
@@ -58712,9 +58674,9 @@ const uQe = H("editorUnnecessaryCode.opacity", { dark: fe.fromHex("#000a"), ligh
|
|
|
58712
58674
|
H("editorGhostText.border", { dark: null, light: null, hcDark: fe.fromHex("#fff").transparent(0.8), hcLight: fe.fromHex("#292929").transparent(0.8) }, C("editorGhostTextBorder", "Border color of ghost text in the editor."));
|
|
58713
58675
|
H("editorGhostText.foreground", { dark: fe.fromHex("#ffffff56"), light: fe.fromHex("#0007"), hcDark: null, hcLight: null }, C("editorGhostTextForeground", "Foreground color of the ghost text in the editor."));
|
|
58714
58676
|
H("editorGhostText.background", { dark: null, light: null, hcDark: null, hcLight: null }, C("editorGhostTextBackground", "Background color of the ghost text in the editor."));
|
|
58715
|
-
const by = new fe(new
|
|
58677
|
+
const by = new fe(new wt(0, 122, 204, 0.6));
|
|
58716
58678
|
H("editorOverviewRuler.rangeHighlightForeground", { dark: by, light: by, hcDark: by, hcLight: by }, C("overviewRulerRangeHighlight", "Overview ruler marker color for range highlights. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
58717
|
-
const dQe = H("editorOverviewRuler.errorForeground", { dark: new fe(new
|
|
58679
|
+
const dQe = H("editorOverviewRuler.errorForeground", { dark: new fe(new wt(255, 18, 18, 0.7)), light: new fe(new wt(255, 18, 18, 0.7)), hcDark: new fe(new wt(255, 50, 50, 1)), hcLight: "#B5200D" }, C("overviewRuleError", "Overview ruler marker color for errors.")), hQe = H("editorOverviewRuler.warningForeground", { dark: Xs, light: Xs, hcDark: BS, hcLight: BS }, C("overviewRuleWarning", "Overview ruler marker color for warnings.")), fQe = H("editorOverviewRuler.infoForeground", { dark: wa, light: wa, hcDark: bW, hcLight: bW }, C("overviewRuleInfo", "Overview ruler marker color for infos.")), QJ = H("editorBracketHighlight.foreground1", { dark: "#FFD700", light: "#0431FAFF", hcDark: "#FFD700", hcLight: "#0431FAFF" }, C("editorBracketHighlightForeground1", "Foreground color of brackets (1). Requires enabling bracket pair colorization.")), JJ = H("editorBracketHighlight.foreground2", { dark: "#DA70D6", light: "#319331FF", hcDark: "#DA70D6", hcLight: "#319331FF" }, C("editorBracketHighlightForeground2", "Foreground color of brackets (2). Requires enabling bracket pair colorization.")), eee = H("editorBracketHighlight.foreground3", { dark: "#179FFF", light: "#7B3814FF", hcDark: "#87CEFA", hcLight: "#7B3814FF" }, C("editorBracketHighlightForeground3", "Foreground color of brackets (3). Requires enabling bracket pair colorization.")), tee = H("editorBracketHighlight.foreground4", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, C("editorBracketHighlightForeground4", "Foreground color of brackets (4). Requires enabling bracket pair colorization.")), nee = H("editorBracketHighlight.foreground5", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, C("editorBracketHighlightForeground5", "Foreground color of brackets (5). Requires enabling bracket pair colorization.")), iee = H("editorBracketHighlight.foreground6", { dark: "#00000000", light: "#00000000", hcDark: "#00000000", hcLight: "#00000000" }, C("editorBracketHighlightForeground6", "Foreground color of brackets (6). Requires enabling bracket pair colorization.")), gQe = H("editorBracketHighlight.unexpectedBracket.foreground", { dark: new fe(new wt(255, 18, 18, 0.8)), light: new fe(new wt(255, 18, 18, 0.8)), hcDark: new fe(new wt(255, 50, 50, 1)), hcLight: "" }, C("editorBracketHighlightUnexpectedBracketForeground", "Foreground color of unexpected brackets.")), mQe = H("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.")), pQe = H("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.")), vQe = H("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.")), _Qe = H("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.")), bQe = H("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.")), yQe = H("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.")), CQe = H("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.")), wQe = H("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.")), SQe = H("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.")), xQe = H("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.")), LQe = H("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.")), kQe = H("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."));
|
|
58718
58680
|
H("editorUnicodeHighlight.border", { dark: "#BD9B03", light: "#CEA33D", hcDark: "#ff0000", hcLight: "#CEA33D" }, C("editorUnicodeHighlight.border", "Border color used to highlight unicode characters."));
|
|
58719
58681
|
H("editorUnicodeHighlight.background", { dark: "#bd9b0326", light: "#cea33d14", hcDark: "#00000000", hcLight: "#cea33d14" }, C("editorUnicodeHighlight.background", "Background color used to highlight unicode characters."));
|
|
58720
58682
|
cu((n, e) => {
|
|
@@ -61694,7 +61656,7 @@ var Re;
|
|
|
61694
61656
|
(function(n) {
|
|
61695
61657
|
n.editorSimpleInput = new Ze("editorSimpleInput", !1, !0), n.editorTextFocus = new Ze("editorTextFocus", !1, C("editorTextFocus", "Whether the editor text has focus (cursor is blinking)")), n.focus = new Ze("editorFocus", !1, C("editorFocus", "Whether the editor or an editor widget has focus (e.g. focus is in the find widget)")), n.textInputFocus = new Ze("textInputFocus", !1, C("textInputFocus", "Whether an editor or a rich text input has focus (cursor is blinking)")), n.readOnly = new Ze("editorReadonly", !1, C("editorReadonly", "Whether the editor is read-only")), n.inDiffEditor = new Ze("inDiffEditor", !1, C("inDiffEditor", "Whether the context is a diff editor")), n.isEmbeddedDiffEditor = new Ze("isEmbeddedDiffEditor", !1, C("isEmbeddedDiffEditor", "Whether the context is an embedded diff editor")), n.columnSelection = new Ze("editorColumnSelection", !1, C("editorColumnSelection", "Whether `editor.columnSelection` is enabled")), n.writable = n.readOnly.toNegated(), n.hasNonEmptySelection = new Ze("editorHasSelection", !1, C("editorHasSelection", "Whether the editor has text selected")), n.hasOnlyEmptySelection = n.hasNonEmptySelection.toNegated(), n.hasMultipleSelections = new Ze("editorHasMultipleSelections", !1, C("editorHasMultipleSelections", "Whether the editor has multiple selections")), n.hasSingleSelection = n.hasMultipleSelections.toNegated(), n.tabMovesFocus = new Ze("editorTabMovesFocus", !1, C("editorTabMovesFocus", "Whether `Tab` will move focus out of the editor")), n.tabDoesNotMoveFocus = n.tabMovesFocus.toNegated(), n.isInWalkThroughSnippet = new Ze("isInEmbeddedEditor", !1, !0), n.canUndo = new Ze("canUndo", !1, !0), n.canRedo = new Ze("canRedo", !1, !0), n.hoverVisible = new Ze("editorHoverVisible", !1, C("editorHoverVisible", "Whether the editor hover is visible")), n.hoverFocused = new Ze("editorHoverFocused", !1, C("editorHoverFocused", "Whether the editor hover is focused")), n.stickyScrollFocused = new Ze("stickyScrollFocused", !1, C("stickyScrollFocused", "Whether the sticky scroll is focused")), n.stickyScrollVisible = new Ze("stickyScrollVisible", !1, C("stickyScrollVisible", "Whether the sticky scroll is visible")), n.standaloneColorPickerVisible = new Ze("standaloneColorPickerVisible", !1, C("standaloneColorPickerVisible", "Whether the standalone color picker is visible")), n.standaloneColorPickerFocused = new Ze("standaloneColorPickerFocused", !1, C("standaloneColorPickerFocused", "Whether the standalone color picker is focused")), n.inCompositeEditor = new Ze("inCompositeEditor", void 0, C("inCompositeEditor", "Whether the editor is part of a larger editor (e.g. notebooks)")), n.notInCompositeEditor = n.inCompositeEditor.toNegated(), n.languageId = new Ze("editorLangId", "", C("editorLangId", "The language identifier of the editor")), n.hasCompletionItemProvider = new Ze("editorHasCompletionItemProvider", !1, C("editorHasCompletionItemProvider", "Whether the editor has a completion item provider")), n.hasCodeActionsProvider = new Ze("editorHasCodeActionsProvider", !1, C("editorHasCodeActionsProvider", "Whether the editor has a code actions provider")), n.hasCodeLensProvider = new Ze("editorHasCodeLensProvider", !1, C("editorHasCodeLensProvider", "Whether the editor has a code lens provider")), n.hasDefinitionProvider = new Ze("editorHasDefinitionProvider", !1, C("editorHasDefinitionProvider", "Whether the editor has a definition provider")), n.hasDeclarationProvider = new Ze("editorHasDeclarationProvider", !1, C("editorHasDeclarationProvider", "Whether the editor has a declaration provider")), n.hasImplementationProvider = new Ze("editorHasImplementationProvider", !1, C("editorHasImplementationProvider", "Whether the editor has an implementation provider")), n.hasTypeDefinitionProvider = new Ze("editorHasTypeDefinitionProvider", !1, C("editorHasTypeDefinitionProvider", "Whether the editor has a type definition provider")), n.hasHoverProvider = new Ze("editorHasHoverProvider", !1, C("editorHasHoverProvider", "Whether the editor has a hover provider")), n.hasDocumentHighlightProvider = new Ze("editorHasDocumentHighlightProvider", !1, C("editorHasDocumentHighlightProvider", "Whether the editor has a document highlight provider")), n.hasDocumentSymbolProvider = new Ze("editorHasDocumentSymbolProvider", !1, C("editorHasDocumentSymbolProvider", "Whether the editor has a document symbol provider")), n.hasReferenceProvider = new Ze("editorHasReferenceProvider", !1, C("editorHasReferenceProvider", "Whether the editor has a reference provider")), n.hasRenameProvider = new Ze("editorHasRenameProvider", !1, C("editorHasRenameProvider", "Whether the editor has a rename provider")), n.hasSignatureHelpProvider = new Ze("editorHasSignatureHelpProvider", !1, C("editorHasSignatureHelpProvider", "Whether the editor has a signature help provider")), n.hasInlayHintsProvider = new Ze("editorHasInlayHintsProvider", !1, C("editorHasInlayHintsProvider", "Whether the editor has an inline hints provider")), n.hasDocumentFormattingProvider = new Ze("editorHasDocumentFormattingProvider", !1, C("editorHasDocumentFormattingProvider", "Whether the editor has a document formatting provider")), n.hasDocumentSelectionFormattingProvider = new Ze("editorHasDocumentSelectionFormattingProvider", !1, C("editorHasDocumentSelectionFormattingProvider", "Whether the editor has a document selection formatting provider")), n.hasMultipleDocumentFormattingProvider = new Ze("editorHasMultipleDocumentFormattingProvider", !1, C("editorHasMultipleDocumentFormattingProvider", "Whether the editor has multiple document formatting providers")), n.hasMultipleDocumentSelectionFormattingProvider = new Ze("editorHasMultipleDocumentSelectionFormattingProvider", !1, C("editorHasMultipleDocumentSelectionFormattingProvider", "Whether the editor has multiple document selection formatting providers"));
|
|
61696
61658
|
})(Re || (Re = {}));
|
|
61697
|
-
const
|
|
61659
|
+
const Ct = 0;
|
|
61698
61660
|
class Sn extends Td {
|
|
61699
61661
|
runEditorCommand(e, t, i) {
|
|
61700
61662
|
const r = t._getViewModel();
|
|
@@ -61913,7 +61875,7 @@ var hi;
|
|
|
61913
61875
|
id: "cursorColumnSelectLeft",
|
|
61914
61876
|
precondition: void 0,
|
|
61915
61877
|
kbOpts: {
|
|
61916
|
-
weight:
|
|
61878
|
+
weight: Ct,
|
|
61917
61879
|
kbExpr: Re.textInputFocus,
|
|
61918
61880
|
primary: 3599,
|
|
61919
61881
|
linux: { primary: 0 }
|
|
@@ -61929,7 +61891,7 @@ var hi;
|
|
|
61929
61891
|
id: "cursorColumnSelectRight",
|
|
61930
61892
|
precondition: void 0,
|
|
61931
61893
|
kbOpts: {
|
|
61932
|
-
weight:
|
|
61894
|
+
weight: Ct,
|
|
61933
61895
|
kbExpr: Re.textInputFocus,
|
|
61934
61896
|
primary: 3601,
|
|
61935
61897
|
linux: { primary: 0 }
|
|
@@ -61953,7 +61915,7 @@ var hi;
|
|
|
61953
61915
|
id: "cursorColumnSelectUp",
|
|
61954
61916
|
precondition: void 0,
|
|
61955
61917
|
kbOpts: {
|
|
61956
|
-
weight:
|
|
61918
|
+
weight: Ct,
|
|
61957
61919
|
kbExpr: Re.textInputFocus,
|
|
61958
61920
|
primary: 3600,
|
|
61959
61921
|
linux: { primary: 0 }
|
|
@@ -61963,7 +61925,7 @@ var hi;
|
|
|
61963
61925
|
id: "cursorColumnSelectPageUp",
|
|
61964
61926
|
precondition: void 0,
|
|
61965
61927
|
kbOpts: {
|
|
61966
|
-
weight:
|
|
61928
|
+
weight: Ct,
|
|
61967
61929
|
kbExpr: Re.textInputFocus,
|
|
61968
61930
|
primary: 3595,
|
|
61969
61931
|
linux: { primary: 0 }
|
|
@@ -61982,7 +61944,7 @@ var hi;
|
|
|
61982
61944
|
id: "cursorColumnSelectDown",
|
|
61983
61945
|
precondition: void 0,
|
|
61984
61946
|
kbOpts: {
|
|
61985
|
-
weight:
|
|
61947
|
+
weight: Ct,
|
|
61986
61948
|
kbExpr: Re.textInputFocus,
|
|
61987
61949
|
primary: 3602,
|
|
61988
61950
|
linux: { primary: 0 }
|
|
@@ -61992,7 +61954,7 @@ var hi;
|
|
|
61992
61954
|
id: "cursorColumnSelectPageDown",
|
|
61993
61955
|
precondition: void 0,
|
|
61994
61956
|
kbOpts: {
|
|
61995
|
-
weight:
|
|
61957
|
+
weight: Ct,
|
|
61996
61958
|
kbExpr: Re.textInputFocus,
|
|
61997
61959
|
primary: 3596,
|
|
61998
61960
|
linux: { primary: 0 }
|
|
@@ -62063,7 +62025,7 @@ var hi;
|
|
|
62063
62025
|
id: "cursorLeft",
|
|
62064
62026
|
precondition: void 0,
|
|
62065
62027
|
kbOpts: {
|
|
62066
|
-
weight:
|
|
62028
|
+
weight: Ct,
|
|
62067
62029
|
kbExpr: Re.textInputFocus,
|
|
62068
62030
|
primary: 15,
|
|
62069
62031
|
mac: { primary: 15, secondary: [
|
|
@@ -62081,7 +62043,7 @@ var hi;
|
|
|
62081
62043
|
id: "cursorLeftSelect",
|
|
62082
62044
|
precondition: void 0,
|
|
62083
62045
|
kbOpts: {
|
|
62084
|
-
weight:
|
|
62046
|
+
weight: Ct,
|
|
62085
62047
|
kbExpr: Re.textInputFocus,
|
|
62086
62048
|
primary: 1039
|
|
62087
62049
|
/* KeyCode.LeftArrow */
|
|
@@ -62096,7 +62058,7 @@ var hi;
|
|
|
62096
62058
|
id: "cursorRight",
|
|
62097
62059
|
precondition: void 0,
|
|
62098
62060
|
kbOpts: {
|
|
62099
|
-
weight:
|
|
62061
|
+
weight: Ct,
|
|
62100
62062
|
kbExpr: Re.textInputFocus,
|
|
62101
62063
|
primary: 17,
|
|
62102
62064
|
mac: { primary: 17, secondary: [
|
|
@@ -62114,7 +62076,7 @@ var hi;
|
|
|
62114
62076
|
id: "cursorRightSelect",
|
|
62115
62077
|
precondition: void 0,
|
|
62116
62078
|
kbOpts: {
|
|
62117
|
-
weight:
|
|
62079
|
+
weight: Ct,
|
|
62118
62080
|
kbExpr: Re.textInputFocus,
|
|
62119
62081
|
primary: 1041
|
|
62120
62082
|
/* KeyCode.RightArrow */
|
|
@@ -62129,7 +62091,7 @@ var hi;
|
|
|
62129
62091
|
id: "cursorUp",
|
|
62130
62092
|
precondition: void 0,
|
|
62131
62093
|
kbOpts: {
|
|
62132
|
-
weight:
|
|
62094
|
+
weight: Ct,
|
|
62133
62095
|
kbExpr: Re.textInputFocus,
|
|
62134
62096
|
primary: 16,
|
|
62135
62097
|
mac: { primary: 16, secondary: [
|
|
@@ -62147,7 +62109,7 @@ var hi;
|
|
|
62147
62109
|
id: "cursorUpSelect",
|
|
62148
62110
|
precondition: void 0,
|
|
62149
62111
|
kbOpts: {
|
|
62150
|
-
weight:
|
|
62112
|
+
weight: Ct,
|
|
62151
62113
|
kbExpr: Re.textInputFocus,
|
|
62152
62114
|
primary: 1040,
|
|
62153
62115
|
secondary: [
|
|
@@ -62174,7 +62136,7 @@ var hi;
|
|
|
62174
62136
|
id: "cursorPageUp",
|
|
62175
62137
|
precondition: void 0,
|
|
62176
62138
|
kbOpts: {
|
|
62177
|
-
weight:
|
|
62139
|
+
weight: Ct,
|
|
62178
62140
|
kbExpr: Re.textInputFocus,
|
|
62179
62141
|
primary: 11
|
|
62180
62142
|
/* KeyCode.PageUp */
|
|
@@ -62190,7 +62152,7 @@ var hi;
|
|
|
62190
62152
|
id: "cursorPageUpSelect",
|
|
62191
62153
|
precondition: void 0,
|
|
62192
62154
|
kbOpts: {
|
|
62193
|
-
weight:
|
|
62155
|
+
weight: Ct,
|
|
62194
62156
|
kbExpr: Re.textInputFocus,
|
|
62195
62157
|
primary: 1035
|
|
62196
62158
|
/* KeyCode.PageUp */
|
|
@@ -62205,7 +62167,7 @@ var hi;
|
|
|
62205
62167
|
id: "cursorDown",
|
|
62206
62168
|
precondition: void 0,
|
|
62207
62169
|
kbOpts: {
|
|
62208
|
-
weight:
|
|
62170
|
+
weight: Ct,
|
|
62209
62171
|
kbExpr: Re.textInputFocus,
|
|
62210
62172
|
primary: 18,
|
|
62211
62173
|
mac: { primary: 18, secondary: [
|
|
@@ -62223,7 +62185,7 @@ var hi;
|
|
|
62223
62185
|
id: "cursorDownSelect",
|
|
62224
62186
|
precondition: void 0,
|
|
62225
62187
|
kbOpts: {
|
|
62226
|
-
weight:
|
|
62188
|
+
weight: Ct,
|
|
62227
62189
|
kbExpr: Re.textInputFocus,
|
|
62228
62190
|
primary: 1042,
|
|
62229
62191
|
secondary: [
|
|
@@ -62250,7 +62212,7 @@ var hi;
|
|
|
62250
62212
|
id: "cursorPageDown",
|
|
62251
62213
|
precondition: void 0,
|
|
62252
62214
|
kbOpts: {
|
|
62253
|
-
weight:
|
|
62215
|
+
weight: Ct,
|
|
62254
62216
|
kbExpr: Re.textInputFocus,
|
|
62255
62217
|
primary: 12
|
|
62256
62218
|
/* KeyCode.PageDown */
|
|
@@ -62266,7 +62228,7 @@ var hi;
|
|
|
62266
62228
|
id: "cursorPageDownSelect",
|
|
62267
62229
|
precondition: void 0,
|
|
62268
62230
|
kbOpts: {
|
|
62269
|
-
weight:
|
|
62231
|
+
weight: Ct,
|
|
62270
62232
|
kbExpr: Re.textInputFocus,
|
|
62271
62233
|
primary: 1036
|
|
62272
62234
|
/* KeyCode.PageDown */
|
|
@@ -62323,7 +62285,7 @@ var hi;
|
|
|
62323
62285
|
id: "cursorHome",
|
|
62324
62286
|
precondition: void 0,
|
|
62325
62287
|
kbOpts: {
|
|
62326
|
-
weight:
|
|
62288
|
+
weight: Ct,
|
|
62327
62289
|
kbExpr: Re.textInputFocus,
|
|
62328
62290
|
primary: 14,
|
|
62329
62291
|
mac: { primary: 14, secondary: [
|
|
@@ -62336,7 +62298,7 @@ var hi;
|
|
|
62336
62298
|
id: "cursorHomeSelect",
|
|
62337
62299
|
precondition: void 0,
|
|
62338
62300
|
kbOpts: {
|
|
62339
|
-
weight:
|
|
62301
|
+
weight: Ct,
|
|
62340
62302
|
kbExpr: Re.textInputFocus,
|
|
62341
62303
|
primary: 1038,
|
|
62342
62304
|
mac: { primary: 1038, secondary: [
|
|
@@ -62366,7 +62328,7 @@ var hi;
|
|
|
62366
62328
|
id: "cursorLineStart",
|
|
62367
62329
|
precondition: void 0,
|
|
62368
62330
|
kbOpts: {
|
|
62369
|
-
weight:
|
|
62331
|
+
weight: Ct,
|
|
62370
62332
|
kbExpr: Re.textInputFocus,
|
|
62371
62333
|
primary: 0,
|
|
62372
62334
|
mac: {
|
|
@@ -62379,7 +62341,7 @@ var hi;
|
|
|
62379
62341
|
id: "cursorLineStartSelect",
|
|
62380
62342
|
precondition: void 0,
|
|
62381
62343
|
kbOpts: {
|
|
62382
|
-
weight:
|
|
62344
|
+
weight: Ct,
|
|
62383
62345
|
kbExpr: Re.textInputFocus,
|
|
62384
62346
|
primary: 0,
|
|
62385
62347
|
mac: {
|
|
@@ -62402,7 +62364,7 @@ var hi;
|
|
|
62402
62364
|
precondition: void 0,
|
|
62403
62365
|
kbOpts: {
|
|
62404
62366
|
args: { sticky: !1 },
|
|
62405
|
-
weight:
|
|
62367
|
+
weight: Ct,
|
|
62406
62368
|
kbExpr: Re.textInputFocus,
|
|
62407
62369
|
primary: 13,
|
|
62408
62370
|
mac: { primary: 13, secondary: [
|
|
@@ -62432,7 +62394,7 @@ var hi;
|
|
|
62432
62394
|
precondition: void 0,
|
|
62433
62395
|
kbOpts: {
|
|
62434
62396
|
args: { sticky: !1 },
|
|
62435
|
-
weight:
|
|
62397
|
+
weight: Ct,
|
|
62436
62398
|
kbExpr: Re.textInputFocus,
|
|
62437
62399
|
primary: 1037,
|
|
62438
62400
|
mac: { primary: 1037, secondary: [
|
|
@@ -62478,7 +62440,7 @@ var hi;
|
|
|
62478
62440
|
id: "cursorLineEnd",
|
|
62479
62441
|
precondition: void 0,
|
|
62480
62442
|
kbOpts: {
|
|
62481
|
-
weight:
|
|
62443
|
+
weight: Ct,
|
|
62482
62444
|
kbExpr: Re.textInputFocus,
|
|
62483
62445
|
primary: 0,
|
|
62484
62446
|
mac: {
|
|
@@ -62491,7 +62453,7 @@ var hi;
|
|
|
62491
62453
|
id: "cursorLineEndSelect",
|
|
62492
62454
|
precondition: void 0,
|
|
62493
62455
|
kbOpts: {
|
|
62494
|
-
weight:
|
|
62456
|
+
weight: Ct,
|
|
62495
62457
|
kbExpr: Re.textInputFocus,
|
|
62496
62458
|
primary: 0,
|
|
62497
62459
|
mac: {
|
|
@@ -62513,7 +62475,7 @@ var hi;
|
|
|
62513
62475
|
id: "cursorTop",
|
|
62514
62476
|
precondition: void 0,
|
|
62515
62477
|
kbOpts: {
|
|
62516
|
-
weight:
|
|
62478
|
+
weight: Ct,
|
|
62517
62479
|
kbExpr: Re.textInputFocus,
|
|
62518
62480
|
primary: 2062,
|
|
62519
62481
|
mac: {
|
|
@@ -62526,7 +62488,7 @@ var hi;
|
|
|
62526
62488
|
id: "cursorTopSelect",
|
|
62527
62489
|
precondition: void 0,
|
|
62528
62490
|
kbOpts: {
|
|
62529
|
-
weight:
|
|
62491
|
+
weight: Ct,
|
|
62530
62492
|
kbExpr: Re.textInputFocus,
|
|
62531
62493
|
primary: 3086,
|
|
62532
62494
|
mac: {
|
|
@@ -62548,7 +62510,7 @@ var hi;
|
|
|
62548
62510
|
id: "cursorBottom",
|
|
62549
62511
|
precondition: void 0,
|
|
62550
62512
|
kbOpts: {
|
|
62551
|
-
weight:
|
|
62513
|
+
weight: Ct,
|
|
62552
62514
|
kbExpr: Re.textInputFocus,
|
|
62553
62515
|
primary: 2061,
|
|
62554
62516
|
mac: {
|
|
@@ -62561,7 +62523,7 @@ var hi;
|
|
|
62561
62523
|
id: "cursorBottomSelect",
|
|
62562
62524
|
precondition: void 0,
|
|
62563
62525
|
kbOpts: {
|
|
62564
|
-
weight:
|
|
62526
|
+
weight: Ct,
|
|
62565
62527
|
kbExpr: Re.textInputFocus,
|
|
62566
62528
|
primary: 3085,
|
|
62567
62529
|
mac: {
|
|
@@ -62658,7 +62620,7 @@ var hi;
|
|
|
62658
62620
|
id: "scrollLineUp",
|
|
62659
62621
|
precondition: void 0,
|
|
62660
62622
|
kbOpts: {
|
|
62661
|
-
weight:
|
|
62623
|
+
weight: Ct,
|
|
62662
62624
|
kbExpr: Re.textInputFocus,
|
|
62663
62625
|
primary: 2064,
|
|
62664
62626
|
mac: {
|
|
@@ -62684,7 +62646,7 @@ var hi;
|
|
|
62684
62646
|
id: "scrollPageUp",
|
|
62685
62647
|
precondition: void 0,
|
|
62686
62648
|
kbOpts: {
|
|
62687
|
-
weight:
|
|
62649
|
+
weight: Ct,
|
|
62688
62650
|
kbExpr: Re.textInputFocus,
|
|
62689
62651
|
primary: 2059,
|
|
62690
62652
|
win: {
|
|
@@ -62714,7 +62676,7 @@ var hi;
|
|
|
62714
62676
|
id: "scrollEditorTop",
|
|
62715
62677
|
precondition: void 0,
|
|
62716
62678
|
kbOpts: {
|
|
62717
|
-
weight:
|
|
62679
|
+
weight: Ct,
|
|
62718
62680
|
kbExpr: Re.textInputFocus
|
|
62719
62681
|
}
|
|
62720
62682
|
});
|
|
@@ -62735,7 +62697,7 @@ var hi;
|
|
|
62735
62697
|
id: "scrollLineDown",
|
|
62736
62698
|
precondition: void 0,
|
|
62737
62699
|
kbOpts: {
|
|
62738
|
-
weight:
|
|
62700
|
+
weight: Ct,
|
|
62739
62701
|
kbExpr: Re.textInputFocus,
|
|
62740
62702
|
primary: 2066,
|
|
62741
62703
|
mac: {
|
|
@@ -62761,7 +62723,7 @@ var hi;
|
|
|
62761
62723
|
id: "scrollPageDown",
|
|
62762
62724
|
precondition: void 0,
|
|
62763
62725
|
kbOpts: {
|
|
62764
|
-
weight:
|
|
62726
|
+
weight: Ct,
|
|
62765
62727
|
kbExpr: Re.textInputFocus,
|
|
62766
62728
|
primary: 2060,
|
|
62767
62729
|
win: {
|
|
@@ -62791,7 +62753,7 @@ var hi;
|
|
|
62791
62753
|
id: "scrollEditorBottom",
|
|
62792
62754
|
precondition: void 0,
|
|
62793
62755
|
kbOpts: {
|
|
62794
|
-
weight:
|
|
62756
|
+
weight: Ct,
|
|
62795
62757
|
kbExpr: Re.textInputFocus
|
|
62796
62758
|
}
|
|
62797
62759
|
});
|
|
@@ -62812,7 +62774,7 @@ var hi;
|
|
|
62812
62774
|
id: "scrollLeft",
|
|
62813
62775
|
precondition: void 0,
|
|
62814
62776
|
kbOpts: {
|
|
62815
|
-
weight:
|
|
62777
|
+
weight: Ct,
|
|
62816
62778
|
kbExpr: Re.textInputFocus
|
|
62817
62779
|
}
|
|
62818
62780
|
});
|
|
@@ -62833,7 +62795,7 @@ var hi;
|
|
|
62833
62795
|
id: "scrollRight",
|
|
62834
62796
|
precondition: void 0,
|
|
62835
62797
|
kbOpts: {
|
|
62836
|
-
weight:
|
|
62798
|
+
weight: Ct,
|
|
62837
62799
|
kbExpr: Re.textInputFocus
|
|
62838
62800
|
}
|
|
62839
62801
|
});
|
|
@@ -62925,7 +62887,7 @@ var hi;
|
|
|
62925
62887
|
id: "cancelSelection",
|
|
62926
62888
|
precondition: Re.hasNonEmptySelection,
|
|
62927
62889
|
kbOpts: {
|
|
62928
|
-
weight:
|
|
62890
|
+
weight: Ct,
|
|
62929
62891
|
kbExpr: Re.textInputFocus,
|
|
62930
62892
|
primary: 9,
|
|
62931
62893
|
secondary: [
|
|
@@ -62946,7 +62908,7 @@ var hi;
|
|
|
62946
62908
|
id: "removeSecondaryCursors",
|
|
62947
62909
|
precondition: Re.hasMultipleSelections,
|
|
62948
62910
|
kbOpts: {
|
|
62949
|
-
weight:
|
|
62911
|
+
weight: Ct + 1,
|
|
62950
62912
|
kbExpr: Re.textInputFocus,
|
|
62951
62913
|
primary: 9,
|
|
62952
62914
|
secondary: [
|
|
@@ -63035,7 +62997,7 @@ function Gp(n, e) {
|
|
|
63035
62997
|
id: n,
|
|
63036
62998
|
primary: e,
|
|
63037
62999
|
when: qQe,
|
|
63038
|
-
weight:
|
|
63000
|
+
weight: Ct + 1
|
|
63039
63001
|
});
|
|
63040
63002
|
}
|
|
63041
63003
|
Gp(
|
|
@@ -63085,7 +63047,7 @@ var HW;
|
|
|
63085
63047
|
id: "lineBreakInsert",
|
|
63086
63048
|
precondition: Re.writable,
|
|
63087
63049
|
kbOpts: {
|
|
63088
|
-
weight:
|
|
63050
|
+
weight: Ct,
|
|
63089
63051
|
kbExpr: Re.textInputFocus,
|
|
63090
63052
|
primary: 0,
|
|
63091
63053
|
mac: {
|
|
@@ -63104,7 +63066,7 @@ var HW;
|
|
|
63104
63066
|
id: "outdent",
|
|
63105
63067
|
precondition: Re.writable,
|
|
63106
63068
|
kbOpts: {
|
|
63107
|
-
weight:
|
|
63069
|
+
weight: Ct,
|
|
63108
63070
|
kbExpr: Yt.and(Re.editorTextFocus, Re.tabDoesNotMoveFocus),
|
|
63109
63071
|
primary: 1026
|
|
63110
63072
|
/* KeyCode.Tab */
|
|
@@ -63120,7 +63082,7 @@ var HW;
|
|
|
63120
63082
|
id: "tab",
|
|
63121
63083
|
precondition: Re.writable,
|
|
63122
63084
|
kbOpts: {
|
|
63123
|
-
weight:
|
|
63085
|
+
weight: Ct,
|
|
63124
63086
|
kbExpr: Yt.and(Re.editorTextFocus, Re.tabDoesNotMoveFocus),
|
|
63125
63087
|
primary: 2
|
|
63126
63088
|
/* KeyCode.Tab */
|
|
@@ -63136,7 +63098,7 @@ var HW;
|
|
|
63136
63098
|
id: "deleteLeft",
|
|
63137
63099
|
precondition: void 0,
|
|
63138
63100
|
kbOpts: {
|
|
63139
|
-
weight:
|
|
63101
|
+
weight: Ct,
|
|
63140
63102
|
kbExpr: Re.textInputFocus,
|
|
63141
63103
|
primary: 1,
|
|
63142
63104
|
secondary: [
|
|
@@ -63165,7 +63127,7 @@ var HW;
|
|
|
63165
63127
|
id: "deleteRight",
|
|
63166
63128
|
precondition: void 0,
|
|
63167
63129
|
kbOpts: {
|
|
63168
|
-
weight:
|
|
63130
|
+
weight: Ct,
|
|
63169
63131
|
kbExpr: Re.textInputFocus,
|
|
63170
63132
|
primary: 20,
|
|
63171
63133
|
mac: { primary: 20, secondary: [
|
|
@@ -71068,24 +71030,24 @@ class See {
|
|
|
71068
71030
|
this.parent = null, this.left = null, this.right = null;
|
|
71069
71031
|
}
|
|
71070
71032
|
}
|
|
71071
|
-
const
|
|
71072
|
-
|
|
71073
|
-
|
|
71074
|
-
|
|
71033
|
+
const ut = new See(null, 0, 0);
|
|
71034
|
+
ut.parent = ut;
|
|
71035
|
+
ut.left = ut;
|
|
71036
|
+
ut.right = ut;
|
|
71075
71037
|
nn(
|
|
71076
|
-
|
|
71038
|
+
ut,
|
|
71077
71039
|
0
|
|
71078
71040
|
/* NodeColor.Black */
|
|
71079
71041
|
);
|
|
71080
71042
|
class z5 {
|
|
71081
71043
|
constructor() {
|
|
71082
|
-
this.root =
|
|
71044
|
+
this.root = ut, this.requestNormalizeDelta = !1;
|
|
71083
71045
|
}
|
|
71084
71046
|
intervalSearch(e, t, i, r, s, o) {
|
|
71085
|
-
return this.root ===
|
|
71047
|
+
return this.root === ut ? [] : Pet(this, e, t, i, r, s, o);
|
|
71086
71048
|
}
|
|
71087
71049
|
search(e, t, i, r) {
|
|
71088
|
-
return this.root ===
|
|
71050
|
+
return this.root === ut ? [] : Ret(this, e, t, i, r);
|
|
71089
71051
|
}
|
|
71090
71052
|
/**
|
|
71091
71053
|
* Will not set `cachedAbsoluteStart` nor `cachedAbsoluteEnd` on the returned nodes!
|
|
@@ -71132,12 +71094,12 @@ class z5 {
|
|
|
71132
71094
|
}
|
|
71133
71095
|
function Tet(n) {
|
|
71134
71096
|
let e = n.root, t = 0;
|
|
71135
|
-
for (; e !==
|
|
71136
|
-
if (e.left !==
|
|
71097
|
+
for (; e !== ut; ) {
|
|
71098
|
+
if (e.left !== ut && !ji(e.left)) {
|
|
71137
71099
|
e = e.left;
|
|
71138
71100
|
continue;
|
|
71139
71101
|
}
|
|
71140
|
-
if (e.right !==
|
|
71102
|
+
if (e.right !== ut && !ji(e.right)) {
|
|
71141
71103
|
t += e.delta, e = e.right;
|
|
71142
71104
|
continue;
|
|
71143
71105
|
}
|
|
@@ -71173,7 +71135,7 @@ function Aet(n, e, t) {
|
|
|
71173
71135
|
let i = n.root, r = 0, s = 0, o = 0, a = 0;
|
|
71174
71136
|
const l = [];
|
|
71175
71137
|
let c = 0;
|
|
71176
|
-
for (; i !==
|
|
71138
|
+
for (; i !== ut; ) {
|
|
71177
71139
|
if (ji(i)) {
|
|
71178
71140
|
Jt(i.left, !1), Jt(i.right, !1), i === i.parent.right && (r -= i.parent.delta), i = i.parent;
|
|
71179
71141
|
continue;
|
|
@@ -71183,7 +71145,7 @@ function Aet(n, e, t) {
|
|
|
71183
71145
|
Jt(i, !0);
|
|
71184
71146
|
continue;
|
|
71185
71147
|
}
|
|
71186
|
-
if (i.left !==
|
|
71148
|
+
if (i.left !== ut) {
|
|
71187
71149
|
i = i.left;
|
|
71188
71150
|
continue;
|
|
71189
71151
|
}
|
|
@@ -71192,7 +71154,7 @@ function Aet(n, e, t) {
|
|
|
71192
71154
|
Jt(i, !0);
|
|
71193
71155
|
continue;
|
|
71194
71156
|
}
|
|
71195
|
-
if (a = r + i.end, a >= e && (i.setCachedOffsets(o, a, 0), l[c++] = i), Jt(i, !0), i.right !==
|
|
71157
|
+
if (a = r + i.end, a >= e && (i.setCachedOffsets(o, a, 0), l[c++] = i), Jt(i, !0), i.right !== ut && !ji(i.right)) {
|
|
71196
71158
|
r += i.delta, i = i.right;
|
|
71197
71159
|
continue;
|
|
71198
71160
|
}
|
|
@@ -71202,7 +71164,7 @@ function Aet(n, e, t) {
|
|
|
71202
71164
|
function Net(n, e, t, i) {
|
|
71203
71165
|
let r = n.root, s = 0, o = 0, a = 0;
|
|
71204
71166
|
const l = i - (t - e);
|
|
71205
|
-
for (; r !==
|
|
71167
|
+
for (; r !== ut; ) {
|
|
71206
71168
|
if (ji(r)) {
|
|
71207
71169
|
Jt(r.left, !1), Jt(r.right, !1), r === r.parent.right && (s -= r.parent.delta), Ad(r), r = r.parent;
|
|
71208
71170
|
continue;
|
|
@@ -71212,7 +71174,7 @@ function Net(n, e, t, i) {
|
|
|
71212
71174
|
Jt(r, !0);
|
|
71213
71175
|
continue;
|
|
71214
71176
|
}
|
|
71215
|
-
if (r.left !==
|
|
71177
|
+
if (r.left !== ut) {
|
|
71216
71178
|
r = r.left;
|
|
71217
71179
|
continue;
|
|
71218
71180
|
}
|
|
@@ -71221,7 +71183,7 @@ function Net(n, e, t, i) {
|
|
|
71221
71183
|
r.start += l, r.end += l, r.delta += l, (r.delta < -1073741824 || r.delta > 1073741824) && (n.requestNormalizeDelta = !0), Jt(r, !0);
|
|
71222
71184
|
continue;
|
|
71223
71185
|
}
|
|
71224
|
-
if (Jt(r, !0), r.right !==
|
|
71186
|
+
if (Jt(r, !0), r.right !== ut && !ji(r.right)) {
|
|
71225
71187
|
s += r.delta, r = r.right;
|
|
71226
71188
|
continue;
|
|
71227
71189
|
}
|
|
@@ -71232,16 +71194,16 @@ function Oet(n, e) {
|
|
|
71232
71194
|
let t = n.root;
|
|
71233
71195
|
const i = [];
|
|
71234
71196
|
let r = 0;
|
|
71235
|
-
for (; t !==
|
|
71197
|
+
for (; t !== ut; ) {
|
|
71236
71198
|
if (ji(t)) {
|
|
71237
71199
|
Jt(t.left, !1), Jt(t.right, !1), t = t.parent;
|
|
71238
71200
|
continue;
|
|
71239
71201
|
}
|
|
71240
|
-
if (t.left !==
|
|
71202
|
+
if (t.left !== ut && !ji(t.left)) {
|
|
71241
71203
|
t = t.left;
|
|
71242
71204
|
continue;
|
|
71243
71205
|
}
|
|
71244
|
-
if (t.ownerId === e && (i[r++] = t), Jt(t, !0), t.right !==
|
|
71206
|
+
if (t.ownerId === e && (i[r++] = t), Jt(t, !0), t.right !== ut && !ji(t.right)) {
|
|
71245
71207
|
t = t.right;
|
|
71246
71208
|
continue;
|
|
71247
71209
|
}
|
|
@@ -71252,16 +71214,16 @@ function Met(n) {
|
|
|
71252
71214
|
let e = n.root;
|
|
71253
71215
|
const t = [];
|
|
71254
71216
|
let i = 0;
|
|
71255
|
-
for (; e !==
|
|
71217
|
+
for (; e !== ut; ) {
|
|
71256
71218
|
if (ji(e)) {
|
|
71257
71219
|
Jt(e.left, !1), Jt(e.right, !1), e = e.parent;
|
|
71258
71220
|
continue;
|
|
71259
71221
|
}
|
|
71260
|
-
if (e.left !==
|
|
71222
|
+
if (e.left !== ut && !ji(e.left)) {
|
|
71261
71223
|
e = e.left;
|
|
71262
71224
|
continue;
|
|
71263
71225
|
}
|
|
71264
|
-
if (e.right !==
|
|
71226
|
+
if (e.right !== ut && !ji(e.right)) {
|
|
71265
71227
|
e = e.right;
|
|
71266
71228
|
continue;
|
|
71267
71229
|
}
|
|
@@ -71273,18 +71235,18 @@ function Ret(n, e, t, i, r) {
|
|
|
71273
71235
|
let s = n.root, o = 0, a = 0, l = 0;
|
|
71274
71236
|
const c = [];
|
|
71275
71237
|
let u = 0;
|
|
71276
|
-
for (; s !==
|
|
71238
|
+
for (; s !== ut; ) {
|
|
71277
71239
|
if (ji(s)) {
|
|
71278
71240
|
Jt(s.left, !1), Jt(s.right, !1), s === s.parent.right && (o -= s.parent.delta), s = s.parent;
|
|
71279
71241
|
continue;
|
|
71280
71242
|
}
|
|
71281
|
-
if (s.left !==
|
|
71243
|
+
if (s.left !== ut && !ji(s.left)) {
|
|
71282
71244
|
s = s.left;
|
|
71283
71245
|
continue;
|
|
71284
71246
|
}
|
|
71285
71247
|
a = o + s.start, l = o + s.end, s.setCachedOffsets(a, l, i);
|
|
71286
71248
|
let d = !0;
|
|
71287
|
-
if (e && s.ownerId && s.ownerId !== e && (d = !1), t && Cee(s) && (d = !1), r && !wee(s) && (d = !1), d && (c[u++] = s), Jt(s, !0), s.right !==
|
|
71249
|
+
if (e && s.ownerId && s.ownerId !== e && (d = !1), t && Cee(s) && (d = !1), r && !wee(s) && (d = !1), d && (c[u++] = s), Jt(s, !0), s.right !== ut && !ji(s.right)) {
|
|
71288
71250
|
o += s.delta, s = s.right;
|
|
71289
71251
|
continue;
|
|
71290
71252
|
}
|
|
@@ -71295,7 +71257,7 @@ function Pet(n, e, t, i, r, s, o) {
|
|
|
71295
71257
|
let a = n.root, l = 0, c = 0, u = 0, d = 0;
|
|
71296
71258
|
const h = [];
|
|
71297
71259
|
let f = 0;
|
|
71298
|
-
for (; a !==
|
|
71260
|
+
for (; a !== ut; ) {
|
|
71299
71261
|
if (ji(a)) {
|
|
71300
71262
|
Jt(a.left, !1), Jt(a.right, !1), a === a.parent.right && (l -= a.parent.delta), a = a.parent;
|
|
71301
71263
|
continue;
|
|
@@ -71305,7 +71267,7 @@ function Pet(n, e, t, i, r, s, o) {
|
|
|
71305
71267
|
Jt(a, !0);
|
|
71306
71268
|
continue;
|
|
71307
71269
|
}
|
|
71308
|
-
if (a.left !==
|
|
71270
|
+
if (a.left !== ut) {
|
|
71309
71271
|
a = a.left;
|
|
71310
71272
|
continue;
|
|
71311
71273
|
}
|
|
@@ -71319,7 +71281,7 @@ function Pet(n, e, t, i, r, s, o) {
|
|
|
71319
71281
|
let g = !0;
|
|
71320
71282
|
i && a.ownerId && a.ownerId !== i && (g = !1), r && Cee(a) && (g = !1), o && !wee(a) && (g = !1), g && (h[f++] = a);
|
|
71321
71283
|
}
|
|
71322
|
-
if (Jt(a, !0), a.right !==
|
|
71284
|
+
if (Jt(a, !0), a.right !== ut && !ji(a.right)) {
|
|
71323
71285
|
l += a.delta, a = a.right;
|
|
71324
71286
|
continue;
|
|
71325
71287
|
}
|
|
@@ -71327,8 +71289,8 @@ function Pet(n, e, t, i, r, s, o) {
|
|
|
71327
71289
|
return Jt(n.root, !1), h;
|
|
71328
71290
|
}
|
|
71329
71291
|
function gV(n, e) {
|
|
71330
|
-
if (n.root ===
|
|
71331
|
-
return e.parent =
|
|
71292
|
+
if (n.root === ut)
|
|
71293
|
+
return e.parent = ut, e.left = ut, e.right = ut, nn(
|
|
71332
71294
|
e,
|
|
71333
71295
|
0
|
|
71334
71296
|
/* NodeColor.Black */
|
|
@@ -71394,17 +71356,17 @@ function Fet(n, e) {
|
|
|
71394
71356
|
const r = e.start, s = e.end;
|
|
71395
71357
|
for (; ; )
|
|
71396
71358
|
if (Wet(r, s, i.start + t, i.end + t) < 0)
|
|
71397
|
-
if (i.left ===
|
|
71359
|
+
if (i.left === ut) {
|
|
71398
71360
|
e.start -= t, e.end -= t, e.maxEnd -= t, i.left = e;
|
|
71399
71361
|
break;
|
|
71400
71362
|
} else
|
|
71401
71363
|
i = i.left;
|
|
71402
|
-
else if (i.right ===
|
|
71364
|
+
else if (i.right === ut) {
|
|
71403
71365
|
e.start -= t + i.delta, e.end -= t + i.delta, e.maxEnd -= t + i.delta, i.right = e;
|
|
71404
71366
|
break;
|
|
71405
71367
|
} else
|
|
71406
71368
|
t += i.delta, i = i.right;
|
|
71407
|
-
e.parent = i, e.left =
|
|
71369
|
+
e.parent = i, e.left = ut, e.right = ut, nn(
|
|
71408
71370
|
e,
|
|
71409
71371
|
1
|
|
71410
71372
|
/* NodeColor.Red */
|
|
@@ -71412,16 +71374,16 @@ function Fet(n, e) {
|
|
|
71412
71374
|
}
|
|
71413
71375
|
function mV(n, e) {
|
|
71414
71376
|
let t, i;
|
|
71415
|
-
if (e.left ===
|
|
71377
|
+
if (e.left === ut ? (t = e.right, i = e, t.delta += e.delta, (t.delta < -1073741824 || t.delta > 1073741824) && (n.requestNormalizeDelta = !0), t.start += e.delta, t.end += e.delta) : e.right === ut ? (t = e.left, i = e) : (i = Bet(e.right), t = i.right, t.start += i.delta, t.end += i.delta, t.delta += i.delta, (t.delta < -1073741824 || t.delta > 1073741824) && (n.requestNormalizeDelta = !0), i.start += e.delta, i.end += e.delta, i.delta = e.delta, (i.delta < -1073741824 || i.delta > 1073741824) && (n.requestNormalizeDelta = !0)), i === n.root) {
|
|
71416
71378
|
n.root = t, nn(
|
|
71417
71379
|
t,
|
|
71418
71380
|
0
|
|
71419
71381
|
/* NodeColor.Black */
|
|
71420
|
-
), e.detach(), U5(), Ad(t), n.root.parent =
|
|
71382
|
+
), e.detach(), U5(), Ad(t), n.root.parent = ut;
|
|
71421
71383
|
return;
|
|
71422
71384
|
}
|
|
71423
71385
|
const r = Mr(i) === 1;
|
|
71424
|
-
if (i === i.parent.left ? i.parent.left = t : i.parent.right = t, i === e ? t.parent = i.parent : (i.parent === e ? t.parent = i : t.parent = i.parent, i.left = e.left, i.right = e.right, i.parent = e.parent, nn(i, Mr(e)), e === n.root ? n.root = i : e === e.parent.left ? e.parent.left = i : e.parent.right = i, i.left !==
|
|
71386
|
+
if (i === i.parent.left ? i.parent.left = t : i.parent.right = t, i === e ? t.parent = i.parent : (i.parent === e ? t.parent = i : t.parent = i.parent, i.left = e.left, i.right = e.right, i.parent = e.parent, nn(i, Mr(e)), e === n.root ? n.root = i : e === e.parent.left ? e.parent.left = i : e.parent.right = i, i.left !== ut && (i.left.parent = i), i.right !== ut && (i.right.parent = i)), e.detach(), r) {
|
|
71425
71387
|
Du(t.parent), i !== e && (Du(i), Du(i.parent)), U5();
|
|
71426
71388
|
return;
|
|
71427
71389
|
}
|
|
@@ -71492,28 +71454,28 @@ function mV(n, e) {
|
|
|
71492
71454
|
), U5();
|
|
71493
71455
|
}
|
|
71494
71456
|
function Bet(n) {
|
|
71495
|
-
for (; n.left !==
|
|
71457
|
+
for (; n.left !== ut; )
|
|
71496
71458
|
n = n.left;
|
|
71497
71459
|
return n;
|
|
71498
71460
|
}
|
|
71499
71461
|
function U5() {
|
|
71500
|
-
|
|
71462
|
+
ut.parent = ut, ut.delta = 0, ut.start = 0, ut.end = 0;
|
|
71501
71463
|
}
|
|
71502
71464
|
function Av(n, e) {
|
|
71503
71465
|
const t = e.right;
|
|
71504
|
-
t.delta += e.delta, (t.delta < -1073741824 || t.delta > 1073741824) && (n.requestNormalizeDelta = !0), t.start += e.delta, t.end += e.delta, e.right = t.left, t.left !==
|
|
71466
|
+
t.delta += e.delta, (t.delta < -1073741824 || t.delta > 1073741824) && (n.requestNormalizeDelta = !0), t.start += e.delta, t.end += e.delta, e.right = t.left, t.left !== ut && (t.left.parent = e), t.parent = e.parent, e.parent === ut ? n.root = t : e === e.parent.left ? e.parent.left = t : e.parent.right = t, t.left = e, e.parent = t, Ad(e), Ad(t);
|
|
71505
71467
|
}
|
|
71506
71468
|
function Nv(n, e) {
|
|
71507
71469
|
const t = e.left;
|
|
71508
|
-
e.delta -= t.delta, (e.delta < -1073741824 || e.delta > 1073741824) && (n.requestNormalizeDelta = !0), e.start -= t.delta, e.end -= t.delta, e.left = t.right, t.right !==
|
|
71470
|
+
e.delta -= t.delta, (e.delta < -1073741824 || e.delta > 1073741824) && (n.requestNormalizeDelta = !0), e.start -= t.delta, e.end -= t.delta, e.left = t.right, t.right !== ut && (t.right.parent = e), t.parent = e.parent, e.parent === ut ? n.root = t : e === e.parent.right ? e.parent.right = t : e.parent.left = t, t.right = e, e.parent = t, Ad(e), Ad(t);
|
|
71509
71471
|
}
|
|
71510
71472
|
function xee(n) {
|
|
71511
71473
|
let e = n.end;
|
|
71512
|
-
if (n.left !==
|
|
71474
|
+
if (n.left !== ut) {
|
|
71513
71475
|
const t = n.left.maxEnd;
|
|
71514
71476
|
t > e && (e = t);
|
|
71515
71477
|
}
|
|
71516
|
-
if (n.right !==
|
|
71478
|
+
if (n.right !== ut) {
|
|
71517
71479
|
const t = n.right.maxEnd + n.delta;
|
|
71518
71480
|
t > e && (e = t);
|
|
71519
71481
|
}
|
|
@@ -71523,7 +71485,7 @@ function Ad(n) {
|
|
|
71523
71485
|
n.maxEnd = xee(n);
|
|
71524
71486
|
}
|
|
71525
71487
|
function Du(n) {
|
|
71526
|
-
for (; n !==
|
|
71488
|
+
for (; n !== ut; ) {
|
|
71527
71489
|
const e = xee(n);
|
|
71528
71490
|
if (n.maxEnd === e)
|
|
71529
71491
|
return;
|
|
@@ -80580,7 +80542,7 @@ class Ds extends xe {
|
|
|
80580
80542
|
}))), this._register(Vnt.event((d) => this.hoverDelay = d)), this.layoutProvider = t, this.orthogonalStartSash = i.orthogonalStartSash, this.orthogonalEndSash = i.orthogonalEndSash, this.orientation = i.orientation || 0, this.orientation === 1 ? (this.el.classList.add("horizontal"), this.el.classList.remove("vertical")) : (this.el.classList.remove("horizontal"), this.el.classList.add("vertical")), this.el.classList.toggle("debug", Pnt), this.layout();
|
|
80581
80543
|
}
|
|
80582
80544
|
onPointerStart(e, t) {
|
|
80583
|
-
|
|
80545
|
+
ht.stop(e);
|
|
80584
80546
|
let i = !1;
|
|
80585
80547
|
if (!e.__orthogonalSashEvent) {
|
|
80586
80548
|
const g = this.getOrthogonalSash(e);
|
|
@@ -80599,11 +80561,11 @@ class Ds extends xe {
|
|
|
80599
80561
|
}, d = new tt();
|
|
80600
80562
|
u(), i || this.onDidEnablementChange.event(u, null, d);
|
|
80601
80563
|
const h = (g) => {
|
|
80602
|
-
|
|
80564
|
+
ht.stop(g, !1);
|
|
80603
80565
|
const m = { startX: s, currentX: g.pageX, startY: o, currentY: g.pageY, altKey: a };
|
|
80604
80566
|
this._onDidChange.fire(m);
|
|
80605
80567
|
}, f = (g) => {
|
|
80606
|
-
|
|
80568
|
+
ht.stop(g, !1), this.el.removeChild(c), this.el.classList.remove("active"), this._onDidEnd.fire(), d.dispose();
|
|
80607
80569
|
for (const m of r)
|
|
80608
80570
|
m.classList.remove(PV);
|
|
80609
80571
|
};
|
|
@@ -81931,7 +81893,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
81931
81893
|
}, V.list = function(M) {
|
|
81932
81894
|
var R = this.rules.block.list.exec(M);
|
|
81933
81895
|
if (R) {
|
|
81934
|
-
var j, z, de, Se, Ee, Oe, Ye,
|
|
81896
|
+
var j, z, de, Se, Ee, Oe, Ye, Ue, Rt, kt, Ae, Tt, $t = R[1].trim(), Vn = $t.length > 1, Kt = {
|
|
81935
81897
|
type: "list",
|
|
81936
81898
|
raw: "",
|
|
81937
81899
|
ordered: Vn,
|
|
@@ -81941,21 +81903,21 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
81941
81903
|
};
|
|
81942
81904
|
$t = Vn ? "\\d{1,9}\\" + $t.slice(-1) : "\\" + $t, this.options.pedantic && ($t = Vn ? $t : "[*+-]");
|
|
81943
81905
|
for (var kn = new RegExp("^( {0,3}" + $t + ")((?:[ ][^\\n]*)?(?:\\n|$))"); M && (Tt = !1, !(!(R = kn.exec(M)) || this.rules.block.hr.test(M))); ) {
|
|
81944
|
-
if (j = R[0], M = M.substring(j.length),
|
|
81906
|
+
if (j = R[0], M = M.substring(j.length), Ue = R[2].split(`
|
|
81945
81907
|
`, 1)[0], Rt = M.split(`
|
|
81946
|
-
`, 1)[0], this.options.pedantic ? (Se = 2, Ae =
|
|
81908
|
+
`, 1)[0], this.options.pedantic ? (Se = 2, Ae = Ue.trimLeft()) : (Se = R[2].search(/[^ ]/), Se = Se > 4 ? 1 : Se, Ae = Ue.slice(Se), Se += R[1].length), Oe = !1, !Ue && /^ *$/.test(Rt) && (j += Rt + `
|
|
81947
81909
|
`, M = M.substring(Rt.length + 1), Tt = !0), !Tt)
|
|
81948
81910
|
for (var ys = new RegExp("^ {0," + Math.min(3, Se - 1) + "}(?:[*+-]|\\d{1,9}[.)])((?: [^\\n]*)?(?:\\n|$))"), ir = new RegExp("^ {0," + Math.min(3, Se - 1) + "}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)"), Cs = new RegExp("^ {0," + Math.min(3, Se - 1) + "}(?:```|~~~)"), ea = new RegExp("^ {0," + Math.min(3, Se - 1) + "}#"); M && (kt = M.split(`
|
|
81949
|
-
`, 1)[0],
|
|
81950
|
-
if (
|
|
81911
|
+
`, 1)[0], Ue = kt, this.options.pedantic && (Ue = Ue.replace(/^ {1,4}(?=( {4})*[^ ])/g, " ")), !(Cs.test(Ue) || ea.test(Ue) || ys.test(Ue) || ir.test(M))); ) {
|
|
81912
|
+
if (Ue.search(/[^ ]/) >= Se || !Ue.trim())
|
|
81951
81913
|
Ae += `
|
|
81952
|
-
` +
|
|
81914
|
+
` + Ue.slice(Se);
|
|
81953
81915
|
else if (!Oe)
|
|
81954
81916
|
Ae += `
|
|
81955
|
-
` +
|
|
81917
|
+
` + Ue;
|
|
81956
81918
|
else
|
|
81957
81919
|
break;
|
|
81958
|
-
!Oe && !
|
|
81920
|
+
!Oe && !Ue.trim() && (Oe = !0), j += kt + `
|
|
81959
81921
|
`, M = M.substring(kt.length + 1);
|
|
81960
81922
|
}
|
|
81961
81923
|
Kt.loose || (Ye ? Kt.loose = !0 : /\n *\n *$/.test(j) && (Ye = !0)), this.options.gfm && (z = /^\[[ xX]\] /.exec(Ae), z && (de = z[0] !== "[ ] ", Ae = Ae.replace(/^\[[ xX]\] +/, ""))), Kt.items.push({
|
|
@@ -81975,8 +81937,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
81975
81937
|
return Tr.type === "space";
|
|
81976
81938
|
}), Jl = ja.every(function(Tr) {
|
|
81977
81939
|
for (var Gd = Tr.raw.split(""), Yd = 0, Qf = o(Gd), Zd; !(Zd = Qf()).done; ) {
|
|
81978
|
-
var
|
|
81979
|
-
if (
|
|
81940
|
+
var dt = Zd.value;
|
|
81941
|
+
if (dt === `
|
|
81980
81942
|
` && (Yd += 1), Yd > 1)
|
|
81981
81943
|
return !0;
|
|
81982
81944
|
}
|
|
@@ -82115,8 +82077,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
82115
82077
|
}
|
|
82116
82078
|
var Oe = R[2], Ye = "";
|
|
82117
82079
|
if (this.options.pedantic) {
|
|
82118
|
-
var
|
|
82119
|
-
|
|
82080
|
+
var Ue = /^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Oe);
|
|
82081
|
+
Ue && (Oe = Ue[1], Ye = Ue[3]);
|
|
82120
82082
|
} else
|
|
82121
82083
|
Ye = R[3] ? R[3].slice(1, -1) : "";
|
|
82122
82084
|
return Oe = Oe.trim(), /^</.test(Oe) && (this.options.pedantic && !/>$/.test(j) ? Oe = Oe.slice(1) : Oe = Oe.slice(1, -1)), ne(R, {
|
|
@@ -82144,18 +82106,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
82144
82106
|
if (z && !(z[3] && j.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))) {
|
|
82145
82107
|
var de = z[1] || z[2] || "";
|
|
82146
82108
|
if (!de || de && (j === "" || this.rules.inline.punctuation.exec(j))) {
|
|
82147
|
-
var Se = z[0].length - 1, Ee, Oe, Ye = Se,
|
|
82109
|
+
var Se = z[0].length - 1, Ee, Oe, Ye = Se, Ue = 0, Rt = z[0][0] === "*" ? this.rules.inline.emStrong.rDelimAst : this.rules.inline.emStrong.rDelimUnd;
|
|
82148
82110
|
for (Rt.lastIndex = 0, R = R.slice(-1 * M.length + Se); (z = Rt.exec(R)) != null; )
|
|
82149
82111
|
if (Ee = z[1] || z[2] || z[3] || z[4] || z[5] || z[6], !!Ee) {
|
|
82150
82112
|
if (Oe = Ee.length, z[3] || z[4]) {
|
|
82151
82113
|
Ye += Oe;
|
|
82152
82114
|
continue;
|
|
82153
82115
|
} else if ((z[5] || z[6]) && Se % 3 && !((Se + Oe) % 3)) {
|
|
82154
|
-
|
|
82116
|
+
Ue += Oe;
|
|
82155
82117
|
continue;
|
|
82156
82118
|
}
|
|
82157
82119
|
if (Ye -= Oe, !(Ye > 0)) {
|
|
82158
|
-
if (Oe = Math.min(Oe, Oe + Ye +
|
|
82120
|
+
if (Oe = Math.min(Oe, Oe + Ye + Ue), Math.min(Se, Oe) % 2) {
|
|
82159
82121
|
var kt = M.slice(1, Se + z.index + Oe);
|
|
82160
82122
|
return {
|
|
82161
82123
|
type: "em",
|
|
@@ -82370,8 +82332,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
82370
82332
|
return this.tokens;
|
|
82371
82333
|
}, V.blockTokens = function(M, R) {
|
|
82372
82334
|
var j = this;
|
|
82373
|
-
R === void 0 && (R = []), this.options.pedantic ? M = M.replace(/\t/g, " ").replace(/^ +$/gm, "") : M = M.replace(/^( *)(\t+)/gm, function(Ye,
|
|
82374
|
-
return
|
|
82335
|
+
R === void 0 && (R = []), this.options.pedantic ? M = M.replace(/\t/g, " ").replace(/^ +$/gm, "") : M = M.replace(/^( *)(\t+)/gm, function(Ye, Ue, Rt) {
|
|
82336
|
+
return Ue + " ".repeat(Rt.length);
|
|
82375
82337
|
});
|
|
82376
82338
|
for (var z, de, Se, Ee; M; )
|
|
82377
82339
|
if (!(this.options.extensions && this.options.extensions.block && this.options.extensions.block.some(function(Ye) {
|
|
@@ -82432,11 +82394,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
82432
82394
|
continue;
|
|
82433
82395
|
}
|
|
82434
82396
|
if (Se = M, this.options.extensions && this.options.extensions.startBlock && function() {
|
|
82435
|
-
var Ye = 1 / 0,
|
|
82397
|
+
var Ye = 1 / 0, Ue = M.slice(1), Rt = void 0;
|
|
82436
82398
|
j.options.extensions.startBlock.forEach(function(kt) {
|
|
82437
82399
|
Rt = kt.call({
|
|
82438
82400
|
lexer: this
|
|
82439
|
-
},
|
|
82401
|
+
}, Ue), typeof Rt == "number" && Rt >= 0 && (Ye = Math.min(Ye, Rt));
|
|
82440
82402
|
}), Ye < 1 / 0 && Ye >= 0 && (Se = M.substring(0, Ye + 1));
|
|
82441
82403
|
}(), this.state.top && (z = this.tokenizer.paragraph(Se))) {
|
|
82442
82404
|
de = R[R.length - 1], Ee && de.type === "paragraph" ? (de.raw += `
|
|
@@ -82468,7 +82430,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
82468
82430
|
}, V.inlineTokens = function(M, R) {
|
|
82469
82431
|
var j = this;
|
|
82470
82432
|
R === void 0 && (R = []);
|
|
82471
|
-
var z, de, Se, Ee = M, Oe, Ye,
|
|
82433
|
+
var z, de, Se, Ee = M, Oe, Ye, Ue;
|
|
82472
82434
|
if (this.tokens.links) {
|
|
82473
82435
|
var Rt = Object.keys(this.tokens.links);
|
|
82474
82436
|
if (Rt.length > 0)
|
|
@@ -82480,7 +82442,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
82480
82442
|
for (; (Oe = this.tokenizer.rules.inline.escapedEmSt.exec(Ee)) != null; )
|
|
82481
82443
|
Ee = Ee.slice(0, Oe.index) + "++" + Ee.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);
|
|
82482
82444
|
for (; M; )
|
|
82483
|
-
if (Ye || (
|
|
82445
|
+
if (Ye || (Ue = ""), Ye = !1, !(this.options.extensions && this.options.extensions.inline && this.options.extensions.inline.some(function(Ae) {
|
|
82484
82446
|
return (z = Ae.call({
|
|
82485
82447
|
lexer: j
|
|
82486
82448
|
}, M, R)) ? (M = M.substring(z.raw.length), R.push(z), !0) : !1;
|
|
@@ -82501,7 +82463,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
82501
82463
|
M = M.substring(z.raw.length), de = R[R.length - 1], de && z.type === "text" && de.type === "text" ? (de.raw += z.raw, de.text += z.text) : R.push(z);
|
|
82502
82464
|
continue;
|
|
82503
82465
|
}
|
|
82504
|
-
if (z = this.tokenizer.emStrong(M, Ee,
|
|
82466
|
+
if (z = this.tokenizer.emStrong(M, Ee, Ue)) {
|
|
82505
82467
|
M = M.substring(z.raw.length), R.push(z);
|
|
82506
82468
|
continue;
|
|
82507
82469
|
}
|
|
@@ -82533,7 +82495,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
82533
82495
|
}, Tt), typeof $t == "number" && $t >= 0 && (Ae = Math.min(Ae, $t));
|
|
82534
82496
|
}), Ae < 1 / 0 && Ae >= 0 && (Se = M.substring(0, Ae + 1));
|
|
82535
82497
|
}(), z = this.tokenizer.inlineText(Se, ce)) {
|
|
82536
|
-
M = M.substring(z.raw.length), z.raw.slice(-1) !== "_" && (
|
|
82498
|
+
M = M.substring(z.raw.length), z.raw.slice(-1) !== "_" && (Ue = z.raw.slice(-1)), Ye = !0, de = R[R.length - 1], de && de.type === "text" ? (de.raw += z.raw, de.text += z.text) : R.push(z);
|
|
82537
82499
|
continue;
|
|
82538
82500
|
}
|
|
82539
82501
|
if (M) {
|
|
@@ -82696,7 +82658,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
82696
82658
|
var V = K.prototype;
|
|
82697
82659
|
return V.parse = function(M, R) {
|
|
82698
82660
|
R === void 0 && (R = !0);
|
|
82699
|
-
var j = "", z, de, Se, Ee, Oe, Ye,
|
|
82661
|
+
var j = "", z, de, Se, Ee, Oe, Ye, Ue, Rt, kt, Ae, Tt, $t, Vn, Kt, kn, ys, ir, Cs, ea, Ql = M.length;
|
|
82700
82662
|
for (z = 0; z < Ql; z++) {
|
|
82701
82663
|
if (Ae = M[z], this.options.extensions && this.options.extensions.renderers && this.options.extensions.renderers[Ae.type] && (ea = this.options.extensions.renderers[Ae.type].call({
|
|
82702
82664
|
parser: this
|
|
@@ -82720,18 +82682,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
82720
82682
|
continue;
|
|
82721
82683
|
}
|
|
82722
82684
|
case "table": {
|
|
82723
|
-
for (Rt = "",
|
|
82724
|
-
|
|
82685
|
+
for (Rt = "", Ue = "", Ee = Ae.header.length, de = 0; de < Ee; de++)
|
|
82686
|
+
Ue += this.renderer.tablecell(this.parseInline(Ae.header[de].tokens), {
|
|
82725
82687
|
header: !0,
|
|
82726
82688
|
align: Ae.align[de]
|
|
82727
82689
|
});
|
|
82728
|
-
for (Rt += this.renderer.tablerow(
|
|
82729
|
-
for (Ye = Ae.rows[de],
|
|
82730
|
-
|
|
82690
|
+
for (Rt += this.renderer.tablerow(Ue), kt = "", Ee = Ae.rows.length, de = 0; de < Ee; de++) {
|
|
82691
|
+
for (Ye = Ae.rows[de], Ue = "", Oe = Ye.length, Se = 0; Se < Oe; Se++)
|
|
82692
|
+
Ue += this.renderer.tablecell(this.parseInline(Ye[Se].tokens), {
|
|
82731
82693
|
header: !1,
|
|
82732
82694
|
align: Ae.align[Se]
|
|
82733
82695
|
});
|
|
82734
|
-
kt += this.renderer.tablerow(
|
|
82696
|
+
kt += this.renderer.tablerow(Ue);
|
|
82735
82697
|
}
|
|
82736
82698
|
j += this.renderer.table(Rt, kt);
|
|
82737
82699
|
continue;
|
|
@@ -82856,8 +82818,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
82856
82818
|
if (!Oe)
|
|
82857
82819
|
try {
|
|
82858
82820
|
V.walkTokens && ge.walkTokens(R, V.walkTokens), Ye = ye.parse(R, V);
|
|
82859
|
-
} catch (
|
|
82860
|
-
Oe =
|
|
82821
|
+
} catch (Ue) {
|
|
82822
|
+
Oe = Ue;
|
|
82861
82823
|
}
|
|
82862
82824
|
return V.highlight = M, Oe ? U(Oe) : U(null, Ye);
|
|
82863
82825
|
};
|
|
@@ -82911,8 +82873,8 @@ Please report this to https://github.com/markedjs/marked.`, V.silent)
|
|
|
82911
82873
|
if (Se.renderer) {
|
|
82912
82874
|
var Ee = R.renderers ? R.renderers[Se.name] : null;
|
|
82913
82875
|
Ee ? R.renderers[Se.name] = function() {
|
|
82914
|
-
for (var Oe = arguments.length, Ye = new Array(Oe),
|
|
82915
|
-
Ye[
|
|
82876
|
+
for (var Oe = arguments.length, Ye = new Array(Oe), Ue = 0; Ue < Oe; Ue++)
|
|
82877
|
+
Ye[Ue] = arguments[Ue];
|
|
82916
82878
|
var Rt = Se.renderer.apply(this, Ye);
|
|
82917
82879
|
return Rt === !1 && (Rt = Ee.apply(this, Ye)), Rt;
|
|
82918
82880
|
} : R.renderers[Se.name] = Se.renderer;
|
|
@@ -82924,12 +82886,12 @@ Please report this to https://github.com/markedjs/marked.`, V.silent)
|
|
|
82924
82886
|
}
|
|
82925
82887
|
Se.childTokens && (R.childTokens[Se.name] = Se.childTokens);
|
|
82926
82888
|
})), z.renderer && function() {
|
|
82927
|
-
var Se = ge.defaults.renderer || new we(), Ee = function(
|
|
82928
|
-
var Rt = Se[
|
|
82929
|
-
Se[
|
|
82889
|
+
var Se = ge.defaults.renderer || new we(), Ee = function(Ue) {
|
|
82890
|
+
var Rt = Se[Ue];
|
|
82891
|
+
Se[Ue] = function() {
|
|
82930
82892
|
for (var kt = arguments.length, Ae = new Array(kt), Tt = 0; Tt < kt; Tt++)
|
|
82931
82893
|
Ae[Tt] = arguments[Tt];
|
|
82932
|
-
var $t = z.renderer[
|
|
82894
|
+
var $t = z.renderer[Ue].apply(Se, Ae);
|
|
82933
82895
|
return $t === !1 && ($t = Rt.apply(Se, Ae)), $t;
|
|
82934
82896
|
};
|
|
82935
82897
|
};
|
|
@@ -82937,12 +82899,12 @@ Please report this to https://github.com/markedjs/marked.`, V.silent)
|
|
|
82937
82899
|
Ee(Oe);
|
|
82938
82900
|
M.renderer = Se;
|
|
82939
82901
|
}(), z.tokenizer && function() {
|
|
82940
|
-
var Se = ge.defaults.tokenizer || new se(), Ee = function(
|
|
82941
|
-
var Rt = Se[
|
|
82942
|
-
Se[
|
|
82902
|
+
var Se = ge.defaults.tokenizer || new se(), Ee = function(Ue) {
|
|
82903
|
+
var Rt = Se[Ue];
|
|
82904
|
+
Se[Ue] = function() {
|
|
82943
82905
|
for (var kt = arguments.length, Ae = new Array(kt), Tt = 0; Tt < kt; Tt++)
|
|
82944
82906
|
Ae[Tt] = arguments[Tt];
|
|
82945
|
-
var $t = z.tokenizer[
|
|
82907
|
+
var $t = z.tokenizer[Ue].apply(Se, Ae);
|
|
82946
82908
|
return $t === !1 && ($t = Rt.apply(Se, Ae)), $t;
|
|
82947
82909
|
};
|
|
82948
82910
|
};
|
|
@@ -82967,8 +82929,8 @@ Please report this to https://github.com/markedjs/marked.`, V.silent)
|
|
|
82967
82929
|
var Oe = Ee.value;
|
|
82968
82930
|
U = U.concat(ge.walkTokens(Oe.tokens, V));
|
|
82969
82931
|
}
|
|
82970
|
-
for (var Ye = o(de.rows),
|
|
82971
|
-
for (var Rt =
|
|
82932
|
+
for (var Ye = o(de.rows), Ue; !(Ue = Ye()).done; )
|
|
82933
|
+
for (var Rt = Ue.value, kt = o(Rt), Ae; !(Ae = kt()).done; ) {
|
|
82972
82934
|
var Tt = Ae.value;
|
|
82973
82935
|
U = U.concat(ge.walkTokens(Tt.tokens, V));
|
|
82974
82936
|
}
|
|
@@ -83107,7 +83069,7 @@ function Yee(n, e = {}, t = {}) {
|
|
|
83107
83069
|
y.preventDefault();
|
|
83108
83070
|
}
|
|
83109
83071
|
}, v = e.actionHandler.disposables.add(new _t(a, "click")), b = e.actionHandler.disposables.add(new _t(a, "auxclick"));
|
|
83110
|
-
e.actionHandler.disposables.add(
|
|
83072
|
+
e.actionHandler.disposables.add($e.any(v.event, b.event)((y) => {
|
|
83111
83073
|
const w = new gl(y);
|
|
83112
83074
|
!w.leftButton && !w.middleButton || _(w);
|
|
83113
83075
|
})), e.actionHandler.disposables.add(be(a, "keydown", (y) => {
|
|
@@ -83958,31 +83920,31 @@ class mo {
|
|
|
83958
83920
|
}
|
|
83959
83921
|
// Events
|
|
83960
83922
|
get onMouseClick() {
|
|
83961
|
-
return
|
|
83923
|
+
return $e.map(this.disposables.add(new _t(this.domNode, "click")).event, (e) => this.toMouseEvent(e), this.disposables);
|
|
83962
83924
|
}
|
|
83963
83925
|
get onMouseDblClick() {
|
|
83964
|
-
return
|
|
83926
|
+
return $e.map(this.disposables.add(new _t(this.domNode, "dblclick")).event, (e) => this.toMouseEvent(e), this.disposables);
|
|
83965
83927
|
}
|
|
83966
83928
|
get onMouseMiddleClick() {
|
|
83967
|
-
return
|
|
83929
|
+
return $e.filter($e.map(this.disposables.add(new _t(this.domNode, "auxclick")).event, (e) => this.toMouseEvent(e), this.disposables), (e) => e.browserEvent.button === 1, this.disposables);
|
|
83968
83930
|
}
|
|
83969
83931
|
get onMouseDown() {
|
|
83970
|
-
return
|
|
83932
|
+
return $e.map(this.disposables.add(new _t(this.domNode, "mousedown")).event, (e) => this.toMouseEvent(e), this.disposables);
|
|
83971
83933
|
}
|
|
83972
83934
|
get onMouseOver() {
|
|
83973
|
-
return
|
|
83935
|
+
return $e.map(this.disposables.add(new _t(this.domNode, "mouseover")).event, (e) => this.toMouseEvent(e), this.disposables);
|
|
83974
83936
|
}
|
|
83975
83937
|
get onMouseOut() {
|
|
83976
|
-
return
|
|
83938
|
+
return $e.map(this.disposables.add(new _t(this.domNode, "mouseout")).event, (e) => this.toMouseEvent(e), this.disposables);
|
|
83977
83939
|
}
|
|
83978
83940
|
get onContextMenu() {
|
|
83979
|
-
return
|
|
83941
|
+
return $e.any($e.map(this.disposables.add(new _t(this.domNode, "contextmenu")).event, (e) => this.toMouseEvent(e), this.disposables), $e.map(this.disposables.add(new _t(this.domNode, Qt.Contextmenu)).event, (e) => this.toGestureEvent(e), this.disposables));
|
|
83980
83942
|
}
|
|
83981
83943
|
get onTouchStart() {
|
|
83982
|
-
return
|
|
83944
|
+
return $e.map(this.disposables.add(new _t(this.domNode, "touchstart")).event, (e) => this.toTouchEvent(e), this.disposables);
|
|
83983
83945
|
}
|
|
83984
83946
|
get onTap() {
|
|
83985
|
-
return
|
|
83947
|
+
return $e.map(this.disposables.add(new _t(this.rowsContainer, Qt.Tap)).event, (e) => this.toGestureEvent(e), this.disposables);
|
|
83986
83948
|
}
|
|
83987
83949
|
toMouseEvent(e) {
|
|
83988
83950
|
const t = this.getItemIndexFromEventTarget(e.target || null), i = typeof t > "u" ? void 0 : this.items[t], r = i && i.element;
|
|
@@ -84407,7 +84369,7 @@ function Xee(n) {
|
|
|
84407
84369
|
}
|
|
84408
84370
|
class Qee {
|
|
84409
84371
|
get onKeyDown() {
|
|
84410
|
-
return this.disposables.add(
|
|
84372
|
+
return this.disposables.add($e.chain(this.disposables.add(new _t(this.view.domNode, "keydown")).event).filter((e) => !pd(e.target)).map((e) => new ln(e)));
|
|
84411
84373
|
}
|
|
84412
84374
|
constructor(e, t, i) {
|
|
84413
84375
|
this.list = e, this.view = t, this.disposables = new tt(), this.multipleSelectionDisposables = new tt(), this.onKeyDown.filter(
|
|
@@ -84500,8 +84462,8 @@ class ert {
|
|
|
84500
84462
|
if (this.enabled)
|
|
84501
84463
|
return;
|
|
84502
84464
|
let e = !1;
|
|
84503
|
-
const t = this.enabledDisposables.add(
|
|
84504
|
-
|
|
84465
|
+
const t = this.enabledDisposables.add($e.chain(this.enabledDisposables.add(new _t(this.view.domNode, "keydown")).event)).filter((s) => !pd(s.target)).filter(() => this.mode === ul.Automatic || this.triggered).map((s) => new ln(s)).filter((s) => e || this.keyboardNavigationEventFilter(s)).filter((s) => this.delegate.mightProducePrintableCharacter(s)).forEach((s) => ht.stop(s, !0)).map((s) => s.browserEvent.key).event, i = $e.debounce(t, () => null, 800, void 0, void 0, void 0, this.enabledDisposables);
|
|
84466
|
+
$e.reduce($e.any(t, i), (s, o) => o === null ? null : (s || "") + o, void 0, this.enabledDisposables)(this.onInput, this, this.enabledDisposables), i(this.onClear, this, this.enabledDisposables), t(() => e = !0, void 0, this.enabledDisposables), i(() => e = !1, void 0, this.enabledDisposables), this.enabled = !0, this.triggered = !1;
|
|
84505
84467
|
}
|
|
84506
84468
|
disable() {
|
|
84507
84469
|
this.enabled && (this.enabledDisposables.clear(), this.enabled = !1, this.triggered = !1);
|
|
@@ -84536,7 +84498,7 @@ class ert {
|
|
|
84536
84498
|
}
|
|
84537
84499
|
class trt {
|
|
84538
84500
|
constructor(e, t) {
|
|
84539
|
-
this.list = e, this.view = t, this.disposables = new tt(), this.disposables.add(
|
|
84501
|
+
this.list = e, this.view = t, this.disposables = new tt(), this.disposables.add($e.chain(this.disposables.add(new _t(t.domNode, "keydown")).event)).filter((r) => !pd(r.target)).map((r) => new ln(r)).filter((r) => r.keyCode === 2 && !r.ctrlKey && !r.metaKey && !r.shiftKey && !r.altKey).on(this.onTab, this, this.disposables);
|
|
84540
84502
|
}
|
|
84541
84503
|
onTab(e) {
|
|
84542
84504
|
if (e.target !== this.view.domNode)
|
|
@@ -84572,7 +84534,7 @@ const KV = {
|
|
|
84572
84534
|
};
|
|
84573
84535
|
class tte {
|
|
84574
84536
|
constructor(e) {
|
|
84575
|
-
this.list = e, this.disposables = new tt(), this._onPointer = new te(), this.onPointer = this._onPointer.event, e.options.multipleSelectionSupport !== !1 && (this.multipleSelectionController = this.list.options.multipleSelectionController || KV), this.mouseSupport = typeof e.options.mouseSupport > "u" || !!e.options.mouseSupport, this.mouseSupport && (e.onMouseDown(this.onMouseDown, this, this.disposables), e.onContextMenu(this.onContextMenu, this, this.disposables), e.onMouseDblClick(this.onDoubleClick, this, this.disposables), e.onTouchStart(this.onMouseDown, this, this.disposables), this.disposables.add(on.addTarget(e.getHTMLElement()))),
|
|
84537
|
+
this.list = e, this.disposables = new tt(), this._onPointer = new te(), this.onPointer = this._onPointer.event, e.options.multipleSelectionSupport !== !1 && (this.multipleSelectionController = this.list.options.multipleSelectionController || KV), this.mouseSupport = typeof e.options.mouseSupport > "u" || !!e.options.mouseSupport, this.mouseSupport && (e.onMouseDown(this.onMouseDown, this, this.disposables), e.onContextMenu(this.onContextMenu, this, this.disposables), e.onMouseDblClick(this.onDoubleClick, this, this.disposables), e.onTouchStart(this.onMouseDown, this, this.disposables), this.disposables.add(on.addTarget(e.getHTMLElement()))), $e.any(e.onMouseClick, e.onMouseMiddleClick, e.onTap)(this.onViewPointer, this, this.disposables);
|
|
84576
84538
|
}
|
|
84577
84539
|
updateOptions(e) {
|
|
84578
84540
|
e.multipleSelectionSupport !== void 0 && (this.multipleSelectionController = void 0, e.multipleSelectionSupport && (this.multipleSelectionController = this.list.options.multipleSelectionController || KV));
|
|
@@ -84851,10 +84813,10 @@ class crt {
|
|
|
84851
84813
|
}
|
|
84852
84814
|
class Zl {
|
|
84853
84815
|
get onDidChangeFocus() {
|
|
84854
|
-
return
|
|
84816
|
+
return $e.map(this.eventBufferer.wrapEvent(this.focus.onChange), (e) => this.toListEvent(e), this.disposables);
|
|
84855
84817
|
}
|
|
84856
84818
|
get onDidChangeSelection() {
|
|
84857
|
-
return
|
|
84819
|
+
return $e.map(this.eventBufferer.wrapEvent(this.selection.onChange), (e) => this.toListEvent(e), this.disposables);
|
|
84858
84820
|
}
|
|
84859
84821
|
get domId() {
|
|
84860
84822
|
return this.view.domId;
|
|
@@ -84895,17 +84857,17 @@ class Zl {
|
|
|
84895
84857
|
*/
|
|
84896
84858
|
get onContextMenu() {
|
|
84897
84859
|
let e = !1;
|
|
84898
|
-
const t = this.disposables.add(
|
|
84860
|
+
const t = this.disposables.add($e.chain(this.disposables.add(new _t(this.view.domNode, "keydown")).event)).map((s) => new ln(s)).filter((s) => e = s.keyCode === 58 || s.shiftKey && s.keyCode === 68).map((s) => ht.stop(s, !0)).filter(() => !1).event, i = this.disposables.add($e.chain(this.disposables.add(new _t(this.view.domNode, "keyup")).event)).forEach(() => e = !1).map((s) => new ln(s)).filter((s) => s.keyCode === 58 || s.shiftKey && s.keyCode === 68).map((s) => ht.stop(s, !0)).map(({ browserEvent: s }) => {
|
|
84899
84861
|
const o = this.getFocus(), a = o.length ? o[0] : void 0, l = typeof a < "u" ? this.view.element(a) : void 0, c = typeof a < "u" ? this.view.domElement(a) : this.view.domNode;
|
|
84900
84862
|
return { index: a, element: l, anchor: c, browserEvent: s };
|
|
84901
|
-
}).event, r = this.disposables.add(
|
|
84902
|
-
return
|
|
84863
|
+
}).event, r = this.disposables.add($e.chain(this.view.onContextMenu)).filter((s) => !e).map(({ element: s, index: o, browserEvent: a }) => ({ element: s, index: o, anchor: { x: a.pageX + 1, y: a.pageY }, browserEvent: a })).event;
|
|
84864
|
+
return $e.any(t, i, r);
|
|
84903
84865
|
}
|
|
84904
84866
|
get onKeyDown() {
|
|
84905
84867
|
return this.disposables.add(new _t(this.view.domNode, "keydown")).event;
|
|
84906
84868
|
}
|
|
84907
84869
|
get onDidFocus() {
|
|
84908
|
-
return
|
|
84870
|
+
return $e.signal(this.disposables.add(new _t(this.view.domNode, "focus", !0)).event);
|
|
84909
84871
|
}
|
|
84910
84872
|
constructor(e, t, i, r, s = rrt) {
|
|
84911
84873
|
var o, a, l, c;
|
|
@@ -85196,7 +85158,7 @@ class dl extends xe {
|
|
|
85196
85158
|
this.contextViewProvider = e, this.selectDropDownContainer = et(".monaco-select-box-dropdown-container"), this.selectDropDownContainer.classList.add("monaco-select-box-dropdown-padding"), this.selectionDetailsPane = Fe(this.selectDropDownContainer, Oh(".select-box-details-pane"));
|
|
85197
85159
|
const t = Fe(this.selectDropDownContainer, Oh(".select-box-dropdown-container-width-control")), i = Fe(t, Oh(".width-control-div"));
|
|
85198
85160
|
this.widthControlElement = document.createElement("span"), this.widthControlElement.className = "option-text-width-control", Fe(i, this.widthControlElement), this._dropDownPosition = 0, this.styleElement = Go(this.selectDropDownContainer), this.selectDropDownContainer.setAttribute("draggable", "true"), this._register(be(this.selectDropDownContainer, Te.DRAG_START, (r) => {
|
|
85199
|
-
|
|
85161
|
+
ht.stop(r, !0);
|
|
85200
85162
|
}));
|
|
85201
85163
|
}
|
|
85202
85164
|
registerListeners() {
|
|
@@ -85206,19 +85168,19 @@ class dl extends xe {
|
|
|
85206
85168
|
selected: t.target.value
|
|
85207
85169
|
}), this.options[this.selected] && this.options[this.selected].text && (this.selectElement.title = this.options[this.selected].text);
|
|
85208
85170
|
})), this._register(be(this.selectElement, Te.CLICK, (t) => {
|
|
85209
|
-
|
|
85171
|
+
ht.stop(t), this._isVisible ? this.hideSelectDropDown(!0) : this.showSelectDropDown();
|
|
85210
85172
|
})), this._register(be(this.selectElement, Te.MOUSE_DOWN, (t) => {
|
|
85211
|
-
|
|
85173
|
+
ht.stop(t);
|
|
85212
85174
|
}));
|
|
85213
85175
|
let e;
|
|
85214
85176
|
this._register(be(this.selectElement, "touchstart", (t) => {
|
|
85215
85177
|
e = this._isVisible;
|
|
85216
85178
|
})), this._register(be(this.selectElement, "touchend", (t) => {
|
|
85217
|
-
|
|
85179
|
+
ht.stop(t), e ? this.hideSelectDropDown(!0) : this.showSelectDropDown();
|
|
85218
85180
|
})), this._register(be(this.selectElement, Te.KEY_DOWN, (t) => {
|
|
85219
85181
|
const i = new ln(t);
|
|
85220
85182
|
let r = !1;
|
|
85221
|
-
Nt ? (i.keyCode === 18 || i.keyCode === 16 || i.keyCode === 10 || i.keyCode === 3) && (r = !0) : (i.keyCode === 18 && i.altKey || i.keyCode === 16 && i.altKey || i.keyCode === 10 || i.keyCode === 3) && (r = !0), r && (this.showSelectDropDown(),
|
|
85183
|
+
Nt ? (i.keyCode === 18 || i.keyCode === 16 || i.keyCode === 10 || i.keyCode === 3) && (r = !0) : (i.keyCode === 18 && i.altKey || i.keyCode === 16 && i.altKey || i.keyCode === 10 || i.keyCode === 3) && (r = !0), r && (this.showSelectDropDown(), ht.stop(t, !0));
|
|
85222
85184
|
}));
|
|
85223
85185
|
}
|
|
85224
85186
|
get onDidSelect() {
|
|
@@ -85364,7 +85326,7 @@ class dl extends xe {
|
|
|
85364
85326
|
getWidgetRole: () => "listbox"
|
|
85365
85327
|
}
|
|
85366
85328
|
}), this.selectBoxOptions.ariaLabel && (this.selectList.ariaLabel = this.selectBoxOptions.ariaLabel);
|
|
85367
|
-
const t = this._register(new _t(this.selectDropDownListContainer, "keydown")), i =
|
|
85329
|
+
const t = this._register(new _t(this.selectDropDownListContainer, "keydown")), i = $e.chain(t.event).filter(() => this.selectList.length > 0).map((r) => new ln(r));
|
|
85368
85330
|
this._register(i.filter(
|
|
85369
85331
|
(r) => r.keyCode === 3
|
|
85370
85332
|
/* KeyCode.Enter */
|
|
@@ -85402,7 +85364,7 @@ class dl extends xe {
|
|
|
85402
85364
|
onPointerUp(e) {
|
|
85403
85365
|
if (!this.selectList.length)
|
|
85404
85366
|
return;
|
|
85405
|
-
|
|
85367
|
+
ht.stop(e);
|
|
85406
85368
|
const t = e.target;
|
|
85407
85369
|
if (!t || t.classList.contains("slider"))
|
|
85408
85370
|
return;
|
|
@@ -85450,11 +85412,11 @@ class dl extends xe {
|
|
|
85450
85412
|
// List keyboard controller
|
|
85451
85413
|
// List exit - active - hide ContextView dropdown, reset selection, return focus to parent select
|
|
85452
85414
|
onEscape(e) {
|
|
85453
|
-
|
|
85415
|
+
ht.stop(e), this.select(this._currentSelection), this.hideSelectDropDown(!0);
|
|
85454
85416
|
}
|
|
85455
85417
|
// List exit - active - hide ContextView dropdown, return focus to parent select, fire onDidSelect if change
|
|
85456
85418
|
onEnter(e) {
|
|
85457
|
-
|
|
85419
|
+
ht.stop(e), this.selected !== this._currentSelection && (this._currentSelection = this.selected, this._onDidSelect.fire({
|
|
85458
85420
|
index: this.selectElement.selectedIndex,
|
|
85459
85421
|
selected: this.options[this.selected].text
|
|
85460
85422
|
}), this.options[this.selected] && this.options[this.selected].text && (this.selectElement.title = this.options[this.selected].text)), this.hideSelectDropDown(!0);
|
|
@@ -85462,7 +85424,7 @@ class dl extends xe {
|
|
|
85462
85424
|
// List navigation - have to handle a disabled option (jump over)
|
|
85463
85425
|
onDownArrow(e) {
|
|
85464
85426
|
if (this.selected < this.options.length - 1) {
|
|
85465
|
-
|
|
85427
|
+
ht.stop(e, !0);
|
|
85466
85428
|
const t = this.options[this.selected + 1].isDisabled;
|
|
85467
85429
|
if (t && this.options.length > this.selected + 2)
|
|
85468
85430
|
this.selected += 2;
|
|
@@ -85475,23 +85437,23 @@ class dl extends xe {
|
|
|
85475
85437
|
}
|
|
85476
85438
|
}
|
|
85477
85439
|
onUpArrow(e) {
|
|
85478
|
-
this.selected > 0 && (
|
|
85440
|
+
this.selected > 0 && (ht.stop(e, !0), this.options[this.selected - 1].isDisabled && this.selected > 1 ? this.selected -= 2 : this.selected--, this.select(this.selected), this.selectList.setFocus([this.selected]), this.selectList.reveal(this.selectList.getFocus()[0]));
|
|
85479
85441
|
}
|
|
85480
85442
|
onPageUp(e) {
|
|
85481
|
-
|
|
85443
|
+
ht.stop(e), this.selectList.focusPreviousPage(), setTimeout(() => {
|
|
85482
85444
|
this.selected = this.selectList.getFocus()[0], this.options[this.selected].isDisabled && this.selected < this.options.length - 1 && (this.selected++, this.selectList.setFocus([this.selected])), this.selectList.reveal(this.selected), this.select(this.selected);
|
|
85483
85445
|
}, 1);
|
|
85484
85446
|
}
|
|
85485
85447
|
onPageDown(e) {
|
|
85486
|
-
|
|
85448
|
+
ht.stop(e), this.selectList.focusNextPage(), setTimeout(() => {
|
|
85487
85449
|
this.selected = this.selectList.getFocus()[0], this.options[this.selected].isDisabled && this.selected > 0 && (this.selected--, this.selectList.setFocus([this.selected])), this.selectList.reveal(this.selected), this.select(this.selected);
|
|
85488
85450
|
}, 1);
|
|
85489
85451
|
}
|
|
85490
85452
|
onHome(e) {
|
|
85491
|
-
|
|
85453
|
+
ht.stop(e), !(this.options.length < 2) && (this.selected = 0, this.options[this.selected].isDisabled && this.selected > 1 && this.selected++, this.selectList.setFocus([this.selected]), this.selectList.reveal(this.selected), this.select(this.selected));
|
|
85492
85454
|
}
|
|
85493
85455
|
onEnd(e) {
|
|
85494
|
-
|
|
85456
|
+
ht.stop(e), !(this.options.length < 2) && (this.selected = this.options.length - 1, this.options[this.selected].isDisabled && this.selected > 1 && this.selected--, this.selectList.setFocus([this.selected]), this.selectList.reveal(this.selected), this.select(this.selected));
|
|
85495
85457
|
}
|
|
85496
85458
|
// Mimic option first character navigation of native select
|
|
85497
85459
|
onCharacter(e) {
|
|
@@ -85499,7 +85461,7 @@ class dl extends xe {
|
|
|
85499
85461
|
let i = -1;
|
|
85500
85462
|
for (let r = 0; r < this.options.length - 1; r++)
|
|
85501
85463
|
if (i = (r + this.selected + 1) % this.options.length, this.options[i].text.charAt(0).toUpperCase() === t && !this.options[i].isDisabled) {
|
|
85502
|
-
this.select(i), this.selectList.setFocus([i]), this.selectList.reveal(this.selectList.getFocus()[0]),
|
|
85464
|
+
this.select(i), this.selectList.setFocus([i]), this.selectList.reveal(this.selectList.getFocus()[0]), ht.stop(e);
|
|
85503
85465
|
break;
|
|
85504
85466
|
}
|
|
85505
85467
|
}
|
|
@@ -85520,7 +85482,7 @@ class drt extends xe {
|
|
|
85520
85482
|
this.selectElement.focus();
|
|
85521
85483
|
}));
|
|
85522
85484
|
}), this._register(oi(this.selectElement, "click", (e) => {
|
|
85523
|
-
|
|
85485
|
+
ht.stop(e, !0);
|
|
85524
85486
|
})), this._register(oi(this.selectElement, "change", (e) => {
|
|
85525
85487
|
this.selectElement.title = e.target.value, this._onDidSelect.fire({
|
|
85526
85488
|
index: e.target.selectedIndex,
|
|
@@ -85622,22 +85584,22 @@ class fa extends xe {
|
|
|
85622
85584
|
var s;
|
|
85623
85585
|
return (s = r.dataTransfer) === null || s === void 0 ? void 0 : s.setData(Uee.TEXT, this._action.label);
|
|
85624
85586
|
}))), this._register(be(t, Qt.Tap, (r) => this.onClick(r, !0))), this._register(be(t, Te.MOUSE_DOWN, (r) => {
|
|
85625
|
-
i ||
|
|
85587
|
+
i || ht.stop(r, !0), this._action.enabled && r.button === 0 && t.classList.add("active");
|
|
85626
85588
|
})), Nt && this._register(be(t, Te.CONTEXT_MENU, (r) => {
|
|
85627
85589
|
r.button === 0 && r.ctrlKey === !0 && this.onClick(r);
|
|
85628
85590
|
})), this._register(be(t, Te.CLICK, (r) => {
|
|
85629
|
-
|
|
85591
|
+
ht.stop(r, !0), this.options && this.options.isMenu || this.onClick(r);
|
|
85630
85592
|
})), this._register(be(t, Te.DBLCLICK, (r) => {
|
|
85631
|
-
|
|
85593
|
+
ht.stop(r, !0);
|
|
85632
85594
|
})), [Te.MOUSE_UP, Te.MOUSE_OUT].forEach((r) => {
|
|
85633
85595
|
this._register(be(t, r, (s) => {
|
|
85634
|
-
|
|
85596
|
+
ht.stop(s), t.classList.remove("active");
|
|
85635
85597
|
}));
|
|
85636
85598
|
});
|
|
85637
85599
|
}
|
|
85638
85600
|
onClick(e, t = !1) {
|
|
85639
85601
|
var i;
|
|
85640
|
-
|
|
85602
|
+
ht.stop(e, !0);
|
|
85641
85603
|
const r = Ts(this._context) ? !((i = this.options) === null || i === void 0) && i.useEventAsContext ? e : { preserveFocus: t } : this._context;
|
|
85642
85604
|
this.actionRunner.run(this._action, r);
|
|
85643
85605
|
}
|
|
@@ -85920,7 +85882,7 @@ class bf extends xe {
|
|
|
85920
85882
|
let a;
|
|
85921
85883
|
const l = Object.assign({ hoverDelegate: this.options.hoverDelegate }, t);
|
|
85922
85884
|
this.options.actionViewItemProvider && (a = this.options.actionViewItemProvider(s, l)), a || (a = new QR(this.context, s, l)), this.options.allowContextMenu || this.viewItemDisposables.set(a, be(o, Te.CONTEXT_MENU, (c) => {
|
|
85923
|
-
|
|
85885
|
+
ht.stop(c, !0);
|
|
85924
85886
|
})), a.actionRunner = this._actionRunner, a.setActionContext(this.context), a.render(o), this.focusable && a instanceof fa && 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++);
|
|
85925
85887
|
}), typeof this.focusedItem == "number" && this.focus(this.focusedItem), this.refreshRole();
|
|
85926
85888
|
}
|
|
@@ -88274,7 +88236,7 @@ let cx = class {
|
|
|
88274
88236
|
(e = this._codeEditorService.getFocusedCodeEditor()) === null || e === void 0 || e.focus();
|
|
88275
88237
|
}
|
|
88276
88238
|
constructor(e) {
|
|
88277
|
-
this._codeEditorService = e, this.onDidLayout =
|
|
88239
|
+
this._codeEditorService = e, this.onDidLayout = $e.None, this.offset = { top: 0, quickPickTop: 0 };
|
|
88278
88240
|
}
|
|
88279
88241
|
};
|
|
88280
88242
|
cx = hte([
|
|
@@ -90616,7 +90578,7 @@ function y$(n) {
|
|
|
90616
90578
|
const kst = /^(cursor|delete|undo|redo|tab|editor\.action\.clipboard)/;
|
|
90617
90579
|
class Dst extends xe {
|
|
90618
90580
|
get onDidUpdateKeybindings() {
|
|
90619
|
-
return this._onDidUpdateKeybindings ? this._onDidUpdateKeybindings.event :
|
|
90581
|
+
return this._onDidUpdateKeybindings ? this._onDidUpdateKeybindings.event : $e.None;
|
|
90620
90582
|
}
|
|
90621
90583
|
get inChordMode() {
|
|
90622
90584
|
return this._currentChords.length > 0;
|
|
@@ -92015,7 +91977,7 @@ class Jst extends Qm {
|
|
|
92015
91977
|
let i = t.labelRenderer;
|
|
92016
91978
|
i || (i = (s) => (s.textContent = t.label || "", null));
|
|
92017
91979
|
for (const s of [Te.CLICK, Te.MOUSE_DOWN, Qt.Tap])
|
|
92018
|
-
this._register(be(this.element, s, (o) =>
|
|
91980
|
+
this._register(be(this.element, s, (o) => ht.stop(o, !0)));
|
|
92019
91981
|
for (const s of [Te.MOUSE_DOWN, Qt.Tap])
|
|
92020
91982
|
this._register(be(this._label, s, (o) => {
|
|
92021
91983
|
o instanceof MouseEvent && (o.detail > 1 || o.button !== 0) || (this.visible ? this.hide() : this.show());
|
|
@@ -92028,7 +91990,7 @@ class Jst extends Qm {
|
|
|
92028
91990
|
) || o.equals(
|
|
92029
91991
|
10
|
|
92030
91992
|
/* KeyCode.Space */
|
|
92031
|
-
)) && (
|
|
91993
|
+
)) && (ht.stop(s, !0), this.visible ? this.hide() : this.show());
|
|
92032
91994
|
}));
|
|
92033
91995
|
const r = i(this._label);
|
|
92034
91996
|
r && this._register(r), this._register(on.addTarget(this._label));
|
|
@@ -92251,7 +92213,7 @@ class Cm extends xe {
|
|
|
92251
92213
|
Cm.DEFAULT_FLUSH_DELAY = 100;
|
|
92252
92214
|
class mD {
|
|
92253
92215
|
constructor() {
|
|
92254
|
-
this.onDidChangeItemsExternal =
|
|
92216
|
+
this.onDidChangeItemsExternal = $e.None, this.items = /* @__PURE__ */ new Map();
|
|
92255
92217
|
}
|
|
92256
92218
|
updateItems(e) {
|
|
92257
92219
|
var t, i;
|
|
@@ -92813,7 +92775,7 @@ class wm extends bf {
|
|
|
92813
92775
|
}), i.enableMnemonics && this.menuDisposables.add(be(s, Te.KEY_DOWN, (l) => {
|
|
92814
92776
|
const c = l.key.toLocaleLowerCase();
|
|
92815
92777
|
if (this.mnemonics.has(c)) {
|
|
92816
|
-
|
|
92778
|
+
ht.stop(l, !0);
|
|
92817
92779
|
const u = this.mnemonics.get(c);
|
|
92818
92780
|
if (u.length === 1 && (u[0] instanceof R$ && u[0].container && this.focusItemByElement(u[0].container), u[0].onClick(l)), u.length > 1) {
|
|
92819
92781
|
const d = u.shift();
|
|
@@ -92828,13 +92790,13 @@ class wm extends bf {
|
|
|
92828
92790
|
) || c.equals(
|
|
92829
92791
|
11
|
|
92830
92792
|
/* KeyCode.PageUp */
|
|
92831
|
-
) ? (this.focusedItem = this.viewItems.length - 1, this.focusNext(),
|
|
92793
|
+
) ? (this.focusedItem = this.viewItems.length - 1, this.focusNext(), ht.stop(l, !0)) : (c.equals(
|
|
92832
92794
|
13
|
|
92833
92795
|
/* KeyCode.End */
|
|
92834
92796
|
) || c.equals(
|
|
92835
92797
|
12
|
|
92836
92798
|
/* KeyCode.PageDown */
|
|
92837
|
-
)) && (this.focusedItem = 0, this.focusPrevious(),
|
|
92799
|
+
)) && (this.focusedItem = 0, this.focusPrevious(), ht.stop(l, !0));
|
|
92838
92800
|
})), this._register(be(this.domNode, Te.MOUSE_OUT, (l) => {
|
|
92839
92801
|
const c = l.relatedTarget;
|
|
92840
92802
|
ms(c, this.domNode) || (this.focusedItem = void 0, this.updateFocus(), l.stopPropagation());
|
|
@@ -92872,7 +92834,7 @@ class wm extends bf {
|
|
|
92872
92834
|
}));
|
|
92873
92835
|
const a = this.scrollableElement.getDomNode();
|
|
92874
92836
|
a.style.position = "", this.styleScrollElement(a, r), this._register(be(s, Qt.Change, (l) => {
|
|
92875
|
-
|
|
92837
|
+
ht.stop(l, !0);
|
|
92876
92838
|
const c = this.scrollableElement.getScrollPosition().scrollTop;
|
|
92877
92839
|
this.scrollableElement.setScrollPosition({ scrollTop: c - l.translationY });
|
|
92878
92840
|
})), this._register(be(a, Te.MOUSE_UP, (l) => {
|
|
@@ -92961,7 +92923,7 @@ class Ite extends fa {
|
|
|
92961
92923
|
}
|
|
92962
92924
|
this.runOnceToEnableMouseUp = new kr(() => {
|
|
92963
92925
|
this.element && (this._register(be(this.element, Te.MOUSE_UP, (s) => {
|
|
92964
|
-
if (
|
|
92926
|
+
if (ht.stop(s, !0), Ko) {
|
|
92965
92927
|
if (new gl(s).rightButton)
|
|
92966
92928
|
return;
|
|
92967
92929
|
this.onClick(s);
|
|
@@ -92970,7 +92932,7 @@ class Ite extends fa {
|
|
|
92970
92932
|
this.onClick(s);
|
|
92971
92933
|
}, 0);
|
|
92972
92934
|
})), this._register(be(this.element, Te.CONTEXT_MENU, (s) => {
|
|
92973
|
-
|
|
92935
|
+
ht.stop(s, !0);
|
|
92974
92936
|
})));
|
|
92975
92937
|
}, 100), this._register(this.runOnceToEnableMouseUp);
|
|
92976
92938
|
}
|
|
@@ -93047,7 +93009,7 @@ class R$ extends Ite {
|
|
|
93047
93009
|
) || i.equals(
|
|
93048
93010
|
3
|
|
93049
93011
|
/* KeyCode.Enter */
|
|
93050
|
-
)) && (
|
|
93012
|
+
)) && (ht.stop(t, !0), this.createSubmenu(!0));
|
|
93051
93013
|
})), this._register(be(this.element, Te.KEY_DOWN, (t) => {
|
|
93052
93014
|
const i = new ln(t);
|
|
93053
93015
|
gd() === this.item && (i.equals(
|
|
@@ -93056,7 +93018,7 @@ class R$ extends Ite {
|
|
|
93056
93018
|
) || i.equals(
|
|
93057
93019
|
3
|
|
93058
93020
|
/* KeyCode.Enter */
|
|
93059
|
-
)) &&
|
|
93021
|
+
)) && ht.stop(t, !0);
|
|
93060
93022
|
})), this._register(be(this.element, Te.MOUSE_OVER, (t) => {
|
|
93061
93023
|
this.mouseOver || (this.mouseOver = !0, this.showScheduler.schedule());
|
|
93062
93024
|
})), this._register(be(this.element, Te.MOUSE_LEAVE, (t) => {
|
|
@@ -93070,7 +93032,7 @@ class R$ extends Ite {
|
|
|
93070
93032
|
updateEnabled() {
|
|
93071
93033
|
}
|
|
93072
93034
|
onClick(e) {
|
|
93073
|
-
|
|
93035
|
+
ht.stop(e, !0), this.cleanupExistingSubmenu(!1), this.createSubmenu(!0);
|
|
93074
93036
|
}
|
|
93075
93037
|
cleanupExistingSubmenu(e) {
|
|
93076
93038
|
if (this.parentData.submenu && (e || this.parentData.submenu !== this.mysubmenu)) {
|
|
@@ -93103,12 +93065,12 @@ class R$ extends Ite {
|
|
|
93103
93065
|
new ln(c).equals(
|
|
93104
93066
|
15
|
|
93105
93067
|
/* KeyCode.LeftArrow */
|
|
93106
|
-
) && (
|
|
93068
|
+
) && (ht.stop(c, !0), this.parentData.parent.focus(), this.cleanupExistingSubmenu(!0));
|
|
93107
93069
|
})), this.submenuDisposables.add(be(this.submenuContainer, Te.KEY_DOWN, (c) => {
|
|
93108
93070
|
new ln(c).equals(
|
|
93109
93071
|
15
|
|
93110
93072
|
/* KeyCode.LeftArrow */
|
|
93111
|
-
) &&
|
|
93073
|
+
) && ht.stop(c, !0);
|
|
93112
93074
|
})), this.submenuDisposables.add(this.parentData.submenu.onDidCancel(() => {
|
|
93113
93075
|
this.parentData.parent.focus(), this.cleanupExistingSubmenu(!0);
|
|
93114
93076
|
})), this.parentData.submenu.focus(e), this.mysubmenu = this.parentData.submenu;
|
|
@@ -94293,13 +94255,13 @@ class Dot {
|
|
|
94293
94255
|
return this.list.onDidDispose;
|
|
94294
94256
|
}
|
|
94295
94257
|
get onMouseDblClick() {
|
|
94296
|
-
return
|
|
94258
|
+
return $e.map(this.list.onMouseDblClick, ({ element: e, index: t, browserEvent: i }) => ({ element: e === void 0 ? void 0 : this._model.get(e), index: t, browserEvent: i }));
|
|
94297
94259
|
}
|
|
94298
94260
|
get onPointer() {
|
|
94299
|
-
return
|
|
94261
|
+
return $e.map(this.list.onPointer, ({ element: e, index: t, browserEvent: i }) => ({ element: e === void 0 ? void 0 : this._model.get(e), index: t, browserEvent: i }));
|
|
94300
94262
|
}
|
|
94301
94263
|
get onDidChangeSelection() {
|
|
94302
|
-
return
|
|
94264
|
+
return $e.map(this.list.onDidChangeSelection, ({ elements: e, indexes: t, browserEvent: i }) => ({ elements: e.map((r) => this._model.get(r)), indexes: t, browserEvent: i }));
|
|
94303
94265
|
}
|
|
94304
94266
|
get model() {
|
|
94305
94267
|
return this._model;
|
|
@@ -94642,7 +94604,7 @@ class Aot extends xe {
|
|
|
94642
94604
|
})) : new Ds(this.sashContainer, { getVerticalSashLeft: (D) => this.getSashPosition(D), getVerticalSashHeight: this.getSashOrthogonalSize }, Object.assign(Object.assign({}, h), {
|
|
94643
94605
|
orientation: 0
|
|
94644
94606
|
/* Orientation.VERTICAL */
|
|
94645
|
-
})), g = this.orientation === 0 ? (D) => ({ sash: f, start: D.startY, current: D.currentY, alt: D.altKey }) : (D) => ({ sash: f, start: D.startX, current: D.currentX, alt: D.altKey }), p =
|
|
94607
|
+
})), g = this.orientation === 0 ? (D) => ({ sash: f, start: D.startY, current: D.currentY, alt: D.altKey }) : (D) => ({ sash: f, start: D.startX, current: D.currentX, alt: D.altKey }), p = $e.map(f.onDidStart, g)(this.onSashStart, this), v = $e.map(f.onDidChange, g)(this.onSashChange, this), y = $e.map(f.onDidEnd, () => this.sashItems.findIndex((D) => D.sash === f))(this.onSashEnd, this), w = f.onDidReset(() => {
|
|
94646
94608
|
const D = this.sashItems.findIndex((N) => N.sash === f), E = pr(D, -1), O = pr(D + 1, this.viewItems.length), A = this.findFirstSnapIndex(E), T = this.findFirstSnapIndex(O);
|
|
94647
94609
|
typeof A == "number" && !this.viewItems[A].visible || typeof T == "number" && !this.viewItems[T].visible || this._onDidSashReset.fire(D);
|
|
94648
94610
|
}), k = kl(p, v, y, w, f), x = { sash: f, disposable: k };
|
|
@@ -94847,7 +94809,7 @@ class Oot {
|
|
|
94847
94809
|
}
|
|
94848
94810
|
get onDidChange() {
|
|
94849
94811
|
var e;
|
|
94850
|
-
return (e = this.column.onDidChangeWidthConstraints) !== null && e !== void 0 ? e :
|
|
94812
|
+
return (e = this.column.onDidChangeWidthConstraints) !== null && e !== void 0 ? e : $e.None;
|
|
94851
94813
|
}
|
|
94852
94814
|
constructor(e, t) {
|
|
94853
94815
|
this.column = e, this.index = t, this._onDidLayout = new te(), this.onDidLayout = this._onDidLayout.event, this.element = et(".monaco-table-th", { "data-col-index": t, title: e.tooltip }, e.label);
|
|
@@ -94888,7 +94850,7 @@ class VL {
|
|
|
94888
94850
|
descriptor: l
|
|
94889
94851
|
})), this.splitview.el.style.height = `${i.headerRowHeight}px`, this.splitview.el.style.lineHeight = `${i.headerRowHeight}px`;
|
|
94890
94852
|
const c = new Sb(r, s, (u) => this.splitview.getViewSize(u));
|
|
94891
|
-
this.list = this.disposables.add(new Zl(e, this.domNode, Not(i), [c], o)),
|
|
94853
|
+
this.list = this.disposables.add(new Zl(e, this.domNode, Not(i), [c], o)), $e.any(...a.map((u) => u.onDidLayout))(([u, d]) => c.layoutColumn(u, d), null, this.disposables), this.splitview.onDidSashReset((u) => {
|
|
94892
94854
|
const d = r.reduce((f, g) => f + g.weight, 0), h = r[u].weight / d * this.cachedWidth;
|
|
94893
94855
|
this.splitview.resizeView(u, h);
|
|
94894
94856
|
}, null, this.disposables), this.styleElement = Go(this.domNode), this.style(irt);
|
|
@@ -95088,7 +95050,7 @@ let Hot = class extends zf {
|
|
|
95088
95050
|
vertical: 1
|
|
95089
95051
|
/* ScrollbarVisibility.Auto */
|
|
95090
95052
|
}), this.options.flexibleWidth && (this.input.setAttribute("wrap", "off"), this.mirror.style.whiteSpace = "pre", this.mirror.style.wordWrap = "initial"), Fe(e, this.scrollableElement.getDomNode()), this._register(this.scrollableElement), this._register(this.scrollableElement.onScroll((c) => this.input.scrollTop = c.scrollTop));
|
|
95091
|
-
const a = this._register(new _t(document, "selectionchange")), l =
|
|
95053
|
+
const a = this._register(new _t(document, "selectionchange")), l = $e.filter(a.event, () => {
|
|
95092
95054
|
const c = document.getSelection();
|
|
95093
95055
|
return (c == null ? void 0 : c.anchorNode) === o;
|
|
95094
95056
|
});
|
|
@@ -95364,7 +95326,7 @@ class Uot extends zf {
|
|
|
95364
95326
|
) && (f === 0 ? g = d.length - 1 : g = f - 1), h.equals(
|
|
95365
95327
|
9
|
|
95366
95328
|
/* KeyCode.Escape */
|
|
95367
|
-
) ? (d[f].blur(), this.inputBox.focus()) : g >= 0 && d[g].focus(),
|
|
95329
|
+
) ? (d[f].blur(), this.inputBox.focus()) : g >= 0 && d[g].focus(), ht.stop(h, !0);
|
|
95368
95330
|
}
|
|
95369
95331
|
}
|
|
95370
95332
|
});
|
|
@@ -95923,7 +95885,7 @@ class Xot {
|
|
|
95923
95885
|
return this._elements;
|
|
95924
95886
|
}
|
|
95925
95887
|
constructor(e, t = []) {
|
|
95926
|
-
this._elements = t, this.disposables = new tt(), this.onDidChange =
|
|
95888
|
+
this._elements = t, this.disposables = new tt(), this.onDidChange = $e.forEach(e, (i) => this._elements = i, this.disposables);
|
|
95927
95889
|
}
|
|
95928
95890
|
dispose() {
|
|
95929
95891
|
this.disposables.dispose();
|
|
@@ -95932,7 +95894,7 @@ class Xot {
|
|
|
95932
95894
|
class a1 {
|
|
95933
95895
|
constructor(e, t, i, r, s, o = {}) {
|
|
95934
95896
|
var a;
|
|
95935
|
-
this.renderer = e, this.modelProvider = t, this.activeNodes = r, this.renderedIndentGuides = s, this.renderedElements = /* @__PURE__ */ new Map(), this.renderedNodes = /* @__PURE__ */ new Map(), this.indent = a1.DefaultIndent, this.hideTwistiesOfChildlessElements = !1, this.shouldRenderIndentGuides = !1, this.activeIndentNodes = /* @__PURE__ */ new Set(), this.indentGuidesDisposable = xe.None, this.disposables = new tt(), this.templateId = e.templateId, this.updateOptions(o),
|
|
95897
|
+
this.renderer = e, this.modelProvider = t, this.activeNodes = r, this.renderedIndentGuides = s, this.renderedElements = /* @__PURE__ */ new Map(), this.renderedNodes = /* @__PURE__ */ new Map(), this.indent = a1.DefaultIndent, this.hideTwistiesOfChildlessElements = !1, this.shouldRenderIndentGuides = !1, this.activeIndentNodes = /* @__PURE__ */ new Set(), this.indentGuidesDisposable = xe.None, this.disposables = new tt(), this.templateId = e.templateId, this.updateOptions(o), $e.map(i, (l) => l.node)(this.onDidChangeNodeTwistieState, this, this.disposables), (a = e.onDidChangeTwistieState) === null || a === void 0 || a.call(e, this.onDidChangeTwistieState, this, this.disposables);
|
|
95936
95898
|
}
|
|
95937
95899
|
updateOptions(e = {}) {
|
|
95938
95900
|
if (typeof e.indent < "u") {
|
|
@@ -96255,16 +96217,16 @@ class Nte {
|
|
|
96255
96217
|
return this.eventBufferer.wrapEvent(this.selection.onDidChange);
|
|
96256
96218
|
}
|
|
96257
96219
|
get onMouseDblClick() {
|
|
96258
|
-
return
|
|
96220
|
+
return $e.filter($e.map(this.view.onMouseDblClick, H$), (e) => e.target !== Rh.Filter);
|
|
96259
96221
|
}
|
|
96260
96222
|
get onPointer() {
|
|
96261
|
-
return
|
|
96223
|
+
return $e.map(this.view.onPointer, H$);
|
|
96262
96224
|
}
|
|
96263
96225
|
get onDidFocus() {
|
|
96264
96226
|
return this.view.onDidFocus;
|
|
96265
96227
|
}
|
|
96266
96228
|
get onDidChangeModel() {
|
|
96267
|
-
return
|
|
96229
|
+
return $e.signal(this.model.onDidSplice);
|
|
96268
96230
|
}
|
|
96269
96231
|
get onDidChangeCollapseState() {
|
|
96270
96232
|
return this.model.onDidChangeCollapseState;
|
|
@@ -96294,19 +96256,19 @@ class Nte {
|
|
|
96294
96256
|
}
|
|
96295
96257
|
constructor(e, t, i, r, s = {}) {
|
|
96296
96258
|
var o;
|
|
96297
|
-
this._user = e, this._options = s, this.eventBufferer = new PM(), this.onDidChangeFindOpenState =
|
|
96259
|
+
this._user = e, this._options = s, this.eventBufferer = new PM(), this.onDidChangeFindOpenState = $e.None, this.disposables = new tt(), this._onWillRefilter = new te(), this.onWillRefilter = this._onWillRefilter.event, this._onDidUpdateOptions = new te();
|
|
96298
96260
|
const a = new l6(i), l = new qF(), c = new qF(), u = this.disposables.add(new Xot(c.event)), d = new Kot();
|
|
96299
96261
|
this.renderers = r.map((g) => new a1(g, () => this.model, l.event, u, d, s));
|
|
96300
96262
|
for (const g of this.renderers)
|
|
96301
96263
|
this.disposables.add(g);
|
|
96302
96264
|
let h;
|
|
96303
96265
|
s.keyboardNavigationLabelProvider && (h = new Qot(this, s.keyboardNavigationLabelProvider, s.filter), s = Object.assign(Object.assign({}, s), { filter: h }), this.disposables.add(h)), this.focus = new bD(() => this.view.getFocusedElements()[0], s.identityProvider), this.selection = new bD(() => this.view.getSelectedElements()[0], s.identityProvider), this.anchor = new bD(() => this.view.getAnchorElement(), s.identityProvider), this.view = new tat(e, t, a, this.renderers, this.focus, this.selection, this.anchor, Object.assign(Object.assign({}, Zot(() => this.model, s)), { tree: this })), this.model = this.createModel(e, this.view, s), l.input = this.model.onDidChangeCollapseState;
|
|
96304
|
-
const f =
|
|
96266
|
+
const f = $e.forEach(this.model.onDidSplice, (g) => {
|
|
96305
96267
|
this.eventBufferer.bufferEvents(() => {
|
|
96306
96268
|
this.focus.onDidModelSplice(g), this.selection.onDidModelSplice(g);
|
|
96307
96269
|
});
|
|
96308
96270
|
}, this.disposables);
|
|
96309
|
-
if (f(() => null, null, this.disposables), c.input =
|
|
96271
|
+
if (f(() => null, null, this.disposables), c.input = $e.chain($e.any(f, this.focus.onDidChange, this.selection.onDidChange)).debounce(() => null, 0).map(() => {
|
|
96310
96272
|
const g = /* @__PURE__ */ new Set();
|
|
96311
96273
|
for (const m of this.focus.getNodes())
|
|
96312
96274
|
g.add(m);
|
|
@@ -96314,7 +96276,7 @@ class Nte {
|
|
|
96314
96276
|
g.add(m);
|
|
96315
96277
|
return [...g.values()];
|
|
96316
96278
|
}).event, s.keyboardSupport !== !1) {
|
|
96317
|
-
const g =
|
|
96279
|
+
const g = $e.chain(this.view.onKeyDown).filter((m) => !pd(m.target)).map((m) => new ln(m));
|
|
96318
96280
|
g.filter(
|
|
96319
96281
|
(m) => m.keyCode === 15
|
|
96320
96282
|
/* KeyCode.LeftArrow */
|
|
@@ -96330,7 +96292,7 @@ class Nte {
|
|
|
96330
96292
|
const g = this.options.findWidgetStyles ? { styles: this.options.findWidgetStyles } : void 0;
|
|
96331
96293
|
this.findController = new Jot(this, this.model, this.view, h, s.contextViewProvider, g), this.focusNavigationFilter = (m) => this.findController.shouldAllowFocus(m), this.onDidChangeFindOpenState = this.findController.onDidChangeOpenState, this.disposables.add(this.findController), this.onDidChangeFindMode = this.findController.onDidChangeMode, this.onDidChangeFindMatchType = this.findController.onDidChangeMatchType;
|
|
96332
96294
|
} else
|
|
96333
|
-
this.onDidChangeFindMode =
|
|
96295
|
+
this.onDidChangeFindMode = $e.None, this.onDidChangeFindMatchType = $e.None;
|
|
96334
96296
|
this.styleElement = Go(this.view.getHTMLElement()), this.getHTMLElement().classList.toggle("always", this._options.renderIndentGuides === o1.Always);
|
|
96335
96297
|
}
|
|
96336
96298
|
updateOptions(e = {}) {
|
|
@@ -96814,19 +96776,19 @@ function oat(n, e) {
|
|
|
96814
96776
|
}
|
|
96815
96777
|
class aat {
|
|
96816
96778
|
get onDidSplice() {
|
|
96817
|
-
return
|
|
96779
|
+
return $e.map(this.model.onDidSplice, ({ insertedNodes: e, deletedNodes: t }) => ({
|
|
96818
96780
|
insertedNodes: e.map((i) => this.nodeMapper.map(i)),
|
|
96819
96781
|
deletedNodes: t.map((i) => this.nodeMapper.map(i))
|
|
96820
96782
|
}));
|
|
96821
96783
|
}
|
|
96822
96784
|
get onDidChangeCollapseState() {
|
|
96823
|
-
return
|
|
96785
|
+
return $e.map(this.model.onDidChangeCollapseState, ({ node: e, deep: t }) => ({
|
|
96824
96786
|
node: this.nodeMapper.map(e),
|
|
96825
96787
|
deep: t
|
|
96826
96788
|
}));
|
|
96827
96789
|
}
|
|
96828
96790
|
get onDidChangeRenderNodeCount() {
|
|
96829
|
-
return
|
|
96791
|
+
return $e.map(this.model.onDidChangeRenderNodeCount, (e) => this.nodeMapper.map(e));
|
|
96830
96792
|
}
|
|
96831
96793
|
constructor(e, t, i = {}) {
|
|
96832
96794
|
this.rootRef = null, this.elementMapper = i.elementMapper || rat;
|
|
@@ -97159,16 +97121,16 @@ function tN(n, e) {
|
|
|
97159
97121
|
}
|
|
97160
97122
|
class Fte {
|
|
97161
97123
|
get onDidChangeFocus() {
|
|
97162
|
-
return
|
|
97124
|
+
return $e.map(this.tree.onDidChangeFocus, z$);
|
|
97163
97125
|
}
|
|
97164
97126
|
get onDidChangeSelection() {
|
|
97165
|
-
return
|
|
97127
|
+
return $e.map(this.tree.onDidChangeSelection, z$);
|
|
97166
97128
|
}
|
|
97167
97129
|
get onMouseDblClick() {
|
|
97168
|
-
return
|
|
97130
|
+
return $e.map(this.tree.onMouseDblClick, U$);
|
|
97169
97131
|
}
|
|
97170
97132
|
get onPointer() {
|
|
97171
|
-
return
|
|
97133
|
+
return $e.map(this.tree.onPointer, U$);
|
|
97172
97134
|
}
|
|
97173
97135
|
get onDidFocus() {
|
|
97174
97136
|
return this.tree.onDidFocus;
|
|
@@ -97237,7 +97199,7 @@ class Fte {
|
|
|
97237
97199
|
return wu(this, void 0, void 0, function* () {
|
|
97238
97200
|
if (typeof this.root.element > "u")
|
|
97239
97201
|
throw new Is(this.user, "Tree input not set");
|
|
97240
|
-
this.root.refreshPromise && (yield this.root.refreshPromise, yield
|
|
97202
|
+
this.root.refreshPromise && (yield this.root.refreshPromise, yield $e.toPromise(this._onDidRender.event));
|
|
97241
97203
|
const o = this.getDataNode(e);
|
|
97242
97204
|
if (yield this.refreshAndRenderNode(o, t, r, s), i)
|
|
97243
97205
|
try {
|
|
@@ -97268,12 +97230,12 @@ class Fte {
|
|
|
97268
97230
|
return wu(this, void 0, void 0, function* () {
|
|
97269
97231
|
if (typeof this.root.element > "u")
|
|
97270
97232
|
throw new Is(this.user, "Tree input not set");
|
|
97271
|
-
this.root.refreshPromise && (yield this.root.refreshPromise, yield
|
|
97233
|
+
this.root.refreshPromise && (yield this.root.refreshPromise, yield $e.toPromise(this._onDidRender.event));
|
|
97272
97234
|
const i = this.getDataNode(e);
|
|
97273
|
-
if (this.tree.hasElement(i) && !this.tree.isCollapsible(i) || (i.refreshPromise && (yield this.root.refreshPromise, yield
|
|
97235
|
+
if (this.tree.hasElement(i) && !this.tree.isCollapsible(i) || (i.refreshPromise && (yield this.root.refreshPromise, yield $e.toPromise(this._onDidRender.event)), i !== this.root && !i.refreshPromise && !this.tree.isCollapsed(i)))
|
|
97274
97236
|
return !1;
|
|
97275
97237
|
const r = this.tree.expand(i === this.root ? null : i, t);
|
|
97276
|
-
return i.refreshPromise && (yield this.root.refreshPromise, yield
|
|
97238
|
+
return i.refreshPromise && (yield this.root.refreshPromise, yield $e.toPromise(this._onDidRender.event)), r;
|
|
97277
97239
|
});
|
|
97278
97240
|
}
|
|
97279
97241
|
setSelection(e, t) {
|
|
@@ -97820,7 +97782,7 @@ K$ = du([
|
|
|
97820
97782
|
class y6 extends xe {
|
|
97821
97783
|
constructor(e, t) {
|
|
97822
97784
|
var i;
|
|
97823
|
-
super(), this.widget = e, this._onDidOpen = this._register(new te()), this.onDidOpen = this._onDidOpen.event, this._register(
|
|
97785
|
+
super(), this.widget = e, this._onDidOpen = this._register(new te()), this.onDidOpen = this._onDidOpen.event, this._register($e.filter(this.widget.onDidChangeSelection, (r) => r.browserEvent instanceof KeyboardEvent)((r) => this.onSelectionFromKeyboard(r))), this._register(this.widget.onPointer((r) => this.onPointer(r.element, r.browserEvent))), this._register(this.widget.onMouseDblClick((r) => this.onMouseDblClick(r.element, r.browserEvent))), typeof (t == null ? void 0 : t.openOnSingleClick) != "boolean" && (t != null && t.configurationService) ? (this.openOnSingleClick = (t == null ? void 0 : t.configurationService.getValue(BC)) !== "doubleClick", this._register(t == null ? void 0 : t.configurationService.onDidChangeConfiguration((r) => {
|
|
97824
97786
|
r.affectsConfiguration(BC) && (this.openOnSingleClick = (t == null ? void 0 : t.configurationService.getValue(BC)) !== "doubleClick");
|
|
97825
97787
|
}))) : this.openOnSingleClick = (i = t == null ? void 0 : t.openOnSingleClick) !== null && i !== void 0 ? i : !0;
|
|
97826
97788
|
}
|
|
@@ -98344,7 +98306,7 @@ class eH extends xe {
|
|
|
98344
98306
|
this._element.style.color = r || "", this._element.style.backgroundColor = i || "", t.supportShortLabel && (this._labelShortElement = document.createElement("div"), this._labelShortElement.classList.add("monaco-button-label-short"), this._element.appendChild(this._labelShortElement), this._labelElement = document.createElement("div"), this._labelElement.classList.add("monaco-button-label"), this._element.appendChild(this._labelElement), this._element.classList.add("monaco-text-button-with-short-label")), e.appendChild(this._element), this._register(on.addTarget(this._element)), [Te.CLICK, Qt.Tap].forEach((s) => {
|
|
98345
98307
|
this._register(be(this._element, s, (o) => {
|
|
98346
98308
|
if (!this.enabled) {
|
|
98347
|
-
|
|
98309
|
+
ht.stop(o);
|
|
98348
98310
|
return;
|
|
98349
98311
|
}
|
|
98350
98312
|
this._onDidClick.fire(o);
|
|
@@ -98361,7 +98323,7 @@ class eH extends xe {
|
|
|
98361
98323
|
)) ? (this._onDidClick.fire(s), a = !0) : o.equals(
|
|
98362
98324
|
9
|
|
98363
98325
|
/* KeyCode.Escape */
|
|
98364
|
-
) && (this._element.blur(), a = !0), a &&
|
|
98326
|
+
) && (this._element.blur(), a = !0), a && ht.stop(o, !0);
|
|
98365
98327
|
})), this._register(be(this._element, Te.MOUSE_OVER, (s) => {
|
|
98366
98328
|
this._element.classList.contains("disabled") || this.updateBackground(!0);
|
|
98367
98329
|
})), this._register(be(this._element, Te.MOUSE_OUT, (s) => {
|
|
@@ -98832,8 +98794,8 @@ function qat(n, e, t) {
|
|
|
98832
98794
|
const a = et("a", { href: s.href, title: o, tabIndex: r++ }, s.label);
|
|
98833
98795
|
a.style.textDecoration = "underline";
|
|
98834
98796
|
const l = (f) => {
|
|
98835
|
-
wYe(f) &&
|
|
98836
|
-
}, c = t.disposables.add(new _t(a, Te.CLICK)).event, u = t.disposables.add(new _t(a, Te.KEY_DOWN)).event, d = t.disposables.add(
|
|
98797
|
+
wYe(f) && ht.stop(f, !0), t.callback(s.href);
|
|
98798
|
+
}, c = t.disposables.add(new _t(a, Te.CLICK)).event, u = t.disposables.add(new _t(a, Te.KEY_DOWN)).event, d = t.disposables.add($e.chain(u)).filter((f) => {
|
|
98837
98799
|
const g = new ln(f);
|
|
98838
98800
|
return g.equals(
|
|
98839
98801
|
10
|
|
@@ -98845,7 +98807,7 @@ function qat(n, e, t) {
|
|
|
98845
98807
|
}).event;
|
|
98846
98808
|
t.disposables.add(on.addTarget(a));
|
|
98847
98809
|
const h = t.disposables.add(new _t(a, Qt.Tap)).event;
|
|
98848
|
-
|
|
98810
|
+
$e.any(c, h, d)(l, null, t.disposables), e.appendChild(a);
|
|
98849
98811
|
}
|
|
98850
98812
|
}
|
|
98851
98813
|
var Gte = globalThis && globalThis.__decorate || function(n, e, t, i) {
|
|
@@ -98887,7 +98849,7 @@ const ca = et;
|
|
|
98887
98849
|
class Kat {
|
|
98888
98850
|
constructor(e, t, i, r, s, o, a) {
|
|
98889
98851
|
var l, c, u;
|
|
98890
|
-
this._checked = !1, this._hidden = !1, this.hasCheckbox = r, this.index = i, this.fireButtonTriggered = s, this.fireSeparatorButtonTriggered = o, this._onChecked = a, this.onChecked = r ?
|
|
98852
|
+
this._checked = !1, this._hidden = !1, this.hasCheckbox = r, this.index = i, this.fireButtonTriggered = s, this.fireSeparatorButtonTriggered = o, this._onChecked = a, this.onChecked = r ? $e.map($e.filter(this._onChecked.event, (d) => d.listElement === this), (d) => d.checked) : $e.None, e.type === "separator" ? this._separator = e : (this.item = e, t && t.type === "separator" && !t.buttons && (this._separator = t), this.saneDescription = this.item.description, this.saneDetail = this.item.detail, this._labelHighlights = (l = this.item.highlights) === null || l === void 0 ? void 0 : l.label, this._descriptionHighlights = (c = this.item.highlights) === null || c === void 0 ? void 0 : c.description, this._detailHighlights = (u = this.item.highlights) === null || u === void 0 ? void 0 : u.detail, this.saneTooltip = this.item.tooltip), this._init = new ib(() => {
|
|
98891
98853
|
var d;
|
|
98892
98854
|
const h = (d = e.label) !== null && d !== void 0 ? d : "", f = sv(h).text.trim(), g = e.ariaLabel || [h, this.saneDescription, this.saneDetail].map((m) => cit(m)).filter((m) => !!m).join(", ");
|
|
98893
98855
|
return {
|
|
@@ -99109,10 +99071,10 @@ class w6 {
|
|
|
99109
99071
|
})), this.disposables.push(this._listElementChecked.event((a) => this.fireCheckedEvents())), this.disposables.push(this._onChangedAllVisibleChecked, this._onChangedCheckedCount, this._onChangedVisibleCount, this._onChangedCheckedElements, this._onButtonTriggered, this._onSeparatorButtonTriggered, this._onLeave, this._onKeyDown, o);
|
|
99110
99072
|
}
|
|
99111
99073
|
get onDidChangeFocus() {
|
|
99112
|
-
return
|
|
99074
|
+
return $e.map(this.list.onDidChangeFocus, (e) => e.elements.map((t) => t.item));
|
|
99113
99075
|
}
|
|
99114
99076
|
get onDidChangeSelection() {
|
|
99115
|
-
return
|
|
99077
|
+
return $e.map(this.list.onDidChangeSelection, (e) => ({ items: e.elements.map((t) => t.item), event: e.browserEvent }));
|
|
99116
99078
|
}
|
|
99117
99079
|
get scrollTop() {
|
|
99118
99080
|
return this.list.scrollTop;
|
|
@@ -99750,16 +99712,16 @@ class u1 extends kb {
|
|
|
99750
99712
|
})), this.visibleDisposables.add((this._hideInput ? this.ui.list : this.ui.inputBox).onKeyDown((e) => {
|
|
99751
99713
|
switch (e.keyCode) {
|
|
99752
99714
|
case 18:
|
|
99753
|
-
this.ui.list.focus(mi.Next), this.canSelectMany && this.ui.list.domFocus(),
|
|
99715
|
+
this.ui.list.focus(mi.Next), this.canSelectMany && this.ui.list.domFocus(), ht.stop(e, !0);
|
|
99754
99716
|
break;
|
|
99755
99717
|
case 16:
|
|
99756
|
-
this.ui.list.getFocusedElements().length ? this.ui.list.focus(mi.Previous) : this.ui.list.focus(mi.Last), this.canSelectMany && this.ui.list.domFocus(),
|
|
99718
|
+
this.ui.list.getFocusedElements().length ? this.ui.list.focus(mi.Previous) : this.ui.list.focus(mi.Last), this.canSelectMany && this.ui.list.domFocus(), ht.stop(e, !0);
|
|
99757
99719
|
break;
|
|
99758
99720
|
case 12:
|
|
99759
|
-
this.ui.list.focus(mi.NextPage), this.canSelectMany && this.ui.list.domFocus(),
|
|
99721
|
+
this.ui.list.focus(mi.NextPage), this.canSelectMany && this.ui.list.domFocus(), ht.stop(e, !0);
|
|
99760
99722
|
break;
|
|
99761
99723
|
case 11:
|
|
99762
|
-
this.ui.list.focus(mi.PreviousPage), this.canSelectMany && this.ui.list.domFocus(),
|
|
99724
|
+
this.ui.list.focus(mi.PreviousPage), this.canSelectMany && this.ui.list.domFocus(), ht.stop(e, !0);
|
|
99763
99725
|
break;
|
|
99764
99726
|
case 17:
|
|
99765
99727
|
if (!this._canAcceptInBackground || !this.ui.inputBox.isSelectionAtEnd())
|
|
@@ -99767,10 +99729,10 @@ class u1 extends kb {
|
|
|
99767
99729
|
this.activeItems[0] && (this._selectedItems = [this.activeItems[0]], this.onDidChangeSelectionEmitter.fire(this.selectedItems), this.handleAccept(!0));
|
|
99768
99730
|
break;
|
|
99769
99731
|
case 14:
|
|
99770
|
-
(e.ctrlKey || e.metaKey) && !e.shiftKey && !e.altKey && (this.ui.list.focus(mi.First),
|
|
99732
|
+
(e.ctrlKey || e.metaKey) && !e.shiftKey && !e.altKey && (this.ui.list.focus(mi.First), ht.stop(e, !0));
|
|
99771
99733
|
break;
|
|
99772
99734
|
case 13:
|
|
99773
|
-
(e.ctrlKey || e.metaKey) && !e.shiftKey && !e.altKey && (this.ui.list.focus(mi.Last),
|
|
99735
|
+
(e.ctrlKey || e.metaKey) && !e.shiftKey && !e.altKey && (this.ui.list.focus(mi.Last), ht.stop(e, !0));
|
|
99774
99736
|
break;
|
|
99775
99737
|
}
|
|
99776
99738
|
})), this.visibleDisposables.add(this.ui.onDidAccept(() => {
|
|
@@ -99955,10 +99917,10 @@ class KL extends xe {
|
|
|
99955
99917
|
const N = new ln(T);
|
|
99956
99918
|
switch (N.keyCode) {
|
|
99957
99919
|
case 3:
|
|
99958
|
-
|
|
99920
|
+
ht.stop(T, !0), this.enabled && this.onDidAcceptEmitter.fire();
|
|
99959
99921
|
break;
|
|
99960
99922
|
case 9:
|
|
99961
|
-
|
|
99923
|
+
ht.stop(T, !0), this.hide(c1.Gesture);
|
|
99962
99924
|
break;
|
|
99963
99925
|
case 2:
|
|
99964
99926
|
if (!N.altKey && !N.ctrlKey && !N.metaKey) {
|
|
@@ -99973,11 +99935,11 @@ class KL extends xe {
|
|
|
99973
99935
|
P.push(".quick-input-html-widget");
|
|
99974
99936
|
}
|
|
99975
99937
|
const F = e.querySelectorAll(P.join(", "));
|
|
99976
|
-
N.shiftKey && N.target === F[0] ? (
|
|
99938
|
+
N.shiftKey && N.target === F[0] ? (ht.stop(T, !0), O.clearFocus()) : !N.shiftKey && ms(N.target, F[F.length - 1]) && (ht.stop(T, !0), F[0].focus());
|
|
99977
99939
|
}
|
|
99978
99940
|
break;
|
|
99979
99941
|
case 10:
|
|
99980
|
-
N.ctrlKey && (
|
|
99942
|
+
N.ctrlKey && (ht.stop(T, !0), this.getUI().list.toggleHover());
|
|
99981
99943
|
break;
|
|
99982
99944
|
}
|
|
99983
99945
|
})), this.ui = {
|
|
@@ -105399,7 +105361,7 @@ let EN = class extends QL {
|
|
|
105399
105361
|
Ao("div.noModificationsOverlay@overlay", { style: { position: "absolute", height: "100%", visibility: "hidden" } }, [et("span", {}, "No Changes")]),
|
|
105400
105362
|
Ao("div.editor.original@original", { style: { position: "absolute", height: "100%" } }),
|
|
105401
105363
|
Ao("div.editor.modified@modified", { style: { position: "absolute", height: "100%" } })
|
|
105402
|
-
]), this._diffModel = this._register(Xlt("diffModel", void 0)), this.onDidChangeModel =
|
|
105364
|
+
]), this._diffModel = this._register(Xlt("diffModel", void 0)), this.onDidChangeModel = $e.fromObservableLight(this._diffModel), this._contextKeyService = this._register(this._parentContextKeyService.createScoped(this._domElement)), this._instantiationService = this._parentInstantiationService.createChild(new vb([qt, this._contextKeyService])), this._boundarySashes = Hi("boundarySashes", void 0), this._layoutInfo = un("modifiedEditorLayoutInfo", (c) => {
|
|
105403
105365
|
var u;
|
|
105404
105366
|
const d = this._rootSizeObserver.width.read(c), h = this._rootSizeObserver.height.read(c), f = (u = this._sash.read(c)) === null || u === void 0 ? void 0 : u.sashLeft.read(c), g = f ?? Math.max(5, this._editors.original.getLayoutInfo().decorationsLeft);
|
|
105405
105367
|
return this.elements.original.style.width = g + "px", this.elements.original.style.left = "0px", this.elements.modified.style.width = d - g + "px", this.elements.modified.style.left = g + "px", this._editors.original.layout({ width: g, height: h }), this._editors.modified.layout({
|
|
@@ -105409,7 +105371,7 @@ let EN = class extends QL {
|
|
|
105409
105371
|
modifiedEditor: this._editors.modified.getLayoutInfo(),
|
|
105410
105372
|
originalEditor: this._editors.original.getLayoutInfo()
|
|
105411
105373
|
};
|
|
105412
|
-
}), this._diffValue = this._diffModel.map((c, u) => c == null ? void 0 : c.diff.read(u)), this.onDidUpdateDiff =
|
|
105374
|
+
}), this._diffValue = this._diffModel.map((c, u) => c == null ? void 0 : c.diff.read(u)), this.onDidUpdateDiff = $e.fromObservableLight(this._diffValue), o.willCreateDiffEditor(), this._contextKeyService.createKey("isInDiffEditor", !0), this._contextKeyService.createKey("diffEditorVersion", 2), this._options = new Act(t), this._contextKeyService.createKey(Re.isEmbeddedDiffEditor.key, !1);
|
|
105413
105375
|
const l = Re.isEmbeddedDiffEditor.bindTo(this._contextKeyService);
|
|
105414
105376
|
this._register(hr("update isEmbeddedDiffEditorKey", (c) => {
|
|
105415
105377
|
l.set(this._options.isInEmbeddedEditor.read(c));
|
|
@@ -108456,7 +108418,7 @@ function $dt(n = {}) {
|
|
|
108456
108418
|
}
|
|
108457
108419
|
function Hdt(n) {
|
|
108458
108420
|
const { onChange: e, language: t, setError: i, name: r, clearErrors: s } = n, o = Sr(null), a = Sr({}), l = L1();
|
|
108459
|
-
return
|
|
108421
|
+
return St(() => {
|
|
108460
108422
|
var u;
|
|
108461
108423
|
$dt({
|
|
108462
108424
|
validate: !0,
|
|
@@ -108529,7 +108491,7 @@ function Hdt(n) {
|
|
|
108529
108491
|
}, () => {
|
|
108530
108492
|
c.dispose();
|
|
108531
108493
|
};
|
|
108532
|
-
}, []),
|
|
108494
|
+
}, []), St(() => {
|
|
108533
108495
|
var g, m, p, _, v, b, y, w, k;
|
|
108534
108496
|
const c = (g = a == null ? void 0 : a.current) == null ? void 0 : g.editor, u = ta.editor.getModels()[0];
|
|
108535
108497
|
c && u && t && ta.editor.setModelLanguage(u, t), (_ = (p = (m = a.current) == null ? void 0 : m.editor) == null ? void 0 : p.getModel()) == null || _.onDidChangeContent(() => {
|
|
@@ -108544,12 +108506,12 @@ function Hdt(n) {
|
|
|
108544
108506
|
}, [n.value, t, e]), Lp(o, () => {
|
|
108545
108507
|
var c;
|
|
108546
108508
|
(c = a.current) != null && c.editor && a.current.editor.layout();
|
|
108547
|
-
}),
|
|
108509
|
+
}), St(() => {
|
|
108548
108510
|
var c;
|
|
108549
108511
|
(c = a.current) != null && c.editor && a.current.editor.updateOptions({
|
|
108550
108512
|
theme: l.activeTheme === "dark" ? "my-dark" : "my-light"
|
|
108551
108513
|
});
|
|
108552
|
-
}, [l.activeTheme]),
|
|
108514
|
+
}, [l.activeTheme]), St(() => {
|
|
108553
108515
|
ta.editor.onDidChangeMarkers(() => {
|
|
108554
108516
|
var u, d;
|
|
108555
108517
|
const c = ta.editor.getModelMarkers({
|
|
@@ -108586,10 +108548,10 @@ function cgt(n) {
|
|
|
108586
108548
|
control: p,
|
|
108587
108549
|
setValue: _
|
|
108588
108550
|
} = lu();
|
|
108589
|
-
|
|
108551
|
+
St(() => {
|
|
108590
108552
|
h[l] || g(l);
|
|
108591
108553
|
}, [h, l, g]);
|
|
108592
|
-
const v = n.id ?? l.split(".").join("-"), [b, y] =
|
|
108554
|
+
const v = n.id ?? l.split(".").join("-"), [b, y] = He("yaml"), [w, k] = He(!s), x = qe(
|
|
108593
108555
|
(T) => {
|
|
108594
108556
|
const N = m(l);
|
|
108595
108557
|
if (!(T !== "json" && T !== "yaml" || !N)) {
|
|
@@ -108604,7 +108566,7 @@ function cgt(n) {
|
|
|
108604
108566
|
}
|
|
108605
108567
|
},
|
|
108606
108568
|
[m, l, _]
|
|
108607
|
-
), D =
|
|
108569
|
+
), D = qe(
|
|
108608
108570
|
(T) => {
|
|
108609
108571
|
try {
|
|
108610
108572
|
x(T), y(T);
|
|
@@ -108613,7 +108575,7 @@ function cgt(n) {
|
|
|
108613
108575
|
}
|
|
108614
108576
|
},
|
|
108615
108577
|
[x, l, f, e]
|
|
108616
|
-
), E = fse(), O =
|
|
108578
|
+
), E = fse(), O = qe(async () => {
|
|
108617
108579
|
const T = {
|
|
108618
108580
|
variant: "success",
|
|
108619
108581
|
title: e("Copied to clipboard")
|
|
@@ -108742,7 +108704,7 @@ function ugt(n) {
|
|
|
108742
108704
|
control: p,
|
|
108743
108705
|
formState: { isSubmitting: _, isValidating: v },
|
|
108744
108706
|
resetField: b
|
|
108745
|
-
} = lu(), [y, w] =
|
|
108707
|
+
} = lu(), [y, w] = He(!1), k = qe(() => w((D) => !D), []), [x] = zi();
|
|
108746
108708
|
return /* @__PURE__ */ L.jsx(
|
|
108747
108709
|
Bp,
|
|
108748
108710
|
{
|
|
@@ -108930,7 +108892,7 @@ function fgt(n) {
|
|
|
108930
108892
|
control: E,
|
|
108931
108893
|
setValue: O,
|
|
108932
108894
|
formState: { isSubmitting: A, isValidating: T }
|
|
108933
|
-
} = lu(), [N, P] =
|
|
108895
|
+
} = lu(), [N, P] = He(!1), [F] = zi();
|
|
108934
108896
|
return /* @__PURE__ */ L.jsx(
|
|
108935
108897
|
Bp,
|
|
108936
108898
|
{
|
|
@@ -109041,7 +109003,7 @@ function fgt(n) {
|
|
|
109041
109003
|
function ggt(n) {
|
|
109042
109004
|
const { defaultValue: e, disableBody: t, disablePadding: i } = n, r = GVe({
|
|
109043
109005
|
defaultValues: e ?? {}
|
|
109044
|
-
}), [s] = zi(), { handleSubmit: o, setError: a } = r, [l, c] =
|
|
109006
|
+
}), [s] = zi(), { handleSubmit: o, setError: a } = r, [l, c] = He(null), u = eo("md"), [d] = Vs(x1), h = n.isVertical ? !1 : d.formLayout === "horizontal", g = (n.singleColumn ? !1 : d.formColumns === "multiple") ? 1600 : h ? 960 : 800;
|
|
109045
109007
|
let m = /* @__PURE__ */ L.jsx(MVe, { ...r, children: /* @__PURE__ */ L.jsxs(
|
|
109046
109008
|
Kj,
|
|
109047
109009
|
{
|
|
@@ -109131,14 +109093,14 @@ function R6() {
|
|
|
109131
109093
|
return Vs(Lne);
|
|
109132
109094
|
}
|
|
109133
109095
|
function Udt(n) {
|
|
109134
|
-
const e = eo("xl"), [t, i] =
|
|
109096
|
+
const e = eo("xl"), [t, i] = He(() => e), r = qe((s) => {
|
|
109135
109097
|
s.isOpen !== void 0 && i(s.isOpen);
|
|
109136
109098
|
}, []);
|
|
109137
|
-
return
|
|
109099
|
+
return St(() => r({ isOpen: e }), [e, r]), /* @__PURE__ */ L.jsx(Lne.Provider, { value: { isOpen: t, setState: r }, children: n.children });
|
|
109138
109100
|
}
|
|
109139
109101
|
function mgt() {
|
|
109140
109102
|
const n = dO(), e = eo("xl"), t = R6();
|
|
109141
|
-
return
|
|
109103
|
+
return qe(
|
|
109142
109104
|
(r) => {
|
|
109143
109105
|
n(r), e || t.setState({ isOpen: !t.isOpen });
|
|
109144
109106
|
},
|
|
@@ -109296,7 +109258,7 @@ function Ydt() {
|
|
|
109296
109258
|
return /* @__PURE__ */ L.jsx(pie, { onClick: () => n.setState({ isOpen: !n.isOpen }), children: /* @__PURE__ */ L.jsx(vie, { variant: "plain", "aria-label": "Global navigation", children: /* @__PURE__ */ L.jsx(Vie, {}) }) });
|
|
109297
109259
|
}
|
|
109298
109260
|
function Zdt(n) {
|
|
109299
|
-
const { loading: e } = n, [t, i] =
|
|
109261
|
+
const { loading: e } = n, [t, i] = He((n == null ? void 0 : n.initialTabIndex) ?? 0), r = qe(
|
|
109300
109262
|
(l, c) => i(c),
|
|
109301
109263
|
[i]
|
|
109302
109264
|
), s = UN.toArray(n.children), o = s.map((l, c) => {
|
|
@@ -109353,7 +109315,7 @@ function Fj(n) {
|
|
|
109353
109315
|
return /* @__PURE__ */ L.jsx(L.Fragment, { children: n.children });
|
|
109354
109316
|
}
|
|
109355
109317
|
function ygt(n) {
|
|
109356
|
-
const { activeKey: e, setActiveKey: t } = n, i =
|
|
109318
|
+
const { activeKey: e, setActiveKey: t } = n, i = qe(
|
|
109357
109319
|
(r, s) => t(s),
|
|
109358
109320
|
[t]
|
|
109359
109321
|
);
|
|
@@ -109448,8 +109410,8 @@ function Wj(n) {
|
|
|
109448
109410
|
}
|
|
109449
109411
|
const RD = /* @__PURE__ */ xt(eht);
|
|
109450
109412
|
function nht() {
|
|
109451
|
-
const [n, e] =
|
|
109452
|
-
return
|
|
109413
|
+
const [n, e] = He(!0);
|
|
109414
|
+
return St(
|
|
109453
109415
|
() => () => {
|
|
109454
109416
|
e(!1);
|
|
109455
109417
|
},
|
|
@@ -109458,7 +109420,7 @@ function nht() {
|
|
|
109458
109420
|
}
|
|
109459
109421
|
function iht() {
|
|
109460
109422
|
const n = Sr({ isMounted: !0 });
|
|
109461
|
-
return
|
|
109423
|
+
return St(
|
|
109462
109424
|
() => () => {
|
|
109463
109425
|
n.current.isMounted = !1;
|
|
109464
109426
|
},
|
|
@@ -109466,23 +109428,23 @@ function iht() {
|
|
|
109466
109428
|
), n;
|
|
109467
109429
|
}
|
|
109468
109430
|
function Dne() {
|
|
109469
|
-
const n = nht(), [e, t] =
|
|
109431
|
+
const n = nht(), [e, t] = He(
|
|
109470
109432
|
n ? window.location : void 0
|
|
109471
|
-
), i =
|
|
109433
|
+
), i = qe(() => {
|
|
109472
109434
|
t(window.location);
|
|
109473
109435
|
}, []);
|
|
109474
|
-
|
|
109436
|
+
St(() => {
|
|
109475
109437
|
if (n)
|
|
109476
109438
|
return e || i(), window.addEventListener("popstate", i), () => {
|
|
109477
109439
|
window.removeEventListener("popstate", i);
|
|
109478
109440
|
};
|
|
109479
109441
|
}, [n, e, i]);
|
|
109480
|
-
const r =
|
|
109442
|
+
const r = qe(
|
|
109481
109443
|
(o) => {
|
|
109482
109444
|
window.history.replaceState(null, "", o), i();
|
|
109483
109445
|
},
|
|
109484
109446
|
[i]
|
|
109485
|
-
), s =
|
|
109447
|
+
), s = qe(
|
|
109486
109448
|
(o) => {
|
|
109487
109449
|
window.history.replaceState(null, "", o), i();
|
|
109488
109450
|
},
|
|
@@ -109492,13 +109454,13 @@ function Dne() {
|
|
|
109492
109454
|
}
|
|
109493
109455
|
function rht() {
|
|
109494
109456
|
var r, s;
|
|
109495
|
-
const n = Dne(), e = ((r = n.location) == null ? void 0 : r.pathname) || "/", t =
|
|
109457
|
+
const n = Dne(), e = ((r = n.location) == null ? void 0 : r.pathname) || "/", t = ct(
|
|
109496
109458
|
() => {
|
|
109497
109459
|
var o;
|
|
109498
109460
|
return new URLSearchParams(((o = n.location) == null ? void 0 : o.search) ?? "/");
|
|
109499
109461
|
},
|
|
109500
109462
|
[(s = n.location) == null ? void 0 : s.search]
|
|
109501
|
-
), i =
|
|
109463
|
+
), i = qe(
|
|
109502
109464
|
(o) => {
|
|
109503
109465
|
const a = o.toString();
|
|
109504
109466
|
a ? n.update("?" + a) : n.update(e);
|
|
@@ -109509,7 +109471,7 @@ function rht() {
|
|
|
109509
109471
|
}
|
|
109510
109472
|
function sht(n) {
|
|
109511
109473
|
var y;
|
|
109512
|
-
const { defaultValues: e, disableQueryString: t, ignoreQueryStringKeys: i, filterQueryStringKeys: r } = n, s = iht(), [o, a] = rht(), [l, c] =
|
|
109474
|
+
const { defaultValues: e, disableQueryString: t, ignoreQueryStringKeys: i, filterQueryStringKeys: r } = n, s = iht(), [o, a] = rht(), [l, c] = He(() => {
|
|
109513
109475
|
if (!t) {
|
|
109514
109476
|
const w = o.get("page");
|
|
109515
109477
|
if (w) {
|
|
@@ -109519,7 +109481,7 @@ function sht(n) {
|
|
|
109519
109481
|
}
|
|
109520
109482
|
}
|
|
109521
109483
|
return 1;
|
|
109522
|
-
}), [u, d] =
|
|
109484
|
+
}), [u, d] = He(() => {
|
|
109523
109485
|
if (!t) {
|
|
109524
109486
|
const k = o.get("perPage");
|
|
109525
109487
|
if (k) {
|
|
@@ -109535,21 +109497,21 @@ function sht(n) {
|
|
|
109535
109497
|
return k;
|
|
109536
109498
|
}
|
|
109537
109499
|
return 10;
|
|
109538
|
-
}), [h, f] =
|
|
109500
|
+
}), [h, f] = He(() => {
|
|
109539
109501
|
if (!t) {
|
|
109540
109502
|
const w = o.get("sort");
|
|
109541
109503
|
if (w)
|
|
109542
109504
|
return w.startsWith("-") ? w.slice(1) : w;
|
|
109543
109505
|
}
|
|
109544
109506
|
return (e == null ? void 0 : e.sort) ?? "";
|
|
109545
|
-
}), [g, m] =
|
|
109507
|
+
}), [g, m] = He(() => {
|
|
109546
109508
|
if (!t) {
|
|
109547
109509
|
const w = o.get("sort");
|
|
109548
109510
|
if (w)
|
|
109549
109511
|
return w.startsWith("-") ? "desc" : "asc";
|
|
109550
109512
|
}
|
|
109551
109513
|
return (e == null ? void 0 : e.sortDirection) ?? "asc";
|
|
109552
|
-
}), [p, _] =
|
|
109514
|
+
}), [p, _] = He(() => {
|
|
109553
109515
|
const w = (e == null ? void 0 : e.filterState) ?? {};
|
|
109554
109516
|
for (const k of o.keys()) {
|
|
109555
109517
|
if (Vj.includes(k))
|
|
@@ -109561,8 +109523,8 @@ function sht(n) {
|
|
|
109561
109523
|
}
|
|
109562
109524
|
}
|
|
109563
109525
|
return w;
|
|
109564
|
-
}), v =
|
|
109565
|
-
return
|
|
109526
|
+
}), v = qe(() => _({}), [_]), b = Dne();
|
|
109527
|
+
return St(() => {
|
|
109566
109528
|
var k;
|
|
109567
109529
|
if (t)
|
|
109568
109530
|
return;
|
|
@@ -109592,9 +109554,9 @@ function sht(n) {
|
|
|
109592
109554
|
s,
|
|
109593
109555
|
o,
|
|
109594
109556
|
(y = b.location) == null ? void 0 : y.search
|
|
109595
|
-
]),
|
|
109557
|
+
]), St(() => {
|
|
109596
109558
|
localStorage.setItem("perPage", u.toString());
|
|
109597
|
-
}, [u]),
|
|
109559
|
+
}, [u]), ct(
|
|
109598
109560
|
() => ({
|
|
109599
109561
|
page: l,
|
|
109600
109562
|
setPage: c,
|
|
@@ -109617,7 +109579,7 @@ function Cgt(n) {
|
|
|
109617
109579
|
defaultValues: { sort: i && i.length ? i[0].sort : void 0 },
|
|
109618
109580
|
disableQueryString: s
|
|
109619
109581
|
}), { page: a, perPage: l, sort: c, sortDirection: u, filterState: d } = o, h = EZ(e), { setSort: f } = h;
|
|
109620
|
-
|
|
109582
|
+
St(
|
|
109621
109583
|
() => f({
|
|
109622
109584
|
id: c,
|
|
109623
109585
|
sortFn: (y, w) => {
|
|
@@ -109629,7 +109591,7 @@ function Cgt(n) {
|
|
|
109629
109591
|
[c, u, f]
|
|
109630
109592
|
);
|
|
109631
109593
|
const g = TZ(h.sorted, t), { setFilterFn: m } = g;
|
|
109632
|
-
|
|
109594
|
+
St(() => {
|
|
109633
109595
|
Object.keys(d).length === 0 ? m(void 0) : m((y) => {
|
|
109634
109596
|
for (const w in d) {
|
|
109635
109597
|
const k = r == null ? void 0 : r.find((x) => x.key === w);
|
|
@@ -109646,9 +109608,9 @@ function Cgt(n) {
|
|
|
109646
109608
|
});
|
|
109647
109609
|
}, [d, m, r]);
|
|
109648
109610
|
const p = V2(g.filtered), { setPage: _, setPerPage: v } = p;
|
|
109649
|
-
|
|
109611
|
+
St(() => _(a), [a, p, _]), St(() => v(l), [l, p, v]);
|
|
109650
109612
|
const b = KWe(e, t);
|
|
109651
|
-
return
|
|
109613
|
+
return ct(() => ({
|
|
109652
109614
|
itemCount: e ? g.filtered.length : void 0,
|
|
109653
109615
|
pageItems: e ? p.paged : void 0,
|
|
109654
109616
|
error: n.error,
|