twenty-sdk 2.50.0 → 2.51.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/descriptor.json +1 -1
- package/dist/{build-snapshot-DlB2VyNd.mjs → build-snapshot--GXJr4vI.mjs} +2 -2
- package/dist/{build-snapshot-C-NQg7fn.js → build-snapshot-D38u-ntr.js} +1 -1
- package/dist/build.cjs +1 -1
- package/dist/build.mjs +2 -2
- package/dist/{catalog-sync-C6jv_xoa.mjs → catalog-sync-BMUVC4nI.mjs} +1 -1
- package/dist/{catalog-sync-DxcdSEBJ.js → catalog-sync-D5e5_2jo.js} +1 -1
- package/dist/cli/utilities/build/common/front-component-build/css-injection-plugin.d.ts +1 -2
- package/dist/cli/utilities/build/common/front-component-build/utils/unwrap-define-front-component-to-direct-export.d.ts +1 -1
- package/dist/cli.cjs +11 -11
- package/dist/cli.mjs +113 -113
- package/dist/{compile-application-BFhqkVqO.js → compile-application-BPxjs2Co.js} +5 -5
- package/dist/{compile-application-B2LfsDBX.mjs → compile-application-CU3rJlps.mjs} +1380 -1376
- package/dist/define/index.cjs +15 -12
- package/dist/define/index.cjs.map +1 -1
- package/dist/define/index.d.ts +22 -5
- package/dist/define/index.mjs +5555 -5128
- package/dist/define/index.mjs.map +1 -1
- package/dist/front-component/index.cjs +1 -1
- package/dist/front-component/index.cjs.map +1 -1
- package/dist/front-component/index.d.ts +6 -1
- package/dist/front-component/index.mjs +26 -15
- package/dist/front-component/index.mjs.map +1 -1
- package/dist/front-component-renderer/build.cjs +1 -1
- package/dist/front-component-renderer/build.mjs +1 -1
- package/dist/get-front-component-build-plugins-B0LNjbg4.js +883 -0
- package/dist/{get-front-component-build-plugins-QXeU8MwC.mjs → get-front-component-build-plugins-CnwC-jU8.mjs} +7178 -6721
- package/dist/logic-function/index.cjs.map +1 -1
- package/dist/logic-function/index.mjs.map +1 -1
- package/dist/{login-_eABINVq.mjs → login-B-j7rN0L.mjs} +466 -466
- package/dist/{login-DkjpI4jn.js → login-CLfFxyR3.js} +9 -9
- package/dist/operations.cjs +1 -1
- package/dist/operations.mjs +2 -2
- package/dist/{package-DftRfrG7.mjs → package-Blg6y0Gq.mjs} +6 -1
- package/dist/package-sw5GnVdj.js +1 -0
- package/dist/{typecheck-application-DIe_vwjU.mjs → typecheck-application-aR7mCSHB.mjs} +1 -1
- package/package.json +8 -3
- package/dist/get-front-component-build-plugins-BcUjFnki.js +0 -880
- package/dist/package-vtLsH5RS.js +0 -1
|
@@ -3,10 +3,10 @@ import { fileURLToPath as t } from "node:url";
|
|
|
3
3
|
import { dirname as n } from "node:path";
|
|
4
4
|
e(import.meta.url);
|
|
5
5
|
const r = t(import.meta.url), i = n(r);
|
|
6
|
-
import { At as a, Bt as o, Ct as s, Dt as c, E as l,
|
|
7
|
-
import { A as ce, B as le, F as ue, H as de, I as fe, L as I, M as pe, N as me, O as he, R as ge, V as _e, _ as ve, a as ye, b as be, c as xe, d as Se, f as Ce, g as we, h as Te, i as Ee, j as L, l as De, m as Oe, n as ke, o as Ae, p as je, r as Me, t as Ne, u as Pe, v as Fe, x as Ie, y as Le, z as Re } from "./compile-application-
|
|
6
|
+
import { At as a, Bt as o, Ct as s, Dt as c, E as l, Ft as u, Ht as d, I as f, It as p, K as m, Lt as h, Mt as g, N as _, Nt as v, P as y, Rt as b, S as x, St as S, Tt as C, V as w, Vt as T, Wt as E, at as D, bt as O, ct as k, dt as A, et as j, ft as ee, gt as M, jt as N, kt as te, lt as ne, mt as re, p as P, pt as F, q as ie, ut as ae, vt as oe, zt as se } from "./get-front-component-build-plugins-CnwC-jU8.mjs";
|
|
7
|
+
import { A as ce, B as le, F as ue, H as de, I as fe, L as I, M as pe, N as me, O as he, R as ge, V as _e, _ as ve, a as ye, b as be, c as xe, d as Se, f as Ce, g as we, h as Te, i as Ee, j as L, l as De, m as Oe, n as ke, o as Ae, p as je, r as Me, t as Ne, u as Pe, v as Fe, x as Ie, y as Le, z as Re } from "./compile-application-CU3rJlps.mjs";
|
|
8
8
|
import { t as ze } from "./isDefined-Dtu5EYqP-CX5uLGda.mjs";
|
|
9
|
-
import { t as Be } from "./package-
|
|
9
|
+
import { t as Be } from "./package-Blg6y0Gq.mjs";
|
|
10
10
|
import * as Ve from "path";
|
|
11
11
|
import He, { join as Ue, relative as We } from "path";
|
|
12
12
|
import { execFileSync as Ge, execSync as Ke } from "child_process";
|
|
@@ -817,7 +817,7 @@ var Ct = async (e, t) => {
|
|
|
817
817
|
variables: {
|
|
818
818
|
filename: e,
|
|
819
819
|
size: t,
|
|
820
|
-
fileFolder:
|
|
820
|
+
fileFolder: ie(n)
|
|
821
821
|
},
|
|
822
822
|
resultKey: "createFileUpload",
|
|
823
823
|
defaultErrorMessage: "Failed to create file upload"
|
|
@@ -861,7 +861,7 @@ var Ct = async (e, t) => {
|
|
|
861
861
|
variables: {
|
|
862
862
|
applicationUniversalIdentifier: e,
|
|
863
863
|
files: t.map(({ fileFolder: e, filePath: t, size: n }) => ({
|
|
864
|
-
fileFolder:
|
|
864
|
+
fileFolder: ie(e),
|
|
865
865
|
filePath: t,
|
|
866
866
|
size: n
|
|
867
867
|
}))
|
|
@@ -1068,7 +1068,7 @@ var Ct = async (e, t) => {
|
|
|
1068
1068
|
}), { size: i } = await ft.promises.stat(t), a = await r.createFileUpload({
|
|
1069
1069
|
filename: He.basename(t),
|
|
1070
1070
|
size: i,
|
|
1071
|
-
fileFolder:
|
|
1071
|
+
fileFolder: S.AppTarball
|
|
1072
1072
|
});
|
|
1073
1073
|
if (!a.success) return $t(`Upload failed: ${Jt(a.error ?? a.message)}`);
|
|
1074
1074
|
let { fileId: o, uploadUrl: s, contentType: c } = a.data;
|
|
@@ -1563,7 +1563,7 @@ var Ct = async (e, t) => {
|
|
|
1563
1563
|
for (let e of t) if (await nr(e)) return `http://localhost:${e}`;
|
|
1564
1564
|
return null;
|
|
1565
1565
|
}, ir = (e) => {
|
|
1566
|
-
if (
|
|
1566
|
+
if (D(e)) return e;
|
|
1567
1567
|
}, ar = (e) => ir(e)?.extensions?.subCode, or = (e) => {
|
|
1568
1568
|
let t = ir(e)?.message;
|
|
1569
1569
|
return qe(t) ? t : void 0;
|
|
@@ -1658,7 +1658,7 @@ var Ct = async (e, t) => {
|
|
|
1658
1658
|
}
|
|
1659
1659
|
return n.push(mt.red("Destroys are irreversible. Review carefully before applying.")), n.join("\n");
|
|
1660
1660
|
}, Ir = (e, t) => {
|
|
1661
|
-
if (!
|
|
1661
|
+
if (!m(e)) return "No changes. Twenty metadata matches your manifest.";
|
|
1662
1662
|
let n = {
|
|
1663
1663
|
create: 0,
|
|
1664
1664
|
update: 0,
|
|
@@ -1762,7 +1762,7 @@ var Ct = async (e, t) => {
|
|
|
1762
1762
|
return n ? `${e}\n\n${n}` : e;
|
|
1763
1763
|
}, Hr = new Set(["APP_NOT_INSTALLED", "APPLICATION_NOT_FOUND"]), Ur = (e) => {
|
|
1764
1764
|
let t = e.error;
|
|
1765
|
-
if (
|
|
1765
|
+
if (D(t) && Hr.has(t.subCode ?? "")) return !0;
|
|
1766
1766
|
let n = (e.message ?? "").toLowerCase();
|
|
1767
1767
|
return n.includes("not installed in workspace") || n.includes("not found in workspace");
|
|
1768
1768
|
}, Wr = (e, t) => {
|
|
@@ -1924,7 +1924,7 @@ var Ct = async (e, t) => {
|
|
|
1924
1924
|
success: !0,
|
|
1925
1925
|
data: _()
|
|
1926
1926
|
};
|
|
1927
|
-
}, Kr = (e) => Ct(() => Gr(e), Tt.SYNC_FAILED), qr = ".twenty/pull-base.json", Jr = 1, Yr = (e) => ze(e) && typeof e == "object" && typeof e.universalIdentifier == "string", Xr = (e) => Array.isArray(e) && e.every(Yr), Zr = (e) => Array.isArray(e) && e.every((e) => Yr(e) && Array.isArray(e.fields)), Qr = (e) => !ze(e) || Array.isArray(e) && e.every(
|
|
1927
|
+
}, Kr = (e) => Ct(() => Gr(e), Tt.SYNC_FAILED), qr = ".twenty/pull-base.json", Jr = 1, Yr = (e) => ze(e) && typeof e == "object" && typeof e.universalIdentifier == "string", Xr = (e) => Array.isArray(e) && e.every(Yr), Zr = (e) => Array.isArray(e) && e.every((e) => Yr(e) && Array.isArray(e.fields)), Qr = (e) => !ze(e) || Array.isArray(e) && e.every(D), $r = (e) => Xr(e) && e.every(({ objectPermissions: e, fieldPermissions: t }) => Qr(e) && Qr(t)), ei = (e) => {
|
|
1928
1928
|
if (!ze(e) || typeof e != "object") return !1;
|
|
1929
1929
|
let { application: t, objects: n, fields: r, indexes: i, permissionFlags: a, roles: o, views: s, viewFields: c, pageLayouts: l, pageLayoutTabs: u, pageLayoutWidgets: d, navigationMenuItems: f } = e;
|
|
1930
1930
|
return Yr(t) && Zr(n) && Array.isArray(r) && r.every(Yr) && (!ze(i) || Zr(i)) && (!ze(a) || Xr(a)) && (!ze(o) || $r(o)) && (!ze(s) || Xr(s)) && (!ze(c) || Xr(c)) && (!ze(l) || Xr(l)) && (!ze(u) || Xr(u)) && (!ze(d) || Xr(d)) && (!ze(f) || Xr(f));
|
|
@@ -2014,7 +2014,7 @@ var Ct = async (e, t) => {
|
|
|
2014
2014
|
for (let t of e) n(t, r);
|
|
2015
2015
|
return;
|
|
2016
2016
|
}
|
|
2017
|
-
if (!
|
|
2017
|
+
if (!D(e)) return;
|
|
2018
2018
|
let i = li.map((t) => e[t]).find(qe), a = ze(i) && ze(r) ? `${r}.${i}` : i ?? r;
|
|
2019
2019
|
ze(i) && ze(a) && qe(e.universalIdentifier) && (t[e.universalIdentifier] = a);
|
|
2020
2020
|
for (let t of Object.values(e)) n(t, a);
|
|
@@ -2050,12 +2050,12 @@ var Ct = async (e, t) => {
|
|
|
2050
2050
|
{
|
|
2051
2051
|
path: [...e, "type"],
|
|
2052
2052
|
symbol: "FieldType",
|
|
2053
|
-
members:
|
|
2053
|
+
members: b
|
|
2054
2054
|
},
|
|
2055
2055
|
{
|
|
2056
2056
|
path: [...e, "writability"],
|
|
2057
2057
|
symbol: "MetadataWritability",
|
|
2058
|
-
members:
|
|
2058
|
+
members: u
|
|
2059
2059
|
},
|
|
2060
2060
|
{
|
|
2061
2061
|
path: [
|
|
@@ -2064,7 +2064,7 @@ var Ct = async (e, t) => {
|
|
|
2064
2064
|
"relationType"
|
|
2065
2065
|
],
|
|
2066
2066
|
symbol: "RelationType",
|
|
2067
|
-
members:
|
|
2067
|
+
members: g
|
|
2068
2068
|
},
|
|
2069
2069
|
{
|
|
2070
2070
|
path: [
|
|
@@ -2082,7 +2082,7 @@ var Ct = async (e, t) => {
|
|
|
2082
2082
|
"dataType"
|
|
2083
2083
|
],
|
|
2084
2084
|
symbol: "NumberDataType",
|
|
2085
|
-
members:
|
|
2085
|
+
members: T
|
|
2086
2086
|
},
|
|
2087
2087
|
{
|
|
2088
2088
|
path: [
|
|
@@ -2091,29 +2091,29 @@ var Ct = async (e, t) => {
|
|
|
2091
2091
|
"displayFormat"
|
|
2092
2092
|
],
|
|
2093
2093
|
symbol: "DateDisplayFormat",
|
|
2094
|
-
members:
|
|
2094
|
+
members: ae
|
|
2095
2095
|
}
|
|
2096
2096
|
], yi = vi([]), bi = [
|
|
2097
2097
|
{
|
|
2098
2098
|
path: ["writability"],
|
|
2099
2099
|
symbol: "MetadataWritability",
|
|
2100
|
-
members:
|
|
2100
|
+
members: u
|
|
2101
2101
|
},
|
|
2102
2102
|
{
|
|
2103
2103
|
path: ["openRecordIn"],
|
|
2104
2104
|
symbol: "ObjectOpenRecordIn",
|
|
2105
|
-
members:
|
|
2105
|
+
members: te
|
|
2106
2106
|
},
|
|
2107
2107
|
{
|
|
2108
2108
|
path: ["sharingReach"],
|
|
2109
2109
|
symbol: "ObjectSharingReach",
|
|
2110
|
-
members:
|
|
2110
|
+
members: se
|
|
2111
2111
|
},
|
|
2112
2112
|
...vi(["fields", "[]"])
|
|
2113
2113
|
], xi = [{
|
|
2114
2114
|
path: ["indexType"],
|
|
2115
2115
|
symbol: "IndexType",
|
|
2116
|
-
members:
|
|
2116
|
+
members: p
|
|
2117
2117
|
}], Si = [
|
|
2118
2118
|
{
|
|
2119
2119
|
path: [
|
|
@@ -2122,7 +2122,7 @@ var Ct = async (e, t) => {
|
|
|
2122
2122
|
"logicalOperator"
|
|
2123
2123
|
],
|
|
2124
2124
|
symbol: "RowLevelPermissionPredicateGroupLogicalOperator",
|
|
2125
|
-
members:
|
|
2125
|
+
members: ne
|
|
2126
2126
|
},
|
|
2127
2127
|
{
|
|
2128
2128
|
path: [
|
|
@@ -2131,38 +2131,38 @@ var Ct = async (e, t) => {
|
|
|
2131
2131
|
"operand"
|
|
2132
2132
|
],
|
|
2133
2133
|
symbol: "RowLevelPermissionPredicateOperand",
|
|
2134
|
-
members:
|
|
2134
|
+
members: N
|
|
2135
2135
|
},
|
|
2136
2136
|
{
|
|
2137
2137
|
path: ["permissionFlagUniversalIdentifiers", "[]"],
|
|
2138
2138
|
symbol: "SystemPermissionFlag",
|
|
2139
|
-
members:
|
|
2139
|
+
members: k
|
|
2140
2140
|
}
|
|
2141
2141
|
], Ci = (e) => ({
|
|
2142
2142
|
path: e,
|
|
2143
2143
|
symbol: "AggregateOperations",
|
|
2144
|
-
members:
|
|
2144
|
+
members: a
|
|
2145
2145
|
}), wi = [Ci(["aggregateOperation"])], Ti = [
|
|
2146
2146
|
{
|
|
2147
2147
|
path: ["type"],
|
|
2148
2148
|
symbol: "ViewType",
|
|
2149
|
-
members:
|
|
2149
|
+
members: h
|
|
2150
2150
|
},
|
|
2151
2151
|
{
|
|
2152
2152
|
path: ["visibility"],
|
|
2153
2153
|
symbol: "ViewVisibility",
|
|
2154
|
-
members:
|
|
2154
|
+
members: M
|
|
2155
2155
|
},
|
|
2156
2156
|
{
|
|
2157
2157
|
path: ["openRecordIn"],
|
|
2158
2158
|
symbol: "ViewOpenRecordIn",
|
|
2159
|
-
members:
|
|
2159
|
+
members: F
|
|
2160
2160
|
},
|
|
2161
2161
|
Ci(["kanbanAggregateOperation"]),
|
|
2162
2162
|
{
|
|
2163
2163
|
path: ["calendarLayout"],
|
|
2164
2164
|
symbol: "ViewCalendarLayout",
|
|
2165
|
-
members:
|
|
2165
|
+
members: A
|
|
2166
2166
|
},
|
|
2167
2167
|
Ci([
|
|
2168
2168
|
"fields",
|
|
@@ -2176,7 +2176,7 @@ var Ct = async (e, t) => {
|
|
|
2176
2176
|
"operand"
|
|
2177
2177
|
],
|
|
2178
2178
|
symbol: "ViewFilterOperand",
|
|
2179
|
-
members:
|
|
2179
|
+
members: re
|
|
2180
2180
|
},
|
|
2181
2181
|
{
|
|
2182
2182
|
path: [
|
|
@@ -2185,7 +2185,7 @@ var Ct = async (e, t) => {
|
|
|
2185
2185
|
"logicalOperator"
|
|
2186
2186
|
],
|
|
2187
2187
|
symbol: "ViewFilterGroupLogicalOperator",
|
|
2188
|
-
members:
|
|
2188
|
+
members: s
|
|
2189
2189
|
},
|
|
2190
2190
|
{
|
|
2191
2191
|
path: [
|
|
@@ -2194,13 +2194,13 @@ var Ct = async (e, t) => {
|
|
|
2194
2194
|
"direction"
|
|
2195
2195
|
],
|
|
2196
2196
|
symbol: "ViewSortDirection",
|
|
2197
|
-
members:
|
|
2197
|
+
members: oe
|
|
2198
2198
|
}
|
|
2199
2199
|
], Ei = (e) => [
|
|
2200
2200
|
{
|
|
2201
2201
|
path: [...e, "type"],
|
|
2202
2202
|
symbol: "WidgetType",
|
|
2203
|
-
members:
|
|
2203
|
+
members: ee
|
|
2204
2204
|
},
|
|
2205
2205
|
{
|
|
2206
2206
|
path: [
|
|
@@ -2209,7 +2209,7 @@ var Ct = async (e, t) => {
|
|
|
2209
2209
|
"layoutMode"
|
|
2210
2210
|
],
|
|
2211
2211
|
symbol: "PageLayoutTabLayoutMode",
|
|
2212
|
-
members:
|
|
2212
|
+
members: o
|
|
2213
2213
|
},
|
|
2214
2214
|
Ci([
|
|
2215
2215
|
...e,
|
|
@@ -2227,12 +2227,12 @@ var Ct = async (e, t) => {
|
|
|
2227
2227
|
t
|
|
2228
2228
|
],
|
|
2229
2229
|
symbol: "ObjectRecordGroupByDateGranularity",
|
|
2230
|
-
members:
|
|
2230
|
+
members: C
|
|
2231
2231
|
}))
|
|
2232
2232
|
], Di = (e) => [{
|
|
2233
2233
|
path: [...e, "layoutMode"],
|
|
2234
2234
|
symbol: "PageLayoutTabLayoutMode",
|
|
2235
|
-
members:
|
|
2235
|
+
members: o
|
|
2236
2236
|
}, ...Ei([
|
|
2237
2237
|
...e,
|
|
2238
2238
|
"widgets",
|
|
@@ -2240,11 +2240,11 @@ var Ct = async (e, t) => {
|
|
|
2240
2240
|
])], Oi = Ei([]), ki = Di([]), Ai = [{
|
|
2241
2241
|
path: ["type"],
|
|
2242
2242
|
symbol: "NavigationMenuItemType",
|
|
2243
|
-
members:
|
|
2243
|
+
members: v
|
|
2244
2244
|
}], ji = [{
|
|
2245
2245
|
path: ["type"],
|
|
2246
2246
|
symbol: "PageLayoutType",
|
|
2247
|
-
members:
|
|
2247
|
+
members: c
|
|
2248
2248
|
}, ...Di(["tabs", "[]"])], Mi = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]), Ni = ({ definer: e, config: t, enumBindings: n = [] }) => {
|
|
2249
2249
|
let r = /* @__PURE__ */ new Set(), i = gi({
|
|
2250
2250
|
value: t,
|
|
@@ -2304,7 +2304,7 @@ export default ${e}(${i});
|
|
|
2304
2304
|
...e,
|
|
2305
2305
|
...ze(r) ? { objectPermissions: Yi({
|
|
2306
2306
|
permissions: r,
|
|
2307
|
-
getDerivedUniversalIdentifier: ({ objectUniversalIdentifier: e }) =>
|
|
2307
|
+
getDerivedUniversalIdentifier: ({ objectUniversalIdentifier: e }) => _({
|
|
2308
2308
|
applicationUniversalIdentifier: t,
|
|
2309
2309
|
roleUniversalIdentifier: n,
|
|
2310
2310
|
objectUniversalIdentifier: e
|
|
@@ -2312,7 +2312,7 @@ export default ${e}(${i});
|
|
|
2312
2312
|
}) } : {},
|
|
2313
2313
|
...ze(i) ? { fieldPermissions: Yi({
|
|
2314
2314
|
permissions: i,
|
|
2315
|
-
getDerivedUniversalIdentifier: ({ fieldUniversalIdentifier: e }) =>
|
|
2315
|
+
getDerivedUniversalIdentifier: ({ fieldUniversalIdentifier: e }) => x({
|
|
2316
2316
|
applicationUniversalIdentifier: t,
|
|
2317
2317
|
roleUniversalIdentifier: n,
|
|
2318
2318
|
fieldUniversalIdentifier: e
|
|
@@ -2330,7 +2330,7 @@ export default ${e}(${i});
|
|
|
2330
2330
|
objectMetadataApplicationUniversalIdentifier: i,
|
|
2331
2331
|
objectUniversalIdentifier: n.universalIdentifier
|
|
2332
2332
|
};
|
|
2333
|
-
if (
|
|
2333
|
+
if (y(t) === e) return `${n.nameSingular}RecordPage`;
|
|
2334
2334
|
if (P(t) === e) return `${n.nameSingular}RecordForm`;
|
|
2335
2335
|
}
|
|
2336
2336
|
return null;
|
|
@@ -2338,10 +2338,10 @@ export default ${e}(${i});
|
|
|
2338
2338
|
let n = t.views?.find((t) => t.universalIdentifier === e);
|
|
2339
2339
|
if (ze(n)) return n.name;
|
|
2340
2340
|
let r = t.application.universalIdentifier;
|
|
2341
|
-
for (let n of t.objects) if (
|
|
2341
|
+
for (let n of t.objects) if (w({
|
|
2342
2342
|
objectMetadataApplicationUniversalIdentifier: r,
|
|
2343
2343
|
objectUniversalIdentifier: n.universalIdentifier,
|
|
2344
|
-
viewKey:
|
|
2344
|
+
viewKey: f.INDEX
|
|
2345
2345
|
}) === e) return `${n.nameSingular}IndexView`;
|
|
2346
2346
|
return null;
|
|
2347
2347
|
}, ea = ({ navigationMenuItemManifest: e, manifest: t }) => {
|
|
@@ -2700,7 +2700,7 @@ export default ${e}(${i});
|
|
|
2700
2700
|
localOnlyRelativePaths: n.filter((e) => ze(e.universalIdentifier) && !m.has(e.universalIdentifier) && !o.has(e.universalIdentifier) && !r.has(e.universalIdentifier) && !f.has(aa(e.relativePath))).map((e) => aa(e.relativePath)),
|
|
2701
2701
|
skipped: a
|
|
2702
2702
|
};
|
|
2703
|
-
}, fa = /* @__PURE__ */
|
|
2703
|
+
}, fa = /* @__PURE__ */ d(((e, t) => {
|
|
2704
2704
|
var n = {};
|
|
2705
2705
|
((e) => {
|
|
2706
2706
|
var t = Object.defineProperty, n = (e, n) => {
|
|
@@ -3003,7 +3003,7 @@ export default ${e}(${i});
|
|
|
3003
3003
|
concatenate: () => me,
|
|
3004
3004
|
concatenateDiagnosticMessageChains: () => IS,
|
|
3005
3005
|
consumesNodeCoreModules: () => P$,
|
|
3006
|
-
contains: () =>
|
|
3006
|
+
contains: () => T,
|
|
3007
3007
|
containsIgnoredPath: () => pT,
|
|
3008
3008
|
containsObjectRestOrSpread: () => kN,
|
|
3009
3009
|
containsParseError: () => ep,
|
|
@@ -3221,8 +3221,8 @@ export default ${e}(${i});
|
|
|
3221
3221
|
fileExtensionIsOneOf: () => Xa,
|
|
3222
3222
|
fileIncludeReasonToDiagnostics: () => JK,
|
|
3223
3223
|
fileShouldUseJavaScriptRequire: () => n1,
|
|
3224
|
-
filter: () =>
|
|
3225
|
-
filterMutate: () =>
|
|
3224
|
+
filter: () => k,
|
|
3225
|
+
filterMutate: () => A,
|
|
3226
3226
|
filterSemanticDiagnostics: () => uG,
|
|
3227
3227
|
find: () => x,
|
|
3228
3228
|
findAncestor: () => q,
|
|
@@ -3236,7 +3236,7 @@ export default ${e}(${i});
|
|
|
3236
3236
|
findFirstNonJsxWhitespaceToken: () => nZ,
|
|
3237
3237
|
findIndex: () => C,
|
|
3238
3238
|
findLast: () => S,
|
|
3239
|
-
findLastIndex: () =>
|
|
3239
|
+
findLastIndex: () => w,
|
|
3240
3240
|
findListItemInfo: () => mie,
|
|
3241
3241
|
findModifier: () => fQ,
|
|
3242
3242
|
findNextToken: () => iZ,
|
|
@@ -5019,19 +5019,19 @@ export default ${e}(${i});
|
|
|
5019
5019
|
for (let r = n ?? 0; r < e.length; r++) if (t(e[r], r)) return r;
|
|
5020
5020
|
return -1;
|
|
5021
5021
|
}
|
|
5022
|
-
function
|
|
5022
|
+
function w(e, t, n) {
|
|
5023
5023
|
if (e === void 0) return -1;
|
|
5024
5024
|
for (let r = n ?? e.length - 1; r >= 0; r--) if (t(e[r], r)) return r;
|
|
5025
5025
|
return -1;
|
|
5026
5026
|
}
|
|
5027
|
-
function
|
|
5027
|
+
function T(e, t, n = Ft) {
|
|
5028
5028
|
if (e !== void 0) {
|
|
5029
5029
|
for (let r = 0; r < e.length; r++) if (n(e[r], t)) return !0;
|
|
5030
5030
|
}
|
|
5031
5031
|
return !1;
|
|
5032
5032
|
}
|
|
5033
5033
|
function D(e, t, n) {
|
|
5034
|
-
for (let r = n ?? 0; r < e.length; r++) if (
|
|
5034
|
+
for (let r = n ?? 0; r < e.length; r++) if (T(t, e.charCodeAt(r))) return r;
|
|
5035
5035
|
return -1;
|
|
5036
5036
|
}
|
|
5037
5037
|
function O(e, t) {
|
|
@@ -5042,7 +5042,7 @@ export default ${e}(${i});
|
|
|
5042
5042
|
}
|
|
5043
5043
|
return n;
|
|
5044
5044
|
}
|
|
5045
|
-
function
|
|
5045
|
+
function k(e, t) {
|
|
5046
5046
|
if (e !== void 0) {
|
|
5047
5047
|
let n = e.length, r = 0;
|
|
5048
5048
|
for (; r < n && t(e[r]);) r++;
|
|
@@ -5057,7 +5057,7 @@ export default ${e}(${i});
|
|
|
5057
5057
|
}
|
|
5058
5058
|
return e;
|
|
5059
5059
|
}
|
|
5060
|
-
function
|
|
5060
|
+
function A(e, t) {
|
|
5061
5061
|
let n = 0;
|
|
5062
5062
|
for (let r = 0; r < e.length; r++) t(e[r], r, e) && (e[n] = e[r], n++);
|
|
5063
5063
|
e.length = n;
|
|
@@ -5305,7 +5305,7 @@ export default ${e}(${i});
|
|
|
5305
5305
|
return e;
|
|
5306
5306
|
}
|
|
5307
5307
|
function Ae(e, t, n) {
|
|
5308
|
-
return
|
|
5308
|
+
return T(e, t, n) ? !1 : (e.push(t), !0);
|
|
5309
5309
|
}
|
|
5310
5310
|
function je(e, t, n) {
|
|
5311
5311
|
return e === void 0 ? [t] : (Ae(e, t, n), e);
|
|
@@ -5535,13 +5535,13 @@ export default ${e}(${i});
|
|
|
5535
5535
|
let i = e(r);
|
|
5536
5536
|
if (!n.has(i)) return !1;
|
|
5537
5537
|
let a = n.get(i);
|
|
5538
|
-
return vt(a) ?
|
|
5538
|
+
return vt(a) ? T(a, r, t) : t(a, r);
|
|
5539
5539
|
},
|
|
5540
5540
|
add(i) {
|
|
5541
5541
|
let a = e(i);
|
|
5542
5542
|
if (n.has(a)) {
|
|
5543
5543
|
let e = n.get(a);
|
|
5544
|
-
if (vt(e))
|
|
5544
|
+
if (vt(e)) T(e, i, t) || (e.push(i), r++);
|
|
5545
5545
|
else {
|
|
5546
5546
|
let o = e;
|
|
5547
5547
|
t(o, i) || (n.set(a, [o, i]), r++);
|
|
@@ -5865,7 +5865,7 @@ export default ${e}(${i});
|
|
|
5865
5865
|
}
|
|
5866
5866
|
}
|
|
5867
5867
|
function kn() {
|
|
5868
|
-
return typeof process < "u" && !!process.nextTick && !process.browser &&
|
|
5868
|
+
return typeof process < "u" && !!process.nextTick && !process.browser && E !== void 0;
|
|
5869
5869
|
}
|
|
5870
5870
|
var An = /* @__PURE__ */ ((e) => (e[e.Off = 0] = "Off", e[e.Error = 1] = "Error", e[e.Warning = 2] = "Warning", e[e.Info = 3] = "Info", e[e.Verbose = 4] = "Verbose", e))(An || {}), U;
|
|
5871
5871
|
((e) => {
|
|
@@ -6616,7 +6616,7 @@ ${n.join("\n")}
|
|
|
6616
6616
|
}
|
|
6617
6617
|
function ar() {
|
|
6618
6618
|
if (kn()) try {
|
|
6619
|
-
let { performance: e } =
|
|
6619
|
+
let { performance: e } = j();
|
|
6620
6620
|
if (e) return {
|
|
6621
6621
|
shouldWriteNativeEvents: !1,
|
|
6622
6622
|
performance: e
|
|
@@ -6723,7 +6723,7 @@ ${n.join("\n")}
|
|
|
6723
6723
|
let t, n = 0, r = 0, i, a = [], o, s = [];
|
|
6724
6724
|
function c(c, l, u) {
|
|
6725
6725
|
if (U.assert(!Nr, "Tracing already started"), t === void 0) try {
|
|
6726
|
-
t =
|
|
6726
|
+
t = E("fs");
|
|
6727
6727
|
} catch (e) {
|
|
6728
6728
|
throw Error(`tracing requires having fs
|
|
6729
6729
|
(original error: ${e.message || e})`);
|
|
@@ -7491,18 +7491,18 @@ ${n.join("\n")}
|
|
|
7491
7491
|
}
|
|
7492
7492
|
var Ia = (() => {
|
|
7493
7493
|
function e() {
|
|
7494
|
-
let e = /^native |^\([^)]+\)$|^(?:internal[\\/]|[\w\s]+(?:\.js)?$)/, t =
|
|
7494
|
+
let e = /^native |^\([^)]+\)$|^(?:internal[\\/]|[\w\s]+(?:\.js)?$)/, t = E("fs"), n = E("path"), a = E("os"), o;
|
|
7495
7495
|
try {
|
|
7496
|
-
o =
|
|
7496
|
+
o = E("crypto");
|
|
7497
7497
|
} catch {
|
|
7498
7498
|
o = void 0;
|
|
7499
7499
|
}
|
|
7500
7500
|
let s, c = "./profile.cpuprofile", l = process.platform === "darwin", u = process.platform === "linux" || l, d = { throwIfNoEntry: !1 }, f = a.platform(), p = D(), m = t.realpathSync.native ? process.platform === "win32" ? ie : t.realpathSync.native : t.realpathSync, h = r.endsWith("sys.js") ? n.join(n.dirname(i), "__fake__.js") : r, g = process.platform === "win32" || l, _ = B(() => process.cwd()), { watchFile: v, watchDirectory: y } = Pa({
|
|
7501
|
-
pollingWatchFileWorker:
|
|
7501
|
+
pollingWatchFileWorker: k,
|
|
7502
7502
|
getModifiedTime: oe,
|
|
7503
7503
|
setTimeout,
|
|
7504
7504
|
clearTimeout,
|
|
7505
|
-
fsWatchWorker:
|
|
7505
|
+
fsWatchWorker: A,
|
|
7506
7506
|
useCaseSensitiveFileNames: p,
|
|
7507
7507
|
getCurrentDirectory: _,
|
|
7508
7508
|
fileSystemEntryExists: ne,
|
|
@@ -7566,16 +7566,16 @@ ${n.join("\n")}
|
|
|
7566
7566
|
return t?.isFile() ? t.size : 0;
|
|
7567
7567
|
},
|
|
7568
7568
|
exit(e) {
|
|
7569
|
-
|
|
7569
|
+
w(() => process.exit(e));
|
|
7570
7570
|
},
|
|
7571
7571
|
enableCPUProfiler: S,
|
|
7572
|
-
disableCPUProfiler:
|
|
7573
|
-
cpuProfilingEnabled: () => !!s ||
|
|
7572
|
+
disableCPUProfiler: w,
|
|
7573
|
+
cpuProfilingEnabled: () => !!s || T(process.execArgv, "--cpu-prof") || T(process.execArgv, "--prof"),
|
|
7574
7574
|
realpath: ae,
|
|
7575
7575
|
debugMode: !!process.env.NODE_INSPECTOR_IPC || !!process.env.VSCODE_INSPECTOR_OPTIONS || I(process.execArgv, (e) => /^--(?:inspect|debug)(?:-brk)?(?:=\d+)?$/i.test(e)) || !!process.recordreplay,
|
|
7576
7576
|
tryEnableSourceMapsForHost() {
|
|
7577
7577
|
try {
|
|
7578
|
-
|
|
7578
|
+
j().install();
|
|
7579
7579
|
} catch {}
|
|
7580
7580
|
},
|
|
7581
7581
|
setTimeout,
|
|
@@ -7593,7 +7593,7 @@ ${n.join("\n")}
|
|
|
7593
7593
|
try {
|
|
7594
7594
|
let n = QL(t, e, b);
|
|
7595
7595
|
return {
|
|
7596
|
-
module:
|
|
7596
|
+
module: E(n),
|
|
7597
7597
|
modulePath: n,
|
|
7598
7598
|
error: void 0
|
|
7599
7599
|
};
|
|
@@ -7616,7 +7616,7 @@ ${n.join("\n")}
|
|
|
7616
7616
|
}
|
|
7617
7617
|
function S(e, t) {
|
|
7618
7618
|
if (s) return t(), !1;
|
|
7619
|
-
let n =
|
|
7619
|
+
let n = j();
|
|
7620
7620
|
if (!n || !n.Session) return t(), !1;
|
|
7621
7621
|
let r = new n.Session();
|
|
7622
7622
|
return r.connect(), r.post("Profiler.enable", () => {
|
|
@@ -7633,7 +7633,7 @@ ${n.join("\n")}
|
|
|
7633
7633
|
}
|
|
7634
7634
|
return t;
|
|
7635
7635
|
}
|
|
7636
|
-
function
|
|
7636
|
+
function w(e) {
|
|
7637
7637
|
if (s && s !== "stopping") {
|
|
7638
7638
|
let r = s;
|
|
7639
7639
|
return s.post("Profiler.stop", (i, { profile: a }) => {
|
|
@@ -7657,7 +7657,7 @@ ${n.join("\n")}
|
|
|
7657
7657
|
return e === t ? e.toLowerCase() : t;
|
|
7658
7658
|
});
|
|
7659
7659
|
}
|
|
7660
|
-
function
|
|
7660
|
+
function k(e, n, r) {
|
|
7661
7661
|
t.watchFile(e, {
|
|
7662
7662
|
persistent: !0,
|
|
7663
7663
|
interval: r
|
|
@@ -7675,7 +7675,7 @@ ${n.join("\n")}
|
|
|
7675
7675
|
n(e, i, t.mtime);
|
|
7676
7676
|
}
|
|
7677
7677
|
}
|
|
7678
|
-
function
|
|
7678
|
+
function A(e, n, r) {
|
|
7679
7679
|
return t.watch(e, g ? {
|
|
7680
7680
|
persistent: !0,
|
|
7681
7681
|
recursive: !!n
|
|
@@ -16561,7 +16561,7 @@ ${n.join("\n")}
|
|
|
16561
16561
|
return;
|
|
16562
16562
|
}
|
|
16563
16563
|
let a = i[1], o = i[2];
|
|
16564
|
-
|
|
16564
|
+
T(zc, r) && !s(a, o, n) && s(a, void 0, n), V(e);
|
|
16565
16565
|
function s(e, n, r) {
|
|
16566
16566
|
let i = po(no(_o(t.getExecutingFilePath())), e);
|
|
16567
16567
|
if (n && (i = i + "-" + n), i = t.resolvePath(po(i, "diagnosticMessages.generated.json")), !t.fileExists(i)) return !1;
|
|
@@ -16703,10 +16703,10 @@ ${n.join("\n")}
|
|
|
16703
16703
|
}
|
|
16704
16704
|
}
|
|
16705
16705
|
function rl(e) {
|
|
16706
|
-
if (_b(e)) return
|
|
16706
|
+
if (_b(e)) return k(e.modifiers, jO);
|
|
16707
16707
|
}
|
|
16708
16708
|
function il(e) {
|
|
16709
|
-
if (lb(e, 98303)) return
|
|
16709
|
+
if (lb(e, 98303)) return k(e.modifiers, Au);
|
|
16710
16710
|
}
|
|
16711
16711
|
function al(e, t) {
|
|
16712
16712
|
if (e.name) if (X(e.name)) {
|
|
@@ -17624,7 +17624,7 @@ ${n.join("\n")}
|
|
|
17624
17624
|
}
|
|
17625
17625
|
}
|
|
17626
17626
|
function Df(e, t) {
|
|
17627
|
-
return
|
|
17627
|
+
return k(e.declarations || u, (e) => e.kind === t);
|
|
17628
17628
|
}
|
|
17629
17629
|
function Of(e) {
|
|
17630
17630
|
let t = /* @__PURE__ */ new Map();
|
|
@@ -17820,7 +17820,7 @@ ${n.join("\n")}
|
|
|
17820
17820
|
return kO(e) ? t === e.expression : IO(e) ? t === e.modifiers : MO(e) ? t === e.initializer : NO(e) ? t === e.questionToken && Wu(e) : cj(e) ? t === e.modifiers || t === e.questionToken || t === e.exclamationToken || pp(e.modifiers, t, qu) : lj(e) ? t === e.equalsToken || t === e.modifiers || t === e.questionToken || t === e.exclamationToken || pp(e.modifiers, t, qu) : FO(e) ? t === e.exclamationToken : LO(e) ? t === e.typeParameters || t === e.type || pp(e.typeParameters, t, kO) : RO(e) ? t === e.typeParameters || pp(e.typeParameters, t, kO) : zO(e) ? t === e.typeParameters || t === e.type || pp(e.typeParameters, t, kO) : wA(e) ? t === e.modifiers || pp(e.modifiers, t, qu) : !1;
|
|
17821
17821
|
}
|
|
17822
17822
|
function pp(e, t, n) {
|
|
17823
|
-
return !e || vt(t) || !n(t) ? !1 :
|
|
17823
|
+
return !e || vt(t) || !n(t) ? !1 : T(e, t);
|
|
17824
17824
|
}
|
|
17825
17825
|
function mp(e, t, n) {
|
|
17826
17826
|
if (t === void 0 || t.length === 0) return e;
|
|
@@ -18729,7 +18729,7 @@ ${n.join("\n")}
|
|
|
18729
18729
|
return e.kind === 12 ? void 0 : Bs(t.text, e.pos);
|
|
18730
18730
|
}
|
|
18731
18731
|
function oh(e, t) {
|
|
18732
|
-
return
|
|
18732
|
+
return k(e.kind === 169 || e.kind === 168 || e.kind === 218 || e.kind === 219 || e.kind === 217 || e.kind === 260 || e.kind === 281 ? me(Vs(t, e.pos), Bs(t, e.pos)) : Bs(t, e.pos), (n) => n.end <= e.end && t.charCodeAt(n.pos + 1) === 42 && t.charCodeAt(n.pos + 2) === 42 && t.charCodeAt(n.pos + 3) !== 47);
|
|
18733
18733
|
}
|
|
18734
18734
|
var sh = /^\/\/\/\s*<reference\s+path\s*=\s*(?:'[^']*'|"[^"]*").*?\/>/, tee = /^\/\/\/\s*<reference\s+types\s*=\s*(?:'[^']*'|"[^"]*").*?\/>/, nee = /^\/\/\/\s*<reference\s+lib\s*=\s*(?:'[^']*'|"[^"]*").*?\/>/, ree = /^\/\/\/\s*<amd-dependency\s+path\s*=\s*(?:'[^']*'|"[^"]*").*?\/>/, iee = /^\/\/\/\s*<amd-module\s+(?:\S.*?)??\/>/, aee = /^\/\/\/\s*<reference\s+no-default-lib\s*=\s*(?:'[^']*'|"[^"]*")\s*\/>/;
|
|
18735
18735
|
function ch(e) {
|
|
@@ -18779,7 +18779,7 @@ ${n.join("\n")}
|
|
|
18779
18779
|
case 216: return e === t.type;
|
|
18780
18780
|
case 213:
|
|
18781
18781
|
case 214:
|
|
18782
|
-
case 215: return
|
|
18782
|
+
case 215: return T(t.typeArguments, e);
|
|
18783
18783
|
}
|
|
18784
18784
|
}
|
|
18785
18785
|
}
|
|
@@ -19669,9 +19669,9 @@ ${n.join("\n")}
|
|
|
19669
19669
|
let n = He(t);
|
|
19670
19670
|
return re(t, (t) => {
|
|
19671
19671
|
if (t === n) {
|
|
19672
|
-
let n =
|
|
19672
|
+
let n = k(t.tags, (t) => pee(e, t));
|
|
19673
19673
|
return t.tags === n ? [t] : n;
|
|
19674
|
-
} else return
|
|
19674
|
+
} else return k(t.tags, zj);
|
|
19675
19675
|
});
|
|
19676
19676
|
}
|
|
19677
19677
|
function pee(e, t) {
|
|
@@ -20267,7 +20267,7 @@ ${n.join("\n")}
|
|
|
20267
20267
|
return -1;
|
|
20268
20268
|
}
|
|
20269
20269
|
function Wv(e) {
|
|
20270
|
-
return
|
|
20270
|
+
return k(e, (e) => {
|
|
20271
20271
|
switch (e.kind) {
|
|
20272
20272
|
case 294: return !!e.expression;
|
|
20273
20273
|
case 12: return !e.containsOnlyTriviaWhiteSpaces;
|
|
@@ -20553,8 +20553,8 @@ ${n.join("\n")}
|
|
|
20553
20553
|
let r = e.getCompilerOptions();
|
|
20554
20554
|
if (r.outFile) {
|
|
20555
20555
|
let t = rC(r), i = r.emitDeclarationOnly || t === 2 || t === 4;
|
|
20556
|
-
return
|
|
20557
|
-
} else return
|
|
20556
|
+
return k(e.getSourceFiles(), (t) => (i || !mP(t)) && My(t, e, n));
|
|
20557
|
+
} else return k(t === void 0 ? e.getSourceFiles() : [t], (t) => My(t, e, n));
|
|
20558
20558
|
}
|
|
20559
20559
|
function My(e, t, n) {
|
|
20560
20560
|
let r = t.getCompilerOptions();
|
|
@@ -20686,7 +20686,7 @@ ${n.join("\n")}
|
|
|
20686
20686
|
}
|
|
20687
20687
|
function rb(e, t, n, r, i, a, o) {
|
|
20688
20688
|
let s, c;
|
|
20689
|
-
if (o ? i.pos === 0 && (s =
|
|
20689
|
+
if (o ? i.pos === 0 && (s = k(Bs(e, i.pos), l)) : s = Bs(e, i.pos), s) {
|
|
20690
20690
|
let o = [], l;
|
|
20691
20691
|
for (let e of s) {
|
|
20692
20692
|
if (l) {
|
|
@@ -21105,7 +21105,7 @@ ${n.join("\n")}
|
|
|
21105
21105
|
return !1;
|
|
21106
21106
|
}
|
|
21107
21107
|
function zx(e) {
|
|
21108
|
-
return
|
|
21108
|
+
return k(e.declarations, Bx);
|
|
21109
21109
|
}
|
|
21110
21110
|
function Bx(e) {
|
|
21111
21111
|
return mA(e) && e.initializer !== void 0;
|
|
@@ -27542,7 +27542,7 @@ ${n.join("\n")}
|
|
|
27542
27542
|
}
|
|
27543
27543
|
}
|
|
27544
27544
|
function IM(e) {
|
|
27545
|
-
return
|
|
27545
|
+
return k(cD(e), (e) => !e.scoped);
|
|
27546
27546
|
}
|
|
27547
27547
|
function LM(e, t, n, r, i, a) {
|
|
27548
27548
|
let o = NM(t);
|
|
@@ -34166,7 +34166,7 @@ ${n.join("\n")}
|
|
|
34166
34166
|
e.forEach((e) => s(e, t));
|
|
34167
34167
|
return;
|
|
34168
34168
|
}
|
|
34169
|
-
return
|
|
34169
|
+
return k(e.map((e) => s(e, t)), (e) => e !== void 0);
|
|
34170
34170
|
}
|
|
34171
34171
|
function s(t, r) {
|
|
34172
34172
|
switch (t.kind) {
|
|
@@ -34201,7 +34201,7 @@ ${n.join("\n")}
|
|
|
34201
34201
|
return !1;
|
|
34202
34202
|
}
|
|
34203
34203
|
function $F(e, t, n) {
|
|
34204
|
-
let r = dn(n.useCaseSensitiveFileNames), i = M(
|
|
34204
|
+
let r = dn(n.useCaseSensitiveFileNames), i = M(k(e.fileNames, e.options.configFile?.configFileSpecs?.validatedIncludeSpecs ? Fte(t, e.options.configFile.configFileSpecs.validatedIncludeSpecs, e.options.configFile.configFileSpecs.validatedExcludeSpecs, n) : Et), (e) => Io(go(t, n.getCurrentDirectory()), go(e, n.getCurrentDirectory()), r)), a = {
|
|
34205
34205
|
configFilePath: go(t, n.getCurrentDirectory()),
|
|
34206
34206
|
useCaseSensitiveFileNames: n.useCaseSensitiveFileNames
|
|
34207
34207
|
}, o = iI(e.options, a), s = e.watchOptions && aI(e.watchOptions), c = {
|
|
@@ -34420,12 +34420,12 @@ ${n.join("\n")}
|
|
|
34420
34420
|
let r = x(S("include")), i = S("exclude"), a = !1, s = x(i);
|
|
34421
34421
|
if (i === "no-prop") {
|
|
34422
34422
|
let e = p.outDir, t = p.declarationDir;
|
|
34423
|
-
(e || t) && (s =
|
|
34423
|
+
(e || t) && (s = k([e, t], (e) => !!e));
|
|
34424
34424
|
}
|
|
34425
34425
|
n === void 0 && r === void 0 && (r = [_I], a = !0);
|
|
34426
34426
|
let c, l, d, m;
|
|
34427
34427
|
r && (c = rL(r, u, !0, t, "include"), d = wI(c, h) || c), s && (l = rL(s, u, !1, t, "exclude"), m = wI(l, h) || l);
|
|
34428
|
-
let g =
|
|
34428
|
+
let g = k(n, bt), _ = wI(g, h) || g;
|
|
34429
34429
|
return {
|
|
34430
34430
|
filesSpecs: n,
|
|
34431
34431
|
includeSpecs: r,
|
|
@@ -34539,7 +34539,7 @@ ${n.join("\n")}
|
|
|
34539
34539
|
}
|
|
34540
34540
|
function kI(e, t, n, r, i) {
|
|
34541
34541
|
let a = r.length;
|
|
34542
|
-
return EI(e, i) ? r.push(TI(n, t)) :
|
|
34542
|
+
return EI(e, i) ? r.push(TI(n, t)) : A(r, (e) => !Lte(e)), a !== r.length;
|
|
34543
34543
|
}
|
|
34544
34544
|
function AI(e) {
|
|
34545
34545
|
return !!e.options;
|
|
@@ -34724,7 +34724,7 @@ ${n.join("\n")}
|
|
|
34724
34724
|
n.push(mF(e, (e, ...t) => WI(i, r, e, ...t)));
|
|
34725
34725
|
}
|
|
34726
34726
|
function YI(e, t, n, r, i, a, o) {
|
|
34727
|
-
return
|
|
34727
|
+
return k(M(t, (t, s) => GI(e.element, t, n, r, i, a?.elements[s], o)), (t) => e.listPreserveFalsyValues ? !0 : !!t);
|
|
34728
34728
|
}
|
|
34729
34729
|
var XI = /(?:^|\/)\*\*\/?$/, ZI = /^[^*?]*(?=\/[^/]*[*?])/;
|
|
34730
34730
|
function QI(e, t, n, r, i = u) {
|
|
@@ -34770,7 +34770,7 @@ ${n.join("\n")}
|
|
|
34770
34770
|
return t === -1 ? !1 : (nn(e, "/..") ? e.length : e.lastIndexOf("/../")) > t;
|
|
34771
34771
|
}
|
|
34772
34772
|
function tL(e, t, n, r) {
|
|
34773
|
-
return nL(e,
|
|
34773
|
+
return nL(e, k(t, (e) => !eL(e)), n, r);
|
|
34774
34774
|
}
|
|
34775
34775
|
function nL(e, t, n, r, i) {
|
|
34776
34776
|
let a = GC(t, po(_o(r), i), "exclude"), o = a && QC(a, n);
|
|
@@ -35598,7 +35598,7 @@ ${n.join("\n")}
|
|
|
35598
35598
|
let { path: e, parts: i } = cR(n, t), a = uR(r, e, !1, o, !0);
|
|
35599
35599
|
return a && rz({
|
|
35600
35600
|
resolved: a,
|
|
35601
|
-
isExternalLibraryImport:
|
|
35601
|
+
isExternalLibraryImport: T(i, "node_modules")
|
|
35602
35602
|
});
|
|
35603
35603
|
} else {
|
|
35604
35604
|
if (e & 2 && hn(t, "#")) {
|
|
@@ -35793,7 +35793,7 @@ ${n.join("\n")}
|
|
|
35793
35793
|
else if (Array.isArray(t)) {
|
|
35794
35794
|
for (let e of t) if (a(e)) return !0;
|
|
35795
35795
|
} else if (typeof t == "object" && t) return p($e(t), (e) => {
|
|
35796
|
-
if (e === "default" ||
|
|
35796
|
+
if (e === "default" || T(n.conditions, e) || BR(n.conditions, e)) return a(t[e]), !0;
|
|
35797
35797
|
});
|
|
35798
35798
|
}
|
|
35799
35799
|
}
|
|
@@ -35952,7 +35952,7 @@ ${n.join("\n")}
|
|
|
35952
35952
|
let e = a[i];
|
|
35953
35953
|
return c(e, "", !1, i);
|
|
35954
35954
|
}
|
|
35955
|
-
let l = Ne(
|
|
35955
|
+
let l = Ne(k($e(a), (e) => RR(e) || nn(e, "/")), IR);
|
|
35956
35956
|
for (let e of l) if (t.features & 16 && u(e, i)) {
|
|
35957
35957
|
let t = a[e], n = e.indexOf("*");
|
|
35958
35958
|
return c(t, i.substring(e.substring(0, n).length, i.length - (e.length - 1 - n)), !0, e);
|
|
@@ -36355,14 +36355,14 @@ ${n.join("\n")}
|
|
|
36355
36355
|
Sr("beforeBind"), fz(e, t), Sr("afterBind"), Cr("Bind", "beforeBind", "afterBind");
|
|
36356
36356
|
}
|
|
36357
36357
|
function dne() {
|
|
36358
|
-
var e, t, n, r, i, a, o, s, c, l, u, d, m, h, g, _, v, y, x, S, C, w,
|
|
36358
|
+
var e, t, n, r, i, a, o, s, c, l, u, d, m, h, g, _, v, y, x, S, C, w, E, D, O = !1, k = 0, A, j, ee = dz(1, void 0, void 0), M = dz(1, void 0, void 0), N = lt();
|
|
36359
36359
|
return ne;
|
|
36360
36360
|
function te(t, n, ...r) {
|
|
36361
36361
|
return Om(np(t) || e, t, n, ...r);
|
|
36362
36362
|
}
|
|
36363
36363
|
function ne(f, p) {
|
|
36364
36364
|
var b, x;
|
|
36365
|
-
e = f, t = p, n = nC(t), D = re(e, p), j = /* @__PURE__ */ new Set(), k = 0, A = yS.getSymbolConstructor(), U.attachFlowNodeDebugInfo(ee), U.attachFlowNodeDebugInfo(M), e.locals || ((b = Nr) == null || b.push(Nr.Phase.Bind, "bindSourceFile", { path: e.path }, !0), ln(e), (x = Nr) == null || x.pop(), e.symbolCount = k, e.classifiableNames = j, Vt(), Ht()), e = void 0, t = void 0, n = void 0, r = void 0, i = void 0, a = void 0, o = void 0, s = void 0, c = void 0, u = void 0, l = !1, d = void 0, m = void 0, h = void 0, g = void 0, _ = void 0, v = void 0, y = void 0, S = void 0, C = !1, w = !1, O = !1,
|
|
36365
|
+
e = f, t = p, n = nC(t), D = re(e, p), j = /* @__PURE__ */ new Set(), k = 0, A = yS.getSymbolConstructor(), U.attachFlowNodeDebugInfo(ee), U.attachFlowNodeDebugInfo(M), e.locals || ((b = Nr) == null || b.push(Nr.Phase.Bind, "bindSourceFile", { path: e.path }, !0), ln(e), (x = Nr) == null || x.pop(), e.symbolCount = k, e.classifiableNames = j, Vt(), Ht()), e = void 0, t = void 0, n = void 0, r = void 0, i = void 0, a = void 0, o = void 0, s = void 0, c = void 0, u = void 0, l = !1, d = void 0, m = void 0, h = void 0, g = void 0, _ = void 0, v = void 0, y = void 0, S = void 0, C = !1, w = !1, O = !1, E = 0;
|
|
36366
36366
|
}
|
|
36367
36367
|
function re(e, t) {
|
|
36368
36368
|
return CC(t, "alwaysStrict") && !e.isDeclarationFile ? !0 : !!e.externalModuleIndicator;
|
|
@@ -36462,7 +36462,7 @@ ${n.join("\n")}
|
|
|
36462
36462
|
let n = i, r = a, s = o;
|
|
36463
36463
|
if (t & 1 ? (e.kind !== 219 && (a = i), i = o = e, t & 32 && (i.locals = Of(), Ot(i))) : t & 2 && (o = e, t & 32 && (o.locals = void 0)), t & 4) {
|
|
36464
36464
|
let n = d, r = m, i = h, a = g, o = y, s = S, c = C, l = t & 16 && !lb(e, 1024) && !e.asteriskToken && !!Bh(e) || e.kind === 175;
|
|
36465
|
-
l || (d = dz(2, void 0, void 0), t & 144 && (d.node = e)), g = l || e.kind === 176 || ug(e) && (e.kind === 262 || e.kind === 218) ? Se() : void 0, y = void 0, m = void 0, h = void 0, S = void 0, C = !1, pe(e), e.flags &= -5633, !(d.flags & 1) && t & 8 && dp(e.body) && (e.flags |= 512, C && (e.flags |= 1024), e.endFlowNode = d), e.kind === 307 && (e.flags |=
|
|
36465
|
+
l || (d = dz(2, void 0, void 0), t & 144 && (d.node = e)), g = l || e.kind === 176 || ug(e) && (e.kind === 262 || e.kind === 218) ? Se() : void 0, y = void 0, m = void 0, h = void 0, S = void 0, C = !1, pe(e), e.flags &= -5633, !(d.flags & 1) && t & 8 && dp(e.body) && (e.flags |= 512, C && (e.flags |= 1024), e.endFlowNode = d), e.kind === 307 && (e.flags |= E, e.endFlowNode = d), g && (Ee(g, d), d = Me(g), (e.kind === 176 || e.kind === 175 || ug(e) && (e.kind === 262 || e.kind === 218)) && (e.returnFlowNode = d)), l || (d = n), m = r, h = i, g = a, y = o, S = s, C = c;
|
|
36466
36466
|
} else t & 64 ? (l = !1, pe(e), U.assertNotNode(e, X), e.flags = l ? e.flags | 256 : e.flags & -257) : pe(e);
|
|
36467
36467
|
i = n, a = r, o = s;
|
|
36468
36468
|
}
|
|
@@ -36670,7 +36670,7 @@ ${n.join("\n")}
|
|
|
36670
36670
|
e.flags |= e.flags & 2048 ? 4096 : 2048;
|
|
36671
36671
|
}
|
|
36672
36672
|
function Ee(e, t) {
|
|
36673
|
-
!(t.flags & 1) && !
|
|
36673
|
+
!(t.flags & 1) && !T(e.antecedent, t) && ((e.antecedent ||= []).push(t), Te(t));
|
|
36674
36674
|
}
|
|
36675
36675
|
function De(e, t, n) {
|
|
36676
36676
|
return t.flags & 1 ? t : n ? (n.kind === 112 && e & 64 || n.kind === 97 && e & 32) && !Xl(n) && !Ql(n.parent) ? ee : he(n) ? (Te(t), dz(e, n, t)) : t : e & 32 ? t : ee;
|
|
@@ -37585,13 +37585,13 @@ ${n.join("\n")}
|
|
|
37585
37585
|
}
|
|
37586
37586
|
}
|
|
37587
37587
|
function Yn(t) {
|
|
37588
|
-
!e.isDeclarationFile && !(t.flags & 33554432) && hv(t) && (
|
|
37588
|
+
!e.isDeclarationFile && !(t.flags & 33554432) && hv(t) && (E |= 4096), Zt(t), D ? ($t(t), Bt(t, 16, 110991)) : kt(t, 16, 110991);
|
|
37589
37589
|
}
|
|
37590
37590
|
function Xn(t) {
|
|
37591
|
-
return !e.isDeclarationFile && !(t.flags & 33554432) && hv(t) && (
|
|
37591
|
+
return !e.isDeclarationFile && !(t.flags & 33554432) && hv(t) && (E |= 4096), d && (t.flowNode = d), Zt(t), zt(t, 16, t.name ? t.name.escapedText : "__function");
|
|
37592
37592
|
}
|
|
37593
37593
|
function Zn(t, n, r) {
|
|
37594
|
-
return !e.isDeclarationFile && !(t.flags & 33554432) && hv(t) && (
|
|
37594
|
+
return !e.isDeclarationFile && !(t.flags & 33554432) && hv(t) && (E |= 4096), d && xh(t) && (t.flowNode = d), vv(t) ? zt(t, n, "__computed") : kt(t, n, r);
|
|
37595
37595
|
}
|
|
37596
37596
|
function Qn(e) {
|
|
37597
37597
|
let t = q(e, (e) => e.parent && nk(e.parent) && e.parent.extendsType === e);
|
|
@@ -38418,7 +38418,7 @@ ${n.join("\n")}
|
|
|
38418
38418
|
function lB(e) {
|
|
38419
38419
|
var t = [], n = (e) => {
|
|
38420
38420
|
t.push(e);
|
|
38421
|
-
}, r, i, a = yS.getSymbolConstructor(), o = yS.getTypeConstructor(), s = yS.getSignatureConstructor(), c = 0, l = 0, d = 0, m = 0, g = 0, _ = 0, v, y,
|
|
38421
|
+
}, r, i, a = yS.getSymbolConstructor(), o = yS.getTypeConstructor(), s = yS.getSignatureConstructor(), c = 0, l = 0, d = 0, m = 0, g = 0, _ = 0, v, y, E = !1, D = Of(), A = [1], j = e.getCompilerOptions(), N = nC(j), P = rC(j), F = !!j.experimentalDecorators, ie = _C(j), ae = TC(j), se = cC(j), ue = CC(j, "strictNullChecks"), de = CC(j, "strictFunctionTypes"), fe = CC(j, "strictBindCallApply"), pe = CC(j, "strictPropertyInitialization"), he = CC(j, "strictBuiltinIteratorReturn"), _e = CC(j, "noImplicitAny"), ve = CC(j, "noImplicitThis"), be = CC(j, "useUnknownInCatchVariables"), xe = j.exactOptionalPropertyTypes, Se = !!j.noUncheckedSideEffectImports, Ce = rre(), Te = zJ(), De = Gl(), Oe = xY(j, De.syntacticBuilderResolver), Me = JT({
|
|
38422
38422
|
evaluateElementAccessExpression: VK,
|
|
38423
38423
|
evaluateEntityNameExpression: BK
|
|
38424
38424
|
}), Ne = Of(), Pe = eo(4, "undefined");
|
|
@@ -38771,9 +38771,9 @@ ${n.join("\n")}
|
|
|
38771
38771
|
vo(t).skipDirectInference = !0, t = t.parent;
|
|
38772
38772
|
while (t && t !== n);
|
|
38773
38773
|
}
|
|
38774
|
-
|
|
38774
|
+
E = !0;
|
|
38775
38775
|
let r = st(e, t);
|
|
38776
|
-
if (
|
|
38776
|
+
if (E = !1, n) {
|
|
38777
38777
|
let t = e;
|
|
38778
38778
|
do
|
|
38779
38779
|
vo(t).skipDirectInference = void 0, t = t.parent;
|
|
@@ -39133,7 +39133,7 @@ ${n.join("\n")}
|
|
|
39133
39133
|
if (t.kind === 174) return !0;
|
|
39134
39134
|
if (NO(t) && jh(e) === jh(t)) {
|
|
39135
39135
|
let e = t.name;
|
|
39136
|
-
if ((X(e) || pO(e)) && NK(e, Uf(gc(t)),
|
|
39136
|
+
if ((X(e) || pO(e)) && NK(e, Uf(gc(t)), k(t.parent.members, IO), t.parent.pos, n.pos)) return !0;
|
|
39137
39137
|
}
|
|
39138
39138
|
} else if (!(t.kind === 172 && !ub(t)) || jh(e) !== jh(t)) return !0;
|
|
39139
39139
|
}
|
|
@@ -40100,7 +40100,7 @@ ${n.join("\n")}
|
|
|
40100
40100
|
function nl(e) {
|
|
40101
40101
|
if (e.constructSignatures.length === 0) return e;
|
|
40102
40102
|
if (e.objectTypeWithoutAbstractConstructSignatures) return e.objectTypeWithoutAbstractConstructSignatures;
|
|
40103
|
-
let t =
|
|
40103
|
+
let t = k(e.constructSignatures, (e) => !(e.flags & 4));
|
|
40104
40104
|
if (e.constructSignatures === t) return e;
|
|
40105
40105
|
let n = el(e.symbol, e.members, e.callSignatures, I(t) ? t : u, e.indexInfos);
|
|
40106
40106
|
return e.objectTypeWithoutAbstractConstructSignatures = n, n.objectTypeWithoutAbstractConstructSignatures = n, n;
|
|
@@ -40254,7 +40254,7 @@ ${n.join("\n")}
|
|
|
40254
40254
|
}
|
|
40255
40255
|
function Sl(e, t) {
|
|
40256
40256
|
let n;
|
|
40257
|
-
if (!b(
|
|
40257
|
+
if (!b(k(e.declarations, (e) => e.kind !== 80), r)) return;
|
|
40258
40258
|
return {
|
|
40259
40259
|
accessibility: 0,
|
|
40260
40260
|
aliasesToMakeVisible: n
|
|
@@ -40352,7 +40352,7 @@ ${n.join("\n")}
|
|
|
40352
40352
|
return !(e.internalFlags & 8 && Ub(t.name.expression) && CL(t.name).flags & 1);
|
|
40353
40353
|
},
|
|
40354
40354
|
createRecoveryBoundary(e) {
|
|
40355
|
-
return
|
|
40355
|
+
return A(e);
|
|
40356
40356
|
},
|
|
40357
40357
|
isDefinitelyReferenceToGlobalSymbolObject: Ma,
|
|
40358
40358
|
getAllAccessorDeclarations: kJ,
|
|
@@ -40452,7 +40452,7 @@ ${n.join("\n")}
|
|
|
40452
40452
|
serializeTypeForExpression: (e, t, n, r, i) => a(t, n, r, i, (t) => Oe.serializeTypeOfExpression(e, t)),
|
|
40453
40453
|
serializeTypeForDeclaration: (e, t, n, r, i, o) => a(n, r, i, o, (n) => Oe.serializeTypeOfDeclaration(e, t, n)),
|
|
40454
40454
|
serializeReturnTypeForSignature: (e, t, n, r, i) => a(t, n, r, i, (t) => Oe.serializeReturnTypeForSignature(e, gc(e), t)),
|
|
40455
|
-
indexInfoToIndexSignatureDeclaration: (e, t, n, r, i) => a(t, n, r, i, (t) =>
|
|
40455
|
+
indexInfoToIndexSignatureDeclaration: (e, t, n, r, i) => a(t, n, r, i, (t) => E(e, t, void 0)),
|
|
40456
40456
|
signatureToSignatureDeclaration: (e, t, n, r, i, o) => a(n, r, i, o, (n) => D(e, t, n)),
|
|
40457
40457
|
symbolToEntityName: (e, t, n, r, i, o) => a(n, r, i, o, (n) => Ce(e, n, t, !1)),
|
|
40458
40458
|
symbolToExpression: (e, t, n, r, i, o) => a(n, r, i, o, (n) => we(e, n, t)),
|
|
@@ -40594,7 +40594,7 @@ ${n.join("\n")}
|
|
|
40594
40594
|
let d = rS(e);
|
|
40595
40595
|
if (d & 4) return U.assert(!!(e.flags & 524288)), e.node ? w(e, j) : j(e);
|
|
40596
40596
|
if (e.flags & 262144 || d & 3) {
|
|
40597
|
-
if (e.flags & 262144 &&
|
|
40597
|
+
if (e.flags & 262144 && T(i.inferTypeParameters, e)) {
|
|
40598
40598
|
i.approximateLength += Jc(e.symbol).length + 6;
|
|
40599
40599
|
let t, n = m_(e);
|
|
40600
40600
|
if (n) {
|
|
@@ -40704,15 +40704,15 @@ ${n.join("\n")}
|
|
|
40704
40704
|
let e = Oe.tryReuseExistingTypeNode(i, r);
|
|
40705
40705
|
if (e) return e;
|
|
40706
40706
|
}
|
|
40707
|
-
return i.visitedTypes?.has(n) ? m(i) : w(e,
|
|
40707
|
+
return i.visitedTypes?.has(n) ? m(i) : w(e, A);
|
|
40708
40708
|
}
|
|
40709
40709
|
let o = Bl(e) ? 788968 : 111551;
|
|
40710
40710
|
if (vB(r.valueDeclaration) || r.flags & 32 && !hf(r) && !(r.valueDeclaration && Hu(r.valueDeclaration) && i.flags & 2048 && (!_A(r.valueDeclaration) || _l(r, i.enclosingDeclaration, o, !1).accessibility !== 0)) || r.flags & 896 || a()) return be(r, i, o);
|
|
40711
40711
|
if (i.visitedTypes?.has(n)) {
|
|
40712
40712
|
let t = tu(e);
|
|
40713
40713
|
return t ? be(t, i, 788968) : m(i);
|
|
40714
|
-
} else return w(e,
|
|
40715
|
-
} else return
|
|
40714
|
+
} else return w(e, A);
|
|
40715
|
+
} else return A(e);
|
|
40716
40716
|
function a() {
|
|
40717
40717
|
let e = !!(r.flags & 8192) && I(r.declarations, (e) => ub(e)), t = !!(r.flags & 16) && (r.parent || p(r.declarations, (e) => e.parent.kind === 307 || e.parent.kind === 268));
|
|
40718
40718
|
if (e || t) return (!!(i.flags & 4096) || i.visitedTypes?.has(n)) && (!(i.flags & 8) || pl(r, i.enclosingDeclaration));
|
|
@@ -40748,7 +40748,7 @@ ${n.join("\n")}
|
|
|
40748
40748
|
return e && e.length === 0 ? Z(Y.createNodeArray(void 0, e.hasTrailingComma), e) : mB(e, t, n, r, i);
|
|
40749
40749
|
}
|
|
40750
40750
|
}
|
|
40751
|
-
function
|
|
40751
|
+
function A(e) {
|
|
40752
40752
|
if (Wg(e) || e.containsError) return x(e);
|
|
40753
40753
|
let t = Xg(e);
|
|
40754
40754
|
if (!t.properties.length && !t.indexInfos.length) {
|
|
@@ -40762,7 +40762,7 @@ ${n.join("\n")}
|
|
|
40762
40762
|
return D(e, 185, i);
|
|
40763
40763
|
}
|
|
40764
40764
|
}
|
|
40765
|
-
let n =
|
|
40765
|
+
let n = k(t.constructSignatures, (e) => !!(e.flags & 4));
|
|
40766
40766
|
if (I(n)) {
|
|
40767
40767
|
let e = M(n, (e) => ab(e));
|
|
40768
40768
|
return t.callSignatures.length + (t.constructSignatures.length - n.length) + t.indexInfos.length + (i.flags & 2048 ? O(t.properties, (e) => !(e.flags & 4194304)) : f(t.properties)) && e.push(nl(t)), l(ZC(e), i);
|
|
@@ -40861,7 +40861,7 @@ ${n.join("\n")}
|
|
|
40861
40861
|
let t = [];
|
|
40862
40862
|
for (let n of e.callSignatures) t.push(D(n, 179, i));
|
|
40863
40863
|
for (let n of e.constructSignatures) n.flags & 4 || t.push(D(n, 180, i));
|
|
40864
|
-
for (let n of e.indexInfos) t.push(
|
|
40864
|
+
for (let n of e.indexInfos) t.push(E(n, i, e.objectFlags & 1024 ? m(i) : void 0));
|
|
40865
40865
|
let n = e.properties;
|
|
40866
40866
|
if (!n) return t;
|
|
40867
40867
|
let r = 0;
|
|
@@ -40887,7 +40887,7 @@ ${n.join("\n")}
|
|
|
40887
40887
|
return e.approximateLength += 3, e.flags & 1 ? QE(Y.createKeywordTypeNode(133), 3, "elided") : Y.createTypeReferenceNode(Y.createIdentifier("..."), void 0);
|
|
40888
40888
|
}
|
|
40889
40889
|
function g(e, t) {
|
|
40890
|
-
return !!(Ux(e) & 8192) && (
|
|
40890
|
+
return !!(Ux(e) & 8192) && (T(t.reverseMappedStack, e) || t.reverseMappedStack?.[0] && !(rS(He(t.reverseMappedStack).links.propertyType) & 16) || n());
|
|
40891
40891
|
function n() {
|
|
40892
40892
|
if ((t.reverseMappedStack?.length ?? 0) < 3) return !1;
|
|
40893
40893
|
for (let n = 0; n < 3; n++) if (t.reverseMappedStack[t.reverseMappedStack.length - 1 - n].links.mappedType.symbol !== e.links.mappedType.symbol) return !1;
|
|
@@ -40985,7 +40985,7 @@ ${n.join("\n")}
|
|
|
40985
40985
|
function w(e, t) {
|
|
40986
40986
|
return e === t || !!e.symbol && e.symbol === t.symbol || !!e.aliasSymbol && e.aliasSymbol === t.aliasSymbol;
|
|
40987
40987
|
}
|
|
40988
|
-
function
|
|
40988
|
+
function E(e, t, n) {
|
|
40989
40989
|
let r = xm(e) || "x", i = l(e.keyType, t), a = Y.createParameterDeclaration(void 0, void 0, r, void 0, i, void 0);
|
|
40990
40990
|
return n ||= l(e.type || Rt, t), !e.type && !(t.flags & 2097152) && (t.encounteredError = !0), t.approximateLength += r.length + 4, Y.createIndexSignature(e.isReadonly ? [Y.createToken(148)] : void 0, [a], n);
|
|
40991
40991
|
}
|
|
@@ -41004,7 +41004,7 @@ ${n.join("\n")}
|
|
|
41004
41004
|
let h = t === 179 ? Y.createCallSignature(i, d, p) : t === 180 ? Y.createConstructSignature(i, d, p) : t === 173 ? Y.createMethodSignature(m, r?.name ?? Y.createIdentifier(""), r?.questionToken, i, d, p) : t === 174 ? Y.createMethodDeclaration(m, void 0, r?.name ?? Y.createIdentifier(""), void 0, i, d, p, void 0) : t === 176 ? Y.createConstructorDeclaration(m, d, void 0) : t === 177 ? Y.createGetAccessorDeclaration(m, r?.name ?? Y.createIdentifier(""), d, p, void 0) : t === 178 ? Y.createSetAccessorDeclaration(m, r?.name ?? Y.createIdentifier(""), d, void 0) : t === 181 ? Y.createIndexSignature(m, d, p) : t === 317 ? Y.createJSDocFunctionType(d, p) : t === 184 ? Y.createFunctionTypeNode(i, d, p ?? Y.createTypeReferenceNode(Y.createIdentifier(""))) : t === 185 ? Y.createConstructorTypeNode(m, i, d, p ?? Y.createTypeReferenceNode(Y.createIdentifier(""))) : t === 262 ? Y.createFunctionDeclaration(m, void 0, r?.name ? Ct(r.name, X) : Y.createIdentifier(""), i, d, p, void 0) : t === 218 ? Y.createFunctionExpression(m, void 0, r?.name ? Ct(r.name, X) : Y.createIdentifier(""), i, d, p, Y.createBlock([])) : t === 219 ? Y.createArrowFunction(m, i, d, p, void 0, Y.createBlock([])) : U.assertNever(t);
|
|
41005
41005
|
return a && (h.typeArguments = Y.createNodeArray(a)), e.declaration?.kind === 323 && e.declaration.parent.kind === 339 && QE(h, 3, Pp(e.declaration.parent.parent, !0).slice(2, -2).split(/\r\n|\n|\r/).map((e) => e.replace(/^\s+/, " ")).join("\n"), !0), c?.(), h;
|
|
41006
41006
|
}
|
|
41007
|
-
function
|
|
41007
|
+
function A(e) {
|
|
41008
41008
|
r && r.throwIfCancellationRequested && r.throwIfCancellationRequested();
|
|
41009
41009
|
let t, n, i = !1, a = e.tracker, o = e.trackedSymbols;
|
|
41010
41010
|
e.trackedSymbols = void 0;
|
|
@@ -41543,12 +41543,12 @@ ${n.join("\n")}
|
|
|
41543
41543
|
return !!e && e.kind === 80;
|
|
41544
41544
|
}
|
|
41545
41545
|
function w(e) {
|
|
41546
|
-
return Zk(e) ?
|
|
41546
|
+
return Zk(e) ? k(M(e.declarationList.declarations, tl), S) : k([tl(e)], S);
|
|
41547
41547
|
}
|
|
41548
|
-
function
|
|
41548
|
+
function T(e) {
|
|
41549
41549
|
let t = x(e, LA), n = C(e, xA), r = n === -1 ? void 0 : e[n];
|
|
41550
41550
|
if (r && t && t.isExportEquals && X(t.expression) && X(r.name) && Kc(r.name) === Kc(t.expression) && r.body && SA(r.body)) {
|
|
41551
|
-
let i =
|
|
41551
|
+
let i = k(e, (e) => !!(xb(e) & 32)), a = r.name, o = r.body;
|
|
41552
41552
|
if (f(i) && (r = Y.updateModuleDeclaration(r, r.modifiers, r.name, o = Y.updateModuleBlock(o, Y.createNodeArray([...r.body.statements, Y.createExportDeclaration(void 0, !1, Y.createNamedExports(M(re(i, (e) => w(e)), (e) => Y.createExportSpecifier(!1, void 0, e))), void 0)]))), e = [
|
|
41553
41553
|
...e.slice(0, n),
|
|
41554
41554
|
r,
|
|
@@ -41558,27 +41558,27 @@ ${n.join("\n")}
|
|
|
41558
41558
|
let n = !I(o.statements, (e) => lb(e, 32) || LA(e) || RA(e));
|
|
41559
41559
|
p(o.statements, (e) => {
|
|
41560
41560
|
de(e, n ? 32 : 0);
|
|
41561
|
-
}), e = [...
|
|
41561
|
+
}), e = [...k(e, (e) => e !== r && e !== t), ...c];
|
|
41562
41562
|
}
|
|
41563
41563
|
}
|
|
41564
41564
|
return e;
|
|
41565
41565
|
}
|
|
41566
41566
|
function O(e) {
|
|
41567
|
-
let t =
|
|
41568
|
-
f(t) > 1 && (e = [...
|
|
41569
|
-
let n =
|
|
41567
|
+
let t = k(e, (e) => RA(e) && !e.moduleSpecifier && !!e.exportClause && zA(e.exportClause));
|
|
41568
|
+
f(t) > 1 && (e = [...k(e, (e) => !RA(e) || !!e.moduleSpecifier || !e.exportClause), Y.createExportDeclaration(void 0, !1, Y.createNamedExports(re(t, (e) => Ct(e.exportClause, zA).elements)), void 0)]);
|
|
41569
|
+
let n = k(e, (e) => RA(e) && !!e.moduleSpecifier && !!e.exportClause && zA(e.exportClause));
|
|
41570
41570
|
if (f(n) > 1) {
|
|
41571
41571
|
let t = lt(n, (e) => XD(e.moduleSpecifier) ? ">" + e.moduleSpecifier.text : ">");
|
|
41572
|
-
if (t.length !== n.length) for (let n of t) n.length > 1 && (e = [...
|
|
41572
|
+
if (t.length !== n.length) for (let n of t) n.length > 1 && (e = [...k(e, (e) => !n.includes(e)), Y.createExportDeclaration(void 0, !1, Y.createNamedExports(re(n, (e) => Ct(e.exportClause, zA).elements)), n[0].moduleSpecifier)]);
|
|
41573
41573
|
}
|
|
41574
41574
|
return e;
|
|
41575
41575
|
}
|
|
41576
|
-
function
|
|
41576
|
+
function A(e) {
|
|
41577
41577
|
let t = C(e, (e) => RA(e) && !e.moduleSpecifier && !e.attributes && !!e.exportClause && zA(e.exportClause));
|
|
41578
41578
|
if (t >= 0) {
|
|
41579
41579
|
let n = e[t], r = oe(n.exportClause.elements, (t) => {
|
|
41580
41580
|
if (!t.propertyName && t.name.kind !== 11) {
|
|
41581
|
-
let n = t.name, r =
|
|
41581
|
+
let n = t.name, r = k(ge(e), (t) => Zc(e[t], n));
|
|
41582
41582
|
if (f(r) && b(r, (t) => TT(e[t]))) {
|
|
41583
41583
|
for (let t of r) e[t] = ee(e[t]);
|
|
41584
41584
|
return;
|
|
@@ -41591,7 +41591,7 @@ ${n.join("\n")}
|
|
|
41591
41591
|
return e;
|
|
41592
41592
|
}
|
|
41593
41593
|
function j(e) {
|
|
41594
|
-
return e =
|
|
41594
|
+
return e = T(e), e = O(e), e = A(e), o && (fj(o) && Vm(o) || xA(o)) && (!I(e, Dd) || !Td(e) && I(e, Ed)) && e.push(sM(Y)), e;
|
|
41595
41595
|
}
|
|
41596
41596
|
function ee(e) {
|
|
41597
41597
|
let t = (xb(e) | 32) & -129;
|
|
@@ -41689,7 +41689,7 @@ ${n.join("\n")}
|
|
|
41689
41689
|
for (let t of dc(n).values()) js(Os(t)) & 111551 || e.add(t);
|
|
41690
41690
|
t = rt(e);
|
|
41691
41691
|
}
|
|
41692
|
-
return
|
|
41692
|
+
return k(t, (e) => Ee(e) && Gs(e.escapedName, 99));
|
|
41693
41693
|
}
|
|
41694
41694
|
function _e(e) {
|
|
41695
41695
|
return b(he(e), (e) => !(js(Os(e)) & 111551));
|
|
@@ -41697,7 +41697,7 @@ ${n.join("\n")}
|
|
|
41697
41697
|
function ye(e, t, n) {
|
|
41698
41698
|
let i = ct(he(e), (t) => t.parent && t.parent === e ? "real" : "merged"), a = i.get("real") || u, o = i.get("merged") || u;
|
|
41699
41699
|
if (f(a) && Te(a, Je(e, t), n, !!(e.flags & 67108880)), f(o)) {
|
|
41700
|
-
let n = np(r.enclosingDeclaration), i = Je(e, t), a = Y.createModuleBlock([Y.createExportDeclaration(void 0, !1, Y.createNamedExports(oe(
|
|
41700
|
+
let n = np(r.enclosingDeclaration), i = Je(e, t), a = Y.createModuleBlock([Y.createExportDeclaration(void 0, !1, Y.createNamedExports(oe(k(o, (e) => e.escapedName !== "export="), (t) => {
|
|
41701
41701
|
var i, a;
|
|
41702
41702
|
let o = Gc(t.escapedName), s = Je(t, o), c = t.declarations && Go(t);
|
|
41703
41703
|
if (n && (c ? n !== np(c) : !I(t.declarations, (e) => np(e) === n))) {
|
|
@@ -41713,7 +41713,7 @@ ${n.join("\n")}
|
|
|
41713
41713
|
}
|
|
41714
41714
|
}
|
|
41715
41715
|
function be(e, t, n) {
|
|
41716
|
-
de(Y.createEnumDeclaration(Y.createModifiersFromModifierFlags(eH(e) ? 4096 : 0), Je(e, t), M(
|
|
41716
|
+
de(Y.createEnumDeclaration(Y.createModifiersFromModifierFlags(eH(e) ? 4096 : 0), Je(e, t), M(k(o_(Uf(e)), (e) => !!(e.flags & 8)), (e) => {
|
|
41717
41717
|
let t = e.declarations && e.declarations[0] && dj(e.declarations[0]) ? TJ(e.declarations[0]) : void 0;
|
|
41718
41718
|
return Y.createEnumMember(Gc(e.escapedName), t === void 0 ? void 0 : typeof t == "string" ? Y.createStringLiteral(t) : Y.createNumericLiteral(t));
|
|
41719
41719
|
})), n);
|
|
@@ -41724,7 +41724,7 @@ ${n.join("\n")}
|
|
|
41724
41724
|
let t = D(e, 262, r, { name: Y.createIdentifier(i) });
|
|
41725
41725
|
de(n(r, t, Se(e)), a);
|
|
41726
41726
|
}
|
|
41727
|
-
t.flags & 1536 && t.exports && t.exports.size || Te(
|
|
41727
|
+
t.flags & 1536 && t.exports && t.exports.size || Te(k(o_(e), Ee), i, a, !0);
|
|
41728
41728
|
}
|
|
41729
41729
|
function Se(e) {
|
|
41730
41730
|
if (e.declaration && e.declaration.parent) {
|
|
@@ -41775,20 +41775,20 @@ ${n.join("\n")}
|
|
|
41775
41775
|
function ke(e, t, a) {
|
|
41776
41776
|
let o = e.declarations?.find(Hu), s = r.enclosingDeclaration;
|
|
41777
41777
|
r.enclosingDeclaration = o || s;
|
|
41778
|
-
let c = M(tp(e), (e) => ie(e, r)), l = Gm(wp(e)), d = _p(l), p = o && ev(o), m = p && L(p) || oe(hp(l), Ge), h = Uf(e), g = !!h.symbol?.valueDeclaration && Hu(h.symbol.valueDeclaration), _ = g ? mp(h) : Rt, v = [...f(d) ? [Y.createHeritageClause(96, M(d, (e) => He(e, _, t)))] : [], ...f(m) ? [Y.createHeritageClause(119, m)] : []], y = Tre(l, d, o_(l)), b =
|
|
41778
|
+
let c = M(tp(e), (e) => ie(e, r)), l = Gm(wp(e)), d = _p(l), p = o && ev(o), m = p && L(p) || oe(hp(l), Ge), h = Uf(e), g = !!h.symbol?.valueDeclaration && Hu(h.symbol.valueDeclaration), _ = g ? mp(h) : Rt, v = [...f(d) ? [Y.createHeritageClause(96, M(d, (e) => He(e, _, t)))] : [], ...f(m) ? [Y.createHeritageClause(119, m)] : []], y = Tre(l, d, o_(l)), b = k(y, (e) => {
|
|
41779
41779
|
let t = e.valueDeclaration;
|
|
41780
41780
|
return !!t && !($c(t) && pO(t.name));
|
|
41781
41781
|
}), x = I(y, (e) => {
|
|
41782
41782
|
let t = e.valueDeclaration;
|
|
41783
41783
|
return !!t && $c(t) && pO(t.name);
|
|
41784
|
-
}) ? [Y.createPropertyDeclaration(void 0, Y.createPrivateIdentifier("#private"), void 0, void 0, void 0)] : u, S = re(b, (e) => i(e, !1, d[0])), C = re(
|
|
41784
|
+
}) ? [Y.createPropertyDeclaration(void 0, Y.createPrivateIdentifier("#private"), void 0, void 0, void 0)] : u, S = re(b, (e) => i(e, !1, d[0])), C = re(k(o_(h), (e) => !(e.flags & 4194304) && e.escapedName !== "prototype" && !Ee(e)), (e) => i(e, !0, _)), w = !g && e.valueDeclaration && ug(e.valueDeclaration) && !I(Yv(h, 1)) ? [Y.createConstructorDeclaration(Y.createModifiersFromModifierFlags(2), [], void 0)] : Be(1, h, _, 176), T = Ve(l, d[0]);
|
|
41785
41785
|
r.enclosingDeclaration = s, de(n(r, Y.createClassDeclaration(void 0, t, c, v, [
|
|
41786
41786
|
...T,
|
|
41787
41787
|
...C,
|
|
41788
41788
|
...w,
|
|
41789
41789
|
...S,
|
|
41790
41790
|
...x
|
|
41791
|
-
]), e.declarations &&
|
|
41791
|
+
]), e.declarations && k(e.declarations, (e) => _A(e) || Rk(e))[0]), a);
|
|
41792
41792
|
}
|
|
41793
41793
|
function Me(e) {
|
|
41794
41794
|
return h(e, (e) => {
|
|
@@ -41906,7 +41906,7 @@ ${n.join("\n")}
|
|
|
41906
41906
|
}
|
|
41907
41907
|
function Ie(e, t) {
|
|
41908
41908
|
let n = np(r.enclosingDeclaration);
|
|
41909
|
-
return rS(e) & 48 && !I(e.symbol?.declarations, Zu) && !f(ny(e)) && !Bl(e) && !!(f(
|
|
41909
|
+
return rS(e) & 48 && !I(e.symbol?.declarations, Zu) && !f(ny(e)) && !Bl(e) && !!(f(k(o_(e), Ee)) || f(Yv(e, 0))) && !f(Yv(e, 1)) && !je(t, o) && !(e.symbol && I(e.symbol.declarations, (e) => np(e) !== n)) && !I(o_(e), (e) => um(e.escapedName)) && !I(o_(e), (e) => I(e.declarations, (e) => np(e) !== n)) && b(o_(e), (e) => Gs(Jc(e), N) ? e.flags & 98304 ? Wf(e) === Hf(e) : !0 : !1);
|
|
41910
41910
|
}
|
|
41911
41911
|
function Re(e, t, i) {
|
|
41912
41912
|
return function(a, o, s) {
|
|
@@ -41987,7 +41987,7 @@ ${n.join("\n")}
|
|
|
41987
41987
|
let e = ry(t, i.keyType);
|
|
41988
41988
|
if (e && OD(i.type, e.type)) continue;
|
|
41989
41989
|
}
|
|
41990
|
-
n.push(
|
|
41990
|
+
n.push(E(i, r, void 0));
|
|
41991
41991
|
}
|
|
41992
41992
|
return n;
|
|
41993
41993
|
}
|
|
@@ -42388,7 +42388,7 @@ ${n.join("\n")}
|
|
|
42388
42388
|
return ad(OH(e, TH(e, n)), r, i);
|
|
42389
42389
|
}
|
|
42390
42390
|
if (NO(e) && (_e || ug(e))) if (db(e)) {
|
|
42391
|
-
let t =
|
|
42391
|
+
let t = k(e.parent.members, IO), n = t.length ? _d(e.symbol, t) : xb(e) & 128 ? Vk(e.symbol) : void 0;
|
|
42392
42392
|
return n && ad(n, !0, i);
|
|
42393
42393
|
} else {
|
|
42394
42394
|
let t = XT(e.parent), n = t ? vd(e.symbol, t) : xb(e) & 128 ? Vk(e.symbol) : void 0;
|
|
@@ -42582,7 +42582,7 @@ ${n.join("\n")}
|
|
|
42582
42582
|
function Fd(e, t, n) {
|
|
42583
42583
|
let r = e.elements, i = Ve(r), a = i && i.kind === 208 && i.dotDotDotToken ? i : void 0;
|
|
42584
42584
|
if (r.length === 0 || r.length === 1 && a) return N >= 2 ? HS(Rt) : jr;
|
|
42585
|
-
let o = M(r, (e) => zk(e) ? Rt : Nd(e, t, n)), s =
|
|
42585
|
+
let o = M(r, (e) => zk(e) ? Rt : Nd(e, t, n)), s = w(r, (e) => !(e === a || zk(e) || _L(e)), r.length - 1) + 1, c = QS(o, M(r, (e, t) => e === a ? 4 : t >= s ? 2 : 1));
|
|
42586
42586
|
return t && (c = ex(c), c.pattern = e, c.objectFlags |= 131072), c;
|
|
42587
42587
|
}
|
|
42588
42588
|
function zd(e, t = !1, n = !1) {
|
|
@@ -42905,7 +42905,7 @@ ${n.join("\n")}
|
|
|
42905
42905
|
}
|
|
42906
42906
|
function fp(e, t, n) {
|
|
42907
42907
|
let r = f(t), i = ug(n);
|
|
42908
|
-
return
|
|
42908
|
+
return k(Yv(e, 1), (e) => (i || r >= by(e.typeParameters)) && r <= f(e.typeParameters));
|
|
42909
42909
|
}
|
|
42910
42910
|
function pp(e, t, n) {
|
|
42911
42911
|
let r = fp(e, t, n), i = M(t, OE);
|
|
@@ -43291,7 +43291,7 @@ ${n.join("\n")}
|
|
|
43291
43291
|
let t = n ? Gm(mD(e, i), n) : e;
|
|
43292
43292
|
Qp(a, o_(t)), o = me(o, Yv(t, 0)), s = me(s, Yv(t, 1));
|
|
43293
43293
|
let r = t === Rt ? [or] : ny(t);
|
|
43294
|
-
c = me(c,
|
|
43294
|
+
c = me(c, k(r, (e) => !Zv(c, e.keyType)));
|
|
43295
43295
|
}
|
|
43296
43296
|
}
|
|
43297
43297
|
Qc(e, a, o, s, c);
|
|
@@ -43818,7 +43818,7 @@ ${n.join("\n")}
|
|
|
43818
43818
|
if (!e.immediateBaseConstraint) {
|
|
43819
43819
|
if (!lu(e, 4)) return qn;
|
|
43820
43820
|
let n, r = nA(e);
|
|
43821
|
-
if ((t.length < 10 || t.length < 50 && !
|
|
43821
|
+
if ((t.length < 10 || t.length < 50 && !T(t, r)) && (t.push(r), n = i(Rw(e, !1)), t.pop()), !mu()) {
|
|
43822
43822
|
if (e.flags & 262144) {
|
|
43823
43823
|
let t = Eb(e);
|
|
43824
43824
|
if (t) {
|
|
@@ -43976,7 +43976,7 @@ ${n.join("\n")}
|
|
|
43976
43976
|
continue;
|
|
43977
43977
|
}
|
|
43978
43978
|
if (t.forEach((e) => {
|
|
43979
|
-
|
|
43979
|
+
T(n.declarations, e) || t.delete(e);
|
|
43980
43980
|
}), t.size === 0) return;
|
|
43981
43981
|
}
|
|
43982
43982
|
return t;
|
|
@@ -44420,7 +44420,7 @@ ${n.join("\n")}
|
|
|
44420
44420
|
if (Zv(n, u)) continue;
|
|
44421
44421
|
ND(u, En) && (ND(u, nn) ? (r = !0, gb(t) || (i = !1)) : ND(u, H) ? (a = !0, gb(t) || (o = !1)) : (s = !0, gb(t) || (c = !1)), l.push(t.symbol));
|
|
44422
44422
|
}
|
|
44423
|
-
let u = me(l,
|
|
44423
|
+
let u = me(l, k(t, (t) => t !== e));
|
|
44424
44424
|
return s && !Zv(n, tn) && n.push(TL(c, 0, u, tn)), r && !Zv(n, nn) && n.push(TL(i, 0, u, nn)), a && !Zv(n, H) && n.push(TL(o, 0, u, H)), n;
|
|
44425
44425
|
}
|
|
44426
44426
|
return u;
|
|
@@ -44429,7 +44429,7 @@ ${n.join("\n")}
|
|
|
44429
44429
|
return !!(e.flags & 4108) || kw(e) || !!(e.flags & 2097152) && !Mw(e) && I(e.types, Tb);
|
|
44430
44430
|
}
|
|
44431
44431
|
function Eb(e) {
|
|
44432
|
-
return oe(
|
|
44432
|
+
return oe(k(e.symbol && e.symbol.declarations, kO), Hl)[0];
|
|
44433
44433
|
}
|
|
44434
44434
|
function xee(e, t) {
|
|
44435
44435
|
let n;
|
|
@@ -45063,7 +45063,7 @@ ${n.join("\n")}
|
|
|
45063
45063
|
return n >= 0 ? n : e.elementFlags.length;
|
|
45064
45064
|
}
|
|
45065
45065
|
function hC(e, t) {
|
|
45066
|
-
return e.elementFlags.length -
|
|
45066
|
+
return e.elementFlags.length - w(e.elementFlags, (e) => !(e & t)) - 1;
|
|
45067
45067
|
}
|
|
45068
45068
|
function gC(e) {
|
|
45069
45069
|
return e.fixedLength + hC(e, 3);
|
|
@@ -45141,7 +45141,7 @@ ${n.join("\n")}
|
|
|
45141
45141
|
}
|
|
45142
45142
|
}
|
|
45143
45143
|
function PC(e) {
|
|
45144
|
-
let t =
|
|
45144
|
+
let t = k(e, kw);
|
|
45145
45145
|
if (t.length) {
|
|
45146
45146
|
let n = e.length;
|
|
45147
45147
|
for (; n > 0;) {
|
|
@@ -45282,7 +45282,7 @@ ${n.join("\n")}
|
|
|
45282
45282
|
return !0;
|
|
45283
45283
|
}
|
|
45284
45284
|
function qC(e) {
|
|
45285
|
-
let t = e.length, n =
|
|
45285
|
+
let t = e.length, n = k(e, (e) => !!(e.flags & 128));
|
|
45286
45286
|
for (; t > 0;) {
|
|
45287
45287
|
t--;
|
|
45288
45288
|
let r = e[t];
|
|
@@ -45324,7 +45324,7 @@ ${n.join("\n")}
|
|
|
45324
45324
|
}
|
|
45325
45325
|
function ZC(e, t = 0, n, r) {
|
|
45326
45326
|
let i = /* @__PURE__ */ new Map(), a = WC(i, 0, e), o = rt(i.values()), s = 0;
|
|
45327
|
-
if (a & 131072) return
|
|
45327
|
+
if (a & 131072) return T(o, pn) ? pn : fn;
|
|
45328
45328
|
if (ue && a & 98304 && a & 84410368 || a & 67108864 && a & 402783228 || a & 402653316 && a & 67238776 || a & 296 && a & 469891796 || a & 2112 && a & 469889980 || a & 12288 && a & 469879804 || a & 49152 && a & 469842940 || a & 402653184 && a & 128 && qC(o)) return fn;
|
|
45329
45329
|
if (a & 1) return a & 8388608 ? Vt : a & 1073741824 ? Ut : Rt;
|
|
45330
45330
|
if (!ue && a & 98304) return a & 16777216 ? fn : a & 32768 ? Jt : Qt;
|
|
@@ -45495,7 +45495,7 @@ ${n.join("\n")}
|
|
|
45495
45495
|
function mw(e, t) {
|
|
45496
45496
|
let n = C(t, (e) => !!(e.flags & 1179648));
|
|
45497
45497
|
if (n >= 0) return $C(t) ? MP(t[n], (r) => mw(e, Ke(t, n, r))) : Ut;
|
|
45498
|
-
if (
|
|
45498
|
+
if (T(t, Vt)) return Vt;
|
|
45499
45499
|
let r = [], i = [], a = e[0];
|
|
45500
45500
|
if (!c(e, t)) return tn;
|
|
45501
45501
|
if (r.length === 0) return _E(a);
|
|
@@ -45880,7 +45880,7 @@ ${n.join("\n")}
|
|
|
45880
45880
|
function WT(e) {
|
|
45881
45881
|
let t = vo(e);
|
|
45882
45882
|
if (!t.resolvedType) {
|
|
45883
|
-
let n = OE(e.checkType), r = iE(e), i = aE(r), a = Qf(e, !0), o = i ? a :
|
|
45883
|
+
let n = OE(e.checkType), r = iE(e), i = aE(r), a = Qf(e, !0), o = i ? a : k(a, (t) => aD(t, e)), s = {
|
|
45884
45884
|
node: e,
|
|
45885
45885
|
checkType: n,
|
|
45886
45886
|
extendsType: OE(e.extendsType),
|
|
@@ -46288,7 +46288,7 @@ ${n.join("\n")}
|
|
|
46288
46288
|
}
|
|
46289
46289
|
s = t || u;
|
|
46290
46290
|
let n = e.objectFlags & 8388612 ? [i] : e.symbol.declarations;
|
|
46291
|
-
s = (o.objectFlags & 8388612 || o.symbol.flags & 8192 || o.symbol.flags & 2048) && !o.aliasTypeArguments ?
|
|
46291
|
+
s = (o.objectFlags & 8388612 || o.symbol.flags & 8192 || o.symbol.flags & 2048) && !o.aliasTypeArguments ? k(s, (e) => I(n, (t) => aD(e, t))) : s, a.outerTypeParameters = s;
|
|
46292
46292
|
}
|
|
46293
46293
|
if (s.length) {
|
|
46294
46294
|
let i = WE(e.mapper, t), a = M(s, (e) => FE(e, i)), c = n || e.aliasSymbol, l = n ? r : jE(e.aliasTypeArguments, t), u = (e.objectFlags & 134217728 ? "S" : "") + Mb(a) + Nb(c, l);
|
|
@@ -46370,7 +46370,7 @@ ${n.join("\n")}
|
|
|
46370
46370
|
let c = i[s];
|
|
46371
46371
|
return s < a ? dD(t, _E("" + s), !!(c & 2), o) : c & 8 ? mD(t, KE(n, e, r)) : MA(mD(t, KE(n, US(e), r))) ?? qt;
|
|
46372
46372
|
}), c = zg(t), l = c & 4 ? M(i, (e) => e & 1 ? 2 : e) : c & 8 ? M(i, (e) => e & 2 ? 1 : e) : i, u = cD(e.target.readonly, zg(t));
|
|
46373
|
-
return
|
|
46373
|
+
return T(s, Ut) ? Ut : QS(s, l, u, e.target.labeledElementDeclarations);
|
|
46374
46374
|
}
|
|
46375
46375
|
function uD(e, t, n) {
|
|
46376
46376
|
let r = dD(t, nn, !0, n);
|
|
@@ -46978,10 +46978,10 @@ ${n.join("\n")}
|
|
|
46978
46978
|
}
|
|
46979
46979
|
function vO(e, t, n, r, i, a, o) {
|
|
46980
46980
|
var s;
|
|
46981
|
-
let c, l, d, p, m, h, g = 0, _ = 0, y = 0, b = 0, x = !1, S = 0, C = 0, w,
|
|
46981
|
+
let c, l, d, p, m, h, g = 0, _ = 0, y = 0, b = 0, x = !1, S = 0, C = 0, w, E, D = 16e6 - n.size >> 3;
|
|
46982
46982
|
U.assert(n !== ka || !r, "no error reporting in identity checking");
|
|
46983
46983
|
let O = se(e, t, 3, !!r, i);
|
|
46984
|
-
if (
|
|
46984
|
+
if (E && N(), x) {
|
|
46985
46985
|
let i = Pk(e, t, 0, n, !1);
|
|
46986
46986
|
n.set(i, 2 | (D <= 0 ? 32 : 64)), (s = Nr) == null || s.instant(Nr.Phase.CheckTypes, "checkTypeRelatedTo_DepthLimit", {
|
|
46987
46987
|
sourceId: e.id,
|
|
@@ -47009,24 +47009,24 @@ ${n.join("\n")}
|
|
|
47009
47009
|
}
|
|
47010
47010
|
return r && o && o.skipLogging && O === 0 && U.assert(!!o.errors, "missed opportunity to interact with error."), O !== 0;
|
|
47011
47011
|
function k(e) {
|
|
47012
|
-
c = e.errorInfo, w = e.lastSkippedInfo,
|
|
47012
|
+
c = e.errorInfo, w = e.lastSkippedInfo, E = e.incompatibleStack, S = e.overrideNextErrorInfo, C = e.skipParentCounter, l = e.relatedInfo;
|
|
47013
47013
|
}
|
|
47014
47014
|
function A() {
|
|
47015
47015
|
return {
|
|
47016
47016
|
errorInfo: c,
|
|
47017
47017
|
lastSkippedInfo: w,
|
|
47018
|
-
incompatibleStack:
|
|
47018
|
+
incompatibleStack: E?.slice(),
|
|
47019
47019
|
overrideNextErrorInfo: S,
|
|
47020
47020
|
skipParentCounter: C,
|
|
47021
47021
|
relatedInfo: l?.slice()
|
|
47022
47022
|
};
|
|
47023
47023
|
}
|
|
47024
47024
|
function ee(e, ...t) {
|
|
47025
|
-
S++, w = void 0, (
|
|
47025
|
+
S++, w = void 0, (E ||= []).push([e, ...t]);
|
|
47026
47026
|
}
|
|
47027
47027
|
function N() {
|
|
47028
|
-
let e =
|
|
47029
|
-
|
|
47028
|
+
let e = E || [];
|
|
47029
|
+
E = void 0;
|
|
47030
47030
|
let t = w;
|
|
47031
47031
|
if (w = void 0, e.length === 1) {
|
|
47032
47032
|
ne(...e[0]), t && F(void 0, ...t);
|
|
@@ -47084,7 +47084,7 @@ ${n.join("\n")}
|
|
|
47084
47084
|
t && F(void 0, ...t);
|
|
47085
47085
|
}
|
|
47086
47086
|
function ne(e, ...t) {
|
|
47087
|
-
U.assert(!!r),
|
|
47087
|
+
U.assert(!!r), E && N(), !e.elidedInCompatabilityPyramid && (C === 0 ? c = FS(c, e, ...t) : C--);
|
|
47088
47088
|
}
|
|
47089
47089
|
function re(e, ...t) {
|
|
47090
47090
|
ne(e, ...t), C++;
|
|
@@ -47093,7 +47093,7 @@ ${n.join("\n")}
|
|
|
47093
47093
|
U.assert(!!c), l ? l.push(e) : l = [e];
|
|
47094
47094
|
}
|
|
47095
47095
|
function F(e, t, r) {
|
|
47096
|
-
|
|
47096
|
+
E && N();
|
|
47097
47097
|
let [i, a] = Nl(t, r), o = t, s = i;
|
|
47098
47098
|
if (!(r.flags & 131072) && _j(t) && !yO(r) && (o = vj(t), U.assert(!ND(o, r), "generalized source shouldn't be assignable"), s = Pl(o)), (r.flags & 8388608 && !(t.flags & 8388608) ? r.objectType.flags : r.flags) & 262144 && r !== Qn && r !== $n) {
|
|
47099
47099
|
let e = G_(r), n;
|
|
@@ -47165,7 +47165,7 @@ ${n.join("\n")}
|
|
|
47165
47165
|
else if (n.symbol && n.flags & 524288 && vr === n) ne(K.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead);
|
|
47166
47166
|
else if (rS(n) & 2048 && i.flags & 2097152) {
|
|
47167
47167
|
let e = i.types, t = RL(uB.IntrinsicAttributes, r), n = RL(uB.IntrinsicClassAttributes, r);
|
|
47168
|
-
if (!Du(t) && !Du(n) && (
|
|
47168
|
+
if (!Du(t) && !Du(n) && (T(e, t) || T(e, n))) return;
|
|
47169
47169
|
} else c = Kv(c, t);
|
|
47170
47170
|
if (!a && l) {
|
|
47171
47171
|
let e = A();
|
|
@@ -47246,9 +47246,9 @@ ${n.join("\n")}
|
|
|
47246
47246
|
if (e.flags & 1048576) {
|
|
47247
47247
|
if (t.flags & 1048576) {
|
|
47248
47248
|
let n = e.origin;
|
|
47249
|
-
if (n && n.flags & 2097152 && t.aliasSymbol &&
|
|
47249
|
+
if (n && n.flags & 2097152 && t.aliasSymbol && T(n.types, t)) return -1;
|
|
47250
47250
|
let r = t.origin;
|
|
47251
|
-
if (r && r.flags & 1048576 && e.aliasSymbol &&
|
|
47251
|
+
if (r && r.flags & 1048576 && e.aliasSymbol && T(r.types, e)) return -1;
|
|
47252
47252
|
}
|
|
47253
47253
|
return n === Oa ? ye(e, t, r && !(e.flags & 402784252), i) : Se(e, t, r && !(e.flags & 402784252), i);
|
|
47254
47254
|
}
|
|
@@ -47866,7 +47866,7 @@ ${n.join("\n")}
|
|
|
47866
47866
|
}
|
|
47867
47867
|
for (let e = 0; e < r.length; e++) i[e] === 3 && (i[e] = t ? 0 : -1);
|
|
47868
47868
|
}
|
|
47869
|
-
let a =
|
|
47869
|
+
let a = T(i, 0) ? RC(r.filter((e, t) => i[t]), 0) : e;
|
|
47870
47870
|
return a.flags & 131072 ? e : a;
|
|
47871
47871
|
}
|
|
47872
47872
|
function EO(e) {
|
|
@@ -47881,7 +47881,7 @@ ${n.join("\n")}
|
|
|
47881
47881
|
return !1;
|
|
47882
47882
|
}
|
|
47883
47883
|
function ek(e) {
|
|
47884
|
-
return e === wr || e === Tr || e.objectFlags & 8 ?
|
|
47884
|
+
return e === wr || e === Tr || e.objectFlags & 8 ? A : rk(e.symbol, e.typeParameters);
|
|
47885
47885
|
}
|
|
47886
47886
|
function tk(e) {
|
|
47887
47887
|
return rk(e, _o(e).typeParameters);
|
|
@@ -48562,7 +48562,7 @@ ${n.join("\n")}
|
|
|
48562
48562
|
};
|
|
48563
48563
|
}
|
|
48564
48564
|
function BM(e) {
|
|
48565
|
-
let t =
|
|
48565
|
+
let t = k(e.inferences, LH);
|
|
48566
48566
|
return t.length ? NM(M(t, lte), e.signature, e.flags, e.compareTypes) : void 0;
|
|
48567
48567
|
}
|
|
48568
48568
|
function VM(e) {
|
|
@@ -48793,7 +48793,7 @@ ${n.join("\n")}
|
|
|
48793
48793
|
if (s === Ht) return;
|
|
48794
48794
|
if ((l.priority === void 0 || r < l.priority) && (l.candidates = void 0, l.contraCandidates = void 0, l.topLevel = !0, l.priority = r), r === l.priority) {
|
|
48795
48795
|
if (hte(l.typeParameter, s)) return;
|
|
48796
|
-
i && !a ?
|
|
48796
|
+
i && !a ? T(l.contraCandidates, s) || (l.contraCandidates = L(l.contraCandidates, s), IM(e)) : T(l.candidates, s) || (l.candidates = L(l.candidates, s), IM(e));
|
|
48797
48797
|
}
|
|
48798
48798
|
!(r & 128) && c.flags & 262144 && l.topLevel && !WM(n, c) && (l.topLevel = !1, IM(e));
|
|
48799
48799
|
}
|
|
@@ -48817,11 +48817,11 @@ ${n.join("\n")}
|
|
|
48817
48817
|
else if (t.flags & 268435456 && c.flags & 268435456) t.symbol === c.symbol && f(t.type, c.type);
|
|
48818
48818
|
else if (t.flags & 33554432) f(t.baseType, c), p(bx(t), c, 4);
|
|
48819
48819
|
else if (c.flags & 16777216) g(t, c, O);
|
|
48820
|
-
else if (c.flags & 3145728)
|
|
48820
|
+
else if (c.flags & 3145728) E(t, c.types, c.flags);
|
|
48821
48821
|
else if (t.flags & 1048576) {
|
|
48822
48822
|
let e = t.types;
|
|
48823
48823
|
for (let t of e) f(t, c);
|
|
48824
|
-
} else if (c.flags & 134217728)
|
|
48824
|
+
} else if (c.flags & 134217728) A(t, c);
|
|
48825
48825
|
else {
|
|
48826
48826
|
if (t = Lv(t), Wg(t) && Wg(c) && g(t, c, j), !(r & 512 && t.flags & 467927040)) {
|
|
48827
48827
|
let e = _v(t);
|
|
@@ -48842,7 +48842,7 @@ ${n.join("\n")}
|
|
|
48842
48842
|
}
|
|
48843
48843
|
function h(e, t, n, i) {
|
|
48844
48844
|
let a = r;
|
|
48845
|
-
r |= i,
|
|
48845
|
+
r |= i, E(e, t, n), r = a;
|
|
48846
48846
|
}
|
|
48847
48847
|
function g(e, t, n) {
|
|
48848
48848
|
let r = e.id + "," + t.id, i = c && c.get(r);
|
|
@@ -48859,7 +48859,7 @@ ${n.join("\n")}
|
|
|
48859
48859
|
function _(e, t, n) {
|
|
48860
48860
|
let r, i;
|
|
48861
48861
|
for (let a of t) for (let t of e) n(t, a) && (f(t, a), r = je(r, t), i = je(i, a));
|
|
48862
|
-
return [r ?
|
|
48862
|
+
return [r ? k(e, (e) => !T(r, e)) : e, i ? k(t, (e) => !T(i, e)) : t];
|
|
48863
48863
|
}
|
|
48864
48864
|
function v(e, t, n) {
|
|
48865
48865
|
let r = e.length < t.length ? e.length : t.length;
|
|
@@ -48885,7 +48885,7 @@ ${n.join("\n")}
|
|
|
48885
48885
|
}
|
|
48886
48886
|
return t;
|
|
48887
48887
|
}
|
|
48888
|
-
function
|
|
48888
|
+
function E(e, t, n) {
|
|
48889
48889
|
let i = 0;
|
|
48890
48890
|
if (n & 1048576) {
|
|
48891
48891
|
let n, a = e.flags & 1048576 ? e.types : [e], o = Array(a.length), c = !1;
|
|
@@ -48933,7 +48933,7 @@ ${n.join("\n")}
|
|
|
48933
48933
|
function O(e, t) {
|
|
48934
48934
|
e.flags & 16777216 ? (f(e.checkType, t.checkType), f(e.extendsType, t.extendsType), f(CT(e), CT(t)), f(OT(e), OT(t))) : h(e, [CT(t), OT(t)], t.flags, i ? 64 : 0);
|
|
48935
48935
|
}
|
|
48936
|
-
function
|
|
48936
|
+
function A(e, t) {
|
|
48937
48937
|
let n = lN(e, t), r = t.types;
|
|
48938
48938
|
if (n || b(t.texts, (e) => e.length === 0)) for (let e = 0; e < r.length; e++) {
|
|
48939
48939
|
let t = n ? n[e] : fn, i = r[e];
|
|
@@ -49072,10 +49072,10 @@ ${n.join("\n")}
|
|
|
49072
49072
|
}
|
|
49073
49073
|
function yte(e) {
|
|
49074
49074
|
if (e.length > 1) {
|
|
49075
|
-
let t =
|
|
49075
|
+
let t = k(e, mN);
|
|
49076
49076
|
if (t.length) {
|
|
49077
49077
|
let n = RC(t, 2);
|
|
49078
|
-
return me(
|
|
49078
|
+
return me(k(e, (e) => !mN(e)), [n]);
|
|
49079
49079
|
}
|
|
49080
49080
|
}
|
|
49081
49081
|
return e;
|
|
@@ -49512,12 +49512,12 @@ ${n.join("\n")}
|
|
|
49512
49512
|
let t = [];
|
|
49513
49513
|
for (let n of e.caseBlock.clauses) {
|
|
49514
49514
|
let e = n.kind === 296 ? n.expression.text : void 0;
|
|
49515
|
-
t.push(e && !
|
|
49515
|
+
t.push(e && !T(t, e) ? e : void 0);
|
|
49516
49516
|
}
|
|
49517
49517
|
return t;
|
|
49518
49518
|
}
|
|
49519
49519
|
function xP(e, t) {
|
|
49520
|
-
return e.flags & 1048576 ? !p(e.types, (e) => !
|
|
49520
|
+
return e.flags & 1048576 ? !p(e.types, (e) => !T(t, e)) : T(t, e);
|
|
49521
49521
|
}
|
|
49522
49522
|
function SP(e, t) {
|
|
49523
49523
|
return !!(e === t || e.flags & 131072 || t.flags & 1048576 && CP(e, t));
|
|
@@ -49543,11 +49543,11 @@ ${n.join("\n")}
|
|
|
49543
49543
|
}
|
|
49544
49544
|
function AP(e, t) {
|
|
49545
49545
|
if (e.flags & 1048576) {
|
|
49546
|
-
let n = e.types, r =
|
|
49546
|
+
let n = e.types, r = k(n, t);
|
|
49547
49547
|
if (r === n) return e;
|
|
49548
49548
|
let i = e.origin, a;
|
|
49549
49549
|
if (i && i.flags & 1048576) {
|
|
49550
|
-
let e = i.types, o =
|
|
49550
|
+
let e = i.types, o = k(e, (e) => !!(e.flags & 1048576) || t(e));
|
|
49551
49551
|
if (e.length - o.length === n.length - r.length) {
|
|
49552
49552
|
if (o.length === 1) return o[0];
|
|
49553
49553
|
a = LC(1048576, o);
|
|
@@ -49941,19 +49941,19 @@ ${n.join("\n")}
|
|
|
49941
49941
|
}
|
|
49942
49942
|
if (o) {
|
|
49943
49943
|
let e = f(o), s = FP(e);
|
|
49944
|
-
if (!(s.flags & 131072) && !
|
|
49944
|
+
if (!(s.flags & 131072) && !T(r, s) && !PV(o.node.switchStatement)) {
|
|
49945
49945
|
if (s === t && t === n) return s;
|
|
49946
49946
|
r.push(s), SP(s, n) || (i = !0), PP(e) && (a = !0);
|
|
49947
49947
|
}
|
|
49948
49948
|
}
|
|
49949
|
-
return IP(
|
|
49949
|
+
return IP(E(r, i ? 2 : 1), a);
|
|
49950
49950
|
}
|
|
49951
49951
|
function w(e) {
|
|
49952
49952
|
let r = BN(e), i = ra[r] || (ra[r] = /* @__PURE__ */ new Map()), a = d();
|
|
49953
49953
|
if (!a) return t;
|
|
49954
49954
|
let o = i.get(a);
|
|
49955
49955
|
if (o) return o;
|
|
49956
|
-
for (let t = Ei; t < Di; t++) if (ia[t] === e && aa[t] === a && oa[t].length) return IP(
|
|
49956
|
+
for (let t = Ei; t < Di; t++) if (ia[t] === e && aa[t] === a && oa[t].length) return IP(E(oa[t], 1), !0);
|
|
49957
49957
|
let s = [], c = !1, l;
|
|
49958
49958
|
for (let r of e.antecedent) {
|
|
49959
49959
|
let o;
|
|
@@ -49968,10 +49968,10 @@ ${n.join("\n")}
|
|
|
49968
49968
|
let u = FP(o);
|
|
49969
49969
|
if (Ae(s, u), SP(u, n) || (c = !0), u === t) break;
|
|
49970
49970
|
}
|
|
49971
|
-
let u =
|
|
49971
|
+
let u = E(s, c ? 2 : 1);
|
|
49972
49972
|
return PP(l) ? IP(u, !0) : (i.set(a, u), u);
|
|
49973
49973
|
}
|
|
49974
|
-
function
|
|
49974
|
+
function E(e, n) {
|
|
49975
49975
|
if (WP(e)) return RP(RC(M(e, UP)));
|
|
49976
49976
|
let r = XN(RC(te(e, HP), n));
|
|
49977
49977
|
return r !== t && r.flags & t.flags & 1048576 && we(r.types, t.types) ? t : r;
|
|
@@ -50145,7 +50145,7 @@ ${n.join("\n")}
|
|
|
50145
50145
|
function le(e, { switchStatement: t, clauseStart: n, clauseEnd: r }) {
|
|
50146
50146
|
let i = yP(t);
|
|
50147
50147
|
if (!i.length) return e;
|
|
50148
|
-
let a = i.slice(n, r), o = n === r ||
|
|
50148
|
+
let a = i.slice(n, r), o = n === r || T(a, fn);
|
|
50149
50149
|
if (e.flags & 2 && !o) {
|
|
50150
50150
|
let t;
|
|
50151
50151
|
for (let n = 0; n < a.length; n += 1) {
|
|
@@ -50158,7 +50158,7 @@ ${n.join("\n")}
|
|
|
50158
50158
|
}
|
|
50159
50159
|
let s = RC(a), c = s.flags & 131072 ? fn : kte(AP(e, (e) => ID(s, e)), s);
|
|
50160
50160
|
if (!o) return c;
|
|
50161
|
-
let l = AP(e, (e) => !(aj(e) &&
|
|
50161
|
+
let l = AP(e, (e) => !(aj(e) && T(i, e.flags & 32768 ? Jt : hE(pj(e)))));
|
|
50162
50162
|
return c.flags & 131072 ? l : RC([c, l]);
|
|
50163
50163
|
}
|
|
50164
50164
|
function de(e, t) {
|
|
@@ -50649,7 +50649,7 @@ ${n.join("\n")}
|
|
|
50649
50649
|
if (VF(e, n), n === Ue) return OR(e) ? Ut : Uf(n);
|
|
50650
50650
|
UF(e) && DF(e, 1);
|
|
50651
50651
|
let r = Ec(n), i = r.valueDeclaration, a = i;
|
|
50652
|
-
if (i && i.kind === 208 &&
|
|
50652
|
+
if (i && i.kind === 208 && T(zi, i.parent) && q(e, (e) => e === i.parent)) return Gt;
|
|
50653
50653
|
let o = jte(r, e), s = A_(e);
|
|
50654
50654
|
if (s) {
|
|
50655
50655
|
if (!(r.flags & 3) && !(ug(e) && r.flags & 512)) return W(e, r.flags & 384 ? K.Cannot_assign_to_0_because_it_is_an_enum : r.flags & 32 ? K.Cannot_assign_to_0_because_it_is_a_class : r.flags & 1536 ? K.Cannot_assign_to_0_because_it_is_a_namespace : r.flags & 16 ? K.Cannot_assign_to_0_because_it_is_a_function : r.flags & 2097152 ? K.Cannot_assign_to_0_because_it_is_an_import : K.Cannot_assign_to_0_because_it_is_not_a_variable, Ol(n)), Ut;
|
|
@@ -50722,7 +50722,7 @@ ${n.join("\n")}
|
|
|
50722
50722
|
}
|
|
50723
50723
|
function Nte(e, t) {
|
|
50724
50724
|
let n = vo(e);
|
|
50725
|
-
return !!n &&
|
|
50725
|
+
return !!n && T(n.capturedBlockScopeBindings, gc(t));
|
|
50726
50726
|
}
|
|
50727
50727
|
function JF(e, t) {
|
|
50728
50728
|
let n = e;
|
|
@@ -51282,13 +51282,13 @@ ${n.join("\n")}
|
|
|
51282
51282
|
}
|
|
51283
51283
|
function zte(e, t) {
|
|
51284
51284
|
let n = `D${oB(e)},${SC(t)}`;
|
|
51285
|
-
return Na(n) ?? Pa(n, Q(t, e) ?? wO(t, me(M(
|
|
51285
|
+
return Na(n) ?? Pa(n, Q(t, e) ?? wO(t, me(M(k(e.properties, (e) => e.symbol ? e.kind === 303 ? HI(e.initializer) && MN(t, e.symbol.escapedName) : e.kind === 304 ? MN(t, e.symbol.escapedName) : !1 : !1), (e) => [() => JH(e.kind === 303 ? e.initializer : e.name), e.symbol.escapedName]), M(k(o_(t), (n) => !!(n.flags & 16777216) && !!e?.symbol?.members && !e.symbol.members.has(n.escapedName) && MN(t, n.escapedName)), (e) => [() => Jt, e.escapedName])), ND));
|
|
51286
51286
|
}
|
|
51287
51287
|
function UI(e, t) {
|
|
51288
51288
|
let n = `D${oB(e)},${SC(t)}`, r = Na(n);
|
|
51289
51289
|
if (r) return r;
|
|
51290
51290
|
let i = WL(VL(e));
|
|
51291
|
-
return Pa(n, wO(t, me(M(
|
|
51291
|
+
return Pa(n, wO(t, me(M(k(e.properties, (e) => !!e.symbol && e.kind === 291 && MN(t, e.symbol.escapedName) && (!e.initializer || HI(e.initializer))), (e) => [e.initializer ? () => JH(e.initializer) : () => sn, e.symbol.escapedName]), M(k(o_(t), (n) => {
|
|
51292
51292
|
if (!(n.flags & 16777216) || !e?.symbol?.members) return !1;
|
|
51293
51293
|
let r = e.parent.parent;
|
|
51294
51294
|
return n.escapedName === i && KA(r) && Wv(r.children).length ? !1 : !e.symbol.members.has(n.escapedName) && MN(t, n.escapedName);
|
|
@@ -51483,7 +51483,7 @@ ${n.join("\n")}
|
|
|
51483
51483
|
return c.compositeKind = 2097152, c.compositeSignatures = me(e.compositeKind === 2097152 && e.compositeSignatures || [e], [t]), r && (c.mapper = e.compositeKind === 2097152 && e.mapper && e.compositeSignatures ? WE(e.mapper, r) : r), c;
|
|
51484
51484
|
}
|
|
51485
51485
|
function uL(e, t) {
|
|
51486
|
-
let n =
|
|
51486
|
+
let n = k(Yv(e, 0), (e) => !dL(e, t));
|
|
51487
51487
|
return n.length === 1 ? n[0] : Hte(n);
|
|
51488
51488
|
}
|
|
51489
51489
|
function dL(e, t) {
|
|
@@ -52275,7 +52275,7 @@ ${n.join("\n")}
|
|
|
52275
52275
|
if (!n) return;
|
|
52276
52276
|
let r = Jc(n), i = zp().get(r);
|
|
52277
52277
|
if (i) {
|
|
52278
|
-
for (let [t, n] of i) if (
|
|
52278
|
+
for (let [t, n] of i) if (T(n, e)) return t;
|
|
52279
52279
|
}
|
|
52280
52280
|
}
|
|
52281
52281
|
function FR(e, t) {
|
|
@@ -52285,7 +52285,7 @@ ${n.join("\n")}
|
|
|
52285
52285
|
let n = o_(t);
|
|
52286
52286
|
if (typeof e != "string") {
|
|
52287
52287
|
let r = e.parent;
|
|
52288
|
-
vk(r) && (n =
|
|
52288
|
+
vk(r) && (n = k(n, (e) => KR(r, t, e))), e = Kc(e);
|
|
52289
52289
|
}
|
|
52290
52290
|
return HR(e, n, 111551);
|
|
52291
52291
|
}
|
|
@@ -52837,12 +52837,12 @@ ${n.join("\n")}
|
|
|
52837
52837
|
return Dm(np(e), n, K.Expected_0_type_arguments_but_got_1, a === -Infinity ? o : a, i);
|
|
52838
52838
|
}
|
|
52839
52839
|
function Rz(e, t, n, r, i, a) {
|
|
52840
|
-
let o = e.kind === 215, s = e.kind === 170, c = $d(e), l = ZA(e), d = e.kind === 226, f = !
|
|
52840
|
+
let o = e.kind === 215, s = e.kind === 170, c = $d(e), l = ZA(e), d = e.kind === 226, f = !E && !n, m, h, g, _, v = 0, y = [], S;
|
|
52841
52841
|
!s && !d && !Xm(e) && !l && (S = e.typeArguments, (o || c || e.expression.kind !== 108) && p(S, pq)), y = n || [], az(t, y, i), l || U.assert(y.length, "Revert #54442 and add a testcase with whatever triggered this");
|
|
52842
|
-
let C = Oz(e),
|
|
52843
|
-
!s && !
|
|
52844
|
-
let
|
|
52845
|
-
if (y.length > 1 && (_ = O(y, Ta,
|
|
52842
|
+
let C = Oz(e), w = y.length === 1 && !y[0].typeParameters;
|
|
52843
|
+
!s && !w && I(C, wD) && (v = 4);
|
|
52844
|
+
let T = !!(r & 16) && e.kind === 213 && e.arguments.hasTrailingComma;
|
|
52845
|
+
if (y.length > 1 && (_ = O(y, Ta, w, T)), _ ||= O(y, Da, w, T), _) return _;
|
|
52846
52846
|
if (_ = gne(e, y, C, !!n, r), vo(e).resolvedSignature = _, f) {
|
|
52847
52847
|
if (!a && d && (a = K.The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_hand_side_s_Symbol_hasInstance_method), m) if (m.length === 1 || m.length > 3) {
|
|
52848
52848
|
let t = m[m.length - 1], n;
|
|
@@ -52878,7 +52878,7 @@ ${n.join("\n")}
|
|
|
52878
52878
|
else if (h) ba.add(Iz(e, [h], C, a));
|
|
52879
52879
|
else if (g) Sz(g, e.typeArguments, !0, a);
|
|
52880
52880
|
else if (!l) {
|
|
52881
|
-
let n =
|
|
52881
|
+
let n = k(t, (e) => fz(e, S));
|
|
52882
52882
|
n.length === 0 ? ba.add(Lz(e, t, S, a)) : ba.add(Iz(e, n, C, a));
|
|
52883
52883
|
}
|
|
52884
52884
|
}
|
|
@@ -53490,7 +53490,7 @@ ${n.join("\n")}
|
|
|
53490
53490
|
}
|
|
53491
53491
|
}
|
|
53492
53492
|
function l(e) {
|
|
53493
|
-
return te(
|
|
53493
|
+
return te(k(e, (e) => !!e.typeParameters && fz(e, n)), (e) => {
|
|
53494
53494
|
let t = Sz(e, n, !0);
|
|
53495
53495
|
return t ? Hy(e, t, ug(e.declaration)) : e;
|
|
53496
53496
|
});
|
|
@@ -55567,7 +55567,7 @@ ${n.join("\n")}
|
|
|
55567
55567
|
}), _ && p(b, (e) => {
|
|
55568
55568
|
W(tl(e) || e, K.Duplicate_function_implementation);
|
|
55569
55569
|
}), y && !h && e.flags & 16 && m) {
|
|
55570
|
-
let t =
|
|
55570
|
+
let t = k(m, (e) => e.kind === 263).map((e) => Em(e, K.Consider_adding_a_declare_modifier_to_this_class));
|
|
55571
55571
|
p(m, (n) => {
|
|
55572
55572
|
let r = n.kind === 263 ? K.Class_declaration_cannot_implement_overload_list_for_0 : n.kind === 262 ? K.Function_with_bodies_can_only_merge_with_classes_that_are_ambient : void 0;
|
|
55573
55573
|
r && zw(W(tl(n) || n, r, Jc(e)), ...t);
|
|
@@ -56466,7 +56466,7 @@ ${n.join("\n")}
|
|
|
56466
56466
|
let l = t, u = !1;
|
|
56467
56467
|
if (e & 4) {
|
|
56468
56468
|
if (l.flags & 1048576) {
|
|
56469
|
-
let e = t.types, n =
|
|
56469
|
+
let e = t.types, n = k(e, (e) => !(e.flags & 402653316));
|
|
56470
56470
|
n !== e && (l = RC(n, 2));
|
|
56471
56471
|
} else l.flags & 402653316 && (l = fn);
|
|
56472
56472
|
if (u = l !== t, u && l.flags & 131072) return c ? eP(tn) : tn;
|
|
@@ -56627,7 +56627,7 @@ ${n.join("\n")}
|
|
|
56627
56627
|
function BG(e, t, n, r, i) {
|
|
56628
56628
|
let a = qv(e, zG(t.iteratorSymbolName)), o = a && !(a.flags & 16777216) ? Uf(a) : void 0;
|
|
56629
56629
|
if (wu(o)) return i ? lr : NG(e, t.iterableCacheKey, lr);
|
|
56630
|
-
let s = o ? Yv(o, 0) : void 0, c =
|
|
56630
|
+
let s = o ? Yv(o, 0) : void 0, c = k(s, (e) => rV(e) === 0);
|
|
56631
56631
|
if (!I(c)) return n && I(s) && LD(e, t.getGlobalIterableType(!0), n, void 0, void 0, r), i ? cr : NG(e, t.iterableCacheKey, cr);
|
|
56632
56632
|
let l = UG(ZC(M(c, Fy)), t, n, r, i) ?? cr;
|
|
56633
56633
|
return i ? l : NG(e, t.iterableCacheKey, l);
|
|
@@ -56878,7 +56878,7 @@ ${n.join("\n")}
|
|
|
56878
56878
|
N >= 1 && t.escapedText === "Object" && e.getEmitModuleFormatOfFile(np(t)) < 5 && W(t, K.Class_name_cannot_be_Object_when_targeting_ES5_with_module_0, Li[P]);
|
|
56879
56879
|
}
|
|
56880
56880
|
function uK(e) {
|
|
56881
|
-
let t =
|
|
56881
|
+
let t = k(Fl(e), Uj);
|
|
56882
56882
|
if (!f(t)) return;
|
|
56883
56883
|
let n = ug(e), r = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Set();
|
|
56884
56884
|
if (p(e.parameters, ({ name: e }, t) => {
|
|
@@ -57065,7 +57065,7 @@ ${n.join("\n")}
|
|
|
57065
57065
|
return Ux(e) & 1 ? e.links.target : e;
|
|
57066
57066
|
}
|
|
57067
57067
|
function OK(e) {
|
|
57068
|
-
return
|
|
57068
|
+
return k(e.declarations, (e) => e.kind === 263 || e.kind === 264);
|
|
57069
57069
|
}
|
|
57070
57070
|
function wre(e, t) {
|
|
57071
57071
|
let n = o_(t), r = /* @__PURE__ */ new Map();
|
|
@@ -58154,7 +58154,7 @@ ${n.join("\n")}
|
|
|
58154
58154
|
function Kq(e) {
|
|
58155
58155
|
if (X(e) && vk(e.parent) && e.parent.name === e) {
|
|
58156
58156
|
let t = aw(e), n = KH(e.parent.expression);
|
|
58157
|
-
return re(n.flags & 1048576 ? n.types : [n], (e) =>
|
|
58157
|
+
return re(n.flags & 1048576 ? n.types : [n], (e) => k(ny(e), (e) => $v(t, e.keyType)));
|
|
58158
58158
|
}
|
|
58159
58159
|
}
|
|
58160
58160
|
function qq(e) {
|
|
@@ -58583,7 +58583,7 @@ ${n.join("\n")}
|
|
|
58583
58583
|
let t = Uc(e, X);
|
|
58584
58584
|
if (t) {
|
|
58585
58585
|
let e = NJ(t);
|
|
58586
|
-
if (e) return
|
|
58586
|
+
if (e) return k(Ec(e).declarations, (e) => {
|
|
58587
58587
|
switch (e.kind) {
|
|
58588
58588
|
case 260:
|
|
58589
58589
|
case 169:
|
|
@@ -59059,7 +59059,7 @@ ${n.join("\n")}
|
|
|
59059
59059
|
}
|
|
59060
59060
|
}
|
|
59061
59061
|
function QJ(e) {
|
|
59062
|
-
return
|
|
59062
|
+
return k(e, (e) => !!e.initializer || $u(e.name) || yf(e));
|
|
59063
59063
|
}
|
|
59064
59064
|
function $J(e) {
|
|
59065
59065
|
if (N >= 3) {
|
|
@@ -60803,13 +60803,13 @@ ${n.join("\n")}
|
|
|
60803
60803
|
return lV(e, t, n), n;
|
|
60804
60804
|
}
|
|
60805
60805
|
function dV(e, t, n) {
|
|
60806
|
-
return
|
|
60806
|
+
return k(e.members, (e) => pV(e, t, n));
|
|
60807
60807
|
}
|
|
60808
60808
|
function zne(e) {
|
|
60809
60809
|
return Bne(e) || IO(e);
|
|
60810
60810
|
}
|
|
60811
60811
|
function fV(e) {
|
|
60812
|
-
return
|
|
60812
|
+
return k(e.members, zne);
|
|
60813
60813
|
}
|
|
60814
60814
|
function pV(e, t, n) {
|
|
60815
60815
|
return NO(e) && (!!e.initializer || !t) && db(e) === n;
|
|
@@ -61296,7 +61296,7 @@ ${n.join("\n")}
|
|
|
61296
61296
|
function O(e) {
|
|
61297
61297
|
return e.transformFlags & 1 ? le(e) : e;
|
|
61298
61298
|
}
|
|
61299
|
-
function
|
|
61299
|
+
function A(e) {
|
|
61300
61300
|
return T(e, j);
|
|
61301
61301
|
}
|
|
61302
61302
|
function j(e) {
|
|
@@ -61462,7 +61462,7 @@ ${n.join("\n")}
|
|
|
61462
61462
|
}
|
|
61463
61463
|
function ue(n) {
|
|
61464
61464
|
let r = CC(c, "alwaysStrict") && !(mP(n) && u >= 5) && !Hm(n);
|
|
61465
|
-
return t.updateSourceFile(n, _B(n.statements,
|
|
61465
|
+
return t.updateSourceFile(n, _B(n.statements, A, e, 0, r));
|
|
61466
61466
|
}
|
|
61467
61467
|
function de(e) {
|
|
61468
61468
|
return t.updateObjectLiteralExpression(e, mB(e.properties, F(e), Xu));
|
|
@@ -61512,7 +61512,7 @@ ${n.join("\n")}
|
|
|
61512
61512
|
return Xh(d, e) && (n = ye(n, e)), t.updateClassExpression(e, n, e.name, void 0, mB(e.heritageClauses, D, oj), ve(e));
|
|
61513
61513
|
}
|
|
61514
61514
|
function ve(e) {
|
|
61515
|
-
let n = mB(e.members, re(e), Vu), r, i = By(e), a = i &&
|
|
61515
|
+
let n = mB(e.members, re(e), Vu), r, i = By(e), a = i && k(i.parameters, (e) => Ac(e, i));
|
|
61516
61516
|
if (a) for (let e of a) {
|
|
61517
61517
|
let n = t.createPropertyDeclaration(void 0, e.name, void 0, void 0, void 0);
|
|
61518
61518
|
NE(n, e), r = L(r, n);
|
|
@@ -61523,7 +61523,7 @@ ${n.join("\n")}
|
|
|
61523
61523
|
let r = xe(n, n);
|
|
61524
61524
|
if (I(r)) {
|
|
61525
61525
|
let n = [];
|
|
61526
|
-
ke(n, Dn(e, gN)), ke(n,
|
|
61526
|
+
ke(n, Dn(e, gN)), ke(n, k(e, jO)), ke(n, r), ke(n, k(On(e, gN), Au)), e = Z(t.createNodeArray(n), e);
|
|
61527
61527
|
}
|
|
61528
61528
|
return e;
|
|
61529
61529
|
}
|
|
@@ -61532,7 +61532,7 @@ ${n.join("\n")}
|
|
|
61532
61532
|
let i = xe(n, r);
|
|
61533
61533
|
if (I(i)) {
|
|
61534
61534
|
let n = [];
|
|
61535
|
-
ke(n,
|
|
61535
|
+
ke(n, k(e, jO)), ke(n, i), ke(n, k(e, Au)), e = Z(t.createNodeArray(n), e);
|
|
61536
61536
|
}
|
|
61537
61537
|
}
|
|
61538
61538
|
return e;
|
|
@@ -61656,7 +61656,7 @@ ${n.join("\n")}
|
|
|
61656
61656
|
ke(e, mB(n, D, Gd, s + 1));
|
|
61657
61657
|
}
|
|
61658
61658
|
function Ie(n, r) {
|
|
61659
|
-
let o = r &&
|
|
61659
|
+
let o = r && k(r.parameters, (e) => Ac(e, r));
|
|
61660
61660
|
if (!I(o)) return xB(n, D, e);
|
|
61661
61661
|
let s = [];
|
|
61662
61662
|
i();
|
|
@@ -62018,10 +62018,10 @@ ${n.join("\n")}
|
|
|
62018
62018
|
e.onSubstituteNode = Yt;
|
|
62019
62019
|
let C = e.onEmitNode;
|
|
62020
62020
|
e.onEmitNode = Jt;
|
|
62021
|
-
let w = !1, T = 0, E, D, O,
|
|
62021
|
+
let w = !1, T = 0, E, D, O, A, j = /* @__PURE__ */ new Map(), ee = /* @__PURE__ */ new Set(), N, te, ne = !1, re = !1;
|
|
62022
62022
|
return YB(e, P);
|
|
62023
62023
|
function P(t) {
|
|
62024
|
-
if (t.isDeclarationFile || (
|
|
62024
|
+
if (t.isDeclarationFile || (A = void 0, w = !!(Rp(t) & 32), !b && !w)) return t;
|
|
62025
62025
|
let n = wB(t, ie, e);
|
|
62026
62026
|
return oD(n, e.readEmitHelpers()), n;
|
|
62027
62027
|
}
|
|
@@ -62171,7 +62171,7 @@ ${n.join("\n")}
|
|
|
62171
62171
|
let r = Lt(n.name);
|
|
62172
62172
|
if (U.assert(r, "Undeclared private name for property declaration."), !r.isValid) return n;
|
|
62173
62173
|
let i = De(n);
|
|
62174
|
-
i && Ot().push(t.createAssignment(i, t.createFunctionExpression(
|
|
62174
|
+
i && Ot().push(t.createAssignment(i, t.createFunctionExpression(k(n.modifiers, (e) => Au(e) && !bO(e) && !CO(e)), n.asteriskToken, i, void 0, vB(n.parameters, ie, e), void 0, xB(n.body, ie, e))));
|
|
62175
62175
|
}
|
|
62176
62176
|
function Ee(e, t, n) {
|
|
62177
62177
|
if (e !== te) {
|
|
@@ -62228,7 +62228,7 @@ ${n.join("\n")}
|
|
|
62228
62228
|
}
|
|
62229
62229
|
return;
|
|
62230
62230
|
}
|
|
62231
|
-
return p && !ub(n) &&
|
|
62231
|
+
return p && !ub(n) && A?.data && A.data.facts & 16 ? t.updatePropertyDeclaration(n, mB(n.modifiers, ie, qu), n.name, void 0, void 0, void 0) : (Av(n, Ye) && (n = tH(e, n)), t.updatePropertyDeclaration(n, mB(n.modifiers, F, Au), $(n.name, ue, Mu), void 0, void 0, $(n.initializer, ie, J)));
|
|
62232
62232
|
}
|
|
62233
62233
|
function Me(e) {
|
|
62234
62234
|
if (h && !Wu(e)) {
|
|
@@ -62251,7 +62251,7 @@ ${n.join("\n")}
|
|
|
62251
62251
|
return U.assert(!_b(e), "Decorators should already have been transformed and elided."), Tu(e) ? je(e) : Me(e);
|
|
62252
62252
|
}
|
|
62253
62253
|
function Pe() {
|
|
62254
|
-
return _ === -1 || _ === 3 && !!
|
|
62254
|
+
return _ === -1 || _ === 3 && !!A?.data && !!(A.data.facts & 16);
|
|
62255
62255
|
}
|
|
62256
62256
|
function Fe(e) {
|
|
62257
62257
|
return Wu(e) && (Pe() || db(e) && Rp(e) & 32) ? Ae(e) : Ne(e);
|
|
@@ -62282,8 +62282,8 @@ ${n.join("\n")}
|
|
|
62282
62282
|
let e = Lt(n.name);
|
|
62283
62283
|
if (e) return Z(NE(Re(e, n.expression), n), n);
|
|
62284
62284
|
}
|
|
62285
|
-
if (y && te && Vh(n) && X(n.name) && fH(te) &&
|
|
62286
|
-
let { classConstructor: e, superClassReference: r, facts: i } =
|
|
62285
|
+
if (y && te && Vh(n) && X(n.name) && fH(te) && A?.data) {
|
|
62286
|
+
let { classConstructor: e, superClassReference: r, facts: i } = A.data;
|
|
62287
62287
|
if (i & 1) return xt(n);
|
|
62288
62288
|
if (e && r) {
|
|
62289
62289
|
let i = t.createReflectGetCall(r, t.createStringLiteralFromNode(n.name), e);
|
|
@@ -62293,8 +62293,8 @@ ${n.join("\n")}
|
|
|
62293
62293
|
return wB(n, ie, e);
|
|
62294
62294
|
}
|
|
62295
62295
|
function Ve(n) {
|
|
62296
|
-
if (y && te && Vh(n) && fH(te) &&
|
|
62297
|
-
let { classConstructor: e, superClassReference: r, facts: i } =
|
|
62296
|
+
if (y && te && Vh(n) && fH(te) && A?.data) {
|
|
62297
|
+
let { classConstructor: e, superClassReference: r, facts: i } = A.data;
|
|
62298
62298
|
if (i & 1) return xt(n);
|
|
62299
62299
|
if (e && r) {
|
|
62300
62300
|
let i = t.createReflectGetCall(r, $(n.argumentExpression, ie, J), e);
|
|
@@ -62314,8 +62314,8 @@ ${n.join("\n")}
|
|
|
62314
62314
|
let { readExpression: s, initializeExpression: c } = Ge(o), l = Re(a, s), u = jk(n) || i ? void 0 : t.createTempVariable(r);
|
|
62315
62315
|
return l = yM(t, n, l, r, u), l = $e(a, c || s, l, 64), NE(l, n), Z(l, n), u && (l = t.createComma(l, u), Z(l, n)), l;
|
|
62316
62316
|
}
|
|
62317
|
-
} else if (y && te && Vh(e) && fH(te) &&
|
|
62318
|
-
let { classConstructor: a, superClassReference: o, facts: s } =
|
|
62317
|
+
} else if (y && te && Vh(e) && fH(te) && A?.data) {
|
|
62318
|
+
let { classConstructor: a, superClassReference: o, facts: s } = A.data;
|
|
62319
62319
|
if (s & 1) {
|
|
62320
62320
|
let r = xt(e);
|
|
62321
62321
|
return jk(n) ? t.updatePrefixUnaryExpression(n, r) : t.updatePostfixUnaryExpression(n, r);
|
|
@@ -62356,8 +62356,8 @@ ${n.join("\n")}
|
|
|
62356
62356
|
let { thisArg: e, target: i } = t.createCallBinding(n.expression, r, u);
|
|
62357
62357
|
return ql(n) ? t.updateCallChain(n, t.createPropertyAccessChain($(i, ie, J), n.questionDotToken, "call"), void 0, void 0, [$(e, ie, J), ...mB(n.arguments, ie, J)]) : t.updateCallExpression(n, t.createPropertyAccessExpression($(i, ie, J), "call"), void 0, [$(e, ie, J), ...mB(n.arguments, ie, J)]);
|
|
62358
62358
|
}
|
|
62359
|
-
if (y && te && Vh(n.expression) && fH(te) &&
|
|
62360
|
-
let e = t.createFunctionCallCall($(n.expression, ie, J),
|
|
62359
|
+
if (y && te && Vh(n.expression) && fH(te) && A?.data?.classConstructor) {
|
|
62360
|
+
let e = t.createFunctionCallCall($(n.expression, ie, J), A.data.classConstructor, mB(n.arguments, ie, J));
|
|
62361
62361
|
return NE(e, n), Z(e, n), e;
|
|
62362
62362
|
}
|
|
62363
62363
|
return wB(n, ie, e);
|
|
@@ -62367,14 +62367,14 @@ ${n.join("\n")}
|
|
|
62367
62367
|
let { thisArg: e, target: i } = t.createCallBinding(n.tag, r, u);
|
|
62368
62368
|
return t.updateTaggedTemplateExpression(n, t.createCallExpression(t.createPropertyAccessExpression($(i, ie, J), "bind"), void 0, [$(e, ie, J)]), void 0, $(n.template, ie, md));
|
|
62369
62369
|
}
|
|
62370
|
-
if (y && te && Vh(n.tag) && fH(te) &&
|
|
62371
|
-
let e = t.createFunctionBindCall($(n.tag, ie, J),
|
|
62370
|
+
if (y && te && Vh(n.tag) && fH(te) && A?.data?.classConstructor) {
|
|
62371
|
+
let e = t.createFunctionBindCall($(n.tag, ie, J), A.data.classConstructor, []);
|
|
62372
62372
|
return NE(e, n), Z(e, n), t.updateTaggedTemplateExpression(n, e, void 0, $(n.template, ie, md));
|
|
62373
62373
|
}
|
|
62374
62374
|
return wB(n, ie, e);
|
|
62375
62375
|
}
|
|
62376
62376
|
function Je(e) {
|
|
62377
|
-
if (
|
|
62377
|
+
if (A && j.set(Vc(e), A), g) {
|
|
62378
62378
|
if (zV(e)) {
|
|
62379
62379
|
let t = $(e.body.statements[0].expression, ie, J);
|
|
62380
62380
|
return Bb(t, !0) && t.left === t.right ? void 0 : t;
|
|
@@ -62407,8 +62407,8 @@ ${n.join("\n")}
|
|
|
62407
62407
|
if (Eu(a)) {
|
|
62408
62408
|
let e = Lt(a.name);
|
|
62409
62409
|
if (e) return Z(NE($e(e, a.expression, n.right, n.operatorToken.kind), n), n);
|
|
62410
|
-
} else if (y && te && Vh(n.left) && fH(te) &&
|
|
62411
|
-
let { classConstructor: e, superClassReference: a, facts: o } =
|
|
62410
|
+
} else if (y && te && Vh(n.left) && fH(te) && A?.data) {
|
|
62411
|
+
let { classConstructor: e, superClassReference: a, facts: o } = A.data;
|
|
62412
62412
|
if (o & 1) return t.updateBinaryExpression(n, xt(n.left), n.operatorToken, $(n.right, ie, J));
|
|
62413
62413
|
if (e && a) {
|
|
62414
62414
|
let o = yk(n.left) ? $(n.left.argumentExpression, ie, J) : X(n.left.name) ? t.createStringLiteralFromNode(n.left.name) : void 0;
|
|
@@ -62450,7 +62450,7 @@ ${n.join("\n")}
|
|
|
62450
62450
|
}
|
|
62451
62451
|
}
|
|
62452
62452
|
function et(e) {
|
|
62453
|
-
return
|
|
62453
|
+
return k(e.members, hV);
|
|
62454
62454
|
}
|
|
62455
62455
|
function tt(e) {
|
|
62456
62456
|
let t = 0, n = Vc(e);
|
|
@@ -62460,14 +62460,14 @@ ${n.join("\n")}
|
|
|
62460
62460
|
return (m && r || p && i || g && a || g && o && _ === -1) && (t |= 16), t;
|
|
62461
62461
|
}
|
|
62462
62462
|
function nt(n) {
|
|
62463
|
-
if ((
|
|
62463
|
+
if ((A?.data?.facts || 0) & 4) {
|
|
62464
62464
|
let e = t.createTempVariable(r, !0);
|
|
62465
62465
|
return Et().superClassReference = e, t.updateExpressionWithTypeArguments(n, t.createAssignment(e, $(n.expression, ie, J)), void 0);
|
|
62466
62466
|
}
|
|
62467
62467
|
return wB(n, ie, e);
|
|
62468
62468
|
}
|
|
62469
62469
|
function rt(e, n) {
|
|
62470
|
-
let r = N, i = D, a =
|
|
62470
|
+
let r = N, i = D, a = A;
|
|
62471
62471
|
N = e, D = void 0, wt();
|
|
62472
62472
|
let o = Rp(e) & 32;
|
|
62473
62473
|
if (g || o) {
|
|
@@ -62488,7 +62488,7 @@ ${n.join("\n")}
|
|
|
62488
62488
|
let s = tt(e);
|
|
62489
62489
|
s && (Et().facts = s), s & 8 && yt();
|
|
62490
62490
|
let c = n(e, s);
|
|
62491
|
-
return Tt(), U.assert(
|
|
62491
|
+
return Tt(), U.assert(A === a), N = r, D = i, c;
|
|
62492
62492
|
}
|
|
62493
62493
|
function it(e) {
|
|
62494
62494
|
return rt(e, at);
|
|
@@ -62540,8 +62540,8 @@ ${n.join("\n")}
|
|
|
62540
62540
|
if (!g) return wB(t, ie, e);
|
|
62541
62541
|
}
|
|
62542
62542
|
function lt(e) {
|
|
62543
|
-
if (v && te && IO(te) &&
|
|
62544
|
-
let { classThis: t, classConstructor: n } =
|
|
62543
|
+
if (v && te && IO(te) && A?.data) {
|
|
62544
|
+
let { classThis: t, classConstructor: n } = A.data;
|
|
62545
62545
|
return t ?? n ?? e;
|
|
62546
62546
|
}
|
|
62547
62547
|
return e;
|
|
@@ -62572,7 +62572,7 @@ ${n.join("\n")}
|
|
|
62572
62572
|
if (a || s) {
|
|
62573
62573
|
let n, r = x(i, zV), o = x(i, UV);
|
|
62574
62574
|
n = L(n, r), n = L(n, o), n = L(n, a), n = L(n, s);
|
|
62575
|
-
let c = r || o ?
|
|
62575
|
+
let c = r || o ? k(i, (e) => e !== r && e !== o) : i;
|
|
62576
62576
|
n = ke(n, c), i = Z(t.createNodeArray(n), e.members);
|
|
62577
62577
|
}
|
|
62578
62578
|
return {
|
|
@@ -62585,7 +62585,7 @@ ${n.join("\n")}
|
|
|
62585
62585
|
U.assert(e, "weakSetName should be set in private identifier environment"), Ot().push(t.createAssignment(e, t.createNewExpression(t.createIdentifier("WeakSet"), void 0, [])));
|
|
62586
62586
|
}
|
|
62587
62587
|
function dt(n, r) {
|
|
62588
|
-
if (n = $(n, ie, LO), !
|
|
62588
|
+
if (n = $(n, ie, LO), !A?.data || !(A.data.facts & 16)) return n;
|
|
62589
62589
|
let i = Q_(r), a = !!(i && jM(i.expression).kind !== 106), o = vB(n ? n.parameters : void 0, ie, e), s = ft(r, n, a);
|
|
62590
62590
|
return s ? n ? (U.assert(o), t.updateConstructorDeclaration(n, void 0, o, s)) : MM(NE(Z(t.createConstructorDeclaration(void 0, o ?? [], s), n || r), n)) : n;
|
|
62591
62591
|
}
|
|
@@ -62606,13 +62606,13 @@ ${n.join("\n")}
|
|
|
62606
62606
|
}
|
|
62607
62607
|
function ft(n, r, a) {
|
|
62608
62608
|
let s = dV(n, !1, !1), c = s;
|
|
62609
|
-
d || (c =
|
|
62609
|
+
d || (c = k(c, (e) => !!e.initializer || pO(e.name) || hb(e)));
|
|
62610
62610
|
let l = et(n), u = I(c) || I(l);
|
|
62611
62611
|
if (!r && !u) return xB(void 0, ie, e);
|
|
62612
62612
|
o();
|
|
62613
62613
|
let f = !r && a, p = 0, m = [], h = [], g = t.createThis();
|
|
62614
62614
|
if (bt(h, l, g), r) {
|
|
62615
|
-
let e =
|
|
62615
|
+
let e = k(s, (e) => Ac(Vc(e), r)), t = k(c, (e) => !Ac(Vc(e), r));
|
|
62616
62616
|
pt(h, e, g), pt(h, t, g);
|
|
62617
62617
|
} else pt(h, c, g);
|
|
62618
62618
|
if (r?.body) {
|
|
@@ -62657,7 +62657,7 @@ ${n.join("\n")}
|
|
|
62657
62657
|
}
|
|
62658
62658
|
function gt(e, t) {
|
|
62659
62659
|
let n = te, r = _t(e, t);
|
|
62660
|
-
return r && db(e) &&
|
|
62660
|
+
return r && db(e) && A?.data?.facts && (NE(r, e), zE(r, 4), UE(r, HE(e.name)), j.set(Vc(e), A)), te = n, r;
|
|
62661
62661
|
}
|
|
62662
62662
|
function _t(n, r) {
|
|
62663
62663
|
let i = !d;
|
|
@@ -62714,16 +62714,16 @@ ${n.join("\n")}
|
|
|
62714
62714
|
}
|
|
62715
62715
|
}
|
|
62716
62716
|
function wt() {
|
|
62717
|
-
|
|
62718
|
-
previous:
|
|
62717
|
+
A = {
|
|
62718
|
+
previous: A,
|
|
62719
62719
|
data: void 0
|
|
62720
62720
|
};
|
|
62721
62721
|
}
|
|
62722
62722
|
function Tt() {
|
|
62723
|
-
|
|
62723
|
+
A = A?.previous;
|
|
62724
62724
|
}
|
|
62725
62725
|
function Et() {
|
|
62726
|
-
return U.assert(
|
|
62726
|
+
return U.assert(A), A.data ??= {
|
|
62727
62727
|
facts: 0,
|
|
62728
62728
|
classConstructor: void 0,
|
|
62729
62729
|
classThis: void 0,
|
|
@@ -62731,7 +62731,7 @@ ${n.join("\n")}
|
|
|
62731
62731
|
};
|
|
62732
62732
|
}
|
|
62733
62733
|
function Dt() {
|
|
62734
|
-
return U.assert(
|
|
62734
|
+
return U.assert(A), A.privateEnv ??= xV({
|
|
62735
62735
|
className: void 0,
|
|
62736
62736
|
weakSetName: void 0
|
|
62737
62737
|
});
|
|
@@ -62817,7 +62817,7 @@ ${n.join("\n")}
|
|
|
62817
62817
|
return Ft(Cm(e)?.substring(1) ?? e, e, t);
|
|
62818
62818
|
}
|
|
62819
62819
|
function Lt(e) {
|
|
62820
|
-
let t = wV(
|
|
62820
|
+
let t = wV(A, e);
|
|
62821
62821
|
return t?.kind === "untransformed" ? void 0 : t;
|
|
62822
62822
|
}
|
|
62823
62823
|
function Rt(n) {
|
|
@@ -62829,8 +62829,8 @@ ${n.join("\n")}
|
|
|
62829
62829
|
function zt(n) {
|
|
62830
62830
|
if (_k(n) || gk(n)) return qt(n);
|
|
62831
62831
|
if (Eu(n)) return Rt(n);
|
|
62832
|
-
if (y && te && Vh(n) && fH(te) &&
|
|
62833
|
-
let { classConstructor: e, superClassReference: r, facts: i } =
|
|
62832
|
+
if (y && te && Vh(n) && fH(te) && A?.data) {
|
|
62833
|
+
let { classConstructor: e, superClassReference: r, facts: i } = A.data;
|
|
62834
62834
|
if (i & 1) return xt(n);
|
|
62835
62835
|
if (e && r) {
|
|
62836
62836
|
let i = yk(n) ? $(n.argumentExpression, ie, J) : X(n.name) ? t.createStringLiteralFromNode(n.name) : void 0;
|
|
@@ -62894,8 +62894,8 @@ ${n.join("\n")}
|
|
|
62894
62894
|
function Jt(e, t, n) {
|
|
62895
62895
|
let r = Vc(t), i = j.get(r);
|
|
62896
62896
|
if (i) {
|
|
62897
|
-
let a =
|
|
62898
|
-
|
|
62897
|
+
let a = A, o = re;
|
|
62898
|
+
A = i, re = ne, ne = !IO(r) || !(Rp(r) & 32), C(e, t, n), ne = re, re = o, A = a;
|
|
62899
62899
|
return;
|
|
62900
62900
|
}
|
|
62901
62901
|
switch (t.kind) {
|
|
@@ -62906,13 +62906,13 @@ ${n.join("\n")}
|
|
|
62906
62906
|
case 178:
|
|
62907
62907
|
case 174:
|
|
62908
62908
|
case 172: {
|
|
62909
|
-
let r =
|
|
62910
|
-
|
|
62909
|
+
let r = A, i = re;
|
|
62910
|
+
A = void 0, re = ne, ne = !1, C(e, t, n), ne = re, re = i, A = r;
|
|
62911
62911
|
return;
|
|
62912
62912
|
}
|
|
62913
62913
|
case 167: {
|
|
62914
|
-
let r =
|
|
62915
|
-
|
|
62914
|
+
let r = A, i = ne;
|
|
62915
|
+
A = A?.previous, ne = re, C(e, t, n), ne = i, A = r;
|
|
62916
62916
|
return;
|
|
62917
62917
|
}
|
|
62918
62918
|
}
|
|
@@ -62929,8 +62929,8 @@ ${n.join("\n")}
|
|
|
62929
62929
|
return e;
|
|
62930
62930
|
}
|
|
62931
62931
|
function V(e) {
|
|
62932
|
-
if (T & 2 &&
|
|
62933
|
-
let { facts: n, classConstructor: r, classThis: i } =
|
|
62932
|
+
if (T & 2 && A?.data && !ee.has(e)) {
|
|
62933
|
+
let { facts: n, classConstructor: r, classThis: i } = A.data, a = ne ? i ?? r : r;
|
|
62934
62934
|
if (a) return Z(NE(t.cloneNode(a), e), e);
|
|
62935
62935
|
if (n & 1 && f) return t.createParenthesizedExpression(t.createVoidZero());
|
|
62936
62936
|
}
|
|
@@ -63277,11 +63277,11 @@ ${n.join("\n")}
|
|
|
63277
63277
|
function O(e, n, r) {
|
|
63278
63278
|
ke(e, M(ee(n, r), (e) => t.createExpressionStatement(e)));
|
|
63279
63279
|
}
|
|
63280
|
-
function
|
|
63280
|
+
function A(e, t, n) {
|
|
63281
63281
|
return Jh(!0, e, n) && t === ub(e);
|
|
63282
63282
|
}
|
|
63283
63283
|
function j(e, t) {
|
|
63284
|
-
return
|
|
63284
|
+
return k(e.members, (n) => A(n, t, e));
|
|
63285
63285
|
}
|
|
63286
63286
|
function ee(e, t) {
|
|
63287
63287
|
let n = j(e, t), r;
|
|
@@ -65325,7 +65325,7 @@ ${n.join("\n")}
|
|
|
65325
65325
|
return (y(e) ? O : E)(e, void 0, t, e);
|
|
65326
65326
|
}
|
|
65327
65327
|
function C(e, t) {
|
|
65328
|
-
return (a.importSpecifier === void 0 ? j :
|
|
65328
|
+
return (a.importSpecifier === void 0 ? j : A)(e.openingFragment, e.children, t, e);
|
|
65329
65329
|
}
|
|
65330
65330
|
function w(e) {
|
|
65331
65331
|
let n = T(e);
|
|
@@ -65341,7 +65341,7 @@ ${n.join("\n")}
|
|
|
65341
65341
|
return f(r) ? t.createPropertyAssignment("children", t.createArrayLiteralExpression(r)) : void 0;
|
|
65342
65342
|
}
|
|
65343
65343
|
function E(e, n, r, i) {
|
|
65344
|
-
let a = fe(e), o = n && n.length ? T(n) : void 0, s = x(e.attributes.properties, (e) => !!e.name && X(e.name) && e.name.escapedText === "key"), c = s ?
|
|
65344
|
+
let a = fe(e), o = n && n.length ? T(n) : void 0, s = x(e.attributes.properties, (e) => !!e.name && X(e.name) && e.name.escapedText === "key"), c = s ? k(e.attributes.properties, (e) => e !== s) : e.attributes.properties;
|
|
65345
65345
|
return D(a, f(c) ? N(c, o) : t.createObjectLiteralExpression(o ? [o] : u), s, n || u, r, i);
|
|
65346
65346
|
}
|
|
65347
65347
|
function D(e, n, a, s, l, u) {
|
|
@@ -65365,7 +65365,7 @@ ${n.join("\n")}
|
|
|
65365
65365
|
let l = fe(n), u = n.attributes.properties, p = f(u) ? N(u) : t.createNull(), m = pM(t, a.importSpecifier === void 0 ? dM(t, e.getEmitResolver().getJsxFactoryEntity(i), r.reactNamespace, n) : d("createElement"), l, p, oe(o, g), c);
|
|
65366
65366
|
return s && MM(m), m;
|
|
65367
65367
|
}
|
|
65368
|
-
function
|
|
65368
|
+
function A(e, n, r, i) {
|
|
65369
65369
|
let a;
|
|
65370
65370
|
if (n && n.length) {
|
|
65371
65371
|
let e = w(n);
|
|
@@ -65803,26 +65803,26 @@ ${n.join("\n")}
|
|
|
65803
65803
|
return (e.transformFlags & 1024) != 0 || g !== void 0 || p & 8192 && C(e) || Cd(e, !1) && qt(e) || (Rp(e) & 1) != 0;
|
|
65804
65804
|
}
|
|
65805
65805
|
function T(e) {
|
|
65806
|
-
return w(e) ?
|
|
65806
|
+
return w(e) ? A(e, !1) : e;
|
|
65807
65807
|
}
|
|
65808
65808
|
function E(e) {
|
|
65809
|
-
return w(e) ?
|
|
65809
|
+
return w(e) ? A(e, !0) : e;
|
|
65810
65810
|
}
|
|
65811
65811
|
function D(e) {
|
|
65812
65812
|
if (w(e)) {
|
|
65813
65813
|
let t = Vc(e);
|
|
65814
65814
|
if (NO(t) && db(t)) {
|
|
65815
|
-
let t = y(32670, 16449), n =
|
|
65815
|
+
let t = y(32670, 16449), n = A(e, !1);
|
|
65816
65816
|
return x(t, 229376, 0), n;
|
|
65817
65817
|
}
|
|
65818
|
-
return
|
|
65818
|
+
return A(e, !1);
|
|
65819
65819
|
}
|
|
65820
65820
|
return e;
|
|
65821
65821
|
}
|
|
65822
65822
|
function O(e) {
|
|
65823
65823
|
return e.kind === 108 ? Hn(e, !0) : T(e);
|
|
65824
65824
|
}
|
|
65825
|
-
function
|
|
65825
|
+
function A(t, n) {
|
|
65826
65826
|
switch (t.kind) {
|
|
65827
65827
|
case 126: return;
|
|
65828
65828
|
case 263: return se(t);
|
|
@@ -66797,7 +66797,7 @@ ${n.join("\n")}
|
|
|
66797
66797
|
g = void 0;
|
|
66798
66798
|
let a = mB(n.statements, D, Gd);
|
|
66799
66799
|
g = i;
|
|
66800
|
-
let o =
|
|
66800
|
+
let o = k(a, r), s = k(a, (e) => !r(e)), c = Ct(ze(o), Zk).declarationList.declarations[0], l = jM(c.initializer), u = St(l, Bb);
|
|
66801
66801
|
!u && Nk(l) && l.operatorToken.kind === 28 && (u = St(l.left, Bb));
|
|
66802
66802
|
let d = Ct(u ? jM(u.right) : l, bk), f = Ct(jM(d.expression), Tk), p = f.body.statements, m = 0, h = -1, _ = [];
|
|
66803
66803
|
if (u) {
|
|
@@ -69238,7 +69238,7 @@ ${n.join("\n")}
|
|
|
69238
69238
|
}
|
|
69239
69239
|
function GH(e, t, n) {
|
|
69240
69240
|
let r = e.getCompilerOptions();
|
|
69241
|
-
return
|
|
69241
|
+
return T(k(jy(e, n), fg), n) ? uU(t, e, Y, r, [n], [JH], !1).diagnostics : void 0;
|
|
69242
69242
|
}
|
|
69243
69243
|
var KH = 531469, qH = 8;
|
|
69244
69244
|
function JH(e) {
|
|
@@ -69263,10 +69263,10 @@ ${n.join("\n")}
|
|
|
69263
69263
|
popErrorFallbackNode() {
|
|
69264
69264
|
_();
|
|
69265
69265
|
}
|
|
69266
|
-
}, y, b, x, S, C, w,
|
|
69266
|
+
}, y, b, x, S, C, w, E = e.getEmitResolver(), D = e.getCompilerOptions(), O = WH(E), { stripInternal: A, isolatedDeclarations: j } = D;
|
|
69267
69267
|
return he;
|
|
69268
69268
|
function ee(t) {
|
|
69269
|
-
|
|
69269
|
+
E.getPropertiesOfContainerFunction(t).forEach((t) => {
|
|
69270
69270
|
if (UT(t.valueDeclaration)) {
|
|
69271
69271
|
let n = Nk(t.valueDeclaration) ? t.valueDeclaration.left : t.valueDeclaration;
|
|
69272
69272
|
e.addDiagnostic(Em(n, K.Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations_Add_an_explicit_declaration_for_the_properties_assigned_to_this_function));
|
|
@@ -69274,7 +69274,7 @@ ${n.join("\n")}
|
|
|
69274
69274
|
});
|
|
69275
69275
|
}
|
|
69276
69276
|
function N(t) {
|
|
69277
|
-
!j || lg(x) || np(t) === x && (mA(t) &&
|
|
69277
|
+
!j || lg(x) || np(t) === x && (mA(t) && E.isExpandoFunctionDeclaration(t) ? ee(t) : e.addDiagnostic(O(t)));
|
|
69278
69278
|
}
|
|
69279
69279
|
function te(t) {
|
|
69280
69280
|
if (t.accessibility === 0) {
|
|
@@ -69287,7 +69287,7 @@ ${n.join("\n")}
|
|
|
69287
69287
|
return !1;
|
|
69288
69288
|
}
|
|
69289
69289
|
function P(e, t, n) {
|
|
69290
|
-
return e.flags & 262144 ? !1 : te(
|
|
69290
|
+
return e.flags & 262144 ? !1 : te(E.isSymbolAccessible(e, t, n, !0));
|
|
69291
69291
|
}
|
|
69292
69292
|
function F(t) {
|
|
69293
69293
|
(y || b) && e.addDiagnostic(zw(Em(y || b, K.Property_0_of_exported_anonymous_class_type_may_not_be_private_or_protected, t), ...mA((y || b).parent) ? [Em(y || b, K.Add_a_type_annotation_to_the_variable_0, ie())] : []));
|
|
@@ -69311,7 +69311,7 @@ ${n.join("\n")}
|
|
|
69311
69311
|
(y || b) && e.addDiagnostic(Em(y || b, K.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed));
|
|
69312
69312
|
}
|
|
69313
69313
|
function de(t, n, r) {
|
|
69314
|
-
let i = n.declarations?.find((e) => np(e) === t), a =
|
|
69314
|
+
let i = n.declarations?.find((e) => np(e) === t), a = k(r.declarations, (e) => np(e) !== t);
|
|
69315
69315
|
if (i && a) for (let t of a) e.addDiagnostic(zw(Em(t, K.Declaration_augments_declaration_in_another_file_This_cannot_be_serialized), Em(i, K.This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file)));
|
|
69316
69316
|
}
|
|
69317
69317
|
function fe(t) {
|
|
@@ -69323,7 +69323,7 @@ ${n.join("\n")}
|
|
|
69323
69323
|
diagnosticMessage: t.errorModuleName ? K.Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit : K.Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit,
|
|
69324
69324
|
errorNode: t.errorNode || e
|
|
69325
69325
|
};
|
|
69326
|
-
let r =
|
|
69326
|
+
let r = E.getDeclarationStatementsForSourceFile(e, KH, qH, v);
|
|
69327
69327
|
return n = t, r;
|
|
69328
69328
|
}
|
|
69329
69329
|
function he(u) {
|
|
@@ -69341,7 +69341,7 @@ ${n.join("\n")}
|
|
|
69341
69341
|
let u = lg(i) ? h.createNodeArray(pe(i)) : mB(i.statements, ze, Gd);
|
|
69342
69342
|
return h.updateSourceFile(i, Ie(u), !0, [], [], !1, []);
|
|
69343
69343
|
}));
|
|
69344
|
-
return p.syntheticFileReferences =
|
|
69344
|
+
return p.syntheticFileReferences = E(no(uo(vU(u, g, !0).declarationFilePath))), p.syntheticTypeReferences = y(), p.syntheticLibReferences = b(), p.hasNoDefaultLib = f, p;
|
|
69345
69345
|
}
|
|
69346
69346
|
r = !0, o = !1, s = !1, c = u, x = u, n = t, i = !1, a = !1, m = !1, l = void 0, d = /* @__PURE__ */ new Map(), S = [], C = [], w = [], _(x);
|
|
69347
69347
|
let f;
|
|
@@ -69351,7 +69351,7 @@ ${n.join("\n")}
|
|
|
69351
69351
|
f = Z(h.createNodeArray(Ie(e)), u.statements), mP(u) && (!a || o && !s) && (f = Z(h.createNodeArray([...f, sM(h)]), f));
|
|
69352
69352
|
}
|
|
69353
69353
|
let p = no(uo(vU(u, g, !0).declarationFilePath));
|
|
69354
|
-
return h.updateSourceFile(u, f, !0,
|
|
69354
|
+
return h.updateSourceFile(u, f, !0, E(p), y(), u.hasNoDefaultLib, b());
|
|
69355
69355
|
function _(e) {
|
|
69356
69356
|
S = me(S, M(e.referencedFiles, (t) => [e, t])), C = me(C, e.typeReferenceDirectives), w = me(w, e.libReferenceDirectives);
|
|
69357
69357
|
}
|
|
@@ -69369,7 +69369,7 @@ ${n.join("\n")}
|
|
|
69369
69369
|
if (e.preserve) return v(e);
|
|
69370
69370
|
});
|
|
69371
69371
|
}
|
|
69372
|
-
function
|
|
69372
|
+
function E(e) {
|
|
69373
69373
|
return oe(S, ([t, n]) => {
|
|
69374
69374
|
if (!n.preserve) return;
|
|
69375
69375
|
let r = g.getSourceFileFromReference(t, n);
|
|
@@ -69377,7 +69377,7 @@ ${n.join("\n")}
|
|
|
69377
69377
|
let a;
|
|
69378
69378
|
if (r.isDeclarationFile) a = r.fileName;
|
|
69379
69379
|
else {
|
|
69380
|
-
if (i &&
|
|
69380
|
+
if (i && T(u.sourceFiles, r)) return;
|
|
69381
69381
|
let e = vU(r, g, !0);
|
|
69382
69382
|
a = e.declarationFilePath || e.jsFilePath || r.fileName;
|
|
69383
69383
|
}
|
|
@@ -69398,24 +69398,24 @@ ${n.join("\n")}
|
|
|
69398
69398
|
function _e(e, t) {
|
|
69399
69399
|
let r;
|
|
69400
69400
|
m || (r = n, n = UH(e));
|
|
69401
|
-
let i = h.updateParameterDeclaration(e, ore(h, e, t), e.dotDotDotToken, ge(e.name),
|
|
69401
|
+
let i = h.updateParameterDeclaration(e, ore(h, e, t), e.dotDotDotToken, ge(e.name), E.isOptionalParameter(e) ? e.questionToken || h.createToken(58) : void 0, be(e, !0), ye(e));
|
|
69402
69402
|
return m || (n = r), i;
|
|
69403
69403
|
}
|
|
69404
69404
|
function ve(e) {
|
|
69405
|
-
return ZH(e) && !!e.initializer &&
|
|
69405
|
+
return ZH(e) && !!e.initializer && E.isLiteralConstDeclaration(Uc(e));
|
|
69406
69406
|
}
|
|
69407
69407
|
function ye(e) {
|
|
69408
|
-
if (ve(e)) return QT($T(e.initializer)) || N(e),
|
|
69408
|
+
if (ve(e)) return QT($T(e.initializer)) || N(e), E.createLiteralConstValue(Uc(e, ZH), v);
|
|
69409
69409
|
}
|
|
69410
69410
|
function be(e, t) {
|
|
69411
69411
|
if (!t && cb(e, 2) || ve(e)) return;
|
|
69412
|
-
if (!LA(e) && !hk(e) && e.type && (!AO(e) || !
|
|
69412
|
+
if (!LA(e) && !hk(e) && e.type && (!AO(e) || !E.requiresAddingImplicitUndefined(e, c))) return $(e.type, Le, Zu);
|
|
69413
69413
|
let r = y;
|
|
69414
69414
|
y = e.name;
|
|
69415
69415
|
let i;
|
|
69416
69416
|
m || (i = n, VH(e) && (n = UH(e)));
|
|
69417
69417
|
let a;
|
|
69418
|
-
return eE(e) ? a =
|
|
69418
|
+
return eE(e) ? a = E.createTypeOfDeclaration(e, c, KH, qH, v) : Pu(e) ? a = E.createReturnTypeOfSignatureDeclaration(e, c, KH, qH, v) : U.assertNever(e), y = r, m || (n = i), a ?? h.createKeywordTypeNode(133);
|
|
69419
69419
|
}
|
|
69420
69420
|
function xe(e) {
|
|
69421
69421
|
switch (e = Uc(e), e.kind) {
|
|
@@ -69424,7 +69424,7 @@ ${n.join("\n")}
|
|
|
69424
69424
|
case 264:
|
|
69425
69425
|
case 263:
|
|
69426
69426
|
case 265:
|
|
69427
|
-
case 266: return !
|
|
69427
|
+
case 266: return !E.isDeclarationVisible(e);
|
|
69428
69428
|
case 260: return !Ce(e);
|
|
69429
69429
|
case 271:
|
|
69430
69430
|
case 272:
|
|
@@ -69440,7 +69440,7 @@ ${n.join("\n")}
|
|
|
69440
69440
|
return !t || t.indexOf(e) === t.length - 1;
|
|
69441
69441
|
}
|
|
69442
69442
|
function Ce(e) {
|
|
69443
|
-
return zk(e) ? !1 : $u(e.name) ? I(e.name.elements, Ce) :
|
|
69443
|
+
return zk(e) ? !1 : $u(e.name) ? I(e.name.elements, Ce) : E.isDeclarationVisible(e);
|
|
69444
69444
|
}
|
|
69445
69445
|
function we(e, t, n) {
|
|
69446
69446
|
if (cb(e, 2)) return h.createNodeArray();
|
|
@@ -69470,7 +69470,7 @@ ${n.join("\n")}
|
|
|
69470
69470
|
return fj(e) || yA(e) || xA(e) || _A(e) || vA(e) || Pu(e) || HO(e) || ck(e);
|
|
69471
69471
|
}
|
|
69472
69472
|
function ke(e, t) {
|
|
69473
|
-
te(
|
|
69473
|
+
te(E.isEntityNameVisible(e, t));
|
|
69474
69474
|
}
|
|
69475
69475
|
function je(e, t) {
|
|
69476
69476
|
return cf(e) && cf(t) && (e.jsDoc = t.jsDoc), YE(e, JE(t));
|
|
@@ -69478,14 +69478,14 @@ ${n.join("\n")}
|
|
|
69478
69478
|
function Me(t, n) {
|
|
69479
69479
|
if (n) {
|
|
69480
69480
|
if (a ||= t.kind !== 267 && t.kind !== 205, gf(n) && i) {
|
|
69481
|
-
let n = Sy(e.getEmitHost(),
|
|
69481
|
+
let n = Sy(e.getEmitHost(), E, t);
|
|
69482
69482
|
if (n) return h.createStringLiteral(n);
|
|
69483
69483
|
}
|
|
69484
69484
|
return n;
|
|
69485
69485
|
}
|
|
69486
69486
|
}
|
|
69487
69487
|
function Ne(e) {
|
|
69488
|
-
if (
|
|
69488
|
+
if (E.isDeclarationVisible(e)) if (e.moduleReference.kind === 283) {
|
|
69489
69489
|
let t = ag(e);
|
|
69490
69490
|
return h.updateImportEqualsDeclaration(e, e.modifiers, e.isTypeOnly, e.name, h.updateExternalModuleReference(e.moduleReference, Me(e, t)));
|
|
69491
69491
|
} else {
|
|
@@ -69495,15 +69495,15 @@ ${n.join("\n")}
|
|
|
69495
69495
|
}
|
|
69496
69496
|
function Pe(t) {
|
|
69497
69497
|
if (!t.importClause) return h.updateImportDeclaration(t, t.modifiers, t.importClause, Me(t, t.moduleSpecifier), Fe(t.attributes));
|
|
69498
|
-
let n = t.importClause && t.importClause.name &&
|
|
69498
|
+
let n = t.importClause && t.importClause.name && E.isDeclarationVisible(t.importClause) ? t.importClause.name : void 0;
|
|
69499
69499
|
if (!t.importClause.namedBindings) return n && h.updateImportDeclaration(t, t.modifiers, h.updateImportClause(t.importClause, t.importClause.isTypeOnly, n, void 0), Me(t, t.moduleSpecifier), Fe(t.attributes));
|
|
69500
69500
|
if (t.importClause.namedBindings.kind === 274) {
|
|
69501
|
-
let e =
|
|
69501
|
+
let e = E.isDeclarationVisible(t.importClause.namedBindings) ? t.importClause.namedBindings : void 0;
|
|
69502
69502
|
return n || e ? h.updateImportDeclaration(t, t.modifiers, h.updateImportClause(t.importClause, t.importClause.isTypeOnly, n, e), Me(t, t.moduleSpecifier), Fe(t.attributes)) : void 0;
|
|
69503
69503
|
}
|
|
69504
|
-
let r = oe(t.importClause.namedBindings.elements, (e) =>
|
|
69504
|
+
let r = oe(t.importClause.namedBindings.elements, (e) => E.isDeclarationVisible(e) ? e : void 0);
|
|
69505
69505
|
if (r && r.length || n) return h.updateImportDeclaration(t, t.modifiers, h.updateImportClause(t.importClause, t.importClause.isTypeOnly, n, r && r.length ? h.updateNamedImports(t.importClause.namedBindings, r) : void 0), Me(t, t.moduleSpecifier), Fe(t.attributes));
|
|
69506
|
-
if (
|
|
69506
|
+
if (E.isImportRequiredByAugmentation(t)) return j && e.addDiagnostic(Em(t, K.Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_supported_with_isolatedDeclarations)), h.updateImportDeclaration(t, t.modifiers, void 0, Me(t, t.moduleSpecifier), Fe(t.attributes));
|
|
69507
69507
|
}
|
|
69508
69508
|
function Fe(e) {
|
|
69509
69509
|
let t = FW(e);
|
|
@@ -69536,7 +69536,7 @@ ${n.join("\n")}
|
|
|
69536
69536
|
if (xe(t)) return;
|
|
69537
69537
|
if (vv(t)) {
|
|
69538
69538
|
if (j) {
|
|
69539
|
-
if (!
|
|
69539
|
+
if (!E.isDefinitelyReferenceToGlobalSymbolObject(t.name.expression)) {
|
|
69540
69540
|
if (_A(t.parent) || _k(t.parent)) {
|
|
69541
69541
|
e.addDiagnostic(Em(t, K.Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations));
|
|
69542
69542
|
return;
|
|
@@ -69545,10 +69545,10 @@ ${n.join("\n")}
|
|
|
69545
69545
|
return;
|
|
69546
69546
|
}
|
|
69547
69547
|
}
|
|
69548
|
-
} else if (!
|
|
69548
|
+
} else if (!E.isLateBound(Uc(t)) || !Ub(t.name.expression)) return;
|
|
69549
69549
|
}
|
|
69550
69550
|
}
|
|
69551
|
-
if (Pu(t) &&
|
|
69551
|
+
if (Pu(t) && E.isImplementationOfOverload(t) || Yk(t)) return;
|
|
69552
69552
|
let r;
|
|
69553
69553
|
Oe(t) && (r = c, c = t);
|
|
69554
69554
|
let i = n, a = VH(t), o = m, s = (t.kind === 187 || t.kind === 200) && t.parent.kind !== 265;
|
|
@@ -69636,7 +69636,7 @@ ${n.join("\n")}
|
|
|
69636
69636
|
case 271: return Ne(t);
|
|
69637
69637
|
case 272: return Pe(t);
|
|
69638
69638
|
}
|
|
69639
|
-
if (Hd(t) && xe(t) || eM(t) || Pu(t) &&
|
|
69639
|
+
if (Hd(t) && xe(t) || eM(t) || Pu(t) && E.isImplementationOfOverload(t)) return;
|
|
69640
69640
|
let i;
|
|
69641
69641
|
Oe(t) && (i = c, c = t);
|
|
69642
69642
|
let u = VH(t), f = n;
|
|
@@ -69651,8 +69651,8 @@ ${n.join("\n")}
|
|
|
69651
69651
|
case 264: return m(h.updateInterfaceDeclaration(t, Xe(t), t.name, De(t, t.typeParameters), Qe(t.heritageClauses), mB(t.members, Le, Ju)));
|
|
69652
69652
|
case 262: {
|
|
69653
69653
|
let e = m(h.updateFunctionDeclaration(t, Xe(t), void 0, t.name, De(t, t.typeParameters), we(t, t.parameters), be(t), void 0));
|
|
69654
|
-
if (e &&
|
|
69655
|
-
let r =
|
|
69654
|
+
if (e && E.isExpandoFunctionDeclaration(t) && Se(t)) {
|
|
69655
|
+
let r = E.getPropertiesOfContainerFunction(t);
|
|
69656
69656
|
j && ee(t);
|
|
69657
69657
|
let i = LN.createModuleDeclaration(void 0, e.name || h.createIdentifier("_default"), h.createModuleBlock([]), 32);
|
|
69658
69658
|
cT(i, c), i.locals = Of(r), i.symbol = r[0].parent;
|
|
@@ -69661,7 +69661,7 @@ ${n.join("\n")}
|
|
|
69661
69661
|
let t = Gc(e.escapedName);
|
|
69662
69662
|
if (!Gs(t, 99)) return;
|
|
69663
69663
|
n = UH(e.valueDeclaration);
|
|
69664
|
-
let r =
|
|
69664
|
+
let r = E.createTypeOfDeclaration(e.valueDeclaration, i, KH, qH | 2, v);
|
|
69665
69665
|
n = f;
|
|
69666
69666
|
let a = uv(t), s = a ? h.getGeneratedNameForNode(e.valueDeclaration) : h.createIdentifier(t);
|
|
69667
69667
|
a && o.push([s, t]);
|
|
@@ -69713,7 +69713,7 @@ ${n.join("\n")}
|
|
|
69713
69713
|
}
|
|
69714
69714
|
})), n = e;
|
|
69715
69715
|
}
|
|
69716
|
-
let s = me(me(me(I(t.members, (e) => !!e.name && pO(e.name)) ? [h.createPropertyDeclaration(void 0, h.createPrivateIdentifier("#private"), void 0, void 0, void 0)] : void 0,
|
|
69716
|
+
let s = me(me(me(I(t.members, (e) => !!e.name && pO(e.name)) ? [h.createPropertyDeclaration(void 0, h.createPrivateIdentifier("#private"), void 0, void 0, void 0)] : void 0, E.createLateBoundIndexSignatures(t, c, KH, qH, v)), o), mB(t.members, Le, Vu)), l = h.createNodeArray(s), u = Q_(t);
|
|
69717
69717
|
if (u && !Ub(u.expression) && u.expression.kind !== 106) {
|
|
69718
69718
|
let a = t.name ? Gc(t.name.escapedText) : "default", o = h.createUniqueName(`${a}_base`, 16);
|
|
69719
69719
|
n = () => ({
|
|
@@ -69721,14 +69721,14 @@ ${n.join("\n")}
|
|
|
69721
69721
|
errorNode: u,
|
|
69722
69722
|
typeName: t.name
|
|
69723
69723
|
});
|
|
69724
|
-
let s = h.createVariableDeclaration(o, void 0,
|
|
69724
|
+
let s = h.createVariableDeclaration(o, void 0, E.createTypeOfExpression(u.expression, t, KH, qH, v), void 0), c = h.createVariableStatement(r ? [h.createModifier(138)] : [], h.createVariableDeclarationList([s], 2)), d = h.createNodeArray(M(t.heritageClauses, (e) => {
|
|
69725
69725
|
if (e.token === 96) {
|
|
69726
69726
|
let t = n;
|
|
69727
69727
|
n = UH(e.types[0]);
|
|
69728
69728
|
let r = h.updateHeritageClause(e, M(e.types, (e) => h.updateExpressionWithTypeArguments(e, o, mB(e.typeArguments, Le, Zu))));
|
|
69729
69729
|
return n = t, r;
|
|
69730
69730
|
}
|
|
69731
|
-
return h.updateHeritageClause(e, mB(h.createNodeArray(
|
|
69731
|
+
return h.updateHeritageClause(e, mB(h.createNodeArray(k(e.types, (e) => Ub(e.expression) || e.expression.kind === 106)), Le, Bk));
|
|
69732
69732
|
}));
|
|
69733
69733
|
return [c, m(h.updateClassDeclaration(t, e, t.name, i, d, l))];
|
|
69734
69734
|
} else {
|
|
@@ -69739,7 +69739,7 @@ ${n.join("\n")}
|
|
|
69739
69739
|
case 243: return m(Ue(t));
|
|
69740
69740
|
case 266: return m(h.updateEnumDeclaration(t, h.createNodeArray(Xe(t)), t.name, h.createNodeArray(oe(t.members, (t) => {
|
|
69741
69741
|
if (qe(t)) return;
|
|
69742
|
-
let n =
|
|
69742
|
+
let n = E.getEnumMemberValue(t), r = n?.value;
|
|
69743
69743
|
j && t.initializer && n?.hasExternalReferences && !OO(t.name) && e.addDiagnostic(Em(t, K.Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDeclarations));
|
|
69744
69744
|
let i = r === void 0 ? void 0 : typeof r == "string" ? h.createStringLiteral(r) : r < 0 ? h.createPrefixUnaryExpression(41, h.createNumericLiteral(-r)) : h.createNumericLiteral(r);
|
|
69745
69745
|
return je(h.updateEnumMember(t, t.name, i), t);
|
|
@@ -69770,7 +69770,7 @@ ${n.join("\n")}
|
|
|
69770
69770
|
ke(r, c), m || (n = t), y = void 0;
|
|
69771
69771
|
}
|
|
69772
69772
|
function qe(e) {
|
|
69773
|
-
return !!
|
|
69773
|
+
return !!A && !!e && xf(e, x);
|
|
69774
69774
|
}
|
|
69775
69775
|
function Je(e) {
|
|
69776
69776
|
return LA(e) || RA(e);
|
|
@@ -69787,7 +69787,7 @@ ${n.join("\n")}
|
|
|
69787
69787
|
return (!a || i && a && mP(e.parent)) && (t ^= 128, n = 0), XH(e, t, n);
|
|
69788
69788
|
}
|
|
69789
69789
|
function Qe(e) {
|
|
69790
|
-
return h.createNodeArray(
|
|
69790
|
+
return h.createNodeArray(k(M(e, (e) => h.updateHeritageClause(e, mB(h.createNodeArray(k(e.types, (t) => Ub(t.expression) || e.token === 96 && t.expression.kind === 106)), Le, Bk))), (e) => e.types && !!e.types.length));
|
|
69791
69791
|
}
|
|
69792
69792
|
}
|
|
69793
69793
|
function YH(e) {
|
|
@@ -70189,7 +70189,7 @@ ${n.join("\n")}
|
|
|
70189
70189
|
return e.rootDir ? (a = go(e.rootDir, n), i?.(e.rootDir)) : e.composite && e.configFilePath ? (a = no(uo(e.configFilePath)), i?.(a)) : a = cW(t(), n, r), a && a[a.length - 1] !== Ra && (a += Ra), a;
|
|
70190
70190
|
}
|
|
70191
70191
|
function AU({ options: e, fileNames: t }, n) {
|
|
70192
|
-
return kU(e, () =>
|
|
70192
|
+
return kU(e, () => k(t, (t) => !(e.noEmitForJsFiles && Xa(t, iw)) && !TP(t)), no(uo(U.checkDefined(e.configFilePath))), dn(!n));
|
|
70193
70193
|
}
|
|
70194
70194
|
function jU(e, t) {
|
|
70195
70195
|
let { addOutput: n, getOutputs: r } = EU();
|
|
@@ -70201,7 +70201,7 @@ ${n.join("\n")}
|
|
|
70201
70201
|
return n(hU(e.options)), r();
|
|
70202
70202
|
}
|
|
70203
70203
|
function MU(e, t, n) {
|
|
70204
|
-
t = _o(t), U.assert(
|
|
70204
|
+
t = _o(t), U.assert(T(e.fileNames, t), "Expected fileName to be present in command line");
|
|
70205
70205
|
let { addOutput: r, getOutputs: i } = EU();
|
|
70206
70206
|
return e.options.outFile ? DU(e, r) : OU(e, t, n, r), i();
|
|
70207
70207
|
}
|
|
@@ -70249,7 +70249,7 @@ ${n.join("\n")}
|
|
|
70249
70249
|
y = !0;
|
|
70250
70250
|
return;
|
|
70251
70251
|
}
|
|
70252
|
-
(fj(n) ? [n] :
|
|
70252
|
+
(fj(n) ? [n] : k(n.sourceFiles, fg)).forEach((e) => {
|
|
70253
70253
|
(u.noCheck || !Kw(e, u)) && T(e);
|
|
70254
70254
|
});
|
|
70255
70255
|
let s = uU(e, t, Y, u, [n], r, !1), c = UU({
|
|
@@ -70277,7 +70277,7 @@ ${n.join("\n")}
|
|
|
70277
70277
|
(a || u.emitDeclarationOnly) && (y = !0);
|
|
70278
70278
|
return;
|
|
70279
70279
|
}
|
|
70280
|
-
let c = fj(n) ? [n] : n.sourceFiles, l = s ? c :
|
|
70280
|
+
let c = fj(n) ? [n] : n.sourceFiles, l = s ? c : k(c, fg), d = u.outFile ? [Y.createBundle(l)] : l;
|
|
70281
70281
|
l.forEach((e) => {
|
|
70282
70282
|
(a && !fC(u) || u.noCheck || PU(a, s) || !Kw(e, u)) && w(e);
|
|
70283
70283
|
});
|
|
@@ -70331,7 +70331,7 @@ ${n.join("\n")}
|
|
|
70331
70331
|
}
|
|
70332
70332
|
function E(e, n, r, i, a) {
|
|
70333
70333
|
let o = r.transformed[0], s = o.kind === 308 ? o : void 0, c = o.kind === 307 ? o : void 0, l = s ? s.sourceFiles : [c], f;
|
|
70334
|
-
D(a, o) && (f = EB(t, ro(uo(e)), O(a),
|
|
70334
|
+
D(a, o) && (f = EB(t, ro(uo(e)), O(a), A(a, e, c), a)), s ? i.writeBundle(s, g, f) : i.writeFile(c, g, f);
|
|
70335
70335
|
let p;
|
|
70336
70336
|
if (f) {
|
|
70337
70337
|
d && d.push({
|
|
@@ -70354,7 +70354,7 @@ ${n.join("\n")}
|
|
|
70354
70354
|
let t = uo(e.sourceRoot || "");
|
|
70355
70355
|
return t && So(t);
|
|
70356
70356
|
}
|
|
70357
|
-
function
|
|
70357
|
+
function A(e, n, r) {
|
|
70358
70358
|
if (e.sourceRoot) return t.getCommonSourceDirectory();
|
|
70359
70359
|
if (e.mapRoot) {
|
|
70360
70360
|
let n = uo(e.mapRoot);
|
|
@@ -73030,7 +73030,7 @@ ${n.join("\n")}
|
|
|
73030
73030
|
}
|
|
73031
73031
|
function _(e, t) {
|
|
73032
73032
|
if (e) {
|
|
73033
|
-
if (
|
|
73033
|
+
if (T(u, e)) return !0;
|
|
73034
73034
|
let n = c(fG(t));
|
|
73035
73035
|
return !n || e.commandLine.options.configFile !== n.options.configFile || !we(e.commandLine.fileNames, n.fileNames) ? !1 : ((u ||= []).push(e), !p(e.references, (t, n) => !_(t, e.commandLine.projectReferences[n])));
|
|
73036
73036
|
}
|
|
@@ -73181,9 +73181,9 @@ ${n.join("\n")}
|
|
|
73181
73181
|
}
|
|
73182
73182
|
function rG(e, t, n, r, i) {
|
|
73183
73183
|
var a, o, c, l, d, f, m, h, g, _;
|
|
73184
|
-
let v = vt(e) ? gre(e, t, n, r, i) : e, { rootNames: y, options: b, configFileParsingDiagnostics: S, projectReferences: w, typeScriptVersion:
|
|
73184
|
+
let v = vt(e) ? gre(e, t, n, r, i) : e, { rootNames: y, options: b, configFileParsingDiagnostics: S, projectReferences: w, typeScriptVersion: E } = v, { oldProgram: D } = v;
|
|
73185
73185
|
for (let e of nF) if (Ze(b, e.name) && typeof b[e.name] == "string") throw Error(`${e.name} is a string value; tsconfig JSON must be parsed with parseJsonSourceFileConfigFileContent or getParsedCommandLineOfConfigFile before passing to createProgram`);
|
|
73186
|
-
let O = B(() => Hr("ignoreDeprecations", K.Invalid_value_for_ignoreDeprecations)),
|
|
73186
|
+
let O = B(() => Hr("ignoreDeprecations", K.Invalid_value_for_ignoreDeprecations)), A, j, ee, M, N, te, P, F = pt(), ie, ae, se, ce, le, ue, de, fe, pe, he, ge, _e, ve, ye, be, xe = typeof b.maxNodeModuleJsDepth == "number" ? b.maxNodeModuleJsDepth : 0, Se = 0, Ce = /* @__PURE__ */ new Map(), Te = /* @__PURE__ */ new Map();
|
|
73187
73187
|
(a = Nr) == null || a.push(Nr.Phase.Program, "createProgram", {
|
|
73188
73188
|
configFilePath: b.configFilePath,
|
|
73189
73189
|
rootDir: b.rootDir
|
|
@@ -73220,7 +73220,7 @@ ${n.join("\n")}
|
|
|
73220
73220
|
(c = Nr) == null || c.pop();
|
|
73221
73221
|
let ut;
|
|
73222
73222
|
if ((l = Nr) == null || l.push(Nr.Phase.Program, "tryReuseStructureFromOldProgram", {}), ut = Yt(), (d = Nr) == null || d.pop(), ut !== 2) {
|
|
73223
|
-
if (
|
|
73223
|
+
if (A = [], j = [], w && (et ||= w.map(br), y.length && et?.forEach((e, t) => {
|
|
73224
73224
|
if (!e) return;
|
|
73225
73225
|
let n = e.commandLine.options.outFile;
|
|
73226
73226
|
if (it) {
|
|
@@ -73261,7 +73261,7 @@ ${n.join("\n")}
|
|
|
73261
73261
|
});
|
|
73262
73262
|
});
|
|
73263
73263
|
}
|
|
73264
|
-
ee = Ne(
|
|
73264
|
+
ee = Ne(A, Bt).concat(j), A = void 0, j = void 0, ie = void 0;
|
|
73265
73265
|
}
|
|
73266
73266
|
if (D && Ee.onReleaseOldSourceFile) {
|
|
73267
73267
|
let e = D.getSourceFiles();
|
|
@@ -73467,7 +73467,7 @@ ${n.join("\n")}
|
|
|
73467
73467
|
}
|
|
73468
73468
|
function Ut() {
|
|
73469
73469
|
if (N === void 0) {
|
|
73470
|
-
let e =
|
|
73470
|
+
let e = k(ee, (e) => My(e, R));
|
|
73471
73471
|
N = kU(b, () => oe(e, (e) => e.isDeclarationFile ? void 0 : e.fileName), Pe, _r, (t) => yr(e, t));
|
|
73472
73472
|
}
|
|
73473
73473
|
return N;
|
|
@@ -73523,7 +73523,7 @@ ${n.join("\n")}
|
|
|
73523
73523
|
}
|
|
73524
73524
|
if (l) {
|
|
73525
73525
|
let t = i.getName(u);
|
|
73526
|
-
if (
|
|
73526
|
+
if (T(n.ambientModuleNames, t)) {
|
|
73527
73527
|
dL(b, Ee) && uL(Ee, K.Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1, t, go(n.originalFileName, Pe)), (p ??= Array(e.length))[c] = IW;
|
|
73528
73528
|
continue;
|
|
73529
73529
|
}
|
|
@@ -73741,7 +73741,7 @@ ${n.join("\n")}
|
|
|
73741
73741
|
let r = an();
|
|
73742
73742
|
U.assert(!!e.bindDiagnostics);
|
|
73743
73743
|
let i = e.scriptKind === 1 || e.scriptKind === 2, a = ip(e, b.checkJs), o = i && Fw(e, b), s = e.bindDiagnostics, c = r.getDiagnostics(e, t, n);
|
|
73744
|
-
return a && (s =
|
|
73744
|
+
return a && (s = k(s, (e) => mre.has(e.code)), c = k(c, (e) => mre.has(e.code))), wn(e, !a, !!n, s, c, o ? e.jsDocDiagnostics : void 0);
|
|
73745
73745
|
});
|
|
73746
73746
|
}
|
|
73747
73747
|
function wn(e, t, n, ...r) {
|
|
@@ -74098,7 +74098,7 @@ ${n.join("\n")}
|
|
|
74098
74098
|
let t = jt(a), n = $e.get(t);
|
|
74099
74099
|
n ? qn(e, n, r) : $e.set(t, l);
|
|
74100
74100
|
}
|
|
74101
|
-
Oe ||= l.hasNoDefaultLib && !n, b.noResolve || (lr(l, t), ur(l)), b.noLib || gr(l), vr(l), t ?
|
|
74101
|
+
Oe ||= l.hasNoDefaultLib && !n, b.noResolve || (lr(l, t), ur(l)), b.noLib || gr(l), vr(l), t ? A.push(l) : j.push(l), (ie ??= /* @__PURE__ */ new Set()).add(l.path);
|
|
74102
74102
|
}
|
|
74103
74103
|
return l;
|
|
74104
74104
|
}
|
|
@@ -74369,7 +74369,7 @@ ${n.join("\n")}
|
|
|
74369
74369
|
return Rn.zero;
|
|
74370
74370
|
}
|
|
74371
74371
|
function Tr(e, t, n, r) {
|
|
74372
|
-
let i = new Rn(e), a = new Rn(t), o = new Rn(
|
|
74372
|
+
let i = new Rn(e), a = new Rn(t), o = new Rn(E || s), c = wr(), l = a.compareTo(o) !== 1, u = !l && c.compareTo(i) === -1;
|
|
74373
74373
|
(l || u) && r((r, i, a) => {
|
|
74374
74374
|
l ? i === void 0 ? n(r, i, a, K.Option_0_has_been_removed_Please_remove_it_from_your_configuration, r) : n(r, i, a, K.Option_0_1_has_been_removed_Please_remove_it_from_your_configuration, r, i) : i === void 0 ? n(r, i, a, K.Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error, r, t, e) : n(r, i, a, K.Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error, r, i, t, e);
|
|
74375
74375
|
});
|
|
@@ -74725,7 +74725,7 @@ ${n.join("\n")}
|
|
|
74725
74725
|
};
|
|
74726
74726
|
}
|
|
74727
74727
|
function uG(e, t) {
|
|
74728
|
-
return
|
|
74728
|
+
return k(e, (e) => !e.skippedOn || !t[e.skippedOn]);
|
|
74729
74729
|
}
|
|
74730
74730
|
function dG(e, t = e) {
|
|
74731
74731
|
return {
|
|
@@ -76429,11 +76429,11 @@ ${n.join("\n")}
|
|
|
76429
76429
|
};
|
|
76430
76430
|
}
|
|
76431
76431
|
function MK(e, t, n) {
|
|
76432
|
-
return e.clearScreen && !n.preserveWatchOutput && !n.extendedDiagnostics && !n.diagnostics &&
|
|
76432
|
+
return e.clearScreen && !n.preserveWatchOutput && !n.extendedDiagnostics && !n.diagnostics && T(NK, t.code) ? (e.clearScreen(), !0) : !1;
|
|
76433
76433
|
}
|
|
76434
76434
|
var NK = [K.Starting_compilation_in_watch_mode.code, K.File_change_detected_Starting_incremental_compilation.code];
|
|
76435
76435
|
function PK(e, t) {
|
|
76436
|
-
return
|
|
76436
|
+
return T(NK, e.code) ? t + t : t;
|
|
76437
76437
|
}
|
|
76438
76438
|
function FK(e) {
|
|
76439
76439
|
return e.now ? e.now().toLocaleTimeString("en-US", { timeZone: "UTC" }).replace(" ", " ") : (/* @__PURE__ */ new Date()).toLocaleTimeString();
|
|
@@ -76458,7 +76458,7 @@ ${n.join("\n")}
|
|
|
76458
76458
|
return O(e, (e) => e.category === 1);
|
|
76459
76459
|
}
|
|
76460
76460
|
function zK(e) {
|
|
76461
|
-
return
|
|
76461
|
+
return k(e, (e) => e.category === 1).map((e) => {
|
|
76462
76462
|
if (e.file !== void 0) return `${e.file.fileName}`;
|
|
76463
76463
|
}).map((t) => {
|
|
76464
76464
|
if (t === void 0) return;
|
|
@@ -77950,7 +77950,7 @@ ${n.join("\n")}
|
|
|
77950
77950
|
return !t || t.pretty === void 0 ? LJ(e) : t.pretty;
|
|
77951
77951
|
}
|
|
77952
77952
|
function zJ(e) {
|
|
77953
|
-
return e.options.all ? Ne(KP.concat(iF), (e, t) => Ut(e.name, t.name)) :
|
|
77953
|
+
return e.options.all ? Ne(KP.concat(iF), (e, t) => Ut(e.name, t.name)) : k(KP.concat(iF), (e) => !!e.showInSimplifiedHelpView);
|
|
77954
77954
|
}
|
|
77955
77955
|
function BJ(e) {
|
|
77956
77956
|
e.write(kF(K.Version_0, c) + e.newLine);
|
|
@@ -78016,7 +78016,7 @@ ${n.join("\n")}
|
|
|
78016
78016
|
"false",
|
|
78017
78017
|
"n/a"
|
|
78018
78018
|
], i = t.defaultValueDescription;
|
|
78019
|
-
return !(t.category === K.Command_line_Options ||
|
|
78019
|
+
return !(t.category === K.Command_line_Options || T(n, e?.possibleValues) && T(r, i));
|
|
78020
78020
|
}
|
|
78021
78021
|
function f(e, t, n, r, i, o) {
|
|
78022
78022
|
let s = [], c = !0, l = t, u = i - r;
|
|
@@ -78097,7 +78097,7 @@ ${n.join("\n")}
|
|
|
78097
78097
|
function Vre(e, t) {
|
|
78098
78098
|
let n = VJ(e), r = [...KJ(e, `${kF(K.tsc_Colon_The_TypeScript_Compiler)} - ${kF(K.Version_0, c)}`)];
|
|
78099
78099
|
r.push(n.bold(kF(K.COMMON_COMMANDS)) + e.newLine + e.newLine), o("tsc", K.Compiles_the_current_project_tsconfig_json_in_the_working_directory), o("tsc app.ts util.ts", K.Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options), o("tsc -b", K.Build_a_composite_project_in_the_working_directory), o("tsc --init", K.Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory), o("tsc -p ./path/to/tsconfig.json", K.Compiles_the_TypeScript_project_located_at_the_specified_path), o("tsc --help --all", K.An_expanded_version_of_this_information_showing_all_possible_compiler_options), o(["tsc --noEmit", "tsc --target esnext"], K.Compiles_the_current_project_with_additional_settings);
|
|
78100
|
-
let i = t.filter((e) => e.isCommandLineOnly || e.category === K.Command_line_Options), a = t.filter((e) => !
|
|
78100
|
+
let i = t.filter((e) => e.isCommandLineOnly || e.category === K.Command_line_Options), a = t.filter((e) => !T(i, e));
|
|
78101
78101
|
r = [
|
|
78102
78102
|
...r,
|
|
78103
78103
|
...WJ(e, kF(K.COMMAND_LINE_FLAGS), i, !1, void 0, void 0),
|
|
@@ -78112,12 +78112,12 @@ ${n.join("\n")}
|
|
|
78112
78112
|
}
|
|
78113
78113
|
function GJ(e, t, n, r) {
|
|
78114
78114
|
let i = [...KJ(e, `${kF(K.tsc_Colon_The_TypeScript_Compiler)} - ${kF(K.Version_0, c)}`)];
|
|
78115
|
-
i = [...i, ...WJ(e, kF(K.ALL_COMPILER_OPTIONS), t, !0, void 0, MS(K.You_can_learn_about_all_of_the_compiler_options_at_0, "https://aka.ms/tsc"))], i = [...i, ...WJ(e, kF(K.WATCH_OPTIONS), r, !1, kF(K.Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon))], i = [...i, ...WJ(e, kF(K.BUILD_OPTIONS),
|
|
78115
|
+
i = [...i, ...WJ(e, kF(K.ALL_COMPILER_OPTIONS), t, !0, void 0, MS(K.You_can_learn_about_all_of_the_compiler_options_at_0, "https://aka.ms/tsc"))], i = [...i, ...WJ(e, kF(K.WATCH_OPTIONS), r, !1, kF(K.Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon))], i = [...i, ...WJ(e, kF(K.BUILD_OPTIONS), k(n, (e) => e !== iF), !1, MS(K.Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0, "https://aka.ms/tsc-composite-builds"))];
|
|
78116
78116
|
for (let t of i) e.write(t);
|
|
78117
78117
|
}
|
|
78118
78118
|
function Hre(e, t) {
|
|
78119
78119
|
let n = [...KJ(e, `${kF(K.tsc_Colon_The_TypeScript_Compiler)} - ${kF(K.Version_0, c)}`)];
|
|
78120
|
-
n = [...n, ...WJ(e, kF(K.BUILD_OPTIONS),
|
|
78120
|
+
n = [...n, ...WJ(e, kF(K.BUILD_OPTIONS), k(t, (e) => e !== iF), !1, MS(K.Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0, "https://aka.ms/tsc-composite-builds"))];
|
|
78121
78121
|
for (let t of n) e.write(t);
|
|
78122
78122
|
}
|
|
78123
78123
|
function KJ(e, t) {
|
|
@@ -79503,7 +79503,7 @@ ${n.join("\n")}
|
|
|
79503
79503
|
}
|
|
79504
79504
|
function YX(e) {
|
|
79505
79505
|
let t = x(e.parent.getChildren(), (t) => tM(t) && Ix(t, e));
|
|
79506
|
-
return U.assert(!t ||
|
|
79506
|
+
return U.assert(!t || T(t.getChildren(), e)), t;
|
|
79507
79507
|
}
|
|
79508
79508
|
function hie(e) {
|
|
79509
79509
|
return e.kind === 90;
|
|
@@ -79582,7 +79582,7 @@ ${n.join("\n")}
|
|
|
79582
79582
|
}
|
|
79583
79583
|
function Tie(e, t) {
|
|
79584
79584
|
let { parent: n } = e;
|
|
79585
|
-
if (Au(e) && (t || e.kind !== 90) ? AN(n) &&
|
|
79585
|
+
if (Au(e) && (t || e.kind !== 90) ? AN(n) && T(n.modifiers, e) : e.kind === 86 ? _A(n) || Rk(e) : e.kind === 100 ? gA(n) || Tk(e) : e.kind === 120 ? vA(n) : e.kind === 94 ? bA(n) : e.kind === 156 ? yA(n) : e.kind === 145 || e.kind === 144 ? xA(n) : e.kind === 102 ? TA(n) : e.kind === 139 ? RO(n) : e.kind === 153 && zO(n)) {
|
|
79586
79586
|
let e = xie(n, t);
|
|
79587
79587
|
if (e) return e;
|
|
79588
79588
|
}
|
|
@@ -79967,7 +79967,7 @@ ${n.join("\n")}
|
|
|
79967
79967
|
159
|
|
79968
79968
|
];
|
|
79969
79969
|
function VZ(e) {
|
|
79970
|
-
return
|
|
79970
|
+
return T(BZ, e);
|
|
79971
79971
|
}
|
|
79972
79972
|
function jie(e) {
|
|
79973
79973
|
return e.kind === 156;
|
|
@@ -80091,7 +80091,7 @@ ${n.join("\n")}
|
|
|
80091
80091
|
return AN(e) ? x(e.modifiers, (e) => e.kind === t) : void 0;
|
|
80092
80092
|
}
|
|
80093
80093
|
function pQ(e, t, n, r, i) {
|
|
80094
|
-
let a = (vt(n) ? n[0] : n).kind === 243 ? yg : dm, o =
|
|
80094
|
+
let a = (vt(n) ? n[0] : n).kind === 243 ? yg : dm, o = k(t.statements, a), { comparer: s, isSorted: c } = Z5.getOrganizeImportsStringComparerWithDetection(o, i), l = vt(n) ? Ne(n, (e, t) => Z5.compareImportsOrRequireStatements(e, t, s)) : [n];
|
|
80095
80095
|
if (!o?.length) {
|
|
80096
80096
|
if (cg(t)) e.insertNodesAtTopOfFile(t, l, r);
|
|
80097
80097
|
else for (let n of l) e.insertStatementsInNewFile(t.fileName, [n], Vc(n)?.getSourceFile());
|
|
@@ -80720,7 +80720,7 @@ ${n.join("\n")}
|
|
|
80720
80720
|
return I(e.imports, ({ text: e }) => aE.has(e));
|
|
80721
80721
|
}
|
|
80722
80722
|
function F$(e) {
|
|
80723
|
-
return
|
|
80723
|
+
return T(co(e), "node_modules");
|
|
80724
80724
|
}
|
|
80725
80725
|
function Xie(e) {
|
|
80726
80726
|
return e.file !== void 0 && e.start !== void 0 && e.length !== void 0;
|
|
@@ -81766,7 +81766,7 @@ ${n.join("\n")}
|
|
|
81766
81766
|
default: return Du(e.kind) && (Hd(e.parent) || Zk(e.parent)) ? a(f(e.kind, e.parent)) : void 0;
|
|
81767
81767
|
}
|
|
81768
81768
|
function r(n, r) {
|
|
81769
|
-
return i(e.parent, n, (e) => oe(St(e, Ld)?.symbol.declarations, (e) => n(e) ? x(e.getChildren(t), (e) =>
|
|
81769
|
+
return i(e.parent, n, (e) => oe(St(e, Ld)?.symbol.declarations, (e) => n(e) ? x(e.getChildren(t), (e) => T(r, e.kind)) : void 0));
|
|
81770
81770
|
}
|
|
81771
81771
|
function i(e, n, r) {
|
|
81772
81772
|
return n(e) ? a(r(e, t)) : void 0;
|
|
@@ -81842,7 +81842,7 @@ ${n.join("\n")}
|
|
|
81842
81842
|
}
|
|
81843
81843
|
}
|
|
81844
81844
|
function h(e, t, ...n) {
|
|
81845
|
-
return t &&
|
|
81845
|
+
return t && T(n, t.kind) ? (e.push(t), !0) : !1;
|
|
81846
81846
|
}
|
|
81847
81847
|
function g(e) {
|
|
81848
81848
|
let t = [];
|
|
@@ -81904,7 +81904,7 @@ ${n.join("\n")}
|
|
|
81904
81904
|
return t.modifiers && t.modifiers.forEach((e) => {
|
|
81905
81905
|
h(n, e, 134);
|
|
81906
81906
|
}), cP(t, (e) => {
|
|
81907
|
-
|
|
81907
|
+
E(e, (e) => {
|
|
81908
81908
|
Ak(e) && h(n, e.getFirstToken(), 135);
|
|
81909
81909
|
});
|
|
81910
81910
|
}), n;
|
|
@@ -81914,13 +81914,13 @@ ${n.join("\n")}
|
|
|
81914
81914
|
if (!t) return;
|
|
81915
81915
|
let n = [];
|
|
81916
81916
|
return cP(t, (e) => {
|
|
81917
|
-
|
|
81917
|
+
E(e, (e) => {
|
|
81918
81918
|
Ik(e) && h(n, e.getFirstToken(), 127);
|
|
81919
81919
|
});
|
|
81920
81920
|
}), n;
|
|
81921
81921
|
}
|
|
81922
|
-
function
|
|
81923
|
-
t(e), !Pu(e) && !Hu(e) && !vA(e) && !xA(e) && !yA(e) && !Zu(e) && cP(e, (e) =>
|
|
81922
|
+
function E(e, t) {
|
|
81923
|
+
t(e), !Pu(e) && !Hu(e) && !vA(e) && !xA(e) && !yA(e) && !Zu(e) && cP(e, (e) => E(e, t));
|
|
81924
81924
|
}
|
|
81925
81925
|
function D(e, t) {
|
|
81926
81926
|
let r = O(e, t), i = [];
|
|
@@ -82849,7 +82849,7 @@ ${n.join("\n")}
|
|
|
82849
82849
|
}
|
|
82850
82850
|
var poe;
|
|
82851
82851
|
function Q1(e, t) {
|
|
82852
|
-
poe ||=
|
|
82852
|
+
poe ||= k(KP, (e) => typeof e.type == "object" && !Rf(e.type, (e) => typeof e != "number")), e = OZ(e);
|
|
82853
82853
|
for (let n of poe) {
|
|
82854
82854
|
if (!Ze(e, n.name)) continue;
|
|
82855
82855
|
let r = e[n.name];
|
|
@@ -83161,7 +83161,7 @@ ${n.join("\n")}
|
|
|
83161
83161
|
}
|
|
83162
83162
|
function v0(e, t) {
|
|
83163
83163
|
let n = /* @__PURE__ */ new Map();
|
|
83164
|
-
|
|
83164
|
+
A(e, (e, r) => {
|
|
83165
83165
|
let i = e.name || tl(e.node), a = i && l0(i);
|
|
83166
83166
|
if (!a) return !0;
|
|
83167
83167
|
let o = n.get(a);
|
|
@@ -83230,7 +83230,7 @@ ${n.join("\n")}
|
|
|
83230
83230
|
function Loe(e, t) {
|
|
83231
83231
|
if (e.parent === void 0) return !1;
|
|
83232
83232
|
let n = SA(e.parent) ? e.parent.parent : e.parent;
|
|
83233
|
-
return n === t.node ||
|
|
83233
|
+
return n === t.node || T(t.additionalNodes, n);
|
|
83234
83234
|
}
|
|
83235
83235
|
function Roe(e, t) {
|
|
83236
83236
|
return !e.body || !t.body ? e.body === t.body : e.body.kind === t.body.kind && (e.body.kind !== 267 || Roe(e.body, t.body));
|
|
@@ -84095,7 +84095,7 @@ ${n.join("\n")}
|
|
|
84095
84095
|
for (let { first: r, afterLast: i } of t) n.deleteNodeRangeExcludingEnd(e, r, i);
|
|
84096
84096
|
}
|
|
84097
84097
|
function kse(e, t, n, r) {
|
|
84098
|
-
for (let i of e.statements)
|
|
84098
|
+
for (let i of e.statements) T(t, i) || Ise(i, (e) => {
|
|
84099
84099
|
Lse(e, (e) => {
|
|
84100
84100
|
n.has(e.symbol) && r.removeExistingImport(e);
|
|
84101
84101
|
});
|
|
@@ -84371,7 +84371,7 @@ ${n.join("\n")}
|
|
|
84371
84371
|
});
|
|
84372
84372
|
for (let e of o.keys()) l.add(e);
|
|
84373
84373
|
let u = /* @__PURE__ */ new Map();
|
|
84374
|
-
for (let r of e.statements)
|
|
84374
|
+
for (let r of e.statements) T(t, r) || (c && r.transformFlags & 2 && l.delete(c), t2(r, n, i, (e, t) => {
|
|
84375
84375
|
a.has(e) && u.set(e, t), l.delete(e);
|
|
84376
84376
|
}));
|
|
84377
84377
|
return {
|
|
@@ -84472,7 +84472,7 @@ ${n.join("\n")}
|
|
|
84472
84472
|
t && t.moduleSpecifier && s.set(t, (s.get(t) || /* @__PURE__ */ new Set()).add(e));
|
|
84473
84473
|
});
|
|
84474
84474
|
for (let [t, i] of rt(s)) if (t.exportClause && zA(t.exportClause) && f(t.exportClause.elements)) {
|
|
84475
|
-
let o = t.exportClause.elements, s =
|
|
84475
|
+
let o = t.exportClause.elements, s = k(o, (e) => x(Gx(e.symbol, n).declarations, (e) => i2(e) && i.has(e)) === void 0);
|
|
84476
84476
|
if (f(s) === 0) {
|
|
84477
84477
|
e.deleteNode(r, t), a.add(t);
|
|
84478
84478
|
continue;
|
|
@@ -84486,7 +84486,7 @@ ${n.join("\n")}
|
|
|
84486
84486
|
function lce(e, t) {
|
|
84487
84487
|
if (Iu(t)) {
|
|
84488
84488
|
let n = t.symbol.declarations;
|
|
84489
|
-
if (n === void 0 || f(n) <= 1 || !
|
|
84489
|
+
if (n === void 0 || f(n) <= 1 || !T(n, t)) return;
|
|
84490
84490
|
let r = n[0], i = n[f(n) - 1], a = oe(n, (t) => np(t) === e && Gd(t) ? t : void 0), o = C(e.statements, (e) => e.end >= i.end);
|
|
84491
84491
|
return {
|
|
84492
84492
|
toMove: a,
|
|
@@ -85048,7 +85048,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
85048
85048
|
}
|
|
85049
85049
|
function Xce(e, t, n) {
|
|
85050
85050
|
let r = hle(e), i = LO(e) ? mle(e) : [], a = ye([...r, ...i], Ft), o = t.getTypeChecker(), s = c(re(a, (e) => v5.getReferenceEntriesForNode(-1, e, t, t.getSourceFiles(), n)));
|
|
85051
|
-
return b(s.declarations, (e) =>
|
|
85051
|
+
return b(s.declarations, (e) => T(a, e)) || (s.valid = !1), s;
|
|
85052
85052
|
function c(t) {
|
|
85053
85053
|
let n = {
|
|
85054
85054
|
accessExpressions: [],
|
|
@@ -85064,7 +85064,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
85064
85064
|
a.valid = !1;
|
|
85065
85065
|
continue;
|
|
85066
85066
|
}
|
|
85067
|
-
if (
|
|
85067
|
+
if (T(d, l(r.node))) {
|
|
85068
85068
|
if (rle(r.node.parent)) {
|
|
85069
85069
|
a.signature = r.node.parent;
|
|
85070
85070
|
continue;
|
|
@@ -85076,14 +85076,14 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
85076
85076
|
}
|
|
85077
85077
|
}
|
|
85078
85078
|
let t = w2(r.node, o);
|
|
85079
|
-
if (t &&
|
|
85079
|
+
if (t && T(d, t)) {
|
|
85080
85080
|
let e = T2(r);
|
|
85081
85081
|
if (e) {
|
|
85082
85082
|
a.declarations.push(e);
|
|
85083
85083
|
continue;
|
|
85084
85084
|
}
|
|
85085
85085
|
}
|
|
85086
|
-
if (
|
|
85086
|
+
if (T(s, l(r.node)) || vX(r.node)) {
|
|
85087
85087
|
if (Zce(r)) continue;
|
|
85088
85088
|
let e = T2(r);
|
|
85089
85089
|
if (e) {
|
|
@@ -85096,7 +85096,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
85096
85096
|
continue;
|
|
85097
85097
|
}
|
|
85098
85098
|
}
|
|
85099
|
-
if (u &&
|
|
85099
|
+
if (u && T(c, l(r.node))) {
|
|
85100
85100
|
if (Zce(r)) continue;
|
|
85101
85101
|
let t = T2(r);
|
|
85102
85102
|
if (t) {
|
|
@@ -85880,7 +85880,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
85880
85880
|
case 252:
|
|
85881
85881
|
case 251: {
|
|
85882
85882
|
let t = e.label;
|
|
85883
|
-
t ?
|
|
85883
|
+
t ? T(o, t.escapedText) || (i ||= []).push(Em(e, G2.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)) : a & (e.kind === 252 ? 1 : 2) || (i ||= []).push(Em(e, G2.cannotExtractRangeContainingConditionalBreakOrContinueStatements));
|
|
85884
85884
|
break;
|
|
85885
85885
|
}
|
|
85886
85886
|
case 223:
|
|
@@ -86804,8 +86804,8 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
86804
86804
|
}
|
|
86805
86805
|
getContextualDocumentationComment(e, t) {
|
|
86806
86806
|
if (e) {
|
|
86807
|
-
if (sf(e) && (this.contextualGetAccessorDocumentationComment ||= (this.contextualGetAccessorDocumentationComment = u, u4(
|
|
86808
|
-
if (of(e) && (this.contextualSetAccessorDocumentationComment ||= (this.contextualSetAccessorDocumentationComment = u, u4(
|
|
86807
|
+
if (sf(e) && (this.contextualGetAccessorDocumentationComment ||= (this.contextualGetAccessorDocumentationComment = u, u4(k(this.declarations, sf), t)), f(this.contextualGetAccessorDocumentationComment))) return this.contextualGetAccessorDocumentationComment;
|
|
86808
|
+
if (of(e) && (this.contextualSetAccessorDocumentationComment ||= (this.contextualSetAccessorDocumentationComment = u, u4(k(this.declarations, of), t)), f(this.contextualSetAccessorDocumentationComment))) return this.contextualSetAccessorDocumentationComment;
|
|
86809
86809
|
}
|
|
86810
86810
|
return this.getDocumentationComment(t);
|
|
86811
86811
|
}
|
|
@@ -86814,8 +86814,8 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
86814
86814
|
}
|
|
86815
86815
|
getContextualJsDocTags(e, t) {
|
|
86816
86816
|
if (e) {
|
|
86817
|
-
if (sf(e) && (this.contextualGetAccessorTags ||= (this.contextualGetAccessorTags = u, l4(
|
|
86818
|
-
if (of(e) && (this.contextualSetAccessorTags ||= (this.contextualSetAccessorTags = u, l4(
|
|
86817
|
+
if (sf(e) && (this.contextualGetAccessorTags ||= (this.contextualGetAccessorTags = u, l4(k(this.declarations, sf), t)), f(this.contextualGetAccessorTags))) return this.contextualGetAccessorTags;
|
|
86818
|
+
if (of(e) && (this.contextualSetAccessorTags ||= (this.contextualSetAccessorTags = u, l4(k(this.declarations, of), t)), f(this.contextualSetAccessorTags))) return this.contextualSetAccessorTags;
|
|
86819
86819
|
}
|
|
86820
86820
|
return this.getJsDocTags(t);
|
|
86821
86821
|
}
|
|
@@ -88218,7 +88218,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
88218
88218
|
let e = n.getProperty(i);
|
|
88219
88219
|
return e ? [e] : u;
|
|
88220
88220
|
}
|
|
88221
|
-
let a = _k(e.parent) || ej(e.parent) ?
|
|
88221
|
+
let a = _k(e.parent) || ej(e.parent) ? k(n.types, (n) => !t.isTypeInvalidDueToUnionDiscriminant(n, e.parent)) : n.types, o = oe(a, (e) => e.getProperty(i));
|
|
88222
88222
|
if (r && (o.length === 0 || o.length === n.types.length)) {
|
|
88223
88223
|
let e = n.getProperty(i);
|
|
88224
88224
|
if (e) return [e];
|
|
@@ -88714,7 +88714,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
88714
88714
|
}
|
|
88715
88715
|
function Nde(e, t, n) {
|
|
88716
88716
|
if (fj(t) || xA(t) || IO(t)) return [];
|
|
88717
|
-
let r = bde(t), i =
|
|
88717
|
+
let r = bde(t), i = k(v5.findReferenceOrRenameEntries(e, n, e.getSourceFiles(), r, 0, { use: v5.FindReferencesUse.References }, kde), Ode);
|
|
88718
88718
|
return i ? lt(i, Ade, (t) => Mde(e, t)) : [];
|
|
88719
88719
|
}
|
|
88720
88720
|
function Pde(e, t) {
|
|
@@ -88925,7 +88925,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
88925
88925
|
}
|
|
88926
88926
|
function qde(e, t) {
|
|
88927
88927
|
let { errorCodes: n } = e, r = 0;
|
|
88928
|
-
for (let e of t) if (
|
|
88928
|
+
for (let e of t) if (T(n, e.code) && r++, r > 1) break;
|
|
88929
88929
|
let i = r < 2;
|
|
88930
88930
|
return ({ fixId: e, fixAllDescription: t, ...n }) => i ? n : {
|
|
88931
88931
|
...n,
|
|
@@ -88957,7 +88957,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
88957
88957
|
return R4(v7.ChangeTracker.with(e, (i) => B4(e, t, (e) => n(i, e, r))), r.length === 0 ? void 0 : r);
|
|
88958
88958
|
}
|
|
88959
88959
|
function B4(e, t, n) {
|
|
88960
|
-
for (let r of Zde(e))
|
|
88960
|
+
for (let r of Zde(e)) T(t, r.code) && n(r);
|
|
88961
88961
|
}
|
|
88962
88962
|
function Zde({ program: e, sourceFile: t, cancellationToken: n }) {
|
|
88963
88963
|
let r = [
|
|
@@ -89152,7 +89152,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
89152
89152
|
}
|
|
89153
89153
|
function mfe(e, t, n, r) {
|
|
89154
89154
|
let i = vk(e.parent) ? e.parent.name : Nk(e.parent) ? e.parent : e, a = x(t, (e) => e.start === i.getStart(n) && e.start + e.length === i.getEnd());
|
|
89155
|
-
return a &&
|
|
89155
|
+
return a && T(W4, a.code) || r.getTypeAtLocation(i).flags & 1;
|
|
89156
89156
|
}
|
|
89157
89157
|
function hfe(e) {
|
|
89158
89158
|
return e.flags & 65536 || !!q(e, (e) => e.parent && Ek(e.parent) && e.parent.body === e || Xk(e) && (e.parent.kind === 262 || e.parent.kind === 218 || e.parent.kind === 219 || e.parent.kind === 174));
|
|
@@ -89180,7 +89180,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
89180
89180
|
if (e && a.has(sB(e))) return;
|
|
89181
89181
|
}
|
|
89182
89182
|
e.replaceNode(n, i.parent.expression, Y.createParenthesizedExpression(Y.createAwaitExpression(i.parent.expression))), gfe(e, i.parent.expression, n);
|
|
89183
|
-
} else if (
|
|
89183
|
+
} else if (T(sfe, t) && pd(i.parent)) {
|
|
89184
89184
|
if (a && X(i)) {
|
|
89185
89185
|
let e = r.getSymbolAtLocation(i);
|
|
89186
89186
|
if (e && a.has(sB(e))) return;
|
|
@@ -89593,7 +89593,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
89593
89593
|
}
|
|
89594
89594
|
}
|
|
89595
89595
|
function t3(e, t) {
|
|
89596
|
-
return AN(e) ?
|
|
89596
|
+
return AN(e) ? k(e.modifiers, (e) => e.kind === t) : void 0;
|
|
89597
89597
|
}
|
|
89598
89598
|
function n3(e) {
|
|
89599
89599
|
return e.name ? !!(X(e.name) && e.name.text === "constructor") : !1;
|
|
@@ -89958,11 +89958,11 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
89958
89958
|
}, o = Epe(e, t, a);
|
|
89959
89959
|
Dpe(e, o, n);
|
|
89960
89960
|
let s = !1, c;
|
|
89961
|
-
for (let o of
|
|
89961
|
+
for (let o of k(e.statements, Zk)) {
|
|
89962
89962
|
let s = Ape(e, o, n, t, a, r, i);
|
|
89963
89963
|
s && Bf(s, c ??= /* @__PURE__ */ new Map());
|
|
89964
89964
|
}
|
|
89965
|
-
for (let l of
|
|
89965
|
+
for (let l of k(e.statements, (e) => !Zk(e))) {
|
|
89966
89966
|
let u = kpe(e, l, t, n, a, r, o, c, i);
|
|
89967
89967
|
s ||= u;
|
|
89968
89968
|
}
|
|
@@ -90245,7 +90245,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
90245
90245
|
let r = t.parent, i = r.parent, a = $pe(t, n);
|
|
90246
90246
|
if (a.length === r.elements.length) e.insertModifierBefore(n.sourceFile, 156, r);
|
|
90247
90247
|
else {
|
|
90248
|
-
let t = Y.updateExportDeclaration(i, i.modifiers, !1, Y.updateNamedExports(r,
|
|
90248
|
+
let t = Y.updateExportDeclaration(i, i.modifiers, !1, Y.updateNamedExports(r, k(r.elements, (e) => !T(a, e))), i.moduleSpecifier, void 0), o = Y.createExportDeclaration(void 0, !0, Y.createNamedExports(a), i.moduleSpecifier, void 0);
|
|
90249
90249
|
e.replaceNode(n.sourceFile, i, t, {
|
|
90250
90250
|
leadingTriviaOption: v7.LeadingTriviaOption.IncludeAll,
|
|
90251
90251
|
trailingTriviaOption: v7.TrailingTriviaOption.Exclude
|
|
@@ -90256,7 +90256,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
90256
90256
|
let n = e.parent;
|
|
90257
90257
|
if (n.elements.length === 1) return n.elements;
|
|
90258
90258
|
let r = L$(NZ(n), t.program.getSemanticDiagnostics(t.sourceFile, t.cancellationToken));
|
|
90259
|
-
return
|
|
90259
|
+
return k(n.elements, (t) => t === e || I$(t, r)?.code === D3[0]);
|
|
90260
90260
|
}
|
|
90261
90261
|
var eme = [K._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled.code, K._0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled.code], k3 = "convertToTypeOnlyImport";
|
|
90262
90262
|
L4({
|
|
@@ -92210,7 +92210,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
92210
92210
|
let n = e.getTypeAtLocation(t.expression);
|
|
92211
92211
|
for (let e of n.getProperties()) a.add(e.escapedName);
|
|
92212
92212
|
}
|
|
92213
|
-
return
|
|
92213
|
+
return k(i, (e) => Gs(e.name, t, 1) && !(e.flags & 16777216 || Ux(e) & 48 || a.has(e.escapedName)));
|
|
92214
92214
|
}
|
|
92215
92215
|
function xge(e, t) {
|
|
92216
92216
|
if (JO(e)) return;
|
|
@@ -92271,7 +92271,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
92271
92271
|
function Oge(e, t, n) {
|
|
92272
92272
|
let r = q(tZ(e, n), bk);
|
|
92273
92273
|
if (r === void 0 || f(r.arguments) === 0) return;
|
|
92274
|
-
let i = t.getTypeChecker(), a =
|
|
92274
|
+
let i = t.getTypeChecker(), a = k(i.getTypeAtLocation(r.expression).symbol.declarations, jge);
|
|
92275
92275
|
if (a === void 0) return;
|
|
92276
92276
|
let o = Ve(a);
|
|
92277
92277
|
if (o === void 0 || o.body === void 0 || e1(t, o.getSourceFile())) return;
|
|
@@ -95781,7 +95781,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
95781
95781
|
case 174: {
|
|
95782
95782
|
let e = u.flags & 1048576 && u.types.length < 10 ? s.getUnionType(u.types, 2) : u;
|
|
95783
95783
|
if (e.flags & 1048576) {
|
|
95784
|
-
let t =
|
|
95784
|
+
let t = k(e.types, (e) => s.getSignaturesOfType(e, 0).length > 0);
|
|
95785
95785
|
if (t.length === 1) e = t[0];
|
|
95786
95786
|
else return;
|
|
95787
95787
|
}
|
|
@@ -96267,7 +96267,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
96267
96267
|
f = ur();
|
|
96268
96268
|
let b = !_ && !v && lg(n), S = $8(i, n), C = S.previousToken, w = S.contextToken;
|
|
96269
96269
|
t("getCompletionData: Get previous token: " + (ur() - f));
|
|
96270
|
-
let T = m, E, D = !1, O = !1,
|
|
96270
|
+
let T = m, E, D = !1, O = !1, A = !1, j = !1, ee = !1, M = !1, N, te = $X(n, i), ne = 0, P = !1, F = 0, ie;
|
|
96271
96271
|
if (w) {
|
|
96272
96272
|
let e = Bxe(w, n);
|
|
96273
96273
|
if (e.keywordCompletion) {
|
|
@@ -96315,7 +96315,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
96315
96315
|
case 285:
|
|
96316
96316
|
case 284:
|
|
96317
96317
|
case 286:
|
|
96318
|
-
M = !0, w.kind === 30 && (
|
|
96318
|
+
M = !0, w.kind === 30 && (A = !0, te = w);
|
|
96319
96319
|
break;
|
|
96320
96320
|
case 294:
|
|
96321
96321
|
case 293:
|
|
@@ -96338,7 +96338,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
96338
96338
|
}
|
|
96339
96339
|
let ae = ur(), se = 5, ce = !1, le = [], ue, de = [], fe = [], pe = /* @__PURE__ */ new Set(), he = Me(), ge = Nt((t) => ZZ(t ? s.getPackageJsonAutoImportProvider() : e, s));
|
|
96340
96340
|
if (D || O) Se();
|
|
96341
|
-
else if (
|
|
96341
|
+
else if (A) le = u.getJsxIntrinsicTagNamesAt(te), U.assertEachIsDefined(le, "getJsxIntrinsicTagNames() should all be defined"), Ee(), se = 1, ne = 0;
|
|
96342
96342
|
else if (j) {
|
|
96343
96343
|
let e = w.parent.parent.openingElement.tagName, t = u.getSymbolAtLocation(e);
|
|
96344
96344
|
t && (le = [t]), se = 1, ne = 0;
|
|
@@ -96364,7 +96364,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
96364
96364
|
symbolToSortTextMap: fe,
|
|
96365
96365
|
isTypeOnlyLocation: he,
|
|
96366
96366
|
isJsxIdentifierExpected: M,
|
|
96367
|
-
isRightOfOpenTag:
|
|
96367
|
+
isRightOfOpenTag: A,
|
|
96368
96368
|
isRightOfDotOrQuestionDot: D || O,
|
|
96369
96369
|
importStatementCompletion: N,
|
|
96370
96370
|
hasUnresolvedAutoImports: ce,
|
|
@@ -96432,7 +96432,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
96432
96432
|
e.getStringIndexType() && (P = !0, ie = []), O && I(e.getCallSignatures()) && (P = !0, ie ??= N8);
|
|
96433
96433
|
let r = T.kind === 205 ? T : T.parent;
|
|
96434
96434
|
if (d) for (let t of e.getApparentProperties()) u.isValidPropertyAccessForCompletions(r, e, t) && we(t, !1, n);
|
|
96435
|
-
else le.push(...
|
|
96435
|
+
else le.push(...k(a5(e, u), (t) => u.isValidPropertyAccessForCompletions(r, e, t)));
|
|
96436
96436
|
if (t && a.includeCompletionsWithInsertText) {
|
|
96437
96437
|
let t = u.getPromisedTypeOfPromise(e);
|
|
96438
96438
|
if (t) for (let e of t.getApparentProperties()) u.isValidPropertyAccessForCompletions(r, t, e) && we(e, !0, n);
|
|
@@ -96558,12 +96558,12 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
96558
96558
|
F |= 1;
|
|
96559
96559
|
let t = C === w && N ? "" : C && X(C) ? C.text.toLowerCase() : "", r = s.getModuleSpecifierCache?.call(s), c = f1(n, s, e, a, l), u = s.getPackageJsonAutoImportProvider?.call(s), d = o ? void 0 : N$(n, a, s);
|
|
96560
96560
|
Mbe("collectAutoImports", s, ue ||= A4.createImportSpecifierResolver(n, e, s, a), e, i, a, !!N, $w(te), (e) => {
|
|
96561
|
-
c.search(n.path,
|
|
96561
|
+
c.search(n.path, A, (e, n) => {
|
|
96562
96562
|
if (!Gs(e, nC(s.getCompilationSettings())) || !o && uv(e) || !he && !N && !(n & 111551) || he && !(n & 790504)) return !1;
|
|
96563
96563
|
let r = e.charCodeAt(0);
|
|
96564
|
-
return
|
|
96564
|
+
return A && (r < 65 || r > 90) ? !1 : o ? !0 : Yxe(e, t);
|
|
96565
96565
|
}, (t, n, r, i) => {
|
|
96566
|
-
if (o && !I(t, (e) => o.source === uy(e.moduleSymbol.name)) || (t =
|
|
96566
|
+
if (o && !I(t, (e) => o.source === uy(e.moduleSymbol.name)) || (t = k(t, f), !t.length)) return;
|
|
96567
96567
|
let a = e.tryResolve(t, r) || {};
|
|
96568
96568
|
if (a === "failed") return;
|
|
96569
96569
|
let s = t[0], c;
|
|
@@ -96779,7 +96779,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
96779
96779
|
let t = (tk(e.parent) ? e.parent : void 0) || e, n = Pxe(t, u);
|
|
96780
96780
|
if (!n) return 0;
|
|
96781
96781
|
let r = u.getTypeFromTypeNode(t), i = a5(n, u), a = a5(r, u), o = /* @__PURE__ */ new Set();
|
|
96782
|
-
return a.forEach((e) => o.add(e.escapedName)), le = me(le,
|
|
96782
|
+
return a.forEach((e) => o.add(e.escapedName)), le = me(le, k(i, (e) => !o.has(e.escapedName))), se = 0, P = !0, 1;
|
|
96783
96783
|
}
|
|
96784
96784
|
function Ke() {
|
|
96785
96785
|
if (w?.kind === 26) return 0;
|
|
@@ -96827,7 +96827,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
96827
96827
|
let e = w.kind === 19 || w.kind === 28 ? St(w.parent, jA) : w.kind === 59 ? St(w.parent.parent, jA) : void 0;
|
|
96828
96828
|
if (e === void 0) return 0;
|
|
96829
96829
|
let t = new Set(e.elements.map(GT));
|
|
96830
|
-
return le =
|
|
96830
|
+
return le = k(u.getTypeAtLocation(e).getApparentProperties(), (e) => !t.has(e.escapedName)), 1;
|
|
96831
96831
|
}
|
|
96832
96832
|
function Ye() {
|
|
96833
96833
|
var e;
|
|
@@ -97237,14 +97237,14 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
97237
97237
|
return q(e, (e) => af(e) && RX(e, t) ? !0 : Dj(e) ? "quit" : !1);
|
|
97238
97238
|
}
|
|
97239
97239
|
function i5(e, t, n, r) {
|
|
97240
|
-
let i = t && t !== e, a = r.getUnionType(
|
|
97241
|
-
return o.isClass() && jxe(s) ? [] : i ?
|
|
97240
|
+
let i = t && t !== e, a = r.getUnionType(k(e.flags & 1048576 ? e.types : [e], (e) => !r.getPromisedTypeOfPromise(e))), o = i && !(t.flags & 3) ? r.getUnionType([a, t]) : a, s = Axe(o, n, r);
|
|
97241
|
+
return o.isClass() && jxe(s) ? [] : i ? k(s, c) : s;
|
|
97242
97242
|
function c(e) {
|
|
97243
97243
|
return f(e.declarations) ? I(e.declarations, (e) => e.parent !== n) : !0;
|
|
97244
97244
|
}
|
|
97245
97245
|
}
|
|
97246
97246
|
function Axe(e, t, n) {
|
|
97247
|
-
return e.isUnion() ? n.getAllPossiblePropertiesOfTypes(
|
|
97247
|
+
return e.isUnion() ? n.getAllPossiblePropertiesOfTypes(k(e.types, (e) => !(e.flags & 402784252 || n.isArrayLikeType(e) || n.isTypeInvalidDueToUnionDiscriminant(e, t) || n.typeHasCallOrConstructSignatures(e) || e.isClass() && jxe(e.getApparentProperties())))) : e.getApparentProperties();
|
|
97248
97248
|
}
|
|
97249
97249
|
function jxe(e) {
|
|
97250
97250
|
return I(e, (e) => !!(Wx(e) & 6));
|
|
@@ -97642,11 +97642,11 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
97642
97642
|
let n = oSe(e, s);
|
|
97643
97643
|
return t.kind === 1 ? {
|
|
97644
97644
|
kind: 1,
|
|
97645
|
-
symbols: t.symbols.filter((e) => !
|
|
97645
|
+
symbols: t.symbols.filter((e) => !T(n, e.name)),
|
|
97646
97646
|
hasIndexSignature: t.hasIndexSignature
|
|
97647
97647
|
} : {
|
|
97648
97648
|
kind: 2,
|
|
97649
|
-
types: t.types.filter((e) => !
|
|
97649
|
+
types: t.types.filter((e) => !T(n, e.value)),
|
|
97650
97650
|
isNewIdentifier: !1
|
|
97651
97651
|
};
|
|
97652
97652
|
}
|
|
@@ -97691,7 +97691,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
97691
97691
|
function cSe(e) {
|
|
97692
97692
|
return e && {
|
|
97693
97693
|
kind: 1,
|
|
97694
|
-
symbols:
|
|
97694
|
+
symbols: k(e.getApparentProperties(), (e) => !(e.valueDeclaration && Tu(e.valueDeclaration))),
|
|
97695
97695
|
hasIndexSignature: g$(e)
|
|
97696
97696
|
};
|
|
97697
97697
|
}
|
|
@@ -98010,7 +98010,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
98010
98010
|
function d(r) {
|
|
98011
98011
|
if (D$(t, r)) for (let l of w$(t, r)) {
|
|
98012
98012
|
let u = ZR(l);
|
|
98013
|
-
if (!(s.types && !
|
|
98013
|
+
if (!(s.types && !T(s.types, u))) if (i === void 0) c.has(u) || (o.add(p5(u, "external module name", void 0)), c.set(u, !0));
|
|
98014
98014
|
else {
|
|
98015
98015
|
let s = po(r, l), c = IC(i, u, yy(t));
|
|
98016
98016
|
c !== void 0 && g5(c, s, a, e, t, n, !1, void 0, o);
|
|
@@ -98667,7 +98667,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
98667
98667
|
let n = a.parent;
|
|
98668
98668
|
return _k(n) && Nk(n.parent) && Fg(n.parent.left) ? e : t;
|
|
98669
98669
|
} else return e;
|
|
98670
|
-
} else if (IA(a) && !a.propertyName) return
|
|
98670
|
+
} else if (IA(a) && !a.propertyName) return T((BA(t.parent) ? n.getExportSpecifierLocalTargetSymbol(t.parent) : n.getSymbolAtLocation(t)).declarations, a) ? { prefixText: o + " as " } : XY;
|
|
98671
98671
|
else if (BA(a) && !a.propertyName) return t === e.node || n.getSymbolAtLocation(t) === n.getSymbolAtLocation(e.node) ? { prefixText: o + " as " } : { suffixText: " as " + o };
|
|
98672
98672
|
}
|
|
98673
98673
|
if (e.kind !== 0 && JD(e.node) && uS(e.node.parent)) {
|
|
@@ -98972,14 +98972,14 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
98972
98972
|
}
|
|
98973
98973
|
function g(e, t, n, r, i, a, o) {
|
|
98974
98974
|
let s = t && y(e, t, i, !Xe(o)) || e, c = t ? We(t, s) : 7, l = [], u = new w(n, r, t ? v(t) : 0, i, a, c, o, l), d = !Xe(o) || !s.declarations ? void 0 : x(s.declarations, BA);
|
|
98975
|
-
return d ? ge(d.name, s, d, u.createSearch(t, e, void 0), u, !0, !0) : t && t.kind === 90 && s.escapedName === "default" && s.parent ? (xe(t, s, u),
|
|
98975
|
+
return d ? ge(d.name, s, d, u.createSearch(t, e, void 0), u, !0, !0) : t && t.kind === 90 && s.escapedName === "default" && s.parent ? (xe(t, s, u), E(t, s, {
|
|
98976
98976
|
exportingModuleSymbol: s.parent,
|
|
98977
98977
|
exportKind: 1
|
|
98978
98978
|
}, u)) : _(s, u, u.createSearch(t, s, void 0, { allSearchSymbols: t ? Re(s, t, i, o.use === 2, !!o.providePrefixAndSuffixTextForRename, !!o.implementations) : [s] })), l;
|
|
98979
98979
|
}
|
|
98980
98980
|
function _(e, t, n) {
|
|
98981
98981
|
let r = M(e);
|
|
98982
|
-
if (r) fe(r, r.getSourceFile(), n, t, !(fj(r) && !
|
|
98982
|
+
if (r) fe(r, r.getSourceFile(), n, t, !(fj(r) && !T(t.sourceFiles, r)));
|
|
98983
98983
|
else for (let e of t.sourceFiles) t.cancellationToken.throwIfCancellationRequested(), j(e, n, t);
|
|
98984
98984
|
}
|
|
98985
98985
|
function v(e) {
|
|
@@ -99028,7 +99028,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
99028
99028
|
escapedText: Wc(i),
|
|
99029
99029
|
parents: this.options.implementations && e ? Ye(e, t, this.checker) : void 0,
|
|
99030
99030
|
allSearchSymbols: a,
|
|
99031
|
-
includes: (e) =>
|
|
99031
|
+
includes: (e) => T(a, e)
|
|
99032
99032
|
};
|
|
99033
99033
|
}
|
|
99034
99034
|
referenceAdder(e) {
|
|
@@ -99057,7 +99057,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
99057
99057
|
return i;
|
|
99058
99058
|
}
|
|
99059
99059
|
}
|
|
99060
|
-
function
|
|
99060
|
+
function E(e, t, n, r) {
|
|
99061
99061
|
let { importSearches: i, singleReferences: a, indirectUsers: o } = r.getImportSearches(t, n);
|
|
99062
99062
|
if (a.length) {
|
|
99063
99063
|
let e = r.referenceAdder(t);
|
|
@@ -99094,7 +99094,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
99094
99094
|
function O(e, t) {
|
|
99095
99095
|
return pe(e, t) ? t.options.use === 2 ? !X(e) && !hu(e.parent) ? !1 : !(hu(e.parent) && Mp(e)) : !0 : !1;
|
|
99096
99096
|
}
|
|
99097
|
-
function
|
|
99097
|
+
function A(e, t) {
|
|
99098
99098
|
if (e.declarations) for (let n of e.declarations) {
|
|
99099
99099
|
let r = n.getSourceFile();
|
|
99100
99100
|
de(r, t.createSearch(n, e, 0), t, t.includesSourceFile(r));
|
|
@@ -99145,7 +99145,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
99145
99145
|
}
|
|
99146
99146
|
e.eachSymbolReferenceInFile = te;
|
|
99147
99147
|
function ne(e, t) {
|
|
99148
|
-
return
|
|
99148
|
+
return k(F(t, e), (e) => !!G_(e)).reduce((e, t) => {
|
|
99149
99149
|
let r = n(t);
|
|
99150
99150
|
return !I(e.declarationNames) || r === e.depth ? (e.declarationNames.push(t), e.depth = r) : r < e.depth && (e.declarationNames = [t], e.depth = r), e;
|
|
99151
99151
|
}, {
|
|
@@ -99294,11 +99294,11 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
99294
99294
|
if (!o && !r.includes(d)) return;
|
|
99295
99295
|
if (c ? e === c ? (u.moduleSpecifier || f(), a && i.options.use !== 2 && i.markSeenReExportRHS(l) && xe(l, U.checkDefined(n.symbol), i)) : i.markSeenReExportRHS(e) && f() : i.options.use === 2 && Mp(l) || f(), !Xe(i.options) || o) {
|
|
99296
99296
|
let t = Mp(e) || Mp(n.name) ? 1 : 0, r = U.checkDefined(n.symbol), a = b5(r, t, i.checker);
|
|
99297
|
-
a &&
|
|
99297
|
+
a && E(e, r, a, i);
|
|
99298
99298
|
}
|
|
99299
99299
|
if (r.comingFrom !== 1 && u.moduleSpecifier && !c && !Xe(i.options)) {
|
|
99300
99300
|
let e = i.checker.getExportSpecifierLocalTargetSymbol(n);
|
|
99301
|
-
e &&
|
|
99301
|
+
e && A(e, i);
|
|
99302
99302
|
}
|
|
99303
99303
|
function f() {
|
|
99304
99304
|
a && xe(e, d, i);
|
|
@@ -99315,7 +99315,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
99315
99315
|
let i = GSe(e, t, r.checker, n.comingFrom === 1);
|
|
99316
99316
|
if (!i) return;
|
|
99317
99317
|
let { symbol: a } = i;
|
|
99318
|
-
i.kind === 0 ? Xe(r.options) ||
|
|
99318
|
+
i.kind === 0 ? Xe(r.options) || A(a, r) : E(e, a, i.exportInfo, r);
|
|
99319
99319
|
}
|
|
99320
99320
|
function be({ flags: e, valueDeclaration: t }, n, r) {
|
|
99321
99321
|
let i = r.checker.getShorthandAssignmentValueSymbol(t), a = t && tl(t);
|
|
@@ -99678,7 +99678,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
99678
99678
|
return e && e.asteriskToken ? [B5(l, e)] : void 0;
|
|
99679
99679
|
}
|
|
99680
99680
|
if (bO(s) && IO(s.parent)) {
|
|
99681
|
-
let e = s.parent.parent, { symbol: t, failedAliasResolution: n } = F5(e, l, i), r =
|
|
99681
|
+
let e = s.parent.parent, { symbol: t, failedAliasResolution: n } = F5(e, l, i), r = k(e.members, IO), a = t ? l.symbolToString(t, e) : "", o = s.getSourceFile();
|
|
99682
99682
|
return M(r, (e) => {
|
|
99683
99683
|
let { pos: t } = Sx(e);
|
|
99684
99684
|
return t = Ds(o.text, t), R5(l, e, "constructor", "static {}", a, !1, n, {
|
|
@@ -99902,9 +99902,9 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
99902
99902
|
return !!t && Ig(t) === 5;
|
|
99903
99903
|
}
|
|
99904
99904
|
function I5(e, t, n, r, i) {
|
|
99905
|
-
let a = i === void 0 ? t.declarations :
|
|
99905
|
+
let a = i === void 0 ? t.declarations : k(t.declarations, i), o = !i && (c() || l());
|
|
99906
99906
|
if (o) return o;
|
|
99907
|
-
let s =
|
|
99907
|
+
let s = k(a, (e) => !PCe(e));
|
|
99908
99908
|
return M(I(s) ? s : a, (i) => L5(i, e, t, n, !1, r));
|
|
99909
99909
|
function c() {
|
|
99910
99910
|
if (t.flags & 32 && !(t.flags & 19) && (vX(n) || n.kind === 137)) {
|
|
@@ -100410,7 +100410,7 @@ ${e.split("\n").map((e) => ` * ${e}`).join("\n")}
|
|
|
100410
100410
|
let i = Dj(r) && r.tags && x(r.tags, (e) => e.kind === 327 && (e.tagName.escapedText === "inheritDoc" || e.tagName.escapedText === "inheritdoc"));
|
|
100411
100411
|
if (r.comment === void 0 && !i || Dj(r) && e.kind !== 346 && e.kind !== 338 && r.tags && r.tags.some((e) => e.kind === 346 || e.kind === 338) && !r.tags.some((e) => e.kind === 341 || e.kind === 342)) continue;
|
|
100412
100412
|
let a = r.comment ? G5(r.comment, t) : [];
|
|
100413
|
-
i && i.comment && (a = a.concat(G5(i.comment, t))),
|
|
100413
|
+
i && i.comment && (a = a.concat(G5(i.comment, t))), T(n, a, JCe) || n.push(a);
|
|
100414
100414
|
}
|
|
100415
100415
|
}), ne(y(n, [zQ()]));
|
|
100416
100416
|
}
|
|
@@ -101479,10 +101479,10 @@ ${t}
|
|
|
101479
101479
|
if (!pd(t)) return !1;
|
|
101480
101480
|
let r = t.getChildren(n);
|
|
101481
101481
|
switch (e.kind) {
|
|
101482
|
-
case 21: return
|
|
101482
|
+
case 21: return T(r, e);
|
|
101483
101483
|
case 28: {
|
|
101484
101484
|
let t = YX(e);
|
|
101485
|
-
return !!t &&
|
|
101485
|
+
return !!t && T(r, t);
|
|
101486
101486
|
}
|
|
101487
101487
|
case 30: return vTe(e, n, t.expression);
|
|
101488
101488
|
default: return !1;
|
|
@@ -101921,7 +101921,7 @@ ${t}
|
|
|
101921
101921
|
];
|
|
101922
101922
|
}
|
|
101923
101923
|
if (MO(e)) {
|
|
101924
|
-
let t = m7(e.getChildren(), (t) => t === e.name ||
|
|
101924
|
+
let t = m7(e.getChildren(), (t) => t === e.name || T(e.modifiers, t)), n = t[0]?.kind === 320 ? t[0] : void 0, r = h7(n ? t.slice(1) : t, ({ kind: e }) => e === 59);
|
|
101925
101925
|
return n ? [n, g7(r)] : r;
|
|
101926
101926
|
}
|
|
101927
101927
|
if (AO(e)) {
|
|
@@ -102043,7 +102043,7 @@ ${t}
|
|
|
102043
102043
|
if (pd(i) ? o = i : (_X(i) || vX(i) || i.parent && ($d(i.parent) || Sk(i.parent)) && Pu(t.valueDeclaration)) && (o = i.parent), o) {
|
|
102044
102044
|
n = e.getResolvedSignature(o);
|
|
102045
102045
|
let i = o.kind === 214 || bk(o) && o.expression.kind === 108, s = i ? a.getConstructSignatures() : a.getCallSignatures();
|
|
102046
|
-
if (n && !
|
|
102046
|
+
if (n && !T(s, n.target) && !T(s, n) && (n = s.length ? s[0] : void 0), n) {
|
|
102047
102047
|
switch (i && f & 32 ? (m = "constructor", O(a.symbol, m)) : f & 2097152 ? (m = "alias", k(m), c.push(EQ()), i && (n.flags & 4 && (c.push(DQ(128)), c.push(EQ())), c.push(DQ(105)), c.push(EQ())), D(t)) : O(t, m), m) {
|
|
102048
102048
|
case "JSX attribute":
|
|
102049
102049
|
case "property":
|
|
@@ -102071,16 +102071,16 @@ ${t}
|
|
|
102071
102071
|
let e = Ef(t, 267), n = e && e.name && e.name.kind === 80;
|
|
102072
102072
|
c.push(DQ(n ? 145 : 144)), c.push(EQ()), D(t);
|
|
102073
102073
|
}
|
|
102074
|
-
if (f & 262144 && o & 2) if (C(), c.push(OQ(21)), c.push(NQ("type parameter")), c.push(OQ(22)), c.push(EQ()), D(t), t.parent)
|
|
102074
|
+
if (f & 262144 && o & 2) if (C(), c.push(OQ(21)), c.push(NQ("type parameter")), c.push(OQ(22)), c.push(EQ()), D(t), t.parent) E(), D(t.parent, r), j(t.parent, r);
|
|
102075
102075
|
else {
|
|
102076
102076
|
let r = Ef(t, 168);
|
|
102077
102077
|
if (r === void 0) return U.fail();
|
|
102078
102078
|
let i = r.parent;
|
|
102079
102079
|
if (i) if (Pu(i)) {
|
|
102080
|
-
|
|
102080
|
+
E();
|
|
102081
102081
|
let t = e.getSignatureFromDeclaration(i);
|
|
102082
102082
|
i.kind === 180 ? (c.push(DQ(105)), c.push(EQ())) : i.kind !== 179 && i.name && D(i.symbol), ke(c, UQ(e, t, n, 32));
|
|
102083
|
-
} else yA(i) && (
|
|
102083
|
+
} else yA(i) && (E(), c.push(DQ(156)), c.push(EQ()), D(i.symbol), j(i.symbol, n));
|
|
102084
102084
|
}
|
|
102085
102085
|
if (f & 8) {
|
|
102086
102086
|
m = "enum member", O(t, "enum member");
|
|
@@ -102171,7 +102171,7 @@ ${t}
|
|
|
102171
102171
|
function w() {
|
|
102172
102172
|
s && (k("alias"), c.push(EQ()));
|
|
102173
102173
|
}
|
|
102174
|
-
function
|
|
102174
|
+
function E() {
|
|
102175
102175
|
c.push(EQ()), c.push(DQ(103)), c.push(EQ());
|
|
102176
102176
|
}
|
|
102177
102177
|
function D(r, i) {
|
|
@@ -102516,7 +102516,7 @@ ${t}
|
|
|
102516
102516
|
this.replaceJSDocComment(e, t, [...r, ...i]);
|
|
102517
102517
|
}
|
|
102518
102518
|
filterJSDocTags(e, t, n) {
|
|
102519
|
-
this.replaceJSDocComment(e, t,
|
|
102519
|
+
this.replaceJSDocComment(e, t, k(P(t.jsDoc, (e) => e.tags), n));
|
|
102520
102520
|
}
|
|
102521
102521
|
replaceRangeWithText(e, t, n) {
|
|
102522
102522
|
this.changes.push({
|
|
@@ -102728,7 +102728,7 @@ ${n.prefix}` : "\n" : n.prefix
|
|
|
102728
102728
|
e.forEach((t) => {
|
|
102729
102729
|
let n = t.getSourceFile(), r = O7.SmartIndenter.getContainingList(t, n);
|
|
102730
102730
|
if (t !== He(r)) return;
|
|
102731
|
-
let i =
|
|
102731
|
+
let i = w(r, (t) => !e.has(t), r.length - 2);
|
|
102732
102732
|
i !== -1 && this.deleteRange(n, {
|
|
102733
102733
|
pos: r[i].end,
|
|
102734
102734
|
end: EEe(n, r[i + 1])
|
|
@@ -103097,7 +103097,7 @@ ${n.prefix}` : "\n" : n.prefix
|
|
|
103097
103097
|
case 262:
|
|
103098
103098
|
E7(e, a, o, { leadingTriviaOption: cf(o) ? 2 : 3 });
|
|
103099
103099
|
break;
|
|
103100
|
-
default: o.parent ? DA(o.parent) && o.parent.name === o ? n(e, a, o.parent) : bk(o.parent) &&
|
|
103100
|
+
default: o.parent ? DA(o.parent) && o.parent.name === o ? n(e, a, o.parent) : bk(o.parent) && T(o.parent.arguments, o) ? D7(e, t, a, o) : E7(e, a, o) : E7(e, a, o);
|
|
103101
103101
|
}
|
|
103102
103102
|
}
|
|
103103
103103
|
e.deleteDeclaration = t;
|
|
@@ -103786,7 +103786,7 @@ ${n.prefix}` : "\n" : n.prefix
|
|
|
103786
103786
|
}
|
|
103787
103787
|
function JEe(e, t, n = []) {
|
|
103788
103788
|
let r = [];
|
|
103789
|
-
for (let i = e; i <= t; i++)
|
|
103789
|
+
for (let i = e; i <= t; i++) T(n, i) || r.push(i);
|
|
103790
103790
|
return j7(r);
|
|
103791
103791
|
}
|
|
103792
103792
|
function YEe(e, t) {
|
|
@@ -104751,7 +104751,7 @@ ${n.prefix}` : "\n" : n.prefix
|
|
|
104751
104751
|
let t = m(l, e), o = p(n, l, r, e), s = o === 0 ? r === t.line ? 0 : a.indentSize : i && o === 2 ? a.indentSize : 0;
|
|
104752
104752
|
return c(l, t, void 0, s, e, !0, a);
|
|
104753
104753
|
}
|
|
104754
|
-
let s =
|
|
104754
|
+
let s = E(l, e, a, !0);
|
|
104755
104755
|
if (s !== -1) return s;
|
|
104756
104756
|
o = l, l = l.parent;
|
|
104757
104757
|
}
|
|
@@ -104775,7 +104775,7 @@ ${n.prefix}` : "\n" : n.prefix
|
|
|
104775
104775
|
}
|
|
104776
104776
|
let u = l(c, e, i), f = u.line === t.line || g(c, e, t.line, i);
|
|
104777
104777
|
if (s) {
|
|
104778
|
-
let n = y(e, i)?.[0], a = !!n && m(n, i).line > u.line, s =
|
|
104778
|
+
let n = y(e, i)?.[0], a = !!n && m(n, i).line > u.line, s = E(e, i, o, a);
|
|
104779
104779
|
if (s !== -1 || (s = d(e, c, t, f, i, o), s !== -1)) return s + r;
|
|
104780
104780
|
}
|
|
104781
104781
|
M(o, c, e, i, a) && !f && (r += o.indentSize);
|
|
@@ -104807,7 +104807,7 @@ ${n.prefix}` : "\n" : n.prefix
|
|
|
104807
104807
|
return t.getLineAndCharacterOfPosition(e.getStart(t));
|
|
104808
104808
|
}
|
|
104809
104809
|
function h(e, t, n, r) {
|
|
104810
|
-
return bk(e) &&
|
|
104810
|
+
return bk(e) && T(e.arguments, t) ? _s(r, e.expression.getEnd()).line === n : !1;
|
|
104811
104811
|
}
|
|
104812
104812
|
e.isArgumentAndStartLineOverlapsExpressionBeingCalled = h;
|
|
104813
104813
|
function g(e, t, n, r) {
|
|
@@ -104894,7 +104894,7 @@ ${n.prefix}` : "\n" : n.prefix
|
|
|
104894
104894
|
function w(e, t, n) {
|
|
104895
104895
|
return e ? O(t.getLineAndCharacterOfPosition(e.pos), t, n) : -1;
|
|
104896
104896
|
}
|
|
104897
|
-
function
|
|
104897
|
+
function E(e, t, n, r) {
|
|
104898
104898
|
if (e.parent && e.parent.kind === 261) return -1;
|
|
104899
104899
|
let i = y(e, t);
|
|
104900
104900
|
if (i) {
|
|
@@ -105421,7 +105421,7 @@ ${n.prefix}` : "\n" : n.prefix
|
|
|
105421
105421
|
concatenate: () => me,
|
|
105422
105422
|
concatenateDiagnosticMessageChains: () => IS,
|
|
105423
105423
|
consumesNodeCoreModules: () => P$,
|
|
105424
|
-
contains: () =>
|
|
105424
|
+
contains: () => T,
|
|
105425
105425
|
containsIgnoredPath: () => pT,
|
|
105426
105426
|
containsObjectRestOrSpread: () => kN,
|
|
105427
105427
|
containsParseError: () => ep,
|
|
@@ -105639,8 +105639,8 @@ ${n.prefix}` : "\n" : n.prefix
|
|
|
105639
105639
|
fileExtensionIsOneOf: () => Xa,
|
|
105640
105640
|
fileIncludeReasonToDiagnostics: () => JK,
|
|
105641
105641
|
fileShouldUseJavaScriptRequire: () => n1,
|
|
105642
|
-
filter: () =>
|
|
105643
|
-
filterMutate: () =>
|
|
105642
|
+
filter: () => k,
|
|
105643
|
+
filterMutate: () => A,
|
|
105644
105644
|
filterSemanticDiagnostics: () => uG,
|
|
105645
105645
|
find: () => x,
|
|
105646
105646
|
findAncestor: () => q,
|
|
@@ -105654,7 +105654,7 @@ ${n.prefix}` : "\n" : n.prefix
|
|
|
105654
105654
|
findFirstNonJsxWhitespaceToken: () => nZ,
|
|
105655
105655
|
findIndex: () => C,
|
|
105656
105656
|
findLast: () => S,
|
|
105657
|
-
findLastIndex: () =>
|
|
105657
|
+
findLastIndex: () => w,
|
|
105658
105658
|
findListItemInfo: () => mie,
|
|
105659
105659
|
findModifier: () => fQ,
|
|
105660
105660
|
findNextToken: () => iZ,
|
|
@@ -108089,7 +108089,7 @@ ${n.prefix}` : "\n" : n.prefix
|
|
|
108089
108089
|
case 0: return !1;
|
|
108090
108090
|
case 1: return this.containingProjects[0] === e;
|
|
108091
108091
|
case 2: return this.containingProjects[0] === e || this.containingProjects[1] === e;
|
|
108092
|
-
default: return
|
|
108092
|
+
default: return T(this.containingProjects, e);
|
|
108093
108093
|
}
|
|
108094
108094
|
}
|
|
108095
108095
|
detachFromProject(e) {
|
|
@@ -108498,7 +108498,7 @@ ${n.prefix}` : "\n" : n.prefix
|
|
|
108498
108498
|
(this.projectKind === 0 || this.projectKind === 2) && (this.compilerOptions.noEmitForJsFiles = !0);
|
|
108499
108499
|
}
|
|
108500
108500
|
getGlobalProjectErrors() {
|
|
108501
|
-
return
|
|
108501
|
+
return k(this.projectErrors, (e) => !e.file) || e9;
|
|
108502
108502
|
}
|
|
108503
108503
|
getAllProjectErrors() {
|
|
108504
108504
|
return this.projectErrors || e9;
|
|
@@ -108807,7 +108807,7 @@ ${n.prefix}` : "\n" : n.prefix
|
|
|
108807
108807
|
removeExistingTypings(e) {
|
|
108808
108808
|
if (!e.length) return e;
|
|
108809
108809
|
let t = IL(this.getCompilerOptions(), this);
|
|
108810
|
-
return
|
|
108810
|
+
return k(e, (e) => !t.includes(e));
|
|
108811
108811
|
}
|
|
108812
108812
|
updateGraphWorker() {
|
|
108813
108813
|
var e, t;
|
|
@@ -109410,7 +109410,7 @@ ${n.prefix}` : "\n" : n.prefix
|
|
|
109410
109410
|
return this.enableGlobalPlugins(e);
|
|
109411
109411
|
}
|
|
109412
109412
|
getGlobalProjectErrors() {
|
|
109413
|
-
return
|
|
109413
|
+
return k(this.projectErrors, (e) => !e.file) || e9;
|
|
109414
109414
|
}
|
|
109415
109415
|
getAllProjectErrors() {
|
|
109416
109416
|
return this.projectErrors || e9;
|
|
@@ -110538,7 +110538,7 @@ All files are: ${JSON.stringify(t)}`, "Err");
|
|
|
110538
110538
|
}
|
|
110539
110539
|
return t;
|
|
110540
110540
|
function n(n) {
|
|
110541
|
-
if (n !== e) for (let r of n.containingProjects) r.languageServiceEnabled && !r.isOrphan() && !r.getCompilerOptions().preserveSymlinks && !e.isAttached(r) && (t ? Rf(t, (e, t) => t === n.path ? !1 :
|
|
110541
|
+
if (n !== e) for (let r of n.containingProjects) r.languageServiceEnabled && !r.isOrphan() && !r.getCompilerOptions().preserveSymlinks && !e.isAttached(r) && (t ? Rf(t, (e, t) => t === n.path ? !1 : T(e, r)) || t.add(n.path, r) : (t = pt(), t.add(n.path, r)));
|
|
110542
110542
|
}
|
|
110543
110543
|
}
|
|
110544
110544
|
watchClosedScriptInfo(e) {
|
|
@@ -110981,7 +110981,7 @@ Dynamic files must always be opened with service's current directory or service
|
|
|
110981
110981
|
tryInvokeWildCardDirectories(e) {
|
|
110982
110982
|
this.configFileExistenceInfoCache.forEach((t, n) => {
|
|
110983
110983
|
var r;
|
|
110984
|
-
!t.config?.parsedCommandLine ||
|
|
110984
|
+
!t.config?.parsedCommandLine || T(t.config.parsedCommandLine.fileNames, e.fileName, this.host.useCaseSensitiveFileNames ? Lt : It) || (r = t.config.watchedDirectories) == null || r.forEach((r, i) => {
|
|
110985
110985
|
jo(i, e.fileName, !this.host.useCaseSensitiveFileNames) && (this.logger.info(`Invoking ${n}:: wildcard for open scriptInfo:: ${e.fileName}`), this.onWildCardDirectoryWatcherInvoke(i, n, t.config, r.watcher, e.fileName));
|
|
110986
110986
|
});
|
|
110987
110987
|
});
|
|
@@ -112191,7 +112191,7 @@ Project '${e.projectName}' (${s9[e.projectKind]}) ${t}
|
|
|
112191
112191
|
};
|
|
112192
112192
|
}
|
|
112193
112193
|
getConfigFileDiagnostics(e, t, n) {
|
|
112194
|
-
let r =
|
|
112194
|
+
let r = k(me(t.getAllProjectErrors(), t.getLanguageService().getCompilerOptionsDiagnostics()), (t) => !!t.file && t.file.fileName === e);
|
|
112195
112195
|
return n ? this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(r) : M(r, (e) => H9(e, !1));
|
|
112196
112196
|
}
|
|
112197
112197
|
convertToDiagnosticsWithLinePositionFromDiagnosticFile(e) {
|
|
@@ -112211,7 +112211,7 @@ Project '${e.projectName}' (${s9[e.projectKind]}) ${t}
|
|
|
112211
112211
|
}
|
|
112212
112212
|
getCompilerOptionsDiagnostics(e) {
|
|
112213
112213
|
let t = this.getProject(e.projectFileName);
|
|
112214
|
-
return this.convertToDiagnosticsWithLinePosition(
|
|
112214
|
+
return this.convertToDiagnosticsWithLinePosition(k(t.getLanguageService().getCompilerOptionsDiagnostics(), (e) => !e.file), void 0);
|
|
112215
112215
|
}
|
|
112216
112216
|
convertToDiagnosticsWithLinePosition(e, t) {
|
|
112217
112217
|
return e.map((e) => ({
|
|
@@ -112546,7 +112546,7 @@ Project '${e.projectName}' (${s9[e.projectKind]}) ${t}
|
|
|
112546
112546
|
else return n ? e9 : (this.projectService.logErrorForScriptInfoNotFound(e.file), t9.ThrowNoProject());
|
|
112547
112547
|
r = a.containingProjects, i = this.projectService.getSymlinkedProjects(a);
|
|
112548
112548
|
}
|
|
112549
|
-
return r =
|
|
112549
|
+
return r = k(r, (e) => e.languageServiceEnabled && !e.isOrphan()), !n && (!r || !r.length) && !i ? (this.projectService.logErrorForScriptInfoNotFound(e.file ?? e.projectFileName), t9.ThrowNoProject()) : i ? {
|
|
112550
112550
|
projects: r,
|
|
112551
112551
|
symLinkedProjects: i
|
|
112552
112552
|
} : r;
|
|
@@ -112950,7 +112950,7 @@ Project '${e.projectName}' (${s9[e.projectKind]}) ${t}
|
|
|
112950
112950
|
let a = this.getHostPreferences(), o = [], s = /* @__PURE__ */ new Map();
|
|
112951
112951
|
return !e.file && !i ? (this.projectService.loadAncestorProjectTree(), this.projectService.forEachEnabledProject((e) => c(e))) : KAe(this.getProjects(e), void 0, (e) => c(e)), o;
|
|
112952
112952
|
function c(e) {
|
|
112953
|
-
let t =
|
|
112953
|
+
let t = k(e.getLanguageService().getNavigateToItems(n, r, void 0, e.isNonTsProject(), a.excludeLibrarySymbolsInNavTo), (t) => l(t) && !G9(W9(t), e));
|
|
112954
112954
|
t.length && o.push({
|
|
112955
112955
|
project: e,
|
|
112956
112956
|
navigateToItems: t
|
|
@@ -114105,7 +114105,7 @@ ${t.message}`), t;
|
|
|
114105
114105
|
n = e, t !== void 0 && t.exports && (t.exports = e);
|
|
114106
114106
|
}
|
|
114107
114107
|
});
|
|
114108
|
-
})), pa = /* @__PURE__ */
|
|
114108
|
+
})), pa = /* @__PURE__ */ d(((e, t) => {
|
|
114109
114109
|
t.exports = n;
|
|
114110
114110
|
function n(e, t, n) {
|
|
114111
114111
|
e instanceof RegExp && (e = r(e, n)), t instanceof RegExp && (t = r(t, n));
|
|
@@ -114132,7 +114132,7 @@ ${t.message}`), t;
|
|
|
114132
114132
|
}
|
|
114133
114133
|
return s;
|
|
114134
114134
|
}
|
|
114135
|
-
})), ma = /* @__PURE__ */
|
|
114135
|
+
})), ma = /* @__PURE__ */ d(((e, t) => {
|
|
114136
114136
|
var n = pa();
|
|
114137
114137
|
t.exports = _;
|
|
114138
114138
|
var r = "\0SLASH" + Math.random() + "\0", i = "\0OPEN" + Math.random() + "\0", a = "\0CLOSE" + Math.random() + "\0", o = "\0COMMA" + Math.random() + "\0", s = "\0PERIOD" + Math.random() + "\0", c = 1e5, l = 4e6, u = 1e3, d = 1e3;
|
|
@@ -114256,14 +114256,14 @@ ${t.message}`), t;
|
|
|
114256
114256
|
}
|
|
114257
114257
|
return l;
|
|
114258
114258
|
}
|
|
114259
|
-
})), ha = /* @__PURE__ */
|
|
114259
|
+
})), ha = /* @__PURE__ */ d(((e) => {
|
|
114260
114260
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.assertValidPattern = void 0;
|
|
114261
114261
|
var t = 1024 * 64;
|
|
114262
114262
|
e.assertValidPattern = (e) => {
|
|
114263
114263
|
if (typeof e != "string") throw TypeError("invalid pattern");
|
|
114264
114264
|
if (e.length > t) throw TypeError("pattern is too long");
|
|
114265
114265
|
};
|
|
114266
|
-
})), ga = /* @__PURE__ */
|
|
114266
|
+
})), ga = /* @__PURE__ */ d(((e) => {
|
|
114267
114267
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.parseClass = void 0;
|
|
114268
114268
|
var t = {
|
|
114269
114269
|
"[:alnum:]": ["\\p{L}\\p{Nl}\\p{Nd}", !0],
|
|
@@ -114357,9 +114357,9 @@ ${t.message}`), t;
|
|
|
114357
114357
|
!0
|
|
114358
114358
|
];
|
|
114359
114359
|
};
|
|
114360
|
-
})), _a = /* @__PURE__ */
|
|
114360
|
+
})), _a = /* @__PURE__ */ d(((e) => {
|
|
114361
114361
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.unescape = void 0, e.unescape = (e, { windowsPathsNoEscape: t = !1 } = {}) => t ? e.replace(/\[([^\/\\])\]/g, "$1") : e.replace(/((?!\\).|^)\[([^\/\\])\]/g, "$1$2").replace(/\\([^\/])/g, "$1");
|
|
114362
|
-
})), va = /* @__PURE__ */
|
|
114362
|
+
})), va = /* @__PURE__ */ d(((e) => {
|
|
114363
114363
|
var t;
|
|
114364
114364
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.AST = void 0;
|
|
114365
114365
|
var n = ga(), r = _a(), i = new Set([
|
|
@@ -114717,9 +114717,9 @@ ${t.message}`), t;
|
|
|
114717
114717
|
}
|
|
114718
114718
|
};
|
|
114719
114719
|
e.AST = b, t = b;
|
|
114720
|
-
})), ya = /* @__PURE__ */
|
|
114720
|
+
})), ya = /* @__PURE__ */ d(((e) => {
|
|
114721
114721
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.escape = void 0, e.escape = (e, { windowsPathsNoEscape: t = !1 } = {}) => t ? e.replace(/[?*()[\]]/g, "[$&]") : e.replace(/[?*()[\]\\]/g, "\\$&");
|
|
114722
|
-
})), ba = /* @__PURE__ */
|
|
114722
|
+
})), ba = /* @__PURE__ */ d(((e) => {
|
|
114723
114723
|
var t = e && e.__importDefault || function(e) {
|
|
114724
114724
|
return e && e.__esModule ? e : { default: e };
|
|
114725
114725
|
};
|
|
@@ -115124,7 +115124,7 @@ ${t.message}`), t;
|
|
|
115124
115124
|
return P.unescape;
|
|
115125
115125
|
}
|
|
115126
115126
|
}), e.minimatch.AST = i.AST, e.minimatch.Minimatch = te, e.minimatch.escape = a.escape, e.minimatch.unescape = o.unescape;
|
|
115127
|
-
})), xa = /* @__PURE__ */
|
|
115127
|
+
})), xa = /* @__PURE__ */ d(((e, t) => {
|
|
115128
115128
|
function n(e) {
|
|
115129
115129
|
if (typeof e != "string") throw TypeError("Path must be a string. Received " + JSON.stringify(e));
|
|
115130
115130
|
}
|
|
@@ -115291,8 +115291,8 @@ ${t.message}`), t;
|
|
|
115291
115291
|
posix: null
|
|
115292
115292
|
};
|
|
115293
115293
|
a.posix = a, t.exports = a;
|
|
115294
|
-
})), Sa = /* @__PURE__ */
|
|
115295
|
-
var t = fa(), n = ba(), r =
|
|
115294
|
+
})), Sa = /* @__PURE__ */ d(((e) => {
|
|
115295
|
+
var t = fa(), n = ba(), r = j(), i = E("fs"), a = E("fs/promises"), o = E("os"), s = E("path");
|
|
115296
115296
|
function c(e) {
|
|
115297
115297
|
return e && typeof e == "object" && "default" in e ? e : { default: e };
|
|
115298
115298
|
}
|
|
@@ -115458,7 +115458,7 @@ ${t.message}`), t;
|
|
|
115458
115458
|
return e instanceof Array ? n(e) : typeof e == "object" ? e === null ? e : t(e) : e;
|
|
115459
115459
|
}
|
|
115460
115460
|
}
|
|
115461
|
-
var
|
|
115461
|
+
var w = class {
|
|
115462
115462
|
#e = [];
|
|
115463
115463
|
subscribe(e) {
|
|
115464
115464
|
this.#t(e) === -1 && this.#e.push(e);
|
|
@@ -115473,7 +115473,7 @@ ${t.message}`), t;
|
|
|
115473
115473
|
#t(e) {
|
|
115474
115474
|
return this.#e.indexOf(e);
|
|
115475
115475
|
}
|
|
115476
|
-
},
|
|
115476
|
+
}, T = class {
|
|
115477
115477
|
static find(e, t) {
|
|
115478
115478
|
for (let n of e) if (t(n)) return n;
|
|
115479
115479
|
}
|
|
@@ -115492,10 +115492,10 @@ ${t.message}`), t;
|
|
|
115492
115492
|
}
|
|
115493
115493
|
}
|
|
115494
115494
|
};
|
|
115495
|
-
function
|
|
115495
|
+
function k(e, t, n, r, i, a, o, s, c, l) {
|
|
115496
115496
|
return u.matchFiles.apply(this, arguments);
|
|
115497
115497
|
}
|
|
115498
|
-
function
|
|
115498
|
+
function A(e, t, n, r, i) {
|
|
115499
115499
|
return u.getFileMatcherPatterns.apply(this, arguments);
|
|
115500
115500
|
}
|
|
115501
115501
|
function ee(e) {
|
|
@@ -117613,7 +117613,7 @@ ${t.message}`), t;
|
|
|
117613
117613
|
Object.assign(this._settings, e), this.#n();
|
|
117614
117614
|
}
|
|
117615
117615
|
onModified(e) {
|
|
117616
|
-
this.#t ??= new
|
|
117616
|
+
this.#t ??= new w(), this.#t.subscribe(e);
|
|
117617
117617
|
}
|
|
117618
117618
|
#n() {
|
|
117619
117619
|
this.#t != null && this.#t.fire(void 0);
|
|
@@ -117636,9 +117636,9 @@ ${t.message}`), t;
|
|
|
117636
117636
|
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
117637
117637
|
}
|
|
117638
117638
|
function nt(e, t, n, r, i, a, o) {
|
|
117639
|
-
let s = e.getCurrentDirectory(), c = [], l =
|
|
117639
|
+
let s = e.getCurrentDirectory(), c = [], l = A(n, i || [], a, t, s), u = l.includeDirectoryPattern && new RegExp(l.includeDirectoryPattern, "i"), d = l.excludePattern && new RegExp(l.excludePattern, "i");
|
|
117640
117640
|
return {
|
|
117641
|
-
files:
|
|
117641
|
+
files: k(n, r, i || [], a, t, s, o, (t) => {
|
|
117642
117642
|
let n = f(t), r = e.getStandardizedAbsolutePath(t);
|
|
117643
117643
|
return n && c.push(r), rt(r, e);
|
|
117644
117644
|
}, (t) => e.realpathSync(e.getStandardizedAbsolutePath(t)), (t) => e.directoryExistsSync(e.getStandardizedAbsolutePath(t))),
|
|
@@ -117801,8 +117801,8 @@ ${t.message}`), t;
|
|
|
117801
117801
|
get: function() {
|
|
117802
117802
|
return t.TypeFormatFlags;
|
|
117803
117803
|
}
|
|
117804
|
-
}), e.ts = u, e.ArrayUtils = S, e.ComparerToStoredComparer = v, e.CompilerOptionsContainer = et, e.DocumentRegistry = qe, e.EventContainer =
|
|
117805
|
-
})), Ca = /* @__PURE__ */
|
|
117804
|
+
}), e.ts = u, e.ArrayUtils = S, e.ComparerToStoredComparer = v, e.CompilerOptionsContainer = et, e.DocumentRegistry = qe, e.EventContainer = w, e.FileUtils = De, e.InMemoryFileSystemHost = Re, e.IterableUtils = T, e.KeyValueCache = _, e.LocaleStringComparer = y, e.Memoize = Ye, e.ObjectUtils = O, e.PropertyComparer = b, e.PropertyStoredComparer = x, e.RealFileSystemHost = Ve, e.ResolutionHosts = Je, e.SettingsContainer = $e, e.SortedKeyValueArray = oe, e.StringUtils = ae, e.TransactionalFileSystem = We, e.TsConfigResolver = at, e.WeakCache = se, e.createDocumentCache = le, e.createHosts = Te, e.createModuleResolutionHost = Ke, e.deepClone = C, e.getCompilerOptionsFromTsConfig = ot, e.getEmitModuleResolutionKind = ee, e.getFileMatcherPatterns = A, e.getLibFiles = I, e.getLibFolderPath = me, e.getSyntaxKindName = M, e.libFolderInMemoryPath = pe, e.matchFiles = k, e.matchGlobs = Fe, e.nameof = D, e.runtime = Se;
|
|
117805
|
+
})), Ca = /* @__PURE__ */ d(((e) => {
|
|
117806
117806
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.getStringFromStrOrFunc = e.escapeForWithinString = void 0;
|
|
117807
117807
|
function t(e, t) {
|
|
117808
117808
|
let n = "";
|
|
@@ -117814,7 +117814,7 @@ ${t.message}`), t;
|
|
|
117814
117814
|
return e instanceof Function ? e() : e;
|
|
117815
117815
|
}
|
|
117816
117816
|
e.getStringFromStrOrFunc = n;
|
|
117817
|
-
})), wa = /* @__PURE__ */
|
|
117817
|
+
})), wa = /* @__PURE__ */ d(((e) => {
|
|
117818
117818
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
117819
117819
|
var t = Ca(), n;
|
|
117820
117820
|
(function(e) {
|
|
@@ -118265,7 +118265,7 @@ ${t.message}`), t;
|
|
|
118265
118265
|
tabsCount: n
|
|
118266
118266
|
};
|
|
118267
118267
|
}
|
|
118268
|
-
})), Ta = /* @__PURE__ */
|
|
118268
|
+
})), Ta = /* @__PURE__ */ d(((e) => {
|
|
118269
118269
|
var t = Sa(), n = wa();
|
|
118270
118270
|
function r(e) {
|
|
118271
118271
|
return e && typeof e == "object" && "default" in e ? e : { default: e };
|