@harnessio/ui 0.0.1-react18.alpha.16 → 0.0.1-react18.alpha.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{cssMode-CsqRB5aj.js → cssMode-ceWRpoLG.js} +2 -2
- package/dist/{cssMode-CsqRB5aj.js.map → cssMode-ceWRpoLG.js.map} +1 -1
- package/dist/{freemarker2-C1auFe__.js → freemarker2-BJEgfhRq.js} +2 -2
- package/dist/{freemarker2-C1auFe__.js.map → freemarker2-BJEgfhRq.js.map} +1 -1
- package/dist/{handlebars-C4Pwe_dA.js → handlebars-IJi5Ow6A.js} +2 -2
- package/dist/{handlebars-C4Pwe_dA.js.map → handlebars-IJi5Ow6A.js.map} +1 -1
- package/dist/{html-C3zo3t1d.js → html-DWO06rMU.js} +2 -2
- package/dist/{html-C3zo3t1d.js.map → html-DWO06rMU.js.map} +1 -1
- package/dist/{htmlMode-CXu5lxzx.js → htmlMode-Xh7rXinO.js} +2 -2
- package/dist/{htmlMode-CXu5lxzx.js.map → htmlMode-Xh7rXinO.js.map} +1 -1
- package/dist/{index-oDCLlspk.js → index-BkL553v-.js} +508 -530
- package/dist/{index-oDCLlspk.js.map → index-BkL553v-.js.map} +1 -1
- package/dist/index.d.ts +2 -4
- package/dist/index.js +1 -1
- package/dist/{javascript-Bv7unZUj.js → javascript-BrvA4LrF.js} +2 -2
- package/dist/{javascript-Bv7unZUj.js.map → javascript-BrvA4LrF.js.map} +1 -1
- package/dist/{jsonMode-Dvtcq7Ta.js → jsonMode-B-aqEurM.js} +2 -2
- package/dist/{jsonMode-Dvtcq7Ta.js.map → jsonMode-B-aqEurM.js.map} +1 -1
- package/dist/{liquid-Joz_gXou.js → liquid-B4COLVik.js} +2 -2
- package/dist/{liquid-Joz_gXou.js.map → liquid-B4COLVik.js.map} +1 -1
- package/dist/{python-CEgYznaV.js → python-ByQe9QQt.js} +2 -2
- package/dist/{python-CEgYznaV.js.map → python-ByQe9QQt.js.map} +1 -1
- package/dist/{razor-nkLr9h0G.js → razor-DJo9_zuu.js} +2 -2
- package/dist/{razor-nkLr9h0G.js.map → razor-DJo9_zuu.js.map} +1 -1
- package/dist/{tsMode-PYrbsYl8.js → tsMode-Cnpqcj8t.js} +2 -2
- package/dist/{tsMode-PYrbsYl8.js.map → tsMode-Cnpqcj8t.js.map} +1 -1
- package/dist/{typescript-BOz9POJS.js → typescript-78IKiMGG.js} +2 -2
- package/dist/{typescript-BOz9POJS.js.map → typescript-78IKiMGG.js.map} +1 -1
- package/dist/views.d.ts +2 -4
- package/dist/views.js +1 -1
- package/dist/{xml-Dq9rln4E.js → xml-Dm0XFRz3.js} +2 -2
- package/dist/{xml-Dq9rln4E.js.map → xml-Dm0XFRz3.js.map} +1 -1
- package/dist/{yaml-BbV2jBs5.js → yaml-B4zC3Y0U.js} +2 -2
- package/dist/{yaml-BbV2jBs5.js.map → yaml-B4zC3Y0U.js.map} +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ import { c as Pt, a8 as ki, aW as Hs, aj as qe, a9 as lt, B as Se, bO as ho, I a
|
|
|
5
5
|
import { jsx as g, jsxs as x, Fragment as Pe } from "react/jsx-runtime";
|
|
6
6
|
import { Link as mn, NavLink as Nn, Outlet as mp, useLocation as iF, useNavigate as Pf, useResolvedPath as zie, useMatches as $ie } from "react-router-dom";
|
|
7
7
|
import * as jv from "react";
|
|
8
|
-
import Gg, { useState as
|
|
8
|
+
import Gg, { useState as Be, useCallback as Mt, forwardRef as bU, useMemo as rt, useEffect as $e, useRef as It, Fragment as Uie, memo as gv, Children as jie, useReducer as Kie, useLayoutEffect as vU, createContext as N0, useContext as E0 } from "react";
|
|
9
9
|
import { useForm as Sn, Controller as Gie } from "react-hook-form";
|
|
10
10
|
import { S as oL, b as ul, c as Vw, t as qie, e as CU, f as CR, g as wU, h as nF, j as Zie, k as Yie, M as yU, r as Xie, l as W8, m as V8, n as SU, o as Qie, p as Jie, d as xU, u as dd, i as Io } from "./use-debounce-search-CR-FCWDY.js";
|
|
11
11
|
import { u as ene, a as tne } from "./use-memory-cleanup-Cikgm3Vy.js";
|
|
@@ -770,7 +770,7 @@ const lL = (s) => !!(s != null && s.querySelector('[data-comment-editor-shown="t
|
|
|
770
770
|
onSubmit: t,
|
|
771
771
|
initialTitle: i
|
|
772
772
|
}) => {
|
|
773
|
-
const [n, r] =
|
|
773
|
+
const [n, r] = Be(i), [o, a] = Be(""), [l, d] = Be(!1), c = !n || l || n === i, u = async () => {
|
|
774
774
|
if (n) {
|
|
775
775
|
d(!0), a("");
|
|
776
776
|
try {
|
|
@@ -822,7 +822,7 @@ const lL = (s) => !!(s != null && s.querySelector('[data-comment-editor-shown="t
|
|
|
822
822
|
},
|
|
823
823
|
updateTitle: f
|
|
824
824
|
}) => {
|
|
825
|
-
const [p, m] =
|
|
825
|
+
const [p, m] = Be(!1), b = ho(a || 0), v = cF(l, t, d), C = Mt(
|
|
826
826
|
async (w) => {
|
|
827
827
|
await f(w, h ?? "");
|
|
828
828
|
},
|
|
@@ -1106,7 +1106,7 @@ const wre = ({
|
|
|
1106
1106
|
principalsSearchQuery: l
|
|
1107
1107
|
}) => {
|
|
1108
1108
|
var k, N, I, A;
|
|
1109
|
-
const { t: d } = i(), [c, u] =
|
|
1109
|
+
const { t: d } = i(), [c, u] = Be(null), h = rt(() => BU(d), [d]), {
|
|
1110
1110
|
handleSubmit: f,
|
|
1111
1111
|
setValue: p,
|
|
1112
1112
|
watch: m,
|
|
@@ -1421,7 +1421,7 @@ const Lre = we.object({
|
|
|
1421
1421
|
//project name
|
|
1422
1422
|
description: o == null ? void 0 : o.description
|
|
1423
1423
|
}
|
|
1424
|
-
}), [f, p] =
|
|
1424
|
+
}), [f, p] = Be(!1), m = (S) => {
|
|
1425
1425
|
e(S);
|
|
1426
1426
|
};
|
|
1427
1427
|
$e(() => {
|
|
@@ -1740,10 +1740,10 @@ const Ire = (s) => [
|
|
|
1740
1740
|
{ label: s("component:layout.table", "Table"), value: "table" },
|
|
1741
1741
|
{ label: s("component:layout.list", "List"), value: "list" }
|
|
1742
1742
|
], Uk = () => {
|
|
1743
|
-
const [s, e] =
|
|
1743
|
+
const [s, e] = Be([]), [t, i] = Be([]), [n, r] = Be({
|
|
1744
1744
|
filters: {},
|
|
1745
1745
|
menu: {}
|
|
1746
|
-
}), [o, a] =
|
|
1746
|
+
}), [o, a] = Be(null), l = (D, L = "is") => {
|
|
1747
1747
|
e((k) => (a({ type: D.type, kind: "filter" }), k.find((N) => N.type === D.type) ? k : [
|
|
1748
1748
|
...k,
|
|
1749
1749
|
{
|
|
@@ -1831,7 +1831,7 @@ const Ire = (s) => [
|
|
|
1831
1831
|
setActiveFilters: e,
|
|
1832
1832
|
setActiveSorts: t
|
|
1833
1833
|
}) => {
|
|
1834
|
-
const [i, n] =
|
|
1834
|
+
const [i, n] = Be([]), [r, o] = Be(null), a = Mt(
|
|
1835
1835
|
(S) => {
|
|
1836
1836
|
o(S), e(S.filters), t(S.sorts), localStorage.setItem(`${s}-current-view`, S.id);
|
|
1837
1837
|
},
|
|
@@ -2171,7 +2171,7 @@ const qre = ({
|
|
|
2171
2171
|
} = dd({
|
|
2172
2172
|
handleChangeSearchValue: (se) => o(se.length ? se : null),
|
|
2173
2173
|
searchValue: r || ""
|
|
2174
|
-
}), { repositories: w, totalPages: y, page: S, setPage: D } = s(), [L, k] =
|
|
2174
|
+
}), { repositories: w, totalPages: y, page: S, setPage: D } = s(), [L, k] = Be(m[1].value), N = Uk(), I = Pre({
|
|
2175
2175
|
storageKey: "sandbox-repo-filters",
|
|
2176
2176
|
setActiveFilters: N.setActiveFilters,
|
|
2177
2177
|
setActiveSorts: N.setActiveSorts
|
|
@@ -2546,7 +2546,7 @@ const Jre = ({
|
|
|
2546
2546
|
searchQuery: l,
|
|
2547
2547
|
setSearchQuery: d
|
|
2548
2548
|
}) => {
|
|
2549
|
-
const [c, u] =
|
|
2549
|
+
const [c, u] = Be(Dd.BRANCHES), { t: h } = o(), f = VU(h), p = rt(() => c === Dd.BRANCHES ? e : t, [c, e, t]), m = (v) => {
|
|
2550
2550
|
d(v.target.value);
|
|
2551
2551
|
}, b = c === Dd.BRANCHES ? `${r ? `/${r}` : ""}/repos/${n}/branches` : `${r ? `/${r}` : ""}/repos/${n}/tags`;
|
|
2552
2552
|
return /* @__PURE__ */ x(
|
|
@@ -2898,7 +2898,7 @@ const VU = (s) => ({
|
|
|
2898
2898
|
commitList: t,
|
|
2899
2899
|
useTranslationStore: i
|
|
2900
2900
|
}) => {
|
|
2901
|
-
const [n, r] =
|
|
2901
|
+
const [n, r] = Be(""), { t: o } = i(), a = (d) => {
|
|
2902
2902
|
r(d.target.value);
|
|
2903
2903
|
}, l = rt(() => ioe(t, n), [t, n]);
|
|
2904
2904
|
return /* @__PURE__ */ x(De.Content, { className: "p-0", align: "start", children: [
|
|
@@ -3095,7 +3095,7 @@ const VU = (s) => ({
|
|
|
3095
3095
|
handleCreateToken: t,
|
|
3096
3096
|
useTranslationStore: i
|
|
3097
3097
|
}) => {
|
|
3098
|
-
const [n, r] =
|
|
3098
|
+
const [n, r] = Be(
|
|
3099
3099
|
"https"
|
|
3100
3100
|
/* HTTPS */
|
|
3101
3101
|
), { t: o } = i();
|
|
@@ -3190,7 +3190,7 @@ const VU = (s) => ({
|
|
|
3190
3190
|
onClose: i,
|
|
3191
3191
|
updateRepoError: n
|
|
3192
3192
|
}) => {
|
|
3193
|
-
const [r, o] =
|
|
3193
|
+
const [r, o] = Be(e), a = () => {
|
|
3194
3194
|
o(e || ""), i();
|
|
3195
3195
|
};
|
|
3196
3196
|
return $e(() => {
|
|
@@ -3747,7 +3747,7 @@ const uoe = ({
|
|
|
3747
3747
|
/* @__PURE__ */ g(cU, { first: d === 0, last: d === o - 1, className: "!bottom-0 left-0" })
|
|
3748
3748
|
] }, a)) });
|
|
3749
3749
|
}, hoe = ({ showSort: s, sortOptions: e, showSearch: t = !0, sort: i, setSort: n, query: r, setQuery: o }) => {
|
|
3750
|
-
const [a, l] =
|
|
3750
|
+
const [a, l] = Be();
|
|
3751
3751
|
return $e(() => {
|
|
3752
3752
|
l(r || "");
|
|
3753
3753
|
}, [r]), /* @__PURE__ */ x(Jo, { children: [
|
|
@@ -4380,7 +4380,7 @@ const woe = ({ openRepoAlertDeleteDialog: s, apiError: e, useTranslationStore: t
|
|
|
4380
4380
|
setSearchQuery: c
|
|
4381
4381
|
}) => {
|
|
4382
4382
|
var N, I, A, E, M;
|
|
4383
|
-
const { t: u } = l(), [h, f] =
|
|
4383
|
+
const { t: u } = l(), [h, f] = Be(!1), {
|
|
4384
4384
|
register: p,
|
|
4385
4385
|
handleSubmit: m,
|
|
4386
4386
|
setValue: b,
|
|
@@ -4741,7 +4741,7 @@ const $U = we.object({
|
|
|
4741
4741
|
rulesSearchQuery: p,
|
|
4742
4742
|
setRulesSearchQuery: m
|
|
4743
4743
|
}) => {
|
|
4744
|
-
const { t: b } = c(), v = iF(), C =
|
|
4744
|
+
const { t: b } = c(), v = iF(), C = It(null);
|
|
4745
4745
|
$e(() => {
|
|
4746
4746
|
var D;
|
|
4747
4747
|
v.pathname.endsWith("/rules") && ((D = C.current) == null || D.scrollIntoView({ behavior: "smooth" })), v.pathname.endsWith("/general") && window.scrollTo({ top: 0, behavior: "smooth" });
|
|
@@ -5337,7 +5337,7 @@ const Roe = ({ register: s, watch: e, setValue: t, t: i }) => /* @__PURE__ */ g(
|
|
|
5337
5337
|
) });
|
|
5338
5338
|
}, Poe = ({ setValue: s, watch: e, register: t, errors: i, t: n }) => {
|
|
5339
5339
|
var c, u, h, f;
|
|
5340
|
-
const [r, o] =
|
|
5340
|
+
const [r, o] = Be(n_.INCLUDE), a = e("patterns") || [], l = () => {
|
|
5341
5341
|
const p = e("pattern");
|
|
5342
5342
|
p && !a.some((m) => m.pattern === p) && (s("patterns", [...a, { pattern: p, option: r }]), s("pattern", ""));
|
|
5343
5343
|
}, d = (p) => {
|
|
@@ -6434,10 +6434,10 @@ const Eae = () => {
|
|
|
6434
6434
|
h: 0
|
|
6435
6435
|
}
|
|
6436
6436
|
}, () => {
|
|
6437
|
-
const ue = I && I.V(s, e, k, N, t).X, ke = !(w && C) && DF(p, Bh, ux), Ee = !C && y(lae), ot = Ee && _a(b), mt = ot && D(), We = S(Dj, ke),
|
|
6438
|
-
return
|
|
6439
|
-
w:
|
|
6440
|
-
h:
|
|
6437
|
+
const ue = I && I.V(s, e, k, N, t).X, ke = !(w && C) && DF(p, Bh, ux), Ee = !C && y(lae), ot = Ee && _a(b), mt = ot && D(), We = S(Dj, ke), Dt = Ee && ue && ue()[0], Et = bL(m), dt = NF(m);
|
|
6438
|
+
return Dt && Dt(), zd(b, ot), mt && mt(), ke && We(), {
|
|
6439
|
+
w: Et.w + dt.w,
|
|
6440
|
+
h: Et.h + dt.h
|
|
6441
6441
|
};
|
|
6442
6442
|
}), E = DR(i, {
|
|
6443
6443
|
_: () => n,
|
|
@@ -6507,12 +6507,12 @@ const Eae = () => {
|
|
|
6507
6507
|
U && U.disconnect(), ue && ue(), Te && Te(), a && a(), ke(), Ee();
|
|
6508
6508
|
};
|
|
6509
6509
|
}, ({ It: ue, At: Te, Dt: ke }) => {
|
|
6510
|
-
const Ee = {}, [ot] = ue("update.ignoreMutation"), [mt, We] = ue("update.attributes"), [
|
|
6510
|
+
const Ee = {}, [ot] = ue("update.ignoreMutation"), [mt, We] = ue("update.attributes"), [Dt, Et] = ue("update.elementEvents"), [dt, St] = ue("update.debounce"), Kt = Et || We, ae = Te || ke, ri = (Pi) => hl(ot) && ot(Pi);
|
|
6511
6511
|
if (Kt) {
|
|
6512
6512
|
o && o(), a && a();
|
|
6513
6513
|
const [Pi, te] = p9(v || m, !0, ee, {
|
|
6514
6514
|
ct: zw(h, mt || []),
|
|
6515
|
-
lt:
|
|
6515
|
+
lt: Dt,
|
|
6516
6516
|
it: c,
|
|
6517
6517
|
_t: (q, Q) => {
|
|
6518
6518
|
const { target: P, attributeName: B } = q;
|
|
@@ -6602,9 +6602,9 @@ const Eae = () => {
|
|
|
6602
6602
|
}, ee = () => {
|
|
6603
6603
|
if (b && !m) {
|
|
6604
6604
|
const { Rt: Z, Lt: W } = t, U = n9(W), ce = s9(W, _a(p)), ue = (Te) => {
|
|
6605
|
-
const { Tt: ke } = Te, Ee = $w(ke) === h && ke, ot = (mt, We,
|
|
6606
|
-
const
|
|
6607
|
-
return _j(
|
|
6605
|
+
const { Tt: ke } = Te, Ee = $w(ke) === h && ke, ot = (mt, We, Dt) => {
|
|
6606
|
+
const Et = We * mt;
|
|
6607
|
+
return _j(Dt ? Et : -Et);
|
|
6608
6608
|
};
|
|
6609
6609
|
return [Ee, Ee && {
|
|
6610
6610
|
transform: Xoe({
|
|
@@ -6658,7 +6658,7 @@ const Eae = () => {
|
|
|
6658
6658
|
const ee = r_($.target, `.${IF}`) === m, ie = ee ? m : p, se = s.scrollbars, Y = se[ee ? "dragScroll" : "clickScroll"], { button: J, isPrimary: Z, pointerType: W } = $, { pointers: U } = se;
|
|
6659
6659
|
if (J === 0 && Z && Y && (U || []).includes(W)) {
|
|
6660
6660
|
xa(z), w();
|
|
6661
|
-
const ue = !ee && ($.shiftKey || Y === "instant"), Te = qt(AI, m), ke = qt(AI, p), Ee = (Q, P) => (Q || Te())[I] - (P || ke())[I], ot = yR(AI(c)[N]) / B_(c)[A] || 1, mt = M(_a(c)[E], 1 / ot), We = $[k],
|
|
6661
|
+
const ue = !ee && ($.shiftKey || Y === "instant"), Te = qt(AI, m), ke = qt(AI, p), Ee = (Q, P) => (Q || Te())[I] - (P || ke())[I], ot = yR(AI(c)[N]) / B_(c)[A] || 1, mt = M(_a(c)[E], 1 / ot), We = $[k], Dt = Te(), Et = ke(), dt = Dt[N], St = Ee(Dt, Et) + dt / 2, Kt = We - Et[I], ae = ee ? 0 : Kt - St, ri = (Q) => {
|
|
6662
6662
|
xa(q), ie.releasePointerCapture(Q.pointerId);
|
|
6663
6663
|
}, Pi = ee || ue, te = h(), q = [Hn(u, L, ri), Hn(u, "selectstart", (Q) => RR(Q), {
|
|
6664
6664
|
H: !1
|
|
@@ -6740,19 +6740,19 @@ const Eae = () => {
|
|
|
6740
6740
|
}), r(W), ee();
|
|
6741
6741
|
})];
|
|
6742
6742
|
return [() => qt(xa, Xn(Z, k())), ({ It: W, Dt: U, Zt: ce, tn: ue }) => {
|
|
6743
|
-
const { nn: Te, sn: ke, en: Ee, cn: ot } = ue || {}, { Ct: mt, dt: We } = ce || {}, { F:
|
|
6743
|
+
const { nn: Te, sn: ke, en: Ee, cn: ot } = ue || {}, { Ct: mt, dt: We } = ce || {}, { F: Dt } = t, { T: Et } = kc(), { k: dt, rn: St } = i, [Kt, ae] = W("showNativeOverlaidScrollbars"), [ri, Pi] = W("scrollbars.theme"), [te, q] = W("scrollbars.visibility"), [Q, P] = W("scrollbars.autoHide"), [B, K] = W("scrollbars.autoHideSuspend"), [H] = W("scrollbars.autoHideDelay"), [oe, pe] = W("scrollbars.dragScroll"), [Re, Fe] = W("scrollbars.clickScroll"), [Ze, Ye] = W("overflow"), kt = We && !U, ct = St.x || St.y, Xe = Te || ke || ot || mt || U, hi = Ee || q || Ye, Ht = Kt && Et.x && Et.y, ut = (si, Yi, Lo) => {
|
|
6744
6744
|
const ln = si.includes(mb) && (te === mh || te === "auto" && Yi === mb);
|
|
6745
6745
|
return E(bae, ln, Lo), ln;
|
|
6746
6746
|
};
|
|
6747
|
-
if (h = H,
|
|
6747
|
+
if (h = H, kt && (B && ct ? (Y(!1), u(), w(() => {
|
|
6748
6748
|
u = Hn(I, "scroll", qt(Y, !0), {
|
|
6749
6749
|
A: !0
|
|
6750
6750
|
});
|
|
6751
|
-
})) : Y(!0)), ae && E(gae, Ht), Pi && (E(c), E(ri, !0), c = ri), K && !B && Y(!0), P && (a = Q === "move", l = Q === "leave", d = Q === "never", ie(d, !0)), pe && E(wae, oe),
|
|
6751
|
+
})) : Y(!0)), ae && E(gae, Ht), Pi && (E(c), E(ri, !0), c = ri), K && !B && Y(!0), P && (a = Q === "move", l = Q === "leave", d = Q === "never", ie(d, !0)), pe && E(wae, oe), Fe && E(Cae, !!Re), hi) {
|
|
6752
6752
|
const si = ut(Ze.x, dt.x, !0), Yi = ut(Ze.y, dt.y, !1);
|
|
6753
6753
|
E(vae, !(si && Yi));
|
|
6754
6754
|
}
|
|
6755
|
-
Xe && (z(), M(), ee(), ot && $(), E(d9, !St.x, !0), E(d9, !St.y, !1), E(pae,
|
|
6755
|
+
Xe && (z(), M(), ee(), ot && $(), E(d9, !St.x, !0), E(d9, !St.y, !1), E(pae, Dt && !A));
|
|
6756
6756
|
}, {}, L];
|
|
6757
6757
|
}, Bae = (s) => {
|
|
6758
6758
|
const e = kc(), { Z: t, P: i } = e, { elements: n } = t(), { padding: r, viewport: o, content: a } = n, l = mL(s), d = l ? {} : s, { elements: c } = d, { padding: u, viewport: h, content: f } = c || {}, p = l ? s : d.target, m = gj(p), b = p.ownerDocument, v = b.documentElement, C = () => b.defaultView || Fo, w = qt(Aae, [p]), y = qt(Mj, [p]), S = qt(F_, ""), D = qt(w, S, o), L = qt(y, S, a), k = (dt) => {
|
|
@@ -6779,7 +6779,7 @@ const Eae = () => {
|
|
|
6779
6779
|
vd(ue, [Bh, MI]), vd(ce, MI), m && vd(v, [MI, Bh]);
|
|
6780
6780
|
}];
|
|
6781
6781
|
let mt = NR([Ee, ke, Te, ue, ce].find((dt) => dt && !Y(dt)));
|
|
6782
|
-
const We = A ? ce : Ee || ke,
|
|
6782
|
+
const We = A ? ce : Ee || ke, Dt = qt(xa, ot);
|
|
6783
6783
|
return [U, () => {
|
|
6784
6784
|
const dt = C(), St = ER(), Kt = (q) => {
|
|
6785
6785
|
ma($w(q), NR(q)), _b(q);
|
|
@@ -6790,8 +6790,8 @@ const Eae = () => {
|
|
|
6790
6790
|
return Gc(ue, Bh, I ? "" : rae), Gc(Te, PR, ""), Gc(ke, qc, ""), Gc(Ee, a9, ""), I || (Gc(ke, ri, Pi || "-1"), m && Gc(v, o9, "")), ma(We, mt), ma(ue, Te), ma(Te || ue, !I && ke), ma(ke, Ee), Xn(ot, [te, () => {
|
|
6791
6791
|
const q = ER(), Q = Y(ke), P = Q && q === ke ? ce : q, B = ae(P);
|
|
6792
6792
|
vd(Te, PR), vd(Ee, a9), vd(ke, qc), m && vd(v, o9), Pi ? Gc(ke, ri, Pi) : vd(ke, ri), Y(Ee) && Kt(Ee), Q && Kt(ke), Y(Te) && Kt(Te), AR(P), B();
|
|
6793
|
-
}]), i && !I && (LF(ke, qc, kj), Xn(ot, qt(vd, ke, qc))), AR(!I && m && St === ce && dt.top === dt ? ke : St), te(), mt = 0,
|
|
6794
|
-
},
|
|
6793
|
+
}]), i && !I && (LF(ke, qc, kj), Xn(ot, qt(vd, ke, qc))), AR(!I && m && St === ce && dt.top === dt ? ke : St), te(), mt = 0, Dt;
|
|
6794
|
+
}, Dt];
|
|
6795
6795
|
}, Wae = ({ bt: s }) => ({ Zt: e, _n: t, Dt: i }) => {
|
|
6796
6796
|
const { xt: n } = e || {}, { $t: r } = t;
|
|
6797
6797
|
s && (n || i) && Uw(s, {
|
|
@@ -6851,8 +6851,8 @@ const Eae = () => {
|
|
|
6851
6851
|
c(Dj, !f && W);
|
|
6852
6852
|
}, y = (W) => {
|
|
6853
6853
|
if (!b.some((We) => {
|
|
6854
|
-
const
|
|
6855
|
-
return
|
|
6854
|
+
const Dt = W[We];
|
|
6855
|
+
return Dt && m[We](Dt);
|
|
6856
6856
|
}))
|
|
6857
6857
|
return {
|
|
6858
6858
|
D: {
|
|
@@ -6866,8 +6866,8 @@ const Eae = () => {
|
|
|
6866
6866
|
};
|
|
6867
6867
|
w(!0);
|
|
6868
6868
|
const ce = _a(l), ue = c(cae, !0), Te = Hn(a, mb, (We) => {
|
|
6869
|
-
const
|
|
6870
|
-
We.isTrusted &&
|
|
6869
|
+
const Dt = _a(l);
|
|
6870
|
+
We.isTrusted && Dt.x === ce.x && Dt.y === ce.y && Cj(We);
|
|
6871
6871
|
}, {
|
|
6872
6872
|
I: !0,
|
|
6873
6873
|
A: !0
|
|
@@ -6911,7 +6911,7 @@ const Eae = () => {
|
|
|
6911
6911
|
c(ce), c(id(W).map((ue) => J(W[ue], ue === "x")).join(" "), !0);
|
|
6912
6912
|
};
|
|
6913
6913
|
return ({ It: W, Zt: U, _n: ce, Dt: ue }, { fn: Te }) => {
|
|
6914
|
-
const { ft: ke, Ht: Ee, Ct: ot, dt: mt, zt: We } = U || {},
|
|
6914
|
+
const { ft: ke, Ht: Ee, Ct: ot, dt: mt, zt: We } = U || {}, Dt = Y && Y.V(s, e, ce, t, W), { W: Et, X: dt, J: St } = Dt || {}, [Kt, ae] = Sae(W, t), [ri, Pi] = W("overflow"), te = bb(ri.x), q = bb(ri.y);
|
|
6915
6915
|
let Q = L(ue), P = N(ue), B = A(ue), K = z(ue);
|
|
6916
6916
|
ae && h && c(kj, !Kt);
|
|
6917
6917
|
{
|
|
@@ -6925,11 +6925,11 @@ const Eae = () => {
|
|
|
6925
6925
|
};
|
|
6926
6926
|
oa && oa(), K = M(Qf), B = I(S(Xf, Qf), ue);
|
|
6927
6927
|
}
|
|
6928
|
-
const [H, oe] = K, [pe, Re] = B, [
|
|
6928
|
+
const [H, oe] = K, [pe, Re] = B, [Fe, Ze] = P, [Ye, kt] = Q, [ct, Xe] = E({
|
|
6929
6929
|
x: pe.w > 0,
|
|
6930
6930
|
y: pe.h > 0
|
|
6931
6931
|
}), hi = te && q && (ct.x || ct.y) || te && ct.x && !ct.y || q && ct.y && !ct.x, Ht = xae(ct, ri), [ut, si] = $(Ht.k), [Yi, Lo] = ee(ue), ln = ot || mt || Lo || Xe || ue, [Do, ra] = ln ? ie(y(Yi), ue) : se();
|
|
6932
|
-
return si && Z(Ht.k), St &&
|
|
6932
|
+
return si && Z(Ht.k), St && Et && Uw(r, St(Ht, ce, Et(Ht, Fe, Ye))), w(!1), _L(i, Bh, ux, hi), _L(n, PR, ux, hi), Bi(e, {
|
|
6933
6933
|
k: ut,
|
|
6934
6934
|
Vt: {
|
|
6935
6935
|
x: H.w,
|
|
@@ -7382,7 +7382,7 @@ const CL = (s, e, t, i) => {
|
|
|
7382
7382
|
isEditMode: o,
|
|
7383
7383
|
handleUpload: a
|
|
7384
7384
|
}) => {
|
|
7385
|
-
const [l, d] =
|
|
7385
|
+
const [l, d] = Be(), [c, u] = Be(Jf.WRITE), h = It(null), [f, p] = Be(!1), m = It(null), b = () => {
|
|
7386
7386
|
n.trim() && (s(n), r(""));
|
|
7387
7387
|
}, v = rt(() => /* @__PURE__ */ g(Hi, { size: "6", children: /* @__PURE__ */ g(zi, { children: /* @__PURE__ */ g("span", { className: "text-12 text-foreground-1", children: Tn(e || "") }) }) }), [e]), C = (E) => {
|
|
7388
7388
|
d(E), a == null || a(E, r);
|
|
@@ -7586,7 +7586,7 @@ const Sr = ({
|
|
|
7586
7586
|
quoteReplyText: $,
|
|
7587
7587
|
hideEditDelete: ee
|
|
7588
7588
|
}) => {
|
|
7589
|
-
const [ie, se] =
|
|
7589
|
+
const [ie, se] = Be(""), [Y, J] = Be(!N);
|
|
7590
7590
|
$e(() => {
|
|
7591
7591
|
$ && se($);
|
|
7592
7592
|
}, [$]), $e(() => {
|
|
@@ -7732,7 +7732,7 @@ const Sr = ({
|
|
|
7732
7732
|
!n && /* @__PURE__ */ g(cU, {})
|
|
7733
7733
|
] }) });
|
|
7734
7734
|
}, Kae = ({ setLoading: s }) => {
|
|
7735
|
-
const [e, t] =
|
|
7735
|
+
const [e, t] = Be();
|
|
7736
7736
|
return $e(() => {
|
|
7737
7737
|
(async () => {
|
|
7738
7738
|
s(!0);
|
|
@@ -7774,9 +7774,9 @@ const eN = ({
|
|
|
7774
7774
|
setScrolledToComment: k,
|
|
7775
7775
|
collapseDiff: N
|
|
7776
7776
|
}) => {
|
|
7777
|
-
const { t: I } = p(), A =
|
|
7777
|
+
const { t: I } = p(), A = It(null), [, E] = Be(!1), M = Kae({ setLoading: E }), z = It(null), $ = It(null), ee = It(e);
|
|
7778
7778
|
ee.current = e;
|
|
7779
|
-
const [ie, se] =
|
|
7779
|
+
const [ie, se] = Be(), Y = It([]), J = It(null), [Z, W] = Be(!1);
|
|
7780
7780
|
$e(() => {
|
|
7781
7781
|
const B = new IntersectionObserver(
|
|
7782
7782
|
([H]) => {
|
|
@@ -7802,7 +7802,7 @@ const eN = ({
|
|
|
7802
7802
|
}
|
|
7803
7803
|
}, [ie, Z, N]);
|
|
7804
7804
|
ene(U), $e(() => U, []);
|
|
7805
|
-
const [ce, ue] =
|
|
7805
|
+
const [ce, ue] = Be({}), Te = Mt((B, K) => {
|
|
7806
7806
|
const H = OU(K);
|
|
7807
7807
|
ue((oe) => ({
|
|
7808
7808
|
...oe,
|
|
@@ -7813,22 +7813,22 @@ const eN = ({
|
|
|
7813
7813
|
}, []), [
|
|
7814
7814
|
ke
|
|
7815
7815
|
// setScrollBar
|
|
7816
|
-
] =
|
|
7816
|
+
] = Be(!0), [
|
|
7817
7817
|
Ee
|
|
7818
7818
|
// setExpandAll
|
|
7819
|
-
] =
|
|
7819
|
+
] = Be(!1), [ot, mt] = Be({ oldFile: {}, newFile: {} });
|
|
7820
7820
|
$e(() => {
|
|
7821
7821
|
Ee && ie ? ie.onAllExpand(i & Gr.Split ? "split" : "unified") : ie && ie.onAllCollapse(i & Gr.Split ? "split" : "unified");
|
|
7822
7822
|
}, [Ee, ie, i]), $e(() => {
|
|
7823
7823
|
if (!c) return;
|
|
7824
7824
|
const B = { oldFile: {}, newFile: {} };
|
|
7825
7825
|
c.forEach((K) => {
|
|
7826
|
-
var
|
|
7826
|
+
var kt, ct, Xe, hi;
|
|
7827
7827
|
if (K.length === 0) return;
|
|
7828
|
-
const H = K[0], oe = (ct = (
|
|
7828
|
+
const H = K[0], oe = (ct = (kt = H.payload) == null ? void 0 : kt.payload) == null ? void 0 : ct.code_comment;
|
|
7829
7829
|
if (!oe) return;
|
|
7830
|
-
const pe = fo((hi = (Xe = H.payload) == null ? void 0 : Xe.payload) == null ? void 0 : hi.payload, "line_start_new", !1), Re = pe ? "newFile" : "oldFile",
|
|
7831
|
-
if (
|
|
7830
|
+
const pe = fo((hi = (Xe = H.payload) == null ? void 0 : Xe.payload) == null ? void 0 : hi.payload, "line_start_new", !1), Re = pe ? "newFile" : "oldFile", Fe = pe ? oe.line_new : oe.line_old;
|
|
7831
|
+
if (Fe == null) return;
|
|
7832
7832
|
const Ze = {
|
|
7833
7833
|
author: H.author,
|
|
7834
7834
|
created: H.created,
|
|
@@ -7850,28 +7850,28 @@ const eN = ({
|
|
|
7850
7850
|
deleted: Ht.deleted,
|
|
7851
7851
|
outdated: Ht.outdated
|
|
7852
7852
|
}));
|
|
7853
|
-
B[Re][
|
|
7853
|
+
B[Re][Fe] || (B[Re][Fe] = { data: [] }), B[Re][Fe].data.push({ parent: Ze, replies: Ye });
|
|
7854
7854
|
}), mt(B);
|
|
7855
7855
|
}, [c]), $e(() => {
|
|
7856
7856
|
if (ie && ke && !n) {
|
|
7857
7857
|
const K = setTimeout(() => {
|
|
7858
|
-
var oe, pe, Re,
|
|
7858
|
+
var oe, pe, Re, Fe, Ze;
|
|
7859
7859
|
if (i & Gr.Split) {
|
|
7860
|
-
const Ye = (oe = z.current) == null ? void 0 : oe.querySelector("[data-left]"),
|
|
7860
|
+
const Ye = (oe = z.current) == null ? void 0 : oe.querySelector("[data-left]"), kt = (pe = z.current) == null ? void 0 : pe.querySelector("[data-right]"), ct = Array.from(
|
|
7861
7861
|
((Re = $.current) == null ? void 0 : Re.querySelectorAll(".scrollbar-hide")) || []
|
|
7862
7862
|
), [Xe, hi] = ct;
|
|
7863
7863
|
if (Xe && hi) {
|
|
7864
7864
|
const Ht = [
|
|
7865
7865
|
Su({ target: Xe, scrollbars: { slot: Ye } }, { overflow: { y: "hidden" } }),
|
|
7866
|
-
Su({ target: hi, scrollbars: { slot:
|
|
7866
|
+
Su({ target: hi, scrollbars: { slot: kt } }, { overflow: { y: "hidden" } })
|
|
7867
7867
|
];
|
|
7868
7868
|
Y.current = Ht;
|
|
7869
7869
|
}
|
|
7870
7870
|
} else {
|
|
7871
|
-
const Ye = (
|
|
7872
|
-
if (
|
|
7871
|
+
const Ye = (Fe = z.current) == null ? void 0 : Fe.querySelector("[data-full]"), kt = (Ze = $.current) == null ? void 0 : Ze.querySelector(".scrollbar-hide");
|
|
7872
|
+
if (kt) {
|
|
7873
7873
|
const ct = Su(
|
|
7874
|
-
{ target:
|
|
7874
|
+
{ target: kt, scrollbars: { slot: Ye } },
|
|
7875
7875
|
{
|
|
7876
7876
|
overflow: {
|
|
7877
7877
|
y: "hidden"
|
|
@@ -7910,15 +7910,15 @@ const eN = ({
|
|
|
7910
7910
|
$e(() => {
|
|
7911
7911
|
s && We(a, o, s, l);
|
|
7912
7912
|
}, [s, a, o, l, We]);
|
|
7913
|
-
const [
|
|
7914
|
-
|
|
7913
|
+
const [Dt, Et] = Be({}), [dt, St] = Be({}), [Kt, ae] = Be({}), ri = (B, K) => {
|
|
7914
|
+
Et((H) => ({ ...H, [B]: !H[B] })), Dt[B] || St((H) => ({ ...H, [B]: K }));
|
|
7915
7915
|
}, Pi = (B, K) => {
|
|
7916
7916
|
if (K === void 0) {
|
|
7917
7917
|
console.error("toggleEditMode called with undefined id");
|
|
7918
7918
|
return;
|
|
7919
7919
|
}
|
|
7920
7920
|
ae((H) => ({ ...H, [K]: B }));
|
|
7921
|
-
}, [te, q] =
|
|
7921
|
+
}, [te, q] = Be({}), Q = Mt(
|
|
7922
7922
|
({ onClose: B, side: K, lineNumber: H }) => {
|
|
7923
7923
|
const oe = K === Eie.old ? "oldFile" : "newFile", pe = `${K}:${H}`, Re = te[pe] ?? "";
|
|
7924
7924
|
return /* @__PURE__ */ g("div", { className: "flex w-full flex-col border-l border-borders-1 bg-background-1 p-4", children: /* @__PURE__ */ g(
|
|
@@ -7933,22 +7933,22 @@ const eN = ({
|
|
|
7933
7933
|
line_start: H,
|
|
7934
7934
|
line_start_new: oe === "newFile",
|
|
7935
7935
|
path: a
|
|
7936
|
-
}), q((
|
|
7936
|
+
}), q((Fe) => ({ ...Fe, [pe]: "" }));
|
|
7937
7937
|
},
|
|
7938
7938
|
currentUser: d,
|
|
7939
7939
|
onCancelClick: () => {
|
|
7940
|
-
B(), q((
|
|
7940
|
+
B(), q((Fe) => ({ ...Fe, [pe]: "" }));
|
|
7941
7941
|
},
|
|
7942
7942
|
comment: Re,
|
|
7943
|
-
setComment: (
|
|
7943
|
+
setComment: (Fe) => q((Ze) => ({ ...Ze, [pe]: Fe }))
|
|
7944
7944
|
}
|
|
7945
7945
|
) });
|
|
7946
7946
|
},
|
|
7947
7947
|
[u, a, te, d, D]
|
|
7948
7948
|
), P = Mt(
|
|
7949
7949
|
({ data: B }) => B ? /* @__PURE__ */ g("div", { className: "border-l border-borders-1 bg-background-1", children: B.map((K) => {
|
|
7950
|
-
var Ze, Ye,
|
|
7951
|
-
const H = K.parent, oe = `activity-code-${H == null ? void 0 : H.id}`, pe = `comment-${H == null ? void 0 : H.id}`, Re = K.replies,
|
|
7950
|
+
var Ze, Ye, kt, ct, Xe, hi, Ht;
|
|
7951
|
+
const H = K.parent, oe = `activity-code-${H == null ? void 0 : H.id}`, pe = `comment-${H == null ? void 0 : H.id}`, Re = K.replies, Fe = Ww(H.author ?? "", 2);
|
|
7952
7952
|
return /* @__PURE__ */ g(
|
|
7953
7953
|
Sr,
|
|
7954
7954
|
{
|
|
@@ -7968,7 +7968,7 @@ const eN = ({
|
|
|
7968
7968
|
toggleConversationStatus: S,
|
|
7969
7969
|
onQuoteReply: Te,
|
|
7970
7970
|
quoteReplyText: ((Ye = ce[H.id]) == null ? void 0 : Ye.text) || "",
|
|
7971
|
-
contentHeader: !!((
|
|
7971
|
+
contentHeader: !!((kt = H.payload) != null && kt.resolved) && /* @__PURE__ */ x("div", { className: "flex items-center gap-x-1", children: [
|
|
7972
7972
|
/* @__PURE__ */ g("span", { className: "font-medium text-foreground-1", children: (Xe = (ct = H.payload) == null ? void 0 : ct.resolver) == null ? void 0 : Xe.display_name }),
|
|
7973
7973
|
/* @__PURE__ */ g("span", { className: "text-foreground-4", children: "marked this conversation as resolved" })
|
|
7974
7974
|
] }),
|
|
@@ -7994,7 +7994,7 @@ const eN = ({
|
|
|
7994
7994
|
commentId: H.id,
|
|
7995
7995
|
setHideReplyHere: (ut) => Pi(ut, H == null ? void 0 : H.id),
|
|
7996
7996
|
onQuoteReply: Te,
|
|
7997
|
-
icon: /* @__PURE__ */ g(Hi, { className: "size-6 rounded-full p-0", children: /* @__PURE__ */ g(zi, { children: /* @__PURE__ */ g("span", { className: "text-12 text-foreground-1", children:
|
|
7997
|
+
icon: /* @__PURE__ */ g(Hi, { className: "size-6 rounded-full p-0", children: /* @__PURE__ */ g(zi, { children: /* @__PURE__ */ g("span", { className: "text-12 text-foreground-1", children: Fe }) }) }),
|
|
7998
7998
|
header: [
|
|
7999
7999
|
{
|
|
8000
8000
|
name: H.author,
|
|
@@ -8010,7 +8010,7 @@ const eN = ({
|
|
|
8010
8010
|
] })
|
|
8011
8011
|
}
|
|
8012
8012
|
],
|
|
8013
|
-
content: H != null && H.deleted ? /* @__PURE__ */ g("div", { className: "rounded-md border bg-primary-background p-1", children: I("views:pullRequests.deletedComment") }) :
|
|
8013
|
+
content: H != null && H.deleted ? /* @__PURE__ */ g("div", { className: "rounded-md border bg-primary-background p-1", children: I("views:pullRequests.deletedComment") }) : Dt[oe] ? /* @__PURE__ */ g(
|
|
8014
8014
|
xu,
|
|
8015
8015
|
{
|
|
8016
8016
|
handleUpload: D,
|
|
@@ -8079,7 +8079,7 @@ const eN = ({
|
|
|
8079
8079
|
] })
|
|
8080
8080
|
}
|
|
8081
8081
|
],
|
|
8082
|
-
content: ut != null && ut.deleted ? /* @__PURE__ */ g("div", { className: "rounded-md border bg-primary-background p-1", children: I("views:pullRequests.deletedComment") }) :
|
|
8082
|
+
content: ut != null && ut.deleted ? /* @__PURE__ */ g("div", { className: "rounded-md border bg-primary-background p-1", children: I("views:pullRequests.deletedComment") }) : Dt[ln] ? /* @__PURE__ */ g(
|
|
8083
8083
|
xu,
|
|
8084
8084
|
{
|
|
8085
8085
|
handleUpload: D,
|
|
@@ -8114,7 +8114,7 @@ const eN = ({
|
|
|
8114
8114
|
H.id
|
|
8115
8115
|
);
|
|
8116
8116
|
}) }) : /* @__PURE__ */ g(Pe, {}),
|
|
8117
|
-
[d, u, f, h, a, Kt,
|
|
8117
|
+
[d, u, f, h, a, Kt, Dt, dt, I]
|
|
8118
8118
|
);
|
|
8119
8119
|
return zoe(
|
|
8120
8120
|
a,
|
|
@@ -8202,7 +8202,7 @@ const eN = ({
|
|
|
8202
8202
|
] })
|
|
8203
8203
|
] }) });
|
|
8204
8204
|
}, Yae = ({ header: s, diffMode: e, useTranslationStore: t, openItems: i, onToggle: n }) => {
|
|
8205
|
-
const { t: r } = t(), { highlight: o, wrap: a, fontsize: l } = tN(), d = bp((s == null ? void 0 : s.data) ?? ""), [c, u] =
|
|
8205
|
+
const { t: r } = t(), { highlight: o, wrap: a, fontsize: l } = tN(), d = bp((s == null ? void 0 : s.data) ?? ""), [c, u] = Be(!1), h = rt(() => s == null ? void 0 : s.isDeleted, [s == null ? void 0 : s.isDeleted]), f = rt(() => s != null && s.numAdditions && (s != null && s.numDeletions) ? (s == null ? void 0 : s.numAdditions) + (s == null ? void 0 : s.numDeletions) > uF : !1, [s == null ? void 0 : s.numAdditions, s == null ? void 0 : s.numDeletions]), p = rt(
|
|
8206
8206
|
() => (s == null ? void 0 : s.unchangedPercentage) === 100 || (s == null ? void 0 : s.numAdditions) === 0 && (s == null ? void 0 : s.numDeletions) === 0,
|
|
8207
8207
|
[s == null ? void 0 : s.numAdditions, s == null ? void 0 : s.numDeletions, s == null ? void 0 : s.unchangedPercentage]
|
|
8208
8208
|
);
|
|
@@ -8240,7 +8240,7 @@ const eN = ({
|
|
|
8240
8240
|
] }) }) })
|
|
8241
8241
|
] }) }) }) });
|
|
8242
8242
|
}, Uj = ({ data: s, diffMode: e, useTranslationStore: t }) => {
|
|
8243
|
-
const [i, n] =
|
|
8243
|
+
const [i, n] = Be([]);
|
|
8244
8244
|
$e(() => {
|
|
8245
8245
|
if (s.length > 0) {
|
|
8246
8246
|
const o = [];
|
|
@@ -8415,7 +8415,7 @@ const ele = we.object({
|
|
|
8415
8415
|
});
|
|
8416
8416
|
function tle({ handleSignIn: s, isLoading: e, error: t }) {
|
|
8417
8417
|
var p, m, b, v;
|
|
8418
|
-
const [i, n] =
|
|
8418
|
+
const [i, n] = Be(null), {
|
|
8419
8419
|
register: r,
|
|
8420
8420
|
handleSubmit: o,
|
|
8421
8421
|
setError: a,
|
|
@@ -8524,7 +8524,7 @@ const ile = we.object({
|
|
|
8524
8524
|
});
|
|
8525
8525
|
function nle({ isLoading: s, handleSignUp: e, error: t }) {
|
|
8526
8526
|
var f, p, m, b, v, C, w, y;
|
|
8527
|
-
const [i, n] =
|
|
8527
|
+
const [i, n] = Be(null), {
|
|
8528
8528
|
register: r,
|
|
8529
8529
|
handleSubmit: o,
|
|
8530
8530
|
reset: a,
|
|
@@ -8648,7 +8648,7 @@ const sle = we.object({
|
|
|
8648
8648
|
});
|
|
8649
8649
|
function rle({ isLoading: s, onSubmit: e, error: t }) {
|
|
8650
8650
|
var p, m;
|
|
8651
|
-
const [i, n] =
|
|
8651
|
+
const [i, n] = Be(null), {
|
|
8652
8652
|
register: r,
|
|
8653
8653
|
handleSubmit: o,
|
|
8654
8654
|
setError: a,
|
|
@@ -8735,7 +8735,7 @@ function ale({
|
|
|
8735
8735
|
email: n = "stevenm@gmail.com"
|
|
8736
8736
|
}) {
|
|
8737
8737
|
var m;
|
|
8738
|
-
const [r, o] =
|
|
8738
|
+
const [r, o] = Be(null), {
|
|
8739
8739
|
handleSubmit: a,
|
|
8740
8740
|
control: l,
|
|
8741
8741
|
formState: { errors: d },
|
|
@@ -8834,7 +8834,7 @@ const lle = we.object({
|
|
|
8834
8834
|
});
|
|
8835
8835
|
function dle({ isLoading: s, handleFormSubmit: e, error: t }) {
|
|
8836
8836
|
var p, m, b, v;
|
|
8837
|
-
const [i, n] =
|
|
8837
|
+
const [i, n] = Be(null), {
|
|
8838
8838
|
register: r,
|
|
8839
8839
|
handleSubmit: o,
|
|
8840
8840
|
setError: a,
|
|
@@ -9064,7 +9064,7 @@ const cle = ({ pathName: s }) => {
|
|
|
9064
9064
|
handleAddOrRemoveLabel: t,
|
|
9065
9065
|
onClose: i
|
|
9066
9066
|
}) => {
|
|
9067
|
-
const { t: n } = s(), [r, o] =
|
|
9067
|
+
const { t: n } = s(), [r, o] = Be(""), { search: a, handleSearchChange: l } = dd({
|
|
9068
9068
|
handleChangeSearchValue: o,
|
|
9069
9069
|
searchValue: r
|
|
9070
9070
|
}), { values: d, isAllowAddNewValue: c } = rt(() => e != null && e.values ? r.length ? e.values.reduce(
|
|
@@ -9164,7 +9164,7 @@ const cle = ({ pathName: s }) => {
|
|
|
9164
9164
|
setSearchQuery: o,
|
|
9165
9165
|
useTranslationStore: a
|
|
9166
9166
|
}) => {
|
|
9167
|
-
const { t: l } = a(), [d, c] =
|
|
9167
|
+
const { t: l } = a(), [d, c] = Be(null), { search: u, handleSearchChange: h } = dd({
|
|
9168
9168
|
handleChangeSearchValue: o,
|
|
9169
9169
|
searchValue: r
|
|
9170
9170
|
}), f = rt(() => s.map((v) => {
|
|
@@ -9356,7 +9356,7 @@ const cle = ({ pathName: s }) => {
|
|
|
9356
9356
|
repoId: o,
|
|
9357
9357
|
useTranslationStore: a
|
|
9358
9358
|
}) => {
|
|
9359
|
-
const { t: l } = a(), [d, c] =
|
|
9359
|
+
const { t: l } = a(), [d, c] = Be(
|
|
9360
9360
|
fa.OPEN
|
|
9361
9361
|
), u = rt(() => s ? s.filter((p) => d === fa.OPEN ? p.state === "open" : d === fa.CLOSED ? p.state !== "open" || p.merged !== null : !0) : [], [d, s]), h = () => {
|
|
9362
9362
|
c(fa.OPEN), i == null || i();
|
|
@@ -9596,7 +9596,7 @@ const cle = ({ pathName: s }) => {
|
|
|
9596
9596
|
onFormSubmit: n,
|
|
9597
9597
|
useTranslationStore: r
|
|
9598
9598
|
}) => {
|
|
9599
|
-
const [o, a] =
|
|
9599
|
+
const [o, a] = Be(
|
|
9600
9600
|
"Create"
|
|
9601
9601
|
/* CREATE */
|
|
9602
9602
|
), { t: l } = r(), d = Mt(
|
|
@@ -9670,7 +9670,7 @@ const Kj = bU(
|
|
|
9670
9670
|
var M, z, $, ee;
|
|
9671
9671
|
const { t: c } = r(), u = (ie) => {
|
|
9672
9672
|
n(ie);
|
|
9673
|
-
}, [h, f] =
|
|
9673
|
+
}, [h, f] = Be(), [p, m] = Be(tg.WRITE), b = It(null), [v, C] = Be(!1), w = It(null), y = (ie) => {
|
|
9674
9674
|
f(ie), o == null || o(ie, l);
|
|
9675
9675
|
}, S = () => {
|
|
9676
9676
|
var ie;
|
|
@@ -9797,7 +9797,7 @@ const BI = ({ value: s, icon: e, label: t, badgeCount: i }) => /* @__PURE__ */ x
|
|
|
9797
9797
|
onToggle: r,
|
|
9798
9798
|
setCollapsed: o
|
|
9799
9799
|
}) => {
|
|
9800
|
-
const { t: a } = i(), { highlight: l, wrap: d, fontsize: c } = tN(), [u, h] =
|
|
9800
|
+
const { t: a } = i(), { highlight: l, wrap: d, fontsize: c } = tN(), [u, h] = Be(!1), f = rt(
|
|
9801
9801
|
() => bp((s == null ? void 0 : s.data) ?? "") !== null ? bp((s == null ? void 0 : s.data) ?? "") : null,
|
|
9802
9802
|
[s == null ? void 0 : s.data]
|
|
9803
9803
|
), p = rt(() => s == null ? void 0 : s.isDeleted, [s == null ? void 0 : s.isDeleted]), m = rt(() => s != null && s.addedLines && (s != null && s.removedLines) ? (s == null ? void 0 : s.addedLines) + (s == null ? void 0 : s.removedLines) > uF : !1, [s == null ? void 0 : s.addedLines, s == null ? void 0 : s.removedLines]), b = rt(
|
|
@@ -9852,9 +9852,9 @@ const BI = ({ value: s, icon: e, label: t, badgeCount: i }) => /* @__PURE__ */ x
|
|
|
9852
9852
|
jumpToDiff: n,
|
|
9853
9853
|
setJumpToDiff: r
|
|
9854
9854
|
}) => {
|
|
9855
|
-
const { t: o } = i(), [a, l] =
|
|
9855
|
+
const { t: o } = i(), [a, l] = Be(Gr.Split), d = (v) => {
|
|
9856
9856
|
l(v === "Split" ? Gr.Split : Gr.Unified);
|
|
9857
|
-
}, [c, u] =
|
|
9857
|
+
}, [c, u] = Be([]), h = rt(() => EU(e, PU), [e]), f = It(null);
|
|
9858
9858
|
$e(() => {
|
|
9859
9859
|
if (e.length > 0) {
|
|
9860
9860
|
const v = [];
|
|
@@ -10021,7 +10021,7 @@ const Gj = we.object({
|
|
|
10021
10021
|
jumpToDiff: se,
|
|
10022
10022
|
setJumpToDiff: Y
|
|
10023
10023
|
}) => {
|
|
10024
|
-
const { commits: J } = b(), Z =
|
|
10024
|
+
const { commits: J } = b(), Z = It(null), [W, U] = Be(!1), ce = Pf(), { t: ue } = p(), {
|
|
10025
10025
|
register: Te,
|
|
10026
10026
|
handleSubmit: ke,
|
|
10027
10027
|
reset: Ee,
|
|
@@ -10035,9 +10035,9 @@ const Gj = we.object({
|
|
|
10035
10035
|
}
|
|
10036
10036
|
});
|
|
10037
10037
|
$e(() => {
|
|
10038
|
-
var
|
|
10038
|
+
var Et;
|
|
10039
10039
|
J && J.length > 0 && Ee({
|
|
10040
|
-
title: (
|
|
10040
|
+
title: (Et = J[J.length - 1]) == null ? void 0 : Et.title,
|
|
10041
10041
|
description: ""
|
|
10042
10042
|
});
|
|
10043
10043
|
}, [J, Ee]), $e(() => {
|
|
@@ -10045,7 +10045,7 @@ const Gj = we.object({
|
|
|
10045
10045
|
}, [i, Ee]);
|
|
10046
10046
|
const We = () => {
|
|
10047
10047
|
u(!0);
|
|
10048
|
-
},
|
|
10048
|
+
}, Dt = (Et, dt, St) => Et;
|
|
10049
10049
|
return /* @__PURE__ */ g(st.Main, { fullWidth: !0, children: /* @__PURE__ */ x(st.Content, { className: "px-20", children: [
|
|
10050
10050
|
/* @__PURE__ */ g("span", { className: "mt-7 text-24 font-medium leading-snug tracking-tight text-foreground-1", children: ue("views:pullRequests.compareChanges", "Comparing changes") }),
|
|
10051
10051
|
/* @__PURE__ */ x(eg.Vertical, { className: "mt-2.5", children: [
|
|
@@ -10063,8 +10063,8 @@ const Gj = we.object({
|
|
|
10063
10063
|
useRepoBranchesStore: m,
|
|
10064
10064
|
branchPrefix: "base",
|
|
10065
10065
|
selectedBranch: a,
|
|
10066
|
-
onSelectBranch: (
|
|
10067
|
-
o(
|
|
10066
|
+
onSelectBranch: (Et, dt) => {
|
|
10067
|
+
o(Et, dt, !1), We();
|
|
10068
10068
|
},
|
|
10069
10069
|
searchQuery: y,
|
|
10070
10070
|
setSearchQuery: S
|
|
@@ -10079,8 +10079,8 @@ const Gj = we.object({
|
|
|
10079
10079
|
useRepoBranchesStore: m,
|
|
10080
10080
|
branchPrefix: "compare",
|
|
10081
10081
|
selectedBranch: l,
|
|
10082
|
-
onSelectBranch: (
|
|
10083
|
-
o(
|
|
10082
|
+
onSelectBranch: (Et, dt) => {
|
|
10083
|
+
o(Et, dt, !0), We();
|
|
10084
10084
|
},
|
|
10085
10085
|
searchQuery: C,
|
|
10086
10086
|
setSearchQuery: w
|
|
@@ -10215,7 +10215,7 @@ const Gj = we.object({
|
|
|
10215
10215
|
usersList: k ?? [],
|
|
10216
10216
|
currentUserId: v,
|
|
10217
10217
|
pullRequestMetadata: { source_sha: "" },
|
|
10218
|
-
processReviewDecision:
|
|
10218
|
+
processReviewDecision: Dt,
|
|
10219
10219
|
refetchReviewers: fU,
|
|
10220
10220
|
handleDelete: A,
|
|
10221
10221
|
reviewers: N ?? [],
|
|
@@ -10230,13 +10230,13 @@ const Gj = we.object({
|
|
|
10230
10230
|
{
|
|
10231
10231
|
toCode: M,
|
|
10232
10232
|
toCommitDetails: E,
|
|
10233
|
-
data: J == null ? void 0 : J.map((
|
|
10234
|
-
sha:
|
|
10235
|
-
parent_shas:
|
|
10236
|
-
title:
|
|
10237
|
-
message:
|
|
10238
|
-
author:
|
|
10239
|
-
committer:
|
|
10233
|
+
data: J == null ? void 0 : J.map((Et) => ({
|
|
10234
|
+
sha: Et.sha,
|
|
10235
|
+
parent_shas: Et.parent_shas,
|
|
10236
|
+
title: Et.title,
|
|
10237
|
+
message: Et.message,
|
|
10238
|
+
author: Et.author,
|
|
10239
|
+
committer: Et.committer
|
|
10240
10240
|
}))
|
|
10241
10241
|
}
|
|
10242
10242
|
) : /* @__PURE__ */ g(
|
|
@@ -10411,10 +10411,10 @@ const Gj = we.object({
|
|
|
10411
10411
|
onToggle: I,
|
|
10412
10412
|
setCollapsed: A
|
|
10413
10413
|
}) => {
|
|
10414
|
-
var
|
|
10415
|
-
const { t: E } = t(), { highlight: M, wrap: z, fontsize: $ } = tN(), [ee, ie] =
|
|
10416
|
-
ee ? (
|
|
10417
|
-
), [Z, W] =
|
|
10414
|
+
var Dt, Et, dt, St;
|
|
10415
|
+
const { t: E } = t(), { highlight: M, wrap: z, fontsize: $ } = tN(), [ee, ie] = Be(!1), se = rt(() => /* @__PURE__ */ new Map(), []), [Y, J] = Be(
|
|
10416
|
+
ee ? (Dt = se.get(s.filePath)) == null ? void 0 : Dt.fullRawDiff : s == null ? void 0 : s.data
|
|
10417
|
+
), [Z, W] = Be(!1), U = rt(() => s.isDeleted, [s.isDeleted]), ce = rt(
|
|
10418
10418
|
() => s.diffData.addedLines + s.diffData.deletedLines > uF,
|
|
10419
10419
|
[s.diffData.addedLines, s.diffData.deletedLines]
|
|
10420
10420
|
), ue = rt(
|
|
@@ -10422,10 +10422,10 @@ const Gj = we.object({
|
|
|
10422
10422
|
var Kt, ae, ri;
|
|
10423
10423
|
return ((Kt = s == null ? void 0 : s.diffData) == null ? void 0 : Kt.unchangedPercentage) === 100 || ((ae = s == null ? void 0 : s.diffData) == null ? void 0 : ae.addedLines) === 0 && ((ri = s == null ? void 0 : s.diffData) == null ? void 0 : ri.deletedLines) === 0;
|
|
10424
10424
|
},
|
|
10425
|
-
[(
|
|
10426
|
-
), [Te, ke] =
|
|
10425
|
+
[(Et = s == null ? void 0 : s.diffData) == null ? void 0 : Et.addedLines, (dt = s == null ? void 0 : s.diffData) == null ? void 0 : dt.deletedLines, (St = s == null ? void 0 : s.diffData) == null ? void 0 : St.unchangedPercentage]
|
|
10426
|
+
), [Te, ke] = Be(
|
|
10427
10427
|
(d == null ? void 0 : d[0].value) === (l == null ? void 0 : l.value)
|
|
10428
|
-
), [Ee, ot] =
|
|
10428
|
+
), [Ee, ot] = Be(
|
|
10429
10429
|
(d == null ? void 0 : d[0]) === l && vL(s == null ? void 0 : s.filePath, s == null ? void 0 : s.checksumAfter, s == null ? void 0 : s.fileViews) === jw.VIEWED
|
|
10430
10430
|
), mt = bp((s == null ? void 0 : s.data) ?? "") !== null ? bp((s == null ? void 0 : s.data) ?? "") : null;
|
|
10431
10431
|
$e(() => {
|
|
@@ -10557,7 +10557,7 @@ function Ole({
|
|
|
10557
10557
|
jumpToDiff: N,
|
|
10558
10558
|
setJumpToDiff: I
|
|
10559
10559
|
}) {
|
|
10560
|
-
const [A, E] =
|
|
10560
|
+
const [A, E] = Be([]), M = rt(() => EU(s, PU), [s]), z = It(null), $ = (Y) => (n == null ? void 0 : n.filter(
|
|
10561
10561
|
(J) => J.some(
|
|
10562
10562
|
(Z) => {
|
|
10563
10563
|
var W, U, ce;
|
|
@@ -10692,10 +10692,10 @@ const qj = ({
|
|
|
10692
10692
|
pullReqStats: b,
|
|
10693
10693
|
setJumpToDiff: v
|
|
10694
10694
|
}) => {
|
|
10695
|
-
const { t: C } = a(), [w, y] =
|
|
10695
|
+
const { t: C } = a(), [w, y] = Be([d]), S = rt(
|
|
10696
10696
|
() => (e == null ? void 0 : e.state) === "merged" || (e == null ? void 0 : e.state) === "closed",
|
|
10697
10697
|
[e == null ? void 0 : e.state]
|
|
10698
|
-
), [D, L] =
|
|
10698
|
+
), [D, L] = Be(""), [k, N] = Be(!0), I = rt(() => BR(t, s), [t, s]), [A, E] = Be(I), M = rt(
|
|
10699
10699
|
() => {
|
|
10700
10700
|
var W, U;
|
|
10701
10701
|
return !!(s != null && s.uid) && !!((W = e == null ? void 0 : e.author) != null && W.uid) && (s == null ? void 0 : s.uid) === ((U = e == null ? void 0 : e.author) == null ? void 0 : U.uid);
|
|
@@ -10957,8 +10957,8 @@ const qj = ({
|
|
|
10957
10957
|
).map((ot) => [ot]);
|
|
10958
10958
|
return Ee.forEach((ot) => {
|
|
10959
10959
|
const mt = h == null ? void 0 : h.filter((We) => {
|
|
10960
|
-
var
|
|
10961
|
-
return ((
|
|
10960
|
+
var Dt;
|
|
10961
|
+
return ((Dt = We.payload) == null ? void 0 : Dt.parent_id) === ot[0].id;
|
|
10962
10962
|
});
|
|
10963
10963
|
mt == null || mt.forEach((We) => {
|
|
10964
10964
|
ot.push(We);
|
|
@@ -11242,7 +11242,7 @@ const qj = ({
|
|
|
11242
11242
|
title: o,
|
|
11243
11243
|
handleUpload: a
|
|
11244
11244
|
}) => {
|
|
11245
|
-
const [l, d] =
|
|
11245
|
+
const [l, d] = Be(n || ""), [c, u] = Be(!1), h = ho(i || 0), f = () => /* @__PURE__ */ x(De.Root, { children: [
|
|
11246
11246
|
/* @__PURE__ */ g(De.Trigger, { asChild: !0, children: /* @__PURE__ */ g(Se, { size: "sm", variant: "ghost", className: "rotate-90 px-2 py-1", children: /* @__PURE__ */ g(re, { name: "vertical-ellipsis", size: 12 }) }) }),
|
|
11247
11247
|
/* @__PURE__ */ g(De.Content, { className: "w-[200px]", align: "end", children: /* @__PURE__ */ g(De.Group, { children: /* @__PURE__ */ g(
|
|
11248
11248
|
De.Item,
|
|
@@ -12053,7 +12053,7 @@ const qj = ({
|
|
|
12053
12053
|
// dateOrderSort,
|
|
12054
12054
|
t,
|
|
12055
12055
|
r == null ? void 0 : r.uid
|
|
12056
|
-
]), [k, N] =
|
|
12056
|
+
]), [k, N] = Be({}), [I, A] = Be({}), [E, M] = Be({}), z = (J, Z) => {
|
|
12057
12057
|
N((W) => ({ ...W, [J]: !W[J] })), k[J] || A((W) => ({ ...W, [J]: Z }));
|
|
12058
12058
|
}, $ = (J, Z) => {
|
|
12059
12059
|
if (Z === void 0) {
|
|
@@ -12061,7 +12061,7 @@ const qj = ({
|
|
|
12061
12061
|
return;
|
|
12062
12062
|
}
|
|
12063
12063
|
M((W) => ({ ...W, [Z]: J }));
|
|
12064
|
-
}, [ee, ie] =
|
|
12064
|
+
}, [ee, ie] = Be({}), se = Mt((J, Z) => {
|
|
12065
12065
|
const W = OU(Z);
|
|
12066
12066
|
ie((U) => ({
|
|
12067
12067
|
...U,
|
|
@@ -12086,7 +12086,7 @@ const qj = ({
|
|
|
12086
12086
|
}
|
|
12087
12087
|
),
|
|
12088
12088
|
L == null ? void 0 : L.map((Z, W) => {
|
|
12089
|
-
var U, ce, ue, Te, ke, Ee, ot, mt, We,
|
|
12089
|
+
var U, ce, ue, Te, ke, Ee, ot, mt, We, Dt, Et, dt, St, Kt;
|
|
12090
12090
|
if (fx(Z))
|
|
12091
12091
|
return /* @__PURE__ */ g(
|
|
12092
12092
|
ide,
|
|
@@ -12157,7 +12157,7 @@ const qj = ({
|
|
|
12157
12157
|
}
|
|
12158
12158
|
),
|
|
12159
12159
|
/* @__PURE__ */ g("div", { className: "px-4 py-2", children: Z == null ? void 0 : Z.map((q, Q) => {
|
|
12160
|
-
var K, H, oe, pe, Re,
|
|
12160
|
+
var K, H, oe, pe, Re, Fe, Ze, Ye;
|
|
12161
12161
|
const P = `activity-code-${q == null ? void 0 : q.id}`, B = `comment-${ae == null ? void 0 : ae.id}`;
|
|
12162
12162
|
return ae != null && ae.id ? /* @__PURE__ */ g(
|
|
12163
12163
|
Sr,
|
|
@@ -12167,7 +12167,7 @@ const qj = ({
|
|
|
12167
12167
|
data: (H = (K = q.payload) == null ? void 0 : K.payload) == null ? void 0 : H.text,
|
|
12168
12168
|
isNotCodeComment: !0,
|
|
12169
12169
|
hideReplySection: !0,
|
|
12170
|
-
setHideReplyHere: (
|
|
12170
|
+
setHideReplyHere: (kt) => $(kt, ae == null ? void 0 : ae.id),
|
|
12171
12171
|
quoteReplyText: ((oe = ee[ae.id]) == null ? void 0 : oe.text) || "",
|
|
12172
12172
|
onQuoteReply: se,
|
|
12173
12173
|
parentCommentId: ae == null ? void 0 : ae.id,
|
|
@@ -12179,8 +12179,8 @@ const qj = ({
|
|
|
12179
12179
|
isDeleted: !!(q != null && q.deleted),
|
|
12180
12180
|
handleDeleteComment: () => o(q == null ? void 0 : q.id),
|
|
12181
12181
|
onEditClick: () => {
|
|
12182
|
-
var
|
|
12183
|
-
return z(P, ((ct = (
|
|
12182
|
+
var kt, ct;
|
|
12183
|
+
return z(P, ((ct = (kt = q == null ? void 0 : q.payload) == null ? void 0 : kt.payload) == null ? void 0 : ct.text) || "");
|
|
12184
12184
|
},
|
|
12185
12185
|
contentClassName: "border-transparent",
|
|
12186
12186
|
replyBoxClassName: "p-4",
|
|
@@ -12190,7 +12190,7 @@ const qj = ({
|
|
|
12190
12190
|
) }) }) }),
|
|
12191
12191
|
header: [
|
|
12192
12192
|
{
|
|
12193
|
-
name: (Ze = (
|
|
12193
|
+
name: (Ze = (Fe = q == null ? void 0 : q.payload) == null ? void 0 : Fe.author) == null ? void 0 : Ze.display_name,
|
|
12194
12194
|
// TODO: fix comment to tell between comment or code comment?
|
|
12195
12195
|
description: /* @__PURE__ */ x(dr.Horizontal, { className: "text-foreground-4", children: [
|
|
12196
12196
|
/* @__PURE__ */ g("span", { children: ho(q == null ? void 0 : q.created) }),
|
|
@@ -12214,7 +12214,7 @@ const qj = ({
|
|
|
12214
12214
|
z(P, "");
|
|
12215
12215
|
},
|
|
12216
12216
|
comment: I[P],
|
|
12217
|
-
setComment: (
|
|
12217
|
+
setComment: (kt) => A((ct) => ({ ...ct, [P]: kt }))
|
|
12218
12218
|
}
|
|
12219
12219
|
) : /* @__PURE__ */ g(
|
|
12220
12220
|
wL,
|
|
@@ -12233,7 +12233,7 @@ const qj = ({
|
|
|
12233
12233
|
) : null;
|
|
12234
12234
|
}) })
|
|
12235
12235
|
] }),
|
|
12236
|
-
hideEditDelete: ((
|
|
12236
|
+
hideEditDelete: ((Dt = ae == null ? void 0 : ae.author) == null ? void 0 : Dt.uid) !== (r == null ? void 0 : r.uid)
|
|
12237
12237
|
},
|
|
12238
12238
|
ae == null ? void 0 : ae.id
|
|
12239
12239
|
) : null;
|
|
@@ -12246,7 +12246,7 @@ const qj = ({
|
|
|
12246
12246
|
id: ri,
|
|
12247
12247
|
hideReplyHere: E[ae == null ? void 0 : ae.id],
|
|
12248
12248
|
setHideReplyHere: (te) => $(te, ae == null ? void 0 : ae.id),
|
|
12249
|
-
quoteReplyText: ((
|
|
12249
|
+
quoteReplyText: ((Et = ee[ae.id]) == null ? void 0 : Et.text) || "",
|
|
12250
12250
|
onQuoteReply: se,
|
|
12251
12251
|
titleClassName: "!flex max-w-full",
|
|
12252
12252
|
currentUser: r == null ? void 0 : r.display_name,
|
|
@@ -12265,7 +12265,7 @@ const qj = ({
|
|
|
12265
12265
|
}
|
|
12266
12266
|
],
|
|
12267
12267
|
content: /* @__PURE__ */ g("div", { className: "px-4 pt-4", children: Z == null ? void 0 : Z.map((te, q) => {
|
|
12268
|
-
var B, K, H, oe, pe, Re,
|
|
12268
|
+
var B, K, H, oe, pe, Re, Fe;
|
|
12269
12269
|
const Q = `activity-comment-${te == null ? void 0 : te.id}`, P = `comment-${ae == null ? void 0 : ae.id}`;
|
|
12270
12270
|
return ae != null && ae.id ? /* @__PURE__ */ g(
|
|
12271
12271
|
Sr,
|
|
@@ -12338,7 +12338,7 @@ const qj = ({
|
|
|
12338
12338
|
removeSuggestionFromBatch: p
|
|
12339
12339
|
}
|
|
12340
12340
|
),
|
|
12341
|
-
hideEditDelete: ((
|
|
12341
|
+
hideEditDelete: ((Fe = ae == null ? void 0 : ae.author) == null ? void 0 : Fe.uid) !== (r == null ? void 0 : r.uid)
|
|
12342
12342
|
},
|
|
12343
12343
|
`${te.id}-${te.author}-pr-comment`
|
|
12344
12344
|
) : null;
|
|
@@ -12625,7 +12625,7 @@ const qj = ({
|
|
|
12625
12625
|
pullReqMetadata: t,
|
|
12626
12626
|
conflictingFiles: i
|
|
12627
12627
|
}) => {
|
|
12628
|
-
const [n, r] =
|
|
12628
|
+
const [n, r] = Be(!1), [o, a] = Be(""), l = [
|
|
12629
12629
|
{
|
|
12630
12630
|
step: "Step 1",
|
|
12631
12631
|
description: "Clone the repository or update your local repository with the latest changes",
|
|
@@ -12820,14 +12820,14 @@ const qj = ({
|
|
|
12820
12820
|
const U = rt(() => (s == null ? void 0 : s.merge_check_status) === vR.MERGEABLE, [s]), ce = (s == null ? void 0 : s.state) === ox.CLOSED, ue = (s == null ? void 0 : s.state) === ox.OPEN, Te = rt(() => s == null ? void 0 : s.is_draft, [s == null ? void 0 : s.is_draft]), ke = rt(
|
|
12821
12821
|
() => (s == null ? void 0 : s.merge_check_status) === vR.UNCHECKED && !ce,
|
|
12822
12822
|
[s, ce]
|
|
12823
|
-
), Ee = e || [], [ot, mt] =
|
|
12823
|
+
), Ee = e || [], [ot, mt] = Be(!1), [We, Dt] = Be(S[0].id);
|
|
12824
12824
|
$e(() => {
|
|
12825
12825
|
if (k && !Te && k.data.rule_violations) {
|
|
12826
12826
|
const { checkIfBypassAllowed: ae } = Bj(k.data.rule_violations);
|
|
12827
12827
|
mt(ae);
|
|
12828
12828
|
}
|
|
12829
12829
|
}, [k, Te]);
|
|
12830
|
-
const
|
|
12830
|
+
const Et = rt(
|
|
12831
12831
|
() => (s == null ? void 0 : s.merge_target_sha) !== (s == null ? void 0 : s.merge_base_sha) && !(s != null && s.merged),
|
|
12832
12832
|
[s]
|
|
12833
12833
|
), dt = rt(
|
|
@@ -12861,7 +12861,7 @@ const qj = ({
|
|
|
12861
12861
|
children: "Close pull request"
|
|
12862
12862
|
}
|
|
12863
12863
|
),
|
|
12864
|
-
|
|
12864
|
+
Et && /* @__PURE__ */ g(
|
|
12865
12865
|
De.Item,
|
|
12866
12866
|
{
|
|
12867
12867
|
onClick: (ae) => {
|
|
@@ -12940,7 +12940,7 @@ const qj = ({
|
|
|
12940
12940
|
disabled: Kt.disabled,
|
|
12941
12941
|
variant: Kt == null ? void 0 : Kt.variant,
|
|
12942
12942
|
selectedValue: We,
|
|
12943
|
-
handleOptionChange: (ae) =>
|
|
12943
|
+
handleOptionChange: (ae) => Dt(ae),
|
|
12944
12944
|
options: S.map((ae) => ({
|
|
12945
12945
|
value: ae.id,
|
|
12946
12946
|
label: ae.title,
|
|
@@ -13178,7 +13178,7 @@ const v9 = "--block-height", VI = "auto", vde = 2e3, Cde = ({
|
|
|
13178
13178
|
shouldRetainChildren: i,
|
|
13179
13179
|
detectionMargin: n
|
|
13180
13180
|
}) => {
|
|
13181
|
-
const r =
|
|
13181
|
+
const r = It(null), o = tne(), { ref: a, inView: l } = _de({
|
|
13182
13182
|
root: s.current,
|
|
13183
13183
|
rootMargin: `${n}px 0px ${n}px 0px`,
|
|
13184
13184
|
initialInView: !1
|
|
@@ -14134,7 +14134,7 @@ function Tce(s) {
|
|
|
14134
14134
|
}
|
|
14135
14135
|
var VF = Tce;
|
|
14136
14136
|
function Rce(s, e, t = !0) {
|
|
14137
|
-
let i =
|
|
14137
|
+
let i = It(!0);
|
|
14138
14138
|
$e(i.current || !t ? () => {
|
|
14139
14139
|
i.current = !1;
|
|
14140
14140
|
} : s, e);
|
|
@@ -14155,7 +14155,7 @@ function tK(s, e) {
|
|
|
14155
14155
|
return s.Uri.parse(e);
|
|
14156
14156
|
}
|
|
14157
14157
|
function Pce({ original: s, modified: e, language: t, originalLanguage: i, modifiedLanguage: n, originalModelPath: r, modifiedModelPath: o, keepCurrentOriginalModel: a = !1, keepCurrentModifiedModel: l = !1, theme: d = "light", loading: c = "Loading...", options: u = {}, height: h = "100%", width: f = "100%", className: p, wrapperProps: m = {}, beforeMount: b = QC, onMount: v = QC }) {
|
|
14158
|
-
let [C, w] =
|
|
14158
|
+
let [C, w] = Be(!1), [y, S] = Be(!0), D = It(null), L = It(null), k = It(null), N = It(v), I = It(b), A = It(!1);
|
|
14159
14159
|
VF(() => {
|
|
14160
14160
|
let $ = of.init();
|
|
14161
14161
|
return $.then((ee) => (L.current = ee) && S(!1)).catch((ee) => (ee == null ? void 0 : ee.type) !== "cancelation" && console.error("Monaco initialization: error:", ee)), () => D.current ? z() : $.cancel();
|
|
@@ -14210,7 +14210,7 @@ function Pce({ original: s, modified: e, language: t, originalLanguage: i, modif
|
|
|
14210
14210
|
var Oce = Pce;
|
|
14211
14211
|
gv(Oce);
|
|
14212
14212
|
function Fce() {
|
|
14213
|
-
let [s, e] =
|
|
14213
|
+
let [s, e] = Be(of.__getMonacoInstance());
|
|
14214
14214
|
return VF(() => {
|
|
14215
14215
|
let t;
|
|
14216
14216
|
return s || (t = of.init(), t.then((i) => {
|
|
@@ -14220,14 +14220,14 @@ function Fce() {
|
|
|
14220
14220
|
}
|
|
14221
14221
|
var iK = Fce;
|
|
14222
14222
|
function Bce(s) {
|
|
14223
|
-
let e =
|
|
14223
|
+
let e = It();
|
|
14224
14224
|
return $e(() => {
|
|
14225
14225
|
e.current = s;
|
|
14226
14226
|
}, [s]), e.current;
|
|
14227
14227
|
}
|
|
14228
14228
|
var Wce = Bce, Fy = /* @__PURE__ */ new Map();
|
|
14229
14229
|
function Vce({ defaultValue: s, defaultLanguage: e, defaultPath: t, value: i, language: n, path: r, theme: o = "light", line: a, loading: l = "Loading...", options: d = {}, overrideServices: c = {}, saveViewState: u = !0, keepCurrentModel: h = !1, width: f = "100%", height: p = "100%", className: m, wrapperProps: b = {}, beforeMount: v = QC, onMount: C = QC, onChange: w, onValidate: y = QC }) {
|
|
14230
|
-
let [S, D] =
|
|
14230
|
+
let [S, D] = Be(!1), [L, k] = Be(!0), N = It(null), I = It(null), A = It(null), E = It(C), M = It(v), z = It(), $ = It(i), ee = Wce(r), ie = It(!1), se = It(!1);
|
|
14231
14231
|
VF(() => {
|
|
14232
14232
|
let Z = of.init();
|
|
14233
14233
|
return Z.then((W) => (N.current = W) && k(!1)).catch((W) => (W == null ? void 0 : W.type) !== "cancelation" && console.error("Monaco initialization: error:", W)), () => I.current ? J() : Z.cancel();
|
|
@@ -18312,7 +18312,7 @@ const kK = Object.freeze(function(s, e) {
|
|
|
18312
18312
|
clearTimeout(t);
|
|
18313
18313
|
} };
|
|
18314
18314
|
});
|
|
18315
|
-
var
|
|
18315
|
+
var Nt;
|
|
18316
18316
|
(function(s) {
|
|
18317
18317
|
function e(t) {
|
|
18318
18318
|
return t === s.None || t === s.Cancelled || t instanceof mx ? !0 : !t || typeof t != "object" ? !1 : typeof t.isCancellationRequested == "boolean" && typeof t.onCancellationRequested == "function";
|
|
@@ -18324,7 +18324,7 @@ var Et;
|
|
|
18324
18324
|
isCancellationRequested: !0,
|
|
18325
18325
|
onCancellationRequested: kK
|
|
18326
18326
|
});
|
|
18327
|
-
})(
|
|
18327
|
+
})(Nt || (Nt = {}));
|
|
18328
18328
|
class mx {
|
|
18329
18329
|
constructor() {
|
|
18330
18330
|
this._isCancelled = !1, this._emitter = null;
|
|
@@ -18350,11 +18350,11 @@ let ts = class {
|
|
|
18350
18350
|
return this._token || (this._token = new mx()), this._token;
|
|
18351
18351
|
}
|
|
18352
18352
|
cancel() {
|
|
18353
|
-
this._token ? this._token instanceof mx && this._token.cancel() : this._token =
|
|
18353
|
+
this._token ? this._token instanceof mx && this._token.cancel() : this._token = Nt.Cancelled;
|
|
18354
18354
|
}
|
|
18355
18355
|
dispose(e = !1) {
|
|
18356
18356
|
var t;
|
|
18357
|
-
e && this.cancel(), (t = this._parentListener) === null || t === void 0 || t.dispose(), this._token ? this._token instanceof mx && this._token.dispose() : this._token =
|
|
18357
|
+
e && this.cancel(), (t = this._parentListener) === null || t === void 0 || t.dispose(), this._token ? this._token instanceof mx && this._token.dispose() : this._token = Nt.None;
|
|
18358
18358
|
}
|
|
18359
18359
|
};
|
|
18360
18360
|
class XF {
|
|
@@ -29148,7 +29148,7 @@ function Dpe(s) {
|
|
|
29148
29148
|
}
|
|
29149
29149
|
}
|
|
29150
29150
|
new Me("logLevel", Dpe(Os.Info));
|
|
29151
|
-
const
|
|
29151
|
+
const Oe = At("ILanguageFeaturesService");
|
|
29152
29152
|
var kpe = function(s, e, t, i) {
|
|
29153
29153
|
var n = arguments.length, r = n < 3 ? e : i === null ? i = Object.getOwnPropertyDescriptor(e, t) : i, o;
|
|
29154
29154
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(s, e, t, i);
|
|
@@ -29251,7 +29251,7 @@ iM = kpe([
|
|
|
29251
29251
|
Qv(1, _5),
|
|
29252
29252
|
Qv(2, ia),
|
|
29253
29253
|
Qv(3, xi),
|
|
29254
|
-
Qv(4,
|
|
29254
|
+
Qv(4, Oe)
|
|
29255
29255
|
], iM);
|
|
29256
29256
|
class Npe {
|
|
29257
29257
|
constructor(e, t, i, n) {
|
|
@@ -31242,8 +31242,8 @@ function AG() {
|
|
|
31242
31242
|
}
|
|
31243
31243
|
var z = {};
|
|
31244
31244
|
e.isSupported = typeof w == "function" && k && typeof k.createHTMLDocument < "u" && M !== 9;
|
|
31245
|
-
var $ = Lme, ee = Dme, ie = kme, se = Nme, Y = Ime, J = Tme, Z = Eme, W = null, U = fi({}, [].concat(pd(H7), pd(hT), pd(fT), pd(gT), pd(z7))), ce = null, ue = fi({}, [].concat(pd($7), pd(pT), pd(U7), pd(qy))), Te = null, ke = null, Ee = !0, ot = !0, mt = !1, We = !1,
|
|
31246
|
-
ct && ct === ge || ((!ge || (typeof ge > "u" ? "undefined" : DC(ge)) !== "object") && (ge = {}), ge = ig(ge), W = "ALLOWED_TAGS" in ge ? fi({}, ge.ALLOWED_TAGS) : U, ce = "ALLOWED_ATTR" in ge ? fi({}, ge.ALLOWED_ATTR) : ue, oe = "ADD_URI_SAFE_ATTR" in ge ? fi(ig(pe), ge.ADD_URI_SAFE_ATTR) : pe, K = "ADD_DATA_URI_TAGS" in ge ? fi(ig(H), ge.ADD_DATA_URI_TAGS) : H, P = "FORBID_CONTENTS" in ge ? fi({}, ge.FORBID_CONTENTS) : B, Te = "FORBID_TAGS" in ge ? fi({}, ge.FORBID_TAGS) : {}, ke = "FORBID_ATTR" in ge ? fi({}, ge.FORBID_ATTR) : {}, Q = "USE_PROFILES" in ge ? ge.USE_PROFILES : !1, Ee = ge.ALLOW_ARIA_ATTR !== !1, ot = ge.ALLOW_DATA_ATTR !== !1, mt = ge.ALLOW_UNKNOWN_PROTOCOLS || !1, We = ge.SAFE_FOR_TEMPLATES || !1,
|
|
31245
|
+
var $ = Lme, ee = Dme, ie = kme, se = Nme, Y = Ime, J = Tme, Z = Eme, W = null, U = fi({}, [].concat(pd(H7), pd(hT), pd(fT), pd(gT), pd(z7))), ce = null, ue = fi({}, [].concat(pd($7), pd(pT), pd(U7), pd(qy))), Te = null, ke = null, Ee = !0, ot = !0, mt = !1, We = !1, Dt = !1, Et = !1, dt = !1, St = !1, Kt = !1, ae = !0, ri = !1, Pi = !0, te = !0, q = !1, Q = {}, P = null, B = fi({}, ["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"]), K = null, H = fi({}, ["audio", "video", "img", "source", "image", "track"]), oe = null, pe = fi({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Re = "http://www.w3.org/1998/Math/MathML", Fe = "http://www.w3.org/2000/svg", Ze = "http://www.w3.org/1999/xhtml", Ye = Ze, kt = !1, ct = null, Xe = i.createElement("form"), hi = function(ge) {
|
|
31246
|
+
ct && ct === ge || ((!ge || (typeof ge > "u" ? "undefined" : DC(ge)) !== "object") && (ge = {}), ge = ig(ge), W = "ALLOWED_TAGS" in ge ? fi({}, ge.ALLOWED_TAGS) : U, ce = "ALLOWED_ATTR" in ge ? fi({}, ge.ALLOWED_ATTR) : ue, oe = "ADD_URI_SAFE_ATTR" in ge ? fi(ig(pe), ge.ADD_URI_SAFE_ATTR) : pe, K = "ADD_DATA_URI_TAGS" in ge ? fi(ig(H), ge.ADD_DATA_URI_TAGS) : H, P = "FORBID_CONTENTS" in ge ? fi({}, ge.FORBID_CONTENTS) : B, Te = "FORBID_TAGS" in ge ? fi({}, ge.FORBID_TAGS) : {}, ke = "FORBID_ATTR" in ge ? fi({}, ge.FORBID_ATTR) : {}, Q = "USE_PROFILES" in ge ? ge.USE_PROFILES : !1, Ee = ge.ALLOW_ARIA_ATTR !== !1, ot = ge.ALLOW_DATA_ATTR !== !1, mt = ge.ALLOW_UNKNOWN_PROTOCOLS || !1, We = ge.SAFE_FOR_TEMPLATES || !1, Dt = ge.WHOLE_DOCUMENT || !1, St = ge.RETURN_DOM || !1, Kt = ge.RETURN_DOM_FRAGMENT || !1, ae = ge.RETURN_DOM_IMPORT !== !1, ri = ge.RETURN_TRUSTED_TYPE || !1, dt = ge.FORCE_BODY || !1, Pi = ge.SANITIZE_DOM !== !1, te = ge.KEEP_CONTENT !== !1, q = ge.IN_PLACE || !1, Z = ge.ALLOWED_URI_REGEXP || Z, Ye = ge.NAMESPACE || Ze, We && (ot = !1), Kt && (St = !0), Q && (W = fi({}, [].concat(pd(z7))), ce = [], Q.html === !0 && (fi(W, H7), fi(ce, $7)), Q.svg === !0 && (fi(W, hT), fi(ce, pT), fi(ce, qy)), Q.svgFilters === !0 && (fi(W, fT), fi(ce, pT), fi(ce, qy)), Q.mathMl === !0 && (fi(W, gT), fi(ce, U7), fi(ce, qy))), ge.ADD_TAGS && (W === U && (W = ig(W)), fi(W, ge.ADD_TAGS)), ge.ADD_ATTR && (ce === ue && (ce = ig(ce)), fi(ce, ge.ADD_ATTR)), ge.ADD_URI_SAFE_ATTR && fi(oe, ge.ADD_URI_SAFE_ATTR), ge.FORBID_CONTENTS && (P === B && (P = ig(P)), fi(P, ge.FORBID_CONTENTS)), te && (W["#text"] = !0), Dt && fi(W, ["html", "head", "body"]), W.table && (fi(W, ["tbody"]), delete Te.tbody), Co && Co(ge), ct = ge);
|
|
31247
31247
|
}, Ht = fi({}, ["mi", "mo", "mn", "ms", "mtext"]), ut = fi({}, ["foreignobject", "desc", "title", "annotation-xml"]), si = fi({}, hT);
|
|
31248
31248
|
fi(si, fT), fi(si, Sme);
|
|
31249
31249
|
var Yi = fi({}, gT);
|
|
@@ -31255,12 +31255,12 @@ function AG() {
|
|
|
31255
31255
|
tagName: "template"
|
|
31256
31256
|
});
|
|
31257
31257
|
var xt = gg(ge.tagName), dn = gg(Qe.tagName);
|
|
31258
|
-
if (ge.namespaceURI ===
|
|
31258
|
+
if (ge.namespaceURI === Fe)
|
|
31259
31259
|
return Qe.namespaceURI === Ze ? xt === "svg" : Qe.namespaceURI === Re ? xt === "svg" && (dn === "annotation-xml" || Ht[dn]) : !!si[xt];
|
|
31260
31260
|
if (ge.namespaceURI === Re)
|
|
31261
|
-
return Qe.namespaceURI === Ze ? xt === "math" : Qe.namespaceURI ===
|
|
31261
|
+
return Qe.namespaceURI === Ze ? xt === "math" : Qe.namespaceURI === Fe ? xt === "math" && ut[dn] : !!Yi[xt];
|
|
31262
31262
|
if (ge.namespaceURI === Ze) {
|
|
31263
|
-
if (Qe.namespaceURI ===
|
|
31263
|
+
if (Qe.namespaceURI === Fe && !ut[dn] || Qe.namespaceURI === Re && !Ht[dn])
|
|
31264
31264
|
return !1;
|
|
31265
31265
|
var Fr = fi({}, ["title", "style", "font", "a", "script"]);
|
|
31266
31266
|
return !Yi[xt] && (Fr[xt] || !si[xt]);
|
|
@@ -31317,12 +31317,12 @@ function AG() {
|
|
|
31317
31317
|
if (!Qe || !Qe.documentElement) {
|
|
31318
31318
|
Qe = k.createDocument(Ye, "template", null);
|
|
31319
31319
|
try {
|
|
31320
|
-
Qe.documentElement.innerHTML =
|
|
31320
|
+
Qe.documentElement.innerHTML = kt ? "" : Fr;
|
|
31321
31321
|
} catch {
|
|
31322
31322
|
}
|
|
31323
31323
|
}
|
|
31324
31324
|
var Br = Qe.body || Qe.documentElement;
|
|
31325
|
-
return ge && xt && Br.insertBefore(i.createTextNode(xt), Br.childNodes[0] || null), Ye === Ze ? A.call(Qe,
|
|
31325
|
+
return ge && xt && Br.insertBefore(i.createTextNode(xt), Br.childNodes[0] || null), Ye === Ze ? A.call(Qe, Dt ? "html" : "body")[0] : Dt ? Qe.documentElement : Br;
|
|
31326
31326
|
}, oa = function(ge) {
|
|
31327
31327
|
return N.call(ge.ownerDocument || ge, ge, l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT, null, !1);
|
|
31328
31328
|
}, Us = function(ge) {
|
|
@@ -31410,7 +31410,7 @@ function AG() {
|
|
|
31410
31410
|
};
|
|
31411
31411
|
return e.sanitize = function(Tt, ge) {
|
|
31412
31412
|
var Qe = void 0, xt = void 0, dn = void 0, Fr = void 0, Br = void 0;
|
|
31413
|
-
if (
|
|
31413
|
+
if (kt = !Tt, kt && (Tt = "<!-->"), typeof Tt != "string" && !mr(Tt)) {
|
|
31414
31414
|
if (typeof Tt.toString != "function")
|
|
31415
31415
|
throw V7("toString is not a function");
|
|
31416
31416
|
if (Tt = Tt.toString(), typeof Tt != "string")
|
|
@@ -31425,10 +31425,10 @@ function AG() {
|
|
|
31425
31425
|
}
|
|
31426
31426
|
return Tt;
|
|
31427
31427
|
}
|
|
31428
|
-
if (
|
|
31428
|
+
if (Et || hi(ge), e.removed = [], typeof Tt == "string" && (q = !1), !q) if (Tt instanceof o)
|
|
31429
31429
|
Qe = ra("<!---->"), xt = Qe.ownerDocument.importNode(Tt, !0), xt.nodeType === 1 && xt.nodeName === "BODY" || xt.nodeName === "HTML" ? Qe = xt : Qe.appendChild(xt);
|
|
31430
31430
|
else {
|
|
31431
|
-
if (!St && !We && !
|
|
31431
|
+
if (!St && !We && !Dt && // eslint-disable-next-line unicorn/prefer-includes
|
|
31432
31432
|
Tt.indexOf("<") === -1)
|
|
31433
31433
|
return S && ri ? S.createHTML(Tt) : Tt;
|
|
31434
31434
|
if (Qe = ra(Tt), !Qe)
|
|
@@ -31447,12 +31447,12 @@ function AG() {
|
|
|
31447
31447
|
Br = Qe;
|
|
31448
31448
|
return ae && (Br = E.call(t, Br, !0)), Br;
|
|
31449
31449
|
}
|
|
31450
|
-
var Mc =
|
|
31450
|
+
var Mc = Dt ? Qe.outerHTML : Qe.innerHTML;
|
|
31451
31451
|
return We && (Mc = nh(Mc, $, " "), Mc = nh(Mc, ee, " ")), S && ri ? S.createHTML(Mc) : Mc;
|
|
31452
31452
|
}, e.setConfig = function(Tt) {
|
|
31453
|
-
hi(Tt),
|
|
31453
|
+
hi(Tt), Et = !0;
|
|
31454
31454
|
}, e.clearConfig = function() {
|
|
31455
|
-
ct = null,
|
|
31455
|
+
ct = null, Et = !1;
|
|
31456
31456
|
}, e.isValidAttribute = function(Tt, ge, Qe) {
|
|
31457
31457
|
ct || hi({});
|
|
31458
31458
|
var xt = gg(Tt), dn = gg(ge);
|
|
@@ -49855,24 +49855,24 @@ class tZ {
|
|
|
49855
49855
|
this.parent = null, this.left = null, this.right = null;
|
|
49856
49856
|
}
|
|
49857
49857
|
}
|
|
49858
|
-
const
|
|
49859
|
-
|
|
49860
|
-
|
|
49861
|
-
|
|
49858
|
+
const Lt = new tZ(null, 0, 0);
|
|
49859
|
+
Lt.parent = Lt;
|
|
49860
|
+
Lt.left = Lt;
|
|
49861
|
+
Lt.right = Lt;
|
|
49862
49862
|
Ei(
|
|
49863
|
-
|
|
49863
|
+
Lt,
|
|
49864
49864
|
0
|
|
49865
49865
|
/* NodeColor.Black */
|
|
49866
49866
|
);
|
|
49867
49867
|
class RT {
|
|
49868
49868
|
constructor() {
|
|
49869
|
-
this.root =
|
|
49869
|
+
this.root = Lt, this.requestNormalizeDelta = !1;
|
|
49870
49870
|
}
|
|
49871
49871
|
intervalSearch(e, t, i, n, r, o) {
|
|
49872
|
-
return this.root ===
|
|
49872
|
+
return this.root === Lt ? [] : d1e(this, e, t, i, n, r, o);
|
|
49873
49873
|
}
|
|
49874
49874
|
search(e, t, i, n) {
|
|
49875
|
-
return this.root ===
|
|
49875
|
+
return this.root === Lt ? [] : l1e(this, e, t, i, n);
|
|
49876
49876
|
}
|
|
49877
49877
|
/**
|
|
49878
49878
|
* Will not set `cachedAbsoluteStart` nor `cachedAbsoluteEnd` on the returned nodes!
|
|
@@ -49919,12 +49919,12 @@ class RT {
|
|
|
49919
49919
|
}
|
|
49920
49920
|
function i1e(s) {
|
|
49921
49921
|
let e = s.root, t = 0;
|
|
49922
|
-
for (; e !==
|
|
49923
|
-
if (e.left !==
|
|
49922
|
+
for (; e !== Lt; ) {
|
|
49923
|
+
if (e.left !== Lt && !Vs(e.left)) {
|
|
49924
49924
|
e = e.left;
|
|
49925
49925
|
continue;
|
|
49926
49926
|
}
|
|
49927
|
-
if (e.right !==
|
|
49927
|
+
if (e.right !== Lt && !Vs(e.right)) {
|
|
49928
49928
|
t += e.delta, e = e.right;
|
|
49929
49929
|
continue;
|
|
49930
49930
|
}
|
|
@@ -49960,7 +49960,7 @@ function s1e(s, e, t) {
|
|
|
49960
49960
|
let i = s.root, n = 0, r = 0, o = 0, a = 0;
|
|
49961
49961
|
const l = [];
|
|
49962
49962
|
let d = 0;
|
|
49963
|
-
for (; i !==
|
|
49963
|
+
for (; i !== Lt; ) {
|
|
49964
49964
|
if (Vs(i)) {
|
|
49965
49965
|
Di(i.left, !1), Di(i.right, !1), i === i.parent.right && (n -= i.parent.delta), i = i.parent;
|
|
49966
49966
|
continue;
|
|
@@ -49970,7 +49970,7 @@ function s1e(s, e, t) {
|
|
|
49970
49970
|
Di(i, !0);
|
|
49971
49971
|
continue;
|
|
49972
49972
|
}
|
|
49973
|
-
if (i.left !==
|
|
49973
|
+
if (i.left !== Lt) {
|
|
49974
49974
|
i = i.left;
|
|
49975
49975
|
continue;
|
|
49976
49976
|
}
|
|
@@ -49979,7 +49979,7 @@ function s1e(s, e, t) {
|
|
|
49979
49979
|
Di(i, !0);
|
|
49980
49980
|
continue;
|
|
49981
49981
|
}
|
|
49982
|
-
if (a = n + i.end, a >= e && (i.setCachedOffsets(o, a, 0), l[d++] = i), Di(i, !0), i.right !==
|
|
49982
|
+
if (a = n + i.end, a >= e && (i.setCachedOffsets(o, a, 0), l[d++] = i), Di(i, !0), i.right !== Lt && !Vs(i.right)) {
|
|
49983
49983
|
n += i.delta, i = i.right;
|
|
49984
49984
|
continue;
|
|
49985
49985
|
}
|
|
@@ -49989,7 +49989,7 @@ function s1e(s, e, t) {
|
|
|
49989
49989
|
function r1e(s, e, t, i) {
|
|
49990
49990
|
let n = s.root, r = 0, o = 0, a = 0;
|
|
49991
49991
|
const l = i - (t - e);
|
|
49992
|
-
for (; n !==
|
|
49992
|
+
for (; n !== Lt; ) {
|
|
49993
49993
|
if (Vs(n)) {
|
|
49994
49994
|
Di(n.left, !1), Di(n.right, !1), n === n.parent.right && (r -= n.parent.delta), _f(n), n = n.parent;
|
|
49995
49995
|
continue;
|
|
@@ -49999,7 +49999,7 @@ function r1e(s, e, t, i) {
|
|
|
49999
49999
|
Di(n, !0);
|
|
50000
50000
|
continue;
|
|
50001
50001
|
}
|
|
50002
|
-
if (n.left !==
|
|
50002
|
+
if (n.left !== Lt) {
|
|
50003
50003
|
n = n.left;
|
|
50004
50004
|
continue;
|
|
50005
50005
|
}
|
|
@@ -50008,7 +50008,7 @@ function r1e(s, e, t, i) {
|
|
|
50008
50008
|
n.start += l, n.end += l, n.delta += l, (n.delta < -1073741824 || n.delta > 1073741824) && (s.requestNormalizeDelta = !0), Di(n, !0);
|
|
50009
50009
|
continue;
|
|
50010
50010
|
}
|
|
50011
|
-
if (Di(n, !0), n.right !==
|
|
50011
|
+
if (Di(n, !0), n.right !== Lt && !Vs(n.right)) {
|
|
50012
50012
|
r += n.delta, n = n.right;
|
|
50013
50013
|
continue;
|
|
50014
50014
|
}
|
|
@@ -50019,16 +50019,16 @@ function o1e(s, e) {
|
|
|
50019
50019
|
let t = s.root;
|
|
50020
50020
|
const i = [];
|
|
50021
50021
|
let n = 0;
|
|
50022
|
-
for (; t !==
|
|
50022
|
+
for (; t !== Lt; ) {
|
|
50023
50023
|
if (Vs(t)) {
|
|
50024
50024
|
Di(t.left, !1), Di(t.right, !1), t = t.parent;
|
|
50025
50025
|
continue;
|
|
50026
50026
|
}
|
|
50027
|
-
if (t.left !==
|
|
50027
|
+
if (t.left !== Lt && !Vs(t.left)) {
|
|
50028
50028
|
t = t.left;
|
|
50029
50029
|
continue;
|
|
50030
50030
|
}
|
|
50031
|
-
if (t.ownerId === e && (i[n++] = t), Di(t, !0), t.right !==
|
|
50031
|
+
if (t.ownerId === e && (i[n++] = t), Di(t, !0), t.right !== Lt && !Vs(t.right)) {
|
|
50032
50032
|
t = t.right;
|
|
50033
50033
|
continue;
|
|
50034
50034
|
}
|
|
@@ -50039,16 +50039,16 @@ function a1e(s) {
|
|
|
50039
50039
|
let e = s.root;
|
|
50040
50040
|
const t = [];
|
|
50041
50041
|
let i = 0;
|
|
50042
|
-
for (; e !==
|
|
50042
|
+
for (; e !== Lt; ) {
|
|
50043
50043
|
if (Vs(e)) {
|
|
50044
50044
|
Di(e.left, !1), Di(e.right, !1), e = e.parent;
|
|
50045
50045
|
continue;
|
|
50046
50046
|
}
|
|
50047
|
-
if (e.left !==
|
|
50047
|
+
if (e.left !== Lt && !Vs(e.left)) {
|
|
50048
50048
|
e = e.left;
|
|
50049
50049
|
continue;
|
|
50050
50050
|
}
|
|
50051
|
-
if (e.right !==
|
|
50051
|
+
if (e.right !== Lt && !Vs(e.right)) {
|
|
50052
50052
|
e = e.right;
|
|
50053
50053
|
continue;
|
|
50054
50054
|
}
|
|
@@ -50060,18 +50060,18 @@ function l1e(s, e, t, i, n) {
|
|
|
50060
50060
|
let r = s.root, o = 0, a = 0, l = 0;
|
|
50061
50061
|
const d = [];
|
|
50062
50062
|
let c = 0;
|
|
50063
|
-
for (; r !==
|
|
50063
|
+
for (; r !== Lt; ) {
|
|
50064
50064
|
if (Vs(r)) {
|
|
50065
50065
|
Di(r.left, !1), Di(r.right, !1), r === r.parent.right && (o -= r.parent.delta), r = r.parent;
|
|
50066
50066
|
continue;
|
|
50067
50067
|
}
|
|
50068
|
-
if (r.left !==
|
|
50068
|
+
if (r.left !== Lt && !Vs(r.left)) {
|
|
50069
50069
|
r = r.left;
|
|
50070
50070
|
continue;
|
|
50071
50071
|
}
|
|
50072
50072
|
a = o + r.start, l = o + r.end, r.setCachedOffsets(a, l, i);
|
|
50073
50073
|
let u = !0;
|
|
50074
|
-
if (e && r.ownerId && r.ownerId !== e && (u = !1), t && Jq(r) && (u = !1), n && !eZ(r) && (u = !1), u && (d[c++] = r), Di(r, !0), r.right !==
|
|
50074
|
+
if (e && r.ownerId && r.ownerId !== e && (u = !1), t && Jq(r) && (u = !1), n && !eZ(r) && (u = !1), u && (d[c++] = r), Di(r, !0), r.right !== Lt && !Vs(r.right)) {
|
|
50075
50075
|
o += r.delta, r = r.right;
|
|
50076
50076
|
continue;
|
|
50077
50077
|
}
|
|
@@ -50082,7 +50082,7 @@ function d1e(s, e, t, i, n, r, o) {
|
|
|
50082
50082
|
let a = s.root, l = 0, d = 0, c = 0, u = 0;
|
|
50083
50083
|
const h = [];
|
|
50084
50084
|
let f = 0;
|
|
50085
|
-
for (; a !==
|
|
50085
|
+
for (; a !== Lt; ) {
|
|
50086
50086
|
if (Vs(a)) {
|
|
50087
50087
|
Di(a.left, !1), Di(a.right, !1), a === a.parent.right && (l -= a.parent.delta), a = a.parent;
|
|
50088
50088
|
continue;
|
|
@@ -50092,7 +50092,7 @@ function d1e(s, e, t, i, n, r, o) {
|
|
|
50092
50092
|
Di(a, !0);
|
|
50093
50093
|
continue;
|
|
50094
50094
|
}
|
|
50095
|
-
if (a.left !==
|
|
50095
|
+
if (a.left !== Lt) {
|
|
50096
50096
|
a = a.left;
|
|
50097
50097
|
continue;
|
|
50098
50098
|
}
|
|
@@ -50106,7 +50106,7 @@ function d1e(s, e, t, i, n, r, o) {
|
|
|
50106
50106
|
let p = !0;
|
|
50107
50107
|
i && a.ownerId && a.ownerId !== i && (p = !1), n && Jq(a) && (p = !1), o && !eZ(a) && (p = !1), p && (h[f++] = a);
|
|
50108
50108
|
}
|
|
50109
|
-
if (Di(a, !0), a.right !==
|
|
50109
|
+
if (Di(a, !0), a.right !== Lt && !Vs(a.right)) {
|
|
50110
50110
|
l += a.delta, a = a.right;
|
|
50111
50111
|
continue;
|
|
50112
50112
|
}
|
|
@@ -50114,8 +50114,8 @@ function d1e(s, e, t, i, n, r, o) {
|
|
|
50114
50114
|
return Di(s.root, !1), h;
|
|
50115
50115
|
}
|
|
50116
50116
|
function z6(s, e) {
|
|
50117
|
-
if (s.root ===
|
|
50118
|
-
return e.parent =
|
|
50117
|
+
if (s.root === Lt)
|
|
50118
|
+
return e.parent = Lt, e.left = Lt, e.right = Lt, Ei(
|
|
50119
50119
|
e,
|
|
50120
50120
|
0
|
|
50121
50121
|
/* NodeColor.Black */
|
|
@@ -50181,17 +50181,17 @@ function c1e(s, e) {
|
|
|
50181
50181
|
const n = e.start, r = e.end;
|
|
50182
50182
|
for (; ; )
|
|
50183
50183
|
if (h1e(n, r, i.start + t, i.end + t) < 0)
|
|
50184
|
-
if (i.left ===
|
|
50184
|
+
if (i.left === Lt) {
|
|
50185
50185
|
e.start -= t, e.end -= t, e.maxEnd -= t, i.left = e;
|
|
50186
50186
|
break;
|
|
50187
50187
|
} else
|
|
50188
50188
|
i = i.left;
|
|
50189
|
-
else if (i.right ===
|
|
50189
|
+
else if (i.right === Lt) {
|
|
50190
50190
|
e.start -= t + i.delta, e.end -= t + i.delta, e.maxEnd -= t + i.delta, i.right = e;
|
|
50191
50191
|
break;
|
|
50192
50192
|
} else
|
|
50193
50193
|
t += i.delta, i = i.right;
|
|
50194
|
-
e.parent = i, e.left =
|
|
50194
|
+
e.parent = i, e.left = Lt, e.right = Lt, Ei(
|
|
50195
50195
|
e,
|
|
50196
50196
|
1
|
|
50197
50197
|
/* NodeColor.Red */
|
|
@@ -50199,16 +50199,16 @@ function c1e(s, e) {
|
|
|
50199
50199
|
}
|
|
50200
50200
|
function $6(s, e) {
|
|
50201
50201
|
let t, i;
|
|
50202
|
-
if (e.left ===
|
|
50202
|
+
if (e.left === Lt ? (t = e.right, i = e, t.delta += e.delta, (t.delta < -1073741824 || t.delta > 1073741824) && (s.requestNormalizeDelta = !0), t.start += e.delta, t.end += e.delta) : e.right === Lt ? (t = e.left, i = e) : (i = u1e(e.right), t = i.right, t.start += i.delta, t.end += i.delta, t.delta += i.delta, (t.delta < -1073741824 || t.delta > 1073741824) && (s.requestNormalizeDelta = !0), i.start += e.delta, i.end += e.delta, i.delta = e.delta, (i.delta < -1073741824 || i.delta > 1073741824) && (s.requestNormalizeDelta = !0)), i === s.root) {
|
|
50203
50203
|
s.root = t, Ei(
|
|
50204
50204
|
t,
|
|
50205
50205
|
0
|
|
50206
50206
|
/* NodeColor.Black */
|
|
50207
|
-
), e.detach(), AT(), _f(t), s.root.parent =
|
|
50207
|
+
), e.detach(), AT(), _f(t), s.root.parent = Lt;
|
|
50208
50208
|
return;
|
|
50209
50209
|
}
|
|
50210
50210
|
const n = zr(i) === 1;
|
|
50211
|
-
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, Ei(i, zr(e)), e === s.root ? s.root = i : e === e.parent.left ? e.parent.left = i : e.parent.right = i, i.left !==
|
|
50211
|
+
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, Ei(i, zr(e)), e === s.root ? s.root = i : e === e.parent.left ? e.parent.left = i : e.parent.right = i, i.left !== Lt && (i.left.parent = i), i.right !== Lt && (i.right.parent = i)), e.detach(), n) {
|
|
50212
50212
|
fh(t.parent), i !== e && (fh(i), fh(i.parent)), AT();
|
|
50213
50213
|
return;
|
|
50214
50214
|
}
|
|
@@ -50279,28 +50279,28 @@ function $6(s, e) {
|
|
|
50279
50279
|
), AT();
|
|
50280
50280
|
}
|
|
50281
50281
|
function u1e(s) {
|
|
50282
|
-
for (; s.left !==
|
|
50282
|
+
for (; s.left !== Lt; )
|
|
50283
50283
|
s = s.left;
|
|
50284
50284
|
return s;
|
|
50285
50285
|
}
|
|
50286
50286
|
function AT() {
|
|
50287
|
-
|
|
50287
|
+
Lt.parent = Lt, Lt.delta = 0, Lt.start = 0, Lt.end = 0;
|
|
50288
50288
|
}
|
|
50289
50289
|
function cw(s, e) {
|
|
50290
50290
|
const t = e.right;
|
|
50291
|
-
t.delta += e.delta, (t.delta < -1073741824 || t.delta > 1073741824) && (s.requestNormalizeDelta = !0), t.start += e.delta, t.end += e.delta, e.right = t.left, t.left !==
|
|
50291
|
+
t.delta += e.delta, (t.delta < -1073741824 || t.delta > 1073741824) && (s.requestNormalizeDelta = !0), t.start += e.delta, t.end += e.delta, e.right = t.left, t.left !== Lt && (t.left.parent = e), t.parent = e.parent, e.parent === Lt ? s.root = t : e === e.parent.left ? e.parent.left = t : e.parent.right = t, t.left = e, e.parent = t, _f(e), _f(t);
|
|
50292
50292
|
}
|
|
50293
50293
|
function uw(s, e) {
|
|
50294
50294
|
const t = e.left;
|
|
50295
|
-
e.delta -= t.delta, (e.delta < -1073741824 || e.delta > 1073741824) && (s.requestNormalizeDelta = !0), e.start -= t.delta, e.end -= t.delta, e.left = t.right, t.right !==
|
|
50295
|
+
e.delta -= t.delta, (e.delta < -1073741824 || e.delta > 1073741824) && (s.requestNormalizeDelta = !0), e.start -= t.delta, e.end -= t.delta, e.left = t.right, t.right !== Lt && (t.right.parent = e), t.parent = e.parent, e.parent === Lt ? s.root = t : e === e.parent.right ? e.parent.right = t : e.parent.left = t, t.right = e, e.parent = t, _f(e), _f(t);
|
|
50296
50296
|
}
|
|
50297
50297
|
function iZ(s) {
|
|
50298
50298
|
let e = s.end;
|
|
50299
|
-
if (s.left !==
|
|
50299
|
+
if (s.left !== Lt) {
|
|
50300
50300
|
const t = s.left.maxEnd;
|
|
50301
50301
|
t > e && (e = t);
|
|
50302
50302
|
}
|
|
50303
|
-
if (s.right !==
|
|
50303
|
+
if (s.right !== Lt) {
|
|
50304
50304
|
const t = s.right.maxEnd + s.delta;
|
|
50305
50305
|
t > e && (e = t);
|
|
50306
50306
|
}
|
|
@@ -50310,7 +50310,7 @@ function _f(s) {
|
|
|
50310
50310
|
s.maxEnd = iZ(s);
|
|
50311
50311
|
}
|
|
50312
50312
|
function fh(s) {
|
|
50313
|
-
for (; s !==
|
|
50313
|
+
for (; s !== Lt; ) {
|
|
50314
50314
|
const e = iZ(s);
|
|
50315
50315
|
if (s.maxEnd === e)
|
|
50316
50316
|
return;
|
|
@@ -59094,7 +59094,7 @@ Ip = q0e([
|
|
|
59094
59094
|
Bc(8, _n),
|
|
59095
59095
|
Bc(9, Hf),
|
|
59096
59096
|
Bc(10, xi),
|
|
59097
|
-
Bc(11,
|
|
59097
|
+
Bc(11, Oe)
|
|
59098
59098
|
], Ip);
|
|
59099
59099
|
class cW extends X {
|
|
59100
59100
|
constructor(e) {
|
|
@@ -60839,7 +60839,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
60839
60839
|
}, q.list = function(P) {
|
|
60840
60840
|
var B = this.rules.block.list.exec(P);
|
|
60841
60841
|
if (B) {
|
|
60842
|
-
var K, H, oe, pe, Re,
|
|
60842
|
+
var K, H, oe, pe, Re, Fe, Ze, Ye, kt, ct, Xe, hi, Ht = B[1].trim(), ut = Ht.length > 1, si = {
|
|
60843
60843
|
type: "list",
|
|
60844
60844
|
raw: "",
|
|
60845
60845
|
ordered: ut,
|
|
@@ -60850,20 +60850,20 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
60850
60850
|
Ht = ut ? "\\d{1,9}\\" + Ht.slice(-1) : "\\" + Ht, this.options.pedantic && (Ht = ut ? Ht : "[*+-]");
|
|
60851
60851
|
for (var Yi = new RegExp("^( {0,3}" + Ht + ")((?:[ ][^\\n]*)?(?:\\n|$))"); P && (hi = !1, !(!(B = Yi.exec(P)) || this.rules.block.hr.test(P))); ) {
|
|
60852
60852
|
if (K = B[0], P = P.substring(K.length), Ye = B[2].split(`
|
|
60853
|
-
`, 1)[0],
|
|
60854
|
-
`, 1)[0], this.options.pedantic ? (pe = 2, Xe = Ye.trimLeft()) : (pe = B[2].search(/[^ ]/), pe = pe > 4 ? 1 : pe, Xe = Ye.slice(pe), pe += B[1].length),
|
|
60855
|
-
`, P = P.substring(
|
|
60853
|
+
`, 1)[0], kt = P.split(`
|
|
60854
|
+
`, 1)[0], this.options.pedantic ? (pe = 2, Xe = Ye.trimLeft()) : (pe = B[2].search(/[^ ]/), pe = pe > 4 ? 1 : pe, Xe = Ye.slice(pe), pe += B[1].length), Fe = !1, !Ye && /^ *$/.test(kt) && (K += kt + `
|
|
60855
|
+
`, P = P.substring(kt.length + 1), hi = !0), !hi)
|
|
60856
60856
|
for (var Lo = new RegExp("^ {0," + Math.min(3, pe - 1) + "}(?:[*+-]|\\d{1,9}[.)])((?: [^\\n]*)?(?:\\n|$))"), ln = new RegExp("^ {0," + Math.min(3, pe - 1) + "}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)"), Do = new RegExp("^ {0," + Math.min(3, pe - 1) + "}(?:```|~~~)"), ra = new RegExp("^ {0," + Math.min(3, pe - 1) + "}#"); P && (ct = P.split(`
|
|
60857
60857
|
`, 1)[0], Ye = ct, this.options.pedantic && (Ye = Ye.replace(/^ {1,4}(?=( {4})*[^ ])/g, " ")), !(Do.test(Ye) || ra.test(Ye) || Lo.test(Ye) || ln.test(P))); ) {
|
|
60858
60858
|
if (Ye.search(/[^ ]/) >= pe || !Ye.trim())
|
|
60859
60859
|
Xe += `
|
|
60860
60860
|
` + Ye.slice(pe);
|
|
60861
|
-
else if (!
|
|
60861
|
+
else if (!Fe)
|
|
60862
60862
|
Xe += `
|
|
60863
60863
|
` + Ye;
|
|
60864
60864
|
else
|
|
60865
60865
|
break;
|
|
60866
|
-
!
|
|
60866
|
+
!Fe && !Ye.trim() && (Fe = !0), K += ct + `
|
|
60867
60867
|
`, P = P.substring(ct.length + 1);
|
|
60868
60868
|
}
|
|
60869
60869
|
si.loose || (Ze ? si.loose = !0 : /\n *\n *$/.test(K) && (Ze = !0)), this.options.gfm && (H = /^\[[ xX]\] /.exec(Xe), H && (oe = H[0] !== "[ ] ", Xe = Xe.replace(/^\[[ xX]\] +/, ""))), si.items.push({
|
|
@@ -60938,7 +60938,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
60938
60938
|
};
|
|
60939
60939
|
if (K.header.length === K.align.length) {
|
|
60940
60940
|
K.raw = B[0];
|
|
60941
|
-
var H = K.align.length, oe, pe, Re,
|
|
60941
|
+
var H = K.align.length, oe, pe, Re, Fe;
|
|
60942
60942
|
for (oe = 0; oe < H; oe++)
|
|
60943
60943
|
/^ *-+: *$/.test(K.align[oe]) ? K.align[oe] = "right" : /^ *:-+: *$/.test(K.align[oe]) ? K.align[oe] = "center" : /^ *:-+ *$/.test(K.align[oe]) ? K.align[oe] = "left" : K.align[oe] = null;
|
|
60944
60944
|
for (H = K.rows.length, oe = 0; oe < H; oe++)
|
|
@@ -60950,8 +60950,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
60950
60950
|
for (H = K.header.length, pe = 0; pe < H; pe++)
|
|
60951
60951
|
K.header[pe].tokens = this.lexer.inline(K.header[pe].text);
|
|
60952
60952
|
for (H = K.rows.length, pe = 0; pe < H; pe++)
|
|
60953
|
-
for (
|
|
60954
|
-
|
|
60953
|
+
for (Fe = K.rows[pe], Re = 0; Re < Fe.length; Re++)
|
|
60954
|
+
Fe[Re].tokens = this.lexer.inline(Fe[Re].text);
|
|
60955
60955
|
return K;
|
|
60956
60956
|
}
|
|
60957
60957
|
}
|
|
@@ -61021,14 +61021,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61021
61021
|
B[2] = B[2].substring(0, oe), B[0] = B[0].substring(0, Re).trim(), B[3] = "";
|
|
61022
61022
|
}
|
|
61023
61023
|
}
|
|
61024
|
-
var
|
|
61024
|
+
var Fe = B[2], Ze = "";
|
|
61025
61025
|
if (this.options.pedantic) {
|
|
61026
|
-
var Ye = /^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(
|
|
61027
|
-
Ye && (
|
|
61026
|
+
var Ye = /^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Fe);
|
|
61027
|
+
Ye && (Fe = Ye[1], Ze = Ye[3]);
|
|
61028
61028
|
} else
|
|
61029
61029
|
Ze = B[3] ? B[3].slice(1, -1) : "";
|
|
61030
|
-
return
|
|
61031
|
-
href:
|
|
61030
|
+
return Fe = Fe.trim(), /^</.test(Fe) && (this.options.pedantic && !/>$/.test(K) ? Fe = Fe.slice(1) : Fe = Fe.slice(1, -1)), Y(B, {
|
|
61031
|
+
href: Fe && Fe.replace(this.rules.inline._escapes, "$1"),
|
|
61032
61032
|
title: Ze && Ze.replace(this.rules.inline._escapes, "$1")
|
|
61033
61033
|
}, B[0], this.lexer);
|
|
61034
61034
|
}
|
|
@@ -61052,30 +61052,30 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61052
61052
|
if (H && !(H[3] && K.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])/))) {
|
|
61053
61053
|
var oe = H[1] || H[2] || "";
|
|
61054
61054
|
if (!oe || oe && (K === "" || this.rules.inline.punctuation.exec(K))) {
|
|
61055
|
-
var pe = H[0].length - 1, Re,
|
|
61056
|
-
for (
|
|
61055
|
+
var pe = H[0].length - 1, Re, Fe, Ze = pe, Ye = 0, kt = H[0][0] === "*" ? this.rules.inline.emStrong.rDelimAst : this.rules.inline.emStrong.rDelimUnd;
|
|
61056
|
+
for (kt.lastIndex = 0, B = B.slice(-1 * P.length + pe); (H = kt.exec(B)) != null; )
|
|
61057
61057
|
if (Re = H[1] || H[2] || H[3] || H[4] || H[5] || H[6], !!Re) {
|
|
61058
|
-
if (
|
|
61059
|
-
Ze +=
|
|
61058
|
+
if (Fe = Re.length, H[3] || H[4]) {
|
|
61059
|
+
Ze += Fe;
|
|
61060
61060
|
continue;
|
|
61061
|
-
} else if ((H[5] || H[6]) && pe % 3 && !((pe +
|
|
61062
|
-
Ye +=
|
|
61061
|
+
} else if ((H[5] || H[6]) && pe % 3 && !((pe + Fe) % 3)) {
|
|
61062
|
+
Ye += Fe;
|
|
61063
61063
|
continue;
|
|
61064
61064
|
}
|
|
61065
|
-
if (Ze -=
|
|
61066
|
-
if (
|
|
61067
|
-
var ct = P.slice(1, pe + H.index +
|
|
61065
|
+
if (Ze -= Fe, !(Ze > 0)) {
|
|
61066
|
+
if (Fe = Math.min(Fe, Fe + Ze + Ye), Math.min(pe, Fe) % 2) {
|
|
61067
|
+
var ct = P.slice(1, pe + H.index + Fe);
|
|
61068
61068
|
return {
|
|
61069
61069
|
type: "em",
|
|
61070
|
-
raw: P.slice(0, pe + H.index +
|
|
61070
|
+
raw: P.slice(0, pe + H.index + Fe + 1),
|
|
61071
61071
|
text: ct,
|
|
61072
61072
|
tokens: this.lexer.inlineTokens(ct)
|
|
61073
61073
|
};
|
|
61074
61074
|
}
|
|
61075
|
-
var Xe = P.slice(2, pe + H.index +
|
|
61075
|
+
var Xe = P.slice(2, pe + H.index + Fe - 1);
|
|
61076
61076
|
return {
|
|
61077
61077
|
type: "strong",
|
|
61078
|
-
raw: P.slice(0, pe + H.index +
|
|
61078
|
+
raw: P.slice(0, pe + H.index + Fe + 1),
|
|
61079
61079
|
text: Xe,
|
|
61080
61080
|
tokens: this.lexer.inlineTokens(Xe)
|
|
61081
61081
|
};
|
|
@@ -61278,8 +61278,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61278
61278
|
return this.tokens;
|
|
61279
61279
|
}, q.blockTokens = function(P, B) {
|
|
61280
61280
|
var K = this;
|
|
61281
|
-
B === void 0 && (B = []), this.options.pedantic ? P = P.replace(/\t/g, " ").replace(/^ +$/gm, "") : P = P.replace(/^( *)(\t+)/gm, function(Ze, Ye,
|
|
61282
|
-
return Ye + " ".repeat(
|
|
61281
|
+
B === void 0 && (B = []), this.options.pedantic ? P = P.replace(/\t/g, " ").replace(/^ +$/gm, "") : P = P.replace(/^( *)(\t+)/gm, function(Ze, Ye, kt) {
|
|
61282
|
+
return Ye + " ".repeat(kt.length);
|
|
61283
61283
|
});
|
|
61284
61284
|
for (var H, oe, pe, Re; P; )
|
|
61285
61285
|
if (!(this.options.extensions && this.options.extensions.block && this.options.extensions.block.some(function(Ze) {
|
|
@@ -61340,11 +61340,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61340
61340
|
continue;
|
|
61341
61341
|
}
|
|
61342
61342
|
if (pe = P, this.options.extensions && this.options.extensions.startBlock && function() {
|
|
61343
|
-
var Ze = 1 / 0, Ye = P.slice(1),
|
|
61343
|
+
var Ze = 1 / 0, Ye = P.slice(1), kt = void 0;
|
|
61344
61344
|
K.options.extensions.startBlock.forEach(function(ct) {
|
|
61345
|
-
|
|
61345
|
+
kt = ct.call({
|
|
61346
61346
|
lexer: this
|
|
61347
|
-
}, Ye), typeof
|
|
61347
|
+
}, Ye), typeof kt == "number" && kt >= 0 && (Ze = Math.min(Ze, kt));
|
|
61348
61348
|
}), Ze < 1 / 0 && Ze >= 0 && (pe = P.substring(0, Ze + 1));
|
|
61349
61349
|
}(), this.state.top && (H = this.tokenizer.paragraph(pe))) {
|
|
61350
61350
|
oe = B[B.length - 1], Re && oe.type === "paragraph" ? (oe.raw += `
|
|
@@ -61359,12 +61359,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61359
61359
|
continue;
|
|
61360
61360
|
}
|
|
61361
61361
|
if (P) {
|
|
61362
|
-
var
|
|
61362
|
+
var Fe = "Infinite loop on byte: " + P.charCodeAt(0);
|
|
61363
61363
|
if (this.options.silent) {
|
|
61364
|
-
console.error(
|
|
61364
|
+
console.error(Fe);
|
|
61365
61365
|
break;
|
|
61366
61366
|
} else
|
|
61367
|
-
throw new Error(
|
|
61367
|
+
throw new Error(Fe);
|
|
61368
61368
|
}
|
|
61369
61369
|
}
|
|
61370
61370
|
return this.state.top = !0, B;
|
|
@@ -61376,17 +61376,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61376
61376
|
}, q.inlineTokens = function(P, B) {
|
|
61377
61377
|
var K = this;
|
|
61378
61378
|
B === void 0 && (B = []);
|
|
61379
|
-
var H, oe, pe, Re = P,
|
|
61379
|
+
var H, oe, pe, Re = P, Fe, Ze, Ye;
|
|
61380
61380
|
if (this.tokens.links) {
|
|
61381
|
-
var
|
|
61382
|
-
if (
|
|
61383
|
-
for (; (
|
|
61384
|
-
|
|
61385
|
-
}
|
|
61386
|
-
for (; (
|
|
61387
|
-
Re = Re.slice(0,
|
|
61388
|
-
for (; (
|
|
61389
|
-
Re = Re.slice(0,
|
|
61381
|
+
var kt = Object.keys(this.tokens.links);
|
|
61382
|
+
if (kt.length > 0)
|
|
61383
|
+
for (; (Fe = this.tokenizer.rules.inline.reflinkSearch.exec(Re)) != null; )
|
|
61384
|
+
kt.includes(Fe[0].slice(Fe[0].lastIndexOf("[") + 1, -1)) && (Re = Re.slice(0, Fe.index) + "[" + se("a", Fe[0].length - 2) + "]" + Re.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex));
|
|
61385
|
+
}
|
|
61386
|
+
for (; (Fe = this.tokenizer.rules.inline.blockSkip.exec(Re)) != null; )
|
|
61387
|
+
Re = Re.slice(0, Fe.index) + "[" + se("a", Fe[0].length - 2) + "]" + Re.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
|
|
61388
|
+
for (; (Fe = this.tokenizer.rules.inline.escapedEmSt.exec(Re)) != null; )
|
|
61389
|
+
Re = Re.slice(0, Fe.index) + "++" + Re.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);
|
|
61390
61390
|
for (; P; )
|
|
61391
61391
|
if (Ze || (Ye = ""), Ze = !1, !(this.options.extensions && this.options.extensions.inline && this.options.extensions.inline.some(function(Xe) {
|
|
61392
61392
|
return (H = Xe.call({
|
|
@@ -61604,7 +61604,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61604
61604
|
var q = te.prototype;
|
|
61605
61605
|
return q.parse = function(P, B) {
|
|
61606
61606
|
B === void 0 && (B = !0);
|
|
61607
|
-
var K = "", H, oe, pe, Re,
|
|
61607
|
+
var K = "", H, oe, pe, Re, Fe, Ze, Ye, kt, ct, Xe, hi, Ht, ut, si, Yi, Lo, ln, Do, ra, oa = P.length;
|
|
61608
61608
|
for (H = 0; H < oa; H++) {
|
|
61609
61609
|
if (Xe = P[H], this.options.extensions && this.options.extensions.renderers && this.options.extensions.renderers[Xe.type] && (ra = this.options.extensions.renderers[Xe.type].call({
|
|
61610
61610
|
parser: this
|
|
@@ -61628,20 +61628,20 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61628
61628
|
continue;
|
|
61629
61629
|
}
|
|
61630
61630
|
case "table": {
|
|
61631
|
-
for (
|
|
61631
|
+
for (kt = "", Ye = "", Re = Xe.header.length, oe = 0; oe < Re; oe++)
|
|
61632
61632
|
Ye += this.renderer.tablecell(this.parseInline(Xe.header[oe].tokens), {
|
|
61633
61633
|
header: !0,
|
|
61634
61634
|
align: Xe.align[oe]
|
|
61635
61635
|
});
|
|
61636
|
-
for (
|
|
61637
|
-
for (Ze = Xe.rows[oe], Ye = "",
|
|
61636
|
+
for (kt += this.renderer.tablerow(Ye), ct = "", Re = Xe.rows.length, oe = 0; oe < Re; oe++) {
|
|
61637
|
+
for (Ze = Xe.rows[oe], Ye = "", Fe = Ze.length, pe = 0; pe < Fe; pe++)
|
|
61638
61638
|
Ye += this.renderer.tablecell(this.parseInline(Ze[pe].tokens), {
|
|
61639
61639
|
header: !1,
|
|
61640
61640
|
align: Xe.align[pe]
|
|
61641
61641
|
});
|
|
61642
61642
|
ct += this.renderer.tablerow(Ye);
|
|
61643
61643
|
}
|
|
61644
|
-
K += this.renderer.table(
|
|
61644
|
+
K += this.renderer.table(kt, ct);
|
|
61645
61645
|
continue;
|
|
61646
61646
|
}
|
|
61647
61647
|
case "blockquote": {
|
|
@@ -61735,12 +61735,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61735
61735
|
break;
|
|
61736
61736
|
}
|
|
61737
61737
|
default: {
|
|
61738
|
-
var
|
|
61738
|
+
var Fe = 'Token with "' + oe.type + '" type was not found.';
|
|
61739
61739
|
if (this.options.silent) {
|
|
61740
|
-
console.error(
|
|
61740
|
+
console.error(Fe);
|
|
61741
61741
|
return;
|
|
61742
61742
|
} else
|
|
61743
|
-
throw new Error(
|
|
61743
|
+
throw new Error(Fe);
|
|
61744
61744
|
}
|
|
61745
61745
|
}
|
|
61746
61746
|
}
|
|
@@ -61759,23 +61759,23 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61759
61759
|
} catch (Re) {
|
|
61760
61760
|
return Q(Re);
|
|
61761
61761
|
}
|
|
61762
|
-
var K = function(
|
|
61762
|
+
var K = function(Fe) {
|
|
61763
61763
|
var Ze;
|
|
61764
|
-
if (!
|
|
61764
|
+
if (!Fe)
|
|
61765
61765
|
try {
|
|
61766
61766
|
q.walkTokens && We.walkTokens(B, q.walkTokens), Ze = mt.parse(B, q);
|
|
61767
61767
|
} catch (Ye) {
|
|
61768
|
-
|
|
61768
|
+
Fe = Ye;
|
|
61769
61769
|
}
|
|
61770
|
-
return q.highlight = P,
|
|
61770
|
+
return q.highlight = P, Fe ? Q(Fe) : Q(null, Ze);
|
|
61771
61771
|
};
|
|
61772
61772
|
if (!P || P.length < 3 || (delete q.highlight, !B.length)) return K();
|
|
61773
61773
|
var H = 0;
|
|
61774
61774
|
We.walkTokens(B, function(Re) {
|
|
61775
61775
|
Re.type === "code" && (H++, setTimeout(function() {
|
|
61776
|
-
P(Re.text, Re.lang, function(
|
|
61777
|
-
if (
|
|
61778
|
-
return K(
|
|
61776
|
+
P(Re.text, Re.lang, function(Fe, Ze) {
|
|
61777
|
+
if (Fe)
|
|
61778
|
+
return K(Fe);
|
|
61779
61779
|
Ze != null && Ze !== Re.text && (Re.text = Ze, Re.escaped = !0), H--, H === 0 && K();
|
|
61780
61780
|
});
|
|
61781
61781
|
}, 0));
|
|
@@ -61818,10 +61818,10 @@ Please report this to https://github.com/markedjs/marked.`, q.silent)
|
|
|
61818
61818
|
if (pe.renderer) {
|
|
61819
61819
|
var Re = B.renderers ? B.renderers[pe.name] : null;
|
|
61820
61820
|
Re ? B.renderers[pe.name] = function() {
|
|
61821
|
-
for (var
|
|
61821
|
+
for (var Fe = arguments.length, Ze = new Array(Fe), Ye = 0; Ye < Fe; Ye++)
|
|
61822
61822
|
Ze[Ye] = arguments[Ye];
|
|
61823
|
-
var
|
|
61824
|
-
return
|
|
61823
|
+
var kt = pe.renderer.apply(this, Ze);
|
|
61824
|
+
return kt === !1 && (kt = Re.apply(this, Ze)), kt;
|
|
61825
61825
|
} : B.renderers[pe.name] = pe.renderer;
|
|
61826
61826
|
}
|
|
61827
61827
|
if (pe.tokenizer) {
|
|
@@ -61832,29 +61832,29 @@ Please report this to https://github.com/markedjs/marked.`, q.silent)
|
|
|
61832
61832
|
pe.childTokens && (B.childTokens[pe.name] = pe.childTokens);
|
|
61833
61833
|
})), H.renderer && function() {
|
|
61834
61834
|
var pe = We.defaults.renderer || new ke(), Re = function(Ye) {
|
|
61835
|
-
var
|
|
61835
|
+
var kt = pe[Ye];
|
|
61836
61836
|
pe[Ye] = function() {
|
|
61837
61837
|
for (var ct = arguments.length, Xe = new Array(ct), hi = 0; hi < ct; hi++)
|
|
61838
61838
|
Xe[hi] = arguments[hi];
|
|
61839
61839
|
var Ht = H.renderer[Ye].apply(pe, Xe);
|
|
61840
|
-
return Ht === !1 && (Ht =
|
|
61840
|
+
return Ht === !1 && (Ht = kt.apply(pe, Xe)), Ht;
|
|
61841
61841
|
};
|
|
61842
61842
|
};
|
|
61843
|
-
for (var
|
|
61844
|
-
Re(
|
|
61843
|
+
for (var Fe in H.renderer)
|
|
61844
|
+
Re(Fe);
|
|
61845
61845
|
P.renderer = pe;
|
|
61846
61846
|
}(), H.tokenizer && function() {
|
|
61847
61847
|
var pe = We.defaults.tokenizer || new Z(), Re = function(Ye) {
|
|
61848
|
-
var
|
|
61848
|
+
var kt = pe[Ye];
|
|
61849
61849
|
pe[Ye] = function() {
|
|
61850
61850
|
for (var ct = arguments.length, Xe = new Array(ct), hi = 0; hi < ct; hi++)
|
|
61851
61851
|
Xe[hi] = arguments[hi];
|
|
61852
61852
|
var Ht = H.tokenizer[Ye].apply(pe, Xe);
|
|
61853
|
-
return Ht === !1 && (Ht =
|
|
61853
|
+
return Ht === !1 && (Ht = kt.apply(pe, Xe)), Ht;
|
|
61854
61854
|
};
|
|
61855
61855
|
};
|
|
61856
|
-
for (var
|
|
61857
|
-
Re(
|
|
61856
|
+
for (var Fe in H.tokenizer)
|
|
61857
|
+
Re(Fe);
|
|
61858
61858
|
P.tokenizer = pe;
|
|
61859
61859
|
}(), H.walkTokens) {
|
|
61860
61860
|
var oe = We.defaults.walkTokens;
|
|
@@ -61871,11 +61871,11 @@ Please report this to https://github.com/markedjs/marked.`, q.silent)
|
|
|
61871
61871
|
switch (Q = Q.concat(q.call(We, oe)), oe.type) {
|
|
61872
61872
|
case "table": {
|
|
61873
61873
|
for (var pe = o(oe.header), Re; !(Re = pe()).done; ) {
|
|
61874
|
-
var
|
|
61875
|
-
Q = Q.concat(We.walkTokens(
|
|
61874
|
+
var Fe = Re.value;
|
|
61875
|
+
Q = Q.concat(We.walkTokens(Fe.tokens, q));
|
|
61876
61876
|
}
|
|
61877
61877
|
for (var Ze = o(oe.rows), Ye; !(Ye = Ze()).done; )
|
|
61878
|
-
for (var
|
|
61878
|
+
for (var kt = Ye.value, ct = o(kt), Xe; !(Xe = ct()).done; ) {
|
|
61879
61879
|
var hi = Xe.value;
|
|
61880
61880
|
Q = Q.concat(We.walkTokens(hi.tokens, q));
|
|
61881
61881
|
}
|
|
@@ -61909,8 +61909,8 @@ Please report this to https://github.com/markedjs/marked.`, q.silent)
|
|
|
61909
61909
|
throw P;
|
|
61910
61910
|
}
|
|
61911
61911
|
}, We.Parser = mt, We.parser = mt.parse, We.Renderer = ke, We.TextRenderer = Ee, We.Lexer = Te, We.lexer = Te.lex, We.Tokenizer = Z, We.Slugger = ot, We.parse = We;
|
|
61912
|
-
var
|
|
61913
|
-
e.Lexer = Te, e.Parser = mt, e.Renderer = ke, e.Slugger = ot, e.TextRenderer = Ee, e.Tokenizer = Z, e.getDefaults = a, e.lexer = Pi, e.marked = We, e.options =
|
|
61912
|
+
var Dt = We.options, Et = We.setOptions, dt = We.use, St = We.walkTokens, Kt = We.parseInline, ae = We, ri = mt.parse, Pi = Te.lex;
|
|
61913
|
+
e.Lexer = Te, e.Parser = mt, e.Renderer = ke, e.Slugger = ot, e.TextRenderer = Ee, e.Tokenizer = Z, e.getDefaults = a, e.lexer = Pi, e.marked = We, e.options = Dt, e.parse = ae, e.parseInline = Kt, e.parser = ri, e.setOptions = Et, e.use = dt, e.walkTokens = St, Object.defineProperty(e, "__esModule", { value: !0 });
|
|
61914
61914
|
});
|
|
61915
61915
|
})();
|
|
61916
61916
|
Mr.Lexer || exports.Lexer;
|
|
@@ -68975,7 +68975,7 @@ class Oxe {
|
|
|
68975
68975
|
}
|
|
68976
68976
|
}
|
|
68977
68977
|
$t(
|
|
68978
|
-
|
|
68978
|
+
Oe,
|
|
68979
68979
|
Oxe,
|
|
68980
68980
|
1
|
|
68981
68981
|
/* InstantiationType.Delayed */
|
|
@@ -73017,10 +73017,10 @@ let gP = class {
|
|
|
73017
73017
|
if (yield a.openExternal(r, {
|
|
73018
73018
|
sourceUri: i,
|
|
73019
73019
|
preferredOpenerId: o
|
|
73020
|
-
},
|
|
73020
|
+
}, Nt.None))
|
|
73021
73021
|
return !0;
|
|
73022
73022
|
}
|
|
73023
|
-
return this._defaultExternalOpener.openExternal(r, { sourceUri: i },
|
|
73023
|
+
return this._defaultExternalOpener.openExternal(r, { sourceUri: i }, Nt.None);
|
|
73024
73024
|
});
|
|
73025
73025
|
}
|
|
73026
73026
|
dispose() {
|
|
@@ -79218,7 +79218,7 @@ class cE extends X {
|
|
|
79218
79218
|
linkOpenerDelegate: (E) => this.options.linkOpenerDelegate(E)
|
|
79219
79219
|
}, this.updateStyles(), this.ui;
|
|
79220
79220
|
}
|
|
79221
|
-
pick(e, t = {}, i =
|
|
79221
|
+
pick(e, t = {}, i = Nt.None) {
|
|
79222
79222
|
return new Promise((n, r) => {
|
|
79223
79223
|
let o = (c) => {
|
|
79224
79224
|
var u;
|
|
@@ -79411,7 +79411,7 @@ let kP = class extends Pve {
|
|
|
79411
79411
|
e.get() && e.reset();
|
|
79412
79412
|
});
|
|
79413
79413
|
}
|
|
79414
|
-
pick(e, t = {}, i =
|
|
79414
|
+
pick(e, t = {}, i = Nt.None) {
|
|
79415
79415
|
return this.controller.pick(e, t, i);
|
|
79416
79416
|
}
|
|
79417
79417
|
createQuickPick() {
|
|
@@ -79529,7 +79529,7 @@ let EP = class {
|
|
|
79529
79529
|
constructor(e, t) {
|
|
79530
79530
|
this.instantiationService = e, this.codeEditorService = t, this.mapEditorToService = /* @__PURE__ */ new Map();
|
|
79531
79531
|
}
|
|
79532
|
-
pick(e, t = {}, i =
|
|
79532
|
+
pick(e, t = {}, i = Nt.None) {
|
|
79533
79533
|
return this.activeService.pick(e, t, i);
|
|
79534
79534
|
}
|
|
79535
79535
|
createQuickPick() {
|
|
@@ -83878,16 +83878,16 @@ let GP = class extends X {
|
|
|
83878
83878
|
0
|
|
83879
83879
|
/* InlineDecorationType.Regular */
|
|
83880
83880
|
));
|
|
83881
|
-
const
|
|
83882
|
-
if (
|
|
83883
|
-
for (let St = 0; St <
|
|
83881
|
+
const Dt = MNe(mt, Te, We, ot), Et = document.createElement("div");
|
|
83882
|
+
if (Et.className = "inline-deleted-margin-view-zone", es(Et, Te.fontInfo), this._options.renderIndicators.read(y))
|
|
83883
|
+
for (let St = 0; St < Dt.heightInLines; St++) {
|
|
83884
83884
|
const Kt = document.createElement("div");
|
|
83885
|
-
Kt.className = `delete-sign ${Ue.asClassName(XY)}`, Kt.setAttribute("style", `position:absolute;top:${St * W}px;width:${Te.lineDecorationsWidth}px;height:${W}px;right:0;`),
|
|
83885
|
+
Kt.className = `delete-sign ${Ue.asClassName(XY)}`, Kt.setAttribute("style", `position:absolute;top:${St * W}px;width:${Te.lineDecorationsWidth}px;height:${W}px;right:0;`), Et.appendChild(Kt);
|
|
83886
83886
|
}
|
|
83887
83887
|
let dt;
|
|
83888
|
-
v.add(new ANe(() => Mg(dt),
|
|
83889
|
-
for (let St = 0; St <
|
|
83890
|
-
const Kt =
|
|
83888
|
+
v.add(new ANe(() => Mg(dt), Et, this._editors.modified, ke.diff, this._diffEditorWidget, Dt.viewLineCounts, this._editors.original.getModel(), this._contextMenuService, this._clipboardService));
|
|
83889
|
+
for (let St = 0; St < Dt.viewLineCounts.length; St++) {
|
|
83890
|
+
const Kt = Dt.viewLineCounts[St];
|
|
83891
83891
|
Kt > 1 && z.push({
|
|
83892
83892
|
afterLineNumber: ke.originalRange.startLineNumber + St,
|
|
83893
83893
|
domNode: b(),
|
|
@@ -83898,9 +83898,9 @@ let GP = class extends X {
|
|
|
83898
83898
|
$.push({
|
|
83899
83899
|
afterLineNumber: ke.modifiedRange.startLineNumber - 1,
|
|
83900
83900
|
domNode: ot,
|
|
83901
|
-
heightInPx:
|
|
83902
|
-
minWidthInPx:
|
|
83903
|
-
marginDomNode:
|
|
83901
|
+
heightInPx: Dt.heightInLines * W,
|
|
83902
|
+
minWidthInPx: Dt.minWidthInPx,
|
|
83903
|
+
marginDomNode: Et,
|
|
83904
83904
|
setZoneId(St) {
|
|
83905
83905
|
dt = St;
|
|
83906
83906
|
},
|
|
@@ -84869,7 +84869,7 @@ q1 = _E([
|
|
|
84869
84869
|
ai(8, _n),
|
|
84870
84870
|
ai(9, Hf),
|
|
84871
84871
|
ai(10, xi),
|
|
84872
|
-
ai(11,
|
|
84872
|
+
ai(11, Oe)
|
|
84873
84873
|
], q1);
|
|
84874
84874
|
let YP = class extends q1 {
|
|
84875
84875
|
constructor(e, t, i, n, r, o, a, l, d, c, u, h, f, p, m) {
|
|
@@ -84916,7 +84916,7 @@ YP = _E([
|
|
|
84916
84916
|
ai(11, $i),
|
|
84917
84917
|
ai(12, Mi),
|
|
84918
84918
|
ai(13, xi),
|
|
84919
|
-
ai(14,
|
|
84919
|
+
ai(14, Oe)
|
|
84920
84920
|
], YP);
|
|
84921
84921
|
let XP = class extends vf {
|
|
84922
84922
|
constructor(e, t, i, n, r, o, a, l, d, c, u) {
|
|
@@ -85729,16 +85729,16 @@ function UEe(s, e) {
|
|
|
85729
85729
|
return nX(e) ? tB(s, { create: () => e }) : qi.register(s, t(e));
|
|
85730
85730
|
}
|
|
85731
85731
|
function jEe(s, e) {
|
|
85732
|
-
return it.get(
|
|
85732
|
+
return it.get(Oe).referenceProvider.register(s, e);
|
|
85733
85733
|
}
|
|
85734
85734
|
function KEe(s, e) {
|
|
85735
|
-
return it.get(
|
|
85735
|
+
return it.get(Oe).renameProvider.register(s, e);
|
|
85736
85736
|
}
|
|
85737
85737
|
function GEe(s, e) {
|
|
85738
|
-
return it.get(
|
|
85738
|
+
return it.get(Oe).signatureHelpProvider.register(s, e);
|
|
85739
85739
|
}
|
|
85740
85740
|
function qEe(s, e) {
|
|
85741
|
-
return it.get(
|
|
85741
|
+
return it.get(Oe).hoverProvider.register(s, {
|
|
85742
85742
|
provideHover: (i, n, r) => {
|
|
85743
85743
|
const o = i.getWordAtPosition(n);
|
|
85744
85744
|
return Promise.resolve(e.provideHover(i, n, r)).then((a) => {
|
|
@@ -85749,28 +85749,28 @@ function qEe(s, e) {
|
|
|
85749
85749
|
});
|
|
85750
85750
|
}
|
|
85751
85751
|
function ZEe(s, e) {
|
|
85752
|
-
return it.get(
|
|
85752
|
+
return it.get(Oe).documentSymbolProvider.register(s, e);
|
|
85753
85753
|
}
|
|
85754
85754
|
function YEe(s, e) {
|
|
85755
|
-
return it.get(
|
|
85755
|
+
return it.get(Oe).documentHighlightProvider.register(s, e);
|
|
85756
85756
|
}
|
|
85757
85757
|
function XEe(s, e) {
|
|
85758
|
-
return it.get(
|
|
85758
|
+
return it.get(Oe).linkedEditingRangeProvider.register(s, e);
|
|
85759
85759
|
}
|
|
85760
85760
|
function QEe(s, e) {
|
|
85761
|
-
return it.get(
|
|
85761
|
+
return it.get(Oe).definitionProvider.register(s, e);
|
|
85762
85762
|
}
|
|
85763
85763
|
function JEe(s, e) {
|
|
85764
|
-
return it.get(
|
|
85764
|
+
return it.get(Oe).implementationProvider.register(s, e);
|
|
85765
85765
|
}
|
|
85766
85766
|
function eIe(s, e) {
|
|
85767
|
-
return it.get(
|
|
85767
|
+
return it.get(Oe).typeDefinitionProvider.register(s, e);
|
|
85768
85768
|
}
|
|
85769
85769
|
function tIe(s, e) {
|
|
85770
|
-
return it.get(
|
|
85770
|
+
return it.get(Oe).codeLensProvider.register(s, e);
|
|
85771
85771
|
}
|
|
85772
85772
|
function iIe(s, e, t) {
|
|
85773
|
-
return it.get(
|
|
85773
|
+
return it.get(Oe).codeActionProvider.register(s, {
|
|
85774
85774
|
providedCodeActionKinds: t == null ? void 0 : t.providedCodeActionKinds,
|
|
85775
85775
|
documentation: t == null ? void 0 : t.documentation,
|
|
85776
85776
|
provideCodeActions: (n, r, o, a) => {
|
|
@@ -85781,43 +85781,43 @@ function iIe(s, e, t) {
|
|
|
85781
85781
|
});
|
|
85782
85782
|
}
|
|
85783
85783
|
function nIe(s, e) {
|
|
85784
|
-
return it.get(
|
|
85784
|
+
return it.get(Oe).documentFormattingEditProvider.register(s, e);
|
|
85785
85785
|
}
|
|
85786
85786
|
function sIe(s, e) {
|
|
85787
|
-
return it.get(
|
|
85787
|
+
return it.get(Oe).documentRangeFormattingEditProvider.register(s, e);
|
|
85788
85788
|
}
|
|
85789
85789
|
function rIe(s, e) {
|
|
85790
|
-
return it.get(
|
|
85790
|
+
return it.get(Oe).onTypeFormattingEditProvider.register(s, e);
|
|
85791
85791
|
}
|
|
85792
85792
|
function oIe(s, e) {
|
|
85793
|
-
return it.get(
|
|
85793
|
+
return it.get(Oe).linkProvider.register(s, e);
|
|
85794
85794
|
}
|
|
85795
85795
|
function aIe(s, e) {
|
|
85796
|
-
return it.get(
|
|
85796
|
+
return it.get(Oe).completionProvider.register(s, e);
|
|
85797
85797
|
}
|
|
85798
85798
|
function lIe(s, e) {
|
|
85799
|
-
return it.get(
|
|
85799
|
+
return it.get(Oe).colorProvider.register(s, e);
|
|
85800
85800
|
}
|
|
85801
85801
|
function dIe(s, e) {
|
|
85802
|
-
return it.get(
|
|
85802
|
+
return it.get(Oe).foldingRangeProvider.register(s, e);
|
|
85803
85803
|
}
|
|
85804
85804
|
function cIe(s, e) {
|
|
85805
|
-
return it.get(
|
|
85805
|
+
return it.get(Oe).declarationProvider.register(s, e);
|
|
85806
85806
|
}
|
|
85807
85807
|
function uIe(s, e) {
|
|
85808
|
-
return it.get(
|
|
85808
|
+
return it.get(Oe).selectionRangeProvider.register(s, e);
|
|
85809
85809
|
}
|
|
85810
85810
|
function hIe(s, e) {
|
|
85811
|
-
return it.get(
|
|
85811
|
+
return it.get(Oe).documentSemanticTokensProvider.register(s, e);
|
|
85812
85812
|
}
|
|
85813
85813
|
function fIe(s, e) {
|
|
85814
|
-
return it.get(
|
|
85814
|
+
return it.get(Oe).documentRangeSemanticTokensProvider.register(s, e);
|
|
85815
85815
|
}
|
|
85816
85816
|
function gIe(s, e) {
|
|
85817
|
-
return it.get(
|
|
85817
|
+
return it.get(Oe).inlineCompletionsProvider.register(s, e);
|
|
85818
85818
|
}
|
|
85819
85819
|
function pIe(s, e) {
|
|
85820
|
-
return it.get(
|
|
85820
|
+
return it.get(Oe).inlayHintsProvider.register(s, e);
|
|
85821
85821
|
}
|
|
85822
85822
|
function mIe() {
|
|
85823
85823
|
return {
|
|
@@ -86097,7 +86097,7 @@ class Op {
|
|
|
86097
86097
|
Op._selectors = new Lr();
|
|
86098
86098
|
function cX(s, e, t, i, n, r) {
|
|
86099
86099
|
return ld(this, void 0, void 0, function* () {
|
|
86100
|
-
const o = s.get(at), { documentRangeFormattingEditProvider: a } = s.get(
|
|
86100
|
+
const o = s.get(at), { documentRangeFormattingEditProvider: a } = s.get(Oe), l = vc(e) ? e.getModel() : e, d = a.ordered(l), c = yield Op.select(d, l, i);
|
|
86101
86101
|
c && (n.report(c), yield o.invokeFunction(CIe, c, e, t, r));
|
|
86102
86102
|
});
|
|
86103
86103
|
}
|
|
@@ -86184,7 +86184,7 @@ function CIe(s, e, t, i, n) {
|
|
|
86184
86184
|
}
|
|
86185
86185
|
function wIe(s, e, t, i, n) {
|
|
86186
86186
|
return ld(this, void 0, void 0, function* () {
|
|
86187
|
-
const r = s.get(at), o = s.get(
|
|
86187
|
+
const r = s.get(at), o = s.get(Oe), a = vc(e) ? e.getModel() : e, l = dX(o.documentFormattingEditProvider, o.documentRangeFormattingEditProvider, a), d = yield Op.select(l, a, t);
|
|
86188
86188
|
d && (i.report(d), yield r.invokeFunction(yIe, d, e, t, n));
|
|
86189
86189
|
});
|
|
86190
86190
|
}
|
|
@@ -86258,9 +86258,9 @@ jt.registerCommand("_executeFormatRangeProvider", function(s, ...e) {
|
|
|
86258
86258
|
return ld(this, void 0, void 0, function* () {
|
|
86259
86259
|
const [t, i, n] = e;
|
|
86260
86260
|
di(Je.isUri(t)), di(R.isIRange(i));
|
|
86261
|
-
const r = s.get(io), o = s.get(Ll), a = s.get(
|
|
86261
|
+
const r = s.get(io), o = s.get(Ll), a = s.get(Oe), l = yield r.createModelReference(t);
|
|
86262
86262
|
try {
|
|
86263
|
-
return SIe(o, a, l.object.textEditorModel, R.lift(i), n,
|
|
86263
|
+
return SIe(o, a, l.object.textEditorModel, R.lift(i), n, Nt.None);
|
|
86264
86264
|
} finally {
|
|
86265
86265
|
l.dispose();
|
|
86266
86266
|
}
|
|
@@ -86270,9 +86270,9 @@ jt.registerCommand("_executeFormatDocumentProvider", function(s, ...e) {
|
|
|
86270
86270
|
return ld(this, void 0, void 0, function* () {
|
|
86271
86271
|
const [t, i] = e;
|
|
86272
86272
|
di(Je.isUri(t));
|
|
86273
|
-
const n = s.get(io), r = s.get(Ll), o = s.get(
|
|
86273
|
+
const n = s.get(io), r = s.get(Ll), o = s.get(Oe), a = yield n.createModelReference(t);
|
|
86274
86274
|
try {
|
|
86275
|
-
return xIe(r, o, a.object.textEditorModel, i,
|
|
86275
|
+
return xIe(r, o, a.object.textEditorModel, i, Nt.None);
|
|
86276
86276
|
} finally {
|
|
86277
86277
|
a.dispose();
|
|
86278
86278
|
}
|
|
@@ -86282,9 +86282,9 @@ jt.registerCommand("_executeFormatOnTypeProvider", function(s, ...e) {
|
|
|
86282
86282
|
return ld(this, void 0, void 0, function* () {
|
|
86283
86283
|
const [t, i, n, r] = e;
|
|
86284
86284
|
di(Je.isUri(t)), di(G.isIPosition(i)), di(typeof n == "string");
|
|
86285
|
-
const o = s.get(io), a = s.get(Ll), l = s.get(
|
|
86285
|
+
const o = s.get(io), a = s.get(Ll), l = s.get(Oe), d = yield o.createModelReference(t);
|
|
86286
86286
|
try {
|
|
86287
|
-
return uX(a, l, d.object.textEditorModel, G.lift(i), n, r,
|
|
86287
|
+
return uX(a, l, d.object.textEditorModel, G.lift(i), n, r, Nt.None);
|
|
86288
86288
|
} finally {
|
|
86289
86289
|
d.dispose();
|
|
86290
86290
|
}
|
|
@@ -86623,37 +86623,37 @@ Ke({
|
|
|
86623
86623
|
id: "freemarker2",
|
|
86624
86624
|
extensions: [".ftl", ".ftlh", ".ftlx"],
|
|
86625
86625
|
aliases: ["FreeMarker2", "Apache FreeMarker2"],
|
|
86626
|
-
loader: () => import("./freemarker2-
|
|
86626
|
+
loader: () => import("./freemarker2-BJEgfhRq.js").then((s) => s.TagAutoInterpolationDollar)
|
|
86627
86627
|
});
|
|
86628
86628
|
Ke({
|
|
86629
86629
|
id: "freemarker2.tag-angle.interpolation-dollar",
|
|
86630
86630
|
aliases: ["FreeMarker2 (Angle/Dollar)", "Apache FreeMarker2 (Angle/Dollar)"],
|
|
86631
|
-
loader: () => import("./freemarker2-
|
|
86631
|
+
loader: () => import("./freemarker2-BJEgfhRq.js").then((s) => s.TagAngleInterpolationDollar)
|
|
86632
86632
|
});
|
|
86633
86633
|
Ke({
|
|
86634
86634
|
id: "freemarker2.tag-bracket.interpolation-dollar",
|
|
86635
86635
|
aliases: ["FreeMarker2 (Bracket/Dollar)", "Apache FreeMarker2 (Bracket/Dollar)"],
|
|
86636
|
-
loader: () => import("./freemarker2-
|
|
86636
|
+
loader: () => import("./freemarker2-BJEgfhRq.js").then((s) => s.TagBracketInterpolationDollar)
|
|
86637
86637
|
});
|
|
86638
86638
|
Ke({
|
|
86639
86639
|
id: "freemarker2.tag-angle.interpolation-bracket",
|
|
86640
86640
|
aliases: ["FreeMarker2 (Angle/Bracket)", "Apache FreeMarker2 (Angle/Bracket)"],
|
|
86641
|
-
loader: () => import("./freemarker2-
|
|
86641
|
+
loader: () => import("./freemarker2-BJEgfhRq.js").then((s) => s.TagAngleInterpolationBracket)
|
|
86642
86642
|
});
|
|
86643
86643
|
Ke({
|
|
86644
86644
|
id: "freemarker2.tag-bracket.interpolation-bracket",
|
|
86645
86645
|
aliases: ["FreeMarker2 (Bracket/Bracket)", "Apache FreeMarker2 (Bracket/Bracket)"],
|
|
86646
|
-
loader: () => import("./freemarker2-
|
|
86646
|
+
loader: () => import("./freemarker2-BJEgfhRq.js").then((s) => s.TagBracketInterpolationBracket)
|
|
86647
86647
|
});
|
|
86648
86648
|
Ke({
|
|
86649
86649
|
id: "freemarker2.tag-auto.interpolation-dollar",
|
|
86650
86650
|
aliases: ["FreeMarker2 (Auto/Dollar)", "Apache FreeMarker2 (Auto/Dollar)"],
|
|
86651
|
-
loader: () => import("./freemarker2-
|
|
86651
|
+
loader: () => import("./freemarker2-BJEgfhRq.js").then((s) => s.TagAutoInterpolationDollar)
|
|
86652
86652
|
});
|
|
86653
86653
|
Ke({
|
|
86654
86654
|
id: "freemarker2.tag-auto.interpolation-bracket",
|
|
86655
86655
|
aliases: ["FreeMarker2 (Auto/Bracket)", "Apache FreeMarker2 (Auto/Bracket)"],
|
|
86656
|
-
loader: () => import("./freemarker2-
|
|
86656
|
+
loader: () => import("./freemarker2-BJEgfhRq.js").then((s) => s.TagAutoInterpolationBracket)
|
|
86657
86657
|
});
|
|
86658
86658
|
/*!-----------------------------------------------------------------------------
|
|
86659
86659
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -86691,7 +86691,7 @@ Ke({
|
|
|
86691
86691
|
extensions: [".handlebars", ".hbs"],
|
|
86692
86692
|
aliases: ["Handlebars", "handlebars", "hbs"],
|
|
86693
86693
|
mimetypes: ["text/x-handlebars-template"],
|
|
86694
|
-
loader: () => import("./handlebars-
|
|
86694
|
+
loader: () => import("./handlebars-IJi5Ow6A.js")
|
|
86695
86695
|
});
|
|
86696
86696
|
/*!-----------------------------------------------------------------------------
|
|
86697
86697
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -86716,7 +86716,7 @@ Ke({
|
|
|
86716
86716
|
extensions: [".html", ".htm", ".shtml", ".xhtml", ".mdoc", ".jsp", ".asp", ".aspx", ".jshtm"],
|
|
86717
86717
|
aliases: ["HTML", "htm", "html", "xhtml"],
|
|
86718
86718
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
86719
|
-
loader: () => import("./html-
|
|
86719
|
+
loader: () => import("./html-DWO06rMU.js")
|
|
86720
86720
|
});
|
|
86721
86721
|
/*!-----------------------------------------------------------------------------
|
|
86722
86722
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -86757,7 +86757,7 @@ Ke({
|
|
|
86757
86757
|
filenames: ["jakefile"],
|
|
86758
86758
|
aliases: ["JavaScript", "javascript", "js"],
|
|
86759
86759
|
mimetypes: ["text/javascript"],
|
|
86760
|
-
loader: () => import("./javascript-
|
|
86760
|
+
loader: () => import("./javascript-BrvA4LrF.js")
|
|
86761
86761
|
});
|
|
86762
86762
|
/*!-----------------------------------------------------------------------------
|
|
86763
86763
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -86832,7 +86832,7 @@ Ke({
|
|
|
86832
86832
|
extensions: [".liquid", ".html.liquid"],
|
|
86833
86833
|
aliases: ["Liquid", "liquid"],
|
|
86834
86834
|
mimetypes: ["application/liquid"],
|
|
86835
|
-
loader: () => import("./liquid-
|
|
86835
|
+
loader: () => import("./liquid-B4COLVik.js")
|
|
86836
86836
|
});
|
|
86837
86837
|
/*!-----------------------------------------------------------------------------
|
|
86838
86838
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -87051,7 +87051,7 @@ Ke({
|
|
|
87051
87051
|
extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
|
|
87052
87052
|
aliases: ["Python", "py"],
|
|
87053
87053
|
firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
|
|
87054
|
-
loader: () => import("./python-
|
|
87054
|
+
loader: () => import("./python-ByQe9QQt.js")
|
|
87055
87055
|
});
|
|
87056
87056
|
/*!-----------------------------------------------------------------------------
|
|
87057
87057
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -87088,7 +87088,7 @@ Ke({
|
|
|
87088
87088
|
extensions: [".cshtml"],
|
|
87089
87089
|
aliases: ["Razor", "razor"],
|
|
87090
87090
|
mimetypes: ["text/x-cshtml"],
|
|
87091
|
-
loader: () => import("./razor-
|
|
87091
|
+
loader: () => import("./razor-DJo9_zuu.js")
|
|
87092
87092
|
});
|
|
87093
87093
|
/*!-----------------------------------------------------------------------------
|
|
87094
87094
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -87340,7 +87340,7 @@ Ke({
|
|
|
87340
87340
|
extensions: [".ts", ".tsx", ".cts", ".mts"],
|
|
87341
87341
|
aliases: ["TypeScript", "ts", "typescript"],
|
|
87342
87342
|
mimetypes: ["text/typescript"],
|
|
87343
|
-
loader: () => import("./typescript-
|
|
87343
|
+
loader: () => import("./typescript-78IKiMGG.js")
|
|
87344
87344
|
});
|
|
87345
87345
|
/*!-----------------------------------------------------------------------------
|
|
87346
87346
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -87396,7 +87396,7 @@ Ke({
|
|
|
87396
87396
|
firstLine: "(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",
|
|
87397
87397
|
aliases: ["XML", "xml"],
|
|
87398
87398
|
mimetypes: ["text/xml", "application/xml", "application/xaml+xml", "application/xml-dtd"],
|
|
87399
|
-
loader: () => import("./xml-
|
|
87399
|
+
loader: () => import("./xml-Dm0XFRz3.js")
|
|
87400
87400
|
});
|
|
87401
87401
|
/*!-----------------------------------------------------------------------------
|
|
87402
87402
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -87409,7 +87409,7 @@ Ke({
|
|
|
87409
87409
|
extensions: [".yaml", ".yml"],
|
|
87410
87410
|
aliases: ["YAML", "yaml", "YML", "yml"],
|
|
87411
87411
|
mimetypes: ["application/x-yaml", "text/x-yaml"],
|
|
87412
|
-
loader: () => import("./yaml-
|
|
87412
|
+
loader: () => import("./yaml-B4zC3Y0U.js")
|
|
87413
87413
|
});
|
|
87414
87414
|
/*!-----------------------------------------------------------------------------
|
|
87415
87415
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -87504,7 +87504,7 @@ var oB = class {
|
|
|
87504
87504
|
}, wX = new oB("css", aB, lB), yX = new oB("scss", aB, lB), SX = new oB("less", aB, lB);
|
|
87505
87505
|
Rv.languages.css = { cssDefaults: wX, lessDefaults: SX, scssDefaults: yX };
|
|
87506
87506
|
function dB() {
|
|
87507
|
-
return import("./cssMode-
|
|
87507
|
+
return import("./cssMode-ceWRpoLG.js");
|
|
87508
87508
|
}
|
|
87509
87509
|
Rv.languages.onLanguage("less", () => {
|
|
87510
87510
|
dB().then((s) => s.setupMode(SX));
|
|
@@ -87599,7 +87599,7 @@ vE.languages.html = {
|
|
|
87599
87599
|
registerHTMLLanguageService: yE
|
|
87600
87600
|
};
|
|
87601
87601
|
function qIe() {
|
|
87602
|
-
return import("./htmlMode-
|
|
87602
|
+
return import("./htmlMode-Xh7rXinO.js");
|
|
87603
87603
|
}
|
|
87604
87604
|
function yE(s, e = CE, t = wE(s)) {
|
|
87605
87605
|
const i = new $Ie(s, e, t);
|
|
@@ -87676,7 +87676,7 @@ var tTe = class {
|
|
|
87676
87676
|
}, kX = new tTe("json", iTe, nTe);
|
|
87677
87677
|
uy.languages.json = { jsonDefaults: kX };
|
|
87678
87678
|
function sTe() {
|
|
87679
|
-
return import("./jsonMode-
|
|
87679
|
+
return import("./jsonMode-B-aqEurM.js");
|
|
87680
87680
|
}
|
|
87681
87681
|
uy.languages.register({
|
|
87682
87682
|
id: "json",
|
|
@@ -87839,7 +87839,7 @@ Kb.languages.typescript = {
|
|
|
87839
87839
|
getJavaScriptWorker: gTe
|
|
87840
87840
|
};
|
|
87841
87841
|
function SE() {
|
|
87842
|
-
return import("./tsMode-
|
|
87842
|
+
return import("./tsMode-Cnpqcj8t.js");
|
|
87843
87843
|
}
|
|
87844
87844
|
Kb.languages.onLanguage("typescript", () => SE().then((s) => s.setupTypeScript(PX)));
|
|
87845
87845
|
Kb.languages.onLanguage("javascript", () => SE().then((s) => s.setupJavaScript(OX)));
|
|
@@ -88817,7 +88817,7 @@ var ZD;
|
|
|
88817
88817
|
(function(s) {
|
|
88818
88818
|
s.OnSave = "onSave", s.FromProblemsView = "fromProblemsView", s.FromCodeActions = "fromCodeActions";
|
|
88819
88819
|
})(ZD || (ZD = {}));
|
|
88820
|
-
function $Te(s, e, t, i, n =
|
|
88820
|
+
function $Te(s, e, t, i, n = Nt.None) {
|
|
88821
88821
|
var r;
|
|
88822
88822
|
return qD(this, void 0, void 0, function* () {
|
|
88823
88823
|
const o = s.get(ny), a = s.get(an), l = s.get(na), d = s.get(_n);
|
|
@@ -88849,15 +88849,15 @@ jt.registerCommand("_executeCodeActionProvider", function(s, e, t, i, n) {
|
|
|
88849
88849
|
return qD(this, void 0, void 0, function* () {
|
|
88850
88850
|
if (!(e instanceof Je))
|
|
88851
88851
|
throw La();
|
|
88852
|
-
const { codeActionProvider: r } = s.get(
|
|
88852
|
+
const { codeActionProvider: r } = s.get(Oe), o = s.get($i).getModel(e);
|
|
88853
88853
|
if (!o)
|
|
88854
88854
|
throw La();
|
|
88855
88855
|
const a = ze.isISelection(t) ? ze.liftSelection(t) : R.isIRange(t) ? o.validateRange(t) : void 0;
|
|
88856
88856
|
if (!a)
|
|
88857
88857
|
throw La();
|
|
88858
|
-
const l = typeof i == "string" ? new gt(i) : void 0, d = yield gB(r, o, a, { type: 1, triggerAction: Yo.Default, filter: { includeSourceActions: !0, include: l } }, gm.None,
|
|
88858
|
+
const l = typeof i == "string" ? new gt(i) : void 0, d = yield gB(r, o, a, { type: 1, triggerAction: Yo.Default, filter: { includeSourceActions: !0, include: l } }, gm.None, Nt.None), c = [], u = Math.min(d.validActions.length, typeof n == "number" ? n : 0);
|
|
88859
88859
|
for (let h = 0; h < u; h++)
|
|
88860
|
-
c.push(d.validActions[h].resolve(
|
|
88860
|
+
c.push(d.validActions[h].resolve(Nt.None));
|
|
88861
88861
|
try {
|
|
88862
88862
|
return yield Promise.all(c), d.validActions.map((h) => h.action);
|
|
88863
88863
|
} finally {
|
|
@@ -90188,7 +90188,7 @@ Hp = l2e([
|
|
|
90188
90188
|
Vc(1, Rc),
|
|
90189
90189
|
Vc(2, tt),
|
|
90190
90190
|
Vc(3, at),
|
|
90191
|
-
Vc(4,
|
|
90191
|
+
Vc(4, Oe),
|
|
90192
90192
|
Vc(5, Xu),
|
|
90193
90193
|
Vc(6, an),
|
|
90194
90194
|
Vc(7, zt),
|
|
@@ -90493,15 +90493,15 @@ function sQ(s, e, t) {
|
|
|
90493
90493
|
jt.registerCommand("_executeCodeLensProvider", function(s, ...e) {
|
|
90494
90494
|
let [t, i] = e;
|
|
90495
90495
|
di(Je.isUri(t)), di(typeof i == "number" || !i);
|
|
90496
|
-
const { codeLensProvider: n } = s.get(
|
|
90496
|
+
const { codeLensProvider: n } = s.get(Oe), r = s.get($i).getModel(t);
|
|
90497
90497
|
if (!r)
|
|
90498
90498
|
throw La();
|
|
90499
90499
|
const o = [], a = new he();
|
|
90500
|
-
return sQ(n, r,
|
|
90500
|
+
return sQ(n, r, Nt.None).then((l) => {
|
|
90501
90501
|
a.add(l);
|
|
90502
90502
|
const d = [];
|
|
90503
90503
|
for (const c of l.lenses)
|
|
90504
|
-
i == null || c.symbol.command ? o.push(c.symbol) : i-- > 0 && c.provider.resolveCodeLens && d.push(Promise.resolve(c.provider.resolveCodeLens(r, c.symbol,
|
|
90504
|
+
i == null || c.symbol.command ? o.push(c.symbol) : i-- > 0 && c.provider.resolveCodeLens && d.push(Promise.resolve(c.provider.resolveCodeLens(r, c.symbol, Nt.None)).then((u) => o.push(u || c.symbol)));
|
|
90505
90505
|
return Promise.all(d);
|
|
90506
90506
|
}).then(() => o).finally(() => {
|
|
90507
90507
|
setTimeout(() => a.dispose(), 100);
|
|
@@ -90992,7 +90992,7 @@ let Gb = class {
|
|
|
90992
90992
|
};
|
|
90993
90993
|
Gb.ID = "css.editor.codeLens";
|
|
90994
90994
|
Gb = w2e([
|
|
90995
|
-
cC(1,
|
|
90995
|
+
cC(1, Oe),
|
|
90996
90996
|
cC(2, Oa),
|
|
90997
90997
|
cC(3, an),
|
|
90998
90998
|
cC(4, _n),
|
|
@@ -91102,7 +91102,7 @@ let lO = class extends X {
|
|
|
91102
91102
|
lO = S2e([
|
|
91103
91103
|
D2(0, $i),
|
|
91104
91104
|
D2(1, xi),
|
|
91105
|
-
D2(2,
|
|
91105
|
+
D2(2, Oe)
|
|
91106
91106
|
], lO);
|
|
91107
91107
|
fE(lO);
|
|
91108
91108
|
var gy = function(s, e, t, i) {
|
|
@@ -91172,7 +91172,7 @@ class k2e {
|
|
|
91172
91172
|
}
|
|
91173
91173
|
compute(e, t, i, n) {
|
|
91174
91174
|
return gy(this, void 0, void 0, function* () {
|
|
91175
|
-
const r = yield e.provideColorPresentations(t, this.colorInfo,
|
|
91175
|
+
const r = yield e.provideColorPresentations(t, this.colorInfo, Nt.None);
|
|
91176
91176
|
return Array.isArray(r) && n.push(...r), Array.isArray(r);
|
|
91177
91177
|
});
|
|
91178
91178
|
}
|
|
@@ -91196,7 +91196,7 @@ function _B(s, e, t, i, n) {
|
|
|
91196
91196
|
});
|
|
91197
91197
|
}
|
|
91198
91198
|
function lQ(s, e) {
|
|
91199
|
-
const { colorProvider: t } = s.get(
|
|
91199
|
+
const { colorProvider: t } = s.get(Oe), i = s.get($i).getModel(e);
|
|
91200
91200
|
if (!i)
|
|
91201
91201
|
throw La();
|
|
91202
91202
|
const n = s.get(zt).getValue("editor.defaultColorDecorators", { resource: e });
|
|
@@ -91207,14 +91207,14 @@ jt.registerCommand("_executeDocumentColorProvider", function(s, ...e) {
|
|
|
91207
91207
|
if (!(t instanceof Je))
|
|
91208
91208
|
throw La();
|
|
91209
91209
|
const { model: i, colorProviderRegistry: n, isDefaultColorDecoratorsEnabled: r } = lQ(s, t);
|
|
91210
|
-
return _B(new D2e(), n, i,
|
|
91210
|
+
return _B(new D2e(), n, i, Nt.None, r);
|
|
91211
91211
|
});
|
|
91212
91212
|
jt.registerCommand("_executeColorPresentationProvider", function(s, ...e) {
|
|
91213
91213
|
const [t, i] = e, { uri: n, range: r } = i;
|
|
91214
91214
|
if (!(n instanceof Je) || !Array.isArray(t) || t.length !== 4 || !R.isIRange(r))
|
|
91215
91215
|
throw La();
|
|
91216
91216
|
const { model: o, colorProviderRegistry: a, isDefaultColorDecoratorsEnabled: l } = lQ(s, n), [d, c, u, h] = t;
|
|
91217
|
-
return _B(new k2e({ range: r, color: { red: d, green: c, blue: u, alpha: h } }), a, o,
|
|
91217
|
+
return _B(new k2e({ range: r, color: { red: d, green: c, blue: u, alpha: h } }), a, o, Nt.None, l);
|
|
91218
91218
|
});
|
|
91219
91219
|
var N2e = function(s, e, t, i) {
|
|
91220
91220
|
var n = arguments.length, r = n < 3 ? e : i === null ? i = Object.getOwnPropertyDescriptor(e, t) : i, o;
|
|
@@ -91390,7 +91390,7 @@ yf.ID = "editor.contrib.colorDetector";
|
|
|
91390
91390
|
yf.RECOMPUTE_TIME = 1e3;
|
|
91391
91391
|
yf = N2e([
|
|
91392
91392
|
k2(1, zt),
|
|
91393
|
-
k2(2,
|
|
91393
|
+
k2(2, Oe),
|
|
91394
91394
|
k2(3, Oa)
|
|
91395
91395
|
], yf);
|
|
91396
91396
|
class E2e {
|
|
@@ -91714,7 +91714,7 @@ let Y1 = class {
|
|
|
91714
91714
|
return qb(this, void 0, void 0, function* () {
|
|
91715
91715
|
if (!this._editor.hasModel() || !yf.get(this._editor))
|
|
91716
91716
|
return null;
|
|
91717
|
-
const r = yield oQ(i, this._editor.getModel(),
|
|
91717
|
+
const r = yield oQ(i, this._editor.getModel(), Nt.None);
|
|
91718
91718
|
let o = null, a = null;
|
|
91719
91719
|
for (const u of r) {
|
|
91720
91720
|
const h = u.colorInfo;
|
|
@@ -91748,7 +91748,7 @@ Y1 = hQ([
|
|
|
91748
91748
|
], Y1);
|
|
91749
91749
|
function gQ(s, e, t, i) {
|
|
91750
91750
|
return qb(this, void 0, void 0, function* () {
|
|
91751
|
-
const n = e.getValueInRange(t.range), { red: r, green: o, blue: a, alpha: l } = t.color, d = new Vt(Math.round(r * 255), Math.round(o * 255), Math.round(a * 255), l), c = new ne(d), u = yield aQ(e, t, i,
|
|
91751
|
+
const n = e.getValueInRange(t.range), { red: r, green: o, blue: a, alpha: l } = t.color, d = new Vt(Math.round(r * 255), Math.round(o * 255), Math.round(a * 255), l), c = new ne(d), u = yield aQ(e, t, i, Nt.None), h = new I2e(c, [], 0);
|
|
91752
91752
|
return h.colorPresentations = u || [], h.guessColorPresentation(c, n), s instanceof XD ? new W2e(s, R.lift(t.range), h, i) : new V2e(s, R.lift(t.range), h, i);
|
|
91753
91753
|
});
|
|
91754
91754
|
}
|
|
@@ -91801,7 +91801,7 @@ function $x(s, e, t, i, n) {
|
|
|
91801
91801
|
blue: t.rgba.b / 255,
|
|
91802
91802
|
alpha: t.rgba.a
|
|
91803
91803
|
}
|
|
91804
|
-
}, n.provider,
|
|
91804
|
+
}, n.provider, Nt.None);
|
|
91805
91805
|
e.colorPresentations = r || [];
|
|
91806
91806
|
});
|
|
91807
91807
|
}
|
|
@@ -91907,7 +91907,7 @@ Sf = H2e([
|
|
|
91907
91907
|
Hc(9, _n),
|
|
91908
91908
|
Hc(10, Hf),
|
|
91909
91909
|
Hc(11, xi),
|
|
91910
|
-
Hc(12,
|
|
91910
|
+
Hc(12, Oe)
|
|
91911
91911
|
], Sf);
|
|
91912
91912
|
const pH = new ne(new Vt(0, 122, 204)), z2e = {
|
|
91913
91913
|
showArrow: !0,
|
|
@@ -93332,23 +93332,23 @@ function _y(s) {
|
|
|
93332
93332
|
});
|
|
93333
93333
|
}
|
|
93334
93334
|
Tc("_executeDefinitionProvider", (s, e, t) => {
|
|
93335
|
-
const i = s.get(
|
|
93335
|
+
const i = s.get(Oe), n = AE(i.definitionProvider, e, t, Nt.None);
|
|
93336
93336
|
return _y(() => n);
|
|
93337
93337
|
});
|
|
93338
93338
|
Tc("_executeTypeDefinitionProvider", (s, e, t) => {
|
|
93339
|
-
const i = s.get(
|
|
93339
|
+
const i = s.get(Oe), n = DQ(i.typeDefinitionProvider, e, t, Nt.None);
|
|
93340
93340
|
return _y(() => n);
|
|
93341
93341
|
});
|
|
93342
93342
|
Tc("_executeDeclarationProvider", (s, e, t) => {
|
|
93343
|
-
const i = s.get(
|
|
93343
|
+
const i = s.get(Oe), n = xQ(i.declarationProvider, e, t, Nt.None);
|
|
93344
93344
|
return _y(() => n);
|
|
93345
93345
|
});
|
|
93346
93346
|
Tc("_executeReferenceProvider", (s, e, t) => {
|
|
93347
|
-
const i = s.get(
|
|
93347
|
+
const i = s.get(Oe), n = ME(i.referenceProvider, e, t, !1, Nt.None);
|
|
93348
93348
|
return _y(() => n);
|
|
93349
93349
|
});
|
|
93350
93350
|
Tc("_executeImplementationProvider", (s, e, t) => {
|
|
93351
|
-
const i = s.get(
|
|
93351
|
+
const i = s.get(Oe), n = LQ(i.implementationProvider, e, t, Nt.None);
|
|
93352
93352
|
return _y(() => n);
|
|
93353
93353
|
});
|
|
93354
93354
|
var rl = function(s, e, t, i) {
|
|
@@ -93409,7 +93409,7 @@ class ar extends am {
|
|
|
93409
93409
|
runEditorCommand(e, t, i, n) {
|
|
93410
93410
|
if (!t.hasModel())
|
|
93411
93411
|
return Promise.resolve(void 0);
|
|
93412
|
-
const r = e.get(_n), o = e.get(Zt), a = e.get(Xu), l = e.get(RE), d = e.get(
|
|
93412
|
+
const r = e.get(_n), o = e.get(Zt), a = e.get(Xu), l = e.get(RE), d = e.get(Oe), c = e.get(at), u = t.getModel(), h = t.getPosition(), f = Zb.is(i) ? i : new Zb(u, h), p = new wf(
|
|
93413
93413
|
t,
|
|
93414
93414
|
5
|
|
93415
93415
|
/* CodeEditorStateFlag.Position */
|
|
@@ -94006,7 +94006,7 @@ jt.registerCommand({
|
|
|
94006
94006
|
id: "editor.action.findReferences",
|
|
94007
94007
|
handler: (s, e, t) => {
|
|
94008
94008
|
di(Je.isUri(e)), di(G.isIPosition(t));
|
|
94009
|
-
const i = s.get(
|
|
94009
|
+
const i = s.get(Oe), n = s.get(Zt);
|
|
94010
94010
|
return n.openCodeEditor({ resource: e }, n.getFocusedCodeEditor()).then((r) => {
|
|
94011
94011
|
if (!vc(r) || !r.hasModel())
|
|
94012
94012
|
return;
|
|
@@ -94214,7 +94214,7 @@ zp.MAX_SOURCE_PREVIEW_LINES = 8;
|
|
|
94214
94214
|
zp = dRe([
|
|
94215
94215
|
F2(1, io),
|
|
94216
94216
|
F2(2, Mi),
|
|
94217
|
-
F2(3,
|
|
94217
|
+
F2(3, Oe)
|
|
94218
94218
|
], zp);
|
|
94219
94219
|
Yt(
|
|
94220
94220
|
zp.ID,
|
|
@@ -95206,8 +95206,8 @@ function SRe(s, e, t, i) {
|
|
|
95206
95206
|
return SB(s, e, t, i).map((n) => n.hover).toPromise();
|
|
95207
95207
|
}
|
|
95208
95208
|
Tc("_executeHoverProvider", (s, e, t) => {
|
|
95209
|
-
const i = s.get(
|
|
95210
|
-
return SRe(i.hoverProvider, e, t,
|
|
95209
|
+
const i = s.get(Oe);
|
|
95210
|
+
return SRe(i.hoverProvider, e, t, Nt.None);
|
|
95211
95211
|
});
|
|
95212
95212
|
function xRe(s) {
|
|
95213
95213
|
const e = typeof s.range < "u", t = typeof s.contents < "u" && s.contents && s.contents.length > 0;
|
|
@@ -95287,7 +95287,7 @@ nk = LRe([
|
|
|
95287
95287
|
MS(1, Mi),
|
|
95288
95288
|
MS(2, So),
|
|
95289
95289
|
MS(3, zt),
|
|
95290
|
-
MS(4,
|
|
95290
|
+
MS(4, Oe)
|
|
95291
95291
|
], nk);
|
|
95292
95292
|
function WQ(s, e, t, i, n) {
|
|
95293
95293
|
e.sort((o, a) => o.ordinal - a.ordinal);
|
|
@@ -95988,7 +95988,7 @@ let DO = class {
|
|
|
95988
95988
|
DO = ORe([
|
|
95989
95989
|
V2(1, D5),
|
|
95990
95990
|
V2(2, So),
|
|
95991
|
-
V2(3,
|
|
95991
|
+
V2(3, Oe)
|
|
95992
95992
|
], DO);
|
|
95993
95993
|
const jQ = "editor.action.inlineSuggest.commit", KQ = "editor.action.inlineSuggest.showPrevious", GQ = "editor.action.inlineSuggest.showNext";
|
|
95994
95994
|
var BRe = function(s, e, t, i) {
|
|
@@ -96963,7 +96963,7 @@ Nf = ZQ([
|
|
|
96963
96963
|
Wl(2, $i),
|
|
96964
96964
|
Wl(3, Fi),
|
|
96965
96965
|
Wl(4, at),
|
|
96966
|
-
Wl(5,
|
|
96966
|
+
Wl(5, Oe),
|
|
96967
96967
|
Wl(6, xi)
|
|
96968
96968
|
], Nf);
|
|
96969
96969
|
Yt(
|
|
@@ -97085,7 +97085,7 @@ rk = ZQ([
|
|
|
97085
97085
|
Wl(3, at),
|
|
97086
97086
|
Wl(4, $i),
|
|
97087
97087
|
Wl(5, Fi),
|
|
97088
|
-
Wl(6,
|
|
97088
|
+
Wl(6, Oe),
|
|
97089
97089
|
Wl(7, xi)
|
|
97090
97090
|
], rk);
|
|
97091
97091
|
class nAe {
|
|
@@ -98811,7 +98811,7 @@ Up = NAe([
|
|
|
98811
98811
|
Fm(1, at),
|
|
98812
98812
|
Fm(2, ny),
|
|
98813
98813
|
Fm(3, ud),
|
|
98814
|
-
Fm(4,
|
|
98814
|
+
Fm(4, Oe),
|
|
98815
98815
|
Fm(5, hd),
|
|
98816
98816
|
Fm(6, BZ)
|
|
98817
98817
|
], Up);
|
|
@@ -98959,7 +98959,7 @@ let RO = class extends X {
|
|
|
98959
98959
|
}
|
|
98960
98960
|
};
|
|
98961
98961
|
RO = kB([
|
|
98962
|
-
i0(0,
|
|
98962
|
+
i0(0, Oe),
|
|
98963
98963
|
i0(1, Tp)
|
|
98964
98964
|
], RO);
|
|
98965
98965
|
let AO = class extends X {
|
|
@@ -98968,7 +98968,7 @@ let AO = class extends X {
|
|
|
98968
98968
|
}
|
|
98969
98969
|
};
|
|
98970
98970
|
AO = kB([
|
|
98971
|
-
i0(0,
|
|
98971
|
+
i0(0, Oe),
|
|
98972
98972
|
i0(1, Tp)
|
|
98973
98973
|
], AO);
|
|
98974
98974
|
Yt(
|
|
@@ -99154,7 +99154,7 @@ let Jb = class pJ extends X {
|
|
|
99154
99154
|
Jb.ID = "editor.contrib.dropIntoEditorController";
|
|
99155
99155
|
Jb = IAe([
|
|
99156
99156
|
U2(1, at),
|
|
99157
|
-
U2(2,
|
|
99157
|
+
U2(2, Oe),
|
|
99158
99158
|
U2(3, hJ)
|
|
99159
99159
|
], Jb);
|
|
99160
99160
|
Yt(
|
|
@@ -102996,7 +102996,7 @@ Hu = $Me([
|
|
|
102996
102996
|
fC(2, xi),
|
|
102997
102997
|
fC(3, _n),
|
|
102998
102998
|
fC(4, Oa),
|
|
102999
|
-
fC(5,
|
|
102999
|
+
fC(5, Oe)
|
|
103000
103000
|
], Hu);
|
|
103001
103001
|
class IJ {
|
|
103002
103002
|
constructor(e) {
|
|
@@ -103639,7 +103639,7 @@ jt.registerCommand("_executeFoldingRangeProvider", function(s, ...e) {
|
|
|
103639
103639
|
const [t] = e;
|
|
103640
103640
|
if (!(t instanceof Je))
|
|
103641
103641
|
throw La();
|
|
103642
|
-
const i = s.get(
|
|
103642
|
+
const i = s.get(Oe), n = s.get($i).getModel(t);
|
|
103643
103643
|
if (!n)
|
|
103644
103644
|
throw La();
|
|
103645
103645
|
const r = s.get(zt);
|
|
@@ -103658,7 +103658,7 @@ jt.registerCommand("_executeFoldingRangeProvider", function(s, ...e) {
|
|
|
103658
103658
|
f.length && (c = new WB(n, f, () => {
|
|
103659
103659
|
}, l, d));
|
|
103660
103660
|
}
|
|
103661
|
-
const u = yield c.compute(
|
|
103661
|
+
const u = yield c.compute(Nt.None), h = [];
|
|
103662
103662
|
try {
|
|
103663
103663
|
if (u)
|
|
103664
103664
|
for (let f = 0; f < u.length; f++) {
|
|
@@ -103801,7 +103801,7 @@ let n0 = class {
|
|
|
103801
103801
|
};
|
|
103802
103802
|
n0.ID = "editor.contrib.autoFormat";
|
|
103803
103803
|
n0 = RJ([
|
|
103804
|
-
uk(1,
|
|
103804
|
+
uk(1, Oe),
|
|
103805
103805
|
uk(2, Ll)
|
|
103806
103806
|
], n0);
|
|
103807
103807
|
let s0 = class {
|
|
@@ -103818,12 +103818,12 @@ let s0 = class {
|
|
|
103818
103818
|
) && this.editor.hasModel() && this._languageFeaturesService.documentRangeFormattingEditProvider.has(this.editor.getModel()) && this._callOnModel.add(this.editor.onDidPaste(({ range: e }) => this._trigger(e)));
|
|
103819
103819
|
}
|
|
103820
103820
|
_trigger(e) {
|
|
103821
|
-
this.editor.hasModel() && (this.editor.getSelections().length > 1 || this._instantiationService.invokeFunction(cX, this.editor, e, 2, gm.None,
|
|
103821
|
+
this.editor.hasModel() && (this.editor.getSelections().length > 1 || this._instantiationService.invokeFunction(cX, this.editor, e, 2, gm.None, Nt.None).catch(_t));
|
|
103822
103822
|
}
|
|
103823
103823
|
};
|
|
103824
103824
|
s0.ID = "editor.contrib.formatOnPaste";
|
|
103825
103825
|
s0 = RJ([
|
|
103826
|
-
uk(1,
|
|
103826
|
+
uk(1, Oe),
|
|
103827
103827
|
uk(2, at)
|
|
103828
103828
|
], s0);
|
|
103829
103829
|
class uPe extends Ae {
|
|
@@ -103853,7 +103853,7 @@ class uPe extends Ae {
|
|
|
103853
103853
|
return VB(this, void 0, void 0, function* () {
|
|
103854
103854
|
if (t.hasModel()) {
|
|
103855
103855
|
const i = e.get(at);
|
|
103856
|
-
yield e.get(Xu).showWhile(i.invokeFunction(wIe, t, 1, gm.None,
|
|
103856
|
+
yield e.get(Xu).showWhile(i.invokeFunction(wIe, t, 1, gm.None, Nt.None), 250);
|
|
103857
103857
|
}
|
|
103858
103858
|
});
|
|
103859
103859
|
}
|
|
@@ -103887,7 +103887,7 @@ class hPe extends Ae {
|
|
|
103887
103887
|
if (!t.hasModel())
|
|
103888
103888
|
return;
|
|
103889
103889
|
const i = e.get(at), n = t.getModel(), r = t.getSelections().map((a) => a.isEmpty() ? new R(a.startLineNumber, 1, a.startLineNumber, n.getLineMaxColumn(a.startLineNumber)) : a);
|
|
103890
|
-
yield e.get(Xu).showWhile(i.invokeFunction(cX, t, r, 1, gm.None,
|
|
103890
|
+
yield e.get(Xu).showWhile(i.invokeFunction(cX, t, r, 1, gm.None, Nt.None), 250);
|
|
103891
103891
|
});
|
|
103892
103892
|
}
|
|
103893
103893
|
}
|
|
@@ -104089,7 +104089,7 @@ let WO = class {
|
|
|
104089
104089
|
}
|
|
104090
104090
|
};
|
|
104091
104091
|
WO = fPe([
|
|
104092
|
-
G2(0,
|
|
104092
|
+
G2(0, Oe),
|
|
104093
104093
|
G2(1, Oa),
|
|
104094
104094
|
G2(2, $i)
|
|
104095
104095
|
], WO);
|
|
@@ -104132,7 +104132,7 @@ jt.registerCommand("_executeDocumentSymbolProvider", function(s, ...e) {
|
|
|
104132
104132
|
di(Je.isUri(t));
|
|
104133
104133
|
const i = s.get(zE), r = yield s.get(io).createModelReference(t);
|
|
104134
104134
|
try {
|
|
104135
|
-
return (yield i.getOrCreate(r.object.textEditorModel,
|
|
104135
|
+
return (yield i.getOrCreate(r.object.textEditorModel, Nt.None)).getTopLevelSymbols();
|
|
104136
104136
|
} finally {
|
|
104137
104137
|
r.dispose();
|
|
104138
104138
|
}
|
|
@@ -105229,7 +105229,7 @@ var JH = function(s, e, t, i) {
|
|
|
105229
105229
|
d((i = i.apply(s, e || [])).next());
|
|
105230
105230
|
});
|
|
105231
105231
|
};
|
|
105232
|
-
function TPe(s, e, t, i, n =
|
|
105232
|
+
function TPe(s, e, t, i, n = Nt.None, r) {
|
|
105233
105233
|
return JH(this, void 0, void 0, function* () {
|
|
105234
105234
|
const o = PPe(e, t), a = s.all(t), l = yield Promise.all(a.map((u) => JH(this, void 0, void 0, function* () {
|
|
105235
105235
|
try {
|
|
@@ -105404,7 +105404,7 @@ let jO = class extends X {
|
|
|
105404
105404
|
}
|
|
105405
105405
|
};
|
|
105406
105406
|
jO = OPe([
|
|
105407
|
-
tz(3,
|
|
105407
|
+
tz(3, Oe),
|
|
105408
105408
|
tz(4, xi)
|
|
105409
105409
|
], jO);
|
|
105410
105410
|
function BPe(s, e) {
|
|
@@ -105609,7 +105609,7 @@ class KPe {
|
|
|
105609
105609
|
function zB(s, e, t, i = o0.default, n = {
|
|
105610
105610
|
triggerKind: 0
|
|
105611
105611
|
/* languages.CompletionTriggerKind.Invoke */
|
|
105612
|
-
}, r =
|
|
105612
|
+
}, r = Nt.None) {
|
|
105613
105613
|
return Ew(this, void 0, void 0, function* () {
|
|
105614
105614
|
const o = new Js();
|
|
105615
105615
|
t = t.clone();
|
|
@@ -105694,7 +105694,7 @@ function ZPe(s) {
|
|
|
105694
105694
|
jt.registerCommand("_executeCompletionItemProvider", (s, ...e) => Ew(void 0, void 0, void 0, function* () {
|
|
105695
105695
|
const [t, i, n, r] = e;
|
|
105696
105696
|
di(Je.isUri(t)), di(G.isIPosition(i)), di(typeof n == "string" || !n), di(typeof r == "number" || !r);
|
|
105697
|
-
const { completionProvider: o } = s.get(
|
|
105697
|
+
const { completionProvider: o } = s.get(Oe), a = yield s.get(io).createModelReference(t);
|
|
105698
105698
|
try {
|
|
105699
105699
|
const l = {
|
|
105700
105700
|
incomplete: !1,
|
|
@@ -105705,7 +105705,7 @@ jt.registerCommand("_executeCompletionItemProvider", (s, ...e) => Ew(void 0, voi
|
|
|
105705
105705
|
/* languages.CompletionTriggerKind.Invoke */
|
|
105706
105706
|
});
|
|
105707
105707
|
for (const h of u.items)
|
|
105708
|
-
d.length < (r ?? 0) && d.push(h.resolve(
|
|
105708
|
+
d.length < (r ?? 0) && d.push(h.resolve(Nt.None)), l.incomplete = l.incomplete || h.container.incomplete, l.suggestions.push(h.completion);
|
|
105709
105709
|
try {
|
|
105710
105710
|
return yield Promise.all(d), l;
|
|
105711
105711
|
} finally {
|
|
@@ -106452,7 +106452,7 @@ Ds.HasNextTabstop = new Me("hasNextTabstop", !1, _("hasNextTabstop", "Whether th
|
|
|
106452
106452
|
Ds.HasPrevTabstop = new Me("hasPrevTabstop", !1, _("hasPrevTabstop", "Whether there is a previous tab stop when in snippet mode"));
|
|
106453
106453
|
Ds = tOe([
|
|
106454
106454
|
jS(1, ia),
|
|
106455
|
-
jS(2,
|
|
106455
|
+
jS(2, Oe),
|
|
106456
106456
|
jS(3, tt),
|
|
106457
106457
|
jS(4, xi)
|
|
106458
106458
|
], Ds);
|
|
@@ -107811,7 +107811,7 @@ GO = fOe([
|
|
|
107811
107811
|
lh(4, ia),
|
|
107812
107812
|
lh(5, tt),
|
|
107813
107813
|
lh(6, zt),
|
|
107814
|
-
lh(7,
|
|
107814
|
+
lh(7, Oe),
|
|
107815
107815
|
lh(8, w3)
|
|
107816
107816
|
], GO);
|
|
107817
107817
|
class KE {
|
|
@@ -109719,7 +109719,7 @@ Qo = OOe([
|
|
|
109719
109719
|
cg(3, zt),
|
|
109720
109720
|
cg(4, an),
|
|
109721
109721
|
cg(5, Oa),
|
|
109722
|
-
cg(6,
|
|
109722
|
+
cg(6, Oe),
|
|
109723
109723
|
cg(7, $0)
|
|
109724
109724
|
], Qo);
|
|
109725
109725
|
var Kf = function(s, e, t, i) {
|
|
@@ -110590,7 +110590,7 @@ function XOe(s, e, t, i) {
|
|
|
110590
110590
|
var n;
|
|
110591
110591
|
return Tw(this, void 0, void 0, function* () {
|
|
110592
110592
|
const r = s.get(io), o = s.get(sa), a = s.get(an), l = s.get(at), d = s.get(_n);
|
|
110593
|
-
if (yield i.item.resolve(
|
|
110593
|
+
if (yield i.item.resolve(Nt.None), !i.part.location)
|
|
110594
110594
|
return;
|
|
110595
110595
|
const c = i.part.location, u = [], h = new Set(ur.getMenuItems(F.EditorContext).map((p) => f_(p) ? p.command.id : OE()));
|
|
110596
110596
|
for (const p of ar.all())
|
|
@@ -110829,7 +110829,7 @@ let qp = class e4 {
|
|
|
110829
110829
|
if (t.event.detail !== 2)
|
|
110830
110830
|
return;
|
|
110831
110831
|
const i = this._getInlayHintLabelPart(t);
|
|
110832
|
-
if (i && (t.event.preventDefault(), yield i.item.resolve(
|
|
110832
|
+
if (i && (t.event.preventDefault(), yield i.item.resolve(Nt.None), Xs(i.item.hint.textEdits))) {
|
|
110833
110833
|
const n = i.item.hint.textEdits.map((r) => ji.replace(R.lift(r.range), r.text));
|
|
110834
110834
|
this._editor.executeEdits("inlayHint.default", n), e();
|
|
110835
110835
|
}
|
|
@@ -110984,7 +110984,7 @@ let qp = class e4 {
|
|
|
110984
110984
|
qp.ID = "editor.contrib.InlayHints";
|
|
110985
110985
|
qp._MAX_DECORATORS = 1500;
|
|
110986
110986
|
qp = QOe([
|
|
110987
|
-
Hm(1,
|
|
110987
|
+
Hm(1, Oe),
|
|
110988
110988
|
Hm(2, Oa),
|
|
110989
110989
|
Hm(3, KJ),
|
|
110990
110990
|
Hm(4, an),
|
|
@@ -110997,9 +110997,9 @@ function e4e(s) {
|
|
|
110997
110997
|
jt.registerCommand("_executeInlayHintProvider", (s, ...e) => Qm(void 0, void 0, void 0, function* () {
|
|
110998
110998
|
const [t, i] = e;
|
|
110999
110999
|
di(Je.isUri(t)), di(R.isIRange(i));
|
|
111000
|
-
const { inlayHintsProvider: n } = s.get(
|
|
111000
|
+
const { inlayHintsProvider: n } = s.get(Oe), r = yield s.get(io).createModelReference(t);
|
|
111001
111001
|
try {
|
|
111002
|
-
const o = yield u0.create(n, r.object.textEditorModel, [R.lift(i)],
|
|
111002
|
+
const o = yield u0.create(n, r.object.textEditorModel, [R.lift(i)], Nt.None), a = o.items.map((l) => l.hint);
|
|
111003
111003
|
return setTimeout(() => o.dispose(), 0), a;
|
|
111004
111004
|
} finally {
|
|
111005
111005
|
r.dispose();
|
|
@@ -111132,7 +111132,7 @@ t4 = t4e([
|
|
|
111132
111132
|
mC(2, So),
|
|
111133
111133
|
mC(3, zt),
|
|
111134
111134
|
mC(4, io),
|
|
111135
|
-
mC(5,
|
|
111135
|
+
mC(5, Oe)
|
|
111136
111136
|
], t4);
|
|
111137
111137
|
Yt(
|
|
111138
111138
|
qp.ID,
|
|
@@ -112540,7 +112540,7 @@ If.DECORATION = nt.register({
|
|
|
112540
112540
|
});
|
|
112541
112541
|
If = A4e([
|
|
112542
112542
|
YS(1, tt),
|
|
112543
|
-
YS(2,
|
|
112543
|
+
YS(2, Oe),
|
|
112544
112544
|
YS(3, xi),
|
|
112545
112545
|
YS(4, Oa)
|
|
112546
112546
|
], If);
|
|
@@ -112598,8 +112598,8 @@ function eee(s, e, t, i) {
|
|
|
112598
112598
|
}
|
|
112599
112599
|
V("editor.linkedEditingBackground", { dark: ne.fromHex("#f00").transparent(0.3), light: ne.fromHex("#f00").transparent(0.3), hcDark: ne.fromHex("#f00").transparent(0.3), hcLight: ne.white }, _("editorLinkedEditingBackground", "Background color when the editor auto renames on type."));
|
|
112600
112600
|
Tc("_executeLinkedEditingProvider", (s, e, t) => {
|
|
112601
|
-
const { linkedEditingRangeProvider: i } = s.get(
|
|
112602
|
-
return eee(i, e, t,
|
|
112601
|
+
const { linkedEditingRangeProvider: i } = s.get(Oe);
|
|
112602
|
+
return eee(i, e, t, Nt.None);
|
|
112603
112603
|
});
|
|
112604
112604
|
Yt(
|
|
112605
112605
|
If.ID,
|
|
@@ -112704,14 +112704,14 @@ function iee(s, e, t) {
|
|
|
112704
112704
|
jt.registerCommand("_executeLinkProvider", (s, ...e) => tee(void 0, void 0, void 0, function* () {
|
|
112705
112705
|
let [t, i] = e;
|
|
112706
112706
|
di(t instanceof Je), typeof i != "number" && (i = 0);
|
|
112707
|
-
const { linkProvider: n } = s.get(
|
|
112707
|
+
const { linkProvider: n } = s.get(Oe), r = s.get($i).getModel(t);
|
|
112708
112708
|
if (!r)
|
|
112709
112709
|
return [];
|
|
112710
|
-
const o = yield iee(n, r,
|
|
112710
|
+
const o = yield iee(n, r, Nt.None);
|
|
112711
112711
|
if (!o)
|
|
112712
112712
|
return [];
|
|
112713
112713
|
for (let l = 0; l < Math.min(i, o.links.length); l++)
|
|
112714
|
-
yield o.links[l].resolve(
|
|
112714
|
+
yield o.links[l].resolve(Nt.None);
|
|
112715
112715
|
const a = o.links.slice(0);
|
|
112716
112716
|
return o.dispose(), a;
|
|
112717
112717
|
}));
|
|
@@ -112865,7 +112865,7 @@ let nv = class nee extends X {
|
|
|
112865
112865
|
if (!this.openerService)
|
|
112866
112866
|
return;
|
|
112867
112867
|
const { link: n } = e;
|
|
112868
|
-
n.resolve(
|
|
112868
|
+
n.resolve(Nt.None).then((r) => {
|
|
112869
112869
|
if (typeof r == "string" && this.editor.hasModel()) {
|
|
112870
112870
|
const o = this.editor.getModel().uri;
|
|
112871
112871
|
if (o.scheme === Ct.file && r.startsWith(`${Ct.file}:`)) {
|
|
@@ -112914,7 +112914,7 @@ nv.ID = "editor.linkDetector";
|
|
|
112914
112914
|
nv = B4e([
|
|
112915
112915
|
XS(1, So),
|
|
112916
112916
|
XS(2, _n),
|
|
112917
|
-
XS(3,
|
|
112917
|
+
XS(3, Oe),
|
|
112918
112918
|
XS(4, Oa)
|
|
112919
112919
|
], nv);
|
|
112920
112920
|
const _z = {
|
|
@@ -113786,7 +113786,7 @@ let p0 = class see extends X {
|
|
|
113786
113786
|
};
|
|
113787
113787
|
p0.ID = "editor.contrib.selectionHighlighter";
|
|
113788
113788
|
p0 = Q4e([
|
|
113789
|
-
J4e(1,
|
|
113789
|
+
J4e(1, Oe)
|
|
113790
113790
|
], p0);
|
|
113791
113791
|
function ree(s, e, t) {
|
|
113792
113792
|
const i = bz(s, e[0], !t);
|
|
@@ -113924,13 +113924,13 @@ function aee(s, e, t, i, n) {
|
|
|
113924
113924
|
jt.registerCommand("_executeSignatureHelpProvider", (s, ...e) => oee(void 0, void 0, void 0, function* () {
|
|
113925
113925
|
const [t, i, n] = e;
|
|
113926
113926
|
di(Je.isUri(t)), di(G.isIPosition(i)), di(typeof n == "string" || !n);
|
|
113927
|
-
const r = s.get(
|
|
113927
|
+
const r = s.get(Oe), o = yield s.get(io).createModelReference(t);
|
|
113928
113928
|
try {
|
|
113929
113929
|
const a = yield aee(r.signatureHelpProvider, o.object.textEditorModel, G.lift(i), {
|
|
113930
113930
|
triggerKind: ic.Invoke,
|
|
113931
113931
|
isRetrigger: !1,
|
|
113932
113932
|
triggerCharacter: n
|
|
113933
|
-
},
|
|
113933
|
+
}, Nt.None);
|
|
113934
113934
|
return a ? (setTimeout(() => a.dispose(), 0), a.value) : void 0;
|
|
113935
113935
|
} finally {
|
|
113936
113936
|
o.dispose();
|
|
@@ -114337,7 +114337,7 @@ let Xp = class dee extends X {
|
|
|
114337
114337
|
Xp.ID = "editor.controller.parameterHints";
|
|
114338
114338
|
Xp = vFe([
|
|
114339
114339
|
vz(1, at),
|
|
114340
|
-
vz(2,
|
|
114340
|
+
vz(2, Oe)
|
|
114341
114341
|
], Xp);
|
|
114342
114342
|
class CFe extends Ae {
|
|
114343
114343
|
constructor() {
|
|
@@ -114628,8 +114628,8 @@ class XB {
|
|
|
114628
114628
|
}
|
|
114629
114629
|
function SFe(s, e, t, i) {
|
|
114630
114630
|
return up(this, void 0, void 0, function* () {
|
|
114631
|
-
const n = new XB(e, t, s), r = yield n.resolveRenameLocation(
|
|
114632
|
-
return r != null && r.rejectReason ? { edits: [], rejectReason: r.rejectReason } : n.provideRenameEdits(i,
|
|
114631
|
+
const n = new XB(e, t, s), r = yield n.resolveRenameLocation(Nt.None);
|
|
114632
|
+
return r != null && r.rejectReason ? { edits: [], rejectReason: r.rejectReason } : n.provideRenameEdits(i, Nt.None);
|
|
114633
114633
|
});
|
|
114634
114634
|
}
|
|
114635
114635
|
let Qp = class cee {
|
|
@@ -114720,7 +114720,7 @@ Qp = yFe([
|
|
|
114720
114720
|
ug(4, Xu),
|
|
114721
114721
|
ug(5, ia),
|
|
114722
114722
|
ug(6, _5),
|
|
114723
|
-
ug(7,
|
|
114723
|
+
ug(7, Oe)
|
|
114724
114724
|
], Qp);
|
|
114725
114725
|
class xFe extends Ae {
|
|
114726
114726
|
constructor() {
|
|
@@ -114799,12 +114799,12 @@ xe(new QB({
|
|
|
114799
114799
|
Tc("_executeDocumentRenameProvider", function(s, e, t, ...i) {
|
|
114800
114800
|
const [n] = i;
|
|
114801
114801
|
di(typeof n == "string");
|
|
114802
|
-
const { renameProvider: r } = s.get(
|
|
114802
|
+
const { renameProvider: r } = s.get(Oe);
|
|
114803
114803
|
return SFe(r, e, t, n);
|
|
114804
114804
|
});
|
|
114805
114805
|
Tc("_executePrepareRename", function(s, e, t) {
|
|
114806
114806
|
return up(this, void 0, void 0, function* () {
|
|
114807
|
-
const { renameProvider: i } = s.get(
|
|
114807
|
+
const { renameProvider: i } = s.get(Oe), r = yield new XB(e, t, i).resolveRenameLocation(Nt.None);
|
|
114808
114808
|
if (r != null && r.rejectReason)
|
|
114809
114809
|
throw new Error(r.rejectReason);
|
|
114810
114810
|
return r;
|
|
@@ -114958,7 +114958,7 @@ jt.registerCommand("_provideDocumentSemanticTokensLegend", (s, ...e) => Tf(void
|
|
|
114958
114958
|
const i = s.get($i).getModel(t);
|
|
114959
114959
|
if (!i)
|
|
114960
114960
|
return;
|
|
114961
|
-
const { documentSemanticTokensProvider: n } = s.get(
|
|
114961
|
+
const { documentSemanticTokensProvider: n } = s.get(Oe), r = IFe(n, i);
|
|
114962
114962
|
return r ? r[0].getLegend() : s.get(an).executeCommand("_provideDocumentRangeSemanticTokensLegend", t);
|
|
114963
114963
|
}));
|
|
114964
114964
|
jt.registerCommand("_provideDocumentSemanticTokens", (s, ...e) => Tf(void 0, void 0, void 0, function* () {
|
|
@@ -114967,10 +114967,10 @@ jt.registerCommand("_provideDocumentSemanticTokens", (s, ...e) => Tf(void 0, voi
|
|
|
114967
114967
|
const i = s.get($i).getModel(t);
|
|
114968
114968
|
if (!i)
|
|
114969
114969
|
return;
|
|
114970
|
-
const { documentSemanticTokensProvider: n } = s.get(
|
|
114970
|
+
const { documentSemanticTokensProvider: n } = s.get(Oe);
|
|
114971
114971
|
if (!fee(n, i))
|
|
114972
114972
|
return s.get(an).executeCommand("_provideDocumentRangeSemanticTokens", t, i.getFullModelRange());
|
|
114973
|
-
const r = yield gee(n, i, null, null,
|
|
114973
|
+
const r = yield gee(n, i, null, null, Nt.None);
|
|
114974
114974
|
if (!r)
|
|
114975
114975
|
return;
|
|
114976
114976
|
const { provider: o, tokens: a } = r;
|
|
@@ -114989,14 +114989,14 @@ jt.registerCommand("_provideDocumentRangeSemanticTokensLegend", (s, ...e) => Tf(
|
|
|
114989
114989
|
const n = s.get($i).getModel(t);
|
|
114990
114990
|
if (!n)
|
|
114991
114991
|
return;
|
|
114992
|
-
const { documentRangeSemanticTokensProvider: r } = s.get(
|
|
114992
|
+
const { documentRangeSemanticTokensProvider: r } = s.get(Oe), o = pee(r, n);
|
|
114993
114993
|
if (o.length === 0)
|
|
114994
114994
|
return;
|
|
114995
114995
|
if (o.length === 1)
|
|
114996
114996
|
return o[0].getLegend();
|
|
114997
114997
|
if (!i || !R.isIRange(i))
|
|
114998
114998
|
return console.warn("provideDocumentRangeSemanticTokensLegend might be out-of-sync with provideDocumentRangeSemanticTokens unless a range argument is passed in"), o[0].getLegend();
|
|
114999
|
-
const a = yield JB(r, n, R.lift(i),
|
|
114999
|
+
const a = yield JB(r, n, R.lift(i), Nt.None);
|
|
115000
115000
|
if (a)
|
|
115001
115001
|
return a.provider.getLegend();
|
|
115002
115002
|
}));
|
|
@@ -115006,7 +115006,7 @@ jt.registerCommand("_provideDocumentRangeSemanticTokens", (s, ...e) => Tf(void 0
|
|
|
115006
115006
|
const n = s.get($i).getModel(t);
|
|
115007
115007
|
if (!n)
|
|
115008
115008
|
return;
|
|
115009
|
-
const { documentRangeSemanticTokensProvider: r } = s.get(
|
|
115009
|
+
const { documentRangeSemanticTokensProvider: r } = s.get(Oe), o = yield JB(r, n, R.lift(i), Nt.None);
|
|
115010
115010
|
if (!(!o || !o.tokens))
|
|
115011
115011
|
return uee({
|
|
115012
115012
|
id: 0,
|
|
@@ -115064,7 +115064,7 @@ d4 = mee([
|
|
|
115064
115064
|
Ad(2, qn),
|
|
115065
115065
|
Ad(3, zt),
|
|
115066
115066
|
Ad(4, Oa),
|
|
115067
|
-
Ad(5,
|
|
115067
|
+
Ad(5, Oe)
|
|
115068
115068
|
], d4);
|
|
115069
115069
|
let m0 = class bg extends X {
|
|
115070
115070
|
constructor(e, t, i, n, r) {
|
|
@@ -115192,7 +115192,7 @@ m0 = mee([
|
|
|
115192
115192
|
Ad(1, QN),
|
|
115193
115193
|
Ad(2, qn),
|
|
115194
115194
|
Ad(3, Oa),
|
|
115195
|
-
Ad(4,
|
|
115195
|
+
Ad(4, Oe)
|
|
115196
115196
|
], m0);
|
|
115197
115197
|
class AFe {
|
|
115198
115198
|
constructor(e, t, i) {
|
|
@@ -115278,7 +115278,7 @@ _0 = MFe([
|
|
|
115278
115278
|
_C(2, qn),
|
|
115279
115279
|
_C(3, zt),
|
|
115280
115280
|
_C(4, Oa),
|
|
115281
|
-
_C(5,
|
|
115281
|
+
_C(5, Oe)
|
|
115282
115282
|
], _0);
|
|
115283
115283
|
Yt(
|
|
115284
115284
|
_0.ID,
|
|
@@ -115397,7 +115397,7 @@ let sv = class _ee {
|
|
|
115397
115397
|
if (this._state || (yield vee(this._languageFeaturesService.selectionRangeProvider, i, t.map((r) => r.getPosition()), this._editor.getOption(
|
|
115398
115398
|
110
|
|
115399
115399
|
/* EditorOption.smartSelect */
|
|
115400
|
-
),
|
|
115400
|
+
), Nt.None).then((r) => {
|
|
115401
115401
|
var o;
|
|
115402
115402
|
if (!(!Xs(r) || r.length !== t.length) && !(!this._editor.hasModel() || !Ws(this._editor.getSelections(), t, (a, l) => a.equalsSelection(l)))) {
|
|
115403
115403
|
for (let a = 0; a < r.length; a++)
|
|
@@ -115422,7 +115422,7 @@ let sv = class _ee {
|
|
|
115422
115422
|
};
|
|
115423
115423
|
sv.ID = "editor.contrib.smartSelectController";
|
|
115424
115424
|
sv = OFe([
|
|
115425
|
-
FFe(1,
|
|
115425
|
+
FFe(1, Oe)
|
|
115426
115426
|
], sv);
|
|
115427
115427
|
class bee extends Ae {
|
|
115428
115428
|
constructor(e, t) {
|
|
@@ -115545,9 +115545,9 @@ jt.registerCommand("_executeSelectionRangeProvider", function(s, ...e) {
|
|
|
115545
115545
|
return aI(this, void 0, void 0, function* () {
|
|
115546
115546
|
const [t, i] = e;
|
|
115547
115547
|
di(Je.isUri(t));
|
|
115548
|
-
const n = s.get(
|
|
115548
|
+
const n = s.get(Oe).selectionRangeProvider, r = yield s.get(io).createModelReference(t);
|
|
115549
115549
|
try {
|
|
115550
|
-
return vee(n, r.object.textEditorModel, i, { selectLeadingAndTrailingWhitespace: !0, selectSubwords: !0 },
|
|
115550
|
+
return vee(n, r.object.textEditorModel, i, { selectLeadingAndTrailingWhitespace: !0, selectSubwords: !0 }, Nt.None);
|
|
115551
115551
|
} finally {
|
|
115552
115552
|
r.dispose();
|
|
115553
115553
|
}
|
|
@@ -115758,7 +115758,7 @@ let c4 = class {
|
|
|
115758
115758
|
};
|
|
115759
115759
|
c4 = lI([
|
|
115760
115760
|
b0(1, xi),
|
|
115761
|
-
b0(2,
|
|
115761
|
+
b0(2, Oe)
|
|
115762
115762
|
], c4);
|
|
115763
115763
|
class Cee {
|
|
115764
115764
|
constructor() {
|
|
@@ -115864,7 +115864,7 @@ let u4 = class extends Cee {
|
|
|
115864
115864
|
}
|
|
115865
115865
|
};
|
|
115866
115866
|
u4 = lI([
|
|
115867
|
-
b0(0,
|
|
115867
|
+
b0(0, Oe)
|
|
115868
115868
|
], u4);
|
|
115869
115869
|
class wee extends Cee {
|
|
115870
115870
|
constructor(e) {
|
|
@@ -115913,7 +115913,7 @@ let f4 = class extends wee {
|
|
|
115913
115913
|
}
|
|
115914
115914
|
};
|
|
115915
115915
|
f4 = lI([
|
|
115916
|
-
b0(1,
|
|
115916
|
+
b0(1, Oe)
|
|
115917
115917
|
], f4);
|
|
115918
115918
|
var zFe = function(s, e, t, i) {
|
|
115919
115919
|
var n = arguments.length, r = n < 3 ? e : i === null ? i = Object.getOwnPropertyDescriptor(e, t) : i, o;
|
|
@@ -116036,7 +116036,7 @@ let g4 = class extends X {
|
|
|
116036
116036
|
}
|
|
116037
116037
|
};
|
|
116038
116038
|
g4 = zFe([
|
|
116039
|
-
Sz(1,
|
|
116039
|
+
Sz(1, Oe),
|
|
116040
116040
|
Sz(2, xi)
|
|
116041
116041
|
], g4);
|
|
116042
116042
|
var UFe = function(s, e, t, i) {
|
|
@@ -116264,7 +116264,7 @@ let Cc = class yee extends X {
|
|
|
116264
116264
|
Cc.ID = "store.contrib.stickyScrollController";
|
|
116265
116265
|
Cc = UFe([
|
|
116266
116266
|
zm(1, sa),
|
|
116267
|
-
zm(2,
|
|
116267
|
+
zm(2, Oe),
|
|
116268
116268
|
zm(3, at),
|
|
116269
116269
|
zm(4, xi),
|
|
116270
116270
|
zm(5, Oa),
|
|
@@ -116505,7 +116505,7 @@ let p4 = class extends dhe {
|
|
|
116505
116505
|
l.editInsertEnd.column + this.completionModel.lineContext.characterCountDelta
|
|
116506
116506
|
// end PLUS character delta
|
|
116507
116507
|
), c = l.completion.insertTextRules && l.completion.insertTextRules & 4 ? { snippet: l.completion.insertText } : l.completion.insertText;
|
|
116508
|
-
t.push(new JFe(d, c, (e = l.filterTextLow) !== null && e !== void 0 ? e : l.labelLow, l.completion.additionalTextEdits, l.completion.command, l)), a-- >= 0 && l.resolve(
|
|
116508
|
+
t.push(new JFe(d, c, (e = l.filterTextLow) !== null && e !== void 0 ? e : l.labelLow, l.completion.additionalTextEdits, l.completion.command, l)), a-- >= 0 && l.resolve(Nt.None);
|
|
116509
116509
|
}
|
|
116510
116510
|
return t;
|
|
116511
116511
|
}
|
|
@@ -116548,7 +116548,7 @@ let m4 = class {
|
|
|
116548
116548
|
});
|
|
116549
116549
|
}
|
|
116550
116550
|
handleItemDidShow(e, t) {
|
|
116551
|
-
t.completion.resolve(
|
|
116551
|
+
t.completion.resolve(Nt.None);
|
|
116552
116552
|
}
|
|
116553
116553
|
freeInlineCompletions(e) {
|
|
116554
116554
|
e.release();
|
|
@@ -116563,7 +116563,7 @@ let m4 = class {
|
|
|
116563
116563
|
}
|
|
116564
116564
|
};
|
|
116565
116565
|
m4 = n8([
|
|
116566
|
-
hp(1,
|
|
116566
|
+
hp(1, Oe),
|
|
116567
116567
|
hp(2, ud),
|
|
116568
116568
|
hp(3, jE)
|
|
116569
116569
|
], m4);
|
|
@@ -116584,7 +116584,7 @@ let Ck = class Jm {
|
|
|
116584
116584
|
};
|
|
116585
116585
|
Ck._counter = 0;
|
|
116586
116586
|
Ck = n8([
|
|
116587
|
-
hp(1,
|
|
116587
|
+
hp(1, Oe),
|
|
116588
116588
|
hp(2, Zt),
|
|
116589
116589
|
hp(3, at)
|
|
116590
116590
|
], Ck);
|
|
@@ -117485,8 +117485,8 @@ function C5e(s, e, t, i) {
|
|
|
117485
117485
|
return s.has(e) ? new b5e(e, t, i, s) : new v5e(e, t, i);
|
|
117486
117486
|
}
|
|
117487
117487
|
Tc("_executeDocumentHighlights", (s, e, t) => {
|
|
117488
|
-
const i = s.get(
|
|
117489
|
-
return kee(i.documentHighlightProvider, e, t,
|
|
117488
|
+
const i = s.get(Oe);
|
|
117489
|
+
return kee(i.documentHighlightProvider, e, t, Nt.None);
|
|
117490
117490
|
});
|
|
117491
117491
|
class w5e {
|
|
117492
117492
|
constructor(e, t, i, n) {
|
|
@@ -117645,7 +117645,7 @@ let Jp = class Eee extends X {
|
|
|
117645
117645
|
Jp.ID = "editor.contrib.wordHighlighter";
|
|
117646
117646
|
Jp = _5e([
|
|
117647
117647
|
kz(1, tt),
|
|
117648
|
-
kz(2,
|
|
117648
|
+
kz(2, Oe)
|
|
117649
117649
|
], Jp);
|
|
117650
117650
|
class Iee extends Ae {
|
|
117651
117651
|
constructor(e, t) {
|
|
@@ -119090,7 +119090,7 @@ ol.PREFIX = "@";
|
|
|
119090
119090
|
ol.SCOPE_PREFIX = ":";
|
|
119091
119091
|
ol.PREFIX_BY_CATEGORY = `${ol.PREFIX}${ol.SCOPE_PREFIX}`;
|
|
119092
119092
|
ol = c3e([
|
|
119093
|
-
Az(0,
|
|
119093
|
+
Az(0, Oe),
|
|
119094
119094
|
Az(1, zE)
|
|
119095
119095
|
], ol);
|
|
119096
119096
|
const iR = _("property", "properties ({0})"), nR = {
|
|
@@ -119140,7 +119140,7 @@ let k4 = class extends ol {
|
|
|
119140
119140
|
};
|
|
119141
119141
|
k4 = u3e([
|
|
119142
119142
|
sR(0, Zt),
|
|
119143
|
-
sR(1,
|
|
119143
|
+
sR(1, Oe),
|
|
119144
119144
|
sR(2, zE)
|
|
119145
119145
|
], k4);
|
|
119146
119146
|
class yy extends Ae {
|
|
@@ -121192,7 +121192,7 @@ const Zee = {
|
|
|
121192
121192
|
overviewRulerLanes: 0,
|
|
121193
121193
|
renderLineHighlight: "none"
|
|
121194
121194
|
}, Yee = (s) => {
|
|
121195
|
-
const { themeConfig: e, editor: t, theme: i } = s, { defaultTheme: n } = e ?? {}, [r, o] =
|
|
121195
|
+
const { themeConfig: e, editor: t, theme: i } = s, { defaultTheme: n } = e ?? {}, [r, o] = Be(i ?? n ?? "vs-dark");
|
|
121196
121196
|
return $e(() => {
|
|
121197
121197
|
var a;
|
|
121198
121198
|
(a = e == null ? void 0 : e.themes) == null || a.forEach((l) => {
|
|
@@ -121217,7 +121217,7 @@ function q3e({
|
|
|
121217
121217
|
height: o = "75vh"
|
|
121218
121218
|
}) {
|
|
121219
121219
|
iK();
|
|
121220
|
-
const [a, l] =
|
|
121220
|
+
const [a, l] = Be(), d = It(), c = It({ code: "", revisionId: 0 }), u = It(null), h = Mt(
|
|
121221
121221
|
(m, b) => {
|
|
121222
121222
|
var v, C, w, y, S, D;
|
|
121223
121223
|
u.current = m, d.current = b, m.setValue(s.code), l(m), (w = (C = (v = b.languages.typescript) == null ? void 0 : v.typescriptDefaults) == null ? void 0 : C.setDiagnosticsOptions) == null || w.call(C, {
|
|
@@ -121392,7 +121392,7 @@ function J3e({
|
|
|
121392
121392
|
}).dispose, [e, s]);
|
|
121393
121393
|
}
|
|
121394
121394
|
const eBe = ({ editorRef: s, selection: e }) => {
|
|
121395
|
-
const [t, i] =
|
|
121395
|
+
const [t, i] = Be(), n = rt(
|
|
121396
121396
|
() => async (r, o, a) => {
|
|
121397
121397
|
var l, d, c;
|
|
121398
121398
|
const u = (l = s == null ? void 0 : s.current) == null ? void 0 : l.getModel();
|
|
@@ -121444,7 +121444,7 @@ const eBe = ({ editorRef: s, selection: e }) => {
|
|
|
121444
121444
|
function tBe({
|
|
121445
121445
|
children: s
|
|
121446
121446
|
}) {
|
|
121447
|
-
const [e, t] =
|
|
121447
|
+
const [e, t] = Be([]), [i, n] = Be(null), r = Mt(
|
|
121448
121448
|
(o) => {
|
|
121449
121449
|
i == null || i.setPosition(o), i == null || i.focus();
|
|
121450
121450
|
},
|
|
@@ -121523,7 +121523,7 @@ const rBe = {
|
|
|
121523
121523
|
options: l,
|
|
121524
121524
|
animateOnUpdate: d = !1,
|
|
121525
121525
|
onAnimateEnd: c
|
|
121526
|
-
} = s, u = iK(), [h] =
|
|
121526
|
+
} = s, u = iK(), [h] = Be("yaml"), { editor: f, setEditor: p } = c8(), m = It(null), b = It(), v = It({ yaml: "", revisionId: 0 }), C = It(null), w = It(null), y = Mt(
|
|
121527
121527
|
(k) => {
|
|
121528
121528
|
var N, I, A;
|
|
121529
121529
|
const E = k.split(`
|
|
@@ -121610,7 +121610,7 @@ const rBe = {
|
|
|
121610
121610
|
useThemeStore: n
|
|
121611
121611
|
}) => {
|
|
121612
121612
|
var y;
|
|
121613
|
-
const { t: r } = e(), { executionId: o, executions: a } = s(), [l, d] =
|
|
121613
|
+
const { t: r } = e(), { executionId: o, executions: a } = s(), [l, d] = Be({ code: "" }), [c, u] = Be("payload"), { theme: h } = n(), f = (h ?? "").startsWith("dark") ? "dark" : "light", p = rt(
|
|
121614
121614
|
() => ({
|
|
121615
121615
|
defaultTheme: f
|
|
121616
121616
|
// themes
|
|
@@ -121804,7 +121804,7 @@ const hBe = we.object({
|
|
|
121804
121804
|
useTranslationStore: d
|
|
121805
121805
|
}) => {
|
|
121806
121806
|
var $, ee, ie, se, Y, J, Z;
|
|
121807
|
-
const { t: c } = d(), { userData: u } = s(), [h, f] =
|
|
121807
|
+
const { t: c } = d(), { userData: u } = s(), [h, f] = Be(!1), [p, m] = Be(!1), b = rt(
|
|
121808
121808
|
() => ({
|
|
121809
121809
|
name: (u == null ? void 0 : u.name) || "",
|
|
121810
121810
|
username: (u == null ? void 0 : u.username) || "",
|
|
@@ -122612,7 +122612,7 @@ const ate = (s) => {
|
|
|
122612
122612
|
});
|
|
122613
122613
|
function RBe(s) {
|
|
122614
122614
|
var L, k, N, I;
|
|
122615
|
-
const { onCancel: e, onSubmit: t, isOpen: i, onClose: n, useCreatePipelineStore: r } = s, { isLoadingBranchNames: o, branchNames: a, defaultBranch: l, error: d } = r(), [c, u] =
|
|
122615
|
+
const { onCancel: e, onSubmit: t, isOpen: i, onClose: n, useCreatePipelineStore: r } = s, { isLoadingBranchNames: o, branchNames: a, defaultBranch: l, error: d } = r(), [c, u] = Be(d == null ? void 0 : d.message);
|
|
122616
122616
|
$e(() => {
|
|
122617
122617
|
u(d == null ? void 0 : d.message);
|
|
122618
122618
|
}, [d]);
|
|
@@ -122741,7 +122741,7 @@ const lte = N0({
|
|
|
122741
122741
|
},
|
|
122742
122742
|
config: { minScale: 0.1, maxScale: 10, scaleFactor: 0.3, paddingForFit: 30 }
|
|
122743
122743
|
}), ABe = ({ children: s, config: e }) => {
|
|
122744
|
-
const t = { minScale: 0.1, maxScale: 10, scaleFactor: 0.3, paddingForFit: 20, ...e }, i =
|
|
122744
|
+
const t = { minScale: 0.1, maxScale: 10, scaleFactor: 0.3, paddingForFit: 20, ...e }, i = It({ scale: 1, translateX: 0, translateY: 0 }), n = It(), r = It({ scale: 1, translateX: 0, translateY: 0 }), o = Mt(
|
|
122745
122745
|
(f) => {
|
|
122746
122746
|
i.current = f;
|
|
122747
122747
|
const p = n.current ?? f.rootContainer;
|
|
@@ -122814,7 +122814,7 @@ const lte = N0({
|
|
|
122814
122814
|
);
|
|
122815
122815
|
}, u8 = () => E0(lte);
|
|
122816
122816
|
function MBe({ children: s }) {
|
|
122817
|
-
const { setCanvasTransform: e, canvasTransformRef: t, config: i } = u8(), n =
|
|
122817
|
+
const { setCanvasTransform: e, canvasTransformRef: t, config: i } = u8(), n = It(null), [r, o] = Be(!1);
|
|
122818
122818
|
$e(() => {
|
|
122819
122819
|
if (n.current) {
|
|
122820
122820
|
const u = (h) => {
|
|
@@ -122857,7 +122857,7 @@ function MBe({ children: s }) {
|
|
|
122857
122857
|
};
|
|
122858
122858
|
}
|
|
122859
122859
|
}, [n]);
|
|
122860
|
-
const a =
|
|
122860
|
+
const a = It(null), l = (u) => {
|
|
122861
122861
|
var h;
|
|
122862
122862
|
const f = (h = n.current) == null ? void 0 : h.children[0], p = a.current, m = u;
|
|
122863
122863
|
if (!f || !n.current || !p || !m) return;
|
|
@@ -123048,7 +123048,7 @@ const mte = N0({
|
|
|
123048
123048
|
rerender: () => {
|
|
123049
123049
|
}
|
|
123050
123050
|
}), i9e = ({ nodes: s, children: e }) => {
|
|
123051
|
-
const [t, i] =
|
|
123051
|
+
const [t, i] = Be(!1), [n, r] = Be({}), [o, a] = Be(1), [l, d] = Be(null), c = It(n);
|
|
123052
123052
|
c.current = n;
|
|
123053
123053
|
const u = (b, v) => {
|
|
123054
123054
|
const C = {};
|
|
@@ -123616,7 +123616,7 @@ function tL(s, e, t, i) {
|
|
|
123616
123616
|
}
|
|
123617
123617
|
function f9e(s) {
|
|
123618
123618
|
var e;
|
|
123619
|
-
const { initialized: t, nodes: i, rerenderConnections: n, setInitialized: r } = bI(), { setCanvasTransform: o, canvasTransformRef: a, config: l, setTargetEl: d } = u8(), { serialContainerConfig: c } = Ly(), { data: u, config: h = {}, customCreateSVGPath: f, edgesConfig: p } = s, m =
|
|
123619
|
+
const { initialized: t, nodes: i, rerenderConnections: n, setInitialized: r } = bI(), { setCanvasTransform: o, canvasTransformRef: a, config: l, setTargetEl: d } = u8(), { serialContainerConfig: c } = Ly(), { data: u, config: h = {}, customCreateSVGPath: f, edgesConfig: p } = s, m = It(), b = It(null), v = It(null), C = It(null), w = It(null), [y, S] = Be({}), [D, L] = Be(tL(u, i, "pipeline")), k = It(tL(u, i, "pipeline"));
|
|
123620
123620
|
return $e(() => {
|
|
123621
123621
|
const N = tL(u, i, "pipeline");
|
|
123622
123622
|
L(N), k.current = N;
|
|
@@ -123783,7 +123783,7 @@ const yte = (s) => {
|
|
|
123783
123783
|
children: o,
|
|
123784
123784
|
selectedPath: a,
|
|
123785
123785
|
globalData: l
|
|
123786
|
-
} = s, [d, c] =
|
|
123786
|
+
} = s, [d, c] = Be(void 0), [u, h] = Be(void 0), f = (m, b, v, C) => {
|
|
123787
123787
|
const w = v.getBoundingClientRect();
|
|
123788
123788
|
c({
|
|
123789
123789
|
contextMenu: m,
|
|
@@ -129022,7 +129022,7 @@ const uie = (s) => Object.hasOwn(s, "run"), hie = (s) => Object.hasOwn(s, "run-t
|
|
|
129022
129022
|
edgesConfig: a,
|
|
129023
129023
|
portComponent: l,
|
|
129024
129024
|
collapseButtonComponent: d
|
|
129025
|
-
} = s, [c, u] =
|
|
129025
|
+
} = s, [c, u] = Be([]);
|
|
129026
129026
|
$e(() => () => {
|
|
129027
129027
|
u([]);
|
|
129028
129028
|
}, []), $e(() => {
|
|
@@ -129474,7 +129474,7 @@ function X7e(s) {
|
|
|
129474
129474
|
}), e;
|
|
129475
129475
|
}
|
|
129476
129476
|
Jee.set({
|
|
129477
|
-
ILanguageFeaturesService:
|
|
129477
|
+
ILanguageFeaturesService: Oe,
|
|
129478
129478
|
OutlineModel: Rd,
|
|
129479
129479
|
StandaloneServices: it
|
|
129480
129480
|
});
|
|
@@ -129486,7 +129486,7 @@ const Q7e = (s) => {
|
|
|
129486
129486
|
onErrorChange: n,
|
|
129487
129487
|
animateOnUpdate: r,
|
|
129488
129488
|
onAnimateEnd: o
|
|
129489
|
-
} = s, [a, l] =
|
|
129489
|
+
} = s, [a, l] = Be(0), d = () => {
|
|
129490
129490
|
l(a + 1);
|
|
129491
129491
|
}, { markers: c } = c8();
|
|
129492
129492
|
$e(() => {
|
|
@@ -129495,7 +129495,7 @@ const Q7e = (s) => {
|
|
|
129495
129495
|
n({ problems: m, problemsCount: b, isYamlValid: v });
|
|
129496
129496
|
}
|
|
129497
129497
|
}, [c]);
|
|
129498
|
-
const u =
|
|
129498
|
+
const u = It(""), h = It(e);
|
|
129499
129499
|
h.current = e;
|
|
129500
129500
|
const f = rt(
|
|
129501
129501
|
() => ({
|
|
@@ -130365,59 +130365,37 @@ const vie = ({ useTranslationStore: s, pageTypeText: e }) => {
|
|
|
130365
130365
|
}
|
|
130366
130366
|
}, b6e = { Badge: m6e, Icon: _6e }, Cie = ({
|
|
130367
130367
|
status: s,
|
|
130368
|
-
|
|
130369
|
-
|
|
130370
|
-
commit:
|
|
130371
|
-
branch:
|
|
130372
|
-
|
|
130373
|
-
|
|
130374
|
-
|
|
130375
|
-
|
|
130376
|
-
|
|
130377
|
-
|
|
130378
|
-
|
|
130379
|
-
|
|
130380
|
-
|
|
130381
|
-
|
|
130382
|
-
|
|
130383
|
-
|
|
130384
|
-
|
|
130385
|
-
|
|
130386
|
-
|
|
130387
|
-
|
|
130388
|
-
|
|
130389
|
-
|
|
130390
|
-
|
|
130391
|
-
|
|
130392
|
-
|
|
130393
|
-
|
|
130394
|
-
|
|
130395
|
-
|
|
130396
|
-
|
|
130397
|
-
|
|
130398
|
-
|
|
130399
|
-
t && /* @__PURE__ */ x("div", { className: "flex flex-col gap-1.5", children: [
|
|
130400
|
-
/* @__PURE__ */ g("span", { className: "leading-tight text-foreground-4", children: "Branch" }),
|
|
130401
|
-
/* @__PURE__ */ g("span", { className: "text-foreground-1", children: t })
|
|
130402
|
-
] }),
|
|
130403
|
-
/* @__PURE__ */ x("div", { className: "flex flex-col gap-1.5", children: [
|
|
130404
|
-
/* @__PURE__ */ g("span", { className: "leading-tight text-foreground-4", children: "Status" }),
|
|
130405
|
-
/* @__PURE__ */ g(b6e.Badge, { status: s, minimal: !0 })
|
|
130406
|
-
] }),
|
|
130407
|
-
/* @__PURE__ */ x("div", { className: "flex flex-col gap-1.5", children: [
|
|
130408
|
-
/* @__PURE__ */ g("span", { className: "leading-tight text-foreground-4", children: "Build time" }),
|
|
130409
|
-
/* @__PURE__ */ g("span", { className: "text-foreground-1", children: n })
|
|
130410
|
-
] }),
|
|
130411
|
-
/* @__PURE__ */ x("div", { className: "flex flex-col gap-1.5", children: [
|
|
130412
|
-
/* @__PURE__ */ g("span", { className: "leading-tight text-foreground-4", children: "Created" }),
|
|
130413
|
-
/* @__PURE__ */ g("span", { className: "text-foreground-1", children: o })
|
|
130414
|
-
] }),
|
|
130415
|
-
i && /* @__PURE__ */ x("div", { className: "flex flex-col gap-1.5", children: [
|
|
130416
|
-
/* @__PURE__ */ g("span", { className: "leading-tight text-foreground-4", children: "Delegate type" }),
|
|
130417
|
-
/* @__PURE__ */ g("span", { className: "text-foreground-1", children: i })
|
|
130418
|
-
] })
|
|
130419
|
-
] });
|
|
130420
|
-
}, v6e = ({
|
|
130368
|
+
buildTime: e,
|
|
130369
|
+
createdTime: t,
|
|
130370
|
+
commit: i,
|
|
130371
|
+
branch: n,
|
|
130372
|
+
delegateType: r
|
|
130373
|
+
}) => /* @__PURE__ */ x("div", { className: "flex justify-between gap-11", children: [
|
|
130374
|
+
i && /* @__PURE__ */ x("div", { className: "flex flex-col gap-1.5", children: [
|
|
130375
|
+
/* @__PURE__ */ g("span", { className: "leading-tight text-foreground-4", children: "Commit" }),
|
|
130376
|
+
/* @__PURE__ */ g("span", { className: "text-foreground-1", children: i })
|
|
130377
|
+
] }),
|
|
130378
|
+
n && /* @__PURE__ */ x("div", { className: "flex flex-col gap-1.5", children: [
|
|
130379
|
+
/* @__PURE__ */ g("span", { className: "leading-tight text-foreground-4", children: "Branch" }),
|
|
130380
|
+
/* @__PURE__ */ g("span", { className: "text-foreground-1", children: n })
|
|
130381
|
+
] }),
|
|
130382
|
+
/* @__PURE__ */ x("div", { className: "flex flex-col gap-1.5", children: [
|
|
130383
|
+
/* @__PURE__ */ g("span", { className: "leading-tight text-foreground-4", children: "Status" }),
|
|
130384
|
+
/* @__PURE__ */ g(b6e.Badge, { status: s, minimal: !0 })
|
|
130385
|
+
] }),
|
|
130386
|
+
/* @__PURE__ */ x("div", { className: "flex flex-col gap-1.5", children: [
|
|
130387
|
+
/* @__PURE__ */ g("span", { className: "leading-tight text-foreground-4", children: "Build time" }),
|
|
130388
|
+
/* @__PURE__ */ g("span", { className: "text-foreground-1", children: e })
|
|
130389
|
+
] }),
|
|
130390
|
+
/* @__PURE__ */ x("div", { className: "flex flex-col gap-1.5", children: [
|
|
130391
|
+
/* @__PURE__ */ g("span", { className: "leading-tight text-foreground-4", children: "Created" }),
|
|
130392
|
+
/* @__PURE__ */ g("span", { className: "text-foreground-1", children: t })
|
|
130393
|
+
] }),
|
|
130394
|
+
r && /* @__PURE__ */ x("div", { className: "flex flex-col gap-1.5", children: [
|
|
130395
|
+
/* @__PURE__ */ g("span", { className: "leading-tight text-foreground-4", children: "Delegate type" }),
|
|
130396
|
+
/* @__PURE__ */ g("span", { className: "text-foreground-1", children: r })
|
|
130397
|
+
] })
|
|
130398
|
+
] }), v6e = ({
|
|
130421
130399
|
title: s,
|
|
130422
130400
|
storage: e,
|
|
130423
130401
|
storageAverage: t,
|
|
@@ -130493,7 +130471,7 @@ const vie = ({ useTranslationStore: s, pageTypeText: e }) => {
|
|
|
130493
130471
|
] });
|
|
130494
130472
|
var Bw = /* @__PURE__ */ ((s) => (s.ERROR = "error", s.WARNING = "warning", s.INFO = "info", s))(Bw || {});
|
|
130495
130473
|
const C6e = ({ logs: s, query: e }) => {
|
|
130496
|
-
const t =
|
|
130474
|
+
const t = It(null);
|
|
130497
130475
|
$e(() => {
|
|
130498
130476
|
t.current && (t.current.scrollTop = t.current.scrollHeight);
|
|
130499
130477
|
}, [s]);
|
|
@@ -130609,7 +130587,7 @@ const C6e = ({ logs: s, query: e }) => {
|
|
|
130609
130587
|
onCopy: n,
|
|
130610
130588
|
isDrawer: r = !1
|
|
130611
130589
|
}) => {
|
|
130612
|
-
const o = (s == null ? void 0 : s.inputs) || [], a = (s == null ? void 0 : s.outputs) || [], [l, d] =
|
|
130590
|
+
const o = (s == null ? void 0 : s.inputs) || [], a = (s == null ? void 0 : s.outputs) || [], [l, d] = Be(""), c = (u) => {
|
|
130613
130591
|
const h = u.target.value;
|
|
130614
130592
|
d(h);
|
|
130615
130593
|
};
|
|
@@ -131056,4 +131034,4 @@ export {
|
|
|
131056
131034
|
jk as y,
|
|
131057
131035
|
hoe as z
|
|
131058
131036
|
};
|
|
131059
|
-
//# sourceMappingURL=index-
|
|
131037
|
+
//# sourceMappingURL=index-BkL553v-.js.map
|